@fmdeui/fmui 1.0.174 → 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.
@@ -1,10 +1,11 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, renderSlot, createTextVNode, toDisplayString, createBlock, withCtx, createVNode, unref, Fragment, renderList, createElementVNode, createCommentVNode } from 'vue';
1
+ import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, renderSlot, createTextVNode, toDisplayString, createBlock, withCtx, createVNode, unref, Fragment, renderList, createCommentVNode } from 'vue';
2
2
  import { Opportunity } from '@element-plus/icons-vue';
3
3
  import '../../stores/index.mjs';
4
4
  import { usefmPageFormDatatore } from '../../stores/thepagefromdata.mjs';
5
5
 
6
- const _hoisted_1 = { style: { "display": "inline-flex" } };
7
- const _hoisted_2 = ["innerHTML"];
6
+ const _hoisted_1 = { style: { "position": "relative", "display": "inline-flex", "align-items": "center", "width": "100%", "max-width": "100%" } };
7
+ const _hoisted_2 = { style: { "flex": "1", "min-width": "0", "position": "relative" } };
8
+ const _hoisted_3 = ["innerHTML"];
8
9
  var _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  ...{
10
11
  name: "FmTooltip"
@@ -40,17 +41,21 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
40
41
  const _component_el_icon = resolveComponent("el-icon");
41
42
  const _component_el_tooltip = resolveComponent("el-tooltip");
42
43
  return openBlock(), createElementBlock("div", _hoisted_1, [
43
- renderSlot(_ctx.$slots, "default"),
44
- createTextVNode(
45
- " " + toDisplayString(__props.label) + " ",
46
- 1
47
- /* TEXT */
48
- ),
44
+ createElementVNode("div", _hoisted_2, [
45
+ renderSlot(_ctx.$slots, "default", {}, () => [
46
+ createTextVNode(
47
+ toDisplayString(__props.label),
48
+ 1
49
+ /* TEXT */
50
+ )
51
+ ])
52
+ ]),
49
53
  tipLoadData.value.length > 0 || __props.content ? (openBlock(), createBlock(_component_el_tooltip, {
50
54
  key: 0,
51
55
  "raw-content": "",
52
56
  placement: "top",
53
- effect: "light"
57
+ effect: "light",
58
+ style: { "position": "absolute", "top": "4px", "right": "4px", "z-index": "10", "line-height": "1" }
54
59
  }, {
55
60
  content: withCtx(() => [
56
61
  tipLoadData.value.length > 0 ? (openBlock(true), createElementBlock(
@@ -101,10 +106,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
101
106
  )) : (openBlock(), createElementBlock("p", {
102
107
  key: 1,
103
108
  innerHTML: __props.content
104
- }, null, 8, _hoisted_2))
109
+ }, null, 8, _hoisted_3))
105
110
  ]),
106
111
  default: withCtx(() => [
107
- createVNode(_component_el_icon, { color: "#ff4d4f" }, {
112
+ createVNode(_component_el_icon, {
113
+ size: 10,
114
+ color: "#ff4d4f"
115
+ }, {
108
116
  default: withCtx(() => [
109
117
  createVNode(unref(Opportunity))
110
118
  ]),
@@ -8,6 +8,7 @@ const usefmPageFormDatatore = defineStore("fmPageFormDatatore", () => {
8
8
  });
9
9
  const setFormData = (data, bizType = "basefrom") => {
10
10
  state.formData[bizType] = data;
11
+ state.currentBizType = bizType;
11
12
  };
12
13
  const setCurrentBizType = (bizType = "") => {
13
14
  state.currentBizType = bizType;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.174 */
1
+ /*! fmdeui-fmui v1.0.175 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
@@ -4103,6 +4103,7 @@
4103
4103
  });
4104
4104
  const setFormData = (data, bizType = "basefrom") => {
4105
4105
  state.formData[bizType] = data;
4106
+ state.currentBizType = bizType;
4106
4107
  };
4107
4108
  const setCurrentBizType = (bizType = "") => {
4108
4109
  state.currentBizType = bizType;
@@ -22090,7 +22091,7 @@
22090
22091
 
22091
22092
  const _hoisted_1$B = { class: "inside_box" };
22092
22093
  const _hoisted_2$r = { class: "inside_box_title" };
22093
- const _hoisted_3$i = { class: "check-box" };
22094
+ const _hoisted_3$j = { class: "check-box" };
22094
22095
  const _hoisted_4$9 = { class: "more_dropdown_icon" };
22095
22096
  const _hoisted_5$8 = { class: "out_box" };
22096
22097
  var _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
@@ -22240,7 +22241,7 @@
22240
22241
  1
22241
22242
  /* TEXT */
22242
22243
  ),
22243
- vue.createElementVNode("div", _hoisted_3$i, [
22244
+ vue.createElementVNode("div", _hoisted_3$j, [
22244
22245
  vue.createVNode(_component_el_button, {
22245
22246
  size: "small",
22246
22247
  link: "",
@@ -23110,7 +23111,7 @@
23110
23111
  class: "table_query_condition"
23111
23112
  };
23112
23113
  const _hoisted_2$q = ["element-loading-text"];
23113
- const _hoisted_3$h = { key: 2 };
23114
+ const _hoisted_3$i = { key: 2 };
23114
23115
  const _hoisted_4$8 = {
23115
23116
  key: 0,
23116
23117
  class: "f-table-select__page"
@@ -23962,7 +23963,7 @@
23962
23963
  key: 1,
23963
23964
  scope
23964
23965
  }) : vue.createCommentVNode("v-if", true),
23965
- !item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$h, [
23966
+ !item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$i, [
23966
23967
  vue.createElementVNode(
23967
23968
  "span",
23968
23969
  null,
@@ -24985,7 +24986,7 @@
24985
24986
 
24986
24987
  const _hoisted_1$x = { class: "layout-breadcrumb-seting" };
24987
24988
  const _hoisted_2$o = { class: "layout-breadcrumb-seting-bar-flex" };
24988
- const _hoisted_3$g = { class: "layout-breadcrumb-seting-bar-flex-label" };
24989
+ const _hoisted_3$h = { class: "layout-breadcrumb-seting-bar-flex-label" };
24989
24990
  const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
24990
24991
  const _hoisted_5$7 = { style: { "margin": "10px 0" } };
24991
24992
  const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
@@ -25400,7 +25401,7 @@
25400
25401
  vue.createElementVNode("div", _hoisted_2$o, [
25401
25402
  vue.createElementVNode(
25402
25403
  "div",
25403
- _hoisted_3$g,
25404
+ _hoisted_3$h,
25404
25405
  vue.toDisplayString(_ctx.$t("message.layout.themeColors")),
25405
25406
  1
25406
25407
  /* TEXT */
@@ -27729,7 +27730,7 @@
27729
27730
 
27730
27731
  const _hoisted_1$v = { style: { "color": "#fff" } };
27731
27732
  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" } };
27732
- 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" } };
27733
+ 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" } };
27733
27734
  const _hoisted_4$6 = { style: { "margin-top": "10px" } };
27734
27735
  const _hoisted_5$6 = { class: "dialog-footer" };
27735
27736
  var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
@@ -27939,7 +27940,7 @@
27939
27940
  default: vue.withCtx(() => [
27940
27941
  vue.createElementVNode(
27941
27942
  "p",
27942
- _hoisted_3$f,
27943
+ _hoisted_3$g,
27943
27944
  vue.toDisplayString(_ctx.$t(__props.title)) + vue.toDisplayString(_ctx.$t("\u5217\u8868")),
27944
27945
  1
27945
27946
  /* TEXT */
@@ -28125,7 +28126,7 @@
28125
28126
 
28126
28127
  const _hoisted_1$u = { style: { "color": "#fff" } };
28127
28128
  const _hoisted_2$m = { style: { "margin-top": "10px" } };
28128
- const _hoisted_3$e = { class: "dialog-footer" };
28129
+ const _hoisted_3$f = { class: "dialog-footer" };
28129
28130
  var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
28130
28131
  __name: "supplierSelectDialog",
28131
28132
  props: {
@@ -28269,7 +28270,7 @@
28269
28270
  ])
28270
28271
  ]),
28271
28272
  footer: vue.withCtx(() => [
28272
- vue.createElementVNode("div", _hoisted_3$e, [
28273
+ vue.createElementVNode("div", _hoisted_3$f, [
28273
28274
  vue.createVNode(_component_el_button, {
28274
28275
  icon: "ele-CircleCloseFilled",
28275
28276
  onClick: closeDialog
@@ -28504,7 +28505,7 @@
28504
28505
 
28505
28506
  const _hoisted_1$t = { style: { "color": "#fff" } };
28506
28507
  const _hoisted_2$l = { style: { "margin-top": "10px" } };
28507
- const _hoisted_3$d = { class: "dialog-footer" };
28508
+ const _hoisted_3$e = { class: "dialog-footer" };
28508
28509
  var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
28509
28510
  __name: "supplierUserSelectDialog",
28510
28511
  props: {
@@ -28641,7 +28642,7 @@
28641
28642
  ])
28642
28643
  ]),
28643
28644
  footer: vue.withCtx(() => [
28644
- vue.createElementVNode("div", _hoisted_3$d, [
28645
+ vue.createElementVNode("div", _hoisted_3$e, [
28645
28646
  vue.createVNode(_component_el_button, {
28646
28647
  icon: "ele-CircleCloseFilled",
28647
28648
  onClick: closeDialog
@@ -28833,7 +28834,7 @@
28833
28834
 
28834
28835
  const _hoisted_1$s = { style: { "color": "#fff" } };
28835
28836
  const _hoisted_2$k = { style: { "margin-top": "10px" } };
28836
- const _hoisted_3$c = { class: "dialog-footer" };
28837
+ const _hoisted_3$d = { class: "dialog-footer" };
28837
28838
  var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
28838
28839
  __name: "accountSelectDialog",
28839
28840
  props: {
@@ -28968,7 +28969,7 @@
28968
28969
  ])
28969
28970
  ]),
28970
28971
  footer: vue.withCtx(() => [
28971
- vue.createElementVNode("div", _hoisted_3$c, [
28972
+ vue.createElementVNode("div", _hoisted_3$d, [
28972
28973
  vue.createVNode(_component_el_button, {
28973
28974
  icon: "ele-CircleCloseFilled",
28974
28975
  onClick: closeDialog
@@ -29154,7 +29155,7 @@
29154
29155
 
29155
29156
  const _hoisted_1$r = { style: { "color": "#fff" } };
29156
29157
  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" } };
29157
- 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" } };
29158
+ 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" } };
29158
29159
  const _hoisted_4$5 = { style: { "margin-top": "10px" } };
29159
29160
  const _hoisted_5$5 = { class: "dialog-footer" };
29160
29161
  var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
@@ -29327,7 +29328,7 @@
29327
29328
  default: vue.withCtx(() => [
29328
29329
  vue.createElementVNode(
29329
29330
  "p",
29330
- _hoisted_3$b,
29331
+ _hoisted_3$c,
29331
29332
  vue.toDisplayString(_ctx.$t(__props.title)) + vue.toDisplayString(_ctx.$t("\u5217\u8868")),
29332
29333
  1
29333
29334
  /* TEXT */
@@ -29480,7 +29481,7 @@
29480
29481
 
29481
29482
  const _hoisted_1$q = { style: { "color": "#fff" } };
29482
29483
  const _hoisted_2$i = { style: { "margin-top": "10px" } };
29483
- const _hoisted_3$a = { class: "dialog-footer" };
29484
+ const _hoisted_3$b = { class: "dialog-footer" };
29484
29485
  var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
29485
29486
  __name: "linSelectDialog",
29486
29487
  props: {
@@ -29617,7 +29618,7 @@
29617
29618
  ])
29618
29619
  ]),
29619
29620
  footer: vue.withCtx(() => [
29620
- vue.createElementVNode("div", _hoisted_3$a, [
29621
+ vue.createElementVNode("div", _hoisted_3$b, [
29621
29622
  vue.createVNode(_component_el_button, {
29622
29623
  icon: "ele-CircleCloseFilled",
29623
29624
  onClick: closeDialog
@@ -29821,7 +29822,7 @@
29821
29822
 
29822
29823
  const _hoisted_1$p = { style: { "color": "#fff" } };
29823
29824
  const _hoisted_2$h = { style: { "margin-top": "10px" } };
29824
- const _hoisted_3$9 = { class: "dialog-footer" };
29825
+ const _hoisted_3$a = { class: "dialog-footer" };
29825
29826
  var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
29826
29827
  __name: "guideSelectDialog",
29827
29828
  props: {
@@ -29958,7 +29959,7 @@
29958
29959
  ])
29959
29960
  ]),
29960
29961
  footer: vue.withCtx(() => [
29961
- vue.createElementVNode("div", _hoisted_3$9, [
29962
+ vue.createElementVNode("div", _hoisted_3$a, [
29962
29963
  vue.createVNode(_component_el_button, {
29963
29964
  icon: "ele-CircleCloseFilled",
29964
29965
  onClick: closeDialog
@@ -30138,7 +30139,7 @@
30138
30139
 
30139
30140
  const _hoisted_1$o = { style: { "color": "#fff" } };
30140
30141
  const _hoisted_2$g = { style: { "margin-top": "10px" } };
30141
- const _hoisted_3$8 = { class: "dialog-footer" };
30142
+ const _hoisted_3$9 = { class: "dialog-footer" };
30142
30143
  var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
30143
30144
  __name: "dirverSelectDialog",
30144
30145
  props: {
@@ -30275,7 +30276,7 @@
30275
30276
  ])
30276
30277
  ]),
30277
30278
  footer: vue.withCtx(() => [
30278
- vue.createElementVNode("div", _hoisted_3$8, [
30279
+ vue.createElementVNode("div", _hoisted_3$9, [
30279
30280
  vue.createVNode(_component_el_button, {
30280
30281
  icon: "ele-CircleCloseFilled",
30281
30282
  onClick: closeDialog
@@ -31448,8 +31449,9 @@
31448
31449
 
31449
31450
  const FmPeriod = _sfc_main$q;
31450
31451
 
31451
- const _hoisted_1$k = { style: { "display": "inline-flex" } };
31452
- const _hoisted_2$e = ["innerHTML"];
31452
+ const _hoisted_1$k = { style: { "position": "relative", "display": "inline-flex", "align-items": "center", "width": "100%", "max-width": "100%" } };
31453
+ const _hoisted_2$e = { style: { "flex": "1", "min-width": "0", "position": "relative" } };
31454
+ const _hoisted_3$8 = ["innerHTML"];
31453
31455
  var _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
31454
31456
  ...{
31455
31457
  name: "FmTooltip"
@@ -31485,17 +31487,21 @@
31485
31487
  const _component_el_icon = vue.resolveComponent("el-icon");
31486
31488
  const _component_el_tooltip = vue.resolveComponent("el-tooltip");
31487
31489
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
31488
- vue.renderSlot(_ctx.$slots, "default"),
31489
- vue.createTextVNode(
31490
- " " + vue.toDisplayString(__props.label) + " ",
31491
- 1
31492
- /* TEXT */
31493
- ),
31490
+ vue.createElementVNode("div", _hoisted_2$e, [
31491
+ vue.renderSlot(_ctx.$slots, "default", {}, () => [
31492
+ vue.createTextVNode(
31493
+ vue.toDisplayString(__props.label),
31494
+ 1
31495
+ /* TEXT */
31496
+ )
31497
+ ])
31498
+ ]),
31494
31499
  tipLoadData.value.length > 0 || __props.content ? (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
31495
31500
  key: 0,
31496
31501
  "raw-content": "",
31497
31502
  placement: "top",
31498
- effect: "light"
31503
+ effect: "light",
31504
+ style: { "position": "absolute", "top": "4px", "right": "4px", "z-index": "10", "line-height": "1" }
31499
31505
  }, {
31500
31506
  content: vue.withCtx(() => [
31501
31507
  tipLoadData.value.length > 0 ? (vue.openBlock(true), vue.createElementBlock(
@@ -31546,10 +31552,13 @@
31546
31552
  )) : (vue.openBlock(), vue.createElementBlock("p", {
31547
31553
  key: 1,
31548
31554
  innerHTML: __props.content
31549
- }, null, 8, _hoisted_2$e))
31555
+ }, null, 8, _hoisted_3$8))
31550
31556
  ]),
31551
31557
  default: vue.withCtx(() => [
31552
- vue.createVNode(_component_el_icon, { color: "#ff4d4f" }, {
31558
+ vue.createVNode(_component_el_icon, {
31559
+ size: 10,
31560
+ color: "#ff4d4f"
31561
+ }, {
31553
31562
  default: vue.withCtx(() => [
31554
31563
  vue.createVNode(vue.unref(svg.Opportunity))
31555
31564
  ]),