@saasquatch/mint-components 2.1.9-15 → 2.1.9-16
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-big-stat_46.cjs.entry.js +8 -0
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +8 -0
- package/dist/esm/sqm-big-stat_46.entry.js +8 -0
- package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-1c413a06.system.js +1 -1
- package/dist/mint-components/{p-2895cb71.system.entry.js → p-ae0a0031.system.entry.js} +1 -1
- package/dist/mint-components/{p-48805a43.entry.js → p-e5c554da.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
|
@@ -8223,11 +8223,19 @@ 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
|
+
// Check if partner modal state indicates verification is complete (open: false)
|
|
8233
|
+
const partnerState = typeof props["sqm-partner-info-modal_stateController"] === "string"
|
|
8234
|
+
? parseStates.parseStates(props["sqm-partner-info-modal_stateController"])
|
|
8235
|
+
: props["sqm-partner-info-modal_stateController"];
|
|
8236
|
+
if (props.showPartnerModal && ((_a = partnerState === null || partnerState === void 0 ? void 0 : partnerState.states) === null || _a === void 0 ? void 0 : _a.open) === false) {
|
|
8237
|
+
return index.h("div", null);
|
|
8238
|
+
}
|
|
8231
8239
|
const style = {
|
|
8232
8240
|
Dialog: {
|
|
8233
8241
|
"&::part(panel)": {
|
|
@@ -205,11 +205,19 @@ 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
|
+
// Check if partner modal state indicates verification is complete (open: false)
|
|
215
|
+
const partnerState = typeof props["sqm-partner-info-modal_stateController"] === "string"
|
|
216
|
+
? parseStates(props["sqm-partner-info-modal_stateController"])
|
|
217
|
+
: props["sqm-partner-info-modal_stateController"];
|
|
218
|
+
if (props.showPartnerModal && ((_a = partnerState === null || partnerState === void 0 ? void 0 : partnerState.states) === null || _a === void 0 ? void 0 : _a.open) === false) {
|
|
219
|
+
return h("div", null);
|
|
220
|
+
}
|
|
213
221
|
const style = {
|
|
214
222
|
Dialog: {
|
|
215
223
|
"&::part(panel)": {
|
|
@@ -8219,11 +8219,19 @@ 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
|
+
// Check if partner modal state indicates verification is complete (open: false)
|
|
8229
|
+
const partnerState = typeof props["sqm-partner-info-modal_stateController"] === "string"
|
|
8230
|
+
? parseStates(props["sqm-partner-info-modal_stateController"])
|
|
8231
|
+
: props["sqm-partner-info-modal_stateController"];
|
|
8232
|
+
if (props.showPartnerModal && ((_a = partnerState === null || partnerState === void 0 ? void 0 : partnerState.states) === null || _a === void 0 ? void 0 : _a.open) === false) {
|
|
8233
|
+
return h$1("div", null);
|
|
8234
|
+
}
|
|
8227
8235
|
const style = {
|
|
8228
8236
|
Dialog: {
|
|
8229
8237
|
"&::part(panel)": {
|