@partex/one-core 2.1.17 → 2.1.18
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.
|
@@ -132,6 +132,7 @@ declare const _default: DefineComponent<{
|
|
|
132
132
|
options: ObjectKey[];
|
|
133
133
|
filterable?: boolean | undefined;
|
|
134
134
|
multiple?: boolean | undefined;
|
|
135
|
+
tag?: boolean | undefined;
|
|
135
136
|
fallbackOption?: any;
|
|
136
137
|
maxTagCount?: number | "responsive" | null | undefined;
|
|
137
138
|
renderLabel?: ((option: ObjectKey, selected: boolean) => VNodeChild) | undefined;
|
|
@@ -58,6 +58,7 @@ export interface IFormItemSelect extends IFormItemBase {
|
|
|
58
58
|
options: Array<ObjectKey>;
|
|
59
59
|
filterable?: boolean;
|
|
60
60
|
multiple?: boolean;
|
|
61
|
+
tag?: boolean;
|
|
61
62
|
fallbackOption?: any | boolean;
|
|
62
63
|
maxTagCount?: number | 'responsive' | null;
|
|
63
64
|
renderLabel?: (option: ObjectKey, selected: boolean) => VNodeChild;
|
package/lib/one-core.js
CHANGED
|
@@ -2538,6 +2538,7 @@ function $s(e, o, a, s, n, u) {
|
|
|
2538
2538
|
readonly: e.edit && e.item.edit ? e.item.edit.readonly : e.item.readonly,
|
|
2539
2539
|
clearable: e.item.clearable,
|
|
2540
2540
|
filterable: e.item.filterable,
|
|
2541
|
+
tag: e.item.tag,
|
|
2541
2542
|
multiple: e.item.multiple,
|
|
2542
2543
|
"fallback-option": e.selectFallback(e.item),
|
|
2543
2544
|
maxTagCount: e.item.maxTagCount,
|
|
@@ -2553,7 +2554,7 @@ function $s(e, o, a, s, n, u) {
|
|
|
2553
2554
|
}
|
|
2554
2555
|
e.formValue[e.item.key] = t, e.updateValue(e.item, I);
|
|
2555
2556
|
}
|
|
2556
|
-
}, null, 8, ["value", "placeholder", "options", "disabled", "readonly", "clearable", "filterable", "multiple", "fallback-option", "maxTagCount", "render-label", "render-option", "render-tag", "on-update:value"])) : z("", !0),
|
|
2557
|
+
}, null, 8, ["value", "placeholder", "options", "disabled", "readonly", "clearable", "filterable", "tag", "multiple", "fallback-option", "maxTagCount", "render-label", "render-option", "render-tag", "on-update:value"])) : z("", !0),
|
|
2557
2558
|
e.item.input === "cascader" ? (p(), O(b, {
|
|
2558
2559
|
key: 6,
|
|
2559
2560
|
value: e.formValue[e.item.key],
|
|
@@ -7320,7 +7321,7 @@ function dd() {
|
|
|
7320
7321
|
Eo = 3840, jo = 2160, window.removeEventListener("resize", e);
|
|
7321
7322
|
};
|
|
7322
7323
|
}
|
|
7323
|
-
const cd = (e) => !!(N.kind === -1 || N.kind === 99 || N.iot_menu_authorization.includes(e)), pd = (e) => N.platform_tdm ? N.kind === -1 || N.kind === 99 || e === "home" ? !0 : N.tdm_menu_authorization.includes(e) : !1, fd = (e) => N.platform_qms ? N.kind === -1 || N.kind === 99 || e === "home" ? !0 : N.qms_menu_authorization.includes(e) : !1, md = (e) => N.platform_twin ? (N.kind === -1 || N.kind === 99 || e === "home", !0) : !1, hd = (e) => !!(N.kind === -1 || N.kind === 99 || N.maintain_menu_authorization.includes(e)), gd = (e) => !!(N.kind === -1 || N.kind === 99 || N.order_menu_authorization.includes(e)), Ru = "2.1.
|
|
7324
|
+
const cd = (e) => !!(N.kind === -1 || N.kind === 99 || N.iot_menu_authorization.includes(e)), pd = (e) => N.platform_tdm ? N.kind === -1 || N.kind === 99 || e === "home" ? !0 : N.tdm_menu_authorization.includes(e) : !1, fd = (e) => N.platform_qms ? N.kind === -1 || N.kind === 99 || e === "home" ? !0 : N.qms_menu_authorization.includes(e) : !1, md = (e) => N.platform_twin ? (N.kind === -1 || N.kind === 99 || e === "home", !0) : !1, hd = (e) => !!(N.kind === -1 || N.kind === 99 || N.maintain_menu_authorization.includes(e)), gd = (e) => !!(N.kind === -1 || N.kind === 99 || N.order_menu_authorization.includes(e)), Ru = "2.1.18";
|
|
7324
7325
|
function Uu({ components: e = [] } = {}) {
|
|
7325
7326
|
const o = [];
|
|
7326
7327
|
function a(n, u, i) {
|
package/package.json
CHANGED