@heartlandone/vega-vue 1.20.3 → 1.22.0

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.
@@ -0,0 +1,51 @@
1
+ import type { JSX } from '@heartlandone/vega';
2
+ export declare const VegaAccordion: import("vue").DefineComponent<JSX.VegaAccordion & import("./vue-component-lib/utils").InputProps, 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.VegaAccordion & import("./vue-component-lib/utils").InputProps>, {}>;
3
+ export declare const VegaAppFooter: import("vue").DefineComponent<JSX.VegaAppFooter & import("./vue-component-lib/utils").InputProps, 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.VegaAppFooter & import("./vue-component-lib/utils").InputProps>, {}>;
4
+ export declare const VegaAppHeaderButton: import("vue").DefineComponent<JSX.VegaAppHeaderButton & import("./vue-component-lib/utils").InputProps, 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.VegaAppHeaderButton & import("./vue-component-lib/utils").InputProps>, {}>;
5
+ export declare const VegaBadge: import("vue").DefineComponent<JSX.VegaBadge & import("./vue-component-lib/utils").InputProps, 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.VegaBadge & import("./vue-component-lib/utils").InputProps>, {}>;
6
+ export declare const VegaBanner: import("vue").DefineComponent<JSX.VegaBanner & import("./vue-component-lib/utils").InputProps, 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.VegaBanner & import("./vue-component-lib/utils").InputProps>, {}>;
7
+ export declare const VegaButton: import("vue").DefineComponent<JSX.VegaButton & import("./vue-component-lib/utils").InputProps, 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.VegaButton & import("./vue-component-lib/utils").InputProps>, {}>;
8
+ export declare const VegaButtonCircle: import("vue").DefineComponent<JSX.VegaButtonCircle & import("./vue-component-lib/utils").InputProps, 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.VegaButtonCircle & import("./vue-component-lib/utils").InputProps>, {}>;
9
+ export declare const VegaButtonLink: import("vue").DefineComponent<JSX.VegaButtonLink & import("./vue-component-lib/utils").InputProps, 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.VegaButtonLink & import("./vue-component-lib/utils").InputProps>, {}>;
10
+ export declare const VegaCard: import("vue").DefineComponent<JSX.VegaCard & import("./vue-component-lib/utils").InputProps, 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.VegaCard & import("./vue-component-lib/utils").InputProps>, {}>;
11
+ export declare const VegaCarousel: import("vue").DefineComponent<JSX.VegaCarousel & import("./vue-component-lib/utils").InputProps, 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.VegaCarousel & import("./vue-component-lib/utils").InputProps>, {}>;
12
+ export declare const VegaCheckbox: import("vue").DefineComponent<JSX.VegaCheckbox & import("./vue-component-lib/utils").InputProps, 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.VegaCheckbox & import("./vue-component-lib/utils").InputProps>, {}>;
13
+ export declare const VegaCheckboxGroup: import("vue").DefineComponent<JSX.VegaCheckboxGroup & import("./vue-component-lib/utils").InputProps, 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.VegaCheckboxGroup & import("./vue-component-lib/utils").InputProps>, {}>;
14
+ export declare const VegaChip: import("vue").DefineComponent<JSX.VegaChip & import("./vue-component-lib/utils").InputProps, 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.VegaChip & import("./vue-component-lib/utils").InputProps>, {}>;
15
+ export declare const VegaColorPicker: import("vue").DefineComponent<JSX.VegaColorPicker & import("./vue-component-lib/utils").InputProps, 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.VegaColorPicker & import("./vue-component-lib/utils").InputProps>, {}>;
16
+ export declare const VegaComboBox: import("vue").DefineComponent<JSX.VegaComboBox & import("./vue-component-lib/utils").InputProps, 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.VegaComboBox & import("./vue-component-lib/utils").InputProps>, {}>;
17
+ export declare const VegaCounterBadge: import("vue").DefineComponent<JSX.VegaCounterBadge & import("./vue-component-lib/utils").InputProps, 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.VegaCounterBadge & import("./vue-component-lib/utils").InputProps>, {}>;
18
+ export declare const VegaDatePicker: import("vue").DefineComponent<JSX.VegaDatePicker & import("./vue-component-lib/utils").InputProps, 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.VegaDatePicker & import("./vue-component-lib/utils").InputProps>, {}>;
19
+ export declare const VegaDropdown: import("vue").DefineComponent<JSX.VegaDropdown & import("./vue-component-lib/utils").InputProps, 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.VegaDropdown & import("./vue-component-lib/utils").InputProps>, {}>;
20
+ export declare const VegaFieldLabel: import("vue").DefineComponent<JSX.VegaFieldLabel & import("./vue-component-lib/utils").InputProps, 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.VegaFieldLabel & import("./vue-component-lib/utils").InputProps>, {}>;
21
+ export declare const VegaFlex: import("vue").DefineComponent<JSX.VegaFlex & import("./vue-component-lib/utils").InputProps, 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.VegaFlex & import("./vue-component-lib/utils").InputProps>, {}>;
22
+ export declare const VegaFooter: import("vue").DefineComponent<JSX.VegaFooter & import("./vue-component-lib/utils").InputProps, 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.VegaFooter & import("./vue-component-lib/utils").InputProps>, {}>;
23
+ export declare const VegaForm: import("vue").DefineComponent<JSX.VegaForm & import("./vue-component-lib/utils").InputProps, 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.VegaForm & import("./vue-component-lib/utils").InputProps>, {}>;
24
+ export declare const VegaGrid: import("vue").DefineComponent<JSX.VegaGrid & import("./vue-component-lib/utils").InputProps, 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.VegaGrid & import("./vue-component-lib/utils").InputProps>, {}>;
25
+ export declare const VegaHeader: import("vue").DefineComponent<JSX.VegaHeader & import("./vue-component-lib/utils").InputProps, 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.VegaHeader & import("./vue-component-lib/utils").InputProps>, {}>;
26
+ export declare const VegaIcon: import("vue").DefineComponent<JSX.VegaIcon & import("./vue-component-lib/utils").InputProps, 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.VegaIcon & import("./vue-component-lib/utils").InputProps>, {}>;
27
+ export declare const VegaImageUploader: import("vue").DefineComponent<JSX.VegaImageUploader & import("./vue-component-lib/utils").InputProps, 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.VegaImageUploader & import("./vue-component-lib/utils").InputProps>, {}>;
28
+ export declare const VegaInput: import("vue").DefineComponent<JSX.VegaInput & import("./vue-component-lib/utils").InputProps, 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.VegaInput & import("./vue-component-lib/utils").InputProps>, {}>;
29
+ export declare const VegaInputSelect: import("vue").DefineComponent<JSX.VegaInputSelect & import("./vue-component-lib/utils").InputProps, 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.VegaInputSelect & import("./vue-component-lib/utils").InputProps>, {}>;
30
+ export declare const VegaItemToggle: import("vue").DefineComponent<JSX.VegaItemToggle & import("./vue-component-lib/utils").InputProps, 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.VegaItemToggle & import("./vue-component-lib/utils").InputProps>, {}>;
31
+ export declare const VegaLoadingIndicator: import("vue").DefineComponent<JSX.VegaLoadingIndicator & import("./vue-component-lib/utils").InputProps, 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.VegaLoadingIndicator & import("./vue-component-lib/utils").InputProps>, {}>;
32
+ export declare const VegaModal: import("vue").DefineComponent<JSX.VegaModal & import("./vue-component-lib/utils").InputProps, 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.VegaModal & import("./vue-component-lib/utils").InputProps>, {}>;
33
+ export declare const VegaOption: import("vue").DefineComponent<JSX.VegaOption & import("./vue-component-lib/utils").InputProps, 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.VegaOption & import("./vue-component-lib/utils").InputProps>, {}>;
34
+ export declare const VegaPageNotification: import("vue").DefineComponent<JSX.VegaPageNotification & import("./vue-component-lib/utils").InputProps, 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.VegaPageNotification & import("./vue-component-lib/utils").InputProps>, {}>;
35
+ export declare const VegaPagination: import("vue").DefineComponent<JSX.VegaPagination & import("./vue-component-lib/utils").InputProps, 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.VegaPagination & import("./vue-component-lib/utils").InputProps>, {}>;
36
+ export declare const VegaPopover: import("vue").DefineComponent<JSX.VegaPopover & import("./vue-component-lib/utils").InputProps, 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.VegaPopover & import("./vue-component-lib/utils").InputProps>, {}>;
37
+ export declare const VegaProgressTracker: import("vue").DefineComponent<JSX.VegaProgressTracker & import("./vue-component-lib/utils").InputProps, 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.VegaProgressTracker & import("./vue-component-lib/utils").InputProps>, {}>;
38
+ export declare const VegaRadio: import("vue").DefineComponent<JSX.VegaRadio & import("./vue-component-lib/utils").InputProps, 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.VegaRadio & import("./vue-component-lib/utils").InputProps>, {}>;
39
+ export declare const VegaRadioGroup: import("vue").DefineComponent<JSX.VegaRadioGroup & import("./vue-component-lib/utils").InputProps, 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.VegaRadioGroup & import("./vue-component-lib/utils").InputProps>, {}>;
40
+ export declare const VegaSidenav: import("vue").DefineComponent<JSX.VegaSidenav & import("./vue-component-lib/utils").InputProps, 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.VegaSidenav & import("./vue-component-lib/utils").InputProps>, {}>;
41
+ export declare const VegaSidenavGroup: import("vue").DefineComponent<JSX.VegaSidenavGroup & import("./vue-component-lib/utils").InputProps, 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.VegaSidenavGroup & import("./vue-component-lib/utils").InputProps>, {}>;
42
+ export declare const VegaSidenavLink: import("vue").DefineComponent<JSX.VegaSidenavLink & import("./vue-component-lib/utils").InputProps, 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.VegaSidenavLink & import("./vue-component-lib/utils").InputProps>, {}>;
43
+ export declare const VegaStepper: import("vue").DefineComponent<JSX.VegaStepper & import("./vue-component-lib/utils").InputProps, 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.VegaStepper & import("./vue-component-lib/utils").InputProps>, {}>;
44
+ export declare const VegaTabGroup: import("vue").DefineComponent<JSX.VegaTabGroup & import("./vue-component-lib/utils").InputProps, 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.VegaTabGroup & import("./vue-component-lib/utils").InputProps>, {}>;
45
+ export declare const VegaTable: import("vue").DefineComponent<JSX.VegaTable & import("./vue-component-lib/utils").InputProps, 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.VegaTable & import("./vue-component-lib/utils").InputProps>, {}>;
46
+ export declare const VegaText: import("vue").DefineComponent<JSX.VegaText & import("./vue-component-lib/utils").InputProps, 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.VegaText & import("./vue-component-lib/utils").InputProps>, {}>;
47
+ export declare const VegaTextarea: import("vue").DefineComponent<JSX.VegaTextarea & import("./vue-component-lib/utils").InputProps, 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.VegaTextarea & import("./vue-component-lib/utils").InputProps>, {}>;
48
+ export declare const VegaTimePicker: import("vue").DefineComponent<JSX.VegaTimePicker & import("./vue-component-lib/utils").InputProps, 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.VegaTimePicker & import("./vue-component-lib/utils").InputProps>, {}>;
49
+ export declare const VegaToggleSwitch: import("vue").DefineComponent<JSX.VegaToggleSwitch & import("./vue-component-lib/utils").InputProps, 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.VegaToggleSwitch & import("./vue-component-lib/utils").InputProps>, {}>;
50
+ export declare const VegaTooltip: import("vue").DefineComponent<JSX.VegaTooltip & import("./vue-component-lib/utils").InputProps, 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.VegaTooltip & import("./vue-component-lib/utils").InputProps>, {}>;
51
+ export declare const VegaVirtualScroll: import("vue").DefineComponent<JSX.VegaVirtualScroll & import("./vue-component-lib/utils").InputProps, 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.VegaVirtualScroll & import("./vue-component-lib/utils").InputProps>, {}>;
@@ -0,0 +1,516 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+ /* auto-generated vue proxies */
4
+ import { defineContainer } from './vue-component-lib/utils';
5
+ export const VegaAccordion = /*@__PURE__*/ defineContainer('vega-accordion', undefined, [
6
+ 'drawsBackground',
7
+ 'prefixIcon',
8
+ 'accordionTitle',
9
+ 'expandIconAlign',
10
+ 'expand',
11
+ 'iconPosition',
12
+ 'showExpandIcon',
13
+ 'groupId',
14
+ 'vegaExpand'
15
+ ]);
16
+ export const VegaAppFooter = /*@__PURE__*/ defineContainer('vega-app-footer', undefined, [
17
+ 'content',
18
+ 'termOfUseLabel',
19
+ 'termOfUseUrl',
20
+ 'privacyPolicyLabel',
21
+ 'privacyPolicyUrl',
22
+ 'additionalLinks',
23
+ 'showDisclaimer'
24
+ ]);
25
+ export const VegaAppHeaderButton = /*@__PURE__*/ defineContainer('vega-app-header-button', undefined, [
26
+ 'dropdown',
27
+ 'size',
28
+ 'label',
29
+ 'showLabel',
30
+ 'avatar',
31
+ 'avatarPosition',
32
+ 'showBorder',
33
+ 'showMenuArrowIcon',
34
+ 'selected',
35
+ 'vegaClick'
36
+ ]);
37
+ export const VegaBadge = /*@__PURE__*/ defineContainer('vega-badge', undefined, [
38
+ 'bgColor',
39
+ 'textColor',
40
+ 'text',
41
+ 'size'
42
+ ]);
43
+ export const VegaBanner = /*@__PURE__*/ defineContainer('vega-banner', undefined, [
44
+ 'source',
45
+ 'mode',
46
+ 'vegaClose',
47
+ 'vegaLoad',
48
+ 'vegaClickCOA'
49
+ ]);
50
+ export const VegaButton = /*@__PURE__*/ defineContainer('vega-button', undefined, [
51
+ 'size',
52
+ 'variant',
53
+ 'icon',
54
+ 'iconAlign',
55
+ 'label',
56
+ 'disabled',
57
+ 'danger',
58
+ 'block',
59
+ 'type',
60
+ 'vegaClick'
61
+ ]);
62
+ export const VegaButtonCircle = /*@__PURE__*/ defineContainer('vega-button-circle', undefined, [
63
+ 'size',
64
+ 'variant',
65
+ 'icon',
66
+ 'label',
67
+ 'disabled',
68
+ 'danger',
69
+ 'type',
70
+ 'vegaClick'
71
+ ]);
72
+ export const VegaButtonLink = /*@__PURE__*/ defineContainer('vega-button-link', undefined, [
73
+ 'link',
74
+ 'size',
75
+ 'icon',
76
+ 'iconType',
77
+ 'iconAlign',
78
+ 'label',
79
+ 'disabled',
80
+ 'danger',
81
+ 'eventful',
82
+ 'vegaClick'
83
+ ]);
84
+ export const VegaCard = /*@__PURE__*/ defineContainer('vega-card', undefined, [
85
+ 'padding',
86
+ 'margin',
87
+ 'shadow',
88
+ 'backgroundColor'
89
+ ]);
90
+ export const VegaCarousel = /*@__PURE__*/ defineContainer('vega-carousel', undefined, [
91
+ 'perPage',
92
+ 'showSlider',
93
+ 'spacing',
94
+ 'canSwipe',
95
+ 'vegaPageUpdate'
96
+ ]);
97
+ export const VegaCheckbox = /*@__PURE__*/ defineContainer('vega-checkbox', undefined, [
98
+ 'identifier',
99
+ 'value',
100
+ 'checked',
101
+ 'disabled',
102
+ 'size',
103
+ 'required',
104
+ 'isValid',
105
+ 'vegaValidate',
106
+ 'vegaChange'
107
+ ]);
108
+ export const VegaCheckboxGroup = /*@__PURE__*/ defineContainer('vega-checkbox-group', undefined, [
109
+ 'label',
110
+ 'value',
111
+ 'vegaFlexProp',
112
+ 'disabled',
113
+ 'required',
114
+ 'hint',
115
+ 'formValidation',
116
+ 'isValid',
117
+ 'vegaChange',
118
+ 'vegaValidate'
119
+ ]);
120
+ export const VegaChip = /*@__PURE__*/ defineContainer('vega-chip', undefined, [
121
+ 'text',
122
+ 'clickable',
123
+ 'variant',
124
+ 'size',
125
+ 'bgColor',
126
+ 'textColor',
127
+ 'statusColor',
128
+ 'chipType',
129
+ 'showCloseIcon',
130
+ 'icon',
131
+ 'iconAlign',
132
+ 'vegaClose',
133
+ 'vegaClick'
134
+ ]);
135
+ export const VegaColorPicker = /*@__PURE__*/ defineContainer('vega-color-picker', undefined, [
136
+ 'value',
137
+ 'hint',
138
+ 'disabled',
139
+ 'required',
140
+ 'label',
141
+ 'isValid',
142
+ 'autoValidation',
143
+ 'validationRules',
144
+ 'colors',
145
+ 'vegaChange',
146
+ 'vegaValidate'
147
+ ]);
148
+ export const VegaComboBox = /*@__PURE__*/ defineContainer('vega-combo-box', undefined, [
149
+ 'label',
150
+ 'required',
151
+ 'source',
152
+ 'value',
153
+ 'isValid',
154
+ 'autoValidation',
155
+ 'validationRules',
156
+ 'disabled',
157
+ 'placeholder',
158
+ 'hint',
159
+ 'size',
160
+ 'vegaDropdownProps',
161
+ 'vegaChange',
162
+ 'vegaValidate',
163
+ 'vegaCreate'
164
+ ]);
165
+ export const VegaCounterBadge = /*@__PURE__*/ defineContainer('vega-counter-badge', undefined, [
166
+ 'dot',
167
+ 'color',
168
+ 'count',
169
+ 'offset'
170
+ ]);
171
+ export const VegaDatePicker = /*@__PURE__*/ defineContainer('vega-date-picker', undefined, [
172
+ 'mode',
173
+ 'value',
174
+ 'label',
175
+ 'required',
176
+ 'isValid',
177
+ 'autoValidation',
178
+ 'format',
179
+ 'size',
180
+ 'formValidation',
181
+ 'validationRules',
182
+ 'minDate',
183
+ 'maxDate',
184
+ 'placeholder',
185
+ 'clearButton',
186
+ 'readOnly',
187
+ 'allowRepick',
188
+ 'dropdownConfig',
189
+ 'disabled',
190
+ 'vegaChange',
191
+ 'vegaValidate'
192
+ ]);
193
+ export const VegaDropdown = /*@__PURE__*/ defineContainer('vega-dropdown', undefined, [
194
+ 'size',
195
+ 'trigger',
196
+ 'translocation',
197
+ 'source',
198
+ 'positionRelativeTo',
199
+ 'selectType',
200
+ 'selectedSourceKey',
201
+ 'maxHeight',
202
+ 'searchable',
203
+ 'matchTargetWidth',
204
+ 'minWidth',
205
+ 'maxWidth',
206
+ 'itemDisplayRule',
207
+ 'matchContainerHeight',
208
+ 'caseSensitive',
209
+ 'dynamicOption',
210
+ 'vegaClick',
211
+ 'vegaDropdownClick',
212
+ 'vegaShow',
213
+ 'vegaHide',
214
+ 'vegaCreate'
215
+ ]);
216
+ export const VegaFieldLabel = /*@__PURE__*/ defineContainer('vega-field-label', undefined, [
217
+ 'label',
218
+ 'isFieldRequired',
219
+ 'disabled'
220
+ ]);
221
+ export const VegaFlex = /*@__PURE__*/ defineContainer('vega-flex', undefined, [
222
+ 'gap',
223
+ 'margin',
224
+ 'breakpoint',
225
+ 'direction',
226
+ 'alignItem',
227
+ 'justifyContent',
228
+ 'useNativeFlex'
229
+ ]);
230
+ export const VegaFooter = /*@__PURE__*/ defineContainer('vega-footer', undefined, [
231
+ 'tosUrl',
232
+ 'privacyUrl'
233
+ ]);
234
+ export const VegaForm = /*@__PURE__*/ defineContainer('vega-form', undefined, [
235
+ 'isValid',
236
+ 'isTouched',
237
+ 'vegaValidate'
238
+ ]);
239
+ export const VegaGrid = /*@__PURE__*/ defineContainer('vega-grid', undefined, [
240
+ 'column',
241
+ 'row',
242
+ 'gap'
243
+ ]);
244
+ export const VegaHeader = /*@__PURE__*/ defineContainer('vega-header', undefined);
245
+ export const VegaIcon = /*@__PURE__*/ defineContainer('vega-icon', undefined, [
246
+ 'icon',
247
+ 'size'
248
+ ]);
249
+ export const VegaImageUploader = /*@__PURE__*/ defineContainer('vega-image-uploader', undefined, [
250
+ 'value',
251
+ 'accept',
252
+ 'status',
253
+ 'showPreviewButton',
254
+ 'showRemoveButton',
255
+ 'disabled',
256
+ 'required',
257
+ 'isValid',
258
+ 'autoValidation',
259
+ 'validationRules',
260
+ 'vegaChange',
261
+ 'vegaRemove',
262
+ 'vegaCancel',
263
+ 'vegaValidate'
264
+ ]);
265
+ export const VegaInput = /*@__PURE__*/ defineContainer('vega-input', undefined, [
266
+ 'label',
267
+ 'value',
268
+ 'type',
269
+ 'autocomplete',
270
+ 'prefixIcon',
271
+ 'email',
272
+ 'required',
273
+ 'min',
274
+ 'max',
275
+ 'minLength',
276
+ 'maxLength',
277
+ 'showClearIcon',
278
+ 'isValid',
279
+ 'autoValidation',
280
+ 'formValidation',
281
+ 'validationRules',
282
+ 'size',
283
+ 'placeholder',
284
+ 'disabled',
285
+ 'hint',
286
+ 'maskConfig',
287
+ 'vegaChange',
288
+ 'vegaValidate',
289
+ 'vegaBlur',
290
+ 'vegaFocus'
291
+ ], 'value', 'vegaChange', 'on-change');
292
+ export const VegaInputSelect = /*@__PURE__*/ defineContainer('vega-input-select', undefined, [
293
+ 'label',
294
+ 'required',
295
+ 'source',
296
+ 'value',
297
+ 'isValid',
298
+ 'autoValidation',
299
+ 'formValidation',
300
+ 'validationRules',
301
+ 'prefixIcon',
302
+ 'disabled',
303
+ 'placeholder',
304
+ 'hint',
305
+ 'vegaDropdownProps',
306
+ 'size',
307
+ 'vegaChange',
308
+ 'vegaValidate'
309
+ ], 'value', 'vegaChange', 'on-change');
310
+ export const VegaItemToggle = /*@__PURE__*/ defineContainer('vega-item-toggle', undefined, [
311
+ 'itemToggleStatusMap',
312
+ 'isToggled',
313
+ 'isError',
314
+ 'vegaToggleStatus'
315
+ ]);
316
+ export const VegaLoadingIndicator = /*@__PURE__*/ defineContainer('vega-loading-indicator', undefined, [
317
+ 'shape',
318
+ 'size',
319
+ 'mode',
320
+ 'percent',
321
+ 'label',
322
+ 'hint',
323
+ 'status'
324
+ ]);
325
+ export const VegaModal = /*@__PURE__*/ defineContainer('vega-modal', undefined, [
326
+ 'backdrop',
327
+ 'size',
328
+ 'open',
329
+ 'animation',
330
+ 'modalTitle',
331
+ 'backdropColor',
332
+ 'isVerticallyCenter',
333
+ 'showCloseButton',
334
+ 'padding',
335
+ 'contentMaxHeight',
336
+ 'handleClose',
337
+ 'vegaClose',
338
+ 'vegaOpen'
339
+ ]);
340
+ export const VegaOption = /*@__PURE__*/ defineContainer('vega-option', undefined, [
341
+ 'label',
342
+ 'subLabel',
343
+ 'icon'
344
+ ]);
345
+ export const VegaPageNotification = /*@__PURE__*/ defineContainer('vega-page-notification', undefined, [
346
+ 'notificationTitle',
347
+ 'message',
348
+ 'type',
349
+ 'duration',
350
+ 'showCloseButton',
351
+ 'actionButtons'
352
+ ]);
353
+ export const VegaPagination = /*@__PURE__*/ defineContainer('vega-pagination', undefined, [
354
+ 'current',
355
+ 'total',
356
+ 'pageSize',
357
+ 'vegaChange'
358
+ ]);
359
+ export const VegaPopover = /*@__PURE__*/ defineContainer('vega-popover', undefined, [
360
+ 'size',
361
+ 'placement',
362
+ 'alignment',
363
+ 'positionRelativeTo',
364
+ 'vegaPopoverShow',
365
+ 'vegaPopoverHide'
366
+ ]);
367
+ export const VegaProgressTracker = /*@__PURE__*/ defineContainer('vega-progress-tracker', undefined, [
368
+ 'current',
369
+ 'direction',
370
+ 'steps',
371
+ 'completedStepArray',
372
+ 'canClickStep',
373
+ 'vegaCurrentStepUpdate'
374
+ ]);
375
+ export const VegaRadio = /*@__PURE__*/ defineContainer('vega-radio', undefined, [
376
+ 'value',
377
+ 'name',
378
+ 'checked',
379
+ 'disabled',
380
+ 'size',
381
+ 'vegaFocus',
382
+ 'vegaBlur',
383
+ 'vegaChange'
384
+ ]);
385
+ export const VegaRadioGroup = /*@__PURE__*/ defineContainer('vega-radio-group', undefined, [
386
+ 'label',
387
+ 'value',
388
+ 'name',
389
+ 'vegaFlexProp',
390
+ 'required',
391
+ 'hint',
392
+ 'formValidation',
393
+ 'isValid',
394
+ 'disabled',
395
+ 'vegaChange',
396
+ 'vegaValidate'
397
+ ]);
398
+ export const VegaSidenav = /*@__PURE__*/ defineContainer('vega-sidenav', undefined, [
399
+ 'source',
400
+ 'footnote',
401
+ 'headerConfig',
402
+ 'openByDefault',
403
+ 'vegaStateUpdate'
404
+ ]);
405
+ export const VegaSidenavGroup = /*@__PURE__*/ defineContainer('vega-sidenav-group', undefined, [
406
+ 'icon',
407
+ 'label'
408
+ ]);
409
+ export const VegaSidenavLink = /*@__PURE__*/ defineContainer('vega-sidenav-link', undefined, [
410
+ 'icon',
411
+ 'selected',
412
+ 'url',
413
+ 'showSideBarOnClickLink',
414
+ 'vegaClick'
415
+ ]);
416
+ export const VegaStepper = /*@__PURE__*/ defineContainer('vega-stepper', undefined, [
417
+ 'stepperId',
418
+ 'max',
419
+ 'min',
420
+ 'value',
421
+ 'label',
422
+ 'inputEditable',
423
+ 'disabled',
424
+ 'isValid',
425
+ 'formValidation',
426
+ 'autoValidation',
427
+ 'buttonVariant',
428
+ 'vegaChange',
429
+ 'vegaValidate'
430
+ ]);
431
+ export const VegaTabGroup = /*@__PURE__*/ defineContainer('vega-tab-group', undefined, [
432
+ 'selectedTabDataTarget',
433
+ 'gap',
434
+ 'showCloseButton',
435
+ 'tabItems',
436
+ 'positionRelativeTo',
437
+ 'vegaClick'
438
+ ]);
439
+ export const VegaTable = /*@__PURE__*/ defineContainer('vega-table', undefined, [
440
+ 'columns',
441
+ 'dataSource',
442
+ 'rowSelection',
443
+ 'rowExpandable',
444
+ 'rowClickable',
445
+ 'rowDivider',
446
+ 'columnDivider',
447
+ 'striped',
448
+ 'density',
449
+ 'paddingX',
450
+ 'showHeader',
451
+ 'pagination',
452
+ 'emptyDescription',
453
+ 'rowKey',
454
+ 'vegaChange',
455
+ 'vegaRowClick',
456
+ 'vegaSelectChange',
457
+ 'vegaSelectAllChange'
458
+ ]);
459
+ export const VegaText = /*@__PURE__*/ defineContainer('vega-text', undefined, [
460
+ 'overflow'
461
+ ]);
462
+ export const VegaTextarea = /*@__PURE__*/ defineContainer('vega-textarea', undefined, [
463
+ 'placeholder',
464
+ 'hint',
465
+ 'disabled',
466
+ 'label',
467
+ 'showCounter',
468
+ 'value',
469
+ 'isValid',
470
+ 'autoValidation',
471
+ 'required',
472
+ 'maxLength',
473
+ 'minLength',
474
+ 'validationRules',
475
+ 'vegaChange',
476
+ 'vegaValidate',
477
+ 'vegaBlur'
478
+ ]);
479
+ export const VegaTimePicker = /*@__PURE__*/ defineContainer('vega-time-picker', undefined, [
480
+ 'label',
481
+ 'required',
482
+ 'placeholder',
483
+ 'increments',
484
+ 'timeFormat',
485
+ 'value',
486
+ 'size',
487
+ 'disabled',
488
+ 'isValid',
489
+ 'autoValidation',
490
+ 'validationRules',
491
+ 'positionRelativeTo',
492
+ 'vegaChange',
493
+ 'vegaValidate'
494
+ ]);
495
+ export const VegaToggleSwitch = /*@__PURE__*/ defineContainer('vega-toggle-switch', undefined, [
496
+ 'checked',
497
+ 'size',
498
+ 'label',
499
+ 'disabled',
500
+ 'vegaChange'
501
+ ]);
502
+ export const VegaTooltip = /*@__PURE__*/ defineContainer('vega-tooltip', undefined, [
503
+ 'size',
504
+ 'trigger',
505
+ 'content',
506
+ 'placement',
507
+ 'positionRelativeTo'
508
+ ]);
509
+ export const VegaVirtualScroll = /*@__PURE__*/ defineContainer('vega-virtual-scroll', undefined, [
510
+ 'source',
511
+ 'approxItemHeight',
512
+ 'viewportMaxHeight',
513
+ 'thresholdOfWork',
514
+ 'renderItem'
515
+ ]);
516
+ //# sourceMappingURL=components.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],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IACnH,SAAS;IACT,MAAM;IACN,OAAO;IACP,UAAU;IACV,YAAY;CACb,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,eAAe,CAAkB,cAAc,EAAE,SAAS,EAAE;IACnG,MAAM;IACN,SAAS;IACT,SAAS;IACT,WAAW;IACX,oBAAoB;CACrB,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,eAAe,CAAwB,qBAAqB,EAAE,SAAS,EAAE;IACtH,QAAQ;IACR,kBAAkB;IAClB,mBAAmB;IACnB,iBAAiB;IACjB,YAAY;CACb,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './components';
2
+ export * from './plugin';
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export * from './components';
2
+ export * from './plugin';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { Plugin } from 'vue';
2
+ export declare const VegaComponentLibrary: Plugin;
package/dist/plugin.js ADDED
@@ -0,0 +1,26 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ import { applyPolyfills, defineCustomElements } from '@heartlandone/vega/loader';
11
+ export const VegaComponentLibrary = {
12
+ install() {
13
+ return __awaiter(this, void 0, void 0, function* () {
14
+ applyPolyfills().then(() => {
15
+ defineCustomElements(null, {
16
+ // We have to convert the camelCase custom event name defined in vega into lowercase one due to the Vue3 event naming restriction
17
+ // for more details, see: https://github.com/ionic-team/stencil/issues/2804
18
+ ce: (eventName, opts) => new CustomEvent(eventName.toLowerCase(), opts),
19
+ ael: (el, eventName, cb, opts) => el.addEventListener(eventName.toLowerCase(), cb, opts),
20
+ rel: (el, eventName, cb, opts) => el.removeEventListener(eventName.toLowerCase(), cb, opts),
21
+ }).then();
22
+ });
23
+ });
24
+ },
25
+ };
26
+ //# sourceMappingURL=plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjF,MAAM,CAAC,MAAM,oBAAoB,GAAW;IAClC,OAAO;;YACT,cAAc,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvB,oBAAoB,CAAC,IAAI,EAAE;oBACvB,iIAAiI;oBACjI,2EAA2E;oBAC3E,EAAE,EAAE,CAAC,SAAiB,EAAE,IAAS,EAAE,EAAE,CAAC,IAAI,WAAW,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE,IAAI,CAAC;oBACpF,GAAG,EAAE,CAAC,EAAO,EAAE,SAAiB,EAAE,EAAO,EAAE,IAAS,EAAE,EAAE,CAAC,EAAE,CAAC,gBAAgB,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC;oBAC/G,GAAG,EAAE,CAAC,EAAO,EAAE,SAAiB,EAAE,EAAO,EAAE,IAAS,EAAE,EAAE,CAAC,EAAE,CAAC,mBAAmB,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC;iBAC9G,CAAC,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC,CAAC,CAAC;QACP,CAAC;KAAA;CACJ,CAAC"}
@@ -0,0 +1,22 @@
1
+ export interface InputProps extends Object {
2
+ modelValue?: string | boolean;
3
+ }
4
+ /**
5
+ * Create a callback to define a Vue component wrapper around a Web Component.
6
+ *
7
+ * @prop name - The component tag name (i.e. `ion-button`)
8
+ * @prop componentProps - An array of properties on the
9
+ * component. These usually match up with the @Prop definitions
10
+ * in each component's TSX file.
11
+ * @prop customElement - An option custom element instance to pass
12
+ * to customElements.define. Only set if `includeImportCustomElements: true` in your config.
13
+ * @prop modelProp - The prop that v-model binds to (i.e. value)
14
+ * @prop modelUpdateEvent - The event that is fired from your Web Component when the value changes (i.e. ionChange)
15
+ * @prop externalModelUpdateEvent - The external event to fire from your Vue component when modelUpdateEvent fires. This is used for ensuring that v-model references have been
16
+ * correctly updated when a user's event callback fires.
17
+ */
18
+ export declare const defineContainer: <Props>(name: string, defineCustomElement: any, componentProps?: string[], modelProp?: string, modelUpdateEvent?: string, externalModelUpdateEvent?: string) => import("vue").DefineComponent<Props & InputProps, 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 extends import("vue").ComponentPropsOptions<{
19
+ [x: string]: unknown;
20
+ }> ? import("vue").ExtractPropTypes<import("vue").ComponentPropsOptions<{
21
+ [x: string]: unknown;
22
+ }> & Props & InputProps> : Props & InputProps>, import("vue").ExtractDefaultPropTypes<Props & InputProps>>;
@@ -0,0 +1,161 @@
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
+ /**
8
+ * Starting in Vue 3.1.0, all properties are
9
+ * added as keys to the props object, even if
10
+ * they are not being used. In order to correctly
11
+ * account for both value props and v-model props,
12
+ * we need to check if the key exists for Vue <3.1.0
13
+ * and then check if it is not undefined for Vue >= 3.1.0.
14
+ * See https://github.com/vuejs/vue-next/issues/3889
15
+ */
16
+ const EMPTY_PROP = Symbol();
17
+ const DEFAULT_EMPTY_PROP = { default: EMPTY_PROP };
18
+ const getComponentClasses = (classes) => {
19
+ var _a;
20
+ return ((_a = classes) === null || _a === void 0 ? void 0 : _a.split(' ')) || [];
21
+ };
22
+ const getElementClasses = (ref, componentClasses, defaultClasses = []) => {
23
+ var _a;
24
+ return [...Array.from(((_a = ref.value) === null || _a === void 0 ? void 0 : _a.classList) || []), ...defaultClasses]
25
+ .filter((c, i, self) => !componentClasses.has(c) && self.indexOf(c) === i);
26
+ };
27
+ /**
28
+ * Create a callback to define a Vue component wrapper around a Web Component.
29
+ *
30
+ * @prop name - The component tag name (i.e. `ion-button`)
31
+ * @prop componentProps - An array of properties on the
32
+ * component. These usually match up with the @Prop definitions
33
+ * in each component's TSX file.
34
+ * @prop customElement - An option custom element instance to pass
35
+ * to customElements.define. Only set if `includeImportCustomElements: true` in your config.
36
+ * @prop modelProp - The prop that v-model binds to (i.e. value)
37
+ * @prop modelUpdateEvent - The event that is fired from your Web Component when the value changes (i.e. ionChange)
38
+ * @prop externalModelUpdateEvent - The external event to fire from your Vue component when modelUpdateEvent fires. This is used for ensuring that v-model references have been
39
+ * correctly updated when a user's event callback fires.
40
+ */
41
+ export const defineContainer = (name, defineCustomElement, componentProps = [], modelProp, modelUpdateEvent, externalModelUpdateEvent) => {
42
+ /**
43
+ * Create a Vue component wrapper around a Web Component.
44
+ * Note: The `props` here are not all properties on a component.
45
+ * They refer to whatever properties are set on an instance of a component.
46
+ */
47
+ if (defineCustomElement !== undefined) {
48
+ defineCustomElement();
49
+ }
50
+ const Container = defineComponent((props, { attrs, slots, emit }) => {
51
+ var _a;
52
+ let modelPropValue = props[modelProp];
53
+ const containerRef = ref();
54
+ const classes = new Set(getComponentClasses(attrs.class));
55
+ const onVnodeBeforeMount = (vnode) => {
56
+ // Add a listener to tell Vue to update the v-model
57
+ if (vnode.el) {
58
+ const eventsNames = Array.isArray(modelUpdateEvent) ? modelUpdateEvent : [modelUpdateEvent];
59
+ eventsNames.forEach((eventName) => {
60
+ vnode.el.addEventListener(eventName.toLowerCase(), (e) => {
61
+ modelPropValue = (e === null || e === void 0 ? void 0 : e.target)[modelProp];
62
+ emit(UPDATE_VALUE_EVENT, modelPropValue);
63
+ /**
64
+ * We need to emit the change event here
65
+ * rather than on the web component to ensure
66
+ * that any v-model bindings have been updated.
67
+ * Otherwise, the developer will listen on the
68
+ * native web component, but the v-model will
69
+ * not have been updated yet.
70
+ */
71
+ if (externalModelUpdateEvent) {
72
+ emit(externalModelUpdateEvent, e);
73
+ }
74
+ });
75
+ });
76
+ }
77
+ };
78
+ const currentInstance = getCurrentInstance();
79
+ const hasRouter = (_a = currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.appContext) === null || _a === void 0 ? void 0 : _a.provides[NAV_MANAGER];
80
+ const navManager = hasRouter ? inject(NAV_MANAGER) : undefined;
81
+ const handleRouterLink = (ev) => {
82
+ const { routerLink } = props;
83
+ if (routerLink === EMPTY_PROP)
84
+ return;
85
+ if (navManager !== undefined) {
86
+ let navigationPayload = { event: ev };
87
+ for (const key in props) {
88
+ const value = props[key];
89
+ if (props.hasOwnProperty(key) && key.startsWith(ROUTER_PROP_PREFIX) && value !== EMPTY_PROP) {
90
+ navigationPayload[key] = value;
91
+ }
92
+ }
93
+ navManager.navigate(navigationPayload);
94
+ }
95
+ else {
96
+ console.warn('Tried to navigate, but no router was found. Make sure you have mounted Vue Router.');
97
+ }
98
+ };
99
+ return () => {
100
+ modelPropValue = props[modelProp];
101
+ getComponentClasses(attrs.class).forEach(value => {
102
+ classes.add(value);
103
+ });
104
+ const oldClick = props.onClick;
105
+ const handleClick = (ev) => {
106
+ if (oldClick !== undefined) {
107
+ oldClick(ev);
108
+ }
109
+ if (!ev.defaultPrevented) {
110
+ handleRouterLink(ev);
111
+ }
112
+ };
113
+ let propsToAdd = {
114
+ ref: containerRef,
115
+ class: getElementClasses(containerRef, classes),
116
+ onClick: handleClick,
117
+ onVnodeBeforeMount: (modelUpdateEvent) ? onVnodeBeforeMount : undefined
118
+ };
119
+ /**
120
+ * We can use Object.entries here
121
+ * to avoid the hasOwnProperty check,
122
+ * but that would require 2 iterations
123
+ * where as this only requires 1.
124
+ */
125
+ for (const key in props) {
126
+ const value = props[key];
127
+ if (props.hasOwnProperty(key) && value !== EMPTY_PROP) {
128
+ propsToAdd[key] = value;
129
+ }
130
+ }
131
+ if (modelProp) {
132
+ /**
133
+ * If form value property was set using v-model
134
+ * then we should use that value.
135
+ * Otherwise, check to see if form value property
136
+ * was set as a static value (i.e. no v-model).
137
+ */
138
+ if (props[MODEL_VALUE] !== EMPTY_PROP) {
139
+ propsToAdd = Object.assign(Object.assign({}, propsToAdd), { [modelProp]: props[MODEL_VALUE] });
140
+ }
141
+ else if (modelPropValue !== EMPTY_PROP) {
142
+ propsToAdd = Object.assign(Object.assign({}, propsToAdd), { [modelProp]: modelPropValue });
143
+ }
144
+ }
145
+ return h(name, propsToAdd, slots.default && slots.default());
146
+ };
147
+ });
148
+ Container.displayName = name;
149
+ Container.props = {
150
+ [ROUTER_LINK_VALUE]: DEFAULT_EMPTY_PROP
151
+ };
152
+ componentProps.forEach(componentProp => {
153
+ Container.props[componentProp] = DEFAULT_EMPTY_PROP;
154
+ });
155
+ if (modelProp) {
156
+ Container.props[MODEL_VALUE] = DEFAULT_EMPTY_PROP;
157
+ Container.emits = [UPDATE_VALUE_EVENT, externalModelUpdateEvent];
158
+ }
159
+ return Container;
160
+ };
161
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/vue-component-lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,eAAe,EAAE,kBAAkB,EAAE,CAAC,EAAE,MAA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AK,CAAC,WAAW,CAAC,GAAG,kBAAkB,CAAC;QAClD,SAAS,CAAC,KAAK,GAAG,CAAC,kBAAkB,EAAE,wBAAwB,CAAC,CAAC;KAClE;IAED,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heartlandone/vega-vue",
3
- "version": "1.20.3",
3
+ "version": "1.22.0",
4
4
  "description": "Vue specific wrapper for @heartlandone/vega",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -28,6 +28,6 @@
28
28
  "vue": "^3.0.0"
29
29
  },
30
30
  "dependencies": {
31
- "@heartlandone/vega": "1.20.3"
31
+ "@heartlandone/vega": "1.22.0"
32
32
  }
33
33
  }