@avenirs-esr/avenirs-dsav 0.1.62 → 0.1.63

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.
@@ -11,7 +11,7 @@ export declare const AvBadgeStub: import("vue").DefineComponent<import("vue").Ex
11
11
  color: StringConstructor;
12
12
  backgroundColor: StringConstructor;
13
13
  borderColor: StringConstructor;
14
- iconPath: StringConstructor;
14
+ iconDataUrl: StringConstructor;
15
15
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  label: StringConstructor;
17
17
  small: {
@@ -25,7 +25,7 @@ export declare const AvBadgeStub: import("vue").DefineComponent<import("vue").Ex
25
25
  color: StringConstructor;
26
26
  backgroundColor: StringConstructor;
27
27
  borderColor: StringConstructor;
28
- iconPath: StringConstructor;
28
+ iconDataUrl: StringConstructor;
29
29
  }>> & Readonly<{}>, {
30
30
  small: boolean;
31
31
  ellipsis: boolean;
@@ -1,4 +1,10 @@
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:`
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:`
2
+ <div
3
+ class="av-badge-stub"
4
+ :style="{ backgroundColor, borderColor, color }
5
+ >
6
+ {{ label }}
7
+ </div>`,props:{label:String,small:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!1},color:String,backgroundColor:String,borderColor:String,iconDataUrl: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
8
  <div class="av-accordion">
3
9
  <button
4
10
  class="fr-accordion__btn"
@@ -9,7 +15,7 @@
9
15
  <slot />
10
16
  </button>
11
17
  </div>
12
- `,setup(n){const t=e.inject(l.registerAccordionKey);if(!t){const i=e.ref(!1);return{isActive:i,expand:()=>{i.value=!i.value}}}const{isActive:o,expand:a}=t(e.toRef(n,"title"));return{isActive:o,expand:a}}}),u=e.defineComponent({name:"AvButton",props:["label","variant","type","disabled","isLoading","size"],emits:["click"],template:`
18
+ `,setup(n){const t=e.inject(l.registerAccordionKey);if(!t){const o=e.ref(!1);return{isActive:o,expand:()=>{o.value=!o.value}}}const{isActive:i,expand:a}=t(e.toRef(n,"title"));return{isActive:i,expand:a}}}),u=e.defineComponent({name:"AvButton",props:["label","variant","type","disabled","isLoading","size"],emits:["click"],template:`
13
19
  <button
14
20
  class="av-button-stub"
15
21
  :disabled="disabled"
@@ -1,9 +1,15 @@
1
- import { defineComponent as e, inject as l, ref as s, toRef as c } from "vue";
1
+ import { defineComponent as e, inject as n, ref as s, toRef as c } from "vue";
2
2
  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"> {{ label }} </div>',
6
+ template: `
7
+ <div
8
+ class="av-badge-stub"
9
+ :style="{ backgroundColor, borderColor, color }
10
+ >
11
+ {{ label }}
12
+ </div>`,
7
13
  props: {
8
14
  label: String,
9
15
  small: {
@@ -17,7 +23,7 @@ const v = e({
17
23
  color: String,
18
24
  backgroundColor: String,
19
25
  borderColor: String,
20
- iconPath: String
26
+ iconDataUrl: String
21
27
  }
22
28
  }), b = e({
23
29
  name: "AvTag",
@@ -58,15 +64,15 @@ const v = e({
58
64
  </div>
59
65
  `,
60
66
  setup(a) {
61
- const t = l(d);
67
+ const t = n(d);
62
68
  if (!t) {
63
69
  const i = s(!1);
64
70
  return { isActive: i, expand: () => {
65
71
  i.value = !i.value;
66
72
  } };
67
73
  }
68
- const { isActive: o, expand: n } = t(c(a, "title"));
69
- return { isActive: o, expand: n };
74
+ const { isActive: o, expand: l } = t(c(a, "title"));
75
+ return { isActive: o, expand: l };
70
76
  }
71
77
  }), f = e({
72
78
  name: "AvButton",
@@ -155,7 +161,7 @@ const v = e({
155
161
  >
156
162
  <slot />
157
163
  </div>`
158
- }), V = e({
164
+ }), C = e({
159
165
  name: "AvTagPicker",
160
166
  props: [
161
167
  "label",
@@ -175,7 +181,7 @@ const v = e({
175
181
  </button>
176
182
  </div>
177
183
  `
178
- }), L = e({
184
+ }), V = e({
179
185
  name: "AvAutocomplete",
180
186
  props: [
181
187
  "modelValue",
@@ -202,7 +208,7 @@ const v = e({
202
208
  />
203
209
  </div>
204
210
  `
205
- }), C = e({
211
+ }), L = e({
206
212
  name: "AvSelect",
207
213
  props: {
208
214
  modelValue: [String, Number],
@@ -343,7 +349,7 @@ function D() {
343
349
  }
344
350
  export {
345
351
  S as AvAccordionStub,
346
- L as AvAutocompleteStub,
352
+ V as AvAutocompleteStub,
347
353
  v as AvBadgeStub,
348
354
  T as AvBreadcrumbStub,
349
355
  f as AvButtonStub,
@@ -355,10 +361,10 @@ export {
355
361
  A as AvIconStub,
356
362
  y as AvListItemStub,
357
363
  x as AvListStub,
358
- C as AvSelectStub,
364
+ L as AvSelectStub,
359
365
  $ as AvSideNavigationStub,
360
366
  I as AvStepperStub,
361
- V as AvTagPickerStub,
367
+ C as AvTagPickerStub,
362
368
  b as AvTagStub,
363
369
  B as AvToggleStub,
364
370
  D as BddTest
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.62",
4
+ "version": "0.1.63",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/avenirs-esr/avenirs-dsav"