@tellescope/react-components 1.154.0 → 1.155.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/cjs/Forms/forms.d.ts +6 -0
- package/lib/cjs/Forms/forms.d.ts.map +1 -1
- package/lib/cjs/Forms/forms.js +6 -5
- package/lib/cjs/Forms/forms.js.map +1 -1
- package/lib/cjs/Forms/hooks.d.ts.map +1 -1
- package/lib/cjs/Forms/hooks.js +3 -0
- package/lib/cjs/Forms/hooks.js.map +1 -1
- package/lib/cjs/Forms/inputs.d.ts +1 -1
- package/lib/cjs/Forms/inputs.d.ts.map +1 -1
- package/lib/cjs/Forms/inputs.js +20 -3
- package/lib/cjs/Forms/inputs.js.map +1 -1
- package/lib/esm/CMS/components.d.ts +0 -1
- package/lib/esm/CMS/components.d.ts.map +1 -1
- package/lib/esm/Forms/form_responses.d.ts +0 -1
- package/lib/esm/Forms/form_responses.d.ts.map +1 -1
- package/lib/esm/Forms/forms.d.ts +9 -3
- package/lib/esm/Forms/forms.d.ts.map +1 -1
- package/lib/esm/Forms/forms.js +2 -2
- package/lib/esm/Forms/forms.js.map +1 -1
- package/lib/esm/Forms/hooks.d.ts +0 -1
- package/lib/esm/Forms/hooks.d.ts.map +1 -1
- package/lib/esm/Forms/hooks.js +3 -0
- package/lib/esm/Forms/hooks.js.map +1 -1
- package/lib/esm/Forms/inputs.d.ts +2 -2
- package/lib/esm/Forms/inputs.d.ts.map +1 -1
- package/lib/esm/Forms/inputs.js +20 -3
- package/lib/esm/Forms/inputs.js.map +1 -1
- package/lib/esm/controls.d.ts +2 -2
- package/lib/esm/inputs.d.ts +1 -1
- package/lib/esm/inputs.native.d.ts +0 -1
- package/lib/esm/inputs.native.d.ts.map +1 -1
- package/lib/esm/state.d.ts +52 -52
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -9
- package/src/Forms/forms.tsx +2 -2
- package/src/Forms/hooks.tsx +3 -0
- package/src/Forms/inputs.tsx +38 -3
package/lib/esm/state.d.ts
CHANGED
|
@@ -1106,24 +1106,15 @@ export declare const lastActiveForSync: {
|
|
|
1106
1106
|
export declare const useDataSync____internal: () => {
|
|
1107
1107
|
setLoadTiming: (key: string, loadTimeInMS: number) => void;
|
|
1108
1108
|
setHandler: (key: string, handler: undefined | (() => void)) => void;
|
|
1109
|
-
getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").
|
|
1110
|
-
id: string;
|
|
1111
|
-
createdAt: Date;
|
|
1112
|
-
}) | (import("@tellescope/types-models").Form & {
|
|
1109
|
+
getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").File & {
|
|
1113
1110
|
id: string;
|
|
1114
1111
|
createdAt: Date;
|
|
1115
1112
|
}) | (import("@tellescope/types-models").Enduser & {
|
|
1116
1113
|
id: string;
|
|
1117
1114
|
createdAt: Date;
|
|
1118
|
-
}) | (import("@tellescope/types-models").DatabaseRecord & {
|
|
1119
|
-
id: string;
|
|
1120
|
-
createdAt: Date;
|
|
1121
1115
|
}) | (import("@tellescope/types-models").User & {
|
|
1122
1116
|
id: string;
|
|
1123
1117
|
createdAt: Date;
|
|
1124
|
-
}) | (import("@tellescope/types-models").Product & {
|
|
1125
|
-
id: string;
|
|
1126
|
-
createdAt: Date;
|
|
1127
1118
|
}) | (import("@tellescope/types-models").TicketQueue & {
|
|
1128
1119
|
id: string;
|
|
1129
1120
|
createdAt: Date;
|
|
@@ -1175,15 +1166,18 @@ export declare const useDataSync____internal: () => {
|
|
|
1175
1166
|
}) | (import("@tellescope/types-models").Meeting & {
|
|
1176
1167
|
id: string;
|
|
1177
1168
|
createdAt: Date;
|
|
1178
|
-
}) | (import("@tellescope/types-models").File & {
|
|
1179
|
-
id: string;
|
|
1180
|
-
createdAt: Date;
|
|
1181
1169
|
}) | (import("@tellescope/types-models").Note & {
|
|
1182
1170
|
id: string;
|
|
1183
1171
|
createdAt: Date;
|
|
1184
1172
|
}) | (import("@tellescope/types-models").MessageTemplate & {
|
|
1185
1173
|
id: string;
|
|
1186
1174
|
createdAt: Date;
|
|
1175
|
+
}) | (import("@tellescope/types-models").Form & {
|
|
1176
|
+
id: string;
|
|
1177
|
+
createdAt: Date;
|
|
1178
|
+
}) | (import("@tellescope/types-models").FormField & {
|
|
1179
|
+
id: string;
|
|
1180
|
+
createdAt: Date;
|
|
1187
1181
|
}) | (import("@tellescope/types-models").FormResponse & {
|
|
1188
1182
|
id: string;
|
|
1189
1183
|
createdAt: Date;
|
|
@@ -1229,6 +1223,9 @@ export declare const useDataSync____internal: () => {
|
|
|
1229
1223
|
}) | (import("@tellescope/types-models").Database & {
|
|
1230
1224
|
id: string;
|
|
1231
1225
|
createdAt: Date;
|
|
1226
|
+
}) | (import("@tellescope/types-models").DatabaseRecord & {
|
|
1227
|
+
id: string;
|
|
1228
|
+
createdAt: Date;
|
|
1232
1229
|
}) | (import("@tellescope/types-models").PortalCustomization & {
|
|
1233
1230
|
id: string;
|
|
1234
1231
|
createdAt: Date;
|
|
@@ -1247,6 +1244,9 @@ export declare const useDataSync____internal: () => {
|
|
|
1247
1244
|
}) | (import("@tellescope/types-models").AppointmentLocation & {
|
|
1248
1245
|
id: string;
|
|
1249
1246
|
createdAt: Date;
|
|
1247
|
+
}) | (import("@tellescope/types-models").Product & {
|
|
1248
|
+
id: string;
|
|
1249
|
+
createdAt: Date;
|
|
1250
1250
|
}) | (import("@tellescope/types-models").Purchase & {
|
|
1251
1251
|
id: string;
|
|
1252
1252
|
createdAt: Date;
|
|
@@ -1354,24 +1354,15 @@ export declare const useDataSync____internal: () => {
|
|
|
1354
1354
|
createdAt: Date;
|
|
1355
1355
|
}))[];
|
|
1356
1356
|
getDeleted: <T_1 extends string>(modelName: T_1) => string[];
|
|
1357
|
-
popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").
|
|
1358
|
-
id: string;
|
|
1359
|
-
createdAt: Date;
|
|
1360
|
-
}) | (import("@tellescope/types-models").Form & {
|
|
1357
|
+
popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").File & {
|
|
1361
1358
|
id: string;
|
|
1362
1359
|
createdAt: Date;
|
|
1363
1360
|
}) | (import("@tellescope/types-models").Enduser & {
|
|
1364
1361
|
id: string;
|
|
1365
1362
|
createdAt: Date;
|
|
1366
|
-
}) | (import("@tellescope/types-models").DatabaseRecord & {
|
|
1367
|
-
id: string;
|
|
1368
|
-
createdAt: Date;
|
|
1369
1363
|
}) | (import("@tellescope/types-models").User & {
|
|
1370
1364
|
id: string;
|
|
1371
1365
|
createdAt: Date;
|
|
1372
|
-
}) | (import("@tellescope/types-models").Product & {
|
|
1373
|
-
id: string;
|
|
1374
|
-
createdAt: Date;
|
|
1375
1366
|
}) | (import("@tellescope/types-models").TicketQueue & {
|
|
1376
1367
|
id: string;
|
|
1377
1368
|
createdAt: Date;
|
|
@@ -1423,15 +1414,18 @@ export declare const useDataSync____internal: () => {
|
|
|
1423
1414
|
}) | (import("@tellescope/types-models").Meeting & {
|
|
1424
1415
|
id: string;
|
|
1425
1416
|
createdAt: Date;
|
|
1426
|
-
}) | (import("@tellescope/types-models").File & {
|
|
1427
|
-
id: string;
|
|
1428
|
-
createdAt: Date;
|
|
1429
1417
|
}) | (import("@tellescope/types-models").Note & {
|
|
1430
1418
|
id: string;
|
|
1431
1419
|
createdAt: Date;
|
|
1432
1420
|
}) | (import("@tellescope/types-models").MessageTemplate & {
|
|
1433
1421
|
id: string;
|
|
1434
1422
|
createdAt: Date;
|
|
1423
|
+
}) | (import("@tellescope/types-models").Form & {
|
|
1424
|
+
id: string;
|
|
1425
|
+
createdAt: Date;
|
|
1426
|
+
}) | (import("@tellescope/types-models").FormField & {
|
|
1427
|
+
id: string;
|
|
1428
|
+
createdAt: Date;
|
|
1435
1429
|
}) | (import("@tellescope/types-models").FormResponse & {
|
|
1436
1430
|
id: string;
|
|
1437
1431
|
createdAt: Date;
|
|
@@ -1477,6 +1471,9 @@ export declare const useDataSync____internal: () => {
|
|
|
1477
1471
|
}) | (import("@tellescope/types-models").Database & {
|
|
1478
1472
|
id: string;
|
|
1479
1473
|
createdAt: Date;
|
|
1474
|
+
}) | (import("@tellescope/types-models").DatabaseRecord & {
|
|
1475
|
+
id: string;
|
|
1476
|
+
createdAt: Date;
|
|
1480
1477
|
}) | (import("@tellescope/types-models").PortalCustomization & {
|
|
1481
1478
|
id: string;
|
|
1482
1479
|
createdAt: Date;
|
|
@@ -1495,6 +1492,9 @@ export declare const useDataSync____internal: () => {
|
|
|
1495
1492
|
}) | (import("@tellescope/types-models").AppointmentLocation & {
|
|
1496
1493
|
id: string;
|
|
1497
1494
|
createdAt: Date;
|
|
1495
|
+
}) | (import("@tellescope/types-models").Product & {
|
|
1496
|
+
id: string;
|
|
1497
|
+
createdAt: Date;
|
|
1498
1498
|
}) | (import("@tellescope/types-models").Purchase & {
|
|
1499
1499
|
id: string;
|
|
1500
1500
|
createdAt: Date;
|
|
@@ -1609,24 +1609,15 @@ export declare const WithDataSync: ({ children }: {
|
|
|
1609
1609
|
export declare const useSyncContext: () => {
|
|
1610
1610
|
setLoadTiming: (key: string, loadTimeInMS: number) => void;
|
|
1611
1611
|
setHandler: (key: string, handler: undefined | (() => void)) => void;
|
|
1612
|
-
getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").
|
|
1613
|
-
id: string;
|
|
1614
|
-
createdAt: Date;
|
|
1615
|
-
}) | (import("@tellescope/types-models").Form & {
|
|
1612
|
+
getLoaded: <T extends string>(modelName: T) => ((import("@tellescope/types-models").File & {
|
|
1616
1613
|
id: string;
|
|
1617
1614
|
createdAt: Date;
|
|
1618
1615
|
}) | (import("@tellescope/types-models").Enduser & {
|
|
1619
1616
|
id: string;
|
|
1620
1617
|
createdAt: Date;
|
|
1621
|
-
}) | (import("@tellescope/types-models").DatabaseRecord & {
|
|
1622
|
-
id: string;
|
|
1623
|
-
createdAt: Date;
|
|
1624
1618
|
}) | (import("@tellescope/types-models").User & {
|
|
1625
1619
|
id: string;
|
|
1626
1620
|
createdAt: Date;
|
|
1627
|
-
}) | (import("@tellescope/types-models").Product & {
|
|
1628
|
-
id: string;
|
|
1629
|
-
createdAt: Date;
|
|
1630
1621
|
}) | (import("@tellescope/types-models").TicketQueue & {
|
|
1631
1622
|
id: string;
|
|
1632
1623
|
createdAt: Date;
|
|
@@ -1678,15 +1669,18 @@ export declare const useSyncContext: () => {
|
|
|
1678
1669
|
}) | (import("@tellescope/types-models").Meeting & {
|
|
1679
1670
|
id: string;
|
|
1680
1671
|
createdAt: Date;
|
|
1681
|
-
}) | (import("@tellescope/types-models").File & {
|
|
1682
|
-
id: string;
|
|
1683
|
-
createdAt: Date;
|
|
1684
1672
|
}) | (import("@tellescope/types-models").Note & {
|
|
1685
1673
|
id: string;
|
|
1686
1674
|
createdAt: Date;
|
|
1687
1675
|
}) | (import("@tellescope/types-models").MessageTemplate & {
|
|
1688
1676
|
id: string;
|
|
1689
1677
|
createdAt: Date;
|
|
1678
|
+
}) | (import("@tellescope/types-models").Form & {
|
|
1679
|
+
id: string;
|
|
1680
|
+
createdAt: Date;
|
|
1681
|
+
}) | (import("@tellescope/types-models").FormField & {
|
|
1682
|
+
id: string;
|
|
1683
|
+
createdAt: Date;
|
|
1690
1684
|
}) | (import("@tellescope/types-models").FormResponse & {
|
|
1691
1685
|
id: string;
|
|
1692
1686
|
createdAt: Date;
|
|
@@ -1732,6 +1726,9 @@ export declare const useSyncContext: () => {
|
|
|
1732
1726
|
}) | (import("@tellescope/types-models").Database & {
|
|
1733
1727
|
id: string;
|
|
1734
1728
|
createdAt: Date;
|
|
1729
|
+
}) | (import("@tellescope/types-models").DatabaseRecord & {
|
|
1730
|
+
id: string;
|
|
1731
|
+
createdAt: Date;
|
|
1735
1732
|
}) | (import("@tellescope/types-models").PortalCustomization & {
|
|
1736
1733
|
id: string;
|
|
1737
1734
|
createdAt: Date;
|
|
@@ -1750,6 +1747,9 @@ export declare const useSyncContext: () => {
|
|
|
1750
1747
|
}) | (import("@tellescope/types-models").AppointmentLocation & {
|
|
1751
1748
|
id: string;
|
|
1752
1749
|
createdAt: Date;
|
|
1750
|
+
}) | (import("@tellescope/types-models").Product & {
|
|
1751
|
+
id: string;
|
|
1752
|
+
createdAt: Date;
|
|
1753
1753
|
}) | (import("@tellescope/types-models").Purchase & {
|
|
1754
1754
|
id: string;
|
|
1755
1755
|
createdAt: Date;
|
|
@@ -1857,24 +1857,15 @@ export declare const useSyncContext: () => {
|
|
|
1857
1857
|
createdAt: Date;
|
|
1858
1858
|
}))[];
|
|
1859
1859
|
getDeleted: <T_1 extends string>(modelName: T_1) => string[];
|
|
1860
|
-
popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").
|
|
1861
|
-
id: string;
|
|
1862
|
-
createdAt: Date;
|
|
1863
|
-
}) | (import("@tellescope/types-models").Form & {
|
|
1860
|
+
popLoaded: <T_2 extends string>(modelName: T_2) => ((import("@tellescope/types-models").File & {
|
|
1864
1861
|
id: string;
|
|
1865
1862
|
createdAt: Date;
|
|
1866
1863
|
}) | (import("@tellescope/types-models").Enduser & {
|
|
1867
1864
|
id: string;
|
|
1868
1865
|
createdAt: Date;
|
|
1869
|
-
}) | (import("@tellescope/types-models").DatabaseRecord & {
|
|
1870
|
-
id: string;
|
|
1871
|
-
createdAt: Date;
|
|
1872
1866
|
}) | (import("@tellescope/types-models").User & {
|
|
1873
1867
|
id: string;
|
|
1874
1868
|
createdAt: Date;
|
|
1875
|
-
}) | (import("@tellescope/types-models").Product & {
|
|
1876
|
-
id: string;
|
|
1877
|
-
createdAt: Date;
|
|
1878
1869
|
}) | (import("@tellescope/types-models").TicketQueue & {
|
|
1879
1870
|
id: string;
|
|
1880
1871
|
createdAt: Date;
|
|
@@ -1926,15 +1917,18 @@ export declare const useSyncContext: () => {
|
|
|
1926
1917
|
}) | (import("@tellescope/types-models").Meeting & {
|
|
1927
1918
|
id: string;
|
|
1928
1919
|
createdAt: Date;
|
|
1929
|
-
}) | (import("@tellescope/types-models").File & {
|
|
1930
|
-
id: string;
|
|
1931
|
-
createdAt: Date;
|
|
1932
1920
|
}) | (import("@tellescope/types-models").Note & {
|
|
1933
1921
|
id: string;
|
|
1934
1922
|
createdAt: Date;
|
|
1935
1923
|
}) | (import("@tellescope/types-models").MessageTemplate & {
|
|
1936
1924
|
id: string;
|
|
1937
1925
|
createdAt: Date;
|
|
1926
|
+
}) | (import("@tellescope/types-models").Form & {
|
|
1927
|
+
id: string;
|
|
1928
|
+
createdAt: Date;
|
|
1929
|
+
}) | (import("@tellescope/types-models").FormField & {
|
|
1930
|
+
id: string;
|
|
1931
|
+
createdAt: Date;
|
|
1938
1932
|
}) | (import("@tellescope/types-models").FormResponse & {
|
|
1939
1933
|
id: string;
|
|
1940
1934
|
createdAt: Date;
|
|
@@ -1980,6 +1974,9 @@ export declare const useSyncContext: () => {
|
|
|
1980
1974
|
}) | (import("@tellescope/types-models").Database & {
|
|
1981
1975
|
id: string;
|
|
1982
1976
|
createdAt: Date;
|
|
1977
|
+
}) | (import("@tellescope/types-models").DatabaseRecord & {
|
|
1978
|
+
id: string;
|
|
1979
|
+
createdAt: Date;
|
|
1983
1980
|
}) | (import("@tellescope/types-models").PortalCustomization & {
|
|
1984
1981
|
id: string;
|
|
1985
1982
|
createdAt: Date;
|
|
@@ -1998,6 +1995,9 @@ export declare const useSyncContext: () => {
|
|
|
1998
1995
|
}) | (import("@tellescope/types-models").AppointmentLocation & {
|
|
1999
1996
|
id: string;
|
|
2000
1997
|
createdAt: Date;
|
|
1998
|
+
}) | (import("@tellescope/types-models").Product & {
|
|
1999
|
+
id: string;
|
|
2000
|
+
createdAt: Date;
|
|
2001
2001
|
}) | (import("@tellescope/types-models").Purchase & {
|
|
2002
2002
|
id: string;
|
|
2003
2003
|
createdAt: Date;
|