@saasquatch/mint-components 2.0.0-50 → 2.0.0-52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +16 -4
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +14 -2
- package/dist/esm/sqm-banking-info-form_10.entry.js +16 -4
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/{p-dddc6446.entry.js → p-dcabdb78.entry.js} +1 -1
- package/dist/mint-components/{p-af4ce9f9.system.entry.js → p-f9dea53a.system.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
|
@@ -3901,6 +3901,14 @@ const style$5 = {
|
|
|
3901
3901
|
};
|
|
3902
3902
|
const sheet$4 = JSS.createStyleSheet(style$5);
|
|
3903
3903
|
const styleString$4 = sheet$4.toString();
|
|
3904
|
+
const vanillaStyle$3 = `
|
|
3905
|
+
:host{
|
|
3906
|
+
display: block;
|
|
3907
|
+
}
|
|
3908
|
+
|
|
3909
|
+
|
|
3910
|
+
|
|
3911
|
+
`;
|
|
3904
3912
|
const TaxAndCashDashboardView = (props) => {
|
|
3905
3913
|
var _a;
|
|
3906
3914
|
const { states, text, callbacks, slots } = props;
|
|
@@ -4105,7 +4113,10 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4105
4113
|
const alertInfo = getAlert(states.payoutStatus);
|
|
4106
4114
|
return (index.h("div", null,
|
|
4107
4115
|
index.h("div", null,
|
|
4108
|
-
index.h("style", { type: "text/css" },
|
|
4116
|
+
index.h("style", { type: "text/css" },
|
|
4117
|
+
styleString$4,
|
|
4118
|
+
" ",
|
|
4119
|
+
vanillaStyle$3),
|
|
4109
4120
|
states.loadingError && (index.h("div", null,
|
|
4110
4121
|
index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true },
|
|
4111
4122
|
index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
@@ -4143,7 +4154,8 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4143
4154
|
index.h("div", { class: sheet$4.classes.BankingInformationContainer },
|
|
4144
4155
|
slots.payoutDetailsCardSlot,
|
|
4145
4156
|
!states.loading && (index.h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
|
|
4146
|
-
states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading,
|
|
4157
|
+
states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, exportparts: "base: secondarybutton-base", type: "secondary",
|
|
4158
|
+
// style={{ backgroundColor: "green" }}
|
|
4147
4159
|
// class={sheet.classes.EditBankDetailsButton}
|
|
4148
4160
|
onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
4149
4161
|
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (index.h("div", { class: sheet$4.classes.TaxDocumentsContainer },
|
|
@@ -5789,7 +5801,7 @@ const style$6 = {
|
|
|
5789
5801
|
};
|
|
5790
5802
|
const sheet$5 = JSS.createStyleSheet(style$6);
|
|
5791
5803
|
const styleString$5 = sheet$5.toString();
|
|
5792
|
-
const vanillaStyle$
|
|
5804
|
+
const vanillaStyle$4 = `
|
|
5793
5805
|
:host{
|
|
5794
5806
|
display: block;
|
|
5795
5807
|
}
|
|
@@ -5997,7 +6009,7 @@ const UserInfoFormView = (props) => {
|
|
|
5997
6009
|
return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
5998
6010
|
index.h("style", { type: "text/css" },
|
|
5999
6011
|
styleString$5,
|
|
6000
|
-
vanillaStyle$
|
|
6012
|
+
vanillaStyle$4),
|
|
6001
6013
|
states.loadingError && (index.h("div", null,
|
|
6002
6014
|
index.h("sqm-form-message", { type: "error" },
|
|
6003
6015
|
index.h("p", { part: "alert-title" }, text.error.loadingErrorAlertHeader),
|
|
@@ -194,6 +194,14 @@ const style = {
|
|
|
194
194
|
};
|
|
195
195
|
const sheet = createStyleSheet(style);
|
|
196
196
|
const styleString = sheet.toString();
|
|
197
|
+
const vanillaStyle = `
|
|
198
|
+
:host{
|
|
199
|
+
display: block;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
`;
|
|
197
205
|
export const TaxAndCashDashboardView = (props) => {
|
|
198
206
|
var _a;
|
|
199
207
|
const { states, text, callbacks, slots } = props;
|
|
@@ -398,7 +406,10 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
398
406
|
const alertInfo = getAlert(states.payoutStatus);
|
|
399
407
|
return (h("div", null,
|
|
400
408
|
h("div", null,
|
|
401
|
-
h("style", { type: "text/css" },
|
|
409
|
+
h("style", { type: "text/css" },
|
|
410
|
+
styleString,
|
|
411
|
+
" ",
|
|
412
|
+
vanillaStyle),
|
|
402
413
|
states.loadingError && (h("div", null,
|
|
403
414
|
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true },
|
|
404
415
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
@@ -436,7 +447,8 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
436
447
|
h("div", { class: sheet.classes.BankingInformationContainer },
|
|
437
448
|
slots.payoutDetailsCardSlot,
|
|
438
449
|
!states.loading && (h("p", { class: sheet.classes.DescriptionText }, text.payoutFromImpact)),
|
|
439
|
-
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading,
|
|
450
|
+
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, exportparts: "base: secondarybutton-base", type: "secondary",
|
|
451
|
+
// style={{ backgroundColor: "green" }}
|
|
440
452
|
// class={sheet.classes.EditBankDetailsButton}
|
|
441
453
|
onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
442
454
|
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (h("div", { class: sheet.classes.TaxDocumentsContainer },
|
|
@@ -3897,6 +3897,14 @@ const style$5 = {
|
|
|
3897
3897
|
};
|
|
3898
3898
|
const sheet$4 = createStyleSheet(style$5);
|
|
3899
3899
|
const styleString$4 = sheet$4.toString();
|
|
3900
|
+
const vanillaStyle$3 = `
|
|
3901
|
+
:host{
|
|
3902
|
+
display: block;
|
|
3903
|
+
}
|
|
3904
|
+
|
|
3905
|
+
|
|
3906
|
+
|
|
3907
|
+
`;
|
|
3900
3908
|
const TaxAndCashDashboardView = (props) => {
|
|
3901
3909
|
var _a;
|
|
3902
3910
|
const { states, text, callbacks, slots } = props;
|
|
@@ -4101,7 +4109,10 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4101
4109
|
const alertInfo = getAlert(states.payoutStatus);
|
|
4102
4110
|
return (h("div", null,
|
|
4103
4111
|
h("div", null,
|
|
4104
|
-
h("style", { type: "text/css" },
|
|
4112
|
+
h("style", { type: "text/css" },
|
|
4113
|
+
styleString$4,
|
|
4114
|
+
" ",
|
|
4115
|
+
vanillaStyle$3),
|
|
4105
4116
|
states.loadingError && (h("div", null,
|
|
4106
4117
|
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true },
|
|
4107
4118
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
@@ -4139,7 +4150,8 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4139
4150
|
h("div", { class: sheet$4.classes.BankingInformationContainer },
|
|
4140
4151
|
slots.payoutDetailsCardSlot,
|
|
4141
4152
|
!states.loading && (h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
|
|
4142
|
-
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading,
|
|
4153
|
+
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, exportparts: "base: secondarybutton-base", type: "secondary",
|
|
4154
|
+
// style={{ backgroundColor: "green" }}
|
|
4143
4155
|
// class={sheet.classes.EditBankDetailsButton}
|
|
4144
4156
|
onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
4145
4157
|
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (h("div", { class: sheet$4.classes.TaxDocumentsContainer },
|
|
@@ -5785,7 +5797,7 @@ const style$6 = {
|
|
|
5785
5797
|
};
|
|
5786
5798
|
const sheet$5 = createStyleSheet(style$6);
|
|
5787
5799
|
const styleString$5 = sheet$5.toString();
|
|
5788
|
-
const vanillaStyle$
|
|
5800
|
+
const vanillaStyle$4 = `
|
|
5789
5801
|
:host{
|
|
5790
5802
|
display: block;
|
|
5791
5803
|
}
|
|
@@ -5993,7 +6005,7 @@ const UserInfoFormView = (props) => {
|
|
|
5993
6005
|
return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
5994
6006
|
h("style", { type: "text/css" },
|
|
5995
6007
|
styleString$5,
|
|
5996
|
-
vanillaStyle$
|
|
6008
|
+
vanillaStyle$4),
|
|
5997
6009
|
states.loadingError && (h("div", null,
|
|
5998
6010
|
h("sqm-form-message", { type: "error" },
|
|
5999
6011
|
h("p", { part: "alert-title" }, text.error.loadingErrorAlertHeader),
|