@fmdevui/fm-dev 1.0.64 → 1.0.66

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
- /*! fm-dev v1.0.64 */
1
+ /*! fm-dev v1.0.66 */
2
2
  import { defineComponent, reactive, computed, watch, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString as toDisplayString$1, withDirectives, createElementBlock, Fragment, renderList, vShow, ref, onMounted, nextTick, normalizeStyle, createCommentVNode, normalizeClass, withModifiers, mergeModels, useModel, effectScope, getCurrentInstance, shallowRef, isRef as isRef$1, inject, onUnmounted, h, Text, resolveDirective, unref, resolveDynamicComponent, markRaw, toRaw as toRaw$1, hasInjectionContext, isReactive as isReactive$1, toRef, getCurrentScope, onScopeDispose, toRefs } from 'vue';
3
3
  import crypto from 'crypto';
4
4
  import require$$0 from 'url';
@@ -30043,10 +30043,10 @@ var svg = /*#__PURE__*/Object.freeze({
30043
30043
  ZoomOut: zoom_out_default
30044
30044
  });
30045
30045
 
30046
- const _hoisted_1$1 = { class: "card-header" };
30047
- const _hoisted_2 = { class: "tree-h-flex" };
30048
- const _hoisted_3 = { class: "tree-h-left" };
30049
- const _hoisted_4 = { class: "tree-h-right-group" };
30046
+ const _hoisted_1$1 = { style: { "padding": "5px" } };
30047
+ const _hoisted_2 = { style: { "display": "flex", "align-items": "center", "gap": "8px", "flex-wrap": "nowrap", "overflow": "hidden" } };
30048
+ const _hoisted_3 = { style: { "flex": "1 1 200px", "min-width": "0", "overflow": "hidden" } };
30049
+ const _hoisted_4 = { style: { "display": "flex", "align-items": "center", "flex-shrink": "0", "white-space": "nowrap" } };
30050
30050
  const _hoisted_5 = { style: { "margin-bottom": "45px" } };
30051
30051
  var _sfc_main$2 = /* @__PURE__ */ defineComponent({
30052
30052
  ...{
@@ -30139,20 +30139,20 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
30139
30139
  __expose({ fetchTreeData, getCheckedKeys, setCurrentKey });
30140
30140
  return (_ctx, _cache) => {
30141
30141
  const _component_el_input = resolveComponent("el-input");
30142
+ const _component_el_checkbox = resolveComponent("el-checkbox");
30142
30143
  const _component_el_icon = resolveComponent("el-icon");
30143
30144
  const _component_el_button = resolveComponent("el-button");
30144
30145
  const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
30145
30146
  const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
30146
30147
  const _component_el_dropdown = resolveComponent("el-dropdown");
30147
- const _component_el_checkbox = resolveComponent("el-checkbox");
30148
30148
  const _component_el_tree = resolveComponent("el-tree");
30149
30149
  const _component_el_scrollbar = resolveComponent("el-scrollbar");
30150
30150
  const _component_el_card = resolveComponent("el-card");
30151
30151
  const _directive_loading = resolveDirective("loading");
30152
30152
  return openBlock(), createBlock(_component_el_card, {
30153
- class: "box-card",
30154
30153
  shadow: "hover",
30155
- "body-style": "height:100%;overflow:auto;padding:5px;width:100%;"
30154
+ "body-style": "height:100%;overflow:auto;padding:5px;width:100%;",
30155
+ style: { "height": "100%" }
30156
30156
  }, {
30157
30157
  header: withCtx(() => [
30158
30158
  createElementVNode("div", _hoisted_1$1, [
@@ -30168,6 +30168,14 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
30168
30168
  }, null, 8, ["prefix-icon", "modelValue"])
30169
30169
  ]),
30170
30170
  createElementVNode("div", _hoisted_4, [
30171
+ !props.checkStrictly && state.isShowCheckbox ? (openBlock(), createBlock(_component_el_checkbox, {
30172
+ key: 0,
30173
+ modelValue: state.strictly,
30174
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.strictly = $event),
30175
+ label: "\u8054\u52A8",
30176
+ style: { "margin-left": "8px" },
30177
+ border: ""
30178
+ }, null, 8, ["modelValue"])) : createCommentVNode("v-if", true),
30171
30179
  createVNode(_component_el_dropdown, { onCommand: handleCommand }, {
30172
30180
  dropdown: withCtx(() => [
30173
30181
  createVNode(_component_el_dropdown_menu, null, {
@@ -30223,15 +30231,7 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
30223
30231
  _: 1
30224
30232
  /* STABLE */
30225
30233
  })
30226
- ]),
30227
- !props.checkStrictly && state.isShowCheckbox ? (openBlock(), createBlock(_component_el_checkbox, {
30228
- key: 0,
30229
- modelValue: state.strictly,
30230
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.strictly = $event),
30231
- label: "\u8054\u52A8",
30232
- style: { "margin-left": "8px" },
30233
- border: ""
30234
- }, null, 8, ["modelValue"])) : createCommentVNode("v-if", true)
30234
+ ])
30235
30235
  ])
30236
30236
  ])
30237
30237
  ]),
@@ -30279,8 +30279,6 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
30279
30279
  }
30280
30280
  });
30281
30281
 
30282
- var fmtree = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-a783e82e"]]);
30283
-
30284
30282
  const _hoisted_1 = ["src"];
30285
30283
  var _sfc_main$1 = /* @__PURE__ */ defineComponent({
30286
30284
  ...{
@@ -30386,7 +30384,7 @@ const FmDragImg = dragimg;
30386
30384
  const Fmselect = _sfc_main$5;
30387
30385
  const FmAutocomplete = _sfc_main$4;
30388
30386
  const Fminputdropdown = _sfc_main$3;
30389
- const FmTree = fmtree;
30387
+ const FmTree = _sfc_main$2;
30390
30388
 
30391
30389
  const makeInstaller = (components = []) => {
30392
30390
  const install = (app) => {
package/lib/index.css CHANGED
@@ -1,3 +1 @@
1
1
  .drag_verify[data-v-9e8c9ed2]{background-color:#e8e8e8;overflow:hidden;position:relative;text-align:center}.drag_verify .dv_handler[data-v-9e8c9ed2]{cursor:move;left:0;position:absolute;top:0}.drag_verify .dv_handler i[data-v-9e8c9ed2]{color:#666;font-size:16px;padding-left:0}.drag_verify .dv_handler .el-icon-circle-check[data-v-9e8c9ed2]{color:#6c6;margin-top:9px}.drag_verify .dv_progress_bar[data-v-9e8c9ed2]{height:34px;position:absolute;width:0}.drag_verify .dv_text[data-v-9e8c9ed2]{background:-webkit-gradient(linear,left top,right top,color-stop(0,var(--textColor)),color-stop(.4,var(--textColor)),color-stop(.5,#fff),color-stop(.6,var(--textColor)),color-stop(1,var(--textColor)));-webkit-background-clip:text;color:transparent;position:absolute;top:0;-moz-user-select:none;-webkit-user-select:none;user-select:none;-o-user-select:none;-ms-user-select:none;-webkit-text-fill-color:transparent;-webkit-text-size-adjust:none;animation:slidetounlock 3s infinite}.drag_verify .dv_text[data-v-9e8c9ed2] *{-webkit-text-fill-color:var(--textColor)}.goFirst[data-v-9e8c9ed2]{left:0!important;transition:left .5s}.goOrigin[data-v-9e8c9ed2]{transition:transform .5s}.goKeep[data-v-9e8c9ed2]{transition:left .2s}.goFirst2[data-v-9e8c9ed2]{transition:width .5s;width:0!important}.drag-verify-container[data-v-9e8c9ed2]{border-radius:50%;line-height:0;position:relative}.move-bar[data-v-9e8c9ed2]{position:absolute;z-index:100}.clip-bar[data-v-9e8c9ed2]{background:hsla(0,0%,100%,.8);position:absolute}.refresh[data-v-9e8c9ed2]{cursor:pointer;font-size:20px;position:absolute;right:5px;top:5px;z-index:200}.tips[data-v-9e8c9ed2]{bottom:25px;font-size:12px;height:20px;line-height:20px;position:absolute;text-align:center;width:100%;z-index:200}.tips.success[data-v-9e8c9ed2]{background:hsla(0,0%,100%,.6);color:green}.tips.danger[data-v-9e8c9ed2]{background:rgba(0,0,0,.6);color:#ff0}.check-img[data-v-9e8c9ed2]{border-radius:50%;width:100%}
2
-
3
- .box-card[data-v-a783e82e]{flex:1}.box-card[data-v-a783e82e]>.el-card__header{padding:5px}.tree-h-flex[data-v-a783e82e]{align-items:center;display:flex}.tree-h-left[data-v-a783e82e]{flex:1;min-width:0;width:100%}.tree-h-right-group[data-v-a783e82e]{align-items:center;display:flex}
@@ -3,9 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var index_vue_vue_type_script_setup_true_lang = require('./index.vue2.js');
6
- require('./index.vue3.js');
7
- var _pluginVue_exportHelper = require('../../../../../_virtual/_plugin-vue_export-helper.js');
8
6
 
9
- var fmtree = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-a783e82e"]]);
10
7
 
11
- exports.default = fmtree;
8
+
9
+ exports.default = index_vue_vue_type_script_setup_true_lang.default;
@@ -6,10 +6,10 @@ var vue = require('vue');
6
6
  var svg = require('@element-plus/icons-vue');
7
7
  var index = require('../../../api/base/index.js');
8
8
 
9
- const _hoisted_1 = { class: "card-header" };
10
- const _hoisted_2 = { class: "tree-h-flex" };
11
- const _hoisted_3 = { class: "tree-h-left" };
12
- const _hoisted_4 = { class: "tree-h-right-group" };
9
+ const _hoisted_1 = { style: { "padding": "5px" } };
10
+ const _hoisted_2 = { style: { "display": "flex", "align-items": "center", "gap": "8px", "flex-wrap": "nowrap", "overflow": "hidden" } };
11
+ const _hoisted_3 = { style: { "flex": "1 1 200px", "min-width": "0", "overflow": "hidden" } };
12
+ const _hoisted_4 = { style: { "display": "flex", "align-items": "center", "flex-shrink": "0", "white-space": "nowrap" } };
13
13
  const _hoisted_5 = { style: { "margin-bottom": "45px" } };
14
14
  var _sfc_main = /* @__PURE__ */ vue.defineComponent({
15
15
  ...{
@@ -102,20 +102,20 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
102
102
  __expose({ fetchTreeData, getCheckedKeys, setCurrentKey });
103
103
  return (_ctx, _cache) => {
104
104
  const _component_el_input = vue.resolveComponent("el-input");
105
+ const _component_el_checkbox = vue.resolveComponent("el-checkbox");
105
106
  const _component_el_icon = vue.resolveComponent("el-icon");
106
107
  const _component_el_button = vue.resolveComponent("el-button");
107
108
  const _component_el_dropdown_item = vue.resolveComponent("el-dropdown-item");
108
109
  const _component_el_dropdown_menu = vue.resolveComponent("el-dropdown-menu");
109
110
  const _component_el_dropdown = vue.resolveComponent("el-dropdown");
110
- const _component_el_checkbox = vue.resolveComponent("el-checkbox");
111
111
  const _component_el_tree = vue.resolveComponent("el-tree");
112
112
  const _component_el_scrollbar = vue.resolveComponent("el-scrollbar");
113
113
  const _component_el_card = vue.resolveComponent("el-card");
114
114
  const _directive_loading = vue.resolveDirective("loading");
115
115
  return vue.openBlock(), vue.createBlock(_component_el_card, {
116
- class: "box-card",
117
116
  shadow: "hover",
118
- "body-style": "height:100%;overflow:auto;padding:5px;width:100%;"
117
+ "body-style": "height:100%;overflow:auto;padding:5px;width:100%;",
118
+ style: { "height": "100%" }
119
119
  }, {
120
120
  header: vue.withCtx(() => [
121
121
  vue.createElementVNode("div", _hoisted_1, [
@@ -131,6 +131,14 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
131
131
  }, null, 8, ["prefix-icon", "modelValue"])
132
132
  ]),
133
133
  vue.createElementVNode("div", _hoisted_4, [
134
+ !props.checkStrictly && state.isShowCheckbox ? (vue.openBlock(), vue.createBlock(_component_el_checkbox, {
135
+ key: 0,
136
+ modelValue: state.strictly,
137
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.strictly = $event),
138
+ label: "\u8054\u52A8",
139
+ style: { "margin-left": "8px" },
140
+ border: ""
141
+ }, null, 8, ["modelValue"])) : vue.createCommentVNode("v-if", true),
134
142
  vue.createVNode(_component_el_dropdown, { onCommand: handleCommand }, {
135
143
  dropdown: vue.withCtx(() => [
136
144
  vue.createVNode(_component_el_dropdown_menu, null, {
@@ -186,15 +194,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
186
194
  _: 1
187
195
  /* STABLE */
188
196
  })
189
- ]),
190
- !props.checkStrictly && state.isShowCheckbox ? (vue.openBlock(), vue.createBlock(_component_el_checkbox, {
191
- key: 0,
192
- modelValue: state.strictly,
193
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.strictly = $event),
194
- label: "\u8054\u52A8",
195
- style: { "margin-left": "8px" },
196
- border: ""
197
- }, null, 8, ["modelValue"])) : vue.createCommentVNode("v-if", true)
197
+ ])
198
198
  ])
199
199
  ])
200
200
  ]),
@@ -6,13 +6,14 @@ var dragVerifyImgRotate = require('./dragVerify/dragVerifyImgRotate.vue.js');
6
6
  require('./fmselect/index.vue.js');
7
7
  require('./fmautocomplete/index.vue.js');
8
8
  require('./inputdropdown/index.vue.js');
9
- var index$1 = require('./fmtree/index.vue.js');
9
+ require('./fmtree/index.vue.js');
10
10
  var index = require('./svgIcon/index.js');
11
11
  var index_vue_vue_type_script_setup_true_lang = require('./transfer/index.vue2.js');
12
12
  var index_vue_vue_type_script_setup_true_lang$1 = require('./noticeBar/index.vue2.js');
13
13
  var index_vue_vue_type_script_setup_true_lang$2 = require('./fmselect/index.vue2.js');
14
14
  var index_vue_vue_type_script_setup_true_lang$3 = require('./fmautocomplete/index.vue2.js');
15
15
  var index_vue_vue_type_script_setup_true_lang$4 = require('./inputdropdown/index.vue2.js');
16
+ var index_vue_vue_type_script_setup_true_lang$5 = require('./fmtree/index.vue2.js');
16
17
 
17
18
  const FmTransfer = index_vue_vue_type_script_setup_true_lang.default;
18
19
  const FmNoticeBar = index_vue_vue_type_script_setup_true_lang$1.default;
@@ -20,7 +21,7 @@ const FmDragImg = dragVerifyImgRotate.default;
20
21
  const Fmselect = index_vue_vue_type_script_setup_true_lang$2.default;
21
22
  const FmAutocomplete = index_vue_vue_type_script_setup_true_lang$3.default;
22
23
  const Fminputdropdown = index_vue_vue_type_script_setup_true_lang$4.default;
23
- const FmTree = index$1.default;
24
+ const FmTree = index_vue_vue_type_script_setup_true_lang$5.default;
24
25
 
25
26
  exports.elSvg = index.elSvg;
26
27
  exports.FmAutocomplete = FmAutocomplete;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fmdevui/fm-dev",
3
- "version": "1.0.64",
3
+ "version": "1.0.66",
4
4
  "description": "Page level components developed based on Element Plus.",
5
5
  "author": "fmdevui",
6
6
  "keywords": [
@@ -1,3 +0,0 @@
1
- var undefined$1 = undefined;
2
-
3
- export { undefined$1 as default };
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var undefined$1 = undefined;
6
-
7
- exports.default = undefined$1;