@tellescope/react-components 1.145.0 → 1.147.0
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/lib/esm/CMS/components.d.ts +1 -0
- package/lib/esm/CMS/components.d.ts.map +1 -1
- package/lib/esm/Forms/forms.d.ts +3 -3
- package/lib/esm/Forms/hooks.d.ts +1 -0
- package/lib/esm/Forms/hooks.d.ts.map +1 -1
- package/lib/esm/controls.d.ts +2 -2
- package/lib/esm/inputs.d.ts +1 -1
- package/lib/esm/layout.d.ts +1 -1
- package/lib/esm/state.d.ts +48 -48
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/CMS/components.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAM1C,eAAO,MAAM,UAAU,aAAc,eAAe,uBAoBnD,CAAA"}
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/CMS/components.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAM1C,eAAO,MAAM,UAAU,aAAc,eAAe,uBAoBnD,CAAA"}
|
package/lib/esm/Forms/forms.d.ts
CHANGED
|
@@ -53,10 +53,10 @@ export declare const QuestionForField: ({ form, value, field, file, responses, s
|
|
|
53
53
|
field: FormField;
|
|
54
54
|
setCustomerId: React.Dispatch<React.SetStateAction<string | undefined>>;
|
|
55
55
|
isSinglePage?: boolean | undefined;
|
|
56
|
-
} & Pick<TellescopeFormProps, "
|
|
56
|
+
} & Pick<TellescopeFormProps, "enduser" | "enduserId" | "fields" | "groupId" | "groupInstance" | "responses" | "submit" | "formResponseId" | "selectedFiles" | "goToPreviousField" | "goToNextField" | "isPreviousDisabled" | "handleDatabaseSelect" | "onAddFile" | "onFieldChange" | "customInputs" | "validateField">) => JSX.Element | null;
|
|
57
57
|
export declare const TellescopeSingleQuestionFlow: typeof TellescopeForm;
|
|
58
58
|
export declare const DEFAULT_THANKS_MESSAGE = "Your response was successfully recorded";
|
|
59
|
-
export declare const SaveDraft: ({ selectedFiles, enduserId, responses, existingResponses, fields, onSuccess, formResponseId, includedFieldIds, formId, style, disabled, getResponsesWithQuestionGroupAnswers, isInternalNote, formTitle, rootResponseId, parentResponseId, }: Styled & Pick<TellescopeFormProps, "enduserId" | "
|
|
59
|
+
export declare const SaveDraft: ({ selectedFiles, enduserId, responses, existingResponses, fields, onSuccess, formResponseId, includedFieldIds, formId, style, disabled, getResponsesWithQuestionGroupAnswers, isInternalNote, formTitle, rootResponseId, parentResponseId, }: Styled & Pick<TellescopeFormProps, "enduserId" | "fields" | "responses" | "onSuccess" | "existingResponses" | "selectedFiles" | "getResponsesWithQuestionGroupAnswers"> & {
|
|
60
60
|
disabled?: boolean | undefined;
|
|
61
61
|
formResponseId?: string | undefined;
|
|
62
62
|
formId: string;
|
|
@@ -66,7 +66,7 @@ export declare const SaveDraft: ({ selectedFiles, enduserId, responses, existing
|
|
|
66
66
|
rootResponseId?: string | undefined;
|
|
67
67
|
parentResponseId?: string | undefined;
|
|
68
68
|
}) => JSX.Element;
|
|
69
|
-
export declare const UpdateResponse: ({ selectedFiles, enduserId, responses, onSuccess, formResponseId, includedFieldIds, formId, style, disabled, getResponsesWithQuestionGroupAnswers, existingResponses, fields, }: Styled & Pick<TellescopeFormProps, "enduserId" | "
|
|
69
|
+
export declare const UpdateResponse: ({ selectedFiles, enduserId, responses, onSuccess, formResponseId, includedFieldIds, formId, style, disabled, getResponsesWithQuestionGroupAnswers, existingResponses, fields, }: Styled & Pick<TellescopeFormProps, "enduserId" | "fields" | "responses" | "onSuccess" | "existingResponses" | "selectedFiles" | "getResponsesWithQuestionGroupAnswers"> & {
|
|
70
70
|
disabled?: boolean | undefined;
|
|
71
71
|
formResponseId?: string | undefined;
|
|
72
72
|
formId: string;
|
package/l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AAK,EAAE,SAAS,CAAA;CAAE,CAAA;AAC3G,MAAM,MAAM,YAAY,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAA;CAAE,CAAA;AACtF,eAAO,MAAM,iBAAiB,gRAAgR,wBAAwB;;;;;;8DA+iBvP,QAAQ,EAAE;;;;;;;;wBA6ShD,QAAQ,GAAG,QAAQ,EAAE;;;;;;+BA5RQ,IAAI;mCAA4B,IAAI;yBAAkB,YAAY,KAAK,IAAI;;;;uBAAgG,MAAM;qBAAW,MAAM;gBAAS,IAAI;;;;;2BAtEzO,SAAS;;;;;;;wCArdT,SAAS,aAAa,MAAM,EAAE,KAAK,MAAM;;;4CA+HxB,cAAc,EAAE;CAsuB5E,CAAA"}
|
package/lib/esm/controls.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ export declare const useModalIconButton: (props: UseModalIconButtonProps) => {
|
|
|
74
74
|
id?: string | undefined;
|
|
75
75
|
ariaLabel?: string | undefined;
|
|
76
76
|
disabled?: boolean | undefined;
|
|
77
|
-
color?: "
|
|
77
|
+
color?: "error" | "primary" | "secondary" | "inherit" | "white" | "default" | undefined;
|
|
78
78
|
placement?: TooltipPlacement | undefined;
|
|
79
79
|
onClick?: ((e: any) => void) | undefined;
|
|
80
80
|
showArrow?: boolean | undefined;
|
|
@@ -95,7 +95,7 @@ export declare const IconModal: ({ open, setOpen, children, disabled, onClick, s
|
|
|
95
95
|
id?: string | undefined;
|
|
96
96
|
ariaLabel?: string | undefined;
|
|
97
97
|
disabled?: boolean | undefined;
|
|
98
|
-
color?: "
|
|
98
|
+
color?: "error" | "primary" | "secondary" | "inherit" | "white" | "default" | undefined;
|
|
99
99
|
placement?: TooltipPlacement | undefined;
|
|
100
100
|
onClick?: ((e: any) => void) | undefined;
|
|
101
101
|
showArrow?: boolean | undefined;
|
package/lib/esm/inputs.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ export declare const SearchTextInput: ({ onChange, hideIcon, ...props }: {
|
|
|
104
104
|
fullWidth?: boolean | undefined;
|
|
105
105
|
name?: string | undefined;
|
|
106
106
|
sx?: import("@mui/material").SxProps<{}> | undefined;
|
|
107
|
-
variant?: "
|
|
107
|
+
variant?: "flat" | "filled" | "outlined" | undefined;
|
|
108
108
|
type?: React.HTMLInputTypeAttribute | undefined;
|
|
109
109
|
autoCapitalize?: "none" | "characters" | "sentences" | "words" | undefined;
|
|
110
110
|
autoCorrect?: boolean | undefined;
|
package/lib/esm/layout.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export interface Flex_T {
|
|
|
51
51
|
}
|
|
52
52
|
interface Flex_Web extends Flex_T, Styled, ClickableWeb {
|
|
53
53
|
}
|
|
54
|
-
export declare const resolve_direction_for_props: (row?: boolean, col?: boolean) => "
|
|
54
|
+
export declare const resolve_direction_for_props: (row?: boolean, col?: boolean) => "row" | "column";
|
|
55
55
|
export declare const compute_flex_direction_with_props: <T extends string>(direction: T, reverse?: boolean) => T | `${T}-reverse`;
|
|
56
56
|
export interface WithHoverColors {
|
|
57
57
|
hoveredColor?: CSSProperties['backgroundColor'];
|
package/lib/esm/state.d.ts
CHANGED
|
@@ -1082,16 +1082,7 @@ export declare const lastActiveForSync: {
|
|
|
1082
1082
|
export declare const useDataSync____internal: () => {
|
|
1083
1083
|
setLoadTiming: (key: string, loadTimeInMS: number) => void;
|
|
1084
1084
|
setHandler: (key: string, handler: undefined | (() => void)) => void;
|
|
1085
|
-
getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").
|
|
1086
|
-
id: string;
|
|
1087
|
-
createdAt: Date;
|
|
1088
|
-
}) | (import("@tellescope/types-models").Enduser & {
|
|
1089
|
-
id: string;
|
|
1090
|
-
createdAt: Date;
|
|
1091
|
-
}) | (import("@tellescope/types-models").User & {
|
|
1092
|
-
id: string;
|
|
1093
|
-
createdAt: Date;
|
|
1094
|
-
}) | (import("@tellescope/types-models").TicketQueue & {
|
|
1085
|
+
getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").TicketQueue & {
|
|
1095
1086
|
id: string;
|
|
1096
1087
|
createdAt: Date;
|
|
1097
1088
|
}) | (import("@tellescope/types-models").AutomationTrigger & {
|
|
@@ -1136,12 +1127,18 @@ export declare const useDataSync____internal: () => {
|
|
|
1136
1127
|
}) | (import("@tellescope/types-models").UserNotification & {
|
|
1137
1128
|
id: string;
|
|
1138
1129
|
createdAt: Date;
|
|
1130
|
+
}) | (import("@tellescope/types-models").Enduser & {
|
|
1131
|
+
id: string;
|
|
1132
|
+
createdAt: Date;
|
|
1139
1133
|
}) | (import("@tellescope/types-models").Ticket & {
|
|
1140
1134
|
id: string;
|
|
1141
1135
|
createdAt: Date;
|
|
1142
1136
|
}) | (import("@tellescope/types-models").Meeting & {
|
|
1143
1137
|
id: string;
|
|
1144
1138
|
createdAt: Date;
|
|
1139
|
+
}) | (import("@tellescope/types-models").File & {
|
|
1140
|
+
id: string;
|
|
1141
|
+
createdAt: Date;
|
|
1145
1142
|
}) | (import("@tellescope/types-models").Note & {
|
|
1146
1143
|
id: string;
|
|
1147
1144
|
createdAt: Date;
|
|
@@ -1160,6 +1157,9 @@ export declare const useDataSync____internal: () => {
|
|
|
1160
1157
|
}) | (import("@tellescope/types-models").Journey & {
|
|
1161
1158
|
id: string;
|
|
1162
1159
|
createdAt: Date;
|
|
1160
|
+
}) | (import("@tellescope/types-models").User & {
|
|
1161
|
+
id: string;
|
|
1162
|
+
createdAt: Date;
|
|
1163
1163
|
}) | (import("@tellescope/types-models").AutomationStep & {
|
|
1164
1164
|
id: string;
|
|
1165
1165
|
createdAt: Date;
|
|
@@ -1313,10 +1313,10 @@ export declare const useDataSync____internal: () => {
|
|
|
1313
1313
|
}) | (import("@tellescope/types-models").CallHoldQueue & {
|
|
1314
1314
|
id: string;
|
|
1315
1315
|
createdAt: Date;
|
|
1316
|
-
}) | (import("@tellescope/types-models").
|
|
1316
|
+
}) | (import("@tellescope/types-models").APIKey & {
|
|
1317
1317
|
id: string;
|
|
1318
1318
|
createdAt: Date;
|
|
1319
|
-
}) | (import("@tellescope/types-models").
|
|
1319
|
+
}) | (import("@tellescope/types-models").WebHook & {
|
|
1320
1320
|
id: string;
|
|
1321
1321
|
createdAt: Date;
|
|
1322
1322
|
}) | (import("@tellescope/types-models").EnduserStatusUpdate & {
|
|
@@ -1324,16 +1324,7 @@ export declare const useDataSync____internal: () => {
|
|
|
1324
1324
|
createdAt: Date;
|
|
1325
1325
|
}))[];
|
|
1326
1326
|
getDeleted: <T_1 extends string>(modelName: T_1) => string[];
|
|
1327
|
-
popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").
|
|
1328
|
-
id: string;
|
|
1329
|
-
createdAt: Date;
|
|
1330
|
-
}) | (import("@tellescope/types-models").Enduser & {
|
|
1331
|
-
id: string;
|
|
1332
|
-
createdAt: Date;
|
|
1333
|
-
}) | (import("@tellescope/types-models").User & {
|
|
1334
|
-
id: string;
|
|
1335
|
-
createdAt: Date;
|
|
1336
|
-
}) | (import("@tellescope/types-models").TicketQueue & {
|
|
1327
|
+
popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").TicketQueue & {
|
|
1337
1328
|
id: string;
|
|
1338
1329
|
createdAt: Date;
|
|
1339
1330
|
}) | (import("@tellescope/types-models").AutomationTrigger & {
|
|
@@ -1378,12 +1369,18 @@ export declare const useDataSync____internal: () => {
|
|
|
1378
1369
|
}) | (import("@tellescope/types-models").UserNotification & {
|
|
1379
1370
|
id: string;
|
|
1380
1371
|
createdAt: Date;
|
|
1372
|
+
}) | (import("@tellescope/types-models").Enduser & {
|
|
1373
|
+
id: string;
|
|
1374
|
+
createdAt: Date;
|
|
1381
1375
|
}) | (import("@tellescope/types-models").Ticket & {
|
|
1382
1376
|
id: string;
|
|
1383
1377
|
createdAt: Date;
|
|
1384
1378
|
}) | (import("@tellescope/types-models").Meeting & {
|
|
1385
1379
|
id: string;
|
|
1386
1380
|
createdAt: Date;
|
|
1381
|
+
}) | (import("@tellescope/types-models").File & {
|
|
1382
|
+
id: string;
|
|
1383
|
+
createdAt: Date;
|
|
1387
1384
|
}) | (import("@tellescope/types-models").Note & {
|
|
1388
1385
|
id: string;
|
|
1389
1386
|
createdAt: Date;
|
|
@@ -1402,6 +1399,9 @@ export declare const useDataSync____internal: () => {
|
|
|
1402
1399
|
}) | (import("@tellescope/types-models").Journey & {
|
|
1403
1400
|
id: string;
|
|
1404
1401
|
createdAt: Date;
|
|
1402
|
+
}) | (import("@tellescope/types-models").User & {
|
|
1403
|
+
id: string;
|
|
1404
|
+
createdAt: Date;
|
|
1405
1405
|
}) | (import("@tellescope/types-models").AutomationStep & {
|
|
1406
1406
|
id: string;
|
|
1407
1407
|
createdAt: Date;
|
|
@@ -1555,10 +1555,10 @@ export declare const useDataSync____internal: () => {
|
|
|
1555
1555
|
}) | (import("@tellescope/types-models").CallHoldQueue & {
|
|
1556
1556
|
id: string;
|
|
1557
1557
|
createdAt: Date;
|
|
1558
|
-
}) | (import("@tellescope/types-models").
|
|
1558
|
+
}) | (import("@tellescope/types-models").APIKey & {
|
|
1559
1559
|
id: string;
|
|
1560
1560
|
createdAt: Date;
|
|
1561
|
-
}) | (import("@tellescope/types-models").
|
|
1561
|
+
}) | (import("@tellescope/types-models").WebHook & {
|
|
1562
1562
|
id: string;
|
|
1563
1563
|
createdAt: Date;
|
|
1564
1564
|
}) | (import("@tellescope/types-models").EnduserStatusUpdate & {
|
|
@@ -1573,16 +1573,7 @@ export declare const WithDataSync: ({ children }: {
|
|
|
1573
1573
|
export declare const useSyncContext: () => {
|
|
1574
1574
|
setLoadTiming: (key: string, loadTimeInMS: number) => void;
|
|
1575
1575
|
setHandler: (key: string, handler: undefined | (() => void)) => void;
|
|
1576
|
-
getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").
|
|
1577
|
-
id: string;
|
|
1578
|
-
createdAt: Date;
|
|
1579
|
-
}) | (import("@tellescope/types-models").Enduser & {
|
|
1580
|
-
id: string;
|
|
1581
|
-
createdAt: Date;
|
|
1582
|
-
}) | (import("@tellescope/types-models").User & {
|
|
1583
|
-
id: string;
|
|
1584
|
-
createdAt: Date;
|
|
1585
|
-
}) | (import("@tellescope/types-models").TicketQueue & {
|
|
1576
|
+
getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").TicketQueue & {
|
|
1586
1577
|
id: string;
|
|
1587
1578
|
createdAt: Date;
|
|
1588
1579
|
}) | (import("@tellescope/types-models").AutomationTrigger & {
|
|
@@ -1627,12 +1618,18 @@ export declare const useSyncContext: () => {
|
|
|
1627
1618
|
}) | (import("@tellescope/types-models").UserNotification & {
|
|
1628
1619
|
id: string;
|
|
1629
1620
|
createdAt: Date;
|
|
1621
|
+
}) | (import("@tellescope/types-models").Enduser & {
|
|
1622
|
+
id: string;
|
|
1623
|
+
createdAt: Date;
|
|
1630
1624
|
}) | (import("@tellescope/types-models").Ticket & {
|
|
1631
1625
|
id: string;
|
|
1632
1626
|
createdAt: Date;
|
|
1633
1627
|
}) | (import("@tellescope/types-models").Meeting & {
|
|
1634
1628
|
id: string;
|
|
1635
1629
|
createdAt: Date;
|
|
1630
|
+
}) | (import("@tellescope/types-models").File & {
|
|
1631
|
+
id: string;
|
|
1632
|
+
createdAt: Date;
|
|
1636
1633
|
}) | (import("@tellescope/types-models").Note & {
|
|
1637
1634
|
id: string;
|
|
1638
1635
|
createdAt: Date;
|
|
@@ -1651,6 +1648,9 @@ export declare const useSyncContext: () => {
|
|
|
1651
1648
|
}) | (import("@tellescope/types-models").Journey & {
|
|
1652
1649
|
id: string;
|
|
1653
1650
|
createdAt: Date;
|
|
1651
|
+
}) | (import("@tellescope/types-models").User & {
|
|
1652
|
+
id: string;
|
|
1653
|
+
createdAt: Date;
|
|
1654
1654
|
}) | (import("@tellescope/types-models").AutomationStep & {
|
|
1655
1655
|
id: string;
|
|
1656
1656
|
createdAt: Date;
|
|
@@ -1804,10 +1804,10 @@ export declare const useSyncContext: () => {
|
|
|
1804
1804
|
}) | (import("@tellescope/types-models").CallHoldQueue & {
|
|
1805
1805
|
id: string;
|
|
1806
1806
|
createdAt: Date;
|
|
1807
|
-
}) | (import("@tellescope/types-models").
|
|
1807
|
+
}) | (import("@tellescope/types-models").APIKey & {
|
|
1808
1808
|
id: string;
|
|
1809
1809
|
createdAt: Date;
|
|
1810
|
-
}) | (import("@tellescope/types-models").
|
|
1810
|
+
}) | (import("@tellescope/types-models").WebHook & {
|
|
1811
1811
|
id: string;
|
|
1812
1812
|
createdAt: Date;
|
|
1813
1813
|
}) | (import("@tellescope/types-models").EnduserStatusUpdate & {
|
|
@@ -1815,16 +1815,7 @@ export declare const useSyncContext: () => {
|
|
|
1815
1815
|
createdAt: Date;
|
|
1816
1816
|
}))[];
|
|
1817
1817
|
getDeleted: <T_1 extends string>(modelName: T_1) => string[];
|
|
1818
|
-
popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").
|
|
1819
|
-
id: string;
|
|
1820
|
-
createdAt: Date;
|
|
1821
|
-
}) | (import("@tellescope/types-models").Enduser & {
|
|
1822
|
-
id: string;
|
|
1823
|
-
createdAt: Date;
|
|
1824
|
-
}) | (import("@tellescope/types-models").User & {
|
|
1825
|
-
id: string;
|
|
1826
|
-
createdAt: Date;
|
|
1827
|
-
}) | (import("@tellescope/types-models").TicketQueue & {
|
|
1818
|
+
popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").TicketQueue & {
|
|
1828
1819
|
id: string;
|
|
1829
1820
|
createdAt: Date;
|
|
1830
1821
|
}) | (import("@tellescope/types-models").AutomationTrigger & {
|
|
@@ -1869,12 +1860,18 @@ export declare const useSyncContext: () => {
|
|
|
1869
1860
|
}) | (import("@tellescope/types-models").UserNotification & {
|
|
1870
1861
|
id: string;
|
|
1871
1862
|
createdAt: Date;
|
|
1863
|
+
}) | (import("@tellescope/types-models").Enduser & {
|
|
1864
|
+
id: string;
|
|
1865
|
+
createdAt: Date;
|
|
1872
1866
|
}) | (import("@tellescope/types-models").Ticket & {
|
|
1873
1867
|
id: string;
|
|
1874
1868
|
createdAt: Date;
|
|
1875
1869
|
}) | (import("@tellescope/types-models").Meeting & {
|
|
1876
1870
|
id: string;
|
|
1877
1871
|
createdAt: Date;
|
|
1872
|
+
}) | (import("@tellescope/types-models").File & {
|
|
1873
|
+
id: string;
|
|
1874
|
+
createdAt: Date;
|
|
1878
1875
|
}) | (import("@tellescope/types-models").Note & {
|
|
1879
1876
|
id: string;
|
|
1880
1877
|
createdAt: Date;
|
|
@@ -1893,6 +1890,9 @@ export declare const useSyncContext: () => {
|
|
|
1893
1890
|
}) | (import("@tellescope/types-models").Journey & {
|
|
1894
1891
|
id: string;
|
|
1895
1892
|
createdAt: Date;
|
|
1893
|
+
}) | (import("@tellescope/types-models").User & {
|
|
1894
|
+
id: string;
|
|
1895
|
+
createdAt: Date;
|
|
1896
1896
|
}) | (import("@tellescope/types-models").AutomationStep & {
|
|
1897
1897
|
id: string;
|
|
1898
1898
|
createdAt: Date;
|
|
@@ -2046,10 +2046,10 @@ export declare const useSyncContext: () => {
|
|
|
2046
2046
|
}) | (import("@tellescope/types-models").CallHoldQueue & {
|
|
2047
2047
|
id: string;
|
|
2048
2048
|
createdAt: Date;
|
|
2049
|
-
}) | (import("@tellescope/types-models").
|
|
2049
|
+
}) | (import("@tellescope/types-models").APIKey & {
|
|
2050
2050
|
id: string;
|
|
2051
2051
|
createdAt: Date;
|
|
2052
|
-
}) | (import("@tellescope/types-models").
|
|
2052
|
+
}) | (import("@tellescope/types-models").WebHook & {
|
|
2053
2053
|
id: string;
|
|
2054
2054
|
createdAt: Date;
|
|
2055
2055
|
}) | (import("@tellescope/types-models").EnduserStatusUpdate & {
|