giime 0.9.14 → 0.9.15
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/index.css +128 -128
- package/es/components/src/base/input/Input.vue.d.ts +2 -2
- package/es/components/src/base/input/index.d.ts +6 -6
- package/es/components/src/base/input/input.d.ts +1 -1
- package/es/components/src/base/input/input.mjs +3 -1
- package/es/components/src/base/input/input.mjs.map +1 -1
- package/es/components/src/base/timeline/Timeline.vue.d.ts +23 -5
- package/es/components/src/base/timeline/Timeline.vue2.mjs +16 -25
- package/es/components/src/base/timeline/Timeline.vue2.mjs.map +1 -1
- package/es/components/src/base/timeline/index.d.ts +49 -10
- package/es/components/src/base/timeline/timeline.d.ts +10 -1
- package/es/components/src/base/timeline/timeline.mjs +9 -6
- package/es/components/src/base/timeline/timeline.mjs.map +1 -1
- package/es/components/src/base/tooltip/tooltip.d.ts +2 -16
- package/es/components/src/composite/searchForm/searchFormItems/input/SearchFormInput.vue.d.ts +2 -2
- package/es/components/src/composite/searchForm/searchFormItems/input/index.d.ts +2 -2
- package/es/components/src/composite/searchForm/searchFormItems/input/searchFormInput.d.ts +1 -1
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/index.css +128 -128
- package/lib/components/src/base/input/Input.vue.d.ts +2 -2
- package/lib/components/src/base/input/index.d.ts +6 -6
- package/lib/components/src/base/input/input.d.ts +1 -1
- package/lib/components/src/base/input/input.js +3 -1
- package/lib/components/src/base/input/input.js.map +1 -1
- package/lib/components/src/base/timeline/Timeline.vue.d.ts +23 -5
- package/lib/components/src/base/timeline/Timeline.vue2.js +15 -24
- package/lib/components/src/base/timeline/Timeline.vue2.js.map +1 -1
- package/lib/components/src/base/timeline/index.d.ts +49 -10
- package/lib/components/src/base/timeline/timeline.d.ts +10 -1
- package/lib/components/src/base/timeline/timeline.js +9 -6
- package/lib/components/src/base/timeline/timeline.js.map +1 -1
- package/lib/components/src/base/tooltip/tooltip.d.ts +2 -16
- package/lib/components/src/composite/searchForm/searchFormItems/input/SearchFormInput.vue.d.ts +2 -2
- package/lib/components/src/composite/searchForm/searchFormItems/input/index.d.ts +2 -2
- package/lib/components/src/composite/searchForm/searchFormItems/input/searchFormInput.d.ts +1 -1
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/index.css +128 -128
- package/package.json +1 -1
|
@@ -3,40 +3,31 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
|
+
var elementPlus = require('element-plus');
|
|
7
|
+
var timeline = require('./timeline.js');
|
|
6
8
|
|
|
7
9
|
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
8
10
|
...{
|
|
9
11
|
name: "GmTimeline"
|
|
10
12
|
},
|
|
11
13
|
__name: "Timeline",
|
|
12
|
-
|
|
14
|
+
props: timeline.timelineProps,
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const props = __props;
|
|
13
17
|
const slots = vue.useSlots();
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
elRef
|
|
17
|
-
});
|
|
18
|
+
const ns = elementPlus.useNamespace("timeline");
|
|
19
|
+
vue.provide(elementPlus.TIMELINE_INJECTION_KEY, { props, slots });
|
|
18
20
|
return (_ctx, _cache) => {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
_component_el_timeline,
|
|
21
|
+
return vue.openBlock(), vue.createElementBlock(
|
|
22
|
+
"ul",
|
|
22
23
|
{
|
|
23
|
-
|
|
24
|
-
ref: elRef
|
|
24
|
+
class: vue.normalizeClass([vue.unref(ns).b(), vue.unref(ns).is(props.mode)])
|
|
25
25
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
name: "default",
|
|
32
|
-
fn: vue.withCtx((slotValue) => [
|
|
33
|
-
vue.renderSlot(_ctx.$slots, "default", vue.normalizeProps(vue.guardReactiveProps(slotValue)))
|
|
34
|
-
]),
|
|
35
|
-
key: "0"
|
|
36
|
-
} : void 0
|
|
37
|
-
]),
|
|
38
|
-
1536
|
|
39
|
-
/* NEED_PATCH, DYNAMIC_SLOTS */
|
|
26
|
+
[
|
|
27
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
28
|
+
],
|
|
29
|
+
2
|
|
30
|
+
/* CLASS */
|
|
40
31
|
);
|
|
41
32
|
};
|
|
42
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Timeline.vue2.js","sources":["../../../../../../../packages/components/src/base/timeline/Timeline.vue"],"sourcesContent":["<template>\n <
|
|
1
|
+
{"version":3,"file":"Timeline.vue2.js","sources":["../../../../../../../packages/components/src/base/timeline/Timeline.vue"],"sourcesContent":["<template>\n <ul :class=\"[ns.b(), ns.is(props.mode)]\">\n <slot />\n </ul>\n</template>\n<script lang=\"ts\" setup>\nimport { provide, useSlots } from 'vue';\nimport { TIMELINE_INJECTION_KEY, useNamespace } from 'element-plus';\nimport { timelineProps } from './timeline';\n\ndefineOptions({\n name: 'GmTimeline',\n});\n\nconst props = defineProps(timelineProps);\nconst slots = useSlots();\nconst ns = useNamespace('timeline');\n\n// el-timeline@2.11.8: provide(key, slots),el-timeline-item 不使用 inject\n// el-timeline@2.13.7: provide(key, { props, slots }),el-timeline-item 通过 inject 读取 mode 计算布局类名\n// props 来自 defineProps,本身是响应式代理,el-timeline-item 通过 inject 解构后可响应 mode 变化\nprovide(TIMELINE_INJECTION_KEY, { props, slots });\n</script>\n"],"names":["useSlots","useNamespace","provide","TIMELINE_INJECTION_KEY"],"mappings":";;;;;;;;;;;;;;;AAcA,IAAA,MAAM,KAAA,GAAQ,OAAA;AACd,IAAA,MAAM,QAAQA,YAAA,EAAS;AACvB,IAAA,MAAM,EAAA,GAAKC,yBAAa,UAAU,CAAA;AAKlC,IAAAC,WAAA,CAAQC,kCAAA,EAAwB,EAAE,KAAA,EAAO,KAAA,EAAO,CAAA;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,25 +1,64 @@
|
|
|
1
1
|
import Timeline from './Timeline.vue';
|
|
2
2
|
export declare const GmTimeline: import("../../../../utils").SFCWithInstall<{
|
|
3
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
mode: {
|
|
5
|
+
type: () => "alternate" | "alternate-reverse" | "end" | "start";
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
reverse: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
mode: {
|
|
14
|
+
type: () => "alternate" | "alternate-reverse" | "end" | "start";
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
reverse: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
reverse: boolean;
|
|
23
|
+
mode: "alternate" | "alternate-reverse" | "end" | "start";
|
|
24
|
+
}, true, {}, {}, {
|
|
6
25
|
P: {};
|
|
7
26
|
B: {};
|
|
8
27
|
D: {};
|
|
9
28
|
C: {};
|
|
10
29
|
M: {};
|
|
11
30
|
Defaults: {};
|
|
12
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
|
|
14
|
-
|
|
31
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
mode: {
|
|
33
|
+
type: () => "alternate" | "alternate-reverse" | "end" | "start";
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
reverse: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
}>>, {}, {}, {}, {}, {
|
|
41
|
+
reverse: boolean;
|
|
42
|
+
mode: "alternate" | "alternate-reverse" | "end" | "start";
|
|
43
|
+
}>;
|
|
15
44
|
__isFragment?: undefined;
|
|
16
45
|
__isTeleport?: undefined;
|
|
17
46
|
__isSuspense?: undefined;
|
|
18
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
-
|
|
20
|
-
|
|
47
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
mode: {
|
|
49
|
+
type: () => "alternate" | "alternate-reverse" | "end" | "start";
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
reverse: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
57
|
+
reverse: boolean;
|
|
58
|
+
mode: "alternate" | "alternate-reverse" | "end" | "start";
|
|
59
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
21
60
|
$slots: {
|
|
22
|
-
default?: ((props:
|
|
61
|
+
default?: ((props: {}) => any) | undefined;
|
|
23
62
|
};
|
|
24
63
|
})> & Record<string, any>;
|
|
25
64
|
export type TimelineInstance = InstanceType<typeof Timeline>;
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
export declare const timelineProps: {
|
|
1
|
+
export declare const timelineProps: {
|
|
2
|
+
mode: {
|
|
3
|
+
type: () => 'start' | 'alternate' | 'alternate-reverse' | 'end';
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
reverse: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
2
11
|
export declare const timelineEmits: {};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const timelineProps = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
mode: {
|
|
5
|
+
type: String,
|
|
6
|
+
default: "start"
|
|
7
|
+
},
|
|
8
|
+
reverse: {
|
|
9
|
+
type: Boolean,
|
|
10
|
+
default: false
|
|
11
|
+
}
|
|
10
12
|
};
|
|
13
|
+
const timelineEmits = {};
|
|
11
14
|
|
|
12
15
|
exports.timelineEmits = timelineEmits;
|
|
13
16
|
exports.timelineProps = timelineProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline.js","sources":["../../../../../../../packages/components/src/base/timeline/timeline.ts"],"sourcesContent":["//
|
|
1
|
+
{"version":3,"file":"timeline.js","sources":["../../../../../../../packages/components/src/base/timeline/timeline.ts"],"sourcesContent":["// el-timeline@2.13.7 新增了 mode / reverse props,el-timeline-item 通过 inject 读取 mode 来计算布局类名\n// 这里手动定义而非从 element-plus 导入,避免 2.11.8 中 timelineProps 为空导致 TS 报错\nexport const timelineProps = {\n mode: {\n type: String as () => 'start' | 'alternate' | 'alternate-reverse' | 'end',\n default: 'start',\n },\n reverse: {\n type: Boolean,\n default: false,\n },\n};\n\nexport const timelineEmits = {};\n"],"names":[],"mappings":";;AAEO,MAAM,aAAA,GAAgB;AAAA,EAC3B,IAAA,EAAM;AAAA,IACJ,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA,EACA,OAAA,EAAS;AAAA,IACP,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA;AAEb;AAEO,MAAM,gBAAgB;;;;;"}
|
|
@@ -365,15 +365,6 @@ export declare const tooltipEmits: {
|
|
|
365
365
|
includes(searchElement: string, fromIndex?: number | undefined): boolean;
|
|
366
366
|
flatMap<U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This | undefined): U_3[];
|
|
367
367
|
flat<A, D extends number = 1>(this: A, depth?: D | undefined): FlatArray<A, D>[];
|
|
368
|
-
at(index: number): string | undefined;
|
|
369
|
-
findLast<S_3 extends string>(predicate: (value: string, index: number, array: string[]) => value is S_3, thisArg?: any): S_3 | undefined;
|
|
370
|
-
findLast(predicate: (value: string, index: number, array: string[]) => unknown, thisArg?: any): string | undefined;
|
|
371
|
-
findLastIndex(predicate: (value: string, index: number, array: string[]) => unknown, thisArg?: any): number;
|
|
372
|
-
toReversed(): string[];
|
|
373
|
-
toSorted(compareFn?: ((a: string, b: string) => number) | undefined): string[];
|
|
374
|
-
toSpliced(start: number, deleteCount: number, ...items: string[]): string[];
|
|
375
|
-
toSpliced(start: number, deleteCount?: number | undefined): string[];
|
|
376
|
-
with(index: number, value: string): string[];
|
|
377
368
|
[Symbol.iterator](): IterableIterator<string>;
|
|
378
369
|
[Symbol.unscopables]: {
|
|
379
370
|
[x: number]: boolean | undefined;
|
|
@@ -409,14 +400,9 @@ export declare const tooltipEmits: {
|
|
|
409
400
|
includes?: boolean | undefined;
|
|
410
401
|
flatMap?: boolean | undefined;
|
|
411
402
|
flat?: boolean | undefined;
|
|
412
|
-
at?: boolean | undefined;
|
|
413
|
-
findLast?: boolean | undefined;
|
|
414
|
-
findLastIndex?: boolean | undefined;
|
|
415
|
-
toReversed?: boolean | undefined;
|
|
416
|
-
toSorted?: boolean | undefined;
|
|
417
|
-
toSpliced?: boolean | undefined;
|
|
418
|
-
with?: boolean | undefined;
|
|
419
403
|
[Symbol.iterator]?: boolean | undefined;
|
|
420
404
|
readonly [Symbol.unscopables]?: boolean | undefined;
|
|
405
|
+
at?: boolean | undefined;
|
|
421
406
|
};
|
|
407
|
+
at(index: number): string | undefined;
|
|
422
408
|
};
|
package/lib/components/src/composite/searchForm/searchFormItems/input/SearchFormInput.vue.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
clear: () => void;
|
|
23
23
|
input: (value: string) => void;
|
|
24
24
|
change: (value: string) => void;
|
|
25
|
-
"update:modelValue": (
|
|
25
|
+
"update:modelValue": (_value: string | number) => void;
|
|
26
26
|
focus: (evt: FocusEvent) => void;
|
|
27
27
|
blur: (evt: FocusEvent) => void;
|
|
28
28
|
compositionend: (evt: CompositionEvent) => void;
|
|
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
onChange?: ((value: string) => any) | undefined;
|
|
57
57
|
onClear?: (() => any) | undefined;
|
|
58
58
|
onInput?: ((value: string) => any) | undefined;
|
|
59
|
-
"onUpdate:modelValue"?: ((
|
|
59
|
+
"onUpdate:modelValue"?: ((_value: string | number) => any) | undefined;
|
|
60
60
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
61
61
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
62
62
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
@@ -23,7 +23,7 @@ export declare const GmSearchFormInput: import("../../../../../../utils").SFCWit
|
|
|
23
23
|
clear: () => void;
|
|
24
24
|
input: (value: string) => void;
|
|
25
25
|
change: (value: string) => void;
|
|
26
|
-
"update:modelValue": (
|
|
26
|
+
"update:modelValue": (_value: string | number) => void;
|
|
27
27
|
focus: (evt: FocusEvent) => void;
|
|
28
28
|
blur: (evt: FocusEvent) => void;
|
|
29
29
|
compositionend: (evt: CompositionEvent) => void;
|
|
@@ -57,7 +57,7 @@ export declare const GmSearchFormInput: import("../../../../../../utils").SFCWit
|
|
|
57
57
|
onChange?: ((value: string) => any) | undefined;
|
|
58
58
|
onClear?: (() => any) | undefined;
|
|
59
59
|
onInput?: ((value: string) => any) | undefined;
|
|
60
|
-
"onUpdate:modelValue"?: ((
|
|
60
|
+
"onUpdate:modelValue"?: ((_value: string | number) => any) | undefined;
|
|
61
61
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
62
62
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
63
63
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
@@ -18,7 +18,7 @@ export declare const searchFormInputProps: {
|
|
|
18
18
|
};
|
|
19
19
|
export declare const searchFormInputEmits: {
|
|
20
20
|
keyupEnter: (...value: any[]) => boolean;
|
|
21
|
-
|
|
21
|
+
'update:modelValue': (_value: string | number) => boolean;
|
|
22
22
|
input: (value: string) => boolean;
|
|
23
23
|
change: (value: string) => boolean;
|
|
24
24
|
focus: (evt: FocusEvent) => boolean;
|
package/lib/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.9.
|
|
1
|
+
export declare const version = "0.9.15";
|
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.9.
|
|
1
|
+
{"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.9.15';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAA,GAAU;;;;"}
|