@incodetech/web 0.0.0-dev-20260507-df83b23 → 0.0.0-dev-20260507-f036ece

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.
@@ -182,14 +182,17 @@ var O = ({ config: r, onFinish: a, onError: s }) => {
182
182
  s,
183
183
  p
184
184
  ]);
185
- let v = () => /* @__PURE__ */ i("div", {
185
+ let v = !(r.spinnerConfig?.title || r.spinnerConfig?.subtitle), y = () => /* @__PURE__ */ i("div", {
186
186
  class: "IncodeWorkflow",
187
- children: /* @__PURE__ */ i(c, { spinnerConfig: r.spinnerConfig })
188
- }), y = (e) => {
187
+ children: /* @__PURE__ */ i(c, {
188
+ spinnerConfig: r.spinnerConfig,
189
+ hideText: v
190
+ })
191
+ }), b = (e) => {
189
192
  m.errorModule(e ?? "Module error"), s?.(e ?? "Module error");
190
193
  };
191
194
  if (d.status === "error") return null;
192
- if (d.status === "initializing" || !p || p.status === "idle" || p.status === "loading") return v();
195
+ if (d.status === "initializing" || !p || p.status === "idle" || p.status === "loading") return y();
193
196
  if (p.status === "finished" || p.status === "error" || p.status === "asyncResolution" || p.status === "closed") return null;
194
197
  if (g.status === "unsupported") return /* @__PURE__ */ i("div", {
195
198
  class: "IncodeWorkflow",
@@ -198,11 +201,11 @@ var O = ({ config: r, onFinish: a, onError: s }) => {
198
201
  onNext: () => m.completeModule()
199
202
  })
200
203
  });
201
- if (g.status === "idle" || g.status === "loading" || g.status === "error") return v();
202
- let { Component: b } = g;
204
+ if (g.status === "idle" || g.status === "loading" || g.status === "error") return y();
205
+ let { Component: x } = g;
203
206
  return /* @__PURE__ */ i("div", {
204
207
  class: "IncodeWorkflow",
205
- children: /* @__PURE__ */ i(b, {
208
+ children: /* @__PURE__ */ i(x, {
206
209
  config: D({
207
210
  moduleKey: p.currentNode.moduleKey,
208
211
  config: p.config,
@@ -213,7 +216,7 @@ var O = ({ config: r, onFinish: a, onError: s }) => {
213
216
  ageAssurance: p.workflowConfig.ageAssurance
214
217
  }),
215
218
  onFinish: () => m.completeModule(),
216
- onError: y,
219
+ onError: b,
217
220
  ...p.currentNode.moduleKey === "REDIRECT_TO_MOBILE" ? { onContinue: () => m.completeModule() } : {}
218
221
  }, p.currentNode.id)
219
222
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260507-df83b23",
3
+ "version": "0.0.0-dev-20260507-f036ece",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -239,7 +239,7 @@
239
239
  "qrcode": "^1.5.4",
240
240
  "signature_pad": "^5.1.3",
241
241
  "tailwindcss": "^4.1.17",
242
- "@incodetech/core": "0.0.0-dev-20260507-df83b23"
242
+ "@incodetech/core": "0.0.0-dev-20260507-f036ece"
243
243
  },
244
244
  "devDependencies": {
245
245
  "@microsoft/api-extractor": "^7.53.3",