@das-fed/ui 6.4.0-dev.51 → 6.4.0-dev.53

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 (187) hide show
  1. package/esm-map.json +3 -1
  2. package/i18n-collection/en.js +426 -425
  3. package/i18n-collection/zh-CN.js +437 -437
  4. package/package.json +5 -5
  5. package/packages/business-components/change-enterprises/i18n/index.d.ts +15 -0
  6. package/packages/business-components/change-enterprises/index.js +51 -45
  7. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  8. package/packages/business-components/change-pwd/i18n/index.d.ts +77 -1
  9. package/packages/business-components/change-pwd/index.js +118 -99
  10. package/packages/business-components/change-pwd/index.js.gz +0 -0
  11. package/packages/business-components/currency-page/i18n/index.d.ts +19 -0
  12. package/packages/business-components/currency-page/index.js +27 -20
  13. package/packages/business-components/currency-page/index.js.gz +0 -0
  14. package/packages/business-components/device-panel/i18n/index.d.ts +767 -0
  15. package/packages/business-components/device-panel/index.js +4961 -4767
  16. package/packages/business-components/device-panel/index.js.gz +0 -0
  17. package/packages/business-components/device-panel/style.css +1 -1
  18. package/packages/business-components/device-panel/style.css.gz +0 -0
  19. package/packages/business-components/export-button/i18n/index.d.ts +51 -0
  20. package/packages/business-components/export-button/index.js +117 -102
  21. package/packages/business-components/export-button/index.js.gz +0 -0
  22. package/packages/business-components/import-button/i18n/index.d.ts +103 -0
  23. package/packages/business-components/import-button/index.js +220 -192
  24. package/packages/business-components/import-button/index.js.gz +0 -0
  25. package/packages/business-components/model-table-dialog/i18n/index.d.ts +27 -0
  26. package/packages/business-components/model-table-dialog/index.js +663 -660
  27. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  28. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +48 -16
  29. package/packages/business-components/model-table-dialog/style.css +1 -1
  30. package/packages/business-components/model-table-dialog/style.css.gz +0 -0
  31. package/packages/business-components/process-configuration/i18n/index.d.ts +114 -1
  32. package/packages/business-components/process-configuration/index.js +158 -130
  33. package/packages/business-components/process-configuration/index.js.gz +0 -0
  34. package/packages/business-components/process-form/api-service/formPreView.d.ts +7 -0
  35. package/packages/business-components/process-form/apis.d.ts +1 -0
  36. package/packages/business-components/process-form/i18n/index.d.ts +279 -0
  37. package/packages/business-components/process-form/index.js +1170 -1071
  38. package/packages/business-components/process-form/index.js.gz +0 -0
  39. package/packages/business-components/process-form/src/widgets/store.d.ts +1 -0
  40. package/packages/business-components/process-form/style.css +1 -1
  41. package/packages/business-components/process-log/i18n/index.d.ts +33 -1
  42. package/packages/business-components/process-log/index.js +151 -146
  43. package/packages/business-components/process-log/index.js.gz +0 -0
  44. package/packages/business-components/process-search-form/i18n/index.d.ts +39 -0
  45. package/packages/business-components/process-search-form/index.d.ts +2 -2
  46. package/packages/business-components/process-search-form/index.js +420 -389
  47. package/packages/business-components/process-search-form/index.js.gz +0 -0
  48. package/packages/business-components/process-search-form/src/App.vue.d.ts +2 -2
  49. package/packages/business-components/process-search-form/src/type.d.ts +1 -1
  50. package/packages/business-components/process-table/i18n/index.d.ts +35 -0
  51. package/packages/business-components/process-table/index.js +265 -254
  52. package/packages/business-components/process-table/index.js.gz +0 -0
  53. package/packages/business-components/upload-file/i18n/index.d.ts +7 -0
  54. package/packages/business-components/upload-file/index.js +43 -38
  55. package/packages/business-components/upload-file/index.js.gz +0 -0
  56. package/packages/business-components/upload-file/src/type.d.ts +3 -0
  57. package/packages/business-components/urgent-panel/i18n/index.d.ts +331 -0
  58. package/packages/business-components/urgent-panel/index.js +900 -814
  59. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  60. package/packages/business-components/user-org-dialog/i18n/index.d.ts +53 -1
  61. package/packages/business-components/user-org-dialog/index.js +196 -186
  62. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  63. package/packages/business-components/video-dialog/i18n/index.d.ts +71 -0
  64. package/packages/business-components/video-dialog/index.js +199 -179
  65. package/packages/business-components/video-dialog/index.js.gz +0 -0
  66. package/packages/components/button/i18n/index.d.ts +1 -6
  67. package/packages/components/button/index.js +16 -21
  68. package/packages/components/button/index.js.gz +0 -0
  69. package/packages/components/calendar/i18n/index.d.ts +52 -44
  70. package/packages/components/calendar/index.js +77 -75
  71. package/packages/components/calendar/index.js.gz +0 -0
  72. package/packages/components/cascader/i18n/index.d.ts +7 -0
  73. package/packages/components/cascader/index.js +38 -35
  74. package/packages/components/cascader/index.js.gz +0 -0
  75. package/packages/components/color-picker/i18n/index.d.ts +7 -0
  76. package/packages/components/color-picker/index.js +37 -34
  77. package/packages/components/color-picker/index.js.gz +0 -0
  78. package/packages/components/custom-search-item/i18n/index.d.ts +7 -0
  79. package/packages/components/custom-search-item/index.js +27 -24
  80. package/packages/components/custom-search-item/index.js.gz +0 -0
  81. package/packages/components/date-picker/i18n/index.d.ts +15 -0
  82. package/packages/components/date-picker/index.js +81 -76
  83. package/packages/components/date-picker/index.js.gz +0 -0
  84. package/packages/components/dialog/i18n/index.d.ts +6 -6
  85. package/packages/components/dialog/index.js +58 -58
  86. package/packages/components/dialog/index.js.gz +0 -0
  87. package/packages/components/dimple-layout/i18n/index.d.ts +43 -0
  88. package/packages/components/dimple-layout/index.js +1077 -1064
  89. package/packages/components/dimple-layout/index.js.gz +0 -0
  90. package/packages/components/dropdown/i18n/index.d.ts +7 -0
  91. package/packages/components/dropdown/index.js +32 -29
  92. package/packages/components/dropdown/index.js.gz +0 -0
  93. package/packages/components/empty/index.js +14 -16
  94. package/packages/components/empty/index.js.gz +0 -0
  95. package/packages/components/image-upload/i18n/index.d.ts +27 -3
  96. package/packages/components/image-upload/index.js +84 -78
  97. package/packages/components/image-upload/index.js.gz +0 -0
  98. package/packages/components/image-viewer/i18n/index.d.ts +31 -0
  99. package/packages/components/image-viewer/index.js +246 -237
  100. package/packages/components/image-viewer/index.js.gz +0 -0
  101. package/packages/components/input/i18n/index.d.ts +15 -0
  102. package/packages/components/input/index.js +50 -45
  103. package/packages/components/input/index.js.gz +0 -0
  104. package/packages/components/input-dialog-select/i18n/index.d.ts +1 -1
  105. package/packages/components/input-dialog-select/index.js +20 -23
  106. package/packages/components/input-dialog-select/index.js.gz +0 -0
  107. package/packages/components/live-player/i18n/index.d.ts +15 -0
  108. package/packages/components/live-player/index.js +15 -9
  109. package/packages/components/live-player/index.js.gz +0 -0
  110. package/packages/components/loading/i18n/index.d.ts +7 -0
  111. package/packages/components/loading/index.js +93 -90
  112. package/packages/components/loading/index.js.gz +0 -0
  113. package/packages/components/map/i18n/index.d.ts +23 -0
  114. package/packages/components/map/index.js +355 -347
  115. package/packages/components/map/index.js.gz +0 -0
  116. package/packages/components/menu-aside/i18n/index.d.ts +7 -0
  117. package/packages/components/menu-aside/index.js +150 -147
  118. package/packages/components/menu-aside/index.js.gz +0 -0
  119. package/packages/components/message/i18n/index.d.ts +7 -0
  120. package/packages/components/message/index.js +17 -14
  121. package/packages/components/message/index.js.gz +0 -0
  122. package/packages/components/notification/i18n/index.d.ts +7 -0
  123. package/packages/components/notification/index.js +10 -7
  124. package/packages/components/notification/index.js.gz +0 -0
  125. package/packages/components/pagination/i18n/index.d.ts +19 -0
  126. package/packages/components/pagination/index.js +81 -75
  127. package/packages/components/pagination/index.js.gz +0 -0
  128. package/packages/components/popover/i18n/index.d.ts +2 -2
  129. package/packages/components/preview/i18n/index.d.ts +1 -1
  130. package/packages/components/preview/index.js +1 -1
  131. package/packages/components/preview/index.js.gz +0 -0
  132. package/packages/components/rich-editor/i18n/index.d.ts +10 -3
  133. package/packages/components/rich-editor/index.js +4 -3
  134. package/packages/components/rich-editor/index.js.gz +0 -0
  135. package/packages/components/search/i18n/index.d.ts +25 -1
  136. package/packages/components/search/index.js +31 -28
  137. package/packages/components/search/index.js.gz +0 -0
  138. package/packages/components/select/i18n/index.d.ts +23 -0
  139. package/packages/components/select/index.js +204 -197
  140. package/packages/components/select/index.js.gz +0 -0
  141. package/packages/components/select-list/i18n/index.d.ts +4 -4
  142. package/packages/components/select-list/index.js +4 -4
  143. package/packages/components/select-list/index.js.gz +0 -0
  144. package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -4
  145. package/packages/components/special-range-picker-month/index.js +15 -15
  146. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  147. package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -3
  148. package/packages/components/special-range-picker-year/index.js +81 -81
  149. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  150. package/packages/components/spin/i18n/index.d.ts +7 -0
  151. package/packages/components/spin/index.js +35 -32
  152. package/packages/components/spin/index.js.gz +0 -0
  153. package/packages/components/table/i18n/index.d.ts +72 -2
  154. package/packages/components/table/index.js +1245 -1225
  155. package/packages/components/table/index.js.gz +0 -0
  156. package/packages/components/tabs/i18n/index.d.ts +15 -0
  157. package/packages/components/tabs/index.js +70 -65
  158. package/packages/components/tabs/index.js.gz +0 -0
  159. package/packages/components/time-line/i18n/index.d.ts +1 -1
  160. package/packages/components/time-line/index.js +6 -9
  161. package/packages/components/time-line/index.js.gz +0 -0
  162. package/packages/components/tooltip/i18n/index.d.ts +7 -0
  163. package/packages/components/tooltip/index.js +38 -35
  164. package/packages/components/tooltip/index.js.gz +0 -0
  165. package/packages/components/tree/i18n/index.d.ts +35 -0
  166. package/packages/components/tree/index.js +692 -682
  167. package/packages/components/tree/index.js.gz +0 -0
  168. package/packages/components/tree-table/index.js +69 -68
  169. package/packages/components/tree-table/index.js.gz +0 -0
  170. package/packages/components/tree-table/style.css +1 -1
  171. package/packages/components/tree-table/style.css.gz +0 -0
  172. package/packages/components/upload/i18n/index.d.ts +5 -5
  173. package/packages/components/upload/index.js +50 -50
  174. package/packages/components/upload/index.js.gz +0 -0
  175. package/packages/components/virtual-tree/i18n/index.d.ts +7 -0
  176. package/packages/components/virtual-tree/index.js +35 -31
  177. package/packages/components/virtual-tree/index.js.gz +0 -0
  178. package/packages/icons/edit-3/index.d.ts +1 -0
  179. package/packages/icons/edit-3/index.js +17 -0
  180. package/packages/icons/edit-3/index.js.gz +0 -0
  181. package/packages/icons/edit-3/index.vue.d.ts +16 -0
  182. package/packages/icons/index.d.ts +2 -0
  183. package/packages/icons/index.js +2 -0
  184. package/packages/icons/right-3/index.d.ts +1 -0
  185. package/packages/icons/right-3/index.js +17 -0
  186. package/packages/icons/right-3/index.js.gz +0 -0
  187. package/packages/icons/right-3/index.vue.d.ts +16 -0
@@ -1,7 +1,7 @@
1
1
  import '@das-fed/ui/packages/components/loading/style.css';
2
- import { inject as D, ref as I, computed as x, unref as Z, openBlock as N, createElementBlock as V, createStaticVNode as R, createElementVNode as z, reactive as M, defineComponent as Q, h as _, Transition as W, withCtx as X, withDirectives as ee, createVNode as te, vShow as ne, createApp as oe, toRefs as se, nextTick as j, isRef as ae } from "vue";
3
- import { setThemeRule as re } from "@das-fed/web/packages/theme/index";
4
- import { t as ce } from "@das-fed/web/packages/i18n/index";
2
+ import { inject as D, ref as I, computed as x, unref as R, openBlock as N, createElementBlock as V, createStaticVNode as Z, createElementVNode as z, reactive as M, defineComponent as Q, h as _, Transition as W, withCtx as X, withDirectives as ee, createVNode as te, vShow as ne, createApp as oe, toRefs as se, nextTick as j, isRef as ae } from "vue";
3
+ import { setThemeRule as ce } from "@das-fed/web/packages/theme/index";
4
+ import { setI18nRule as re, t as le } from "@das-fed/web/packages/i18n/index";
5
5
  /**
6
6
  * @vue/shared v3.5.11
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
@@ -12,72 +12,72 @@ process.env.NODE_ENV !== "production" && Object.freeze([]);
12
12
  const K = (t) => typeof t == "string", F = (t) => t !== null && typeof t == "object", G = (t) => {
13
13
  const e = /* @__PURE__ */ Object.create(null);
14
14
  return (n) => e[n] || (e[n] = t(n));
15
- }, le = /-(\w)/g, de = G(
16
- (t) => t.replace(le, (e, n) => n ? n.toUpperCase() : "")
17
- ), ie = /\B([A-Z])/g, ue = G(
18
- (t) => t.replace(ie, "-$1").toLowerCase()
19
- ), ve = (t) => typeof t == "number";
15
+ }, de = /-(\w)/g, ie = G(
16
+ (t) => t.replace(de, (e, n) => n ? n.toUpperCase() : "")
17
+ ), ue = /\B([A-Z])/g, ve = G(
18
+ (t) => t.replace(ue, "-$1").toLowerCase()
19
+ ), fe = (t) => typeof t == "number";
20
20
  var B;
21
21
  const A = typeof window < "u";
22
22
  A && ((B = window == null ? void 0 : window.navigator) != null && B.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
23
23
  const q = (t = "") => t.split(" ").filter((e) => !!e.trim()), E = (t, e) => {
24
24
  !t || !e.trim() || t.classList.add(...q(e));
25
- }, C = (t, e) => {
25
+ }, $ = (t, e) => {
26
26
  !t || !e.trim() || t.classList.remove(...q(e));
27
27
  }, b = (t, e) => {
28
28
  var o;
29
29
  if (!A || !t || !e) return "";
30
- let n = de(e);
30
+ let n = ie(e);
31
31
  n === "float" && (n = "cssFloat");
32
32
  try {
33
- const c = t.style[n];
34
- if (c) return c;
33
+ const r = t.style[n];
34
+ if (r) return r;
35
35
  const a = (o = document.defaultView) == null ? void 0 : o.getComputedStyle(t, "");
36
36
  return a ? a[n] : "";
37
37
  } catch {
38
38
  return t.style[n];
39
39
  }
40
- }, L = "das", fe = "is-", m = (t, e, n, o, c) => {
40
+ }, L = "das", me = "is-", m = (t, e, n, o, r) => {
41
41
  let a = `${t}-${e}`;
42
- return n && (a += `-${n}`), o && (a += `__${o}`), c && (a += `--${c}`), a;
43
- }, me = Symbol("namespaceContextKey"), ge = (t) => {
44
- const e = t || D(me, I(L));
45
- return x(() => Z(e) || L);
46
- }, pe = (t, e) => {
47
- const n = ge(e);
42
+ return n && (a += `-${n}`), o && (a += `__${o}`), r && (a += `--${r}`), a;
43
+ }, ge = Symbol("namespaceContextKey"), pe = (t) => {
44
+ const e = t || D(ge, I(L));
45
+ return x(() => R(e) || L);
46
+ }, ye = (t, e) => {
47
+ const n = pe(e);
48
48
  return {
49
49
  namespace: n,
50
50
  b: (s = "") => m(n.value, t, s, "", ""),
51
51
  e: (s) => s ? m(n.value, t, "", s, "") : "",
52
52
  m: (s) => s ? m(n.value, t, "", "", s) : "",
53
- be: (s, r) => s && r ? m(n.value, t, s, r, "") : "",
54
- em: (s, r) => s && r ? m(n.value, t, "", s, r) : "",
55
- bm: (s, r) => s && r ? m(n.value, t, s, "", r) : "",
56
- bem: (s, r, d) => s && r && d ? m(n.value, t, s, r, d) : "",
57
- is: (s, ...r) => {
58
- const d = r.length >= 1 ? r[0] : !0;
59
- return s && d ? `${fe}${s}` : "";
53
+ be: (s, c) => s && c ? m(n.value, t, s, c, "") : "",
54
+ em: (s, c) => s && c ? m(n.value, t, "", s, c) : "",
55
+ bm: (s, c) => s && c ? m(n.value, t, s, "", c) : "",
56
+ bem: (s, c, d) => s && c && d ? m(n.value, t, s, c, d) : "",
57
+ is: (s, ...c) => {
58
+ const d = c.length >= 1 ? c[0] : !0;
59
+ return s && d ? `${me}${s}` : "";
60
60
  },
61
61
  // css
62
62
  cssVar: (s) => {
63
- const r = {};
63
+ const c = {};
64
64
  for (const d in s)
65
- s[d] && (r[`--${n.value}-${d}`] = s[d]);
66
- return r;
65
+ s[d] && (c[`--${n.value}-${d}`] = s[d]);
66
+ return c;
67
67
  },
68
68
  cssVarName: (s) => `--${n.value}-${s}`,
69
69
  cssVarBlock: (s) => {
70
- const r = {};
70
+ const c = {};
71
71
  for (const d in s)
72
- s[d] && (r[`--${n.value}-${t}-${d}`] = s[d]);
73
- return r;
72
+ s[d] && (c[`--${n.value}-${t}-${d}`] = s[d]);
73
+ return c;
74
74
  },
75
75
  cssVarBlockName: (s) => `--${n.value}-${t}-${s}`
76
76
  };
77
- }, S = I(0), U = 2e3, ye = Symbol("zIndexContextKey"), be = (t) => {
78
- const e = t || D(ye, void 0), n = x(() => {
79
- const a = Z(e);
80
- return ve(a) ? a : U;
77
+ }, S = I(0), U = 2e3, be = Symbol("zIndexContextKey"), xe = (t) => {
78
+ const e = t || D(be, void 0), n = x(() => {
79
+ const a = R(e);
80
+ return fe(a) ? a : U;
81
81
  }), o = x(() => n.value + S.value);
82
82
  return {
83
83
  initialZIndex: n,
@@ -85,11 +85,11 @@ const q = (t = "") => t.split(" ").filter((e) => !!e.trim()), E = (t, e) => {
85
85
  nextZIndex: () => (S.value++, o.value)
86
86
  };
87
87
  };
88
- function xe(t) {
89
- const e = pe(
88
+ function _e(t) {
89
+ const e = ye(
90
90
  t,
91
91
  x(() => L)
92
- ), n = be(
92
+ ), n = xe(
93
93
  x(() => U)
94
94
  );
95
95
  return {
@@ -99,18 +99,18 @@ function xe(t) {
99
99
  }
100
100
  const k = (t, e) => {
101
101
  const n = t.__vccOpts || t;
102
- for (const [o, c] of e)
103
- n[o] = c;
102
+ for (const [o, r] of e)
103
+ n[o] = r;
104
104
  return n;
105
- }, _e = {}, $e = { class: "das-loading-container das-loading-page" };
106
- function Ce(t, e) {
105
+ }, Ce = {}, $e = { class: "das-loading-container das-loading-page" };
106
+ function Ie(t, e) {
107
107
  return N(), V("div", $e, e[0] || (e[0] = [
108
- R('<div class="das-loading-dot-loading" data-v-6f86e018><i class="das-loading-dot-item" data-v-6f86e018></i><i class="das-loading-dot-item" data-v-6f86e018></i><i class="das-loading-dot-item" data-v-6f86e018></i><i class="das-loading-dot-item" data-v-6f86e018></i></div>', 1)
108
+ Z('<div class="das-loading-dot-loading" data-v-6f86e018><i class="das-loading-dot-item" data-v-6f86e018></i><i class="das-loading-dot-item" data-v-6f86e018></i><i class="das-loading-dot-item" data-v-6f86e018></i><i class="das-loading-dot-item" data-v-6f86e018></i></div>', 1)
109
109
  ]));
110
110
  }
111
- const O = /* @__PURE__ */ k(_e, [["render", Ce], ["__scopeId", "data-v-6f86e018"]]), Ie = {}, he = { class: "das-loading-container das-loading-component" };
112
- function Le(t, e) {
113
- return N(), V("div", he, e[0] || (e[0] = [
111
+ const O = /* @__PURE__ */ k(Ce, [["render", Ie], ["__scopeId", "data-v-6f86e018"]]), he = {}, Le = { class: "das-loading-container das-loading-component" };
112
+ function we(t, e) {
113
+ return N(), V("div", Le, e[0] || (e[0] = [
114
114
  z(
115
115
  "div",
116
116
  { class: "das-loading-dot-loading" },
@@ -122,14 +122,14 @@ function Le(t, e) {
122
122
  )
123
123
  ]));
124
124
  }
125
- const we = /* @__PURE__ */ k(Ie, [["render", Le], ["__scopeId", "data-v-88fde512"]]), Ne = {}, Ve = { class: "das-loading-container das-loading-containerload" };
126
- function Ae(t, e) {
127
- return N(), V("div", Ve, e[0] || (e[0] = [
128
- R('<div class="das-loading-dot-loading" data-v-e851d2c9><i class="das-loading-dot-item" data-v-e851d2c9></i><i class="das-loading-dot-item" data-v-e851d2c9></i><i class="das-loading-dot-item" data-v-e851d2c9></i><i class="das-loading-dot-item" data-v-e851d2c9></i></div>', 1)
125
+ const Ne = /* @__PURE__ */ k(he, [["render", we], ["__scopeId", "data-v-88fde512"]]), Ve = {}, Ae = { class: "das-loading-container das-loading-containerload" };
126
+ function ke(t, e) {
127
+ return N(), V("div", Ae, e[0] || (e[0] = [
128
+ Z('<div class="das-loading-dot-loading" data-v-e851d2c9><i class="das-loading-dot-item" data-v-e851d2c9></i><i class="das-loading-dot-item" data-v-e851d2c9></i><i class="das-loading-dot-item" data-v-e851d2c9></i><i class="das-loading-dot-item" data-v-e851d2c9></i></div>', 1)
129
129
  ]));
130
130
  }
131
- const ke = /* @__PURE__ */ k(Ne, [["render", Ae], ["__scopeId", "data-v-e851d2c9"]]);
132
- function ze(t) {
131
+ const ze = /* @__PURE__ */ k(Ve, [["render", ke], ["__scopeId", "data-v-e851d2c9"]]);
132
+ function Be(t) {
133
133
  let e;
134
134
  const n = I(!1), o = M({
135
135
  ...t,
@@ -137,14 +137,14 @@ function ze(t) {
137
137
  originalOverflow: "",
138
138
  visible: !1
139
139
  });
140
- function c(l) {
140
+ function r(l) {
141
141
  o.text = l;
142
142
  }
143
143
  function a() {
144
144
  const l = o.parent, f = p.ns;
145
145
  if (!l.vLoadingAddClassList) {
146
146
  let v = l.getAttribute("loading-number");
147
- v = Number.parseInt(v) - 1, v ? l.setAttribute("loading-number", v.toString()) : (C(l, f.bm("parent", "relative")), l.removeAttribute("loading-number")), C(l, f.bm("parent", "hidden"));
147
+ v = Number.parseInt(v) - 1, v ? l.setAttribute("loading-number", v.toString()) : ($(l, f.bm("parent", "relative")), l.removeAttribute("loading-number")), $(l, f.bm("parent", "hidden"));
148
148
  }
149
149
  u(), h.unmount();
150
150
  }
@@ -164,15 +164,15 @@ function ze(t) {
164
164
  const g = Q({
165
165
  name: "DasLoading",
166
166
  setup(l, { expose: f }) {
167
- const { ns: v, zIndex: s } = xe("loading");
167
+ const { ns: v, zIndex: s } = _e("loading");
168
168
  return f({
169
169
  ns: v,
170
170
  zIndex: s
171
171
  }), () => {
172
- let r = o.spinner || o.svg || O;
172
+ let c = o.spinner || o.svg || O;
173
173
  const d = o.type;
174
- d == "page" && (r = O), d == "container" && (r = ke), d == "component" && (r = we);
175
- const H = _(r), J = o.text ? _("p", { class: v.b("text") }, [o.text]) : void 0;
174
+ d == "page" && (c = O), d == "container" && (c = ze), d == "component" && (c = Ne);
175
+ const H = _(c), J = o.text ? _("p", { class: v.b("text") }, [o.text]) : void 0;
176
176
  return _(
177
177
  W,
178
178
  {
@@ -214,7 +214,7 @@ function ze(t) {
214
214
  }), h = oe(g), p = h.mount(document.createElement("div"));
215
215
  return {
216
216
  ...se(o),
217
- setText: c,
217
+ setText: r,
218
218
  removeElLoadingChild: u,
219
219
  close: y,
220
220
  handleAfterLeave: i,
@@ -224,23 +224,23 @@ function ze(t) {
224
224
  }
225
225
  };
226
226
  }
227
- let $;
227
+ let C;
228
228
  const Y = function(t = {}) {
229
229
  if (!A) return;
230
- const e = Be(t);
231
- if (e.fullscreen && $)
232
- return $;
233
- const n = ze({
230
+ const e = Ee(t);
231
+ if (e.fullscreen && C)
232
+ return C;
233
+ const n = Be({
234
234
  ...e,
235
235
  closed: () => {
236
- var c;
237
- (c = e.closed) == null || c.call(e), e.fullscreen && ($ = void 0);
236
+ var r;
237
+ (r = e.closed) == null || r.call(e), e.fullscreen && (C = void 0);
238
238
  }
239
239
  });
240
- Ee(e, e.parent, n), T(e, e.parent, n), e.parent.vLoadingAddClassList = () => T(e, e.parent, n);
240
+ Se(e, e.parent, n), T(e, e.parent, n), e.parent.vLoadingAddClassList = () => T(e, e.parent, n);
241
241
  let o = e.parent.getAttribute("loading-number");
242
- return o ? o = `${Number.parseInt(o) + 1}` : o = "1", e.parent.setAttribute("loading-number", o), e.parent.appendChild(n.$el), j(() => n.visible.value = e.visible), e.fullscreen && ($ = n), n;
243
- }, Be = (t) => {
242
+ return o ? o = `${Number.parseInt(o) + 1}` : o = "1", e.parent.setAttribute("loading-number", o), e.parent.appendChild(n.$el), j(() => n.visible.value = e.visible), e.fullscreen && (C = n), n;
243
+ }, Ee = (t) => {
244
244
  let e;
245
245
  return K(t.target) ? e = document.querySelector(t.target) ?? document.body : e = t.target || document.body, {
246
246
  parent: e === document.body || t.body ? document.body : e,
@@ -256,31 +256,31 @@ const Y = function(t = {}) {
256
256
  visible: t.visible ?? !0,
257
257
  target: e
258
258
  };
259
- }, Ee = async (t, e, n) => {
260
- const { nextZIndex: o } = n.vm.zIndex || n.vm._.exposed.zIndex, c = {};
259
+ }, Se = async (t, e, n) => {
260
+ const { nextZIndex: o } = n.vm.zIndex || n.vm._.exposed.zIndex, r = {};
261
261
  if (t.fullscreen)
262
- n.originalPosition.value = b(document.body, "position"), n.originalOverflow.value = b(document.body, "overflow"), c.zIndex = o();
262
+ n.originalPosition.value = b(document.body, "position"), n.originalOverflow.value = b(document.body, "overflow"), r.zIndex = o();
263
263
  else if (t.parent === document.body) {
264
264
  n.originalPosition.value = b(document.body, "position"), await j();
265
265
  for (const a of ["top", "left"]) {
266
266
  const u = a === "top" ? "scrollTop" : "scrollLeft";
267
- c[a] = `${t.target.getBoundingClientRect()[a] + document.body[u] + document.documentElement[u] - Number.parseInt(b(document.body, `margin-${a}`), 10)}px`;
267
+ r[a] = `${t.target.getBoundingClientRect()[a] + document.body[u] + document.documentElement[u] - Number.parseInt(b(document.body, `margin-${a}`), 10)}px`;
268
268
  }
269
269
  for (const a of ["height", "width"])
270
- c[a] = `${t.target.getBoundingClientRect()[a]}px`;
270
+ r[a] = `${t.target.getBoundingClientRect()[a]}px`;
271
271
  } else
272
272
  n.originalPosition.value = b(e, "position");
273
- for (const [a, u] of Object.entries(c))
273
+ for (const [a, u] of Object.entries(r))
274
274
  n.$el.style[a] = u;
275
275
  }, T = (t, e, n) => {
276
276
  const o = n.vm.ns || n.vm._.exposed.ns;
277
- ["absolute", "fixed", "sticky"].includes(n.originalPosition.value) ? C(e, o.bm("parent", "relative")) : E(e, o.bm("parent", "relative")), t.fullscreen && t.lock ? E(e, o.bm("parent", "hidden")) : C(e, o.bm("parent", "hidden"));
277
+ ["absolute", "fixed", "sticky"].includes(n.originalPosition.value) ? $(e, o.bm("parent", "relative")) : E(e, o.bm("parent", "relative")), t.fullscreen && t.lock ? E(e, o.bm("parent", "hidden")) : $(e, o.bm("parent", "hidden"));
278
278
  }, w = Symbol("DasLoading"), P = (t, e) => {
279
- const n = e.instance, o = (i) => F(e.value) ? e.value[i] : void 0, c = (i) => {
279
+ const n = e.instance, o = (i) => F(e.value) ? e.value[i] : void 0, r = (i) => {
280
280
  const g = K(i) && (n == null ? void 0 : n[i]) || i;
281
281
  return g && I(g);
282
- }, a = (i) => c(
283
- o(i) || t.getAttribute(`das-loading-${ue(i)}`)
282
+ }, a = (i) => r(
283
+ o(i) || t.getAttribute(`das-loading-${ve(i)}`)
284
284
  ), u = o("fullscreen") ?? e.modifiers.fullscreen, y = {
285
285
  type: a("type"),
286
286
  text: a("text"),
@@ -298,35 +298,38 @@ const Y = function(t = {}) {
298
298
  options: y,
299
299
  instance: Y(y)
300
300
  };
301
- }, Se = (t, e) => {
301
+ }, Oe = (t, e) => {
302
302
  for (const n of Object.keys(e))
303
303
  ae(e[n]) && (e[n].value = t[n]);
304
- }, Ze = {
304
+ }, je = {
305
305
  mounted(t, e) {
306
306
  e.value && P(t, e);
307
307
  },
308
308
  updated(t, e) {
309
309
  const n = t[w];
310
- e.oldValue !== e.value && (e.value && !e.oldValue ? P(t, e) : e.value && e.oldValue ? F(e.value) && Se(e.value, n.options) : n == null || n.instance.close());
310
+ e.oldValue !== e.value && (e.value && !e.oldValue ? P(t, e) : e.value && e.oldValue ? F(e.value) && Oe(e.value, n.options) : n == null || n.instance.close());
311
311
  },
312
312
  unmounted(t) {
313
313
  var e;
314
314
  (e = t[w]) == null || e.instance.close();
315
315
  }
316
- }, Oe = {
316
+ }, Te = {
317
317
  "--das-ui-loading-logo-1-color": "#2486ee",
318
318
  "--das-ui-loading-logo-2-color": "#02ccfe",
319
319
  "--das-ui-loading-logo-3-color": "#05c8c7",
320
320
  "--das-ui-loading-logo-4-color": "#a06eff",
321
321
  "--das-ui-loading-logo-5-color": "#5582f3",
322
322
  "--das-ui-loading-logo-6-color": "#ebebeb"
323
+ }, Pe = {
324
+ 加载: { "zh-CN": "加载", en: "Loading" }
323
325
  };
324
- re(Oe);
325
- const Re = {
326
+ re(Pe);
327
+ ce(Te);
328
+ const Ke = {
326
329
  service: Y
327
- }, je = { name: `loading ${ce("加载")}` };
330
+ }, Fe = { name: `loading ${le("加载")}` };
328
331
  export {
329
- Re as DasLoading,
330
- je as default,
331
- Ze as vDasLoading
332
+ Ke as DasLoading,
333
+ Fe as default,
334
+ je as vDasLoading
332
335
  };
@@ -0,0 +1,23 @@
1
+ declare const _default: {
2
+ 第三方地图配置参数错误或地址信息无效: {
3
+ "zh-CN": string;
4
+ en: string;
5
+ };
6
+ 请检查后再重试: {
7
+ "zh-CN": string;
8
+ en: string;
9
+ };
10
+ 请输入位置: {
11
+ "zh-CN": string;
12
+ en: string;
13
+ };
14
+ 获取地图配置信息失败: {
15
+ "zh-CN": string;
16
+ en: string;
17
+ };
18
+ 暂未配置地图: {
19
+ "zh-CN": string;
20
+ en: string;
21
+ };
22
+ };
23
+ export default _default;