@avenirs-esr/avenirs-dsav 0.1.93 → 0.1.94

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.
@@ -1,6 +1,7 @@
1
1
  export declare const AvInputStub: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  modelValue: StringConstructor;
3
3
  label: StringConstructor;
4
+ labelClass: StringConstructor;
4
5
  placeholder: StringConstructor;
5
6
  isValid: BooleanConstructor;
6
7
  isTextarea: BooleanConstructor;
@@ -10,9 +11,11 @@ export declare const AvInputStub: import("vue").DefineComponent<import("vue").Ex
10
11
  maxlength: NumberConstructor;
11
12
  errorMessage: StringConstructor;
12
13
  prefixIcon: StringConstructor;
14
+ id: StringConstructor;
13
15
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
16
  modelValue: StringConstructor;
15
17
  label: StringConstructor;
18
+ labelClass: StringConstructor;
16
19
  placeholder: StringConstructor;
17
20
  isValid: BooleanConstructor;
18
21
  isTextarea: BooleanConstructor;
@@ -22,6 +25,7 @@ export declare const AvInputStub: import("vue").DefineComponent<import("vue").Ex
22
25
  maxlength: NumberConstructor;
23
26
  errorMessage: StringConstructor;
24
27
  prefixIcon: StringConstructor;
28
+ id: StringConstructor;
25
29
  }>> & Readonly<{
26
30
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
27
31
  }>, {
@@ -54,7 +54,7 @@
54
54
  />
55
55
  <label :for="id"><slot name="label">{{ label }}</slot></label>
56
56
  </div>
57
- `}),g=e.defineComponent({name:"AvInput",props:{modelValue:String,label:String,placeholder:String,isValid:Boolean,isTextarea:Boolean,labelVisible:Boolean,disabled:Boolean,required:Boolean,maxlength:Number,errorMessage:String,prefixIcon:String},emits:["update:modelValue"],template:'<input data-testid="av-input-stub" :value="modelValue" :placeholder="placeholder" :disabled="disabled" :required="required" :maxlength="maxlength" /><slot name="customCaptions" :current-value="modelValue" />'}),S=e.defineComponent({name:"AvList",props:["size"],template:`
57
+ `}),g=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,errorMessage:String,prefixIcon:String,id:String},emits:["update:modelValue"],template:'<input data-testid="av-input-stub" :value="modelValue" :placeholder="placeholder" :disabled="disabled" :required="required" :maxlength="maxlength" /><slot name="customCaptions" :current-value="modelValue" />'}),S=e.defineComponent({name:"AvList",props:["size"],template:`
58
58
  <div class="av-list-stub">
59
59
  <slot />
60
60
  </div>`}),A=e.defineComponent({name:"AvListItem",props:["clickable","hoverBackgroundColor","selected","icon","iconSize","iconColor","colorOnHover"],emits:["click"],template:`
@@ -74,7 +74,7 @@
74
74
  {{ option.label }}
75
75
  </button>
76
76
  </div>
77
- `}),h=e.defineComponent({name:"AvAutocomplete",props:["modelValue","options","loading","inputOptions","getOptionLabel","getOptionKey","multiSelect","serverSideFiltering","enableLoadMore","maxDropdownHeight"],emits:["update:modelValue","search","clear","loadMore"],template:`
77
+ `}),C=e.defineComponent({name:"AvAutocomplete",props:["modelValue","options","loading","inputOptions","getOptionLabel","getOptionKey","multiSelect","serverSideFiltering","enableLoadMore","maxDropdownHeight"],emits:["update:modelValue","search","clear","loadMore"],template:`
78
78
  <div class="av-autocomplete-stub">
79
79
  <slot
80
80
  name="item"
@@ -85,7 +85,7 @@
85
85
  :toggle="() => {}"
86
86
  />
87
87
  </div>
88
- `}),C=e.defineComponent({name:"AvSelect",props:{modelValue:[String,Number],options:Array,placeholder:String,dense:Boolean,required:Boolean,disabled:Boolean,hint:String,errorMessage:String,successMessage:String},emits:["update:modelValue"],template:`
88
+ `}),h=e.defineComponent({name:"AvSelect",props:{modelValue:[String,Number],options:Array,placeholder:String,dense:Boolean,required:Boolean,disabled:Boolean,hint:String,errorMessage:String,successMessage:String},emits:["update:modelValue"],template:`
89
89
  <select
90
90
  class="av-select-stub"
91
91
  :value="modelValue"
@@ -166,4 +166,4 @@
166
166
  <slot />
167
167
  <slot name="footer"></slot>
168
168
  </div>
169
- `});function T(){return{given(o,t){return describe(`🔵 GIVEN ${o}`,t),this},when(o,t){return describe(`🔶 WHEN ${o}`,t),this},and(o,t){return describe(`➕ AND ${o}`,t),this},then(o,t){return it(`🟩 THEN ${o}`,t),this}}}exports.AvAccordionStub=u;exports.AvAutocompleteStub=h;exports.AvBadgeStub=s;exports.AvBreadcrumbStub=x;exports.AvButtonStub=m;exports.AvCancelConfirmButtonsStub=v;exports.AvCheckboxStub=b;exports.AvDrawerStub=V;exports.AvDropdownStub=I;exports.AvFieldsetStub=d;exports.AvIconStub=r;exports.AvIconTextStub=p;exports.AvInputStub=g;exports.AvListItemStub=A;exports.AvListStub=S;exports.AvModalStub=L;exports.AvSelectStub=C;exports.AvSideNavigationStub=B;exports.AvStepperStub=y;exports.AvTagPickerStub=f;exports.AvTagStub=c;exports.AvToggleStub=k;exports.BddTest=T;
169
+ `});function T(){return{given(o,t){return describe(`🔵 GIVEN ${o}`,t),this},when(o,t){return describe(`🔶 WHEN ${o}`,t),this},and(o,t){return describe(`➕ AND ${o}`,t),this},then(o,t){return it(`🟩 THEN ${o}`,t),this}}}exports.AvAccordionStub=u;exports.AvAutocompleteStub=C;exports.AvBadgeStub=s;exports.AvBreadcrumbStub=x;exports.AvButtonStub=m;exports.AvCancelConfirmButtonsStub=v;exports.AvCheckboxStub=b;exports.AvDrawerStub=V;exports.AvDropdownStub=I;exports.AvFieldsetStub=d;exports.AvIconStub=r;exports.AvIconTextStub=p;exports.AvInputStub=g;exports.AvListItemStub=A;exports.AvListStub=S;exports.AvModalStub=L;exports.AvSelectStub=h;exports.AvSideNavigationStub=B;exports.AvStepperStub=y;exports.AvTagPickerStub=f;exports.AvTagStub=c;exports.AvToggleStub=k;exports.BddTest=T;
@@ -152,6 +152,7 @@ const v = e({
152
152
  props: {
153
153
  modelValue: String,
154
154
  label: String,
155
+ labelClass: String,
155
156
  placeholder: String,
156
157
  isValid: Boolean,
157
158
  isTextarea: Boolean,
@@ -160,7 +161,8 @@ const v = e({
160
161
  required: Boolean,
161
162
  maxlength: Number,
162
163
  errorMessage: String,
163
- prefixIcon: String
164
+ prefixIcon: String,
165
+ id: String
164
166
  },
165
167
  emits: ["update:modelValue"],
166
168
  template: '<input data-testid="av-input-stub" :value="modelValue" :placeholder="placeholder" :disabled="disabled" :required="required" :maxlength="maxlength" /><slot name="customCaptions" :current-value="modelValue" />'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@avenirs-esr/avenirs-dsav",
3
3
  "type": "module",
4
- "version": "0.1.93",
4
+ "version": "0.1.94",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/avenirs-esr/avenirs-dsav"