@das-fed/ui 6.4.0-dev.52 → 6.4.0-dev.54

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 (199) hide show
  1. package/esm-map.json +3 -1
  2. package/i18n-collection/en.js +407 -406
  3. package/i18n-collection/zh-CN.js +437 -437
  4. package/package.json +5 -5
  5. package/packages/business-components/app-container/index.d.ts +1 -0
  6. package/packages/business-components/app-container/index.js +152 -120
  7. package/packages/business-components/app-container/index.js.gz +0 -0
  8. package/packages/business-components/app-container/src/index.vue.d.ts +1 -0
  9. package/packages/business-components/app-container/src/style-theme.d.ts +18 -0
  10. package/packages/business-components/app-container/src/type.d.ts +1 -0
  11. package/packages/business-components/app-container/style.css +1 -1
  12. package/packages/business-components/app-container/style.css.gz +0 -0
  13. package/packages/business-components/app-container/theme/index.d.ts +1 -0
  14. package/packages/business-components/change-enterprises/i18n/index.d.ts +15 -0
  15. package/packages/business-components/change-enterprises/index.js +51 -45
  16. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  17. package/packages/business-components/change-pwd/i18n/index.d.ts +77 -1
  18. package/packages/business-components/change-pwd/index.js +118 -99
  19. package/packages/business-components/change-pwd/index.js.gz +0 -0
  20. package/packages/business-components/currency-page/i18n/index.d.ts +19 -0
  21. package/packages/business-components/currency-page/index.js +27 -20
  22. package/packages/business-components/currency-page/index.js.gz +0 -0
  23. package/packages/business-components/device-panel/i18n/index.d.ts +767 -0
  24. package/packages/business-components/device-panel/index.js +4961 -4767
  25. package/packages/business-components/device-panel/index.js.gz +0 -0
  26. package/packages/business-components/device-panel/style.css +1 -1
  27. package/packages/business-components/device-panel/style.css.gz +0 -0
  28. package/packages/business-components/export-button/i18n/index.d.ts +51 -0
  29. package/packages/business-components/export-button/index.js +117 -102
  30. package/packages/business-components/export-button/index.js.gz +0 -0
  31. package/packages/business-components/import-button/i18n/index.d.ts +103 -0
  32. package/packages/business-components/import-button/index.js +220 -192
  33. package/packages/business-components/import-button/index.js.gz +0 -0
  34. package/packages/business-components/model-table-dialog/i18n/index.d.ts +27 -0
  35. package/packages/business-components/model-table-dialog/index.js +663 -660
  36. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  37. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +48 -16
  38. package/packages/business-components/model-table-dialog/style.css +1 -1
  39. package/packages/business-components/model-table-dialog/style.css.gz +0 -0
  40. package/packages/business-components/process-configuration/i18n/index.d.ts +114 -1
  41. package/packages/business-components/process-configuration/index.js +158 -130
  42. package/packages/business-components/process-configuration/index.js.gz +0 -0
  43. package/packages/business-components/process-form/api-service/formPreView.d.ts +7 -0
  44. package/packages/business-components/process-form/apis.d.ts +1 -0
  45. package/packages/business-components/process-form/i18n/index.d.ts +279 -0
  46. package/packages/business-components/process-form/index.js +1170 -1071
  47. package/packages/business-components/process-form/index.js.gz +0 -0
  48. package/packages/business-components/process-form/src/widgets/store.d.ts +1 -0
  49. package/packages/business-components/process-form/style.css +1 -1
  50. package/packages/business-components/process-log/i18n/index.d.ts +33 -1
  51. package/packages/business-components/process-log/index.js +151 -146
  52. package/packages/business-components/process-log/index.js.gz +0 -0
  53. package/packages/business-components/process-search-form/i18n/index.d.ts +39 -0
  54. package/packages/business-components/process-search-form/index.d.ts +2 -2
  55. package/packages/business-components/process-search-form/index.js +420 -389
  56. package/packages/business-components/process-search-form/index.js.gz +0 -0
  57. package/packages/business-components/process-search-form/src/App.vue.d.ts +2 -2
  58. package/packages/business-components/process-search-form/src/type.d.ts +1 -1
  59. package/packages/business-components/process-table/i18n/index.d.ts +35 -0
  60. package/packages/business-components/process-table/index.js +265 -254
  61. package/packages/business-components/process-table/index.js.gz +0 -0
  62. package/packages/business-components/upload-file/i18n/index.d.ts +7 -0
  63. package/packages/business-components/upload-file/index.js +26 -22
  64. package/packages/business-components/upload-file/index.js.gz +0 -0
  65. package/packages/business-components/urgent-panel/i18n/index.d.ts +331 -0
  66. package/packages/business-components/urgent-panel/index.js +900 -814
  67. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  68. package/packages/business-components/user-org-dialog/i18n/index.d.ts +53 -1
  69. package/packages/business-components/user-org-dialog/index.js +196 -186
  70. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  71. package/packages/business-components/video-dialog/i18n/index.d.ts +71 -0
  72. package/packages/business-components/video-dialog/index.js +199 -179
  73. package/packages/business-components/video-dialog/index.js.gz +0 -0
  74. package/packages/components/button/i18n/index.d.ts +1 -6
  75. package/packages/components/button/index.js +16 -21
  76. package/packages/components/button/index.js.gz +0 -0
  77. package/packages/components/calendar/i18n/index.d.ts +52 -44
  78. package/packages/components/calendar/index.js +77 -75
  79. package/packages/components/calendar/index.js.gz +0 -0
  80. package/packages/components/cascader/i18n/index.d.ts +7 -0
  81. package/packages/components/cascader/index.js +38 -35
  82. package/packages/components/cascader/index.js.gz +0 -0
  83. package/packages/components/color-picker/i18n/index.d.ts +7 -0
  84. package/packages/components/color-picker/index.js +37 -34
  85. package/packages/components/color-picker/index.js.gz +0 -0
  86. package/packages/components/custom-search-item/i18n/index.d.ts +7 -0
  87. package/packages/components/custom-search-item/index.js +27 -24
  88. package/packages/components/custom-search-item/index.js.gz +0 -0
  89. package/packages/components/date-picker/i18n/index.d.ts +15 -0
  90. package/packages/components/date-picker/index.js +81 -76
  91. package/packages/components/date-picker/index.js.gz +0 -0
  92. package/packages/components/dialog/i18n/index.d.ts +6 -6
  93. package/packages/components/dialog/index.js +58 -58
  94. package/packages/components/dialog/index.js.gz +0 -0
  95. package/packages/components/dimple-layout/i18n/index.d.ts +43 -0
  96. package/packages/components/dimple-layout/index.js +1077 -1064
  97. package/packages/components/dimple-layout/index.js.gz +0 -0
  98. package/packages/components/dropdown/i18n/index.d.ts +7 -0
  99. package/packages/components/dropdown/index.js +32 -29
  100. package/packages/components/dropdown/index.js.gz +0 -0
  101. package/packages/components/empty/index.js +14 -16
  102. package/packages/components/empty/index.js.gz +0 -0
  103. package/packages/components/image-upload/i18n/index.d.ts +27 -3
  104. package/packages/components/image-upload/index.js +84 -78
  105. package/packages/components/image-upload/index.js.gz +0 -0
  106. package/packages/components/image-viewer/i18n/index.d.ts +31 -0
  107. package/packages/components/image-viewer/index.js +246 -237
  108. package/packages/components/image-viewer/index.js.gz +0 -0
  109. package/packages/components/input/i18n/index.d.ts +15 -0
  110. package/packages/components/input/index.js +50 -45
  111. package/packages/components/input/index.js.gz +0 -0
  112. package/packages/components/input-dialog-select/i18n/index.d.ts +1 -1
  113. package/packages/components/input-dialog-select/index.js +20 -23
  114. package/packages/components/input-dialog-select/index.js.gz +0 -0
  115. package/packages/components/live-player/i18n/index.d.ts +15 -0
  116. package/packages/components/live-player/index.js +15 -9
  117. package/packages/components/live-player/index.js.gz +0 -0
  118. package/packages/components/loading/i18n/index.d.ts +7 -0
  119. package/packages/components/loading/index.js +93 -90
  120. package/packages/components/loading/index.js.gz +0 -0
  121. package/packages/components/map/i18n/index.d.ts +23 -0
  122. package/packages/components/map/index.js +355 -347
  123. package/packages/components/map/index.js.gz +0 -0
  124. package/packages/components/menu-aside/i18n/index.d.ts +7 -0
  125. package/packages/components/menu-aside/index.js +221 -212
  126. package/packages/components/menu-aside/index.js.gz +0 -0
  127. package/packages/components/menu-aside/src/style-theme.d.ts +5 -0
  128. package/packages/components/menu-aside/style.css +1 -1
  129. package/packages/components/menu-aside/style.css.gz +0 -0
  130. package/packages/components/menu-aside/theme/base.d.ts +1 -0
  131. package/packages/components/menu-header/index.js +32 -26
  132. package/packages/components/menu-header/index.js.gz +0 -0
  133. package/packages/components/menu-header/src/style-theme.d.ts +5 -0
  134. package/packages/components/menu-header/theme/base.d.ts +1 -0
  135. package/packages/components/message/i18n/index.d.ts +7 -0
  136. package/packages/components/message/index.js +17 -14
  137. package/packages/components/message/index.js.gz +0 -0
  138. package/packages/components/notification/i18n/index.d.ts +7 -0
  139. package/packages/components/notification/index.js +10 -7
  140. package/packages/components/notification/index.js.gz +0 -0
  141. package/packages/components/pagination/i18n/index.d.ts +19 -0
  142. package/packages/components/pagination/index.js +81 -75
  143. package/packages/components/pagination/index.js.gz +0 -0
  144. package/packages/components/popover/i18n/index.d.ts +2 -2
  145. package/packages/components/preview/i18n/index.d.ts +1 -1
  146. package/packages/components/preview/index.js +1 -1
  147. package/packages/components/preview/index.js.gz +0 -0
  148. package/packages/components/rich-editor/i18n/index.d.ts +10 -3
  149. package/packages/components/rich-editor/index.js +4 -3
  150. package/packages/components/rich-editor/index.js.gz +0 -0
  151. package/packages/components/search/i18n/index.d.ts +25 -1
  152. package/packages/components/search/index.js +31 -28
  153. package/packages/components/search/index.js.gz +0 -0
  154. package/packages/components/select/i18n/index.d.ts +23 -0
  155. package/packages/components/select/index.js +204 -197
  156. package/packages/components/select/index.js.gz +0 -0
  157. package/packages/components/select-list/i18n/index.d.ts +4 -4
  158. package/packages/components/select-list/index.js +4 -4
  159. package/packages/components/select-list/index.js.gz +0 -0
  160. package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -4
  161. package/packages/components/special-range-picker-month/index.js +15 -15
  162. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  163. package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -3
  164. package/packages/components/special-range-picker-year/index.js +81 -81
  165. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  166. package/packages/components/spin/i18n/index.d.ts +7 -0
  167. package/packages/components/spin/index.js +35 -32
  168. package/packages/components/spin/index.js.gz +0 -0
  169. package/packages/components/table/i18n/index.d.ts +72 -2
  170. package/packages/components/table/index.js +1245 -1225
  171. package/packages/components/table/index.js.gz +0 -0
  172. package/packages/components/tabs/i18n/index.d.ts +15 -0
  173. package/packages/components/tabs/index.js +70 -65
  174. package/packages/components/tabs/index.js.gz +0 -0
  175. package/packages/components/time-line/i18n/index.d.ts +1 -1
  176. package/packages/components/time-line/index.js +6 -9
  177. package/packages/components/time-line/index.js.gz +0 -0
  178. package/packages/components/tooltip/i18n/index.d.ts +7 -0
  179. package/packages/components/tooltip/index.js +38 -35
  180. package/packages/components/tooltip/index.js.gz +0 -0
  181. package/packages/components/tree/i18n/index.d.ts +35 -0
  182. package/packages/components/tree/index.js +692 -682
  183. package/packages/components/tree/index.js.gz +0 -0
  184. package/packages/components/upload/i18n/index.d.ts +5 -5
  185. package/packages/components/upload/index.js +50 -50
  186. package/packages/components/upload/index.js.gz +0 -0
  187. package/packages/components/virtual-tree/i18n/index.d.ts +7 -0
  188. package/packages/components/virtual-tree/index.js +35 -31
  189. package/packages/components/virtual-tree/index.js.gz +0 -0
  190. package/packages/icons/edit-3/index.d.ts +1 -0
  191. package/packages/icons/edit-3/index.js +17 -0
  192. package/packages/icons/edit-3/index.js.gz +0 -0
  193. package/packages/icons/edit-3/index.vue.d.ts +16 -0
  194. package/packages/icons/index.d.ts +2 -0
  195. package/packages/icons/index.js +2 -0
  196. package/packages/icons/right-3/index.d.ts +1 -0
  197. package/packages/icons/right-3/index.js +17 -0
  198. package/packages/icons/right-3/index.js.gz +0 -0
  199. 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,30 +1,30 @@
1
1
  import '@das-fed/ui/packages/components/input/style.css';
2
2
  import { withInstall as _ } from "@das-fed/utils/with-install/index";
3
- import { getVarValue as D, setThemeRule as ee } from "@das-fed/web/packages/theme/index";
4
- import { defineComponent as te, computed as s, ref as r, watch as B, nextTick as C, openBlock as i, createElementBlock as d, normalizeStyle as w, normalizeClass as N, createCommentVNode as u, createVNode as R, unref as F, withCtx as y, mergeProps as oe, createSlots as le, renderSlot as T, toDisplayString as L, Fragment as re, createBlock as ae, Teleport as se, createElementVNode as $ } from "vue";
3
+ import { getVarValue as C, setThemeRule as ee } from "@das-fed/web/packages/theme/index";
4
+ import { defineComponent as te, computed as s, ref as r, watch as B, nextTick as N, openBlock as i, createElementBlock as d, normalizeStyle as w, normalizeClass as D, createCommentVNode as u, createVNode as R, unref as F, withCtx as y, mergeProps as oe, createSlots as le, renderSlot as T, toDisplayString as L, Fragment as re, createBlock as ae, Teleport as se, createElementVNode as z } from "vue";
5
5
  import "element-plus/es/components/input/style/css";
6
6
  import { ElInput as ie } from "element-plus";
7
7
  import { DasTooltip as ue } from "@das-fed/ui/packages/components/tooltip/index";
8
- import { t as ne } from "@das-fed/web/packages/i18n/index";
9
- const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-content", "revert", "unset", "-webkit-fill-available"], pe = (l) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(l), fe = (l) => {
8
+ import { t as ne, setI18nRule as de } from "@das-fed/web/packages/i18n/index";
9
+ const pe = ["auto", "fit-content", "inherit", "initial", "max-content", "min-content", "revert", "unset", "-webkit-fill-available"], fe = (l) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(l), ce = (l) => {
10
10
  if (l)
11
- return typeof l == "string" && pe(l) || typeof l == "string" && de.includes(l) ? l : l + "px";
12
- }, ce = {
11
+ return typeof l == "string" && fe(l) || typeof l == "string" && pe.includes(l) ? l : l + "px";
12
+ }, ve = {
13
13
  key: 0,
14
14
  class: "das-input-label-content"
15
- }, ve = {
15
+ }, me = {
16
16
  key: 0,
17
17
  class: "das-input-success-label"
18
- }, me = {
18
+ }, be = {
19
19
  key: 1,
20
20
  class: "das-input-label-content"
21
- }, be = ["title"], ye = {
21
+ }, ye = ["title"], he = {
22
22
  key: 1,
23
23
  class: "das-input-overlay-error-label-content"
24
- }, he = { class: "label" }, ge = {
24
+ }, ge = { class: "label" }, xe = {
25
25
  inheritAttrs: !1
26
- }, xe = /* @__PURE__ */ te({
27
- ...ge,
26
+ }, Be = /* @__PURE__ */ te({
27
+ ...xe,
28
28
  __name: "index",
29
29
  props: {
30
30
  modelValue: { default: "" },
@@ -54,18 +54,18 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
54
54
  },
55
55
  emits: ["update:modelValue"],
56
56
  setup(l, { expose: h, emit: g }) {
57
- const o = l, k = s(() => o.placeholder || ne("请输入")), P = s(() => `width:${fe(o.width)}`), O = s(() => {
57
+ const o = l, k = s(() => o.placeholder || ne("请输入")), P = s(() => `width:${ce(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
- }), W = g, m = s({
60
+ }), $ = g, m = s({
61
61
  get: () => o.modelValue,
62
- set: (e) => W("update:modelValue", e)
63
- }), U = r(o.isTitle), n = r(!1), M = r(), a = r(), S = r(!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 = r(!1), p = r(0), f = r(0), x = r({
62
+ set: (e) => $("update:modelValue", e)
63
+ }), U = r(o.isTitle), n = r(!1), W = r(), a = r(), S = r(!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 = r(!1), p = r(0), f = r(0), x = r({
64
64
  x: 0,
65
65
  y: 0
66
- }), z = r(0), H = r({
66
+ }), M = r(0), H = r({
67
67
  "font-size": "12px",
68
- "background-color": D("--das-ui-input-number-overlay-error-bg-color").value,
68
+ "background-color": C("--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",
@@ -73,7 +73,7 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
73
73
  "box-sizing": "border-box"
74
74
  }), q = s(() => ({
75
75
  ...H.value,
76
- width: z.value + "px",
76
+ width: M.value + "px",
77
77
  position: "fixed",
78
78
  visibility: "visible",
79
79
  top: x.value.y + "px",
@@ -81,12 +81,12 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
81
81
  "z-index": o.errorModelZIndex
82
82
  })), G = r({
83
83
  display: "block",
84
- color: D("--das-ui-input-error-color").value,
84
+ color: C("--das-ui-input-error-color").value,
85
85
  "white-space": "break-spaces"
86
86
  }), J = () => {
87
- var b, V, I;
88
- const { top: e, left: t } = (b = a.value) == null ? void 0 : b.$el.getBoundingClientRect(), v = (V = a.value) == null ? void 0 : V.$el.clientHeight;
89
- z.value = (I = a.value) == null ? void 0 : I.$el.clientWidth, x.value.x = t, x.value.y = e + v;
87
+ var b, I, V;
88
+ const { top: e, left: t } = (b = a.value) == null ? void 0 : b.$el.getBoundingClientRect(), v = (I = a.value) == null ? void 0 : I.$el.clientHeight;
89
+ M.value = (V = a.value) == null ? void 0 : V.$el.clientWidth, x.value.x = t, x.value.y = e + v;
90
90
  };
91
91
  B(
92
92
  () => {
@@ -94,7 +94,7 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
94
94
  return (e = a.value) == null ? void 0 : e.textarea;
95
95
  },
96
96
  (e) => {
97
- C(() => {
97
+ N(() => {
98
98
  var t;
99
99
  e && (e != null && e.nextSibling) && ((t = e.nextSibling) != null && t.style) && (e.nextSibling.style.display = "none");
100
100
  });
@@ -107,7 +107,7 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
107
107
  e && e.nextSibling && e.nextSibling.style && (e.nextSibling.style.display = "block");
108
108
  }, Q = () => {
109
109
  var t;
110
- o.type !== "textarea" && o.filterSpace && W("update:modelValue", m.value.trim()), o.borderType === "bottom" && (E.value = !1);
110
+ o.type !== "textarea" && o.filterSpace && $("update:modelValue", m.value.trim()), o.borderType === "bottom" && (E.value = !1);
111
111
  const e = (t = a.value) == null ? void 0 : t.textarea;
112
112
  e && e.nextSibling && e.nextSibling.style && (e.nextSibling.style.display = "none");
113
113
  };
@@ -122,7 +122,7 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
122
122
  ), B(
123
123
  () => m.value,
124
124
  (e) => {
125
- C(() => {
125
+ N(() => {
126
126
  var t, v, b;
127
127
  (t = a.value) != null && t.ref && (p.value = (v = a.value) == null ? void 0 : v.ref.offsetWidth, f.value = (b = a.value) == null ? void 0 : b.ref.scrollWidth, (p.value === f.value || f.value - p.value < 5) && (n.value = !1));
128
128
  });
@@ -134,7 +134,7 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
134
134
  B(
135
135
  () => {
136
136
  var e;
137
- return (e = M.value) == null ? void 0 : e.$tooltipRef.popperRef.contentRef;
137
+ return (e = W.value) == null ? void 0 : e.$tooltipRef.popperRef.contentRef;
138
138
  },
139
139
  (e) => {
140
140
  e && (e.addEventListener("mouseenter", function() {
@@ -157,7 +157,7 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
157
157
  "div",
158
158
  {
159
159
  style: w(P.value),
160
- class: N([
160
+ class: D([
161
161
  "das-ui-input",
162
162
  { "only-border-bottom": e.borderType === "bottom" },
163
163
  { "das-input-normal-size": e.size === "default" },
@@ -168,7 +168,7 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
168
168
  u(" 这里tooltip不能使用v-model:visible 有响应问题 "),
169
169
  R(F(ue), {
170
170
  ref_key: "inputTooltipRef",
171
- ref: M,
171
+ ref: W,
172
172
  effect: "light",
173
173
  manual: !0,
174
174
  visible: n.value,
@@ -239,21 +239,21 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
239
239
  _: 3
240
240
  /* FORWARDED */
241
241
  }, 8, ["visible", "disabled", "content"]),
242
- e.success && e.successLabel ? (i(), d("div", ce, [
242
+ e.success && e.successLabel ? (i(), d("div", ve, [
243
243
  e.success ? (i(), d(
244
244
  "span",
245
- ve,
245
+ me,
246
246
  L(e.successLabel),
247
247
  1
248
248
  /* TEXT */
249
249
  )) : u("v-if", !0)
250
250
  ])) : u("v-if", !0),
251
- e.error && e.errorLabel && e.errorMode === "default" ? (i(), d("div", me, [
251
+ e.error && e.errorLabel && e.errorMode === "default" ? (i(), d("div", be, [
252
252
  e.error ? (i(), d("span", {
253
253
  key: 0,
254
- class: N(["das-input-error-label", { "error-label-overflow": e.isErrorTitle }]),
254
+ class: D(["das-input-error-label", { "error-label-overflow": e.isErrorTitle }]),
255
255
  title: e.isErrorTitle ? e.errorLabel : ""
256
- }, L(e.errorLabel), 11, be)) : u("v-if", !0)
256
+ }, L(e.errorLabel), 11, ye)) : u("v-if", !0)
257
257
  ])) : u("v-if", !0),
258
258
  e.error && e.errorLabel && S.value && e.errorMode === "overlay" ? (i(), d(
259
259
  re,
@@ -263,13 +263,13 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
263
263
  key: 0,
264
264
  to: "body"
265
265
  }, [
266
- $(
266
+ z(
267
267
  "div",
268
268
  {
269
269
  style: w(q.value)
270
270
  },
271
271
  [
272
- $(
272
+ z(
273
273
  "span",
274
274
  {
275
275
  style: w(G.value)
@@ -282,10 +282,10 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
282
282
  4
283
283
  /* STYLE */
284
284
  )
285
- ])) : (i(), d("div", ye, [
286
- $(
285
+ ])) : (i(), d("div", he, [
286
+ z(
287
287
  "span",
288
- he,
288
+ ge,
289
289
  L(e.errorLabel),
290
290
  1
291
291
  /* TEXT */
@@ -300,12 +300,12 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
300
300
  /* CLASS, STYLE */
301
301
  ));
302
302
  }
303
- }), Be = (l, h) => {
303
+ }), Te = (l, h) => {
304
304
  const g = l.__vccOpts || l;
305
305
  for (const [o, k] of h)
306
306
  g[o] = k;
307
307
  return g;
308
- }, Te = /* @__PURE__ */ Be(xe, [["__scopeId", "data-v-8cd3f1f9"]]), Le = {
308
+ }, Le = /* @__PURE__ */ Te(Be, [["__scopeId", "data-v-8cd3f1f9"]]), ke = {
309
309
  "--das-ui-input-default-text-color": "#212121",
310
310
  "--das-ui-input-default-placeholder-text-color": "#B2B2B2",
311
311
  "--das-ui-input-full-border-color": "#D9D9D9",
@@ -322,10 +322,15 @@ const de = ["auto", "fit-content", "inherit", "initial", "max-content", "min-con
322
322
  "--das-ui-input-only-bottom-view-border-color": "#E5E5E5",
323
323
  "--das-ui-input-success-color": "#1BA854",
324
324
  "--das-ui-input-error-color": "#FB2323"
325
+ }, Se = {
326
+ 共: { "zh-CN": "共", en: "Total" },
327
+ 项: { "zh-CN": "项", en: "Item(s)" },
328
+ 请输入: { "zh-CN": "请输入", en: "Please enter" }
325
329
  };
326
- ee(Le);
327
- const ze = _(Te);
330
+ de(Se);
331
+ ee(ke);
332
+ const Ve = _(Le);
328
333
  export {
329
- ze as DasInput,
330
- ze as default
334
+ Ve as DasInput,
335
+ Ve as default
331
336
  };
@@ -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
  };
@@ -41,15 +41,15 @@ const de = {
41
41
  noSetDefaultVal: { type: Boolean }
42
42
  },
43
43
  emits: ["update:modelValue", "open-dialog", "clear-dialog", "update:selectedOptions", "change"],
44
- setup(M, { emit: S }) {
44
+ setup(B, { emit: S }) {
45
45
  ae({
46
46
  search: import("@das-fed/ui/packages/icons/search")
47
47
  });
48
- const t = M, s = S, z = l(!1), W = C(() => t.teleported), m = C(() => t.isView), K = C(() => `width:${t.width === "auto" ? "100%" : t.width}`);
48
+ const t = B, s = S, z = l(!1), W = C(() => t.teleported), m = C(() => t.isView), K = C(() => `width:${t.width === "auto" ? "100%" : t.width}`);
49
49
  let n = l("");
50
50
  n.value = t.modelValue;
51
51
  const d = l(null), u = l(null);
52
- let D = l(""), T = l([]);
52
+ let M = l(""), T = l([]);
53
53
  J(
54
54
  () => t.selectedOptions,
55
55
  (e, p) => {
@@ -73,9 +73,9 @@ const de = {
73
73
  }), c = v.join("、");
74
74
  }
75
75
  const L = t.noSetDefaultVal ? "" : "-";
76
- n.value = (m.value || t.disabled) && b(c) ? L : c, T.value = f, f.length || (D.value = ""), s("update:modelValue", T.value), s("change", T.value, t.selectedOptions), Q(() => {
76
+ n.value = (m.value || t.disabled) && b(c) ? L : c, T.value = f, f.length || (M.value = ""), s("update:modelValue", T.value), s("change", T.value, t.selectedOptions), Q(() => {
77
77
  var g, o, O, $;
78
- ((g = d == null ? void 0 : d.value) == null ? void 0 : g.offsetWidth) > 0 && ((o = u == null ? void 0 : u.value) == null ? void 0 : o.offsetWidth) > 0 && ((O = u == null ? void 0 : u.value) == null ? void 0 : O.offsetWidth) > (($ = d == null ? void 0 : d.value) == null ? void 0 : $.offsetWidth) - 20 && v.length > 1 ? D.value = f.length > 0 ? `${V("共")}${v.length}${V("项")}` : "" : D.value = "";
78
+ ((g = d == null ? void 0 : d.value) == null ? void 0 : g.offsetWidth) > 0 && ((o = u == null ? void 0 : u.value) == null ? void 0 : o.offsetWidth) > 0 && ((O = u == null ? void 0 : u.value) == null ? void 0 : O.offsetWidth) > (($ = d == null ? void 0 : d.value) == null ? void 0 : $.offsetWidth) - 20 && v.length > 1 ? M.value = f.length > 0 ? `${V("共")}${v.length}${V("项")}` : "" : M.value = "";
79
79
  });
80
80
  },
81
81
  {
@@ -83,7 +83,7 @@ const de = {
83
83
  immediate: !0
84
84
  }
85
85
  );
86
- const B = l(), I = l({
86
+ const D = l(), I = l({
87
87
  x: 0,
88
88
  y: 0
89
89
  }), w = l(0), N = l({
@@ -93,7 +93,7 @@ const de = {
93
93
  "border-radius": "1px",
94
94
  padding: "2px 8px",
95
95
  "box-sizing": "border-box"
96
- }), P = C(() => ({
96
+ }), R = C(() => ({
97
97
  ...N.value,
98
98
  width: w.value + "px",
99
99
  position: "fixed",
@@ -101,19 +101,19 @@ const de = {
101
101
  top: I.value.y + "px",
102
102
  left: I.value.x + "px",
103
103
  "z-index": t.errorModelZIndex
104
- })), R = l({
104
+ })), _ = l({
105
105
  display: "block",
106
106
  color: F("--das-ui-input-error-color").value,
107
107
  "white-space": "break-spaces",
108
108
  "word-break": "break-all"
109
- }), _ = () => {
109
+ }), P = () => {
110
110
  s("open-dialog");
111
111
  }, A = () => {
112
- D.value = "", n.value = "", s("update:selectedOptions", []), s("update:modelValue", []), s("clear-dialog"), s("change", [], []);
112
+ M.value = "", n.value = "", s("update:selectedOptions", []), s("update:modelValue", []), s("clear-dialog"), s("change", [], []);
113
113
  }, Z = () => {
114
114
  var f, v, L;
115
- const { top: e, left: p } = (f = B.value) == null ? void 0 : f.getBoundingClientRect(), c = (v = B.value) == null ? void 0 : v.clientHeight;
116
- w.value = (L = B.value) == null ? void 0 : L.clientWidth, I.value.x = p, I.value.y = e + c;
115
+ const { top: e, left: p } = (f = D.value) == null ? void 0 : f.getBoundingClientRect(), c = (v = D.value) == null ? void 0 : v.clientHeight;
116
+ w.value = (L = D.value) == null ? void 0 : L.clientWidth, I.value.x = p, I.value.y = e + c;
117
117
  }, j = () => {
118
118
  z.value = !0, Z();
119
119
  }, H = () => {
@@ -127,7 +127,7 @@ const de = {
127
127
  style: K.value
128
128
  }, e.$attrs, {
129
129
  ref_key: "$refInputDialogSelect",
130
- ref: B,
130
+ ref: D,
131
131
  onMouseenter: j,
132
132
  onMouseleave: H,
133
133
  class: [
@@ -176,7 +176,7 @@ const de = {
176
176
  m.value ? k("v-if", !0) : (r(), i(
177
177
  "span",
178
178
  pe,
179
- y(a(D)),
179
+ y(a(M)),
180
180
  1
181
181
  /* TEXT */
182
182
  )),
@@ -192,7 +192,7 @@ const de = {
192
192
  te(a(re), {
193
193
  class: "das-ui-input-dialog-select-search",
194
194
  icon: e.suffixIcon,
195
- onClick: _
195
+ onClick: P
196
196
  }, null, 8, ["icon"])
197
197
  ],
198
198
  64
@@ -221,13 +221,13 @@ const de = {
221
221
  h(
222
222
  "div",
223
223
  {
224
- style: E(P.value)
224
+ style: E(R.value)
225
225
  },
226
226
  [
227
227
  h(
228
228
  "span",
229
229
  {
230
- style: E(R.value)
230
+ style: E(_.value)
231
231
  },
232
232
  y(e.errorLabel),
233
233
  5
@@ -255,16 +255,13 @@ const de = {
255
255
  /* FULL_PROPS */
256
256
  ));
257
257
  }
258
- }), ge = (M, S) => {
259
- const t = M.__vccOpts || M;
258
+ }), ge = (B, S) => {
259
+ const t = B.__vccOpts || B;
260
260
  for (const [s, z] of S)
261
261
  t[s] = z;
262
262
  return t;
263
263
  }, he = /* @__PURE__ */ ge(me, [["__scopeId", "data-v-788fc540"]]), ye = {
264
- "demo-msg": {
265
- "zh-CN": "这是第一个示例路由页面",
266
- en: "This is Demo Page"
267
- }
264
+ "demo-msg": { "zh-CN": "这是第一个示例路由页面", en: "This is the first sample route page" }
268
265
  }, ke = {
269
266
  "--demo-alert-bg": {
270
267
  light: "#fff",
@@ -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;
@@ -4,8 +4,8 @@ import { withInstall as ri } from "@das-fed/utils/with-install/index";
4
4
  import { ElLoadingDirective as si } from "element-plus/es";
5
5
  import "element-plus/es/components/base/style/css";
6
6
  import "element-plus/es/components/loading/style/css";
7
- import { t as At } from "@das-fed/web/packages/i18n/index";
8
- function oi(Ie) {
7
+ import { t as At, setI18nRule as oi } from "@das-fed/web/packages/i18n/index";
8
+ function di(Ie) {
9
9
  return Ie && Ie.__esModule && Object.prototype.hasOwnProperty.call(Ie, "default") ? Ie.default : Ie;
10
10
  }
11
11
  var Tt = { exports: {} };
@@ -4346,8 +4346,8 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
4346
4346
  }]);
4347
4347
  });
4348
4348
  })(Tt);
4349
- var di = Tt.exports;
4350
- const Rt = /* @__PURE__ */ oi(di), _i = ["element-loading-text", "element-loading-spinner", "element-loading-background"], hi = /* @__PURE__ */ Yt({
4349
+ var _i = Tt.exports;
4350
+ const Rt = /* @__PURE__ */ di(_i), hi = ["element-loading-text", "element-loading-spinner", "element-loading-background"], ci = /* @__PURE__ */ Yt({
4351
4351
  __name: "das-live-player",
4352
4352
  props: {
4353
4353
  src: {},
@@ -4435,18 +4435,24 @@ const Rt = /* @__PURE__ */ oi(di), _i = ["element-loading-text", "element-loadin
4435
4435
  4
4436
4436
  /* STYLE */
4437
4437
  ))
4438
- ], 8, _i)), [
4438
+ ], 8, hi)), [
4439
4439
  [c, We(b)]
4440
4440
  ]);
4441
4441
  };
4442
4442
  }
4443
- }), ci = (Ie, Ye) => {
4443
+ }), li = (Ie, Ye) => {
4444
4444
  const fe = Ie.__vccOpts || Ie;
4445
4445
  for (const [Z, O] of Ye)
4446
4446
  fe[Z] = O;
4447
4447
  return fe;
4448
- }, li = /* @__PURE__ */ ci(hi, [["__scopeId", "data-v-59ddde9a"]]), yi = ri(li), bi = () => Xe(null);
4448
+ }, ui = /* @__PURE__ */ li(ci, [["__scopeId", "data-v-59ddde9a"]]), fi = {
4449
+ 加载中: { "zh-CN": "加载中", en: "Loading" },
4450
+ 视频加载失败: { "zh-CN": "视频加载失败", en: "Video loading failed" },
4451
+ 请点击重试: { "zh-CN": "请点击重试", en: "Please click to retry" }
4452
+ };
4453
+ oi(fi);
4454
+ const Si = ri(ui), Ei = () => Xe(null);
4449
4455
  export {
4450
- yi as DasLivePlayer,
4451
- bi as getDasLivePlayerRef
4456
+ Si as DasLivePlayer,
4457
+ Ei as getDasLivePlayerRef
4452
4458
  };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ 加载: {
3
+ "zh-CN": string;
4
+ en: string;
5
+ };
6
+ };
7
+ export default _default;