@avenirs-esr/avenirs-dsav 0.1.129 → 0.1.130

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.
@@ -3,7 +3,7 @@ export declare const AvCardStub: import("vue").DefineComponent<import("vue").Ext
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
- baclgroundColor: {
6
+ backgroundColor: {
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
@@ -31,7 +31,7 @@ export declare const AvCardStub: import("vue").DefineComponent<import("vue").Ext
31
31
  type: BooleanConstructor;
32
32
  default: boolean;
33
33
  };
34
- baclgroundColor: {
34
+ backgroundColor: {
35
35
  type: StringConstructor;
36
36
  default: string;
37
37
  };
@@ -55,10 +55,10 @@ export declare const AvCardStub: import("vue").DefineComponent<import("vue").Ext
55
55
  default: boolean;
56
56
  };
57
57
  }>> & Readonly<{}>, {
58
+ backgroundColor: string;
58
59
  borderColor: string;
59
60
  titleOnly: boolean;
60
61
  titleBackground: string;
61
62
  collapsible: boolean;
62
63
  collapsed: boolean;
63
- baclgroundColor: string;
64
64
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -4,7 +4,14 @@
4
4
  :style="{ backgroundColor, borderColor, color }"
5
5
  >
6
6
  {{ label }}
7
- </div>`,props:{label:String,small:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!1},color:String,backgroundColor:String,borderColor:String,icon:String}}),c=e.defineComponent({name:"AvTag",template:'<div class="av-tag-stub" />',props:["label","link","tagName","icon","disabled","small","iconOnly","selectable","selected","value"]}),u=e.defineComponent({name:"AvFieldset",props:["id","legend","legendId","class","ariaLive"],template:"<fieldset><slot /></fieldset>"}),p=e.defineComponent({name:"AvIcon",props:["name","color","size","title","animation"],template:'<div class="av-vicon-stub" />'}),m=e.defineComponent({name:"AvIconText",template:'<div class="av-icon-text" />',props:["icon","text","icon-color","text-color"]}),v=e.defineComponent({name:"AvCard",props:{titleOnly:{type:Boolean,default:!1},baclgroundColor:{type:String,default:"var(--card)"},borderColor:{type:String,default:"var(--stroke)"},titleBackground:{type:String,default:"var(--surface-background)"},titleHeight:{type:String},collapsible:{type:Boolean,default:!1},collapsed:{type:Boolean,default:!1}},template:'<div class="av-card"><slot name="title" /><slot /></div>'}),b=e.defineComponent({name:"AvAccordion",props:["title","icon"],template:`
7
+ </div>`,props:{label:String,small:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!1},color:String,backgroundColor:String,borderColor:String,icon:String}}),c=e.defineComponent({name:"AvTag",template:'<div class="av-tag-stub" />',props:["label","link","tagName","icon","disabled","small","iconOnly","selectable","selected","value"]}),u=e.defineComponent({name:"AvFieldset",props:["id","legend","legendId","class","ariaLive"],template:"<fieldset><slot /></fieldset>"}),p=e.defineComponent({name:"AvIcon",props:["name","color","size","title","animation"],template:'<div class="av-vicon-stub" />'}),m=e.defineComponent({name:"AvIconText",template:'<div class="av-icon-text" />',props:["icon","text","icon-color","text-color"]}),v=e.defineComponent({name:"AvCard",props:{titleOnly:{type:Boolean,default:!1},backgroundColor:{type:String,default:"var(--card)"},borderColor:{type:String,default:"var(--stroke)"},titleBackground:{type:String,default:"var(--surface-background)"},titleHeight:{type:String},collapsible:{type:Boolean,default:!1},collapsed:{type:Boolean,default:!1}},template:`
8
+ <div class="av-card">
9
+ <slot name="title" />
10
+ <slot />
11
+ <slot name="body" />
12
+ <slot name="footer" />
13
+ </div>
14
+ `}),b=e.defineComponent({name:"AvAccordion",props:["title","icon"],template:`
8
15
  <div class="av-accordion">
9
16
  <button
10
17
  :ref="setTriggerRef"
@@ -63,13 +70,13 @@
63
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:`
64
71
  <div class="av-list-stub">
65
72
  <slot />
66
- </div>`}),x=e.defineComponent({name:"AvListItem",props:["hoverBackgroundColor","selected","icon","iconSize","iconColor","colorOnHover"],emits:["click"],template:`
73
+ </div>`}),k=e.defineComponent({name:"AvListItem",props:["hoverBackgroundColor","selected","icon","iconSize","iconColor","colorOnHover"],emits:["click"],template:`
67
74
  <div
68
75
  class="av-list-item-stub"
69
76
  @click="$emit('click')"
70
77
  >
71
78
  <slot />
72
- </div>`}),B=e.defineComponent({name:"AvTagPicker",props:["label","options","selected","handleSelectChange"],template:`
79
+ </div>`}),x=e.defineComponent({name:"AvTagPicker",props:["label","options","selected","handleSelectChange"],template:`
73
80
  <div class="av-tag-picker-stub">
74
81
  <button
75
82
  v-for="option in options"
@@ -80,7 +87,7 @@
80
87
  {{ option.label }}
81
88
  </button>
82
89
  </div>
83
- `}),k=e.defineComponent({name:"AvAutocomplete",props:["modelValue","options","loading","inputOptions","getOptionLabel","getOptionKey","multiSelect","serverSideFiltering","enableLoadMore","maxDropdownHeight"],emits:["update:modelValue","search","clear","loadMore"],template:`
90
+ `}),B=e.defineComponent({name:"AvAutocomplete",props:["modelValue","options","loading","inputOptions","getOptionLabel","getOptionKey","multiSelect","serverSideFiltering","enableLoadMore","maxDropdownHeight"],emits:["update:modelValue","search","clear","loadMore"],template:`
84
91
  <div class="av-autocomplete-stub">
85
92
  <slot
86
93
  name="item"
@@ -172,4 +179,4 @@
172
179
  <slot />
173
180
  <slot name="footer"></slot>
174
181
  </div>
175
- `});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=k;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=x;exports.AvListStub=y;exports.AvModalStub=N;exports.AvPeriodInputStub=h;exports.AvSelectStub=V;exports.AvSideNavigationStub=D;exports.AvStepperStub=w;exports.AvTabStub=T;exports.AvTabsStub=I;exports.AvTagPickerStub=B;exports.AvTagStub=c;exports.AvToggleStub=M;exports.BddTest=O;
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=T;exports.AvTabsStub=I;exports.AvTagPickerStub=x;exports.AvTagStub=c;exports.AvToggleStub=M;exports.BddTest=O;
@@ -56,14 +56,21 @@ const f = e({
56
56
  name: "AvCard",
57
57
  props: {
58
58
  titleOnly: { type: Boolean, default: !1 },
59
- baclgroundColor: { type: String, default: "var(--card)" },
59
+ backgroundColor: { type: String, default: "var(--card)" },
60
60
  borderColor: { type: String, default: "var(--stroke)" },
61
61
  titleBackground: { type: String, default: "var(--surface-background)" },
62
62
  titleHeight: { type: String },
63
63
  collapsible: { type: Boolean, default: !1 },
64
64
  collapsed: { type: Boolean, default: !1 }
65
65
  },
66
- template: '<div class="av-card"><slot name="title" /><slot /></div>'
66
+ template: `
67
+ <div class="av-card">
68
+ <slot name="title" />
69
+ <slot />
70
+ <slot name="body" />
71
+ <slot name="footer" />
72
+ </div>
73
+ `
67
74
  }), B = e({
68
75
  name: "AvAccordion",
69
76
  props: ["title", "icon"],
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.129",
4
+ "version": "0.1.130",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/avenirs-esr/avenirs-dsav"