@fangzhongya/fang-ui 0.0.70 → 0.0.72
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/dist/components/alert/src/index2.cjs +10 -10
- package/dist/components/array/src/index2.cjs +45 -45
- package/dist/components/autocomplete/src/index2.cjs +10 -10
- package/dist/components/box/src/index2.cjs +21 -21
- package/dist/components/box-adjust/src/index2.cjs +27 -27
- package/dist/components/box-local/src/index2.cjs +20 -20
- package/dist/components/box-mask/src/index2.cjs +5 -5
- package/dist/components/box-teleport/src/index2.cjs +5 -5
- package/dist/components/box-title/src/index2.cjs +15 -15
- package/dist/components/button/src/index2.cjs +9 -9
- package/dist/components/buttons/src/index2.cjs +20 -20
- package/dist/components/card/src/index2.cjs +10 -10
- package/dist/components/cascader/src/index2.cjs +10 -10
- package/dist/components/cascader-panel/src/index2.cjs +10 -10
- package/dist/components/cascaders/src/index2.cjs +17 -17
- package/dist/components/checkbox/src/index2.cjs +10 -10
- package/dist/components/checkbox-group/src/index2.cjs +10 -10
- package/dist/components/checks/src/index2.cjs +31 -31
- package/dist/components/choice-select/src/index2.cjs +5 -5
- package/dist/components/collapse/src/index2.cjs +10 -10
- package/dist/components/collapse-item/src/index2.cjs +10 -10
- package/dist/components/color-picker/src/index2.cjs +10 -10
- package/dist/components/common/list.cjs +5 -5
- package/dist/components/common/use.cjs +5 -5
- package/dist/components/company-select/src/index2.cjs +19 -19
- package/dist/components/config-provider/src/index2.cjs +10 -10
- package/dist/components/date-picker/src/index2.cjs +10 -10
- package/dist/components/dates/src/index2.cjs +12 -12
- package/dist/components/dates-divide/src/index2.cjs +20 -20
- package/dist/components/dates-picker/src/index2.cjs +15 -15
- package/dist/components/dates2/src/index2.cjs +26 -26
- package/dist/components/department-select/src/index2.cjs +11 -11
- package/dist/components/dialog/src/index2.cjs +10 -10
- package/dist/components/dialogs/src/index2.cjs +23 -23
- package/dist/components/divider/src/index2.cjs +10 -10
- package/dist/components/drawer/src/index2.cjs +10 -10
- package/dist/components/dropdown/src/index2.cjs +10 -10
- package/dist/components/dropdown-item/src/index2.cjs +10 -10
- package/dist/components/dropdown-menu/src/index2.cjs +10 -10
- package/dist/components/edit/src/index2.cjs +24 -24
- package/dist/components/edit-float/src/index2.cjs +40 -40
- package/dist/components/form/src/index2.cjs +10 -10
- package/dist/components/form-item/src/index2.cjs +10 -10
- package/dist/components/forms/src/index2.cjs +65 -65
- package/dist/components/forms/src/setup.cjs +12 -12
- package/dist/components/forms-div/src/index2.cjs +11 -11
- package/dist/components/forms-drag/src/index2.cjs +73 -73
- package/dist/components/forms-item/src/index2.cjs +45 -45
- package/dist/components/forms-item/src/label.cjs +4 -4
- package/dist/components/forms-items/src/index2.cjs +23 -23
- package/dist/components/global-config/src/index.cjs +5 -5
- package/dist/components/history/src/index2.cjs +26 -26
- package/dist/components/icon/src/index2.cjs +23 -23
- package/dist/components/icon-picker/src/index2.cjs +52 -52
- package/dist/components/iframe/src/index2.cjs +10 -10
- package/dist/components/image/src/index2.cjs +10 -10
- package/dist/components/images/src/index2.cjs +16 -16
- package/dist/components/index.scss +2 -2
- package/dist/components/index2.scss +2 -2
- package/dist/components/input/src/index2.cjs +10 -10
- package/dist/components/input-array/src/index2.cjs +38 -38
- package/dist/components/input-history/src/index2.cjs +48 -48
- package/dist/components/input-history/src/util.cjs +4 -4
- package/dist/components/input-num/src/index2.cjs +17 -17
- package/dist/components/input-number/src/index2.cjs +10 -10
- package/dist/components/input-select/src/index2.cjs +51 -51
- package/dist/components/input-tag/src/index2.cjs +10 -10
- package/dist/components/inputs/src/index2.cjs +17 -17
- package/dist/components/keep-com/src/index2.cjs +16 -16
- package/dist/components/labels/src/index2.cjs +13 -13
- package/dist/components/list/src/index2.cjs +24 -24
- package/dist/components/lists/src/index2.cjs +51 -51
- package/dist/components/listsp/src/index2.cjs +34 -34
- package/dist/components/mention/src/index2.cjs +10 -10
- package/dist/components/menus/src/index2.cjs +16 -16
- package/dist/components/menus/src/menu-ll2.cjs +11 -11
- package/dist/components/no-data/src/index2.cjs +5 -5
- package/dist/components/option/src/index2.cjs +9 -9
- package/dist/components/option-group/src/index2.cjs +10 -10
- package/dist/components/page/src/index2.cjs +77 -77
- package/dist/components/page/src/set-column2.cjs +54 -54
- package/dist/components/pagination/src/index2.cjs +10 -10
- package/dist/components/paging/src/index2.cjs +13 -13
- package/dist/components/popconfirm/src/index2.cjs +10 -10
- package/dist/components/popover/src/index2.cjs +10 -10
- package/dist/components/popup/src/index2.cjs +29 -29
- package/dist/components/radio/src/index2.cjs +10 -10
- package/dist/components/radio-group/src/index2.cjs +10 -10
- package/dist/components/retract/src/index2.cjs +14 -14
- package/dist/components/right-key/src/index2.cjs +30 -30
- package/dist/components/role-select/src/index2.cjs +38 -38
- package/dist/components/seamless-scroll/src/index2.cjs +24 -24
- package/dist/components/select/src/index2.cjs +10 -10
- package/dist/components/select-dialog/src/index2.cjs +65 -65
- package/dist/components/select-popover/src/index2.cjs +42 -42
- package/dist/components/select-scroll/src/index2.cjs +30 -30
- package/dist/components/selector/src/index2.cjs +39 -39
- package/dist/components/selects/src/index2.cjs +20 -20
- package/dist/components/slider/src/index2.cjs +10 -10
- package/dist/components/stick-div/src/index2.cjs +17 -17
- package/dist/components/stick-edge/src/index2.cjs +10 -10
- package/dist/components/stick-window/src/index2.cjs +22 -22
- package/dist/components/switch/src/index2.cjs +10 -10
- package/dist/components/switchs/src/index2.cjs +15 -15
- package/dist/components/tab-pane/src/index2.cjs +10 -10
- package/dist/components/tables/common/img2.cjs +7 -7
- package/dist/components/tables/common/pagin.cjs +16 -16
- package/dist/components/tables/common/table-but2.cjs +10 -10
- package/dist/components/tables/common/table-color2.cjs +7 -7
- package/dist/components/tables/common/table-list2.cjs +9 -9
- package/dist/components/tables/common/util.cjs +2 -2
- package/dist/components/tables/src/column.cjs +5 -5
- package/dist/components/tables/src/columns2.cjs +2 -2
- package/dist/components/tables/src/columns3.cjs +2 -2
- package/dist/components/tables/src/index2.cjs +29 -29
- package/dist/components/tablesp/src/index2.cjs +35 -35
- package/dist/components/tabless/src/index2.cjs +48 -48
- package/dist/components/tablesv/src/column.cjs +16 -16
- package/dist/components/tablesv/src/columns2.cjs +2 -2
- package/dist/components/tablesv/src/columns3.cjs +2 -2
- package/dist/components/tablesv/src/index2.cjs +30 -30
- package/dist/components/tablesvp/src/index2.cjs +30 -30
- package/dist/components/tabs/src/index2.cjs +10 -10
- package/dist/components/text/src/index2.cjs +8 -8
- package/dist/components/time-picker/src/index2.cjs +10 -10
- package/dist/components/time-select/src/index2.cjs +10 -10
- package/dist/components/tooltip/src/index2.cjs +10 -10
- package/dist/components/transfer/src/index2.cjs +10 -10
- package/dist/components/tree/src/index2.cjs +10 -10
- package/dist/components/tree-select/src/index2.cjs +10 -10
- package/dist/components/tree-select-box/src/index2.cjs +29 -29
- package/dist/components/upload/src/index2.cjs +10 -10
- package/dist/components/user-select/src/index2.cjs +99 -99
- package/dist/components/window/src/index2.cjs +61 -61
- package/dist/css/index.css +22 -23
- package/dist/directives/expose/index.cjs +3 -2
- package/dist/directives/expose/index.js +3 -2
- package/dist/directives/scroll/index.cjs +24 -6
- package/dist/directives/scroll/index.js +3 -1
- package/dist/hooks/event-aliass/index.cjs +2 -2
- package/dist/hooks/global-config/index.cjs +8 -8
- package/dist/hooks/inherit/index.cjs +2 -2
- package/dist/hooks/locale/index.cjs +7 -7
- package/dist/icons/iconify.cjs +3 -3
- package/dist/icons/index.css +34 -34
- package/dist/icons/index.json +9 -9
- package/dist/icons/vue/bar.cjs +3 -3
- package/dist/icons/vue/below.cjs +3 -3
- package/dist/icons/vue/bicycle.cjs +3 -3
- package/dist/icons/vue/bottom-left.cjs +4 -4
- package/dist/icons/vue/bottom-right.cjs +4 -4
- package/dist/icons/vue/bottom.cjs +3 -3
- package/dist/icons/vue/clear.cjs +5 -5
- package/dist/icons/vue/close.cjs +3 -3
- package/dist/icons/vue/edit.cjs +5 -5
- package/dist/icons/vue/frame.cjs +3 -3
- package/dist/icons/vue/left.cjs +3 -3
- package/dist/icons/vue/right.cjs +3 -3
- package/dist/icons/vue/star.cjs +4 -4
- package/dist/index.css +22 -23
- package/dist/utils/vues/common.cjs +2 -2
- package/package.json +5 -5
- /package/dist/components/{forms-item → forms-items}/index.css +0 -0
- /package/dist/css/{forms-item.css → forms-items.css} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const vues = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
5
|
const index$3 = require("element-plus/es/components/card/index");
|
|
6
6
|
require("../../loading/index.cjs");
|
|
@@ -13,20 +13,20 @@ require("../../../utils/css.cjs");
|
|
|
13
13
|
const setObjStyle = require("@fangzhongya/utils/css/setObjStyle");
|
|
14
14
|
const index$6 = require("../../loading/src/index.cjs");
|
|
15
15
|
const _hoisted_1 = ["onClick"];
|
|
16
|
-
const _sfc_main = /* @__PURE__ */
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
17
17
|
__name: "index",
|
|
18
18
|
props: data.dataProps,
|
|
19
19
|
emits: data.dataEmits,
|
|
20
20
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
21
|
-
const slots =
|
|
22
|
-
const attrs = index.useInherit(
|
|
21
|
+
const slots = vues.useSlots();
|
|
22
|
+
const attrs = index.useInherit(vues.useAttrs());
|
|
23
23
|
const { getLocale } = index$1.useLocale();
|
|
24
24
|
const cs = index$2.useCssName("lists");
|
|
25
25
|
const props = __props;
|
|
26
26
|
const emit = __emit;
|
|
27
|
-
const header =
|
|
28
|
-
const footer =
|
|
29
|
-
const dataList =
|
|
27
|
+
const header = vues.ref([]);
|
|
28
|
+
const footer = vues.ref([]);
|
|
29
|
+
const dataList = vues.ref([]);
|
|
30
30
|
const setList = () => {
|
|
31
31
|
const list = props.list || [];
|
|
32
32
|
list.forEach((obj) => {
|
|
@@ -44,7 +44,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
|
|
47
|
+
vues.watch(
|
|
48
48
|
[() => props.list, () => {
|
|
49
49
|
var _a;
|
|
50
50
|
return (_a = props.list) == null ? void 0 : _a.length;
|
|
@@ -80,7 +80,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
80
80
|
}
|
|
81
81
|
return arr;
|
|
82
82
|
};
|
|
83
|
-
const rows =
|
|
83
|
+
const rows = vues.ref();
|
|
84
84
|
const onClick = (item, index2) => {
|
|
85
85
|
if (attrs.assem.ischecked) {
|
|
86
86
|
const i = selections.value.indexOf(item);
|
|
@@ -122,7 +122,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
122
122
|
}
|
|
123
123
|
return setObjStyle.setObjStyle(vst, obj);
|
|
124
124
|
}
|
|
125
|
-
const selections =
|
|
125
|
+
const selections = vues.ref([]);
|
|
126
126
|
function toggleRowSelection(item, is) {
|
|
127
127
|
if (is) {
|
|
128
128
|
selections.value.push(item);
|
|
@@ -146,34 +146,34 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
146
146
|
toggleRowSelection
|
|
147
147
|
});
|
|
148
148
|
return (_ctx, _cache) => {
|
|
149
|
-
return
|
|
150
|
-
class:
|
|
151
|
-
style:
|
|
149
|
+
return vues.openBlock(), vues.createElementBlock("div", vues.mergeProps({
|
|
150
|
+
class: vues.unref(cs).z(),
|
|
151
|
+
style: vues.unref(cs).vdo({
|
|
152
152
|
interval: props.interval
|
|
153
153
|
})
|
|
154
|
-
},
|
|
155
|
-
|
|
156
|
-
class:
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
154
|
+
}, vues.unref(attrs).root), [
|
|
155
|
+
vues.withDirectives((vues.openBlock(), vues.createElementBlock("div", {
|
|
156
|
+
class: vues.normalizeClass([
|
|
157
|
+
vues.unref(cs).z("list"),
|
|
158
|
+
vues.unref(cs).is("absolute", props.adaptive),
|
|
159
|
+
vues.unref(cs).zis("list", "column", props.rowColumn > 1)
|
|
160
160
|
]),
|
|
161
|
-
style:
|
|
161
|
+
style: vues.normalizeStyle({
|
|
162
162
|
height: props.height
|
|
163
163
|
})
|
|
164
164
|
}, [
|
|
165
|
-
props.value && props.value.length > 0 ? (
|
|
166
|
-
return
|
|
167
|
-
class:
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
165
|
+
props.value && props.value.length > 0 ? (vues.openBlock(true), vues.createElementBlock(vues.Fragment, { key: 0 }, vues.renderList(props.value, (item, index2) => {
|
|
166
|
+
return vues.openBlock(), vues.createElementBlock("div", {
|
|
167
|
+
class: vues.normalizeClass([
|
|
168
|
+
vues.unref(cs).z("list-item"),
|
|
169
|
+
vues.unref(cs).is("active", rows.value === item),
|
|
170
|
+
vues.unref(cs).is("selected", selections.value.includes(item))
|
|
171
171
|
]),
|
|
172
|
-
style:
|
|
172
|
+
style: vues.normalizeStyle(setStyles(item)),
|
|
173
173
|
onClick: ($event) => onClick(item, index2)
|
|
174
174
|
}, [
|
|
175
|
-
|
|
176
|
-
config:
|
|
175
|
+
vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).default, {
|
|
176
|
+
config: vues.unref(attrs).assem,
|
|
177
177
|
value: item,
|
|
178
178
|
index: index2,
|
|
179
179
|
list: props.list,
|
|
@@ -182,21 +182,21 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
182
182
|
options: props.options,
|
|
183
183
|
compons: props.compons
|
|
184
184
|
}, () => [
|
|
185
|
-
|
|
186
|
-
default:
|
|
187
|
-
|
|
185
|
+
vues.createVNode(vues.unref(index$3.ElCard), null, vues.createSlots({
|
|
186
|
+
default: vues.withCtx(() => [
|
|
187
|
+
vues.createVNode(vues.unref(index$4.List), vues.mergeProps({ ref_for: true }, vues.unref(attrs).assem, {
|
|
188
188
|
value: item,
|
|
189
189
|
list: setListValue(dataList.value, index2),
|
|
190
190
|
options: props.options,
|
|
191
191
|
compons: props.compons
|
|
192
|
-
}),
|
|
193
|
-
|
|
192
|
+
}), vues.createSlots({ _: 2 }, [
|
|
193
|
+
vues.renderList(Object.keys(vues.unref(slots)).filter(
|
|
194
194
|
(v) => !["no-data"].includes(v)
|
|
195
195
|
), (k) => {
|
|
196
196
|
return {
|
|
197
197
|
name: k,
|
|
198
|
-
fn:
|
|
199
|
-
|
|
198
|
+
fn: vues.withCtx((scope) => [
|
|
199
|
+
vues.renderSlot(_ctx.$slots, k, vues.mergeProps({ ref_for: true }, scope))
|
|
200
200
|
])
|
|
201
201
|
};
|
|
202
202
|
})
|
|
@@ -206,20 +206,20 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
206
206
|
}, [
|
|
207
207
|
header.value.length > 0 ? {
|
|
208
208
|
name: "header",
|
|
209
|
-
fn:
|
|
210
|
-
|
|
209
|
+
fn: vues.withCtx(() => [
|
|
210
|
+
vues.createVNode(vues.unref(index$4.List), vues.mergeProps({ ref_for: true }, vues.unref(attrs).assem, {
|
|
211
211
|
value: item,
|
|
212
212
|
list: setListValue(header.value, index2),
|
|
213
213
|
options: props.options,
|
|
214
214
|
compons: props.compons
|
|
215
|
-
}),
|
|
216
|
-
|
|
215
|
+
}), vues.createSlots({ _: 2 }, [
|
|
216
|
+
vues.renderList(Object.keys(vues.unref(slots)).filter(
|
|
217
217
|
(v) => !["no-data"].includes(v)
|
|
218
218
|
), (k) => {
|
|
219
219
|
return {
|
|
220
220
|
name: k,
|
|
221
|
-
fn:
|
|
222
|
-
|
|
221
|
+
fn: vues.withCtx((scope) => [
|
|
222
|
+
vues.renderSlot(_ctx.$slots, k, vues.mergeProps({ ref_for: true }, scope))
|
|
223
223
|
])
|
|
224
224
|
};
|
|
225
225
|
})
|
|
@@ -229,20 +229,20 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
229
229
|
} : void 0,
|
|
230
230
|
footer.value.length > 0 ? {
|
|
231
231
|
name: "footer",
|
|
232
|
-
fn:
|
|
233
|
-
|
|
232
|
+
fn: vues.withCtx(() => [
|
|
233
|
+
vues.createVNode(vues.unref(index$4.List), vues.mergeProps({ ref_for: true }, vues.unref(attrs).assem, {
|
|
234
234
|
value: item,
|
|
235
235
|
list: setListValue(footer.value, index2),
|
|
236
236
|
options: props.options,
|
|
237
237
|
compons: props.compons
|
|
238
|
-
}),
|
|
239
|
-
|
|
238
|
+
}), vues.createSlots({ _: 2 }, [
|
|
239
|
+
vues.renderList(Object.keys(vues.unref(slots)).filter(
|
|
240
240
|
(v) => !["no-data"].includes(v)
|
|
241
241
|
), (k) => {
|
|
242
242
|
return {
|
|
243
243
|
name: k,
|
|
244
|
-
fn:
|
|
245
|
-
|
|
244
|
+
fn: vues.withCtx((scope) => [
|
|
245
|
+
vues.renderSlot(_ctx.$slots, k, vues.mergeProps({ ref_for: true }, scope))
|
|
246
246
|
])
|
|
247
247
|
};
|
|
248
248
|
})
|
|
@@ -253,11 +253,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
253
253
|
]), 1024)
|
|
254
254
|
])
|
|
255
255
|
], 14, _hoisted_1);
|
|
256
|
-
}), 256)) :
|
|
257
|
-
|
|
256
|
+
}), 256)) : vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).noData, { key: 1 }, () => [
|
|
257
|
+
vues.createVNode(vues.unref(index$5.NoData))
|
|
258
258
|
])
|
|
259
259
|
], 6)), [
|
|
260
|
-
[
|
|
260
|
+
[vues.unref(index$6.vLoading), props.loading]
|
|
261
261
|
])
|
|
262
262
|
], 16);
|
|
263
263
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const vues = require("vue");
|
|
4
4
|
const index$2 = require("../../lists/index.cjs");
|
|
5
5
|
const index$4 = require("../../paging/index.cjs");
|
|
6
6
|
const index$3 = require("../../../directives/scroll/index.cjs");
|
|
7
7
|
const pagin = require("../../tables/common/pagin.cjs");
|
|
8
8
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
9
9
|
const index = require("../../../hooks/locale/index.cjs");
|
|
10
|
-
const _sfc_main = /* @__PURE__ */
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: pagin.dataProps,
|
|
13
13
|
emits: pagin.dataEmit,
|
|
14
14
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
15
15
|
const { getLocale } = index.useLocale();
|
|
16
16
|
const cs = index$1.useCssName("listsp");
|
|
17
|
-
const slots =
|
|
17
|
+
const slots = vues.useSlots();
|
|
18
18
|
const props = __props;
|
|
19
19
|
const emit = __emit;
|
|
20
|
-
const refTable =
|
|
20
|
+
const refTable = vues.ref();
|
|
21
21
|
const {
|
|
22
22
|
height,
|
|
23
23
|
getSelection,
|
|
@@ -49,50 +49,50 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
49
49
|
});
|
|
50
50
|
return (_ctx, _cache) => {
|
|
51
51
|
var _a, _b;
|
|
52
|
-
return
|
|
53
|
-
class:
|
|
54
|
-
style:
|
|
52
|
+
return vues.openBlock(), vues.createElementBlock("div", {
|
|
53
|
+
class: vues.normalizeClass(vues.unref(cs).z()),
|
|
54
|
+
style: vues.normalizeStyle(vues.unref(cs).vdo({ height: vues.unref(height) }))
|
|
55
55
|
}, [
|
|
56
|
-
|
|
57
|
-
height:
|
|
56
|
+
vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$2.Lists), vues.mergeProps(vues.unref(tableConfig).config, vues.toHandlers(vues.unref(formEvent)), {
|
|
57
|
+
height: vues.unref(height),
|
|
58
58
|
ref_key: "refTable",
|
|
59
59
|
ref: refTable,
|
|
60
60
|
class: [
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
vues.unref(cs).z("main"),
|
|
62
|
+
vues.unref(cs).is("scroll", vues.unref(paginat).is && vues.unref(paginat).scroll)
|
|
63
63
|
],
|
|
64
|
-
"scroll-selector": "." +
|
|
65
|
-
size: (_a =
|
|
66
|
-
paginat:
|
|
67
|
-
value:
|
|
68
|
-
list:
|
|
69
|
-
loading:
|
|
64
|
+
"scroll-selector": "." + vues.unref(cs).c("lists", "list"),
|
|
65
|
+
size: (_a = vues.unref(tableConfig).config) == null ? void 0 : _a.size,
|
|
66
|
+
paginat: vues.unref(paginat),
|
|
67
|
+
value: vues.unref(data).list,
|
|
68
|
+
list: vues.unref(tableList),
|
|
69
|
+
loading: vues.unref(paginat).scroll && vues.unref(paginat).current > 1 ? false : vues.unref(loading),
|
|
70
70
|
options: props.options,
|
|
71
71
|
compons: props.compons,
|
|
72
|
-
onSortChange:
|
|
73
|
-
onListEvents:
|
|
74
|
-
onSelect:
|
|
75
|
-
onRowClick:
|
|
76
|
-
onSelectionChange:
|
|
77
|
-
}),
|
|
78
|
-
|
|
72
|
+
onSortChange: vues.unref(onSortChange),
|
|
73
|
+
onListEvents: vues.unref(onListEvents),
|
|
74
|
+
onSelect: vues.unref(onSelect),
|
|
75
|
+
onRowClick: vues.unref(onRowClick),
|
|
76
|
+
onSelectionChange: vues.unref(onChange)
|
|
77
|
+
}), vues.createSlots({ _: 2 }, [
|
|
78
|
+
vues.renderList(Object.keys(vues.unref(slots)), (k) => {
|
|
79
79
|
return {
|
|
80
80
|
name: k,
|
|
81
|
-
fn:
|
|
82
|
-
|
|
81
|
+
fn: vues.withCtx((scope) => [
|
|
82
|
+
vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope)))
|
|
83
83
|
])
|
|
84
84
|
};
|
|
85
85
|
})
|
|
86
86
|
]), 1040, ["height", "class", "scroll-selector", "size", "paginat", "value", "list", "loading", "options", "compons", "onSortChange", "onListEvents", "onSelect", "onRowClick", "onSelectionChange"])), [
|
|
87
|
-
[
|
|
87
|
+
[vues.unref(index$3.default), vues.unref(scroll)]
|
|
88
88
|
]),
|
|
89
|
-
((_b =
|
|
90
|
-
class:
|
|
91
|
-
paginat:
|
|
92
|
-
total:
|
|
93
|
-
onSizeChange:
|
|
94
|
-
onCurrentChange:
|
|
95
|
-
}), null, 16, ["class", "paginat", "total", "onSizeChange", "onCurrentChange"])) :
|
|
89
|
+
((_b = vues.unref(paginat)) == null ? void 0 : _b.is) && !vues.unref(paginat).scroll ? (vues.openBlock(), vues.createBlock(vues.unref(index$4.Paging), vues.mergeProps({ key: 0 }, vues.unref(pagconfig), {
|
|
90
|
+
class: vues.unref(cs).z("paginat"),
|
|
91
|
+
paginat: vues.unref(paginat),
|
|
92
|
+
total: vues.unref(data).total,
|
|
93
|
+
onSizeChange: vues.unref(onSizeChange),
|
|
94
|
+
onCurrentChange: vues.unref(onCurrentChange)
|
|
95
|
+
}), null, 16, ["class", "paginat", "total", "onSizeChange", "onCurrentChange"])) : vues.createCommentVNode("", true)
|
|
96
96
|
], 6);
|
|
97
97
|
};
|
|
98
98
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const vues = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
5
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
6
6
|
const index$1 = require("element-plus/es/components/mention/index");
|
|
7
|
-
const _sfc_main = /* @__PURE__ */
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
8
8
|
__name: "index",
|
|
9
9
|
props: data.dataProps,
|
|
10
10
|
emits: data.dataEmits,
|
|
11
11
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
12
|
-
const attrs =
|
|
13
|
-
const slots =
|
|
12
|
+
const attrs = vues.useAttrs();
|
|
13
|
+
const slots = vues.useSlots();
|
|
14
14
|
const cs = index.useCssName("mention");
|
|
15
15
|
const props = __props;
|
|
16
16
|
const emit = __emit;
|
|
@@ -18,14 +18,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
18
18
|
...data.dataExpose
|
|
19
19
|
});
|
|
20
20
|
return (_ctx, _cache) => {
|
|
21
|
-
return
|
|
22
|
-
class:
|
|
23
|
-
},
|
|
24
|
-
|
|
21
|
+
return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElMention), vues.mergeProps({
|
|
22
|
+
class: vues.unref(cs).z()
|
|
23
|
+
}, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
|
|
24
|
+
vues.renderList(Object.keys(vues.unref(slots)), (k) => {
|
|
25
25
|
return {
|
|
26
26
|
name: k,
|
|
27
|
-
fn:
|
|
28
|
-
|
|
27
|
+
fn: vues.withCtx((scope) => [
|
|
28
|
+
vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope)))
|
|
29
29
|
])
|
|
30
30
|
};
|
|
31
31
|
})
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const vues = require("vue");
|
|
4
4
|
require("./menu-ll.cjs");
|
|
5
5
|
const data = require("./data.cjs");
|
|
6
6
|
const index$2 = require("element-plus/es/components/menu/index");
|
|
7
7
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
8
8
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
9
9
|
const menuLl_vue_vue_type_script_lang = require("./menu-ll2.cjs");
|
|
10
|
-
const _sfc_main = /* @__PURE__ */
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: data.dataProps,
|
|
13
13
|
emits: data.dataEmits,
|
|
14
14
|
setup(__props, { emit: __emit }) {
|
|
15
15
|
const props = __props;
|
|
16
|
-
const attrs = index.useInherit(
|
|
16
|
+
const attrs = index.useInherit(vues.useAttrs());
|
|
17
17
|
const cs = index$1.useCssName("menus");
|
|
18
18
|
const emit = __emit;
|
|
19
|
-
const slots =
|
|
20
|
-
const config =
|
|
19
|
+
const slots = vues.useSlots();
|
|
20
|
+
const config = vues.computed(() => {
|
|
21
21
|
return Object.assign(
|
|
22
22
|
{
|
|
23
23
|
children: "children",
|
|
@@ -58,27 +58,27 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
58
58
|
emit("select", id, arr, arrObj);
|
|
59
59
|
}
|
|
60
60
|
return (_ctx, _cache) => {
|
|
61
|
-
return
|
|
62
|
-
class:
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
class:
|
|
61
|
+
return vues.openBlock(), vues.createElementBlock("div", vues.mergeProps({
|
|
62
|
+
class: vues.unref(cs).z()
|
|
63
|
+
}, vues.unref(attrs).root), [
|
|
64
|
+
vues.createVNode(vues.unref(index$2.ElMenu), vues.mergeProps(vues.unref(attrs).assem, {
|
|
65
|
+
class: vues.unref(cs).z("menu"),
|
|
66
66
|
onSelect,
|
|
67
67
|
"default-active": props.value
|
|
68
68
|
}), {
|
|
69
|
-
default:
|
|
70
|
-
|
|
69
|
+
default: vues.withCtx(() => [
|
|
70
|
+
vues.createVNode(menuLl_vue_vue_type_script_lang.default, {
|
|
71
71
|
compons: props.compons,
|
|
72
72
|
value: props.value,
|
|
73
73
|
list: props.list,
|
|
74
74
|
level: props.level,
|
|
75
75
|
config: config.value
|
|
76
|
-
},
|
|
77
|
-
|
|
76
|
+
}, vues.createSlots({ _: 2 }, [
|
|
77
|
+
vues.renderList(Object.keys(vues.unref(slots)), (k) => {
|
|
78
78
|
return {
|
|
79
79
|
name: k,
|
|
80
|
-
fn:
|
|
81
|
-
|
|
80
|
+
fn: vues.withCtx((scope) => [
|
|
81
|
+
vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope)))
|
|
82
82
|
])
|
|
83
83
|
};
|
|
84
84
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const vues = require("vue");
|
|
4
4
|
const index$2 = require("element-plus/es/components/menu/index");
|
|
5
5
|
const index$1 = require("../../icon/index.cjs");
|
|
6
6
|
const use = require("../../common/use.cjs");
|
|
@@ -8,7 +8,7 @@ const index = require("../../../hooks/cssname/index.cjs");
|
|
|
8
8
|
const util = require("./util.cjs");
|
|
9
9
|
require("../../../utils/index.cjs");
|
|
10
10
|
const util$1 = require("../../../utils/util.cjs");
|
|
11
|
-
const _sfc_main =
|
|
11
|
+
const _sfc_main = vues.defineComponent({
|
|
12
12
|
expose: [],
|
|
13
13
|
emits: ["list-events"],
|
|
14
14
|
props: {
|
|
@@ -40,28 +40,28 @@ const _sfc_main = vue.defineComponent({
|
|
|
40
40
|
const i = obj[config.icon];
|
|
41
41
|
if (i) {
|
|
42
42
|
if (typeof i === "string") {
|
|
43
|
-
return
|
|
43
|
+
return vues.h(
|
|
44
44
|
index$1.Icon,
|
|
45
45
|
{
|
|
46
46
|
class: cs.z("icon")
|
|
47
47
|
},
|
|
48
|
-
|
|
48
|
+
vues.h("i", {
|
|
49
49
|
class: "icon-" + i
|
|
50
50
|
})
|
|
51
51
|
);
|
|
52
52
|
} else {
|
|
53
|
-
return
|
|
53
|
+
return vues.h(
|
|
54
54
|
index$1.Icon,
|
|
55
55
|
{
|
|
56
56
|
class: cs.z("icon")
|
|
57
57
|
},
|
|
58
|
-
|
|
58
|
+
vues.h(i)
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
const getLabel = (obj, config = {}) => {
|
|
64
|
-
return
|
|
64
|
+
return vues.h(
|
|
65
65
|
"span",
|
|
66
66
|
{
|
|
67
67
|
class: cs.z("text")
|
|
@@ -99,7 +99,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
99
99
|
const i = setIndexValue(v, obj, props.config);
|
|
100
100
|
if (c && c.length > 0) {
|
|
101
101
|
arr.push(
|
|
102
|
-
|
|
102
|
+
vues.h(
|
|
103
103
|
index$2.ElSubMenu,
|
|
104
104
|
{
|
|
105
105
|
popperClass: config.class + " " + config.class + "-" + v,
|
|
@@ -107,7 +107,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
109
|
default: () => getLists(c, config, obj),
|
|
110
|
-
title: () =>
|
|
110
|
+
title: () => vues.h(
|
|
111
111
|
"div",
|
|
112
112
|
{
|
|
113
113
|
class: cs.z("item")
|
|
@@ -122,13 +122,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
122
122
|
);
|
|
123
123
|
} else {
|
|
124
124
|
arr.push(
|
|
125
|
-
|
|
125
|
+
vues.h(
|
|
126
126
|
index$2.ElMenuItem,
|
|
127
127
|
{
|
|
128
128
|
index: i
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
|
-
title: () =>
|
|
131
|
+
title: () => vues.h(
|
|
132
132
|
"div",
|
|
133
133
|
{
|
|
134
134
|
class: cs.z("item")
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const vues = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
5
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
6
6
|
const index = require("../../../hooks/locale/index.cjs");
|
|
7
7
|
const use = require("../../common/use.cjs");
|
|
8
|
-
const _sfc_main = /* @__PURE__ */
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: data.dataProps,
|
|
11
11
|
emits: data.dataEmits,
|
|
@@ -23,10 +23,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
23
23
|
...data.dataExpose
|
|
24
24
|
});
|
|
25
25
|
return (_ctx, _cache) => {
|
|
26
|
-
return
|
|
27
|
-
class:
|
|
26
|
+
return vues.openBlock(), vues.createElementBlock("div", {
|
|
27
|
+
class: vues.normalizeClass(vues.unref(cs).z())
|
|
28
28
|
}, [
|
|
29
|
-
|
|
29
|
+
vues.createElementVNode("div", null, vues.toDisplayString(vues.unref(props).text), 1)
|
|
30
30
|
], 2);
|
|
31
31
|
};
|
|
32
32
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const vues = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
5
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
6
6
|
const index$2 = require("../../../hooks/locale/index.cjs");
|
|
7
7
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
8
8
|
const index$3 = require("element-plus/es/components/select/index");
|
|
9
|
-
const _sfc_main = /* @__PURE__ */
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
10
10
|
__name: "index",
|
|
11
11
|
props: data.dataProps,
|
|
12
12
|
emits: data.dataEmits,
|
|
13
13
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
14
|
-
const refEl =
|
|
15
|
-
const attrs = index.useInherit(
|
|
16
|
-
const slots =
|
|
14
|
+
const refEl = vues.ref();
|
|
15
|
+
const attrs = index.useInherit(vues.useAttrs());
|
|
16
|
+
const slots = vues.useSlots();
|
|
17
17
|
const cs = index$1.useCssName("option");
|
|
18
18
|
const { getLocale } = index$2.useLocale();
|
|
19
19
|
const props = __props;
|
|
@@ -23,10 +23,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
23
23
|
refEl
|
|
24
24
|
});
|
|
25
25
|
return (_ctx, _cache) => {
|
|
26
|
-
return
|
|
27
|
-
class:
|
|
28
|
-
},
|
|
29
|
-
|
|
26
|
+
return vues.openBlock(), vues.createElementBlock("div", vues.mergeProps({
|
|
27
|
+
class: vues.unref(cs).z()
|
|
28
|
+
}, vues.unref(attrs).root), [
|
|
29
|
+
vues.createVNode(vues.unref(index$3.ElOption), vues.mergeProps(vues.unref(attrs).assem, {
|
|
30
30
|
value: props.value,
|
|
31
31
|
ref_key: "refEl",
|
|
32
32
|
ref: refEl
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const vues = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
5
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
6
6
|
const index$1 = require("element-plus/es/components/select/index");
|
|
7
|
-
const _sfc_main = /* @__PURE__ */
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
8
8
|
__name: "index",
|
|
9
9
|
props: data.dataProps,
|
|
10
10
|
emits: data.dataEmits,
|
|
11
11
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
12
|
-
const attrs =
|
|
13
|
-
const slots =
|
|
12
|
+
const attrs = vues.useAttrs();
|
|
13
|
+
const slots = vues.useSlots();
|
|
14
14
|
const cs = index.useCssName("option-group");
|
|
15
15
|
const props = __props;
|
|
16
16
|
const emit = __emit;
|
|
@@ -18,14 +18,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
18
18
|
...data.dataExpose
|
|
19
19
|
});
|
|
20
20
|
return (_ctx, _cache) => {
|
|
21
|
-
return
|
|
22
|
-
class:
|
|
23
|
-
},
|
|
24
|
-
|
|
21
|
+
return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElOptionGroup), vues.mergeProps({
|
|
22
|
+
class: vues.unref(cs).z()
|
|
23
|
+
}, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
|
|
24
|
+
vues.renderList(Object.keys(vues.unref(slots)), (k) => {
|
|
25
25
|
return {
|
|
26
26
|
name: k,
|
|
27
|
-
fn:
|
|
28
|
-
|
|
27
|
+
fn: vues.withCtx((scope) => [
|
|
28
|
+
vues.renderSlot(_ctx.$slots, k, vues.normalizeProps(vues.guardReactiveProps(scope)))
|
|
29
29
|
])
|
|
30
30
|
};
|
|
31
31
|
})
|