@das-fed/ui 6.4.0-beta.6 → 6.4.0-beta.7
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 +9817 -10094
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/export-button/index.js +152 -432
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +323 -603
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +841 -1122
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/index.js +1477 -1758
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.d.ts +34 -0
- package/packages/business-components/process-search-form/index.js +527 -739
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/src/type.d.ts +28 -0
- package/packages/business-components/process-table/hooks/useProcessTable.d.ts +32 -32
- package/packages/business-components/process-table/hooks/useValueFormatter.d.ts +5 -0
- package/packages/business-components/process-table/index.d.ts +401 -191
- package/packages/business-components/process-table/index.js +625 -708
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/process-table/src/App.vue.d.ts +11 -1
- package/packages/business-components/process-table/style.css +1 -1
- package/packages/business-components/urgent-panel/index.js +1691 -1969
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.js +338 -619
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/calendar/index.js +257 -614
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +5129 -6025
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/image-viewer/index.d.ts +9 -0
- package/packages/components/image-viewer/index.js +34 -29
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/image-viewer/src/Index.vue.d.ts +3 -0
- package/packages/components/image-viewer/src/hooks/use-handler-image-src.d.ts +2 -1
- package/packages/components/image-viewer/src/type.d.ts +3 -0
- package/packages/components/image-viewer/style.css +1 -1
- package/packages/components/image-viewer/style.css.gz +0 -0
- package/packages/components/search-form/index.js +19 -17
- 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/table/index.js +12306 -8626
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +2 -2
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tree/index.js +1802 -1799
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +11 -6
- package/packages/components/tree-select/index.js +29 -30
- package/packages/components/tree-select/index.js.gz +0 -0
|
Binary file
|
|
@@ -108,6 +108,10 @@ declare const DasImageViewer: import("@das-fed/utils").SFCWithInstall<import("vu
|
|
|
108
108
|
type: import("vue").PropType<boolean>;
|
|
109
109
|
default: boolean;
|
|
110
110
|
};
|
|
111
|
+
useOriginUrl: {
|
|
112
|
+
type: import("vue").PropType<boolean>;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
111
115
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
112
116
|
"update:modelValue": (val: string) => void;
|
|
113
117
|
"update:status": (val: string) => void;
|
|
@@ -224,6 +228,10 @@ declare const DasImageViewer: import("@das-fed/utils").SFCWithInstall<import("vu
|
|
|
224
228
|
type: import("vue").PropType<boolean>;
|
|
225
229
|
default: boolean;
|
|
226
230
|
};
|
|
231
|
+
useOriginUrl: {
|
|
232
|
+
type: import("vue").PropType<boolean>;
|
|
233
|
+
default: boolean;
|
|
234
|
+
};
|
|
227
235
|
}>> & {
|
|
228
236
|
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
229
237
|
"onUpdate:status"?: ((val: string) => any) | undefined;
|
|
@@ -251,6 +259,7 @@ declare const DasImageViewer: import("@das-fed/utils").SFCWithInstall<import("vu
|
|
|
251
259
|
needChangeBtn: boolean;
|
|
252
260
|
imageFit: "" | "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
253
261
|
randomName: boolean;
|
|
262
|
+
useOriginUrl: boolean;
|
|
254
263
|
}, {}>>;
|
|
255
264
|
export { useCalculateSize } from './src/hooks/use-calculateSize';
|
|
256
265
|
export { minioUpload } from './src/hooks/minioUpload';
|
|
@@ -3027,10 +3027,7 @@ var sa = (
|
|
|
3027
3027
|
}, t;
|
|
3028
3028
|
}()
|
|
3029
3029
|
);
|
|
3030
|
-
|
|
3031
|
-
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
3032
|
-
}
|
|
3033
|
-
const Yy = Ri({
|
|
3030
|
+
const Gy = Ri({
|
|
3034
3031
|
urlList: {
|
|
3035
3032
|
type: Cr(Array),
|
|
3036
3033
|
default: () => Qs([])
|
|
@@ -3064,16 +3061,16 @@ const Yy = Ri({
|
|
|
3064
3061
|
type: Number,
|
|
3065
3062
|
default: 7
|
|
3066
3063
|
}
|
|
3067
|
-
}),
|
|
3064
|
+
}), Yy = {
|
|
3068
3065
|
close: () => !0,
|
|
3069
3066
|
switch: (t) => nn(t),
|
|
3070
3067
|
rotate: (t) => nn(t)
|
|
3071
|
-
},
|
|
3068
|
+
}, Qy = ["src"], Ky = Q({
|
|
3072
3069
|
name: "ElImageViewer"
|
|
3073
|
-
}),
|
|
3074
|
-
...
|
|
3075
|
-
props:
|
|
3076
|
-
emits:
|
|
3070
|
+
}), Xy = /* @__PURE__ */ Q({
|
|
3071
|
+
...Ky,
|
|
3072
|
+
props: Gy,
|
|
3073
|
+
emits: Yy,
|
|
3077
3074
|
setup(t, { expose: e, emit: n }) {
|
|
3078
3075
|
const r = t, a = {
|
|
3079
3076
|
CONTAIN: {
|
|
@@ -3370,7 +3367,7 @@ const Yy = Ri({
|
|
|
3370
3367
|
onLoad: N,
|
|
3371
3368
|
onError: I,
|
|
3372
3369
|
onMousedown: j
|
|
3373
|
-
}, null, 46,
|
|
3370
|
+
}, null, 46, Qy)), [
|
|
3374
3371
|
[we, z === c.value]
|
|
3375
3372
|
])), 128))
|
|
3376
3373
|
], 2),
|
|
@@ -3382,8 +3379,8 @@ const Yy = Ri({
|
|
|
3382
3379
|
], 8, ["disabled"]));
|
|
3383
3380
|
}
|
|
3384
3381
|
});
|
|
3385
|
-
var
|
|
3386
|
-
const ec = Di(
|
|
3382
|
+
var Jy = /* @__PURE__ */ Li(Xy, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/image-viewer/src/image-viewer.vue"]]);
|
|
3383
|
+
const ec = Di(Jy), Zy = Ri({
|
|
3387
3384
|
hideOnClickModal: Boolean,
|
|
3388
3385
|
src: {
|
|
3389
3386
|
type: String,
|
|
@@ -3434,19 +3431,19 @@ const ec = Di(Zy), eb = Ri({
|
|
|
3434
3431
|
type: Number,
|
|
3435
3432
|
default: 7
|
|
3436
3433
|
}
|
|
3437
|
-
}),
|
|
3434
|
+
}), eb = {
|
|
3438
3435
|
load: (t) => t instanceof Event,
|
|
3439
3436
|
error: (t) => t instanceof Event,
|
|
3440
3437
|
switch: (t) => nn(t),
|
|
3441
3438
|
close: () => !0,
|
|
3442
3439
|
show: () => !0
|
|
3443
|
-
},
|
|
3440
|
+
}, tb = ["src", "loading"], nb = { key: 0 }, rb = Q({
|
|
3444
3441
|
name: "ElImage",
|
|
3445
3442
|
inheritAttrs: !1
|
|
3446
|
-
}),
|
|
3447
|
-
...
|
|
3448
|
-
props:
|
|
3449
|
-
emits:
|
|
3443
|
+
}), ab = /* @__PURE__ */ Q({
|
|
3444
|
+
...rb,
|
|
3445
|
+
props: Zy,
|
|
3446
|
+
emits: eb,
|
|
3450
3447
|
setup(t, { emit: e }) {
|
|
3451
3448
|
const n = t;
|
|
3452
3449
|
let r = "";
|
|
@@ -3532,7 +3529,7 @@ const ec = Di(Zy), eb = Ri({
|
|
|
3532
3529
|
onClick: B,
|
|
3533
3530
|
onLoad: F,
|
|
3534
3531
|
onError: P
|
|
3535
|
-
}), null, 16,
|
|
3532
|
+
}), null, 16, tb)) : oe("v-if", !0),
|
|
3536
3533
|
d.value ? (J(), te("div", {
|
|
3537
3534
|
key: 1,
|
|
3538
3535
|
class: ve($(i).e("wrapper"))
|
|
@@ -3561,7 +3558,7 @@ const ec = Di(Zy), eb = Ri({
|
|
|
3561
3558
|
onSwitch: D
|
|
3562
3559
|
}, {
|
|
3563
3560
|
default: Ae(() => [
|
|
3564
|
-
k.$slots.viewer ? (J(), te("div",
|
|
3561
|
+
k.$slots.viewer ? (J(), te("div", nb, [
|
|
3565
3562
|
wn(k.$slots, "viewer")
|
|
3566
3563
|
])) : oe("v-if", !0)
|
|
3567
3564
|
]),
|
|
@@ -3571,8 +3568,11 @@ const ec = Di(Zy), eb = Ri({
|
|
|
3571
3568
|
], 6));
|
|
3572
3569
|
}
|
|
3573
3570
|
});
|
|
3574
|
-
var
|
|
3575
|
-
const bl = Di(
|
|
3571
|
+
var ib = /* @__PURE__ */ Li(ab, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/image/src/image.vue"]]);
|
|
3572
|
+
const bl = Di(ib);
|
|
3573
|
+
function ob(t) {
|
|
3574
|
+
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
3575
|
+
}
|
|
3576
3576
|
function se(t) {
|
|
3577
3577
|
"@babel/helpers - typeof";
|
|
3578
3578
|
return se = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -6233,7 +6233,7 @@ try {
|
|
|
6233
6233
|
} catch {
|
|
6234
6234
|
typeof globalThis == "object" ? globalThis.regeneratorRuntime = pr : Function("r", "regeneratorRuntime = r")(pr);
|
|
6235
6235
|
}
|
|
6236
|
-
const Te = /* @__PURE__ */
|
|
6236
|
+
const Te = /* @__PURE__ */ ob(Sw);
|
|
6237
6237
|
var Aw = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" } }, { tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, name: "check-circle", theme: "outlined" };
|
|
6238
6238
|
function Xl(t) {
|
|
6239
6239
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -12854,8 +12854,12 @@ const Ea = Q({
|
|
|
12854
12854
|
B: 1
|
|
12855
12855
|
};
|
|
12856
12856
|
return { finalSize: n * i[r], sizeText: e };
|
|
12857
|
-
} }), wO = () => ({ handlerImageSrc: (
|
|
12858
|
-
|
|
12857
|
+
} }), wO = (t) => ({ handlerImageSrc: (n, r) => {
|
|
12858
|
+
if (r.startsWith("http")) return r;
|
|
12859
|
+
const a = t.useOriginUrl ? r : fd(r);
|
|
12860
|
+
return n + a;
|
|
12861
|
+
} }), CO = (t, e) => {
|
|
12862
|
+
const n = ud(), r = Eo(t, "modelValue"), a = Eo(t, "status"), { upload: i } = yO(t), { size2B: o } = bO(), { handlerImageSrc: l } = wO(t), u = [".mp4", ".avi", ".mkv", ".mov", ".wmv", ".flv", ".mpeg", ".webm"], s = [".mp3", ".wav", ".aac", ".flac", ".ogg", ".alff", ".wma", ".m4a"], d = R(() => t.baseUrl ? t.baseUrl : process.env.NODE_ENV === "production" ? "" : n.baseURL || ""), f = (I) => {
|
|
12859
12863
|
if (I) {
|
|
12860
12864
|
const j = I.substring(I.lastIndexOf(".")).toLowerCase();
|
|
12861
12865
|
if (u.includes(j)) return "isVideo";
|
|
@@ -13021,7 +13025,7 @@ const OO = (t) => {
|
|
|
13021
13025
|
previewBtns: n.value
|
|
13022
13026
|
});
|
|
13023
13027
|
} };
|
|
13024
|
-
}, Lf = (t) => (id("data-v-
|
|
13028
|
+
}, Lf = (t) => (id("data-v-3981283e"), t = t(), od(), t), PO = {
|
|
13025
13029
|
key: 0,
|
|
13026
13030
|
class: "das-ui-image-viewer-container"
|
|
13027
13031
|
}, SO = {
|
|
@@ -13082,7 +13086,8 @@ const OO = (t) => {
|
|
|
13082
13086
|
message: {},
|
|
13083
13087
|
videoWidth: {},
|
|
13084
13088
|
videoHeight: {},
|
|
13085
|
-
randomName: { type: Boolean, default: !1 }
|
|
13089
|
+
randomName: { type: Boolean, default: !1 },
|
|
13090
|
+
useOriginUrl: { type: Boolean, default: !1 }
|
|
13086
13091
|
},
|
|
13087
13092
|
emits: ["update:modelValue", "update:status", "downloadImage", "image-upload", "upload-success", "deleteImage"],
|
|
13088
13093
|
setup(t, { emit: e }) {
|
|
@@ -13345,7 +13350,7 @@ const OO = (t) => {
|
|
|
13345
13350
|
for (const [r, a] of e)
|
|
13346
13351
|
n[r] = a;
|
|
13347
13352
|
return n;
|
|
13348
|
-
}, LO = /* @__PURE__ */ NO(DO, [["__scopeId", "data-v-
|
|
13353
|
+
}, LO = /* @__PURE__ */ NO(DO, [["__scopeId", "data-v-3981283e"]]), BO = {
|
|
13349
13354
|
"--das-ui-image-viewer-bg-color": { light: "rgba(0, 0, 0, 0.5)" },
|
|
13350
13355
|
"--das-ui-image-viewer-btn-hover": { light: "#87A9FF" },
|
|
13351
13356
|
"--das-ui-image-viewer-btn-active": { light: "#276FF5" }
|
|
Binary file
|
|
@@ -15,6 +15,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
15
15
|
minioTokenApi: string;
|
|
16
16
|
imageFit: string;
|
|
17
17
|
randomName: boolean;
|
|
18
|
+
useOriginUrl: boolean;
|
|
18
19
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
20
|
"update:modelValue": (val: string) => void;
|
|
20
21
|
"update:status": (val: string) => void;
|
|
@@ -36,6 +37,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
36
37
|
minioTokenApi: string;
|
|
37
38
|
imageFit: string;
|
|
38
39
|
randomName: boolean;
|
|
40
|
+
useOriginUrl: boolean;
|
|
39
41
|
}>>> & {
|
|
40
42
|
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
41
43
|
"onUpdate:status"?: ((val: string) => any) | undefined;
|
|
@@ -63,6 +65,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
63
65
|
needChangeBtn: boolean;
|
|
64
66
|
imageFit: "" | "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
65
67
|
randomName: boolean;
|
|
68
|
+
useOriginUrl: boolean;
|
|
66
69
|
}, {}>;
|
|
67
70
|
export default _default;
|
|
68
71
|
type __VLS_WithDefaults<P, D> = {
|