@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
|
@@ -17,11 +17,27 @@ const dataProps = buildProps.buildProps({
|
|
|
17
17
|
*/
|
|
18
18
|
often: {
|
|
19
19
|
type: Boolean
|
|
20
|
+
},
|
|
21
|
+
/**
|
|
22
|
+
* @props { Boolean } max= ( )
|
|
23
|
+
* 是否显示最大化
|
|
24
|
+
*/
|
|
25
|
+
isMax: {
|
|
26
|
+
type: Boolean
|
|
27
|
+
},
|
|
28
|
+
/**
|
|
29
|
+
* @props { Boolean } max= ( )
|
|
30
|
+
* 是否要最大化
|
|
31
|
+
*/
|
|
32
|
+
max: {
|
|
33
|
+
type: Boolean
|
|
20
34
|
}
|
|
21
35
|
});
|
|
22
36
|
const dataEmits = [...data.dataEmits];
|
|
23
37
|
const dataSlot = {
|
|
24
|
-
...data.dataSlot
|
|
38
|
+
...data.dataSlot,
|
|
39
|
+
"icon-max": "icon-max",
|
|
40
|
+
"icon-full": "icon-full"
|
|
25
41
|
};
|
|
26
42
|
const dataExpose = { ...data.dataExpose };
|
|
27
43
|
exports.dataEmits = dataEmits;
|
|
@@ -15,6 +15,20 @@ export declare const dataProps: {
|
|
|
15
15
|
often: {
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* @props { Boolean } max= ( )
|
|
20
|
+
* 是否显示最大化
|
|
21
|
+
*/
|
|
22
|
+
isMax: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @props { Boolean } max= ( )
|
|
27
|
+
* 是否要最大化
|
|
28
|
+
*/
|
|
29
|
+
max: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
};
|
|
18
32
|
title: {
|
|
19
33
|
type: StringConstructor;
|
|
20
34
|
};
|
|
@@ -43,6 +57,8 @@ export type DataEmits = typeof dataEmits;
|
|
|
43
57
|
/**
|
|
44
58
|
*/
|
|
45
59
|
export declare const dataSlot: {
|
|
60
|
+
'icon-max': string;
|
|
61
|
+
'icon-full': string;
|
|
46
62
|
default: string;
|
|
47
63
|
title: string;
|
|
48
64
|
footer: string;
|
|
@@ -15,11 +15,27 @@ const dataProps = buildProps({
|
|
|
15
15
|
*/
|
|
16
16
|
often: {
|
|
17
17
|
type: Boolean
|
|
18
|
+
},
|
|
19
|
+
/**
|
|
20
|
+
* @props { Boolean } max= ( )
|
|
21
|
+
* 是否显示最大化
|
|
22
|
+
*/
|
|
23
|
+
isMax: {
|
|
24
|
+
type: Boolean
|
|
25
|
+
},
|
|
26
|
+
/**
|
|
27
|
+
* @props { Boolean } max= ( )
|
|
28
|
+
* 是否要最大化
|
|
29
|
+
*/
|
|
30
|
+
max: {
|
|
31
|
+
type: Boolean
|
|
18
32
|
}
|
|
19
33
|
});
|
|
20
34
|
const dataEmits = [...dataEmits$1];
|
|
21
35
|
const dataSlot = {
|
|
22
|
-
...dataSlot$1
|
|
36
|
+
...dataSlot$1,
|
|
37
|
+
"icon-max": "icon-max",
|
|
38
|
+
"icon-full": "icon-full"
|
|
23
39
|
};
|
|
24
40
|
const dataExpose = { ...dataExpose$1 };
|
|
25
41
|
export {
|
|
@@ -1,29 +1,38 @@
|
|
|
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
|
-
const index = require("../../../hooks/cssname/index.cjs");
|
|
6
|
-
const index
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const index$
|
|
10
|
-
const index$
|
|
5
|
+
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
6
|
+
const index = require("../../../hooks/locale/index.cjs");
|
|
7
|
+
const frame = require("../../../icons/vue/frame.cjs");
|
|
8
|
+
const star = require("../../../icons/vue/star.cjs");
|
|
9
|
+
const index$4 = require("../../box-title/index.cjs");
|
|
10
|
+
const index$3 = require("../../box-mask/index.cjs");
|
|
11
|
+
const index$2 = require("../../box-teleport/index.cjs");
|
|
12
|
+
const index$6 = require("../../../directives/adjust/index.cjs");
|
|
13
|
+
const index$5 = require("../../../directives/drag/index.cjs");
|
|
11
14
|
const use = require("../../common/use.cjs");
|
|
12
|
-
const
|
|
15
|
+
const _hoisted_1 = ["title"];
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
13
17
|
__name: "index",
|
|
14
18
|
props: data.dataProps,
|
|
15
19
|
emits: data.dataEmits,
|
|
16
20
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
17
|
-
const isInit =
|
|
18
|
-
const
|
|
21
|
+
const isInit = vue.shallowRef(false);
|
|
22
|
+
const { getLocale } = index.useLocale();
|
|
23
|
+
const cs = index$1.useCssName("box-adjust");
|
|
19
24
|
const prs = __props;
|
|
20
25
|
const props = use.uesPropsDefault(prs, {
|
|
21
26
|
drag() {
|
|
22
27
|
return "." + cs.name + "box-title-name";
|
|
23
28
|
}
|
|
24
29
|
});
|
|
30
|
+
const maxvalue = vue.shallowRef(props.max);
|
|
25
31
|
const emit = __emit;
|
|
26
|
-
|
|
32
|
+
function onMax() {
|
|
33
|
+
maxvalue.value = !maxvalue.value;
|
|
34
|
+
}
|
|
35
|
+
vue.watch(
|
|
27
36
|
() => props.modelValue,
|
|
28
37
|
() => {
|
|
29
38
|
if (props.modelValue) {
|
|
@@ -40,46 +49,71 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
40
49
|
...data.dataExpose
|
|
41
50
|
});
|
|
42
51
|
return (_ctx, _cache) => {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
52
|
+
const _component_Icon = vue.resolveComponent("Icon");
|
|
53
|
+
return vue.openBlock(), vue.createBlock(vue.unref(index$2.BoxTeleport), {
|
|
54
|
+
disabled: vue.unref(props).disabled,
|
|
55
|
+
to: vue.unref(props).to
|
|
46
56
|
}, {
|
|
47
|
-
default:
|
|
48
|
-
isInit.value ?
|
|
57
|
+
default: vue.withCtx(() => [
|
|
58
|
+
isInit.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
49
59
|
key: 0,
|
|
50
|
-
class:
|
|
60
|
+
class: vue.normalizeClass(vue.unref(cs).z())
|
|
51
61
|
}, [
|
|
52
|
-
|
|
62
|
+
vue.createVNode(vue.unref(index$3.BoxMask), {
|
|
53
63
|
onClick: onClose,
|
|
54
|
-
cssprefix:
|
|
64
|
+
cssprefix: vue.unref(props).cssprefix || vue.unref(cs).z()
|
|
55
65
|
}, null, 8, ["cssprefix"]),
|
|
56
|
-
|
|
57
|
-
class:
|
|
66
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
67
|
+
class: vue.normalizeClass([vue.unref(cs).z("body"), vue.unref(cs).is("max", maxvalue.value)])
|
|
58
68
|
}, [
|
|
59
|
-
|
|
60
|
-
|
|
69
|
+
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).title, {}, () => [
|
|
70
|
+
vue.createVNode(vue.unref(index$4.BoxTitle), {
|
|
61
71
|
onClose,
|
|
62
|
-
title:
|
|
63
|
-
},
|
|
72
|
+
title: vue.unref(props).title
|
|
73
|
+
}, {
|
|
74
|
+
icon: vue.withCtx(() => [
|
|
75
|
+
vue.unref(props).isMax ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
76
|
+
key: 0,
|
|
77
|
+
title: vue.unref(getLocale)(maxvalue.value ? "tmaxh" : "maxh"),
|
|
78
|
+
onClick: onMax,
|
|
79
|
+
class: vue.normalizeClass([
|
|
80
|
+
vue.unref(cs).z("title-icon"),
|
|
81
|
+
vue.unref(cs).z("title-max")
|
|
82
|
+
])
|
|
83
|
+
}, [
|
|
84
|
+
vue.createVNode(_component_Icon, null, {
|
|
85
|
+
default: vue.withCtx(() => [
|
|
86
|
+
maxvalue.value ? vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-full"], { key: 0 }, () => [
|
|
87
|
+
vue.createVNode(star.default)
|
|
88
|
+
]) : vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-max"], { key: 1 }, () => [
|
|
89
|
+
vue.createVNode(frame.default)
|
|
90
|
+
])
|
|
91
|
+
]),
|
|
92
|
+
_: 3
|
|
93
|
+
})
|
|
94
|
+
], 10, _hoisted_1)) : vue.createCommentVNode("", true)
|
|
95
|
+
]),
|
|
96
|
+
_: 3
|
|
97
|
+
}, 8, ["title"])
|
|
64
98
|
]),
|
|
65
|
-
|
|
66
|
-
class:
|
|
99
|
+
vue.createElementVNode("div", {
|
|
100
|
+
class: vue.normalizeClass(vue.unref(cs).z("body-div"))
|
|
67
101
|
}, [
|
|
68
|
-
|
|
102
|
+
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).default)
|
|
69
103
|
], 2),
|
|
70
|
-
|
|
104
|
+
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).footer)
|
|
71
105
|
], 2)), [
|
|
72
|
-
[
|
|
73
|
-
dom:
|
|
106
|
+
[vue.unref(index$5.default), {
|
|
107
|
+
dom: vue.unref(props).drag
|
|
74
108
|
}],
|
|
75
|
-
[
|
|
76
|
-
often:
|
|
109
|
+
[vue.unref(index$6.default), {
|
|
110
|
+
often: vue.unref(props).often,
|
|
77
111
|
all: { position: true }
|
|
78
112
|
}]
|
|
79
113
|
])
|
|
80
114
|
], 2)), [
|
|
81
|
-
[
|
|
82
|
-
]) :
|
|
115
|
+
[vue.vShow, vue.unref(props).modelValue]
|
|
116
|
+
]) : vue.createCommentVNode("", true)
|
|
83
117
|
]),
|
|
84
118
|
_: 3
|
|
85
119
|
}, 8, ["disabled", "to"]);
|
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
import { defineComponent, shallowRef, watch, createBlock, openBlock, unref, withCtx, withDirectives, createCommentVNode, createElementBlock, normalizeClass, createVNode, renderSlot, createElementVNode, vShow } from "vue";
|
|
1
|
+
import { defineComponent, shallowRef, watch, resolveComponent, createBlock, openBlock, unref, withCtx, withDirectives, createCommentVNode, createElementBlock, normalizeClass, createVNode, renderSlot, createElementVNode, vShow } from "vue";
|
|
2
2
|
import { dataExpose, dataSlot, dataEmits, dataProps } from "./data.js";
|
|
3
3
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
4
|
+
import { useLocale } from "../../../hooks/locale/index.js";
|
|
5
|
+
import Frame from "../../../icons/vue/frame.js";
|
|
6
|
+
import Star from "../../../icons/vue/star.js";
|
|
4
7
|
import { BoxTitle } from "../../box-title/index.js";
|
|
5
8
|
import { BoxMask } from "../../box-mask/index.js";
|
|
6
9
|
import { BoxTeleport } from "../../box-teleport/index.js";
|
|
7
10
|
import vAdjust from "../../../directives/adjust/index.js";
|
|
8
11
|
import vDrag from "../../../directives/drag/index.js";
|
|
9
12
|
import { uesPropsDefault } from "../../common/use.js";
|
|
13
|
+
const _hoisted_1 = ["title"];
|
|
10
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
15
|
__name: "index",
|
|
12
16
|
props: dataProps,
|
|
13
17
|
emits: dataEmits,
|
|
14
18
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
15
19
|
const isInit = shallowRef(false);
|
|
20
|
+
const { getLocale } = useLocale();
|
|
16
21
|
const cs = useCssName("box-adjust");
|
|
17
22
|
const prs = __props;
|
|
18
23
|
const props = uesPropsDefault(prs, {
|
|
@@ -20,7 +25,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
25
|
return "." + cs.name + "box-title-name";
|
|
21
26
|
}
|
|
22
27
|
});
|
|
28
|
+
const maxvalue = shallowRef(props.max);
|
|
23
29
|
const emit = __emit;
|
|
30
|
+
function onMax() {
|
|
31
|
+
maxvalue.value = !maxvalue.value;
|
|
32
|
+
}
|
|
24
33
|
watch(
|
|
25
34
|
() => props.modelValue,
|
|
26
35
|
() => {
|
|
@@ -38,6 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
47
|
...dataExpose
|
|
39
48
|
});
|
|
40
49
|
return (_ctx, _cache) => {
|
|
50
|
+
const _component_Icon = resolveComponent("Icon");
|
|
41
51
|
return openBlock(), createBlock(unref(BoxTeleport), {
|
|
42
52
|
disabled: unref(props).disabled,
|
|
43
53
|
to: unref(props).to
|
|
@@ -52,13 +62,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
52
62
|
cssprefix: unref(props).cssprefix || unref(cs).z()
|
|
53
63
|
}, null, 8, ["cssprefix"]),
|
|
54
64
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
55
|
-
class: normalizeClass(unref(cs).z("body"))
|
|
65
|
+
class: normalizeClass([unref(cs).z("body"), unref(cs).is("max", maxvalue.value)])
|
|
56
66
|
}, [
|
|
57
67
|
renderSlot(_ctx.$slots, unref(dataSlot).title, {}, () => [
|
|
58
68
|
createVNode(unref(BoxTitle), {
|
|
59
69
|
onClose,
|
|
60
70
|
title: unref(props).title
|
|
61
|
-
},
|
|
71
|
+
}, {
|
|
72
|
+
icon: withCtx(() => [
|
|
73
|
+
unref(props).isMax ? (openBlock(), createElementBlock("span", {
|
|
74
|
+
key: 0,
|
|
75
|
+
title: unref(getLocale)(maxvalue.value ? "tmaxh" : "maxh"),
|
|
76
|
+
onClick: onMax,
|
|
77
|
+
class: normalizeClass([
|
|
78
|
+
unref(cs).z("title-icon"),
|
|
79
|
+
unref(cs).z("title-max")
|
|
80
|
+
])
|
|
81
|
+
}, [
|
|
82
|
+
createVNode(_component_Icon, null, {
|
|
83
|
+
default: withCtx(() => [
|
|
84
|
+
maxvalue.value ? renderSlot(_ctx.$slots, unref(dataSlot)["icon-full"], { key: 0 }, () => [
|
|
85
|
+
createVNode(Star)
|
|
86
|
+
]) : renderSlot(_ctx.$slots, unref(dataSlot)["icon-max"], { key: 1 }, () => [
|
|
87
|
+
createVNode(Frame)
|
|
88
|
+
])
|
|
89
|
+
]),
|
|
90
|
+
_: 3
|
|
91
|
+
})
|
|
92
|
+
], 10, _hoisted_1)) : createCommentVNode("", true)
|
|
93
|
+
]),
|
|
94
|
+
_: 3
|
|
95
|
+
}, 8, ["title"])
|
|
62
96
|
]),
|
|
63
97
|
createElementVNode("div", {
|
|
64
98
|
class: normalizeClass(unref(cs).z("body-div"))
|
|
@@ -1,11 +1,11 @@
|
|
|
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$1 = require("../../../hooks/cssname/index.cjs");
|
|
6
6
|
const index = require("../../../hooks/locale/index.cjs");
|
|
7
7
|
const index$2 = require("../../box/index.cjs");
|
|
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,
|
|
@@ -14,9 +14,9 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
14
14
|
const cs = index$1.useCssName("box-local");
|
|
15
15
|
const props = __props;
|
|
16
16
|
const filters = ["local"];
|
|
17
|
-
const bind =
|
|
17
|
+
const bind = vue.computed(() => {
|
|
18
18
|
const obj = {};
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(vue.toRaw(props)).forEach((key) => {
|
|
20
20
|
const k = key;
|
|
21
21
|
if (filters.includes(k)) {
|
|
22
22
|
obj[key] = props[k];
|
|
@@ -24,10 +24,10 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
24
24
|
});
|
|
25
25
|
return obj;
|
|
26
26
|
});
|
|
27
|
-
const slots =
|
|
28
|
-
const attrs =
|
|
27
|
+
const slots = vue.useSlots();
|
|
28
|
+
const attrs = vue.useAttrs();
|
|
29
29
|
const emit = __emit;
|
|
30
|
-
const event =
|
|
30
|
+
const event = vue.computed(() => {
|
|
31
31
|
const obj = {};
|
|
32
32
|
let arr;
|
|
33
33
|
if (data.dataEmits instanceof Array) {
|
|
@@ -42,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
42
42
|
});
|
|
43
43
|
return obj;
|
|
44
44
|
});
|
|
45
|
-
const value =
|
|
45
|
+
const value = vue.computed({
|
|
46
46
|
get() {
|
|
47
47
|
return props.modelValue;
|
|
48
48
|
},
|
|
@@ -65,7 +65,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
65
65
|
...data.dataExpose
|
|
66
66
|
});
|
|
67
67
|
return (_ctx, _cache) => {
|
|
68
|
-
return props.local ? (
|
|
68
|
+
return props.local ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.Box), {
|
|
69
69
|
key: 0,
|
|
70
70
|
title: props.title,
|
|
71
71
|
disabled: props.disabled,
|
|
@@ -74,29 +74,29 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
74
74
|
modelValue: value.value,
|
|
75
75
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
76
76
|
onClose
|
|
77
|
-
},
|
|
78
|
-
[
|
|
79
|
-
|
|
80
|
-
class:
|
|
77
|
+
}, vue.createSlots({
|
|
78
|
+
[vue.unref(data.dataSlot).default]: vue.withCtx(() => [
|
|
79
|
+
vue.createElementVNode("div", {
|
|
80
|
+
class: vue.normalizeClass(vue.unref(cs).z())
|
|
81
81
|
}, [
|
|
82
|
-
|
|
82
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
83
83
|
], 2)
|
|
84
84
|
]),
|
|
85
85
|
_: 2
|
|
86
86
|
}, [
|
|
87
|
-
|
|
87
|
+
vue.renderList(Object.values(vue.unref(data.dataSlot)), (key, index2) => {
|
|
88
88
|
return {
|
|
89
89
|
name: key,
|
|
90
|
-
fn:
|
|
91
|
-
|
|
90
|
+
fn: vue.withCtx(() => [
|
|
91
|
+
vue.renderSlot(_ctx.$slots, key)
|
|
92
92
|
])
|
|
93
93
|
};
|
|
94
94
|
})
|
|
95
|
-
]), 1032, ["title", "disabled", "to", "cssprefix", "modelValue"])) : (
|
|
95
|
+
]), 1032, ["title", "disabled", "to", "cssprefix", "modelValue"])) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
96
96
|
key: 1,
|
|
97
|
-
class:
|
|
97
|
+
class: vue.normalizeClass(vue.unref(cs).z())
|
|
98
98
|
}, [
|
|
99
|
-
|
|
99
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
100
100
|
], 2));
|
|
101
101
|
};
|
|
102
102
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
-
const _sfc_main = /* @__PURE__ */
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: data.dataProps,
|
|
9
9
|
emits: data.dataEmits,
|
|
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
11
11
|
const cs = index.useCssName("box-mask");
|
|
12
12
|
const props = __props;
|
|
13
13
|
const emit = __emit;
|
|
14
|
-
const setCss =
|
|
14
|
+
const setCss = vue.computed(() => {
|
|
15
15
|
if (props.cssprefix) {
|
|
16
16
|
return props.cssprefix + "-mask";
|
|
17
17
|
} else {
|
|
@@ -22,8 +22,8 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
22
22
|
...data.dataExpose
|
|
23
23
|
});
|
|
24
24
|
return (_ctx, _cache) => {
|
|
25
|
-
return
|
|
26
|
-
class:
|
|
25
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
26
|
+
class: vue.normalizeClass([vue.unref(cs).z(), setCss.value])
|
|
27
27
|
}, null, 2);
|
|
28
28
|
};
|
|
29
29
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
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$1 = require("../../../hooks/cssname/index.cjs");
|
|
6
6
|
const index = require("../../../hooks/locale/index.cjs");
|
|
7
7
|
const enums = require("../../../utils/enums.cjs");
|
|
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,
|
|
@@ -28,12 +28,12 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
28
28
|
...data.dataExpose
|
|
29
29
|
});
|
|
30
30
|
return (_ctx, _cache) => {
|
|
31
|
-
return
|
|
32
|
-
class:
|
|
31
|
+
return vue.openBlock(), vue.createBlock(vue.Teleport, {
|
|
32
|
+
class: vue.normalizeClass(vue.unref(cs).z()),
|
|
33
33
|
disabled: props.disabled,
|
|
34
34
|
to: props.to
|
|
35
35
|
}, [
|
|
36
|
-
|
|
36
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
37
37
|
], 8, ["class", "disabled", "to"]);
|
|
38
38
|
};
|
|
39
39
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
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$2 = require("../../icon/index.cjs");
|
|
6
6
|
const close = require("../../../icons/vue/close.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: data.dataProps,
|
|
12
12
|
emits: data.dataEmits,
|
|
@@ -22,23 +22,23 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
22
22
|
...data.dataExpose
|
|
23
23
|
});
|
|
24
24
|
return (_ctx, _cache) => {
|
|
25
|
-
return
|
|
26
|
-
class:
|
|
25
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
26
|
+
class: vue.normalizeClass(vue.unref(cs).z())
|
|
27
27
|
}, [
|
|
28
|
-
|
|
29
|
-
class:
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
class:
|
|
28
|
+
vue.createElementVNode("span", {
|
|
29
|
+
class: vue.normalizeClass(vue.unref(cs).z("name"))
|
|
30
|
+
}, vue.toDisplayString(props.title), 3),
|
|
31
|
+
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).icon),
|
|
32
|
+
vue.createElementVNode("span", {
|
|
33
|
+
class: vue.normalizeClass(vue.unref(cs).z("close")),
|
|
34
34
|
onClick: onClose
|
|
35
35
|
}, [
|
|
36
|
-
|
|
37
|
-
class:
|
|
38
|
-
title:
|
|
36
|
+
vue.createVNode(vue.unref(index$2.Icon), {
|
|
37
|
+
class: vue.normalizeClass(vue.unref(cs).z("close-icon")),
|
|
38
|
+
title: vue.unref(getLocale)("close")
|
|
39
39
|
}, {
|
|
40
|
-
default:
|
|
41
|
-
|
|
40
|
+
default: vue.withCtx(() => [
|
|
41
|
+
vue.createVNode(close.default)
|
|
42
42
|
]),
|
|
43
43
|
_: 1
|
|
44
44
|
}, 8, ["class", "title"])
|
|
@@ -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/button/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("button");
|
|
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.ElButton), 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
|
})
|
|
@@ -1,10 +1,10 @@
|
|
|
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$1 = require("../../button/index.cjs");
|
|
5
5
|
const data = require("./data.cjs");
|
|
6
6
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
7
|
-
const _sfc_main = /* @__PURE__ */
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
8
8
|
__name: "index",
|
|
9
9
|
props: data.dataProps,
|
|
10
10
|
emits: data.dataEmits,
|
|
@@ -23,39 +23,39 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
|
|
|
23
23
|
...data.dataExpose
|
|
24
24
|
});
|
|
25
25
|
return (_ctx, _cache) => {
|
|
26
|
-
return props.nofather ? (
|
|
27
|
-
return
|
|
28
|
-
!item.hide ? (
|
|
26
|
+
return props.nofather ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(props.options, (item, index2) => {
|
|
27
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
28
|
+
!item.hide ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.Button), vue.mergeProps({
|
|
29
29
|
key: 0,
|
|
30
|
-
class: [
|
|
30
|
+
class: [vue.unref(cs).z("li"), item.class]
|
|
31
31
|
}, { ref_for: true }, item, {
|
|
32
|
-
onClick:
|
|
32
|
+
onClick: vue.withModifiers(($event) => onClick(item, index2, $event), ["stop"]),
|
|
33
33
|
disabled: props.disabled || item.disabled
|
|
34
34
|
}), {
|
|
35
|
-
default:
|
|
36
|
-
|
|
35
|
+
default: vue.withCtx(() => [
|
|
36
|
+
vue.createTextVNode(vue.toDisplayString(item.label), 1)
|
|
37
37
|
]),
|
|
38
38
|
_: 2
|
|
39
|
-
}, 1040, ["class", "onClick", "disabled"])) :
|
|
39
|
+
}, 1040, ["class", "onClick", "disabled"])) : vue.createCommentVNode("", true)
|
|
40
40
|
], 64);
|
|
41
|
-
}), 128)) : (
|
|
41
|
+
}), 128)) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
42
42
|
key: 1,
|
|
43
|
-
class:
|
|
43
|
+
class: vue.normalizeClass(vue.unref(cs).z())
|
|
44
44
|
}, [
|
|
45
|
-
(
|
|
46
|
-
return
|
|
47
|
-
!item.hide ? (
|
|
45
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.options, (item, index2) => {
|
|
46
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
47
|
+
!item.hide ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.Button), vue.mergeProps({
|
|
48
48
|
key: 0,
|
|
49
|
-
class: [
|
|
49
|
+
class: [vue.unref(cs).z("li"), item.class]
|
|
50
50
|
}, { ref_for: true }, item, {
|
|
51
|
-
onClick:
|
|
51
|
+
onClick: vue.withModifiers(($event) => onClick(item, index2, $event), ["stop"]),
|
|
52
52
|
disabled: props.disabled || item.disabled
|
|
53
53
|
}), {
|
|
54
|
-
default:
|
|
55
|
-
|
|
54
|
+
default: vue.withCtx(() => [
|
|
55
|
+
vue.createTextVNode(vue.toDisplayString(item.label), 1)
|
|
56
56
|
]),
|
|
57
57
|
_: 2
|
|
58
|
-
}, 1040, ["class", "onClick", "disabled"])) :
|
|
58
|
+
}, 1040, ["class", "onClick", "disabled"])) : vue.createCommentVNode("", true)
|
|
59
59
|
], 64);
|
|
60
60
|
}), 128))
|
|
61
61
|
], 2));
|