@fmdeui/fmui 1.0.103 → 1.0.104

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.
@@ -130,7 +130,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
130
130
  const _component_el_dropdown = resolveComponent("el-dropdown");
131
131
  return openBlock(), createBlock(_component_el_dropdown, {
132
132
  class: "fminputdropdown",
133
- placement: "bottom",
133
+ placement: "bottom-start",
134
134
  trigger: "click",
135
135
  style: { "width": "100%" },
136
136
  onCommand: handCommand
@@ -49,8 +49,8 @@ function authDirective(app) {
49
49
  mounted(el, binding) {
50
50
  var _a, _b, _c, _d;
51
51
  const stores = useUserInfo();
52
- const config = typeof binding.value === "string" ? { path: binding.value, field: "" } : binding.value;
53
- const itemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === config.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === "main")) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === config.field);
52
+ const config = typeof binding.value === "string" ? { path: binding.value, field: "", flag: "main" } : binding.value;
53
+ const itemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === config.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === (config.flag || "main"))) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === config.field);
54
54
  if (itemField && itemField.isAddUpdate == 0) el.parentNode.removeChild(el);
55
55
  }
56
56
  });
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.103 */
1
+ /*! fmdeui-fmui v1.0.104 */
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) :
@@ -3975,8 +3975,8 @@
3975
3975
  mounted(el, binding) {
3976
3976
  var _a, _b, _c, _d;
3977
3977
  const stores = useUserInfo();
3978
- const config = typeof binding.value === "string" ? { path: binding.value, field: "" } : binding.value;
3979
- const itemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === config.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === "main")) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === config.field);
3978
+ const config = typeof binding.value === "string" ? { path: binding.value, field: "", flag: "main" } : binding.value;
3979
+ const itemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === config.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === (config.flag || "main"))) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === config.field);
3980
3980
  if (itemField && itemField.isAddUpdate == 0) el.parentNode.removeChild(el);
3981
3981
  }
3982
3982
  });
@@ -26785,7 +26785,7 @@
26785
26785
  const _component_el_dropdown = vue.resolveComponent("el-dropdown");
26786
26786
  return vue.openBlock(), vue.createBlock(_component_el_dropdown, {
26787
26787
  class: "fminputdropdown",
26788
- placement: "bottom",
26788
+ placement: "bottom-start",
26789
26789
  trigger: "click",
26790
26790
  style: { "width": "100%" },
26791
26791
  onCommand: handCommand