@das-fed/ui 6.4.0-dev.55.4 → 6.4.0-dev.55.6

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 (154) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -0
  3. package/packages/business-components/change-enterprises/index.js +44 -44
  4. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  5. package/packages/business-components/change-pwd/i18n/index.d.ts +18 -0
  6. package/packages/business-components/change-pwd/index.js +119 -114
  7. package/packages/business-components/change-pwd/index.js.gz +0 -0
  8. package/packages/business-components/currency-page/i18n/index.d.ts +4 -0
  9. package/packages/business-components/currency-page/index.js +12 -4
  10. package/packages/business-components/currency-page/index.js.gz +0 -0
  11. package/packages/business-components/device-panel/i18n/index.d.ts +235 -0
  12. package/packages/business-components/device-panel/index.js +13161 -13050
  13. package/packages/business-components/device-panel/index.js.gz +0 -0
  14. package/packages/business-components/device-panel/style.css +1 -1
  15. package/packages/business-components/device-panel/style.css.gz +0 -0
  16. package/packages/business-components/export-button/i18n/index.d.ts +11 -0
  17. package/packages/business-components/export-button/index.js +76 -71
  18. package/packages/business-components/export-button/index.js.gz +0 -0
  19. package/packages/business-components/import-button/i18n/index.d.ts +26 -0
  20. package/packages/business-components/import-button/index.js +297 -288
  21. package/packages/business-components/import-button/index.js.gz +0 -0
  22. package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -0
  23. package/packages/business-components/model-table-dialog/index.js +433 -433
  24. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  25. package/packages/business-components/process-configuration/i18n/index.d.ts +31 -0
  26. package/packages/business-components/process-configuration/index.js +201 -198
  27. package/packages/business-components/process-configuration/index.js.gz +0 -0
  28. package/packages/business-components/process-form/i18n/index.d.ts +80 -0
  29. package/packages/business-components/process-form/index.js +858 -838
  30. package/packages/business-components/process-form/index.js.gz +0 -0
  31. package/packages/business-components/process-log/i18n/index.d.ts +10 -0
  32. package/packages/business-components/process-log/index.js +245 -245
  33. package/packages/business-components/process-log/index.js.gz +0 -0
  34. package/packages/business-components/process-search-form/i18n/index.d.ts +9 -0
  35. package/packages/business-components/process-search-form/index.js +135 -135
  36. package/packages/business-components/process-search-form/index.js.gz +0 -0
  37. package/packages/business-components/process-table/i18n/index.d.ts +8 -0
  38. package/packages/business-components/process-table/index.js +128 -128
  39. package/packages/business-components/process-table/index.js.gz +0 -0
  40. package/packages/business-components/upload-file/i18n/index.d.ts +1 -0
  41. package/packages/business-components/upload-file/index.js +25 -24
  42. package/packages/business-components/upload-file/index.js.gz +0 -0
  43. package/packages/business-components/urgent-panel/i18n/index.d.ts +90 -0
  44. package/packages/business-components/urgent-panel/index.js +1249 -1235
  45. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  46. package/packages/business-components/user-org-dialog/i18n/index.d.ts +15 -0
  47. package/packages/business-components/user-org-dialog/index.js +223 -219
  48. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  49. package/packages/business-components/video-dialog/i18n/index.d.ts +20 -0
  50. package/packages/business-components/video-dialog/index.js +233 -233
  51. package/packages/business-components/video-dialog/index.js.gz +0 -0
  52. package/packages/components/calendar/i18n/index.d.ts +46 -0
  53. package/packages/components/calendar/index.js +283 -283
  54. package/packages/components/calendar/index.js.gz +0 -0
  55. package/packages/components/cascader/i18n/index.d.ts +1 -0
  56. package/packages/components/cascader/index.js +21 -21
  57. package/packages/components/cascader/index.js.gz +0 -0
  58. package/packages/components/color-picker/i18n/index.d.ts +1 -0
  59. package/packages/components/color-picker/index.js +35 -35
  60. package/packages/components/color-picker/index.js.gz +0 -0
  61. package/packages/components/custom-search-item/i18n/index.d.ts +1 -0
  62. package/packages/components/custom-search-item/index.js +17 -17
  63. package/packages/components/custom-search-item/index.js.gz +0 -0
  64. package/packages/components/date-picker/i18n/index.d.ts +3 -0
  65. package/packages/components/date-picker/index.js +94 -94
  66. package/packages/components/date-picker/index.js.gz +0 -0
  67. package/packages/components/dialog/i18n/index.d.ts +6 -0
  68. package/packages/components/dialog/index.js +58 -58
  69. package/packages/components/dialog/index.js.gz +0 -0
  70. package/packages/components/dimple-layout/i18n/index.d.ts +10 -0
  71. package/packages/components/dimple-layout/index.js +287 -283
  72. package/packages/components/dimple-layout/index.js.gz +0 -0
  73. package/packages/components/dropdown/i18n/index.d.ts +1 -0
  74. package/packages/components/dropdown/index.js +14 -14
  75. package/packages/components/dropdown/index.js.gz +0 -0
  76. package/packages/components/empty/i18n/index.d.ts +1 -0
  77. package/packages/components/empty/index.js +11 -11
  78. package/packages/components/empty/index.js.gz +0 -0
  79. package/packages/components/image-upload/i18n/index.d.ts +6 -0
  80. package/packages/components/image-upload/index.js +67 -58
  81. package/packages/components/image-upload/index.js.gz +0 -0
  82. package/packages/components/input/i18n/index.d.ts +3 -0
  83. package/packages/components/input/index.js +36 -36
  84. package/packages/components/input/index.js.gz +0 -0
  85. package/packages/components/live-player/i18n/index.d.ts +2 -0
  86. package/packages/components/live-player/index.js +3 -2
  87. package/packages/components/live-player/index.js.gz +0 -0
  88. package/packages/components/loading/i18n/index.d.ts +1 -0
  89. package/packages/components/loading/index.js +53 -53
  90. package/packages/components/loading/index.js.gz +0 -0
  91. package/packages/components/map/i18n/index.d.ts +4 -0
  92. package/packages/components/map/index.js +73 -68
  93. package/packages/components/map/index.js.gz +0 -0
  94. package/packages/components/menu-aside/i18n/index.d.ts +1 -0
  95. package/packages/components/menu-aside/index.js +1 -1
  96. package/packages/components/menu-aside/index.js.gz +0 -0
  97. package/packages/components/message/i18n/index.d.ts +1 -0
  98. package/packages/components/message/index.js +1 -1
  99. package/packages/components/message/index.js.gz +0 -0
  100. package/packages/components/notification/i18n/index.d.ts +1 -0
  101. package/packages/components/notification/index.js +1 -1
  102. package/packages/components/notification/index.js.gz +0 -0
  103. package/packages/components/pagination/i18n/index.d.ts +4 -0
  104. package/packages/components/pagination/index.js +44 -44
  105. package/packages/components/pagination/index.js.gz +0 -0
  106. package/packages/components/popover/i18n/index.d.ts +2 -0
  107. package/packages/components/popover/index.js +7 -7
  108. package/packages/components/popover/index.js.gz +0 -0
  109. package/packages/components/preview/i18n/index.d.ts +1 -0
  110. package/packages/components/preview/index.js +6 -6
  111. package/packages/components/preview/index.js.gz +0 -0
  112. package/packages/components/rich-editor/i18n/index.d.ts +4 -0
  113. package/packages/components/rich-editor/index.js +11 -4
  114. package/packages/components/rich-editor/index.js.gz +0 -0
  115. package/packages/components/search-form/i18n/index.d.ts +6 -0
  116. package/packages/components/search-form/index.js +113 -113
  117. package/packages/components/search-form/index.js.gz +0 -0
  118. package/packages/components/select/i18n/index.d.ts +5 -0
  119. package/packages/components/select/index.js +183 -183
  120. package/packages/components/select/index.js.gz +0 -0
  121. package/packages/components/select-list/i18n/index.d.ts +4 -0
  122. package/packages/components/select-list/index.js +73 -73
  123. package/packages/components/select-list/index.js.gz +0 -0
  124. package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
  125. package/packages/components/special-range-picker-month/index.js +72 -72
  126. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  127. package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
  128. package/packages/components/special-range-picker-year/index.js +99 -99
  129. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  130. package/packages/components/spin/i18n/index.d.ts +1 -0
  131. package/packages/components/spin/index.js +27 -27
  132. package/packages/components/spin/index.js.gz +0 -0
  133. package/packages/components/table/i18n/index.d.ts +41 -4
  134. package/packages/components/table/index.js +2291 -2288
  135. package/packages/components/table/index.js.gz +0 -0
  136. package/packages/components/table/style.css +1 -1
  137. package/packages/components/table/style.css.gz +0 -0
  138. package/packages/components/tabs/i18n/index.d.ts +3 -0
  139. package/packages/components/tabs/index.js +46 -46
  140. package/packages/components/tabs/index.js.gz +0 -0
  141. package/packages/components/text-tooltip/index.js +1 -1
  142. package/packages/components/text-tooltip/index.js.gz +0 -0
  143. package/packages/components/tooltip/i18n/index.d.ts +1 -0
  144. package/packages/components/tooltip/index.js +14 -14
  145. package/packages/components/tooltip/index.js.gz +0 -0
  146. package/packages/components/tree/i18n/index.d.ts +7 -0
  147. package/packages/components/tree/index.js +8 -7
  148. package/packages/components/tree/index.js.gz +0 -0
  149. package/packages/components/upload/i18n/index.d.ts +5 -0
  150. package/packages/components/upload/index.js +54 -54
  151. package/packages/components/upload/index.js.gz +0 -0
  152. package/packages/components/virtual-tree/i18n/index.d.ts +1 -0
  153. package/packages/components/virtual-tree/index.js +11 -11
  154. package/packages/components/virtual-tree/index.js.gz +0 -0
@@ -1,7 +1,7 @@
1
1
  import '@das-fed/ui/packages/components/input/style.css';
2
2
  import { withInstall as ee } from "@das-fed/utils/with-install/index";
3
- import { getVarValue as C, setThemeRule as te } from "@das-fed/web/packages/theme/index";
4
- import { defineComponent as oe, computed as s, ref as a, watch as B, nextTick as N, openBlock as i, createElementBlock as d, normalizeStyle as w, normalizeClass as D, createCommentVNode as n, createVNode as R, unref as F, withCtx as y, mergeProps as le, createSlots as ae, renderSlot as T, toDisplayString as L, Fragment as re, createBlock as se, Teleport as ie, createElementVNode as z } from "vue";
3
+ import { getVarValue as V, setThemeRule as te } from "@das-fed/web/packages/theme/index";
4
+ import { defineComponent as oe, computed as s, ref as a, watch as B, nextTick as N, openBlock as i, createElementBlock as d, normalizeStyle as E, normalizeClass as D, createCommentVNode as n, createVNode as R, unref as F, withCtx as y, mergeProps as le, createSlots as ae, renderSlot as k, toDisplayString as T, Fragment as re, createBlock as se, Teleport as ie, createElementVNode as z } from "vue";
5
5
  import "element-plus/es/components/input/style/css";
6
6
  import { ElInput as ne } from "element-plus";
7
7
  import { DasTooltip as ue } from "@das-fed/ui/packages/components/tooltip/index";
@@ -23,7 +23,7 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
23
23
  class: "das-input-overlay-error-label-content"
24
24
  }, xe = { class: "label" }, Be = {
25
25
  inheritAttrs: !1
26
- }, Te = /* @__PURE__ */ oe({
26
+ }, ke = /* @__PURE__ */ oe({
27
27
  ...Be,
28
28
  __name: "index",
29
29
  props: {
@@ -54,18 +54,18 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
54
54
  },
55
55
  emits: ["update:modelValue", "change"],
56
56
  setup(l, { expose: h, emit: g }) {
57
- const o = l, k = s(() => o.placeholder || de("请输入")), P = s(() => `width:${ve(o.width)}`), O = s(() => {
57
+ const o = l, L = s(() => o.placeholder || de("请输入")), P = s(() => `width:${ve(o.width)}`), O = s(() => {
58
58
  const e = Number(o.maxLength) ? Number(o.maxLength) : !1, t = Number(o.maxlength) ? Number(o.maxlength) : !1;
59
59
  return e || t && t || !1;
60
60
  }), $ = g, m = s({
61
61
  get: () => o.modelValue,
62
62
  set: (e) => $("update:modelValue", e)
63
- }), U = a(o.isTitle), u = a(!1), W = a(), r = a(), S = a(!1), A = s(() => o.type === "textarea" ? o.showWordLimit : o.showTextWordLimit), Z = s(() => o.isView || o.disabled), j = s(() => Z.value ? o.noSetDefaultVal ? "" : "-" : k.value ?? ""), E = a(!1), p = a(0), f = a(0), x = a({
63
+ }), U = a(o.isTitle), u = a(!1), W = a(), r = a(), S = a(!1), A = s(() => o.type === "textarea" ? o.showWordLimit : o.showTextWordLimit), Z = s(() => o.isView || o.disabled), j = s(() => Z.value ? o.noSetDefaultVal ? "" : "-" : L.value ?? ""), w = a(!1), p = a(0), f = a(0), x = a({
64
64
  x: 0,
65
65
  y: 0
66
66
  }), M = a(0), H = a({
67
67
  "font-size": "12px",
68
- "background-color": C("--das-ui-input-number-overlay-error-bg-color").value,
68
+ "background-color": V("--das-ui-input-number-overlay-error-bg-color").value,
69
69
  "box-shadow": "0px 4px 10px 0px rgba(0, 0, 0, 0.2)",
70
70
  "border-radius": "1px",
71
71
  padding: "2px 8px",
@@ -81,12 +81,12 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
81
81
  "z-index": o.errorModelZIndex
82
82
  })), G = a({
83
83
  display: "block",
84
- color: C("--das-ui-input-error-color").value,
84
+ color: V("--das-ui-input-error-color").value,
85
85
  "white-space": "break-spaces"
86
86
  }), J = () => {
87
- var b, I, V;
88
- const { top: e, left: t } = (b = r.value) == null ? void 0 : b.$el.getBoundingClientRect(), v = (I = r.value) == null ? void 0 : I.$el.clientHeight;
89
- M.value = (V = r.value) == null ? void 0 : V.$el.clientWidth, x.value.x = t, x.value.y = e + v;
87
+ var b, C, I;
88
+ const { top: e, left: t } = (b = r.value) == null ? void 0 : b.$el.getBoundingClientRect(), v = (C = r.value) == null ? void 0 : C.$el.clientHeight;
89
+ M.value = (I = r.value) == null ? void 0 : I.$el.clientWidth, x.value.x = t, x.value.y = e + v;
90
90
  };
91
91
  B(
92
92
  () => {
@@ -105,12 +105,12 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
105
105
  o.type !== "textarea" && o.filterSpace && (t = t.trim()), m.value = t, $("change", t);
106
106
  }, Q = () => {
107
107
  var t;
108
- o.borderType === "bottom" && (E.value = !0);
108
+ o.borderType === "bottom" && (w.value = !0);
109
109
  const e = (t = r.value) == null ? void 0 : t.textarea;
110
110
  e && e.nextSibling && e.nextSibling.style && (e.nextSibling.style.display = "block");
111
111
  }, X = () => {
112
112
  var t;
113
- o.borderType === "bottom" && (E.value = !1);
113
+ o.borderType === "bottom" && (w.value = !1);
114
114
  const e = (t = r.value) == null ? void 0 : t.textarea;
115
115
  e && e.nextSibling && e.nextSibling.style && (e.nextSibling.style.display = "none");
116
116
  };
@@ -159,7 +159,7 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
159
159
  }), (e, t) => (i(), d(
160
160
  "div",
161
161
  {
162
- style: w(P.value),
162
+ style: E(P.value),
163
163
  class: D([
164
164
  "das-ui-input",
165
165
  { "only-border-bottom": e.borderType === "bottom" },
@@ -194,7 +194,7 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
194
194
  { "is-view": e.isView },
195
195
  { "das-input-success": e.success },
196
196
  { "das-input-error": e.error },
197
- { "input-focus-color": E.value }
197
+ { "input-focus-color": w.value }
198
198
  ],
199
199
  autosize: o.autosize,
200
200
  showWordLimit: A.value,
@@ -212,7 +212,7 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
212
212
  name: "prepend",
213
213
  fn: y(() => [
214
214
  n(" 输入框前置内容 "),
215
- T(e.$slots, "prepend", {}, void 0, !0)
215
+ k(e.$slots, "prepend", {}, void 0, !0)
216
216
  ]),
217
217
  key: "0"
218
218
  } : void 0,
@@ -220,21 +220,21 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
220
220
  name: "append",
221
221
  fn: y(() => [
222
222
  n(" 输入框后置内容 "),
223
- T(e.$slots, "append", {}, void 0, !0)
223
+ k(e.$slots, "append", {}, void 0, !0)
224
224
  ]),
225
225
  key: "1"
226
226
  } : void 0,
227
227
  e.$slots.suffix ? {
228
228
  name: "suffix",
229
229
  fn: y(() => [
230
- T(e.$slots, "suffix", {}, void 0, !0)
230
+ k(e.$slots, "suffix", {}, void 0, !0)
231
231
  ]),
232
232
  key: "2"
233
233
  } : void 0,
234
234
  e.$slots.prefix ? {
235
235
  name: "prefix",
236
236
  fn: y(() => [
237
- T(e.$slots, "prefix", {}, void 0, !0)
237
+ k(e.$slots, "prefix", {}, void 0, !0)
238
238
  ]),
239
239
  key: "3"
240
240
  } : void 0
@@ -247,7 +247,7 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
247
247
  e.success ? (i(), d(
248
248
  "span",
249
249
  be,
250
- L(e.successLabel),
250
+ T(e.successLabel),
251
251
  1
252
252
  /* TEXT */
253
253
  )) : n("v-if", !0)
@@ -257,7 +257,7 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
257
257
  key: 0,
258
258
  class: D(["das-input-error-label", { "error-label-overflow": e.isErrorTitle }]),
259
259
  title: e.isErrorTitle ? e.errorLabel : ""
260
- }, L(e.errorLabel), 11, he)) : n("v-if", !0)
260
+ }, T(e.errorLabel), 11, he)) : n("v-if", !0)
261
261
  ])) : n("v-if", !0),
262
262
  e.error && e.errorLabel && S.value && e.errorMode === "overlay" ? (i(), d(
263
263
  re,
@@ -270,15 +270,15 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
270
270
  z(
271
271
  "div",
272
272
  {
273
- style: w(q.value)
273
+ style: E(q.value)
274
274
  },
275
275
  [
276
276
  z(
277
277
  "span",
278
278
  {
279
- style: w(G.value)
279
+ style: E(G.value)
280
280
  },
281
- L(e.errorLabel),
281
+ T(e.errorLabel),
282
282
  5
283
283
  /* TEXT, STYLE */
284
284
  )
@@ -290,7 +290,7 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
290
290
  z(
291
291
  "span",
292
292
  xe,
293
- L(e.errorLabel),
293
+ T(e.errorLabel),
294
294
  1
295
295
  /* TEXT */
296
296
  )
@@ -304,12 +304,12 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
304
304
  /* CLASS, STYLE */
305
305
  ));
306
306
  }
307
- }), Le = (l, h) => {
307
+ }), Te = (l, h) => {
308
308
  const g = l.__vccOpts || l;
309
- for (const [o, k] of h)
310
- g[o] = k;
309
+ for (const [o, L] of h)
310
+ g[o] = L;
311
311
  return g;
312
- }, ke = /* @__PURE__ */ Le(Te, [["__scopeId", "data-v-9399e230"]]), Se = {
312
+ }, Le = /* @__PURE__ */ Te(ke, [["__scopeId", "data-v-9399e230"]]), Se = {
313
313
  "--das-ui-input-default-text-color": "#212121",
314
314
  "--das-ui-input-default-placeholder-text-color": "#B2B2B2",
315
315
  "--das-ui-input-full-border-color": "#D9D9D9",
@@ -326,15 +326,15 @@ const fe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
326
326
  "--das-ui-input-only-bottom-view-border-color": "#E5E5E5",
327
327
  "--das-ui-input-success-color": "#1BA854",
328
328
  "--das-ui-input-error-color": "#FB2323"
329
- }, Ee = {
330
- 共: { "zh-CN": "共", en: "Total" },
331
- 项: { "zh-CN": "项", en: "Item" },
332
- 请输入: { "zh-CN": "请输入", en: "Please Enter" }
329
+ }, we = {
330
+ 共: { "zh-CN": "共", en: "Total", _appCode: "framework" },
331
+ 项: { "zh-CN": "项", en: "Item", _appCode: "framework" },
332
+ 请输入: { "zh-CN": "请输入", en: "Please Enter", _appCode: "framework" }
333
333
  };
334
- pe(Ee);
334
+ pe(we);
335
335
  te(Se);
336
- const Ce = ee(ke);
336
+ const Ve = ee(Le);
337
337
  export {
338
- Ce as DasInput,
339
- Ce as default
338
+ Ve as DasInput,
339
+ Ve as default
340
340
  };
@@ -2,10 +2,12 @@ declare const _default: {
2
2
  加载中: {
3
3
  'zh-CN': string;
4
4
  en: string;
5
+ _appCode: string;
5
6
  };
6
7
  'das-ui-live-player-videoLoadFailedRetry': {
7
8
  'zh-CN': string;
8
9
  en: string;
10
+ _appCode: string;
9
11
  };
10
12
  };
11
13
  export default _default;
@@ -4446,10 +4446,11 @@ const Rt = /* @__PURE__ */ di(_i), hi = ["element-loading-text", "element-loadin
4446
4446
  fe[Z] = O;
4447
4447
  return fe;
4448
4448
  }, ui = /* @__PURE__ */ li(ci, [["__scopeId", "data-v-70d5eba5"]]), fi = {
4449
- 加载中: { "zh-CN": "加载中", en: "Loading" },
4449
+ 加载中: { "zh-CN": "加载中", en: "Loading", _appCode: "framework" },
4450
4450
  "das-ui-live-player-videoLoadFailedRetry": {
4451
4451
  "zh-CN": "视频加载失败,请点击重试",
4452
- en: "Video Loading Failed. Please Click to Retry"
4452
+ en: "Video Loading Failed. Please Click to Retry",
4453
+ _appCode: "framework"
4453
4454
  }
4454
4455
  };
4455
4456
  oi(fi);
@@ -2,6 +2,7 @@ declare const _default: {
2
2
  加载: {
3
3
  'zh-CN': string;
4
4
  en: string;
5
+ _appCode: string;
5
6
  };
6
7
  };
7
8
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import '@das-fed/ui/packages/components/loading/style.css';
2
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";
3
+ import { setThemeRule as re } from "@das-fed/web/packages/theme/index";
4
+ import { setI18nRule as ce, 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
@@ -14,9 +14,9 @@ const K = (t) => typeof t == "string", F = (t) => t !== null && typeof t == "obj
14
14
  return (n) => e[n] || (e[n] = t(n));
15
15
  }, de = /-(\w)/g, ie = G(
16
16
  (t) => t.replace(de, (e, n) => n ? n.toUpperCase() : "")
17
- ), ue = /\B([A-Z])/g, ve = G(
17
+ ), ue = /\B([A-Z])/g, fe = G(
18
18
  (t) => t.replace(ue, "-$1").toLowerCase()
19
- ), fe = (t) => typeof t == "number";
19
+ ), ve = (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);
@@ -30,16 +30,16 @@ const q = (t = "") => t.split(" ").filter((e) => !!e.trim()), E = (t, e) => {
30
30
  let n = ie(e);
31
31
  n === "float" && (n = "cssFloat");
32
32
  try {
33
- const r = t.style[n];
34
- if (r) return r;
33
+ const c = t.style[n];
34
+ if (c) return c;
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", me = "is-", m = (t, e, n, o, r) => {
40
+ }, L = "das", me = "is-", m = (t, e, n, o, c) => {
41
41
  let a = `${t}-${e}`;
42
- return n && (a += `-${n}`), o && (a += `__${o}`), r && (a += `--${r}`), a;
42
+ return n && (a += `-${n}`), o && (a += `__${o}`), c && (a += `--${c}`), a;
43
43
  }, ge = Symbol("namespaceContextKey"), pe = (t) => {
44
44
  const e = t || D(ge, I(L));
45
45
  return x(() => R(e) || L);
@@ -50,34 +50,34 @@ const q = (t = "") => t.split(" ").filter((e) => !!e.trim()), E = (t, e) => {
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, 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;
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
59
  return s && d ? `${me}${s}` : "";
60
60
  },
61
61
  // css
62
62
  cssVar: (s) => {
63
- const c = {};
63
+ const r = {};
64
64
  for (const d in s)
65
- s[d] && (c[`--${n.value}-${d}`] = s[d]);
66
- return c;
65
+ s[d] && (r[`--${n.value}-${d}`] = s[d]);
66
+ return r;
67
67
  },
68
68
  cssVarName: (s) => `--${n.value}-${s}`,
69
69
  cssVarBlock: (s) => {
70
- const c = {};
70
+ const r = {};
71
71
  for (const d in s)
72
- s[d] && (c[`--${n.value}-${t}-${d}`] = s[d]);
73
- return c;
72
+ s[d] && (r[`--${n.value}-${t}-${d}`] = s[d]);
73
+ return r;
74
74
  },
75
75
  cssVarBlockName: (s) => `--${n.value}-${t}-${s}`
76
76
  };
77
77
  }, S = I(0), U = 2e3, be = Symbol("zIndexContextKey"), xe = (t) => {
78
78
  const e = t || D(be, void 0), n = x(() => {
79
79
  const a = R(e);
80
- return fe(a) ? a : U;
80
+ return ve(a) ? a : U;
81
81
  }), o = x(() => n.value + S.value);
82
82
  return {
83
83
  initialZIndex: n,
@@ -99,8 +99,8 @@ function _e(t) {
99
99
  }
100
100
  const k = (t, e) => {
101
101
  const n = t.__vccOpts || t;
102
- for (const [o, r] of e)
103
- n[o] = r;
102
+ for (const [o, c] of e)
103
+ n[o] = c;
104
104
  return n;
105
105
  }, Ce = {}, $e = { class: "das-loading-container das-loading-page" };
106
106
  function Ie(t, e) {
@@ -137,20 +137,20 @@ function Be(t) {
137
137
  originalOverflow: "",
138
138
  visible: !1
139
139
  });
140
- function r(l) {
140
+ function c(l) {
141
141
  o.text = l;
142
142
  }
143
143
  function a() {
144
- const l = o.parent, f = p.ns;
144
+ const l = o.parent, v = p.ns;
145
145
  if (!l.vLoadingAddClassList) {
146
- let v = l.getAttribute("loading-number");
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"));
146
+ let f = l.getAttribute("loading-number");
147
+ f = Number.parseInt(f) - 1, f ? l.setAttribute("loading-number", f.toString()) : ($(l, v.bm("parent", "relative")), l.removeAttribute("loading-number")), $(l, v.bm("parent", "hidden"));
148
148
  }
149
149
  u(), h.unmount();
150
150
  }
151
151
  function u() {
152
- var l, f;
153
- (f = (l = p.$el) == null ? void 0 : l.parentNode) == null || f.removeChild(p.$el);
152
+ var l, v;
153
+ (v = (l = p.$el) == null ? void 0 : l.parentNode) == null || v.removeChild(p.$el);
154
154
  }
155
155
  function y() {
156
156
  var l;
@@ -163,20 +163,20 @@ function Be(t) {
163
163
  }
164
164
  const g = Q({
165
165
  name: "DasLoading",
166
- setup(l, { expose: f }) {
167
- const { ns: v, zIndex: s } = _e("loading");
168
- return f({
169
- ns: v,
166
+ setup(l, { expose: v }) {
167
+ const { ns: f, zIndex: s } = _e("loading");
168
+ return v({
169
+ ns: f,
170
170
  zIndex: s
171
171
  }), () => {
172
- let c = o.spinner || o.svg || O;
172
+ let r = o.spinner || o.svg || O;
173
173
  const d = o.type;
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;
174
+ d == "page" && (r = O), d == "container" && (r = ze), d == "component" && (r = Ne);
175
+ const H = _(r), J = o.text ? _("p", { class: f.b("text") }, [o.text]) : void 0;
176
176
  return _(
177
177
  W,
178
178
  {
179
- name: v.b("fade"),
179
+ name: f.b("fade"),
180
180
  onAfterLeave: i
181
181
  },
182
182
  {
@@ -189,7 +189,7 @@ function Be(t) {
189
189
  backgroundColor: o.background || ""
190
190
  },
191
191
  class: [
192
- v.b("mask"),
192
+ f.b("mask"),
193
193
  o.customClass,
194
194
  o.fullscreen ? "is-fullscreen" : ""
195
195
  ]
@@ -198,7 +198,7 @@ function Be(t) {
198
198
  _(
199
199
  "div",
200
200
  {
201
- class: v.b("spinner")
201
+ class: f.b("spinner")
202
202
  },
203
203
  [H, J]
204
204
  )
@@ -214,7 +214,7 @@ function Be(t) {
214
214
  }), h = oe(g), p = h.mount(document.createElement("div"));
215
215
  return {
216
216
  ...se(o),
217
- setText: r,
217
+ setText: c,
218
218
  removeElLoadingChild: u,
219
219
  close: y,
220
220
  handleAfterLeave: i,
@@ -233,8 +233,8 @@ const Y = function(t = {}) {
233
233
  const n = Be({
234
234
  ...e,
235
235
  closed: () => {
236
- var r;
237
- (r = e.closed) == null || r.call(e), e.fullscreen && (C = void 0);
236
+ var c;
237
+ (c = e.closed) == null || c.call(e), e.fullscreen && (C = void 0);
238
238
  }
239
239
  });
240
240
  Se(e, e.parent, n), T(e, e.parent, n), e.parent.vLoadingAddClassList = () => T(e, e.parent, n);
@@ -257,30 +257,30 @@ const Y = function(t = {}) {
257
257
  target: e
258
258
  };
259
259
  }, Se = async (t, e, n) => {
260
- const { nextZIndex: o } = n.vm.zIndex || n.vm._.exposed.zIndex, r = {};
260
+ const { nextZIndex: o } = n.vm.zIndex || n.vm._.exposed.zIndex, c = {};
261
261
  if (t.fullscreen)
262
- n.originalPosition.value = b(document.body, "position"), n.originalOverflow.value = b(document.body, "overflow"), r.zIndex = o();
262
+ n.originalPosition.value = b(document.body, "position"), n.originalOverflow.value = b(document.body, "overflow"), c.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
- r[a] = `${t.target.getBoundingClientRect()[a] + document.body[u] + document.documentElement[u] - Number.parseInt(b(document.body, `margin-${a}`), 10)}px`;
267
+ c[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
- r[a] = `${t.target.getBoundingClientRect()[a]}px`;
270
+ c[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(r))
273
+ for (const [a, u] of Object.entries(c))
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
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, r = (i) => {
279
+ const n = e.instance, o = (i) => F(e.value) ? e.value[i] : void 0, c = (i) => {
280
280
  const g = K(i) && (n == null ? void 0 : n[i]) || i;
281
281
  return g && I(g);
282
- }, a = (i) => r(
283
- o(i) || t.getAttribute(`das-loading-${ve(i)}`)
282
+ }, a = (i) => c(
283
+ o(i) || t.getAttribute(`das-loading-${fe(i)}`)
284
284
  ), u = o("fullscreen") ?? e.modifiers.fullscreen, y = {
285
285
  type: a("type"),
286
286
  text: a("text"),
@@ -320,9 +320,9 @@ const Y = function(t = {}) {
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 = { 加载: { "zh-CN": "加载", en: "Loading" } };
324
- re(Pe);
325
- ce(Te);
323
+ }, Pe = { 加载: { "zh-CN": "加载", en: "Loading", _appCode: "framework" } };
324
+ ce(Pe);
325
+ re(Te);
326
326
  const Ke = {
327
327
  service: Y
328
328
  }, Fe = { name: `loading ${le("加载")}` };
@@ -2,18 +2,22 @@ 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
  thirdPartyMapErrorRetry: {
15
18
  'zh-CN': string;
16
19
  en: string;
20
+ _appCode: string;
17
21
  };
18
22
  };
19
23
  export default _default;