@eid-easy/eideasy-widget 2.64.0 → 2.66.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/LICENSE CHANGED
@@ -1,7 +1,7 @@
1
- Copyright 2021 - present EID Easy OÜ
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ Copyright 2021 - present EID Easy OÜ
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,16 +1,16 @@
1
- <p align="center"><a href="https://eideasy.com/" target="_blank" rel="noopener noreferrer"><img width="300" src="https://eideasy.com/wp-content/uploads/2020/11/eid-easy-logo-1.png" alt="eID Easy logo"></a></p>
2
-
3
- <p align="center">
4
- <a href="https://app.netlify.com/sites/eideasy-widget/deploys"><img src="https://api.netlify.com/api/v1/badges/75cb270d-cc4f-473c-9940-9d6effe6093a/deploy-status" alt="Netlify Status" style="max-width:100%;"></a>
5
- <a href="https://github.com/eideasy/eideasy-widget/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/@eid-easy/eideasy-widget" alt="license badge" style="max-width:100%;"></a>
6
- <a href="https://www.npmjs.com/package/@eid-easy/eideasy-widget"><img src="https://img.shields.io/npm/v/@eid-easy/eideasy-widget" alt="version badge" style="max-width:100%;"></a>
7
- </p>
8
-
9
- # eID Easy Widget
10
- eideasy-widget is a [custom HTML element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) that you can embed into your website or web application
11
- to identify users or create electronic signatures through [eID Easy](https://eideasy.com/) API.
12
-
13
- You can see a demo implementation here: [https://demo.eideasy.com/login-widget](https://demo.eideasy.com/login-widget)
14
-
15
- ## Documentation
16
- The docs are available at https://eideasy-widget.docs.eideasy.com
1
+ <p align="center"><a href="https://eideasy.com/" target="_blank" rel="noopener noreferrer"><img width="300" src="https://eideasy.com/wp-content/uploads/2020/11/eid-easy-logo-1.png" alt="eID Easy logo"></a></p>
2
+
3
+ <p align="center">
4
+ <a href="https://app.netlify.com/sites/eideasy-widget/deploys"><img src="https://api.netlify.com/api/v1/badges/75cb270d-cc4f-473c-9940-9d6effe6093a/deploy-status" alt="Netlify Status" style="max-width:100%;"></a>
5
+ <a href="https://github.com/eideasy/eideasy-widget/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/@eid-easy/eideasy-widget" alt="license badge" style="max-width:100%;"></a>
6
+ <a href="https://www.npmjs.com/package/@eid-easy/eideasy-widget"><img src="https://img.shields.io/npm/v/@eid-easy/eideasy-widget" alt="version badge" style="max-width:100%;"></a>
7
+ </p>
8
+
9
+ # eID Easy Widget
10
+ eideasy-widget is a [custom HTML element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) that you can embed into your website or web application
11
+ to identify users or create electronic signatures through [eID Easy](https://eideasy.com/) API.
12
+
13
+ You can see a demo implementation here: [https://demo.eideasy.com/login-widget](https://demo.eideasy.com/login-widget)
14
+
15
+ ## Documentation
16
+ The docs are available at https://eideasy-widget.docs.eideasy.com
@@ -21132,12 +21132,14 @@ module.exports = {
21132
21132
  var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("4bad");
21133
21133
  exports = ___CSS_LOADER_API_IMPORT___(false);
21134
21134
  // Module
21135
- exports.push([module.i, ".SignatureHalcomQes_reset-list_35hDq{margin:0;padding:0;list-style:none;display:block}.SignatureHalcomQes_uppercase-sm_1mjY4{font-size:12px;text-transform:uppercase;letter-spacing:.03667em}.SignatureHalcomQes_formContainer_1_Y-V{max-width:263px;margin:0 auto}", ""]);
21135
+ exports.push([module.i, ".SignatureHalcomQes_reset-list_35hDq{margin:0;padding:0;list-style:none;display:block}.SignatureHalcomQes_uppercase-sm_1mjY4{font-size:12px;text-transform:uppercase;letter-spacing:.03667em}.SignatureHalcomQes_formContainer_1_Y-V{max-width:263px;margin:0 auto}.SignatureHalcomQes_label_28Kc4{color:#9ca6b1;margin-top:24px}.SignatureHalcomQes_highlight_1g2aM{font-weight:700;font-size:20px}", ""]);
21136
21136
  // Exports
21137
21137
  exports.locals = {
21138
21138
  "reset-list": "SignatureHalcomQes_reset-list_35hDq",
21139
21139
  "uppercase-sm": "SignatureHalcomQes_uppercase-sm_1mjY4",
21140
- "formContainer": "SignatureHalcomQes_formContainer_1_Y-V"
21140
+ "formContainer": "SignatureHalcomQes_formContainer_1_Y-V",
21141
+ "label": "SignatureHalcomQes_label_28Kc4",
21142
+ "highlight": "SignatureHalcomQes_highlight_1g2aM"
21141
21143
  };
21142
21144
  module.exports = exports;
21143
21145
 
@@ -42032,12 +42034,12 @@ if (typeof window !== 'undefined') {
42032
42034
  // EXTERNAL MODULE: ./node_modules/vue/dist/vue.runtime.esm.js
42033
42035
  var vue_runtime_esm = __webpack_require__("2b0e");
42034
42036
 
42035
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"19801484-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=template&id=a9ff3fda&
42037
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"19801484-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=template&id=2047953e&
42036
42038
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.app},[_c('AppLayout')],1)}
42037
42039
  var staticRenderFns = []
42038
42040
 
42039
42041
 
42040
- // CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=a9ff3fda&
42042
+ // CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=2047953e&
42041
42043
 
42042
42044
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
42043
42045
  var es_array_for_each = __webpack_require__("4160");
@@ -46003,16 +46005,17 @@ var SmartIdAuthvue_type_template_id_097b8df2_staticRenderFns = []
46003
46005
 
46004
46006
  // CONCATENATED MODULE: ./src/views/SmartIdAuth.vue?vue&type=template&id=097b8df2&
46005
46007
 
46006
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"19801484-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppForm.vue?vue&type=template&id=53a8ab3c&
46007
- var AppFormvue_type_template_id_53a8ab3c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{attrs:{"id":_vm.id},on:{"submit":function($event){$event.preventDefault();return _vm.handleSubmit($event)}}},_vm._l((_vm.schema),function(item,index){return _c('div',{key:(item.name + item.label) || index,class:_vm.formElementClasses(item.type)},[_c(_vm.formComponentsByType[item.type],_vm._b({tag:"Component",on:{"input":function (value) { return _vm.handleInput(item.name, value); }}},'Component',Object.assign({}, item,
46008
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"19801484-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppForm.vue?vue&type=template&id=38387148&
46009
+ var AppFormvue_type_template_id_38387148_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{attrs:{"id":_vm.id},on:{"submit":function($event){$event.preventDefault();return _vm.handleSubmit($event)}}},_vm._l((_vm.schema),function(item,index){return _c('div',{key:(item.name + item.label) || index,class:_vm.formElementClasses(item.type)},[_c(_vm.formComponentsByType[item.type],_vm._b({tag:"Component",on:{"input":function (value) { return _vm.handleInput(item.name, value); }}},'Component',Object.assign({}, item,
46008
46010
  {id: _vm.formComponentId(item.name),
46009
46011
  value: _vm.formValue[item.name],
46010
46012
  callingCode: item.callingCode,
46011
- errors: _vm.fieldErrors(item.name)}),false))],1)}),0)}
46012
- var AppFormvue_type_template_id_53a8ab3c_staticRenderFns = []
46013
+ errors: _vm.fieldErrors(item.name),
46014
+ autocomplete: _vm.autocomplete}),false))],1)}),0)}
46015
+ var AppFormvue_type_template_id_38387148_staticRenderFns = []
46013
46016
 
46014
46017
 
46015
- // CONCATENATED MODULE: ./src/components/AppForm.vue?vue&type=template&id=53a8ab3c&
46018
+ // CONCATENATED MODULE: ./src/components/AppForm.vue?vue&type=template&id=38387148&
46016
46019
 
46017
46020
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
46018
46021
  var es_array_concat = __webpack_require__("99af");
@@ -46119,23 +46122,23 @@ var FormButton_component = normalizeComponent(
46119
46122
  )
46120
46123
 
46121
46124
  /* harmony default export */ var FormButton = (FormButton_component.exports);
46122
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"19801484-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/FormField.vue?vue&type=template&id=20c848ef&
46123
- var FormFieldvue_type_template_id_20c848ef_render = function () {
46125
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"19801484-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/FormField.vue?vue&type=template&id=c8354a64&
46126
+ var FormFieldvue_type_template_id_c8354a64_render = function () {
46124
46127
  var _obj;
46125
- var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[_vm.$style.formField, ( _obj = {}, _obj[_vm.$style.hidden] = _vm.type === 'hidden', _obj )]},[(_vm.instructions)?_c('div',{class:_vm.$style.instructions},[_vm._v(" "+_vm._s(_vm.instructions)+" ")]):_vm._e(),_c('FormFieldLabel',{attrs:{"for-field":_vm.id}},[_vm._v(" "+_vm._s(_vm.label)+" ")]),_c('AppInput',_vm._b({on:{"input":_vm.handleInput}},'AppInput',{type: _vm.type, name: _vm.name, placeholder: _vm.placeholder, id: _vm.id, value: _vm.value, hasErrors: _vm.hasErrors, callingCode: _vm.callingCode, min: _vm.min},false)),(_vm.hasErrors)?_c('ul',{class:_vm.$style.validationContainer},_vm._l((_vm.errors),function(error){return _c('li',{key:error,class:_vm.$style.validationMessage},[_vm._v(" "+_vm._s(error)+" ")])}),0):_vm._e()],1)}
46126
- var FormFieldvue_type_template_id_20c848ef_staticRenderFns = []
46128
+ var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[_vm.$style.formField, ( _obj = {}, _obj[_vm.$style.hidden] = _vm.type === 'hidden', _obj )]},[(_vm.instructions)?_c('div',{class:_vm.$style.instructions},[_vm._v(" "+_vm._s(_vm.instructions)+" ")]):_vm._e(),_c('FormFieldLabel',{attrs:{"for-field":_vm.id}},[_vm._v(" "+_vm._s(_vm.label)+" ")]),_c('AppInput',_vm._b({on:{"input":_vm.handleInput}},'AppInput',{type: _vm.type, name: _vm.name, placeholder: _vm.placeholder, id: _vm.id, value: _vm.value, hasErrors: _vm.hasErrors, callingCode: _vm.callingCode, min: _vm.min, autocomplete: _vm.autocomplete},false)),(_vm.hasErrors)?_c('ul',{class:_vm.$style.validationContainer},_vm._l((_vm.errors),function(error){return _c('li',{key:error,class:_vm.$style.validationMessage},[_vm._v(" "+_vm._s(error)+" ")])}),0):_vm._e()],1)}
46129
+ var FormFieldvue_type_template_id_c8354a64_staticRenderFns = []
46127
46130
 
46128
46131
 
46129
- // CONCATENATED MODULE: ./src/components/FormField.vue?vue&type=template&id=20c848ef&
46132
+ // CONCATENATED MODULE: ./src/components/FormField.vue?vue&type=template&id=c8354a64&
46130
46133
 
46131
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"19801484-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppInput.vue?vue&type=template&id=5b619160&
46132
- var AppInputvue_type_template_id_5b619160_render = function () {
46134
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"19801484-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppInput.vue?vue&type=template&id=0334cd32&
46135
+ var AppInputvue_type_template_id_0334cd32_render = function () {
46133
46136
  var _obj, _obj$1;
46134
- var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.callingCode)?_c('div',{class:_vm.$style.hasPrefix},[_c('div',{class:_vm.$style.hasPrefix_prefix},[_vm._v(" "+_vm._s(_vm.callingCode)+" ")]),_c('div',{class:_vm.$style.hasPrefix_inputWrap},[_c('input',_vm._b({class:[_vm.$style.input, ( _obj = {}, _obj[_vm.$style.error] = _vm.hasErrors, _obj )],domProps:{"value":_vm.value},on:{"input":_vm.handleInput}},'input',{type: _vm.type, name: _vm.name, placeholder: _vm.placeholder, id: _vm.id},false))])]):_c('input',_vm._b({class:[_vm.$style.input, ( _obj$1 = {}, _obj$1[_vm.$style.error] = _vm.hasErrors, _obj$1 )],domProps:{"value":_vm.value},on:{"input":_vm.handleInput}},'input',{type: _vm.type, name: _vm.name, placeholder: _vm.placeholder, id: _vm.id},false))}
46135
- var AppInputvue_type_template_id_5b619160_staticRenderFns = []
46137
+ var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.callingCode)?_c('div',{class:_vm.$style.hasPrefix},[_c('div',{class:_vm.$style.hasPrefix_prefix},[_vm._v(" "+_vm._s(_vm.callingCode)+" ")]),_c('div',{class:_vm.$style.hasPrefix_inputWrap},[_c('input',_vm._b({class:[_vm.$style.input, ( _obj = {}, _obj[_vm.$style.error] = _vm.hasErrors, _obj )],attrs:{"autocomplete":_vm.autocomplete},domProps:{"value":_vm.value},on:{"input":_vm.handleInput}},'input',{type: _vm.type, name: _vm.name, placeholder: _vm.placeholder, id: _vm.id},false))])]):_c('input',_vm._b({class:[_vm.$style.input, ( _obj$1 = {}, _obj$1[_vm.$style.error] = _vm.hasErrors, _obj$1 )],attrs:{"autocomplete":_vm.autocomplete},domProps:{"value":_vm.value},on:{"input":_vm.handleInput}},'input',{type: _vm.type, name: _vm.name, placeholder: _vm.placeholder, id: _vm.id},false))}
46138
+ var AppInputvue_type_template_id_0334cd32_staticRenderFns = []
46136
46139
 
46137
46140
 
46138
- // CONCATENATED MODULE: ./src/components/AppInput.vue?vue&type=template&id=5b619160&
46141
+ // CONCATENATED MODULE: ./src/components/AppInput.vue?vue&type=template&id=0334cd32&
46139
46142
 
46140
46143
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppInput.vue?vue&type=script&lang=js&
46141
46144
 
@@ -46152,7 +46155,8 @@ var AppInputvue_type_template_id_5b619160_staticRenderFns = []
46152
46155
  onInput: {
46153
46156
  type: Function,
46154
46157
  default: function _default() {}
46155
- }
46158
+ },
46159
+ autocomplete: String
46156
46160
  },
46157
46161
  methods: {
46158
46162
  handleInput: function handleInput(e) {
@@ -46184,8 +46188,8 @@ function AppInput_injectStyles (context) {
46184
46188
 
46185
46189
  var AppInput_component = normalizeComponent(
46186
46190
  components_AppInputvue_type_script_lang_js_,
46187
- AppInputvue_type_template_id_5b619160_render,
46188
- AppInputvue_type_template_id_5b619160_staticRenderFns,
46191
+ AppInputvue_type_template_id_0334cd32_render,
46192
+ AppInputvue_type_template_id_0334cd32_staticRenderFns,
46189
46193
  false,
46190
46194
  AppInput_injectStyles,
46191
46195
  null,
@@ -46267,7 +46271,8 @@ var FormFieldLabel_component = normalizeComponent(
46267
46271
  return [];
46268
46272
  }
46269
46273
  },
46270
- value: [Number, String, Array, Object]
46274
+ value: [Number, String, Array, Object],
46275
+ autocomplete: String
46271
46276
  },
46272
46277
  computed: {
46273
46278
  hasErrors: function hasErrors() {
@@ -46304,8 +46309,8 @@ function FormField_injectStyles (context) {
46304
46309
 
46305
46310
  var FormField_component = normalizeComponent(
46306
46311
  components_FormFieldvue_type_script_lang_js_,
46307
- FormFieldvue_type_template_id_20c848ef_render,
46308
- FormFieldvue_type_template_id_20c848ef_staticRenderFns,
46312
+ FormFieldvue_type_template_id_c8354a64_render,
46313
+ FormFieldvue_type_template_id_c8354a64_staticRenderFns,
46309
46314
  false,
46310
46315
  FormField_injectStyles,
46311
46316
  null,
@@ -46482,6 +46487,9 @@ var formComponentsByType = {
46482
46487
  computed: {
46483
46488
  hasFixableErrors: function hasFixableErrors() {
46484
46489
  return Object.keys(this.validationErrors).length > 0;
46490
+ },
46491
+ autocomplete: function autocomplete() {
46492
+ return this.$root.$options.storeGetters.fieldAutocomplete() ? '' : 'off';
46485
46493
  }
46486
46494
  },
46487
46495
  watch: {
@@ -46610,8 +46618,8 @@ function AppForm_injectStyles (context) {
46610
46618
 
46611
46619
  var AppForm_component = normalizeComponent(
46612
46620
  components_AppFormvue_type_script_lang_js_,
46613
- AppFormvue_type_template_id_53a8ab3c_render,
46614
- AppFormvue_type_template_id_53a8ab3c_staticRenderFns,
46621
+ AppFormvue_type_template_id_38387148_render,
46622
+ AppFormvue_type_template_id_38387148_staticRenderFns,
46615
46623
  false,
46616
46624
  AppForm_injectStyles,
46617
46625
  null,
@@ -50369,12 +50377,12 @@ var SignatureUanatacaQes_component = normalizeComponent(
50369
50377
  )
50370
50378
 
50371
50379
  /* harmony default export */ var SignatureUanatacaQes = (SignatureUanatacaQes_component.exports);
50372
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"19801484-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureHalcomQes.vue?vue&type=template&id=2abf6479&
50373
- var SignatureHalcomQesvue_type_template_id_2abf6479_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.halcomToken)?_c('div',{class:_vm.$style.challenge},[_c('SubLoader',[_c('div',[_vm._v(_vm._s(_vm.$t('sign-in-halcom-app')))])])],1):_c('div',[_c('AppForm',{attrs:{"id":"halcomSignatureForm","schema":_vm.schema,"on-submit":_vm.sign,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
50374
- var SignatureHalcomQesvue_type_template_id_2abf6479_staticRenderFns = []
50380
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"19801484-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureHalcomQes.vue?vue&type=template&id=74f063b7&
50381
+ var SignatureHalcomQesvue_type_template_id_74f063b7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.challenge)?_c('div',{class:_vm.$style.challenge},[_c('SubLoader',[_c('div',[_vm._v(_vm._s(_vm.$t('sign-in-halcom-app')))]),_c('div',{class:_vm.$style.label},[_vm._v(" "+_vm._s(_vm.$t('transaction-id'))+" ")]),_c('div',{class:_vm.$style.highlight},[_vm._v(" "+_vm._s(_vm.challenge)+" ")])])],1):_c('div',[_c('AppForm',{attrs:{"id":"halcomSignatureForm","schema":_vm.schema,"on-submit":_vm.sign,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
50382
+ var SignatureHalcomQesvue_type_template_id_74f063b7_staticRenderFns = []
50375
50383
 
50376
50384
 
50377
- // CONCATENATED MODULE: ./src/views/SignatureHalcomQes.vue?vue&type=template&id=2abf6479&
50385
+ // CONCATENATED MODULE: ./src/views/SignatureHalcomQes.vue?vue&type=template&id=74f063b7&
50378
50386
 
50379
50387
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureHalcomQes.vue?vue&type=script&lang=js&
50380
50388
 
@@ -50390,7 +50398,7 @@ var SignatureHalcomQesvue_type_template_id_2abf6479_staticRenderFns = []
50390
50398
  data: function data() {
50391
50399
  return {
50392
50400
  fieldErrors: {},
50393
- halcomToken: null,
50401
+ challenge: undefined,
50394
50402
  authProcess: {}
50395
50403
  };
50396
50404
  },
@@ -50487,8 +50495,8 @@ var SignatureHalcomQesvue_type_template_id_2abf6479_staticRenderFns = []
50487
50495
  var additionalMethodConfig = this.additionalMethodConfig || {};
50488
50496
  this.authProcess = this.$root.$options.eidEasyClient.signature.halcomQesSignature.start(_objectSpread2(_objectSpread2({}, dataToSubmit), {}, {
50489
50497
  started: function started(result) {
50490
- if (result.data && result.data.token) {
50491
- _this.halcomToken = result.data.token;
50498
+ if (result.data && result.data.challenge) {
50499
+ _this.challenge = result.data.challenge;
50492
50500
 
50493
50501
  _this.loadingEnd();
50494
50502
 
@@ -50508,7 +50516,7 @@ var SignatureHalcomQesvue_type_template_id_2abf6479_staticRenderFns = []
50508
50516
  _this.$root.$options.eidEasyOnSuccess(result);
50509
50517
  },
50510
50518
  finished: function finished() {
50511
- _this.halcomToken = undefined;
50519
+ _this.challenge = undefined;
50512
50520
 
50513
50521
  _this.endSignatureProcessing();
50514
50522
 
@@ -50542,8 +50550,8 @@ function SignatureHalcomQes_injectStyles (context) {
50542
50550
 
50543
50551
  var SignatureHalcomQes_component = normalizeComponent(
50544
50552
  views_SignatureHalcomQesvue_type_script_lang_js_,
50545
- SignatureHalcomQesvue_type_template_id_2abf6479_render,
50546
- SignatureHalcomQesvue_type_template_id_2abf6479_staticRenderFns,
50553
+ SignatureHalcomQesvue_type_template_id_74f063b7_render,
50554
+ SignatureHalcomQesvue_type_template_id_74f063b7_staticRenderFns,
50547
50555
  false,
50548
50556
  SignatureHalcomQes_injectStyles,
50549
50557
  null,
@@ -51771,6 +51779,10 @@ var otpFlowNames = {
51771
51779
  otpFlow: {
51772
51780
  type: String,
51773
51781
  default: null
51782
+ },
51783
+ fieldAutocomplete: {
51784
+ type: Boolean,
51785
+ default: false
51774
51786
  }
51775
51787
  },
51776
51788
  computed: {
@@ -51832,6 +51844,7 @@ var otpFlowNames = {
51832
51844
  this.updateMode(this.mode);
51833
51845
  this.updateRequireHandwrittenSignature(this.requireHandwrittenSignature);
51834
51846
  this.updateOtpFlow(this.otpFlow);
51847
+ this.updateFieldAutocomplete(this.fieldAutocomplete);
51835
51848
 
51836
51849
  if (this.emailToken) {
51837
51850
  this.updateInputValues({
@@ -51852,6 +51865,7 @@ var otpFlowNames = {
51852
51865
  console.log('onFail:', this.onFail);
51853
51866
  console.log('apiEndpoints:', this.apiEndpoints);
51854
51867
  console.log('oauthParamState:', this.oauthParamState);
51868
+ console.log('fieldAutocomplete:', this.fieldAutocomplete);
51855
51869
  console.log('----------- /Settings ----------');
51856
51870
  }
51857
51871
  },
@@ -51946,6 +51960,9 @@ var otpFlowNames = {
51946
51960
  },
51947
51961
  updateOtpFlow: function updateOtpFlow(value) {
51948
51962
  return this.$root.$options.storeActions.updateOtpFlow(value);
51963
+ },
51964
+ updateFieldAutocomplete: function updateFieldAutocomplete(value) {
51965
+ return this.$root.$options.storeActions.updateFieldAutocomplete(value);
51949
51966
  }
51950
51967
  }
51951
51968
  });
@@ -54803,7 +54820,8 @@ var createStore_createStore = function createStore(_ref) {
54803
54820
  showBackButton: true,
54804
54821
  mode: null,
54805
54822
  requireHandwrittenSignature: false,
54806
- otpFlow: null
54823
+ otpFlow: null,
54824
+ fieldAutocomplete: false
54807
54825
  });
54808
54826
 
54809
54827
  var filterMethodsByCountry = function filterMethodsByCountry(methods, country) {
@@ -54913,6 +54931,9 @@ var createStore_createStore = function createStore(_ref) {
54913
54931
  },
54914
54932
  otpFlow: function otpFlow() {
54915
54933
  return store.otpFlow;
54934
+ },
54935
+ fieldAutocomplete: function fieldAutocomplete() {
54936
+ return store.fieldAutocomplete;
54916
54937
  }
54917
54938
  };
54918
54939
  var mutations = {
@@ -54978,6 +54999,9 @@ var createStore_createStore = function createStore(_ref) {
54978
54999
  },
54979
55000
  setOtpFlow: function setOtpFlow(value) {
54980
55001
  store.otpFlow = value;
55002
+ },
55003
+ setFieldAutocomplete: function setFieldAutocomplete(value) {
55004
+ store.fieldAutocomplete = value;
54981
55005
  }
54982
55006
  };
54983
55007
  var actions = {
@@ -55155,6 +55179,9 @@ var createStore_createStore = function createStore(_ref) {
55155
55179
  },
55156
55180
  updateOtpFlow: function updateOtpFlow(newValue) {
55157
55181
  mutations.setOtpFlow(newValue);
55182
+ },
55183
+ updateFieldAutocomplete: function updateFieldAutocomplete(newValue) {
55184
+ mutations.setFieldAutocomplete(newValue);
55158
55185
  }
55159
55186
  };
55160
55187
  return {