@avenirs-esr/avenirs-dsav 0.1.59 → 0.1.61
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/dist/components/badges/AvBadge/AvBadge.stub.d.ts +2 -0
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stories.d.ts +2 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +404 -401
- package/dist/test-utils.cjs.js +6 -6
- package/dist/test-utils.es.js +6 -5
- package/dist/tokens/icons.d.ts +3 -0
- package/package.json +1 -1
package/dist/test-utils.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./injection-key.cjs.js");require("@vue/test-utils");const s=e.defineComponent({name:"AvBadge",template:'<div class="av-badge-stub"
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./injection-key.cjs.js");require("@vue/test-utils");const s=e.defineComponent({name:"AvBadge",template:'<div class="av-badge-stub"> {{ label }} </div>',props:{label:String,small:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!1},color:String,backgroundColor:String,borderColor:String,iconPath:String}}),c=e.defineComponent({name:"AvTag",template:'<div class="av-tag-stub" />',props:["label","link","tagName","icon","disabled","small","iconOnly","selectable","selected","value"]}),d=e.defineComponent({name:"AvFieldset",props:["id","legend","legendId","class","ariaLive"],template:"<fieldset><slot /></fieldset>"}),r=e.defineComponent({name:"AvIcon",props:["name","color","size","title","animation"],template:'<div class="av-vicon-stub" />'}),p=e.defineComponent({name:"AvAccordion",props:["title","icon"],template:`
|
|
2
2
|
<div class="av-accordion">
|
|
3
3
|
<button
|
|
4
4
|
class="fr-accordion__btn"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
@click="$emit('click')"
|
|
58
58
|
>
|
|
59
59
|
<slot />
|
|
60
|
-
</div>`}),
|
|
60
|
+
</div>`}),S=e.defineComponent({name:"AvTagPicker",props:["label","options","selected","handleSelectChange"],template:`
|
|
61
61
|
<div class="av-tag-picker-stub">
|
|
62
62
|
<button
|
|
63
63
|
v-for="option in options"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
{{ option.label }}
|
|
69
69
|
</button>
|
|
70
70
|
</div>
|
|
71
|
-
`}),
|
|
71
|
+
`}),A=e.defineComponent({name:"AvAutocomplete",props:["modelValue","options","loading","inputOptions","getOptionLabel","getOptionKey","multiSelect","serverSideFiltering","enableLoadMore","maxDropdownHeight"],emits:["update:modelValue","search","clear","loadMore"],template:`
|
|
72
72
|
<div class="av-autocomplete-stub">
|
|
73
73
|
<slot
|
|
74
74
|
name="item"
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
{{ option.text }}
|
|
100
100
|
</option>
|
|
101
101
|
</select>
|
|
102
|
-
`}),
|
|
102
|
+
`}),C=e.defineComponent({name:"AvToggle",props:["id","name","modelValue","description","activeText","inactiveText","disabled"],emits:["update:modelValue"],template:`
|
|
103
103
|
<div class="av-toggle">
|
|
104
104
|
<input
|
|
105
105
|
type="checkbox"
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
<span class="inactive-text">
|
|
118
118
|
{{ inactiveText }}
|
|
119
119
|
</span>
|
|
120
|
-
</div>`}),
|
|
120
|
+
</div>`}),k=e.defineComponent({name:"AvBreadcrumb",template:'<div class="av-breadcrumb-stub" />',props:["links","navigationLabel","showBreadcrumbLabel"]}),h=e.defineComponent({name:"AvSideNavigation",props:{items:Array,selectedItem:String,isSideMenuCollapsed:Boolean,collapsedWidth:String},emits:["update:selectedItem","update:isSideMenuCollapsed"],template:`
|
|
121
121
|
<div
|
|
122
122
|
class="av-side-navigation-stub"
|
|
123
123
|
@click="$emit('update:isSideMenuCollapsed', !isSideMenuCollapsed)"
|
|
@@ -149,4 +149,4 @@
|
|
|
149
149
|
{{ item.label }}
|
|
150
150
|
</button>
|
|
151
151
|
</div>
|
|
152
|
-
`});function L(){return{given(n,t){return describe(`🔵 GIVEN ${n}`,t),this},when(n,t){return describe(`🔶 WHEN ${n}`,t),this},and(n,t){return describe(`➕ AND ${n}`,t),this},then(n,t){return it(`🟩 THEN ${n}`,t),this}}}exports.AvAccordionStub=p;exports.AvAutocompleteStub=
|
|
152
|
+
`});function L(){return{given(n,t){return describe(`🔵 GIVEN ${n}`,t),this},when(n,t){return describe(`🔶 WHEN ${n}`,t),this},and(n,t){return describe(`➕ AND ${n}`,t),this},then(n,t){return it(`🟩 THEN ${n}`,t),this}}}exports.AvAccordionStub=p;exports.AvAutocompleteStub=A;exports.AvBadgeStub=s;exports.AvBreadcrumbStub=k;exports.AvButtonStub=u;exports.AvCancelConfirmButtonsStub=v;exports.AvCheckboxStub=m;exports.AvDrawerStub=y;exports.AvDropdownStub=B;exports.AvFieldsetStub=d;exports.AvIconStub=r;exports.AvListItemStub=g;exports.AvListStub=b;exports.AvSelectStub=f;exports.AvSideNavigationStub=h;exports.AvStepperStub=x;exports.AvTagPickerStub=S;exports.AvTagStub=c;exports.AvToggleStub=C;exports.BddTest=L;
|
package/dist/test-utils.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import { r as d } from "./injection-key.es.js";
|
|
|
3
3
|
import "@vue/test-utils";
|
|
4
4
|
const v = e({
|
|
5
5
|
name: "AvBadge",
|
|
6
|
-
template: '<div class="av-badge-stub"
|
|
6
|
+
template: '<div class="av-badge-stub"> {{ label }} </div>',
|
|
7
7
|
props: {
|
|
8
8
|
label: String,
|
|
9
9
|
small: {
|
|
@@ -16,6 +16,7 @@ const v = e({
|
|
|
16
16
|
},
|
|
17
17
|
color: String,
|
|
18
18
|
backgroundColor: String,
|
|
19
|
+
borderColor: String,
|
|
19
20
|
iconPath: String
|
|
20
21
|
}
|
|
21
22
|
}), b = e({
|
|
@@ -201,7 +202,7 @@ const v = e({
|
|
|
201
202
|
/>
|
|
202
203
|
</div>
|
|
203
204
|
`
|
|
204
|
-
}),
|
|
205
|
+
}), C = e({
|
|
205
206
|
name: "AvSelect",
|
|
206
207
|
props: {
|
|
207
208
|
modelValue: [String, Number],
|
|
@@ -231,7 +232,7 @@ const v = e({
|
|
|
231
232
|
</option>
|
|
232
233
|
</select>
|
|
233
234
|
`
|
|
234
|
-
}),
|
|
235
|
+
}), B = e({
|
|
235
236
|
name: "AvToggle",
|
|
236
237
|
props: ["id", "name", "modelValue", "description", "activeText", "inactiveText", "disabled"],
|
|
237
238
|
emits: ["update:modelValue"],
|
|
@@ -354,11 +355,11 @@ export {
|
|
|
354
355
|
A as AvIconStub,
|
|
355
356
|
y as AvListItemStub,
|
|
356
357
|
x as AvListStub,
|
|
357
|
-
|
|
358
|
+
C as AvSelectStub,
|
|
358
359
|
$ as AvSideNavigationStub,
|
|
359
360
|
I as AvStepperStub,
|
|
360
361
|
V as AvTagPickerStub,
|
|
361
362
|
b as AvTagStub,
|
|
362
|
-
|
|
363
|
+
B as AvToggleStub,
|
|
363
364
|
D as BddTest
|
|
364
365
|
};
|
package/dist/tokens/icons.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export declare const MDI_ICONS: {
|
|
|
6
6
|
ARROW_DECISION: string;
|
|
7
7
|
ARROW_LEFT_THIN: string;
|
|
8
8
|
ARROW_RIGHT: string;
|
|
9
|
+
ARROW_RIGHT_BOTTOM: string;
|
|
9
10
|
ARROW_RIGHT_THIN: string;
|
|
10
11
|
ARROW_TOP_RIGHT_THICK: string;
|
|
11
12
|
ATTACH_FILE: string;
|
|
@@ -24,6 +25,7 @@ export declare const MDI_ICONS: {
|
|
|
24
25
|
CHECKBOX_MARKED: string;
|
|
25
26
|
CHEVRON_DOUBLE_LEFT: string;
|
|
26
27
|
CHEVRON_DOUBLE_RIGHT: string;
|
|
28
|
+
CIRCLE: string;
|
|
27
29
|
CLOSE_CIRCLE_OUTLINE: string;
|
|
28
30
|
CONTENT_SAVE_OUTLINE: string;
|
|
29
31
|
DOTS_VERTICAL: string;
|
|
@@ -74,6 +76,7 @@ export declare const MDI_ICONS: {
|
|
|
74
76
|
export declare const RI_ICONS: {
|
|
75
77
|
DICE_1_LINE: string;
|
|
76
78
|
DICE_4_LINE: string;
|
|
79
|
+
LOADER_LINE: string;
|
|
77
80
|
};
|
|
78
81
|
/**
|
|
79
82
|
* contains icon as base64 to be used in img src or also for components that need iconPath
|