xmlui 0.9.4 → 0.9.6

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.
@@ -12,7 +12,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
12
12
  var _executor, _DeferredPromise_instances, decorate_fn, _a2;
13
13
  import { delay as delay$1, HttpResponse, http } from "msw";
14
14
  import { isArray, isObject as isObject$1, mapValues } from "lodash-es";
15
- import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./index-KP1TDy9n.mjs";
15
+ import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./index-B18vblD8.mjs";
16
16
  import Dexie from "dexie";
17
17
  var POSITIONALS_EXP = /(%?)(%([sdijo]))/g;
18
18
  function serializePositional(positional, flag) {
@@ -4481,10 +4481,10 @@ const navLinkComponentRenderer = createComponentRenderer(
4481
4481
  }
4482
4482
  );
4483
4483
  const themeVars$E = `'{"padding-Link": "var(--xmlui-padding-Link)", "paddingHorizontal-Link": "var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link))", "paddingVertical-Link": "var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link))", "paddingLeft-Link": "var(--xmlui-paddingLeft-Link, var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link)))", "paddingRight-Link": "var(--xmlui-paddingRight-Link, var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link)))", "paddingTop-Link": "var(--xmlui-paddingTop-Link, var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link)))", "paddingBottom-Link": "var(--xmlui-paddingBottom-Link, var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link)))", "padding-icon-Link": "var(--xmlui-padding-icon-Link)", "paddingHorizontal-icon-Link": "var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link))", "paddingVertical-icon-Link": "var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link))", "paddingLeft-icon-Link": "var(--xmlui-paddingLeft-icon-Link, var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingRight-icon-Link": "var(--xmlui-paddingRight-icon-Link, var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingTop-icon-Link": "var(--xmlui-paddingTop-icon-Link, var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingBottom-icon-Link": "var(--xmlui-paddingBottom-icon-Link, var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link)))", "border-Link": "var(--xmlui-border-Link)", "borderHorizontal-Link": "var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link))", "borderVertical-Link": "var(--xmlui-borderVertical-Link, var(--xmlui-border-Link))", "borderLeft-Link": "var(--xmlui-borderLeft-Link, var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link)))", "borderRight-Link": "var(--xmlui-borderRight-Link, var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link)))", "borderTop-Link": "var(--xmlui-borderTop-Link, var(--xmlui-borderVertical-Link, var(--xmlui-border-Link)))", "borderBottom-Link": "var(--xmlui-borderBottom-Link, var(--xmlui-borderVertical-Link, var(--xmlui-border-Link)))", "borderWidth-Link": "var(--xmlui-borderWidth-Link)", "borderHorizontalWidth-Link": "var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link))", "borderLeftWidth-Link": "var(--xmlui-borderLeftWidth-Link, var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderRightWidth-Link": "var(--xmlui-borderRightWidth-Link, var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderVerticalWidth-Link": "var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link))", "borderTopWidth-Link": "var(--xmlui-borderTopWidth-Link, var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderBottomWidth-Link": "var(--xmlui-borderBottomWidth-Link, var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderStyle-Link": "var(--xmlui-borderStyle-Link)", "borderHorizontalStyle-Link": "var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link))", "borderLeftStyle-Link": "var(--xmlui-borderLeftStyle-Link, var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderRightStyle-Link": "var(--xmlui-borderRightStyle-Link, var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderVerticalStyle-Link": "var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link))", "borderTopStyle-Link": "var(--xmlui-borderTopStyle-Link, var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderBottomStyle-Link": "var(--xmlui-borderBottomStyle-Link, var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderColor-Link": "var(--xmlui-borderColor-Link)", "borderHorizontalColor-Link": "var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link))", "borderLeftColor-Link": "var(--xmlui-borderLeftColor-Link, var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link)))", "borderRightColor-Link": "var(--xmlui-borderRightColor-Link, var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link)))", "borderVerticalColor-Link": "var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link))", "borderTopColor-Link": "var(--xmlui-borderTopColor-Link, var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link)))", "borderBottomColor-Link": "var(--xmlui-borderBottomColor-Link, var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link)))", "borderStartStartRadius-Link": "var(--xmlui-borderStartStartRadius-Link, var(--xmlui-borderRadius-Link))", "borderStartEndRadius-Link": "var(--xmlui-borderStartEndRadius-Link, var(--xmlui-borderRadius-Link))", "borderEndStartRadius-Link": "var(--xmlui-borderEndStartRadius-Link, var(--xmlui-borderRadius-Link))", "borderEndEndRadius-Link": "var(--xmlui-borderEndEndRadius-Link, var(--xmlui-borderRadius-Link))", "textColor-Link": "var(--xmlui-textColor-Link)", "textColor-Link--active": "var(--xmlui-textColor-Link--active)", "textColor-Link--hover": "var(--xmlui-textColor-Link--hover)", "textColor-Link--hover--active": "var(--xmlui-textColor-Link--hover--active)", "fontFamily-Link": "var(--xmlui-fontFamily-Link)", "fontSize-Link": "var(--xmlui-fontSize-Link)", "fontWeight-Link": "var(--xmlui-fontWeight-Link)", "fontWeight-Link--active": "var(--xmlui-fontWeight-Link--active)", "textDecorationColor-Link": "var(--xmlui-textDecorationColor-Link)", "textUnderlineOffset-Link": "var(--xmlui-textUnderlineOffset-Link)", "textDecorationLine-Link": "var(--xmlui-textDecorationLine-Link)", "textDecorationStyle-Link": "var(--xmlui-textDecorationStyle-Link)", "textDecorationThickness-Link": "var(--xmlui-textDecorationThickness-Link)", "gap-icon-Link": "var(--xmlui-gap-icon-Link)", "outlineWidth-Link--focus": "var(--xmlui-outlineWidth-Link--focus)", "outlineColor-Link--focus": "var(--xmlui-outlineColor-Link--focus)", "outlineStyle-Link--focus": "var(--xmlui-outlineStyle-Link--focus)", "outlineOffset-Link--focus": "var(--xmlui-outlineOffset-Link--focus)"}'`;
4484
- const container$2 = "_container_1pdwf_13";
4485
- const active$3 = "_active_1pdwf_53";
4486
- const disabled$5 = "_disabled_1pdwf_57";
4487
- const iconWrapper = "_iconWrapper_1pdwf_73";
4484
+ const container$2 = "_container_k8i4t_13";
4485
+ const active$3 = "_active_k8i4t_53";
4486
+ const disabled$5 = "_disabled_k8i4t_57";
4487
+ const iconWrapper = "_iconWrapper_k8i4t_73";
4488
4488
  const styles$V = {
4489
4489
  themeVars: themeVars$E,
4490
4490
  container: container$2,
@@ -8132,6 +8132,10 @@ function generatePaddingSegments(theme2) {
8132
8132
  const result = { ...theme2 };
8133
8133
  Object.entries(theme2).forEach(([key, value]) => {
8134
8134
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
8135
+ if (value === null || value === void 0) {
8136
+ delete result[key];
8137
+ return;
8138
+ }
8135
8139
  let match = paddingHorizontalRegEx.exec(key);
8136
8140
  if (match) {
8137
8141
  const remainder2 = match[1];
@@ -9006,7 +9010,7 @@ const Table = forwardRef(
9006
9010
  data = EMPTY_ARRAY,
9007
9011
  columns = EMPTY_ARRAY,
9008
9012
  isPaginated = false,
9009
- loading = false,
9013
+ loading: loading2 = false,
9010
9014
  headerHeight,
9011
9015
  rowsSelectable = false,
9012
9016
  enableMultiRowSelection = true,
@@ -9516,8 +9520,8 @@ const Table = forwardRef(
9516
9520
  ]
9517
9521
  }
9518
9522
  ),
9519
- loading && !hasData && /* @__PURE__ */ jsx("div", { className: styles$R.loadingWrapper, children: /* @__PURE__ */ jsx(Spinner, {}) }),
9520
- !hideNoDataView && !loading && !hasData && (noDataRenderer ? noDataRenderer() : /* @__PURE__ */ jsx("div", { className: styles$R.noRows, children: "No data available" })),
9523
+ loading2 && !hasData && /* @__PURE__ */ jsx("div", { className: styles$R.loadingWrapper, children: /* @__PURE__ */ jsx(Spinner, {}) }),
9524
+ !hideNoDataView && !loading2 && !hasData && (noDataRenderer ? noDataRenderer() : /* @__PURE__ */ jsx("div", { className: styles$R.noRows, children: "No data available" })),
9521
9525
  isPaginated && hasData && rows.length > 0 && pagination2 && // --- Render the pagination controls
9522
9526
  /* @__PURE__ */ jsxs("div", { className: styles$R.pagination, children: [
9523
9527
  /* @__PURE__ */ jsx("div", { style: { flex: 1 }, children: /* @__PURE__ */ jsxs("span", { className: styles$R.paginationLabel, children: [
@@ -12582,7 +12586,7 @@ const ListNative = forwardRef(function DynamicHeightList({
12582
12586
  itemRenderer = defaultItemRenderer,
12583
12587
  sectionRenderer,
12584
12588
  sectionFooterRenderer,
12585
- loading,
12589
+ loading: loading2,
12586
12590
  limit,
12587
12591
  groupBy: groupBy2,
12588
12592
  orderBy: orderBy2,
@@ -12745,8 +12749,8 @@ const ListNative = forwardRef(function DynamicHeightList({
12745
12749
  [styles$E.hasOutsideScroll]: hasOutsideScroll2
12746
12750
  }),
12747
12751
  children: [
12748
- loading && rows.length === 0 && /* @__PURE__ */ jsx("div", { className: styles$E.loadingWrapper, children: /* @__PURE__ */ jsx(Spinner, {}) }),
12749
- !loading && rows.length === 0 && (emptyListPlaceholder ?? /* @__PURE__ */ jsx("div", { className: styles$E.noRows, children: /* @__PURE__ */ jsx(Text, { children: "No data available" }) })),
12752
+ loading2 && rows.length === 0 && /* @__PURE__ */ jsx("div", { className: styles$E.loadingWrapper, children: /* @__PURE__ */ jsx(Spinner, {}) }),
12753
+ !loading2 && rows.length === 0 && (emptyListPlaceholder ?? /* @__PURE__ */ jsx("div", { className: styles$E.noRows, children: /* @__PURE__ */ jsx(Text, { children: "No data available" }) })),
12750
12754
  rows.length > 0 && /* @__PURE__ */ jsx(
12751
12755
  "div",
12752
12756
  {
@@ -15620,38 +15624,39 @@ function $d3863c46a17e8a28$var$removeLinks(items) {
15620
15624
  );
15621
15625
  }
15622
15626
  const themeVars$j = `'{"Input:fontSize-Select-default": "var(--xmlui-fontSize-Select-default)", "Input:textColor-placeholder-Select-default": "var(--xmlui-textColor-placeholder-Select-default)", "Input:textColor-Select-default": "var(--xmlui-textColor-Select-default)", "Input:fontSize-Select-error": "var(--xmlui-fontSize-Select-error)", "Input:textColor-placeholder-Select-error": "var(--xmlui-textColor-placeholder-Select-error)", "Input:textColor-Select-error": "var(--xmlui-textColor-Select-error)", "Input:fontSize-Select-warning": "var(--xmlui-fontSize-Select-warning)", "Input:textColor-placeholder-Select-warning": "var(--xmlui-textColor-placeholder-Select-warning)", "Input:textColor-Select-warning": "var(--xmlui-textColor-Select-warning)", "Input:fontSize-Select-success": "var(--xmlui-fontSize-Select-success)", "Input:textColor-placeholder-Select-success": "var(--xmlui-textColor-placeholder-Select-success)", "Input:textColor-Select-success": "var(--xmlui-textColor-Select-success)", "Input:borderRadius-Select-default": "var(--xmlui-borderRadius-Select-default)", "Input:borderColor-Select-default": "var(--xmlui-borderColor-Select-default)", "Input:borderWidth-Select-default": "var(--xmlui-borderWidth-Select-default)", "Input:borderStyle-Select-default": "var(--xmlui-borderStyle-Select-default)", "Input:backgroundColor-Select-default": "var(--xmlui-backgroundColor-Select-default)", "Input:boxShadow-Select-default": "var(--xmlui-boxShadow-Select-default)", "Input:borderColor-Select-default--hover": "var(--xmlui-borderColor-Select-default--hover)", "Input:backgroundColor-Select-default--hover": "var(--xmlui-backgroundColor-Select-default--hover)", "Input:boxShadow-Select-default--hover": "var(--xmlui-boxShadow-Select-default--hover)", "Input:textColor-Select-default--hover": "var(--xmlui-textColor-Select-default--hover)", "Input:outlineWidth-Select-default--focus": "var(--xmlui-outlineWidth-Select-default--focus)", "Input:outlineColor-Select-default--focus": "var(--xmlui-outlineColor-Select-default--focus)", "Input:outlineStyle-Select-default--focus": "var(--xmlui-outlineStyle-Select-default--focus)", "Input:outlineOffset-Select-default--focus": "var(--xmlui-outlineOffset-Select-default--focus)", "Input:borderRadius-Select-error": "var(--xmlui-borderRadius-Select-error)", "Input:borderColor-Select-error": "var(--xmlui-borderColor-Select-error)", "Input:borderWidth-Select-error": "var(--xmlui-borderWidth-Select-error)", "Input:borderStyle-Select-error": "var(--xmlui-borderStyle-Select-error)", "Input:backgroundColor-Select-error": "var(--xmlui-backgroundColor-Select-error)", "Input:boxShadow-Select-error": "var(--xmlui-boxShadow-Select-error)", "Input:borderColor-Select-error--hover": "var(--xmlui-borderColor-Select-error--hover)", "Input:backgroundColor-Select-error--hover": "var(--xmlui-backgroundColor-Select-error--hover)", "Input:boxShadow-Select-error--hover": "var(--xmlui-boxShadow-Select-error--hover)", "Input:textColor-Select-error--hover": "var(--xmlui-textColor-Select-error--hover)", "Input:outlineWidth-Select-error--focus": "var(--xmlui-outlineWidth-Select-error--focus)", "Input:outlineColor-Select-error--focus": "var(--xmlui-outlineColor-Select-error--focus)", "Input:outlineStyle-Select-error--focus": "var(--xmlui-outlineStyle-Select-error--focus)", "Input:outlineOffset-Select-error--focus": "var(--xmlui-outlineOffset-Select-error--focus)", "Input:borderRadius-Select-warning": "var(--xmlui-borderRadius-Select-warning)", "Input:borderColor-Select-warning": "var(--xmlui-borderColor-Select-warning)", "Input:borderWidth-Select-warning": "var(--xmlui-borderWidth-Select-warning)", "Input:borderStyle-Select-warning": "var(--xmlui-borderStyle-Select-warning)", "Input:backgroundColor-Select-warning": "var(--xmlui-backgroundColor-Select-warning)", "Input:boxShadow-Select-warning": "var(--xmlui-boxShadow-Select-warning)", "Input:borderColor-Select-warning--hover": "var(--xmlui-borderColor-Select-warning--hover)", "Input:backgroundColor-Select-warning--hover": "var(--xmlui-backgroundColor-Select-warning--hover)", "Input:boxShadow-Select-warning--hover": "var(--xmlui-boxShadow-Select-warning--hover)", "Input:textColor-Select-warning--hover": "var(--xmlui-textColor-Select-warning--hover)", "Input:outlineWidth-Select-warning--focus": "var(--xmlui-outlineWidth-Select-warning--focus)", "Input:outlineColor-Select-warning--focus": "var(--xmlui-outlineColor-Select-warning--focus)", "Input:outlineStyle-Select-warning--focus": "var(--xmlui-outlineStyle-Select-warning--focus)", "Input:outlineOffset-Select-warning--focus": "var(--xmlui-outlineOffset-Select-warning--focus)", "Input:borderRadius-Select-success": "var(--xmlui-borderRadius-Select-success)", "Input:borderColor-Select-success": "var(--xmlui-borderColor-Select-success)", "Input:borderWidth-Select-success": "var(--xmlui-borderWidth-Select-success)", "Input:borderStyle-Select-success": "var(--xmlui-borderStyle-Select-success)", "Input:backgroundColor-Select-success": "var(--xmlui-backgroundColor-Select-success)", "Input:boxShadow-Select-success": "var(--xmlui-boxShadow-Select-success)", "Input:borderColor-Select-success--hover": "var(--xmlui-borderColor-Select-success--hover)", "Input:backgroundColor-Select-success--hover": "var(--xmlui-backgroundColor-Select-success--hover)", "Input:boxShadow-Select-success--hover": "var(--xmlui-boxShadow-Select-success--hover)", "Input:textColor-Select-success--hover": "var(--xmlui-textColor-Select-success--hover)", "Input:outlineWidth-Select-success--focus": "var(--xmlui-outlineWidth-Select-success--focus)", "Input:outlineColor-Select-success--focus": "var(--xmlui-outlineColor-Select-success--focus)", "Input:outlineStyle-Select-success--focus": "var(--xmlui-outlineStyle-Select-success--focus)", "Input:outlineOffset-Select-success--focus": "var(--xmlui-outlineOffset-Select-success--focus)", "opacity-Select--disabled": "var(--xmlui-opacity-Select--disabled)", "Input:backgroundColor-Select--disabled": "var(--xmlui-backgroundColor-Select--disabled)", "Input:textColor-Select--disabled": "var(--xmlui-textColor-Select--disabled)", "Input:borderColor-Select--disabled": "var(--xmlui-borderColor-Select--disabled)", "paddingVertical-Select-badge": "var(--xmlui-paddingVertical-Select-badge)", "paddingHorizontal-Select-badge": "var(--xmlui-paddingHorizontal-Select-badge)", "Input:fontSize-Select-badge": "var(--xmlui-fontSize-Select-badge)", "Input:backgroundColor-Select-badge": "var(--xmlui-backgroundColor-Select-badge)", "Input:textColor-Select-badge": "var(--xmlui-textColor-Select-badge)", "Input:backgroundColor-Select-badge--hover": "var(--xmlui-backgroundColor-Select-badge--hover)", "Input:textColor-Select-badge--hover": "var(--xmlui-textColor-Select-badge--hover)", "Input:backgroundColor-Select-badge--active": "var(--xmlui-backgroundColor-Select-badge--active)", "Input:textColor-Select-badge--active": "var(--xmlui-textColor-Select-badge--active)", "Input:textColor-placeholder-Select": "var(--xmlui-textColor-placeholder-Select)", "Input:backgroundColor-menu-Select": "var(--xmlui-backgroundColor-menu-Select)", "Input:borderRadius-menu-Select": "var(--xmlui-borderRadius-menu-Select)", "Input:boxShadow-menu-Select": "var(--xmlui-boxShadow-menu-Select)", "Input:borderWidth-menu-Select": "var(--xmlui-borderWidth-menu-Select)", "Input:borderColor-menu-Select": "var(--xmlui-borderColor-menu-Select)", "backgroundColor-item-Select": "var(--xmlui-backgroundColor-item-Select)", "backgroundColor-item-Select--hover": "var(--xmlui-backgroundColor-item-Select--hover)", "opacity-text-item-Select--disabled": "var(--xmlui-opacity-text-item-Select--disabled)", "fontSize-Select": "var(--xmlui-fontSize-Select)", "backgroundColor-item-Select--active": "var(--xmlui-backgroundColor-item-Select--active)", "textColor-indicator-Select": "var(--xmlui-textColor-indicator-Select)"}'`;
15623
- const selectValue = "_selectValue_1o7b6_13";
15624
- const error$7 = "_error_1o7b6_21";
15625
- const warning$7 = "_warning_1o7b6_29";
15626
- const valid$7 = "_valid_1o7b6_37";
15627
- const selectTrigger = "_selectTrigger_1o7b6_46";
15628
- const badgeListContainer = "_badgeListContainer_1o7b6_170";
15629
- const badgeList$1 = "_badgeList_1o7b6_170";
15630
- const badge$1 = "_badge_1o7b6_170";
15631
- const actions$2 = "_actions_1o7b6_210";
15632
- const placeholder$1 = "_placeholder_1o7b6_216";
15633
- const emptyList = "_emptyList_1o7b6_221";
15634
- const selectScrollUpButton = "_selectScrollUpButton_1o7b6_231";
15635
- const selectScrollDownButton = "_selectScrollDownButton_1o7b6_240";
15636
- const command$1 = "_command_1o7b6_249";
15637
- const commandInputContainer = "_commandInputContainer_1o7b6_259";
15638
- const commandInput$1 = "_commandInput_1o7b6_259";
15639
- const commandList$1 = "_commandList_1o7b6_284";
15640
- const selectContent = "_selectContent_1o7b6_289";
15641
- const fadeIn = "_fadeIn_1o7b6_1";
15642
- const zoomIn = "_zoomIn_1o7b6_1";
15643
- const fadeOut = "_fadeOut_1o7b6_1";
15644
- const zoomOut = "_zoomOut_1o7b6_1";
15645
- const slideInFromTop = "_slideInFromTop_1o7b6_1";
15646
- const slideInFromRight = "_slideInFromRight_1o7b6_1";
15647
- const slideInFromLeft = "_slideInFromLeft_1o7b6_1";
15648
- const slideInFromBottom = "_slideInFromBottom_1o7b6_1";
15649
- const multiComboboxOption = "_multiComboboxOption_1o7b6_329";
15650
- const selectItem = "_selectItem_1o7b6_349";
15651
- const selectItemIndicator = "_selectItemIndicator_1o7b6_377";
15652
- const selectViewport = "_selectViewport_1o7b6_388";
15653
- const selectEmpty = "_selectEmpty_1o7b6_394";
15654
- const srOnly = "_srOnly_1o7b6_405";
15627
+ const selectValue = "_selectValue_w44f3_13";
15628
+ const error$7 = "_error_w44f3_21";
15629
+ const warning$7 = "_warning_w44f3_29";
15630
+ const valid$7 = "_valid_w44f3_37";
15631
+ const selectTrigger = "_selectTrigger_w44f3_46";
15632
+ const badgeListContainer = "_badgeListContainer_w44f3_170";
15633
+ const badgeList$1 = "_badgeList_w44f3_170";
15634
+ const badge$1 = "_badge_w44f3_170";
15635
+ const actions$2 = "_actions_w44f3_210";
15636
+ const placeholder$1 = "_placeholder_w44f3_216";
15637
+ const emptyList = "_emptyList_w44f3_221";
15638
+ const selectScrollUpButton = "_selectScrollUpButton_w44f3_231";
15639
+ const selectScrollDownButton = "_selectScrollDownButton_w44f3_240";
15640
+ const command$1 = "_command_w44f3_249";
15641
+ const commandInputContainer = "_commandInputContainer_w44f3_259";
15642
+ const commandInput$1 = "_commandInput_w44f3_259";
15643
+ const commandList$1 = "_commandList_w44f3_284";
15644
+ const selectContent = "_selectContent_w44f3_289";
15645
+ const fadeIn = "_fadeIn_w44f3_1";
15646
+ const zoomIn = "_zoomIn_w44f3_1";
15647
+ const fadeOut = "_fadeOut_w44f3_1";
15648
+ const zoomOut = "_zoomOut_w44f3_1";
15649
+ const slideInFromTop = "_slideInFromTop_w44f3_1";
15650
+ const slideInFromRight = "_slideInFromRight_w44f3_1";
15651
+ const slideInFromLeft = "_slideInFromLeft_w44f3_1";
15652
+ const slideInFromBottom = "_slideInFromBottom_w44f3_1";
15653
+ const multiComboboxOption = "_multiComboboxOption_w44f3_329";
15654
+ const selectItem = "_selectItem_w44f3_349";
15655
+ const selectItemIndicator = "_selectItemIndicator_w44f3_377";
15656
+ const selectViewport = "_selectViewport_w44f3_388";
15657
+ const selectEmpty = "_selectEmpty_w44f3_394";
15658
+ const loading = "_loading_w44f3_405";
15659
+ const srOnly = "_srOnly_w44f3_409";
15655
15660
  const styles$y = {
15656
15661
  themeVars: themeVars$j,
15657
15662
  selectValue,
@@ -15685,6 +15690,7 @@ const styles$y = {
15685
15690
  selectItemIndicator,
15686
15691
  selectViewport,
15687
15692
  selectEmpty,
15693
+ loading,
15688
15694
  srOnly
15689
15695
  };
15690
15696
  const SelectContext = createContext(null);
@@ -15804,7 +15810,9 @@ const Select = forwardRef(function Select2({
15804
15810
  labelPosition,
15805
15811
  labelWidth,
15806
15812
  labelBreak: labelBreak2,
15807
- required: required2 = false
15813
+ required: required2 = false,
15814
+ inProgress = false,
15815
+ inProgressNotificationMessage = "Loading..."
15808
15816
  }, ref) {
15809
15817
  var _a;
15810
15818
  const [referenceElement, setReferenceElement] = useState(null);
@@ -15994,6 +16002,7 @@ const Select = forwardRef(function Select2({
15994
16002
  /* @__PURE__ */ jsx("button", { autoFocus: true, "aria-hidden": "true", className: styles$y.srOnly })
15995
16003
  ),
15996
16004
  /* @__PURE__ */ jsxs(CommandList, { className: styles$y.commandList, children: [
16005
+ inProgress && /* @__PURE__ */ jsx("div", { className: styles$y.loading, children: inProgressNotificationMessage }),
15997
16006
  Array.from(options2).map(({ value: value2, label: label22, enabled: enabled22, keywords }) => /* @__PURE__ */ jsx(
15998
16007
  ComboboxOption,
15999
16008
  {
@@ -16004,7 +16013,7 @@ const Select = forwardRef(function Select2({
16004
16013
  },
16005
16014
  value2
16006
16015
  )),
16007
- /* @__PURE__ */ jsx(CommandEmpty, { children: emptyListNode })
16016
+ !inProgress && /* @__PURE__ */ jsx(CommandEmpty, { children: emptyListNode })
16008
16017
  ] })
16009
16018
  ]
16010
16019
  }
@@ -20736,7 +20745,13 @@ const SelectMd = createMetadata({
20736
20745
  `This optional property provides the ability to customize what is displayed when the list of options is empty.`
20737
20746
  ),
20738
20747
  multiSelect: dMulti(),
20739
- searchable: d(`This property enables the search functionality in the dropdown list.`)
20748
+ searchable: d(`This property enables the search functionality in the dropdown list.`),
20749
+ inProgress: d(
20750
+ `This property indicates whether the component is in progress. It can be used to show a loading message.`
20751
+ ),
20752
+ inProgressNotificationMessage: d(
20753
+ `This property indicates the message to display when the component is in progress.`
20754
+ )
20740
20755
  },
20741
20756
  events: {
20742
20757
  gotFocus: dGotFocus(COMP$v),
@@ -20795,6 +20810,8 @@ const selectComponentRenderer = createComponentRenderer(
20795
20810
  {
20796
20811
  multiSelect: extractValue.asOptionalBoolean(node.props.multiSelect),
20797
20812
  style: layoutCss,
20813
+ inProgress: extractValue.asOptionalBoolean(node.props.inProgress),
20814
+ inProgressNotificationMessage: extractValue.asOptionalString(node.props.inProgressNotificationMessage),
20798
20815
  updateState,
20799
20816
  searchable: extractValue.asOptionalBoolean(node.props.searchable),
20800
20817
  initialValue: extractValue(node.props.initialValue),
@@ -23100,6 +23117,11 @@ function ThemeProvider({
23100
23117
  }
23101
23118
  return defaultTone;
23102
23119
  });
23120
+ useEffect(() => {
23121
+ if (defaultTone) {
23122
+ setActiveThemeTone(defaultTone);
23123
+ }
23124
+ }, [defaultTone]);
23103
23125
  const themes = useMemo(() => {
23104
23126
  return [...custThemes, ...builtInThemes];
23105
23127
  }, [custThemes]);
@@ -31649,7 +31671,7 @@ function IconProvider({ children }) {
31649
31671
  /* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
31650
31672
  ] });
31651
31673
  }
31652
- const version = "0.9.4";
31674
+ const version = "0.9.6";
31653
31675
  const ApiInterceptorContext = createContext(null);
31654
31676
  function useApiInterceptorContext() {
31655
31677
  return useContext(ApiInterceptorContext);
@@ -35196,7 +35218,8 @@ function AppContent({
35196
35218
  standalone,
35197
35219
  trackContainerHeight,
35198
35220
  decorateComponentsWithTestId,
35199
- debugEnabled
35221
+ debugEnabled,
35222
+ children
35200
35223
  }) {
35201
35224
  const [loggedInUser, setLoggedInUser] = useState(null);
35202
35225
  const debugView = useDebugView();
@@ -35493,7 +35516,10 @@ function AppContent({
35493
35516
  cleanup: noop$1,
35494
35517
  memoedVarsRef
35495
35518
  });
35496
- return /* @__PURE__ */ jsx(AppContext.Provider, { value: appContextValue, children: /* @__PURE__ */ jsx(AppStateContext.Provider, { value: appStateContextValue, children: renderedRoot }) });
35519
+ return /* @__PURE__ */ jsx(AppContext.Provider, { value: appContextValue, children: /* @__PURE__ */ jsxs(AppStateContext.Provider, { value: appStateContextValue, children: [
35520
+ renderedRoot,
35521
+ children
35522
+ ] }) });
35497
35523
  }
35498
35524
  function signError(error2) {
35499
35525
  toast.error(typeof error2 === "string" ? error2 : error2.message || "Something went wrong");
@@ -35512,7 +35538,8 @@ const AppWrapper = ({
35512
35538
  defaultTone,
35513
35539
  resources,
35514
35540
  resourceMap,
35515
- sources
35541
+ sources,
35542
+ children
35516
35543
  }) => {
35517
35544
  if (previewMode) {
35518
35545
  HelmetProvider.canUseDOM = false;
@@ -35537,7 +35564,8 @@ const AppWrapper = ({
35537
35564
  globalProps,
35538
35565
  standalone,
35539
35566
  decorateComponentsWithTestId,
35540
- debugEnabled
35567
+ debugEnabled,
35568
+ children
35541
35569
  }
35542
35570
  ) }) })
35543
35571
  }
@@ -35576,7 +35604,8 @@ function AppRoot({
35576
35604
  previewMode,
35577
35605
  resourceMap,
35578
35606
  sources,
35579
- extensionManager
35607
+ extensionManager,
35608
+ children
35580
35609
  }) {
35581
35610
  const rootNode = useMemo(() => {
35582
35611
  const themedRoot = node.type === "Theme" ? {
@@ -35616,7 +35645,8 @@ function AppRoot({
35616
35645
  standalone,
35617
35646
  trackContainerHeight,
35618
35647
  previewMode,
35619
- sources
35648
+ sources,
35649
+ children
35620
35650
  }
35621
35651
  ) }) });
35622
35652
  }
@@ -35633,7 +35663,7 @@ function ApiInterceptorProvider({
35633
35663
  let interceptorWorker;
35634
35664
  (async () => {
35635
35665
  if (process.env.VITE_MOCK_ENABLED) {
35636
- const { createApiInterceptorWorker } = await import("./apiInterceptorWorker-Bez0_28l.mjs");
35666
+ const { createApiInterceptorWorker } = await import("./apiInterceptorWorker-BPCEQ5nI.mjs");
35637
35667
  if (interceptor) {
35638
35668
  interceptorWorker = await createApiInterceptorWorker(interceptor, apiWorker);
35639
35669
  if (!apiWorker) {