Skip to content

Commit

Permalink
Release 1.3.4-3
Browse files Browse the repository at this point in the history
  • Loading branch information
tskimmett committed Jun 21, 2022
1 parent c1777dd commit 5ece438
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
8 changes: 6 additions & 2 deletions dist/vue-input-facade.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,11 @@ const directive_CONFIG_KEY = CONFIG_KEY;
},
inserted: el => {
el = getInputElement(el);
const config = el[directive_CONFIG_KEY]; // prefer adding event listener to parent element to avoid Firefox bug which does not
const config = el[directive_CONFIG_KEY]; // Attempt to update if the element did not have a value when `bind` was called, but now does

if (typeof config.config.oldValue === 'undefined') updateValue(el, null, {
force: config.config.prefill
}); // prefer adding event listener to parent element to avoid Firefox bug which does not
// execute `useCapture: true` event handlers before non-capturing event handlers

const handlerOwner = el.parentElement || el; // use anonymous event handler to avoid inadvertently removing masking for all inputs within a container
Expand Down Expand Up @@ -1551,7 +1555,7 @@ const directive_CONFIG_KEY = CONFIG_KEY;
getInputElement(el)[directive_CONFIG_KEY].cleanup();
}
});
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"772724e8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/component.vue?vue&type=template&id=25a429ca&
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a619e26-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/component.vue?vue&type=template&id=25a429ca&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('input',{directives:[{name:"facade",rawName:"v-facade",value:(_vm.config),expression:"config"}],attrs:{"type":"text"},domProps:{"value":_vm.maskedValue},on:{"input":_vm.onInput,"change":_vm.onChange,"blur":function($event){return _vm.$emit('blur')},"focus":function($event){return _vm.$emit('focus')}}})}
var staticRenderFns = []

Expand Down
8 changes: 6 additions & 2 deletions dist/vue-input-facade.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,11 @@ const directive_CONFIG_KEY = CONFIG_KEY;
},
inserted: el => {
el = getInputElement(el);
const config = el[directive_CONFIG_KEY]; // prefer adding event listener to parent element to avoid Firefox bug which does not
const config = el[directive_CONFIG_KEY]; // Attempt to update if the element did not have a value when `bind` was called, but now does

if (typeof config.config.oldValue === 'undefined') updateValue(el, null, {
force: config.config.prefill
}); // prefer adding event listener to parent element to avoid Firefox bug which does not
// execute `useCapture: true` event handlers before non-capturing event handlers

const handlerOwner = el.parentElement || el; // use anonymous event handler to avoid inadvertently removing masking for all inputs within a container
Expand Down Expand Up @@ -1560,7 +1564,7 @@ const directive_CONFIG_KEY = CONFIG_KEY;
getInputElement(el)[directive_CONFIG_KEY].cleanup();
}
});
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"772724e8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/component.vue?vue&type=template&id=25a429ca&
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a619e26-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/component.vue?vue&type=template&id=25a429ca&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('input',{directives:[{name:"facade",rawName:"v-facade",value:(_vm.config),expression:"config"}],attrs:{"type":"text"},domProps:{"value":_vm.maskedValue},on:{"input":_vm.onInput,"change":_vm.onChange,"blur":function($event){return _vm.$emit('blur')},"focus":function($event){return _vm.$emit('focus')}}})}
var staticRenderFns = []

Expand Down
Loading

0 comments on commit 5ece438

Please sign in to comment.