@six-group/ui-library-vue 0.0.0-insider.012ddb2

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,2 @@
1
+ export * from './stencil-generated/components';
2
+ export * from './plugin';
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export * from './stencil-generated/components';
2
+ export * from './plugin';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,UAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Plugin } from 'vue';
2
+ import { Router } from 'vue-router';
3
+ export type UiLibraryVueOptions = {
4
+ router?: Router;
5
+ applyPolyfills?: boolean;
6
+ };
7
+ export declare const UiLibraryVue: Plugin;
package/dist/plugin.js ADDED
@@ -0,0 +1,18 @@
1
+ import { applyPolyfills, defineCustomElements } from '@six-group/ui-library/loader';
2
+ export const UiLibraryVue = {
3
+ async install(app, options) {
4
+ if (options === null || options === void 0 ? void 0 : options.applyPolyfills) {
5
+ await applyPolyfills();
6
+ }
7
+ defineCustomElements();
8
+ if (options === null || options === void 0 ? void 0 : options.router) {
9
+ const navManager = {
10
+ navigate: (payload) => {
11
+ options.router.push(payload.routerLink);
12
+ },
13
+ };
14
+ app.provide('navManager', navManager);
15
+ }
16
+ },
17
+ };
18
+ //# sourceMappingURL=plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../src/lib/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AASpF,MAAM,CAAC,MAAM,YAAY,GAAW;IAClC,KAAK,CAAC,OAAO,CAAC,GAAQ,EAAE,OAA6B;QACnD,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,EAAE;YAC3B,MAAM,cAAc,EAAE,CAAC;SACxB;QACD,oBAAoB,EAAE,CAAC;QAEvB,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAE;YAGnB,MAAM,UAAU,GAAG;gBACjB,QAAQ,EAAE,CAAC,OAA6C,EAAE,EAAE;oBAC1D,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;gBAC1C,CAAC;aACF,CAAC;YACF,GAAG,CAAC,OAAO,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;SACvC;IACH,CAAC;CACF,CAAC"}
@@ -0,0 +1,53 @@
1
+ import type { JSX } from '@six-group/ui-library';
2
+ export declare const SixAlert: (props: JSX.SixAlert & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
3
+ export declare const SixAvatar: (props: JSX.SixAvatar & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
4
+ export declare const SixBadge: (props: JSX.SixBadge & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
5
+ export declare const SixButton: (props: JSX.SixButton & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
6
+ export declare const SixCard: (props: JSX.SixCard & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
7
+ export declare const SixCheckbox: (props: JSX.SixCheckbox & import("./vue-component-lib/utils").InputProps<boolean> & {}) => any;
8
+ export declare const SixDatepicker: (props: JSX.SixDatepicker & import("./vue-component-lib/utils").InputProps<Date> & {}) => any;
9
+ export declare const SixDetails: (props: JSX.SixDetails & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
10
+ export declare const SixDialog: (props: JSX.SixDialog & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
11
+ export declare const SixDrawer: (props: JSX.SixDrawer & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
12
+ export declare const SixDropdown: (props: JSX.SixDropdown & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
13
+ export declare const SixError: (props: JSX.SixError & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
14
+ export declare const SixErrorPage: (props: JSX.SixErrorPage & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
15
+ export declare const SixFileList: (props: JSX.SixFileList & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
16
+ export declare const SixFileListItem: (props: JSX.SixFileListItem & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
17
+ export declare const SixFileUpload: (props: JSX.SixFileUpload & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
18
+ export declare const SixFooter: (props: JSX.SixFooter & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
19
+ export declare const SixGroupLabel: (props: JSX.SixGroupLabel & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
20
+ export declare const SixHeader: (props: JSX.SixHeader & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
21
+ export declare const SixIcon: (props: JSX.SixIcon & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
22
+ export declare const SixIconButton: (props: JSX.SixIconButton & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
23
+ export declare const SixInput: (props: JSX.SixInput & import("./vue-component-lib/utils").InputProps<string> & {}) => any;
24
+ export declare const SixItemPicker: (props: JSX.SixItemPicker & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
25
+ export declare const SixLanguageSwitcher: (props: JSX.SixLanguageSwitcher & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
26
+ export declare const SixLayoutGrid: (props: JSX.SixLayoutGrid & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
27
+ export declare const SixMainContainer: (props: JSX.SixMainContainer & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
28
+ export declare const SixMenu: (props: JSX.SixMenu & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
29
+ export declare const SixMenuDivider: (props: JSX.SixMenuDivider & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
30
+ export declare const SixMenuItem: (props: JSX.SixMenuItem & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
31
+ export declare const SixMenuLabel: (props: JSX.SixMenuLabel & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
32
+ export declare const SixPicto: (props: JSX.SixPicto & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
33
+ export declare const SixProgressBar: (props: JSX.SixProgressBar & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
34
+ export declare const SixProgressRing: (props: JSX.SixProgressRing & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
35
+ export declare const SixRadio: (props: JSX.SixRadio & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
36
+ export declare const SixRange: (props: JSX.SixRange & import("./vue-component-lib/utils").InputProps<number> & {}) => any;
37
+ export declare const SixRoot: (props: JSX.SixRoot & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
38
+ export declare const SixSearchField: (props: JSX.SixSearchField & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
39
+ export declare const SixSelect: (props: JSX.SixSelect & import("./vue-component-lib/utils").InputProps<string | string[]> & {}) => any;
40
+ export declare const SixSidebar: (props: JSX.SixSidebar & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
41
+ export declare const SixSidebarItem: (props: JSX.SixSidebarItem & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
42
+ export declare const SixSidebarItemGroup: (props: JSX.SixSidebarItemGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
43
+ export declare const SixSpinner: (props: JSX.SixSpinner & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
44
+ export declare const SixStageIndicator: (props: JSX.SixStageIndicator & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
45
+ export declare const SixSwitch: (props: JSX.SixSwitch & import("./vue-component-lib/utils").InputProps<boolean> & {}) => any;
46
+ export declare const SixTab: (props: JSX.SixTab & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
47
+ export declare const SixTabGroup: (props: JSX.SixTabGroup & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
48
+ export declare const SixTabPanel: (props: JSX.SixTabPanel & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
49
+ export declare const SixTag: (props: JSX.SixTag & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
50
+ export declare const SixTextarea: (props: JSX.SixTextarea & import("./vue-component-lib/utils").InputProps<string> & {}) => any;
51
+ export declare const SixTile: (props: JSX.SixTile & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
52
+ export declare const SixTimepicker: (props: JSX.SixTimepicker & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
53
+ export declare const SixTooltip: (props: JSX.SixTooltip & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
@@ -0,0 +1,532 @@
1
+ import { defineContainer } from './vue-component-lib/utils';
2
+ export const SixAlert = defineContainer('six-alert', undefined, [
3
+ 'open',
4
+ 'closable',
5
+ 'type',
6
+ 'duration',
7
+ 'six-alert-show',
8
+ 'six-alert-after-show',
9
+ 'six-alert-hide',
10
+ 'six-alert-after-hide'
11
+ ]);
12
+ export const SixAvatar = defineContainer('six-avatar', undefined, [
13
+ 'image',
14
+ 'alt',
15
+ 'initials',
16
+ 'shape'
17
+ ]);
18
+ export const SixBadge = defineContainer('six-badge', undefined, [
19
+ 'type',
20
+ 'pill',
21
+ 'pulse'
22
+ ]);
23
+ export const SixButton = defineContainer('six-button', undefined, [
24
+ 'type',
25
+ 'size',
26
+ 'caret',
27
+ 'disabled',
28
+ 'loading',
29
+ 'pill',
30
+ 'circle',
31
+ 'submit',
32
+ 'reset',
33
+ 'name',
34
+ 'value',
35
+ 'href',
36
+ 'target',
37
+ 'download',
38
+ 'six-button-blur',
39
+ 'six-button-focus'
40
+ ]);
41
+ export const SixCard = defineContainer('six-card', undefined);
42
+ export const SixCheckbox = defineContainer('six-checkbox', undefined, [
43
+ 'name',
44
+ 'value',
45
+ 'disabled',
46
+ 'required',
47
+ 'label',
48
+ 'errorText',
49
+ 'errorTextCount',
50
+ 'invalid',
51
+ 'checked',
52
+ 'indeterminate',
53
+ 'six-checkbox-blur',
54
+ 'six-checkbox-change',
55
+ 'six-checkbox-focus'
56
+ ], 'checked', 'change');
57
+ export const SixDatepicker = defineContainer('six-datepicker', undefined, [
58
+ 'type',
59
+ 'locale',
60
+ 'open',
61
+ 'inline',
62
+ 'readonly',
63
+ 'disabled',
64
+ 'allowedDates',
65
+ 'min',
66
+ 'max',
67
+ 'closeOnSelect',
68
+ 'placement',
69
+ 'size',
70
+ 'required',
71
+ 'defaultDate',
72
+ 'placeholder',
73
+ 'value',
74
+ 'label',
75
+ 'errorText',
76
+ 'errorTextCount',
77
+ 'invalid',
78
+ 'containingElement',
79
+ 'dateFormat',
80
+ 'debounce',
81
+ 'name',
82
+ 'clearable',
83
+ 'iconPosition',
84
+ 'hoist',
85
+ 'six-datepicker-select',
86
+ 'six-datepicker-clear',
87
+ 'six-datepicker-blur'
88
+ ], 'value', 'change');
89
+ export const SixDetails = defineContainer('six-details', undefined, [
90
+ 'open',
91
+ 'summary',
92
+ 'summaryIcon',
93
+ 'summaryIconSize',
94
+ 'disabled',
95
+ 'inline',
96
+ 'selectableEmpty',
97
+ 'hasContent',
98
+ 'six-details-show',
99
+ 'six-details-after-show',
100
+ 'six-details-hide',
101
+ 'six-details-after-hide'
102
+ ]);
103
+ export const SixDialog = defineContainer('six-dialog', undefined, [
104
+ 'open',
105
+ 'label',
106
+ 'noHeader',
107
+ 'six-dialog-show',
108
+ 'six-dialog-after-show',
109
+ 'six-dialog-hide',
110
+ 'six-dialog-after-hide',
111
+ 'six-dialog-initial-focus',
112
+ 'six-dialog-overlay-dismiss'
113
+ ]);
114
+ export const SixDrawer = defineContainer('six-drawer', undefined, [
115
+ 'open',
116
+ 'label',
117
+ 'placement',
118
+ 'contained',
119
+ 'noHeader',
120
+ 'six-drawer-show',
121
+ 'six-drawer-after-show',
122
+ 'six-drawer-hide',
123
+ 'six-drawer-after-hide',
124
+ 'six-drawer-initial-focus',
125
+ 'six-drawer-overlay-dismiss'
126
+ ]);
127
+ export const SixDropdown = defineContainer('six-dropdown', undefined, [
128
+ 'open',
129
+ 'placement',
130
+ 'closeOnSelect',
131
+ 'distance',
132
+ 'skidding',
133
+ 'hoist',
134
+ 'containingElement',
135
+ 'filter',
136
+ 'asyncFilter',
137
+ 'filterPlaceholder',
138
+ 'autofocusFilter',
139
+ 'filterDebounce',
140
+ 'disableHideOnEnterAndSpace',
141
+ 'options',
142
+ 'virtualScroll',
143
+ 'matchTriggerWidth',
144
+ 'six-dropdown-show',
145
+ 'six-dropdown-after-show',
146
+ 'six-dropdown-hide',
147
+ 'six-dropdown-after-hide',
148
+ 'six-dropdown-auto-filter-fired',
149
+ 'six-async-filter-fired',
150
+ 'six-dropdown-scroll'
151
+ ]);
152
+ export const SixError = defineContainer('six-error', undefined);
153
+ export const SixErrorPage = defineContainer('six-error-page', undefined, [
154
+ 'errorCode',
155
+ 'language',
156
+ 'customTitle',
157
+ 'customDescription',
158
+ 'customIcon'
159
+ ]);
160
+ export const SixFileList = defineContainer('six-file-list', undefined);
161
+ export const SixFileListItem = defineContainer('six-file-list-item', undefined, [
162
+ 'identifier',
163
+ 'name',
164
+ 'date',
165
+ 'size',
166
+ 'nodownload',
167
+ 'nodelete',
168
+ 'six-file-list-item-download',
169
+ 'six-file-list-item-remove'
170
+ ]);
171
+ export const SixFileUpload = defineContainer('six-file-upload', undefined, [
172
+ 'compact',
173
+ 'label',
174
+ 'disabled',
175
+ 'accept',
176
+ 'multiple',
177
+ 'maxFileSize',
178
+ 'six-file-upload-success',
179
+ 'six-file-upload-failure'
180
+ ]);
181
+ export const SixFooter = defineContainer('six-footer', undefined);
182
+ export const SixGroupLabel = defineContainer('six-group-label', undefined, [
183
+ 'size',
184
+ 'label',
185
+ 'helpText',
186
+ 'disabled',
187
+ 'required'
188
+ ]);
189
+ export const SixHeader = defineContainer('six-header', undefined, [
190
+ 'shiftContent',
191
+ 'hideHamburgerMenu',
192
+ 'openHamburgerMenu',
193
+ 'openSearch',
194
+ 'clickableLogo',
195
+ 'six-header-app-name-clicked',
196
+ 'six-header-app-switcher-select',
197
+ 'six-header-profile-select',
198
+ 'six-header-hamburger-menu-clicked',
199
+ 'six-header-logo-clicked',
200
+ 'six-header-search-field-toggle'
201
+ ]);
202
+ export const SixIcon = defineContainer('six-icon', undefined, [
203
+ 'size',
204
+ 'filled'
205
+ ]);
206
+ export const SixIconButton = defineContainer('six-icon-button', undefined, [
207
+ 'name',
208
+ 'size',
209
+ 'label',
210
+ 'disabled',
211
+ 'html'
212
+ ]);
213
+ export const SixInput = defineContainer('six-input', undefined, [
214
+ 'type',
215
+ 'size',
216
+ 'name',
217
+ 'value',
218
+ 'pill',
219
+ 'helpText',
220
+ 'placeholder',
221
+ 'disabled',
222
+ 'readonly',
223
+ 'minlength',
224
+ 'maxlength',
225
+ 'min',
226
+ 'max',
227
+ 'step',
228
+ 'pattern',
229
+ 'dropdownSearch',
230
+ 'required',
231
+ 'autocapitalize',
232
+ 'autocorrect',
233
+ 'autocomplete',
234
+ 'autofocus',
235
+ 'spellcheck',
236
+ 'label',
237
+ 'errorText',
238
+ 'errorTextCount',
239
+ 'invalid',
240
+ 'clearable',
241
+ 'togglePassword',
242
+ 'inputmode',
243
+ 'line',
244
+ 'six-input-change',
245
+ 'six-input-clear',
246
+ 'six-input-input',
247
+ 'six-input-focus',
248
+ 'six-input-blur'
249
+ ], 'value', 'input');
250
+ export const SixItemPicker = defineContainer('six-item-picker', undefined, [
251
+ 'value',
252
+ 'type',
253
+ 'min',
254
+ 'max',
255
+ 'roundtrip',
256
+ 'step',
257
+ 'items',
258
+ 'padded',
259
+ 'paddingLength',
260
+ 'paddingChar',
261
+ 'paddingDirection',
262
+ 'timeout',
263
+ 'interval',
264
+ 'debounce',
265
+ 'six-item-picker-change',
266
+ 'six-item-picker-change-debounced'
267
+ ]);
268
+ export const SixLanguageSwitcher = defineContainer('six-language-switcher', undefined, [
269
+ 'selected',
270
+ 'languages',
271
+ 'six-language-switcher-change'
272
+ ]);
273
+ export const SixLayoutGrid = defineContainer('six-layout-grid', undefined, [
274
+ 'columns'
275
+ ]);
276
+ export const SixMainContainer = defineContainer('six-main-container', undefined, [
277
+ 'padded'
278
+ ]);
279
+ export const SixMenu = defineContainer('six-menu', undefined, [
280
+ 'removeBoxShadow',
281
+ 'items',
282
+ 'itemsShown',
283
+ 'virtualScroll',
284
+ 'itemSize',
285
+ 'scrollingDebounce',
286
+ 'disableKeyboardHandling',
287
+ 'six-menu-item-selected'
288
+ ]);
289
+ export const SixMenuDivider = defineContainer('six-menu-divider', undefined);
290
+ export const SixMenuItem = defineContainer('six-menu-item', undefined, [
291
+ 'checkType',
292
+ 'checked',
293
+ 'value',
294
+ 'disabled'
295
+ ]);
296
+ export const SixMenuLabel = defineContainer('six-menu-label', undefined);
297
+ export const SixPicto = defineContainer('six-picto', undefined, [
298
+ 'size'
299
+ ]);
300
+ export const SixProgressBar = defineContainer('six-progress-bar', undefined, [
301
+ 'percentage',
302
+ 'indeterminate'
303
+ ]);
304
+ export const SixProgressRing = defineContainer('six-progress-ring', undefined, [
305
+ 'size',
306
+ 'strokeWidth',
307
+ 'percentage'
308
+ ]);
309
+ export const SixRadio = defineContainer('six-radio', undefined, [
310
+ 'name',
311
+ 'value',
312
+ 'disabled',
313
+ 'checked',
314
+ 'invalid',
315
+ 'six-radio-blur',
316
+ 'six-radio-change',
317
+ 'six-radio-focus'
318
+ ]);
319
+ export const SixRange = defineContainer('six-range', undefined, [
320
+ 'name',
321
+ 'value',
322
+ 'required',
323
+ 'helpText',
324
+ 'disabled',
325
+ 'label',
326
+ 'errorText',
327
+ 'errorTextCount',
328
+ 'invalid',
329
+ 'min',
330
+ 'max',
331
+ 'step',
332
+ 'tooltip',
333
+ 'tooltipFormatter',
334
+ 'six-range-change',
335
+ 'six-range-blur',
336
+ 'six-range-focus'
337
+ ], 'value', 'input');
338
+ export const SixRoot = defineContainer('six-root', undefined, [
339
+ 'padded',
340
+ 'stage',
341
+ 'version'
342
+ ]);
343
+ export const SixSearchField = defineContainer('six-search-field', undefined, [
344
+ 'placeholder',
345
+ 'debounce',
346
+ 'disabled',
347
+ 'value',
348
+ 'clearable',
349
+ 'six-search-field-change'
350
+ ]);
351
+ export const SixSelect = defineContainer('six-select', undefined, [
352
+ 'multiple',
353
+ 'selectAllButton',
354
+ 'selectAllText',
355
+ 'maxTagsVisible',
356
+ 'disabled',
357
+ 'name',
358
+ 'placeholder',
359
+ 'filterPlaceholder',
360
+ 'filterDebounce',
361
+ 'size',
362
+ 'hoist',
363
+ 'value',
364
+ 'pill',
365
+ 'helpText',
366
+ 'required',
367
+ 'clearable',
368
+ 'label',
369
+ 'errorText',
370
+ 'errorTextCount',
371
+ 'invalid',
372
+ 'line',
373
+ 'filter',
374
+ 'asyncFilter',
375
+ 'autocomplete',
376
+ 'inputDebounce',
377
+ 'options',
378
+ 'virtualScroll',
379
+ 'six-select-change',
380
+ 'six-select-focus',
381
+ 'six-select-blur'
382
+ ], 'value', 'change');
383
+ export const SixSidebar = defineContainer('six-sidebar', undefined, [
384
+ 'position',
385
+ 'open',
386
+ 'width',
387
+ 'toggled',
388
+ 'six-sidebar-show',
389
+ 'six-sidebar-after-show',
390
+ 'six-sidebar-hide',
391
+ 'six-sidebar-after-hide',
392
+ 'six-sidebar-initial-focus'
393
+ ]);
394
+ export const SixSidebarItem = defineContainer('six-sidebar-item', undefined, [
395
+ 'value',
396
+ 'selected',
397
+ 'disabled',
398
+ 'href'
399
+ ]);
400
+ export const SixSidebarItemGroup = defineContainer('six-sidebar-item-group', undefined, [
401
+ 'name',
402
+ 'icon',
403
+ 'value',
404
+ 'open',
405
+ 'summaryIcon',
406
+ 'href'
407
+ ]);
408
+ export const SixSpinner = defineContainer('six-spinner', undefined, [
409
+ 'six'
410
+ ]);
411
+ export const SixStageIndicator = defineContainer('six-stage-indicator', undefined, [
412
+ 'stage'
413
+ ]);
414
+ export const SixSwitch = defineContainer('six-switch', undefined, [
415
+ 'name',
416
+ 'value',
417
+ 'disabled',
418
+ 'required',
419
+ 'checked',
420
+ 'label',
421
+ 'errorText',
422
+ 'errorTextCount',
423
+ 'invalid',
424
+ 'six-switch-blur',
425
+ 'six-switch-change',
426
+ 'six-switch-focus'
427
+ ], 'checked', 'change');
428
+ export const SixTab = defineContainer('six-tab', undefined, [
429
+ 'panel',
430
+ 'active',
431
+ 'closable',
432
+ 'disabled',
433
+ 'six-tab-close'
434
+ ]);
435
+ export const SixTabGroup = defineContainer('six-tab-group', undefined, [
436
+ 'placement',
437
+ 'noScrollControls',
438
+ 'six-tab-show',
439
+ 'six-tab-hide'
440
+ ]);
441
+ export const SixTabPanel = defineContainer('six-tab-panel', undefined, [
442
+ 'name',
443
+ 'active'
444
+ ]);
445
+ export const SixTag = defineContainer('six-tag', undefined, [
446
+ 'type',
447
+ 'size',
448
+ 'pill',
449
+ 'clearable',
450
+ 'six-tag-clear'
451
+ ]);
452
+ export const SixTextarea = defineContainer('six-textarea', undefined, [
453
+ 'size',
454
+ 'name',
455
+ 'value',
456
+ 'helpText',
457
+ 'placeholder',
458
+ 'rows',
459
+ 'resize',
460
+ 'disabled',
461
+ 'readonly',
462
+ 'minlength',
463
+ 'maxlength',
464
+ 'required',
465
+ 'label',
466
+ 'errorText',
467
+ 'errorTextCount',
468
+ 'invalid',
469
+ 'autocapitalize',
470
+ 'autocorrect',
471
+ 'autocomplete',
472
+ 'autofocus',
473
+ 'spellcheck',
474
+ 'inputmode',
475
+ 'six-textarea-change',
476
+ 'six-textarea-input',
477
+ 'six-textarea-focus',
478
+ 'six-textarea-blur'
479
+ ], 'value', 'input');
480
+ export const SixTile = defineContainer('six-tile', undefined, [
481
+ 'label',
482
+ 'iconName',
483
+ 'closeable',
484
+ 'elevated',
485
+ 'disableTooltip',
486
+ 'disabled',
487
+ 'size',
488
+ 'six-tile-closed',
489
+ 'six-tile-selected'
490
+ ]);
491
+ export const SixTimepicker = defineContainer('six-timepicker', undefined, [
492
+ 'format',
493
+ 'separator',
494
+ 'value',
495
+ 'open',
496
+ 'inline',
497
+ 'readonly',
498
+ 'disabled',
499
+ 'placement',
500
+ 'size',
501
+ 'required',
502
+ 'placeholder',
503
+ 'errorText',
504
+ 'errorTextCount',
505
+ 'label',
506
+ 'invalid',
507
+ 'name',
508
+ 'clearable',
509
+ 'iconPosition',
510
+ 'hoist',
511
+ 'timeout',
512
+ 'interval',
513
+ 'defaultTime',
514
+ 'debounce',
515
+ 'six-timepicker-change',
516
+ 'six-timepicker-change-debounced',
517
+ 'six-timepicker-clear'
518
+ ]);
519
+ export const SixTooltip = defineContainer('six-tooltip', undefined, [
520
+ 'content',
521
+ 'placement',
522
+ 'disabled',
523
+ 'distance',
524
+ 'open',
525
+ 'skidding',
526
+ 'trigger',
527
+ 'six-tooltip-show',
528
+ 'six-tooltip-after-show',
529
+ 'six-tooltip-hide',
530
+ 'six-tooltip-after-hide'
531
+ ]);
532
+ //# sourceMappingURL=components.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/lib/stencil-generated/components.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAO5D,MAAM,CAAC,MAAM,QAAQ,GAAiB,eAAe,CAAe,WAAW,EAAE,SAAS,EAAE;IAC1F,MAAM;IACN,UAAU;IACV,MAAM;IACN,UAAU;IACV,gBAAgB;IAChB,sBAAsB;IACtB,gBAAgB;IAChB,sBAAsB;CACvB,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,SAAS,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,SAAS;IACT,kBAAkB;IAClB,wBAAwB;IACxB,kBAAkB;IAClB,wBAAwB;CACzB,CAAC,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) => (props: Props & InputProps<VModelType> & {}) => any;
@@ -0,0 +1,110 @@
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
+ modelPropValue = (e === null || e === void 0 ? void 0 : e.target)[modelProp];
32
+ emit(UPDATE_VALUE_EVENT, modelPropValue);
33
+ });
34
+ });
35
+ },
36
+ };
37
+ const currentInstance = getCurrentInstance();
38
+ const hasRouter = (_a = currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.appContext) === null || _a === void 0 ? void 0 : _a.provides[NAV_MANAGER];
39
+ const navManager = hasRouter ? inject(NAV_MANAGER) : undefined;
40
+ const handleRouterLink = (ev) => {
41
+ const { routerLink } = props;
42
+ if (routerLink === EMPTY_PROP)
43
+ return;
44
+ if (navManager !== undefined) {
45
+ let navigationPayload = { event: ev };
46
+ for (const key in props) {
47
+ const value = props[key];
48
+ if (props.hasOwnProperty(key) && key.startsWith(ROUTER_PROP_PREFIX) && value !== EMPTY_PROP) {
49
+ navigationPayload[key] = value;
50
+ }
51
+ }
52
+ navManager.navigate(navigationPayload);
53
+ }
54
+ else {
55
+ console.warn('Tried to navigate, but no router was found. Make sure you have mounted Vue Router.');
56
+ }
57
+ };
58
+ return () => {
59
+ modelPropValue = props[modelProp];
60
+ getComponentClasses(attrs.class).forEach((value) => {
61
+ classes.add(value);
62
+ });
63
+ const oldClick = props.onClick;
64
+ const handleClick = (ev) => {
65
+ if (oldClick !== undefined) {
66
+ oldClick(ev);
67
+ }
68
+ if (!ev.defaultPrevented) {
69
+ handleRouterLink(ev);
70
+ }
71
+ };
72
+ let propsToAdd = {
73
+ ref: containerRef,
74
+ class: getElementClasses(containerRef, classes),
75
+ onClick: handleClick,
76
+ };
77
+ for (const key in props) {
78
+ const value = props[key];
79
+ if ((props.hasOwnProperty(key) && value !== EMPTY_PROP) || key.startsWith(ARIA_PROP_PREFIX)) {
80
+ propsToAdd[key] = value;
81
+ }
82
+ }
83
+ if (modelProp) {
84
+ if (props[MODEL_VALUE] !== EMPTY_PROP) {
85
+ propsToAdd = Object.assign(Object.assign({}, propsToAdd), { [modelProp]: props[MODEL_VALUE] });
86
+ }
87
+ else if (modelPropValue !== EMPTY_PROP) {
88
+ propsToAdd = Object.assign(Object.assign({}, propsToAdd), { [modelProp]: modelPropValue });
89
+ }
90
+ }
91
+ const node = h(name, propsToAdd, slots.default && slots.default());
92
+ return modelProp === undefined ? node : withDirectives(node, [[vModelDirective]]);
93
+ };
94
+ });
95
+ if (typeof Container !== 'function') {
96
+ Container.name = name;
97
+ Container.props = {
98
+ [ROUTER_LINK_VALUE]: DEFAULT_EMPTY_PROP,
99
+ };
100
+ componentProps.forEach((componentProp) => {
101
+ Container.props[componentProp] = DEFAULT_EMPTY_PROP;
102
+ });
103
+ if (modelProp) {
104
+ Container.props[MODEL_VALUE] = DEFAULT_EMPTY_PROP;
105
+ Container.emits = [UPDATE_VALUE_EVENT];
106
+ }
107
+ }
108
+ return Container;
109
+ };
110
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/lib/stencil-generated/vue-component-lib/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAO,cAAc,EAAE,MAAM,KAAK,CAAC;AAM/F,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAC/C,MAAM,WAAW,GAAG,YAAY,CAAC;AACjC,MAAM,iBAAiB,GAAG,YAAY,CAAC;AACvC,MAAM,WAAW,GAAG,YAAY,CAAC;AACjC,MAAM,kBAAkB,GAAG,QAAQ,CAAC;AACpC,MAAM,gBAAgB,GAAG,MAAM,CAAC;AAUhC,MAAM,UAAU,GAAG,MAAM,EAAE,CAAC;AAC5B,MAAM,kBAAkB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AAMnD,MAAM,mBAAmB,GAAG,CAAC,OAAgB,EAAE,EAAE;IAC/C,OAAO,CAAC,OAAkB,aAAlB,OAAO,uBAAP,OAAO,CAAa,KAAK,CAAC,GAAG,CAAC,KAAI,EAAE,CAAC;AAC/C,CAAC,CAAC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D,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;YACnE,OAAO,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,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;QACnC,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;YACb,SAAS,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,kBAAkB,CAAC;YAClD,SAAS,CAAC,KAAK,GAAG,CAAC,kBAAkB,CAAC,CAAC;SACxC;KACF;IAED,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@six-group/ui-library-vue",
3
+ "version": "0.0.0-insider.012ddb2",
4
+ "description": "Vue wrapper components for @six-group/ui-library",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "scripts": {
11
+ "test": "echo \"Error: run tests from root\" && exit 1",
12
+ "build": "npm run tsc",
13
+ "tsc": "tsc -p . --outDir ./dist"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "peerDependencies": {
19
+ "@six-group/ui-library": "*"
20
+ },
21
+ "private": false,
22
+ "sideEffects": false,
23
+ "engines": {
24
+ "node": ">=16.0.0"
25
+ }
26
+ }