@livechat/platform-workflows 0.0.70 → 0.0.71
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/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +18 -18
- package/dist/index.mjs +18 -18
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Config } from '@livechat/developer-studio-ui-react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
3
|
import React$1 from 'react';
|
|
3
4
|
|
|
4
5
|
type WorkflowsConfig = Config & {
|
|
@@ -24,7 +25,7 @@ declare function LoginErrorPage({ errorImage, welcomeImage, }: LoginErrorPagePro
|
|
|
24
25
|
interface FlowsProps {
|
|
25
26
|
waitlistImage: React$1.ReactNode;
|
|
26
27
|
}
|
|
27
|
-
declare function FlowsRoute({ waitlistImage }: FlowsProps): JSX.Element;
|
|
28
|
-
declare function Flows({ waitlistImage }: FlowsProps): JSX.Element;
|
|
28
|
+
declare function FlowsRoute({ waitlistImage }: FlowsProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
declare function Flows({ waitlistImage }: FlowsProps): react_jsx_runtime.JSX.Element;
|
|
29
30
|
|
|
30
31
|
export { Flows, FlowsRoute, LoginErrorPage as LoginError, type WorkflowsConfig, config, getWorkflowsEnv, setWorkflowsConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Config } from '@livechat/developer-studio-ui-react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
3
|
import React$1 from 'react';
|
|
3
4
|
|
|
4
5
|
type WorkflowsConfig = Config & {
|
|
@@ -24,7 +25,7 @@ declare function LoginErrorPage({ errorImage, welcomeImage, }: LoginErrorPagePro
|
|
|
24
25
|
interface FlowsProps {
|
|
25
26
|
waitlistImage: React$1.ReactNode;
|
|
26
27
|
}
|
|
27
|
-
declare function FlowsRoute({ waitlistImage }: FlowsProps): JSX.Element;
|
|
28
|
-
declare function Flows({ waitlistImage }: FlowsProps): JSX.Element;
|
|
28
|
+
declare function FlowsRoute({ waitlistImage }: FlowsProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
declare function Flows({ waitlistImage }: FlowsProps): react_jsx_runtime.JSX.Element;
|
|
29
30
|
|
|
30
31
|
export { Flows, FlowsRoute, LoginErrorPage as LoginError, type WorkflowsConfig, config, getWorkflowsEnv, setWorkflowsConfig };
|
package/dist/index.js
CHANGED
|
@@ -495,7 +495,7 @@ var getWorkflowsEnv = (key) => {
|
|
|
495
495
|
return config.config[key];
|
|
496
496
|
};
|
|
497
497
|
|
|
498
|
-
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.
|
|
498
|
+
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-b4c8b265.esm.js
|
|
499
499
|
var React2 = __toESM(require("react"));
|
|
500
500
|
var import_react = require("react");
|
|
501
501
|
|
|
@@ -1626,7 +1626,7 @@ function serializeStyles(args, registered, mergedProps) {
|
|
|
1626
1626
|
};
|
|
1627
1627
|
}
|
|
1628
1628
|
|
|
1629
|
-
// ../../../node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.1.0_react@18.
|
|
1629
|
+
// ../../../node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.1.0_react@18.3.1/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js
|
|
1630
1630
|
var React = __toESM(require("react"));
|
|
1631
1631
|
var isBrowser3 = typeof document !== "undefined";
|
|
1632
1632
|
var syncFallback = function syncFallback2(create) {
|
|
@@ -1635,7 +1635,7 @@ var syncFallback = function syncFallback2(create) {
|
|
|
1635
1635
|
var useInsertionEffect2 = React["useInsertionEffect"] ? React["useInsertionEffect"] : false;
|
|
1636
1636
|
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser3 ? syncFallback : useInsertionEffect2 || syncFallback;
|
|
1637
1637
|
|
|
1638
|
-
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.
|
|
1638
|
+
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-b4c8b265.esm.js
|
|
1639
1639
|
var isDevelopment3 = false;
|
|
1640
1640
|
var isBrowser4 = typeof document !== "undefined";
|
|
1641
1641
|
var EmotionCacheContext = /* @__PURE__ */ React2.createContext(
|
|
@@ -1742,7 +1742,7 @@ var Emotion = /* @__PURE__ */ withEmotionCache(
|
|
|
1742
1742
|
);
|
|
1743
1743
|
var Emotion$1 = Emotion;
|
|
1744
1744
|
|
|
1745
|
-
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.
|
|
1745
|
+
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-react.esm.js
|
|
1746
1746
|
var React3 = __toESM(require("react"));
|
|
1747
1747
|
var import_extends2 = __toESM(require_extends());
|
|
1748
1748
|
var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
|
|
@@ -1769,7 +1769,7 @@ var keyframes = function keyframes2() {
|
|
|
1769
1769
|
var import_design_system_react_components = require("@livechat/design-system-react-components");
|
|
1770
1770
|
var import_developer_studio_ui_react2 = require("@livechat/developer-studio-ui-react");
|
|
1771
1771
|
|
|
1772
|
-
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.
|
|
1772
|
+
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js
|
|
1773
1773
|
var ReactJSXRuntime = __toESM(require("react/jsx-runtime"));
|
|
1774
1774
|
var import_react2 = require("react");
|
|
1775
1775
|
var import_extends3 = __toESM(require_extends());
|
|
@@ -11198,7 +11198,7 @@ function useWorkflowContext() {
|
|
|
11198
11198
|
return context;
|
|
11199
11199
|
}
|
|
11200
11200
|
|
|
11201
|
-
// ../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.
|
|
11201
|
+
// ../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1__@types+react@18.3.17_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
|
|
11202
11202
|
var React5 = __toESM(require("react"));
|
|
11203
11203
|
|
|
11204
11204
|
// ../../../node_modules/.pnpm/@emotion+is-prop-valid@1.3.1/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
|
|
@@ -11210,7 +11210,7 @@ var isPropValid = /* @__PURE__ */ memoize(
|
|
|
11210
11210
|
/* Z+1 */
|
|
11211
11211
|
);
|
|
11212
11212
|
|
|
11213
|
-
// ../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.
|
|
11213
|
+
// ../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1__@types+react@18.3.17_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
|
|
11214
11214
|
var testOmitPropsOnStringTag = isPropValid;
|
|
11215
11215
|
var testOmitPropsOnComponent = function testOmitPropsOnComponent2(key) {
|
|
11216
11216
|
return key !== "theme";
|
|
@@ -11348,7 +11348,7 @@ var createStyled = function createStyled2(tag, options2) {
|
|
|
11348
11348
|
};
|
|
11349
11349
|
};
|
|
11350
11350
|
|
|
11351
|
-
// ../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.
|
|
11351
|
+
// ../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1__@types+react@18.3.17_react@18.3.1/node_modules/@emotion/styled/dist/emotion-styled.esm.js
|
|
11352
11352
|
var import_extends5 = __toESM(require_extends());
|
|
11353
11353
|
var import_react10 = require("react");
|
|
11354
11354
|
var tags = [
|
|
@@ -19732,16 +19732,16 @@ function AddWorkflowTrigger({ basePath, onClose }) {
|
|
|
19732
19732
|
secondaryText: x.customization.description
|
|
19733
19733
|
}))
|
|
19734
19734
|
},
|
|
19735
|
-
{
|
|
19736
|
-
|
|
19737
|
-
|
|
19738
|
-
|
|
19739
|
-
|
|
19740
|
-
|
|
19741
|
-
|
|
19742
|
-
|
|
19743
|
-
|
|
19744
|
-
},
|
|
19735
|
+
// {
|
|
19736
|
+
// name: PRODUCT_TYPE.HD,
|
|
19737
|
+
// displayName: PRODUCT_NAMES.helpdesk,
|
|
19738
|
+
// icon: <ProductIcon height={5} product={PRODUCT_TYPE.HD} width={5} />,
|
|
19739
|
+
// values: Object.values(helpDeskTriggerConfigs()).map((x) => ({
|
|
19740
|
+
// key: x.key,
|
|
19741
|
+
// name: x.customization.displayName,
|
|
19742
|
+
// secondaryText: x.customization.description,
|
|
19743
|
+
// })),
|
|
19744
|
+
// },
|
|
19745
19745
|
{
|
|
19746
19746
|
name: import_developer_studio_api26.IntegrationNames.Mailchimp,
|
|
19747
19747
|
displayName: import_developer_studio_api26.IntegrationDisplayNames.Mailchimp,
|
package/dist/index.mjs
CHANGED
|
@@ -477,7 +477,7 @@ var getWorkflowsEnv = (key) => {
|
|
|
477
477
|
return config.config[key];
|
|
478
478
|
};
|
|
479
479
|
|
|
480
|
-
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.
|
|
480
|
+
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-b4c8b265.esm.js
|
|
481
481
|
import * as React2 from "react";
|
|
482
482
|
import { useContext as useContext2, forwardRef as forwardRef2 } from "react";
|
|
483
483
|
|
|
@@ -1608,7 +1608,7 @@ function serializeStyles(args, registered, mergedProps) {
|
|
|
1608
1608
|
};
|
|
1609
1609
|
}
|
|
1610
1610
|
|
|
1611
|
-
// ../../../node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.1.0_react@18.
|
|
1611
|
+
// ../../../node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.1.0_react@18.3.1/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js
|
|
1612
1612
|
import * as React from "react";
|
|
1613
1613
|
var isBrowser3 = typeof document !== "undefined";
|
|
1614
1614
|
var syncFallback = function syncFallback2(create) {
|
|
@@ -1617,7 +1617,7 @@ var syncFallback = function syncFallback2(create) {
|
|
|
1617
1617
|
var useInsertionEffect2 = React["useInsertionEffect"] ? React["useInsertionEffect"] : false;
|
|
1618
1618
|
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser3 ? syncFallback : useInsertionEffect2 || syncFallback;
|
|
1619
1619
|
|
|
1620
|
-
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.
|
|
1620
|
+
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-b4c8b265.esm.js
|
|
1621
1621
|
var isDevelopment3 = false;
|
|
1622
1622
|
var isBrowser4 = typeof document !== "undefined";
|
|
1623
1623
|
var EmotionCacheContext = /* @__PURE__ */ React2.createContext(
|
|
@@ -1724,7 +1724,7 @@ var Emotion = /* @__PURE__ */ withEmotionCache(
|
|
|
1724
1724
|
);
|
|
1725
1725
|
var Emotion$1 = Emotion;
|
|
1726
1726
|
|
|
1727
|
-
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.
|
|
1727
|
+
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1/node_modules/@emotion/react/dist/emotion-react.esm.js
|
|
1728
1728
|
import * as React3 from "react";
|
|
1729
1729
|
var import_extends2 = __toESM(require_extends());
|
|
1730
1730
|
var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
|
|
@@ -1758,7 +1758,7 @@ import {
|
|
|
1758
1758
|
useRootContext
|
|
1759
1759
|
} from "@livechat/developer-studio-ui-react";
|
|
1760
1760
|
|
|
1761
|
-
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.
|
|
1761
|
+
// ../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js
|
|
1762
1762
|
import * as ReactJSXRuntime from "react/jsx-runtime";
|
|
1763
1763
|
import "react";
|
|
1764
1764
|
var import_extends3 = __toESM(require_extends());
|
|
@@ -11240,7 +11240,7 @@ function useWorkflowContext() {
|
|
|
11240
11240
|
return context;
|
|
11241
11241
|
}
|
|
11242
11242
|
|
|
11243
|
-
// ../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.
|
|
11243
|
+
// ../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1__@types+react@18.3.17_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
|
|
11244
11244
|
import * as React5 from "react";
|
|
11245
11245
|
|
|
11246
11246
|
// ../../../node_modules/.pnpm/@emotion+is-prop-valid@1.3.1/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
|
|
@@ -11252,7 +11252,7 @@ var isPropValid = /* @__PURE__ */ memoize(
|
|
|
11252
11252
|
/* Z+1 */
|
|
11253
11253
|
);
|
|
11254
11254
|
|
|
11255
|
-
// ../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.
|
|
11255
|
+
// ../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1__@types+react@18.3.17_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
|
|
11256
11256
|
var testOmitPropsOnStringTag = isPropValid;
|
|
11257
11257
|
var testOmitPropsOnComponent = function testOmitPropsOnComponent2(key) {
|
|
11258
11258
|
return key !== "theme";
|
|
@@ -11390,7 +11390,7 @@ var createStyled = function createStyled2(tag, options2) {
|
|
|
11390
11390
|
};
|
|
11391
11391
|
};
|
|
11392
11392
|
|
|
11393
|
-
// ../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.
|
|
11393
|
+
// ../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.3.17_react@18.3.1__@types+react@18.3.17_react@18.3.1/node_modules/@emotion/styled/dist/emotion-styled.esm.js
|
|
11394
11394
|
var import_extends5 = __toESM(require_extends());
|
|
11395
11395
|
import "react";
|
|
11396
11396
|
var tags = [
|
|
@@ -20098,16 +20098,16 @@ function AddWorkflowTrigger({ basePath, onClose }) {
|
|
|
20098
20098
|
secondaryText: x.customization.description
|
|
20099
20099
|
}))
|
|
20100
20100
|
},
|
|
20101
|
-
{
|
|
20102
|
-
|
|
20103
|
-
|
|
20104
|
-
|
|
20105
|
-
|
|
20106
|
-
|
|
20107
|
-
|
|
20108
|
-
|
|
20109
|
-
|
|
20110
|
-
},
|
|
20101
|
+
// {
|
|
20102
|
+
// name: PRODUCT_TYPE.HD,
|
|
20103
|
+
// displayName: PRODUCT_NAMES.helpdesk,
|
|
20104
|
+
// icon: <ProductIcon height={5} product={PRODUCT_TYPE.HD} width={5} />,
|
|
20105
|
+
// values: Object.values(helpDeskTriggerConfigs()).map((x) => ({
|
|
20106
|
+
// key: x.key,
|
|
20107
|
+
// name: x.customization.displayName,
|
|
20108
|
+
// secondaryText: x.customization.description,
|
|
20109
|
+
// })),
|
|
20110
|
+
// },
|
|
20111
20111
|
{
|
|
20112
20112
|
name: IntegrationNames16.Mailchimp,
|
|
20113
20113
|
displayName: IntegrationDisplayNames8.Mailchimp,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/platform-workflows",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.71",
|
|
4
4
|
"description": "Text Platform | Workflows",
|
|
5
5
|
"author": "Wojciech Dudek",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@types/dompurify": "^3.0.5",
|
|
39
39
|
"@types/json-schema": "^7.0.15",
|
|
40
40
|
"@types/node": "^20.5.2",
|
|
41
|
-
"@types/react": "^18.
|
|
42
|
-
"@types/react-dom": "^18.
|
|
41
|
+
"@types/react": "^18.3.1",
|
|
42
|
+
"@types/react-dom": "^18.3.1",
|
|
43
43
|
"@types/uuid": "^9.0.7",
|
|
44
44
|
"@types/validator": "^13.7.10",
|
|
45
45
|
"@types/yaireo__tagify": "^4.27.0",
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"@tanstack/react-query": "4.36.1",
|
|
90
90
|
"@livechat/design-system": "^0.13.5",
|
|
91
91
|
"@livechat/design-system-icons": "^2.5.3",
|
|
92
|
-
"@livechat/design-system-react-components": "
|
|
93
|
-
"react": "^18.
|
|
94
|
-
"react-dom": "^18.
|
|
92
|
+
"@livechat/design-system-react-components": "1.34.1",
|
|
93
|
+
"react": "^18.3.1",
|
|
94
|
+
"react-dom": "^18.3.1",
|
|
95
95
|
"react-router-dom": "^6.17.0"
|
|
96
96
|
},
|
|
97
97
|
"scripts": {
|