@fmdeui/fmui 1.0.75 → 1.0.77
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/fmcascader/index.d.ts +116 -0
- package/es/components/fmcascader/index.vue.d.ts +117 -0
- package/es/hooks/useInfo.d.ts +15 -0
- package/es/index.mjs +1 -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 +128 -0
- package/es/packages/hooks/index.mjs +1 -1
- package/es/packages/hooks/useInfo.mjs +13 -1
- package/index.js +204 -61
- package/index.min.js +6 -6
- package/index.min.mjs +7 -7
- package/index.mjs +202 -62
- package/lib/component.js +3 -1
- package/lib/components/fmcascader/index.d.ts +116 -0
- package/lib/components/fmcascader/index.vue.d.ts +117 -0
- package/lib/hooks/useInfo.d.ts +15 -0
- package/lib/index.js +23 -20
- 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 +132 -0
- package/lib/packages/hooks/index.js +3 -0
- package/lib/packages/hooks/useInfo.js +15 -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/{index.css → component.css} +0 -0
- /package/lib/{index.css → version.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.77 */
|
|
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';
|
|
@@ -19777,7 +19777,7 @@ const setupVXETable = (app) => {
|
|
|
19777
19777
|
app.use(VxeUITable);
|
|
19778
19778
|
};
|
|
19779
19779
|
|
|
19780
|
-
var _sfc_main$
|
|
19780
|
+
var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
19781
19781
|
...{
|
|
19782
19782
|
name: "FButton"
|
|
19783
19783
|
},
|
|
@@ -19847,7 +19847,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
19847
19847
|
}
|
|
19848
19848
|
});
|
|
19849
19849
|
|
|
19850
|
-
const FButton = _sfc_main$
|
|
19850
|
+
const FButton = _sfc_main$G;
|
|
19851
19851
|
|
|
19852
19852
|
const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
|
|
19853
19853
|
const translate = (path, option, locale) => get(locale, path, path).replace(
|
|
@@ -20302,6 +20302,18 @@ const orgName = () => {
|
|
|
20302
20302
|
var _a;
|
|
20303
20303
|
return (_a = _getUserInfo()) == null ? void 0 : _a.orgName;
|
|
20304
20304
|
};
|
|
20305
|
+
const cmpId = () => {
|
|
20306
|
+
var _a;
|
|
20307
|
+
return (_a = _getUserInfo()) == null ? void 0 : _a.cmpId;
|
|
20308
|
+
};
|
|
20309
|
+
const depId = () => {
|
|
20310
|
+
var _a;
|
|
20311
|
+
return (_a = _getUserInfo()) == null ? void 0 : _a.depId;
|
|
20312
|
+
};
|
|
20313
|
+
const groupId = () => {
|
|
20314
|
+
var _a;
|
|
20315
|
+
return (_a = _getUserInfo()) == null ? void 0 : _a.groupId;
|
|
20316
|
+
};
|
|
20305
20317
|
const posId = () => {
|
|
20306
20318
|
var _a;
|
|
20307
20319
|
return (_a = _getUserInfo()) == null ? void 0 : _a.posId;
|
|
@@ -20418,9 +20430,9 @@ function getlimit(value) {
|
|
|
20418
20430
|
return null;
|
|
20419
20431
|
}
|
|
20420
20432
|
|
|
20421
|
-
const _hoisted_1$
|
|
20433
|
+
const _hoisted_1$s = { key: 0 };
|
|
20422
20434
|
const _hoisted_2$i = { key: 0 };
|
|
20423
|
-
var _sfc_main$
|
|
20435
|
+
var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
20424
20436
|
...{
|
|
20425
20437
|
name: "FInput"
|
|
20426
20438
|
},
|
|
@@ -20627,7 +20639,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
20627
20639
|
fn: withCtx(() => [
|
|
20628
20640
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
20629
20641
|
"span",
|
|
20630
|
-
_hoisted_1$
|
|
20642
|
+
_hoisted_1$s,
|
|
20631
20643
|
toDisplayString(appendTitleText.value),
|
|
20632
20644
|
1
|
|
20633
20645
|
/* TEXT */
|
|
@@ -20673,13 +20685,13 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
20673
20685
|
}
|
|
20674
20686
|
});
|
|
20675
20687
|
|
|
20676
|
-
const FInput = _sfc_main$
|
|
20688
|
+
const FInput = _sfc_main$F;
|
|
20677
20689
|
|
|
20678
|
-
const _hoisted_1$
|
|
20690
|
+
const _hoisted_1$r = {
|
|
20679
20691
|
key: 0,
|
|
20680
20692
|
class: "back_to_top"
|
|
20681
20693
|
};
|
|
20682
|
-
var _sfc_main$
|
|
20694
|
+
var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
20683
20695
|
...{
|
|
20684
20696
|
name: "FLayoutPage"
|
|
20685
20697
|
},
|
|
@@ -20741,7 +20753,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
20741
20753
|
},
|
|
20742
20754
|
[
|
|
20743
20755
|
renderSlot(_ctx.$slots, "default"),
|
|
20744
|
-
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
20756
|
+
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
20745
20757
|
isShowGoTopButton.value ? (openBlock(), createElementBlock("div", {
|
|
20746
20758
|
key: 0,
|
|
20747
20759
|
onClick: backToTop
|
|
@@ -20769,9 +20781,9 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
20769
20781
|
}
|
|
20770
20782
|
});
|
|
20771
20783
|
|
|
20772
|
-
const FLayoutPage = _sfc_main$
|
|
20784
|
+
const FLayoutPage = _sfc_main$E;
|
|
20773
20785
|
|
|
20774
|
-
var _sfc_main$
|
|
20786
|
+
var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
20775
20787
|
...{
|
|
20776
20788
|
name: "FLayoutPageItem"
|
|
20777
20789
|
},
|
|
@@ -20799,7 +20811,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
20799
20811
|
}
|
|
20800
20812
|
});
|
|
20801
20813
|
|
|
20802
|
-
const FLayoutPageItem = _sfc_main$
|
|
20814
|
+
const FLayoutPageItem = _sfc_main$D;
|
|
20803
20815
|
|
|
20804
20816
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
20805
20817
|
let timer = null;
|
|
@@ -20842,8 +20854,8 @@ function toLine(name) {
|
|
|
20842
20854
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
20843
20855
|
}
|
|
20844
20856
|
|
|
20845
|
-
const _hoisted_1$
|
|
20846
|
-
var _sfc_main$
|
|
20857
|
+
const _hoisted_1$q = ["id"];
|
|
20858
|
+
var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
20847
20859
|
...{
|
|
20848
20860
|
name: "FChart"
|
|
20849
20861
|
},
|
|
@@ -20927,7 +20939,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
20927
20939
|
id: __props.id,
|
|
20928
20940
|
ref_key: "echartRef",
|
|
20929
20941
|
ref: echartRef
|
|
20930
|
-
}, null, 8, _hoisted_1$
|
|
20942
|
+
}, null, 8, _hoisted_1$q), [
|
|
20931
20943
|
[vShow, !formatEmpty.value]
|
|
20932
20944
|
]),
|
|
20933
20945
|
formatEmpty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -20942,13 +20954,13 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
20942
20954
|
}
|
|
20943
20955
|
});
|
|
20944
20956
|
|
|
20945
|
-
const FChart = _sfc_main$
|
|
20957
|
+
const FChart = _sfc_main$C;
|
|
20946
20958
|
|
|
20947
|
-
const _hoisted_1$
|
|
20959
|
+
const _hoisted_1$p = {
|
|
20948
20960
|
key: 1,
|
|
20949
20961
|
class: "f_select__pagination"
|
|
20950
20962
|
};
|
|
20951
|
-
var _sfc_main$
|
|
20963
|
+
var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
20952
20964
|
...{
|
|
20953
20965
|
name: "FSelect"
|
|
20954
20966
|
},
|
|
@@ -21161,7 +21173,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
21161
21173
|
128
|
|
21162
21174
|
/* KEYED_FRAGMENT */
|
|
21163
21175
|
)),
|
|
21164
|
-
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21176
|
+
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
21165
21177
|
createVNode(_component_el_pagination, mergeProps({
|
|
21166
21178
|
"current-page": __props.paginationOption.currentPage,
|
|
21167
21179
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -21199,9 +21211,9 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
21199
21211
|
}
|
|
21200
21212
|
});
|
|
21201
21213
|
|
|
21202
|
-
const FSelect = _sfc_main$
|
|
21214
|
+
const FSelect = _sfc_main$B;
|
|
21203
21215
|
|
|
21204
|
-
var _sfc_main$
|
|
21216
|
+
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
21205
21217
|
...{
|
|
21206
21218
|
name: "RenderComp"
|
|
21207
21219
|
},
|
|
@@ -21221,12 +21233,12 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
21221
21233
|
}
|
|
21222
21234
|
});
|
|
21223
21235
|
|
|
21224
|
-
const _hoisted_1$
|
|
21236
|
+
const _hoisted_1$o = { class: "inside_box" };
|
|
21225
21237
|
const _hoisted_2$h = { class: "inside_box_title" };
|
|
21226
21238
|
const _hoisted_3$a = { class: "check-box" };
|
|
21227
21239
|
const _hoisted_4$7 = { class: "more_dropdown_icon" };
|
|
21228
21240
|
const _hoisted_5$6 = { class: "out_box" };
|
|
21229
|
-
var _sfc_main$
|
|
21241
|
+
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
21230
21242
|
...{
|
|
21231
21243
|
name: "MoreChoose"
|
|
21232
21244
|
},
|
|
@@ -21364,7 +21376,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
21364
21376
|
])
|
|
21365
21377
|
]),
|
|
21366
21378
|
default: withCtx(() => [
|
|
21367
|
-
createElementVNode("div", _hoisted_1$
|
|
21379
|
+
createElementVNode("div", _hoisted_1$o, [
|
|
21368
21380
|
createElementVNode("div", _hoisted_2$h, [
|
|
21369
21381
|
createElementVNode(
|
|
21370
21382
|
"div",
|
|
@@ -21541,7 +21553,7 @@ function useComputed() {
|
|
|
21541
21553
|
};
|
|
21542
21554
|
}
|
|
21543
21555
|
|
|
21544
|
-
var _sfc_main$
|
|
21556
|
+
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
21545
21557
|
...{
|
|
21546
21558
|
name: "FQueryCondition"
|
|
21547
21559
|
},
|
|
@@ -21960,7 +21972,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
21960
21972
|
opt.labelRender ? {
|
|
21961
21973
|
name: "label",
|
|
21962
21974
|
fn: withCtx(() => [
|
|
21963
|
-
createVNode(_sfc_main$
|
|
21975
|
+
createVNode(_sfc_main$A, {
|
|
21964
21976
|
form: unref(queryState).form,
|
|
21965
21977
|
render: opt.labelRender
|
|
21966
21978
|
}, null, 8, ["form", "render"])
|
|
@@ -22056,7 +22068,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
22056
22068
|
_: 1
|
|
22057
22069
|
/* STABLE */
|
|
22058
22070
|
})) : createCommentVNode("v-if", true),
|
|
22059
|
-
createVNode(_sfc_main$
|
|
22071
|
+
createVNode(_sfc_main$z, {
|
|
22060
22072
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22061
22073
|
moreCheckList: __props.moreCheckList,
|
|
22062
22074
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22082,7 +22094,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
22082
22094
|
}
|
|
22083
22095
|
});
|
|
22084
22096
|
|
|
22085
|
-
var _sfc_main$
|
|
22097
|
+
var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
22086
22098
|
...{
|
|
22087
22099
|
name: "RenderCol"
|
|
22088
22100
|
},
|
|
@@ -22238,7 +22250,7 @@ function useVirtualized() {
|
|
|
22238
22250
|
};
|
|
22239
22251
|
}
|
|
22240
22252
|
|
|
22241
|
-
const _hoisted_1$
|
|
22253
|
+
const _hoisted_1$n = {
|
|
22242
22254
|
key: 0,
|
|
22243
22255
|
class: "table_query_condition"
|
|
22244
22256
|
};
|
|
@@ -22248,7 +22260,7 @@ const _hoisted_4$6 = {
|
|
|
22248
22260
|
key: 0,
|
|
22249
22261
|
class: "f-table-select__page"
|
|
22250
22262
|
};
|
|
22251
|
-
var _sfc_main$
|
|
22263
|
+
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
22252
22264
|
...{
|
|
22253
22265
|
name: "FSelectTable"
|
|
22254
22266
|
},
|
|
@@ -22870,9 +22882,9 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
22870
22882
|
style: normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
22871
22883
|
},
|
|
22872
22884
|
[
|
|
22873
|
-
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22885
|
+
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
22874
22886
|
createVNode(
|
|
22875
|
-
_sfc_main$
|
|
22887
|
+
_sfc_main$y,
|
|
22876
22888
|
mergeProps({
|
|
22877
22889
|
ref_key: "fQueryConditionRef",
|
|
22878
22890
|
ref: fQueryConditionRef,
|
|
@@ -22998,7 +23010,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
22998
23010
|
fixed: item.fixed
|
|
22999
23011
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23000
23012
|
default: withCtx((scope) => [
|
|
23001
|
-
item.render ? (openBlock(), createBlock(_sfc_main$
|
|
23013
|
+
item.render ? (openBlock(), createBlock(_sfc_main$x, {
|
|
23002
23014
|
key: 0,
|
|
23003
23015
|
column: item,
|
|
23004
23016
|
row: scope.row,
|
|
@@ -23061,11 +23073,11 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
23061
23073
|
}
|
|
23062
23074
|
});
|
|
23063
23075
|
|
|
23064
|
-
const FSelectTable = _sfc_main$
|
|
23076
|
+
const FSelectTable = _sfc_main$w;
|
|
23065
23077
|
|
|
23066
|
-
const FQueryCondition = _sfc_main$
|
|
23078
|
+
const FQueryCondition = _sfc_main$y;
|
|
23067
23079
|
|
|
23068
|
-
var _sfc_main$
|
|
23080
|
+
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
23069
23081
|
...{
|
|
23070
23082
|
name: "RenderComp"
|
|
23071
23083
|
},
|
|
@@ -23085,7 +23097,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
23085
23097
|
}
|
|
23086
23098
|
});
|
|
23087
23099
|
|
|
23088
|
-
var _sfc_main$
|
|
23100
|
+
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
23089
23101
|
...{
|
|
23090
23102
|
name: "RenderBtn"
|
|
23091
23103
|
},
|
|
@@ -23105,12 +23117,12 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
23105
23117
|
}
|
|
23106
23118
|
});
|
|
23107
23119
|
|
|
23108
|
-
const _hoisted_1$
|
|
23120
|
+
const _hoisted_1$m = {
|
|
23109
23121
|
key: 1,
|
|
23110
23122
|
class: "text_show"
|
|
23111
23123
|
};
|
|
23112
23124
|
const _hoisted_2$f = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23113
|
-
var _sfc_main$
|
|
23125
|
+
var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
23114
23126
|
...{
|
|
23115
23127
|
name: "FForm"
|
|
23116
23128
|
},
|
|
@@ -23361,7 +23373,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
23361
23373
|
}) : createCommentVNode("v-if", true),
|
|
23362
23374
|
item.textShow ? (openBlock(), createElementBlock(
|
|
23363
23375
|
"span",
|
|
23364
|
-
_hoisted_1$
|
|
23376
|
+
_hoisted_1$m,
|
|
23365
23377
|
toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
23366
23378
|
1
|
|
23367
23379
|
/* TEXT */
|
|
@@ -23481,7 +23493,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
23481
23493
|
item.labelSlotName || item.labelRender ? {
|
|
23482
23494
|
name: "label",
|
|
23483
23495
|
fn: withCtx(() => [
|
|
23484
|
-
item.labelRender ? (openBlock(), createBlock(_sfc_main$
|
|
23496
|
+
item.labelRender ? (openBlock(), createBlock(_sfc_main$v, {
|
|
23485
23497
|
key: 0,
|
|
23486
23498
|
render: item.labelRender,
|
|
23487
23499
|
item
|
|
@@ -23513,7 +23525,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
23513
23525
|
Fragment,
|
|
23514
23526
|
null,
|
|
23515
23527
|
[
|
|
23516
|
-
val.render ? (openBlock(), createBlock(_sfc_main$
|
|
23528
|
+
val.render ? (openBlock(), createBlock(_sfc_main$u, {
|
|
23517
23529
|
key: index,
|
|
23518
23530
|
item: val,
|
|
23519
23531
|
render: val.render
|
|
@@ -23560,10 +23572,10 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
23560
23572
|
}
|
|
23561
23573
|
});
|
|
23562
23574
|
|
|
23563
|
-
const FForm = _sfc_main$
|
|
23575
|
+
const FForm = _sfc_main$t;
|
|
23564
23576
|
|
|
23565
|
-
const _hoisted_1$
|
|
23566
|
-
var _sfc_main$
|
|
23577
|
+
const _hoisted_1$l = ["src"];
|
|
23578
|
+
var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
23567
23579
|
...{
|
|
23568
23580
|
name: "svgIcon"
|
|
23569
23581
|
},
|
|
@@ -23634,7 +23646,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
23634
23646
|
createElementVNode("img", {
|
|
23635
23647
|
src: getIconName.value,
|
|
23636
23648
|
style: normalizeStyle(setIconSvgInsStyle.value)
|
|
23637
|
-
}, null, 12, _hoisted_1$
|
|
23649
|
+
}, null, 12, _hoisted_1$l)
|
|
23638
23650
|
],
|
|
23639
23651
|
4
|
|
23640
23652
|
/* STYLE */
|
|
@@ -23661,13 +23673,13 @@ function elSvg(app) {
|
|
|
23661
23673
|
}
|
|
23662
23674
|
}
|
|
23663
23675
|
if (!app._context.components[`SvgIcon`]) {
|
|
23664
|
-
app.component("SvgIcon", _sfc_main$
|
|
23676
|
+
app.component("SvgIcon", _sfc_main$s);
|
|
23665
23677
|
}
|
|
23666
23678
|
}
|
|
23667
23679
|
|
|
23668
23680
|
const emitter = mitt();
|
|
23669
23681
|
|
|
23670
|
-
var _sfc_main$
|
|
23682
|
+
var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
23671
23683
|
...{
|
|
23672
23684
|
name: "FLayout"
|
|
23673
23685
|
},
|
|
@@ -23753,7 +23765,7 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
23753
23765
|
}
|
|
23754
23766
|
});
|
|
23755
23767
|
|
|
23756
|
-
const FLayout = _sfc_main$
|
|
23768
|
+
const FLayout = _sfc_main$r;
|
|
23757
23769
|
|
|
23758
23770
|
function commonFunction() {
|
|
23759
23771
|
const { copy, isSupported } = useClipboard();
|
|
@@ -24030,7 +24042,7 @@ const other = {
|
|
|
24030
24042
|
// },
|
|
24031
24043
|
};
|
|
24032
24044
|
|
|
24033
|
-
const _hoisted_1$
|
|
24045
|
+
const _hoisted_1$k = { class: "layout-breadcrumb-seting" };
|
|
24034
24046
|
const _hoisted_2$e = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24035
24047
|
const _hoisted_3$8 = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24036
24048
|
const _hoisted_4$5 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
@@ -24155,7 +24167,7 @@ const _hoisted_119 = {
|
|
|
24155
24167
|
class: "traditionalColors-chines",
|
|
24156
24168
|
style: { "cursor": "grab", "color": "gray" }
|
|
24157
24169
|
};
|
|
24158
|
-
var _sfc_main$
|
|
24170
|
+
var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
24159
24171
|
...{
|
|
24160
24172
|
name: "FSettings"
|
|
24161
24173
|
},
|
|
@@ -24419,7 +24431,7 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
24419
24431
|
const _component_el_col = resolveComponent("el-col");
|
|
24420
24432
|
const _component_el_row = resolveComponent("el-row");
|
|
24421
24433
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
24422
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24434
|
+
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
24423
24435
|
createVNode(_component_el_drawer, {
|
|
24424
24436
|
title: _ctx.$t("message.layout.configTitle"),
|
|
24425
24437
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -25918,9 +25930,9 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
25918
25930
|
}
|
|
25919
25931
|
});
|
|
25920
25932
|
|
|
25921
|
-
const FSettings = _sfc_main$
|
|
25933
|
+
const FSettings = _sfc_main$q;
|
|
25922
25934
|
|
|
25923
|
-
var _sfc_main$
|
|
25935
|
+
var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
25924
25936
|
...{
|
|
25925
25937
|
name: "FModifyRecord"
|
|
25926
25938
|
},
|
|
@@ -26183,7 +26195,7 @@ var _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
26183
26195
|
}
|
|
26184
26196
|
});
|
|
26185
26197
|
|
|
26186
|
-
const FModifyRecord = _sfc_main$
|
|
26198
|
+
const FModifyRecord = _sfc_main$p;
|
|
26187
26199
|
|
|
26188
26200
|
const makeInstaller = (components = []) => {
|
|
26189
26201
|
const install = (app) => {
|
|
@@ -26204,12 +26216,12 @@ const makeInstaller = (components = []) => {
|
|
|
26204
26216
|
};
|
|
26205
26217
|
};
|
|
26206
26218
|
|
|
26207
|
-
const _hoisted_1$
|
|
26219
|
+
const _hoisted_1$j = { style: { "padding": "5px" } };
|
|
26208
26220
|
const _hoisted_2$d = { style: { "display": "flex", "align-items": "center", "gap": "8px", "flex-wrap": "nowrap", "overflow": "hidden" } };
|
|
26209
26221
|
const _hoisted_3$7 = { style: { "flex": "1 1 200px", "min-width": "0", "overflow": "hidden" } };
|
|
26210
26222
|
const _hoisted_4$4 = { style: { "display": "flex", "align-items": "center", "flex-shrink": "0", "white-space": "nowrap" } };
|
|
26211
26223
|
const _hoisted_5$4 = { style: { "margin-bottom": "45px" } };
|
|
26212
|
-
var _sfc_main$
|
|
26224
|
+
var _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
26213
26225
|
...{
|
|
26214
26226
|
name: "FmTree"
|
|
26215
26227
|
},
|
|
@@ -26403,7 +26415,7 @@ var _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
26403
26415
|
style: { "height": "100%" }
|
|
26404
26416
|
}, {
|
|
26405
26417
|
header: withCtx(() => [
|
|
26406
|
-
createElementVNode("div", _hoisted_1$
|
|
26418
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
26407
26419
|
createElementVNode("div", _hoisted_2$d, [
|
|
26408
26420
|
createElementVNode("div", _hoisted_3$7, [
|
|
26409
26421
|
createVNode(_component_el_input, {
|
|
@@ -26543,7 +26555,134 @@ var _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
26543
26555
|
}
|
|
26544
26556
|
});
|
|
26545
26557
|
|
|
26546
|
-
const FmTree = _sfc_main$
|
|
26558
|
+
const FmTree = _sfc_main$o;
|
|
26559
|
+
|
|
26560
|
+
const _hoisted_1$i = { key: 0 };
|
|
26561
|
+
var _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
26562
|
+
...{
|
|
26563
|
+
name: "FmCascader"
|
|
26564
|
+
},
|
|
26565
|
+
__name: "index",
|
|
26566
|
+
props: /* @__PURE__ */ mergeModels({
|
|
26567
|
+
orgData: {
|
|
26568
|
+
type: Array,
|
|
26569
|
+
default: () => []
|
|
26570
|
+
},
|
|
26571
|
+
cascaderProps: {
|
|
26572
|
+
type: Object,
|
|
26573
|
+
default: () => ({ emitPath: false, value: "id", label: "name", expandTrigger: "hover" })
|
|
26574
|
+
},
|
|
26575
|
+
placeholder: {
|
|
26576
|
+
type: String,
|
|
26577
|
+
default: "\u8BF7\u9009\u62E9\u7236\u8282"
|
|
26578
|
+
},
|
|
26579
|
+
vId: {
|
|
26580
|
+
type: String,
|
|
26581
|
+
default: "opOrgId"
|
|
26582
|
+
},
|
|
26583
|
+
vCmpId: {
|
|
26584
|
+
type: String,
|
|
26585
|
+
default: "opCmpId"
|
|
26586
|
+
},
|
|
26587
|
+
vDetId: {
|
|
26588
|
+
type: String,
|
|
26589
|
+
default: "opDetId"
|
|
26590
|
+
},
|
|
26591
|
+
vGroupId: {
|
|
26592
|
+
type: String,
|
|
26593
|
+
default: "opGroupId"
|
|
26594
|
+
}
|
|
26595
|
+
}, {
|
|
26596
|
+
"modelValue": {},
|
|
26597
|
+
"modelModifiers": {}
|
|
26598
|
+
}),
|
|
26599
|
+
emits: /* @__PURE__ */ mergeModels(["change"], ["update:modelValue"]),
|
|
26600
|
+
setup(__props, { emit: __emit }) {
|
|
26601
|
+
const modeValue = useModel(__props, "modelValue");
|
|
26602
|
+
const emit = __emit;
|
|
26603
|
+
const props = __props;
|
|
26604
|
+
const handelchangeOrg = (val) => {
|
|
26605
|
+
modeValue.value[props.vId] = val;
|
|
26606
|
+
const node = findNode(val);
|
|
26607
|
+
if (node) {
|
|
26608
|
+
if (node.pid == 0) {
|
|
26609
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vCmpId))
|
|
26610
|
+
modeValue.value[props.vCmpId] = node.id;
|
|
26611
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vDetId))
|
|
26612
|
+
modeValue.value[props.vDetId] = 0;
|
|
26613
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vGroupId))
|
|
26614
|
+
modeValue.value[props.vGroupId] = 0;
|
|
26615
|
+
} else if (node.level == 2) {
|
|
26616
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vDetId))
|
|
26617
|
+
modeValue.value[props.vDetId] = node.id;
|
|
26618
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vCmpId))
|
|
26619
|
+
modeValue.value[props.vCmpId] = node.pid;
|
|
26620
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vGroupId))
|
|
26621
|
+
modeValue.value[props.vGroupId] = 0;
|
|
26622
|
+
} else if (node.level == 3) {
|
|
26623
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vGroupId))
|
|
26624
|
+
modeValue.value[props.vGroupId] = node.id;
|
|
26625
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vDetId))
|
|
26626
|
+
modeValue.value[props.vDetId] = node.pid;
|
|
26627
|
+
let top = findNode(node.pid);
|
|
26628
|
+
if (top) {
|
|
26629
|
+
if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vCmpId))
|
|
26630
|
+
modeValue.value[props.vCmpId] = top.id;
|
|
26631
|
+
}
|
|
26632
|
+
}
|
|
26633
|
+
}
|
|
26634
|
+
emit("change", node);
|
|
26635
|
+
};
|
|
26636
|
+
const findNode = (id) => {
|
|
26637
|
+
const search = (nodes) => {
|
|
26638
|
+
var _a;
|
|
26639
|
+
for (const node of nodes) {
|
|
26640
|
+
if (node.id === id) return node;
|
|
26641
|
+
if ((_a = node.children) == null ? void 0 : _a.length) {
|
|
26642
|
+
const found = search(node.children);
|
|
26643
|
+
if (found) return found;
|
|
26644
|
+
}
|
|
26645
|
+
}
|
|
26646
|
+
return null;
|
|
26647
|
+
};
|
|
26648
|
+
return search(props.orgData || []);
|
|
26649
|
+
};
|
|
26650
|
+
return (_ctx, _cache) => {
|
|
26651
|
+
const _component_el_cascader = resolveComponent("el-cascader");
|
|
26652
|
+
return openBlock(), createBlock(_component_el_cascader, {
|
|
26653
|
+
options: props.orgData,
|
|
26654
|
+
props: __props.cascaderProps,
|
|
26655
|
+
placeholder: __props.placeholder,
|
|
26656
|
+
filterable: "",
|
|
26657
|
+
class: "w100",
|
|
26658
|
+
modelValue: modeValue.value[__props.vId],
|
|
26659
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValue.value[__props.vId] = $event),
|
|
26660
|
+
onChange: handelchangeOrg
|
|
26661
|
+
}, {
|
|
26662
|
+
default: withCtx(({ node, data }) => [
|
|
26663
|
+
createElementVNode(
|
|
26664
|
+
"span",
|
|
26665
|
+
null,
|
|
26666
|
+
toDisplayString(node.label),
|
|
26667
|
+
1
|
|
26668
|
+
/* TEXT */
|
|
26669
|
+
),
|
|
26670
|
+
!node.isLeaf ? (openBlock(), createElementBlock(
|
|
26671
|
+
"span",
|
|
26672
|
+
_hoisted_1$i,
|
|
26673
|
+
" (" + toDisplayString(data.children.length) + ") ",
|
|
26674
|
+
1
|
|
26675
|
+
/* TEXT */
|
|
26676
|
+
)) : createCommentVNode("v-if", true)
|
|
26677
|
+
]),
|
|
26678
|
+
_: 1
|
|
26679
|
+
/* STABLE */
|
|
26680
|
+
}, 8, ["options", "props", "placeholder", "modelValue"]);
|
|
26681
|
+
};
|
|
26682
|
+
}
|
|
26683
|
+
});
|
|
26684
|
+
|
|
26685
|
+
const FmCascader = _sfc_main$n;
|
|
26547
26686
|
|
|
26548
26687
|
const plugins = [
|
|
26549
26688
|
FButton,
|
|
@@ -26558,7 +26697,8 @@ const plugins = [
|
|
|
26558
26697
|
FLayout,
|
|
26559
26698
|
FSettings,
|
|
26560
26699
|
FModifyRecord,
|
|
26561
|
-
FmTree
|
|
26700
|
+
FmTree,
|
|
26701
|
+
FmCascader
|
|
26562
26702
|
];
|
|
26563
26703
|
|
|
26564
26704
|
var installer = makeInstaller([...plugins]);
|
|
@@ -30428,4 +30568,4 @@ var upgradeInfo = /*#__PURE__*/Object.freeze({
|
|
|
30428
30568
|
default: _sfc_main
|
|
30429
30569
|
});
|
|
30430
30570
|
|
|
30431
|
-
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 };
|
|
30571
|
+
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, getHeader, getJWTDate, 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, 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/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;
|