@chelone/vue 0.0.0-stage → 0.1.0
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/LICENSE +23 -0
- package/README.md +30 -2
- package/dist/admin/admin-shell.vue.d.ts +27 -0
- package/dist/admin/admin-shell.vue.js +113 -0
- package/dist/admin/admin-shell2.vue.js +4 -0
- package/dist/admin/admin.vue.d.ts +126 -0
- package/dist/admin/admin.vue.js +214 -0
- package/dist/admin/admin2.vue.js +4 -0
- package/dist/admin/auth-gate.d.ts +80 -0
- package/dist/admin/auth-gate.js +86 -0
- package/dist/admin/custom-routes.d.ts +18 -0
- package/dist/admin/custom-routes.js +14 -0
- package/dist/admin/default-error-fallback.vue.d.ts +11 -0
- package/dist/admin/default-error-fallback.vue.js +28 -0
- package/dist/admin/default-error-fallback2.vue.js +4 -0
- package/dist/admin/has-dashboard.d.ts +17 -0
- package/dist/admin/has-dashboard.js +15 -0
- package/dist/admin/navigate-to-first-resource.vue.d.ts +2 -0
- package/dist/admin/navigate-to-first-resource.vue.js +35 -0
- package/dist/admin/navigate-to-first-resource2.vue.js +4 -0
- package/dist/admin/resource-registry.d.ts +108 -0
- package/dist/admin/resource-registry.js +55 -0
- package/dist/admin/resource.vue.d.ts +20 -0
- package/dist/admin/resource.vue.js +35 -0
- package/dist/admin/resource2.vue.js +4 -0
- package/dist/admin/shell-error-boundary.vue.d.ts +15 -0
- package/dist/admin/shell-error-boundary.vue.js +60 -0
- package/dist/admin/shell-error-boundary2.vue.js +4 -0
- package/dist/admin/slot-routes.d.ts +13 -0
- package/dist/admin/slot-routes.js +68 -0
- package/dist/array/array-context.d.ts +63 -0
- package/dist/array/array-context.js +51 -0
- package/dist/array/index.d.ts +4 -0
- package/dist/array/use-array-input.d.ts +55 -0
- package/dist/array/use-array-input.js +59 -0
- package/dist/auth/auth-hooks.d.ts +68 -0
- package/dist/auth/auth-hooks.js +54 -0
- package/dist/auth/permissions-hooks.d.ts +76 -0
- package/dist/auth/permissions-hooks.js +106 -0
- package/dist/choices/choices-context.d.ts +85 -0
- package/dist/choices/choices-context.js +62 -0
- package/dist/choices/index.d.ts +6 -0
- package/dist/choices/use-choices.d.ts +47 -0
- package/dist/choices/use-choices.js +35 -0
- package/dist/choices/use-reference-input.d.ts +35 -0
- package/dist/choices/use-reference-input.js +74 -0
- package/dist/components/admin/auth/access-denied.vue.d.ts +24 -0
- package/dist/components/admin/auth/access-denied.vue.js +37 -0
- package/dist/components/admin/auth/access-denied2.vue.js +4 -0
- package/dist/components/admin/auth/auth-callback.vue.d.ts +2 -0
- package/dist/components/admin/auth/auth-callback.vue.js +28 -0
- package/dist/components/admin/auth/auth-callback2.vue.js +4 -0
- package/dist/components/admin/auth/auth-error.vue.d.ts +13 -0
- package/dist/components/admin/auth/auth-error.vue.js +49 -0
- package/dist/components/admin/auth/auth-error2.vue.js +4 -0
- package/dist/components/admin/auth/auth-layout.vue.d.ts +22 -0
- package/dist/components/admin/auth/auth-layout.vue.js +65 -0
- package/dist/components/admin/auth/auth-layout2.vue.js +4 -0
- package/dist/components/admin/auth/authentication-error.vue.d.ts +16 -0
- package/dist/components/admin/auth/authentication-error.vue.js +27 -0
- package/dist/components/admin/auth/authentication-error2.vue.js +4 -0
- package/dist/components/admin/auth/can-access.vue.d.ts +23 -0
- package/dist/components/admin/auth/can-access.vue.js +26 -0
- package/dist/components/admin/auth/can-access2.vue.js +4 -0
- package/dist/components/admin/auth/icons.d.ts +17 -0
- package/dist/components/admin/auth/icons.js +42 -0
- package/dist/components/admin/auth/login-form.vue.d.ts +12 -0
- package/dist/components/admin/auth/login-form.vue.js +88 -0
- package/dist/components/admin/auth/login-form2.vue.js +4 -0
- package/dist/components/admin/auth/login-page.vue.d.ts +16 -0
- package/dist/components/admin/auth/login-page.vue.js +42 -0
- package/dist/components/admin/auth/login-page2.vue.js +4 -0
- package/dist/components/admin/auth/login-with-email.vue.d.ts +29 -0
- package/dist/components/admin/auth/login-with-email.vue.js +107 -0
- package/dist/components/admin/auth/login-with-email2.vue.js +4 -0
- package/dist/components/admin/auth/logout.vue.d.ts +12 -0
- package/dist/components/admin/auth/logout.vue.js +40 -0
- package/dist/components/admin/auth/logout2.vue.js +4 -0
- package/dist/components/admin/buttons/bulk-delete-button.vue.d.ts +28 -0
- package/dist/components/admin/buttons/bulk-delete-button.vue.js +123 -0
- package/dist/components/admin/buttons/bulk-delete-button2.vue.js +4 -0
- package/dist/components/admin/buttons/bulk-export-button.vue.d.ts +16 -0
- package/dist/components/admin/buttons/bulk-export-button.vue.js +67 -0
- package/dist/components/admin/buttons/bulk-export-button2.vue.js +4 -0
- package/dist/components/admin/buttons/bulk-update-button.vue.d.ts +26 -0
- package/dist/components/admin/buttons/bulk-update-button.vue.js +109 -0
- package/dist/components/admin/buttons/bulk-update-button2.vue.js +4 -0
- package/dist/components/admin/buttons/cancel-button.vue.d.ts +9 -0
- package/dist/components/admin/buttons/cancel-button.vue.js +42 -0
- package/dist/components/admin/buttons/cancel-button2.vue.js +4 -0
- package/dist/components/admin/buttons/clone-button.vue.d.ts +21 -0
- package/dist/components/admin/buttons/clone-button.vue.js +62 -0
- package/dist/components/admin/buttons/clone-button2.vue.js +4 -0
- package/dist/components/admin/buttons/columns-button.vue.d.ts +11 -0
- package/dist/components/admin/buttons/columns-button.vue.js +180 -0
- package/dist/components/admin/buttons/columns-button2.vue.js +4 -0
- package/dist/components/admin/buttons/create-button.vue.d.ts +18 -0
- package/dist/components/admin/buttons/create-button.vue.js +60 -0
- package/dist/components/admin/buttons/create-button2.vue.js +4 -0
- package/dist/components/admin/buttons/delete-button.vue.d.ts +39 -0
- package/dist/components/admin/buttons/delete-button.vue.js +135 -0
- package/dist/components/admin/buttons/delete-button2.vue.js +4 -0
- package/dist/components/admin/buttons/dual-approval-button.vue.d.ts +31 -0
- package/dist/components/admin/buttons/dual-approval-button.vue.js +131 -0
- package/dist/components/admin/buttons/dual-approval-button2.vue.js +4 -0
- package/dist/components/admin/buttons/edit-button.vue.d.ts +21 -0
- package/dist/components/admin/buttons/edit-button.vue.js +70 -0
- package/dist/components/admin/buttons/edit-button2.vue.js +4 -0
- package/dist/components/admin/buttons/export-button.vue.d.ts +18 -0
- package/dist/components/admin/buttons/export-button.vue.js +71 -0
- package/dist/components/admin/buttons/export-button2.vue.js +4 -0
- package/dist/components/admin/buttons/filter-button.vue.d.ts +20 -0
- package/dist/components/admin/buttons/filter-button.vue.js +119 -0
- package/dist/components/admin/buttons/filter-button2.vue.js +4 -0
- package/dist/components/admin/buttons/icons.d.ts +47 -0
- package/dist/components/admin/buttons/icons.js +108 -0
- package/dist/components/admin/buttons/list-button.vue.d.ts +18 -0
- package/dist/components/admin/buttons/list-button.vue.js +59 -0
- package/dist/components/admin/buttons/list-button2.vue.js +4 -0
- package/dist/components/admin/buttons/locales-menu-button.vue.d.ts +23 -0
- package/dist/components/admin/buttons/locales-menu-button.vue.js +41 -0
- package/dist/components/admin/buttons/locales-menu-button2.vue.js +4 -0
- package/dist/components/admin/buttons/locales-menu.vue.d.ts +19 -0
- package/dist/components/admin/buttons/locales-menu.vue.js +72 -0
- package/dist/components/admin/buttons/locales-menu2.vue.js +4 -0
- package/dist/components/admin/buttons/refresh-button.vue.d.ts +9 -0
- package/dist/components/admin/buttons/refresh-button.vue.js +50 -0
- package/dist/components/admin/buttons/refresh-button2.vue.js +4 -0
- package/dist/components/admin/buttons/refresh-icon-button.vue.d.ts +22 -0
- package/dist/components/admin/buttons/refresh-icon-button.vue.js +52 -0
- package/dist/components/admin/buttons/refresh-icon-button2.vue.js +4 -0
- package/dist/components/admin/buttons/save-button.vue.d.ts +14 -0
- package/dist/components/admin/buttons/save-button.vue.js +67 -0
- package/dist/components/admin/buttons/save-button2.vue.js +4 -0
- package/dist/components/admin/buttons/select-all-button.vue.d.ts +18 -0
- package/dist/components/admin/buttons/select-all-button.vue.js +50 -0
- package/dist/components/admin/buttons/select-all-button2.vue.js +4 -0
- package/dist/components/admin/buttons/show-button.vue.d.ts +21 -0
- package/dist/components/admin/buttons/show-button.vue.js +70 -0
- package/dist/components/admin/buttons/show-button2.vue.js +4 -0
- package/dist/components/admin/buttons/sidebar-toggle-button.vue.d.ts +7 -0
- package/dist/components/admin/buttons/sidebar-toggle-button.vue.js +38 -0
- package/dist/components/admin/buttons/sidebar-toggle-button2.vue.js +4 -0
- package/dist/components/admin/buttons/skip-navigation-button.vue.d.ts +18 -0
- package/dist/components/admin/buttons/skip-navigation-button.vue.js +51 -0
- package/dist/components/admin/buttons/skip-navigation-button2.vue.js +4 -0
- package/dist/components/admin/buttons/sort-button.vue.d.ts +11 -0
- package/dist/components/admin/buttons/sort-button.vue.js +90 -0
- package/dist/components/admin/buttons/sort-button2.vue.js +4 -0
- package/dist/components/admin/buttons/status-transition-button.vue.d.ts +32 -0
- package/dist/components/admin/buttons/status-transition-button.vue.js +172 -0
- package/dist/components/admin/buttons/status-transition-button2.vue.js +4 -0
- package/dist/components/admin/buttons/toggle-filter-button.vue.d.ts +26 -0
- package/dist/components/admin/buttons/toggle-filter-button.vue.js +43 -0
- package/dist/components/admin/buttons/toggle-filter-button2.vue.js +4 -0
- package/dist/components/admin/buttons/toolbar.vue.d.ts +13 -0
- package/dist/components/admin/buttons/toolbar.vue.js +32 -0
- package/dist/components/admin/buttons/toolbar2.vue.js +4 -0
- package/dist/components/admin/buttons/update-button.vue.d.ts +52 -0
- package/dist/components/admin/buttons/update-button.vue.js +133 -0
- package/dist/components/admin/buttons/update-button2.vue.js +4 -0
- package/dist/components/admin/common/application-updated-notification.vue.d.ts +17 -0
- package/dist/components/admin/common/application-updated-notification.vue.js +63 -0
- package/dist/components/admin/common/application-updated-notification2.vue.js +4 -0
- package/dist/components/admin/common/check-for-application-update.vue.d.ts +24 -0
- package/dist/components/admin/common/check-for-application-update.vue.js +31 -0
- package/dist/components/admin/common/check-for-application-update2.vue.js +4 -0
- package/dist/components/admin/common/field-label-text.vue.d.ts +22 -0
- package/dist/components/admin/common/field-label-text.vue.js +37 -0
- package/dist/components/admin/common/field-label-text2.vue.js +4 -0
- package/dist/components/admin/common/icon-button-with-tooltip.vue.d.ts +20 -0
- package/dist/components/admin/common/icon-button-with-tooltip.vue.js +39 -0
- package/dist/components/admin/common/icon-button-with-tooltip2.vue.js +4 -0
- package/dist/components/admin/common/icons.d.ts +11 -0
- package/dist/components/admin/common/icons.js +32 -0
- package/dist/components/admin/common/input-helper-text.vue.d.ts +14 -0
- package/dist/components/admin/common/input-helper-text.vue.js +32 -0
- package/dist/components/admin/common/input-helper-text2.vue.js +4 -0
- package/dist/components/admin/common/keyboard-shortcut.vue.d.ts +14 -0
- package/dist/components/admin/common/keyboard-shortcut.vue.js +64 -0
- package/dist/components/admin/common/keyboard-shortcut2.vue.js +4 -0
- package/dist/components/admin/common/link.vue.d.ts +21 -0
- package/dist/components/admin/common/link.vue.js +32 -0
- package/dist/components/admin/common/link2.vue.js +4 -0
- package/dist/components/admin/common/validation-error.vue.d.ts +18 -0
- package/dist/components/admin/common/validation-error.vue.js +25 -0
- package/dist/components/admin/common/validation-error2.vue.js +4 -0
- package/dist/components/admin/csv-import/csv-import.vue.d.ts +33 -0
- package/dist/components/admin/csv-import/csv-import.vue.js +448 -0
- package/dist/components/admin/csv-import/csv-import2.vue.js +4 -0
- package/dist/components/admin/csv-import/upload-icon.d.ts +3 -0
- package/dist/components/admin/csv-import/upload-icon.js +23 -0
- package/dist/components/admin/csv-import/use-csv-import.d.ts +14 -0
- package/dist/components/admin/csv-import/use-csv-import.js +13 -0
- package/dist/components/admin/feedback/confirm.vue.d.ts +34 -0
- package/dist/components/admin/feedback/confirm.vue.js +135 -0
- package/dist/components/admin/feedback/confirm2.vue.js +4 -0
- package/dist/components/admin/feedback/error.vue.d.ts +34 -0
- package/dist/components/admin/feedback/error.vue.js +86 -0
- package/dist/components/admin/feedback/error2.vue.js +4 -0
- package/dist/components/admin/feedback/icons.d.ts +49 -0
- package/dist/components/admin/feedback/icons.js +97 -0
- package/dist/components/admin/feedback/linear-progress.vue.d.ts +16 -0
- package/dist/components/admin/feedback/linear-progress.vue.js +45 -0
- package/dist/components/admin/feedback/linear-progress2.vue.js +4 -0
- package/dist/components/admin/feedback/loading-indicator.vue.d.ts +11 -0
- package/dist/components/admin/feedback/loading-indicator.vue.js +58 -0
- package/dist/components/admin/feedback/loading-indicator2.vue.js +4 -0
- package/dist/components/admin/feedback/loading.vue.d.ts +15 -0
- package/dist/components/admin/feedback/loading.vue.js +41 -0
- package/dist/components/admin/feedback/loading2.vue.js +4 -0
- package/dist/components/admin/feedback/not-found.vue.d.ts +17 -0
- package/dist/components/admin/feedback/not-found.vue.js +61 -0
- package/dist/components/admin/feedback/not-found2.vue.js +4 -0
- package/dist/components/admin/feedback/notification.vue.d.ts +9 -0
- package/dist/components/admin/feedback/notification.vue.js +151 -0
- package/dist/components/admin/feedback/notification2.vue.js +4 -0
- package/dist/components/admin/feedback/offline.vue.d.ts +14 -0
- package/dist/components/admin/feedback/offline.vue.js +41 -0
- package/dist/components/admin/feedback/offline2.vue.js +4 -0
- package/dist/components/admin/feedback/placeholder.vue.d.ts +14 -0
- package/dist/components/admin/feedback/placeholder.vue.js +24 -0
- package/dist/components/admin/feedback/placeholder2.vue.js +4 -0
- package/dist/components/admin/feedback/ready.vue.d.ts +2 -0
- package/dist/components/admin/feedback/ready.vue.js +55 -0
- package/dist/components/admin/feedback/ready2.vue.js +4 -0
- package/dist/components/admin/feedback/spinner.vue.d.ts +18 -0
- package/dist/components/admin/feedback/spinner.vue.js +34 -0
- package/dist/components/admin/feedback/spinner2.vue.js +4 -0
- package/dist/components/admin/feedback/use-timeout.d.ts +14 -0
- package/dist/components/admin/feedback/use-timeout.js +12 -0
- package/dist/components/admin/fields/api-key-field.vue.d.ts +16 -0
- package/dist/components/admin/fields/api-key-field.vue.js +190 -0
- package/dist/components/admin/fields/api-key-field2.vue.js +4 -0
- package/dist/components/admin/fields/array-field.vue.d.ts +25 -0
- package/dist/components/admin/fields/array-field.vue.js +39 -0
- package/dist/components/admin/fields/array-field2.vue.js +4 -0
- package/dist/components/admin/fields/badge-field.vue.d.ts +14 -0
- package/dist/components/admin/fields/badge-field.vue.js +52 -0
- package/dist/components/admin/fields/badge-field2.vue.js +4 -0
- package/dist/components/admin/fields/boolean-field.vue.d.ts +17 -0
- package/dist/components/admin/fields/boolean-field.vue.js +85 -0
- package/dist/components/admin/fields/boolean-field2.vue.js +4 -0
- package/dist/components/admin/fields/chip-field.vue.d.ts +14 -0
- package/dist/components/admin/fields/chip-field.vue.js +53 -0
- package/dist/components/admin/fields/chip-field2.vue.js +4 -0
- package/dist/components/admin/fields/color-field.vue.d.ts +15 -0
- package/dist/components/admin/fields/color-field.vue.js +57 -0
- package/dist/components/admin/fields/color-field2.vue.js +4 -0
- package/dist/components/admin/fields/cron-field.vue.d.ts +13 -0
- package/dist/components/admin/fields/cron-field.vue.js +59 -0
- package/dist/components/admin/fields/cron-field2.vue.js +4 -0
- package/dist/components/admin/fields/currency-field.vue.d.ts +19 -0
- package/dist/components/admin/fields/currency-field.vue.js +66 -0
- package/dist/components/admin/fields/currency-field2.vue.js +4 -0
- package/dist/components/admin/fields/date-field.vue.d.ts +23 -0
- package/dist/components/admin/fields/date-field.vue.js +69 -0
- package/dist/components/admin/fields/date-field2.vue.js +4 -0
- package/dist/components/admin/fields/duration-field.vue.d.ts +13 -0
- package/dist/components/admin/fields/duration-field.vue.js +48 -0
- package/dist/components/admin/fields/duration-field2.vue.js +4 -0
- package/dist/components/admin/fields/email-field.vue.d.ts +11 -0
- package/dist/components/admin/fields/email-field.vue.js +46 -0
- package/dist/components/admin/fields/email-field2.vue.js +4 -0
- package/dist/components/admin/fields/file-field.vue.d.ts +19 -0
- package/dist/components/admin/fields/file-field.vue.js +105 -0
- package/dist/components/admin/fields/file-field2.vue.js +4 -0
- package/dist/components/admin/fields/function-field.vue.d.ts +27 -0
- package/dist/components/admin/fields/function-field.vue.js +33 -0
- package/dist/components/admin/fields/function-field2.vue.js +4 -0
- package/dist/components/admin/fields/get-path.d.ts +7 -0
- package/dist/components/admin/fields/get-path.js +14 -0
- package/dist/components/admin/fields/image-field.vue.d.ts +15 -0
- package/dist/components/admin/fields/image-field.vue.js +89 -0
- package/dist/components/admin/fields/image-field2.vue.js +4 -0
- package/dist/components/admin/fields/json-field.vue.d.ts +15 -0
- package/dist/components/admin/fields/json-field.vue.js +44 -0
- package/dist/components/admin/fields/json-field2.vue.js +4 -0
- package/dist/components/admin/fields/number-field.vue.d.ts +17 -0
- package/dist/components/admin/fields/number-field.vue.js +52 -0
- package/dist/components/admin/fields/number-field2.vue.js +4 -0
- package/dist/components/admin/fields/phone-field.vue.d.ts +17 -0
- package/dist/components/admin/fields/phone-field.vue.js +69 -0
- package/dist/components/admin/fields/phone-field2.vue.js +4 -0
- package/dist/components/admin/fields/rating-field.vue.d.ts +17 -0
- package/dist/components/admin/fields/rating-field.vue.js +111 -0
- package/dist/components/admin/fields/rating-field2.vue.js +4 -0
- package/dist/components/admin/fields/record-field.vue.d.ts +35 -0
- package/dist/components/admin/fields/record-field.vue.js +80 -0
- package/dist/components/admin/fields/record-field2.vue.js +4 -0
- package/dist/components/admin/fields/reference-array-field.vue.d.ts +25 -0
- package/dist/components/admin/fields/reference-array-field.vue.js +46 -0
- package/dist/components/admin/fields/reference-array-field2.vue.js +4 -0
- package/dist/components/admin/fields/reference-field.vue.d.ts +47 -0
- package/dist/components/admin/fields/reference-field.vue.js +76 -0
- package/dist/components/admin/fields/reference-field2.vue.js +4 -0
- package/dist/components/admin/fields/reference-many-count.vue.d.ts +22 -0
- package/dist/components/admin/fields/reference-many-count.vue.js +52 -0
- package/dist/components/admin/fields/reference-many-count2.vue.js +4 -0
- package/dist/components/admin/fields/reference-many-field.vue.d.ts +33 -0
- package/dist/components/admin/fields/reference-many-field.vue.js +40 -0
- package/dist/components/admin/fields/reference-many-field2.vue.js +4 -0
- package/dist/components/admin/fields/reference-one-field.vue.d.ts +33 -0
- package/dist/components/admin/fields/reference-one-field.vue.js +77 -0
- package/dist/components/admin/fields/reference-one-field2.vue.js +4 -0
- package/dist/components/admin/fields/select-field.vue.d.ts +20 -0
- package/dist/components/admin/fields/select-field.vue.js +55 -0
- package/dist/components/admin/fields/select-field2.vue.js +4 -0
- package/dist/components/admin/fields/subscription-plan-field.vue.d.ts +15 -0
- package/dist/components/admin/fields/subscription-plan-field.vue.js +60 -0
- package/dist/components/admin/fields/subscription-plan-field2.vue.js +4 -0
- package/dist/components/admin/fields/text-array-field.vue.d.ts +14 -0
- package/dist/components/admin/fields/text-array-field.vue.js +62 -0
- package/dist/components/admin/fields/text-array-field2.vue.js +4 -0
- package/dist/components/admin/fields/text-field.vue.d.ts +16 -0
- package/dist/components/admin/fields/text-field.vue.js +38 -0
- package/dist/components/admin/fields/text-field2.vue.js +4 -0
- package/dist/components/admin/fields/url-field.vue.d.ts +17 -0
- package/dist/components/admin/fields/url-field.vue.js +66 -0
- package/dist/components/admin/fields/url-field2.vue.js +4 -0
- package/dist/components/admin/fields/usage-meter-field.vue.d.ts +21 -0
- package/dist/components/admin/fields/usage-meter-field.vue.js +89 -0
- package/dist/components/admin/fields/usage-meter-field2.vue.js +4 -0
- package/dist/components/admin/fields/webhook-endpoint-field.vue.d.ts +22 -0
- package/dist/components/admin/fields/webhook-endpoint-field.vue.js +54 -0
- package/dist/components/admin/fields/webhook-endpoint-field2.vue.js +4 -0
- package/dist/components/admin/fields/wrapper-field.vue.d.ts +22 -0
- package/dist/components/admin/fields/wrapper-field.vue.js +12 -0
- package/dist/components/admin/fields/wrapper-field2.vue.js +4 -0
- package/dist/components/admin/form/translatable-inputs-tab-content.vue.d.ts +18 -0
- package/dist/components/admin/form/translatable-inputs-tab-content.vue.js +45 -0
- package/dist/components/admin/form/translatable-inputs-tab-content2.vue.js +4 -0
- package/dist/components/admin/form/translatable-inputs-tab.vue.d.ts +18 -0
- package/dist/components/admin/form/translatable-inputs-tab.vue.js +54 -0
- package/dist/components/admin/form/translatable-inputs-tab2.vue.js +4 -0
- package/dist/components/admin/form/translatable-inputs-tabs.vue.d.ts +10 -0
- package/dist/components/admin/form/translatable-inputs-tabs.vue.js +38 -0
- package/dist/components/admin/form/translatable-inputs-tabs2.vue.js +4 -0
- package/dist/components/admin/form/translatable-inputs.vue.d.ts +26 -0
- package/dist/components/admin/form/translatable-inputs.vue.js +49 -0
- package/dist/components/admin/form/translatable-inputs2.vue.js +4 -0
- package/dist/components/admin/guessers/edit-guesser.vue.d.ts +11 -0
- package/dist/components/admin/guessers/edit-guesser.vue.js +89 -0
- package/dist/components/admin/guessers/edit-guesser2.vue.js +4 -0
- package/dist/components/admin/guessers/guess-components.d.ts +10 -0
- package/dist/components/admin/guessers/guess-components.js +46 -0
- package/dist/components/admin/guessers/guessed-code.d.ts +13 -0
- package/dist/components/admin/guessers/guessed-code.js +104 -0
- package/dist/components/admin/guessers/guesser-empty.vue.d.ts +21 -0
- package/dist/components/admin/guessers/guesser-empty.vue.js +47 -0
- package/dist/components/admin/guessers/guesser-empty2.vue.js +4 -0
- package/dist/components/admin/guessers/icons.d.ts +11 -0
- package/dist/components/admin/guessers/icons.js +24 -0
- package/dist/components/admin/guessers/list-guesser.vue.d.ts +10 -0
- package/dist/components/admin/guessers/list-guesser.vue.js +90 -0
- package/dist/components/admin/guessers/list-guesser2.vue.js +4 -0
- package/dist/components/admin/guessers/show-guesser.vue.d.ts +10 -0
- package/dist/components/admin/guessers/show-guesser.vue.js +88 -0
- package/dist/components/admin/guessers/show-guesser2.vue.js +4 -0
- package/dist/components/admin/guessers/use-guessed-resource.d.ts +8 -0
- package/dist/components/admin/guessers/use-guessed-resource.js +14 -0
- package/dist/components/admin/inputs/api-key-input.vue.d.ts +14 -0
- package/dist/components/admin/inputs/api-key-input.vue.js +95 -0
- package/dist/components/admin/inputs/api-key-input2.vue.js +4 -0
- package/dist/components/admin/inputs/array-input-row.vue.d.ts +40 -0
- package/dist/components/admin/inputs/array-input-row.vue.js +130 -0
- package/dist/components/admin/inputs/array-input-row2.vue.js +4 -0
- package/dist/components/admin/inputs/array-input.vue.d.ts +72 -0
- package/dist/components/admin/inputs/array-input.vue.js +189 -0
- package/dist/components/admin/inputs/array-input2.vue.js +4 -0
- package/dist/components/admin/inputs/autocomplete-array-input.vue.d.ts +17 -0
- package/dist/components/admin/inputs/autocomplete-array-input.vue.js +229 -0
- package/dist/components/admin/inputs/autocomplete-array-input2.vue.js +4 -0
- package/dist/components/admin/inputs/autocomplete-input.vue.d.ts +17 -0
- package/dist/components/admin/inputs/autocomplete-input.vue.js +201 -0
- package/dist/components/admin/inputs/autocomplete-input2.vue.js +4 -0
- package/dist/components/admin/inputs/boolean-input.vue.d.ts +19 -0
- package/dist/components/admin/inputs/boolean-input.vue.js +72 -0
- package/dist/components/admin/inputs/boolean-input2.vue.js +4 -0
- package/dist/components/admin/inputs/checkbox-group-input.vue.d.ts +13 -0
- package/dist/components/admin/inputs/checkbox-group-input.vue.js +134 -0
- package/dist/components/admin/inputs/checkbox-group-input2.vue.js +4 -0
- package/dist/components/admin/inputs/choice-input-props.d.ts +39 -0
- package/dist/components/admin/inputs/color-input.vue.d.ts +25 -0
- package/dist/components/admin/inputs/color-input.vue.js +97 -0
- package/dist/components/admin/inputs/color-input2.vue.js +4 -0
- package/dist/components/admin/inputs/cron-input.vue.d.ts +14 -0
- package/dist/components/admin/inputs/cron-input.vue.js +84 -0
- package/dist/components/admin/inputs/cron-input2.vue.js +4 -0
- package/dist/components/admin/inputs/cron-utils.d.ts +18 -0
- package/dist/components/admin/inputs/cron-utils.js +20 -0
- package/dist/components/admin/inputs/currency-input.vue.d.ts +32 -0
- package/dist/components/admin/inputs/currency-input.vue.js +151 -0
- package/dist/components/admin/inputs/currency-input2.vue.js +4 -0
- package/dist/components/admin/inputs/datagrid-input.vue.d.ts +10 -0
- package/dist/components/admin/inputs/datagrid-input.vue.js +157 -0
- package/dist/components/admin/inputs/datagrid-input2.vue.js +4 -0
- package/dist/components/admin/inputs/date-input-format.d.ts +40 -0
- package/dist/components/admin/inputs/date-input-format.js +87 -0
- package/dist/components/admin/inputs/date-input.vue.d.ts +31 -0
- package/dist/components/admin/inputs/date-input.vue.js +95 -0
- package/dist/components/admin/inputs/date-input2.vue.js +4 -0
- package/dist/components/admin/inputs/date-time-input.vue.d.ts +29 -0
- package/dist/components/admin/inputs/date-time-input.vue.js +96 -0
- package/dist/components/admin/inputs/date-time-input2.vue.js +4 -0
- package/dist/components/admin/inputs/duration-input.vue.d.ts +25 -0
- package/dist/components/admin/inputs/duration-input.vue.js +125 -0
- package/dist/components/admin/inputs/duration-input2.vue.js +4 -0
- package/dist/components/admin/inputs/duration-utils.d.ts +21 -0
- package/dist/components/admin/inputs/duration-utils.js +39 -0
- package/dist/components/admin/inputs/file-input-preview.vue.d.ts +19 -0
- package/dist/components/admin/inputs/file-input-preview.vue.js +50 -0
- package/dist/components/admin/inputs/file-input-preview2.vue.js +4 -0
- package/dist/components/admin/inputs/file-input.vue.d.ts +64 -0
- package/dist/components/admin/inputs/file-input.vue.js +198 -0
- package/dist/components/admin/inputs/file-input2.vue.js +4 -0
- package/dist/components/admin/inputs/image-input-thumbnail.vue.d.ts +2 -0
- package/dist/components/admin/inputs/image-input-thumbnail.vue.js +21 -0
- package/dist/components/admin/inputs/image-input-thumbnail2.vue.js +4 -0
- package/dist/components/admin/inputs/image-input.vue.d.ts +18 -0
- package/dist/components/admin/inputs/image-input.vue.js +41 -0
- package/dist/components/admin/inputs/image-input2.vue.js +4 -0
- package/dist/components/admin/inputs/label-text.d.ts +10 -0
- package/dist/components/admin/inputs/label-text.js +7 -0
- package/dist/components/admin/inputs/loading-input.vue.d.ts +15 -0
- package/dist/components/admin/inputs/loading-input.vue.js +65 -0
- package/dist/components/admin/inputs/loading-input2.vue.js +4 -0
- package/dist/components/admin/inputs/nullable-boolean-input.vue.d.ts +29 -0
- package/dist/components/admin/inputs/nullable-boolean-input.vue.js +103 -0
- package/dist/components/admin/inputs/nullable-boolean-input2.vue.js +4 -0
- package/dist/components/admin/inputs/number-input.vue.d.ts +19 -0
- package/dist/components/admin/inputs/number-input.vue.js +88 -0
- package/dist/components/admin/inputs/number-input2.vue.js +4 -0
- package/dist/components/admin/inputs/password-input.vue.d.ts +30 -0
- package/dist/components/admin/inputs/password-input.vue.js +110 -0
- package/dist/components/admin/inputs/password-input2.vue.js +4 -0
- package/dist/components/admin/inputs/phone-input.vue.d.ts +26 -0
- package/dist/components/admin/inputs/phone-input.vue.js +138 -0
- package/dist/components/admin/inputs/phone-input2.vue.js +4 -0
- package/dist/components/admin/inputs/radio-button-group-input.vue.d.ts +13 -0
- package/dist/components/admin/inputs/radio-button-group-input.vue.js +133 -0
- package/dist/components/admin/inputs/radio-button-group-input2.vue.js +4 -0
- package/dist/components/admin/inputs/rating-input.vue.d.ts +18 -0
- package/dist/components/admin/inputs/rating-input.vue.js +117 -0
- package/dist/components/admin/inputs/rating-input2.vue.js +4 -0
- package/dist/components/admin/inputs/reference-array-input.vue.d.ts +33 -0
- package/dist/components/admin/inputs/reference-array-input.vue.js +55 -0
- package/dist/components/admin/inputs/reference-array-input2.vue.js +4 -0
- package/dist/components/admin/inputs/reference-input.vue.d.ts +23 -0
- package/dist/components/admin/inputs/reference-input.vue.js +82 -0
- package/dist/components/admin/inputs/reference-input2.vue.js +4 -0
- package/dist/components/admin/inputs/resettable-text-input.vue.d.ts +35 -0
- package/dist/components/admin/inputs/resettable-text-input.vue.js +100 -0
- package/dist/components/admin/inputs/resettable-text-input2.vue.js +4 -0
- package/dist/components/admin/inputs/search-input.vue.d.ts +24 -0
- package/dist/components/admin/inputs/search-input.vue.js +115 -0
- package/dist/components/admin/inputs/search-input2.vue.js +4 -0
- package/dist/components/admin/inputs/select-array-input.vue.d.ts +11 -0
- package/dist/components/admin/inputs/select-array-input.vue.js +204 -0
- package/dist/components/admin/inputs/select-array-input2.vue.js +4 -0
- package/dist/components/admin/inputs/select-input.vue.d.ts +15 -0
- package/dist/components/admin/inputs/select-input.vue.js +134 -0
- package/dist/components/admin/inputs/select-input2.vue.js +4 -0
- package/dist/components/admin/inputs/subscription-plan-picker.vue.d.ts +39 -0
- package/dist/components/admin/inputs/subscription-plan-picker.vue.js +160 -0
- package/dist/components/admin/inputs/subscription-plan-picker2.vue.js +4 -0
- package/dist/components/admin/inputs/text-array-input.vue.d.ts +16 -0
- package/dist/components/admin/inputs/text-array-input.vue.js +126 -0
- package/dist/components/admin/inputs/text-array-input2.vue.js +4 -0
- package/dist/components/admin/inputs/text-input.vue.d.ts +29 -0
- package/dist/components/admin/inputs/text-input.vue.js +87 -0
- package/dist/components/admin/inputs/text-input2.vue.js +4 -0
- package/dist/components/admin/inputs/time-input.vue.d.ts +29 -0
- package/dist/components/admin/inputs/time-input.vue.js +96 -0
- package/dist/components/admin/inputs/time-input2.vue.js +4 -0
- package/dist/components/admin/inputs/use-choice-input.d.ts +73 -0
- package/dist/components/admin/inputs/use-choice-input.js +42 -0
- package/dist/components/admin/inputs/webhook-endpoint-input.vue.d.ts +34 -0
- package/dist/components/admin/inputs/webhook-endpoint-input.vue.js +154 -0
- package/dist/components/admin/inputs/webhook-endpoint-input2.vue.js +4 -0
- package/dist/components/admin/layout/app-bar.vue.d.ts +20 -0
- package/dist/components/admin/layout/app-bar.vue.js +50 -0
- package/dist/components/admin/layout/app-bar2.vue.js +4 -0
- package/dist/components/admin/layout/app-sidebar.vue.d.ts +23 -0
- package/dist/components/admin/layout/app-sidebar.vue.js +81 -0
- package/dist/components/admin/layout/app-sidebar2.vue.js +4 -0
- package/dist/components/admin/layout/command-menu-content.vue.d.ts +26 -0
- package/dist/components/admin/layout/command-menu-content.vue.js +311 -0
- package/dist/components/admin/layout/command-menu-content2.vue.js +4 -0
- package/dist/components/admin/layout/command-menu-context.d.ts +32 -0
- package/dist/components/admin/layout/command-menu-context.js +31 -0
- package/dist/components/admin/layout/command-menu-gate.vue.d.ts +15 -0
- package/dist/components/admin/layout/command-menu-gate.vue.js +20 -0
- package/dist/components/admin/layout/command-menu-gate2.vue.js +4 -0
- package/dist/components/admin/layout/command-menu-logout.vue.d.ts +6 -0
- package/dist/components/admin/layout/command-menu-logout.vue.js +42 -0
- package/dist/components/admin/layout/command-menu-logout2.vue.js +4 -0
- package/dist/components/admin/layout/command-menu-record-search.vue.d.ts +20 -0
- package/dist/components/admin/layout/command-menu-record-search.vue.js +70 -0
- package/dist/components/admin/layout/command-menu-record-search2.vue.js +4 -0
- package/dist/components/admin/layout/command-menu.vue.d.ts +41 -0
- package/dist/components/admin/layout/command-menu.vue.js +167 -0
- package/dist/components/admin/layout/command-menu2.vue.js +4 -0
- package/dist/components/admin/layout/dashboard-menu-item.vue.d.ts +14 -0
- package/dist/components/admin/layout/dashboard-menu-item.vue.js +36 -0
- package/dist/components/admin/layout/dashboard-menu-item2.vue.js +4 -0
- package/dist/components/admin/layout/hide-on-scroll.vue.d.ts +18 -0
- package/dist/components/admin/layout/hide-on-scroll.vue.js +44 -0
- package/dist/components/admin/layout/hide-on-scroll2.vue.js +4 -0
- package/dist/components/admin/layout/icons.d.ts +14 -0
- package/dist/components/admin/layout/icons.js +34 -0
- package/dist/components/admin/layout/layout.vue.d.ts +16 -0
- package/dist/components/admin/layout/layout.vue.js +42 -0
- package/dist/components/admin/layout/layout2.vue.js +4 -0
- package/dist/components/admin/layout/menu-item-link.vue.d.ts +33 -0
- package/dist/components/admin/layout/menu-item-link.vue.js +55 -0
- package/dist/components/admin/layout/menu-item-link2.vue.js +4 -0
- package/dist/components/admin/layout/menu.vue.d.ts +12 -0
- package/dist/components/admin/layout/menu.vue.js +50 -0
- package/dist/components/admin/layout/menu2.vue.js +4 -0
- package/dist/components/admin/layout/resource-menu-item-group.vue.d.ts +16 -0
- package/dist/components/admin/layout/resource-menu-item-group.vue.js +59 -0
- package/dist/components/admin/layout/resource-menu-item-group2.vue.js +4 -0
- package/dist/components/admin/layout/resource-menu-item.vue.d.ts +16 -0
- package/dist/components/admin/layout/resource-menu-item.vue.js +48 -0
- package/dist/components/admin/layout/resource-menu-item2.vue.js +4 -0
- package/dist/components/admin/layout/theme-context.d.ts +35 -0
- package/dist/components/admin/layout/theme-context.js +22 -0
- package/dist/components/admin/layout/theme-mode-toggle.vue.d.ts +4 -0
- package/dist/components/admin/layout/theme-mode-toggle.vue.js +91 -0
- package/dist/components/admin/layout/theme-mode-toggle2.vue.js +4 -0
- package/dist/components/admin/layout/theme-provider.vue.d.ts +20 -0
- package/dist/components/admin/layout/theme-provider.vue.js +37 -0
- package/dist/components/admin/layout/theme-provider2.vue.js +4 -0
- package/dist/components/admin/layout/title-portal-id.d.ts +7 -0
- package/dist/components/admin/layout/title-portal-id.js +4 -0
- package/dist/components/admin/layout/title-portal.vue.d.ts +7 -0
- package/dist/components/admin/layout/title-portal.vue.js +23 -0
- package/dist/components/admin/layout/title-portal2.vue.js +4 -0
- package/dist/components/admin/layout/title.vue.d.ts +23 -0
- package/dist/components/admin/layout/title.vue.js +45 -0
- package/dist/components/admin/layout/title2.vue.js +4 -0
- package/dist/components/admin/layout/top-toolbar.vue.d.ts +14 -0
- package/dist/components/admin/layout/top-toolbar.vue.js +21 -0
- package/dist/components/admin/layout/top-toolbar2.vue.js +4 -0
- package/dist/components/admin/layout/use-menu-access.d.ts +35 -0
- package/dist/components/admin/layout/use-menu-access.js +33 -0
- package/dist/components/admin/layout/user-menu-inner.vue.d.ts +23 -0
- package/dist/components/admin/layout/user-menu-inner.vue.js +91 -0
- package/dist/components/admin/layout/user-menu-inner2.vue.js +4 -0
- package/dist/components/admin/layout/user-menu.vue.d.ts +17 -0
- package/dist/components/admin/layout/user-menu.vue.js +28 -0
- package/dist/components/admin/layout/user-menu2.vue.js +4 -0
- package/dist/components/admin/list/bulk-actions-toolbar.vue.d.ts +13 -0
- package/dist/components/admin/list/bulk-actions-toolbar.vue.js +65 -0
- package/dist/components/admin/list/bulk-actions-toolbar2.vue.js +4 -0
- package/dist/components/admin/list/bulk-edit-drawer.vue.d.ts +47 -0
- package/dist/components/admin/list/bulk-edit-drawer.vue.js +179 -0
- package/dist/components/admin/list/bulk-edit-drawer2.vue.js +4 -0
- package/dist/components/admin/list/calendar-agenda-view.vue.d.ts +27 -0
- package/dist/components/admin/list/calendar-agenda-view.vue.js +80 -0
- package/dist/components/admin/list/calendar-agenda-view2.vue.js +4 -0
- package/dist/components/admin/list/calendar-event.vue.d.ts +15 -0
- package/dist/components/admin/list/calendar-event.vue.js +43 -0
- package/dist/components/admin/list/calendar-event2.vue.js +4 -0
- package/dist/components/admin/list/calendar-header.vue.d.ts +20 -0
- package/dist/components/admin/list/calendar-header.vue.js +97 -0
- package/dist/components/admin/list/calendar-header2.vue.js +4 -0
- package/dist/components/admin/list/calendar-list.vue.d.ts +104 -0
- package/dist/components/admin/list/calendar-list.vue.js +236 -0
- package/dist/components/admin/list/calendar-list2.vue.js +4 -0
- package/dist/components/admin/list/calendar-month-view.vue.d.ts +51 -0
- package/dist/components/admin/list/calendar-month-view.vue.js +202 -0
- package/dist/components/admin/list/calendar-month-view2.vue.js +4 -0
- package/dist/components/admin/list/calendar-week-view.vue.d.ts +30 -0
- package/dist/components/admin/list/calendar-week-view.vue.js +112 -0
- package/dist/components/admin/list/calendar-week-view2.vue.js +4 -0
- package/dist/components/admin/list/count-spinner.vue.d.ts +8 -0
- package/dist/components/admin/list/count-spinner.vue.js +23 -0
- package/dist/components/admin/list/count-spinner2.vue.js +4 -0
- package/dist/components/admin/list/count.vue.d.ts +17 -0
- package/dist/components/admin/list/count.vue.js +78 -0
- package/dist/components/admin/list/count2.vue.js +4 -0
- package/dist/components/admin/list/data-table-col.vue.d.ts +29 -0
- package/dist/components/admin/list/data-table-col.vue.js +104 -0
- package/dist/components/admin/list/data-table-col2.vue.js +4 -0
- package/dist/components/admin/list/data-table-context.d.ts +88 -0
- package/dist/components/admin/list/data-table-context.js +39 -0
- package/dist/components/admin/list/data-table-number-col.vue.d.ts +11 -0
- package/dist/components/admin/list/data-table-number-col.vue.js +46 -0
- package/dist/components/admin/list/data-table-number-col2.vue.js +4 -0
- package/dist/components/admin/list/data-table-row.vue.d.ts +31 -0
- package/dist/components/admin/list/data-table-row.vue.js +125 -0
- package/dist/components/admin/list/data-table-row2.vue.js +4 -0
- package/dist/components/admin/list/data-table.vue.d.ts +50 -0
- package/dist/components/admin/list/data-table.vue.js +269 -0
- package/dist/components/admin/list/data-table2.vue.js +4 -0
- package/dist/components/admin/list/filter-form.vue.d.ts +29 -0
- package/dist/components/admin/list/filter-form.vue.js +127 -0
- package/dist/components/admin/list/filter-form2.vue.js +4 -0
- package/dist/components/admin/list/filter-list-item.vue.d.ts +27 -0
- package/dist/components/admin/list/filter-list-item.vue.js +66 -0
- package/dist/components/admin/list/filter-list-item2.vue.js +4 -0
- package/dist/components/admin/list/filter-list-section.vue.d.ts +17 -0
- package/dist/components/admin/list/filter-list-section.vue.js +30 -0
- package/dist/components/admin/list/filter-list-section2.vue.js +4 -0
- package/dist/components/admin/list/filter-list.vue.d.ts +17 -0
- package/dist/components/admin/list/filter-list.vue.js +32 -0
- package/dist/components/admin/list/filter-list2.vue.js +4 -0
- package/dist/components/admin/list/filter-live-search.vue.d.ts +8 -0
- package/dist/components/admin/list/filter-live-search.vue.js +34 -0
- package/dist/components/admin/list/filter-live-search2.vue.js +4 -0
- package/dist/components/admin/list/infinite-pagination.vue.d.ts +13 -0
- package/dist/components/admin/list/infinite-pagination.vue.js +85 -0
- package/dist/components/admin/list/infinite-pagination2.vue.js +4 -0
- package/dist/components/admin/list/list-actions.vue.d.ts +27 -0
- package/dist/components/admin/list/list-actions.vue.js +51 -0
- package/dist/components/admin/list/list-actions2.vue.js +4 -0
- package/dist/components/admin/list/list-icons.d.ts +18 -0
- package/dist/components/admin/list/list-icons.js +44 -0
- package/dist/components/admin/list/list-no-results.vue.d.ts +6 -0
- package/dist/components/admin/list/list-no-results.vue.js +46 -0
- package/dist/components/admin/list/list-no-results2.vue.js +4 -0
- package/dist/components/admin/list/list-pagination.vue.d.ts +9 -0
- package/dist/components/admin/list/list-pagination.vue.js +195 -0
- package/dist/components/admin/list/list-pagination2.vue.js +4 -0
- package/dist/components/admin/list/list-toolbar.vue.d.ts +29 -0
- package/dist/components/admin/list/list-toolbar.vue.js +40 -0
- package/dist/components/admin/list/list-toolbar2.vue.js +4 -0
- package/dist/components/admin/list/prev-next-buttons.vue.d.ts +9 -0
- package/dist/components/admin/list/prev-next-buttons.vue.js +108 -0
- package/dist/components/admin/list/prev-next-buttons2.vue.js +4 -0
- package/dist/components/admin/list/saved-queries-list.vue.d.ts +10 -0
- package/dist/components/admin/list/saved-queries-list.vue.js +160 -0
- package/dist/components/admin/list/saved-queries-list2.vue.js +4 -0
- package/dist/components/admin/list/simple-list-item.vue.d.ts +33 -0
- package/dist/components/admin/list/simple-list-item.vue.js +59 -0
- package/dist/components/admin/list/simple-list-item2.vue.js +4 -0
- package/dist/components/admin/list/simple-list-loading.vue.d.ts +14 -0
- package/dist/components/admin/list/simple-list-loading.vue.js +56 -0
- package/dist/components/admin/list/simple-list-loading2.vue.js +4 -0
- package/dist/components/admin/list/simple-list.vue.d.ts +32 -0
- package/dist/components/admin/list/simple-list.vue.js +111 -0
- package/dist/components/admin/list/simple-list2.vue.js +4 -0
- package/dist/components/admin/list/single-field-list-record.vue.d.ts +14 -0
- package/dist/components/admin/list/single-field-list-record.vue.js +18 -0
- package/dist/components/admin/list/single-field-list-record2.vue.js +4 -0
- package/dist/components/admin/list/single-field-list.vue.d.ts +21 -0
- package/dist/components/admin/list/single-field-list.vue.js +52 -0
- package/dist/components/admin/list/single-field-list2.vue.js +4 -0
- package/dist/components/admin/list/tree-list-context.d.ts +23 -0
- package/dist/components/admin/list/tree-list-context.js +4 -0
- package/dist/components/admin/list/tree-list-node.vue.d.ts +9 -0
- package/dist/components/admin/list/tree-list-node.vue.js +155 -0
- package/dist/components/admin/list/tree-list-node2.vue.js +4 -0
- package/dist/components/admin/list/tree-list.vue.d.ts +58 -0
- package/dist/components/admin/list/tree-list.vue.js +123 -0
- package/dist/components/admin/list/tree-list2.vue.js +4 -0
- package/dist/components/admin/realtime/comments-thread.vue.d.ts +32 -0
- package/dist/components/admin/realtime/comments-thread.vue.js +217 -0
- package/dist/components/admin/realtime/comments-thread2.vue.js +4 -0
- package/dist/components/admin/realtime/edit-live.vue.d.ts +32 -0
- package/dist/components/admin/realtime/edit-live.vue.js +86 -0
- package/dist/components/admin/realtime/edit-live2.vue.js +4 -0
- package/dist/components/admin/realtime/list-live.vue.d.ts +16 -0
- package/dist/components/admin/realtime/list-live.vue.js +40 -0
- package/dist/components/admin/realtime/list-live2.vue.js +4 -0
- package/dist/components/admin/realtime/lock-on-mount.vue.d.ts +24 -0
- package/dist/components/admin/realtime/lock-on-mount.vue.js +56 -0
- package/dist/components/admin/realtime/lock-on-mount2.vue.js +4 -0
- package/dist/components/admin/realtime/lock-status.vue.d.ts +18 -0
- package/dist/components/admin/realtime/lock-status.vue.js +70 -0
- package/dist/components/admin/realtime/lock-status2.vue.js +4 -0
- package/dist/components/admin/realtime/menu-live.vue.d.ts +86 -0
- package/dist/components/admin/realtime/menu-live.vue.js +131 -0
- package/dist/components/admin/realtime/menu-live2.vue.js +6 -0
- package/dist/components/admin/realtime/presence-bar.vue.d.ts +19 -0
- package/dist/components/admin/realtime/presence-bar.vue.js +77 -0
- package/dist/components/admin/realtime/presence-bar2.vue.js +4 -0
- package/dist/components/admin/realtime/show-live.vue.d.ts +26 -0
- package/dist/components/admin/realtime/show-live.vue.js +47 -0
- package/dist/components/admin/realtime/show-live2.vue.js +4 -0
- package/dist/components/admin/supabase/forgot-password-form.vue.d.ts +7 -0
- package/dist/components/admin/supabase/forgot-password-form.vue.js +91 -0
- package/dist/components/admin/supabase/forgot-password-form2.vue.js +4 -0
- package/dist/components/admin/supabase/forgot-password-page.vue.d.ts +14 -0
- package/dist/components/admin/supabase/forgot-password-page.vue.js +35 -0
- package/dist/components/admin/supabase/forgot-password-page2.vue.js +4 -0
- package/dist/components/admin/supabase/provider-buttons.d.ts +25 -0
- package/dist/components/admin/supabase/provider-buttons.js +80 -0
- package/dist/components/admin/supabase/set-password-form.vue.d.ts +7 -0
- package/dist/components/admin/supabase/set-password-form.vue.js +131 -0
- package/dist/components/admin/supabase/set-password-form2.vue.js +4 -0
- package/dist/components/admin/supabase/set-password-page.vue.d.ts +14 -0
- package/dist/components/admin/supabase/set-password-page.vue.js +32 -0
- package/dist/components/admin/supabase/set-password-page2.vue.js +4 -0
- package/dist/components/admin/supabase/social-auth-button.vue.d.ts +20 -0
- package/dist/components/admin/supabase/social-auth-button.vue.js +60 -0
- package/dist/components/admin/supabase/social-auth-button2.vue.js +4 -0
- package/dist/components/admin/supabase/social-icons.d.ts +27 -0
- package/dist/components/admin/supabase/social-icons.js +140 -0
- package/dist/components/admin/supabase/supabase-login-page.vue.d.ts +23 -0
- package/dist/components/admin/supabase/supabase-login-page.vue.js +92 -0
- package/dist/components/admin/supabase/supabase-login-page2.vue.js +4 -0
- package/dist/components/admin/supabase/use-password-recovery.d.ts +28 -0
- package/dist/components/admin/supabase/use-password-recovery.js +111 -0
- package/dist/components/admin/view/card-content-inner.vue.d.ts +13 -0
- package/dist/components/admin/view/card-content-inner.vue.js +24 -0
- package/dist/components/admin/view/card-content-inner2.vue.js +4 -0
- package/dist/components/admin/view/create.vue.d.ts +29 -0
- package/dist/components/admin/view/create.vue.js +89 -0
- package/dist/components/admin/view/create2.vue.js +4 -0
- package/dist/components/admin/view/edit.vue.d.ts +29 -0
- package/dist/components/admin/view/edit.vue.js +94 -0
- package/dist/components/admin/view/edit2.vue.js +4 -0
- package/dist/components/admin/view/infinite-list.vue.d.ts +17 -0
- package/dist/components/admin/view/infinite-list.vue.js +55 -0
- package/dist/components/admin/view/infinite-list2.vue.js +4 -0
- package/dist/components/admin/view/labeled.vue.d.ts +108 -0
- package/dist/components/admin/view/labeled.vue.js +70 -0
- package/dist/components/admin/view/labeled2.vue.js +4 -0
- package/dist/components/admin/view/list.vue.d.ts +17 -0
- package/dist/components/admin/view/list.vue.js +52 -0
- package/dist/components/admin/view/list2.vue.js +4 -0
- package/dist/components/admin/view/show.vue.d.ts +32 -0
- package/dist/components/admin/view/show.vue.js +53 -0
- package/dist/components/admin/view/show2.vue.js +4 -0
- package/dist/components/admin/view/tabbed-show-layout-tab.vue.d.ts +83 -0
- package/dist/components/admin/view/tabbed-show-layout-tab.vue.js +48 -0
- package/dist/components/admin/view/tabbed-show-layout-tab2.vue.js +6 -0
- package/dist/components/admin/view/tabbed-show-layout.vue.d.ts +81 -0
- package/dist/components/admin/view/tabbed-show-layout.vue.js +129 -0
- package/dist/components/admin/view/tabbed-show-layout2.vue.js +4 -0
- package/dist/components/admin/view/translatable-fields-tab-content.vue.d.ts +41 -0
- package/dist/components/admin/view/translatable-fields-tab-content.vue.js +64 -0
- package/dist/components/admin/view/translatable-fields-tab-content2.vue.js +4 -0
- package/dist/components/admin/view/translatable-fields-tab.vue.d.ts +18 -0
- package/dist/components/admin/view/translatable-fields-tab.vue.js +51 -0
- package/dist/components/admin/view/translatable-fields-tab2.vue.js +4 -0
- package/dist/components/admin/view/translatable-fields-tabs.vue.d.ts +10 -0
- package/dist/components/admin/view/translatable-fields-tabs.vue.js +38 -0
- package/dist/components/admin/view/translatable-fields-tabs2.vue.js +4 -0
- package/dist/components/admin/view/translatable-fields.vue.d.ts +30 -0
- package/dist/components/admin/view/translatable-fields.vue.js +65 -0
- package/dist/components/admin/view/translatable-fields2.vue.js +4 -0
- package/dist/components/index.d.ts +393 -0
- package/dist/components/maps/bbox-field.vue.d.ts +10 -0
- package/dist/components/maps/bbox-field.vue.js +50 -0
- package/dist/components/maps/bbox-field2.vue.js +4 -0
- package/dist/components/maps/geo-json-field.vue.d.ts +20 -0
- package/dist/components/maps/geo-json-field.vue.js +72 -0
- package/dist/components/maps/geo-json-field2.vue.js +4 -0
- package/dist/components/maps/geo-json-layers.vue.d.ts +20 -0
- package/dist/components/maps/geo-json-layers.vue.js +41 -0
- package/dist/components/maps/geo-json-layers2.vue.js +4 -0
- package/dist/components/maps/geo-json-view.vue.d.ts +19 -0
- package/dist/components/maps/geo-json-view.vue.js +42 -0
- package/dist/components/maps/geo-json-view2.vue.js +4 -0
- package/dist/components/maps/lat-lng-field.vue.d.ts +18 -0
- package/dist/components/maps/lat-lng-field.vue.js +76 -0
- package/dist/components/maps/lat-lng-field2.vue.js +4 -0
- package/dist/components/maps/lat-lng-input.vue.d.ts +38 -0
- package/dist/components/maps/lat-lng-input.vue.js +234 -0
- package/dist/components/maps/lat-lng-input2.vue.js +4 -0
- package/dist/components/maps/map-canvas.vue.d.ts +32 -0
- package/dist/components/maps/map-canvas.vue.js +82 -0
- package/dist/components/maps/map-canvas2.vue.js +4 -0
- package/dist/components/maps/shape-fields.d.ts +63 -0
- package/dist/components/maps/shape-fields.js +21 -0
- package/dist/components/maps/use-geo-json-source.d.ts +11 -0
- package/dist/components/maps/use-geo-json-source.js +40 -0
- package/dist/components/maps/use-map.d.ts +104 -0
- package/dist/components/maps/use-map.js +129 -0
- package/dist/components/maps-draw/bbox-input.d.ts +21 -0
- package/dist/components/maps-draw/bbox-input.js +19 -0
- package/dist/components/maps-draw/draw-icons.d.ts +19 -0
- package/dist/components/maps-draw/draw-icons.js +74 -0
- package/dist/components/maps-draw/draw-toolbar.vue.d.ts +24 -0
- package/dist/components/maps-draw/draw-toolbar.vue.js +80 -0
- package/dist/components/maps-draw/draw-toolbar2.vue.js +4 -0
- package/dist/components/maps-draw/geometry-ops.d.ts +27 -0
- package/dist/components/maps-draw/geometry-ops.js +70 -0
- package/dist/components/maps-draw/shape-input.vue.d.ts +87 -0
- package/dist/components/maps-draw/shape-input.vue.js +305 -0
- package/dist/components/maps-draw/shape-input2.vue.js +4 -0
- package/dist/components/maps-draw/shape-inputs.d.ts +135 -0
- package/dist/components/maps-draw/shape-inputs.js +177 -0
- package/dist/components/maps-draw/simplify-input.vue.d.ts +46 -0
- package/dist/components/maps-draw/simplify-input.vue.js +192 -0
- package/dist/components/maps-draw/simplify-input2.vue.js +4 -0
- package/dist/components/maps-draw/use-terra-draw.d.ts +66 -0
- package/dist/components/maps-draw/use-terra-draw.js +261 -0
- package/dist/components/maps-osm/geocoding-input.vue.d.ts +34 -0
- package/dist/components/maps-osm/geocoding-input.vue.js +268 -0
- package/dist/components/maps-osm/geocoding-input2.vue.js +4 -0
- package/dist/components/maps-osm/map-with-search.vue.d.ts +22 -0
- package/dist/components/maps-osm/map-with-search.vue.js +70 -0
- package/dist/components/maps-osm/map-with-search2.vue.js +4 -0
- package/dist/components/maps-osm/osm-feature-operator.vue.d.ts +33 -0
- package/dist/components/maps-osm/osm-feature-operator.vue.js +150 -0
- package/dist/components/maps-osm/osm-feature-operator2.vue.js +4 -0
- package/dist/components/maps-osm/osm-feature-operators.d.ts +19 -0
- package/dist/components/maps-osm/osm-feature-operators.js +42 -0
- package/dist/components/maps-osm/osm-features.d.ts +22 -0
- package/dist/components/maps-osm/osm-features.js +67 -0
- package/dist/components/maps-osm/osm-geometry-ops.d.ts +16 -0
- package/dist/components/maps-osm/osm-geometry-ops.js +41 -0
- package/dist/components/maps-osm/reverse-geocode-field.vue.d.ts +21 -0
- package/dist/components/maps-osm/reverse-geocode-field.vue.js +63 -0
- package/dist/components/maps-osm/reverse-geocode-field2.vue.js +4 -0
- package/dist/components/maps-osm/use-geocode.d.ts +29 -0
- package/dist/components/maps-osm/use-geocode.js +46 -0
- package/dist/components/maps-osm/use-osm-features.d.ts +22 -0
- package/dist/components/maps-osm/use-osm-features.js +37 -0
- package/dist/components/maps-osm/use-reverse-geocode.d.ts +24 -0
- package/dist/components/maps-osm/use-reverse-geocode.js +25 -0
- package/dist/components/mdx-editor/internal/crepe-editor.vue.d.ts +19 -0
- package/dist/components/mdx-editor/internal/crepe-editor.vue.js +91 -0
- package/dist/components/mdx-editor/internal/crepe-editor2.vue.js +4 -0
- package/dist/components/mdx-editor/mdx-editor-theme.css +25 -0
- package/dist/components/mdx-editor/mdx-field.vue.d.ts +23 -0
- package/dist/components/mdx-editor/mdx-field.vue.js +49 -0
- package/dist/components/mdx-editor/mdx-field2.vue.js +4 -0
- package/dist/components/mdx-editor/mdx-input.vue.d.ts +21 -0
- package/dist/components/mdx-editor/mdx-input.vue.js +79 -0
- package/dist/components/mdx-editor/mdx-input2.vue.js +4 -0
- package/dist/components/monaco/internal/monaco-composables.d.ts +16 -0
- package/dist/components/monaco/internal/monaco-composables.js +46 -0
- package/dist/components/monaco/internal/monaco-skeleton.vue.d.ts +5 -0
- package/dist/components/monaco/internal/monaco-skeleton.vue.js +21 -0
- package/dist/components/monaco/internal/monaco-skeleton2.vue.js +4 -0
- package/dist/components/monaco/internal/use-json-schema.d.ts +21 -0
- package/dist/components/monaco/internal/use-json-schema.js +70 -0
- package/dist/components/monaco/internal/use-monaco-markers.d.ts +25 -0
- package/dist/components/monaco/internal/use-monaco-markers.js +59 -0
- package/dist/components/monaco/monaco-json-field-lazy.vue.d.ts +16 -0
- package/dist/components/monaco/monaco-json-field-lazy.vue.js +4 -0
- package/dist/components/monaco/monaco-json-field-lazy2.vue.js +81 -0
- package/dist/components/monaco/monaco-json-field.vue.d.ts +64 -0
- package/dist/components/monaco/monaco-json-field.vue.js +10 -0
- package/dist/components/monaco/monaco-json-field2.vue.js +4 -0
- package/dist/components/monaco/monaco-json-input-lazy.vue.d.ts +11 -0
- package/dist/components/monaco/monaco-json-input-lazy.vue.js +4 -0
- package/dist/components/monaco/monaco-json-input-lazy2.vue.js +223 -0
- package/dist/components/monaco/monaco-json-input.vue.d.ts +41 -0
- package/dist/components/monaco/monaco-json-input.vue.js +48 -0
- package/dist/components/monaco/monaco-json-input2.vue.js +4 -0
- package/dist/components/ui/alert.d.ts +47 -0
- package/dist/components/ui/alert.js +46 -0
- package/dist/components/ui/avatar.d.ts +67 -0
- package/dist/components/ui/avatar.js +91 -0
- package/dist/components/ui/badge.d.ts +34 -0
- package/dist/components/ui/badge.js +30 -0
- package/dist/components/ui/button-variants.d.ts +21 -0
- package/dist/components/ui/button-variants.js +23 -0
- package/dist/components/ui/button.vue.d.ts +25 -0
- package/dist/components/ui/button.vue.js +36 -0
- package/dist/components/ui/button2.vue.js +4 -0
- package/dist/components/ui/card.d.ts +80 -0
- package/dist/components/ui/card.js +33 -0
- package/dist/components/ui/checkbox.vue.d.ts +13 -0
- package/dist/components/ui/checkbox.vue.js +42 -0
- package/dist/components/ui/checkbox2.vue.js +4 -0
- package/dist/components/ui/command/command-dialog.vue.d.ts +28 -0
- package/dist/components/ui/command/command-dialog.vue.js +94 -0
- package/dist/components/ui/command/command-dialog2.vue.js +4 -0
- package/dist/components/ui/command/command-group.vue.d.ts +16 -0
- package/dist/components/ui/command/command-group.vue.js +40 -0
- package/dist/components/ui/command/command-group2.vue.js +4 -0
- package/dist/components/ui/command/command-input.vue.d.ts +5 -0
- package/dist/components/ui/command/command-input.vue.js +75 -0
- package/dist/components/ui/command/command-input2.vue.js +4 -0
- package/dist/components/ui/command/command-item.vue.d.ts +23 -0
- package/dist/components/ui/command/command-item.vue.js +72 -0
- package/dist/components/ui/command/command-item2.vue.js +4 -0
- package/dist/components/ui/command/command.vue.d.ts +32 -0
- package/dist/components/ui/command/command.vue.js +115 -0
- package/dist/components/ui/command/command2.vue.js +4 -0
- package/dist/components/ui/command/context.d.ts +68 -0
- package/dist/components/ui/command/context.js +35 -0
- package/dist/components/ui/command/index.d.ts +12 -0
- package/dist/components/ui/command/parts.d.ts +18 -0
- package/dist/components/ui/command/parts.js +55 -0
- package/dist/components/ui/dropdown-menu/context.d.ts +25 -0
- package/dist/components/ui/dropdown-menu/context.js +21 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.vue.js +34 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-content2.vue.js +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.vue.d.ts +19 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.vue.js +38 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-item2.vue.js +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-trigger.vue.d.ts +12 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-trigger.vue.js +23 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu-trigger2.vue.js +4 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.vue.d.ts +12 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.vue.js +51 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu2.vue.js +4 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +11 -0
- package/dist/components/ui/dropdown-menu/parts.d.ts +16 -0
- package/dist/components/ui/dropdown-menu/parts.js +23 -0
- package/dist/components/ui/field.d.ts +90 -0
- package/dist/components/ui/field.js +79 -0
- package/dist/components/ui/index.d.ts +23 -0
- package/dist/components/ui/input.vue.d.ts +21 -0
- package/dist/components/ui/input.vue.js +56 -0
- package/dist/components/ui/input2.vue.js +4 -0
- package/dist/components/ui/native-select.vue.d.ts +19 -0
- package/dist/components/ui/native-select.vue.js +57 -0
- package/dist/components/ui/native-select2.vue.js +4 -0
- package/dist/components/ui/sheet.vue.d.ts +31 -0
- package/dist/components/ui/sheet.vue.js +109 -0
- package/dist/components/ui/sheet2.vue.js +4 -0
- package/dist/components/ui/sidebar/index.d.ts +11 -0
- package/dist/components/ui/sidebar/sidebar-context.d.ts +42 -0
- package/dist/components/ui/sidebar/sidebar-context.js +17 -0
- package/dist/components/ui/sidebar/sidebar-menu-button.vue.d.ts +30 -0
- package/dist/components/ui/sidebar/sidebar-menu-button.vue.js +38 -0
- package/dist/components/ui/sidebar/sidebar-menu-button2.vue.js +4 -0
- package/dist/components/ui/sidebar/sidebar-parts.d.ts +22 -0
- package/dist/components/ui/sidebar/sidebar-parts.js +62 -0
- package/dist/components/ui/sidebar/sidebar-provider.vue.d.ts +18 -0
- package/dist/components/ui/sidebar/sidebar-provider.vue.js +59 -0
- package/dist/components/ui/sidebar/sidebar-provider2.vue.js +4 -0
- package/dist/components/ui/sidebar/sidebar-trigger.vue.d.ts +2 -0
- package/dist/components/ui/sidebar/sidebar-trigger.vue.js +46 -0
- package/dist/components/ui/sidebar/sidebar-trigger2.vue.js +4 -0
- package/dist/components/ui/sidebar/sidebar.vue.d.ts +26 -0
- package/dist/components/ui/sidebar/sidebar.vue.js +91 -0
- package/dist/components/ui/sidebar/sidebar2.vue.js +4 -0
- package/dist/components/ui/sidebar/use-is-mobile.d.ts +8 -0
- package/dist/components/ui/sidebar/use-is-mobile.js +20 -0
- package/dist/components/ui/skeleton.vue.d.ts +5 -0
- package/dist/components/ui/skeleton.vue.js +20 -0
- package/dist/components/ui/skeleton2.vue.js +4 -0
- package/dist/components/ui/spinner.vue.d.ts +5 -0
- package/dist/components/ui/spinner.vue.js +4 -0
- package/dist/components/ui/spinner2.vue.js +32 -0
- package/dist/components/ui/switch.vue.d.ts +13 -0
- package/dist/components/ui/switch.vue.js +54 -0
- package/dist/components/ui/switch2.vue.js +4 -0
- package/dist/components/ui/table.d.ts +97 -0
- package/dist/components/ui/table.js +70 -0
- package/dist/components/ui/textarea.vue.d.ts +20 -0
- package/dist/components/ui/textarea.vue.js +49 -0
- package/dist/components/ui/textarea2.vue.js +4 -0
- package/dist/context.d.ts +68 -0
- package/dist/context.js +51 -0
- package/dist/controllers/controller-context.d.ts +15 -0
- package/dist/controllers/controller-context.js +13 -0
- package/dist/controllers/index.d.ts +19 -0
- package/dist/controllers/use-controller-for-id.d.ts +26 -0
- package/dist/controllers/use-controller-for-id.js +39 -0
- package/dist/controllers/use-create-controller.d.ts +22 -0
- package/dist/controllers/use-create-controller.js +25 -0
- package/dist/controllers/use-delete-controller.d.ts +20 -0
- package/dist/controllers/use-delete-controller.js +23 -0
- package/dist/controllers/use-edit-controller.d.ts +29 -0
- package/dist/controllers/use-edit-controller.js +40 -0
- package/dist/controllers/use-infinite-list-controller.d.ts +25 -0
- package/dist/controllers/use-infinite-list-controller.js +51 -0
- package/dist/controllers/use-list-controller.d.ts +50 -0
- package/dist/controllers/use-list-controller.js +72 -0
- package/dist/controllers/use-prev-next-controller.d.ts +35 -0
- package/dist/controllers/use-prev-next-controller.js +75 -0
- package/dist/controllers/use-reference-many-field-controller.d.ts +46 -0
- package/dist/controllers/use-reference-many-field-controller.js +63 -0
- package/dist/controllers/use-reference-one-field-controller.d.ts +36 -0
- package/dist/controllers/use-reference-one-field-controller.js +36 -0
- package/dist/controllers/use-show-controller.d.ts +25 -0
- package/dist/controllers/use-show-controller.js +38 -0
- package/dist/csv-import.d.ts +2 -0
- package/dist/csv-import.js +6 -0
- package/dist/data/create-chelone-hooks.d.ts +170 -0
- package/dist/data/create-chelone-hooks.js +19 -0
- package/dist/data/infinite-queries.d.ts +13 -0
- package/dist/data/infinite-queries.js +17 -0
- package/dist/data/mutations.d.ts +202 -0
- package/dist/data/mutations.js +117 -0
- package/dist/data/queries.d.ts +49 -0
- package/dist/data/queries.js +56 -0
- package/dist/data/undoable.d.ts +56 -0
- package/dist/data/undoable.js +41 -0
- package/dist/data/use-check-for-application-update.d.ts +28 -0
- package/dist/data/use-check-for-application-update.js +41 -0
- package/dist/data/use-is-offline.d.ts +12 -0
- package/dist/data/use-is-offline.js +11 -0
- package/dist/data/use-refresh.d.ts +21 -0
- package/dist/data/use-refresh.js +17 -0
- package/dist/form/field-error.d.ts +11 -0
- package/dist/form/field-error.js +20 -0
- package/dist/form/form-context.d.ts +58 -0
- package/dist/form/form-context.js +44 -0
- package/dist/form/form-group-provider.vue.d.ts +14 -0
- package/dist/form/form-group-provider.vue.js +18 -0
- package/dist/form/form-group-provider2.vue.js +4 -0
- package/dist/form/form-groups-provider.vue.d.ts +15 -0
- package/dist/form/form-groups-provider.vue.js +18 -0
- package/dist/form/form-groups-provider2.vue.js +4 -0
- package/dist/form/form-groups.d.ts +44 -0
- package/dist/form/form-groups.js +128 -0
- package/dist/form/form-scope.d.ts +36 -0
- package/dist/form/form-scope.js +32 -0
- package/dist/form/index.d.ts +29 -0
- package/dist/form/splat-base.d.ts +9 -0
- package/dist/form/splat-base.js +19 -0
- package/dist/form/subscribe-ref.d.ts +56 -0
- package/dist/form/subscribe-ref.js +17 -0
- package/dist/form/tabbed-form-context.d.ts +22 -0
- package/dist/form/tabbed-form-context.js +21 -0
- package/dist/form/tabbed-form-header.vue.d.ts +10 -0
- package/dist/form/tabbed-form-header.vue.js +53 -0
- package/dist/form/tabbed-form-header2.vue.js +4 -0
- package/dist/form/tabbed-form-tab.vue.d.ts +21 -0
- package/dist/form/tabbed-form-tab.vue.js +33 -0
- package/dist/form/tabbed-form-tab2.vue.js +4 -0
- package/dist/form/tabbed-form.vue.d.ts +30 -0
- package/dist/form/tabbed-form.vue.js +118 -0
- package/dist/form/tabbed-form2.vue.js +4 -0
- package/dist/form/use-form.d.ts +78 -0
- package/dist/form/use-form.js +44 -0
- package/dist/form/use-input.d.ts +60 -0
- package/dist/form/use-input.js +45 -0
- package/dist/form/use-warn-when-unsaved-changes.d.ts +25 -0
- package/dist/form/use-warn-when-unsaved-changes.js +78 -0
- package/dist/form/use-wizard-form.d.ts +39 -0
- package/dist/form/use-wizard-form.js +54 -0
- package/dist/form/wizard-form-shell.vue.d.ts +14 -0
- package/dist/form/wizard-form-shell.vue.js +40 -0
- package/dist/form/wizard-form-shell2.vue.js +4 -0
- package/dist/form/wizard-form-step.vue.d.ts +14 -0
- package/dist/form/wizard-form-step.vue.js +27 -0
- package/dist/form/wizard-form-step2.vue.js +4 -0
- package/dist/form/wizard-form.vue.d.ts +22 -0
- package/dist/form/wizard-form.vue.js +57 -0
- package/dist/form/wizard-form2.vue.js +4 -0
- package/dist/i18n/use-locale.d.ts +32 -0
- package/dist/i18n/use-locale.js +41 -0
- package/dist/i18n/use-translatable.d.ts +34 -0
- package/dist/i18n/use-translatable.js +69 -0
- package/dist/i18n/use-translate.d.ts +18 -0
- package/dist/i18n/use-translate.js +19 -0
- package/dist/index.d.ts +85 -0
- package/dist/index.js +783 -0
- package/dist/label/inflection.d.ts +25 -0
- package/dist/label/inflection.js +51 -0
- package/dist/label/use-get-record-representation.d.ts +19 -0
- package/dist/label/use-get-record-representation.js +44 -0
- package/dist/label/use-get-resource-label.d.ts +14 -0
- package/dist/label/use-get-resource-label.js +14 -0
- package/dist/label/use-translate-label.d.ts +39 -0
- package/dist/label/use-translate-label.js +48 -0
- package/dist/lib/are-ids-equal.d.ts +7 -0
- package/dist/lib/are-ids-equal.js +8 -0
- package/dist/lib/shallow-equal.d.ts +15 -0
- package/dist/lib/shallow-equal.js +27 -0
- package/dist/lib/utils.d.ts +12 -0
- package/dist/lib/utils.js +16 -0
- package/dist/list/infinite-list-context.d.ts +8 -0
- package/dist/list/infinite-list-context.js +17 -0
- package/dist/list/list-context.d.ts +24 -0
- package/dist/list/list-context.js +19 -0
- package/dist/list/use-data-table-columns.d.ts +30 -0
- package/dist/list/use-data-table-columns.js +69 -0
- package/dist/list/use-list.d.ts +50 -0
- package/dist/list/use-list.js +59 -0
- package/dist/maps-draw.d.ts +7 -0
- package/dist/maps-draw.js +28 -0
- package/dist/maps-osm.d.ts +10 -0
- package/dist/maps-osm.js +25 -0
- package/dist/maps.d.ts +10 -0
- package/dist/maps.js +34 -0
- package/dist/mdx-editor.d.ts +2 -0
- package/dist/mdx-editor.js +6 -0
- package/dist/monaco.d.ts +2 -0
- package/dist/monaco.js +6 -0
- package/dist/notification-hooks.d.ts +20 -0
- package/dist/notification-hooks.js +27 -0
- package/dist/realtime/live.d.ts +13 -0
- package/dist/realtime/live.js +44 -0
- package/dist/realtime/locks.d.ts +55 -0
- package/dist/realtime/locks.js +163 -0
- package/dist/realtime/presence.d.ts +23 -0
- package/dist/realtime/presence.js +65 -0
- package/dist/realtime/subscribe.d.ts +28 -0
- package/dist/realtime/subscribe.js +58 -0
- package/dist/record/record-context.d.ts +42 -0
- package/dist/record/record-context.js +18 -0
- package/dist/record/use-field-value.d.ts +32 -0
- package/dist/record/use-field-value.js +32 -0
- package/dist/resource-context.d.ts +41 -0
- package/dist/resource-context.js +25 -0
- package/dist/router/adapter.d.ts +118 -0
- package/dist/router/adapter.js +27 -0
- package/dist/router/index.d.ts +13 -0
- package/dist/router/nav-composables.d.ts +73 -0
- package/dist/router/nav-composables.js +64 -0
- package/dist/router/use-get-path-for-record.d.ts +28 -0
- package/dist/router/use-get-path-for-record.js +55 -0
- package/dist/router/vue-router-adapter.d.ts +40 -0
- package/dist/router/vue-router-adapter.js +143 -0
- package/dist/store/use-micro-store.d.ts +42 -0
- package/dist/store/use-micro-store.js +41 -0
- package/dist/store/use-saved-queries.d.ts +20 -0
- package/dist/store/use-saved-queries.js +20 -0
- package/dist/store/use-store-item.d.ts +12 -0
- package/dist/store/use-store-item.js +18 -0
- package/dist/supabase.d.ts +8 -0
- package/dist/supabase.js +35 -0
- package/package.json +161 -3
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { OsmPresetName, OsmTagInput, OverpassProvider } from "@chelone/core";
|
|
2
|
+
/** Props for {@link OsmFeatureOperator}. */
|
|
3
|
+
export interface OsmFeatureOperatorProps {
|
|
4
|
+
/** The form field holding the Polygon or MultiPolygon. */
|
|
5
|
+
source: string;
|
|
6
|
+
/** `subtract` removes the matching OSM areas from the polygon; `add` merges them in. */
|
|
7
|
+
mode: "subtract" | "add";
|
|
8
|
+
/** Named OSM feature sets to query, such as `water`. */
|
|
9
|
+
presets?: readonly OsmPresetName[];
|
|
10
|
+
/** Extra Overpass tag filters, such as `natural=wood`. */
|
|
11
|
+
tags?: readonly OsmTagInput[];
|
|
12
|
+
/** The button text, translated. Defaults to the mode's message. */
|
|
13
|
+
label?: string;
|
|
14
|
+
/** Defaults to the `overpass` of `MapsProvider`. One of the two is required. */
|
|
15
|
+
provider?: OverpassProvider;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
class?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<OsmFeatureOperatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OsmFeatureOperatorProps> & Readonly<{}>, {
|
|
20
|
+
label: string;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
provider: OverpassProvider;
|
|
23
|
+
presets: readonly OsmPresetName[];
|
|
24
|
+
tags: readonly OsmTagInput[];
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
26
|
+
icon?: (props: {}) => any;
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { defineComponent, ref, onBeforeUnmount, openBlock, createBlock, normalizeClass, withCtx, renderSlot, createTextVNode, toDisplayString, unref, toRaw } from "vue";
|
|
2
|
+
import { geoBounds, areaInTypeOf, geoAreaM2, OverpassRateLimitError } from "@chelone/core";
|
|
3
|
+
import { useQueryClient } from "@tanstack/vue-query";
|
|
4
|
+
import { useInput } from "../../form/use-input.js";
|
|
5
|
+
import { useTranslate } from "../../i18n/use-translate.js";
|
|
6
|
+
import { useNotify } from "../../notification-hooks.js";
|
|
7
|
+
import { useMapsConfig } from "../maps/use-map.js";
|
|
8
|
+
import _sfc_main$1 from "../ui/button.vue.js";
|
|
9
|
+
import _sfc_main$2 from "../ui/spinner2.vue.js";
|
|
10
|
+
import { fetchOsmFeatures } from "./osm-features.js";
|
|
11
|
+
import { subtractMask, unionAll } from "./osm-geometry-ops.js";
|
|
12
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
|
+
__name: "osm-feature-operator",
|
|
14
|
+
props: {
|
|
15
|
+
source: {},
|
|
16
|
+
mode: {},
|
|
17
|
+
presets: { default: void 0 },
|
|
18
|
+
tags: { default: void 0 },
|
|
19
|
+
label: { default: void 0 },
|
|
20
|
+
provider: { default: void 0 },
|
|
21
|
+
disabled: { type: Boolean, default: false },
|
|
22
|
+
class: {}
|
|
23
|
+
},
|
|
24
|
+
setup(__props) {
|
|
25
|
+
const props = __props;
|
|
26
|
+
const isArea = (value) => {
|
|
27
|
+
const type = value?.type;
|
|
28
|
+
return type === "Polygon" || type === "MultiPolygon";
|
|
29
|
+
};
|
|
30
|
+
const isAbort = (error) => error?.name === "AbortError";
|
|
31
|
+
const km2 = (m2) => `${(Math.max(0, m2) / 1e6).toFixed(3)} km²`;
|
|
32
|
+
const config = useMapsConfig();
|
|
33
|
+
if (!(props.provider ?? config.overpass)) {
|
|
34
|
+
throw new Error(
|
|
35
|
+
"OsmFeatureOperator needs an Overpass provider: pass the `provider` prop or set `overpass` on <MapsProvider>."
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
const translate = useTranslate();
|
|
39
|
+
const notify = useNotify();
|
|
40
|
+
const queryClient = useQueryClient();
|
|
41
|
+
const input = useInput({ source: props.source, format: (v) => v ?? null });
|
|
42
|
+
const running = ref(false);
|
|
43
|
+
let controller = null;
|
|
44
|
+
onBeforeUnmount(() => controller?.abort());
|
|
45
|
+
function write(geometry) {
|
|
46
|
+
input.setValue(geometry);
|
|
47
|
+
input.blur();
|
|
48
|
+
}
|
|
49
|
+
async function run() {
|
|
50
|
+
const provider = props.provider ?? config.overpass;
|
|
51
|
+
if (!provider) return;
|
|
52
|
+
const value = toRaw(input.value.value);
|
|
53
|
+
if ((props.presets?.length ?? 0) + (props.tags?.length ?? 0) === 0) {
|
|
54
|
+
notify("chelone.map.osm.no_sources", { type: "warning" });
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
if (!isArea(value)) {
|
|
58
|
+
notify("chelone.map.osm.no_polygon", { type: "warning" });
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
const abort = new AbortController();
|
|
62
|
+
controller = abort;
|
|
63
|
+
running.value = true;
|
|
64
|
+
try {
|
|
65
|
+
const found = await fetchOsmFeatures(
|
|
66
|
+
queryClient,
|
|
67
|
+
geoBounds(value),
|
|
68
|
+
{ presets: props.presets, tags: props.tags },
|
|
69
|
+
{ provider, signal: abort.signal }
|
|
70
|
+
);
|
|
71
|
+
if (abort.signal.aborted) return;
|
|
72
|
+
if (toRaw(input.value.value) !== value) return;
|
|
73
|
+
const matches = found?.features ?? [];
|
|
74
|
+
if (matches.length === 0) {
|
|
75
|
+
notify("chelone.map.osm.no_match", { type: "info" });
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
if (props.mode === "subtract") {
|
|
79
|
+
const left = subtractMask(value, matches);
|
|
80
|
+
if (left === null) {
|
|
81
|
+
write(null);
|
|
82
|
+
notify("chelone.map.osm.covered", { type: "warning" });
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
const kept2 = areaInTypeOf(value, left);
|
|
86
|
+
if (!kept2) {
|
|
87
|
+
notify("chelone.map.osm.would_split", { type: "warning" });
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
write(kept2);
|
|
91
|
+
notify("chelone.map.osm.subtracted", {
|
|
92
|
+
type: "success",
|
|
93
|
+
messageArgs: { area: km2(geoAreaM2(value) - geoAreaM2(kept2)) }
|
|
94
|
+
});
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
const merged = unionAll([
|
|
98
|
+
{ type: "Feature", properties: {}, geometry: value },
|
|
99
|
+
...matches
|
|
100
|
+
]);
|
|
101
|
+
if (merged === null) {
|
|
102
|
+
notify("chelone.map.osm.union_empty", { type: "warning" });
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
const kept = areaInTypeOf(value, merged);
|
|
106
|
+
if (!kept) {
|
|
107
|
+
notify("chelone.map.osm.would_split", { type: "warning" });
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
write(kept);
|
|
111
|
+
notify("chelone.map.osm.added", {
|
|
112
|
+
type: "success",
|
|
113
|
+
messageArgs: { area: km2(geoAreaM2(kept) - geoAreaM2(value)) }
|
|
114
|
+
});
|
|
115
|
+
} catch (error) {
|
|
116
|
+
if (abort.signal.aborted || isAbort(error)) return;
|
|
117
|
+
notify(
|
|
118
|
+
error instanceof OverpassRateLimitError ? "chelone.map.osm.rate_limited" : "chelone.map.osm.error",
|
|
119
|
+
{ type: "error" }
|
|
120
|
+
);
|
|
121
|
+
} finally {
|
|
122
|
+
if (controller === abort) {
|
|
123
|
+
controller = null;
|
|
124
|
+
if (!abort.signal.aborted) running.value = false;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
return (_ctx, _cache) => {
|
|
129
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
130
|
+
type: "button",
|
|
131
|
+
variant: "outline",
|
|
132
|
+
"data-slot": "osm-feature-operator",
|
|
133
|
+
class: normalizeClass(props.class),
|
|
134
|
+
disabled: props.disabled || running.value,
|
|
135
|
+
onClick: run
|
|
136
|
+
}, {
|
|
137
|
+
default: withCtx(() => [
|
|
138
|
+
running.value ? (openBlock(), createBlock(_sfc_main$2, { key: 0 })) : renderSlot(_ctx.$slots, "icon", { key: 1 }),
|
|
139
|
+
createTextVNode(" " + toDisplayString(unref(translate)(
|
|
140
|
+
props.label ?? (props.mode === "subtract" ? "chelone.map.osm.subtract" : "chelone.map.osm.add")
|
|
141
|
+
)), 1)
|
|
142
|
+
]),
|
|
143
|
+
_: 3
|
|
144
|
+
}, 8, ["class", "disabled"]);
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
export {
|
|
149
|
+
_sfc_main as default
|
|
150
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type OsmFeatureOperatorProps } from "./osm-feature-operator.vue.js";
|
|
2
|
+
export type OsmFeatureSubtractProps = Omit<OsmFeatureOperatorProps, "mode">;
|
|
3
|
+
export type OsmFeatureAddProps = Omit<OsmFeatureOperatorProps, "mode">;
|
|
4
|
+
/**
|
|
5
|
+
* Removes OpenStreetMap areas, such as water, from the polygon in a form field.
|
|
6
|
+
* The `icon` slot replaces the default icon.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* <OsmFeatureSubtract source="area" :presets="['water']" />
|
|
10
|
+
*/
|
|
11
|
+
export declare const OsmFeatureSubtract: import("vue").DefineSetupFnComponent<Omit<OsmFeatureOperatorProps, "mode">, {}, {}, Omit<OsmFeatureOperatorProps, "mode"> & {}, import("vue").PublicProps>;
|
|
12
|
+
/**
|
|
13
|
+
* Merges OpenStreetMap areas, such as buildings, into the polygon in a form field.
|
|
14
|
+
* The `icon` slot replaces the default icon.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* <OsmFeatureAdd source="area" :presets="['buildings']" />
|
|
18
|
+
*/
|
|
19
|
+
export declare const OsmFeatureAdd: import("vue").DefineSetupFnComponent<Omit<OsmFeatureOperatorProps, "mode">, {}, {}, Omit<OsmFeatureOperatorProps, "mode"> & {}, import("vue").PublicProps>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent, h } from "vue";
|
|
2
|
+
import _sfc_main from "./osm-feature-operator.vue.js";
|
|
3
|
+
const { mode: _mode, ...options } = _sfc_main.props;
|
|
4
|
+
const svg = (...paths) => h(
|
|
5
|
+
"svg",
|
|
6
|
+
{
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: "none",
|
|
9
|
+
stroke: "currentColor",
|
|
10
|
+
"stroke-width": 2,
|
|
11
|
+
"stroke-linecap": "round",
|
|
12
|
+
"stroke-linejoin": "round",
|
|
13
|
+
"aria-hidden": "true",
|
|
14
|
+
class: "size-4"
|
|
15
|
+
},
|
|
16
|
+
paths.map((d) => h("path", { d }))
|
|
17
|
+
);
|
|
18
|
+
const subtractIcon = () => svg(
|
|
19
|
+
"m7 21-4.3-4.3a1 1 0 0 1 0-1.4l9.6-9.6a1 1 0 0 1 1.4 0l5.6 5.6a1 1 0 0 1 0 1.4L13 21",
|
|
20
|
+
"M22 21H7",
|
|
21
|
+
"m5 11 9 9"
|
|
22
|
+
);
|
|
23
|
+
const addIcon = () => svg("M5 12h14", "M12 5v14");
|
|
24
|
+
function operator(name, mode, icon) {
|
|
25
|
+
return defineComponent(
|
|
26
|
+
(props, { slots }) => () => h(_sfc_main, { ...props, mode }, { icon: slots.icon ?? icon }),
|
|
27
|
+
{
|
|
28
|
+
name,
|
|
29
|
+
props: options
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
const OsmFeatureSubtract = operator(
|
|
34
|
+
"OsmFeatureSubtract",
|
|
35
|
+
"subtract",
|
|
36
|
+
subtractIcon
|
|
37
|
+
);
|
|
38
|
+
const OsmFeatureAdd = operator("OsmFeatureAdd", "add", addIcon);
|
|
39
|
+
export {
|
|
40
|
+
OsmFeatureAdd,
|
|
41
|
+
OsmFeatureSubtract
|
|
42
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type GeoBBox, type GeoFeatureCollection, type OsmPresetName, type OverpassProvider, type OverpassQuerySources } from "@chelone/core";
|
|
2
|
+
import type { QueryClient } from "@tanstack/vue-query";
|
|
3
|
+
/**
|
|
4
|
+
* Turns an Overpass JSON answer (from `out geom`) into Polygon and
|
|
5
|
+
* MultiPolygon features. Polygons pass through. A line is buffered only when
|
|
6
|
+
* `presets` names a preset with `bufferLinesMeters` that accepts its tags; any
|
|
7
|
+
* other line and every point is dropped.
|
|
8
|
+
*/
|
|
9
|
+
export declare function osmToPolygons(response: unknown, presets: readonly OsmPresetName[]): GeoFeatureCollection;
|
|
10
|
+
export interface FetchOsmFeaturesOptions {
|
|
11
|
+
provider: OverpassProvider;
|
|
12
|
+
/** Stops this call waiting; a request shared with another caller goes on. */
|
|
13
|
+
signal?: AbortSignal;
|
|
14
|
+
}
|
|
15
|
+
/** True when `sources` names at least one preset or tag. */
|
|
16
|
+
export declare function hasOsmSources(sources: OverpassQuerySources): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Queries Overpass for the features in `bbox` and converts them to polygons.
|
|
19
|
+
* The answer goes through `queryClient`, so the same query is cached. Resolves
|
|
20
|
+
* to `null`, without a request, for a null `bbox` or no presets and tags.
|
|
21
|
+
*/
|
|
22
|
+
export declare function fetchOsmFeatures(queryClient: QueryClient, bbox: GeoBBox | null, sources: OverpassQuerySources, { provider, signal }: FetchOsmFeaturesOptions): Promise<GeoFeatureCollection | null>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { buildOverpassQuery, overpassQueryOptions, OSM_PRESETS, findPresetForTags } from "@chelone/core";
|
|
2
|
+
import { buffer } from "@turf/buffer";
|
|
3
|
+
import osm2geojson from "osm2geojson-lite";
|
|
4
|
+
function isPolygon(feature) {
|
|
5
|
+
const type = feature.geometry?.type;
|
|
6
|
+
return type === "Polygon" || type === "MultiPolygon";
|
|
7
|
+
}
|
|
8
|
+
function osmToPolygons(response, presets) {
|
|
9
|
+
const converted = osm2geojson(response, {
|
|
10
|
+
completeFeature: true,
|
|
11
|
+
renderTagged: true
|
|
12
|
+
});
|
|
13
|
+
const bufferingPresets = presets.filter((name) => {
|
|
14
|
+
const preset = OSM_PRESETS[name];
|
|
15
|
+
return preset.bufferLinesMeters !== void 0;
|
|
16
|
+
});
|
|
17
|
+
const features = [];
|
|
18
|
+
for (const feature of converted.features) {
|
|
19
|
+
const type = feature.geometry?.type;
|
|
20
|
+
if (isPolygon(feature)) {
|
|
21
|
+
features.push(feature);
|
|
22
|
+
} else if (type === "LineString" || type === "MultiLineString") {
|
|
23
|
+
const meters = findPresetForTags(
|
|
24
|
+
feature.properties ?? {},
|
|
25
|
+
bufferingPresets
|
|
26
|
+
)?.bufferLinesMeters;
|
|
27
|
+
if (!meters) continue;
|
|
28
|
+
const buffered = buffer(feature, meters, {
|
|
29
|
+
units: "meters"
|
|
30
|
+
});
|
|
31
|
+
const geometry = buffered?.geometry;
|
|
32
|
+
if (geometry?.type === "Polygon" || geometry?.type === "MultiPolygon") {
|
|
33
|
+
features.push({
|
|
34
|
+
type: "Feature",
|
|
35
|
+
properties: feature.properties,
|
|
36
|
+
geometry
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return { type: "FeatureCollection", features };
|
|
42
|
+
}
|
|
43
|
+
function hasOsmSources(sources) {
|
|
44
|
+
return (sources.presets?.length ?? 0) + (sources.tags?.length ?? 0) > 0;
|
|
45
|
+
}
|
|
46
|
+
async function fetchOsmFeatures(queryClient, bbox, sources, { provider, signal }) {
|
|
47
|
+
if (!bbox || !hasOsmSources(sources)) return null;
|
|
48
|
+
const query = buildOverpassQuery(sources, bbox);
|
|
49
|
+
signal?.throwIfAborted();
|
|
50
|
+
const fetching = queryClient.fetchQuery(
|
|
51
|
+
overpassQueryOptions(provider, query)
|
|
52
|
+
);
|
|
53
|
+
const answer = await (signal ? abortable(fetching, signal) : fetching);
|
|
54
|
+
return osmToPolygons(answer, sources.presets ?? []);
|
|
55
|
+
}
|
|
56
|
+
function abortable(promise, signal) {
|
|
57
|
+
return new Promise((resolve, reject) => {
|
|
58
|
+
const onAbort = () => reject(signal.reason);
|
|
59
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
60
|
+
promise.then(resolve, reject).finally(() => signal.removeEventListener("abort", onAbort));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
export {
|
|
64
|
+
fetchOsmFeatures,
|
|
65
|
+
hasOsmSources,
|
|
66
|
+
osmToPolygons
|
|
67
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type GeoFeature, type GeoGeometry } from "@chelone/core";
|
|
2
|
+
type Area = Extract<GeoGeometry, {
|
|
3
|
+
type: "Polygon" | "MultiPolygon";
|
|
4
|
+
}>;
|
|
5
|
+
/**
|
|
6
|
+
* The union of the Polygon and MultiPolygon features as one geometry; other
|
|
7
|
+
* geometries are ignored. `null` when there is none. One feature comes back
|
|
8
|
+
* as its own geometry, without a turf call.
|
|
9
|
+
*/
|
|
10
|
+
export declare function unionAll(features: readonly GeoFeature[]): Area | null;
|
|
11
|
+
/**
|
|
12
|
+
* `input` minus every polygon in `mask`. An empty mask, or one that does not
|
|
13
|
+
* reach `input`, returns `input` itself; `null` when nothing of it is left.
|
|
14
|
+
*/
|
|
15
|
+
export declare function subtractMask(input: Area, mask: readonly GeoFeature[]): Area | null;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { geoAreaM2, geoBounds } from "@chelone/core";
|
|
2
|
+
import { difference } from "@turf/difference";
|
|
3
|
+
import { union } from "@turf/union";
|
|
4
|
+
function isArea(geometry) {
|
|
5
|
+
return geometry?.type === "Polygon" || geometry?.type === "MultiPolygon";
|
|
6
|
+
}
|
|
7
|
+
const asFeature = (geometry) => ({ type: "Feature", properties: {}, geometry });
|
|
8
|
+
function unionAll(features) {
|
|
9
|
+
const areas = features.map((f) => f.geometry).filter(isArea);
|
|
10
|
+
const [first, ...rest] = areas;
|
|
11
|
+
if (!first) return null;
|
|
12
|
+
if (rest.length === 0) return first;
|
|
13
|
+
const merged = union({
|
|
14
|
+
type: "FeatureCollection",
|
|
15
|
+
features: areas.map(asFeature)
|
|
16
|
+
});
|
|
17
|
+
return isArea(merged?.geometry) ? merged?.geometry : null;
|
|
18
|
+
}
|
|
19
|
+
function subtractMask(input, mask) {
|
|
20
|
+
const masked = unionAll(mask);
|
|
21
|
+
if (!masked) return input;
|
|
22
|
+
if (!boxesOverlap(input, masked)) return input;
|
|
23
|
+
const left = difference({
|
|
24
|
+
type: "FeatureCollection",
|
|
25
|
+
features: [asFeature(input), asFeature(masked)]
|
|
26
|
+
});
|
|
27
|
+
const geometry = left?.geometry;
|
|
28
|
+
if (!isArea(geometry) || geoAreaM2(geometry) <= 0) return null;
|
|
29
|
+
return geometry;
|
|
30
|
+
}
|
|
31
|
+
function boxesOverlap(a, b) {
|
|
32
|
+
const boxA = geoBounds(a);
|
|
33
|
+
const boxB = geoBounds(b);
|
|
34
|
+
if (!boxA || !boxB) return true;
|
|
35
|
+
if (boxA[0] > boxA[2] || boxB[0] > boxB[2]) return true;
|
|
36
|
+
return boxA[0] <= boxB[2] && boxB[0] <= boxA[2] && boxA[1] <= boxB[3] && boxB[1] <= boxA[3];
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
subtractMask,
|
|
40
|
+
unionAll
|
|
41
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { GeocodingProvider } from "@chelone/core";
|
|
2
|
+
/** Props for {@link ReverseGeocodeField}. */
|
|
3
|
+
export interface ReverseGeocodeFieldProps {
|
|
4
|
+
/** The record property holding the latitude. */
|
|
5
|
+
latSource: string;
|
|
6
|
+
/** The record property holding the longitude. */
|
|
7
|
+
lngSource: string;
|
|
8
|
+
/** Defaults to the ambient record. */
|
|
9
|
+
record?: Record<string, unknown>;
|
|
10
|
+
/** `full` is the whole name, `street` its first part and `city` its first two. Defaults to `full`. */
|
|
11
|
+
format?: "full" | "street" | "city";
|
|
12
|
+
/** Defaults to the `geocoder` of `MapsProvider`. One of the two is required. */
|
|
13
|
+
provider?: GeocodingProvider;
|
|
14
|
+
class?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: import("vue").DefineComponent<ReverseGeocodeFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ReverseGeocodeFieldProps> & Readonly<{}>, {
|
|
17
|
+
record: Record<string, unknown>;
|
|
18
|
+
format: "full" | "street" | "city";
|
|
19
|
+
provider: GeocodingProvider;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
+
import { toCoordinate } from "@chelone/core";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
|
+
import { useFieldValue } from "../../record/use-field-value.js";
|
|
5
|
+
import _sfc_main$1 from "../ui/skeleton.vue.js";
|
|
6
|
+
import { useReverseGeocode } from "./use-reverse-geocode.js";
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "reverse-geocode-field",
|
|
9
|
+
props: {
|
|
10
|
+
latSource: {},
|
|
11
|
+
lngSource: {},
|
|
12
|
+
record: { default: void 0 },
|
|
13
|
+
format: { default: "full" },
|
|
14
|
+
provider: { default: void 0 },
|
|
15
|
+
class: {}
|
|
16
|
+
},
|
|
17
|
+
setup(__props) {
|
|
18
|
+
const props = __props;
|
|
19
|
+
const latValue = useFieldValue({
|
|
20
|
+
source: props.latSource,
|
|
21
|
+
record: props.record
|
|
22
|
+
});
|
|
23
|
+
const lngValue = useFieldValue({
|
|
24
|
+
source: props.lngSource,
|
|
25
|
+
record: props.record
|
|
26
|
+
});
|
|
27
|
+
const lat = computed(() => toCoordinate(latValue.value));
|
|
28
|
+
const lng = computed(() => toCoordinate(lngValue.value));
|
|
29
|
+
const found = useReverseGeocode(
|
|
30
|
+
() => ({
|
|
31
|
+
lat: lat.value ?? Number.NaN,
|
|
32
|
+
lng: lng.value ?? Number.NaN
|
|
33
|
+
}),
|
|
34
|
+
{ provider: props.provider }
|
|
35
|
+
);
|
|
36
|
+
const text = computed(() => {
|
|
37
|
+
const name = found.data.value?.displayName;
|
|
38
|
+
if (name === void 0) {
|
|
39
|
+
return `${lat.value?.toFixed(4)}, ${lng.value?.toFixed(4)}`;
|
|
40
|
+
}
|
|
41
|
+
if (props.format === "full") return name;
|
|
42
|
+
const parts = name.split(",").map((part) => part.trim());
|
|
43
|
+
return parts.slice(0, props.format === "street" ? 1 : 2).join(", ");
|
|
44
|
+
});
|
|
45
|
+
return (_ctx, _cache) => {
|
|
46
|
+
return lat.value !== null && lng.value !== null ? (openBlock(), createElementBlock("span", {
|
|
47
|
+
key: 0,
|
|
48
|
+
"data-slot": "reverse-geocode-field",
|
|
49
|
+
class: normalizeClass(unref(cn)("text-sm", props.class))
|
|
50
|
+
}, [
|
|
51
|
+
unref(found).isPending.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
52
|
+
key: 0,
|
|
53
|
+
class: "inline-block h-4 w-40 align-middle"
|
|
54
|
+
})) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
55
|
+
createTextVNode(toDisplayString(text.value), 1)
|
|
56
|
+
], 64))
|
|
57
|
+
], 2)) : createCommentVNode("", true);
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
export {
|
|
62
|
+
_sfc_main as default
|
|
63
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type GeoBBox, type GeocodeResult, type GeocodingProvider } from "@chelone/core";
|
|
2
|
+
import { type MaybeRefOrGetter } from "vue";
|
|
3
|
+
export interface UseGeocodeOptions {
|
|
4
|
+
/** Defaults to the `geocoder` of `MapsProvider`. One of the two is required. */
|
|
5
|
+
provider?: GeocodingProvider;
|
|
6
|
+
/** Shortest trimmed query that searches. Defaults to 3. */
|
|
7
|
+
minChars?: number;
|
|
8
|
+
/** Wait this long after the last change of `query` before searching. Defaults to 0. */
|
|
9
|
+
debounceMs?: number;
|
|
10
|
+
/** `false` stops the search whatever the query. */
|
|
11
|
+
enabled?: boolean;
|
|
12
|
+
/** ISO 3166-1 alpha-2 codes to restrict the search to. */
|
|
13
|
+
countryCodes?: string[];
|
|
14
|
+
/** `[west, south, east, north]` to favour or restrict hits to. */
|
|
15
|
+
viewBox?: GeoBBox;
|
|
16
|
+
limit?: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Searches `query` with a geocoding provider. Nothing runs until the trimmed
|
|
20
|
+
* query reaches `minChars`. The query's abort signal reaches the provider, so a
|
|
21
|
+
* newer query cancels the older request.
|
|
22
|
+
*
|
|
23
|
+
* Needs a provider, from the `provider` option or `MapsProvider`'s `geocoder`;
|
|
24
|
+
* with neither it throws.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* const { data, isFetching } = useGeocode(text, { provider, debounceMs: 300 });
|
|
28
|
+
*/
|
|
29
|
+
export declare function useGeocode(query: MaybeRefOrGetter<string>, options?: MaybeRefOrGetter<UseGeocodeOptions>): import("@tanstack/vue-query").UseQueryReturnType<GeocodeResult[], Error>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { geocodeQueryOptions } from "@chelone/core";
|
|
2
|
+
import { useQuery } from "@tanstack/vue-query";
|
|
3
|
+
import { computed, toValue, ref, watch, onScopeDispose } from "vue";
|
|
4
|
+
import { useMapsConfig } from "../maps/use-map.js";
|
|
5
|
+
function useDebounced(source, delayMs) {
|
|
6
|
+
const settled = ref(source());
|
|
7
|
+
let timer;
|
|
8
|
+
watch([source, delayMs], ([value, delay]) => {
|
|
9
|
+
clearTimeout(timer);
|
|
10
|
+
if (delay <= 0) return;
|
|
11
|
+
timer = setTimeout(() => {
|
|
12
|
+
settled.value = value;
|
|
13
|
+
}, delay);
|
|
14
|
+
});
|
|
15
|
+
onScopeDispose(() => clearTimeout(timer));
|
|
16
|
+
return () => delayMs() <= 0 ? source() : settled.value;
|
|
17
|
+
}
|
|
18
|
+
function useGeocode(query, options = {}) {
|
|
19
|
+
const config = useMapsConfig();
|
|
20
|
+
const resolve = () => toValue(options).provider ?? config.geocoder;
|
|
21
|
+
if (!resolve()) {
|
|
22
|
+
throw new Error(
|
|
23
|
+
"useGeocode needs a geocoding provider: pass the `provider` option or set `geocoder` on <MapsProvider>."
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
const settled = useDebounced(
|
|
27
|
+
() => toValue(query),
|
|
28
|
+
() => toValue(options).debounceMs ?? 0
|
|
29
|
+
);
|
|
30
|
+
const request = computed(() => {
|
|
31
|
+
const { minChars, countryCodes, viewBox, limit, enabled } = toValue(options);
|
|
32
|
+
const provider = resolve();
|
|
33
|
+
if (!provider) throw new Error("useGeocode lost its geocoding provider.");
|
|
34
|
+
const base = geocodeQueryOptions(provider, settled(), {
|
|
35
|
+
minChars,
|
|
36
|
+
countryCodes,
|
|
37
|
+
viewBox,
|
|
38
|
+
limit
|
|
39
|
+
});
|
|
40
|
+
return { ...base, enabled: (enabled ?? true) && base.enabled };
|
|
41
|
+
});
|
|
42
|
+
return useQuery(request);
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
useGeocode
|
|
46
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type GeoBBox, type GeoFeatureCollection, type OverpassProvider, type OverpassQuerySources } from "@chelone/core";
|
|
2
|
+
import { type MaybeRefOrGetter } from "vue";
|
|
3
|
+
export interface UseOsmFeaturesOptions {
|
|
4
|
+
/** Defaults to the `overpass` of `MapsProvider`. One of the two is required. */
|
|
5
|
+
provider?: OverpassProvider;
|
|
6
|
+
/** `false` stops the query whatever the box. */
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
/** Defaults to 1 hour. */
|
|
9
|
+
staleTime?: number;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The polygons of the OpenStreetMap features in `bbox`: an Overpass query, its
|
|
13
|
+
* answer converted by `osmToPolygons`. Idle while `bbox` is null or `sources`
|
|
14
|
+
* names no preset and no tag. `bbox` and `sources` may be refs or getters.
|
|
15
|
+
*
|
|
16
|
+
* Needs a provider, from the `provider` option or `MapsProvider`'s `overpass`;
|
|
17
|
+
* with neither it throws.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* const { data } = useOsmFeatures(bbox, { presets: ["water"] }, { provider });
|
|
21
|
+
*/
|
|
22
|
+
export declare function useOsmFeatures(bbox: MaybeRefOrGetter<GeoBBox | null>, sources: MaybeRefOrGetter<OverpassQuerySources>, options?: UseOsmFeaturesOptions): import("@tanstack/vue-query").UseQueryReturnType<GeoFeatureCollection, Error>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { overpassQueryOptions, buildOverpassQuery } from "@chelone/core";
|
|
2
|
+
import { useQuery } from "@tanstack/vue-query";
|
|
3
|
+
import { computed, toValue } from "vue";
|
|
4
|
+
import { useMapsConfig } from "../maps/use-map.js";
|
|
5
|
+
import { hasOsmSources, osmToPolygons } from "./osm-features.js";
|
|
6
|
+
function useOsmFeatures(bbox, sources, options = {}) {
|
|
7
|
+
const config = useMapsConfig();
|
|
8
|
+
const resolve = () => options.provider ?? config.overpass;
|
|
9
|
+
if (!resolve()) {
|
|
10
|
+
throw new Error(
|
|
11
|
+
"useOsmFeatures needs an Overpass provider: pass the `provider` option or set `overpass` on <MapsProvider>."
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
const request = computed(() => {
|
|
15
|
+
const provider = resolve();
|
|
16
|
+
if (!provider)
|
|
17
|
+
throw new Error("useOsmFeatures lost its Overpass provider.");
|
|
18
|
+
const box = toValue(bbox);
|
|
19
|
+
const wanted = toValue(sources);
|
|
20
|
+
const active = box !== null && hasOsmSources(wanted);
|
|
21
|
+
const base = overpassQueryOptions(
|
|
22
|
+
provider,
|
|
23
|
+
active ? buildOverpassQuery(wanted, box) : "",
|
|
24
|
+
{ staleTime: options.staleTime }
|
|
25
|
+
);
|
|
26
|
+
const presets = wanted.presets ?? [];
|
|
27
|
+
return {
|
|
28
|
+
...base,
|
|
29
|
+
enabled: (options.enabled ?? true) && active && base.enabled,
|
|
30
|
+
select: (answer) => osmToPolygons(answer, presets)
|
|
31
|
+
};
|
|
32
|
+
});
|
|
33
|
+
return useQuery(request);
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
useOsmFeatures
|
|
37
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type GeocodeResult, type GeocodingProvider } from "@chelone/core";
|
|
2
|
+
import { type MaybeRefOrGetter } from "vue";
|
|
3
|
+
export interface UseReverseGeocodeOptions {
|
|
4
|
+
/** Defaults to the `geocoder` of `MapsProvider`. One of the two is required. */
|
|
5
|
+
provider?: GeocodingProvider;
|
|
6
|
+
/** `false` stops the lookup whatever the position. */
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Names a position with a geocoding provider. Nothing runs until `lat` and
|
|
11
|
+
* `lng` are both finite numbers. The result is `null` when the provider knows
|
|
12
|
+
* no place there. The query's abort signal reaches the provider. `position` may
|
|
13
|
+
* be a ref or a getter.
|
|
14
|
+
*
|
|
15
|
+
* Needs a provider, from the `provider` option or `MapsProvider`'s `geocoder`;
|
|
16
|
+
* with neither it throws.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* const { data } = useReverseGeocode(() => ({ lat: lat.value, lng: lng.value }), { provider });
|
|
20
|
+
*/
|
|
21
|
+
export declare function useReverseGeocode(position: MaybeRefOrGetter<{
|
|
22
|
+
lat: number;
|
|
23
|
+
lng: number;
|
|
24
|
+
}>, options?: UseReverseGeocodeOptions): import("@tanstack/vue-query").UseQueryReturnType<GeocodeResult | null, Error>;
|