@eid-easy/eideasy-widget 2.4.0 → 2.5.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.
@@ -23758,7 +23758,7 @@ module.exports = {
23758
23758
  }, attrs)
23759
23759
  }, rest), children.concat([_c('defs', [_c('linearGradient', {
23760
23760
  attrs: {
23761
- "id": "id-0a",
23761
+ "id": "id-3a",
23762
23762
  "x1": "45.313%",
23763
23763
  "x2": "33.822%",
23764
23764
  "y1": "69.296%",
@@ -23776,7 +23776,7 @@ module.exports = {
23776
23776
  }
23777
23777
  })]), _c('linearGradient', {
23778
23778
  attrs: {
23779
- "id": "id-2c",
23779
+ "id": "id-5c",
23780
23780
  "x1": "17.248%",
23781
23781
  "x2": "58.688%",
23782
23782
  "y1": "34.281%",
@@ -23794,7 +23794,7 @@ module.exports = {
23794
23794
  }
23795
23795
  })]), _c('path', {
23796
23796
  attrs: {
23797
- "id": "id-1b",
23797
+ "id": "id-4b",
23798
23798
  "d": "M75.617 68.105a21.83 21.83 0 002.601 5.096c9.291 13.456 23.041 10.092 28.616 9.344 5.574-.747 13.007-1.121 17.094 2.243 4.088 3.364 6.352 6.033 14.441 8.532 2.602.373 1.911 1.185.796 1.933-8.547 5.606-15.608 3.737-24.527 0-8.92-3.738-12.264-.748-18.21 0-19.325 2.99-35.676 1.121-49.055-5.606a46.935 46.935 0 01-2.198-1.804c-3.08 3.497-5.197 5.593-6.35 6.289-1.857 1.12-8.546 4.11-17.094 4.11-5.698 0-10.53-.622-14.493-1.868-3.634-1.163-5.616-1.91-5.946-2.242-.744-.748-1.292-2.03 2.742-2.435 14.52-1.922 27.079-6.737 32.47-14.862-2.721-5.544-3.682-11.738-2.88-18.584C35.38 43.895 40.09 42 51.232 30.431c7.665-8.521 1.458-17.002-1.547-20.327a304.822 304.822 0 01-1.301-1.454c-1.174-1.359-1.17-1.35-2.76-.563a299.293 299.293 0 01-4.228 2.039c-.25.117-.938.46-.842.097.214-.822 6.12-3.842 6.014-4.07-.106-.23-7.504 1.596-7.67 1.608-.165.013-.315-.439-.108-.51.206-.076 2.191-.754 3.292-1.119 1.094-.362 3.5-1.141 3.283-1.262-.216-.124-8.341-.632-8.458-.64-.03-.002-.052-.028-.067-.066v-.297c.015-.038.039-.066.07-.073 1.92-.462 8.359-.207 8.507-.363.148-.157-.193-1.103-.231-1.657-.069-1.026.35-1.762 1.12-1.774h.04c.092.001.19.013.292.036 1.866.41 3.704 1.01 5.535 1.605 1.665.54 2.59.639 3.883.313 1.292-.326 2.034-.737 3.231-.651 4.516.009 9.529 2.096 14.536 6s12.49 16.84 9.198 25.28c-4.97 12.74-5.177 10.025-7.662 17.126-.18.814-.354 1.581-.517 2.312-.919 4.871-1.048 10.056.381 14.88.044.117.09.234.136.352.12.309.206.593.257.852z"
23799
23799
  }
23800
23800
  })]), _c('g', {
@@ -23809,12 +23809,12 @@ module.exports = {
23809
23809
  }
23810
23810
  }), _c('use', {
23811
23811
  attrs: {
23812
- "fill": "url(#id-0a)",
23813
- "xlink:href": "#id-1b"
23812
+ "fill": "url(#id-3a)",
23813
+ "xlink:href": "#id-4b"
23814
23814
  }
23815
23815
  }), _c('path', {
23816
23816
  attrs: {
23817
- "fill": "url(#id-2c)",
23817
+ "fill": "url(#id-5c)",
23818
23818
  "d": "M140.16 94.148c-9.194 1.408-11.705 1.1-14.296-.017-5.142-2.01-9.086-7.663-25.24-5.574-16.152 2.089-46.802-2.089-54.671-15.873-5.247-9.19-.586-18.872 13.981-29.046 5.452-3.472 9.006-9.315 10.663-17.53C72.25 17.904 64.062 9.215 46.03.039A1.13 1.13 0 0146.308 0h.038c.093.001.19.013.293.036 1.866.41 3.704 1.01 5.535 1.605 1.665.54 2.59.639 3.883.313 1.292-.326 2.034-.737 3.231-.651 4.516.009 9.529 2.096 14.536 6s12.49 16.84 9.198 25.28c-4.97 12.74-5.177 10.025-7.662 17.126-.18.814-.354 1.581-.517 2.312-.919 4.871-1.048 10.056.381 14.88.044.117.09.234.136.352.12.309.206.593.257.852a21.83 21.83 0 002.601 5.096c9.291 13.456 23.041 10.092 28.616 9.344 5.574-.747 13.007-1.121 17.094 2.243 4.088 3.364 6.352 6.033 14.441 8.532 1.303.187 1.78.484 1.792.828z"
23819
23819
  }
23820
23820
  }), _c('g', {
@@ -29891,7 +29891,7 @@ module.exports = {
29891
29891
  }, attrs)
29892
29892
  }, rest), children.concat([_c('defs', [_c('linearGradient', {
29893
29893
  attrs: {
29894
- "id": "id-3a",
29894
+ "id": "id-0a",
29895
29895
  "x1": "124.883",
29896
29896
  "y1": "17.983",
29897
29897
  "x2": "117.483",
@@ -29920,7 +29920,7 @@ module.exports = {
29920
29920
  }
29921
29921
  })]), _c('linearGradient', {
29922
29922
  attrs: {
29923
- "id": "id-4b",
29923
+ "id": "id-1b",
29924
29924
  "x1": "116.71",
29925
29925
  "y1": "31.343",
29926
29926
  "x2": "102.594",
@@ -29949,7 +29949,7 @@ module.exports = {
29949
29949
  }
29950
29950
  })]), _c('linearGradient', {
29951
29951
  attrs: {
29952
- "id": "id-5c",
29952
+ "id": "id-2c",
29953
29953
  "x1": "106.335",
29954
29954
  "y1": "23.516",
29955
29955
  "x2": "140.192",
@@ -29973,18 +29973,18 @@ module.exports = {
29973
29973
  }
29974
29974
  }), _c('path', {
29975
29975
  attrs: {
29976
- "fill": "url(#id-3a)",
29976
+ "fill": "url(#id-0a)",
29977
29977
  "d": "M126.585 16.359l-6.919 4.057V1.094l6.919 6.917v8.348z"
29978
29978
  }
29979
29979
  }), _c('path', {
29980
29980
  attrs: {
29981
- "fill": "url(#id-4b)",
29981
+ "fill": "url(#id-1b)",
29982
29982
  "d": "M106.335 11.382h6.634v23.101h-6.634z"
29983
29983
  }
29984
29984
  }), _c('path', {
29985
29985
  attrs: {
29986
29986
  "d": "M140.191 13.257a.789.789 0 00-.2-.505.935.935 0 00-.82-.191 42.336 42.336 0 00-32.84 21.922h6.634c7.037-12.392 17.369-17.99 26.691-20.609.416-.138.544-.391.535-.617z",
29987
- "fill": "url(#id-5c)"
29987
+ "fill": "url(#id-2c)"
29988
29988
  }
29989
29989
  }), _c('path', {
29990
29990
  attrs: {
@@ -36304,12 +36304,12 @@ if (typeof window !== 'undefined') {
36304
36304
  // EXTERNAL MODULE: ./node_modules/vue/dist/vue.runtime.esm.js
36305
36305
  var vue_runtime_esm = __webpack_require__("2b0e");
36306
36306
 
36307
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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=20d318ae&
36307
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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=da8aa500&
36308
36308
  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)}
36309
36309
  var staticRenderFns = []
36310
36310
 
36311
36311
 
36312
- // CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=20d318ae&
36312
+ // CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=da8aa500&
36313
36313
 
36314
36314
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
36315
36315
  var es_array_for_each = __webpack_require__("4160");
@@ -37363,14 +37363,14 @@ var HeaderContentSubView_component = normalizeComponent(
37363
37363
  )
37364
37364
 
37365
37365
  /* harmony default export */ var HeaderContentSubView = (HeaderContentSubView_component.exports);
37366
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/MethodSelection.vue?vue&type=template&id=7c7ae73c&
37367
- var MethodSelectionvue_type_template_id_7c7ae73c_render = function () {
37366
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/MethodSelection.vue?vue&type=template&id=510fefee&
37367
+ var MethodSelectionvue_type_template_id_510fefee_render = function () {
37368
37368
  var _obj;
37369
37369
  var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[_vm.$style.methodSelection, ( _obj = {}, _obj[_vm.$style.methodSelectionThin] = _vm.isThinLayout, _obj )]},[_c('div',{class:_vm.$style.row},_vm._l((_vm.identificationMethodsInCurrentCountry),function(method){return _c('div',{key:method.actionType,class:_vm.$style.unit},[_c('MethodButton',{attrs:{"button-name":method.buttonName,"disabled":_vm.isLoading,"on-click":function () { return _vm.selectMethod(method.actionType); },"aria-label":_vm.$t('login-method') + ' ' + _vm.$t(method.translationKeys.title)}})],1)}),0),_c('div',{class:_vm.$style.row},_vm._l((_vm.signingMethodsInCurrentCountry),function(method){return _c('div',{key:method.actionType,class:_vm.$style.unit},[_c('MethodButton',{attrs:{"button-name":method.buttonName,"disabled":_vm.isLoading,"on-click":function () { return _vm.selectMethod(method.actionType); },"aria-label":_vm.$t('signature-method') + ' ' + _vm.$t(method.translationKeys.title)}})],1)}),0),_c('div',{ref:"iframeHolder"})])}
37370
- var MethodSelectionvue_type_template_id_7c7ae73c_staticRenderFns = []
37370
+ var MethodSelectionvue_type_template_id_510fefee_staticRenderFns = []
37371
37371
 
37372
37372
 
37373
- // CONCATENATED MODULE: ./src/views/MethodSelection.vue?vue&type=template&id=7c7ae73c&
37373
+ // CONCATENATED MODULE: ./src/views/MethodSelection.vue?vue&type=template&id=510fefee&
37374
37374
 
37375
37375
  // EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
37376
37376
  var runtime = __webpack_require__("96cf");
@@ -37417,108 +37417,37 @@ function _asyncToGenerator(fn) {
37417
37417
  });
37418
37418
  };
37419
37419
  }
37420
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
37421
- var es_array_concat = __webpack_require__("99af");
37422
-
37423
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
37424
- var es_array_find = __webpack_require__("7db0");
37425
-
37426
- // CONCATENATED MODULE: ./src/featureFlags.js
37427
-
37428
-
37429
- var flags = {// example
37430
-
37431
- /*
37432
- FF_FREJA_EID_LOGIN: {
37433
- created: '2021-08-02',
37434
- enabledInEnvs: ['development'],
37435
- },
37436
- */
37437
- };
37438
-
37439
- var createFeatureFlags = function createFeatureFlags(_ref) {
37440
- var env = _ref.env;
37441
-
37442
- var enabled = function enabled(flag) {
37443
- var isEnabled = false;
37444
-
37445
- if (flags[flag] && flags[flag].enabledInEnvs.includes(env)) {
37446
- isEnabled = true;
37447
- }
37448
-
37449
- return isEnabled;
37450
- };
37451
-
37452
- return {
37453
- enabled: enabled
37454
- };
37455
- };
37420
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
37421
+ var MethodButtonvue_type_template_id_7ae5ce06_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{class:_vm.$style.methodButton,attrs:{"href":"#","role":"button","disabled":_vm.disabled},on:{"click":function($event){$event.preventDefault();return _vm.handleClick($event)}}},[_c(_vm.buttonName,{tag:"Component"})],1)}
37422
+ var MethodButtonvue_type_template_id_7ae5ce06_staticRenderFns = []
37456
37423
 
37457
- var featureFlags = createFeatureFlags({
37458
- env: "production" || false
37459
- });
37460
- /* harmony default export */ var src_featureFlags = (featureFlags);
37461
- // CONCATENATED MODULE: ./src/components/methodButtons/methodButtonNames.js
37462
- var methodButtonNames = {
37463
- IdCardButton: 'IdCardButton',
37464
- IdCardButtonEE: 'IdCardButtonEE',
37465
- IdCardButtonFi: 'IdCardButtonFi',
37466
- IdCardButtonBe: 'IdCardButtonBe',
37467
- SmartIdButton: 'SmartIdButton',
37468
- MobileIdButton: 'MobileIdButton',
37469
- MobileIdButtonEE: 'MobileIdButtonEE',
37470
- EparakstsMobileButton: 'EparakstsMobileButton',
37471
- FrejaEidButton: 'FrejaEidButton',
37472
- ZealIdButton: 'ZealIdButton',
37473
- MojeIdButton: 'MojeIdButton',
37474
- FinnishTrustNetworkButton: 'FinnishTrustNetworkButton',
37475
- AtHandyButton: 'AtHandyButton',
37476
- IdCardButtonLv: 'IdCardButtonLv',
37477
- IdCardButtonPt: 'IdCardButtonPt',
37478
- OtpButton: 'OtpButton'
37479
- };
37480
- /* harmony default export */ var methodButtons_methodButtonNames = (methodButtonNames);
37481
- // EXTERNAL MODULE: ./node_modules/@eid-easy/eideasy-browser-client/dist/eideasy-browser-client.js
37482
- var eideasy_browser_client = __webpack_require__("0ea0");
37483
- var eideasy_browser_client_default = /*#__PURE__*/__webpack_require__.n(eideasy_browser_client);
37484
37424
 
37485
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/SignatureFtn.vue?vue&type=template&id=e497ed0c&
37486
- var SignatureFtnvue_type_template_id_e497ed0c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:_vm.$style.note},[_vm._v(" "+_vm._s(_vm.$t('pre-sign-confirmation', {method: _vm.$t('finnish-online-bank')}))+" ")]),_c('div',{class:_vm.$style.formContainer},[_c('AppButton',{attrs:{"on-click":_vm.sign}},[_vm._v(" "+_vm._s(_vm.$t('Sign'))+" ")])],1)])}
37487
- var SignatureFtnvue_type_template_id_e497ed0c_staticRenderFns = []
37425
+ // CONCATENATED MODULE: ./src/components/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
37488
37426
 
37427
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/methodButtons/IdCardButton.vue?vue&type=template&id=e4be1d66&
37428
+ var IdCardButtonvue_type_template_id_e4be1d66_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconIdCard',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('id-card'))+" ")]},proxy:true}])})}
37429
+ var IdCardButtonvue_type_template_id_e4be1d66_staticRenderFns = []
37489
37430
 
37490
- // CONCATENATED MODULE: ./src/views/SignatureFtn.vue?vue&type=template&id=e497ed0c&
37491
37431
 
37492
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/AppButton.vue?vue&type=template&id=7bb31c31&
37493
- var AppButtonvue_type_template_id_7bb31c31_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{class:[_vm.$style.button, _vm.schemeClassName],attrs:{"type":_vm.type},on:{"click":_vm.handleClick}},[_vm._t("default")],2)}
37494
- var AppButtonvue_type_template_id_7bb31c31_staticRenderFns = []
37432
+ // CONCATENATED MODULE: ./src/components/methodButtons/IdCardButton.vue?vue&type=template&id=e4be1d66&
37495
37433
 
37434
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/methodButtons/MethodButtonBase.vue?vue&type=template&id=1891359c&
37435
+ var MethodButtonBasevue_type_template_id_1891359c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.row},[_c('div',{class:_vm.$style.unit},[_vm._t("slot1")],2),_c('div',{class:_vm.$style.unit},[_vm._t("slot2")],2)])}
37436
+ var MethodButtonBasevue_type_template_id_1891359c_staticRenderFns = []
37496
37437
 
37497
- // CONCATENATED MODULE: ./src/components/AppButton.vue?vue&type=template&id=7bb31c31&
37498
37438
 
37499
- // 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/AppButton.vue?vue&type=script&lang=js&
37439
+ // CONCATENATED MODULE: ./src/components/methodButtons/MethodButtonBase.vue?vue&type=template&id=1891359c&
37500
37440
 
37501
- /* harmony default export */ var AppButtonvue_type_script_lang_js_ = ({
37502
- name: 'AppButton',
37503
- mixins: [src_schemeMixin(['primary', 'secondary'])],
37504
- props: {
37505
- type: String,
37506
- onClick: Function
37507
- },
37508
- methods: {
37509
- handleClick: function handleClick(e) {
37510
- if (!this.disabled && this.onClick) {
37511
- this.onClick(e);
37512
- }
37513
- }
37514
- }
37441
+ // 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/methodButtons/MethodButtonBase.vue?vue&type=script&lang=js&
37442
+ /* harmony default export */ var MethodButtonBasevue_type_script_lang_js_ = ({
37443
+ name: 'MethodButtonBase'
37515
37444
  });
37516
- // CONCATENATED MODULE: ./src/components/AppButton.vue?vue&type=script&lang=js&
37517
- /* harmony default export */ var components_AppButtonvue_type_script_lang_js_ = (AppButtonvue_type_script_lang_js_);
37518
- // EXTERNAL MODULE: ./src/components/AppButton.vue?vue&type=style&index=0&lang=scss&module=true&
37519
- var AppButtonvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("e513");
37445
+ // CONCATENATED MODULE: ./src/components/methodButtons/MethodButtonBase.vue?vue&type=script&lang=js&
37446
+ /* harmony default export */ var methodButtons_MethodButtonBasevue_type_script_lang_js_ = (MethodButtonBasevue_type_script_lang_js_);
37447
+ // EXTERNAL MODULE: ./src/components/methodButtons/MethodButtonBase.vue?vue&type=style&index=0&lang=scss&module=true&
37448
+ var MethodButtonBasevue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("0f53");
37520
37449
 
37521
- // CONCATENATED MODULE: ./src/components/AppButton.vue
37450
+ // CONCATENATED MODULE: ./src/components/methodButtons/MethodButtonBase.vue
37522
37451
 
37523
37452
 
37524
37453
 
@@ -37527,88 +37456,46 @@ var AppButtonvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__
37527
37456
 
37528
37457
 
37529
37458
 
37530
- function AppButton_injectStyles (context) {
37459
+ function MethodButtonBase_injectStyles (context) {
37531
37460
 
37532
- this["$style"] = (AppButtonvue_type_style_index_0_lang_scss_module_true_["default"].locals || AppButtonvue_type_style_index_0_lang_scss_module_true_["default"])
37461
+ this["$style"] = (MethodButtonBasevue_type_style_index_0_lang_scss_module_true_["default"].locals || MethodButtonBasevue_type_style_index_0_lang_scss_module_true_["default"])
37533
37462
 
37534
37463
  }
37535
37464
 
37536
37465
  /* normalize component */
37537
37466
 
37538
- var AppButton_component = normalizeComponent(
37539
- components_AppButtonvue_type_script_lang_js_,
37540
- AppButtonvue_type_template_id_7bb31c31_render,
37541
- AppButtonvue_type_template_id_7bb31c31_staticRenderFns,
37467
+ var MethodButtonBase_component = normalizeComponent(
37468
+ methodButtons_MethodButtonBasevue_type_script_lang_js_,
37469
+ MethodButtonBasevue_type_template_id_1891359c_render,
37470
+ MethodButtonBasevue_type_template_id_1891359c_staticRenderFns,
37542
37471
  false,
37543
- AppButton_injectStyles,
37472
+ MethodButtonBase_injectStyles,
37544
37473
  null,
37545
37474
  null
37546
37475
 
37547
37476
  )
37548
37477
 
37549
- /* harmony default export */ var AppButton = (AppButton_component.exports);
37550
- // 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/SignatureFtn.vue?vue&type=script&lang=js&
37478
+ /* harmony default export */ var MethodButtonBase = (MethodButtonBase_component.exports);
37479
+ // EXTERNAL MODULE: ./src/assets/svg/id-card.svg
37480
+ var id_card = __webpack_require__("ed45");
37481
+ var id_card_default = /*#__PURE__*/__webpack_require__.n(id_card);
37551
37482
 
37483
+ // 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/methodButtons/IdCardButton.vue?vue&type=script&lang=js&
37552
37484
 
37553
37485
 
37554
- /* harmony default export */ var SignatureFtnvue_type_script_lang_js_ = ({
37555
- name: 'SignatureFtn',
37486
+ /* harmony default export */ var IdCardButtonvue_type_script_lang_js_ = ({
37487
+ name: 'MobileIdButton',
37556
37488
  components: {
37557
- AppButton: AppButton
37558
- },
37559
- data: function data() {
37560
- return {
37561
- signingProcess: {}
37562
- };
37563
- },
37564
- computed: {
37565
- additionalMethodConfig: function additionalMethodConfig() {
37566
- return this.$root.$options.storeGetters.additionalMethodConfig();
37567
- }
37568
- },
37569
- methods: {
37570
- loadingStart: function loadingStart() {
37571
- this.$root.$options.storeActions.loadingStart();
37572
- },
37573
- loadingEnd: function loadingEnd() {
37574
- this.$root.$options.storeActions.loadingEnd();
37575
- },
37576
- addFlashMessage: function addFlashMessage(message) {
37577
- this.$root.$options.storeActions.addFlashMessage(message);
37578
- },
37579
- clearFlashMessages: function clearFlashMessages() {
37580
- this.$root.$options.storeActions.clearFlashMessages();
37581
- },
37582
- sign: function sign() {
37583
- var _this = this;
37584
-
37585
- this.loadingStart();
37586
- this.clearFlashMessages();
37587
- var additionalMethodConfig = this.additionalMethodConfig || {};
37588
- this.signingProcess = this.$root.$options.eidEasyClient.signature.ftnSignature.start(_objectSpread2({
37589
- fail: function fail(error) {
37590
- if (!error.isCancel) {
37591
- _this.addFlashMessage(error);
37592
- }
37593
-
37594
- _this.$root.$options.eidEasyOnFail(error);
37595
- },
37596
- success: function success(result) {
37597
- _this.$root.$options.eidEasyOnSuccess(result);
37598
- },
37599
- finished: function finished() {
37600
- _this.loadingEnd();
37601
- }
37602
- }, additionalMethodConfig));
37603
- }
37489
+ MethodButtonBase: MethodButtonBase,
37490
+ IconIdCard: id_card_default.a
37604
37491
  }
37605
37492
  });
37606
- // CONCATENATED MODULE: ./src/views/SignatureFtn.vue?vue&type=script&lang=js&
37607
- /* harmony default export */ var views_SignatureFtnvue_type_script_lang_js_ = (SignatureFtnvue_type_script_lang_js_);
37608
- // EXTERNAL MODULE: ./src/views/SignatureFtn.vue?vue&type=style&index=0&lang=scss&module=true&
37609
- var SignatureFtnvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("268a");
37493
+ // CONCATENATED MODULE: ./src/components/methodButtons/IdCardButton.vue?vue&type=script&lang=js&
37494
+ /* harmony default export */ var methodButtons_IdCardButtonvue_type_script_lang_js_ = (IdCardButtonvue_type_script_lang_js_);
37495
+ // EXTERNAL MODULE: ./src/components/methodButtons/IdCardButton.vue?vue&type=style&index=0&lang=scss&module=true&
37496
+ var IdCardButtonvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("bd3c");
37610
37497
 
37611
- // CONCATENATED MODULE: ./src/views/SignatureFtn.vue
37498
+ // CONCATENATED MODULE: ./src/components/methodButtons/IdCardButton.vue
37612
37499
 
37613
37500
 
37614
37501
 
@@ -37617,461 +37504,108 @@ var SignatureFtnvue_type_style_index_0_lang_scss_module_true_ = __webpack_requir
37617
37504
 
37618
37505
 
37619
37506
 
37620
- function SignatureFtn_injectStyles (context) {
37507
+ function IdCardButton_injectStyles (context) {
37621
37508
 
37622
- this["$style"] = (SignatureFtnvue_type_style_index_0_lang_scss_module_true_["default"].locals || SignatureFtnvue_type_style_index_0_lang_scss_module_true_["default"])
37509
+ this["$style"] = (IdCardButtonvue_type_style_index_0_lang_scss_module_true_["default"].locals || IdCardButtonvue_type_style_index_0_lang_scss_module_true_["default"])
37623
37510
 
37624
37511
  }
37625
37512
 
37626
37513
  /* normalize component */
37627
37514
 
37628
- var SignatureFtn_component = normalizeComponent(
37629
- views_SignatureFtnvue_type_script_lang_js_,
37630
- SignatureFtnvue_type_template_id_e497ed0c_render,
37631
- SignatureFtnvue_type_template_id_e497ed0c_staticRenderFns,
37515
+ var IdCardButton_component = normalizeComponent(
37516
+ methodButtons_IdCardButtonvue_type_script_lang_js_,
37517
+ IdCardButtonvue_type_template_id_e4be1d66_render,
37518
+ IdCardButtonvue_type_template_id_e4be1d66_staticRenderFns,
37632
37519
  false,
37633
- SignatureFtn_injectStyles,
37520
+ IdCardButton_injectStyles,
37634
37521
  null,
37635
37522
  null
37636
37523
 
37637
37524
  )
37638
37525
 
37639
- /* harmony default export */ var SignatureFtn = (SignatureFtn_component.exports);
37640
- // CONCATENATED MODULE: ./src/config.js
37526
+ /* harmony default export */ var IdCardButton = (IdCardButton_component.exports);
37527
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/methodButtons/IdCardButtonEE.vue?vue&type=template&id=02178dd2&
37528
+ var IdCardButtonEEvue_type_template_id_02178dd2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconIdCardEE',{class:_vm.$style.icon})]},proxy:true}])})}
37529
+ var IdCardButtonEEvue_type_template_id_02178dd2_staticRenderFns = []
37641
37530
 
37642
37531
 
37532
+ // CONCATENATED MODULE: ./src/components/methodButtons/IdCardButtonEE.vue?vue&type=template&id=02178dd2&
37643
37533
 
37534
+ // EXTERNAL MODULE: ./src/assets/svg/id-kaart.svg
37535
+ var id_kaart = __webpack_require__("732d");
37536
+ var id_kaart_default = /*#__PURE__*/__webpack_require__.n(id_kaart);
37644
37537
 
37538
+ // 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/methodButtons/IdCardButtonEE.vue?vue&type=script&lang=js&
37645
37539
 
37646
37540
 
37541
+ /* harmony default export */ var IdCardButtonEEvue_type_script_lang_js_ = ({
37542
+ name: 'IdCardButtonEE',
37543
+ components: {
37544
+ MethodButtonBase: MethodButtonBase,
37545
+ IconIdCardEE: id_kaart_default.a
37546
+ }
37547
+ });
37548
+ // CONCATENATED MODULE: ./src/components/methodButtons/IdCardButtonEE.vue?vue&type=script&lang=js&
37549
+ /* harmony default export */ var methodButtons_IdCardButtonEEvue_type_script_lang_js_ = (IdCardButtonEEvue_type_script_lang_js_);
37550
+ // EXTERNAL MODULE: ./src/components/methodButtons/IdCardButtonEE.vue?vue&type=style&index=0&lang=scss&module=true&
37551
+ var IdCardButtonEEvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("52ab");
37647
37552
 
37553
+ // CONCATENATED MODULE: ./src/components/methodButtons/IdCardButtonEE.vue
37648
37554
 
37649
37555
 
37650
37556
 
37651
- var _Object$freeze, _availableMethods;
37652
37557
 
37653
37558
 
37654
37559
 
37655
37560
 
37656
37561
 
37562
+ function IdCardButtonEE_injectStyles (context) {
37563
+
37564
+ this["$style"] = (IdCardButtonEEvue_type_style_index_0_lang_scss_module_true_["default"].locals || IdCardButtonEEvue_type_style_index_0_lang_scss_module_true_["default"])
37657
37565
 
37658
- var allWidgetMethods = Object.freeze((_Object$freeze = {}, _defineProperty(_Object$freeze, eideasy_browser_client["methodTypes"].IDENTIFICATION, [{
37659
- actionType: eideasy_browser_client["methodActionTypes"].BE_ID_LOGIN,
37660
- buttonName: methodButtons_methodButtonNames.IdCardButtonBe,
37661
- translationKeys: {
37662
- title: 'id-card'
37663
- }
37664
- }, {
37665
- actionType: eideasy_browser_client["methodActionTypes"].EE_ID_LOGIN,
37666
- buttonName: methodButtons_methodButtonNames.IdCardButtonEE,
37667
- translationKeys: {
37668
- title: 'id-card'
37669
- }
37670
- }, {
37671
- actionType: eideasy_browser_client["methodActionTypes"].FI_ID_LOGIN,
37672
- buttonName: methodButtons_methodButtonNames.IdCardButtonFi,
37673
- translationKeys: {
37674
- title: 'id-card'
37675
- }
37676
- }, {
37677
- actionType: eideasy_browser_client["methodActionTypes"].LV_ID_LOGIN,
37678
- buttonName: methodButtons_methodButtonNames.IdCardButtonLv,
37679
- translationKeys: {
37680
- title: 'id-card'
37681
- }
37682
- }, {
37683
- actionType: eideasy_browser_client["methodActionTypes"].LT_ID_LOGIN,
37684
- buttonName: methodButtons_methodButtonNames.IdCardButton,
37685
- translationKeys: {
37686
- title: 'id-card'
37687
- }
37688
- }, {
37689
- actionType: eideasy_browser_client["methodActionTypes"].PT_ID_LOGIN,
37690
- buttonName: methodButtons_methodButtonNames.IdCardButtonPt,
37691
- translationKeys: {
37692
- title: 'id-card'
37693
- }
37694
- }, {
37695
- actionType: eideasy_browser_client["methodActionTypes"].RS_ID_LOGIN,
37696
- buttonName: methodButtons_methodButtonNames.IdCardButton,
37697
- translationKeys: {
37698
- title: 'id-card'
37699
- }
37700
- }, {
37701
- actionType: eideasy_browser_client["methodActionTypes"].EE_MOBILE_ID,
37702
- buttonName: methodButtons_methodButtonNames.MobileIdButtonEE,
37703
- viewName: views_viewNames.MobileIdAuth,
37704
- translationKeys: {
37705
- title: 'mobile-id'
37706
- }
37707
- }, {
37708
- actionType: eideasy_browser_client["methodActionTypes"].LV_EPARAKSTS_MOBILE_LOGIN,
37709
- buttonName: methodButtons_methodButtonNames.EparakstsMobileButton,
37710
- translationKeys: {
37711
- title: 'eparaksts-mobile'
37712
- }
37713
- }, {
37714
- actionType: eideasy_browser_client["methodActionTypes"].LT_MOBILE_ID,
37715
- buttonName: methodButtons_methodButtonNames.MobileIdButton,
37716
- viewName: views_viewNames.MobileIdAuth,
37717
- translationKeys: {
37718
- title: 'mobile-id'
37719
- }
37720
- }, {
37721
- actionType: eideasy_browser_client["methodActionTypes"].SMART_ID,
37722
- buttonName: methodButtons_methodButtonNames.SmartIdButton,
37723
- viewName: views_viewNames.SmartIdAuth,
37724
- translationKeys: {
37725
- title: 'smart-id'
37726
- }
37727
- }, {
37728
- actionType: eideasy_browser_client["methodActionTypes"].FREJA_EID_LOGIN,
37729
- buttonName: methodButtons_methodButtonNames.FrejaEidButton,
37730
- viewName: views_viewNames.IdentificationFrejaId,
37731
- translationKeys: {
37732
- title: 'freja-eid'
37733
- }
37734
- }, {
37735
- actionType: eideasy_browser_client["methodActionTypes"].ZEALID_LOGIN,
37736
- buttonName: methodButtons_methodButtonNames.ZealIdButton,
37737
- viewName: views_viewNames.IdentificationZealId,
37738
- translationKeys: {
37739
- title: 'zeal-id'
37740
- }
37741
- }, {
37742
- actionType: eideasy_browser_client["methodActionTypes"].CZ_MOJEID,
37743
- buttonName: methodButtons_methodButtonNames.MojeIdButton,
37744
- translationKeys: {
37745
- title: 'moje-id'
37746
- }
37747
- }, {
37748
- actionType: eideasy_browser_client["methodActionTypes"].FI_FTN_LOGIN,
37749
- buttonName: methodButtons_methodButtonNames.FinnishTrustNetworkButton,
37750
- translationKeys: {
37751
- title: 'finnish-online-bank'
37752
- }
37753
- }, {
37754
- actionType: eideasy_browser_client["methodActionTypes"].AT_HANDY_SIGNATUR_LOGIN,
37755
- buttonName: methodButtons_methodButtonNames.AtHandyButton,
37756
- translationKeys: {
37757
- title: 'austrian-handy-signatur'
37758
- }
37759
- }]), _defineProperty(_Object$freeze, eideasy_browser_client["methodTypes"].SIGNATURE, [{
37760
- actionType: eideasy_browser_client["methodActionTypes"].BE_IDCARD_SIGNATURE,
37761
- buttonName: methodButtons_methodButtonNames.IdCardButtonBe,
37762
- translationKeys: {
37763
- title: 'id-card'
37764
- }
37765
- }, {
37766
- actionType: eideasy_browser_client["methodActionTypes"].EE_IDCARD_SIGNATURE,
37767
- buttonName: methodButtons_methodButtonNames.IdCardButtonEE,
37768
- translationKeys: {
37769
- title: 'id-card'
37770
- }
37771
- }, {
37772
- actionType: eideasy_browser_client["methodActionTypes"].FI_IDCARD_SIGNATURE,
37773
- buttonName: methodButtons_methodButtonNames.IdCardButtonFi,
37774
- translationKeys: {
37775
- title: 'id-card'
37776
- }
37777
- }, {
37778
- actionType: eideasy_browser_client["methodActionTypes"].LV_IDCARD_SIGNATURE,
37779
- buttonName: methodButtons_methodButtonNames.IdCardButtonLv,
37780
- translationKeys: {
37781
- title: 'id-card'
37782
- }
37783
- }, {
37784
- actionType: eideasy_browser_client["methodActionTypes"].LT_IDCARD_SIGNATURE,
37785
- buttonName: methodButtons_methodButtonNames.IdCardButton,
37786
- translationKeys: {
37787
- title: 'id-card'
37788
- }
37789
- }, {
37790
- actionType: eideasy_browser_client["methodActionTypes"].PT_IDCARD_SIGNATURE,
37791
- buttonName: methodButtons_methodButtonNames.IdCardButtonPt,
37792
- translationKeys: {
37793
- title: 'id-card'
37794
- }
37795
- }, {
37796
- actionType: eideasy_browser_client["methodActionTypes"].SMARTID_SIGNATURE,
37797
- buttonName: methodButtons_methodButtonNames.SmartIdButton,
37798
- viewName: views_viewNames.SignatureSmartId,
37799
- translationKeys: {
37800
- title: 'smart-id'
37801
- }
37802
- }, {
37803
- actionType: eideasy_browser_client["methodActionTypes"].EE_MOBILEID_SIGNATURE,
37804
- buttonName: methodButtons_methodButtonNames.MobileIdButtonEE,
37805
- viewName: views_viewNames.SignatureMobileId,
37806
- translationKeys: {
37807
- title: 'mobile-id'
37808
- }
37809
- }, {
37810
- actionType: eideasy_browser_client["methodActionTypes"].LT_MOBILEID_SIGNATURE,
37811
- buttonName: methodButtons_methodButtonNames.MobileIdButton,
37812
- viewName: views_viewNames.SignatureMobileId,
37813
- translationKeys: {
37814
- title: 'mobile-id'
37815
- }
37816
- }, {
37817
- actionType: eideasy_browser_client["methodActionTypes"].LV_EPARAKSTS_MOBILE_SIGNATURE,
37818
- buttonName: methodButtons_methodButtonNames.EparakstsMobileButton,
37819
- translationKeys: {
37820
- title: 'eparaksts-mobile'
37821
- }
37822
- }, {
37823
- actionType: eideasy_browser_client["methodActionTypes"].FI_FTN_ADVANCED_SIGNATURE,
37824
- buttonName: methodButtons_methodButtonNames.FinnishTrustNetworkButton,
37825
- viewName: views_viewNames.SignatureFtn,
37826
- translationKeys: {
37827
- title: 'finnish-online-bank'
37828
- }
37829
- }, {
37830
- actionType: eideasy_browser_client["methodActionTypes"].OTP_EMAIL,
37831
- buttonName: methodButtons_methodButtonNames.OtpButton,
37832
- viewName: views_viewNames.SignatureOtp,
37833
- translationKeys: {
37834
- title: 'email-sms'
37835
- }
37836
- }, {
37837
- actionType: eideasy_browser_client["methodActionTypes"].AT_HANDY_SIGNATUR_SIGNATURE,
37838
- buttonName: methodButtons_methodButtonNames.AtHandyButton,
37839
- translationKeys: {
37840
- title: 'austrian-handy-signatur'
37841
- }
37842
- }, {
37843
- actionType: eideasy_browser_client["methodActionTypes"].ZEAL_ID_SIGNATURE,
37844
- buttonName: methodButtons_methodButtonNames.ZealIdButton,
37845
- translationKeys: {
37846
- title: 'zeal-id'
37847
- }
37848
- }]), _Object$freeze));
37566
+ }
37849
37567
 
37850
- var config_getAvailableMethods = function getAvailableMethods(clientMethods, widgetMethods) {
37851
- var methods = [];
37852
- widgetMethods.forEach(function (widgetMethod) {
37853
- var clientMethod = clientMethods.find(function (clientMethod) {
37854
- return clientMethod.actionType === widgetMethod.actionType;
37855
- });
37568
+ /* normalize component */
37856
37569
 
37857
- if (clientMethod) {
37858
- methods.push(_objectSpread2(_objectSpread2({}, clientMethod), widgetMethod));
37859
- }
37860
- });
37861
- return methods;
37862
- }; // intersection of all the methods provided by the eideasy-browser-client and all the methods in this widget
37570
+ var IdCardButtonEE_component = normalizeComponent(
37571
+ methodButtons_IdCardButtonEEvue_type_script_lang_js_,
37572
+ IdCardButtonEEvue_type_template_id_02178dd2_render,
37573
+ IdCardButtonEEvue_type_template_id_02178dd2_staticRenderFns,
37574
+ false,
37575
+ IdCardButtonEE_injectStyles,
37576
+ null,
37577
+ null
37578
+
37579
+ )
37863
37580
 
37581
+ /* harmony default export */ var IdCardButtonEE = (IdCardButtonEE_component.exports);
37582
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/methodButtons/SmartIdButton.vue?vue&type=template&id=3c6e7a06&
37583
+ var SmartIdButtonvue_type_template_id_3c6e7a06_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconSmartId',{class:_vm.$style.icon})]},proxy:true}])})}
37584
+ var SmartIdButtonvue_type_template_id_3c6e7a06_staticRenderFns = []
37864
37585
 
37865
- var availableMethods = (_availableMethods = {}, _defineProperty(_availableMethods, eideasy_browser_client["methodTypes"].IDENTIFICATION, config_getAvailableMethods(eideasy_browser_client["allMethods"][eideasy_browser_client["methodTypes"].IDENTIFICATION], allWidgetMethods[eideasy_browser_client["methodTypes"].IDENTIFICATION])), _defineProperty(_availableMethods, eideasy_browser_client["methodTypes"].SIGNATURE, config_getAvailableMethods(eideasy_browser_client["allMethods"][eideasy_browser_client["methodTypes"].SIGNATURE], allWidgetMethods[eideasy_browser_client["methodTypes"].SIGNATURE])), _availableMethods);
37866
37586
 
37867
- var config_createGetMethodsByActionType = function createGetMethodsByActionType(methods) {
37868
- var identificationMethods = methods[eideasy_browser_client["methodTypes"].IDENTIFICATION].map(function (method) {
37869
- method.methodType = eideasy_browser_client["methodTypes"].IDENTIFICATION;
37870
- return method;
37871
- });
37872
- var signatureMethods = methods[eideasy_browser_client["methodTypes"].SIGNATURE].map(function (method) {
37873
- method.methodType = eideasy_browser_client["methodTypes"].SIGNATURE;
37874
- return method;
37875
- });
37876
- var allMethods = [].concat(_toConsumableArray(identificationMethods), _toConsumableArray(signatureMethods));
37877
- var methodsByActionType = {};
37878
- allMethods.forEach(function (method) {
37879
- return methodsByActionType[method.actionType] = method;
37880
- });
37881
- return methodsByActionType;
37882
- };
37587
+ // CONCATENATED MODULE: ./src/components/methodButtons/SmartIdButton.vue?vue&type=template&id=3c6e7a06&
37883
37588
 
37884
- var config_methodsByActionType = config_createGetMethodsByActionType(availableMethods);
37589
+ // EXTERNAL MODULE: ./src/assets/svg/smart-id.svg
37590
+ var smart_id = __webpack_require__("ed8e");
37591
+ var smart_id_default = /*#__PURE__*/__webpack_require__.n(smart_id);
37885
37592
 
37886
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
37887
- var MethodButtonvue_type_template_id_7ae5ce06_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{class:_vm.$style.methodButton,attrs:{"href":"#","role":"button","disabled":_vm.disabled},on:{"click":function($event){$event.preventDefault();return _vm.handleClick($event)}}},[_c(_vm.buttonName,{tag:"Component"})],1)}
37888
- var MethodButtonvue_type_template_id_7ae5ce06_staticRenderFns = []
37593
+ // 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/methodButtons/SmartIdButton.vue?vue&type=script&lang=js&
37889
37594
 
37890
37595
 
37891
- // CONCATENATED MODULE: ./src/components/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
37596
+ /* harmony default export */ var SmartIdButtonvue_type_script_lang_js_ = ({
37597
+ name: 'SmartIdButton',
37598
+ components: {
37599
+ MethodButtonBase: MethodButtonBase,
37600
+ IconSmartId: smart_id_default.a
37601
+ }
37602
+ });
37603
+ // CONCATENATED MODULE: ./src/components/methodButtons/SmartIdButton.vue?vue&type=script&lang=js&
37604
+ /* harmony default export */ var methodButtons_SmartIdButtonvue_type_script_lang_js_ = (SmartIdButtonvue_type_script_lang_js_);
37605
+ // EXTERNAL MODULE: ./src/components/methodButtons/SmartIdButton.vue?vue&type=style&index=0&lang=scss&module=true&
37606
+ var SmartIdButtonvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("5951");
37892
37607
 
37893
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/methodButtons/IdCardButton.vue?vue&type=template&id=e4be1d66&
37894
- var IdCardButtonvue_type_template_id_e4be1d66_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconIdCard',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('id-card'))+" ")]},proxy:true}])})}
37895
- var IdCardButtonvue_type_template_id_e4be1d66_staticRenderFns = []
37896
-
37897
-
37898
- // CONCATENATED MODULE: ./src/components/methodButtons/IdCardButton.vue?vue&type=template&id=e4be1d66&
37899
-
37900
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/methodButtons/MethodButtonBase.vue?vue&type=template&id=1891359c&
37901
- var MethodButtonBasevue_type_template_id_1891359c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.row},[_c('div',{class:_vm.$style.unit},[_vm._t("slot1")],2),_c('div',{class:_vm.$style.unit},[_vm._t("slot2")],2)])}
37902
- var MethodButtonBasevue_type_template_id_1891359c_staticRenderFns = []
37903
-
37904
-
37905
- // CONCATENATED MODULE: ./src/components/methodButtons/MethodButtonBase.vue?vue&type=template&id=1891359c&
37906
-
37907
- // 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/methodButtons/MethodButtonBase.vue?vue&type=script&lang=js&
37908
- /* harmony default export */ var MethodButtonBasevue_type_script_lang_js_ = ({
37909
- name: 'MethodButtonBase'
37910
- });
37911
- // CONCATENATED MODULE: ./src/components/methodButtons/MethodButtonBase.vue?vue&type=script&lang=js&
37912
- /* harmony default export */ var methodButtons_MethodButtonBasevue_type_script_lang_js_ = (MethodButtonBasevue_type_script_lang_js_);
37913
- // EXTERNAL MODULE: ./src/components/methodButtons/MethodButtonBase.vue?vue&type=style&index=0&lang=scss&module=true&
37914
- var MethodButtonBasevue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("0f53");
37915
-
37916
- // CONCATENATED MODULE: ./src/components/methodButtons/MethodButtonBase.vue
37917
-
37918
-
37919
-
37920
-
37921
-
37922
-
37923
-
37924
-
37925
- function MethodButtonBase_injectStyles (context) {
37926
-
37927
- this["$style"] = (MethodButtonBasevue_type_style_index_0_lang_scss_module_true_["default"].locals || MethodButtonBasevue_type_style_index_0_lang_scss_module_true_["default"])
37928
-
37929
- }
37930
-
37931
- /* normalize component */
37932
-
37933
- var MethodButtonBase_component = normalizeComponent(
37934
- methodButtons_MethodButtonBasevue_type_script_lang_js_,
37935
- MethodButtonBasevue_type_template_id_1891359c_render,
37936
- MethodButtonBasevue_type_template_id_1891359c_staticRenderFns,
37937
- false,
37938
- MethodButtonBase_injectStyles,
37939
- null,
37940
- null
37941
-
37942
- )
37943
-
37944
- /* harmony default export */ var MethodButtonBase = (MethodButtonBase_component.exports);
37945
- // EXTERNAL MODULE: ./src/assets/svg/id-card.svg
37946
- var id_card = __webpack_require__("ed45");
37947
- var id_card_default = /*#__PURE__*/__webpack_require__.n(id_card);
37948
-
37949
- // 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/methodButtons/IdCardButton.vue?vue&type=script&lang=js&
37950
-
37951
-
37952
- /* harmony default export */ var IdCardButtonvue_type_script_lang_js_ = ({
37953
- name: 'MobileIdButton',
37954
- components: {
37955
- MethodButtonBase: MethodButtonBase,
37956
- IconIdCard: id_card_default.a
37957
- }
37958
- });
37959
- // CONCATENATED MODULE: ./src/components/methodButtons/IdCardButton.vue?vue&type=script&lang=js&
37960
- /* harmony default export */ var methodButtons_IdCardButtonvue_type_script_lang_js_ = (IdCardButtonvue_type_script_lang_js_);
37961
- // EXTERNAL MODULE: ./src/components/methodButtons/IdCardButton.vue?vue&type=style&index=0&lang=scss&module=true&
37962
- var IdCardButtonvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("bd3c");
37963
-
37964
- // CONCATENATED MODULE: ./src/components/methodButtons/IdCardButton.vue
37965
-
37966
-
37967
-
37968
-
37969
-
37970
-
37971
-
37972
-
37973
- function IdCardButton_injectStyles (context) {
37974
-
37975
- this["$style"] = (IdCardButtonvue_type_style_index_0_lang_scss_module_true_["default"].locals || IdCardButtonvue_type_style_index_0_lang_scss_module_true_["default"])
37976
-
37977
- }
37978
-
37979
- /* normalize component */
37980
-
37981
- var IdCardButton_component = normalizeComponent(
37982
- methodButtons_IdCardButtonvue_type_script_lang_js_,
37983
- IdCardButtonvue_type_template_id_e4be1d66_render,
37984
- IdCardButtonvue_type_template_id_e4be1d66_staticRenderFns,
37985
- false,
37986
- IdCardButton_injectStyles,
37987
- null,
37988
- null
37989
-
37990
- )
37991
-
37992
- /* harmony default export */ var IdCardButton = (IdCardButton_component.exports);
37993
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/methodButtons/IdCardButtonEE.vue?vue&type=template&id=02178dd2&
37994
- var IdCardButtonEEvue_type_template_id_02178dd2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconIdCardEE',{class:_vm.$style.icon})]},proxy:true}])})}
37995
- var IdCardButtonEEvue_type_template_id_02178dd2_staticRenderFns = []
37996
-
37997
-
37998
- // CONCATENATED MODULE: ./src/components/methodButtons/IdCardButtonEE.vue?vue&type=template&id=02178dd2&
37999
-
38000
- // EXTERNAL MODULE: ./src/assets/svg/id-kaart.svg
38001
- var id_kaart = __webpack_require__("732d");
38002
- var id_kaart_default = /*#__PURE__*/__webpack_require__.n(id_kaart);
38003
-
38004
- // 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/methodButtons/IdCardButtonEE.vue?vue&type=script&lang=js&
38005
-
38006
-
38007
- /* harmony default export */ var IdCardButtonEEvue_type_script_lang_js_ = ({
38008
- name: 'IdCardButtonEE',
38009
- components: {
38010
- MethodButtonBase: MethodButtonBase,
38011
- IconIdCardEE: id_kaart_default.a
38012
- }
38013
- });
38014
- // CONCATENATED MODULE: ./src/components/methodButtons/IdCardButtonEE.vue?vue&type=script&lang=js&
38015
- /* harmony default export */ var methodButtons_IdCardButtonEEvue_type_script_lang_js_ = (IdCardButtonEEvue_type_script_lang_js_);
38016
- // EXTERNAL MODULE: ./src/components/methodButtons/IdCardButtonEE.vue?vue&type=style&index=0&lang=scss&module=true&
38017
- var IdCardButtonEEvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("52ab");
38018
-
38019
- // CONCATENATED MODULE: ./src/components/methodButtons/IdCardButtonEE.vue
38020
-
38021
-
38022
-
38023
-
38024
-
38025
-
38026
-
38027
-
38028
- function IdCardButtonEE_injectStyles (context) {
38029
-
38030
- this["$style"] = (IdCardButtonEEvue_type_style_index_0_lang_scss_module_true_["default"].locals || IdCardButtonEEvue_type_style_index_0_lang_scss_module_true_["default"])
38031
-
38032
- }
38033
-
38034
- /* normalize component */
38035
-
38036
- var IdCardButtonEE_component = normalizeComponent(
38037
- methodButtons_IdCardButtonEEvue_type_script_lang_js_,
38038
- IdCardButtonEEvue_type_template_id_02178dd2_render,
38039
- IdCardButtonEEvue_type_template_id_02178dd2_staticRenderFns,
38040
- false,
38041
- IdCardButtonEE_injectStyles,
38042
- null,
38043
- null
38044
-
38045
- )
38046
-
38047
- /* harmony default export */ var IdCardButtonEE = (IdCardButtonEE_component.exports);
38048
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/methodButtons/SmartIdButton.vue?vue&type=template&id=3c6e7a06&
38049
- var SmartIdButtonvue_type_template_id_3c6e7a06_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconSmartId',{class:_vm.$style.icon})]},proxy:true}])})}
38050
- var SmartIdButtonvue_type_template_id_3c6e7a06_staticRenderFns = []
38051
-
38052
-
38053
- // CONCATENATED MODULE: ./src/components/methodButtons/SmartIdButton.vue?vue&type=template&id=3c6e7a06&
38054
-
38055
- // EXTERNAL MODULE: ./src/assets/svg/smart-id.svg
38056
- var smart_id = __webpack_require__("ed8e");
38057
- var smart_id_default = /*#__PURE__*/__webpack_require__.n(smart_id);
38058
-
38059
- // 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/methodButtons/SmartIdButton.vue?vue&type=script&lang=js&
38060
-
38061
-
38062
- /* harmony default export */ var SmartIdButtonvue_type_script_lang_js_ = ({
38063
- name: 'SmartIdButton',
38064
- components: {
38065
- MethodButtonBase: MethodButtonBase,
38066
- IconSmartId: smart_id_default.a
38067
- }
38068
- });
38069
- // CONCATENATED MODULE: ./src/components/methodButtons/SmartIdButton.vue?vue&type=script&lang=js&
38070
- /* harmony default export */ var methodButtons_SmartIdButtonvue_type_script_lang_js_ = (SmartIdButtonvue_type_script_lang_js_);
38071
- // EXTERNAL MODULE: ./src/components/methodButtons/SmartIdButton.vue?vue&type=style&index=0&lang=scss&module=true&
38072
- var SmartIdButtonvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("5951");
38073
-
38074
- // CONCATENATED MODULE: ./src/components/methodButtons/SmartIdButton.vue
37608
+ // CONCATENATED MODULE: ./src/components/methodButtons/SmartIdButton.vue
38075
37609
 
38076
37610
 
38077
37611
 
@@ -38874,7 +38408,6 @@ var MethodButton_component = normalizeComponent(
38874
38408
 
38875
38409
 
38876
38410
 
38877
-
38878
38411
  /* harmony default export */ var MethodSelectionvue_type_script_lang_js_ = ({
38879
38412
  name: 'MethodSelection',
38880
38413
  components: {
@@ -38898,6 +38431,9 @@ var MethodButton_component = normalizeComponent(
38898
38431
  },
38899
38432
  isThinLayout: function isThinLayout() {
38900
38433
  return this.identificationMethodsInCurrentCountry.length % 2 !== 0 || this.signingMethodsInCurrentCountry.length % 2 !== 0;
38434
+ },
38435
+ methodsByActionType: function methodsByActionType() {
38436
+ return this.$root.$options.eidEasyMethodsConfig.methodsByActionType;
38901
38437
  }
38902
38438
  },
38903
38439
  watch: {
@@ -38907,7 +38443,7 @@ var MethodButton_component = normalizeComponent(
38907
38443
  return;
38908
38444
  }
38909
38445
 
38910
- var method = config_methodsByActionType[newMethod.actionType]; // if a method doesn't have a viewname then it means that this method
38446
+ var method = this.methodsByActionType[newMethod.actionType]; // if a method doesn't have a viewname then it means that this method
38911
38447
  // has no sub views and doesn't need any additional user input and can therefore be started immediately
38912
38448
 
38913
38449
  if (!method.viewName) {
@@ -39024,8 +38560,8 @@ function MethodSelection_injectStyles (context) {
39024
38560
 
39025
38561
  var MethodSelection_component = normalizeComponent(
39026
38562
  views_MethodSelectionvue_type_script_lang_js_,
39027
- MethodSelectionvue_type_template_id_7c7ae73c_render,
39028
- MethodSelectionvue_type_template_id_7c7ae73c_staticRenderFns,
38563
+ MethodSelectionvue_type_template_id_510fefee_render,
38564
+ MethodSelectionvue_type_template_id_510fefee_staticRenderFns,
39029
38565
  false,
39030
38566
  MethodSelection_injectStyles,
39031
38567
  null,
@@ -39052,6 +38588,9 @@ var AppFormvue_type_template_id_f7509fbc_staticRenderFns = []
39052
38588
 
39053
38589
  // CONCATENATED MODULE: ./src/components/AppForm.vue?vue&type=template&id=f7509fbc&
39054
38590
 
38591
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
38592
+ var es_array_concat = __webpack_require__("99af");
38593
+
39055
38594
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
39056
38595
  var es_array_reduce = __webpack_require__("13d5");
39057
38596
 
@@ -39062,6 +38601,64 @@ var FormButtonvue_type_template_id_6eab7190_staticRenderFns = []
39062
38601
 
39063
38602
  // CONCATENATED MODULE: ./src/components/FormButton.vue?vue&type=template&id=6eab7190&
39064
38603
 
38604
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/AppButton.vue?vue&type=template&id=7bb31c31&
38605
+ var AppButtonvue_type_template_id_7bb31c31_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{class:[_vm.$style.button, _vm.schemeClassName],attrs:{"type":_vm.type},on:{"click":_vm.handleClick}},[_vm._t("default")],2)}
38606
+ var AppButtonvue_type_template_id_7bb31c31_staticRenderFns = []
38607
+
38608
+
38609
+ // CONCATENATED MODULE: ./src/components/AppButton.vue?vue&type=template&id=7bb31c31&
38610
+
38611
+ // 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/AppButton.vue?vue&type=script&lang=js&
38612
+
38613
+ /* harmony default export */ var AppButtonvue_type_script_lang_js_ = ({
38614
+ name: 'AppButton',
38615
+ mixins: [src_schemeMixin(['primary', 'secondary'])],
38616
+ props: {
38617
+ type: String,
38618
+ onClick: Function
38619
+ },
38620
+ methods: {
38621
+ handleClick: function handleClick(e) {
38622
+ if (!this.disabled && this.onClick) {
38623
+ this.onClick(e);
38624
+ }
38625
+ }
38626
+ }
38627
+ });
38628
+ // CONCATENATED MODULE: ./src/components/AppButton.vue?vue&type=script&lang=js&
38629
+ /* harmony default export */ var components_AppButtonvue_type_script_lang_js_ = (AppButtonvue_type_script_lang_js_);
38630
+ // EXTERNAL MODULE: ./src/components/AppButton.vue?vue&type=style&index=0&lang=scss&module=true&
38631
+ var AppButtonvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("e513");
38632
+
38633
+ // CONCATENATED MODULE: ./src/components/AppButton.vue
38634
+
38635
+
38636
+
38637
+
38638
+
38639
+
38640
+
38641
+
38642
+ function AppButton_injectStyles (context) {
38643
+
38644
+ this["$style"] = (AppButtonvue_type_style_index_0_lang_scss_module_true_["default"].locals || AppButtonvue_type_style_index_0_lang_scss_module_true_["default"])
38645
+
38646
+ }
38647
+
38648
+ /* normalize component */
38649
+
38650
+ var AppButton_component = normalizeComponent(
38651
+ components_AppButtonvue_type_script_lang_js_,
38652
+ AppButtonvue_type_template_id_7bb31c31_render,
38653
+ AppButtonvue_type_template_id_7bb31c31_staticRenderFns,
38654
+ false,
38655
+ AppButton_injectStyles,
38656
+ null,
38657
+ null
38658
+
38659
+ )
38660
+
38661
+ /* harmony default export */ var AppButton = (AppButton_component.exports);
39065
38662
  // 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/FormButton.vue?vue&type=script&lang=js&
39066
38663
 
39067
38664
  /* harmony default export */ var FormButtonvue_type_script_lang_js_ = ({
@@ -40424,38 +40021,134 @@ var SignatureMobileId_component = normalizeComponent(
40424
40021
  )
40425
40022
 
40426
40023
  /* harmony default export */ var SignatureMobileId = (SignatureMobileId_component.exports);
40427
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/SignatureOtp.vue?vue&type=template&id=59f05d72&
40428
- var SignatureOtpvue_type_template_id_59f05d72_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.showConfirm)?_c('div',[_c('div',{class:_vm.$style.mb4},[_vm._v(" "+_vm._s(_vm.$t('confirm-doc-check-and-sign'))+" ")]),_c('AppButton',{class:_vm.$style.mb4,attrs:{"on-click":_vm.approveConfirm}},[_vm._v(" "+_vm._s(_vm.$t('yes'))+" ")]),_c('AppButton',{class:_vm.$style.mb4,attrs:{"scheme":"secondary","on-click":_vm.rejectConfirm}},[_vm._v(" "+_vm._s(_vm.$t('no'))+" ")])],1):_c('div',[(_vm.emailToken)?_c('div',[(_vm.otpPhone)?_c('div',{class:_vm.$style.mb4},[_vm._v(" Phone: "+_vm._s(_vm.otpPhone)+" ")]):_vm._e(),(_vm.otpEmail)?_c('div',{class:_vm.$style.mb4},[_vm._v(" Email: "),_c('b',[_vm._v(_vm._s(_vm.otpEmail))])]):_vm._e()]):_vm._e(),(_vm.schema.length)?_c('div',[_c('AppForm',{attrs:{"id":"otpSignatureForm","schema":_vm.schema,"on-submit":_vm.startConfirm,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1):_c('div',[_c('AppAlert',{attrs:{"scheme":"danger"}},[_vm._v(" Missing otpEmail or otpPhone ")])],1)])])}
40429
- var SignatureOtpvue_type_template_id_59f05d72_staticRenderFns = []
40430
-
40431
-
40432
- // CONCATENATED MODULE: ./src/views/SignatureOtp.vue?vue&type=template&id=59f05d72&
40433
-
40434
- // 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/SignatureOtp.vue?vue&type=script&lang=js&
40024
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/SignatureFtn.vue?vue&type=template&id=89f3ab84&
40025
+ var SignatureFtnvue_type_template_id_89f3ab84_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:_vm.$style.note},[_vm._v(" "+_vm._s(_vm.$t('pre-sign-confirmation', {method: _vm.$t('finnish-online-bank')}))+" ")]),_c('div',{class:_vm.$style.formContainer},[_c('AppButton',{attrs:{"on-click":_vm.sign}},[_vm._v(" "+_vm._s(_vm.$t('Sign'))+" ")])],1)])}
40026
+ var SignatureFtnvue_type_template_id_89f3ab84_staticRenderFns = []
40435
40027
 
40436
40028
 
40029
+ // CONCATENATED MODULE: ./src/views/SignatureFtn.vue?vue&type=template&id=89f3ab84&
40437
40030
 
40031
+ // 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/SignatureFtn.vue?vue&type=script&lang=js&
40438
40032
 
40439
40033
 
40440
- /* harmony default export */ var SignatureOtpvue_type_script_lang_js_ = ({
40441
- name: 'SignatureOtp',
40034
+ /* harmony default export */ var SignatureFtnvue_type_script_lang_js_ = ({
40035
+ name: 'SignatureFtn',
40442
40036
  components: {
40443
- AppForm: AppForm,
40444
- AppAlert: AppAlert,
40445
40037
  AppButton: AppButton
40446
40038
  },
40447
40039
  data: function data() {
40448
40040
  return {
40449
- fieldErrors: {},
40450
- challenge: undefined,
40451
- authProcess: {},
40452
- showConfirm: false
40041
+ signingProcess: {}
40453
40042
  };
40454
40043
  },
40455
40044
  computed: {
40456
- inputValues: function inputValues() {
40457
- return this.$root.$options.storeGetters.inputValues();
40458
- },
40045
+ additionalMethodConfig: function additionalMethodConfig() {
40046
+ return this.$root.$options.storeGetters.additionalMethodConfig();
40047
+ }
40048
+ },
40049
+ methods: {
40050
+ loadingStart: function loadingStart() {
40051
+ this.$root.$options.storeActions.loadingStart();
40052
+ },
40053
+ loadingEnd: function loadingEnd() {
40054
+ this.$root.$options.storeActions.loadingEnd();
40055
+ },
40056
+ addFlashMessage: function addFlashMessage(message) {
40057
+ this.$root.$options.storeActions.addFlashMessage(message);
40058
+ },
40059
+ clearFlashMessages: function clearFlashMessages() {
40060
+ this.$root.$options.storeActions.clearFlashMessages();
40061
+ },
40062
+ sign: function sign() {
40063
+ var _this = this;
40064
+
40065
+ this.loadingStart();
40066
+ this.clearFlashMessages();
40067
+ var additionalMethodConfig = this.additionalMethodConfig || {};
40068
+ this.signingProcess = this.$root.$options.eidEasyClient.signature.ftnSignature.start(_objectSpread2({
40069
+ fail: function fail(error) {
40070
+ if (!error.isCancel) {
40071
+ _this.addFlashMessage(error);
40072
+ }
40073
+
40074
+ _this.$root.$options.eidEasyOnFail(error);
40075
+ },
40076
+ success: function success(result) {
40077
+ _this.$root.$options.eidEasyOnSuccess(result);
40078
+ },
40079
+ finished: function finished() {
40080
+ _this.loadingEnd();
40081
+ }
40082
+ }, additionalMethodConfig));
40083
+ }
40084
+ }
40085
+ });
40086
+ // CONCATENATED MODULE: ./src/views/SignatureFtn.vue?vue&type=script&lang=js&
40087
+ /* harmony default export */ var views_SignatureFtnvue_type_script_lang_js_ = (SignatureFtnvue_type_script_lang_js_);
40088
+ // EXTERNAL MODULE: ./src/views/SignatureFtn.vue?vue&type=style&index=0&lang=scss&module=true&
40089
+ var SignatureFtnvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("268a");
40090
+
40091
+ // CONCATENATED MODULE: ./src/views/SignatureFtn.vue
40092
+
40093
+
40094
+
40095
+
40096
+
40097
+
40098
+
40099
+
40100
+ function SignatureFtn_injectStyles (context) {
40101
+
40102
+ this["$style"] = (SignatureFtnvue_type_style_index_0_lang_scss_module_true_["default"].locals || SignatureFtnvue_type_style_index_0_lang_scss_module_true_["default"])
40103
+
40104
+ }
40105
+
40106
+ /* normalize component */
40107
+
40108
+ var SignatureFtn_component = normalizeComponent(
40109
+ views_SignatureFtnvue_type_script_lang_js_,
40110
+ SignatureFtnvue_type_template_id_89f3ab84_render,
40111
+ SignatureFtnvue_type_template_id_89f3ab84_staticRenderFns,
40112
+ false,
40113
+ SignatureFtn_injectStyles,
40114
+ null,
40115
+ null
40116
+
40117
+ )
40118
+
40119
+ /* harmony default export */ var SignatureFtn = (SignatureFtn_component.exports);
40120
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-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/SignatureOtp.vue?vue&type=template&id=59f05d72&
40121
+ var SignatureOtpvue_type_template_id_59f05d72_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.showConfirm)?_c('div',[_c('div',{class:_vm.$style.mb4},[_vm._v(" "+_vm._s(_vm.$t('confirm-doc-check-and-sign'))+" ")]),_c('AppButton',{class:_vm.$style.mb4,attrs:{"on-click":_vm.approveConfirm}},[_vm._v(" "+_vm._s(_vm.$t('yes'))+" ")]),_c('AppButton',{class:_vm.$style.mb4,attrs:{"scheme":"secondary","on-click":_vm.rejectConfirm}},[_vm._v(" "+_vm._s(_vm.$t('no'))+" ")])],1):_c('div',[(_vm.emailToken)?_c('div',[(_vm.otpPhone)?_c('div',{class:_vm.$style.mb4},[_vm._v(" Phone: "+_vm._s(_vm.otpPhone)+" ")]):_vm._e(),(_vm.otpEmail)?_c('div',{class:_vm.$style.mb4},[_vm._v(" Email: "),_c('b',[_vm._v(_vm._s(_vm.otpEmail))])]):_vm._e()]):_vm._e(),(_vm.schema.length)?_c('div',[_c('AppForm',{attrs:{"id":"otpSignatureForm","schema":_vm.schema,"on-submit":_vm.startConfirm,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1):_c('div',[_c('AppAlert',{attrs:{"scheme":"danger"}},[_vm._v(" Missing otpEmail or otpPhone ")])],1)])])}
40122
+ var SignatureOtpvue_type_template_id_59f05d72_staticRenderFns = []
40123
+
40124
+
40125
+ // CONCATENATED MODULE: ./src/views/SignatureOtp.vue?vue&type=template&id=59f05d72&
40126
+
40127
+ // 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/SignatureOtp.vue?vue&type=script&lang=js&
40128
+
40129
+
40130
+
40131
+
40132
+
40133
+ /* harmony default export */ var SignatureOtpvue_type_script_lang_js_ = ({
40134
+ name: 'SignatureOtp',
40135
+ components: {
40136
+ AppForm: AppForm,
40137
+ AppAlert: AppAlert,
40138
+ AppButton: AppButton
40139
+ },
40140
+ data: function data() {
40141
+ return {
40142
+ fieldErrors: {},
40143
+ challenge: undefined,
40144
+ authProcess: {},
40145
+ showConfirm: false
40146
+ };
40147
+ },
40148
+ computed: {
40149
+ inputValues: function inputValues() {
40150
+ return this.$root.$options.storeGetters.inputValues();
40151
+ },
40459
40152
  otpEmail: function otpEmail() {
40460
40153
  return this.$root.$options.storeGetters.otpEmail();
40461
40154
  },
@@ -40709,6 +40402,49 @@ var AppLayout_component = normalizeComponent(
40709
40402
  )
40710
40403
 
40711
40404
  /* harmony default export */ var AppLayout = (AppLayout_component.exports);
40405
+ // CONCATENATED MODULE: ./src/featureFlags.js
40406
+
40407
+
40408
+ var flags = {// example
40409
+
40410
+ /*
40411
+ FF_FREJA_EID_LOGIN: {
40412
+ created: '2021-08-02',
40413
+ enabledInEnvs: ['development'],
40414
+ },
40415
+ */
40416
+ };
40417
+
40418
+ var createFeatureFlags = function createFeatureFlags(_ref) {
40419
+ var env = _ref.env;
40420
+
40421
+ var enabled = function enabled(flag) {
40422
+ var isEnabled = false;
40423
+
40424
+ if (flags[flag] && flags[flag].enabledInEnvs.includes(env)) {
40425
+ isEnabled = true;
40426
+ }
40427
+
40428
+ return isEnabled;
40429
+ };
40430
+
40431
+ return {
40432
+ enabled: enabled
40433
+ };
40434
+ };
40435
+
40436
+ var featureFlags = createFeatureFlags({
40437
+ env: "production" || false
40438
+ });
40439
+ /* harmony default export */ var src_featureFlags = (featureFlags);
40440
+ // EXTERNAL MODULE: ./node_modules/@eid-easy/eideasy-browser-client/dist/eideasy-browser-client.js
40441
+ var eideasy_browser_client = __webpack_require__("0ea0");
40442
+ var eideasy_browser_client_default = /*#__PURE__*/__webpack_require__.n(eideasy_browser_client);
40443
+
40444
+ // CONCATENATED MODULE: ./src/config.js
40445
+
40446
+
40447
+
40712
40448
  // 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/App.vue?vue&type=script&lang=js&
40713
40449
 
40714
40450
 
@@ -40805,6 +40541,9 @@ var AppLayout_component = normalizeComponent(
40805
40541
  debug: {
40806
40542
  type: Boolean,
40807
40543
  default: false
40544
+ },
40545
+ methodsConfigFilter: {
40546
+ type: Function
40808
40547
  }
40809
40548
  },
40810
40549
  computed: {
@@ -40897,7 +40636,7 @@ var AppLayout_component = normalizeComponent(
40897
40636
  // in this case the widget would make a request to the default ee. endpoint - that we do not want
40898
40637
  // so, we'll take the first country from the countries whitelist instead
40899
40638
 
40900
- var supportedCountries = config_methodsByActionType[selectedMethod].supportedCountries;
40639
+ var supportedCountries = this.$root.$options.eidEasyMethodsConfig.methodsByActionType[selectedMethod].supportedCountries;
40901
40640
 
40902
40641
  if (Array.isArray(supportedCountries) && !supportedCountries.includes(countryToSelect)) {
40903
40642
  countryToSelect = supportedCountries[0].toUpperCase();
@@ -43701,6 +43440,9 @@ function loadLocaleMessages() {
43701
43440
  var vue_select = __webpack_require__("4a7a");
43702
43441
  var vue_select_default = /*#__PURE__*/__webpack_require__.n(vue_select);
43703
43442
 
43443
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
43444
+ var es_array_find = __webpack_require__("7db0");
43445
+
43704
43446
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js
43705
43447
  var es_array_flat = __webpack_require__("0481");
43706
43448
 
@@ -43734,7 +43476,10 @@ var es_set = __webpack_require__("6062");
43734
43476
 
43735
43477
 
43736
43478
 
43737
- var createStore_createStore = function createStore() {
43479
+ var createStore_createStore = function createStore(_ref) {
43480
+ var methodsConfig = _ref.methodsConfig;
43481
+ var availableMethods = methodsConfig.availableMethods,
43482
+ methodsByActionType = methodsConfig.methodsByActionType;
43738
43483
  var store = vue_runtime_esm["a" /* default */].observable({
43739
43484
  countryCode: 'EE',
43740
43485
  currentView: views_viewNames.MethodSelection,
@@ -43777,7 +43522,7 @@ var createStore_createStore = function createStore() {
43777
43522
  },
43778
43523
  currentViewTitleKey: function currentViewTitleKey() {
43779
43524
  var currentMethod = store.currentMethod && store.currentMethod.actionType;
43780
- return config_methodsByActionType[currentMethod].translationKeys && config_methodsByActionType[currentMethod].translationKeys.title;
43525
+ return methodsByActionType[currentMethod].translationKeys && methodsByActionType[currentMethod].translationKeys.title;
43781
43526
  },
43782
43527
  isLoading: function isLoading() {
43783
43528
  return store.isLoading;
@@ -43814,207 +43559,489 @@ var createStore_createStore = function createStore() {
43814
43559
  } // we use Set to remove duplicates
43815
43560
 
43816
43561
 
43817
- return _toConsumableArray(new Set(resultingCountries)).map(function (countryCode) {
43818
- return countryCode.toUpperCase();
43819
- });
43820
- },
43821
- callingCode: function callingCode() {
43822
- return src_callingCodes[store.countryCode];
43823
- },
43824
- inputValues: function inputValues() {
43825
- return store.inputValues;
43826
- },
43827
- otpEmail: function otpEmail() {
43828
- return store.otpEmail;
43829
- },
43830
- otpPhone: function otpPhone() {
43831
- return store.otpPhone;
43832
- },
43833
- emailToken: function emailToken() {
43834
- return store.emailToken;
43835
- },
43836
- additionalMethodConfig: function additionalMethodConfig() {
43837
- return store.additionalMethodConfig;
43838
- },
43839
- userActionsEnabled: function userActionsEnabled() {
43840
- return !store.signatureIsProcessing && !store.isLoading;
43841
- }
43842
- };
43843
- var mutations = {
43844
- setCountryCode: function setCountryCode(countryCode) {
43845
- store.countryCode = countryCode;
43846
- },
43847
- setCurrentView: function setCurrentView(template) {
43848
- store.currentView = template;
43849
- },
43850
- setCurrentMethod: function setCurrentMethod(methodObj) {
43851
- store.currentMethod = methodObj;
43852
- },
43853
- setIsLoading: function setIsLoading(value) {
43854
- store.isLoading = value;
43855
- },
43856
- addFlashMessage: function addFlashMessage(message) {
43857
- store.flashMessages.push(message);
43858
- },
43859
- clearFlashMessages: function clearFlashMessages() {
43860
- store.flashMessages = [];
43861
- },
43862
- setIdentificationMethods: function setIdentificationMethods(methods) {
43863
- store.identificationMethods = methods;
43864
- },
43865
- setSigningMethods: function setSigningMethods(methods) {
43866
- store.signingMethods = methods;
43867
- },
43868
- setEnabledCountries: function setEnabledCountries(countries) {
43869
- store.enabledCountries = countries;
43870
- },
43871
- setInputValues: function setInputValues(values) {
43872
- store.inputValues = values;
43873
- },
43874
- setOtpEmail: function setOtpEmail(value) {
43875
- store.otpEmail = value;
43876
- },
43877
- setOtpPhone: function setOtpPhone(value) {
43878
- store.otpPhone = value;
43879
- },
43880
- setEmailToken: function setEmailToken(value) {
43881
- store.emailToken = value;
43882
- },
43883
- setAdditionalMethodConfig: function setAdditionalMethodConfig(value) {
43884
- store.additionalMethodConfig = value;
43885
- },
43886
- setSignatureIsProcessing: function setSignatureIsProcessing(value) {
43887
- store.signatureIsProcessing = value;
43562
+ return _toConsumableArray(new Set(resultingCountries)).map(function (countryCode) {
43563
+ return countryCode.toUpperCase();
43564
+ });
43565
+ },
43566
+ callingCode: function callingCode() {
43567
+ return src_callingCodes[store.countryCode];
43568
+ },
43569
+ inputValues: function inputValues() {
43570
+ return store.inputValues;
43571
+ },
43572
+ otpEmail: function otpEmail() {
43573
+ return store.otpEmail;
43574
+ },
43575
+ otpPhone: function otpPhone() {
43576
+ return store.otpPhone;
43577
+ },
43578
+ emailToken: function emailToken() {
43579
+ return store.emailToken;
43580
+ },
43581
+ additionalMethodConfig: function additionalMethodConfig() {
43582
+ return store.additionalMethodConfig;
43583
+ },
43584
+ userActionsEnabled: function userActionsEnabled() {
43585
+ return !store.signatureIsProcessing && !store.isLoading;
43586
+ }
43587
+ };
43588
+ var mutations = {
43589
+ setCountryCode: function setCountryCode(countryCode) {
43590
+ store.countryCode = countryCode;
43591
+ },
43592
+ setCurrentView: function setCurrentView(template) {
43593
+ store.currentView = template;
43594
+ },
43595
+ setCurrentMethod: function setCurrentMethod(methodObj) {
43596
+ store.currentMethod = methodObj;
43597
+ },
43598
+ setIsLoading: function setIsLoading(value) {
43599
+ store.isLoading = value;
43600
+ },
43601
+ addFlashMessage: function addFlashMessage(message) {
43602
+ store.flashMessages.push(message);
43603
+ },
43604
+ clearFlashMessages: function clearFlashMessages() {
43605
+ store.flashMessages = [];
43606
+ },
43607
+ setIdentificationMethods: function setIdentificationMethods(methods) {
43608
+ store.identificationMethods = methods;
43609
+ },
43610
+ setSigningMethods: function setSigningMethods(methods) {
43611
+ store.signingMethods = methods;
43612
+ },
43613
+ setEnabledCountries: function setEnabledCountries(countries) {
43614
+ store.enabledCountries = countries;
43615
+ },
43616
+ setInputValues: function setInputValues(values) {
43617
+ store.inputValues = values;
43618
+ },
43619
+ setOtpEmail: function setOtpEmail(value) {
43620
+ store.otpEmail = value;
43621
+ },
43622
+ setOtpPhone: function setOtpPhone(value) {
43623
+ store.otpPhone = value;
43624
+ },
43625
+ setEmailToken: function setEmailToken(value) {
43626
+ store.emailToken = value;
43627
+ },
43628
+ setAdditionalMethodConfig: function setAdditionalMethodConfig(value) {
43629
+ store.additionalMethodConfig = value;
43630
+ },
43631
+ setSignatureIsProcessing: function setSignatureIsProcessing(value) {
43632
+ store.signatureIsProcessing = value;
43633
+ }
43634
+ };
43635
+ var actions = {
43636
+ loadingStart: function loadingStart() {
43637
+ mutations.setIsLoading(true);
43638
+ },
43639
+ loadingEnd: function loadingEnd() {
43640
+ mutations.setIsLoading(false);
43641
+ },
43642
+ changeCountry: function changeCountry(newCountryCode) {
43643
+ var countryCode = newCountryCode.toUpperCase();
43644
+ var availableCountries = getters.availableCountries();
43645
+
43646
+ if (availableCountries.indexOf(countryCode) !== -1) {
43647
+ mutations.setCountryCode(countryCode);
43648
+ } else {
43649
+ mutations.setCountryCode(availableCountries[0]);
43650
+ }
43651
+ },
43652
+ selectMethod: function selectMethod(actionType) {
43653
+ var timestamp = Date.now();
43654
+ var viewName = methodsByActionType[actionType].viewName;
43655
+ mutations.clearFlashMessages();
43656
+ mutations.setCurrentMethod({
43657
+ actionType: actionType,
43658
+ timestamp: timestamp
43659
+ });
43660
+
43661
+ if (viewName) {
43662
+ actions.changeView(viewName);
43663
+ }
43664
+ },
43665
+ changeView: function changeView(viewName) {
43666
+ mutations.clearFlashMessages();
43667
+ mutations.setCurrentView(viewName);
43668
+ },
43669
+ addFlashMessage: function addFlashMessage(data) {
43670
+ var message = {
43671
+ text: '',
43672
+ scheme: 'info'
43673
+ };
43674
+
43675
+ if (data.userMessage && data instanceof Error) {
43676
+ message.scheme = 'danger';
43677
+ message.text = data.userMessage;
43678
+ } else {
43679
+ message.scheme = 'danger';
43680
+ message.translationKey = 'no-response-error';
43681
+ }
43682
+
43683
+ if (data.response) {
43684
+ message.response = data.response;
43685
+ }
43686
+
43687
+ mutations.addFlashMessage(message);
43688
+ },
43689
+ clearFlashMessages: function clearFlashMessages() {
43690
+ mutations.clearFlashMessages();
43691
+ },
43692
+ updateEnabledCountries: function updateEnabledCountries(countries) {
43693
+ mutations.setEnabledCountries(countries);
43694
+ },
43695
+ changeMethods: function changeMethods(enabledMethods) {
43696
+ var calculateEnabledMethods = function calculateEnabledMethods(availableMethods, enabledMethods) {
43697
+ var result = [];
43698
+
43699
+ if (!enabledMethods) {
43700
+ return result;
43701
+ }
43702
+
43703
+ if (enabledMethods === 'all' || enabledMethods === true) {
43704
+ result = availableMethods;
43705
+ } else if (Array.isArray(enabledMethods)) {
43706
+ enabledMethods.forEach(function (enabledActionType) {
43707
+ var method = availableMethods.find(function (method) {
43708
+ return method.actionType === enabledActionType;
43709
+ });
43710
+
43711
+ if (method) {
43712
+ result.push(method);
43713
+ mutations.setIdentificationMethods(identificationMethods);
43714
+ }
43715
+ });
43716
+ }
43717
+
43718
+ return result;
43719
+ };
43720
+
43721
+ var identificationMethods = calculateEnabledMethods(availableMethods[eideasy_browser_client["methodTypes"].IDENTIFICATION], enabledMethods[eideasy_browser_client["methodTypes"].IDENTIFICATION]);
43722
+ var signingMethods = calculateEnabledMethods(availableMethods[eideasy_browser_client["methodTypes"].SIGNATURE], enabledMethods[eideasy_browser_client["methodTypes"].SIGNATURE]);
43723
+
43724
+ if (identificationMethods) {
43725
+ mutations.setIdentificationMethods(identificationMethods);
43726
+ }
43727
+
43728
+ if (signingMethods) {
43729
+ mutations.setSigningMethods(signingMethods);
43730
+ }
43731
+ },
43732
+ updateInputValues: function updateInputValues(newValues) {
43733
+ var oldValues = getters.inputValues();
43734
+ mutations.setInputValues(_objectSpread2(_objectSpread2({}, oldValues), newValues));
43735
+ },
43736
+ updateOtpEmail: function updateOtpEmail(newValue) {
43737
+ mutations.setOtpEmail(newValue);
43738
+ },
43739
+ updateOtpPhone: function updateOtpPhone(newValue) {
43740
+ mutations.setOtpPhone(newValue);
43741
+ },
43742
+ updateEmailToken: function updateEmailToken(newValue) {
43743
+ mutations.setEmailToken(newValue);
43744
+ },
43745
+ changeAdditionalMethodConfig: function changeAdditionalMethodConfig(newValue) {
43746
+ mutations.setAdditionalMethodConfig(newValue);
43747
+ },
43748
+ startSignatureProcessing: function startSignatureProcessing() {
43749
+ mutations.setSignatureIsProcessing(true);
43750
+ },
43751
+ endSignatureProcessing: function endSignatureProcessing() {
43752
+ mutations.setSignatureIsProcessing(false);
43753
+ }
43754
+ };
43755
+ return {
43756
+ store: store,
43757
+ actions: actions,
43758
+ getters: getters
43759
+ };
43760
+ };
43761
+
43762
+ /* harmony default export */ var src_createStore = (createStore_createStore);
43763
+ // CONCATENATED MODULE: ./src/components/methodButtons/methodButtonNames.js
43764
+ var methodButtonNames = {
43765
+ IdCardButton: 'IdCardButton',
43766
+ IdCardButtonEE: 'IdCardButtonEE',
43767
+ IdCardButtonFi: 'IdCardButtonFi',
43768
+ IdCardButtonBe: 'IdCardButtonBe',
43769
+ SmartIdButton: 'SmartIdButton',
43770
+ MobileIdButton: 'MobileIdButton',
43771
+ MobileIdButtonEE: 'MobileIdButtonEE',
43772
+ EparakstsMobileButton: 'EparakstsMobileButton',
43773
+ FrejaEidButton: 'FrejaEidButton',
43774
+ ZealIdButton: 'ZealIdButton',
43775
+ MojeIdButton: 'MojeIdButton',
43776
+ FinnishTrustNetworkButton: 'FinnishTrustNetworkButton',
43777
+ AtHandyButton: 'AtHandyButton',
43778
+ IdCardButtonLv: 'IdCardButtonLv',
43779
+ IdCardButtonPt: 'IdCardButtonPt',
43780
+ OtpButton: 'OtpButton'
43781
+ };
43782
+ /* harmony default export */ var methodButtons_methodButtonNames = (methodButtonNames);
43783
+ // CONCATENATED MODULE: ./src/createMethodsConfig.js
43784
+
43785
+
43786
+
43787
+
43788
+
43789
+
43790
+
43791
+
43792
+
43793
+
43794
+ var _Object$freeze, _availableMethods;
43795
+
43796
+
43797
+
43798
+
43799
+ var allWidgetMethods = Object.freeze((_Object$freeze = {}, _defineProperty(_Object$freeze, eideasy_browser_client["methodTypes"].IDENTIFICATION, [{
43800
+ actionType: eideasy_browser_client["methodActionTypes"].BE_ID_LOGIN,
43801
+ buttonName: methodButtons_methodButtonNames.IdCardButtonBe,
43802
+ translationKeys: {
43803
+ title: 'id-card'
43804
+ }
43805
+ }, {
43806
+ actionType: eideasy_browser_client["methodActionTypes"].EE_ID_LOGIN,
43807
+ buttonName: methodButtons_methodButtonNames.IdCardButtonEE,
43808
+ translationKeys: {
43809
+ title: 'id-card'
43810
+ }
43811
+ }, {
43812
+ actionType: eideasy_browser_client["methodActionTypes"].FI_ID_LOGIN,
43813
+ buttonName: methodButtons_methodButtonNames.IdCardButtonFi,
43814
+ translationKeys: {
43815
+ title: 'id-card'
43816
+ }
43817
+ }, {
43818
+ actionType: eideasy_browser_client["methodActionTypes"].LV_ID_LOGIN,
43819
+ buttonName: methodButtons_methodButtonNames.IdCardButtonLv,
43820
+ translationKeys: {
43821
+ title: 'id-card'
43822
+ }
43823
+ }, {
43824
+ actionType: eideasy_browser_client["methodActionTypes"].LT_ID_LOGIN,
43825
+ buttonName: methodButtons_methodButtonNames.IdCardButton,
43826
+ translationKeys: {
43827
+ title: 'id-card'
43828
+ }
43829
+ }, {
43830
+ actionType: eideasy_browser_client["methodActionTypes"].PT_ID_LOGIN,
43831
+ buttonName: methodButtons_methodButtonNames.IdCardButtonPt,
43832
+ translationKeys: {
43833
+ title: 'id-card'
43834
+ }
43835
+ }, {
43836
+ actionType: eideasy_browser_client["methodActionTypes"].RS_ID_LOGIN,
43837
+ buttonName: methodButtons_methodButtonNames.IdCardButton,
43838
+ translationKeys: {
43839
+ title: 'id-card'
43840
+ }
43841
+ }, {
43842
+ actionType: eideasy_browser_client["methodActionTypes"].EE_MOBILE_ID,
43843
+ buttonName: methodButtons_methodButtonNames.MobileIdButtonEE,
43844
+ viewName: views_viewNames.MobileIdAuth,
43845
+ translationKeys: {
43846
+ title: 'mobile-id'
43847
+ }
43848
+ }, {
43849
+ actionType: eideasy_browser_client["methodActionTypes"].LV_EPARAKSTS_MOBILE_LOGIN,
43850
+ buttonName: methodButtons_methodButtonNames.EparakstsMobileButton,
43851
+ translationKeys: {
43852
+ title: 'eparaksts-mobile'
43853
+ }
43854
+ }, {
43855
+ actionType: eideasy_browser_client["methodActionTypes"].LT_MOBILE_ID,
43856
+ buttonName: methodButtons_methodButtonNames.MobileIdButton,
43857
+ viewName: views_viewNames.MobileIdAuth,
43858
+ translationKeys: {
43859
+ title: 'mobile-id'
43860
+ }
43861
+ }, {
43862
+ actionType: eideasy_browser_client["methodActionTypes"].SMART_ID,
43863
+ buttonName: methodButtons_methodButtonNames.SmartIdButton,
43864
+ viewName: views_viewNames.SmartIdAuth,
43865
+ translationKeys: {
43866
+ title: 'smart-id'
43867
+ }
43868
+ }, {
43869
+ actionType: eideasy_browser_client["methodActionTypes"].FREJA_EID_LOGIN,
43870
+ buttonName: methodButtons_methodButtonNames.FrejaEidButton,
43871
+ viewName: views_viewNames.IdentificationFrejaId,
43872
+ translationKeys: {
43873
+ title: 'freja-eid'
43874
+ }
43875
+ }, {
43876
+ actionType: eideasy_browser_client["methodActionTypes"].ZEALID_LOGIN,
43877
+ buttonName: methodButtons_methodButtonNames.ZealIdButton,
43878
+ viewName: views_viewNames.IdentificationZealId,
43879
+ translationKeys: {
43880
+ title: 'zeal-id'
43881
+ }
43882
+ }, {
43883
+ actionType: eideasy_browser_client["methodActionTypes"].CZ_MOJEID,
43884
+ buttonName: methodButtons_methodButtonNames.MojeIdButton,
43885
+ translationKeys: {
43886
+ title: 'moje-id'
43887
+ }
43888
+ }, {
43889
+ actionType: eideasy_browser_client["methodActionTypes"].FI_FTN_LOGIN,
43890
+ buttonName: methodButtons_methodButtonNames.FinnishTrustNetworkButton,
43891
+ translationKeys: {
43892
+ title: 'finnish-online-bank'
43893
+ }
43894
+ }, {
43895
+ actionType: eideasy_browser_client["methodActionTypes"].AT_HANDY_SIGNATUR_LOGIN,
43896
+ buttonName: methodButtons_methodButtonNames.AtHandyButton,
43897
+ translationKeys: {
43898
+ title: 'austrian-handy-signatur'
43899
+ }
43900
+ }]), _defineProperty(_Object$freeze, eideasy_browser_client["methodTypes"].SIGNATURE, [{
43901
+ actionType: eideasy_browser_client["methodActionTypes"].BE_IDCARD_SIGNATURE,
43902
+ buttonName: methodButtons_methodButtonNames.IdCardButtonBe,
43903
+ translationKeys: {
43904
+ title: 'id-card'
43905
+ }
43906
+ }, {
43907
+ actionType: eideasy_browser_client["methodActionTypes"].EE_IDCARD_SIGNATURE,
43908
+ buttonName: methodButtons_methodButtonNames.IdCardButtonEE,
43909
+ translationKeys: {
43910
+ title: 'id-card'
43911
+ }
43912
+ }, {
43913
+ actionType: eideasy_browser_client["methodActionTypes"].FI_IDCARD_SIGNATURE,
43914
+ buttonName: methodButtons_methodButtonNames.IdCardButtonFi,
43915
+ translationKeys: {
43916
+ title: 'id-card'
43917
+ }
43918
+ }, {
43919
+ actionType: eideasy_browser_client["methodActionTypes"].LV_IDCARD_SIGNATURE,
43920
+ buttonName: methodButtons_methodButtonNames.IdCardButtonLv,
43921
+ translationKeys: {
43922
+ title: 'id-card'
43923
+ }
43924
+ }, {
43925
+ actionType: eideasy_browser_client["methodActionTypes"].LT_IDCARD_SIGNATURE,
43926
+ buttonName: methodButtons_methodButtonNames.IdCardButton,
43927
+ translationKeys: {
43928
+ title: 'id-card'
43929
+ }
43930
+ }, {
43931
+ actionType: eideasy_browser_client["methodActionTypes"].PT_IDCARD_SIGNATURE,
43932
+ buttonName: methodButtons_methodButtonNames.IdCardButtonPt,
43933
+ translationKeys: {
43934
+ title: 'id-card'
43935
+ }
43936
+ }, {
43937
+ actionType: eideasy_browser_client["methodActionTypes"].SMARTID_SIGNATURE,
43938
+ buttonName: methodButtons_methodButtonNames.SmartIdButton,
43939
+ viewName: views_viewNames.SignatureSmartId,
43940
+ translationKeys: {
43941
+ title: 'smart-id'
43942
+ }
43943
+ }, {
43944
+ actionType: eideasy_browser_client["methodActionTypes"].EE_MOBILEID_SIGNATURE,
43945
+ buttonName: methodButtons_methodButtonNames.MobileIdButtonEE,
43946
+ viewName: views_viewNames.SignatureMobileId,
43947
+ translationKeys: {
43948
+ title: 'mobile-id'
43949
+ }
43950
+ }, {
43951
+ actionType: eideasy_browser_client["methodActionTypes"].LT_MOBILEID_SIGNATURE,
43952
+ buttonName: methodButtons_methodButtonNames.MobileIdButton,
43953
+ viewName: views_viewNames.SignatureMobileId,
43954
+ translationKeys: {
43955
+ title: 'mobile-id'
43956
+ }
43957
+ }, {
43958
+ actionType: eideasy_browser_client["methodActionTypes"].LV_EPARAKSTS_MOBILE_SIGNATURE,
43959
+ buttonName: methodButtons_methodButtonNames.EparakstsMobileButton,
43960
+ translationKeys: {
43961
+ title: 'eparaksts-mobile'
43962
+ }
43963
+ }, {
43964
+ actionType: eideasy_browser_client["methodActionTypes"].FI_FTN_ADVANCED_SIGNATURE,
43965
+ buttonName: methodButtons_methodButtonNames.FinnishTrustNetworkButton,
43966
+ viewName: views_viewNames.SignatureFtn,
43967
+ translationKeys: {
43968
+ title: 'finnish-online-bank'
43969
+ }
43970
+ }, {
43971
+ actionType: eideasy_browser_client["methodActionTypes"].OTP_EMAIL,
43972
+ buttonName: methodButtons_methodButtonNames.OtpButton,
43973
+ viewName: views_viewNames.SignatureOtp,
43974
+ translationKeys: {
43975
+ title: 'email-sms'
43976
+ }
43977
+ }, {
43978
+ actionType: eideasy_browser_client["methodActionTypes"].AT_HANDY_SIGNATUR_SIGNATURE,
43979
+ buttonName: methodButtons_methodButtonNames.AtHandyButton,
43980
+ translationKeys: {
43981
+ title: 'austrian-handy-signatur'
43982
+ }
43983
+ }, {
43984
+ actionType: eideasy_browser_client["methodActionTypes"].ZEAL_ID_SIGNATURE,
43985
+ buttonName: methodButtons_methodButtonNames.ZealIdButton,
43986
+ translationKeys: {
43987
+ title: 'zeal-id'
43988
+ }
43989
+ }]), _Object$freeze));
43990
+
43991
+ var createMethodsConfig_getAvailableMethods = function getAvailableMethods(clientMethods, widgetMethods) {
43992
+ var methods = [];
43993
+ widgetMethods.forEach(function (widgetMethod) {
43994
+ var clientMethod = clientMethods.find(function (clientMethod) {
43995
+ return clientMethod.actionType === widgetMethod.actionType;
43996
+ });
43997
+
43998
+ if (clientMethod) {
43999
+ methods.push(_objectSpread2(_objectSpread2({}, clientMethod), widgetMethod));
43888
44000
  }
43889
- };
43890
- var actions = {
43891
- loadingStart: function loadingStart() {
43892
- mutations.setIsLoading(true);
43893
- },
43894
- loadingEnd: function loadingEnd() {
43895
- mutations.setIsLoading(false);
43896
- },
43897
- changeCountry: function changeCountry(newCountryCode) {
43898
- var countryCode = newCountryCode.toUpperCase();
43899
- var availableCountries = getters.availableCountries();
43900
-
43901
- if (availableCountries.indexOf(countryCode) !== -1) {
43902
- mutations.setCountryCode(countryCode);
43903
- } else {
43904
- mutations.setCountryCode(availableCountries[0]);
43905
- }
43906
- },
43907
- selectMethod: function selectMethod(actionType) {
43908
- var timestamp = Date.now();
43909
- var viewName = config_methodsByActionType[actionType].viewName;
43910
- mutations.clearFlashMessages();
43911
- mutations.setCurrentMethod({
43912
- actionType: actionType,
43913
- timestamp: timestamp
43914
- });
43915
-
43916
- if (viewName) {
43917
- actions.changeView(viewName);
43918
- }
43919
- },
43920
- changeView: function changeView(viewName) {
43921
- mutations.clearFlashMessages();
43922
- mutations.setCurrentView(viewName);
43923
- },
43924
- addFlashMessage: function addFlashMessage(data) {
43925
- var message = {
43926
- text: '',
43927
- scheme: 'info'
43928
- };
43929
-
43930
- if (data.userMessage && data instanceof Error) {
43931
- message.scheme = 'danger';
43932
- message.text = data.userMessage;
43933
- } else {
43934
- message.scheme = 'danger';
43935
- message.translationKey = 'no-response-error';
43936
- }
43937
-
43938
- if (data.response) {
43939
- message.response = data.response;
43940
- }
43941
-
43942
- mutations.addFlashMessage(message);
43943
- },
43944
- clearFlashMessages: function clearFlashMessages() {
43945
- mutations.clearFlashMessages();
43946
- },
43947
- updateEnabledCountries: function updateEnabledCountries(countries) {
43948
- mutations.setEnabledCountries(countries);
43949
- },
43950
- changeMethods: function changeMethods(enabledMethods) {
43951
- var calculateEnabledMethods = function calculateEnabledMethods(availableMethods, enabledMethods) {
43952
- var result = [];
43953
-
43954
- if (!enabledMethods) {
43955
- return result;
43956
- }
44001
+ });
44002
+ return methods;
44003
+ };
43957
44004
 
43958
- if (enabledMethods === 'all' || enabledMethods === true) {
43959
- result = availableMethods;
43960
- } else if (Array.isArray(enabledMethods)) {
43961
- enabledMethods.forEach(function (enabledActionType) {
43962
- var method = availableMethods.find(function (method) {
43963
- return method.actionType === enabledActionType;
43964
- });
44005
+ var createMethodsConfig_createGetMethodsByActionType = function createGetMethodsByActionType(methods) {
44006
+ var identificationMethods = methods[eideasy_browser_client["methodTypes"].IDENTIFICATION].map(function (method) {
44007
+ method.methodType = eideasy_browser_client["methodTypes"].IDENTIFICATION;
44008
+ return method;
44009
+ });
44010
+ var signatureMethods = methods[eideasy_browser_client["methodTypes"].SIGNATURE].map(function (method) {
44011
+ method.methodType = eideasy_browser_client["methodTypes"].SIGNATURE;
44012
+ return method;
44013
+ });
44014
+ var allMethods = [].concat(_toConsumableArray(identificationMethods), _toConsumableArray(signatureMethods));
44015
+ var methodsByActionType = {};
44016
+ allMethods.forEach(function (method) {
44017
+ return methodsByActionType[method.actionType] = method;
44018
+ });
44019
+ return methodsByActionType;
44020
+ }; // intersection of all the methods provided by the eideasy-browser-client and all the methods in this widget
43965
44021
 
43966
- if (method) {
43967
- result.push(method);
43968
- mutations.setIdentificationMethods(identificationMethods);
43969
- }
43970
- });
43971
- }
43972
44022
 
43973
- return result;
43974
- };
44023
+ var createMethodsConfig_availableMethods = (_availableMethods = {}, _defineProperty(_availableMethods, eideasy_browser_client["methodTypes"].IDENTIFICATION, createMethodsConfig_getAvailableMethods(eideasy_browser_client["allMethods"][eideasy_browser_client["methodTypes"].IDENTIFICATION], allWidgetMethods[eideasy_browser_client["methodTypes"].IDENTIFICATION])), _defineProperty(_availableMethods, eideasy_browser_client["methodTypes"].SIGNATURE, createMethodsConfig_getAvailableMethods(eideasy_browser_client["allMethods"][eideasy_browser_client["methodTypes"].SIGNATURE], allWidgetMethods[eideasy_browser_client["methodTypes"].SIGNATURE])), _availableMethods);
43975
44024
 
43976
- var identificationMethods = calculateEnabledMethods(availableMethods[eideasy_browser_client["methodTypes"].IDENTIFICATION], enabledMethods[eideasy_browser_client["methodTypes"].IDENTIFICATION]);
43977
- var signingMethods = calculateEnabledMethods(availableMethods[eideasy_browser_client["methodTypes"].SIGNATURE], enabledMethods[eideasy_browser_client["methodTypes"].SIGNATURE]);
44025
+ var createMethodsConfig_createMethodsConfig = function createMethodsConfig(_ref) {
44026
+ var _ref$methodsConfigFil = _ref.methodsConfigFilter,
44027
+ methodsConfigFilter = _ref$methodsConfigFil === void 0 ? null : _ref$methodsConfigFil;
44028
+ var methods = createMethodsConfig_availableMethods;
43978
44029
 
43979
- if (identificationMethods) {
43980
- mutations.setIdentificationMethods(identificationMethods);
43981
- }
44030
+ if (methodsConfigFilter && typeof methodsConfigFilter === 'function') {
44031
+ methods = methodsConfigFilter(createMethodsConfig_availableMethods);
44032
+ }
43982
44033
 
43983
- if (signingMethods) {
43984
- mutations.setSigningMethods(signingMethods);
43985
- }
43986
- },
43987
- updateInputValues: function updateInputValues(newValues) {
43988
- var oldValues = getters.inputValues();
43989
- mutations.setInputValues(_objectSpread2(_objectSpread2({}, oldValues), newValues));
43990
- },
43991
- updateOtpEmail: function updateOtpEmail(newValue) {
43992
- mutations.setOtpEmail(newValue);
43993
- },
43994
- updateOtpPhone: function updateOtpPhone(newValue) {
43995
- mutations.setOtpPhone(newValue);
43996
- },
43997
- updateEmailToken: function updateEmailToken(newValue) {
43998
- mutations.setEmailToken(newValue);
43999
- },
44000
- changeAdditionalMethodConfig: function changeAdditionalMethodConfig(newValue) {
44001
- mutations.setAdditionalMethodConfig(newValue);
44002
- },
44003
- startSignatureProcessing: function startSignatureProcessing() {
44004
- mutations.setSignatureIsProcessing(true);
44005
- },
44006
- endSignatureProcessing: function endSignatureProcessing() {
44007
- mutations.setSignatureIsProcessing(false);
44008
- }
44009
- };
44010
- return {
44011
- store: store,
44012
- actions: actions,
44013
- getters: getters
44014
- };
44034
+ var methodsByActionType = createMethodsConfig_createGetMethodsByActionType(methods);
44035
+ return Object.freeze({
44036
+ availableMethods: methods,
44037
+ methodsByActionType: methodsByActionType,
44038
+ methodActionTypes: eideasy_browser_client["methodActionTypes"],
44039
+ methodTypes: eideasy_browser_client["methodTypes"],
44040
+ moduleNames: eideasy_browser_client["moduleNames"]
44041
+ });
44015
44042
  };
44016
44043
 
44017
- /* harmony default export */ var src_createStore = (createStore_createStore);
44044
+ /* harmony default export */ var src_createMethodsConfig = (createMethodsConfig_createMethodsConfig);
44018
44045
  // CONCATENATED MODULE: ./src/main.js
44019
44046
 
44020
44047
 
@@ -44023,6 +44050,7 @@ var createStore_createStore = function createStore() {
44023
44050
 
44024
44051
 
44025
44052
 
44053
+
44026
44054
  vue_runtime_esm["a" /* default */].use(vue_custom_element_esm);
44027
44055
  vue_runtime_esm["a" /* default */].config.productionTip = false;
44028
44056
  vue_runtime_esm["a" /* default */].customElement('eideasy-widget', App, {
@@ -44030,8 +44058,13 @@ vue_runtime_esm["a" /* default */].customElement('eideasy-widget', App, {
44030
44058
  var propsData = RootComponentDefinition.propsData;
44031
44059
  vue_runtime_esm["a" /* default */].component('v-select', vue_select_default.a);
44032
44060
  RootComponentDefinition.i18n = i18n;
44061
+ var eidEasyMethodsConfig = src_createMethodsConfig({
44062
+ methodsConfigFilter: propsData.methodsConfigFilter
44063
+ });
44033
44064
 
44034
- var _createStore = src_createStore(),
44065
+ var _createStore = src_createStore({
44066
+ methodsConfig: eidEasyMethodsConfig
44067
+ }),
44035
44068
  store = _createStore.store,
44036
44069
  actions = _createStore.actions,
44037
44070
  getters = _createStore.getters;
@@ -44072,6 +44105,7 @@ vue_runtime_esm["a" /* default */].customElement('eideasy-widget', App, {
44072
44105
  RootComponentDefinition.eidEasyOnFail = eidEasyOnFail;
44073
44106
  RootComponentDefinition.eidEasyBeforeMethodSelection = eidEasyBeforeMethodSelection;
44074
44107
  RootComponentDefinition.eidEasyFormatFlashMessage = eidEasyFormatFlashMessage;
44108
+ RootComponentDefinition.eidEasyMethodsConfig = eidEasyMethodsConfig;
44075
44109
  return RootComponentDefinition;
44076
44110
  },
44077
44111
  attributeChangedCallback: function attributeChangedCallback(name, oldValue, value) {