@das-fed/ui 6.4.0-dev.80 → 6.4.0-dev.81
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.
- package/package.json +5 -5
- package/packages/business-components/area-phone-select/index.js +14 -10
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/style.css +1 -1
- package/packages/business-components/area-phone-select/style.css.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +1 -1
- package/packages/business-components/device-panel/index.js +1454 -1454
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/import-button/index.js +30 -30
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/import-button/style.css +1 -1
- package/packages/business-components/payment/index.js +61 -59
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/payment/style.css +1 -1
- package/packages/business-components/process-form/index.js +763 -793
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/style.css +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/ui",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.81",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@antv/x6-plugin-snapline": "^2.1.7",
|
|
27
27
|
"@antv/x6-plugin-transform": "^2.1.8",
|
|
28
28
|
"@antv/x6-vue-shape": "^2.1.2",
|
|
29
|
-
"@das-fed/cli": "6.4.0-dev.
|
|
29
|
+
"@das-fed/cli": "6.4.0-dev.81",
|
|
30
30
|
"@element-plus/icons-vue": "^2.3.1",
|
|
31
31
|
"@types/lodash": "^4.14.194",
|
|
32
32
|
"@types/lodash-es": "^4.17.9",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"vue-tsc": "^2.0.29"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@das-fed/ui": "6.4.0-dev.
|
|
60
|
-
"@das-fed/utils": "6.4.0-dev.
|
|
61
|
-
"@das-fed/web": "6.4.0-dev.
|
|
59
|
+
"@das-fed/ui": "6.4.0-dev.81",
|
|
60
|
+
"@das-fed/utils": "6.4.0-dev.81",
|
|
61
|
+
"@das-fed/web": "6.4.0-dev.81",
|
|
62
62
|
"@wangeditor/editor": "^5.1.23",
|
|
63
63
|
"@wangeditor/editor-for-vue": "^5.1.12",
|
|
64
64
|
"@wangeditor/plugin-upload-attachment": "^1.1.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/area-phone-select/style.css';
|
|
2
|
-
import { defineComponent as $, ref as s, computed as c, onMounted as
|
|
2
|
+
import { defineComponent as $, ref as s, computed as c, onMounted as N, openBlock as d, createBlock as U, unref as p, mergeProps as W, 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
3
|
import { withInstall as E } from "@das-fed/utils/with-install/index";
|
|
4
4
|
import { t as J, setI18nRule as K } from "@das-fed/web/packages/i18n/index";
|
|
5
5
|
import { DasPopoverRef as Q, DasPopover as X } from "@das-fed/ui/packages/components/popover/index";
|
|
@@ -46,18 +46,22 @@ const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
46
46
|
v("update:visible", o);
|
|
47
47
|
}
|
|
48
48
|
}), u = c({
|
|
49
|
-
get: () => a.modelValue ?? {
|
|
49
|
+
get: () => a.modelValue ?? {
|
|
50
|
+
name: "中国",
|
|
51
|
+
code: "CN",
|
|
52
|
+
phoneCode: "+86"
|
|
53
|
+
},
|
|
50
54
|
set: (o) => {
|
|
51
55
|
v("update:modelValue", o);
|
|
52
56
|
}
|
|
53
57
|
}), k = c(() => u.value[a.label]), S = (o) => {
|
|
54
58
|
u.value = o, f.value = !1, v("change", o);
|
|
55
59
|
}, I = c(() => a.filter ? e.value.filter((o) => o.name.includes(m.value)) : e.value), e = s([]), l = s(!1);
|
|
56
|
-
return
|
|
60
|
+
return N(async () => {
|
|
57
61
|
l.value = !0;
|
|
58
62
|
const [o, i] = await de().run();
|
|
59
63
|
l.value = !1, !o && (e.value = i || []);
|
|
60
|
-
}), b({ popoverRef: V }), (o, i) => (d(), U(p(X),
|
|
64
|
+
}), b({ popoverRef: V }), (o, i) => (d(), U(p(X), W({
|
|
61
65
|
ref_key: "popoverRef",
|
|
62
66
|
ref: V,
|
|
63
67
|
"show-arrow": o.showArrow,
|
|
@@ -175,7 +179,7 @@ const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
175
179
|
for (const [a, v] of b)
|
|
176
180
|
r[a] = v;
|
|
177
181
|
return r;
|
|
178
|
-
}, F = /* @__PURE__ */ T(we, [["__scopeId", "data-v-
|
|
182
|
+
}, F = /* @__PURE__ */ T(we, [["__scopeId", "data-v-762f72de"]]), Ve = /* @__PURE__ */ $({
|
|
179
183
|
__name: "index",
|
|
180
184
|
props: {
|
|
181
185
|
modelValue: { default: "" },
|
|
@@ -197,7 +201,7 @@ const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
197
201
|
}), g = s(null), P = s(null), D = s(null), f = s(240), u = s(!1), k = () => {
|
|
198
202
|
f.value = g.value.clientWidth ?? 0;
|
|
199
203
|
};
|
|
200
|
-
|
|
204
|
+
N(() => {
|
|
201
205
|
q(() => {
|
|
202
206
|
k(), D.value = ne(() => {
|
|
203
207
|
k();
|
|
@@ -221,7 +225,7 @@ const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
221
225
|
style: H({ width: v.value })
|
|
222
226
|
},
|
|
223
227
|
[
|
|
224
|
-
C(p(le),
|
|
228
|
+
C(p(le), W({
|
|
225
229
|
ref_key: "inputRef",
|
|
226
230
|
ref: P,
|
|
227
231
|
width: "100%",
|
|
@@ -255,11 +259,11 @@ const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
255
259
|
"area-phone-placeholder": { "zh-CN": "请输入所在国家或区域中文名称", en: "Please enter your country or region" }
|
|
256
260
|
};
|
|
257
261
|
K(ye);
|
|
258
|
-
const
|
|
262
|
+
const Ne = () => s(null), We = () => s(null), Ee = E(ge), Oe = E(F), Te = { name: "区号选择手机号输入框" };
|
|
259
263
|
export {
|
|
260
264
|
Ee as DasAreaPhoneSelect,
|
|
261
|
-
|
|
265
|
+
Ne as DasAreaPhoneSelectRef,
|
|
262
266
|
Oe as DasAreaPopover,
|
|
263
|
-
|
|
267
|
+
We as DasAreaPopoverRef,
|
|
264
268
|
Te as default
|
|
265
269
|
};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-area-phone-popover-reference[data-v-
|
|
1
|
+
.das-ui-area-phone-popover-reference[data-v-762f72de]{min-width:68px;height:100%;display:flex}.das-ui-area-phone-popover-reference .icon-box[data-v-762f72de]{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-762f72de]{transform:rotate(180deg)}.das-ui-area-phone-popover-reference .icon-box.hide[data-v-762f72de]{color:transparent!important}.das-ui-area-phone-popover-reference:hover .icon-box[data-v-762f72de]{color:#276ff5}.das-ui-area-phone-popover-reference .label[data-v-762f72de]{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-762f72de]{color:#b2b2b2!important}.das-ui-area-phone-popover-content[data-v-762f72de]{width:100%}.das-ui-area-phone-popover-content .search-box[data-v-762f72de]{padding:8px}.das-ui-area-phone-popover-content .list[data-v-762f72de]{width:100%;height:248px}.das-ui-area-phone-popover-content .list .item[data-v-762f72de]{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-762f72de]:hover{background-color:#f5f5f5}.das-ui-area-phone-popover-content .list .item.selected[data-v-762f72de]{background-color:#f2f6ff}.das-ui-area-phone-popover-content .list .item.selected .item-lable[data-v-762f72de],.das-ui-area-phone-popover-content .list .item.selected .item-code[data-v-762f72de]{color:#276ff5}.das-ui-area-phone-popover-content .list .item .item-lable[data-v-762f72de]{flex:1;overflow:hidden;font-size:12px;color:#212121}.das-ui-area-phone-popover-content .list .item .item-code[data-v-762f72de]{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}
|
|
Binary file
|