@avenirs-esr/avenirs-dsav 0.1.130 → 0.1.131
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.
|
@@ -17,6 +17,8 @@ export declare const AvPeriodInputStub: import("vue").DefineComponent<import("vu
|
|
|
17
17
|
startDateDisabled: BooleanConstructor;
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
labelVisible: BooleanConstructor;
|
|
20
|
+
startErrorMessage: StringConstructor;
|
|
21
|
+
endErrorMessage: StringConstructor;
|
|
20
22
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:startModelValue" | "update:endModelValue")[], "change" | "update:startModelValue" | "update:endModelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
23
|
id: StringConstructor;
|
|
22
24
|
label: StringConstructor;
|
|
@@ -36,6 +38,8 @@ export declare const AvPeriodInputStub: import("vue").DefineComponent<import("vu
|
|
|
36
38
|
startDateDisabled: BooleanConstructor;
|
|
37
39
|
type: StringConstructor;
|
|
38
40
|
labelVisible: BooleanConstructor;
|
|
41
|
+
startErrorMessage: StringConstructor;
|
|
42
|
+
endErrorMessage: StringConstructor;
|
|
39
43
|
}>> & Readonly<{
|
|
40
44
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
41
45
|
"onUpdate:startModelValue"?: ((...args: any[]) => any) | undefined;
|
package/dist/test-utils.cjs.js
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
<fieldset class="av-checkboxes-group-stub">
|
|
68
68
|
<slot />
|
|
69
69
|
</fieldset>
|
|
70
|
-
`}),C=e.defineComponent({name:"AvInput",props:{modelValue:String,label:String,labelClass:String,placeholder:String,isValid:Boolean,isTextarea:Boolean,labelVisible:Boolean,disabled:Boolean,required:Boolean,maxlength:Number,minlength:Number,errorMessage:String,validMessage:String,prefixIcon:String,id:String,descriptionId:String,hint:String,type:String,minDate:String,maxDate:String,width:String,noRadius:Boolean,modelModifiers:Object,textareaMinHeight:String,formatDateStr:String},emits:["update:modelValue"],template:`<input @input="$emit('update:modelValue', $event.target.value)" data-testid="av-input-stub" :value="modelValue" :placeholder="placeholder" :disabled="disabled" :required="required" :maxlength="maxlength" /><slot name="maxLengthCaption" :current-value="modelValue" />`}),h=e.defineComponent({name:"AvPeriodInput",props:{id:String,label:String,labelClass:String,startModelValue:String,endModelValue:String,startLabel:String,endLabel:String,width:String,startMinDate:Date,startMaxDate:Date,endMinDate:Date,endMaxDate:Date,stacked:Boolean,separatorSpacing:String,endDateDisabled:Boolean,startDateDisabled:Boolean,type:String,labelVisible:Boolean},emits:["update:startModelValue","update:endModelValue","change"],template:'<div class="av-period-input-stub" data-testid="av-period-input-stub" />'}),y=e.defineComponent({name:"AvList",props:["size"],template:`
|
|
70
|
+
`}),C=e.defineComponent({name:"AvInput",props:{modelValue:String,label:String,labelClass:String,placeholder:String,isValid:Boolean,isTextarea:Boolean,labelVisible:Boolean,disabled:Boolean,required:Boolean,maxlength:Number,minlength:Number,errorMessage:String,validMessage:String,prefixIcon:String,id:String,descriptionId:String,hint:String,type:String,minDate:String,maxDate:String,width:String,noRadius:Boolean,modelModifiers:Object,textareaMinHeight:String,formatDateStr:String},emits:["update:modelValue"],template:`<input @input="$emit('update:modelValue', $event.target.value)" data-testid="av-input-stub" :value="modelValue" :placeholder="placeholder" :disabled="disabled" :required="required" :maxlength="maxlength" /><slot name="maxLengthCaption" :current-value="modelValue" />`}),h=e.defineComponent({name:"AvPeriodInput",props:{id:String,label:String,labelClass:String,startModelValue:String,endModelValue:String,startLabel:String,endLabel:String,width:String,startMinDate:Date,startMaxDate:Date,endMinDate:Date,endMaxDate:Date,stacked:Boolean,separatorSpacing:String,endDateDisabled:Boolean,startDateDisabled:Boolean,type:String,labelVisible:Boolean,startErrorMessage:String,endErrorMessage:String},emits:["update:startModelValue","update:endModelValue","change"],template:'<div class="av-period-input-stub" data-testid="av-period-input-stub" />'}),y=e.defineComponent({name:"AvList",props:["size"],template:`
|
|
71
71
|
<div class="av-list-stub">
|
|
72
72
|
<slot />
|
|
73
73
|
</div>`}),k=e.defineComponent({name:"AvListItem",props:["hoverBackgroundColor","selected","icon","iconSize","iconColor","colorOnHover"],emits:["click"],template:`
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
<span v-if="errorMessage">{{ errorMessage }}</span>
|
|
124
124
|
<span v-if="!errorMessage && successMessage">{{ successMessage }}</span>
|
|
125
125
|
</select>
|
|
126
|
-
`}),
|
|
126
|
+
`}),M=e.defineComponent({name:"AvTab",props:{title:{type:String,required:!0},icon:{type:String,required:!1}},template:'<div class="av-tab"><slot /></div>'}),T=e.defineComponent({name:"AvTabs",props:{modelValue:{type:Number,default:0},ariaLabel:String,compact:Boolean},emits:["update:modelValue"],setup(a,{slots:t}){const o=e.computed(()=>{var n;return((n=t.default)==null?void 0:n.call(t))??[]}),i=e.computed(()=>a.modelValue??0);return()=>e.h("div",{class:"av-tabs"},o.value[i.value]??null)}}),I=e.defineComponent({name:"AvToggle",props:["id","name","modelValue","description","activeText","inactiveText","disabled"],emits:["update:modelValue"],template:`
|
|
127
127
|
<div class="av-toggle">
|
|
128
128
|
<input
|
|
129
129
|
type="checkbox"
|
|
@@ -179,4 +179,4 @@
|
|
|
179
179
|
<slot />
|
|
180
180
|
<slot name="footer"></slot>
|
|
181
181
|
</div>
|
|
182
|
-
`});function O(){return{given(a,t){return describe(`🔵 GIVEN ${a}`,t),this},when(a,t){return describe(`🔶 WHEN ${a}`,t),this},and(a,t){return describe(`➕ AND ${a}`,t),this},then(a,t){return it(`🟩 THEN ${a}`,t),this}}}exports.AvAccordionStub=b;exports.AvAutocompleteStub=B;exports.AvBadgeStub=d;exports.AvBreadcrumbStub=L;exports.AvButtonStub=g;exports.AvCancelConfirmButtonsStub=S;exports.AvCardStub=v;exports.AvCheckboxStub=f;exports.AvCheckboxesGroupStub=A;exports.AvDrawerStub=$;exports.AvDropdownStub=q;exports.AvFieldsetStub=u;exports.AvIconStub=p;exports.AvIconTextStub=m;exports.AvInputStub=C;exports.AvListItemStub=k;exports.AvListStub=y;exports.AvModalStub=N;exports.AvPeriodInputStub=h;exports.AvSelectStub=V;exports.AvSideNavigationStub=D;exports.AvStepperStub=w;exports.AvTabStub=
|
|
182
|
+
`});function O(){return{given(a,t){return describe(`🔵 GIVEN ${a}`,t),this},when(a,t){return describe(`🔶 WHEN ${a}`,t),this},and(a,t){return describe(`➕ AND ${a}`,t),this},then(a,t){return it(`🟩 THEN ${a}`,t),this}}}exports.AvAccordionStub=b;exports.AvAutocompleteStub=B;exports.AvBadgeStub=d;exports.AvBreadcrumbStub=L;exports.AvButtonStub=g;exports.AvCancelConfirmButtonsStub=S;exports.AvCardStub=v;exports.AvCheckboxStub=f;exports.AvCheckboxesGroupStub=A;exports.AvDrawerStub=$;exports.AvDropdownStub=q;exports.AvFieldsetStub=u;exports.AvIconStub=p;exports.AvIconTextStub=m;exports.AvInputStub=C;exports.AvListItemStub=k;exports.AvListStub=y;exports.AvModalStub=N;exports.AvPeriodInputStub=h;exports.AvSelectStub=V;exports.AvSideNavigationStub=D;exports.AvStepperStub=w;exports.AvTabStub=M;exports.AvTabsStub=T;exports.AvTagPickerStub=x;exports.AvTagStub=c;exports.AvToggleStub=I;exports.BddTest=O;
|
package/dist/test-utils.es.js
CHANGED
|
@@ -126,7 +126,7 @@ const f = e({
|
|
|
126
126
|
{{ label }}
|
|
127
127
|
</button>
|
|
128
128
|
`
|
|
129
|
-
}),
|
|
129
|
+
}), M = e({
|
|
130
130
|
name: "AvCancelConfirmButtons",
|
|
131
131
|
props: [
|
|
132
132
|
"cancelLabel",
|
|
@@ -155,7 +155,7 @@ const f = e({
|
|
|
155
155
|
</button>
|
|
156
156
|
</div>
|
|
157
157
|
`
|
|
158
|
-
}),
|
|
158
|
+
}), C = e({
|
|
159
159
|
name: "AvCheckbox",
|
|
160
160
|
props: {
|
|
161
161
|
id: { type: String, default: "" },
|
|
@@ -242,7 +242,9 @@ const f = e({
|
|
|
242
242
|
endDateDisabled: Boolean,
|
|
243
243
|
startDateDisabled: Boolean,
|
|
244
244
|
type: String,
|
|
245
|
-
labelVisible: Boolean
|
|
245
|
+
labelVisible: Boolean,
|
|
246
|
+
startErrorMessage: String,
|
|
247
|
+
endErrorMessage: String
|
|
246
248
|
},
|
|
247
249
|
emits: ["update:startModelValue", "update:endModelValue", "change"],
|
|
248
250
|
template: '<div class="av-period-input-stub" data-testid="av-period-input-stub" />'
|
|
@@ -384,7 +386,7 @@ const f = e({
|
|
|
384
386
|
}), i = s(() => a.modelValue ?? 0);
|
|
385
387
|
return () => u("div", { class: "av-tabs" }, l.value[i.value] ?? null);
|
|
386
388
|
}
|
|
387
|
-
}),
|
|
389
|
+
}), E = e({
|
|
388
390
|
name: "AvToggle",
|
|
389
391
|
props: ["id", "name", "modelValue", "description", "activeText", "inactiveText", "disabled"],
|
|
390
392
|
emits: ["update:modelValue"],
|
|
@@ -407,11 +409,11 @@ const f = e({
|
|
|
407
409
|
{{ inactiveText }}
|
|
408
410
|
</span>
|
|
409
411
|
</div>`
|
|
410
|
-
}),
|
|
412
|
+
}), H = e({
|
|
411
413
|
name: "AvBreadcrumb",
|
|
412
414
|
template: '<div class="av-breadcrumb-stub" />',
|
|
413
415
|
props: ["links", "navigationLabel", "showBreadcrumbLabel"]
|
|
414
|
-
}),
|
|
416
|
+
}), K = e({
|
|
415
417
|
name: "AvSideNavigation",
|
|
416
418
|
props: {
|
|
417
419
|
items: Array,
|
|
@@ -426,7 +428,7 @@ const f = e({
|
|
|
426
428
|
@click="$emit('update:isSideMenuCollapsed', !isSideMenuCollapsed)"
|
|
427
429
|
/>
|
|
428
430
|
`
|
|
429
|
-
}),
|
|
431
|
+
}), P = e({
|
|
430
432
|
name: "AvStepper",
|
|
431
433
|
props: {
|
|
432
434
|
steps: {
|
|
@@ -508,11 +510,11 @@ export {
|
|
|
508
510
|
B as AvAccordionStub,
|
|
509
511
|
N as AvAutocompleteStub,
|
|
510
512
|
f as AvBadgeStub,
|
|
511
|
-
|
|
513
|
+
H as AvBreadcrumbStub,
|
|
512
514
|
V as AvButtonStub,
|
|
513
|
-
|
|
515
|
+
M as AvCancelConfirmButtonsStub,
|
|
514
516
|
k as AvCardStub,
|
|
515
|
-
|
|
517
|
+
C as AvCheckboxStub,
|
|
516
518
|
I as AvCheckboxesGroupStub,
|
|
517
519
|
F as AvDrawerStub,
|
|
518
520
|
j as AvDropdownStub,
|
|
@@ -525,12 +527,12 @@ export {
|
|
|
525
527
|
z as AvModalStub,
|
|
526
528
|
D as AvPeriodInputStub,
|
|
527
529
|
q as AvSelectStub,
|
|
528
|
-
|
|
529
|
-
|
|
530
|
+
K as AvSideNavigationStub,
|
|
531
|
+
P as AvStepperStub,
|
|
530
532
|
O as AvTabStub,
|
|
531
533
|
R as AvTabsStub,
|
|
532
534
|
$ as AvTagPickerStub,
|
|
533
535
|
A as AvTagStub,
|
|
534
|
-
|
|
536
|
+
E as AvToggleStub,
|
|
535
537
|
G as BddTest
|
|
536
538
|
};
|