@public-ui/vue 1.1.7-rc.10
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/LICENSE +287 -0
- package/README.md +7 -0
- package/cjs/index.d.ts +45 -0
- package/cjs/index.js +442 -0
- package/cjs/index.js.map +1 -0
- package/cjs/vue-component-lib/utils.d.ts +6 -0
- package/cjs/vue-component-lib/utils.js +115 -0
- package/cjs/vue-component-lib/utils.js.map +1 -0
- package/esm/index.d.ts +45 -0
- package/esm/index.js +439 -0
- package/esm/index.js.map +1 -0
- package/esm/vue-component-lib/utils.d.ts +6 -0
- package/esm/vue-component-lib/utils.js +111 -0
- package/esm/vue-component-lib/utils.js.map +1 -0
- package/package.json +66 -0
- package/types/index.d.ts +45 -0
- package/types/vue-component-lib/utils.d.ts +6 -0
- package/umd/index.d.ts +45 -0
- package/umd/index.js +452 -0
- package/umd/index.js.map +1 -0
- package/umd/vue-component-lib/utils.d.ts +6 -0
- package/umd/vue-component-lib/utils.js +125 -0
- package/umd/vue-component-lib/utils.js.map +1 -0
package/esm/index.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { JSX } from '@public-ui/components';
|
|
2
|
+
export declare const KolAbbr: import("vue").DefineComponent<JSX.KolAbbr & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolAbbr & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
3
|
+
export declare const KolAccordion: import("vue").DefineComponent<JSX.KolAccordion & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolAccordion & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
4
|
+
export declare const KolAlert: import("vue").DefineComponent<JSX.KolAlert & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolAlert & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
5
|
+
export declare const KolBadge: import("vue").DefineComponent<JSX.KolBadge & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolBadge & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
6
|
+
export declare const KolBreadcrumb: import("vue").DefineComponent<JSX.KolBreadcrumb & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolBreadcrumb & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
7
|
+
export declare const KolButton: import("vue").DefineComponent<JSX.KolButton & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolButton & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
8
|
+
export declare const KolButtonGroup: import("vue").DefineComponent<JSX.KolButtonGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolButtonGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
9
|
+
export declare const KolCard: import("vue").DefineComponent<JSX.KolCard & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolCard & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
10
|
+
export declare const KolDetails: import("vue").DefineComponent<JSX.KolDetails & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolDetails & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
11
|
+
export declare const KolForm: import("vue").DefineComponent<JSX.KolForm & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolForm & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
12
|
+
export declare const KolHeading: import("vue").DefineComponent<JSX.KolHeading & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolHeading & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
13
|
+
export declare const KolHeadingWc: import("vue").DefineComponent<JSX.KolHeadingWc & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolHeadingWc & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
14
|
+
export declare const KolIcon: import("vue").DefineComponent<JSX.KolIcon & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolIcon & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
15
|
+
export declare const KolIconFontAwesome: import("vue").DefineComponent<JSX.KolIconFontAwesome & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolIconFontAwesome & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
16
|
+
export declare const KolIconIcofont: import("vue").DefineComponent<JSX.KolIconIcofont & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolIconIcofont & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
17
|
+
export declare const KolIndentedText: import("vue").DefineComponent<JSX.KolIndentedText & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolIndentedText & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
18
|
+
export declare const KolInputAdapterLeanup: import("vue").DefineComponent<JSX.KolInputAdapterLeanup & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolInputAdapterLeanup & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
19
|
+
export declare const KolInputCheckbox: import("vue").DefineComponent<JSX.KolInputCheckbox & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolInputCheckbox & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
20
|
+
export declare const KolInputColor: import("vue").DefineComponent<JSX.KolInputColor & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolInputColor & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
21
|
+
export declare const KolInputEmail: import("vue").DefineComponent<JSX.KolInputEmail & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolInputEmail & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
22
|
+
export declare const KolInputFile: import("vue").DefineComponent<JSX.KolInputFile & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolInputFile & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
23
|
+
export declare const KolInputNumber: import("vue").DefineComponent<JSX.KolInputNumber & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolInputNumber & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
24
|
+
export declare const KolInputPassword: import("vue").DefineComponent<JSX.KolInputPassword & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolInputPassword & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
25
|
+
export declare const KolInputRadio: import("vue").DefineComponent<JSX.KolInputRadio & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolInputRadio & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
26
|
+
export declare const KolInputRange: import("vue").DefineComponent<JSX.KolInputRange & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolInputRange & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
27
|
+
export declare const KolInputText: import("vue").DefineComponent<JSX.KolInputText & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolInputText & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
28
|
+
export declare const KolKolibri: import("vue").DefineComponent<JSX.KolKolibri & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolKolibri & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
29
|
+
export declare const KolLink: import("vue").DefineComponent<JSX.KolLink & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolLink & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
30
|
+
export declare const KolLinkGroup: import("vue").DefineComponent<JSX.KolLinkGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolLinkGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
31
|
+
export declare const KolLogo: import("vue").DefineComponent<JSX.KolLogo & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolLogo & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
32
|
+
export declare const KolModal: import("vue").DefineComponent<JSX.KolModal & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolModal & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
33
|
+
export declare const KolNav: import("vue").DefineComponent<JSX.KolNav & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolNav & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
34
|
+
export declare const KolPagination: import("vue").DefineComponent<JSX.KolPagination & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolPagination & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
35
|
+
export declare const KolProgress: import("vue").DefineComponent<JSX.KolProgress & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolProgress & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
36
|
+
export declare const KolSelect: import("vue").DefineComponent<JSX.KolSelect & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolSelect & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
37
|
+
export declare const KolSkipNav: import("vue").DefineComponent<JSX.KolSkipNav & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolSkipNav & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
38
|
+
export declare const KolSpin: import("vue").DefineComponent<JSX.KolSpin & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolSpin & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
39
|
+
export declare const KolSymbol: import("vue").DefineComponent<JSX.KolSymbol & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolSymbol & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
40
|
+
export declare const KolTable: import("vue").DefineComponent<JSX.KolTable & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolTable & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
41
|
+
export declare const KolTabs: import("vue").DefineComponent<JSX.KolTabs & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolTabs & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
42
|
+
export declare const KolTextarea: import("vue").DefineComponent<JSX.KolTextarea & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolTextarea & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
43
|
+
export declare const KolToast: import("vue").DefineComponent<JSX.KolToast & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolToast & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
44
|
+
export declare const KolTooltip: import("vue").DefineComponent<JSX.KolTooltip & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolTooltip & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
45
|
+
export declare const KolVersion: import("vue").DefineComponent<JSX.KolVersion & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.KolVersion & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
package/esm/index.js
ADDED
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
import { defineContainer } from './vue-component-lib/utils';
|
|
2
|
+
export const KolAbbr = defineContainer('kol-abbr', undefined, [
|
|
3
|
+
'_tooltipAlign',
|
|
4
|
+
'_title'
|
|
5
|
+
]);
|
|
6
|
+
export const KolAccordion = defineContainer('kol-accordion', undefined, [
|
|
7
|
+
'_heading',
|
|
8
|
+
'_level',
|
|
9
|
+
'_on',
|
|
10
|
+
'_open'
|
|
11
|
+
]);
|
|
12
|
+
export const KolAlert = defineContainer('kol-alert', undefined, [
|
|
13
|
+
'_alert',
|
|
14
|
+
'_hasCloser',
|
|
15
|
+
'_heading',
|
|
16
|
+
'_level',
|
|
17
|
+
'_on',
|
|
18
|
+
'_type',
|
|
19
|
+
'_variant'
|
|
20
|
+
]);
|
|
21
|
+
export const KolBadge = defineContainer('kol-badge', undefined, [
|
|
22
|
+
'_color',
|
|
23
|
+
'_icon',
|
|
24
|
+
'_iconAlign',
|
|
25
|
+
'_iconOnly',
|
|
26
|
+
'_label'
|
|
27
|
+
]);
|
|
28
|
+
export const KolBreadcrumb = defineContainer('kol-breadcrumb', undefined, [
|
|
29
|
+
'_ariaLabel',
|
|
30
|
+
'_links'
|
|
31
|
+
]);
|
|
32
|
+
export const KolButton = defineContainer('kol-button', undefined, [
|
|
33
|
+
'_accessKey',
|
|
34
|
+
'_ariaControls',
|
|
35
|
+
'_ariaCurrent',
|
|
36
|
+
'_ariaExpanded',
|
|
37
|
+
'_ariaLabel',
|
|
38
|
+
'_customClass',
|
|
39
|
+
'_disabled',
|
|
40
|
+
'_icon',
|
|
41
|
+
'_iconAlign',
|
|
42
|
+
'_iconOnly',
|
|
43
|
+
'_id',
|
|
44
|
+
'_label',
|
|
45
|
+
'_on',
|
|
46
|
+
'_showAs',
|
|
47
|
+
'_tooltipAlign',
|
|
48
|
+
'_type',
|
|
49
|
+
'_variant'
|
|
50
|
+
]);
|
|
51
|
+
export const KolButtonGroup = defineContainer('kol-button-group', undefined);
|
|
52
|
+
export const KolCard = defineContainer('kol-card', undefined, [
|
|
53
|
+
'_hasFooter',
|
|
54
|
+
'_heading',
|
|
55
|
+
'_headline',
|
|
56
|
+
'_level'
|
|
57
|
+
]);
|
|
58
|
+
export const KolDetails = defineContainer('kol-details', undefined, [
|
|
59
|
+
'_open',
|
|
60
|
+
'_summary'
|
|
61
|
+
]);
|
|
62
|
+
export const KolForm = defineContainer('kol-form', undefined, [
|
|
63
|
+
'_on',
|
|
64
|
+
'_requiredText'
|
|
65
|
+
]);
|
|
66
|
+
export const KolHeading = defineContainer('kol-heading', undefined, [
|
|
67
|
+
'_level'
|
|
68
|
+
]);
|
|
69
|
+
export const KolHeadingWc = defineContainer('kol-heading-wc', undefined, [
|
|
70
|
+
'_level'
|
|
71
|
+
]);
|
|
72
|
+
export const KolIcon = defineContainer('kol-icon', undefined, [
|
|
73
|
+
'_ariaLabel',
|
|
74
|
+
'_icon',
|
|
75
|
+
'_part'
|
|
76
|
+
]);
|
|
77
|
+
export const KolIconFontAwesome = defineContainer('kol-icon-font-awesome', undefined, [
|
|
78
|
+
'_ariaLabel',
|
|
79
|
+
'_icon',
|
|
80
|
+
'_prefix',
|
|
81
|
+
'_part'
|
|
82
|
+
]);
|
|
83
|
+
export const KolIconIcofont = defineContainer('kol-icon-icofont', undefined, [
|
|
84
|
+
'_ariaLabel',
|
|
85
|
+
'_icon',
|
|
86
|
+
'_part'
|
|
87
|
+
]);
|
|
88
|
+
export const KolIndentedText = defineContainer('kol-indented-text', undefined);
|
|
89
|
+
export const KolInputAdapterLeanup = defineContainer('kol-input-adapter-leanup', undefined);
|
|
90
|
+
export const KolInputCheckbox = defineContainer('kol-input-checkbox', undefined, [
|
|
91
|
+
'_accessKey',
|
|
92
|
+
'_alert',
|
|
93
|
+
'_checked',
|
|
94
|
+
'_disabled',
|
|
95
|
+
'_error',
|
|
96
|
+
'_hideLabel',
|
|
97
|
+
'_hint',
|
|
98
|
+
'_id',
|
|
99
|
+
'_indeterminate',
|
|
100
|
+
'_name',
|
|
101
|
+
'_on',
|
|
102
|
+
'_required',
|
|
103
|
+
'_tabIndex',
|
|
104
|
+
'_touched',
|
|
105
|
+
'_type',
|
|
106
|
+
'_value'
|
|
107
|
+
]);
|
|
108
|
+
export const KolInputColor = defineContainer('kol-input-color', undefined, [
|
|
109
|
+
'_accessKey',
|
|
110
|
+
'_alert',
|
|
111
|
+
'_autoComplete',
|
|
112
|
+
'_disabled',
|
|
113
|
+
'_error',
|
|
114
|
+
'_hideLabel',
|
|
115
|
+
'_hint',
|
|
116
|
+
'_icon',
|
|
117
|
+
'_id',
|
|
118
|
+
'_list',
|
|
119
|
+
'_name',
|
|
120
|
+
'_on',
|
|
121
|
+
'_smartButton',
|
|
122
|
+
'_tabIndex',
|
|
123
|
+
'_touched',
|
|
124
|
+
'_value'
|
|
125
|
+
]);
|
|
126
|
+
export const KolInputEmail = defineContainer('kol-input-email', undefined, [
|
|
127
|
+
'_accessKey',
|
|
128
|
+
'_alert',
|
|
129
|
+
'_autoComplete',
|
|
130
|
+
'_disabled',
|
|
131
|
+
'_error',
|
|
132
|
+
'_hideLabel',
|
|
133
|
+
'_hint',
|
|
134
|
+
'_icon',
|
|
135
|
+
'_id',
|
|
136
|
+
'_list',
|
|
137
|
+
'_maxLength',
|
|
138
|
+
'_multiple',
|
|
139
|
+
'_name',
|
|
140
|
+
'_on',
|
|
141
|
+
'_pattern',
|
|
142
|
+
'_placeholder',
|
|
143
|
+
'_readOnly',
|
|
144
|
+
'_required',
|
|
145
|
+
'_size',
|
|
146
|
+
'_smartButton',
|
|
147
|
+
'_tabIndex',
|
|
148
|
+
'_touched',
|
|
149
|
+
'_value'
|
|
150
|
+
]);
|
|
151
|
+
export const KolInputFile = defineContainer('kol-input-file', undefined, [
|
|
152
|
+
'_accept',
|
|
153
|
+
'_accessKey',
|
|
154
|
+
'_alert',
|
|
155
|
+
'_disabled',
|
|
156
|
+
'_error',
|
|
157
|
+
'_hideLabel',
|
|
158
|
+
'_hint',
|
|
159
|
+
'_icon',
|
|
160
|
+
'_id',
|
|
161
|
+
'_multiple',
|
|
162
|
+
'_name',
|
|
163
|
+
'_on',
|
|
164
|
+
'_required',
|
|
165
|
+
'_smartButton',
|
|
166
|
+
'_tabIndex',
|
|
167
|
+
'_touched',
|
|
168
|
+
'_value'
|
|
169
|
+
]);
|
|
170
|
+
export const KolInputNumber = defineContainer('kol-input-number', undefined, [
|
|
171
|
+
'_accessKey',
|
|
172
|
+
'_alert',
|
|
173
|
+
'_autoComplete',
|
|
174
|
+
'_disabled',
|
|
175
|
+
'_error',
|
|
176
|
+
'_hideLabel',
|
|
177
|
+
'_hint',
|
|
178
|
+
'_icon',
|
|
179
|
+
'_id',
|
|
180
|
+
'_list',
|
|
181
|
+
'_max',
|
|
182
|
+
'_min',
|
|
183
|
+
'_name',
|
|
184
|
+
'_on',
|
|
185
|
+
'_placeholder',
|
|
186
|
+
'_readOnly',
|
|
187
|
+
'_required',
|
|
188
|
+
'_smartButton',
|
|
189
|
+
'_step',
|
|
190
|
+
'_tabIndex',
|
|
191
|
+
'_touched',
|
|
192
|
+
'_type',
|
|
193
|
+
'_value'
|
|
194
|
+
]);
|
|
195
|
+
export const KolInputPassword = defineContainer('kol-input-password', undefined, [
|
|
196
|
+
'_accessKey',
|
|
197
|
+
'_alert',
|
|
198
|
+
'_autoComplete',
|
|
199
|
+
'_disabled',
|
|
200
|
+
'_error',
|
|
201
|
+
'_hideLabel',
|
|
202
|
+
'_hint',
|
|
203
|
+
'_icon',
|
|
204
|
+
'_id',
|
|
205
|
+
'_maxLength',
|
|
206
|
+
'_name',
|
|
207
|
+
'_on',
|
|
208
|
+
'_pattern',
|
|
209
|
+
'_placeholder',
|
|
210
|
+
'_readOnly',
|
|
211
|
+
'_required',
|
|
212
|
+
'_size',
|
|
213
|
+
'_smartButton',
|
|
214
|
+
'_tabIndex',
|
|
215
|
+
'_touched',
|
|
216
|
+
'_value'
|
|
217
|
+
]);
|
|
218
|
+
export const KolInputRadio = defineContainer('kol-input-radio', undefined, [
|
|
219
|
+
'_accessKey',
|
|
220
|
+
'_alert',
|
|
221
|
+
'_disabled',
|
|
222
|
+
'_error',
|
|
223
|
+
'_hideLabel',
|
|
224
|
+
'_hint',
|
|
225
|
+
'_id',
|
|
226
|
+
'_list',
|
|
227
|
+
'_name',
|
|
228
|
+
'_on',
|
|
229
|
+
'_orientation',
|
|
230
|
+
'_required',
|
|
231
|
+
'_tabIndex',
|
|
232
|
+
'_touched',
|
|
233
|
+
'_value'
|
|
234
|
+
]);
|
|
235
|
+
export const KolInputRange = defineContainer('kol-input-range', undefined, [
|
|
236
|
+
'_accessKey',
|
|
237
|
+
'_alert',
|
|
238
|
+
'_autoComplete',
|
|
239
|
+
'_disabled',
|
|
240
|
+
'_error',
|
|
241
|
+
'_hideLabel',
|
|
242
|
+
'_hint',
|
|
243
|
+
'_icon',
|
|
244
|
+
'_id',
|
|
245
|
+
'_list',
|
|
246
|
+
'_max',
|
|
247
|
+
'_min',
|
|
248
|
+
'_name',
|
|
249
|
+
'_on',
|
|
250
|
+
'_step',
|
|
251
|
+
'_tabIndex',
|
|
252
|
+
'_touched',
|
|
253
|
+
'_value'
|
|
254
|
+
]);
|
|
255
|
+
export const KolInputText = defineContainer('kol-input-text', undefined, [
|
|
256
|
+
'_accessKey',
|
|
257
|
+
'_alert',
|
|
258
|
+
'_autoComplete',
|
|
259
|
+
'_disabled',
|
|
260
|
+
'_error',
|
|
261
|
+
'_hideLabel',
|
|
262
|
+
'_hint',
|
|
263
|
+
'_icon',
|
|
264
|
+
'_id',
|
|
265
|
+
'_list',
|
|
266
|
+
'_maxLength',
|
|
267
|
+
'_name',
|
|
268
|
+
'_on',
|
|
269
|
+
'_pattern',
|
|
270
|
+
'_placeholder',
|
|
271
|
+
'_readOnly',
|
|
272
|
+
'_required',
|
|
273
|
+
'_size',
|
|
274
|
+
'_smartButton',
|
|
275
|
+
'_tabIndex',
|
|
276
|
+
'_touched',
|
|
277
|
+
'_type',
|
|
278
|
+
'_value'
|
|
279
|
+
]);
|
|
280
|
+
export const KolKolibri = defineContainer('kol-kolibri', undefined, [
|
|
281
|
+
'_animate',
|
|
282
|
+
'_color',
|
|
283
|
+
'_labeled'
|
|
284
|
+
]);
|
|
285
|
+
export const KolLink = defineContainer('kol-link', undefined, [
|
|
286
|
+
'_ariaControls',
|
|
287
|
+
'_ariaCurrent',
|
|
288
|
+
'_ariaExpanded',
|
|
289
|
+
'_ariaLabel',
|
|
290
|
+
'_ariaSelected',
|
|
291
|
+
'_disabled',
|
|
292
|
+
'_fill',
|
|
293
|
+
'_href',
|
|
294
|
+
'_icon',
|
|
295
|
+
'_iconAlign',
|
|
296
|
+
'_iconOnly',
|
|
297
|
+
'_on',
|
|
298
|
+
'_part',
|
|
299
|
+
'_selector',
|
|
300
|
+
'_showAs',
|
|
301
|
+
'_stealth',
|
|
302
|
+
'_target',
|
|
303
|
+
'_targetDescription',
|
|
304
|
+
'_tooltipAlign',
|
|
305
|
+
'_underline',
|
|
306
|
+
'_useCase'
|
|
307
|
+
]);
|
|
308
|
+
export const KolLinkGroup = defineContainer('kol-link-group', undefined, [
|
|
309
|
+
'_ariaLabel',
|
|
310
|
+
'_listStyleType',
|
|
311
|
+
'_heading',
|
|
312
|
+
'_level',
|
|
313
|
+
'_links',
|
|
314
|
+
'_ordered',
|
|
315
|
+
'_orientation'
|
|
316
|
+
]);
|
|
317
|
+
export const KolLogo = defineContainer('kol-logo', undefined, [
|
|
318
|
+
'_abbr',
|
|
319
|
+
'_org'
|
|
320
|
+
]);
|
|
321
|
+
export const KolModal = defineContainer('kol-modal', undefined, [
|
|
322
|
+
'_activeElement',
|
|
323
|
+
'_ariaLabel',
|
|
324
|
+
'_width',
|
|
325
|
+
'_on',
|
|
326
|
+
'_show'
|
|
327
|
+
]);
|
|
328
|
+
export const KolNav = defineContainer('kol-nav', undefined, [
|
|
329
|
+
'_ariaLabel',
|
|
330
|
+
'_collapsible',
|
|
331
|
+
'_compact',
|
|
332
|
+
'_hasCompactButton',
|
|
333
|
+
'_orientation',
|
|
334
|
+
'_links',
|
|
335
|
+
'_variant'
|
|
336
|
+
]);
|
|
337
|
+
export const KolPagination = defineContainer('kol-pagination', undefined, [
|
|
338
|
+
'_boundaryCount',
|
|
339
|
+
'_customClass',
|
|
340
|
+
'_hasButtons',
|
|
341
|
+
'_page',
|
|
342
|
+
'_pageSize',
|
|
343
|
+
'_pageSizeOptions',
|
|
344
|
+
'_on',
|
|
345
|
+
'_siblingCount',
|
|
346
|
+
'_tooltipAlign',
|
|
347
|
+
'_total',
|
|
348
|
+
'_variant'
|
|
349
|
+
]);
|
|
350
|
+
export const KolProgress = defineContainer('kol-progress', undefined, [
|
|
351
|
+
'_max',
|
|
352
|
+
'_type',
|
|
353
|
+
'_unit',
|
|
354
|
+
'_value'
|
|
355
|
+
]);
|
|
356
|
+
export const KolSelect = defineContainer('kol-select', undefined, [
|
|
357
|
+
'_accessKey',
|
|
358
|
+
'_alert',
|
|
359
|
+
'_disabled',
|
|
360
|
+
'_error',
|
|
361
|
+
'_height',
|
|
362
|
+
'_hideLabel',
|
|
363
|
+
'_hint',
|
|
364
|
+
'_icon',
|
|
365
|
+
'_id',
|
|
366
|
+
'_list',
|
|
367
|
+
'_multiple',
|
|
368
|
+
'_name',
|
|
369
|
+
'_on',
|
|
370
|
+
'_required',
|
|
371
|
+
'_size',
|
|
372
|
+
'_tabIndex',
|
|
373
|
+
'_touched',
|
|
374
|
+
'_value'
|
|
375
|
+
]);
|
|
376
|
+
export const KolSkipNav = defineContainer('kol-skip-nav', undefined, [
|
|
377
|
+
'_ariaLabel',
|
|
378
|
+
'_links'
|
|
379
|
+
]);
|
|
380
|
+
export const KolSpin = defineContainer('kol-spin', undefined, [
|
|
381
|
+
'_show'
|
|
382
|
+
]);
|
|
383
|
+
export const KolSymbol = defineContainer('kol-symbol', undefined, [
|
|
384
|
+
'_ariaLabel',
|
|
385
|
+
'_symbol'
|
|
386
|
+
]);
|
|
387
|
+
export const KolTable = defineContainer('kol-table', undefined, [
|
|
388
|
+
'_caption',
|
|
389
|
+
'_data',
|
|
390
|
+
'_headers',
|
|
391
|
+
'_minWidth',
|
|
392
|
+
'_pagination'
|
|
393
|
+
]);
|
|
394
|
+
export const KolTabs = defineContainer('kol-tabs', undefined, [
|
|
395
|
+
'_ariaLabel',
|
|
396
|
+
'_on',
|
|
397
|
+
'_selected',
|
|
398
|
+
'_tabs'
|
|
399
|
+
]);
|
|
400
|
+
export const KolTextarea = defineContainer('kol-textarea', undefined, [
|
|
401
|
+
'_accessKey',
|
|
402
|
+
'_alert',
|
|
403
|
+
'_hasCounter',
|
|
404
|
+
'_disabled',
|
|
405
|
+
'_error',
|
|
406
|
+
'_hideLabel',
|
|
407
|
+
'_hint',
|
|
408
|
+
'_id',
|
|
409
|
+
'_maxLength',
|
|
410
|
+
'_name',
|
|
411
|
+
'_on',
|
|
412
|
+
'_placeholder',
|
|
413
|
+
'_readOnly',
|
|
414
|
+
'_resize',
|
|
415
|
+
'_required',
|
|
416
|
+
'_rows',
|
|
417
|
+
'_tabIndex',
|
|
418
|
+
'_touched',
|
|
419
|
+
'_value'
|
|
420
|
+
]);
|
|
421
|
+
export const KolToast = defineContainer('kol-toast', undefined, [
|
|
422
|
+
'_alert',
|
|
423
|
+
'_hasCloser',
|
|
424
|
+
'_heading',
|
|
425
|
+
'_level',
|
|
426
|
+
'_on',
|
|
427
|
+
'_show',
|
|
428
|
+
'_showDuration',
|
|
429
|
+
'_type'
|
|
430
|
+
]);
|
|
431
|
+
export const KolTooltip = defineContainer('kol-tooltip', undefined, [
|
|
432
|
+
'_align',
|
|
433
|
+
'_id',
|
|
434
|
+
'_label'
|
|
435
|
+
]);
|
|
436
|
+
export const KolVersion = defineContainer('kol-version', undefined, [
|
|
437
|
+
'_version'
|
|
438
|
+
]);
|
|
439
|
+
//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAO5D,MAAM,CAAC,MAAM,OAAO,GAAiB,eAAe,CAAc,UAAU,EAAE,SAAS,EAAE;IACvF,eAAe;IACf,QAAQ;CACT,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,YAAY,GAAiB,eAAe,CAAmB,eAAe,EAAE,SAAS,EAAE;IACtG,UAAU;IACV,QAAQ;IACR,KAAK;IACL,OAAO;CACR,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,QAAQ,GAAiB,eAAe,CAAe,WAAW,EAAE,SAAS,EAAE;IAC1F,QAAQ;IACR,YAAY;IACZ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Y;IACZ,UAAU;IACV,QAAQ;IACR,KAAK;IACL,OAAO;IACP,eAAe;IACf,OAAO;CACR,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,UAAU,GAAiB,eAAe,CAAiB,aAAa,EAAE,SAAS,EAAE;IAChG,QAAQ;IACR,KAAK;IACL,QAAQ;CACT,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,UAAU,GAAiB,eAAe,CAAiB,aAAa,EAAE,SAAS,EAAE;IAChG,UAAU;CACX,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface InputProps<T> {
|
|
2
|
+
modelValue?: T;
|
|
3
|
+
}
|
|
4
|
+
export declare const defineContainer: <Props, VModelType = string | number | boolean>(name: string, defineCustomElement: any, componentProps?: string[], modelProp?: string, modelUpdateEvent?: string, externalModelUpdateEvent?: string) => import("vue").DefineComponent<Props & InputProps<VModelType>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<Props & InputProps<VModelType> extends infer T ? T extends Props & InputProps<VModelType> ? T extends import("vue").ComponentPropsOptions<{
|
|
5
|
+
[x: string]: unknown;
|
|
6
|
+
}> ? import("vue").ExtractPropTypes<T> : T : never : never>, import("vue").ExtractDefaultPropTypes<Props & InputProps<VModelType>>>;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { defineComponent, getCurrentInstance, h, inject, ref } from 'vue';
|
|
2
|
+
const UPDATE_VALUE_EVENT = 'update:modelValue';
|
|
3
|
+
const MODEL_VALUE = 'modelValue';
|
|
4
|
+
const ROUTER_LINK_VALUE = 'routerLink';
|
|
5
|
+
const NAV_MANAGER = 'navManager';
|
|
6
|
+
const ROUTER_PROP_PREFIX = 'router';
|
|
7
|
+
const EMPTY_PROP = Symbol();
|
|
8
|
+
const DEFAULT_EMPTY_PROP = { default: EMPTY_PROP };
|
|
9
|
+
const getComponentClasses = (classes) => {
|
|
10
|
+
return (classes === null || classes === void 0 ? void 0 : classes.split(' ')) || [];
|
|
11
|
+
};
|
|
12
|
+
const getElementClasses = (ref, componentClasses, defaultClasses = []) => {
|
|
13
|
+
var _a;
|
|
14
|
+
return [...Array.from(((_a = ref.value) === null || _a === void 0 ? void 0 : _a.classList) || []), ...defaultClasses]
|
|
15
|
+
.filter((c, i, self) => !componentClasses.has(c) && self.indexOf(c) === i);
|
|
16
|
+
};
|
|
17
|
+
export const defineContainer = (name, defineCustomElement, componentProps = [], modelProp, modelUpdateEvent, externalModelUpdateEvent) => {
|
|
18
|
+
if (defineCustomElement !== undefined) {
|
|
19
|
+
defineCustomElement();
|
|
20
|
+
}
|
|
21
|
+
const Container = defineComponent((props, { attrs, slots, emit }) => {
|
|
22
|
+
var _a;
|
|
23
|
+
let modelPropValue = props[modelProp];
|
|
24
|
+
const containerRef = ref();
|
|
25
|
+
const classes = new Set(getComponentClasses(attrs.class));
|
|
26
|
+
const onVnodeBeforeMount = (vnode) => {
|
|
27
|
+
if (vnode.el) {
|
|
28
|
+
const eventsNames = Array.isArray(modelUpdateEvent) ? modelUpdateEvent : [modelUpdateEvent];
|
|
29
|
+
eventsNames.forEach((eventName) => {
|
|
30
|
+
vnode.el.addEventListener(eventName.toLowerCase(), (e) => {
|
|
31
|
+
modelPropValue = (e === null || e === void 0 ? void 0 : e.target)[modelProp];
|
|
32
|
+
emit(UPDATE_VALUE_EVENT, modelPropValue);
|
|
33
|
+
if (externalModelUpdateEvent) {
|
|
34
|
+
emit(externalModelUpdateEvent, e);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
const currentInstance = getCurrentInstance();
|
|
41
|
+
const hasRouter = (_a = currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.appContext) === null || _a === void 0 ? void 0 : _a.provides[NAV_MANAGER];
|
|
42
|
+
const navManager = hasRouter ? inject(NAV_MANAGER) : undefined;
|
|
43
|
+
const handleRouterLink = (ev) => {
|
|
44
|
+
const { routerLink } = props;
|
|
45
|
+
if (routerLink === EMPTY_PROP)
|
|
46
|
+
return;
|
|
47
|
+
if (navManager !== undefined) {
|
|
48
|
+
let navigationPayload = { event: ev };
|
|
49
|
+
for (const key in props) {
|
|
50
|
+
const value = props[key];
|
|
51
|
+
if (props.hasOwnProperty(key) && key.startsWith(ROUTER_PROP_PREFIX) && value !== EMPTY_PROP) {
|
|
52
|
+
navigationPayload[key] = value;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
navManager.navigate(navigationPayload);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
console.warn('Tried to navigate, but no router was found. Make sure you have mounted Vue Router.');
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
return () => {
|
|
62
|
+
modelPropValue = props[modelProp];
|
|
63
|
+
getComponentClasses(attrs.class).forEach(value => {
|
|
64
|
+
classes.add(value);
|
|
65
|
+
});
|
|
66
|
+
const oldClick = props.onClick;
|
|
67
|
+
const handleClick = (ev) => {
|
|
68
|
+
if (oldClick !== undefined) {
|
|
69
|
+
oldClick(ev);
|
|
70
|
+
}
|
|
71
|
+
if (!ev.defaultPrevented) {
|
|
72
|
+
handleRouterLink(ev);
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
let propsToAdd = {
|
|
76
|
+
ref: containerRef,
|
|
77
|
+
class: getElementClasses(containerRef, classes),
|
|
78
|
+
onClick: handleClick,
|
|
79
|
+
onVnodeBeforeMount: (modelUpdateEvent) ? onVnodeBeforeMount : undefined
|
|
80
|
+
};
|
|
81
|
+
for (const key in props) {
|
|
82
|
+
const value = props[key];
|
|
83
|
+
if (props.hasOwnProperty(key) && value !== EMPTY_PROP) {
|
|
84
|
+
propsToAdd[key] = value;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if (modelProp) {
|
|
88
|
+
if (props[MODEL_VALUE] !== EMPTY_PROP) {
|
|
89
|
+
propsToAdd = Object.assign(Object.assign({}, propsToAdd), { [modelProp]: props[MODEL_VALUE] });
|
|
90
|
+
}
|
|
91
|
+
else if (modelPropValue !== EMPTY_PROP) {
|
|
92
|
+
propsToAdd = Object.assign(Object.assign({}, propsToAdd), { [modelProp]: modelPropValue });
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return h(name, propsToAdd, slots.default && slots.default());
|
|
96
|
+
};
|
|
97
|
+
});
|
|
98
|
+
Container.displayName = name;
|
|
99
|
+
Container.props = {
|
|
100
|
+
[ROUTER_LINK_VALUE]: DEFAULT_EMPTY_PROP
|
|
101
|
+
};
|
|
102
|
+
componentProps.forEach(componentProp => {
|
|
103
|
+
Container.props[componentProp] = DEFAULT_EMPTY_PROP;
|
|
104
|
+
});
|
|
105
|
+
if (modelProp) {
|
|
106
|
+
Container.props[MODEL_VALUE] = DEFAULT_EMPTY_PROP;
|
|
107
|
+
Container.emits = [UPDATE_VALUE_EVENT, externalModelUpdateEvent];
|
|
108
|
+
}
|
|
109
|
+
return Container;
|
|
110
|
+
};
|
|
111
|
+
//# sourceMappingURL=utils.js.map
|