@fmdeui/fmui 1.0.74 → 1.0.76
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 +7 -0
- package/es/component.mjs +3 -1
- package/es/components/fmcascader/index.d.ts +114 -0
- package/es/components/fmcascader/index.vue.d.ts +115 -0
- package/es/index.mjs +1 -1
- package/es/packages/api/index.mjs +23 -1
- package/es/packages/components/fmcascader/index.mjs +6 -0
- package/es/packages/components/fmcascader/index.vue.mjs +5 -0
- package/es/packages/components/fmcascader/index.vue2.mjs +126 -0
- package/index.js +210 -61
- package/index.min.js +6 -6
- package/index.min.mjs +7 -7
- package/index.mjs +210 -62
- package/lib/api/index.d.ts +7 -0
- package/lib/component.js +3 -1
- package/lib/components/fmcascader/index.d.ts +114 -0
- package/lib/components/fmcascader/index.vue.d.ts +115 -0
- package/lib/index.js +1 -0
- package/lib/packages/api/index.js +23 -0
- package/lib/packages/components/fmcascader/index.js +8 -0
- package/lib/packages/components/fmcascader/index.vue.js +9 -0
- package/lib/packages/components/fmcascader/index.vue2.js +130 -0
- 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/{defaults.css → component.css} +0 -0
- /package/lib/{version.css → index.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.76 */
|
|
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';
|
|
@@ -3702,6 +3702,28 @@ const AppSysTypeData = [
|
|
|
3702
3702
|
value: 22 /* DeliverySys */
|
|
3703
3703
|
}
|
|
3704
3704
|
];
|
|
3705
|
+
const PowerAreaData = [
|
|
3706
|
+
{
|
|
3707
|
+
label: "\u4E2A\u4EBA",
|
|
3708
|
+
value: 1
|
|
3709
|
+
},
|
|
3710
|
+
{
|
|
3711
|
+
label: "\u5C0F\u7EC4",
|
|
3712
|
+
value: 2
|
|
3713
|
+
},
|
|
3714
|
+
{
|
|
3715
|
+
label: "\u90E8\u95E8",
|
|
3716
|
+
value: 3
|
|
3717
|
+
},
|
|
3718
|
+
{
|
|
3719
|
+
label: "\u516C\u53F8",
|
|
3720
|
+
value: 4
|
|
3721
|
+
},
|
|
3722
|
+
{
|
|
3723
|
+
label: "\u96C6\u56E2",
|
|
3724
|
+
value: 5
|
|
3725
|
+
}
|
|
3726
|
+
];
|
|
3705
3727
|
|
|
3706
3728
|
const useUserInfo = defineStore("userInfo", {
|
|
3707
3729
|
state: () => ({
|
|
@@ -19755,7 +19777,7 @@ const setupVXETable = (app) => {
|
|
|
19755
19777
|
app.use(VxeUITable);
|
|
19756
19778
|
};
|
|
19757
19779
|
|
|
19758
|
-
var _sfc_main$
|
|
19780
|
+
var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
19759
19781
|
...{
|
|
19760
19782
|
name: "FButton"
|
|
19761
19783
|
},
|
|
@@ -19825,7 +19847,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
19825
19847
|
}
|
|
19826
19848
|
});
|
|
19827
19849
|
|
|
19828
|
-
const FButton = _sfc_main$
|
|
19850
|
+
const FButton = _sfc_main$G;
|
|
19829
19851
|
|
|
19830
19852
|
const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
|
|
19831
19853
|
const translate = (path, option, locale) => get(locale, path, path).replace(
|
|
@@ -20396,9 +20418,9 @@ function getlimit(value) {
|
|
|
20396
20418
|
return null;
|
|
20397
20419
|
}
|
|
20398
20420
|
|
|
20399
|
-
const _hoisted_1$
|
|
20421
|
+
const _hoisted_1$s = { key: 0 };
|
|
20400
20422
|
const _hoisted_2$i = { key: 0 };
|
|
20401
|
-
var _sfc_main$
|
|
20423
|
+
var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
20402
20424
|
...{
|
|
20403
20425
|
name: "FInput"
|
|
20404
20426
|
},
|
|
@@ -20605,7 +20627,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
20605
20627
|
fn: withCtx(() => [
|
|
20606
20628
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
20607
20629
|
"span",
|
|
20608
|
-
_hoisted_1$
|
|
20630
|
+
_hoisted_1$s,
|
|
20609
20631
|
toDisplayString(appendTitleText.value),
|
|
20610
20632
|
1
|
|
20611
20633
|
/* TEXT */
|
|
@@ -20651,13 +20673,13 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
20651
20673
|
}
|
|
20652
20674
|
});
|
|
20653
20675
|
|
|
20654
|
-
const FInput = _sfc_main$
|
|
20676
|
+
const FInput = _sfc_main$F;
|
|
20655
20677
|
|
|
20656
|
-
const _hoisted_1$
|
|
20678
|
+
const _hoisted_1$r = {
|
|
20657
20679
|
key: 0,
|
|
20658
20680
|
class: "back_to_top"
|
|
20659
20681
|
};
|
|
20660
|
-
var _sfc_main$
|
|
20682
|
+
var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
20661
20683
|
...{
|
|
20662
20684
|
name: "FLayoutPage"
|
|
20663
20685
|
},
|
|
@@ -20719,7 +20741,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
20719
20741
|
},
|
|
20720
20742
|
[
|
|
20721
20743
|
renderSlot(_ctx.$slots, "default"),
|
|
20722
|
-
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
20744
|
+
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
20723
20745
|
isShowGoTopButton.value ? (openBlock(), createElementBlock("div", {
|
|
20724
20746
|
key: 0,
|
|
20725
20747
|
onClick: backToTop
|
|
@@ -20747,9 +20769,9 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
20747
20769
|
}
|
|
20748
20770
|
});
|
|
20749
20771
|
|
|
20750
|
-
const FLayoutPage = _sfc_main$
|
|
20772
|
+
const FLayoutPage = _sfc_main$E;
|
|
20751
20773
|
|
|
20752
|
-
var _sfc_main$
|
|
20774
|
+
var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
20753
20775
|
...{
|
|
20754
20776
|
name: "FLayoutPageItem"
|
|
20755
20777
|
},
|
|
@@ -20777,7 +20799,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
20777
20799
|
}
|
|
20778
20800
|
});
|
|
20779
20801
|
|
|
20780
|
-
const FLayoutPageItem = _sfc_main$
|
|
20802
|
+
const FLayoutPageItem = _sfc_main$D;
|
|
20781
20803
|
|
|
20782
20804
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
20783
20805
|
let timer = null;
|
|
@@ -20820,8 +20842,8 @@ function toLine(name) {
|
|
|
20820
20842
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
20821
20843
|
}
|
|
20822
20844
|
|
|
20823
|
-
const _hoisted_1$
|
|
20824
|
-
var _sfc_main$
|
|
20845
|
+
const _hoisted_1$q = ["id"];
|
|
20846
|
+
var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
20825
20847
|
...{
|
|
20826
20848
|
name: "FChart"
|
|
20827
20849
|
},
|
|
@@ -20905,7 +20927,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
20905
20927
|
id: __props.id,
|
|
20906
20928
|
ref_key: "echartRef",
|
|
20907
20929
|
ref: echartRef
|
|
20908
|
-
}, null, 8, _hoisted_1$
|
|
20930
|
+
}, null, 8, _hoisted_1$q), [
|
|
20909
20931
|
[vShow, !formatEmpty.value]
|
|
20910
20932
|
]),
|
|
20911
20933
|
formatEmpty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -20920,13 +20942,13 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
20920
20942
|
}
|
|
20921
20943
|
});
|
|
20922
20944
|
|
|
20923
|
-
const FChart = _sfc_main$
|
|
20945
|
+
const FChart = _sfc_main$C;
|
|
20924
20946
|
|
|
20925
|
-
const _hoisted_1$
|
|
20947
|
+
const _hoisted_1$p = {
|
|
20926
20948
|
key: 1,
|
|
20927
20949
|
class: "f_select__pagination"
|
|
20928
20950
|
};
|
|
20929
|
-
var _sfc_main$
|
|
20951
|
+
var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
20930
20952
|
...{
|
|
20931
20953
|
name: "FSelect"
|
|
20932
20954
|
},
|
|
@@ -21139,7 +21161,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
21139
21161
|
128
|
|
21140
21162
|
/* KEYED_FRAGMENT */
|
|
21141
21163
|
)),
|
|
21142
|
-
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21164
|
+
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
21143
21165
|
createVNode(_component_el_pagination, mergeProps({
|
|
21144
21166
|
"current-page": __props.paginationOption.currentPage,
|
|
21145
21167
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -21177,9 +21199,9 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
21177
21199
|
}
|
|
21178
21200
|
});
|
|
21179
21201
|
|
|
21180
|
-
const FSelect = _sfc_main$
|
|
21202
|
+
const FSelect = _sfc_main$B;
|
|
21181
21203
|
|
|
21182
|
-
var _sfc_main$
|
|
21204
|
+
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
21183
21205
|
...{
|
|
21184
21206
|
name: "RenderComp"
|
|
21185
21207
|
},
|
|
@@ -21199,12 +21221,12 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
21199
21221
|
}
|
|
21200
21222
|
});
|
|
21201
21223
|
|
|
21202
|
-
const _hoisted_1$
|
|
21224
|
+
const _hoisted_1$o = { class: "inside_box" };
|
|
21203
21225
|
const _hoisted_2$h = { class: "inside_box_title" };
|
|
21204
21226
|
const _hoisted_3$a = { class: "check-box" };
|
|
21205
21227
|
const _hoisted_4$7 = { class: "more_dropdown_icon" };
|
|
21206
21228
|
const _hoisted_5$6 = { class: "out_box" };
|
|
21207
|
-
var _sfc_main$
|
|
21229
|
+
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
21208
21230
|
...{
|
|
21209
21231
|
name: "MoreChoose"
|
|
21210
21232
|
},
|
|
@@ -21342,7 +21364,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
21342
21364
|
])
|
|
21343
21365
|
]),
|
|
21344
21366
|
default: withCtx(() => [
|
|
21345
|
-
createElementVNode("div", _hoisted_1$
|
|
21367
|
+
createElementVNode("div", _hoisted_1$o, [
|
|
21346
21368
|
createElementVNode("div", _hoisted_2$h, [
|
|
21347
21369
|
createElementVNode(
|
|
21348
21370
|
"div",
|
|
@@ -21519,7 +21541,7 @@ function useComputed() {
|
|
|
21519
21541
|
};
|
|
21520
21542
|
}
|
|
21521
21543
|
|
|
21522
|
-
var _sfc_main$
|
|
21544
|
+
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
21523
21545
|
...{
|
|
21524
21546
|
name: "FQueryCondition"
|
|
21525
21547
|
},
|
|
@@ -21938,7 +21960,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
21938
21960
|
opt.labelRender ? {
|
|
21939
21961
|
name: "label",
|
|
21940
21962
|
fn: withCtx(() => [
|
|
21941
|
-
createVNode(_sfc_main$
|
|
21963
|
+
createVNode(_sfc_main$A, {
|
|
21942
21964
|
form: unref(queryState).form,
|
|
21943
21965
|
render: opt.labelRender
|
|
21944
21966
|
}, null, 8, ["form", "render"])
|
|
@@ -22034,7 +22056,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
22034
22056
|
_: 1
|
|
22035
22057
|
/* STABLE */
|
|
22036
22058
|
})) : createCommentVNode("v-if", true),
|
|
22037
|
-
createVNode(_sfc_main$
|
|
22059
|
+
createVNode(_sfc_main$z, {
|
|
22038
22060
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22039
22061
|
moreCheckList: __props.moreCheckList,
|
|
22040
22062
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22060,7 +22082,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
22060
22082
|
}
|
|
22061
22083
|
});
|
|
22062
22084
|
|
|
22063
|
-
var _sfc_main$
|
|
22085
|
+
var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
22064
22086
|
...{
|
|
22065
22087
|
name: "RenderCol"
|
|
22066
22088
|
},
|
|
@@ -22216,7 +22238,7 @@ function useVirtualized() {
|
|
|
22216
22238
|
};
|
|
22217
22239
|
}
|
|
22218
22240
|
|
|
22219
|
-
const _hoisted_1$
|
|
22241
|
+
const _hoisted_1$n = {
|
|
22220
22242
|
key: 0,
|
|
22221
22243
|
class: "table_query_condition"
|
|
22222
22244
|
};
|
|
@@ -22226,7 +22248,7 @@ const _hoisted_4$6 = {
|
|
|
22226
22248
|
key: 0,
|
|
22227
22249
|
class: "f-table-select__page"
|
|
22228
22250
|
};
|
|
22229
|
-
var _sfc_main$
|
|
22251
|
+
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
22230
22252
|
...{
|
|
22231
22253
|
name: "FSelectTable"
|
|
22232
22254
|
},
|
|
@@ -22848,9 +22870,9 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
22848
22870
|
style: normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
22849
22871
|
},
|
|
22850
22872
|
[
|
|
22851
|
-
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22873
|
+
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
22852
22874
|
createVNode(
|
|
22853
|
-
_sfc_main$
|
|
22875
|
+
_sfc_main$y,
|
|
22854
22876
|
mergeProps({
|
|
22855
22877
|
ref_key: "fQueryConditionRef",
|
|
22856
22878
|
ref: fQueryConditionRef,
|
|
@@ -22976,7 +22998,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
22976
22998
|
fixed: item.fixed
|
|
22977
22999
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
22978
23000
|
default: withCtx((scope) => [
|
|
22979
|
-
item.render ? (openBlock(), createBlock(_sfc_main$
|
|
23001
|
+
item.render ? (openBlock(), createBlock(_sfc_main$x, {
|
|
22980
23002
|
key: 0,
|
|
22981
23003
|
column: item,
|
|
22982
23004
|
row: scope.row,
|
|
@@ -23039,11 +23061,11 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
23039
23061
|
}
|
|
23040
23062
|
});
|
|
23041
23063
|
|
|
23042
|
-
const FSelectTable = _sfc_main$
|
|
23064
|
+
const FSelectTable = _sfc_main$w;
|
|
23043
23065
|
|
|
23044
|
-
const FQueryCondition = _sfc_main$
|
|
23066
|
+
const FQueryCondition = _sfc_main$y;
|
|
23045
23067
|
|
|
23046
|
-
var _sfc_main$
|
|
23068
|
+
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
23047
23069
|
...{
|
|
23048
23070
|
name: "RenderComp"
|
|
23049
23071
|
},
|
|
@@ -23063,7 +23085,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
23063
23085
|
}
|
|
23064
23086
|
});
|
|
23065
23087
|
|
|
23066
|
-
var _sfc_main$
|
|
23088
|
+
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
23067
23089
|
...{
|
|
23068
23090
|
name: "RenderBtn"
|
|
23069
23091
|
},
|
|
@@ -23083,12 +23105,12 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
23083
23105
|
}
|
|
23084
23106
|
});
|
|
23085
23107
|
|
|
23086
|
-
const _hoisted_1$
|
|
23108
|
+
const _hoisted_1$m = {
|
|
23087
23109
|
key: 1,
|
|
23088
23110
|
class: "text_show"
|
|
23089
23111
|
};
|
|
23090
23112
|
const _hoisted_2$f = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23091
|
-
var _sfc_main$
|
|
23113
|
+
var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
23092
23114
|
...{
|
|
23093
23115
|
name: "FForm"
|
|
23094
23116
|
},
|
|
@@ -23339,7 +23361,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
23339
23361
|
}) : createCommentVNode("v-if", true),
|
|
23340
23362
|
item.textShow ? (openBlock(), createElementBlock(
|
|
23341
23363
|
"span",
|
|
23342
|
-
_hoisted_1$
|
|
23364
|
+
_hoisted_1$m,
|
|
23343
23365
|
toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
23344
23366
|
1
|
|
23345
23367
|
/* TEXT */
|
|
@@ -23459,7 +23481,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
23459
23481
|
item.labelSlotName || item.labelRender ? {
|
|
23460
23482
|
name: "label",
|
|
23461
23483
|
fn: withCtx(() => [
|
|
23462
|
-
item.labelRender ? (openBlock(), createBlock(_sfc_main$
|
|
23484
|
+
item.labelRender ? (openBlock(), createBlock(_sfc_main$v, {
|
|
23463
23485
|
key: 0,
|
|
23464
23486
|
render: item.labelRender,
|
|
23465
23487
|
item
|
|
@@ -23491,7 +23513,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
23491
23513
|
Fragment,
|
|
23492
23514
|
null,
|
|
23493
23515
|
[
|
|
23494
|
-
val.render ? (openBlock(), createBlock(_sfc_main$
|
|
23516
|
+
val.render ? (openBlock(), createBlock(_sfc_main$u, {
|
|
23495
23517
|
key: index,
|
|
23496
23518
|
item: val,
|
|
23497
23519
|
render: val.render
|
|
@@ -23538,10 +23560,10 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
23538
23560
|
}
|
|
23539
23561
|
});
|
|
23540
23562
|
|
|
23541
|
-
const FForm = _sfc_main$
|
|
23563
|
+
const FForm = _sfc_main$t;
|
|
23542
23564
|
|
|
23543
|
-
const _hoisted_1$
|
|
23544
|
-
var _sfc_main$
|
|
23565
|
+
const _hoisted_1$l = ["src"];
|
|
23566
|
+
var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
23545
23567
|
...{
|
|
23546
23568
|
name: "svgIcon"
|
|
23547
23569
|
},
|
|
@@ -23612,7 +23634,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
23612
23634
|
createElementVNode("img", {
|
|
23613
23635
|
src: getIconName.value,
|
|
23614
23636
|
style: normalizeStyle(setIconSvgInsStyle.value)
|
|
23615
|
-
}, null, 12, _hoisted_1$
|
|
23637
|
+
}, null, 12, _hoisted_1$l)
|
|
23616
23638
|
],
|
|
23617
23639
|
4
|
|
23618
23640
|
/* STYLE */
|
|
@@ -23639,13 +23661,13 @@ function elSvg(app) {
|
|
|
23639
23661
|
}
|
|
23640
23662
|
}
|
|
23641
23663
|
if (!app._context.components[`SvgIcon`]) {
|
|
23642
|
-
app.component("SvgIcon", _sfc_main$
|
|
23664
|
+
app.component("SvgIcon", _sfc_main$s);
|
|
23643
23665
|
}
|
|
23644
23666
|
}
|
|
23645
23667
|
|
|
23646
23668
|
const emitter = mitt();
|
|
23647
23669
|
|
|
23648
|
-
var _sfc_main$
|
|
23670
|
+
var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
23649
23671
|
...{
|
|
23650
23672
|
name: "FLayout"
|
|
23651
23673
|
},
|
|
@@ -23731,7 +23753,7 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
23731
23753
|
}
|
|
23732
23754
|
});
|
|
23733
23755
|
|
|
23734
|
-
const FLayout = _sfc_main$
|
|
23756
|
+
const FLayout = _sfc_main$r;
|
|
23735
23757
|
|
|
23736
23758
|
function commonFunction() {
|
|
23737
23759
|
const { copy, isSupported } = useClipboard();
|
|
@@ -24008,7 +24030,7 @@ const other = {
|
|
|
24008
24030
|
// },
|
|
24009
24031
|
};
|
|
24010
24032
|
|
|
24011
|
-
const _hoisted_1$
|
|
24033
|
+
const _hoisted_1$k = { class: "layout-breadcrumb-seting" };
|
|
24012
24034
|
const _hoisted_2$e = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24013
24035
|
const _hoisted_3$8 = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24014
24036
|
const _hoisted_4$5 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
@@ -24133,7 +24155,7 @@ const _hoisted_119 = {
|
|
|
24133
24155
|
class: "traditionalColors-chines",
|
|
24134
24156
|
style: { "cursor": "grab", "color": "gray" }
|
|
24135
24157
|
};
|
|
24136
|
-
var _sfc_main$
|
|
24158
|
+
var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
24137
24159
|
...{
|
|
24138
24160
|
name: "FSettings"
|
|
24139
24161
|
},
|
|
@@ -24397,7 +24419,7 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
24397
24419
|
const _component_el_col = resolveComponent("el-col");
|
|
24398
24420
|
const _component_el_row = resolveComponent("el-row");
|
|
24399
24421
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
24400
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24422
|
+
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
24401
24423
|
createVNode(_component_el_drawer, {
|
|
24402
24424
|
title: _ctx.$t("message.layout.configTitle"),
|
|
24403
24425
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -25896,9 +25918,9 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
25896
25918
|
}
|
|
25897
25919
|
});
|
|
25898
25920
|
|
|
25899
|
-
const FSettings = _sfc_main$
|
|
25921
|
+
const FSettings = _sfc_main$q;
|
|
25900
25922
|
|
|
25901
|
-
var _sfc_main$
|
|
25923
|
+
var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
25902
25924
|
...{
|
|
25903
25925
|
name: "FModifyRecord"
|
|
25904
25926
|
},
|
|
@@ -26161,7 +26183,7 @@ var _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
26161
26183
|
}
|
|
26162
26184
|
});
|
|
26163
26185
|
|
|
26164
|
-
const FModifyRecord = _sfc_main$
|
|
26186
|
+
const FModifyRecord = _sfc_main$p;
|
|
26165
26187
|
|
|
26166
26188
|
const makeInstaller = (components = []) => {
|
|
26167
26189
|
const install = (app) => {
|
|
@@ -26182,12 +26204,12 @@ const makeInstaller = (components = []) => {
|
|
|
26182
26204
|
};
|
|
26183
26205
|
};
|
|
26184
26206
|
|
|
26185
|
-
const _hoisted_1$
|
|
26207
|
+
const _hoisted_1$j = { style: { "padding": "5px" } };
|
|
26186
26208
|
const _hoisted_2$d = { style: { "display": "flex", "align-items": "center", "gap": "8px", "flex-wrap": "nowrap", "overflow": "hidden" } };
|
|
26187
26209
|
const _hoisted_3$7 = { style: { "flex": "1 1 200px", "min-width": "0", "overflow": "hidden" } };
|
|
26188
26210
|
const _hoisted_4$4 = { style: { "display": "flex", "align-items": "center", "flex-shrink": "0", "white-space": "nowrap" } };
|
|
26189
26211
|
const _hoisted_5$4 = { style: { "margin-bottom": "45px" } };
|
|
26190
|
-
var _sfc_main$
|
|
26212
|
+
var _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
26191
26213
|
...{
|
|
26192
26214
|
name: "FmTree"
|
|
26193
26215
|
},
|
|
@@ -26381,7 +26403,7 @@ var _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
26381
26403
|
style: { "height": "100%" }
|
|
26382
26404
|
}, {
|
|
26383
26405
|
header: withCtx(() => [
|
|
26384
|
-
createElementVNode("div", _hoisted_1$
|
|
26406
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
26385
26407
|
createElementVNode("div", _hoisted_2$d, [
|
|
26386
26408
|
createElementVNode("div", _hoisted_3$7, [
|
|
26387
26409
|
createVNode(_component_el_input, {
|
|
@@ -26521,7 +26543,132 @@ var _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
26521
26543
|
}
|
|
26522
26544
|
});
|
|
26523
26545
|
|
|
26524
|
-
const FmTree = _sfc_main$
|
|
26546
|
+
const FmTree = _sfc_main$o;
|
|
26547
|
+
|
|
26548
|
+
const _hoisted_1$i = { key: 0 };
|
|
26549
|
+
var _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
26550
|
+
...{
|
|
26551
|
+
name: "FmCascader"
|
|
26552
|
+
},
|
|
26553
|
+
__name: "index",
|
|
26554
|
+
props: /* @__PURE__ */ mergeModels({
|
|
26555
|
+
orgData: {
|
|
26556
|
+
type: Array,
|
|
26557
|
+
default: () => []
|
|
26558
|
+
},
|
|
26559
|
+
cascaderProps: {
|
|
26560
|
+
type: Object,
|
|
26561
|
+
default: () => ({ emitPath: false, value: "id", label: "name", expandTrigger: "hover" })
|
|
26562
|
+
},
|
|
26563
|
+
placeholder: {
|
|
26564
|
+
type: String,
|
|
26565
|
+
default: "\u8BF7\u9009\u62E9\u7236\u8282"
|
|
26566
|
+
},
|
|
26567
|
+
vId: {
|
|
26568
|
+
type: String,
|
|
26569
|
+
default: "opOrgId"
|
|
26570
|
+
},
|
|
26571
|
+
vCmpId: {
|
|
26572
|
+
type: String,
|
|
26573
|
+
default: "opCmpId"
|
|
26574
|
+
},
|
|
26575
|
+
vDetId: {
|
|
26576
|
+
type: String,
|
|
26577
|
+
default: "opDetId"
|
|
26578
|
+
},
|
|
26579
|
+
vGroupId: {
|
|
26580
|
+
type: String,
|
|
26581
|
+
default: "opGroupId"
|
|
26582
|
+
}
|
|
26583
|
+
}, {
|
|
26584
|
+
"modelValue": {},
|
|
26585
|
+
"modelModifiers": {}
|
|
26586
|
+
}),
|
|
26587
|
+
emits: ["update:modelValue"],
|
|
26588
|
+
setup(__props) {
|
|
26589
|
+
const modeValue = useModel(__props, "modelValue");
|
|
26590
|
+
const props = __props;
|
|
26591
|
+
const handelchangeOrg = (val) => {
|
|
26592
|
+
modeValue.value[props.vId] = val;
|
|
26593
|
+
const node = findNode(val);
|
|
26594
|
+
if (node) {
|
|
26595
|
+
if (node.pid == 0) {
|
|
26596
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vCmpId))
|
|
26597
|
+
modeValue.value[props.vCmpId] = node.id;
|
|
26598
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vDetId))
|
|
26599
|
+
modeValue.value[props.vDetId] = 0;
|
|
26600
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vGroupId))
|
|
26601
|
+
modeValue.value[props.vGroupId] = 0;
|
|
26602
|
+
} else if (node.level == 2) {
|
|
26603
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vDetId))
|
|
26604
|
+
modeValue.value[props.vDetId] = node.id;
|
|
26605
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vCmpId))
|
|
26606
|
+
modeValue.value[props.vCmpId] = node.pid;
|
|
26607
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vGroupId))
|
|
26608
|
+
modeValue.value[props.vGroupId] = 0;
|
|
26609
|
+
} else if (node.level == 3) {
|
|
26610
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vGroupId))
|
|
26611
|
+
modeValue.value[props.vGroupId] = node.id;
|
|
26612
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vDetId))
|
|
26613
|
+
modeValue.value[props.vDetId] = node.pid;
|
|
26614
|
+
let top = findNode(node.pid);
|
|
26615
|
+
if (top) {
|
|
26616
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vCmpId))
|
|
26617
|
+
modeValue.value[props.vCmpId] = top.id;
|
|
26618
|
+
}
|
|
26619
|
+
}
|
|
26620
|
+
}
|
|
26621
|
+
};
|
|
26622
|
+
const findNode = (id) => {
|
|
26623
|
+
const search = (nodes) => {
|
|
26624
|
+
var _a;
|
|
26625
|
+
for (const node of nodes) {
|
|
26626
|
+
if (node.id === id) return node;
|
|
26627
|
+
if ((_a = node.children) == null ? void 0 : _a.length) {
|
|
26628
|
+
const found = search(node.children);
|
|
26629
|
+
if (found) return found;
|
|
26630
|
+
}
|
|
26631
|
+
}
|
|
26632
|
+
return null;
|
|
26633
|
+
};
|
|
26634
|
+
return search(props.orgData || []);
|
|
26635
|
+
};
|
|
26636
|
+
return (_ctx, _cache) => {
|
|
26637
|
+
const _component_el_cascader = resolveComponent("el-cascader");
|
|
26638
|
+
return openBlock(), createBlock(_component_el_cascader, {
|
|
26639
|
+
options: props.orgData,
|
|
26640
|
+
props: __props.cascaderProps,
|
|
26641
|
+
placeholder: __props.placeholder,
|
|
26642
|
+
filterable: "",
|
|
26643
|
+
class: "w100",
|
|
26644
|
+
modelValue: modeValue.value[__props.vId],
|
|
26645
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValue.value[__props.vId] = $event),
|
|
26646
|
+
onChange: handelchangeOrg
|
|
26647
|
+
}, {
|
|
26648
|
+
default: withCtx(({ node, data }) => [
|
|
26649
|
+
createElementVNode(
|
|
26650
|
+
"span",
|
|
26651
|
+
null,
|
|
26652
|
+
toDisplayString(node.label),
|
|
26653
|
+
1
|
|
26654
|
+
/* TEXT */
|
|
26655
|
+
),
|
|
26656
|
+
!node.isLeaf ? (openBlock(), createElementBlock(
|
|
26657
|
+
"span",
|
|
26658
|
+
_hoisted_1$i,
|
|
26659
|
+
" (" + toDisplayString(data.children.length) + ") ",
|
|
26660
|
+
1
|
|
26661
|
+
/* TEXT */
|
|
26662
|
+
)) : createCommentVNode("v-if", true)
|
|
26663
|
+
]),
|
|
26664
|
+
_: 1
|
|
26665
|
+
/* STABLE */
|
|
26666
|
+
}, 8, ["options", "props", "placeholder", "modelValue"]);
|
|
26667
|
+
};
|
|
26668
|
+
}
|
|
26669
|
+
});
|
|
26670
|
+
|
|
26671
|
+
const FmCascader = _sfc_main$n;
|
|
26525
26672
|
|
|
26526
26673
|
const plugins = [
|
|
26527
26674
|
FButton,
|
|
@@ -26536,7 +26683,8 @@ const plugins = [
|
|
|
26536
26683
|
FLayout,
|
|
26537
26684
|
FSettings,
|
|
26538
26685
|
FModifyRecord,
|
|
26539
|
-
FmTree
|
|
26686
|
+
FmTree,
|
|
26687
|
+
FmCascader
|
|
26540
26688
|
];
|
|
26541
26689
|
|
|
26542
26690
|
var installer = makeInstaller([...plugins]);
|
|
@@ -30406,4 +30554,4 @@ var upgradeInfo = /*#__PURE__*/Object.freeze({
|
|
|
30406
30554
|
default: _sfc_main
|
|
30407
30555
|
});
|
|
30408
30556
|
|
|
30409
|
-
export { AccountTypeEnum, AppSysTypeData, AppSysTypeEnum, HttpMethodEnum, JobCreateTypeEnum, Local, NextLoading, Session, StringToObj, watermark as Watermark, accessTokenKey, auth, authAll, auths, axiosInstance, base64ToFile, blobToFile, buildLocaleContext, buildTranslator, cancelAllRequest, cancelRequest, clearAccessTokens, clearTokens, clone, commonFun, commonFunction, dataURLtoBlob, decryptJWT, installer as default, destroyIdleTimeout, downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, downloadStreamFile, en, exportExcel, feature, fileToBase64, flowLoading, formatAxis, formatDate, formatPast, gcj02ToBd09, getCountryCode, getFileName, getFileUrl, getHeader, getJWTDate, getToken, getWeek, getlimit, getpower, 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, signalR, signatureByKSort, sleep, tansParams, tenantId, translate, updateFavicon, updateIdleTimeout, urlToBase64, useApi, useBaseApi, useChangeColor, useDateTimeShortCust, useFormEvents, useFormRulePresets, useKeepALiveNames, useLocale, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, 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 };
|
|
30557
|
+
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, commonFun, commonFunction, dataURLtoBlob, decryptJWT, installer as default, destroyIdleTimeout, downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, downloadStreamFile, en, exportExcel, feature, fileToBase64, flowLoading, formatAxis, formatDate, formatPast, gcj02ToBd09, getCountryCode, getFileName, getFileUrl, getHeader, getJWTDate, getToken, getWeek, getlimit, getpower, 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, signalR, signatureByKSort, sleep, tansParams, tenantId, translate, updateFavicon, updateIdleTimeout, urlToBase64, useApi, useBaseApi, useChangeColor, useDateTimeShortCust, useFormEvents, useFormRulePresets, useKeepALiveNames, useLocale, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, 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
|
@@ -15,6 +15,7 @@ var index$9 = require('./packages/components/fm-layout/index.js');
|
|
|
15
15
|
var index$a = require('./packages/components/fm-settings/index.js');
|
|
16
16
|
var index$b = require('./packages/components/modifyRecord/index.js');
|
|
17
17
|
var index$c = require('./packages/components/fmtree/index.js');
|
|
18
|
+
var index$d = require('./packages/components/fmcascader/index.js');
|
|
18
19
|
|
|
19
20
|
const plugins = [
|
|
20
21
|
index.FButton,
|
|
@@ -29,7 +30,8 @@ const plugins = [
|
|
|
29
30
|
index$9.FLayout,
|
|
30
31
|
index$a.FSettings,
|
|
31
32
|
index$b.FModifyRecord,
|
|
32
|
-
index$c.FmTree
|
|
33
|
+
index$c.FmTree,
|
|
34
|
+
index$d.FmCascader
|
|
33
35
|
];
|
|
34
36
|
|
|
35
37
|
exports.default = plugins;
|