stacks 0.53.1 → 0.56.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitignore +4 -2
- package/README.md +71 -74
- package/api/package.json +3 -2
- package/art/logo-dark.svg +11 -0
- package/art/logo.svg +11 -0
- package/auto-imports.d.ts +1182 -841
- package/components.d.ts +7 -9
- package/core/actions/build.config.ts +181 -9
- package/core/actions/package.json +6 -8
- package/core/actions/src/build/component-libs.ts +2 -12
- package/core/actions/src/dev/index.ts +6 -5
- package/core/actions/src/generate/index.ts +2 -2
- package/core/actions/src/generate/settings.ts +1 -1
- package/core/actions/src/helpers/lib-entries.ts +43 -35
- package/core/actions/src/helpers/utils.ts +7 -9
- package/core/actions/src/lint/index.ts +14 -2
- package/core/actions/src/make.ts +7 -4
- package/core/actions/src/migrate.ts +2 -2
- package/core/actions/src/prepublish.ts +2 -2
- package/core/actions/src/release.ts +1 -1
- package/core/actions/src/seed.ts +1 -1
- package/core/actions/src/upgrade/framework.ts +1 -1
- package/core/actions/src/upgrade.ts +3 -3
- package/core/ai/build.config.ts +5 -7
- package/core/ai/package.json +5 -9
- package/core/alias/build.config.ts +5 -7
- package/core/alias/package.json +3 -6
- package/core/alias/src/index.ts +6 -7
- package/core/analytics/build.config.ts +5 -7
- package/core/analytics/package.json +6 -6
- package/core/arrays/build.config.ts +4 -7
- package/core/arrays/package.json +8 -4
- package/core/arrays/src/contains.ts +23 -0
- package/core/arrays/src/helpers.ts +206 -0
- package/core/arrays/src/index.ts +4 -226
- package/core/arrays/src/macro.ts +135 -0
- package/core/arrays/src/math.ts +19 -0
- package/core/auth/build.config.ts +4 -7
- package/core/auth/package.json +3 -3
- package/core/buddy/README.md +73 -76
- package/core/buddy/build.config.ts +1 -2
- package/core/buddy/package.json +4 -4
- package/core/buddy/src/cli.ts +10 -18
- package/core/buddy/src/commands/add.ts +2 -2
- package/core/buddy/src/commands/build.ts +23 -16
- package/core/buddy/src/commands/create.ts +2 -2
- package/core/buddy/src/commands/dev.ts +31 -30
- package/core/buddy/src/commands/example.ts +8 -14
- package/core/buddy/src/commands/generate.ts +16 -14
- package/core/buddy/src/commands/key.ts +1 -1
- package/core/buddy/src/commands/lint.ts +4 -4
- package/core/buddy/src/commands/make.ts +20 -15
- package/core/buddy/src/commands/setting.ts +2 -2
- package/core/buddy/src/commands/upgrade.ts +18 -22
- package/core/buddy/src/commands/version.ts +1 -1
- package/core/build/build.config.ts +22 -7
- package/core/build/package.json +11 -10
- package/core/build/src/desktop.ts +2 -2
- package/core/build/src/example-vue.ts +5 -4
- package/core/build/src/example-wc.ts +5 -4
- package/core/build/src/functions.ts +9 -11
- package/core/build/src/index.ts +7 -7
- package/core/build/src/stacks.ts +31 -50
- package/core/build/src/{pages.ts → views.ts} +13 -14
- package/core/build/src/vue-components.ts +73 -12
- package/core/build/src/web-components.ts +12 -11
- package/core/build/web-types.ts +3 -3
- package/core/cache/build.config.ts +7 -7
- package/core/cache/package.json +17 -17
- package/core/cache/tests/DynamoDB.test.ts +19 -33
- package/core/chat/build.config.ts +5 -7
- package/core/chat/package.json +8 -8
- package/core/cli/build.config.ts +3 -2
- package/core/cli/package.json +3 -3
- package/core/cli/src/console.ts +75 -2
- package/core/cli/src/helpers.ts +1 -1
- package/core/cli/src/parse.ts +2 -2
- package/core/cli/src/run.ts +5 -6
- package/core/cloud/build.config.ts +4 -7
- package/core/cloud/package.json +17 -3
- package/core/cloud/src/aws/index.ts +9 -0
- package/core/cloud/src/aws/logger.ts +8 -0
- package/core/cloud/src/aws/metrics.ts +8 -0
- package/core/cloud/src/aws/stack.ts +12 -0
- package/core/cloud/src/aws/tracer.ts +3 -0
- package/core/cloud/src/index.ts +1 -1
- package/core/cloud/src/runtime/nodejs/bootstrap.ts +16 -0
- package/core/cloud/src/runtime/nodejs/build.sh +1 -0
- package/core/collections/build.config.ts +3 -7
- package/core/collections/package.json +3 -3
- package/core/config/build.config.ts +33 -33
- package/core/config/package.json +4 -4
- package/core/config/src/defaults.ts +0 -3
- package/core/config/src/stacks.ts +10 -11
- package/core/database/build.config.ts +1 -2
- package/core/database/package.json +3 -3
- package/core/database/src/factory/index.ts +1 -1
- package/core/database/src/migrations/index.ts +1 -1
- package/core/datetime/build.config.ts +1 -2
- package/core/datetime/package.json +3 -3
- package/core/datetime/src/index.ts +2 -1
- package/core/desktop/build.config.ts +2 -1
- package/core/desktop/package.json +6 -6
- package/core/development/build.config.ts +15 -8
- package/core/development/package.json +11 -5
- package/core/development/src/index.ts +2 -0
- package/core/{domains → dns}/README.md +2 -2
- package/core/dns/build.config.ts +22 -0
- package/core/{domains → dns}/package.json +13 -9
- package/core/dns/src/index.ts +18 -0
- package/core/docs/build.config.ts +1 -2
- package/core/docs/package.json +4 -4
- package/core/email/build.config.ts +1 -2
- package/core/email/package.json +15 -15
- package/core/email/src/drivers/emailjs.ts +1 -1
- package/core/email/src/drivers/mailgun.ts +1 -1
- package/core/email/src/drivers/mailjet.ts +2 -2
- package/core/email/src/drivers/mandrill.ts +1 -1
- package/core/email/src/drivers/netcore.ts +1 -1
- package/core/email/src/drivers/nodemailer.ts +1 -1
- package/core/email/src/drivers/postmark.ts +1 -1
- package/core/email/src/drivers/sendgrid.ts +1 -1
- package/core/error-handling/build.config.ts +7 -2
- package/core/error-handling/package.json +6 -4
- package/core/error-handling/src/index.ts +45 -0
- package/core/events/README.md +1 -1
- package/core/events/build.config.ts +1 -2
- package/core/events/package.json +3 -3
- package/core/events/src/index.ts +8 -1
- package/core/faker/build.config.ts +3 -1
- package/core/faker/package.json +4 -4
- package/core/git/build.config.ts +3 -1
- package/core/git/package.json +4 -4
- package/core/health/build.config.ts +3 -1
- package/core/health/package.json +3 -3
- package/core/lint/build.config.ts +3 -1
- package/core/lint/package.json +6 -6
- package/core/logging/build.config.ts +5 -3
- package/core/logging/package.json +6 -6
- package/core/modules/build.config.ts +10 -7
- package/core/modules/package.json +3 -3
- package/core/notifications/README.md +1 -1
- package/core/notifications/build.config.ts +2 -1
- package/core/notifications/package.json +25 -25
- package/core/notifications/src/tailwind.config.ts +1 -1
- package/core/notifications/tests/email/Mailgun.test.ts +4 -4
- package/core/notifications/tests/email/Sendgrid.test.ts +2 -2
- package/core/objects/build.config.ts +15 -7
- package/core/objects/package.json +5 -4
- package/core/orm/build.config.ts +1 -2
- package/core/orm/package.json +3 -3
- package/core/pages/build.config.ts +4 -7
- package/core/pages/package.json +3 -3
- package/core/pages/src/index.ts +2 -2
- package/core/path/build.config.ts +1 -2
- package/core/path/package.json +4 -5
- package/core/path/src/index.ts +84 -65
- package/core/payments/build.config.ts +4 -7
- package/core/payments/package.json +5 -5
- package/core/push/build.config.ts +4 -7
- package/core/push/package.json +5 -5
- package/core/query-builder/build.config.ts +4 -7
- package/core/query-builder/package.json +7 -7
- package/core/queue/build.config.ts +4 -7
- package/core/queue/package.json +3 -3
- package/core/realtime/build.config.ts +4 -7
- package/core/realtime/package.json +3 -3
- package/core/realtime/src/index.ts +3 -1
- package/core/repl/README.md +53 -0
- package/core/repl/build.config.ts +12 -0
- package/core/repl/package.json +56 -0
- package/core/repl/src/index.ts +1 -0
- package/core/repl/tests/example.test.ts +7 -0
- package/core/router/build.config.ts +13 -7
- package/core/router/package.json +4 -4
- package/core/router/src/index.ts +2 -0
- package/core/scheduler/build.config.ts +4 -7
- package/core/scheduler/package.json +4 -4
- package/core/search-engine/build.config.ts +17 -7
- package/core/search-engine/package.json +4 -4
- package/core/search-engine/src/index.ts +2 -2
- package/core/security/build.config.ts +17 -7
- package/core/security/package.json +4 -3
- package/core/security/src/crypt.ts +11 -2
- package/core/server/build.config.ts +3 -7
- package/core/server/package.json +5 -5
- package/core/signals/README.md +2 -2
- package/core/signals/build.config.ts +4 -7
- package/core/signals/package.json +4 -4
- package/core/signals/src/index.ts +1 -1
- package/core/slug/build.config.ts +4 -7
- package/core/slug/package.json +3 -3
- package/core/slug/src/index.ts +2 -1
- package/core/sms/build.config.ts +3 -1
- package/core/sms/package.json +13 -13
- package/core/storage/build.config.ts +3 -7
- package/core/storage/package.json +5 -5
- package/core/storage/src/index.ts +2 -22
- package/core/strings/build.config.ts +1 -2
- package/core/strings/package.json +9 -3
- package/core/strings/src/case.ts +12 -0
- package/core/strings/src/index.ts +2 -1
- package/core/strings/src/is.ts +170 -0
- package/core/strings/src/macro.ts +139 -0
- package/core/strings/src/utils.ts +10 -12
- package/core/testing/build.config.ts +3 -1
- package/core/testing/package.json +8 -8
- package/core/tinker/build.config.ts +12 -0
- package/core/tinker/package.json +15 -3
- package/core/tinker/src/index.ts +1 -0
- package/core/types/build.config.ts +17 -8
- package/core/types/package.json +25 -19
- package/core/types/src/app.ts +4 -4
- package/core/types/src/cli.ts +36 -34
- package/core/types/src/cron-jobs.ts +25 -4
- package/core/types/src/database.ts +12 -3
- package/core/types/src/errors.ts +19 -1
- package/core/types/src/events.ts +13 -5
- package/core/types/src/git.ts +1 -1
- package/core/types/src/index.ts +2 -1
- package/core/types/src/library.ts +0 -7
- package/core/types/src/model.ts +21 -7
- package/core/types/src/money.ts +3 -0
- package/core/types/src/notifications.ts +9 -7
- package/core/types/src/queue.ts +34 -0
- package/core/types/src/search-engine.ts +3 -3
- package/core/types/src/stacks.ts +1 -12
- package/core/ui/build.config.ts +5 -7
- package/core/ui/package.json +7 -7
- package/core/utils/build.config.ts +32 -7
- package/core/utils/package.json +16 -16
- package/core/utils/src/config.ts +88 -49
- package/core/utils/src/currency.ts +3 -0
- package/core/utils/src/delete.ts +1 -3
- package/core/utils/src/helpers.ts +11 -5
- package/core/validation/build.config.ts +18 -8
- package/core/validation/package.json +8 -6
- package/core/validation/src/index.ts +2 -0
- package/core/validation/src/is.ts +27 -174
- package/core/validation/src/rules.ts +126 -0
- package/core/validation/src/types/env.ts +147 -0
- package/core/validation/src/types/index.ts +2 -0
- package/core/validation/src/types/money.ts +17 -0
- package/core/validation/src/validate.ts +14 -25
- package/core/vite-plugin/README.md +59 -0
- package/core/vite-plugin/build.config.ts +21 -0
- package/core/vite-plugin/package.json +51 -0
- package/core/vite-plugin/src/index.ts +23 -0
- package/core/vite-plugin/tests/example.test.ts +7 -0
- package/dictionary.txt +228 -0
- package/docs/package.json +3 -2
- package/env.d.ts +7 -0
- package/ide/jetbrains/.fleet/run.json +5 -0
- package/ide/jetbrains/.fleet/settings.json +4 -0
- package/ide/jetbrains/.idea/.gitignore +5 -0
- package/ide/jetbrains/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/ide/jetbrains/.idea/jsLibraryMappings.xml +6 -0
- package/ide/jetbrains/.idea/jsLinters/eslint.xml +7 -0
- package/ide/jetbrains/.idea/modules.xml +8 -0
- package/ide/jetbrains/.idea/stacks.iml +69 -0
- package/ide/jetbrains/.idea/vcs.xml +6 -0
- package/ide/jetbrains/.idea/webResources.xml +14 -0
- package/ide/jetbrains/.idea/workspace.xml +225 -0
- package/ide/jetbrains/IntelliJ IDEA Global Settings +0 -0
- package/ide/jetbrains/installed.txt +4 -0
- package/ide/jetbrains/options/github-copilot.xml +5 -0
- package/ide/jetbrains/options/nodejs.xml +7 -0
- package/ide/jetbrains/options/templates.xml +124 -0
- package/ide/jetbrains/templates/JavaScript.xml +6 -0
- package/ide/jetbrains/templates/Stacks.xml +8 -0
- package/ide/vscode/.vscode/README.md +23 -0
- package/ide/vscode/.vscode/extensions.json +5 -0
- package/ide/vscode/.vscode/settings.json +111 -0
- package/ide/vscode/.vscode/stacks.code-snippets +182 -0
- package/ide/vscode/README.md +42 -0
- package/ide/vscode/logo.png +0 -0
- package/ide/vscode/package.json +64 -0
- package/{components → libs/components}/vue/main.ts +1 -1
- package/{components → libs/components}/vue/package.json +1 -1
- package/{components → libs/components}/web/package.json +1 -1
- package/libs/examples/vue/App.vue +12 -0
- package/libs/examples/vue/favicon.png +0 -0
- package/libs/examples/vue/index.html +20 -0
- package/libs/examples/web/favicon.png +0 -0
- package/libs/examples/web/index.html +13 -0
- package/libs/functions/package.json +41 -0
- package/package.json +104 -98
- package/reset.d.ts +1 -0
- package/scripts/ensure.sh +33 -0
- package/scripts/publish.sh +18 -0
- package/scripts/setup.sh +540 -0
- package/stacks/dashboard/README.md +74 -0
- package/{core/domains → stacks/dashboard}/build.config.ts +1 -1
- package/stacks/dashboard/package.json +46 -0
- package/stacks/dashboard/src/index.ts +0 -0
- package/stacks/dashboard/tests/example.test.ts +7 -0
- package/stacks/tables/README.md +109 -0
- package/stacks/tables/build.config.ts +16 -0
- package/stacks/tables/examples/vue/App.vue +12 -0
- package/stacks/tables/examples/vue/favicon.png +0 -0
- package/stacks/tables/examples/vue/index.html +20 -0
- package/stacks/tables/examples/web/favicon.png +0 -0
- package/stacks/tables/examples/web/index.html +13 -0
- package/stacks/tables/index.html +13 -0
- package/stacks/tables/package.json +57 -0
- package/stacks/tables/src/App.vue +23 -0
- package/stacks/tables/src/components/Demo.vue +84 -0
- package/stacks/tables/src/components/README.md +110 -0
- package/stacks/tables/src/components/Table.vue +342 -0
- package/stacks/tables/src/components/TableBody.vue +32 -0
- package/stacks/tables/src/components/TableCellActionItems.vue +9 -0
- package/stacks/tables/src/components/TableFilters.vue +704 -0
- package/stacks/tables/src/components/TableHead.vue +60 -0
- package/stacks/tables/src/components/TablePagination.vue +131 -0
- package/stacks/tables/src/components/TableRow.vue +73 -0
- package/stacks/tables/src/components/TableSearch.vue +39 -0
- package/stacks/tables/src/components/Tooltip.vue +10 -0
- package/stacks/tables/src/config/tables.ts +1 -0
- package/stacks/tables/src/docs/index.md +0 -0
- package/stacks/tables/src/functions/README.md +8 -0
- package/stacks/tables/src/functions/dark.ts +3 -0
- package/stacks/tables/src/functions/index.ts +2 -0
- package/stacks/tables/src/functions/table.ts +207 -0
- package/stacks/tables/src/main.ts +4 -0
- package/stacks/tables/tests/example.test.ts +7 -0
- package/stacks/tables/vite.config.ts +26 -0
- package/stacks/tinker/package.json +48 -0
- package/stacks/tinker/src/index.ts +1 -0
- package/stacks/x-ray/README.md +55 -0
- package/stacks/x-ray/build.config.ts +15 -0
- package/stacks/x-ray/index.html +13 -0
- package/stacks/x-ray/package.json +55 -0
- package/stacks/x-ray/routes/index.ts +19 -0
- package/stacks/x-ray/src/client.ts +14 -0
- package/stacks/x-ray/src/desktop/api/nitro.config.ts +19 -0
- package/stacks/x-ray/src/desktop/api/routes/api/logs.ts +7 -0
- package/stacks/x-ray/src/desktop/api/routes/api/store-logs.ts +22 -0
- package/stacks/x-ray/src/desktop/api/src/types.ts +7 -0
- package/stacks/x-ray/src/desktop/api/storage/index.ts +7 -0
- package/stacks/x-ray/src/desktop/app.vue +377 -0
- package/stacks/x-ray/src/desktop/functions/http.ts +26 -0
- package/stacks/x-ray/src/desktop/functions/types.ts +7 -0
- package/stacks/x-ray/src/desktop/main.ts +14 -0
- package/stacks/x-ray/src/desktop/modules/counter/mod.vue +44 -0
- package/stacks/x-ray/src/desktop/modules/fetcher/mod.vue +63 -0
- package/stacks/x-ray/src/desktop/plugins/unified/unified-app.ts +5 -0
- package/stacks/x-ray/src/desktop/plugins/unified/unified-styles.scss +0 -0
- package/stacks/x-ray/src/desktop/services/http.ts +45 -0
- package/stacks/x-ray/src/desktop/styles/app.scss +0 -0
- package/stacks/x-ray/src/http.ts +26 -0
- package/stacks/x-ray/src/index.ts +42 -0
- package/stacks/x-ray/src/ray.config.ts +27 -0
- package/stacks/x-ray/src/types.ts +8 -0
- package/stacks/x-ray/tests/example.test.ts +7 -0
- package/stacks.d.ts +22 -0
- package/tsconfig.json +21 -12
- package/vcs/github/CODE_OF_CONDUCT.md +83 -0
- package/vcs/github/CONTRIBUTING.md +190 -0
- package/vcs/github/EXPLANATIONS.md +41 -0
- package/vcs/github/FUNDING.yml +1 -0
- package/vcs/github/ISSUE_TEMPLATE/bug_report.yml +62 -0
- package/vcs/github/ISSUE_TEMPLATE/config.yml +10 -0
- package/vcs/github/ISSUE_TEMPLATE/feature_request.yml +44 -0
- package/vcs/github/SECURITY.md +70 -0
- package/vcs/github/renovate.json +5 -0
- package/vcs/github/stale.yml +14 -0
- package/vcs/github/workflows/README.md +16 -0
- package/vcs/github/workflows/ci.yml +173 -0
- package/vcs/github/workflows/export-size.yml +32 -0
- package/vcs/github/workflows/release.yml +57 -0
- package/{pages → views}/desktop/src/Cargo.lock +363 -46
- package/{pages → views}/desktop/src/Cargo.toml +2 -2
- package/{pages → views}/web/main.ts +2 -2
- package/api/serverless.yml +0 -11
- package/core/actions/node_modules/.bin/markdown-it +0 -17
- package/core/actions/node_modules/.bin/unbuild +0 -17
- package/core/build/entries/README.md +0 -7
- package/core/build/node_modules/.bin/unbuild +0 -17
- package/core/build/node_modules/.bin/vite +0 -17
- package/core/build/node_modules/.bin/vite-ssg +0 -17
- package/core/build/node_modules/.bin/vue-docgen-web-types +0 -17
- package/core/desktop/node_modules/.bin/tauri +0 -17
- package/core/development/node_modules/.bin/tsc +0 -17
- package/core/development/node_modules/.bin/tsserver +0 -17
- package/core/development/node_modules/.bin/tsx +0 -17
- package/core/development/node_modules/.bin/unbuild +0 -17
- package/core/docs/node_modules/.bin/vitepress +0 -17
- package/core/email/node_modules/.bin/maizzle +0 -17
- package/core/git/node_modules/.bin/bumpp +0 -17
- package/core/git/node_modules/.bin/changelogen +0 -17
- package/core/git/node_modules/.bin/commitizen +0 -17
- package/core/git/node_modules/.bin/cz +0 -17
- package/core/git/node_modules/.bin/giget +0 -17
- package/core/git/node_modules/.bin/git-cz +0 -17
- package/core/git/node_modules/.bin/simple-git-hooks +0 -17
- package/core/lint/node_modules/.bin/eslint +0 -17
- package/core/lint/node_modules/.bin/lint-staged +0 -17
- package/core/lint/node_modules/.bin/publint +0 -17
- package/core/logging/node_modules/.bin/tsc +0 -17
- package/core/logging/node_modules/.bin/tsserver +0 -17
- package/core/logging/node_modules/.bin/tsx +0 -17
- package/core/logging/node_modules/.bin/unbuild +0 -17
- package/core/notifications/node_modules/.bin/maizzle +0 -17
- package/core/server/node_modules/.bin/nitro +0 -17
- package/core/server/node_modules/.bin/nitropack +0 -17
- package/core/server/node_modules/.bin/vite +0 -17
- package/core/testing/node_modules/.bin/playwright +0 -17
- package/core/testing/node_modules/.bin/tsc +0 -17
- package/core/testing/node_modules/.bin/tsserver +0 -17
- package/core/testing/node_modules/.bin/unbuild +0 -17
- package/core/testing/node_modules/.bin/vitest +0 -17
- package/core/tinker/node_modules/.bin/tsx +0 -17
- package/core/types/node_modules/.bin/markdown-it +0 -17
- package/core/types/node_modules/.bin/vite +0 -17
- package/core/types/node_modules/.bin/vite-ssg +0 -17
- package/core/types/node_modules/.bin/vitepress +0 -17
- package/core/types/src/markdown.ts +0 -198
- package/core/ui/node_modules/.bin/vue-tsc +0 -17
- package/core/utils/node_modules/.bin/rimraf +0 -17
- package/core/utils/node_modules/.bin/semver +0 -17
- package/docs/node_modules/.bin/rimraf +0 -17
- package/docs/node_modules/.bin/vitepress +0 -17
- /package/core/{domains → dns}/tests/example.test.ts +0 -0
- /package/{LICENSE.md → ide/vscode/LICENSE.md} +0 -0
- /package/{components → libs/components}/vue/index.html +0 -0
- /package/{core/domains/src → stacks/tables/src/cli}/index.ts +0 -0
- /package/{pages → views}/desktop/.gitignore +0 -0
- /package/{pages → views}/desktop/README.md +0 -0
- /package/{pages → views}/desktop/index.html +0 -0
- /package/{pages → views}/desktop/package.json +0 -0
- /package/{pages → views}/desktop/public/favicon.svg +0 -0
- /package/{pages → views}/desktop/src/.gitignore +0 -0
- /package/{pages → views}/desktop/src/build.rs +0 -0
- /package/{pages → views}/desktop/src/icons/128x128.png +0 -0
- /package/{pages → views}/desktop/src/icons/128x128@2x.png +0 -0
- /package/{pages → views}/desktop/src/icons/32x32.png +0 -0
- /package/{pages → views}/desktop/src/icons/Square107x107Logo.png +0 -0
- /package/{pages → views}/desktop/src/icons/Square142x142Logo.png +0 -0
- /package/{pages → views}/desktop/src/icons/Square150x150Logo.png +0 -0
- /package/{pages → views}/desktop/src/icons/Square284x284Logo.png +0 -0
- /package/{pages → views}/desktop/src/icons/Square30x30Logo.png +0 -0
- /package/{pages → views}/desktop/src/icons/Square310x310Logo.png +0 -0
- /package/{pages → views}/desktop/src/icons/Square44x44Logo.png +0 -0
- /package/{pages → views}/desktop/src/icons/Square71x71Logo.png +0 -0
- /package/{pages → views}/desktop/src/icons/Square89x89Logo.png +0 -0
- /package/{pages → views}/desktop/src/icons/StoreLogo.png +0 -0
- /package/{pages → views}/desktop/src/icons/icon.icns +0 -0
- /package/{pages → views}/desktop/src/icons/icon.ico +0 -0
- /package/{pages → views}/desktop/src/icons/icon.png +0 -0
- /package/{pages → views}/desktop/src/src/main.rs +0 -0
- /package/{pages → views}/desktop/src/tauri.conf.json +0 -0
- /package/{pages → views}/web/App.vue +0 -0
- /package/{pages → views}/web/index.html +0 -0
- /package/{pages → views}/web/public/_headers +0 -0
- /package/{pages → views}/web/public/favicon-dark.svg +0 -0
- /package/{pages → views}/web/public/favicon.svg +0 -0
- /package/{pages → views}/web/public/pwa-192x192.png +0 -0
- /package/{pages → views}/web/public/pwa-512x512.png +0 -0
- /package/{pages → views}/web/public/safari-pinned-tab.svg +0 -0
- /package/{pages → views}/web/styles/main.css +0 -0
- /package/{pages → views}/web/styles/markdown.css +0 -0
|
@@ -0,0 +1,704 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
// import { ref } from 'vue-demi'
|
|
3
|
+
// import Multiselect from '@vueform/multiselect'
|
|
4
|
+
|
|
5
|
+
// interface Props {
|
|
6
|
+
// filterValues: object | any // the Meilisearch index to use for this table
|
|
7
|
+
// }
|
|
8
|
+
|
|
9
|
+
// const {
|
|
10
|
+
// filterValues,
|
|
11
|
+
// } = defineProps<Props>()
|
|
12
|
+
|
|
13
|
+
// const multiselect = ref(null)
|
|
14
|
+
|
|
15
|
+
// const multiselectComputed: any = computed(() => {
|
|
16
|
+
// if (multiselect.value)
|
|
17
|
+
// return multiselect.value
|
|
18
|
+
// })
|
|
19
|
+
|
|
20
|
+
// const { searchFilters, type, table } = await useTable()
|
|
21
|
+
|
|
22
|
+
// const activeFilters = await searchFilters(type.value)
|
|
23
|
+
|
|
24
|
+
// const filterValue = ref({})
|
|
25
|
+
// const filterLength = ref(0)
|
|
26
|
+
|
|
27
|
+
// const allFilters = activeFilters.map((filter: string) => {
|
|
28
|
+
// const filterName = filter.split('_')
|
|
29
|
+
// const name = []
|
|
30
|
+
|
|
31
|
+
// for (let i = 0; i < filterName.length; i++)
|
|
32
|
+
// name[i] = filterName[i].charAt(0).toUpperCase() + filterName[i].substring(1)
|
|
33
|
+
|
|
34
|
+
// // Directly return the joined string
|
|
35
|
+
// return { name: name.join(' '), column: snakeCase(name.join(' ')) }
|
|
36
|
+
// })
|
|
37
|
+
|
|
38
|
+
// function getFilters(filterKey: string): any {
|
|
39
|
+
// return filterValues[filterKey]
|
|
40
|
+
// }
|
|
41
|
+
|
|
42
|
+
// function snakeCase(char: string) {
|
|
43
|
+
// return char.replace(/\W+/g, ' ')
|
|
44
|
+
// .split(/ |\B(?=[A-Z])/)
|
|
45
|
+
// .map(word => word.toLowerCase())
|
|
46
|
+
// .join('_')
|
|
47
|
+
// }
|
|
48
|
+
|
|
49
|
+
// async function applyFilters() {
|
|
50
|
+
// let length = 0
|
|
51
|
+
// const mappedFilters = Object.keys(filterValue.value).map((key) => {
|
|
52
|
+
// length = length += 1
|
|
53
|
+
|
|
54
|
+
// filterLength.value = length
|
|
55
|
+
|
|
56
|
+
// return filterValue.value[key].map((filter: any) => {
|
|
57
|
+
// return `${key} = ${filter}`
|
|
58
|
+
// })
|
|
59
|
+
// })
|
|
60
|
+
|
|
61
|
+
// table.filterValue = mappedFilters
|
|
62
|
+
// table.currentPage = 1
|
|
63
|
+
// }
|
|
64
|
+
|
|
65
|
+
// async function clearAllFilters() {
|
|
66
|
+
// table.filterValue = []
|
|
67
|
+
// table.currentPage = 1
|
|
68
|
+
|
|
69
|
+
// filterValue.value = {}
|
|
70
|
+
// filterLength.value = 0
|
|
71
|
+
|
|
72
|
+
// if (multiselectComputed.value) {
|
|
73
|
+
// for (let index = 0; index < multiselectComputed.value.length; index++) {
|
|
74
|
+
// if (multiselectComputed.value[index])
|
|
75
|
+
// multiselectComputed.value[index].clear()
|
|
76
|
+
// }
|
|
77
|
+
// }
|
|
78
|
+
// }
|
|
79
|
+
|
|
80
|
+
// function modifyFilters(name: string, value: any, id: number) {
|
|
81
|
+
// filterValue.value[name] = [...value]
|
|
82
|
+
// },
|
|
83
|
+
</script>
|
|
84
|
+
|
|
85
|
+
<template>
|
|
86
|
+
<div />
|
|
87
|
+
<!-- <div class="bg-white mx-auto max-w-7xl">
|
|
88
|
+
--Filters--
|
|
89
|
+
<section
|
|
90
|
+
aria-labelledby="filter-heading"
|
|
91
|
+
class="border-t border-b border-gray-200 grid z-10 relative items-center"
|
|
92
|
+
>
|
|
93
|
+
<h2
|
|
94
|
+
id="filter-heading"
|
|
95
|
+
class="sr-only"
|
|
96
|
+
>
|
|
97
|
+
Filters
|
|
98
|
+
</h2>
|
|
99
|
+
<div class="py-4 col-start-1 row-start-1 relative">
|
|
100
|
+
<div class="divide-x flex mx-auto space-x-6 divide-gray-200 text-sm max-w-7xl px-4 sm:px-6 lg:px-8">
|
|
101
|
+
<div>
|
|
102
|
+
<button
|
|
103
|
+
type="button"
|
|
104
|
+
class="flex font-medium text-gray-700 group items-center"
|
|
105
|
+
aria-controls="disclosure-1"
|
|
106
|
+
aria-expanded="false"
|
|
107
|
+
>
|
|
108
|
+
Heroicon name: solid/filter
|
|
109
|
+
<svg
|
|
110
|
+
class="flex-none h-5 mr-2 text-gray-400 w-5 group-hover:text-gray-500"
|
|
111
|
+
aria-hidden="true"
|
|
112
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
113
|
+
viewBox="0 0 20 20"
|
|
114
|
+
fill="currentColor"
|
|
115
|
+
>
|
|
116
|
+
<path
|
|
117
|
+
fill-rule="evenodd"
|
|
118
|
+
d="M3 3a1 1 0 011-1h12a1 1 0 011 1v3a1 1 0 01-.293.707L12 11.414V15a1 1 0 01-.293.707l-2 2A1 1 0 018 17v-5.586L3.293 6.707A1 1 0 013 6V3z"
|
|
119
|
+
clip-rule="evenodd"
|
|
120
|
+
/>
|
|
121
|
+
</svg>
|
|
122
|
+
{{ filterLength }} Filters
|
|
123
|
+
</button>
|
|
124
|
+
</div>
|
|
125
|
+
<div class="pl-6">
|
|
126
|
+
<button
|
|
127
|
+
type="button"
|
|
128
|
+
class="text-gray-500"
|
|
129
|
+
@click="clearAllFilters"
|
|
130
|
+
>
|
|
131
|
+
Clear all
|
|
132
|
+
</button>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
<div
|
|
137
|
+
id="disclosure-1"
|
|
138
|
+
class="border-t border-gray-200 py-10"
|
|
139
|
+
>
|
|
140
|
+
<div class="mx-auto text-sm max-w-7xl px-4 sm:px-6 md:gap-x-6 lg:px-8">
|
|
141
|
+
<div class="auto-rows-min grid gap-y-10 grid-cols-1 md:gap-x-6 md:grid-cols-4">
|
|
142
|
+
<fieldset
|
|
143
|
+
v-for="(filter, index) in allFilters"
|
|
144
|
+
:key="index"
|
|
145
|
+
>
|
|
146
|
+
<legend class="font-medium block">
|
|
147
|
+
{{ filter.name }}
|
|
148
|
+
</legend>
|
|
149
|
+
<div class="space-y-6 pt-6 sm:space-y-4 sm:pt-4">
|
|
150
|
+
<div class="flex text-base items-center sm:text-sm">
|
|
151
|
+
<Multiselect
|
|
152
|
+
ref="multiselect"
|
|
153
|
+
:options="getFilters(filter.column)"
|
|
154
|
+
mode="tags"
|
|
155
|
+
:close-on-select="false"
|
|
156
|
+
:searchable="true"
|
|
157
|
+
:create-option="true"
|
|
158
|
+
@input="modifyFilters(filter.column, $event, index)"
|
|
159
|
+
/>
|
|
160
|
+
</div>
|
|
161
|
+
</div>
|
|
162
|
+
</fieldset>
|
|
163
|
+
</div>
|
|
164
|
+
|
|
165
|
+
<div class="flex justify-end">
|
|
166
|
+
<button
|
|
167
|
+
type="button"
|
|
168
|
+
class="border border-transparent rounded-full font-medium bg-indigo-600 shadow-sm text-xs text-white py-1.5 px-3 inline-flex items-center hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"
|
|
169
|
+
@click="applyFilters"
|
|
170
|
+
>
|
|
171
|
+
Apply filters
|
|
172
|
+
</button>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
</section>
|
|
177
|
+
</div> -->
|
|
178
|
+
</template>
|
|
179
|
+
|
|
180
|
+
<style>
|
|
181
|
+
/*
|
|
182
|
+
Ensure the default browser behavior of the `hidden` attribute.
|
|
183
|
+
*/
|
|
184
|
+
|
|
185
|
+
[hidden] {
|
|
186
|
+
display: none;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
*, ::before, ::after {
|
|
190
|
+
--tw-translate-x: 0;
|
|
191
|
+
--tw-translate-y: 0;
|
|
192
|
+
--tw-rotate: 0;
|
|
193
|
+
--tw-skew-x: 0;
|
|
194
|
+
--tw-skew-y: 0;
|
|
195
|
+
--tw-scale-x: 1;
|
|
196
|
+
--tw-scale-y: 1;
|
|
197
|
+
--tw-pan-x: ;
|
|
198
|
+
--tw-pan-y: ;
|
|
199
|
+
--tw-pinch-zoom: ;
|
|
200
|
+
--tw-scroll-snap-strictness: proximity;
|
|
201
|
+
--tw-ordinal: ;
|
|
202
|
+
--tw-slashed-zero: ;
|
|
203
|
+
--tw-numeric-figure: ;
|
|
204
|
+
--tw-numeric-spacing: ;
|
|
205
|
+
--tw-numeric-fraction: ;
|
|
206
|
+
--tw-ring-inset: ;
|
|
207
|
+
--tw-ring-offset-width: 0px;
|
|
208
|
+
--tw-ring-offset-color: #fff;
|
|
209
|
+
--tw-ring-color: rgb(59 130 246 / 0.5);
|
|
210
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
211
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
212
|
+
--tw-shadow: 0 0 #0000;
|
|
213
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
214
|
+
--tw-blur: ;
|
|
215
|
+
--tw-brightness: ;
|
|
216
|
+
--tw-contrast: ;
|
|
217
|
+
--tw-grayscale: ;
|
|
218
|
+
--tw-hue-rotate: ;
|
|
219
|
+
--tw-invert: ;
|
|
220
|
+
--tw-saturate: ;
|
|
221
|
+
--tw-sepia: ;
|
|
222
|
+
--tw-drop-shadow: ;
|
|
223
|
+
--tw-backdrop-blur: ;
|
|
224
|
+
--tw-backdrop-brightness: ;
|
|
225
|
+
--tw-backdrop-contrast: ;
|
|
226
|
+
--tw-backdrop-grayscale: ;
|
|
227
|
+
--tw-backdrop-hue-rotate: ;
|
|
228
|
+
--tw-backdrop-invert: ;
|
|
229
|
+
--tw-backdrop-opacity: ;
|
|
230
|
+
--tw-backdrop-saturate: ;
|
|
231
|
+
--tw-backdrop-sepia: ;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.form-input,.form-textarea,.form-select,.form-multiselect {
|
|
235
|
+
-webkit-appearance: none;
|
|
236
|
+
-moz-appearance: none;
|
|
237
|
+
appearance: none;
|
|
238
|
+
background-color: #fff;
|
|
239
|
+
border-color: #6b7280;
|
|
240
|
+
border-width: 1px;
|
|
241
|
+
border-radius: 0px;
|
|
242
|
+
padding-top: 0.5rem;
|
|
243
|
+
padding-right: 0.75rem;
|
|
244
|
+
padding-bottom: 0.5rem;
|
|
245
|
+
padding-left: 0.75rem;
|
|
246
|
+
font-size: 1rem;
|
|
247
|
+
line-height: 1.5rem;
|
|
248
|
+
--tw-shadow: 0 0 #0000;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.form-input:focus, .form-textarea:focus, .form-select:focus, .form-multiselect:focus {
|
|
252
|
+
outline: 2px solid transparent;
|
|
253
|
+
outline-offset: 2px;
|
|
254
|
+
--tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
|
|
255
|
+
--tw-ring-offset-width: 0px;
|
|
256
|
+
--tw-ring-offset-color: #fff;
|
|
257
|
+
--tw-ring-color: #2563eb;
|
|
258
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
259
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
260
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
261
|
+
border-color: #2563eb;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.form-input::-moz-placeholder, .form-textarea::-moz-placeholder {
|
|
265
|
+
color: #6b7280;
|
|
266
|
+
opacity: 1;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.form-input:-ms-input-placeholder, .form-textarea:-ms-input-placeholder {
|
|
270
|
+
color: #6b7280;
|
|
271
|
+
opacity: 1;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.form-input::placeholder,.form-textarea::placeholder {
|
|
275
|
+
color: #6b7280;
|
|
276
|
+
opacity: 1;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.form-input::-webkit-datetime-edit-fields-wrapper {
|
|
280
|
+
padding: 0;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.form-input::-webkit-date-and-time-value {
|
|
284
|
+
min-height: 1.5em;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.form-input::-webkit-datetime-edit,.form-input::-webkit-datetime-edit-year-field,.form-input::-webkit-datetime-edit-month-field,.form-input::-webkit-datetime-edit-day-field,.form-input::-webkit-datetime-edit-hour-field,.form-input::-webkit-datetime-edit-minute-field,.form-input::-webkit-datetime-edit-second-field,.form-input::-webkit-datetime-edit-millisecond-field,.form-input::-webkit-datetime-edit-meridiem-field {
|
|
288
|
+
padding-top: 0;
|
|
289
|
+
padding-bottom: 0;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.form-select {
|
|
293
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
|
|
294
|
+
background-position: right 0.5rem center;
|
|
295
|
+
background-repeat: no-repeat;
|
|
296
|
+
background-size: 1.5em 1.5em;
|
|
297
|
+
padding-right: 2.5rem;
|
|
298
|
+
-webkit-print-color-adjust: exact;
|
|
299
|
+
color-adjust: exact;
|
|
300
|
+
print-color-adjust: exact;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.form-checkbox,.form-radio {
|
|
304
|
+
-webkit-appearance: none;
|
|
305
|
+
-moz-appearance: none;
|
|
306
|
+
appearance: none;
|
|
307
|
+
padding: 0;
|
|
308
|
+
-webkit-print-color-adjust: exact;
|
|
309
|
+
color-adjust: exact;
|
|
310
|
+
print-color-adjust: exact;
|
|
311
|
+
display: inline-block;
|
|
312
|
+
vertical-align: middle;
|
|
313
|
+
background-origin: border-box;
|
|
314
|
+
-webkit-user-select: none;
|
|
315
|
+
-moz-user-select: none;
|
|
316
|
+
-ms-user-select: none;
|
|
317
|
+
user-select: none;
|
|
318
|
+
flex-shrink: 0;
|
|
319
|
+
height: 1rem;
|
|
320
|
+
width: 1rem;
|
|
321
|
+
color: #2563eb;
|
|
322
|
+
background-color: #fff;
|
|
323
|
+
border-color: #6b7280;
|
|
324
|
+
border-width: 1px;
|
|
325
|
+
--tw-shadow: 0 0 #0000;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.form-checkbox {
|
|
329
|
+
border-radius: 0px;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.form-radio {
|
|
333
|
+
border-radius: 100%;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.form-checkbox:focus,.form-radio:focus {
|
|
337
|
+
outline: 2px solid transparent;
|
|
338
|
+
outline-offset: 2px;
|
|
339
|
+
--tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
|
|
340
|
+
--tw-ring-offset-width: 2px;
|
|
341
|
+
--tw-ring-offset-color: #fff;
|
|
342
|
+
--tw-ring-color: #2563eb;
|
|
343
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
344
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
345
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.form-checkbox:checked,.form-radio:checked {
|
|
349
|
+
border-color: transparent;
|
|
350
|
+
background-color: currentColor;
|
|
351
|
+
background-size: 100% 100%;
|
|
352
|
+
background-position: center;
|
|
353
|
+
background-repeat: no-repeat;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.form-checkbox:checked {
|
|
357
|
+
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.form-radio:checked {
|
|
361
|
+
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.form-checkbox:checked:hover,.form-checkbox:checked:focus,.form-radio:checked:hover,.form-radio:checked:focus {
|
|
365
|
+
border-color: transparent;
|
|
366
|
+
background-color: currentColor;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.form-checkbox:indeterminate {
|
|
370
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
|
|
371
|
+
border-color: transparent;
|
|
372
|
+
background-color: currentColor;
|
|
373
|
+
background-size: 100% 100%;
|
|
374
|
+
background-position: center;
|
|
375
|
+
background-repeat: no-repeat;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.form-checkbox:indeterminate:hover,.form-checkbox:indeterminate:focus {
|
|
379
|
+
border-color: transparent;
|
|
380
|
+
background-color: currentColor;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.mx-auto {
|
|
384
|
+
margin-left: auto;
|
|
385
|
+
margin-right: auto;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.mt-2 {
|
|
389
|
+
margin-top: 0.5rem;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.mt-4 {
|
|
393
|
+
margin-top: 1rem;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.mt-8 {
|
|
397
|
+
margin-top: 2rem;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.mt-1 {
|
|
401
|
+
margin-top: 0.25rem;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.ml-2 {
|
|
405
|
+
margin-left: 0.5rem;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.mt-0 {
|
|
409
|
+
margin-top: 0px;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.block {
|
|
413
|
+
display: block;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.flex {
|
|
417
|
+
display: flex;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.inline-flex {
|
|
421
|
+
display: inline-flex;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.grid {
|
|
425
|
+
display: grid;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.h-24 {
|
|
429
|
+
height: 6rem;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.w-full {
|
|
433
|
+
width: 100%;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.max-w-xl {
|
|
437
|
+
max-width: 36rem;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.max-w-md {
|
|
441
|
+
max-width: 28rem;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.max-w-4xl {
|
|
445
|
+
max-width: 56rem;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.grid-cols-1 {
|
|
449
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.grid-cols-2 {
|
|
453
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.items-start {
|
|
457
|
+
align-items: flex-start;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.items-center {
|
|
461
|
+
align-items: center;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.gap-6 {
|
|
465
|
+
gap: 1.5rem;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
|
|
469
|
+
--tw-space-x-reverse: 0;
|
|
470
|
+
margin-right: calc(1rem * var(--tw-space-x-reverse));
|
|
471
|
+
margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.divide-y > :not([hidden]) ~ :not([hidden]) {
|
|
475
|
+
--tw-divide-y-reverse: 0;
|
|
476
|
+
border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
|
|
477
|
+
border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
.rounded-md {
|
|
481
|
+
border-radius: 0.375rem;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.rounded {
|
|
485
|
+
border-radius: 0.25rem;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.border-0 {
|
|
489
|
+
border-width: 0px;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.border-2 {
|
|
493
|
+
border-width: 2px;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.border-b-2 {
|
|
497
|
+
border-bottom-width: 2px;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.border-gray-300 {
|
|
501
|
+
--tw-border-opacity: 1;
|
|
502
|
+
border-color: rgb(209 213 219 / var(--tw-border-opacity));
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.border-gray-200 {
|
|
506
|
+
--tw-border-opacity: 1;
|
|
507
|
+
border-color: rgb(229 231 235 / var(--tw-border-opacity));
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.border-transparent {
|
|
511
|
+
border-color: transparent;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.bg-gray-100 {
|
|
515
|
+
--tw-bg-opacity: 1;
|
|
516
|
+
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.bg-gray-200 {
|
|
520
|
+
--tw-bg-opacity: 1;
|
|
521
|
+
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.px-6 {
|
|
525
|
+
padding-left: 1.5rem;
|
|
526
|
+
padding-right: 1.5rem;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.py-12 {
|
|
530
|
+
padding-top: 3rem;
|
|
531
|
+
padding-bottom: 3rem;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.py-8 {
|
|
535
|
+
padding-top: 2rem;
|
|
536
|
+
padding-bottom: 2rem;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.px-0\.5 {
|
|
540
|
+
padding-left: 0.125rem;
|
|
541
|
+
padding-right: 0.125rem;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.px-0 {
|
|
545
|
+
padding-left: 0px;
|
|
546
|
+
padding-right: 0px;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.text-4xl {
|
|
550
|
+
font-size: 2.25rem;
|
|
551
|
+
line-height: 2.5rem;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.text-lg {
|
|
555
|
+
font-size: 1.125rem;
|
|
556
|
+
line-height: 1.75rem;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.text-2xl {
|
|
560
|
+
font-size: 1.5rem;
|
|
561
|
+
line-height: 2rem;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.font-bold {
|
|
565
|
+
font-weight: 700;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.text-gray-900 {
|
|
569
|
+
--tw-text-opacity: 1;
|
|
570
|
+
color: rgb(17 24 39 / var(--tw-text-opacity));
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.text-gray-600 {
|
|
574
|
+
--tw-text-opacity: 1;
|
|
575
|
+
color: rgb(75 85 99 / var(--tw-text-opacity));
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.text-gray-700 {
|
|
579
|
+
--tw-text-opacity: 1;
|
|
580
|
+
color: rgb(55 65 81 / var(--tw-text-opacity));
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.text-indigo-600 {
|
|
584
|
+
--tw-text-opacity: 1;
|
|
585
|
+
color: rgb(79 70 229 / var(--tw-text-opacity));
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.text-black {
|
|
589
|
+
--tw-text-opacity: 1;
|
|
590
|
+
color: rgb(0 0 0 / var(--tw-text-opacity));
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
.text-gray-500 {
|
|
594
|
+
--tw-text-opacity: 1;
|
|
595
|
+
color: rgb(107 114 128 / var(--tw-text-opacity));
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
.underline {
|
|
599
|
+
-webkit-text-decoration-line: underline;
|
|
600
|
+
text-decoration-line: underline;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.antialiased {
|
|
604
|
+
-webkit-font-smoothing: antialiased;
|
|
605
|
+
-moz-osx-font-smoothing: grayscale;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.shadow-sm {
|
|
609
|
+
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
610
|
+
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
|
|
611
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.focus\:border-indigo-300:focus {
|
|
615
|
+
--tw-border-opacity: 1;
|
|
616
|
+
border-color: rgb(165 180 252 / var(--tw-border-opacity));
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.focus\:border-black:focus {
|
|
620
|
+
--tw-border-opacity: 1;
|
|
621
|
+
border-color: rgb(0 0 0 / var(--tw-border-opacity));
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.focus\:border-gray-300:focus {
|
|
625
|
+
--tw-border-opacity: 1;
|
|
626
|
+
border-color: rgb(209 213 219 / var(--tw-border-opacity));
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.focus\:border-gray-500:focus {
|
|
630
|
+
--tw-border-opacity: 1;
|
|
631
|
+
border-color: rgb(107 114 128 / var(--tw-border-opacity));
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.focus\:border-transparent:focus {
|
|
635
|
+
border-color: transparent;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.focus\:bg-white:focus {
|
|
639
|
+
--tw-bg-opacity: 1;
|
|
640
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.focus\:bg-gray-200:focus {
|
|
644
|
+
--tw-bg-opacity: 1;
|
|
645
|
+
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
.focus\:ring:focus {
|
|
649
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
650
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
651
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.focus\:ring-0:focus {
|
|
655
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
656
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
657
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
.focus\:ring-1:focus {
|
|
661
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
662
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
663
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.focus\:ring-indigo-200:focus {
|
|
667
|
+
--tw-ring-opacity: 1;
|
|
668
|
+
--tw-ring-color: rgb(199 210 254 / var(--tw-ring-opacity));
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.focus\:ring-black:focus {
|
|
672
|
+
--tw-ring-opacity: 1;
|
|
673
|
+
--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity));
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.focus\:ring-gray-500:focus {
|
|
677
|
+
--tw-ring-opacity: 1;
|
|
678
|
+
--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity));
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
.focus\:ring-opacity-50:focus {
|
|
682
|
+
--tw-ring-opacity: 0.5;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.focus\:ring-offset-0:focus {
|
|
686
|
+
--tw-ring-offset-width: 0px;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.focus\:ring-offset-2:focus {
|
|
690
|
+
--tw-ring-offset-width: 2px;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
@media (min-width: 768px) {
|
|
694
|
+
.md\:max-w-4xl {
|
|
695
|
+
max-width: 56rem;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.md\:grid-cols-2 {
|
|
699
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
</style>
|
|
703
|
+
|
|
704
|
+
<style src="@vueform/multiselect/themes/default.css"></style>
|