@das-fed/ui 6.4.0-dev.55.4 → 6.4.0-dev.55.5
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/change-enterprises/i18n/index.d.ts +3 -0
- package/packages/business-components/change-enterprises/index.js +44 -44
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/i18n/index.d.ts +18 -0
- package/packages/business-components/change-pwd/index.js +119 -114
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +4 -0
- package/packages/business-components/currency-page/index.js +12 -4
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +235 -0
- package/packages/business-components/device-panel/index.js +4979 -4945
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +11 -0
- package/packages/business-components/export-button/index.js +76 -71
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +26 -0
- package/packages/business-components/import-button/index.js +297 -288
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -0
- package/packages/business-components/model-table-dialog/index.js +433 -433
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +31 -0
- package/packages/business-components/process-configuration/index.js +201 -198
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/i18n/index.d.ts +80 -0
- package/packages/business-components/process-form/index.js +820 -801
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/i18n/index.d.ts +10 -0
- package/packages/business-components/process-log/index.js +245 -245
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +9 -0
- package/packages/business-components/process-search-form/index.js +126 -126
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/i18n/index.d.ts +8 -0
- package/packages/business-components/process-table/index.js +128 -128
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/i18n/index.d.ts +1 -0
- package/packages/business-components/upload-file/index.js +25 -24
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +90 -0
- package/packages/business-components/urgent-panel/index.js +1249 -1235
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +15 -0
- package/packages/business-components/user-org-dialog/index.js +223 -219
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +20 -0
- package/packages/business-components/video-dialog/index.js +233 -233
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +46 -0
- package/packages/components/calendar/index.js +283 -283
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/i18n/index.d.ts +1 -0
- package/packages/components/cascader/index.js +21 -21
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +1 -0
- package/packages/components/color-picker/index.js +35 -35
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +1 -0
- package/packages/components/custom-search-item/index.js +17 -17
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +3 -0
- package/packages/components/date-picker/index.js +94 -94
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -0
- package/packages/components/dialog/index.js +58 -58
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/i18n/index.d.ts +10 -0
- package/packages/components/dimple-layout/index.js +287 -283
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +1 -0
- package/packages/components/dropdown/index.js +14 -14
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/empty/i18n/index.d.ts +1 -0
- package/packages/components/empty/index.js +11 -11
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +6 -0
- package/packages/components/image-upload/index.js +67 -58
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/input/i18n/index.d.ts +3 -0
- package/packages/components/input/index.js +36 -36
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +2 -0
- package/packages/components/live-player/index.js +3 -2
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/loading/i18n/index.d.ts +1 -0
- package/packages/components/loading/index.js +53 -53
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +4 -0
- package/packages/components/map/index.js +73 -68
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/i18n/index.d.ts +1 -0
- package/packages/components/menu-aside/index.js +1 -1
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/i18n/index.d.ts +1 -0
- package/packages/components/message/index.js +1 -1
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/i18n/index.d.ts +1 -0
- package/packages/components/notification/index.js +1 -1
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/i18n/index.d.ts +4 -0
- package/packages/components/pagination/index.js +44 -44
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/popover/i18n/index.d.ts +2 -0
- package/packages/components/popover/index.js +7 -7
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/preview/i18n/index.d.ts +1 -0
- package/packages/components/preview/index.js +6 -6
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +4 -0
- package/packages/components/rich-editor/index.js +11 -4
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search-form/i18n/index.d.ts +6 -0
- package/packages/components/search-form/index.js +113 -113
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +5 -0
- package/packages/components/select/index.js +183 -183
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -0
- package/packages/components/select-list/index.js +73 -73
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
- package/packages/components/special-range-picker-month/index.js +72 -72
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
- package/packages/components/special-range-picker-year/index.js +99 -99
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +1 -0
- package/packages/components/spin/index.js +27 -27
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +41 -4
- package/packages/components/table/index.js +1782 -1779
- 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/tabs/i18n/index.d.ts +3 -0
- package/packages/components/tabs/index.js +46 -46
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +1 -0
- package/packages/components/tooltip/index.js +14 -14
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +7 -0
- package/packages/components/tree/index.js +8 -7
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/upload/i18n/index.d.ts +5 -0
- package/packages/components/upload/index.js +54 -54
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +1 -0
- package/packages/components/virtual-tree/index.js +11 -11
- package/packages/components/virtual-tree/index.js.gz +0 -0
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/cascader/style.css';
|
|
2
2
|
import { withInstall as Y } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { defineComponent as ee, useCssVars as ae, useAttrs as re, ref as l, computed as i, watchEffect as oe, openBlock as o, createElementBlock as t, normalizeClass as le, normalizeStyle as
|
|
4
|
-
import { ElCascader as
|
|
3
|
+
import { defineComponent as ee, useCssVars as ae, useAttrs as re, ref as l, computed as i, watchEffect as oe, openBlock as o, createElementBlock as t, normalizeClass as le, normalizeStyle as n, createVNode as M, unref as s, withCtx as f, withDirectives as T, createTextVNode as _, toDisplayString as m, mergeProps as te, isRef as se, renderSlot as E, normalizeProps as de, guardReactiveProps as ie, Fragment as L, createElementVNode as k, createBlock as ce, Teleport as ue, createCommentVNode as N, nextTick as pe } from "vue";
|
|
4
|
+
import { ElCascader as ne } from "element-plus";
|
|
5
5
|
import "element-plus/es/components/cascader/style/css";
|
|
6
6
|
import { vHoverInside as fe } from "@das-fed/utils/directive/hoverInside/index";
|
|
7
7
|
import { getVarValue as w, getVar as R, setThemeRule as me } from "@das-fed/web/packages/theme/index";
|
|
@@ -43,7 +43,7 @@ const ye = { style: { maxheight: "200px", "word-break": "break-all" } }, xe = {
|
|
|
43
43
|
dfa347f4: G.value,
|
|
44
44
|
"7c86c2fa": C.value
|
|
45
45
|
}));
|
|
46
|
-
const e = h, c = he(e, "modelValue"),
|
|
46
|
+
const e = h, c = he(e, "modelValue"), S = y, O = re(), u = l(), x = l(), v = l(), B = l(!1), g = l({
|
|
47
47
|
x: 0,
|
|
48
48
|
y: 0
|
|
49
49
|
}), D = l(0), P = i(() => ({
|
|
@@ -91,11 +91,11 @@ const ye = { style: { maxheight: "200px", "word-break": "break-all" } }, xe = {
|
|
|
91
91
|
let a = (r = u == null ? void 0 : u.value) == null ? void 0 : r.getCheckedNodes();
|
|
92
92
|
a && a[0] && a[0].text ? v.value = a[0].text : v.value = "";
|
|
93
93
|
}, Q = (a, r) => {
|
|
94
|
-
|
|
94
|
+
S("update:model-value", a), S("change", a);
|
|
95
95
|
}, X = (a) => {
|
|
96
|
-
|
|
97
|
-
var d,
|
|
98
|
-
const r = (
|
|
96
|
+
pe(() => {
|
|
97
|
+
var d, p;
|
|
98
|
+
const r = (p = (d = u.value) == null ? void 0 : d.popperPaneRef) == null ? void 0 : p.attributes["data-popper-placement"].value;
|
|
99
99
|
r && r.indexOf("top") > -1 ? C.value = "10px" : C.value = "-10px";
|
|
100
100
|
});
|
|
101
101
|
};
|
|
@@ -110,7 +110,7 @@ const ye = { style: { maxheight: "200px", "word-break": "break-all" } }, xe = {
|
|
|
110
110
|
e.error ? "is-error" : "",
|
|
111
111
|
e.size
|
|
112
112
|
]]),
|
|
113
|
-
style:
|
|
113
|
+
style: n(I.value)
|
|
114
114
|
},
|
|
115
115
|
[
|
|
116
116
|
M(s(H), {
|
|
@@ -119,7 +119,7 @@ const ye = { style: { maxheight: "200px", "word-break": "break-all" } }, xe = {
|
|
|
119
119
|
}, {
|
|
120
120
|
content: f(() => [
|
|
121
121
|
T((o(), t("div", ye, [
|
|
122
|
-
|
|
122
|
+
_(
|
|
123
123
|
m(v.value),
|
|
124
124
|
1
|
|
125
125
|
/* TEXT */
|
|
@@ -135,9 +135,9 @@ const ye = { style: { maxheight: "200px", "word-break": "break-all" } }, xe = {
|
|
|
135
135
|
ref_key: "$cascaderBox",
|
|
136
136
|
ref: x
|
|
137
137
|
}, [
|
|
138
|
-
M(s(
|
|
138
|
+
M(s(ne), te({
|
|
139
139
|
modelValue: s(c),
|
|
140
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
140
|
+
"onUpdate:modelValue": r[0] || (r[0] = (p) => se(c) ? c.value = p : null),
|
|
141
141
|
ref_key: "$cascader",
|
|
142
142
|
ref: u
|
|
143
143
|
}, s(O), {
|
|
@@ -152,8 +152,8 @@ const ye = { style: { maxheight: "200px", "word-break": "break-all" } }, xe = {
|
|
|
152
152
|
onChange: Q,
|
|
153
153
|
style: I.value
|
|
154
154
|
}), {
|
|
155
|
-
default: f(({ node:
|
|
156
|
-
E(a.$slots, "default", de(ie({ node:
|
|
155
|
+
default: f(({ node: p, data: F }) => [
|
|
156
|
+
E(a.$slots, "default", de(ie({ node: p, data: F })), () => [
|
|
157
157
|
M(
|
|
158
158
|
s(H),
|
|
159
159
|
{ placement: "top" },
|
|
@@ -162,7 +162,7 @@ const ye = { style: { maxheight: "200px", "word-break": "break-all" } }, xe = {
|
|
|
162
162
|
var b;
|
|
163
163
|
return [
|
|
164
164
|
T((o(), t("div", xe, [
|
|
165
|
-
|
|
165
|
+
_(
|
|
166
166
|
m(F[((b = e.props) == null ? void 0 : b.label) || "label"]),
|
|
167
167
|
1
|
|
168
168
|
/* TEXT */
|
|
@@ -175,7 +175,7 @@ const ye = { style: { maxheight: "200px", "word-break": "break-all" } }, xe = {
|
|
|
175
175
|
default: f(() => {
|
|
176
176
|
var b;
|
|
177
177
|
return [
|
|
178
|
-
|
|
178
|
+
_(
|
|
179
179
|
" " + m(F[((b = e.props) == null ? void 0 : b.label) || "label"]),
|
|
180
180
|
1
|
|
181
181
|
/* TEXT */
|
|
@@ -212,7 +212,7 @@ const ye = { style: { maxheight: "200px", "word-break": "break-all" } }, xe = {
|
|
|
212
212
|
k(
|
|
213
213
|
"span",
|
|
214
214
|
{
|
|
215
|
-
style:
|
|
215
|
+
style: n(z.value)
|
|
216
216
|
},
|
|
217
217
|
m(a.errorLabel),
|
|
218
218
|
5
|
|
@@ -229,13 +229,13 @@ const ye = { style: { maxheight: "200px", "word-break": "break-all" } }, xe = {
|
|
|
229
229
|
k(
|
|
230
230
|
"div",
|
|
231
231
|
{
|
|
232
|
-
style:
|
|
232
|
+
style: n(W.value)
|
|
233
233
|
},
|
|
234
234
|
[
|
|
235
235
|
k(
|
|
236
236
|
"span",
|
|
237
237
|
{
|
|
238
|
-
style:
|
|
238
|
+
style: n(z.value)
|
|
239
239
|
},
|
|
240
240
|
m(a.errorLabel),
|
|
241
241
|
5
|
|
@@ -249,14 +249,14 @@ const ye = { style: { maxheight: "200px", "word-break": "break-all" } }, xe = {
|
|
|
249
249
|
"div",
|
|
250
250
|
{
|
|
251
251
|
key: 1,
|
|
252
|
-
style:
|
|
252
|
+
style: n(P.value),
|
|
253
253
|
class: "das-cascader-overlay-error-label-content"
|
|
254
254
|
},
|
|
255
255
|
[
|
|
256
256
|
k(
|
|
257
257
|
"span",
|
|
258
258
|
{
|
|
259
|
-
style:
|
|
259
|
+
style: n(z.value)
|
|
260
260
|
},
|
|
261
261
|
m(a.errorLabel),
|
|
262
262
|
5
|
|
@@ -284,7 +284,7 @@ const ye = { style: { maxheight: "200px", "word-break": "break-all" } }, xe = {
|
|
|
284
284
|
for (const [e, c] of V)
|
|
285
285
|
y[e] = c;
|
|
286
286
|
return y;
|
|
287
|
-
}, Be = /* @__PURE__ */ Ve(we, [["__scopeId", "data-v-156151c1"]]), ze = { 请选择: { "zh-CN": "请选择", en: "Please Select" } }, Ce = {
|
|
287
|
+
}, Be = /* @__PURE__ */ Ve(we, [["__scopeId", "data-v-156151c1"]]), ze = { 请选择: { "zh-CN": "请选择", en: "Please Select", _appCode: "framework" } }, Ce = {
|
|
288
288
|
"--das-ui-cascader-color-primary": "#5582F3",
|
|
289
289
|
// 主题色
|
|
290
290
|
"--das-ui-cascader-color-text": R("--das-ui-color-normal"),
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/color-picker/style.css';
|
|
2
|
-
import { defineComponent as S, computed as I, ref as y, openBlock as c, createElementBlock as V, createVNode as k, unref as e, mergeProps as T, isRef as z, withCtx as f, createBlock as
|
|
2
|
+
import { defineComponent as S, computed as I, ref as y, openBlock as c, createElementBlock as V, createVNode as k, unref as e, mergeProps as T, isRef as z, withCtx as f, createBlock as C, createCommentVNode as w, createElementVNode as P, normalizeClass as v, normalizeStyle as H, Fragment as x, renderList as N } from "vue";
|
|
3
3
|
import { withInstall as O } from "@das-fed/utils/with-install/index";
|
|
4
4
|
import { currentLang as $, t as F, setI18nRule as A } from "@das-fed/web/packages/i18n/index";
|
|
5
5
|
import { DasDropdown as L, DasDropdownMenu as M } from "@das-fed/ui/packages/components/dropdown/index";
|
|
@@ -11,13 +11,13 @@ import { useModelValue as g } from "@das-fed/utils/vue";
|
|
|
11
11
|
import K from "element-plus/dist/locale/zh-cn.mjs";
|
|
12
12
|
import Q from "element-plus/dist/locale/en.mjs";
|
|
13
13
|
import { setThemeRule as W } from "@das-fed/web/packages/theme/index";
|
|
14
|
-
const X = (s,
|
|
14
|
+
const X = (s, d) => {
|
|
15
15
|
const l = g(s, "modelValue"), u = g(s, "options");
|
|
16
16
|
let p = g(s, "modelValue");
|
|
17
|
-
return { innerValue: l, inputChangeHandler: (
|
|
18
|
-
p.value =
|
|
19
|
-
}, inputInputHandler: (
|
|
20
|
-
p.value =
|
|
17
|
+
return { innerValue: l, inputChangeHandler: (a) => {
|
|
18
|
+
p.value = a, d("update:modelValue", a), d("change", a);
|
|
19
|
+
}, inputInputHandler: (a) => {
|
|
20
|
+
p.value = a, d("update:modelValue", a), d("dasInput", a), d("change", a);
|
|
21
21
|
}, colorOption: u, colorPickerValue: p };
|
|
22
22
|
}, Y = {
|
|
23
23
|
class: "das-ui-color-picker",
|
|
@@ -40,24 +40,24 @@ const X = (s, t) => {
|
|
|
40
40
|
noSetDefaultVal: { type: Boolean, default: !1 }
|
|
41
41
|
},
|
|
42
42
|
emits: ["update:modelValue", "change", "dasInput"],
|
|
43
|
-
setup(s, { emit:
|
|
44
|
-
const l = s, u =
|
|
43
|
+
setup(s, { emit: d }) {
|
|
44
|
+
const l = s, u = d;
|
|
45
45
|
U({
|
|
46
46
|
fold: import("@das-fed/ui/packages/icons/fold"),
|
|
47
47
|
close2: import("@das-fed/ui/packages/icons/close-2")
|
|
48
48
|
});
|
|
49
49
|
const p = I(() => $.value === "zh-CN" ? K : Q);
|
|
50
50
|
I(() => l.placeholder || F("请输入"));
|
|
51
|
-
const { innerValue: i, inputChangeHandler: _, inputInputHandler:
|
|
52
|
-
var
|
|
53
|
-
u("change",
|
|
51
|
+
const { innerValue: i, inputChangeHandler: _, inputInputHandler: a, colorOption: o, colorPickerValue: b } = X(l, u), h = y(), m = y(!1), E = (t) => {
|
|
52
|
+
var n, r;
|
|
53
|
+
u("change", t), i.value = t, (r = (n = h.value) == null ? void 0 : n.getElRef()) == null || r.handleClose(), m.value = !1;
|
|
54
54
|
}, D = () => {
|
|
55
|
-
var
|
|
56
|
-
o.value.mode != "default" && ((
|
|
57
|
-
}, R = (
|
|
58
|
-
m.value =
|
|
55
|
+
var t, n;
|
|
56
|
+
o.value.mode != "default" && ((n = (t = h.value) == null ? void 0 : t.getElRef()) == null || n.handleOpen(), m.value = !0);
|
|
57
|
+
}, R = (t) => {
|
|
58
|
+
m.value = t;
|
|
59
59
|
};
|
|
60
|
-
return (
|
|
60
|
+
return (t, n) => (c(), V("div", Y, [
|
|
61
61
|
k(e(q), T({
|
|
62
62
|
class: ["das-color-picker-input", [
|
|
63
63
|
`das-color-picker-${e(o).size}`,
|
|
@@ -68,29 +68,29 @@ const X = (s, t) => {
|
|
|
68
68
|
{ "focus-predefine-view-cell": e(o).mode == "predefine" && m.value }
|
|
69
69
|
]],
|
|
70
70
|
modelValue: e(i),
|
|
71
|
-
"onUpdate:modelValue":
|
|
72
|
-
},
|
|
71
|
+
"onUpdate:modelValue": n[1] || (n[1] = (r) => z(i) ? i.value = r : null)
|
|
72
|
+
}, t.$attrs, {
|
|
73
73
|
isView: e(o).mode == "predefine" ? !0 : e(o).isView || l.isView,
|
|
74
74
|
disabled: e(o).disabled || l.disabled,
|
|
75
75
|
append: "",
|
|
76
76
|
onClick: D,
|
|
77
|
-
onInput: e(
|
|
77
|
+
onInput: e(a),
|
|
78
78
|
borderType: l.borderType,
|
|
79
79
|
noSetDefaultVal: e(o).mode == "predefine" && !e(o).isView && !l.isView && !e(o).disabled && !l.disabled || l.noSetDefaultVal && (e(o).isView || l.isView) && !e(i)
|
|
80
80
|
}), {
|
|
81
81
|
append: f(() => [
|
|
82
|
-
e(o).mode == "default" ? (c(),
|
|
82
|
+
e(o).mode == "default" ? (c(), C(e(G), {
|
|
83
83
|
key: 0,
|
|
84
84
|
locale: p.value
|
|
85
85
|
}, {
|
|
86
86
|
default: f(() => [
|
|
87
|
-
!e(o).isView && !l.isView || e(i) ? (c(),
|
|
87
|
+
!e(o).isView && !l.isView || e(i) ? (c(), C(e(J), {
|
|
88
88
|
key: 0,
|
|
89
89
|
locale: p.value,
|
|
90
90
|
placement: e(o).placement,
|
|
91
91
|
onChange: e(_),
|
|
92
92
|
modelValue: e(b),
|
|
93
|
-
"onUpdate:modelValue":
|
|
93
|
+
"onUpdate:modelValue": n[0] || (n[0] = (r) => z(b) ? b.value = r : null),
|
|
94
94
|
size: e(o).size,
|
|
95
95
|
"show-alpha": e(o).showAlpha,
|
|
96
96
|
"color-format": e(o).colorFormat,
|
|
@@ -102,7 +102,7 @@ const X = (s, t) => {
|
|
|
102
102
|
_: 1
|
|
103
103
|
/* STABLE */
|
|
104
104
|
}, 8, ["locale"])) : w("v-if", !0),
|
|
105
|
-
e(o).mode == "predefine" ? (c(),
|
|
105
|
+
e(o).mode == "predefine" ? (c(), C(e(L), {
|
|
106
106
|
key: 1,
|
|
107
107
|
disabled: e(o).disabled || l.disabled || e(o).isView || l.isView,
|
|
108
108
|
ref_key: "predefineDrown",
|
|
@@ -117,7 +117,7 @@ const X = (s, t) => {
|
|
|
117
117
|
P(
|
|
118
118
|
"span",
|
|
119
119
|
{
|
|
120
|
-
class:
|
|
120
|
+
class: v([
|
|
121
121
|
"color-predefine-icon",
|
|
122
122
|
e(o).size,
|
|
123
123
|
e(i) && e(i) != "-",
|
|
@@ -144,7 +144,7 @@ const X = (s, t) => {
|
|
|
144
144
|
x,
|
|
145
145
|
null,
|
|
146
146
|
N(e(o).predefine, (r, B) => (c(), V("div", {
|
|
147
|
-
class:
|
|
147
|
+
class: v(["color-predefine-span", { active: e(i) == r }]),
|
|
148
148
|
key: B,
|
|
149
149
|
style: H("background-color:" + r),
|
|
150
150
|
onClick: (re) => E(r)
|
|
@@ -169,7 +169,7 @@ const X = (s, t) => {
|
|
|
169
169
|
"span",
|
|
170
170
|
{
|
|
171
171
|
key: 0,
|
|
172
|
-
class:
|
|
172
|
+
class: v(["predefine-placeholder", { "padding-l": l.borderType == "bordered" }]),
|
|
173
173
|
onClick: D
|
|
174
174
|
},
|
|
175
175
|
"请选择",
|
|
@@ -178,24 +178,24 @@ const X = (s, t) => {
|
|
|
178
178
|
)) : w("v-if", !0)
|
|
179
179
|
]));
|
|
180
180
|
}
|
|
181
|
-
}), le = (s,
|
|
181
|
+
}), le = (s, d) => {
|
|
182
182
|
const l = s.__vccOpts || s;
|
|
183
|
-
for (const [u, p] of
|
|
183
|
+
for (const [u, p] of d)
|
|
184
184
|
l[u] = p;
|
|
185
185
|
return l;
|
|
186
|
-
}, ie = /* @__PURE__ */ le(oe, [["__scopeId", "data-v-b55c259b"]]),
|
|
186
|
+
}, ie = /* @__PURE__ */ le(oe, [["__scopeId", "data-v-b55c259b"]]), ae = {
|
|
187
187
|
"--demo-alert-bg": {
|
|
188
188
|
light: "#fff",
|
|
189
189
|
dark: "rgba(255,255,255,.2)"
|
|
190
190
|
},
|
|
191
191
|
"--das-ui-color-picker-primary": "#5582F3"
|
|
192
192
|
// 主题色
|
|
193
|
-
},
|
|
194
|
-
A(
|
|
195
|
-
W(
|
|
196
|
-
const ke = () => y(null),
|
|
193
|
+
}, ne = { 请输入: { "zh-CN": "请输入", en: "Please Enter", _appCode: "framework" } };
|
|
194
|
+
A(ne);
|
|
195
|
+
W(ae);
|
|
196
|
+
const ke = () => y(null), Ce = O(ie);
|
|
197
197
|
export {
|
|
198
|
-
|
|
198
|
+
Ce as DasColorPicker,
|
|
199
199
|
ke as DasColorPickerRef,
|
|
200
|
-
|
|
200
|
+
Ce as default
|
|
201
201
|
};
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/custom-search-item/style.css';
|
|
2
|
-
import { defineComponent as f, ref as u, watchEffect as h, watch as v, openBlock as b, createElementBlock as g, createElementVNode as i, normalizeStyle as y, toDisplayString as c, createVNode as V, unref as d, mergeProps as
|
|
3
|
-
import { withInstall as
|
|
4
|
-
import { t as
|
|
2
|
+
import { defineComponent as f, ref as u, watchEffect as h, watch as v, openBlock as b, createElementBlock as g, createElementVNode as i, normalizeStyle as y, toDisplayString as c, createVNode as V, unref as d, mergeProps as C, normalizeClass as I, renderSlot as w } from "vue";
|
|
3
|
+
import { withInstall as P } from "@das-fed/utils/with-install/index";
|
|
4
|
+
import { t as S, setI18nRule as _ } from "@das-fed/web/packages/i18n/index";
|
|
5
5
|
import { DasRadio as k } from "@das-fed/ui/packages/components/radio/index";
|
|
6
6
|
import { setThemeRule as D } from "@das-fed/web/packages/theme/index";
|
|
7
7
|
const R = { class: "das-ui-custom-search-item" }, z = /* @__PURE__ */ f({
|
|
@@ -19,8 +19,8 @@ const R = { class: "das-ui-custom-search-item" }, z = /* @__PURE__ */ f({
|
|
|
19
19
|
labelPosition: {}
|
|
20
20
|
},
|
|
21
21
|
emits: ["change", "update:modelValue"],
|
|
22
|
-
setup(l, { emit:
|
|
23
|
-
const o = l, s =
|
|
22
|
+
setup(l, { emit: n }) {
|
|
23
|
+
const o = l, s = n, t = u();
|
|
24
24
|
h(() => {
|
|
25
25
|
t.value = o.modelValue;
|
|
26
26
|
}), v(t, (e) => {
|
|
@@ -28,13 +28,13 @@ const R = { class: "das-ui-custom-search-item" }, z = /* @__PURE__ */ f({
|
|
|
28
28
|
});
|
|
29
29
|
const m = () => {
|
|
30
30
|
s("change", t.value);
|
|
31
|
-
}, p = u(((e,
|
|
32
|
-
if (
|
|
31
|
+
}, p = u(((e, r) => {
|
|
32
|
+
if (r === "top")
|
|
33
33
|
return "fit-content";
|
|
34
34
|
let a = 4;
|
|
35
35
|
return typeof e == "string" ? a = parseInt(e) : typeof e == "number" && (a = e), `${a * 12}px`;
|
|
36
36
|
})(o.labelLength, o.labelPosition));
|
|
37
|
-
return (e,
|
|
37
|
+
return (e, r) => (b(), g("div", R, [
|
|
38
38
|
i(
|
|
39
39
|
"div",
|
|
40
40
|
{
|
|
@@ -45,9 +45,9 @@ const R = { class: "das-ui-custom-search-item" }, z = /* @__PURE__ */ f({
|
|
|
45
45
|
5
|
|
46
46
|
/* TEXT, STYLE */
|
|
47
47
|
),
|
|
48
|
-
V(d(k),
|
|
48
|
+
V(d(k), C({
|
|
49
49
|
modelValue: t.value,
|
|
50
|
-
"onUpdate:modelValue":
|
|
50
|
+
"onUpdate:modelValue": r[0] || (r[0] = (a) => t.value = a),
|
|
51
51
|
optionType: "filterSquare",
|
|
52
52
|
radioType: "group",
|
|
53
53
|
options: e.options,
|
|
@@ -57,18 +57,18 @@ const R = { class: "das-ui-custom-search-item" }, z = /* @__PURE__ */ f({
|
|
|
57
57
|
i(
|
|
58
58
|
"span",
|
|
59
59
|
{
|
|
60
|
-
class:
|
|
60
|
+
class: I(["custom-label", { active: e.customerActive }])
|
|
61
61
|
},
|
|
62
|
-
c(d(
|
|
62
|
+
c(d(S)("自定义")),
|
|
63
63
|
3
|
|
64
64
|
/* TEXT, CLASS */
|
|
65
65
|
),
|
|
66
|
-
|
|
66
|
+
w(e.$slots, "default", {}, void 0, !0)
|
|
67
67
|
]));
|
|
68
68
|
}
|
|
69
|
-
}), B = (l,
|
|
69
|
+
}), B = (l, n) => {
|
|
70
70
|
const o = l.__vccOpts || l;
|
|
71
|
-
for (const [s, t] of
|
|
71
|
+
for (const [s, t] of n)
|
|
72
72
|
o[s] = t;
|
|
73
73
|
return o;
|
|
74
74
|
}, E = /* @__PURE__ */ B(z, [["__scopeId", "data-v-5f3baa4f"]]), N = {
|
|
@@ -76,10 +76,10 @@ const R = { class: "das-ui-custom-search-item" }, z = /* @__PURE__ */ f({
|
|
|
76
76
|
light: "#fff",
|
|
77
77
|
dark: "rgba(255,255,255,.2)"
|
|
78
78
|
}
|
|
79
|
-
}, T = { 自定义: { "zh-CN": "自定义", en: "Custom" } };
|
|
79
|
+
}, T = { 自定义: { "zh-CN": "自定义", en: "Custom", _appCode: "framework" } };
|
|
80
80
|
_(T);
|
|
81
81
|
D(N);
|
|
82
|
-
const U = () => u(null), j =
|
|
82
|
+
const U = () => u(null), j = P(E);
|
|
83
83
|
export {
|
|
84
84
|
j as DasCustomSearchItem,
|
|
85
85
|
U as DasCustomSearchItemRef,
|
|
Binary file
|
|
@@ -2,14 +2,17 @@ declare const _default: {
|
|
|
2
2
|
开始日期: {
|
|
3
3
|
'zh-CN': string;
|
|
4
4
|
en: string;
|
|
5
|
+
_appCode: string;
|
|
5
6
|
};
|
|
6
7
|
结束日期: {
|
|
7
8
|
'zh-CN': string;
|
|
8
9
|
en: string;
|
|
10
|
+
_appCode: string;
|
|
9
11
|
};
|
|
10
12
|
请选择日期: {
|
|
11
13
|
'zh-CN': string;
|
|
12
14
|
en: string;
|
|
15
|
+
_appCode: string;
|
|
13
16
|
};
|
|
14
17
|
};
|
|
15
18
|
export default _default;
|