@fmdeui/fmui 1.0.173 → 1.0.175

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/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.173 */
1
+ /*! fmdeui-fmui v1.0.175 */
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,10 +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;
4104
+ state.currentBizType = bizType;
4105
+ };
4106
+ const setCurrentBizType = (bizType = "") => {
4107
+ state.currentBizType = bizType;
4103
4108
  };
4104
4109
  const getFormData = (bizType = "basefrom") => {
4105
4110
  return state.formData[bizType];
@@ -4110,8 +4115,9 @@ const usefmPageFormDatatore = defineStore("fmPageFormDatatore", () => {
4110
4115
  const clearAllFormData = () => {
4111
4116
  state.formData = {};
4112
4117
  };
4113
- const getLableLogData = (table, field, bizid, bizType = "basefrom") => {
4118
+ const getLableLogData = (table, field, bizid, bizinType = "basefrom") => {
4114
4119
  const resultLogData = [];
4120
+ const bizType = state.currentBizType != "" ? state.currentBizType : bizinType;
4115
4121
  if (state.formData[bizType]) {
4116
4122
  state.formData[bizType].forEach((item) => {
4117
4123
  var _a, _b;
@@ -4131,6 +4137,7 @@ const usefmPageFormDatatore = defineStore("fmPageFormDatatore", () => {
4131
4137
  return resultLogData;
4132
4138
  };
4133
4139
  return {
4140
+ setCurrentBizType,
4134
4141
  setFormData,
4135
4142
  getFormData,
4136
4143
  clearFormData,
@@ -21278,7 +21285,7 @@ function getPageSetting(field, defaultValue = "", flag = "main") {
21278
21285
  }
21279
21286
 
21280
21287
  const _hoisted_1$F = { key: 0 };
21281
- const _hoisted_2$r = { key: 0 };
21288
+ const _hoisted_2$s = { key: 0 };
21282
21289
  var _sfc_main$V = /* @__PURE__ */ defineComponent({
21283
21290
  ...{
21284
21291
  name: "FInput"
@@ -21519,7 +21526,7 @@ var _sfc_main$V = /* @__PURE__ */ defineComponent({
21519
21526
  fn: withCtx(() => [
21520
21527
  __props.inputType === "amount" ? (openBlock(), createElementBlock(
21521
21528
  "span",
21522
- _hoisted_2$r,
21529
+ _hoisted_2$s,
21523
21530
  toDisplayString(appendTitleText.value),
21524
21531
  1
21525
21532
  /* TEXT */
@@ -22081,8 +22088,8 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
22081
22088
  });
22082
22089
 
22083
22090
  const _hoisted_1$B = { class: "inside_box" };
22084
- const _hoisted_2$q = { class: "inside_box_title" };
22085
- const _hoisted_3$i = { class: "check-box" };
22091
+ const _hoisted_2$r = { class: "inside_box_title" };
22092
+ const _hoisted_3$j = { class: "check-box" };
22086
22093
  const _hoisted_4$9 = { class: "more_dropdown_icon" };
22087
22094
  const _hoisted_5$8 = { class: "out_box" };
22088
22095
  var _sfc_main$P = /* @__PURE__ */ defineComponent({
@@ -22224,7 +22231,7 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
22224
22231
  ]),
22225
22232
  default: withCtx(() => [
22226
22233
  createElementVNode("div", _hoisted_1$B, [
22227
- createElementVNode("div", _hoisted_2$q, [
22234
+ createElementVNode("div", _hoisted_2$r, [
22228
22235
  createElementVNode(
22229
22236
  "div",
22230
22237
  null,
@@ -22232,7 +22239,7 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
22232
22239
  1
22233
22240
  /* TEXT */
22234
22241
  ),
22235
- createElementVNode("div", _hoisted_3$i, [
22242
+ createElementVNode("div", _hoisted_3$j, [
22236
22243
  createVNode(_component_el_button, {
22237
22244
  size: "small",
22238
22245
  link: "",
@@ -23101,8 +23108,8 @@ const _hoisted_1$A = {
23101
23108
  key: 0,
23102
23109
  class: "table_query_condition"
23103
23110
  };
23104
- const _hoisted_2$p = ["element-loading-text"];
23105
- const _hoisted_3$h = { key: 2 };
23111
+ const _hoisted_2$q = ["element-loading-text"];
23112
+ const _hoisted_3$i = { key: 2 };
23106
23113
  const _hoisted_4$8 = {
23107
23114
  key: 0,
23108
23115
  class: "f-table-select__page"
@@ -23954,7 +23961,7 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
23954
23961
  key: 1,
23955
23962
  scope
23956
23963
  }) : createCommentVNode("v-if", true),
23957
- !item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$h, [
23964
+ !item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
23958
23965
  createElementVNode(
23959
23966
  "span",
23960
23967
  null,
@@ -23988,7 +23995,7 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
23988
23995
  total: pagination.total
23989
23996
  }, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
23990
23997
  ])) : createCommentVNode("v-if", true)
23991
- ], 8, _hoisted_2$p)), [
23998
+ ], 8, _hoisted_2$q)), [
23992
23999
  [_directive_loading, __props.tableLoading || internalLoading.value]
23993
24000
  ]),
23994
24001
  renderSlot(_ctx.$slots, "footer")
@@ -24054,7 +24061,7 @@ const _hoisted_1$z = {
24054
24061
  key: 1,
24055
24062
  class: "text_show"
24056
24063
  };
24057
- const _hoisted_2$o = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
24064
+ const _hoisted_2$p = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
24058
24065
  var _sfc_main$J = /* @__PURE__ */ defineComponent({
24059
24066
  ...{
24060
24067
  name: "FForm"
@@ -24448,7 +24455,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
24448
24455
  /* UNKEYED_FRAGMENT */
24449
24456
  )),
24450
24457
  createCommentVNode(" \u6309\u94AE "),
24451
- createElementVNode("div", _hoisted_2$o, [
24458
+ createElementVNode("div", _hoisted_2$p, [
24452
24459
  __props.formOpts.btnSlotName ? renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : createCommentVNode("v-if", true),
24453
24460
  !__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (openBlock(true), createElementBlock(
24454
24461
  Fragment,
@@ -24976,8 +24983,8 @@ const other = {
24976
24983
  };
24977
24984
 
24978
24985
  const _hoisted_1$x = { class: "layout-breadcrumb-seting" };
24979
- const _hoisted_2$n = { class: "layout-breadcrumb-seting-bar-flex" };
24980
- const _hoisted_3$g = { class: "layout-breadcrumb-seting-bar-flex-label" };
24986
+ const _hoisted_2$o = { class: "layout-breadcrumb-seting-bar-flex" };
24987
+ const _hoisted_3$h = { class: "layout-breadcrumb-seting-bar-flex-label" };
24981
24988
  const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
24982
24989
  const _hoisted_5$7 = { style: { "margin": "10px 0" } };
24983
24990
  const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
@@ -25389,10 +25396,10 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
25389
25396
  _: 1
25390
25397
  /* STABLE */
25391
25398
  }),
25392
- createElementVNode("div", _hoisted_2$n, [
25399
+ createElementVNode("div", _hoisted_2$o, [
25393
25400
  createElementVNode(
25394
25401
  "div",
25395
- _hoisted_3$g,
25402
+ _hoisted_3$h,
25396
25403
  toDisplayString(_ctx.$t("message.layout.themeColors")),
25397
25404
  1
25398
25405
  /* TEXT */
@@ -27720,8 +27727,8 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
27720
27727
  const FmInputNumber = _sfc_main$C;
27721
27728
 
27722
27729
  const _hoisted_1$v = { style: { "color": "#fff" } };
27723
- const _hoisted_2$m = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27724
- 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" } };
27730
+ 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" } };
27731
+ const _hoisted_3$g = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27725
27732
  const _hoisted_4$6 = { style: { "margin-top": "10px" } };
27726
27733
  const _hoisted_5$6 = { class: "dialog-footer" };
27727
27734
  var _sfc_main$B = /* @__PURE__ */ defineComponent({
@@ -27909,7 +27916,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
27909
27916
  default: withCtx(() => [
27910
27917
  createElementVNode(
27911
27918
  "p",
27912
- _hoisted_2$m,
27919
+ _hoisted_2$n,
27913
27920
  toDisplayString(_ctx.$t("\u673A\u6784")),
27914
27921
  1
27915
27922
  /* TEXT */
@@ -27931,7 +27938,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
27931
27938
  default: withCtx(() => [
27932
27939
  createElementVNode(
27933
27940
  "p",
27934
- _hoisted_3$f,
27941
+ _hoisted_3$g,
27935
27942
  toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
27936
27943
  1
27937
27944
  /* TEXT */
@@ -28116,8 +28123,8 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
28116
28123
  });
28117
28124
 
28118
28125
  const _hoisted_1$u = { style: { "color": "#fff" } };
28119
- const _hoisted_2$l = { style: { "margin-top": "10px" } };
28120
- const _hoisted_3$e = { class: "dialog-footer" };
28126
+ const _hoisted_2$m = { style: { "margin-top": "10px" } };
28127
+ const _hoisted_3$f = { class: "dialog-footer" };
28121
28128
  var _sfc_main$A = /* @__PURE__ */ defineComponent({
28122
28129
  __name: "supplierSelectDialog",
28123
28130
  props: {
@@ -28261,7 +28268,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
28261
28268
  ])
28262
28269
  ]),
28263
28270
  footer: withCtx(() => [
28264
- createElementVNode("div", _hoisted_3$e, [
28271
+ createElementVNode("div", _hoisted_3$f, [
28265
28272
  createVNode(_component_el_button, {
28266
28273
  icon: "ele-CircleCloseFilled",
28267
28274
  onClick: closeDialog
@@ -28284,7 +28291,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
28284
28291
  default: withCtx(() => [
28285
28292
  createVNode(_component_el_col, { span: 24 }, {
28286
28293
  default: withCtx(() => [
28287
- createElementVNode("div", _hoisted_2$l, [
28294
+ createElementVNode("div", _hoisted_2$m, [
28288
28295
  createVNode(_component_el_form, {
28289
28296
  model: state.queryParams,
28290
28297
  ref: "queryRef",
@@ -28495,8 +28502,8 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
28495
28502
  });
28496
28503
 
28497
28504
  const _hoisted_1$t = { style: { "color": "#fff" } };
28498
- const _hoisted_2$k = { style: { "margin-top": "10px" } };
28499
- const _hoisted_3$d = { class: "dialog-footer" };
28505
+ const _hoisted_2$l = { style: { "margin-top": "10px" } };
28506
+ const _hoisted_3$e = { class: "dialog-footer" };
28500
28507
  var _sfc_main$z = /* @__PURE__ */ defineComponent({
28501
28508
  __name: "supplierUserSelectDialog",
28502
28509
  props: {
@@ -28633,7 +28640,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
28633
28640
  ])
28634
28641
  ]),
28635
28642
  footer: withCtx(() => [
28636
- createElementVNode("div", _hoisted_3$d, [
28643
+ createElementVNode("div", _hoisted_3$e, [
28637
28644
  createVNode(_component_el_button, {
28638
28645
  icon: "ele-CircleCloseFilled",
28639
28646
  onClick: closeDialog
@@ -28656,7 +28663,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
28656
28663
  default: withCtx(() => [
28657
28664
  createVNode(_component_el_col, { span: 24 }, {
28658
28665
  default: withCtx(() => [
28659
- createElementVNode("div", _hoisted_2$k, [
28666
+ createElementVNode("div", _hoisted_2$l, [
28660
28667
  createVNode(_component_el_form, {
28661
28668
  model: state.queryParams,
28662
28669
  ref: "queryRef",
@@ -28824,8 +28831,8 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
28824
28831
  });
28825
28832
 
28826
28833
  const _hoisted_1$s = { style: { "color": "#fff" } };
28827
- const _hoisted_2$j = { style: { "margin-top": "10px" } };
28828
- const _hoisted_3$c = { class: "dialog-footer" };
28834
+ const _hoisted_2$k = { style: { "margin-top": "10px" } };
28835
+ const _hoisted_3$d = { class: "dialog-footer" };
28829
28836
  var _sfc_main$y = /* @__PURE__ */ defineComponent({
28830
28837
  __name: "accountSelectDialog",
28831
28838
  props: {
@@ -28960,7 +28967,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
28960
28967
  ])
28961
28968
  ]),
28962
28969
  footer: withCtx(() => [
28963
- createElementVNode("div", _hoisted_3$c, [
28970
+ createElementVNode("div", _hoisted_3$d, [
28964
28971
  createVNode(_component_el_button, {
28965
28972
  icon: "ele-CircleCloseFilled",
28966
28973
  onClick: closeDialog
@@ -28983,7 +28990,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
28983
28990
  default: withCtx(() => [
28984
28991
  createVNode(_component_el_col, { span: 24 }, {
28985
28992
  default: withCtx(() => [
28986
- createElementVNode("div", _hoisted_2$j, [
28993
+ createElementVNode("div", _hoisted_2$k, [
28987
28994
  createVNode(_component_el_form, {
28988
28995
  model: state.queryParams,
28989
28996
  ref: "queryRef",
@@ -29145,8 +29152,8 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
29145
29152
  });
29146
29153
 
29147
29154
  const _hoisted_1$r = { style: { "color": "#fff" } };
29148
- const _hoisted_2$i = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
29149
- 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" } };
29155
+ 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" } };
29156
+ const _hoisted_3$c = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
29150
29157
  const _hoisted_4$5 = { style: { "margin-top": "10px" } };
29151
29158
  const _hoisted_5$5 = { class: "dialog-footer" };
29152
29159
  var _sfc_main$x = /* @__PURE__ */ defineComponent({
@@ -29301,7 +29308,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
29301
29308
  default: withCtx(() => [
29302
29309
  createElementVNode(
29303
29310
  "p",
29304
- _hoisted_2$i,
29311
+ _hoisted_2$j,
29305
29312
  toDisplayString(_ctx.$t("\u5927\u7C7B")),
29306
29313
  1
29307
29314
  /* TEXT */
@@ -29319,7 +29326,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
29319
29326
  default: withCtx(() => [
29320
29327
  createElementVNode(
29321
29328
  "p",
29322
- _hoisted_3$b,
29329
+ _hoisted_3$c,
29323
29330
  toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
29324
29331
  1
29325
29332
  /* TEXT */
@@ -29471,8 +29478,8 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
29471
29478
  });
29472
29479
 
29473
29480
  const _hoisted_1$q = { style: { "color": "#fff" } };
29474
- const _hoisted_2$h = { style: { "margin-top": "10px" } };
29475
- const _hoisted_3$a = { class: "dialog-footer" };
29481
+ const _hoisted_2$i = { style: { "margin-top": "10px" } };
29482
+ const _hoisted_3$b = { class: "dialog-footer" };
29476
29483
  var _sfc_main$w = /* @__PURE__ */ defineComponent({
29477
29484
  __name: "linSelectDialog",
29478
29485
  props: {
@@ -29609,7 +29616,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
29609
29616
  ])
29610
29617
  ]),
29611
29618
  footer: withCtx(() => [
29612
- createElementVNode("div", _hoisted_3$a, [
29619
+ createElementVNode("div", _hoisted_3$b, [
29613
29620
  createVNode(_component_el_button, {
29614
29621
  icon: "ele-CircleCloseFilled",
29615
29622
  onClick: closeDialog
@@ -29632,7 +29639,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
29632
29639
  default: withCtx(() => [
29633
29640
  createVNode(_component_el_col, { span: 24 }, {
29634
29641
  default: withCtx(() => [
29635
- createElementVNode("div", _hoisted_2$h, [
29642
+ createElementVNode("div", _hoisted_2$i, [
29636
29643
  createVNode(_component_el_form, {
29637
29644
  model: state.queryParams,
29638
29645
  ref: "queryRef",
@@ -29812,8 +29819,8 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
29812
29819
  });
29813
29820
 
29814
29821
  const _hoisted_1$p = { style: { "color": "#fff" } };
29815
- const _hoisted_2$g = { style: { "margin-top": "10px" } };
29816
- const _hoisted_3$9 = { class: "dialog-footer" };
29822
+ const _hoisted_2$h = { style: { "margin-top": "10px" } };
29823
+ const _hoisted_3$a = { class: "dialog-footer" };
29817
29824
  var _sfc_main$v = /* @__PURE__ */ defineComponent({
29818
29825
  __name: "guideSelectDialog",
29819
29826
  props: {
@@ -29950,7 +29957,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
29950
29957
  ])
29951
29958
  ]),
29952
29959
  footer: withCtx(() => [
29953
- createElementVNode("div", _hoisted_3$9, [
29960
+ createElementVNode("div", _hoisted_3$a, [
29954
29961
  createVNode(_component_el_button, {
29955
29962
  icon: "ele-CircleCloseFilled",
29956
29963
  onClick: closeDialog
@@ -29973,7 +29980,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
29973
29980
  default: withCtx(() => [
29974
29981
  createVNode(_component_el_col, { span: 24 }, {
29975
29982
  default: withCtx(() => [
29976
- createElementVNode("div", _hoisted_2$g, [
29983
+ createElementVNode("div", _hoisted_2$h, [
29977
29984
  createVNode(_component_el_form, {
29978
29985
  model: state.queryParams,
29979
29986
  ref: "queryRef",
@@ -30129,8 +30136,8 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
30129
30136
  });
30130
30137
 
30131
30138
  const _hoisted_1$o = { style: { "color": "#fff" } };
30132
- const _hoisted_2$f = { style: { "margin-top": "10px" } };
30133
- const _hoisted_3$8 = { class: "dialog-footer" };
30139
+ const _hoisted_2$g = { style: { "margin-top": "10px" } };
30140
+ const _hoisted_3$9 = { class: "dialog-footer" };
30134
30141
  var _sfc_main$u = /* @__PURE__ */ defineComponent({
30135
30142
  __name: "dirverSelectDialog",
30136
30143
  props: {
@@ -30267,7 +30274,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
30267
30274
  ])
30268
30275
  ]),
30269
30276
  footer: withCtx(() => [
30270
- createElementVNode("div", _hoisted_3$8, [
30277
+ createElementVNode("div", _hoisted_3$9, [
30271
30278
  createVNode(_component_el_button, {
30272
30279
  icon: "ele-CircleCloseFilled",
30273
30280
  onClick: closeDialog
@@ -30290,7 +30297,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
30290
30297
  default: withCtx(() => [
30291
30298
  createVNode(_component_el_col, { span: 24 }, {
30292
30299
  default: withCtx(() => [
30293
- createElementVNode("div", _hoisted_2$f, [
30300
+ createElementVNode("div", _hoisted_2$g, [
30294
30301
  createVNode(_component_el_form, {
30295
30302
  model: state.queryParams,
30296
30303
  ref: "queryRef",
@@ -31216,7 +31223,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
31216
31223
  const Fmdatepicker = _sfc_main$r;
31217
31224
 
31218
31225
  const _hoisted_1$l = { style: { "display": "flex", "justify-content": "space-between", "align-items": "center" } };
31219
- const _hoisted_2$e = { style: { "font-size": "16px" } };
31226
+ const _hoisted_2$f = { style: { "font-size": "16px" } };
31220
31227
  const _sfc_main$q = /* @__PURE__ */ Object.assign({
31221
31228
  name: "FmPeriod"
31222
31229
  }, {
@@ -31316,7 +31323,7 @@ const _sfc_main$q = /* @__PURE__ */ Object.assign({
31316
31323
  }, null, 8, ["icon"]),
31317
31324
  createElementVNode(
31318
31325
  "b",
31319
- _hoisted_2$e,
31326
+ _hoisted_2$f,
31320
31327
  toDisplayString(currentYear.value) + toDisplayString(_ctx.$t("\u5E74") || "\u5E74"),
31321
31328
  1
31322
31329
  /* TEXT */
@@ -31440,7 +31447,9 @@ const _sfc_main$q = /* @__PURE__ */ Object.assign({
31440
31447
 
31441
31448
  const FmPeriod = _sfc_main$q;
31442
31449
 
31443
- const _hoisted_1$k = ["innerHTML"];
31450
+ const _hoisted_1$k = { style: { "position": "relative", "display": "inline-flex", "align-items": "center", "width": "100%", "max-width": "100%" } };
31451
+ const _hoisted_2$e = { style: { "flex": "1", "min-width": "0", "position": "relative" } };
31452
+ const _hoisted_3$8 = ["innerHTML"];
31444
31453
  var _sfc_main$p = /* @__PURE__ */ defineComponent({
31445
31454
  ...{
31446
31455
  name: "FmTooltip"
@@ -31469,21 +31478,28 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
31469
31478
  const props = __props;
31470
31479
  const useBaseApi = usefmPageFormDatatore();
31471
31480
  const tipLoadData = computed(() => {
31472
- return useBaseApi.getLableLogData(props.params.table, props.params.field, props.params.bizid, props.params.bizType);
31481
+ var _a;
31482
+ return useBaseApi.getLableLogData(props.params.table, props.params.field, props.params.bizid, ((_a = props.params) == null ? void 0 : _a.bizType) || "basefrom");
31473
31483
  });
31474
31484
  return (_ctx, _cache) => {
31475
31485
  const _component_el_icon = resolveComponent("el-icon");
31476
31486
  const _component_el_tooltip = resolveComponent("el-tooltip");
31477
- return openBlock(), createElementBlock("div", null, [
31478
- createTextVNode(
31479
- toDisplayString(__props.label) + " ",
31480
- 1
31481
- /* TEXT */
31482
- ),
31483
- createVNode(_component_el_tooltip, {
31487
+ return openBlock(), createElementBlock("div", _hoisted_1$k, [
31488
+ createElementVNode("div", _hoisted_2$e, [
31489
+ renderSlot(_ctx.$slots, "default", {}, () => [
31490
+ createTextVNode(
31491
+ toDisplayString(__props.label),
31492
+ 1
31493
+ /* TEXT */
31494
+ )
31495
+ ])
31496
+ ]),
31497
+ tipLoadData.value.length > 0 || __props.content ? (openBlock(), createBlock(_component_el_tooltip, {
31498
+ key: 0,
31484
31499
  "raw-content": "",
31485
31500
  placement: "top",
31486
- effect: "light"
31501
+ effect: "light",
31502
+ style: { "position": "absolute", "top": "4px", "right": "4px", "z-index": "10", "line-height": "1" }
31487
31503
  }, {
31488
31504
  content: withCtx(() => [
31489
31505
  tipLoadData.value.length > 0 ? (openBlock(true), createElementBlock(
@@ -31534,10 +31550,13 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
31534
31550
  )) : (openBlock(), createElementBlock("p", {
31535
31551
  key: 1,
31536
31552
  innerHTML: __props.content
31537
- }, null, 8, _hoisted_1$k))
31553
+ }, null, 8, _hoisted_3$8))
31538
31554
  ]),
31539
31555
  default: withCtx(() => [
31540
- createVNode(_component_el_icon, { color: "#ff4d4f" }, {
31556
+ createVNode(_component_el_icon, {
31557
+ size: 10,
31558
+ color: "#ff4d4f"
31559
+ }, {
31541
31560
  default: withCtx(() => [
31542
31561
  createVNode(unref(Opportunity))
31543
31562
  ]),
@@ -31547,7 +31566,7 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
31547
31566
  ]),
31548
31567
  _: 1
31549
31568
  /* STABLE */
31550
- })
31569
+ })) : createCommentVNode("v-if", true)
31551
31570
  ]);
31552
31571
  };
31553
31572
  }
@@ -1,35 +1,87 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- export declare const FmTooltip: DefineComponent<ExtractPropTypes<{
3
- label: {
4
- type: StringConstructor;
5
- default: string;
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
- default: never[];
23
- };
24
- content: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- params: {
29
- type: ObjectConstructor;
30
- default: () => void;
31
- };
32
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
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
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
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 const _default: DefineComponent<ExtractPropTypes<{
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
+ };