@quartzds/core-vue 1.0.0-beta.5 → 1.0.0-beta.51
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 +2 -2
- package/lib/generated/proxies.d.ts +17 -2
- package/lib/generated/proxies.d.ts.map +1 -1
- package/lib/generated/proxies.js +176 -3
- package/lib/generated/proxies.js.map +1 -1
- package/lib/generated/vue-component-lib/utils.d.ts +1 -3
- package/lib/generated/vue-component-lib/utils.d.ts.map +1 -1
- package/lib/generated/vue-component-lib/utils.js +23 -23
- package/lib/generated/vue-component-lib/utils.js.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +10 -7
package/README.md
CHANGED
|
@@ -1,13 +1,28 @@
|
|
|
1
1
|
import type { JSX } from '@quartzds/core/components';
|
|
2
2
|
export declare const QdsButton: (props: JSX.QdsButton & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
3
3
|
export declare const QdsCheckbox: (props: JSX.QdsCheckbox & import("./vue-component-lib/utils").InputProps<boolean> & {}) => any;
|
|
4
|
+
export declare const QdsChip: (props: JSX.QdsChip & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
5
|
+
export declare const QdsDialog: (props: JSX.QdsDialog & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
6
|
+
export declare const QdsDivider: (props: JSX.QdsDivider & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
4
7
|
export declare const QdsDropdown: (props: JSX.QdsDropdown & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
8
|
+
export declare const QdsFormMessage: (props: JSX.QdsFormMessage & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
5
9
|
export declare const QdsIcon: (props: JSX.QdsIcon & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
6
10
|
export declare const QdsInlineLink: (props: JSX.QdsInlineLink & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
7
|
-
export declare const QdsInput: (props: JSX.QdsInput & import("./vue-component-lib/utils").InputProps<import("@quartzds/core/components").
|
|
11
|
+
export declare const QdsInput: (props: JSX.QdsInput & import("./vue-component-lib/utils").InputProps<import("@quartzds/core/components").Value> & {}) => any;
|
|
8
12
|
export declare const QdsLabel: (props: JSX.QdsLabel & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
9
|
-
export declare const
|
|
13
|
+
export declare const QdsListItem: (props: JSX.QdsListItem & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
14
|
+
export declare const QdsNavListItem: (props: JSX.QdsNavListItem & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
15
|
+
export declare const QdsRadio: (props: JSX.QdsRadio & import("./vue-component-lib/utils").InputProps<boolean> & {}) => any;
|
|
16
|
+
export declare const QdsSelect: (props: JSX.QdsSelect & import("./vue-component-lib/utils").InputProps<string> & {}) => any;
|
|
17
|
+
export declare const QdsStandaloneLink: (props: JSX.QdsStandaloneLink & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
10
18
|
export declare const QdsSwitch: (props: JSX.QdsSwitch & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
19
|
+
export declare const QdsTable: (props: JSX.QdsTable & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
20
|
+
export declare const QdsTableBody: (props: JSX.QdsTableBody & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
21
|
+
export declare const QdsTableCell: (props: JSX.QdsTableCell & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
22
|
+
export declare const QdsTableHead: (props: JSX.QdsTableHead & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
23
|
+
export declare const QdsTableHeadCell: (props: JSX.QdsTableHeadCell & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
24
|
+
export declare const QdsTableRow: (props: JSX.QdsTableRow & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
25
|
+
export declare const QdsTextarea: (props: JSX.QdsTextarea & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
11
26
|
export declare const QdsTitle: (props: JSX.QdsTitle & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
12
27
|
export declare const QdsTooltip: (props: JSX.QdsTooltip & import("./vue-component-lib/utils").InputProps<string | number | boolean> & {}) => any;
|
|
13
28
|
//# sourceMappingURL=proxies.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proxies.d.ts","sourceRoot":"","sources":["../../src/generated/proxies.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"proxies.d.ts","sourceRoot":"","sources":["../../src/generated/proxies.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AA8BrD,eAAO,MAAM,SAAS,gHAuBpB,CAAC;AAGH,eAAO,MAAM,WAAW,gGAmBD,CAAC;AAGxB,eAAO,MAAM,OAAO,8GAgBlB,CAAC;AAGH,eAAO,MAAM,SAAS,gHAIpB,CAAC;AAGH,eAAO,MAAM,UAAU,iHAGrB,CAAC;AAGH,eAAO,MAAM,WAAW,kHAatB,CAAC;AAGH,eAAO,MAAM,cAAc,qHAKzB,CAAC;AAGH,eAAO,MAAM,OAAO,8GAKlB,CAAC;AAGH,eAAO,MAAM,aAAa,oHAWxB,CAAC;AAGH,eAAO,MAAM,QAAQ,+HAkCD,CAAC;AAGrB,eAAO,MAAM,QAAQ,+GAKnB,CAAC;AAGH,eAAO,MAAM,WAAW,kHAiBtB,CAAC;AAGH,eAAO,MAAM,cAAc,qHAWzB,CAAC;AAGH,eAAO,MAAM,QAAQ,6FAcE,CAAC;AAGxB,eAAO,MAAM,SAAS,6FAuBF,CAAC;AAGrB,eAAO,MAAM,iBAAiB,wHAc5B,CAAC;AAGH,eAAO,MAAM,SAAS,gHAkBpB,CAAC;AAGH,eAAO,MAAM,QAAQ,+GAA2E,CAAC;AAGjG,eAAO,MAAM,YAAY,mHAAwF,CAAC;AAGlH,eAAO,MAAM,YAAY,mHAGvB,CAAC;AAGH,eAAO,MAAM,YAAY,mHAAwF,CAAC;AAGlH,eAAO,MAAM,gBAAgB,uHAK3B,CAAC;AAGH,eAAO,MAAM,WAAW,kHAAqF,CAAC;AAG9G,eAAO,MAAM,WAAW,kHA8BtB,CAAC;AAGH,eAAO,MAAM,QAAQ,+GASnB,CAAC;AAGH,eAAO,MAAM,UAAU,iHAYrB,CAAC"}
|
package/lib/generated/proxies.js
CHANGED
|
@@ -4,21 +4,39 @@
|
|
|
4
4
|
import { defineContainer } from './vue-component-lib/utils';
|
|
5
5
|
import { defineCustomElement as defineQdsButton } from '@quartzds/core/components/qds-button.js';
|
|
6
6
|
import { defineCustomElement as defineQdsCheckbox } from '@quartzds/core/components/qds-checkbox.js';
|
|
7
|
+
import { defineCustomElement as defineQdsChip } from '@quartzds/core/components/qds-chip.js';
|
|
8
|
+
import { defineCustomElement as defineQdsDialog } from '@quartzds/core/components/qds-dialog.js';
|
|
9
|
+
import { defineCustomElement as defineQdsDivider } from '@quartzds/core/components/qds-divider.js';
|
|
7
10
|
import { defineCustomElement as defineQdsDropdown } from '@quartzds/core/components/qds-dropdown.js';
|
|
11
|
+
import { defineCustomElement as defineQdsFormMessage } from '@quartzds/core/components/qds-form-message.js';
|
|
8
12
|
import { defineCustomElement as defineQdsIcon } from '@quartzds/core/components/qds-icon.js';
|
|
9
13
|
import { defineCustomElement as defineQdsInlineLink } from '@quartzds/core/components/qds-inline-link.js';
|
|
10
14
|
import { defineCustomElement as defineQdsInput } from '@quartzds/core/components/qds-input.js';
|
|
11
15
|
import { defineCustomElement as defineQdsLabel } from '@quartzds/core/components/qds-label.js';
|
|
16
|
+
import { defineCustomElement as defineQdsListItem } from '@quartzds/core/components/qds-list-item.js';
|
|
17
|
+
import { defineCustomElement as defineQdsNavListItem } from '@quartzds/core/components/qds-nav-list-item.js';
|
|
12
18
|
import { defineCustomElement as defineQdsRadio } from '@quartzds/core/components/qds-radio.js';
|
|
19
|
+
import { defineCustomElement as defineQdsSelect } from '@quartzds/core/components/qds-select.js';
|
|
20
|
+
import { defineCustomElement as defineQdsStandaloneLink } from '@quartzds/core/components/qds-standalone-link.js';
|
|
13
21
|
import { defineCustomElement as defineQdsSwitch } from '@quartzds/core/components/qds-switch.js';
|
|
22
|
+
import { defineCustomElement as defineQdsTable } from '@quartzds/core/components/qds-table.js';
|
|
23
|
+
import { defineCustomElement as defineQdsTableBody } from '@quartzds/core/components/qds-table-body.js';
|
|
24
|
+
import { defineCustomElement as defineQdsTableCell } from '@quartzds/core/components/qds-table-cell.js';
|
|
25
|
+
import { defineCustomElement as defineQdsTableHead } from '@quartzds/core/components/qds-table-head.js';
|
|
26
|
+
import { defineCustomElement as defineQdsTableHeadCell } from '@quartzds/core/components/qds-table-head-cell.js';
|
|
27
|
+
import { defineCustomElement as defineQdsTableRow } from '@quartzds/core/components/qds-table-row.js';
|
|
28
|
+
import { defineCustomElement as defineQdsTextarea } from '@quartzds/core/components/qds-textarea.js';
|
|
14
29
|
import { defineCustomElement as defineQdsTitle } from '@quartzds/core/components/qds-title.js';
|
|
15
30
|
import { defineCustomElement as defineQdsTooltip } from '@quartzds/core/components/qds-tooltip.js';
|
|
16
31
|
export const QdsButton = /*@__PURE__*/ defineContainer('qds-button', defineQdsButton, [
|
|
32
|
+
'action',
|
|
33
|
+
'badge',
|
|
17
34
|
'iconName',
|
|
18
35
|
'iconLibrary',
|
|
19
36
|
'importance',
|
|
20
37
|
'size',
|
|
21
38
|
'text',
|
|
39
|
+
'variant',
|
|
22
40
|
'disabled',
|
|
23
41
|
'download',
|
|
24
42
|
'form',
|
|
@@ -45,11 +63,40 @@ export const QdsCheckbox = /*@__PURE__*/ defineContainer('qds-checkbox', defineQ
|
|
|
45
63
|
'indeterminate',
|
|
46
64
|
'name',
|
|
47
65
|
'required',
|
|
66
|
+
'validationMessage',
|
|
67
|
+
'validity',
|
|
48
68
|
'value',
|
|
69
|
+
'willValidate',
|
|
49
70
|
'qdsBlur',
|
|
50
71
|
'qdsChange',
|
|
51
72
|
'qdsFocus'
|
|
52
73
|
], 'checked', 'qdsChange');
|
|
74
|
+
export const QdsChip = /*@__PURE__*/ defineContainer('qds-chip', defineQdsChip, [
|
|
75
|
+
'iconName',
|
|
76
|
+
'iconLibrary',
|
|
77
|
+
'size',
|
|
78
|
+
'type',
|
|
79
|
+
'text',
|
|
80
|
+
'checked',
|
|
81
|
+
'form',
|
|
82
|
+
'disabled',
|
|
83
|
+
'name',
|
|
84
|
+
'autoFocus',
|
|
85
|
+
'value',
|
|
86
|
+
'qdsBlur',
|
|
87
|
+
'qdsFocus',
|
|
88
|
+
'qdsClose',
|
|
89
|
+
'qdsChange'
|
|
90
|
+
]);
|
|
91
|
+
export const QdsDialog = /*@__PURE__*/ defineContainer('qds-dialog', defineQdsDialog, [
|
|
92
|
+
'open',
|
|
93
|
+
'qdsCancel',
|
|
94
|
+
'qdsClose'
|
|
95
|
+
]);
|
|
96
|
+
export const QdsDivider = /*@__PURE__*/ defineContainer('qds-divider', defineQdsDivider, [
|
|
97
|
+
'importance',
|
|
98
|
+
'vertical'
|
|
99
|
+
]);
|
|
53
100
|
export const QdsDropdown = /*@__PURE__*/ defineContainer('qds-dropdown', defineQdsDropdown, [
|
|
54
101
|
'autoUpdateOptions',
|
|
55
102
|
'disabled',
|
|
@@ -64,6 +111,12 @@ export const QdsDropdown = /*@__PURE__*/ defineContainer('qds-dropdown', defineQ
|
|
|
64
111
|
'qdsCancel',
|
|
65
112
|
'qdsClose'
|
|
66
113
|
]);
|
|
114
|
+
export const QdsFormMessage = /*@__PURE__*/ defineContainer('qds-form-message', defineQdsFormMessage, [
|
|
115
|
+
'inline',
|
|
116
|
+
'size',
|
|
117
|
+
'status',
|
|
118
|
+
'text'
|
|
119
|
+
]);
|
|
67
120
|
export const QdsIcon = /*@__PURE__*/ defineContainer('qds-icon', defineQdsIcon, [
|
|
68
121
|
'name',
|
|
69
122
|
'library',
|
|
@@ -72,6 +125,7 @@ export const QdsIcon = /*@__PURE__*/ defineContainer('qds-icon', defineQdsIcon,
|
|
|
72
125
|
]);
|
|
73
126
|
export const QdsInlineLink = /*@__PURE__*/ defineContainer('qds-inline-link', defineQdsInlineLink, [
|
|
74
127
|
'disabled',
|
|
128
|
+
'importance',
|
|
75
129
|
'download',
|
|
76
130
|
'href',
|
|
77
131
|
'hreflang',
|
|
@@ -82,7 +136,6 @@ export const QdsInlineLink = /*@__PURE__*/ defineContainer('qds-inline-link', de
|
|
|
82
136
|
'qdsFocus'
|
|
83
137
|
]);
|
|
84
138
|
export const QdsInput = /*@__PURE__*/ defineContainer('qds-input', defineQdsInput, [
|
|
85
|
-
'invalid',
|
|
86
139
|
'size',
|
|
87
140
|
'autoCapitalize',
|
|
88
141
|
'autoComplete',
|
|
@@ -91,6 +144,7 @@ export const QdsInput = /*@__PURE__*/ defineContainer('qds-input', defineQdsInpu
|
|
|
91
144
|
'enterkeyhint',
|
|
92
145
|
'form',
|
|
93
146
|
'inputmode',
|
|
147
|
+
'labels',
|
|
94
148
|
'max',
|
|
95
149
|
'maxLength',
|
|
96
150
|
'min',
|
|
@@ -99,23 +153,58 @@ export const QdsInput = /*@__PURE__*/ defineContainer('qds-input', defineQdsInpu
|
|
|
99
153
|
'name',
|
|
100
154
|
'pattern',
|
|
101
155
|
'placeholder',
|
|
102
|
-
'readOnly',
|
|
103
156
|
'required',
|
|
157
|
+
'selectionDirection',
|
|
158
|
+
'selectionEnd',
|
|
159
|
+
'selectionStart',
|
|
104
160
|
'spellCheck',
|
|
105
161
|
'step',
|
|
106
162
|
'type',
|
|
163
|
+
'validationMessage',
|
|
164
|
+
'validity',
|
|
107
165
|
'value',
|
|
166
|
+
'willValidate',
|
|
108
167
|
'qdsBlur',
|
|
109
168
|
'qdsChange',
|
|
110
169
|
'qdsFocus',
|
|
111
170
|
'qdsInput'
|
|
112
|
-
], 'value', '
|
|
171
|
+
], 'value', 'qdsInput');
|
|
113
172
|
export const QdsLabel = /*@__PURE__*/ defineContainer('qds-label', defineQdsLabel, [
|
|
114
173
|
'inline',
|
|
115
174
|
'required',
|
|
116
175
|
'size',
|
|
117
176
|
'text'
|
|
118
177
|
]);
|
|
178
|
+
export const QdsListItem = /*@__PURE__*/ defineContainer('qds-list-item', defineQdsListItem, [
|
|
179
|
+
'destination',
|
|
180
|
+
'disabled',
|
|
181
|
+
'divider',
|
|
182
|
+
'iconName',
|
|
183
|
+
'iconLibrary',
|
|
184
|
+
'kicker',
|
|
185
|
+
'listAction',
|
|
186
|
+
'size',
|
|
187
|
+
'checked',
|
|
188
|
+
'selected',
|
|
189
|
+
'indeterminate',
|
|
190
|
+
'text',
|
|
191
|
+
'subtitle',
|
|
192
|
+
'qdsBlur',
|
|
193
|
+
'qdsChange',
|
|
194
|
+
'qdsFocus'
|
|
195
|
+
]);
|
|
196
|
+
export const QdsNavListItem = /*@__PURE__*/ defineContainer('qds-nav-list-item', defineQdsNavListItem, [
|
|
197
|
+
'collapsed',
|
|
198
|
+
'disabled',
|
|
199
|
+
'iconName',
|
|
200
|
+
'iconLibrary',
|
|
201
|
+
'size',
|
|
202
|
+
'selected',
|
|
203
|
+
'subtext',
|
|
204
|
+
'text',
|
|
205
|
+
'qdsBlur',
|
|
206
|
+
'qdsFocus'
|
|
207
|
+
]);
|
|
119
208
|
export const QdsRadio = /*@__PURE__*/ defineContainer('qds-radio', defineQdsRadio, [
|
|
120
209
|
'inline',
|
|
121
210
|
'size',
|
|
@@ -129,6 +218,44 @@ export const QdsRadio = /*@__PURE__*/ defineContainer('qds-radio', defineQdsRadi
|
|
|
129
218
|
'qdsBlur',
|
|
130
219
|
'qdsChange',
|
|
131
220
|
'qdsFocus'
|
|
221
|
+
], 'checked', 'qdsChange');
|
|
222
|
+
export const QdsSelect = /*@__PURE__*/ defineContainer('qds-select', defineQdsSelect, [
|
|
223
|
+
'size',
|
|
224
|
+
'autoComplete',
|
|
225
|
+
'autoFocus',
|
|
226
|
+
'disabled',
|
|
227
|
+
'form',
|
|
228
|
+
'length',
|
|
229
|
+
'multiple',
|
|
230
|
+
'name',
|
|
231
|
+
'options',
|
|
232
|
+
'required',
|
|
233
|
+
'selectedIndex',
|
|
234
|
+
'selectedOptions',
|
|
235
|
+
'type',
|
|
236
|
+
'validationMessage',
|
|
237
|
+
'validity',
|
|
238
|
+
'value',
|
|
239
|
+
'willValidate',
|
|
240
|
+
'qdsBlur',
|
|
241
|
+
'qdsChange',
|
|
242
|
+
'qdsFocus',
|
|
243
|
+
'qdsInput'
|
|
244
|
+
], 'value', 'qdsInput');
|
|
245
|
+
export const QdsStandaloneLink = /*@__PURE__*/ defineContainer('qds-standalone-link', defineQdsStandaloneLink, [
|
|
246
|
+
'disabled',
|
|
247
|
+
'iconName',
|
|
248
|
+
'iconLibrary',
|
|
249
|
+
'importance',
|
|
250
|
+
'size',
|
|
251
|
+
'download',
|
|
252
|
+
'href',
|
|
253
|
+
'hreflang',
|
|
254
|
+
'referrerPolicy',
|
|
255
|
+
'rel',
|
|
256
|
+
'target',
|
|
257
|
+
'qdsBlur',
|
|
258
|
+
'qdsFocus'
|
|
132
259
|
]);
|
|
133
260
|
export const QdsSwitch = /*@__PURE__*/ defineContainer('qds-switch', defineQdsSwitch, [
|
|
134
261
|
'inline',
|
|
@@ -149,7 +276,53 @@ export const QdsSwitch = /*@__PURE__*/ defineContainer('qds-switch', defineQdsSw
|
|
|
149
276
|
'qdsChange',
|
|
150
277
|
'qdsFocus'
|
|
151
278
|
]);
|
|
279
|
+
export const QdsTable = /*@__PURE__*/ defineContainer('qds-table', defineQdsTable);
|
|
280
|
+
export const QdsTableBody = /*@__PURE__*/ defineContainer('qds-table-body', defineQdsTableBody);
|
|
281
|
+
export const QdsTableCell = /*@__PURE__*/ defineContainer('qds-table-cell', defineQdsTableCell, [
|
|
282
|
+
'colSpan',
|
|
283
|
+
'rowSpan'
|
|
284
|
+
]);
|
|
285
|
+
export const QdsTableHead = /*@__PURE__*/ defineContainer('qds-table-head', defineQdsTableHead);
|
|
286
|
+
export const QdsTableHeadCell = /*@__PURE__*/ defineContainer('qds-table-head-cell', defineQdsTableHeadCell, [
|
|
287
|
+
'abbr',
|
|
288
|
+
'colSpan',
|
|
289
|
+
'rowSpan',
|
|
290
|
+
'scope'
|
|
291
|
+
]);
|
|
292
|
+
export const QdsTableRow = /*@__PURE__*/ defineContainer('qds-table-row', defineQdsTableRow);
|
|
293
|
+
export const QdsTextarea = /*@__PURE__*/ defineContainer('qds-textarea', defineQdsTextarea, [
|
|
294
|
+
'size',
|
|
295
|
+
'autoCapitalize',
|
|
296
|
+
'autoComplete',
|
|
297
|
+
'autoFocus',
|
|
298
|
+
'cols',
|
|
299
|
+
'disabled',
|
|
300
|
+
'enterkeyhint',
|
|
301
|
+
'form',
|
|
302
|
+
'inputmode',
|
|
303
|
+
'labels',
|
|
304
|
+
'maxLength',
|
|
305
|
+
'minLength',
|
|
306
|
+
'name',
|
|
307
|
+
'placeholder',
|
|
308
|
+
'required',
|
|
309
|
+
'rows',
|
|
310
|
+
'selectionDirection',
|
|
311
|
+
'selectionEnd',
|
|
312
|
+
'selectionStart',
|
|
313
|
+
'spellCheck',
|
|
314
|
+
'validationMessage',
|
|
315
|
+
'validity',
|
|
316
|
+
'value',
|
|
317
|
+
'willValidate',
|
|
318
|
+
'wrap',
|
|
319
|
+
'qdsBlur',
|
|
320
|
+
'qdsChange',
|
|
321
|
+
'qdsFocus',
|
|
322
|
+
'qdsInput'
|
|
323
|
+
]);
|
|
152
324
|
export const QdsTitle = /*@__PURE__*/ defineContainer('qds-title', defineQdsTitle, [
|
|
325
|
+
'variant',
|
|
153
326
|
'iconName',
|
|
154
327
|
'iconLibrary',
|
|
155
328
|
'kicker',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proxies.js","sourceRoot":"","sources":["../../src/generated/proxies.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,gCAAgC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAI5D,OAAO,EAAE,mBAAmB,IAAI,eAAe,EAAE,MAAM,yCAAyC,CAAC;AACjG,OAAO,EAAE,mBAAmB,IAAI,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AACrG,OAAO,EAAE,mBAAmB,IAAI,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AACrG,OAAO,EAAE,mBAAmB,IAAI,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAC7F,OAAO,EAAE,mBAAmB,IAAI,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAC1G,OAAO,EAAE,mBAAmB,IAAI,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAAE,mBAAmB,IAAI,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAAE,mBAAmB,IAAI,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAAE,mBAAmB,IAAI,eAAe,EAAE,MAAM,yCAAyC,CAAC;AACjG,OAAO,EAAE,mBAAmB,IAAI,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAAE,mBAAmB,IAAI,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAGnG,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,eAAe,CAAgB,YAAY,EAAE,eAAe,EAAE;IACnG,UAAU;IACV,aAAa;IACb,YAAY;IACZ,MAAM;IACN,MAAM;IACN,UAAU;IACV,UAAU;IACV,MAAM;IACN,YAAY;IACZ,YAAY;IACZ,gBAAgB;IAChB,YAAY;IACZ,MAAM;IACN,MAAM;IACN,QAAQ;IACR,MAAM;IACN,OAAO;IACP,SAAS;IACT,UAAU;CACX,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,eAAe,CAA8C,cAAc,EAAE,iBAAiB,EAAE;IACvI,QAAQ;IACR,MAAM;IACN,MAAM;IACN,WAAW;IACX,SAAS;IACT,UAAU;IACV,MAAM;IACN,eAAe;IACf,MAAM;IACN,UAAU;IACV,OAAO;IACP,SAAS;IACT,WAAW;IACX,UAAU;CACX,EACD,SAAS,EAAE,WAAW,CAAC,CAAC;AAGxB,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,eAAe,CAAkB,cAAc,EAAE,iBAAiB,EAAE;IAC3G,mBAAmB;IACnB,UAAU;IACV,aAAa;IACb,QAAQ;IACR,SAAS;IACT,eAAe;IACf,WAAW;IACX,cAAc;IACd,UAAU;IACV,QAAQ;IACR,WAAW;IACX,UAAU;CACX,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,eAAe,CAAc,UAAU,EAAE,aAAa,EAAE;IAC3F,MAAM;IACN,SAAS;IACT,SAAS;IACT,UAAU;CACX,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,eAAe,CAAoB,iBAAiB,EAAE,mBAAmB,EAAE;IACpH,UAAU;IACV,UAAU;IACV,MAAM;IACN,UAAU;IACV,gBAAgB;IAChB,KAAK;IACL,QAAQ;IACR,SAAS;IACT,UAAU;CACX,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,eAAe,CAAsC,WAAW,EAAE,cAAc,EAAE;IACtH,
|
|
1
|
+
{"version":3,"file":"proxies.js","sourceRoot":"","sources":["../../src/generated/proxies.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,gCAAgC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAI5D,OAAO,EAAE,m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,EAAE;IACvG,mBAAmB;IACnB,UAAU;IACV,aAAa;IACb,QAAQ;IACR,SAAS;IACT,eAAe;IACf,WAAW;IACX,cAAc;IACd,UAAU;IACV,QAAQ;IACR,UAAU;CACX,CAAC,CAAC"}
|
|
@@ -12,8 +12,6 @@ export interface InputProps<T> {
|
|
|
12
12
|
* to customElements.define. Only set if `includeImportCustomElements: true` in your config.
|
|
13
13
|
* @prop modelProp - The prop that v-model binds to (i.e. value)
|
|
14
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
15
|
*/
|
|
18
|
-
export declare const defineContainer: <Props, VModelType = string | number | boolean>(name: string, defineCustomElement: any, componentProps?: string[], modelProp?: string, modelUpdateEvent?: string
|
|
16
|
+
export declare const defineContainer: <Props, VModelType = string | number | boolean>(name: string, defineCustomElement: any, componentProps?: string[], modelProp?: string, modelUpdateEvent?: string) => (props: Props & InputProps<VModelType> & {}) => any;
|
|
19
17
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/generated/vue-component-lib/utils.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,UAAU,CAAC,EAAE,CAAC,CAAC;CAChB;AAsCD
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/generated/vue-component-lib/utils.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,UAAU,CAAC,EAAE,CAAC,CAAC;CAChB;AAsCD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,wDACpB,MAAM,uBACS,GAAG,mBACR,MAAM,EAAE,cACZ,MAAM,qBACC,MAAM,wDAgJ1B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
// It's easier and safer for Volar to disable typechecking and let the return type inference do its job.
|
|
3
|
-
import { defineComponent, getCurrentInstance, h, inject, ref } from 'vue';
|
|
3
|
+
import { defineComponent, getCurrentInstance, h, inject, ref, withDirectives } from 'vue';
|
|
4
4
|
const UPDATE_VALUE_EVENT = 'update:modelValue';
|
|
5
5
|
const MODEL_VALUE = 'modelValue';
|
|
6
6
|
const ROUTER_LINK_VALUE = 'routerLink';
|
|
@@ -35,10 +35,8 @@ const getElementClasses = (ref, componentClasses, defaultClasses = []) => {
|
|
|
35
35
|
* to customElements.define. Only set if `includeImportCustomElements: true` in your config.
|
|
36
36
|
* @prop modelProp - The prop that v-model binds to (i.e. value)
|
|
37
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
38
|
*/
|
|
41
|
-
export const defineContainer = (name, defineCustomElement, componentProps = [], modelProp, modelUpdateEvent
|
|
39
|
+
export const defineContainer = (name, defineCustomElement, componentProps = [], modelProp, modelUpdateEvent) => {
|
|
42
40
|
/**
|
|
43
41
|
* Create a Vue component wrapper around a Web Component.
|
|
44
42
|
* Note: The `props` here are not all properties on a component.
|
|
@@ -51,28 +49,26 @@ export const defineContainer = (name, defineCustomElement, componentProps = [],
|
|
|
51
49
|
let modelPropValue = props[modelProp];
|
|
52
50
|
const containerRef = ref();
|
|
53
51
|
const classes = new Set(getComponentClasses(attrs.class));
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
/**
|
|
53
|
+
* This directive is responsible for updating any reactive
|
|
54
|
+
* reference associated with v-model on the component.
|
|
55
|
+
* This code must be run inside of the "created" callback.
|
|
56
|
+
* Since the following listener callbacks as well as any potential
|
|
57
|
+
* event callback defined in the developer's app are set on
|
|
58
|
+
* the same element, we need to make sure the following callbacks
|
|
59
|
+
* are set first so they fire first. If the developer's callback fires first
|
|
60
|
+
* then the reactive reference will not have been updated yet.
|
|
61
|
+
*/
|
|
62
|
+
const vModelDirective = {
|
|
63
|
+
created: (el) => {
|
|
57
64
|
const eventsNames = Array.isArray(modelUpdateEvent) ? modelUpdateEvent : [modelUpdateEvent];
|
|
58
65
|
eventsNames.forEach((eventName) => {
|
|
59
|
-
|
|
66
|
+
el.addEventListener(eventName.toLowerCase(), (e) => {
|
|
60
67
|
modelPropValue = (e?.target)[modelProp];
|
|
61
68
|
emit(UPDATE_VALUE_EVENT, modelPropValue);
|
|
62
|
-
/**
|
|
63
|
-
* We need to emit the change event here
|
|
64
|
-
* rather than on the web component to ensure
|
|
65
|
-
* that any v-model bindings have been updated.
|
|
66
|
-
* Otherwise, the developer will listen on the
|
|
67
|
-
* native web component, but the v-model will
|
|
68
|
-
* not have been updated yet.
|
|
69
|
-
*/
|
|
70
|
-
if (externalModelUpdateEvent) {
|
|
71
|
-
emit(externalModelUpdateEvent, e);
|
|
72
|
-
}
|
|
73
69
|
});
|
|
74
70
|
});
|
|
75
|
-
}
|
|
71
|
+
},
|
|
76
72
|
};
|
|
77
73
|
const currentInstance = getCurrentInstance();
|
|
78
74
|
const hasRouter = currentInstance?.appContext?.provides[NAV_MANAGER];
|
|
@@ -113,7 +109,6 @@ export const defineContainer = (name, defineCustomElement, componentProps = [],
|
|
|
113
109
|
ref: containerRef,
|
|
114
110
|
class: getElementClasses(containerRef, classes),
|
|
115
111
|
onClick: handleClick,
|
|
116
|
-
onVnodeBeforeMount: modelUpdateEvent ? onVnodeBeforeMount : undefined,
|
|
117
112
|
};
|
|
118
113
|
/**
|
|
119
114
|
* We can use Object.entries here
|
|
@@ -147,7 +142,12 @@ export const defineContainer = (name, defineCustomElement, componentProps = [],
|
|
|
147
142
|
};
|
|
148
143
|
}
|
|
149
144
|
}
|
|
150
|
-
|
|
145
|
+
/**
|
|
146
|
+
* vModelDirective is only needed on components that support v-model.
|
|
147
|
+
* As a result, we conditionally call withDirectives with v-model components.
|
|
148
|
+
*/
|
|
149
|
+
const node = h(name, propsToAdd, slots.default && slots.default());
|
|
150
|
+
return modelProp === undefined ? node : withDirectives(node, [[vModelDirective]]);
|
|
151
151
|
};
|
|
152
152
|
});
|
|
153
153
|
if (typeof Container !== 'function') {
|
|
@@ -160,7 +160,7 @@ export const defineContainer = (name, defineCustomElement, componentProps = [],
|
|
|
160
160
|
});
|
|
161
161
|
if (modelProp) {
|
|
162
162
|
Container.props[MODEL_VALUE] = DEFAULT_EMPTY_PROP;
|
|
163
|
-
Container.emits = [UPDATE_VALUE_EVENT
|
|
163
|
+
Container.emits = [UPDATE_VALUE_EVENT];
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
return Container;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/generated/vue-component-lib/utils.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,wGAAwG;AACxG,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/generated/vue-component-lib/utils.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,wGAAwG;AACxG,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;AAChC;;;;;;;;GAQG;AACH,MAAM,UAAU,GAAG,MAAM,EAAE,CAAC;AAC5B,MAAM,kBAAkB,GAAG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@@ -1,6 +1,6 @@
|
|
|
1
|
-
// SPDX-FileCopyrightText: ©
|
|
1
|
+
// SPDX-FileCopyrightText: © 2024 Schneider Electric
|
|
2
2
|
//
|
|
3
|
-
// SPDX-License-Identifier:
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
export * from './generated/proxies';
|
|
5
5
|
export { getPlatform, getTheme, registerIconLibrary, setAssetPath, setNonce, setPlatform, setTheme, unregisterIconLibrary, } from '@quartzds/core';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,EAAE;AACF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,EAAE;AACF,sCAAsC;AAEtC,cAAc,qBAAqB,CAAA;AACnC,OAAO,EACL,WAAW,EACX,QAAQ,EAGR,mBAAmB,EACnB,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,qBAAqB,GACtB,MAAM,gBAAgB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quartzds/core-vue",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.51",
|
|
4
4
|
"description": "Vue wrapper for @quartzds/core",
|
|
5
5
|
"homepage": "https://github.com/quartzds/core-foundations/tree/main/packages/vue",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/quartzds/core-foundations/issues"
|
|
8
8
|
},
|
|
9
9
|
"repository": "https://github.com/quartzds/core-foundations",
|
|
10
|
-
"license": "
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
13
|
"types": "./lib/index.d.ts",
|
|
@@ -21,19 +21,22 @@
|
|
|
21
21
|
"lib/**"
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
|
-
"
|
|
24
|
+
"build": "tsc",
|
|
25
|
+
"clean": "rimraf .turbo/ lib/ node_modules/ tsconfig.tsbuildinfo",
|
|
26
|
+
"dev": "tsc --watch"
|
|
25
27
|
},
|
|
26
28
|
"dependencies": {
|
|
27
|
-
"@quartzds/core": "1.0.0-beta.
|
|
29
|
+
"@quartzds/core": "1.0.0-beta.48"
|
|
28
30
|
},
|
|
29
31
|
"devDependencies": {
|
|
30
|
-
"rimraf": "5.0.
|
|
31
|
-
"
|
|
32
|
+
"rimraf": "5.0.5",
|
|
33
|
+
"typescript": "5.3.3",
|
|
34
|
+
"vue": "3.4.15"
|
|
32
35
|
},
|
|
33
36
|
"peerDependencies": {
|
|
34
37
|
"vue": ">=3.0.0"
|
|
35
38
|
},
|
|
36
39
|
"engines": {
|
|
37
|
-
"node": "
|
|
40
|
+
"node": ">=18.12.0"
|
|
38
41
|
}
|
|
39
42
|
}
|