@julingbase/jly-arco-design 0.0.5 → 0.0.7
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/README.md +13 -0
- package/dist/arco-vue.js +7 -4
- package/dist/arco-vue.js.map +1 -1
- package/dist/arco-vue.min.js +4 -3
- package/dist/arco-vue.min.js.map +1 -1
- package/es/_components/picker/input-range.d.ts +2 -2
- package/es/_components/picker/input.d.ts +1 -1
- package/es/date-picker/index.d.ts +2 -2
- package/es/date-picker/picker.d.ts +1 -1
- package/es/date-picker/range-picker.d.ts +2 -2
- package/es/drawer/drawer.d.ts +1 -1
- package/es/drawer/index.d.ts +3 -3
- package/es/input/index.d.ts +24 -0
- package/es/input/input-password.d.ts +9 -0
- package/es/input/input.d.ts +9 -0
- package/es/input/input.js +6 -3
- package/es/mention/index.d.ts +3 -3
- package/es/mention/mention.d.ts +1 -1
- package/es/message/message.d.ts +1 -1
- package/es/split/index.d.ts +3 -3
- package/es/split/split.d.ts +1 -1
- package/es/tabs/index.d.ts +3 -3
- package/es/tabs/tabs.d.ts +1 -1
- package/es/time-picker/index.d.ts +6 -6
- package/es/time-picker/time-picker.d.ts +3 -3
- package/es/typography/edit-content.d.ts +72 -0
- package/es/upload/index.d.ts +3 -3
- package/es/upload/upload.d.ts +2 -2
- package/es/upload/upload.js +1 -1
- package/json/vetur-attributes.json +1685 -1685
- package/json/vetur-tags.json +590 -590
- package/json/web-types.json +3733 -3733
- package/lib/input/input.js +6 -3
- package/lib/upload/upload.js +1 -1
- package/package.json +2 -2
package/dist/arco-vue.min.js
CHANGED
|
@@ -1288,7 +1288,8 @@
|
|
|
1288
1288
|
const o2 = x(t2);
|
|
1289
1289
|
e2.component(o2 + co.name, co);
|
|
1290
1290
|
} });
|
|
1291
|
-
var po = e.defineComponent({ name: "Input", components: { Tooltip: uo }, inheritAttrs: false, props: { modelValue: String, defaultValue: { type: String, default: "" }, size: { type: String }, allowClear: { type: Boolean, default: false }, disabled: { type: Boolean, default: false }, readonly: { type: Boolean, default: false }, error: { type: Boolean, default: false }, placeholder: String, maxLength: { type: [Number, Object], default: 0 }, showWordLimit: { type: Boolean, default: false }, wordLength: { type: Function }, wordSlice: { type: Function }, inputAttrs: { type: Object }, type: { type: String, default: "text" }, prepend: String, append: String, enableToolTip: { type: Boolean, default: false }
|
|
1291
|
+
var po = e.defineComponent({ name: "Input", components: { Tooltip: uo }, inheritAttrs: false, props: { modelValue: String, defaultValue: { type: String, default: "" }, size: { type: String }, allowClear: { type: Boolean, default: false }, disabled: { type: Boolean, default: false }, readonly: { type: Boolean, default: false }, error: { type: Boolean, default: false }, placeholder: String, maxLength: { type: [Number, Object], default: 0 }, showWordLimit: { type: Boolean, default: false }, wordLength: { type: Function }, wordSlice: { type: Function }, inputAttrs: { type: Object }, type: { type: String, default: "text" }, prepend: String, append: String, enableToolTip: { type: Boolean, default: false }, toolTipProps: { type: Object, default: () => {
|
|
1292
|
+
} } }, emits: { "update:modelValue": (e2) => true, input: (e2, t2) => true, change: (e2, t2) => true, pressEnter: (e2) => true, clear: (e2) => true, focus: (e2) => true, blur: (e2) => true }, setup(t2, { emit: o2, slots: n2, attrs: r2 }) {
|
|
1292
1293
|
const { size: i2, disabled: s2, error: d2, modelValue: p2, enableToolTip: m2 } = e.toRefs(t2), f2 = S("input"), v2 = e.ref(), { mergedSize: h2, mergedDisabled: g2, mergedError: y2, feedback: k2, eventHandlers: b2 } = Ht({ size: i2, disabled: s2, error: d2 }), { mergedSize: C2 } = Wt(h2), [x2, w2] = Kt(v2), V2 = e.ref(t2.defaultValue), N2 = e.computed(() => {
|
|
1293
1294
|
var _a2;
|
|
1294
1295
|
return (_a2 = t2.modelValue) != null ? _a2 : V2.value;
|
|
@@ -1350,7 +1351,7 @@
|
|
|
1350
1351
|
return M2.value && (e2["aria-invalid"] = true), e2;
|
|
1351
1352
|
}), ee2 = e.computed(() => m2.value ? {} : { "popup-visible": false }), te2 = (o3) => {
|
|
1352
1353
|
var _a2;
|
|
1353
|
-
return e.createVNode("span", e.mergeProps({ class: X2.value, onMousedown: D2 }, o3 ? void 0 : _2.value), [n2.prefix && e.createVNode("span", { class: `${f2}-prefix` }, [n2.prefix()]), e.createVNode(uo, e.mergeProps(
|
|
1354
|
+
return e.createVNode("span", e.mergeProps({ class: X2.value, onMousedown: D2 }, o3 ? void 0 : _2.value), [n2.prefix && e.createVNode("span", { class: `${f2}-prefix` }, [n2.prefix()]), e.createVNode(uo, e.mergeProps(ee2.value, t2.toolTipProps), { default: () => [e.createVNode("input", e.mergeProps({ ref: v2, class: G2.value, value: N2.value, type: t2.type, placeholder: t2.placeholder, readonly: t2.readonly, disabled: g2.value, onInput: q2, onKeydown: Y2, onFocus: F2, onBlur: H2, onCompositionstart: W2, onCompositionupdate: W2, onCompositionend: W2 }, J2.value), null)] }), z2.value && e.createVNode(Ve, { prefix: f2, class: `${f2}-clear-btn`, onClick: Z2 }, { default: () => [e.createVNode(ze, null, null)] }), (n2.suffix || Boolean(t2.maxLength) && t2.showWordLimit || Boolean(k2.value)) && e.createVNode("span", { class: [`${f2}-suffix`, { [`${f2}-suffix-has-feedback`]: k2.value }] }, [Boolean(t2.maxLength) && t2.showWordLimit && e.createVNode("span", { class: `${f2}-word-limit` }, [O2.value, e.createTextVNode("/"), j2.value]), (_a2 = n2.suffix) == null ? void 0 : _a2.call(n2), Boolean(k2.value) && e.createVNode(Lt, { type: k2.value }, null)])]);
|
|
1354
1355
|
};
|
|
1355
1356
|
return { inputRef: v2, render: () => n2.prepend || n2.append || t2.prepend || t2.append ? e.createVNode("span", e.mergeProps({ class: U2.value }, _2.value), [(n2.prepend || t2.prepend) && e.createVNode("span", { class: `${f2}-prepend` }, [n2.prepend ? n2.prepend() : t2.prepend]), te2(true), (n2.append || t2.append) && e.createVNode("span", { class: `${f2}-append` }, [n2.append ? n2.append() : t2.append])]) : te2() };
|
|
1356
1357
|
}, methods: { focus() {
|
|
@@ -11478,7 +11479,7 @@
|
|
|
11478
11479
|
else
|
|
11479
11480
|
for (let o3 = 0; o3 < e2.length; o3++) {
|
|
11480
11481
|
const l3 = e2[o3];
|
|
11481
|
-
u(t2.onBeforeUpload) ? Promise.resolve(t2.onBeforeUpload(l3)).then((e3) => {
|
|
11482
|
+
u(t2.onBeforeUpload) ? Promise.resolve(t2.onBeforeUpload(l3, e2.length)).then((e3) => {
|
|
11482
11483
|
e3 && P2(n(e3) ? l3 : e3, o3);
|
|
11483
11484
|
}).catch((e3) => {
|
|
11484
11485
|
console.error(e3);
|