@inploi/plugin-chatbot 3.27.4 → 3.27.5

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.
@@ -1,4 +1,4 @@
1
- import { g as get$1, i as isString$2, k as kbToReadableSize, a as getHeadOrThrow, b as invariant, A as AbortedError, N, c as getFlowSubmissionsPayload, _, d as getDefaultExportFromCjs, h, e as _$1, p, F, o as o$1, f as clsx, y, s as store, j as a$2, l as k, m as k$1, n as getFormSubmitter, q as parse, r as picklist, t as isSubmissionOfType, C as Cn, u as parseAsync, V as ValiError, v as object, w as transform, x as cva, z as maxLength, B as minLength, D as record, E as boolean, G as number, H as minValue, I as maxValue, J as custom, K as string, L as regex, M as email, O as url, P as LoadingIndicator, Q as ERROR_MESSAGES } from "./index-2cb43659.js";
1
+ import { g as get$1, i as isString$2, k as kbToReadableSize, a as getHeadOrThrow, b as invariant, A as AbortedError, N, c as getFlowSubmissionsPayload, _, d as getDefaultExportFromCjs, h, e as _$1, p, F, o as o$1, f as clsx, y, s as store, j as a$2, l as k, m as k$1, n as getFormSubmitter, q as parse, r as picklist, t as isSubmissionOfType, C as Cn, u as parseAsync, V as ValiError, v as object, w as transform, x as cva, z as maxLength, B as minLength, D as record, E as boolean, G as number, H as minValue, I as maxValue, J as custom, K as string, L as regex, M as email, O as url, P as LoadingIndicator, Q as ERROR_MESSAGES } from "./index-329555fd.js";
2
2
  import "@inploi/sdk";
3
3
  const isIfBlockConditionMet = (ifBlock, {
4
4
  context,
@@ -484,15 +484,15 @@ async function interpretSubmitNode({
484
484
  await N(response).with(_.union({
485
485
  ats_data: _.select("redirect", {
486
486
  redirect_url: _.string,
487
- message: _.optional(_.string),
488
- button_text: _.optional(_.string)
487
+ message: _.optional(_.union(_.string, _.nullish)),
488
+ button_text: _.optional(_.union(_.string, _.nullish))
489
489
  })
490
490
  }, {
491
491
  integration_response: {
492
492
  data: _.select("redirect", {
493
493
  redirect_url: _.string,
494
- message: _.optional(_.string),
495
- button_text: _.optional(_.string)
494
+ message: _.optional(_.union(_.string, _.nullish)),
495
+ button_text: _.optional(_.union(_.string, _.nullish))
496
496
  })
497
497
  }
498
498
  }), async (response2) => {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index-654aaccd.cjs");
3
+ const index = require("./index-524d7299.cjs");
4
4
  require("@inploi/sdk");
5
5
  const isIfBlockConditionMet = (ifBlock, {
6
6
  context,
@@ -486,15 +486,15 @@ async function interpretSubmitNode({
486
486
  await index.N(response).with(index._.union({
487
487
  ats_data: index._.select("redirect", {
488
488
  redirect_url: index._.string,
489
- message: index._.optional(index._.string),
490
- button_text: index._.optional(index._.string)
489
+ message: index._.optional(index._.union(index._.string, index._.nullish)),
490
+ button_text: index._.optional(index._.union(index._.string, index._.nullish))
491
491
  })
492
492
  }, {
493
493
  integration_response: {
494
494
  data: index._.select("redirect", {
495
495
  redirect_url: index._.string,
496
- message: index._.optional(index._.string),
497
- button_text: index._.optional(index._.string)
496
+ message: index._.optional(index._.union(index._.string, index._.nullish)),
497
+ button_text: index._.optional(index._.union(index._.string, index._.nullish))
498
498
  })
499
499
  }
500
500
  }), async (response2) => {
@@ -5320,7 +5320,7 @@ const StatusBar = ({
5320
5320
  };
5321
5321
  function noop() {
5322
5322
  }
5323
- const ChatbotBody = M(() => import("./chatbot-body-a566374a.js").then((module) => module.ChatbotBody));
5323
+ const ChatbotBody = M(() => import("./chatbot-body-1a4b8522.js").then((module) => module.ChatbotBody));
5324
5324
  const chatbotContentClass = cva("selection:bg-accent-4 selection:text-accent-12 fixed bottom-2 left-2 right-2 isolate mx-auto max-h-full max-w-[450px] focus:outline-none [&:has(.view-switch:active)]:scale-[0.98] transition-all duration-1000 ease-expo-out", {
5325
5325
  variants: {
5326
5326
  view: {
@@ -5321,7 +5321,7 @@ const StatusBar = ({
5321
5321
  };
5322
5322
  function noop() {
5323
5323
  }
5324
- const ChatbotBody = M(() => Promise.resolve().then(() => require("./chatbot-body-d99a9a70.cjs")).then((module2) => module2.ChatbotBody));
5324
+ const ChatbotBody = M(() => Promise.resolve().then(() => require("./chatbot-body-f6724ca6.cjs")).then((module2) => module2.ChatbotBody));
5325
5325
  const chatbotContentClass = cva("selection:bg-accent-4 selection:text-accent-12 fixed bottom-2 left-2 right-2 isolate mx-auto max-h-full max-w-[450px] focus:outline-none [&:has(.view-switch:active)]:scale-[0.98] transition-all duration-1000 ease-expo-out", {
5326
5326
  variants: {
5327
5327
  view: {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index-654aaccd.cjs");
3
+ const index = require("./index-524d7299.cjs");
4
4
  require("@inploi/sdk");
5
5
  exports.chatbotPlugin = index.chatbotPlugin;
@@ -1,4 +1,4 @@
1
- import { R } from "./index-2cb43659.js";
1
+ import { R } from "./index-329555fd.js";
2
2
  import "@inploi/sdk";
3
3
  export {
4
4
  R as chatbotPlugin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inploi/plugin-chatbot",
3
- "version": "3.27.4",
3
+ "version": "3.27.5",
4
4
  "type": "module",
5
5
  "main": "dist/plugin-chatbot.js",
6
6
  "types": "dist/index.d.ts",
@@ -67,9 +67,9 @@
67
67
  "vite": "^4.4.5",
68
68
  "vite-plugin-dts": "^3.7.0",
69
69
  "vite-tsconfig-paths": "^4.2.1",
70
- "@inploi/design-tokens": "0.2.1",
71
- "@inploi/sdk": "1.14.4",
72
70
  "@inploi/core": "1.14.3",
71
+ "@inploi/design-tokens": "0.2.1",
72
+ "@inploi/sdk": "1.14.5",
73
73
  "eslint-config-custom": "0.1.0",
74
74
  "tsconfig": "0.1.0"
75
75
  },