@fmdeui/fmui 1.0.172 → 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 +94 -29
- package/es/components/fm-tooltip/index.vue.d.ts +25 -1
- package/es/index.mjs +1 -0
- package/es/packages/components/fm-tooltip/index2.vue.mjs +25 -9
- package/es/packages/stores/index.mjs +1 -0
- package/es/packages/stores/thepagefromdata.mjs +55 -0
- package/es/stores/index.d.ts +1 -0
- package/es/stores/thepagefromdata.d.ts +28 -0
- package/index.js +103 -37
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +103 -38
- package/lib/components/fm-tooltip/index.d.ts +94 -29
- package/lib/components/fm-tooltip/index.vue.d.ts +25 -1
- package/lib/index.js +2 -0
- package/lib/packages/components/fm-tooltip/index2.vue.js +24 -8
- package/lib/packages/stores/index.js +2 -0
- package/lib/packages/stores/thepagefromdata.js +57 -0
- package/lib/stores/index.d.ts +1 -0
- package/lib/stores/thepagefromdata.d.ts +28 -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 → 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';
|
|
@@ -4094,6 +4094,57 @@ const usefminputdropdownstore = defineStore("fminputdropdownstore", () => {
|
|
|
4094
4094
|
};
|
|
4095
4095
|
});
|
|
4096
4096
|
|
|
4097
|
+
const usefmPageFormDatatore = defineStore("fmPageFormDatatore", () => {
|
|
4098
|
+
const state = reactive({
|
|
4099
|
+
formData: {},
|
|
4100
|
+
currentBizType: ""
|
|
4101
|
+
});
|
|
4102
|
+
const setFormData = (data, bizType = "basefrom") => {
|
|
4103
|
+
state.formData[bizType] = data;
|
|
4104
|
+
};
|
|
4105
|
+
const setCurrentBizType = (bizType = "") => {
|
|
4106
|
+
state.currentBizType = bizType;
|
|
4107
|
+
};
|
|
4108
|
+
const getFormData = (bizType = "basefrom") => {
|
|
4109
|
+
return state.formData[bizType];
|
|
4110
|
+
};
|
|
4111
|
+
const clearFormData = (bizType = "basefrom") => {
|
|
4112
|
+
state.formData[bizType] = {};
|
|
4113
|
+
};
|
|
4114
|
+
const clearAllFormData = () => {
|
|
4115
|
+
state.formData = {};
|
|
4116
|
+
};
|
|
4117
|
+
const getLableLogData = (table, field, bizid, bizinType = "basefrom") => {
|
|
4118
|
+
const resultLogData = [];
|
|
4119
|
+
const bizType = state.currentBizType != "" ? state.currentBizType : bizinType;
|
|
4120
|
+
if (state.formData[bizType]) {
|
|
4121
|
+
state.formData[bizType].forEach((item) => {
|
|
4122
|
+
var _a, _b;
|
|
4123
|
+
const filteredLogs = (_b = (_a = item.logData) == null ? void 0 : _a.filter(
|
|
4124
|
+
(log) => log.table === table && log.field === field && log.bizid === bizid && log.actionType === "update"
|
|
4125
|
+
)) != null ? _b : [];
|
|
4126
|
+
filteredLogs.forEach((log) => {
|
|
4127
|
+
resultLogData.push({
|
|
4128
|
+
...log,
|
|
4129
|
+
// 保留原有属性
|
|
4130
|
+
opUser: item.createUserName,
|
|
4131
|
+
opDate: item.createTime
|
|
4132
|
+
});
|
|
4133
|
+
});
|
|
4134
|
+
});
|
|
4135
|
+
}
|
|
4136
|
+
return resultLogData;
|
|
4137
|
+
};
|
|
4138
|
+
return {
|
|
4139
|
+
setCurrentBizType,
|
|
4140
|
+
setFormData,
|
|
4141
|
+
getFormData,
|
|
4142
|
+
clearFormData,
|
|
4143
|
+
clearAllFormData,
|
|
4144
|
+
getLableLogData
|
|
4145
|
+
};
|
|
4146
|
+
});
|
|
4147
|
+
|
|
4097
4148
|
function authDirective(app) {
|
|
4098
4149
|
app.directive("auth", {
|
|
4099
4150
|
mounted(el, binding) {
|
|
@@ -21233,7 +21284,7 @@ function getPageSetting(field, defaultValue = "", flag = "main") {
|
|
|
21233
21284
|
}
|
|
21234
21285
|
|
|
21235
21286
|
const _hoisted_1$F = { key: 0 };
|
|
21236
|
-
const _hoisted_2$
|
|
21287
|
+
const _hoisted_2$s = { key: 0 };
|
|
21237
21288
|
var _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
21238
21289
|
...{
|
|
21239
21290
|
name: "FInput"
|
|
@@ -21474,7 +21525,7 @@ var _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
21474
21525
|
fn: withCtx(() => [
|
|
21475
21526
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21476
21527
|
"span",
|
|
21477
|
-
_hoisted_2$
|
|
21528
|
+
_hoisted_2$s,
|
|
21478
21529
|
toDisplayString(appendTitleText.value),
|
|
21479
21530
|
1
|
|
21480
21531
|
/* TEXT */
|
|
@@ -22036,7 +22087,7 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
22036
22087
|
});
|
|
22037
22088
|
|
|
22038
22089
|
const _hoisted_1$B = { class: "inside_box" };
|
|
22039
|
-
const _hoisted_2$
|
|
22090
|
+
const _hoisted_2$r = { class: "inside_box_title" };
|
|
22040
22091
|
const _hoisted_3$i = { class: "check-box" };
|
|
22041
22092
|
const _hoisted_4$9 = { class: "more_dropdown_icon" };
|
|
22042
22093
|
const _hoisted_5$8 = { class: "out_box" };
|
|
@@ -22179,7 +22230,7 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
22179
22230
|
]),
|
|
22180
22231
|
default: withCtx(() => [
|
|
22181
22232
|
createElementVNode("div", _hoisted_1$B, [
|
|
22182
|
-
createElementVNode("div", _hoisted_2$
|
|
22233
|
+
createElementVNode("div", _hoisted_2$r, [
|
|
22183
22234
|
createElementVNode(
|
|
22184
22235
|
"div",
|
|
22185
22236
|
null,
|
|
@@ -23056,7 +23107,7 @@ const _hoisted_1$A = {
|
|
|
23056
23107
|
key: 0,
|
|
23057
23108
|
class: "table_query_condition"
|
|
23058
23109
|
};
|
|
23059
|
-
const _hoisted_2$
|
|
23110
|
+
const _hoisted_2$q = ["element-loading-text"];
|
|
23060
23111
|
const _hoisted_3$h = { key: 2 };
|
|
23061
23112
|
const _hoisted_4$8 = {
|
|
23062
23113
|
key: 0,
|
|
@@ -23943,7 +23994,7 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
23943
23994
|
total: pagination.total
|
|
23944
23995
|
}, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
|
|
23945
23996
|
])) : createCommentVNode("v-if", true)
|
|
23946
|
-
], 8, _hoisted_2$
|
|
23997
|
+
], 8, _hoisted_2$q)), [
|
|
23947
23998
|
[_directive_loading, __props.tableLoading || internalLoading.value]
|
|
23948
23999
|
]),
|
|
23949
24000
|
renderSlot(_ctx.$slots, "footer")
|
|
@@ -24009,7 +24060,7 @@ const _hoisted_1$z = {
|
|
|
24009
24060
|
key: 1,
|
|
24010
24061
|
class: "text_show"
|
|
24011
24062
|
};
|
|
24012
|
-
const _hoisted_2$
|
|
24063
|
+
const _hoisted_2$p = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
24013
24064
|
var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
24014
24065
|
...{
|
|
24015
24066
|
name: "FForm"
|
|
@@ -24403,7 +24454,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
24403
24454
|
/* UNKEYED_FRAGMENT */
|
|
24404
24455
|
)),
|
|
24405
24456
|
createCommentVNode(" \u6309\u94AE "),
|
|
24406
|
-
createElementVNode("div", _hoisted_2$
|
|
24457
|
+
createElementVNode("div", _hoisted_2$p, [
|
|
24407
24458
|
__props.formOpts.btnSlotName ? renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : createCommentVNode("v-if", true),
|
|
24408
24459
|
!__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (openBlock(true), createElementBlock(
|
|
24409
24460
|
Fragment,
|
|
@@ -24931,7 +24982,7 @@ const other = {
|
|
|
24931
24982
|
};
|
|
24932
24983
|
|
|
24933
24984
|
const _hoisted_1$x = { class: "layout-breadcrumb-seting" };
|
|
24934
|
-
const _hoisted_2$
|
|
24985
|
+
const _hoisted_2$o = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24935
24986
|
const _hoisted_3$g = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24936
24987
|
const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
24937
24988
|
const _hoisted_5$7 = { style: { "margin": "10px 0" } };
|
|
@@ -25344,7 +25395,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
25344
25395
|
_: 1
|
|
25345
25396
|
/* STABLE */
|
|
25346
25397
|
}),
|
|
25347
|
-
createElementVNode("div", _hoisted_2$
|
|
25398
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
25348
25399
|
createElementVNode(
|
|
25349
25400
|
"div",
|
|
25350
25401
|
_hoisted_3$g,
|
|
@@ -27675,7 +27726,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
27675
27726
|
const FmInputNumber = _sfc_main$C;
|
|
27676
27727
|
|
|
27677
27728
|
const _hoisted_1$v = { style: { "color": "#fff" } };
|
|
27678
|
-
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" } };
|
|
27679
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" } };
|
|
27680
27731
|
const _hoisted_4$6 = { style: { "margin-top": "10px" } };
|
|
27681
27732
|
const _hoisted_5$6 = { class: "dialog-footer" };
|
|
@@ -27864,7 +27915,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
27864
27915
|
default: withCtx(() => [
|
|
27865
27916
|
createElementVNode(
|
|
27866
27917
|
"p",
|
|
27867
|
-
_hoisted_2$
|
|
27918
|
+
_hoisted_2$n,
|
|
27868
27919
|
toDisplayString(_ctx.$t("\u673A\u6784")),
|
|
27869
27920
|
1
|
|
27870
27921
|
/* TEXT */
|
|
@@ -28071,7 +28122,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
28071
28122
|
});
|
|
28072
28123
|
|
|
28073
28124
|
const _hoisted_1$u = { style: { "color": "#fff" } };
|
|
28074
|
-
const _hoisted_2$
|
|
28125
|
+
const _hoisted_2$m = { style: { "margin-top": "10px" } };
|
|
28075
28126
|
const _hoisted_3$e = { class: "dialog-footer" };
|
|
28076
28127
|
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
28077
28128
|
__name: "supplierSelectDialog",
|
|
@@ -28239,7 +28290,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
28239
28290
|
default: withCtx(() => [
|
|
28240
28291
|
createVNode(_component_el_col, { span: 24 }, {
|
|
28241
28292
|
default: withCtx(() => [
|
|
28242
|
-
createElementVNode("div", _hoisted_2$
|
|
28293
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
28243
28294
|
createVNode(_component_el_form, {
|
|
28244
28295
|
model: state.queryParams,
|
|
28245
28296
|
ref: "queryRef",
|
|
@@ -28450,7 +28501,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
28450
28501
|
});
|
|
28451
28502
|
|
|
28452
28503
|
const _hoisted_1$t = { style: { "color": "#fff" } };
|
|
28453
|
-
const _hoisted_2$
|
|
28504
|
+
const _hoisted_2$l = { style: { "margin-top": "10px" } };
|
|
28454
28505
|
const _hoisted_3$d = { class: "dialog-footer" };
|
|
28455
28506
|
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
28456
28507
|
__name: "supplierUserSelectDialog",
|
|
@@ -28611,7 +28662,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
28611
28662
|
default: withCtx(() => [
|
|
28612
28663
|
createVNode(_component_el_col, { span: 24 }, {
|
|
28613
28664
|
default: withCtx(() => [
|
|
28614
|
-
createElementVNode("div", _hoisted_2$
|
|
28665
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
28615
28666
|
createVNode(_component_el_form, {
|
|
28616
28667
|
model: state.queryParams,
|
|
28617
28668
|
ref: "queryRef",
|
|
@@ -28779,7 +28830,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
28779
28830
|
});
|
|
28780
28831
|
|
|
28781
28832
|
const _hoisted_1$s = { style: { "color": "#fff" } };
|
|
28782
|
-
const _hoisted_2$
|
|
28833
|
+
const _hoisted_2$k = { style: { "margin-top": "10px" } };
|
|
28783
28834
|
const _hoisted_3$c = { class: "dialog-footer" };
|
|
28784
28835
|
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
28785
28836
|
__name: "accountSelectDialog",
|
|
@@ -28938,7 +28989,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
28938
28989
|
default: withCtx(() => [
|
|
28939
28990
|
createVNode(_component_el_col, { span: 24 }, {
|
|
28940
28991
|
default: withCtx(() => [
|
|
28941
|
-
createElementVNode("div", _hoisted_2$
|
|
28992
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
28942
28993
|
createVNode(_component_el_form, {
|
|
28943
28994
|
model: state.queryParams,
|
|
28944
28995
|
ref: "queryRef",
|
|
@@ -29100,7 +29151,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
29100
29151
|
});
|
|
29101
29152
|
|
|
29102
29153
|
const _hoisted_1$r = { style: { "color": "#fff" } };
|
|
29103
|
-
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" } };
|
|
29104
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" } };
|
|
29105
29156
|
const _hoisted_4$5 = { style: { "margin-top": "10px" } };
|
|
29106
29157
|
const _hoisted_5$5 = { class: "dialog-footer" };
|
|
@@ -29256,7 +29307,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
29256
29307
|
default: withCtx(() => [
|
|
29257
29308
|
createElementVNode(
|
|
29258
29309
|
"p",
|
|
29259
|
-
_hoisted_2$
|
|
29310
|
+
_hoisted_2$j,
|
|
29260
29311
|
toDisplayString(_ctx.$t("\u5927\u7C7B")),
|
|
29261
29312
|
1
|
|
29262
29313
|
/* TEXT */
|
|
@@ -29426,7 +29477,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
29426
29477
|
});
|
|
29427
29478
|
|
|
29428
29479
|
const _hoisted_1$q = { style: { "color": "#fff" } };
|
|
29429
|
-
const _hoisted_2$
|
|
29480
|
+
const _hoisted_2$i = { style: { "margin-top": "10px" } };
|
|
29430
29481
|
const _hoisted_3$a = { class: "dialog-footer" };
|
|
29431
29482
|
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
29432
29483
|
__name: "linSelectDialog",
|
|
@@ -29587,7 +29638,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
29587
29638
|
default: withCtx(() => [
|
|
29588
29639
|
createVNode(_component_el_col, { span: 24 }, {
|
|
29589
29640
|
default: withCtx(() => [
|
|
29590
|
-
createElementVNode("div", _hoisted_2$
|
|
29641
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
29591
29642
|
createVNode(_component_el_form, {
|
|
29592
29643
|
model: state.queryParams,
|
|
29593
29644
|
ref: "queryRef",
|
|
@@ -29767,7 +29818,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
29767
29818
|
});
|
|
29768
29819
|
|
|
29769
29820
|
const _hoisted_1$p = { style: { "color": "#fff" } };
|
|
29770
|
-
const _hoisted_2$
|
|
29821
|
+
const _hoisted_2$h = { style: { "margin-top": "10px" } };
|
|
29771
29822
|
const _hoisted_3$9 = { class: "dialog-footer" };
|
|
29772
29823
|
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
29773
29824
|
__name: "guideSelectDialog",
|
|
@@ -29928,7 +29979,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
29928
29979
|
default: withCtx(() => [
|
|
29929
29980
|
createVNode(_component_el_col, { span: 24 }, {
|
|
29930
29981
|
default: withCtx(() => [
|
|
29931
|
-
createElementVNode("div", _hoisted_2$
|
|
29982
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
29932
29983
|
createVNode(_component_el_form, {
|
|
29933
29984
|
model: state.queryParams,
|
|
29934
29985
|
ref: "queryRef",
|
|
@@ -30084,7 +30135,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
30084
30135
|
});
|
|
30085
30136
|
|
|
30086
30137
|
const _hoisted_1$o = { style: { "color": "#fff" } };
|
|
30087
|
-
const _hoisted_2$
|
|
30138
|
+
const _hoisted_2$g = { style: { "margin-top": "10px" } };
|
|
30088
30139
|
const _hoisted_3$8 = { class: "dialog-footer" };
|
|
30089
30140
|
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
30090
30141
|
__name: "dirverSelectDialog",
|
|
@@ -30245,7 +30296,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
30245
30296
|
default: withCtx(() => [
|
|
30246
30297
|
createVNode(_component_el_col, { span: 24 }, {
|
|
30247
30298
|
default: withCtx(() => [
|
|
30248
|
-
createElementVNode("div", _hoisted_2$
|
|
30299
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
30249
30300
|
createVNode(_component_el_form, {
|
|
30250
30301
|
model: state.queryParams,
|
|
30251
30302
|
ref: "queryRef",
|
|
@@ -31171,7 +31222,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31171
31222
|
const Fmdatepicker = _sfc_main$r;
|
|
31172
31223
|
|
|
31173
31224
|
const _hoisted_1$l = { style: { "display": "flex", "justify-content": "space-between", "align-items": "center" } };
|
|
31174
|
-
const _hoisted_2$
|
|
31225
|
+
const _hoisted_2$f = { style: { "font-size": "16px" } };
|
|
31175
31226
|
const _sfc_main$q = /* @__PURE__ */ Object.assign({
|
|
31176
31227
|
name: "FmPeriod"
|
|
31177
31228
|
}, {
|
|
@@ -31271,7 +31322,7 @@ const _sfc_main$q = /* @__PURE__ */ Object.assign({
|
|
|
31271
31322
|
}, null, 8, ["icon"]),
|
|
31272
31323
|
createElementVNode(
|
|
31273
31324
|
"b",
|
|
31274
|
-
_hoisted_2$
|
|
31325
|
+
_hoisted_2$f,
|
|
31275
31326
|
toDisplayString(currentYear.value) + toDisplayString(_ctx.$t("\u5E74") || "\u5E74"),
|
|
31276
31327
|
1
|
|
31277
31328
|
/* TEXT */
|
|
@@ -31395,7 +31446,8 @@ const _sfc_main$q = /* @__PURE__ */ Object.assign({
|
|
|
31395
31446
|
|
|
31396
31447
|
const FmPeriod = _sfc_main$q;
|
|
31397
31448
|
|
|
31398
|
-
const _hoisted_1$k =
|
|
31449
|
+
const _hoisted_1$k = { style: { "display": "inline-flex" } };
|
|
31450
|
+
const _hoisted_2$e = ["innerHTML"];
|
|
31399
31451
|
var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
31400
31452
|
...{
|
|
31401
31453
|
name: "FmTooltip"
|
|
@@ -31413,28 +31465,41 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31413
31465
|
content: {
|
|
31414
31466
|
type: String,
|
|
31415
31467
|
default: ""
|
|
31468
|
+
},
|
|
31469
|
+
params: {
|
|
31470
|
+
type: Object,
|
|
31471
|
+
default: () => {
|
|
31472
|
+
}
|
|
31416
31473
|
}
|
|
31417
31474
|
},
|
|
31418
31475
|
setup(__props) {
|
|
31476
|
+
const props = __props;
|
|
31477
|
+
const useBaseApi = usefmPageFormDatatore();
|
|
31478
|
+
const tipLoadData = computed(() => {
|
|
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");
|
|
31481
|
+
});
|
|
31419
31482
|
return (_ctx, _cache) => {
|
|
31420
31483
|
const _component_el_icon = resolveComponent("el-icon");
|
|
31421
31484
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
31422
|
-
return openBlock(), createElementBlock("div",
|
|
31485
|
+
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
31486
|
+
renderSlot(_ctx.$slots, "default"),
|
|
31423
31487
|
createTextVNode(
|
|
31424
|
-
toDisplayString(__props.label) + " ",
|
|
31488
|
+
" " + toDisplayString(__props.label) + " ",
|
|
31425
31489
|
1
|
|
31426
31490
|
/* TEXT */
|
|
31427
31491
|
),
|
|
31428
|
-
|
|
31492
|
+
tipLoadData.value.length > 0 || __props.content ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
31493
|
+
key: 0,
|
|
31429
31494
|
"raw-content": "",
|
|
31430
31495
|
placement: "top",
|
|
31431
31496
|
effect: "light"
|
|
31432
31497
|
}, {
|
|
31433
31498
|
content: withCtx(() => [
|
|
31434
|
-
|
|
31499
|
+
tipLoadData.value.length > 0 ? (openBlock(true), createElementBlock(
|
|
31435
31500
|
Fragment,
|
|
31436
31501
|
{ key: 0 },
|
|
31437
|
-
renderList(
|
|
31502
|
+
renderList(tipLoadData.value, (value) => {
|
|
31438
31503
|
return openBlock(), createElementBlock("p", null, [
|
|
31439
31504
|
_cache[0] || (_cache[0] = createTextVNode(
|
|
31440
31505
|
" \u4ECE\u3010",
|
|
@@ -31479,7 +31544,7 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31479
31544
|
)) : (openBlock(), createElementBlock("p", {
|
|
31480
31545
|
key: 1,
|
|
31481
31546
|
innerHTML: __props.content
|
|
31482
|
-
}, null, 8,
|
|
31547
|
+
}, null, 8, _hoisted_2$e))
|
|
31483
31548
|
]),
|
|
31484
31549
|
default: withCtx(() => [
|
|
31485
31550
|
createVNode(_component_el_icon, { color: "#ff4d4f" }, {
|
|
@@ -31492,7 +31557,7 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31492
31557
|
]),
|
|
31493
31558
|
_: 1
|
|
31494
31559
|
/* STABLE */
|
|
31495
|
-
})
|
|
31560
|
+
})) : createCommentVNode("v-if", true)
|
|
31496
31561
|
]);
|
|
31497
31562
|
};
|
|
31498
31563
|
}
|
|
@@ -35907,4 +35972,4 @@ var upgradeInfo = /*#__PURE__*/Object.freeze({
|
|
|
35907
35972
|
default: _sfc_main
|
|
35908
35973
|
});
|
|
35909
35974
|
|
|
35910
|
-
export { AccountTypeEnum, AppItem, AppSysTypeData, AppSysTypeEnum, COST_CATEGORIES, CurrencyData, 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, getAppItemData, getAppItemText, getBdate, getCountryCode, getEdate, getFileDownloadUrl, getFileName, getFileUrl, getFormItemLabel, getFormItemProp, getHeader, getJWTDate, getOpOrg, getPageSetting, getRules, getShowColumn, getShowColumnWidth, getSubFormFields, 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, scrollToSection, service, setCssCdn, setIntroduction, setJsCdn, setupI18n, showFileUrl, showFileUrlByType, showTabelColumn, signalR, signatureByKSort, sleep, tansParams, tenantId, translate, updateFavicon, updateIdleTimeout, urlToBase64, useApi, useBaseApi, useChangeColor, useDateTimeShortCust, useFormEvents, useFormRulePresets, useKeepALiveNames, useLocale, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, usefminputdropdownstore, 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 };
|
|
35975
|
+
export { AccountTypeEnum, AppItem, AppSysTypeData, AppSysTypeEnum, COST_CATEGORIES, CurrencyData, 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, getAppItemData, getAppItemText, getBdate, getCountryCode, getEdate, getFileDownloadUrl, getFileName, getFileUrl, getFormItemLabel, getFormItemProp, getHeader, getJWTDate, getOpOrg, getPageSetting, getRules, getShowColumn, getShowColumnWidth, getSubFormFields, 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, scrollToSection, service, setCssCdn, setIntroduction, setJsCdn, setupI18n, showFileUrl, showFileUrlByType, showTabelColumn, signalR, signatureByKSort, sleep, tansParams, tenantId, translate, updateFavicon, updateIdleTimeout, urlToBase64, useApi, useBaseApi, useChangeColor, useDateTimeShortCust, useFormEvents, useFormRulePresets, useKeepALiveNames, useLocale, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, usefmPageFormDatatore, usefminputdropdownstore, 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 };
|
|
@@ -1,31 +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
|
-
|
|
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<{
|
|
29
85
|
label: {
|
|
30
86
|
type: StringConstructor;
|
|
31
87
|
default: string;
|
|
@@ -51,8 +107,17 @@ export declare const FmTooltip: DefineComponent<ExtractPropTypes<{
|
|
|
51
107
|
type: StringConstructor;
|
|
52
108
|
default: string;
|
|
53
109
|
};
|
|
54
|
-
|
|
110
|
+
params: {
|
|
111
|
+
type: ObjectConstructor;
|
|
112
|
+
default: () => void;
|
|
113
|
+
};
|
|
114
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
55
115
|
content: string;
|
|
116
|
+
params: Record<string, any>;
|
|
56
117
|
label: string;
|
|
57
118
|
tipdata: any[];
|
|
58
|
-
}, {},
|
|
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;
|
|
@@ -25,6 +34,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
25
34
|
type: StringConstructor;
|
|
26
35
|
default: string;
|
|
27
36
|
};
|
|
37
|
+
params: {
|
|
38
|
+
type: ObjectConstructor;
|
|
39
|
+
default: () => void;
|
|
40
|
+
};
|
|
28
41
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
29
42
|
label: {
|
|
30
43
|
type: StringConstructor;
|
|
@@ -51,9 +64,20 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
51
64
|
type: StringConstructor;
|
|
52
65
|
default: string;
|
|
53
66
|
};
|
|
67
|
+
params: {
|
|
68
|
+
type: ObjectConstructor;
|
|
69
|
+
default: () => void;
|
|
70
|
+
};
|
|
54
71
|
}>> & Readonly<{}>, {
|
|
55
72
|
content: string;
|
|
73
|
+
params: Record<string, any>;
|
|
56
74
|
label: string;
|
|
57
75
|
tipdata: any[];
|
|
58
76
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
77
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
59
78
|
export default _default;
|
|
79
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
80
|
+
new (): {
|
|
81
|
+
$slots: S;
|
|
82
|
+
};
|
|
83
|
+
};
|
package/lib/index.js
CHANGED
|
@@ -55,6 +55,7 @@ var tagsViewRoutes = require('./packages/stores/tagsViewRoutes.js');
|
|
|
55
55
|
var themeConfig = require('./packages/stores/themeConfig.js');
|
|
56
56
|
var userInfo = require('./packages/stores/userInfo.js');
|
|
57
57
|
var useVxeTableOptionsHook = require('./packages/hooks/useVxeTableOptionsHook.js');
|
|
58
|
+
var thepagefromdata = require('./packages/stores/thepagefromdata.js');
|
|
58
59
|
var ainputdropdow = require('./packages/stores/ainputdropdow.js');
|
|
59
60
|
var formValidate = require('./packages/utils/formValidate.js');
|
|
60
61
|
var zhCn = require('./packages/locale/lang/zh-cn.js');
|
|
@@ -237,6 +238,7 @@ exports.useTagsViewRoutes = tagsViewRoutes.useTagsViewRoutes;
|
|
|
237
238
|
exports.useThemeConfig = themeConfig.useThemeConfig;
|
|
238
239
|
exports.useUserInfo = userInfo.useUserInfo;
|
|
239
240
|
exports.useVxeTable = useVxeTableOptionsHook.useVxeTable;
|
|
241
|
+
exports.usefmPageFormDatatore = thepagefromdata.usefmPageFormDatatore;
|
|
240
242
|
exports.usefminputdropdownstore = ainputdropdow.usefminputdropdownstore;
|
|
241
243
|
exports.validateFormWithScroll = formValidate.validateFormWithScroll;
|
|
242
244
|
exports.validateFormWithScrollCallback = formValidate.validateFormWithScrollCallback;
|