@aegov/designsystem-vue 0.2.3

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/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # `vue-library`
2
+
3
+ > TODO: description
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ const vueLibrary = require('vue-library');
9
+
10
+ // TODO: DEMONSTRATE API
11
+ ```
@@ -0,0 +1,56 @@
1
+ import type { JSX } from '@aegov/designsystem';
2
+ export declare const AegovAccordion: import("vue").DefineSetupFnComponent<JSX.AegovAccordion & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovAccordion & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
3
+ export declare const AegovAccordionItem: import("vue").DefineSetupFnComponent<JSX.AegovAccordionItem & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovAccordionItem & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
4
+ export declare const AegovAspectRatio: import("vue").DefineSetupFnComponent<JSX.AegovAspectRatio & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovAspectRatio & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
5
+ export declare const AegovAvatar: import("vue").DefineSetupFnComponent<JSX.AegovAvatar & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovAvatar & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
6
+ export declare const AegovAvatarGroup: import("vue").DefineSetupFnComponent<JSX.AegovAvatarGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovAvatarGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
7
+ export declare const AegovBadge: import("vue").DefineSetupFnComponent<JSX.AegovBadge & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovBadge & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
8
+ export declare const AegovBanner: import("vue").DefineSetupFnComponent<JSX.AegovBanner & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovBanner & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
9
+ export declare const AegovBentoGrid: import("vue").DefineSetupFnComponent<JSX.AegovBentoGrid & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovBentoGrid & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
10
+ export declare const AegovBlockquote: import("vue").DefineSetupFnComponent<JSX.AegovBlockquote & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovBlockquote & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
11
+ export declare const AegovBreadcrumbs: import("vue").DefineSetupFnComponent<JSX.AegovBreadcrumbs & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovBreadcrumbs & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
12
+ export declare const AegovBreadcrumbsItem: import("vue").DefineSetupFnComponent<JSX.AegovBreadcrumbsItem & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovBreadcrumbsItem & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
13
+ export declare const AegovButton: import("vue").DefineSetupFnComponent<JSX.AegovButton & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovButton & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
14
+ export declare const AegovButtonGroup: import("vue").DefineSetupFnComponent<JSX.AegovButtonGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovButtonGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
15
+ export declare const AegovCallout: import("vue").DefineSetupFnComponent<JSX.AegovCallout & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovCallout & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
16
+ export declare const AegovCard: import("vue").DefineSetupFnComponent<JSX.AegovCard & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovCard & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
17
+ export declare const AegovCheckbox: import("vue").DefineSetupFnComponent<JSX.AegovCheckbox & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovCheckbox & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
18
+ export declare const AegovCheckboxGroup: import("vue").DefineSetupFnComponent<JSX.AegovCheckboxGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovCheckboxGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
19
+ export declare const AegovDatepicker: import("vue").DefineSetupFnComponent<JSX.AegovDatepicker & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovDatepicker & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
20
+ export declare const AegovDrawer: import("vue").DefineSetupFnComponent<JSX.AegovDrawer & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovDrawer & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
21
+ export declare const AegovDropdown: import("vue").DefineSetupFnComponent<JSX.AegovDropdown & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovDropdown & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
22
+ export declare const AegovFileupload: import("vue").DefineSetupFnComponent<JSX.AegovFileupload & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovFileupload & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
23
+ export declare const AegovFormField: import("vue").DefineSetupFnComponent<JSX.AegovFormField & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovFormField & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
24
+ export declare const AegovHeader: import("vue").DefineSetupFnComponent<JSX.AegovHeader & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovHeader & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
25
+ export declare const AegovHeaderBanner: import("vue").DefineSetupFnComponent<JSX.AegovHeaderBanner & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovHeaderBanner & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
26
+ export declare const AegovInput: import("vue").DefineSetupFnComponent<JSX.AegovInput & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovInput & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
27
+ export declare const AegovInputGroup: import("vue").DefineSetupFnComponent<JSX.AegovInputGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovInputGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
28
+ export declare const AegovLabel: import("vue").DefineSetupFnComponent<JSX.AegovLabel & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovLabel & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
29
+ export declare const AegovLink: import("vue").DefineSetupFnComponent<JSX.AegovLink & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovLink & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
30
+ export declare const AegovModal: import("vue").DefineSetupFnComponent<JSX.AegovModal & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovModal & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
31
+ export declare const AegovNavbar: import("vue").DefineSetupFnComponent<JSX.AegovNavbar & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovNavbar & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
32
+ export declare const AegovNavbarItem: import("vue").DefineSetupFnComponent<JSX.AegovNavbarItem & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovNavbarItem & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
33
+ export declare const AegovNavblock: import("vue").DefineSetupFnComponent<JSX.AegovNavblock & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovNavblock & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
34
+ export declare const AegovNavblockItem: import("vue").DefineSetupFnComponent<JSX.AegovNavblockItem & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovNavblockItem & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
35
+ export declare const AegovOtp: import("vue").DefineSetupFnComponent<JSX.AegovOtp & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovOtp & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
36
+ export declare const AegovPagination: import("vue").DefineSetupFnComponent<JSX.AegovPagination & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovPagination & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
37
+ export declare const AegovPopover: import("vue").DefineSetupFnComponent<JSX.AegovPopover & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovPopover & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
38
+ export declare const AegovProgress: import("vue").DefineSetupFnComponent<JSX.AegovProgress & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovProgress & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
39
+ export declare const AegovRadio: import("vue").DefineSetupFnComponent<JSX.AegovRadio & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovRadio & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
40
+ export declare const AegovRadioGroup: import("vue").DefineSetupFnComponent<JSX.AegovRadioGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovRadioGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
41
+ export declare const AegovRange: import("vue").DefineSetupFnComponent<JSX.AegovRange & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovRange & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
42
+ export declare const AegovSelect: import("vue").DefineSetupFnComponent<JSX.AegovSelect & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovSelect & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
43
+ export declare const AegovSelectOption: import("vue").DefineSetupFnComponent<JSX.AegovSelectOption & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovSelectOption & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
44
+ export declare const AegovSelectOptionGroup: import("vue").DefineSetupFnComponent<JSX.AegovSelectOptionGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovSelectOptionGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
45
+ export declare const AegovSeparator: import("vue").DefineSetupFnComponent<JSX.AegovSeparator & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovSeparator & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
46
+ export declare const AegovTab: import("vue").DefineSetupFnComponent<JSX.AegovTab & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovTab & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
47
+ export declare const AegovTabPanel: import("vue").DefineSetupFnComponent<JSX.AegovTabPanel & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovTabPanel & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
48
+ export declare const AegovTabs: import("vue").DefineSetupFnComponent<JSX.AegovTabs & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovTabs & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
49
+ export declare const AegovText: import("vue").DefineSetupFnComponent<JSX.AegovText & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovText & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
50
+ export declare const AegovTextarea: import("vue").DefineSetupFnComponent<JSX.AegovTextarea & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovTextarea & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
51
+ export declare const AegovTimeline: import("vue").DefineSetupFnComponent<JSX.AegovTimeline & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovTimeline & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
52
+ export declare const AegovTimelineStep: import("vue").DefineSetupFnComponent<JSX.AegovTimelineStep & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovTimelineStep & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
53
+ export declare const AegovTitle: import("vue").DefineSetupFnComponent<JSX.AegovTitle & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovTitle & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
54
+ export declare const AegovToast: import("vue").DefineSetupFnComponent<JSX.AegovToast & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovToast & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
55
+ export declare const AegovToggle: import("vue").DefineSetupFnComponent<JSX.AegovToggle & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovToggle & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
56
+ export declare const AegovTooltip: import("vue").DefineSetupFnComponent<JSX.AegovTooltip & import("./vue-component-lib/utils").InputProps<string | number | boolean>, {}, {}, JSX.AegovTooltip & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}, import("vue").PublicProps>;
@@ -0,0 +1,658 @@
1
+ import { defineContainer } from './vue-component-lib/utils';
2
+ export const AegovAccordion = defineContainer('aegov-accordion', undefined, [
3
+ 'fieldId',
4
+ 'isMultiple',
5
+ 'defaultOpen',
6
+ 'icon',
7
+ 'isBordered',
8
+ 'size',
9
+ 'headingLevel'
10
+ ]);
11
+ export const AegovAccordionItem = defineContainer('aegov-accordion-item', undefined, [
12
+ 'heading',
13
+ 'isOpen',
14
+ 'isDisabled',
15
+ 'icon',
16
+ 'isFirst',
17
+ 'isLast',
18
+ 'size',
19
+ 'headingLevel',
20
+ 'aegovAccordionItemToggle'
21
+ ]);
22
+ export const AegovAspectRatio = defineContainer('aegov-aspect-ratio', undefined, [
23
+ 'ratio',
24
+ 'fit',
25
+ 'extraClass'
26
+ ]);
27
+ export const AegovAvatar = defineContainer('aegov-avatar', undefined, [
28
+ 'fieldId',
29
+ 'size',
30
+ 'appearance',
31
+ 'src',
32
+ 'alt',
33
+ 'status'
34
+ ]);
35
+ export const AegovAvatarGroup = defineContainer('aegov-avatar-group', undefined, [
36
+ 'variant',
37
+ 'size',
38
+ 'moreCount',
39
+ 'moreText',
40
+ 'aegovAvatarGroupMore'
41
+ ]);
42
+ export const AegovBadge = defineContainer('aegov-badge', undefined, [
43
+ 'fieldId',
44
+ 'appearance',
45
+ 'variant',
46
+ 'color',
47
+ 'isDismissible',
48
+ 'size',
49
+ 'aegovBadgeDismiss'
50
+ ]);
51
+ export const AegovBanner = defineContainer('aegov-banner', undefined, [
52
+ 'fieldId',
53
+ 'variant',
54
+ 'appearance',
55
+ 'position',
56
+ 'display',
57
+ 'mode',
58
+ 'isDismissible',
59
+ 'heading',
60
+ 'size',
61
+ 'isFocusable',
62
+ 'aegovBannerDismiss',
63
+ 'aegovBannerHeightChange'
64
+ ]);
65
+ export const AegovBentoGrid = defineContainer('aegov-bento-grid', undefined, [
66
+ 'fieldId',
67
+ 'cols',
68
+ 'gap',
69
+ 'flow'
70
+ ]);
71
+ export const AegovBlockquote = defineContainer('aegov-blockquote', undefined, [
72
+ 'appearance',
73
+ 'cite',
74
+ 'author',
75
+ 'authorTitle',
76
+ 'extraClass'
77
+ ]);
78
+ export const AegovBreadcrumbs = defineContainer('aegov-breadcrumbs', undefined, [
79
+ 'fieldId',
80
+ 'separator',
81
+ 'maxLength',
82
+ 'isMicrodata'
83
+ ]);
84
+ export const AegovBreadcrumbsItem = defineContainer('aegov-breadcrumbs-item', undefined, [
85
+ 'href',
86
+ 'target',
87
+ 'isLast',
88
+ 'maxLength',
89
+ 'separator',
90
+ 'isMicrodata',
91
+ 'position',
92
+ 'aegovBreadcrumbItemClick'
93
+ ]);
94
+ export const AegovButton = defineContainer('aegov-button', undefined, [
95
+ 'fieldId',
96
+ 'variant',
97
+ 'size',
98
+ 'type',
99
+ 'appearance',
100
+ 'isDisabled',
101
+ 'isIcon',
102
+ 'isFull',
103
+ 'isBold',
104
+ 'isLoading',
105
+ 'groupPosition',
106
+ 'groupOrientation',
107
+ 'aegovButtonClick',
108
+ 'aegovButtonFocus',
109
+ 'aegovButtonBlur'
110
+ ]);
111
+ export const AegovButtonGroup = defineContainer('aegov-button-group', undefined, [
112
+ 'orientation'
113
+ ]);
114
+ export const AegovCallout = defineContainer('aegov-callout', undefined, [
115
+ 'fieldId',
116
+ 'variant',
117
+ 'appearance',
118
+ 'size',
119
+ 'isDismissible',
120
+ 'aegovCalloutDismiss'
121
+ ]);
122
+ export const AegovCard = defineContainer('aegov-card', undefined, [
123
+ 'fieldId',
124
+ 'isPadding',
125
+ 'borderWidth',
126
+ 'appearance',
127
+ 'variant',
128
+ 'hover',
129
+ 'size',
130
+ 'dataColSpan',
131
+ 'dataRowSpan'
132
+ ]);
133
+ export const AegovCheckbox = defineContainer('aegov-checkbox', undefined, [
134
+ 'fieldId',
135
+ 'name',
136
+ 'value',
137
+ 'isChecked',
138
+ 'size',
139
+ 'variant',
140
+ 'isDisabled',
141
+ 'isRequired',
142
+ 'label',
143
+ 'hint',
144
+ 'isCheckAll',
145
+ 'isIndeterminate',
146
+ 'isInvalid',
147
+ 'errorMessage',
148
+ 'extraClass',
149
+ 'aegovCheckboxChange',
150
+ 'aegovValidate'
151
+ ]);
152
+ export const AegovCheckboxGroup = defineContainer('aegov-checkbox-group', undefined, [
153
+ 'appearance',
154
+ 'orientation',
155
+ 'label',
156
+ 'size',
157
+ 'variant',
158
+ 'isDisabled',
159
+ 'isRequired',
160
+ 'isInvalid',
161
+ 'errorMessage',
162
+ 'hint',
163
+ 'extraClass',
164
+ 'aegovCheckboxGroupChange',
165
+ 'aegovValidate'
166
+ ]);
167
+ export const AegovDatepicker = defineContainer('aegov-datepicker', undefined, [
168
+ 'appearance',
169
+ 'value',
170
+ 'format',
171
+ 'placeholder',
172
+ 'labelRangeStart',
173
+ 'labelRangeEnd',
174
+ 'min',
175
+ 'max',
176
+ 'isDisableFuture',
177
+ 'startDay',
178
+ 'locale',
179
+ 'minRange',
180
+ 'maxRange',
181
+ 'blackout',
182
+ 'presets',
183
+ 'isDisabled',
184
+ 'isRequired',
185
+ 'isClearable',
186
+ 'isHeaderSelectable',
187
+ 'yearRangeStart',
188
+ 'yearRangeEnd',
189
+ 'isWithConfirmation',
190
+ 'size',
191
+ 'variant',
192
+ 'fieldId',
193
+ 'name',
194
+ 'isInvalid',
195
+ 'errorMessage',
196
+ 'hint',
197
+ 'aegovDatepickerChange',
198
+ 'aegovDatepickerOpen',
199
+ 'aegovDatepickerClose',
200
+ 'aegovDatepickerClear',
201
+ 'aegovDatepickerMonthChange',
202
+ 'aegovValidate'
203
+ ]);
204
+ export const AegovDrawer = defineContainer('aegov-drawer', undefined, [
205
+ 'fieldId',
206
+ 'isOpen',
207
+ 'position',
208
+ 'animation',
209
+ 'isPinned',
210
+ 'isOverlay',
211
+ 'overlayOpacity',
212
+ 'isCloseWithOverlay',
213
+ 'isPreventScroll',
214
+ 'size',
215
+ 'isPadding',
216
+ 'label',
217
+ 'aegovDrawerOpen',
218
+ 'aegovDrawerClose',
219
+ 'aegovDrawerBeforeClose',
220
+ 'aegovDrawerBackdropClick',
221
+ 'aegovDrawerEscapePress'
222
+ ]);
223
+ export const AegovDropdown = defineContainer('aegov-dropdown', undefined, [
224
+ 'fieldId',
225
+ 'trigger',
226
+ 'tabBehavior',
227
+ 'position',
228
+ 'align',
229
+ 'gap',
230
+ 'offset',
231
+ 'isDisabled',
232
+ 'delayStart',
233
+ 'delayEnd',
234
+ 'aegovDropdownOpen',
235
+ 'aegovDropdownClose'
236
+ ]);
237
+ export const AegovFileupload = defineContainer('aegov-fileupload', undefined, [
238
+ 'fieldId',
239
+ 'appearance',
240
+ 'size',
241
+ 'variant',
242
+ 'isMultiple',
243
+ 'accept',
244
+ 'maxFileSize',
245
+ 'maxFiles',
246
+ 'isDisabled',
247
+ 'isRequired',
248
+ 'isInvalid',
249
+ 'errorMessage',
250
+ 'name',
251
+ 'label',
252
+ 'hint',
253
+ 'labelHelp',
254
+ 'labelButton',
255
+ 'aegovFileuploadChange',
256
+ 'aegovFileuploadRemove',
257
+ 'aegovValidate'
258
+ ]);
259
+ export const AegovFormField = defineContainer('aegov-form-field', undefined, [
260
+ 'fieldId',
261
+ 'isInvalid',
262
+ 'errorMessage',
263
+ 'hint',
264
+ 'variant',
265
+ 'extraClass'
266
+ ]);
267
+ export const AegovHeader = defineContainer('aegov-header', undefined, [
268
+ 'variant',
269
+ 'entityName',
270
+ 'entityDomain',
271
+ 'skipContentContainer',
272
+ 'logoLabel'
273
+ ]);
274
+ export const AegovHeaderBanner = defineContainer('aegov-header-banner', undefined, [
275
+ 'entityName',
276
+ 'entityDomain',
277
+ 'skipContentContainer'
278
+ ]);
279
+ export const AegovInput = defineContainer('aegov-input', undefined, [
280
+ 'fieldId',
281
+ 'type',
282
+ 'size',
283
+ 'variant',
284
+ 'isDisabled',
285
+ 'isReadonly',
286
+ 'placeholder',
287
+ 'value',
288
+ 'name',
289
+ 'isRequired',
290
+ 'isRevealable',
291
+ 'isCopyable',
292
+ 'isInvalid',
293
+ 'errorMessage',
294
+ 'hint',
295
+ 'extraClass',
296
+ 'describedByPrefix',
297
+ 'describedBySuffix',
298
+ 'aegovInputChange',
299
+ 'aegovInputValue',
300
+ 'aegovInputFocus',
301
+ 'aegovInputBlur',
302
+ 'aegovValidate'
303
+ ]);
304
+ export const AegovInputGroup = defineContainer('aegov-input-group', undefined, [
305
+ 'size',
306
+ 'addonPrefix',
307
+ 'addonSuffix',
308
+ 'groupLabel',
309
+ 'variant',
310
+ 'extraClass'
311
+ ]);
312
+ export const AegovLabel = defineContainer('aegov-label', undefined, [
313
+ 'fieldId',
314
+ 'htmlFor',
315
+ 'variant',
316
+ 'extraClass'
317
+ ]);
318
+ export const AegovLink = defineContainer('aegov-link', undefined, [
319
+ 'fieldId',
320
+ 'href',
321
+ 'target',
322
+ 'rel',
323
+ 'extraClass',
324
+ 'variant',
325
+ 'appearance',
326
+ 'size',
327
+ 'isIcon',
328
+ 'isFull',
329
+ 'isBold',
330
+ 'isDisabled',
331
+ 'aegovLinkClick'
332
+ ]);
333
+ export const AegovModal = defineContainer('aegov-modal', undefined, [
334
+ 'fieldId',
335
+ 'isOpen',
336
+ 'isCloseWithOverlay',
337
+ 'isPreventScroll',
338
+ 'overlayOpacity',
339
+ 'position',
340
+ 'size',
341
+ 'isPadding',
342
+ 'label',
343
+ 'aegovModalOpen',
344
+ 'aegovModalClose',
345
+ 'aegovModalBeforeClose',
346
+ 'aegovModalBackdropClick',
347
+ 'aegovModalEscapePress'
348
+ ]);
349
+ export const AegovNavbar = defineContainer('aegov-navbar', undefined, [
350
+ 'size',
351
+ 'gap',
352
+ 'labelNav'
353
+ ]);
354
+ export const AegovNavbarItem = defineContainer('aegov-navbar-item', undefined, [
355
+ 'href',
356
+ 'target',
357
+ 'rel',
358
+ 'isActive',
359
+ 'isDisabled',
360
+ 'size'
361
+ ]);
362
+ export const AegovNavblock = defineContainer('aegov-navblock', undefined, [
363
+ 'fieldId',
364
+ 'blockTitle',
365
+ 'labelNav',
366
+ 'isMultiple',
367
+ 'icon',
368
+ 'size',
369
+ 'isBordered',
370
+ 'variant',
371
+ 'activeBorder'
372
+ ]);
373
+ export const AegovNavblockItem = defineContainer('aegov-navblock-item', undefined, [
374
+ 'href',
375
+ 'target',
376
+ 'rel',
377
+ 'isActive',
378
+ 'isDisabled',
379
+ 'isOpen',
380
+ 'icon',
381
+ 'size',
382
+ 'variant',
383
+ 'aegovNavblockItemToggle'
384
+ ]);
385
+ export const AegovOtp = defineContainer('aegov-otp', undefined, [
386
+ 'fieldId',
387
+ 'appearance',
388
+ 'length',
389
+ 'size',
390
+ 'variant',
391
+ 'isAlphanumeric',
392
+ 'pattern',
393
+ 'isDisabled',
394
+ 'isRequired',
395
+ 'name',
396
+ 'value',
397
+ 'isInvalid',
398
+ 'errorMessage',
399
+ 'hint',
400
+ 'extraClass',
401
+ 'aegovOtpChange',
402
+ 'aegovOtpComplete',
403
+ 'aegovValidate'
404
+ ]);
405
+ export const AegovPagination = defineContainer('aegov-pagination', undefined, [
406
+ 'fieldId',
407
+ 'pages',
408
+ 'pageCurrent',
409
+ 'isEnabledFirstLast',
410
+ 'countSibling',
411
+ 'countBoundary',
412
+ 'variant',
413
+ 'size',
414
+ 'isDisabled',
415
+ 'labelPrev',
416
+ 'labelNext',
417
+ 'labelFirst',
418
+ 'labelLast',
419
+ 'aegovPaginationPageChange'
420
+ ]);
421
+ export const AegovPopover = defineContainer('aegov-popover', undefined, [
422
+ 'fieldId',
423
+ 'trigger',
424
+ 'position',
425
+ 'align',
426
+ 'gap',
427
+ 'offset',
428
+ 'isDisabled',
429
+ 'delayStart',
430
+ 'delayEnd',
431
+ 'aegovPopoverOpen',
432
+ 'aegovPopoverClose'
433
+ ]);
434
+ export const AegovProgress = defineContainer('aegov-progress', undefined, [
435
+ 'fieldId',
436
+ 'value',
437
+ 'max',
438
+ 'height',
439
+ 'counter',
440
+ 'counterSuffix',
441
+ 'label',
442
+ 'description',
443
+ 'extraClass'
444
+ ]);
445
+ export const AegovRadio = defineContainer('aegov-radio', undefined, [
446
+ 'fieldId',
447
+ 'name',
448
+ 'value',
449
+ 'isChecked',
450
+ 'size',
451
+ 'variant',
452
+ 'isDisabled',
453
+ 'isRequired',
454
+ 'label',
455
+ 'hint',
456
+ 'isInvalid',
457
+ 'errorMessage',
458
+ 'extraClass',
459
+ 'aegovRadioChange',
460
+ 'aegovValidate'
461
+ ]);
462
+ export const AegovRadioGroup = defineContainer('aegov-radio-group', undefined, [
463
+ 'appearance',
464
+ 'orientation',
465
+ 'label',
466
+ 'size',
467
+ 'variant',
468
+ 'name',
469
+ 'isDisabled',
470
+ 'isRequired',
471
+ 'isInvalid',
472
+ 'errorMessage',
473
+ 'hint',
474
+ 'extraClass',
475
+ 'aegovRadioGroupChange',
476
+ 'aegovValidate'
477
+ ]);
478
+ export const AegovRange = defineContainer('aegov-range', undefined, [
479
+ 'fieldId',
480
+ 'name',
481
+ 'value',
482
+ 'valueLow',
483
+ 'valueHigh',
484
+ 'min',
485
+ 'max',
486
+ 'step',
487
+ 'size',
488
+ 'display',
489
+ 'orientation',
490
+ 'mode',
491
+ 'variant',
492
+ 'isDisabled',
493
+ 'isRequired',
494
+ 'label',
495
+ 'hint',
496
+ 'isInvalid',
497
+ 'errorMessage',
498
+ 'extraClass',
499
+ 'aegovRangeInput',
500
+ 'aegovRangeChange',
501
+ 'aegovValidate'
502
+ ]);
503
+ export const AegovSelect = defineContainer('aegov-select', undefined, [
504
+ 'fieldId',
505
+ 'appearance',
506
+ 'size',
507
+ 'variant',
508
+ 'isMultiple',
509
+ 'isDisabled',
510
+ 'placeholder',
511
+ 'value',
512
+ 'name',
513
+ 'isRequired',
514
+ 'isSearchable',
515
+ 'emptyMessage',
516
+ 'visibleItems',
517
+ 'isClearable',
518
+ 'isInvalid',
519
+ 'errorMessage',
520
+ 'hint',
521
+ 'extraClass',
522
+ 'aegovSelectChange',
523
+ 'aegovSelectOpen',
524
+ 'aegovSelectClose',
525
+ 'aegovValidate'
526
+ ]);
527
+ export const AegovSelectOption = defineContainer('aegov-select-option', undefined, [
528
+ 'value',
529
+ 'isDisabled'
530
+ ]);
531
+ export const AegovSelectOptionGroup = defineContainer('aegov-select-option-group', undefined, [
532
+ 'label'
533
+ ]);
534
+ export const AegovSeparator = defineContainer('aegov-separator', undefined, [
535
+ 'orientation',
536
+ 'appearance',
537
+ 'variant',
538
+ 'text',
539
+ 'gap',
540
+ 'isDecorative',
541
+ 'extraClass'
542
+ ]);
543
+ export const AegovTab = defineContainer('aegov-tab', undefined, [
544
+ 'tabId',
545
+ 'isDisabled',
546
+ 'activeTabId',
547
+ 'variant',
548
+ 'size',
549
+ 'orientation',
550
+ 'aegovTabSelect'
551
+ ]);
552
+ export const AegovTabPanel = defineContainer('aegov-tab-panel', undefined, [
553
+ 'tabId',
554
+ 'active',
555
+ 'extraClass'
556
+ ]);
557
+ export const AegovTabs = defineContainer('aegov-tabs', undefined, [
558
+ 'fieldId',
559
+ 'variant',
560
+ 'defaultOpen',
561
+ 'size',
562
+ 'isScrollable',
563
+ 'isStretchable',
564
+ 'orientation',
565
+ 'labelTablist',
566
+ 'aegovTabChange'
567
+ ]);
568
+ export const AegovText = defineContainer('aegov-text', undefined, [
569
+ 'size',
570
+ 'extraClass'
571
+ ]);
572
+ export const AegovTextarea = defineContainer('aegov-textarea', undefined, [
573
+ 'fieldId',
574
+ 'size',
575
+ 'variant',
576
+ 'isDisabled',
577
+ 'isReadonly',
578
+ 'placeholder',
579
+ 'value',
580
+ 'name',
581
+ 'isRequired',
582
+ 'resize',
583
+ 'maxlength',
584
+ 'isCopyable',
585
+ 'isInvalid',
586
+ 'errorMessage',
587
+ 'hint',
588
+ 'extraClass',
589
+ 'aegovTextareaChange',
590
+ 'aegovTextareaInput',
591
+ 'aegovTextareaFocus',
592
+ 'aegovTextareaBlur',
593
+ 'aegovValidate'
594
+ ]);
595
+ export const AegovTimeline = defineContainer('aegov-timeline', undefined, [
596
+ 'fieldId',
597
+ 'variant',
598
+ 'size',
599
+ 'orientation'
600
+ ]);
601
+ export const AegovTimelineStep = defineContainer('aegov-timeline-step', undefined, [
602
+ 'status',
603
+ 'description',
604
+ 'variant',
605
+ 'size',
606
+ 'orientation',
607
+ 'stepIndex',
608
+ 'stepCount',
609
+ 'isFirst',
610
+ 'isLast',
611
+ 'isConnectorSolid'
612
+ ]);
613
+ export const AegovTitle = defineContainer('aegov-title', undefined, [
614
+ 'fieldId',
615
+ 'size',
616
+ 'headingType',
617
+ 'extraClass'
618
+ ]);
619
+ export const AegovToast = defineContainer('aegov-toast', undefined, [
620
+ 'variant',
621
+ 'appearance',
622
+ 'position',
623
+ 'duration',
624
+ 'isDismissible',
625
+ 'mode',
626
+ 'isProgressEnabled',
627
+ 'aegovToastOpen',
628
+ 'aegovToastClose',
629
+ 'aegovToastDismiss'
630
+ ]);
631
+ export const AegovToggle = defineContainer('aegov-toggle', undefined, [
632
+ 'fieldId',
633
+ 'name',
634
+ 'value',
635
+ 'isChecked',
636
+ 'size',
637
+ 'variant',
638
+ 'isDisabled',
639
+ 'isRequired',
640
+ 'label',
641
+ 'hint',
642
+ 'isInvalid',
643
+ 'errorMessage',
644
+ 'aegovToggleChange',
645
+ 'aegovValidate'
646
+ ]);
647
+ export const AegovTooltip = defineContainer('aegov-tooltip', undefined, [
648
+ 'content',
649
+ 'position',
650
+ 'align',
651
+ 'trigger',
652
+ 'gap',
653
+ 'offset',
654
+ 'isDisabled',
655
+ 'delayStart',
656
+ 'delayEnd'
657
+ ]);
658
+ //# sourceMappingURL=components.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.js","sourceRoot":"","sources":["../lib/components.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAO5D,MAAM,CAAC,MAAM,cAAc,GAAiB,eAAe,CAAqB,iBAAiB,EAAE,SAAS,EAAE;IAC5G,SAAS;IACT,YAAY;IACZ,aAAa;IACb,MAAM;IACN,YAAY;IACZ,MAAM;IACN,cAAc;CACf,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,kBAAkB,GAAiB,eAAe,CAAyB,sBAAsB,EAAE,SAAS,EAAE;IACzH,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,MAAM;IACN,SAAS;IACT,QAAQ;IACR,MAAM;IACN,cAAc;IACd,0BAA0B;CAC3B,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,gBAAgB,GAAiB,eAAe,CAAuB,oBAAoB,EAAE,SAAS,EAAE;IACnH,OAAO;IACP,KAAK;IACL,YAAY;CACb,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,WAAW,GAAiB,eAAe,CAAkB,cAAc,EAAE,SAAS,EAAE;IACnG,SAAS;IACT,MAAM;IACN,YAAY;IACZ,KAAK;IACL,KAAK;IACL,QAAQ;CACT,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,gBAAgB,GAAiB,eAAe,CAAuB,oBAAoB,EAAE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AAiB,GAAiB,eAAe,CAAwB,qBAAqB,EAAE,SAAS,EAAE;IACtH,QAAQ;IACR,aAAa;IACb,SAAS;IACT,MAAM;IACN,aAAa;IACb,WAAW;IACX,WAAW;IACX,SAAS;IACT,QAAQ;IACR,kBAAkB;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,UAAU,GAAiB,eAAe,CAAiB,aAAa,EAAE,SAAS,EAAE;IAChG,SAAS;IACT,MAAM;IACN,aAAa;IACb,YAAY;CACb,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,UAAU,GAAiB,eAAe,CAAiB,aAAa,EAAE,SAAS,EAAE;IAChG,SAAS;IACT,YAAY;IACZ,UAAU;IACV,UAAU;IACV,eAAe;IACf,MAAM;IACN,mBAAmB;IACnB,gBAAgB;IAChB,iBAAiB;IACjB,mBAAmB;CACpB,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,WAAW,GAAiB,eAAe,CAAkB,cAAc,EAAE,SAAS,EAAE;IACnG,SAAS;IACT,MAAM;IACN,OAAO;IACP,WAAW;IACX,MAAM;IACN,SAAS;IACT,YAAY;IACZ,YAAY;IACZ,OAAO;IACP,MAAM;IACN,WAAW;IACX,cAAc;IACd,mBAAmB;IACnB,eAAe;CAChB,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,YAAY,GAAiB,eAAe,CAAmB,eAAe,EAAE,SAAS,EAAE;IACtG,SAAS;IACT,UAAU;IACV,OAAO;IACP,SAAS;IACT,KAAK;IACL,QAAQ;IACR,YAAY;IACZ,YAAY;IACZ,UAAU;CACX,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":["../lib/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 ComponentLibrary: Plugin;
package/dist/plugin.js ADDED
@@ -0,0 +1,7 @@
1
+ import { defineCustomElements } from '@aegov/designsystem/loader';
2
+ export const ComponentLibrary = {
3
+ async install() {
4
+ defineCustomElements();
5
+ },
6
+ };
7
+ //# sourceMappingURL=plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../lib/plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,CAAC,MAAM,gBAAgB,GAAW;IACtC,KAAK,CAAC,OAAO;QACX,oBAAoB,EAAE,CAAC;IACzB,CAAC;CACF,CAAC"}
@@ -0,0 +1,4 @@
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) => import("vue").DefineSetupFnComponent<Props & InputProps<VModelType>, {}, {}, Props & InputProps<VModelType> & {}, import("vue").PublicProps>;
@@ -0,0 +1,116 @@
1
+ import { defineComponent, getCurrentInstance, h, inject, ref, withDirectives } 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 ARIA_PROP_PREFIX = 'aria';
8
+ const EMPTY_PROP = Symbol();
9
+ const DEFAULT_EMPTY_PROP = { default: EMPTY_PROP };
10
+ const getComponentClasses = (classes) => {
11
+ return (classes === null || classes === void 0 ? void 0 : classes.split(' ')) || [];
12
+ };
13
+ const getElementClasses = (ref, componentClasses, defaultClasses = []) => {
14
+ var _a;
15
+ return [...Array.from(((_a = ref.value) === null || _a === void 0 ? void 0 : _a.classList) || []), ...defaultClasses].filter((c, i, self) => !componentClasses.has(c) && self.indexOf(c) === i);
16
+ };
17
+ export const defineContainer = (name, defineCustomElement, componentProps = [], modelProp, modelUpdateEvent) => {
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 vModelDirective = {
27
+ created: (el) => {
28
+ const eventsNames = Array.isArray(modelUpdateEvent) ? modelUpdateEvent : [modelUpdateEvent];
29
+ eventsNames.forEach((eventName) => {
30
+ el.addEventListener(eventName.toLowerCase(), (e) => {
31
+ if (e.target.tagName === el.tagName) {
32
+ modelPropValue = (e === null || e === void 0 ? void 0 : e.target)[modelProp];
33
+ emit(UPDATE_VALUE_EVENT, modelPropValue);
34
+ }
35
+ });
36
+ });
37
+ },
38
+ };
39
+ const currentInstance = getCurrentInstance();
40
+ const hasRouter = (_a = currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.appContext) === null || _a === void 0 ? void 0 : _a.provides[NAV_MANAGER];
41
+ const navManager = hasRouter ? inject(NAV_MANAGER) : undefined;
42
+ const handleRouterLink = (ev) => {
43
+ const { routerLink } = props;
44
+ if (routerLink === EMPTY_PROP)
45
+ return;
46
+ if (navManager !== undefined) {
47
+ ev.preventDefault();
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
+ };
80
+ for (const key in props) {
81
+ const value = props[key];
82
+ if ((props.hasOwnProperty(key) && value !== EMPTY_PROP) || key.startsWith(ARIA_PROP_PREFIX)) {
83
+ propsToAdd[key] = value;
84
+ }
85
+ }
86
+ if (modelProp) {
87
+ if (props[MODEL_VALUE] !== EMPTY_PROP) {
88
+ propsToAdd = Object.assign(Object.assign({}, propsToAdd), { [modelProp]: props[MODEL_VALUE] });
89
+ }
90
+ else if (modelPropValue !== EMPTY_PROP) {
91
+ propsToAdd = Object.assign(Object.assign({}, propsToAdd), { [modelProp]: modelPropValue });
92
+ }
93
+ }
94
+ if (props[ROUTER_LINK_VALUE] !== EMPTY_PROP) {
95
+ propsToAdd = Object.assign(Object.assign({}, propsToAdd), { href: props[ROUTER_LINK_VALUE] });
96
+ }
97
+ const node = h(name, propsToAdd, slots.default && slots.default());
98
+ return modelProp === undefined ? node : withDirectives(node, [[vModelDirective]]);
99
+ };
100
+ });
101
+ if (typeof Container !== 'function') {
102
+ Container.name = name;
103
+ Container.props = {
104
+ [ROUTER_LINK_VALUE]: DEFAULT_EMPTY_PROP,
105
+ };
106
+ componentProps.forEach((componentProp) => {
107
+ Container.props[componentProp] = DEFAULT_EMPTY_PROP;
108
+ });
109
+ if (modelProp) {
110
+ Container.props[MODEL_VALUE] = DEFAULT_EMPTY_PROP;
111
+ Container.emits = [UPDATE_VALUE_EVENT];
112
+ }
113
+ }
114
+ return Container;
115
+ };
116
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../lib/vue-component-lib/utils.ts"],"names":[],"mappings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CAAC,CAAC,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;QACpF,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,IAAI,OAAO,SAAS,KAAK,UAAU,EAAE,CAAC;QACpC,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC;QAEtB,SAAS,CAAC,KAAK,GAAG;YAChB,CAAC,iBAAiB,CAAC,EAAE,kBAAkB;SACxC,CAAC;QAEF,cAAc,CAAC,OAAO,CAAC,CAAC,aAAa,EAAE,EAAE;YACvC,SAAS,CAAC,KAAK,CAAC,aAAa,CAAC,GAAG,kBAAkB,CAAC;QACtD,CAAC,CAAC,CAAC;QAEH,IAAI,SAAS,EAAE,CAAC;YACd,SAAS,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,kBAAkB,CAAC;YAClD,SAAS,CAAC,KAAK,GAAG,CAAC,kBAAkB,CAAC,CAAC;QACzC,CAAC;IACH,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@aegov/designsystem-vue",
3
+ "version": "0.2.3",
4
+ "description": "AEGOV Design System - Framework-agnostic web components with Tailwind CSS",
5
+ "author": "Anis conceptlz <124657785+anismansuriui@users.noreply.github.com>",
6
+ "homepage": "",
7
+ "license": "ISC",
8
+ "main": "dist/index.js",
9
+ "types": "dist/index.d.ts",
10
+ "directories": {
11
+ "lib": "lib",
12
+ "test": "__tests__"
13
+ },
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "scripts": {
18
+ "test": "echo \"Error: run tests from root\" && exit 1",
19
+ "clean": "node -e \"const fs=require('fs');fs.rmSync('./dist',{recursive:true,force:true})\"",
20
+ "build": "npm run clean && npm run tsc",
21
+ "tsc": "tsc -p . --outDir ./dist"
22
+ },
23
+ "publishConfig": {
24
+ "access": "restricted"
25
+ },
26
+ "dependencies": {
27
+ "@aegov/designsystem": "^0.2.3"
28
+ },
29
+ "devDependencies": {
30
+ "vue": "^3.5.39"
31
+ },
32
+ "gitHead": "6e5d6f9f6239e70be0c84c5c4418a3fb642404c3"
33
+ }