fds-vue-core 2.0.82 → 2.0.84
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/Form/FdsCheckbox/FdsCheckbox.vue.d.ts +2 -0
- package/dist/components/Form/FdsCheckbox/FdsCheckbox.vue.d.ts.map +1 -1
- package/dist/components/Form/FdsInput/FdsInput.vue.d.ts +1 -1
- package/dist/components/Form/FdsRadio/FdsRadio.vue.d.ts +2 -0
- package/dist/components/Form/FdsRadio/FdsRadio.vue.d.ts.map +1 -1
- package/dist/components/Form/FdsSelect/FdsSelect.vue.d.ts +1 -1
- package/dist/components/Form/FdsTextarea/FdsTextarea.vue.d.ts +1 -1
- package/dist/fds-vue-core.cjs.js +9 -4
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.css +1 -1
- package/dist/fds-vue-core.es.js +9 -4
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -11,9 +11,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
11
11
|
"update:modelValue": (value: boolean | (string | number)[]) => any;
|
|
12
12
|
} & {
|
|
13
13
|
change: (value: boolean) => any;
|
|
14
|
+
input: (value: boolean) => any;
|
|
14
15
|
"update:checked": (value: boolean) => any;
|
|
15
16
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
17
|
onChange?: (value: boolean) => any;
|
|
18
|
+
onInput?: (value: boolean) => any;
|
|
17
19
|
"onUpdate:checked"?: (value: boolean) => any;
|
|
18
20
|
"onUpdate:modelValue"?: (value: boolean | (string | number)[]) => any;
|
|
19
21
|
}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsCheckbox/FdsCheckbox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FdsCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsCheckbox/FdsCheckbox.vue"],"names":[],"mappings":"AA+JA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAS/C,KAAK,WAAW,GAAG,gBAAgB,CAAC;AA+HpC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;CAC7C,CAAC;AAiEF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAyB/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;4EAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -10,8 +10,8 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
10
10
|
clearInput: () => any;
|
|
11
11
|
"update:value": (value: string) => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
14
13
|
onInput?: (ev: Event) => any;
|
|
14
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
15
15
|
onClearInput?: () => any;
|
|
16
16
|
"onUpdate:value"?: (value: string) => any;
|
|
17
17
|
}>, {
|
|
@@ -11,9 +11,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
11
11
|
"update:modelValue": (value: string | number) => any;
|
|
12
12
|
} & {
|
|
13
13
|
change: (value: string | number) => any;
|
|
14
|
+
input: (value: string | number) => any;
|
|
14
15
|
"update:modelValue": (value: string | number) => any;
|
|
15
16
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
17
|
onChange?: (value: string | number) => any;
|
|
18
|
+
onInput?: (value: string | number) => any;
|
|
17
19
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
18
20
|
}>, {
|
|
19
21
|
required: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsRadio.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsRadio/FdsRadio.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FdsRadio.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsRadio/FdsRadio.vue"],"names":[],"mappings":"AA4FA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAK5C,KAAK,WAAW,GAAG,aAAa,CAAC;AA8DjC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B,CAAC;AAmEF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAyB/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;4EAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -15,8 +15,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
15
15
|
"update:value": (value: string) => any;
|
|
16
16
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
17
|
onChange?: (ev: Event) => any;
|
|
18
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
19
18
|
onInput?: (ev: Event) => any;
|
|
19
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
20
20
|
"onUpdate:value"?: (value: string) => any;
|
|
21
21
|
}>, {
|
|
22
22
|
label: string;
|
|
@@ -9,8 +9,8 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
input: (ev: Event) => any;
|
|
10
10
|
"update:value": (value: string) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
13
12
|
onInput?: (ev: Event) => any;
|
|
13
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
14
14
|
"onUpdate:value"?: (value: string) => any;
|
|
15
15
|
}>, {
|
|
16
16
|
label: string;
|
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -434,7 +434,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
434
434
|
} },
|
|
435
435
|
"modelModifiers": {}
|
|
436
436
|
}),
|
|
437
|
-
emits: /* @__PURE__ */ vue.mergeModels(["change", "update:checked"], ["update:modelValue"]),
|
|
437
|
+
emits: /* @__PURE__ */ vue.mergeModels(["change", "input", "update:checked"], ["update:modelValue"]),
|
|
438
438
|
setup(__props, { emit: __emit }) {
|
|
439
439
|
const modelValue = vue.useModel(__props, "modelValue");
|
|
440
440
|
const props = __props;
|
|
@@ -468,12 +468,14 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
468
468
|
if (modelValue.value === void 0) {
|
|
469
469
|
emit("update:checked", checked);
|
|
470
470
|
emit("change", checked);
|
|
471
|
+
emit("input", checked);
|
|
471
472
|
return;
|
|
472
473
|
}
|
|
473
474
|
if (Array.isArray(modelValue.value)) {
|
|
474
475
|
if (props.value === void 0) {
|
|
475
476
|
emit("update:checked", checked);
|
|
476
477
|
emit("change", checked);
|
|
478
|
+
emit("input", checked);
|
|
477
479
|
return;
|
|
478
480
|
}
|
|
479
481
|
const newArray = [...modelValue.value];
|
|
@@ -490,10 +492,12 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
490
492
|
modelValue.value = newArray;
|
|
491
493
|
emit("update:checked", checked);
|
|
492
494
|
emit("change", checked);
|
|
495
|
+
emit("input", checked);
|
|
493
496
|
} else {
|
|
494
497
|
modelValue.value = checked;
|
|
495
498
|
emit("update:checked", checked);
|
|
496
499
|
emit("change", checked);
|
|
500
|
+
emit("input", checked);
|
|
497
501
|
}
|
|
498
502
|
}
|
|
499
503
|
});
|
|
@@ -1158,7 +1162,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
1158
1162
|
"modelValue": { default: void 0, required: false },
|
|
1159
1163
|
"modelModifiers": {}
|
|
1160
1164
|
}),
|
|
1161
|
-
emits: /* @__PURE__ */ vue.mergeModels(["update:modelValue", "change"], ["update:modelValue"]),
|
|
1165
|
+
emits: /* @__PURE__ */ vue.mergeModels(["update:modelValue", "change", "input"], ["update:modelValue"]),
|
|
1162
1166
|
setup(__props, { emit: __emit }) {
|
|
1163
1167
|
const modelValue = vue.useModel(__props, "modelValue");
|
|
1164
1168
|
const props = __props;
|
|
@@ -1173,6 +1177,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
1173
1177
|
set(newChecked) {
|
|
1174
1178
|
emit("update:modelValue", newChecked);
|
|
1175
1179
|
emit("change", newChecked);
|
|
1180
|
+
emit("input", newChecked);
|
|
1176
1181
|
}
|
|
1177
1182
|
});
|
|
1178
1183
|
const wrapperClasses = vue.computed(() => ["block relative flex items-center mb-2 last:mb-0"]);
|
|
@@ -3308,8 +3313,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3308
3313
|
setup(__props) {
|
|
3309
3314
|
const props = __props;
|
|
3310
3315
|
const stickerClasses = vue.computed(() => [
|
|
3311
|
-
"inline-block font-bold text-sm leading-
|
|
3312
|
-
props.bullet ? "text-base! bg-transparent flex-wrap justify-start items-baseline text-base font-normal
|
|
3316
|
+
"inline-block font-bold text-sm leading-[18px] tracking-normal py-0.5 px-3 rounded-xl border border-transparent whitespace-nowrap max-w-full",
|
|
3317
|
+
props.bullet ? "text-base! bg-transparent flex-wrap justify-start items-baseline text-base font-normal text-gray-700 border-transparent p-0 mr-3" : "",
|
|
3313
3318
|
// Variant colors
|
|
3314
3319
|
props.variant === "blue" && !props.bullet && "bg-blue-600 text-white",
|
|
3315
3320
|
props.variant === "green" && !props.bullet && "bg-green-700 text-white",
|