@ouestfrance/sipa-bms-ui 8.0.0 → 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 +17 -17
- package/dist/sipa-bms-ui.es.js +13 -8
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +13 -8
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/form/BmsAutocomplete.vue +4 -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",
|
|
@@ -37004,7 +37005,10 @@
|
|
|
37004
37005
|
open: { type: Boolean, default: false },
|
|
37005
37006
|
canAddNewOption: { type: Boolean }
|
|
37006
37007
|
}, {
|
|
37007
|
-
"modelValue": {
|
|
37008
|
+
"modelValue": {
|
|
37009
|
+
required: true,
|
|
37010
|
+
default: null
|
|
37011
|
+
},
|
|
37008
37012
|
"modelModifiers": {}
|
|
37009
37013
|
}),
|
|
37010
37014
|
emits: /* @__PURE__ */ vue.mergeModels(["addNewOption", "select"], ["update:modelValue"]),
|
|
@@ -37071,7 +37075,7 @@
|
|
|
37071
37075
|
}
|
|
37072
37076
|
});
|
|
37073
37077
|
|
|
37074
|
-
const BmsAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-
|
|
37078
|
+
const BmsAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-8bcd327f"]]);
|
|
37075
37079
|
|
|
37076
37080
|
const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
37077
37081
|
__name: "BmsBetweenInput",
|
|
@@ -66338,7 +66342,7 @@
|
|
|
66338
66342
|
captions: {},
|
|
66339
66343
|
errors: {}
|
|
66340
66344
|
},
|
|
66341
|
-
emits: ["update:modelValue"],
|
|
66345
|
+
emits: ["update:modelValue", "blur"],
|
|
66342
66346
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
66343
66347
|
const props = __props;
|
|
66344
66348
|
const input = vue.ref(null);
|
|
@@ -66377,6 +66381,7 @@
|
|
|
66377
66381
|
disabled: _ctx.disabled,
|
|
66378
66382
|
errors: _ctx.errors,
|
|
66379
66383
|
hasDate: false,
|
|
66384
|
+
onBlur: _cache[0] || (_cache[0] = ($event) => $emits("blur")),
|
|
66380
66385
|
onInput,
|
|
66381
66386
|
onKeyup: onInput
|
|
66382
66387
|
}, {
|