@fmdeui/fmui 1.0.109 → 1.0.111
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/api/index.d.ts +4 -0
- package/es/component.mjs +3 -1
- package/es/components/fm-select/index.d.ts +194 -0
- package/es/components/fm-select/index.vue.d.ts +237 -0
- package/es/components/index.d.ts +1 -0
- package/es/index.mjs +1 -1
- package/es/packages/api/index.mjs +39 -1
- package/es/packages/components/fm-select/index.mjs +6 -0
- package/es/packages/components/fm-select/index.vue.mjs +5 -0
- package/es/packages/components/fm-select/index.vue2.mjs +177 -0
- package/es/packages/components/index.mjs +1 -0
- package/index.js +270 -57
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +270 -58
- package/lib/api/index.d.ts +4 -0
- package/lib/component.js +3 -1
- package/lib/components/fm-select/index.d.ts +194 -0
- package/lib/components/fm-select/index.vue.d.ts +237 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/packages/api/index.js +39 -0
- package/lib/packages/components/fm-select/index.js +8 -0
- package/lib/packages/components/fm-select/index.vue.js +9 -0
- package/lib/packages/components/fm-select/index.vue2.js +181 -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/{lib → es}/component.css +0 -0
- /package/{es → lib}/defaults.css +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.111 */
|
|
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';
|
|
@@ -3724,6 +3724,44 @@ const PowerAreaData = [
|
|
|
3724
3724
|
value: 5
|
|
3725
3725
|
}
|
|
3726
3726
|
];
|
|
3727
|
+
const CurrencyData = [
|
|
3728
|
+
{
|
|
3729
|
+
label: "\u4EBA\u6C11\u5E01",
|
|
3730
|
+
value: "CNY"
|
|
3731
|
+
},
|
|
3732
|
+
{
|
|
3733
|
+
label: "\u7F8E\u5143",
|
|
3734
|
+
value: "USD"
|
|
3735
|
+
},
|
|
3736
|
+
{
|
|
3737
|
+
label: "\u6B27\u5143",
|
|
3738
|
+
value: "EUR"
|
|
3739
|
+
},
|
|
3740
|
+
{
|
|
3741
|
+
label: "\u82F1\u9551",
|
|
3742
|
+
value: "GBP"
|
|
3743
|
+
},
|
|
3744
|
+
{
|
|
3745
|
+
label: "\u65E5\u5143",
|
|
3746
|
+
value: "JPY"
|
|
3747
|
+
},
|
|
3748
|
+
{
|
|
3749
|
+
label: "\u97E9\u5143",
|
|
3750
|
+
value: "KRW"
|
|
3751
|
+
},
|
|
3752
|
+
{
|
|
3753
|
+
label: "\u6CF0\u94E2",
|
|
3754
|
+
value: "THB"
|
|
3755
|
+
},
|
|
3756
|
+
{
|
|
3757
|
+
label: "\u8D8A\u5357\u76FE",
|
|
3758
|
+
value: "VND"
|
|
3759
|
+
},
|
|
3760
|
+
{
|
|
3761
|
+
label: "\u8001\u631D\u57FA\u666E",
|
|
3762
|
+
value: "LAK"
|
|
3763
|
+
}
|
|
3764
|
+
];
|
|
3727
3765
|
|
|
3728
3766
|
const useUserInfo = defineStore("userInfo", {
|
|
3729
3767
|
state: () => ({
|
|
@@ -20159,7 +20197,7 @@ const setupVXETable = (app) => {
|
|
|
20159
20197
|
app.use(VxeUITable);
|
|
20160
20198
|
};
|
|
20161
20199
|
|
|
20162
|
-
var _sfc_main$
|
|
20200
|
+
var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
20163
20201
|
...{
|
|
20164
20202
|
name: "FButton"
|
|
20165
20203
|
},
|
|
@@ -20229,7 +20267,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
20229
20267
|
}
|
|
20230
20268
|
});
|
|
20231
20269
|
|
|
20232
|
-
const FButton = _sfc_main$
|
|
20270
|
+
const FButton = _sfc_main$M;
|
|
20233
20271
|
|
|
20234
20272
|
const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
|
|
20235
20273
|
const translate = (path, option, locale) => get(locale, path, path).replace(
|
|
@@ -20902,9 +20940,9 @@ function getShowColumnWidth(flag, field, defaultValue = "", isJson = false) {
|
|
|
20902
20940
|
return isJson ? width != "" ? { width } : "" : width;
|
|
20903
20941
|
}
|
|
20904
20942
|
|
|
20905
|
-
const _hoisted_1$
|
|
20943
|
+
const _hoisted_1$w = { key: 0 };
|
|
20906
20944
|
const _hoisted_2$k = { key: 0 };
|
|
20907
|
-
var _sfc_main$
|
|
20945
|
+
var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
20908
20946
|
...{
|
|
20909
20947
|
name: "FInput"
|
|
20910
20948
|
},
|
|
@@ -21111,7 +21149,7 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
21111
21149
|
fn: withCtx(() => [
|
|
21112
21150
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21113
21151
|
"span",
|
|
21114
|
-
_hoisted_1$
|
|
21152
|
+
_hoisted_1$w,
|
|
21115
21153
|
toDisplayString(appendTitleText.value),
|
|
21116
21154
|
1
|
|
21117
21155
|
/* TEXT */
|
|
@@ -21157,13 +21195,13 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
21157
21195
|
}
|
|
21158
21196
|
});
|
|
21159
21197
|
|
|
21160
|
-
const FInput = _sfc_main$
|
|
21198
|
+
const FInput = _sfc_main$L;
|
|
21161
21199
|
|
|
21162
|
-
const _hoisted_1$
|
|
21200
|
+
const _hoisted_1$v = {
|
|
21163
21201
|
key: 0,
|
|
21164
21202
|
class: "back_to_top"
|
|
21165
21203
|
};
|
|
21166
|
-
var _sfc_main$
|
|
21204
|
+
var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
21167
21205
|
...{
|
|
21168
21206
|
name: "FLayoutPage"
|
|
21169
21207
|
},
|
|
@@ -21225,7 +21263,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
21225
21263
|
},
|
|
21226
21264
|
[
|
|
21227
21265
|
renderSlot(_ctx.$slots, "default"),
|
|
21228
|
-
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21266
|
+
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
21229
21267
|
isShowGoTopButton.value ? (openBlock(), createElementBlock("div", {
|
|
21230
21268
|
key: 0,
|
|
21231
21269
|
onClick: backToTop
|
|
@@ -21253,9 +21291,9 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
21253
21291
|
}
|
|
21254
21292
|
});
|
|
21255
21293
|
|
|
21256
|
-
const FLayoutPage = _sfc_main$
|
|
21294
|
+
const FLayoutPage = _sfc_main$K;
|
|
21257
21295
|
|
|
21258
|
-
var _sfc_main$
|
|
21296
|
+
var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
21259
21297
|
...{
|
|
21260
21298
|
name: "FLayoutPageItem"
|
|
21261
21299
|
},
|
|
@@ -21283,7 +21321,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
21283
21321
|
}
|
|
21284
21322
|
});
|
|
21285
21323
|
|
|
21286
|
-
const FLayoutPageItem = _sfc_main$
|
|
21324
|
+
const FLayoutPageItem = _sfc_main$J;
|
|
21287
21325
|
|
|
21288
21326
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
21289
21327
|
let timer = null;
|
|
@@ -21326,8 +21364,8 @@ function toLine(name) {
|
|
|
21326
21364
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
21327
21365
|
}
|
|
21328
21366
|
|
|
21329
|
-
const _hoisted_1$
|
|
21330
|
-
var _sfc_main$
|
|
21367
|
+
const _hoisted_1$u = ["id"];
|
|
21368
|
+
var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
21331
21369
|
...{
|
|
21332
21370
|
name: "FChart"
|
|
21333
21371
|
},
|
|
@@ -21411,7 +21449,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21411
21449
|
id: __props.id,
|
|
21412
21450
|
ref_key: "echartRef",
|
|
21413
21451
|
ref: echartRef
|
|
21414
|
-
}, null, 8, _hoisted_1$
|
|
21452
|
+
}, null, 8, _hoisted_1$u), [
|
|
21415
21453
|
[vShow, !formatEmpty.value]
|
|
21416
21454
|
]),
|
|
21417
21455
|
formatEmpty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -21426,13 +21464,13 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21426
21464
|
}
|
|
21427
21465
|
});
|
|
21428
21466
|
|
|
21429
|
-
const FChart = _sfc_main$
|
|
21467
|
+
const FChart = _sfc_main$I;
|
|
21430
21468
|
|
|
21431
|
-
const _hoisted_1$
|
|
21469
|
+
const _hoisted_1$t = {
|
|
21432
21470
|
key: 1,
|
|
21433
21471
|
class: "f_select__pagination"
|
|
21434
21472
|
};
|
|
21435
|
-
var _sfc_main$
|
|
21473
|
+
var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
21436
21474
|
...{
|
|
21437
21475
|
name: "FSelect"
|
|
21438
21476
|
},
|
|
@@ -21645,7 +21683,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
21645
21683
|
128
|
|
21646
21684
|
/* KEYED_FRAGMENT */
|
|
21647
21685
|
)),
|
|
21648
|
-
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21686
|
+
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
21649
21687
|
createVNode(_component_el_pagination, mergeProps({
|
|
21650
21688
|
"current-page": __props.paginationOption.currentPage,
|
|
21651
21689
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -21683,9 +21721,9 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
21683
21721
|
}
|
|
21684
21722
|
});
|
|
21685
21723
|
|
|
21686
|
-
const FSelect = _sfc_main$
|
|
21724
|
+
const FSelect = _sfc_main$H;
|
|
21687
21725
|
|
|
21688
|
-
var _sfc_main$
|
|
21726
|
+
var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
21689
21727
|
...{
|
|
21690
21728
|
name: "RenderComp"
|
|
21691
21729
|
},
|
|
@@ -21705,12 +21743,12 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21705
21743
|
}
|
|
21706
21744
|
});
|
|
21707
21745
|
|
|
21708
|
-
const _hoisted_1$
|
|
21746
|
+
const _hoisted_1$s = { class: "inside_box" };
|
|
21709
21747
|
const _hoisted_2$j = { class: "inside_box_title" };
|
|
21710
21748
|
const _hoisted_3$c = { class: "check-box" };
|
|
21711
21749
|
const _hoisted_4$8 = { class: "more_dropdown_icon" };
|
|
21712
21750
|
const _hoisted_5$7 = { class: "out_box" };
|
|
21713
|
-
var _sfc_main$
|
|
21751
|
+
var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
21714
21752
|
...{
|
|
21715
21753
|
name: "MoreChoose"
|
|
21716
21754
|
},
|
|
@@ -21848,7 +21886,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
21848
21886
|
])
|
|
21849
21887
|
]),
|
|
21850
21888
|
default: withCtx(() => [
|
|
21851
|
-
createElementVNode("div", _hoisted_1$
|
|
21889
|
+
createElementVNode("div", _hoisted_1$s, [
|
|
21852
21890
|
createElementVNode("div", _hoisted_2$j, [
|
|
21853
21891
|
createElementVNode(
|
|
21854
21892
|
"div",
|
|
@@ -22025,7 +22063,7 @@ function useComputed() {
|
|
|
22025
22063
|
};
|
|
22026
22064
|
}
|
|
22027
22065
|
|
|
22028
|
-
var _sfc_main$
|
|
22066
|
+
var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
22029
22067
|
...{
|
|
22030
22068
|
name: "FQueryCondition"
|
|
22031
22069
|
},
|
|
@@ -22444,7 +22482,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
22444
22482
|
opt.labelRender ? {
|
|
22445
22483
|
name: "label",
|
|
22446
22484
|
fn: withCtx(() => [
|
|
22447
|
-
createVNode(_sfc_main$
|
|
22485
|
+
createVNode(_sfc_main$G, {
|
|
22448
22486
|
form: unref(queryState).form,
|
|
22449
22487
|
render: opt.labelRender
|
|
22450
22488
|
}, null, 8, ["form", "render"])
|
|
@@ -22540,7 +22578,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
22540
22578
|
_: 1
|
|
22541
22579
|
/* STABLE */
|
|
22542
22580
|
})) : createCommentVNode("v-if", true),
|
|
22543
|
-
createVNode(_sfc_main$
|
|
22581
|
+
createVNode(_sfc_main$F, {
|
|
22544
22582
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22545
22583
|
moreCheckList: __props.moreCheckList,
|
|
22546
22584
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22566,7 +22604,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
22566
22604
|
}
|
|
22567
22605
|
});
|
|
22568
22606
|
|
|
22569
|
-
var _sfc_main$
|
|
22607
|
+
var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
22570
22608
|
...{
|
|
22571
22609
|
name: "RenderCol"
|
|
22572
22610
|
},
|
|
@@ -22722,7 +22760,7 @@ function useVirtualized() {
|
|
|
22722
22760
|
};
|
|
22723
22761
|
}
|
|
22724
22762
|
|
|
22725
|
-
const _hoisted_1$
|
|
22763
|
+
const _hoisted_1$r = {
|
|
22726
22764
|
key: 0,
|
|
22727
22765
|
class: "table_query_condition"
|
|
22728
22766
|
};
|
|
@@ -22732,7 +22770,7 @@ const _hoisted_4$7 = {
|
|
|
22732
22770
|
key: 0,
|
|
22733
22771
|
class: "f-table-select__page"
|
|
22734
22772
|
};
|
|
22735
|
-
var _sfc_main$
|
|
22773
|
+
var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
22736
22774
|
...{
|
|
22737
22775
|
name: "FSelectTable"
|
|
22738
22776
|
},
|
|
@@ -23354,9 +23392,9 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
23354
23392
|
style: normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
23355
23393
|
},
|
|
23356
23394
|
[
|
|
23357
|
-
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23395
|
+
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
23358
23396
|
createVNode(
|
|
23359
|
-
_sfc_main$
|
|
23397
|
+
_sfc_main$E,
|
|
23360
23398
|
mergeProps({
|
|
23361
23399
|
ref_key: "fQueryConditionRef",
|
|
23362
23400
|
ref: fQueryConditionRef,
|
|
@@ -23482,7 +23520,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
23482
23520
|
fixed: item.fixed
|
|
23483
23521
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23484
23522
|
default: withCtx((scope) => [
|
|
23485
|
-
item.render ? (openBlock(), createBlock(_sfc_main$
|
|
23523
|
+
item.render ? (openBlock(), createBlock(_sfc_main$D, {
|
|
23486
23524
|
key: 0,
|
|
23487
23525
|
column: item,
|
|
23488
23526
|
row: scope.row,
|
|
@@ -23545,11 +23583,11 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
23545
23583
|
}
|
|
23546
23584
|
});
|
|
23547
23585
|
|
|
23548
|
-
const FSelectTable = _sfc_main$
|
|
23586
|
+
const FSelectTable = _sfc_main$C;
|
|
23549
23587
|
|
|
23550
|
-
const FQueryCondition = _sfc_main$
|
|
23588
|
+
const FQueryCondition = _sfc_main$E;
|
|
23551
23589
|
|
|
23552
|
-
var _sfc_main$
|
|
23590
|
+
var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
23553
23591
|
...{
|
|
23554
23592
|
name: "RenderComp"
|
|
23555
23593
|
},
|
|
@@ -23569,7 +23607,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
23569
23607
|
}
|
|
23570
23608
|
});
|
|
23571
23609
|
|
|
23572
|
-
var _sfc_main$
|
|
23610
|
+
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
23573
23611
|
...{
|
|
23574
23612
|
name: "RenderBtn"
|
|
23575
23613
|
},
|
|
@@ -23589,12 +23627,12 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
23589
23627
|
}
|
|
23590
23628
|
});
|
|
23591
23629
|
|
|
23592
|
-
const _hoisted_1$
|
|
23630
|
+
const _hoisted_1$q = {
|
|
23593
23631
|
key: 1,
|
|
23594
23632
|
class: "text_show"
|
|
23595
23633
|
};
|
|
23596
23634
|
const _hoisted_2$h = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23597
|
-
var _sfc_main$
|
|
23635
|
+
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
23598
23636
|
...{
|
|
23599
23637
|
name: "FForm"
|
|
23600
23638
|
},
|
|
@@ -23845,7 +23883,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
23845
23883
|
}) : createCommentVNode("v-if", true),
|
|
23846
23884
|
item.textShow ? (openBlock(), createElementBlock(
|
|
23847
23885
|
"span",
|
|
23848
|
-
_hoisted_1$
|
|
23886
|
+
_hoisted_1$q,
|
|
23849
23887
|
toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
23850
23888
|
1
|
|
23851
23889
|
/* TEXT */
|
|
@@ -23965,7 +24003,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
23965
24003
|
item.labelSlotName || item.labelRender ? {
|
|
23966
24004
|
name: "label",
|
|
23967
24005
|
fn: withCtx(() => [
|
|
23968
|
-
item.labelRender ? (openBlock(), createBlock(_sfc_main$
|
|
24006
|
+
item.labelRender ? (openBlock(), createBlock(_sfc_main$B, {
|
|
23969
24007
|
key: 0,
|
|
23970
24008
|
render: item.labelRender,
|
|
23971
24009
|
item
|
|
@@ -23997,7 +24035,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
23997
24035
|
Fragment,
|
|
23998
24036
|
null,
|
|
23999
24037
|
[
|
|
24000
|
-
val.render ? (openBlock(), createBlock(_sfc_main$
|
|
24038
|
+
val.render ? (openBlock(), createBlock(_sfc_main$A, {
|
|
24001
24039
|
key: index,
|
|
24002
24040
|
item: val,
|
|
24003
24041
|
render: val.render
|
|
@@ -24044,10 +24082,10 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
24044
24082
|
}
|
|
24045
24083
|
});
|
|
24046
24084
|
|
|
24047
|
-
const FForm = _sfc_main$
|
|
24085
|
+
const FForm = _sfc_main$z;
|
|
24048
24086
|
|
|
24049
|
-
const _hoisted_1$
|
|
24050
|
-
var _sfc_main$
|
|
24087
|
+
const _hoisted_1$p = ["src"];
|
|
24088
|
+
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
24051
24089
|
...{
|
|
24052
24090
|
name: "svgIcon"
|
|
24053
24091
|
},
|
|
@@ -24118,7 +24156,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
24118
24156
|
createElementVNode("img", {
|
|
24119
24157
|
src: getIconName.value,
|
|
24120
24158
|
style: normalizeStyle(setIconSvgInsStyle.value)
|
|
24121
|
-
}, null, 12, _hoisted_1$
|
|
24159
|
+
}, null, 12, _hoisted_1$p)
|
|
24122
24160
|
],
|
|
24123
24161
|
4
|
|
24124
24162
|
/* STYLE */
|
|
@@ -24145,13 +24183,13 @@ function elSvg(app) {
|
|
|
24145
24183
|
}
|
|
24146
24184
|
}
|
|
24147
24185
|
if (!app._context.components[`SvgIcon`]) {
|
|
24148
|
-
app.component("SvgIcon", _sfc_main$
|
|
24186
|
+
app.component("SvgIcon", _sfc_main$y);
|
|
24149
24187
|
}
|
|
24150
24188
|
}
|
|
24151
24189
|
|
|
24152
24190
|
const emitter = mitt();
|
|
24153
24191
|
|
|
24154
|
-
var _sfc_main$
|
|
24192
|
+
var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
24155
24193
|
...{
|
|
24156
24194
|
name: "FLayout"
|
|
24157
24195
|
},
|
|
@@ -24237,7 +24275,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
24237
24275
|
}
|
|
24238
24276
|
});
|
|
24239
24277
|
|
|
24240
|
-
const FLayout = _sfc_main$
|
|
24278
|
+
const FLayout = _sfc_main$x;
|
|
24241
24279
|
|
|
24242
24280
|
function commonFunction() {
|
|
24243
24281
|
const { copy, isSupported } = useClipboard();
|
|
@@ -24514,7 +24552,7 @@ const other = {
|
|
|
24514
24552
|
// },
|
|
24515
24553
|
};
|
|
24516
24554
|
|
|
24517
|
-
const _hoisted_1$
|
|
24555
|
+
const _hoisted_1$o = { class: "layout-breadcrumb-seting" };
|
|
24518
24556
|
const _hoisted_2$g = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24519
24557
|
const _hoisted_3$a = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24520
24558
|
const _hoisted_4$6 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
@@ -24639,7 +24677,7 @@ const _hoisted_119 = {
|
|
|
24639
24677
|
class: "traditionalColors-chines",
|
|
24640
24678
|
style: { "cursor": "grab", "color": "gray" }
|
|
24641
24679
|
};
|
|
24642
|
-
var _sfc_main$
|
|
24680
|
+
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
24643
24681
|
...{
|
|
24644
24682
|
name: "FSettings"
|
|
24645
24683
|
},
|
|
@@ -24903,7 +24941,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
24903
24941
|
const _component_el_col = resolveComponent("el-col");
|
|
24904
24942
|
const _component_el_row = resolveComponent("el-row");
|
|
24905
24943
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
24906
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24944
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
24907
24945
|
createVNode(_component_el_drawer, {
|
|
24908
24946
|
title: _ctx.$t("message.layout.configTitle"),
|
|
24909
24947
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -26402,9 +26440,9 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
26402
26440
|
}
|
|
26403
26441
|
});
|
|
26404
26442
|
|
|
26405
|
-
const FSettings = _sfc_main$
|
|
26443
|
+
const FSettings = _sfc_main$w;
|
|
26406
26444
|
|
|
26407
|
-
var _sfc_main$
|
|
26445
|
+
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
26408
26446
|
...{
|
|
26409
26447
|
name: "FModifyRecord"
|
|
26410
26448
|
},
|
|
@@ -26667,7 +26705,180 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
26667
26705
|
}
|
|
26668
26706
|
});
|
|
26669
26707
|
|
|
26670
|
-
const FModifyRecord = _sfc_main$
|
|
26708
|
+
const FModifyRecord = _sfc_main$v;
|
|
26709
|
+
|
|
26710
|
+
const _hoisted_1$n = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
|
|
26711
|
+
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
26712
|
+
...{
|
|
26713
|
+
name: "FmSelect"
|
|
26714
|
+
},
|
|
26715
|
+
__name: "index",
|
|
26716
|
+
props: /* @__PURE__ */ mergeModels({
|
|
26717
|
+
//数据
|
|
26718
|
+
optionData: {
|
|
26719
|
+
type: Array,
|
|
26720
|
+
default: []
|
|
26721
|
+
},
|
|
26722
|
+
/**
|
|
26723
|
+
* 值的属性值
|
|
26724
|
+
*/
|
|
26725
|
+
bvalue: {
|
|
26726
|
+
type: String,
|
|
26727
|
+
default: "id"
|
|
26728
|
+
},
|
|
26729
|
+
/**
|
|
26730
|
+
* 值的属性标签
|
|
26731
|
+
*/
|
|
26732
|
+
blabel: {
|
|
26733
|
+
type: String,
|
|
26734
|
+
default: "name"
|
|
26735
|
+
},
|
|
26736
|
+
placeholder: {
|
|
26737
|
+
type: String,
|
|
26738
|
+
default: "\u8BF7\u9009\u62E9"
|
|
26739
|
+
},
|
|
26740
|
+
inputWidth: {
|
|
26741
|
+
type: String,
|
|
26742
|
+
default: "40%"
|
|
26743
|
+
},
|
|
26744
|
+
dropWidth: {
|
|
26745
|
+
type: String,
|
|
26746
|
+
default: "90px"
|
|
26747
|
+
},
|
|
26748
|
+
dropHeight: {
|
|
26749
|
+
type: String,
|
|
26750
|
+
default: "180px"
|
|
26751
|
+
},
|
|
26752
|
+
/**
|
|
26753
|
+
* api service name
|
|
26754
|
+
*/
|
|
26755
|
+
apiService: {
|
|
26756
|
+
type: String,
|
|
26757
|
+
default: "baseData"
|
|
26758
|
+
},
|
|
26759
|
+
/**
|
|
26760
|
+
* api service 下的方法
|
|
26761
|
+
*/
|
|
26762
|
+
apiAction: {
|
|
26763
|
+
type: String,
|
|
26764
|
+
default: "baseDataList"
|
|
26765
|
+
},
|
|
26766
|
+
/**
|
|
26767
|
+
* 基础编码 自动获取数据
|
|
26768
|
+
*/
|
|
26769
|
+
basecode: {
|
|
26770
|
+
type: String,
|
|
26771
|
+
default: ""
|
|
26772
|
+
},
|
|
26773
|
+
/**
|
|
26774
|
+
* 基础编码 多个编码合在一起调用
|
|
26775
|
+
*/
|
|
26776
|
+
multibasecode: {
|
|
26777
|
+
type: Array,
|
|
26778
|
+
default: []
|
|
26779
|
+
},
|
|
26780
|
+
freshSize: {
|
|
26781
|
+
type: [Number, String],
|
|
26782
|
+
default: 20
|
|
26783
|
+
},
|
|
26784
|
+
/**
|
|
26785
|
+
* 是否默认加载数据
|
|
26786
|
+
*/
|
|
26787
|
+
autoLoadData: {
|
|
26788
|
+
type: Boolean,
|
|
26789
|
+
default: true
|
|
26790
|
+
}
|
|
26791
|
+
}, {
|
|
26792
|
+
"id": { default: 0, required: false },
|
|
26793
|
+
"idModifiers": {},
|
|
26794
|
+
"name": { default: "", required: false },
|
|
26795
|
+
"nameModifiers": {}
|
|
26796
|
+
}),
|
|
26797
|
+
emits: /* @__PURE__ */ mergeModels(["change"], ["update:id", "update:name"]),
|
|
26798
|
+
setup(__props, { emit: __emit }) {
|
|
26799
|
+
const modeValueId = useModel(__props, "id");
|
|
26800
|
+
const modeValueName = useModel(__props, "name");
|
|
26801
|
+
const props = __props;
|
|
26802
|
+
const state = reactive({
|
|
26803
|
+
optionData: props.optionData
|
|
26804
|
+
});
|
|
26805
|
+
const emit = __emit;
|
|
26806
|
+
const handelChange = (val) => {
|
|
26807
|
+
const fitem = state.optionData.find((item) => item[props.blabel] === val);
|
|
26808
|
+
modeValueId.value = fitem != null ? fitem[props.bvalue] : 0;
|
|
26809
|
+
modeValueName.value = fitem != null ? fitem[props.blabel] : "";
|
|
26810
|
+
emit("change", val);
|
|
26811
|
+
};
|
|
26812
|
+
const handelClear = () => {
|
|
26813
|
+
modeValueId.value = 0;
|
|
26814
|
+
modeValueName.value = "";
|
|
26815
|
+
emit("change", "");
|
|
26816
|
+
};
|
|
26817
|
+
onMounted(async () => {
|
|
26818
|
+
if (props.optionData.length > 0) {
|
|
26819
|
+
state.optionData = props.optionData;
|
|
26820
|
+
}
|
|
26821
|
+
if (props.autoLoadData && props.basecode && props.basecode != "") {
|
|
26822
|
+
const useBaseApi = usefminputdropdownstore();
|
|
26823
|
+
state.optionData = await useBaseApi.getOptionsData(props.apiService, props.apiAction, props.basecode, false, props.multibasecode);
|
|
26824
|
+
}
|
|
26825
|
+
});
|
|
26826
|
+
const handRestdata = async () => {
|
|
26827
|
+
if (props.basecode && props.basecode != "") {
|
|
26828
|
+
const useBaseApi = usefminputdropdownstore();
|
|
26829
|
+
state.optionData = await useBaseApi.getOptionsData(props.apiService, props.apiAction, props.basecode, true, []);
|
|
26830
|
+
}
|
|
26831
|
+
};
|
|
26832
|
+
return (_ctx, _cache) => {
|
|
26833
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
26834
|
+
const _component_el_option = resolveComponent("el-option");
|
|
26835
|
+
const _component_el_select = resolveComponent("el-select");
|
|
26836
|
+
return openBlock(), createBlock(_component_el_select, {
|
|
26837
|
+
modelValue: modeValueName.value,
|
|
26838
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValueName.value = $event),
|
|
26839
|
+
placeholder: props.placeholder,
|
|
26840
|
+
style: normalizeStyle({ width: __props.inputWidth }),
|
|
26841
|
+
onChange: handelChange,
|
|
26842
|
+
onClear: handelClear
|
|
26843
|
+
}, {
|
|
26844
|
+
header: withCtx(() => [
|
|
26845
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
26846
|
+
createVNode(_component_el_icon, {
|
|
26847
|
+
color: "#13c2c2",
|
|
26848
|
+
size: __props.freshSize,
|
|
26849
|
+
onClick: handRestdata
|
|
26850
|
+
}, {
|
|
26851
|
+
default: withCtx(() => [
|
|
26852
|
+
createVNode(unref(RefreshLeft))
|
|
26853
|
+
]),
|
|
26854
|
+
_: 1
|
|
26855
|
+
/* STABLE */
|
|
26856
|
+
}, 8, ["size"])
|
|
26857
|
+
])
|
|
26858
|
+
]),
|
|
26859
|
+
default: withCtx(() => [
|
|
26860
|
+
(openBlock(true), createElementBlock(
|
|
26861
|
+
Fragment,
|
|
26862
|
+
null,
|
|
26863
|
+
renderList(state.optionData, (item, index) => {
|
|
26864
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
26865
|
+
key: index,
|
|
26866
|
+
label: item[__props.blabel],
|
|
26867
|
+
value: item[__props.blabel]
|
|
26868
|
+
}, null, 8, ["label", "value"]);
|
|
26869
|
+
}),
|
|
26870
|
+
128
|
|
26871
|
+
/* KEYED_FRAGMENT */
|
|
26872
|
+
))
|
|
26873
|
+
]),
|
|
26874
|
+
_: 1
|
|
26875
|
+
/* STABLE */
|
|
26876
|
+
}, 8, ["modelValue", "placeholder", "style"]);
|
|
26877
|
+
};
|
|
26878
|
+
}
|
|
26879
|
+
});
|
|
26880
|
+
|
|
26881
|
+
const FmSelect = _sfc_main$u;
|
|
26671
26882
|
|
|
26672
26883
|
var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
26673
26884
|
...{
|
|
@@ -28472,7 +28683,8 @@ const plugins = [
|
|
|
28472
28683
|
FmTree,
|
|
28473
28684
|
FmCascader,
|
|
28474
28685
|
FmInputNumber,
|
|
28475
|
-
FmAutocomplete
|
|
28686
|
+
FmAutocomplete,
|
|
28687
|
+
FmSelect
|
|
28476
28688
|
];
|
|
28477
28689
|
|
|
28478
28690
|
var installer = makeInstaller([...plugins]);
|
|
@@ -32342,4 +32554,4 @@ var upgradeInfo = /*#__PURE__*/Object.freeze({
|
|
|
32342
32554
|
default: _sfc_main
|
|
32343
32555
|
});
|
|
32344
32556
|
|
|
32345
|
-
export { AccountTypeEnum, AppSysTypeData, AppSysTypeEnum, HttpMethodEnum, JobCreateTypeEnum, Local, NextLoading, PowerAreaData, Session, StringToObj, watermark as Watermark, accessTokenKey, auth, authAll, auths, axiosInstance, base64ToFile, blobToFile, buildLocaleContext, buildTranslator, cancelAllRequest, cancelRequest, clearAccessTokens, clearTokens, clone, cmpId, commonFun, commonFunction, dataURLtoBlob, decryptJWT, installer as default, depId, destroyIdleTimeout, downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, downloadStreamFile, en, exportExcel, feature, fileToBase64, flowLoading, formatAxis, formatDate, formatPast, gcj02ToBd09, getCountryCode, getFileName, getFileUrl, getFormItemLabel, getFormItemProp, getHeader, getJWTDate, getOpOrg, getRules, getShowColumn, getShowColumnWidth, getSubFormFields, getToken, getWeek, getlimit, getpower, groupId, hAuth, hAuthAll, hAuths, hasPrivilege, hasRoleCode, i18n, initIconfont, initIdleTimeout, install, isAdmin, isMember, isNormalUser, isObjectValueEqual, isSupperAdmin, isTenantAdmin, iso_3166_1_CountryList, judgementIdCard, judgementSameArr, languageList, loadRemoteMessages, loadSysInfo, mergMessage, emitter as mittBus, openWindow, orgId, orgName, other, pinia, posId, posName, powerAuthDel, provideFormEvents, reLoadLoginAccessToken, refreshAccessTokenKey, removeDuplicate, request2, restartSignalR, roles, saulVModel, service, setCssCdn, setIntroduction, setJsCdn, setupI18n, showFileUrl, showTabelColumn, signalR, signatureByKSort, sleep, tansParams, tenantId, translate, updateFavicon, updateIdleTimeout, urlToBase64, useApi, useBaseApi, useChangeColor, useDateTimeShortCust, useFormEvents, useFormRulePresets, useKeepALiveNames, useLocale, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, usefminputdropdownstore, userAccount, userEmail, userFriendName, userId, userName, userPhone, validateFormWithScroll, validateFormWithScrollCallback, verifiyNumberInteger, verifyAccount, verifyAndSpace, verifyCarNum, verifyCnAndSpace, verifyEmail, verifyEnAndSpace, verifyFullName, verifyIPAddress, verifyIdCard, verifyNumberCnUppercase, verifyNumberComma, verifyNumberIntegerAndFloat, verifyNumberPercentage, verifyNumberPercentageFloat, verifyPassword, verifyPasswordPowerful, verifyPasswordStrength, verifyPhone, verifyPostalCode, verifyTelPhone, verifyTextColor, verifyUrl, version, wgs84ToBd09, wgs84ToGcj02, plusZhCn as zhCn };
|
|
32557
|
+
export { AccountTypeEnum, AppSysTypeData, AppSysTypeEnum, CurrencyData, HttpMethodEnum, JobCreateTypeEnum, Local, NextLoading, PowerAreaData, Session, StringToObj, watermark as Watermark, accessTokenKey, auth, authAll, auths, axiosInstance, base64ToFile, blobToFile, buildLocaleContext, buildTranslator, cancelAllRequest, cancelRequest, clearAccessTokens, clearTokens, clone, cmpId, commonFun, commonFunction, dataURLtoBlob, decryptJWT, installer as default, depId, destroyIdleTimeout, downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, downloadStreamFile, en, exportExcel, feature, fileToBase64, flowLoading, formatAxis, formatDate, formatPast, gcj02ToBd09, getCountryCode, getFileName, getFileUrl, getFormItemLabel, getFormItemProp, getHeader, getJWTDate, getOpOrg, getRules, getShowColumn, getShowColumnWidth, getSubFormFields, getToken, getWeek, getlimit, getpower, groupId, hAuth, hAuthAll, hAuths, hasPrivilege, hasRoleCode, i18n, initIconfont, initIdleTimeout, install, isAdmin, isMember, isNormalUser, isObjectValueEqual, isSupperAdmin, isTenantAdmin, iso_3166_1_CountryList, judgementIdCard, judgementSameArr, languageList, loadRemoteMessages, loadSysInfo, mergMessage, emitter as mittBus, openWindow, orgId, orgName, other, pinia, posId, posName, powerAuthDel, provideFormEvents, reLoadLoginAccessToken, refreshAccessTokenKey, removeDuplicate, request2, restartSignalR, roles, saulVModel, service, setCssCdn, setIntroduction, setJsCdn, setupI18n, showFileUrl, showTabelColumn, signalR, signatureByKSort, sleep, tansParams, tenantId, translate, updateFavicon, updateIdleTimeout, urlToBase64, useApi, useBaseApi, useChangeColor, useDateTimeShortCust, useFormEvents, useFormRulePresets, useKeepALiveNames, useLocale, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, usefminputdropdownstore, userAccount, userEmail, userFriendName, userId, userName, userPhone, validateFormWithScroll, validateFormWithScrollCallback, verifiyNumberInteger, verifyAccount, verifyAndSpace, verifyCarNum, verifyCnAndSpace, verifyEmail, verifyEnAndSpace, verifyFullName, verifyIPAddress, verifyIdCard, verifyNumberCnUppercase, verifyNumberComma, verifyNumberIntegerAndFloat, verifyNumberPercentage, verifyNumberPercentageFloat, verifyPassword, verifyPasswordPowerful, verifyPasswordStrength, verifyPhone, verifyPostalCode, verifyTelPhone, verifyTextColor, verifyUrl, version, wgs84ToBd09, wgs84ToGcj02, plusZhCn as zhCn };
|
package/lib/api/index.d.ts
CHANGED
package/lib/component.js
CHANGED
|
@@ -19,6 +19,7 @@ var index$d = require('./packages/components/fmtree/index.js');
|
|
|
19
19
|
var index$e = require('./packages/components/fmcascader/index.js');
|
|
20
20
|
var index$f = require('./packages/components/fm-inputnumber/index.js');
|
|
21
21
|
var index$g = require('./packages/components/fm-autocomplete/index.js');
|
|
22
|
+
var index$h = require('./packages/components/fm-select/index.js');
|
|
22
23
|
|
|
23
24
|
const plugins = [
|
|
24
25
|
index.FButton,
|
|
@@ -37,7 +38,8 @@ const plugins = [
|
|
|
37
38
|
index$d.FmTree,
|
|
38
39
|
index$e.FmCascader,
|
|
39
40
|
index$f.FmInputNumber,
|
|
40
|
-
index$g.FmAutocomplete
|
|
41
|
+
index$g.FmAutocomplete,
|
|
42
|
+
index$h.FmSelect
|
|
41
43
|
];
|
|
42
44
|
|
|
43
45
|
exports.default = plugins;
|