@nxgt/material 2.0.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +330 -485
- package/dist/_Uint8Array-BlYETJ93.js +127 -0
- package/dist/abnfDiagram-O67JEVCF-UBHbDvRt.js +89 -0
- package/dist/architectureDiagram-NJMV4G6O-YUaZEFrZ.js +4146 -0
- package/dist/blockDiagram-BEXU5L5S-LYb2ZWFy.js +1946 -0
- package/dist/c4Diagram-YGBWAQC7-C-2N38iN.js +2990 -0
- package/dist/channel-CUIVvEUM.js +5 -0
- package/dist/chunk-3FUC2YCW-uD4dp-_M.js +364 -0
- package/dist/chunk-5DYCD2WN-B2Jnu3zk.js +37 -0
- package/dist/chunk-6AEJRKK7-C9kihZu8.js +10 -0
- package/dist/chunk-742MDFTN-C8SK_MEU.js +275 -0
- package/dist/chunk-7INBJB4K-CyUOVm3_.js +4487 -0
- package/dist/chunk-7M6MHVWA-stRISv0F.js +4256 -0
- package/dist/chunk-7PRAP22T-DSh07ASj.js +67 -0
- package/dist/chunk-GNY47TPC-CNRH-hmN.js +75 -0
- package/dist/chunk-GTNCS2PH-Dd-9mUKz.js +490 -0
- package/dist/chunk-GWA4HPMP-LeZ8CTY7.js +61 -0
- package/dist/chunk-MBY4JIJT-efJLM0ZL.js +1847 -0
- package/dist/chunk-NETBCI7D-Dh3LtOKr.js +236 -0
- package/dist/chunk-O7XYJQB3-CocGKgmL.js +3922 -0
- package/dist/chunk-UA2S7LBM-C81eiQ4_.js +363 -0
- package/dist/chunk-WEXAMYUT-Dt2jrFYj.js +26 -0
- package/dist/chunk-XXDRQBXY-mQqOBHO_.js +9 -0
- package/dist/chunk-Z7XXMR3K-D00WQ1MY.js +677 -0
- package/dist/chunk-ZIGJFQKS-Dqo-x9kg.js +663 -0
- package/dist/classDiagram-v2-NBCMYWYE-C4ucYlr1.js +3397 -0
- package/dist/client-only.utils-ojMUdy5B.js +340 -0
- package/dist/components/components.css +22 -0
- package/dist/components/ui/actions/button-group/button-group.css +12 -0
- package/dist/components/ui/display/code/code-moonlight.css +73 -0
- package/dist/components/ui/fields/attributes/attribute-form/attribute-form.css +21 -0
- package/dist/components/ui/fields/attributes/attribute-values-form/attribute-values-form.css +21 -0
- package/dist/components/ui/fields/contacts/contact-item.css +9 -0
- package/dist/components/ui/fields/opening-hours/opening-hours-item.css +9 -0
- package/dist/components/ui/layout/app-bar/bottom-app-bar.css +12 -0
- package/dist/components-DqMrnRRo.js +189618 -0
- package/dist/components.js +7 -4
- package/dist/cose-bilkent-JH36ORCC-BgR2hiLh.js +2251 -0
- package/dist/cynefinDiagram-VND7K2PF-wsthSZGu.js +349 -0
- package/dist/dagre-6A5THRUB-D9hh4vCU.js +2193 -0
- package/dist/diagram-22UHCM2B-Bu26TJjA.js +5084 -0
- package/dist/diagram-3UASUU5V-BEydDExL.js +724 -0
- package/dist/diagram-ATOU4E4O-DNtxHPVW.js +432 -0
- package/dist/diagram-CDSNMT55-BrwCxgMX.js +301 -0
- package/dist/diagram-MLGK6HIB-Bk26pSvC.js +134 -0
- package/dist/diagram-MPIPVDR6-Bl3F8b-U.js +214 -0
- package/dist/dist-C-0DUGrt.js +16576 -0
- package/dist/dist-CZn89tDX.js +50 -0
- package/dist/dnd.js +1 -1
- package/dist/ebnfDiagram-ZINNZB2B-C7vCu85A.js +100 -0
- package/dist/elk-276RUBZZ-ChJLevem.js +47598 -0
- package/dist/erDiagram-OPXOYQCR-DLzDCh2a.js +1970 -0
- package/dist/field-blur-CtjbtCDw.js +3486 -0
- package/dist/flowDiagram-KWPJA3E3-uiZryqlC.js +17 -0
- package/dist/ganttDiagram-FUAMR5RP-35sd5PoK.js +2929 -0
- package/dist/gitGraphDiagram-X574FWY7-Z7zhlcB8.js +729 -0
- package/dist/graphlib-DlxAzBTD.js +495 -0
- package/dist/hooks.js +97 -3
- package/dist/i18n-provider-BUQY82bS.js +43 -0
- package/dist/i18n.js +46 -2
- package/dist/icon-button-38As1vrs.js +2718 -0
- package/dist/infoDiagram-VRGFBTTK-BwoHwPPX.js +20 -0
- package/dist/isArrayLikeObject-DsRXN32g.js +86 -0
- package/dist/ishikawaDiagram-OU5B5YK6-C-aWtSta.js +719 -0
- package/dist/journeyDiagram-ZHPQQLJL-vXvTzJwE.js +884 -0
- package/dist/kanban-definition-PNTS6WVX-Co0CvKcV.js +976 -0
- package/dist/lib/components/index.d.ts +10 -151
- package/dist/lib/components/ui/actions/action-card/action-card.d.ts +11 -0
- package/dist/lib/components/ui/actions/action-card/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/button/button.d.ts +16 -0
- package/dist/lib/components/ui/actions/button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/button-group/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/copy-button/copy-button.d.ts +9 -0
- package/dist/lib/components/ui/actions/highlight-text/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/icon-button/icon-badge.d.ts +15 -0
- package/dist/lib/components/ui/actions/icon-button/icon-button.d.ts +11 -0
- package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +5 -0
- package/dist/lib/components/ui/actions/icon-button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/index.d.ts +13 -0
- package/dist/lib/components/ui/actions/language-switcher/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/language-switcher/language-switcher.d.ts +6 -0
- package/dist/lib/components/ui/actions/link/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/link/link.d.ts +9 -0
- package/dist/lib/components/ui/actions/load-more-button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/load-more-button/load-more-button.d.ts +25 -0
- package/dist/lib/components/ui/actions/responsive-button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/responsive-button/responsive-button.d.ts +7 -0
- package/dist/lib/components/ui/actions/scroll-to-top/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/scroll-to-top/scroll-to-top.d.ts +20 -0
- package/dist/lib/components/ui/actions/split-button/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/split-button/split-button.d.ts +8 -0
- package/dist/lib/components/ui/actions/theme-toggle/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/theme-toggle/theme-toggle.d.ts +6 -0
- package/dist/lib/components/ui/collections/data-table/index.d.ts +7 -0
- package/dist/lib/components/ui/collections/data-table/partials/data-table-body.d.ts +13 -0
- package/dist/lib/components/ui/collections/data-table/partials/data-table-head.d.ts +6 -0
- package/dist/lib/components/ui/collections/data-table/table-meta.d.ts +13 -0
- package/dist/lib/components/ui/collections/data-table/use-data-table.d.ts +16 -0
- package/dist/lib/components/ui/collections/filter/consts.d.ts +61 -0
- package/dist/lib/components/ui/collections/filter/filter-form-field.d.ts +52 -0
- package/dist/lib/components/ui/collections/filter/filter-schema.utils.d.ts +34 -0
- package/dist/lib/components/ui/collections/filter/filter-trigger.d.ts +6 -0
- package/dist/lib/components/ui/collections/filter/filter-value.utils.d.ts +31 -0
- package/dist/lib/components/ui/collections/filter/index.d.ts +21 -0
- package/dist/lib/components/ui/collections/index.d.ts +5 -0
- package/dist/lib/components/ui/dates/calendar/calendar.d.ts +12 -0
- package/dist/lib/components/ui/dates/calendar/index.d.ts +1 -0
- package/dist/lib/components/ui/dates/date-field/date-field-trigger.d.ts +12 -0
- package/dist/lib/components/ui/dates/date-field/date-field.d.ts +33 -0
- package/dist/lib/components/ui/dates/date-field/date-form-field.d.ts +3 -0
- package/dist/lib/components/ui/dates/date-field/index.d.ts +3 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-field-trigger.d.ts +12 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-field.d.ts +29 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-form-field.d.ts +3 -0
- package/dist/lib/components/ui/dates/date-range-field/index.d.ts +3 -0
- package/dist/lib/components/ui/dates/duration-field/duration-form-field.d.ts +3 -0
- package/dist/lib/components/ui/dates/duration-field/duration-group-a11y.d.ts +15 -0
- package/dist/lib/components/ui/dates/duration-field/index.d.ts +4 -0
- package/dist/lib/components/ui/dates/index.d.ts +6 -0
- package/dist/lib/components/ui/dates/picker-trigger/index.d.ts +3 -0
- package/dist/lib/components/ui/dates/picker-trigger/picker-field-frame.d.ts +30 -0
- package/dist/lib/components/ui/dates/picker-trigger/picker-trigger-a11y.d.ts +35 -0
- package/dist/lib/components/ui/dates/picker-trigger/picker-trigger-attrs.d.ts +25 -0
- package/dist/lib/components/ui/dates/time-field/index.d.ts +3 -0
- package/dist/lib/components/ui/dates/time-field/partials/time-field-overlay.d.ts +17 -0
- package/dist/lib/components/ui/dates/time-field/partials/time-field-picker.d.ts +12 -0
- package/dist/lib/components/ui/dates/time-field/partials/time-field-trigger.d.ts +13 -0
- package/dist/lib/components/ui/dates/time-field/time-field.d.ts +22 -0
- package/dist/lib/components/ui/dates/time-field/time-form-field.d.ts +5 -0
- package/dist/lib/components/ui/display/accordion-card/accordion-card.d.ts +13 -0
- package/dist/lib/components/ui/display/accordion-card/index.d.ts +1 -0
- package/dist/lib/components/ui/display/api-endpoint/index.d.ts +1 -0
- package/dist/lib/components/ui/display/api-operation/api-operation.d.ts +13 -0
- package/dist/lib/components/ui/display/api-operation/index.d.ts +1 -0
- package/dist/lib/components/ui/display/avatar/avatar.d.ts +15 -0
- package/dist/lib/components/ui/display/avatar/index.d.ts +1 -0
- package/dist/lib/components/ui/display/badge/badge.d.ts +9 -0
- package/dist/lib/components/ui/display/badge/index.d.ts +1 -0
- package/dist/lib/components/ui/display/barecode/barecode.d.ts +6 -0
- package/dist/lib/components/ui/display/barecode/index.d.ts +1 -0
- package/dist/lib/components/ui/display/cards/types.d.ts +187 -0
- package/dist/lib/components/ui/display/chip/chip.d.ts +11 -0
- package/dist/lib/components/ui/display/chip/index.d.ts +1 -0
- package/dist/lib/components/ui/display/chip/partials/chip-body.d.ts +9 -0
- package/dist/lib/components/ui/display/chip/partials/chip-dismiss-button.d.ts +9 -0
- package/dist/lib/components/ui/display/code/parse-json.d.ts +14 -0
- package/dist/lib/components/ui/display/count-badge/count-badge.d.ts +10 -0
- package/dist/lib/components/ui/display/count-badge/index.d.ts +1 -0
- package/dist/lib/components/ui/display/description/index.d.ts +1 -0
- package/dist/lib/components/ui/display/entity-header/entity-header.d.ts +13 -0
- package/dist/lib/components/ui/display/entity-header/index.d.ts +1 -0
- package/dist/lib/components/ui/display/figure/index.d.ts +1 -0
- package/dist/lib/components/ui/display/index.d.ts +25 -0
- package/dist/lib/components/ui/display/list-tile/index.d.ts +1 -0
- package/dist/lib/components/ui/display/markdown/markdown.d.ts +7 -0
- package/dist/lib/components/ui/display/metrics/types.d.ts +125 -0
- package/dist/lib/components/ui/display/param-table/index.d.ts +1 -0
- package/dist/lib/components/ui/display/qrcode/index.d.ts +1 -0
- package/dist/lib/components/ui/display/qrcode/qrcode.d.ts +7 -0
- package/dist/lib/components/ui/display/stat-card/stat-card.d.ts +13 -0
- package/dist/lib/components/ui/display/status-indicator/index.d.ts +1 -0
- package/dist/lib/components/ui/display/summary-data/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/alert/alert.d.ts +12 -0
- package/dist/lib/components/ui/feedback/alert/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/alert-dialog/alert-dialog.d.ts +15 -0
- package/dist/lib/components/ui/feedback/alert-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/circular-progress/circular-progress.d.ts +20 -0
- package/dist/lib/components/ui/feedback/circular-progress/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/confirm-dialog/confirm-dialog.d.ts +18 -0
- package/dist/lib/components/ui/feedback/confirm-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/confirmation-dialog/confirmation-dialog.d.ts +22 -0
- package/dist/lib/components/ui/feedback/confirmation-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/custom-alert-dialog/custom-alert-dialog.d.ts +10 -0
- package/dist/lib/components/ui/feedback/custom-alert-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/custom-dialog/custom-dialog.d.ts +10 -0
- package/dist/lib/components/ui/feedback/custom-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/empty-state/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/hydrate-loading/hydrate-loading.d.ts +9 -0
- package/dist/lib/components/ui/feedback/hydrate-loading/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/index.d.ts +4 -2
- package/dist/lib/components/ui/feedback/progress/index.d.ts +2 -0
- package/dist/lib/components/ui/feedback/scroll-progress/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/skeleton/skeleton-card.d.ts +4 -0
- package/dist/lib/components/ui/feedback/spinner/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/spinner/spinner.d.ts +9 -0
- package/dist/lib/components/ui/feedback/toast/index.d.ts +2 -0
- package/dist/lib/components/ui/feedback/toast/toasts.d.ts +41 -0
- package/dist/lib/components/ui/fields/attributes/attribute-dialog.d.ts +10 -0
- package/dist/lib/components/ui/fields/attributes/attribute-form/attribute-value-form-field.d.ts +12 -0
- package/dist/lib/components/ui/fields/attributes/attribute-form/consts.d.ts +45 -0
- package/dist/lib/components/ui/fields/attributes/attribute-values-form/attribute-values-form.d.ts +15 -0
- package/dist/lib/components/ui/fields/attributes/attribute-values-form-field-set/attribute-values-form-field-set.d.ts +12 -0
- package/dist/lib/components/ui/fields/attributes/attributes-field/attributes-field.d.ts +12 -0
- package/dist/lib/components/ui/fields/attributes/attributes-field/state.d.ts +14 -0
- package/dist/lib/components/ui/fields/attributes/attributes-form-field/attributes-form-field.d.ts +13 -0
- package/dist/lib/components/ui/fields/attributes/attributes-list/attributes-list.d.ts +11 -0
- package/dist/lib/components/ui/fields/attributes/consts.d.ts +2 -0
- package/dist/lib/components/ui/fields/attributes/utils.d.ts +4 -0
- package/dist/lib/components/ui/fields/color-field/color-field.d.ts +8 -0
- package/dist/lib/components/ui/fields/color-field/color-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/color-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/contacts/contact-item.d.ts +21 -0
- package/dist/lib/components/ui/fields/contacts/utils.d.ts +11 -0
- package/dist/lib/components/ui/fields/country-field/country-field.d.ts +20 -0
- package/dist/lib/components/ui/fields/country-field/country-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/country-field/index.d.ts +3 -0
- package/dist/lib/components/ui/fields/currency-field/currency-digits.d.ts +7 -0
- package/dist/lib/components/ui/fields/currency-field/currency-field.d.ts +15 -0
- package/dist/lib/components/ui/fields/currency-field/currency-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/currency-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/email-field/email-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/email-field/email-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/email-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/field/types.d.ts +67 -0
- package/dist/lib/components/ui/fields/index.d.ts +24 -0
- package/dist/lib/components/ui/fields/inline-edit/index.d.ts +3 -0
- package/dist/lib/components/ui/fields/inline-edit/inline-edit-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/input-group-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/input-group-field/input-group-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/number-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/number-field/number-field.d.ts +24 -0
- package/dist/lib/components/ui/fields/number-field/number-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/opening-hours/consts.d.ts +18 -0
- package/dist/lib/components/ui/fields/opening-hours/opening-hours-item.d.ts +21 -0
- package/dist/lib/components/ui/fields/otp-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/otp-field/otp-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/password-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/password-field/password-field.d.ts +8 -0
- package/dist/lib/components/ui/fields/password-field/password-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/percent-field/index.d.ts +3 -0
- package/dist/lib/components/ui/fields/percent-field/percent-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/percent-field/percent-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/phone-field/index.d.ts +7 -0
- package/dist/lib/components/ui/fields/phone-field/phone-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/rating-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/rating-field/rating-field.d.ts +23 -0
- package/dist/lib/components/ui/fields/rating-field/rating-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/search-field/index.d.ts +5 -0
- package/dist/lib/components/ui/fields/search-field/search-field.d.ts +11 -0
- package/dist/lib/components/ui/fields/search-field/search-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/slider/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/slider/slider-control.d.ts +12 -0
- package/dist/lib/components/ui/fields/slider/slider-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/slider/slider-thumb-names.d.ts +19 -0
- package/dist/lib/components/ui/fields/slider/slider.d.ts +13 -0
- package/dist/lib/components/ui/fields/switch/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/switch/partials/switch-control.d.ts +4 -0
- package/dist/lib/components/ui/fields/switch/partials/switch-row.d.ts +15 -0
- package/dist/lib/components/ui/fields/switch/switch-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/switch/switch.utils.d.ts +27 -0
- package/dist/lib/components/ui/fields/switch/use-switch-checked.d.ts +13 -0
- package/dist/lib/components/ui/fields/switch/use-switch-state.d.ts +32 -0
- package/dist/lib/components/ui/fields/text-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/text-field/text-field.d.ts +10 -0
- package/dist/lib/components/ui/fields/text-field/text-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/textarea-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/textarea-field/textarea-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/timezone-field/index.d.ts +5 -0
- package/dist/lib/components/ui/fields/timezone-field/timezone-field.d.ts +5 -0
- package/dist/lib/components/ui/fields/timezone-field/timezone-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/url-field/index.d.ts +4 -0
- package/dist/lib/components/ui/fields/url-field/url-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/url-field/url-form-field.d.ts +3 -0
- package/dist/lib/components/ui/forms/array-error-message.d.ts +7 -0
- package/dist/lib/components/ui/forms/field-blur-context.d.ts +19 -0
- package/dist/lib/components/ui/forms/field-blur-layers.d.ts +34 -0
- package/dist/lib/components/ui/forms/field-blur.d.ts +11 -0
- package/dist/lib/components/ui/forms/form-field.d.ts +1 -1
- package/dist/lib/components/ui/forms/form-field.wiring.d.ts +11 -0
- package/dist/lib/components/ui/forms/index.d.ts +0 -44
- package/dist/lib/components/ui/forms/select-choice.utils.d.ts +9 -0
- package/dist/lib/components/ui/forms/use-field-blur.d.ts +27 -0
- package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.d.ts +24 -0
- package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.utils.d.ts +14 -0
- package/dist/lib/components/ui/layout/app-shell/app-sidebar.d.ts +17 -0
- package/dist/lib/components/ui/layout/app-shell/types.d.ts +24 -0
- package/dist/lib/components/ui/layout/background/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/breadcrumb/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/doc/doc.utils.d.ts +29 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-empty.d.ts +3 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-progress.d.ts +3 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-skip-link.d.ts +2 -0
- package/dist/lib/components/ui/layout/hero/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/index.d.ts +16 -0
- package/dist/lib/components/ui/layout/list-details-layout/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/list-details-layout/list-details-layout.d.ts +22 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-context.d.ts +13 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-details.d.ts +8 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-list.d.ts +9 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-trigger.d.ts +11 -0
- package/dist/lib/components/ui/layout/pager/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/pane-layout/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/pane-layout/pane-layout.d.ts +22 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-content.d.ts +9 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-context.d.ts +13 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-pane.d.ts +11 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-trigger.d.ts +10 -0
- package/dist/lib/components/ui/layout/resizable/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/responsive-grid/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/see-also/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/sidebar/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/skip-link/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/steps/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/thread-layout/index.d.ts +1 -0
- package/dist/lib/components/ui/layout/toc/index.d.ts +1 -0
- package/dist/lib/components/ui/media/camera/types.d.ts +38 -0
- package/dist/lib/components/ui/media/carousel/carousel.d.ts +19 -0
- package/dist/lib/components/ui/media/carousel/index.d.ts +1 -0
- package/dist/lib/components/ui/media/file-list/file-list-field.d.ts +12 -0
- package/dist/lib/components/ui/media/file-list/file-list-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/file-list/file-list-s3-field.d.ts +6 -0
- package/dist/lib/components/ui/media/file-list/file-list-s3-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/file-list/index.d.ts +10 -0
- package/dist/lib/components/ui/media/files-form-field/files-form-field.d.ts +9 -0
- package/dist/lib/components/ui/media/files-form-field/index.d.ts +1 -0
- package/dist/lib/components/ui/media/image-field/image-field-actions.d.ts +12 -0
- package/dist/lib/components/ui/media/image-field/image-field.d.ts +10 -0
- package/dist/lib/components/ui/media/image-field/image-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/image-field/image-s3-field.d.ts +6 -0
- package/dist/lib/components/ui/media/image-field/image-s3-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/image-field/index.d.ts +6 -0
- package/dist/lib/components/ui/media/image-field/partials/image-field-body.d.ts +14 -0
- package/dist/lib/components/ui/media/image-field/partials/image-field-frame.d.ts +16 -0
- package/dist/lib/components/ui/media/image-field/partials/image-field-picker.d.ts +8 -0
- package/dist/lib/components/ui/media/image-field/use-image-field.d.ts +52 -0
- package/dist/lib/components/ui/media/index.d.ts +11 -0
- package/dist/lib/components/ui/media/pdf-viewer/index.d.ts +19 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-document-search.d.ts +44 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-note-icons.d.ts +11 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-note-icons.data.d.ts +2 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-page-geometry.d.ts +57 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-page-list.d.ts +20 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-page-sizes.d.ts +37 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-body.d.ts +32 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-keyboard.d.ts +17 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-states.d.ts +14 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader.d.ts +9 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-reader.reducer.d.ts +66 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-scroll-spy.d.ts +42 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-sidebar.d.ts +17 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-text-search.d.ts +25 -0
- package/dist/lib/components/ui/media/pdf-viewer/pdf-thumbnail-sidebar.d.ts +13 -0
- package/dist/lib/components/ui/media/pdf-viewer/types.d.ts +73 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-document-search.d.ts +10 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-file-actions.d.ts +15 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-fullscreen.d.ts +6 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-outline-select.d.ts +9 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-page-area.d.ts +12 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-page-report.d.ts +16 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-reader.d.ts +32 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-scroll-spy.d.ts +16 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-search-hits.d.ts +44 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-search-open.d.ts +12 -0
- package/dist/lib/components/ui/media/pdf-viewer/use-pdf-source.d.ts +12 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/index.d.ts +2 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-dropzone.d.ts +18 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.slice.d.ts +253 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.utils.d.ts +46 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-field-items.d.ts +16 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-item-actions.d.ts +8 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-item-details.d.ts +5 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/partials/network-upload-item-thumbnail.d.ts +5 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/upload-constraints.d.ts +11 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/upload-display-items.d.ts +12 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-add-local-item.d.ts +18 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-image-preview.d.ts +2 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-network-upload-field.d.ts +18 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-network-upload-item.d.ts +24 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-start-upload.d.ts +15 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-upload-commit.d.ts +10 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-upload-item-handlers.d.ts +25 -0
- package/dist/lib/components/ui/media/upload/network-upload-field/use-upload-items.d.ts +13 -0
- package/dist/lib/components/ui/media/upload/s3-upload-field/index.d.ts +2 -0
- package/dist/lib/components/ui/media/upload/s3-upload-field/s3-upload-field.d.ts +12 -0
- package/dist/lib/components/ui/media/upload/s3-upload-field/s3-upload-form-field.d.ts +3 -0
- package/dist/lib/components/ui/media/upload-field/index.d.ts +2 -0
- package/dist/lib/components/ui/media/upload-field/upload-field.d.ts +14 -0
- package/dist/lib/components/ui/media/upload-field/upload-form-field.d.ts +3 -0
- package/dist/lib/components/ui/overlays/command/command.d.ts +16 -0
- package/dist/lib/components/ui/overlays/command/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/context-menu/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/dialog/dialog.d.ts +14 -0
- package/dist/lib/components/ui/overlays/dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/dialog/use-return-focus.d.ts +32 -0
- package/dist/lib/components/ui/overlays/drawer/drawer.d.ts +14 -0
- package/dist/lib/components/ui/overlays/drawer/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/dropdown-menu/dropdown-menu.d.ts +33 -0
- package/dist/lib/components/ui/overlays/dropdown-menu/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/hover-card/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/index.d.ts +10 -0
- package/dist/lib/components/ui/overlays/menubar/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/menubar/menubar.d.ts +30 -0
- package/dist/lib/components/ui/overlays/popover/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/sheet/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/sheet/sheet.d.ts +15 -0
- package/dist/lib/components/ui/overlays/tooltip/index.d.ts +1 -0
- package/dist/lib/components/ui/overlays/tooltip/tooltip.d.ts +18 -0
- package/dist/lib/components/ui/primitives/accordion/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/activity/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/anchor-heading/anchor-heading.d.ts +9 -0
- package/dist/lib/components/ui/primitives/anchor-heading/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/card/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/collapsible/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/extended-label/extended-label.d.ts +7 -0
- package/dist/lib/components/ui/primitives/extended-label/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/helper-text/helper-text.d.ts +5 -0
- package/dist/lib/components/ui/primitives/helper-text/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/icon/icon-context.d.ts +10 -0
- package/dist/lib/components/ui/primitives/icon/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/index.d.ts +20 -0
- package/dist/lib/components/ui/primitives/input/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/input/input-box.d.ts +10 -0
- package/dist/lib/components/ui/primitives/input/input.d.ts +9 -0
- package/dist/lib/components/ui/primitives/input-group/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/input-group/input-group.d.ts +13 -0
- package/dist/lib/components/ui/primitives/kbd/index.d.ts +2 -0
- package/dist/lib/components/ui/primitives/label/field-group.d.ts +62 -0
- package/dist/lib/components/ui/primitives/label/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/scroll-area/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/separator/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/table/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/tabs/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/textarea/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/toggle/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/toggle/toggle.d.ts +9 -0
- package/dist/lib/components/ui/primitives/toggle-group/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/toggle-group/toggle-group.d.ts +9 -0
- package/dist/lib/components/ui/primitives/typography/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/autocomplete/autocomplete-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/autocomplete/autocomplete.d.ts +37 -0
- package/dist/lib/components/ui/selection/autocomplete/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-chips.d.ts +8 -0
- package/dist/lib/components/ui/selection/check-card-field/check-card-field.d.ts +13 -0
- package/dist/lib/components/ui/selection/check-card-field/check-card-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/check-card-field/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/checkbox/checkbox-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/checkbox/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +15 -0
- package/dist/lib/components/ui/selection/checkbox-group/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/combobox/combobox-anchor.d.ts +3 -0
- package/dist/lib/components/ui/selection/combobox/combobox-chips.d.ts +12 -0
- package/dist/lib/components/ui/selection/combobox/combobox-input.d.ts +7 -0
- package/dist/lib/components/ui/selection/combobox/combobox.d.ts +19 -0
- package/dist/lib/components/ui/selection/combobox/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/combobox-field/combobox-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/combobox-field/index.d.ts +3 -0
- package/dist/lib/components/ui/selection/index.d.ts +14 -0
- package/dist/lib/components/ui/selection/radio-group/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/radio-group/radio-group-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +16 -0
- package/dist/lib/components/ui/selection/select/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/select-card-field/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/select-card-field/select-card-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/select-chip-field/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/select-chip-field/select-chip-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/select-field/index.d.ts +2 -0
- package/dist/lib/components/ui/selection/select-field/select-field.d.ts +20 -0
- package/dist/lib/components/ui/selection/select-field/select-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/sortable-list/index.d.ts +5 -0
- package/dist/lib/components/ui/selection/sortable-list/sortable-list-form-field.d.ts +3 -0
- package/dist/lib/components/ui/selection/switcher/index.d.ts +1 -0
- package/dist/lib/components/ui/selection/switcher/switcher.d.ts +15 -0
- package/dist/lib/components/ui/selection/transfer-list/index.d.ts +4 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-board.d.ts +36 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-droppable.d.ts +13 -0
- package/dist/lib/components/ui/selection/transfer-list/partials/transfer-list-pane.d.ts +38 -0
- package/dist/lib/components/ui/selection/transfer-list/transfer-list-form-field.d.ts +3 -0
- package/dist/lib/components/ui/widgets/chat/chat-composer-mentions.d.ts +8 -0
- package/dist/lib/components/ui/widgets/chat/chat-composer.d.ts +24 -0
- package/dist/lib/components/ui/widgets/chat/chat-markdown.d.ts +6 -0
- package/dist/lib/components/ui/widgets/chat/index.d.ts +13 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-composer-attachments.d.ts +18 -0
- package/dist/lib/components/ui/widgets/chat/partials/chat-composer-input.d.ts +26 -0
- package/dist/lib/components/ui/widgets/chat/use-chat-composer-attachments.d.ts +25 -0
- package/dist/lib/components/ui/widgets/chat/use-chat-composer.d.ts +38 -0
- package/dist/lib/components/ui/widgets/code-editor/code-editor-form-field.d.ts +3 -0
- package/dist/lib/components/ui/widgets/code-editor/code-editor-options.d.ts +16 -0
- package/dist/lib/components/ui/widgets/code-editor/index.d.ts +2 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar-events.utils.d.ts +14 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-event-chip.d.ts +8 -0
- package/dist/lib/components/ui/widgets/index.d.ts +9 -0
- package/dist/lib/components/ui/widgets/kanban/kanban.utils.d.ts +24 -0
- package/dist/lib/components/ui/widgets/mentions/index.d.ts +3 -0
- package/dist/lib/components/ui/widgets/mentions/mentions.utils.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-dialog.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-form.d.ts +15 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/radio-group/radio-group-edit-dialog.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/radio-group/radio-group-edit-form.d.ts +15 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/select-chip/select-chip-edit-dialog.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/select-chip/select-chip-edit-form.d.ts +15 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/shared/index.d.ts +3 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/custom/shared/use-node-form.d.ts +35 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/extensions.d.ts +24 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/index.d.ts +3 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/mention-items.d.ts +5 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/mention-list.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/mention/suggestions.d.ts +10 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/slash-command/extension.d.ts +10 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/slash-command/slash-command-items.d.ts +15 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/partials/table-menu-cells.d.ts +7 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/partials/table-menu-structure.d.ts +7 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/partials/table-menu-table-actions.d.ts +7 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/extensions/table/use-table-menu-state.d.ts +17 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/index.d.ts +2 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/rich-text-editor-attributes.d.ts +12 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/rich-text-editor-form-field.d.ts +3 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/rich-text-editor-wrapper.d.ts +14 -0
- package/dist/lib/components/ui/widgets/rich-text-editor/types.d.ts +34 -0
- package/dist/lib/dnd/index.d.ts +1 -1
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/theme-store.d.ts +9 -0
- package/dist/lib/hooks/use-allowed-transitions.d.ts +3 -3
- package/dist/lib/hooks/use-formatters.d.ts +14 -0
- package/dist/lib/hooks/use-fullscreen-element.d.ts +10 -0
- package/dist/lib/hooks/use-number-formatter.d.ts +5 -0
- package/dist/lib/hooks/use-ssr-media-query.d.ts +14 -0
- package/dist/lib/hooks/use-theme.d.ts +5 -0
- package/dist/lib/i18n/format-message.d.ts +18 -0
- package/dist/lib/i18n/index.d.ts +2 -1
- package/dist/lib/i18n/resources/en/en.d.ts +1204 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +375 -26
- package/dist/lib/i18n/resources/fr/fr.d.ts +1204 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +362 -13
- package/dist/lib/i18n/resources/resources.d.ts +2398 -0
- package/dist/lib/i18n/stored-language.d.ts +7 -0
- package/dist/lib/i18n/translate-material.d.ts +15 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/i18n/types.d.ts +1 -1
- package/dist/lib/i18n/use-material-translation.d.ts +7 -0
- package/dist/lib/lib/client-only.utils.d.ts +1 -1
- package/dist/lib/lib/index.d.ts +1 -0
- package/dist/lib/lib/pdf-download.d.ts +35 -0
- package/dist/lib/lib/pdf-file-name.d.ts +9 -0
- package/dist/lib/lib/pdf-source.d.ts +57 -0
- package/dist/lib/lib/print-format.utils.d.ts +59 -0
- package/dist/lib/lib/print-fraction-digits.d.ts +12 -0
- package/dist/lib/lib/print-table.utils.d.ts +60 -0
- package/dist/lib/lib/print-value.utils.d.ts +40 -0
- package/dist/lib/lib/react-node-text.d.ts +3 -0
- package/dist/lib/lib/read-storage.d.ts +9 -0
- package/dist/lib/lib/redux/filter-slice.d.ts +1 -1
- package/dist/lib/lib/redux/slice-server-state.d.ts +6 -0
- package/dist/lib/lib/redux/status-slice.d.ts +2 -2
- package/dist/lib/lib/redux/step-form-slice.d.ts +5 -21
- package/dist/lib/lib/zod-error-map.d.ts +26 -4
- package/dist/lib/map/components/consts.d.ts +6 -0
- package/dist/lib/map/components/index.d.ts +5 -0
- package/dist/lib/map/components/location-field.d.ts +10 -0
- package/dist/lib/map/components/location-form-field.d.ts +3 -0
- package/dist/lib/map/components/map.d.ts +6 -0
- package/dist/lib/map/components/partials/index.d.ts +5 -0
- package/dist/lib/map/components/partials/location-marker.d.ts +5 -0
- package/dist/lib/map/components/partials/location-preview.d.ts +7 -0
- package/dist/lib/map/components/partials/map-actions.d.ts +6 -0
- package/dist/lib/map/components/partials/marker.d.ts +11 -0
- package/dist/lib/map/components/partials/minimap-control.d.ts +5 -0
- package/dist/lib/map/index.d.ts +38 -0
- package/dist/lib/map/use-geolocation.d.ts +2 -0
- package/dist/lib/pdf-core/file-loader.d.ts +18 -0
- package/dist/lib/pdf-core/http.d.ts +22 -0
- package/dist/lib/pdf-core/index.d.ts +11 -0
- package/dist/lib/pdf-core/model/builders.d.ts +54 -0
- package/dist/lib/pdf-core/model/data-table.d.ts +24 -0
- package/dist/lib/pdf-core/model/index.d.ts +4 -0
- package/dist/lib/pdf-core/model/nodes.d.ts +133 -0
- package/dist/lib/pdf-core/model/theme.d.ts +16 -0
- package/dist/lib/pdf-core/model/types.d.ts +108 -0
- package/dist/lib/pdf-core/render/context.d.ts +50 -0
- package/dist/lib/pdf-core/render/document.d.ts +21 -0
- package/dist/lib/pdf-core/render/index.d.ts +5 -0
- package/dist/lib/pdf-core/render/nodes/blocks.d.ts +19 -0
- package/dist/lib/pdf-core/render/nodes/header.d.ts +14 -0
- package/dist/lib/pdf-core/render/nodes/layout.d.ts +44 -0
- package/dist/lib/pdf-core/render/nodes/table.d.ts +14 -0
- package/dist/lib/pdf-core/render/page.d.ts +30 -0
- package/dist/lib/pdf-core/render/render-node.d.ts +10 -0
- package/dist/lib/pdf-core/render/styles.d.ts +303 -0
- package/dist/lib/print/components/pdf-text.d.ts +8 -0
- package/dist/lib/print/components/print-data-table/index.d.ts +3 -0
- package/dist/lib/print/components/print-data-table/print-data-table.d.ts +30 -0
- package/dist/lib/print/components/print-data-table/print-key-value.d.ts +32 -0
- package/dist/lib/print/components/print-data-table/print-metric.d.ts +26 -0
- package/dist/lib/print/components/print-document/index.d.ts +1 -0
- package/dist/lib/print/components/print-document/print-document.d.ts +40 -0
- package/dist/lib/print/components/print-document/print-render-context.d.ts +11 -0
- package/dist/lib/print/components/print-header.d.ts +13 -8
- package/dist/lib/print/index.d.ts +7 -1
- package/dist/lib/print/output/download-pdf.d.ts +17 -0
- package/dist/lib/print/output/index.d.ts +7 -0
- package/dist/lib/print/output/pdf-response.d.ts +12 -0
- package/dist/lib/print/output/render-pdf.d.ts +14 -0
- package/dist/lib/print/output/to-pdf-element.d.ts +8 -0
- package/dist/lib/print/output/types.d.ts +19 -0
- package/dist/lib/print/output/use-pdf-file.d.ts +20 -0
- package/dist/lib/vite/index.d.ts +12 -11
- package/dist/lib-uF8iIfvP.js +366 -0
- package/dist/lib.js +5 -3
- package/dist/main.js +21 -8
- package/dist/map.js +301 -0
- package/dist/material.css +1 -1
- package/dist/merge-Z2oE4ahJ.js +172 -0
- package/dist/mermaid.core-6Yzht5pQ.js +1096 -0
- package/dist/mindmap-definition-NLK3R4M7-AxpMaPtm.js +1008 -0
- package/dist/number.utils-CRFiOD5c.js +2686 -0
- package/dist/pdf-download-hrKrI5_6.js +153 -0
- package/dist/pdf-note-icons.data-DtpqXoIm.js +17 -0
- package/dist/pegDiagram-GJSIUBJH-DjilqSgv.js +94 -0
- package/dist/pieDiagram-5QR66LMP-H8rVCHkC.js +157 -0
- package/dist/print-format.utils-B7K9qvuo.js +53 -0
- package/dist/print-fraction-digits-WtEBeztr.js +5 -0
- package/dist/print.js +1213 -123
- package/dist/quadrantDiagram-O4NWA36T-CEDIjm-K.js +2001 -0
- package/dist/railroadDiagram-XR7U4H2S-BxR9jg9Y.js +76 -0
- package/dist/requirementDiagram-PLB6GJNP-DAuKYcHc.js +2228 -0
- package/dist/sankeyDiagram-IPEJSGJF-C3JJqzLE.js +962 -0
- package/dist/sequenceDiagram-PO4LG4MO-Cs8x9lRY.js +4200 -0
- package/dist/sortable-provider-DalccwHj.js +2684 -0
- package/dist/src-BIbdeDuO.js +1775 -0
- package/dist/stateDiagram-v2-GCMORJYK-PpP0APmW.js +2143 -0
- package/dist/stored-language-BVYsloiW.js +2295 -0
- package/dist/styles.css +2 -0
- package/dist/swimlanes-2SLR337P-BmqILJTV.js +4763 -0
- package/dist/swimlanesDiagram-TC7HE7FX-DO3BxSlE.js +28 -0
- package/dist/timeline-definition-EJHVYXUP-CEOIzkcq.js +1073 -0
- package/dist/translate-material-BO32ZDCi.js +12 -0
- package/dist/translator-CiPgm2s3.js +2739 -0
- package/dist/use-heading-spy-DSs5Coe-.js +519 -0
- package/dist/use-material-translation-RhoPY_RC.js +14 -0
- package/dist/usecaseDiagram-POWQR4AR-CMvboR6A.js +9932 -0
- package/dist/vennDiagram-UO4OBE2U-xN_G4DeI.js +1880 -0
- package/dist/vite.js +1 -1
- package/dist/wardleyDiagram-VNRHLVJA-C0B-kQ2b.js +645 -0
- package/dist/xychartDiagram-PMCCYNJV-Crmi6_s-.js +2167 -0
- package/docs/README.md +19 -0
- package/docs/components/README.md +115 -0
- package/docs/components/buttons-and-actions.md +446 -0
- package/docs/components/data-display.md +670 -0
- package/docs/components/data-table-filter-and-lists.md +271 -0
- package/docs/components/date-and-time.md +276 -0
- package/docs/components/feedback-and-status.md +520 -0
- package/docs/components/form-fields.md +816 -0
- package/docs/components/media-and-files.md +901 -0
- package/docs/components/navigation-and-layout.md +592 -0
- package/docs/components/overlays-and-menus.md +561 -0
- package/docs/components/primitives.md +654 -0
- package/docs/components/rich-widgets.md +421 -0
- package/docs/components/selection-and-choice.md +634 -0
- package/docs/getting-started.md +314 -0
- package/docs/guides/app-shell.md +274 -0
- package/docs/guides/forms.md +841 -0
- package/docs/guides/helpers.md +277 -0
- package/docs/guides/i18n.md +386 -0
- package/docs/guides/maps.md +212 -0
- package/docs/guides/printing.md +1291 -0
- package/docs/guides/ssr.md +118 -0
- package/docs/guides/theming.md +240 -0
- package/docs/previews/buttons-actions-actioncard.webp +0 -0
- package/docs/previews/buttons-actions-button.webp +0 -0
- package/docs/previews/buttons-actions-buttongroup.webp +0 -0
- package/docs/previews/buttons-actions-copybutton.webp +0 -0
- package/docs/previews/buttons-actions-highlighttext.webp +0 -0
- package/docs/previews/buttons-actions-iconbutton.webp +0 -0
- package/docs/previews/buttons-actions-languageswitcher.webp +0 -0
- package/docs/previews/buttons-actions-linkbutton.webp +0 -0
- package/docs/previews/buttons-actions-loadmorebutton.webp +0 -0
- package/docs/previews/buttons-actions-responsivebutton.webp +0 -0
- package/docs/previews/buttons-actions-scrolltotop.webp +0 -0
- package/docs/previews/buttons-actions-splitbutton.webp +0 -0
- package/docs/previews/buttons-actions-themetoggle.webp +0 -0
- package/docs/previews/data-display-accordioncard.webp +0 -0
- package/docs/previews/data-display-apiendpoint.webp +0 -0
- package/docs/previews/data-display-apioperation.webp +0 -0
- package/docs/previews/data-display-avatar.webp +0 -0
- package/docs/previews/data-display-avatargroup.webp +0 -0
- package/docs/previews/data-display-badge.webp +0 -0
- package/docs/previews/data-display-barecode.webp +0 -0
- package/docs/previews/data-display-card-presets.webp +0 -0
- package/docs/previews/data-display-chip.webp +0 -0
- package/docs/previews/data-display-codeblock.webp +0 -0
- package/docs/previews/data-display-codediff.webp +0 -0
- package/docs/previews/data-display-codegroup.webp +0 -0
- package/docs/previews/data-display-countbadge.webp +0 -0
- package/docs/previews/data-display-description.webp +0 -0
- package/docs/previews/data-display-entityheader.webp +0 -0
- package/docs/previews/data-display-eventchip.webp +0 -0
- package/docs/previews/data-display-figure.webp +0 -0
- package/docs/previews/data-display-jsonviewer.webp +0 -0
- package/docs/previews/data-display-listtile.webp +0 -0
- package/docs/previews/data-display-markdown.webp +0 -0
- package/docs/previews/data-display-metric-cards.webp +0 -0
- package/docs/previews/data-display-paramtable.webp +0 -0
- package/docs/previews/data-display-qrcode.webp +0 -0
- package/docs/previews/data-display-statcard.webp +0 -0
- package/docs/previews/data-display-statusindicator.webp +0 -0
- package/docs/previews/data-display-summarydata.webp +0 -0
- package/docs/previews/data-display-terminal.webp +0 -0
- package/docs/previews/data-display-timeline.webp +0 -0
- package/docs/previews/data-table-filter-lists-datatable.webp +0 -0
- package/docs/previews/data-table-filter-lists-drag-and-drop.webp +0 -0
- package/docs/previews/data-table-filter-lists-filter.webp +0 -0
- package/docs/previews/data-table-filter-lists-pagination.webp +0 -0
- package/docs/previews/data-table-filter-lists-tree.webp +0 -0
- package/docs/previews/date-time-calendar.webp +0 -0
- package/docs/previews/date-time-datefield.webp +0 -0
- package/docs/previews/date-time-daterangefield.webp +0 -0
- package/docs/previews/date-time-durationfield.webp +0 -0
- package/docs/previews/date-time-timefield.webp +0 -0
- package/docs/previews/date-time-timepicker.webp +0 -0
- package/docs/previews/feedback-status-alert.webp +0 -0
- package/docs/previews/feedback-status-alertdialog.webp +0 -0
- package/docs/previews/feedback-status-banner.webp +0 -0
- package/docs/previews/feedback-status-circularprogress.webp +0 -0
- package/docs/previews/feedback-status-confirmationdialog.webp +0 -0
- package/docs/previews/feedback-status-confirmdialog.webp +0 -0
- package/docs/previews/feedback-status-customalertdialog.webp +0 -0
- package/docs/previews/feedback-status-customdialog.webp +0 -0
- package/docs/previews/feedback-status-emptystate.webp +0 -0
- package/docs/previews/feedback-status-hydrateloading.webp +0 -0
- package/docs/previews/feedback-status-notifications.webp +0 -0
- package/docs/previews/feedback-status-progress.webp +0 -0
- package/docs/previews/feedback-status-scrollprogress.webp +0 -0
- package/docs/previews/feedback-status-skeleton.webp +0 -0
- package/docs/previews/feedback-status-spinner.webp +0 -0
- package/docs/previews/feedback-status-toast.webp +0 -0
- package/docs/previews/form-fields-attributes.webp +0 -0
- package/docs/previews/form-fields-colorfield.webp +0 -0
- package/docs/previews/form-fields-contacts.webp +0 -0
- package/docs/previews/form-fields-countryfield.webp +0 -0
- package/docs/previews/form-fields-currencyfield.webp +0 -0
- package/docs/previews/form-fields-emailfield.webp +0 -0
- package/docs/previews/form-fields-field.webp +0 -0
- package/docs/previews/form-fields-inlineedit.webp +0 -0
- package/docs/previews/form-fields-inputgroupfield.webp +0 -0
- package/docs/previews/form-fields-numberfield.webp +0 -0
- package/docs/previews/form-fields-openinghours.webp +0 -0
- package/docs/previews/form-fields-otpfield.webp +0 -0
- package/docs/previews/form-fields-passwordfield.webp +0 -0
- package/docs/previews/form-fields-percentfield.webp +0 -0
- package/docs/previews/form-fields-phonefield.webp +0 -0
- package/docs/previews/form-fields-postaladdress.webp +0 -0
- package/docs/previews/form-fields-ratingfield.webp +0 -0
- package/docs/previews/form-fields-searchfield.webp +0 -0
- package/docs/previews/form-fields-slider.webp +0 -0
- package/docs/previews/form-fields-switch.webp +0 -0
- package/docs/previews/form-fields-textareafield.webp +0 -0
- package/docs/previews/form-fields-textfield.webp +0 -0
- package/docs/previews/form-fields-timezonefield.webp +0 -0
- package/docs/previews/form-fields-urlfield.webp +0 -0
- package/docs/previews/guides-i18n-i18nprovider.webp +0 -0
- package/docs/previews/guides-i18n-translated-components.webp +0 -0
- package/docs/previews/media-files-camera.webp +0 -0
- package/docs/previews/media-files-carousel.webp +0 -0
- package/docs/previews/media-files-filelist.webp +0 -0
- package/docs/previews/media-files-filelistfield.webp +0 -0
- package/docs/previews/media-files-gallery.webp +0 -0
- package/docs/previews/media-files-imagecropper.webp +0 -0
- package/docs/previews/media-files-imagefield.webp +0 -0
- package/docs/previews/media-files-lightboxgallery.webp +0 -0
- package/docs/previews/media-files-map.webp +0 -0
- package/docs/previews/media-files-minigallery.webp +0 -0
- package/docs/previews/media-files-networkuploadfield.webp +0 -0
- package/docs/previews/media-files-pdfreader.webp +0 -0
- package/docs/previews/media-files-s3uploadfield.webp +0 -0
- package/docs/previews/media-files-stxplayer.webp +0 -0
- package/docs/previews/media-files-uploadfield.webp +0 -0
- package/docs/previews/navigation-layout-appshell.webp +0 -0
- package/docs/previews/navigation-layout-background.webp +0 -0
- package/docs/previews/navigation-layout-bottomappbar.webp +0 -0
- package/docs/previews/navigation-layout-breadcrumb.webp +0 -0
- package/docs/previews/navigation-layout-doc-api.webp +0 -0
- package/docs/previews/navigation-layout-doc-blocks.webp +0 -0
- package/docs/previews/navigation-layout-doc.webp +0 -0
- package/docs/previews/navigation-layout-hero.webp +0 -0
- package/docs/previews/navigation-layout-listdetailslayout.webp +0 -0
- package/docs/previews/navigation-layout-pager.webp +0 -0
- package/docs/previews/navigation-layout-panelayout.webp +0 -0
- package/docs/previews/navigation-layout-resizable.webp +0 -0
- package/docs/previews/navigation-layout-responsivegrid.webp +0 -0
- package/docs/previews/navigation-layout-seealso.webp +0 -0
- package/docs/previews/navigation-layout-sidebar.webp +0 -0
- package/docs/previews/navigation-layout-skiplink.webp +0 -0
- package/docs/previews/navigation-layout-stepper.webp +0 -0
- package/docs/previews/navigation-layout-steps.webp +0 -0
- package/docs/previews/navigation-layout-threadlayout.webp +0 -0
- package/docs/previews/navigation-layout-toc.webp +0 -0
- package/docs/previews/navigation-layout-topappbar.webp +0 -0
- package/docs/previews/overlays-menus-command.webp +0 -0
- package/docs/previews/overlays-menus-contextmenu.webp +0 -0
- package/docs/previews/overlays-menus-dialog.webp +0 -0
- package/docs/previews/overlays-menus-drawer.webp +0 -0
- package/docs/previews/overlays-menus-dropdownmenu.webp +0 -0
- package/docs/previews/overlays-menus-hovercard.webp +0 -0
- package/docs/previews/overlays-menus-menubar.webp +0 -0
- package/docs/previews/overlays-menus-popover.webp +0 -0
- package/docs/previews/overlays-menus-sheet.webp +0 -0
- package/docs/previews/overlays-menus-tooltip.webp +0 -0
- package/docs/previews/primitives-accordion.webp +0 -0
- package/docs/previews/primitives-anchorheading.webp +0 -0
- package/docs/previews/primitives-card.webp +0 -0
- package/docs/previews/primitives-collapsible.webp +0 -0
- package/docs/previews/primitives-extendedlabel.webp +0 -0
- package/docs/previews/primitives-helpertext.webp +0 -0
- package/docs/previews/primitives-icon.webp +0 -0
- package/docs/previews/primitives-input.webp +0 -0
- package/docs/previews/primitives-inputgroup.webp +0 -0
- package/docs/previews/primitives-kbd.webp +0 -0
- package/docs/previews/primitives-label.webp +0 -0
- package/docs/previews/primitives-scrollarea.webp +0 -0
- package/docs/previews/primitives-separator.webp +0 -0
- package/docs/previews/primitives-table.webp +0 -0
- package/docs/previews/primitives-tabs.webp +0 -0
- package/docs/previews/primitives-textarea.webp +0 -0
- package/docs/previews/primitives-toggle.webp +0 -0
- package/docs/previews/primitives-togglegroup.webp +0 -0
- package/docs/previews/primitives-typography.webp +0 -0
- package/docs/previews/rich-widgets-charts-areachart.webp +0 -0
- package/docs/previews/rich-widgets-charts-barchart.webp +0 -0
- package/docs/previews/rich-widgets-charts-funnelchart.webp +0 -0
- package/docs/previews/rich-widgets-charts-heatmapchart.webp +0 -0
- package/docs/previews/rich-widgets-charts-linechart.webp +0 -0
- package/docs/previews/rich-widgets-charts-piechart.webp +0 -0
- package/docs/previews/rich-widgets-charts-radarchart.webp +0 -0
- package/docs/previews/rich-widgets-charts-scatterchart.webp +0 -0
- package/docs/previews/rich-widgets-chat-advanced.webp +0 -0
- package/docs/previews/rich-widgets-chat-inbox.webp +0 -0
- package/docs/previews/rich-widgets-chat-overview.webp +0 -0
- package/docs/previews/rich-widgets-codeeditor.webp +0 -0
- package/docs/previews/rich-widgets-emojipicker.webp +0 -0
- package/docs/previews/rich-widgets-eventcalendar.webp +0 -0
- package/docs/previews/rich-widgets-kanban.webp +0 -0
- package/docs/previews/rich-widgets-mentionlist.webp +0 -0
- package/docs/previews/rich-widgets-questioncard.webp +0 -0
- package/docs/previews/rich-widgets-quiz.webp +0 -0
- package/docs/previews/rich-widgets-richtexteditor.webp +0 -0
- package/docs/previews/selection-choice-autocomplete.webp +0 -0
- package/docs/previews/selection-choice-checkbox.webp +0 -0
- package/docs/previews/selection-choice-checkboxgroup.webp +0 -0
- package/docs/previews/selection-choice-checkcardfield.webp +0 -0
- package/docs/previews/selection-choice-combobox.webp +0 -0
- package/docs/previews/selection-choice-comboboxfield.webp +0 -0
- package/docs/previews/selection-choice-radiogroup.webp +0 -0
- package/docs/previews/selection-choice-select.webp +0 -0
- package/docs/previews/selection-choice-selectcardfield.webp +0 -0
- package/docs/previews/selection-choice-selectchipfield.webp +0 -0
- package/docs/previews/selection-choice-selectfield.webp +0 -0
- package/docs/previews/selection-choice-sortablelist.webp +0 -0
- package/docs/previews/selection-choice-switcher.webp +0 -0
- package/docs/previews/selection-choice-transferlist.webp +0 -0
- package/docs/roadmap.md +208 -0
- package/docs/troubleshooting.md +2149 -0
- package/lib/components/components.css +22 -0
- package/lib/components/ui/actions/button-group/button-group.css +12 -0
- package/lib/components/ui/display/code/code-moonlight.css +73 -0
- package/lib/components/ui/fields/attributes/attribute-form/attribute-form.css +21 -0
- package/lib/components/ui/fields/attributes/attribute-values-form/attribute-values-form.css +21 -0
- package/lib/components/ui/fields/contacts/contact-item.css +9 -0
- package/lib/components/ui/fields/opening-hours/opening-hours-item.css +9 -0
- package/lib/components/ui/layout/app-bar/bottom-app-bar.css +12 -0
- package/lib/map/map.css +9 -0
- package/lib/styles.css +2 -0
- package/package.json +55 -8
- package/dist/abnfDiagram-O67JEVCF-DDqmYxyZ.js +0 -89
- package/dist/architectureDiagram-NJMV4G6O-PwBg8yU0.js +0 -4146
- package/dist/blockDiagram-BEXU5L5S-DF3vGlXD.js +0 -1946
- package/dist/c4Diagram-YGBWAQC7-Dq3xGNd4.js +0 -2990
- package/dist/channel-DIvZvk0q.js +0 -5
- package/dist/chunk-3FUC2YCW-CAJ0rgCP.js +0 -364
- package/dist/chunk-5DYCD2WN-BepRdgxI.js +0 -37
- package/dist/chunk-6AEJRKK7-BN1V-pJK.js +0 -10
- package/dist/chunk-742MDFTN-B7xNATkT.js +0 -275
- package/dist/chunk-7INBJB4K-BgETHnGm.js +0 -4487
- package/dist/chunk-7M6MHVWA-DAfeILvI.js +0 -4256
- package/dist/chunk-7PRAP22T-1TE3ytg4.js +0 -67
- package/dist/chunk-GNY47TPC-CN53JUAg.js +0 -75
- package/dist/chunk-GTNCS2PH-DHDm9wdf.js +0 -490
- package/dist/chunk-GWA4HPMP-Dk5EfWHB.js +0 -61
- package/dist/chunk-MBY4JIJT-CKKv0vlf.js +0 -1847
- package/dist/chunk-NETBCI7D-D-hMoCi1.js +0 -236
- package/dist/chunk-O7XYJQB3-kPU-FrcW.js +0 -3922
- package/dist/chunk-UA2S7LBM-BUjL6NMa.js +0 -363
- package/dist/chunk-WEXAMYUT-CLclanOP.js +0 -26
- package/dist/chunk-XXDRQBXY-BnSZ-xBE.js +0 -9
- package/dist/chunk-Z7XXMR3K-DFs9CL0g.js +0 -677
- package/dist/chunk-ZIGJFQKS-7XzdXF8V.js +0 -663
- package/dist/classDiagram-v2-NBCMYWYE-4wLAMwQS.js +0 -3397
- package/dist/cose-bilkent-JH36ORCC-PSraAr7H.js +0 -2251
- package/dist/cynefinDiagram-VND7K2PF-Ds3RkBsV.js +0 -349
- package/dist/dagre-6A5THRUB-0G8VOjTo.js +0 -2191
- package/dist/diagram-22UHCM2B-DpQbjmb8.js +0 -5084
- package/dist/diagram-3UASUU5V-BZgAQDVW.js +0 -724
- package/dist/diagram-ATOU4E4O-QGWopkvz.js +0 -432
- package/dist/diagram-CDSNMT55-ywYyPUbh.js +0 -301
- package/dist/diagram-MLGK6HIB-CVioCY-C.js +0 -134
- package/dist/diagram-MPIPVDR6-RNx6m_jT.js +0 -214
- package/dist/dist-Cxzqei1q.js +0 -50
- package/dist/dist-NZAlFjcd.js +0 -16576
- package/dist/ebnfDiagram-ZINNZB2B-DgcwhTtc.js +0 -100
- package/dist/elk-276RUBZZ-DgpGvMfb.js +0 -47598
- package/dist/erDiagram-OPXOYQCR-BQdPcP9U.js +0 -1970
- package/dist/flowDiagram-KWPJA3E3-Dip-pIe-.js +0 -17
- package/dist/ganttDiagram-FUAMR5RP-B5YjspG8.js +0 -2929
- package/dist/gitGraphDiagram-X574FWY7-eqb34wSw.js +0 -729
- package/dist/graphlib-DXJ-RYOD.js +0 -493
- package/dist/hooks-tbav1b16.js +0 -615
- package/dist/i18n-CGol3PGw.js +0 -4260
- package/dist/infoDiagram-VRGFBTTK-BShm-0Tw.js +0 -20
- package/dist/isArrayLikeObject-VG1KOJ3m.js +0 -539
- package/dist/ishikawaDiagram-OU5B5YK6-DspMoedf.js +0 -719
- package/dist/journeyDiagram-ZHPQQLJL-BHYQHz8d.js +0 -884
- package/dist/kanban-definition-PNTS6WVX-1HKJEIG1.js +0 -976
- package/dist/lib/components/ui/accordion-card.d.ts +0 -13
- package/dist/lib/components/ui/accordion.stories.d.ts +0 -15
- package/dist/lib/components/ui/action-card.d.ts +0 -11
- package/dist/lib/components/ui/action-card.stories.d.ts +0 -20
- package/dist/lib/components/ui/anchor-heading.d.ts +0 -9
- package/dist/lib/components/ui/anchor-heading.stories.d.ts +0 -13
- package/dist/lib/components/ui/anchor-heading.utils.d.ts +0 -2
- package/dist/lib/components/ui/api-endpoint.stories.d.ts +0 -14
- package/dist/lib/components/ui/api-operation.d.ts +0 -13
- package/dist/lib/components/ui/api-operation.stories.d.ts +0 -13
- package/dist/lib/components/ui/app-bar/bottom-app-bar.stories.d.ts +0 -15
- package/dist/lib/components/ui/app-shell/app-breadcrumb.d.ts +0 -19
- package/dist/lib/components/ui/app-shell/app-shell.stories.d.ts +0 -17
- package/dist/lib/components/ui/app-shell/app-shell.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/app-shell/app-sidebar.d.ts +0 -17
- package/dist/lib/components/ui/app-shell/types.d.ts +0 -24
- package/dist/lib/components/ui/attributes/attribute-dialog.d.ts +0 -10
- package/dist/lib/components/ui/attributes/attribute-form/attribute-value-form-field.d.ts +0 -12
- package/dist/lib/components/ui/attributes/attribute-form/consts.d.ts +0 -45
- package/dist/lib/components/ui/attributes/attribute-values-form/attribute-values-form.d.ts +0 -15
- package/dist/lib/components/ui/attributes/attribute-values-form-field-set/attribute-values-form-field-set.d.ts +0 -12
- package/dist/lib/components/ui/attributes/attributes-field/attributes-field.d.ts +0 -9
- package/dist/lib/components/ui/attributes/attributes-field/state.d.ts +0 -14
- package/dist/lib/components/ui/attributes/attributes-form-field/attributes-form-field.d.ts +0 -11
- package/dist/lib/components/ui/attributes/attributes-list/attributes-list.d.ts +0 -11
- package/dist/lib/components/ui/attributes/attributes.stories.d.ts +0 -17
- package/dist/lib/components/ui/attributes/consts.d.ts +0 -2
- package/dist/lib/components/ui/attributes/utils.d.ts +0 -4
- package/dist/lib/components/ui/autocomplete.d.ts +0 -40
- package/dist/lib/components/ui/autocomplete.stories.d.ts +0 -18
- package/dist/lib/components/ui/avatar-group/avatar-group.stories.d.ts +0 -16
- package/dist/lib/components/ui/avatar-group/avatar-group.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/avatar.d.ts +0 -15
- package/dist/lib/components/ui/avatar.stories.d.ts +0 -16
- package/dist/lib/components/ui/badge.d.ts +0 -9
- package/dist/lib/components/ui/badge.stories.d.ts +0 -16
- package/dist/lib/components/ui/banner/banner.stories.d.ts +0 -18
- package/dist/lib/components/ui/barecode.d.ts +0 -4
- package/dist/lib/components/ui/barecode.stories.d.ts +0 -42
- package/dist/lib/components/ui/breadcrumb.stories.d.ts +0 -14
- package/dist/lib/components/ui/buttons/button-group.stories.d.ts +0 -18
- package/dist/lib/components/ui/buttons/button.d.ts +0 -16
- package/dist/lib/components/ui/buttons/button.stories.d.ts +0 -39
- package/dist/lib/components/ui/buttons/icon-button.d.ts +0 -13
- package/dist/lib/components/ui/buttons/icon-button.stories.d.ts +0 -23
- package/dist/lib/components/ui/buttons/index.d.ts +0 -6
- package/dist/lib/components/ui/buttons/link.d.ts +0 -7
- package/dist/lib/components/ui/buttons/link.stories.d.ts +0 -333
- package/dist/lib/components/ui/buttons/responsive-button.d.ts +0 -7
- package/dist/lib/components/ui/buttons/responsive-button.stories.d.ts +0 -22
- package/dist/lib/components/ui/buttons/split-button.d.ts +0 -8
- package/dist/lib/components/ui/buttons/split-button.stories.d.ts +0 -17
- package/dist/lib/components/ui/calendar.d.ts +0 -12
- package/dist/lib/components/ui/calendar.stories.d.ts +0 -19
- package/dist/lib/components/ui/calendar.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/camera/__storries__/camera.stories.d.ts +0 -15
- package/dist/lib/components/ui/camera/state/camera.reducers.test.d.ts +0 -1
- package/dist/lib/components/ui/camera/state/camera.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/camera/state/camera.thunks.test.d.ts +0 -1
- package/dist/lib/components/ui/camera/types.d.ts +0 -38
- package/dist/lib/components/ui/camera/utils/camera.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/card.stories.d.ts +0 -14
- package/dist/lib/components/ui/cards/cards.stories.d.ts +0 -39
- package/dist/lib/components/ui/cards/cards.stories.data.d.ts +0 -27
- package/dist/lib/components/ui/cards/types.d.ts +0 -187
- package/dist/lib/components/ui/carousel.d.ts +0 -19
- package/dist/lib/components/ui/carousel.stories.d.ts +0 -14
- package/dist/lib/components/ui/charts/area-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/bar-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/funnel-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/heatmap-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/line-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/pie-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/radar-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/charts/scatter-chart.stories.d.ts +0 -17
- package/dist/lib/components/ui/chat/chat-advanced.stories.d.ts +0 -13
- package/dist/lib/components/ui/chat/chat-composer-attachments.d.ts +0 -18
- package/dist/lib/components/ui/chat/chat-composer-mentions.d.ts +0 -8
- package/dist/lib/components/ui/chat/chat-composer.d.ts +0 -24
- package/dist/lib/components/ui/chat/chat-copy-text.test.d.ts +0 -1
- package/dist/lib/components/ui/chat/chat-inbox.stories.d.ts +0 -13
- package/dist/lib/components/ui/chat/chat-markdown.d.ts +0 -6
- package/dist/lib/components/ui/chat/chat-markdown.test.d.ts +0 -1
- package/dist/lib/components/ui/chat/chat-unseen.test.d.ts +0 -1
- package/dist/lib/components/ui/chat/chat.stories.d.ts +0 -19
- package/dist/lib/components/ui/chat/index.d.ts +0 -13
- package/dist/lib/components/ui/chat/use-chat-composer-attachments.d.ts +0 -25
- package/dist/lib/components/ui/chat/use-chat-composer-attachments.test.d.ts +0 -1
- package/dist/lib/components/ui/check-card-field.d.ts +0 -13
- package/dist/lib/components/ui/checkbox-group.d.ts +0 -15
- package/dist/lib/components/ui/checkbox-group.stories.d.ts +0 -21
- package/dist/lib/components/ui/checkbox.stories.d.ts +0 -15
- package/dist/lib/components/ui/chip.d.ts +0 -11
- package/dist/lib/components/ui/chip.stories.d.ts +0 -26
- package/dist/lib/components/ui/code/code-block.stories.d.ts +0 -19
- package/dist/lib/components/ui/code/code-diff.stories.d.ts +0 -13
- package/dist/lib/components/ui/code/code-group.stories.d.ts +0 -14
- package/dist/lib/components/ui/code/highlight.test.d.ts +0 -1
- package/dist/lib/components/ui/code/json-viewer.stories.d.ts +0 -16
- package/dist/lib/components/ui/code/languages.test.d.ts +0 -1
- package/dist/lib/components/ui/code/moonlight-monaco.test.d.ts +0 -1
- package/dist/lib/components/ui/code/moonlight-tokens.test.d.ts +0 -1
- package/dist/lib/components/ui/code/parse-json.d.ts +0 -11
- package/dist/lib/components/ui/code/parse-json.test.d.ts +0 -1
- package/dist/lib/components/ui/code-editor.stories.d.ts +0 -19
- package/dist/lib/components/ui/color-field/color-field.d.ts +0 -8
- package/dist/lib/components/ui/color-field/color-field.stories.d.ts +0 -17
- package/dist/lib/components/ui/color-field/index.d.ts +0 -3
- package/dist/lib/components/ui/color-field/normalize-hex.test.d.ts +0 -1
- package/dist/lib/components/ui/combobox-field/combobox-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/combobox-field/index.d.ts +0 -2
- package/dist/lib/components/ui/combobox.d.ts +0 -27
- package/dist/lib/components/ui/combobox.stories.d.ts +0 -21
- package/dist/lib/components/ui/command.d.ts +0 -16
- package/dist/lib/components/ui/contacts/contact-item.d.ts +0 -11
- package/dist/lib/components/ui/contacts/contacts.stories.d.ts +0 -16
- package/dist/lib/components/ui/contacts/utils.d.ts +0 -11
- package/dist/lib/components/ui/context-menu.stories.d.ts +0 -14
- package/dist/lib/components/ui/copy-button/copy-button.d.ts +0 -9
- package/dist/lib/components/ui/copy-button/copy-button.stories.d.ts +0 -16
- package/dist/lib/components/ui/copy-button/copy-to-clipboard.test.d.ts +0 -1
- package/dist/lib/components/ui/count-badge.d.ts +0 -10
- package/dist/lib/components/ui/count-badge.stories.d.ts +0 -16
- package/dist/lib/components/ui/country-field/country-field.d.ts +0 -20
- package/dist/lib/components/ui/country-field/country-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/country-field/index.d.ts +0 -2
- package/dist/lib/components/ui/currency-field/currency-field.d.ts +0 -8
- package/dist/lib/components/ui/currency-field/currency-field.stories.d.ts +0 -17
- package/dist/lib/components/ui/currency-field/index.d.ts +0 -3
- package/dist/lib/components/ui/currency-field/parse-currency.test.d.ts +0 -1
- package/dist/lib/components/ui/data-table/data-table.stories.d.ts +0 -27
- package/dist/lib/components/ui/data-table/index.d.ts +0 -12
- package/dist/lib/components/ui/date-field.d.ts +0 -21
- package/dist/lib/components/ui/date-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/date-range-field.d.ts +0 -17
- package/dist/lib/components/ui/date-range-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/dialog.d.ts +0 -14
- package/dist/lib/components/ui/dnd/dnd.stories.d.ts +0 -11
- package/dist/lib/components/ui/dnd/insert-ids.test.d.ts +0 -1
- package/dist/lib/components/ui/doc/doc-api.stories.d.ts +0 -13
- package/dist/lib/components/ui/doc/doc-blocks.stories.d.ts +0 -13
- package/dist/lib/components/ui/doc/doc.keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/doc/doc.stories.d.ts +0 -15
- package/dist/lib/components/ui/doc/doc.stories.data.d.ts +0 -7
- package/dist/lib/components/ui/doc/doc.utils.d.ts +0 -29
- package/dist/lib/components/ui/doc/doc.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/doc/partials/doc-empty.d.ts +0 -3
- package/dist/lib/components/ui/doc/partials/doc-progress.d.ts +0 -3
- package/dist/lib/components/ui/doc/partials/doc-skip-link.d.ts +0 -2
- package/dist/lib/components/ui/drawer.d.ts +0 -14
- package/dist/lib/components/ui/dropdown-menu.d.ts +0 -26
- package/dist/lib/components/ui/dropdown-menu.stories.d.ts +0 -14
- package/dist/lib/components/ui/duration-field/duration-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/duration-field/index.d.ts +0 -3
- package/dist/lib/components/ui/duration-field/parse-duration.test.d.ts +0 -1
- package/dist/lib/components/ui/education/questions/question.stories.d.ts +0 -16
- package/dist/lib/components/ui/education/questions/question.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/education/quizzes/quiz.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/education/quizzes/quiz.stories.d.ts +0 -14
- package/dist/lib/components/ui/education/quizzes/quiz.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/email-field/email-field.d.ts +0 -3
- package/dist/lib/components/ui/email-field/email-field.stories.d.ts +0 -16
- package/dist/lib/components/ui/email-field/index.d.ts +0 -3
- package/dist/lib/components/ui/email-field/is-email.test.d.ts +0 -1
- package/dist/lib/components/ui/emoji/emoji.groups.test.d.ts +0 -1
- package/dist/lib/components/ui/emoji/emoji.stories.d.ts +0 -13
- package/dist/lib/components/ui/emoji/emoji.stories.data.d.ts +0 -2
- package/dist/lib/components/ui/emoji/emoji.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/entity-header.d.ts +0 -12
- package/dist/lib/components/ui/entity-header.stories.d.ts +0 -18
- package/dist/lib/components/ui/event-calendar/event-calendar-events.utils.d.ts +0 -14
- package/dist/lib/components/ui/event-calendar/event-calendar-events.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.container.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.preview.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.spans.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/event-calendar.stories.d.ts +0 -19
- package/dist/lib/components/ui/event-calendar/event-calendar.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/event-calendar/partials/calendar-event-chip.d.ts +0 -8
- package/dist/lib/components/ui/event-chip/event-chip.stories.d.ts +0 -16
- package/dist/lib/components/ui/extended-label.d.ts +0 -7
- package/dist/lib/components/ui/feedback/alert-dialog.d.ts +0 -15
- package/dist/lib/components/ui/feedback/alert-dialog.stories.d.ts +0 -14
- package/dist/lib/components/ui/feedback/alert.d.ts +0 -12
- package/dist/lib/components/ui/feedback/alert.stories.d.ts +0 -20
- package/dist/lib/components/ui/feedback/circular-progress.d.ts +0 -20
- package/dist/lib/components/ui/feedback/circular-progress.stories.d.ts +0 -33
- package/dist/lib/components/ui/feedback/confirm-dialog.d.ts +0 -12
- package/dist/lib/components/ui/feedback/confirm-dialog.stories.d.ts +0 -16
- package/dist/lib/components/ui/feedback/confirmation-dialog.d.ts +0 -17
- package/dist/lib/components/ui/feedback/confirmation-dialog.stories.d.ts +0 -17
- package/dist/lib/components/ui/feedback/custom-alert-dialog.d.ts +0 -10
- package/dist/lib/components/ui/feedback/custom-alert-dialog.stories.d.ts +0 -14
- package/dist/lib/components/ui/feedback/custom-dialog.d.ts +0 -10
- package/dist/lib/components/ui/feedback/custom-dialog.stories.d.ts +0 -17
- package/dist/lib/components/ui/feedback/empty-state.stories.d.ts +0 -16
- package/dist/lib/components/ui/feedback/progress.stories.d.ts +0 -16
- package/dist/lib/components/ui/feedback/scroll-progress.stories.d.ts +0 -13
- package/dist/lib/components/ui/feedback/spinner.d.ts +0 -9
- package/dist/lib/components/ui/feedback/spinner.stories.d.ts +0 -24
- package/dist/lib/components/ui/feedback/toast.stories.d.ts +0 -16
- package/dist/lib/components/ui/feedback/toasts.d.ts +0 -41
- package/dist/lib/components/ui/feedback/toasts.test.d.ts +0 -1
- package/dist/lib/components/ui/field/types.d.ts +0 -67
- package/dist/lib/components/ui/figure.stories.d.ts +0 -13
- package/dist/lib/components/ui/file-list/file-list-field.d.ts +0 -12
- package/dist/lib/components/ui/file-list/file-list-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/file-list/file-list-s3-field.d.ts +0 -6
- package/dist/lib/components/ui/file-list/file-list.stories.d.ts +0 -17
- package/dist/lib/components/ui/file-list/format-file-size.test.d.ts +0 -1
- package/dist/lib/components/ui/file-list/index.d.ts +0 -8
- package/dist/lib/components/ui/filter/__stories__/filter.stories.d.ts +0 -26
- package/dist/lib/components/ui/filter/consts.d.ts +0 -51
- package/dist/lib/components/ui/filter/filter-persistence-main.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-persistence-presets.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-persistence-storage.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-persistence-url.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-persistence.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-preset.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-schema.utils.d.ts +0 -34
- package/dist/lib/components/ui/filter/filter-schema.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-trigger.d.ts +0 -6
- package/dist/lib/components/ui/filter/filter-validation.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter-value.utils.d.ts +0 -29
- package/dist/lib/components/ui/filter/filter-value.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/filter.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/filter/forms/filter-form-field.d.ts +0 -52
- package/dist/lib/components/ui/filter/index.d.ts +0 -21
- package/dist/lib/components/ui/format-count.test.d.ts +0 -1
- package/dist/lib/components/ui/forms/autocomplete-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/check-card-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/checkbox-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/checkbox-group-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/code-editor-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/color-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/combobox-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/country-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/currency-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/date-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/date-range-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/duration-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/email-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/file-list-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/file-list-s3-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/files-form-field.d.ts +0 -9
- package/dist/lib/components/ui/forms/image-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/image-s3-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/inline-edit-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/input-group-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/network-upload-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/number-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/otp-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/password-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/percent-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/phone-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/radio-group-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/rating-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/rich-text-editor-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/s3-upload-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/search-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/select-card-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/select-chip-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/select-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/slider-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/sortable-list-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/switch-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/text-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/textarea-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/time-form-field.d.ts +0 -5
- package/dist/lib/components/ui/forms/timezone-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/transfer-list-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/upload-form-field.d.ts +0 -3
- package/dist/lib/components/ui/forms/url-form-field.d.ts +0 -3
- package/dist/lib/components/ui/galleries/gallery-download.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/gallery-keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/gallery.presets.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/gallery.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/gallery.stories.d.ts +0 -26
- package/dist/lib/components/ui/galleries/gallery.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/galleries/lightbox-gallery.stories.d.ts +0 -12
- package/dist/lib/components/ui/galleries/mini-gallery.stories.d.ts +0 -12
- package/dist/lib/components/ui/helper-text.d.ts +0 -5
- package/dist/lib/components/ui/hero.stories.d.ts +0 -13
- package/dist/lib/components/ui/hidrate-loading.d.ts +0 -6
- package/dist/lib/components/ui/highlight-text.stories.d.ts +0 -12
- package/dist/lib/components/ui/icon.stories.d.ts +0 -15
- package/dist/lib/components/ui/icon.test.d.ts +0 -1
- package/dist/lib/components/ui/image-cropper/crop-image.test.d.ts +0 -1
- package/dist/lib/components/ui/image-cropper/crop-resize-handles.test.d.ts +0 -1
- package/dist/lib/components/ui/image-cropper/image-cropper.stories.d.ts +0 -17
- package/dist/lib/components/ui/image-field/image-field.d.ts +0 -14
- package/dist/lib/components/ui/image-field/image-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/image-field/image-s3-field.d.ts +0 -6
- package/dist/lib/components/ui/image-field/index.d.ts +0 -4
- package/dist/lib/components/ui/inline-edit/index.d.ts +0 -2
- package/dist/lib/components/ui/inline-edit/inline-edit.stories.d.ts +0 -17
- package/dist/lib/components/ui/input-group-field.stories.d.ts +0 -35
- package/dist/lib/components/ui/input-group.d.ts +0 -13
- package/dist/lib/components/ui/input-group.stories.d.ts +0 -25
- package/dist/lib/components/ui/input.d.ts +0 -4
- package/dist/lib/components/ui/kanban/kanban.stories.d.ts +0 -18
- package/dist/lib/components/ui/kanban/kanban.utils.d.ts +0 -24
- package/dist/lib/components/ui/kanban/kanban.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/kbd.stories.d.ts +0 -16
- package/dist/lib/components/ui/language-switcher.d.ts +0 -6
- package/dist/lib/components/ui/language-switcher.stories.d.ts +0 -14
- package/dist/lib/components/ui/layout/list-details-layout.d.ts +0 -47
- package/dist/lib/components/ui/layout/list-details-layout.stories.d.ts +0 -13
- package/dist/lib/components/ui/layout/pane-layout.d.ts +0 -48
- package/dist/lib/components/ui/layout/pane-layout.stories.d.ts +0 -13
- package/dist/lib/components/ui/layout/thread-layout.stories.d.ts +0 -15
- package/dist/lib/components/ui/list-tile.stories.d.ts +0 -19
- package/dist/lib/components/ui/load-more-button.d.ts +0 -25
- package/dist/lib/components/ui/load-more-button.stories.d.ts +0 -17
- package/dist/lib/components/ui/markdown/markdown.d.ts +0 -7
- package/dist/lib/components/ui/markdown/markdown.stories.d.ts +0 -15
- package/dist/lib/components/ui/markdown/markdown.test.d.ts +0 -1
- package/dist/lib/components/ui/mentions/index.d.ts +0 -3
- package/dist/lib/components/ui/mentions/mentions.stories.d.ts +0 -13
- package/dist/lib/components/ui/mentions/mentions.stories.data.d.ts +0 -2
- package/dist/lib/components/ui/mentions/mentions.utils.d.ts +0 -7
- package/dist/lib/components/ui/mentions/mentions.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/menubar.d.ts +0 -26
- package/dist/lib/components/ui/metrics/metrics.stories.d.ts +0 -28
- package/dist/lib/components/ui/metrics/metrics.stories.data.d.ts +0 -17
- package/dist/lib/components/ui/metrics/types.d.ts +0 -125
- package/dist/lib/components/ui/notifications/notifications.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/notifications/notifications.stories.d.ts +0 -16
- package/dist/lib/components/ui/notifications/notifications.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/number-field/index.d.ts +0 -3
- package/dist/lib/components/ui/number-field/number-field.d.ts +0 -22
- package/dist/lib/components/ui/number-field/number-field.stories.d.ts +0 -18
- package/dist/lib/components/ui/number-field/parse-number.test.d.ts +0 -1
- package/dist/lib/components/ui/opening-hours/consts.d.ts +0 -18
- package/dist/lib/components/ui/opening-hours/opening-hours-item.d.ts +0 -11
- package/dist/lib/components/ui/opening-hours/opening-hours.stories.d.ts +0 -15
- package/dist/lib/components/ui/otp-field.stories.d.ts +0 -30
- package/dist/lib/components/ui/pager.stories.d.ts +0 -13
- package/dist/lib/components/ui/pagination/pagination-items.test.d.ts +0 -1
- package/dist/lib/components/ui/pagination/pagination.stories.d.ts +0 -21
- package/dist/lib/components/ui/param-table.stories.d.ts +0 -13
- package/dist/lib/components/ui/password-field.d.ts +0 -8
- package/dist/lib/components/ui/password-field.stories.d.ts +0 -19
- package/dist/lib/components/ui/password-strength.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/index.d.ts +0 -14
- package/dist/lib/components/ui/pdf-viewer/index.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-download.d.ts +0 -3
- package/dist/lib/components/ui/pdf-viewer/pdf-download.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-escape.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-page-list.d.ts +0 -11
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-body.d.ts +0 -26
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-keyboard.d.ts +0 -16
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-reader-states.d.ts +0 -12
- package/dist/lib/components/ui/pdf-viewer/pdf-reader.d.ts +0 -20
- package/dist/lib/components/ui/pdf-viewer/pdf-reader.reducer.d.ts +0 -47
- package/dist/lib/components/ui/pdf-viewer/pdf-reader.stories.d.ts +0 -12
- package/dist/lib/components/ui/pdf-viewer/pdf-search.d.ts +0 -7
- package/dist/lib/components/ui/pdf-viewer/pdf-search.test.d.ts +0 -1
- package/dist/lib/components/ui/pdf-viewer/pdf-sidebar.d.ts +0 -14
- package/dist/lib/components/ui/pdf-viewer/pdf-thumbnail-sidebar.d.ts +0 -10
- package/dist/lib/components/ui/pdf-viewer/types.d.ts +0 -34
- package/dist/lib/components/ui/pdf-viewer/use-pdf-reader.d.ts +0 -32
- package/dist/lib/components/ui/pdf-viewer/use-pdf-search-hits.d.ts +0 -11
- package/dist/lib/components/ui/percent-field/index.d.ts +0 -2
- package/dist/lib/components/ui/percent-field/percent-field.d.ts +0 -3
- package/dist/lib/components/ui/percent-field/percent-field.stories.d.ts +0 -16
- package/dist/lib/components/ui/phone-field/index.d.ts +0 -6
- package/dist/lib/components/ui/phone-field/parse-phone.test.d.ts +0 -1
- package/dist/lib/components/ui/phone-field/phone-field.stories.d.ts +0 -17
- package/dist/lib/components/ui/postal-address/postal-address.stories.d.ts +0 -16
- package/dist/lib/components/ui/qrcode.d.ts +0 -7
- package/dist/lib/components/ui/qrcode.stories.d.ts +0 -38
- package/dist/lib/components/ui/radio-group.d.ts +0 -16
- package/dist/lib/components/ui/radio-group.stories.d.ts +0 -21
- package/dist/lib/components/ui/rating-field/clamp-rating.test.d.ts +0 -1
- package/dist/lib/components/ui/rating-field/index.d.ts +0 -3
- package/dist/lib/components/ui/rating-field/rating-field.d.ts +0 -23
- package/dist/lib/components/ui/rating-field/rating-field.stories.d.ts +0 -24
- package/dist/lib/components/ui/resizable.stories.d.ts +0 -14
- package/dist/lib/components/ui/responsive-grid.stories.d.ts +0 -15
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-dialog.d.ts +0 -14
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/checkbox-group/checkbox-group-edit-form.d.ts +0 -15
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/radio-group-edit-dialog.d.ts +0 -14
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/radio-group/radio-group-edit-form.d.ts +0 -15
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/select-chip-edit-dialog.d.ts +0 -14
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/select-chip/select-chip-edit-form.d.ts +0 -15
- package/dist/lib/components/ui/rich-text-editor/extensions/custom/shared/index.d.ts +0 -2
- package/dist/lib/components/ui/rich-text-editor/extensions/index.d.ts +0 -12
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/index.d.ts +0 -2
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/mention-list.d.ts +0 -12
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/suggestions.d.ts +0 -9
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/extension.d.ts +0 -7
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-items.d.ts +0 -4
- package/dist/lib/components/ui/rich-text-editor/extensions/slash-command/slash-command-items.test.d.ts +0 -1
- package/dist/lib/components/ui/rich-text-editor/index.d.ts +0 -1
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor-wrapper.d.ts +0 -13
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor.stories.d.ts +0 -26
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor.story-data.d.ts +0 -3
- package/dist/lib/components/ui/rich-text-editor/types.d.ts +0 -29
- package/dist/lib/components/ui/scroll-to-top.d.ts +0 -20
- package/dist/lib/components/ui/scroll-to-top.stories.d.ts +0 -346
- package/dist/lib/components/ui/search-field/debounce.test.d.ts +0 -1
- package/dist/lib/components/ui/search-field/index.d.ts +0 -4
- package/dist/lib/components/ui/search-field/search-field.d.ts +0 -11
- package/dist/lib/components/ui/search-field/search-field.stories.d.ts +0 -18
- package/dist/lib/components/ui/see-also.stories.d.ts +0 -12
- package/dist/lib/components/ui/select-card-field.stories.d.ts +0 -16
- package/dist/lib/components/ui/select-chip-field.stories.d.ts +0 -16
- package/dist/lib/components/ui/select-field.d.ts +0 -20
- package/dist/lib/components/ui/select-field.stories.d.ts +0 -21
- package/dist/lib/components/ui/separator.stories.d.ts +0 -14
- package/dist/lib/components/ui/sheet.d.ts +0 -15
- package/dist/lib/components/ui/shortcut-glyph.test.d.ts +0 -1
- package/dist/lib/components/ui/sidebar.stories.d.ts +0 -14
- package/dist/lib/components/ui/skeleton/skeleton-card.d.ts +0 -4
- package/dist/lib/components/ui/skeleton/skeleton.stories.d.ts +0 -19
- package/dist/lib/components/ui/skip-link.stories.d.ts +0 -12
- package/dist/lib/components/ui/slider-control.d.ts +0 -6
- package/dist/lib/components/ui/slider-ticks.test.d.ts +0 -1
- package/dist/lib/components/ui/slider.d.ts +0 -13
- package/dist/lib/components/ui/slider.stories.d.ts +0 -16
- package/dist/lib/components/ui/sortable-list/index.d.ts +0 -4
- package/dist/lib/components/ui/sortable-list/sortable-list.keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/sortable-list/sortable-list.stories.d.ts +0 -21
- package/dist/lib/components/ui/stat-card/format-stat-delta.test.d.ts +0 -1
- package/dist/lib/components/ui/stat-card/stat-card.d.ts +0 -13
- package/dist/lib/components/ui/stat-card/stat-card.stories.d.ts +0 -17
- package/dist/lib/components/ui/status-indicator.stories.d.ts +0 -16
- package/dist/lib/components/ui/stepper/step-state.test.d.ts +0 -1
- package/dist/lib/components/ui/stepper/stepper.stories.d.ts +0 -16
- package/dist/lib/components/ui/steps.stories.d.ts +0 -13
- package/dist/lib/components/ui/stories-consts.d.ts +0 -10
- package/dist/lib/components/ui/stories-dark-theme.d.ts +0 -2
- package/dist/lib/components/ui/stx-player/format-time.test.d.ts +0 -1
- package/dist/lib/components/ui/stx-player/stx-player-keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/stx-player/stx-player.slice.test.d.ts +0 -1
- package/dist/lib/components/ui/stx-player/stx-player.stories.d.ts +0 -24
- package/dist/lib/components/ui/summary-data.stories.d.ts +0 -14
- package/dist/lib/components/ui/switch.stories.d.ts +0 -16
- package/dist/lib/components/ui/switcher.d.ts +0 -15
- package/dist/lib/components/ui/switcher.stories.d.ts +0 -15
- package/dist/lib/components/ui/table.stories.d.ts +0 -14
- package/dist/lib/components/ui/tabs.stories.d.ts +0 -15
- package/dist/lib/components/ui/terminal/terminal.stories.d.ts +0 -14
- package/dist/lib/components/ui/terminal/terminal.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/text-field.d.ts +0 -10
- package/dist/lib/components/ui/text-field.stories.d.ts +0 -22
- package/dist/lib/components/ui/textarea-field.stories.d.ts +0 -25
- package/dist/lib/components/ui/textarea.stories.d.ts +0 -26
- package/dist/lib/components/ui/theme-toggle.d.ts +0 -6
- package/dist/lib/components/ui/theme-toggle.stories.d.ts +0 -14
- package/dist/lib/components/ui/time-field.d.ts +0 -17
- package/dist/lib/components/ui/time-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/time-picker/time-picker-utils.test.d.ts +0 -1
- package/dist/lib/components/ui/time-picker/time-picker.stories.d.ts +0 -15
- package/dist/lib/components/ui/timeline/format-relative-time.test.d.ts +0 -1
- package/dist/lib/components/ui/timeline/timeline.stories.d.ts +0 -19
- package/dist/lib/components/ui/timezone-field/index.d.ts +0 -4
- package/dist/lib/components/ui/timezone-field/timezone-field.d.ts +0 -5
- package/dist/lib/components/ui/timezone-field/timezone-field.stories.d.ts +0 -14
- package/dist/lib/components/ui/timezone-field/timezones.test.d.ts +0 -1
- package/dist/lib/components/ui/toc.stories.d.ts +0 -13
- package/dist/lib/components/ui/toggle-group.d.ts +0 -9
- package/dist/lib/components/ui/toggle-group.stories.d.ts +0 -25
- package/dist/lib/components/ui/toggle.d.ts +0 -9
- package/dist/lib/components/ui/toggle.stories.d.ts +0 -16
- package/dist/lib/components/ui/tooltip.d.ts +0 -10
- package/dist/lib/components/ui/tooltip.stories.d.ts +0 -15
- package/dist/lib/components/ui/transfer-list/index.d.ts +0 -3
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-board.d.ts +0 -33
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-droppable.d.ts +0 -12
- package/dist/lib/components/ui/transfer-list/partials/transfer-list-pane.d.ts +0 -35
- package/dist/lib/components/ui/transfer-list/transfer-list.dnd.test.d.ts +0 -1
- package/dist/lib/components/ui/transfer-list/transfer-list.keyboard.test.d.ts +0 -1
- package/dist/lib/components/ui/transfer-list/transfer-list.stories.d.ts +0 -27
- package/dist/lib/components/ui/transfer-list/transfer-list.stories.data.d.ts +0 -3
- package/dist/lib/components/ui/transfer-list/transfer-list.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/tree/tree.stories.d.ts +0 -16
- package/dist/lib/components/ui/tree/tree.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/upload/network-upload-field/index.d.ts +0 -1
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.slice.d.ts +0 -249
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.stories.d.ts +0 -31
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.utils.d.ts +0 -40
- package/dist/lib/components/ui/upload/network-upload-field/network-upload-field.utils.test.d.ts +0 -1
- package/dist/lib/components/ui/upload/network-upload-field/use-network-upload-field.d.ts +0 -19
- package/dist/lib/components/ui/upload/network-upload-field/use-upload-items.d.ts +0 -14
- package/dist/lib/components/ui/upload/s3-upload-field/index.d.ts +0 -1
- package/dist/lib/components/ui/upload/s3-upload-field/s3-upload-field.d.ts +0 -12
- package/dist/lib/components/ui/upload/s3-upload-field/s3-upload-field.stories.d.ts +0 -15
- package/dist/lib/components/ui/upload-field.d.ts +0 -14
- package/dist/lib/components/ui/upload-field.stories.d.ts +0 -22
- package/dist/lib/components/ui/url-field/index.d.ts +0 -3
- package/dist/lib/components/ui/url-field/parse-url.test.d.ts +0 -1
- package/dist/lib/components/ui/url-field/url-field.d.ts +0 -3
- package/dist/lib/components/ui/url-field/url-field.stories.d.ts +0 -16
- package/dist/lib/hooks/resolve-theme.test.d.ts +0 -1
- package/dist/lib/i18n/i18n-provider.stories.d.ts +0 -29
- package/dist/lib/i18n/material-components.stories.d.ts +0 -30
- package/dist/lib/i18n/merge-resources.test.d.ts +0 -1
- package/dist/lib/i18n/resources/en/index.d.ts +0 -855
- package/dist/lib/i18n/resources/fr/index.d.ts +0 -855
- package/dist/lib/i18n/resources/index.d.ts +0 -1700
- package/dist/lib/i18n/translator.test.d.ts +0 -1
- package/dist/lib/lib/array.utils.test.d.ts +0 -1
- package/dist/lib/lib/build-field-options.test.d.ts +0 -1
- package/dist/lib/lib/date.utils.test.d.ts +0 -1
- package/dist/lib/lib/format.utils.test.d.ts +0 -1
- package/dist/lib/lib/number.utils.spec.d.ts +0 -1
- package/dist/lib/lib/object.utils.test.d.ts +0 -1
- package/dist/lib/lib/promise.utils.test.d.ts +0 -1
- package/dist/lib/lib/redux/filter-slice.test.d.ts +0 -1
- package/dist/lib/lib/redux/status-slice.test.d.ts +0 -1
- package/dist/lib/lib/redux/step-form-slice.test.d.ts +0 -1
- package/dist/lib/lib/redux/use-slice-reducer.test.d.ts +0 -1
- package/dist/lib/lib/storage.utils.test.d.ts +0 -1
- package/dist/lib/lib/string.utils.test.d.ts +0 -1
- package/dist/lib/lib/styles.utils.test.d.ts +0 -1
- package/dist/lib/lib/upload.utils.test.d.ts +0 -1
- package/dist/lib/lib/url.utils.test.d.ts +0 -1
- package/dist/lib/lib/utils.test.d.ts +0 -1
- package/dist/lib/lib/zod-error-map.test.d.ts +0 -1
- package/dist/lib/print/styles.test.d.ts +0 -1
- package/dist/lib/print/tailwind.d.ts +0 -5
- package/dist/lib/print/tailwind.test.d.ts +0 -1
- package/dist/lib/print/utils.d.ts +0 -5
- package/dist/lib/print/utils.test.d.ts +0 -1
- package/dist/lib-BDc9msmn.js +0 -667
- package/dist/main-C6rjLaqK.js +0 -191333
- package/dist/mermaid.core-DPqKYf9L.js +0 -1096
- package/dist/mindmap-definition-NLK3R4M7-DbG40nE4.js +0 -1008
- package/dist/number.utils-BR3XO6me.js +0 -2681
- package/dist/pegDiagram-GJSIUBJH-BL5Aabgf.js +0 -94
- package/dist/pieDiagram-5QR66LMP-dMM51IAn.js +0 -157
- package/dist/quadrantDiagram-O4NWA36T-BaSKZiw5.js +0 -2001
- package/dist/railroadDiagram-XR7U4H2S-CIx08g98.js +0 -76
- package/dist/requirementDiagram-PLB6GJNP-DxwpOB3H.js +0 -2228
- package/dist/sankeyDiagram-IPEJSGJF-PcxB8umJ.js +0 -962
- package/dist/sequenceDiagram-PO4LG4MO-Bu-eRq6c.js +0 -4200
- package/dist/sortable-provider-BCaeM3pZ.js +0 -5367
- package/dist/src-ripuExsx.js +0 -1775
- package/dist/stateDiagram-v2-GCMORJYK-DXqVvjkk.js +0 -2143
- package/dist/swimlanes-2SLR337P-MVsSgObR.js +0 -4763
- package/dist/swimlanesDiagram-TC7HE7FX-fSzW_vlb.js +0 -28
- package/dist/timeline-definition-EJHVYXUP-DtX7hK_l.js +0 -1073
- package/dist/usecaseDiagram-POWQR4AR-DmFl7fb7.js +0 -9932
- package/dist/vennDiagram-UO4OBE2U-CNd0-YPm.js +0 -1880
- package/dist/wardleyDiagram-VNRHLVJA-DH3az7Ec.js +0 -645
- package/dist/xychartDiagram-PMCCYNJV-BZsPm_3V.js +0 -2167
- /package/dist/lib/components/ui/{buttons → actions/button-group}/button-group.d.ts +0 -0
- /package/dist/lib/components/ui/{copy-button → actions/copy-button}/copy-to-clipboard.d.ts +0 -0
- /package/dist/lib/components/ui/{copy-button → actions/copy-button}/copy-value.d.ts +0 -0
- /package/dist/lib/components/ui/{copy-button → actions/copy-button}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{highlight-text.d.ts → actions/highlight-text/highlight-text.d.ts} +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table-column-header.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table-pagination.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table-view-options.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/data-table.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/features.d.ts +0 -0
- /package/dist/lib/components/ui/{data-table → collections/data-table}/hooks.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/compose-refs.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/dnd-item-context.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/dnd-overlay.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/dnd-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/drag-handle.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/draggable-droppable.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/draggable.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/droppable.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/insert-ids.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/sortable-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/sortable.d.ts +0 -0
- /package/dist/lib/components/ui/{dnd → collections/dnd}/use-dnd-active-id.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-actions.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-chips.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-content.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-context.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-drawer.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-field.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-groups.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-inline.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-main.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-presets.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-storage.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence-url.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-persistence.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-popover.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-preset.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-presets.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-sheet.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter-validation.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/filter.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/use-filter-modal.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/use-filter-selector.d.ts +0 -0
- /package/dist/lib/components/ui/{filter → collections/filter}/use-filter.d.ts +0 -0
- /package/dist/lib/components/ui/{pagination → collections/pagination}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{pagination → collections/pagination}/pagination-bar.d.ts +0 -0
- /package/dist/lib/components/ui/{pagination → collections/pagination}/pagination-items.d.ts +0 -0
- /package/dist/lib/components/ui/{pagination → collections/pagination}/pagination.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/tree-item.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/tree.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/tree.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{tree → collections/tree}/use-tree.d.ts +0 -0
- /package/dist/lib/components/ui/{calendar-year-view.d.ts → dates/calendar/calendar-year-view.d.ts} +0 -0
- /package/dist/lib/components/ui/{calendar.utils.d.ts → dates/calendar/calendar.utils.d.ts} +0 -0
- /package/dist/lib/components/ui/{duration-field → dates/duration-field}/duration-field.d.ts +0 -0
- /package/dist/lib/components/ui/{duration-field → dates/duration-field}/parse-duration.d.ts +0 -0
- /package/dist/lib/components/ui/{time-picker → dates/time-picker}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{time-picker → dates/time-picker}/time-picker-utils.d.ts +0 -0
- /package/dist/lib/components/ui/{time-picker → dates/time-picker}/time-picker.d.ts +0 -0
- /package/dist/lib/components/ui/{api-endpoint.d.ts → display/api-endpoint/api-endpoint.d.ts} +0 -0
- /package/dist/lib/components/ui/{avatar-group → display/avatar-group}/avatar-group.d.ts +0 -0
- /package/dist/lib/components/ui/{avatar-group → display/avatar-group}/avatar-group.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{avatar-group → display/avatar-group}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/album-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/checklist-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/crew-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/event-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/feature-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/file-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/link-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/media-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/message-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/notice-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/offer-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/overlay-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/place-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/pricing-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/profile-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/quote-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/receipt-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/review-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/score-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/shortcut-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/split-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/spotlight-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/stack-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/status-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/tag-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/ticket-card.d.ts +0 -0
- /package/dist/lib/components/ui/{cards → display/cards}/partials/timeline-card.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/code-block.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/code-diff.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/code-group.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/highlight.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/json-node.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/json-viewer.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/languages.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/moonlight-monaco.d.ts +0 -0
- /package/dist/lib/components/ui/{code → display/code}/moonlight-tokens.d.ts +0 -0
- /package/dist/lib/components/ui/{format-count.d.ts → display/count-badge/format-count.d.ts} +0 -0
- /package/dist/lib/components/ui/{description.d.ts → display/description/description.d.ts} +0 -0
- /package/dist/lib/components/ui/{event-chip → display/event-chip}/event-chip.d.ts +0 -0
- /package/dist/lib/components/ui/{event-chip → display/event-chip}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{figure.d.ts → display/figure/figure.d.ts} +0 -0
- /package/dist/lib/components/ui/{list-tile.d.ts → display/list-tile/list-tile.d.ts} +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/markdown.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/mermaid.lazy.d.ts +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/partials/markdown-code.d.ts +0 -0
- /package/dist/lib/components/ui/{markdown → display/markdown}/partials/mermaid-diagram.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/band-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/breakdown-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/compare-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/delta-list-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/funnel-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/gauge-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/goal-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/heatweek-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/histogram-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/latency-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/pace-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/rank-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/ratio-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/sparkbar-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/sparkline.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/threshold-card.d.ts +0 -0
- /package/dist/lib/components/ui/{metrics → display/metrics}/partials/trend-card.d.ts +0 -0
- /package/dist/lib/components/ui/{param-table.d.ts → display/param-table/param-table.d.ts} +0 -0
- /package/dist/lib/components/ui/{stat-card → display/stat-card}/format-stat-delta.d.ts +0 -0
- /package/dist/lib/components/ui/{stat-card → display/stat-card}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{status-indicator.d.ts → display/status-indicator/status-indicator.d.ts} +0 -0
- /package/dist/lib/components/ui/{summary-data.d.ts → display/summary-data/summary-data.d.ts} +0 -0
- /package/dist/lib/components/ui/{terminal → display/terminal}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{terminal → display/terminal}/terminal.d.ts +0 -0
- /package/dist/lib/components/ui/{terminal → display/terminal}/terminal.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/format-relative-time.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/relative-time.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/timeline-item.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/timeline.d.ts +0 -0
- /package/dist/lib/components/ui/{timeline → display/timeline}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{banner → feedback/banner}/banner.d.ts +0 -0
- /package/dist/lib/components/ui/{banner → feedback/banner}/index.d.ts +0 -0
- /package/dist/lib/components/ui/feedback/{empty-state.d.ts → empty-state/empty-state.d.ts} +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/notifications.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-bell.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-categories.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-empty.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-inbox.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-item.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-list.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/partials/notifications-toolbar.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → feedback/notifications}/use-notifications.d.ts +0 -0
- /package/dist/lib/components/ui/{education/quizzes → feedback/notifications}/use-skip-first.d.ts +0 -0
- /package/dist/lib/components/ui/feedback/{progress-field.d.ts → progress/progress-field.d.ts} +0 -0
- /package/dist/lib/components/ui/feedback/{progress.d.ts → progress/progress.d.ts} +0 -0
- /package/dist/lib/components/ui/feedback/{scroll-progress.d.ts → scroll-progress/scroll-progress.d.ts} +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton-avatar.d.ts +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton-table.d.ts +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton-text.d.ts +0 -0
- /package/dist/lib/components/ui/{skeleton → feedback/skeleton}/skeleton.d.ts +0 -0
- /package/dist/lib/components/ui/feedback/{toast.d.ts → toast/toast.d.ts} +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-form/attribute-form.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-form/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-form/types.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-values-form/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attribute-values-form-field-set/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attributes-field/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attributes-form-field/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/attributes-list/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/models/attribute.d.ts +0 -0
- /package/dist/lib/components/ui/{attributes → fields/attributes}/models/index.d.ts +0 -0
- /package/dist/lib/components/ui/{color-field → fields/color-field}/normalize-hex.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/contact-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/contacts-form-field.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/contacts.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{contacts → fields/contacts}/models.d.ts +0 -0
- /package/dist/lib/components/ui/{currency-field → fields/currency-field}/parse-currency.d.ts +0 -0
- /package/dist/lib/components/ui/{email-field → fields/email-field}/is-email.d.ts +0 -0
- /package/dist/lib/components/ui/{field → fields/field}/field.d.ts +0 -0
- /package/dist/lib/components/ui/{field → fields/field}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{field → fields/field}/renderers.d.ts +0 -0
- /package/dist/lib/components/ui/{inline-edit → fields/inline-edit}/inline-edit.d.ts +0 -0
- /package/dist/lib/components/ui/{input-group-field.d.ts → fields/input-group-field/input-group-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{number-field → fields/number-field}/parse-number.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/models.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/opening-hours-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/opening-hours-form-field.d.ts +0 -0
- /package/dist/lib/components/ui/{opening-hours → fields/opening-hours}/opening-hours.d.ts +0 -0
- /package/dist/lib/components/ui/{input-otp.d.ts → fields/otp-field/input-otp.d.ts} +0 -0
- /package/dist/lib/components/ui/{otp-field.d.ts → fields/otp-field/otp-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{password-strength-meter.d.ts → fields/password-field/password-strength-meter.d.ts} +0 -0
- /package/dist/lib/components/ui/{password-strength.d.ts → fields/password-field/password-strength.d.ts} +0 -0
- /package/dist/lib/components/ui/{phone-field → fields/phone-field}/countries.d.ts +0 -0
- /package/dist/lib/components/ui/{phone-field → fields/phone-field}/parse-phone.d.ts +0 -0
- /package/dist/lib/components/ui/{phone-field → fields/phone-field}/phone-country-menu.d.ts +0 -0
- /package/dist/lib/components/ui/{phone-field → fields/phone-field}/phone-field.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/models.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/postal-address-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/postal-address-form-field.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/postal-address.d.ts +0 -0
- /package/dist/lib/components/ui/{postal-address → fields/postal-address}/utils.d.ts +0 -0
- /package/dist/lib/components/ui/{rating-field → fields/rating-field}/clamp-rating.d.ts +0 -0
- /package/dist/lib/components/ui/{search-field → fields/search-field}/debounce.d.ts +0 -0
- /package/dist/lib/components/ui/{slider-readout.d.ts → fields/slider/slider-readout.d.ts} +0 -0
- /package/dist/lib/components/ui/{slider-ticks.d.ts → fields/slider/slider-ticks.d.ts} +0 -0
- /package/dist/lib/components/ui/{switch.d.ts → fields/switch/switch.d.ts} +0 -0
- /package/dist/lib/components/ui/{textarea-field.d.ts → fields/textarea-field/textarea-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{timezone-field → fields/timezone-field}/timezones.d.ts +0 -0
- /package/dist/lib/components/ui/{url-field → fields/url-field}/parse-url.d.ts +0 -0
- /package/dist/lib/components/ui/{app-bar → layout/app-bar}/bottom-app-bar.d.ts +0 -0
- /package/dist/lib/components/ui/{app-bar → layout/app-bar}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{app-bar → layout/app-bar}/top-app-bar.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/activity-content.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/activity-layout.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/app-header.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/app-shell.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{app-shell → layout/app-shell}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{background.d.ts → layout/background/background.d.ts} +0 -0
- /package/dist/lib/components/ui/{breadcrumb.d.ts → layout/breadcrumb/breadcrumb.d.ts} +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/doc-context.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/doc.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/doc.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/doc.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-article.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-child-cards.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-copy-actions.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-header.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-link.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-nav.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-page.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-pager.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-search.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-see-also.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-sidebar.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-toc.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/partials/doc-topbar.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{doc → layout/doc}/use-doc.d.ts +0 -0
- /package/dist/lib/components/ui/{hero.d.ts → layout/hero/hero.d.ts} +0 -0
- /package/dist/lib/components/ui/{navigation-rail → layout/navigation-rail}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{navigation-rail → layout/navigation-rail}/navigation-rail.d.ts +0 -0
- /package/dist/lib/components/ui/{pager.d.ts → layout/pager/pager.d.ts} +0 -0
- /package/dist/lib/components/ui/{resizable.d.ts → layout/resizable/resizable.d.ts} +0 -0
- /package/dist/lib/components/ui/{responsive-grid.d.ts → layout/responsive-grid/responsive-grid.d.ts} +0 -0
- /package/dist/lib/components/ui/{see-also.d.ts → layout/see-also/see-also.d.ts} +0 -0
- /package/dist/lib/components/ui/{sidebar.d.ts → layout/sidebar/sidebar.d.ts} +0 -0
- /package/dist/lib/components/ui/{skip-link.d.ts → layout/skip-link/skip-link.d.ts} +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/step-state.d.ts +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/stepper-icon.d.ts +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/stepper-indicator.d.ts +0 -0
- /package/dist/lib/components/ui/{stepper → layout/stepper}/stepper.d.ts +0 -0
- /package/dist/lib/components/ui/{steps.d.ts → layout/steps/steps.d.ts} +0 -0
- /package/dist/lib/components/ui/layout/{thread-layout.d.ts → thread-layout/thread-layout.d.ts} +0 -0
- /package/dist/lib/components/ui/{toc.d.ts → layout/toc/toc.d.ts} +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/camera-content.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/camera.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/camera.provider.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/consts.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/camera.reducers.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/camera.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/camera.store.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/camera.thunks.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/state/index.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/use-camera.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/utils/camera.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{camera → media/camera}/utils/index.d.ts +0 -0
- /package/dist/lib/components/ui/{file-list → media/file-list}/file-list-field-row.d.ts +0 -0
- /package/dist/lib/components/ui/{file-list → media/file-list}/file-list.d.ts +0 -0
- /package/dist/lib/components/ui/{file-list → media/file-list}/format-file-size.d.ts +0 -0
- /package/dist/lib/components/ui/{file-list → media/file-list}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery-download.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery-keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.presets.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/gallery.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/lightbox-gallery.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/mini-gallery.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-carousel.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-chrome.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-empty.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-featured.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-grid.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-justified.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-lightbox.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-masonry.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-media.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-selection-bar.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-stage.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-strip.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-tile.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/partials/gallery-trigger.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/use-gallery.d.ts +0 -0
- /package/dist/lib/components/ui/{galleries → media/galleries}/use-skip-first.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/crop-image.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/crop-resize-handles.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/image-cropper-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/image-cropper.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{image-cropper → media/image-cropper}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-escape.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-outline-sidebar.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-actions.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-nav.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-search.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar-zoom.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/pdf-toolbar.d.ts +0 -0
- /package/dist/lib/components/ui/{pdf-viewer → media/pdf-viewer}/react-pdf.lazy.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/consts.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/format-time.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-controls.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-extras.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-mini.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-queue.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player-viewport.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/stx-player.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-media-bindings.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-media-events.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-player-shell.d.ts +0 -0
- /package/dist/lib/components/ui/{stx-player → media/stx-player}/use-stx-player.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/network-upload-field/network-upload-field.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/network-upload-field/network-upload-item.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/network-upload-field/use-file-drag-drop.d.ts +0 -0
- /package/dist/lib/components/ui/{upload → media/upload}/s3-upload-field/s3-upload-field.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{video-player → media/video-player}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{context-menu.d.ts → overlays/context-menu/context-menu.d.ts} +0 -0
- /package/dist/lib/components/ui/{hover-card.d.ts → overlays/hover-card/hover-card.d.ts} +0 -0
- /package/dist/lib/components/ui/{popover.d.ts → overlays/popover/popover.d.ts} +0 -0
- /package/dist/lib/components/ui/{accordion.d.ts → primitives/accordion/accordion.d.ts} +0 -0
- /package/dist/lib/components/ui/{activity.d.ts → primitives/activity/activity.d.ts} +0 -0
- /package/dist/lib/components/ui/{card.d.ts → primitives/card/card.d.ts} +0 -0
- /package/dist/lib/components/ui/{collapsible.d.ts → primitives/collapsible/collapsible.d.ts} +0 -0
- /package/dist/lib/components/ui/{icon.d.ts → primitives/icon/icon.d.ts} +0 -0
- /package/dist/lib/components/ui/{kbd-shortcut.d.ts → primitives/kbd/kbd-shortcut.d.ts} +0 -0
- /package/dist/lib/components/ui/{kbd.d.ts → primitives/kbd/kbd.d.ts} +0 -0
- /package/dist/lib/components/ui/{shortcut-glyph.d.ts → primitives/kbd/shortcut-glyph.d.ts} +0 -0
- /package/dist/lib/components/ui/{label.d.ts → primitives/label/label.d.ts} +0 -0
- /package/dist/lib/components/ui/{scroll-area.d.ts → primitives/scroll-area/scroll-area.d.ts} +0 -0
- /package/dist/lib/components/ui/{separator.d.ts → primitives/separator/separator.d.ts} +0 -0
- /package/dist/lib/components/ui/{table.d.ts → primitives/table/table.d.ts} +0 -0
- /package/dist/lib/components/ui/{tabs.d.ts → primitives/tabs/tabs.d.ts} +0 -0
- /package/dist/lib/components/ui/{textarea.d.ts → primitives/textarea/textarea.d.ts} +0 -0
- /package/dist/lib/components/ui/{typography.d.ts → primitives/typography/typography.d.ts} +0 -0
- /package/dist/lib/components/ui/{checkbox.d.ts → selection/checkbox/checkbox.d.ts} +0 -0
- /package/dist/lib/components/ui/{combobox-field → selection/combobox-field}/combobox-field.d.ts +0 -0
- /package/dist/lib/components/ui/{select.d.ts → selection/select/select.d.ts} +0 -0
- /package/dist/lib/components/ui/{select-card-field.d.ts → selection/select-card-field/select-card-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{select-chip-field.d.ts → selection/select-chip-field/select-chip-field.d.ts} +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/partials/sortable-list-dnd.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/partials/sortable-list-empty.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/partials/sortable-list-item.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/sortable-list.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/sortable-list.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{sortable-list → selection/sortable-list}/use-sortable-list.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-actions.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-dnd.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-empty.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-item-row.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-item.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-pane-body.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/partials/transfer-list-pane-header.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.dnd.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/transfer-list.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{transfer-list → selection/transfer-list}/use-transfer-list.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/area-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/bar-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/chart-container.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/funnel-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/heatmap-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/line-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/pie-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/radar-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/scatter-chart.d.ts +0 -0
- /package/dist/lib/components/ui/{charts → widgets/charts}/use-chart-theme.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-conversation-item.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-copy-text.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-inbox.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-markdown-inline.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message-list.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message-meta.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message-separator.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-message.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-reaction-group.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-thread.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-typing-indicator.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat}/chat-unseen.d.ts +0 -0
- /package/dist/lib/components/ui/{chat → widgets/chat/partials}/chat-composer-attachment-chip.d.ts +0 -0
- /package/dist/lib/components/ui/{code → widgets/code-editor}/code-editor-chrome.d.ts +0 -0
- /package/dist/lib/components/ui/{code-editor.d.ts → widgets/code-editor/code-editor.d.ts} +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/index.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-boolean.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-choice.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-multi.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-options.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question-text.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/question.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/questions/types.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/index.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-body.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-nav.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-progress.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/partials/quiz-results.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz-provider.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/quiz.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/types.d.ts +0 -0
- /package/dist/lib/components/ui/{education → widgets/education}/quizzes/use-quiz.d.ts +0 -0
- /package/dist/lib/components/ui/{notifications → widgets/education/quizzes}/use-skip-first.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji-list.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji-picker.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji.groups.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/emoji.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{emoji → widgets/emoji}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar-context.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.container.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.ids.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.preview.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.spans.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/event-calendar.utils.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/agenda-view.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/all-day-lane.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-board.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-date-picker.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-now-line.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/calendar-toolbar.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/day-view.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/event-color-swatches.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/event-preview.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/event-resize-handle.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-day-cell.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-day-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-more.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-view.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/month-week-row.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/span-event.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/time-column.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/time-grid-event.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/time-grid.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/partials/week-view.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/use-event-calendar.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/use-month-create.d.ts +0 -0
- /package/dist/lib/components/ui/{event-calendar → widgets/event-calendar}/use-slot-create.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/index.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban-context.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban.keyboard.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/kanban.slice.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-board.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-card-preview.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-card.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-column-header.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-column.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-composer.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/partials/kanban-group.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{kanban → widgets/kanban}/use-kanban.d.ts +0 -0
- /package/dist/lib/components/ui/{mentions → widgets/mentions}/mention-list.d.ts +0 -0
- /package/dist/lib/components/ui/{mentions → widgets/mentions}/types.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/bubble-menu/buble-menu.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/bubble-menu/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/code/editor-code-block.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/code/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/color/color-picker-popover.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/color/editor-color-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/color/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/accordion-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/accordion-item-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/accordion-item-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/editor-accordion-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/accordion/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-item-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-item-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-settings-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/action-card-settings-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/editor-action-card-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/action-card/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/callout-insert-menu.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/callout/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/checkbox-group-node-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/editor-checkbox-group-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/checkbox-group/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/editor-gallery-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/gallery-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/gallery-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/gallery-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/gallery/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/editor-radio-group-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/radio-group/radio-group-node-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/editor-select-card-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-item-edit-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-item-edit-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-node-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-settings-dialog.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-card/select-card-settings-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/const.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/editor-select-chip-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/extension.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/select-chip/select-chip-node-component.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/shared/icon-options.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/custom/shared/repeating-field-list.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/consts.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/emoji-list.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/emoji-picker.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/emoji/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/font-family/editor-font-family-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/font-family/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/heading/heading-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/heading/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/highlight/editor-highlight-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/highlight/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/image/editor-image-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/image/editor-image.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/image/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/link/editor-link-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/link/editor-link.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/link/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/marks/editor-mark-buttons.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/marks/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-basic.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-insert.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-list.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/slash-command/slash-command-types.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/editor-table-menu.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/editor-table-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/table-cell.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/table-properties-form.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/table/table.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/text-align/editor-text-align-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/text-align/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/youtube/editor-youtube-wrapper.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/youtube/editor-youtube.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/extensions/youtube/index.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/rich-text-editor-toolbar.d.ts +0 -0
- /package/dist/lib/components/ui/{rich-text-editor → widgets/rich-text-editor}/rich-text-editor.d.ts +0 -0
|
@@ -0,0 +1,3486 @@
|
|
|
1
|
+
import { $ as e, Q as t, Z as n, _t as r, at as i, ct as a, d as o, dt as s, et as c, f as l, ft as u, ht as d, i as f, it as p, mt as m, n as h, nt as g, ot as _, p as v, rt as y, t as b, tt as x, u as S, ut as C } from "./icon-button-38As1vrs.js";
|
|
2
|
+
import { t as w } from "./utils-Brj-Qb2N.js";
|
|
3
|
+
import { t as T } from "./use-material-translation-RhoPY_RC.js";
|
|
4
|
+
import { X as E } from "lucide-react";
|
|
5
|
+
import { Fragment as ee, jsx as D, jsxs as O } from "react/jsx-runtime";
|
|
6
|
+
import * as k from "react";
|
|
7
|
+
import A, { Activity as te, createContext as ne, use as re, useCallback as ie, useEffect as j, useId as ae, useMemo as oe, useRef as se, useState as ce } from "react";
|
|
8
|
+
//#region node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
9
|
+
var le = Object.defineProperty, M = (e, t) => le(e, "name", {
|
|
10
|
+
value: t,
|
|
11
|
+
configurable: !0
|
|
12
|
+
}), ue = "focusScope.autoFocusOnMount", de = "focusScope.autoFocusOnUnmount", fe = {
|
|
13
|
+
bubbles: !1,
|
|
14
|
+
cancelable: !0
|
|
15
|
+
}, pe = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ M(function(e, t) {
|
|
16
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: o, ...s } = e, [l, u] = k.useState(null), d = c(i), f = c(o), p = k.useRef(null), h = m(t, u), g = k.useRef({
|
|
17
|
+
paused: !1,
|
|
18
|
+
pause() {
|
|
19
|
+
this.paused = !0;
|
|
20
|
+
},
|
|
21
|
+
resume() {
|
|
22
|
+
this.paused = !1;
|
|
23
|
+
}
|
|
24
|
+
}).current;
|
|
25
|
+
k.useEffect(() => {
|
|
26
|
+
if (r) {
|
|
27
|
+
let e = function(e) {
|
|
28
|
+
if (g.paused || !l) return;
|
|
29
|
+
let t = e.target;
|
|
30
|
+
l.contains(t) ? p.current = t : N(p.current, { select: !0 });
|
|
31
|
+
}, t = function(e) {
|
|
32
|
+
if (g.paused || !l) return;
|
|
33
|
+
let t = e.relatedTarget;
|
|
34
|
+
t !== null && (l.contains(t) || N(p.current, { select: !0 }));
|
|
35
|
+
}, n = function(e) {
|
|
36
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && N(l);
|
|
37
|
+
};
|
|
38
|
+
M(e, "handleFocusIn"), M(t, "handleFocusOut"), M(n, "handleMutations"), document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
39
|
+
let r = new MutationObserver(n);
|
|
40
|
+
return l && r.observe(l, {
|
|
41
|
+
childList: !0,
|
|
42
|
+
subtree: !0
|
|
43
|
+
}), () => {
|
|
44
|
+
document.removeEventListener("focusin", e), document.removeEventListener("focusout", t), r.disconnect();
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}, [
|
|
48
|
+
r,
|
|
49
|
+
l,
|
|
50
|
+
g.paused
|
|
51
|
+
]), k.useEffect(() => {
|
|
52
|
+
if (l) {
|
|
53
|
+
be.add(g);
|
|
54
|
+
let e = document.activeElement;
|
|
55
|
+
if (!l.contains(e)) {
|
|
56
|
+
let t = new CustomEvent(ue, fe);
|
|
57
|
+
l.addEventListener(ue, d), l.dispatchEvent(t), t.defaultPrevented || (me(Ce(ge(l)), { select: !0 }), document.activeElement === e && N(l));
|
|
58
|
+
}
|
|
59
|
+
return () => {
|
|
60
|
+
l.removeEventListener(ue, d), setTimeout(() => {
|
|
61
|
+
let t = new CustomEvent(de, fe);
|
|
62
|
+
l.addEventListener(de, f), l.dispatchEvent(t), t.defaultPrevented || N(e ?? document.body, { select: !0 }), l.removeEventListener(de, f), be.remove(g);
|
|
63
|
+
}, 0);
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
}, [
|
|
67
|
+
l,
|
|
68
|
+
d,
|
|
69
|
+
f,
|
|
70
|
+
g
|
|
71
|
+
]);
|
|
72
|
+
let _ = k.useCallback((e) => {
|
|
73
|
+
if (!n && !r || g.paused) return;
|
|
74
|
+
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
75
|
+
if (t && i) {
|
|
76
|
+
let t = e.currentTarget, [r, a] = he(t);
|
|
77
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && N(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && N(a, { select: !0 })) : i === t && e.preventDefault();
|
|
78
|
+
}
|
|
79
|
+
}, [
|
|
80
|
+
n,
|
|
81
|
+
r,
|
|
82
|
+
g.paused
|
|
83
|
+
]);
|
|
84
|
+
return /* @__PURE__ */ D(a.div, {
|
|
85
|
+
tabIndex: -1,
|
|
86
|
+
...s,
|
|
87
|
+
ref: h,
|
|
88
|
+
onKeyDown: _
|
|
89
|
+
});
|
|
90
|
+
}, "FocusScope"));
|
|
91
|
+
function me(e, { select: t = !1 } = {}) {
|
|
92
|
+
let n = document.activeElement;
|
|
93
|
+
for (let r of e) if (N(r, { select: t }), document.activeElement !== n) return;
|
|
94
|
+
}
|
|
95
|
+
M(me, "focusFirst");
|
|
96
|
+
function he(e) {
|
|
97
|
+
let t = ge(e);
|
|
98
|
+
return [_e(t, e), _e(t.reverse(), e)];
|
|
99
|
+
}
|
|
100
|
+
M(he, "getTabbableEdges");
|
|
101
|
+
function ge(e) {
|
|
102
|
+
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: /* @__PURE__ */ M((e) => {
|
|
103
|
+
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
104
|
+
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
105
|
+
}, "acceptNode") });
|
|
106
|
+
for (; n.nextNode();) t.push(n.currentNode);
|
|
107
|
+
return t;
|
|
108
|
+
}
|
|
109
|
+
M(ge, "getTabbableCandidates");
|
|
110
|
+
function _e(e, t) {
|
|
111
|
+
let n = typeof t.checkVisibility == "function" && t.checkVisibility({ checkVisibilityCSS: !0 });
|
|
112
|
+
for (let r of e) if (!(n ? !r.checkVisibility({ checkVisibilityCSS: !0 }) : ve(r, { upTo: t }))) return r;
|
|
113
|
+
}
|
|
114
|
+
M(_e, "findVisible");
|
|
115
|
+
function ve(e, { upTo: t }) {
|
|
116
|
+
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
117
|
+
for (; e;) {
|
|
118
|
+
if (t !== void 0 && e === t) return !1;
|
|
119
|
+
if (getComputedStyle(e).display === "none") return !0;
|
|
120
|
+
e = e.parentElement;
|
|
121
|
+
}
|
|
122
|
+
return !1;
|
|
123
|
+
}
|
|
124
|
+
M(ve, "isHidden");
|
|
125
|
+
function ye(e) {
|
|
126
|
+
return e instanceof HTMLInputElement && "select" in e;
|
|
127
|
+
}
|
|
128
|
+
M(ye, "isSelectableInput");
|
|
129
|
+
function N(e, { select: t = !1 } = {}) {
|
|
130
|
+
if (e && e.focus) {
|
|
131
|
+
let n = document.activeElement;
|
|
132
|
+
e.focus({ preventScroll: !0 }), e !== n && ye(e) && t && e.select();
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
M(N, "focus");
|
|
136
|
+
var be = xe();
|
|
137
|
+
function xe() {
|
|
138
|
+
let e = [];
|
|
139
|
+
return {
|
|
140
|
+
add(t) {
|
|
141
|
+
let n = e[0];
|
|
142
|
+
t !== n && n?.pause(), e = Se(e, t), e.unshift(t);
|
|
143
|
+
},
|
|
144
|
+
remove(t) {
|
|
145
|
+
e = Se(e, t), e[0]?.resume();
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
M(xe, "createFocusScopesStack");
|
|
150
|
+
function Se(e, t) {
|
|
151
|
+
let n = [...e], r = n.indexOf(t);
|
|
152
|
+
return r !== -1 && n.splice(r, 1), n;
|
|
153
|
+
}
|
|
154
|
+
M(Se, "arrayRemove");
|
|
155
|
+
function Ce(e) {
|
|
156
|
+
return e.filter((e) => e.tagName !== "A");
|
|
157
|
+
}
|
|
158
|
+
M(Ce, "removeLinks");
|
|
159
|
+
//#endregion
|
|
160
|
+
//#region node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
161
|
+
var we = Object.defineProperty, Te = (e, t) => we(e, "name", {
|
|
162
|
+
value: t,
|
|
163
|
+
configurable: !0
|
|
164
|
+
}), Ee = 0, De = null;
|
|
165
|
+
function Oe(e) {
|
|
166
|
+
return ke(), e.children;
|
|
167
|
+
}
|
|
168
|
+
Te(Oe, "FocusGuards");
|
|
169
|
+
function ke() {
|
|
170
|
+
k.useEffect(() => {
|
|
171
|
+
De ||= {
|
|
172
|
+
start: Ae(),
|
|
173
|
+
end: Ae()
|
|
174
|
+
};
|
|
175
|
+
let { start: e, end: t } = De;
|
|
176
|
+
return document.body.firstElementChild !== e && document.body.insertAdjacentElement("afterbegin", e), document.body.lastElementChild !== t && document.body.insertAdjacentElement("beforeend", t), Ee++, () => {
|
|
177
|
+
Ee === 1 && (De?.start.remove(), De?.end.remove(), De = null), Ee = Math.max(0, Ee - 1);
|
|
178
|
+
};
|
|
179
|
+
}, []);
|
|
180
|
+
}
|
|
181
|
+
Te(ke, "useFocusGuards");
|
|
182
|
+
function Ae() {
|
|
183
|
+
let e = document.createElement("span");
|
|
184
|
+
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
185
|
+
}
|
|
186
|
+
Te(Ae, "createFocusGuard");
|
|
187
|
+
//#endregion
|
|
188
|
+
//#region node_modules/tslib/tslib.es6.mjs
|
|
189
|
+
function je(e, t) {
|
|
190
|
+
var n = {};
|
|
191
|
+
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
192
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
193
|
+
return n;
|
|
194
|
+
}
|
|
195
|
+
function Me(e, t, n) {
|
|
196
|
+
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
197
|
+
return e.concat(a || Array.prototype.slice.call(t));
|
|
198
|
+
}
|
|
199
|
+
var P, Ne = r((() => {
|
|
200
|
+
P = function() {
|
|
201
|
+
return P = Object.assign || function(e) {
|
|
202
|
+
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
203
|
+
return e;
|
|
204
|
+
}, P.apply(this, arguments);
|
|
205
|
+
};
|
|
206
|
+
}));
|
|
207
|
+
//#endregion
|
|
208
|
+
//#region node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
209
|
+
Ne();
|
|
210
|
+
var Pe = "right-scroll-bar-position", Fe = "width-before-scroll-bar", Ie = "with-scroll-bars-hidden", Le = "--removed-body-scroll-bar-size";
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
213
|
+
function Re(e, t) {
|
|
214
|
+
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
215
|
+
}
|
|
216
|
+
//#endregion
|
|
217
|
+
//#region node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
218
|
+
function ze(e, t) {
|
|
219
|
+
var n = ce(function() {
|
|
220
|
+
return {
|
|
221
|
+
value: e,
|
|
222
|
+
callback: t,
|
|
223
|
+
facade: {
|
|
224
|
+
get current() {
|
|
225
|
+
return n.value;
|
|
226
|
+
},
|
|
227
|
+
set current(e) {
|
|
228
|
+
var t = n.value;
|
|
229
|
+
t !== e && (n.value = e, n.callback(e, t));
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
})[0];
|
|
234
|
+
return n.callback = t, n.facade;
|
|
235
|
+
}
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
238
|
+
var Be = typeof window < "u" ? k.useLayoutEffect : k.useEffect, Ve = /* @__PURE__ */ new WeakMap();
|
|
239
|
+
function He(e, t) {
|
|
240
|
+
var n = ze(t || null, function(t) {
|
|
241
|
+
return e.forEach(function(e) {
|
|
242
|
+
return Re(e, t);
|
|
243
|
+
});
|
|
244
|
+
});
|
|
245
|
+
return Be(function() {
|
|
246
|
+
var t = Ve.get(n);
|
|
247
|
+
if (t) {
|
|
248
|
+
var r = new Set(t), i = new Set(e), a = n.current;
|
|
249
|
+
r.forEach(function(e) {
|
|
250
|
+
i.has(e) || Re(e, null);
|
|
251
|
+
}), i.forEach(function(e) {
|
|
252
|
+
r.has(e) || Re(e, a);
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
Ve.set(n, e);
|
|
256
|
+
}, [e]), n;
|
|
257
|
+
}
|
|
258
|
+
//#endregion
|
|
259
|
+
//#region node_modules/use-sidecar/dist/es2015/medium.js
|
|
260
|
+
function Ue(e) {
|
|
261
|
+
return e;
|
|
262
|
+
}
|
|
263
|
+
function We(e, t) {
|
|
264
|
+
t === void 0 && (t = Ue);
|
|
265
|
+
var n = [], r = !1;
|
|
266
|
+
return {
|
|
267
|
+
read: function() {
|
|
268
|
+
if (r) throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
|
|
269
|
+
return n.length ? n[n.length - 1] : e;
|
|
270
|
+
},
|
|
271
|
+
useMedium: function(e) {
|
|
272
|
+
var i = t(e, r);
|
|
273
|
+
return n.push(i), function() {
|
|
274
|
+
n = n.filter(function(e) {
|
|
275
|
+
return e !== i;
|
|
276
|
+
});
|
|
277
|
+
};
|
|
278
|
+
},
|
|
279
|
+
assignSyncMedium: function(e) {
|
|
280
|
+
for (r = !0; n.length;) {
|
|
281
|
+
var t = n;
|
|
282
|
+
n = [], t.forEach(e);
|
|
283
|
+
}
|
|
284
|
+
n = {
|
|
285
|
+
push: function(t) {
|
|
286
|
+
return e(t);
|
|
287
|
+
},
|
|
288
|
+
filter: function() {
|
|
289
|
+
return n;
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
},
|
|
293
|
+
assignMedium: function(e) {
|
|
294
|
+
r = !0;
|
|
295
|
+
var t = [];
|
|
296
|
+
if (n.length) {
|
|
297
|
+
var i = n;
|
|
298
|
+
n = [], i.forEach(e), t = n;
|
|
299
|
+
}
|
|
300
|
+
var a = function() {
|
|
301
|
+
var n = t;
|
|
302
|
+
t = [], n.forEach(e);
|
|
303
|
+
}, o = function() {
|
|
304
|
+
return Promise.resolve().then(a);
|
|
305
|
+
};
|
|
306
|
+
o(), n = {
|
|
307
|
+
push: function(e) {
|
|
308
|
+
t.push(e), o();
|
|
309
|
+
},
|
|
310
|
+
filter: function(e) {
|
|
311
|
+
return t = t.filter(e), n;
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
function Ge(e) {
|
|
318
|
+
e === void 0 && (e = {});
|
|
319
|
+
var t = We(null);
|
|
320
|
+
return t.options = P({
|
|
321
|
+
async: !0,
|
|
322
|
+
ssr: !1
|
|
323
|
+
}, e), t;
|
|
324
|
+
}
|
|
325
|
+
//#endregion
|
|
326
|
+
//#region node_modules/use-sidecar/dist/es2015/exports.js
|
|
327
|
+
Ne();
|
|
328
|
+
var Ke = function(e) {
|
|
329
|
+
var t = e.sideCar, n = je(e, ["sideCar"]);
|
|
330
|
+
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
331
|
+
var r = t.read();
|
|
332
|
+
if (!r) throw Error("Sidecar medium not found");
|
|
333
|
+
return k.createElement(r, P({}, n));
|
|
334
|
+
};
|
|
335
|
+
Ke.isSideCarExport = !0;
|
|
336
|
+
function qe(e, t) {
|
|
337
|
+
return e.useMedium(t), Ke;
|
|
338
|
+
}
|
|
339
|
+
//#endregion
|
|
340
|
+
//#region node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
341
|
+
var Je = Ge();
|
|
342
|
+
//#endregion
|
|
343
|
+
//#region node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
344
|
+
Ne();
|
|
345
|
+
var Ye = function() {}, Xe = k.forwardRef(function(e, t) {
|
|
346
|
+
var n = k.useRef(null), r = k.useState({
|
|
347
|
+
onScrollCapture: Ye,
|
|
348
|
+
onWheelCapture: Ye,
|
|
349
|
+
onTouchMoveCapture: Ye
|
|
350
|
+
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b = je(e, [
|
|
351
|
+
"forwardProps",
|
|
352
|
+
"children",
|
|
353
|
+
"className",
|
|
354
|
+
"removeScrollBar",
|
|
355
|
+
"enabled",
|
|
356
|
+
"shards",
|
|
357
|
+
"sideCar",
|
|
358
|
+
"noRelative",
|
|
359
|
+
"noIsolation",
|
|
360
|
+
"inert",
|
|
361
|
+
"allowPinchZoom",
|
|
362
|
+
"as",
|
|
363
|
+
"gapMode"
|
|
364
|
+
]), x = f, S = He([n, t]), C = P(P({}, b), i);
|
|
365
|
+
return k.createElement(k.Fragment, null, u && k.createElement(x, {
|
|
366
|
+
sideCar: Je,
|
|
367
|
+
removeScrollBar: l,
|
|
368
|
+
shards: d,
|
|
369
|
+
noRelative: p,
|
|
370
|
+
noIsolation: m,
|
|
371
|
+
inert: h,
|
|
372
|
+
setCallbacks: a,
|
|
373
|
+
allowPinchZoom: !!g,
|
|
374
|
+
lockRef: n,
|
|
375
|
+
gapMode: y
|
|
376
|
+
}), o ? k.cloneElement(k.Children.only(s), P(P({}, C), { ref: S })) : k.createElement(v, P({}, C, {
|
|
377
|
+
className: c,
|
|
378
|
+
ref: S
|
|
379
|
+
}), s));
|
|
380
|
+
});
|
|
381
|
+
Xe.defaultProps = {
|
|
382
|
+
enabled: !0,
|
|
383
|
+
removeScrollBar: !0,
|
|
384
|
+
inert: !1
|
|
385
|
+
}, Xe.classNames = {
|
|
386
|
+
fullWidth: Fe,
|
|
387
|
+
zeroRight: Pe
|
|
388
|
+
};
|
|
389
|
+
//#endregion
|
|
390
|
+
//#region node_modules/get-nonce/dist/es2015/index.js
|
|
391
|
+
var Ze, Qe = function() {
|
|
392
|
+
if (Ze) return Ze;
|
|
393
|
+
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
394
|
+
};
|
|
395
|
+
//#endregion
|
|
396
|
+
//#region node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
397
|
+
function $e() {
|
|
398
|
+
if (!document) return null;
|
|
399
|
+
var e = document.createElement("style");
|
|
400
|
+
e.type = "text/css";
|
|
401
|
+
var t = Qe();
|
|
402
|
+
return t && e.setAttribute("nonce", t), e;
|
|
403
|
+
}
|
|
404
|
+
function et(e, t) {
|
|
405
|
+
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
406
|
+
}
|
|
407
|
+
function tt(e) {
|
|
408
|
+
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
409
|
+
}
|
|
410
|
+
var nt = function() {
|
|
411
|
+
var e = 0, t = null;
|
|
412
|
+
return {
|
|
413
|
+
add: function(n) {
|
|
414
|
+
e == 0 && (t = $e()) && (et(t, n), tt(t)), e++;
|
|
415
|
+
},
|
|
416
|
+
remove: function() {
|
|
417
|
+
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
418
|
+
}
|
|
419
|
+
};
|
|
420
|
+
}, rt = function() {
|
|
421
|
+
var e = nt();
|
|
422
|
+
return function(t, n) {
|
|
423
|
+
k.useEffect(function() {
|
|
424
|
+
return e.add(t), function() {
|
|
425
|
+
e.remove();
|
|
426
|
+
};
|
|
427
|
+
}, [t && n]);
|
|
428
|
+
};
|
|
429
|
+
}, it = function() {
|
|
430
|
+
var e = rt();
|
|
431
|
+
return function(t) {
|
|
432
|
+
var n = t.styles, r = t.dynamic;
|
|
433
|
+
return e(n, r), null;
|
|
434
|
+
};
|
|
435
|
+
}, at = {
|
|
436
|
+
left: 0,
|
|
437
|
+
top: 0,
|
|
438
|
+
right: 0,
|
|
439
|
+
gap: 0
|
|
440
|
+
}, ot = function(e) {
|
|
441
|
+
return parseInt(e || "", 10) || 0;
|
|
442
|
+
}, st = function(e) {
|
|
443
|
+
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
444
|
+
return [
|
|
445
|
+
ot(n),
|
|
446
|
+
ot(r),
|
|
447
|
+
ot(i)
|
|
448
|
+
];
|
|
449
|
+
}, ct = function(e) {
|
|
450
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return at;
|
|
451
|
+
var t = st(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
452
|
+
return {
|
|
453
|
+
left: t[0],
|
|
454
|
+
top: t[1],
|
|
455
|
+
right: t[2],
|
|
456
|
+
gap: Math.max(0, r - n + t[2] - t[0])
|
|
457
|
+
};
|
|
458
|
+
}, lt = it(), ut = "data-scroll-locked", dt = function(e, t, n, r) {
|
|
459
|
+
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
460
|
+
return n === void 0 && (n = "margin"), `
|
|
461
|
+
.${Ie} {
|
|
462
|
+
overflow: hidden ${r};
|
|
463
|
+
padding-right: ${s}px ${r};
|
|
464
|
+
}
|
|
465
|
+
body[${ut}] {
|
|
466
|
+
overflow: hidden ${r};
|
|
467
|
+
overscroll-behavior: contain;
|
|
468
|
+
${[
|
|
469
|
+
t && `position: relative ${r};`,
|
|
470
|
+
n === "margin" && `
|
|
471
|
+
padding-left: ${i}px;
|
|
472
|
+
padding-top: ${a}px;
|
|
473
|
+
padding-right: ${o}px;
|
|
474
|
+
margin-left:0;
|
|
475
|
+
margin-top:0;
|
|
476
|
+
margin-right: ${s}px ${r};
|
|
477
|
+
`,
|
|
478
|
+
n === "padding" && `padding-right: ${s}px ${r};`
|
|
479
|
+
].filter(Boolean).join("")}
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.${Pe} {
|
|
483
|
+
right: ${s}px ${r};
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.${Fe} {
|
|
487
|
+
margin-right: ${s}px ${r};
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.${Pe} .${Pe} {
|
|
491
|
+
right: 0 ${r};
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.${Fe} .${Fe} {
|
|
495
|
+
margin-right: 0 ${r};
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
body[${ut}] {
|
|
499
|
+
${Le}: ${s}px;
|
|
500
|
+
}
|
|
501
|
+
`;
|
|
502
|
+
}, ft = function() {
|
|
503
|
+
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
504
|
+
return isFinite(e) ? e : 0;
|
|
505
|
+
}, pt = function() {
|
|
506
|
+
k.useEffect(function() {
|
|
507
|
+
return document.body.setAttribute(ut, (ft() + 1).toString()), function() {
|
|
508
|
+
var e = ft() - 1;
|
|
509
|
+
e <= 0 ? document.body.removeAttribute(ut) : document.body.setAttribute(ut, e.toString());
|
|
510
|
+
};
|
|
511
|
+
}, []);
|
|
512
|
+
}, mt = function(e) {
|
|
513
|
+
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
514
|
+
pt();
|
|
515
|
+
var a = k.useMemo(function() {
|
|
516
|
+
return ct(i);
|
|
517
|
+
}, [i]);
|
|
518
|
+
return k.createElement(lt, { styles: dt(a, !t, i, n ? "" : "!important") });
|
|
519
|
+
}, ht = !1;
|
|
520
|
+
if (typeof window < "u") try {
|
|
521
|
+
var gt = Object.defineProperty({}, "passive", { get: function() {
|
|
522
|
+
return ht = !0, !0;
|
|
523
|
+
} });
|
|
524
|
+
window.addEventListener("test", gt, gt), window.removeEventListener("test", gt, gt);
|
|
525
|
+
} catch {
|
|
526
|
+
ht = !1;
|
|
527
|
+
}
|
|
528
|
+
var _t = ht ? { passive: !1 } : !1, vt = function(e) {
|
|
529
|
+
return e.tagName === "TEXTAREA";
|
|
530
|
+
}, yt = function(e, t) {
|
|
531
|
+
if (!(e instanceof Element)) return !1;
|
|
532
|
+
var n = window.getComputedStyle(e);
|
|
533
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !vt(e) && n[t] === "visible");
|
|
534
|
+
}, bt = function(e) {
|
|
535
|
+
return yt(e, "overflowY");
|
|
536
|
+
}, xt = function(e) {
|
|
537
|
+
return yt(e, "overflowX");
|
|
538
|
+
}, St = function(e, t) {
|
|
539
|
+
var n = t.ownerDocument, r = t;
|
|
540
|
+
do {
|
|
541
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), Tt(e, r)) {
|
|
542
|
+
var i = Et(e, r);
|
|
543
|
+
if (i[1] > i[2]) return !0;
|
|
544
|
+
}
|
|
545
|
+
r = r.parentNode;
|
|
546
|
+
} while (r && r !== n.body);
|
|
547
|
+
return !1;
|
|
548
|
+
}, Ct = function(e) {
|
|
549
|
+
return [
|
|
550
|
+
e.scrollTop,
|
|
551
|
+
e.scrollHeight,
|
|
552
|
+
e.clientHeight
|
|
553
|
+
];
|
|
554
|
+
}, wt = function(e) {
|
|
555
|
+
return [
|
|
556
|
+
e.scrollLeft,
|
|
557
|
+
e.scrollWidth,
|
|
558
|
+
e.clientWidth
|
|
559
|
+
];
|
|
560
|
+
}, Tt = function(e, t) {
|
|
561
|
+
return e === "v" ? bt(t) : xt(t);
|
|
562
|
+
}, Et = function(e, t) {
|
|
563
|
+
return e === "v" ? Ct(t) : wt(t);
|
|
564
|
+
}, Dt = function(e, t) {
|
|
565
|
+
return e === "h" && t === "rtl" ? -1 : 1;
|
|
566
|
+
}, Ot = function(e, t, n, r, i) {
|
|
567
|
+
var a = Dt(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
568
|
+
do {
|
|
569
|
+
if (!s) break;
|
|
570
|
+
var p = Et(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
571
|
+
(m || h) && Tt(e, s) && (d += h, f += m);
|
|
572
|
+
var g = s.parentNode;
|
|
573
|
+
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
574
|
+
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
575
|
+
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
576
|
+
};
|
|
577
|
+
//#endregion
|
|
578
|
+
//#region node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
579
|
+
Ne();
|
|
580
|
+
var kt = function(e) {
|
|
581
|
+
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
582
|
+
}, At = function(e) {
|
|
583
|
+
return [e.deltaX, e.deltaY];
|
|
584
|
+
}, jt = function(e) {
|
|
585
|
+
return e && "current" in e ? e.current : e;
|
|
586
|
+
}, Mt = function(e, t) {
|
|
587
|
+
return e[0] === t[0] && e[1] === t[1];
|
|
588
|
+
}, Nt = function(e) {
|
|
589
|
+
return `
|
|
590
|
+
.block-interactivity-${e} {pointer-events: none;}
|
|
591
|
+
.allow-interactivity-${e} {pointer-events: all;}
|
|
592
|
+
`;
|
|
593
|
+
}, Pt = 0, Ft = [];
|
|
594
|
+
function It(e) {
|
|
595
|
+
var t = k.useRef([]), n = k.useRef([0, 0]), r = k.useRef(), i = k.useState(Pt++)[0], a = k.useState(it)[0], o = k.useRef(e);
|
|
596
|
+
k.useEffect(function() {
|
|
597
|
+
o.current = e;
|
|
598
|
+
}, [e]), k.useEffect(function() {
|
|
599
|
+
if (e.inert) {
|
|
600
|
+
document.body.classList.add(`block-interactivity-${i}`);
|
|
601
|
+
var t = Me([e.lockRef.current], (e.shards || []).map(jt), !0).filter(Boolean);
|
|
602
|
+
return t.forEach(function(e) {
|
|
603
|
+
return e.classList.add(`allow-interactivity-${i}`);
|
|
604
|
+
}), function() {
|
|
605
|
+
document.body.classList.remove(`block-interactivity-${i}`), t.forEach(function(e) {
|
|
606
|
+
return e.classList.remove(`allow-interactivity-${i}`);
|
|
607
|
+
});
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
}, [
|
|
611
|
+
e.inert,
|
|
612
|
+
e.lockRef.current,
|
|
613
|
+
e.shards
|
|
614
|
+
]);
|
|
615
|
+
var s = k.useCallback(function(e, t) {
|
|
616
|
+
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
617
|
+
var i = kt(e), a = n.current, s = "deltaX" in e ? e.deltaX : a[0] - i[0], c = "deltaY" in e ? e.deltaY : a[1] - i[1], l, u = e.target, d = Math.abs(s) > Math.abs(c) ? "h" : "v";
|
|
618
|
+
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
619
|
+
var f = window.getSelection(), p = f && f.anchorNode;
|
|
620
|
+
if (p && (p === u || p.contains(u))) return !1;
|
|
621
|
+
var m = St(d, u);
|
|
622
|
+
if (!m) return !0;
|
|
623
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = St(d, u)), !m) return !1;
|
|
624
|
+
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
625
|
+
var h = r.current || l;
|
|
626
|
+
return Ot(h, t, e, h === "h" ? s : c, !0);
|
|
627
|
+
}, []), c = k.useCallback(function(e) {
|
|
628
|
+
var n = e;
|
|
629
|
+
if (!(!Ft.length || Ft[Ft.length - 1] !== a)) {
|
|
630
|
+
var r = "deltaY" in n ? At(n) : kt(n), i = t.current.filter(function(e) {
|
|
631
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && Mt(e.delta, r);
|
|
632
|
+
})[0];
|
|
633
|
+
if (i && i.should) {
|
|
634
|
+
n.cancelable && n.preventDefault();
|
|
635
|
+
return;
|
|
636
|
+
}
|
|
637
|
+
if (!i) {
|
|
638
|
+
var c = (o.current.shards || []).map(jt).filter(Boolean).filter(function(e) {
|
|
639
|
+
return e.contains(n.target);
|
|
640
|
+
});
|
|
641
|
+
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
}, []), l = k.useCallback(function(e, n, r, i) {
|
|
645
|
+
var a = {
|
|
646
|
+
name: e,
|
|
647
|
+
delta: n,
|
|
648
|
+
target: r,
|
|
649
|
+
should: i,
|
|
650
|
+
shadowParent: Lt(r)
|
|
651
|
+
};
|
|
652
|
+
t.current.push(a), setTimeout(function() {
|
|
653
|
+
t.current = t.current.filter(function(e) {
|
|
654
|
+
return e !== a;
|
|
655
|
+
});
|
|
656
|
+
}, 1);
|
|
657
|
+
}, []), u = k.useCallback(function(e) {
|
|
658
|
+
n.current = kt(e), r.current = void 0;
|
|
659
|
+
}, []), d = k.useCallback(function(t) {
|
|
660
|
+
l(t.type, At(t), t.target, s(t, e.lockRef.current));
|
|
661
|
+
}, []), f = k.useCallback(function(t) {
|
|
662
|
+
l(t.type, kt(t), t.target, s(t, e.lockRef.current));
|
|
663
|
+
}, []);
|
|
664
|
+
k.useEffect(function() {
|
|
665
|
+
return Ft.push(a), e.setCallbacks({
|
|
666
|
+
onScrollCapture: d,
|
|
667
|
+
onWheelCapture: d,
|
|
668
|
+
onTouchMoveCapture: f
|
|
669
|
+
}), document.addEventListener("wheel", c, _t), document.addEventListener("touchmove", c, _t), document.addEventListener("touchstart", u, _t), function() {
|
|
670
|
+
Ft = Ft.filter(function(e) {
|
|
671
|
+
return e !== a;
|
|
672
|
+
}), document.removeEventListener("wheel", c, _t), document.removeEventListener("touchmove", c, _t), document.removeEventListener("touchstart", u, _t);
|
|
673
|
+
};
|
|
674
|
+
}, []);
|
|
675
|
+
var p = e.removeScrollBar, m = e.inert;
|
|
676
|
+
return k.createElement(k.Fragment, null, m ? k.createElement(a, { styles: Nt(i) }) : null, p ? k.createElement(mt, {
|
|
677
|
+
noRelative: e.noRelative,
|
|
678
|
+
gapMode: e.gapMode
|
|
679
|
+
}) : null);
|
|
680
|
+
}
|
|
681
|
+
function Lt(e) {
|
|
682
|
+
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
683
|
+
return t;
|
|
684
|
+
}
|
|
685
|
+
//#endregion
|
|
686
|
+
//#region node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
687
|
+
var Rt = qe(Je, It);
|
|
688
|
+
//#endregion
|
|
689
|
+
//#region node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
690
|
+
Ne();
|
|
691
|
+
var zt = k.forwardRef(function(e, t) {
|
|
692
|
+
return k.createElement(Xe, P({}, e, {
|
|
693
|
+
ref: t,
|
|
694
|
+
sideCar: Rt
|
|
695
|
+
}));
|
|
696
|
+
});
|
|
697
|
+
zt.classNames = Xe.classNames;
|
|
698
|
+
//#endregion
|
|
699
|
+
//#region node_modules/aria-hidden/dist/es2015/index.js
|
|
700
|
+
var Bt = function(e) {
|
|
701
|
+
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
702
|
+
}, Vt = /* @__PURE__ */ new WeakMap(), Ht = /* @__PURE__ */ new WeakMap(), Ut = {}, Wt = 0, Gt = function(e) {
|
|
703
|
+
return e && (e.host || Gt(e.parentNode));
|
|
704
|
+
}, Kt = function(e, t) {
|
|
705
|
+
return t.map(function(t) {
|
|
706
|
+
if (e.contains(t)) return t;
|
|
707
|
+
var n = Gt(t);
|
|
708
|
+
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
709
|
+
}).filter(function(e) {
|
|
710
|
+
return !!e;
|
|
711
|
+
});
|
|
712
|
+
}, qt = function(e, t, n, r) {
|
|
713
|
+
var i = Kt(t, Array.isArray(e) ? e : [e]);
|
|
714
|
+
Ut[n] || (Ut[n] = /* @__PURE__ */ new WeakMap());
|
|
715
|
+
var a = Ut[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
716
|
+
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
717
|
+
};
|
|
718
|
+
i.forEach(l);
|
|
719
|
+
var u = function(e) {
|
|
720
|
+
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
721
|
+
if (s.has(e)) u(e);
|
|
722
|
+
else try {
|
|
723
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (Vt.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
724
|
+
Vt.set(e, c), a.set(e, l), o.push(e), c === 1 && i && Ht.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
725
|
+
} catch (t) {
|
|
726
|
+
console.error("aria-hidden: cannot operate on ", e, t);
|
|
727
|
+
}
|
|
728
|
+
});
|
|
729
|
+
};
|
|
730
|
+
return u(t), s.clear(), Wt++, function() {
|
|
731
|
+
o.forEach(function(e) {
|
|
732
|
+
var t = Vt.get(e) - 1, i = a.get(e) - 1;
|
|
733
|
+
Vt.set(e, t), a.set(e, i), t || (Ht.has(e) || e.removeAttribute(r), Ht.delete(e)), i || e.removeAttribute(n);
|
|
734
|
+
}), Wt--, Wt || (Vt = /* @__PURE__ */ new WeakMap(), Vt = /* @__PURE__ */ new WeakMap(), Ht = /* @__PURE__ */ new WeakMap(), Ut = {});
|
|
735
|
+
};
|
|
736
|
+
}, Jt = function(e, t, n) {
|
|
737
|
+
n === void 0 && (n = "data-aria-hidden");
|
|
738
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Bt(e);
|
|
739
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), qt(r, i, n, "aria-hidden")) : function() {
|
|
740
|
+
return null;
|
|
741
|
+
};
|
|
742
|
+
}, Yt = Object.defineProperty, F = (e, t) => Yt(e, "name", {
|
|
743
|
+
value: t,
|
|
744
|
+
configurable: !0
|
|
745
|
+
}), Xt = "Dialog", [Zt, Qt] = _(Xt), [$t, I] = Zt(Xt), en = /* @__PURE__ */ F((e) => {
|
|
746
|
+
let { __scopeDialog: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !0 } = e, s = k.useRef(null), c = k.useRef(null), [l, u] = y({
|
|
747
|
+
prop: r,
|
|
748
|
+
defaultProp: i ?? !1,
|
|
749
|
+
onChange: a,
|
|
750
|
+
caller: Xt
|
|
751
|
+
}), [d, f] = k.useState(0), [p, m] = k.useState(0);
|
|
752
|
+
return /* @__PURE__ */ D($t, {
|
|
753
|
+
scope: t,
|
|
754
|
+
triggerRef: s,
|
|
755
|
+
contentRef: c,
|
|
756
|
+
contentId: x(),
|
|
757
|
+
titleId: x(),
|
|
758
|
+
descriptionId: x(),
|
|
759
|
+
titlePresent: d > 0,
|
|
760
|
+
descriptionPresent: p > 0,
|
|
761
|
+
setTitleCount: f,
|
|
762
|
+
setDescriptionCount: m,
|
|
763
|
+
open: l,
|
|
764
|
+
onOpenChange: u,
|
|
765
|
+
onOpenToggle: k.useCallback(() => u((e) => !e), [u]),
|
|
766
|
+
modal: o,
|
|
767
|
+
children: n
|
|
768
|
+
});
|
|
769
|
+
}, "Dialog"), tn = "DialogTrigger", nn = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ F(function(e, t) {
|
|
770
|
+
let { __scopeDialog: n, ...r } = e, o = I(tn, n), s = m(t, o.triggerRef);
|
|
771
|
+
return /* @__PURE__ */ D(a.button, {
|
|
772
|
+
type: "button",
|
|
773
|
+
"aria-haspopup": "dialog",
|
|
774
|
+
"aria-expanded": o.open,
|
|
775
|
+
"aria-controls": o.open ? o.contentId : void 0,
|
|
776
|
+
"data-state": Cn(o.open),
|
|
777
|
+
...r,
|
|
778
|
+
ref: s,
|
|
779
|
+
onClick: i(e.onClick, o.onOpenToggle)
|
|
780
|
+
});
|
|
781
|
+
}, "DialogTrigger")), rn = "DialogPortal", [an, on] = Zt(rn, { forceMount: void 0 }), sn = /* @__PURE__ */ F((e) => {
|
|
782
|
+
let { __scopeDialog: t, forceMount: r, children: i, container: a } = e, o = I(rn, t);
|
|
783
|
+
return /* @__PURE__ */ D(an, {
|
|
784
|
+
scope: t,
|
|
785
|
+
forceMount: r,
|
|
786
|
+
children: k.Children.map(i, (e) => /* @__PURE__ */ D(g, {
|
|
787
|
+
present: r || o.open,
|
|
788
|
+
children: /* @__PURE__ */ D(n, {
|
|
789
|
+
asChild: !0,
|
|
790
|
+
container: a,
|
|
791
|
+
children: e
|
|
792
|
+
})
|
|
793
|
+
}))
|
|
794
|
+
});
|
|
795
|
+
}, "DialogPortal"), cn = "DialogOverlay", ln = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ F(function(e, t) {
|
|
796
|
+
let n = on(cn, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = I(cn, e.__scopeDialog);
|
|
797
|
+
return a.modal ? /* @__PURE__ */ D(g, {
|
|
798
|
+
present: r || a.open,
|
|
799
|
+
children: /* @__PURE__ */ D(dn, {
|
|
800
|
+
...i,
|
|
801
|
+
ref: t
|
|
802
|
+
})
|
|
803
|
+
}) : null;
|
|
804
|
+
}, "DialogOverlay")), un = u("DialogOverlay.RemoveScroll"), dn = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ F(function(t, n) {
|
|
805
|
+
let { __scopeDialog: r, ...i } = t, o = I(cn, r), s = m(n, e());
|
|
806
|
+
return /* @__PURE__ */ D(zt, {
|
|
807
|
+
as: un,
|
|
808
|
+
allowPinchZoom: !0,
|
|
809
|
+
shards: [o.contentRef],
|
|
810
|
+
children: /* @__PURE__ */ D(a.div, {
|
|
811
|
+
"data-state": Cn(o.open),
|
|
812
|
+
...i,
|
|
813
|
+
ref: s,
|
|
814
|
+
style: {
|
|
815
|
+
pointerEvents: "auto",
|
|
816
|
+
...i.style
|
|
817
|
+
}
|
|
818
|
+
})
|
|
819
|
+
});
|
|
820
|
+
}, "DialogOverlayImpl")), fn = "DialogContent", pn = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ F(function(e, t) {
|
|
821
|
+
let n = on(fn, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = I(fn, e.__scopeDialog);
|
|
822
|
+
return /* @__PURE__ */ D(g, {
|
|
823
|
+
present: r || a.open,
|
|
824
|
+
children: a.modal ? /* @__PURE__ */ D(mn, {
|
|
825
|
+
...i,
|
|
826
|
+
ref: t
|
|
827
|
+
}) : /* @__PURE__ */ D(hn, {
|
|
828
|
+
...i,
|
|
829
|
+
ref: t
|
|
830
|
+
})
|
|
831
|
+
});
|
|
832
|
+
}, "DialogContent")), mn = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ F(function(e, t) {
|
|
833
|
+
let n = I(fn, e.__scopeDialog), r = k.useRef(null), a = m(t, n.contentRef, r);
|
|
834
|
+
return k.useEffect(() => {
|
|
835
|
+
let e = r.current;
|
|
836
|
+
if (e) return Jt(e);
|
|
837
|
+
}, []), /* @__PURE__ */ D(gn, {
|
|
838
|
+
...e,
|
|
839
|
+
ref: a,
|
|
840
|
+
trapFocus: n.open,
|
|
841
|
+
disableOutsidePointerEvents: n.open,
|
|
842
|
+
onCloseAutoFocus: i(e.onCloseAutoFocus, (e) => {
|
|
843
|
+
e.preventDefault(), n.triggerRef.current?.focus();
|
|
844
|
+
}),
|
|
845
|
+
onPointerDownOutside: i(e.onPointerDownOutside, (e) => {
|
|
846
|
+
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
847
|
+
(t.button === 2 || n) && e.preventDefault();
|
|
848
|
+
}),
|
|
849
|
+
onFocusOutside: i(e.onFocusOutside, (e) => e.preventDefault())
|
|
850
|
+
});
|
|
851
|
+
}, "DialogContentModal")), hn = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ F(function(e, t) {
|
|
852
|
+
let n = I(fn, e.__scopeDialog), r = k.useRef(!1), i = k.useRef(!1);
|
|
853
|
+
return /* @__PURE__ */ D(gn, {
|
|
854
|
+
...e,
|
|
855
|
+
ref: t,
|
|
856
|
+
trapFocus: !1,
|
|
857
|
+
disableOutsidePointerEvents: !1,
|
|
858
|
+
onCloseAutoFocus: (t) => {
|
|
859
|
+
e.onCloseAutoFocus?.(t), t.defaultPrevented || (r.current || n.triggerRef.current?.focus(), t.preventDefault()), r.current = !1, i.current = !1;
|
|
860
|
+
},
|
|
861
|
+
onInteractOutside: (t) => {
|
|
862
|
+
e.onInteractOutside?.(t), t.defaultPrevented || (r.current = !0, t.detail.originalEvent.type === "pointerdown" && (i.current = !0));
|
|
863
|
+
let a = t.target;
|
|
864
|
+
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
865
|
+
}
|
|
866
|
+
});
|
|
867
|
+
}, "DialogContentNonModal")), gn = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ F(function(e, n) {
|
|
868
|
+
let { __scopeDialog: r, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, ...s } = e, c = I(fn, r);
|
|
869
|
+
return ke(), /* @__PURE__ */ D(ee, { children: /* @__PURE__ */ D(pe, {
|
|
870
|
+
asChild: !0,
|
|
871
|
+
loop: !0,
|
|
872
|
+
trapped: i,
|
|
873
|
+
onMountAutoFocus: a,
|
|
874
|
+
onUnmountAutoFocus: o,
|
|
875
|
+
children: /* @__PURE__ */ D(t, {
|
|
876
|
+
role: "dialog",
|
|
877
|
+
id: c.contentId,
|
|
878
|
+
"aria-describedby": c.descriptionPresent ? c.descriptionId : void 0,
|
|
879
|
+
"aria-labelledby": c.titlePresent ? c.titleId : void 0,
|
|
880
|
+
"data-state": Cn(c.open),
|
|
881
|
+
...s,
|
|
882
|
+
ref: n,
|
|
883
|
+
deferPointerDownOutside: !0,
|
|
884
|
+
onDismiss: () => c.onOpenChange(!1)
|
|
885
|
+
})
|
|
886
|
+
}) });
|
|
887
|
+
}, "DialogContentImpl")), _n = "DialogTitle", vn = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ F(function(e, t) {
|
|
888
|
+
let { __scopeDialog: n, ...r } = e, i = I(_n, n), { setTitleCount: o } = i;
|
|
889
|
+
return p(() => (o((e) => e + 1), () => o((e) => e - 1)), [o]), /* @__PURE__ */ D(a.h2, {
|
|
890
|
+
id: i.titleId,
|
|
891
|
+
...r,
|
|
892
|
+
ref: t
|
|
893
|
+
});
|
|
894
|
+
}, "DialogTitle")), yn = "DialogDescription", bn = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ F(function(e, t) {
|
|
895
|
+
let { __scopeDialog: n, ...r } = e, i = I(yn, n), { setDescriptionCount: o } = i;
|
|
896
|
+
return p(() => (o((e) => e + 1), () => o((e) => e - 1)), [o]), /* @__PURE__ */ D(a.p, {
|
|
897
|
+
id: i.descriptionId,
|
|
898
|
+
...r,
|
|
899
|
+
ref: t
|
|
900
|
+
});
|
|
901
|
+
}, "DialogDescription")), xn = "DialogClose", Sn = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ F(function(e, t) {
|
|
902
|
+
let { __scopeDialog: n, ...r } = e, o = I(xn, n);
|
|
903
|
+
return /* @__PURE__ */ D(a.button, {
|
|
904
|
+
type: "button",
|
|
905
|
+
...r,
|
|
906
|
+
ref: t,
|
|
907
|
+
onClick: i(e.onClick, () => o.onOpenChange(!1))
|
|
908
|
+
});
|
|
909
|
+
}, "DialogClose"));
|
|
910
|
+
function Cn(e) {
|
|
911
|
+
return e ? "open" : "closed";
|
|
912
|
+
}
|
|
913
|
+
F(Cn, "getState");
|
|
914
|
+
//#endregion
|
|
915
|
+
//#region node_modules/@radix-ui/react-label/dist/index.mjs
|
|
916
|
+
var wn = Object.defineProperty, Tn = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ ((e, t) => wn(e, "name", {
|
|
917
|
+
value: t,
|
|
918
|
+
configurable: !0
|
|
919
|
+
}))(function(e, t) {
|
|
920
|
+
return /* @__PURE__ */ D(a.label, {
|
|
921
|
+
...e,
|
|
922
|
+
ref: t,
|
|
923
|
+
onMouseDown: (t) => {
|
|
924
|
+
t.target.closest("button, input, select, textarea") || (e.onMouseDown?.(t), !t.defaultPrevented && t.detail > 1 && t.preventDefault());
|
|
925
|
+
}
|
|
926
|
+
});
|
|
927
|
+
}, "Label")), En = Object.defineProperty, L = (e, t) => En(e, "name", {
|
|
928
|
+
value: t,
|
|
929
|
+
configurable: !0
|
|
930
|
+
}), Dn, On = "HoverCard", [kn, An] = _(On, [v]), jn = v(), [Mn, Nn] = kn(On), Pn = /* @__PURE__ */ L((e) => {
|
|
931
|
+
let { __scopeHoverCard: t, children: n, open: r, defaultOpen: i, onOpenChange: a, openDelay: o = 700, closeDelay: s = 300 } = e, c = jn(t), u = k.useRef(0), d = k.useRef(0), f = k.useRef(!1), p = k.useRef(!1), [m, h] = y({
|
|
932
|
+
prop: r,
|
|
933
|
+
defaultProp: i ?? !1,
|
|
934
|
+
onChange: a,
|
|
935
|
+
caller: On
|
|
936
|
+
}), g = k.useCallback(() => {
|
|
937
|
+
clearTimeout(d.current), u.current = window.setTimeout(() => h(!0), o);
|
|
938
|
+
}, [o, h]), _ = k.useCallback(() => {
|
|
939
|
+
clearTimeout(u.current), !f.current && !p.current && (d.current = window.setTimeout(() => h(!1), s));
|
|
940
|
+
}, [s, h]), v = k.useCallback(() => h(!1), [h]);
|
|
941
|
+
return k.useEffect(() => () => {
|
|
942
|
+
clearTimeout(u.current), clearTimeout(d.current);
|
|
943
|
+
}, []), /* @__PURE__ */ D(Mn, {
|
|
944
|
+
scope: t,
|
|
945
|
+
open: m,
|
|
946
|
+
onOpenChange: h,
|
|
947
|
+
onOpen: g,
|
|
948
|
+
onClose: _,
|
|
949
|
+
onDismiss: v,
|
|
950
|
+
hasSelectionRef: f,
|
|
951
|
+
isPointerDownOnContentRef: p,
|
|
952
|
+
children: /* @__PURE__ */ D(l, {
|
|
953
|
+
...c,
|
|
954
|
+
children: n
|
|
955
|
+
})
|
|
956
|
+
});
|
|
957
|
+
}, "HoverCard"), Fn = "HoverCardTrigger", In = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ L(function(e, t) {
|
|
958
|
+
let { __scopeHoverCard: n, ...r } = e, o = Nn(Fn, n);
|
|
959
|
+
return /* @__PURE__ */ D(S, {
|
|
960
|
+
asChild: !0,
|
|
961
|
+
...jn(n),
|
|
962
|
+
children: /* @__PURE__ */ D(a.a, {
|
|
963
|
+
"data-state": o.open ? "open" : "closed",
|
|
964
|
+
...r,
|
|
965
|
+
ref: t,
|
|
966
|
+
onPointerEnter: i(e.onPointerEnter, Wn(o.onOpen)),
|
|
967
|
+
onPointerLeave: i(e.onPointerLeave, Wn(o.onClose)),
|
|
968
|
+
onFocus: i(e.onFocus, o.onOpen),
|
|
969
|
+
onBlur: i(e.onBlur, o.onClose),
|
|
970
|
+
onTouchStart: i(e.onTouchStart, (e) => e.preventDefault())
|
|
971
|
+
})
|
|
972
|
+
});
|
|
973
|
+
}, "HoverCardTrigger")), Ln = "HoverCardPortal", [Rn, zn] = kn(Ln, { forceMount: void 0 }), Bn = /* @__PURE__ */ L((e) => {
|
|
974
|
+
let { __scopeHoverCard: t, forceMount: r, children: i, container: a } = e, o = Nn(Ln, t);
|
|
975
|
+
return /* @__PURE__ */ D(Rn, {
|
|
976
|
+
scope: t,
|
|
977
|
+
forceMount: r,
|
|
978
|
+
children: /* @__PURE__ */ D(g, {
|
|
979
|
+
present: r || o.open,
|
|
980
|
+
children: /* @__PURE__ */ D(n, {
|
|
981
|
+
asChild: !0,
|
|
982
|
+
container: a,
|
|
983
|
+
children: i
|
|
984
|
+
})
|
|
985
|
+
})
|
|
986
|
+
});
|
|
987
|
+
}, "HoverCardPortal"), Vn = "HoverCardContent", Hn = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ L(function(e, t) {
|
|
988
|
+
let n = zn(Vn, e.__scopeHoverCard), { forceMount: r = n.forceMount, ...a } = e, o = Nn(Vn, e.__scopeHoverCard);
|
|
989
|
+
return /* @__PURE__ */ D(g, {
|
|
990
|
+
present: r || o.open,
|
|
991
|
+
children: /* @__PURE__ */ D(Un, {
|
|
992
|
+
"data-state": o.open ? "open" : "closed",
|
|
993
|
+
...a,
|
|
994
|
+
onPointerEnter: i(e.onPointerEnter, Wn(o.onOpen)),
|
|
995
|
+
onPointerLeave: i(e.onPointerLeave, Wn(o.onClose)),
|
|
996
|
+
ref: t
|
|
997
|
+
})
|
|
998
|
+
});
|
|
999
|
+
}, "HoverCardContent")), Un = /* @__PURE__ */ k.forwardRef(/* @__PURE__ */ L(function(e, n) {
|
|
1000
|
+
let { __scopeHoverCard: r, onEscapeKeyDown: a, onPointerDownOutside: s, onFocusOutside: c, onInteractOutside: l, ...u } = e, d = Nn(Vn, r), f = jn(r), p = k.useRef(null), h = m(n, p), [g, _] = k.useState(!1);
|
|
1001
|
+
return k.useEffect(() => {
|
|
1002
|
+
if (g) {
|
|
1003
|
+
let e = document.body;
|
|
1004
|
+
return Dn = e.style.userSelect || e.style.webkitUserSelect, e.style.userSelect = "none", e.style.webkitUserSelect = "none", () => {
|
|
1005
|
+
e.style.userSelect = Dn, e.style.webkitUserSelect = Dn;
|
|
1006
|
+
};
|
|
1007
|
+
}
|
|
1008
|
+
}, [g]), k.useEffect(() => {
|
|
1009
|
+
if (p.current) {
|
|
1010
|
+
let e = /* @__PURE__ */ L(() => {
|
|
1011
|
+
_(!1), d.isPointerDownOnContentRef.current = !1, setTimeout(() => {
|
|
1012
|
+
document.getSelection()?.toString() !== "" && (d.hasSelectionRef.current = !0);
|
|
1013
|
+
});
|
|
1014
|
+
}, "handlePointerUp");
|
|
1015
|
+
return document.addEventListener("pointerup", e), () => {
|
|
1016
|
+
document.removeEventListener("pointerup", e), d.hasSelectionRef.current = !1, d.isPointerDownOnContentRef.current = !1;
|
|
1017
|
+
};
|
|
1018
|
+
}
|
|
1019
|
+
}, [d.isPointerDownOnContentRef, d.hasSelectionRef]), k.useEffect(() => {
|
|
1020
|
+
p.current && Gn(p.current).forEach((e) => e.setAttribute("tabindex", "-1"));
|
|
1021
|
+
}), /* @__PURE__ */ D(t, {
|
|
1022
|
+
asChild: !0,
|
|
1023
|
+
disableOutsidePointerEvents: !1,
|
|
1024
|
+
onInteractOutside: l,
|
|
1025
|
+
onEscapeKeyDown: a,
|
|
1026
|
+
onPointerDownOutside: s,
|
|
1027
|
+
onFocusOutside: i(c, (e) => {
|
|
1028
|
+
e.preventDefault();
|
|
1029
|
+
}),
|
|
1030
|
+
onDismiss: d.onDismiss,
|
|
1031
|
+
children: /* @__PURE__ */ D(o, {
|
|
1032
|
+
...f,
|
|
1033
|
+
...u,
|
|
1034
|
+
onPointerDown: i(u.onPointerDown, (e) => {
|
|
1035
|
+
e.currentTarget.contains(e.target) && _(!0), d.hasSelectionRef.current = !1, d.isPointerDownOnContentRef.current = !0;
|
|
1036
|
+
}),
|
|
1037
|
+
ref: h,
|
|
1038
|
+
style: {
|
|
1039
|
+
...u.style,
|
|
1040
|
+
userSelect: g ? "text" : void 0,
|
|
1041
|
+
WebkitUserSelect: g ? "text" : void 0,
|
|
1042
|
+
"--radix-hover-card-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
1043
|
+
"--radix-hover-card-content-available-width": "var(--radix-popper-available-width)",
|
|
1044
|
+
"--radix-hover-card-content-available-height": "var(--radix-popper-available-height)",
|
|
1045
|
+
"--radix-hover-card-trigger-width": "var(--radix-popper-anchor-width)",
|
|
1046
|
+
"--radix-hover-card-trigger-height": "var(--radix-popper-anchor-height)"
|
|
1047
|
+
}
|
|
1048
|
+
})
|
|
1049
|
+
});
|
|
1050
|
+
}, "HoverCardContentImpl"));
|
|
1051
|
+
function Wn(e) {
|
|
1052
|
+
return (t) => t.pointerType === "touch" ? void 0 : e();
|
|
1053
|
+
}
|
|
1054
|
+
L(Wn, "excludeTouch");
|
|
1055
|
+
function Gn(e) {
|
|
1056
|
+
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: /* @__PURE__ */ L((e) => e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP, "acceptNode") });
|
|
1057
|
+
for (; n.nextNode();) t.push(n.currentNode);
|
|
1058
|
+
return t;
|
|
1059
|
+
}
|
|
1060
|
+
L(Gn, "getTabbableNodes");
|
|
1061
|
+
var Kn = Pn, qn = In, Jn = Bn, Yn = Hn, Xn = d("transition-all duration-500", {
|
|
1062
|
+
variants: {
|
|
1063
|
+
variant: {
|
|
1064
|
+
1: "",
|
|
1065
|
+
2: "",
|
|
1066
|
+
3: "",
|
|
1067
|
+
4: ""
|
|
1068
|
+
},
|
|
1069
|
+
color: {
|
|
1070
|
+
primary: null,
|
|
1071
|
+
secondary: null,
|
|
1072
|
+
info: null,
|
|
1073
|
+
warning: null,
|
|
1074
|
+
default: null,
|
|
1075
|
+
error: null,
|
|
1076
|
+
success: null,
|
|
1077
|
+
light: null
|
|
1078
|
+
}
|
|
1079
|
+
},
|
|
1080
|
+
defaultVariants: {
|
|
1081
|
+
variant: "1",
|
|
1082
|
+
color: "primary"
|
|
1083
|
+
},
|
|
1084
|
+
compoundVariants: [
|
|
1085
|
+
{
|
|
1086
|
+
variant: "1",
|
|
1087
|
+
color: "primary",
|
|
1088
|
+
className: "border-primary/10 border-t-primary"
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
variant: "1",
|
|
1092
|
+
color: "secondary",
|
|
1093
|
+
className: "border-secondary/10 border-t-secondary"
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
variant: "1",
|
|
1097
|
+
color: "success",
|
|
1098
|
+
className: "border-success/10 border-t-success"
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
variant: "1",
|
|
1102
|
+
color: "info",
|
|
1103
|
+
className: "border-info/10 border-t-info"
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
variant: "1",
|
|
1107
|
+
color: "warning",
|
|
1108
|
+
className: "border-warning/10 border-t-warning"
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
variant: "1",
|
|
1112
|
+
color: "error",
|
|
1113
|
+
className: "border-error/10 border-t-error"
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
variant: "1",
|
|
1117
|
+
color: "default",
|
|
1118
|
+
className: "border-foreground/10 border-t-foreground"
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
variant: "1",
|
|
1122
|
+
color: "default",
|
|
1123
|
+
className: "border-white/10 border-t-white"
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
variant: "2",
|
|
1127
|
+
color: "primary",
|
|
1128
|
+
className: "border-primary/10 border-b-primary border-t-primary"
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
variant: "2",
|
|
1132
|
+
color: "secondary",
|
|
1133
|
+
className: "border-secondary/10 border-b-secondary border-t-secondary"
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
variant: "2",
|
|
1137
|
+
color: "success",
|
|
1138
|
+
className: "border-success/10 border-b-success border-t-success"
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
variant: "2",
|
|
1142
|
+
color: "info",
|
|
1143
|
+
className: "border-info/10 border-b-info border-t-info"
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
variant: "2",
|
|
1147
|
+
color: "warning",
|
|
1148
|
+
className: "border-warning/10 border-b-warning border-t-warning"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
variant: "2",
|
|
1152
|
+
color: "error",
|
|
1153
|
+
className: "border-error/10 border-b-error border-t-error"
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
variant: "2",
|
|
1157
|
+
color: "default",
|
|
1158
|
+
className: "border-foreground/10 border-b-foreground border-t-foreground"
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
variant: "2",
|
|
1162
|
+
color: "light",
|
|
1163
|
+
className: "border-white/10 border-b-white border-t-white"
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
variant: "3",
|
|
1167
|
+
color: "primary",
|
|
1168
|
+
className: "border-primary/10 border-b-primary border-t-primary border-r-primary"
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
variant: "3",
|
|
1172
|
+
color: "secondary",
|
|
1173
|
+
className: "border-secondary/10 border-b-secondary border-t-secondary border-r-secondary"
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
variant: "3",
|
|
1177
|
+
color: "success",
|
|
1178
|
+
className: "border-success/10 border-b-success border-t-success border-r-success"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
variant: "3",
|
|
1182
|
+
color: "info",
|
|
1183
|
+
className: "border-info/10 border-b-info border-t-info border-r-info"
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
variant: "3",
|
|
1187
|
+
color: "warning",
|
|
1188
|
+
className: "border-warning/10 border-b-warning border-t-warning border-r-warning"
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
variant: "3",
|
|
1192
|
+
color: "error",
|
|
1193
|
+
className: "border-error/10 border-b-error border-t-error border-r-error"
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
variant: "3",
|
|
1197
|
+
color: "default",
|
|
1198
|
+
className: "border-foreground/10 border-b-foreground border-t-foreground border-r-foreground"
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
variant: "3",
|
|
1202
|
+
color: "light",
|
|
1203
|
+
className: "border-white/10 border-b-white border-t-white border-r-white"
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
variant: "4",
|
|
1207
|
+
color: "primary",
|
|
1208
|
+
className: "stroke-primary"
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
variant: "4",
|
|
1212
|
+
color: "secondary",
|
|
1213
|
+
className: "stroke-secondary"
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
variant: "4",
|
|
1217
|
+
color: "success",
|
|
1218
|
+
className: "stroke-success"
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
variant: "4",
|
|
1222
|
+
color: "info",
|
|
1223
|
+
className: "stroke-info"
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
variant: "4",
|
|
1227
|
+
color: "warning",
|
|
1228
|
+
className: "stroke-warning"
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
variant: "4",
|
|
1232
|
+
color: "error",
|
|
1233
|
+
className: "stroke-error"
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
variant: "4",
|
|
1237
|
+
color: "default",
|
|
1238
|
+
className: "stroke-foreground"
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
variant: "4",
|
|
1242
|
+
color: "light",
|
|
1243
|
+
className: "stroke-white"
|
|
1244
|
+
}
|
|
1245
|
+
]
|
|
1246
|
+
});
|
|
1247
|
+
function Zn({ variant: e = "1", color: t, className: n, ...r }) {
|
|
1248
|
+
let { t: i } = T();
|
|
1249
|
+
return e === "4" ? /* @__PURE__ */ O(ee, { children: [/* @__PURE__ */ D("style", { children: "@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n \n @keyframes spin2 {\n 0% {\n stroke-dasharray: 1, 800;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 400, 400;\n stroke-dashoffset: -200px;\n }\n 100% {\n stroke-dasharray: 800, 1;\n stroke-dashoffset: -800px;\n }\n }\n \n .spin2 {\n transform-origin: center;\n animation: spin2 1.5s ease-in-out infinite,\n spin 2s linear infinite;\n animation-direction: alternate;\n }" }), /* @__PURE__ */ D("svg", {
|
|
1250
|
+
viewBox: "0 0 800 800",
|
|
1251
|
+
"data-slot": "spinner",
|
|
1252
|
+
"data-variant": e,
|
|
1253
|
+
"data-color": t,
|
|
1254
|
+
className: w("size-14", n),
|
|
1255
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1256
|
+
role: "img",
|
|
1257
|
+
"aria-label": r["aria-label"] ?? i("material.spinner.loading", "Loading..."),
|
|
1258
|
+
children: /* @__PURE__ */ D("circle", {
|
|
1259
|
+
className: w("spin2", Xn({
|
|
1260
|
+
variant: e,
|
|
1261
|
+
color: t
|
|
1262
|
+
})),
|
|
1263
|
+
cx: "400",
|
|
1264
|
+
cy: "400",
|
|
1265
|
+
fill: "none",
|
|
1266
|
+
r: "200",
|
|
1267
|
+
strokeWidth: "50",
|
|
1268
|
+
strokeDasharray: "700 1400",
|
|
1269
|
+
strokeLinecap: "round"
|
|
1270
|
+
})
|
|
1271
|
+
})] }) : /* @__PURE__ */ D("div", {
|
|
1272
|
+
"data-slot": "spinner",
|
|
1273
|
+
"data-variant": e,
|
|
1274
|
+
"data-color": t,
|
|
1275
|
+
className: w("size-12 border-[2px] rounded-full animate-spin", Xn({
|
|
1276
|
+
variant: e,
|
|
1277
|
+
color: t,
|
|
1278
|
+
className: n
|
|
1279
|
+
})),
|
|
1280
|
+
...r
|
|
1281
|
+
});
|
|
1282
|
+
}
|
|
1283
|
+
//#endregion
|
|
1284
|
+
//#region lib/components/ui/actions/button/button.tsx
|
|
1285
|
+
var Qn = d("inline-flex center truncate **:truncate gap-2 h-min cursor-pointer whitespace-nowrap rounded-full text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-error/20 dark:aria-invalid:ring-error/40 aria-invalid:border-error px-4 py-2 has-[>svg]:px-3", {
|
|
1286
|
+
variants: {
|
|
1287
|
+
variant: {
|
|
1288
|
+
filled: "shadow-xs",
|
|
1289
|
+
tonal: "shadow-xs",
|
|
1290
|
+
ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
1291
|
+
outlined: "border shadow-xs",
|
|
1292
|
+
link: "focus:underline underline-offset-4 hover:underline"
|
|
1293
|
+
},
|
|
1294
|
+
color: {
|
|
1295
|
+
primary: null,
|
|
1296
|
+
secondary: null,
|
|
1297
|
+
info: null,
|
|
1298
|
+
warning: null,
|
|
1299
|
+
default: null,
|
|
1300
|
+
error: null,
|
|
1301
|
+
success: null
|
|
1302
|
+
}
|
|
1303
|
+
},
|
|
1304
|
+
defaultVariants: {
|
|
1305
|
+
variant: "filled",
|
|
1306
|
+
color: "primary"
|
|
1307
|
+
},
|
|
1308
|
+
compoundVariants: [
|
|
1309
|
+
{
|
|
1310
|
+
variant: "filled",
|
|
1311
|
+
color: "primary",
|
|
1312
|
+
class: "bg-primary text-primary-foreground hover:bg-primary/90 [&_svg]:data-[slot=icon]:text-primary-foreground active:bg-primary/70 focus:bg-primary/80"
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
variant: "filled",
|
|
1316
|
+
color: "secondary",
|
|
1317
|
+
class: "bg-secondary text-secondary-foreground hover:bg-secondary/90 [&_svg]:data-[slot=icon]:text-secondary-foreground active:bg-secondary/70 focus:bg-secondary/80"
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
variant: "filled",
|
|
1321
|
+
color: "success",
|
|
1322
|
+
class: "bg-success text-success-foreground hover:bg-success/90 [&_svg]:data-[slot=icon]:text-success-foreground active:bg-success/70 focus:bg-success/80"
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
variant: "filled",
|
|
1326
|
+
color: "info",
|
|
1327
|
+
class: "bg-info text-info-foreground hover:bg-info/90 [&_svg]:data-[slot=icon]:text-info-foreground active:bg-info/70 focus:bg-info/80"
|
|
1328
|
+
},
|
|
1329
|
+
{
|
|
1330
|
+
variant: "filled",
|
|
1331
|
+
color: "warning",
|
|
1332
|
+
class: "bg-warning text-warning-foreground hover:bg-warning/90 [&_svg]:data-[slot=icon]:text-warning-foreground active:bg-warning/70 focus:bg-warning/80"
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
variant: "filled",
|
|
1336
|
+
color: "error",
|
|
1337
|
+
class: "bg-error text-error-foreground hover:bg-error/90 [&_svg]:data-[slot=icon]:text-error-foreground active:bg-error/70 focus:bg-error/80"
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
variant: "filled",
|
|
1341
|
+
color: "default",
|
|
1342
|
+
class: "bg-foreground text-background hover:bg-foreground/90 [&_svg]:data-[slot=icon]:text-foreground active:bg-foreground/70 focus:bg-foreground/80"
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
variant: "tonal",
|
|
1346
|
+
color: "primary",
|
|
1347
|
+
class: "bg-primary/15 text-primary hover:bg-primary/10 [&_svg]:data-[slot=icon]:text-primary active:bg-primary/5 focus:bg-primary/50"
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
variant: "tonal",
|
|
1351
|
+
color: "secondary",
|
|
1352
|
+
class: "bg-secondary/15 text-secondary hover:bg-secondary/10 [&_svg]:data-[slot=icon]:text-secondary active:bg-secondary/5 focus:bg-secondary/50"
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
variant: "tonal",
|
|
1356
|
+
color: "info",
|
|
1357
|
+
class: "bg-info/15 text-info hover:bg-info/10 [&_svg]:data-[slot=icon]:text-info active:bg-info/5 focus:bg-info/50"
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
variant: "tonal",
|
|
1361
|
+
color: "success",
|
|
1362
|
+
class: "bg-success/15 text-success hover:bg-success/10 [&_svg]:data-[slot=icon]:text-success active:bg-success/5 focus:bg-success/50"
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
variant: "tonal",
|
|
1366
|
+
color: "warning",
|
|
1367
|
+
class: "bg-warning/15 text-warning hover:bg-warning/10 [&_svg]:data-[slot=icon]:text-warning active:bg-warning/5 focus:bg-warning/50"
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
variant: "tonal",
|
|
1371
|
+
color: "error",
|
|
1372
|
+
class: "bg-error/15 text-error hover:bg-error/10 [&_svg]:data-[slot=icon]:text-error active:bg-error/5 focus:bg-error/50"
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
variant: "tonal",
|
|
1376
|
+
color: "default",
|
|
1377
|
+
class: "bg-foreground/15 text-foreground hover:bg-foreground/10 [&_svg]:data-[slot=icon]:text-foreground active:bg-muted focus:bg-muted0"
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
variant: "outlined",
|
|
1381
|
+
color: "primary",
|
|
1382
|
+
class: "text-primary border-primary/50 [&_svg]:data-[slot=icon]:text-primary focus:bg-primary/20 hover:bg-primary/10 hover:text-primary/90"
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
variant: "outlined",
|
|
1386
|
+
color: "secondary",
|
|
1387
|
+
class: "text-secondary border-secondary/50 [&_svg]:data-[slot=icon]:text-secondary focus:bg-secondary/20 hover:bg-secondary/10 hover:text-secondary/90"
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
variant: "outlined",
|
|
1391
|
+
color: "info",
|
|
1392
|
+
class: "text-info border-info/50 [&_svg]:data-[slot=icon]:text-info focus:bg-info/20 hover:bg-info/10 hover:text-info/90"
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
variant: "outlined",
|
|
1396
|
+
color: "success",
|
|
1397
|
+
class: "text-success border-success/50 [&_svg]:data-[slot=icon]:text-success focus:bg-success/20 hover:bg-success/10 hover:text-success/90"
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
variant: "outlined",
|
|
1401
|
+
color: "warning",
|
|
1402
|
+
class: "text-warning border-warning/50 [&_svg]:data-[slot=icon]:text-warning focus:bg-warning/20 hover:bg-warning/10 hover:text-warning/90"
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
variant: "outlined",
|
|
1406
|
+
color: "error",
|
|
1407
|
+
class: "text-error border-error/50 [&_svg]:data-[slot=icon]:text-error focus:bg-error/20 hover:bg-error/10 hover:text-error/90"
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
variant: "outlined",
|
|
1411
|
+
color: "default",
|
|
1412
|
+
class: "text-foreground border-foreground/50 [&_svg]:data-[slot=icon]:text-foreground focus:bg-foreground/20 hover:bg-foreground/10 hover:text-foreground/90"
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
variant: "link",
|
|
1416
|
+
color: "primary",
|
|
1417
|
+
class: "text-primary [&_svg]:data-[slot=icon]:text-primary hover:bg-primary/10 active:bg-primary/5 focus:bg-primary/15"
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
variant: "link",
|
|
1421
|
+
color: "secondary",
|
|
1422
|
+
class: "text-secondary [&_svg]:data-[slot=icon]:text-secondary hover:bg-secondary/10 active:bg-secondary/5 focus:bg-secondary/15"
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
variant: "link",
|
|
1426
|
+
color: "success",
|
|
1427
|
+
class: "text-success [&_svg]:data-[slot=icon]:text-success hover:bg-success/10 active:bg-success/5 focus:bg-success/15"
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
variant: "link",
|
|
1431
|
+
color: "info",
|
|
1432
|
+
class: "text-info [&_svg]:data-[slot=icon]:text-info hover:bg-info/10 active:bg-info/5 focus:bg-info/15"
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
variant: "link",
|
|
1436
|
+
color: "warning",
|
|
1437
|
+
class: "text-warning [&_svg]:data-[slot=icon]:text-warning hover:bg-warning/10 active:bg-warning/5 focus:bg-warning/15"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
variant: "link",
|
|
1441
|
+
color: "error",
|
|
1442
|
+
class: "text-error [&_svg]:data-[slot=icon]:text-error hover:bg-error/10 active:bg-error/5 focus:bg-error/15"
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
variant: "link",
|
|
1446
|
+
color: "default",
|
|
1447
|
+
class: "text-foreground [&_svg]:data-[slot=icon]:text-foreground hover:bg-foreground/10 active:bg-muted focus:bg-foreground/15"
|
|
1448
|
+
}
|
|
1449
|
+
]
|
|
1450
|
+
});
|
|
1451
|
+
function $n({ className: e, variant: t = "filled", asChild: n = !1, children: r, color: i, loading: a, spinnerVariant: o = "2", disabled: c, onClick: l, type: u = "button", ...d }) {
|
|
1452
|
+
return /* @__PURE__ */ O(n ? C : "button", {
|
|
1453
|
+
"data-slot": "button",
|
|
1454
|
+
"data-variant": t,
|
|
1455
|
+
"data-color": i,
|
|
1456
|
+
className: w("w-max truncate justify-center line-clamp-1 text-ellipsis duration-500", Qn({
|
|
1457
|
+
variant: t,
|
|
1458
|
+
color: i
|
|
1459
|
+
}), e),
|
|
1460
|
+
type: n ? void 0 : u,
|
|
1461
|
+
disabled: c,
|
|
1462
|
+
onClick: a ? (e) => {
|
|
1463
|
+
e.preventDefault();
|
|
1464
|
+
} : l,
|
|
1465
|
+
...d,
|
|
1466
|
+
children: [a && /* @__PURE__ */ D(Zn, {
|
|
1467
|
+
variant: o,
|
|
1468
|
+
color: t === "filled" ? "light" : i,
|
|
1469
|
+
className: w("starting:scale-0 duration-500", o === "4" ? "size-7.5" : "size-4.5")
|
|
1470
|
+
}), /* @__PURE__ */ D(s, { children: r })]
|
|
1471
|
+
});
|
|
1472
|
+
}
|
|
1473
|
+
function er({ tooltip: e, ...t }) {
|
|
1474
|
+
return e ? /* @__PURE__ */ D(f, {
|
|
1475
|
+
content: e,
|
|
1476
|
+
children: /* @__PURE__ */ D($n, { ...t })
|
|
1477
|
+
}) : /* @__PURE__ */ D($n, { ...t });
|
|
1478
|
+
}
|
|
1479
|
+
//#endregion
|
|
1480
|
+
//#region node_modules/react-use/esm/misc/util.js
|
|
1481
|
+
var tr = function() {};
|
|
1482
|
+
function nr(e) {
|
|
1483
|
+
var t = [...arguments].slice(1);
|
|
1484
|
+
e && e.addEventListener && e.addEventListener.apply(e, t);
|
|
1485
|
+
}
|
|
1486
|
+
function rr(e) {
|
|
1487
|
+
var t = [...arguments].slice(1);
|
|
1488
|
+
e && e.removeEventListener && e.removeEventListener.apply(e, t);
|
|
1489
|
+
}
|
|
1490
|
+
var ir = typeof window < "u", ar = ir ? window : null, or = function(e) {
|
|
1491
|
+
return !!e.addEventListener;
|
|
1492
|
+
}, sr = function(e) {
|
|
1493
|
+
return !!e.on;
|
|
1494
|
+
}, cr = function(e, t, n, r) {
|
|
1495
|
+
n === void 0 && (n = ar), j(function() {
|
|
1496
|
+
if (t && n) return or(n) ? nr(n, e, t, r) : sr(n) && n.on(e, t, r), function() {
|
|
1497
|
+
or(n) ? rr(n, e, t, r) : sr(n) && n.off(e, t, r);
|
|
1498
|
+
};
|
|
1499
|
+
}, [
|
|
1500
|
+
e,
|
|
1501
|
+
t,
|
|
1502
|
+
n,
|
|
1503
|
+
JSON.stringify(r)
|
|
1504
|
+
]);
|
|
1505
|
+
}, lr = function(e) {
|
|
1506
|
+
var t = se(e);
|
|
1507
|
+
return t.current = e, t;
|
|
1508
|
+
}, ur = d("overflow-auto in-[[data-state=selected]]:text-primary-foreground", {
|
|
1509
|
+
variants: { variant: {
|
|
1510
|
+
normal: "text-sm",
|
|
1511
|
+
"huge-larger": "text-8xl font-semibold",
|
|
1512
|
+
"huge-large": "text-8xl font-semibold",
|
|
1513
|
+
"huge-medium": "text-7xl font-semibold",
|
|
1514
|
+
"huge-small": "text-6xl font-semibold",
|
|
1515
|
+
"headline-larger": "text-5xl font-semibold",
|
|
1516
|
+
"headline-large": "text-4xl font-semibold",
|
|
1517
|
+
"headline-medium": "text-3xl font-semibold",
|
|
1518
|
+
"headline-small": "text-2xl font-semibold",
|
|
1519
|
+
"title-large": "text-xl font-semibold",
|
|
1520
|
+
"title-medium": "text-lg font-semibold",
|
|
1521
|
+
"title-small": "text-base font-semibold",
|
|
1522
|
+
"body-medium": "text-sm",
|
|
1523
|
+
"body-small": "text-xs",
|
|
1524
|
+
caption: "text-[10px] text-muted-foreground"
|
|
1525
|
+
} },
|
|
1526
|
+
defaultVariants: { variant: "normal" }
|
|
1527
|
+
});
|
|
1528
|
+
function dr({ className: e, variant: t, ...n }) {
|
|
1529
|
+
return /* @__PURE__ */ D("div", {
|
|
1530
|
+
"data-test": "typogaphy",
|
|
1531
|
+
className: w(ur({
|
|
1532
|
+
variant: t,
|
|
1533
|
+
className: e
|
|
1534
|
+
})),
|
|
1535
|
+
...n
|
|
1536
|
+
});
|
|
1537
|
+
}
|
|
1538
|
+
//#endregion
|
|
1539
|
+
//#region lib/components/ui/forms/field-blur-context.ts
|
|
1540
|
+
var fr = ne(null);
|
|
1541
|
+
function pr(e, t) {
|
|
1542
|
+
return oe(() => e ? t ? (n) => {
|
|
1543
|
+
let r = e(n), i = typeof t == "function" ? t(n) : void 0;
|
|
1544
|
+
return typeof t != "function" && (t.current = n), () => {
|
|
1545
|
+
r?.(), typeof i == "function" ? i() : typeof t == "function" ? t(null) : t.current = null;
|
|
1546
|
+
};
|
|
1547
|
+
} : e : t, [e, t]);
|
|
1548
|
+
}
|
|
1549
|
+
function mr(e) {
|
|
1550
|
+
return pr(re(fr), e);
|
|
1551
|
+
}
|
|
1552
|
+
//#endregion
|
|
1553
|
+
//#region lib/components/ui/primitives/helper-text/helper-text.tsx
|
|
1554
|
+
function hr({ error: e, className: t, ...n }) {
|
|
1555
|
+
return /* @__PURE__ */ D(dr, {
|
|
1556
|
+
"data-slot": "helper-text",
|
|
1557
|
+
variant: "caption",
|
|
1558
|
+
className: w("flex pl-0.5 truncate text-wrap", { "text-error": e }, t),
|
|
1559
|
+
...n
|
|
1560
|
+
});
|
|
1561
|
+
}
|
|
1562
|
+
//#endregion
|
|
1563
|
+
//#region lib/components/ui/primitives/label/label.tsx
|
|
1564
|
+
function gr({ className: e, withAsterisk: t, ...n }) {
|
|
1565
|
+
return /* @__PURE__ */ D(Tn, {
|
|
1566
|
+
"data-slot": "label",
|
|
1567
|
+
className: w("flex items-center pl-0.5 gap-2 text-sm leading-none font-semibold select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
|
|
1568
|
+
...n,
|
|
1569
|
+
children: t ? /* @__PURE__ */ O("div", {
|
|
1570
|
+
className: "inline-flex",
|
|
1571
|
+
children: [n.children, /* @__PURE__ */ D("span", {
|
|
1572
|
+
"aria-hidden": "true",
|
|
1573
|
+
className: "text-error",
|
|
1574
|
+
children: "*"
|
|
1575
|
+
})]
|
|
1576
|
+
}) : n.children
|
|
1577
|
+
});
|
|
1578
|
+
}
|
|
1579
|
+
//#endregion
|
|
1580
|
+
//#region lib/components/ui/overlays/dialog/use-return-focus.ts
|
|
1581
|
+
var _r = "button:not([disabled]), input:not([disabled]):not([type=\"hidden\"]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]), [contenteditable=\"true\"]";
|
|
1582
|
+
function vr(e) {
|
|
1583
|
+
([...e.querySelectorAll(_r)].find((e) => e.tabIndex >= 0 && e.getClientRects().length > 0) ?? e).focus({ preventScroll: !0 });
|
|
1584
|
+
}
|
|
1585
|
+
function yr(e, { focusFallback: t = !1 } = {}) {
|
|
1586
|
+
let n = se(null);
|
|
1587
|
+
return {
|
|
1588
|
+
onOpenAutoFocus(r) {
|
|
1589
|
+
let i = document.activeElement;
|
|
1590
|
+
n.current = i instanceof HTMLElement && i !== document.body ? i : null, e.onOpenAutoFocus?.(r);
|
|
1591
|
+
let a = r.target;
|
|
1592
|
+
!t || r.defaultPrevented || !(a instanceof HTMLElement) || queueMicrotask(() => {
|
|
1593
|
+
a.isConnected && !a.contains(document.activeElement) && vr(a);
|
|
1594
|
+
});
|
|
1595
|
+
},
|
|
1596
|
+
onCloseAutoFocus(t) {
|
|
1597
|
+
e.onCloseAutoFocus?.(t);
|
|
1598
|
+
let r = n.current;
|
|
1599
|
+
if (n.current = null, t.defaultPrevented || !r?.isConnected) return;
|
|
1600
|
+
let i = document.activeElement;
|
|
1601
|
+
i && i !== document.body || (t.preventDefault(), r.focus());
|
|
1602
|
+
}
|
|
1603
|
+
};
|
|
1604
|
+
}
|
|
1605
|
+
//#endregion
|
|
1606
|
+
//#region lib/components/ui/primitives/input/input-box.ts
|
|
1607
|
+
var br = [
|
|
1608
|
+
"inline-flex gap-2 items-center h-11 max-h-full w-full bg-muted/5 disabled:bg-transparent",
|
|
1609
|
+
"file:text-muted-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground border-input",
|
|
1610
|
+
"rounded border px-2 py-1 text-base shadow-xs transition-all outline-none file:inline-flex",
|
|
1611
|
+
"file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium",
|
|
1612
|
+
"disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
1613
|
+
"focus-visible:border-primary focus-visible:ring-primary/30 focus-visible:ring-[2px]",
|
|
1614
|
+
"aria-invalid:ring-error/20 dark:aria-invalid:ring-error/40 aria-invalid:border-error"
|
|
1615
|
+
], xr = [...br, "not-placeholder-shown:bg-primary/10"];
|
|
1616
|
+
function Sr({ className: e, type: t = "text", ...n }) {
|
|
1617
|
+
return /* @__PURE__ */ D("input", {
|
|
1618
|
+
type: t,
|
|
1619
|
+
"data-slot": "input",
|
|
1620
|
+
className: w(xr, e),
|
|
1621
|
+
"data-pw": n.name ?? "input",
|
|
1622
|
+
...n
|
|
1623
|
+
});
|
|
1624
|
+
}
|
|
1625
|
+
//#endregion
|
|
1626
|
+
//#region lib/components/ui/fields/text-field/text-field.tsx
|
|
1627
|
+
function Cr({ error: e, helperText: t, label: n, className: r, leading: i, trailing: a, ...o }) {
|
|
1628
|
+
let s = mr(), c = ae(), l = /* @__PURE__ */ O("div", {
|
|
1629
|
+
className: w("relative", {
|
|
1630
|
+
"*:first:size-8 *:first:absolute *:first:top-[calc(50%-16px)] *:first:left-1.5 [&_input]:pl-10 *:first:bg-muted/80 *:first:text-muted-foreground": !!i,
|
|
1631
|
+
"*:last:size-8 *:last:absolute *:last:top-[calc(50%-16px)] *:last:right-1.5 [&_input]:pr-.5 *:last:bg-muted/80 *:last:text-muted-foreground": !!a
|
|
1632
|
+
}),
|
|
1633
|
+
children: [
|
|
1634
|
+
i && i,
|
|
1635
|
+
/* @__PURE__ */ D(Sr, {
|
|
1636
|
+
"aria-invalid": e,
|
|
1637
|
+
...o,
|
|
1638
|
+
id: o.id ?? c,
|
|
1639
|
+
className: w("transition-all hover:border-primary hover:ring-[2px] hover:ring-primary/25")
|
|
1640
|
+
}),
|
|
1641
|
+
a && a
|
|
1642
|
+
]
|
|
1643
|
+
});
|
|
1644
|
+
return /* @__PURE__ */ O("div", {
|
|
1645
|
+
ref: s,
|
|
1646
|
+
"data-slot": "text-field",
|
|
1647
|
+
className: w("grid w-full gap-1.5", r),
|
|
1648
|
+
children: [/* @__PURE__ */ D(gr, {
|
|
1649
|
+
withAsterisk: o.required,
|
|
1650
|
+
htmlFor: o.id ?? c,
|
|
1651
|
+
children: n
|
|
1652
|
+
}), t ? /* @__PURE__ */ O("div", {
|
|
1653
|
+
className: "flex flex-col gap-0.5",
|
|
1654
|
+
children: [l, /* @__PURE__ */ D(hr, {
|
|
1655
|
+
error: e,
|
|
1656
|
+
children: t
|
|
1657
|
+
})]
|
|
1658
|
+
}) : l]
|
|
1659
|
+
});
|
|
1660
|
+
}
|
|
1661
|
+
//#endregion
|
|
1662
|
+
//#region lib/components/ui/overlays/dialog/dialog.tsx
|
|
1663
|
+
function wr({ ...e }) {
|
|
1664
|
+
return /* @__PURE__ */ D(en, {
|
|
1665
|
+
"data-slot": "dialog",
|
|
1666
|
+
...e
|
|
1667
|
+
});
|
|
1668
|
+
}
|
|
1669
|
+
function Tr({ asChild: e = !0, ...t }) {
|
|
1670
|
+
return /* @__PURE__ */ D(nn, {
|
|
1671
|
+
"data-slot": "dialog-trigger",
|
|
1672
|
+
...t,
|
|
1673
|
+
asChild: e
|
|
1674
|
+
});
|
|
1675
|
+
}
|
|
1676
|
+
function Er({ ...e }) {
|
|
1677
|
+
return /* @__PURE__ */ D(sn, {
|
|
1678
|
+
"data-slot": "dialog-portal",
|
|
1679
|
+
...e
|
|
1680
|
+
});
|
|
1681
|
+
}
|
|
1682
|
+
function Dr({ className: e, color: t, children: n, type: r = "button", variant: i = "ghost", ...a }) {
|
|
1683
|
+
let { t: o } = T();
|
|
1684
|
+
return /* @__PURE__ */ D(Sn, {
|
|
1685
|
+
"aria-label": n ? void 0 : o("material.buttons.close", "Close"),
|
|
1686
|
+
...a,
|
|
1687
|
+
type: r,
|
|
1688
|
+
className: w("absolute top-4 right-4", h({
|
|
1689
|
+
variant: i,
|
|
1690
|
+
color: t,
|
|
1691
|
+
className: e
|
|
1692
|
+
})),
|
|
1693
|
+
"data-slot": "dialog-close",
|
|
1694
|
+
children: n || /* @__PURE__ */ D(E, { className: "size-4" })
|
|
1695
|
+
});
|
|
1696
|
+
}
|
|
1697
|
+
function Or({ className: e, ...t }) {
|
|
1698
|
+
return /* @__PURE__ */ D(ln, {
|
|
1699
|
+
"data-slot": "dialog-overlay",
|
|
1700
|
+
className: w("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", e),
|
|
1701
|
+
...t
|
|
1702
|
+
});
|
|
1703
|
+
}
|
|
1704
|
+
function kr(e) {
|
|
1705
|
+
return e instanceof Element && !!e.closest("[data-slot=\"combobox-content\"]");
|
|
1706
|
+
}
|
|
1707
|
+
function Ar({ className: e, children: t, onInteractOutside: n, onPointerDownOutside: r, onFocusOutside: i, onOpenAutoFocus: a, onCloseAutoFocus: o, ...s }) {
|
|
1708
|
+
let c = yr({
|
|
1709
|
+
onOpenAutoFocus: a,
|
|
1710
|
+
onCloseAutoFocus: o
|
|
1711
|
+
}), l = (e) => {
|
|
1712
|
+
kr(e.target) && e.preventDefault();
|
|
1713
|
+
};
|
|
1714
|
+
return /* @__PURE__ */ O(Er, {
|
|
1715
|
+
"data-slot": "dialog-portal",
|
|
1716
|
+
children: [/* @__PURE__ */ D(Or, {}), /* @__PURE__ */ D(pn, {
|
|
1717
|
+
"data-slot": "dialog-content",
|
|
1718
|
+
className: w("bg-background rounded-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", e),
|
|
1719
|
+
onOpenAutoFocus: c.onOpenAutoFocus,
|
|
1720
|
+
onCloseAutoFocus: c.onCloseAutoFocus,
|
|
1721
|
+
onInteractOutside: (e) => {
|
|
1722
|
+
l(e), n?.(e);
|
|
1723
|
+
},
|
|
1724
|
+
onPointerDownOutside: (e) => {
|
|
1725
|
+
l(e), r?.(e);
|
|
1726
|
+
},
|
|
1727
|
+
onFocusOutside: (e) => {
|
|
1728
|
+
l(e), i?.(e);
|
|
1729
|
+
},
|
|
1730
|
+
...s,
|
|
1731
|
+
children: t
|
|
1732
|
+
})]
|
|
1733
|
+
});
|
|
1734
|
+
}
|
|
1735
|
+
function jr({ className: e, ...t }) {
|
|
1736
|
+
return /* @__PURE__ */ D("div", {
|
|
1737
|
+
"data-slot": "dialog-header",
|
|
1738
|
+
className: w("flex flex-col gap-2 text-center sm:text-left", e),
|
|
1739
|
+
...t
|
|
1740
|
+
});
|
|
1741
|
+
}
|
|
1742
|
+
function Mr({ className: e, ...t }) {
|
|
1743
|
+
return /* @__PURE__ */ D("div", {
|
|
1744
|
+
"data-slot": "dialog-footer",
|
|
1745
|
+
className: w("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
|
|
1746
|
+
...t
|
|
1747
|
+
});
|
|
1748
|
+
}
|
|
1749
|
+
function Nr({ className: e, ...t }) {
|
|
1750
|
+
return /* @__PURE__ */ D(vn, {
|
|
1751
|
+
"data-slot": "dialog-title",
|
|
1752
|
+
className: w("text-xl leading-none font-semibold", e),
|
|
1753
|
+
...t
|
|
1754
|
+
});
|
|
1755
|
+
}
|
|
1756
|
+
function Pr({ className: e, ...t }) {
|
|
1757
|
+
return /* @__PURE__ */ D(bn, {
|
|
1758
|
+
"data-slot": "dialog-description",
|
|
1759
|
+
className: w("text-muted-foreground text-sm", e),
|
|
1760
|
+
...t
|
|
1761
|
+
});
|
|
1762
|
+
}
|
|
1763
|
+
//#endregion
|
|
1764
|
+
//#region lib/components/ui/actions/icon-button/icon-badge.tsx
|
|
1765
|
+
function Fr({ children: e, className: t, ...n }) {
|
|
1766
|
+
let r = !!(n["aria-label"] || n["aria-labelledby"]);
|
|
1767
|
+
return /* @__PURE__ */ D(b, {
|
|
1768
|
+
"aria-hidden": r ? void 0 : "true",
|
|
1769
|
+
role: r ? "img" : void 0,
|
|
1770
|
+
...n,
|
|
1771
|
+
asChild: !0,
|
|
1772
|
+
className: w("cursor-default", t),
|
|
1773
|
+
children: /* @__PURE__ */ D("span", { children: e })
|
|
1774
|
+
});
|
|
1775
|
+
}
|
|
1776
|
+
//#endregion
|
|
1777
|
+
//#region lib/components/ui/primitives/activity/activity.tsx
|
|
1778
|
+
function Ir({ visible: e = !1, ...t }) {
|
|
1779
|
+
return /* @__PURE__ */ D(te, {
|
|
1780
|
+
...t,
|
|
1781
|
+
mode: e ? "visible" : "hidden"
|
|
1782
|
+
});
|
|
1783
|
+
}
|
|
1784
|
+
//#endregion
|
|
1785
|
+
//#region lib/components/ui/overlays/hover-card/hover-card.tsx
|
|
1786
|
+
function Lr({ ...e }) {
|
|
1787
|
+
return /* @__PURE__ */ D(Kn, {
|
|
1788
|
+
"data-slot": "hover-card",
|
|
1789
|
+
...e
|
|
1790
|
+
});
|
|
1791
|
+
}
|
|
1792
|
+
function Rr({ ...e }) {
|
|
1793
|
+
return /* @__PURE__ */ D(qn, {
|
|
1794
|
+
"data-slot": "hover-card-trigger",
|
|
1795
|
+
...e
|
|
1796
|
+
});
|
|
1797
|
+
}
|
|
1798
|
+
function zr({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
|
|
1799
|
+
return /* @__PURE__ */ D(Jn, {
|
|
1800
|
+
"data-slot": "hover-card-portal",
|
|
1801
|
+
children: /* @__PURE__ */ D(Yn, {
|
|
1802
|
+
"data-slot": "hover-card-content",
|
|
1803
|
+
align: t,
|
|
1804
|
+
sideOffset: n,
|
|
1805
|
+
className: w("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", e),
|
|
1806
|
+
...r
|
|
1807
|
+
})
|
|
1808
|
+
});
|
|
1809
|
+
}
|
|
1810
|
+
//#endregion
|
|
1811
|
+
//#region node_modules/react-hook-form/dist/index.esm.mjs
|
|
1812
|
+
var Br = (e) => e.type === "checkbox", Vr = (e) => e.type === "file", R = (e) => e instanceof Date, z = (e) => e == null, Hr = (e) => typeof e == "object", B = (e) => !z(e) && !Array.isArray(e) && Hr(e) && !R(e), Ur = (e) => B(e) && e.target ? Br(e.target) ? e.target.checked : Vr(e.target) ? e.target.files : e.target.value : e, Wr = (e, t) => t.split(".").some((t, n, r) => !isNaN(Number(t)) && e.has(r.slice(0, n).join("."))), Gr = (e) => {
|
|
1813
|
+
let t = e.constructor && e.constructor.prototype;
|
|
1814
|
+
return B(t) && t.hasOwnProperty("isPrototypeOf");
|
|
1815
|
+
}, Kr = typeof window < "u" && window.HTMLElement !== void 0 && typeof document < "u";
|
|
1816
|
+
function V(e) {
|
|
1817
|
+
if (e instanceof Date) return new Date(e);
|
|
1818
|
+
let t = typeof FileList < "u" && e instanceof FileList;
|
|
1819
|
+
if (Kr && (e instanceof Blob || t)) return e;
|
|
1820
|
+
let n = Array.isArray(e);
|
|
1821
|
+
if (!n && !(B(e) && Gr(e))) return e;
|
|
1822
|
+
let r = n ? [] : Object.create(Object.getPrototypeOf(e));
|
|
1823
|
+
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = V(e[t]));
|
|
1824
|
+
return r;
|
|
1825
|
+
}
|
|
1826
|
+
var qr = {
|
|
1827
|
+
BLUR: "blur",
|
|
1828
|
+
FOCUS_OUT: "focusout",
|
|
1829
|
+
CHANGE: "change",
|
|
1830
|
+
SUBMIT: "submit",
|
|
1831
|
+
TRIGGER: "trigger",
|
|
1832
|
+
VALID: "valid"
|
|
1833
|
+
}, H = {
|
|
1834
|
+
onBlur: "onBlur",
|
|
1835
|
+
onChange: "onChange",
|
|
1836
|
+
onSubmit: "onSubmit",
|
|
1837
|
+
onTouched: "onTouched",
|
|
1838
|
+
all: "all"
|
|
1839
|
+
}, U = {
|
|
1840
|
+
max: "max",
|
|
1841
|
+
min: "min",
|
|
1842
|
+
maxLength: "maxLength",
|
|
1843
|
+
minLength: "minLength",
|
|
1844
|
+
pattern: "pattern",
|
|
1845
|
+
required: "required",
|
|
1846
|
+
validate: "validate"
|
|
1847
|
+
}, Jr = "root", Yr = [
|
|
1848
|
+
"__proto__",
|
|
1849
|
+
"constructor",
|
|
1850
|
+
"prototype"
|
|
1851
|
+
], Xr = /^\w*$/, Zr = (e) => Xr.test(e), W = (e) => e === void 0, Qr = /[.[\]'"]/, $r = (e) => e.split(Qr).filter(Boolean), G = (e, t, n) => {
|
|
1852
|
+
if (!t || !B(e)) return n;
|
|
1853
|
+
let r = Zr(t) ? [t] : $r(t);
|
|
1854
|
+
if (r.some((e) => Yr.includes(e))) return n;
|
|
1855
|
+
let i = r.reduce((e, t) => z(e) ? void 0 : e[t], e);
|
|
1856
|
+
return W(i) || i === e ? W(e[t]) ? n : e[t] : i;
|
|
1857
|
+
}, K = (e) => typeof e == "boolean", q = (e) => typeof e == "function", J = (e, t, n) => {
|
|
1858
|
+
let r = -1, i = Zr(t) ? [t] : $r(t), a = i.length, o = a - 1;
|
|
1859
|
+
for (; ++r < a;) {
|
|
1860
|
+
let t = i[r], a = n;
|
|
1861
|
+
if (r !== o) {
|
|
1862
|
+
let n = e[t];
|
|
1863
|
+
a = B(n) || Array.isArray(n) ? n : isNaN(+i[r + 1]) ? {} : [];
|
|
1864
|
+
}
|
|
1865
|
+
if (Yr.includes(t)) return;
|
|
1866
|
+
e[t] = a, e = e[t];
|
|
1867
|
+
}
|
|
1868
|
+
}, ei = A.createContext(null);
|
|
1869
|
+
ei.displayName = "HookFormControlContext";
|
|
1870
|
+
var ti = () => A.useContext(ei), ni = (e, t, n, r = !0) => {
|
|
1871
|
+
let i = {};
|
|
1872
|
+
for (let a in e) Object.defineProperty(i, a, { get: () => {
|
|
1873
|
+
let i = a;
|
|
1874
|
+
return t._proxyFormState[i] !== H.all && (t._proxyFormState[i] = !r || H.all), n && (n[i] = !0), e[i];
|
|
1875
|
+
} });
|
|
1876
|
+
return i;
|
|
1877
|
+
}, ri = Kr ? A.useLayoutEffect : A.useEffect, ii = (e) => z(e) || !Hr(e), ai = (e, t) => t.length === 0 && !Array.isArray(e) && !Gr(e);
|
|
1878
|
+
function Y(e, t, n = /* @__PURE__ */ new WeakMap()) {
|
|
1879
|
+
if (e === t) return !0;
|
|
1880
|
+
if (ii(e) || ii(t)) return Object.is(e, t);
|
|
1881
|
+
if (R(e) && R(t)) return Object.is(e.getTime(), t.getTime());
|
|
1882
|
+
let r = Object.keys(e), i = Object.keys(t);
|
|
1883
|
+
if (r.length !== i.length) return !1;
|
|
1884
|
+
if (ai(e, r) || ai(t, i)) return Object.is(e, t);
|
|
1885
|
+
if (!r.length && Array.isArray(e) !== Array.isArray(t)) return !1;
|
|
1886
|
+
let a = n.get(e);
|
|
1887
|
+
if (a && a.has(t)) return !0;
|
|
1888
|
+
if (a) a.add(t);
|
|
1889
|
+
else {
|
|
1890
|
+
let r = /* @__PURE__ */ new WeakSet();
|
|
1891
|
+
r.add(t), n.set(e, r);
|
|
1892
|
+
}
|
|
1893
|
+
for (let i of r) {
|
|
1894
|
+
let r = e[i];
|
|
1895
|
+
if (!(i in t)) return !1;
|
|
1896
|
+
if (i !== "ref") {
|
|
1897
|
+
let e = t[i];
|
|
1898
|
+
if (R(r) && R(e) || (B(r) || Array.isArray(r)) && (B(e) || Array.isArray(e)) ? !Y(r, e, n) : !Object.is(r, e)) return !1;
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
return !0;
|
|
1902
|
+
}
|
|
1903
|
+
function oi() {
|
|
1904
|
+
let e = A.useRef(!1), t = A.useRef(void 0);
|
|
1905
|
+
return {
|
|
1906
|
+
resyncIfNeeded: A.useCallback((n, r, i) => {
|
|
1907
|
+
if (n && e.current) {
|
|
1908
|
+
let e = r();
|
|
1909
|
+
Y(t.current, e) || i(e);
|
|
1910
|
+
}
|
|
1911
|
+
e.current = !0;
|
|
1912
|
+
}, []),
|
|
1913
|
+
snapshot: A.useCallback((e, n) => {
|
|
1914
|
+
e && (t.current = V(n()));
|
|
1915
|
+
}, [])
|
|
1916
|
+
};
|
|
1917
|
+
}
|
|
1918
|
+
function si(e) {
|
|
1919
|
+
let t = ti(), { control: n = t, disabled: r, name: i, exact: a } = e || {}, [o, s] = A.useState(() => ({
|
|
1920
|
+
...n._formState,
|
|
1921
|
+
defaultValues: n._defaultValues
|
|
1922
|
+
})), c = A.useRef({
|
|
1923
|
+
isDirty: !1,
|
|
1924
|
+
isLoading: !1,
|
|
1925
|
+
dirtyFields: !1,
|
|
1926
|
+
touchedFields: !1,
|
|
1927
|
+
validatingFields: !1,
|
|
1928
|
+
isValidating: !1,
|
|
1929
|
+
isValid: !1,
|
|
1930
|
+
errors: !1
|
|
1931
|
+
}), { resyncIfNeeded: l, snapshot: u } = oi();
|
|
1932
|
+
return ri(() => {
|
|
1933
|
+
let e = () => ({
|
|
1934
|
+
...n._formState,
|
|
1935
|
+
defaultValues: n._defaultValues
|
|
1936
|
+
});
|
|
1937
|
+
l(!r, e, s);
|
|
1938
|
+
let t = n._subscribe({
|
|
1939
|
+
name: i,
|
|
1940
|
+
formState: c.current,
|
|
1941
|
+
exact: a,
|
|
1942
|
+
callback: (e) => {
|
|
1943
|
+
!r && s({
|
|
1944
|
+
...n._formState,
|
|
1945
|
+
...e,
|
|
1946
|
+
defaultValues: n._defaultValues
|
|
1947
|
+
});
|
|
1948
|
+
}
|
|
1949
|
+
});
|
|
1950
|
+
return () => {
|
|
1951
|
+
t(), u(!r, e);
|
|
1952
|
+
};
|
|
1953
|
+
}, [
|
|
1954
|
+
i,
|
|
1955
|
+
r,
|
|
1956
|
+
a,
|
|
1957
|
+
l,
|
|
1958
|
+
u
|
|
1959
|
+
]), A.useEffect(() => {
|
|
1960
|
+
c.current.isValid && n._setValid(!0);
|
|
1961
|
+
}, [n]), A.useMemo(() => ni(o, n, c.current, !1), [o, n]);
|
|
1962
|
+
}
|
|
1963
|
+
var X = (e) => typeof e == "string", ci = (e, t, n, r, i) => X(e) ? (r && t.watch.add(e), G(n, e, i)) : Array.isArray(e) ? e.map((e) => (r && t.watch.add(e), G(n, e))) : (r && (t.watchAll = !0), n);
|
|
1964
|
+
function li(e) {
|
|
1965
|
+
let t = ti(), { control: n = t, name: r, defaultValue: i, disabled: a, exact: o, compute: s } = e || {}, c = A.useRef(i), l = A.useRef(s), u = A.useRef(void 0), d = A.useRef(n), f = A.useRef(r);
|
|
1966
|
+
l.current = s;
|
|
1967
|
+
let [p, m] = A.useState(() => {
|
|
1968
|
+
let e = n._getWatch(r, c.current);
|
|
1969
|
+
return l.current ? l.current(e) : e;
|
|
1970
|
+
}), h = A.useCallback((e) => {
|
|
1971
|
+
let t = ci(r, n._names, e || n._formValues, !1, c.current);
|
|
1972
|
+
return l.current ? l.current(t) : t;
|
|
1973
|
+
}, [
|
|
1974
|
+
n._formValues,
|
|
1975
|
+
n._names,
|
|
1976
|
+
r
|
|
1977
|
+
]), g = A.useCallback((e) => {
|
|
1978
|
+
if (!a) {
|
|
1979
|
+
let t = ci(r, n._names, e || n._formValues, !1, c.current);
|
|
1980
|
+
if (l.current) {
|
|
1981
|
+
let e = l.current(t);
|
|
1982
|
+
Y(e, u.current) || (m(e), u.current = e);
|
|
1983
|
+
} else m(t);
|
|
1984
|
+
}
|
|
1985
|
+
}, [
|
|
1986
|
+
n._formValues,
|
|
1987
|
+
n._names,
|
|
1988
|
+
a,
|
|
1989
|
+
r
|
|
1990
|
+
]), { resyncIfNeeded: _, snapshot: v } = oi(), y = A.useRef(g);
|
|
1991
|
+
y.current = g;
|
|
1992
|
+
let b = A.useRef(h);
|
|
1993
|
+
b.current = h, ri(() => {
|
|
1994
|
+
d.current !== n || !Y(f.current, r) ? (d.current = n, f.current = r, y.current()) : _(!a, () => b.current(), (e) => {
|
|
1995
|
+
m(e), u.current = e;
|
|
1996
|
+
});
|
|
1997
|
+
let e = n._subscribe({
|
|
1998
|
+
name: r,
|
|
1999
|
+
formState: { values: !0 },
|
|
2000
|
+
exact: o,
|
|
2001
|
+
callback: (e) => {
|
|
2002
|
+
y.current(e.values);
|
|
2003
|
+
}
|
|
2004
|
+
});
|
|
2005
|
+
return () => {
|
|
2006
|
+
e(), v(!a, () => b.current());
|
|
2007
|
+
};
|
|
2008
|
+
}, [
|
|
2009
|
+
n,
|
|
2010
|
+
o,
|
|
2011
|
+
r,
|
|
2012
|
+
a,
|
|
2013
|
+
_,
|
|
2014
|
+
v
|
|
2015
|
+
]), A.useEffect(() => n._removeUnmounted());
|
|
2016
|
+
let x = d.current !== n, S = f.current, C = A.useMemo(() => {
|
|
2017
|
+
if (a) return null;
|
|
2018
|
+
let e = !x && !Y(S, r);
|
|
2019
|
+
return x || e ? h() : null;
|
|
2020
|
+
}, [
|
|
2021
|
+
a,
|
|
2022
|
+
x,
|
|
2023
|
+
r,
|
|
2024
|
+
S,
|
|
2025
|
+
h
|
|
2026
|
+
]);
|
|
2027
|
+
return C === null ? p : C;
|
|
2028
|
+
}
|
|
2029
|
+
function ui(e) {
|
|
2030
|
+
let t = ti(), { name: n, disabled: r, control: i = t, shouldUnregister: a, defaultValue: o, exact: s = !0 } = e, c = Wr(i._names.array, n), l = li({
|
|
2031
|
+
control: i,
|
|
2032
|
+
name: n,
|
|
2033
|
+
defaultValue: A.useMemo(() => G(i._formValues, n, G(i._defaultValues, n, o)), [
|
|
2034
|
+
i,
|
|
2035
|
+
n,
|
|
2036
|
+
o
|
|
2037
|
+
]),
|
|
2038
|
+
exact: s
|
|
2039
|
+
}), u = si({
|
|
2040
|
+
control: i,
|
|
2041
|
+
name: n,
|
|
2042
|
+
exact: s
|
|
2043
|
+
}), d = A.useRef(e), f = A.useRef(null), p = A.useRef(i.register(n, {
|
|
2044
|
+
...e.rules,
|
|
2045
|
+
value: l,
|
|
2046
|
+
...K(e.disabled) ? { disabled: e.disabled } : {}
|
|
2047
|
+
}));
|
|
2048
|
+
d.current = e;
|
|
2049
|
+
let m = A.useMemo(() => Object.defineProperties({}, {
|
|
2050
|
+
invalid: {
|
|
2051
|
+
enumerable: !0,
|
|
2052
|
+
get: () => !!G(u.errors, n)
|
|
2053
|
+
},
|
|
2054
|
+
isDirty: {
|
|
2055
|
+
enumerable: !0,
|
|
2056
|
+
get: () => !!G(u.dirtyFields, n)
|
|
2057
|
+
},
|
|
2058
|
+
isTouched: {
|
|
2059
|
+
enumerable: !0,
|
|
2060
|
+
get: () => !!G(u.touchedFields, n)
|
|
2061
|
+
},
|
|
2062
|
+
isValidating: {
|
|
2063
|
+
enumerable: !0,
|
|
2064
|
+
get: () => !!G(u.validatingFields, n)
|
|
2065
|
+
},
|
|
2066
|
+
error: {
|
|
2067
|
+
enumerable: !0,
|
|
2068
|
+
get: () => G(u.errors, n)
|
|
2069
|
+
}
|
|
2070
|
+
}), [u, n]), h = A.useCallback((e) => {
|
|
2071
|
+
let t = Ur(e);
|
|
2072
|
+
return G(i._fields, n) || (p.current = i.register(n, {
|
|
2073
|
+
...d.current.rules,
|
|
2074
|
+
value: t
|
|
2075
|
+
})), p.current.onChange({
|
|
2076
|
+
target: {
|
|
2077
|
+
value: Ur(e),
|
|
2078
|
+
name: n
|
|
2079
|
+
},
|
|
2080
|
+
type: qr.CHANGE
|
|
2081
|
+
});
|
|
2082
|
+
}, [n, i]), g = A.useCallback(() => p.current.onBlur({
|
|
2083
|
+
target: {
|
|
2084
|
+
value: G(i._formValues, n),
|
|
2085
|
+
name: n
|
|
2086
|
+
},
|
|
2087
|
+
type: qr.BLUR
|
|
2088
|
+
}), [n, i._formValues]), _ = A.useCallback((e) => {
|
|
2089
|
+
e && (f.current = {
|
|
2090
|
+
focus: () => q(e.focus) && e.focus(),
|
|
2091
|
+
select: () => q(e.select) && e.select(),
|
|
2092
|
+
setCustomValidity: (t) => q(e.setCustomValidity) && e.setCustomValidity(t),
|
|
2093
|
+
reportValidity: () => q(e.reportValidity) && e.reportValidity()
|
|
2094
|
+
});
|
|
2095
|
+
let t = G(i._fields, n);
|
|
2096
|
+
t && t._f && e && (t._f.ref = f.current);
|
|
2097
|
+
}, [i._fields, n]), v = A.useMemo(() => ({
|
|
2098
|
+
name: n,
|
|
2099
|
+
value: l,
|
|
2100
|
+
...K(r) || u.disabled ? { disabled: u.disabled || r } : {},
|
|
2101
|
+
onChange: h,
|
|
2102
|
+
onBlur: g,
|
|
2103
|
+
ref: _
|
|
2104
|
+
}), [
|
|
2105
|
+
n,
|
|
2106
|
+
r,
|
|
2107
|
+
u.disabled,
|
|
2108
|
+
h,
|
|
2109
|
+
g,
|
|
2110
|
+
_,
|
|
2111
|
+
l
|
|
2112
|
+
]);
|
|
2113
|
+
return A.useEffect(() => {
|
|
2114
|
+
let e = i._options.shouldUnregister || a;
|
|
2115
|
+
p.current = i.register(n, {
|
|
2116
|
+
...d.current.rules,
|
|
2117
|
+
...K(d.current.disabled) ? { disabled: d.current.disabled } : {}
|
|
2118
|
+
});
|
|
2119
|
+
let t = (e, t) => {
|
|
2120
|
+
let n = G(i._fields, e);
|
|
2121
|
+
n && n._f && (n._f.mount = t);
|
|
2122
|
+
};
|
|
2123
|
+
if (t(n, !0), e) {
|
|
2124
|
+
let e = V(G(a ? i._defaultValues : i._options.values || i._defaultValues, n, G(i._options.defaultValues, n, d.current.defaultValue)));
|
|
2125
|
+
J(i._defaultValues, n, e), W(G(i._formValues, n)) && J(i._formValues, n, e);
|
|
2126
|
+
}
|
|
2127
|
+
if (!c && i.register(n), f.current) {
|
|
2128
|
+
let e = G(i._fields, n);
|
|
2129
|
+
e && e._f && (e._f.ref = f.current);
|
|
2130
|
+
}
|
|
2131
|
+
return () => {
|
|
2132
|
+
(c ? e && !i._state.action : e) ? i.unregister(n) : t(n, !1);
|
|
2133
|
+
};
|
|
2134
|
+
}, [
|
|
2135
|
+
n,
|
|
2136
|
+
i,
|
|
2137
|
+
c,
|
|
2138
|
+
a
|
|
2139
|
+
]), A.useEffect(() => {
|
|
2140
|
+
i._setDisabledField({
|
|
2141
|
+
disabled: r,
|
|
2142
|
+
name: n
|
|
2143
|
+
});
|
|
2144
|
+
}, [
|
|
2145
|
+
r,
|
|
2146
|
+
n,
|
|
2147
|
+
i
|
|
2148
|
+
]), A.useMemo(() => ({
|
|
2149
|
+
field: v,
|
|
2150
|
+
formState: u,
|
|
2151
|
+
fieldState: m
|
|
2152
|
+
}), [
|
|
2153
|
+
v,
|
|
2154
|
+
u,
|
|
2155
|
+
m
|
|
2156
|
+
]);
|
|
2157
|
+
}
|
|
2158
|
+
var di = (e) => e.render(ui(e)), fi = () => {
|
|
2159
|
+
if (typeof crypto < "u" && crypto.randomUUID) return crypto.randomUUID();
|
|
2160
|
+
let e = typeof performance > "u" ? Date.now() : performance.now() * 1e3;
|
|
2161
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (t) => {
|
|
2162
|
+
let n = (Math.random() * 16 + e) % 16 | 0;
|
|
2163
|
+
return (t == "x" ? n : n & 3 | 8).toString(16);
|
|
2164
|
+
});
|
|
2165
|
+
}, pi = (e, t, n = {}) => n.shouldFocus || W(n.shouldFocus) ? n.focusName || `${e}.${W(n.focusIndex) ? t : n.focusIndex}.` : "", mi = (e) => ({
|
|
2166
|
+
isOnSubmit: !e || e === H.onSubmit,
|
|
2167
|
+
isOnBlur: e === H.onBlur,
|
|
2168
|
+
isOnChange: e === H.onChange,
|
|
2169
|
+
isOnAll: e === H.all,
|
|
2170
|
+
isOnTouch: e === H.onTouched
|
|
2171
|
+
}), hi = (e, t, n) => {
|
|
2172
|
+
if (n) return !1;
|
|
2173
|
+
if (t.watchAll || t.watch.has(e)) return !0;
|
|
2174
|
+
for (let n of t.watch) if (e.startsWith(n) && e.charAt(n.length) === ".") return !0;
|
|
2175
|
+
return !1;
|
|
2176
|
+
}, gi = (e, t, n, r) => {
|
|
2177
|
+
for (let i of n || Object.keys(e)) {
|
|
2178
|
+
if (i === "_f") continue;
|
|
2179
|
+
let a = n ? G(e, i) : e[i];
|
|
2180
|
+
if (a) {
|
|
2181
|
+
let { _f: e } = a;
|
|
2182
|
+
if (e) {
|
|
2183
|
+
if (e.refs && e.refs[0] && t(e.refs[0], i) && !r || e.ref && t(e.ref, e.name) && !r) return !0;
|
|
2184
|
+
if (gi(a, t)) break;
|
|
2185
|
+
} else if ((B(a) || Array.isArray(a)) && gi(a, t)) break;
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
}, _i = (e, t, n) => {
|
|
2189
|
+
let r = G(e, n), i = Array.isArray(r) ? r : [];
|
|
2190
|
+
return J(i, Jr, t[n]), J(e, n, i), e;
|
|
2191
|
+
}, Z = (e) => B(e) && !Object.keys(e).length, vi = (e) => {
|
|
2192
|
+
if (!Kr) return !1;
|
|
2193
|
+
let t = e ? e.ownerDocument : 0;
|
|
2194
|
+
return e instanceof (t && t.defaultView ? t.defaultView.HTMLElement : HTMLElement);
|
|
2195
|
+
}, yi = (e) => e.type === "radio", bi = (e) => e instanceof RegExp, xi = (e, t, n, r, i) => t ? {
|
|
2196
|
+
...n[e],
|
|
2197
|
+
types: {
|
|
2198
|
+
...n[e] && n[e].types ? n[e].types : {},
|
|
2199
|
+
[r]: i || !0
|
|
2200
|
+
}
|
|
2201
|
+
} : {}, Si = {
|
|
2202
|
+
value: !1,
|
|
2203
|
+
isValid: !1
|
|
2204
|
+
}, Ci = {
|
|
2205
|
+
value: !0,
|
|
2206
|
+
isValid: !0
|
|
2207
|
+
}, wi = (e) => {
|
|
2208
|
+
if (Array.isArray(e)) {
|
|
2209
|
+
if (e.length > 1) {
|
|
2210
|
+
let t = e.filter((e) => e && e.checked && !e.disabled).map((e) => e.value);
|
|
2211
|
+
return {
|
|
2212
|
+
value: t,
|
|
2213
|
+
isValid: !!t.length
|
|
2214
|
+
};
|
|
2215
|
+
}
|
|
2216
|
+
return e[0].checked && !e[0].disabled ? e[0].attributes && !W(e[0].attributes.value) ? W(e[0].value) || e[0].value === "" ? Ci : {
|
|
2217
|
+
value: e[0].value,
|
|
2218
|
+
isValid: !0
|
|
2219
|
+
} : Ci : Si;
|
|
2220
|
+
}
|
|
2221
|
+
return Si;
|
|
2222
|
+
}, Ti = {
|
|
2223
|
+
isValid: !1,
|
|
2224
|
+
value: null
|
|
2225
|
+
}, Ei = (e) => Array.isArray(e) ? e.reduce((e, t) => t && t.checked && !t.disabled ? {
|
|
2226
|
+
isValid: !0,
|
|
2227
|
+
value: t.value
|
|
2228
|
+
} : e, Ti) : Ti;
|
|
2229
|
+
function Di(e, t, n = "validate") {
|
|
2230
|
+
if (X(e) || Array.isArray(e) && e.every(X) || K(e) && !e) return {
|
|
2231
|
+
type: n,
|
|
2232
|
+
message: X(e) ? e : "",
|
|
2233
|
+
ref: t
|
|
2234
|
+
};
|
|
2235
|
+
}
|
|
2236
|
+
var Oi = (e) => B(e) && !bi(e) ? e : {
|
|
2237
|
+
value: e,
|
|
2238
|
+
message: ""
|
|
2239
|
+
}, ki = async (e, t, n, r, i, a) => {
|
|
2240
|
+
let { ref: o, refs: s, required: c, maxLength: l, minLength: u, min: d, max: f, pattern: p, validate: m, name: h, valueAsNumber: g, mount: _ } = e._f, v = G(n, h);
|
|
2241
|
+
if (!_ || t.has(h)) return {};
|
|
2242
|
+
let y = s ? s[0] : o, b = (e) => {
|
|
2243
|
+
if (i && y.reportValidity) {
|
|
2244
|
+
let t = K(e) ? "" : e || "";
|
|
2245
|
+
s ? s.forEach((e) => e.setCustomValidity(t)) : y.setCustomValidity(t), y.reportValidity();
|
|
2246
|
+
}
|
|
2247
|
+
}, x = {}, S = yi(o), C = Br(o), w = S || C, T = (g || Vr(o)) && W(o.value) && W(v) || vi(o) && o.value === "" || v === "" || Array.isArray(v) && !v.length, E = xi.bind(null, h, r, x), ee = (e, t, n, r = U.maxLength, i = U.minLength) => {
|
|
2248
|
+
let a = e ? t : n;
|
|
2249
|
+
x[h] = {
|
|
2250
|
+
type: e ? r : i,
|
|
2251
|
+
message: a,
|
|
2252
|
+
ref: o,
|
|
2253
|
+
...E(e ? r : i, a)
|
|
2254
|
+
};
|
|
2255
|
+
};
|
|
2256
|
+
if (a ? !Array.isArray(v) || !v.length : c && (!w && (T || z(v)) || K(v) && !v || C && !wi(s).isValid || S && !Ei(s).isValid)) {
|
|
2257
|
+
let { value: e, message: t } = X(c) ? {
|
|
2258
|
+
value: !!c,
|
|
2259
|
+
message: c
|
|
2260
|
+
} : Oi(c);
|
|
2261
|
+
if (e && (x[h] = {
|
|
2262
|
+
type: U.required,
|
|
2263
|
+
message: t,
|
|
2264
|
+
ref: y,
|
|
2265
|
+
...E(U.required, t)
|
|
2266
|
+
}, !r)) return b(t), x;
|
|
2267
|
+
}
|
|
2268
|
+
if (!T && (!z(d) || !z(f))) {
|
|
2269
|
+
let e, t, n = Oi(f), i = Oi(d);
|
|
2270
|
+
if (!z(v) && !R(v) && !isNaN(v)) {
|
|
2271
|
+
let r = o.valueAsNumber || v && +v;
|
|
2272
|
+
z(n.value) || (e = r > n.value), z(i.value) || (t = r < i.value);
|
|
2273
|
+
} else {
|
|
2274
|
+
let r = o.valueAsDate || new Date(v), a = (e) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + e), s = o.type == "time", c = o.type == "week";
|
|
2275
|
+
X(n.value) && v && (e = s ? a(v) > a(n.value) : c ? v > n.value : r > new Date(n.value)), X(i.value) && v && (t = s ? a(v) < a(i.value) : c ? v < i.value : r < new Date(i.value));
|
|
2276
|
+
}
|
|
2277
|
+
if ((e || t) && (ee(!!e, n.message, i.message, U.max, U.min), !r)) return b(x[h].message), x;
|
|
2278
|
+
}
|
|
2279
|
+
if ((l || u) && !T && (X(v) || a && Array.isArray(v))) {
|
|
2280
|
+
let e = Oi(l), t = Oi(u), n = !z(e.value) && v.length > +e.value, i = !z(t.value) && v.length < +t.value;
|
|
2281
|
+
if ((n || i) && (ee(n, e.message, t.message), !r)) return b(x[h].message), x;
|
|
2282
|
+
}
|
|
2283
|
+
if (p && !T && X(v)) {
|
|
2284
|
+
let { value: e, message: t } = Oi(p);
|
|
2285
|
+
if (bi(e) && !v.match(e) && (x[h] = {
|
|
2286
|
+
type: U.pattern,
|
|
2287
|
+
message: t,
|
|
2288
|
+
ref: o,
|
|
2289
|
+
...E(U.pattern, t)
|
|
2290
|
+
}, !r)) return b(t), x;
|
|
2291
|
+
}
|
|
2292
|
+
if (m) {
|
|
2293
|
+
if (q(m)) {
|
|
2294
|
+
let e = Di(await m(v, n), y);
|
|
2295
|
+
if (e && (x[h] = {
|
|
2296
|
+
...e,
|
|
2297
|
+
...E(U.validate, e.message)
|
|
2298
|
+
}, !r)) return b(e.message), x;
|
|
2299
|
+
} else if (B(m)) {
|
|
2300
|
+
let e = {};
|
|
2301
|
+
for (let t in m) {
|
|
2302
|
+
if (!Z(e) && !r) break;
|
|
2303
|
+
let i = Di(await m[t](v, n), y, t);
|
|
2304
|
+
i && (e = {
|
|
2305
|
+
...i,
|
|
2306
|
+
...E(t, i.message)
|
|
2307
|
+
}, b(i.message), r && (x[h] = e));
|
|
2308
|
+
}
|
|
2309
|
+
if (!Z(e) && (x[h] = {
|
|
2310
|
+
ref: y,
|
|
2311
|
+
...e
|
|
2312
|
+
}, !r)) return x;
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2315
|
+
return b(!0), x;
|
|
2316
|
+
}, Q = (e) => Array.isArray(e) ? e : [e], Ai = (e, t) => [...e, ...Q(t)], ji = (e) => Array.isArray(e) ? e.map(() => void 0) : void 0;
|
|
2317
|
+
function Mi(e, t, n) {
|
|
2318
|
+
return [
|
|
2319
|
+
...e.slice(0, t),
|
|
2320
|
+
...Q(n),
|
|
2321
|
+
...e.slice(t)
|
|
2322
|
+
];
|
|
2323
|
+
}
|
|
2324
|
+
var Ni = (e, t, n) => Array.isArray(e) ? (W(e[n]) && (e[n] = void 0), e.splice(n, 0, e.splice(t, 1)[0]), e) : [], Pi = (e, t) => [...Q(t), ...Q(e)], Fi = (e) => Array.isArray(e) ? e.filter(Boolean) : [];
|
|
2325
|
+
function Ii(e, t) {
|
|
2326
|
+
let n = 0, r = [...e];
|
|
2327
|
+
for (let e of t) r.splice(e - n, 1), n++;
|
|
2328
|
+
return Fi(r).length ? r : [];
|
|
2329
|
+
}
|
|
2330
|
+
var Li = (e, t) => W(t) ? [] : Ii(e, Q(t).sort((e, t) => e - t)), Ri = (e, t, n) => {
|
|
2331
|
+
[e[t], e[n]] = [e[n], e[t]];
|
|
2332
|
+
};
|
|
2333
|
+
function zi(e, t) {
|
|
2334
|
+
let n = t.length - 1, r = 0;
|
|
2335
|
+
for (; r < n;) {
|
|
2336
|
+
if (z(e)) {
|
|
2337
|
+
e = void 0;
|
|
2338
|
+
break;
|
|
2339
|
+
}
|
|
2340
|
+
e = e[t[r]], r++;
|
|
2341
|
+
}
|
|
2342
|
+
return e;
|
|
2343
|
+
}
|
|
2344
|
+
function Bi(e) {
|
|
2345
|
+
for (let t in e) if (e.hasOwnProperty(t) && !W(e[t])) return !1;
|
|
2346
|
+
return !0;
|
|
2347
|
+
}
|
|
2348
|
+
function $(e, t) {
|
|
2349
|
+
if (X(t) && Object.prototype.hasOwnProperty.call(e, t)) return delete e[t], e;
|
|
2350
|
+
let n = Array.isArray(t) ? t : Zr(t) ? [t] : $r(t);
|
|
2351
|
+
if (n.some((e) => Yr.includes(String(e)))) return e;
|
|
2352
|
+
let r = n.length === 1 ? e : zi(e, n), i = n.length - 1, a = n[i];
|
|
2353
|
+
return r && delete r[a], i !== 0 && (B(r) && Z(r) || Array.isArray(r) && Bi(r)) && $(e, n.slice(0, -1)), e;
|
|
2354
|
+
}
|
|
2355
|
+
var Vi = (e, t, n) => (e[t] = n, e);
|
|
2356
|
+
function Hi(e) {
|
|
2357
|
+
let t = ti(), { control: n = t, name: r, keyName: i = "id", disabled: a, shouldUnregister: o, rules: s } = e, [c, l] = A.useState(n._getFieldArray(r)), u = A.useRef(n._getFieldArray(r).map(fi)), d = A.useRef(!1);
|
|
2358
|
+
a || n._names.array.add(r), A.useMemo(() => !a && s && c.length >= 0 && n.register(r, s), [
|
|
2359
|
+
n,
|
|
2360
|
+
r,
|
|
2361
|
+
c.length,
|
|
2362
|
+
s,
|
|
2363
|
+
a
|
|
2364
|
+
]), ri(() => {
|
|
2365
|
+
if (!a) return n._subjects.array.subscribe({ next: ({ values: e, name: t }) => {
|
|
2366
|
+
if (t === r || !t) {
|
|
2367
|
+
let n = G(e, r);
|
|
2368
|
+
Array.isArray(n) ? (l(n), u.current = n.map(fi)) : t || (l([]), u.current = []);
|
|
2369
|
+
}
|
|
2370
|
+
} }).unsubscribe;
|
|
2371
|
+
}, [
|
|
2372
|
+
n,
|
|
2373
|
+
r,
|
|
2374
|
+
a
|
|
2375
|
+
]);
|
|
2376
|
+
let f = A.useCallback((e) => {
|
|
2377
|
+
d.current = !0, n._setFieldArray(r, e);
|
|
2378
|
+
}, [n, r]);
|
|
2379
|
+
return A.useEffect(() => {
|
|
2380
|
+
if (a) {
|
|
2381
|
+
n._state.actionArrayLengths.delete(r);
|
|
2382
|
+
return;
|
|
2383
|
+
}
|
|
2384
|
+
n._state.action = !1, n._state.actionArrayLengths.delete(r), hi(r, n._names) && n._subjects.state.next({ ...n._formState });
|
|
2385
|
+
let e = mi(n._options.mode);
|
|
2386
|
+
if (d.current && (!e.isOnSubmit || n._formState.isSubmitted) && !mi(n._options.reValidateMode).isOnSubmit && !e.isOnBlur) if (n._options.resolver) n._runSchema([r]).then((e) => {
|
|
2387
|
+
n._updateIsValidating([r]);
|
|
2388
|
+
let t = G(e.errors, r), i = G(n._formState.errors, r), a = i && (i.type || i.root?.type), o = i && (i.message || i.root?.message);
|
|
2389
|
+
(i ? !t && a || t && (a !== t.type || o !== t.message) : t && t.type) && (t ? B(t) && !Object.keys(t).some((e) => !Number.isNaN(+e)) ? _i(n._formState.errors, { [r]: t }, r) : J(n._formState.errors, r, t) : $(n._formState.errors, r), n._subjects.state.next({ errors: n._formState.errors }));
|
|
2390
|
+
});
|
|
2391
|
+
else {
|
|
2392
|
+
let e = G(n._fields, r);
|
|
2393
|
+
e && e._f && !(mi(n._options.reValidateMode).isOnSubmit && mi(n._options.mode).isOnSubmit) && ki(e, n._names.disabled, n._formValues, n._options.criteriaMode === H.all, n._options.shouldUseNativeValidation, !0).then((e) => !Z(e) && n._subjects.state.next({ errors: _i(n._formState.errors, e, r) }));
|
|
2394
|
+
}
|
|
2395
|
+
d.current && n._subjects.state.next({
|
|
2396
|
+
name: r,
|
|
2397
|
+
values: V(n._formValues)
|
|
2398
|
+
}), n._names.focus && gi(n._fields, (e, t) => {
|
|
2399
|
+
if (n._names.focus && t.startsWith(n._names.focus) && e.focus) return e.focus(), 1;
|
|
2400
|
+
}), n._names.focus = "", n._setValid(), d.current = !1;
|
|
2401
|
+
}, [
|
|
2402
|
+
c,
|
|
2403
|
+
r,
|
|
2404
|
+
n,
|
|
2405
|
+
a
|
|
2406
|
+
]), A.useEffect(() => (a || !G(n._formValues, r) && n._setFieldArray(r), () => {
|
|
2407
|
+
if (n._state.actionArrayLengths.delete(r), a) return;
|
|
2408
|
+
let e = !(n._options.shouldUnregister || o);
|
|
2409
|
+
d.current && e && n._subjects.state.next({
|
|
2410
|
+
name: r,
|
|
2411
|
+
values: V(n._formValues)
|
|
2412
|
+
}), e ? ((e, t) => {
|
|
2413
|
+
let r = G(n._fields, e);
|
|
2414
|
+
r && r._f && (r._f.mount = t);
|
|
2415
|
+
})(r, !1) : n.unregister(r);
|
|
2416
|
+
}), [
|
|
2417
|
+
r,
|
|
2418
|
+
n,
|
|
2419
|
+
i,
|
|
2420
|
+
o,
|
|
2421
|
+
a
|
|
2422
|
+
]), {
|
|
2423
|
+
swap: A.useCallback((e, t) => {
|
|
2424
|
+
if (a) return;
|
|
2425
|
+
let i = n._getFieldArray(r);
|
|
2426
|
+
Ri(i, e, t), Ri(u.current, e, t), f(i), l(i), n._setFieldArray(r, i, Ri, {
|
|
2427
|
+
argA: e,
|
|
2428
|
+
argB: t
|
|
2429
|
+
}, !1);
|
|
2430
|
+
}, [
|
|
2431
|
+
f,
|
|
2432
|
+
r,
|
|
2433
|
+
n,
|
|
2434
|
+
a
|
|
2435
|
+
]),
|
|
2436
|
+
move: A.useCallback((e, t) => {
|
|
2437
|
+
if (a) return;
|
|
2438
|
+
let i = n._getFieldArray(r);
|
|
2439
|
+
Ni(i, e, t), Ni(u.current, e, t), f(i), l(i), n._setFieldArray(r, i, Ni, {
|
|
2440
|
+
argA: e,
|
|
2441
|
+
argB: t
|
|
2442
|
+
}, !1);
|
|
2443
|
+
}, [
|
|
2444
|
+
f,
|
|
2445
|
+
r,
|
|
2446
|
+
n,
|
|
2447
|
+
a
|
|
2448
|
+
]),
|
|
2449
|
+
prepend: A.useCallback((e, t) => {
|
|
2450
|
+
if (a) return;
|
|
2451
|
+
let i = Q(V(e)), o = Pi(n._getFieldArray(r), i);
|
|
2452
|
+
n._names.focus = pi(r, 0, t), u.current = Pi(u.current, i.map(fi)), f(o), l(o), n._setFieldArray(r, o, Pi, { argA: ji(e) });
|
|
2453
|
+
}, [
|
|
2454
|
+
f,
|
|
2455
|
+
r,
|
|
2456
|
+
n,
|
|
2457
|
+
a
|
|
2458
|
+
]),
|
|
2459
|
+
append: A.useCallback((e, t) => {
|
|
2460
|
+
if (a) return;
|
|
2461
|
+
let i = Q(V(e)), o = Ai(n._getFieldArray(r), i);
|
|
2462
|
+
n._names.focus = pi(r, o.length - 1, t), u.current = Ai(u.current, i.map(fi)), f(o), l(o), n._setFieldArray(r, o, Ai, { argA: ji(e) });
|
|
2463
|
+
}, [
|
|
2464
|
+
f,
|
|
2465
|
+
r,
|
|
2466
|
+
n,
|
|
2467
|
+
a
|
|
2468
|
+
]),
|
|
2469
|
+
remove: A.useCallback((e) => {
|
|
2470
|
+
if (a) return;
|
|
2471
|
+
let t = Li(n._getFieldArray(r), e);
|
|
2472
|
+
u.current = Li(u.current, e), f(t), l(t), !Array.isArray(G(n._fields, r)) && J(n._fields, r, void 0), n._setFieldArray(r, t, Li, { argA: e });
|
|
2473
|
+
}, [
|
|
2474
|
+
f,
|
|
2475
|
+
r,
|
|
2476
|
+
n,
|
|
2477
|
+
a
|
|
2478
|
+
]),
|
|
2479
|
+
insert: A.useCallback((e, t, i) => {
|
|
2480
|
+
if (a) return;
|
|
2481
|
+
let o = Q(V(t)), s = Mi(n._getFieldArray(r), e, o);
|
|
2482
|
+
n._names.focus = pi(r, e, i), u.current = Mi(u.current, e, o.map(fi)), f(s), l(s), n._setFieldArray(r, s, Mi, {
|
|
2483
|
+
argA: e,
|
|
2484
|
+
argB: ji(t)
|
|
2485
|
+
});
|
|
2486
|
+
}, [
|
|
2487
|
+
f,
|
|
2488
|
+
r,
|
|
2489
|
+
n,
|
|
2490
|
+
a
|
|
2491
|
+
]),
|
|
2492
|
+
update: A.useCallback((e, t) => {
|
|
2493
|
+
if (a) return;
|
|
2494
|
+
let i = V(t), o = Vi(n._getFieldArray(r), e, i);
|
|
2495
|
+
u.current = [...o].map((t, n) => !t || n === e ? fi() : u.current[n]), f(o), l([...o]), n._setFieldArray(r, o, Vi, {
|
|
2496
|
+
argA: e,
|
|
2497
|
+
argB: i
|
|
2498
|
+
}, !0, !1);
|
|
2499
|
+
}, [
|
|
2500
|
+
f,
|
|
2501
|
+
r,
|
|
2502
|
+
n,
|
|
2503
|
+
a
|
|
2504
|
+
]),
|
|
2505
|
+
replace: A.useCallback((e) => {
|
|
2506
|
+
if (a) return;
|
|
2507
|
+
let t = Q(V(e));
|
|
2508
|
+
u.current = t.map(fi), f([...t]), l([...t]), n._setFieldArray(r, [...t], (e) => e, {}, !0, !1);
|
|
2509
|
+
}, [
|
|
2510
|
+
f,
|
|
2511
|
+
r,
|
|
2512
|
+
n,
|
|
2513
|
+
a
|
|
2514
|
+
]),
|
|
2515
|
+
fields: A.useMemo(() => c.map((e, t) => ({
|
|
2516
|
+
...e,
|
|
2517
|
+
...K(a) ? { disabled: a } : {},
|
|
2518
|
+
[i]: u.current[t] || fi()
|
|
2519
|
+
})), [
|
|
2520
|
+
c,
|
|
2521
|
+
i,
|
|
2522
|
+
a
|
|
2523
|
+
])
|
|
2524
|
+
};
|
|
2525
|
+
}
|
|
2526
|
+
var Ui = (e) => {
|
|
2527
|
+
let t = {};
|
|
2528
|
+
for (let n of Object.keys(e)) if (Hr(e[n]) && e[n] !== null && !R(e[n])) {
|
|
2529
|
+
let r = Ui(e[n]);
|
|
2530
|
+
for (let e of Object.keys(r)) t[`${n}.${e}`] = r[e];
|
|
2531
|
+
} else t[n] = e[n];
|
|
2532
|
+
return t;
|
|
2533
|
+
}, Wi = A.createContext(null);
|
|
2534
|
+
Wi.displayName = "HookFormContext";
|
|
2535
|
+
var Gi = () => {
|
|
2536
|
+
let e = [];
|
|
2537
|
+
return {
|
|
2538
|
+
get observers() {
|
|
2539
|
+
return e;
|
|
2540
|
+
},
|
|
2541
|
+
next: (t) => {
|
|
2542
|
+
for (let n of e) n.next && n.next(t);
|
|
2543
|
+
},
|
|
2544
|
+
subscribe: (t) => (e.push(t), { unsubscribe: () => {
|
|
2545
|
+
e = e.filter((e) => e !== t);
|
|
2546
|
+
} }),
|
|
2547
|
+
unsubscribe: () => {
|
|
2548
|
+
e = [];
|
|
2549
|
+
}
|
|
2550
|
+
};
|
|
2551
|
+
};
|
|
2552
|
+
function Ki(e, t) {
|
|
2553
|
+
let n = {};
|
|
2554
|
+
for (let r in e) if (e.hasOwnProperty(r)) {
|
|
2555
|
+
let i = e[r], a = t[r];
|
|
2556
|
+
if (i && B(i) && a) {
|
|
2557
|
+
let e = Ki(i, a);
|
|
2558
|
+
B(e) && (n[r] = e);
|
|
2559
|
+
} else e[r] && (n[r] = a);
|
|
2560
|
+
}
|
|
2561
|
+
return n;
|
|
2562
|
+
}
|
|
2563
|
+
var qi = (e) => e.type === "select-multiple", Ji = (e) => yi(e) || Br(e), Yi = (e) => vi(e) && e.isConnected;
|
|
2564
|
+
function Xi(e) {
|
|
2565
|
+
return Array.isArray(e) || B(e);
|
|
2566
|
+
}
|
|
2567
|
+
function Zi(e, t, n = "", r = []) {
|
|
2568
|
+
for (let i in e) {
|
|
2569
|
+
let a = n ? `${n}.${i}` : i, o = e[i];
|
|
2570
|
+
Xi(o) && Xi(G(t, a)) ? Zi(o, t, a, r) : r.push(a);
|
|
2571
|
+
}
|
|
2572
|
+
return r;
|
|
2573
|
+
}
|
|
2574
|
+
var Qi = (e) => {
|
|
2575
|
+
for (let t in e) if (q(e[t])) return !0;
|
|
2576
|
+
return !1;
|
|
2577
|
+
};
|
|
2578
|
+
function $i(e) {
|
|
2579
|
+
return Array.isArray(e) || B(e) && !Qi(e);
|
|
2580
|
+
}
|
|
2581
|
+
function ea(e) {
|
|
2582
|
+
return !!(e && "_f" in e);
|
|
2583
|
+
}
|
|
2584
|
+
function ta(e) {
|
|
2585
|
+
return Array.isArray(e) ? !e.some((e) => !W(e)) : !Object.keys(e).length;
|
|
2586
|
+
}
|
|
2587
|
+
function na(e, t) {
|
|
2588
|
+
Array.isArray(e) ? e[t] = void 0 : delete e[t];
|
|
2589
|
+
}
|
|
2590
|
+
function ra(e, t = {}, n) {
|
|
2591
|
+
for (let r in e) {
|
|
2592
|
+
let i = e[r], a = n && n[r];
|
|
2593
|
+
$i(i) && (!Array.isArray(i) || !ea(a)) ? (t[r] = Array.isArray(i) ? [] : {}, ra(i, t[r], a), ta(t[r]) && na(t, r)) : W(i) || (t[r] = !0);
|
|
2594
|
+
}
|
|
2595
|
+
return t;
|
|
2596
|
+
}
|
|
2597
|
+
function ia(e, t, n, r) {
|
|
2598
|
+
n ||= ra(t, {}, r);
|
|
2599
|
+
for (let i in e) {
|
|
2600
|
+
let a = e[i], o = r && r[i];
|
|
2601
|
+
$i(a) && (!Array.isArray(a) || !ea(o)) ? (W(t) || ii(n[i]) ? n[i] = ra(a, Array.isArray(a) ? [] : {}, o) : ia(a, z(t) ? {} : t[i], n[i], o), ta(n[i]) && na(n, i)) : Y(a, t[i]) ? na(n, i) : n[i] = !0;
|
|
2602
|
+
}
|
|
2603
|
+
return n;
|
|
2604
|
+
}
|
|
2605
|
+
var aa = (e, { valueAsNumber: t, valueAsDate: n, setValueAs: r }) => W(e) ? e : t ? e === "" ? NaN : e && +e : n && X(e) ? new Date(e) : r ? r(e) : e;
|
|
2606
|
+
function oa(e) {
|
|
2607
|
+
let t = e.ref;
|
|
2608
|
+
return Vr(t) ? t.files : yi(t) ? Ei(e.refs).value : qi(t) ? [...t.selectedOptions].map(({ value: e }) => e) : Br(t) ? wi(e.refs).value : aa(t.value, e);
|
|
2609
|
+
}
|
|
2610
|
+
var sa = (e, t, n, r) => {
|
|
2611
|
+
let i = {};
|
|
2612
|
+
for (let n of e) {
|
|
2613
|
+
let e = G(t, n);
|
|
2614
|
+
e && J(i, n, e._f);
|
|
2615
|
+
}
|
|
2616
|
+
return {
|
|
2617
|
+
criteriaMode: n,
|
|
2618
|
+
names: [...e],
|
|
2619
|
+
fields: i,
|
|
2620
|
+
shouldUseNativeValidation: r
|
|
2621
|
+
};
|
|
2622
|
+
}, ca = (e) => W(e) ? e : bi(e) ? e.source : B(e) ? bi(e.value) ? e.value.source : e.value : e, la = "AsyncFunction", ua = (e) => {
|
|
2623
|
+
if (!e || !e.validate) return !1;
|
|
2624
|
+
if (q(e.validate)) return e.validate.constructor.name === la;
|
|
2625
|
+
if (B(e.validate)) {
|
|
2626
|
+
for (let t in e.validate) if (e.validate[t].constructor.name === la) return !0;
|
|
2627
|
+
}
|
|
2628
|
+
return !1;
|
|
2629
|
+
}, da = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate);
|
|
2630
|
+
function fa(e, t, n) {
|
|
2631
|
+
let r = G(e, n);
|
|
2632
|
+
if (r || Zr(n)) return {
|
|
2633
|
+
error: r,
|
|
2634
|
+
name: n
|
|
2635
|
+
};
|
|
2636
|
+
let i = n.split(".");
|
|
2637
|
+
for (; i.length;) {
|
|
2638
|
+
let r = i.join("."), a = G(t, r), o = G(e, r);
|
|
2639
|
+
if (a && !Array.isArray(a) && n !== r) return { name: n };
|
|
2640
|
+
if (o && o.type) return {
|
|
2641
|
+
name: r,
|
|
2642
|
+
error: o
|
|
2643
|
+
};
|
|
2644
|
+
if (o && o.root && o.root.type) return {
|
|
2645
|
+
name: `${r}.root`,
|
|
2646
|
+
error: o.root
|
|
2647
|
+
};
|
|
2648
|
+
i.pop();
|
|
2649
|
+
}
|
|
2650
|
+
return { name: n };
|
|
2651
|
+
}
|
|
2652
|
+
var pa = (e, t, n, r) => {
|
|
2653
|
+
n(e);
|
|
2654
|
+
let i = Object.keys(e).filter((e) => e !== "name");
|
|
2655
|
+
return !i.length || r && i.length >= Object.keys(t).length || i.find((e) => t[e] === (!r || H.all));
|
|
2656
|
+
}, ma = (e, t, n) => !e || !t || e === t || Q(e).some((e) => e && (n ? e === t || e.startsWith(t + ".") : e.startsWith(t) || t.startsWith(e))), ha = (e, t, n, r, i) => i.isOnAll ? !1 : !n && i.isOnTouch ? !(t || e) : (n ? r.isOnBlur : i.isOnBlur) ? !e : (n ? r.isOnChange : i.isOnChange) ? e : !0, ga = (e, t) => {
|
|
2657
|
+
let n = G(e, t);
|
|
2658
|
+
!Fi(n).length && !n?.root && $(e, t);
|
|
2659
|
+
}, _a = {
|
|
2660
|
+
mode: H.onSubmit,
|
|
2661
|
+
reValidateMode: H.onChange,
|
|
2662
|
+
shouldFocusError: !0
|
|
2663
|
+
}, va = "form", ya = (e, t) => {
|
|
2664
|
+
for (let n in e) n in t || delete e[n];
|
|
2665
|
+
Object.assign(e, t);
|
|
2666
|
+
}, ba = {
|
|
2667
|
+
submitCount: 0,
|
|
2668
|
+
isDirty: !1,
|
|
2669
|
+
isReady: !1,
|
|
2670
|
+
isValidating: !1,
|
|
2671
|
+
isSubmitted: !1,
|
|
2672
|
+
isSubmitting: !1,
|
|
2673
|
+
isSubmitSuccessful: !1,
|
|
2674
|
+
isValid: !1,
|
|
2675
|
+
touchedFields: {},
|
|
2676
|
+
dirtyFields: {},
|
|
2677
|
+
validatingFields: {}
|
|
2678
|
+
};
|
|
2679
|
+
function xa(e = {}) {
|
|
2680
|
+
let t = {
|
|
2681
|
+
..._a,
|
|
2682
|
+
...e
|
|
2683
|
+
}, n = {
|
|
2684
|
+
...V(ba),
|
|
2685
|
+
isLoading: q(t.defaultValues),
|
|
2686
|
+
errors: t.errors || {},
|
|
2687
|
+
disabled: t.disabled || !1
|
|
2688
|
+
}, r = {}, i = (B(t.defaultValues) || B(t.values)) && V(t.defaultValues || t.values) || {}, a = t.shouldUnregister ? {} : V(i), o = {
|
|
2689
|
+
action: !1,
|
|
2690
|
+
actionArrayLengths: /* @__PURE__ */ new Map(),
|
|
2691
|
+
mount: !1,
|
|
2692
|
+
watch: !1,
|
|
2693
|
+
keepIsValid: !1
|
|
2694
|
+
}, s = {
|
|
2695
|
+
mount: /* @__PURE__ */ new Set(),
|
|
2696
|
+
disabled: /* @__PURE__ */ new Set(),
|
|
2697
|
+
unMount: /* @__PURE__ */ new Set(),
|
|
2698
|
+
array: /* @__PURE__ */ new Set(),
|
|
2699
|
+
watch: /* @__PURE__ */ new Set(),
|
|
2700
|
+
registerName: /* @__PURE__ */ new Set()
|
|
2701
|
+
}, c = {}, l = {}, u = 0, d = mi(t.mode), f = mi(t.reValidateMode), p = {
|
|
2702
|
+
isDirty: !1,
|
|
2703
|
+
dirtyFields: !1,
|
|
2704
|
+
validatingFields: !1,
|
|
2705
|
+
touchedFields: !1,
|
|
2706
|
+
isValidating: !1,
|
|
2707
|
+
isValid: !1,
|
|
2708
|
+
errors: !1
|
|
2709
|
+
}, m = { ...p }, h = { ...m }, g = {
|
|
2710
|
+
array: Gi(),
|
|
2711
|
+
state: Gi()
|
|
2712
|
+
}, _ = 0, v = t.criteriaMode === H.all, y = (e, t) => (n) => {
|
|
2713
|
+
clearTimeout(l[e]), l[e] = setTimeout(t, n);
|
|
2714
|
+
}, b = async (e) => {
|
|
2715
|
+
if (!o.keepIsValid && !t.disabled && (m.isValid || h.isValid || e)) {
|
|
2716
|
+
let e = ++_, i;
|
|
2717
|
+
t.resolver ? (i = Z((await A()).errors), e === _ && x()) : i = await re({
|
|
2718
|
+
fields: r,
|
|
2719
|
+
onlyCheckValid: !0,
|
|
2720
|
+
eventType: qr.VALID
|
|
2721
|
+
}), e === _ && i !== n.isValid && g.state.next({ isValid: i });
|
|
2722
|
+
}
|
|
2723
|
+
}, x = (e, r) => {
|
|
2724
|
+
!t.disabled && (m.isValidating || m.validatingFields || h.isValidating || h.validatingFields) && ((e || Array.from(s.mount)).forEach((e) => {
|
|
2725
|
+
e && (r ? J(n.validatingFields, e, r) : $(n.validatingFields, e));
|
|
2726
|
+
}), g.state.next({
|
|
2727
|
+
validatingFields: n.validatingFields,
|
|
2728
|
+
isValidating: !Z(n.validatingFields)
|
|
2729
|
+
}));
|
|
2730
|
+
}, S = () => {
|
|
2731
|
+
n.dirtyFields = ia(i, a, void 0, r);
|
|
2732
|
+
}, C = (e, i = [], s, c, l = !0, u = !0) => {
|
|
2733
|
+
if (c && s && !t.disabled) {
|
|
2734
|
+
if (o.action = !0, !o.actionArrayLengths.has(e)) {
|
|
2735
|
+
let t = G(r, e);
|
|
2736
|
+
o.actionArrayLengths.set(e, Array.isArray(t) ? t.length : 0);
|
|
2737
|
+
}
|
|
2738
|
+
if (u && Array.isArray(G(r, e))) {
|
|
2739
|
+
let t = s(G(r, e), c.argA, c.argB);
|
|
2740
|
+
l && J(r, e, t);
|
|
2741
|
+
}
|
|
2742
|
+
if (u && Array.isArray(G(n.errors, e))) {
|
|
2743
|
+
let t = G(n.errors, e), r = t.root, i = s(t, c.argA, c.argB) || t;
|
|
2744
|
+
r && (i.root = r), l && J(n.errors, e, i), ga(n.errors, e);
|
|
2745
|
+
}
|
|
2746
|
+
if ((m.touchedFields || h.touchedFields) && u && Array.isArray(G(n.touchedFields, e))) {
|
|
2747
|
+
let t = s(G(n.touchedFields, e), c.argA, c.argB);
|
|
2748
|
+
l && J(n.touchedFields, e, t);
|
|
2749
|
+
}
|
|
2750
|
+
(m.dirtyFields || h.dirtyFields) && S(), g.state.next({
|
|
2751
|
+
name: e,
|
|
2752
|
+
isDirty: j(e, i),
|
|
2753
|
+
dirtyFields: n.dirtyFields,
|
|
2754
|
+
errors: n.errors,
|
|
2755
|
+
isValid: n.isValid
|
|
2756
|
+
});
|
|
2757
|
+
} else J(a, e, i);
|
|
2758
|
+
}, w = (e, t) => {
|
|
2759
|
+
J(n.errors, e, t), n.errors = { ...n.errors }, g.state.next({ errors: n.errors });
|
|
2760
|
+
}, T = (e) => {
|
|
2761
|
+
n.errors = e, g.state.next({
|
|
2762
|
+
errors: n.errors,
|
|
2763
|
+
isValid: !1
|
|
2764
|
+
});
|
|
2765
|
+
}, E = (e) => {
|
|
2766
|
+
let t = Zr(e) ? [e] : $r(e), n = a, r = i;
|
|
2767
|
+
for (let e = 0; e < t.length - 1; e++) {
|
|
2768
|
+
let i = t[e];
|
|
2769
|
+
if (n = z(n) ? n : n[i], r = z(r) ? r : r[i], n === null && r !== null) return !0;
|
|
2770
|
+
}
|
|
2771
|
+
return !1;
|
|
2772
|
+
}, ee = (e) => {
|
|
2773
|
+
if (!o.actionArrayLengths.size) return !1;
|
|
2774
|
+
let t = Zr(e) ? [e] : $r(e), n = a, r = "", i = -1, s = 0;
|
|
2775
|
+
for (let e = 0; e < t.length; e++) {
|
|
2776
|
+
if (z(n)) return !1;
|
|
2777
|
+
let a = t[e];
|
|
2778
|
+
if (r = r ? `${r}.${a}` : a, Array.isArray(n) && +a >= n.length) return i === -1 ? !1 : e !== i || +a < s;
|
|
2779
|
+
o.actionArrayLengths.has(r) && (i = e + 1, s = o.actionArrayLengths.get(r)), n = n[a];
|
|
2780
|
+
}
|
|
2781
|
+
return !1;
|
|
2782
|
+
}, D = (t, c, l, u) => {
|
|
2783
|
+
let d = G(r, t);
|
|
2784
|
+
if (d) {
|
|
2785
|
+
if (E(t) || ee(t)) return;
|
|
2786
|
+
let r = W(G(a, t)), f = G(a, t, W(l) ? G(i, t) : l);
|
|
2787
|
+
W(f) || u && u.defaultChecked || c ? J(a, t, c ? f : oa(d._f)) : se(t, f), o.mount && !o.action && (b(), r && n.isDirty && (m.isDirty || h.isDirty) && (j() || (n.isDirty = !1, g.state.next({ ...n }))), e.shouldUnregister && r && !W(G(a, t)) && hi(t, s) && (o.watch = !0));
|
|
2788
|
+
}
|
|
2789
|
+
}, O = (e, o, s, c, l) => {
|
|
2790
|
+
let u = !1, d = !1, f = { name: e };
|
|
2791
|
+
if (!t.disabled || c === !0) {
|
|
2792
|
+
if (!s || c) {
|
|
2793
|
+
let t = Y(G(i, e), o);
|
|
2794
|
+
(m.isDirty || h.isDirty) && (d = n.isDirty, n.isDirty = f.isDirty = !t || j(), u = d !== f.isDirty), d = !!G(n.dirtyFields, e), t === n.isDirty ? t ? $(n.dirtyFields, e) : J(n.dirtyFields, e, !0) : ya(n.dirtyFields, ia(i, a, void 0, r)), f.dirtyFields = n.dirtyFields, u ||= (m.dirtyFields || h.dirtyFields) && d !== !t;
|
|
2795
|
+
}
|
|
2796
|
+
if (s) {
|
|
2797
|
+
let t = G(n.touchedFields, e);
|
|
2798
|
+
t || (J(n.touchedFields, e, s), f.touchedFields = n.touchedFields, u ||= (m.touchedFields || h.touchedFields) && t !== s);
|
|
2799
|
+
}
|
|
2800
|
+
u && l && g.state.next(f);
|
|
2801
|
+
}
|
|
2802
|
+
return u ? f : {};
|
|
2803
|
+
}, k = (e, r, i, a) => {
|
|
2804
|
+
let o = G(n.errors, e), s = (m.isValid || h.isValid) && K(r) && n.isValid !== r;
|
|
2805
|
+
if (t.delayError && i ? (c[e] = y(e, () => w(e, i)), c[e](t.delayError)) : (clearTimeout(l[e]), delete c[e], i ? J(n.errors, e, i) : $(n.errors, e), n.errors = { ...n.errors }), (i ? !Y(o, i) : o) || !Z(a) || s) {
|
|
2806
|
+
let t = {
|
|
2807
|
+
...a,
|
|
2808
|
+
...s && K(r) ? { isValid: r } : {},
|
|
2809
|
+
errors: n.errors,
|
|
2810
|
+
name: e
|
|
2811
|
+
};
|
|
2812
|
+
n = {
|
|
2813
|
+
...n,
|
|
2814
|
+
...t
|
|
2815
|
+
}, g.state.next(t);
|
|
2816
|
+
}
|
|
2817
|
+
}, A = async (e) => (x(e, !0), await t.resolver(a, t.context, sa(e || s.mount, r, t.criteriaMode, t.shouldUseNativeValidation))), te = async (e) => {
|
|
2818
|
+
let { errors: t } = await A(e);
|
|
2819
|
+
if (x(e), e) {
|
|
2820
|
+
for (let r of e) {
|
|
2821
|
+
let e = G(t, r);
|
|
2822
|
+
e ? s.array.has(r) && B(e) && !Object.keys(e).some((e) => !Number.isNaN(Number(e))) ? _i(n.errors, { [r]: e }, r) : J(n.errors, r, e) : $(n.errors, r);
|
|
2823
|
+
}
|
|
2824
|
+
n.errors = { ...n.errors };
|
|
2825
|
+
} else n.errors = t;
|
|
2826
|
+
return t;
|
|
2827
|
+
}, ne = async ({ name: t, eventType: r }) => {
|
|
2828
|
+
if (e.validate) {
|
|
2829
|
+
let i = await e.validate({
|
|
2830
|
+
formValues: a,
|
|
2831
|
+
formState: n,
|
|
2832
|
+
name: t,
|
|
2833
|
+
eventType: r
|
|
2834
|
+
});
|
|
2835
|
+
if (B(i)) for (let e in i) {
|
|
2836
|
+
let t = i[e];
|
|
2837
|
+
t && _e(`${va}.${e}`, {
|
|
2838
|
+
message: X(t.message) ? t.message : "",
|
|
2839
|
+
type: t.type || U.validate
|
|
2840
|
+
});
|
|
2841
|
+
}
|
|
2842
|
+
else X(i) || !i ? _e(va, {
|
|
2843
|
+
message: i || "",
|
|
2844
|
+
type: U.validate
|
|
2845
|
+
}) : ge(va);
|
|
2846
|
+
return i;
|
|
2847
|
+
}
|
|
2848
|
+
return !0;
|
|
2849
|
+
}, re = async ({ fields: r, onlyCheckValid: i, name: o, eventType: c, context: l = {
|
|
2850
|
+
valid: !0,
|
|
2851
|
+
runRootValidation: !1
|
|
2852
|
+
} }) => {
|
|
2853
|
+
if (e.validate && (l.runRootValidation = !0, !await ne({
|
|
2854
|
+
name: o,
|
|
2855
|
+
eventType: c
|
|
2856
|
+
}) && (l.valid = !1, i))) return l.valid;
|
|
2857
|
+
for (let o in r) {
|
|
2858
|
+
let u = r[o];
|
|
2859
|
+
if (u) {
|
|
2860
|
+
let { _f: r, ...d } = u;
|
|
2861
|
+
if (r) {
|
|
2862
|
+
let o = s.array.has(r.name), c = u._f && ua(u._f), d = m.validatingFields || m.isValidating || h.validatingFields || h.isValidating;
|
|
2863
|
+
c && d && x([r.name], !0);
|
|
2864
|
+
let f = await ki(u, s.disabled, a, v, t.shouldUseNativeValidation && !i, o);
|
|
2865
|
+
if (c && d && x([r.name]), f[r.name] && (l.valid = !1, i) || (!i && (G(f, r.name) ? o ? _i(n.errors, f, r.name) : J(n.errors, r.name, f[r.name]) : $(n.errors, r.name)), e.shouldUseNativeValidation && f[r.name])) break;
|
|
2866
|
+
}
|
|
2867
|
+
!Z(d) && await re({
|
|
2868
|
+
context: l,
|
|
2869
|
+
onlyCheckValid: i,
|
|
2870
|
+
fields: d,
|
|
2871
|
+
name: o,
|
|
2872
|
+
eventType: c
|
|
2873
|
+
});
|
|
2874
|
+
}
|
|
2875
|
+
}
|
|
2876
|
+
return l.valid;
|
|
2877
|
+
}, ie = () => {
|
|
2878
|
+
for (let e of s.unMount) {
|
|
2879
|
+
let t = G(r, e);
|
|
2880
|
+
t && (t._f.refs ? t._f.refs.every((e) => !Yi(e)) : !Yi(t._f.ref)) && be(e);
|
|
2881
|
+
}
|
|
2882
|
+
s.unMount = /* @__PURE__ */ new Set();
|
|
2883
|
+
}, j = (e, t) => (e && t && J(a, e, t), !Y(o.mount ? a : i, i)), ae = (e, t, n) => ci(e, s, { ...o.mount ? a : W(t) || X(e) ? i : t }, n, t), oe = (e) => Fi(G(o.mount ? a : i, e, t.shouldUnregister ? G(i, e, []) : [])), se = (e, t, n = {}, i = !1, o = !1, s = !1) => {
|
|
2884
|
+
let c = G(r, e), l = t;
|
|
2885
|
+
if (c) {
|
|
2886
|
+
let n = c._f;
|
|
2887
|
+
n && (!n.disabled && J(a, e, aa(t, n)), l = vi(n.ref) && z(t) ? "" : t, qi(n.ref) ? [...n.ref.options].forEach((e) => e.selected = l.includes(e.value)) : n.refs ? Br(n.ref) ? n.refs.forEach((e) => {
|
|
2888
|
+
(!e.defaultChecked || !e.disabled) && (Array.isArray(l) ? e.checked = !!l.find((t) => t === e.value) : e.checked = l === e.value || !!l);
|
|
2889
|
+
}) : n.refs.forEach((e) => e.checked = e.value === l) : Vr(n.ref) ? n.ref.value = "" : (n.ref.value = l, !n.ref.type && !o && !s && g.state.next({
|
|
2890
|
+
name: e,
|
|
2891
|
+
values: i ? a : V(a)
|
|
2892
|
+
})));
|
|
2893
|
+
}
|
|
2894
|
+
(n.shouldDirty || n.shouldTouch) && O(e, l, n.shouldTouch, n.shouldDirty, !o), n.shouldValidate && pe(e, { delayError: n.delayError });
|
|
2895
|
+
}, ce = (e, t, n, i = !1, o = !1, c = !1) => {
|
|
2896
|
+
s.array.has(e) && g.array.next({
|
|
2897
|
+
name: e,
|
|
2898
|
+
values: i ? a : V(a)
|
|
2899
|
+
});
|
|
2900
|
+
for (let a in t) {
|
|
2901
|
+
if (!t.hasOwnProperty(a)) return;
|
|
2902
|
+
let l = t[a], u = e + "." + a, d = G(r, u);
|
|
2903
|
+
(s.array.has(e) || B(l) || d && !d._f) && !R(l) ? ce(u, l, n, i, o, c) : se(u, l, n, i, o, c);
|
|
2904
|
+
}
|
|
2905
|
+
}, le = (e, t, i, c, l = !1) => {
|
|
2906
|
+
let u = G(r, e), d = s.array.has(e), f = c ? t : V(t), p = Y(G(a, e), f);
|
|
2907
|
+
if (p || J(a, e, f), d) g.array.next({
|
|
2908
|
+
name: e,
|
|
2909
|
+
values: c ? a : V(a)
|
|
2910
|
+
}), (m.isDirty || m.dirtyFields || h.isDirty || h.dirtyFields) && i.shouldDirty && (S(), l || g.state.next({
|
|
2911
|
+
name: e,
|
|
2912
|
+
dirtyFields: n.dirtyFields,
|
|
2913
|
+
isDirty: j(e, f)
|
|
2914
|
+
}));
|
|
2915
|
+
else {
|
|
2916
|
+
let t = Array.isArray(f) && !f.length || Z(f), n = !p && !l;
|
|
2917
|
+
!u || u._f || z(f) || t ? se(e, f, i, c, l, n) : ce(e, f, i, c, l, n);
|
|
2918
|
+
}
|
|
2919
|
+
if (!p && !l) {
|
|
2920
|
+
let t = hi(e, s), r = c ? a : V(a);
|
|
2921
|
+
g.state.next({
|
|
2922
|
+
...t && n,
|
|
2923
|
+
name: o.mount || t ? e : void 0,
|
|
2924
|
+
values: r
|
|
2925
|
+
});
|
|
2926
|
+
}
|
|
2927
|
+
}, M = (e, t, n = {}) => le(e, t, n, !1), ue = (e, t = {}) => {
|
|
2928
|
+
let r = q(e) ? e(a) : e;
|
|
2929
|
+
if (!Y(a, r)) {
|
|
2930
|
+
a = {
|
|
2931
|
+
...a,
|
|
2932
|
+
...r
|
|
2933
|
+
};
|
|
2934
|
+
let e = Ui(r);
|
|
2935
|
+
for (let n of s.mount) n in e && le(n, e[n], t, !0, !0);
|
|
2936
|
+
g.state.next({
|
|
2937
|
+
...n,
|
|
2938
|
+
name: void 0,
|
|
2939
|
+
type: void 0,
|
|
2940
|
+
...u ? { values: a } : {}
|
|
2941
|
+
}), t.shouldValidate && b();
|
|
2942
|
+
}
|
|
2943
|
+
}, de = async (i) => {
|
|
2944
|
+
o.mount = !0;
|
|
2945
|
+
let l = i.target, p = l.name, _ = !0, y = G(r, p), S = (e) => {
|
|
2946
|
+
_ = Number.isNaN(e) || R(e) && isNaN(e.getTime()) || Y(e, G(a, p, e));
|
|
2947
|
+
};
|
|
2948
|
+
if (y) {
|
|
2949
|
+
let o, C, w = l.type ? oa(y._f) : Ur(i), T = i.type === qr.BLUR || i.type === qr.FOCUS_OUT, E = !da(y._f) && !e.validate && !t.resolver && !G(n.errors, p) && !y._f.deps, ee = E || ha(T, G(n.touchedFields, p), n.isSubmitted, f, d), D = hi(p, s, T);
|
|
2950
|
+
if (J(a, p, w), T) {
|
|
2951
|
+
if (!l || !l.readOnly) {
|
|
2952
|
+
y._f.onBlur && y._f.onBlur(i);
|
|
2953
|
+
let e = c[p];
|
|
2954
|
+
e && e(0);
|
|
2955
|
+
}
|
|
2956
|
+
} else y._f.onChange && y._f.onChange(i);
|
|
2957
|
+
let te = O(p, w, T), ie = !Z(te) || D;
|
|
2958
|
+
if (!T && g.state.next({
|
|
2959
|
+
name: p,
|
|
2960
|
+
type: i.type,
|
|
2961
|
+
...u ? { values: V(a) } : {}
|
|
2962
|
+
}), ee) return (!E || !n.isValid) && (m.isValid || h.isValid) && (t.mode === "onBlur" ? T && b() : T || b()), ie && g.state.next({
|
|
2963
|
+
name: p,
|
|
2964
|
+
...D ? {} : te
|
|
2965
|
+
});
|
|
2966
|
+
if (!t.resolver && e.validate && await ne({
|
|
2967
|
+
name: p,
|
|
2968
|
+
eventType: i.type
|
|
2969
|
+
}), !T && D && g.state.next({ ...n }), t.resolver) {
|
|
2970
|
+
let { errors: e } = await A([p]);
|
|
2971
|
+
if (x([p]), S(w), !_) {
|
|
2972
|
+
!Z(te) && g.state.next(te);
|
|
2973
|
+
return;
|
|
2974
|
+
}
|
|
2975
|
+
let t = fa(n.errors, r, p), i = fa(e, r, t.name || p);
|
|
2976
|
+
o = i.error, p = i.name, C = Z(e);
|
|
2977
|
+
} else x([p], !0), o = (await ki(y, s.disabled, a, v, t.shouldUseNativeValidation))[p], x([p]), S(w), _ && (o ? C = !1 : (m.isValid || h.isValid) && (C = await re({
|
|
2978
|
+
fields: r,
|
|
2979
|
+
onlyCheckValid: !0,
|
|
2980
|
+
name: p,
|
|
2981
|
+
eventType: i.type
|
|
2982
|
+
})));
|
|
2983
|
+
_ && (y._f.deps && (!Array.isArray(y._f.deps) || y._f.deps.length > 0) && pe(y._f.deps), k(p, C, o, te));
|
|
2984
|
+
}
|
|
2985
|
+
}, fe = (e, t) => {
|
|
2986
|
+
if (G(n.errors, t) && e.focus) return e.focus(), 1;
|
|
2987
|
+
}, pe = async (e, i = {}) => {
|
|
2988
|
+
let a, o, u = Q(e);
|
|
2989
|
+
if (t.resolver) {
|
|
2990
|
+
let t = await te(W(e) ? e : u);
|
|
2991
|
+
a = Z(t), o = e ? !u.some((e) => G(t, e)) : a;
|
|
2992
|
+
} else e ? (o = (await Promise.all(u.map(async (e) => {
|
|
2993
|
+
let t = G(r, e);
|
|
2994
|
+
return await re({
|
|
2995
|
+
fields: t && t._f ? { [e]: t } : t,
|
|
2996
|
+
eventType: qr.TRIGGER
|
|
2997
|
+
});
|
|
2998
|
+
}))).every(Boolean), !(!o && !n.isValid) && b()) : o = a = await re({
|
|
2999
|
+
fields: r,
|
|
3000
|
+
name: e,
|
|
3001
|
+
eventType: qr.TRIGGER
|
|
3002
|
+
});
|
|
3003
|
+
if (i.delayError && t.delayError && X(e)) {
|
|
3004
|
+
let r = G(n.errors, e);
|
|
3005
|
+
r ? ($(n.errors, e), c[e] = y(e, () => w(e, r)), c[e](t.delayError)) : (clearTimeout(l[e]), delete c[e]);
|
|
3006
|
+
}
|
|
3007
|
+
return g.state.next({
|
|
3008
|
+
...!X(e) || (m.isValid || h.isValid) && a !== n.isValid ? {} : { name: e },
|
|
3009
|
+
...t.resolver || !e ? { isValid: a } : {},
|
|
3010
|
+
errors: n.errors
|
|
3011
|
+
}), i.shouldFocus && !o && gi(r, fe, e ? u : s.mount), o;
|
|
3012
|
+
}, me = (e, t) => {
|
|
3013
|
+
let r = { ...o.mount ? a : i };
|
|
3014
|
+
return t && (r = Ki(t.dirtyFields ? n.dirtyFields : n.touchedFields, r)), W(e) ? r : X(e) ? G(r, e) : e.map((e) => G(r, e));
|
|
3015
|
+
}, he = (e, t) => ({
|
|
3016
|
+
invalid: !!G((t || n).errors, e),
|
|
3017
|
+
isDirty: !!G((t || n).dirtyFields, e),
|
|
3018
|
+
error: G((t || n).errors, e),
|
|
3019
|
+
isValidating: !!G(n.validatingFields, e),
|
|
3020
|
+
isTouched: !!G((t || n).touchedFields, e)
|
|
3021
|
+
}), ge = (e) => {
|
|
3022
|
+
let t = e ? Q(e) : void 0;
|
|
3023
|
+
t?.forEach((e) => $(n.errors, e)), t ? t.forEach((e) => {
|
|
3024
|
+
g.state.next({
|
|
3025
|
+
name: e,
|
|
3026
|
+
errors: n.errors
|
|
3027
|
+
});
|
|
3028
|
+
}) : (n.errors = {}, g.state.next({ errors: n.errors }));
|
|
3029
|
+
}, _e = (e, t, i) => {
|
|
3030
|
+
let a = (G(r, e, { _f: {} })._f || {}).ref, { ref: o, message: s, type: c, ...l } = G(n.errors, e) || {};
|
|
3031
|
+
J(n.errors, e, {
|
|
3032
|
+
...l,
|
|
3033
|
+
...t,
|
|
3034
|
+
ref: a
|
|
3035
|
+
}), g.state.next({
|
|
3036
|
+
name: e,
|
|
3037
|
+
errors: n.errors,
|
|
3038
|
+
isValid: !1
|
|
3039
|
+
}), i && i.shouldFocus && a && a.focus && a.focus();
|
|
3040
|
+
}, ve = (e, t) => {
|
|
3041
|
+
if (q(e)) {
|
|
3042
|
+
u++;
|
|
3043
|
+
let { unsubscribe: n } = g.state.subscribe({ next: (n) => "values" in n && e(n.values || ae(void 0, t), n) }), r = !1;
|
|
3044
|
+
return { unsubscribe: () => {
|
|
3045
|
+
r || (r = !0, u--, n());
|
|
3046
|
+
} };
|
|
3047
|
+
}
|
|
3048
|
+
return ae(e, t, !0);
|
|
3049
|
+
}, ye = (e) => {
|
|
3050
|
+
let t = !!e.formState?.values;
|
|
3051
|
+
t && u++;
|
|
3052
|
+
let { unsubscribe: r } = g.state.subscribe({ next: (t) => {
|
|
3053
|
+
if (ma(e.name, t.name, e.exact) && pa(t, e.formState || m, Ae, e.reRenderRoot)) {
|
|
3054
|
+
let r = { ...a };
|
|
3055
|
+
e.callback({
|
|
3056
|
+
values: r,
|
|
3057
|
+
...n,
|
|
3058
|
+
...t,
|
|
3059
|
+
defaultValues: i
|
|
3060
|
+
});
|
|
3061
|
+
}
|
|
3062
|
+
} });
|
|
3063
|
+
if (!t) return r;
|
|
3064
|
+
let o = !1;
|
|
3065
|
+
return () => {
|
|
3066
|
+
o || (o = !0, u--, r());
|
|
3067
|
+
};
|
|
3068
|
+
}, N = (e) => (o.mount = !0, h = {
|
|
3069
|
+
...h,
|
|
3070
|
+
...e.formState
|
|
3071
|
+
}, ye({
|
|
3072
|
+
...e,
|
|
3073
|
+
formState: {
|
|
3074
|
+
...p,
|
|
3075
|
+
...e.formState
|
|
3076
|
+
}
|
|
3077
|
+
})), be = (e, o = {}) => {
|
|
3078
|
+
for (let c of e ? Q(e) : s.mount) s.mount.delete(c), s.array.delete(c), o.keepValue || ($(r, c), $(a, c)), !o.keepError && $(n.errors, c), !o.keepDirty && $(n.dirtyFields, c), !o.keepTouched && $(n.touchedFields, c), !o.keepIsValidating && $(n.validatingFields, c), !t.shouldUnregister && !o.keepDefaultValue && $(i, c);
|
|
3079
|
+
g.state.next({ values: V(a) }), g.state.next({
|
|
3080
|
+
...n,
|
|
3081
|
+
...o.keepDirty ? { isDirty: j() } : {}
|
|
3082
|
+
}), !o.keepIsValid && b();
|
|
3083
|
+
}, xe = ({ disabled: e, name: t }) => {
|
|
3084
|
+
if (K(e) && o.mount || e || s.disabled.has(t)) {
|
|
3085
|
+
let n = s.disabled.has(t) !== !!e;
|
|
3086
|
+
e ? s.disabled.add(t) : s.disabled.delete(t), n && o.mount && !o.action && b();
|
|
3087
|
+
}
|
|
3088
|
+
}, Se = (e, n = {}) => {
|
|
3089
|
+
let a = G(r, e), c = K(n.disabled) || K(t.disabled), l = !s.registerName.has(e) && a && a._f && !a._f.mount;
|
|
3090
|
+
return J(r, e, {
|
|
3091
|
+
...a || {},
|
|
3092
|
+
_f: {
|
|
3093
|
+
...a && a._f ? a._f : { ref: { name: e } },
|
|
3094
|
+
name: e,
|
|
3095
|
+
mount: !0,
|
|
3096
|
+
...n
|
|
3097
|
+
}
|
|
3098
|
+
}), s.mount.add(e), a && !l ? xe({
|
|
3099
|
+
disabled: K(n.disabled) ? n.disabled : t.disabled,
|
|
3100
|
+
name: e
|
|
3101
|
+
}) : D(e, !0, n.value), {
|
|
3102
|
+
...c ? { disabled: n.disabled || t.disabled } : {},
|
|
3103
|
+
...t.progressive ? {
|
|
3104
|
+
required: !!n.required,
|
|
3105
|
+
min: ca(n.min),
|
|
3106
|
+
max: ca(n.max),
|
|
3107
|
+
minLength: ca(n.minLength),
|
|
3108
|
+
maxLength: ca(n.maxLength),
|
|
3109
|
+
pattern: ca(n.pattern)
|
|
3110
|
+
} : {},
|
|
3111
|
+
name: e,
|
|
3112
|
+
onChange: de,
|
|
3113
|
+
onBlur: de,
|
|
3114
|
+
ref: (c) => {
|
|
3115
|
+
if (c) {
|
|
3116
|
+
s.registerName.add(e), Se(e, n), s.registerName.delete(e), a = G(r, e);
|
|
3117
|
+
let t = W(c.value) && c.querySelectorAll && c.querySelectorAll("input,select,textarea")[0] || c, o = Ji(t), l = a._f.refs || [];
|
|
3118
|
+
if (o ? l.find((e) => e === t) : t === a._f.ref) return;
|
|
3119
|
+
let u = { ...a._f };
|
|
3120
|
+
o ? (u.refs = [
|
|
3121
|
+
...l.filter(Yi),
|
|
3122
|
+
t,
|
|
3123
|
+
...Array.isArray(G(i, e)) ? [{}] : []
|
|
3124
|
+
], u.ref = {
|
|
3125
|
+
type: t.type,
|
|
3126
|
+
name: e
|
|
3127
|
+
}) : (u.ref = t, delete u.refs), J(r, e, { _f: u }), D(e, !1, void 0, t);
|
|
3128
|
+
} else a = G(r, e, {}), a._f && (a._f.mount = !1), (t.shouldUnregister || n.shouldUnregister) && !(Wr(s.array, e) && o.action) && s.unMount.add(e);
|
|
3129
|
+
}
|
|
3130
|
+
};
|
|
3131
|
+
}, Ce = () => t.shouldFocusError && !t.shouldUseNativeValidation && gi(r, fe, s.mount), we = (e) => {
|
|
3132
|
+
K(e) && (g.state.next({ disabled: e }), gi(r, (t, n) => {
|
|
3133
|
+
let i = G(r, n);
|
|
3134
|
+
i && (t.disabled = i._f.disabled || e, Array.isArray(i._f.refs) && i._f.refs.forEach((t) => {
|
|
3135
|
+
t.disabled = i._f.disabled || e;
|
|
3136
|
+
}));
|
|
3137
|
+
}, 0, !1));
|
|
3138
|
+
}, Te = (e, i) => async (o) => {
|
|
3139
|
+
let c, l;
|
|
3140
|
+
o && (o.preventDefault && o.preventDefault(), o.persist && o.persist());
|
|
3141
|
+
let u = V(a);
|
|
3142
|
+
if (g.state.next({ isSubmitting: !0 }), t.resolver) {
|
|
3143
|
+
let { errors: e, values: t } = await A();
|
|
3144
|
+
x(), n.errors = e, u = V(t);
|
|
3145
|
+
} else await re({
|
|
3146
|
+
fields: r,
|
|
3147
|
+
eventType: qr.SUBMIT
|
|
3148
|
+
});
|
|
3149
|
+
if (s.disabled.size) for (let e of s.disabled) $(u, e);
|
|
3150
|
+
if ($(n.errors, Jr), Z(n.errors)) {
|
|
3151
|
+
g.state.next({ errors: {} });
|
|
3152
|
+
try {
|
|
3153
|
+
c = await e(u, o);
|
|
3154
|
+
} catch (e) {
|
|
3155
|
+
l = e;
|
|
3156
|
+
}
|
|
3157
|
+
} else i && await i({ ...n.errors }, o), Ce(), setTimeout(Ce);
|
|
3158
|
+
if (g.state.next({
|
|
3159
|
+
isSubmitted: !0,
|
|
3160
|
+
isSubmitting: !1,
|
|
3161
|
+
isSubmitSuccessful: Z(n.errors) && !l,
|
|
3162
|
+
submitCount: n.submitCount + 1,
|
|
3163
|
+
errors: n.errors
|
|
3164
|
+
}), l) throw l;
|
|
3165
|
+
return c;
|
|
3166
|
+
}, Ee = (e, t = {}) => {
|
|
3167
|
+
G(r, e) && (W(t.defaultValue) ? M(e, V(G(i, e))) : (M(e, t.defaultValue), J(i, e, V(t.defaultValue))), t.keepTouched || $(n.touchedFields, e), t.keepDirty || ($(n.dirtyFields, e), n.isDirty = t.defaultValue ? j(e, V(G(i, e))) : j()), t.keepError || ($(n.errors, e), m.isValid && b()), g.state.next({ ...n }));
|
|
3168
|
+
}, De = (e, c = {}) => {
|
|
3169
|
+
let l = e ? V(e) : i, u = V(l), d = Z(e), f = u, p = r;
|
|
3170
|
+
if (c.keepDefaultValues || (i = l), !c.keepValues) {
|
|
3171
|
+
if (c.keepDirtyValues) {
|
|
3172
|
+
let e = /* @__PURE__ */ new Set([...s.mount, ...Zi(ia(i, a, void 0, p), n.dirtyFields)]);
|
|
3173
|
+
for (let t of Array.from(e)) {
|
|
3174
|
+
let e = G(n.dirtyFields, t), r = G(a, t), i = G(f, t);
|
|
3175
|
+
e && !W(r) ? J(f, t, r) : !e && !W(i) && M(t, i);
|
|
3176
|
+
}
|
|
3177
|
+
} else {
|
|
3178
|
+
if (Kr && W(e)) for (let e of s.mount) {
|
|
3179
|
+
let t = G(r, e);
|
|
3180
|
+
if (t && t._f) {
|
|
3181
|
+
let e = Array.isArray(t._f.refs) ? t._f.refs[0] : t._f.ref;
|
|
3182
|
+
if (vi(e)) {
|
|
3183
|
+
let t = e.closest("form");
|
|
3184
|
+
if (t) {
|
|
3185
|
+
t.reset();
|
|
3186
|
+
break;
|
|
3187
|
+
}
|
|
3188
|
+
}
|
|
3189
|
+
}
|
|
3190
|
+
}
|
|
3191
|
+
if (c.keepFieldsRef) for (let e of s.mount) M(e, G(f, e));
|
|
3192
|
+
else r = {};
|
|
3193
|
+
}
|
|
3194
|
+
if (t.shouldUnregister) {
|
|
3195
|
+
if (a = c.keepDefaultValues ? V(i) : {}, c.keepFieldsRef) for (let e of s.mount) J(a, e, G(f, e));
|
|
3196
|
+
} else a = V(f);
|
|
3197
|
+
g.array.next({ values: { ...f } }), g.state.next({
|
|
3198
|
+
name: void 0,
|
|
3199
|
+
type: void 0,
|
|
3200
|
+
values: { ...f }
|
|
3201
|
+
});
|
|
3202
|
+
}
|
|
3203
|
+
s = {
|
|
3204
|
+
mount: c.keepDirtyValues ? s.mount : /* @__PURE__ */ new Set(),
|
|
3205
|
+
unMount: /* @__PURE__ */ new Set(),
|
|
3206
|
+
array: /* @__PURE__ */ new Set(),
|
|
3207
|
+
registerName: /* @__PURE__ */ new Set(),
|
|
3208
|
+
disabled: /* @__PURE__ */ new Set(),
|
|
3209
|
+
watch: /* @__PURE__ */ new Set(),
|
|
3210
|
+
watchAll: !1,
|
|
3211
|
+
focus: ""
|
|
3212
|
+
}, o.mount = !m.isValid || !!c.keepIsValid || !!c.keepDirtyValues || !t.shouldUnregister && !Z(f), o.watch = !!t.shouldUnregister, o.keepIsValid = !!c.keepIsValid, o.action = !1, o.actionArrayLengths.clear(), c.keepErrors || (n.errors = {}), g.state.next({
|
|
3213
|
+
submitCount: c.keepSubmitCount ? n.submitCount : 0,
|
|
3214
|
+
isDirty: d ? !1 : c.keepDirty ? n.isDirty : c.keepValues ? j() : !!(c.keepDefaultValues && !Y(e, i)),
|
|
3215
|
+
isSubmitted: c.keepIsSubmitted ? n.isSubmitted : !1,
|
|
3216
|
+
dirtyFields: d ? {} : c.keepDirtyValues ? c.keepDefaultValues && a ? ia(i, a, void 0, p) : n.dirtyFields : c.keepDefaultValues && e ? ia(i, e, void 0, p) : c.keepDirty ? n.dirtyFields : {},
|
|
3217
|
+
touchedFields: c.keepTouched ? n.touchedFields : {},
|
|
3218
|
+
errors: c.keepErrors ? n.errors : {},
|
|
3219
|
+
isSubmitSuccessful: c.keepIsSubmitSuccessful ? n.isSubmitSuccessful : !1,
|
|
3220
|
+
isSubmitting: !1,
|
|
3221
|
+
defaultValues: i
|
|
3222
|
+
});
|
|
3223
|
+
}, Oe = (e, n) => De(q(e) ? e(a) : e, {
|
|
3224
|
+
...t.resetOptions,
|
|
3225
|
+
...n
|
|
3226
|
+
}), ke = (e, t = {}) => {
|
|
3227
|
+
let n = G(r, e), i = n && n._f;
|
|
3228
|
+
if (i) {
|
|
3229
|
+
let e = i.refs ? i.refs[0] : i.ref;
|
|
3230
|
+
e.focus && setTimeout(() => {
|
|
3231
|
+
e.focus(), t.shouldSelect && q(e.select) && e.select();
|
|
3232
|
+
});
|
|
3233
|
+
}
|
|
3234
|
+
}, Ae = (e) => {
|
|
3235
|
+
let { name: t, type: r, values: i, ...a } = e;
|
|
3236
|
+
n = {
|
|
3237
|
+
...n,
|
|
3238
|
+
...a
|
|
3239
|
+
};
|
|
3240
|
+
};
|
|
3241
|
+
g.state.subscribe({ next: Ae });
|
|
3242
|
+
let je = {
|
|
3243
|
+
control: {
|
|
3244
|
+
register: Se,
|
|
3245
|
+
unregister: be,
|
|
3246
|
+
getFieldState: he,
|
|
3247
|
+
handleSubmit: Te,
|
|
3248
|
+
setError: _e,
|
|
3249
|
+
_subscribe: ye,
|
|
3250
|
+
_runSchema: A,
|
|
3251
|
+
_updateIsValidating: x,
|
|
3252
|
+
_focusError: Ce,
|
|
3253
|
+
_getWatch: ae,
|
|
3254
|
+
_getDirty: j,
|
|
3255
|
+
_setValid: b,
|
|
3256
|
+
_setFieldArray: C,
|
|
3257
|
+
_setDisabledField: xe,
|
|
3258
|
+
_setErrors: T,
|
|
3259
|
+
_getFieldArray: oe,
|
|
3260
|
+
_reset: De,
|
|
3261
|
+
_resetDefaultValues: () => q(t.defaultValues) && t.defaultValues().then((e) => {
|
|
3262
|
+
Oe(e, t.resetOptions), g.state.next({ isLoading: !1 });
|
|
3263
|
+
}),
|
|
3264
|
+
_removeUnmounted: ie,
|
|
3265
|
+
_disableForm: we,
|
|
3266
|
+
_subjects: g,
|
|
3267
|
+
_proxyFormState: m,
|
|
3268
|
+
get _fields() {
|
|
3269
|
+
return r;
|
|
3270
|
+
},
|
|
3271
|
+
get _formValues() {
|
|
3272
|
+
return a;
|
|
3273
|
+
},
|
|
3274
|
+
get _state() {
|
|
3275
|
+
return o;
|
|
3276
|
+
},
|
|
3277
|
+
set _state(e) {
|
|
3278
|
+
o = e;
|
|
3279
|
+
},
|
|
3280
|
+
get _defaultValues() {
|
|
3281
|
+
return i;
|
|
3282
|
+
},
|
|
3283
|
+
get _names() {
|
|
3284
|
+
return s;
|
|
3285
|
+
},
|
|
3286
|
+
set _names(e) {
|
|
3287
|
+
s = e;
|
|
3288
|
+
},
|
|
3289
|
+
get _formState() {
|
|
3290
|
+
return n;
|
|
3291
|
+
},
|
|
3292
|
+
get _options() {
|
|
3293
|
+
return t;
|
|
3294
|
+
},
|
|
3295
|
+
set _options(e) {
|
|
3296
|
+
t = {
|
|
3297
|
+
...t,
|
|
3298
|
+
...e
|
|
3299
|
+
}, d = mi(t.mode), f = mi(t.reValidateMode);
|
|
3300
|
+
}
|
|
3301
|
+
},
|
|
3302
|
+
subscribe: N,
|
|
3303
|
+
trigger: pe,
|
|
3304
|
+
register: Se,
|
|
3305
|
+
handleSubmit: Te,
|
|
3306
|
+
watch: ve,
|
|
3307
|
+
setValue: M,
|
|
3308
|
+
setValues: ue,
|
|
3309
|
+
getValues: me,
|
|
3310
|
+
reset: Oe,
|
|
3311
|
+
resetField: Ee,
|
|
3312
|
+
resetDefaultValues: (e, t = {}) => {
|
|
3313
|
+
if (i = V(e), !t.keepDirty) {
|
|
3314
|
+
let e = ia(i, a, void 0, r);
|
|
3315
|
+
n.dirtyFields = e, n.isDirty = !Z(e);
|
|
3316
|
+
}
|
|
3317
|
+
t.keepIsValid || b(), g.state.next({
|
|
3318
|
+
...n,
|
|
3319
|
+
defaultValues: i
|
|
3320
|
+
});
|
|
3321
|
+
},
|
|
3322
|
+
clearErrors: ge,
|
|
3323
|
+
unregister: be,
|
|
3324
|
+
setError: _e,
|
|
3325
|
+
setFocus: ke,
|
|
3326
|
+
getFieldState: he
|
|
3327
|
+
};
|
|
3328
|
+
return {
|
|
3329
|
+
...je,
|
|
3330
|
+
formControl: je
|
|
3331
|
+
};
|
|
3332
|
+
}
|
|
3333
|
+
function Sa(e = {}) {
|
|
3334
|
+
let t = A.useRef(void 0), n = A.useRef(void 0), r = A.useRef(e.formControl), [i, a] = A.useState(() => ({
|
|
3335
|
+
...V(ba),
|
|
3336
|
+
isLoading: q(e.defaultValues),
|
|
3337
|
+
errors: e.errors || {},
|
|
3338
|
+
disabled: e.disabled || !1,
|
|
3339
|
+
defaultValues: q(e.defaultValues) ? void 0 : e.defaultValues
|
|
3340
|
+
}));
|
|
3341
|
+
if (!t.current || e.formControl && r.current !== e.formControl) if (r.current = e.formControl, e.formControl) t.current = {
|
|
3342
|
+
...e.formControl,
|
|
3343
|
+
formState: i
|
|
3344
|
+
}, e.defaultValues && !q(e.defaultValues) && e.formControl.reset(e.defaultValues, e.resetOptions);
|
|
3345
|
+
else {
|
|
3346
|
+
let { formControl: n, ...r } = xa(e);
|
|
3347
|
+
t.current = {
|
|
3348
|
+
...r,
|
|
3349
|
+
formState: i
|
|
3350
|
+
};
|
|
3351
|
+
}
|
|
3352
|
+
let o = t.current.control;
|
|
3353
|
+
o._options = e;
|
|
3354
|
+
let { resyncIfNeeded: s, snapshot: c } = oi();
|
|
3355
|
+
return ri(() => {
|
|
3356
|
+
let e = () => ({
|
|
3357
|
+
...o._formState,
|
|
3358
|
+
defaultValues: o._defaultValues
|
|
3359
|
+
});
|
|
3360
|
+
s(!0, e, a);
|
|
3361
|
+
let t = o._subscribe({
|
|
3362
|
+
formState: o._proxyFormState,
|
|
3363
|
+
callback: () => a({
|
|
3364
|
+
...o._formState,
|
|
3365
|
+
defaultValues: o._defaultValues
|
|
3366
|
+
}),
|
|
3367
|
+
reRenderRoot: !0
|
|
3368
|
+
});
|
|
3369
|
+
return a((e) => ({
|
|
3370
|
+
...e,
|
|
3371
|
+
isReady: !0
|
|
3372
|
+
})), o._formState.isReady = !0, () => {
|
|
3373
|
+
t(), c(!0, e);
|
|
3374
|
+
};
|
|
3375
|
+
}, [
|
|
3376
|
+
o,
|
|
3377
|
+
s,
|
|
3378
|
+
c
|
|
3379
|
+
]), A.useEffect(() => o._disableForm(e.disabled), [o, e.disabled]), A.useEffect(() => {
|
|
3380
|
+
e.mode && (o._options.mode = e.mode), e.reValidateMode && (o._options.reValidateMode = e.reValidateMode);
|
|
3381
|
+
}, [
|
|
3382
|
+
o,
|
|
3383
|
+
e.mode,
|
|
3384
|
+
e.reValidateMode
|
|
3385
|
+
]), A.useEffect(() => {
|
|
3386
|
+
e.errors && (o._setErrors(e.errors), o._focusError());
|
|
3387
|
+
}, [o, e.errors]), A.useEffect(() => {
|
|
3388
|
+
e.shouldUnregister && o._subjects.state.next({ values: o._getWatch() });
|
|
3389
|
+
}, [o, e.shouldUnregister]), A.useEffect(() => {
|
|
3390
|
+
if (o._proxyFormState.isDirty) {
|
|
3391
|
+
let e = o._getDirty();
|
|
3392
|
+
e !== i.isDirty && o._subjects.state.next({ isDirty: e });
|
|
3393
|
+
}
|
|
3394
|
+
}, [o, i.isDirty]), A.useEffect(() => {
|
|
3395
|
+
e.values && !Y(e.values, n.current) ? (o._reset(e.values, {
|
|
3396
|
+
keepFieldsRef: !0,
|
|
3397
|
+
...o._options.resetOptions
|
|
3398
|
+
}), o._options.resetOptions?.keepIsValid || o._setValid(), n.current = e.values, a((e) => ({ ...e }))) : o._resetDefaultValues();
|
|
3399
|
+
}, [o, e.values]), A.useEffect(() => {
|
|
3400
|
+
o._state.mount || (o._setValid(), o._state.mount = !0), o._state.watch && (o._state.watch = !1, o._subjects.state.next({ ...o._formState })), o._removeUnmounted();
|
|
3401
|
+
}), t.current.formState = A.useMemo(() => ni(i, o), [o, i]), t.current;
|
|
3402
|
+
}
|
|
3403
|
+
//#endregion
|
|
3404
|
+
//#region lib/components/ui/forms/field-blur-layers.ts
|
|
3405
|
+
function Ca(e) {
|
|
3406
|
+
let t = e.ownerDocument?.body, n = e;
|
|
3407
|
+
for (; n?.parentNode && n.parentNode !== t;) n = n.parentNode;
|
|
3408
|
+
return n?.parentNode === t ? n : null;
|
|
3409
|
+
}
|
|
3410
|
+
function wa(e, t, n, r = /* @__PURE__ */ new Set()) {
|
|
3411
|
+
let i = n.ownerDocument;
|
|
3412
|
+
if (!i) return null;
|
|
3413
|
+
r.add(n);
|
|
3414
|
+
let a = null;
|
|
3415
|
+
for (let o of i.querySelectorAll("[aria-controls], [aria-owns]")) if (!(n.contains(o) || !Ea(o, n))) {
|
|
3416
|
+
if (Ta(e, t, o, r)) return "ours";
|
|
3417
|
+
a = "theirs";
|
|
3418
|
+
}
|
|
3419
|
+
return a;
|
|
3420
|
+
}
|
|
3421
|
+
function Ta(e, t, n, r) {
|
|
3422
|
+
if (e.some((e) => e.contains(n))) return !0;
|
|
3423
|
+
let i = Ca(n);
|
|
3424
|
+
return i === null ? !1 : t.opened.has(i) ? !0 : t.before.has(i) || t.home.has(i) || r.has(i) ? !1 : wa(e, t, i, r) !== "theirs";
|
|
3425
|
+
}
|
|
3426
|
+
function Ea(e, t) {
|
|
3427
|
+
let n = t.ownerDocument;
|
|
3428
|
+
return `${e.getAttribute("aria-controls") ?? ""} ${e.getAttribute("aria-owns") ?? ""}`.split(/\s+/).some((e) => {
|
|
3429
|
+
let r = e && n?.getElementById(e);
|
|
3430
|
+
return !!(r && t.contains(r));
|
|
3431
|
+
});
|
|
3432
|
+
}
|
|
3433
|
+
//#endregion
|
|
3434
|
+
//#region lib/components/ui/forms/use-field-blur.ts
|
|
3435
|
+
var Da = typeof document > "u" ? null : document, Oa = {
|
|
3436
|
+
capture: !0,
|
|
3437
|
+
passive: !0
|
|
3438
|
+
};
|
|
3439
|
+
function ka(e, t) {
|
|
3440
|
+
for (let t of e.roots) t.isConnected || e.roots.delete(t);
|
|
3441
|
+
let n = [...e.roots];
|
|
3442
|
+
if (!n.length) return !1;
|
|
3443
|
+
if (n.some((e) => e.contains(t))) return e.inside || (e.before = new Set(t.ownerDocument?.body.childNodes ?? []), e.home = new Set(n.map(Ca)), e.opened = /* @__PURE__ */ new Set()), e.inside = !0, !1;
|
|
3444
|
+
if (!e.inside) return !1;
|
|
3445
|
+
let r = Ca(t);
|
|
3446
|
+
if (e.home.has(r)) return !0;
|
|
3447
|
+
if (!r || e.opened.has(r)) return !1;
|
|
3448
|
+
let i = wa(n, e, r);
|
|
3449
|
+
return i === "theirs" || !i && e.before.has(r) ? !0 : (e.opened.add(r), !1);
|
|
3450
|
+
}
|
|
3451
|
+
function Aa(e) {
|
|
3452
|
+
let t = lr(e), n = se({
|
|
3453
|
+
roots: /* @__PURE__ */ new Set(),
|
|
3454
|
+
inside: !1,
|
|
3455
|
+
before: /* @__PURE__ */ new Set(),
|
|
3456
|
+
home: /* @__PURE__ */ new Set(),
|
|
3457
|
+
opened: /* @__PURE__ */ new Set()
|
|
3458
|
+
}).current, r = ie((e) => {
|
|
3459
|
+
if (e) return n.roots.add(e), () => {
|
|
3460
|
+
n.roots.delete(e);
|
|
3461
|
+
};
|
|
3462
|
+
}, [n]), i = ie(() => {
|
|
3463
|
+
n.inside = !1, t.current();
|
|
3464
|
+
}, [n, t]), a = ie((e) => {
|
|
3465
|
+
let t = e.target;
|
|
3466
|
+
t instanceof Node && (clearTimeout(n.settle), ka(n, t) && i());
|
|
3467
|
+
}, [n, i]), o = ie((e) => {
|
|
3468
|
+
!n.inside || e.relatedTarget || (clearTimeout(n.settle), n.settle = setTimeout(() => {
|
|
3469
|
+
n.settle = setTimeout(() => {
|
|
3470
|
+
let e = Da?.activeElement;
|
|
3471
|
+
n.inside && (!e || e === Da?.body) && i();
|
|
3472
|
+
});
|
|
3473
|
+
}));
|
|
3474
|
+
}, [n, i]);
|
|
3475
|
+
return cr("focusin", a, Da, Oa), cr("focusout", o, Da, Oa), j(() => () => clearTimeout(n.settle), [n]), r;
|
|
3476
|
+
}
|
|
3477
|
+
//#endregion
|
|
3478
|
+
//#region lib/components/ui/forms/field-blur.tsx
|
|
3479
|
+
function ja({ onBlur: e, children: t }) {
|
|
3480
|
+
return /* @__PURE__ */ D(fr, {
|
|
3481
|
+
value: Aa(e),
|
|
3482
|
+
children: t
|
|
3483
|
+
});
|
|
3484
|
+
}
|
|
3485
|
+
//#endregion
|
|
3486
|
+
export { Qt as $, yr as A, rr as B, Er as C, Sr as D, Cr as E, dr as F, en as G, er as H, ur as I, bn as J, Sn as K, cr as L, hr as M, mr as N, xr as O, pr as P, nn as Q, ir as R, Or as S, Tr as T, Qn as U, nr as V, Zn as W, sn as X, ln as Y, vn as Z, Dr as _, J as a, Mr as b, Sa as c, Lr as d, Jt as et, zr as f, wr as g, Fr as h, G as i, gr as j, br as k, si as l, Ir as m, Aa as n, ke as nt, ui as o, Rr as p, pn as q, di as r, pe as rt, Hi as s, ja as t, zt as tt, li as u, Ar as v, Nr as w, jr as x, Pr as y, tr as z };
|