@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
@@ -0,0 +1,15 @@
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
+ export default _default;
@@ -1,19 +1,19 @@
1
1
  import '@das-fed/ui/packages/components/tabs/style.css';
2
2
  import { withInstall as J } from "@das-fed/utils/with-install/index";
3
3
  import { setThemeRule as Q } from "@das-fed/web/packages/theme/index";
4
- import { ref as w, computed as u, onMounted as X, defineComponent as Y, openBlock as i, createBlock as B, unref as r, mergeProps as j, createSlots as V, withCtx as b, renderSlot as y, createCommentVNode as c, createElementBlock as f, Fragment as g, renderList as K, normalizeStyle as Z, withDirectives as L, createTextVNode as $, toDisplayString as D, createVNode as ee, createElementVNode as te, normalizeClass as ae } from "vue";
4
+ import { ref as w, computed as u, onMounted as X, defineComponent as Y, openBlock as i, createBlock as z, unref as r, mergeProps as U, createSlots as j, withCtx as b, renderSlot as y, createCommentVNode as c, createElementBlock as f, Fragment as g, renderList as V, normalizeStyle as Z, withDirectives as B, createTextVNode as L, toDisplayString as $, createVNode as ee, createElementVNode as te, normalizeClass as ae } from "vue";
5
5
  import { DasIcon as oe } from "@das-fed/ui/packages/components/icon/index";
6
6
  import { vDasTooltip as I } from "@das-fed/ui/packages/components/text-tooltip/index";
7
7
  import { Tabs as se, TabPane as le } from "ant-design-vue";
8
8
  import "ant-design-vue/es/tabs/style/css";
9
9
  import { ElPopover as re } from "element-plus";
10
10
  import "element-plus/es/components/popover/style/css";
11
- import { t as R } from "@das-fed/web/packages/i18n/index";
12
- const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(a), z = (a) => {
11
+ import { t as R, setI18nRule as ne } from "@das-fed/web/packages/i18n/index";
12
+ const ie = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(a), D = (a) => {
13
13
  if (a)
14
- return typeof a == "string" && ne(a) ? a : a + "px";
15
- }, ie = (a, m) => {
16
- const e = w({}), p = w([
14
+ return typeof a == "string" && ie(a) ? a : a + "px";
15
+ }, de = (a, h) => {
16
+ const e = w({}), m = w([
17
17
  {
18
18
  key: "all",
19
19
  name: R("关闭全部页签"),
@@ -35,25 +35,25 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
35
35
  return k[(E = a.defualtProps) == null ? void 0 : E.key] === l[(x = a.defualtProps) == null ? void 0 : x.key];
36
36
  }) === o.length - 1
37
37
  }
38
- ]), F = u(() => a.constomMenuList && a.constomMenuList.length ? a.constomMenuList : p.value), C = u(() => {
38
+ ]), C = u(() => a.constomMenuList && a.constomMenuList.length ? a.constomMenuList : m.value), F = u(() => {
39
39
  let o;
40
- return a.width && (o = z(a.width)), o;
40
+ return a.width && (o = D(a.width)), o;
41
41
  }), T = u(() => {
42
42
  let o = a.type === "lattice" ? "65px" : void 0;
43
- return a.tabWidth && (o = z(a.tabWidth)), o;
43
+ return a.tabWidth && (o = D(a.tabWidth)), o;
44
44
  }), S = u(() => {
45
45
  let o;
46
- return a.tabMaxWidth && (o = z(a.tabMaxWidth)), o;
46
+ return a.tabMaxWidth && (o = D(a.tabMaxWidth)), o;
47
47
  }), A = w(!1), v = w(), M = (o) => {
48
48
  Object.keys(e.value).forEach((l) => {
49
49
  (A.value || l != o) && (e.value[l] = !1);
50
50
  });
51
- }, h = (o) => {
51
+ }, p = (o) => {
52
52
  const l = o.target.parentElement;
53
53
  A.value = !l.classList.contains("ant-tabs-tab-btn");
54
54
  }, O = (o, l) => {
55
55
  var P;
56
- m("menuClick", o, l), (P = v.value) != null && P.length && v.value.forEach((k) => {
56
+ h("menuClick", o, l), (P = v.value) != null && P.length && v.value.forEach((k) => {
57
57
  k.hide();
58
58
  });
59
59
  };
@@ -63,17 +63,17 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
63
63
  (l = a.defualtProps) != null && l.key && (e.value[o[a.defualtProps.key]] = !1);
64
64
  });
65
65
  }), {
66
- realWidth: C,
67
- realMenuList: F,
66
+ realWidth: F,
67
+ realMenuList: C,
68
68
  realTabWidth: T,
69
69
  realTabMaxWidth: S,
70
70
  tabsMenuPoppver: v,
71
71
  poppverVisible: e,
72
72
  menuClick: O,
73
73
  beforeEnter: M,
74
- onContextmenu: h
74
+ onContextmenu: p
75
75
  };
76
- }, N = {
76
+ }, K = {
77
77
  "--das-ui-tabs-color": {
78
78
  kjl: "#666666",
79
79
  ssl: "#999999",
@@ -84,13 +84,13 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
84
84
  ssl: "#161834",
85
85
  cjb: "#FAFAFA"
86
86
  }
87
- }, de = {
87
+ }, ue = {
88
88
  key: 1,
89
89
  class: "das-tab-label"
90
- }, ue = { class: "das-tabs-contextmenu-list" }, ce = ["onClick"], fe = {
90
+ }, ce = { class: "das-tabs-contextmenu-list" }, fe = ["onClick"], be = {
91
91
  key: 1,
92
92
  style: { position: "relative", top: "-5px", "font-size": "18px" }
93
- }, be = "#666666", ve = "#D9D9D9", ye = /* @__PURE__ */ Y({
93
+ }, ve = "#666666", ye = "#D9D9D9", he = /* @__PURE__ */ Y({
94
94
  inheritAttrs: !1,
95
95
  __name: "Tabs",
96
96
  props: {
@@ -120,14 +120,14 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
120
120
  hideOverflow: { type: Boolean }
121
121
  },
122
122
  emits: ["update:activeKey", "tabClick", "menuClick"],
123
- setup(a, { emit: m }) {
124
- const e = a, p = w(), F = (t) => {
123
+ setup(a, { emit: h }) {
124
+ const e = a, m = w(), C = (t) => {
125
125
  var d;
126
- v("tabClick", t), (d = p.value) == null || d.$el.click();
127
- }, C = u({
126
+ v("tabClick", t), (d = m.value) == null || d.$el.click();
127
+ }, F = u({
128
128
  get: () => e.activeKey ?? "",
129
129
  set: (t) => v("update:activeKey", t)
130
- }), T = u(() => e.options.filter((d) => !d.hidden)), S = (t) => e.isStrict ? !!(t.contentSlot && t[e.defualtProps.key] === C.value) : !!t.contentSlot, A = u(() => e.moreIconType ? e.moreIconType : e.type === "lattice" ? "default" : "arrow"), v = m, M = u(() => e.type === "lattice" ? "line" : e.type), h = u(() => {
130
+ }), T = u(() => e.options.filter((d) => !d.hidden)), S = (t) => e.isStrict ? !!(t.contentSlot && t[e.defualtProps.key] === F.value) : !!t.contentSlot, A = u(() => e.moreIconType ? e.moreIconType : e.type === "lattice" ? "default" : "arrow"), v = h, M = u(() => e.type === "lattice" ? "line" : e.type), p = u(() => {
131
131
  if (e.type === "card")
132
132
  return e.size ? e.size : "large";
133
133
  if (e.type === "line")
@@ -142,19 +142,19 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
142
142
  if (k.value || E.value) return "0";
143
143
  if (e.type === "line") return "0 20px";
144
144
  if (e.type === "card") {
145
- if (h.value === "large") return "0 40px";
146
- if (h.value === "medium" || h.value === "small") return "0 24px";
145
+ if (p.value === "large") return "0 40px";
146
+ if (p.value === "medium" || p.value === "small") return "0 24px";
147
147
  }
148
148
  if (e.type === "lattice") return "0 20px";
149
149
  }), P = u(() => {
150
150
  const t = {};
151
- return e.theme !== "default" && Object.keys(N).forEach((d) => {
152
- t[d] = N[d][e.theme];
151
+ return e.theme !== "default" && Object.keys(K).forEach((d) => {
152
+ t[d] = K[d][e.theme];
153
153
  }), {
154
154
  ...e.tabsStyle,
155
- "--das-ui-tabs-color": be,
155
+ "--das-ui-tabs-color": ve,
156
156
  "--das-ui-tabs-bg-color": O,
157
- "--das-ui-tabs-border-color": ve,
157
+ "--das-ui-tabs-border-color": ye,
158
158
  "---das-ui-tabs-tab-width": k.value,
159
159
  "---das-ui-tabs-tab-max-width": E.value,
160
160
  "---das-ui-tabs-tab-padding": l.value,
@@ -170,41 +170,41 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
170
170
  realMenuList: q,
171
171
  poppverVisible: W,
172
172
  beforeEnter: H,
173
- onContextmenu: U
174
- } = ie(e, v);
175
- return (t, d) => T.value && T.value.length ? (i(), B(r(se), j({
173
+ onContextmenu: N
174
+ } = de(e, v);
175
+ return (t, d) => T.value && T.value.length ? (i(), z(r(se), U({
176
176
  key: 0,
177
177
  ref_key: "tabsContainerRef",
178
- ref: p,
179
- class: ["das-tabs", t.type, h.value, t.hideOverflow ? "hide-overflow" : ""],
178
+ ref: m,
179
+ class: ["das-tabs", t.type, p.value, t.hideOverflow ? "hide-overflow" : ""],
180
180
  style: P.value,
181
181
  type: M.value,
182
182
  hideAdd: t.hideAdd,
183
- activeKey: C.value,
184
- "onUpdate:activeKey": d[1] || (d[1] = (s) => C.value = s)
185
- }, t.$attrs, { onTabClick: F }), V({
183
+ activeKey: F.value,
184
+ "onUpdate:activeKey": d[1] || (d[1] = (s) => F.value = s)
185
+ }, t.$attrs, { onTabClick: C }), j({
186
186
  moreIcon: b(() => [
187
187
  y(t.$slots, "moreIcon", {}, () => [
188
- A.value === "arrow" ? (i(), B(r(oe), {
188
+ A.value === "arrow" ? (i(), z(r(oe), {
189
189
  key: 0,
190
190
  icon: "fold",
191
191
  size: "small",
192
192
  "icon-color": "rgb(102, 102, 102)"
193
193
  })) : c("v-if", !0),
194
- A.value === "default" ? (i(), f("div", fe, "...")) : c("v-if", !0)
194
+ A.value === "default" ? (i(), f("div", be, "...")) : c("v-if", !0)
195
195
  ], !0)
196
196
  ]),
197
197
  default: b(() => [
198
198
  (i(!0), f(
199
199
  g,
200
200
  null,
201
- K(T.value, (s) => (i(), B(r(le), {
201
+ V(T.value, (s) => (i(), z(r(le), {
202
202
  style: Z({ width: r(x) }),
203
203
  key: s[t.defualtProps.key],
204
204
  tab: void 0,
205
205
  disabled: s.disabled,
206
206
  forceRender: s.forceRender
207
- }, V({
207
+ }, j({
208
208
  tab: b(() => [
209
209
  c(" 无右键菜单 "),
210
210
  t.contextmenu ? (i(), f(
@@ -212,7 +212,7 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
212
212
  { key: 1 },
213
213
  [
214
214
  c(" 有右键菜单 "),
215
- ee(r(re), j({
215
+ ee(r(re), U({
216
216
  ref_for: !0,
217
217
  ref_key: "tabsMenuPoppver",
218
218
  ref: G,
@@ -228,17 +228,17 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
228
228
  }), {
229
229
  reference: b(() => [
230
230
  c(" @slot 自定义选项卡头显示文字"),
231
- s.tabSlot ? y(t.$slots, s.tabSlot, { key: 0 }, void 0, !0) : L((i(), f(
231
+ s.tabSlot ? y(t.$slots, s.tabSlot, { key: 0 }, void 0, !0) : B((i(), f(
232
232
  "div",
233
233
  {
234
234
  key: 1,
235
235
  class: "das-tab-label",
236
236
  onContextmenu: d[0] || (d[0] = //@ts-ignore
237
- (...n) => r(U) && r(U)(...n))
237
+ (...n) => r(N) && r(N)(...n))
238
238
  },
239
239
  [
240
- $(
241
- D(s[t.defualtProps.tab]),
240
+ L(
241
+ $(s[t.defualtProps.tab]),
242
242
  1
243
243
  /* TEXT */
244
244
  )
@@ -250,28 +250,28 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
250
250
  ])
251
251
  ]),
252
252
  default: b(() => [
253
- te("ul", ue, [
253
+ te("ul", ce, [
254
254
  (i(!0), f(
255
255
  g,
256
256
  null,
257
- K(r(q), (n) => (i(), f(
257
+ V(r(q), (n) => (i(), f(
258
258
  g,
259
259
  null,
260
260
  [
261
- (typeof n.hidden == "function" ? !n.hidden(t.options, s) : !n.hidden) ? L((i(), f("li", {
261
+ (typeof n.hidden == "function" ? !n.hidden(t.options, s) : !n.hidden) ? B((i(), f("li", {
262
262
  key: n.key,
263
263
  class: ae([
264
264
  "das-tabs-contextmenu-item",
265
265
  (typeof n.disabled == "function" ? n.disabled(t.options, s) : n.disabled) ? "is-disabled" : ""
266
266
  ]),
267
- onClick: (ke) => r(_)(n, s)
267
+ onClick: (Ce) => r(_)(n, s)
268
268
  }, [
269
- $(
270
- D(n.name),
269
+ L(
270
+ $(n.name),
271
271
  1
272
272
  /* TEXT */
273
273
  )
274
- ], 10, ce)), [
274
+ ], 10, fe)), [
275
275
  [r(I)]
276
276
  ]) : c("v-if", !0)
277
277
  ],
@@ -294,9 +294,9 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
294
294
  { key: 0 },
295
295
  [
296
296
  c(" @slot 自定义选项卡头显示文字"),
297
- s.tabSlot ? y(t.$slots, s.tabSlot, { key: 0 }, void 0, !0) : L((i(), f("div", de, [
298
- $(
299
- D(s[t.defualtProps.tab]),
297
+ s.tabSlot ? y(t.$slots, s.tabSlot, { key: 0 }, void 0, !0) : B((i(), f("div", ue, [
298
+ L(
299
+ $(s[t.defualtProps.tab]),
300
300
  1
301
301
  /* TEXT */
302
302
  )
@@ -355,12 +355,12 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
355
355
  } : void 0
356
356
  ]), 1040, ["class", "style", "type", "hideAdd", "activeKey"])) : c("v-if", !0);
357
357
  }
358
- }), me = (a, m) => {
358
+ }), me = (a, h) => {
359
359
  const e = a.__vccOpts || a;
360
- for (const [p, F] of m)
361
- e[p] = F;
360
+ for (const [m, C] of h)
361
+ e[m] = C;
362
362
  return e;
363
- }, pe = /* @__PURE__ */ me(ye, [["__scopeId", "data-v-1b6336e0"]]), he = {
363
+ }, pe = /* @__PURE__ */ me(he, [["__scopeId", "data-v-1b6336e0"]]), ke = {
364
364
  "--das-ui-tabs-active-color": "#5582F3",
365
365
  "--das-ui-tabs-menu-color": "#212121",
366
366
  "--das-ui-tabs-menu-hover-bg-color": "#F5F5F5",
@@ -371,10 +371,15 @@ const ne = (a) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
371
371
  "--das-ui-edit-tabs-bg-color": "#FAFAFA",
372
372
  "--das-ui-card-tabs-bg-color": "#F5F5F5",
373
373
  "--das-ui-card-tabs-active-color": "#5582F3"
374
+ }, ge = {
375
+ 关闭全部页签: { "zh-CN": "关闭全部页签", en: "Close all tabs" },
376
+ 关闭其他页签: { "zh-CN": "关闭其他页签", en: "Close other tabs" },
377
+ 关闭右侧页签: { "zh-CN": "关闭右侧页签", en: "Close right tabs" }
374
378
  };
375
- Q(he);
376
- const Me = J(pe), Oe = { name: "Tabs 页签" };
379
+ ne(ge);
380
+ Q(ke);
381
+ const ze = J(pe), Be = { name: "Tabs 页签" };
377
382
  export {
378
- Me as DasTabs,
379
- Oe as default
383
+ ze as DasTabs,
384
+ Be as default
380
385
  };
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  'demo-msg': {
3
- 'zh-CN': string;
3
+ "zh-CN": string;
4
4
  en: string;
5
5
  };
6
6
  };
@@ -1,8 +1,8 @@
1
1
  import '@das-fed/ui/packages/components/time-line/style.css';
2
2
  import { withInstall as T } from "@das-fed/utils/with-install/index";
3
- import { defineComponent as $, provide as A, reactive as E, openBlock as d, createElementBlock as I, createVNode as w, unref as k, mergeProps as B, withCtx as u, renderSlot as o, ref as F, inject as S, onMounted as W, createBlock as P, createElementVNode as i, normalizeStyle as z } from "vue";
3
+ import { defineComponent as $, provide as A, reactive as E, openBlock as d, createElementBlock as I, createVNode as w, unref as k, mergeProps as B, withCtx as u, renderSlot as o, ref as F, inject as S, onMounted as W, createBlock as z, createElementVNode as i, normalizeStyle as L } from "vue";
4
4
  import "ant-design-vue/es/timeline/style/css";
5
- import { Timeline as L, TimelineItem as R } from "ant-design-vue";
5
+ import { Timeline as P, TimelineItem as R } from "ant-design-vue";
6
6
  import { setI18nRule as V } from "@das-fed/web/packages/i18n/index";
7
7
  import { setThemeRule as j } from "@das-fed/web/packages/theme/index";
8
8
  const M = { class: "das-ui-time-line" }, O = /* @__PURE__ */ $({
@@ -14,7 +14,7 @@ const M = { class: "das-ui-time-line" }, O = /* @__PURE__ */ $({
14
14
  },
15
15
  setup(a) {
16
16
  return A("DasForm", E({ props: a })), (l, n) => (d(), I("div", M, [
17
- w(k(L), B(l.$attrs, {
17
+ w(k(P), B(l.$attrs, {
18
18
  class: ["timeline-layout", "timeline-layout-" + l.layoutType, { "top-through": l.isThrough }]
19
19
  }), {
20
20
  default: u(() => [
@@ -77,7 +77,7 @@ const M = { class: "das-ui-time-line" }, O = /* @__PURE__ */ $({
77
77
  `
78
78
  ));
79
79
  }
80
- }), (t, r) => (d(), P(
80
+ }), (t, r) => (d(), z(
81
81
  k(R),
82
82
  B({
83
83
  ref_key: "$timelineitem",
@@ -91,7 +91,7 @@ const M = { class: "das-ui-time-line" }, O = /* @__PURE__ */ $({
91
91
  {
92
92
  key: 1,
93
93
  class: "das-timeline-dot-custom",
94
- style: z({ "background-color": t.color })
94
+ style: L({ "background-color": t.color })
95
95
  },
96
96
  null,
97
97
  4
@@ -124,10 +124,7 @@ const M = { class: "das-ui-time-line" }, O = /* @__PURE__ */ $({
124
124
  ));
125
125
  }
126
126
  }), Q = /* @__PURE__ */ C(K, [["__scopeId", "data-v-3fe8b33b"]]), U = {
127
- "demo-msg": {
128
- "zh-CN": "这是第一个示例路由页面",
129
- en: "This is Demo Page"
130
- }
127
+ "demo-msg": { "zh-CN": "这是第一个示例路由页面", en: "This is the first sample route page" }
131
128
  }, X = {
132
129
  "--demo-alert-bg": {
133
130
  light: "#fff",
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ 文字提示: {
3
+ "zh-CN": string;
4
+ en: string;
5
+ };
6
+ };
7
+ export default _default;
@@ -1,13 +1,13 @@
1
1
  import '@das-fed/ui/packages/components/tooltip/style.css';
2
- import { defineComponent as D, useCssVars as E, ref as c, computed as u, onMounted as L, onBeforeMount as _, openBlock as s, createBlock as N, unref as C, mergeProps as P, withCtx as x, withDirectives as V, createElementBlock as i, normalizeClass as b, renderSlot as $, Fragment as W, createTextVNode as q, toDisplayString as k, createCommentVNode as M, normalizeStyle as z } from "vue";
3
- import { setThemeRule as F } from "@das-fed/web/packages/theme/index";
4
- import { t as I } from "@das-fed/web/packages/i18n/index";
5
- import { withInstall as X } from "@das-fed/utils/with-install/index";
6
- import { vScrollbar as Y } from "@das-fed/ui/packages/components/scrollbar/index";
7
- import { ElTooltip as O } from "element-plus";
2
+ import { defineComponent as D, useCssVars as E, ref as c, computed as u, onMounted as L, onBeforeMount as N, openBlock as s, createBlock as _, unref as C, mergeProps as z, withCtx as x, withDirectives as I, createElementBlock as n, normalizeClass as b, renderSlot as $, Fragment as P, createTextVNode as V, toDisplayString as k, createCommentVNode as M, normalizeStyle as W } from "vue";
3
+ import { setThemeRule as q } from "@das-fed/web/packages/theme/index";
4
+ import { setI18nRule as F, t as X } from "@das-fed/web/packages/i18n/index";
5
+ import { withInstall as Y } from "@das-fed/utils/with-install/index";
6
+ import { vScrollbar as O } from "@das-fed/ui/packages/components/scrollbar/index";
7
+ import { ElTooltip as j } from "element-plus";
8
8
  import "element-plus/es/components/tooltip/style/css";
9
9
  import "@das-fed/ui/packages/global/theme";
10
- const j = ["innerHTML"], A = { key: 1 }, G = /* @__PURE__ */ D({
10
+ const A = ["innerHTML"], G = { key: 1 }, J = /* @__PURE__ */ D({
11
11
  __name: "index",
12
12
  props: {
13
13
  selfPopperClass: { default: "" },
@@ -22,15 +22,15 @@ const j = ["innerHTML"], A = { key: 1 }, G = /* @__PURE__ */ D({
22
22
  isMaxheight: { type: Boolean, default: !0 }
23
23
  },
24
24
  emits: ["show", "hide"],
25
- setup(n, { expose: d, emit: r }) {
25
+ setup(i, { expose: d, emit: r }) {
26
26
  E((e) => ({
27
- "731a99c6": B.value
27
+ "731a99c6": T.value
28
28
  }));
29
- const t = n, a = r, f = c(), m = c(!1), B = u(() => Number(t.row)), T = u(() => t.disabled ?? (t.text ? !m.value : !1)), h = u(() => t.content || t.text), H = (e) => {
29
+ const t = i, a = r, f = c(), m = c(!1), T = u(() => Number(t.row)), B = u(() => t.disabled ?? (t.text ? !m.value : !1)), h = u(() => t.content || t.text), H = (e) => {
30
30
  m.value = e.target.scrollHeight > e.target.clientHeight;
31
- }, S = (e) => {
32
- a("show", e);
33
31
  }, R = (e) => {
32
+ a("show", e);
33
+ }, S = (e) => {
34
34
  a("hide", e), window.removeEventListener("wheel", v);
35
35
  }, v = (e) => {
36
36
  var y;
@@ -42,35 +42,35 @@ const j = ["innerHTML"], A = { key: 1 }, G = /* @__PURE__ */ D({
42
42
  o && g >= p.left && g <= p.right && w >= p.top && w <= p.bottom || (y = f.value) == null || y.hide();
43
43
  };
44
44
  return L(() => {
45
- }), _(() => {
45
+ }), N(() => {
46
46
  window.removeEventListener("wheel", v);
47
47
  }), d({
48
48
  $tooltipRef: f
49
- }), (e, l) => (s(), N(C(O), P({
49
+ }), (e, l) => (s(), _(C(j), z({
50
50
  ref_key: "$tooltipRef",
51
51
  ref: f,
52
52
  class: "das-ui-tooltip",
53
- disabled: T.value,
53
+ disabled: B.value,
54
54
  effect: e.effect,
55
55
  "popper-class": `das-ui-tooltip-popper ${e.isMaxheight ? "max-height" : ""} ${e.selfPopperClass}`,
56
56
  "hide-after": 100,
57
57
  "show-after": 100,
58
- onShow: S,
59
- onHide: R
58
+ onShow: R,
59
+ onHide: S
60
60
  }, e.$attrs), {
61
61
  content: x(() => [
62
- V((s(), i(
62
+ I((s(), n(
63
63
  "div",
64
64
  {
65
65
  class: b({ "max-height": e.isMaxheight, "das-popper-content": !0 })
66
66
  },
67
67
  [
68
68
  $(e.$slots, "content", {}, void 0, !0),
69
- h.value && !e.$slots.content ? (s(), i(
70
- W,
69
+ h.value && !e.$slots.content ? (s(), n(
70
+ P,
71
71
  { key: 0 },
72
72
  [
73
- q(
73
+ V(
74
74
  k(h.value),
75
75
  1
76
76
  /* TEXT */
@@ -83,26 +83,26 @@ const j = ["innerHTML"], A = { key: 1 }, G = /* @__PURE__ */ D({
83
83
  2
84
84
  /* CLASS */
85
85
  )), [
86
- [C(Y)]
86
+ [C(O)]
87
87
  ])
88
88
  ]),
89
89
  default: x(() => [
90
90
  $(e.$slots, "default", {}, () => [
91
- e.text ? (s(), i(
91
+ e.text ? (s(), n(
92
92
  "div",
93
93
  {
94
94
  key: 0,
95
95
  onMouseenter: l[0] || (l[0] = (o) => H(o)),
96
96
  class: b(`das-tooltip-text-wrap ${e.customClass}`),
97
- style: z({ width: t.textWidth })
97
+ style: W({ width: t.textWidth })
98
98
  },
99
99
  [
100
- e.textHtml ? (s(), i("div", {
100
+ e.textHtml ? (s(), n("div", {
101
101
  key: 0,
102
102
  innerHTML: e.text
103
- }, null, 8, j)) : (s(), i(
103
+ }, null, 8, A)) : (s(), n(
104
104
  "div",
105
- A,
105
+ G,
106
106
  k(e.text),
107
107
  1
108
108
  /* TEXT */
@@ -117,20 +117,23 @@ const j = ["innerHTML"], A = { key: 1 }, G = /* @__PURE__ */ D({
117
117
  /* FORWARDED */
118
118
  }, 16, ["disabled", "effect", "popper-class"]));
119
119
  }
120
- }), J = (n, d) => {
121
- const r = n.__vccOpts || n;
120
+ }), K = (i, d) => {
121
+ const r = i.__vccOpts || i;
122
122
  for (const [t, a] of d)
123
123
  r[t] = a;
124
124
  return r;
125
- }, K = /* @__PURE__ */ J(G, [["__scopeId", "data-v-b5a9d25e"]]), Q = {
125
+ }, Q = /* @__PURE__ */ K(J, [["__scopeId", "data-v-b5a9d25e"]]), U = {
126
126
  "--das-ui-tooltip-font-normal": "#212121",
127
127
  "--das-ui-tooltip-font-light": "#fff",
128
128
  "--das-ui-tooltip-bgff-color": "#fff"
129
+ }, Z = {
130
+ 文字提示: { "zh-CN": "文字提示", en: "Text prompt" }
129
131
  };
130
- F(Q);
131
- const ne = () => c(null), re = X(K), ae = { name: `Tooltip ${I("文字提示")}` };
132
+ F(Z);
133
+ q(U);
134
+ const ae = () => c(null), pe = Y(Q), de = { name: `Tooltip ${X("文字提示")}` };
132
135
  export {
133
- re as DasTooltip,
134
- ne as DasTooltipRef,
135
- ae as default
136
+ pe as DasTooltip,
137
+ ae as DasTooltipRef,
138
+ de as default
136
139
  };
@@ -0,0 +1,35 @@
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
+ "zh-CN": string;
24
+ en: string;
25
+ };
26
+ 未查询到相关数据: {
27
+ "zh-CN": string;
28
+ en: string;
29
+ };
30
+ 换个关键词试试吧: {
31
+ "zh-CN": string;
32
+ en: string;
33
+ };
34
+ };
35
+ export default _default;