@tellescope/react-components 1.218.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"}
@@ -1180,7 +1180,13 @@ 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").File & {
1183
+ getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").FormField & {
1184
+ id: string;
1185
+ createdAt: Date;
1186
+ }) | (import("@tellescope/types-models").Form & {
1187
+ id: string;
1188
+ createdAt: Date;
1189
+ }) | (import("@tellescope/types-models").DatabaseRecord & {
1184
1190
  id: string;
1185
1191
  createdAt: Date;
1186
1192
  }) | (import("@tellescope/types-models").Enduser & {
@@ -1189,6 +1195,9 @@ export declare const useDataSync____internal: () => {
1189
1195
  }) | (import("@tellescope/types-models").User & {
1190
1196
  id: string;
1191
1197
  createdAt: Date;
1198
+ }) | (import("@tellescope/types-models").Product & {
1199
+ id: string;
1200
+ createdAt: Date;
1192
1201
  }) | (import("@tellescope/types-models").AIConversation & {
1193
1202
  id: string;
1194
1203
  createdAt: Date;
@@ -1252,16 +1261,13 @@ export declare const useDataSync____internal: () => {
1252
1261
  }) | (import("@tellescope/types-models").Meeting & {
1253
1262
  id: string;
1254
1263
  createdAt: Date;
1255
- }) | (import("@tellescope/types-models").Note & {
1256
- id: string;
1257
- createdAt: Date;
1258
- }) | (import("@tellescope/types-models").MessageTemplate & {
1264
+ }) | (import("@tellescope/types-models").File & {
1259
1265
  id: string;
1260
1266
  createdAt: Date;
1261
- }) | (import("@tellescope/types-models").Form & {
1267
+ }) | (import("@tellescope/types-models").Note & {
1262
1268
  id: string;
1263
1269
  createdAt: Date;
1264
- }) | (import("@tellescope/types-models").FormField & {
1270
+ }) | (import("@tellescope/types-models").MessageTemplate & {
1265
1271
  id: string;
1266
1272
  createdAt: Date;
1267
1273
  }) | (import("@tellescope/types-models").FormResponse & {
@@ -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,7 +1443,13 @@ 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").File & {
1446
+ popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").FormField & {
1447
+ id: string;
1448
+ createdAt: Date;
1449
+ }) | (import("@tellescope/types-models").Form & {
1450
+ id: string;
1451
+ createdAt: Date;
1452
+ }) | (import("@tellescope/types-models").DatabaseRecord & {
1447
1453
  id: string;
1448
1454
  createdAt: Date;
1449
1455
  }) | (import("@tellescope/types-models").Enduser & {
@@ -1452,6 +1458,9 @@ export declare const useDataSync____internal: () => {
1452
1458
  }) | (import("@tellescope/types-models").User & {
1453
1459
  id: string;
1454
1460
  createdAt: Date;
1461
+ }) | (import("@tellescope/types-models").Product & {
1462
+ id: string;
1463
+ createdAt: Date;
1455
1464
  }) | (import("@tellescope/types-models").AIConversation & {
1456
1465
  id: string;
1457
1466
  createdAt: Date;
@@ -1515,16 +1524,13 @@ export declare const useDataSync____internal: () => {
1515
1524
  }) | (import("@tellescope/types-models").Meeting & {
1516
1525
  id: string;
1517
1526
  createdAt: Date;
1518
- }) | (import("@tellescope/types-models").Note & {
1519
- id: string;
1520
- createdAt: Date;
1521
- }) | (import("@tellescope/types-models").MessageTemplate & {
1527
+ }) | (import("@tellescope/types-models").File & {
1522
1528
  id: string;
1523
1529
  createdAt: Date;
1524
- }) | (import("@tellescope/types-models").Form & {
1530
+ }) | (import("@tellescope/types-models").Note & {
1525
1531
  id: string;
1526
1532
  createdAt: Date;
1527
- }) | (import("@tellescope/types-models").FormField & {
1533
+ }) | (import("@tellescope/types-models").MessageTemplate & {
1528
1534
  id: string;
1529
1535
  createdAt: Date;
1530
1536
  }) | (import("@tellescope/types-models").FormResponse & {
@@ -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,7 +1714,13 @@ 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").File & {
1717
+ getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").FormField & {
1718
+ id: string;
1719
+ createdAt: Date;
1720
+ }) | (import("@tellescope/types-models").Form & {
1721
+ id: string;
1722
+ createdAt: Date;
1723
+ }) | (import("@tellescope/types-models").DatabaseRecord & {
1718
1724
  id: string;
1719
1725
  createdAt: Date;
1720
1726
  }) | (import("@tellescope/types-models").Enduser & {
@@ -1723,6 +1729,9 @@ export declare const useSyncContext: () => {
1723
1729
  }) | (import("@tellescope/types-models").User & {
1724
1730
  id: string;
1725
1731
  createdAt: Date;
1732
+ }) | (import("@tellescope/types-models").Product & {
1733
+ id: string;
1734
+ createdAt: Date;
1726
1735
  }) | (import("@tellescope/types-models").AIConversation & {
1727
1736
  id: string;
1728
1737
  createdAt: Date;
@@ -1786,16 +1795,13 @@ export declare const useSyncContext: () => {
1786
1795
  }) | (import("@tellescope/types-models").Meeting & {
1787
1796
  id: string;
1788
1797
  createdAt: Date;
1789
- }) | (import("@tellescope/types-models").Note & {
1790
- id: string;
1791
- createdAt: Date;
1792
- }) | (import("@tellescope/types-models").MessageTemplate & {
1798
+ }) | (import("@tellescope/types-models").File & {
1793
1799
  id: string;
1794
1800
  createdAt: Date;
1795
- }) | (import("@tellescope/types-models").Form & {
1801
+ }) | (import("@tellescope/types-models").Note & {
1796
1802
  id: string;
1797
1803
  createdAt: Date;
1798
- }) | (import("@tellescope/types-models").FormField & {
1804
+ }) | (import("@tellescope/types-models").MessageTemplate & {
1799
1805
  id: string;
1800
1806
  createdAt: Date;
1801
1807
  }) | (import("@tellescope/types-models").FormResponse & {
@@ -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,7 +1977,13 @@ 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").File & {
1980
+ popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").FormField & {
1981
+ id: string;
1982
+ createdAt: Date;
1983
+ }) | (import("@tellescope/types-models").Form & {
1984
+ id: string;
1985
+ createdAt: Date;
1986
+ }) | (import("@tellescope/types-models").DatabaseRecord & {
1981
1987
  id: string;
1982
1988
  createdAt: Date;
1983
1989
  }) | (import("@tellescope/types-models").Enduser & {
@@ -1986,6 +1992,9 @@ export declare const useSyncContext: () => {
1986
1992
  }) | (import("@tellescope/types-models").User & {
1987
1993
  id: string;
1988
1994
  createdAt: Date;
1995
+ }) | (import("@tellescope/types-models").Product & {
1996
+ id: string;
1997
+ createdAt: Date;
1989
1998
  }) | (import("@tellescope/types-models").AIConversation & {
1990
1999
  id: string;
1991
2000
  createdAt: Date;
@@ -2049,16 +2058,13 @@ export declare const useSyncContext: () => {
2049
2058
  }) | (import("@tellescope/types-models").Meeting & {
2050
2059
  id: string;
2051
2060
  createdAt: Date;
2052
- }) | (import("@tellescope/types-models").Note & {
2053
- id: string;
2054
- createdAt: Date;
2055
- }) | (import("@tellescope/types-models").MessageTemplate & {
2061
+ }) | (import("@tellescope/types-models").File & {
2056
2062
  id: string;
2057
2063
  createdAt: Date;
2058
- }) | (import("@tellescope/types-models").Form & {
2064
+ }) | (import("@tellescope/types-models").Note & {
2059
2065
  id: string;
2060
2066
  createdAt: Date;
2061
- }) | (import("@tellescope/types-models").FormField & {
2067
+ }) | (import("@tellescope/types-models").MessageTemplate & {
2062
2068
  id: string;
2063
2069
  createdAt: Date;
2064
2070
  }) | (import("@tellescope/types-models").FormResponse & {
@@ -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;