@das-fed/ui 6.4.0-beta.7 → 6.4.0-dev.10

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.
Files changed (39) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/device-panel/index.js +10094 -9817
  3. package/packages/business-components/device-panel/index.js.gz +0 -0
  4. package/packages/business-components/export-button/index.js +432 -152
  5. package/packages/business-components/export-button/index.js.gz +0 -0
  6. package/packages/business-components/import-button/index.js +603 -323
  7. package/packages/business-components/import-button/index.js.gz +0 -0
  8. package/packages/business-components/process-form/index.js +1122 -841
  9. package/packages/business-components/process-form/index.js.gz +0 -0
  10. package/packages/business-components/process-log/index.js +1758 -1477
  11. package/packages/business-components/process-log/index.js.gz +0 -0
  12. package/packages/business-components/process-search-form/index.js +719 -439
  13. package/packages/business-components/process-search-form/index.js.gz +0 -0
  14. package/packages/business-components/process-table/index.js +819 -538
  15. package/packages/business-components/process-table/index.js.gz +0 -0
  16. package/packages/business-components/urgent-panel/index.js +1969 -1691
  17. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  18. package/packages/business-components/video-dialog/index.js +619 -338
  19. package/packages/business-components/video-dialog/index.js.gz +0 -0
  20. package/packages/components/calendar/index.js +614 -257
  21. package/packages/components/calendar/index.js.gz +0 -0
  22. package/packages/components/date-picker/index.js +6025 -5129
  23. package/packages/components/date-picker/index.js.gz +0 -0
  24. package/packages/components/image-viewer/index.d.ts +0 -9
  25. package/packages/components/image-viewer/index.js +29 -34
  26. package/packages/components/image-viewer/index.js.gz +0 -0
  27. package/packages/components/image-viewer/src/Index.vue.d.ts +0 -3
  28. package/packages/components/image-viewer/src/hooks/use-handler-image-src.d.ts +1 -2
  29. package/packages/components/image-viewer/src/type.d.ts +0 -3
  30. package/packages/components/image-viewer/style.css +1 -1
  31. package/packages/components/image-viewer/style.css.gz +0 -0
  32. package/packages/components/search-form/index.js +11 -13
  33. package/packages/components/search-form/index.js.gz +0 -0
  34. package/packages/components/table/index.js +127 -127
  35. package/packages/components/table/index.js.gz +0 -0
  36. package/packages/components/tree/index.js +70 -70
  37. package/packages/components/tree/index.js.gz +0 -0
  38. package/packages/components/tree-select/index.js +30 -29
  39. package/packages/components/tree-select/index.js.gz +0 -0
@@ -108,10 +108,6 @@ 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
- };
115
111
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
116
112
  "update:modelValue": (val: string) => void;
117
113
  "update:status": (val: string) => void;
@@ -228,10 +224,6 @@ declare const DasImageViewer: import("@das-fed/utils").SFCWithInstall<import("vu
228
224
  type: import("vue").PropType<boolean>;
229
225
  default: boolean;
230
226
  };
231
- useOriginUrl: {
232
- type: import("vue").PropType<boolean>;
233
- default: boolean;
234
- };
235
227
  }>> & {
236
228
  "onUpdate:modelValue"?: ((val: string) => any) | undefined;
237
229
  "onUpdate:status"?: ((val: string) => any) | undefined;
@@ -259,7 +251,6 @@ declare const DasImageViewer: import("@das-fed/utils").SFCWithInstall<import("vu
259
251
  needChangeBtn: boolean;
260
252
  imageFit: "" | "fill" | "contain" | "cover" | "none" | "scale-down";
261
253
  randomName: boolean;
262
- useOriginUrl: boolean;
263
254
  }, {}>>;
264
255
  export { useCalculateSize } from './src/hooks/use-calculateSize';
265
256
  export { minioUpload } from './src/hooks/minioUpload';
@@ -3027,7 +3027,10 @@ var sa = (
3027
3027
  }, t;
3028
3028
  }()
3029
3029
  );
3030
- const Gy = Ri({
3030
+ function Gy(t) {
3031
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3032
+ }
3033
+ const Yy = Ri({
3031
3034
  urlList: {
3032
3035
  type: Cr(Array),
3033
3036
  default: () => Qs([])
@@ -3061,16 +3064,16 @@ const Gy = Ri({
3061
3064
  type: Number,
3062
3065
  default: 7
3063
3066
  }
3064
- }), Yy = {
3067
+ }), Qy = {
3065
3068
  close: () => !0,
3066
3069
  switch: (t) => nn(t),
3067
3070
  rotate: (t) => nn(t)
3068
- }, Qy = ["src"], Ky = Q({
3071
+ }, Ky = ["src"], Xy = Q({
3069
3072
  name: "ElImageViewer"
3070
- }), Xy = /* @__PURE__ */ Q({
3071
- ...Ky,
3072
- props: Gy,
3073
- emits: Yy,
3073
+ }), Jy = /* @__PURE__ */ Q({
3074
+ ...Xy,
3075
+ props: Yy,
3076
+ emits: Qy,
3074
3077
  setup(t, { expose: e, emit: n }) {
3075
3078
  const r = t, a = {
3076
3079
  CONTAIN: {
@@ -3367,7 +3370,7 @@ const Gy = Ri({
3367
3370
  onLoad: N,
3368
3371
  onError: I,
3369
3372
  onMousedown: j
3370
- }, null, 46, Qy)), [
3373
+ }, null, 46, Ky)), [
3371
3374
  [we, z === c.value]
3372
3375
  ])), 128))
3373
3376
  ], 2),
@@ -3379,8 +3382,8 @@ const Gy = Ri({
3379
3382
  ], 8, ["disabled"]));
3380
3383
  }
3381
3384
  });
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({
3385
+ var Zy = /* @__PURE__ */ Li(Jy, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/image-viewer/src/image-viewer.vue"]]);
3386
+ const ec = Di(Zy), eb = Ri({
3384
3387
  hideOnClickModal: Boolean,
3385
3388
  src: {
3386
3389
  type: String,
@@ -3431,19 +3434,19 @@ const ec = Di(Jy), Zy = Ri({
3431
3434
  type: Number,
3432
3435
  default: 7
3433
3436
  }
3434
- }), eb = {
3437
+ }), tb = {
3435
3438
  load: (t) => t instanceof Event,
3436
3439
  error: (t) => t instanceof Event,
3437
3440
  switch: (t) => nn(t),
3438
3441
  close: () => !0,
3439
3442
  show: () => !0
3440
- }, tb = ["src", "loading"], nb = { key: 0 }, rb = Q({
3443
+ }, nb = ["src", "loading"], rb = { key: 0 }, ab = Q({
3441
3444
  name: "ElImage",
3442
3445
  inheritAttrs: !1
3443
- }), ab = /* @__PURE__ */ Q({
3444
- ...rb,
3445
- props: Zy,
3446
- emits: eb,
3446
+ }), ib = /* @__PURE__ */ Q({
3447
+ ...ab,
3448
+ props: eb,
3449
+ emits: tb,
3447
3450
  setup(t, { emit: e }) {
3448
3451
  const n = t;
3449
3452
  let r = "";
@@ -3529,7 +3532,7 @@ const ec = Di(Jy), Zy = Ri({
3529
3532
  onClick: B,
3530
3533
  onLoad: F,
3531
3534
  onError: P
3532
- }), null, 16, tb)) : oe("v-if", !0),
3535
+ }), null, 16, nb)) : oe("v-if", !0),
3533
3536
  d.value ? (J(), te("div", {
3534
3537
  key: 1,
3535
3538
  class: ve($(i).e("wrapper"))
@@ -3558,7 +3561,7 @@ const ec = Di(Jy), Zy = Ri({
3558
3561
  onSwitch: D
3559
3562
  }, {
3560
3563
  default: Ae(() => [
3561
- k.$slots.viewer ? (J(), te("div", nb, [
3564
+ k.$slots.viewer ? (J(), te("div", rb, [
3562
3565
  wn(k.$slots, "viewer")
3563
3566
  ])) : oe("v-if", !0)
3564
3567
  ]),
@@ -3568,11 +3571,8 @@ const ec = Di(Jy), Zy = Ri({
3568
3571
  ], 6));
3569
3572
  }
3570
3573
  });
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
- }
3574
+ var ob = /* @__PURE__ */ Li(ib, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/image/src/image.vue"]]);
3575
+ const bl = Di(ob);
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__ */ ob(Sw);
6236
+ const Te = /* @__PURE__ */ Gy(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,12 +12854,8 @@ const Ea = Q({
12854
12854
  B: 1
12855
12855
  };
12856
12856
  return { finalSize: n * i[r], sizeText: e };
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) => {
12857
+ } }), wO = () => ({ handlerImageSrc: (e, n) => n.startsWith("http") ? n : e + fd(n) }), CO = (t, e) => {
12858
+ const n = ud(), r = Eo(t, "modelValue"), a = Eo(t, "status"), { upload: i } = yO(t), { size2B: o } = bO(), { handlerImageSrc: l } = wO(), 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) => {
12863
12859
  if (I) {
12864
12860
  const j = I.substring(I.lastIndexOf(".")).toLowerCase();
12865
12861
  if (u.includes(j)) return "isVideo";
@@ -13025,7 +13021,7 @@ const OO = (t) => {
13025
13021
  previewBtns: n.value
13026
13022
  });
13027
13023
  } };
13028
- }, Lf = (t) => (id("data-v-3981283e"), t = t(), od(), t), PO = {
13024
+ }, Lf = (t) => (id("data-v-d82123c2"), t = t(), od(), t), PO = {
13029
13025
  key: 0,
13030
13026
  class: "das-ui-image-viewer-container"
13031
13027
  }, SO = {
@@ -13086,8 +13082,7 @@ const OO = (t) => {
13086
13082
  message: {},
13087
13083
  videoWidth: {},
13088
13084
  videoHeight: {},
13089
- randomName: { type: Boolean, default: !1 },
13090
- useOriginUrl: { type: Boolean, default: !1 }
13085
+ randomName: { type: Boolean, default: !1 }
13091
13086
  },
13092
13087
  emits: ["update:modelValue", "update:status", "downloadImage", "image-upload", "upload-success", "deleteImage"],
13093
13088
  setup(t, { emit: e }) {
@@ -13350,7 +13345,7 @@ const OO = (t) => {
13350
13345
  for (const [r, a] of e)
13351
13346
  n[r] = a;
13352
13347
  return n;
13353
- }, LO = /* @__PURE__ */ NO(DO, [["__scopeId", "data-v-3981283e"]]), BO = {
13348
+ }, LO = /* @__PURE__ */ NO(DO, [["__scopeId", "data-v-d82123c2"]]), BO = {
13354
13349
  "--das-ui-image-viewer-bg-color": { light: "rgba(0, 0, 0, 0.5)" },
13355
13350
  "--das-ui-image-viewer-btn-hover": { light: "#87A9FF" },
13356
13351
  "--das-ui-image-viewer-btn-active": { light: "#276FF5" }
@@ -15,7 +15,6 @@ 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;
19
18
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
19
  "update:modelValue": (val: string) => void;
21
20
  "update:status": (val: string) => void;
@@ -37,7 +36,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
37
36
  minioTokenApi: string;
38
37
  imageFit: string;
39
38
  randomName: boolean;
40
- useOriginUrl: boolean;
41
39
  }>>> & {
42
40
  "onUpdate:modelValue"?: ((val: string) => any) | undefined;
43
41
  "onUpdate:status"?: ((val: string) => any) | undefined;
@@ -65,7 +63,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
65
63
  needChangeBtn: boolean;
66
64
  imageFit: "" | "fill" | "contain" | "cover" | "none" | "scale-down";
67
65
  randomName: boolean;
68
- useOriginUrl: boolean;
69
66
  }, {}>;
70
67
  export default _default;
71
68
  type __VLS_WithDefaults<P, D> = {
@@ -1,5 +1,4 @@
1
- import type { Props } from '../type';
2
1
  /** 处理图片路径 */
3
- export declare const useHandlerImageSrc: (props: Props) => {
2
+ export declare const useHandlerImageSrc: () => {
4
3
  handlerImageSrc: (baseURL: string, imageSrc: string) => string;
5
4
  };
@@ -98,9 +98,6 @@ export type Props = {
98
98
 
99
99
 
100
100
  randomName?: boolean
101
-
102
-
103
- useOriginUrl?: boolean
104
101
  }
105
102
 
106
103
  export interface Emits {