@tellescope/react-components 1.219.0 → 1.220.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.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FileUploaderProps, useDisplayPictureUploadForSelf, useFileUpload } from "./inputs.js";
2
3
  import { TextFieldProps } from "./mui";
3
4
  export { useDisplayPictureUploadForSelf, useFileUpload };
@@ -1 +1 @@
1
- {"version":3,"file":"inputs.native.d.ts","sourceRoot":"","sources":["../../src/inputs.native.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,8BAA8B,EAC9B,aAAa,EACd,MAAM,aAAa,CAAA;AACpB,OAAO,EAAa,cAAc,EAAE,MAAM,OAAO,CAAA;AAEjD,OAAO,EAAE,8BAA8B,EAAE,aAAa,EAAE,CAAA;AAExD,eAAO,MAAM,YAAY,aAExB,CAAA;AAED,eAAO,MAAM,YAAY,MAAO,iBAAiB,UAEhD,CAAA;AAED,eAAO,MAAM,eAAe,UAAY,cAAc,gBAErD,CAAA"}
1
+ {"version":3,"file":"inputs.native.d.ts","sourceRoot":"","sources":["../../src/inputs.native.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,iBAAiB,EACjB,8BAA8B,EAC9B,aAAa,EACd,MAAM,aAAa,CAAA;AACpB,OAAO,EAAa,cAAc,EAAE,MAAM,OAAO,CAAA;AAEjD,OAAO,EAAE,8BAA8B,EAAE,aAAa,EAAE,CAAA;AAExD,eAAO,MAAM,YAAY,aAExB,CAAA;AAED,eAAO,MAAM,YAAY,MAAO,iBAAiB,UAEhD,CAAA;AAED,eAAO,MAAM,eAAe,UAAY,cAAc,gBAErD,CAAA"}
@@ -53,7 +53,7 @@ export interface Flex_T {
53
53
  }
54
54
  interface Flex_Web extends Flex_T, Styled, ClickableWeb {
55
55
  }
56
- export declare const resolve_direction_for_props: (row?: boolean, col?: boolean) => "row" | "column";
56
+ export declare const resolve_direction_for_props: (row?: boolean, col?: boolean) => "column" | "row";
57
57
  export declare const compute_flex_direction_with_props: <T extends string>(direction: T, reverse?: boolean) => T | `${T}-reverse`;
58
58
  export interface WithHoverColors {
59
59
  hoveredColor?: CSSProperties['backgroundColor'];
@@ -1180,10 +1180,22 @@ export declare const useDataSync____internal: () => {
1180
1180
  setLoadTiming: (key: string, loadTimeInMS: number) => void;
1181
1181
  setHandler: (key: string, handler: undefined | (() => void)) => void;
1182
1182
  removeHandler: (key: string, handler: () => void) => void;
1183
- getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").CalendarEvent & {
1183
+ getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").FormField & {
1184
1184
  id: string;
1185
1185
  createdAt: Date;
1186
- }) | (import("@tellescope/types-models").ManagedContentRecord & {
1186
+ }) | (import("@tellescope/types-models").Form & {
1187
+ id: string;
1188
+ createdAt: Date;
1189
+ }) | (import("@tellescope/types-models").DatabaseRecord & {
1190
+ id: string;
1191
+ createdAt: Date;
1192
+ }) | (import("@tellescope/types-models").Enduser & {
1193
+ id: string;
1194
+ createdAt: Date;
1195
+ }) | (import("@tellescope/types-models").User & {
1196
+ id: string;
1197
+ createdAt: Date;
1198
+ }) | (import("@tellescope/types-models").Product & {
1187
1199
  id: string;
1188
1200
  createdAt: Date;
1189
1201
  }) | (import("@tellescope/types-models").AIConversation & {
@@ -1222,6 +1234,9 @@ export declare const useDataSync____internal: () => {
1222
1234
  }) | (import("@tellescope/types-models").ChatMessage & {
1223
1235
  id: string;
1224
1236
  createdAt: Date;
1237
+ }) | (import("@tellescope/types-models").CalendarEvent & {
1238
+ id: string;
1239
+ createdAt: Date;
1225
1240
  }) | (import("@tellescope/types-models").CalendarEventTemplate & {
1226
1241
  id: string;
1227
1242
  createdAt: Date;
@@ -1240,9 +1255,6 @@ export declare const useDataSync____internal: () => {
1240
1255
  }) | (import("@tellescope/types-models").UserNotification & {
1241
1256
  id: string;
1242
1257
  createdAt: Date;
1243
- }) | (import("@tellescope/types-models").Enduser & {
1244
- id: string;
1245
- createdAt: Date;
1246
1258
  }) | (import("@tellescope/types-models").Ticket & {
1247
1259
  id: string;
1248
1260
  createdAt: Date;
@@ -1258,21 +1270,12 @@ export declare const useDataSync____internal: () => {
1258
1270
  }) | (import("@tellescope/types-models").MessageTemplate & {
1259
1271
  id: string;
1260
1272
  createdAt: Date;
1261
- }) | (import("@tellescope/types-models").Form & {
1262
- id: string;
1263
- createdAt: Date;
1264
- }) | (import("@tellescope/types-models").FormField & {
1265
- id: string;
1266
- createdAt: Date;
1267
1273
  }) | (import("@tellescope/types-models").FormResponse & {
1268
1274
  id: string;
1269
1275
  createdAt: Date;
1270
1276
  }) | (import("@tellescope/types-models").Journey & {
1271
1277
  id: string;
1272
1278
  createdAt: Date;
1273
- }) | (import("@tellescope/types-models").User & {
1274
- id: string;
1275
- createdAt: Date;
1276
1279
  }) | (import("@tellescope/types-models").AutomationStep & {
1277
1280
  id: string;
1278
1281
  createdAt: Date;
@@ -1285,6 +1288,9 @@ export declare const useDataSync____internal: () => {
1285
1288
  }) | (import("@tellescope/types-models").Forum & {
1286
1289
  id: string;
1287
1290
  createdAt: Date;
1291
+ }) | (import("@tellescope/types-models").ManagedContentRecord & {
1292
+ id: string;
1293
+ createdAt: Date;
1288
1294
  }) | (import("@tellescope/types-models").ManagedContentRecordAssignment & {
1289
1295
  id: string;
1290
1296
  createdAt: Date;
@@ -1309,9 +1315,6 @@ export declare const useDataSync____internal: () => {
1309
1315
  }) | (import("@tellescope/types-models").Database & {
1310
1316
  id: string;
1311
1317
  createdAt: Date;
1312
- }) | (import("@tellescope/types-models").DatabaseRecord & {
1313
- id: string;
1314
- createdAt: Date;
1315
1318
  }) | (import("@tellescope/types-models").PortalCustomization & {
1316
1319
  id: string;
1317
1320
  createdAt: Date;
@@ -1330,9 +1333,6 @@ export declare const useDataSync____internal: () => {
1330
1333
  }) | (import("@tellescope/types-models").AppointmentLocation & {
1331
1334
  id: string;
1332
1335
  createdAt: Date;
1333
- }) | (import("@tellescope/types-models").Product & {
1334
- id: string;
1335
- createdAt: Date;
1336
1336
  }) | (import("@tellescope/types-models").Purchase & {
1337
1337
  id: string;
1338
1338
  createdAt: Date;
@@ -1443,10 +1443,22 @@ export declare const useDataSync____internal: () => {
1443
1443
  createdAt: Date;
1444
1444
  }))[];
1445
1445
  getDeleted: <T_1 extends string>(modelName: T_1) => string[];
1446
- popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").CalendarEvent & {
1446
+ popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").FormField & {
1447
1447
  id: string;
1448
1448
  createdAt: Date;
1449
- }) | (import("@tellescope/types-models").ManagedContentRecord & {
1449
+ }) | (import("@tellescope/types-models").Form & {
1450
+ id: string;
1451
+ createdAt: Date;
1452
+ }) | (import("@tellescope/types-models").DatabaseRecord & {
1453
+ id: string;
1454
+ createdAt: Date;
1455
+ }) | (import("@tellescope/types-models").Enduser & {
1456
+ id: string;
1457
+ createdAt: Date;
1458
+ }) | (import("@tellescope/types-models").User & {
1459
+ id: string;
1460
+ createdAt: Date;
1461
+ }) | (import("@tellescope/types-models").Product & {
1450
1462
  id: string;
1451
1463
  createdAt: Date;
1452
1464
  }) | (import("@tellescope/types-models").AIConversation & {
@@ -1485,6 +1497,9 @@ export declare const useDataSync____internal: () => {
1485
1497
  }) | (import("@tellescope/types-models").ChatMessage & {
1486
1498
  id: string;
1487
1499
  createdAt: Date;
1500
+ }) | (import("@tellescope/types-models").CalendarEvent & {
1501
+ id: string;
1502
+ createdAt: Date;
1488
1503
  }) | (import("@tellescope/types-models").CalendarEventTemplate & {
1489
1504
  id: string;
1490
1505
  createdAt: Date;
@@ -1503,9 +1518,6 @@ export declare const useDataSync____internal: () => {
1503
1518
  }) | (import("@tellescope/types-models").UserNotification & {
1504
1519
  id: string;
1505
1520
  createdAt: Date;
1506
- }) | (import("@tellescope/types-models").Enduser & {
1507
- id: string;
1508
- createdAt: Date;
1509
1521
  }) | (import("@tellescope/types-models").Ticket & {
1510
1522
  id: string;
1511
1523
  createdAt: Date;
@@ -1521,21 +1533,12 @@ export declare const useDataSync____internal: () => {
1521
1533
  }) | (import("@tellescope/types-models").MessageTemplate & {
1522
1534
  id: string;
1523
1535
  createdAt: Date;
1524
- }) | (import("@tellescope/types-models").Form & {
1525
- id: string;
1526
- createdAt: Date;
1527
- }) | (import("@tellescope/types-models").FormField & {
1528
- id: string;
1529
- createdAt: Date;
1530
1536
  }) | (import("@tellescope/types-models").FormResponse & {
1531
1537
  id: string;
1532
1538
  createdAt: Date;
1533
1539
  }) | (import("@tellescope/types-models").Journey & {
1534
1540
  id: string;
1535
1541
  createdAt: Date;
1536
- }) | (import("@tellescope/types-models").User & {
1537
- id: string;
1538
- createdAt: Date;
1539
1542
  }) | (import("@tellescope/types-models").AutomationStep & {
1540
1543
  id: string;
1541
1544
  createdAt: Date;
@@ -1548,6 +1551,9 @@ export declare const useDataSync____internal: () => {
1548
1551
  }) | (import("@tellescope/types-models").Forum & {
1549
1552
  id: string;
1550
1553
  createdAt: Date;
1554
+ }) | (import("@tellescope/types-models").ManagedContentRecord & {
1555
+ id: string;
1556
+ createdAt: Date;
1551
1557
  }) | (import("@tellescope/types-models").ManagedContentRecordAssignment & {
1552
1558
  id: string;
1553
1559
  createdAt: Date;
@@ -1572,9 +1578,6 @@ export declare const useDataSync____internal: () => {
1572
1578
  }) | (import("@tellescope/types-models").Database & {
1573
1579
  id: string;
1574
1580
  createdAt: Date;
1575
- }) | (import("@tellescope/types-models").DatabaseRecord & {
1576
- id: string;
1577
- createdAt: Date;
1578
1581
  }) | (import("@tellescope/types-models").PortalCustomization & {
1579
1582
  id: string;
1580
1583
  createdAt: Date;
@@ -1593,9 +1596,6 @@ export declare const useDataSync____internal: () => {
1593
1596
  }) | (import("@tellescope/types-models").AppointmentLocation & {
1594
1597
  id: string;
1595
1598
  createdAt: Date;
1596
- }) | (import("@tellescope/types-models").Product & {
1597
- id: string;
1598
- createdAt: Date;
1599
1599
  }) | (import("@tellescope/types-models").Purchase & {
1600
1600
  id: string;
1601
1601
  createdAt: Date;
@@ -1714,10 +1714,22 @@ export declare const useSyncContext: () => {
1714
1714
  setLoadTiming: (key: string, loadTimeInMS: number) => void;
1715
1715
  setHandler: (key: string, handler: undefined | (() => void)) => void;
1716
1716
  removeHandler: (key: string, handler: () => void) => void;
1717
- getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").CalendarEvent & {
1717
+ getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").FormField & {
1718
1718
  id: string;
1719
1719
  createdAt: Date;
1720
- }) | (import("@tellescope/types-models").ManagedContentRecord & {
1720
+ }) | (import("@tellescope/types-models").Form & {
1721
+ id: string;
1722
+ createdAt: Date;
1723
+ }) | (import("@tellescope/types-models").DatabaseRecord & {
1724
+ id: string;
1725
+ createdAt: Date;
1726
+ }) | (import("@tellescope/types-models").Enduser & {
1727
+ id: string;
1728
+ createdAt: Date;
1729
+ }) | (import("@tellescope/types-models").User & {
1730
+ id: string;
1731
+ createdAt: Date;
1732
+ }) | (import("@tellescope/types-models").Product & {
1721
1733
  id: string;
1722
1734
  createdAt: Date;
1723
1735
  }) | (import("@tellescope/types-models").AIConversation & {
@@ -1756,6 +1768,9 @@ export declare const useSyncContext: () => {
1756
1768
  }) | (import("@tellescope/types-models").ChatMessage & {
1757
1769
  id: string;
1758
1770
  createdAt: Date;
1771
+ }) | (import("@tellescope/types-models").CalendarEvent & {
1772
+ id: string;
1773
+ createdAt: Date;
1759
1774
  }) | (import("@tellescope/types-models").CalendarEventTemplate & {
1760
1775
  id: string;
1761
1776
  createdAt: Date;
@@ -1774,9 +1789,6 @@ export declare const useSyncContext: () => {
1774
1789
  }) | (import("@tellescope/types-models").UserNotification & {
1775
1790
  id: string;
1776
1791
  createdAt: Date;
1777
- }) | (import("@tellescope/types-models").Enduser & {
1778
- id: string;
1779
- createdAt: Date;
1780
1792
  }) | (import("@tellescope/types-models").Ticket & {
1781
1793
  id: string;
1782
1794
  createdAt: Date;
@@ -1792,21 +1804,12 @@ export declare const useSyncContext: () => {
1792
1804
  }) | (import("@tellescope/types-models").MessageTemplate & {
1793
1805
  id: string;
1794
1806
  createdAt: Date;
1795
- }) | (import("@tellescope/types-models").Form & {
1796
- id: string;
1797
- createdAt: Date;
1798
- }) | (import("@tellescope/types-models").FormField & {
1799
- id: string;
1800
- createdAt: Date;
1801
1807
  }) | (import("@tellescope/types-models").FormResponse & {
1802
1808
  id: string;
1803
1809
  createdAt: Date;
1804
1810
  }) | (import("@tellescope/types-models").Journey & {
1805
1811
  id: string;
1806
1812
  createdAt: Date;
1807
- }) | (import("@tellescope/types-models").User & {
1808
- id: string;
1809
- createdAt: Date;
1810
1813
  }) | (import("@tellescope/types-models").AutomationStep & {
1811
1814
  id: string;
1812
1815
  createdAt: Date;
@@ -1819,6 +1822,9 @@ export declare const useSyncContext: () => {
1819
1822
  }) | (import("@tellescope/types-models").Forum & {
1820
1823
  id: string;
1821
1824
  createdAt: Date;
1825
+ }) | (import("@tellescope/types-models").ManagedContentRecord & {
1826
+ id: string;
1827
+ createdAt: Date;
1822
1828
  }) | (import("@tellescope/types-models").ManagedContentRecordAssignment & {
1823
1829
  id: string;
1824
1830
  createdAt: Date;
@@ -1843,9 +1849,6 @@ export declare const useSyncContext: () => {
1843
1849
  }) | (import("@tellescope/types-models").Database & {
1844
1850
  id: string;
1845
1851
  createdAt: Date;
1846
- }) | (import("@tellescope/types-models").DatabaseRecord & {
1847
- id: string;
1848
- createdAt: Date;
1849
1852
  }) | (import("@tellescope/types-models").PortalCustomization & {
1850
1853
  id: string;
1851
1854
  createdAt: Date;
@@ -1864,9 +1867,6 @@ export declare const useSyncContext: () => {
1864
1867
  }) | (import("@tellescope/types-models").AppointmentLocation & {
1865
1868
  id: string;
1866
1869
  createdAt: Date;
1867
- }) | (import("@tellescope/types-models").Product & {
1868
- id: string;
1869
- createdAt: Date;
1870
1870
  }) | (import("@tellescope/types-models").Purchase & {
1871
1871
  id: string;
1872
1872
  createdAt: Date;
@@ -1977,10 +1977,22 @@ export declare const useSyncContext: () => {
1977
1977
  createdAt: Date;
1978
1978
  }))[];
1979
1979
  getDeleted: <T_1 extends string>(modelName: T_1) => string[];
1980
- popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").CalendarEvent & {
1980
+ popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").FormField & {
1981
1981
  id: string;
1982
1982
  createdAt: Date;
1983
- }) | (import("@tellescope/types-models").ManagedContentRecord & {
1983
+ }) | (import("@tellescope/types-models").Form & {
1984
+ id: string;
1985
+ createdAt: Date;
1986
+ }) | (import("@tellescope/types-models").DatabaseRecord & {
1987
+ id: string;
1988
+ createdAt: Date;
1989
+ }) | (import("@tellescope/types-models").Enduser & {
1990
+ id: string;
1991
+ createdAt: Date;
1992
+ }) | (import("@tellescope/types-models").User & {
1993
+ id: string;
1994
+ createdAt: Date;
1995
+ }) | (import("@tellescope/types-models").Product & {
1984
1996
  id: string;
1985
1997
  createdAt: Date;
1986
1998
  }) | (import("@tellescope/types-models").AIConversation & {
@@ -2019,6 +2031,9 @@ export declare const useSyncContext: () => {
2019
2031
  }) | (import("@tellescope/types-models").ChatMessage & {
2020
2032
  id: string;
2021
2033
  createdAt: Date;
2034
+ }) | (import("@tellescope/types-models").CalendarEvent & {
2035
+ id: string;
2036
+ createdAt: Date;
2022
2037
  }) | (import("@tellescope/types-models").CalendarEventTemplate & {
2023
2038
  id: string;
2024
2039
  createdAt: Date;
@@ -2037,9 +2052,6 @@ export declare const useSyncContext: () => {
2037
2052
  }) | (import("@tellescope/types-models").UserNotification & {
2038
2053
  id: string;
2039
2054
  createdAt: Date;
2040
- }) | (import("@tellescope/types-models").Enduser & {
2041
- id: string;
2042
- createdAt: Date;
2043
2055
  }) | (import("@tellescope/types-models").Ticket & {
2044
2056
  id: string;
2045
2057
  createdAt: Date;
@@ -2055,21 +2067,12 @@ export declare const useSyncContext: () => {
2055
2067
  }) | (import("@tellescope/types-models").MessageTemplate & {
2056
2068
  id: string;
2057
2069
  createdAt: Date;
2058
- }) | (import("@tellescope/types-models").Form & {
2059
- id: string;
2060
- createdAt: Date;
2061
- }) | (import("@tellescope/types-models").FormField & {
2062
- id: string;
2063
- createdAt: Date;
2064
2070
  }) | (import("@tellescope/types-models").FormResponse & {
2065
2071
  id: string;
2066
2072
  createdAt: Date;
2067
2073
  }) | (import("@tellescope/types-models").Journey & {
2068
2074
  id: string;
2069
2075
  createdAt: Date;
2070
- }) | (import("@tellescope/types-models").User & {
2071
- id: string;
2072
- createdAt: Date;
2073
2076
  }) | (import("@tellescope/types-models").AutomationStep & {
2074
2077
  id: string;
2075
2078
  createdAt: Date;
@@ -2082,6 +2085,9 @@ export declare const useSyncContext: () => {
2082
2085
  }) | (import("@tellescope/types-models").Forum & {
2083
2086
  id: string;
2084
2087
  createdAt: Date;
2088
+ }) | (import("@tellescope/types-models").ManagedContentRecord & {
2089
+ id: string;
2090
+ createdAt: Date;
2085
2091
  }) | (import("@tellescope/types-models").ManagedContentRecordAssignment & {
2086
2092
  id: string;
2087
2093
  createdAt: Date;
@@ -2106,9 +2112,6 @@ export declare const useSyncContext: () => {
2106
2112
  }) | (import("@tellescope/types-models").Database & {
2107
2113
  id: string;
2108
2114
  createdAt: Date;
2109
- }) | (import("@tellescope/types-models").DatabaseRecord & {
2110
- id: string;
2111
- createdAt: Date;
2112
2115
  }) | (import("@tellescope/types-models").PortalCustomization & {
2113
2116
  id: string;
2114
2117
  createdAt: Date;
@@ -2127,9 +2130,6 @@ export declare const useSyncContext: () => {
2127
2130
  }) | (import("@tellescope/types-models").AppointmentLocation & {
2128
2131
  id: string;
2129
2132
  createdAt: Date;
2130
- }) | (import("@tellescope/types-models").Product & {
2131
- id: string;
2132
- createdAt: Date;
2133
2133
  }) | (import("@tellescope/types-models").Purchase & {
2134
2134
  id: string;
2135
2135
  createdAt: Date;