@das-fed/ui 6.4.0-test.8 → 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.
@@ -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}
@@ -1,4 +1,5 @@
1
1
  export * from './app-container';
2
+ export * from './area-phone-select';
2
3
  export * from './change-enterprises';
3
4
  export * from './change-pwd';
4
5
  export * from './currency-page';
@@ -1,4 +1,5 @@
1
1
  export * from './app-container'
2
+ export * from './area-phone-select'
2
3
  export * from './change-enterprises'
3
4
  export * from './change-pwd'
4
5
  export * from './currency-page'