@chelone/vue 0.0.0-stage → 0.1.1
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 +235 -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 +32 -0
- package/dist/components/ui/spinner2.vue.js +4 -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 +40 -0
- package/dist/controllers/use-list-controller.d.ts +50 -0
- package/dist/controllers/use-list-controller.js +62 -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 +484 -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 +521 -0
- package/dist/data/mutations.js +127 -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 +48 -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,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `RecordContext` — the ambient CURRENT RECORD that record-scoped components
|
|
3
|
+
* (every field, a reference resolution, an iterator row) read to know which
|
|
4
|
+
* record they render. The Vue twin of `@chelone/react`'s
|
|
5
|
+
* `record/record-context.tsx` (`RecordContext` + `useRecordContext`).
|
|
6
|
+
*
|
|
7
|
+
* Idiom translation from the React twin: React threads the record through a
|
|
8
|
+
* `createContext` provider read with `useContext`. Vue `provide`s the record
|
|
9
|
+
* (a `Ref` so it stays reactive as a controller resolves it) under a typed
|
|
10
|
+
* `InjectionKey` and reads it with `inject`. A `record` prop always overrides
|
|
11
|
+
* the ambient value (parity with ra-core's `useRecordContext`), so a component
|
|
12
|
+
* can render a different record inline without a nested provider.
|
|
13
|
+
*
|
|
14
|
+
* The provided value is a `Ref<RecordValue>` (not a bare record): a DataTable
|
|
15
|
+
* row / an Edit view publishes a record that arrives asynchronously, and
|
|
16
|
+
* downstream fields must re-render when it lands. `useRecordContext` unwraps to
|
|
17
|
+
* the current value (a plain read) so field code never juggles refs.
|
|
18
|
+
*/
|
|
19
|
+
import type { LooseRecord } from "@chelone/core";
|
|
20
|
+
import { type InjectionKey, type Ref } from "vue";
|
|
21
|
+
/** A record in scope, or `undefined` when none is (mirrors ra-core's union). */
|
|
22
|
+
export type RecordValue<RecordType = LooseRecord> = RecordType | undefined;
|
|
23
|
+
/** The provide/inject key for the ambient record (a reactive ref). */
|
|
24
|
+
export declare const RecordContextKey: InjectionKey<Ref<RecordValue>>;
|
|
25
|
+
/**
|
|
26
|
+
* Provide the ambient record to the subtree. Accepts a bare record or a `Ref`
|
|
27
|
+
* (a controller's reactive record); a bare value is wrapped so the contract is
|
|
28
|
+
* uniform. Mirrors ra-core: an absent record still provides (an `undefined`
|
|
29
|
+
* ref) — a nested field reads `undefined` and renders its empty state.
|
|
30
|
+
*/
|
|
31
|
+
export declare function provideRecordContext<RecordType = LooseRecord>(record: RecordValue<RecordType> | Ref<RecordValue<RecordType>>): void;
|
|
32
|
+
/** Options a record-scoped composable accepts to override the ambient record. */
|
|
33
|
+
export interface UseRecordContextOptions<RecordType = LooseRecord> {
|
|
34
|
+
/** Target a specific record; wins over the ambient one. */
|
|
35
|
+
record?: RecordValue<RecordType>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Read the ambient record's current value. A `record` prop always wins over the
|
|
39
|
+
* injected ref (parity: ra-core's `useRecordContext`). Returns `undefined` when
|
|
40
|
+
* neither a prop nor an ancestor provider supplies one.
|
|
41
|
+
*/
|
|
42
|
+
export declare function useRecordContext<RecordType = LooseRecord>(options?: UseRecordContextOptions<RecordType>): RecordValue<RecordType>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { isRef, ref, provide, inject } from "vue";
|
|
2
|
+
const RecordContextKey = /* @__PURE__ */ Symbol(
|
|
3
|
+
"chelone-record-context"
|
|
4
|
+
);
|
|
5
|
+
function provideRecordContext(record) {
|
|
6
|
+
const asRef = isRef(record) ? record : ref(record);
|
|
7
|
+
provide(RecordContextKey, asRef);
|
|
8
|
+
}
|
|
9
|
+
function useRecordContext(options) {
|
|
10
|
+
if (options?.record !== void 0) return options.record;
|
|
11
|
+
const injected = inject(RecordContextKey, null);
|
|
12
|
+
return injected?.value;
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
RecordContextKey,
|
|
16
|
+
provideRecordContext,
|
|
17
|
+
useRecordContext
|
|
18
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `useFieldValue({ source, record?, defaultValue? })` — read the value at a
|
|
3
|
+
* (possibly deep) `source` path off the ambient record. The Vue twin of
|
|
4
|
+
* `@chelone/react`'s `record/use-field-value.ts` (ra-core's `useFieldValue`,
|
|
5
|
+
* clean-room, zero-lodash). Returns a `ComputedRef` so a field re-renders when
|
|
6
|
+
* the ambient record resolves (React re-renders instead; Vue tracks the ref).
|
|
7
|
+
*
|
|
8
|
+
* Path semantics match `lodash/get`: dot members (`author.name`), bracket
|
|
9
|
+
* indices (`tags[1].label`), and numeric-dot indices (`tags.0.label`) resolve;
|
|
10
|
+
* `defaultValue` replaces ONLY a resolved `undefined`, never a present `null` /
|
|
11
|
+
* `0` / `false` / `""`. Reads from the RecordContext (NOT a source scope) on
|
|
12
|
+
* purpose — a field tracks the record, not the form's source prefix.
|
|
13
|
+
*/
|
|
14
|
+
import type { LooseRecord } from "@chelone/core";
|
|
15
|
+
import { type ComputedRef } from "vue";
|
|
16
|
+
import { type RecordValue } from "./record-context.js";
|
|
17
|
+
export interface UseFieldValueOptions<RecordType = LooseRecord> {
|
|
18
|
+
/** The field path — dot members and/or bracket/numeric indices. */
|
|
19
|
+
source: string;
|
|
20
|
+
/** Override the ambient record (a static record wins over the context ref). */
|
|
21
|
+
record?: RecordValue<RecordType>;
|
|
22
|
+
/** Returned only when the resolved value is `undefined`. */
|
|
23
|
+
defaultValue?: unknown;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The value at `source` off the ambient (or overridden) record, reactively.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* const name = useFieldValue({ source: "author.name" });
|
|
30
|
+
* // template: {{ name }}
|
|
31
|
+
*/
|
|
32
|
+
export declare function useFieldValue<RecordType = LooseRecord>(options: UseFieldValueOptions<RecordType>): ComputedRef<unknown>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { inject, computed } from "vue";
|
|
2
|
+
import { RecordContextKey } from "./record-context.js";
|
|
3
|
+
function toPathSegments(source) {
|
|
4
|
+
if (source === "") return [];
|
|
5
|
+
const segments = [];
|
|
6
|
+
const pattern = /\[([^\]]*)\]|[^.[\]]+/g;
|
|
7
|
+
let match = pattern.exec(source);
|
|
8
|
+
while (match !== null) {
|
|
9
|
+
segments.push(match[1] !== void 0 ? match[1] : match[0]);
|
|
10
|
+
match = pattern.exec(source);
|
|
11
|
+
}
|
|
12
|
+
return segments;
|
|
13
|
+
}
|
|
14
|
+
function getAtPath(record, source, defaultValue) {
|
|
15
|
+
let current = record;
|
|
16
|
+
for (const key of toPathSegments(source)) {
|
|
17
|
+
if (current == null || typeof current !== "object") return defaultValue;
|
|
18
|
+
current = current[key];
|
|
19
|
+
}
|
|
20
|
+
return current === void 0 ? defaultValue : current;
|
|
21
|
+
}
|
|
22
|
+
function useFieldValue(options) {
|
|
23
|
+
const { source, defaultValue } = options;
|
|
24
|
+
const injected = inject(RecordContextKey, null);
|
|
25
|
+
return computed(() => {
|
|
26
|
+
const record = options.record !== void 0 ? options.record : injected?.value;
|
|
27
|
+
return getAtPath(record, source, defaultValue);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
useFieldValue
|
|
32
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `ResourceContext` — the ambient resource NAME a resource-scoped composable
|
|
3
|
+
* reads to know which resource it belongs to. The Vue twin of
|
|
4
|
+
* `@chelone/react`'s `resource/resource-context.tsx` (`ResourceContext` +
|
|
5
|
+
* `useResourceContext`). Distinct from the registry (`resource-registry.ts`):
|
|
6
|
+
* this carries only the *current* name; the registry carries every mounted
|
|
7
|
+
* resource's definition.
|
|
8
|
+
*
|
|
9
|
+
* Idiom translation from the React twin: React threads the name through a
|
|
10
|
+
* `createContext` provider read with `useContext`. Vue `provide`s the name under
|
|
11
|
+
* a typed `InjectionKey` and reads it with `inject`. A `resource` option always
|
|
12
|
+
* overrides the ambient value (parity with ra-core's `useResourceContext`), so a
|
|
13
|
+
* composable can target a different resource without a nested provider.
|
|
14
|
+
*/
|
|
15
|
+
import { type InjectionKey } from "vue";
|
|
16
|
+
/** The provide/inject key for the ambient resource name. */
|
|
17
|
+
export declare const ResourceContextKey: InjectionKey<string>;
|
|
18
|
+
/**
|
|
19
|
+
* Provide the ambient resource name to the subtree (called by a `<Resource>`
|
|
20
|
+
* route view in a later wave). Mirrors ra-core: an empty name is NOT provided —
|
|
21
|
+
* pass a real resource name.
|
|
22
|
+
*/
|
|
23
|
+
export declare function provideResourceContext(name: string): void;
|
|
24
|
+
/** Options a resource-scoped composable accepts to override the ambient resource. */
|
|
25
|
+
export interface UseResourceContextOptions {
|
|
26
|
+
/** Target a specific resource; wins over the ambient `<Resource>` name. */
|
|
27
|
+
resource?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Read the ambient resource name. A `resource` option always wins over the
|
|
31
|
+
* injected value (parity: ra-core's `useResourceContext`), so a caller can
|
|
32
|
+
* target a specific resource inline. Returns `undefined` when neither an option
|
|
33
|
+
* nor an ancestor provider supplies one.
|
|
34
|
+
*/
|
|
35
|
+
export declare function useResourceContext(options?: UseResourceContextOptions): string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Read the required resource name, throwing a descriptive error when absent.
|
|
38
|
+
* The controller composables call this: a controller with no resource is a
|
|
39
|
+
* wiring bug (parity with the React views' explicit throw).
|
|
40
|
+
*/
|
|
41
|
+
export declare function useRequiredResource(composable: string, options?: UseResourceContextOptions): string;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { inject, provide } from "vue";
|
|
2
|
+
const ResourceContextKey = /* @__PURE__ */ Symbol(
|
|
3
|
+
"chelone-resource-context"
|
|
4
|
+
);
|
|
5
|
+
function provideResourceContext(name) {
|
|
6
|
+
provide(ResourceContextKey, name);
|
|
7
|
+
}
|
|
8
|
+
function useResourceContext(options) {
|
|
9
|
+
return options?.resource ?? inject(ResourceContextKey, void 0);
|
|
10
|
+
}
|
|
11
|
+
function useRequiredResource(composable, options) {
|
|
12
|
+
const resource = useResourceContext(options);
|
|
13
|
+
if (!resource) {
|
|
14
|
+
throw new Error(
|
|
15
|
+
`${composable}: no resource. Pass a \`resource\` option or render inside a <Resource>.`
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
return resource;
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
ResourceContextKey,
|
|
22
|
+
provideResourceContext,
|
|
23
|
+
useRequiredResource,
|
|
24
|
+
useResourceContext
|
|
25
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The declarative router contract `@chelone/vue` owns and injects — the Vue
|
|
3
|
+
* twin of `@chelone/react`'s `RouterAdapter` (`packages/react/src/router/
|
|
4
|
+
* adapter.tsx`). A `RouterAdapter` is the reactive subscribe seam the shell
|
|
5
|
+
* needs: the hooks that read the *current* location / params / match, plus a
|
|
6
|
+
* stable navigator and the pure `matchPath`. vue-router is the default adapter
|
|
7
|
+
* (`vueRouterAdapter`, `./vue-router-adapter`); a second Vue router stays a
|
|
8
|
+
* reference slot — both satisfy THIS interface, so the shell never sees a
|
|
9
|
+
* concrete router.
|
|
10
|
+
*
|
|
11
|
+
* The one decision that makes ONE interface cover both routers (mirrors the
|
|
12
|
+
* React port): `to` is a STRING and Chelone owns search-param serialization, so
|
|
13
|
+
* neither router's typed-search / typed-params generics leak here.
|
|
14
|
+
*
|
|
15
|
+
* Idiom translation from the React twin: React's adapter hooks return plain
|
|
16
|
+
* snapshots (`useLocation(): CheloneLocation`) and reactivity comes from React
|
|
17
|
+
* re-rendering. Vue has no render phase — reactivity is a graph — so the Vue
|
|
18
|
+
* adapter's readers return `ComputedRef<…>` derived from vue-router's reactive
|
|
19
|
+
* `useRoute()`. The navigator is a plain stable function (no `useCallback`
|
|
20
|
+
* churn to defend against, unlike react-router).
|
|
21
|
+
*/
|
|
22
|
+
import type { CheloneLocation, NavigateOpts, PathMatch } from "@chelone/core";
|
|
23
|
+
import { type ComputedRef, type InjectionKey, type Ref } from "vue";
|
|
24
|
+
/** The nav options a caller may pass. Mirrors the React twin's `AdapterNavigate`. */
|
|
25
|
+
export interface AdapterNavigateOpts {
|
|
26
|
+
replace?: boolean;
|
|
27
|
+
state?: NavigateOpts["state"];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* `useNavigate`'s returned navigator — a stable function. A string `to`
|
|
31
|
+
* pushes/replaces a path; a numeric `delta` moves through history.
|
|
32
|
+
*/
|
|
33
|
+
export interface AdapterNavigate {
|
|
34
|
+
(to: string, opts?: AdapterNavigateOpts): void;
|
|
35
|
+
(delta: number): void;
|
|
36
|
+
}
|
|
37
|
+
/** `useMatch` argument: a pattern string, optionally with an `end` toggle. */
|
|
38
|
+
export interface UseMatchArgs {
|
|
39
|
+
path: string;
|
|
40
|
+
end?: boolean;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* What `useBlocker` returns. The Vue twin of the React `RouterBlocker`, with
|
|
44
|
+
* `state` / `location` as readonly refs because Vue has no render phase to
|
|
45
|
+
* re-read a snapshot. `proceed` / `reset` are plain functions that do nothing
|
|
46
|
+
* unless `state` is `"blocked"`, so callers never guard on presence.
|
|
47
|
+
*/
|
|
48
|
+
export interface RouterBlocker {
|
|
49
|
+
state: Readonly<Ref<"blocked" | "unblocked" | "proceeding">>;
|
|
50
|
+
/** The pending target while `blocked` / `proceeding`; else `null`. */
|
|
51
|
+
location: Readonly<Ref<CheloneLocation | null>>;
|
|
52
|
+
/** Let the blocked navigation through. */
|
|
53
|
+
proceed: () => void;
|
|
54
|
+
/** Cancel the blocked navigation. */
|
|
55
|
+
reset: () => void;
|
|
56
|
+
}
|
|
57
|
+
/** What `useBlocker` accepts: a flag, a ref to one, or a predicate. */
|
|
58
|
+
export type ShouldBlock = boolean | Ref<boolean> | ((args: {
|
|
59
|
+
currentLocation: CheloneLocation;
|
|
60
|
+
nextLocation: CheloneLocation;
|
|
61
|
+
}) => boolean);
|
|
62
|
+
/**
|
|
63
|
+
* The reactive router contract. Every reader returns a `ComputedRef` so a
|
|
64
|
+
* component that consumes it updates when the route changes; the navigator and
|
|
65
|
+
* `matchPath` are plain (a function / a pure util). Implementing every member
|
|
66
|
+
* IS the whole contract — the shell depends only on this shape, never on
|
|
67
|
+
* vue-router directly.
|
|
68
|
+
*/
|
|
69
|
+
export interface RouterAdapter {
|
|
70
|
+
/** Current location as a framework-neutral `CheloneLocation`, reactively. */
|
|
71
|
+
useLocation(): ComputedRef<CheloneLocation>;
|
|
72
|
+
/** A stable navigator: a string path or a numeric history delta. */
|
|
73
|
+
useNavigate(): AdapterNavigate;
|
|
74
|
+
/** Current route params (splat joined under its catch-all key), reactively. */
|
|
75
|
+
useParams(): ComputedRef<Record<string, string | undefined>>;
|
|
76
|
+
/** Match the current pathname against a pattern, reactively. */
|
|
77
|
+
useMatch(pattern: string | UseMatchArgs): ComputedRef<PathMatch | null>;
|
|
78
|
+
/** Dependency-free path matcher (returns the neutral `PathMatch`). */
|
|
79
|
+
matchPath(pattern: string, pathname: string): PathMatch | null;
|
|
80
|
+
/**
|
|
81
|
+
* Hold a navigation while `shouldBlock`, until `proceed()` or `reset()`.
|
|
82
|
+
* Must run in a setup or effect scope: the guard goes with the scope.
|
|
83
|
+
*/
|
|
84
|
+
useBlocker(shouldBlock: ShouldBlock): RouterBlocker;
|
|
85
|
+
/** Whether the router can block navigation (drives `warnWhenUnsaved`). */
|
|
86
|
+
useCanBlock(): boolean;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The provide/inject key for the injected `RouterAdapter`. `<Admin>` (or a
|
|
90
|
+
* standalone `provideVueRouterAdapter()`) provides it; every routing composable
|
|
91
|
+
* reads it via {@link useRouterAdapter}. A typed `InjectionKey` keeps the
|
|
92
|
+
* inject site fully typed with no cast.
|
|
93
|
+
*/
|
|
94
|
+
export declare const RouterAdapterKey: InjectionKey<RouterAdapter>;
|
|
95
|
+
/**
|
|
96
|
+
* The provide/inject key for the app basename (default `''`). Consumed by
|
|
97
|
+
* {@link useBasename} → `useCreatePath` / `useRedirect`. `<Admin>` sets it when
|
|
98
|
+
* mounted under a host router with a basename; standalone it stays `''`.
|
|
99
|
+
*/
|
|
100
|
+
export declare const BasenameKey: InjectionKey<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Read the injected `RouterAdapter`. Throws if none is present — a routing
|
|
103
|
+
* composable used outside `<Admin>` / `provideVueRouterAdapter()` is a misuse
|
|
104
|
+
* that must fail loudly (parity with the React twin's `useRouterAdapter`).
|
|
105
|
+
* The null-tolerant path is {@link useRouterAdapterOptional}.
|
|
106
|
+
*/
|
|
107
|
+
export declare function useRouterAdapter(): RouterAdapter;
|
|
108
|
+
/**
|
|
109
|
+
* Null-tolerant read of the injected `RouterAdapter` — the adapter when
|
|
110
|
+
* present, `null` when absent. Backs the router-optional degrade
|
|
111
|
+
* ({@link useRedirectOptional}) so standalone forms/controllers unit-test
|
|
112
|
+
* without a mounted router. Vue has no Rules of Hooks, so a conditional call of
|
|
113
|
+
* the real composables based on this is legal (unlike the React twin, which
|
|
114
|
+
* must suppress `useHookAtTopLevel`).
|
|
115
|
+
*/
|
|
116
|
+
export declare function useRouterAdapterOptional(): RouterAdapter | null;
|
|
117
|
+
/** Read the app basename (default `''`). Mirrors the React twin's `useBasename`. */
|
|
118
|
+
export declare function useBasename(): string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { inject } from "vue";
|
|
2
|
+
const RouterAdapterKey = /* @__PURE__ */ Symbol(
|
|
3
|
+
"chelone-router-adapter"
|
|
4
|
+
);
|
|
5
|
+
const BasenameKey = /* @__PURE__ */ Symbol("chelone-basename");
|
|
6
|
+
function useRouterAdapter() {
|
|
7
|
+
const adapter = inject(RouterAdapterKey, null);
|
|
8
|
+
if (!adapter) {
|
|
9
|
+
throw new Error(
|
|
10
|
+
"useRouterAdapter: no RouterAdapter found. Render inside <Admin> or call provideVueRouterAdapter() in an ancestor setup()."
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
return adapter;
|
|
14
|
+
}
|
|
15
|
+
function useRouterAdapterOptional() {
|
|
16
|
+
return inject(RouterAdapterKey, null);
|
|
17
|
+
}
|
|
18
|
+
function useBasename() {
|
|
19
|
+
return inject(BasenameKey, "");
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
BasenameKey,
|
|
23
|
+
RouterAdapterKey,
|
|
24
|
+
useBasename,
|
|
25
|
+
useRouterAdapter,
|
|
26
|
+
useRouterAdapterOptional
|
|
27
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public router surface for `@chelone/vue` (V1-a Task 3): the `RouterAdapter`
|
|
3
|
+
* interface + injection keys, the default `vueRouterAdapter` / its installer,
|
|
4
|
+
* and the bridged navigation composables. The Vue twin of
|
|
5
|
+
* `packages/react/src/router/index.ts`.
|
|
6
|
+
*/
|
|
7
|
+
export type { AdapterNavigate, AdapterNavigateOpts, RouterAdapter, RouterBlocker, ShouldBlock, UseMatchArgs, } from "./adapter.js";
|
|
8
|
+
export { BasenameKey, RouterAdapterKey, useBasename, useRouterAdapter, useRouterAdapterOptional, } from "./adapter.js";
|
|
9
|
+
export type { Redirect, RedirectTo } from "./nav-composables.js";
|
|
10
|
+
export { useBlocker, useCanBlock, useCreatePath, useLocation, useMatch, useNavigate, useParams, useRedirect, useRedirectOptional, } from "./nav-composables.js";
|
|
11
|
+
export type { LinkToType, UseGetPathForRecordOptions, } from "./use-get-path-for-record.js";
|
|
12
|
+
export { useGetPathForRecord } from "./use-get-path-for-record.js";
|
|
13
|
+
export { provideVueRouterAdapter, vueRouterAdapter, } from "./vue-router-adapter.js";
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Navigation composables bridged onto the injected `RouterAdapter` — the Vue
|
|
3
|
+
* twin of `@chelone/react`'s `nav-hooks.tsx`. Every reader is a thin
|
|
4
|
+
* pass-through to `useRouterAdapter().X` so swapping the router never touches
|
|
5
|
+
* these call sites; the path builders (`useCreatePath`) use core's pure
|
|
6
|
+
* `createPath` unchanged, and `useRedirect` reproduces ra-core's redirect
|
|
7
|
+
* contract exactly (see the twin's doc block).
|
|
8
|
+
*/
|
|
9
|
+
import { type CheloneLocation, type CreatePathParams, type CreatePathType, type Identifier, type PathMatch } from "@chelone/core";
|
|
10
|
+
import type { ComputedRef } from "vue";
|
|
11
|
+
import { type AdapterNavigate, type RouterBlocker, type ShouldBlock, type UseMatchArgs } from "./adapter.js";
|
|
12
|
+
/** Current location (framework-neutral, reactive), via the adapter. */
|
|
13
|
+
export declare function useLocation(): ComputedRef<CheloneLocation>;
|
|
14
|
+
/** Current route params (reactive), via the adapter. */
|
|
15
|
+
export declare function useParams(): ComputedRef<Record<string, string | undefined>>;
|
|
16
|
+
/** A stable navigator — a string path or a numeric history delta. */
|
|
17
|
+
export declare function useNavigate(): AdapterNavigate;
|
|
18
|
+
/** Match the current pathname against a pattern (reactive), via the adapter. */
|
|
19
|
+
export declare function useMatch(pattern: string | UseMatchArgs): ComputedRef<PathMatch | null>;
|
|
20
|
+
/** Hold navigation while `shouldBlock`, via the adapter. */
|
|
21
|
+
export declare function useBlocker(shouldBlock: ShouldBlock): RouterBlocker;
|
|
22
|
+
/** Whether the router can block navigation, via the adapter. */
|
|
23
|
+
export declare function useCanBlock(): boolean;
|
|
24
|
+
export { useBasename } from "./adapter.js";
|
|
25
|
+
/**
|
|
26
|
+
* A stable `createPath(params)` closure that applies the ambient basename
|
|
27
|
+
* (parity with the React twin). Basename-prefixed for the four known intents; a
|
|
28
|
+
* custom string type is returned verbatim by `createPath` (the author owns it).
|
|
29
|
+
*
|
|
30
|
+
* Unlike the React twin (which memoizes with `useCallback([basename])`), Vue
|
|
31
|
+
* reads the basename once at setup and closes over it — a basename change is a
|
|
32
|
+
* subtree remount (a new `provide`), so a per-setup snapshot is correct.
|
|
33
|
+
*/
|
|
34
|
+
export declare function useCreatePath(): (params: CreatePathParams) => string;
|
|
35
|
+
/**
|
|
36
|
+
* What `redirect` / `useRedirect` accept (parity §0a-11). The function form
|
|
37
|
+
* returns a RAW PATH string (ra-core's `RouterTo`), navigated verbatim
|
|
38
|
+
* (basename-prefixed), never expanded through `createPath`. The string form is
|
|
39
|
+
* a `CreatePathType`.
|
|
40
|
+
*/
|
|
41
|
+
export type RedirectTo = CreatePathType | false | ((resource?: string, id?: Identifier, data?: unknown) => string | false);
|
|
42
|
+
/**
|
|
43
|
+
* Navigate in the ra-core redirect forms — reproducing the React twin's
|
|
44
|
+
* `useRedirect` (which reproduces `ra-core/useRedirect`) EXACTLY:
|
|
45
|
+
*
|
|
46
|
+
* - `false` → no-op.
|
|
47
|
+
* - a **function** → invoked with `(resource, id, data)`; its result is a RAW
|
|
48
|
+
* PATH string (or `false` → no-op), basename-prefixed + navigated verbatim,
|
|
49
|
+
* ALWAYS pushing `{ _scrollToTop: true, ...state }` (no list exception).
|
|
50
|
+
* - an absolute `http(s)://` URL → hard `window.location.href` (SSR-guarded).
|
|
51
|
+
* - a `CreatePathType` → adapter navigate to `createPath({type, resource, id})`,
|
|
52
|
+
* pushing `_scrollToTop` state EXCEPT for `'list'` (a list restores its own
|
|
53
|
+
* scroll).
|
|
54
|
+
*/
|
|
55
|
+
export type Redirect = (to: RedirectTo, resource?: string, id?: Identifier, data?: unknown, state?: Record<string, unknown>) => void;
|
|
56
|
+
export declare function useRedirect(): Redirect;
|
|
57
|
+
/**
|
|
58
|
+
* A NULL-TOLERANT `useRedirect`: the real redirect when a `RouterAdapter` is
|
|
59
|
+
* present, a stable no-op `() => {}` when absent — never throwing.
|
|
60
|
+
*
|
|
61
|
+
* Standalone forms (custom bulk-edit-drawer forms, and many unit tests) compose
|
|
62
|
+
* the edit/create-form controllers WITHOUT a router. Those controllers still
|
|
63
|
+
* REQUEST a redirect on successful save (ra-core parity), so the composables
|
|
64
|
+
* that build them must degrade the redirect to a no-op rather than hard-require
|
|
65
|
+
* a router. `useRedirect` cannot: it calls `useRouterAdapter`, which THROWS with
|
|
66
|
+
* no adapter (a contract we keep — misuse of the routing composables outside
|
|
67
|
+
* `<Admin>` must still fail loudly).
|
|
68
|
+
*
|
|
69
|
+
* Vue has no Rules of Hooks, so this can legally call `useRedirect()` only when
|
|
70
|
+
* the adapter is present (the React twin must instead suppress
|
|
71
|
+
* `useHookAtTopLevel` and rely on mount-stable adapter presence).
|
|
72
|
+
*/
|
|
73
|
+
export declare function useRedirectOptional(): Redirect;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { createPath } from "@chelone/core";
|
|
2
|
+
import { useRouterAdapter, useBasename, useRouterAdapterOptional } from "./adapter.js";
|
|
3
|
+
function useLocation() {
|
|
4
|
+
return useRouterAdapter().useLocation();
|
|
5
|
+
}
|
|
6
|
+
function useParams() {
|
|
7
|
+
return useRouterAdapter().useParams();
|
|
8
|
+
}
|
|
9
|
+
function useNavigate() {
|
|
10
|
+
return useRouterAdapter().useNavigate();
|
|
11
|
+
}
|
|
12
|
+
function useMatch(pattern) {
|
|
13
|
+
return useRouterAdapter().useMatch(pattern);
|
|
14
|
+
}
|
|
15
|
+
function useBlocker(shouldBlock) {
|
|
16
|
+
return useRouterAdapter().useBlocker(shouldBlock);
|
|
17
|
+
}
|
|
18
|
+
function useCanBlock() {
|
|
19
|
+
return useRouterAdapter().useCanBlock();
|
|
20
|
+
}
|
|
21
|
+
function useCreatePath() {
|
|
22
|
+
const basename = useBasename();
|
|
23
|
+
return (params) => createPath(params, basename);
|
|
24
|
+
}
|
|
25
|
+
function useRedirect() {
|
|
26
|
+
const navigate = useNavigate();
|
|
27
|
+
const basename = useBasename();
|
|
28
|
+
const createPathFn = useCreatePath();
|
|
29
|
+
return (to, resource, id, data, state = {}) => {
|
|
30
|
+
if (to === false) return;
|
|
31
|
+
if (typeof to === "function") {
|
|
32
|
+
const target = to(resource, id, data);
|
|
33
|
+
if (target === false) return;
|
|
34
|
+
const path2 = `${basename}${target.startsWith("/") ? "" : "/"}${target}`;
|
|
35
|
+
navigate(path2, { state: { _scrollToTop: true, ...state } });
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
if (to.startsWith("http") && typeof window !== "undefined") {
|
|
39
|
+
window.location.href = to;
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const path = createPathFn({ type: to, resource, id });
|
|
43
|
+
const scrollState = to === "list" ? {} : { _scrollToTop: true };
|
|
44
|
+
navigate(path, { state: { ...scrollState, ...state } });
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
const noopRedirect = () => {
|
|
48
|
+
};
|
|
49
|
+
function useRedirectOptional() {
|
|
50
|
+
const adapter = useRouterAdapterOptional();
|
|
51
|
+
return adapter ? useRedirect() : noopRedirect;
|
|
52
|
+
}
|
|
53
|
+
export {
|
|
54
|
+
useBasename,
|
|
55
|
+
useBlocker,
|
|
56
|
+
useCanBlock,
|
|
57
|
+
useCreatePath,
|
|
58
|
+
useLocation,
|
|
59
|
+
useMatch,
|
|
60
|
+
useNavigate,
|
|
61
|
+
useParams,
|
|
62
|
+
useRedirect,
|
|
63
|
+
useRedirectOptional
|
|
64
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `useGetPathForRecord` — the path of the page a record links to. The Vue twin
|
|
3
|
+
* of `useGetPathForRecord` in `@chelone/react`'s `nav-hooks.tsx` (parity
|
|
4
|
+
* §0a-11): an explicit `link` builds that path; an omitted one infers `show`
|
|
5
|
+
* when the resource has a show view and `show` access, else `edit` the same way,
|
|
6
|
+
* else no link.
|
|
7
|
+
*
|
|
8
|
+
* Every input is a `MaybeRefOrGetter`, so a record that loads late re-evaluates
|
|
9
|
+
* the path. The access checks run only while inferring, and only for a view the
|
|
10
|
+
* resource registered: an explicit `link` fires no `canAccess` call.
|
|
11
|
+
*/
|
|
12
|
+
import type { CreatePathType, LooseRecord } from "@chelone/core";
|
|
13
|
+
import { type ComputedRef, type MaybeRef, type MaybeRefOrGetter } from "vue";
|
|
14
|
+
/** How a record link is forced or inferred (parity §0a-11). */
|
|
15
|
+
export type LinkToType = CreatePathType | false | ((record: LooseRecord, resource: string) => CreatePathType | false);
|
|
16
|
+
export interface UseGetPathForRecordOptions {
|
|
17
|
+
/** The resource the record belongs to. */
|
|
18
|
+
resource: MaybeRefOrGetter<string>;
|
|
19
|
+
/** The record whose id the link targets. No record (or no id) gives `false`. */
|
|
20
|
+
record: MaybeRefOrGetter<LooseRecord | undefined>;
|
|
21
|
+
/**
|
|
22
|
+
* An explicit link type or function, or omitted to infer show, then edit. A
|
|
23
|
+
* function is the link function itself, never a getter, so a reactive `link`
|
|
24
|
+
* is passed as a ref.
|
|
25
|
+
*/
|
|
26
|
+
link?: MaybeRef<LinkToType | undefined>;
|
|
27
|
+
}
|
|
28
|
+
export declare function useGetPathForRecord(options: UseGetPathForRecordOptions): ComputedRef<string | false>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { toValue, computed, isRef } from "vue";
|
|
2
|
+
import { useResourceDefinition } from "../admin/resource-registry.js";
|
|
3
|
+
import { useMenuAccess } from "../components/admin/layout/use-menu-access.js";
|
|
4
|
+
import { useCreatePath } from "./nav-composables.js";
|
|
5
|
+
function useGetPathForRecord(options) {
|
|
6
|
+
const readLink = () => isRef(options.link) ? options.link.value : options.link;
|
|
7
|
+
const createPath = useCreatePath();
|
|
8
|
+
const definition = useResourceDefinition(() => ({
|
|
9
|
+
resource: toValue(options.resource)
|
|
10
|
+
}));
|
|
11
|
+
const inferring = computed(
|
|
12
|
+
() => readLink() == null && toValue(options.record) != null
|
|
13
|
+
);
|
|
14
|
+
const showAccess = useMenuAccess(
|
|
15
|
+
() => ({
|
|
16
|
+
action: "show",
|
|
17
|
+
resource: toValue(options.resource),
|
|
18
|
+
record: toValue(options.record)
|
|
19
|
+
}),
|
|
20
|
+
() => inferring.value && definition.value.hasShow
|
|
21
|
+
);
|
|
22
|
+
const editAccess = useMenuAccess(
|
|
23
|
+
() => ({
|
|
24
|
+
action: "edit",
|
|
25
|
+
resource: toValue(options.resource),
|
|
26
|
+
record: toValue(options.record)
|
|
27
|
+
}),
|
|
28
|
+
() => inferring.value && definition.value.hasEdit
|
|
29
|
+
);
|
|
30
|
+
return computed(() => {
|
|
31
|
+
const record = toValue(options.record);
|
|
32
|
+
const id = record?.id;
|
|
33
|
+
if (record == null || id == null) return false;
|
|
34
|
+
const resource = toValue(options.resource);
|
|
35
|
+
const link = readLink();
|
|
36
|
+
if (link === false) return false;
|
|
37
|
+
if (link != null) {
|
|
38
|
+
const type = typeof link === "function" ? link(record, resource) : link;
|
|
39
|
+
return type === false ? false : createPath({ type, resource, id });
|
|
40
|
+
}
|
|
41
|
+
if (definition.value.hasShow) {
|
|
42
|
+
if (showAccess.isPending.value) return false;
|
|
43
|
+
if (showAccess.canAccess.value) {
|
|
44
|
+
return createPath({ type: "show", resource, id });
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if (definition.value.hasEdit && !editAccess.isPending.value && editAccess.canAccess.value) {
|
|
48
|
+
return createPath({ type: "edit", resource, id });
|
|
49
|
+
}
|
|
50
|
+
return false;
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
export {
|
|
54
|
+
useGetPathForRecord
|
|
55
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The DEFAULT `RouterAdapter`, implemented over vue-router v4 — the Vue twin of
|
|
3
|
+
* `@chelone/react`'s `reactRouterAdapter` (`packages/react/src/router/
|
|
4
|
+
* react-router-adapter.tsx`). vue-router is a peer+dev dep of `@chelone/vue`
|
|
5
|
+
* ONLY (never of core).
|
|
6
|
+
*
|
|
7
|
+
* Every member is a thin mapping from vue-router onto Chelone's neutral
|
|
8
|
+
* contract, reused verbatim from core:
|
|
9
|
+
* - `useLocation`: vue-router's reactive `route.fullPath` → the neutral
|
|
10
|
+
* `CheloneLocation` via core's pure `parseLocation` (no re-implementation of
|
|
11
|
+
* the pathname/search/hash split). History `state` is threaded from
|
|
12
|
+
* `window.history.state` when in a browser (SSR-guarded → `null`).
|
|
13
|
+
* - `useNavigate`: a stable function over `router.push` / `router.replace` /
|
|
14
|
+
* `router.go`. vue-router's navigate identity is already stable (unlike
|
|
15
|
+
* react-router's declarative-router churn the React twin defends against), so
|
|
16
|
+
* no latest-ref dance is needed.
|
|
17
|
+
* - `useParams`: `route.params` (`string | string[]`) → `Record<string,
|
|
18
|
+
* string | undefined>`, catch-all arrays joined with `/`, with `pathMatch`
|
|
19
|
+
* also exposed under `*`.
|
|
20
|
+
* - `useMatch` / `matchPath`: core's dependency-free `matchPath` over the
|
|
21
|
+
* reactive `route.path`. `useMatch`'s `end` toggle (default exact; `end:
|
|
22
|
+
* false` also matches descendants, for a parent list that stays active on a
|
|
23
|
+
* child route) is synthesized over core's exact matcher via a trailing splat
|
|
24
|
+
* (see `toCorePattern`) — react-router honors `end` natively.
|
|
25
|
+
*
|
|
26
|
+
* The adapter is a stateless const of methods (like `reactRouterAdapter`): each
|
|
27
|
+
* method calls `useRoute()` / `useRouter()` itself, so it is invoked from the
|
|
28
|
+
* consuming component's own setup — where a router IS present — not from the
|
|
29
|
+
* provider's setup.
|
|
30
|
+
*/
|
|
31
|
+
import { type RouterAdapter } from "./adapter.js";
|
|
32
|
+
/** The vue-router-backed default adapter. */
|
|
33
|
+
export declare const vueRouterAdapter: RouterAdapter;
|
|
34
|
+
/**
|
|
35
|
+
* Install the default vue-router adapter for the subtree — the Vue analog of
|
|
36
|
+
* wrapping the tree in `<RouterAdapterProvider adapter={reactRouterAdapter}>`.
|
|
37
|
+
* Call it in a `setup()` that sits under a mounted vue-router (`<Admin>` does
|
|
38
|
+
* this); every routing composable below it then resolves the adapter.
|
|
39
|
+
*/
|
|
40
|
+
export declare function provideVueRouterAdapter(): void;
|