@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/es/index.css +0 -2
- package/es/packages/core/ui/components/fmtree/index.vue.mjs +2 -4
- package/es/packages/core/ui/components/fmtree/index.vue2.mjs +16 -16
- package/es/packages/core/ui/components/index.mjs +3 -2
- package/index.css +0 -27
- package/index.js +18 -20
- package/index.min.css +0 -2
- package/index.min.js +24 -24
- package/index.min.mjs +24 -24
- package/index.mjs +18 -20
- package/lib/index.css +0 -2
- package/lib/packages/core/ui/components/fmtree/index.vue.js +2 -4
- package/lib/packages/core/ui/components/fmtree/index.vue2.js +16 -16
- package/lib/packages/core/ui/components/index.js +3 -2
- package/package.json +1 -1
- package/es/packages/core/ui/components/fmtree/index.vue3.mjs +0 -3
- package/lib/packages/core/ui/components/fmtree/index.vue3.js +0 -7
package/es/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}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import _sfc_main from './index.vue2.mjs';
|
|
2
|
-
import './index.vue3.mjs';
|
|
3
|
-
import _export_sfc from '../../../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
4
2
|
|
|
5
|
-
var fmtree = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a783e82e"]]);
|
|
6
3
|
|
|
7
|
-
|
|
4
|
+
|
|
5
|
+
export { _sfc_main as default };
|
|
@@ -2,10 +2,10 @@ import { defineComponent, ref, reactive, onMounted, watch, resolveComponent, res
|
|
|
2
2
|
import { Search, MoreFilled } from '@element-plus/icons-vue';
|
|
3
3
|
import { useBaseApi } from '../../../api/base/index.mjs';
|
|
4
4
|
|
|
5
|
-
const _hoisted_1 = {
|
|
6
|
-
const _hoisted_2 = {
|
|
7
|
-
const _hoisted_3 = {
|
|
8
|
-
const _hoisted_4 = {
|
|
5
|
+
const _hoisted_1 = { style: { "padding": "5px" } };
|
|
6
|
+
const _hoisted_2 = { style: { "display": "flex", "align-items": "center", "gap": "8px", "flex-wrap": "nowrap", "overflow": "hidden" } };
|
|
7
|
+
const _hoisted_3 = { style: { "flex": "1 1 200px", "min-width": "0", "overflow": "hidden" } };
|
|
8
|
+
const _hoisted_4 = { style: { "display": "flex", "align-items": "center", "flex-shrink": "0", "white-space": "nowrap" } };
|
|
9
9
|
const _hoisted_5 = { style: { "margin-bottom": "45px" } };
|
|
10
10
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
...{
|
|
@@ -98,20 +98,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
98
98
|
__expose({ fetchTreeData, getCheckedKeys, setCurrentKey });
|
|
99
99
|
return (_ctx, _cache) => {
|
|
100
100
|
const _component_el_input = resolveComponent("el-input");
|
|
101
|
+
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
101
102
|
const _component_el_icon = resolveComponent("el-icon");
|
|
102
103
|
const _component_el_button = resolveComponent("el-button");
|
|
103
104
|
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
104
105
|
const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
|
|
105
106
|
const _component_el_dropdown = resolveComponent("el-dropdown");
|
|
106
|
-
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
107
107
|
const _component_el_tree = resolveComponent("el-tree");
|
|
108
108
|
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
109
109
|
const _component_el_card = resolveComponent("el-card");
|
|
110
110
|
const _directive_loading = resolveDirective("loading");
|
|
111
111
|
return openBlock(), createBlock(_component_el_card, {
|
|
112
|
-
class: "box-card",
|
|
113
112
|
shadow: "hover",
|
|
114
|
-
"body-style": "height:100%;overflow:auto;padding:5px;width:100%;"
|
|
113
|
+
"body-style": "height:100%;overflow:auto;padding:5px;width:100%;",
|
|
114
|
+
style: { "height": "100%" }
|
|
115
115
|
}, {
|
|
116
116
|
header: withCtx(() => [
|
|
117
117
|
createElementVNode("div", _hoisted_1, [
|
|
@@ -127,6 +127,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
127
127
|
}, null, 8, ["prefix-icon", "modelValue"])
|
|
128
128
|
]),
|
|
129
129
|
createElementVNode("div", _hoisted_4, [
|
|
130
|
+
!props.checkStrictly && state.isShowCheckbox ? (openBlock(), createBlock(_component_el_checkbox, {
|
|
131
|
+
key: 0,
|
|
132
|
+
modelValue: state.strictly,
|
|
133
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.strictly = $event),
|
|
134
|
+
label: "\u8054\u52A8",
|
|
135
|
+
style: { "margin-left": "8px" },
|
|
136
|
+
border: ""
|
|
137
|
+
}, null, 8, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
130
138
|
createVNode(_component_el_dropdown, { onCommand: handleCommand }, {
|
|
131
139
|
dropdown: withCtx(() => [
|
|
132
140
|
createVNode(_component_el_dropdown_menu, null, {
|
|
@@ -182,15 +190,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
182
190
|
_: 1
|
|
183
191
|
/* STABLE */
|
|
184
192
|
})
|
|
185
|
-
])
|
|
186
|
-
!props.checkStrictly && state.isShowCheckbox ? (openBlock(), createBlock(_component_el_checkbox, {
|
|
187
|
-
key: 0,
|
|
188
|
-
modelValue: state.strictly,
|
|
189
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.strictly = $event),
|
|
190
|
-
label: "\u8054\u52A8",
|
|
191
|
-
style: { "margin-left": "8px" },
|
|
192
|
-
border: ""
|
|
193
|
-
}, null, 8, ["modelValue"])) : createCommentVNode("v-if", true)
|
|
193
|
+
])
|
|
194
194
|
])
|
|
195
195
|
])
|
|
196
196
|
]),
|
|
@@ -4,13 +4,14 @@ import dragimg from './dragVerify/dragVerifyImgRotate.vue.mjs';
|
|
|
4
4
|
import './fmselect/index.vue.mjs';
|
|
5
5
|
import './fmautocomplete/index.vue.mjs';
|
|
6
6
|
import './inputdropdown/index.vue.mjs';
|
|
7
|
-
import
|
|
7
|
+
import './fmtree/index.vue.mjs';
|
|
8
8
|
export { elSvg } from './svgIcon/index.mjs';
|
|
9
9
|
import _sfc_main from './transfer/index.vue2.mjs';
|
|
10
10
|
import _sfc_main$1 from './noticeBar/index.vue2.mjs';
|
|
11
11
|
import _sfc_main$2 from './fmselect/index.vue2.mjs';
|
|
12
12
|
import _sfc_main$3 from './fmautocomplete/index.vue2.mjs';
|
|
13
13
|
import _sfc_main$4 from './inputdropdown/index.vue2.mjs';
|
|
14
|
+
import _sfc_main$5 from './fmtree/index.vue2.mjs';
|
|
14
15
|
|
|
15
16
|
const FmTransfer = _sfc_main;
|
|
16
17
|
const FmNoticeBar = _sfc_main$1;
|
|
@@ -18,6 +19,6 @@ const FmDragImg = dragimg;
|
|
|
18
19
|
const Fmselect = _sfc_main$2;
|
|
19
20
|
const FmAutocomplete = _sfc_main$3;
|
|
20
21
|
const Fminputdropdown = _sfc_main$4;
|
|
21
|
-
const FmTree =
|
|
22
|
+
const FmTree = _sfc_main$5;
|
|
22
23
|
|
|
23
24
|
export { FmAutocomplete, FmDragImg, FmNoticeBar, FmTransfer, FmTree, Fminputdropdown, Fmselect };
|
package/index.css
CHANGED
|
@@ -111,30 +111,3 @@
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
.box-card[data-v-a783e82e] {
|
|
117
|
-
flex: 1;
|
|
118
|
-
}
|
|
119
|
-
.box-card[data-v-a783e82e]> .el-card__header {
|
|
120
|
-
padding: 5px;
|
|
121
|
-
}
|
|
122
|
-
.tree-h-flex[data-v-a783e82e] {
|
|
123
|
-
display: flex;
|
|
124
|
-
align-items: center; /* 纵向居中 */
|
|
125
|
-
}
|
|
126
|
-
.tree-h-left[data-v-a783e82e] {
|
|
127
|
-
flex: 1;
|
|
128
|
-
min-width: 0; /* 防止内容溢出 */
|
|
129
|
-
width: 100%;
|
|
130
|
-
}
|
|
131
|
-
.tree-h-right-group[data-v-a783e82e] {
|
|
132
|
-
display: flex;
|
|
133
|
-
align-items: center;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
/* .tree-h-right {
|
|
138
|
-
width: 42px;
|
|
139
|
-
min-width: 42px;
|
|
140
|
-
} */
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fm-dev v1.0.
|
|
1
|
+
/*! fm-dev v1.0.66 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('crypto'), require('url'), require('http'), require('https'), require('util'), require('stream'), require('assert'), require('zlib'), require('element-plus')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vue', 'crypto', 'url', 'http', 'https', 'util', 'stream', 'assert', 'zlib', 'element-plus'], factory) :
|
|
@@ -30038,10 +30038,10 @@
|
|
|
30038
30038
|
ZoomOut: zoom_out_default
|
|
30039
30039
|
});
|
|
30040
30040
|
|
|
30041
|
-
const _hoisted_1$1 = {
|
|
30042
|
-
const _hoisted_2 = {
|
|
30043
|
-
const _hoisted_3 = {
|
|
30044
|
-
const _hoisted_4 = {
|
|
30041
|
+
const _hoisted_1$1 = { style: { "padding": "5px" } };
|
|
30042
|
+
const _hoisted_2 = { style: { "display": "flex", "align-items": "center", "gap": "8px", "flex-wrap": "nowrap", "overflow": "hidden" } };
|
|
30043
|
+
const _hoisted_3 = { style: { "flex": "1 1 200px", "min-width": "0", "overflow": "hidden" } };
|
|
30044
|
+
const _hoisted_4 = { style: { "display": "flex", "align-items": "center", "flex-shrink": "0", "white-space": "nowrap" } };
|
|
30045
30045
|
const _hoisted_5 = { style: { "margin-bottom": "45px" } };
|
|
30046
30046
|
var _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
30047
30047
|
...{
|
|
@@ -30134,20 +30134,20 @@
|
|
|
30134
30134
|
__expose({ fetchTreeData, getCheckedKeys, setCurrentKey });
|
|
30135
30135
|
return (_ctx, _cache) => {
|
|
30136
30136
|
const _component_el_input = vue.resolveComponent("el-input");
|
|
30137
|
+
const _component_el_checkbox = vue.resolveComponent("el-checkbox");
|
|
30137
30138
|
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
30138
30139
|
const _component_el_button = vue.resolveComponent("el-button");
|
|
30139
30140
|
const _component_el_dropdown_item = vue.resolveComponent("el-dropdown-item");
|
|
30140
30141
|
const _component_el_dropdown_menu = vue.resolveComponent("el-dropdown-menu");
|
|
30141
30142
|
const _component_el_dropdown = vue.resolveComponent("el-dropdown");
|
|
30142
|
-
const _component_el_checkbox = vue.resolveComponent("el-checkbox");
|
|
30143
30143
|
const _component_el_tree = vue.resolveComponent("el-tree");
|
|
30144
30144
|
const _component_el_scrollbar = vue.resolveComponent("el-scrollbar");
|
|
30145
30145
|
const _component_el_card = vue.resolveComponent("el-card");
|
|
30146
30146
|
const _directive_loading = vue.resolveDirective("loading");
|
|
30147
30147
|
return vue.openBlock(), vue.createBlock(_component_el_card, {
|
|
30148
|
-
class: "box-card",
|
|
30149
30148
|
shadow: "hover",
|
|
30150
|
-
"body-style": "height:100%;overflow:auto;padding:5px;width:100%;"
|
|
30149
|
+
"body-style": "height:100%;overflow:auto;padding:5px;width:100%;",
|
|
30150
|
+
style: { "height": "100%" }
|
|
30151
30151
|
}, {
|
|
30152
30152
|
header: vue.withCtx(() => [
|
|
30153
30153
|
vue.createElementVNode("div", _hoisted_1$1, [
|
|
@@ -30163,6 +30163,14 @@
|
|
|
30163
30163
|
}, null, 8, ["prefix-icon", "modelValue"])
|
|
30164
30164
|
]),
|
|
30165
30165
|
vue.createElementVNode("div", _hoisted_4, [
|
|
30166
|
+
!props.checkStrictly && state.isShowCheckbox ? (vue.openBlock(), vue.createBlock(_component_el_checkbox, {
|
|
30167
|
+
key: 0,
|
|
30168
|
+
modelValue: state.strictly,
|
|
30169
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.strictly = $event),
|
|
30170
|
+
label: "\u8054\u52A8",
|
|
30171
|
+
style: { "margin-left": "8px" },
|
|
30172
|
+
border: ""
|
|
30173
|
+
}, null, 8, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
30166
30174
|
vue.createVNode(_component_el_dropdown, { onCommand: handleCommand }, {
|
|
30167
30175
|
dropdown: vue.withCtx(() => [
|
|
30168
30176
|
vue.createVNode(_component_el_dropdown_menu, null, {
|
|
@@ -30218,15 +30226,7 @@
|
|
|
30218
30226
|
_: 1
|
|
30219
30227
|
/* STABLE */
|
|
30220
30228
|
})
|
|
30221
|
-
])
|
|
30222
|
-
!props.checkStrictly && state.isShowCheckbox ? (vue.openBlock(), vue.createBlock(_component_el_checkbox, {
|
|
30223
|
-
key: 0,
|
|
30224
|
-
modelValue: state.strictly,
|
|
30225
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.strictly = $event),
|
|
30226
|
-
label: "\u8054\u52A8",
|
|
30227
|
-
style: { "margin-left": "8px" },
|
|
30228
|
-
border: ""
|
|
30229
|
-
}, null, 8, ["modelValue"])) : vue.createCommentVNode("v-if", true)
|
|
30229
|
+
])
|
|
30230
30230
|
])
|
|
30231
30231
|
])
|
|
30232
30232
|
]),
|
|
@@ -30274,8 +30274,6 @@
|
|
|
30274
30274
|
}
|
|
30275
30275
|
});
|
|
30276
30276
|
|
|
30277
|
-
var fmtree = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-a783e82e"]]);
|
|
30278
|
-
|
|
30279
30277
|
const _hoisted_1 = ["src"];
|
|
30280
30278
|
var _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
30281
30279
|
...{
|
|
@@ -30381,7 +30379,7 @@
|
|
|
30381
30379
|
const Fmselect = _sfc_main$5;
|
|
30382
30380
|
const FmAutocomplete = _sfc_main$4;
|
|
30383
30381
|
const Fminputdropdown = _sfc_main$3;
|
|
30384
|
-
const FmTree =
|
|
30382
|
+
const FmTree = _sfc_main$2;
|
|
30385
30383
|
|
|
30386
30384
|
const makeInstaller = (components = []) => {
|
|
30387
30385
|
const install = (app) => {
|
package/index.min.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}
|