From 6de685b970e066d741602aa1442f07b81224b81f Mon Sep 17 00:00:00 2001 From: Alisson Nunes Date: Sun, 29 Sep 2024 23:28:25 +0000 Subject: [PATCH] =?UTF-8?q?Testando=20duas=20op=C3=A7=C3=B5es=20para=20rea?= =?UTF-8?q?lizar=20a=20filtragem=20da=20biblioteca?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 46 +++-- package.json | 3 +- src/pages/teste/biblioteca-filtro-1.astro | 194 ++++++++++++++++++++++ src/pages/teste/biblioteca-filtro-2.astro | 183 ++++++++++++++++++++ 4 files changed, 413 insertions(+), 13 deletions(-) create mode 100644 src/pages/teste/biblioteca-filtro-1.astro create mode 100644 src/pages/teste/biblioteca-filtro-2.astro diff --git a/package-lock.json b/package-lock.json index a74f62e..f6427a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,8 @@ "datatables.net-dt": "^2.1.7", "datatables.net-fixedheader-dt": "^4.0.1", "datatables.net-responsive-dt": "^3.0.3", - "datatables.net-searchbuilder-dt": "^1.8.0", + "datatables.net-searchpanes-dt": "^2.3.2", + "datatables.net-select-dt": "^2.1.0", "jquery": "^3.7.1", "papaparse": "^5.4.1", "typescript": "^5.6.2" @@ -2748,24 +2749,45 @@ "jquery": ">=1.7" } }, - "node_modules/datatables.net-searchbuilder": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/datatables.net-searchbuilder/-/datatables.net-searchbuilder-1.8.0.tgz", - "integrity": "sha512-NQ8dkXImmOfANAffnDdkUE4rSFrBx+rvVI0ohBlPrC0I9mvMzUgpMEvmjjj5NuusV1k4ibhOHnqGjdDPyjExCw==", + "node_modules/datatables.net-searchpanes": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/datatables.net-searchpanes/-/datatables.net-searchpanes-2.3.2.tgz", + "integrity": "sha512-I1sgKL3JiXtQhGJT3sbIpkN+czCjAox+gmyV6UBgHFQcAyspHhl1KnPdm/nWmABhPAIIM2RLotyh4U+A/0Z4hQ==", "license": "MIT", "dependencies": { - "datatables.net": "^2.1", + "datatables.net": "^2", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-searchpanes-dt": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/datatables.net-searchpanes-dt/-/datatables.net-searchpanes-dt-2.3.2.tgz", + "integrity": "sha512-0TAS7XG95+vU+Lt7y3LYlN2jcPfIl4zmwAiAaZBRtonR4j99nHCNn9e0aKYo32eOiN33+bmhICzsRljY2m9xZw==", + "license": "MIT", + "dependencies": { + "datatables.net-dt": "^2", + "datatables.net-searchpanes": "2.3.2", + "jquery": ">=1.7" + } + }, + "node_modules/datatables.net-select": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/datatables.net-select/-/datatables.net-select-2.1.0.tgz", + "integrity": "sha512-6B1sI5pfvBen+8kySl1T0hkGoUmrw+5YGqaW4NCg+1srMw+48YV5SdWPiyCQDoev2ajBdKzHuG/wzD2INMbmJw==", + "license": "MIT", + "dependencies": { + "datatables.net": "^2", "jquery": ">=1.7" } }, - "node_modules/datatables.net-searchbuilder-dt": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/datatables.net-searchbuilder-dt/-/datatables.net-searchbuilder-dt-1.8.0.tgz", - "integrity": "sha512-KQylT/H7d0n428VKfI4a9oznz7yBaOmGo05B6ETxeSyu/w9qavomT5Kbg0HZCB2itP16k13H8XVJ4No9zPuw1g==", + "node_modules/datatables.net-select-dt": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/datatables.net-select-dt/-/datatables.net-select-dt-2.1.0.tgz", + "integrity": "sha512-vYnYpD2Zy7UsuQ8RIoiEfehSuXYEZDAIOs4rvG6KLiBEnyfob9nyAE8TP361rH4bK8evecNufK7YuhYQPI4gvA==", "license": "MIT", "dependencies": { - "datatables.net-dt": "^2.1", - "datatables.net-searchbuilder": "1.8.0", + "datatables.net-dt": "^2", + "datatables.net-select": "2.1.0", "jquery": ">=1.7" } }, diff --git a/package.json b/package.json index ba8e684..2ddbc62 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "datatables.net-dt": "^2.1.7", "datatables.net-fixedheader-dt": "^4.0.1", "datatables.net-responsive-dt": "^3.0.3", - "datatables.net-searchbuilder-dt": "^1.8.0", + "datatables.net-searchpanes-dt": "^2.3.2", + "datatables.net-select-dt": "^2.1.0", "jquery": "^3.7.1", "papaparse": "^5.4.1", "typescript": "^5.6.2" diff --git a/src/pages/teste/biblioteca-filtro-1.astro b/src/pages/teste/biblioteca-filtro-1.astro new file mode 100644 index 0000000..b354cc1 --- /dev/null +++ b/src/pages/teste/biblioteca-filtro-1.astro @@ -0,0 +1,194 @@ +--- +import Carregando from '../../components/Carregando.astro'; +import Observacao from '../../components/Observacao.astro'; +import Layout from '../../layouts/Layout.astro'; +--- + + + + + Se você possui algum trabalho sobre ou do IsF que gostaria de compartilhar, colabore enviando-o aqui. + + + + + +
+
+ + + + diff --git a/src/pages/teste/biblioteca-filtro-2.astro b/src/pages/teste/biblioteca-filtro-2.astro new file mode 100644 index 0000000..0801c04 --- /dev/null +++ b/src/pages/teste/biblioteca-filtro-2.astro @@ -0,0 +1,183 @@ +--- +import Carregando from '../../components/Carregando.astro'; +import Observacao from '../../components/Observacao.astro'; +import Layout from '../../layouts/Layout.astro'; +--- + + + + + Se você possui algum trabalho sobre ou do IsF que gostaria de compartilhar, colabore enviando-o aqui. + + + + + +
+
+ + + +