@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,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Brand marks for the provider buttons, drawn 20 by 20 and hidden from
|
|
3
|
+
* assistive tech: the button's label names the provider. The Vue twin of
|
|
4
|
+
* `@chelone/react`'s `social-icons.tsx`, as functional components built with
|
|
5
|
+
* `h` because `@chelone/vue` has no icon library.
|
|
6
|
+
*
|
|
7
|
+
* Filled marks follow the Simple Icons glyphs (CC0). Marks drawn here from
|
|
8
|
+
* plain shapes (Azure, Keycloak, Notion, WorkOS) are stylised, not the
|
|
9
|
+
* official artwork.
|
|
10
|
+
*/
|
|
11
|
+
import { type FunctionalComponent } from "vue";
|
|
12
|
+
export declare const AppleIcon: FunctionalComponent;
|
|
13
|
+
export declare const AzureIcon: FunctionalComponent;
|
|
14
|
+
export declare const BitbucketIcon: FunctionalComponent;
|
|
15
|
+
export declare const DiscordIcon: FunctionalComponent;
|
|
16
|
+
export declare const FacebookIcon: FunctionalComponent;
|
|
17
|
+
export declare const GithubIcon: FunctionalComponent;
|
|
18
|
+
export declare const GitlabIcon: FunctionalComponent;
|
|
19
|
+
export declare const GoogleIcon: FunctionalComponent;
|
|
20
|
+
export declare const KeycloakIcon: FunctionalComponent;
|
|
21
|
+
export declare const LinkedinIcon: FunctionalComponent;
|
|
22
|
+
export declare const NotionIcon: FunctionalComponent;
|
|
23
|
+
export declare const SlackIcon: FunctionalComponent;
|
|
24
|
+
export declare const SpotifyIcon: FunctionalComponent;
|
|
25
|
+
export declare const TwitchIcon: FunctionalComponent;
|
|
26
|
+
export declare const TwitterIcon: FunctionalComponent;
|
|
27
|
+
export declare const WorkosIcon: FunctionalComponent;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { h } from "vue";
|
|
2
|
+
function mark(paths, fill = "currentColor") {
|
|
3
|
+
const icon = (_props, { attrs }) => h(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
width: 20,
|
|
9
|
+
height: 20,
|
|
10
|
+
"aria-hidden": "true",
|
|
11
|
+
focusable: "false",
|
|
12
|
+
fill,
|
|
13
|
+
...attrs
|
|
14
|
+
},
|
|
15
|
+
paths.map(
|
|
16
|
+
({ d, fill: pathFill, outline }) => h("path", {
|
|
17
|
+
d,
|
|
18
|
+
...pathFill ? { fill: pathFill } : {},
|
|
19
|
+
...outline ? {
|
|
20
|
+
fill: "none",
|
|
21
|
+
stroke: "currentColor",
|
|
22
|
+
"stroke-width": 2,
|
|
23
|
+
"stroke-linecap": "round",
|
|
24
|
+
"stroke-linejoin": "round"
|
|
25
|
+
} : {}
|
|
26
|
+
})
|
|
27
|
+
)
|
|
28
|
+
);
|
|
29
|
+
return icon;
|
|
30
|
+
}
|
|
31
|
+
const AppleIcon = mark([
|
|
32
|
+
{
|
|
33
|
+
d: "M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04 .027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35 .987 3.96 .948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207 .052-2.662 .805-3.532 1.818-.78 .896-1.454 2.338-1.273 3.714 1.338 .104 2.715-.688 3.559-1.701"
|
|
34
|
+
}
|
|
35
|
+
]);
|
|
36
|
+
const AzureIcon = mark([
|
|
37
|
+
{ d: "M9.5 3 2 19.5h5.2L9.5 3zm1.2 1.6L8 13l5.4 1.8-7.1 4.7H22L10.7 4.6z" }
|
|
38
|
+
]);
|
|
39
|
+
const BitbucketIcon = mark([
|
|
40
|
+
{
|
|
41
|
+
d: "M.778 1.213a.768 .768 0 00-.768 .892l3.263 19.81c.084 .5 .515 .868 1.022 .873H19.95a.772 .772 0 00.77-.646l3.27-20.03a.768 .768 0 00-.768-.891zM14.52 15.53H9.522L8.17 8.466h7.561z"
|
|
42
|
+
}
|
|
43
|
+
]);
|
|
44
|
+
const DiscordIcon = mark([
|
|
45
|
+
{
|
|
46
|
+
d: "M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152 .0741 .0741 0 00-.0785 .0371c-.211 .3753-.4447 .8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077 .077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515 .0699 .0699 0 00-.0321 .0277C.5334 9.0458-.319 13.5799 .0992 18.0578a.0824 .0824 0 00.0312 .0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777 .0777 0 00.0842-.0276c.4616-.6304 .8731-1.2952 1.226-1.9942a.076 .076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077 .077 0 01-.0076-.1277c.1258-.0943 .2517-.1923 .3718-.2914a.0743 .0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739 .0739 0 01.0785 .0095c.1202 .099 .246 .1981 .3728 .2924a.077 .077 0 01-.0066 .1276 12.2986 12.2986 0 01-1.873 .8914 .0766 .0766 0 00-.0407 .1067c.3604 .698 .7719 1.3628 1.225 1.9932a.076 .076 0 00.0842 .0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077 .077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061 .061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332 .9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332 .9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"
|
|
47
|
+
}
|
|
48
|
+
]);
|
|
49
|
+
const FacebookIcon = mark([
|
|
50
|
+
{
|
|
51
|
+
d: "M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686 .235 2.686 .235v2.953H15.83c-1.491 0-1.956 .925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"
|
|
52
|
+
}
|
|
53
|
+
]);
|
|
54
|
+
const GithubIcon = mark([
|
|
55
|
+
{
|
|
56
|
+
d: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385 .6 .113 .82-.258 .82-.577 0-.285-.01-1.04-.015-2.04-3.338 .724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744 .084-.729 .084-.729 1.205 .084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495 .998 .108-.776 .417-1.305 .76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31 .465-2.38 1.235-3.22-.135-.303-.54-1.523 .105-3.176 0 0 1.005-.322 3.3 1.23 .96-.267 1.98-.399 3-.405 1.02 .006 2.04 .138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23 .645 1.653 .24 2.873 .12 3.176 .765 .84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92 .42 .36 .81 1.096 .81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315 .21 .69 .825 .57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
|
|
57
|
+
}
|
|
58
|
+
]);
|
|
59
|
+
const GitlabIcon = mark([
|
|
60
|
+
{
|
|
61
|
+
d: "m23.6004 9.5927-.0337-.0862L20.3 .9814a.851 .851 0 0 0-.3362-.405 .8748 .8748 0 0 0-.9997 .0539 .8748 .8748 0 0 0-.29 .4399l-2.2055 6.748H7.5375l-2.2057-6.748a.8573 .8573 0 0 0-.29-.4412 .8748 .8748 0 0 0-.9997-.0537 .8585 .8585 0 0 0-.3362 .4049L.4332 9.5015l-.0325 .0862a6.0657 6.0657 0 0 0 2.0119 7.0105l.0113 .0087 .03 .0213 4.976 3.7264 2.462 1.8633 1.4995 1.1321a1.0085 1.0085 0 0 0 1.2197 0l1.4995-1.1321 2.4619-1.8633 5.006-3.7466 .0125-.01a6.0682 6.0682 0 0 0 2.0094-7.0057z"
|
|
62
|
+
}
|
|
63
|
+
]);
|
|
64
|
+
const GoogleIcon = mark(
|
|
65
|
+
[
|
|
66
|
+
{
|
|
67
|
+
d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",
|
|
68
|
+
fill: "#4285F4"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98 .66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",
|
|
72
|
+
fill: "#34A853"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43 .35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22 .81-.62z",
|
|
76
|
+
fill: "#FBBC05"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
d: "M12 5.38c1.62 0 3.06 .56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",
|
|
80
|
+
fill: "#EA4335"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"none"
|
|
84
|
+
);
|
|
85
|
+
const KeycloakIcon = mark([
|
|
86
|
+
{ d: "M7.5 3h9L21 12l-4.5 9h-9L3 12zM9 9v6m0-3 5-3m-5 3 5 3", outline: true }
|
|
87
|
+
]);
|
|
88
|
+
const LinkedinIcon = mark([
|
|
89
|
+
{
|
|
90
|
+
d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138 .92-2.063 2.063-2.063 1.14 0 2.064 .925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227 .792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"
|
|
91
|
+
}
|
|
92
|
+
]);
|
|
93
|
+
const NotionIcon = mark([
|
|
94
|
+
{
|
|
95
|
+
d: "M5 3h12l3 3v13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",
|
|
96
|
+
outline: true
|
|
97
|
+
},
|
|
98
|
+
{ d: "M8 17V8l8 9V8", outline: true }
|
|
99
|
+
]);
|
|
100
|
+
const SlackIcon = mark([
|
|
101
|
+
{
|
|
102
|
+
d: "M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"
|
|
103
|
+
}
|
|
104
|
+
]);
|
|
105
|
+
const SpotifyIcon = mark([
|
|
106
|
+
{
|
|
107
|
+
d: "M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24 .359-.66 .48-1.021 .24-2.82-1.74-6.36-2.101-10.561-1.141-.418 .122-.779-.179-.899-.539-.12-.421 .18-.78 .54-.9 4.56-1.021 8.52-.6 11.64 1.32 .42 .18 .479 .659 .301 1.02zm1.44-3.3c-.301 .42-.841 .6-1.262 .3-3.239-1.98-8.159-2.58-11.939-1.38-.479 .12-1.02-.12-1.14-.6-.12-.48 .12-1.021 .6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361 .181 .54 .78 .241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6 .179-1.2-.181-1.38-.721-.18-.601 .18-1.2 .72-1.381 4.26-1.26 11.28-1.02 15.721 1.621 .539 .3 .719 1.02 .419 1.56-.299 .421-1.02 .599-1.559 .3z"
|
|
108
|
+
}
|
|
109
|
+
]);
|
|
110
|
+
const TwitchIcon = mark([
|
|
111
|
+
{
|
|
112
|
+
d: "M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z"
|
|
113
|
+
}
|
|
114
|
+
]);
|
|
115
|
+
const TwitterIcon = mark([
|
|
116
|
+
{
|
|
117
|
+
d: "M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"
|
|
118
|
+
}
|
|
119
|
+
]);
|
|
120
|
+
const WorkosIcon = mark([
|
|
121
|
+
{ d: "M2 7l4 10 6-8 6 8 4-10", outline: true }
|
|
122
|
+
]);
|
|
123
|
+
export {
|
|
124
|
+
AppleIcon,
|
|
125
|
+
AzureIcon,
|
|
126
|
+
BitbucketIcon,
|
|
127
|
+
DiscordIcon,
|
|
128
|
+
FacebookIcon,
|
|
129
|
+
GithubIcon,
|
|
130
|
+
GitlabIcon,
|
|
131
|
+
GoogleIcon,
|
|
132
|
+
KeycloakIcon,
|
|
133
|
+
LinkedinIcon,
|
|
134
|
+
NotionIcon,
|
|
135
|
+
SlackIcon,
|
|
136
|
+
SpotifyIcon,
|
|
137
|
+
TwitchIcon,
|
|
138
|
+
TwitterIcon,
|
|
139
|
+
WorkosIcon
|
|
140
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { SupabaseOAuthProvider } from "./social-auth-button.vue.js";
|
|
2
|
+
/** Props for {@link SupabaseLoginPage}. */
|
|
3
|
+
export interface SupabaseLoginPageProps {
|
|
4
|
+
/** Hides the email and password form, its divider and the forgot password link. */
|
|
5
|
+
disableEmailPassword?: boolean;
|
|
6
|
+
/** Hides the forgot password link. */
|
|
7
|
+
disableForgotPassword?: boolean;
|
|
8
|
+
/** OAuth providers to show a button for, in order. */
|
|
9
|
+
providers?: SupabaseOAuthProvider[];
|
|
10
|
+
/** Path a successful sign-in redirects to. Forwarded to the form and the buttons. */
|
|
11
|
+
redirectTo?: string;
|
|
12
|
+
class?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SupabaseLoginPageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SupabaseLoginPageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
15
|
+
/** Custom content in place of the form, the link and the buttons. */
|
|
16
|
+
default?: () => unknown;
|
|
17
|
+
}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, normalizeClass, withCtx, renderSlot, createElementBlock, Fragment, createVNode, unref, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, renderList, resolveDynamicComponent } from "vue";
|
|
2
|
+
import { forgotPasswordPath } from "@chelone/supabase";
|
|
3
|
+
import { useTranslate } from "../../../i18n/use-translate.js";
|
|
4
|
+
import _sfc_main$2 from "../auth/login-form.vue.js";
|
|
5
|
+
import _sfc_main$1 from "../auth/login-page.vue.js";
|
|
6
|
+
import _sfc_main$3 from "../common/link.vue.js";
|
|
7
|
+
import { WorkosButton, TwitterButton, TwitchButton, SpotifyButton, SlackButton, NotionButton, LinkedinButton, KeycloakButton, GoogleButton, GitlabButton, GithubButton, FacebookButton, DiscordButton, BitbucketButton, AzureButton, AppleButton } from "./provider-buttons.js";
|
|
8
|
+
const _hoisted_1 = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "flex flex-col gap-4"
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_2 = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "flex items-center gap-4 text-sm text-muted-foreground"
|
|
15
|
+
};
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
|
+
__name: "supabase-login-page",
|
|
18
|
+
props: {
|
|
19
|
+
disableEmailPassword: { type: Boolean },
|
|
20
|
+
disableForgotPassword: { type: Boolean },
|
|
21
|
+
providers: {},
|
|
22
|
+
redirectTo: {},
|
|
23
|
+
class: {}
|
|
24
|
+
},
|
|
25
|
+
setup(__props) {
|
|
26
|
+
const buttons = {
|
|
27
|
+
apple: AppleButton,
|
|
28
|
+
azure: AzureButton,
|
|
29
|
+
bitbucket: BitbucketButton,
|
|
30
|
+
discord: DiscordButton,
|
|
31
|
+
facebook: FacebookButton,
|
|
32
|
+
github: GithubButton,
|
|
33
|
+
gitlab: GitlabButton,
|
|
34
|
+
google: GoogleButton,
|
|
35
|
+
keycloak: KeycloakButton,
|
|
36
|
+
linkedin: LinkedinButton,
|
|
37
|
+
notion: NotionButton,
|
|
38
|
+
slack: SlackButton,
|
|
39
|
+
spotify: SpotifyButton,
|
|
40
|
+
twitch: TwitchButton,
|
|
41
|
+
twitter: TwitterButton,
|
|
42
|
+
workos: WorkosButton
|
|
43
|
+
};
|
|
44
|
+
const props = __props;
|
|
45
|
+
const translate = useTranslate();
|
|
46
|
+
const providers = computed(() => props.providers ?? []);
|
|
47
|
+
return (_ctx, _cache) => {
|
|
48
|
+
return openBlock(), createBlock(_sfc_main$1, {
|
|
49
|
+
class: normalizeClass(props.class)
|
|
50
|
+
}, {
|
|
51
|
+
default: withCtx(() => [
|
|
52
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
53
|
+
!props.disableEmailPassword ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
54
|
+
createVNode(_sfc_main$2, {
|
|
55
|
+
"redirect-to": props.redirectTo
|
|
56
|
+
}, null, 8, ["redirect-to"]),
|
|
57
|
+
!props.disableForgotPassword ? (openBlock(), createBlock(_sfc_main$3, {
|
|
58
|
+
key: 0,
|
|
59
|
+
to: unref(forgotPasswordPath),
|
|
60
|
+
class: "text-center text-sm text-muted-foreground underline underline-offset-4 hover:text-primary"
|
|
61
|
+
}, {
|
|
62
|
+
default: withCtx(() => [
|
|
63
|
+
createTextVNode(toDisplayString(unref(translate)("ra-supabase.auth.forgot_password", {
|
|
64
|
+
_: "Forgot password?"
|
|
65
|
+
})), 1)
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}, 8, ["to"])) : createCommentVNode("", true)
|
|
69
|
+
], 64)) : createCommentVNode("", true),
|
|
70
|
+
providers.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
71
|
+
!props.disableEmailPassword ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
72
|
+
_cache[0] || (_cache[0] = createElementVNode("div", { class: "flex-1 border-t" }, null, -1)),
|
|
73
|
+
createTextVNode(" " + toDisplayString(unref(translate)("ra.auth.or", { _: "or" })) + " ", 1),
|
|
74
|
+
_cache[1] || (_cache[1] = createElementVNode("div", { class: "flex-1 border-t" }, null, -1))
|
|
75
|
+
])) : createCommentVNode("", true),
|
|
76
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(providers.value, (provider) => {
|
|
77
|
+
return openBlock(), createBlock(resolveDynamicComponent(buttons[provider]), {
|
|
78
|
+
key: provider,
|
|
79
|
+
redirect: props.redirectTo
|
|
80
|
+
}, null, 8, ["redirect"]);
|
|
81
|
+
}), 128))
|
|
82
|
+
])) : createCommentVNode("", true)
|
|
83
|
+
])
|
|
84
|
+
]),
|
|
85
|
+
_: 3
|
|
86
|
+
}, 8, ["class"]);
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
export {
|
|
91
|
+
_sfc_main as default
|
|
92
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Composables for the Supabase password-recovery flows: ask for a reset email,
|
|
3
|
+
* set a new password from the emailed link, and read that link's tokens. The
|
|
4
|
+
* Vue twin of `@chelone/react`'s `supabase/use-password-recovery.ts`.
|
|
5
|
+
*
|
|
6
|
+
* Vue-specific divergence: `useSupabaseUrlTokens` returns refs, because the
|
|
7
|
+
* adapter's `useLocation()` is a `ComputedRef` that follows the route. Tokens
|
|
8
|
+
* that arrive on a later navigation replace the kept ones.
|
|
9
|
+
*/
|
|
10
|
+
import type { ResetPasswordParams, SetPasswordParams } from "@chelone/supabase";
|
|
11
|
+
import { type MutationObserverOptions, type UseMutationOptions } from "@tanstack/vue-query";
|
|
12
|
+
import { type ComputedRef } from "vue";
|
|
13
|
+
export type UseResetPasswordOptions = Omit<UseMutationOptions<void, Error, ResetPasswordParams>, "mutationFn" | "onSuccess"> & Pick<MutationObserverOptions<void, Error, ResetPasswordParams>, "onSuccess">;
|
|
14
|
+
export type UseSetPasswordOptions = Omit<UseMutationOptions<void, Error, SetPasswordParams>, "mutationFn" | "onSuccess"> & Pick<MutationObserverOptions<void, Error, SetPasswordParams>, "onSuccess">;
|
|
15
|
+
/** Sends the reset email, then points the user at the login page. */
|
|
16
|
+
export declare function useResetPassword(options?: UseResetPasswordOptions): import("@tanstack/vue-query").UseMutationReturnType<void, Error, ResetPasswordParams, unknown, Omit<import("@tanstack/query-core").MutationObserverIdleResult<void, Error, ResetPasswordParams, unknown>, "reset" | "mutate"> | Omit<import("@tanstack/query-core").MutationObserverLoadingResult<void, Error, ResetPasswordParams, unknown>, "reset" | "mutate"> | Omit<import("@tanstack/query-core").MutationObserverErrorResult<void, Error, ResetPasswordParams, unknown>, "reset" | "mutate"> | Omit<import("@tanstack/query-core").MutationObserverSuccessResult<void, Error, ResetPasswordParams, unknown>, "reset" | "mutate">>;
|
|
17
|
+
/** Saves the new password, then refreshes the session the auth gate sees. */
|
|
18
|
+
export declare function useSetPassword(options?: UseSetPasswordOptions): import("@tanstack/vue-query").UseMutationReturnType<void, Error, SetPasswordParams, unknown, Omit<import("@tanstack/query-core").MutationObserverIdleResult<void, Error, SetPasswordParams, unknown>, "reset" | "mutate"> | Omit<import("@tanstack/query-core").MutationObserverLoadingResult<void, Error, SetPasswordParams, unknown>, "reset" | "mutate"> | Omit<import("@tanstack/query-core").MutationObserverErrorResult<void, Error, SetPasswordParams, unknown>, "reset" | "mutate"> | Omit<import("@tanstack/query-core").MutationObserverSuccessResult<void, Error, SetPasswordParams, unknown>, "reset" | "mutate">>;
|
|
19
|
+
/**
|
|
20
|
+
* The access and refresh tokens a Supabase recovery or invite link carries.
|
|
21
|
+
* Read once and kept for the page's life, then the history entry is replaced
|
|
22
|
+
* with the same path minus the tokens, so the refresh token does not stay in
|
|
23
|
+
* the browser history or reach the server's access log on a reload.
|
|
24
|
+
*/
|
|
25
|
+
export declare function useSupabaseUrlTokens(): {
|
|
26
|
+
accessToken: ComputedRef<string | null>;
|
|
27
|
+
refreshToken: ComputedRef<string | null>;
|
|
28
|
+
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { readSupabaseUrlParams } from "@chelone/supabase";
|
|
2
|
+
import { useMutation, useQueryClient } from "@tanstack/vue-query";
|
|
3
|
+
import { ref, watch, computed } from "vue";
|
|
4
|
+
import { useCheloneAuthProvider } from "../../../context.js";
|
|
5
|
+
import { useNotify } from "../../../notification-hooks.js";
|
|
6
|
+
import { useRedirect, useLocation, useNavigate } from "../../../router/nav-composables.js";
|
|
7
|
+
function useResetPassword(options = {}) {
|
|
8
|
+
const authProvider = useCheloneAuthProvider();
|
|
9
|
+
const notify = useNotify();
|
|
10
|
+
const redirect = useRedirect();
|
|
11
|
+
return useMutation({
|
|
12
|
+
...options,
|
|
13
|
+
mutationFn: async (params) => {
|
|
14
|
+
if (!("resetPassword" in authProvider)) {
|
|
15
|
+
throw new Error(
|
|
16
|
+
"useResetPassword: the auth provider has no resetPassword method. Use supabaseAuthProvider from @chelone/supabase."
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
await authProvider.resetPassword(params);
|
|
20
|
+
},
|
|
21
|
+
onSuccess: (...args) => {
|
|
22
|
+
notify("ra-supabase.auth.password_reset", { type: "info" });
|
|
23
|
+
redirect("/login");
|
|
24
|
+
return options.onSuccess?.(...args);
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
function useSetPassword(options = {}) {
|
|
29
|
+
const authProvider = useCheloneAuthProvider();
|
|
30
|
+
const queryClient = useQueryClient();
|
|
31
|
+
const redirect = useRedirect();
|
|
32
|
+
return useMutation({
|
|
33
|
+
...options,
|
|
34
|
+
mutationFn: async (params) => {
|
|
35
|
+
if (!("setPassword" in authProvider)) {
|
|
36
|
+
throw new Error(
|
|
37
|
+
"useSetPassword: the auth provider has no setPassword method. Use supabaseAuthProvider from @chelone/supabase."
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
await authProvider.setPassword(params);
|
|
41
|
+
},
|
|
42
|
+
onSuccess: async (...args) => {
|
|
43
|
+
await queryClient.invalidateQueries({ queryKey: ["auth"] });
|
|
44
|
+
redirect("/");
|
|
45
|
+
return options.onSuccess?.(...args);
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
const TOKEN_KEYS = ["access_token", "refresh_token", "type"];
|
|
50
|
+
function stripKeys(query) {
|
|
51
|
+
const params = new URLSearchParams(query);
|
|
52
|
+
if (!TOKEN_KEYS.some((key) => params.has(key))) return null;
|
|
53
|
+
for (const key of TOKEN_KEYS) params.delete(key);
|
|
54
|
+
return params.toString();
|
|
55
|
+
}
|
|
56
|
+
function cleanedPath({
|
|
57
|
+
pathname,
|
|
58
|
+
search,
|
|
59
|
+
hash
|
|
60
|
+
}) {
|
|
61
|
+
const cleanSearch = stripKeys(search);
|
|
62
|
+
let cleanHash = hash;
|
|
63
|
+
let changed = cleanSearch !== null;
|
|
64
|
+
const queryStart = cleanHash.indexOf("?");
|
|
65
|
+
if (queryStart !== -1) {
|
|
66
|
+
const queryEnd = cleanHash.indexOf("#", queryStart);
|
|
67
|
+
const end = queryEnd === -1 ? cleanHash.length : queryEnd;
|
|
68
|
+
const query = stripKeys(cleanHash.slice(queryStart + 1, end));
|
|
69
|
+
if (query !== null) {
|
|
70
|
+
cleanHash = `${cleanHash.slice(0, queryStart)}${query ? `?${query}` : ""}${cleanHash.slice(end)}`;
|
|
71
|
+
changed = true;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
const fragmentStart = cleanHash.lastIndexOf("#");
|
|
75
|
+
const fragment = stripKeys(cleanHash.slice(fragmentStart + 1));
|
|
76
|
+
if (fragment !== null) {
|
|
77
|
+
cleanHash = `${cleanHash.slice(0, fragmentStart)}${fragment ? `#${fragment}` : ""}`;
|
|
78
|
+
changed = true;
|
|
79
|
+
}
|
|
80
|
+
if (!changed) return null;
|
|
81
|
+
const searchPart = (cleanSearch ?? search).replace(/^\?/, "");
|
|
82
|
+
return `${pathname}${searchPart ? `?${searchPart}` : ""}${cleanHash}`;
|
|
83
|
+
}
|
|
84
|
+
function useSupabaseUrlTokens() {
|
|
85
|
+
const location = useLocation();
|
|
86
|
+
const navigate = useNavigate();
|
|
87
|
+
const accessToken = ref(null);
|
|
88
|
+
const refreshToken = ref(null);
|
|
89
|
+
watch(
|
|
90
|
+
location,
|
|
91
|
+
(current) => {
|
|
92
|
+
const read = readSupabaseUrlParams(current);
|
|
93
|
+
if (read.accessToken !== null || read.refreshToken !== null) {
|
|
94
|
+
accessToken.value = read.accessToken;
|
|
95
|
+
refreshToken.value = read.refreshToken;
|
|
96
|
+
}
|
|
97
|
+
const cleaned = cleanedPath(current);
|
|
98
|
+
if (cleaned !== null) navigate(cleaned, { replace: true });
|
|
99
|
+
},
|
|
100
|
+
{ immediate: true }
|
|
101
|
+
);
|
|
102
|
+
return {
|
|
103
|
+
accessToken: computed(() => accessToken.value),
|
|
104
|
+
refreshToken: computed(() => refreshToken.value)
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
export {
|
|
108
|
+
useResetPassword,
|
|
109
|
+
useSetPassword,
|
|
110
|
+
useSupabaseUrlTokens
|
|
111
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Props for {@link CardContentInner}. */
|
|
2
|
+
export interface CardContentInnerProps {
|
|
3
|
+
class?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<CardContentInnerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardContentInnerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
6
|
+
default?: (props: {}) => any;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
2
|
+
import { cn } from "../../../lib/utils.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "card-content-inner",
|
|
5
|
+
props: {
|
|
6
|
+
class: {}
|
|
7
|
+
},
|
|
8
|
+
setup(__props) {
|
|
9
|
+
const props = __props;
|
|
10
|
+
const classes = computed(
|
|
11
|
+
() => cn("px-6 py-0 first:pt-4 last:pb-[70px] sm:last:pb-4", props.class)
|
|
12
|
+
);
|
|
13
|
+
return (_ctx, _cache) => {
|
|
14
|
+
return openBlock(), createElementBlock("div", {
|
|
15
|
+
class: normalizeClass(classes.value)
|
|
16
|
+
}, [
|
|
17
|
+
renderSlot(_ctx.$slots, "default")
|
|
18
|
+
], 2);
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
_sfc_main as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { CreateFormControllerOptions } from "@chelone/core";
|
|
2
|
+
/** Props for {@link Create}. */
|
|
3
|
+
export interface CreateProps extends Pick<CreateFormControllerOptions<Record<string, unknown>>, "validate" | "schema" | "sanitizeEmptyValues" | "onSuccess"> {
|
|
4
|
+
resource?: string;
|
|
5
|
+
record?: Record<string, unknown>;
|
|
6
|
+
title?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Redirect to the list on a successful save (the default). Vue coerces an
|
|
9
|
+
* absent Boolean prop to `false`, so this MUST default via `withDefaults`
|
|
10
|
+
* (otherwise omitting it silently disables the redirect); pass `false` to
|
|
11
|
+
* stay on the form after save.
|
|
12
|
+
*/
|
|
13
|
+
redirectOnSave?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<CreateProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CreateProps> & Readonly<{}>, {
|
|
16
|
+
redirectOnSave: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
18
|
+
actions?: (props: {}) => any;
|
|
19
|
+
} & {
|
|
20
|
+
default?: (props: {}) => any;
|
|
21
|
+
} & {
|
|
22
|
+
toolbar?: (props: {}) => any;
|
|
23
|
+
}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
2
|
+
import { getRecordFromLocation } from "@chelone/core";
|
|
3
|
+
import { useCreateController } from "../../../controllers/use-create-controller.js";
|
|
4
|
+
import { useForm } from "../../../form/use-form.js";
|
|
5
|
+
import { useTranslate } from "../../../i18n/use-translate.js";
|
|
6
|
+
import { useGetResourceLabel } from "../../../label/use-get-resource-label.js";
|
|
7
|
+
import { useRouterAdapterOptional } from "../../../router/adapter.js";
|
|
8
|
+
import { useRedirectOptional } from "../../../router/nav-composables.js";
|
|
9
|
+
import { useResourceContext, provideResourceContext } from "../../../resource-context.js";
|
|
10
|
+
const _hoisted_1 = { "data-slot": "create" };
|
|
11
|
+
const _hoisted_2 = { class: "flex justify-between items-start flex-wrap gap-2 my-2" };
|
|
12
|
+
const _hoisted_3 = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "text-2xl font-bold tracking-tight"
|
|
15
|
+
};
|
|
16
|
+
const _hoisted_4 = { class: "my-2" };
|
|
17
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
|
+
__name: "create",
|
|
19
|
+
props: {
|
|
20
|
+
resource: {},
|
|
21
|
+
record: {},
|
|
22
|
+
title: {},
|
|
23
|
+
redirectOnSave: { type: Boolean, default: true },
|
|
24
|
+
validate: {},
|
|
25
|
+
schema: {},
|
|
26
|
+
sanitizeEmptyValues: { type: Boolean },
|
|
27
|
+
onSuccess: {}
|
|
28
|
+
},
|
|
29
|
+
setup(__props) {
|
|
30
|
+
const props = __props;
|
|
31
|
+
const resource = props.resource ?? useResourceContext();
|
|
32
|
+
if (!resource) {
|
|
33
|
+
throw new Error(
|
|
34
|
+
"<Create>: no resource. Pass a `resource` prop or render inside a <Resource>."
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
provideResourceContext(resource);
|
|
38
|
+
const adapter = useRouterAdapterOptional();
|
|
39
|
+
const recordFromLocation = adapter ? getRecordFromLocation(adapter.useLocation().value) : null;
|
|
40
|
+
const seed = { ...props.record, ...recordFromLocation };
|
|
41
|
+
const create = useCreateController({ resource, record: seed });
|
|
42
|
+
const redirect = useRedirectOptional();
|
|
43
|
+
const translate = useTranslate();
|
|
44
|
+
const getResourceLabel = useGetResourceLabel();
|
|
45
|
+
const defaultTitle = computed(
|
|
46
|
+
() => translate("ra.page.create", { name: getResourceLabel(resource, 1) })
|
|
47
|
+
);
|
|
48
|
+
const form = useForm({
|
|
49
|
+
resource,
|
|
50
|
+
record: seed,
|
|
51
|
+
// The form captures its options once: always hand it this wrapper, so a
|
|
52
|
+
// `validate` set after setup still runs, as of the live prop.
|
|
53
|
+
validate: (values) => props.validate?.(values),
|
|
54
|
+
schema: props.schema,
|
|
55
|
+
sanitizeEmptyValues: props.sanitizeEmptyValues,
|
|
56
|
+
getRecord: () => seed,
|
|
57
|
+
// Rebaselined to the SERVER record in `onSaved` (as React's composed form
|
|
58
|
+
// does), so `onSuccess` sees the reconciled form.
|
|
59
|
+
resetOnSuccess: false,
|
|
60
|
+
onSubmit: async (data) => {
|
|
61
|
+
const errors = await create.save(data, {
|
|
62
|
+
onSaved: async (saved) => {
|
|
63
|
+
form.reset(saved);
|
|
64
|
+
await props.onSuccess?.(saved);
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
if (!errors && props.redirectOnSave) {
|
|
68
|
+
redirect("list", resource);
|
|
69
|
+
}
|
|
70
|
+
return errors;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
return (_ctx, _cache) => {
|
|
74
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
75
|
+
createElementVNode("div", _hoisted_2, [
|
|
76
|
+
__props.title !== "" ? (openBlock(), createElementBlock("h2", _hoisted_3, toDisplayString(__props.title ?? defaultTitle.value), 1)) : createCommentVNode("", true),
|
|
77
|
+
renderSlot(_ctx.$slots, "actions")
|
|
78
|
+
]),
|
|
79
|
+
createElementVNode("div", _hoisted_4, [
|
|
80
|
+
renderSlot(_ctx.$slots, "default"),
|
|
81
|
+
renderSlot(_ctx.$slots, "toolbar")
|
|
82
|
+
])
|
|
83
|
+
]);
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
export {
|
|
88
|
+
_sfc_main as default
|
|
89
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { EditFormControllerOptions, Identifier } from "@chelone/core";
|
|
2
|
+
/** Props for {@link Edit}. */
|
|
3
|
+
export interface EditProps extends Pick<EditFormControllerOptions<Record<string, unknown>>, "validate" | "schema" | "sanitizeEmptyValues" | "onSuccess"> {
|
|
4
|
+
resource?: string;
|
|
5
|
+
id?: Identifier;
|
|
6
|
+
title?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Redirect to the list on a successful save (the default). Vue coerces an
|
|
9
|
+
* absent Boolean prop to `false`, so this MUST default via `withDefaults`
|
|
10
|
+
* (otherwise omitting it silently disables the redirect); pass `false` to
|
|
11
|
+
* stay on the form after save.
|
|
12
|
+
*/
|
|
13
|
+
redirectOnSave?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<EditProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<EditProps> & Readonly<{}>, {
|
|
16
|
+
redirectOnSave: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
18
|
+
actions?: (props: {}) => any;
|
|
19
|
+
} & {
|
|
20
|
+
default?: (props: {}) => any;
|
|
21
|
+
} & {
|
|
22
|
+
toolbar?: (props: {}) => any;
|
|
23
|
+
}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|