@fmdeui/fmui 1.0.90 → 1.0.92
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/component.mjs +3 -1
- package/es/components/fm-inputnumber/index.d.ts +94 -0
- package/es/components/fm-inputnumber/index.vue.d.ts +63 -0
- package/es/components/index.d.ts +1 -0
- package/es/packages/components/fm-inputnumber/index.mjs +6 -0
- package/es/packages/components/fm-inputnumber/index.vue.mjs +5 -0
- package/es/packages/components/fm-inputnumber/index.vue2.mjs +105 -0
- package/es/packages/components/index.mjs +1 -0
- package/index.js +146 -41
- package/index.min.js +6 -6
- package/index.min.mjs +6 -6
- package/index.mjs +146 -41
- package/lib/component.js +3 -1
- package/lib/components/fm-inputnumber/index.d.ts +94 -0
- package/lib/components/fm-inputnumber/index.vue.d.ts +63 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/packages/components/fm-inputnumber/index.js +8 -0
- package/lib/packages/components/fm-inputnumber/index.vue.js +9 -0
- package/lib/packages/components/fm-inputnumber/index.vue2.js +109 -0
- package/lib/packages/components/index.js +6 -4
- 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/{version.css → index.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.92 */
|
|
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';
|
|
@@ -20165,7 +20165,7 @@ const setupVXETable = (app) => {
|
|
|
20165
20165
|
app.use(VxeUITable);
|
|
20166
20166
|
};
|
|
20167
20167
|
|
|
20168
|
-
var _sfc_main$
|
|
20168
|
+
var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
20169
20169
|
...{
|
|
20170
20170
|
name: "FButton"
|
|
20171
20171
|
},
|
|
@@ -20235,7 +20235,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
20235
20235
|
}
|
|
20236
20236
|
});
|
|
20237
20237
|
|
|
20238
|
-
const FButton = _sfc_main$
|
|
20238
|
+
const FButton = _sfc_main$I;
|
|
20239
20239
|
|
|
20240
20240
|
const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
|
|
20241
20241
|
const translate = (path, option, locale) => get(locale, path, path).replace(
|
|
@@ -20882,7 +20882,7 @@ function showTabelColumn(field) {
|
|
|
20882
20882
|
|
|
20883
20883
|
const _hoisted_1$s = { key: 0 };
|
|
20884
20884
|
const _hoisted_2$i = { key: 0 };
|
|
20885
|
-
var _sfc_main$
|
|
20885
|
+
var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
20886
20886
|
...{
|
|
20887
20887
|
name: "FInput"
|
|
20888
20888
|
},
|
|
@@ -21135,13 +21135,13 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
21135
21135
|
}
|
|
21136
21136
|
});
|
|
21137
21137
|
|
|
21138
|
-
const FInput = _sfc_main$
|
|
21138
|
+
const FInput = _sfc_main$H;
|
|
21139
21139
|
|
|
21140
21140
|
const _hoisted_1$r = {
|
|
21141
21141
|
key: 0,
|
|
21142
21142
|
class: "back_to_top"
|
|
21143
21143
|
};
|
|
21144
|
-
var _sfc_main$
|
|
21144
|
+
var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
21145
21145
|
...{
|
|
21146
21146
|
name: "FLayoutPage"
|
|
21147
21147
|
},
|
|
@@ -21231,9 +21231,9 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21231
21231
|
}
|
|
21232
21232
|
});
|
|
21233
21233
|
|
|
21234
|
-
const FLayoutPage = _sfc_main$
|
|
21234
|
+
const FLayoutPage = _sfc_main$G;
|
|
21235
21235
|
|
|
21236
|
-
var _sfc_main$
|
|
21236
|
+
var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
21237
21237
|
...{
|
|
21238
21238
|
name: "FLayoutPageItem"
|
|
21239
21239
|
},
|
|
@@ -21261,7 +21261,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
21261
21261
|
}
|
|
21262
21262
|
});
|
|
21263
21263
|
|
|
21264
|
-
const FLayoutPageItem = _sfc_main$
|
|
21264
|
+
const FLayoutPageItem = _sfc_main$F;
|
|
21265
21265
|
|
|
21266
21266
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
21267
21267
|
let timer = null;
|
|
@@ -21305,7 +21305,7 @@ function toLine(name) {
|
|
|
21305
21305
|
}
|
|
21306
21306
|
|
|
21307
21307
|
const _hoisted_1$q = ["id"];
|
|
21308
|
-
var _sfc_main$
|
|
21308
|
+
var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
21309
21309
|
...{
|
|
21310
21310
|
name: "FChart"
|
|
21311
21311
|
},
|
|
@@ -21404,13 +21404,13 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
21404
21404
|
}
|
|
21405
21405
|
});
|
|
21406
21406
|
|
|
21407
|
-
const FChart = _sfc_main$
|
|
21407
|
+
const FChart = _sfc_main$E;
|
|
21408
21408
|
|
|
21409
21409
|
const _hoisted_1$p = {
|
|
21410
21410
|
key: 1,
|
|
21411
21411
|
class: "f_select__pagination"
|
|
21412
21412
|
};
|
|
21413
|
-
var _sfc_main$
|
|
21413
|
+
var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
21414
21414
|
...{
|
|
21415
21415
|
name: "FSelect"
|
|
21416
21416
|
},
|
|
@@ -21661,9 +21661,9 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
21661
21661
|
}
|
|
21662
21662
|
});
|
|
21663
21663
|
|
|
21664
|
-
const FSelect = _sfc_main$
|
|
21664
|
+
const FSelect = _sfc_main$D;
|
|
21665
21665
|
|
|
21666
|
-
var _sfc_main$
|
|
21666
|
+
var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
21667
21667
|
...{
|
|
21668
21668
|
name: "RenderComp"
|
|
21669
21669
|
},
|
|
@@ -21688,7 +21688,7 @@ const _hoisted_2$h = { class: "inside_box_title" };
|
|
|
21688
21688
|
const _hoisted_3$a = { class: "check-box" };
|
|
21689
21689
|
const _hoisted_4$7 = { class: "more_dropdown_icon" };
|
|
21690
21690
|
const _hoisted_5$6 = { class: "out_box" };
|
|
21691
|
-
var _sfc_main$
|
|
21691
|
+
var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
21692
21692
|
...{
|
|
21693
21693
|
name: "MoreChoose"
|
|
21694
21694
|
},
|
|
@@ -22003,7 +22003,7 @@ function useComputed() {
|
|
|
22003
22003
|
};
|
|
22004
22004
|
}
|
|
22005
22005
|
|
|
22006
|
-
var _sfc_main$
|
|
22006
|
+
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
22007
22007
|
...{
|
|
22008
22008
|
name: "FQueryCondition"
|
|
22009
22009
|
},
|
|
@@ -22422,7 +22422,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
22422
22422
|
opt.labelRender ? {
|
|
22423
22423
|
name: "label",
|
|
22424
22424
|
fn: withCtx(() => [
|
|
22425
|
-
createVNode(_sfc_main$
|
|
22425
|
+
createVNode(_sfc_main$C, {
|
|
22426
22426
|
form: unref(queryState).form,
|
|
22427
22427
|
render: opt.labelRender
|
|
22428
22428
|
}, null, 8, ["form", "render"])
|
|
@@ -22518,7 +22518,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
22518
22518
|
_: 1
|
|
22519
22519
|
/* STABLE */
|
|
22520
22520
|
})) : createCommentVNode("v-if", true),
|
|
22521
|
-
createVNode(_sfc_main$
|
|
22521
|
+
createVNode(_sfc_main$B, {
|
|
22522
22522
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22523
22523
|
moreCheckList: __props.moreCheckList,
|
|
22524
22524
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22544,7 +22544,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
22544
22544
|
}
|
|
22545
22545
|
});
|
|
22546
22546
|
|
|
22547
|
-
var _sfc_main$
|
|
22547
|
+
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
22548
22548
|
...{
|
|
22549
22549
|
name: "RenderCol"
|
|
22550
22550
|
},
|
|
@@ -22710,7 +22710,7 @@ const _hoisted_4$6 = {
|
|
|
22710
22710
|
key: 0,
|
|
22711
22711
|
class: "f-table-select__page"
|
|
22712
22712
|
};
|
|
22713
|
-
var _sfc_main$
|
|
22713
|
+
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
22714
22714
|
...{
|
|
22715
22715
|
name: "FSelectTable"
|
|
22716
22716
|
},
|
|
@@ -23334,7 +23334,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23334
23334
|
[
|
|
23335
23335
|
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
23336
23336
|
createVNode(
|
|
23337
|
-
_sfc_main$
|
|
23337
|
+
_sfc_main$A,
|
|
23338
23338
|
mergeProps({
|
|
23339
23339
|
ref_key: "fQueryConditionRef",
|
|
23340
23340
|
ref: fQueryConditionRef,
|
|
@@ -23460,7 +23460,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23460
23460
|
fixed: item.fixed
|
|
23461
23461
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23462
23462
|
default: withCtx((scope) => [
|
|
23463
|
-
item.render ? (openBlock(), createBlock(_sfc_main$
|
|
23463
|
+
item.render ? (openBlock(), createBlock(_sfc_main$z, {
|
|
23464
23464
|
key: 0,
|
|
23465
23465
|
column: item,
|
|
23466
23466
|
row: scope.row,
|
|
@@ -23523,11 +23523,11 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23523
23523
|
}
|
|
23524
23524
|
});
|
|
23525
23525
|
|
|
23526
|
-
const FSelectTable = _sfc_main$
|
|
23526
|
+
const FSelectTable = _sfc_main$y;
|
|
23527
23527
|
|
|
23528
|
-
const FQueryCondition = _sfc_main$
|
|
23528
|
+
const FQueryCondition = _sfc_main$A;
|
|
23529
23529
|
|
|
23530
|
-
var _sfc_main$
|
|
23530
|
+
var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
23531
23531
|
...{
|
|
23532
23532
|
name: "RenderComp"
|
|
23533
23533
|
},
|
|
@@ -23547,7 +23547,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
23547
23547
|
}
|
|
23548
23548
|
});
|
|
23549
23549
|
|
|
23550
|
-
var _sfc_main$
|
|
23550
|
+
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
23551
23551
|
...{
|
|
23552
23552
|
name: "RenderBtn"
|
|
23553
23553
|
},
|
|
@@ -23572,7 +23572,7 @@ const _hoisted_1$m = {
|
|
|
23572
23572
|
class: "text_show"
|
|
23573
23573
|
};
|
|
23574
23574
|
const _hoisted_2$f = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23575
|
-
var _sfc_main$
|
|
23575
|
+
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
23576
23576
|
...{
|
|
23577
23577
|
name: "FForm"
|
|
23578
23578
|
},
|
|
@@ -23943,7 +23943,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
23943
23943
|
item.labelSlotName || item.labelRender ? {
|
|
23944
23944
|
name: "label",
|
|
23945
23945
|
fn: withCtx(() => [
|
|
23946
|
-
item.labelRender ? (openBlock(), createBlock(_sfc_main$
|
|
23946
|
+
item.labelRender ? (openBlock(), createBlock(_sfc_main$x, {
|
|
23947
23947
|
key: 0,
|
|
23948
23948
|
render: item.labelRender,
|
|
23949
23949
|
item
|
|
@@ -23975,7 +23975,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
23975
23975
|
Fragment,
|
|
23976
23976
|
null,
|
|
23977
23977
|
[
|
|
23978
|
-
val.render ? (openBlock(), createBlock(_sfc_main$
|
|
23978
|
+
val.render ? (openBlock(), createBlock(_sfc_main$w, {
|
|
23979
23979
|
key: index,
|
|
23980
23980
|
item: val,
|
|
23981
23981
|
render: val.render
|
|
@@ -24022,10 +24022,10 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
24022
24022
|
}
|
|
24023
24023
|
});
|
|
24024
24024
|
|
|
24025
|
-
const FForm = _sfc_main$
|
|
24025
|
+
const FForm = _sfc_main$v;
|
|
24026
24026
|
|
|
24027
24027
|
const _hoisted_1$l = ["src"];
|
|
24028
|
-
var _sfc_main$
|
|
24028
|
+
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
24029
24029
|
...{
|
|
24030
24030
|
name: "svgIcon"
|
|
24031
24031
|
},
|
|
@@ -24123,13 +24123,13 @@ function elSvg(app) {
|
|
|
24123
24123
|
}
|
|
24124
24124
|
}
|
|
24125
24125
|
if (!app._context.components[`SvgIcon`]) {
|
|
24126
|
-
app.component("SvgIcon", _sfc_main$
|
|
24126
|
+
app.component("SvgIcon", _sfc_main$u);
|
|
24127
24127
|
}
|
|
24128
24128
|
}
|
|
24129
24129
|
|
|
24130
24130
|
const emitter = mitt();
|
|
24131
24131
|
|
|
24132
|
-
var _sfc_main$
|
|
24132
|
+
var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
24133
24133
|
...{
|
|
24134
24134
|
name: "FLayout"
|
|
24135
24135
|
},
|
|
@@ -24215,7 +24215,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
24215
24215
|
}
|
|
24216
24216
|
});
|
|
24217
24217
|
|
|
24218
|
-
const FLayout = _sfc_main$
|
|
24218
|
+
const FLayout = _sfc_main$t;
|
|
24219
24219
|
|
|
24220
24220
|
function commonFunction() {
|
|
24221
24221
|
const { copy, isSupported } = useClipboard();
|
|
@@ -24617,7 +24617,7 @@ const _hoisted_119 = {
|
|
|
24617
24617
|
class: "traditionalColors-chines",
|
|
24618
24618
|
style: { "cursor": "grab", "color": "gray" }
|
|
24619
24619
|
};
|
|
24620
|
-
var _sfc_main$
|
|
24620
|
+
var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
24621
24621
|
...{
|
|
24622
24622
|
name: "FSettings"
|
|
24623
24623
|
},
|
|
@@ -26380,9 +26380,9 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
26380
26380
|
}
|
|
26381
26381
|
});
|
|
26382
26382
|
|
|
26383
|
-
const FSettings = _sfc_main$
|
|
26383
|
+
const FSettings = _sfc_main$s;
|
|
26384
26384
|
|
|
26385
|
-
var _sfc_main$
|
|
26385
|
+
var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
26386
26386
|
...{
|
|
26387
26387
|
name: "FModifyRecord"
|
|
26388
26388
|
},
|
|
@@ -26645,9 +26645,9 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
26645
26645
|
}
|
|
26646
26646
|
});
|
|
26647
26647
|
|
|
26648
|
-
const FModifyRecord = _sfc_main$
|
|
26648
|
+
const FModifyRecord = _sfc_main$r;
|
|
26649
26649
|
|
|
26650
|
-
var _sfc_main$
|
|
26650
|
+
var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
26651
26651
|
...{
|
|
26652
26652
|
name: "Fminputdropdown"
|
|
26653
26653
|
},
|
|
@@ -26839,7 +26839,111 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
26839
26839
|
}
|
|
26840
26840
|
});
|
|
26841
26841
|
|
|
26842
|
-
const Fminputdropdown = _sfc_main$
|
|
26842
|
+
const Fminputdropdown = _sfc_main$q;
|
|
26843
|
+
|
|
26844
|
+
var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
26845
|
+
...{ name: "FmInputNumber" },
|
|
26846
|
+
__name: "index",
|
|
26847
|
+
props: /* @__PURE__ */ mergeModels({
|
|
26848
|
+
placeholder: {
|
|
26849
|
+
type: String,
|
|
26850
|
+
default: "\u8BF7\u8F93\u5165\u91D1\u989D"
|
|
26851
|
+
},
|
|
26852
|
+
defaultValue: {
|
|
26853
|
+
type: Number,
|
|
26854
|
+
default: -1
|
|
26855
|
+
},
|
|
26856
|
+
bType: {
|
|
26857
|
+
type: String,
|
|
26858
|
+
default: "money"
|
|
26859
|
+
}
|
|
26860
|
+
}, {
|
|
26861
|
+
"modelValue": { required: true, default: 0 },
|
|
26862
|
+
"modelModifiers": {}
|
|
26863
|
+
}),
|
|
26864
|
+
emits: ["update:modelValue"],
|
|
26865
|
+
setup(__props) {
|
|
26866
|
+
const modelValue = useModel(__props, "modelValue");
|
|
26867
|
+
const props = __props;
|
|
26868
|
+
const handleInput = (val) => {
|
|
26869
|
+
if (val === "" || val === null || val === void 0) {
|
|
26870
|
+
modelValue.value = props.defaultValue !== -1 ? props.defaultValue : 0;
|
|
26871
|
+
return;
|
|
26872
|
+
}
|
|
26873
|
+
if (props.bType == "number") {
|
|
26874
|
+
const num = parseInt(val, 10);
|
|
26875
|
+
modelValue.value = Number.isNaN(num) ? props.defaultValue : num;
|
|
26876
|
+
return;
|
|
26877
|
+
}
|
|
26878
|
+
let cleaned = String(val).replace(/[^\d.]/g, "");
|
|
26879
|
+
const dotIndex = cleaned.indexOf(".");
|
|
26880
|
+
if (dotIndex !== -1) {
|
|
26881
|
+
const before = cleaned.substring(0, dotIndex + 1);
|
|
26882
|
+
const after = cleaned.substring(dotIndex + 1).replace(/\./g, "");
|
|
26883
|
+
cleaned = before + after;
|
|
26884
|
+
}
|
|
26885
|
+
if (cleaned.startsWith(".")) {
|
|
26886
|
+
cleaned = "0" + cleaned;
|
|
26887
|
+
}
|
|
26888
|
+
const parts = cleaned.split(".");
|
|
26889
|
+
parts[0] = parts[0].replace(/^0+/, "") || "0";
|
|
26890
|
+
cleaned = parts.join(".");
|
|
26891
|
+
if (cleaned.includes(".")) {
|
|
26892
|
+
const [intPart, decPart] = cleaned.split(".");
|
|
26893
|
+
cleaned = `${intPart}.${decPart.substring(0, 2)}`;
|
|
26894
|
+
}
|
|
26895
|
+
modelValue.value = cleaned;
|
|
26896
|
+
};
|
|
26897
|
+
watch(() => modelValue.value, (newvalue, oldValue) => {
|
|
26898
|
+
if (newvalue == "") {
|
|
26899
|
+
modelValue.value = props.defaultValue == -1 ? 0 : props.defaultValue;
|
|
26900
|
+
}
|
|
26901
|
+
});
|
|
26902
|
+
return (_ctx, _cache) => {
|
|
26903
|
+
const _component_el_input = resolveComponent("el-input");
|
|
26904
|
+
return openBlock(), createBlock(_component_el_input, {
|
|
26905
|
+
modelValue: modelValue.value,
|
|
26906
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
26907
|
+
placeholder: __props.placeholder,
|
|
26908
|
+
onInput: handleInput
|
|
26909
|
+
}, createSlots({
|
|
26910
|
+
_: 2
|
|
26911
|
+
/* DYNAMIC */
|
|
26912
|
+
}, [
|
|
26913
|
+
_ctx.$slots.prepend ? {
|
|
26914
|
+
name: "prepend",
|
|
26915
|
+
fn: withCtx(() => [
|
|
26916
|
+
renderSlot(_ctx.$slots, "prepend")
|
|
26917
|
+
]),
|
|
26918
|
+
key: "0"
|
|
26919
|
+
} : void 0,
|
|
26920
|
+
_ctx.$slots.append ? {
|
|
26921
|
+
name: "append",
|
|
26922
|
+
fn: withCtx(() => [
|
|
26923
|
+
renderSlot(_ctx.$slots, "append")
|
|
26924
|
+
]),
|
|
26925
|
+
key: "1"
|
|
26926
|
+
} : void 0,
|
|
26927
|
+
_ctx.$slots.prefix ? {
|
|
26928
|
+
name: "prefix",
|
|
26929
|
+
fn: withCtx(() => [
|
|
26930
|
+
renderSlot(_ctx.$slots, "prefix")
|
|
26931
|
+
]),
|
|
26932
|
+
key: "2"
|
|
26933
|
+
} : void 0,
|
|
26934
|
+
_ctx.$slots.suffix ? {
|
|
26935
|
+
name: "suffix",
|
|
26936
|
+
fn: withCtx(() => [
|
|
26937
|
+
renderSlot(_ctx.$slots, "suffix")
|
|
26938
|
+
]),
|
|
26939
|
+
key: "3"
|
|
26940
|
+
} : void 0
|
|
26941
|
+
]), 1032, ["modelValue", "placeholder"]);
|
|
26942
|
+
};
|
|
26943
|
+
}
|
|
26944
|
+
});
|
|
26945
|
+
|
|
26946
|
+
const FmInputNumber = _sfc_main$p;
|
|
26843
26947
|
|
|
26844
26948
|
const makeInstaller = (components = []) => {
|
|
26845
26949
|
const install = (app) => {
|
|
@@ -27343,7 +27447,8 @@ const plugins = [
|
|
|
27343
27447
|
FSettings,
|
|
27344
27448
|
FModifyRecord,
|
|
27345
27449
|
FmTree,
|
|
27346
|
-
FmCascader
|
|
27450
|
+
FmCascader,
|
|
27451
|
+
FmInputNumber
|
|
27347
27452
|
];
|
|
27348
27453
|
|
|
27349
27454
|
var installer = makeInstaller([...plugins]);
|
package/lib/component.js
CHANGED
|
@@ -17,6 +17,7 @@ var index$b = require('./packages/components/fm-settings/index.js');
|
|
|
17
17
|
var index$c = require('./packages/components/modifyRecord/index.js');
|
|
18
18
|
var index$d = require('./packages/components/fmtree/index.js');
|
|
19
19
|
var index$e = require('./packages/components/fmcascader/index.js');
|
|
20
|
+
var index$f = require('./packages/components/fm-inputnumber/index.js');
|
|
20
21
|
|
|
21
22
|
const plugins = [
|
|
22
23
|
index.FButton,
|
|
@@ -33,7 +34,8 @@ const plugins = [
|
|
|
33
34
|
index$b.FSettings,
|
|
34
35
|
index$c.FModifyRecord,
|
|
35
36
|
index$d.FmTree,
|
|
36
|
-
index$e.FmCascader
|
|
37
|
+
index$e.FmCascader,
|
|
38
|
+
index$f.FmInputNumber
|
|
37
39
|
];
|
|
38
40
|
|
|
39
41
|
exports.default = plugins;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
2
|
+
export declare const FmInputNumber: {
|
|
3
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
4
|
+
placeholder: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
defaultValue: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
bType: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: PropType<Number>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
}>> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((value: Number) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (value: Number) => any;
|
|
24
|
+
}, PublicProps, {
|
|
25
|
+
defaultValue: number;
|
|
26
|
+
placeholder: string;
|
|
27
|
+
bType: string;
|
|
28
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
29
|
+
P: {};
|
|
30
|
+
B: {};
|
|
31
|
+
D: {};
|
|
32
|
+
C: {};
|
|
33
|
+
M: {};
|
|
34
|
+
Defaults: {};
|
|
35
|
+
}, Readonly< ExtractPropTypes<{
|
|
36
|
+
placeholder: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
defaultValue: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
bType: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
modelValue: {
|
|
49
|
+
type: PropType<Number>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
}>> & Readonly<{
|
|
53
|
+
"onUpdate:modelValue"?: ((value: Number) => any) | undefined;
|
|
54
|
+
}>, {}, {}, {}, {}, {
|
|
55
|
+
defaultValue: number;
|
|
56
|
+
placeholder: string;
|
|
57
|
+
bType: string;
|
|
58
|
+
}>;
|
|
59
|
+
__isFragment?: never;
|
|
60
|
+
__isTeleport?: never;
|
|
61
|
+
__isSuspense?: never;
|
|
62
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
63
|
+
placeholder: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
defaultValue: {
|
|
68
|
+
type: NumberConstructor;
|
|
69
|
+
default: number;
|
|
70
|
+
};
|
|
71
|
+
bType: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
modelValue: {
|
|
76
|
+
type: PropType<Number>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
}>> & Readonly<{
|
|
80
|
+
"onUpdate:modelValue"?: ((value: Number) => any) | undefined;
|
|
81
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
82
|
+
"update:modelValue": (value: Number) => any;
|
|
83
|
+
}, string, {
|
|
84
|
+
defaultValue: number;
|
|
85
|
+
placeholder: string;
|
|
86
|
+
bType: string;
|
|
87
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
88
|
+
$slots: {
|
|
89
|
+
prepend?(_: {}): any;
|
|
90
|
+
append?(_: {}): any;
|
|
91
|
+
prefix?(_: {}): any;
|
|
92
|
+
suffix?(_: {}): any;
|
|
93
|
+
};
|
|
94
|
+
});
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
prepend?(_: {}): any;
|
|
6
|
+
append?(_: {}): any;
|
|
7
|
+
prefix?(_: {}): any;
|
|
8
|
+
suffix?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
15
|
+
placeholder: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
defaultValue: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
bType: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
modelValue: {
|
|
28
|
+
type: PropType<Number>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
32
|
+
"update:modelValue": (value: Number) => any;
|
|
33
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
34
|
+
placeholder: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
defaultValue: {
|
|
39
|
+
type: NumberConstructor;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
bType: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
modelValue: {
|
|
47
|
+
type: PropType<Number>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{
|
|
51
|
+
"onUpdate:modelValue"?: ((value: Number) => any) | undefined;
|
|
52
|
+
}>, {
|
|
53
|
+
defaultValue: number;
|
|
54
|
+
placeholder: string;
|
|
55
|
+
bType: string;
|
|
56
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
57
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
58
|
+
export default _default;
|
|
59
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
60
|
+
new (): {
|
|
61
|
+
$slots: S;
|
|
62
|
+
};
|
|
63
|
+
};
|