@fangzhongya/fang-ui 0.0.98 → 0.0.99
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 +11 -11
- package/dist/components/array/src/index2.cjs +45 -45
- package/dist/components/audios/src/index2.cjs +54 -54
- package/dist/components/autocomplete/src/index2.cjs +11 -11
- package/dist/components/box/src/index2.cjs +21 -21
- package/dist/components/box-adjust/index.css +17 -0
- package/dist/components/box-adjust/index.scss +18 -0
- package/dist/components/box-adjust/src/data.cjs +17 -1
- package/dist/components/box-adjust/src/data.d.ts +16 -0
- package/dist/components/box-adjust/src/data.js +17 -1
- package/dist/components/box-adjust/src/index2.cjs +69 -35
- package/dist/components/box-adjust/src/index2.js +37 -3
- 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 +11 -11
- package/dist/components/buttons/src/index2.cjs +20 -20
- package/dist/components/card/src/index2.cjs +11 -11
- package/dist/components/cascader/src/index2.cjs +11 -11
- package/dist/components/cascader-panel/src/index2.cjs +11 -11
- package/dist/components/cascaders/src/index2.cjs +17 -17
- package/dist/components/checkbox/src/index2.cjs +11 -11
- package/dist/components/checkbox-button/src/index2.cjs +11 -11
- package/dist/components/checkbox-group/src/index2.cjs +11 -11
- 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 +11 -11
- package/dist/components/collapse-item/src/index2.cjs +11 -11
- package/dist/components/color-picker/src/index2.cjs +11 -11
- 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 +11 -11
- package/dist/components/date-picker/src/index2.cjs +11 -11
- package/dist/components/date-picker/style/element.scss +1 -1
- package/dist/components/date-picker-panel/src/index2.cjs +11 -11
- 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 +10 -10
- package/dist/components/dialog/src/index2.cjs +11 -11
- package/dist/components/dialogs/src/index2.cjs +23 -23
- package/dist/components/divider/src/index2.cjs +11 -11
- package/dist/components/drawer/src/index2.cjs +11 -11
- package/dist/components/dropdown/src/index2.cjs +11 -11
- package/dist/components/dropdown-item/src/index2.cjs +11 -11
- package/dist/components/dropdown-menu/src/index2.cjs +11 -11
- 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 +11 -11
- package/dist/components/form-item/src/index2.cjs +11 -11
- package/dist/components/forms/index.css +22 -0
- 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/full-screen/src/index2.cjs +11 -11
- 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/data.cjs +1 -1
- package/dist/components/iframe/src/data.js +1 -1
- package/dist/components/iframe/src/index2.cjs +15 -10
- package/dist/components/iframe/src/index2.js +5 -0
- package/dist/components/image/src/index2.cjs +11 -11
- package/dist/components/image-viewer/src/index2.cjs +11 -11
- package/dist/components/images/src/index2.cjs +17 -17
- package/dist/components/input/src/index2.cjs +11 -11
- package/dist/components/input-array/src/index2.cjs +38 -38
- package/dist/components/input-history/src/index2.cjs +47 -47
- 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 +11 -11
- package/dist/components/input-select/src/index2.cjs +51 -51
- package/dist/components/input-tag/src/index2.cjs +11 -11
- 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 +35 -35
- package/dist/components/mention/src/index2.cjs +11 -11
- package/dist/components/menu/src/index2.cjs +11 -11
- package/dist/components/menu-item/src/index2.cjs +11 -11
- package/dist/components/menu-item-group/src/index2.cjs +11 -11
- 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 +10 -10
- package/dist/components/option-group/src/index2.cjs +11 -11
- package/dist/components/page/index.css +22 -0
- 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 +11 -11
- package/dist/components/paging/src/index2.cjs +13 -13
- package/dist/components/popconfirm/src/index2.cjs +11 -11
- package/dist/components/popover/src/index2.cjs +11 -11
- package/dist/components/popup/src/index2.cjs +29 -29
- package/dist/components/radio/src/index2.cjs +11 -11
- package/dist/components/radio-button/src/index2.cjs +11 -11
- package/dist/components/radio-group/src/index2.cjs +11 -11
- 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/scrollbar/src/index2.cjs +11 -11
- package/dist/components/seamless-scroll/src/index2.cjs +24 -24
- package/dist/components/select/src/index2.cjs +11 -11
- package/dist/components/select-dialog/src/index2.cjs +65 -65
- package/dist/components/select-popover/src/index2.cjs +41 -41
- 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 +11 -11
- package/dist/components/sliders/src/index2.cjs +13 -13
- 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/sub-menu/src/index2.cjs +10 -10
- package/dist/components/switch/src/index2.cjs +11 -11
- package/dist/components/switchs/src/index2.cjs +15 -15
- package/dist/components/tab-pane/src/index2.cjs +11 -11
- package/dist/components/table/src/index2.cjs +11 -11
- package/dist/components/table-column/src/index2.cjs +11 -11
- 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 +36 -36
- package/dist/components/tabless/src/index2.cjs +49 -49
- 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 +11 -11
- package/dist/components/tag/src/index2.cjs +11 -11
- package/dist/components/text/src/index2.cjs +11 -11
- package/dist/components/text/style/element.scss +1 -1
- package/dist/components/texts/src/index2.cjs +8 -8
- package/dist/components/time-picker/src/index2.cjs +11 -11
- package/dist/components/time-select/src/index2.cjs +11 -11
- package/dist/components/tooltip/src/index2.cjs +11 -11
- package/dist/components/transfer/src/index2.cjs +11 -11
- package/dist/components/tree/src/index2.cjs +11 -11
- package/dist/components/tree-select/src/index2.cjs +11 -11
- package/dist/components/tree-select-box/src/index2.cjs +29 -29
- package/dist/components/upload/src/index2.cjs +11 -11
- package/dist/components/uploads/index.css +22 -0
- package/dist/components/uploads/index.scss +23 -0
- package/dist/components/uploads/src/index2.cjs +128 -138
- package/dist/components/uploads/src/index2.js +61 -71
- package/dist/components/uploads/src/util.cjs +80 -0
- package/dist/components/uploads/src/util.d.ts +10 -0
- package/dist/components/uploads/src/util.js +80 -0
- package/dist/components/uploads/src/views.cjs +4 -0
- package/dist/components/uploads/src/views.js +4 -0
- package/dist/components/uploads/src/views2.cjs +77 -0
- package/dist/components/uploads/src/views2.js +77 -0
- package/dist/components/user-select/src/index2.cjs +99 -99
- package/dist/components/videos/src/index2.cjs +97 -97
- package/dist/components/window/src/index2.cjs +61 -61
- package/dist/css/box-adjust.css +17 -0
- package/dist/css/forms.css +22 -0
- package/dist/css/index.css +39 -0
- package/dist/css/page.css +22 -0
- package/dist/css/uploads.css +22 -0
- package/dist/directives/scroll/index.cjs +6 -24
- package/dist/directives/scroll/index.js +1 -3
- package/dist/hooks/event-aliass/index.cjs +2 -2
- package/dist/hooks/full-screen/index.cjs +5 -5
- 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 +79 -79
- package/dist/icons/index.json +35 -35
- 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/catalogue.cjs +5 -5
- package/dist/icons/vue/clear.cjs +5 -5
- package/dist/icons/vue/close.cjs +3 -3
- package/dist/icons/vue/delete.cjs +3 -3
- package/dist/icons/vue/document.cjs +5 -5
- package/dist/icons/vue/down.cjs +3 -3
- package/dist/icons/vue/download.cjs +3 -3
- package/dist/icons/vue/edit.cjs +5 -5
- package/dist/icons/vue/enter.cjs +3 -3
- package/dist/icons/vue/frame.cjs +3 -3
- package/dist/icons/vue/left.cjs +3 -3
- package/dist/icons/vue/mute.cjs +3 -3
- package/dist/icons/vue/pause.cjs +4 -4
- package/dist/icons/vue/play.cjs +3 -3
- package/dist/icons/vue/plus.cjs +3 -3
- package/dist/icons/vue/retreat.cjs +3 -3
- package/dist/icons/vue/right.cjs +3 -3
- package/dist/icons/vue/sound.cjs +4 -4
- package/dist/icons/vue/star.cjs +4 -4
- package/dist/icons/vue/up.cjs +3 -3
- package/dist/icons/vue/views.cjs +5 -5
- package/dist/icons/vue/views.js +2 -2
- package/dist/index.css +39 -0
- package/dist/utils/vues/common.cjs +2 -2
- package/package.json +3 -3
- /package/dist/components/{alert → divider}/index.css +0 -0
- /package/dist/css/{alert.css → divider.css} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const vue = require("vue");
|
|
4
4
|
const index$3 = require("../../tables/index.cjs");
|
|
5
5
|
const index$2 = require("../../tablesv/index.cjs");
|
|
6
6
|
const index$4 = require("../../paging/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__ */ vue.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("tabless");
|
|
17
|
-
const slots =
|
|
17
|
+
const slots = vue.useSlots();
|
|
18
18
|
const props = __props;
|
|
19
19
|
const emit = __emit;
|
|
20
|
-
const refTable =
|
|
20
|
+
const refTable = vue.ref();
|
|
21
21
|
const {
|
|
22
22
|
height,
|
|
23
23
|
getSelection,
|
|
@@ -48,74 +48,74 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
48
48
|
});
|
|
49
49
|
return (_ctx, _cache) => {
|
|
50
50
|
var _a, _b, _c, _d, _e;
|
|
51
|
-
return
|
|
52
|
-
class:
|
|
53
|
-
style:
|
|
54
|
-
height:
|
|
51
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
52
|
+
class: vue.normalizeClass(vue.unref(cs).z()),
|
|
53
|
+
style: vue.normalizeStyle({
|
|
54
|
+
height: vue.unref(height) == "100%" ? vue.unref(height) : ""
|
|
55
55
|
})
|
|
56
56
|
}, [
|
|
57
|
-
|
|
58
|
-
height:
|
|
57
|
+
vue.unref(tableConfig).type == 1 ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.Tablesv), vue.mergeProps({ key: 0 }, vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
|
|
58
|
+
height: vue.unref(height),
|
|
59
59
|
ref_key: "refTable",
|
|
60
60
|
ref: refTable,
|
|
61
|
-
class: [
|
|
62
|
-
size: (_a =
|
|
63
|
-
value:
|
|
64
|
-
list:
|
|
65
|
-
paginat:
|
|
66
|
-
loading: ((_b =
|
|
61
|
+
class: [vue.unref(cs).z("main")],
|
|
62
|
+
size: (_a = vue.unref(tableConfig).config) == null ? void 0 : _a.size,
|
|
63
|
+
value: vue.unref(data).list,
|
|
64
|
+
list: vue.unref(tableList),
|
|
65
|
+
paginat: vue.unref(paginat),
|
|
66
|
+
loading: ((_b = vue.unref(tableConfig).config) == null ? void 0 : _b.noloading) ? false : vue.unref(loading),
|
|
67
67
|
options: props.options,
|
|
68
68
|
compons: props.compons,
|
|
69
|
-
onSortChange:
|
|
70
|
-
onRadioChange:
|
|
71
|
-
onSelectionChange:
|
|
72
|
-
onListEvents:
|
|
73
|
-
}),
|
|
74
|
-
|
|
69
|
+
onSortChange: vue.unref(onSortChange),
|
|
70
|
+
onRadioChange: vue.unref(onRadioChange),
|
|
71
|
+
onSelectionChange: vue.unref(onChange),
|
|
72
|
+
onListEvents: vue.unref(onListEvents)
|
|
73
|
+
}), vue.createSlots({ _: 2 }, [
|
|
74
|
+
vue.renderList(Object.keys(vue.unref(slots)), (k, i) => {
|
|
75
75
|
return {
|
|
76
76
|
name: k,
|
|
77
|
-
fn:
|
|
78
|
-
|
|
77
|
+
fn: vue.withCtx((scope) => [
|
|
78
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
79
79
|
])
|
|
80
80
|
};
|
|
81
81
|
})
|
|
82
|
-
]), 1040, ["height", "class", "size", "value", "list", "paginat", "loading", "options", "compons", "onSortChange", "onRadioChange", "onSelectionChange", "onListEvents"])) : (
|
|
83
|
-
height:
|
|
82
|
+
]), 1040, ["height", "class", "size", "value", "list", "paginat", "loading", "options", "compons", "onSortChange", "onRadioChange", "onSelectionChange", "onListEvents"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$3.Tables), vue.mergeProps({ key: 1 }, vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
|
|
83
|
+
height: vue.unref(height),
|
|
84
84
|
ref_key: "refTable",
|
|
85
85
|
ref: refTable,
|
|
86
86
|
class: [
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
vue.unref(cs).z("main"),
|
|
88
|
+
vue.unref(cs).is("radio", (_c = vue.unref(tableConfig).config) == null ? void 0 : _c.isradio)
|
|
89
89
|
],
|
|
90
|
-
value:
|
|
91
|
-
list:
|
|
92
|
-
size: (_d =
|
|
93
|
-
paginat:
|
|
94
|
-
loading:
|
|
90
|
+
value: vue.unref(data).list,
|
|
91
|
+
list: vue.unref(tableList),
|
|
92
|
+
size: (_d = vue.unref(tableConfig).config) == null ? void 0 : _d.size,
|
|
93
|
+
paginat: vue.unref(paginat),
|
|
94
|
+
loading: vue.unref(loading),
|
|
95
95
|
options: props.options,
|
|
96
96
|
compons: props.compons,
|
|
97
|
-
onSortChange:
|
|
98
|
-
onListEvents:
|
|
99
|
-
onSelect:
|
|
100
|
-
onRowClick:
|
|
101
|
-
onSelectionChange:
|
|
102
|
-
}),
|
|
103
|
-
|
|
97
|
+
onSortChange: vue.unref(onSortChange),
|
|
98
|
+
onListEvents: vue.unref(onListEvents),
|
|
99
|
+
onSelect: vue.unref(onSelect),
|
|
100
|
+
onRowClick: vue.unref(onRowClick),
|
|
101
|
+
onSelectionChange: vue.unref(onChange)
|
|
102
|
+
}), vue.createSlots({ _: 2 }, [
|
|
103
|
+
vue.renderList(Object.keys(vue.unref(slots)), (k, i) => {
|
|
104
104
|
return {
|
|
105
105
|
name: k,
|
|
106
|
-
fn:
|
|
107
|
-
|
|
106
|
+
fn: vue.withCtx((scope) => [
|
|
107
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
108
108
|
])
|
|
109
109
|
};
|
|
110
110
|
})
|
|
111
111
|
]), 1040, ["height", "class", "value", "list", "size", "paginat", "loading", "options", "compons", "onSortChange", "onListEvents", "onSelect", "onRowClick", "onSelectionChange"])),
|
|
112
|
-
((_e =
|
|
113
|
-
class:
|
|
114
|
-
paginat:
|
|
115
|
-
total:
|
|
116
|
-
onSizeChange:
|
|
117
|
-
onCurrentChange:
|
|
118
|
-
}), null, 16, ["class", "paginat", "total", "onSizeChange", "onCurrentChange"])) :
|
|
112
|
+
((_e = vue.unref(tableConfig).paginat) == null ? void 0 : _e.is) ? (vue.openBlock(), vue.createBlock(vue.unref(index$4.Paging), vue.mergeProps({ key: 2 }, vue.unref(pagconfig), {
|
|
113
|
+
class: vue.unref(cs).z("paginat"),
|
|
114
|
+
paginat: vue.unref(paginat),
|
|
115
|
+
total: vue.unref(data).total,
|
|
116
|
+
onSizeChange: vue.unref(onSizeChange),
|
|
117
|
+
onCurrentChange: vue.unref(onCurrentChange)
|
|
118
|
+
}), null, 16, ["class", "paginat", "total", "onSizeChange", "onCurrentChange"])) : vue.createCommentVNode("", true)
|
|
119
119
|
], 6);
|
|
120
120
|
};
|
|
121
121
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
3
|
+
const vue = require("vue");
|
|
4
4
|
const use = require("../../common/use.cjs");
|
|
5
5
|
const index$2 = require("../../../hooks/inherit/index.cjs");
|
|
6
6
|
const compons = require("../../common/compons.cjs");
|
|
@@ -12,7 +12,7 @@ const index$1 = require("../../checkbox/index.cjs");
|
|
|
12
12
|
const lineToSmallHump = require("@fangzhongya/utils/name/lineToSmallHump");
|
|
13
13
|
function setBox(props, obj, emit, propss, slots, index$22) {
|
|
14
14
|
if (props.type == "radio") {
|
|
15
|
-
return
|
|
15
|
+
return vue.h(
|
|
16
16
|
column.VxeColumn,
|
|
17
17
|
{
|
|
18
18
|
...props,
|
|
@@ -21,7 +21,7 @@ function setBox(props, obj, emit, propss, slots, index$22) {
|
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
radio: (scope) => {
|
|
24
|
-
return
|
|
24
|
+
return vue.h(
|
|
25
25
|
"span",
|
|
26
26
|
{
|
|
27
27
|
class: "fv-custom-radio " + props.align + " " + (scope.disabled ? "is-disabled" : ""),
|
|
@@ -30,7 +30,7 @@ function setBox(props, obj, emit, propss, slots, index$22) {
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
[
|
|
33
|
-
|
|
33
|
+
vue.h(
|
|
34
34
|
index.Radio,
|
|
35
35
|
{
|
|
36
36
|
modelValue: scope.checked,
|
|
@@ -44,7 +44,7 @@ function setBox(props, obj, emit, propss, slots, index$22) {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
),
|
|
47
|
-
|
|
47
|
+
vue.h("span", {
|
|
48
48
|
class: "fv-custom-radio-mask"
|
|
49
49
|
})
|
|
50
50
|
]
|
|
@@ -53,7 +53,7 @@ function setBox(props, obj, emit, propss, slots, index$22) {
|
|
|
53
53
|
}
|
|
54
54
|
);
|
|
55
55
|
} else {
|
|
56
|
-
return
|
|
56
|
+
return vue.h(
|
|
57
57
|
column.VxeColumn,
|
|
58
58
|
{
|
|
59
59
|
...props,
|
|
@@ -62,7 +62,7 @@ function setBox(props, obj, emit, propss, slots, index$22) {
|
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
header: (scope) => {
|
|
65
|
-
return
|
|
65
|
+
return vue.h(
|
|
66
66
|
"span",
|
|
67
67
|
{
|
|
68
68
|
class: "fv-custom-checkbox",
|
|
@@ -71,7 +71,7 @@ function setBox(props, obj, emit, propss, slots, index$22) {
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
[
|
|
74
|
-
|
|
74
|
+
vue.h(
|
|
75
75
|
index$1.Checkbox,
|
|
76
76
|
{
|
|
77
77
|
indeterminate: scope.indeterminate,
|
|
@@ -79,14 +79,14 @@ function setBox(props, obj, emit, propss, slots, index$22) {
|
|
|
79
79
|
},
|
|
80
80
|
obj.label
|
|
81
81
|
),
|
|
82
|
-
|
|
82
|
+
vue.h("span", {
|
|
83
83
|
class: "fv-custom-checkbox-mask"
|
|
84
84
|
})
|
|
85
85
|
]
|
|
86
86
|
);
|
|
87
87
|
},
|
|
88
88
|
checkbox: (scope) => {
|
|
89
|
-
return
|
|
89
|
+
return vue.h(
|
|
90
90
|
"span",
|
|
91
91
|
{
|
|
92
92
|
class: "fv-custom-checkbox " + (scope.disabled ? "is-disabled" : ""),
|
|
@@ -95,12 +95,12 @@ function setBox(props, obj, emit, propss, slots, index$22) {
|
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
[
|
|
98
|
-
|
|
98
|
+
vue.h(index$1.Checkbox, {
|
|
99
99
|
indeterminate: scope.indeterminate,
|
|
100
100
|
modelValue: scope.checked,
|
|
101
101
|
disabled: scope.disabled
|
|
102
102
|
}),
|
|
103
|
-
|
|
103
|
+
vue.h("span", {
|
|
104
104
|
class: "fv-custom-checkbox-mask"
|
|
105
105
|
})
|
|
106
106
|
]
|
|
@@ -176,7 +176,7 @@ function setSslot(obj, scope, emit, slots, props, index2) {
|
|
|
176
176
|
const isComponSelected = props.isComponSelected;
|
|
177
177
|
if (isComponSelected(obj, scope)) {
|
|
178
178
|
const optionss = props.options || {};
|
|
179
|
-
const compons$1 =
|
|
179
|
+
const compons$1 = vue.inject("tables-compons", {});
|
|
180
180
|
const column2 = use.useSetCompon(
|
|
181
181
|
obj,
|
|
182
182
|
scope.row,
|
|
@@ -211,7 +211,7 @@ function defaultDom(obj, scope, props, index2) {
|
|
|
211
211
|
return;
|
|
212
212
|
}
|
|
213
213
|
domValue = use.useGetDomValue(obj, scope.row, props.options, scope.$index);
|
|
214
|
-
return
|
|
214
|
+
return vue.h(
|
|
215
215
|
"span",
|
|
216
216
|
{
|
|
217
217
|
class: "text",
|
|
@@ -226,7 +226,7 @@ function defaultDom(obj, scope, props, index2) {
|
|
|
226
226
|
}
|
|
227
227
|
function setHeader(obj, scope, slots, emit, props, index2) {
|
|
228
228
|
const optionss = props.options || {};
|
|
229
|
-
const compons2 =
|
|
229
|
+
const compons2 = vue.inject("tables-compons", {});
|
|
230
230
|
return use.useGetDomLabel(
|
|
231
231
|
obj.label,
|
|
232
232
|
obj,
|
|
@@ -254,7 +254,7 @@ function getDom(obj, emit, propss, slots, index2) {
|
|
|
254
254
|
return setHeader(obj, scope, slots, emit, propss, index2);
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
return
|
|
257
|
+
return vue.h(
|
|
258
258
|
column.VxeColumn,
|
|
259
259
|
{
|
|
260
260
|
...props,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const vue = require("vue");
|
|
4
4
|
const columns = require("./columns3.cjs");
|
|
5
5
|
const index = require("../../tooltip/index.cjs");
|
|
6
6
|
require("../../tables/common/table-but.cjs");
|
|
@@ -9,7 +9,7 @@ require("../../tables/common/table-list.cjs");
|
|
|
9
9
|
const tableList_vue_vue_type_script_setup_true_lang = require("../../tables/common/table-list2.cjs");
|
|
10
10
|
const tableColor_vue_vue_type_script_setup_true_lang = require("../../tables/common/table-color2.cjs");
|
|
11
11
|
const tableBut_vue_vue_type_script_setup_true_lang = require("../../tables/common/table-but2.cjs");
|
|
12
|
-
const _sfc_main =
|
|
12
|
+
const _sfc_main = vue.defineComponent({
|
|
13
13
|
emits: ["list-events"],
|
|
14
14
|
components: { VxeTooltip: index.Tooltip, But: tableBut_vue_vue_type_script_setup_true_lang.default, Color: tableColor_vue_vue_type_script_setup_true_lang.default, List: tableList_vue_vue_type_script_setup_true_lang.default },
|
|
15
15
|
expose: [],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
3
|
+
const vue = require("vue");
|
|
4
4
|
const util = require("../../tables/common/util.cjs");
|
|
5
5
|
const use = require("../../common/use.cjs");
|
|
6
6
|
const colgroup = require("vxe-table/es/colgroup");
|
|
@@ -33,7 +33,7 @@ function getLists(arrs, emit, props, slots, listobj) {
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
arr.push(
|
|
36
|
-
|
|
36
|
+
vue.h(
|
|
37
37
|
colgroup.VxeColgroup,
|
|
38
38
|
{
|
|
39
39
|
...column.setProps(obj, props),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const vue = require("vue");
|
|
4
4
|
const table = require("vxe-table/es/table");
|
|
5
5
|
const data = require("./data.cjs");
|
|
6
6
|
require("./columns.cjs");
|
|
@@ -10,20 +10,20 @@ const index$1 = require("../../../hooks/inherit/index.cjs");
|
|
|
10
10
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
11
11
|
const compons = require("../../common/compons.cjs");
|
|
12
12
|
const columns_vue_vue_type_script_lang = require("./columns2.cjs");
|
|
13
|
-
const _sfc_main = /* @__PURE__ */
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
14
14
|
__name: "index",
|
|
15
15
|
props: data.dataProps,
|
|
16
16
|
emits: data.dataEmits,
|
|
17
17
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
18
18
|
const cs = index.useCssName("tablesv");
|
|
19
|
-
const slots =
|
|
20
|
-
const attrs = index$1.useInherit(
|
|
19
|
+
const slots = vue.useSlots();
|
|
20
|
+
const attrs = index$1.useInherit(vue.useAttrs());
|
|
21
21
|
const props = __props;
|
|
22
|
-
|
|
23
|
-
const tableRef =
|
|
22
|
+
vue.provide("tables-compons", compons.getCompons(props.compons));
|
|
23
|
+
const tableRef = vue.ref();
|
|
24
24
|
const emit = __emit;
|
|
25
|
-
const rowObj =
|
|
26
|
-
const isfocus =
|
|
25
|
+
const rowObj = vue.ref();
|
|
26
|
+
const isfocus = vue.ref(false);
|
|
27
27
|
function onClick() {
|
|
28
28
|
isfocus.value = true;
|
|
29
29
|
}
|
|
@@ -54,10 +54,10 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
54
54
|
default: "medium",
|
|
55
55
|
small: "small"
|
|
56
56
|
};
|
|
57
|
-
const size =
|
|
57
|
+
const size = vue.computed(() => {
|
|
58
58
|
return sizeMap[props.size] || "";
|
|
59
59
|
});
|
|
60
|
-
const tableDefaultSort =
|
|
60
|
+
const tableDefaultSort = vue.computed(() => {
|
|
61
61
|
var _a, _b;
|
|
62
62
|
return {
|
|
63
63
|
prop: (_a = props.defaultSort) == null ? void 0 : _a.prop,
|
|
@@ -72,7 +72,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
72
72
|
return false;
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
|
-
const config =
|
|
75
|
+
const config = vue.ref({
|
|
76
76
|
nocustomize: attrs.assem.__B("nocustomize"),
|
|
77
77
|
row: {
|
|
78
78
|
isCurrent: setHover(),
|
|
@@ -97,7 +97,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
97
97
|
trigger: attrs.assem.noRowSelect ? "cell" : "row"
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
|
-
const rowStyle =
|
|
100
|
+
const rowStyle = vue.computed(() => {
|
|
101
101
|
const height = props.lineHeight;
|
|
102
102
|
const rowStyle2 = attrs.assem.rowStyle;
|
|
103
103
|
if (height) {
|
|
@@ -120,7 +120,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
122
|
});
|
|
123
|
-
|
|
123
|
+
vue.watch(tableDefaultSort, (newValue, oldValue) => {
|
|
124
124
|
let prop = tableDefaultSort.value.prop;
|
|
125
125
|
let order = tableDefaultSort.value.order;
|
|
126
126
|
if (tableRef.value) {
|
|
@@ -172,7 +172,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
172
172
|
function clearRadioRow() {
|
|
173
173
|
tableRef.value.clearRadioRow();
|
|
174
174
|
}
|
|
175
|
-
|
|
175
|
+
vue.onMounted(() => {
|
|
176
176
|
if (window) {
|
|
177
177
|
window.addEventListener("click", () => {
|
|
178
178
|
isfocus.value = false;
|
|
@@ -185,14 +185,14 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
185
185
|
clearRadioRow
|
|
186
186
|
});
|
|
187
187
|
return (_ctx, _cache) => {
|
|
188
|
-
return
|
|
189
|
-
class:
|
|
190
|
-
},
|
|
191
|
-
|
|
188
|
+
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
189
|
+
class: vue.unref(cs).z()
|
|
190
|
+
}, vue.unref(attrs).root), [
|
|
191
|
+
vue.createVNode(vue.unref(table.VxeTable), vue.mergeProps(vue.unref(attrs).assem, {
|
|
192
192
|
ref_key: "tableRef",
|
|
193
193
|
ref: tableRef,
|
|
194
194
|
height: props.height == "auto" ? "" : props.height,
|
|
195
|
-
class: [
|
|
195
|
+
class: [vue.unref(cs).z("table"), vue.unref(cs).is("absolute", props.adaptive)],
|
|
196
196
|
size: size.value,
|
|
197
197
|
loading: props.loading,
|
|
198
198
|
"column-config": config.value.column,
|
|
@@ -207,30 +207,30 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
207
207
|
onSortChange: sortChange,
|
|
208
208
|
onCheckboxAll: selectAllChangeEvent,
|
|
209
209
|
onCheckboxChange: selectChangeEvent,
|
|
210
|
-
onClick:
|
|
210
|
+
onClick: vue.withModifiers(onClick, ["stop"])
|
|
211
211
|
}), {
|
|
212
|
-
empty:
|
|
213
|
-
|
|
214
|
-
|
|
212
|
+
empty: vue.withCtx(() => [
|
|
213
|
+
vue.renderSlot(_ctx.$slots, "no-data", {}, () => [
|
|
214
|
+
vue.createVNode(vue.unref(index$2.NoData))
|
|
215
215
|
])
|
|
216
216
|
]),
|
|
217
|
-
default:
|
|
218
|
-
|
|
219
|
-
table:
|
|
217
|
+
default: vue.withCtx(() => [
|
|
218
|
+
vue.createVNode(columns_vue_vue_type_script_lang.default, {
|
|
219
|
+
table: vue.unref(attrs).assem,
|
|
220
220
|
vxeconfig: config.value,
|
|
221
221
|
value: props.value,
|
|
222
222
|
list: props.list,
|
|
223
223
|
options: props.options,
|
|
224
224
|
isComponSelected,
|
|
225
225
|
onListEvents
|
|
226
|
-
},
|
|
227
|
-
|
|
226
|
+
}, vue.createSlots({ _: 2 }, [
|
|
227
|
+
vue.renderList(Object.keys(vue.unref(slots)).filter(
|
|
228
228
|
(v) => !["empty", "no-data"].includes(v)
|
|
229
229
|
), (k) => {
|
|
230
230
|
return {
|
|
231
231
|
name: k,
|
|
232
|
-
fn:
|
|
233
|
-
|
|
232
|
+
fn: vue.withCtx((scope) => [
|
|
233
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
234
234
|
])
|
|
235
235
|
};
|
|
236
236
|
})
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const vue = require("vue");
|
|
4
4
|
const index$2 = require("../../tablesv/index.cjs");
|
|
5
5
|
const index$3 = require("../../paging/index.cjs");
|
|
6
6
|
const pagin = require("../../tables/common/pagin.cjs");
|
|
7
7
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
8
8
|
const index = require("../../../hooks/locale/index.cjs");
|
|
9
|
-
const _sfc_main = /* @__PURE__ */
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
__name: "index",
|
|
11
11
|
props: pagin.dataProps,
|
|
12
12
|
emits: pagin.dataEmit,
|
|
13
13
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
14
14
|
const { getLocale } = index.useLocale();
|
|
15
15
|
const cs = index$1.useCssName("tablesvp");
|
|
16
|
-
const slots =
|
|
16
|
+
const slots = vue.useSlots();
|
|
17
17
|
const props = __props;
|
|
18
18
|
const emit = __emit;
|
|
19
|
-
const refTable =
|
|
19
|
+
const refTable = vue.ref();
|
|
20
20
|
const {
|
|
21
21
|
height,
|
|
22
22
|
getSelection,
|
|
@@ -45,43 +45,43 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
45
45
|
});
|
|
46
46
|
return (_ctx, _cache) => {
|
|
47
47
|
var _a, _b, _c;
|
|
48
|
-
return
|
|
49
|
-
class:
|
|
50
|
-
style:
|
|
48
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
49
|
+
class: vue.normalizeClass(vue.unref(cs).z()),
|
|
50
|
+
style: vue.normalizeStyle(vue.unref(cs).vdo({ height: vue.unref(height) }))
|
|
51
51
|
}, [
|
|
52
|
-
|
|
53
|
-
height:
|
|
52
|
+
vue.createVNode(vue.unref(index$2.Tablesv), vue.mergeProps(vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
|
|
53
|
+
height: vue.unref(height) == "auto" ? "auto" : "100%",
|
|
54
54
|
ref_key: "refTable",
|
|
55
55
|
ref: refTable,
|
|
56
|
-
class: [
|
|
57
|
-
size: (_a =
|
|
58
|
-
value:
|
|
59
|
-
list:
|
|
60
|
-
paginat:
|
|
61
|
-
loading: ((_b =
|
|
56
|
+
class: [vue.unref(cs).z("main")],
|
|
57
|
+
size: (_a = vue.unref(tableConfig).config) == null ? void 0 : _a.size,
|
|
58
|
+
value: vue.unref(data).list,
|
|
59
|
+
list: vue.unref(tableList),
|
|
60
|
+
paginat: vue.unref(paginat),
|
|
61
|
+
loading: ((_b = vue.unref(tableConfig).config) == null ? void 0 : _b.noloading) ? false : vue.unref(loading),
|
|
62
62
|
options: props.options,
|
|
63
63
|
compons: props.compons,
|
|
64
|
-
onSortChange:
|
|
65
|
-
onRadioChange:
|
|
66
|
-
onSelectionChange:
|
|
67
|
-
onListEvents:
|
|
68
|
-
}),
|
|
69
|
-
|
|
64
|
+
onSortChange: vue.unref(onSortChange),
|
|
65
|
+
onRadioChange: vue.unref(onRadioChange),
|
|
66
|
+
onSelectionChange: vue.unref(onChange),
|
|
67
|
+
onListEvents: vue.unref(onListEvents)
|
|
68
|
+
}), vue.createSlots({ _: 2 }, [
|
|
69
|
+
vue.renderList(Object.keys(vue.unref(slots)), (k, i) => {
|
|
70
70
|
return {
|
|
71
71
|
name: k,
|
|
72
|
-
fn:
|
|
73
|
-
|
|
72
|
+
fn: vue.withCtx((scope) => [
|
|
73
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
74
74
|
])
|
|
75
75
|
};
|
|
76
76
|
})
|
|
77
77
|
]), 1040, ["height", "class", "size", "value", "list", "paginat", "loading", "options", "compons", "onSortChange", "onRadioChange", "onSelectionChange", "onListEvents"]),
|
|
78
|
-
((_c =
|
|
79
|
-
class:
|
|
80
|
-
paginat:
|
|
81
|
-
total:
|
|
82
|
-
onSizeChange:
|
|
83
|
-
onCurrentChange:
|
|
84
|
-
}), null, 16, ["class", "paginat", "total", "onSizeChange", "onCurrentChange"])) :
|
|
78
|
+
((_c = vue.unref(tableConfig).paginat) == null ? void 0 : _c.is) ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.Paging), vue.mergeProps({ key: 0 }, vue.unref(pagconfig), {
|
|
79
|
+
class: vue.unref(cs).z("paginat"),
|
|
80
|
+
paginat: vue.unref(paginat),
|
|
81
|
+
total: vue.unref(data).total,
|
|
82
|
+
onSizeChange: vue.unref(onSizeChange),
|
|
83
|
+
onCurrentChange: vue.unref(onCurrentChange)
|
|
84
|
+
}), null, 16, ["class", "paginat", "total", "onSizeChange", "onCurrentChange"])) : vue.createCommentVNode("", true)
|
|
85
85
|
], 6);
|
|
86
86
|
};
|
|
87
87
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
3
|
+
const vue = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
5
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
6
6
|
const index$1 = require("../../../hooks/expose/index.cjs");
|
|
7
7
|
const index$2 = require("element-plus/es/components/tabs/index");
|
|
8
|
-
const _sfc_main = /* @__PURE__ */
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: data.dataProps,
|
|
11
11
|
emits: data.dataEmits,
|
|
12
12
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
13
|
-
const attrs =
|
|
14
|
-
const slots =
|
|
13
|
+
const attrs = vue.useAttrs();
|
|
14
|
+
const slots = vue.useSlots();
|
|
15
15
|
const cs = index.useCssName("tabs");
|
|
16
16
|
const props = __props;
|
|
17
17
|
const emit = __emit;
|
|
18
|
-
const elRef =
|
|
18
|
+
const elRef = vue.ref();
|
|
19
19
|
__expose(
|
|
20
20
|
index$1.useExpose(
|
|
21
21
|
{
|
|
@@ -25,16 +25,16 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
25
25
|
)
|
|
26
26
|
);
|
|
27
27
|
return (_ctx, _cache) => {
|
|
28
|
-
return
|
|
28
|
+
return vue.openBlock(), vue.createBlock(vue.unref(index$2.ElTabs), vue.mergeProps({
|
|
29
29
|
ref_key: "elRef",
|
|
30
30
|
ref: elRef,
|
|
31
|
-
class:
|
|
32
|
-
},
|
|
33
|
-
|
|
31
|
+
class: vue.unref(cs).z()
|
|
32
|
+
}, vue.unref(attrs)), vue.createSlots({ _: 2 }, [
|
|
33
|
+
vue.renderList(Object.keys(vue.unref(slots)), (k) => {
|
|
34
34
|
return {
|
|
35
35
|
name: k,
|
|
36
|
-
fn:
|
|
37
|
-
|
|
36
|
+
fn: vue.withCtx((scope) => [
|
|
37
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope || {})))
|
|
38
38
|
])
|
|
39
39
|
};
|
|
40
40
|
})
|