@fmdeui/fmui 1.0.173 → 1.0.174
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/components/fm-tooltip/index.d.ts +89 -33
- package/es/components/fm-tooltip/index.vue.d.ts +16 -1
- package/es/packages/components/fm-tooltip/index2.vue.mjs +12 -8
- package/es/packages/stores/thepagefromdata.mjs +8 -2
- package/es/stores/thepagefromdata.d.ts +7 -4
- package/index.js +48 -38
- package/index.min.js +6 -6
- package/index.min.mjs +6 -6
- package/index.mjs +48 -38
- package/lib/components/fm-tooltip/index.d.ts +89 -33
- package/lib/components/fm-tooltip/index.vue.d.ts +16 -1
- package/lib/packages/components/fm-tooltip/index2.vue.js +11 -7
- package/lib/packages/stores/thepagefromdata.js +8 -2
- package/lib/stores/thepagefromdata.d.ts +7 -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 → index.css} +0 -0
- /package/lib/{defaults.css → index.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.174 */
|
|
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';
|
|
@@ -4096,11 +4096,15 @@ const usefminputdropdownstore = defineStore("fminputdropdownstore", () => {
|
|
|
4096
4096
|
|
|
4097
4097
|
const usefmPageFormDatatore = defineStore("fmPageFormDatatore", () => {
|
|
4098
4098
|
const state = reactive({
|
|
4099
|
-
formData: {}
|
|
4099
|
+
formData: {},
|
|
4100
|
+
currentBizType: ""
|
|
4100
4101
|
});
|
|
4101
4102
|
const setFormData = (data, bizType = "basefrom") => {
|
|
4102
4103
|
state.formData[bizType] = data;
|
|
4103
4104
|
};
|
|
4105
|
+
const setCurrentBizType = (bizType = "") => {
|
|
4106
|
+
state.currentBizType = bizType;
|
|
4107
|
+
};
|
|
4104
4108
|
const getFormData = (bizType = "basefrom") => {
|
|
4105
4109
|
return state.formData[bizType];
|
|
4106
4110
|
};
|
|
@@ -4110,8 +4114,9 @@ const usefmPageFormDatatore = defineStore("fmPageFormDatatore", () => {
|
|
|
4110
4114
|
const clearAllFormData = () => {
|
|
4111
4115
|
state.formData = {};
|
|
4112
4116
|
};
|
|
4113
|
-
const getLableLogData = (table, field, bizid,
|
|
4117
|
+
const getLableLogData = (table, field, bizid, bizinType = "basefrom") => {
|
|
4114
4118
|
const resultLogData = [];
|
|
4119
|
+
const bizType = state.currentBizType != "" ? state.currentBizType : bizinType;
|
|
4115
4120
|
if (state.formData[bizType]) {
|
|
4116
4121
|
state.formData[bizType].forEach((item) => {
|
|
4117
4122
|
var _a, _b;
|
|
@@ -4131,6 +4136,7 @@ const usefmPageFormDatatore = defineStore("fmPageFormDatatore", () => {
|
|
|
4131
4136
|
return resultLogData;
|
|
4132
4137
|
};
|
|
4133
4138
|
return {
|
|
4139
|
+
setCurrentBizType,
|
|
4134
4140
|
setFormData,
|
|
4135
4141
|
getFormData,
|
|
4136
4142
|
clearFormData,
|
|
@@ -21278,7 +21284,7 @@ function getPageSetting(field, defaultValue = "", flag = "main") {
|
|
|
21278
21284
|
}
|
|
21279
21285
|
|
|
21280
21286
|
const _hoisted_1$F = { key: 0 };
|
|
21281
|
-
const _hoisted_2$
|
|
21287
|
+
const _hoisted_2$s = { key: 0 };
|
|
21282
21288
|
var _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
21283
21289
|
...{
|
|
21284
21290
|
name: "FInput"
|
|
@@ -21519,7 +21525,7 @@ var _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
21519
21525
|
fn: withCtx(() => [
|
|
21520
21526
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21521
21527
|
"span",
|
|
21522
|
-
_hoisted_2$
|
|
21528
|
+
_hoisted_2$s,
|
|
21523
21529
|
toDisplayString(appendTitleText.value),
|
|
21524
21530
|
1
|
|
21525
21531
|
/* TEXT */
|
|
@@ -22081,7 +22087,7 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
22081
22087
|
});
|
|
22082
22088
|
|
|
22083
22089
|
const _hoisted_1$B = { class: "inside_box" };
|
|
22084
|
-
const _hoisted_2$
|
|
22090
|
+
const _hoisted_2$r = { class: "inside_box_title" };
|
|
22085
22091
|
const _hoisted_3$i = { class: "check-box" };
|
|
22086
22092
|
const _hoisted_4$9 = { class: "more_dropdown_icon" };
|
|
22087
22093
|
const _hoisted_5$8 = { class: "out_box" };
|
|
@@ -22224,7 +22230,7 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
22224
22230
|
]),
|
|
22225
22231
|
default: withCtx(() => [
|
|
22226
22232
|
createElementVNode("div", _hoisted_1$B, [
|
|
22227
|
-
createElementVNode("div", _hoisted_2$
|
|
22233
|
+
createElementVNode("div", _hoisted_2$r, [
|
|
22228
22234
|
createElementVNode(
|
|
22229
22235
|
"div",
|
|
22230
22236
|
null,
|
|
@@ -23101,7 +23107,7 @@ const _hoisted_1$A = {
|
|
|
23101
23107
|
key: 0,
|
|
23102
23108
|
class: "table_query_condition"
|
|
23103
23109
|
};
|
|
23104
|
-
const _hoisted_2$
|
|
23110
|
+
const _hoisted_2$q = ["element-loading-text"];
|
|
23105
23111
|
const _hoisted_3$h = { key: 2 };
|
|
23106
23112
|
const _hoisted_4$8 = {
|
|
23107
23113
|
key: 0,
|
|
@@ -23988,7 +23994,7 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
23988
23994
|
total: pagination.total
|
|
23989
23995
|
}, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
|
|
23990
23996
|
])) : createCommentVNode("v-if", true)
|
|
23991
|
-
], 8, _hoisted_2$
|
|
23997
|
+
], 8, _hoisted_2$q)), [
|
|
23992
23998
|
[_directive_loading, __props.tableLoading || internalLoading.value]
|
|
23993
23999
|
]),
|
|
23994
24000
|
renderSlot(_ctx.$slots, "footer")
|
|
@@ -24054,7 +24060,7 @@ const _hoisted_1$z = {
|
|
|
24054
24060
|
key: 1,
|
|
24055
24061
|
class: "text_show"
|
|
24056
24062
|
};
|
|
24057
|
-
const _hoisted_2$
|
|
24063
|
+
const _hoisted_2$p = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
24058
24064
|
var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
24059
24065
|
...{
|
|
24060
24066
|
name: "FForm"
|
|
@@ -24448,7 +24454,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
24448
24454
|
/* UNKEYED_FRAGMENT */
|
|
24449
24455
|
)),
|
|
24450
24456
|
createCommentVNode(" \u6309\u94AE "),
|
|
24451
|
-
createElementVNode("div", _hoisted_2$
|
|
24457
|
+
createElementVNode("div", _hoisted_2$p, [
|
|
24452
24458
|
__props.formOpts.btnSlotName ? renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : createCommentVNode("v-if", true),
|
|
24453
24459
|
!__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (openBlock(true), createElementBlock(
|
|
24454
24460
|
Fragment,
|
|
@@ -24976,7 +24982,7 @@ const other = {
|
|
|
24976
24982
|
};
|
|
24977
24983
|
|
|
24978
24984
|
const _hoisted_1$x = { class: "layout-breadcrumb-seting" };
|
|
24979
|
-
const _hoisted_2$
|
|
24985
|
+
const _hoisted_2$o = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24980
24986
|
const _hoisted_3$g = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24981
24987
|
const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
24982
24988
|
const _hoisted_5$7 = { style: { "margin": "10px 0" } };
|
|
@@ -25389,7 +25395,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25389
25395
|
_: 1
|
|
25390
25396
|
/* STABLE */
|
|
25391
25397
|
}),
|
|
25392
|
-
createElementVNode("div", _hoisted_2$
|
|
25398
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
25393
25399
|
createElementVNode(
|
|
25394
25400
|
"div",
|
|
25395
25401
|
_hoisted_3$g,
|
|
@@ -27720,7 +27726,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
27720
27726
|
const FmInputNumber = _sfc_main$C;
|
|
27721
27727
|
|
|
27722
27728
|
const _hoisted_1$v = { style: { "color": "#fff" } };
|
|
27723
|
-
const _hoisted_2$
|
|
27729
|
+
const _hoisted_2$n = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27724
27730
|
const _hoisted_3$f = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27725
27731
|
const _hoisted_4$6 = { style: { "margin-top": "10px" } };
|
|
27726
27732
|
const _hoisted_5$6 = { class: "dialog-footer" };
|
|
@@ -27909,7 +27915,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
27909
27915
|
default: withCtx(() => [
|
|
27910
27916
|
createElementVNode(
|
|
27911
27917
|
"p",
|
|
27912
|
-
_hoisted_2$
|
|
27918
|
+
_hoisted_2$n,
|
|
27913
27919
|
toDisplayString(_ctx.$t("\u673A\u6784")),
|
|
27914
27920
|
1
|
|
27915
27921
|
/* TEXT */
|
|
@@ -28116,7 +28122,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
28116
28122
|
});
|
|
28117
28123
|
|
|
28118
28124
|
const _hoisted_1$u = { style: { "color": "#fff" } };
|
|
28119
|
-
const _hoisted_2$
|
|
28125
|
+
const _hoisted_2$m = { style: { "margin-top": "10px" } };
|
|
28120
28126
|
const _hoisted_3$e = { class: "dialog-footer" };
|
|
28121
28127
|
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
28122
28128
|
__name: "supplierSelectDialog",
|
|
@@ -28284,7 +28290,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
28284
28290
|
default: withCtx(() => [
|
|
28285
28291
|
createVNode(_component_el_col, { span: 24 }, {
|
|
28286
28292
|
default: withCtx(() => [
|
|
28287
|
-
createElementVNode("div", _hoisted_2$
|
|
28293
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
28288
28294
|
createVNode(_component_el_form, {
|
|
28289
28295
|
model: state.queryParams,
|
|
28290
28296
|
ref: "queryRef",
|
|
@@ -28495,7 +28501,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
28495
28501
|
});
|
|
28496
28502
|
|
|
28497
28503
|
const _hoisted_1$t = { style: { "color": "#fff" } };
|
|
28498
|
-
const _hoisted_2$
|
|
28504
|
+
const _hoisted_2$l = { style: { "margin-top": "10px" } };
|
|
28499
28505
|
const _hoisted_3$d = { class: "dialog-footer" };
|
|
28500
28506
|
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
28501
28507
|
__name: "supplierUserSelectDialog",
|
|
@@ -28656,7 +28662,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
28656
28662
|
default: withCtx(() => [
|
|
28657
28663
|
createVNode(_component_el_col, { span: 24 }, {
|
|
28658
28664
|
default: withCtx(() => [
|
|
28659
|
-
createElementVNode("div", _hoisted_2$
|
|
28665
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
28660
28666
|
createVNode(_component_el_form, {
|
|
28661
28667
|
model: state.queryParams,
|
|
28662
28668
|
ref: "queryRef",
|
|
@@ -28824,7 +28830,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
28824
28830
|
});
|
|
28825
28831
|
|
|
28826
28832
|
const _hoisted_1$s = { style: { "color": "#fff" } };
|
|
28827
|
-
const _hoisted_2$
|
|
28833
|
+
const _hoisted_2$k = { style: { "margin-top": "10px" } };
|
|
28828
28834
|
const _hoisted_3$c = { class: "dialog-footer" };
|
|
28829
28835
|
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
28830
28836
|
__name: "accountSelectDialog",
|
|
@@ -28983,7 +28989,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
28983
28989
|
default: withCtx(() => [
|
|
28984
28990
|
createVNode(_component_el_col, { span: 24 }, {
|
|
28985
28991
|
default: withCtx(() => [
|
|
28986
|
-
createElementVNode("div", _hoisted_2$
|
|
28992
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
28987
28993
|
createVNode(_component_el_form, {
|
|
28988
28994
|
model: state.queryParams,
|
|
28989
28995
|
ref: "queryRef",
|
|
@@ -29145,7 +29151,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
29145
29151
|
});
|
|
29146
29152
|
|
|
29147
29153
|
const _hoisted_1$r = { style: { "color": "#fff" } };
|
|
29148
|
-
const _hoisted_2$
|
|
29154
|
+
const _hoisted_2$j = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
29149
29155
|
const _hoisted_3$b = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
29150
29156
|
const _hoisted_4$5 = { style: { "margin-top": "10px" } };
|
|
29151
29157
|
const _hoisted_5$5 = { class: "dialog-footer" };
|
|
@@ -29301,7 +29307,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
29301
29307
|
default: withCtx(() => [
|
|
29302
29308
|
createElementVNode(
|
|
29303
29309
|
"p",
|
|
29304
|
-
_hoisted_2$
|
|
29310
|
+
_hoisted_2$j,
|
|
29305
29311
|
toDisplayString(_ctx.$t("\u5927\u7C7B")),
|
|
29306
29312
|
1
|
|
29307
29313
|
/* TEXT */
|
|
@@ -29471,7 +29477,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
29471
29477
|
});
|
|
29472
29478
|
|
|
29473
29479
|
const _hoisted_1$q = { style: { "color": "#fff" } };
|
|
29474
|
-
const _hoisted_2$
|
|
29480
|
+
const _hoisted_2$i = { style: { "margin-top": "10px" } };
|
|
29475
29481
|
const _hoisted_3$a = { class: "dialog-footer" };
|
|
29476
29482
|
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
29477
29483
|
__name: "linSelectDialog",
|
|
@@ -29632,7 +29638,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
29632
29638
|
default: withCtx(() => [
|
|
29633
29639
|
createVNode(_component_el_col, { span: 24 }, {
|
|
29634
29640
|
default: withCtx(() => [
|
|
29635
|
-
createElementVNode("div", _hoisted_2$
|
|
29641
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
29636
29642
|
createVNode(_component_el_form, {
|
|
29637
29643
|
model: state.queryParams,
|
|
29638
29644
|
ref: "queryRef",
|
|
@@ -29812,7 +29818,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
29812
29818
|
});
|
|
29813
29819
|
|
|
29814
29820
|
const _hoisted_1$p = { style: { "color": "#fff" } };
|
|
29815
|
-
const _hoisted_2$
|
|
29821
|
+
const _hoisted_2$h = { style: { "margin-top": "10px" } };
|
|
29816
29822
|
const _hoisted_3$9 = { class: "dialog-footer" };
|
|
29817
29823
|
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
29818
29824
|
__name: "guideSelectDialog",
|
|
@@ -29973,7 +29979,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
29973
29979
|
default: withCtx(() => [
|
|
29974
29980
|
createVNode(_component_el_col, { span: 24 }, {
|
|
29975
29981
|
default: withCtx(() => [
|
|
29976
|
-
createElementVNode("div", _hoisted_2$
|
|
29982
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
29977
29983
|
createVNode(_component_el_form, {
|
|
29978
29984
|
model: state.queryParams,
|
|
29979
29985
|
ref: "queryRef",
|
|
@@ -30129,7 +30135,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
30129
30135
|
});
|
|
30130
30136
|
|
|
30131
30137
|
const _hoisted_1$o = { style: { "color": "#fff" } };
|
|
30132
|
-
const _hoisted_2$
|
|
30138
|
+
const _hoisted_2$g = { style: { "margin-top": "10px" } };
|
|
30133
30139
|
const _hoisted_3$8 = { class: "dialog-footer" };
|
|
30134
30140
|
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
30135
30141
|
__name: "dirverSelectDialog",
|
|
@@ -30290,7 +30296,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
30290
30296
|
default: withCtx(() => [
|
|
30291
30297
|
createVNode(_component_el_col, { span: 24 }, {
|
|
30292
30298
|
default: withCtx(() => [
|
|
30293
|
-
createElementVNode("div", _hoisted_2$
|
|
30299
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
30294
30300
|
createVNode(_component_el_form, {
|
|
30295
30301
|
model: state.queryParams,
|
|
30296
30302
|
ref: "queryRef",
|
|
@@ -31216,7 +31222,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31216
31222
|
const Fmdatepicker = _sfc_main$r;
|
|
31217
31223
|
|
|
31218
31224
|
const _hoisted_1$l = { style: { "display": "flex", "justify-content": "space-between", "align-items": "center" } };
|
|
31219
|
-
const _hoisted_2$
|
|
31225
|
+
const _hoisted_2$f = { style: { "font-size": "16px" } };
|
|
31220
31226
|
const _sfc_main$q = /* @__PURE__ */ Object.assign({
|
|
31221
31227
|
name: "FmPeriod"
|
|
31222
31228
|
}, {
|
|
@@ -31316,7 +31322,7 @@ const _sfc_main$q = /* @__PURE__ */ Object.assign({
|
|
|
31316
31322
|
}, null, 8, ["icon"]),
|
|
31317
31323
|
createElementVNode(
|
|
31318
31324
|
"b",
|
|
31319
|
-
_hoisted_2$
|
|
31325
|
+
_hoisted_2$f,
|
|
31320
31326
|
toDisplayString(currentYear.value) + toDisplayString(_ctx.$t("\u5E74") || "\u5E74"),
|
|
31321
31327
|
1
|
|
31322
31328
|
/* TEXT */
|
|
@@ -31440,7 +31446,8 @@ const _sfc_main$q = /* @__PURE__ */ Object.assign({
|
|
|
31440
31446
|
|
|
31441
31447
|
const FmPeriod = _sfc_main$q;
|
|
31442
31448
|
|
|
31443
|
-
const _hoisted_1$k =
|
|
31449
|
+
const _hoisted_1$k = { style: { "display": "inline-flex" } };
|
|
31450
|
+
const _hoisted_2$e = ["innerHTML"];
|
|
31444
31451
|
var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
31445
31452
|
...{
|
|
31446
31453
|
name: "FmTooltip"
|
|
@@ -31469,18 +31476,21 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31469
31476
|
const props = __props;
|
|
31470
31477
|
const useBaseApi = usefmPageFormDatatore();
|
|
31471
31478
|
const tipLoadData = computed(() => {
|
|
31472
|
-
|
|
31479
|
+
var _a;
|
|
31480
|
+
return useBaseApi.getLableLogData(props.params.table, props.params.field, props.params.bizid, ((_a = props.params) == null ? void 0 : _a.bizType) || "basefrom");
|
|
31473
31481
|
});
|
|
31474
31482
|
return (_ctx, _cache) => {
|
|
31475
31483
|
const _component_el_icon = resolveComponent("el-icon");
|
|
31476
31484
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
31477
|
-
return openBlock(), createElementBlock("div",
|
|
31485
|
+
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
31486
|
+
renderSlot(_ctx.$slots, "default"),
|
|
31478
31487
|
createTextVNode(
|
|
31479
|
-
toDisplayString(__props.label) + " ",
|
|
31488
|
+
" " + toDisplayString(__props.label) + " ",
|
|
31480
31489
|
1
|
|
31481
31490
|
/* TEXT */
|
|
31482
31491
|
),
|
|
31483
|
-
|
|
31492
|
+
tipLoadData.value.length > 0 || __props.content ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
31493
|
+
key: 0,
|
|
31484
31494
|
"raw-content": "",
|
|
31485
31495
|
placement: "top",
|
|
31486
31496
|
effect: "light"
|
|
@@ -31534,7 +31544,7 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31534
31544
|
)) : (openBlock(), createElementBlock("p", {
|
|
31535
31545
|
key: 1,
|
|
31536
31546
|
innerHTML: __props.content
|
|
31537
|
-
}, null, 8,
|
|
31547
|
+
}, null, 8, _hoisted_2$e))
|
|
31538
31548
|
]),
|
|
31539
31549
|
default: withCtx(() => [
|
|
31540
31550
|
createVNode(_component_el_icon, { color: "#ff4d4f" }, {
|
|
@@ -31547,7 +31557,7 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31547
31557
|
]),
|
|
31548
31558
|
_: 1
|
|
31549
31559
|
/* STABLE */
|
|
31550
|
-
})
|
|
31560
|
+
})) : createCommentVNode("v-if", true)
|
|
31551
31561
|
]);
|
|
31552
31562
|
};
|
|
31553
31563
|
}
|
|
@@ -1,35 +1,87 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const FmTooltip:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
tipdata: {
|
|
8
|
-
type: {
|
|
9
|
-
(arrayLength: number): any[];
|
|
10
|
-
(...items: any[]): any[];
|
|
11
|
-
new (arrayLength: number): any[];
|
|
12
|
-
new (...items: any[]): any[];
|
|
13
|
-
isArray(arg: any): arg is any[];
|
|
14
|
-
readonly prototype: any[];
|
|
15
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
16
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
17
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
18
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
19
|
-
of<T>(...items: T[]): T[];
|
|
20
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
1
|
+
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
2
|
+
export declare const FmTooltip: {
|
|
3
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
4
|
+
label: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
21
7
|
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
8
|
+
tipdata: {
|
|
9
|
+
type: {
|
|
10
|
+
(arrayLength: number): any[];
|
|
11
|
+
(...items: any[]): any[];
|
|
12
|
+
new (arrayLength: number): any[];
|
|
13
|
+
new (...items: any[]): any[];
|
|
14
|
+
isArray(arg: any): arg is any[];
|
|
15
|
+
readonly prototype: any[];
|
|
16
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
17
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
18
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
19
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
20
|
+
of<T>(...items: T[]): T[];
|
|
21
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
22
|
+
};
|
|
23
|
+
default: never[];
|
|
24
|
+
};
|
|
25
|
+
content: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
params: {
|
|
30
|
+
type: ObjectConstructor;
|
|
31
|
+
default: () => void;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
34
|
+
content: string;
|
|
35
|
+
params: Record<string, any>;
|
|
36
|
+
label: string;
|
|
37
|
+
tipdata: any[];
|
|
38
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
39
|
+
P: {};
|
|
40
|
+
B: {};
|
|
41
|
+
D: {};
|
|
42
|
+
C: {};
|
|
43
|
+
M: {};
|
|
44
|
+
Defaults: {};
|
|
45
|
+
}, Readonly< ExtractPropTypes<{
|
|
46
|
+
label: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
tipdata: {
|
|
51
|
+
type: {
|
|
52
|
+
(arrayLength: number): any[];
|
|
53
|
+
(...items: any[]): any[];
|
|
54
|
+
new (arrayLength: number): any[];
|
|
55
|
+
new (...items: any[]): any[];
|
|
56
|
+
isArray(arg: any): arg is any[];
|
|
57
|
+
readonly prototype: any[];
|
|
58
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
59
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
60
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
61
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
62
|
+
of<T>(...items: T[]): T[];
|
|
63
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
64
|
+
};
|
|
65
|
+
default: never[];
|
|
66
|
+
};
|
|
67
|
+
content: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
params: {
|
|
72
|
+
type: ObjectConstructor;
|
|
73
|
+
default: () => void;
|
|
74
|
+
};
|
|
75
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
76
|
+
content: string;
|
|
77
|
+
params: Record<string, any>;
|
|
78
|
+
label: string;
|
|
79
|
+
tipdata: any[];
|
|
80
|
+
}>;
|
|
81
|
+
__isFragment?: never;
|
|
82
|
+
__isTeleport?: never;
|
|
83
|
+
__isSuspense?: never;
|
|
84
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
33
85
|
label: {
|
|
34
86
|
type: StringConstructor;
|
|
35
87
|
default: string;
|
|
@@ -59,9 +111,13 @@ export declare const FmTooltip: DefineComponent<ExtractPropTypes<{
|
|
|
59
111
|
type: ObjectConstructor;
|
|
60
112
|
default: () => void;
|
|
61
113
|
};
|
|
62
|
-
}>> & Readonly<{}>, {
|
|
114
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
63
115
|
content: string;
|
|
64
116
|
params: Record<string, any>;
|
|
65
117
|
label: string;
|
|
66
118
|
tipdata: any[];
|
|
67
|
-
}, {},
|
|
119
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
120
|
+
$slots: {
|
|
121
|
+
default?(_: {}): any;
|
|
122
|
+
};
|
|
123
|
+
});
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
3
12
|
label: {
|
|
4
13
|
type: StringConstructor;
|
|
5
14
|
default: string;
|
|
@@ -65,4 +74,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
65
74
|
label: string;
|
|
66
75
|
tipdata: any[];
|
|
67
76
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
77
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
68
78
|
export default _default;
|
|
79
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
80
|
+
new (): {
|
|
81
|
+
$slots: S;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
@@ -7,7 +7,8 @@ var svg = require('@element-plus/icons-vue');
|
|
|
7
7
|
require('../../stores/index.js');
|
|
8
8
|
var thepagefromdata = require('../../stores/thepagefromdata.js');
|
|
9
9
|
|
|
10
|
-
const _hoisted_1 =
|
|
10
|
+
const _hoisted_1 = { style: { "display": "inline-flex" } };
|
|
11
|
+
const _hoisted_2 = ["innerHTML"];
|
|
11
12
|
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
12
13
|
...{
|
|
13
14
|
name: "FmTooltip"
|
|
@@ -36,18 +37,21 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36
37
|
const props = __props;
|
|
37
38
|
const useBaseApi = thepagefromdata.usefmPageFormDatatore();
|
|
38
39
|
const tipLoadData = vue.computed(() => {
|
|
39
|
-
|
|
40
|
+
var _a;
|
|
41
|
+
return useBaseApi.getLableLogData(props.params.table, props.params.field, props.params.bizid, ((_a = props.params) == null ? void 0 : _a.bizType) || "basefrom");
|
|
40
42
|
});
|
|
41
43
|
return (_ctx, _cache) => {
|
|
42
44
|
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
43
45
|
const _component_el_tooltip = vue.resolveComponent("el-tooltip");
|
|
44
|
-
return vue.openBlock(), vue.createElementBlock("div",
|
|
46
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
47
|
+
vue.renderSlot(_ctx.$slots, "default"),
|
|
45
48
|
vue.createTextVNode(
|
|
46
|
-
vue.toDisplayString(__props.label) + " ",
|
|
49
|
+
" " + vue.toDisplayString(__props.label) + " ",
|
|
47
50
|
1
|
|
48
51
|
/* TEXT */
|
|
49
52
|
),
|
|
50
|
-
vue.
|
|
53
|
+
tipLoadData.value.length > 0 || __props.content ? (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
|
|
54
|
+
key: 0,
|
|
51
55
|
"raw-content": "",
|
|
52
56
|
placement: "top",
|
|
53
57
|
effect: "light"
|
|
@@ -101,7 +105,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
101
105
|
)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
102
106
|
key: 1,
|
|
103
107
|
innerHTML: __props.content
|
|
104
|
-
}, null, 8,
|
|
108
|
+
}, null, 8, _hoisted_2))
|
|
105
109
|
]),
|
|
106
110
|
default: vue.withCtx(() => [
|
|
107
111
|
vue.createVNode(_component_el_icon, { color: "#ff4d4f" }, {
|
|
@@ -114,7 +118,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
114
118
|
]),
|
|
115
119
|
_: 1
|
|
116
120
|
/* STABLE */
|
|
117
|
-
})
|
|
121
|
+
})) : vue.createCommentVNode("v-if", true)
|
|
118
122
|
]);
|
|
119
123
|
};
|
|
120
124
|
}
|
|
@@ -5,11 +5,15 @@ var vue = require('vue');
|
|
|
5
5
|
|
|
6
6
|
const usefmPageFormDatatore = pinia.defineStore("fmPageFormDatatore", () => {
|
|
7
7
|
const state = vue.reactive({
|
|
8
|
-
formData: {}
|
|
8
|
+
formData: {},
|
|
9
|
+
currentBizType: ""
|
|
9
10
|
});
|
|
10
11
|
const setFormData = (data, bizType = "basefrom") => {
|
|
11
12
|
state.formData[bizType] = data;
|
|
12
13
|
};
|
|
14
|
+
const setCurrentBizType = (bizType = "") => {
|
|
15
|
+
state.currentBizType = bizType;
|
|
16
|
+
};
|
|
13
17
|
const getFormData = (bizType = "basefrom") => {
|
|
14
18
|
return state.formData[bizType];
|
|
15
19
|
};
|
|
@@ -19,8 +23,9 @@ const usefmPageFormDatatore = pinia.defineStore("fmPageFormDatatore", () => {
|
|
|
19
23
|
const clearAllFormData = () => {
|
|
20
24
|
state.formData = {};
|
|
21
25
|
};
|
|
22
|
-
const getLableLogData = (table, field, bizid,
|
|
26
|
+
const getLableLogData = (table, field, bizid, bizinType = "basefrom") => {
|
|
23
27
|
const resultLogData = [];
|
|
28
|
+
const bizType = state.currentBizType != "" ? state.currentBizType : bizinType;
|
|
24
29
|
if (state.formData[bizType]) {
|
|
25
30
|
state.formData[bizType].forEach((item) => {
|
|
26
31
|
var _a, _b;
|
|
@@ -40,6 +45,7 @@ const usefmPageFormDatatore = pinia.defineStore("fmPageFormDatatore", () => {
|
|
|
40
45
|
return resultLogData;
|
|
41
46
|
};
|
|
42
47
|
return {
|
|
48
|
+
setCurrentBizType,
|
|
43
49
|
setFormData,
|
|
44
50
|
getFormData,
|
|
45
51
|
clearFormData,
|
|
@@ -5,21 +5,24 @@ import { StoreDefinition } from 'pinia';
|
|
|
5
5
|
* @methods getFormData 获取表单数据
|
|
6
6
|
*/
|
|
7
7
|
export declare const usefmPageFormDatatore: StoreDefinition<"fmPageFormDatatore", Pick<{
|
|
8
|
+
setCurrentBizType: (bizType?: string) => void;
|
|
8
9
|
setFormData: (data: any, bizType?: string) => void;
|
|
9
10
|
getFormData: (bizType?: string) => any;
|
|
10
11
|
clearFormData: (bizType?: string) => void;
|
|
11
12
|
clearAllFormData: () => void;
|
|
12
|
-
getLableLogData: (table: any, field: any, bizid: any,
|
|
13
|
+
getLableLogData: (table: any, field: any, bizid: any, bizinType?: string) => any[];
|
|
13
14
|
}, never>, Pick<{
|
|
15
|
+
setCurrentBizType: (bizType?: string) => void;
|
|
14
16
|
setFormData: (data: any, bizType?: string) => void;
|
|
15
17
|
getFormData: (bizType?: string) => any;
|
|
16
18
|
clearFormData: (bizType?: string) => void;
|
|
17
19
|
clearAllFormData: () => void;
|
|
18
|
-
getLableLogData: (table: any, field: any, bizid: any,
|
|
20
|
+
getLableLogData: (table: any, field: any, bizid: any, bizinType?: string) => any[];
|
|
19
21
|
}, never>, Pick<{
|
|
22
|
+
setCurrentBizType: (bizType?: string) => void;
|
|
20
23
|
setFormData: (data: any, bizType?: string) => void;
|
|
21
24
|
getFormData: (bizType?: string) => any;
|
|
22
25
|
clearFormData: (bizType?: string) => void;
|
|
23
26
|
clearAllFormData: () => void;
|
|
24
|
-
getLableLogData: (table: any, field: any, bizid: any,
|
|
25
|
-
}, "setFormData" | "getFormData" | "clearFormData" | "clearAllFormData" | "getLableLogData">>;
|
|
27
|
+
getLableLogData: (table: any, field: any, bizid: any, bizinType?: string) => any[];
|
|
28
|
+
}, "setCurrentBizType" | "setFormData" | "getFormData" | "clearFormData" | "clearAllFormData" | "getLableLogData">>;
|
package/locale/en.js
CHANGED
package/locale/en.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.174 */(function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.fmdeuiPlusLocaleEn=t())})(this,(function(){"use strict";var e={name:"en",plus:{datepicker:{date:"Please select date",dates:"Please select dates",week:"Please select week",month:"Please select month",months:"Please select months",year:"Please select year",years:"Please select years",startDatePlaceholder:"Please select start date",endDatePlaceholder:"Please select end date",datetime:"Please select datetime",startMonthPlaceholder:"Please select start month",endMonthPlaceholder:"Please select end month",startTimePlaceholder:"Please select start time",endTimePlaceholder:"Please select end time",shortcutsDate:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDaterange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"},shortcutsMonthrange:{thisMonth:"This month",thisYear:"This year",pastSixMonths:"Past six months"},shortcutsDatetime:{today:"Today",yesterday:"Yesterday",lastWeek:"Last week"},shortcutsDatetimerange:{pastWeek:"Past week",pastMonth:"Past month",pastThreeMonths:"Past three months"}},form:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},input:{placeholder:"Please enter ",appendTitle:"Yuan",validatePhone:"Please enter a valid phone number",validateIdCard:"Please enter a valid ID card number",validateInteger:"Please enter a valid integer",format:"Please enter a valid ",amount:"amount",numbers:"numbers",digitUppercase:"Please enter a valid amount format",validateError:"Please enter a valid format",escaped:{0:"Cent",1:"Penny",2:"Zero",3:"One",4:"Two",5:"Three",6:"Four",7:"Five",8:"Six",9:"Seven",10:"Eight",11:"Nine",12:"Yuan",13:"Ten thousand",14:"Ten million",15:"Ten billion",16:"Ten",17:"Hundred",18:"Thousand",19:"Short",20:"Whole"}},moduleForm:{save:"Save",back:"Back"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract",pleaseEnter:"Please enter ",pleaseSelect:"Please select ",popoverAttrs:{showTxt:"More",title:"All conditions",allTxt:"SelectAll",reverseTxt:"Reverse",clearTxt:"ClearAll"}},select:{selectAllTxt:"Select all"},selectIcon:{placeholder:"Please select icon",dialogTitle:"Please select icon",searchPlaceholder:"Search icon",emptyDescription:"No icon found"},copy:{copySuccess:"Copy success",copyFail:"Copy fail",invalidCopyContent:"Invalid copy content"},selectTable:{searchBtnTxt:"Search",radioTxt:"Radio",loadingTxt:"Loading...",copySuccess:"Copy success",copyFail:"Copy fail"},stepWizard:{lastBtnTitle:"Complete"},table:{columnBind:{btnTxt:"Column setting",title:"Column setting"},fistColumn:{label:"Number",radio:"Radio"},operator:{label:"Operation",more:"More",sum:"Sum",total:"Total",allSum:"All sum"},singleEdit:{tipText:"Click to edit"},pleaseEnter:"Please enter ",pleaseSelect:"Please select ",loadingTxt:"Loading...",dragTxt:"Drag",saveBtnTxt:"Save",density:"Density",default:"Default",loose:"Loose",compact:"Compact"},list:{idleTimeoutMessage:"Long time no operation, system logged out.",sysMessage:"System Message"}}};return e}));
|