@oliasoft-open-source/react-ui-library 7.0.2-beta-4 → 7.0.2-beta-5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"changes-overview.d.ts","sourceRoot":"","sources":["../../../src/components/audit-log/changes-overview.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkC,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AA2E/C,eAAO,MAAM,eAAe,GAAI,wDAK7B;IACD,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,4CA+BA,CAAC"}
1
+ {"version":3,"file":"changes-overview.d.ts","sourceRoot":"","sources":["../../../src/components/audit-log/changes-overview.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkC,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AA2E/C,eAAO,MAAM,eAAe,GAAI,wDAK7B;IACD,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,4CAgCA,CAAC"}
@@ -31,7 +31,6 @@ export interface INumberInputProps {
31
31
  roundDisplayValue?: (args: TStringOrNumber) => TStringOrNumber;
32
32
  disableInternalErrorValidationMessages?: boolean;
33
33
  disableValidationOnFocus?: boolean;
34
- useControlledValueWhenBlurred?: boolean;
35
34
  }
36
- export declare const NumberInput: ({ name, placeholder, disabled, error, left, small, width, value, onChange, onFocus, onBlur, selectOnFocus, tabIndex, testId, tooltip, warning, validationCallback, allowEmpty, isInTable, groupOrder, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, disableInternalErrorValidationMessages, disableValidationOnFocus, useControlledValueWhenBlurred, }: INumberInputProps) => import("react/jsx-runtime").JSX.Element;
35
+ export declare const NumberInput: ({ name, placeholder, disabled, error, left, small, width, value, onChange, onFocus, onBlur, selectOnFocus, tabIndex, testId, tooltip, warning, validationCallback, allowEmpty, isInTable, groupOrder, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, disableInternalErrorValidationMessages, disableValidationOnFocus, }: INumberInputProps) => import("react/jsx-runtime").JSX.Element;
37
36
  //# sourceMappingURL=number-input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"number-input.d.ts","sourceRoot":"","sources":["../../../src/components/number-input/number-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAoC,UAAU,EAAyB,MAAM,OAAO,CAAC;AAWnG,OAAO,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAI5F,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,GAAG;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACtD,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,CAAC,gBAAgB,CAAC,KA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6 @@ export default _default;
5
5
  export declare const TestInputGroup: () => import("react/jsx-runtime").JSX.Element;
6
6
  export declare const Placeholder: StoryFn<INumberInputProps>;
7
7
  export declare const TestDisplayRounding: StoryFn<INumberInputProps>;
8
- export declare const TestExternalUpdateWhileFocused: StoryFn<INumberInputProps>;
9
- export declare const TestControlledValueWhenBlurred: StoryFn<INumberInputProps>;
10
- export declare const TestValidationRerenderWhileEditing: StoryFn<INumberInputProps>;
11
8
  export declare const ManagedTestCase: () => import("react/jsx-runtime").JSX.Element;
12
9
  export declare const DemoCosmeticRounding: StoryFn<INumberInputProps>;
13
10
  export declare const TestUserInput: StoryFn<INumberInputProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"number-input.test-case.stories.d.ts","sourceRoot":"","sources":["../../../src/components/number-input/number-input.test-case.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAetD,OAAO,EAAE,iBAAiB,EAAe,MAAM,gBAAgB,CAAC;wBAc3D,IAAI;AAZT,wBAYU;AAEV,eAAO,MAAM,cAAc,+CAO1B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,iBAAiB,CAWlD,CAAC;AAkBF,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,iBAAiB,CAY1D,CAAC;AAiBF,eAAO,MAAM,8BAA8B,EAAE,OAAO,CAAC,iBAAiB,CAerE,CAAC;AAcF,eAAO,MAAM,8BAA8B,EAAE,OAAO,CAAC,iBAAiB,CAerE,CAAC;AAUF,eAAO,MAAM,kCAAkC,EAAE,OAAO,CAAC,iBAAiB,CAiBzE,CAAC;AAeF,eAAO,MAAM,eAAe,+CAiC3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,iBAAiB,CAqE3D,CAAC;AAgEF,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,iBAAiB,CAWpD,CAAC;AAqDF,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,iBAAiB,CAWnD,CAAC"}
1
+ {"version":3,"file":"number-input.test-case.stories.d.ts","sourceRoot":"","sources":["../../../src/components/number-input/number-input.test-case.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAetD,OAAO,EAAE,iBAAiB,EAAe,MAAM,gBAAgB,CAAC;wBAc3D,IAAI;AAZT,wBAYU;AAEV,eAAO,MAAM,cAAc,+CAO1B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,iBAAiB,CAWlD,CAAC;AAkBF,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,iBAAiB,CAY1D,CAAC;AAiBF,eAAO,MAAM,eAAe,+CAiC3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,iBAAiB,CAqE3D,CAAC;AAgEF,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,iBAAiB,CAWpD,CAAC;AAqDF,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,iBAAiB,CAWnD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"unit-input.d.ts","sourceRoot":"","sources":["../../../src/components/unit-input/unit-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAsB,iBAAiB,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAkCtH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAEvE,OAAO,EAAc,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAI/D,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,wBAAwB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AACvE,MAAM,MAAM,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CAAC;IACjE,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IAC9C,OAAO,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,eAAe,CAAC;IAC/D,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,OAAO,CAAC,EAAE,eAAe,GAAG,KAAK,CAAC,SAAS,CAAC;CAC7C;AAED,eAAO,MAAM,SAAS,GAAI,0dAkCvB,eAAe,4CA6WjB,CAAC"}
@@ -15,8 +15,6 @@ export declare const TestExternalStateChangeWithSynchronizedUnits: {
15
15
  };
16
16
  };
17
17
  };
18
- export declare const TestRapidControlledValueChanges: StoryFn<IUnitInputProps>;
19
- export declare const TestValidationDoesNotResetDisplayValue: StoryFn<IUnitInputProps>;
20
18
  export declare const TestEdgeCases: {
21
19
  (): import("react/jsx-runtime").JSX.Element;
22
20
  parameters: {
@@ -1 +1 @@
1
- {"version":3,"file":"unit-input.test-case.stories.d.ts","sourceRoot":"","sources":["../../../src/components/unit-input/unit-input.test-case.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGtD,OAAO,EAAE,eAAe,EAAa,MAAM,kCAAkC,CAA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AAmB,CAAC;AAc3D,eAAO,MAAM,kBAAkB,mHAAmB,CAAC;AAUnD,eAAO,MAAM,oBAAoB,mHAAmB,CAAC;AAuBrD,eAAO,MAAM,oBAAoB,mHAAmB,CAAC;AAUrD,eAAO,MAAM,gBAAgB,mHAAmB,CAAC;AAgBjD,eAAO,MAAM,0BAA0B,mHAAmB,CAAC"}
1
+ {"version":3,"file":"unit-input.test-case.stories.d.ts","sourceRoot":"","sources":["../../../src/components/unit-input/unit-input.test-case.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGtD,OAAO,EAAE,eAAe,EAAa,MAAM,kCAAkC,CAAC;wBA2BzE,IAAI,CAAC,eAAe,CAAC;AAV1B,wBAU2B;AAU3B,eAAO,MAAM,OAAO,mHAAoB,CAAC;AAEzC,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,eAAe,CAchD,CAAC;AAkBF,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,eAAe,CAcxD,CAAC;AA+CF,eAAO,MAAM,4CAA4C;YAAW,eAAe;;;;;;;;CAsDlF,CAAC;AAUF,eAAO,MAAM,aAAa;;;;;;;;;CA4EzB,CAAC;AASF,eAAO,MAAM,eAAe,+CAqC3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,+CA0B5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,eAAe,CAgBrD,CAAC;AASF,eAAO,MAAM,oBAAoB,+CAsGhC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,OAAO,CAAC,eAAe,CAalD,CAAC;AAyDF,eAAO,MAAM,gBAAgB,mHAAmB,CAAC;AAUjD,eAAO,MAAM,oBAAoB,mHAAmB,CAAC;AAarD,eAAO,MAAM,aAAa,mHAAmB,CAAC;AAc9C,eAAO,MAAM,YAAY,mHAAmB,CAAC;AAU7C,eAAO,MAAM,aAAa,mHAAmB,CAAC;AAU9C,eAAO,MAAM,eAAe,mHAAmB,CAAC;AAkBhD,eAAO,MAAM,gBAAgB,mHAAmB,CAAC;AAYjD,eAAO,MAAM,oBAAoB,mHAAmB,CAAC;AAUrD,eAAO,MAAM,eAAe,mHAAmB,CAAC;AAchD,eAAO,MAAM,yBAAyB,mHAAmB,CAAC;AA0B1D,eAAO,MAAM,kCAAkC,mHAAmB,CAAC;AA6BnE,eAAO,MAAM,0BAA0B,mHAAmB,CAAC;AAiC3D,eAAO,MAAM,0BAA0B,mHAAmB,CAAC;AAc3D,eAAO,MAAM,kBAAkB,mHAAmB,CAAC;AAUnD,eAAO,MAAM,oBAAoB,mHAAmB,CAAC;AAuBrD,eAAO,MAAM,oBAAoB,mHAAmB,CAAC;AAUrD,eAAO,MAAM,gBAAgB,mHAAmB,CAAC;AAgBjD,eAAO,MAAM,0BAA0B,mHAAmB,CAAC"}
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import e, { Fragment as t, createContext as n, createElement as r, forwardRef as i, isValidElement as a, memo as o, useCallback as s, useContext as c, useEffect as l, useImperativeHandle as u, useLayoutEffect as d, useMemo as f, useReducer as p, useRef as m, useState as h, useTransition as g } from "react";
2
2
  import _ from "classnames";
3
3
  import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
4
- import { TbAlertTriangle as x, TbArrowDown as S, TbArrowLeft as C, TbArrowRight as w, TbArrowUp as T, TbArrowsDiagonal as E, TbArrowsMaximize as D, TbArrowsMinimize as O, TbArrowsMove as k, TbArrowsSplit as A, TbBell as j, TbBold as M, TbBolt as N, TbBook2 as P, TbBuildingSkyscraper as F, TbCamera as I, TbChartBar as ee, TbChartLine as L, TbChartPie2 as R, TbCheck as z, TbChevronDown as te, TbChevronLeft as ne, TbChevronRight as re, TbChevronUp as B, TbChevronsLeft as ie, TbChevronsRight as ae, TbCircle as oe, TbCircleCheck as se, TbCircleX as ce, TbClipboard as le, TbClock as ue, TbCode as de, TbCopy as fe, TbCornerDownRight as pe, TbDeviceFloppy as me, TbDeviceLaptop as he, TbDotsVertical as ge, TbDownload as _e, TbDroplet as ve, TbExclamationMark as ye, TbExternalLink as be, TbEye as xe, TbEyeOff as Se, TbFile as Ce, TbFilter as we, TbFilterOff as Te, TbFocusCentered as Ee, TbFolder as De, TbFolderSearch as Oe, TbGauge as ke, TbGitFork as Ae, TbGripVertical as je, TbHelp as Me, TbInfoCircle as Ne, TbItalic as Pe, TbKey as Fe, TbLayoutColumns as Ie, TbLayoutRows as Le, TbLibraryMinus as Re, TbLibraryPlus as ze, TbLink as Be, TbLinkOff as Ve, TbList as He, TbListNumbers as Ue, TbLoader2 as We, TbLock as Ge, TbLockOpen as Ke, TbMapPin as qe, TbMessageCircle as Je, TbMinus as Ye, TbMoon as Xe, TbMovie as Ze, TbNote as Qe, TbPencil as $e, TbPlayerPause as et, TbPlayerPlay as tt, TbPlayerSkipBack as nt, TbPlayerSkipForward as rt, TbPlayerStop as it, TbPlayerTrackNext as at, TbPlayerTrackPrev as ot, TbPlus as st, TbQuestionMark as ct, TbRefresh as lt, TbReload as ut, TbRotate as dt, TbRowInsertBottom as ft, TbRowInsertTop as pt, TbRuler3 as mt, TbScale as ht, TbSearch as gt, TbServer as _t, TbSettings as vt, TbSortAscending as yt, TbSortDescending as bt, TbSquarePlus as xt, TbStar as St, TbSun as Ct, TbTable as wt, TbTarget as Tt, TbTrash as Et, TbUpload as Dt, TbUser as Ot, TbUsers as kt, TbX as At } from "react-icons/tb";
4
+ import { TbAlertTriangle as x, TbArrowDown as S, TbArrowLeft as C, TbArrowRight as w, TbArrowUp as T, TbArrowsDiagonal as E, TbArrowsMaximize as D, TbArrowsMinimize as O, TbArrowsMove as k, TbArrowsSplit as A, TbBell as j, TbBold as M, TbBolt as N, TbBook2 as P, TbBuildingSkyscraper as F, TbCamera as I, TbChartBar as L, TbChartLine as R, TbChartPie2 as z, TbCheck as ee, TbChevronDown as te, TbChevronLeft as ne, TbChevronRight as re, TbChevronUp as B, TbChevronsLeft as ie, TbChevronsRight as ae, TbCircle as oe, TbCircleCheck as se, TbCircleX as ce, TbClipboard as le, TbClock as ue, TbCode as de, TbCopy as fe, TbCornerDownRight as pe, TbDeviceFloppy as me, TbDeviceLaptop as he, TbDotsVertical as ge, TbDownload as _e, TbDroplet as ve, TbExclamationMark as ye, TbExternalLink as be, TbEye as xe, TbEyeOff as Se, TbFile as Ce, TbFilter as we, TbFilterOff as Te, TbFocusCentered as Ee, TbFolder as De, TbFolderSearch as Oe, TbGauge as ke, TbGitFork as Ae, TbGripVertical as je, TbHelp as Me, TbInfoCircle as Ne, TbItalic as Pe, TbKey as Fe, TbLayoutColumns as Ie, TbLayoutRows as Le, TbLibraryMinus as Re, TbLibraryPlus as ze, TbLink as Be, TbLinkOff as Ve, TbList as He, TbListNumbers as Ue, TbLoader2 as We, TbLock as Ge, TbLockOpen as Ke, TbMapPin as qe, TbMessageCircle as Je, TbMinus as Ye, TbMoon as Xe, TbMovie as Ze, TbNote as Qe, TbPencil as $e, TbPlayerPause as et, TbPlayerPlay as tt, TbPlayerSkipBack as nt, TbPlayerSkipForward as rt, TbPlayerStop as it, TbPlayerTrackNext as at, TbPlayerTrackPrev as ot, TbPlus as st, TbQuestionMark as ct, TbRefresh as lt, TbReload as ut, TbRotate as dt, TbRowInsertBottom as ft, TbRowInsertTop as pt, TbRuler3 as mt, TbScale as ht, TbSearch as gt, TbServer as _t, TbSettings as vt, TbSortAscending as yt, TbSortDescending as bt, TbSquarePlus as xt, TbStar as St, TbSun as Ct, TbTable as wt, TbTarget as Tt, TbTrash as Et, TbUpload as Dt, TbUser as Ot, TbUsers as kt, TbX as At } from "react-icons/tb";
5
5
  import { CSSTransition as jt } from "react-transition-group";
6
6
  import { CheckboxButton as Mt, CheckboxField as Nt } from "react-aria-components/Checkbox";
7
7
  import { FloatingArrow as Pt, FloatingNode as Ft, FloatingPortal as It, FloatingTree as Lt, arrow as Rt, autoUpdate as zt, flip as Bt, offset as Vt, shift as Ht, size as Ut, useClientPoint as Wt, useDismiss as Gt, useFloating as Kt, useFloatingNodeId as qt, useFloatingParentNodeId as Jt, useHover as Yt, useInteractions as Xt, useMergeRefs as Zt } from "@floating-ui/react";
@@ -98,12 +98,12 @@ var ni = /* @__PURE__ */ function(e) {
98
98
  case "clear":
99
99
  case "times": return /* @__PURE__ */ y(At, {});
100
100
  case "chart":
101
- case "chart line": return /* @__PURE__ */ y(L, {});
102
- case "chart bar": return /* @__PURE__ */ y(ee, {});
103
- case "chart pie": return /* @__PURE__ */ y(R, {});
101
+ case "chart line": return /* @__PURE__ */ y(R, {});
102
+ case "chart bar": return /* @__PURE__ */ y(L, {});
103
+ case "chart pie": return /* @__PURE__ */ y(z, {});
104
104
  case "chat": return /* @__PURE__ */ y(Je, {});
105
105
  case "check":
106
- case "checkmark": return /* @__PURE__ */ y(z, {});
106
+ case "checkmark": return /* @__PURE__ */ y(ee, {});
107
107
  case "chevron up": return /* @__PURE__ */ y(B, {});
108
108
  case "chevron down": return /* @__PURE__ */ y(te, {});
109
109
  case "chevron left": return /* @__PURE__ */ y(ne, {});
@@ -395,7 +395,7 @@ var ni = /* @__PURE__ */ function(e) {
395
395
  l
396
396
  ]), M = s((e, t, n) => (Pi(e.getBoundingClientRect(), D), zt(e, t, () => {
397
397
  Pi(e.getBoundingClientRect(), D), n();
398
- }, { animationFrame: u })), [u]), { context: N, refs: P, floatingStyles: F, isPositioned: I, x: ee, y: L } = Kt({
398
+ }, { animationFrame: u })), [u]), { context: N, refs: P, floatingStyles: F, isPositioned: I, x: L, y: R } = Kt({
399
399
  open: e,
400
400
  onOpenChange: (e, t, n) => {
401
401
  !e && (n === "outside-press" || n === "escape-key") && (g == null || g()), p == null || p(e);
@@ -406,16 +406,16 @@ var ni = /* @__PURE__ */ function(e) {
406
406
  transform: !1,
407
407
  whileElementsMounted: M,
408
408
  middleware: j
409
- }), R = s((e) => {
409
+ }), z = s((e) => {
410
410
  if (P.setReference(e), e) {
411
411
  Pi(e.getBoundingClientRect(), D);
412
412
  return;
413
413
  }
414
414
  D(null);
415
- }, [P.setReference]), z = (_ = i == null ? void 0 : i.hideOnScroll) == null ? !1 : _, { getReferenceProps: te, getFloatingProps: ne } = Xt([
415
+ }, [P.setReference]), ee = (_ = i == null ? void 0 : i.hideOnScroll) == null ? !1 : _, { getReferenceProps: te, getFloatingProps: ne } = Xt([
416
416
  Gt(N, {
417
- enabled: e && (!!g || z),
418
- ancestorScroll: z,
417
+ enabled: e && (!!g || ee),
418
+ ancestorScroll: ee,
419
419
  escapeKey: !!g,
420
420
  outsidePress: !!g,
421
421
  outsidePressEvent: "mousedown"
@@ -435,11 +435,11 @@ var ni = /* @__PURE__ */ function(e) {
435
435
  x: (C = n == null ? void 0 : n.x) == null ? null : C,
436
436
  y: (w = n == null ? void 0 : n.y) == null ? null : w
437
437
  })
438
- ]), re = f(() => te({ ref: R }), [te, R]), B = f(() => ne({
438
+ ]), re = f(() => te({ ref: z }), [te, z]), B = f(() => ne({
439
439
  ref: P.setFloating,
440
440
  style: {
441
441
  ...F,
442
- visibility: e && (!I || ee === null || L === null) ? "hidden" : void 0
442
+ visibility: e && (!I || L === null || R === null) ? "hidden" : void 0
443
443
  }
444
444
  }), [
445
445
  F,
@@ -447,8 +447,8 @@ var ni = /* @__PURE__ */ function(e) {
447
447
  e,
448
448
  I,
449
449
  P.setFloating,
450
- ee,
451
- L
450
+ L,
451
+ R
452
452
  ]);
453
453
  return {
454
454
  arrowProps: f(() => ({
@@ -1146,9 +1146,9 @@ var ni = /* @__PURE__ */ function(e) {
1146
1146
  }), x]
1147
1147
  });
1148
1148
  }, Da = ({ menu: e, width: t, disabled: n = !1, badgeTitle: r, badgeDot: i = !1, loading: a = !1, isNested: o = !1, closeOnOptionClick: s = !0, closeParent: l, tree: u, path: d, groupOrder: f, overflowContainer: p = !0, maxHeight: g, testId: _, open: x, setOpen: S, tooltip: C, error: w, warning: T, selected: E, tabIndex: D, active: O }) => {
1149
- let k = c(U), A = m(null), { label: j, title: M, trigger: N, fullHeightTrigger: P, colored: F, small: I, sections: ee, component: L, placement: R, showAllButton: z, possiblePlacements: te = ["bottom-start", "top-start"] } = e, [ne, re] = on(x) && ln(S) ? [x, S] : h(!1), B = () => re(!1), ie = () => re(!0), { triggerProps: ae, layerProps: oe, renderLayer: se } = Li({
1149
+ let k = c(U), A = m(null), { label: j, title: M, trigger: N, fullHeightTrigger: P, colored: F, small: I, sections: L, component: R, placement: z, showAllButton: ee, possiblePlacements: te = ["bottom-start", "top-start"] } = e, [ne, re] = on(x) && ln(S) ? [x, S] : h(!1), B = () => re(!1), ie = () => re(!0), { triggerProps: ae, layerProps: oe, renderLayer: se } = Li({
1150
1150
  isOpen: ne,
1151
- ...ma(R, o),
1151
+ ...ma(z, o),
1152
1152
  possiblePlacements: te,
1153
1153
  onOutsideClick: B,
1154
1154
  overflowContainer: p
@@ -1178,7 +1178,7 @@ var ni = /* @__PURE__ */ function(e) {
1178
1178
  colored: F,
1179
1179
  small: I,
1180
1180
  isNested: o,
1181
- component: L,
1181
+ component: R,
1182
1182
  groupOrder: f,
1183
1183
  isOpen: ne,
1184
1184
  active: O,
@@ -1204,7 +1204,7 @@ var ni = /* @__PURE__ */ function(e) {
1204
1204
  "data-testid": e.testId,
1205
1205
  onClick: (e) => e.stopPropagation(),
1206
1206
  children: /* @__PURE__ */ y(pa, {
1207
- sections: ee,
1207
+ sections: L,
1208
1208
  isNested: o,
1209
1209
  width: t,
1210
1210
  closeOnOptionClick: s,
@@ -1212,7 +1212,7 @@ var ni = /* @__PURE__ */ function(e) {
1212
1212
  tree: u,
1213
1213
  path: d,
1214
1214
  maxHeight: g,
1215
- showAllButton: z,
1215
+ showAllButton: ee,
1216
1216
  testId: _ && `${_}-layer`
1217
1217
  })
1218
1218
  })) })
@@ -1945,9 +1945,9 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
1945
1945
  children: e
1946
1946
  }) : /* @__PURE__ */ y(v, { children: e });
1947
1947
  }, No = ({ background: e = "var(--color-background-raised)", fixed: t = !1, open: n = !1, setOpen: r, right: i = !1, width: o = 400, closedWidth: s = 0, shadow: c = !1, top: l = 0, button: u = null, buttonAnimate: d = !0, buttonPosition: f = ai.BOTTOM, border: p = !1, children: m = null, tabs: g, defaultTabIndex: v = 0, activeTab: x, setActiveTab: S, testId: C, onResize: w, getActiveTab: T, onClose: E, onOpen: D, maxOpenWidth: O }) => {
1948
- let k = u === !0, A = !k && a(u), [j, M] = r ? [n, r] : k || g ? h(n) : [n, () => {}], [N, P] = h(v), F = r ? n : j, I = r || M, ee = S === void 0 ? N : x, L = S || P, R = Array.isArray(o) ? o[ee || 0] : o, z = F ? R : g ? 35 : s;
1948
+ let k = u === !0, A = !k && a(u), [j, M] = r ? [n, r] : k || g ? h(n) : [n, () => {}], [N, P] = h(v), F = r ? n : j, I = r || M, L = S === void 0 ? N : x, R = S || P, z = Array.isArray(o) ? o[L || 0] : o, ee = F ? z : g ? 35 : s;
1949
1949
  return /* @__PURE__ */ y(Mo, {
1950
- width: z,
1950
+ width: ee,
1951
1951
  onResize: w,
1952
1952
  setOpen: I,
1953
1953
  right: i,
@@ -1960,30 +1960,30 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
1960
1960
  style: {
1961
1961
  background: e,
1962
1962
  borderColor: typeof p == "string" ? p : void 0,
1963
- width: z
1963
+ width: ee
1964
1964
  },
1965
1965
  children: g ? /* @__PURE__ */ y(ko, {
1966
- width: R,
1966
+ width: z,
1967
1967
  testId: C,
1968
1968
  tabs: g,
1969
1969
  open: F,
1970
- activeTab: ee || 0,
1970
+ activeTab: L || 0,
1971
1971
  background: e,
1972
1972
  handleTabClick: (e) => {
1973
1973
  let t = (t) => {
1974
1974
  g && t && t(g[e]);
1975
1975
  };
1976
- ee === e && F && I ? (t(E), I(!1)) : !F && I && (t(D), I(!0), w && ((e) => {
1976
+ L === e && F && I ? (t(E), I(!1)) : !F && I && (t(D), I(!0), w && ((e) => {
1977
1977
  let t;
1978
- if (t = Array.isArray(e) ? e[ee || 0] : e, typeof t == "number" && t < 240) w(240);
1978
+ if (t = Array.isArray(e) ? e[L || 0] : e, typeof t == "number" && t < 240) w(240);
1979
1979
  else if (typeof t == "string") {
1980
1980
  let e = parseInt(t, 10);
1981
1981
  !isNaN(e) && e < 240 && w(240);
1982
1982
  }
1983
- })(o)), L(e), t(T);
1983
+ })(o)), R(e), t(T);
1984
1984
  }
1985
1985
  }) : /* @__PURE__ */ y("div", {
1986
- style: { width: R },
1986
+ style: { width: z },
1987
1987
  children: m
1988
1988
  })
1989
1989
  }), u && /* @__PURE__ */ y("span", {
@@ -3030,21 +3030,21 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3030
3030
  createAble: _
3031
3031
  }), I = () => {
3032
3032
  S(), t({ type: lc.BLUR_TRIGGER_INPUTS });
3033
- }, ee = (e) => {
3033
+ }, L = (e) => {
3034
3034
  v.current && Number.isInteger(e) && v.current.scrollToRow({ index: e });
3035
- }, L = (n) => {
3035
+ }, R = (n) => {
3036
3036
  let r = rc(n, e.layerFocus);
3037
3037
  t({
3038
3038
  type: lc.FOCUS_LAYER_OPTIONS,
3039
3039
  nextLayerFocus: r
3040
- }), ee(r.current);
3041
- }, R = (e) => {
3040
+ }), L(r.current);
3041
+ }, z = (e) => {
3042
3042
  t({
3043
3043
  type: lc.FOCUS_TRIGGER_INPUTS,
3044
3044
  ICustomSelectDirection: e,
3045
3045
  selectedOptions: u
3046
3046
  });
3047
- }, z = (e) => P(e), te = u && u[e.triggerFocus.currentOption], ne = (t) => {
3047
+ }, ee = (e) => P(e), te = u && u[e.triggerFocus.currentOption], ne = (t) => {
3048
3048
  N(t, u[e.triggerFocus.currentOption]);
3049
3049
  }, re = (t) => {
3050
3050
  var n;
@@ -3055,19 +3055,19 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3055
3055
  onKeyEvent: (n, r) => {
3056
3056
  switch (n) {
3057
3057
  case uc.UP:
3058
- L("up");
3058
+ R("up");
3059
3059
  break;
3060
3060
  case uc.DOWN:
3061
- e.isLayerOpen ? L("down") : I();
3061
+ e.isLayerOpen ? R("down") : I();
3062
3062
  break;
3063
3063
  case uc.LEFT:
3064
- R("left");
3064
+ z("left");
3065
3065
  break;
3066
3066
  case uc.RIGHT:
3067
- R("right");
3067
+ z("right");
3068
3068
  break;
3069
3069
  case uc.ENTER:
3070
- B ? z(r) : te ? ne(r) : re(r);
3070
+ B ? ee(r) : te ? ne(r) : re(r);
3071
3071
  break;
3072
3072
  case uc.ESC:
3073
3073
  x();
@@ -3092,7 +3092,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3092
3092
  triggerBounds: A
3093
3093
  };
3094
3094
  }, fc = (e) => {
3095
- let { multi: t = !1, disabled: n = !1, error: r = null, warning: i = null, tooltip: a = null, options: o, selectedOptions: s, onCreate: l = null, placeholder: u = "", small: d = !1, tabIndex: f = 0, onFocus: h = () => {}, onBlur: g = () => {}, searchable: _ = !0, clearable: x = !1, maxTooltipWidth: S, closeOnOptionActionClick: C, isInTable: w = !1, groupOrder: T, firstSelectedOptionIndex: E = 0, right: D = !1, testId: O = void 0 } = e, k = c(U), A = l !== null, j = m(null), M = m(null), [N, P] = xs(), F = Ss(), [I, ee] = p(sc, {
3095
+ let { multi: t = !1, disabled: n = !1, error: r = null, warning: i = null, tooltip: a = null, options: o, selectedOptions: s, onCreate: l = null, placeholder: u = "", small: d = !1, tabIndex: f = 0, onFocus: h = () => {}, onBlur: g = () => {}, searchable: _ = !0, clearable: x = !1, maxTooltipWidth: S, closeOnOptionActionClick: C, isInTable: w = !1, groupOrder: T, firstSelectedOptionIndex: E = 0, right: D = !1, testId: O = void 0 } = e, k = c(U), A = l !== null, j = m(null), M = m(null), [N, P] = xs(), F = Ss(), [I, L] = p(sc, {
3096
3096
  options: o,
3097
3097
  firstSelectedOptionIndex: E
3098
3098
  }, ({ options: e }) => ({
@@ -3101,10 +3101,10 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3101
3101
  layerFocus: nc(e, E == null ? 0 : E),
3102
3102
  triggerFocus: ec,
3103
3103
  isLayerOpen: !1
3104
- })), { getTriggerWidth: L, onKeyEvent: R, clearAllIsFocused: z, triggerProps: te, onClickTrigger: ne, onChangeSearch: re, onClickDeselectOption: B, onClickClearAll: ie, renderLayer: ae, layerProps: oe, closeLayer: se, onSelectOption: ce, getLayerWidth: le, triggerBounds: ue } = dc({
3104
+ })), { getTriggerWidth: R, onKeyEvent: z, clearAllIsFocused: ee, triggerProps: te, onClickTrigger: ne, onChangeSearch: re, onClickDeselectOption: B, onClickClearAll: ie, renderLayer: ae, layerProps: oe, closeLayer: se, onSelectOption: ce, getLayerWidth: le, triggerBounds: ue } = dc({
3105
3105
  ...e,
3106
3106
  state: I,
3107
- dispatch: ee,
3107
+ dispatch: L,
3108
3108
  setTriggerFocus: P,
3109
3109
  disabledContext: k,
3110
3110
  isFontLoaded: F,
@@ -3112,16 +3112,16 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3112
3112
  listRef: j
3113
3113
  }), de = Zt([N, te.ref]), fe = Zt([M, oe.ref]);
3114
3114
  return /* @__PURE__ */ b("div", {
3115
- style: { width: L() },
3115
+ style: { width: R() },
3116
3116
  onKeyDown: (e) => {
3117
- Object.values(uc).includes(e.key) && R(e.key, e);
3117
+ Object.values(uc).includes(e.key) && z(e.key, e);
3118
3118
  },
3119
3119
  children: [/* @__PURE__ */ y(Qs, {
3120
3120
  selectedOptions: s,
3121
3121
  searchValue: I.searchValue,
3122
3122
  isOpen: I.isLayerOpen,
3123
3123
  focusedSelectedOptionIndex: typeof I.triggerFocus.currentOption == "number" ? I.triggerFocus.currentOption : void 0,
3124
- clearAllIsFocused: z,
3124
+ clearAllIsFocused: ee,
3125
3125
  searchable: _,
3126
3126
  triggerRef: de,
3127
3127
  error: r,
@@ -3465,8 +3465,8 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3465
3465
  tabIndex: e.disabled ? -1 : 0,
3466
3466
  tooltip: e.tooltip,
3467
3467
  type: r
3468
- }), Hc = (e) => e ? typeof e == "string" ? e : an(e) ? e[0] : e.fieldName : "", Uc = ({ name: e, placeholder: t = "", disabled: n = !1, error: r = !1, left: i = !1, small: a = !1, width: o = "100%", value: s = "", onChange: c = () => {}, onFocus: u = () => {}, onBlur: d = () => {}, selectOnFocus: f = !0, tabIndex: p = 0, testId: g, tooltip: _ = null, warning: v = !1, validationCallback: b = () => {}, allowEmpty: x = !1, isInTable: S, groupOrder: C, enableCosmeticRounding: w = !0, enableDisplayRounding: T = !1, roundDisplayValue: E, disableInternalErrorValidationMessages: D = !1, disableValidationOnFocus: O = !1, useControlledValueWhenBlurred: k = !1 }) => {
3469
- let A = (e) => {
3468
+ }), Hc = (e) => e ? typeof e == "string" ? e : an(e) ? e[0] : e.fieldName : "", Uc = ({ name: e, placeholder: t = "", disabled: n = !1, error: r = !1, left: i = !1, small: a = !1, width: o = "100%", value: s = "", onChange: c = () => {}, onFocus: u = () => {}, onBlur: d = () => {}, selectOnFocus: f = !0, tabIndex: p = 0, testId: g, tooltip: _ = null, warning: v = !1, validationCallback: b = () => {}, allowEmpty: x = !1, isInTable: S, groupOrder: C, enableCosmeticRounding: w = !0, enableDisplayRounding: T = !1, roundDisplayValue: E, disableInternalErrorValidationMessages: D = !1, disableValidationOnFocus: O = !1 }) => {
3469
+ let k = (e) => {
3470
3470
  let n = dr(e), r = t && mc(e);
3471
3471
  return [Infinity, -Infinity].includes(Number(e)) || r ? {
3472
3472
  valid: !0,
@@ -3476,63 +3476,63 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3476
3476
  valid: !0,
3477
3477
  errors: void 0
3478
3478
  } : n;
3479
- }, j = (e) => {
3479
+ }, A = (e) => {
3480
3480
  var t;
3481
3481
  let n = !!(e != null && e.endsWith("0"));
3482
- return lr(w && e && !n && (t = A(e)) != null && t.valid ? ir(e) : e);
3483
- }, M = m(null), N = j(lr(s)), [P, F] = h(N), [I, ee] = h(!1), L = A(P).valid, R = k && !I && L ? N : P, z = Hc(e), { valid: te, errors: ne } = A(R), re = ne && ne.length && !D ? ne[0] : null;
3482
+ return lr(w && e && !n && (t = k(e)) != null && t.valid ? ir(e) : e);
3483
+ }, j = m(null), [M, N] = h(A(lr(s))), [P, F] = h(!1), I = Hc(e), { valid: L, errors: R } = k(M), z = R && R.length && !D ? R[0] : null;
3484
3484
  l(() => {
3485
- k || cr(P) !== cr(N) && F(N);
3485
+ let e = A(lr(s));
3486
+ cr(M) !== cr(e) && N(e);
3486
3487
  }, [
3487
3488
  s,
3488
3489
  w,
3489
- T,
3490
- k
3490
+ T
3491
3491
  ]), l(() => {
3492
- (O || !I) && !te ? b(z, re) : b(z, null);
3492
+ (O || !P) && !L ? b(I, z) : b(I, null);
3493
3493
  }, [
3494
- I,
3495
- te,
3494
+ P,
3495
+ L,
3496
3496
  r
3497
3497
  ]);
3498
- let B = (e) => {
3498
+ let ee = (e) => {
3499
3499
  var n, r;
3500
- let i = "key" in e ? R : e == null || (n = e.target) == null ? void 0 : n.value, a = Wn(i.replaceAll(" ", "").replaceAll("|", ""));
3501
- F(a), ((r = A(a)) != null && r.valid || t && mc(i)) && c({
3500
+ let i = "key" in e ? M : e == null || (n = e.target) == null ? void 0 : n.value, a = Wn(i.replaceAll(" ", "").replaceAll("|", ""));
3501
+ N(a), ((r = k(a)) != null && r.valid || t && mc(i)) && c({
3502
3502
  ...e,
3503
3503
  target: {
3504
3504
  ...e.target,
3505
3505
  value: sr(lr(a)),
3506
- name: z
3506
+ name: I
3507
3507
  }
3508
3508
  });
3509
3509
  };
3510
3510
  return l(() => {
3511
- if (M && M != null && M.current && T && I) {
3512
- let e = M.current;
3511
+ if (j && j != null && j.current && T && P) {
3512
+ let e = j.current;
3513
3513
  e && !f && setTimeout(() => {
3514
- let { length: t } = lr(R);
3514
+ let { length: t } = lr(M);
3515
3515
  e.setSelectionRange(t, t);
3516
3516
  }, 0);
3517
3517
  }
3518
- }, [I]), /* @__PURE__ */ y(Ro, {
3518
+ }, [P]), /* @__PURE__ */ y(Ro, {
3519
3519
  type: "text",
3520
- name: z,
3520
+ name: I,
3521
3521
  testId: g,
3522
3522
  disabled: n,
3523
3523
  placeholder: t,
3524
- value: T && !I && te ? E ? lr(E(R)) : ((e) => S ? ar(e, 2) : nr(e, 4))(s) : R,
3525
- onChange: B,
3524
+ value: T && !P && L ? E ? lr(E(M)) : ((e) => S ? ar(e, 2) : nr(e, 4))(s) : M,
3525
+ onChange: ee,
3526
3526
  onFocus: (e) => {
3527
- k && F(N), ee(!0), u(e);
3527
+ F(!0), u(e);
3528
3528
  },
3529
3529
  onBlur: (e) => {
3530
- ee(!1), d(e);
3530
+ F(!1), d(e);
3531
3531
  },
3532
3532
  onKeyDown: (e) => {
3533
- e.key === uc.ENTER && B(e);
3533
+ e.key === uc.ENTER && ee(e);
3534
3534
  },
3535
- error: re || r,
3535
+ error: z || r,
3536
3536
  warning: v,
3537
3537
  right: !i,
3538
3538
  small: a,
@@ -3542,8 +3542,8 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3542
3542
  selectOnFocus: f,
3543
3543
  tabIndex: p,
3544
3544
  tooltip: _,
3545
- ref: M
3546
- }, z);
3545
+ ref: j
3546
+ }, I);
3547
3547
  }, Wc = ({ cell: e, columnAlignment: t, testId: n }) => {
3548
3548
  var r;
3549
3549
  return /* @__PURE__ */ y(Uc, {
@@ -3709,7 +3709,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3709
3709
  disabled: D || j[0] === o,
3710
3710
  icon: H.FAST_BACKWARD
3711
3711
  })
3712
- }), ee = () => /* @__PURE__ */ y("div", {
3712
+ }), L = () => /* @__PURE__ */ y("div", {
3713
3713
  className: Yc.button,
3714
3714
  children: /* @__PURE__ */ y(K, {
3715
3715
  basic: !0,
@@ -3721,10 +3721,10 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3721
3721
  disabled: D || j[j.length - 1] === s,
3722
3722
  icon: H.FAST_FORWARD
3723
3723
  })
3724
- }), L = (e) => s === o ? "0%" : `${(e - o) / (s - o) * 100}%`, R = (e) => {
3725
- let t = L(e);
3724
+ }), R = (e) => s === o ? "0%" : `${(e - o) / (s - o) * 100}%`, z = (e) => {
3725
+ let t = R(e);
3726
3726
  return C.enabled ? { bottom: t } : { left: t };
3727
- }, z = (e) => {
3727
+ }, ee = (e) => {
3728
3728
  if (i) return x ? `${i}-handle-${e}` : `${i}-handle`;
3729
3729
  }, te = (e) => x ? j[0] <= e && e <= j[1] : j[0] >= e, ne = (e) => x ? Math.abs(e - j[0]) <= Math.abs(e - j[1]) ? [Qt(e, o, j[1]), j[1]] : [j[0], Qt(e, j[0], s)] : [Qt(e, o, s)];
3730
3730
  return /* @__PURE__ */ b("div", {
@@ -3734,7 +3734,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3734
3734
  height: C.height
3735
3735
  } : { width: n },
3736
3736
  children: [
3737
- d && (C.enabled ? /* @__PURE__ */ y(ee, {}) : /* @__PURE__ */ y(I, {})),
3737
+ d && (C.enabled ? /* @__PURE__ */ y(L, {}) : /* @__PURE__ */ y(I, {})),
3738
3738
  /* @__PURE__ */ b(yr.Root, {
3739
3739
  className: _(Yc.slider, D && Yc.sliderDisabled, d && Yc.hasArrows),
3740
3740
  "data-testid": i,
@@ -3755,7 +3755,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3755
3755
  children: [/* @__PURE__ */ y(yr.Range, { className: Yc.range }), A.length > 0 && /* @__PURE__ */ y("span", {
3756
3756
  className: Yc.marks,
3757
3757
  children: A.map(({ label: e, tooltip: t, value: n }) => {
3758
- let r = Number(n), i = te(r), a = { [C.enabled ? "bottom" : "left"]: L(r) };
3758
+ let r = Number(n), i = te(r), a = { [C.enabled ? "bottom" : "left"]: R(r) };
3759
3759
  return /* @__PURE__ */ y("button", {
3760
3760
  "aria-label": String(e == null ? n : e),
3761
3761
  className: _(Yc.mark, i && Yc.markActive),
@@ -3779,12 +3779,12 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3779
3779
  return /* @__PURE__ */ y(yr.Thumb, {
3780
3780
  "aria-label": String((i = t == null ? e : t) == null ? "Slider" : i),
3781
3781
  className: Yc.thumb,
3782
- "data-testid": z(r),
3782
+ "data-testid": ee(r),
3783
3783
  onKeyDown: () => k(r),
3784
3784
  onKeyUp: () => k(null),
3785
3785
  onPointerDown: () => k(r),
3786
3786
  onPointerUp: () => k(null),
3787
- style: R(n),
3787
+ style: z(n),
3788
3788
  children: p && O === r && /* @__PURE__ */ y(G, {
3789
3789
  display: "block",
3790
3790
  text: m(Zc(j, x)),
@@ -3798,7 +3798,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
3798
3798
  }, r);
3799
3799
  })]
3800
3800
  }),
3801
- d && (C.enabled ? /* @__PURE__ */ y(I, {}) : /* @__PURE__ */ y(ee, {})),
3801
+ d && (C.enabled ? /* @__PURE__ */ y(I, {}) : /* @__PURE__ */ y(L, {})),
3802
3802
  t && /* @__PURE__ */ y("label", {
3803
3803
  className: Yc.label,
3804
3804
  style: { width: r },
@@ -4229,7 +4229,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
4229
4229
  });
4230
4230
  }, yl = (e) => {
4231
4231
  var t, n, r, i, a;
4232
- let { onListReorder: o = () => {}, canListReorder: s = () => !0, beforeRenderRow: c, table: l } = e, { columnWidths: u, footer: d, name: f, rows: p = [], actions: h, actionsRight: g, columnHeaderAlignments: v, columnAlignment: x, striped: S = !0, testId: C, draggable: w, defaultEmptyRow: T = null, onAddRow: E = null, bordered: D = !0, maxHeight: O, fixedWidth: k } = l, A = m(null), j = rn(e, "table.headers", []), M = Pc(p, j), N = Ic(p, j), P = M + +!!N, F = d ? (d == null || (t = d.pagination) == null || (t = t.rowsPerPage) == null ? void 0 : t.value) === 0 || Number(d == null || (n = d.pagination) == null ? void 0 : n.selectedPage) >= Number(d == null || (r = d.pagination) == null ? void 0 : r.rowCount) / Number(d == null || (i = d.pagination) == null || (i = i.rowsPerPage) == null ? void 0 : i.value) : !0, I = (T == null || (a = T.cells) == null ? void 0 : a.length) && E && F, ee = {
4232
+ let { onListReorder: o = () => {}, canListReorder: s = () => !0, beforeRenderRow: c, table: l } = e, { columnWidths: u, footer: d, name: f, rows: p = [], actions: h, actionsRight: g, columnHeaderAlignments: v, columnAlignment: x, striped: S = !0, testId: C, draggable: w, defaultEmptyRow: T = null, onAddRow: E = null, bordered: D = !0, maxHeight: O, fixedWidth: k } = l, A = m(null), j = rn(e, "table.headers", []), M = Pc(p, j), N = Ic(p, j), P = M + +!!N, F = d ? (d == null || (t = d.pagination) == null || (t = t.rowsPerPage) == null ? void 0 : t.value) === 0 || Number(d == null || (n = d.pagination) == null ? void 0 : n.selectedPage) >= Number(d == null || (r = d.pagination) == null ? void 0 : r.rowCount) / Number(d == null || (i = d.pagination) == null || (i = i.rowsPerPage) == null ? void 0 : i.value) : !0, I = (T == null || (a = T.cells) == null ? void 0 : a.length) && E && F, L = {
4233
4233
  cells: I ? T.cells.map((e, t) => (e == null ? void 0 : e.type) === "Input" ? {
4234
4234
  ...e,
4235
4235
  onChange: (e) => {
@@ -4248,9 +4248,9 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
4248
4248
  disabled: !0
4249
4249
  }) : null,
4250
4250
  testId: C ? `${C}-last-empty-row` : void 0
4251
- }, L = I ? p.concat(ee) : p, R = {
4251
+ }, R = I ? p.concat(L) : p, z = {
4252
4252
  ...l,
4253
- rows: L
4253
+ rows: R
4254
4254
  };
4255
4255
  return /* @__PURE__ */ b("div", {
4256
4256
  className: _(hs.wrapper, D ? hs.bordered : ""),
@@ -4273,11 +4273,11 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
4273
4273
  draggable: w,
4274
4274
  onListReorder: o,
4275
4275
  rowActions: N,
4276
- rows: L,
4276
+ rows: R,
4277
4277
  tbodyRef: A,
4278
4278
  canListReorder: s,
4279
4279
  children: ({ dropDisabled: e }) => /* @__PURE__ */ y(vl, {
4280
- table: R,
4280
+ table: z,
4281
4281
  children: ({ virtualizer: t, tableStyle: n }) => /* @__PURE__ */ b("table", {
4282
4282
  className: _(hs.table, S ? hs.striped : ""),
4283
4283
  "data-testid": C,
@@ -4296,7 +4296,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
4296
4296
  }, `0_${t}`)) }), /* @__PURE__ */ y("tbody", {
4297
4297
  ref: A,
4298
4298
  children: t ? t.getVirtualItems().map((t) => {
4299
- let n = t.index, r = L[n];
4299
+ let n = t.index, r = R[n];
4300
4300
  return /* @__PURE__ */ y(ml, {
4301
4301
  rowIndex: n,
4302
4302
  row: c ? c({
@@ -4312,7 +4312,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
4312
4312
  height: t.size,
4313
4313
  dropDisabled: e
4314
4314
  }, `1_${n}`);
4315
- }) : L.map((t, n) => /* @__PURE__ */ y(ml, {
4315
+ }) : R.map((t, n) => /* @__PURE__ */ y(ml, {
4316
4316
  rowIndex: n,
4317
4317
  row: c ? c({
4318
4318
  row: t,
@@ -4965,7 +4965,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
4965
4965
  type: "Success",
4966
4966
  content: u("pasteSuccessful")
4967
4967
  } }, f);
4968
- }, { pastedText: F, parsedResult: I } = k, ee = T && T(I), { isValid: L, errors: R } = I, z = R.length, te = F === "", ne = Ml(F), re = jl(F), B = /* @__PURE__ */ b(v, { children: [
4968
+ }, { pastedText: F, parsedResult: I } = k, L = T && T(I), { isValid: R, errors: z } = I, ee = z.length, te = F === "", ne = Ml(F), re = jl(F), B = /* @__PURE__ */ b(v, { children: [
4969
4969
  /* @__PURE__ */ b("div", {
4970
4970
  className: os.headerContainer,
4971
4971
  children: [
@@ -4975,7 +4975,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
4975
4975
  label: u("downsampled"),
4976
4976
  checked: D,
4977
4977
  onChange: () => j(!D),
4978
- disabled: te || !L
4978
+ disabled: te || !R
4979
4979
  })
4980
4980
  }),
4981
4981
  /* @__PURE__ */ y(G, {
@@ -5040,8 +5040,8 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
5040
5040
  }) : /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ b("div", {
5041
5041
  className: os.messagesContainer,
5042
5042
  children: [
5043
- z ? /* @__PURE__ */ y(Ol, {
5044
- errors: R,
5043
+ ee ? /* @__PURE__ */ y(Ol, {
5044
+ errors: z,
5045
5045
  t: u
5046
5046
  }) : null,
5047
5047
  ne && /* @__PURE__ */ y(_o, {
@@ -5055,7 +5055,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
5055
5055
  content: u("extraSeparators"),
5056
5056
  type: "Warning"
5057
5057
  } }),
5058
- ee && /* @__PURE__ */ y(ms, { message: {
5058
+ L && /* @__PURE__ */ y(ms, { message: {
5059
5059
  visible: !0,
5060
5060
  icon: !0,
5061
5061
  width: "100%",
@@ -5089,7 +5089,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
5089
5089
  label: u("okay"),
5090
5090
  colored: !0,
5091
5091
  onClick: () => f(() => P()),
5092
- disabled: te || !L,
5092
+ disabled: te || !R,
5093
5093
  loading: d,
5094
5094
  testId: `${p}-paste-with-review-modal-button-okay`
5095
5095
  }),
@@ -5097,7 +5097,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
5097
5097
  label: u("cancel"),
5098
5098
  onClick: () => i()
5099
5099
  }),
5100
- ee && /* @__PURE__ */ y(K, {
5100
+ L && /* @__PURE__ */ y(K, {
5101
5101
  label: C,
5102
5102
  onClick: w
5103
5103
  })
@@ -5465,13 +5465,13 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
5465
5465
  }
5466
5466
  }, Du = ({ config: e, smartUploadConfig: t, testId: n }) => {
5467
5467
  var r, i, a, o;
5468
- let { exportData: s, beforeExportData: c, prevalidationConfig: l, validationRules: u, title: d, translations: f, textOnly: p = !1, showImportOptions: m = !0, copyFromClipBoard: _ = !0, showDeleteOptions: v = !0, showHelpOption: x = !0, showUploadFileOption: S = !0, modals: C = [], dynamicOptions: w, onImportComplete: T } = e == null ? {} : e, [E, D] = h(Eu), { modalVisibility: { smartUploadModal: O = !1, reviewPasteModal: k = !1, helpModal: A = !1 } } = E, { enabled: j, prompt: M = "", onClose: N, onError: P, service: F = () => Promise.resolve() } = t == null ? {} : t, I = vu(f), ee = hu(I, s, c), [L, R] = g(), z = xu({
5468
+ let { exportData: s, beforeExportData: c, prevalidationConfig: l, validationRules: u, title: d, translations: f, textOnly: p = !1, showImportOptions: m = !0, copyFromClipBoard: _ = !0, showDeleteOptions: v = !0, showHelpOption: x = !0, showUploadFileOption: S = !0, modals: C = [], dynamicOptions: w, onImportComplete: T } = e == null ? {} : e, [E, D] = h(Eu), { modalVisibility: { smartUploadModal: O = !1, reviewPasteModal: k = !1, helpModal: A = !1 } } = E, { enabled: j, prompt: M = "", onClose: N, onError: P, service: F = () => Promise.resolve() } = t == null ? {} : t, I = vu(f), L = hu(I, s, c), [R, z] = g(), ee = xu({
5469
5469
  config: e,
5470
5470
  state: E,
5471
5471
  setState: D,
5472
5472
  smartUploadConfig: t,
5473
- startTransition: R
5474
- }), { readAndParseInput: te, updateState: ne, closeModals: re, setModalVisibility: B, onFileChange: ie, onClickQuickPasteFromClipBoard: ae, onClickCopyClipboard: oe, onSmartUploadResult: se, deleteAllRows: ce } = z == null ? {} : z;
5473
+ startTransition: z
5474
+ }), { readAndParseInput: te, updateState: ne, closeModals: re, setModalVisibility: B, onFileChange: ie, onClickQuickPasteFromClipBoard: ae, onClickCopyClipboard: oe, onSmartUploadResult: se, deleteAllRows: ce } = ee == null ? {} : ee;
5475
5475
  Go("Escape", () => re());
5476
5476
  let le = m ? [
5477
5477
  ...S ? [{
@@ -5506,7 +5506,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
5506
5506
  type: "Option",
5507
5507
  label: I("downloadFile"),
5508
5508
  onClick: async () => {
5509
- let e = await ee();
5509
+ let e = await L();
5510
5510
  e && e && Su(e, d);
5511
5511
  }
5512
5512
  },
@@ -5567,7 +5567,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
5567
5567
  }] : []
5568
5568
  ];
5569
5569
  return /* @__PURE__ */ b("span", { children: [
5570
- L && /* @__PURE__ */ y(Qi, {
5570
+ R && /* @__PURE__ */ y(Qi, {
5571
5571
  small: !0,
5572
5572
  dark: !0
5573
5573
  }),
@@ -5588,8 +5588,8 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
5588
5588
  onCompleteImport: T,
5589
5589
  prevalidationConfig: l,
5590
5590
  t: I,
5591
- loading: L,
5592
- startTransition: R,
5591
+ loading: R,
5592
+ startTransition: z,
5593
5593
  testId: n
5594
5594
  }),
5595
5595
  A && /* @__PURE__ */ y(as, {
@@ -6640,13 +6640,13 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
6640
6640
  }, Ud = ({ name: e, placeholder: t = "", disabled: n = !1, disabledUnit: r = !1, error: i = null, left: a = !1, small: o = !1, width: s = "100%", value: c, unitkey: u = "", initUnit: d, noConversion: p = !1, onChange: m = gn, onClick: g = gn, onFocus: x = gn, onSwitchUnit: S = gn, unitTemplate: C, testId: w, warning: T = null, predefinedOptions: E, initialPredefinedOption: D = !1, shouldLinkAutomaticly: O = !0, selectedPredefinedOptionKey: k, validationCallback: A = () => ({
6641
6641
  name: "",
6642
6642
  error: null
6643
- }), disabledValidation: j = !1, allowEmpty: M = !1, convertBackToStorageUnit: N = !1, enableCosmeticRounding: P = !0, enableDisplayRounding: F = !1, roundDisplayValue: I, selectOnFocus: ee = !0, groupOrder: L, tooltip: R = null }) => {
6644
- let z = Rd(), te = Td();
6643
+ }), disabledValidation: j = !1, allowEmpty: M = !1, convertBackToStorageUnit: N = !1, enableCosmeticRounding: P = !0, enableDisplayRounding: F = !1, roundDisplayValue: I, selectOnFocus: L = !0, groupOrder: R, tooltip: z = null }) => {
6644
+ let ee = Rd(), te = Td();
6645
6645
  typeof c == "number" && (c = `${c}`);
6646
- let [ne = "", re = ""] = c === void 0 ? [] : or(c), B = f(() => Dd(u, C || (z == null ? void 0 : z.unitTemplate)), [
6646
+ let [ne = "", re = ""] = c === void 0 ? [] : or(c), B = f(() => Dd(u, C || (ee == null ? void 0 : ee.unitTemplate)), [
6647
6647
  u,
6648
6648
  C,
6649
- z == null ? void 0 : z.unitTemplate
6649
+ ee == null ? void 0 : ee.unitTemplate
6650
6650
  ]), ie = Id(c, B), ae = d || B || re, oe = Ed(ae), { value: se } = Nd({
6651
6651
  value: c,
6652
6652
  toUnit: ae,
@@ -6798,7 +6798,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
6798
6798
  return n;
6799
6799
  }
6800
6800
  return e;
6801
- }, Te = !E && (!L || L === V.FIRST) ? V.FIRST : V.MIDDLE, Ee = !L || L === V.LAST ? V.LAST : V.MIDDLE;
6801
+ }, Te = !E && (!R || R === V.FIRST) ? V.FIRST : V.MIDDLE, Ee = !R || R === V.LAST ? V.LAST : V.MIDDLE;
6802
6802
  return /* @__PURE__ */ y("div", {
6803
6803
  className: de === Od.PREDEFINED ? _(Hd.predefinedMenuActive) : "",
6804
6804
  children: /* @__PURE__ */ b(Io, {
@@ -6844,10 +6844,9 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
6844
6844
  roundDisplayValue: I,
6845
6845
  groupOrder: Te,
6846
6846
  disableInternalErrorValidationMessages: pe,
6847
- useControlledValueWhenBlurred: !0,
6848
6847
  small: o,
6849
- selectOnFocus: ee,
6850
- tooltip: R
6848
+ selectOnFocus: L,
6849
+ tooltip: z
6851
6850
  }, xe)
6852
6851
  }),
6853
6852
  ye && (be || !ie ? /* @__PURE__ */ y(Ac, {
@@ -6901,11 +6900,11 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
6901
6900
  !u || d || (D(T), k(!0));
6902
6901
  }, I = () => {
6903
6902
  D(T), k(!1);
6904
- }, ee = () => {
6903
+ }, L = () => {
6905
6904
  P || N === null || (o(Wd(e, N)), s == null || s(Wd(e, N)), k(!1));
6906
- }, L = (e) => {
6907
- e.key === "Enter" && ee(), e.key === "Escape" && I();
6908
- }, R = d || O, z = /* @__PURE__ */ b("div", {
6905
+ }, R = (e) => {
6906
+ e.key === "Enter" && L(), e.key === "Escape" && I();
6907
+ }, z = d || O, ee = /* @__PURE__ */ b("div", {
6909
6908
  className: wd.actions,
6910
6909
  children: [/* @__PURE__ */ y(K, {
6911
6910
  icon: "close",
@@ -6916,7 +6915,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
6916
6915
  icon: "checkmark",
6917
6916
  small: !0,
6918
6917
  disabled: !!P,
6919
- onClick: ee,
6918
+ onClick: L,
6920
6919
  testId: g && `${g}-confirm`
6921
6920
  })]
6922
6921
  });
@@ -6934,7 +6933,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
6934
6933
  f && /* @__PURE__ */ y("div", {
6935
6934
  className: _(wd.input, x && wd.inputSmall, u && !d && wd.editable),
6936
6935
  children: /* @__PURE__ */ y(Ua, {
6937
- content: z,
6936
+ content: ee,
6938
6937
  isOpen: O,
6939
6938
  onToggle: (e) => {
6940
6939
  e || I();
@@ -6947,7 +6946,7 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
6947
6946
  className: wd.inputControl,
6948
6947
  "data-testid": g && `${g}-edit-trigger`,
6949
6948
  onClick: F,
6950
- onKeyDown: L,
6949
+ onKeyDown: R,
6951
6950
  children: /* @__PURE__ */ y(Ud, {
6952
6951
  name: e,
6953
6952
  value: O ? E : T,
@@ -6973,9 +6972,9 @@ var Xa = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Za =
6973
6972
  onChange: o,
6974
6973
  onChangeComplete: s,
6975
6974
  showArrows: p,
6976
- showTooltip: !R,
6975
+ showTooltip: !z,
6977
6976
  tooltipFormatter: () => fr(T),
6978
- disabled: R,
6977
+ disabled: z,
6979
6978
  small: x,
6980
6979
  marks: S,
6981
6980
  testId: g && `${g}-slider`
@@ -9408,7 +9407,9 @@ var Fp = (e = {}) => Pp({
9408
9407
  }, Zp = ({ sectionNames: e, userName: t, diffs: n, defaultSectionName: r }) => /* @__PURE__ */ y(yl, { table: {
9409
9408
  headers: [{ cells: [{ value: "Changes" }] }],
9410
9409
  rows: n.map((n) => {
9411
- let { deltaFormat: i, path: a } = n, o = Rp(e, a, r), { type: s, before: c, after: l } = Bp(i);
9410
+ let { deltaFormat: i, path: a } = n;
9411
+ console.log("AUDIT PATH:", a);
9412
+ let o = Rp(e, a, r), { type: s, before: c, after: l } = Bp(i);
9412
9413
  return { cells: [{ value: Xp({
9413
9414
  userName: t,
9414
9415
  type: s,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "7.0.2-beta-4",
3
+ "version": "7.0.2-beta-5",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {