@fmdeui/fmui 1.0.154 → 1.0.156
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/es/components/fm-inputnumber/index.d.ts +12 -8
- package/es/components/fm-inputnumber/index.vue.d.ts +8 -4
- package/es/packages/components/fm-inputnumber/index2.vue.mjs +76 -57
- package/index.js +77 -58
- package/index.min.js +7 -7
- package/index.min.mjs +6 -6
- package/index.mjs +77 -58
- package/lib/components/fm-inputnumber/index.d.ts +12 -8
- package/lib/components/fm-inputnumber/index.vue.d.ts +8 -4
- package/lib/packages/components/fm-inputnumber/index2.vue.js +76 -57
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
- /package/es/{component.css → defaults.css} +0 -0
- /package/lib/{index.css → defaults.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.156 */
|
|
2
2
|
import VxeUITable from 'vxe-table';
|
|
3
3
|
import VxeUIPluginRenderElement from '@vxe-ui/plugin-render-element';
|
|
4
4
|
import VxeUIPluginExportXLSX from '@vxe-ui/plugin-export-xlsx';
|
|
@@ -27435,76 +27435,57 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
27435
27435
|
emit("handleInput", validNum);
|
|
27436
27436
|
return;
|
|
27437
27437
|
}
|
|
27438
|
-
|
|
27439
|
-
|
|
27440
|
-
|
|
27441
|
-
|
|
27442
|
-
|
|
27443
|
-
|
|
27444
|
-
const rest = strVal.substring(1);
|
|
27445
|
-
if (rest.includes("-")) {
|
|
27446
|
-
strVal = "-" + rest.replace(/-/g, "");
|
|
27447
|
-
}
|
|
27448
|
-
}
|
|
27449
|
-
}
|
|
27450
|
-
const dotCount = (strVal.match(/\./g) || []).length;
|
|
27451
|
-
if (dotCount > 1) {
|
|
27452
|
-
const firstDotIndex = strVal.indexOf(".");
|
|
27453
|
-
const before = strVal.substring(0, firstDotIndex + 1);
|
|
27454
|
-
const after = strVal.substring(firstDotIndex + 1).replace(/\./g, "");
|
|
27455
|
-
strVal = before + after;
|
|
27456
|
-
}
|
|
27457
|
-
let sign = "";
|
|
27458
|
-
let body = strVal;
|
|
27459
|
-
if (body.startsWith("-")) {
|
|
27460
|
-
sign = "-";
|
|
27461
|
-
body = body.substring(1);
|
|
27462
|
-
}
|
|
27463
|
-
if (body === "") {
|
|
27464
|
-
modelValue.value = sign;
|
|
27465
|
-
emit("handleInput", sign);
|
|
27438
|
+
if (props.bType == "number") {
|
|
27439
|
+
let trimstr = String(val).replace(/[^\d]/g, "");
|
|
27440
|
+
const num = parseInt(trimstr, 10);
|
|
27441
|
+
const validNum = Number.isNaN(num) ? props.defaultValue : num;
|
|
27442
|
+
modelValue.value = validNum;
|
|
27443
|
+
emit("handleInput", validNum);
|
|
27466
27444
|
return;
|
|
27467
27445
|
}
|
|
27468
|
-
|
|
27469
|
-
|
|
27446
|
+
let cleaned = String(val).replace(/[^\d.]/g, "");
|
|
27447
|
+
const dotIndex = cleaned.indexOf(".");
|
|
27448
|
+
if (dotIndex !== -1) {
|
|
27449
|
+
const before = cleaned.substring(0, dotIndex + 1);
|
|
27450
|
+
const after = cleaned.substring(dotIndex + 1).replace(/\./g, "");
|
|
27451
|
+
cleaned = before + after;
|
|
27470
27452
|
}
|
|
27471
|
-
|
|
27472
|
-
|
|
27473
|
-
let decPart = parts.length > 1 ? parts[1] : "";
|
|
27474
|
-
intPart = intPart.replace(/^0+/, "") || "0";
|
|
27475
|
-
if (props.bType === "number") {
|
|
27476
|
-
decPart = "";
|
|
27477
|
-
} else {
|
|
27478
|
-
if (decPart.length > props.decimalPlaces) {
|
|
27479
|
-
decPart = decPart.substring(0, props.decimalPlaces);
|
|
27480
|
-
}
|
|
27453
|
+
if (cleaned.startsWith(".")) {
|
|
27454
|
+
cleaned = "0" + cleaned;
|
|
27481
27455
|
}
|
|
27482
|
-
|
|
27483
|
-
|
|
27484
|
-
|
|
27456
|
+
const parts = cleaned.split(".");
|
|
27457
|
+
parts[0] = parts[0].replace(/^0+/, "") || "0";
|
|
27458
|
+
cleaned = parts.join(".");
|
|
27459
|
+
if (cleaned.includes(".")) {
|
|
27460
|
+
const [intPart, decPart] = cleaned.split(".");
|
|
27461
|
+
cleaned = `${intPart}.${decPart.substring(0, props.decimalPlaces)}`;
|
|
27485
27462
|
}
|
|
27486
|
-
|
|
27487
|
-
|
|
27488
|
-
} else {
|
|
27489
|
-
modelValue.value = finalStr;
|
|
27490
|
-
}
|
|
27491
|
-
const numValue = Number(finalStr);
|
|
27492
|
-
const finalNum = Number.isNaN(numValue) ? props.defaultValue !== -1 ? props.defaultValue : 0 : numValue;
|
|
27493
|
-
emit("handleInput", finalNum);
|
|
27463
|
+
modelValue.value = cleaned;
|
|
27464
|
+
emit("handleInput", cleaned);
|
|
27494
27465
|
};
|
|
27495
27466
|
watch(() => modelValue.value, (newvalue, oldValue) => {
|
|
27496
|
-
if (
|
|
27497
|
-
|
|
27467
|
+
if (props.bType == "number") {
|
|
27468
|
+
if (newvalue === null || newvalue === void 0 || newvalue === "") {
|
|
27469
|
+
modelValue.value = props.defaultValue == -1 ? 0 : props.defaultValue;
|
|
27470
|
+
}
|
|
27471
|
+
} else {
|
|
27472
|
+
if (newvalue === null || newvalue === void 0 || newvalue === "") {
|
|
27473
|
+
const validNum = props.defaultValue == -1 ? 0 : props.defaultValue;
|
|
27474
|
+
modelValue.value = validNum;
|
|
27475
|
+
} else {
|
|
27476
|
+
emit("handleInput", newvalue);
|
|
27477
|
+
}
|
|
27498
27478
|
}
|
|
27499
27479
|
});
|
|
27500
27480
|
return (_ctx, _cache) => {
|
|
27501
27481
|
const _component_el_input = resolveComponent("el-input");
|
|
27502
|
-
|
|
27482
|
+
const _component_el_input_number = resolveComponent("el-input-number");
|
|
27483
|
+
return __props.bType !== "money" ? (openBlock(), createBlock(_component_el_input, {
|
|
27484
|
+
key: 0,
|
|
27503
27485
|
modelValue: modelValue.value,
|
|
27504
27486
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
27505
27487
|
placeholder: __props.placeholder,
|
|
27506
|
-
onInput: handleInput
|
|
27507
|
-
type: "text"
|
|
27488
|
+
onInput: handleInput
|
|
27508
27489
|
}, createSlots({
|
|
27509
27490
|
_: 2
|
|
27510
27491
|
/* DYNAMIC */
|
|
@@ -27537,7 +27518,45 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
27537
27518
|
]),
|
|
27538
27519
|
key: "3"
|
|
27539
27520
|
} : void 0
|
|
27540
|
-
]), 1032, ["modelValue", "placeholder"])
|
|
27521
|
+
]), 1032, ["modelValue", "placeholder"])) : (openBlock(), createBlock(_component_el_input_number, {
|
|
27522
|
+
key: 1,
|
|
27523
|
+
modelValue: modelValue.value,
|
|
27524
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => modelValue.value = $event),
|
|
27525
|
+
controls: false,
|
|
27526
|
+
placeholder: __props.placeholder
|
|
27527
|
+
}, createSlots({
|
|
27528
|
+
_: 2
|
|
27529
|
+
/* DYNAMIC */
|
|
27530
|
+
}, [
|
|
27531
|
+
_ctx.$slots.prepend ? {
|
|
27532
|
+
name: "prepend",
|
|
27533
|
+
fn: withCtx(() => [
|
|
27534
|
+
renderSlot(_ctx.$slots, "prepend")
|
|
27535
|
+
]),
|
|
27536
|
+
key: "0"
|
|
27537
|
+
} : void 0,
|
|
27538
|
+
_ctx.$slots.append ? {
|
|
27539
|
+
name: "append",
|
|
27540
|
+
fn: withCtx(() => [
|
|
27541
|
+
renderSlot(_ctx.$slots, "append")
|
|
27542
|
+
]),
|
|
27543
|
+
key: "1"
|
|
27544
|
+
} : void 0,
|
|
27545
|
+
_ctx.$slots.prefix ? {
|
|
27546
|
+
name: "prefix",
|
|
27547
|
+
fn: withCtx(() => [
|
|
27548
|
+
renderSlot(_ctx.$slots, "prefix")
|
|
27549
|
+
]),
|
|
27550
|
+
key: "2"
|
|
27551
|
+
} : void 0,
|
|
27552
|
+
_ctx.$slots.suffix ? {
|
|
27553
|
+
name: "suffix",
|
|
27554
|
+
fn: withCtx(() => [
|
|
27555
|
+
renderSlot(_ctx.$slots, "suffix")
|
|
27556
|
+
]),
|
|
27557
|
+
key: "3"
|
|
27558
|
+
} : void 0
|
|
27559
|
+
]), 1032, ["modelValue", "placeholder"]));
|
|
27541
27560
|
};
|
|
27542
27561
|
}
|
|
27543
27562
|
});
|
|
@@ -18,15 +18,15 @@ export declare const FmInputNumber: {
|
|
|
18
18
|
default: number;
|
|
19
19
|
};
|
|
20
20
|
modelValue: {
|
|
21
|
-
type: PropType<
|
|
21
|
+
type: PropType<number>;
|
|
22
22
|
required: true;
|
|
23
23
|
};
|
|
24
24
|
}>> & Readonly<{
|
|
25
|
-
"onUpdate:modelValue"?: ((value:
|
|
25
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
26
26
|
onHandleInput?: ((...args: any[]) => any) | undefined;
|
|
27
27
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
28
28
|
handleInput: (...args: any[]) => void;
|
|
29
|
-
"update:modelValue": (value:
|
|
29
|
+
"update:modelValue": (value: number) => void;
|
|
30
30
|
}, PublicProps, {
|
|
31
31
|
defaultValue: number;
|
|
32
32
|
placeholder: string;
|
|
@@ -57,11 +57,11 @@ export declare const FmInputNumber: {
|
|
|
57
57
|
default: number;
|
|
58
58
|
};
|
|
59
59
|
modelValue: {
|
|
60
|
-
type: PropType<
|
|
60
|
+
type: PropType<number>;
|
|
61
61
|
required: true;
|
|
62
62
|
};
|
|
63
63
|
}>> & Readonly<{
|
|
64
|
-
"onUpdate:modelValue"?: ((value:
|
|
64
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
65
65
|
onHandleInput?: ((...args: any[]) => any) | undefined;
|
|
66
66
|
}>, {}, {}, {}, {}, {
|
|
67
67
|
defaultValue: number;
|
|
@@ -90,15 +90,15 @@ export declare const FmInputNumber: {
|
|
|
90
90
|
default: number;
|
|
91
91
|
};
|
|
92
92
|
modelValue: {
|
|
93
|
-
type: PropType<
|
|
93
|
+
type: PropType<number>;
|
|
94
94
|
required: true;
|
|
95
95
|
};
|
|
96
96
|
}>> & Readonly<{
|
|
97
|
-
"onUpdate:modelValue"?: ((value:
|
|
97
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
98
98
|
onHandleInput?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
100
100
|
handleInput: (...args: any[]) => void;
|
|
101
|
-
"update:modelValue": (value:
|
|
101
|
+
"update:modelValue": (value: number) => void;
|
|
102
102
|
}, string, {
|
|
103
103
|
defaultValue: number;
|
|
104
104
|
placeholder: string;
|
|
@@ -107,8 +107,12 @@ export declare const FmInputNumber: {
|
|
|
107
107
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
108
108
|
$slots: {
|
|
109
109
|
prepend?(_: {}): any;
|
|
110
|
+
prepend?(_: {}): any;
|
|
111
|
+
append?(_: {}): any;
|
|
110
112
|
append?(_: {}): any;
|
|
111
113
|
prefix?(_: {}): any;
|
|
114
|
+
prefix?(_: {}): any;
|
|
115
|
+
suffix?(_: {}): any;
|
|
112
116
|
suffix?(_: {}): any;
|
|
113
117
|
};
|
|
114
118
|
});
|
|
@@ -3,8 +3,12 @@ declare function __VLS_template(): {
|
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
5
5
|
prepend?(_: {}): any;
|
|
6
|
+
prepend?(_: {}): any;
|
|
7
|
+
append?(_: {}): any;
|
|
6
8
|
append?(_: {}): any;
|
|
7
9
|
prefix?(_: {}): any;
|
|
10
|
+
prefix?(_: {}): any;
|
|
11
|
+
suffix?(_: {}): any;
|
|
8
12
|
suffix?(_: {}): any;
|
|
9
13
|
};
|
|
10
14
|
refs: {};
|
|
@@ -32,12 +36,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
32
36
|
default: number;
|
|
33
37
|
};
|
|
34
38
|
modelValue: {
|
|
35
|
-
type: PropType<
|
|
39
|
+
type: PropType<number>;
|
|
36
40
|
required: true;
|
|
37
41
|
};
|
|
38
42
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
39
43
|
handleInput: (...args: any[]) => void;
|
|
40
|
-
"update:modelValue": (value:
|
|
44
|
+
"update:modelValue": (value: number) => void;
|
|
41
45
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
42
46
|
placeholder: {
|
|
43
47
|
type: StringConstructor;
|
|
@@ -59,11 +63,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
59
63
|
default: number;
|
|
60
64
|
};
|
|
61
65
|
modelValue: {
|
|
62
|
-
type: PropType<
|
|
66
|
+
type: PropType<number>;
|
|
63
67
|
required: true;
|
|
64
68
|
};
|
|
65
69
|
}>> & Readonly<{
|
|
66
|
-
"onUpdate:modelValue"?: ((value:
|
|
70
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
67
71
|
onHandleInput?: ((...args: any[]) => any) | undefined;
|
|
68
72
|
}>, {
|
|
69
73
|
defaultValue: number;
|
|
@@ -43,76 +43,95 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
43
43
|
emit("handleInput", validNum);
|
|
44
44
|
return;
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
const rest = strVal.substring(1);
|
|
53
|
-
if (rest.includes("-")) {
|
|
54
|
-
strVal = "-" + rest.replace(/-/g, "");
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
const dotCount = (strVal.match(/\./g) || []).length;
|
|
59
|
-
if (dotCount > 1) {
|
|
60
|
-
const firstDotIndex = strVal.indexOf(".");
|
|
61
|
-
const before = strVal.substring(0, firstDotIndex + 1);
|
|
62
|
-
const after = strVal.substring(firstDotIndex + 1).replace(/\./g, "");
|
|
63
|
-
strVal = before + after;
|
|
64
|
-
}
|
|
65
|
-
let sign = "";
|
|
66
|
-
let body = strVal;
|
|
67
|
-
if (body.startsWith("-")) {
|
|
68
|
-
sign = "-";
|
|
69
|
-
body = body.substring(1);
|
|
70
|
-
}
|
|
71
|
-
if (body === "") {
|
|
72
|
-
modelValue.value = sign;
|
|
73
|
-
emit("handleInput", sign);
|
|
46
|
+
if (props.bType == "number") {
|
|
47
|
+
let trimstr = String(val).replace(/[^\d]/g, "");
|
|
48
|
+
const num = parseInt(trimstr, 10);
|
|
49
|
+
const validNum = Number.isNaN(num) ? props.defaultValue : num;
|
|
50
|
+
modelValue.value = validNum;
|
|
51
|
+
emit("handleInput", validNum);
|
|
74
52
|
return;
|
|
75
53
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
intPart = intPart.replace(/^0+/, "") || "0";
|
|
83
|
-
if (props.bType === "number") {
|
|
84
|
-
decPart = "";
|
|
85
|
-
} else {
|
|
86
|
-
if (decPart.length > props.decimalPlaces) {
|
|
87
|
-
decPart = decPart.substring(0, props.decimalPlaces);
|
|
88
|
-
}
|
|
54
|
+
let cleaned = String(val).replace(/[^\d.]/g, "");
|
|
55
|
+
const dotIndex = cleaned.indexOf(".");
|
|
56
|
+
if (dotIndex !== -1) {
|
|
57
|
+
const before = cleaned.substring(0, dotIndex + 1);
|
|
58
|
+
const after = cleaned.substring(dotIndex + 1).replace(/\./g, "");
|
|
59
|
+
cleaned = before + after;
|
|
89
60
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
finalStr += "." + decPart;
|
|
61
|
+
if (cleaned.startsWith(".")) {
|
|
62
|
+
cleaned = "0" + cleaned;
|
|
93
63
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
64
|
+
const parts = cleaned.split(".");
|
|
65
|
+
parts[0] = parts[0].replace(/^0+/, "") || "0";
|
|
66
|
+
cleaned = parts.join(".");
|
|
67
|
+
if (cleaned.includes(".")) {
|
|
68
|
+
const [intPart, decPart] = cleaned.split(".");
|
|
69
|
+
cleaned = `${intPart}.${decPart.substring(0, props.decimalPlaces)}`;
|
|
98
70
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
emit("handleInput", finalNum);
|
|
71
|
+
modelValue.value = cleaned;
|
|
72
|
+
emit("handleInput", cleaned);
|
|
102
73
|
};
|
|
103
74
|
vue.watch(() => modelValue.value, (newvalue, oldValue) => {
|
|
104
|
-
if (
|
|
105
|
-
|
|
75
|
+
if (props.bType == "number") {
|
|
76
|
+
if (newvalue === null || newvalue === void 0 || newvalue === "") {
|
|
77
|
+
modelValue.value = props.defaultValue == -1 ? 0 : props.defaultValue;
|
|
78
|
+
}
|
|
79
|
+
} else {
|
|
80
|
+
if (newvalue === null || newvalue === void 0 || newvalue === "") {
|
|
81
|
+
const validNum = props.defaultValue == -1 ? 0 : props.defaultValue;
|
|
82
|
+
modelValue.value = validNum;
|
|
83
|
+
} else {
|
|
84
|
+
emit("handleInput", newvalue);
|
|
85
|
+
}
|
|
106
86
|
}
|
|
107
87
|
});
|
|
108
88
|
return (_ctx, _cache) => {
|
|
109
89
|
const _component_el_input = vue.resolveComponent("el-input");
|
|
110
|
-
|
|
90
|
+
const _component_el_input_number = vue.resolveComponent("el-input-number");
|
|
91
|
+
return __props.bType !== "money" ? (vue.openBlock(), vue.createBlock(_component_el_input, {
|
|
92
|
+
key: 0,
|
|
111
93
|
modelValue: modelValue.value,
|
|
112
94
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
113
95
|
placeholder: __props.placeholder,
|
|
114
|
-
onInput: handleInput
|
|
115
|
-
|
|
96
|
+
onInput: handleInput
|
|
97
|
+
}, vue.createSlots({
|
|
98
|
+
_: 2
|
|
99
|
+
/* DYNAMIC */
|
|
100
|
+
}, [
|
|
101
|
+
_ctx.$slots.prepend ? {
|
|
102
|
+
name: "prepend",
|
|
103
|
+
fn: vue.withCtx(() => [
|
|
104
|
+
vue.renderSlot(_ctx.$slots, "prepend")
|
|
105
|
+
]),
|
|
106
|
+
key: "0"
|
|
107
|
+
} : void 0,
|
|
108
|
+
_ctx.$slots.append ? {
|
|
109
|
+
name: "append",
|
|
110
|
+
fn: vue.withCtx(() => [
|
|
111
|
+
vue.renderSlot(_ctx.$slots, "append")
|
|
112
|
+
]),
|
|
113
|
+
key: "1"
|
|
114
|
+
} : void 0,
|
|
115
|
+
_ctx.$slots.prefix ? {
|
|
116
|
+
name: "prefix",
|
|
117
|
+
fn: vue.withCtx(() => [
|
|
118
|
+
vue.renderSlot(_ctx.$slots, "prefix")
|
|
119
|
+
]),
|
|
120
|
+
key: "2"
|
|
121
|
+
} : void 0,
|
|
122
|
+
_ctx.$slots.suffix ? {
|
|
123
|
+
name: "suffix",
|
|
124
|
+
fn: vue.withCtx(() => [
|
|
125
|
+
vue.renderSlot(_ctx.$slots, "suffix")
|
|
126
|
+
]),
|
|
127
|
+
key: "3"
|
|
128
|
+
} : void 0
|
|
129
|
+
]), 1032, ["modelValue", "placeholder"])) : (vue.openBlock(), vue.createBlock(_component_el_input_number, {
|
|
130
|
+
key: 1,
|
|
131
|
+
modelValue: modelValue.value,
|
|
132
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => modelValue.value = $event),
|
|
133
|
+
controls: false,
|
|
134
|
+
placeholder: __props.placeholder
|
|
116
135
|
}, vue.createSlots({
|
|
117
136
|
_: 2
|
|
118
137
|
/* DYNAMIC */
|
|
@@ -145,7 +164,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
145
164
|
]),
|
|
146
165
|
key: "3"
|
|
147
166
|
} : void 0
|
|
148
|
-
]), 1032, ["modelValue", "placeholder"]);
|
|
167
|
+
]), 1032, ["modelValue", "placeholder"]));
|
|
149
168
|
};
|
|
150
169
|
}
|
|
151
170
|
});
|
package/locale/en.js
CHANGED
package/locale/en.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.156 */(function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.fmdeuiPlusLocaleEn=t())})(this,(function(){"use strict";var e={name:"en",plus:{datepicker:{date:"Please select date",dates:"Please select dates",week:"Please select week",month:"Please select month",months:"Please select months",year:"Please select year",years:"Please select years",startDatePlaceholder:"Please select start date",endDatePlaceholder:"Please select end date",datetime:"Please select datetime",startMonthPlaceholder:"Please select start month",endMonthPlaceholder:"Please select end month",startTimePlaceholder:"Please select start time",endTimePlaceholder:"Please select end time",shortcutsDate:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDaterange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"},shortcutsMonthrange:{thisMonth:"This month",thisYear:"This year",pastSixMonths:"Past six months"},shortcutsDatetime:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDatetimerange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"}},form:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},input:{placeholder:"Please enter ",appendTitle:"Yuan",validatePhone:"Please enter a valid phone number",validateIdCard:"Please enter a valid ID card number",validateInteger:"Please enter a valid integer",format:"Please enter a valid ",amount:"amount",numbers:"numbers",digitUppercase:"Please enter a valid amount format",validateError:"Please enter a valid format",escaped:{0:"Cent",1:"Penny",2:"Zero",3:"One",4:"Two",5:"Three",6:"Four",7:"Five",8:"Six",9:"Seven",10:"Eight",11:"Nine",12:"Yuan",13:"Ten thousand",14:"Ten million",15:"Ten billion",16:"Ten",17:"Hundred",18:"Thousand",19:"Short",20:"Whole"}},moduleForm:{save:"Save",back:"Back"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract",pleaseEnter:"Please enter ",pleaseSelect:"Please select ",popoverAttrs:{showTxt:"More",title:"All conditions",allTxt:"SelectAll",reverseTxt:"Reverse",clearTxt:"ClearAll"}},select:{selectAllTxt:"Select all"},selectIcon:{placeholder:"Please select icon",dialogTitle:"Please select icon",searchPlaceholder:"Search icon",emptyDescription:"No icon found"},copy:{copySuccess:"Copy success",copyFail:"Copy fail",invalidCopyContent:"Invalid copy content"},selectTable:{searchBtnTxt:"Search",radioTxt:"Radio",loadingTxt:"Loading...",copySuccess:"Copy success",copyFail:"Copy fail"},stepWizard:{lastBtnTitle:"Complete"},table:{columnBind:{btnTxt:"Column setting",title:"Column setting"},fistColumn:{label:"Number",radio:"Radio"},operator:{label:"Operation",more:"More",sum:"Sum",total:"Total",allSum:"All sum"},singleEdit:{tipText:"Click to edit"},pleaseEnter:"Please enter ",pleaseSelect:"Please select ",loadingTxt:"Loading...",dragTxt:"Drag",saveBtnTxt:"Save",density:"Density",default:"Default",loose:"Loose",compact:"Compact"},list:{idleTimeoutMessage:"Long time no operation, system logged out.",sysMessage:"System Message"}}};return e}));
|
package/locale/en.min.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.156 */var e={name:"en",plus:{datepicker:{date:"Please select date",dates:"Please select dates",week:"Please select week",month:"Please select month",months:"Please select months",year:"Please select year",years:"Please select years",startDatePlaceholder:"Please select start date",endDatePlaceholder:"Please select end date",datetime:"Please select datetime",startMonthPlaceholder:"Please select start month",endMonthPlaceholder:"Please select end month",startTimePlaceholder:"Please select start time",endTimePlaceholder:"Please select end time",shortcutsDate:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDaterange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"},shortcutsMonthrange:{thisMonth:"This month",thisYear:"This year",pastSixMonths:"Past six months"},shortcutsDatetime:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDatetimerange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"}},form:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},input:{placeholder:"Please enter ",appendTitle:"Yuan",validatePhone:"Please enter a valid phone number",validateIdCard:"Please enter a valid ID card number",validateInteger:"Please enter a valid integer",format:"Please enter a valid ",amount:"amount",numbers:"numbers",digitUppercase:"Please enter a valid amount format",validateError:"Please enter a valid format",escaped:{0:"Cent",1:"Penny",2:"Zero",3:"One",4:"Two",5:"Three",6:"Four",7:"Five",8:"Six",9:"Seven",10:"Eight",11:"Nine",12:"Yuan",13:"Ten thousand",14:"Ten million",15:"Ten billion",16:"Ten",17:"Hundred",18:"Thousand",19:"Short",20:"Whole"}},moduleForm:{save:"Save",back:"Back"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract",pleaseEnter:"Please enter ",pleaseSelect:"Please select ",popoverAttrs:{showTxt:"More",title:"All conditions",allTxt:"SelectAll",reverseTxt:"Reverse",clearTxt:"ClearAll"}},select:{selectAllTxt:"Select all"},selectIcon:{placeholder:"Please select icon",dialogTitle:"Please select icon",searchPlaceholder:"Search icon",emptyDescription:"No icon found"},copy:{copySuccess:"Copy success",copyFail:"Copy fail",invalidCopyContent:"Invalid copy content"},selectTable:{searchBtnTxt:"Search",radioTxt:"Radio",loadingTxt:"Loading...",copySuccess:"Copy success",copyFail:"Copy fail"},stepWizard:{lastBtnTitle:"Complete"},table:{columnBind:{btnTxt:"Column setting",title:"Column setting"},fistColumn:{label:"Number",radio:"Radio"},operator:{label:"Operation",more:"More",sum:"Sum",total:"Total",allSum:"All sum"},singleEdit:{tipText:"Click to edit"},pleaseEnter:"Please enter ",pleaseSelect:"Please select ",loadingTxt:"Loading...",dragTxt:"Drag",saveBtnTxt:"Save",density:"Density",default:"Default",loose:"Loose",compact:"Compact"},list:{idleTimeoutMessage:"Long time no operation, system logged out.",sysMessage:"System Message"}}};export{e as default};
|
package/locale/en.mjs
CHANGED
package/locale/zh-cn.js
CHANGED
package/locale/zh-cn.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.156 */(function(u,e){typeof exports=="object"&&typeof module!="undefined"?module.exports=e():typeof define=="function"&&define.amd?define(e):(u=typeof globalThis!="undefined"?globalThis:u||self,u.fmdeuiPlusLocaleZhCn=e())})(this,(function(){"use strict";var u={name:"zh-cn",plus:{datepicker:{date:"\u8BF7\u9009\u62E9\u65E5\u671F",dates:"\u8BF7\u9009\u62E9\u65E5\u671F",week:"\u8BF7\u9009\u62E9\u5468",month:"\u8BF7\u9009\u62E9\u6708\u4EFD",months:"\u8BF7\u9009\u62E9\u6708\u4EFD",year:"\u8BF7\u9009\u62E9\u5E74\u4EFD",years:"\u8BF7\u9009\u62E9\u5E74\u4EFD",startDatePlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",endDatePlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",datetime:"\u8BF7\u9009\u62E9\u65E5\u671F\u65F6\u95F4",startMonthPlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u6708\u4EFD",endMonthPlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u6708\u4EFD",startTimePlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",endTimePlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",shortcutsDate:{today:"\u4ECA\u5929",yesterday:"\u6628\u5929",lastWeek:"\u4E00\u5468\u524D"},shortcutsDaterange:{pastWeek:"\u6700\u8FD1\u4E00\u5468",pastMonth:"\u6700\u8FD1\u4E00\u4E2A\u6708",pastThreeMonths:"\u6700\u8FD1\u4E09\u4E2A\u6708"},shortcutsMonthrange:{thisMonth:"\u672C\u6708",thisYear:"\u4ECA\u5E74\u81F3\u4ECA",pastSixMonths:"\u6700\u8FD1\u516D\u4E2A\u6708"},shortcutsDatetime:{today:"\u4ECA\u5929",yesterday:"\u6628\u5929",lastWeek:"\u4E00\u5468\u524D"},shortcutsDatetimerange:{pastWeek:"\u6700\u8FD1\u4E00\u5468",pastMonth:"\u6700\u8FD1\u4E00\u4E2A\u6708",pastThreeMonths:"\u6700\u8FD1\u4E09\u4E2A\u6708"}},form:{pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9"},input:{placeholder:"\u8BF7\u8F93\u5165",appendTitle:"\u5143",validatePhone:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801",validateIdCard:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801",validateInteger:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6574\u6570",format:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684",amount:"\u91D1\u989D",numbers:"\u6570\u5B57",digitUppercase:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u91D1\u989D\u683C\u5F0F",validateError:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u683C\u5F0F",escaped:{0:"\u89D2",1:"\u5206",2:"\u96F6",3:"\u58F9",4:"\u8D30",5:"\u53C1",6:"\u8086",7:"\u4F0D",8:"\u9646",9:"\u67D2",10:"\u634C",11:"\u7396",12:"\u5143",13:"\u4E07",14:"\u4EBF",15:"\u5146",16:"\u62FE",17:"\u4F70",18:"\u4EDF",19:"\u6B20",20:"\u6574"}},moduleForm:{save:"\u4FDD\u5B58",back:"\u8FD4\u56DE"},search:{searchText:"\u67E5\u8BE2",resetText:"\u91CD\u7F6E",expand:"\u5C55\u5F00",retract:"\u6536\u8D77",pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9",popoverAttrs:{showTxt:"\u66F4\u591A",title:"\u6240\u6709\u6761\u4EF6",allTxt:"\u5168\u9009",reverseTxt:"\u53CD\u9009",clearTxt:"\u6E05\u7A7A"}},select:{selectAllTxt:"\u5168\u9009"},selectIcon:{placeholder:"\u8BF7\u9009\u62E9\u56FE\u6807",dialogTitle:"\u8BF7\u9009\u62E9\u56FE\u6807",searchPlaceholder:"\u641C\u7D22\u56FE\u6807",emptyDescription:"\u672A\u641C\u7D22\u5230\u60A8\u8981\u627E\u7684\u56FE\u6807"},copy:{copySuccess:"\u590D\u5236\u6210\u529F",copyFail:"\u590D\u5236\u5931\u8D25",invalidCopyContent:"\u65E0\u6548\u7684\u590D\u5236\u5185\u5BB9"},selectTable:{searchBtnTxt:"\u5173\u95ED\u4E0B\u62C9\u6846",radioTxt:"\u5355\u9009",loadingTxt:"\u52A0\u8F7D\u4E2D..."},stepWizard:{lastBtnTitle:"\u5B8C\u6210"},table:{columnBind:{btnTxt:"\u5217\u8BBE\u7F6E",title:"\u5217\u8BBE\u7F6E"},fistColumn:{label:"\u5E8F\u53F7",radio:"\u5355\u9009"},operator:{label:"\u64CD\u4F5C",more:"\u66F4\u591A",sum:"\u5F53\u9875\u5408\u8BA1",total:"\u5408\u8BA1",allSum:"\u5168\u90E8\u5408\u8BA1"},singleEdit:{tipText:"\u5355\u51FB\u53EF\u7F16\u8F91"},pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9",loadingTxt:"\u52A0\u8F7D\u4E2D...",saveBtnTxt:"\u4FDD\u5B58",dragTxt:"\u62D6\u52A8",density:"\u5BC6\u5EA6",default:"\u9ED8\u8BA4",loose:"\u5BBD\u677E",compact:"\u7D27\u51D1"},list:{idleTimeoutMessage:"\u957F\u65F6\u95F4\u672A\u64CD\u4F5C\uFF0C\u5DF2\u9000\u51FA\u7CFB\u7EDF\u3002",sysMessage:"\u7CFB\u7EDF\u6D88\u606F"}}};return u}));
|
package/locale/zh-cn.min.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.156 */var u={name:"zh-cn",plus:{datepicker:{date:"\u8BF7\u9009\u62E9\u65E5\u671F",dates:"\u8BF7\u9009\u62E9\u65E5\u671F",week:"\u8BF7\u9009\u62E9\u5468",month:"\u8BF7\u9009\u62E9\u6708\u4EFD",months:"\u8BF7\u9009\u62E9\u6708\u4EFD",year:"\u8BF7\u9009\u62E9\u5E74\u4EFD",years:"\u8BF7\u9009\u62E9\u5E74\u4EFD",startDatePlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",endDatePlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",datetime:"\u8BF7\u9009\u62E9\u65E5\u671F\u65F6\u95F4",startMonthPlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u6708\u4EFD",endMonthPlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u6708\u4EFD",startTimePlaceholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",endTimePlaceholder:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",shortcutsDate:{today:"\u4ECA\u5929",yesterday:"\u6628\u5929",lastWeek:"\u4E00\u5468\u524D"},shortcutsDaterange:{pastWeek:"\u6700\u8FD1\u4E00\u5468",pastMonth:"\u6700\u8FD1\u4E00\u4E2A\u6708",pastThreeMonths:"\u6700\u8FD1\u4E09\u4E2A\u6708"},shortcutsMonthrange:{thisMonth:"\u672C\u6708",thisYear:"\u4ECA\u5E74\u81F3\u4ECA",pastSixMonths:"\u6700\u8FD1\u516D\u4E2A\u6708"},shortcutsDatetime:{today:"\u4ECA\u5929",yesterday:"\u6628\u5929",lastWeek:"\u4E00\u5468\u524D"},shortcutsDatetimerange:{pastWeek:"\u6700\u8FD1\u4E00\u5468",pastMonth:"\u6700\u8FD1\u4E00\u4E2A\u6708",pastThreeMonths:"\u6700\u8FD1\u4E09\u4E2A\u6708"}},form:{pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9"},input:{placeholder:"\u8BF7\u8F93\u5165",appendTitle:"\u5143",validatePhone:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7\u7801",validateIdCard:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1\u53F7\u7801",validateInteger:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6574\u6570",format:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684",amount:"\u91D1\u989D",numbers:"\u6570\u5B57",digitUppercase:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u91D1\u989D\u683C\u5F0F",validateError:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u683C\u5F0F",escaped:{0:"\u89D2",1:"\u5206",2:"\u96F6",3:"\u58F9",4:"\u8D30",5:"\u53C1",6:"\u8086",7:"\u4F0D",8:"\u9646",9:"\u67D2",10:"\u634C",11:"\u7396",12:"\u5143",13:"\u4E07",14:"\u4EBF",15:"\u5146",16:"\u62FE",17:"\u4F70",18:"\u4EDF",19:"\u6B20",20:"\u6574"}},moduleForm:{save:"\u4FDD\u5B58",back:"\u8FD4\u56DE"},search:{searchText:"\u67E5\u8BE2",resetText:"\u91CD\u7F6E",expand:"\u5C55\u5F00",retract:"\u6536\u8D77",pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9",popoverAttrs:{showTxt:"\u66F4\u591A",title:"\u6240\u6709\u6761\u4EF6",allTxt:"\u5168\u9009",reverseTxt:"\u53CD\u9009",clearTxt:"\u6E05\u7A7A"}},select:{selectAllTxt:"\u5168\u9009"},selectIcon:{placeholder:"\u8BF7\u9009\u62E9\u56FE\u6807",dialogTitle:"\u8BF7\u9009\u62E9\u56FE\u6807",searchPlaceholder:"\u641C\u7D22\u56FE\u6807",emptyDescription:"\u672A\u641C\u7D22\u5230\u60A8\u8981\u627E\u7684\u56FE\u6807"},copy:{copySuccess:"\u590D\u5236\u6210\u529F",copyFail:"\u590D\u5236\u5931\u8D25",invalidCopyContent:"\u65E0\u6548\u7684\u590D\u5236\u5185\u5BB9"},selectTable:{searchBtnTxt:"\u5173\u95ED\u4E0B\u62C9\u6846",radioTxt:"\u5355\u9009",loadingTxt:"\u52A0\u8F7D\u4E2D..."},stepWizard:{lastBtnTitle:"\u5B8C\u6210"},table:{columnBind:{btnTxt:"\u5217\u8BBE\u7F6E",title:"\u5217\u8BBE\u7F6E"},fistColumn:{label:"\u5E8F\u53F7",radio:"\u5355\u9009"},operator:{label:"\u64CD\u4F5C",more:"\u66F4\u591A",sum:"\u5F53\u9875\u5408\u8BA1",total:"\u5408\u8BA1",allSum:"\u5168\u90E8\u5408\u8BA1"},singleEdit:{tipText:"\u5355\u51FB\u53EF\u7F16\u8F91"},pleaseEnter:"\u8BF7\u8F93\u5165",pleaseSelect:"\u8BF7\u9009\u62E9",loadingTxt:"\u52A0\u8F7D\u4E2D...",saveBtnTxt:"\u4FDD\u5B58",dragTxt:"\u62D6\u52A8",density:"\u5BC6\u5EA6",default:"\u9ED8\u8BA4",loose:"\u5BBD\u677E",compact:"\u7D27\u51D1"},list:{idleTimeoutMessage:"\u957F\u65F6\u95F4\u672A\u64CD\u4F5C\uFF0C\u5DF2\u9000\u51FA\u7CFB\u7EDF\u3002",sysMessage:"\u7CFB\u7EDF\u6D88\u606F"}}};export{u as default};
|
package/locale/zh-cn.mjs
CHANGED
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|