@partex/one-core 2.0.55 → 2.0.57
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/lib/one-core.js
CHANGED
|
@@ -830,7 +830,7 @@ const Yx = {
|
|
|
830
830
|
"zh-CN": { ...Yx },
|
|
831
831
|
"fr-FR": {}
|
|
832
832
|
}
|
|
833
|
-
}), Ut = Xx, L_ = "2.0.
|
|
833
|
+
}), Ut = Xx, L_ = "2.0.57", _p = {
|
|
834
834
|
Components: {
|
|
835
835
|
platformName: () => `${Ut.global.t("Platform.components")} v${L_}`,
|
|
836
836
|
platformType: "T0",
|
|
@@ -27842,6 +27842,7 @@ function TH(e, t, r, n, a, i) {
|
|
|
27842
27842
|
disabled: e.edit && y.edit ? y.edit.disabled : y.disabled,
|
|
27843
27843
|
readonly: e.edit && y.edit ? y.edit.readonly : y.readonly,
|
|
27844
27844
|
clearable: y.clearable,
|
|
27845
|
+
precision: y.precision || 0,
|
|
27845
27846
|
min: y.min,
|
|
27846
27847
|
max: y.max,
|
|
27847
27848
|
step: y.step,
|
|
@@ -27849,7 +27850,7 @@ function TH(e, t, r, n, a, i) {
|
|
|
27849
27850
|
"on-update:value": (w) => {
|
|
27850
27851
|
e.formValue[y.key] = w, e.updateValue(y, w);
|
|
27851
27852
|
}
|
|
27852
|
-
}, null, 8, ["value", "onUpdate:value", "placeholder", "disabled", "readonly", "clearable", "min", "max", "step", "showButton", "on-update:value"])) : te("", !0),
|
|
27853
|
+
}, null, 8, ["value", "onUpdate:value", "placeholder", "disabled", "readonly", "clearable", "precision", "min", "max", "step", "showButton", "on-update:value"])) : te("", !0),
|
|
27853
27854
|
y.input === "date" && !y.format ? (V(), J(l, {
|
|
27854
27855
|
key: 2,
|
|
27855
27856
|
value: e.formValue[y.key],
|
|
@@ -27859,12 +27860,13 @@ function TH(e, t, r, n, a, i) {
|
|
|
27859
27860
|
disabled: e.edit && y.edit ? y.edit.disabled : y.disabled,
|
|
27860
27861
|
"input-readonly": e.edit && y.edit ? y.edit.readonly : y.readonly,
|
|
27861
27862
|
clearable: y.clearable,
|
|
27863
|
+
"time-picker-props": y.timePickerProps,
|
|
27862
27864
|
"is-date-disabled": (w, C) => y.isDateDisabled ? y.isDateDisabled(w, C) : !1,
|
|
27863
27865
|
"close-on-select": "",
|
|
27864
27866
|
"on-update:value": (w) => {
|
|
27865
27867
|
e.formValue[y.key] = w, e.updateValue(y, w);
|
|
27866
27868
|
}
|
|
27867
|
-
}, null, 8, ["value", "onUpdate:value", "type", "placeholder", "disabled", "input-readonly", "clearable", "is-date-disabled", "on-update:value"])) : te("", !0),
|
|
27869
|
+
}, null, 8, ["value", "onUpdate:value", "type", "placeholder", "disabled", "input-readonly", "clearable", "time-picker-props", "is-date-disabled", "on-update:value"])) : te("", !0),
|
|
27868
27870
|
y.input === "date" && y.format ? (V(), J(l, {
|
|
27869
27871
|
key: 3,
|
|
27870
27872
|
"formatted-value": e.formValue[y.key],
|
|
@@ -27875,12 +27877,13 @@ function TH(e, t, r, n, a, i) {
|
|
|
27875
27877
|
"input-readonly": e.edit && y.edit ? y.edit.readonly : y.readonly,
|
|
27876
27878
|
clearable: y.clearable,
|
|
27877
27879
|
format: y.format,
|
|
27880
|
+
"time-picker-props": y.timePickerProps,
|
|
27878
27881
|
"is-date-disabled": (w, C) => y.isDateDisabled ? y.isDateDisabled(w, C) : !1,
|
|
27879
27882
|
"close-on-select": "",
|
|
27880
27883
|
"on-update:formatted-value": (w) => {
|
|
27881
27884
|
e.formValue[y.key] = w, e.updateValue(y, w);
|
|
27882
27885
|
}
|
|
27883
|
-
}, null, 8, ["formatted-value", "onUpdate:formattedValue", "type", "placeholder", "disabled", "input-readonly", "clearable", "format", "is-date-disabled", "on-update:formatted-value"])) : te("", !0),
|
|
27886
|
+
}, null, 8, ["formatted-value", "onUpdate:formattedValue", "type", "placeholder", "disabled", "input-readonly", "clearable", "format", "time-picker-props", "is-date-disabled", "on-update:formatted-value"])) : te("", !0),
|
|
27884
27887
|
y.input === "select" ? (V(), J(u, {
|
|
27885
27888
|
key: 4,
|
|
27886
27889
|
value: e.formValue[y.key],
|
|
@@ -28804,8 +28807,7 @@ const WH = /* @__PURE__ */ ae(GH, [["render", UH]]), YH = Ie({
|
|
|
28804
28807
|
const { t } = kr(), r = hu(), n = xi(), a = kn(), i = W(pe.platformUrl), o = W(!1), s = W(void 0), l = W(10), u = W([]), f = (x) => {
|
|
28805
28808
|
yu(x), Sr("theme", x, 0);
|
|
28806
28809
|
}, c = (x) => {
|
|
28807
|
-
|
|
28808
|
-
A.length > 2 ? i.value = `/${A[1]}/${A[2]}/${A[3]}` : i.value = `/${A[1]}`, Qc();
|
|
28810
|
+
i.value = x, Qc();
|
|
28809
28811
|
}, d = (x) => {
|
|
28810
28812
|
x.disabled || (c(x.key), n.push(x.key));
|
|
28811
28813
|
}, h = (x) => {
|