{"version":3,"sources":["webpack:///./src/views/Registration.vue?ae63","webpack:///./src/views/Registration.vue?a0ec","webpack:///./src/views/Registration.vue?cdad","webpack:///src/views/Registration.vue","webpack:///./src/views/Registration.vue?67e0","webpack:///./src/views/Registration.vue","webpack:///./src/views/Registration.vue?5c05","webpack:///./node_modules/bootstrap-vue/esm/directives/visible/visible.js","webpack:///./node_modules/bootstrap-vue/esm/components/form-textarea/form-textarea.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","regMsg","on","closeModal","$t","_e","attrs","loginUrl","imgUrl","staticStyle","ref","$event","preventDefault","scopedSlots","_u","key","fn","errors","length","getCVR","model","value","callback","$$v","CVR","expression","cvrdata","$set","userdata","registrationForm","name","staticRenderFns","components","VuexyLogo","BRow","BImg","BCol","BLink","BButton","BForm","BCardText","BCardTitle","BFormCheckbox","BFormGroup","BFormInput","BInputGroup","BInputGroupAppend","BFormTextarea","ValidationProvider","ValidationObserver","Locale","mixins","data","info_help_text","sideImg","loginImg","required","email","phone","isRegister","created","computed","passwordToggleIcon","passwordFieldType","store","methods","$refs","registerForm","validate","then","success","$router","push","component","_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","props","i","descriptor","enumerable","configurable","writable","Object","defineProperty","_createClass","protoProps","staticProps","prototype","OBSERVER_PROP_NAME","VisibilityObserver","el","options","vnode","margin","once","observer","visible","undefined","doneOnce","createObserver","_this","stop","IntersectionObserver","handler","bind","root","rootMargin","threshold","_unused","context","$nextTick","observe","entries","entry","isIntersecting","Boolean","intersectionRatio","disconnect","destroy","_ref","modifiers","forEach","mod","test","concat","toLowerCase","_prevModifiers","_ref2","oldValue","unbind","VBVisible","componentUpdated","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","apply","_objectSpread","arguments","source","_defineProperty","getOwnPropertyDescriptors","defineProperties","obj","id","maxRows","noAutoShrink","noResize","rows","wrap","extend","directives","listeners","heightInPx","computedStyle","styles","resize","computedRows","height","overflowY","computedMinRows","math","computedMaxRows","computedAttrs","disabled","safeId","form","placeholder","autocomplete","readonly","plaintext","computedAriaInvalid","computedListeners","bvListeners","input","onInput","change","onChange","blur","onBlur","watch","localValue","setHeight","mounted","visibleCallback","computeHeight","$isServer","$el","lineHeight","border","borderTopWidth","borderBottomWidth","padding","paddingTop","paddingBottom","offset","minHeight","oldHeight","scrollHeight","contentRows","h","class","computedClass","style","domProps"],"mappings":"gHAAA,W,oCCAA,W,kECAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,wBAAwB,CAACF,EAAG,MAAM,CAAEJ,EAAc,WAAEI,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,MAAM,CAACA,EAAG,KAAK,CAACJ,EAAIO,GAAG,IAAIP,EAAIQ,GAAGR,EAAIS,QAAQ,SAASL,EAAG,MAAMA,EAAG,SAAS,CAACE,YAAY,WAAWI,GAAG,CAAC,MAAQV,EAAIW,aAAa,CAACX,EAAIO,GAAG,IAAIP,EAAIQ,GAAGR,EAAIY,GAAG,UAAU,WAAWZ,EAAIa,OAAOT,EAAG,QAAQ,CAACE,YAAY,kBAAkB,CAACF,EAAG,SAAS,CAACE,YAAY,cAAc,CAACF,EAAG,QAAQ,CAACE,YAAY,iBAAiBQ,MAAM,CAAC,MAAQ,GAAG,IAAMd,EAAIe,SAAS,IAAM,eAAe,GAAGX,EAAG,QAAQ,CAACE,YAAY,6EAA6EQ,MAAM,CAAC,GAAK,MAAM,CAACV,EAAG,MAAM,CAACE,YAAY,uEAAuE,CAACF,EAAG,QAAQ,CAACU,MAAM,CAAC,MAAQ,GAAG,IAAMd,EAAIgB,OAAO,IAAM,aAAa,KAAKZ,EAAG,QAAQ,CAACE,YAAY,gDAAgDQ,MAAM,CAAC,GAAK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W,GAAKvC,EACxCuC,EAIF,GAAG9E,OAAOuC,EAAQ,QAG7BhL,OAAQ,SAAgB0N,GACtB,OAAOA,EAAE,WAAY,CACnBC,MAAOzN,KAAK0N,cACZC,MAAO3N,KAAK0K,cACZH,WAAY,CAAC,CACXlI,KAAM,YACNT,MAAO5B,KAAKwM,gBAEZrE,UAAW,CACT,KAAO,KAGXtH,MAAOb,KAAKmL,cACZyC,SAAU,CACRhM,MAAO5B,KAAKqM,YAEd5L,GAAIT,KAAK4L,kBACT3K,IAAK,c","file":"js/chunk-fd5a6fd2.65f2881b.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Registration.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Registration.vue?vue&type=style&index=2&id=2db1e1e8&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"auth-wrapper auth-v2\"},[_c('div',[(_vm.isRegister)?_c('div',{staticClass:\"modal-mask\"},[_c('div',{staticClass:\"modal-container\"},[_c('div',[_c('h4',[_vm._v(\" \"+_vm._s(_vm.regMsg)+\" \")])]),_c('hr'),_c('button',{staticClass:\"closeBtn\",on:{\"click\":_vm.closeModal}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Close\"))+\" \")])])]):_vm._e()]),_c('b-row',{staticClass:\"auth-inner m-0\"},[_c('b-link',{staticClass:\"brand-logo\"},[_c('b-img',{staticClass:\"login_logo_img\",attrs:{\"fluid\":\"\",\"src\":_vm.loginUrl,\"alt\":\"Login V2\"}})],1),_c('b-col',{staticClass:\"d-none d-lg-flex align-items-center justify-content-center p-5 flex-column\",attrs:{\"lg\":\"8\"}},[_c('div',{staticClass:\"w-100 d-lg-flex align-items-center justify-content-center px-5 mb-5\"},[_c('b-img',{attrs:{\"fluid\":\"\",\"src\":_vm.imgUrl,\"alt\":\"Vector\"}})],1)]),_c('b-col',{staticClass:\"d-flex align-items-center auth-bg px-2 p-lg-5\",attrs:{\"lg\":\"4\"}},[_c('b-col',{staticClass:\"px-xl-2 mx-auto\",attrs:{\"sm\":\"8\",\"md\":\"6\",\"lg\":\"12\"}},[_c('b-card-title',{staticClass:\"font-weight-bold mb-1\",attrs:{\"title-tag\":\"h2\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Welcome to InteGreat\"))+\"! \"),_c('div',{staticStyle:{\"width\":\"50%\"}},[_c('locale',{staticStyle:{\"list-style\":\"none\"}})],1)]),_c('b-card-text',{staticClass:\"mb-2\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"Please sign-up\"))+\" \")]),_c('validation-observer',{ref:\"registerForm\"},[_c('b-form',{staticClass:\"auth-register-form mt-2\",attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();}}},[_c('div',{staticClass:\"custom_fieldset\"},[_c('b-form-group',{attrs:{\"label\":\"CVR\",\"label-for\":\"CVR\"}},[_c('validation-provider',{attrs:{\"name\":\"CVR\",\"rules\":\"required|length:8\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('b-form-input',{attrs:{\"id\":\"CVR\",\"name\":\"CVR\",\"state\":errors.length > 0 ? false : null},on:{\"keyup\":_vm.getCVR},model:{value:(_vm.CVR),callback:function ($$v) {_vm.CVR=$$v},expression:\"CVR\"}}),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1),_c('b-form-group',{attrs:{\"label\":_vm.$t('cvr-name'),\"label-for\":\"cvr-name\"}},[_c('b-form-input',{attrs:{\"id\":\"cvr-name\",\"name\":\"cvr-name\",\"placeholder\":\"johndoe\",\"readonly\":\"\"},model:{value:(_vm.cvrdata.name),callback:function ($$v) {_vm.$set(_vm.cvrdata, \"name\", $$v)},expression:\"cvrdata.name\"}})],1),_c('b-form-group',{attrs:{\"label\":_vm.$t('cvr-adr'),\"label-for\":\"cvr-adr\"}},[_c('b-form-textarea',{staticClass:\"mb-2 mb-lg-0\",attrs:{\"readonly\":\"\"},model:{value:(_vm.cvrdata.address),callback:function ($$v) {_vm.$set(_vm.cvrdata, \"address\", $$v)},expression:\"cvrdata.address\"}})],1),_c('b-row',[_c('b-col',{staticClass:\"d-none d-lg-flex align-items-center\",attrs:{\"lg\":\"6\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('cvr-zip`'),\"label-for\":\"cvr-zip\"}},[_c('b-form-input',{attrs:{\"id\":\"cvr-zip\",\"name\":\"cvr-zip\",\"readonly\":\"\"},model:{value:(_vm.cvrdata.zipcode),callback:function ($$v) {_vm.$set(_vm.cvrdata, \"zipcode\", $$v)},expression:\"cvrdata.zipcode\"}})],1)],1),_c('b-col',{staticClass:\"d-none d-lg-flex align-items-center\",attrs:{\"lg\":\"6\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('cvr-city'),\"label-for\":\"cvr-city\"}},[_c('b-form-input',{attrs:{\"id\":\"cvr-city\",\"name\":\"cvr-city\",\"readonly\":\"\"},model:{value:(_vm.cvrdata.city),callback:function ($$v) {_vm.$set(_vm.cvrdata, \"city\", $$v)},expression:\"cvrdata.city\"}})],1)],1)],1),_c('span',{staticClass:\"fieldset_label\"},[_vm._v(_vm._s(_vm.$t(\"Company Info\")))])],1),_c('br'),_c('div',{staticClass:\"custom_fieldset\"},[_c('b-form-group',{attrs:{\"label\":_vm.$t('Name'),\"label-for\":\"Name\"}},[_c('validation-provider',{attrs:{\"name\":\"Username\",\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('b-form-input',{attrs:{\"id\":\"Name\",\"name\":\"Name\",\"state\":errors.length > 0 ? false : null,\"placeholder\":\"johndoe\"},model:{value:(_vm.userdata.name),callback:function ($$v) {_vm.$set(_vm.userdata, \"name\", $$v)},expression:\"userdata.name\"}}),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1),_c('b-form-group',{attrs:{\"label\":_vm.$t('Email'),\"label-for\":\"Email\"}},[_c('validation-provider',{attrs:{\"name\":\"Email\",\"rules\":\"required|email\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('b-form-input',{attrs:{\"id\":\"Email\",\"name\":\"Email\",\"state\":errors.length > 0 ? false : null,\"placeholder\":\"john@example.com\"},model:{value:(_vm.userdata.email),callback:function ($$v) {_vm.$set(_vm.userdata, \"email\", $$v)},expression:\"userdata.email\"}}),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1),_c('b-form-group',{attrs:{\"label\":_vm.$t('Telephone'),\"label-for\":\"Telephone\"}},[_c('validation-provider',{attrs:{\"name\":\"telephone\",\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('b-form-input',{attrs:{\"id\":\"Telephone\",\"name\":\"Telephone\",\"state\":errors.length > 0 ? false : null},model:{value:(_vm.userdata.phone),callback:function ($$v) {_vm.$set(_vm.userdata, \"phone\", $$v)},expression:\"userdata.phone\"}}),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1),_c('span',{staticClass:\"fieldset_label\"},[_vm._v(_vm._s(_vm.$t(\"Personal Info\")))])],1),_c('br'),_c('b-button',{attrs:{\"variant\":\"primary\",\"block\":\"\",\"type\":\"submit\"},on:{\"click\":_vm.registrationForm}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Next\"))+\" \"),_c('feather-icon',{staticClass:\"align-middle\",attrs:{\"icon\":\"ArrowRightIcon\"}})],1)],1)],1),_c('p',{staticClass:\"text-center mt-2 custom-text\"},[_c('span',[_vm._v(_vm._s(_vm.$t(\"Already have an account\"))+\"?\")]),_c('b-link',{attrs:{\"to\":{ name: 'login' }}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"Sign in instead\")))])])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Registration.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Registration.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Registration.vue?vue&type=template&id=2db1e1e8&scoped=true&\"\nimport script from \"./Registration.vue?vue&type=script&lang=js&\"\nexport * from \"./Registration.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Registration.vue?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./Registration.vue?vue&type=style&index=1&id=2db1e1e8&scoped=true&lang=css&\"\nimport style2 from \"./Registration.vue?vue&type=style&index=2&id=2db1e1e8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2db1e1e8\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Registration.vue?vue&type=style&index=1&id=2db1e1e8&scoped=true&lang=css&\"","function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n// v-b-visible\n// Private visibility check directive\n// Based on IntersectionObserver\n//\n// Usage:\n// v-b-visibility..=\"\"\n//\n// Value:\n// : method to be called when visibility state changes, receives one arg:\n// true: element is visible\n// false: element is not visible\n// null: IntersectionObserver not supported\n//\n// Modifiers:\n// : a positive decimal value of pixels away from viewport edge\n// before being considered \"visible\". default is 0\n// : keyword 'once', meaning when the element becomes visible and\n// callback is called observation/notification will stop.\n//\n// When used in a render function:\n// export default {\n// directives: { 'b-visible': VBVisible },\n// render(h) {\n// h(\n// 'div',\n// {\n// directives: [\n// { name: 'b-visible', value=this.callback, modifiers: { '123':true, 'once':true } }\n// ]\n// }\n// )\n// }\nimport { RX_DIGITS } from '../../constants/regex';\nimport { requestAF } from '../../utils/dom';\nimport { isFunction } from '../../utils/inspect';\nimport { looseEqual } from '../../utils/loose-equal';\nimport { clone, keys } from '../../utils/object';\nvar OBSERVER_PROP_NAME = '__bv__visibility_observer';\n\nvar VisibilityObserver = /*#__PURE__*/function () {\n function VisibilityObserver(el, options, vnode) {\n _classCallCheck(this, VisibilityObserver);\n\n this.el = el;\n this.callback = options.callback;\n this.margin = options.margin || 0;\n this.once = options.once || false;\n this.observer = null;\n this.visible = undefined;\n this.doneOnce = false; // Create the observer instance (if possible)\n\n this.createObserver(vnode);\n }\n\n _createClass(VisibilityObserver, [{\n key: \"createObserver\",\n value: function createObserver(vnode) {\n var _this = this;\n\n // Remove any previous observer\n if (this.observer) {\n /* istanbul ignore next */\n this.stop();\n } // Should only be called once and `callback` prop should be a function\n\n\n if (this.doneOnce || !isFunction(this.callback)) {\n /* istanbul ignore next */\n return;\n } // Create the observer instance\n\n\n try {\n // Future: Possibly add in other modifiers for left/right/top/bottom\n // offsets, root element reference, and thresholds\n this.observer = new IntersectionObserver(this.handler.bind(this), {\n // `null` = 'viewport'\n root: null,\n // Pixels away from view port to consider \"visible\"\n rootMargin: this.margin,\n // Intersection ratio of el and root (as a value from 0 to 1)\n threshold: 0\n });\n } catch (_unused) {\n // No IntersectionObserver support, so just stop trying to observe\n this.doneOnce = true;\n this.observer = undefined;\n this.callback(null);\n return;\n } // Start observing in a `$nextTick()` (to allow DOM to complete rendering)\n\n /* istanbul ignore next: IntersectionObserver not supported in JSDOM */\n\n\n vnode.context.$nextTick(function () {\n requestAF(function () {\n // Placed in an `if` just in case we were destroyed before\n // this `requestAnimationFrame` runs\n if (_this.observer) {\n _this.observer.observe(_this.el);\n }\n });\n });\n }\n /* istanbul ignore next */\n\n }, {\n key: \"handler\",\n value: function handler(entries) {\n var entry = entries ? entries[0] : {};\n var isIntersecting = Boolean(entry.isIntersecting || entry.intersectionRatio > 0.0);\n\n if (isIntersecting !== this.visible) {\n this.visible = isIntersecting;\n this.callback(isIntersecting);\n\n if (this.once && this.visible) {\n this.doneOnce = true;\n this.stop();\n }\n }\n }\n }, {\n key: \"stop\",\n value: function stop() {\n /* istanbul ignore next */\n this.observer && this.observer.disconnect();\n this.observer = null;\n }\n }]);\n\n return VisibilityObserver;\n}();\n\nvar destroy = function destroy(el) {\n var observer = el[OBSERVER_PROP_NAME];\n\n if (observer && observer.stop) {\n observer.stop();\n }\n\n delete el[OBSERVER_PROP_NAME];\n};\n\nvar bind = function bind(el, _ref, vnode) {\n var value = _ref.value,\n modifiers = _ref.modifiers;\n // `value` is the callback function\n var options = {\n margin: '0px',\n once: false,\n callback: value\n }; // Parse modifiers\n\n keys(modifiers).forEach(function (mod) {\n /* istanbul ignore else: Until is switched to use this directive */\n if (RX_DIGITS.test(mod)) {\n options.margin = \"\".concat(mod, \"px\");\n } else if (mod.toLowerCase() === 'once') {\n options.once = true;\n }\n }); // Destroy any previous observer\n\n destroy(el); // Create new observer\n\n el[OBSERVER_PROP_NAME] = new VisibilityObserver(el, options, vnode); // Store the current modifiers on the object (cloned)\n\n el[OBSERVER_PROP_NAME]._prevModifiers = clone(modifiers);\n}; // When the directive options may have been updated (or element)\n\n\nvar componentUpdated = function componentUpdated(el, _ref2, vnode) {\n var value = _ref2.value,\n oldValue = _ref2.oldValue,\n modifiers = _ref2.modifiers;\n // Compare value/oldValue and modifiers to see if anything has changed\n // and if so, destroy old observer and create new observer\n\n /* istanbul ignore next */\n modifiers = clone(modifiers);\n /* istanbul ignore next */\n\n if (el && (value !== oldValue || !el[OBSERVER_PROP_NAME] || !looseEqual(modifiers, el[OBSERVER_PROP_NAME]._prevModifiers))) {\n // Re-bind on element\n bind(el, {\n value: value,\n modifiers: modifiers\n }, vnode);\n }\n}; // When directive un-binds from element\n\n\nvar unbind = function unbind(el) {\n // Remove the observer\n destroy(el);\n}; // Export the directive\n\n\nexport var VBVisible = {\n bind: bind,\n componentUpdated: componentUpdated,\n unbind: unbind\n};","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Vue } from '../../vue';\nimport { NAME_FORM_TEXTAREA } from '../../constants/components';\nimport { PROP_TYPE_BOOLEAN, PROP_TYPE_NUMBER_STRING, PROP_TYPE_STRING } from '../../constants/props';\nimport { getCS, getStyle, isVisible, requestAF, setStyle } from '../../utils/dom';\nimport { isNull } from '../../utils/inspect';\nimport { mathCeil, mathMax, mathMin } from '../../utils/math';\nimport { toInteger, toFloat } from '../../utils/number';\nimport { sortKeys } from '../../utils/object';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { formControlMixin, props as formControlProps } from '../../mixins/form-control';\nimport { formSelectionMixin } from '../../mixins/form-selection';\nimport { formSizeMixin, props as formSizeProps } from '../../mixins/form-size';\nimport { formStateMixin, props as formStateProps } from '../../mixins/form-state';\nimport { formTextMixin, props as formTextProps } from '../../mixins/form-text';\nimport { formValidityMixin } from '../../mixins/form-validity';\nimport { idMixin, props as idProps } from '../../mixins/id';\nimport { listenOnRootMixin } from '../../mixins/listen-on-root';\nimport { listenersMixin } from '../../mixins/listeners';\nimport { VBVisible } from '../../directives/visible/visible'; // --- Props ---\n\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, idProps), formControlProps), formSizeProps), formStateProps), formTextProps), {}, {\n maxRows: makeProp(PROP_TYPE_NUMBER_STRING),\n // When in auto resize mode, disable shrinking to content height\n noAutoShrink: makeProp(PROP_TYPE_BOOLEAN, false),\n // Disable the resize handle of textarea\n noResize: makeProp(PROP_TYPE_BOOLEAN, false),\n rows: makeProp(PROP_TYPE_NUMBER_STRING, 2),\n // 'soft', 'hard' or 'off'\n // Browser default is 'soft'\n wrap: makeProp(PROP_TYPE_STRING, 'soft')\n})), NAME_FORM_TEXTAREA); // --- Main component ---\n// @vue/component\n\nexport var BFormTextarea = /*#__PURE__*/Vue.extend({\n name: NAME_FORM_TEXTAREA,\n directives: {\n 'b-visible': VBVisible\n },\n // Mixin order is important!\n mixins: [listenersMixin, idMixin, listenOnRootMixin, formControlMixin, formSizeMixin, formStateMixin, formTextMixin, formSelectionMixin, formValidityMixin],\n props: props,\n data: function data() {\n return {\n heightInPx: null\n };\n },\n computed: {\n computedStyle: function computedStyle() {\n var styles = {\n // Setting `noResize` to true will disable the ability for the user to\n // manually resize the textarea. We also disable when in auto height mode\n resize: !this.computedRows || this.noResize ? 'none' : null\n };\n\n if (!this.computedRows) {\n // Conditionally set the computed CSS height when auto rows/height is enabled\n // We avoid setting the style to `null`, which can override user manual resize handle\n styles.height = this.heightInPx; // We always add a vertical scrollbar to the textarea when auto-height is\n // enabled so that the computed height calculation returns a stable value\n\n styles.overflowY = 'scroll';\n }\n\n return styles;\n },\n computedMinRows: function computedMinRows() {\n // Ensure rows is at least 2 and positive (2 is the native textarea value)\n // A value of 1 can cause issues in some browsers, and most browsers\n // only support 2 as the smallest value\n return mathMax(toInteger(this.rows, 2), 2);\n },\n computedMaxRows: function computedMaxRows() {\n return mathMax(this.computedMinRows, toInteger(this.maxRows, 0));\n },\n computedRows: function computedRows() {\n // This is used to set the attribute 'rows' on the textarea\n // If auto-height is enabled, then we return `null` as we use CSS to control height\n return this.computedMinRows === this.computedMaxRows ? this.computedMinRows : null;\n },\n computedAttrs: function computedAttrs() {\n var disabled = this.disabled,\n required = this.required;\n return {\n id: this.safeId(),\n name: this.name || null,\n form: this.form || null,\n disabled: disabled,\n placeholder: this.placeholder || null,\n required: required,\n autocomplete: this.autocomplete || null,\n readonly: this.readonly || this.plaintext,\n rows: this.computedRows,\n wrap: this.wrap || null,\n 'aria-required': this.required ? 'true' : null,\n 'aria-invalid': this.computedAriaInvalid\n };\n },\n computedListeners: function computedListeners() {\n return _objectSpread(_objectSpread({}, this.bvListeners), {}, {\n input: this.onInput,\n change: this.onChange,\n blur: this.onBlur\n });\n }\n },\n watch: {\n localValue: function localValue() {\n this.setHeight();\n }\n },\n mounted: function mounted() {\n this.setHeight();\n },\n methods: {\n // Called by intersection observer directive\n\n /* istanbul ignore next */\n visibleCallback: function visibleCallback(visible) {\n if (visible) {\n // We use a `$nextTick()` here just to make sure any\n // transitions or portalling have completed\n this.$nextTick(this.setHeight);\n }\n },\n setHeight: function setHeight() {\n var _this = this;\n\n this.$nextTick(function () {\n requestAF(function () {\n _this.heightInPx = _this.computeHeight();\n });\n });\n },\n\n /* istanbul ignore next: can't test getComputedStyle in JSDOM */\n computeHeight: function computeHeight() {\n if (this.$isServer || !isNull(this.computedRows)) {\n return null;\n }\n\n var el = this.$el; // Element must be visible (not hidden) and in document\n // Must be checked after above checks\n\n if (!isVisible(el)) {\n return null;\n } // Get current computed styles\n\n\n var computedStyle = getCS(el); // Height of one line of text in px\n\n var lineHeight = toFloat(computedStyle.lineHeight, 1); // Calculate height of border and padding\n\n var border = toFloat(computedStyle.borderTopWidth, 0) + toFloat(computedStyle.borderBottomWidth, 0);\n var padding = toFloat(computedStyle.paddingTop, 0) + toFloat(computedStyle.paddingBottom, 0); // Calculate offset\n\n var offset = border + padding; // Minimum height for min rows (which must be 2 rows or greater for cross-browser support)\n\n var minHeight = lineHeight * this.computedMinRows + offset; // Get the current style height (with `px` units)\n\n var oldHeight = getStyle(el, 'height') || computedStyle.height; // Probe scrollHeight by temporarily changing the height to `auto`\n\n setStyle(el, 'height', 'auto');\n var scrollHeight = el.scrollHeight; // Place the original old height back on the element, just in case `computedProp`\n // returns the same value as before\n\n setStyle(el, 'height', oldHeight); // Calculate content height in 'rows' (scrollHeight includes padding but not border)\n\n var contentRows = mathMax((scrollHeight - padding) / lineHeight, 2); // Calculate number of rows to display (limited within min/max rows)\n\n var rows = mathMin(mathMax(contentRows, this.computedMinRows), this.computedMaxRows); // Calculate the required height of the textarea including border and padding (in pixels)\n\n var height = mathMax(mathCeil(rows * lineHeight + offset), minHeight); // Computed height remains the larger of `oldHeight` and new `height`,\n // when height is in `sticky` mode (prop `no-auto-shrink` is true)\n\n if (this.noAutoShrink && toFloat(oldHeight, 0) > height) {\n return oldHeight;\n } // Return the new computed CSS height in px units\n\n\n return \"\".concat(height, \"px\");\n }\n },\n render: function render(h) {\n return h('textarea', {\n class: this.computedClass,\n style: this.computedStyle,\n directives: [{\n name: 'b-visible',\n value: this.visibleCallback,\n // If textarea is within 640px of viewport, consider it visible\n modifiers: {\n '640': true\n }\n }],\n attrs: this.computedAttrs,\n domProps: {\n value: this.localValue\n },\n on: this.computedListeners,\n ref: 'input'\n });\n }\n});"],"sourceRoot":""}