@avenirs-esr/avenirs-dsav 0.1.122 → 0.1.124
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/avenirs-dsav.css +1 -1
- package/dist/components/interaction/inputs/AvInput/AvInput.vue.d.ts +2 -2
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteInput.vue.d.ts +6 -6
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -5
- package/dist/test-utils.cjs.js +1 -1
- package/dist/test-utils.es.js +9 -9
- package/package.json +1 -1
- package/src/styles/core/_palette.scss +1 -1
package/dist/index.es.js
CHANGED
|
@@ -4276,9 +4276,9 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4276
4276
|
emits: ["update:modelValue"],
|
|
4277
4277
|
setup(e, { expose: t, emit: a }) {
|
|
4278
4278
|
re((T) => ({
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4279
|
+
v25007232: T.width,
|
|
4280
|
+
v8d48996a: r(v),
|
|
4281
|
+
v683177a0: T.textareaMinHeight
|
|
4282
4282
|
}));
|
|
4283
4283
|
const n = a, l = Xa(), i = I(() => e.id ?? `input-${crypto.randomUUID()}`), o = I(() => e.errorMessage ? Array.isArray(e.errorMessage) ? e.errorMessage : [e.errorMessage] : []), s = I(() => e.validMessage ? Array.isArray(e.validMessage) ? e.validMessage : [e.validMessage] : []), c = I(() => !!e.errorMessage), A = z(null), u = () => {
|
|
4284
4284
|
var T;
|
|
@@ -4361,7 +4361,8 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4361
4361
|
onClick: f
|
|
4362
4362
|
}), null, 16, ["class", "placeholder", "value"])) : L("", !0)
|
|
4363
4363
|
]),
|
|
4364
|
-
U(T.$slots, "
|
|
4364
|
+
e.disabled ? L("", !0) : U(T.$slots, "maxLengthCaption", {
|
|
4365
|
+
key: 0,
|
|
4365
4366
|
currentValue: e.modelValue,
|
|
4366
4367
|
maxlength: e.maxlength
|
|
4367
4368
|
}, () => {
|
|
@@ -4384,7 +4385,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4384
4385
|
], 2);
|
|
4385
4386
|
};
|
|
4386
4387
|
}
|
|
4387
|
-
}), qe = /* @__PURE__ */ P(no, [["__scopeId", "data-v-
|
|
4388
|
+
}), qe = /* @__PURE__ */ P(no, [["__scopeId", "data-v-9cca3bd6"]]), lo = ["for"], io = /* @__PURE__ */ p({
|
|
4388
4389
|
__name: "AvPeriodInput",
|
|
4389
4390
|
props: {
|
|
4390
4391
|
id: {},
|
package/dist/test-utils.cjs.js
CHANGED
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
<fieldset class="av-checkboxes-group-stub">
|
|
61
61
|
<slot />
|
|
62
62
|
</fieldset>
|
|
63
|
-
`}),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="
|
|
63
|
+
`}),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,disabled:Boolean,width:String,startMinDate:Date,startMaxDate:Date,endMinDate:Date,endMaxDate:Date,stacked:Boolean,separatorSpacing: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:`
|
|
64
64
|
<div class="av-list-stub">
|
|
65
65
|
<slot />
|
|
66
66
|
</div>`}),k=e.defineComponent({name:"AvListItem",props:["hoverBackgroundColor","selected","icon","iconSize","iconColor","colorOnHover"],emits:["click"],template:`
|
package/dist/test-utils.es.js
CHANGED
|
@@ -48,11 +48,11 @@ const f = e({
|
|
|
48
48
|
name: "AvIcon",
|
|
49
49
|
props: ["name", "color", "size", "title", "animation"],
|
|
50
50
|
template: '<div class="av-vicon-stub" />'
|
|
51
|
-
}),
|
|
51
|
+
}), x = e({
|
|
52
52
|
name: "AvIconText",
|
|
53
53
|
template: '<div class="av-icon-text" />',
|
|
54
54
|
props: ["icon", "text", "icon-color", "text-color"]
|
|
55
|
-
}),
|
|
55
|
+
}), k = e({
|
|
56
56
|
name: "AvCard",
|
|
57
57
|
props: {
|
|
58
58
|
titleOnly: { type: Boolean, default: !1 },
|
|
@@ -175,7 +175,7 @@ const f = e({
|
|
|
175
175
|
<label :for="id"><slot name="label">{{ label }}</slot></label>
|
|
176
176
|
</div>
|
|
177
177
|
`
|
|
178
|
-
}),
|
|
178
|
+
}), L = e({
|
|
179
179
|
name: "AvCheckboxesGroup",
|
|
180
180
|
props: ["modelValue", "options"],
|
|
181
181
|
emits: ["update:modelValue"],
|
|
@@ -184,7 +184,7 @@ const f = e({
|
|
|
184
184
|
<slot />
|
|
185
185
|
</fieldset>
|
|
186
186
|
`
|
|
187
|
-
}),
|
|
187
|
+
}), I = e({
|
|
188
188
|
name: "AvInput",
|
|
189
189
|
props: {
|
|
190
190
|
modelValue: String,
|
|
@@ -214,7 +214,7 @@ const f = e({
|
|
|
214
214
|
formatDateStr: String
|
|
215
215
|
},
|
|
216
216
|
emits: ["update:modelValue"],
|
|
217
|
-
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="
|
|
217
|
+
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" />`
|
|
218
218
|
}), T = e({
|
|
219
219
|
name: "AvPeriodInput",
|
|
220
220
|
props: {
|
|
@@ -499,15 +499,15 @@ export {
|
|
|
499
499
|
K as AvBreadcrumbStub,
|
|
500
500
|
V as AvButtonStub,
|
|
501
501
|
C as AvCancelConfirmButtonsStub,
|
|
502
|
-
|
|
502
|
+
k as AvCardStub,
|
|
503
503
|
M as AvCheckboxStub,
|
|
504
|
-
|
|
504
|
+
L as AvCheckboxesGroupStub,
|
|
505
505
|
F as AvDrawerStub,
|
|
506
506
|
j as AvDropdownStub,
|
|
507
507
|
h as AvFieldsetStub,
|
|
508
508
|
y as AvIconStub,
|
|
509
|
-
|
|
510
|
-
|
|
509
|
+
x as AvIconTextStub,
|
|
510
|
+
I as AvInputStub,
|
|
511
511
|
w as AvListItemStub,
|
|
512
512
|
D as AvListStub,
|
|
513
513
|
z as AvModalStub,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
--dark-foreground: #FAFAFAEB;
|
|
3
3
|
--dark-background-primary1: #000091;
|
|
4
4
|
--dark-background-primary2: #2853B4;
|
|
5
|
-
--dark-background-primary3: #
|
|
5
|
+
--dark-background-primary3: #317987;
|
|
6
6
|
--dark-background-accent: #C51473;
|
|
7
7
|
--dark-background-success: #166735;
|
|
8
8
|
--dark-background-info: #0057B0;
|