@ostack.tech/ui 1.2.0-beta.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ostack-ui.js +63 -59
- package/dist/ostack-ui.js.map +1 -1
- package/package.json +1 -1
package/dist/ostack-ui.js
CHANGED
|
@@ -26684,90 +26684,92 @@ function DateRangeInput(t0) {
|
|
|
26684
26684
|
$[336] = handleHiddenStartInputValueChange;
|
|
26685
26685
|
$[337] = t142;
|
|
26686
26686
|
} else t142 = $[337];
|
|
26687
|
-
const t143 =
|
|
26688
|
-
const t144 =
|
|
26689
|
-
const t145 =
|
|
26690
|
-
const t146 =
|
|
26691
|
-
|
|
26692
|
-
if ($[338] === Symbol.for("react.memo_cache_sentinel")) {
|
|
26693
|
-
t147 = /* @__PURE__ */ jsx("input", {});
|
|
26694
|
-
$[338] = t147;
|
|
26695
|
-
} else t147 = $[338];
|
|
26687
|
+
const t143 = startInputProps?.name ?? name;
|
|
26688
|
+
const t144 = stringValue.start ?? "";
|
|
26689
|
+
const t145 = required || startInputProps?.required;
|
|
26690
|
+
const t146 = startSoftDisabled || startReadOnly;
|
|
26691
|
+
const t147 = startInputProps?.autoComplete;
|
|
26696
26692
|
let t148;
|
|
26697
|
-
if ($[
|
|
26698
|
-
t148 = /* @__PURE__ */ jsx(
|
|
26693
|
+
if ($[338] === Symbol.for("react.memo_cache_sentinel")) {
|
|
26694
|
+
t148 = /* @__PURE__ */ jsx("input", {});
|
|
26695
|
+
$[338] = t148;
|
|
26696
|
+
} else t148 = $[338];
|
|
26697
|
+
let t149;
|
|
26698
|
+
if ($[339] !== form || $[340] !== hiddenInputMax || $[341] !== hiddenInputMin || $[342] !== startDisabled || $[343] !== startInputEl || $[344] !== t142 || $[345] !== t143 || $[346] !== t144 || $[347] !== t145 || $[348] !== t146 || $[349] !== t147) {
|
|
26699
|
+
t149 = /* @__PURE__ */ jsx(HiddenFormControl, {
|
|
26699
26700
|
actualElement: startInputEl,
|
|
26700
26701
|
onChange: t142,
|
|
26701
|
-
name,
|
|
26702
|
+
name: t143,
|
|
26702
26703
|
type: "date",
|
|
26703
|
-
value:
|
|
26704
|
-
required:
|
|
26704
|
+
value: t144,
|
|
26705
|
+
required: t145,
|
|
26705
26706
|
disabled: startDisabled,
|
|
26706
|
-
readOnly:
|
|
26707
|
-
autoComplete:
|
|
26707
|
+
readOnly: t146,
|
|
26708
|
+
autoComplete: t147,
|
|
26708
26709
|
min: hiddenInputMin,
|
|
26709
26710
|
max: hiddenInputMax,
|
|
26710
26711
|
form,
|
|
26711
|
-
children:
|
|
26712
|
+
children: t148
|
|
26712
26713
|
});
|
|
26713
26714
|
$[339] = form;
|
|
26714
26715
|
$[340] = hiddenInputMax;
|
|
26715
26716
|
$[341] = hiddenInputMin;
|
|
26716
|
-
$[342] =
|
|
26717
|
-
$[343] =
|
|
26718
|
-
$[344] =
|
|
26719
|
-
$[345] =
|
|
26720
|
-
$[346] =
|
|
26721
|
-
$[347] =
|
|
26722
|
-
$[348] =
|
|
26723
|
-
$[349] =
|
|
26724
|
-
$[350] =
|
|
26725
|
-
} else
|
|
26726
|
-
let
|
|
26717
|
+
$[342] = startDisabled;
|
|
26718
|
+
$[343] = startInputEl;
|
|
26719
|
+
$[344] = t142;
|
|
26720
|
+
$[345] = t143;
|
|
26721
|
+
$[346] = t144;
|
|
26722
|
+
$[347] = t145;
|
|
26723
|
+
$[348] = t146;
|
|
26724
|
+
$[349] = t147;
|
|
26725
|
+
$[350] = t149;
|
|
26726
|
+
} else t149 = $[350];
|
|
26727
|
+
let t150;
|
|
26727
26728
|
if ($[351] !== handleHiddenEndInputValueChange) {
|
|
26728
|
-
|
|
26729
|
+
t150 = (evt_7) => handleHiddenEndInputValueChange(evt_7.target.value);
|
|
26729
26730
|
$[351] = handleHiddenEndInputValueChange;
|
|
26730
|
-
$[352] =
|
|
26731
|
-
} else
|
|
26732
|
-
const
|
|
26733
|
-
const
|
|
26734
|
-
const
|
|
26735
|
-
const
|
|
26736
|
-
|
|
26731
|
+
$[352] = t150;
|
|
26732
|
+
} else t150 = $[352];
|
|
26733
|
+
const t151 = endInputProps?.name ?? name;
|
|
26734
|
+
const t152 = stringValue.end ?? "";
|
|
26735
|
+
const t153 = required || endInputProps?.required;
|
|
26736
|
+
const t154 = endSoftDisabled || endReadOnly;
|
|
26737
|
+
const t155 = endInputProps?.autoComplete;
|
|
26738
|
+
let t156;
|
|
26737
26739
|
if ($[353] === Symbol.for("react.memo_cache_sentinel")) {
|
|
26738
|
-
|
|
26739
|
-
$[353] =
|
|
26740
|
-
} else
|
|
26741
|
-
let
|
|
26742
|
-
if ($[354] !== endDisabled || $[355] !== endInputEl || $[356] !== form || $[357] !== hiddenEndInputMin || $[358] !== hiddenInputMax || $[359] !==
|
|
26743
|
-
|
|
26740
|
+
t156 = /* @__PURE__ */ jsx("input", {});
|
|
26741
|
+
$[353] = t156;
|
|
26742
|
+
} else t156 = $[353];
|
|
26743
|
+
let t157;
|
|
26744
|
+
if ($[354] !== endDisabled || $[355] !== endInputEl || $[356] !== form || $[357] !== hiddenEndInputMin || $[358] !== hiddenInputMax || $[359] !== t150 || $[360] !== t151 || $[361] !== t152 || $[362] !== t153 || $[363] !== t154 || $[364] !== t155) {
|
|
26745
|
+
t157 = /* @__PURE__ */ jsx(HiddenFormControl, {
|
|
26744
26746
|
actualElement: endInputEl,
|
|
26745
|
-
onChange:
|
|
26746
|
-
name,
|
|
26747
|
+
onChange: t150,
|
|
26748
|
+
name: t151,
|
|
26747
26749
|
type: "date",
|
|
26748
|
-
value:
|
|
26749
|
-
required:
|
|
26750
|
+
value: t152,
|
|
26751
|
+
required: t153,
|
|
26750
26752
|
disabled: endDisabled,
|
|
26751
|
-
readOnly:
|
|
26752
|
-
autoComplete:
|
|
26753
|
+
readOnly: t154,
|
|
26754
|
+
autoComplete: t155,
|
|
26753
26755
|
min: hiddenEndInputMin,
|
|
26754
26756
|
max: hiddenInputMax,
|
|
26755
26757
|
form,
|
|
26756
|
-
children:
|
|
26758
|
+
children: t156
|
|
26757
26759
|
});
|
|
26758
26760
|
$[354] = endDisabled;
|
|
26759
26761
|
$[355] = endInputEl;
|
|
26760
26762
|
$[356] = form;
|
|
26761
26763
|
$[357] = hiddenEndInputMin;
|
|
26762
26764
|
$[358] = hiddenInputMax;
|
|
26763
|
-
$[359] =
|
|
26764
|
-
$[360] =
|
|
26765
|
-
$[361] =
|
|
26766
|
-
$[362] =
|
|
26767
|
-
$[363] =
|
|
26768
|
-
$[364] =
|
|
26769
|
-
$[365] =
|
|
26770
|
-
} else
|
|
26765
|
+
$[359] = t150;
|
|
26766
|
+
$[360] = t151;
|
|
26767
|
+
$[361] = t152;
|
|
26768
|
+
$[362] = t153;
|
|
26769
|
+
$[363] = t154;
|
|
26770
|
+
$[364] = t155;
|
|
26771
|
+
$[365] = t157;
|
|
26772
|
+
} else t157 = $[365];
|
|
26771
26773
|
return /* @__PURE__ */ jsx(ClearContexts, {
|
|
26772
26774
|
field: false,
|
|
26773
26775
|
children: /* @__PURE__ */ jsxs(ControlContext, {
|
|
@@ -26809,6 +26811,7 @@ function DateRangeInput(t0) {
|
|
|
26809
26811
|
children: [
|
|
26810
26812
|
/* @__PURE__ */ jsx("input", {
|
|
26811
26813
|
...startInputProps,
|
|
26814
|
+
name: void 0,
|
|
26812
26815
|
id: controlId,
|
|
26813
26816
|
"data-disabled": t70,
|
|
26814
26817
|
"data-status": status,
|
|
@@ -26858,6 +26861,7 @@ function DateRangeInput(t0) {
|
|
|
26858
26861
|
children: [
|
|
26859
26862
|
/* @__PURE__ */ jsx("input", {
|
|
26860
26863
|
...endInputProps,
|
|
26864
|
+
name: void 0,
|
|
26861
26865
|
"data-disabled": t101,
|
|
26862
26866
|
"data-status": status,
|
|
26863
26867
|
"data-variant": variant,
|
|
@@ -26971,8 +26975,8 @@ function DateRangeInput(t0) {
|
|
|
26971
26975
|
children: selectedDateDescription(descriptionFormattedEnd)
|
|
26972
26976
|
}),
|
|
26973
26977
|
t141,
|
|
26974
|
-
|
|
26975
|
-
|
|
26978
|
+
t149,
|
|
26979
|
+
t157
|
|
26976
26980
|
]
|
|
26977
26981
|
})
|
|
26978
26982
|
});
|