@ouestfrance/sipa-bms-ui 8.0.1 → 8.1.0
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/BmsInputText.vue.d.ts +7 -1
- package/dist/components/form/BmsSearch.vue.d.ts +10 -2
- package/dist/components/form/RawAutocomplete.vue.d.ts +5 -1
- package/dist/components/form/RawInputText.vue.d.ts +2 -0
- package/dist/components/navigation/UiTenantSwitcher.vue.d.ts +10 -2
- package/dist/components/table/BmsTableFilters.vue.d.ts +10 -2
- package/dist/helpers/form.helper.d.ts +1 -0
- package/dist/helpers/form.helper.spec.d.ts +1 -0
- package/dist/sipa-bms-ui.css +13 -13
- package/dist/sipa-bms-ui.es.js +8 -6
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +8 -6
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/form/BmsInputText.spec.ts +12 -0
- package/src/components/form/BmsInputText.vue +8 -2
- package/src/components/form/RawInputText.vue +2 -0
- package/src/helpers/form.helper.spec.ts +33 -0
- package/src/helpers/form.helper.ts +2 -0
- package/src/showroom/pages/forms.vue +27 -0
package/dist/sipa-bms-ui.umd.js
CHANGED
|
@@ -36762,7 +36762,7 @@
|
|
|
36762
36762
|
type: { default: InputType.TEXT },
|
|
36763
36763
|
errors: {}
|
|
36764
36764
|
},
|
|
36765
|
-
emits: ["update:modelValue", "update:focus", "keyUp", "keyDown", "keyEnter"],
|
|
36765
|
+
emits: ["update:modelValue", "update:focus", "blur", "keyUp", "keyDown", "keyEnter"],
|
|
36766
36766
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
36767
36767
|
const props = __props;
|
|
36768
36768
|
const input = vue.ref(null);
|
|
@@ -36812,11 +36812,12 @@
|
|
|
36812
36812
|
placeholder: _ctx.placeholder,
|
|
36813
36813
|
required: _ctx.required,
|
|
36814
36814
|
disabled: _ctx.disabled,
|
|
36815
|
+
onBlur: _cache[0] || (_cache[0] = ($event) => $emits("blur")),
|
|
36815
36816
|
onInput,
|
|
36816
36817
|
onKeydown: [
|
|
36817
|
-
_cache[
|
|
36818
|
-
_cache[
|
|
36819
|
-
_cache[
|
|
36818
|
+
_cache[1] || (_cache[1] = vue.withKeys(($event) => $emits("keyUp"), ["up"])),
|
|
36819
|
+
_cache[2] || (_cache[2] = vue.withKeys(($event) => $emits("keyDown"), ["down"])),
|
|
36820
|
+
_cache[3] || (_cache[3] = vue.withKeys(($event) => $emits("keyEnter"), ["enter"]))
|
|
36820
36821
|
]
|
|
36821
36822
|
}, null, 40, _hoisted_3$e),
|
|
36822
36823
|
vue.createElementVNode("span", _hoisted_4$b, [
|
|
@@ -36827,7 +36828,7 @@
|
|
|
36827
36828
|
}
|
|
36828
36829
|
});
|
|
36829
36830
|
|
|
36830
|
-
const RawInputText = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-
|
|
36831
|
+
const RawInputText = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-c1fe71b9"]]);
|
|
36831
36832
|
|
|
36832
36833
|
const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
36833
36834
|
__name: "RawAutocomplete",
|
|
@@ -66341,7 +66342,7 @@
|
|
|
66341
66342
|
captions: {},
|
|
66342
66343
|
errors: {}
|
|
66343
66344
|
},
|
|
66344
|
-
emits: ["update:modelValue"],
|
|
66345
|
+
emits: ["update:modelValue", "blur"],
|
|
66345
66346
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
66346
66347
|
const props = __props;
|
|
66347
66348
|
const input = vue.ref(null);
|
|
@@ -66380,6 +66381,7 @@
|
|
|
66380
66381
|
disabled: _ctx.disabled,
|
|
66381
66382
|
errors: _ctx.errors,
|
|
66382
66383
|
hasDate: false,
|
|
66384
|
+
onBlur: _cache[0] || (_cache[0] = ($event) => $emits("blur")),
|
|
66383
66385
|
onInput,
|
|
66384
66386
|
onKeyup: onInput
|
|
66385
66387
|
}, {
|