@fmdeui/fmui 1.0.110 → 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/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/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 +231 -57
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +231 -57
- 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/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/es/{make-installer.css → component.css} +0 -0
- /package/lib/{index.css → 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) :
|
|
@@ -20199,7 +20199,7 @@
|
|
|
20199
20199
|
app.use(VxeUITable);
|
|
20200
20200
|
};
|
|
20201
20201
|
|
|
20202
|
-
var _sfc_main$
|
|
20202
|
+
var _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
20203
20203
|
...{
|
|
20204
20204
|
name: "FButton"
|
|
20205
20205
|
},
|
|
@@ -20269,7 +20269,7 @@
|
|
|
20269
20269
|
}
|
|
20270
20270
|
});
|
|
20271
20271
|
|
|
20272
|
-
const FButton = _sfc_main$
|
|
20272
|
+
const FButton = _sfc_main$M;
|
|
20273
20273
|
|
|
20274
20274
|
const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
|
|
20275
20275
|
const translate = (path, option, locale) => lodashEs.get(locale, path, path).replace(
|
|
@@ -20942,9 +20942,9 @@
|
|
|
20942
20942
|
return isJson ? width != "" ? { width } : "" : width;
|
|
20943
20943
|
}
|
|
20944
20944
|
|
|
20945
|
-
const _hoisted_1$
|
|
20945
|
+
const _hoisted_1$w = { key: 0 };
|
|
20946
20946
|
const _hoisted_2$k = { key: 0 };
|
|
20947
|
-
var _sfc_main$
|
|
20947
|
+
var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
20948
20948
|
...{
|
|
20949
20949
|
name: "FInput"
|
|
20950
20950
|
},
|
|
@@ -21151,7 +21151,7 @@
|
|
|
21151
21151
|
fn: vue.withCtx(() => [
|
|
21152
21152
|
__props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
|
|
21153
21153
|
"span",
|
|
21154
|
-
_hoisted_1$
|
|
21154
|
+
_hoisted_1$w,
|
|
21155
21155
|
vue.toDisplayString(appendTitleText.value),
|
|
21156
21156
|
1
|
|
21157
21157
|
/* TEXT */
|
|
@@ -21197,13 +21197,13 @@
|
|
|
21197
21197
|
}
|
|
21198
21198
|
});
|
|
21199
21199
|
|
|
21200
|
-
const FInput = _sfc_main$
|
|
21200
|
+
const FInput = _sfc_main$L;
|
|
21201
21201
|
|
|
21202
|
-
const _hoisted_1$
|
|
21202
|
+
const _hoisted_1$v = {
|
|
21203
21203
|
key: 0,
|
|
21204
21204
|
class: "back_to_top"
|
|
21205
21205
|
};
|
|
21206
|
-
var _sfc_main$
|
|
21206
|
+
var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
21207
21207
|
...{
|
|
21208
21208
|
name: "FLayoutPage"
|
|
21209
21209
|
},
|
|
@@ -21265,7 +21265,7 @@
|
|
|
21265
21265
|
},
|
|
21266
21266
|
[
|
|
21267
21267
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
21268
|
-
__props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21268
|
+
__props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
|
|
21269
21269
|
isShowGoTopButton.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
21270
21270
|
key: 0,
|
|
21271
21271
|
onClick: backToTop
|
|
@@ -21293,9 +21293,9 @@
|
|
|
21293
21293
|
}
|
|
21294
21294
|
});
|
|
21295
21295
|
|
|
21296
|
-
const FLayoutPage = _sfc_main$
|
|
21296
|
+
const FLayoutPage = _sfc_main$K;
|
|
21297
21297
|
|
|
21298
|
-
var _sfc_main$
|
|
21298
|
+
var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
21299
21299
|
...{
|
|
21300
21300
|
name: "FLayoutPageItem"
|
|
21301
21301
|
},
|
|
@@ -21323,7 +21323,7 @@
|
|
|
21323
21323
|
}
|
|
21324
21324
|
});
|
|
21325
21325
|
|
|
21326
|
-
const FLayoutPageItem = _sfc_main$
|
|
21326
|
+
const FLayoutPageItem = _sfc_main$J;
|
|
21327
21327
|
|
|
21328
21328
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
21329
21329
|
let timer = null;
|
|
@@ -21366,8 +21366,8 @@
|
|
|
21366
21366
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
21367
21367
|
}
|
|
21368
21368
|
|
|
21369
|
-
const _hoisted_1$
|
|
21370
|
-
var _sfc_main$
|
|
21369
|
+
const _hoisted_1$u = ["id"];
|
|
21370
|
+
var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
21371
21371
|
...{
|
|
21372
21372
|
name: "FChart"
|
|
21373
21373
|
},
|
|
@@ -21451,7 +21451,7 @@
|
|
|
21451
21451
|
id: __props.id,
|
|
21452
21452
|
ref_key: "echartRef",
|
|
21453
21453
|
ref: echartRef
|
|
21454
|
-
}, null, 8, _hoisted_1$
|
|
21454
|
+
}, null, 8, _hoisted_1$u), [
|
|
21455
21455
|
[vue.vShow, !formatEmpty.value]
|
|
21456
21456
|
]),
|
|
21457
21457
|
formatEmpty.value ? vue.renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -21466,13 +21466,13 @@
|
|
|
21466
21466
|
}
|
|
21467
21467
|
});
|
|
21468
21468
|
|
|
21469
|
-
const FChart = _sfc_main$
|
|
21469
|
+
const FChart = _sfc_main$I;
|
|
21470
21470
|
|
|
21471
|
-
const _hoisted_1$
|
|
21471
|
+
const _hoisted_1$t = {
|
|
21472
21472
|
key: 1,
|
|
21473
21473
|
class: "f_select__pagination"
|
|
21474
21474
|
};
|
|
21475
|
-
var _sfc_main$
|
|
21475
|
+
var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
21476
21476
|
...{
|
|
21477
21477
|
name: "FSelect"
|
|
21478
21478
|
},
|
|
@@ -21685,7 +21685,7 @@
|
|
|
21685
21685
|
128
|
|
21686
21686
|
/* KEYED_FRAGMENT */
|
|
21687
21687
|
)),
|
|
21688
|
-
__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, [
|
|
21689
21689
|
vue.createVNode(_component_el_pagination, vue.mergeProps({
|
|
21690
21690
|
"current-page": __props.paginationOption.currentPage,
|
|
21691
21691
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -21723,9 +21723,9 @@
|
|
|
21723
21723
|
}
|
|
21724
21724
|
});
|
|
21725
21725
|
|
|
21726
|
-
const FSelect = _sfc_main$
|
|
21726
|
+
const FSelect = _sfc_main$H;
|
|
21727
21727
|
|
|
21728
|
-
var _sfc_main$
|
|
21728
|
+
var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
21729
21729
|
...{
|
|
21730
21730
|
name: "RenderComp"
|
|
21731
21731
|
},
|
|
@@ -21745,12 +21745,12 @@
|
|
|
21745
21745
|
}
|
|
21746
21746
|
});
|
|
21747
21747
|
|
|
21748
|
-
const _hoisted_1$
|
|
21748
|
+
const _hoisted_1$s = { class: "inside_box" };
|
|
21749
21749
|
const _hoisted_2$j = { class: "inside_box_title" };
|
|
21750
21750
|
const _hoisted_3$c = { class: "check-box" };
|
|
21751
21751
|
const _hoisted_4$8 = { class: "more_dropdown_icon" };
|
|
21752
21752
|
const _hoisted_5$7 = { class: "out_box" };
|
|
21753
|
-
var _sfc_main$
|
|
21753
|
+
var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
21754
21754
|
...{
|
|
21755
21755
|
name: "MoreChoose"
|
|
21756
21756
|
},
|
|
@@ -21888,7 +21888,7 @@
|
|
|
21888
21888
|
])
|
|
21889
21889
|
]),
|
|
21890
21890
|
default: vue.withCtx(() => [
|
|
21891
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
21891
|
+
vue.createElementVNode("div", _hoisted_1$s, [
|
|
21892
21892
|
vue.createElementVNode("div", _hoisted_2$j, [
|
|
21893
21893
|
vue.createElementVNode(
|
|
21894
21894
|
"div",
|
|
@@ -22065,7 +22065,7 @@
|
|
|
22065
22065
|
};
|
|
22066
22066
|
}
|
|
22067
22067
|
|
|
22068
|
-
var _sfc_main$
|
|
22068
|
+
var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
22069
22069
|
...{
|
|
22070
22070
|
name: "FQueryCondition"
|
|
22071
22071
|
},
|
|
@@ -22484,7 +22484,7 @@
|
|
|
22484
22484
|
opt.labelRender ? {
|
|
22485
22485
|
name: "label",
|
|
22486
22486
|
fn: vue.withCtx(() => [
|
|
22487
|
-
vue.createVNode(_sfc_main$
|
|
22487
|
+
vue.createVNode(_sfc_main$G, {
|
|
22488
22488
|
form: vue.unref(queryState).form,
|
|
22489
22489
|
render: opt.labelRender
|
|
22490
22490
|
}, null, 8, ["form", "render"])
|
|
@@ -22580,7 +22580,7 @@
|
|
|
22580
22580
|
_: 1
|
|
22581
22581
|
/* STABLE */
|
|
22582
22582
|
})) : vue.createCommentVNode("v-if", true),
|
|
22583
|
-
vue.createVNode(_sfc_main$
|
|
22583
|
+
vue.createVNode(_sfc_main$F, {
|
|
22584
22584
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22585
22585
|
moreCheckList: __props.moreCheckList,
|
|
22586
22586
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22606,7 +22606,7 @@
|
|
|
22606
22606
|
}
|
|
22607
22607
|
});
|
|
22608
22608
|
|
|
22609
|
-
var _sfc_main$
|
|
22609
|
+
var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
22610
22610
|
...{
|
|
22611
22611
|
name: "RenderCol"
|
|
22612
22612
|
},
|
|
@@ -22762,7 +22762,7 @@
|
|
|
22762
22762
|
};
|
|
22763
22763
|
}
|
|
22764
22764
|
|
|
22765
|
-
const _hoisted_1$
|
|
22765
|
+
const _hoisted_1$r = {
|
|
22766
22766
|
key: 0,
|
|
22767
22767
|
class: "table_query_condition"
|
|
22768
22768
|
};
|
|
@@ -22772,7 +22772,7 @@
|
|
|
22772
22772
|
key: 0,
|
|
22773
22773
|
class: "f-table-select__page"
|
|
22774
22774
|
};
|
|
22775
|
-
var _sfc_main$
|
|
22775
|
+
var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
22776
22776
|
...{
|
|
22777
22777
|
name: "FSelectTable"
|
|
22778
22778
|
},
|
|
@@ -23394,9 +23394,9 @@
|
|
|
23394
23394
|
style: vue.normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
23395
23395
|
},
|
|
23396
23396
|
[
|
|
23397
|
-
__props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
23397
|
+
__props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
|
|
23398
23398
|
vue.createVNode(
|
|
23399
|
-
_sfc_main$
|
|
23399
|
+
_sfc_main$E,
|
|
23400
23400
|
vue.mergeProps({
|
|
23401
23401
|
ref_key: "fQueryConditionRef",
|
|
23402
23402
|
ref: fQueryConditionRef,
|
|
@@ -23522,7 +23522,7 @@
|
|
|
23522
23522
|
fixed: item.fixed
|
|
23523
23523
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23524
23524
|
default: vue.withCtx((scope) => [
|
|
23525
|
-
item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
23525
|
+
item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$D, {
|
|
23526
23526
|
key: 0,
|
|
23527
23527
|
column: item,
|
|
23528
23528
|
row: scope.row,
|
|
@@ -23585,11 +23585,11 @@
|
|
|
23585
23585
|
}
|
|
23586
23586
|
});
|
|
23587
23587
|
|
|
23588
|
-
const FSelectTable = _sfc_main$
|
|
23588
|
+
const FSelectTable = _sfc_main$C;
|
|
23589
23589
|
|
|
23590
|
-
const FQueryCondition = _sfc_main$
|
|
23590
|
+
const FQueryCondition = _sfc_main$E;
|
|
23591
23591
|
|
|
23592
|
-
var _sfc_main$
|
|
23592
|
+
var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
23593
23593
|
...{
|
|
23594
23594
|
name: "RenderComp"
|
|
23595
23595
|
},
|
|
@@ -23609,7 +23609,7 @@
|
|
|
23609
23609
|
}
|
|
23610
23610
|
});
|
|
23611
23611
|
|
|
23612
|
-
var _sfc_main$
|
|
23612
|
+
var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
23613
23613
|
...{
|
|
23614
23614
|
name: "RenderBtn"
|
|
23615
23615
|
},
|
|
@@ -23629,12 +23629,12 @@
|
|
|
23629
23629
|
}
|
|
23630
23630
|
});
|
|
23631
23631
|
|
|
23632
|
-
const _hoisted_1$
|
|
23632
|
+
const _hoisted_1$q = {
|
|
23633
23633
|
key: 1,
|
|
23634
23634
|
class: "text_show"
|
|
23635
23635
|
};
|
|
23636
23636
|
const _hoisted_2$h = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23637
|
-
var _sfc_main$
|
|
23637
|
+
var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
23638
23638
|
...{
|
|
23639
23639
|
name: "FForm"
|
|
23640
23640
|
},
|
|
@@ -23885,7 +23885,7 @@
|
|
|
23885
23885
|
}) : vue.createCommentVNode("v-if", true),
|
|
23886
23886
|
item.textShow ? (vue.openBlock(), vue.createElementBlock(
|
|
23887
23887
|
"span",
|
|
23888
|
-
_hoisted_1$
|
|
23888
|
+
_hoisted_1$q,
|
|
23889
23889
|
vue.toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
23890
23890
|
1
|
|
23891
23891
|
/* TEXT */
|
|
@@ -24005,7 +24005,7 @@
|
|
|
24005
24005
|
item.labelSlotName || item.labelRender ? {
|
|
24006
24006
|
name: "label",
|
|
24007
24007
|
fn: vue.withCtx(() => [
|
|
24008
|
-
item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24008
|
+
item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$B, {
|
|
24009
24009
|
key: 0,
|
|
24010
24010
|
render: item.labelRender,
|
|
24011
24011
|
item
|
|
@@ -24037,7 +24037,7 @@
|
|
|
24037
24037
|
vue.Fragment,
|
|
24038
24038
|
null,
|
|
24039
24039
|
[
|
|
24040
|
-
val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24040
|
+
val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
24041
24041
|
key: index,
|
|
24042
24042
|
item: val,
|
|
24043
24043
|
render: val.render
|
|
@@ -24084,10 +24084,10 @@
|
|
|
24084
24084
|
}
|
|
24085
24085
|
});
|
|
24086
24086
|
|
|
24087
|
-
const FForm = _sfc_main$
|
|
24087
|
+
const FForm = _sfc_main$z;
|
|
24088
24088
|
|
|
24089
|
-
const _hoisted_1$
|
|
24090
|
-
var _sfc_main$
|
|
24089
|
+
const _hoisted_1$p = ["src"];
|
|
24090
|
+
var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
24091
24091
|
...{
|
|
24092
24092
|
name: "svgIcon"
|
|
24093
24093
|
},
|
|
@@ -24158,7 +24158,7 @@
|
|
|
24158
24158
|
vue.createElementVNode("img", {
|
|
24159
24159
|
src: getIconName.value,
|
|
24160
24160
|
style: vue.normalizeStyle(setIconSvgInsStyle.value)
|
|
24161
|
-
}, null, 12, _hoisted_1$
|
|
24161
|
+
}, null, 12, _hoisted_1$p)
|
|
24162
24162
|
],
|
|
24163
24163
|
4
|
|
24164
24164
|
/* STYLE */
|
|
@@ -24185,13 +24185,13 @@
|
|
|
24185
24185
|
}
|
|
24186
24186
|
}
|
|
24187
24187
|
if (!app._context.components[`SvgIcon`]) {
|
|
24188
|
-
app.component("SvgIcon", _sfc_main$
|
|
24188
|
+
app.component("SvgIcon", _sfc_main$y);
|
|
24189
24189
|
}
|
|
24190
24190
|
}
|
|
24191
24191
|
|
|
24192
24192
|
const emitter = mitt();
|
|
24193
24193
|
|
|
24194
|
-
var _sfc_main$
|
|
24194
|
+
var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
24195
24195
|
...{
|
|
24196
24196
|
name: "FLayout"
|
|
24197
24197
|
},
|
|
@@ -24277,7 +24277,7 @@
|
|
|
24277
24277
|
}
|
|
24278
24278
|
});
|
|
24279
24279
|
|
|
24280
|
-
const FLayout = _sfc_main$
|
|
24280
|
+
const FLayout = _sfc_main$x;
|
|
24281
24281
|
|
|
24282
24282
|
function commonFunction() {
|
|
24283
24283
|
const { copy, isSupported } = core.useClipboard();
|
|
@@ -24554,7 +24554,7 @@
|
|
|
24554
24554
|
// },
|
|
24555
24555
|
};
|
|
24556
24556
|
|
|
24557
|
-
const _hoisted_1$
|
|
24557
|
+
const _hoisted_1$o = { class: "layout-breadcrumb-seting" };
|
|
24558
24558
|
const _hoisted_2$g = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24559
24559
|
const _hoisted_3$a = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24560
24560
|
const _hoisted_4$6 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
@@ -24679,7 +24679,7 @@
|
|
|
24679
24679
|
class: "traditionalColors-chines",
|
|
24680
24680
|
style: { "cursor": "grab", "color": "gray" }
|
|
24681
24681
|
};
|
|
24682
|
-
var _sfc_main$
|
|
24682
|
+
var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
24683
24683
|
...{
|
|
24684
24684
|
name: "FSettings"
|
|
24685
24685
|
},
|
|
@@ -24943,7 +24943,7 @@
|
|
|
24943
24943
|
const _component_el_col = vue.resolveComponent("el-col");
|
|
24944
24944
|
const _component_el_row = vue.resolveComponent("el-row");
|
|
24945
24945
|
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
24946
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
24946
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
|
|
24947
24947
|
vue.createVNode(_component_el_drawer, {
|
|
24948
24948
|
title: _ctx.$t("message.layout.configTitle"),
|
|
24949
24949
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -26442,9 +26442,9 @@
|
|
|
26442
26442
|
}
|
|
26443
26443
|
});
|
|
26444
26444
|
|
|
26445
|
-
const FSettings = _sfc_main$
|
|
26445
|
+
const FSettings = _sfc_main$w;
|
|
26446
26446
|
|
|
26447
|
-
var _sfc_main$
|
|
26447
|
+
var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
26448
26448
|
...{
|
|
26449
26449
|
name: "FModifyRecord"
|
|
26450
26450
|
},
|
|
@@ -26707,7 +26707,180 @@
|
|
|
26707
26707
|
}
|
|
26708
26708
|
});
|
|
26709
26709
|
|
|
26710
|
-
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;
|
|
26711
26884
|
|
|
26712
26885
|
var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
26713
26886
|
...{
|
|
@@ -28512,7 +28685,8 @@
|
|
|
28512
28685
|
FmTree,
|
|
28513
28686
|
FmCascader,
|
|
28514
28687
|
FmInputNumber,
|
|
28515
|
-
FmAutocomplete
|
|
28688
|
+
FmAutocomplete,
|
|
28689
|
+
FmSelect
|
|
28516
28690
|
];
|
|
28517
28691
|
|
|
28518
28692
|
var installer = makeInstaller([...plugins]);
|