@povio/ui 3.4.0-rc.25 → 3.4.0-rc.27
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/dist/{Accordion-BLPm2118.js → Accordion-BKBl-2EO.js} +4 -3
- package/dist/{Autocomplete-Ce3ygKxG.d.ts → Autocomplete-0tckACUz.d.ts} +1 -1
- package/dist/{BottomSheet-BWKej2PR.d.ts → BottomSheet-BZXBtOHF.d.ts} +1 -2
- package/dist/{BottomSheet-BNGGxiX7.js → BottomSheet-CUIKvr7g.js} +8 -52
- package/dist/BottomSheet.lazy-DT02808T.d.ts +5 -0
- package/dist/{Breadcrumbs-DentRJc_.js → Breadcrumbs-D0mblHwu.js} +8 -7
- package/dist/{Button-oSE-CM83.js → Button-D09S1dNt.js} +3 -2
- package/dist/{Button-CtPMeT8f.js → Button-D9J5wkMv.js} +3 -3
- package/dist/{Calendar-CzDZnIF0.js → Calendar-HJ-cFPap.js} +13 -11
- package/dist/{Checkbox-Feyideqw.js → Checkbox-B0w_4Ri0.js} +6 -5
- package/dist/DOMFunctions-BrQjsnDh.js +52 -0
- package/dist/{DatePicker-O55fFlKg.js → DatePicker-DZgmU61j.js} +9 -9
- package/dist/{DatePickerInput-CQKtbsQd.js → DatePickerInput-97Ks0udv.js} +6 -6
- package/dist/{DateRangePicker-CnxuqAB1.js → DateRangePicker-LFJ2iqWM.js} +15 -13
- package/dist/{DateTimePicker-B39ywgjx.js → DateTimePicker-Bk1R38wj.js} +9 -9
- package/dist/{Dialog-DpLXaUXz.js → Dialog-Bl7F9FUP.js} +13 -11
- package/dist/Drawer-BkPPB5DQ.js +98 -0
- package/dist/{FileTrigger-BSzrj50r.js → FileTrigger-CjvQGNXu.js} +11 -10
- package/dist/{FileUpload-CnYu5cmB.js → FileUpload-DWqPr5wM.js} +6 -6
- package/dist/{Form-DsbBBmgz.d.ts → Form-BX_x2VGS.d.ts} +1 -1
- package/dist/{FormField-ChDNTHr4.js → FormField-Cl-t5Wi1.js} +10 -34
- package/dist/FormFieldHeaderTooltip-C3nmuFKW.js +38 -0
- package/dist/InlineTooltipWrapper-7ePcpH9g.js +24 -0
- package/dist/{Input-B4FVIWxn.js → Input-BefLtZJe.js} +2 -1
- package/dist/{InputItem-D4UmXpyc.js → InputItem-DY7YW-n3.js} +11 -11
- package/dist/{InputUpload-CAk3IStC.js → InputUpload-BoAAS7eC.js} +6 -6
- package/dist/{Inputs-CnwGtVmt.d.ts → Inputs-B5F_klPo.d.ts} +1 -1
- package/dist/{Inputs-4vWHEAZ1.js → Inputs-BbCxYUZh.js} +1 -1
- package/dist/{Label-a10cLlQM.js → Label-BVczUvgv.js} +1 -1
- package/dist/{Link-iPOFlrxY.js → Link-BWbPxs6p.js} +2 -1
- package/dist/{Link-vPV4s0c3.js → Link-EHxXHf53.js} +1 -1
- package/dist/{ListBox-BCW74bzR.js → ListBox-Ck1UjeGo.js} +6 -5
- package/dist/{Menu-DF3r5ssn.js → Menu-fXWnROTU.js} +4 -4
- package/dist/{Menu-CVgRPAB3.d.ts → Menu-ucX0h-jq.d.ts} +1 -1
- package/dist/{MenuDesktop-CEftscnb.js → MenuDesktop-C3_I4fdd.js} +1 -1
- package/dist/{MenuItem-xJq_qdIf.d.ts → MenuItem--lQvt0VV.d.ts} +1 -1
- package/dist/{Modal-HBOqpsZ3.js → Modal-UhtruHmf.js} +4 -3
- package/dist/{Modal-DdKOgTpG.js → Modal-zrXMGm_L.js} +2 -2
- package/dist/{NumberRangeInput-CBM_ycX_.js → NumberRangeInput-C9svqxJ9.js} +7 -7
- package/dist/{OverlayArrow-Bz_8bYjT.js → OverlayArrow-CyFI2DhX.js} +11 -44
- package/dist/{PaginationList-B27QL6gG.js → PaginationList-DcArYsq1.js} +1 -1
- package/dist/{QuerySelect-CuZjxrle.d.ts → QuerySelect-tupQOlAT.d.ts} +2 -2
- package/dist/{RadioGroup-DbMmwkLQ.js → RadioGroup-lA8iM1Ry.js} +10 -8
- package/dist/{ResponsivePopover-C8IriWcI.d.ts → ResponsivePopover-B-Z9sFxq.d.ts} +2 -1
- package/dist/{Segment--coTx1BD.js → Segment-BAVcQyuY.js} +3 -3
- package/dist/{Select-C_cXfp8z.js → Select-BZFSEGvs.js} +3 -3
- package/dist/{Select-BQ9YJzFg.d.ts → Select-Do5qWHLj.d.ts} +1 -1
- package/dist/{SelectBase-Ds3nqzVg.d.ts → SelectBase-aSvWd7Cx.d.ts} +1 -1
- package/dist/{SelectionIndicator-BiAHPBz2.js → SelectionIndicator-BvWiZS2N.js} +2 -2
- package/dist/{Slider-YdD68ygp.js → Slider-CGESXeRj.js} +9 -8
- package/dist/{SplitButton-Cv9ej6Or.d.ts → SplitButton-DxrWH3EX.d.ts} +1 -1
- package/dist/{Stepper-Cc7qNjch.js → Stepper-CSfhZBK1.js} +1 -1
- package/dist/TableDnd-CuHxANWh.js +133 -0
- package/dist/{Tag-BAFkwLDe.js → Tag-ClrrGr1a.js} +1 -1
- package/dist/{TextArea-B8TIZZ5i.js → TextArea-2yGnVaG6.js} +4 -3
- package/dist/{TextEditor-CAh3oyK3.js → TextEditor-BmvUimyG.js} +12 -11
- package/dist/{TimePicker-BY6IMP4p.js → TimePicker-DRDEIb-p.js} +8 -8
- package/dist/{Toast-DDkev3SZ.d.ts → Toast-JL9yaI35.d.ts} +1 -2
- package/dist/Toast-ZFTj3GGo.js +49 -0
- package/dist/ToastContainer-9OS5SK5K.d.ts +5 -0
- package/dist/ToastContainer-TRM91co1.js +23 -0
- package/dist/ToastRenderer-Dpax9sKV.js +40 -0
- package/dist/{Toggle-Bw15KIly.js → Toggle-bWM3RSXY.js} +4 -3
- package/dist/{ToggleButton-DYVFkuEk.js → ToggleButton-C01P8reg.js} +6 -4
- package/dist/{Tooltip-CVBOnHy-.js → Tooltip-D8YNkKCl.js} +5 -13
- package/dist/{TooltipWrapper-eCF5-eNP.js → TooltipWrapper-V0A1TdyC.js} +6 -20
- package/dist/{VisuallyHidden-src7PN5r.js → VisuallyHidden-CWgME09A.js} +1 -1
- package/dist/{autocomplete-NiLahf70.d.ts → autocomplete-bNuG6_dG.d.ts} +2 -2
- package/dist/components/accordion.js +1 -1
- package/dist/components/action-modal.js +2 -2
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +3 -3
- package/dist/components/bottom-sheet.d.ts +3 -2
- package/dist/components/bottom-sheet.js +108 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-group.js +3 -3
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/drawer.d.ts +5 -2
- package/dist/components/drawer.js +80 -87
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.js +2 -2
- package/dist/components/inline-icon-button.js +1 -1
- package/dist/components/input-upload.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/menu.d.ts +2 -2
- package/dist/components/menu.js +2 -2
- package/dist/components/modal.js +1 -1
- package/dist/components/number-input.js +8 -8
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/pagination-list.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/pill-button.js +2 -2
- package/dist/components/pill.js +1 -1
- package/dist/components/query-autocomplete.d.ts +2 -2
- package/dist/components/query-autocomplete.js +1 -1
- package/dist/components/query-select.d.ts +1 -1
- package/dist/components/query-select.js +2 -2
- package/dist/components/radio-group.js +1 -1
- package/dist/components/responsive-popover.d.ts +1 -1
- package/dist/components/responsive-popover.js +2 -2
- package/dist/components/segment.js +1 -1
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +2 -2
- package/dist/components/stepper.js +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/text-button.js +1 -1
- package/dist/components/text-input.js +6 -6
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +3 -2
- package/dist/components/toast.js +3 -2
- package/dist/components/toggle-button.js +1 -1
- package/dist/components/toggle.js +1 -1
- package/dist/components/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/use-toast.d.ts +1 -1
- package/dist/components/use-toast.js +37 -64
- package/dist/config/confirmation.js +1 -1
- package/dist/config/ui-config.d.ts +1 -1
- package/dist/confirmation.context-2-6G831n.js +117 -0
- package/dist/confirmation.dialog-Cveu3s5D.js +16 -0
- package/dist/{context-HV79Qf_F.js → context-74MZZLC0.js} +2 -53
- package/dist/{datePickerValue.utils-BoOLaZk_.js → datePickerValue.utils-PgERc6lT.js} +2 -2
- package/dist/{Toast-trOdO6gl.js → dist-B4xyoAhc.js} +1 -288
- package/dist/dom.utils-CeVnXH-T.js +49 -0
- package/dist/{dynamicInputs-CiJNkz3F.d.ts → dynamicInputs-CecPNXsF.d.ts} +18 -18
- package/dist/import-BXAtbYEe.js +73 -0
- package/dist/index.d.ts +20 -18
- package/dist/index.js +34 -31
- package/dist/{logger-BPhG2izn.js → logger-WPC6ostp.js} +1 -1
- package/dist/number-DTwXo26a.js +40 -0
- package/dist/{numberStatic.utils-CWkou4ca.js → numberStatic.utils-DcnGigJ6.js} +7 -6
- package/dist/{query-autocomplete-B3qBhSDk.d.ts → query-autocomplete-CHtcx_ND.d.ts} +2 -2
- package/dist/{query-select-BNNjF0Bc.d.ts → query-select-CD0iFQqR.d.ts} +2 -2
- package/dist/{queryAutocomplete.types-CpLHyvqN.d.ts → queryAutocomplete.types-DaTDttX5.d.ts} +2 -2
- package/dist/rhf/autocomplete.d.ts +2 -2
- package/dist/rhf/checkbox.js +1 -1
- package/dist/rhf/date-picker.js +1 -1
- package/dist/rhf/date-range-picker.js +1 -1
- package/dist/rhf/date-time-picker.js +1 -1
- package/dist/rhf/file-upload.js +1 -1
- package/dist/rhf/input-upload.js +1 -1
- package/dist/rhf/inputs.d.ts +1 -1
- package/dist/rhf/number-range-input.js +1 -1
- package/dist/rhf/query-autocomplete.d.ts +1 -1
- package/dist/rhf/query-select.d.ts +1 -1
- package/dist/rhf/radio-group.js +1 -1
- package/dist/rhf/segment.js +1 -1
- package/dist/rhf/select.d.ts +2 -2
- package/dist/rhf/select.js +1 -1
- package/dist/rhf/slider.js +1 -1
- package/dist/rhf/text-area.js +1 -1
- package/dist/rhf/text-editor.js +1 -1
- package/dist/rhf/time-picker.js +1 -1
- package/dist/rhf/toggle.js +1 -1
- package/dist/rhf.d.ts +20 -18
- package/dist/rhf.js +34 -31
- package/dist/{rolldown-runtime-DUp30N8C.js → rolldown-runtime-B-lAHAz2.js} +10 -1
- package/dist/{select-CYuTeweS.d.ts → select-D80pWSgi.d.ts} +2 -2
- package/dist/{staticDateTimeSegments-CAEX9ogz.js → staticDateTimeSegments-CMj4NHoq.js} +16 -14
- package/dist/{staticSelect.utils-Blrqx6Y6.js → staticSelect.utils-DQo-_Fe6.js} +22 -20
- package/dist/tanstack/autocomplete.d.ts +1 -1
- package/dist/tanstack/checkbox.js +1 -1
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/form.d.ts +1 -1
- package/dist/tanstack/form.js +1 -1
- package/dist/tanstack/input-upload.js +1 -1
- package/dist/tanstack/inputs.d.ts +2 -2
- package/dist/tanstack/inputs.js +1 -1
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/query-select.d.ts +1 -1
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/segment.js +1 -1
- package/dist/tanstack/select.d.ts +1 -1
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/table.d.ts +1 -1
- package/dist/tanstack/table.js +1 -1
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/text-editor.js +1 -1
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle.js +1 -1
- package/dist/tanstack.d.ts +19 -17
- package/dist/tanstack.js +44 -41
- package/dist/text-editor.js +1 -1
- package/dist/toast.cva-BGJCi2qq.js +211 -0
- package/dist/toast.runtime-CzHEhKmm.js +18 -0
- package/dist/toastActivation.store-BELtcr76.js +16 -0
- package/dist/tooltipWrapper.cva-CUu8pI-a.js +5 -0
- package/dist/triangle-B5uw3vnc.js +13 -0
- package/dist/{uiConfig.context-bpfilZZ_.d.ts → uiConfig.context-B27wINPD.d.ts} +3 -3
- package/dist/{useButton-STC3gJBt.js → useButton-CTZ6UEfP.js} +2 -1
- package/dist/{useDescription-D8raJPFb.js → useDescription-4EIEr0rR.js} +1 -1
- package/dist/{useEffectEvent-DAMDuWzz.js → useEffectEvent-BdzIyMdT.js} +1 -1
- package/dist/{useEvent-5X8yPLOx.js → useEvent-CjGFQh-l.js} +1 -1
- package/dist/{useFieldAccessibility-BsEP3ts2.js → useFieldAccessibility-DepfU-ce.js} +2 -2
- package/dist/{useFilter-BQRb0JpC.js → useFilter-CI4X6urj.js} +1 -1
- package/dist/{useFormAutosave-DJJdcgK-.js → useFormAutosave-DKfqSqXM.js} +1 -1
- package/dist/{useFormReset-CFgV1v57.js → useFormReset-BmSQIMid.js} +1 -1
- package/dist/{useFormValidation-DWqb1ZeB.js → useFormValidation-DlNyD6aD.js} +2 -2
- package/dist/{useLabels-CUjKpeKj.js → useLabels-Bt2BXuQ6.js} +1 -1
- package/dist/{useLocalizedStringFormatter-D9TmTRN_.js → useLocalizedStringFormatter-tBB7tXBj.js} +1 -1
- package/dist/{useNumberFormatter-BiWwqIo9.js → useNumberFormatter-Dgd8W1FX.js} +1 -1
- package/dist/{useSpinButton-BxGKzVHd.js → useSpinButton-Ba23Hqso.js} +3 -3
- package/dist/{useStaticInputHandoff-ClwANfo-.js → useStaticInputHandoff-Cssvz3nr.js} +2 -2
- package/dist/{useTableColumnConfig-DaAi30uc.js → useTableColumnConfig-C0IeB82M.js} +54 -72
- package/dist/{useTableNav-BoQOVqZF.d.ts → useTableNav-CFHbvYvu.d.ts} +1 -1
- package/dist/{useToast-gQ9gzrbt.d.ts → useToast-B55ZUvwy.d.ts} +1 -1
- package/dist/{useToggle-ingqhLIQ.js → useToggle-D8aP2d5t.js} +3 -2
- package/dist/utils/logger.js +1 -1
- package/dist/{import-CuNJ25EP.js → utils-D-KKbY-n.js} +1 -73
- package/package.json +1 -1
- package/dist/confirmation.context-C1-ZF9CW.js +0 -80
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as $
|
|
1
|
+
import { _ as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./utils-D-KKbY-n.js";
|
|
2
|
+
import { a as $431fbd86ca7dc216$export$b204af158042fbac, i as $f4e2df6bd15f8569$export$98658e8c59125e6a, n as $d4ee10de306f2510$export$cd4e5573fbe2b576, o as $431fbd86ca7dc216$export$f21a1ffae260145a, r as $d4ee10de306f2510$export$e58f029f0fbfdb29, t as $d4ee10de306f2510$export$4282f70798064fe0 } from "./DOMFunctions-BrQjsnDh.js";
|
|
3
3
|
import { n as $c87311424ea30a05$export$6446a186d09e379e, o as $c87311424ea30a05$export$a11b0059900ceec8 } from "./platform-df1ZXSJE.js";
|
|
4
4
|
import $HgANd$react, { createContext, useContext, useEffect, useMemo, useRef } from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
2
|
-
import { t as FormField } from "./FormField-ChDNTHr4.js";
|
|
3
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $5dc95899b306f630$export$c9058316764c140e, i as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, l as $64fa3d84918910a7$export$fabf2dc03a41866e, n as $64fa3d84918910a7$export$29f1550f4b0d4415, r as $64fa3d84918910a7$export$4d86445c2cf5e3, s as $64fa3d84918910a7$export$df3a06d6289f983e, t as $64fa3d84918910a7$export$2881499e37b75b9a } from "./utils-D-KKbY-n.js";
|
|
4
|
+
import { a as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, i as useHover$1 } from "./import-BXAtbYEe.js";
|
|
6
5
|
import { t as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./focusWithoutScrolling-DEPiLwKq.js";
|
|
7
6
|
import { t as $03deb23ff14920c4$export$4eaf04e54aa8eed6 } from "./useGlobalListeners-DuENtiaD.js";
|
|
8
|
-
import {
|
|
9
|
-
import { t as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-CFgV1v57.js";
|
|
7
|
+
import { t as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-BmSQIMid.js";
|
|
10
8
|
import { t as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-Bk39gTui.js";
|
|
11
|
-
import { t as $
|
|
9
|
+
import { r as $9446cca9a3875146$export$cb6e0bb50bc19463, t as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-DTwXo26a.js";
|
|
10
|
+
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-74MZZLC0.js";
|
|
11
|
+
import { t as $a916eb452884faea$export$b7a616150fdb9f44 } from "./useNumberFormatter-Dgd8W1FX.js";
|
|
12
12
|
import { t as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Cd0lBvKO.js";
|
|
13
|
-
import { t as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-
|
|
14
|
-
import { t as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "./Label-
|
|
13
|
+
import { t as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-CWgME09A.js";
|
|
14
|
+
import { t as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "./Label-BVczUvgv.js";
|
|
15
15
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
16
16
|
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
17
17
|
import { t as FieldController } from "./form.binding-DyZ4fH8l.js";
|
|
18
|
+
import { t as FormField } from "./FormField-Cl-t5Wi1.js";
|
|
18
19
|
import $HgANd$react, { createContext, forwardRef, memo, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
19
20
|
import { setInteractionModality, useFocusable, useKeyboard, useMove } from "@react-aria/interactions";
|
|
20
21
|
import { useLabel } from "@react-aria/label";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as ButtonProps } from "./types-BSiv-Igp.js";
|
|
2
2
|
import { n as LinkNavigationProps } from "./Link-Bz8vOksk.js";
|
|
3
3
|
import { n as ButtonVariantProps } from "./button.cva-zMNkoZH8.js";
|
|
4
|
-
import { n as MenuItem } from "./Menu-
|
|
4
|
+
import { n as MenuItem } from "./Menu-ucX0h-jq.js";
|
|
5
5
|
//#region src/components/buttons/SplitButton/SplitButton.d.ts
|
|
6
6
|
interface SplitButtonProps extends ButtonVariantProps, Omit<ButtonProps, "children"> {
|
|
7
7
|
label: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Check } from "./check-M2G7r3oH.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
-
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-
|
|
3
|
+
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-D09S1dNt.js";
|
|
4
4
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
5
5
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
6
6
|
import { Fragment } from "react";
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { c } from "react/compiler-runtime";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { DndContext, KeyboardSensor, MouseSensor, TouchSensor, closestCenter, useSensor, useSensors } from "@dnd-kit/core";
|
|
4
|
+
import { restrictToVerticalAxis } from "@dnd-kit/modifiers";
|
|
5
|
+
import { SortableContext, useSortable, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
|
6
|
+
import { CSS } from "@dnd-kit/utilities";
|
|
7
|
+
//#region src/components/table/TableDnd.tsx
|
|
8
|
+
const DndProvider = (t0) => {
|
|
9
|
+
const $ = c(5);
|
|
10
|
+
const { children, onDragEnd } = t0;
|
|
11
|
+
const sensors = useSensors(useSensor(MouseSensor), useSensor(TouchSensor), useSensor(KeyboardSensor));
|
|
12
|
+
let t1;
|
|
13
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
14
|
+
t1 = [restrictToVerticalAxis];
|
|
15
|
+
$[0] = t1;
|
|
16
|
+
} else t1 = $[0];
|
|
17
|
+
let t2;
|
|
18
|
+
if ($[1] !== children || $[2] !== onDragEnd || $[3] !== sensors) {
|
|
19
|
+
t2 = /* @__PURE__ */ jsx(DndContext, {
|
|
20
|
+
collisionDetection: closestCenter,
|
|
21
|
+
modifiers: t1,
|
|
22
|
+
onDragEnd,
|
|
23
|
+
sensors,
|
|
24
|
+
children
|
|
25
|
+
});
|
|
26
|
+
$[1] = children;
|
|
27
|
+
$[2] = onDragEnd;
|
|
28
|
+
$[3] = sensors;
|
|
29
|
+
$[4] = t2;
|
|
30
|
+
} else t2 = $[4];
|
|
31
|
+
return t2;
|
|
32
|
+
};
|
|
33
|
+
const SortableRows = (t0) => {
|
|
34
|
+
const $ = c(3);
|
|
35
|
+
const { children, items } = t0;
|
|
36
|
+
let t1;
|
|
37
|
+
if ($[0] !== children || $[1] !== items) {
|
|
38
|
+
t1 = /* @__PURE__ */ jsx(SortableContext, {
|
|
39
|
+
items,
|
|
40
|
+
strategy: verticalListSortingStrategy,
|
|
41
|
+
children
|
|
42
|
+
});
|
|
43
|
+
$[0] = children;
|
|
44
|
+
$[1] = items;
|
|
45
|
+
$[2] = t1;
|
|
46
|
+
} else t1 = $[2];
|
|
47
|
+
return t1;
|
|
48
|
+
};
|
|
49
|
+
const DraggableRow = (t0) => {
|
|
50
|
+
const $ = c(18);
|
|
51
|
+
const { id, className, isClickable, isSelected, onClick, onDoubleClick, children } = t0;
|
|
52
|
+
let t1;
|
|
53
|
+
if ($[0] !== id) {
|
|
54
|
+
t1 = { id };
|
|
55
|
+
$[0] = id;
|
|
56
|
+
$[1] = t1;
|
|
57
|
+
} else t1 = $[1];
|
|
58
|
+
const { transform, transition, setNodeRef, isDragging } = useSortable(t1);
|
|
59
|
+
let t2;
|
|
60
|
+
if ($[2] !== transform) {
|
|
61
|
+
t2 = CSS.Transform.toString(transform);
|
|
62
|
+
$[2] = transform;
|
|
63
|
+
$[3] = t2;
|
|
64
|
+
} else t2 = $[3];
|
|
65
|
+
const t3 = isDragging ? .8 : 1;
|
|
66
|
+
const t4 = isDragging ? 1 : 0;
|
|
67
|
+
let t5;
|
|
68
|
+
if ($[4] !== t2 || $[5] !== t3 || $[6] !== t4 || $[7] !== transition) {
|
|
69
|
+
t5 = {
|
|
70
|
+
transform: t2,
|
|
71
|
+
transition,
|
|
72
|
+
opacity: t3,
|
|
73
|
+
zIndex: t4,
|
|
74
|
+
position: "relative"
|
|
75
|
+
};
|
|
76
|
+
$[4] = t2;
|
|
77
|
+
$[5] = t3;
|
|
78
|
+
$[6] = t4;
|
|
79
|
+
$[7] = transition;
|
|
80
|
+
$[8] = t5;
|
|
81
|
+
} else t5 = $[8];
|
|
82
|
+
const style = t5;
|
|
83
|
+
const t6 = isClickable || void 0;
|
|
84
|
+
const t7 = isSelected || void 0;
|
|
85
|
+
let t8;
|
|
86
|
+
if ($[9] !== children || $[10] !== className || $[11] !== onClick || $[12] !== onDoubleClick || $[13] !== setNodeRef || $[14] !== style || $[15] !== t6 || $[16] !== t7) {
|
|
87
|
+
t8 = /* @__PURE__ */ jsx("tr", {
|
|
88
|
+
ref: setNodeRef,
|
|
89
|
+
style,
|
|
90
|
+
className,
|
|
91
|
+
"data-clickable": t6,
|
|
92
|
+
"data-selected": t7,
|
|
93
|
+
onClick,
|
|
94
|
+
onDoubleClick,
|
|
95
|
+
children
|
|
96
|
+
});
|
|
97
|
+
$[9] = children;
|
|
98
|
+
$[10] = className;
|
|
99
|
+
$[11] = onClick;
|
|
100
|
+
$[12] = onDoubleClick;
|
|
101
|
+
$[13] = setNodeRef;
|
|
102
|
+
$[14] = style;
|
|
103
|
+
$[15] = t6;
|
|
104
|
+
$[16] = t7;
|
|
105
|
+
$[17] = t8;
|
|
106
|
+
} else t8 = $[17];
|
|
107
|
+
return t8;
|
|
108
|
+
};
|
|
109
|
+
const DragHandle = (t0) => {
|
|
110
|
+
const $ = c(6);
|
|
111
|
+
const { id, children } = t0;
|
|
112
|
+
let t1;
|
|
113
|
+
if ($[0] !== id) {
|
|
114
|
+
t1 = { id };
|
|
115
|
+
$[0] = id;
|
|
116
|
+
$[1] = t1;
|
|
117
|
+
} else t1 = $[1];
|
|
118
|
+
const { attributes, listeners } = useSortable(t1);
|
|
119
|
+
let t2;
|
|
120
|
+
if ($[2] !== attributes || $[3] !== children || $[4] !== listeners) {
|
|
121
|
+
t2 = children({
|
|
122
|
+
...attributes,
|
|
123
|
+
...listeners
|
|
124
|
+
});
|
|
125
|
+
$[2] = attributes;
|
|
126
|
+
$[3] = children;
|
|
127
|
+
$[4] = listeners;
|
|
128
|
+
$[5] = t2;
|
|
129
|
+
} else t2 = $[5];
|
|
130
|
+
return t2;
|
|
131
|
+
};
|
|
132
|
+
//#endregion
|
|
133
|
+
export { DndProvider, DragHandle, DraggableRow, SortableRows };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
2
2
|
import { t as X } from "./x-BYOEO0gW.js";
|
|
3
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-
|
|
4
|
+
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-D09S1dNt.js";
|
|
5
5
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
6
6
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
7
7
|
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
2
|
-
import { r as FormFieldLabel, t as FormField } from "./FormField-ChDNTHr4.js";
|
|
3
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import {
|
|
3
|
+
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $5dc95899b306f630$export$c9058316764c140e, n as $64fa3d84918910a7$export$29f1550f4b0d4415, r as $64fa3d84918910a7$export$4d86445c2cf5e3, s as $64fa3d84918910a7$export$df3a06d6289f983e } from "./utils-D-KKbY-n.js";
|
|
4
|
+
import { i as useHover } from "./import-BXAtbYEe.js";
|
|
5
5
|
import { t as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Cd0lBvKO.js";
|
|
6
6
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
7
7
|
import { t as FieldController } from "./form.binding-DyZ4fH8l.js";
|
|
8
|
-
import { r as
|
|
8
|
+
import { r as FormFieldLabel, t as FormField } from "./FormField-Cl-t5Wi1.js";
|
|
9
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-V0A1TdyC.js";
|
|
9
10
|
import { a as inputSizeDefinition, i as inputSideDefinition, o as useInputCva } from "./input.cva-KYGD4Bdz.js";
|
|
10
11
|
import $HgANd$react, { createContext, forwardRef, memo, useRef } from "react";
|
|
11
12
|
import { useTextField } from "@react-aria/textfield";
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import { t as createLucideIcon } from "./createLucideIcon-CskCrR9z.js";
|
|
2
2
|
import { a as isEqual } from "./uiConfig.context-B_wBkrQZ.js";
|
|
3
3
|
import { t as ChevronDown } from "./chevron-down-Ciz9yP9R.js";
|
|
4
|
-
import { r as FormFieldLabel, t as FormField } from "./FormField-ChDNTHr4.js";
|
|
5
4
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { c as $07b14b47974efb58$export$5b6b19405a83ff9d, n as $de32f1b87079253c$export$3ddf2d174ce01153, t as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "./Dialog-
|
|
9
|
-
import {
|
|
10
|
-
import { i as $eed445e0843c11d0$export$a11e76429ed99b4, t as $eed445e0843c11d0$export$41f133550aa26f48 } from "./ListBox-BCW74bzR.js";
|
|
5
|
+
import { a as $64fa3d84918910a7$export$c245e6201fed2f75, d as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $5dc95899b306f630$export$c9058316764c140e, h as $bdb11010cef70236$export$f680877a34711e37, n as $64fa3d84918910a7$export$29f1550f4b0d4415, r as $64fa3d84918910a7$export$4d86445c2cf5e3, s as $64fa3d84918910a7$export$df3a06d6289f983e } from "./utils-D-KKbY-n.js";
|
|
6
|
+
import { a as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./import-BXAtbYEe.js";
|
|
7
|
+
import { c as $07b14b47974efb58$export$5b6b19405a83ff9d, n as $de32f1b87079253c$export$3ddf2d174ce01153, t as $de32f1b87079253c$export$2e1e1122cf0cba88 } from "./Dialog-Bl7F9FUP.js";
|
|
8
|
+
import { i as $eed445e0843c11d0$export$a11e76429ed99b4, t as $eed445e0843c11d0$export$41f133550aa26f48 } from "./ListBox-Ck1UjeGo.js";
|
|
11
9
|
import { t as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-Bk39gTui.js";
|
|
12
|
-
import { n as $
|
|
13
|
-
import {
|
|
10
|
+
import { n as $9446cca9a3875146$export$b6268554fba451f, t as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-DTwXo26a.js";
|
|
11
|
+
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-D09S1dNt.js";
|
|
12
|
+
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-74MZZLC0.js";
|
|
13
|
+
import { i as $5b160d28a433310d$export$c17fa47878dc55b6, n as $fca6afa0e843324b$export$f12b703ca79dfbb1, r as $6db58dc88e78b024$export$2f817fcdc4b89ae0 } from "./useLocalizedStringFormatter-tBB7tXBj.js";
|
|
14
14
|
import { t as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 } from "./NumberFormatter-KUrW7GbE.js";
|
|
15
15
|
import { t as $df39c1238ae2b5f3$exports } from "./intlStrings-DrQB127v.js";
|
|
16
16
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
17
17
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
18
18
|
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
19
|
-
import { t as Button } from "./Button-
|
|
19
|
+
import { t as Button } from "./Button-D9J5wkMv.js";
|
|
20
20
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
21
|
-
import "./i18n-C2TBJvnh.js";
|
|
22
21
|
import { t as FieldController } from "./form.binding-DyZ4fH8l.js";
|
|
22
|
+
import { r as FormFieldLabel, t as FormField } from "./FormField-Cl-t5Wi1.js";
|
|
23
|
+
import "./i18n-C2TBJvnh.js";
|
|
23
24
|
import { i as inputSideDefinition, o as useInputCva } from "./input.cva-KYGD4Bdz.js";
|
|
24
25
|
import { t as popoverDefinition } from "./popover.cva-CXha_UMQ.js";
|
|
25
26
|
import { TextInput } from "./components/text-input.js";
|
|
26
|
-
import { t as Select } from "./Select-
|
|
27
|
+
import { t as Select } from "./Select-BZFSEGvs.js";
|
|
27
28
|
import { ResponsivePopover } from "./components/responsive-popover.js";
|
|
28
29
|
import $HgANd$react, { createContext, forwardRef, memo, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
29
30
|
import { useFocusVisible, useFocusWithin, useHover } from "@react-aria/interactions";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
2
|
-
import { r as FormFieldLabel, t as FormField } from "./FormField-ChDNTHr4.js";
|
|
3
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { f as $5dc95899b306f630$export$c9058316764c140e } from "./utils-D-KKbY-n.js";
|
|
4
|
+
import { a as getStaticTimeSegments, c as useFirefoxDateSegmentSelectionGuard, g as useTimeFieldState, i as getStaticDateTimeFocusTarget, l as DateSegmentItem, o as DateTimeDialogFooter, s as DateTimeDialog, y as $16f0b7bb276bc17e$export$4c842f6a241dc825 } from "./staticDateTimeSegments-CMj4NHoq.js";
|
|
5
|
+
import { n as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-D09S1dNt.js";
|
|
6
|
+
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-74MZZLC0.js";
|
|
8
7
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
9
8
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
10
9
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
11
10
|
import { t as FieldController } from "./form.binding-DyZ4fH8l.js";
|
|
12
|
-
import { r as
|
|
11
|
+
import { r as FormFieldLabel, t as FormField } from "./FormField-Cl-t5Wi1.js";
|
|
12
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-V0A1TdyC.js";
|
|
13
13
|
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-KYGD4Bdz.js";
|
|
14
|
-
import { n as InputFrame, t as useStaticInputHandoff } from "./useStaticInputHandoff-
|
|
15
|
-
import { n as TimePickerForm, t as normalizeDatePickerValue } from "./datePickerValue.utils-
|
|
14
|
+
import { n as InputFrame, t as useStaticInputHandoff } from "./useStaticInputHandoff-Cssvz3nr.js";
|
|
15
|
+
import { n as TimePickerForm, t as normalizeDatePickerValue } from "./datePickerValue.utils-PgERc6lT.js";
|
|
16
16
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
17
17
|
import { memo, useEffect, useRef, useState } from "react";
|
|
18
18
|
import { getLocalTimeZone, now, toTime } from "@internationalized/date";
|
|
@@ -70,6 +70,5 @@ interface ToastProps extends ToastVariantProps {
|
|
|
70
70
|
actions?: ToastAction[];
|
|
71
71
|
}
|
|
72
72
|
declare const Toast: ({ text, isLoading, actions, icon: Icon, ...props }: ToastProps) => import("react/jsx-runtime").JSX.Element;
|
|
73
|
-
declare const ToastContainer: () => import("react/jsx-runtime").JSX.Element;
|
|
74
73
|
//#endregion
|
|
75
|
-
export {
|
|
74
|
+
export { statusIconDefinition as a, ToastVariantProps as i, ToastAction as n, statusSeparatorDefinition as o, ToastProps as r, toastDefinition as s, Toast as t };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
3
|
+
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
4
|
+
import { t as Loader } from "./Loader-C6YkWZOO.js";
|
|
5
|
+
import { t as Button } from "./Button-D9J5wkMv.js";
|
|
6
|
+
import { a as toastDefinition, n as statusIconDefinition, r as statusSeparatorDefinition, t as buttonColorVariant } from "./toast.cva-BGJCi2qq.js";
|
|
7
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
//#region src/components/status/Toast/Toast.tsx
|
|
9
|
+
const Toast = ({ text, isLoading = false, actions = [], icon: Icon, ...props }) => {
|
|
10
|
+
const uiConfig = UIConfig.useConfig();
|
|
11
|
+
const { variant = uiConfig.toast.variant, ...restProps } = props;
|
|
12
|
+
const toastCva = UIOverrides.useCva("toast.cva", toastDefinition);
|
|
13
|
+
const buttonColor = UIOverrides.useMapper("toast.buttonColor", buttonColorVariant);
|
|
14
|
+
const iconCva = UIOverrides.useCva("status.iconCva", statusIconDefinition);
|
|
15
|
+
const separatorCva = UIOverrides.useCva("status.separatorCva", statusSeparatorDefinition);
|
|
16
|
+
const variantProps = {
|
|
17
|
+
variant,
|
|
18
|
+
...restProps
|
|
19
|
+
};
|
|
20
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
21
|
+
className: toastCva(variantProps),
|
|
22
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
23
|
+
className: "flex items-start gap-toast-gap-icon-to-text px-toast-side-default py-toast-height-content",
|
|
24
|
+
children: [
|
|
25
|
+
isLoading && /* @__PURE__ */ jsx(Loader, {
|
|
26
|
+
size: "default",
|
|
27
|
+
className: "shrink-0"
|
|
28
|
+
}),
|
|
29
|
+
!isLoading && Icon && /* @__PURE__ */ jsx(Icon, { className: iconCva(variantProps) }),
|
|
30
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
31
|
+
size: "label-2",
|
|
32
|
+
children: text
|
|
33
|
+
})
|
|
34
|
+
]
|
|
35
|
+
}), actions.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("div", { className: separatorCva(variantProps) }), /* @__PURE__ */ jsx("div", {
|
|
36
|
+
className: "flex w-full shrink-0 flex-wrap items-center justify-end gap-toast-gap-action px-toast-side-default py-toast-height-actions-mobile md:w-auto md:justify-center md:py-toast-height-actions-desktop",
|
|
37
|
+
children: actions.map(({ text: buttonText, onPress }) => /* @__PURE__ */ jsx(Button, {
|
|
38
|
+
onPress,
|
|
39
|
+
...buttonColor(variantProps),
|
|
40
|
+
variant: "text",
|
|
41
|
+
size: "none",
|
|
42
|
+
width: "hug",
|
|
43
|
+
children: buttonText
|
|
44
|
+
}, buttonText))
|
|
45
|
+
})] })]
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { Toast as t };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { i as subscribeToToastActivation, n as isToastRendererActive, r as isToastRendererInactive } from "./toastActivation.store-BELtcr76.js";
|
|
2
|
+
import { Suspense, lazy, useSyncExternalStore } from "react";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/status/Toast/ToastContainer.tsx
|
|
6
|
+
const ToastRenderer = lazy(() => import("./ToastRenderer-Dpax9sKV.js"));
|
|
7
|
+
const ToastContainer = () => {
|
|
8
|
+
const $ = c(2);
|
|
9
|
+
const isActive = useSyncExternalStore(subscribeToToastActivation, isToastRendererActive, isToastRendererInactive);
|
|
10
|
+
let t0;
|
|
11
|
+
if ($[0] !== isActive) {
|
|
12
|
+
t0 = isActive ? /* @__PURE__ */ jsx(Suspense, {
|
|
13
|
+
fallback: null,
|
|
14
|
+
children: /* @__PURE__ */ jsx(ToastRenderer, {})
|
|
15
|
+
}) : null;
|
|
16
|
+
$[0] = isActive;
|
|
17
|
+
$[1] = t0;
|
|
18
|
+
} else t0 = $[1];
|
|
19
|
+
return t0;
|
|
20
|
+
};
|
|
21
|
+
const ToastProvider = ToastContainer;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { ToastProvider as n, ToastContainer as t };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
3
|
+
import { i as toastContainerDefinition, o as toastWrapper } from "./toast.cva-BGJCi2qq.js";
|
|
4
|
+
import { t as Lt } from "./dist-B4xyoAhc.js";
|
|
5
|
+
import { c } from "react/compiler-runtime";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
//#region src/components/status/Toast/ToastRenderer.tsx
|
|
8
|
+
const ToastRenderer = () => {
|
|
9
|
+
const $ = c(6);
|
|
10
|
+
const uiConfig = UIConfig.useConfig();
|
|
11
|
+
const containerCva = UIOverrides.useCva("toast.containerCva", toastContainerDefinition);
|
|
12
|
+
let t0;
|
|
13
|
+
if ($[0] !== containerCva || $[1] !== uiConfig.toast.position) {
|
|
14
|
+
t0 = (params) => containerCva({
|
|
15
|
+
position: params?.position ?? uiConfig.toast.position,
|
|
16
|
+
className: params?.defaultClassName
|
|
17
|
+
});
|
|
18
|
+
$[0] = containerCva;
|
|
19
|
+
$[1] = uiConfig.toast.position;
|
|
20
|
+
$[2] = t0;
|
|
21
|
+
} else t0 = $[2];
|
|
22
|
+
let t1;
|
|
23
|
+
if ($[3] !== t0 || $[4] !== uiConfig.toast.position) {
|
|
24
|
+
t1 = /* @__PURE__ */ jsx(Lt, {
|
|
25
|
+
position: uiConfig.toast.position,
|
|
26
|
+
className: t0,
|
|
27
|
+
toastClassName: toastWrapper,
|
|
28
|
+
autoClose: 2500,
|
|
29
|
+
icon: false,
|
|
30
|
+
closeButton: false,
|
|
31
|
+
hideProgressBar: true
|
|
32
|
+
});
|
|
33
|
+
$[3] = t0;
|
|
34
|
+
$[4] = uiConfig.toast.position;
|
|
35
|
+
$[5] = t1;
|
|
36
|
+
} else t1 = $[5];
|
|
37
|
+
return t1;
|
|
38
|
+
};
|
|
39
|
+
//#endregion
|
|
40
|
+
export { ToastRenderer as default };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
2
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
-
import {
|
|
3
|
+
import { c as $64fa3d84918910a7$export$ef03459518577ad4, d as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $5dc95899b306f630$export$c9058316764c140e, n as $64fa3d84918910a7$export$29f1550f4b0d4415, r as $64fa3d84918910a7$export$4d86445c2cf5e3, s as $64fa3d84918910a7$export$df3a06d6289f983e, u as $df56164dff5785e2$export$4338b53315abf666 } from "./utils-D-KKbY-n.js";
|
|
4
|
+
import { a as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, i as useHover } from "./import-BXAtbYEe.js";
|
|
4
5
|
import { t as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Cd0lBvKO.js";
|
|
5
|
-
import { t as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-
|
|
6
|
-
import { t as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "./useToggle-
|
|
6
|
+
import { t as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-CWgME09A.js";
|
|
7
|
+
import { t as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "./useToggle-D8aP2d5t.js";
|
|
7
8
|
import { t as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "./useToggleState-Dyx-sAjp.js";
|
|
8
9
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
9
10
|
import { t as uiGroupOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as $c8a5a149f625efcf$export$758399f318e6385a, o as $9bf71ea28793e738$export$c5251b9e124bf29, t as $1d5b8b8664671ef2$export$c9549807523555e0 } from "./SelectionIndicator-
|
|
1
|
+
import { _ as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, d as $3ef42575df84b30b$export$9d1611c77c2fe928, n as $64fa3d84918910a7$export$29f1550f4b0d4415, p as $ff5963eb1fccf552$export$e08e3b67e392101e, r as $64fa3d84918910a7$export$4d86445c2cf5e3, s as $64fa3d84918910a7$export$df3a06d6289f983e } from "./utils-D-KKbY-n.js";
|
|
2
|
+
import { t as $d4ee10de306f2510$export$4282f70798064fe0 } from "./DOMFunctions-BrQjsnDh.js";
|
|
3
|
+
import { n as $c8a5a149f625efcf$export$758399f318e6385a, o as $9bf71ea28793e738$export$c5251b9e124bf29, t as $1d5b8b8664671ef2$export$c9549807523555e0 } from "./SelectionIndicator-BvWiZS2N.js";
|
|
4
|
+
import { a as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, i as useHover } from "./import-BXAtbYEe.js";
|
|
4
5
|
import { t as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-Bk39gTui.js";
|
|
6
|
+
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-74MZZLC0.js";
|
|
5
7
|
import { t as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Cd0lBvKO.js";
|
|
6
|
-
import { t as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "./useButton-
|
|
8
|
+
import { t as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "./useButton-CTZ6UEfP.js";
|
|
7
9
|
import { t as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "./useToggleState-Dyx-sAjp.js";
|
|
8
10
|
import $HgANd$react, { createContext, forwardRef, useContext, useMemo, useRef, useState } from "react";
|
|
9
11
|
//#region ../../node_modules/.bun/@react-aria+button@3.14.4+67f6792bdf102c28/node_modules/@react-aria/button/dist/useToggleButton.mjs
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { t as createLucideIcon } from "./createLucideIcon-CskCrR9z.js";
|
|
2
|
+
import { t as Triangle } from "./triangle-B5uw3vnc.js";
|
|
2
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
|
-
import {
|
|
4
|
-
import { a as $
|
|
4
|
+
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928, g as $b5e257d569688ac6$export$535bd6ca7f90a273, h as $bdb11010cef70236$export$f680877a34711e37, n as $64fa3d84918910a7$export$29f1550f4b0d4415, r as $64fa3d84918910a7$export$4d86445c2cf5e3, s as $64fa3d84918910a7$export$df3a06d6289f983e, t as $64fa3d84918910a7$export$2881499e37b75b9a } from "./utils-D-KKbY-n.js";
|
|
5
|
+
import { a as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, r as useFocusable$1 } from "./import-BXAtbYEe.js";
|
|
6
|
+
import { a as $2a41e45df1593e64$export$d39e1813b3bdd0e1, c as $d3f049242431219c$export$6d3443f2c48bfc20, i as $96b38030c423d352$export$9fc1347d4195ccb3, n as $44f671af83e7d9e0$export$746d02f47f4d381, r as $fc909762b330b746$export$61c6a8c84e605fb6, s as $d3f049242431219c$export$45fda7c47f93fd48, t as $44f671af83e7d9e0$export$2de4954e8ae13b9f } from "./OverlayArrow-CyFI2DhX.js";
|
|
5
7
|
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
6
8
|
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
7
9
|
import $HgANd$react, { Fragment, createContext, forwardRef, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -19,16 +21,6 @@ const TriangleRight = createLucideIcon("triangle-right", [["path", {
|
|
|
19
21
|
d: "M22 18a2 2 0 0 1-2 2H3c-1.1 0-1.3-.6-.4-1.3L20.4 4.3c.9-.7 1.6-.4 1.6.7Z",
|
|
20
22
|
key: "183wce"
|
|
21
23
|
}]]);
|
|
22
|
-
/**
|
|
23
|
-
* @license lucide-react v1.28.0 - ISC
|
|
24
|
-
*
|
|
25
|
-
* This source code is licensed under the ISC license.
|
|
26
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/
|
|
28
|
-
const Triangle = createLucideIcon("triangle", [["path", {
|
|
29
|
-
d: "M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",
|
|
30
|
-
key: "14u9p9"
|
|
31
|
-
}]]);
|
|
32
24
|
//#endregion
|
|
33
25
|
//#region ../../node_modules/.bun/@react-aria+overlays@3.31.1+67f6792bdf102c28/node_modules/@react-aria/overlays/dist/useModal.mjs
|
|
34
26
|
const $f57aed4a881a3485$var$Context = /*#__PURE__*/ $HgANd$react.createContext(null);
|
|
@@ -537,4 +529,4 @@ const Tooltip = (t0) => {
|
|
|
537
529
|
return t13;
|
|
538
530
|
};
|
|
539
531
|
//#endregion
|
|
540
|
-
export { tooltipTextDefinition as a, tooltipPointerVerticalDefinition as i, tooltipDefinition as n,
|
|
532
|
+
export { tooltipTextDefinition as a, tooltipPointerVerticalDefinition as i, tooltipDefinition as n, tooltipPointerHorizontalDefinition as r, Tooltip as t };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { t as UIConfig } from "./uiConfig.context-B_wBkrQZ.js";
|
|
2
|
-
import { t as Tooltip } from "./Tooltip-CVBOnHy-.js";
|
|
3
2
|
import { t as X } from "./x-BYOEO0gW.js";
|
|
4
3
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
5
|
-
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
6
4
|
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
7
5
|
import "./i18n-C2TBJvnh.js";
|
|
6
|
+
import { Suspense, lazy } from "react";
|
|
8
7
|
import { jsx } from "react/jsx-runtime";
|
|
9
8
|
import { useTranslation } from "react-i18next";
|
|
10
9
|
//#region src/components/inputs/shared/InputClear.tsx
|
|
@@ -45,27 +44,14 @@ const InputClearButton = ({ onClear, className, style }) => {
|
|
|
45
44
|
});
|
|
46
45
|
};
|
|
47
46
|
//#endregion
|
|
48
|
-
//#region src/components/inputs/shared/tooltipWrapper.cva.ts
|
|
49
|
-
const tooltipWrapperTriggerDefinition = UIOverrides.defineConfig({ base: ["inline-flex"] });
|
|
50
|
-
//#endregion
|
|
51
47
|
//#region src/components/inputs/shared/TooltipWrapper.tsx
|
|
48
|
+
const InlineTooltipWrapper = lazy(() => import("./InlineTooltipWrapper-7ePcpH9g.js"));
|
|
52
49
|
const TooltipWrapper = (props) => {
|
|
53
|
-
const tooltipWrapperTriggerCva = UIOverrides.useCva("tooltipWrapper.triggerCva", tooltipWrapperTriggerDefinition);
|
|
54
50
|
if (props.as !== "inline") return props.children;
|
|
55
|
-
return /* @__PURE__ */ jsx(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
color: "error",
|
|
59
|
-
hidden: !props.error,
|
|
60
|
-
isNonInteractiveTrigger: true,
|
|
61
|
-
triggerClassName: tooltipWrapperTriggerCva({ className: props.triggerClassName }),
|
|
62
|
-
triggerTabIndex: props.triggerTabIndex,
|
|
63
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
64
|
-
tabIndex: -1,
|
|
65
|
-
className: tooltipWrapperTriggerCva({}),
|
|
66
|
-
children: props.children
|
|
67
|
-
})
|
|
51
|
+
return /* @__PURE__ */ jsx(Suspense, {
|
|
52
|
+
fallback: props.children,
|
|
53
|
+
children: /* @__PURE__ */ jsx(InlineTooltipWrapper, { ...props })
|
|
68
54
|
});
|
|
69
55
|
};
|
|
70
56
|
//#endregion
|
|
71
|
-
export {
|
|
57
|
+
export { InputClear as n, TooltipWrapper as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-D-KKbY-n.js";
|
|
2
2
|
import $HgANd$react, { useMemo, useState } from "react";
|
|
3
3
|
import { useFocusWithin } from "@react-aria/interactions";
|
|
4
4
|
//#region ../../node_modules/.bun/@react-aria+visually-hidden@3.8.30+67f6792bdf102c28/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.mjs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as Key } from "./types-BSiv-Igp.js";
|
|
2
|
-
import { a as MultiSelectProps, c as SingleSelectProps, i as GroupedSelectProps, n as DefaultInitialSelectItem } from "./SelectBase-
|
|
3
|
-
import { n as AutocompleteProps } from "./Autocomplete-
|
|
2
|
+
import { a as MultiSelectProps, c as SingleSelectProps, i as GroupedSelectProps, n as DefaultInitialSelectItem } from "./SelectBase-aSvWd7Cx.js";
|
|
3
|
+
import { n as AutocompleteProps } from "./Autocomplete-0tckACUz.js";
|
|
4
4
|
import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
|
|
5
5
|
import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
|
|
6
6
|
import { FieldValues } from "react-hook-form";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Accordion } from "../Accordion-
|
|
1
|
+
import { t as Accordion } from "../Accordion-BKBl-2EO.js";
|
|
2
2
|
export { Accordion };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-B_wBkrQZ.js";
|
|
2
2
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
3
3
|
import { t as Typography } from "../Typography-AcUd9df8.js";
|
|
4
|
-
import { t as Button } from "../Button-
|
|
5
|
-
import { t as Modal } from "../Modal-
|
|
4
|
+
import { t as Button } from "../Button-D9J5wkMv.js";
|
|
5
|
+
import { t as Modal } from "../Modal-zrXMGm_L.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/overlays/ActionModal/ActionModal.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as AutocompleteProps, r as ControlledAutocompleteProps, t as Autocomplete } from "../Autocomplete-
|
|
1
|
+
import { n as AutocompleteProps, r as ControlledAutocompleteProps, t as Autocomplete } from "../Autocomplete-0tckACUz.js";
|
|
2
2
|
export { Autocomplete, AutocompleteProps, ControlledAutocompleteProps };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-B_wBkrQZ.js";
|
|
2
|
-
import { l as selectInputTagsContentWrapperDefinition, n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "../staticSelect.utils-
|
|
2
|
+
import { l as selectInputTagsContentWrapperDefinition, n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "../staticSelect.utils-DQo-_Fe6.js";
|
|
3
3
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
4
|
-
import {
|
|
4
|
+
import { f as $5dc95899b306f630$export$c9058316764c140e } from "../utils-D-KKbY-n.js";
|
|
5
5
|
import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
|
|
6
6
|
import { t as FieldController } from "../form.binding-DyZ4fH8l.js";
|
|
7
|
-
import { n as InputFrame, t as useStaticInputHandoff } from "../useStaticInputHandoff-
|
|
7
|
+
import { n as InputFrame, t as useStaticInputHandoff } from "../useStaticInputHandoff-Cssvz3nr.js";
|
|
8
8
|
import { memo, useRef, useState } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region src/components/inputs/Selection/Autocomplete/Autocomplete.tsx
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { t as BottomSheetProps } from "../BottomSheet-BZXBtOHF.js";
|
|
2
|
+
import { t as BottomSheet } from "../BottomSheet.lazy-DT02808T.js";
|
|
3
|
+
export { BottomSheet, type BottomSheetProps };
|