@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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.111 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
|
|
@@ -3726,6 +3726,44 @@
|
|
|
3726
3726
|
value: 5
|
|
3727
3727
|
}
|
|
3728
3728
|
];
|
|
3729
|
+
const CurrencyData = [
|
|
3730
|
+
{
|
|
3731
|
+
label: "\u4EBA\u6C11\u5E01",
|
|
3732
|
+
value: "CNY"
|
|
3733
|
+
},
|
|
3734
|
+
{
|
|
3735
|
+
label: "\u7F8E\u5143",
|
|
3736
|
+
value: "USD"
|
|
3737
|
+
},
|
|
3738
|
+
{
|
|
3739
|
+
label: "\u6B27\u5143",
|
|
3740
|
+
value: "EUR"
|
|
3741
|
+
},
|
|
3742
|
+
{
|
|
3743
|
+
label: "\u82F1\u9551",
|
|
3744
|
+
value: "GBP"
|
|
3745
|
+
},
|
|
3746
|
+
{
|
|
3747
|
+
label: "\u65E5\u5143",
|
|
3748
|
+
value: "JPY"
|
|
3749
|
+
},
|
|
3750
|
+
{
|
|
3751
|
+
label: "\u97E9\u5143",
|
|
3752
|
+
value: "KRW"
|
|
3753
|
+
},
|
|
3754
|
+
{
|
|
3755
|
+
label: "\u6CF0\u94E2",
|
|
3756
|
+
value: "THB"
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
label: "\u8D8A\u5357\u76FE",
|
|
3760
|
+
value: "VND"
|
|
3761
|
+
},
|
|
3762
|
+
{
|
|
3763
|
+
label: "\u8001\u631D\u57FA\u666E",
|
|
3764
|
+
value: "LAK"
|
|
3765
|
+
}
|
|
3766
|
+
];
|
|
3729
3767
|
|
|
3730
3768
|
const useUserInfo = pinia$1.defineStore("userInfo", {
|
|
3731
3769
|
state: () => ({
|
|
@@ -20161,7 +20199,7 @@
|
|
|
20161
20199
|
app.use(VxeUITable);
|
|
20162
20200
|
};
|
|
20163
20201
|
|
|
20164
|
-
var _sfc_main$
|
|
20202
|
+
var _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
20165
20203
|
...{
|
|
20166
20204
|
name: "FButton"
|
|
20167
20205
|
},
|
|
@@ -20231,7 +20269,7 @@
|
|
|
20231
20269
|
}
|
|
20232
20270
|
});
|
|
20233
20271
|
|
|
20234
|
-
const FButton = _sfc_main$
|
|
20272
|
+
const FButton = _sfc_main$M;
|
|
20235
20273
|
|
|
20236
20274
|
const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
|
|
20237
20275
|
const translate = (path, option, locale) => lodashEs.get(locale, path, path).replace(
|
|
@@ -20904,9 +20942,9 @@
|
|
|
20904
20942
|
return isJson ? width != "" ? { width } : "" : width;
|
|
20905
20943
|
}
|
|
20906
20944
|
|
|
20907
|
-
const _hoisted_1$
|
|
20945
|
+
const _hoisted_1$w = { key: 0 };
|
|
20908
20946
|
const _hoisted_2$k = { key: 0 };
|
|
20909
|
-
var _sfc_main$
|
|
20947
|
+
var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
20910
20948
|
...{
|
|
20911
20949
|
name: "FInput"
|
|
20912
20950
|
},
|
|
@@ -21113,7 +21151,7 @@
|
|
|
21113
21151
|
fn: vue.withCtx(() => [
|
|
21114
21152
|
__props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
|
|
21115
21153
|
"span",
|
|
21116
|
-
_hoisted_1$
|
|
21154
|
+
_hoisted_1$w,
|
|
21117
21155
|
vue.toDisplayString(appendTitleText.value),
|
|
21118
21156
|
1
|
|
21119
21157
|
/* TEXT */
|
|
@@ -21159,13 +21197,13 @@
|
|
|
21159
21197
|
}
|
|
21160
21198
|
});
|
|
21161
21199
|
|
|
21162
|
-
const FInput = _sfc_main$
|
|
21200
|
+
const FInput = _sfc_main$L;
|
|
21163
21201
|
|
|
21164
|
-
const _hoisted_1$
|
|
21202
|
+
const _hoisted_1$v = {
|
|
21165
21203
|
key: 0,
|
|
21166
21204
|
class: "back_to_top"
|
|
21167
21205
|
};
|
|
21168
|
-
var _sfc_main$
|
|
21206
|
+
var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
21169
21207
|
...{
|
|
21170
21208
|
name: "FLayoutPage"
|
|
21171
21209
|
},
|
|
@@ -21227,7 +21265,7 @@
|
|
|
21227
21265
|
},
|
|
21228
21266
|
[
|
|
21229
21267
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
21230
|
-
__props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21268
|
+
__props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
|
|
21231
21269
|
isShowGoTopButton.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
21232
21270
|
key: 0,
|
|
21233
21271
|
onClick: backToTop
|
|
@@ -21255,9 +21293,9 @@
|
|
|
21255
21293
|
}
|
|
21256
21294
|
});
|
|
21257
21295
|
|
|
21258
|
-
const FLayoutPage = _sfc_main$
|
|
21296
|
+
const FLayoutPage = _sfc_main$K;
|
|
21259
21297
|
|
|
21260
|
-
var _sfc_main$
|
|
21298
|
+
var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
21261
21299
|
...{
|
|
21262
21300
|
name: "FLayoutPageItem"
|
|
21263
21301
|
},
|
|
@@ -21285,7 +21323,7 @@
|
|
|
21285
21323
|
}
|
|
21286
21324
|
});
|
|
21287
21325
|
|
|
21288
|
-
const FLayoutPageItem = _sfc_main$
|
|
21326
|
+
const FLayoutPageItem = _sfc_main$J;
|
|
21289
21327
|
|
|
21290
21328
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
21291
21329
|
let timer = null;
|
|
@@ -21328,8 +21366,8 @@
|
|
|
21328
21366
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
21329
21367
|
}
|
|
21330
21368
|
|
|
21331
|
-
const _hoisted_1$
|
|
21332
|
-
var _sfc_main$
|
|
21369
|
+
const _hoisted_1$u = ["id"];
|
|
21370
|
+
var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
21333
21371
|
...{
|
|
21334
21372
|
name: "FChart"
|
|
21335
21373
|
},
|
|
@@ -21413,7 +21451,7 @@
|
|
|
21413
21451
|
id: __props.id,
|
|
21414
21452
|
ref_key: "echartRef",
|
|
21415
21453
|
ref: echartRef
|
|
21416
|
-
}, null, 8, _hoisted_1$
|
|
21454
|
+
}, null, 8, _hoisted_1$u), [
|
|
21417
21455
|
[vue.vShow, !formatEmpty.value]
|
|
21418
21456
|
]),
|
|
21419
21457
|
formatEmpty.value ? vue.renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -21428,13 +21466,13 @@
|
|
|
21428
21466
|
}
|
|
21429
21467
|
});
|
|
21430
21468
|
|
|
21431
|
-
const FChart = _sfc_main$
|
|
21469
|
+
const FChart = _sfc_main$I;
|
|
21432
21470
|
|
|
21433
|
-
const _hoisted_1$
|
|
21471
|
+
const _hoisted_1$t = {
|
|
21434
21472
|
key: 1,
|
|
21435
21473
|
class: "f_select__pagination"
|
|
21436
21474
|
};
|
|
21437
|
-
var _sfc_main$
|
|
21475
|
+
var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
21438
21476
|
...{
|
|
21439
21477
|
name: "FSelect"
|
|
21440
21478
|
},
|
|
@@ -21647,7 +21685,7 @@
|
|
|
21647
21685
|
128
|
|
21648
21686
|
/* KEYED_FRAGMENT */
|
|
21649
21687
|
)),
|
|
21650
|
-
__props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21688
|
+
__props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
|
|
21651
21689
|
vue.createVNode(_component_el_pagination, vue.mergeProps({
|
|
21652
21690
|
"current-page": __props.paginationOption.currentPage,
|
|
21653
21691
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -21685,9 +21723,9 @@
|
|
|
21685
21723
|
}
|
|
21686
21724
|
});
|
|
21687
21725
|
|
|
21688
|
-
const FSelect = _sfc_main$
|
|
21726
|
+
const FSelect = _sfc_main$H;
|
|
21689
21727
|
|
|
21690
|
-
var _sfc_main$
|
|
21728
|
+
var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
21691
21729
|
...{
|
|
21692
21730
|
name: "RenderComp"
|
|
21693
21731
|
},
|
|
@@ -21707,12 +21745,12 @@
|
|
|
21707
21745
|
}
|
|
21708
21746
|
});
|
|
21709
21747
|
|
|
21710
|
-
const _hoisted_1$
|
|
21748
|
+
const _hoisted_1$s = { class: "inside_box" };
|
|
21711
21749
|
const _hoisted_2$j = { class: "inside_box_title" };
|
|
21712
21750
|
const _hoisted_3$c = { class: "check-box" };
|
|
21713
21751
|
const _hoisted_4$8 = { class: "more_dropdown_icon" };
|
|
21714
21752
|
const _hoisted_5$7 = { class: "out_box" };
|
|
21715
|
-
var _sfc_main$
|
|
21753
|
+
var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
21716
21754
|
...{
|
|
21717
21755
|
name: "MoreChoose"
|
|
21718
21756
|
},
|
|
@@ -21850,7 +21888,7 @@
|
|
|
21850
21888
|
])
|
|
21851
21889
|
]),
|
|
21852
21890
|
default: vue.withCtx(() => [
|
|
21853
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
21891
|
+
vue.createElementVNode("div", _hoisted_1$s, [
|
|
21854
21892
|
vue.createElementVNode("div", _hoisted_2$j, [
|
|
21855
21893
|
vue.createElementVNode(
|
|
21856
21894
|
"div",
|
|
@@ -22027,7 +22065,7 @@
|
|
|
22027
22065
|
};
|
|
22028
22066
|
}
|
|
22029
22067
|
|
|
22030
|
-
var _sfc_main$
|
|
22068
|
+
var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
22031
22069
|
...{
|
|
22032
22070
|
name: "FQueryCondition"
|
|
22033
22071
|
},
|
|
@@ -22446,7 +22484,7 @@
|
|
|
22446
22484
|
opt.labelRender ? {
|
|
22447
22485
|
name: "label",
|
|
22448
22486
|
fn: vue.withCtx(() => [
|
|
22449
|
-
vue.createVNode(_sfc_main$
|
|
22487
|
+
vue.createVNode(_sfc_main$G, {
|
|
22450
22488
|
form: vue.unref(queryState).form,
|
|
22451
22489
|
render: opt.labelRender
|
|
22452
22490
|
}, null, 8, ["form", "render"])
|
|
@@ -22542,7 +22580,7 @@
|
|
|
22542
22580
|
_: 1
|
|
22543
22581
|
/* STABLE */
|
|
22544
22582
|
})) : vue.createCommentVNode("v-if", true),
|
|
22545
|
-
vue.createVNode(_sfc_main$
|
|
22583
|
+
vue.createVNode(_sfc_main$F, {
|
|
22546
22584
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22547
22585
|
moreCheckList: __props.moreCheckList,
|
|
22548
22586
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22568,7 +22606,7 @@
|
|
|
22568
22606
|
}
|
|
22569
22607
|
});
|
|
22570
22608
|
|
|
22571
|
-
var _sfc_main$
|
|
22609
|
+
var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
22572
22610
|
...{
|
|
22573
22611
|
name: "RenderCol"
|
|
22574
22612
|
},
|
|
@@ -22724,7 +22762,7 @@
|
|
|
22724
22762
|
};
|
|
22725
22763
|
}
|
|
22726
22764
|
|
|
22727
|
-
const _hoisted_1$
|
|
22765
|
+
const _hoisted_1$r = {
|
|
22728
22766
|
key: 0,
|
|
22729
22767
|
class: "table_query_condition"
|
|
22730
22768
|
};
|
|
@@ -22734,7 +22772,7 @@
|
|
|
22734
22772
|
key: 0,
|
|
22735
22773
|
class: "f-table-select__page"
|
|
22736
22774
|
};
|
|
22737
|
-
var _sfc_main$
|
|
22775
|
+
var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
22738
22776
|
...{
|
|
22739
22777
|
name: "FSelectTable"
|
|
22740
22778
|
},
|
|
@@ -23356,9 +23394,9 @@
|
|
|
23356
23394
|
style: vue.normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
23357
23395
|
},
|
|
23358
23396
|
[
|
|
23359
|
-
__props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
23397
|
+
__props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
|
|
23360
23398
|
vue.createVNode(
|
|
23361
|
-
_sfc_main$
|
|
23399
|
+
_sfc_main$E,
|
|
23362
23400
|
vue.mergeProps({
|
|
23363
23401
|
ref_key: "fQueryConditionRef",
|
|
23364
23402
|
ref: fQueryConditionRef,
|
|
@@ -23484,7 +23522,7 @@
|
|
|
23484
23522
|
fixed: item.fixed
|
|
23485
23523
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23486
23524
|
default: vue.withCtx((scope) => [
|
|
23487
|
-
item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
23525
|
+
item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$D, {
|
|
23488
23526
|
key: 0,
|
|
23489
23527
|
column: item,
|
|
23490
23528
|
row: scope.row,
|
|
@@ -23547,11 +23585,11 @@
|
|
|
23547
23585
|
}
|
|
23548
23586
|
});
|
|
23549
23587
|
|
|
23550
|
-
const FSelectTable = _sfc_main$
|
|
23588
|
+
const FSelectTable = _sfc_main$C;
|
|
23551
23589
|
|
|
23552
|
-
const FQueryCondition = _sfc_main$
|
|
23590
|
+
const FQueryCondition = _sfc_main$E;
|
|
23553
23591
|
|
|
23554
|
-
var _sfc_main$
|
|
23592
|
+
var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
23555
23593
|
...{
|
|
23556
23594
|
name: "RenderComp"
|
|
23557
23595
|
},
|
|
@@ -23571,7 +23609,7 @@
|
|
|
23571
23609
|
}
|
|
23572
23610
|
});
|
|
23573
23611
|
|
|
23574
|
-
var _sfc_main$
|
|
23612
|
+
var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
23575
23613
|
...{
|
|
23576
23614
|
name: "RenderBtn"
|
|
23577
23615
|
},
|
|
@@ -23591,12 +23629,12 @@
|
|
|
23591
23629
|
}
|
|
23592
23630
|
});
|
|
23593
23631
|
|
|
23594
|
-
const _hoisted_1$
|
|
23632
|
+
const _hoisted_1$q = {
|
|
23595
23633
|
key: 1,
|
|
23596
23634
|
class: "text_show"
|
|
23597
23635
|
};
|
|
23598
23636
|
const _hoisted_2$h = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23599
|
-
var _sfc_main$
|
|
23637
|
+
var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
23600
23638
|
...{
|
|
23601
23639
|
name: "FForm"
|
|
23602
23640
|
},
|
|
@@ -23847,7 +23885,7 @@
|
|
|
23847
23885
|
}) : vue.createCommentVNode("v-if", true),
|
|
23848
23886
|
item.textShow ? (vue.openBlock(), vue.createElementBlock(
|
|
23849
23887
|
"span",
|
|
23850
|
-
_hoisted_1$
|
|
23888
|
+
_hoisted_1$q,
|
|
23851
23889
|
vue.toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
23852
23890
|
1
|
|
23853
23891
|
/* TEXT */
|
|
@@ -23967,7 +24005,7 @@
|
|
|
23967
24005
|
item.labelSlotName || item.labelRender ? {
|
|
23968
24006
|
name: "label",
|
|
23969
24007
|
fn: vue.withCtx(() => [
|
|
23970
|
-
item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24008
|
+
item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$B, {
|
|
23971
24009
|
key: 0,
|
|
23972
24010
|
render: item.labelRender,
|
|
23973
24011
|
item
|
|
@@ -23999,7 +24037,7 @@
|
|
|
23999
24037
|
vue.Fragment,
|
|
24000
24038
|
null,
|
|
24001
24039
|
[
|
|
24002
|
-
val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24040
|
+
val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
24003
24041
|
key: index,
|
|
24004
24042
|
item: val,
|
|
24005
24043
|
render: val.render
|
|
@@ -24046,10 +24084,10 @@
|
|
|
24046
24084
|
}
|
|
24047
24085
|
});
|
|
24048
24086
|
|
|
24049
|
-
const FForm = _sfc_main$
|
|
24087
|
+
const FForm = _sfc_main$z;
|
|
24050
24088
|
|
|
24051
|
-
const _hoisted_1$
|
|
24052
|
-
var _sfc_main$
|
|
24089
|
+
const _hoisted_1$p = ["src"];
|
|
24090
|
+
var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
24053
24091
|
...{
|
|
24054
24092
|
name: "svgIcon"
|
|
24055
24093
|
},
|
|
@@ -24120,7 +24158,7 @@
|
|
|
24120
24158
|
vue.createElementVNode("img", {
|
|
24121
24159
|
src: getIconName.value,
|
|
24122
24160
|
style: vue.normalizeStyle(setIconSvgInsStyle.value)
|
|
24123
|
-
}, null, 12, _hoisted_1$
|
|
24161
|
+
}, null, 12, _hoisted_1$p)
|
|
24124
24162
|
],
|
|
24125
24163
|
4
|
|
24126
24164
|
/* STYLE */
|
|
@@ -24147,13 +24185,13 @@
|
|
|
24147
24185
|
}
|
|
24148
24186
|
}
|
|
24149
24187
|
if (!app._context.components[`SvgIcon`]) {
|
|
24150
|
-
app.component("SvgIcon", _sfc_main$
|
|
24188
|
+
app.component("SvgIcon", _sfc_main$y);
|
|
24151
24189
|
}
|
|
24152
24190
|
}
|
|
24153
24191
|
|
|
24154
24192
|
const emitter = mitt();
|
|
24155
24193
|
|
|
24156
|
-
var _sfc_main$
|
|
24194
|
+
var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
24157
24195
|
...{
|
|
24158
24196
|
name: "FLayout"
|
|
24159
24197
|
},
|
|
@@ -24239,7 +24277,7 @@
|
|
|
24239
24277
|
}
|
|
24240
24278
|
});
|
|
24241
24279
|
|
|
24242
|
-
const FLayout = _sfc_main$
|
|
24280
|
+
const FLayout = _sfc_main$x;
|
|
24243
24281
|
|
|
24244
24282
|
function commonFunction() {
|
|
24245
24283
|
const { copy, isSupported } = core.useClipboard();
|
|
@@ -24516,7 +24554,7 @@
|
|
|
24516
24554
|
// },
|
|
24517
24555
|
};
|
|
24518
24556
|
|
|
24519
|
-
const _hoisted_1$
|
|
24557
|
+
const _hoisted_1$o = { class: "layout-breadcrumb-seting" };
|
|
24520
24558
|
const _hoisted_2$g = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24521
24559
|
const _hoisted_3$a = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24522
24560
|
const _hoisted_4$6 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
@@ -24641,7 +24679,7 @@
|
|
|
24641
24679
|
class: "traditionalColors-chines",
|
|
24642
24680
|
style: { "cursor": "grab", "color": "gray" }
|
|
24643
24681
|
};
|
|
24644
|
-
var _sfc_main$
|
|
24682
|
+
var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
24645
24683
|
...{
|
|
24646
24684
|
name: "FSettings"
|
|
24647
24685
|
},
|
|
@@ -24905,7 +24943,7 @@
|
|
|
24905
24943
|
const _component_el_col = vue.resolveComponent("el-col");
|
|
24906
24944
|
const _component_el_row = vue.resolveComponent("el-row");
|
|
24907
24945
|
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
24908
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
24946
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
|
|
24909
24947
|
vue.createVNode(_component_el_drawer, {
|
|
24910
24948
|
title: _ctx.$t("message.layout.configTitle"),
|
|
24911
24949
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -26404,9 +26442,9 @@
|
|
|
26404
26442
|
}
|
|
26405
26443
|
});
|
|
26406
26444
|
|
|
26407
|
-
const FSettings = _sfc_main$
|
|
26445
|
+
const FSettings = _sfc_main$w;
|
|
26408
26446
|
|
|
26409
|
-
var _sfc_main$
|
|
26447
|
+
var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
26410
26448
|
...{
|
|
26411
26449
|
name: "FModifyRecord"
|
|
26412
26450
|
},
|
|
@@ -26669,7 +26707,180 @@
|
|
|
26669
26707
|
}
|
|
26670
26708
|
});
|
|
26671
26709
|
|
|
26672
|
-
const FModifyRecord = _sfc_main$
|
|
26710
|
+
const FModifyRecord = _sfc_main$v;
|
|
26711
|
+
|
|
26712
|
+
const _hoisted_1$n = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
|
|
26713
|
+
var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
26714
|
+
...{
|
|
26715
|
+
name: "FmSelect"
|
|
26716
|
+
},
|
|
26717
|
+
__name: "index",
|
|
26718
|
+
props: /* @__PURE__ */ vue.mergeModels({
|
|
26719
|
+
//数据
|
|
26720
|
+
optionData: {
|
|
26721
|
+
type: Array,
|
|
26722
|
+
default: []
|
|
26723
|
+
},
|
|
26724
|
+
/**
|
|
26725
|
+
* 值的属性值
|
|
26726
|
+
*/
|
|
26727
|
+
bvalue: {
|
|
26728
|
+
type: String,
|
|
26729
|
+
default: "id"
|
|
26730
|
+
},
|
|
26731
|
+
/**
|
|
26732
|
+
* 值的属性标签
|
|
26733
|
+
*/
|
|
26734
|
+
blabel: {
|
|
26735
|
+
type: String,
|
|
26736
|
+
default: "name"
|
|
26737
|
+
},
|
|
26738
|
+
placeholder: {
|
|
26739
|
+
type: String,
|
|
26740
|
+
default: "\u8BF7\u9009\u62E9"
|
|
26741
|
+
},
|
|
26742
|
+
inputWidth: {
|
|
26743
|
+
type: String,
|
|
26744
|
+
default: "40%"
|
|
26745
|
+
},
|
|
26746
|
+
dropWidth: {
|
|
26747
|
+
type: String,
|
|
26748
|
+
default: "90px"
|
|
26749
|
+
},
|
|
26750
|
+
dropHeight: {
|
|
26751
|
+
type: String,
|
|
26752
|
+
default: "180px"
|
|
26753
|
+
},
|
|
26754
|
+
/**
|
|
26755
|
+
* api service name
|
|
26756
|
+
*/
|
|
26757
|
+
apiService: {
|
|
26758
|
+
type: String,
|
|
26759
|
+
default: "baseData"
|
|
26760
|
+
},
|
|
26761
|
+
/**
|
|
26762
|
+
* api service 下的方法
|
|
26763
|
+
*/
|
|
26764
|
+
apiAction: {
|
|
26765
|
+
type: String,
|
|
26766
|
+
default: "baseDataList"
|
|
26767
|
+
},
|
|
26768
|
+
/**
|
|
26769
|
+
* 基础编码 自动获取数据
|
|
26770
|
+
*/
|
|
26771
|
+
basecode: {
|
|
26772
|
+
type: String,
|
|
26773
|
+
default: ""
|
|
26774
|
+
},
|
|
26775
|
+
/**
|
|
26776
|
+
* 基础编码 多个编码合在一起调用
|
|
26777
|
+
*/
|
|
26778
|
+
multibasecode: {
|
|
26779
|
+
type: Array,
|
|
26780
|
+
default: []
|
|
26781
|
+
},
|
|
26782
|
+
freshSize: {
|
|
26783
|
+
type: [Number, String],
|
|
26784
|
+
default: 20
|
|
26785
|
+
},
|
|
26786
|
+
/**
|
|
26787
|
+
* 是否默认加载数据
|
|
26788
|
+
*/
|
|
26789
|
+
autoLoadData: {
|
|
26790
|
+
type: Boolean,
|
|
26791
|
+
default: true
|
|
26792
|
+
}
|
|
26793
|
+
}, {
|
|
26794
|
+
"id": { default: 0, required: false },
|
|
26795
|
+
"idModifiers": {},
|
|
26796
|
+
"name": { default: "", required: false },
|
|
26797
|
+
"nameModifiers": {}
|
|
26798
|
+
}),
|
|
26799
|
+
emits: /* @__PURE__ */ vue.mergeModels(["change"], ["update:id", "update:name"]),
|
|
26800
|
+
setup(__props, { emit: __emit }) {
|
|
26801
|
+
const modeValueId = vue.useModel(__props, "id");
|
|
26802
|
+
const modeValueName = vue.useModel(__props, "name");
|
|
26803
|
+
const props = __props;
|
|
26804
|
+
const state = vue.reactive({
|
|
26805
|
+
optionData: props.optionData
|
|
26806
|
+
});
|
|
26807
|
+
const emit = __emit;
|
|
26808
|
+
const handelChange = (val) => {
|
|
26809
|
+
const fitem = state.optionData.find((item) => item[props.blabel] === val);
|
|
26810
|
+
modeValueId.value = fitem != null ? fitem[props.bvalue] : 0;
|
|
26811
|
+
modeValueName.value = fitem != null ? fitem[props.blabel] : "";
|
|
26812
|
+
emit("change", val);
|
|
26813
|
+
};
|
|
26814
|
+
const handelClear = () => {
|
|
26815
|
+
modeValueId.value = 0;
|
|
26816
|
+
modeValueName.value = "";
|
|
26817
|
+
emit("change", "");
|
|
26818
|
+
};
|
|
26819
|
+
vue.onMounted(async () => {
|
|
26820
|
+
if (props.optionData.length > 0) {
|
|
26821
|
+
state.optionData = props.optionData;
|
|
26822
|
+
}
|
|
26823
|
+
if (props.autoLoadData && props.basecode && props.basecode != "") {
|
|
26824
|
+
const useBaseApi = usefminputdropdownstore();
|
|
26825
|
+
state.optionData = await useBaseApi.getOptionsData(props.apiService, props.apiAction, props.basecode, false, props.multibasecode);
|
|
26826
|
+
}
|
|
26827
|
+
});
|
|
26828
|
+
const handRestdata = async () => {
|
|
26829
|
+
if (props.basecode && props.basecode != "") {
|
|
26830
|
+
const useBaseApi = usefminputdropdownstore();
|
|
26831
|
+
state.optionData = await useBaseApi.getOptionsData(props.apiService, props.apiAction, props.basecode, true, []);
|
|
26832
|
+
}
|
|
26833
|
+
};
|
|
26834
|
+
return (_ctx, _cache) => {
|
|
26835
|
+
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
26836
|
+
const _component_el_option = vue.resolveComponent("el-option");
|
|
26837
|
+
const _component_el_select = vue.resolveComponent("el-select");
|
|
26838
|
+
return vue.openBlock(), vue.createBlock(_component_el_select, {
|
|
26839
|
+
modelValue: modeValueName.value,
|
|
26840
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValueName.value = $event),
|
|
26841
|
+
placeholder: props.placeholder,
|
|
26842
|
+
style: vue.normalizeStyle({ width: __props.inputWidth }),
|
|
26843
|
+
onChange: handelChange,
|
|
26844
|
+
onClear: handelClear
|
|
26845
|
+
}, {
|
|
26846
|
+
header: vue.withCtx(() => [
|
|
26847
|
+
vue.createElementVNode("div", _hoisted_1$n, [
|
|
26848
|
+
vue.createVNode(_component_el_icon, {
|
|
26849
|
+
color: "#13c2c2",
|
|
26850
|
+
size: __props.freshSize,
|
|
26851
|
+
onClick: handRestdata
|
|
26852
|
+
}, {
|
|
26853
|
+
default: vue.withCtx(() => [
|
|
26854
|
+
vue.createVNode(vue.unref(svg.RefreshLeft))
|
|
26855
|
+
]),
|
|
26856
|
+
_: 1
|
|
26857
|
+
/* STABLE */
|
|
26858
|
+
}, 8, ["size"])
|
|
26859
|
+
])
|
|
26860
|
+
]),
|
|
26861
|
+
default: vue.withCtx(() => [
|
|
26862
|
+
(vue.openBlock(true), vue.createElementBlock(
|
|
26863
|
+
vue.Fragment,
|
|
26864
|
+
null,
|
|
26865
|
+
vue.renderList(state.optionData, (item, index) => {
|
|
26866
|
+
return vue.openBlock(), vue.createBlock(_component_el_option, {
|
|
26867
|
+
key: index,
|
|
26868
|
+
label: item[__props.blabel],
|
|
26869
|
+
value: item[__props.blabel]
|
|
26870
|
+
}, null, 8, ["label", "value"]);
|
|
26871
|
+
}),
|
|
26872
|
+
128
|
|
26873
|
+
/* KEYED_FRAGMENT */
|
|
26874
|
+
))
|
|
26875
|
+
]),
|
|
26876
|
+
_: 1
|
|
26877
|
+
/* STABLE */
|
|
26878
|
+
}, 8, ["modelValue", "placeholder", "style"]);
|
|
26879
|
+
};
|
|
26880
|
+
}
|
|
26881
|
+
});
|
|
26882
|
+
|
|
26883
|
+
const FmSelect = _sfc_main$u;
|
|
26673
26884
|
|
|
26674
26885
|
var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
26675
26886
|
...{
|
|
@@ -28474,7 +28685,8 @@
|
|
|
28474
28685
|
FmTree,
|
|
28475
28686
|
FmCascader,
|
|
28476
28687
|
FmInputNumber,
|
|
28477
|
-
FmAutocomplete
|
|
28688
|
+
FmAutocomplete,
|
|
28689
|
+
FmSelect
|
|
28478
28690
|
];
|
|
28479
28691
|
|
|
28480
28692
|
var installer = makeInstaller([...plugins]);
|
|
@@ -32347,6 +32559,7 @@
|
|
|
32347
32559
|
exports.AccountTypeEnum = AccountTypeEnum;
|
|
32348
32560
|
exports.AppSysTypeData = AppSysTypeData;
|
|
32349
32561
|
exports.AppSysTypeEnum = AppSysTypeEnum;
|
|
32562
|
+
exports.CurrencyData = CurrencyData;
|
|
32350
32563
|
exports.HttpMethodEnum = HttpMethodEnum;
|
|
32351
32564
|
exports.JobCreateTypeEnum = JobCreateTypeEnum;
|
|
32352
32565
|
exports.Local = Local;
|