giime 0.8.0-beta.1 → 0.8.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/src/base/datePickerPanel/DatePickerPanel.vue.d.ts +13 -4
- package/es/components/src/base/datePickerPanel/DatePickerPanel.vue2.mjs +37 -9
- package/es/components/src/base/datePickerPanel/DatePickerPanel.vue2.mjs.map +1 -1
- package/es/components/src/base/datePickerPanel/index.d.ts +9 -2
- package/es/components/src/base/inputTag/InputTag.vue.d.ts +12 -4
- package/es/components/src/base/inputTag/InputTag.vue2.mjs +22 -9
- package/es/components/src/base/inputTag/InputTag.vue2.mjs.map +1 -1
- package/es/components/src/base/inputTag/index.d.ts +8 -2
- package/es/components/src/base/mention/Mention.vue.d.ts +19 -4
- package/es/components/src/base/mention/Mention.vue2.mjs +58 -9
- package/es/components/src/base/mention/Mention.vue2.mjs.map +1 -1
- package/es/components/src/base/mention/index.d.ts +15 -2
- package/es/components/src/base/segmented/Segmented.vue.d.ts +3 -2
- package/es/components/src/base/segmented/Segmented.vue2.mjs +9 -9
- package/es/components/src/base/segmented/Segmented.vue2.mjs.map +1 -1
- package/es/components/src/base/segmented/index.d.ts +3 -2
- package/es/components/src/base/splitter/Splitter.vue.d.ts +9 -4
- package/es/components/src/base/splitter/Splitter.vue2.mjs +23 -9
- package/es/components/src/base/splitter/Splitter.vue2.mjs.map +1 -1
- package/es/components/src/base/splitter/index.d.ts +5 -2
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/lib/components/src/base/datePickerPanel/DatePickerPanel.vue.d.ts +13 -4
- package/lib/components/src/base/datePickerPanel/DatePickerPanel.vue2.js +36 -8
- package/lib/components/src/base/datePickerPanel/DatePickerPanel.vue2.js.map +1 -1
- package/lib/components/src/base/datePickerPanel/index.d.ts +9 -2
- package/lib/components/src/base/inputTag/InputTag.vue.d.ts +12 -4
- package/lib/components/src/base/inputTag/InputTag.vue2.js +21 -8
- package/lib/components/src/base/inputTag/InputTag.vue2.js.map +1 -1
- package/lib/components/src/base/inputTag/index.d.ts +8 -2
- package/lib/components/src/base/mention/Mention.vue.d.ts +19 -4
- package/lib/components/src/base/mention/Mention.vue2.js +57 -8
- package/lib/components/src/base/mention/Mention.vue2.js.map +1 -1
- package/lib/components/src/base/mention/index.d.ts +15 -2
- package/lib/components/src/base/segmented/Segmented.vue.d.ts +3 -2
- package/lib/components/src/base/segmented/Segmented.vue2.js +8 -8
- package/lib/components/src/base/segmented/Segmented.vue2.js.map +1 -1
- package/lib/components/src/base/segmented/index.d.ts +3 -2
- package/lib/components/src/base/splitter/Splitter.vue.d.ts +9 -4
- package/lib/components/src/base/splitter/Splitter.vue2.js +22 -8
- package/lib/components/src/base/splitter/Splitter.vue2.js.map +1 -1
- package/lib/components/src/base/splitter/index.d.ts +5 -2
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
} & {
|
|
5
|
+
'prev-month'?: (props: typeof __VLS_9) => any;
|
|
6
|
+
} & {
|
|
7
|
+
'next-month'?: (props: typeof __VLS_11) => any;
|
|
8
|
+
} & {
|
|
9
|
+
'prev-year'?: (props: typeof __VLS_13) => any;
|
|
10
|
+
} & {
|
|
11
|
+
'next-year'?: (props: typeof __VLS_15) => any;
|
|
12
|
+
};
|
|
1
13
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
14
|
disabledDate: {
|
|
3
15
|
readonly type: import("vue").PropType<Function>;
|
|
@@ -226,10 +238,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
226
238
|
arrowControl: boolean;
|
|
227
239
|
unlinkPanels: boolean;
|
|
228
240
|
isRange: boolean;
|
|
229
|
-
}, {}>,
|
|
230
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
231
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
232
|
-
}>;
|
|
241
|
+
}, {}>, __VLS_Slots>;
|
|
233
242
|
export default _default;
|
|
234
243
|
type __VLS_WithSlots<T, S> = T & {
|
|
235
244
|
new (): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, createBlock, openBlock, mergeProps, toHandlers, unref, createSlots,
|
|
1
|
+
import { defineComponent, useSlots, ref, resolveComponent, createBlock, openBlock, mergeProps, toHandlers, unref, createSlots, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import '../../../../utils/index.mjs';
|
|
3
3
|
import { datePickerPanelEmits, datePickerPanelProps } from './datePickerPanel.mjs';
|
|
4
4
|
import { getGmEvent } from '../../../../utils/src/elementPlus/event.mjs';
|
|
@@ -12,6 +12,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
12
|
props: datePickerPanelProps,
|
|
13
13
|
emits: datePickerPanelEmits,
|
|
14
14
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
15
|
+
const slots = useSlots();
|
|
15
16
|
const props = __props;
|
|
16
17
|
const emit = __emit;
|
|
17
18
|
const elEvents = getGmEvent(datePickerPanelEmits, emit);
|
|
@@ -33,14 +34,41 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
34
|
_: 2
|
|
34
35
|
/* DYNAMIC */
|
|
35
36
|
}, [
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
unref(slots).default ? {
|
|
38
|
+
name: "default",
|
|
39
|
+
fn: withCtx(() => [
|
|
40
|
+
renderSlot(_ctx.$slots, "default")
|
|
41
|
+
]),
|
|
42
|
+
key: "0"
|
|
43
|
+
} : void 0,
|
|
44
|
+
unref(slots)["prev-month"] ? {
|
|
45
|
+
name: "prev-month",
|
|
46
|
+
fn: withCtx(() => [
|
|
47
|
+
renderSlot(_ctx.$slots, "prev-month")
|
|
48
|
+
]),
|
|
49
|
+
key: "1"
|
|
50
|
+
} : void 0,
|
|
51
|
+
unref(slots)["next-month"] ? {
|
|
52
|
+
name: "next-month",
|
|
53
|
+
fn: withCtx(() => [
|
|
54
|
+
renderSlot(_ctx.$slots, "next-month")
|
|
55
|
+
]),
|
|
56
|
+
key: "2"
|
|
57
|
+
} : void 0,
|
|
58
|
+
unref(slots)["prev-year"] ? {
|
|
59
|
+
name: "prev-year",
|
|
60
|
+
fn: withCtx(() => [
|
|
61
|
+
renderSlot(_ctx.$slots, "prev-year")
|
|
62
|
+
]),
|
|
63
|
+
key: "3"
|
|
64
|
+
} : void 0,
|
|
65
|
+
unref(slots)["next-year"] ? {
|
|
66
|
+
name: "next-year",
|
|
67
|
+
fn: withCtx(() => [
|
|
68
|
+
renderSlot(_ctx.$slots, "next-year")
|
|
69
|
+
]),
|
|
70
|
+
key: "4"
|
|
71
|
+
} : void 0
|
|
44
72
|
]),
|
|
45
73
|
1040
|
|
46
74
|
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerPanel.vue2.mjs","sources":["../../../../../../../packages/components/src/base/datePickerPanel/DatePickerPanel.vue"],"sourcesContent":["<template>\n <el-date-picker-panel ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-
|
|
1
|
+
{"version":3,"file":"DatePickerPanel.vue2.mjs","sources":["../../../../../../../packages/components/src/base/datePickerPanel/DatePickerPanel.vue"],"sourcesContent":["<template>\n <el-date-picker-panel ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.default\" #default>\n <slot name=\"default\" />\n </template>\n <template v-if=\"slots['prev-month']\" #prev-month>\n <slot name=\"prev-month\" />\n </template>\n <template v-if=\"slots['next-month']\" #next-month>\n <slot name=\"next-month\" />\n </template>\n <template v-if=\"slots['prev-year']\" #prev-year>\n <slot name=\"prev-year\" />\n </template>\n <template v-if=\"slots['next-year']\" #next-year>\n <slot name=\"next-year\" />\n </template>\n </el-date-picker-panel>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmEvent, getGmExports } from '@giime/utils';\nimport { datePickerPanelEmits, datePickerPanelProps } from './datePickerPanel';\nimport type { DatePickerPanelInstance } from 'element-plus';\n\ndefineOptions({\n name: 'GmDatePickerPanel',\n});\nconst slots = useSlots();\nconst props = defineProps(datePickerPanelProps);\nconst emit = defineEmits(datePickerPanelEmits);\n// 重发el的事件\nconst elEvents = getGmEvent(datePickerPanelEmits, emit);\n\nconst elRef = ref<DatePickerPanelInstance>();\n\nconst exposeNames = [] as const;\nconst { exposeFns } = getGmExports(elRef, exposeNames);\n\ndefineExpose({\n ...exposeFns,\n});\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;AA4BA,IAAA,MAAM,QAAQ,QAAA,EAAS;AACvB,IAAA,MAAM,KAAA,GAAQ,OAAA;AACd,IAAA,MAAM,IAAA,GAAO,MAAA;AAEb,IAAA,MAAM,QAAA,GAAW,UAAA,CAAW,oBAAA,EAAsB,IAAI,CAAA;AAEtD,IAAA,MAAM,QAAQ,GAAA,EAA6B;AAE3C,IAAA,MAAM,cAAc,EAAC;AACrB,IAAA,MAAM,EAAE,SAAA,EAAU,GAAI,YAAA,CAAa,OAAO,WAAW,CAAA;AAErD,IAAA,QAAA,CAAa;AAAA,MACX,GAAG;AAAA,KACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -495,8 +495,15 @@ export declare const GmDatePickerPanel: import("../../../../utils").SFCWithInsta
|
|
|
495
495
|
isRange: boolean;
|
|
496
496
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
497
497
|
$slots: {
|
|
498
|
-
|
|
499
|
-
|
|
498
|
+
default?: ((props: {}) => any) | undefined;
|
|
499
|
+
} & {
|
|
500
|
+
'prev-month'?: ((props: {}) => any) | undefined;
|
|
501
|
+
} & {
|
|
502
|
+
'next-month'?: ((props: {}) => any) | undefined;
|
|
503
|
+
} & {
|
|
504
|
+
'prev-year'?: ((props: {}) => any) | undefined;
|
|
505
|
+
} & {
|
|
506
|
+
'next-year'?: ((props: {}) => any) | undefined;
|
|
500
507
|
};
|
|
501
508
|
})> & Record<string, any>;
|
|
502
509
|
export type DatePickerPanelInstance = InstanceType<typeof DatePickerPanel>;
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {
|
|
2
|
+
value: string;
|
|
3
|
+
index: number;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
prefix?: (props: typeof __VLS_7) => any;
|
|
7
|
+
} & {
|
|
8
|
+
suffix?: (props: typeof __VLS_9) => any;
|
|
9
|
+
} & {
|
|
10
|
+
tag?: (props: typeof __VLS_11) => any;
|
|
11
|
+
};
|
|
1
12
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
13
|
modelValue: {
|
|
3
14
|
readonly type: import("vue").PropType<string[]>;
|
|
@@ -293,10 +304,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
293
304
|
draggable: boolean;
|
|
294
305
|
delimiter: string | RegExp;
|
|
295
306
|
saveOnBlur: boolean;
|
|
296
|
-
}, {}>,
|
|
297
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
298
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
299
|
-
}>;
|
|
307
|
+
}, {}>, __VLS_Slots>;
|
|
300
308
|
export default _default;
|
|
301
309
|
type __VLS_WithSlots<T, S> = T & {
|
|
302
310
|
new (): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useSlots, ref, resolveComponent, createBlock, openBlock, mergeProps, toHandlers, unref, createSlots,
|
|
1
|
+
import { defineComponent, useSlots, ref, resolveComponent, createBlock, openBlock, mergeProps, toHandlers, unref, createSlots, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
|
2
2
|
import '../../../../utils/index.mjs';
|
|
3
3
|
import { inputTagEmits } from 'element-plus';
|
|
4
4
|
import { inputTagEmits as inputTagEmits$1, inputTagProps } from './inputTag.mjs';
|
|
@@ -35,14 +35,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
35
|
_: 2
|
|
36
36
|
/* DYNAMIC */
|
|
37
37
|
}, [
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
unref(slots).prefix ? {
|
|
39
|
+
name: "prefix",
|
|
40
|
+
fn: withCtx(() => [
|
|
41
|
+
renderSlot(_ctx.$slots, "prefix")
|
|
42
|
+
]),
|
|
43
|
+
key: "0"
|
|
44
|
+
} : void 0,
|
|
45
|
+
unref(slots).suffix ? {
|
|
46
|
+
name: "suffix",
|
|
47
|
+
fn: withCtx(() => [
|
|
48
|
+
renderSlot(_ctx.$slots, "suffix")
|
|
49
|
+
]),
|
|
50
|
+
key: "1"
|
|
51
|
+
} : void 0,
|
|
52
|
+
unref(slots).tag ? {
|
|
53
|
+
name: "tag",
|
|
54
|
+
fn: withCtx((slotValue) => [
|
|
55
|
+
renderSlot(_ctx.$slots, "tag", normalizeProps(guardReactiveProps(slotValue)))
|
|
56
|
+
]),
|
|
57
|
+
key: "2"
|
|
58
|
+
} : void 0
|
|
46
59
|
]),
|
|
47
60
|
1040
|
|
48
61
|
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputTag.vue2.mjs","sources":["../../../../../../../packages/components/src/base/inputTag/InputTag.vue"],"sourcesContent":["<template>\n <el-input-tag ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n
|
|
1
|
+
{"version":3,"file":"InputTag.vue2.mjs","sources":["../../../../../../../packages/components/src/base/inputTag/InputTag.vue"],"sourcesContent":["<template>\n <el-input-tag ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.prefix\" #prefix>\n <slot name=\"prefix\" />\n </template>\n <template v-if=\"slots.suffix\" #suffix>\n <slot name=\"suffix\" />\n </template>\n <template v-if=\"slots.tag\" #tag=\"slotValue\">\n <slot name=\"tag\" v-bind=\"slotValue\" />\n </template>\n\n <!-- <template v-for=\"(_, slots) in $slots\" v-slot:[slots]=\"slostProps\" :key=\"slots\">\n <slot :name=\"slots\" v-bind=\"slostProps\"></slot>\n </template> -->\n </el-input-tag>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmEvent, getGmExports } from '@giime/utils';\nimport { inputTagEmits as elInputTagEmits } from 'element-plus';\nimport { inputTagEmits, inputTagProps } from './inputTag';\nimport type { InputTagInstance } from 'element-plus';\n\ndefineOptions({\n name: 'GmInputTag',\n});\n// 循环方案没有代码提示 暂不考虑\nconst slots = useSlots();\nconst props = defineProps(inputTagProps);\nconst emit = defineEmits(inputTagEmits);\n// 重发el的事件\nconst elEvents = getGmEvent(elInputTagEmits, emit);\n\nconst elRef = ref<InputTagInstance>();\n\nconst exposeNames = ['focus', 'blur'] as const;\nconst { exposeFns } = getGmExports(elRef, exposeNames);\n\ndefineExpose({\n ...exposeFns,\n});\n</script>\n"],"names":["elInputTagEmits"],"mappings":";;;;;;;;;;;;;;;AA4BA,IAAA,MAAM,QAAQ,QAAA,EAAS;AACvB,IAAA,MAAM,KAAA,GAAQ,OAAA;AACd,IAAA,MAAM,IAAA,GAAO,MAAA;AAEb,IAAA,MAAM,QAAA,GAAW,UAAA,CAAWA,aAAA,EAAiB,IAAI,CAAA;AAEjD,IAAA,MAAM,QAAQ,GAAA,EAAsB;AAEpC,IAAA,MAAM,WAAA,GAAc,CAAC,OAAA,EAAS,MAAM,CAAA;AACpC,IAAA,MAAM,EAAE,SAAA,EAAU,GAAI,YAAA,CAAa,OAAO,WAAW,CAAA;AAErD,IAAA,QAAA,CAAa;AAAA,MACX,GAAG;AAAA,KACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -644,8 +644,14 @@ export declare const GmInputTag: import("../../../../utils").SFCWithInstall<{
|
|
|
644
644
|
saveOnBlur: boolean;
|
|
645
645
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
646
646
|
$slots: {
|
|
647
|
-
|
|
648
|
-
|
|
647
|
+
prefix?: ((props: {}) => any) | undefined;
|
|
648
|
+
} & {
|
|
649
|
+
suffix?: ((props: {}) => any) | undefined;
|
|
650
|
+
} & {
|
|
651
|
+
tag?: ((props: {
|
|
652
|
+
value: string;
|
|
653
|
+
index: number;
|
|
654
|
+
}) => any) | undefined;
|
|
649
655
|
};
|
|
650
656
|
})> & Record<string, any>;
|
|
651
657
|
export type InputTagInstance = InstanceType<typeof InputTag>;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
declare var __VLS_7: any, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
label?: (props: typeof __VLS_7) => any;
|
|
4
|
+
} & {
|
|
5
|
+
loading?: (props: typeof __VLS_9) => any;
|
|
6
|
+
} & {
|
|
7
|
+
header?: (props: typeof __VLS_11) => any;
|
|
8
|
+
} & {
|
|
9
|
+
footer?: (props: typeof __VLS_13) => any;
|
|
10
|
+
} & {
|
|
11
|
+
prefix?: (props: typeof __VLS_15) => any;
|
|
12
|
+
} & {
|
|
13
|
+
suffix?: (props: typeof __VLS_17) => any;
|
|
14
|
+
} & {
|
|
15
|
+
prepend?: (props: typeof __VLS_19) => any;
|
|
16
|
+
} & {
|
|
17
|
+
append?: (props: typeof __VLS_21) => any;
|
|
18
|
+
};
|
|
1
19
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
20
|
options: {
|
|
3
21
|
readonly type: import("vue").PropType<import("element-plus").MentionOption[]>;
|
|
@@ -606,10 +624,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
606
624
|
showArrow: boolean;
|
|
607
625
|
filterOption: false | ((pattern: string, option: import("element-plus").MentionOption) => boolean);
|
|
608
626
|
whole: boolean;
|
|
609
|
-
}, {}>,
|
|
610
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
611
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
612
|
-
}>;
|
|
627
|
+
}, {}>, __VLS_Slots>;
|
|
613
628
|
export default _default;
|
|
614
629
|
type __VLS_WithSlots<T, S> = T & {
|
|
615
630
|
new (): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, createBlock, openBlock, mergeProps, toHandlers, unref, createSlots,
|
|
1
|
+
import { defineComponent, useSlots, ref, resolveComponent, createBlock, openBlock, mergeProps, toHandlers, unref, createSlots, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
|
2
2
|
import '../../../../utils/index.mjs';
|
|
3
3
|
import { mentionEmits } from 'element-plus';
|
|
4
4
|
import { mentionEmits as mentionEmits$1, mentionProps } from './mention.mjs';
|
|
@@ -13,6 +13,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
props: mentionProps,
|
|
14
14
|
emits: mentionEmits$1,
|
|
15
15
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
16
|
+
const slots = useSlots();
|
|
16
17
|
const props = __props;
|
|
17
18
|
const emit = __emit;
|
|
18
19
|
const elEvents = getGmEvent(mentionEmits, emit);
|
|
@@ -34,14 +35,62 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
35
|
_: 2
|
|
35
36
|
/* DYNAMIC */
|
|
36
37
|
}, [
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
unref(slots).label ? {
|
|
39
|
+
name: "label",
|
|
40
|
+
fn: withCtx((slotValue) => [
|
|
41
|
+
renderSlot(_ctx.$slots, "label", normalizeProps(guardReactiveProps(slotValue)))
|
|
42
|
+
]),
|
|
43
|
+
key: "0"
|
|
44
|
+
} : void 0,
|
|
45
|
+
unref(slots).loading ? {
|
|
46
|
+
name: "loading",
|
|
47
|
+
fn: withCtx(() => [
|
|
48
|
+
renderSlot(_ctx.$slots, "loading")
|
|
49
|
+
]),
|
|
50
|
+
key: "1"
|
|
51
|
+
} : void 0,
|
|
52
|
+
unref(slots).header ? {
|
|
53
|
+
name: "header",
|
|
54
|
+
fn: withCtx(() => [
|
|
55
|
+
renderSlot(_ctx.$slots, "header")
|
|
56
|
+
]),
|
|
57
|
+
key: "2"
|
|
58
|
+
} : void 0,
|
|
59
|
+
unref(slots).footer ? {
|
|
60
|
+
name: "footer",
|
|
61
|
+
fn: withCtx(() => [
|
|
62
|
+
renderSlot(_ctx.$slots, "footer")
|
|
63
|
+
]),
|
|
64
|
+
key: "3"
|
|
65
|
+
} : void 0,
|
|
66
|
+
unref(slots).prefix ? {
|
|
67
|
+
name: "prefix",
|
|
68
|
+
fn: withCtx(() => [
|
|
69
|
+
renderSlot(_ctx.$slots, "prefix")
|
|
70
|
+
]),
|
|
71
|
+
key: "4"
|
|
72
|
+
} : void 0,
|
|
73
|
+
unref(slots).suffix ? {
|
|
74
|
+
name: "suffix",
|
|
75
|
+
fn: withCtx(() => [
|
|
76
|
+
renderSlot(_ctx.$slots, "suffix")
|
|
77
|
+
]),
|
|
78
|
+
key: "5"
|
|
79
|
+
} : void 0,
|
|
80
|
+
unref(slots).prepend ? {
|
|
81
|
+
name: "prepend",
|
|
82
|
+
fn: withCtx(() => [
|
|
83
|
+
renderSlot(_ctx.$slots, "prepend")
|
|
84
|
+
]),
|
|
85
|
+
key: "6"
|
|
86
|
+
} : void 0,
|
|
87
|
+
unref(slots).append ? {
|
|
88
|
+
name: "append",
|
|
89
|
+
fn: withCtx(() => [
|
|
90
|
+
renderSlot(_ctx.$slots, "append")
|
|
91
|
+
]),
|
|
92
|
+
key: "7"
|
|
93
|
+
} : void 0
|
|
45
94
|
]),
|
|
46
95
|
1040
|
|
47
96
|
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mention.vue2.mjs","sources":["../../../../../../../packages/components/src/base/mention/Mention.vue"],"sourcesContent":["<template>\n <el-mention ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-
|
|
1
|
+
{"version":3,"file":"Mention.vue2.mjs","sources":["../../../../../../../packages/components/src/base/mention/Mention.vue"],"sourcesContent":["<template>\n <el-mention ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.label\" #label=\"slotValue\">\n <slot name=\"label\" v-bind=\"slotValue\" />\n </template>\n <template v-if=\"slots.loading\" #loading>\n <slot name=\"loading\" />\n </template>\n <template v-if=\"slots.header\" #header>\n <slot name=\"header\" />\n </template>\n <template v-if=\"slots.footer\" #footer>\n <slot name=\"footer\" />\n </template>\n <template v-if=\"slots.prefix\" #prefix>\n <slot name=\"prefix\" />\n </template>\n <template v-if=\"slots.suffix\" #suffix>\n <slot name=\"suffix\" />\n </template>\n <template v-if=\"slots.prepend\" #prepend>\n <slot name=\"prepend\" />\n </template>\n <template v-if=\"slots.append\" #append>\n <slot name=\"append\" />\n </template>\n </el-mention>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmEvent, getGmExports } from '@giime/utils';\nimport { mentionEmits as elMentionEmits } from 'element-plus';\nimport { mentionEmits, mentionProps } from './mention';\nimport type { MentionInstance } from 'element-plus';\n\ndefineOptions({\n name: 'GmMention',\n});\nconst slots = useSlots();\nconst props = defineProps(mentionProps);\nconst emit = defineEmits(mentionEmits);\n// 重发el的事件\nconst elEvents = getGmEvent(elMentionEmits, emit);\n\nconst elRef = ref<MentionInstance>();\n\nconst exposeNames = ['input', 'tooltip', 'dropdownVisible'] as const;\nconst { exposeFns } = getGmExports(elRef, exposeNames);\n\ndefineExpose({\n ...exposeFns,\n});\n</script>\n"],"names":["elMentionEmits"],"mappings":";;;;;;;;;;;;;;;AAsCA,IAAA,MAAM,QAAQ,QAAA,EAAS;AACvB,IAAA,MAAM,KAAA,GAAQ,OAAA;AACd,IAAA,MAAM,IAAA,GAAO,MAAA;AAEb,IAAA,MAAM,QAAA,GAAW,UAAA,CAAWA,YAAA,EAAgB,IAAI,CAAA;AAEhD,IAAA,MAAM,QAAQ,GAAA,EAAqB;AAEnC,IAAA,MAAM,WAAA,GAAc,CAAC,OAAA,EAAS,SAAA,EAAW,iBAAiB,CAAA;AAC1D,IAAA,MAAM,EAAE,SAAA,EAAU,GAAI,YAAA,CAAa,OAAO,WAAW,CAAA;AAErD,IAAA,QAAA,CAAa;AAAA,MACX,GAAG;AAAA,KACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1279,8 +1279,21 @@ export declare const GmMention: import("../../../../utils").SFCWithInstall<{
|
|
|
1279
1279
|
whole: boolean;
|
|
1280
1280
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1281
1281
|
$slots: {
|
|
1282
|
-
|
|
1283
|
-
|
|
1282
|
+
label?: ((props: any) => any) | undefined;
|
|
1283
|
+
} & {
|
|
1284
|
+
loading?: ((props: {}) => any) | undefined;
|
|
1285
|
+
} & {
|
|
1286
|
+
header?: ((props: {}) => any) | undefined;
|
|
1287
|
+
} & {
|
|
1288
|
+
footer?: ((props: {}) => any) | undefined;
|
|
1289
|
+
} & {
|
|
1290
|
+
prefix?: ((props: {}) => any) | undefined;
|
|
1291
|
+
} & {
|
|
1292
|
+
suffix?: ((props: {}) => any) | undefined;
|
|
1293
|
+
} & {
|
|
1294
|
+
prepend?: ((props: {}) => any) | undefined;
|
|
1295
|
+
} & {
|
|
1296
|
+
append?: ((props: {}) => any) | undefined;
|
|
1284
1297
|
};
|
|
1285
1298
|
})> & Record<string, any>;
|
|
1286
1299
|
export type MentionInstance = InstanceType<typeof Mention>;
|
|
@@ -117,8 +117,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
117
117
|
modelValue: string | number | boolean;
|
|
118
118
|
validateEvent: boolean;
|
|
119
119
|
}, {}>, {
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
default?: ((props: {
|
|
121
|
+
item: any;
|
|
122
|
+
}) => any) | undefined;
|
|
122
123
|
}>;
|
|
123
124
|
export default _default;
|
|
124
125
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, createBlock, openBlock, mergeProps, toHandlers, unref, createSlots,
|
|
1
|
+
import { defineComponent, useSlots, ref, resolveComponent, createBlock, openBlock, mergeProps, toHandlers, unref, createSlots, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
|
2
2
|
import '../../../../utils/index.mjs';
|
|
3
3
|
import { segmentedEmits } from 'element-plus';
|
|
4
4
|
import { segmentedEmits as segmentedEmits$1, segmentedProps } from './segmented.mjs';
|
|
@@ -13,6 +13,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
props: segmentedProps,
|
|
14
14
|
emits: segmentedEmits$1,
|
|
15
15
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
16
|
+
const slots = useSlots();
|
|
16
17
|
const props = __props;
|
|
17
18
|
const emit = __emit;
|
|
18
19
|
const elEvents = getGmEvent(segmentedEmits, emit);
|
|
@@ -34,14 +35,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
35
|
_: 2
|
|
35
36
|
/* DYNAMIC */
|
|
36
37
|
}, [
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
})
|
|
38
|
+
unref(slots).default ? {
|
|
39
|
+
name: "default",
|
|
40
|
+
fn: withCtx((slotValue) => [
|
|
41
|
+
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotValue)))
|
|
42
|
+
]),
|
|
43
|
+
key: "0"
|
|
44
|
+
} : void 0
|
|
45
45
|
]),
|
|
46
46
|
1040
|
|
47
47
|
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Segmented.vue2.mjs","sources":["../../../../../../../packages/components/src/base/segmented/Segmented.vue"],"sourcesContent":["<template>\n <el-segmented ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-
|
|
1
|
+
{"version":3,"file":"Segmented.vue2.mjs","sources":["../../../../../../../packages/components/src/base/segmented/Segmented.vue"],"sourcesContent":["<template>\n <el-segmented ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.default\" #default=\"slotValue\">\n <slot name=\"default\" v-bind=\"slotValue\" />\n </template>\n </el-segmented>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmEvent, getGmExports } from '@giime/utils';\nimport { segmentedEmits as elSegmentedEmits } from 'element-plus';\nimport { segmentedEmits, segmentedProps } from './segmented';\nimport type { SegmentedInstance } from 'element-plus';\n\ndefineOptions({\n name: 'GmSegmented',\n});\nconst slots = useSlots();\nconst props = defineProps(segmentedProps);\nconst emit = defineEmits(segmentedEmits);\n// 重发el的事件\nconst elEvents = getGmEvent(elSegmentedEmits, emit);\n\nconst elRef = ref<SegmentedInstance>();\n\nconst exposeNames = [] as const;\nconst { exposeFns } = getGmExports(elRef, exposeNames);\n\ndefineExpose({\n ...exposeFns,\n});\n</script>\n"],"names":["elSegmentedEmits"],"mappings":";;;;;;;;;;;;;;;AAiBA,IAAA,MAAM,QAAQ,QAAA,EAAS;AACvB,IAAA,MAAM,KAAA,GAAQ,OAAA;AACd,IAAA,MAAM,IAAA,GAAO,MAAA;AAEb,IAAA,MAAM,QAAA,GAAW,UAAA,CAAWA,cAAA,EAAkB,IAAI,CAAA;AAElD,IAAA,MAAM,QAAQ,GAAA,EAAuB;AAErC,IAAA,MAAM,cAAc,EAAC;AACrB,IAAA,MAAM,EAAE,SAAA,EAAU,GAAI,YAAA,CAAa,OAAO,WAAW,CAAA;AAErD,IAAA,QAAA,CAAa;AAAA,MACX,GAAG;AAAA,KACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -263,8 +263,9 @@ export declare const GmSegmented: import("../../../../utils").SFCWithInstall<{
|
|
|
263
263
|
validateEvent: boolean;
|
|
264
264
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
265
265
|
$slots: {
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
default?: ((props: {
|
|
267
|
+
item: any;
|
|
268
|
+
}) => any) | undefined;
|
|
268
269
|
};
|
|
269
270
|
})> & Record<string, any>;
|
|
270
271
|
export type SegmentedInstance = InstanceType<typeof Segmented>;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
} & {
|
|
5
|
+
'start-collapsible'?: (props: typeof __VLS_9) => any;
|
|
6
|
+
} & {
|
|
7
|
+
'end-collapsible'?: (props: typeof __VLS_11) => any;
|
|
8
|
+
};
|
|
1
9
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
10
|
layout: {
|
|
3
11
|
readonly type: import("vue").PropType<"horizontal" | "vertical">;
|
|
@@ -21,10 +29,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
21
29
|
}>>, {
|
|
22
30
|
layout: "horizontal" | "vertical";
|
|
23
31
|
lazy: boolean;
|
|
24
|
-
}, {}>,
|
|
25
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
26
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
27
|
-
}>;
|
|
32
|
+
}, {}>, __VLS_Slots>;
|
|
28
33
|
export default _default;
|
|
29
34
|
type __VLS_WithSlots<T, S> = T & {
|
|
30
35
|
new (): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, createBlock, openBlock, mergeProps, createSlots,
|
|
1
|
+
import { defineComponent, useSlots, ref, resolveComponent, createBlock, openBlock, mergeProps, createSlots, withCtx, unref, renderSlot } from 'vue';
|
|
2
2
|
import '../../../../utils/index.mjs';
|
|
3
3
|
import { splitterProps } from './splitter.mjs';
|
|
4
4
|
import { getGmExports } from '../../../../utils/src/elementPlus/exports.mjs';
|
|
@@ -10,6 +10,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10
10
|
__name: "Splitter",
|
|
11
11
|
props: splitterProps,
|
|
12
12
|
setup(__props, { expose: __expose }) {
|
|
13
|
+
const slots = useSlots();
|
|
13
14
|
const props = __props;
|
|
14
15
|
const elRef = ref();
|
|
15
16
|
const exposeNames = [];
|
|
@@ -29,14 +30,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
30
|
_: 2
|
|
30
31
|
/* DYNAMIC */
|
|
31
32
|
}, [
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
unref(slots).default ? {
|
|
34
|
+
name: "default",
|
|
35
|
+
fn: withCtx(() => [
|
|
36
|
+
renderSlot(_ctx.$slots, "default")
|
|
37
|
+
]),
|
|
38
|
+
key: "0"
|
|
39
|
+
} : void 0,
|
|
40
|
+
unref(slots)["start-collapsible"] ? {
|
|
41
|
+
name: "start-collapsible",
|
|
42
|
+
fn: withCtx(() => [
|
|
43
|
+
renderSlot(_ctx.$slots, "start-collapsible")
|
|
44
|
+
]),
|
|
45
|
+
key: "1"
|
|
46
|
+
} : void 0,
|
|
47
|
+
unref(slots)["end-collapsible"] ? {
|
|
48
|
+
name: "end-collapsible",
|
|
49
|
+
fn: withCtx(() => [
|
|
50
|
+
renderSlot(_ctx.$slots, "end-collapsible")
|
|
51
|
+
]),
|
|
52
|
+
key: "2"
|
|
53
|
+
} : void 0
|
|
40
54
|
]),
|
|
41
55
|
1040
|
|
42
56
|
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Splitter.vue2.mjs","sources":["../../../../../../../packages/components/src/base/splitter/Splitter.vue"],"sourcesContent":["<template>\n <el-splitter ref=\"elRef\" v-bind=\"props\">\n <template v-
|
|
1
|
+
{"version":3,"file":"Splitter.vue2.mjs","sources":["../../../../../../../packages/components/src/base/splitter/Splitter.vue"],"sourcesContent":["<template>\n <el-splitter ref=\"elRef\" v-bind=\"props\">\n <template v-if=\"slots.default\" #default>\n <slot name=\"default\" />\n </template>\n <template v-if=\"slots['start-collapsible']\" #start-collapsible>\n <slot name=\"start-collapsible\" />\n </template>\n <template v-if=\"slots['end-collapsible']\" #end-collapsible>\n <slot name=\"end-collapsible\" />\n </template>\n </el-splitter>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmExports } from '@giime/utils';\nimport { splitterProps } from './splitter';\nimport type { SplitterInstance } from 'element-plus';\n\ndefineOptions({\n name: 'GmSplitter',\n});\nconst slots = useSlots();\nconst props = defineProps(splitterProps);\n\nconst elRef = ref<SplitterInstance>();\n\nconst exposeNames = [] as const;\nconst { exposeFns } = getGmExports(elRef, exposeNames);\n\ndefineExpose({\n ...exposeFns,\n});\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;AAsBA,IAAA,MAAM,QAAQ,QAAA,EAAS;AACvB,IAAA,MAAM,KAAA,GAAQ,OAAA;AAEd,IAAA,MAAM,QAAQ,GAAA,EAAsB;AAEpC,IAAA,MAAM,cAAc,EAAC;AACrB,IAAA,MAAM,EAAE,SAAA,EAAU,GAAI,YAAA,CAAa,OAAO,WAAW,CAAA;AAErD,IAAA,QAAA,CAAa;AAAA,MACX,GAAG;AAAA,KACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -62,8 +62,11 @@ export declare const GmSplitter: import("../../../../utils").SFCWithInstall<{
|
|
|
62
62
|
lazy: boolean;
|
|
63
63
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
64
64
|
$slots: {
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
default?: ((props: {}) => any) | undefined;
|
|
66
|
+
} & {
|
|
67
|
+
'start-collapsible'?: ((props: {}) => any) | undefined;
|
|
68
|
+
} & {
|
|
69
|
+
'end-collapsible'?: ((props: {}) => any) | undefined;
|
|
67
70
|
};
|
|
68
71
|
})> & Record<string, any>;
|
|
69
72
|
export type SplitterInstance = InstanceType<typeof Splitter>;
|
package/es/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.8.0-beta.
|
|
1
|
+
export declare const version = "0.8.0-beta.3";
|
package/es/giime/version.mjs
CHANGED
package/es/giime/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.
|
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.8.0-beta.2';\n"],"names":[],"mappings":"AAAO,MAAM,OAAA,GAAU;;;;"}
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
} & {
|
|
5
|
+
'prev-month'?: (props: typeof __VLS_9) => any;
|
|
6
|
+
} & {
|
|
7
|
+
'next-month'?: (props: typeof __VLS_11) => any;
|
|
8
|
+
} & {
|
|
9
|
+
'prev-year'?: (props: typeof __VLS_13) => any;
|
|
10
|
+
} & {
|
|
11
|
+
'next-year'?: (props: typeof __VLS_15) => any;
|
|
12
|
+
};
|
|
1
13
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
14
|
disabledDate: {
|
|
3
15
|
readonly type: import("vue").PropType<Function>;
|
|
@@ -226,10 +238,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
226
238
|
arrowControl: boolean;
|
|
227
239
|
unlinkPanels: boolean;
|
|
228
240
|
isRange: boolean;
|
|
229
|
-
}, {}>,
|
|
230
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
231
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
232
|
-
}>;
|
|
241
|
+
}, {}>, __VLS_Slots>;
|
|
233
242
|
export default _default;
|
|
234
243
|
type __VLS_WithSlots<T, S> = T & {
|
|
235
244
|
new (): {
|
|
@@ -16,6 +16,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
16
16
|
props: datePickerPanel.datePickerPanelProps,
|
|
17
17
|
emits: datePickerPanel.datePickerPanelEmits,
|
|
18
18
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
19
|
+
const slots = vue.useSlots();
|
|
19
20
|
const props = __props;
|
|
20
21
|
const emit = __emit;
|
|
21
22
|
const elEvents = event.getGmEvent(datePickerPanel.datePickerPanelEmits, emit);
|
|
@@ -37,14 +38,41 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
37
38
|
_: 2
|
|
38
39
|
/* DYNAMIC */
|
|
39
40
|
}, [
|
|
40
|
-
vue.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
vue.unref(slots).default ? {
|
|
42
|
+
name: "default",
|
|
43
|
+
fn: vue.withCtx(() => [
|
|
44
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
45
|
+
]),
|
|
46
|
+
key: "0"
|
|
47
|
+
} : void 0,
|
|
48
|
+
vue.unref(slots)["prev-month"] ? {
|
|
49
|
+
name: "prev-month",
|
|
50
|
+
fn: vue.withCtx(() => [
|
|
51
|
+
vue.renderSlot(_ctx.$slots, "prev-month")
|
|
52
|
+
]),
|
|
53
|
+
key: "1"
|
|
54
|
+
} : void 0,
|
|
55
|
+
vue.unref(slots)["next-month"] ? {
|
|
56
|
+
name: "next-month",
|
|
57
|
+
fn: vue.withCtx(() => [
|
|
58
|
+
vue.renderSlot(_ctx.$slots, "next-month")
|
|
59
|
+
]),
|
|
60
|
+
key: "2"
|
|
61
|
+
} : void 0,
|
|
62
|
+
vue.unref(slots)["prev-year"] ? {
|
|
63
|
+
name: "prev-year",
|
|
64
|
+
fn: vue.withCtx(() => [
|
|
65
|
+
vue.renderSlot(_ctx.$slots, "prev-year")
|
|
66
|
+
]),
|
|
67
|
+
key: "3"
|
|
68
|
+
} : void 0,
|
|
69
|
+
vue.unref(slots)["next-year"] ? {
|
|
70
|
+
name: "next-year",
|
|
71
|
+
fn: vue.withCtx(() => [
|
|
72
|
+
vue.renderSlot(_ctx.$slots, "next-year")
|
|
73
|
+
]),
|
|
74
|
+
key: "4"
|
|
75
|
+
} : void 0
|
|
48
76
|
]),
|
|
49
77
|
1040
|
|
50
78
|
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerPanel.vue2.js","sources":["../../../../../../../packages/components/src/base/datePickerPanel/DatePickerPanel.vue"],"sourcesContent":["<template>\n <el-date-picker-panel ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-
|
|
1
|
+
{"version":3,"file":"DatePickerPanel.vue2.js","sources":["../../../../../../../packages/components/src/base/datePickerPanel/DatePickerPanel.vue"],"sourcesContent":["<template>\n <el-date-picker-panel ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.default\" #default>\n <slot name=\"default\" />\n </template>\n <template v-if=\"slots['prev-month']\" #prev-month>\n <slot name=\"prev-month\" />\n </template>\n <template v-if=\"slots['next-month']\" #next-month>\n <slot name=\"next-month\" />\n </template>\n <template v-if=\"slots['prev-year']\" #prev-year>\n <slot name=\"prev-year\" />\n </template>\n <template v-if=\"slots['next-year']\" #next-year>\n <slot name=\"next-year\" />\n </template>\n </el-date-picker-panel>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmEvent, getGmExports } from '@giime/utils';\nimport { datePickerPanelEmits, datePickerPanelProps } from './datePickerPanel';\nimport type { DatePickerPanelInstance } from 'element-plus';\n\ndefineOptions({\n name: 'GmDatePickerPanel',\n});\nconst slots = useSlots();\nconst props = defineProps(datePickerPanelProps);\nconst emit = defineEmits(datePickerPanelEmits);\n// 重发el的事件\nconst elEvents = getGmEvent(datePickerPanelEmits, emit);\n\nconst elRef = ref<DatePickerPanelInstance>();\n\nconst exposeNames = [] as const;\nconst { exposeFns } = getGmExports(elRef, exposeNames);\n\ndefineExpose({\n ...exposeFns,\n});\n</script>\n"],"names":["useSlots","getGmEvent","datePickerPanelEmits","ref","getGmExports"],"mappings":";;;;;;;;;;;;;;;;;;AA4BA,IAAA,MAAM,QAAQA,YAAA,EAAS;AACvB,IAAA,MAAM,KAAA,GAAQ,OAAA;AACd,IAAA,MAAM,IAAA,GAAO,MAAA;AAEb,IAAA,MAAM,QAAA,GAAWC,gBAAA,CAAWC,oCAAA,EAAsB,IAAI,CAAA;AAEtD,IAAA,MAAM,QAAQC,OAAA,EAA6B;AAE3C,IAAA,MAAM,cAAc,EAAC;AACrB,IAAA,MAAM,EAAE,SAAA,EAAU,GAAIC,sBAAA,CAAa,OAAO,WAAW,CAAA;AAErD,IAAA,QAAA,CAAa;AAAA,MACX,GAAG;AAAA,KACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -495,8 +495,15 @@ export declare const GmDatePickerPanel: import("../../../../utils").SFCWithInsta
|
|
|
495
495
|
isRange: boolean;
|
|
496
496
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
497
497
|
$slots: {
|
|
498
|
-
|
|
499
|
-
|
|
498
|
+
default?: ((props: {}) => any) | undefined;
|
|
499
|
+
} & {
|
|
500
|
+
'prev-month'?: ((props: {}) => any) | undefined;
|
|
501
|
+
} & {
|
|
502
|
+
'next-month'?: ((props: {}) => any) | undefined;
|
|
503
|
+
} & {
|
|
504
|
+
'prev-year'?: ((props: {}) => any) | undefined;
|
|
505
|
+
} & {
|
|
506
|
+
'next-year'?: ((props: {}) => any) | undefined;
|
|
500
507
|
};
|
|
501
508
|
})> & Record<string, any>;
|
|
502
509
|
export type DatePickerPanelInstance = InstanceType<typeof DatePickerPanel>;
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {
|
|
2
|
+
value: string;
|
|
3
|
+
index: number;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
prefix?: (props: typeof __VLS_7) => any;
|
|
7
|
+
} & {
|
|
8
|
+
suffix?: (props: typeof __VLS_9) => any;
|
|
9
|
+
} & {
|
|
10
|
+
tag?: (props: typeof __VLS_11) => any;
|
|
11
|
+
};
|
|
1
12
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
13
|
modelValue: {
|
|
3
14
|
readonly type: import("vue").PropType<string[]>;
|
|
@@ -293,10 +304,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
293
304
|
draggable: boolean;
|
|
294
305
|
delimiter: string | RegExp;
|
|
295
306
|
saveOnBlur: boolean;
|
|
296
|
-
}, {}>,
|
|
297
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
298
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
299
|
-
}>;
|
|
307
|
+
}, {}>, __VLS_Slots>;
|
|
300
308
|
export default _default;
|
|
301
309
|
type __VLS_WithSlots<T, S> = T & {
|
|
302
310
|
new (): {
|
|
@@ -39,14 +39,27 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39
39
|
_: 2
|
|
40
40
|
/* DYNAMIC */
|
|
41
41
|
}, [
|
|
42
|
-
vue.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
vue.unref(slots).prefix ? {
|
|
43
|
+
name: "prefix",
|
|
44
|
+
fn: vue.withCtx(() => [
|
|
45
|
+
vue.renderSlot(_ctx.$slots, "prefix")
|
|
46
|
+
]),
|
|
47
|
+
key: "0"
|
|
48
|
+
} : void 0,
|
|
49
|
+
vue.unref(slots).suffix ? {
|
|
50
|
+
name: "suffix",
|
|
51
|
+
fn: vue.withCtx(() => [
|
|
52
|
+
vue.renderSlot(_ctx.$slots, "suffix")
|
|
53
|
+
]),
|
|
54
|
+
key: "1"
|
|
55
|
+
} : void 0,
|
|
56
|
+
vue.unref(slots).tag ? {
|
|
57
|
+
name: "tag",
|
|
58
|
+
fn: vue.withCtx((slotValue) => [
|
|
59
|
+
vue.renderSlot(_ctx.$slots, "tag", vue.normalizeProps(vue.guardReactiveProps(slotValue)))
|
|
60
|
+
]),
|
|
61
|
+
key: "2"
|
|
62
|
+
} : void 0
|
|
50
63
|
]),
|
|
51
64
|
1040
|
|
52
65
|
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputTag.vue2.js","sources":["../../../../../../../packages/components/src/base/inputTag/InputTag.vue"],"sourcesContent":["<template>\n <el-input-tag ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n
|
|
1
|
+
{"version":3,"file":"InputTag.vue2.js","sources":["../../../../../../../packages/components/src/base/inputTag/InputTag.vue"],"sourcesContent":["<template>\n <el-input-tag ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.prefix\" #prefix>\n <slot name=\"prefix\" />\n </template>\n <template v-if=\"slots.suffix\" #suffix>\n <slot name=\"suffix\" />\n </template>\n <template v-if=\"slots.tag\" #tag=\"slotValue\">\n <slot name=\"tag\" v-bind=\"slotValue\" />\n </template>\n\n <!-- <template v-for=\"(_, slots) in $slots\" v-slot:[slots]=\"slostProps\" :key=\"slots\">\n <slot :name=\"slots\" v-bind=\"slostProps\"></slot>\n </template> -->\n </el-input-tag>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmEvent, getGmExports } from '@giime/utils';\nimport { inputTagEmits as elInputTagEmits } from 'element-plus';\nimport { inputTagEmits, inputTagProps } from './inputTag';\nimport type { InputTagInstance } from 'element-plus';\n\ndefineOptions({\n name: 'GmInputTag',\n});\n// 循环方案没有代码提示 暂不考虑\nconst slots = useSlots();\nconst props = defineProps(inputTagProps);\nconst emit = defineEmits(inputTagEmits);\n// 重发el的事件\nconst elEvents = getGmEvent(elInputTagEmits, emit);\n\nconst elRef = ref<InputTagInstance>();\n\nconst exposeNames = ['focus', 'blur'] as const;\nconst { exposeFns } = getGmExports(elRef, exposeNames);\n\ndefineExpose({\n ...exposeFns,\n});\n</script>\n"],"names":["useSlots","getGmEvent","elInputTagEmits","ref","getGmExports"],"mappings":";;;;;;;;;;;;;;;;;;;AA4BA,IAAA,MAAM,QAAQA,YAAA,EAAS;AACvB,IAAA,MAAM,KAAA,GAAQ,OAAA;AACd,IAAA,MAAM,IAAA,GAAO,MAAA;AAEb,IAAA,MAAM,QAAA,GAAWC,gBAAA,CAAWC,yBAAA,EAAiB,IAAI,CAAA;AAEjD,IAAA,MAAM,QAAQC,OAAA,EAAsB;AAEpC,IAAA,MAAM,WAAA,GAAc,CAAC,OAAA,EAAS,MAAM,CAAA;AACpC,IAAA,MAAM,EAAE,SAAA,EAAU,GAAIC,sBAAA,CAAa,OAAO,WAAW,CAAA;AAErD,IAAA,QAAA,CAAa;AAAA,MACX,GAAG;AAAA,KACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -644,8 +644,14 @@ export declare const GmInputTag: import("../../../../utils").SFCWithInstall<{
|
|
|
644
644
|
saveOnBlur: boolean;
|
|
645
645
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
646
646
|
$slots: {
|
|
647
|
-
|
|
648
|
-
|
|
647
|
+
prefix?: ((props: {}) => any) | undefined;
|
|
648
|
+
} & {
|
|
649
|
+
suffix?: ((props: {}) => any) | undefined;
|
|
650
|
+
} & {
|
|
651
|
+
tag?: ((props: {
|
|
652
|
+
value: string;
|
|
653
|
+
index: number;
|
|
654
|
+
}) => any) | undefined;
|
|
649
655
|
};
|
|
650
656
|
})> & Record<string, any>;
|
|
651
657
|
export type InputTagInstance = InstanceType<typeof InputTag>;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
declare var __VLS_7: any, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
label?: (props: typeof __VLS_7) => any;
|
|
4
|
+
} & {
|
|
5
|
+
loading?: (props: typeof __VLS_9) => any;
|
|
6
|
+
} & {
|
|
7
|
+
header?: (props: typeof __VLS_11) => any;
|
|
8
|
+
} & {
|
|
9
|
+
footer?: (props: typeof __VLS_13) => any;
|
|
10
|
+
} & {
|
|
11
|
+
prefix?: (props: typeof __VLS_15) => any;
|
|
12
|
+
} & {
|
|
13
|
+
suffix?: (props: typeof __VLS_17) => any;
|
|
14
|
+
} & {
|
|
15
|
+
prepend?: (props: typeof __VLS_19) => any;
|
|
16
|
+
} & {
|
|
17
|
+
append?: (props: typeof __VLS_21) => any;
|
|
18
|
+
};
|
|
1
19
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
20
|
options: {
|
|
3
21
|
readonly type: import("vue").PropType<import("element-plus").MentionOption[]>;
|
|
@@ -606,10 +624,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
606
624
|
showArrow: boolean;
|
|
607
625
|
filterOption: false | ((pattern: string, option: import("element-plus").MentionOption) => boolean);
|
|
608
626
|
whole: boolean;
|
|
609
|
-
}, {}>,
|
|
610
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
611
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
612
|
-
}>;
|
|
627
|
+
}, {}>, __VLS_Slots>;
|
|
613
628
|
export default _default;
|
|
614
629
|
type __VLS_WithSlots<T, S> = T & {
|
|
615
630
|
new (): {
|
|
@@ -17,6 +17,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
17
17
|
props: mention.mentionProps,
|
|
18
18
|
emits: mention.mentionEmits,
|
|
19
19
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
20
|
+
const slots = vue.useSlots();
|
|
20
21
|
const props = __props;
|
|
21
22
|
const emit = __emit;
|
|
22
23
|
const elEvents = event.getGmEvent(elementPlus.mentionEmits, emit);
|
|
@@ -38,14 +39,62 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
38
39
|
_: 2
|
|
39
40
|
/* DYNAMIC */
|
|
40
41
|
}, [
|
|
41
|
-
vue.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
42
|
+
vue.unref(slots).label ? {
|
|
43
|
+
name: "label",
|
|
44
|
+
fn: vue.withCtx((slotValue) => [
|
|
45
|
+
vue.renderSlot(_ctx.$slots, "label", vue.normalizeProps(vue.guardReactiveProps(slotValue)))
|
|
46
|
+
]),
|
|
47
|
+
key: "0"
|
|
48
|
+
} : void 0,
|
|
49
|
+
vue.unref(slots).loading ? {
|
|
50
|
+
name: "loading",
|
|
51
|
+
fn: vue.withCtx(() => [
|
|
52
|
+
vue.renderSlot(_ctx.$slots, "loading")
|
|
53
|
+
]),
|
|
54
|
+
key: "1"
|
|
55
|
+
} : void 0,
|
|
56
|
+
vue.unref(slots).header ? {
|
|
57
|
+
name: "header",
|
|
58
|
+
fn: vue.withCtx(() => [
|
|
59
|
+
vue.renderSlot(_ctx.$slots, "header")
|
|
60
|
+
]),
|
|
61
|
+
key: "2"
|
|
62
|
+
} : void 0,
|
|
63
|
+
vue.unref(slots).footer ? {
|
|
64
|
+
name: "footer",
|
|
65
|
+
fn: vue.withCtx(() => [
|
|
66
|
+
vue.renderSlot(_ctx.$slots, "footer")
|
|
67
|
+
]),
|
|
68
|
+
key: "3"
|
|
69
|
+
} : void 0,
|
|
70
|
+
vue.unref(slots).prefix ? {
|
|
71
|
+
name: "prefix",
|
|
72
|
+
fn: vue.withCtx(() => [
|
|
73
|
+
vue.renderSlot(_ctx.$slots, "prefix")
|
|
74
|
+
]),
|
|
75
|
+
key: "4"
|
|
76
|
+
} : void 0,
|
|
77
|
+
vue.unref(slots).suffix ? {
|
|
78
|
+
name: "suffix",
|
|
79
|
+
fn: vue.withCtx(() => [
|
|
80
|
+
vue.renderSlot(_ctx.$slots, "suffix")
|
|
81
|
+
]),
|
|
82
|
+
key: "5"
|
|
83
|
+
} : void 0,
|
|
84
|
+
vue.unref(slots).prepend ? {
|
|
85
|
+
name: "prepend",
|
|
86
|
+
fn: vue.withCtx(() => [
|
|
87
|
+
vue.renderSlot(_ctx.$slots, "prepend")
|
|
88
|
+
]),
|
|
89
|
+
key: "6"
|
|
90
|
+
} : void 0,
|
|
91
|
+
vue.unref(slots).append ? {
|
|
92
|
+
name: "append",
|
|
93
|
+
fn: vue.withCtx(() => [
|
|
94
|
+
vue.renderSlot(_ctx.$slots, "append")
|
|
95
|
+
]),
|
|
96
|
+
key: "7"
|
|
97
|
+
} : void 0
|
|
49
98
|
]),
|
|
50
99
|
1040
|
|
51
100
|
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mention.vue2.js","sources":["../../../../../../../packages/components/src/base/mention/Mention.vue"],"sourcesContent":["<template>\n <el-mention ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-
|
|
1
|
+
{"version":3,"file":"Mention.vue2.js","sources":["../../../../../../../packages/components/src/base/mention/Mention.vue"],"sourcesContent":["<template>\n <el-mention ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.label\" #label=\"slotValue\">\n <slot name=\"label\" v-bind=\"slotValue\" />\n </template>\n <template v-if=\"slots.loading\" #loading>\n <slot name=\"loading\" />\n </template>\n <template v-if=\"slots.header\" #header>\n <slot name=\"header\" />\n </template>\n <template v-if=\"slots.footer\" #footer>\n <slot name=\"footer\" />\n </template>\n <template v-if=\"slots.prefix\" #prefix>\n <slot name=\"prefix\" />\n </template>\n <template v-if=\"slots.suffix\" #suffix>\n <slot name=\"suffix\" />\n </template>\n <template v-if=\"slots.prepend\" #prepend>\n <slot name=\"prepend\" />\n </template>\n <template v-if=\"slots.append\" #append>\n <slot name=\"append\" />\n </template>\n </el-mention>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmEvent, getGmExports } from '@giime/utils';\nimport { mentionEmits as elMentionEmits } from 'element-plus';\nimport { mentionEmits, mentionProps } from './mention';\nimport type { MentionInstance } from 'element-plus';\n\ndefineOptions({\n name: 'GmMention',\n});\nconst slots = useSlots();\nconst props = defineProps(mentionProps);\nconst emit = defineEmits(mentionEmits);\n// 重发el的事件\nconst elEvents = getGmEvent(elMentionEmits, emit);\n\nconst elRef = ref<MentionInstance>();\n\nconst exposeNames = ['input', 'tooltip', 'dropdownVisible'] as const;\nconst { exposeFns } = getGmExports(elRef, exposeNames);\n\ndefineExpose({\n ...exposeFns,\n});\n</script>\n"],"names":["useSlots","getGmEvent","elMentionEmits","ref","getGmExports"],"mappings":";;;;;;;;;;;;;;;;;;;AAsCA,IAAA,MAAM,QAAQA,YAAA,EAAS;AACvB,IAAA,MAAM,KAAA,GAAQ,OAAA;AACd,IAAA,MAAM,IAAA,GAAO,MAAA;AAEb,IAAA,MAAM,QAAA,GAAWC,gBAAA,CAAWC,wBAAA,EAAgB,IAAI,CAAA;AAEhD,IAAA,MAAM,QAAQC,OAAA,EAAqB;AAEnC,IAAA,MAAM,WAAA,GAAc,CAAC,OAAA,EAAS,SAAA,EAAW,iBAAiB,CAAA;AAC1D,IAAA,MAAM,EAAE,SAAA,EAAU,GAAIC,sBAAA,CAAa,OAAO,WAAW,CAAA;AAErD,IAAA,QAAA,CAAa;AAAA,MACX,GAAG;AAAA,KACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1279,8 +1279,21 @@ export declare const GmMention: import("../../../../utils").SFCWithInstall<{
|
|
|
1279
1279
|
whole: boolean;
|
|
1280
1280
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1281
1281
|
$slots: {
|
|
1282
|
-
|
|
1283
|
-
|
|
1282
|
+
label?: ((props: any) => any) | undefined;
|
|
1283
|
+
} & {
|
|
1284
|
+
loading?: ((props: {}) => any) | undefined;
|
|
1285
|
+
} & {
|
|
1286
|
+
header?: ((props: {}) => any) | undefined;
|
|
1287
|
+
} & {
|
|
1288
|
+
footer?: ((props: {}) => any) | undefined;
|
|
1289
|
+
} & {
|
|
1290
|
+
prefix?: ((props: {}) => any) | undefined;
|
|
1291
|
+
} & {
|
|
1292
|
+
suffix?: ((props: {}) => any) | undefined;
|
|
1293
|
+
} & {
|
|
1294
|
+
prepend?: ((props: {}) => any) | undefined;
|
|
1295
|
+
} & {
|
|
1296
|
+
append?: ((props: {}) => any) | undefined;
|
|
1284
1297
|
};
|
|
1285
1298
|
})> & Record<string, any>;
|
|
1286
1299
|
export type MentionInstance = InstanceType<typeof Mention>;
|
|
@@ -117,8 +117,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
117
117
|
modelValue: string | number | boolean;
|
|
118
118
|
validateEvent: boolean;
|
|
119
119
|
}, {}>, {
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
default?: ((props: {
|
|
121
|
+
item: any;
|
|
122
|
+
}) => any) | undefined;
|
|
122
123
|
}>;
|
|
123
124
|
export default _default;
|
|
124
125
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -17,6 +17,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
17
17
|
props: segmented.segmentedProps,
|
|
18
18
|
emits: segmented.segmentedEmits,
|
|
19
19
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
20
|
+
const slots = vue.useSlots();
|
|
20
21
|
const props = __props;
|
|
21
22
|
const emit = __emit;
|
|
22
23
|
const elEvents = event.getGmEvent(elementPlus.segmentedEmits, emit);
|
|
@@ -38,14 +39,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
38
39
|
_: 2
|
|
39
40
|
/* DYNAMIC */
|
|
40
41
|
}, [
|
|
41
|
-
vue.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
})
|
|
42
|
+
vue.unref(slots).default ? {
|
|
43
|
+
name: "default",
|
|
44
|
+
fn: vue.withCtx((slotValue) => [
|
|
45
|
+
vue.renderSlot(_ctx.$slots, "default", vue.normalizeProps(vue.guardReactiveProps(slotValue)))
|
|
46
|
+
]),
|
|
47
|
+
key: "0"
|
|
48
|
+
} : void 0
|
|
49
49
|
]),
|
|
50
50
|
1040
|
|
51
51
|
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Segmented.vue2.js","sources":["../../../../../../../packages/components/src/base/segmented/Segmented.vue"],"sourcesContent":["<template>\n <el-segmented ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-
|
|
1
|
+
{"version":3,"file":"Segmented.vue2.js","sources":["../../../../../../../packages/components/src/base/segmented/Segmented.vue"],"sourcesContent":["<template>\n <el-segmented ref=\"elRef\" v-bind=\"props\" v-on=\"elEvents\">\n <template v-if=\"slots.default\" #default=\"slotValue\">\n <slot name=\"default\" v-bind=\"slotValue\" />\n </template>\n </el-segmented>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmEvent, getGmExports } from '@giime/utils';\nimport { segmentedEmits as elSegmentedEmits } from 'element-plus';\nimport { segmentedEmits, segmentedProps } from './segmented';\nimport type { SegmentedInstance } from 'element-plus';\n\ndefineOptions({\n name: 'GmSegmented',\n});\nconst slots = useSlots();\nconst props = defineProps(segmentedProps);\nconst emit = defineEmits(segmentedEmits);\n// 重发el的事件\nconst elEvents = getGmEvent(elSegmentedEmits, emit);\n\nconst elRef = ref<SegmentedInstance>();\n\nconst exposeNames = [] as const;\nconst { exposeFns } = getGmExports(elRef, exposeNames);\n\ndefineExpose({\n ...exposeFns,\n});\n</script>\n"],"names":["useSlots","getGmEvent","elSegmentedEmits","ref","getGmExports"],"mappings":";;;;;;;;;;;;;;;;;;;AAiBA,IAAA,MAAM,QAAQA,YAAA,EAAS;AACvB,IAAA,MAAM,KAAA,GAAQ,OAAA;AACd,IAAA,MAAM,IAAA,GAAO,MAAA;AAEb,IAAA,MAAM,QAAA,GAAWC,gBAAA,CAAWC,0BAAA,EAAkB,IAAI,CAAA;AAElD,IAAA,MAAM,QAAQC,OAAA,EAAuB;AAErC,IAAA,MAAM,cAAc,EAAC;AACrB,IAAA,MAAM,EAAE,SAAA,EAAU,GAAIC,sBAAA,CAAa,OAAO,WAAW,CAAA;AAErD,IAAA,QAAA,CAAa;AAAA,MACX,GAAG;AAAA,KACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -263,8 +263,9 @@ export declare const GmSegmented: import("../../../../utils").SFCWithInstall<{
|
|
|
263
263
|
validateEvent: boolean;
|
|
264
264
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
265
265
|
$slots: {
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
default?: ((props: {
|
|
267
|
+
item: any;
|
|
268
|
+
}) => any) | undefined;
|
|
268
269
|
};
|
|
269
270
|
})> & Record<string, any>;
|
|
270
271
|
export type SegmentedInstance = InstanceType<typeof Segmented>;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
} & {
|
|
5
|
+
'start-collapsible'?: (props: typeof __VLS_9) => any;
|
|
6
|
+
} & {
|
|
7
|
+
'end-collapsible'?: (props: typeof __VLS_11) => any;
|
|
8
|
+
};
|
|
1
9
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
10
|
layout: {
|
|
3
11
|
readonly type: import("vue").PropType<"horizontal" | "vertical">;
|
|
@@ -21,10 +29,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
21
29
|
}>>, {
|
|
22
30
|
layout: "horizontal" | "vertical";
|
|
23
31
|
lazy: boolean;
|
|
24
|
-
}, {}>,
|
|
25
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
26
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
27
|
-
}>;
|
|
32
|
+
}, {}>, __VLS_Slots>;
|
|
28
33
|
export default _default;
|
|
29
34
|
type __VLS_WithSlots<T, S> = T & {
|
|
30
35
|
new (): {
|
|
@@ -14,6 +14,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
14
14
|
__name: "Splitter",
|
|
15
15
|
props: splitter.splitterProps,
|
|
16
16
|
setup(__props, { expose: __expose }) {
|
|
17
|
+
const slots = vue.useSlots();
|
|
17
18
|
const props = __props;
|
|
18
19
|
const elRef = vue.ref();
|
|
19
20
|
const exposeNames = [];
|
|
@@ -33,14 +34,27 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
33
34
|
_: 2
|
|
34
35
|
/* DYNAMIC */
|
|
35
36
|
}, [
|
|
36
|
-
vue.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
vue.unref(slots).default ? {
|
|
38
|
+
name: "default",
|
|
39
|
+
fn: vue.withCtx(() => [
|
|
40
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
41
|
+
]),
|
|
42
|
+
key: "0"
|
|
43
|
+
} : void 0,
|
|
44
|
+
vue.unref(slots)["start-collapsible"] ? {
|
|
45
|
+
name: "start-collapsible",
|
|
46
|
+
fn: vue.withCtx(() => [
|
|
47
|
+
vue.renderSlot(_ctx.$slots, "start-collapsible")
|
|
48
|
+
]),
|
|
49
|
+
key: "1"
|
|
50
|
+
} : void 0,
|
|
51
|
+
vue.unref(slots)["end-collapsible"] ? {
|
|
52
|
+
name: "end-collapsible",
|
|
53
|
+
fn: vue.withCtx(() => [
|
|
54
|
+
vue.renderSlot(_ctx.$slots, "end-collapsible")
|
|
55
|
+
]),
|
|
56
|
+
key: "2"
|
|
57
|
+
} : void 0
|
|
44
58
|
]),
|
|
45
59
|
1040
|
|
46
60
|
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Splitter.vue2.js","sources":["../../../../../../../packages/components/src/base/splitter/Splitter.vue"],"sourcesContent":["<template>\n <el-splitter ref=\"elRef\" v-bind=\"props\">\n <template v-
|
|
1
|
+
{"version":3,"file":"Splitter.vue2.js","sources":["../../../../../../../packages/components/src/base/splitter/Splitter.vue"],"sourcesContent":["<template>\n <el-splitter ref=\"elRef\" v-bind=\"props\">\n <template v-if=\"slots.default\" #default>\n <slot name=\"default\" />\n </template>\n <template v-if=\"slots['start-collapsible']\" #start-collapsible>\n <slot name=\"start-collapsible\" />\n </template>\n <template v-if=\"slots['end-collapsible']\" #end-collapsible>\n <slot name=\"end-collapsible\" />\n </template>\n </el-splitter>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, useSlots } from 'vue';\nimport { getGmExports } from '@giime/utils';\nimport { splitterProps } from './splitter';\nimport type { SplitterInstance } from 'element-plus';\n\ndefineOptions({\n name: 'GmSplitter',\n});\nconst slots = useSlots();\nconst props = defineProps(splitterProps);\n\nconst elRef = ref<SplitterInstance>();\n\nconst exposeNames = [] as const;\nconst { exposeFns } = getGmExports(elRef, exposeNames);\n\ndefineExpose({\n ...exposeFns,\n});\n</script>\n"],"names":["useSlots","ref","getGmExports"],"mappings":";;;;;;;;;;;;;;;;AAsBA,IAAA,MAAM,QAAQA,YAAA,EAAS;AACvB,IAAA,MAAM,KAAA,GAAQ,OAAA;AAEd,IAAA,MAAM,QAAQC,OAAA,EAAsB;AAEpC,IAAA,MAAM,cAAc,EAAC;AACrB,IAAA,MAAM,EAAE,SAAA,EAAU,GAAIC,sBAAA,CAAa,OAAO,WAAW,CAAA;AAErD,IAAA,QAAA,CAAa;AAAA,MACX,GAAG;AAAA,KACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -62,8 +62,11 @@ export declare const GmSplitter: import("../../../../utils").SFCWithInstall<{
|
|
|
62
62
|
lazy: boolean;
|
|
63
63
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
64
64
|
$slots: {
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
default?: ((props: {}) => any) | undefined;
|
|
66
|
+
} & {
|
|
67
|
+
'start-collapsible'?: ((props: {}) => any) | undefined;
|
|
68
|
+
} & {
|
|
69
|
+
'end-collapsible'?: ((props: {}) => any) | undefined;
|
|
67
70
|
};
|
|
68
71
|
})> & Record<string, any>;
|
|
69
72
|
export type SplitterInstance = InstanceType<typeof Splitter>;
|
package/lib/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.8.0-beta.
|
|
1
|
+
export declare const version = "0.8.0-beta.3";
|
package/lib/giime/version.js
CHANGED
package/lib/giime/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.
|
|
1
|
+
{"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.8.0-beta.2';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAA,GAAU;;;;"}
|