rayyy-vue-table-components 1.0.26 → 1.0.28
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.es.js +6291 -6518
- package/dist/index.umd.js +19 -23
- package/dist/rayyy-vue-table-components.css +1 -1
- package/dist/src/App.vue.d.ts +1 -1
- package/dist/src/components/BaseDialog.vue.d.ts +3 -3
- package/dist/src/components/SearchBar.vue.d.ts +3 -3
- package/dist/src/components/items/BaseBtn.vue.d.ts +3 -3
- package/dist/src/components/items/BaseInput.vue.d.ts +3 -11
- package/dist/src/components/items/FilterBtn.vue.d.ts +1 -1
- package/dist/src/components/tables/BaseTable.vue.d.ts +5 -5
- package/dist/src/components/tables/SortTable.vue.d.ts +5 -5
- package/dist/src/components/transfer/TransferDialog.vue.d.ts +4 -4
- package/dist/src/components/transfer/transferItem.vue.d.ts +4 -4
- package/dist/src/index.d.ts +33 -33
- package/dist/src/layout/HomeLayout.vue.d.ts +1 -1
- package/dist/src/stores/counter.d.ts +6 -6
- package/dist/src/types/components.d.ts +1 -1
- package/dist/src/types/index.d.ts +1 -1
- package/dist/src/utils/tableHelper.d.ts +1 -1
- package/dist/src/views/DemoPage.vue.d.ts +1 -1
- package/dist/src/views/HomePage.vue.d.ts +1 -1
- package/dist/src/views/NotFoundPage.vue.d.ts +1 -1
- package/package.json +2 -1
- package/src/components/SearchBar.vue +1 -5
- package/src/components/items/BaseInput.vue +4 -6
|
@@ -14,13 +14,13 @@ declare function __VLS_template(): {
|
|
|
14
14
|
rootEl: HTMLDivElement;
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
+
declare const __VLS_component: import('../../vue/dist/vue.runtime.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
18
18
|
"update:clear": () => any;
|
|
19
19
|
"keydown:enter": (data: string) => any;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
}, string, import('../../vue/dist/vue.runtime.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
21
|
"onUpdate:clear"?: (() => any) | undefined;
|
|
22
22
|
"onKeydown:enter"?: ((data: string) => any) | undefined;
|
|
23
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
25
|
export default _default;
|
|
26
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -21,11 +21,11 @@ declare function __VLS_template(): {
|
|
|
21
21
|
rootEl: any;
|
|
22
22
|
};
|
|
23
23
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
24
|
+
declare const __VLS_component: import('../../../vue/dist/vue.runtime.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
25
25
|
click: (evt: MouseEvent) => any;
|
|
26
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
+
}, string, import('../../../vue/dist/vue.runtime.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
27
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
28
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
30
|
export default _default;
|
|
31
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -12,19 +12,11 @@ type __VLS_Props = {
|
|
|
12
12
|
autocomplete?: string;
|
|
13
13
|
dataCy?: string;
|
|
14
14
|
};
|
|
15
|
-
declare
|
|
16
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
declare const _default: import('../../../vue/dist/vue.runtime.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
18
16
|
"update:modelValue": (data: string | number | null | undefined) => any;
|
|
19
17
|
"update:clearValue": () => any;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
}, string, import('../../../vue/dist/vue.runtime.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
19
|
"onUpdate:modelValue"?: ((data: string | number | null | undefined) => any) | undefined;
|
|
22
20
|
"onUpdate:clearValue"?: (() => any) | undefined;
|
|
23
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions, false, {}, any>;
|
|
25
22
|
export default _default;
|
|
26
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
-
new (): {
|
|
28
|
-
$slots: S;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
10
10
|
rootEl: any;
|
|
11
11
|
};
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_component: import('../../../vue/dist/vue.runtime.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.runtime.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
15
|
export default _default;
|
|
16
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
1
|
+
import { VNode } from '../../../vue/dist/vue.runtime.esm-bundler.js';
|
|
2
2
|
import { TableColumnCtx } from 'element-plus';
|
|
3
3
|
import { SortChangValue, TableColumn } from '../../types';
|
|
4
4
|
declare const _default: <T extends Record<string, unknown> = Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
@@ -7,7 +7,7 @@ declare const _default: <T extends Record<string, unknown> = Record<string, unkn
|
|
|
7
7
|
readonly "onCurrent-change"?: ((currentRow: T) => any) | undefined;
|
|
8
8
|
readonly "onColumn-sort-change"?: ((value: SortChangValue<T>) => any) | undefined;
|
|
9
9
|
readonly "onCell-click"?: ((column: TableColumn<T>, row: T) => any) | undefined;
|
|
10
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelection-change" | "onCurrent-change" | "onColumn-sort-change" | "onCell-click"> & {
|
|
10
|
+
} & import('../../../vue/dist/vue.runtime.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.runtime.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.runtime.esm-bundler.js').ComponentCustomProps, never>, "onSelection-change" | "onCurrent-change" | "onColumn-sort-change" | "onCell-click"> & {
|
|
11
11
|
loading?: boolean;
|
|
12
12
|
data: T[];
|
|
13
13
|
columns: TableColumn<T>[];
|
|
@@ -22,8 +22,8 @@ declare const _default: <T extends Record<string, unknown> = Record<string, unkn
|
|
|
22
22
|
row: T;
|
|
23
23
|
rowIndex: number;
|
|
24
24
|
}) => string) | undefined;
|
|
25
|
-
} & Partial<{}>> & import('vue').PublicProps;
|
|
26
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
25
|
+
} & Partial<{}>> & import('../../../vue/dist/vue.runtime.esm-bundler.js').PublicProps;
|
|
26
|
+
expose(exposed: import('../../../vue/dist/vue.runtime.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
27
27
|
attrs: any;
|
|
28
28
|
slots: {};
|
|
29
29
|
emit: {
|
|
@@ -32,7 +32,7 @@ declare const _default: <T extends Record<string, unknown> = Record<string, unkn
|
|
|
32
32
|
(e: "cell-click", column: TableColumn<T>, row: T): void;
|
|
33
33
|
(e: "column-sort-change", value: SortChangValue<T>): void;
|
|
34
34
|
};
|
|
35
|
-
}>) => import('vue').VNode & {
|
|
35
|
+
}>) => import('../../../vue/dist/vue.runtime.esm-bundler.js').VNode & {
|
|
36
36
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
37
37
|
};
|
|
38
38
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { SortChangValue, TableColumn } from '../../types';
|
|
2
2
|
import { TableColumnCtx } from 'element-plus';
|
|
3
|
-
import { VNode } from 'vue';
|
|
3
|
+
import { VNode } from '../../../vue/dist/vue.runtime.esm-bundler.js';
|
|
4
4
|
declare const _default: <T extends Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
6
|
readonly "onOpen:transfer"?: (() => any) | undefined;
|
|
7
7
|
readonly "onUpdate:selectRow"?: ((value: T[]) => any) | undefined;
|
|
8
8
|
readonly "onClick:columnSort"?: ((data: SortChangValue<T>) => any) | undefined;
|
|
9
9
|
readonly "onClick:cell"?: ((column: TableColumn<T>, row: T) => any) | undefined;
|
|
10
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onOpen:transfer" | "onUpdate:selectRow" | "onClick:columnSort" | "onClick:cell"> & {
|
|
10
|
+
} & import('../../../vue/dist/vue.runtime.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.runtime.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.runtime.esm-bundler.js').ComponentCustomProps, never>, "onOpen:transfer" | "onUpdate:selectRow" | "onClick:columnSort" | "onClick:cell"> & {
|
|
11
11
|
data: T[];
|
|
12
12
|
columns: TableColumn<T>[];
|
|
13
13
|
tableTitle?: string;
|
|
@@ -23,8 +23,8 @@ declare const _default: <T extends Record<string, unknown>>(__VLS_props: NonNull
|
|
|
23
23
|
row: T;
|
|
24
24
|
rowIndex: number;
|
|
25
25
|
}) => string;
|
|
26
|
-
} & Partial<{}>> & import('vue').PublicProps;
|
|
27
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
26
|
+
} & Partial<{}>> & import('../../../vue/dist/vue.runtime.esm-bundler.js').PublicProps;
|
|
27
|
+
expose(exposed: import('../../../vue/dist/vue.runtime.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
28
28
|
attrs: any;
|
|
29
29
|
slots: {};
|
|
30
30
|
emit: {
|
|
@@ -33,7 +33,7 @@ declare const _default: <T extends Record<string, unknown>>(__VLS_props: NonNull
|
|
|
33
33
|
(e: "click:cell", column: TableColumn<T>, row: T): void;
|
|
34
34
|
(e: "click:columnSort", data: SortChangValue<T>): void;
|
|
35
35
|
};
|
|
36
|
-
}>) => import('vue').VNode & {
|
|
36
|
+
}>) => import('../../../vue/dist/vue.runtime.esm-bundler.js').VNode & {
|
|
37
37
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
38
38
|
};
|
|
39
39
|
export default _default;
|
|
@@ -3,19 +3,19 @@ declare const _default: <T = Record<string, unknown>>(__VLS_props: NonNullable<A
|
|
|
3
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
4
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
5
5
|
readonly "onUpdate:submit"?: ((data: TableColumn<T>[]) => any) | undefined;
|
|
6
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:submit"> & {
|
|
6
|
+
} & import('../../../vue/dist/vue.runtime.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.runtime.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.runtime.esm-bundler.js').ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:submit"> & {
|
|
7
7
|
modelValue: boolean;
|
|
8
8
|
columnsValue: TableColumn<T>[];
|
|
9
9
|
transferTitle: string;
|
|
10
|
-
} & Partial<{}>> & import('vue').PublicProps;
|
|
11
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
10
|
+
} & Partial<{}>> & import('../../../vue/dist/vue.runtime.esm-bundler.js').PublicProps;
|
|
11
|
+
expose(exposed: import('../../../vue/dist/vue.runtime.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
12
12
|
attrs: any;
|
|
13
13
|
slots: {};
|
|
14
14
|
emit: {
|
|
15
15
|
(e: "update:modelValue", value: boolean): void;
|
|
16
16
|
(e: "update:submit", data: TableColumn<T>[]): void;
|
|
17
17
|
};
|
|
18
|
-
}>) => import('vue').VNode & {
|
|
18
|
+
}>) => import('../../../vue/dist/vue.runtime.esm-bundler.js').VNode & {
|
|
19
19
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
20
20
|
};
|
|
21
21
|
export default _default;
|
|
@@ -5,13 +5,13 @@ declare const _default: <T = Record<string, unknown>>(__VLS_props: NonNullable<A
|
|
|
5
5
|
readonly "onUpdate:toPre"?: (() => any) | undefined;
|
|
6
6
|
readonly "onUpdate:toNext"?: (() => any) | undefined;
|
|
7
7
|
readonly "onUpdate:toBottom"?: (() => any) | undefined;
|
|
8
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:toTop" | "onUpdate:toPre" | "onUpdate:toNext" | "onUpdate:toBottom"> & {
|
|
8
|
+
} & import('../../../vue/dist/vue.runtime.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.runtime.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.runtime.esm-bundler.js').ComponentCustomProps, never>, "onUpdate:toTop" | "onUpdate:toPre" | "onUpdate:toNext" | "onUpdate:toBottom"> & {
|
|
9
9
|
dialogModalVisible: boolean;
|
|
10
10
|
columnsValue: TableColumn<T>;
|
|
11
11
|
columnsIndex: number;
|
|
12
12
|
columnsLen: number;
|
|
13
|
-
} & Partial<{}>> & import('vue').PublicProps;
|
|
14
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
13
|
+
} & Partial<{}>> & import('../../../vue/dist/vue.runtime.esm-bundler.js').PublicProps;
|
|
14
|
+
expose(exposed: import('../../../vue/dist/vue.runtime.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
15
15
|
attrs: any;
|
|
16
16
|
slots: {};
|
|
17
17
|
emit: {
|
|
@@ -20,7 +20,7 @@ declare const _default: <T = Record<string, unknown>>(__VLS_props: NonNullable<A
|
|
|
20
20
|
(e: "update:toNext"): void;
|
|
21
21
|
(e: "update:toBottom"): void;
|
|
22
22
|
};
|
|
23
|
-
}>) => import('vue').VNode & {
|
|
23
|
+
}>) => import('../../../vue/dist/vue.runtime.esm-bundler.js').VNode & {
|
|
24
24
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
25
25
|
};
|
|
26
26
|
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { App } from 'vue';
|
|
1
|
+
import { App } from '../vue/dist/vue.runtime.esm-bundler.js';
|
|
2
2
|
export * from './types';
|
|
3
3
|
export * from './utils/tableHelper';
|
|
4
4
|
export type { BaseTableProps, BaseTableEmits, BaseTableInstance, BaseBtnProps, BaseBtnEmits, BaseBtnInstance, BaseDialogProps, BaseDialogEmits, BaseDialogInstance, PluginOptions, VueTableComponentsPlugin, } from './types/components';
|
|
@@ -31,13 +31,13 @@ declare const VueTableComponents: {
|
|
|
31
31
|
summaryMethod?: ((param: {
|
|
32
32
|
columns: import('element-plus').TableColumnCtx<Record<string, unknown>>[];
|
|
33
33
|
data: T[];
|
|
34
|
-
}) => (string | import('vue').VNode)[]) | undefined;
|
|
34
|
+
}) => (string | import('../vue/dist/vue.runtime.esm-bundler.js').VNode)[]) | undefined;
|
|
35
35
|
baseTableRowClassName?: ((data: {
|
|
36
36
|
row: T;
|
|
37
37
|
rowIndex: number;
|
|
38
38
|
}) => string) | undefined;
|
|
39
|
-
} & import('vue').PublicProps;
|
|
40
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
39
|
+
} & import('../vue/dist/vue.runtime.esm-bundler.js').PublicProps;
|
|
40
|
+
expose(exposed: import('../vue/dist/vue.runtime.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
41
41
|
attrs: any;
|
|
42
42
|
slots: {};
|
|
43
43
|
emit: {
|
|
@@ -46,11 +46,11 @@ declare const VueTableComponents: {
|
|
|
46
46
|
(e: "cell-click", column: import('./types').TableColumn<T>, row: T): void;
|
|
47
47
|
(e: "column-sort-change", value: import('./types').SortChangValue<T>): void;
|
|
48
48
|
};
|
|
49
|
-
}>) => import('vue').VNode & {
|
|
49
|
+
}>) => import('../vue/dist/vue.runtime.esm-bundler.js').VNode & {
|
|
50
50
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
51
51
|
};
|
|
52
52
|
BaseBtn: {
|
|
53
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
53
|
+
new (...args: any[]): import('../vue/dist/vue.runtime.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
54
54
|
text?: string;
|
|
55
55
|
type?: "default" | "primary" | "success" | "warning" | "info" | "danger";
|
|
56
56
|
size?: "default" | "small" | "large";
|
|
@@ -65,9 +65,9 @@ declare const VueTableComponents: {
|
|
|
65
65
|
dataCy?: string;
|
|
66
66
|
}> & Readonly<{
|
|
67
67
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
68
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
68
|
+
}>, {}, {}, {}, {}, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
69
69
|
click: (evt: MouseEvent) => any;
|
|
70
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
70
|
+
}, import('../vue/dist/vue.runtime.esm-bundler.js').PublicProps, {}, false, {}, {}, import('../vue/dist/vue.runtime.esm-bundler.js').GlobalComponents, import('../vue/dist/vue.runtime.esm-bundler.js').GlobalDirectives, string, {}, any, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions, {
|
|
71
71
|
P: {};
|
|
72
72
|
B: {};
|
|
73
73
|
D: {};
|
|
@@ -93,7 +93,7 @@ declare const VueTableComponents: {
|
|
|
93
93
|
__isFragment?: never;
|
|
94
94
|
__isTeleport?: never;
|
|
95
95
|
__isSuspense?: never;
|
|
96
|
-
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
96
|
+
} & import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsBase<Readonly<{
|
|
97
97
|
text?: string;
|
|
98
98
|
type?: "default" | "primary" | "success" | "warning" | "info" | "danger";
|
|
99
99
|
size?: "default" | "small" | "large";
|
|
@@ -108,15 +108,15 @@ declare const VueTableComponents: {
|
|
|
108
108
|
dataCy?: string;
|
|
109
109
|
}> & Readonly<{
|
|
110
110
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
111
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
111
|
+
}>, {}, {}, {}, {}, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
112
112
|
click: (evt: MouseEvent) => any;
|
|
113
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
113
|
+
}, string, {}, {}, string, {}, import('../vue/dist/vue.runtime.esm-bundler.js').GlobalComponents, import('../vue/dist/vue.runtime.esm-bundler.js').GlobalDirectives, string, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions> & import('../vue/dist/vue.runtime.esm-bundler.js').VNodeProps & import('../vue/dist/vue.runtime.esm-bundler.js').AllowedComponentProps & import('../vue/dist/vue.runtime.esm-bundler.js').ComponentCustomProps & (new () => {
|
|
114
114
|
$slots: {
|
|
115
115
|
default?(_: {}): any;
|
|
116
116
|
};
|
|
117
117
|
});
|
|
118
118
|
BaseDialog: {
|
|
119
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
119
|
+
new (...args: any[]): import('../vue/dist/vue.runtime.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
120
120
|
modelValue: boolean;
|
|
121
121
|
title?: string;
|
|
122
122
|
subTitle?: string;
|
|
@@ -129,10 +129,10 @@ declare const VueTableComponents: {
|
|
|
129
129
|
}> & Readonly<{
|
|
130
130
|
"onUpdate:modelValue"?: ((data: boolean) => any) | undefined;
|
|
131
131
|
"onClick:submit"?: (() => any) | undefined;
|
|
132
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
132
|
+
}>, {}, {}, {}, {}, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
133
133
|
"update:modelValue": (data: boolean) => any;
|
|
134
134
|
"click:submit": () => any;
|
|
135
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
135
|
+
}, import('../vue/dist/vue.runtime.esm-bundler.js').PublicProps, {}, false, {}, {}, import('../vue/dist/vue.runtime.esm-bundler.js').GlobalComponents, import('../vue/dist/vue.runtime.esm-bundler.js').GlobalDirectives, string, {}, any, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions, {
|
|
136
136
|
P: {};
|
|
137
137
|
B: {};
|
|
138
138
|
D: {};
|
|
@@ -156,7 +156,7 @@ declare const VueTableComponents: {
|
|
|
156
156
|
__isFragment?: never;
|
|
157
157
|
__isTeleport?: never;
|
|
158
158
|
__isSuspense?: never;
|
|
159
|
-
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
159
|
+
} & import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsBase<Readonly<{
|
|
160
160
|
modelValue: boolean;
|
|
161
161
|
title?: string;
|
|
162
162
|
subTitle?: string;
|
|
@@ -169,10 +169,10 @@ declare const VueTableComponents: {
|
|
|
169
169
|
}> & Readonly<{
|
|
170
170
|
"onUpdate:modelValue"?: ((data: boolean) => any) | undefined;
|
|
171
171
|
"onClick:submit"?: (() => any) | undefined;
|
|
172
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
172
|
+
}>, {}, {}, {}, {}, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
173
173
|
"update:modelValue": (data: boolean) => any;
|
|
174
174
|
"click:submit": () => any;
|
|
175
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
175
|
+
}, string, {}, {}, string, {}, import('../vue/dist/vue.runtime.esm-bundler.js').GlobalComponents, import('../vue/dist/vue.runtime.esm-bundler.js').GlobalDirectives, string, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions> & import('../vue/dist/vue.runtime.esm-bundler.js').VNodeProps & import('../vue/dist/vue.runtime.esm-bundler.js').AllowedComponentProps & import('../vue/dist/vue.runtime.esm-bundler.js').ComponentCustomProps & (new () => {
|
|
176
176
|
$slots: {
|
|
177
177
|
customHeader?(_: {}): any;
|
|
178
178
|
default?(_: {}): any;
|
|
@@ -204,13 +204,13 @@ declare const VueTableComponents: {
|
|
|
204
204
|
summaryMethod?: ((param: {
|
|
205
205
|
columns: import('element-plus').TableColumnCtx<Record<string, unknown>>[];
|
|
206
206
|
data: T[];
|
|
207
|
-
}) => (string | import('vue').VNode)[]) | undefined;
|
|
207
|
+
}) => (string | import('../vue/dist/vue.runtime.esm-bundler.js').VNode)[]) | undefined;
|
|
208
208
|
sortTableRowClassName?: ((data: {
|
|
209
209
|
row: T;
|
|
210
210
|
rowIndex: number;
|
|
211
211
|
}) => string) | undefined;
|
|
212
|
-
} & import('vue').PublicProps;
|
|
213
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
212
|
+
} & import('../vue/dist/vue.runtime.esm-bundler.js').PublicProps;
|
|
213
|
+
expose(exposed: import('../vue/dist/vue.runtime.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
214
214
|
attrs: any;
|
|
215
215
|
slots: {};
|
|
216
216
|
emit: {
|
|
@@ -219,11 +219,11 @@ declare const VueTableComponents: {
|
|
|
219
219
|
(e: "click:cell", column: import('./types').TableColumn<T>, row: T): void;
|
|
220
220
|
(e: "click:columnSort", data: import('./types').SortChangValue<T>): void;
|
|
221
221
|
};
|
|
222
|
-
}>) => import('vue').VNode & {
|
|
222
|
+
}>) => import('../vue/dist/vue.runtime.esm-bundler.js').VNode & {
|
|
223
223
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
224
224
|
};
|
|
225
225
|
SearchBar: {
|
|
226
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
226
|
+
new (...args: any[]): import('../vue/dist/vue.runtime.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
227
227
|
showFilter?: boolean;
|
|
228
228
|
showSearch?: boolean;
|
|
229
229
|
fullInput?: boolean;
|
|
@@ -231,10 +231,10 @@ declare const VueTableComponents: {
|
|
|
231
231
|
}> & Readonly<{
|
|
232
232
|
"onUpdate:clear"?: (() => any) | undefined;
|
|
233
233
|
"onKeydown:enter"?: ((data: string) => any) | undefined;
|
|
234
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
234
|
+
}>, {}, {}, {}, {}, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
235
235
|
"update:clear": () => any;
|
|
236
236
|
"keydown:enter": (data: string) => any;
|
|
237
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
237
|
+
}, import('../vue/dist/vue.runtime.esm-bundler.js').PublicProps, {}, false, {}, {}, import('../vue/dist/vue.runtime.esm-bundler.js').GlobalComponents, import('../vue/dist/vue.runtime.esm-bundler.js').GlobalDirectives, string, {}, HTMLDivElement, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions, {
|
|
238
238
|
P: {};
|
|
239
239
|
B: {};
|
|
240
240
|
D: {};
|
|
@@ -253,7 +253,7 @@ declare const VueTableComponents: {
|
|
|
253
253
|
__isFragment?: never;
|
|
254
254
|
__isTeleport?: never;
|
|
255
255
|
__isSuspense?: never;
|
|
256
|
-
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
256
|
+
} & import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsBase<Readonly<{
|
|
257
257
|
showFilter?: boolean;
|
|
258
258
|
showSearch?: boolean;
|
|
259
259
|
fullInput?: boolean;
|
|
@@ -261,10 +261,10 @@ declare const VueTableComponents: {
|
|
|
261
261
|
}> & Readonly<{
|
|
262
262
|
"onUpdate:clear"?: (() => any) | undefined;
|
|
263
263
|
"onKeydown:enter"?: ((data: string) => any) | undefined;
|
|
264
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
264
|
+
}>, {}, {}, {}, {}, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
265
265
|
"update:clear": () => any;
|
|
266
266
|
"keydown:enter": (data: string) => any;
|
|
267
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
267
|
+
}, string, {}, {}, string, {}, import('../vue/dist/vue.runtime.esm-bundler.js').GlobalComponents, import('../vue/dist/vue.runtime.esm-bundler.js').GlobalDirectives, string, import('../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions> & import('../vue/dist/vue.runtime.esm-bundler.js').VNodeProps & import('../vue/dist/vue.runtime.esm-bundler.js').AllowedComponentProps & import('../vue/dist/vue.runtime.esm-bundler.js').ComponentCustomProps & (new () => {
|
|
268
268
|
$slots: {
|
|
269
269
|
button?(_: {}): any;
|
|
270
270
|
filterBody?(_: {}): any;
|
|
@@ -284,15 +284,15 @@ declare const VueTableComponents: {
|
|
|
284
284
|
modelValue: boolean;
|
|
285
285
|
columnsValue: import('./types').TableColumn<T>[];
|
|
286
286
|
transferTitle: string;
|
|
287
|
-
} & import('vue').PublicProps;
|
|
288
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
287
|
+
} & import('../vue/dist/vue.runtime.esm-bundler.js').PublicProps;
|
|
288
|
+
expose(exposed: import('../vue/dist/vue.runtime.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
289
289
|
attrs: any;
|
|
290
290
|
slots: {};
|
|
291
291
|
emit: {
|
|
292
292
|
(e: "update:modelValue", value: boolean): void;
|
|
293
293
|
(e: "update:submit", data: import('./types').TableColumn<T>[]): void;
|
|
294
294
|
};
|
|
295
|
-
}>) => import('vue').VNode & {
|
|
295
|
+
}>) => import('../vue/dist/vue.runtime.esm-bundler.js').VNode & {
|
|
296
296
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
297
297
|
};
|
|
298
298
|
TransferItem: <T = Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
@@ -314,8 +314,8 @@ declare const VueTableComponents: {
|
|
|
314
314
|
columnsValue: import('./types').TableColumn<T>;
|
|
315
315
|
columnsIndex: number;
|
|
316
316
|
columnsLen: number;
|
|
317
|
-
} & import('vue').PublicProps;
|
|
318
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
317
|
+
} & import('../vue/dist/vue.runtime.esm-bundler.js').PublicProps;
|
|
318
|
+
expose(exposed: import('../vue/dist/vue.runtime.esm-bundler.js').ShallowUnwrapRef<{}>): void;
|
|
319
319
|
attrs: any;
|
|
320
320
|
slots: {};
|
|
321
321
|
emit: {
|
|
@@ -324,7 +324,7 @@ declare const VueTableComponents: {
|
|
|
324
324
|
(e: "update:toNext"): void;
|
|
325
325
|
(e: "update:toBottom"): void;
|
|
326
326
|
};
|
|
327
|
-
}>) => import('vue').VNode & {
|
|
327
|
+
}>) => import('../vue/dist/vue.runtime.esm-bundler.js').VNode & {
|
|
328
328
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
329
329
|
};
|
|
330
330
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: import('../../vue/dist/vue.runtime.esm-bundler.js').DefineComponent<{}, {}, {}, {}, {}, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.runtime.esm-bundler.js').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const useCounterStore: import('pinia').StoreDefinition<"counter", Pick<{
|
|
2
|
-
count: import('vue').Ref<number, number>;
|
|
3
|
-
doubleCount: import('vue').ComputedRef<number>;
|
|
2
|
+
count: import('../../vue/dist/vue.runtime.esm-bundler.js').Ref<number, number>;
|
|
3
|
+
doubleCount: import('../../vue/dist/vue.runtime.esm-bundler.js').ComputedRef<number>;
|
|
4
4
|
increment: () => void;
|
|
5
5
|
}, "count">, Pick<{
|
|
6
|
-
count: import('vue').Ref<number, number>;
|
|
7
|
-
doubleCount: import('vue').ComputedRef<number>;
|
|
6
|
+
count: import('../../vue/dist/vue.runtime.esm-bundler.js').Ref<number, number>;
|
|
7
|
+
doubleCount: import('../../vue/dist/vue.runtime.esm-bundler.js').ComputedRef<number>;
|
|
8
8
|
increment: () => void;
|
|
9
9
|
}, "doubleCount">, Pick<{
|
|
10
|
-
count: import('vue').Ref<number, number>;
|
|
11
|
-
doubleCount: import('vue').ComputedRef<number>;
|
|
10
|
+
count: import('../../vue/dist/vue.runtime.esm-bundler.js').Ref<number, number>;
|
|
11
|
+
doubleCount: import('../../vue/dist/vue.runtime.esm-bundler.js').ComputedRef<number>;
|
|
12
12
|
increment: () => void;
|
|
13
13
|
}, "increment">>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { App, DefineComponent, VNode } from 'vue';
|
|
1
|
+
import { App, DefineComponent, VNode } from '../../vue/dist/vue.runtime.esm-bundler.js';
|
|
2
2
|
import { TableColumnCtx } from 'element-plus';
|
|
3
3
|
import { SortChangValue, TableColumn } from './index';
|
|
4
4
|
// ==================== BaseTable 組件類型 ====================
|
|
@@ -9,7 +9,7 @@ export declare function setActiveColumn<T>(tableColumns: TableColumn<T>[]): {
|
|
|
9
9
|
align?: "center" | "left" | "right";
|
|
10
10
|
sortable?: boolean | "custom";
|
|
11
11
|
formatter?: ((row: T) => string) | undefined;
|
|
12
|
-
template?: ((row: T) => import('vue').VNode) | undefined;
|
|
12
|
+
template?: ((row: T) => import('../../vue/dist/vue.runtime.esm-bundler.js').VNode) | undefined;
|
|
13
13
|
minWidth?: number | string;
|
|
14
14
|
headerAlign?: "center" | "left" | "right";
|
|
15
15
|
}[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1
|
+
declare const _default: import('../../vue/dist/vue.runtime.esm-bundler.js').DefineComponent<{}, {}, {}, {}, {}, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.runtime.esm-bundler.js').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1
|
+
declare const _default: import('../../vue/dist/vue.runtime.esm-bundler.js').DefineComponent<{}, {}, {}, {}, {}, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.runtime.esm-bundler.js').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1
|
+
declare const _default: import('../../vue/dist/vue.runtime.esm-bundler.js').DefineComponent<{}, {}, {}, {}, {}, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.runtime.esm-bundler.js').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue/dist/vue.runtime.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rayyy-vue-table-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"description": "Vue 3 + Element Plus 表格組件庫",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.umd.js",
|
|
@@ -109,6 +109,7 @@
|
|
|
109
109
|
"postcss": "^8.5.3",
|
|
110
110
|
"postcss-import": "^16.1.0",
|
|
111
111
|
"prettier": "3.5.3",
|
|
112
|
+
"rollup-plugin-external-globals": "^0.13.0",
|
|
112
113
|
"sass-embedded": "^1.86.0",
|
|
113
114
|
"start-server-and-test": "^2.0.10",
|
|
114
115
|
"tailwindcss": "^3.4.17",
|
|
@@ -40,11 +40,7 @@ const clearableClick = () => {
|
|
|
40
40
|
@keydown.enter="doSearch"
|
|
41
41
|
@update:clearValue="clearableClick"
|
|
42
42
|
class="search-input_inner"
|
|
43
|
-
|
|
44
|
-
<template #prefix>
|
|
45
|
-
<el-icon><Search /></el-icon>
|
|
46
|
-
</template>
|
|
47
|
-
</base-input>
|
|
43
|
+
/>
|
|
48
44
|
</div>
|
|
49
45
|
|
|
50
46
|
<div class="filter-customer" v-if="showFilter">
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
clearable
|
|
13
13
|
@clear="handlerClear"
|
|
14
14
|
>
|
|
15
|
-
<template
|
|
16
|
-
<
|
|
15
|
+
<template #prefix>
|
|
16
|
+
<el-icon><Search /></el-icon>
|
|
17
17
|
</template>
|
|
18
|
-
<template v-if="slots.append" #append><slot name="append" /></template>
|
|
19
18
|
</el-input>
|
|
20
19
|
</template>
|
|
21
20
|
|
|
22
21
|
<script lang="ts" setup>
|
|
23
|
-
import { computed
|
|
22
|
+
import { computed } from 'vue'
|
|
23
|
+
import { Search } from '@element-plus/icons-vue'
|
|
24
24
|
|
|
25
25
|
const props = defineProps<{
|
|
26
26
|
modelValue?: string | number | null
|
|
@@ -40,8 +40,6 @@ const emits = defineEmits<{
|
|
|
40
40
|
(e: 'update:clearValue'): void
|
|
41
41
|
}>()
|
|
42
42
|
|
|
43
|
-
const slots = useSlots()
|
|
44
|
-
|
|
45
43
|
const v = computed({
|
|
46
44
|
get: () => props.modelValue,
|
|
47
45
|
set: (val: string | number | null | undefined) => emits('update:modelValue', val),
|