themelia-react-ui 2.0.6 → 3.0.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/CHANGELOG.md +250 -0
- package/MIGRATION.md +746 -7
- package/README.md +27 -23
- package/dist/{accordion-0tQUZ20r.js → accordion-DNVqwEIC.js} +36 -36
- package/dist/accordion-DNVqwEIC.js.map +1 -0
- package/dist/action-menu-D5343RwT.js +286 -0
- package/dist/action-menu-D5343RwT.js.map +1 -0
- package/dist/ai-artifact-otrz9ZwS.js +1214 -0
- package/dist/ai-artifact-otrz9ZwS.js.map +1 -0
- package/dist/anchored-positioning-1U_eBFNx.js +9 -0
- package/dist/anchored-positioning-1U_eBFNx.js.map +1 -0
- package/dist/app-shell-CPN30Nb1.js +372 -0
- package/dist/app-shell-CPN30Nb1.js.map +1 -0
- package/dist/{attachment-BCpA4e7i.js → attachment-D2-fpfmv.js} +15 -15
- package/dist/{attachment-BCpA4e7i.js.map → attachment-D2-fpfmv.js.map} +1 -1
- package/dist/{auth-B0girIk_.js → auth-g_oUTDDC.js} +234 -241
- package/dist/auth-g_oUTDDC.js.map +1 -0
- package/dist/{avatar-B9Jnp-T-.js → avatar-Ca3Ihrq4.js} +4 -4
- package/dist/{avatar-B9Jnp-T-.js.map → avatar-Ca3Ihrq4.js.map} +1 -1
- package/dist/{badge-wWauMgAt.js → badge-oGiXblW7.js} +8 -9
- package/dist/badge-oGiXblW7.js.map +1 -0
- package/dist/base/accordion.js +1 -1
- package/dist/base/action-menu.js +1 -1
- package/dist/base/attachment.js +1 -1
- package/dist/base/avatar.js +1 -1
- package/dist/base/badge.js +1 -1
- package/dist/base/batch-action-bar.js +1 -1
- package/dist/base/buttons.js +2 -2
- package/dist/base/cards.js +3 -3
- package/dist/base/carousel.js +11 -11
- package/dist/base/carousel.js.map +1 -1
- package/dist/base/cascader.js +1 -1
- package/dist/base/chart.js +1 -1
- package/dist/base/choice-inputs.js +2 -2
- package/dist/base/code-block.js +1 -1
- package/dist/base/combobox.js +1 -1
- package/dist/base/command.js +1 -1
- package/dist/base/copyable.js +1 -1
- package/dist/base/date-pickers.js +2 -2
- package/dist/base/display.js +7 -7
- package/dist/base/feedback.js +4 -4
- package/dist/base/forms-numeric.js +2 -2
- package/dist/base/forms.js +2 -2
- package/dist/base/inline-edit.js +13 -13
- package/dist/base/inline-edit.js.map +1 -1
- package/dist/base/item.js +1 -1
- package/dist/base/media-gallery.js +203 -2
- package/dist/base/media-gallery.js.map +1 -0
- package/dist/base/metadata-list.js +1 -1
- package/dist/base/navigation.js +7 -7
- package/dist/base/popover-menu.js +1 -1
- package/dist/base/popover.js +1 -1
- package/dist/base/qr-code.js +32 -22
- package/dist/base/qr-code.js.map +1 -1
- package/dist/base/repeaters.js +91 -88
- package/dist/base/repeaters.js.map +1 -1
- package/dist/base/sidebar.js +2 -2
- package/dist/base/signature-pad.js +14 -14
- package/dist/base/signature-pad.js.map +1 -1
- package/dist/base/skeleton.js +1 -1
- package/dist/base/spinner.js +6 -12
- package/dist/base/spinner.js.map +1 -1
- package/dist/base/structure.js +1 -1
- package/dist/base/table.js +1 -1
- package/dist/base/text-inputs.js +3 -3
- package/dist/base/toaster.js +2 -2
- package/dist/base/tree.js +2 -2
- package/dist/base/upload-queue.js +303 -2
- package/dist/base/upload-queue.js.map +1 -0
- package/dist/base/upload.js +3 -4
- package/dist/base/value-inputs.js +1 -1
- package/dist/{batch-action-bar-BoqWIIpV.js → batch-action-bar-D6MZQNnC.js} +10 -10
- package/dist/{batch-action-bar-BoqWIIpV.js.map → batch-action-bar-D6MZQNnC.js.map} +1 -1
- package/dist/blocks/admin.js +242 -228
- package/dist/blocks/admin.js.map +1 -1
- package/dist/blocks/ai.js +395 -357
- package/dist/blocks/ai.js.map +1 -1
- package/dist/blocks/analytics/charts.js +1022 -0
- package/dist/blocks/analytics/charts.js.map +1 -0
- package/dist/blocks/analytics/usage-card.js +1 -1
- package/dist/blocks/analytics.js +171 -1365
- package/dist/blocks/analytics.js.map +1 -1
- package/dist/blocks/collaboration.js +1 -1
- package/dist/blocks/commerce/receipt.js +1 -1
- package/dist/blocks/commerce.js +1487 -1358
- package/dist/blocks/commerce.js.map +1 -1
- package/dist/blocks/data-display.js +2 -3
- package/dist/blocks/onboarding.js +91 -82
- package/dist/blocks/onboarding.js.map +1 -1
- package/dist/blocks/planning.js +25 -25
- package/dist/blocks/planning.js.map +1 -1
- package/dist/blocks/timelines.js +2 -2
- package/dist/{breadcrumbs-Bp9Ke7kd.js → breadcrumbs-CQ9JSlez.js} +52 -45
- package/dist/breadcrumbs-CQ9JSlez.js.map +1 -0
- package/dist/{button-ChBovTx0.js → button-rd6FiHfQ.js} +12 -8
- package/dist/button-rd6FiHfQ.js.map +1 -0
- package/dist/{buttons-DeW0bQeK.js → buttons-pZVgPTZn.js} +230 -246
- package/dist/buttons-pZVgPTZn.js.map +1 -0
- package/dist/{cards-CNXnmvV5.js → cards-CgWyqvgZ.js} +25 -22
- package/dist/{cards-CNXnmvV5.js.map → cards-CgWyqvgZ.js.map} +1 -1
- package/dist/cascader-Cf05pwaq.js +444 -0
- package/dist/cascader-Cf05pwaq.js.map +1 -0
- package/dist/{chart-I7ROnsl8.js → chart-CygRCyIZ.js} +5 -5
- package/dist/{chart-I7ROnsl8.js.map → chart-CygRCyIZ.js.map} +1 -1
- package/dist/{checkbox-MoyHIAPs.js → checkbox-Dy5_XBMZ.js} +4 -4
- package/dist/{checkbox-MoyHIAPs.js.map → checkbox-Dy5_XBMZ.js.map} +1 -1
- package/dist/{choice-inputs-DHGtx0QV.js → choice-inputs-oJEsrb5Y.js} +113 -114
- package/dist/choice-inputs-oJEsrb5Y.js.map +1 -0
- package/dist/{code-block-BSJyq9e-.js → code-block-BrLD7mCi.js} +44 -60
- package/dist/code-block-BrLD7mCi.js.map +1 -0
- package/dist/collapsible-CRCCg_bO.js +80 -0
- package/dist/collapsible-CRCCg_bO.js.map +1 -0
- package/dist/{collection-content-CSnwtOTH.js → collection-content-D7SoDlYd.js} +3 -3
- package/dist/{collection-content-CSnwtOTH.js.map → collection-content-D7SoDlYd.js.map} +1 -1
- package/dist/combobox-Dl6f6kHz.js +362 -0
- package/dist/combobox-Dl6f6kHz.js.map +1 -0
- package/dist/combobox-DrDXtSSt.js +929 -0
- package/dist/combobox-DrDXtSSt.js.map +1 -0
- package/dist/command-CjZ2VzKC.js +432 -0
- package/dist/command-CjZ2VzKC.js.map +1 -0
- package/dist/comments-C2MZyRmh.js +1214 -0
- package/dist/comments-C2MZyRmh.js.map +1 -0
- package/dist/components/base/accordion/accordion.d.ts +11 -3
- package/dist/components/base/action-menu/action-menu.d.ts +11 -3
- package/dist/components/base/buttons/button.d.ts +2 -2
- package/dist/components/base/buttons/index.d.ts +1 -1
- package/dist/components/base/buttons/loader-button.d.ts +6 -15
- package/dist/components/base/cards/index.d.ts +1 -1
- package/dist/components/base/cards/partials/card-body-context.d.ts +6 -0
- package/dist/components/base/cards/smart-card.d.ts +0 -2
- package/dist/components/base/cards/smart-card.types.d.ts +12 -10
- package/dist/components/base/cascader/cascader.d.ts +8 -2
- package/dist/components/base/cascader/cascader.types.d.ts +24 -2
- package/dist/components/base/cascader/index.d.ts +1 -1
- package/dist/components/base/choice-inputs/switch.d.ts +1 -1
- package/dist/components/base/code-block/use-code-copy.d.ts +2 -6
- package/dist/components/base/command/command.d.ts +1 -1
- package/dist/components/base/date-pickers/datepicker.types.d.ts +1 -3
- package/dist/components/base/display/dialog.d.ts +3 -9
- package/dist/components/base/display/index.d.ts +2 -3
- package/dist/components/base/display/separator.d.ts +1 -1
- package/dist/components/base/feedback/alert.d.ts +2 -1
- package/dist/components/base/feedback/empty.d.ts +10 -2
- package/dist/components/base/forms/workflow.d.ts +2 -2
- package/dist/components/base/forms-numeric/dimensions-input.d.ts +9 -17
- package/dist/components/base/forms-numeric/index.d.ts +3 -3
- package/dist/components/base/item/item.types.d.ts +6 -2
- package/dist/components/base/metadata-list/index.d.ts +1 -3
- package/dist/components/base/metadata-list/metadata-list.d.ts +4 -1
- package/dist/components/base/navigation/index.d.ts +2 -2
- package/dist/components/base/navigation/language-switcher.d.ts +7 -6
- package/dist/components/base/navigation/navigation-tabs.d.ts +8 -1
- package/dist/components/base/navigation/page-header/index.d.ts +1 -1
- package/dist/components/base/navigation/page-header/page-header.d.ts +13 -17
- package/dist/components/base/navigation/pagination.d.ts +5 -5
- package/dist/components/base/popover/popover.recipes.d.ts +0 -1
- package/dist/components/base/qr-code/qr-code.d.ts +4 -0
- package/dist/components/base/repeaters/index.d.ts +1 -1
- package/dist/components/base/repeaters/key-value-editor.d.ts +4 -0
- package/dist/components/base/sheet/sheet.d.ts +6 -15
- package/dist/components/base/sidebar/index.d.ts +1 -6
- package/dist/components/base/sidebar/sidebar.d.ts +38 -10
- package/dist/components/base/skeleton/skeleton.d.ts +1 -1
- package/dist/components/base/structure/structure.types.d.ts +11 -2
- package/dist/components/base/text-inputs/index.d.ts +1 -1
- package/dist/components/base/tree/index.d.ts +1 -0
- package/dist/components/base/tree/tree.d.ts +2 -2
- package/dist/components/base/tree/tree.types.d.ts +7 -1
- package/dist/components/base/upload/file-upload.validation.d.ts +37 -1
- package/dist/components/base/upload/image-upload.d.ts +2 -0
- package/dist/components/base/upload/index.d.ts +3 -9
- package/dist/components/base/value-inputs/date-time-input.d.ts +4 -0
- package/dist/components/base/value-inputs/slider.d.ts +5 -2
- package/dist/components/blocks/admin/action-surfaces/index.d.ts +17 -4
- package/dist/components/blocks/admin/api-key-list/api-key-list.types.d.ts +9 -3
- package/dist/components/blocks/admin/index.d.ts +1 -1
- package/dist/components/blocks/ai/ai-artifact/ai-artifact.d.ts +1 -1
- package/dist/components/blocks/ai/ai-artifact/types.d.ts +9 -4
- package/dist/components/blocks/ai/ai-chain-of-thought/ai-chain-of-thought.d.ts +1 -1
- package/dist/components/blocks/ai/ai-chain-of-thought/types.d.ts +11 -1
- package/dist/components/blocks/ai/ai-citation/ai-citation.d.ts +1 -1
- package/dist/components/blocks/ai/ai-citation/types.d.ts +6 -0
- package/dist/components/blocks/ai/ai-confirmation/ai-confirmation.d.ts +1 -1
- package/dist/components/blocks/ai/ai-confirmation/types.d.ts +21 -5
- package/dist/components/blocks/ai/ai-feedback/types.d.ts +7 -2
- package/dist/components/blocks/ai/ai-inline-citation/types.d.ts +9 -3
- package/dist/components/blocks/ai/ai-package-info/ai-package-info.d.ts +1 -1
- package/dist/components/blocks/ai/ai-package-info/types.d.ts +6 -0
- package/dist/components/blocks/ai/ai-sources/ai-sources.d.ts +1 -1
- package/dist/components/blocks/ai/ai-sources/types.d.ts +8 -2
- package/dist/components/blocks/ai/ai-task/ai-task.d.ts +1 -1
- package/dist/components/blocks/ai/ai-task/types.d.ts +10 -1
- package/dist/components/blocks/ai/ai-tool-call/ai-tool-call.d.ts +1 -1
- package/dist/components/blocks/ai/ai-tool-call/types.d.ts +6 -0
- package/dist/components/blocks/ai/ai.strings.d.ts +2 -0
- package/dist/components/blocks/analytics/activity-heatmap/types.d.ts +1 -1
- package/dist/components/blocks/analytics/analytics.strings.d.ts +2 -0
- package/dist/components/blocks/analytics/atoms/metric-trend-chip.d.ts +11 -1
- package/dist/components/blocks/analytics/chart-card/chart-card.d.ts +7 -5
- package/dist/components/blocks/analytics/charts/index.d.ts +27 -0
- package/dist/components/blocks/analytics/index.d.ts +17 -24
- package/dist/components/blocks/analytics/metric/metric.d.ts +5 -5
- package/dist/components/blocks/analytics/metric-grid/metric-grid.d.ts +2 -2
- package/dist/components/blocks/analytics/types.d.ts +12 -3
- package/dist/components/blocks/analytics/usage-card/usage-card.strings.d.ts +2 -0
- package/dist/components/blocks/commerce/address-card/address-card.d.ts +1 -1
- package/dist/components/blocks/commerce/address-card/types.d.ts +5 -16
- package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.d.ts +2 -2
- package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.types.d.ts +6 -4
- package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +0 -2
- package/dist/components/blocks/commerce/cart-summary/index.d.ts +2 -2
- package/dist/components/blocks/commerce/cart-summary/types.d.ts +9 -11
- package/dist/components/blocks/commerce/coupon-input/coupon-input.d.ts +1 -1
- package/dist/components/blocks/commerce/coupon-input/types.d.ts +7 -3
- package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +0 -2
- package/dist/components/blocks/commerce/discount-stack/index.d.ts +2 -2
- package/dist/components/blocks/commerce/discount-stack/types.d.ts +4 -6
- package/dist/components/blocks/commerce/fulfillment-group/fulfillment-group.d.ts +1 -1
- package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +2 -0
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-balance.d.ts +18 -0
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-compact.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-copy-button.d.ts +0 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-dark.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-full.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-illustrated.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-minimal.d.ts +1 -1
- package/dist/components/blocks/commerce/giftcard-card/types.d.ts +16 -5
- package/dist/components/blocks/commerce/index.d.ts +8 -8
- package/dist/components/blocks/commerce/inventory-level/inventory-level.strings.d.ts +2 -0
- package/dist/components/blocks/commerce/inventory-level/types.d.ts +1 -1
- package/dist/components/blocks/commerce/inventory-section/types.d.ts +0 -5
- package/dist/components/blocks/commerce/invoice-line-items/types.d.ts +6 -3
- package/dist/components/blocks/commerce/loyalty-points/loyalty-points.d.ts +1 -1
- package/dist/components/blocks/commerce/loyalty-points/types.d.ts +11 -5
- package/dist/components/blocks/commerce/order-status/order-status.d.ts +1 -1
- package/dist/components/blocks/commerce/order-status/types.d.ts +8 -8
- package/dist/components/blocks/commerce/order-timeline/order-timeline.d.ts +1 -1
- package/dist/components/blocks/commerce/order-timeline/types.d.ts +3 -1
- package/dist/components/blocks/commerce/payment-method/index.d.ts +2 -2
- package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +0 -8
- package/dist/components/blocks/commerce/payment-method/types.d.ts +0 -2
- package/dist/components/blocks/commerce/receipt/index.d.ts +1 -1
- package/dist/components/blocks/commerce/receipt/receipt-items.d.ts +1 -1
- package/dist/components/blocks/commerce/receipt/types.d.ts +10 -0
- package/dist/components/blocks/commerce/refund-status/index.d.ts +2 -2
- package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +0 -2
- package/dist/components/blocks/commerce/refund-status/types.d.ts +0 -2
- package/dist/components/blocks/commerce/seo-listing/types.d.ts +7 -0
- package/dist/components/blocks/commerce/shared/code-entry.d.ts +39 -0
- package/dist/components/blocks/commerce/shared/order-status.d.ts +1 -1
- package/dist/components/blocks/commerce/subscription-summary/subscription-summary.d.ts +1 -1
- package/dist/components/blocks/commerce/subscription-summary/types.d.ts +10 -1
- package/dist/components/blocks/commerce/upcoming-booking/index.d.ts +2 -1
- package/dist/components/blocks/commerce/upcoming-booking/types.d.ts +8 -0
- package/dist/components/blocks/commerce/upcoming-booking/upcoming-booking.d.ts +2 -2
- package/dist/components/blocks/commerce/vendor-profile/types.d.ts +4 -5
- package/dist/components/blocks/commerce/voucher-entry/types.d.ts +6 -3
- package/dist/components/blocks/commerce/voucher-entry/voucher-entry.d.ts +1 -1
- package/dist/components/blocks/content-block-hooks.d.ts +22 -0
- package/dist/components/blocks/data-display/dense-info-card/dense-info.strings.d.ts +5 -1
- package/dist/components/blocks/data-display/dense-info-card/helpers.d.ts +3 -1
- package/dist/components/blocks/data-display/dense-info-card/index.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-classification.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-dashboard.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-financial.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-project.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-score.d.ts +1 -1
- package/dist/components/blocks/data-display/dense-info-card/types.d.ts +12 -5
- package/dist/components/blocks/data-display/empty-state/empty-state.types.d.ts +6 -0
- package/dist/components/blocks/data-display/index.d.ts +0 -1
- package/dist/components/blocks/data-display/relationship-card-frame.d.ts +1 -1
- package/dist/components/blocks/onboarding/checklist/checklist.types.d.ts +5 -3
- package/dist/components/blocks/planning/task-card.types.d.ts +7 -3
- package/dist/components/blocks/timelines/changelog/types.d.ts +2 -2
- package/dist/components/blocks/timelines/index.d.ts +2 -2
- package/dist/components/blocks/timelines/milestones/types.d.ts +2 -2
- package/dist/components/blocks/timelines/shared/timeline.d.ts +6 -0
- package/dist/components/blocks/timelines/steps-card/index.d.ts +2 -1
- package/dist/components/blocks/timelines/steps-card/steps-card.d.ts +2 -2
- package/dist/components/blocks/timelines/steps-card/types.d.ts +13 -1
- package/dist/components/features/activities/activities.strings.d.ts +5 -3
- package/dist/components/features/activities/activities.types.d.ts +28 -11
- package/dist/components/features/activities/hooks/use-activity-feed.d.ts +6 -0
- package/dist/components/features/activities/index.d.ts +1 -1
- package/dist/components/features/activities/partials/activity-headline.d.ts +5 -0
- package/dist/components/features/activities/partials/activity-row.d.ts +12 -13
- package/dist/components/features/activities/partials/row-layers.d.ts +7 -0
- package/dist/components/features/activities/relative-time.d.ts +18 -0
- package/dist/components/features/ai-chat/ai-chat.d.ts +6 -2
- package/dist/components/features/ai-chat/ai-chat.strings.d.ts +41 -2
- package/dist/components/features/ai-chat/ai-chat.types.d.ts +6 -0
- package/dist/components/features/ai-chat/partials/ai-chat-attachments-strip.d.ts +5 -1
- package/dist/components/features/ai-chat/partials/ai-chat-prompt-input.d.ts +2 -2
- package/dist/components/features/ai-chat/partials/ai-chat-queue.d.ts +3 -1
- package/dist/components/features/ai-chat/partials/ai-chat-suggestions-row.d.ts +6 -1
- package/dist/components/features/appointment-calendar/appointment-calendar.d.ts +1 -1
- package/dist/components/features/appointment-calendar/appointment-calendar.types.d.ts +19 -5
- package/dist/components/features/appointment-calendar/index.d.ts +1 -1
- package/dist/components/features/appointment-calendar/partials/appointment-agenda.d.ts +18 -10
- package/dist/components/features/async-preview/async-preview.d.ts +2 -2
- package/dist/components/features/async-preview/async-preview.types.d.ts +30 -1
- package/dist/components/features/async-preview/preview-trigger-cell.d.ts +7 -2
- package/dist/components/features/combobox/async-resource-combobox.d.ts +2 -2
- package/dist/components/features/combobox/combobox.d.ts +12 -3
- package/dist/components/features/combobox/components/error-message.d.ts +3 -1
- package/dist/components/features/combobox/hooks/use-combobox-core.d.ts +2 -2
- package/dist/components/features/combobox/index.d.ts +1 -1
- package/dist/components/features/combobox/types.d.ts +47 -45
- package/dist/components/features/comments/comments.strings.d.ts +6 -5
- package/dist/components/features/comments/comments.types.d.ts +40 -26
- package/dist/components/features/comments/hooks/use-attachment-upload.d.ts +5 -1
- package/dist/components/features/comments/hooks/use-comments.d.ts +8 -1
- package/dist/components/features/data-view/data-view.strings.d.ts +9 -2
- package/dist/components/features/data-view/data-view.types.d.ts +15 -2
- package/dist/components/features/email-composer/email-html.d.ts +5 -0
- package/dist/components/features/email-composer/http.d.ts +2 -0
- package/dist/components/features/email-composer/strings.d.ts +17 -2
- package/dist/components/features/email-composer/types.d.ts +17 -2
- package/dist/components/features/email-composer/use-composer.d.ts +2 -78
- package/dist/components/features/event-calendar/event-calendar-day-cell.d.ts +1 -1
- package/dist/components/features/event-calendar/event-calendar-event-badge.d.ts +1 -1
- package/dist/components/features/event-calendar/event-calendar-header.d.ts +1 -1
- package/dist/components/features/event-calendar/event-calendar-legend.d.ts +2 -2
- package/dist/components/features/event-calendar/event-calendar.d.ts +1 -1
- package/dist/components/features/event-calendar/event-calendar.types.d.ts +126 -21
- package/dist/components/features/filters/facets/range-facet.d.ts +13 -8
- package/dist/components/features/filters/filter-context.d.ts +9 -0
- package/dist/components/features/filters/filters.strings.d.ts +36 -3
- package/dist/components/features/filters/filters.types.d.ts +72 -5
- package/dist/components/features/filters/hooks/use-filter-draft.d.ts +1 -0
- package/dist/components/features/filters/index.d.ts +2 -2
- package/dist/components/features/filters/operator-options.d.ts +25 -2
- package/dist/components/features/filters/partials/active-filter-item.d.ts +0 -13
- package/dist/components/features/filters/partials/async-options-status.d.ts +32 -0
- package/dist/components/features/filters/partials/filter-draft-footer.d.ts +11 -0
- package/dist/components/features/filters/partials/filter-operator-select.d.ts +4 -2
- package/dist/components/features/filters/partials/filter-pill.d.ts +5 -1
- package/dist/components/features/filters/partials/filter-tabs.d.ts +2 -1
- package/dist/components/features/filters/partials/regular-filter-content.d.ts +1 -1
- package/dist/components/features/filters/utils/filter-utils.d.ts +29 -4
- package/dist/components/features/global-search/global-search-dialog.d.ts +7 -1
- package/dist/components/features/global-search/global-search.d.ts +7 -1
- package/dist/components/features/global-search/global-search.strings.d.ts +19 -3
- package/dist/components/features/global-search/global-search.types.d.ts +30 -6
- package/dist/components/features/global-search/index.d.ts +1 -1
- package/dist/components/features/global-search/partials/global-search-idle-state.d.ts +6 -1
- package/dist/components/features/global-search/partials/global-search-input.d.ts +2 -0
- package/dist/components/features/kanban/index.d.ts +2 -2
- package/dist/components/features/kanban/kanban-context.d.ts +4 -0
- package/dist/components/features/kanban/kanban-keyboard.d.ts +7 -2
- package/dist/components/features/kanban/kanban.d.ts +10 -1
- package/dist/components/features/kanban/kanban.strings.d.ts +11 -2
- package/dist/components/features/kanban/kanban.types.d.ts +26 -0
- package/dist/components/features/map/map.d.ts +4 -0
- package/dist/components/features/map/place-autocomplete.d.ts +10 -1
- package/dist/components/features/media-library/hooks/use-media-library.d.ts +3 -1
- package/dist/components/features/media-library/media-library.d.ts +1 -1
- package/dist/components/features/media-library/media-library.strings.d.ts +33 -3
- package/dist/components/features/media-library/media-library.types.d.ts +47 -2
- package/dist/components/features/media-library/partials/media-library-partials.d.ts +1 -1
- package/dist/components/features/mentions/hooks/use-mentions-search.d.ts +7 -0
- package/dist/components/features/mentions/index.d.ts +1 -1
- package/dist/components/features/mentions/mentions.strings.d.ts +10 -2
- package/dist/components/features/mentions/partials/mention-chip.d.ts +1 -0
- package/dist/components/features/mentions/partials/mention-inline-suggestions.d.ts +8 -1
- package/dist/components/features/mentions/partials/mention-picker.d.ts +8 -1
- package/dist/components/features/mentions/partials/mention-search-error.d.ts +6 -0
- package/dist/components/features/mentions/utils/index.d.ts +0 -1
- package/dist/components/features/overlays/alert-dialog.d.ts +1 -1
- package/dist/components/features/overlays/dialog.d.ts +1 -1
- package/dist/components/features/overlays/drawer.d.ts +1 -1
- package/dist/components/features/overlays/index.d.ts +2 -2
- package/dist/components/features/overlays/overlays.strings.d.ts +2 -1
- package/dist/components/features/overlays/overlays.types.d.ts +27 -10
- package/dist/components/features/products/components/index.d.ts +0 -10
- package/dist/components/features/products/components/product-contract-overview.d.ts +1 -1
- package/dist/components/features/products/components/product-details-card.d.ts +1 -1
- package/dist/components/features/products/components/product-operations-card.d.ts +1 -1
- package/dist/components/features/products/components/product-option-action-menu.d.ts +1 -1
- package/dist/components/features/products/components/product-options-summary.d.ts +1 -1
- package/dist/components/features/products/components/product-policies-card.d.ts +1 -1
- package/dist/components/features/products/components/product-quote-preview-card.d.ts +1 -1
- package/dist/components/features/products/components/product-readiness-card.d.ts +1 -1
- package/dist/components/features/products/components/product-structure-card.d.ts +1 -1
- package/dist/components/features/products/components/product-variant-action-menu.d.ts +1 -1
- package/dist/components/features/products/components/product-variants-manager.d.ts +1 -1
- package/dist/components/features/products/components/product-variants-table.d.ts +1 -1
- package/dist/components/features/products/partials/product-surface.d.ts +15 -0
- package/dist/components/features/products/products.strings.d.ts +8 -0
- package/dist/components/features/products/products.types.d.ts +25 -7
- package/dist/components/features/questionnaire/questionnaire.types.d.ts +6 -4
- package/dist/components/features/resource/index.d.ts +2 -3
- package/dist/components/features/resource/resource.d.ts +2 -10
- package/dist/components/features/resource/resource.types.d.ts +7 -149
- package/dist/components/features/resource-assignment/partials/assignment-surface.d.ts +15 -0
- package/dist/components/features/resource-assignment/resource-assignment.strings.d.ts +6 -1
- package/dist/components/features/resource-assignment/resource-assignment.types.d.ts +6 -0
- package/dist/components/features/rich-text-editor/partials/caret-helpers.d.ts +5 -7
- package/dist/components/features/rich-text-editor/partials/html-helpers.d.ts +2 -3
- package/dist/components/features/rich-text-editor/partials/image-uploads.d.ts +6 -2
- package/dist/components/features/rich-text-editor/partials/index.d.ts +2 -3
- package/dist/components/features/rich-text-editor/partials/rich-text-editor-tiptap.d.ts +0 -1
- package/dist/components/features/rich-text-editor/partials/rich-text-editor-toolbar.d.ts +2 -3
- package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +13 -1
- package/dist/components/features/schema-form/hooks/use-schema-form.d.ts +5 -0
- package/dist/components/features/schema-form/schema-form.d.ts +1 -1
- package/dist/components/features/schema-form/schema-form.types.d.ts +13 -5
- package/dist/components/features/suggestions/suggestions.strings.d.ts +14 -0
- package/dist/components/features/suggestions/suggestions.types.d.ts +12 -4
- package/dist/components/features/table/data-table.d.ts +1 -1
- package/dist/components/features/table/filter-bar.d.ts +1 -1
- package/dist/components/features/table/pagination.d.ts +1 -1
- package/dist/components/features/table/partials/cell-value.d.ts +1 -1
- package/dist/components/features/table/table-body.d.ts +1 -1
- package/dist/components/features/table/table-header.d.ts +1 -1
- package/dist/components/features/table/table-helpers.d.ts +31 -9
- package/dist/components/features/table/table-region.recipes.d.ts +11 -0
- package/dist/components/features/table/table-toolbar.d.ts +1 -1
- package/dist/components/features/table/table.strings.d.ts +1 -0
- package/dist/components/features/table/table.types.d.ts +74 -48
- package/dist/components/features/theme-tweaker/theme-provider-settings.d.ts +4 -0
- package/dist/components/features/theme-tweaker/theme-tweaker.strings.d.ts +10 -7
- package/dist/components/features/theme-tweaker/theme-tweaker.utils.d.ts +17 -0
- package/dist/components/layout/app-shell/app-shell.types.d.ts +46 -49
- package/dist/components/layout/app-shell/index.d.ts +2 -2
- package/dist/components/layout/app-shell/shell-regions.d.ts +9 -0
- package/dist/components/layout/app-shell/shell-skip-link.d.ts +9 -0
- package/dist/components/layout/app-shell/sidebar-inset-layout.d.ts +1 -1
- package/dist/components/layout/app-shell/stacked-layout.d.ts +1 -1
- package/dist/components/layout/app-shell/topbar-sidebar-layout.d.ts +1 -1
- package/dist/components/layout/auth/auth-shell.d.ts +1 -1
- package/dist/components/layout/auth/auth.types.d.ts +0 -5
- package/dist/components/layout/containers/inline-gutter-context.d.ts +7 -0
- package/dist/components/layout/containers/main-landmark-context.d.ts +6 -0
- package/dist/components/layout/header/header.types.d.ts +16 -6
- package/dist/components/layout/header/partials/header-global-search-trigger.d.ts +1 -1
- package/dist/components/layout/header/partials/header-notifications.d.ts +1 -1
- package/dist/components/layout/header/partials/header-search.d.ts +1 -1
- package/dist/components/layout/hooks/use-command-shortcut.d.ts +10 -1
- package/dist/components/layout/layout.types.d.ts +2 -2
- package/dist/components/layout/navigation/breadcrumb-progress/breadcrumb-progress.d.ts +1 -1
- package/dist/components/layout/navigation/breadcrumb-progress/types.d.ts +9 -0
- package/dist/components/layout/navigation/section-nav/section-nav.d.ts +8 -1
- package/dist/components/layout/page/index.d.ts +2 -3
- package/dist/components/layout/page/page.strings.d.ts +12 -0
- package/dist/components/layout/page/page.types.d.ts +7 -110
- package/dist/components/layout/page/partials/page-header.d.ts +1 -1
- package/dist/components/layout/settings/index.d.ts +1 -1
- package/dist/components/layout/settings/settings.d.ts +3 -5
- package/dist/components/layout/sidebar/app-sidebar.d.ts +1 -1
- package/dist/components/layout/sidebar/components/sidebar-grouped-navigation.d.ts +1 -1
- package/dist/components/layout/sidebar/components/sidebar-navigation-footer.d.ts +1 -1
- package/dist/components/layout/sidebar/components/sidebar-navigation.d.ts +1 -1
- package/dist/components/layout/sidebar/index.d.ts +1 -1
- package/dist/components/layout/sidebar/sidebar-navigation-rail.d.ts +15 -7
- package/dist/components/layout/sidebar/sidebar.types.d.ts +10 -12
- package/dist/components/layout/sidebar/sidebar.utils.d.ts +4 -0
- package/dist/components/layout/workspace/workspace.strings.d.ts +2 -2
- package/dist/components/layout/workspace/workspace.types.d.ts +13 -7
- package/dist/components/primitives/date.d.ts +22 -3
- package/dist/components/primitives/file-size.d.ts +8 -2
- package/dist/components/primitives/index.d.ts +1 -1
- package/dist/components/primitives/initials.d.ts +3 -1
- package/dist/components/primitives/link.d.ts +8 -1
- package/dist/components/primitives/money.d.ts +1 -1
- package/dist/components/primitives/number.d.ts +2 -1
- package/dist/components/typography/heading.d.ts +9 -3
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/text-link.d.ts +10 -3
- package/dist/components/ui/badge.d.ts +2 -4
- package/dist/components/ui/breadcrumb.d.ts +2 -3
- package/dist/components/ui/button.d.ts +8 -2
- package/dist/components/ui/collapsible.d.ts +1 -4
- package/dist/components/ui/command.d.ts +20 -18
- package/dist/components/ui/dialog.d.ts +3 -9
- package/dist/components/ui/empty.d.ts +2 -2
- package/dist/components/ui/input-group.d.ts +3 -3
- package/dist/components/ui/item.d.ts +3 -3
- package/dist/components/ui/popover.d.ts +3 -7
- package/dist/components/ui/sheet.d.ts +4 -12
- package/dist/components/ui/sidebar-state.d.ts +6 -1
- package/dist/components/ui/sidebar.d.ts +7 -4
- package/dist/components/ui/tabs.d.ts +2 -2
- package/dist/components/ui/toggle-group.d.ts +3 -3
- package/dist/components/ui/toggle.d.ts +2 -2
- package/dist/components/ui/tooltip.d.ts +1 -3
- package/dist/{containers-CSdc32h9.js → containers-BdfLTP4w.js} +37 -32
- package/dist/containers-BdfLTP4w.js.map +1 -0
- package/dist/content-block-hooks-Z3iKjqd1.js +17 -0
- package/dist/content-block-hooks-Z3iKjqd1.js.map +1 -0
- package/dist/{copyable-3fdHfMR3.js → copyable-Bmr14W0d.js} +6 -6
- package/dist/{copyable-3fdHfMR3.js.map → copyable-Bmr14W0d.js.map} +1 -1
- package/dist/{data-display-Cmj-xZYl.js → data-display-CWe9SOYh.js} +264 -251
- package/dist/data-display-CWe9SOYh.js.map +1 -0
- package/dist/date-3qsCE1ID.js +209 -0
- package/dist/date-3qsCE1ID.js.map +1 -0
- package/dist/{date-picker-CyQlFYsP.js → date-picker-D1keJQIG.js} +129 -129
- package/dist/date-picker-D1keJQIG.js.map +1 -0
- package/dist/date-pickers-D8aJoeHc.js +185 -0
- package/dist/date-pickers-D8aJoeHc.js.map +1 -0
- package/dist/disclosure-panel-B0HFNZ9x.js.map +1 -1
- package/dist/{display-CT_N2a3w.js → display-VlmP1I0i.js} +23 -46
- package/dist/display-VlmP1I0i.js.map +1 -0
- package/dist/{dropdown-menu-C08iIugv.js → dropdown-menu-B8hjvbkS.js} +9 -9
- package/dist/{dropdown-menu-C08iIugv.js.map → dropdown-menu-B8hjvbkS.js.map} +1 -1
- package/dist/dropzone-CHBNK3de.js +116 -0
- package/dist/dropzone-CHBNK3de.js.map +1 -0
- package/dist/features/activities.js +682 -628
- package/dist/features/activities.js.map +1 -1
- package/dist/features/ai-chat.js +258 -226
- package/dist/features/ai-chat.js.map +1 -1
- package/dist/features/appointment-calendar.js +436 -340
- package/dist/features/appointment-calendar.js.map +1 -1
- package/dist/features/async-preview.js +351 -265
- package/dist/features/async-preview.js.map +1 -1
- package/dist/features/combobox.js +2 -2
- package/dist/features/comments.js +1 -1
- package/dist/features/data-view.js +212 -151
- package/dist/features/data-view.js.map +1 -1
- package/dist/features/email-composer/engine.js +1 -1
- package/dist/features/email-composer.js +344 -315
- package/dist/features/email-composer.js.map +1 -1
- package/dist/features/event-calendar.js +504 -355
- package/dist/features/event-calendar.js.map +1 -1
- package/dist/features/filters.js +2 -2
- package/dist/features/global-search.js +250 -206
- package/dist/features/global-search.js.map +1 -1
- package/dist/features/kanban.js +269 -189
- package/dist/features/kanban.js.map +1 -1
- package/dist/features/map.js +385 -371
- package/dist/features/map.js.map +1 -1
- package/dist/features/media-library.js +1571 -1199
- package/dist/features/media-library.js.map +1 -1
- package/dist/features/mentions.js +2 -2
- package/dist/features/overlays.js +2 -2
- package/dist/features/products.js +1780 -1691
- package/dist/features/products.js.map +1 -1
- package/dist/features/questionnaire.js +165 -152
- package/dist/features/questionnaire.js.map +1 -1
- package/dist/features/resource-assignment.js +223 -191
- package/dist/features/resource-assignment.js.map +1 -1
- package/dist/features/resource.js +55 -220
- package/dist/features/resource.js.map +1 -1
- package/dist/features/rich-text-editor.js +3 -3
- package/dist/features/schema-form.js +280 -228
- package/dist/features/schema-form.js.map +1 -1
- package/dist/features/suggestions.js +48 -39
- package/dist/features/suggestions.js.map +1 -1
- package/dist/features/table.js +2 -2
- package/dist/features/theme-tweaker.js +723 -633
- package/dist/features/theme-tweaker.js.map +1 -1
- package/dist/feedback-DmqmXKLn.js +254 -0
- package/dist/feedback-DmqmXKLn.js.map +1 -0
- package/dist/{field-affordance-recipes-D6H7tVJi.js → field-affordance-recipes-DfbMadot.js} +13 -9
- package/dist/field-affordance-recipes-DfbMadot.js.map +1 -0
- package/dist/{field-state-recipes-7sza8QbC.js → field-state-recipes-EtCxpEy3.js} +6 -2
- package/dist/field-state-recipes-EtCxpEy3.js.map +1 -0
- package/dist/filters-BviMRMLS.js +2692 -0
- package/dist/filters-BviMRMLS.js.map +1 -0
- package/dist/{focus-recipes-B653VaLq.js → focus-recipes-DSkiUvUp.js} +3 -3
- package/dist/focus-recipes-DSkiUvUp.js.map +1 -0
- package/dist/{form-field-CAPdwdnZ.js → form-field-BdfCwSoQ.js} +5 -5
- package/dist/{form-field-CAPdwdnZ.js.map → form-field-BdfCwSoQ.js.map} +1 -1
- package/dist/{form-sizing-CgcrUbLU.js → form-sizing-DE_dZw32.js} +3 -3
- package/dist/{form-sizing-CgcrUbLU.js.map → form-sizing-DE_dZw32.js.map} +1 -1
- package/dist/{forms-B3W8CH7-.js → forms-B8DzJnBN.js} +35 -35
- package/dist/forms-B8DzJnBN.js.map +1 -0
- package/dist/forms-numeric-DOBswjKj.js +992 -0
- package/dist/forms-numeric-DOBswjKj.js.map +1 -0
- package/dist/{header-ZIIsRKxP.js → header-Cq3G0ZRP.js} +100 -95
- package/dist/header-Cq3G0ZRP.js.map +1 -0
- package/dist/{hooks-BitHSh-Y.js → hooks-DHfeSMAO.js} +34 -14
- package/dist/hooks-DHfeSMAO.js.map +1 -0
- package/dist/{http-D_6rOnzU.js → http-Cu-GPpss.js} +61 -35
- package/dist/http-Cu-GPpss.js.map +1 -0
- package/dist/{icon-badge-npxF1SLX.js → icon-badge-B0Kq7wom.js} +3 -3
- package/dist/{icon-badge-npxF1SLX.js.map → icon-badge-B0Kq7wom.js.map} +1 -1
- package/dist/index.js +6 -6
- package/dist/inline-gutter-context-CSqmrMFZ.js +11 -0
- package/dist/inline-gutter-context-CSqmrMFZ.js.map +1 -0
- package/dist/{input-DIREVYHs.js → input-2YrgTUrz.js} +3 -3
- package/dist/{input-DIREVYHs.js.map → input-2YrgTUrz.js.map} +1 -1
- package/dist/{input-7KAc7XQL.js → input-DfJyrjoR.js} +6 -6
- package/dist/{input-7KAc7XQL.js.map → input-DfJyrjoR.js.map} +1 -1
- package/dist/{interaction-recipes-4wZ2tvfb.js → interaction-recipes-DmuS1ase.js} +2 -2
- package/dist/{interaction-recipes-4wZ2tvfb.js.map → interaction-recipes-DmuS1ase.js.map} +1 -1
- package/dist/item-GJ9mvCcg.js +279 -0
- package/dist/item-GJ9mvCcg.js.map +1 -0
- package/dist/layout/app-shell.js +1 -1
- package/dist/layout/auth.js +1 -1
- package/dist/layout/containers.js +1 -1
- package/dist/layout/header.js +1 -1
- package/dist/layout/hooks.js +1 -1
- package/dist/layout/navigation.js +1 -1
- package/dist/layout/page.js +2 -2
- package/dist/layout/settings.js +2 -2
- package/dist/layout/sidebar.js +3 -3
- package/dist/layout/workspace.js +1 -1
- package/dist/layout.js +12 -12
- package/dist/{layout.types-E_GAApzO.js → layout.types-DbtnyAtd.js} +11 -8
- package/dist/layout.types-DbtnyAtd.js.map +1 -0
- package/dist/lib/anchored-positioning.d.ts +11 -0
- package/dist/lib/field-affordance-recipes.d.ts +10 -0
- package/dist/lib/field-state-recipes.d.ts +6 -0
- package/dist/lib/focus-recipes.d.ts +7 -0
- package/dist/lib/format.d.ts +25 -0
- package/dist/lib/money-format.d.ts +6 -0
- package/dist/lib/motion-recipes.d.ts +6 -0
- package/dist/lib/surface-recipes.d.ts +32 -2
- package/dist/lib/theme-scope.d.ts +17 -1
- package/dist/lib/token-merge.generated.d.ts +13 -19
- package/dist/lib/ui-provider/index.d.ts +1 -1
- package/dist/lib/ui-provider/types.d.ts +5 -0
- package/dist/lib/use-controllable-state.d.ts +16 -0
- package/dist/lib/use-copy-feedback.d.ts +15 -0
- package/dist/lib/utils.js +1 -1
- package/dist/lib/variant-props.d.ts +9 -0
- package/dist/main-landmark-context-BAsyqp2I.js +11 -0
- package/dist/main-landmark-context-BAsyqp2I.js.map +1 -0
- package/dist/mentions-zz0ewNIq.js +670 -0
- package/dist/mentions-zz0ewNIq.js.map +1 -0
- package/dist/{message-BJHnn43M.js → message-BiiVrRrm.js} +10 -7
- package/dist/{message-BJHnn43M.js.map → message-BiiVrRrm.js.map} +1 -1
- package/dist/{metadata-list-XkqZ_UXH.js → metadata-list-G85roWjS.js} +13 -12
- package/dist/metadata-list-G85roWjS.js.map +1 -0
- package/dist/{motion-recipes-DitYv6P2.js → motion-recipes-CUc_aHuG.js} +7 -4
- package/dist/motion-recipes-CUc_aHuG.js.map +1 -0
- package/dist/navigation-C0Be5C3i.js +304 -0
- package/dist/navigation-C0Be5C3i.js.map +1 -0
- package/dist/{navigation-Bt-v7rWP.js → navigation-CmqaQR_G.js} +99 -103
- package/dist/navigation-CmqaQR_G.js.map +1 -0
- package/dist/number-NFWKIoiK.js +340 -0
- package/dist/number-NFWKIoiK.js.map +1 -0
- package/dist/{overflow-tab-bar-BQCA2Zn2.js → overflow-tab-bar-DV7HE_3t.js} +8 -8
- package/dist/{overflow-tab-bar-BQCA2Zn2.js.map → overflow-tab-bar-DV7HE_3t.js.map} +1 -1
- package/dist/overlays-D-gAIfPF.js +1018 -0
- package/dist/overlays-D-gAIfPF.js.map +1 -0
- package/dist/page-D4pQhgSq.js +216 -0
- package/dist/page-D4pQhgSq.js.map +1 -0
- package/dist/{page-header-commands-DIKspJfx.js → page-header-commands-elelNOfd.js} +29 -29
- package/dist/{page-header-commands-DIKspJfx.js.map → page-header-commands-elelNOfd.js.map} +1 -1
- package/dist/{pagination-Br8TdV9A.js → pagination-BuSWw1US.js} +22 -23
- package/dist/pagination-BuSWw1US.js.map +1 -0
- package/dist/{popover-k8TdUcAt.js → popover-BpMxbqEK.js} +73 -69
- package/dist/popover-BpMxbqEK.js.map +1 -0
- package/dist/{popover-menu-yn-o0kyA.js → popover-menu-CO-_iiuz.js} +7 -7
- package/dist/{popover-menu-yn-o0kyA.js.map → popover-menu-CO-_iiuz.js.map} +1 -1
- package/dist/{popover.recipes-DJ0AkUan.js → popover.recipes-BqkdvlZn.js} +3 -4
- package/dist/{popover.recipes-DJ0AkUan.js.map → popover.recipes-BqkdvlZn.js.map} +1 -1
- package/dist/{portal-recipes-DyUXqUtD.js → portal-recipes-BPeS4rGB.js} +2 -2
- package/dist/{portal-recipes-DyUXqUtD.js.map → portal-recipes-BPeS4rGB.js.map} +1 -1
- package/dist/primitives-BlC1lXBr.js +447 -0
- package/dist/primitives-BlC1lXBr.js.map +1 -0
- package/dist/primitives.js +4 -4
- package/dist/{progress-DZFXXzPs.js → progress-RARK8AjB.js} +5 -5
- package/dist/{progress-DZFXXzPs.js.map → progress-RARK8AjB.js.map} +1 -1
- package/dist/receipt-CUf2Vegp.js +114 -0
- package/dist/receipt-CUf2Vegp.js.map +1 -0
- package/dist/{rich-text-BnTzZjIo.js → rich-text-Cypm9__d.js} +7 -8
- package/dist/{rich-text-BnTzZjIo.js.map → rich-text-Cypm9__d.js.map} +1 -1
- package/dist/rich-text-editor-Z6cQepsA.js +919 -0
- package/dist/rich-text-editor-Z6cQepsA.js.map +1 -0
- package/dist/rich-text-editor-toolbar-DYbRJARB.js +100 -0
- package/dist/rich-text-editor-toolbar-DYbRJARB.js.map +1 -0
- package/dist/rich-text-tree-DdKHIJx4.js +154 -0
- package/dist/rich-text-tree-DdKHIJx4.js.map +1 -0
- package/dist/safe-image-src-C6kQSMBZ.js +17 -0
- package/dist/safe-image-src-C6kQSMBZ.js.map +1 -0
- package/dist/{scroll-area-Bj6CRUif.js → scroll-area-B9HKbji0.js} +3 -3
- package/dist/{scroll-area-Bj6CRUif.js.map → scroll-area-B9HKbji0.js.map} +1 -1
- package/dist/{separator-DM6gs2vu.js → separator-DaDe26sf.js} +3 -3
- package/dist/separator-DaDe26sf.js.map +1 -0
- package/dist/{separator-B9ewiCGO.js → separator-KGsNXt2J.js} +2 -2
- package/dist/{separator-B9ewiCGO.js.map → separator-KGsNXt2J.js.map} +1 -1
- package/dist/services/actions/action-adapters.d.ts +5 -2
- package/dist/services/actions/index.d.ts +1 -1
- package/dist/services/actions.js +2 -2
- package/dist/services/actions.js.map +1 -1
- package/dist/settings-D5j_RJvT.js +160 -0
- package/dist/settings-D5j_RJvT.js.map +1 -0
- package/dist/sheet-B6j_BE9O.js +241 -0
- package/dist/sheet-B6j_BE9O.js.map +1 -0
- package/dist/{sidebar-CmD6a-HK.js → sidebar-C-iQ_TJP.js} +377 -351
- package/dist/sidebar-C-iQ_TJP.js.map +1 -0
- package/dist/sidebar-D5VO2W8S.js +715 -0
- package/dist/sidebar-D5VO2W8S.js.map +1 -0
- package/dist/{skeleton-DDgdhmu9.js → skeleton-Cab_KgVo.js} +12 -12
- package/dist/skeleton-Cab_KgVo.js.map +1 -0
- package/dist/{smart-card-B6vLxqa_.js → smart-card-C59z6KFO.js} +217 -210
- package/dist/smart-card-C59z6KFO.js.map +1 -0
- package/dist/{structure-DZJ2wbAU.js → structure-DElaQwwN.js} +2 -2
- package/dist/{structure-DZJ2wbAU.js.map → structure-DElaQwwN.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{surface-recipes-C8mNycaY.js → surface-recipes-DV6rrOFq.js} +10 -2
- package/dist/surface-recipes-DV6rrOFq.js.map +1 -0
- package/dist/{table-CXSPHH25.js → table-CSRUgpdK.js} +62 -61
- package/dist/table-CSRUgpdK.js.map +1 -0
- package/dist/table-DdXDBsR_.js +1657 -0
- package/dist/table-DdXDBsR_.js.map +1 -0
- package/dist/{tabs-C4Kr_hCr.js → tabs-WnHfV2pM.js} +27 -27
- package/dist/tabs-WnHfV2pM.js.map +1 -0
- package/dist/{text-inputs-jdkS3ReG.js → text-inputs-ljyBYaCd.js} +112 -112
- package/dist/text-inputs-ljyBYaCd.js.map +1 -0
- package/dist/theme.css +21 -5
- package/dist/timelines-mOmS9Eh3.js +479 -0
- package/dist/timelines-mOmS9Eh3.js.map +1 -0
- package/dist/tooltip-yjX-Uv-p.js +112 -0
- package/dist/tooltip-yjX-Uv-p.js.map +1 -0
- package/dist/{tree-CeYVzdFE.js → tree-YpkxUG2Z.js} +80 -72
- package/dist/tree-YpkxUG2Z.js.map +1 -0
- package/dist/typography/rich-text.js +1 -1
- package/dist/{typography-C7-YMW1S.js → typography-C0dELqYV.js} +46 -40
- package/dist/typography-C0dELqYV.js.map +1 -0
- package/dist/typography.js +1 -1
- package/dist/{ui-provider-C-74NVLc.js → ui-provider-Bu1S-o96.js} +4 -3
- package/dist/ui-provider-Bu1S-o96.js.map +1 -0
- package/dist/ui-provider.js +2 -2
- package/dist/{upload-Hdm5gObf.js → upload-DMuMYJFT.js} +276 -268
- package/dist/upload-DMuMYJFT.js.map +1 -0
- package/dist/{usage-card-9s8hLDfn.js → usage-card-DDPki5P1.js} +57 -54
- package/dist/usage-card-DDPki5P1.js.map +1 -0
- package/dist/use-controllable-state-BlP8SyBI.js +13 -0
- package/dist/use-controllable-state-BlP8SyBI.js.map +1 -0
- package/dist/use-copy-feedback-CzcaqlLf.js +28 -0
- package/dist/use-copy-feedback-CzcaqlLf.js.map +1 -0
- package/dist/use-metric-format-options-Dk4rC1NO.js +251 -0
- package/dist/use-metric-format-options-Dk4rC1NO.js.map +1 -0
- package/dist/{utils-DhuoqFy4.js → utils-BVbAG2J6.js} +98 -76
- package/dist/utils-BVbAG2J6.js.map +1 -0
- package/dist/value-inputs-h5MwjGCo.js +982 -0
- package/dist/value-inputs-h5MwjGCo.js.map +1 -0
- package/dist/value-typography-D15uwfj-.js +154 -0
- package/dist/value-typography-D15uwfj-.js.map +1 -0
- package/dist/workspace-DIryPqBt.js +400 -0
- package/dist/workspace-DIryPqBt.js.map +1 -0
- package/docs/consumer-skill/SKILL.md +7 -0
- package/docs/consumer-skill/agents/themelia-ui-designer.md +11 -2
- package/docs/consumer-skill/examples/analytics.tsx +1 -1
- package/docs/consumer-skill/examples/app-layout.tsx +3 -3
- package/docs/consumer-skill/examples/commerce-lines.tsx +7 -5
- package/docs/consumer-skill/examples/detail.tsx +3 -2
- package/docs/consumer-skill/examples/email-composer.tsx +1 -1
- package/docs/consumer-skill/examples/index-table.tsx +2 -2
- package/docs/consumer-skill/examples/scoped-directory.tsx +7 -6
- package/docs/consumer-skill/references/agents-md.md +20 -16
- package/docs/consumer-skill/references/analytics.md +20 -6
- package/docs/consumer-skill/references/building-views.md +213 -0
- package/docs/consumer-skill/references/catalogue.md +617 -0
- package/docs/consumer-skill/references/component-contracts.json +10202 -18084
- package/docs/consumer-skill/references/composition.md +21 -17
- package/docs/consumer-skill/references/discovery.md +8 -5
- package/docs/consumer-skill/references/installation.md +10 -4
- package/docs/consumer-skill/references/integration.md +5 -5
- package/docs/consumer-skill/references/product-composition.md +2 -2
- package/docs/consumer-skill/references/public-api.json +580 -633
- package/docs/consumer-skill/references/review.md +6 -4
- package/docs/consumer-skill/references/screen-archetypes.md +2 -2
- package/docs/consumer-skill/references/theming.md +1 -1
- package/docs/consumer-skill/references/tokens.json +4 -4
- package/docs/consumer-skill/references/workflows.md +7 -7
- package/docs/consumer-skill/scripts/composition-policy.mjs +40 -20
- package/docs/consumer-skill/scripts/composition.mjs +4 -1
- package/docs/consumer-skill/scripts/discovery.mjs +3 -1
- package/docs/consumer-skill/scripts/setup-skills.mjs +31 -4
- package/docs/consumer-skills/themelia-components/SKILL.md +8 -4
- package/docs/consumer-skills/themelia-composition/SKILL.md +7 -3
- package/docs/consumer-skills/themelia-design/SKILL.md +7 -1
- package/docs/consumer-skills/themelia-tokenization/SKILL.md +1 -1
- package/package.json +9 -12
- package/templates/README.md +3 -2
- package/templates/admin-shell-template.tsx +49 -9
- package/templates/analytics-operations-template.tsx +20 -24
- package/templates/customers-template.tsx +12 -9
- package/templates/index.ts +2 -8
- package/templates/orders-template.tsx +28 -24
- package/templates/products-template.tsx +14 -4
- package/templates/user-permissions-template.tsx +11 -14
- package/dist/accordion-0tQUZ20r.js.map +0 -1
- package/dist/action-menu-C0gjzLyE.js +0 -284
- package/dist/action-menu-C0gjzLyE.js.map +0 -1
- package/dist/ai-artifact-CGGpQryR.js +0 -1200
- package/dist/ai-artifact-CGGpQryR.js.map +0 -1
- package/dist/anchored-positioning-DPnKTvNs.js +0 -6
- package/dist/anchored-positioning-DPnKTvNs.js.map +0 -1
- package/dist/app-shell-EHuuRDGy.js +0 -321
- package/dist/app-shell-EHuuRDGy.js.map +0 -1
- package/dist/auth-B0girIk_.js.map +0 -1
- package/dist/badge-wWauMgAt.js.map +0 -1
- package/dist/base/sheet.js +0 -3
- package/dist/breadcrumbs-Bp9Ke7kd.js.map +0 -1
- package/dist/button-ChBovTx0.js.map +0 -1
- package/dist/buttons-DeW0bQeK.js.map +0 -1
- package/dist/cascader-CrAl9zD5.js +0 -439
- package/dist/cascader-CrAl9zD5.js.map +0 -1
- package/dist/choice-inputs-DHGtx0QV.js.map +0 -1
- package/dist/code-block-BSJyq9e-.js.map +0 -1
- package/dist/collapsible-BzJ91LUG.js +0 -81
- package/dist/collapsible-BzJ91LUG.js.map +0 -1
- package/dist/combobox-Bcvu5J8O.js +0 -363
- package/dist/combobox-Bcvu5J8O.js.map +0 -1
- package/dist/combobox-C2JiSQPc.js +0 -915
- package/dist/combobox-C2JiSQPc.js.map +0 -1
- package/dist/command-9e52NPgK.js +0 -425
- package/dist/command-9e52NPgK.js.map +0 -1
- package/dist/comments-BsgErEqd.js +0 -1174
- package/dist/comments-BsgErEqd.js.map +0 -1
- package/dist/components/base/buttons/tooltip-button.d.ts +0 -7
- package/dist/components/base/display/content-block.d.ts +0 -75
- package/dist/components/base/display/content-block.strings.d.ts +0 -5
- package/dist/components/base/sheet/index.d.ts +0 -29
- package/dist/components/blocks/ai/use-copy-feedback.d.ts +0 -6
- package/dist/components/blocks/data-display/metadata/index.d.ts +0 -30
- package/dist/components/features/mentions/utils/split-html-by-mentions.d.ts +0 -10
- package/dist/components/features/resource/resource.strings.d.ts +0 -12
- package/dist/components/features/rich-text-editor/partials/rich-text-editor-fallback.d.ts +0 -8
- package/dist/components/features/sync/index.d.ts +0 -26
- package/dist/components/features/sync/sync-range-dialog-form.d.ts +0 -5
- package/dist/components/features/sync/sync.strings.d.ts +0 -18
- package/dist/components/features/sync/sync.types.d.ts +0 -44
- package/dist/components/layout/page/partials/page-actions.d.ts +0 -3
- package/dist/components/ui/slot.d.ts +0 -6
- package/dist/containers-CSdc32h9.js.map +0 -1
- package/dist/data-display-Cmj-xZYl.js.map +0 -1
- package/dist/date-Br0FicVv.js +0 -144
- package/dist/date-Br0FicVv.js.map +0 -1
- package/dist/date-picker-CyQlFYsP.js.map +0 -1
- package/dist/date-pickers-tj2MXmXd.js +0 -185
- package/dist/date-pickers-tj2MXmXd.js.map +0 -1
- package/dist/display-CT_N2a3w.js.map +0 -1
- package/dist/features/sync.js +0 -142
- package/dist/features/sync.js.map +0 -1
- package/dist/feedback-Dzo1xtAU.js +0 -246
- package/dist/feedback-Dzo1xtAU.js.map +0 -1
- package/dist/field-affordance-recipes-D6H7tVJi.js.map +0 -1
- package/dist/field-state-recipes-7sza8QbC.js.map +0 -1
- package/dist/filters-Dl80yYtN.js +0 -2415
- package/dist/filters-Dl80yYtN.js.map +0 -1
- package/dist/focus-recipes-B653VaLq.js.map +0 -1
- package/dist/forms-B3W8CH7-.js.map +0 -1
- package/dist/forms-numeric-CwjQJe-O.js +0 -991
- package/dist/forms-numeric-CwjQJe-O.js.map +0 -1
- package/dist/header-ZIIsRKxP.js.map +0 -1
- package/dist/hooks-BitHSh-Y.js.map +0 -1
- package/dist/http-D_6rOnzU.js.map +0 -1
- package/dist/item-FfWnaYST.js +0 -278
- package/dist/item-FfWnaYST.js.map +0 -1
- package/dist/layout.types-E_GAApzO.js.map +0 -1
- package/dist/media-gallery-C81DAnKI.js +0 -203
- package/dist/media-gallery-C81DAnKI.js.map +0 -1
- package/dist/mentions-qOnedSt4.js +0 -639
- package/dist/mentions-qOnedSt4.js.map +0 -1
- package/dist/metadata-list-XkqZ_UXH.js.map +0 -1
- package/dist/motion-recipes-DitYv6P2.js.map +0 -1
- package/dist/navigation-BgtPJAhi.js +0 -288
- package/dist/navigation-BgtPJAhi.js.map +0 -1
- package/dist/navigation-Bt-v7rWP.js.map +0 -1
- package/dist/number-CYqBcrSj.js +0 -346
- package/dist/number-CYqBcrSj.js.map +0 -1
- package/dist/overlays-CC8zI3Du.js +0 -1017
- package/dist/overlays-CC8zI3Du.js.map +0 -1
- package/dist/page-BoQ1VaFJ.js +0 -331
- package/dist/page-BoQ1VaFJ.js.map +0 -1
- package/dist/pagination-Br8TdV9A.js.map +0 -1
- package/dist/popover-k8TdUcAt.js.map +0 -1
- package/dist/primitives-BkkQjYl7.js +0 -385
- package/dist/primitives-BkkQjYl7.js.map +0 -1
- package/dist/receipt-C7LhOg7Q.js +0 -116
- package/dist/receipt-C7LhOg7Q.js.map +0 -1
- package/dist/rich-text-editor-CAurDwT5.js +0 -1273
- package/dist/rich-text-editor-CAurDwT5.js.map +0 -1
- package/dist/rich-text-editor-toolbar-DbXig7Jk.js +0 -99
- package/dist/rich-text-editor-toolbar-DbXig7Jk.js.map +0 -1
- package/dist/rich-text-tree-BqyQ_7-R.js +0 -66
- package/dist/rich-text-tree-BqyQ_7-R.js.map +0 -1
- package/dist/sanitize-html-BWkH4dLM.js +0 -105
- package/dist/sanitize-html-BWkH4dLM.js.map +0 -1
- package/dist/separator-DM6gs2vu.js.map +0 -1
- package/dist/settings-DZPHgpx4.js +0 -155
- package/dist/settings-DZPHgpx4.js.map +0 -1
- package/dist/sheet-C4DHsgLk.js +0 -250
- package/dist/sheet-C4DHsgLk.js.map +0 -1
- package/dist/sidebar-C8BnDwTH.js +0 -709
- package/dist/sidebar-C8BnDwTH.js.map +0 -1
- package/dist/sidebar-CmD6a-HK.js.map +0 -1
- package/dist/skeleton-DDgdhmu9.js.map +0 -1
- package/dist/slot-CLF9kLrS.js +0 -16
- package/dist/slot-CLF9kLrS.js.map +0 -1
- package/dist/smart-card-B6vLxqa_.js.map +0 -1
- package/dist/surface-recipes-C8mNycaY.js.map +0 -1
- package/dist/table-CBonSdTp.js +0 -1584
- package/dist/table-CBonSdTp.js.map +0 -1
- package/dist/table-CXSPHH25.js.map +0 -1
- package/dist/tabs-C4Kr_hCr.js.map +0 -1
- package/dist/text-inputs-jdkS3ReG.js.map +0 -1
- package/dist/timelines-CoPwdJP0.js +0 -458
- package/dist/timelines-CoPwdJP0.js.map +0 -1
- package/dist/tooltip-31NwIpTo.js +0 -113
- package/dist/tooltip-31NwIpTo.js.map +0 -1
- package/dist/tree-CeYVzdFE.js.map +0 -1
- package/dist/typography-C7-YMW1S.js.map +0 -1
- package/dist/ui-provider-C-74NVLc.js.map +0 -1
- package/dist/upload-Hdm5gObf.js.map +0 -1
- package/dist/upload-queue-D0sYPuqo.js +0 -409
- package/dist/upload-queue-D0sYPuqo.js.map +0 -1
- package/dist/usage-card-9s8hLDfn.js.map +0 -1
- package/dist/utils-DhuoqFy4.js.map +0 -1
- package/dist/value-inputs-D3aPgq9H.js +0 -980
- package/dist/value-inputs-D3aPgq9H.js.map +0 -1
- package/dist/value-typography-uSzzG9Gf.js +0 -122
- package/dist/value-typography-uSzzG9Gf.js.map +0 -1
- package/dist/workspace-CC8Vchiu.js +0 -411
- package/dist/workspace-CC8Vchiu.js.map +0 -1
|
@@ -0,0 +1,992 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { f as e, h as t } from "./ui-provider-Bu1S-o96.js";
|
|
3
|
+
import { useStrings as n } from "./lib/strings.js";
|
|
4
|
+
import { t as r } from "./utils-BVbAG2J6.js";
|
|
5
|
+
import { a as i, c as a, t as o } from "./typography-C0dELqYV.js";
|
|
6
|
+
import { r as s, t as c } from "./structure-DElaQwwN.js";
|
|
7
|
+
import { f as l, m as u } from "./smart-card-C59z6KFO.js";
|
|
8
|
+
import { n as d } from "./composition.recipes-COdiFhxB.js";
|
|
9
|
+
import { t as f } from "./interaction-recipes-DmuS1ase.js";
|
|
10
|
+
import { t as p } from "./field-state-recipes-EtCxpEy3.js";
|
|
11
|
+
import { r as ee } from "./field-affordance-recipes-DfbMadot.js";
|
|
12
|
+
import { d as m, m as h, p as g, s as _, y as v } from "./form-sizing-DE_dZw32.js";
|
|
13
|
+
import { t as y } from "./input-DfJyrjoR.js";
|
|
14
|
+
import { t as b } from "./form-field-BdfCwSoQ.js";
|
|
15
|
+
import { n as x, t as te } from "./field-control-attributes-B6i335wr.js";
|
|
16
|
+
import { _ as S, d as ne, f as C, g as re, l as w, p as T, v as E } from "./choice-inputs-oJEsrb5Y.js";
|
|
17
|
+
import { t as D } from "./control-group-recipes-fMuFo0H7.js";
|
|
18
|
+
import * as O from "react";
|
|
19
|
+
import { forwardRef as k, memo as A, useCallback as j, useEffect as M, useId as N, useMemo as P, useRef as F, useState as I } from "react";
|
|
20
|
+
import { jsx as L, jsxs as R } from "react/jsx-runtime";
|
|
21
|
+
import { AlertTriangle as z, Minus as ie, Plus as B } from "lucide-react";
|
|
22
|
+
//#region src/components/base/forms-numeric/decimal-input.tsx
|
|
23
|
+
var V = {
|
|
24
|
+
decrement: "Decrement",
|
|
25
|
+
increment: "Increment"
|
|
26
|
+
}, H = (e, t, n) => {
|
|
27
|
+
if (!e) return "";
|
|
28
|
+
let r = e;
|
|
29
|
+
if (r = r.replace(/,/g, "."), r = n ? r.replace(/[^\d.-]/g, "") : r.replace(/[^\d.]/g, ""), n && r.includes("-")) {
|
|
30
|
+
let e = r.startsWith("-");
|
|
31
|
+
r = r.replace(/-/g, ""), e && (r = "-" + r);
|
|
32
|
+
}
|
|
33
|
+
let i = r.split(".");
|
|
34
|
+
return i.length > 2 && (r = i[0] + "." + i.slice(1).join("")), i.length === 2 && i[1].length > t && (r = i[0] + "." + i[1].substring(0, t)), r;
|
|
35
|
+
};
|
|
36
|
+
function U(e, t, n) {
|
|
37
|
+
let r = 10 ** t, i = e * r;
|
|
38
|
+
switch (n) {
|
|
39
|
+
case "floor": return Math.floor(i) / r;
|
|
40
|
+
case "ceil": return Math.ceil(i) / r;
|
|
41
|
+
case "half-even": {
|
|
42
|
+
let e = Math.floor(i), t = i - e;
|
|
43
|
+
return t > .5 ? (e + 1) / r : t < .5 ? e / r : (e % 2 == 0 ? e : e + 1) / r;
|
|
44
|
+
}
|
|
45
|
+
default: return Math.round(i) / r;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function W(e, t, n) {
|
|
49
|
+
let r = e;
|
|
50
|
+
return t !== void 0 && (r = Math.max(t, r)), n !== void 0 && (r = Math.min(n, r)), r;
|
|
51
|
+
}
|
|
52
|
+
function ae(e, t, n, r, i = "round") {
|
|
53
|
+
let a = r ?? 0, o = (e - a) / n, s = a + ((i === "floor" ? Math.floor(o) : i === "ceil" ? Math.ceil(o) : Math.round(o)) + t) * n;
|
|
54
|
+
return Number(s.toFixed(12));
|
|
55
|
+
}
|
|
56
|
+
function oe(e, t) {
|
|
57
|
+
let n = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")?.set;
|
|
58
|
+
n ? n.call(e, t) : e.value = t, e.dispatchEvent(new Event("input", { bubbles: !0 }));
|
|
59
|
+
}
|
|
60
|
+
var se = {
|
|
61
|
+
sm: "w-control-sm",
|
|
62
|
+
md: "w-control",
|
|
63
|
+
lg: "w-control-lg"
|
|
64
|
+
};
|
|
65
|
+
function G(t, i) {
|
|
66
|
+
let { decimalPlaces: a = 2, min: o, max: s, allowNegative: c = !0, allowEmpty: l = !0, step: u, roundingMode: d = "round", normalizeOnBlur: ee = !0, onChange: h, onBlur: g, onKeyDown: b, placeholder: x, className: te, value: S, defaultValue: ne, disabled: C, size: re, strings: w, ...T } = t, { defaultScale: E } = e(), D = v(re, E), k = n(V, w), A = Math.min(12, Math.max(0, a)), M = O.useRef(null), N = C || T.loading || T.readOnly, P = j((e) => {
|
|
67
|
+
let t = e.target.value;
|
|
68
|
+
if (!t && l) {
|
|
69
|
+
h?.(e);
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
let n = H(t, A, c);
|
|
73
|
+
if (!(s !== void 0 && !n.startsWith("-") && Number.parseFloat(n) > s)) {
|
|
74
|
+
if (n !== t) {
|
|
75
|
+
let t = {
|
|
76
|
+
...e,
|
|
77
|
+
target: {
|
|
78
|
+
...e.target,
|
|
79
|
+
value: n
|
|
80
|
+
},
|
|
81
|
+
currentTarget: {
|
|
82
|
+
...e.currentTarget,
|
|
83
|
+
value: n
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
h?.(t);
|
|
87
|
+
} else h?.(e);
|
|
88
|
+
}
|
|
89
|
+
}, [
|
|
90
|
+
h,
|
|
91
|
+
A,
|
|
92
|
+
c,
|
|
93
|
+
l,
|
|
94
|
+
s
|
|
95
|
+
]), F = j((e) => {
|
|
96
|
+
if (g?.(e), !ee) return;
|
|
97
|
+
let t = e.target.value;
|
|
98
|
+
if (!t && l) return;
|
|
99
|
+
let n = Number.parseFloat(t.replace(",", "."));
|
|
100
|
+
if (!Number.isFinite(n)) return;
|
|
101
|
+
let r = U(W(n, o, s), A, d).toFixed(A);
|
|
102
|
+
r !== t && M.current && oe(M.current, r);
|
|
103
|
+
}, [
|
|
104
|
+
g,
|
|
105
|
+
ee,
|
|
106
|
+
l,
|
|
107
|
+
o,
|
|
108
|
+
s,
|
|
109
|
+
A,
|
|
110
|
+
d
|
|
111
|
+
]), I = j((e) => {
|
|
112
|
+
if (N || u === void 0) return;
|
|
113
|
+
let t = M.current;
|
|
114
|
+
if (!t) return;
|
|
115
|
+
let n = t.value, r = Number.parseFloat(n.replace(",", "."));
|
|
116
|
+
oe(t, U(W(ae(Number.isFinite(r) ? r : o ?? 0, e, u, o, d), o, s), A, d).toFixed(A));
|
|
117
|
+
}, [
|
|
118
|
+
N,
|
|
119
|
+
u,
|
|
120
|
+
o,
|
|
121
|
+
s,
|
|
122
|
+
d,
|
|
123
|
+
A
|
|
124
|
+
]), z = typeof u == "number" && u > 0, G = j((e) => {
|
|
125
|
+
b?.(e), !e.defaultPrevented && z && (e.key === "ArrowUp" || e.key === "ArrowDown") && (e.preventDefault(), I(e.key === "ArrowUp" ? 1 : -1));
|
|
126
|
+
}, [
|
|
127
|
+
b,
|
|
128
|
+
z,
|
|
129
|
+
I
|
|
130
|
+
]), K = x ?? (A > 0 ? `0.${"0".repeat(A)}` : "0"), q = T.endAddon && !T.startAddon ? "text-end" : T.startAddon && !T.endAddon ? "text-start" : "text-center";
|
|
131
|
+
return z ? /* @__PURE__ */ R("div", {
|
|
132
|
+
className: r("decimal-input--component", "flex items-stretch overflow-hidden rounded-radius border border-input bg-transparent [&>.input--component]:h-full", m[D], p.compoundFocus, "has-[input[aria-invalid=true]]:border-destructive has-[input[aria-invalid=true]]:has-[input:focus-visible]:border-destructive has-[input[aria-invalid=true]]:has-[input:focus-visible]:ring-destructive/30 dark:has-[input[aria-invalid=true]]:has-[input:focus-visible]:ring-destructive/50", "has-[input:read-only:not(:disabled)]:bg-muted", C && "opacity-50 cursor-not-allowed"),
|
|
133
|
+
children: [
|
|
134
|
+
/* @__PURE__ */ L("button", {
|
|
135
|
+
type: "button",
|
|
136
|
+
tabIndex: -1,
|
|
137
|
+
"aria-label": k.decrement,
|
|
138
|
+
disabled: N,
|
|
139
|
+
onClick: () => I(-1),
|
|
140
|
+
className: r(f.nativeButtonReset, "inline-flex shrink-0 items-center justify-center border-e border-input text-muted-foreground transition-colors", se[D], f.rowHover, "disabled:pointer-events-none disabled:cursor-not-allowed", !C && "disabled:opacity-50"),
|
|
141
|
+
children: /* @__PURE__ */ L(ie, {
|
|
142
|
+
"aria-hidden": "true",
|
|
143
|
+
className: _[D]
|
|
144
|
+
})
|
|
145
|
+
}),
|
|
146
|
+
/* @__PURE__ */ L(y, {
|
|
147
|
+
size: D,
|
|
148
|
+
ref: (e) => {
|
|
149
|
+
M.current = e, typeof i == "function" ? i(e) : i && (i.current = e);
|
|
150
|
+
},
|
|
151
|
+
type: "text",
|
|
152
|
+
inputMode: A > 0 ? "decimal" : "numeric",
|
|
153
|
+
placeholder: K,
|
|
154
|
+
onChange: P,
|
|
155
|
+
onBlur: F,
|
|
156
|
+
onKeyDown: G,
|
|
157
|
+
..."value" in t ? { value: S } : {},
|
|
158
|
+
defaultValue: ne,
|
|
159
|
+
disabled: C,
|
|
160
|
+
className: r("!h-full min-h-0 flex-1 tabular-nums border-0 shadow-none rounded-none bg-transparent read-only:bg-transparent focus-visible:ring-0 focus-visible:border-0 aria-invalid:ring-0 aria-invalid:focus-visible:ring-0 disabled:opacity-100", q, te),
|
|
161
|
+
...T
|
|
162
|
+
}),
|
|
163
|
+
/* @__PURE__ */ L("button", {
|
|
164
|
+
type: "button",
|
|
165
|
+
tabIndex: -1,
|
|
166
|
+
"aria-label": k.increment,
|
|
167
|
+
disabled: N,
|
|
168
|
+
onClick: () => I(1),
|
|
169
|
+
className: r(f.nativeButtonReset, "inline-flex shrink-0 items-center justify-center border-s border-input text-muted-foreground transition-colors", se[D], f.rowHover, "disabled:pointer-events-none disabled:cursor-not-allowed", !C && "disabled:opacity-50"),
|
|
170
|
+
children: /* @__PURE__ */ L(B, {
|
|
171
|
+
"aria-hidden": "true",
|
|
172
|
+
className: _[D]
|
|
173
|
+
})
|
|
174
|
+
})
|
|
175
|
+
]
|
|
176
|
+
}) : /* @__PURE__ */ L(y, {
|
|
177
|
+
size: D,
|
|
178
|
+
ref: (e) => {
|
|
179
|
+
M.current = e, typeof i == "function" ? i(e) : i && (i.current = e);
|
|
180
|
+
},
|
|
181
|
+
type: "text",
|
|
182
|
+
inputMode: A > 0 ? "decimal" : "numeric",
|
|
183
|
+
placeholder: K,
|
|
184
|
+
onChange: P,
|
|
185
|
+
onBlur: F,
|
|
186
|
+
onKeyDown: b,
|
|
187
|
+
..."value" in t ? { value: S } : {},
|
|
188
|
+
defaultValue: ne,
|
|
189
|
+
disabled: C,
|
|
190
|
+
className: r("tabular-nums text-end", te),
|
|
191
|
+
...T
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
var K = O.forwardRef(G);
|
|
195
|
+
K.displayName = "DecimalInput";
|
|
196
|
+
//#endregion
|
|
197
|
+
//#region src/components/base/forms-numeric/percentage-input.tsx
|
|
198
|
+
var q = k(function({ decimalPlaces: e = 2, min: t = 0, max: n = 100, step: r, ...i }, a) {
|
|
199
|
+
return /* @__PURE__ */ L(K, {
|
|
200
|
+
className: "percentage-input--component",
|
|
201
|
+
ref: a,
|
|
202
|
+
decimalPlaces: e,
|
|
203
|
+
allowNegative: !1,
|
|
204
|
+
min: t,
|
|
205
|
+
max: n,
|
|
206
|
+
step: r,
|
|
207
|
+
endAddon: "%",
|
|
208
|
+
...i
|
|
209
|
+
});
|
|
210
|
+
});
|
|
211
|
+
q.displayName = "PercentageInput";
|
|
212
|
+
//#endregion
|
|
213
|
+
//#region src/components/base/forms-numeric/currency-input.tsx
|
|
214
|
+
var J = {
|
|
215
|
+
...V,
|
|
216
|
+
currencyAriaLabel: "Currency"
|
|
217
|
+
}, ce = {
|
|
218
|
+
USD: "$",
|
|
219
|
+
EUR: "€",
|
|
220
|
+
GBP: "£",
|
|
221
|
+
BGN: "лв",
|
|
222
|
+
JPY: "¥",
|
|
223
|
+
CNY: "¥",
|
|
224
|
+
CHF: "CHF",
|
|
225
|
+
CAD: "C$",
|
|
226
|
+
AUD: "A$"
|
|
227
|
+
}, Y = (e) => !e || e.length === 0 ? [] : e.map((e) => typeof e == "string" ? {
|
|
228
|
+
value: e,
|
|
229
|
+
label: `${ce[e] || e} ${e}`
|
|
230
|
+
} : e);
|
|
231
|
+
function X({ currency: t, defaultCurrency: o, currencies: s, onCurrencyChange: l, currencyPosition: u = "start", disableCurrencySelector: d = !1, currencyPlaceholder: f, currencyWidth: p = "w-28", currencyLabel: m, strings: h, invalid: _, disabled: y, onConfigError: b, size: x, ...te }, w) {
|
|
232
|
+
let { defaultScale: D } = e(), O = v(x, D), k = n(J, h), A = N(), F = P(() => Y(s), [s]), [z, ie] = I(o ?? F[0]?.value ?? ""), B = t !== void 0, V = B ? t : z;
|
|
233
|
+
M(() => {
|
|
234
|
+
let e = {
|
|
235
|
+
currency: t,
|
|
236
|
+
defaultCurrency: o,
|
|
237
|
+
disableCurrencySelector: d
|
|
238
|
+
};
|
|
239
|
+
d && typeof t == "string" && typeof o == "string" && t.trim() !== "" && o.trim() !== "" && t !== o && b?.("[CurrencyInput] currency/defaultCurrency mismatch while selector is disabled.", e), d && (typeof V != "string" || V.trim().length === 0) && b?.("[CurrencyInput] disableCurrencySelector is enabled but no currency is provided.", e);
|
|
240
|
+
}, [
|
|
241
|
+
t,
|
|
242
|
+
o,
|
|
243
|
+
d,
|
|
244
|
+
b,
|
|
245
|
+
V
|
|
246
|
+
]);
|
|
247
|
+
let H = j((e) => {
|
|
248
|
+
e !== null && (B || ie(e), l?.(e));
|
|
249
|
+
}, [B, l]), U = P(() => r("currency-input--selector-trigger", g(O), p), [O, p]), W = /* @__PURE__ */ R(c, {
|
|
250
|
+
gap: "xs",
|
|
251
|
+
className: "currency-input--selector",
|
|
252
|
+
children: [!!m && /* @__PURE__ */ L(i, {
|
|
253
|
+
htmlFor: A,
|
|
254
|
+
className: r("currency-input--selector-label text-inherit", "leading-6"),
|
|
255
|
+
children: m
|
|
256
|
+
}), /* @__PURE__ */ R(re, {
|
|
257
|
+
value: V,
|
|
258
|
+
onValueChange: (e) => H(e),
|
|
259
|
+
disabled: y || d,
|
|
260
|
+
children: [/* @__PURE__ */ L(S, {
|
|
261
|
+
id: A,
|
|
262
|
+
"aria-label": m || k.currencyAriaLabel,
|
|
263
|
+
"aria-invalid": _ || void 0,
|
|
264
|
+
iconClassName: ee.icon[O],
|
|
265
|
+
className: U,
|
|
266
|
+
children: /* @__PURE__ */ L(E, { placeholder: f ? /* @__PURE__ */ L(a, {
|
|
267
|
+
tag: "span",
|
|
268
|
+
size: "inherit",
|
|
269
|
+
type: "secondary",
|
|
270
|
+
lineHeight: "tight",
|
|
271
|
+
className: "text-inherit",
|
|
272
|
+
children: f
|
|
273
|
+
}) : void 0 })
|
|
274
|
+
}), /* @__PURE__ */ L(ne, { children: /* @__PURE__ */ L(C, { children: F.map((e) => /* @__PURE__ */ L(T, {
|
|
275
|
+
value: e.value,
|
|
276
|
+
size: O,
|
|
277
|
+
children: /* @__PURE__ */ L(a, {
|
|
278
|
+
tag: "span",
|
|
279
|
+
size: "inherit",
|
|
280
|
+
lineHeight: "tight",
|
|
281
|
+
className: "text-inherit",
|
|
282
|
+
children: e.label
|
|
283
|
+
})
|
|
284
|
+
}, e.value)) }) })]
|
|
285
|
+
})]
|
|
286
|
+
});
|
|
287
|
+
return /* @__PURE__ */ R("div", {
|
|
288
|
+
className: r("currency-input--component", "flex items-end gap-space-md"),
|
|
289
|
+
children: [
|
|
290
|
+
u === "start" && W,
|
|
291
|
+
/* @__PURE__ */ L("div", {
|
|
292
|
+
className: "currency-input--amount min-w-0 flex-1",
|
|
293
|
+
children: /* @__PURE__ */ L(K, {
|
|
294
|
+
ref: w,
|
|
295
|
+
size: O,
|
|
296
|
+
decimalPlaces: 2,
|
|
297
|
+
allowNegative: !1,
|
|
298
|
+
disabled: y,
|
|
299
|
+
invalid: _,
|
|
300
|
+
strings: {
|
|
301
|
+
decrement: k.decrement,
|
|
302
|
+
increment: k.increment
|
|
303
|
+
},
|
|
304
|
+
...te
|
|
305
|
+
})
|
|
306
|
+
}),
|
|
307
|
+
u === "end" && W
|
|
308
|
+
]
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
var Z = A(k(X));
|
|
312
|
+
Z.displayName = "CurrencyInput";
|
|
313
|
+
//#endregion
|
|
314
|
+
//#region src/components/base/forms-numeric/money-input.strings.ts
|
|
315
|
+
var le = {
|
|
316
|
+
originalValue: "Original value: {value}",
|
|
317
|
+
conversionWarning: "Currency will be converted from {from} to {to}."
|
|
318
|
+
};
|
|
319
|
+
function ue(e, t) {
|
|
320
|
+
return Object.entries(t).reduce((e, [t, n]) => e.replaceAll(`{${t}}`, n), e);
|
|
321
|
+
}
|
|
322
|
+
//#endregion
|
|
323
|
+
//#region src/components/base/forms-numeric/money-input.tsx
|
|
324
|
+
var de = ["USD", "EUR"];
|
|
325
|
+
function fe(e) {
|
|
326
|
+
let t = String(e ?? "").trim();
|
|
327
|
+
if (!t) return null;
|
|
328
|
+
let n = Number.parseFloat(t.replace(",", "."));
|
|
329
|
+
return Number.isFinite(n) ? n : null;
|
|
330
|
+
}
|
|
331
|
+
function pe(e) {
|
|
332
|
+
return typeof e == "string" ? e.trim() : "";
|
|
333
|
+
}
|
|
334
|
+
function me(e) {
|
|
335
|
+
return typeof e == "string" ? e : e.value;
|
|
336
|
+
}
|
|
337
|
+
var he = k(function(e, i) {
|
|
338
|
+
let { currency: o, defaultCurrency: s, currencies: d, onCurrencyChange: f, onChangeData: p, money: ee, label: m, hint: h, helperText: g, error: _, required: v, invalid: y, recordCurrency: x, showMigrationWarning: te = !0, migrationWarningMessage: S, showOriginalHint: ne = !0, controlStrings: C, controlClassName: re, strings: w, className: T, onChange: E, value: D, defaultValue: O, ...k } = e, A = t(), M = n(le, w), N = s ?? A.defaultCurrency ?? "USD", [ie, B] = I(N), V = o ?? ie, H = F(null), U = P(() => {
|
|
339
|
+
let e = d?.length ? d : [N, ...de], t = /* @__PURE__ */ new Map();
|
|
340
|
+
for (let n of e) {
|
|
341
|
+
let e = me(n);
|
|
342
|
+
t.has(e) || t.set(e, n);
|
|
343
|
+
}
|
|
344
|
+
let n = Array.from(t.values());
|
|
345
|
+
return t.has(V) ? n : [V, ...n];
|
|
346
|
+
}, [
|
|
347
|
+
V,
|
|
348
|
+
d,
|
|
349
|
+
N
|
|
350
|
+
]), W = x ?? ee?.recordCurrency ?? void 0, ae = ne ? pe(ee?.pair?.formatted) : "", oe = !!(W && V && W !== V), se = y ?? !!_, G = j((e) => {
|
|
351
|
+
H.current = e, typeof i == "function" ? i(e) : i && (i.current = e);
|
|
352
|
+
}, [i]), K = j((e) => {
|
|
353
|
+
E?.(e), p?.({
|
|
354
|
+
amount: fe(e.target.value),
|
|
355
|
+
currency: V
|
|
356
|
+
});
|
|
357
|
+
}, [
|
|
358
|
+
V,
|
|
359
|
+
E,
|
|
360
|
+
p
|
|
361
|
+
]), q = j((e) => {
|
|
362
|
+
o === void 0 && B(e), f?.(e), p?.({
|
|
363
|
+
amount: fe(H.current?.value ?? D ?? O),
|
|
364
|
+
currency: e
|
|
365
|
+
});
|
|
366
|
+
}, [
|
|
367
|
+
o,
|
|
368
|
+
O,
|
|
369
|
+
p,
|
|
370
|
+
f,
|
|
371
|
+
D
|
|
372
|
+
]), J = /* @__PURE__ */ L(Z, {
|
|
373
|
+
...k,
|
|
374
|
+
ref: G,
|
|
375
|
+
..."value" in e ? { value: D } : {},
|
|
376
|
+
defaultValue: O,
|
|
377
|
+
currency: V,
|
|
378
|
+
currencies: U,
|
|
379
|
+
onChange: K,
|
|
380
|
+
onCurrencyChange: q,
|
|
381
|
+
invalid: se,
|
|
382
|
+
required: v,
|
|
383
|
+
"aria-required": v ? !0 : k["aria-required"],
|
|
384
|
+
strings: C,
|
|
385
|
+
className: re
|
|
386
|
+
}), ce = !!(m || h || g || _ || v);
|
|
387
|
+
return /* @__PURE__ */ R(c, {
|
|
388
|
+
gap: "sm",
|
|
389
|
+
className: r("money-input--component", T),
|
|
390
|
+
children: [/* @__PURE__ */ R(c, {
|
|
391
|
+
gap: "xs",
|
|
392
|
+
className: "money-input--field",
|
|
393
|
+
children: [ce ? /* @__PURE__ */ L(b, {
|
|
394
|
+
label: m,
|
|
395
|
+
hint: h,
|
|
396
|
+
helperText: g,
|
|
397
|
+
error: _,
|
|
398
|
+
required: v,
|
|
399
|
+
children: J
|
|
400
|
+
}) : J, !!ae && !_ && /* @__PURE__ */ L(a, {
|
|
401
|
+
tag: "p",
|
|
402
|
+
size: "xs",
|
|
403
|
+
type: "secondary",
|
|
404
|
+
className: "money-input--original",
|
|
405
|
+
children: ue(M.originalValue, { value: ae })
|
|
406
|
+
})]
|
|
407
|
+
}), !!oe && te && /* @__PURE__ */ R(l, {
|
|
408
|
+
tone: "warning",
|
|
409
|
+
className: "money-input--warning",
|
|
410
|
+
children: [/* @__PURE__ */ L(z, { "aria-hidden": "true" }), /* @__PURE__ */ L(u, { children: S ?? ue(M.conversionWarning, {
|
|
411
|
+
from: W ?? "",
|
|
412
|
+
to: V
|
|
413
|
+
}) })]
|
|
414
|
+
})]
|
|
415
|
+
});
|
|
416
|
+
});
|
|
417
|
+
he.displayName = "MoneyInput";
|
|
418
|
+
//#endregion
|
|
419
|
+
//#region src/components/base/forms-numeric/rounding-mode-select.tsx
|
|
420
|
+
var ge = [
|
|
421
|
+
"floor",
|
|
422
|
+
"half_up",
|
|
423
|
+
"ceil"
|
|
424
|
+
], _e = {
|
|
425
|
+
floor: "Round down",
|
|
426
|
+
half_up: "Round half up",
|
|
427
|
+
ceil: "Round up"
|
|
428
|
+
}, ve = k(function(e, t) {
|
|
429
|
+
let n = Object.prototype.hasOwnProperty.call(e, "value"), { value: i, onValueChange: a, labels: o, placeholder: s, className: c, ...l } = e, u = P(() => ge.map((e) => ({
|
|
430
|
+
value: e,
|
|
431
|
+
label: o?.[e] ?? _e[e] ?? e
|
|
432
|
+
})), [o]), d = j((e) => {
|
|
433
|
+
a?.(e);
|
|
434
|
+
}, [a]);
|
|
435
|
+
return /* @__PURE__ */ L(w, {
|
|
436
|
+
ref: t,
|
|
437
|
+
className: r("rounding-mode-select--component", c),
|
|
438
|
+
options: u,
|
|
439
|
+
...n ? { value: i } : {},
|
|
440
|
+
onValueChange: d,
|
|
441
|
+
placeholder: s,
|
|
442
|
+
...l
|
|
443
|
+
});
|
|
444
|
+
});
|
|
445
|
+
ve.displayName = "RoundingModeSelect";
|
|
446
|
+
//#endregion
|
|
447
|
+
//#region src/components/base/forms-numeric/dimensions-input.tsx
|
|
448
|
+
var ye = {
|
|
449
|
+
width: "Width",
|
|
450
|
+
height: "Height",
|
|
451
|
+
depth: "Depth",
|
|
452
|
+
unit: "Unit",
|
|
453
|
+
unitLabel: "",
|
|
454
|
+
unitPlaceholder: "",
|
|
455
|
+
widthPlaceholder: "0.00",
|
|
456
|
+
heightPlaceholder: "0.00",
|
|
457
|
+
depthPlaceholder: "0.00"
|
|
458
|
+
}, be = [
|
|
459
|
+
{
|
|
460
|
+
value: "mm",
|
|
461
|
+
label: "mm"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
value: "cm",
|
|
465
|
+
label: "cm"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
value: "m",
|
|
469
|
+
label: "m"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
value: "in",
|
|
473
|
+
label: "in"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
value: "ft",
|
|
477
|
+
label: "ft"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
value: "px",
|
|
481
|
+
label: "px"
|
|
482
|
+
}
|
|
483
|
+
], xe = (e, t) => {
|
|
484
|
+
if (!e) return {
|
|
485
|
+
width: "",
|
|
486
|
+
height: "",
|
|
487
|
+
depth: ""
|
|
488
|
+
};
|
|
489
|
+
if (t === "string" && typeof e == "string") {
|
|
490
|
+
let t = e.split("x").map((e) => e.trim());
|
|
491
|
+
return {
|
|
492
|
+
width: t[0] || "",
|
|
493
|
+
height: t[1] || "",
|
|
494
|
+
depth: t[2] || ""
|
|
495
|
+
};
|
|
496
|
+
}
|
|
497
|
+
return t === "object" && typeof e == "object" ? {
|
|
498
|
+
width: e.width || "",
|
|
499
|
+
height: e.height || "",
|
|
500
|
+
depth: e.depth || ""
|
|
501
|
+
} : {
|
|
502
|
+
width: "",
|
|
503
|
+
height: "",
|
|
504
|
+
depth: ""
|
|
505
|
+
};
|
|
506
|
+
}, Se = (e, t, n, r) => r === "string" ? `${e}x${t}x${n}` : {
|
|
507
|
+
width: e,
|
|
508
|
+
height: t,
|
|
509
|
+
depth: n
|
|
510
|
+
}, Q = O.forwardRef(function({ value: t, defaultValue: o, format: s = "string", unit: l, defaultUnit: u = "cm", onChange: d, onUnitChange: f, decimalPlaces: p = 2, min: m = 0, max: _, showUnitSelector: y = !0, disableUnitSelector: b = !1, layout: w = "horizontal", invalid: O, disabled: k = !1, className: A, size: P, strings: z, id: ie, name: B, onBlur: V, onValueChange: H, readOnly: U, required: W, "aria-label": ae, "aria-labelledby": oe, "aria-describedby": se, "aria-invalid": G, "aria-required": q }, J) {
|
|
511
|
+
let { defaultScale: ce } = e(), Y = v(P, ce), X = n(ye, z), { invalid: Z, ariaInvalid: le } = x(O, G), ue = X.width, de = X.height, fe = X.depth, pe = X.unitLabel, me = X.unitPlaceholder || X.unit, he = X.widthPlaceholder, ge = X.heightPlaceholder, _e = X.depthPlaceholder, ve = w === "horizontal", Q = w === "vertical", Ce = y === !0, we = pe.length > 0, Te = Q ? ue : "", Ee = Q ? de : "", De = Q ? fe : "", Oe = N(), $ = {
|
|
512
|
+
width: `${Oe}-width`,
|
|
513
|
+
height: `${Oe}-height`,
|
|
514
|
+
depth: `${Oe}-depth`,
|
|
515
|
+
unit: `${Oe}-unit`
|
|
516
|
+
}, ke = r("text-inherit", h), Ae = t !== void 0, je = l !== void 0, Me = xe(Ae ? t : o, s), [Ne, Pe] = I(Me.width), [Fe, Ie] = I(Me.height), [Le, Re] = I(Me.depth), [ze, Be] = I(l || u), Ve = xe(t, s), He = Ae ? Ve.width : Ne, Ue = Ae ? Ve.height : Fe, We = Ae ? Ve.depth : Le, Ge = je ? l : ze, Ke = F(null), qe = He || Ue || We ? String(Se(He, Ue, We, "string")) : "";
|
|
517
|
+
M(() => {
|
|
518
|
+
if (Ae) {
|
|
519
|
+
let e = xe(t, s);
|
|
520
|
+
Pe(e.width), Ie(e.height), Re(e.depth);
|
|
521
|
+
}
|
|
522
|
+
}, [
|
|
523
|
+
t,
|
|
524
|
+
s,
|
|
525
|
+
Ae
|
|
526
|
+
]);
|
|
527
|
+
let Je = j((e, t) => {
|
|
528
|
+
let n = He, r = Ue, i = We;
|
|
529
|
+
e === "width" && (n = t), e === "height" && (r = t), e === "depth" && (i = t), Ae || (Pe(n), Ie(r), Re(i));
|
|
530
|
+
let a = Se(n, r, i, s);
|
|
531
|
+
d?.({ target: { value: a } }), H?.(a);
|
|
532
|
+
}, [
|
|
533
|
+
He,
|
|
534
|
+
Ue,
|
|
535
|
+
We,
|
|
536
|
+
Ae,
|
|
537
|
+
s,
|
|
538
|
+
d,
|
|
539
|
+
H
|
|
540
|
+
]), Ye = j((e) => {
|
|
541
|
+
if (e === null) return;
|
|
542
|
+
let t = e;
|
|
543
|
+
je || Be(t), f?.(t);
|
|
544
|
+
}, [je, f]), Xe = /* @__PURE__ */ R(c, {
|
|
545
|
+
gap: "xs",
|
|
546
|
+
children: [!!we && Q && /* @__PURE__ */ L(i, {
|
|
547
|
+
htmlFor: $.unit,
|
|
548
|
+
className: ke,
|
|
549
|
+
children: pe
|
|
550
|
+
}), /* @__PURE__ */ R(re, {
|
|
551
|
+
value: Ge,
|
|
552
|
+
onValueChange: (e) => Ye(e),
|
|
553
|
+
disabled: k || b,
|
|
554
|
+
readOnly: U,
|
|
555
|
+
children: [/* @__PURE__ */ L(S, {
|
|
556
|
+
id: $.unit,
|
|
557
|
+
"aria-label": pe || X.unit,
|
|
558
|
+
"aria-invalid": Z || void 0,
|
|
559
|
+
iconClassName: ee.icon[Y],
|
|
560
|
+
className: r(g(Y), w === "vertical" ? "w-full" : "w-full @md/dimensions-input:w-32"),
|
|
561
|
+
children: /* @__PURE__ */ L(E, { placeholder: /* @__PURE__ */ L(a, {
|
|
562
|
+
tag: "span",
|
|
563
|
+
size: "inherit",
|
|
564
|
+
type: "secondary",
|
|
565
|
+
lineHeight: "tight",
|
|
566
|
+
className: "text-inherit",
|
|
567
|
+
children: me
|
|
568
|
+
}) })
|
|
569
|
+
}), /* @__PURE__ */ L(ne, {
|
|
570
|
+
render: /* @__PURE__ */ L("div", { ref: Ke }),
|
|
571
|
+
children: /* @__PURE__ */ L(C, { children: be.map((e) => /* @__PURE__ */ L(T, {
|
|
572
|
+
value: e.value,
|
|
573
|
+
size: Y,
|
|
574
|
+
children: /* @__PURE__ */ L(a, {
|
|
575
|
+
tag: "span",
|
|
576
|
+
size: "inherit",
|
|
577
|
+
lineHeight: "tight",
|
|
578
|
+
className: "text-inherit",
|
|
579
|
+
children: e.label
|
|
580
|
+
})
|
|
581
|
+
}, e.value)) })
|
|
582
|
+
})]
|
|
583
|
+
})]
|
|
584
|
+
});
|
|
585
|
+
return /* @__PURE__ */ R(c, {
|
|
586
|
+
ref: J,
|
|
587
|
+
id: ie,
|
|
588
|
+
role: "group",
|
|
589
|
+
"aria-label": ae,
|
|
590
|
+
"aria-labelledby": oe,
|
|
591
|
+
"aria-describedby": se,
|
|
592
|
+
"aria-invalid": le,
|
|
593
|
+
onBlur: te(V, Ke),
|
|
594
|
+
gap: "md",
|
|
595
|
+
className: r("dimensions-input--component @container/dimensions-input", A),
|
|
596
|
+
children: [B && /* @__PURE__ */ L("input", {
|
|
597
|
+
type: "hidden",
|
|
598
|
+
name: B,
|
|
599
|
+
value: qe,
|
|
600
|
+
disabled: k
|
|
601
|
+
}), /* @__PURE__ */ R(c, {
|
|
602
|
+
direction: w === "vertical" ? "vertical" : "horizontal",
|
|
603
|
+
gap: "md",
|
|
604
|
+
align: w === "vertical" ? "stretch" : "start",
|
|
605
|
+
className: "dimensions-input--fields",
|
|
606
|
+
children: [
|
|
607
|
+
/* @__PURE__ */ R(c, {
|
|
608
|
+
gap: "xs",
|
|
609
|
+
className: "min-w-0 flex-1",
|
|
610
|
+
children: [
|
|
611
|
+
!!Q && !!Te && /* @__PURE__ */ L(i, {
|
|
612
|
+
htmlFor: $.width,
|
|
613
|
+
className: ke,
|
|
614
|
+
children: Te
|
|
615
|
+
}),
|
|
616
|
+
/* @__PURE__ */ L(K, {
|
|
617
|
+
id: $.width,
|
|
618
|
+
size: Y,
|
|
619
|
+
value: He,
|
|
620
|
+
onChange: (e) => Je("width", e.target.value),
|
|
621
|
+
placeholder: he,
|
|
622
|
+
decimalPlaces: p,
|
|
623
|
+
min: m,
|
|
624
|
+
max: _,
|
|
625
|
+
disabled: k,
|
|
626
|
+
readOnly: U,
|
|
627
|
+
required: W,
|
|
628
|
+
"aria-required": q,
|
|
629
|
+
normalizeOnBlur: !U,
|
|
630
|
+
invalid: Z,
|
|
631
|
+
"aria-label": ue
|
|
632
|
+
}),
|
|
633
|
+
!!ve && /* @__PURE__ */ L(a, {
|
|
634
|
+
size: "xs",
|
|
635
|
+
type: "secondary",
|
|
636
|
+
className: "text-center",
|
|
637
|
+
children: ue
|
|
638
|
+
})
|
|
639
|
+
]
|
|
640
|
+
}),
|
|
641
|
+
w === "horizontal" && /* @__PURE__ */ L("div", {
|
|
642
|
+
"aria-hidden": "true",
|
|
643
|
+
className: r("dimensions-input--separator flex items-center", D[Y]),
|
|
644
|
+
children: /* @__PURE__ */ L(a, {
|
|
645
|
+
tag: "span",
|
|
646
|
+
type: "secondary",
|
|
647
|
+
children: "×"
|
|
648
|
+
})
|
|
649
|
+
}),
|
|
650
|
+
/* @__PURE__ */ R(c, {
|
|
651
|
+
gap: "xs",
|
|
652
|
+
className: "min-w-0 flex-1",
|
|
653
|
+
children: [
|
|
654
|
+
!!Q && !!Ee && /* @__PURE__ */ L(i, {
|
|
655
|
+
htmlFor: $.height,
|
|
656
|
+
className: ke,
|
|
657
|
+
children: Ee
|
|
658
|
+
}),
|
|
659
|
+
/* @__PURE__ */ L(K, {
|
|
660
|
+
id: $.height,
|
|
661
|
+
size: Y,
|
|
662
|
+
value: Ue,
|
|
663
|
+
onChange: (e) => Je("height", e.target.value),
|
|
664
|
+
placeholder: ge,
|
|
665
|
+
decimalPlaces: p,
|
|
666
|
+
min: m,
|
|
667
|
+
max: _,
|
|
668
|
+
disabled: k,
|
|
669
|
+
readOnly: U,
|
|
670
|
+
required: W,
|
|
671
|
+
"aria-required": q,
|
|
672
|
+
normalizeOnBlur: !U,
|
|
673
|
+
invalid: Z,
|
|
674
|
+
"aria-label": de
|
|
675
|
+
}),
|
|
676
|
+
!!ve && /* @__PURE__ */ L(a, {
|
|
677
|
+
size: "xs",
|
|
678
|
+
type: "secondary",
|
|
679
|
+
className: "text-center",
|
|
680
|
+
children: de
|
|
681
|
+
})
|
|
682
|
+
]
|
|
683
|
+
}),
|
|
684
|
+
w === "horizontal" && /* @__PURE__ */ L("div", {
|
|
685
|
+
"aria-hidden": "true",
|
|
686
|
+
className: r("dimensions-input--separator flex items-center", D[Y]),
|
|
687
|
+
children: /* @__PURE__ */ L(a, {
|
|
688
|
+
tag: "span",
|
|
689
|
+
type: "secondary",
|
|
690
|
+
children: "×"
|
|
691
|
+
})
|
|
692
|
+
}),
|
|
693
|
+
/* @__PURE__ */ R(c, {
|
|
694
|
+
gap: "xs",
|
|
695
|
+
className: "min-w-0 flex-1",
|
|
696
|
+
children: [
|
|
697
|
+
!!Q && !!De && /* @__PURE__ */ L(i, {
|
|
698
|
+
htmlFor: $.depth,
|
|
699
|
+
className: ke,
|
|
700
|
+
children: De
|
|
701
|
+
}),
|
|
702
|
+
/* @__PURE__ */ L(K, {
|
|
703
|
+
id: $.depth,
|
|
704
|
+
size: Y,
|
|
705
|
+
value: We,
|
|
706
|
+
onChange: (e) => Je("depth", e.target.value),
|
|
707
|
+
placeholder: _e,
|
|
708
|
+
decimalPlaces: p,
|
|
709
|
+
min: m,
|
|
710
|
+
max: _,
|
|
711
|
+
disabled: k,
|
|
712
|
+
readOnly: U,
|
|
713
|
+
required: W,
|
|
714
|
+
"aria-required": q,
|
|
715
|
+
normalizeOnBlur: !U,
|
|
716
|
+
invalid: Z,
|
|
717
|
+
"aria-label": fe
|
|
718
|
+
}),
|
|
719
|
+
!!ve && /* @__PURE__ */ L(a, {
|
|
720
|
+
size: "xs",
|
|
721
|
+
type: "secondary",
|
|
722
|
+
className: "text-center",
|
|
723
|
+
children: fe
|
|
724
|
+
})
|
|
725
|
+
]
|
|
726
|
+
}),
|
|
727
|
+
!!Ce && /* @__PURE__ */ R(c, {
|
|
728
|
+
gap: "xs",
|
|
729
|
+
className: r("dimensions-input--unit", w === "vertical" ? "w-full" : "w-full basis-full pt-0 @md/dimensions-input:w-32 @md/dimensions-input:basis-32 @md/dimensions-input:shrink-0"),
|
|
730
|
+
children: [Xe, !!ve && /* @__PURE__ */ L(a, {
|
|
731
|
+
size: "xs",
|
|
732
|
+
type: "secondary",
|
|
733
|
+
className: "text-center",
|
|
734
|
+
children: we ? pe : me
|
|
735
|
+
})]
|
|
736
|
+
})
|
|
737
|
+
]
|
|
738
|
+
})]
|
|
739
|
+
});
|
|
740
|
+
});
|
|
741
|
+
Q.displayName = "DimensionsInput";
|
|
742
|
+
//#endregion
|
|
743
|
+
//#region src/components/base/forms-numeric/weight-input.tsx
|
|
744
|
+
var Ce = {
|
|
745
|
+
unitLabel: "",
|
|
746
|
+
unitAriaLabel: "Unit",
|
|
747
|
+
unitPlaceholder: ""
|
|
748
|
+
}, we = [
|
|
749
|
+
{
|
|
750
|
+
value: "g",
|
|
751
|
+
label: "g"
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
value: "kg",
|
|
755
|
+
label: "kg"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
value: "lb",
|
|
759
|
+
label: "lb"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
value: "oz",
|
|
763
|
+
label: "oz"
|
|
764
|
+
}
|
|
765
|
+
], Te = O.forwardRef(function({ id: t, name: o, onBlur: s, onValueChange: l, readOnly: u, required: d, "aria-label": f, "aria-labelledby": p, "aria-describedby": m, "aria-invalid": h, "aria-required": _, value: y, defaultValue: b, unit: x, defaultUnit: w = "g", onChange: D, onUnitChange: O, decimalPlaces: k = 2, min: A = 0, max: M, showUnitSelector: z = !0, disableUnitSelector: ie = !1, unitWidth: B = "w-24", strings: V, invalid: H, disabled: U = !1, size: W, className: ae }, oe) {
|
|
766
|
+
let { defaultScale: se } = e(), G = v(W, se), q = n(Ce, V), J = y !== void 0, ce = x !== void 0, [Y, X] = I(b ?? ""), [Z, le] = I(x ?? w), ue = J ? y ?? "" : Y, de = ce ? x ?? w : Z, fe = F(null), pe = j((e) => {
|
|
767
|
+
let t = e.target.value;
|
|
768
|
+
J || X(t), D?.({ target: { value: t } }), l?.(t);
|
|
769
|
+
}, [
|
|
770
|
+
J,
|
|
771
|
+
D,
|
|
772
|
+
l
|
|
773
|
+
]), me = j((e) => {
|
|
774
|
+
if (e === null) return;
|
|
775
|
+
let t = e;
|
|
776
|
+
ce || le(t), O?.(t);
|
|
777
|
+
}, [ce, O]), he = P(() => we, []), ge = q.unitLabel !== "", _e = N();
|
|
778
|
+
return /* @__PURE__ */ R("div", {
|
|
779
|
+
ref: oe,
|
|
780
|
+
className: r("weight-input--component", "flex items-end gap-space-md", ae),
|
|
781
|
+
onBlur: te(s, fe),
|
|
782
|
+
children: [
|
|
783
|
+
o && /* @__PURE__ */ L("input", {
|
|
784
|
+
type: "hidden",
|
|
785
|
+
name: o,
|
|
786
|
+
value: ue,
|
|
787
|
+
disabled: U
|
|
788
|
+
}),
|
|
789
|
+
/* @__PURE__ */ L("div", {
|
|
790
|
+
className: "flex-1",
|
|
791
|
+
children: /* @__PURE__ */ L(K, {
|
|
792
|
+
id: t,
|
|
793
|
+
"aria-label": f,
|
|
794
|
+
"aria-labelledby": p,
|
|
795
|
+
"aria-describedby": m,
|
|
796
|
+
"aria-invalid": H ? !0 : h,
|
|
797
|
+
"aria-required": _,
|
|
798
|
+
size: G,
|
|
799
|
+
value: ue,
|
|
800
|
+
onChange: pe,
|
|
801
|
+
decimalPlaces: k,
|
|
802
|
+
allowNegative: !1,
|
|
803
|
+
min: A,
|
|
804
|
+
max: M,
|
|
805
|
+
disabled: U,
|
|
806
|
+
readOnly: u,
|
|
807
|
+
required: d,
|
|
808
|
+
normalizeOnBlur: !u,
|
|
809
|
+
invalid: H
|
|
810
|
+
})
|
|
811
|
+
}),
|
|
812
|
+
!!z && /* @__PURE__ */ R(c, {
|
|
813
|
+
gap: "xs",
|
|
814
|
+
children: [!!ge && /* @__PURE__ */ L(i, {
|
|
815
|
+
htmlFor: _e,
|
|
816
|
+
className: r("text-inherit", "leading-6"),
|
|
817
|
+
children: q.unitLabel
|
|
818
|
+
}), /* @__PURE__ */ R(re, {
|
|
819
|
+
value: de,
|
|
820
|
+
onValueChange: (e) => me(e),
|
|
821
|
+
disabled: U || ie,
|
|
822
|
+
readOnly: u,
|
|
823
|
+
children: [/* @__PURE__ */ L(S, {
|
|
824
|
+
id: _e,
|
|
825
|
+
"aria-label": q.unitLabel || q.unitAriaLabel,
|
|
826
|
+
"aria-invalid": H || void 0,
|
|
827
|
+
iconClassName: ee.icon[G],
|
|
828
|
+
className: r(g(G), B),
|
|
829
|
+
children: /* @__PURE__ */ L(E, { placeholder: q.unitPlaceholder ? /* @__PURE__ */ L(a, {
|
|
830
|
+
tag: "span",
|
|
831
|
+
size: "inherit",
|
|
832
|
+
type: "secondary",
|
|
833
|
+
lineHeight: "tight",
|
|
834
|
+
className: "text-inherit",
|
|
835
|
+
children: q.unitPlaceholder
|
|
836
|
+
}) : void 0 })
|
|
837
|
+
}), /* @__PURE__ */ L(ne, {
|
|
838
|
+
render: /* @__PURE__ */ L("div", { ref: fe }),
|
|
839
|
+
children: /* @__PURE__ */ L(C, { children: he.map((e) => /* @__PURE__ */ L(T, {
|
|
840
|
+
value: e.value,
|
|
841
|
+
size: G,
|
|
842
|
+
children: /* @__PURE__ */ L(a, {
|
|
843
|
+
tag: "span",
|
|
844
|
+
size: "inherit",
|
|
845
|
+
lineHeight: "tight",
|
|
846
|
+
className: "text-inherit",
|
|
847
|
+
children: e.label
|
|
848
|
+
})
|
|
849
|
+
}, e.value)) })
|
|
850
|
+
})]
|
|
851
|
+
})]
|
|
852
|
+
})
|
|
853
|
+
]
|
|
854
|
+
});
|
|
855
|
+
});
|
|
856
|
+
Te.displayName = "WeightInput";
|
|
857
|
+
//#endregion
|
|
858
|
+
//#region src/components/base/forms-numeric/coordinates-input.tsx
|
|
859
|
+
var Ee = {
|
|
860
|
+
latLabel: "",
|
|
861
|
+
lngLabel: "",
|
|
862
|
+
latPlaceholder: "",
|
|
863
|
+
lngPlaceholder: "",
|
|
864
|
+
previewLinkLabel: "",
|
|
865
|
+
latAccessibleLabel: "Latitude",
|
|
866
|
+
lngAccessibleLabel: "Longitude"
|
|
867
|
+
}, De = (e, t) => {
|
|
868
|
+
if (!e) return {
|
|
869
|
+
lat: "",
|
|
870
|
+
lng: ""
|
|
871
|
+
};
|
|
872
|
+
if (t === "string" && typeof e == "string") {
|
|
873
|
+
let [t, n] = e.split(",").map((e) => e.trim());
|
|
874
|
+
return {
|
|
875
|
+
lat: t ?? "",
|
|
876
|
+
lng: n ?? ""
|
|
877
|
+
};
|
|
878
|
+
}
|
|
879
|
+
return t === "object" && typeof e == "object" ? {
|
|
880
|
+
lat: e.lat ?? "",
|
|
881
|
+
lng: e.lng ?? ""
|
|
882
|
+
} : {
|
|
883
|
+
lat: "",
|
|
884
|
+
lng: ""
|
|
885
|
+
};
|
|
886
|
+
}, Oe = (e, t, n) => n === "string" ? `${e},${t}` : {
|
|
887
|
+
lat: e,
|
|
888
|
+
lng: t
|
|
889
|
+
}, $ = (e, t, n) => {
|
|
890
|
+
if (!e) return !1;
|
|
891
|
+
let r = Number(e);
|
|
892
|
+
return Number.isFinite(r) && r >= t && r <= n;
|
|
893
|
+
}, ke = O.forwardRef(function({ value: e, defaultValue: t, format: i = "object", onChange: a, decimalPlaces: l = 6, showPreviewLink: u = !0, strings: f, invalid: p, className: ee, disabled: m, size: h, id: g, name: _, onBlur: v, onValueChange: y, readOnly: S, required: ne, "aria-label": C, "aria-labelledby": re, "aria-describedby": w, "aria-invalid": T, "aria-required": E }, D) {
|
|
894
|
+
let O = n(Ee, f), { invalid: k, ariaInvalid: A } = x(p, T), N = e !== void 0, F = De(N ? e : t, i), [z, ie] = I(F.lat), [B, V] = I(F.lng), H = De(e, i), U = N ? H.lat : z, W = N ? H.lng : B, ae = U || W ? String(Oe(U, W, "string")) : "";
|
|
895
|
+
M(() => {
|
|
896
|
+
N && (ie(H.lat), V(H.lng));
|
|
897
|
+
}, [
|
|
898
|
+
N,
|
|
899
|
+
H.lat,
|
|
900
|
+
H.lng
|
|
901
|
+
]);
|
|
902
|
+
let oe = j((e, t) => {
|
|
903
|
+
N || (ie(e), V(t));
|
|
904
|
+
let n = Oe(e, t, i);
|
|
905
|
+
a?.({ target: { value: n } }), y?.(n);
|
|
906
|
+
}, [
|
|
907
|
+
N,
|
|
908
|
+
a,
|
|
909
|
+
y,
|
|
910
|
+
i
|
|
911
|
+
]), se = P(() => {
|
|
912
|
+
let e = $(U, -90, 90), t = $(W, -180, 180);
|
|
913
|
+
return !e || !t ? null : `https://www.google.com/maps?q=${encodeURIComponent(`${U},${W}`)}`;
|
|
914
|
+
}, [U, W]);
|
|
915
|
+
return /* @__PURE__ */ R(c, {
|
|
916
|
+
ref: D,
|
|
917
|
+
id: g,
|
|
918
|
+
role: "group",
|
|
919
|
+
"aria-label": C,
|
|
920
|
+
"aria-labelledby": re,
|
|
921
|
+
"aria-describedby": w,
|
|
922
|
+
"aria-invalid": A,
|
|
923
|
+
onBlur: te(v),
|
|
924
|
+
gap: "lg",
|
|
925
|
+
className: r("coordinates-input--component", ee),
|
|
926
|
+
children: [
|
|
927
|
+
_ && /* @__PURE__ */ L("input", {
|
|
928
|
+
type: "hidden",
|
|
929
|
+
name: _,
|
|
930
|
+
value: ae,
|
|
931
|
+
disabled: m
|
|
932
|
+
}),
|
|
933
|
+
/* @__PURE__ */ R(s, {
|
|
934
|
+
columns: {
|
|
935
|
+
base: 1,
|
|
936
|
+
md: 2
|
|
937
|
+
},
|
|
938
|
+
gap: d.related,
|
|
939
|
+
children: [/* @__PURE__ */ L(b, {
|
|
940
|
+
label: O.latLabel || void 0,
|
|
941
|
+
children: /* @__PURE__ */ L(K, {
|
|
942
|
+
placeholder: O.latPlaceholder || void 0,
|
|
943
|
+
"aria-label": O.latLabel ? void 0 : O.latAccessibleLabel || void 0,
|
|
944
|
+
value: U,
|
|
945
|
+
onChange: (e) => oe(e.target.value, W),
|
|
946
|
+
decimalPlaces: l,
|
|
947
|
+
allowNegative: !0,
|
|
948
|
+
min: -90,
|
|
949
|
+
max: 90,
|
|
950
|
+
invalid: k,
|
|
951
|
+
disabled: m,
|
|
952
|
+
readOnly: S,
|
|
953
|
+
required: ne,
|
|
954
|
+
"aria-required": E,
|
|
955
|
+
normalizeOnBlur: !S,
|
|
956
|
+
size: h
|
|
957
|
+
})
|
|
958
|
+
}), /* @__PURE__ */ L(b, {
|
|
959
|
+
label: O.lngLabel || void 0,
|
|
960
|
+
children: /* @__PURE__ */ L(K, {
|
|
961
|
+
placeholder: O.lngPlaceholder || void 0,
|
|
962
|
+
"aria-label": O.lngLabel ? void 0 : O.lngAccessibleLabel || void 0,
|
|
963
|
+
value: W,
|
|
964
|
+
onChange: (e) => oe(U, e.target.value),
|
|
965
|
+
decimalPlaces: l,
|
|
966
|
+
allowNegative: !0,
|
|
967
|
+
min: -180,
|
|
968
|
+
max: 180,
|
|
969
|
+
invalid: k,
|
|
970
|
+
disabled: m,
|
|
971
|
+
readOnly: S,
|
|
972
|
+
required: ne,
|
|
973
|
+
"aria-required": E,
|
|
974
|
+
normalizeOnBlur: !S,
|
|
975
|
+
size: h
|
|
976
|
+
})
|
|
977
|
+
})]
|
|
978
|
+
}),
|
|
979
|
+
!!u && !!se && !!O.previewLinkLabel && /* @__PURE__ */ L(o, {
|
|
980
|
+
href: se,
|
|
981
|
+
type: "secondary",
|
|
982
|
+
underline: !1,
|
|
983
|
+
children: O.previewLinkLabel
|
|
984
|
+
})
|
|
985
|
+
]
|
|
986
|
+
});
|
|
987
|
+
});
|
|
988
|
+
ke.displayName = "CoordinatesInput";
|
|
989
|
+
//#endregion
|
|
990
|
+
export { Q as a, he as c, J as d, q as f, Ce as i, le as l, V as m, Ee as n, ye as o, K as p, Te as r, ve as s, ke as t, Z as u };
|
|
991
|
+
|
|
992
|
+
//# sourceMappingURL=forms-numeric-DOBswjKj.js.map
|