@saasquatch/mint-components 2.1.9-15 → 2.1.9-17

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 (30) hide show
  1. package/dist/cjs/sqm-big-stat_46.cjs.entry.js +7 -0
  2. package/dist/cjs/sqm-email-verification_2.cjs.entry.js +1 -1
  3. package/dist/cjs/{sqm-partner-info-modal-view-2d6e89a4.js → sqm-partner-info-modal-view-bb64a718.js} +29 -31
  4. package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
  5. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +29 -31
  6. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +7 -0
  7. package/dist/esm/sqm-big-stat_46.entry.js +7 -0
  8. package/dist/esm/sqm-email-verification_2.entry.js +1 -1
  9. package/dist/esm/{sqm-partner-info-modal-view-f85b5a08.js → sqm-partner-info-modal-view-b0f31f8a.js} +29 -31
  10. package/dist/esm/sqm-stencilbook.entry.js +1 -1
  11. package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -1
  12. package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
  13. package/dist/esm-es5/sqm-partner-info-modal-view-b0f31f8a.js +1 -0
  14. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  15. package/dist/mint-components/mint-components.esm.js +1 -1
  16. package/dist/mint-components/{p-d111584d.entry.js → p-1b3224d9.entry.js} +1 -1
  17. package/dist/mint-components/p-1c413a06.system.js +1 -1
  18. package/dist/mint-components/{p-3b2b83d9.entry.js → p-66e8c1f6.entry.js} +1 -1
  19. package/dist/mint-components/{p-a06ee2a3.system.entry.js → p-6f13f388.system.entry.js} +1 -1
  20. package/dist/mint-components/p-7e4a8af3.js +1 -0
  21. package/dist/mint-components/{p-2895cb71.system.entry.js → p-ae0a0031.system.entry.js} +1 -1
  22. package/dist/mint-components/{p-65e4ba6f.system.entry.js → p-c4b7d9a0.system.entry.js} +1 -1
  23. package/dist/mint-components/p-e302579a.system.js +1 -0
  24. package/dist/mint-components/{p-48805a43.entry.js → p-e5c554da.entry.js} +1 -1
  25. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +1 -1
  26. package/docs/docs.docx +0 -0
  27. package/package.json +1 -1
  28. package/dist/esm-es5/sqm-partner-info-modal-view-f85b5a08.js +0 -1
  29. package/dist/mint-components/p-5a71d63c.js +0 -1
  30. package/dist/mint-components/p-67792584.system.js +0 -1
@@ -8223,11 +8223,18 @@ const WidgetVerification = class {
8223
8223
  return extractProps(props, prefix);
8224
8224
  }
8225
8225
  render() {
8226
+ var _a;
8226
8227
  const props = index_module.isDemo()
8227
8228
  ? useDemoWidgetVerificationInternal(this)
8228
8229
  : useWidgetVerification();
8229
8230
  if (props.loading)
8230
8231
  return index.h("sl-spinner", null);
8232
+ const partnerState = typeof props["sqm-partner-info-modal_stateController"] === "string"
8233
+ ? parseStates.parseStates(props["sqm-partner-info-modal_stateController"])
8234
+ : props["sqm-partner-info-modal_stateController"];
8235
+ if (props.showPartnerModal && ((_a = partnerState === null || partnerState === void 0 ? void 0 : partnerState.states) === null || _a === void 0 ? void 0 : _a.open) === false) {
8236
+ return index.h("div", null);
8237
+ }
8231
8238
  const style = {
8232
8239
  Dialog: {
8233
8240
  "&::part(panel)": {
@@ -10,7 +10,7 @@ const cjs = require('./cjs-1066ec21.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
12
  const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
13
- const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-2d6e89a4.js');
13
+ const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-bb64a718.js');
14
14
  const keys = require('./keys-cff24974.js');
15
15
  const eventKeys = require('./eventKeys-7af4df4d.js');
16
16
  const parseStates = require('./parseStates-d1effc19.js');
@@ -13,29 +13,21 @@ const style = {
13
13
  fontSize: "var(--sl-font-size-small)",
14
14
  overflow: "visible",
15
15
  },
16
- "&::part(footer)": {
17
- display: "flex",
18
- flexDirection: "column",
19
- padding: "0 var(--sl-spacing-large) var(--sl-spacing-large) var(--sl-spacing-large)",
20
- },
21
16
  "&::part(overlay)": {
22
- background: "rgba(0, 0, 0, 0.5)",
17
+ background: "var(--sl-overlay-background-color)",
23
18
  },
24
19
  },
25
20
  DialogTitle: {
26
21
  fontSize: "var(--sl-font-size-x-large)",
27
22
  fontWeight: "600",
28
- padding: "var(--sl-spacing-x-large) 0 0 0",
23
+ padding: "var(--sl-spacing-large) 0 0 0",
29
24
  margin: "0",
30
25
  },
31
26
  FormFields: {
32
27
  display: "flex",
33
28
  flexDirection: "column",
34
29
  gap: "var(--sl-spacing-medium)",
35
- marginTop: "var(--sl-spacing-medium)",
36
- "& > *": {
37
- flex: 1,
38
- },
30
+ marginTop: "var(--sl-spacing-large)",
39
31
  },
40
32
  ErrorMessage: {
41
33
  color: "var(--sqm-danger-color-text, #d32f2f)",
@@ -60,7 +52,7 @@ const style = {
60
52
  },
61
53
  SubmitButton: {
62
54
  width: "100%",
63
- marginTop: "var(--sl-spacing-small)",
55
+ marginTop: "var(--sl-spacing-large)",
64
56
  },
65
57
  };
66
58
  function PartnerInfoModalContentView(props) {
@@ -74,10 +66,12 @@ function PartnerInfoModalContentView(props) {
74
66
  const buttonLabel = states.isExistingPartner
75
67
  ? text.confirmButtonLabel
76
68
  : text.submitButtonLabel;
77
- return [
78
- index.h("style", { type: "text/css" }, styleString),
79
- description,
69
+ return (index.h("div", null,
70
+ index.h("style", { type: "text/css" },
71
+ " ",
72
+ styleString),
80
73
  index.h("div", { class: sheet.classes.FormFields },
74
+ description,
81
75
  index.h("sl-select", { key: `country-${states.countryCode}`, exportparts: "label: input-label, base: input-base", label: text.countryLabel, value: states.countryCode, disabled: states.submitting || !!states.isExistingPartner, required: true, hoist: true, "onSl-select": callbacks.onCountryChange },
82
76
  index.h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCountryPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => {
83
77
  var _a;
@@ -88,29 +82,33 @@ function PartnerInfoModalContentView(props) {
88
82
  index.h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCurrencyPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => { var _a; return callbacks.setCurrencySearch((_a = e.target) === null || _a === void 0 ? void 0 : _a.value); } }), (_b = states.filteredCurrencies) === null || _b === void 0 ? void 0 :
89
83
  _b.map((c) => (index.h("sl-menu-item", { value: c.currencyCode }, c.currencyCode))))),
90
84
  states.error && index.h("p", { class: sheet.classes.ErrorMessage }, states.error),
91
- index.h("sl-button", { slot: "footer", type: "primary", loading: states.submitting, disabled: states.submitting || !states.countryCode || !states.currency, onClick: callbacks.onSubmit, class: sheet.classes.SubmitButton, exportparts: "base: primarybutton-base" }, buttonLabel),
92
- ];
85
+ index.h("sl-button", { slot: "footer", type: "primary", loading: states.submitting, disabled: states.submitting || !states.countryCode || !states.currency, onClick: callbacks.onSubmit, class: sheet.classes.SubmitButton, exportparts: "base: primarybutton-base" }, buttonLabel)));
93
86
  }
94
87
  function PartnerInfoModalView(props) {
95
- const { states, text } = props;
88
+ const { states, text, callbacks } = props;
96
89
  const sheet = JSS.createStyleSheet(style);
90
+ const styleString = sheet.toString();
97
91
  console.log(states, "partner info modal states"); // TEMP
98
92
  if (!states.open)
99
93
  return index.h("div", null);
100
- return (index.h("sl-dialog", { class: sheet.classes.Dialog, open: states.open, noHeader: true, label: states.isExistingPartner
101
- ? text.modalHeaderExistingPartner
102
- : text.modalHeader, "onSl-request-close": (e) => {
103
- e.preventDefault();
104
- }, "onSl-hide": (e) => {
105
- var _a;
106
- if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
94
+ return (index.h("div", null,
95
+ index.h("style", { type: "text/css" },
96
+ " ",
97
+ styleString),
98
+ index.h("sl-dialog", { class: sheet.classes.Dialog, open: states.open, noHeader: true, label: states.isExistingPartner
99
+ ? text.modalHeaderExistingPartner
100
+ : text.modalHeader, "onSl-request-close": (e) => {
107
101
  e.preventDefault();
108
- }
109
- } },
110
- index.h("h2", { class: sheet.classes.DialogTitle }, states.isExistingPartner
111
- ? text.modalHeaderExistingPartner
112
- : text.modalHeader),
113
- index.h(PartnerInfoModalContentView, Object.assign({}, props))));
102
+ }, "onSl-hide": (e) => {
103
+ var _a;
104
+ if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
105
+ e.preventDefault();
106
+ }
107
+ } },
108
+ index.h("h2", { class: sheet.classes.DialogTitle }, states.isExistingPartner
109
+ ? text.modalHeaderExistingPartner
110
+ : text.modalHeader),
111
+ index.h(PartnerInfoModalContentView, Object.assign({}, props)))));
114
112
  }
115
113
 
116
114
  exports.PartnerInfoModalContentView = PartnerInfoModalContentView;
@@ -38,7 +38,7 @@ const sqmPortalContainerView = require('./sqm-portal-container-view-70a47420.js'
38
38
  const sqmUserInfoFormView = require('./sqm-user-info-form-view-923ff8d9.js');
39
39
  const data = require('./data-e83f8a41.js');
40
40
  const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-818d9e9a.js');
41
- const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-2d6e89a4.js');
41
+ const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-bb64a718.js');
42
42
 
43
43
  /**
44
44
  * lodash (Custom Build) <https://lodash.com/>
@@ -10,29 +10,21 @@ const style = {
10
10
  fontSize: "var(--sl-font-size-small)",
11
11
  overflow: "visible",
12
12
  },
13
- "&::part(footer)": {
14
- display: "flex",
15
- flexDirection: "column",
16
- padding: "0 var(--sl-spacing-large) var(--sl-spacing-large) var(--sl-spacing-large)",
17
- },
18
13
  "&::part(overlay)": {
19
- background: "rgba(0, 0, 0, 0.5)",
14
+ background: "var(--sl-overlay-background-color)",
20
15
  },
21
16
  },
22
17
  DialogTitle: {
23
18
  fontSize: "var(--sl-font-size-x-large)",
24
19
  fontWeight: "600",
25
- padding: "var(--sl-spacing-x-large) 0 0 0",
20
+ padding: "var(--sl-spacing-large) 0 0 0",
26
21
  margin: "0",
27
22
  },
28
23
  FormFields: {
29
24
  display: "flex",
30
25
  flexDirection: "column",
31
26
  gap: "var(--sl-spacing-medium)",
32
- marginTop: "var(--sl-spacing-medium)",
33
- "& > *": {
34
- flex: 1,
35
- },
27
+ marginTop: "var(--sl-spacing-large)",
36
28
  },
37
29
  ErrorMessage: {
38
30
  color: "var(--sqm-danger-color-text, #d32f2f)",
@@ -57,7 +49,7 @@ const style = {
57
49
  },
58
50
  SubmitButton: {
59
51
  width: "100%",
60
- marginTop: "var(--sl-spacing-small)",
52
+ marginTop: "var(--sl-spacing-large)",
61
53
  },
62
54
  };
63
55
  export function PartnerInfoModalContentView(props) {
@@ -71,10 +63,12 @@ export function PartnerInfoModalContentView(props) {
71
63
  const buttonLabel = states.isExistingPartner
72
64
  ? text.confirmButtonLabel
73
65
  : text.submitButtonLabel;
74
- return [
75
- h("style", { type: "text/css" }, styleString),
76
- description,
66
+ return (h("div", null,
67
+ h("style", { type: "text/css" },
68
+ " ",
69
+ styleString),
77
70
  h("div", { class: sheet.classes.FormFields },
71
+ description,
78
72
  h("sl-select", { key: `country-${states.countryCode}`, exportparts: "label: input-label, base: input-base", label: text.countryLabel, value: states.countryCode, disabled: states.submitting || !!states.isExistingPartner, required: true, hoist: true, "onSl-select": callbacks.onCountryChange },
79
73
  h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCountryPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => {
80
74
  var _a;
@@ -85,27 +79,31 @@ export function PartnerInfoModalContentView(props) {
85
79
  h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCurrencyPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => { var _a; return callbacks.setCurrencySearch((_a = e.target) === null || _a === void 0 ? void 0 : _a.value); } }), (_b = states.filteredCurrencies) === null || _b === void 0 ? void 0 :
86
80
  _b.map((c) => (h("sl-menu-item", { value: c.currencyCode }, c.currencyCode))))),
87
81
  states.error && h("p", { class: sheet.classes.ErrorMessage }, states.error),
88
- h("sl-button", { slot: "footer", type: "primary", loading: states.submitting, disabled: states.submitting || !states.countryCode || !states.currency, onClick: callbacks.onSubmit, class: sheet.classes.SubmitButton, exportparts: "base: primarybutton-base" }, buttonLabel),
89
- ];
82
+ h("sl-button", { slot: "footer", type: "primary", loading: states.submitting, disabled: states.submitting || !states.countryCode || !states.currency, onClick: callbacks.onSubmit, class: sheet.classes.SubmitButton, exportparts: "base: primarybutton-base" }, buttonLabel)));
90
83
  }
91
84
  export function PartnerInfoModalView(props) {
92
- const { states, text } = props;
85
+ const { states, text, callbacks } = props;
93
86
  const sheet = createStyleSheet(style);
87
+ const styleString = sheet.toString();
94
88
  console.log(states, "partner info modal states"); // TEMP
95
89
  if (!states.open)
96
90
  return h("div", null);
97
- return (h("sl-dialog", { class: sheet.classes.Dialog, open: states.open, noHeader: true, label: states.isExistingPartner
98
- ? text.modalHeaderExistingPartner
99
- : text.modalHeader, "onSl-request-close": (e) => {
100
- e.preventDefault();
101
- }, "onSl-hide": (e) => {
102
- var _a;
103
- if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
91
+ return (h("div", null,
92
+ h("style", { type: "text/css" },
93
+ " ",
94
+ styleString),
95
+ h("sl-dialog", { class: sheet.classes.Dialog, open: states.open, noHeader: true, label: states.isExistingPartner
96
+ ? text.modalHeaderExistingPartner
97
+ : text.modalHeader, "onSl-request-close": (e) => {
104
98
  e.preventDefault();
105
- }
106
- } },
107
- h("h2", { class: sheet.classes.DialogTitle }, states.isExistingPartner
108
- ? text.modalHeaderExistingPartner
109
- : text.modalHeader),
110
- h(PartnerInfoModalContentView, Object.assign({}, props))));
99
+ }, "onSl-hide": (e) => {
100
+ var _a;
101
+ if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
102
+ e.preventDefault();
103
+ }
104
+ } },
105
+ h("h2", { class: sheet.classes.DialogTitle }, states.isExistingPartner
106
+ ? text.modalHeaderExistingPartner
107
+ : text.modalHeader),
108
+ h(PartnerInfoModalContentView, Object.assign({}, props)))));
111
109
  }
@@ -205,11 +205,18 @@ export class WidgetVerification {
205
205
  return extractProps(props, prefix);
206
206
  }
207
207
  render() {
208
+ var _a;
208
209
  const props = isDemo()
209
210
  ? useDemoWidgetVerificationInternal(this)
210
211
  : useWidgetVerification();
211
212
  if (props.loading)
212
213
  return h("sl-spinner", null);
214
+ const partnerState = typeof props["sqm-partner-info-modal_stateController"] === "string"
215
+ ? parseStates(props["sqm-partner-info-modal_stateController"])
216
+ : props["sqm-partner-info-modal_stateController"];
217
+ if (props.showPartnerModal && ((_a = partnerState === null || partnerState === void 0 ? void 0 : partnerState.states) === null || _a === void 0 ? void 0 : _a.open) === false) {
218
+ return h("div", null);
219
+ }
213
220
  const style = {
214
221
  Dialog: {
215
222
  "&::part(panel)": {
@@ -8219,11 +8219,18 @@ const WidgetVerification = class {
8219
8219
  return extractProps(props, prefix);
8220
8220
  }
8221
8221
  render() {
8222
+ var _a;
8222
8223
  const props = isDemo()
8223
8224
  ? useDemoWidgetVerificationInternal(this)
8224
8225
  : useWidgetVerification();
8225
8226
  if (props.loading)
8226
8227
  return h$1("sl-spinner", null);
8228
+ const partnerState = typeof props["sqm-partner-info-modal_stateController"] === "string"
8229
+ ? parseStates(props["sqm-partner-info-modal_stateController"])
8230
+ : props["sqm-partner-info-modal_stateController"];
8231
+ if (props.showPartnerModal && ((_a = partnerState === null || partnerState === void 0 ? void 0 : partnerState.states) === null || _a === void 0 ? void 0 : _a.open) === false) {
8232
+ return h$1("div", null);
8233
+ }
8227
8234
  const style = {
8228
8235
  Dialog: {
8229
8236
  "&::part(panel)": {
@@ -6,7 +6,7 @@ import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { g as getProps } from './utils-334c1e34.js';
7
7
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
8
  import { T as TextSpanView } from './sqm-text-span-view-738acfb3.js';
9
- import { a as PartnerInfoModalContentView, P as PartnerInfoModalView } from './sqm-partner-info-modal-view-f85b5a08.js';
9
+ import { a as PartnerInfoModalContentView, P as PartnerInfoModalView } from './sqm-partner-info-modal-view-b0f31f8a.js';
10
10
  import { S as SHOW_CODE_NAMESPACE, a as VERIFICATION_EMAIL_NAMESPACE, V as VERIFICATION_PARENT_NAMESPACE } from './keys-db1897ae.js';
11
11
  import { T as TAX_FORM_UPDATED_EVENT_KEY } from './eventKeys-f76b6a03.js';
12
12
  import { p as parseStates } from './parseStates-ed75e224.js';
@@ -11,29 +11,21 @@ const style = {
11
11
  fontSize: "var(--sl-font-size-small)",
12
12
  overflow: "visible",
13
13
  },
14
- "&::part(footer)": {
15
- display: "flex",
16
- flexDirection: "column",
17
- padding: "0 var(--sl-spacing-large) var(--sl-spacing-large) var(--sl-spacing-large)",
18
- },
19
14
  "&::part(overlay)": {
20
- background: "rgba(0, 0, 0, 0.5)",
15
+ background: "var(--sl-overlay-background-color)",
21
16
  },
22
17
  },
23
18
  DialogTitle: {
24
19
  fontSize: "var(--sl-font-size-x-large)",
25
20
  fontWeight: "600",
26
- padding: "var(--sl-spacing-x-large) 0 0 0",
21
+ padding: "var(--sl-spacing-large) 0 0 0",
27
22
  margin: "0",
28
23
  },
29
24
  FormFields: {
30
25
  display: "flex",
31
26
  flexDirection: "column",
32
27
  gap: "var(--sl-spacing-medium)",
33
- marginTop: "var(--sl-spacing-medium)",
34
- "& > *": {
35
- flex: 1,
36
- },
28
+ marginTop: "var(--sl-spacing-large)",
37
29
  },
38
30
  ErrorMessage: {
39
31
  color: "var(--sqm-danger-color-text, #d32f2f)",
@@ -58,7 +50,7 @@ const style = {
58
50
  },
59
51
  SubmitButton: {
60
52
  width: "100%",
61
- marginTop: "var(--sl-spacing-small)",
53
+ marginTop: "var(--sl-spacing-large)",
62
54
  },
63
55
  };
64
56
  function PartnerInfoModalContentView(props) {
@@ -72,10 +64,12 @@ function PartnerInfoModalContentView(props) {
72
64
  const buttonLabel = states.isExistingPartner
73
65
  ? text.confirmButtonLabel
74
66
  : text.submitButtonLabel;
75
- return [
76
- h("style", { type: "text/css" }, styleString),
77
- description,
67
+ return (h("div", null,
68
+ h("style", { type: "text/css" },
69
+ " ",
70
+ styleString),
78
71
  h("div", { class: sheet.classes.FormFields },
72
+ description,
79
73
  h("sl-select", { key: `country-${states.countryCode}`, exportparts: "label: input-label, base: input-base", label: text.countryLabel, value: states.countryCode, disabled: states.submitting || !!states.isExistingPartner, required: true, hoist: true, "onSl-select": callbacks.onCountryChange },
80
74
  h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCountryPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => {
81
75
  var _a;
@@ -86,29 +80,33 @@ function PartnerInfoModalContentView(props) {
86
80
  h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCurrencyPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => { var _a; return callbacks.setCurrencySearch((_a = e.target) === null || _a === void 0 ? void 0 : _a.value); } }), (_b = states.filteredCurrencies) === null || _b === void 0 ? void 0 :
87
81
  _b.map((c) => (h("sl-menu-item", { value: c.currencyCode }, c.currencyCode))))),
88
82
  states.error && h("p", { class: sheet.classes.ErrorMessage }, states.error),
89
- h("sl-button", { slot: "footer", type: "primary", loading: states.submitting, disabled: states.submitting || !states.countryCode || !states.currency, onClick: callbacks.onSubmit, class: sheet.classes.SubmitButton, exportparts: "base: primarybutton-base" }, buttonLabel),
90
- ];
83
+ h("sl-button", { slot: "footer", type: "primary", loading: states.submitting, disabled: states.submitting || !states.countryCode || !states.currency, onClick: callbacks.onSubmit, class: sheet.classes.SubmitButton, exportparts: "base: primarybutton-base" }, buttonLabel)));
91
84
  }
92
85
  function PartnerInfoModalView(props) {
93
- const { states, text } = props;
86
+ const { states, text, callbacks } = props;
94
87
  const sheet = createStyleSheet(style);
88
+ const styleString = sheet.toString();
95
89
  console.log(states, "partner info modal states"); // TEMP
96
90
  if (!states.open)
97
91
  return h("div", null);
98
- return (h("sl-dialog", { class: sheet.classes.Dialog, open: states.open, noHeader: true, label: states.isExistingPartner
99
- ? text.modalHeaderExistingPartner
100
- : text.modalHeader, "onSl-request-close": (e) => {
101
- e.preventDefault();
102
- }, "onSl-hide": (e) => {
103
- var _a;
104
- if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
92
+ return (h("div", null,
93
+ h("style", { type: "text/css" },
94
+ " ",
95
+ styleString),
96
+ h("sl-dialog", { class: sheet.classes.Dialog, open: states.open, noHeader: true, label: states.isExistingPartner
97
+ ? text.modalHeaderExistingPartner
98
+ : text.modalHeader, "onSl-request-close": (e) => {
105
99
  e.preventDefault();
106
- }
107
- } },
108
- h("h2", { class: sheet.classes.DialogTitle }, states.isExistingPartner
109
- ? text.modalHeaderExistingPartner
110
- : text.modalHeader),
111
- h(PartnerInfoModalContentView, Object.assign({}, props))));
100
+ }, "onSl-hide": (e) => {
101
+ var _a;
102
+ if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
103
+ e.preventDefault();
104
+ }
105
+ } },
106
+ h("h2", { class: sheet.classes.DialogTitle }, states.isExistingPartner
107
+ ? text.modalHeaderExistingPartner
108
+ : text.modalHeader),
109
+ h(PartnerInfoModalContentView, Object.assign({}, props)))));
112
110
  }
113
111
 
114
112
  export { PartnerInfoModalView as P, PartnerInfoModalContentView as a };
@@ -34,7 +34,7 @@ import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-c
34
34
  import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-f9026468.js';
35
35
  import { t as taxTypeToName, L as LoadingView } from './data-2b0feb3f.js';
36
36
  import { L as LeadInputFieldView } from './sqm-lead-input-field-view-11a4f9a9.js';
37
- import { P as PartnerInfoModalView } from './sqm-partner-info-modal-view-f85b5a08.js';
37
+ import { P as PartnerInfoModalView } from './sqm-partner-info-modal-view-b0f31f8a.js';
38
38
 
39
39
  /**
40
40
  * lodash (Custom Build) <https://lodash.com/>