giime 0.8.0-beta.1 → 0.8.0-beta.2
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/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/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/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/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,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>;
|
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.2";
|
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.1';\n"],"names":[],"mappings":"AAAO,MAAM,OAAA,GAAU;;;;"}
|
|
@@ -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>;
|
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.2";
|
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.1';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAA,GAAU;;;;"}
|