@povio/ui 5.0.0 → 5.0.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Autocomplete-DbALLWP0.js → Autocomplete-XP-Qdlrm.js} +2 -2
- package/dist/{Autocomplete.bound-DCPZBYKR.js → Autocomplete.bound-DFL87TOZ.js} +2 -2
- package/dist/{Calendar-B9jqOJB6.js → Calendar-DLlUsZP2.js} +3 -3
- package/dist/{Calendar.lazy-4d7pbB4k.js → Calendar.lazy-Bl5amf0W.js} +3 -3
- package/dist/{Checkbox.bound-DyQFIVCw.js → Checkbox.bound-DQYJMtCs.js} +1 -1
- package/dist/{CheckboxGroup.bound-DyCp83EI.js → CheckboxGroup.bound-wGcpw5tY.js} +1 -1
- package/dist/{DatePicker-CJj3Gp_S.js → DatePicker-CqkS8dCf.js} +6 -5
- package/dist/{DatePicker.bound-BWPOirPV.js → DatePicker.bound-Bg524WMN.js} +2 -2
- package/dist/{DatePickerInput-C5-kkdpq.js → DatePickerInput-jrCYehXn.js} +8 -6
- package/dist/{DateRangePicker-BO92JO3A.js → DateRangePicker-DfLnonW1.js} +7 -6
- package/dist/{DateRangePicker.bound-cDWQPCUj.js → DateRangePicker.bound-Cahr-3cK.js} +2 -2
- package/dist/{DateTimePicker-DSzd33fp.js → DateTimePicker-BL8koIhS.js} +6 -5
- package/dist/{DateTimePicker.bound-BQUJXvBQ.js → DateTimePicker.bound-BheJ0Rny.js} +2 -2
- package/dist/{Dialog-DN5703sy.js → Dialog-B10YV23i.js} +1 -1
- package/dist/{FileInput-dTcR3V93.js → FileInput-3wNdotBt.js} +1 -1
- package/dist/{FileInput.bound-B5b7BLGg.js → FileInput.bound-CJdou4D6.js} +2 -2
- package/dist/{FileUpload-JogkVfav.js → FileUpload-C3IMKBRp.js} +1 -1
- package/dist/{FileUpload.bound-TTr9FNMS.js → FileUpload.bound-Bf4LzJUU.js} +2 -2
- package/dist/{Input-Dq2Raco6.js → Input-DRR8_MgG.js} +4 -3
- package/dist/{Input.bound-CB0WNCLI.js → Input.bound-3CTdQnA8.js} +2 -2
- package/dist/{InputContent-5WKp0yNK.js → InputContent-BkNnqXt3.js} +6 -4
- package/dist/{NumberField-BQwc6a7u.js → NumberField-OjtbK2Uh.js} +4 -3
- package/dist/{NumberField.bound-Ha6jrlsv.js → NumberField.bound-D-uZoLYH.js} +2 -2
- package/dist/{NumberRangeInput-KngK-OvN.js → NumberRangeInput-EKzbxaN0.js} +3 -2
- package/dist/{NumberRangeInput.bound-VafOPEAu.js → NumberRangeInput.bound-CmXDNvF1.js} +2 -2
- package/dist/{PasswordInput.bound-D4tGX20e.js → PasswordInput.bound-lnJeVf4k.js} +2 -2
- package/dist/{RadioGroup.bound-B-xm1dwo.js → RadioGroup.bound-Dya9IgZr.js} +1 -1
- package/dist/{RangeCalendar-p7ajg_wH.js → RangeCalendar-BuRiCB7z.js} +3 -3
- package/dist/{RichTextEditor-DLBfexN_.js → RichTextEditor-Cg-S5lhK.js} +12 -8
- package/dist/{Select-hIRIXRz1.js → Select-DfgTo2X3.js} +4 -4
- package/dist/{Select.bound-BrAIDjfv.js → Select.bound-XC8lgM6E.js} +2 -2
- package/dist/{SelectListBox-ysubv-kl.js → SelectListBox-B_bqWSLU.js} +13 -4
- package/dist/{Slider.bound-CByTXPTr.js → Slider.bound-DO1l_qJQ.js} +1 -1
- package/dist/{Switch.bound-Dv0cHsMM.js → Switch.bound-D8QsLsS4.js} +1 -1
- package/dist/{TabsFilters-ka2sUZPi.js → TabsFilters-DtZrvnTC.js} +1 -1
- package/dist/{TextArea-CqT0_Bn-.js → TextArea-nySHbed0.js} +1 -1
- package/dist/{TextArea.bound-kHkY_d9o.js → TextArea.bound-DbSMg_Kz.js} +2 -2
- package/dist/{TimePicker-Duw94UIt.js → TimePicker-Fnj3QZ3G.js} +10 -8
- package/dist/{TimePicker.bound-DX5pXlgZ.js → TimePicker.bound-DLflOXZm.js} +2 -2
- package/dist/{TimePickerForm-BiWPFcsD.js → TimePickerForm-Bv8S3M_p.js} +2 -2
- package/dist/{ToggleGroup.bound-DphkH_jH.js → ToggleGroup.bound-DNxhSz1h.js} +1 -1
- package/dist/{TooltipWrapper-DcrEabVw.js → TooltipWrapper-DmcWMIp0.js} +1 -1
- package/dist/components/alert-dialog.js +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/bottom-sheet-header.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/dialog.js +1 -1
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.js +1 -1
- package/dist/components/input-frame.js +4 -3
- package/dist/components/input.js +1 -1
- package/dist/components/number-field.js +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/password-input.js +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/tabs-filters.js +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/config/confirmation.js +1 -1
- package/dist/config/resources.d.ts +1 -1
- package/dist/config/resources.js +1 -1
- package/dist/{confirmation.context-Bc2yEVp_.js → confirmation.context-ByjNx2uA.js} +1 -1
- package/dist/{form.binding-DOR5gIQf.js → form.binding-Ddx5NGCq.js} +1 -1
- package/dist/hooks/use-async-list.js +1 -1
- package/dist/{i18n-D8vXIoiq.js → i18n-DxbqkvyK.js} +14 -6
- package/dist/{i18n-DM-PUcxQ.d.ts → i18n-JT8Yui4a.d.ts} +12 -4
- package/dist/{import-C7W0Wv2r.js → import-Duf36Dbs.js} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +32 -32
- package/dist/inputRow.clsx-BbcaXVta.js +6 -0
- package/dist/{logger-CqZjM-sn.js → logger-CW24po62.js} +10 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/{staticDateTimeSegments-BVvFHWOs.js → staticDateTimeSegments-DeeSpTzj.js} +1 -1
- package/dist/tanstack/autocomplete.js +1 -1
- package/dist/tanstack/checkbox-group.js +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-input.js +1 -1
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/form.js +2 -2
- package/dist/tanstack/input.js +1 -1
- package/dist/tanstack/number-field.js +1 -1
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/password-input.js +1 -1
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/rich-text-editor.js +2 -2
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/switch.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/time-picker.js +1 -1
- package/dist/tanstack/toggle-group.js +1 -1
- package/dist/{tanstack-CJKor9l-.d.ts → tanstack-DzNVI2Rj.d.ts} +1 -1
- package/dist/tanstack.d.ts +3 -3
- package/dist/tanstack.js +32 -32
- package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-BVZ1va2U.js} +67 -14
- package/dist/{useForm-Cb7KWLds.js → useForm-C7wrpJ2t.js} +1 -1
- package/dist/{useFormAutosave-BPGlChiY.js → useFormAutosave-Cy0wTigY.js} +2 -2
- package/dist/{useTableColumnConfig-D4BGhlBT.js → useTableColumnConfig-xvu1zw0E.js} +693 -222
- package/dist/{useTableNav-hQCt_TbI.d.ts → useTableNav-DxuUTKn5.d.ts} +4 -1
- package/dist/utils/logger.js +1 -1
- package/package.json +1 -1
- package/dist/TableDnd-CuHxANWh.js +0 -133
|
@@ -10,9 +10,9 @@ import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js"
|
|
|
10
10
|
import { t as FormField } from "./FormField-dduTMkNH.js";
|
|
11
11
|
import { t as inputBaseDefinition } from "./input.cva-2C6_W5jD.js";
|
|
12
12
|
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
13
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
13
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-DmcWMIp0.js";
|
|
14
14
|
import { t as popoverDefinition } from "./popover.cva-DAbfSma6.js";
|
|
15
|
-
import { t as InputContent } from "./InputContent-
|
|
15
|
+
import { t as InputContent } from "./InputContent-BkNnqXt3.js";
|
|
16
16
|
import { t as selectListBoxItemDefinition } from "./selectItem.cva-B6vxey2R.js";
|
|
17
17
|
import { memo, useId, useRef, useState } from "react";
|
|
18
18
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
-
import { n as AutocompleteInner } from "./Autocomplete-
|
|
2
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
3
|
+
import { n as AutocompleteInner } from "./Autocomplete-XP-Qdlrm.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/Selection/Autocomplete/Autocomplete.bound.tsx
|
|
@@ -6,10 +6,10 @@ import { n as $bc25b811ec97a172$export$40258cc1d95ff477 } from "./ToggleButton-P
|
|
|
6
6
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
7
7
|
import { n as uiOutlineClass } from "./outline.clsx-DGGQQRkM.js";
|
|
8
8
|
import { BadgeButton } from "./components/badge-button.js";
|
|
9
|
-
import "./i18n-
|
|
10
|
-
import { t as TimePickerForm } from "./TimePickerForm-
|
|
9
|
+
import "./i18n-DxbqkvyK.js";
|
|
10
|
+
import { t as TimePickerForm } from "./TimePickerForm-Bv8S3M_p.js";
|
|
11
11
|
import { t as useScrollableListBox } from "./useScrollableListBox-oYKqU3Hp.js";
|
|
12
|
-
import { n as CalendarGrid, t as $1697a7ad3db7b79f$re_export$useDateFormatter } from "./import-
|
|
12
|
+
import { n as CalendarGrid, t as $1697a7ad3db7b79f$re_export$useDateFormatter } from "./import-Duf36Dbs.js";
|
|
13
13
|
import { ChevronDown, ChevronLeft, ChevronRight, ChevronUp } from "lucide-react";
|
|
14
14
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as Spinner } from "./Spinner-DqjP06T1.js";
|
|
2
|
-
import { r as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6 } from "./DatePickerInput-
|
|
2
|
+
import { r as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6 } from "./DatePickerInput-jrCYehXn.js";
|
|
3
3
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
4
4
|
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10 } from "./NumberFormatter-DYarfm5F.js";
|
|
5
|
-
import { f as $8b141f2f71e88f85$export$2440da353cedad43, g as $8b141f2f71e88f85$export$f18627323ab57ac0, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, p as $8b141f2f71e88f85$export$7e319ea407e63bc0 } from "./staticDateTimeSegments-
|
|
5
|
+
import { f as $8b141f2f71e88f85$export$2440da353cedad43, g as $8b141f2f71e88f85$export$f18627323ab57ac0, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, p as $8b141f2f71e88f85$export$7e319ea407e63bc0 } from "./staticDateTimeSegments-DeeSpTzj.js";
|
|
6
6
|
import { Suspense, lazy, useMemo, useState } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
import { DateFormatter, toCalendarDate, toCalendarDateTime } from "@internationalized/date";
|
|
@@ -110,7 +110,7 @@ function $28aae683a942e141$export$87194bb378cc3ac2(props) {
|
|
|
110
110
|
}
|
|
111
111
|
//#endregion
|
|
112
112
|
//#region src/components/inputs/DateTime/shared/Calendar.lazy.tsx
|
|
113
|
-
const loadCalendar = () => import("./Calendar-
|
|
113
|
+
const loadCalendar = () => import("./Calendar-DLlUsZP2.js");
|
|
114
114
|
const CalendarRenderer = lazy(() => loadCalendar().then(({ Calendar }) => ({ default: Calendar })));
|
|
115
115
|
/** Fetches the calendar chunk ahead of the dialog opening (hover, focus). */
|
|
116
116
|
const preloadCalendar = () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as CheckboxBase } from "./Checkbox-DYeofZzs.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
3
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/Checkbox/Checkbox.bound.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
2
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
3
3
|
import { n as CheckboxGroupBase } from "./CheckboxGroup-CK_tTvvI.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -5,12 +5,13 @@ import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js
|
|
|
5
5
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
6
6
|
import { t as FormField } from "./FormField-dduTMkNH.js";
|
|
7
7
|
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
8
|
-
import { i as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, n as renderDatePickerTodayIcon, t as DatePickerInput } from "./DatePickerInput-
|
|
9
|
-
import { i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-
|
|
10
|
-
import { n as preloadCalendar, r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar.lazy-
|
|
8
|
+
import { i as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, n as renderDatePickerTodayIcon, t as DatePickerInput } from "./DatePickerInput-jrCYehXn.js";
|
|
9
|
+
import { i as getStaticDateTimeFocusTarget, o as DateTimeDialogFooter, s as DateTimeDialog, t as getStaticCalendarDateSegments } from "./staticDateTimeSegments-DeeSpTzj.js";
|
|
10
|
+
import { n as preloadCalendar, r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar.lazy-Bl5amf0W.js";
|
|
11
11
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
12
12
|
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-CWkV2fut.js";
|
|
13
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
13
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-DmcWMIp0.js";
|
|
14
|
+
import { r as inputTrailingRowInsetClass } from "./inputRow.clsx-BbcaXVta.js";
|
|
14
15
|
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-CkmPaD6I.js";
|
|
15
16
|
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-BN0fOerH.js";
|
|
16
17
|
import { InputFrame } from "./components/input-frame.js";
|
|
@@ -396,7 +397,7 @@ const DatePickerInner = ({ defaultValue: _defaultValue, fullIso = true, granular
|
|
|
396
397
|
showClear: dateValue != null,
|
|
397
398
|
wrapContentAndTrailing: true,
|
|
398
399
|
contentAndTrailingClassName: "gap-2!",
|
|
399
|
-
trailingClassName:
|
|
400
|
+
trailingClassName: inputTrailingRowInsetClass,
|
|
400
401
|
action: showDropdown ? {
|
|
401
402
|
icon: ui.dateInput.calendarIcon,
|
|
402
403
|
onClick: () => {},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
-
import { n as DatePickerInner } from "./DatePicker-
|
|
2
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
3
|
+
import { n as DatePickerInner } from "./DatePicker-CqkS8dCf.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/DateTime/DatePicker/DatePicker.bound.tsx
|
|
@@ -7,12 +7,13 @@ import { IconButton } from "./components/icon-button.js";
|
|
|
7
7
|
import { n as FormFieldLabel } from "./FormField-dduTMkNH.js";
|
|
8
8
|
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-2C6_W5jD.js";
|
|
9
9
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
10
|
-
import { c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, l as DateSegmentItem } from "./staticDateTimeSegments-
|
|
10
|
+
import { c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, l as DateSegmentItem } from "./staticDateTimeSegments-DeeSpTzj.js";
|
|
11
11
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
12
12
|
import { t as DateUtils } from "./date.utils-B8_QF9y6.js";
|
|
13
13
|
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-CWkV2fut.js";
|
|
14
|
-
import "./i18n-
|
|
15
|
-
import { n as InputClear } from "./TooltipWrapper-
|
|
14
|
+
import "./i18n-DxbqkvyK.js";
|
|
15
|
+
import { n as InputClear } from "./TooltipWrapper-DmcWMIp0.js";
|
|
16
|
+
import { n as inputTrailingRowClass, r as inputTrailingRowInsetClass, t as inputContentRowClass } from "./inputRow.clsx-BbcaXVta.js";
|
|
16
17
|
import { Type } from "lucide-react";
|
|
17
18
|
import { useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
18
19
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -659,7 +660,7 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
|
|
|
659
660
|
"data-is-required": isRequired || void 0,
|
|
660
661
|
"data-is-filled": hasDisplayedValue || void 0,
|
|
661
662
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
662
|
-
className: clsx("
|
|
663
|
+
className: clsx(inputContentRowClass, "pr-0!", shouldShrinkInput && "flex-1", inputSizeCva({
|
|
663
664
|
size,
|
|
664
665
|
as
|
|
665
666
|
})),
|
|
@@ -719,12 +720,13 @@ const DatePickerInput = ({ ref, as, groupProps, fieldProps, endFieldProps, field
|
|
|
719
720
|
})
|
|
720
721
|
]
|
|
721
722
|
}), /* @__PURE__ */ jsxs("div", {
|
|
722
|
-
className: clsx(inputSizeCva({
|
|
723
|
+
className: clsx(inputTrailingRowClass, inputSizeCva({
|
|
723
724
|
size,
|
|
724
725
|
as
|
|
725
|
-
}),
|
|
726
|
+
}), inputTrailingRowInsetClass),
|
|
726
727
|
children: [isClearable && /* @__PURE__ */ jsx(InputClear, {
|
|
727
728
|
onClear: clearInput,
|
|
729
|
+
as,
|
|
728
730
|
show: showClear
|
|
729
731
|
}), (!disableDropdown || disableManualEntry) && /* @__PURE__ */ jsx(IconButton, {
|
|
730
732
|
label: "",
|
|
@@ -9,14 +9,15 @@ import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js
|
|
|
9
9
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
10
10
|
import { t as FormField } from "./FormField-dduTMkNH.js";
|
|
11
11
|
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
12
|
-
import { a as $dd602d3c757202f2$export$4f5203c0d889109e, c as $dd602d3c757202f2$export$f4a51ff076cc9a09, i as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, n as renderDatePickerTodayIcon, o as $dd602d3c757202f2$export$a1d3911297b952d7, r as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, s as $dd602d3c757202f2$export$eac50920cf2fd59a, t as DatePickerInput } from "./DatePickerInput-
|
|
12
|
+
import { a as $dd602d3c757202f2$export$4f5203c0d889109e, c as $dd602d3c757202f2$export$f4a51ff076cc9a09, i as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, n as renderDatePickerTodayIcon, o as $dd602d3c757202f2$export$a1d3911297b952d7, r as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, s as $dd602d3c757202f2$export$eac50920cf2fd59a, t as DatePickerInput } from "./DatePickerInput-jrCYehXn.js";
|
|
13
13
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
14
14
|
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10 } from "./NumberFormatter-DYarfm5F.js";
|
|
15
|
-
import { f as $8b141f2f71e88f85$export$2440da353cedad43, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, i as getStaticDateTimeFocusTarget, m as $8b141f2f71e88f85$export$80ff8fc0ae339c13, o as DateTimeDialogFooter, p as $8b141f2f71e88f85$export$7e319ea407e63bc0, r as getStaticDateRangeSegments, s as DateTimeDialog } from "./staticDateTimeSegments-
|
|
15
|
+
import { f as $8b141f2f71e88f85$export$2440da353cedad43, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, i as getStaticDateTimeFocusTarget, m as $8b141f2f71e88f85$export$80ff8fc0ae339c13, o as DateTimeDialogFooter, p as $8b141f2f71e88f85$export$7e319ea407e63bc0, r as getStaticDateRangeSegments, s as DateTimeDialog } from "./staticDateTimeSegments-DeeSpTzj.js";
|
|
16
16
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
17
17
|
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-CWkV2fut.js";
|
|
18
|
-
import "./i18n-
|
|
19
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
18
|
+
import "./i18n-DxbqkvyK.js";
|
|
19
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-DmcWMIp0.js";
|
|
20
|
+
import { r as inputTrailingRowInsetClass } from "./inputRow.clsx-BbcaXVta.js";
|
|
20
21
|
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-BN0fOerH.js";
|
|
21
22
|
import { InputFrame } from "./components/input-frame.js";
|
|
22
23
|
import { Suspense, lazy, memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
@@ -369,7 +370,7 @@ function $6de3e3f1a7663217$var$isCompleteRange(value) {
|
|
|
369
370
|
}
|
|
370
371
|
//#endregion
|
|
371
372
|
//#region src/components/inputs/DateTime/shared/RangeCalendar.lazy.tsx
|
|
372
|
-
const loadRangeCalendar = () => import("./RangeCalendar-
|
|
373
|
+
const loadRangeCalendar = () => import("./RangeCalendar-BuRiCB7z.js");
|
|
373
374
|
const RangeCalendarRenderer = lazy(() => loadRangeCalendar().then(({ RangeCalendar }) => ({ default: RangeCalendar })));
|
|
374
375
|
/** Fetches the range calendar chunk ahead of the dialog opening (hover, focus). */
|
|
375
376
|
const preloadRangeCalendar = () => {
|
|
@@ -1447,7 +1448,7 @@ const DateRangePickerInner = ({ fullIso = true, minValue, maxValue, renderStatic
|
|
|
1447
1448
|
showClear: hasProvidedRangeValue,
|
|
1448
1449
|
wrapContentAndTrailing: true,
|
|
1449
1450
|
contentAndTrailingClassName: "gap-2!",
|
|
1450
|
-
trailingClassName:
|
|
1451
|
+
trailingClassName: inputTrailingRowInsetClass,
|
|
1451
1452
|
action: showDropdown ? {
|
|
1452
1453
|
icon: ui.dateInput.calendarIcon,
|
|
1453
1454
|
onClick: () => {},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
-
import { n as DateRangePickerInner } from "./DateRangePicker-
|
|
2
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
3
|
+
import { n as DateRangePickerInner } from "./DateRangePicker-DfLnonW1.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/DateTime/DateRangePicker/DateRangePicker.bound.tsx
|
|
@@ -5,12 +5,13 @@ import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js
|
|
|
5
5
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
6
6
|
import { t as FormField } from "./FormField-dduTMkNH.js";
|
|
7
7
|
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
8
|
-
import { i as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, n as renderDatePickerTodayIcon, t as DatePickerInput } from "./DatePickerInput-
|
|
9
|
-
import { i as getStaticDateTimeFocusTarget, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-
|
|
10
|
-
import { n as preloadCalendar, r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar.lazy-
|
|
8
|
+
import { i as $ea0ea6e62ae0d7ca$export$6d095e787d2b5e1f, n as renderDatePickerTodayIcon, t as DatePickerInput } from "./DatePickerInput-jrCYehXn.js";
|
|
9
|
+
import { i as getStaticDateTimeFocusTarget, n as getStaticCalendarDateTimeSegments, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-DeeSpTzj.js";
|
|
10
|
+
import { n as preloadCalendar, r as $28aae683a942e141$export$87194bb378cc3ac2, t as Calendar } from "./Calendar.lazy-Bl5amf0W.js";
|
|
11
11
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
12
12
|
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-CWkV2fut.js";
|
|
13
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
13
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-DmcWMIp0.js";
|
|
14
|
+
import { r as inputTrailingRowInsetClass } from "./inputRow.clsx-BbcaXVta.js";
|
|
14
15
|
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-CkmPaD6I.js";
|
|
15
16
|
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-BN0fOerH.js";
|
|
16
17
|
import { InputFrame } from "./components/input-frame.js";
|
|
@@ -357,7 +358,7 @@ const DateTimePickerInner = ({ defaultValue: _defaultValue, renderStaticInput, i
|
|
|
357
358
|
showClear: dateTimeValue != null,
|
|
358
359
|
wrapContentAndTrailing: true,
|
|
359
360
|
contentAndTrailingClassName: "gap-2!",
|
|
360
|
-
trailingClassName:
|
|
361
|
+
trailingClassName: inputTrailingRowInsetClass,
|
|
361
362
|
action: showDropdown ? {
|
|
362
363
|
icon: ui.dateInput.dateTimeIcon,
|
|
363
364
|
onClick: () => {},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
-
import { n as DateTimePickerInner } from "./DateTimePicker-
|
|
2
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
3
|
+
import { n as DateTimePickerInner } from "./DateTimePicker-BL8koIhS.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/DateTime/DateTimePicker/DateTimePicker.bound.tsx
|
|
@@ -3,7 +3,7 @@ import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
|
3
3
|
import { n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-C9H9_BmK.js";
|
|
4
4
|
import { n as $8b8d26808cb8cb53$export$8948f78d83984c69, t as $8b8d26808cb8cb53$export$2b77a92f1a5ad772 } from "./Modal-DcLWF9cB.js";
|
|
5
5
|
import { IconButton } from "./components/icon-button.js";
|
|
6
|
-
import "./i18n-
|
|
6
|
+
import "./i18n-DxbqkvyK.js";
|
|
7
7
|
import { i as dialogOverlayDefinition, n as dialogMainDefinition, t as dialogContentDefinition } from "./dialog.cva-BIpz6HcA.js";
|
|
8
8
|
import { X } from "lucide-react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -8,7 +8,7 @@ import { IconButton } from "./components/icon-button.js";
|
|
|
8
8
|
import { i as $a8ea2faf2ebe4d2f$re_export$useLabels } from "./import-D_3dPATF.js";
|
|
9
9
|
import { t as FormField } from "./FormField-dduTMkNH.js";
|
|
10
10
|
import { a as inputSizeDefinition } from "./input.cva-2C6_W5jD.js";
|
|
11
|
-
import "./i18n-
|
|
11
|
+
import "./i18n-DxbqkvyK.js";
|
|
12
12
|
import { t as FileUtils } from "./file.utils-DqQxnuAm.js";
|
|
13
13
|
import { Upload, X } from "lucide-react";
|
|
14
14
|
import { memo, useState } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
-
import { n as FileInputBase } from "./FileInput-
|
|
2
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
3
|
+
import { n as FileInputBase } from "./FileInput-3wNdotBt.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/File/FileInput.bound.tsx
|
|
@@ -8,7 +8,7 @@ import { t as Button } from "./Button-dRFJundh.js";
|
|
|
8
8
|
import { IconButton } from "./components/icon-button.js";
|
|
9
9
|
import { i as $a8ea2faf2ebe4d2f$re_export$useLabels } from "./import-D_3dPATF.js";
|
|
10
10
|
import { t as FormField } from "./FormField-dduTMkNH.js";
|
|
11
|
-
import "./i18n-
|
|
11
|
+
import "./i18n-DxbqkvyK.js";
|
|
12
12
|
import { t as FileUtils } from "./file.utils-DqQxnuAm.js";
|
|
13
13
|
import { t as Progress } from "./Progress-RiEGGxNG.js";
|
|
14
14
|
import { t as fileUploadDropZoneDefinition } from "./fileUpload.cva-BYzXGc9C.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
-
import { n as FileUploadBase } from "./FileUpload-
|
|
2
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
3
|
+
import { n as FileUploadBase } from "./FileUpload-C3IMKBRp.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/File/FileUpload.bound.tsx
|
|
@@ -7,10 +7,11 @@ import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js"
|
|
|
7
7
|
import { t as FormField } from "./FormField-dduTMkNH.js";
|
|
8
8
|
import { t as inputBaseDefinition } from "./input.cva-2C6_W5jD.js";
|
|
9
9
|
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
10
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
10
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-DmcWMIp0.js";
|
|
11
|
+
import { r as inputTrailingRowInsetClass } from "./inputRow.clsx-BbcaXVta.js";
|
|
11
12
|
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-BN0fOerH.js";
|
|
12
13
|
import { InputFrame } from "./components/input-frame.js";
|
|
13
|
-
import { n as clearInput, t as InputContent } from "./InputContent-
|
|
14
|
+
import { n as clearInput, t as InputContent } from "./InputContent-BkNnqXt3.js";
|
|
14
15
|
import { memo, useEffect, useRef, useState } from "react";
|
|
15
16
|
import { jsx } from "react/jsx-runtime";
|
|
16
17
|
import { useFocusVisible } from "@react-aria/interactions";
|
|
@@ -205,7 +206,7 @@ const InputInner = ({ renderStaticInput, isFormControlDisabled, ...props }) => {
|
|
|
205
206
|
staticPressTarget: "action",
|
|
206
207
|
inputClassName: props.inputClassName,
|
|
207
208
|
contentClassName: clsx(as === "inline" && "h-full", "pr-0!"),
|
|
208
|
-
trailingClassName:
|
|
209
|
+
trailingClassName: inputTrailingRowInsetClass,
|
|
209
210
|
wrapContentAndTrailing: true,
|
|
210
211
|
reserveTrailingContent: true,
|
|
211
212
|
children: (dataAttributeProps) => /* @__PURE__ */ jsx("input", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
-
import { r as InputInner } from "./Input-
|
|
2
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
3
|
+
import { r as InputInner } from "./Input-DRR8_MgG.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/Input/Input.bound.tsx
|
|
@@ -6,7 +6,8 @@ import { t as Spinner } from "./Spinner-DqjP06T1.js";
|
|
|
6
6
|
import { IconButton } from "./components/icon-button.js";
|
|
7
7
|
import { n as FormFieldLabel } from "./FormField-dduTMkNH.js";
|
|
8
8
|
import { a as inputSizeDefinition, r as inputContentWrapperDefinition } from "./input.cva-2C6_W5jD.js";
|
|
9
|
-
import { n as InputClear } from "./TooltipWrapper-
|
|
9
|
+
import { n as InputClear } from "./TooltipWrapper-DmcWMIp0.js";
|
|
10
|
+
import { n as inputTrailingRowClass, r as inputTrailingRowInsetClass, t as inputContentRowClass } from "./inputRow.clsx-BbcaXVta.js";
|
|
10
11
|
import { isValidElement } from "react";
|
|
11
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
13
|
import { flushSync } from "react-dom";
|
|
@@ -33,7 +34,7 @@ const InputContent = ({ leadingIcon: LeadingIcon, trailingIcon: TrailingIcon, un
|
|
|
33
34
|
return /* @__PURE__ */ jsxs("div", {
|
|
34
35
|
className: "flex w-full items-center gap-2",
|
|
35
36
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
36
|
-
className: clsx("group/input-content
|
|
37
|
+
className: clsx("group/input-content", inputContentRowClass, "pr-0!", as === "inline" && "h-full", inputSizeCva({
|
|
37
38
|
size,
|
|
38
39
|
as
|
|
39
40
|
})),
|
|
@@ -52,16 +53,17 @@ const InputContent = ({ leadingIcon: LeadingIcon, trailingIcon: TrailingIcon, un
|
|
|
52
53
|
}), children]
|
|
53
54
|
})]
|
|
54
55
|
}), /* @__PURE__ */ jsxs("div", {
|
|
55
|
-
className: clsx(
|
|
56
|
+
className: clsx(inputTrailingRowClass, inputSizeCva({
|
|
56
57
|
size,
|
|
57
58
|
as
|
|
58
|
-
}), !isTrailingIconElement && !action && !(isClearable && showClear) && "pointer-events-none"),
|
|
59
|
+
}), inputTrailingRowInsetClass, !isTrailingIconElement && !action && !(isClearable && showClear) && "pointer-events-none"),
|
|
59
60
|
children: [
|
|
60
61
|
isClearable && canClear && /* @__PURE__ */ jsx(InputClear, {
|
|
61
62
|
onClear: () => {
|
|
62
63
|
if (!canClear) return;
|
|
63
64
|
clearInput(inputRef.current, () => onChange?.(""), onBlur);
|
|
64
65
|
},
|
|
66
|
+
as,
|
|
65
67
|
show: showClear
|
|
66
68
|
}),
|
|
67
69
|
unit && /* @__PURE__ */ jsx("span", {
|
|
@@ -10,10 +10,11 @@ import { t as inputBaseDefinition } from "./input.cva-2C6_W5jD.js";
|
|
|
10
10
|
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
11
11
|
import { n as $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c, t as getStaticNumberDisplayValue } from "./numberStatic.utils-BIyZuILs.js";
|
|
12
12
|
import { t as IntlUtils } from "./intl.utils-zwAFoZ0U.js";
|
|
13
|
-
import { t as TooltipWrapper } from "./TooltipWrapper-
|
|
13
|
+
import { t as TooltipWrapper } from "./TooltipWrapper-DmcWMIp0.js";
|
|
14
|
+
import { r as inputTrailingRowInsetClass } from "./inputRow.clsx-BbcaXVta.js";
|
|
14
15
|
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-BN0fOerH.js";
|
|
15
16
|
import { InputFrame } from "./components/input-frame.js";
|
|
16
|
-
import { n as clearInput, t as InputContent } from "./InputContent-
|
|
17
|
+
import { n as clearInput, t as InputContent } from "./InputContent-BkNnqXt3.js";
|
|
17
18
|
import { memo, useCallback, useEffect, useRef, useState } from "react";
|
|
18
19
|
import { jsx } from "react/jsx-runtime";
|
|
19
20
|
import { useNumberField } from "react-aria";
|
|
@@ -207,7 +208,7 @@ const NumberFieldInner = ({ renderStaticInput, isFormControlDisabled, ...props }
|
|
|
207
208
|
onStaticInteract: renderRealInput,
|
|
208
209
|
inputClassName: props.inputClassName,
|
|
209
210
|
contentClassName: clsx(as === "inline" && "h-full", "pr-0!"),
|
|
210
|
-
trailingClassName:
|
|
211
|
+
trailingClassName: inputTrailingRowInsetClass,
|
|
211
212
|
wrapContentAndTrailing: true,
|
|
212
213
|
reserveTrailingContent: true,
|
|
213
214
|
children: (dataAttributeProps) => /* @__PURE__ */ jsx("input", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
-
import { r as NumberFieldInner } from "./NumberField-
|
|
2
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
3
|
+
import { r as NumberFieldInner } from "./NumberField-OjtbK2Uh.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/Input/NumberField/NumberField.bound.tsx
|
|
@@ -9,7 +9,8 @@ import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-
|
|
|
9
9
|
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
10
10
|
import { n as $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c, t as getStaticNumberDisplayValue } from "./numberStatic.utils-BIyZuILs.js";
|
|
11
11
|
import { t as IntlUtils } from "./intl.utils-zwAFoZ0U.js";
|
|
12
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
12
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-DmcWMIp0.js";
|
|
13
|
+
import { r as inputTrailingRowInsetClass } from "./inputRow.clsx-BbcaXVta.js";
|
|
13
14
|
import { n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "./useStaticInputHandoff-BN0fOerH.js";
|
|
14
15
|
import { InputFrame } from "./components/input-frame.js";
|
|
15
16
|
import { memo, useEffect, useRef, useState } from "react";
|
|
@@ -308,7 +309,7 @@ const NumberRangeInputInner = ({ renderStaticInput, isFormControlDisabled, ...pr
|
|
|
308
309
|
className: clsx("group w-full", as === "inline" && "h-full", props.className),
|
|
309
310
|
inputClassName: props.inputClassName,
|
|
310
311
|
contentClassName: "pr-0!",
|
|
311
|
-
trailingClassName:
|
|
312
|
+
trailingClassName: inputTrailingRowInsetClass,
|
|
312
313
|
contentWrapperClassName: clsx("flex w-full items-center gap-2 pr-0! py-0! px-0!", inputSizeCva({
|
|
313
314
|
size,
|
|
314
315
|
as
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as FieldController } from "./form.binding-
|
|
2
|
-
import { n as NumberRangeInputInner } from "./NumberRangeInput-
|
|
1
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
2
|
+
import { n as NumberRangeInputInner } from "./NumberRangeInput-EKzbxaN0.js";
|
|
3
3
|
import { memo } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/inputs/Input/NumberRangeInput/NumberRangeInput.bound.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./i18n-
|
|
2
|
-
import { t as Input } from "./Input.bound-
|
|
1
|
+
import "./i18n-DxbqkvyK.js";
|
|
2
|
+
import { t as Input } from "./Input.bound-3CTdQnA8.js";
|
|
3
3
|
import { Eye, EyeOff } from "lucide-react";
|
|
4
4
|
import { memo, useState } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as RadioGroupBase } from "./RadioGroup-Dvq0TiEB.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
3
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/RadioGroup/RadioGroup.bound.tsx
|
|
@@ -2,9 +2,9 @@ import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
|
2
2
|
import { IconButton } from "./components/icon-button.js";
|
|
3
3
|
import { BadgeButton } from "./components/badge-button.js";
|
|
4
4
|
import { t as useBreakpoint } from "./useBreakpoint-CJ3mx7UF.js";
|
|
5
|
-
import "./i18n-
|
|
6
|
-
import { t as Select } from "./Select-
|
|
7
|
-
import { n as CalendarGrid, t as $1697a7ad3db7b79f$re_export$useDateFormatter } from "./import-
|
|
5
|
+
import "./i18n-DxbqkvyK.js";
|
|
6
|
+
import { t as Select } from "./Select-DfgTo2X3.js";
|
|
7
|
+
import { n as CalendarGrid, t as $1697a7ad3db7b79f$re_export$useDateFormatter } from "./import-Duf36Dbs.js";
|
|
8
8
|
import { ChevronDown, ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight } from "lucide-react";
|
|
9
9
|
import { useEffect, useMemo, useRef } from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -14,10 +14,10 @@ import { t as Button } from "./Button-dRFJundh.js";
|
|
|
14
14
|
import { IconButton } from "./components/icon-button.js";
|
|
15
15
|
import { n as FormFieldLabel, t as FormField } from "./FormField-dduTMkNH.js";
|
|
16
16
|
import { i as inputSideDefinition, o as useInputCva } from "./input.cva-2C6_W5jD.js";
|
|
17
|
-
import "./i18n-
|
|
17
|
+
import "./i18n-DxbqkvyK.js";
|
|
18
18
|
import { t as popoverDefinition } from "./popover.cva-DAbfSma6.js";
|
|
19
|
-
import { t as Input } from "./Input-
|
|
20
|
-
import { t as Select } from "./Select-
|
|
19
|
+
import { t as Input } from "./Input-DRR8_MgG.js";
|
|
20
|
+
import { t as Select } from "./Select-DfgTo2X3.js";
|
|
21
21
|
import { Popover } from "./components/popover.js";
|
|
22
22
|
import { AlignCenter, AlignJustify, AlignLeft, AlignRight, Baseline, Bold, ChevronDown, Highlighter, Italic, Link, List, ListOrdered, Strikethrough, Underline } from "lucide-react";
|
|
23
23
|
import $ahdqC$react, { createContext, forwardRef, memo, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -533,11 +533,15 @@ const RichTextEditorToolbar = ({ editor }) => {
|
|
|
533
533
|
//#endregion
|
|
534
534
|
//#region src/components/inputs/RichTextEditor/RichTextEditor.tsx
|
|
535
535
|
const extensions = [
|
|
536
|
-
StarterKit.configure({
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
536
|
+
StarterKit.configure({
|
|
537
|
+
heading: { levels: [
|
|
538
|
+
1,
|
|
539
|
+
2,
|
|
540
|
+
3
|
|
541
|
+
] },
|
|
542
|
+
link: false,
|
|
543
|
+
underline: false
|
|
544
|
+
}),
|
|
541
545
|
TextAlign.configure({ types: ["heading", "paragraph"] }),
|
|
542
546
|
Underline$1,
|
|
543
547
|
TextStyle,
|
|
@@ -16,12 +16,12 @@ import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js
|
|
|
16
16
|
import { n as FormFieldLabel, t as FormField } from "./FormField-dduTMkNH.js";
|
|
17
17
|
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-2C6_W5jD.js";
|
|
18
18
|
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
19
|
-
import "./i18n-
|
|
20
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
19
|
+
import "./i18n-DxbqkvyK.js";
|
|
20
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-DmcWMIp0.js";
|
|
21
21
|
import { t as popoverDefinition } from "./popover.cva-DAbfSma6.js";
|
|
22
22
|
import { n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "./useStaticInputHandoff-BN0fOerH.js";
|
|
23
23
|
import { InputFrame } from "./components/input-frame.js";
|
|
24
|
-
import { t as Input } from "./Input-
|
|
24
|
+
import { t as Input } from "./Input-DRR8_MgG.js";
|
|
25
25
|
import { Tag } from "./components/tag.js";
|
|
26
26
|
import { n as selectInputTagsContentWrapperDefinition, t as selectPopoverDefinition } from "./selectDesktop.cva-DStkOdwm.js";
|
|
27
27
|
import { ChevronDown, Search, X } from "lucide-react";
|
|
@@ -686,7 +686,7 @@ const SelectInput = ({ ref, placeholder, variant, as, size, isDisabled, isInvali
|
|
|
686
686
|
//#region src/components/inputs/Selection/shared/SelectListBox.lazy.tsx
|
|
687
687
|
let loadedListBox;
|
|
688
688
|
let pendingListBox;
|
|
689
|
-
const loadSelectListBox = () => pendingListBox ??= import("./SelectListBox-
|
|
689
|
+
const loadSelectListBox = () => pendingListBox ??= import("./SelectListBox-B_bqWSLU.js").then(({ SelectListBox }) => {
|
|
690
690
|
loadedListBox = SelectListBox;
|
|
691
691
|
return SelectListBox;
|
|
692
692
|
}).catch((error) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
-
import { n as SelectInner } from "./Select-
|
|
2
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
3
|
+
import { n as SelectInner } from "./Select-DfgTo2X3.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/Selection/Select/Select.bound.tsx
|
|
@@ -5,9 +5,9 @@ import { i as $928221da08ecbc62$export$a11e76429ed99b4, t as $928221da08ecbc62$e
|
|
|
5
5
|
import { n as $a3be900807531178$re_export$ListLayout, r as $a3be900807531178$re_export$Rect } from "./exports-BNrTn8Tj.js";
|
|
6
6
|
import { t as Spinner } from "./Spinner-DqjP06T1.js";
|
|
7
7
|
import { t as CheckboxCheckmark } from "./CheckboxCheckmark-DYhxLfZN.js";
|
|
8
|
-
import "./i18n-
|
|
8
|
+
import "./i18n-DxbqkvyK.js";
|
|
9
9
|
import { t as selectListBoxItemDefinition } from "./selectItem.cva-B6vxey2R.js";
|
|
10
|
-
import { c as LoadingItemId, o as SelectContext } from "./Select-
|
|
10
|
+
import { c as LoadingItemId, o as SelectContext } from "./Select-DfgTo2X3.js";
|
|
11
11
|
import { t as useIntersectionObserver } from "./useIntersectionObserver-DFAhTsV0.js";
|
|
12
12
|
import { Check } from "lucide-react";
|
|
13
13
|
import $ahdqC$react, { createContext, useCallback, useContext, useLayoutEffect, useMemo, useRef } from "react";
|
|
@@ -230,6 +230,7 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
230
230
|
const { fieldState, onChange, listItems, selectableListItems, selectedIds, isMultiple, onClear, onSelectAll, hasLoadMore, isLoading } = SelectContext.useSelect();
|
|
231
231
|
const listBoxRef = useRef(null);
|
|
232
232
|
const hasRequestedAtTopRef = useRef(false);
|
|
233
|
+
const isLoadMorePendingRef = useRef(false);
|
|
233
234
|
const isReverseScrollAnchoredRef = useRef(!isReversed);
|
|
234
235
|
const reverseScrollBottomOffsetRef = useRef(0);
|
|
235
236
|
const previousLoadedItemIdsRef = useRef([]);
|
|
@@ -258,6 +259,13 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
258
259
|
useLayoutEffect(() => {
|
|
259
260
|
hasRequestedAtTopRef.current = false;
|
|
260
261
|
}, [loadMoreResetKey]);
|
|
262
|
+
useLayoutEffect(() => {
|
|
263
|
+
if (!isLoading) isLoadMorePendingRef.current = false;
|
|
264
|
+
}, [
|
|
265
|
+
isLoading,
|
|
266
|
+
hasLoadMore,
|
|
267
|
+
loadMoreResetKey
|
|
268
|
+
]);
|
|
261
269
|
useLayoutEffect(() => {
|
|
262
270
|
const previousLoadedItemIds = previousLoadedItemIdsRef.current;
|
|
263
271
|
const preservesExistingItems = previousLoadedItemIds.length > 0 && previousLoadedItemIds.every((itemId, index) => loadedItemIds[index] === itemId);
|
|
@@ -316,10 +324,11 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
316
324
|
};
|
|
317
325
|
const requestLoadMore = useCallback(() => {
|
|
318
326
|
const current = loadMoreStateRef.current;
|
|
319
|
-
if (!current || current.isLoading || !current.hasLoadMore) return;
|
|
327
|
+
if (!current || current.isLoading || !current.hasLoadMore || !current.onLoadMore || isLoadMorePendingRef.current) return;
|
|
320
328
|
if (current.isReversed && (!isReverseScrollAnchoredRef.current || (listBoxRef.current?.scrollTop ?? 0) > 1 || hasRequestedAtTopRef.current)) return;
|
|
321
329
|
if (current.isReversed) hasRequestedAtTopRef.current = true;
|
|
322
|
-
current
|
|
330
|
+
isLoadMorePendingRef.current = true;
|
|
331
|
+
current.onLoadMore();
|
|
323
332
|
}, []);
|
|
324
333
|
const onScroll = (event) => {
|
|
325
334
|
if (!isReversed || !hasLoadMore || !isReverseScrollAnchoredRef.current) return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as SliderBase } from "./Slider-DCsCCPFx.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
3
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/Slider/Slider.bound.tsx
|