@das-fed/ui 6.4.0-test.5.1 → 6.4.0-test.6.1
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/package.json +5 -5
- package/packages/business-components/device-panel/index.js +37113 -36843
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/src/apis.d.ts +0 -2
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +16 -6
- package/packages/business-components/import-button/index.js +147 -141
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/import-button/style.css +1 -1
- package/packages/business-components/process-configuration/i18n/index.d.ts +5 -0
- package/packages/business-components/process-configuration/index.js +2 -1
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-configuration/src/hooks/useDeleteDialog.d.ts +2 -3
- package/packages/business-components/process-form/index.js +64 -63
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-search-form/index.js +56 -56
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/index.js +539 -528
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/components/autocomplete/index.d.ts +13 -4
- package/packages/components/autocomplete/index.js +135 -122
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/autocomplete/src/index.vue.d.ts +2 -1
- package/packages/components/autocomplete/src/type.d.ts +4 -1
- package/packages/components/autocomplete/style.css +1 -1
- package/packages/components/autocomplete/style.css.gz +0 -0
- package/packages/components/cascader/index.js +41 -40
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/date-picker/index.js +238 -237
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/edit-table/index.d.ts +9 -9
- package/packages/components/edit-table/index.js +2010 -1658
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/edit-table/src/hooks/use-validator.d.ts +9 -3
- package/packages/components/edit-table/src/index.vue.d.ts +1 -1
- package/packages/components/edit-table/src/type.d.ts +13 -0
- package/packages/components/edit-table/src/utils.d.ts +9 -5
- package/packages/components/edit-table/style.css +1 -1
- package/packages/components/edit-table/style.css.gz +0 -0
- package/packages/components/form-item/index.js +3 -3
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/input/index.js +103 -102
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/input-dialog-select/index.js +18 -18
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-dialog-select/style.css +1 -1
- package/packages/components/input-dialog-select/style.css.gz +0 -0
- package/packages/components/input-number/index.js +63 -63
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/src/App.vue.d.ts +1 -3
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/map/index.js +388 -385
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +680 -606
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/search-form/i18n/index.d.ts +5 -0
- package/packages/components/search-form/index.js +44 -43
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +213 -213
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-list/index.d.ts +23 -3
- package/packages/components/select-list/index.js +599 -565
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/select-list/src/Index.vue.d.ts +9 -1
- package/packages/components/select-list/src/hooks/use-select-list.d.ts +2 -0
- package/packages/components/select-list/src/type.d.ts +22 -4
- package/packages/components/select-list/style.css +1 -1
- package/packages/components/select-list/style.css.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +3 -3
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +42 -42
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +0 -20
- package/packages/components/table/index.js +0 -4
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/text-tooltip/index.js +660 -651
- package/packages/components/text-tooltip/index.js.gz +0 -0
- package/packages/components/text-tooltip/src/type.d.ts +1 -62
- package/packages/components/tree/index.js +222 -222
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/type.d.ts +1 -0
- package/packages/components/tree-select/index.js +374 -345
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +1 -0
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +2 -1
- package/packages/components/tree-select/src/type.d.ts +3 -0
- package/packages/components/tree-select/style.css +1 -1
- package/packages/components/tree-select/style.css.gz +0 -0
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/search-form/style.css';
|
|
2
|
-
import { defineComponent as Fe, watch as Fa, ref as A, openBlock as y, createElementBlock as C, normalizeClass as
|
|
2
|
+
import { defineComponent as Fe, watch as Fa, ref as A, openBlock as y, createElementBlock as C, normalizeClass as B, unref as d, normalizeStyle as Ka, withDirectives as Ke, createTextVNode as Na, toDisplayString as ee, createCommentVNode as h, createVNode as Y, mergeProps as P, isRef as ie, createBlock as m, Fragment as M, useCssVars as ht, onMounted as vt, computed as bt, createElementVNode as F, renderSlot as J, withCtx as K, renderList as ge, vShow as $t, nextTick as je } from "vue";
|
|
3
3
|
import { withInstall as Ct } from "@das-fed/utils/with-install/index";
|
|
4
4
|
import { DasCustomSearchItem as _t } from "@das-fed/ui/packages/components/custom-search-item/index";
|
|
5
5
|
import { DasForm as ua } from "@das-fed/ui/packages/components/form/index";
|
|
@@ -13,7 +13,7 @@ import { useModelValue as ue } from "@das-fed/utils/vue";
|
|
|
13
13
|
import { ElCollapseTransition as kt } from "element-plus";
|
|
14
14
|
import { DasInputDialogSelect as jt } from "@das-fed/ui/packages/components/input-dialog-select/index";
|
|
15
15
|
import { vDasTooltip as Ua } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
16
|
-
import { currentLang as H, t as
|
|
16
|
+
import { currentLang as H, t as E, setI18nRule as Pt } from "@das-fed/web/packages/i18n/index";
|
|
17
17
|
import { DasSelect as mt } from "@das-fed/ui/packages/components/select/index";
|
|
18
18
|
import { DasDateRangePicker as Lt, DasRangePicker as Rt, DasTimeRangePicker as Dt } from "@das-fed/ui/packages/components/date-picker/index";
|
|
19
19
|
import { setThemeRule as It } from "@das-fed/web/packages/theme/index";
|
|
@@ -49,7 +49,7 @@ const Ft = (e, r) => ({ innerValue: ue(e, "modelValue"), openDialogHandle: () =>
|
|
|
49
49
|
return (p, v) => (y(), C(
|
|
50
50
|
"div",
|
|
51
51
|
{
|
|
52
|
-
class:
|
|
52
|
+
class: B(["das-input-select-search-container", { "das-input-select-search-container-en": d(H) != "zh-CN" }])
|
|
53
53
|
},
|
|
54
54
|
[
|
|
55
55
|
p.label ? (y(), C(
|
|
@@ -757,7 +757,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
757
757
|
return ($, V) => (y(), C(
|
|
758
758
|
"div",
|
|
759
759
|
{
|
|
760
|
-
class:
|
|
760
|
+
class: B(["das-select-date-range", { "das-select-date-range-en": d(H) != "zh-CN" }]),
|
|
761
761
|
id: "das-select-date-range"
|
|
762
762
|
},
|
|
763
763
|
[
|
|
@@ -787,7 +787,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
787
787
|
Y(d(mt), {
|
|
788
788
|
size: $.mode == "default" ? "mini" : "small",
|
|
789
789
|
dropdownClassName: "das-select-date-select-container",
|
|
790
|
-
class:
|
|
790
|
+
class: B({ "optional-select-item": $.mode != "default" }),
|
|
791
791
|
modelValue: d(g),
|
|
792
792
|
"onUpdate:modelValue": V[0] || (V[0] = (O) => ie(g) ? g.value = O : null),
|
|
793
793
|
width: d(H) == "zh-CN" ? $.mode == "default" ? "95px" : "100px" : "150px",
|
|
@@ -808,7 +808,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
808
808
|
itemWidth: v.value
|
|
809
809
|
}, $.$attrs, { onChange: d(f) }), null, 16, ["modelValue", "itemWidth", "onChange"])) : h("v-if", !0),
|
|
810
810
|
$.mode == "optional" && d(g) == "custom" ? (y(), C(
|
|
811
|
-
|
|
811
|
+
M,
|
|
812
812
|
{ key: 3 },
|
|
813
813
|
[
|
|
814
814
|
h(" 日期范围选择器 "),
|
|
@@ -868,8 +868,8 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
868
868
|
emits: ["confirm", "clearSearch"],
|
|
869
869
|
setup(e, { expose: r, emit: o }) {
|
|
870
870
|
ht((n) => ({
|
|
871
|
-
"
|
|
872
|
-
|
|
871
|
+
"45a6ecf0": O.value,
|
|
872
|
+
c4f69c00: g.value
|
|
873
873
|
})), wt({
|
|
874
874
|
fold: import("@das-fed/ui/packages/icons/fold")
|
|
875
875
|
});
|
|
@@ -914,7 +914,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
914
914
|
return T;
|
|
915
915
|
}
|
|
916
916
|
return l.hasOwnProperty("isChangeTrigger") || (l.isChangeTrigger = !0), n.type == "treeSelect" && (l.optionsLabelKey = ((a = l.treeProps) == null ? void 0 : a.label) || "name", l.optionsValueKey = ((i = l.treeProps) == null ? void 0 : i.value) || l.nodeKey || "value", l.props = l == null ? void 0 : l.treeProps, l.keyword = l.keyword ? l.keyword : "", l.selectAttrs = l.selectAttrs ? l.selectAttrs : {}, je(() => l)), l;
|
|
917
|
-
},
|
|
917
|
+
}, z = () => {
|
|
918
918
|
const n = {};
|
|
919
919
|
return je(() => {
|
|
920
920
|
k.value.map((u) => n[u.key] = u.value);
|
|
@@ -928,7 +928,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
928
928
|
a.optionsLabelKey = a.optionsLabelKey ? a.optionsLabelKey : "label", a.optionsValueKey = a.optionsValueKey ? a.optionsValueKey : "value", n = a.label, a.options && a.options.length ? a.type != "selectDateRange" && a.type != "treeSelect" ? (i = a.options.filter((b) => {
|
|
929
929
|
if (Array.isArray(a.value) && !b.mutual)
|
|
930
930
|
return a.value.includes(b[a.optionsValueKey]);
|
|
931
|
-
if (!b.mutual && !b[a.optionsLabelKey].toLowerCase().includes(
|
|
931
|
+
if (!b.mutual && !b[a.optionsLabelKey].toLowerCase().includes(E("全部").toLowerCase()) && !b[a.optionsLabelKey].toLowerCase().includes(E("不限").toLowerCase()) && !Array.isArray(a.value) && b[a.optionsLabelKey] != "" && b[a.optionsLabelKey] != null)
|
|
932
932
|
return a.value === b[a.optionsValueKey];
|
|
933
933
|
}), n = a.label) : a.type == "selectDateRange" && (n = a.options.filter((b) => a.optionValue == b[a.optionsValueKey])[0][a.optionsLabelKey], i = a.value) : a != null && a.custom && a.customOption && a.customOption.options.length && (i = a.customOption.options.filter((b) => a.customOption.value == b[a.customOption.defaultProps.value])), a.type == "treeSelect" && (a.optionsLabelKey = ((le = a.treeProps) == null ? void 0 : le.label) || "name", a.optionsValueKey = ((oa = a.treeProps) == null ? void 0 : oa.value) || a.nodeKey || "value", a.props = a == null ? void 0 : a.treeProps, n = a.label, i = a.checkedNodes ? Array.isArray(a.checkedNodes) ? (la = a.checkedNodes) == null ? void 0 : la.map((b) => b[a.optionsLabelKey]) : a.checkedNodes[a.optionsLabelKey] : []);
|
|
934
934
|
let j = a.type == "selectDateRange" ? a.dateType : a.type;
|
|
@@ -943,7 +943,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
943
943
|
else if (a.type == "selectDateRange" || a.type == "dateRange" || j == "dateTimeRange" || a.type == "timeRange" || j == "weekRange" || j == "monthRange" || j == "yearRange" || a.type == "inputSelect") {
|
|
944
944
|
if ((sa = a.value) != null && sa.length || (ia = a == null ? void 0 : a.storageValue) != null && ia.length) {
|
|
945
945
|
let b = a.value || (a == null ? void 0 : a.storageValue);
|
|
946
|
-
b.length == 2 ? b[0] && b[1] ? T = b.join(
|
|
946
|
+
b.length == 2 ? b[0] && b[1] ? T = b.join(E("至")) : !b[0] && !b[1] ? T = "" : !b[0] || !b[1] ? T = b[0] || b[1] : T = b : T = b;
|
|
947
947
|
}
|
|
948
948
|
} else a.type == "select" && a.mode == "multiple" ? T = !a.value || !(i != null && i.length) ? "" : i.map((b) => b[a.optionsLabelKey]).join(",") : T = a.value;
|
|
949
949
|
return {
|
|
@@ -979,26 +979,26 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
979
979
|
{ deep: !0, immediate: !0 }
|
|
980
980
|
);
|
|
981
981
|
const U = async (n, u, t, l) => {
|
|
982
|
-
|
|
982
|
+
G.value || (n.change && n.change(n, u, z(), l), s.showFilterPanel && (n.custom && (t == "childItem" ? (n.value = "", n.customerActive = !1) : (n.customOption.value = "", n.customerActive = !0)), n.type == "treeSelect" ? (n.checkedNodes = Array.isArray(l) ? l : [l], n.selectChange && n.selectChange(u, z(), l), n != null && n.parentLinkChildrenStrictly && fe()) : n.type == "input" && fe()), n.hasOwnProperty("isChangeTrigger") || (n.isChangeTrigger = !0), n.isChangeTrigger && W());
|
|
983
983
|
}, Xe = (n, u) => {
|
|
984
|
-
|
|
984
|
+
G.value || (n.dateRangeChange && n.dateRangeChange(n, u, z()), s.showFilterPanel && fe(), n.hasOwnProperty("isChangeTrigger") || (n.isChangeTrigger = !0), n.isChangeTrigger && W());
|
|
985
985
|
}, Ze = (n, u) => {
|
|
986
|
-
(n.type == "dateRange" || n.type == "dateTimeRange" || n.type == "weekRange" || n.type == "monthRange" || n.type == "yearRange") && (n.storageValue = n.value ? JSON.parse(JSON.stringify(n.value)) : void 0, n.openChange && n.openChange(u,
|
|
986
|
+
(n.type == "dateRange" || n.type == "dateTimeRange" || n.type == "weekRange" || n.type == "monthRange" || n.type == "yearRange") && (n.storageValue = n.value ? JSON.parse(JSON.stringify(n.value)) : void 0, n.openChange && n.openChange(u, z()));
|
|
987
987
|
}, Qe = (n, u) => {
|
|
988
|
-
(n.type == "dateRange" || n.type == "dateTimeRange" || n.type == "weekRange" || n.type == "monthRange" || n.type == "yearRange") && n.calendarChange && n.calendarChange(u,
|
|
988
|
+
(n.type == "dateRange" || n.type == "dateTimeRange" || n.type == "weekRange" || n.type == "monthRange" || n.type == "yearRange") && n.calendarChange && n.calendarChange(u, z());
|
|
989
989
|
}, ut = (n, u) => {
|
|
990
990
|
n.type == "select" && n.dropdownVisibleChange && n.dropdownVisibleChange(u);
|
|
991
991
|
}, Z = async (n, u) => {
|
|
992
|
-
|
|
992
|
+
G.value || (n.type != "treeSelect" && (n.selectChange && n.selectChange(n, u, z()), n.type == "selectDateRange" && I.value.forEach((t) => {
|
|
993
993
|
t.key == n.key && (t.label = n.options.filter((l) => n.optionValue == l[n.optionsValueKey])[0][n.optionsLabelKey]);
|
|
994
994
|
})), W());
|
|
995
995
|
}, ct = (n, u) => {
|
|
996
996
|
n.openDialog && n.openDialog(n, u);
|
|
997
997
|
}, pt = (n, u) => {
|
|
998
|
-
|
|
998
|
+
z(), !G.value && W();
|
|
999
999
|
}, ye = (n, u, t) => t.type !== "select" ? !1 : t.filterOption ? t.filterOption(n, u, t) : u[t.optionsLabelKey].toLowerCase().indexOf(n.toLowerCase()) >= 0, W = (n = !0) => {
|
|
1000
1000
|
const u = {};
|
|
1001
|
-
k.value.forEach((t) => u[t.key] = t.value), $("confirm",
|
|
1001
|
+
k.value.forEach((t) => u[t.key] = t.value), $("confirm", z());
|
|
1002
1002
|
};
|
|
1003
1003
|
let ea = {
|
|
1004
1004
|
string: "",
|
|
@@ -1018,7 +1018,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1018
1018
|
let j = typeof (i == null ? void 0 : i.value) == "object" && Array.isArray(i == null ? void 0 : i.value) ? "array" : typeof (i == null ? void 0 : i.value);
|
|
1019
1019
|
if (l.type == "select") {
|
|
1020
1020
|
let T = i.options.find(
|
|
1021
|
-
(le) => le[i.optionsLabelKey].toLowerCase().includes(
|
|
1021
|
+
(le) => le[i.optionsLabelKey].toLowerCase().includes(E("全部").toLowerCase()) || le[i.optionsLabelKey] == E("不限")
|
|
1022
1022
|
);
|
|
1023
1023
|
l.value = T ? T[i.optionsValueKey] : l.mode == "multiple" ? [] : null, (a = l.value) != null && a.length && typeof l.value != "string" && (l.value = JSON.parse(JSON.stringify(ea[j]))), l.keyCount++;
|
|
1024
1024
|
} else l.type == "treeSelect" ? (l.value = Array.isArray(i.value) ? [] : "", l.checkedNodes = [], aa.value++) : l.type == "selectDateRange" ? (l.optionValue = i.optionValue, l.value = []) : l.type == "inputSelect" ? (l.value = [], l.options = [], t = !0) : l.type == "dateRange" || l.type == "dateTimeRange" || l.type == "weekRange" || l.type == "monthRange" || l.type == "yearRange" ? l.value = [] : l.value = ea[j];
|
|
@@ -1035,28 +1035,28 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1035
1035
|
var t, l;
|
|
1036
1036
|
(l = (t = u == null ? void 0 : u.$treeSelect) == null ? void 0 : t.$tree) == null || l.resetLazyLoad();
|
|
1037
1037
|
});
|
|
1038
|
-
},
|
|
1039
|
-
|
|
1038
|
+
}, G = A(!1), ft = async (n = !0) => {
|
|
1039
|
+
G.value = !0, I.value = [], await k.value.forEach((u) => {
|
|
1040
1040
|
let t = V.value.find((l) => l.key == u.key);
|
|
1041
1041
|
t && (u.value = t.value, t.type == "select" ? (u.value = t.options.find(
|
|
1042
1042
|
(l) => l[t.optionsLabelKey].toLowerCase().includes(l("全部").toLowerCase()) || l[t.optionsLabelKey].toLowerCase().includes(l("不限").toLowerCase())
|
|
1043
1043
|
)[t.optionsValueKey], u.keyCount++) : t.type == "inputSelect" ? u.options = t.options : t.type == "treeSelect" ? u.checkedNodes = t.checkedNodes : t.optionValue && (u.optionValue = t.optionValue));
|
|
1044
|
-
}), k.value = JSON.parse(JSON.stringify(k.value)), f.value++,
|
|
1044
|
+
}), k.value = JSON.parse(JSON.stringify(k.value)), f.value++, G.value = !1, n && W();
|
|
1045
1045
|
}, yt = async (n) => {
|
|
1046
1046
|
if (Array.isArray(n)) {
|
|
1047
|
-
|
|
1047
|
+
G.value = !0;
|
|
1048
1048
|
let u = n.map((l) => l.key), t = V.value.filter((l) => u.includes(l.key));
|
|
1049
1049
|
I.value = I.value.filter((l) => !u.includes(l.key)), await k.value.forEach((l) => {
|
|
1050
1050
|
let a = t.find((i) => i.key == l.key);
|
|
1051
1051
|
a && (l.value = a.value, a.type == "select" ? (l.value = a.options.find(
|
|
1052
1052
|
(i) => i[a.optionsLabelKey].toLowerCase().includes(i("全部").toLowerCase()) || i[a.optionsLabelKey].toLowerCase().includes(i("不限").toLowerCase())
|
|
1053
1053
|
)[a.optionsValueKey], l.keyCount++) : a.type == "inputSelect" ? l.options = a.options : a.type == "treeSelect" ? l.checkedNodes = a.checkedNodes : a.optionValue && (l.optionValue = a.optionValue));
|
|
1054
|
-
}), k.value = JSON.parse(JSON.stringify(k.value)),
|
|
1054
|
+
}), k.value = JSON.parse(JSON.stringify(k.value)), G.value = !1, W();
|
|
1055
1055
|
} else
|
|
1056
1056
|
ta(n);
|
|
1057
1057
|
}, gt = () => v.value, ke = (n) => {
|
|
1058
1058
|
if (!((n == null ? void 0 : n.type) != "input" && (n == null ? void 0 : n.type) != "search" && (n == null ? void 0 : n.type) != "searchInput" && (n == null ? void 0 : n.type) != "selectSearch"))
|
|
1059
|
-
return n != null && n.placeholder ? n == null ? void 0 : n.placeholder : !(n != null && n.placeholder) && !(n != null && n.label) && (n == null ? void 0 : n.type) == "searchInput" ? "请输入" : n != null && n.label ?
|
|
1059
|
+
return n != null && n.placeholder ? n == null ? void 0 : n.placeholder : !(n != null && n.placeholder) && !(n != null && n.label) && (n == null ? void 0 : n.type) == "searchInput" ? "请输入" : n != null && n.label ? E("das-search-form-search-pre", (n == null ? void 0 : n.label) ?? "") : void 0;
|
|
1060
1060
|
};
|
|
1061
1061
|
return r({
|
|
1062
1062
|
/**treeSelect 调用懒加载树刷新 */
|
|
@@ -1067,7 +1067,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1067
1067
|
}), (n, u) => (y(), C(
|
|
1068
1068
|
"div",
|
|
1069
1069
|
{
|
|
1070
|
-
class:
|
|
1070
|
+
class: B(["das-ui-search-form", {
|
|
1071
1071
|
"expand-hasbtn-padding": n.hasBtn && v.value && n.showFilterPanel,
|
|
1072
1072
|
"expand-nobtn-padding": !n.hasBtn && v.value && n.showFilterPanel,
|
|
1073
1073
|
"packup-hasbtn-padding": n.hasBtn && !v.value && n.showFilterPanel,
|
|
@@ -1083,7 +1083,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1083
1083
|
F(
|
|
1084
1084
|
"div",
|
|
1085
1085
|
{
|
|
1086
|
-
class:
|
|
1086
|
+
class: B(["search-form-left", { "align-center": d(Oe).length }])
|
|
1087
1087
|
},
|
|
1088
1088
|
[
|
|
1089
1089
|
h(" 页面标题 "),
|
|
@@ -1109,10 +1109,10 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1109
1109
|
}, {
|
|
1110
1110
|
default: K(() => [
|
|
1111
1111
|
(y(!0), C(
|
|
1112
|
-
|
|
1112
|
+
M,
|
|
1113
1113
|
null,
|
|
1114
1114
|
ge(d(Oe), (t, l) => (y(), C(
|
|
1115
|
-
|
|
1115
|
+
M,
|
|
1116
1116
|
{ key: l },
|
|
1117
1117
|
[
|
|
1118
1118
|
t.type != "selectDateRange" && t.type != "treeSelect" ? (y(), m(d(Q), P({
|
|
@@ -1203,16 +1203,16 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1203
1203
|
d(I).length ? (y(), C(
|
|
1204
1204
|
"span",
|
|
1205
1205
|
mp,
|
|
1206
|
-
ee(d(
|
|
1206
|
+
ee(d(E)("筛选条件")),
|
|
1207
1207
|
1
|
|
1208
1208
|
/* TEXT */
|
|
1209
1209
|
)) : h("v-if", !0),
|
|
1210
1210
|
F("div", Lp, [
|
|
1211
1211
|
(y(!0), C(
|
|
1212
|
-
|
|
1212
|
+
M,
|
|
1213
1213
|
null,
|
|
1214
1214
|
ge(d(I), (t, l) => (y(), C(
|
|
1215
|
-
|
|
1215
|
+
M,
|
|
1216
1216
|
{ key: l },
|
|
1217
1217
|
[
|
|
1218
1218
|
t.show ? (y(), m(d(At), {
|
|
@@ -1252,7 +1252,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1252
1252
|
F(
|
|
1253
1253
|
"div",
|
|
1254
1254
|
{
|
|
1255
|
-
class:
|
|
1255
|
+
class: B(["search-form-right", { "filter-panel-left": n.showFilterPanel }])
|
|
1256
1256
|
},
|
|
1257
1257
|
[
|
|
1258
1258
|
n.$slots.right ? (y(), C("div", Rp, [
|
|
@@ -1262,14 +1262,14 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1262
1262
|
F(
|
|
1263
1263
|
"div",
|
|
1264
1264
|
{
|
|
1265
|
-
class:
|
|
1265
|
+
class: B(["out-filter-content", { "no-fileter-panel": !n.showFilterPanel }])
|
|
1266
1266
|
},
|
|
1267
1267
|
[
|
|
1268
1268
|
(y(!0), C(
|
|
1269
|
-
|
|
1269
|
+
M,
|
|
1270
1270
|
null,
|
|
1271
1271
|
ge(d(D), (t, l) => (y(), C(
|
|
1272
|
-
|
|
1272
|
+
M,
|
|
1273
1273
|
{ key: l },
|
|
1274
1274
|
[
|
|
1275
1275
|
t.type == "searchInput" ? (y(), m(d(Tt), P({
|
|
@@ -1324,7 +1324,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1324
1324
|
F(
|
|
1325
1325
|
"span",
|
|
1326
1326
|
Dp,
|
|
1327
|
-
ee(v.value ? d(
|
|
1327
|
+
ee(v.value ? d(E)("收起过滤") : d(E)("展开过滤")),
|
|
1328
1328
|
1
|
|
1329
1329
|
/* TEXT */
|
|
1330
1330
|
),
|
|
@@ -1332,7 +1332,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1332
1332
|
icon: "fold",
|
|
1333
1333
|
size: "medium",
|
|
1334
1334
|
iconColor: "#5582F3",
|
|
1335
|
-
class:
|
|
1335
|
+
class: B({
|
|
1336
1336
|
arrowTransform: v.value,
|
|
1337
1337
|
arrowTransformReturn: !v.value
|
|
1338
1338
|
})
|
|
@@ -1354,7 +1354,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1354
1354
|
Ke((y(), C(
|
|
1355
1355
|
"div",
|
|
1356
1356
|
{
|
|
1357
|
-
class:
|
|
1357
|
+
class: B(["filter-content", { "horizontal-filter-content": n.layout == "horizontal" }])
|
|
1358
1358
|
},
|
|
1359
1359
|
[
|
|
1360
1360
|
F("div", Fp, [
|
|
@@ -1368,10 +1368,10 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1368
1368
|
}, {
|
|
1369
1369
|
default: K(() => [
|
|
1370
1370
|
(y(!0), C(
|
|
1371
|
-
|
|
1371
|
+
M,
|
|
1372
1372
|
null,
|
|
1373
1373
|
ge(d(L), (t, l) => (y(), C(
|
|
1374
|
-
|
|
1374
|
+
M,
|
|
1375
1375
|
{ key: l },
|
|
1376
1376
|
[
|
|
1377
1377
|
t.type != "dateRange" && t.type != "dateTimeRange" && t.type != "weekRange" && t.type != "monthRange" && t.type != "yearRange" && t.type != "treeSelect" && !(t != null && t.custom) && t.type != "selectDateRange" && t.type != "inputSelect" ? (y(), m(d(Q), P({
|
|
@@ -1559,7 +1559,7 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1559
1559
|
/* CLASS */
|
|
1560
1560
|
));
|
|
1561
1561
|
}
|
|
1562
|
-
}), Np = /* @__PURE__ */ Ue(Kp, [["__scopeId", "data-v-
|
|
1562
|
+
}), Np = /* @__PURE__ */ Ue(Kp, [["__scopeId", "data-v-df0f391f"]]), Up = {
|
|
1563
1563
|
"--demo-alert-bg": {
|
|
1564
1564
|
light: "#fff",
|
|
1565
1565
|
dark: "rgba(255,255,255,.2)"
|
|
@@ -1576,7 +1576,8 @@ const Cp = /* @__PURE__ */ Mt($p), _p = (e, r) => {
|
|
|
1576
1576
|
展开过滤: { "zh-CN": "展开过滤", en: "Expand Filter", _appCode: "framework" },
|
|
1577
1577
|
全部: { "zh-CN": "全部", en: "All", _appCode: "framework" },
|
|
1578
1578
|
不限: { "zh-CN": "不限", en: "Unlimited", _appCode: "framework" },
|
|
1579
|
-
至: { "zh-CN": "至", en: "To", _appCode: "framework" }
|
|
1579
|
+
至: { "zh-CN": "至", en: "To", _appCode: "framework" },
|
|
1580
|
+
"das-search-form-search-pre": { "zh-CN": "搜索$0", en: "Search $0", _appCode: "framework" }
|
|
1580
1581
|
};
|
|
1581
1582
|
It(Up);
|
|
1582
1583
|
Pt(Ep);
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-input-select-search-container[data-v-72fa1cba]{display:flex;align-items:center}.das-input-select-search-container .label[data-v-72fa1cba]{color:var(--das-ui-search-form-filter-font-color);margin-right:8px;font-size:var(--das-ui-font-size-sm);text-align:right;max-width:84px;text-overflow:ellipsis;overflow:hidden;display:flex;align-items:center;white-space:nowrap;justify-content:flex-end}.das-input-select-search-container-en .label[data-v-72fa1cba]{max-width:170px!important;width:170px!important}[data-v-bc8ba4c7] .das-ui-date-range-picker{margin-left:16px}[data-v-bc8ba4c7] .das-ui-date-range-picker .ant-picker{height:24px}[data-v-bc8ba4c7] .das-ui-select .ant-select-selection-item{text-align:right}.das-select-date-select-container{width:120px}.optional-select-item{margin-right:8px}.optional-select-item .ant-select-selection-item{text-align:left!important}.das-select-date-range{display:flex;align-items:center}.das-select-date-range .label{color:var(--das-ui-search-form-filter-font-color);margin-right:8px;font-size:var(--das-ui-font-size-sm);max-width:84px;text-overflow:ellipsis;overflow:hidden;display:flex;align-items:center;white-space:nowrap;justify-content:flex-end}.das-select-date-range .das-ui-date-range-picker{margin-left:0!important}.das-select-date-range .das-ui-select{margin-right:12px}.das-select-date-range-en .label{max-width:155px!important;width:155px!important}.das-ui-search-form[data-v-
|
|
1
|
+
.das-input-select-search-container[data-v-72fa1cba]{display:flex;align-items:center}.das-input-select-search-container .label[data-v-72fa1cba]{color:var(--das-ui-search-form-filter-font-color);margin-right:8px;font-size:var(--das-ui-font-size-sm);text-align:right;max-width:84px;text-overflow:ellipsis;overflow:hidden;display:flex;align-items:center;white-space:nowrap;justify-content:flex-end}.das-input-select-search-container-en .label[data-v-72fa1cba]{max-width:170px!important;width:170px!important}[data-v-bc8ba4c7] .das-ui-date-range-picker{margin-left:16px}[data-v-bc8ba4c7] .das-ui-date-range-picker .ant-picker{height:24px}[data-v-bc8ba4c7] .das-ui-select .ant-select-selection-item{text-align:right}.das-select-date-select-container{width:120px}.optional-select-item{margin-right:8px}.optional-select-item .ant-select-selection-item{text-align:left!important}.das-select-date-range{display:flex;align-items:center}.das-select-date-range .label{color:var(--das-ui-search-form-filter-font-color);margin-right:8px;font-size:var(--das-ui-font-size-sm);max-width:84px;text-overflow:ellipsis;overflow:hidden;display:flex;align-items:center;white-space:nowrap;justify-content:flex-end}.das-select-date-range .das-ui-date-range-picker{margin-left:0!important}.das-select-date-range .das-ui-select{margin-right:12px}.das-select-date-range-en .label{max-width:155px!important;width:155px!important}.das-ui-search-form[data-v-df0f391f]{width:100%;box-sizing:border-box}.das-ui-search-form.expand-hasbtn-padding[data-v-df0f391f]{padding-bottom:10px}.das-ui-search-form.packup-hasbtn-padding[data-v-df0f391f]{padding-bottom:14px}.das-ui-search-form.packup-nobtn-padding[data-v-df0f391f]{padding-bottom:2px}.das-ui-search-form.nofilter-hasbtn-padding[data-v-df0f391f]{padding-bottom:14px}.das-ui-search-form.expand-nobtn-padding[data-v-df0f391f]{padding-bottom:0}.das-ui-search-form .search-content[data-v-df0f391f]{width:100%;display:flex;justify-content:space-between;padding-top:8px;box-sizing:border-box;align-items:flex-end}.das-ui-search-form .search-form-left[data-v-df0f391f]{display:flex;flex:1;align-items:flex-end!important}.das-ui-search-form .search-form-left.align-center[data-v-df0f391f]{align-items:center}.das-ui-search-form .search-form-left .search-title[data-v-df0f391f]{font-size:var(--das-ui-font-size-lg);color:var(--das-ui-search-form-font-color);line-height:26px;font-weight:600;margin-right:16px}.das-ui-search-form .search-form-left .search-selected-content[data-v-df0f391f]{display:flex;flex:1;align-items:flex-end}.das-ui-search-form .search-form-left .search-selected-content .label[data-v-df0f391f]{min-width:60px;font-size:var(--das-ui-font-size-sm);color:var(--das-ui-search-form-tip-color);line-height:24px}.das-ui-search-form .search-form-right[data-v-df0f391f]{display:flex}.das-ui-search-form .search-form-right.filter-panel-left[data-v-df0f391f]{margin-left:80px}.das-ui-search-form .search-form-right .margin-filter[data-v-df0f391f]{margin-right:132px}.das-ui-search-form .search-form-right .filter-handle-status[data-v-df0f391f]{display:flex;align-items:center;color:var(--das-ui-search-form-primary-color);cursor:pointer}.das-ui-search-form .search-form-right .filter-handle-status .status[data-v-df0f391f]{margin-right:5px;font-size:var(--das-ui-font-size-sm)}.das-ui-search-form .search-form-right .filter-handle-status .arrowTransform[data-v-df0f391f]{transition:.2s;transform-origin:center;transform:rotate(180deg)}.das-ui-search-form .search-form-right .filter-handle-status .arrowTransformReturn[data-v-df0f391f]{transition:.2s;transform-origin:center;transform:rotate(0)}.das-ui-search-form .filter-content[data-v-df0f391f]{width:100%;height:auto;background-color:var(--das-ui-search-form-filter-bgcolor);padding:0 12px;box-sizing:border-box;border:1px solid var(--das-ui-search-form-filter-border-color);border-radius:2px;margin-top:12px}.das-ui-search-form .filter-content.horizontal-filter-content[data-v-df0f391f]{max-height:200px;padding:0 40px!important}.das-ui-search-form .filter-content.horizontal-filter-content .filter-scroll-content[data-v-df0f391f]{width:100%;height:100%}.das-ui-search-form .filter-content.horizontal-filter-content[data-v-df0f391f] .das-ui-form-item-label{max-width:84px}.das-ui-search-form .filter-content.horizontal-filter-content[data-v-df0f391f] .das-ui-form-item-label .label{max-width:84px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.das-ui-search-form .filter-content .filter-item[data-v-df0f391f]{flex:0 0 var(--45a6ecf0)!important}.das-ui-search-form .filter-content .filter-item.das-select-date-range[data-v-df0f391f]{margin-right:var(--c4f69c00)}.filter-line[data-v-df0f391f]{width:100%;height:16px;background-color:transparent}.das-ui-search-form .treeSelect-item{align-items:flex-start!important}.das-ui-search-form .treeSelect-item .das-ui-form-item-label{margin-top:2px}.das-ui-search-form .align-left-filter-content .das-ui-form{flex-direction:row!important;min-height:32px;align-items:flex-end!important;align-content:flex-end!important}.das-ui-search-form .align-left-filter-content .das-ui-form .das-ui-form-item{margin-bottom:0!important;margin-right:20px!important}.das-ui-search-form .align-left-filter-content .das-ui-form .das-ui-form-item .das-ui-form-item-label{color:var(--das-ui-search-form-filter-font-color)}.das-ui-search-form .search-selected-content .tag-content .el-tag__content{display:flex}.das-ui-search-form .search-selected-content .tag-content .das-ui-tag{margin-left:5px;background-color:#fff}.das-ui-search-form .search-selected-content .tag-content .das-ui-tag .el-tag{height:24px!important}.das-ui-search-form .search-selected-content .tag-content .das-ui-tag .el-tag .el-tag__close{color:var(--das-ui-search-form-filter-font-color)}.das-ui-search-form .out-filter-content{margin-right:58px}.das-ui-search-form .out-filter-content.no-fileter-panel{margin-right:0}.das-ui-search-form .out-filter-content .das-ui-form{flex-direction:row!important}.das-ui-search-form .out-filter-content .das-ui-form .das-ui-form-item{margin-bottom:0!important;margin-right:10px!important}.das-ui-search-form .out-filter-content .das-ui-form .das-ui-form-item .das-ui-form-item-label{margin-right:10px!important}.das-ui-search-form .filter-content .das-ui-form-item{height:40px;margin-bottom:0!important;border-bottom:1px solid var(--das-ui-search-form-filter-border-color)}.das-ui-search-form .filter-content .das-ui-form-item:last-of-type{border-bottom:0}.das-ui-search-form .filter-content .das-ui-form-item .das-ui-form-item-label{margin-right:24px!important}.das-ui-search-form .filter-content .das-ui-form-item .das-ui-form-item-label .label{color:var(--das-ui-search-form-filter-font-color)}.das-ui-search-form .filter-content .das-ui-form-item.child-form-item{width:auto!important}.das-ui-search-form .filter-content .das-ui-form-item.child-form-item .das-ui-form-item-label{display:none}.das-ui-search-form .filter-content.horizontal-filter-content .das-ui-form{overflow:hidden!important}.das-ui-search-form .filter-content.horizontal-filter-content .das-ui-form .das-select-date-range.filter-item,.das-ui-search-form .filter-content.horizontal-filter-content .das-ui-form .das-input-select-search-container.filter-input-select-item{margin-top:16px!important}.das-ui-search-form .filter-content.horizontal-filter-content .das-ui-form .das-input-select-search-container.filter-input-select-item{margin-right:var(--c4f69c00)}.das-ui-search-form .filter-content.horizontal-filter-content .das-ui-form .das-input-select-search-container.filter-input-select-item .filter-input-select-item{margin-right:0!important}.das-ui-search-form .filter-content.horizontal-filter-content .das-ui-form .das-ui-form-item{height:auto;border:none;margin-right:var(--c4f69c00);margin-top:16px!important}.das-ui-search-form .filter-content.horizontal-filter-content .das-ui-form .das-ui-form-item .das-ui-form-item-label{margin-right:8px!important}.das-ui-search-form.das-ui-search-form-en .align-left-filter-content .das-ui-form-item-label{width:auto!important}.das-ui-search-form.das-ui-search-form-en .das-ui-form-item-label{max-width:170px!important;width:170px!important}.das-ui-search-form.das-ui-search-form-en .das-ui-form-item-label .label{max-width:170px!important}
|
|
Binary file
|