@das-fed/ui 7.0.7-hot.17 → 7.0.7-hot.19

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 (222) hide show
  1. package/esm-map.json +2 -2
  2. package/package.json +5 -5
  3. package/packages/business-components/ai-panel/{index-OwRrV6K8.js → index-BeqEuT6Z.js} +1 -1
  4. package/packages/business-components/ai-panel/index-BeqEuT6Z.js.gz +0 -0
  5. package/packages/business-components/ai-panel/{index-8yffh0Id.js → index-DP1B0qnu.js} +1138 -1120
  6. package/packages/business-components/ai-panel/index-DP1B0qnu.js.gz +0 -0
  7. package/packages/business-components/ai-panel/{index-IzGl26KU.js → index-d7mK0plW.js} +5 -5
  8. package/packages/business-components/ai-panel/index-d7mK0plW.js.gz +0 -0
  9. package/packages/business-components/ai-panel/index.js +1 -1
  10. package/packages/business-components/app-container/index.js +75 -75
  11. package/packages/business-components/app-container/index.js.gz +0 -0
  12. package/packages/business-components/area-phone-select/index.js +87 -87
  13. package/packages/business-components/area-phone-select/index.js.gz +0 -0
  14. package/packages/business-components/change-enterprises/index.js +19 -19
  15. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  16. package/packages/business-components/change-pwd/index.js +15 -15
  17. package/packages/business-components/change-pwd/index.js.gz +0 -0
  18. package/packages/business-components/currency-page/index.js +40 -40
  19. package/packages/business-components/currency-page/index.js.gz +0 -0
  20. package/packages/business-components/device-panel/index.js +265 -265
  21. package/packages/business-components/device-panel/index.js.gz +0 -0
  22. package/packages/business-components/device-panel/style.css +1 -1
  23. package/packages/business-components/device-panel/style.css.gz +0 -0
  24. package/packages/business-components/export-button/index.js +92 -92
  25. package/packages/business-components/export-button/index.js.gz +0 -0
  26. package/packages/business-components/import-button/index.js +191 -191
  27. package/packages/business-components/import-button/index.js.gz +0 -0
  28. package/packages/business-components/layout-breadcrumb/index.js +47 -47
  29. package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
  30. package/packages/business-components/model-table-dialog/index.js +232 -232
  31. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  32. package/packages/business-components/payment/api.d.ts +8 -0
  33. package/packages/business-components/payment/index.d.ts +9 -11
  34. package/packages/business-components/payment/index.js +186 -180
  35. package/packages/business-components/payment/index.js.gz +0 -0
  36. package/packages/business-components/payment/style.css +1 -1
  37. package/packages/business-components/payment/type.d.ts +2 -0
  38. package/packages/business-components/process-configuration/index.js +5 -5
  39. package/packages/business-components/process-configuration/index.js.gz +0 -0
  40. package/packages/business-components/process-configuration/style.css +1 -1
  41. package/packages/business-components/process-configuration/style.css.gz +0 -0
  42. package/packages/business-components/process-form/index.js +1154 -1134
  43. package/packages/business-components/process-form/index.js.gz +0 -0
  44. package/packages/business-components/process-form/src/utils/common-methods.d.ts +6 -0
  45. package/packages/business-components/process-log/index.js +329 -329
  46. package/packages/business-components/process-log/index.js.gz +0 -0
  47. package/packages/business-components/process-log/style.css +1 -1
  48. package/packages/business-components/process-log/style.css.gz +0 -0
  49. package/packages/business-components/process-search-form/index.js +54 -54
  50. package/packages/business-components/process-search-form/index.js.gz +0 -0
  51. package/packages/business-components/upload-file/index.js +46 -46
  52. package/packages/business-components/upload-file/index.js.gz +0 -0
  53. package/packages/business-components/upload-file/style.css +1 -1
  54. package/packages/business-components/urgent-panel/index.js +295 -295
  55. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  56. package/packages/business-components/video-dialog/index.d.ts +10 -0
  57. package/packages/business-components/video-dialog/index.js +396 -377
  58. package/packages/business-components/video-dialog/index.js.gz +0 -0
  59. package/packages/business-components/video-dialog/src/api.d.ts +1 -0
  60. package/packages/business-components/video-dialog/src/component/Player/index.vue.d.ts +2 -0
  61. package/packages/business-components/video-dialog/src/hooks/use-video/PlayerProvider.d.ts +6 -0
  62. package/packages/business-components/video-dialog/src/index.vue.d.ts +2 -0
  63. package/packages/business-components/video-dialog/src/type.d.ts +7 -1
  64. package/packages/business-components/video-dialog/style.css +1 -1
  65. package/packages/business-components/video-dialog/style.css.gz +0 -0
  66. package/packages/components/alert/index.js +9 -9
  67. package/packages/components/alert/index.js.gz +0 -0
  68. package/packages/components/audio-video/index.js +141 -141
  69. package/packages/components/audio-video/index.js.gz +0 -0
  70. package/packages/components/autocomplete/index.js +39 -39
  71. package/packages/components/autocomplete/index.js.gz +0 -0
  72. package/packages/components/autocomplete/style.css +1 -1
  73. package/packages/components/autocomplete/style.css.gz +0 -0
  74. package/packages/components/breadcrumb/index.js +39 -39
  75. package/packages/components/breadcrumb/index.js.gz +0 -0
  76. package/packages/components/button/index.js +188 -188
  77. package/packages/components/button/index.js.gz +0 -0
  78. package/packages/components/calendar/index.js +172 -172
  79. package/packages/components/calendar/index.js.gz +0 -0
  80. package/packages/components/cascader/index.js +92 -92
  81. package/packages/components/cascader/index.js.gz +0 -0
  82. package/packages/components/cascader/style.css +1 -1
  83. package/packages/components/cascader/style.css.gz +0 -0
  84. package/packages/components/checkbox/index.js +176 -176
  85. package/packages/components/checkbox/index.js.gz +0 -0
  86. package/packages/components/checkbox/style.css +1 -1
  87. package/packages/components/checkbox/style.css.gz +0 -0
  88. package/packages/components/collapse-panel/index.js +16 -16
  89. package/packages/components/collapse-panel/index.js.gz +0 -0
  90. package/packages/components/collaspe/index.js +22 -22
  91. package/packages/components/collaspe/index.js.gz +0 -0
  92. package/packages/components/custom-search-item/index.js +36 -36
  93. package/packages/components/custom-search-item/index.js.gz +0 -0
  94. package/packages/components/date-picker/index.js +496 -496
  95. package/packages/components/date-picker/index.js.gz +0 -0
  96. package/packages/components/date-picker/style.css +1 -1
  97. package/packages/components/date-picker/style.css.gz +0 -0
  98. package/packages/components/dialog/index.js +89 -89
  99. package/packages/components/dialog/index.js.gz +0 -0
  100. package/packages/components/dimple-layout/index.js +73 -31
  101. package/packages/components/dimple-layout/index.js.gz +0 -0
  102. package/packages/components/dropdown/index.js +30 -30
  103. package/packages/components/dropdown/index.js.gz +0 -0
  104. package/packages/components/edit-table/index.d.ts +2 -2
  105. package/packages/components/edit-table/index.js +150 -150
  106. package/packages/components/edit-table/index.js.gz +0 -0
  107. package/packages/components/empty/index.js +32 -32
  108. package/packages/components/empty/index.js.gz +0 -0
  109. package/packages/components/error-overlay-model/index.js +30 -30
  110. package/packages/components/error-overlay-model/index.js.gz +0 -0
  111. package/packages/components/form/index.js +19 -19
  112. package/packages/components/form/index.js.gz +0 -0
  113. package/packages/components/form-item/index.js +715 -715
  114. package/packages/components/form-item/index.js.gz +0 -0
  115. package/packages/components/form-item/style.css +1 -1
  116. package/packages/components/form-item/style.css.gz +0 -0
  117. package/packages/components/hls-player/index.js +5229 -4588
  118. package/packages/components/hls-player/index.js.gz +0 -0
  119. package/packages/components/hls-player/src/type.d.ts +3 -0
  120. package/packages/components/hls-player/style.css +1 -1
  121. package/packages/components/hls-player/style.css.gz +0 -0
  122. package/packages/components/image-upload/index.js +184 -184
  123. package/packages/components/image-upload/index.js.gz +0 -0
  124. package/packages/components/image-viewer/index.js +566 -566
  125. package/packages/components/image-viewer/index.js.gz +0 -0
  126. package/packages/components/input/index.js +94 -94
  127. package/packages/components/input/index.js.gz +0 -0
  128. package/packages/components/input-dialog-select/index.js +86 -86
  129. package/packages/components/input-dialog-select/index.js.gz +0 -0
  130. package/packages/components/input-number/index.js +93 -93
  131. package/packages/components/input-number/index.js.gz +0 -0
  132. package/packages/components/input-number/style.css +1 -1
  133. package/packages/components/input-number/style.css.gz +0 -0
  134. package/packages/components/live-player/index.d.ts +2 -0
  135. package/packages/components/live-player/index.js +822 -814
  136. package/packages/components/live-player/index.js.gz +0 -0
  137. package/packages/components/live-player/src/type.d.ts +3 -0
  138. package/packages/components/live-player/style.css +1 -1
  139. package/packages/components/loading/index.js +45 -45
  140. package/packages/components/loading/index.js.gz +0 -0
  141. package/packages/components/menu-aside/index.js +558 -558
  142. package/packages/components/menu-aside/index.js.gz +0 -0
  143. package/packages/components/menu-header/index.js +16 -16
  144. package/packages/components/menu-header/index.js.gz +0 -0
  145. package/packages/components/pagination/index.js +100 -100
  146. package/packages/components/pagination/index.js.gz +0 -0
  147. package/packages/components/pagination/style.css +1 -1
  148. package/packages/components/pagination/style.css.gz +0 -0
  149. package/packages/components/popover/index.js +33 -33
  150. package/packages/components/popover/index.js.gz +0 -0
  151. package/packages/components/popup-mask/index.js +13 -13
  152. package/packages/components/popup-mask/index.js.gz +0 -0
  153. package/packages/components/progress/index.js +111 -111
  154. package/packages/components/progress/index.js.gz +0 -0
  155. package/packages/components/progress/style.css +1 -1
  156. package/packages/components/progress/style.css.gz +0 -0
  157. package/packages/components/radio/index.js +162 -162
  158. package/packages/components/radio/index.js.gz +0 -0
  159. package/packages/components/rich-editor/index.js +7906 -7889
  160. package/packages/components/rich-editor/index.js.gz +0 -0
  161. package/packages/components/scrollbar/index.js +2 -2
  162. package/packages/components/scrollbar/index.js.gz +0 -0
  163. package/packages/components/search/index.js +76 -76
  164. package/packages/components/search/index.js.gz +0 -0
  165. package/packages/components/search-form/index.js +598 -597
  166. package/packages/components/search-form/index.js.gz +0 -0
  167. package/packages/components/search-form/style.css +1 -1
  168. package/packages/components/search-form/style.css.gz +0 -0
  169. package/packages/components/select/index.js +284 -284
  170. package/packages/components/select/index.js.gz +0 -0
  171. package/packages/components/select/style.css +1 -1
  172. package/packages/components/select/style.css.gz +0 -0
  173. package/packages/components/select-input/index.js +76 -76
  174. package/packages/components/select-input/index.js.gz +0 -0
  175. package/packages/components/select-list/index.js +406 -406
  176. package/packages/components/select-list/index.js.gz +0 -0
  177. package/packages/components/select-list/style.css +1 -1
  178. package/packages/components/select-list/style.css.gz +0 -0
  179. package/packages/components/special-range-picker-month/index.js +154 -154
  180. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  181. package/packages/components/special-range-picker-month/style.css +1 -1
  182. package/packages/components/special-range-picker-month/style.css.gz +0 -0
  183. package/packages/components/special-range-picker-year/index.js +196 -196
  184. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  185. package/packages/components/special-range-picker-year/style.css +1 -1
  186. package/packages/components/special-range-picker-year/style.css.gz +0 -0
  187. package/packages/components/spin/index.js +30 -30
  188. package/packages/components/spin/index.js.gz +0 -0
  189. package/packages/components/split-panel/index.js +60 -60
  190. package/packages/components/split-panel/index.js.gz +0 -0
  191. package/packages/components/table/index.d.ts +253 -27
  192. package/packages/components/table/index.js +2061 -2061
  193. package/packages/components/table/index.js.gz +0 -0
  194. package/packages/components/table/src/Table.vue.d.ts +39 -5
  195. package/packages/components/tabs/index.js +109 -109
  196. package/packages/components/tabs/index.js.gz +0 -0
  197. package/packages/components/time-line/index.js +35 -35
  198. package/packages/components/time-line/index.js.gz +0 -0
  199. package/packages/components/tooltip/index.js +52 -52
  200. package/packages/components/tooltip/index.js.gz +0 -0
  201. package/packages/components/tooltip/style.css +1 -1
  202. package/packages/components/tooltip/style.css.gz +0 -0
  203. package/packages/components/tree/index.js +748 -748
  204. package/packages/components/tree/index.js.gz +0 -0
  205. package/packages/components/tree/src/App.vue.d.ts +29 -5
  206. package/packages/components/tree-select/index.js +262 -262
  207. package/packages/components/tree-select/index.js.gz +0 -0
  208. package/packages/components/tree-select/src/App.vue.d.ts +116 -16
  209. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +116 -16
  210. package/packages/components/tree-table/index.js +224 -224
  211. package/packages/components/tree-table/index.js.gz +0 -0
  212. package/packages/components/tree-v2/index.d.ts +175 -27
  213. package/packages/components/tree-v2/index.js +614 -614
  214. package/packages/components/tree-v2/index.js.gz +0 -0
  215. package/packages/components/tree-v2/src/App.vue.d.ts +27 -5
  216. package/packages/components/upload/index.js +80 -80
  217. package/packages/components/upload/index.js.gz +0 -0
  218. package/packages/components/virtual-tree/index.js +61 -61
  219. package/packages/components/virtual-tree/index.js.gz +0 -0
  220. package/packages/business-components/ai-panel/index-8yffh0Id.js.gz +0 -0
  221. package/packages/business-components/ai-panel/index-IzGl26KU.js.gz +0 -0
  222. package/packages/business-components/ai-panel/index-OwRrV6K8.js.gz +0 -0
@@ -1,9 +1,9 @@
1
- import { defineComponent as v, ref as a, createBlock as g, openBlock as x, unref as s, withCtx as y, createTextVNode as c, createElementVNode as D, toDisplayString as r } from "vue";
1
+ import { defineComponent as _, ref as a, createBlock as g, openBlock as x, unref as s, withCtx as y, createTextVNode as c, createElementVNode as D, toDisplayString as r } from "vue";
2
2
  import { DasDialog as C } from "@das-fed/ui/packages/components/dialog/index";
3
3
  import { t as V } from "@das-fed/web/packages/i18n/index";
4
4
  const b = {
5
5
  name: "deleteDialog"
6
- }, B = /* @__PURE__ */ v({
6
+ }, B = /* @__PURE__ */ _({
7
7
  ...b,
8
8
  emits: ["confirm", "cancel", "close"],
9
9
  setup(k, { expose: i, emit: f }) {
@@ -26,7 +26,7 @@ const b = {
26
26
  size: "mini",
27
27
  feedType: "delete",
28
28
  modelValue: e.value,
29
- "onUpdate:modelValue": o[0] || (o[0] = (_) => e.value = _),
29
+ "onUpdate:modelValue": o[0] || (o[0] = (v) => e.value = v),
30
30
  type: "feedback",
31
31
  "destroy-on-close": "",
32
32
  bodyStyle: "font-size: 16px;"
@@ -50,8 +50,8 @@ const b = {
50
50
  /* TEXT */
51
51
  )
52
52
  ]),
53
- _: 1,
54
- __: [1]
53
+ _: 1
54
+ /* STABLE */
55
55
  }, 8, ["modelValue"]));
56
56
  }
57
57
  });
@@ -1,7 +1,7 @@
1
1
  import '@das-fed/ui/packages/business-components/ai-panel/style.css';
2
2
  import "vue";
3
3
  import "@das-fed/utils/with-install/index";
4
- import { D as m, a as p } from "./index-8yffh0Id.js";
4
+ import { D as m, a as p } from "./index-DP1B0qnu.js";
5
5
  import "@das-fed/web/packages/i18n/index";
6
6
  export {
7
7
  m as DasAiPanel,
@@ -1,15 +1,15 @@
1
1
  import '@das-fed/ui/packages/business-components/app-container/style.css';
2
2
  import { withInstall as U } from "@das-fed/utils/with-install/index";
3
- import { defineComponent as $, computed as k, ref as M, watch as z, onMounted as O, createBlock as f, openBlock as c, unref as i, withCtx as h, createElementVNode as l, normalizeStyle as x, normalizeClass as G, createElementBlock as r, Fragment as g, renderList as _, createCommentVNode as D, toDisplayString as y, withDirectives as q, createTextVNode as j } from "vue";
3
+ import { defineComponent as $, computed as x, ref as M, watch as z, onMounted as O, createBlock as h, openBlock as a, unref as i, withCtx as g, createElementVNode as s, normalizeStyle as D, normalizeClass as G, createElementBlock as r, Fragment as _, renderList as y, createCommentVNode as q, toDisplayString as F, withDirectives as j, createTextVNode as E } from "vue";
4
4
  import { ElRow as J, ElCol as K } from "element-plus";
5
5
  import "element-plus/es/components/row/style/css";
6
6
  import "element-plus/es/components/col/style/css";
7
7
  import { DasEmpty as Q } from "@das-fed/ui/packages/components/empty/index";
8
- import { vDasTooltip as E } from "@das-fed/ui/packages/components/text-tooltip/index";
8
+ import { vDasTooltip as T } from "@das-fed/ui/packages/components/text-tooltip/index";
9
9
  import { DasScrollbar as X } from "@das-fed/ui/packages/components/scrollbar/index";
10
- import { pureImageSrc as T } from "@das-fed/utils/pure-image-src";
10
+ import { pureImageSrc as H } from "@das-fed/utils/pure-image-src";
11
11
  import { setThemeRule as Y } from "@das-fed/web/packages/theme/index";
12
- const H = {
12
+ const N = {
13
13
  "--das-application-app-bg-color": {
14
14
  kjl: "#2673DC",
15
15
  cjb: "#343848",
@@ -25,25 +25,25 @@ const H = {
25
25
  }, Z = {
26
26
  key: 0,
27
27
  class: "application-list"
28
- }, A = { class: "table" }, tt = { class: "table-cell column_1" }, et = { class: "app-name" }, ot = { class: "table-cell column_2" }, nt = { class: "column_2_content" }, at = ["onClick"], ct = { class: "sub-app-item" }, st = ["src"], lt = { class: "sub-app-item-content" }, it = { class: "name" }, rt = { class: "describe" }, pt = /* @__PURE__ */ $({
28
+ }, A = { class: "table" }, tt = { class: "table-cell column_1" }, et = { class: "app-name" }, ot = { class: "table-cell column_2" }, nt = { class: "column_2_content" }, ct = ["onClick"], at = { class: "sub-app-item" }, lt = ["src"], st = { class: "sub-app-item-content" }, it = { class: "name" }, rt = { class: "describe" }, pt = /* @__PURE__ */ $({
29
29
  __name: "index",
30
30
  props: {
31
31
  theme: { default: "default" },
32
32
  appCategorys: { default: () => [] }
33
33
  },
34
34
  emits: ["open-app"],
35
- setup(N, { emit: b }) {
36
- const p = N, I = b, L = k(() => {
35
+ setup(m, { emit: b }) {
36
+ const p = m, I = b, L = x(() => {
37
37
  const t = {};
38
- return p.theme === "default" || Object.keys(H).forEach((e) => {
38
+ return p.theme === "default" || Object.keys(N).forEach((e) => {
39
39
  var o;
40
- t[e] = (o = H[e]) == null ? void 0 : o[p.theme];
40
+ t[e] = (o = N[e]) == null ? void 0 : o[p.theme];
41
41
  }), t;
42
- }), R = (t) => I("open-app", t), F = M("18px"), S = (t, e) => {
42
+ }), R = (t) => I("open-app", t), S = M("18px"), C = (t, e) => {
43
43
  if (!e) return;
44
44
  if (e.offsetWidth > t) {
45
- const s = parseInt(window.getComputedStyle(e).fontSize) - 1;
46
- e.style.fontSize = s + "px", F.value = s + "px", S(t, e);
45
+ const l = parseInt(window.getComputedStyle(e).fontSize) - 1;
46
+ e.style.fontSize = l + "px", S.value = l + "px", C(t, e);
47
47
  }
48
48
  }, V = () => new Promise((t) => {
49
49
  const e = () => {
@@ -52,129 +52,129 @@ const H = {
52
52
  setTimeout(() => e(), 50);
53
53
  };
54
54
  e();
55
- }), C = async () => {
55
+ }), v = async () => {
56
56
  await V();
57
57
  const t = document.querySelectorAll(".application-content .column_1 .app-name")[0];
58
58
  if (!t) return;
59
- const e = parseInt(getComputedStyle(t).paddingLeft) || 0, o = parseInt(getComputedStyle(t).paddingRight) || 0, a = t.clientWidth - e - o;
60
- let s = 0, n = null;
59
+ const e = parseInt(getComputedStyle(t).paddingLeft) || 0, o = parseInt(getComputedStyle(t).paddingRight) || 0, c = t.clientWidth - e - o;
60
+ let l = 0, n = null;
61
61
  document.querySelectorAll(".application-content .column_1 .app-name > .text").forEach((d) => {
62
- const u = d.offsetWidth;
63
- u > s && (s = u, n = d);
64
- }), S(a, n);
62
+ const f = d.offsetWidth;
63
+ f > l && (l = f, n = d);
64
+ }), C(c, n);
65
65
  }, W = () => new Promise((t) => {
66
66
  const e = () => {
67
- const o = document.querySelectorAll(".application-content .column_1"), a = document.querySelectorAll(".application-content .column_2");
68
- if (o != null && o.length && o.length === p.appCategorys.length && (a != null && a.length) && a.length === p.appCategorys.length)
67
+ const o = document.querySelectorAll(".application-content .column_1"), c = document.querySelectorAll(".application-content .column_2");
68
+ if (o != null && o.length && o.length === p.appCategorys.length && (c != null && c.length) && c.length === p.appCategorys.length)
69
69
  return t();
70
70
  setTimeout(() => e(), 50);
71
71
  };
72
72
  e();
73
- }), v = async () => {
73
+ }), w = async () => {
74
74
  await W(), document.querySelectorAll(".application-content .application-list .table .table-row").forEach((e) => {
75
- const o = e.querySelector(".column_1"), a = e.querySelector(".column_2>.column_2_content"), s = o.offsetHeight, n = a.offsetHeight;
76
- if (s > n) {
77
- const m = s - n, d = a.querySelectorAll(".app-row"), u = d.length;
78
- d.forEach((w) => {
79
- const P = w.offsetHeight;
80
- w.style.height = P + m / u + "px";
75
+ const o = e.querySelector(".column_1"), c = e.querySelector(".column_2>.column_2_content"), l = o.offsetHeight, n = c.offsetHeight;
76
+ if (l > n) {
77
+ const u = l - n, d = c.querySelectorAll(".app-row"), f = d.length;
78
+ d.forEach((k) => {
79
+ const P = k.offsetHeight;
80
+ k.style.height = P + u / f + "px";
81
81
  });
82
82
  }
83
83
  });
84
- }, B = k(() => p.appCategorys.map((t) => t.name));
85
- return z(() => B.value, C, { deep: !0 }), z(() => p.appCategorys, v, { deep: !0 }), O(() => {
86
- C(), v();
87
- }), (t, e) => (c(), f(i(X), null, {
88
- default: h(() => [
89
- l(
84
+ }, B = x(() => p.appCategorys.map((t) => t.name));
85
+ return z(() => B.value, v, { deep: !0 }), z(() => p.appCategorys, w, { deep: !0 }), O(() => {
86
+ v(), w();
87
+ }), (t, e) => (a(), h(i(X), null, {
88
+ default: g(() => [
89
+ s(
90
90
  "div",
91
91
  {
92
- class: G(["application-content", `theme-${t.theme}`]),
93
- style: x(L.value)
92
+ class: G(["application-content", `theme-${m.theme}`]),
93
+ style: D(L.value)
94
94
  },
95
95
  [
96
- t.appCategorys && t.appCategorys.length ? (c(), r("div", Z, [
97
- (c(!0), r(
98
- g,
96
+ m.appCategorys && m.appCategorys.length ? (a(), r("div", Z, [
97
+ (a(!0), r(
98
+ _,
99
99
  null,
100
- _(t.appCategorys, (o, a) => (c(), r("div", A, [
101
- (c(), r("div", {
102
- key: a,
100
+ y(m.appCategorys, (o, c) => (a(), r("div", A, [
101
+ (a(), r("div", {
102
+ key: c,
103
103
  class: "table-row"
104
104
  }, [
105
- D(" 第一列 "),
106
- l("div", tt, [
107
- l("div", et, [
108
- l(
105
+ q(" 第一列 "),
106
+ s("div", tt, [
107
+ s("div", et, [
108
+ s(
109
109
  "span",
110
110
  {
111
111
  class: "text",
112
- style: x({ fontSize: F.value })
112
+ style: D({ fontSize: S.value })
113
113
  },
114
- y(o.name),
114
+ F(o.name),
115
115
  5
116
116
  /* TEXT, STYLE */
117
117
  )
118
118
  ])
119
119
  ]),
120
- D(" 第二列 "),
121
- l("div", ot, [
122
- l("div", nt, [
123
- (c(!0), r(
124
- g,
120
+ q(" 第二列 "),
121
+ s("div", ot, [
122
+ s("div", nt, [
123
+ (a(!0), r(
124
+ _,
125
125
  null,
126
- _(o.apps, (s) => (c(), f(
126
+ y(o.apps, (l) => (a(), h(
127
127
  i(J),
128
128
  {
129
129
  class: "app-row",
130
130
  gutter: 20
131
131
  },
132
132
  {
133
- default: h(() => [
134
- (c(!0), r(
135
- g,
133
+ default: g(() => [
134
+ (a(!0), r(
135
+ _,
136
136
  null,
137
- _(s, (n, m) => (c(), f(
137
+ y(l, (n, u) => (a(), h(
138
138
  i(K),
139
139
  {
140
140
  class: "app-col",
141
- key: m,
141
+ key: u,
142
142
  span: 6
143
143
  },
144
144
  {
145
- default: h(() => [
146
- l("div", {
145
+ default: g(() => [
146
+ s("div", {
147
147
  class: "sub-app",
148
148
  onClick: (d) => R(n)
149
149
  }, [
150
- l("div", ct, [
151
- l("img", {
150
+ s("div", at, [
151
+ s("img", {
152
152
  class: "img",
153
- src: n != null && n.iconDomain ? n.iconDomain + i(T)(n == null ? void 0 : n.iconUrl) : i(T)(n == null ? void 0 : n.iconUrl),
153
+ src: n != null && n.iconDomain ? n.iconDomain + i(H)(n == null ? void 0 : n.iconUrl) : i(H)(n == null ? void 0 : n.iconUrl),
154
154
  alt: ""
155
- }, null, 8, st),
156
- l("div", lt, [
157
- q((c(), r("div", it, [
158
- j(
159
- y(n.name),
155
+ }, null, 8, lt),
156
+ s("div", st, [
157
+ j((a(), r("div", it, [
158
+ E(
159
+ F(n.name),
160
160
  1
161
161
  /* TEXT */
162
162
  )
163
163
  ])), [
164
- [i(E)]
164
+ [i(T)]
165
165
  ]),
166
- q((c(), r("div", rt, [
167
- j(
168
- y(n.description),
166
+ j((a(), r("div", rt, [
167
+ E(
168
+ F(n.description),
169
169
  1
170
170
  /* TEXT */
171
171
  )
172
172
  ])), [
173
- [i(E)]
173
+ [i(T)]
174
174
  ])
175
175
  ])
176
176
  ])
177
- ], 8, at)
177
+ ], 8, ct)
178
178
  ]),
179
179
  _: 2
180
180
  /* DYNAMIC */
@@ -202,7 +202,7 @@ const H = {
202
202
  256
203
203
  /* UNKEYED_FRAGMENT */
204
204
  ))
205
- ])) : (c(), f(i(Q), {
205
+ ])) : (a(), h(i(Q), {
206
206
  key: 1,
207
207
  size: "large"
208
208
  }))
@@ -1,18 +1,18 @@
1
1
  import '@das-fed/ui/packages/business-components/area-phone-select/style.css';
2
- import { defineComponent as $, ref as s, computed as c, onMounted as N, createBlock as U, openBlock as d, unref as p, mergeProps as W, withCtx as _, createElementVNode as y, createElementBlock as h, createCommentVNode as R, createVNode as C, withDirectives as z, Fragment as L, renderList as x, normalizeClass as B, createTextVNode as M, toDisplayString as A, renderSlot as j, nextTick as q, onBeforeUnmount as G, normalizeStyle as H } from "vue";
2
+ import { defineComponent as $, ref as l, computed as p, onMounted as N, createBlock as U, openBlock as d, unref as c, mergeProps as W, withCtx as I, createElementVNode as y, createElementBlock as h, createCommentVNode as R, createVNode as C, withDirectives as z, Fragment as L, renderList as M, normalizeClass as B, createTextVNode as j, toDisplayString as A, renderSlot as q, nextTick as G, onBeforeUnmount as H, normalizeStyle as J } from "vue";
3
3
  import { withInstall as E } from "@das-fed/utils/with-install/index";
4
- import { t as J, setI18nRule as K } from "@das-fed/web/packages/i18n/index";
5
- import { DasPopoverRef as Q, DasPopover as X } from "@das-fed/ui/packages/components/popover/index";
6
- import { DasScrollbar as Y } from "@das-fed/ui/packages/components/scrollbar/index";
7
- import { DasSearch as Z } from "@das-fed/ui/packages/components/search/index";
4
+ import { t as K, setI18nRule as Q } from "@das-fed/web/packages/i18n/index";
5
+ import { DasPopoverRef as X, DasPopover as Y } from "@das-fed/ui/packages/components/popover/index";
6
+ import { DasScrollbar as Z } from "@das-fed/ui/packages/components/scrollbar/index";
7
+ import { DasSearch as _ } from "@das-fed/ui/packages/components/search/index";
8
8
  import { DasIconFold as ee } from "@das-fed/ui/packages/icons/fold/index";
9
- import { DasEmpty as oe } from "@das-fed/ui/packages/components/empty/index";
10
- import { vDasTooltip as te } from "@das-fed/ui/packages/components/text-tooltip/index";
9
+ import { DasEmpty as te } from "@das-fed/ui/packages/components/empty/index";
10
+ import { vDasTooltip as oe } from "@das-fed/ui/packages/components/text-tooltip/index";
11
11
  import { vDasLoading as ae } from "@das-fed/ui/packages/components/loading/index";
12
- import { createService as se } from "@das-fed/utils/api-services";
13
- import { DasInput as le } from "@das-fed/ui/packages/components/input/index";
12
+ import { createService as le } from "@das-fed/utils/api-services";
13
+ import { DasInput as se } from "@das-fed/ui/packages/components/input/index";
14
14
  import { SizeWatcher as ne } from "@das-fed/utils/size-watcher";
15
- const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(t), O = (t) => typeof t == "string" && re(t) ? t : t + "px", ie = se("/api/tool/v2"), de = ie.get("/dictionary/phone-codes"), ue = { class: "label" }, pe = { class: "das-ui-area-phone-popover-content" }, ce = {
15
+ const ie = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(e), O = (e) => typeof e == "string" && ie(e) ? e : e + "px", re = le("/api/tool/v2"), de = re.get("/dictionary/phone-codes"), ue = { class: "label" }, ce = { class: "das-ui-area-phone-popover-content" }, pe = {
16
16
  key: 0,
17
17
  class: "search-box"
18
18
  }, ve = { class: "list" }, me = ["onClick"], fe = { class: "item-label" }, he = { class: "item-code" }, be = {
@@ -30,8 +30,8 @@ const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
30
30
  filter: { type: Boolean, default: !0 }
31
31
  },
32
32
  emits: ["update:modelValue", "update:visible", "change"],
33
- setup(t, { expose: b, emit: r }) {
34
- const a = t, v = r, V = Q(), m = s(""), g = s(J("area-phone-placeholder")), P = c(() => a.width ? O(a.width) : "240px"), D = s({
33
+ setup(e, { expose: b, emit: i }) {
34
+ const o = e, v = i, V = X(), m = l(""), g = l(K("area-phone-placeholder")), P = p(() => o.width ? O(o.width) : "240px"), x = l({
35
35
  modifiers: [
36
36
  {
37
37
  name: "offset",
@@ -40,63 +40,63 @@ const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
40
40
  }
41
41
  }
42
42
  ]
43
- }), f = c({
44
- get: () => a.visible,
45
- set: (o) => {
46
- v("update:visible", o);
43
+ }), f = p({
44
+ get: () => o.visible,
45
+ set: (a) => {
46
+ v("update:visible", a);
47
47
  }
48
- }), u = c({
49
- get: () => a.modelValue ?? {
48
+ }), u = p({
49
+ get: () => o.modelValue ?? {
50
50
  name: "中国",
51
51
  code: "CN",
52
52
  phoneCode: "+86"
53
53
  },
54
- set: (o) => {
55
- v("update:modelValue", o);
54
+ set: (a) => {
55
+ v("update:modelValue", a);
56
56
  }
57
- }), k = c(() => u.value[a.label]), S = (o) => {
58
- u.value = o, f.value = !1, v("change", o);
59
- }, I = c(() => a.filter ? e.value.filter((o) => o.name.includes(m.value)) : e.value), e = s([]), l = s(!1);
57
+ }), D = p(() => u.value[o.label]), S = (a) => {
58
+ u.value = a, f.value = !1, v("change", a);
59
+ }, k = p(() => o.filter ? t.value.filter((a) => a.name.includes(m.value)) : t.value), t = l([]), s = l(!1);
60
60
  return N(async () => {
61
- l.value = !0;
62
- const [o, i] = await de().run();
63
- l.value = !1, !o && (e.value = i || []);
64
- }), b({ popoverRef: V }), (o, i) => (d(), U(p(X), W({
61
+ s.value = !0;
62
+ const [a, r] = await de().run();
63
+ s.value = !1, !a && (t.value = r || []);
64
+ }), b({ popoverRef: V }), (a, r) => (d(), U(c(Y), W({
65
65
  ref_key: "popoverRef",
66
66
  ref: V,
67
- "show-arrow": o.showArrow,
68
- "popper-options": D.value,
67
+ "show-arrow": e.showArrow,
68
+ "popper-options": x.value,
69
69
  trigger: "click",
70
70
  width: P.value,
71
71
  popperClass: "das-ui-area-phone-popover",
72
72
  visible: f.value,
73
- "onUpdate:visible": i[1] || (i[1] = (n) => f.value = n),
74
- disabled: o.isView || o.disabled
75
- }, o.$attrs, {
76
- onBeforeLeave: i[2] || (i[2] = (n) => m.value = "")
73
+ "onUpdate:visible": r[1] || (r[1] = (n) => f.value = n),
74
+ disabled: e.isView || e.disabled
75
+ }, a.$attrs, {
76
+ onBeforeLeave: r[2] || (r[2] = (n) => m.value = "")
77
77
  }), {
78
- reference: _(() => [
79
- j(o.$slots, "reference", {}, () => [
78
+ reference: I(() => [
79
+ q(a.$slots, "reference", {}, () => [
80
80
  y(
81
81
  "div",
82
82
  {
83
- class: B(["das-ui-area-phone-popover-reference", o.disabled ? "is-disabled" : ""])
83
+ class: B(["das-ui-area-phone-popover-reference", e.disabled ? "is-disabled" : ""])
84
84
  },
85
85
  [
86
86
  y(
87
87
  "div",
88
88
  ue,
89
- A(k.value),
89
+ A(D.value),
90
90
  1
91
91
  /* TEXT */
92
92
  ),
93
93
  y(
94
94
  "div",
95
95
  {
96
- class: B({ "icon-box": !0, show: f.value, hide: o.isView || o.disabled })
96
+ class: B({ "icon-box": !0, show: f.value, hide: e.isView || e.disabled })
97
97
  },
98
98
  [
99
- C(p(ee), { size: "medium" })
99
+ C(c(ee), { size: "medium" })
100
100
  ],
101
101
  2
102
102
  /* CLASS */
@@ -107,43 +107,43 @@ const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
107
107
  )
108
108
  ], !0)
109
109
  ]),
110
- default: _(() => [
111
- y("div", pe, [
112
- o.filter ? (d(), h("div", ce, [
113
- C(p(Z), {
110
+ default: I(() => [
111
+ y("div", ce, [
112
+ e.filter ? (d(), h("div", pe, [
113
+ C(c(_), {
114
114
  isIconLeft: "",
115
115
  size: "custom",
116
116
  placeholder: g.value,
117
117
  border: "",
118
118
  width: "100%",
119
119
  modelValue: m.value,
120
- "onUpdate:modelValue": i[0] || (i[0] = (n) => m.value = n)
120
+ "onUpdate:modelValue": r[0] || (r[0] = (n) => m.value = n)
121
121
  }, null, 8, ["placeholder", "modelValue"])
122
122
  ])) : R("v-if", !0),
123
- C(p(Y), null, {
124
- default: _(() => [
123
+ C(c(Z), null, {
124
+ default: I(() => [
125
125
  z((d(), h("div", ve, [
126
- l.value ? R("v-if", !0) : (d(), h(
126
+ s.value ? R("v-if", !0) : (d(), h(
127
127
  L,
128
128
  { key: 0 },
129
129
  [
130
130
  (d(!0), h(
131
131
  L,
132
132
  null,
133
- x(I.value, (n) => (d(), h("div", {
133
+ M(k.value, (n) => (d(), h("div", {
134
134
  class: B(["item", {
135
135
  selected: u.value && u.value.name + u.value.phoneCode == n.name + n.phoneCode
136
136
  }]),
137
137
  onClick: (Ce) => S(n)
138
138
  }, [
139
139
  z((d(), h("div", fe, [
140
- M(
140
+ j(
141
141
  A(n.name ?? ""),
142
142
  1
143
143
  /* TEXT */
144
144
  )
145
145
  ])), [
146
- [p(te)]
146
+ [c(oe)]
147
147
  ]),
148
148
  y(
149
149
  "div",
@@ -156,13 +156,13 @@ const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
156
156
  256
157
157
  /* UNKEYED_FRAGMENT */
158
158
  )),
159
- I.value.length ? R("v-if", !0) : (d(), U(p(oe), { key: 0 }))
159
+ k.value.length ? R("v-if", !0) : (d(), U(c(te), { key: 0 }))
160
160
  ],
161
161
  64
162
162
  /* STABLE_FRAGMENT */
163
163
  ))
164
164
  ])), [
165
- [p(ae), l.value]
165
+ [c(ae), s.value]
166
166
  ])
167
167
  ]),
168
168
  _: 1
@@ -174,11 +174,11 @@ const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
174
174
  /* FORWARDED */
175
175
  }, 16, ["show-arrow", "popper-options", "width", "visible", "disabled"]));
176
176
  }
177
- }), T = (t, b) => {
178
- const r = t.__vccOpts || t;
179
- for (const [a, v] of b)
180
- r[a] = v;
181
- return r;
177
+ }), T = (e, b) => {
178
+ const i = e.__vccOpts || e;
179
+ for (const [o, v] of b)
180
+ i[o] = v;
181
+ return i;
182
182
  }, F = /* @__PURE__ */ T(we, [["__scopeId", "data-v-762f72de"]]), Ve = /* @__PURE__ */ $({
183
183
  __name: "index",
184
184
  props: {
@@ -189,60 +189,60 @@ const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
189
189
  disabled: { type: Boolean }
190
190
  },
191
191
  emits: ["update:modelValue", "update:areaItem", "change", "area-change"],
192
- setup(t, { emit: b }) {
193
- const r = t, a = b, v = c(() => r.width ? O(r.width) : "100%"), V = c({
194
- get: () => r.modelValue,
195
- set: (e) => a("update:modelValue", e)
196
- }), m = c({
197
- get: () => r.areaItem ?? {},
198
- set: (e) => {
199
- a("update:areaItem", e);
192
+ setup(e, { emit: b }) {
193
+ const i = e, o = b, v = p(() => i.width ? O(i.width) : "100%"), V = p({
194
+ get: () => i.modelValue,
195
+ set: (t) => o("update:modelValue", t)
196
+ }), m = p({
197
+ get: () => i.areaItem ?? {},
198
+ set: (t) => {
199
+ o("update:areaItem", t);
200
200
  }
201
- }), g = s(null), P = s(null), D = s(null), f = s(240), u = s(!1), k = () => {
201
+ }), g = l(null), P = l(null), x = l(null), f = l(240), u = l(!1), D = () => {
202
202
  f.value = g.value.clientWidth ?? 0;
203
203
  };
204
204
  N(() => {
205
- q(() => {
206
- k(), D.value = ne(() => {
207
- k();
205
+ G(() => {
206
+ D(), x.value = ne(() => {
207
+ D();
208
208
  }, g.value);
209
209
  });
210
- }), G(() => {
211
- var e;
212
- (e = D.value) == null || e.disconnect();
210
+ }), H(() => {
211
+ var t;
212
+ (t = x.value) == null || t.disconnect();
213
213
  });
214
- const S = (e) => {
215
- a("area-change", e);
216
- }, I = (e) => {
217
- a("change", e);
214
+ const S = (t) => {
215
+ o("area-change", t);
216
+ }, k = (t) => {
217
+ o("change", t);
218
218
  };
219
- return (e, l) => (d(), h(
219
+ return (t, s) => (d(), h(
220
220
  "div",
221
221
  {
222
222
  ref_key: "phoneRef",
223
223
  ref: g,
224
224
  class: B(["das-ui-area-phone-select", { "is-disabled": e.disabled && !e.isView, "is-view": e.isView }]),
225
- style: H({ width: v.value })
225
+ style: J({ width: v.value })
226
226
  },
227
227
  [
228
- C(p(le), W({
228
+ C(c(se), W({
229
229
  ref_key: "inputRef",
230
230
  ref: P,
231
231
  width: "100%",
232
232
  disabled: e.disabled,
233
233
  isView: e.isView,
234
234
  modelValue: V.value,
235
- "onUpdate:modelValue": l[2] || (l[2] = (w) => V.value = w),
236
- onChange: I
237
- }, e.$attrs), {
238
- prepend: _(() => [
235
+ "onUpdate:modelValue": s[2] || (s[2] = (w) => V.value = w),
236
+ onChange: k
237
+ }, t.$attrs), {
238
+ prepend: I(() => [
239
239
  C(F, {
240
240
  visible: u.value,
241
- "onUpdate:visible": l[0] || (l[0] = (w) => u.value = w),
241
+ "onUpdate:visible": s[0] || (s[0] = (w) => u.value = w),
242
242
  isView: e.isView,
243
243
  disabled: e.disabled,
244
244
  modelValue: m.value,
245
- "onUpdate:modelValue": l[1] || (l[1] = (w) => m.value = w),
245
+ "onUpdate:modelValue": s[1] || (s[1] = (w) => m.value = w),
246
246
  width: f.value,
247
247
  onChange: S
248
248
  }, null, 8, ["visible", "isView", "disabled", "modelValue", "width"])
@@ -258,8 +258,8 @@ const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
258
258
  }), ge = /* @__PURE__ */ T(Ve, [["__scopeId", "data-v-3b9ba6be"]]), ye = {
259
259
  "area-phone-placeholder": { "zh-CN": "请输入所在国家或区域中文名称", en: "Please enter your country or region" }
260
260
  };
261
- K(ye);
262
- const Ne = () => s(null), We = () => s(null), Ee = E(ge), Oe = E(F), Te = { name: "区号选择手机号输入框" };
261
+ Q(ye);
262
+ const Ne = () => l(null), We = () => l(null), Ee = E(ge), Oe = E(F), Te = { name: "区号选择手机号输入框" };
263
263
  export {
264
264
  Ee as DasAreaPhoneSelect,
265
265
  Ne as DasAreaPhoneSelectRef,