@eid-easy/eideasy-widget 2.69.1 → 2.70.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.
@@ -1,4 +1,9 @@
1
- ## [2.69.1-alpha.2](https://github.com/eideasy/eideasy-widget/compare/v2.69.0...v2.69.1-alpha.2) (2022-12-30)
1
+ ## [2.69.1](https://github.com/eideasy/eideasy-widget/compare/v2.69.0...v2.69.1) (2022-12-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix the identification methods config issue ([#171](https://github.com/eideasy/eideasy-widget/issues/171)) ([1de45cc](https://github.com/eideasy/eideasy-widget/commit/1de45cc4d63a54cdaf63313cbce7f2b1db2397c3))
2
7
 
3
8
 
4
9
 
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ # [2.70.0](https://github.com/eideasy/eideasy-widget/compare/v2.69.1...v2.70.0) (2023-01-10)
2
+
3
+
4
+ ### Features
5
+
6
+ * add allowMethodChange option that determines whether the end user is allowed to change the preselected method ([#175](https://github.com/eideasy/eideasy-widget/issues/175)) ([fa58469](https://github.com/eideasy/eideasy-widget/commit/fa58469cb0d4d0f22b43f78bba5958a3be0a1a46))
7
+
8
+
9
+
1
10
  ## [2.69.1](https://github.com/eideasy/eideasy-widget/compare/v2.69.0...v2.69.1) (2022-12-30)
2
11
 
3
12
 
@@ -17786,7 +17786,7 @@ module.exports = {
17786
17786
  ...rest
17787
17787
  }, children.concat([_c('defs', [_c('radialGradient', {
17788
17788
  attrs: {
17789
- "id": "id-11b",
17789
+ "id": "id-7b",
17790
17790
  "cx": "70.69",
17791
17791
  "cy": "120.71",
17792
17792
  "r": "20.17",
@@ -17806,7 +17806,7 @@ module.exports = {
17806
17806
  }
17807
17807
  })]), _c('radialGradient', {
17808
17808
  attrs: {
17809
- "id": "id-12c",
17809
+ "id": "id-8c",
17810
17810
  "cx": "84.22",
17811
17811
  "cy": "123.44",
17812
17812
  "r": "24.08",
@@ -17825,7 +17825,7 @@ module.exports = {
17825
17825
  }
17826
17826
  })]), _c('radialGradient', {
17827
17827
  attrs: {
17828
- "id": "id-13d",
17828
+ "id": "id-9d",
17829
17829
  "cx": "106.44",
17830
17830
  "cy": "89.14",
17831
17831
  "r": "41.36",
@@ -17845,7 +17845,7 @@ module.exports = {
17845
17845
  }
17846
17846
  })]), _c('radialGradient', {
17847
17847
  attrs: {
17848
- "id": "id-14e",
17848
+ "id": "id-10e",
17849
17849
  "cx": "53.82",
17850
17850
  "cy": "72.57",
17851
17851
  "r": "27.02",
@@ -17865,7 +17865,7 @@ module.exports = {
17865
17865
  }
17866
17866
  })]), _c('radialGradient', {
17867
17867
  attrs: {
17868
- "id": "id-15f",
17868
+ "id": "id-11f",
17869
17869
  "cx": "88.49",
17870
17870
  "cy": "104.89",
17871
17871
  "r": "47.74",
@@ -17885,7 +17885,7 @@ module.exports = {
17885
17885
  }
17886
17886
  })]), _c('radialGradient', {
17887
17887
  attrs: {
17888
- "id": "id-16g",
17888
+ "id": "id-12g",
17889
17889
  "cx": "47.21",
17890
17890
  "cy": "114.1",
17891
17891
  "r": "55.18",
@@ -17904,7 +17904,7 @@ module.exports = {
17904
17904
  }
17905
17905
  })]), _c('linearGradient', {
17906
17906
  attrs: {
17907
- "id": "id-10a",
17907
+ "id": "id-6a",
17908
17908
  "x1": "69.55",
17909
17909
  "y1": "48.21",
17910
17910
  "x2": "60.12",
@@ -17950,37 +17950,37 @@ module.exports = {
17950
17950
  }), _c('path', {
17951
17951
  attrs: {
17952
17952
  "d": "M70.92 110.13l-.39-.08a7.12 7.12 0 01-2.07-.92c-4.14-2.79-3.07-9-5.25-12.94a11.37 11.37 0 00-3-3.28l-.11-.09c-.48.48-1.19 1.23-2.34 2.38a32 32 0 00-2.51 2.89 35.66 35.66 0 016.6 9.2c2 4.49 2.54 9.38 4.1 14a17.94 17.94 0 002.32 4.88 6.09 6.09 0 002.66 2.21v-18.3z",
17953
- "fill": "url(#id-10a)"
17953
+ "fill": "url(#id-6a)"
17954
17954
  }
17955
17955
  }), _c('path', {
17956
17956
  attrs: {
17957
17957
  "d": "M66 53.19c.44.48 1 1.06 1.5 1.58s1.18 1.22 1.91 1.92c.45.43 1 1 1.47 1.4V36.94a5.66 5.66 0 00-1.49-.1 12.91 12.91 0 00-3.69.76 9.5 9.5 0 00-2.91 1.64 5.53 5.53 0 00-1.92 3.12 8 8 0 00.84 5 18.86 18.86 0 001.77 3s.5.61.78.92c.57.58 1.16 1.24 1.74 1.91z",
17958
- "fill": "url(#id-11b)"
17958
+ "fill": "url(#id-7b)"
17959
17959
  }
17960
17960
  }), _c('path', {
17961
17961
  attrs: {
17962
17962
  "d": "M99.75 69.55a27.37 27.37 0 00-2.39-9.26 23.91 23.91 0 00-4.74-6.78c-.19-.19-.39-.39-.59-.57a25 25 0 00-3.56-2.77 25.86 25.86 0 00-3.93-2.07 23.36 23.36 0 00-7.07-1.75 12.66 12.66 0 00-6.56 1v10.7c1.2 1.1 2.64 2.42 3.37 3.07.51.45 1 .88 1.51 1.32l1.49 1.25L78.83 65c.64.54 2.94 2.4 3.21 2.63l.45.36 5.81 4.71.13.1c.78.63 4.79 3.86 6.76 5.55s3.45 3 3.59 3.15a48.15 48.15 0 00.87-5.32 37.1 37.1 0 00.1-6.63z",
17963
- "fill": "url(#id-12c)"
17963
+ "fill": "url(#id-8c)"
17964
17964
  }
17965
17965
  }), _c('path', {
17966
17966
  attrs: {
17967
17967
  "d": "M112.35 100.58a26.08 26.08 0 00-3.28-7.42 50.76 50.76 0 00-7.27-8.8c-1-1-2-1.9-3-2.85-.1.45-.35 1.52-.85 3.15-.26.85-.73 2.25-.91 2.78-.27.77-.79 2.15-1.14 3-.48 1.25-1.24 3-1.92 4.46C93 97 92.45 98 91.36 100c-.49.89-.91 1.74-1.52 2.8-.21.36-.43.74-.69 1.16-.11.17-1.37 2.21-1.5 2.44-.25.39-.53.84-.7 1.09-1.51 2.31-1.64 2.42-1.88 2.76-.56.76.2-.28-.86 1.21L81.7 115c-.37.51-1.62 2.15-3 3.86s-2.8 3.58-3.43 4.33l-4.41 5.2v10.45c1.86-.15 3.8-.41 5.79-.77a66.86 66.86 0 007.54-1.87 62.31 62.31 0 006.38-2.38 54.74 54.74 0 005.46-2.76 44.25 44.25 0 006.42-4.51 32.83 32.83 0 005.91-6.52 26.15 26.15 0 003.78-8.35 25.76 25.76 0 00.76-5.21 20.55 20.55 0 00-.55-5.89z",
17968
- "fill": "url(#id-13d)"
17968
+ "fill": "url(#id-9d)"
17969
17969
  }
17970
17970
  }), _c('path', {
17971
17971
  attrs: {
17972
17972
  "d": "M68.26 126.22a17.94 17.94 0 01-2.32-4.88c-1.56-4.66-2.06-9.55-4.1-14a35.73 35.73 0 00-6.59-9.2 27.3 27.3 0 00-1.93 2.86 16.66 16.66 0 00-1.32 2.85 14.29 14.29 0 00-.44 1.71 12 12 0 00-.2 1.8 12.3 12.3 0 00.14 2.33 14.14 14.14 0 00.64 2.5 17.21 17.21 0 001.42 3l.25.41a24.12 24.12 0 004.26 5.11 32.86 32.86 0 002.93 2.41c.69.49 1.39 1 2.11 1.41 1 .6 1.95 1.16 2.95 1.68 1.36.7 3.5 1.67 4.87 2.22a6.09 6.09 0 01-2.67-2.21z",
17973
- "fill": "url(#id-14e)"
17973
+ "fill": "url(#id-10e)"
17974
17974
  }
17975
17975
  }), _c('path', {
17976
17976
  attrs: {
17977
17977
  "d": "M98.78 81.5c-.14-.13-1.75-1.58-3.59-3.15s-6-4.92-6.76-5.55l-.13-.1-5.81-4.7c-.22-.17-.37-.3-.45-.37-.27-.22-2.57-2.08-3.21-2.62l-1.55-1.3-1.48-1.23c-.54-.44-1-.87-1.52-1.33-.73-.64-2.17-2-3.37-3.06-.46-.43-1-1-1.46-1.39-.73-.7-1.29-1.26-1.91-1.92s-1.06-1.1-1.5-1.58c-.62-.67-1.21-1.33-1.74-1.95l-.6-.7c.35.57 1.08 1.62 1.45 2.14 1 1.48.81 1.17 1.81 2.67.68 1 1.83 2.86 2.46 3.92a4.1 4.1 0 01.22.41 16.8 16.8 0 011 2.25 4.12 4.12 0 01.25 1.1v65.38l4.41-5.2c.63-.75 2.07-2.58 3.43-4.33s2.58-3.35 3-3.86l2.51-3.58c1.06-1.49.3-.45.86-1.21.24-.34.37-.45 1.88-2.76l.7-1.09c.13-.23 1.39-2.27 1.5-2.45.26-.41.48-.79.69-1.15.61-1.06 1-1.91 1.52-2.8 1.09-2 1.62-3 2.6-5.08.68-1.48 1.44-3.22 1.92-4.46.35-.87.87-2.26 1.13-3 .19-.54.66-1.93.92-2.78.5-1.64.75-2.71.85-3.16z",
17978
- "fill": "url(#id-15f)"
17978
+ "fill": "url(#id-11f)"
17979
17979
  }
17980
17980
  }), _c('path', {
17981
17981
  attrs: {
17982
17982
  "d": "M55.24 98.09a32 32 0 012.51-2.89c1.15-1.15 1.86-1.89 2.34-2.38-4-3.15-9.55-5.51-8.31-11.39 1.11-5.27 8.37-4.37 11.17-8.21 1.35-1.84 1.85-4.1 2.77-6.15a6.38 6.38 0 015.19-4 4.11 4.11 0 00-.25-1.11 16.13 16.13 0 00-1-2.24 3.36 3.36 0 00-.22-.42c-.63-1.05-1.78-2.89-2.46-3.92-1-1.5-.78-1.19-1.81-2.66-.37-.53-1.1-1.58-1.45-2.15a1.89 1.89 0 01-.18-.22 18.47 18.47 0 01-1.77-3l-.26-.63-3.24 2.4c-2.56 1.88-5.14 3.74-7.63 5.71-1.64 1.29-3.25 2.63-4.79 4a44.59 44.59 0 00-4.27 4.4c-2.47 3-4.42 6.36-4.7 10.2a13.06 13.06 0 000 1.88 13.62 13.62 0 00.26 2 15.73 15.73 0 002.94 6.4 36.68 36.68 0 005.5 5.65l1 .89c2.35 2 4.74 4 7 6.2.64.6 1.25 1.23 1.86 1.87l-.19-.21z",
17983
- "fill": "url(#id-16g)"
17983
+ "fill": "url(#id-12g)"
17984
17984
  }
17985
17985
  })]));
17986
17986
  }
@@ -18097,12 +18097,12 @@ module.exports = {
18097
18097
  ...rest
18098
18098
  }, children.concat([_c('defs', [_c('path', {
18099
18099
  attrs: {
18100
- "id": "id-6a",
18100
+ "id": "id-13a",
18101
18101
  "d": "M.18.059h26.722v9.069H.18z"
18102
18102
  }
18103
18103
  }), _c('path', {
18104
18104
  attrs: {
18105
- "id": "id-8c",
18105
+ "id": "id-15c",
18106
18106
  "d": "M0 .04h44.355v37.372H0z"
18107
18107
  }
18108
18108
  })]), _c('g', {
@@ -18126,18 +18126,18 @@ module.exports = {
18126
18126
  }
18127
18127
  }, [_c('mask', {
18128
18128
  attrs: {
18129
- "id": "id-7b",
18129
+ "id": "id-14b",
18130
18130
  "fill": "#fff"
18131
18131
  }
18132
18132
  }, [_c('use', {
18133
18133
  attrs: {
18134
- "xlink:href": "#id-6a"
18134
+ "xlink:href": "#id-13a"
18135
18135
  }
18136
18136
  })]), _c('path', {
18137
18137
  attrs: {
18138
18138
  "fill": "#D70F16",
18139
18139
  "d": "M25.786.059c-3.251 2.918-7.541 4.72-12.262 4.72-4.7 0-8.99-1.782-12.222-4.7-1.724 1.723-1.43 4.622.666 5.876a22.548 22.548 0 0011.576 3.173c4.23 0 8.207-1.175 11.596-3.193 2.076-1.234 2.35-4.153.646-5.876",
18140
- "mask": "url(#id-7b)"
18140
+ "mask": "url(#id-14b)"
18141
18141
  }
18142
18142
  })]), _c('g', {
18143
18143
  attrs: {
@@ -18145,18 +18145,18 @@ module.exports = {
18145
18145
  }
18146
18146
  }, [_c('mask', {
18147
18147
  attrs: {
18148
- "id": "id-9d",
18148
+ "id": "id-16d",
18149
18149
  "fill": "#fff"
18150
18150
  }
18151
18151
  }, [_c('use', {
18152
18152
  attrs: {
18153
- "xlink:href": "#id-8c"
18153
+ "xlink:href": "#id-15c"
18154
18154
  }
18155
18155
  })]), _c('path', {
18156
18156
  attrs: {
18157
18157
  "fill": "#58595B",
18158
18158
  "d": "M38.93.705L38.342.04l-.627.627c-1.822 1.822-2.233 4.623-.999 6.954 1.508 2.86 2.116 6.091 1.783 9.343-.784 7.6-6.876 13.711-14.456 14.554a15.12 15.12 0 01-1.88.097c-9.05.02-16.415-7.345-16.415-16.394 0-2.645.647-5.27 1.861-7.58 1.214-2.332.823-5.133-.999-6.954L5.983.059l-.587.685A22.086 22.086 0 00.009 15.866c.313 11.42 9.5 20.88 20.9 21.507.43.02.842.04 1.273.04 12.223 0 22.173-9.951 22.173-22.193A22.22 22.22 0 0038.93.705",
18159
- "mask": "url(#id-9d)"
18159
+ "mask": "url(#id-16d)"
18160
18160
  }
18161
18161
  })]), _c('path', {
18162
18162
  attrs: {
@@ -19826,7 +19826,7 @@ $({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_TO_LENGTH || SILEN
19826
19826
 
19827
19827
  /***/ }),
19828
19828
 
19829
- /***/ 24391:
19829
+ /***/ 81982:
19830
19830
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19831
19831
 
19832
19832
  "use strict";
@@ -23061,19 +23061,19 @@ exports.isValid = function (code) {
23061
23061
 
23062
23062
  /***/ }),
23063
23063
 
23064
- /***/ 96652:
23064
+ /***/ 55910:
23065
23065
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
23066
23066
 
23067
23067
  // style-loader: Adds some css to the DOM by adding a <style> tag
23068
23068
 
23069
23069
  // load the styles
23070
- var content = __webpack_require__(24391);
23070
+ var content = __webpack_require__(81982);
23071
23071
  if(content.__esModule) content = content.default;
23072
23072
  if(typeof content === 'string') content = [[module.id, content, '']];
23073
23073
  if(content.locals) module.exports = content.locals;
23074
23074
  // add the styles to the DOM
23075
23075
  var add = (__webpack_require__(54402)/* ["default"] */ .Z)
23076
- var update = add("3e331fb7", content, true, {"sourceMap":false,"shadowMode":false});
23076
+ var update = add("76484e91", content, true, {"sourceMap":false,"shadowMode":false});
23077
23077
 
23078
23078
  /***/ }),
23079
23079
 
@@ -33546,13 +33546,20 @@ if (inBrowser) {
33546
33546
 
33547
33547
 
33548
33548
 
33549
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=template&id=41aae1ca&
33549
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=template&id=1a7f5667&
33550
33550
  var render = function render() {
33551
33551
  var _vm = this,
33552
33552
  _c = _vm._self._c;
33553
33553
  return _c('div', {
33554
33554
  class: _vm.$style.app
33555
- }, [_c('AppLayout')], 1);
33555
+ }, [_vm.initErrors.length ? _c('div', _vm._l(_vm.initErrors, function (error) {
33556
+ return _c('AppAlert', {
33557
+ key: error.text,
33558
+ attrs: {
33559
+ "scheme": "danger"
33560
+ }
33561
+ }, [_vm._v(" " + _vm._s(error.text) + " ")]);
33562
+ }), 1) : _c('AppLayout')], 1);
33556
33563
  };
33557
33564
  var staticRenderFns = [];
33558
33565
 
@@ -44748,10 +44755,13 @@ const otpFlowNames = {
44748
44755
 
44749
44756
 
44750
44757
 
44758
+
44759
+
44751
44760
  /* harmony default export */ var Appvue_type_script_lang_js_ = ({
44752
44761
  name: 'App',
44753
44762
  components: {
44754
- AppLayout: AppLayout
44763
+ AppLayout: AppLayout,
44764
+ AppAlert: AppAlert
44755
44765
  },
44756
44766
  props: {
44757
44767
  language: {
@@ -44868,8 +44878,17 @@ const otpFlowNames = {
44868
44878
  fieldAutocomplete: {
44869
44879
  type: Boolean,
44870
44880
  default: false
44881
+ },
44882
+ allowMethodChange: {
44883
+ type: Boolean,
44884
+ default: true
44871
44885
  }
44872
44886
  },
44887
+ data() {
44888
+ return {
44889
+ initErrors: []
44890
+ };
44891
+ },
44873
44892
  computed: {
44874
44893
  countryCodeFromStore() {
44875
44894
  return this.$root.$options.storeGetters.countryCode();
@@ -44929,6 +44948,24 @@ const otpFlowNames = {
44929
44948
  this.updateRequireHandwrittenSignature(this.requireHandwrittenSignature);
44930
44949
  this.updateOtpFlow(this.otpFlow);
44931
44950
  this.updateFieldAutocomplete(this.fieldAutocomplete);
44951
+ if (!this.allowMethodChange) {
44952
+ // this.allowMethodChange determines whether the end user is allowed to change the preselected method
44953
+ if (!this.selectedMethod || !this.countryCode) {
44954
+ this.initErrors.push({
44955
+ text: 'If allowMethodChange is set to false, then the following Widget parameters are required: selectedMethod, countryCode'
44956
+ });
44957
+ throw new Error('If allowMethodChange is set to false, then the following Widget parameters are required: selectedMethod, countryCode');
44958
+ }
44959
+ this.updateShowBackButton(false);
44960
+ this.updateShowCountrySelect(false);
44961
+ this.changeMethods({
44962
+ // We set both signature and identification to the same value
44963
+ // This works because the method actionTypes are unique and Widget ignores invalid actionTypes
44964
+ signature: [this.selectedMethod],
44965
+ identification: [this.selectedMethod]
44966
+ });
44967
+ }
44968
+ this.updateAllowMethodChange(this.allowMethodChange);
44932
44969
  if (this.emailToken) {
44933
44970
  this.updateInputValues({
44934
44971
  email_token: this.emailToken
@@ -45042,15 +45079,18 @@ const otpFlowNames = {
45042
45079
  },
45043
45080
  updateFieldAutocomplete(value) {
45044
45081
  return this.$root.$options.storeActions.updateFieldAutocomplete(value);
45082
+ },
45083
+ updateAllowMethodChange(value) {
45084
+ return this.$root.$options.storeActions.updateAllowMethodChange(value);
45045
45085
  }
45046
45086
  }
45047
45087
  });
45048
45088
  ;// CONCATENATED MODULE: ./src/App.vue?vue&type=script&lang=js&
45049
45089
  /* harmony default export */ var src_Appvue_type_script_lang_js_ = (Appvue_type_script_lang_js_);
45050
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-21.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-21.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-21.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-21.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-21.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=style&index=0&id=41aae1ca&prod&lang=scss&module=true&
45051
- var Appvue_type_style_index_0_id_41aae1ca_prod_lang_scss_module_true_ = __webpack_require__(96652);
45052
- var Appvue_type_style_index_0_id_41aae1ca_prod_lang_scss_module_true_default = /*#__PURE__*/__webpack_require__.n(Appvue_type_style_index_0_id_41aae1ca_prod_lang_scss_module_true_);
45053
- ;// CONCATENATED MODULE: ./src/App.vue?vue&type=style&index=0&id=41aae1ca&prod&lang=scss&module=true&
45090
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-21.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-21.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-21.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-21.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-21.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=style&index=0&id=1a7f5667&prod&lang=scss&module=true&
45091
+ var Appvue_type_style_index_0_id_1a7f5667_prod_lang_scss_module_true_ = __webpack_require__(55910);
45092
+ var Appvue_type_style_index_0_id_1a7f5667_prod_lang_scss_module_true_default = /*#__PURE__*/__webpack_require__.n(Appvue_type_style_index_0_id_1a7f5667_prod_lang_scss_module_true_);
45093
+ ;// CONCATENATED MODULE: ./src/App.vue?vue&type=style&index=0&id=1a7f5667&prod&lang=scss&module=true&
45054
45094
 
45055
45095
  ;// CONCATENATED MODULE: ./src/App.vue
45056
45096
 
@@ -45063,7 +45103,7 @@ var Appvue_type_style_index_0_id_41aae1ca_prod_lang_scss_module_true_default = /
45063
45103
 
45064
45104
  function App_injectStyles (context) {
45065
45105
 
45066
- this["$style"] = ((Appvue_type_style_index_0_id_41aae1ca_prod_lang_scss_module_true_default()).locals || (Appvue_type_style_index_0_id_41aae1ca_prod_lang_scss_module_true_default()))
45106
+ this["$style"] = ((Appvue_type_style_index_0_id_1a7f5667_prod_lang_scss_module_true_default()).locals || (Appvue_type_style_index_0_id_1a7f5667_prod_lang_scss_module_true_default()))
45067
45107
 
45068
45108
  }
45069
45109
 
@@ -47854,7 +47894,8 @@ const createStore = function createStore({
47854
47894
  mode: null,
47855
47895
  requireHandwrittenSignature: false,
47856
47896
  otpFlow: null,
47857
- fieldAutocomplete: false
47897
+ fieldAutocomplete: false,
47898
+ allowMethodChange: true
47858
47899
  });
47859
47900
  const filterMethodsByCountry = function filterMethodsByCountry(methods, country) {
47860
47901
  return methods.filter(method => {
@@ -47917,7 +47958,8 @@ const createStore = function createStore({
47917
47958
  mode: () => store.mode,
47918
47959
  requireHandwrittenSignature: () => store.requireHandwrittenSignature,
47919
47960
  otpFlow: () => store.otpFlow,
47920
- fieldAutocomplete: () => store.fieldAutocomplete
47961
+ fieldAutocomplete: () => store.fieldAutocomplete,
47962
+ allowMethodChange: () => store.allowMethodChange
47921
47963
  };
47922
47964
  const mutations = {
47923
47965
  setCountryCode(countryCode) {
@@ -47985,6 +48027,9 @@ const createStore = function createStore({
47985
48027
  },
47986
48028
  setFieldAutocomplete(value) {
47987
48029
  store.fieldAutocomplete = value;
48030
+ },
48031
+ setAllowMethodChange(value) {
48032
+ store.allowMethodChange = value;
47988
48033
  }
47989
48034
  };
47990
48035
  const actions = {
@@ -48146,6 +48191,9 @@ const createStore = function createStore({
48146
48191
  },
48147
48192
  updateFieldAutocomplete(newValue) {
48148
48193
  mutations.setFieldAutocomplete(newValue);
48194
+ },
48195
+ updateAllowMethodChange(newValue) {
48196
+ mutations.setAllowMethodChange(newValue);
48149
48197
  }
48150
48198
  };
48151
48199
  return {