@saasquatch/mint-components 2.1.9-1 → 2.1.9-3

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.
Files changed (38) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/mint-components.cjs.js +1 -1
  3. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +1 -1
  4. package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
  5. package/dist/cjs/{sqm-user-info-form-view-efa08934.js → sqm-user-info-form-view-e7260d61.js} +0 -8
  6. package/dist/cjs/sqm-widget-verification.cjs.entry.js +85 -3
  7. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +421 -3
  8. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +0 -8
  9. package/dist/esm/loader.js +1 -1
  10. package/dist/esm/mint-components.js +1 -1
  11. package/dist/esm/sqm-banking-info-form_10.entry.js +1 -1
  12. package/dist/esm/sqm-stencilbook.entry.js +1 -1
  13. package/dist/esm/{sqm-user-info-form-view-b2dd8aa1.js → sqm-user-info-form-view-a18d6b15.js} +0 -8
  14. package/dist/esm/sqm-widget-verification.entry.js +85 -3
  15. package/dist/esm-es5/loader.js +1 -1
  16. package/dist/esm-es5/mint-components.js +1 -1
  17. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  18. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  19. package/dist/esm-es5/{sqm-user-info-form-view-b2dd8aa1.js → sqm-user-info-form-view-a18d6b15.js} +1 -1
  20. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  21. package/dist/mint-components/mint-components.esm.js +1 -1
  22. package/dist/mint-components/{p-6596f0de.entry.js → p-094edc0b.entry.js} +1 -1
  23. package/dist/mint-components/p-1a0b9f0f.entry.js +16 -0
  24. package/dist/mint-components/{p-9be145c6.system.entry.js → p-237a21c1.system.entry.js} +1 -1
  25. package/dist/mint-components/p-4b365f1f.system.js +1 -1
  26. package/dist/mint-components/p-4ea9b7ec.system.entry.js +1 -0
  27. package/dist/mint-components/{p-2085bb01.system.entry.js → p-4fbfb954.system.entry.js} +1 -1
  28. package/dist/mint-components/{p-9f21ea69.js → p-725c542a.js} +1 -1
  29. package/dist/mint-components/{p-aa0b0cd6.entry.js → p-c7cac01e.entry.js} +1 -1
  30. package/dist/mint-components/{p-3dc1e209.system.js → p-debe7d04.system.js} +1 -1
  31. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +73 -0
  32. package/dist/types/components.d.ts +146 -0
  33. package/docs/docs.docx +0 -0
  34. package/docs/raisins.json +1 -1
  35. package/grapesjs/grapesjs.js +1 -1
  36. package/package.json +1 -1
  37. package/dist/mint-components/p-470f7c0f.system.entry.js +0 -1
  38. package/dist/mint-components/p-4afbeea5.entry.js +0 -16
@@ -122,7 +122,7 @@ const WidgetVerification = class {
122
122
  */
123
123
  this.emailStep_emailValidationErrorText = "Please enter a valid email";
124
124
  /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
125
- EMAIL STEP PROPS
125
+ CODE STEP PROPS
126
126
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
127
127
  /**
128
128
  * @uiName Verify code widget header text
@@ -169,10 +169,86 @@ const WidgetVerification = class {
169
169
  * @uiGroup Code Verification Step
170
170
  */
171
171
  this.codeStep_networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
172
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
173
+ PARTNER CREATION STEP PROPS
174
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
175
+ /**
176
+ * @uiName New partner header
177
+ * @uiGroup Partner Creation Step
178
+ * @uiWidget textArea
179
+ */
180
+ this.createPartnerStep_modalHeader = "Let's get you ready for rewards";
181
+ /**
182
+ * @uiName Existing partner header
183
+ * @uiGroup Partner Creation Step
184
+ * @uiWidget textArea
185
+ */
186
+ this.createPartnerStep_modalHeaderExistingPartner = "We found an existing account";
187
+ /**
188
+ * @uiName New partner description
189
+ * @uiGroup Partner Creation Step
190
+ * @uiWidget textArea
191
+ */
192
+ this.createPartnerStep_descriptionNewPartner = "Confirm your country and currency now to get your future rewards faster.";
193
+ /**
194
+ * @uiName Existing partner description
195
+ * @uiGroup Partner Creation Step
196
+ * @uiWidget textArea
197
+ */
198
+ this.createPartnerStep_descriptionExistingPartner = "We found an account with this email on our referral program provider, impact.com. Please confirm your country and currency now to get your future rewards faster.";
199
+ /**
200
+ * @uiName Existing partner support description
201
+ * @uiGroup Partner Creation Step
202
+ * @uiWidget textArea
203
+ */
204
+ this.createPartnerStep_supportDescriptionExistingPartner = "If this is a mistake, please contact Support or sign up for this referral program with a different email.";
205
+ /**
206
+ * @uiName Country label
207
+ * @uiGroup Partner Creation Step
208
+ */
209
+ this.createPartnerStep_countryLabel = "Country";
210
+ /**
211
+ * @uiName Currency label
212
+ * @uiGroup Partner Creation Step
213
+ */
214
+ this.createPartnerStep_currencyLabel = "Currency";
215
+ /**
216
+ * @uiName Submit button label
217
+ * @uiGroup Partner Creation Step
218
+ */
219
+ this.createPartnerStep_submitButtonLabel = "Submit";
220
+ /**
221
+ * @uiName Confirm button label
222
+ * @uiGroup Partner Creation Step
223
+ */
224
+ this.createPartnerStep_confirmButtonLabel = "Confirm";
225
+ /**
226
+ * @uiName Search country placeholder
227
+ * @uiGroup Partner Creation Step
228
+ */
229
+ this.createPartnerStep_searchCountryPlaceholder = "Search for a country";
230
+ /**
231
+ * @uiName Search currency placeholder
232
+ * @uiGroup Partner Creation Step
233
+ */
234
+ this.createPartnerStep_searchCurrencyPlaceholder = "Search for a currency";
235
+ /**
236
+ * @uiName Network error text
237
+ * @uiGroup Partner Creation Step
238
+ * @uiWidget textArea
239
+ */
240
+ this.createPartnerStep_networkErrorText = "An error occurred. Please try again.";
241
+ /**
242
+ * @uiName Missing fields error text
243
+ * @uiGroup Partner Creation Step
244
+ * @uiWidget textArea
245
+ */
246
+ this.createPartnerStep_missingFieldsErrorText = "Please select both a country and currency.";
172
247
  /**
173
248
  * @undocumented
174
249
  * @componentState { "title": "Step 1: Enter email", "props": { "showCode": false }, "dependencies": ["sqm-email-verification"], "uiGroup": "Email Verification Step" }
175
250
  * @componentState { "title": "Step 2: Enter code", "props": { "showCode": true }, "dependencies": ["sqm-code-verification"], "uiGroup": "Code Verification Step" }
251
+ * @componentState { "title": "Step 3: Create Partner", "props": { "showPartnerModal": true }, "dependencies": ["sqm-partner-info-modal"], "uiGroup": "Partner Creation Step" }
176
252
  */
177
253
  this.stateController = "{}";
178
254
  domContextHooks_module.h$1(this);
@@ -189,7 +265,7 @@ const WidgetVerification = class {
189
265
  if (props.loading)
190
266
  return index.h("sl-spinner", null);
191
267
  if (props.showPartnerModal) {
192
- return index.h("sqm-partner-info-modal", null);
268
+ return (index.h("sqm-partner-info-modal", Object.assign({}, this.getStepTextProps("createPartnerStep_"))));
193
269
  }
194
270
  const generalText = this.getStepTextProps("general_");
195
271
  return (index.h("div", null, index.h("h3", { style: { fontSize: "24px", margin: "0" } }, generalText.verifyEmailHeader), index.h("p", { style: {
@@ -216,7 +292,13 @@ function useDemoWidgetVerificationInternal(props) {
216
292
  const onVerification = () => {
217
293
  setContext(true);
218
294
  };
219
- return cjs.cjs({ showCode, showPartnerModal: false, onVerification, onPartnerModalComplete: () => { }, loading: false }, formatted || {}, { arrayMerge: (_, a) => a });
295
+ return cjs.cjs({
296
+ showCode,
297
+ showPartnerModal: false,
298
+ onVerification,
299
+ onPartnerModalComplete: () => { },
300
+ loading: false,
301
+ }, formatted || {}, { arrayMerge: (_, a) => a });
220
302
  }
221
303
 
222
304
  exports.sqm_widget_verification = WidgetVerification;
@@ -62,7 +62,7 @@ export class WidgetVerification {
62
62
  */
63
63
  this.emailStep_emailValidationErrorText = "Please enter a valid email";
64
64
  /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
65
- EMAIL STEP PROPS
65
+ CODE STEP PROPS
66
66
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
67
67
  /**
68
68
  * @uiName Verify code widget header text
@@ -109,10 +109,86 @@ export class WidgetVerification {
109
109
  * @uiGroup Code Verification Step
110
110
  */
111
111
  this.codeStep_networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
112
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113
+ PARTNER CREATION STEP PROPS
114
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
115
+ /**
116
+ * @uiName New partner header
117
+ * @uiGroup Partner Creation Step
118
+ * @uiWidget textArea
119
+ */
120
+ this.createPartnerStep_modalHeader = "Let's get you ready for rewards";
121
+ /**
122
+ * @uiName Existing partner header
123
+ * @uiGroup Partner Creation Step
124
+ * @uiWidget textArea
125
+ */
126
+ this.createPartnerStep_modalHeaderExistingPartner = "We found an existing account";
127
+ /**
128
+ * @uiName New partner description
129
+ * @uiGroup Partner Creation Step
130
+ * @uiWidget textArea
131
+ */
132
+ this.createPartnerStep_descriptionNewPartner = "Confirm your country and currency now to get your future rewards faster.";
133
+ /**
134
+ * @uiName Existing partner description
135
+ * @uiGroup Partner Creation Step
136
+ * @uiWidget textArea
137
+ */
138
+ this.createPartnerStep_descriptionExistingPartner = "We found an account with this email on our referral program provider, impact.com. Please confirm your country and currency now to get your future rewards faster.";
139
+ /**
140
+ * @uiName Existing partner support description
141
+ * @uiGroup Partner Creation Step
142
+ * @uiWidget textArea
143
+ */
144
+ this.createPartnerStep_supportDescriptionExistingPartner = "If this is a mistake, please contact Support or sign up for this referral program with a different email.";
145
+ /**
146
+ * @uiName Country label
147
+ * @uiGroup Partner Creation Step
148
+ */
149
+ this.createPartnerStep_countryLabel = "Country";
150
+ /**
151
+ * @uiName Currency label
152
+ * @uiGroup Partner Creation Step
153
+ */
154
+ this.createPartnerStep_currencyLabel = "Currency";
155
+ /**
156
+ * @uiName Submit button label
157
+ * @uiGroup Partner Creation Step
158
+ */
159
+ this.createPartnerStep_submitButtonLabel = "Submit";
160
+ /**
161
+ * @uiName Confirm button label
162
+ * @uiGroup Partner Creation Step
163
+ */
164
+ this.createPartnerStep_confirmButtonLabel = "Confirm";
165
+ /**
166
+ * @uiName Search country placeholder
167
+ * @uiGroup Partner Creation Step
168
+ */
169
+ this.createPartnerStep_searchCountryPlaceholder = "Search for a country";
170
+ /**
171
+ * @uiName Search currency placeholder
172
+ * @uiGroup Partner Creation Step
173
+ */
174
+ this.createPartnerStep_searchCurrencyPlaceholder = "Search for a currency";
175
+ /**
176
+ * @uiName Network error text
177
+ * @uiGroup Partner Creation Step
178
+ * @uiWidget textArea
179
+ */
180
+ this.createPartnerStep_networkErrorText = "An error occurred. Please try again.";
181
+ /**
182
+ * @uiName Missing fields error text
183
+ * @uiGroup Partner Creation Step
184
+ * @uiWidget textArea
185
+ */
186
+ this.createPartnerStep_missingFieldsErrorText = "Please select both a country and currency.";
112
187
  /**
113
188
  * @undocumented
114
189
  * @componentState { "title": "Step 1: Enter email", "props": { "showCode": false }, "dependencies": ["sqm-email-verification"], "uiGroup": "Email Verification Step" }
115
190
  * @componentState { "title": "Step 2: Enter code", "props": { "showCode": true }, "dependencies": ["sqm-code-verification"], "uiGroup": "Code Verification Step" }
191
+ * @componentState { "title": "Step 3: Create Partner", "props": { "showPartnerModal": true }, "dependencies": ["sqm-partner-info-modal"], "uiGroup": "Partner Creation Step" }
116
192
  */
117
193
  this.stateController = "{}";
118
194
  withHooks(this);
@@ -129,7 +205,7 @@ export class WidgetVerification {
129
205
  if (props.loading)
130
206
  return h("sl-spinner", null);
131
207
  if (props.showPartnerModal) {
132
- return h("sqm-partner-info-modal", null);
208
+ return (h("sqm-partner-info-modal", Object.assign({}, this.getStepTextProps("createPartnerStep_"))));
133
209
  }
134
210
  const generalText = this.getStepTextProps("general_");
135
211
  return (h("div", null,
@@ -528,6 +604,339 @@ export class WidgetVerification {
528
604
  "reflect": false,
529
605
  "defaultValue": "\"An error occurred while verifying your email. Please refresh the page and try again.\""
530
606
  },
607
+ "createPartnerStep_modalHeader": {
608
+ "type": "string",
609
+ "mutable": false,
610
+ "complexType": {
611
+ "original": "string",
612
+ "resolved": "string",
613
+ "references": {}
614
+ },
615
+ "required": false,
616
+ "optional": false,
617
+ "docs": {
618
+ "tags": [{
619
+ "text": "New partner header",
620
+ "name": "uiName"
621
+ }, {
622
+ "text": "Partner Creation Step",
623
+ "name": "uiGroup"
624
+ }, {
625
+ "text": "textArea",
626
+ "name": "uiWidget"
627
+ }],
628
+ "text": ""
629
+ },
630
+ "attribute": "create-partner-step_modal-header",
631
+ "reflect": false,
632
+ "defaultValue": "\"Let's get you ready for rewards\""
633
+ },
634
+ "createPartnerStep_modalHeaderExistingPartner": {
635
+ "type": "string",
636
+ "mutable": false,
637
+ "complexType": {
638
+ "original": "string",
639
+ "resolved": "string",
640
+ "references": {}
641
+ },
642
+ "required": false,
643
+ "optional": false,
644
+ "docs": {
645
+ "tags": [{
646
+ "text": "Existing partner header",
647
+ "name": "uiName"
648
+ }, {
649
+ "text": "Partner Creation Step",
650
+ "name": "uiGroup"
651
+ }, {
652
+ "text": "textArea",
653
+ "name": "uiWidget"
654
+ }],
655
+ "text": ""
656
+ },
657
+ "attribute": "create-partner-step_modal-header-existing-partner",
658
+ "reflect": false,
659
+ "defaultValue": "\"We found an existing account\""
660
+ },
661
+ "createPartnerStep_descriptionNewPartner": {
662
+ "type": "string",
663
+ "mutable": false,
664
+ "complexType": {
665
+ "original": "string",
666
+ "resolved": "string",
667
+ "references": {}
668
+ },
669
+ "required": false,
670
+ "optional": false,
671
+ "docs": {
672
+ "tags": [{
673
+ "text": "New partner description",
674
+ "name": "uiName"
675
+ }, {
676
+ "text": "Partner Creation Step",
677
+ "name": "uiGroup"
678
+ }, {
679
+ "text": "textArea",
680
+ "name": "uiWidget"
681
+ }],
682
+ "text": ""
683
+ },
684
+ "attribute": "create-partner-step_description-new-partner",
685
+ "reflect": false,
686
+ "defaultValue": "\"Confirm your country and currency now to get your future rewards faster.\""
687
+ },
688
+ "createPartnerStep_descriptionExistingPartner": {
689
+ "type": "string",
690
+ "mutable": false,
691
+ "complexType": {
692
+ "original": "string",
693
+ "resolved": "string",
694
+ "references": {}
695
+ },
696
+ "required": false,
697
+ "optional": false,
698
+ "docs": {
699
+ "tags": [{
700
+ "text": "Existing partner description",
701
+ "name": "uiName"
702
+ }, {
703
+ "text": "Partner Creation Step",
704
+ "name": "uiGroup"
705
+ }, {
706
+ "text": "textArea",
707
+ "name": "uiWidget"
708
+ }],
709
+ "text": ""
710
+ },
711
+ "attribute": "create-partner-step_description-existing-partner",
712
+ "reflect": false,
713
+ "defaultValue": "\"We found an account with this email on our referral program provider, impact.com. Please confirm your country and currency now to get your future rewards faster.\""
714
+ },
715
+ "createPartnerStep_supportDescriptionExistingPartner": {
716
+ "type": "string",
717
+ "mutable": false,
718
+ "complexType": {
719
+ "original": "string",
720
+ "resolved": "string",
721
+ "references": {}
722
+ },
723
+ "required": false,
724
+ "optional": false,
725
+ "docs": {
726
+ "tags": [{
727
+ "text": "Existing partner support description",
728
+ "name": "uiName"
729
+ }, {
730
+ "text": "Partner Creation Step",
731
+ "name": "uiGroup"
732
+ }, {
733
+ "text": "textArea",
734
+ "name": "uiWidget"
735
+ }],
736
+ "text": ""
737
+ },
738
+ "attribute": "create-partner-step_support-description-existing-partner",
739
+ "reflect": false,
740
+ "defaultValue": "\"If this is a mistake, please contact Support or sign up for this referral program with a different email.\""
741
+ },
742
+ "createPartnerStep_countryLabel": {
743
+ "type": "string",
744
+ "mutable": false,
745
+ "complexType": {
746
+ "original": "string",
747
+ "resolved": "string",
748
+ "references": {}
749
+ },
750
+ "required": false,
751
+ "optional": false,
752
+ "docs": {
753
+ "tags": [{
754
+ "text": "Country label",
755
+ "name": "uiName"
756
+ }, {
757
+ "text": "Partner Creation Step",
758
+ "name": "uiGroup"
759
+ }],
760
+ "text": ""
761
+ },
762
+ "attribute": "create-partner-step_country-label",
763
+ "reflect": false,
764
+ "defaultValue": "\"Country\""
765
+ },
766
+ "createPartnerStep_currencyLabel": {
767
+ "type": "string",
768
+ "mutable": false,
769
+ "complexType": {
770
+ "original": "string",
771
+ "resolved": "string",
772
+ "references": {}
773
+ },
774
+ "required": false,
775
+ "optional": false,
776
+ "docs": {
777
+ "tags": [{
778
+ "text": "Currency label",
779
+ "name": "uiName"
780
+ }, {
781
+ "text": "Partner Creation Step",
782
+ "name": "uiGroup"
783
+ }],
784
+ "text": ""
785
+ },
786
+ "attribute": "create-partner-step_currency-label",
787
+ "reflect": false,
788
+ "defaultValue": "\"Currency\""
789
+ },
790
+ "createPartnerStep_submitButtonLabel": {
791
+ "type": "string",
792
+ "mutable": false,
793
+ "complexType": {
794
+ "original": "string",
795
+ "resolved": "string",
796
+ "references": {}
797
+ },
798
+ "required": false,
799
+ "optional": false,
800
+ "docs": {
801
+ "tags": [{
802
+ "text": "Submit button label",
803
+ "name": "uiName"
804
+ }, {
805
+ "text": "Partner Creation Step",
806
+ "name": "uiGroup"
807
+ }],
808
+ "text": ""
809
+ },
810
+ "attribute": "create-partner-step_submit-button-label",
811
+ "reflect": false,
812
+ "defaultValue": "\"Submit\""
813
+ },
814
+ "createPartnerStep_confirmButtonLabel": {
815
+ "type": "string",
816
+ "mutable": false,
817
+ "complexType": {
818
+ "original": "string",
819
+ "resolved": "string",
820
+ "references": {}
821
+ },
822
+ "required": false,
823
+ "optional": false,
824
+ "docs": {
825
+ "tags": [{
826
+ "text": "Confirm button label",
827
+ "name": "uiName"
828
+ }, {
829
+ "text": "Partner Creation Step",
830
+ "name": "uiGroup"
831
+ }],
832
+ "text": ""
833
+ },
834
+ "attribute": "create-partner-step_confirm-button-label",
835
+ "reflect": false,
836
+ "defaultValue": "\"Confirm\""
837
+ },
838
+ "createPartnerStep_searchCountryPlaceholder": {
839
+ "type": "string",
840
+ "mutable": false,
841
+ "complexType": {
842
+ "original": "string",
843
+ "resolved": "string",
844
+ "references": {}
845
+ },
846
+ "required": false,
847
+ "optional": false,
848
+ "docs": {
849
+ "tags": [{
850
+ "text": "Search country placeholder",
851
+ "name": "uiName"
852
+ }, {
853
+ "text": "Partner Creation Step",
854
+ "name": "uiGroup"
855
+ }],
856
+ "text": ""
857
+ },
858
+ "attribute": "create-partner-step_search-country-placeholder",
859
+ "reflect": false,
860
+ "defaultValue": "\"Search for a country\""
861
+ },
862
+ "createPartnerStep_searchCurrencyPlaceholder": {
863
+ "type": "string",
864
+ "mutable": false,
865
+ "complexType": {
866
+ "original": "string",
867
+ "resolved": "string",
868
+ "references": {}
869
+ },
870
+ "required": false,
871
+ "optional": false,
872
+ "docs": {
873
+ "tags": [{
874
+ "text": "Search currency placeholder",
875
+ "name": "uiName"
876
+ }, {
877
+ "text": "Partner Creation Step",
878
+ "name": "uiGroup"
879
+ }],
880
+ "text": ""
881
+ },
882
+ "attribute": "create-partner-step_search-currency-placeholder",
883
+ "reflect": false,
884
+ "defaultValue": "\"Search for a currency\""
885
+ },
886
+ "createPartnerStep_networkErrorText": {
887
+ "type": "string",
888
+ "mutable": false,
889
+ "complexType": {
890
+ "original": "string",
891
+ "resolved": "string",
892
+ "references": {}
893
+ },
894
+ "required": false,
895
+ "optional": false,
896
+ "docs": {
897
+ "tags": [{
898
+ "text": "Network error text",
899
+ "name": "uiName"
900
+ }, {
901
+ "text": "Partner Creation Step",
902
+ "name": "uiGroup"
903
+ }, {
904
+ "text": "textArea",
905
+ "name": "uiWidget"
906
+ }],
907
+ "text": ""
908
+ },
909
+ "attribute": "create-partner-step_network-error-text",
910
+ "reflect": false,
911
+ "defaultValue": "\"An error occurred. Please try again.\""
912
+ },
913
+ "createPartnerStep_missingFieldsErrorText": {
914
+ "type": "string",
915
+ "mutable": false,
916
+ "complexType": {
917
+ "original": "string",
918
+ "resolved": "string",
919
+ "references": {}
920
+ },
921
+ "required": false,
922
+ "optional": false,
923
+ "docs": {
924
+ "tags": [{
925
+ "text": "Missing fields error text",
926
+ "name": "uiName"
927
+ }, {
928
+ "text": "Partner Creation Step",
929
+ "name": "uiGroup"
930
+ }, {
931
+ "text": "textArea",
932
+ "name": "uiWidget"
933
+ }],
934
+ "text": ""
935
+ },
936
+ "attribute": "create-partner-step_missing-fields-error-text",
937
+ "reflect": false,
938
+ "defaultValue": "\"Please select both a country and currency.\""
939
+ },
531
940
  "stateController": {
532
941
  "type": "string",
533
942
  "mutable": false,
@@ -548,6 +957,9 @@ export class WidgetVerification {
548
957
  }, {
549
958
  "text": "{ \"title\": \"Step 2: Enter code\", \"props\": { \"showCode\": true }, \"dependencies\": [\"sqm-code-verification\"], \"uiGroup\": \"Code Verification Step\" }",
550
959
  "name": "componentState"
960
+ }, {
961
+ "text": "{ \"title\": \"Step 3: Create Partner\", \"props\": { \"showPartnerModal\": true }, \"dependencies\": [\"sqm-partner-info-modal\"], \"uiGroup\": \"Partner Creation Step\" }",
962
+ "name": "componentState"
551
963
  }],
552
964
  "text": ""
553
965
  },
@@ -574,5 +986,11 @@ function useDemoWidgetVerificationInternal(props) {
574
986
  const onVerification = () => {
575
987
  setContext(true);
576
988
  };
577
- return deepmerge({ showCode, showPartnerModal: false, onVerification, onPartnerModalComplete: () => { }, loading: false }, formatted || {}, { arrayMerge: (_, a) => a });
989
+ return deepmerge({
990
+ showCode,
991
+ showPartnerModal: false,
992
+ onVerification,
993
+ onPartnerModalComplete: () => { },
994
+ loading: false,
995
+ }, formatted || {}, { arrayMerge: (_, a) => a });
578
996
  }
@@ -330,14 +330,6 @@ export const UserInfoFormView = (props) => {
330
330
  }, {
331
331
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
332
332
  })))),
333
- (states.isPartner || states.isUser) && (h("sqm-form-message", { loading: states.loading, type: "info" },
334
- h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
335
- h("p", { part: "alert-description" }, intl.formatMessage({
336
- id: "isPartnerAlertDescription",
337
- defaultMessage: text.isPartnerAlertDescription,
338
- }, {
339
- supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
340
- })))),
341
333
  h("div", null,
342
334
  h("div", { class: classes.InputContainer },
343
335
  h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || isDisabledUserInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {