@das-fed/ui 6.4.0-test.7.1 → 6.4.0-test.8.1

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 (113) hide show
  1. package/esm-map.json +7 -1
  2. package/package.json +6 -7
  3. package/packages/business-components/area-phone-select/i18n/index.d.ts +7 -0
  4. package/packages/business-components/area-phone-select/index.d.ts +1368 -0
  5. package/packages/business-components/area-phone-select/index.js +265 -0
  6. package/packages/business-components/area-phone-select/index.js.gz +0 -0
  7. package/packages/business-components/area-phone-select/src/Index.vue.d.ts +15 -0
  8. package/packages/business-components/area-phone-select/src/apis.d.ts +2 -0
  9. package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +179 -0
  10. package/packages/business-components/area-phone-select/src/area-popover/type.d.ts +37 -0
  11. package/packages/business-components/area-phone-select/src/type.d.ts +26 -0
  12. package/packages/business-components/area-phone-select/src/utils.d.ts +12 -0
  13. package/packages/business-components/area-phone-select/style.css +1 -0
  14. package/packages/business-components/area-phone-select/style.css.gz +0 -0
  15. package/packages/business-components/change-pwd/index.js +12 -8
  16. package/packages/business-components/change-pwd/index.js.gz +0 -0
  17. package/packages/business-components/currency-page/index.js +1 -1
  18. package/packages/business-components/currency-page/index.js.gz +0 -0
  19. package/packages/business-components/device-panel/i18n/index.d.ts +24 -0
  20. package/packages/business-components/device-panel/index.js +16507 -15027
  21. package/packages/business-components/device-panel/index.js.gz +0 -0
  22. package/packages/business-components/device-panel/src/apis.d.ts +2 -0
  23. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/attribute.vue.d.ts +2 -0
  24. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/barChart.vue.d.ts +5 -0
  25. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/lineChart.vue.d.ts +5 -0
  26. package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/index.vue.d.ts +11 -0
  27. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-data-Trends.d.ts +7 -0
  28. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/attribute.vue.d.ts +2 -0
  29. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/barChart.vue.d.ts +5 -0
  30. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/lineChart.vue.d.ts +5 -0
  31. package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/index.vue.d.ts +11 -0
  32. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-data-Trends.d.ts +7 -0
  33. package/packages/business-components/device-panel/style.css +1 -1
  34. package/packages/business-components/device-panel/style.css.gz +0 -0
  35. package/packages/business-components/echarts/index.js +2 -2
  36. package/packages/business-components/echarts/index.js.gz +0 -0
  37. package/packages/business-components/echarts/style.css +1 -1
  38. package/packages/business-components/export-button/index.js +30 -30
  39. package/packages/business-components/export-button/index.js.gz +0 -0
  40. package/packages/business-components/import-button/i18n/index.d.ts +5 -5
  41. package/packages/business-components/import-button/index.js +59 -59
  42. package/packages/business-components/import-button/index.js.gz +0 -0
  43. package/packages/business-components/import-button/style.css +1 -1
  44. package/packages/business-components/index.d.ts +1 -0
  45. package/packages/business-components/index.js +1 -0
  46. package/packages/business-components/model-table-dialog/index.js +100 -100
  47. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  48. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +9 -6
  49. package/packages/business-components/payment/index.d.ts +5 -1
  50. package/packages/business-components/payment/index.js +187 -1635
  51. package/packages/business-components/payment/index.js.gz +0 -0
  52. package/packages/business-components/payment/style.css +1 -1
  53. package/packages/business-components/payment/type.d.ts +3 -2
  54. package/packages/business-components/process-configuration/i18n/index.d.ts +0 -10
  55. package/packages/business-components/process-configuration/index.d.ts +2 -0
  56. package/packages/business-components/process-configuration/index.js +55 -60
  57. package/packages/business-components/process-configuration/index.js.gz +0 -0
  58. package/packages/business-components/process-configuration/src/index.vue.d.ts +2 -0
  59. package/packages/business-components/process-configuration/src/type.d.ts +3 -0
  60. package/packages/business-components/process-configuration/style.css +1 -1
  61. package/packages/business-components/process-configuration/style.css.gz +0 -0
  62. package/packages/business-components/process-form/index.js +1 -1
  63. package/packages/business-components/process-form/index.js.gz +0 -0
  64. package/packages/business-components/process-search-form/index.js +2 -2
  65. package/packages/business-components/process-search-form/index.js.gz +0 -0
  66. package/packages/business-components/urgent-panel/index.js +98 -98
  67. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  68. package/packages/components/autocomplete/index.js +23 -24
  69. package/packages/components/autocomplete/index.js.gz +0 -0
  70. package/packages/components/autocomplete/src/index.vue.d.ts +12 -7
  71. package/packages/components/autocomplete/style.css +1 -1
  72. package/packages/components/autocomplete/style.css.gz +0 -0
  73. package/packages/components/checkbox/index.js +149 -137
  74. package/packages/components/checkbox/index.js.gz +0 -0
  75. package/packages/components/checkbox/style.css +1 -1
  76. package/packages/components/checkbox/style.css.gz +0 -0
  77. package/packages/components/image-upload/index.js +1 -1
  78. package/packages/components/image-upload/index.js.gz +0 -0
  79. package/packages/components/image-viewer/index.js +77 -78
  80. package/packages/components/image-viewer/index.js.gz +0 -0
  81. package/packages/components/live-player/index.js +142 -142
  82. package/packages/components/live-player/index.js.gz +0 -0
  83. package/packages/components/map/index.js +34 -34
  84. package/packages/components/map/index.js.gz +0 -0
  85. package/packages/components/popover/index.d.ts +160 -2
  86. package/packages/components/popover/index.js +29 -27
  87. package/packages/components/popover/index.js.gz +0 -0
  88. package/packages/components/search/index.js +1 -1
  89. package/packages/components/search/index.js.gz +0 -0
  90. package/packages/components/search/style.css +1 -1
  91. package/packages/components/search/style.css.gz +0 -0
  92. package/packages/components/select/index.js +257 -246
  93. package/packages/components/select/index.js.gz +0 -0
  94. package/packages/components/select/style.css +1 -1
  95. package/packages/components/select/style.css.gz +0 -0
  96. package/packages/components/table/index.js +942 -948
  97. package/packages/components/table/index.js.gz +0 -0
  98. package/packages/components/table/style.css +1 -1
  99. package/packages/components/table/style.css.gz +0 -0
  100. package/packages/components/tree/index.js +698 -701
  101. package/packages/components/tree/index.js.gz +0 -0
  102. package/packages/components/tree/src/App.vue.d.ts +8 -7
  103. package/packages/components/tree/src/hooks/use-lazy-tree.d.ts +2 -2
  104. package/packages/components/tree/src/type.d.ts +7 -4
  105. package/packages/components/tree-select/index.js +81 -81
  106. package/packages/components/tree-select/index.js.gz +0 -0
  107. package/packages/components/tree-select/src/App.vue.d.ts +18 -12
  108. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +18 -12
  109. package/packages/components/tree-select/src/type.d.ts +0 -2
  110. package/packages/components/tree-v2/i18n/index.d.ts +5 -0
  111. package/packages/components/tree-v2/index.js +150 -149
  112. package/packages/components/tree-v2/index.js.gz +0 -0
  113. package/packages/components/image-viewer/i18n/index.d.ts +0 -2
@@ -0,0 +1,265 @@
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 W, openBlock as d, createBlock as U, unref as p, mergeProps as N, withCtx as _, renderSlot as x, createElementVNode as y, normalizeClass as B, toDisplayString as R, createVNode as C, createElementBlock as h, createCommentVNode as A, withDirectives as z, Fragment as L, renderList as M, createTextVNode as j, nextTick as q, onBeforeUnmount as G, normalizeStyle as H } from "vue";
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";
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";
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";
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 = {
16
+ key: 0,
17
+ class: "search-box"
18
+ }, ve = { class: "list" }, me = ["onClick"], fe = { class: "item-label" }, he = { class: "item-code" }, be = {
19
+ name: "area-popover"
20
+ }, we = /* @__PURE__ */ $({
21
+ ...be,
22
+ props: {
23
+ modelValue: {},
24
+ label: { default: "phoneCode" },
25
+ width: {},
26
+ visible: { type: Boolean, default: !1 },
27
+ isView: { type: Boolean },
28
+ disabled: { type: Boolean },
29
+ showArrow: { type: Boolean, default: !1 },
30
+ filter: { type: Boolean, default: !0 }
31
+ },
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({
35
+ modifiers: [
36
+ {
37
+ name: "offset",
38
+ options: {
39
+ offset: [0, 4]
40
+ }
41
+ }
42
+ ]
43
+ }), f = c({
44
+ get: () => a.visible,
45
+ set: (o) => {
46
+ v("update:visible", o);
47
+ }
48
+ }), u = c({
49
+ get: () => a.modelValue ?? {},
50
+ set: (o) => {
51
+ v("update:modelValue", o);
52
+ }
53
+ }), k = c(() => u.value[a.label]), S = (o) => {
54
+ u.value = o, f.value = !1, v("change", o);
55
+ }, I = c(() => a.filter ? e.value.filter((o) => o.name.includes(m.value)) : e.value), e = s([]), l = s(!1);
56
+ return W(async () => {
57
+ l.value = !0;
58
+ const [o, i] = await de().run();
59
+ l.value = !1, !o && (e.value = i || []);
60
+ }), b({ popoverRef: V }), (o, i) => (d(), U(p(X), N({
61
+ ref_key: "popoverRef",
62
+ ref: V,
63
+ "show-arrow": o.showArrow,
64
+ "popper-options": D.value,
65
+ trigger: "click",
66
+ width: P.value,
67
+ popperClass: "das-ui-area-phone-popover",
68
+ visible: f.value,
69
+ "onUpdate:visible": i[1] || (i[1] = (n) => f.value = n),
70
+ disabled: o.isView || o.disabled
71
+ }, o.$attrs, {
72
+ onBeforeLeave: i[2] || (i[2] = (n) => m.value = "")
73
+ }), {
74
+ reference: _(() => [
75
+ x(o.$slots, "reference", {}, () => [
76
+ y(
77
+ "div",
78
+ {
79
+ class: B(["das-ui-area-phone-popover-reference", o.disabled ? "is-disabled" : ""])
80
+ },
81
+ [
82
+ y(
83
+ "div",
84
+ ue,
85
+ R(k.value),
86
+ 1
87
+ /* TEXT */
88
+ ),
89
+ y(
90
+ "div",
91
+ {
92
+ class: B({ "icon-box": !0, show: f.value, hide: o.isView || o.disabled })
93
+ },
94
+ [
95
+ C(p(ee), { size: "medium" })
96
+ ],
97
+ 2
98
+ /* CLASS */
99
+ )
100
+ ],
101
+ 2
102
+ /* CLASS */
103
+ )
104
+ ], !0)
105
+ ]),
106
+ default: _(() => [
107
+ y("div", pe, [
108
+ o.filter ? (d(), h("div", ce, [
109
+ C(p(Z), {
110
+ isIconLeft: "",
111
+ size: "custom",
112
+ placeholder: g.value,
113
+ border: "",
114
+ width: "100%",
115
+ modelValue: m.value,
116
+ "onUpdate:modelValue": i[0] || (i[0] = (n) => m.value = n)
117
+ }, null, 8, ["placeholder", "modelValue"])
118
+ ])) : A("v-if", !0),
119
+ C(p(Y), null, {
120
+ default: _(() => [
121
+ z((d(), h("div", ve, [
122
+ l.value ? A("v-if", !0) : (d(), h(
123
+ L,
124
+ { key: 0 },
125
+ [
126
+ (d(!0), h(
127
+ L,
128
+ null,
129
+ M(I.value, (n) => (d(), h("div", {
130
+ class: B(["item", {
131
+ selected: u.value && u.value.name + u.value.phoneCode == n.name + n.phoneCode
132
+ }]),
133
+ onClick: (Ce) => S(n)
134
+ }, [
135
+ z((d(), h("div", fe, [
136
+ j(
137
+ R(n.name ?? ""),
138
+ 1
139
+ /* TEXT */
140
+ )
141
+ ])), [
142
+ [p(te)]
143
+ ]),
144
+ y(
145
+ "div",
146
+ he,
147
+ R(n.phoneCode ?? ""),
148
+ 1
149
+ /* TEXT */
150
+ )
151
+ ], 10, me))),
152
+ 256
153
+ /* UNKEYED_FRAGMENT */
154
+ )),
155
+ I.value.length ? A("v-if", !0) : (d(), U(p(oe), { key: 0 }))
156
+ ],
157
+ 64
158
+ /* STABLE_FRAGMENT */
159
+ ))
160
+ ])), [
161
+ [p(ae), l.value]
162
+ ])
163
+ ]),
164
+ _: 1
165
+ /* STABLE */
166
+ })
167
+ ])
168
+ ]),
169
+ _: 3
170
+ /* FORWARDED */
171
+ }, 16, ["show-arrow", "popper-options", "width", "visible", "disabled"]));
172
+ }
173
+ }), T = (t, b) => {
174
+ const r = t.__vccOpts || t;
175
+ for (const [a, v] of b)
176
+ r[a] = v;
177
+ return r;
178
+ }, F = /* @__PURE__ */ T(we, [["__scopeId", "data-v-1da4fff3"]]), Ve = /* @__PURE__ */ $({
179
+ __name: "index",
180
+ props: {
181
+ modelValue: { default: "" },
182
+ areaItem: {},
183
+ width: {},
184
+ isView: { type: Boolean },
185
+ disabled: { type: Boolean }
186
+ },
187
+ emits: ["update:modelValue", "update:areaItem", "change", "area-change"],
188
+ setup(t, { emit: b }) {
189
+ const r = t, a = b, v = c(() => r.width ? O(r.width) : "100%"), V = c({
190
+ get: () => r.modelValue,
191
+ set: (e) => a("update:modelValue", e)
192
+ }), m = c({
193
+ get: () => r.areaItem ?? {},
194
+ set: (e) => {
195
+ a("update:areaItem", e);
196
+ }
197
+ }), g = s(null), P = s(null), D = s(null), f = s(240), u = s(!1), k = () => {
198
+ f.value = g.value.clientWidth ?? 0;
199
+ };
200
+ W(() => {
201
+ q(() => {
202
+ k(), D.value = ne(() => {
203
+ k();
204
+ }, g.value);
205
+ });
206
+ }), G(() => {
207
+ var e;
208
+ (e = D.value) == null || e.disconnect();
209
+ });
210
+ const S = (e) => {
211
+ a("area-change", e);
212
+ }, I = (e) => {
213
+ a("change", e);
214
+ };
215
+ return (e, l) => (d(), h(
216
+ "div",
217
+ {
218
+ ref_key: "phoneRef",
219
+ ref: g,
220
+ class: B(["das-ui-area-phone-select", { "is-disabled": e.disabled && !e.isView, "is-view": e.isView }]),
221
+ style: H({ width: v.value })
222
+ },
223
+ [
224
+ C(p(le), N({
225
+ ref_key: "inputRef",
226
+ ref: P,
227
+ width: "100%",
228
+ disabled: e.disabled,
229
+ isView: e.isView,
230
+ modelValue: V.value,
231
+ "onUpdate:modelValue": l[2] || (l[2] = (w) => V.value = w),
232
+ onChange: I
233
+ }, e.$attrs), {
234
+ prepend: _(() => [
235
+ C(F, {
236
+ visible: u.value,
237
+ "onUpdate:visible": l[0] || (l[0] = (w) => u.value = w),
238
+ isView: e.isView,
239
+ disabled: e.disabled,
240
+ modelValue: m.value,
241
+ "onUpdate:modelValue": l[1] || (l[1] = (w) => m.value = w),
242
+ width: f.value,
243
+ onChange: S
244
+ }, null, 8, ["visible", "isView", "disabled", "modelValue", "width"])
245
+ ]),
246
+ _: 1
247
+ /* STABLE */
248
+ }, 16, ["disabled", "isView", "modelValue"])
249
+ ],
250
+ 6
251
+ /* CLASS, STYLE */
252
+ ));
253
+ }
254
+ }), ge = /* @__PURE__ */ T(Ve, [["__scopeId", "data-v-3b9ba6be"]]), ye = {
255
+ "area-phone-placeholder": { "zh-CN": "请输入所在国家或区域中文名称", en: "Please enter your country or region" }
256
+ };
257
+ K(ye);
258
+ const We = () => s(null), Ne = () => s(null), Ee = E(ge), Oe = E(F), Te = { name: "区号选择手机号输入框" };
259
+ export {
260
+ Ee as DasAreaPhoneSelect,
261
+ We as DasAreaPhoneSelectRef,
262
+ Oe as DasAreaPopover,
263
+ Ne as DasAreaPopoverRef,
264
+ Te as default
265
+ };
@@ -0,0 +1,15 @@
1
+ import type { Props } from './type';
2
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
+ "update:modelValue": (value: string) => any;
4
+ change: (value: string | number) => any;
5
+ "update:areaItem": (value: Record<any, any>) => any;
6
+ "area-change": (value: Record<any, any>) => any;
7
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
8
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
9
+ onChange?: ((value: string | number) => any) | undefined;
10
+ "onUpdate:areaItem"?: ((value: Record<any, any>) => any) | undefined;
11
+ "onArea-change"?: ((value: Record<any, any>) => any) | undefined;
12
+ }>, {
13
+ modelValue: any;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
@@ -0,0 +1,2 @@
1
+ /** 获取手机区号数据 */
2
+ export declare const phoneCodes: (payload?: any, payloadConfig?: import("@das-fed/utils/curring-http/type").CurringConfig) => import("@das-fed/utils/curring-http/type").CurringRes;
@@ -0,0 +1,179 @@
1
+ import type { Props } from './type';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
3
+ popoverRef: import("vue").Ref<({
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: {
7
+ readonly title?: string | undefined;
8
+ readonly width?: (string | number) | undefined;
9
+ readonly content?: string | undefined;
10
+ readonly popperClass?: string | undefined;
11
+ readonly showBtns?: boolean | undefined;
12
+ readonly placement?: ("top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end") | undefined;
13
+ readonly onCancel?: (() => any) | undefined;
14
+ readonly onConfirm?: (() => any) | undefined;
15
+ readonly onClickOutside?: (() => any) | undefined;
16
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
17
+ $attrs: {
18
+ [x: string]: unknown;
19
+ };
20
+ $refs: {
21
+ [x: string]: unknown;
22
+ };
23
+ $slots: Readonly<{
24
+ [name: string]: import("vue").Slot<any> | undefined;
25
+ }>;
26
+ $root: import("vue").ComponentPublicInstance | null;
27
+ $parent: import("vue").ComponentPublicInstance | null;
28
+ $host: Element | null;
29
+ $emit: ((event: "cancel") => void) & ((event: "confirm") => void) & ((event: "clickOutside") => void);
30
+ $el: any;
31
+ $options: import("vue").ComponentOptionsBase<Readonly<import("../../../../components/popover/src/type").Props> & Readonly<{
32
+ onCancel?: (() => any) | undefined;
33
+ onConfirm?: (() => any) | undefined;
34
+ onClickOutside?: (() => any) | undefined;
35
+ }>, {
36
+ $popoverRef: import("vue").Ref<null, null>;
37
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
38
+ cancel: () => any;
39
+ confirm: () => any;
40
+ clickOutside: () => any;
41
+ }, string, {
42
+ placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
43
+ width: string | number;
44
+ showBtns: boolean;
45
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
46
+ beforeCreate?: (() => void) | (() => void)[];
47
+ created?: (() => void) | (() => void)[];
48
+ beforeMount?: (() => void) | (() => void)[];
49
+ mounted?: (() => void) | (() => void)[];
50
+ beforeUpdate?: (() => void) | (() => void)[];
51
+ updated?: (() => void) | (() => void)[];
52
+ activated?: (() => void) | (() => void)[];
53
+ deactivated?: (() => void) | (() => void)[];
54
+ beforeDestroy?: (() => void) | (() => void)[];
55
+ beforeUnmount?: (() => void) | (() => void)[];
56
+ destroyed?: (() => void) | (() => void)[];
57
+ unmounted?: (() => void) | (() => void)[];
58
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
59
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
60
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
61
+ };
62
+ $forceUpdate: () => void;
63
+ $nextTick: typeof import("vue").nextTick;
64
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
65
+ } & Readonly<{
66
+ placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
67
+ width: string | number;
68
+ showBtns: boolean;
69
+ }> & Omit<Readonly<import("../../../../components/popover/src/type").Props> & Readonly<{
70
+ onCancel?: (() => any) | undefined;
71
+ onConfirm?: (() => any) | undefined;
72
+ onClickOutside?: (() => any) | undefined;
73
+ }>, "$popoverRef" | ("placement" | "width" | "showBtns")> & import("vue").ShallowUnwrapRef<{
74
+ $popoverRef: import("vue").Ref<null, null>;
75
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
76
+ $slots: {
77
+ reference?(_: {}): any;
78
+ default?(_: {}): any;
79
+ };
80
+ }) | null, ({
81
+ $: import("vue").ComponentInternalInstance;
82
+ $data: {};
83
+ $props: {
84
+ readonly title?: string | undefined;
85
+ readonly width?: (string | number) | undefined;
86
+ readonly content?: string | undefined;
87
+ readonly popperClass?: string | undefined;
88
+ readonly showBtns?: boolean | undefined;
89
+ readonly placement?: ("top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end") | undefined;
90
+ readonly onCancel?: (() => any) | undefined;
91
+ readonly onConfirm?: (() => any) | undefined;
92
+ readonly onClickOutside?: (() => any) | undefined;
93
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
94
+ $attrs: {
95
+ [x: string]: unknown;
96
+ };
97
+ $refs: {
98
+ [x: string]: unknown;
99
+ };
100
+ $slots: Readonly<{
101
+ [name: string]: import("vue").Slot<any> | undefined;
102
+ }>;
103
+ $root: import("vue").ComponentPublicInstance | null;
104
+ $parent: import("vue").ComponentPublicInstance | null;
105
+ $host: Element | null;
106
+ $emit: ((event: "cancel") => void) & ((event: "confirm") => void) & ((event: "clickOutside") => void);
107
+ $el: any;
108
+ $options: import("vue").ComponentOptionsBase<Readonly<import("../../../../components/popover/src/type").Props> & Readonly<{
109
+ onCancel?: (() => any) | undefined;
110
+ onConfirm?: (() => any) | undefined;
111
+ onClickOutside?: (() => any) | undefined;
112
+ }>, {
113
+ $popoverRef: import("vue").Ref<null, null>;
114
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
115
+ cancel: () => any;
116
+ confirm: () => any;
117
+ clickOutside: () => any;
118
+ }, string, {
119
+ placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
120
+ width: string | number;
121
+ showBtns: boolean;
122
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
123
+ beforeCreate?: (() => void) | (() => void)[];
124
+ created?: (() => void) | (() => void)[];
125
+ beforeMount?: (() => void) | (() => void)[];
126
+ mounted?: (() => void) | (() => void)[];
127
+ beforeUpdate?: (() => void) | (() => void)[];
128
+ updated?: (() => void) | (() => void)[];
129
+ activated?: (() => void) | (() => void)[];
130
+ deactivated?: (() => void) | (() => void)[];
131
+ beforeDestroy?: (() => void) | (() => void)[];
132
+ beforeUnmount?: (() => void) | (() => void)[];
133
+ destroyed?: (() => void) | (() => void)[];
134
+ unmounted?: (() => void) | (() => void)[];
135
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
136
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
137
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
138
+ };
139
+ $forceUpdate: () => void;
140
+ $nextTick: typeof import("vue").nextTick;
141
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
142
+ } & Readonly<{
143
+ placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
144
+ width: string | number;
145
+ showBtns: boolean;
146
+ }> & Omit<Readonly<import("../../../../components/popover/src/type").Props> & Readonly<{
147
+ onCancel?: (() => any) | undefined;
148
+ onConfirm?: (() => any) | undefined;
149
+ onClickOutside?: (() => any) | undefined;
150
+ }>, "$popoverRef" | ("placement" | "width" | "showBtns")> & import("vue").ShallowUnwrapRef<{
151
+ $popoverRef: import("vue").Ref<null, null>;
152
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
153
+ $slots: {
154
+ reference?(_: {}): any;
155
+ default?(_: {}): any;
156
+ };
157
+ }) | null>;
158
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
159
+ "update:modelValue": (value: Record<any, any>) => any;
160
+ change: (value: Record<any, any>) => any;
161
+ "update:visible": (value: boolean) => any;
162
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
163
+ "onUpdate:modelValue"?: ((value: Record<any, any>) => any) | undefined;
164
+ onChange?: ((value: Record<any, any>) => any) | undefined;
165
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
166
+ }>, {
167
+ filter: boolean;
168
+ label: string;
169
+ visible: boolean;
170
+ showArrow: boolean;
171
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
172
+ reference?(_: {}): any;
173
+ }>;
174
+ export default _default;
175
+ type __VLS_WithTemplateSlots<T, S> = T & {
176
+ new (): {
177
+ $slots: S;
178
+ };
179
+ };
@@ -0,0 +1,37 @@
1
+ export interface Props {
2
+
3
+ modelValue: Record<any, any>
4
+
5
+
6
+ label?: string
7
+
8
+
9
+ width?: number | string
10
+
11
+
12
+ visible?: boolean
13
+
14
+
15
+ isView?: boolean
16
+
17
+
18
+ disabled?: boolean
19
+
20
+
21
+ showArrow?: boolean
22
+
23
+
24
+ filter?: boolean
25
+ }
26
+
27
+ export interface Emits {
28
+ (e: 'update:modelValue', value: Record<any, any>): void
29
+
30
+ (e: 'update:visible', value: boolean): void
31
+
32
+ (e: 'change', value: Record<any, any>): void
33
+ }
34
+
35
+ export interface Slots {
36
+ reference: {}
37
+ }
@@ -0,0 +1,26 @@
1
+ export interface Props {
2
+
3
+ modelValue: any
4
+
5
+
6
+ areaItem: Record<any, any>
7
+
8
+
9
+ width?: number | string
10
+
11
+
12
+ isView?: boolean
13
+
14
+
15
+ disabled?: boolean
16
+ }
17
+
18
+ export interface Emits {
19
+ (e: 'update:modelValue', value: string): void
20
+
21
+ (e: 'update:areaItem', value: Record<any, any>): void
22
+
23
+ (e: 'change', value: string | number): void
24
+
25
+ (e: 'area-change', value: Record<any, any>): void
26
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * 判断是否是一个带css单位的字符串
3
+ * @param value 需要判断的字符
4
+ * @returns
5
+ */
6
+ export declare const hasCssUnit: (value: string) => boolean;
7
+ /**
8
+ * 单位兼容
9
+ * @param unit
10
+ * @returns
11
+ */
12
+ export declare const handleUnit: (unit: string | number) => string;
@@ -0,0 +1 @@
1
+ .das-ui-area-phone-popover-reference[data-v-1da4fff3]{min-width:68px;height:100%;display:flex}.das-ui-area-phone-popover-reference .icon-box[data-v-1da4fff3]{flex-shrink:0;margin-left:4px;display:flex;align-items:center;justify-content:center;transform:rotate(0);transition:transform .5s ease}.das-ui-area-phone-popover-reference .icon-box.show[data-v-1da4fff3]{transform:rotate(180deg)}.das-ui-area-phone-popover-reference .icon-box.hide[data-v-1da4fff3]{color:transparent!important}.das-ui-area-phone-popover-reference:hover .icon-box[data-v-1da4fff3]{color:#276ff5}.das-ui-area-phone-popover-reference .label[data-v-1da4fff3]{font-size:14px;color:#212121;flex:1;overflow:hidden;display:flex;align-items:center}.das-ui-area-phone-popover-reference.is-disabled .label[data-v-1da4fff3]{color:#b2b2b2!important}.das-ui-area-phone-popover-content[data-v-1da4fff3]{width:100%}.das-ui-area-phone-popover-content .search-box[data-v-1da4fff3]{padding:8px}.das-ui-area-phone-popover-content .list[data-v-1da4fff3]{width:100%;max-height:248px;overflow:hidden}.das-ui-area-phone-popover-content .list .item[data-v-1da4fff3]{width:100%;height:30px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.das-ui-area-phone-popover-content .list .item[data-v-1da4fff3]:hover{background-color:#f5f5f5}.das-ui-area-phone-popover-content .list .item.selected[data-v-1da4fff3]{background-color:#f2f6ff}.das-ui-area-phone-popover-content .list .item.selected .item-lable[data-v-1da4fff3],.das-ui-area-phone-popover-content .list .item.selected .item-code[data-v-1da4fff3]{color:#276ff5}.das-ui-area-phone-popover-content .list .item .item-lable[data-v-1da4fff3]{flex:1;overflow:hidden;font-size:12px;color:#212121}.das-ui-area-phone-popover-content .list .item .item-code[data-v-1da4fff3]{width:53px;margin-left:22px;color:#666;text-align:right;font-size:12px}.das-ui-area-phone-popover .das-ui-popover-container{padding:0!important}.das-ui-area-phone-select[data-v-3b9ba6be]{width:100%}.das-ui-area-phone-select.is-disabled[data-v-3b9ba6be] .el-input.el-input-group{border-bottom-color:#e5e5e5!important}
@@ -7,9 +7,9 @@ import { DasFormRef as W, DasForm as G } from "@das-fed/ui/packages/components/f
7
7
  import { DasFormItem as q } from "@das-fed/ui/packages/components/form-item/index";
8
8
  import { DasButton as S } from "@das-fed/ui/packages/components/button/index";
9
9
  import { DasMessage as K } from "@das-fed/ui/packages/components/message/index";
10
- import { enterpriseright as M, superadminPortal as j, systemConfiguration as H } from "@das-fed/utils/api-services/modules";
10
+ import { enterpriseright as M, superadminPortal as Y, systemConfiguration as j } from "@das-fed/utils/api-services/modules";
11
11
  import { encryption as k } from "@das-fed/utils/atob";
12
- const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A = M.put("/user/change-pwd", (n) => (n.csrf = !0, n)), J = j.put("/change-pwd"), Q = H.get("/visitor/login/with-default"), X = (n, f) => {
12
+ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A = M.put("/user/change-pwd", (n) => (n.csrf = !0, n)), H = Y.put("/change-pwd"), J = j.get("/visitor/login/with-default"), Q = (n, f) => {
13
13
  const w = R(!1), m = W(), d = R({
14
14
  prePwd: "",
15
15
  pwd: "",
@@ -30,7 +30,7 @@ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
30
30
  pwdRequireSpecialCharacter: !1
31
31
  // 密码要求特殊字符
32
32
  }), L = async () => {
33
- const [o, e] = await Q().run();
33
+ const [o, e] = await J().run();
34
34
  o || (t.pwdStrongLimit = e.pwdStrongLimit, t.pwdRequireLength = e.pwdRequireLength, t.pwdMinLength = e.pwdMinLength, t.pwdRequireNum = e.pwdRequireNum, t.pwdRequireLowercaseLetters = e.pwdRequireLowercaseLetters, t.pwdRequireUppercaseLetters = e.pwdRequireUppercaseLetters, t.pwdRequireSpecialCharacter = e.pwdRequireSpecialCharacter);
35
35
  }, l = (o) => {
36
36
  let e = "";
@@ -100,7 +100,7 @@ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
100
100
  const [i] = await A().run(a);
101
101
  if (i) return;
102
102
  } else {
103
- const [i] = await J().run(a);
103
+ const [i] = await H().run(a);
104
104
  if (i) return;
105
105
  }
106
106
  p(!0), K.success(s("修改密码成功!")), f("onConfirm");
@@ -108,7 +108,7 @@ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
108
108
  });
109
109
  }
110
110
  };
111
- }, Y = { class: "dialog-content" }, ee = {
111
+ }, X = { class: "dialog-content" }, ee = {
112
112
  name: "ChangePwd"
113
113
  }, re = /* @__PURE__ */ T({
114
114
  ...ee,
@@ -118,7 +118,7 @@ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
118
118
  },
119
119
  emits: ["onCancel", "onConfirm"],
120
120
  setup(n, { expose: f, emit: w }) {
121
- const m = n, d = w, { visible: t, form: L, formData: l, rules: _, openDialog: N, onCancel: P, onConfirm: c } = X(m, d);
121
+ const m = n, d = w, { visible: t, form: L, formData: l, rules: _, openDialog: N, onCancel: P, onConfirm: c } = Q(m, d);
122
122
  return f({
123
123
  openDialog: N
124
124
  }), (b, p) => (v(), y(r(Z), {
@@ -165,7 +165,7 @@ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
165
165
  ])
166
166
  ]),
167
167
  default: g(() => [
168
- z("div", Y, [
168
+ z("div", X, [
169
169
  h(r(G), {
170
170
  ref_key: "form",
171
171
  ref: L,
@@ -235,7 +235,11 @@ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
235
235
  "小写字母,": { "zh-CN": "小写字母,", en: "lowercase letters,", _appCode: "framework" },
236
236
  "大写字母,": { "zh-CN": "大写字母,", en: "uppercase letters,", _appCode: "framework" },
237
237
  "符号,": { "zh-CN": "符号,", en: "symbols,", _appCode: "framework" },
238
- "修改密码成功!": { "zh-CN": "修改密码成功!", en: "Password changed successfully!", _appCode: "framework" },
238
+ "修改密码成功!": {
239
+ "zh-CN": "修改密码成功!",
240
+ en: "You had successfully changed the password!",
241
+ _appCode: "framework"
242
+ },
239
243
  修改密码: { "zh-CN": "修改密码", en: "Change Password", _appCode: "framework" },
240
244
  旧密码: { "zh-CN": "旧密码", en: "Old Password", _appCode: "framework" },
241
245
  新密码: { "zh-CN": "新密码", en: "New Password", _appCode: "framework" },
@@ -71,7 +71,7 @@ const R = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA0gAAAHgCAYAAACfN01xAAA
71
71
  Q[f] = v;
72
72
  return Q;
73
73
  }, U = /* @__PURE__ */ q(j, [["__scopeId", "data-v-bc480991"]]), Z = {
74
- 返回主页: { "zh-CN": "返回主页", en: "Return to Home", _appCode: "framework" },
74
+ 返回主页: { "zh-CN": "返回主页", en: "Return to the home page", _appCode: "framework" },
75
75
  抱歉: { "zh-CN": "抱歉", en: "Sorry", _appCode: "framework" },
76
76
  您无权访问此页面: {
77
77
  "zh-CN": "您无权访问此页面",