@xwiki/cristal-dsvuetify 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/api-extractor.json +4 -0
- package/dist/components/componentsInit.d.ts +3 -0
- package/dist/index-D8yc5V3N.js +22384 -0
- package/dist/index-D8yc5V3N.js.map +1 -0
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +8 -36
- package/dist/index.umd.js.map +1 -1
- package/dist/vue/form/x-form.vue.d.ts +58 -58
- package/dist/x-alert-DKgk3dOE.js +46 -0
- package/dist/{x-alert-Bqf5Ghy4.js.map → x-alert-DKgk3dOE.js.map} +1 -1
- package/dist/{x-avatar-DDWQUeZJ.js → x-avatar-WnkeGyHH.js} +5 -5
- package/dist/{x-avatar-DDWQUeZJ.js.map → x-avatar-WnkeGyHH.js.map} +1 -1
- package/dist/x-breadcrumb-DiDfmxr5.js +22 -0
- package/dist/{x-breadcrumb-Ca8UqeNm.js.map → x-breadcrumb-DiDfmxr5.js.map} +1 -1
- package/dist/x-btn-DzH2bk-f.js +50 -0
- package/dist/{x-btn-CEN-gSJs.js.map → x-btn-DzH2bk-f.js.map} +1 -1
- package/dist/x-card-BlUD5hbt.js +22 -0
- package/dist/{x-card-ywmTDQq1.js.map → x-card-BlUD5hbt.js.map} +1 -1
- package/dist/x-checkbox-EzA-ce8R.js +28 -0
- package/dist/{x-checkbox-DioEzg6D.js.map → x-checkbox-EzA-ce8R.js.map} +1 -1
- package/dist/{x-dialog-BR0aOJnF.js → x-dialog-CvZUbP80.js} +10 -10
- package/dist/{x-dialog-BR0aOJnF.js.map → x-dialog-CvZUbP80.js.map} +1 -1
- package/dist/x-divider-BOCxsH8h.js +12 -0
- package/dist/{x-divider-DdCNaWK9.js.map → x-divider-BOCxsH8h.js.map} +1 -1
- package/dist/x-file-input-7TdHHaG2.js +40 -0
- package/dist/{x-file-input-CR_baWpm.js.map → x-file-input-7TdHHaG2.js.map} +1 -1
- package/dist/x-form-DrjHf0um.js +33 -0
- package/dist/{x-form-DXezCfh2.js.map → x-form-DrjHf0um.js.map} +1 -1
- package/dist/{x-img-X-qoosGi.js → x-img-DWbVDNTs.js} +3 -3
- package/dist/{x-img-X-qoosGi.js.map → x-img-DWbVDNTs.js.map} +1 -1
- package/dist/x-load-Bw4ftl3k.js +11 -0
- package/dist/{x-load-CXDfm5l3.js.map → x-load-Bw4ftl3k.js.map} +1 -1
- package/dist/x-menu-CZMwPcag.js +31 -0
- package/dist/{x-menu-C7rglNy2.js.map → x-menu-CZMwPcag.js.map} +1 -1
- package/dist/x-menu-item-CBdOhZc3.js +22 -0
- package/dist/{x-menu-item-CCcPUrHX.js.map → x-menu-item-CBdOhZc3.js.map} +1 -1
- package/dist/x-menu-label-D-sFcG_g.js +17 -0
- package/dist/{x-menu-label-gVnEylDY.js.map → x-menu-label-D-sFcG_g.js.map} +1 -1
- package/dist/{x-navigation-tree-BNc0pKUi.js → x-navigation-tree-BcW_691Y.js} +27 -26
- package/dist/x-navigation-tree-BcW_691Y.js.map +1 -0
- package/dist/{x-navigation-tree-select-CHoauT-L.js → x-navigation-tree-select-_13SOFbP.js} +28 -27
- package/dist/x-navigation-tree-select-_13SOFbP.js.map +1 -0
- package/dist/x-search-C7GhoCKj.js +20 -0
- package/dist/{x-search-BgVWZd4f.js.map → x-search-C7GhoCKj.js.map} +1 -1
- package/dist/x-select-DnRsSLAX.js +39 -0
- package/dist/{x-select-bQRFdVPL.js.map → x-select-DnRsSLAX.js.map} +1 -1
- package/dist/x-tab-group-BfEaq8Nj.js +49 -0
- package/dist/x-tab-group-BfEaq8Nj.js.map +1 -0
- package/dist/x-tab-panel-DysgiPCz.js +22 -0
- package/dist/{x-tab-panel-DL228tOt.js.map → x-tab-panel-DysgiPCz.js.map} +1 -1
- package/dist/x-tab-vRrbUjdK.js +22 -0
- package/dist/{x-tab-CFwL72L6.js.map → x-tab-vRrbUjdK.js.map} +1 -1
- package/dist/{x-text-field-DtCbDE_F.js → x-text-field-BWaRETwR.js} +15 -14
- package/dist/{x-text-field-DtCbDE_F.js.map → x-text-field-BWaRETwR.js.map} +1 -1
- package/etc/cristal-dsvuetify.api.md +16 -0
- package/package.json +19 -18
- package/src/components/componentsInit.ts +3 -0
- package/src/vue/x-breadcrumb.vue +1 -1
- package/src/vue/x-tab-group.vue +2 -1
- package/src/vue/x-tab-panel.vue +1 -1
- package/src/vue/x-tab.vue +1 -1
- package/vitest.config.ts +1 -1
- package/dist/index-CPGfq5JL.js +0 -28214
- package/dist/index-CPGfq5JL.js.map +0 -1
- package/dist/x-alert-Bqf5Ghy4.js +0 -46
- package/dist/x-breadcrumb-Ca8UqeNm.js +0 -22
- package/dist/x-btn-CEN-gSJs.js +0 -50
- package/dist/x-card-ywmTDQq1.js +0 -22
- package/dist/x-checkbox-DioEzg6D.js +0 -27
- package/dist/x-divider-DdCNaWK9.js +0 -12
- package/dist/x-file-input-CR_baWpm.js +0 -39
- package/dist/x-form-DXezCfh2.js +0 -32
- package/dist/x-load-CXDfm5l3.js +0 -11
- package/dist/x-menu-C7rglNy2.js +0 -31
- package/dist/x-menu-item-CCcPUrHX.js +0 -22
- package/dist/x-menu-label-gVnEylDY.js +0 -17
- package/dist/x-navigation-tree-BNc0pKUi.js.map +0 -1
- package/dist/x-navigation-tree-select-CHoauT-L.js.map +0 -1
- package/dist/x-search-BgVWZd4f.js +0 -20
- package/dist/x-select-bQRFdVPL.js +0 -38
- package/dist/x-tab-CFwL72L6.js +0 -22
- package/dist/x-tab-group-Bs17utO_.js +0 -49
- package/dist/x-tab-group-Bs17utO_.js.map +0 -1
- package/dist/x-tab-panel-DL228tOt.js +0 -22
|
@@ -23,7 +23,7 @@ declare function __VLS_template(): {
|
|
|
23
23
|
errors: import('vue').Ref<{
|
|
24
24
|
id: number | string;
|
|
25
25
|
errorMessages: string[];
|
|
26
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
26
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
27
27
|
id: number | string;
|
|
28
28
|
errorMessages: string[];
|
|
29
29
|
}[]>;
|
|
@@ -41,7 +41,7 @@ declare function __VLS_template(): {
|
|
|
41
41
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
42
42
|
isValid: boolean | null;
|
|
43
43
|
errorMessages: string[];
|
|
44
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
44
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
45
45
|
id: number | string;
|
|
46
46
|
validate: () => Promise<string[]>;
|
|
47
47
|
reset: () => Promise<void>;
|
|
@@ -64,7 +64,7 @@ declare function __VLS_template(): {
|
|
|
64
64
|
errors: import('vue').Ref<{
|
|
65
65
|
id: number | string;
|
|
66
66
|
errorMessages: string[];
|
|
67
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
67
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
68
68
|
id: number | string;
|
|
69
69
|
errorMessages: string[];
|
|
70
70
|
}[]>;
|
|
@@ -82,7 +82,7 @@ declare function __VLS_template(): {
|
|
|
82
82
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
83
83
|
isValid: boolean | null;
|
|
84
84
|
errorMessages: string[];
|
|
85
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
85
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
86
86
|
id: number | string;
|
|
87
87
|
validate: () => Promise<string[]>;
|
|
88
88
|
reset: () => Promise<void>;
|
|
@@ -106,7 +106,7 @@ declare function __VLS_template(): {
|
|
|
106
106
|
errors: import('vue').Ref<{
|
|
107
107
|
id: number | string;
|
|
108
108
|
errorMessages: string[];
|
|
109
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
109
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
110
110
|
id: number | string;
|
|
111
111
|
errorMessages: string[];
|
|
112
112
|
}[]>;
|
|
@@ -124,7 +124,7 @@ declare function __VLS_template(): {
|
|
|
124
124
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
125
125
|
isValid: boolean | null;
|
|
126
126
|
errorMessages: string[];
|
|
127
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
127
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
128
128
|
id: number | string;
|
|
129
129
|
validate: () => Promise<string[]>;
|
|
130
130
|
reset: () => Promise<void>;
|
|
@@ -149,7 +149,7 @@ declare function __VLS_template(): {
|
|
|
149
149
|
errors: import('vue').Ref<{
|
|
150
150
|
id: number | string;
|
|
151
151
|
errorMessages: string[];
|
|
152
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
152
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
153
153
|
id: number | string;
|
|
154
154
|
errorMessages: string[];
|
|
155
155
|
}[]>;
|
|
@@ -167,7 +167,7 @@ declare function __VLS_template(): {
|
|
|
167
167
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
168
168
|
isValid: boolean | null;
|
|
169
169
|
errorMessages: string[];
|
|
170
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
170
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
171
171
|
id: number | string;
|
|
172
172
|
validate: () => Promise<string[]>;
|
|
173
173
|
reset: () => Promise<void>;
|
|
@@ -187,13 +187,13 @@ declare function __VLS_template(): {
|
|
|
187
187
|
resetValidation: () => void;
|
|
188
188
|
}) => import('vue').VNodeChild) | undefined;
|
|
189
189
|
} & {
|
|
190
|
-
onSubmit?: ((e: import('vuetify/lib/types').SubmitEventPromise) => any) | undefined;
|
|
190
|
+
onSubmit?: ((e: import('vuetify/lib/types.mjs').SubmitEventPromise) => any) | undefined;
|
|
191
191
|
"onUpdate:modelValue"?: ((val: boolean | null) => any) | undefined;
|
|
192
192
|
}, {
|
|
193
193
|
errors: import('vue').Ref<{
|
|
194
194
|
id: number | string;
|
|
195
195
|
errorMessages: string[];
|
|
196
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
196
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
197
197
|
id: number | string;
|
|
198
198
|
errorMessages: string[];
|
|
199
199
|
}[]>;
|
|
@@ -211,7 +211,7 @@ declare function __VLS_template(): {
|
|
|
211
211
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
212
212
|
isValid: boolean | null;
|
|
213
213
|
errorMessages: string[];
|
|
214
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
214
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
215
215
|
id: number | string;
|
|
216
216
|
validate: () => Promise<string[]>;
|
|
217
217
|
reset: () => Promise<void>;
|
|
@@ -234,7 +234,7 @@ declare function __VLS_template(): {
|
|
|
234
234
|
errors: import('vue').Ref<{
|
|
235
235
|
id: number | string;
|
|
236
236
|
errorMessages: string[];
|
|
237
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
237
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
238
238
|
id: number | string;
|
|
239
239
|
errorMessages: string[];
|
|
240
240
|
}[]>;
|
|
@@ -252,7 +252,7 @@ declare function __VLS_template(): {
|
|
|
252
252
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
253
253
|
isValid: boolean | null;
|
|
254
254
|
errorMessages: string[];
|
|
255
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
255
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
256
256
|
id: number | string;
|
|
257
257
|
validate: () => Promise<string[]>;
|
|
258
258
|
reset: () => Promise<void>;
|
|
@@ -273,7 +273,7 @@ declare function __VLS_template(): {
|
|
|
273
273
|
};
|
|
274
274
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
275
275
|
'update:modelValue': (val: boolean | null) => true;
|
|
276
|
-
submit: (e: import('vuetify/lib/types').SubmitEventPromise) => true;
|
|
276
|
+
submit: (e: import('vuetify/lib/types.mjs').SubmitEventPromise) => true;
|
|
277
277
|
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
278
278
|
style: import('vue').StyleValue;
|
|
279
279
|
disabled: boolean;
|
|
@@ -286,7 +286,7 @@ declare function __VLS_template(): {
|
|
|
286
286
|
errors: import('vue').Ref<{
|
|
287
287
|
id: number | string;
|
|
288
288
|
errorMessages: string[];
|
|
289
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
289
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
290
290
|
id: number | string;
|
|
291
291
|
errorMessages: string[];
|
|
292
292
|
}[]>;
|
|
@@ -304,7 +304,7 @@ declare function __VLS_template(): {
|
|
|
304
304
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
305
305
|
isValid: boolean | null;
|
|
306
306
|
errorMessages: string[];
|
|
307
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
307
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
308
308
|
id: number | string;
|
|
309
309
|
validate: () => Promise<string[]>;
|
|
310
310
|
reset: () => Promise<void>;
|
|
@@ -347,7 +347,7 @@ declare function __VLS_template(): {
|
|
|
347
347
|
errors: import('vue').Ref<{
|
|
348
348
|
id: number | string;
|
|
349
349
|
errorMessages: string[];
|
|
350
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
350
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
351
351
|
id: number | string;
|
|
352
352
|
errorMessages: string[];
|
|
353
353
|
}[]>;
|
|
@@ -365,7 +365,7 @@ declare function __VLS_template(): {
|
|
|
365
365
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
366
366
|
isValid: boolean | null;
|
|
367
367
|
errorMessages: string[];
|
|
368
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
368
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
369
369
|
id: number | string;
|
|
370
370
|
validate: () => Promise<string[]>;
|
|
371
371
|
reset: () => Promise<void>;
|
|
@@ -388,7 +388,7 @@ declare function __VLS_template(): {
|
|
|
388
388
|
errors: import('vue').Ref<{
|
|
389
389
|
id: number | string;
|
|
390
390
|
errorMessages: string[];
|
|
391
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
391
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
392
392
|
id: number | string;
|
|
393
393
|
errorMessages: string[];
|
|
394
394
|
}[]>;
|
|
@@ -406,7 +406,7 @@ declare function __VLS_template(): {
|
|
|
406
406
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
407
407
|
isValid: boolean | null;
|
|
408
408
|
errorMessages: string[];
|
|
409
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
409
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
410
410
|
id: number | string;
|
|
411
411
|
validate: () => Promise<string[]>;
|
|
412
412
|
reset: () => Promise<void>;
|
|
@@ -430,7 +430,7 @@ declare function __VLS_template(): {
|
|
|
430
430
|
errors: import('vue').Ref<{
|
|
431
431
|
id: number | string;
|
|
432
432
|
errorMessages: string[];
|
|
433
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
433
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
434
434
|
id: number | string;
|
|
435
435
|
errorMessages: string[];
|
|
436
436
|
}[]>;
|
|
@@ -448,7 +448,7 @@ declare function __VLS_template(): {
|
|
|
448
448
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
449
449
|
isValid: boolean | null;
|
|
450
450
|
errorMessages: string[];
|
|
451
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
451
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
452
452
|
id: number | string;
|
|
453
453
|
validate: () => Promise<string[]>;
|
|
454
454
|
reset: () => Promise<void>;
|
|
@@ -473,7 +473,7 @@ declare function __VLS_template(): {
|
|
|
473
473
|
errors: import('vue').Ref<{
|
|
474
474
|
id: number | string;
|
|
475
475
|
errorMessages: string[];
|
|
476
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
476
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
477
477
|
id: number | string;
|
|
478
478
|
errorMessages: string[];
|
|
479
479
|
}[]>;
|
|
@@ -491,7 +491,7 @@ declare function __VLS_template(): {
|
|
|
491
491
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
492
492
|
isValid: boolean | null;
|
|
493
493
|
errorMessages: string[];
|
|
494
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
494
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
495
495
|
id: number | string;
|
|
496
496
|
validate: () => Promise<string[]>;
|
|
497
497
|
reset: () => Promise<void>;
|
|
@@ -511,13 +511,13 @@ declare function __VLS_template(): {
|
|
|
511
511
|
resetValidation: () => void;
|
|
512
512
|
}) => import('vue').VNodeChild) | undefined;
|
|
513
513
|
} & {
|
|
514
|
-
onSubmit?: ((e: import('vuetify/lib/types').SubmitEventPromise) => any) | undefined;
|
|
514
|
+
onSubmit?: ((e: import('vuetify/lib/types.mjs').SubmitEventPromise) => any) | undefined;
|
|
515
515
|
"onUpdate:modelValue"?: ((val: boolean | null) => any) | undefined;
|
|
516
516
|
}, {
|
|
517
517
|
errors: import('vue').Ref<{
|
|
518
518
|
id: number | string;
|
|
519
519
|
errorMessages: string[];
|
|
520
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
520
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
521
521
|
id: number | string;
|
|
522
522
|
errorMessages: string[];
|
|
523
523
|
}[]>;
|
|
@@ -535,7 +535,7 @@ declare function __VLS_template(): {
|
|
|
535
535
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
536
536
|
isValid: boolean | null;
|
|
537
537
|
errorMessages: string[];
|
|
538
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
538
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
539
539
|
id: number | string;
|
|
540
540
|
validate: () => Promise<string[]>;
|
|
541
541
|
reset: () => Promise<void>;
|
|
@@ -558,7 +558,7 @@ declare function __VLS_template(): {
|
|
|
558
558
|
errors: import('vue').Ref<{
|
|
559
559
|
id: number | string;
|
|
560
560
|
errorMessages: string[];
|
|
561
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
561
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
562
562
|
id: number | string;
|
|
563
563
|
errorMessages: string[];
|
|
564
564
|
}[]>;
|
|
@@ -576,7 +576,7 @@ declare function __VLS_template(): {
|
|
|
576
576
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
577
577
|
isValid: boolean | null;
|
|
578
578
|
errorMessages: string[];
|
|
579
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
579
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
580
580
|
id: number | string;
|
|
581
581
|
validate: () => Promise<string[]>;
|
|
582
582
|
reset: () => Promise<void>;
|
|
@@ -631,7 +631,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
631
631
|
errors: import('vue').Ref<{
|
|
632
632
|
id: number | string;
|
|
633
633
|
errorMessages: string[];
|
|
634
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
634
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
635
635
|
id: number | string;
|
|
636
636
|
errorMessages: string[];
|
|
637
637
|
}[]>;
|
|
@@ -649,7 +649,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
649
649
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
650
650
|
isValid: boolean | null;
|
|
651
651
|
errorMessages: string[];
|
|
652
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
652
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
653
653
|
id: number | string;
|
|
654
654
|
validate: () => Promise<string[]>;
|
|
655
655
|
reset: () => Promise<void>;
|
|
@@ -672,7 +672,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
672
672
|
errors: import('vue').Ref<{
|
|
673
673
|
id: number | string;
|
|
674
674
|
errorMessages: string[];
|
|
675
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
675
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
676
676
|
id: number | string;
|
|
677
677
|
errorMessages: string[];
|
|
678
678
|
}[]>;
|
|
@@ -690,7 +690,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
690
690
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
691
691
|
isValid: boolean | null;
|
|
692
692
|
errorMessages: string[];
|
|
693
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
693
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
694
694
|
id: number | string;
|
|
695
695
|
validate: () => Promise<string[]>;
|
|
696
696
|
reset: () => Promise<void>;
|
|
@@ -714,7 +714,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
714
714
|
errors: import('vue').Ref<{
|
|
715
715
|
id: number | string;
|
|
716
716
|
errorMessages: string[];
|
|
717
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
717
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
718
718
|
id: number | string;
|
|
719
719
|
errorMessages: string[];
|
|
720
720
|
}[]>;
|
|
@@ -732,7 +732,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
732
732
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
733
733
|
isValid: boolean | null;
|
|
734
734
|
errorMessages: string[];
|
|
735
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
735
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
736
736
|
id: number | string;
|
|
737
737
|
validate: () => Promise<string[]>;
|
|
738
738
|
reset: () => Promise<void>;
|
|
@@ -757,7 +757,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
757
757
|
errors: import('vue').Ref<{
|
|
758
758
|
id: number | string;
|
|
759
759
|
errorMessages: string[];
|
|
760
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
760
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
761
761
|
id: number | string;
|
|
762
762
|
errorMessages: string[];
|
|
763
763
|
}[]>;
|
|
@@ -775,7 +775,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
775
775
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
776
776
|
isValid: boolean | null;
|
|
777
777
|
errorMessages: string[];
|
|
778
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
778
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
779
779
|
id: number | string;
|
|
780
780
|
validate: () => Promise<string[]>;
|
|
781
781
|
reset: () => Promise<void>;
|
|
@@ -795,13 +795,13 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
795
795
|
resetValidation: () => void;
|
|
796
796
|
}) => import('vue').VNodeChild) | undefined;
|
|
797
797
|
} & {
|
|
798
|
-
onSubmit?: ((e: import('vuetify/lib/types').SubmitEventPromise) => any) | undefined;
|
|
798
|
+
onSubmit?: ((e: import('vuetify/lib/types.mjs').SubmitEventPromise) => any) | undefined;
|
|
799
799
|
"onUpdate:modelValue"?: ((val: boolean | null) => any) | undefined;
|
|
800
800
|
}, {
|
|
801
801
|
errors: import('vue').Ref<{
|
|
802
802
|
id: number | string;
|
|
803
803
|
errorMessages: string[];
|
|
804
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
804
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
805
805
|
id: number | string;
|
|
806
806
|
errorMessages: string[];
|
|
807
807
|
}[]>;
|
|
@@ -819,7 +819,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
819
819
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
820
820
|
isValid: boolean | null;
|
|
821
821
|
errorMessages: string[];
|
|
822
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
822
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
823
823
|
id: number | string;
|
|
824
824
|
validate: () => Promise<string[]>;
|
|
825
825
|
reset: () => Promise<void>;
|
|
@@ -842,7 +842,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
842
842
|
errors: import('vue').Ref<{
|
|
843
843
|
id: number | string;
|
|
844
844
|
errorMessages: string[];
|
|
845
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
845
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
846
846
|
id: number | string;
|
|
847
847
|
errorMessages: string[];
|
|
848
848
|
}[]>;
|
|
@@ -860,7 +860,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
860
860
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
861
861
|
isValid: boolean | null;
|
|
862
862
|
errorMessages: string[];
|
|
863
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
863
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
864
864
|
id: number | string;
|
|
865
865
|
validate: () => Promise<string[]>;
|
|
866
866
|
reset: () => Promise<void>;
|
|
@@ -881,7 +881,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
881
881
|
};
|
|
882
882
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
883
883
|
'update:modelValue': (val: boolean | null) => true;
|
|
884
|
-
submit: (e: import('vuetify/lib/types').SubmitEventPromise) => true;
|
|
884
|
+
submit: (e: import('vuetify/lib/types.mjs').SubmitEventPromise) => true;
|
|
885
885
|
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
886
886
|
style: import('vue').StyleValue;
|
|
887
887
|
disabled: boolean;
|
|
@@ -894,7 +894,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
894
894
|
errors: import('vue').Ref<{
|
|
895
895
|
id: number | string;
|
|
896
896
|
errorMessages: string[];
|
|
897
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
897
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
898
898
|
id: number | string;
|
|
899
899
|
errorMessages: string[];
|
|
900
900
|
}[]>;
|
|
@@ -912,7 +912,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
912
912
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
913
913
|
isValid: boolean | null;
|
|
914
914
|
errorMessages: string[];
|
|
915
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
915
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
916
916
|
id: number | string;
|
|
917
917
|
validate: () => Promise<string[]>;
|
|
918
918
|
reset: () => Promise<void>;
|
|
@@ -955,7 +955,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
955
955
|
errors: import('vue').Ref<{
|
|
956
956
|
id: number | string;
|
|
957
957
|
errorMessages: string[];
|
|
958
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
958
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
959
959
|
id: number | string;
|
|
960
960
|
errorMessages: string[];
|
|
961
961
|
}[]>;
|
|
@@ -973,7 +973,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
973
973
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
974
974
|
isValid: boolean | null;
|
|
975
975
|
errorMessages: string[];
|
|
976
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
976
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
977
977
|
id: number | string;
|
|
978
978
|
validate: () => Promise<string[]>;
|
|
979
979
|
reset: () => Promise<void>;
|
|
@@ -996,7 +996,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
996
996
|
errors: import('vue').Ref<{
|
|
997
997
|
id: number | string;
|
|
998
998
|
errorMessages: string[];
|
|
999
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
999
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
1000
1000
|
id: number | string;
|
|
1001
1001
|
errorMessages: string[];
|
|
1002
1002
|
}[]>;
|
|
@@ -1014,7 +1014,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
1014
1014
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
1015
1015
|
isValid: boolean | null;
|
|
1016
1016
|
errorMessages: string[];
|
|
1017
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
1017
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
1018
1018
|
id: number | string;
|
|
1019
1019
|
validate: () => Promise<string[]>;
|
|
1020
1020
|
reset: () => Promise<void>;
|
|
@@ -1038,7 +1038,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
1038
1038
|
errors: import('vue').Ref<{
|
|
1039
1039
|
id: number | string;
|
|
1040
1040
|
errorMessages: string[];
|
|
1041
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
1041
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
1042
1042
|
id: number | string;
|
|
1043
1043
|
errorMessages: string[];
|
|
1044
1044
|
}[]>;
|
|
@@ -1056,7 +1056,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
1056
1056
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
1057
1057
|
isValid: boolean | null;
|
|
1058
1058
|
errorMessages: string[];
|
|
1059
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
1059
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
1060
1060
|
id: number | string;
|
|
1061
1061
|
validate: () => Promise<string[]>;
|
|
1062
1062
|
reset: () => Promise<void>;
|
|
@@ -1081,7 +1081,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
1081
1081
|
errors: import('vue').Ref<{
|
|
1082
1082
|
id: number | string;
|
|
1083
1083
|
errorMessages: string[];
|
|
1084
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
1084
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
1085
1085
|
id: number | string;
|
|
1086
1086
|
errorMessages: string[];
|
|
1087
1087
|
}[]>;
|
|
@@ -1099,7 +1099,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
1099
1099
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
1100
1100
|
isValid: boolean | null;
|
|
1101
1101
|
errorMessages: string[];
|
|
1102
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
1102
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
1103
1103
|
id: number | string;
|
|
1104
1104
|
validate: () => Promise<string[]>;
|
|
1105
1105
|
reset: () => Promise<void>;
|
|
@@ -1119,13 +1119,13 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
1119
1119
|
resetValidation: () => void;
|
|
1120
1120
|
}) => import('vue').VNodeChild) | undefined;
|
|
1121
1121
|
} & {
|
|
1122
|
-
onSubmit?: ((e: import('vuetify/lib/types').SubmitEventPromise) => any) | undefined;
|
|
1122
|
+
onSubmit?: ((e: import('vuetify/lib/types.mjs').SubmitEventPromise) => any) | undefined;
|
|
1123
1123
|
"onUpdate:modelValue"?: ((val: boolean | null) => any) | undefined;
|
|
1124
1124
|
}, {
|
|
1125
1125
|
errors: import('vue').Ref<{
|
|
1126
1126
|
id: number | string;
|
|
1127
1127
|
errorMessages: string[];
|
|
1128
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
1128
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
1129
1129
|
id: number | string;
|
|
1130
1130
|
errorMessages: string[];
|
|
1131
1131
|
}[]>;
|
|
@@ -1143,7 +1143,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
1143
1143
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
1144
1144
|
isValid: boolean | null;
|
|
1145
1145
|
errorMessages: string[];
|
|
1146
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
1146
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
1147
1147
|
id: number | string;
|
|
1148
1148
|
validate: () => Promise<string[]>;
|
|
1149
1149
|
reset: () => Promise<void>;
|
|
@@ -1166,7 +1166,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
1166
1166
|
errors: import('vue').Ref<{
|
|
1167
1167
|
id: number | string;
|
|
1168
1168
|
errorMessages: string[];
|
|
1169
|
-
}[], import('vuetify/lib/composables/form').FieldValidationResult[] | {
|
|
1169
|
+
}[], import('vuetify/lib/composables/form.mjs').FieldValidationResult[] | {
|
|
1170
1170
|
id: number | string;
|
|
1171
1171
|
errorMessages: string[];
|
|
1172
1172
|
}[]>;
|
|
@@ -1184,7 +1184,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
1184
1184
|
vm: import('vue').Raw<import('vue').ComponentInternalInstance>;
|
|
1185
1185
|
isValid: boolean | null;
|
|
1186
1186
|
errorMessages: string[];
|
|
1187
|
-
}[], import('vuetify/lib/composables/form').FormField[] | {
|
|
1187
|
+
}[], import('vuetify/lib/composables/form.mjs').FormField[] | {
|
|
1188
1188
|
id: number | string;
|
|
1189
1189
|
validate: () => Promise<string[]>;
|
|
1190
1190
|
reset: () => Promise<void>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent as d, resolveComponent as n, createBlock as a, openBlock as t, withCtx as r, createElementBlock as l, createCommentVNode as s, renderSlot as m, Fragment as _, renderList as u, createTextVNode as f, toDisplayString as i } from "vue";
|
|
2
|
+
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const k = { key: 0 }, y = { key: 1 }, v = /* @__PURE__ */ d({
|
|
4
|
+
__name: "x-alert",
|
|
5
|
+
props: {
|
|
6
|
+
title: {},
|
|
7
|
+
type: {},
|
|
8
|
+
description: {},
|
|
9
|
+
actions: {},
|
|
10
|
+
closable: { type: Boolean },
|
|
11
|
+
details: {}
|
|
12
|
+
},
|
|
13
|
+
setup(C) {
|
|
14
|
+
return (e, h) => {
|
|
15
|
+
const p = n("x-btn"), c = n("v-alert");
|
|
16
|
+
return t(), a(c, {
|
|
17
|
+
closable: e.closable,
|
|
18
|
+
title: e.title,
|
|
19
|
+
type: e.type,
|
|
20
|
+
text: e.description
|
|
21
|
+
}, {
|
|
22
|
+
default: r(() => [
|
|
23
|
+
(t(!0), l(_, null, u(e.actions, (o) => (t(), a(p, {
|
|
24
|
+
key: o.name,
|
|
25
|
+
size: "small",
|
|
26
|
+
variant: "text",
|
|
27
|
+
onClick: o.callback
|
|
28
|
+
}, {
|
|
29
|
+
default: r(() => [
|
|
30
|
+
f(i(o.name), 1)
|
|
31
|
+
]),
|
|
32
|
+
_: 2
|
|
33
|
+
}, 1032, ["onClick"]))), 128)),
|
|
34
|
+
e.details ? (t(), l("br", k)) : s("", !0),
|
|
35
|
+
e.details ? (t(), l("small", y, i(e.details), 1)) : s("", !0),
|
|
36
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
37
|
+
]),
|
|
38
|
+
_: 3
|
|
39
|
+
}, 8, ["closable", "title", "type", "text"]);
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
}), g = /* @__PURE__ */ b(v, [["__scopeId", "data-v-3b5794fd"]]);
|
|
43
|
+
export {
|
|
44
|
+
g as default
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=x-alert-DKgk3dOE.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-alert-
|
|
1
|
+
{"version":3,"file":"x-alert-DKgk3dOE.js","sources":["../src/vue/x-alert.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport type { AlertProps } from \"@xwiki/cristal-dsapi\";\n\ndefineProps<AlertProps>();\n</script>\n<template>\n <v-alert :closable=\"closable\" :title=\"title\" :type=\"type\" :text=\"description\">\n <x-btn\n v-for=\"action of actions\"\n :key=\"action.name\"\n size=\"small\"\n variant=\"text\"\n @click=\"action.callback\"\n >{{ action.name }}</x-btn\n >\n <br v-if=\"details\" />\n <small v-if=\"details\">{{ details }}</small>\n <slot />\n </v-alert>\n</template>\n\n<style scoped>\n:deep(.v-alert__content a.router-link-active),\n:deep(.v-alert__content a.router-link-active:visited) {\n color: inherit;\n text-decoration-color: inherit;\n}\n</style>\n"],"names":["_createBlock","_component_v_alert","closable","title","type","description","_createElementBlock","_Fragment","_renderList","actions","action","_component_x_btn","_createTextVNode","_toDisplayString","details","_hoisted_1","_openBlock","_renderSlot","_ctx"],"mappings":";;;;;;;;;;;;;;;kBAyBEA,EAYUC,GAAA;AAAA,QAZA,UAAUC,EAAAA;AAAAA,QAAW,OAAOC,EAAAA;AAAAA,QAAQ,MAAMC,EAAAA;AAAAA,QAAO,MAAMC,EAAAA;AAAAA,MAAAA;mBAE7D,MAAyB;AAAA,kBAD3BC,EAOCC,GAAA,MAAAC,EANkBC,EAAAA,SAAO,CAAjBC,YADTV,EAOCW,GAAA;AAAA,YALE,KAAKD,EAAO;AAAA,YACb,MAAK;AAAA,YACL,SAAQ;AAAA,YACP,SAAOA,EAAO;AAAA,UAAA;uBACd,MAAiB;AAAA,cAAdE,EAAAC,EAAAH,EAAO,IAAI,GAAA,CAAA;AAAA,YAAA;;;UAEPI,EAAAA,gBAAVR,EAAqB,MAAAS,CAAA;UACRD,EAAAA,WAAbE,EAAA,GAAAV,EAA2C,cAAlBQ,EAAAA,OAAO,GAAA,CAAA;UAChCG,EAAQC,EAAA,QAAA,WAAA,CAAA,GAAA,QAAA,EAAA;AAAA,QAAA;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent as r, resolveComponent as n, createBlock as o, openBlock as a, withCtx as m, createElementBlock as i, toDisplayString as p } from "vue";
|
|
2
2
|
const c = { key: 1 }, g = /* @__PURE__ */ r({
|
|
3
3
|
__name: "x-avatar",
|
|
4
4
|
props: {
|
|
@@ -8,10 +8,10 @@ const c = { key: 1 }, g = /* @__PURE__ */ r({
|
|
|
8
8
|
},
|
|
9
9
|
setup(l) {
|
|
10
10
|
return (e, _) => {
|
|
11
|
-
const
|
|
12
|
-
return a(),
|
|
11
|
+
const t = n("v-img"), s = n("v-avatar");
|
|
12
|
+
return a(), o(s, { size: e.size }, {
|
|
13
13
|
default: m(() => [
|
|
14
|
-
e.image ? (a(),
|
|
14
|
+
e.image ? (a(), o(t, {
|
|
15
15
|
key: 0,
|
|
16
16
|
alt: e.name,
|
|
17
17
|
src: e.image
|
|
@@ -25,4 +25,4 @@ const c = { key: 1 }, g = /* @__PURE__ */ r({
|
|
|
25
25
|
export {
|
|
26
26
|
g as default
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=x-avatar-
|
|
28
|
+
//# sourceMappingURL=x-avatar-WnkeGyHH.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-avatar-
|
|
1
|
+
{"version":3,"file":"x-avatar-WnkeGyHH.js","sources":["../src/vue/x-avatar.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script lang=\"ts\" setup>\nimport type { AvatarProps } from \"@xwiki/cristal-dsapi\";\n\ndefineProps<AvatarProps>();\n</script>\n<template>\n <v-avatar :size=\"size\">\n <v-img v-if=\"image\" :alt=\"name\" :src=\"image\"></v-img>\n <span v-else>{{ name }}</span>\n </v-avatar>\n</template>\n"],"names":["_createBlock","_component_v_avatar","size","image","_component_v_img","name","_openBlock","_createElementBlock"],"mappings":";;;;;;;;;;;kBAyBEA,EAGWC,GAAA,EAHA,MAAMC,EAAAA,QAAI;AAAA,mBACnB,MAAqD;AAAA,UAAxCC,EAAAA,cAAbH,EAAqDI,GAAA;AAAA;YAAhC,KAAKC,EAAAA;AAAAA,YAAO,KAAKF,EAAAA;AAAAA,UAAAA,gCACtCG,EAAA,GAAAC,EAA8B,aAAdF,EAAAA,IAAI,GAAA,CAAA;AAAA,QAAA;;;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent as m, computed as n, resolveComponent as a, createBlock as p, openBlock as _ } from "vue";
|
|
2
|
+
import { _ as u } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const i = /* @__PURE__ */ m({
|
|
4
|
+
__name: "x-breadcrumb",
|
|
5
|
+
props: {
|
|
6
|
+
items: {}
|
|
7
|
+
},
|
|
8
|
+
setup(r) {
|
|
9
|
+
const o = r, c = n(() => o.items.map(({ label: e, url: t }) => ({
|
|
10
|
+
title: e,
|
|
11
|
+
href: t
|
|
12
|
+
})));
|
|
13
|
+
return (e, t) => {
|
|
14
|
+
const s = a("v-breadcrumbs");
|
|
15
|
+
return _(), p(s, { items: c.value }, null, 8, ["items"]);
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}), l = /* @__PURE__ */ u(i, [["__scopeId", "data-v-98af5fcc"]]);
|
|
19
|
+
export {
|
|
20
|
+
l as default
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=x-breadcrumb-DiDfmxr5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-breadcrumb-
|
|
1
|
+
{"version":3,"file":"x-breadcrumb-DiDfmxr5.js","sources":["../src/vue/x-breadcrumb.vue"],"sourcesContent":["<!--\n See the LICENSE file distributed with this work for additional\n information regarding copyright ownership.\n\n This is free software; you can redistribute it and/or modify it\n under the terms of the GNU Lesser General Public License as\n published by the Free Software Foundation; either version 2.1 of\n the License, or (at your option) any later version.\n\n This software is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this software; if not, write to the Free\n Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport { computed } from \"vue\";\nimport type { BreadcrumbProps } from \"@xwiki/cristal-dsapi\";\n\nconst props = defineProps<BreadcrumbProps>();\n// Converts props items to the format expected by v-breadcrumbs\nconst items = computed(() => {\n return props.items.map(({ label, url }) => {\n return {\n title: label,\n href: url,\n };\n });\n});\n</script>\n\n<template>\n <v-breadcrumbs :items=\"items\"></v-breadcrumbs>\n</template>\n\n<style scoped>\n.v-breadcrumbs {\n padding: 0;\n}\n</style>\n"],"names":["props","__props","items","computed","label","url","_createBlock","_component_v_breadcrumbs"],"mappings":";;;;;;;;AAuBA,UAAMA,IAAQC,GAERC,IAAQC,EAAS,MACdH,EAAM,MAAM,IAAI,CAAC,EAAE,OAAAI,GAAO,KAAAC,SACxB;AAAA,MACL,OAAOD;AAAA,MACP,MAAMC;AAAA,IAAA,EAET,CACF;;;kBAICC,EAA8CC,GAAA,EAA9B,OAAOL,EAAA,MAAA,GAAK,MAAA,GAAA,CAAA,OAAA,CAAA;AAAA;;;"}
|