kaafil-react-uikit 0.7.1 → 0.9.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/CHANGELOG.md +26 -0
- package/dist/admin/index.cjs +364 -348
- package/dist/admin/index.cjs.map +1 -1
- package/dist/admin/index.js +24 -8
- package/dist/admin/index.js.map +1 -1
- package/dist/{chunk-7O3TPYK4.cjs → chunk-2WPNGUX5.cjs} +17 -17
- package/dist/{chunk-7O3TPYK4.cjs.map → chunk-2WPNGUX5.cjs.map} +1 -1
- package/dist/{chunk-DYOAKTGJ.js → chunk-6PQWLUBA.js} +5 -5
- package/dist/{chunk-DYOAKTGJ.js.map → chunk-6PQWLUBA.js.map} +1 -1
- package/dist/{chunk-GKR52SVU.js → chunk-CCK3WPMF.js} +3 -3
- package/dist/{chunk-GKR52SVU.js.map → chunk-CCK3WPMF.js.map} +1 -1
- package/dist/{chunk-7COMKJTM.cjs → chunk-ELJPQSXY.cjs} +9 -9
- package/dist/{chunk-7COMKJTM.cjs.map → chunk-ELJPQSXY.cjs.map} +1 -1
- package/dist/{chunk-TDFM563X.cjs → chunk-FO5VJJUO.cjs} +12 -12
- package/dist/{chunk-TDFM563X.cjs.map → chunk-FO5VJJUO.cjs.map} +1 -1
- package/dist/{chunk-VU5BCK2P.js → chunk-FSSB6J3X.js} +3 -3
- package/dist/{chunk-VU5BCK2P.js.map → chunk-FSSB6J3X.js.map} +1 -1
- package/dist/{chunk-YHGAFRN6.js → chunk-GOSSRXBN.js} +3 -3
- package/dist/{chunk-YHGAFRN6.js.map → chunk-GOSSRXBN.js.map} +1 -1
- package/dist/{chunk-MP4IMAPF.cjs → chunk-IAXVUR7H.cjs} +55 -55
- package/dist/{chunk-MP4IMAPF.cjs.map → chunk-IAXVUR7H.cjs.map} +1 -1
- package/dist/{chunk-4R7QBTNL.cjs → chunk-PFTWPEVV.cjs} +4 -4
- package/dist/{chunk-4R7QBTNL.cjs.map → chunk-PFTWPEVV.cjs.map} +1 -1
- package/dist/chunk-PG7HNBTO.cjs +12 -0
- package/dist/{chunk-LBTAK5JA.cjs.map → chunk-PG7HNBTO.cjs.map} +1 -1
- package/dist/{chunk-ASFUY3IE.cjs → chunk-SMGXVEN3.cjs} +8 -4
- package/dist/chunk-SMGXVEN3.cjs.map +1 -0
- package/dist/{chunk-57DYMIWS.js → chunk-SO4F5LTH.js} +5 -5
- package/dist/{chunk-57DYMIWS.js.map → chunk-SO4F5LTH.js.map} +1 -1
- package/dist/{chunk-ZURCZQQ7.js → chunk-TESIDLJ6.js} +8 -4
- package/dist/chunk-TESIDLJ6.js.map +1 -0
- package/dist/{chunk-Q4B25EZO.js → chunk-TJGE4ZSX.js} +3 -3
- package/dist/{chunk-Q4B25EZO.js.map → chunk-TJGE4ZSX.js.map} +1 -1
- package/dist/{chunk-PQJGV3RE.cjs → chunk-TYBIAPPT.cjs} +83 -83
- package/dist/{chunk-PQJGV3RE.cjs.map → chunk-TYBIAPPT.cjs.map} +1 -1
- package/dist/{chunk-E3KOQYY2.js → chunk-YWMDBY43.js} +3 -3
- package/dist/{chunk-E3KOQYY2.js.map → chunk-YWMDBY43.js.map} +1 -1
- package/dist/core/index.cjs +107 -107
- package/dist/core/index.js +10 -10
- package/dist/index.css +1 -1
- package/dist/manager/index.cjs +240 -240
- package/dist/manager/index.cjs.map +1 -1
- package/dist/manager/index.d.cts +16 -3
- package/dist/manager/index.d.ts +16 -3
- package/dist/manager/index.js +7 -7
- package/dist/manager/index.js.map +1 -1
- package/dist/offline/index.cjs +112 -0
- package/dist/offline/index.cjs.map +1 -0
- package/dist/offline/index.d.cts +129 -0
- package/dist/offline/index.d.ts +129 -0
- package/dist/offline/index.js +108 -0
- package/dist/offline/index.js.map +1 -0
- package/dist/tokens.json +7 -1
- package/dist/traveller/index.cjs +35 -35
- package/dist/traveller/index.js +5 -5
- package/package.json +6 -1
- package/dist/chunk-ASFUY3IE.cjs.map +0 -1
- package/dist/chunk-LBTAK5JA.cjs +0 -12
- package/dist/chunk-ZURCZQQ7.js.map +0 -1
package/dist/core/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
3
|
+
var chunkELJPQSXY_cjs = require('../chunk-ELJPQSXY.cjs');
|
|
4
|
+
var chunkIAXVUR7H_cjs = require('../chunk-IAXVUR7H.cjs');
|
|
5
|
+
var chunkTYBIAPPT_cjs = require('../chunk-TYBIAPPT.cjs');
|
|
6
|
+
var chunk2WPNGUX5_cjs = require('../chunk-2WPNGUX5.cjs');
|
|
7
|
+
var chunkPG7HNBTO_cjs = require('../chunk-PG7HNBTO.cjs');
|
|
8
|
+
var chunkPFTWPEVV_cjs = require('../chunk-PFTWPEVV.cjs');
|
|
9
|
+
var chunkSMGXVEN3_cjs = require('../chunk-SMGXVEN3.cjs');
|
|
10
10
|
var client = require('kaafil-js/client');
|
|
11
11
|
var react = require('react');
|
|
12
12
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -25,10 +25,10 @@ var NotImplementedError = class _NotImplementedError extends Error {
|
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
function useBlobStatus(blobId) {
|
|
28
|
-
const engine = react.useContext(
|
|
28
|
+
const engine = react.useContext(chunkSMGXVEN3_cjs.OfflineEngineContext);
|
|
29
29
|
const [, forceRefresh] = react.useState(0);
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
chunkSMGXVEN3_cjs.useOfflineEvent("sync.drained", () => forceRefresh((tick) => tick + 1));
|
|
31
|
+
chunkSMGXVEN3_cjs.useOfflineEvent("sync.error", () => forceRefresh((tick) => tick + 1));
|
|
32
32
|
const record = engine?.blobs?.all().find((candidate) => candidate.id === blobId);
|
|
33
33
|
if (record === void 0) {
|
|
34
34
|
return { status: "pending", progress: void 0 };
|
|
@@ -37,7 +37,7 @@ function useBlobStatus(blobId) {
|
|
|
37
37
|
return { status, progress: void 0 };
|
|
38
38
|
}
|
|
39
39
|
function useFeedbackNps(scope) {
|
|
40
|
-
const client$1 =
|
|
40
|
+
const client$1 = chunkSMGXVEN3_cjs.useKaafilClient();
|
|
41
41
|
const [summary, setSummary] = react.useState(void 0);
|
|
42
42
|
const [definitions, setDefinitions] = react.useState([]);
|
|
43
43
|
const [loaded, setLoaded] = react.useState(false);
|
|
@@ -67,7 +67,7 @@ function useFeedbackNps(scope) {
|
|
|
67
67
|
react.useEffect(() => {
|
|
68
68
|
void refresh();
|
|
69
69
|
}, [refresh]);
|
|
70
|
-
const dispatchMutation =
|
|
70
|
+
const dispatchMutation = chunkSMGXVEN3_cjs.useOfflineMutation({
|
|
71
71
|
tripRef: scope.kind === "trip" ? scope.tripRef : "",
|
|
72
72
|
enqueue: (engine, input) => {
|
|
73
73
|
const formId = formIdRef.current;
|
|
@@ -111,14 +111,14 @@ function useFeedbackNps(scope) {
|
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
function useJourney(tripRef) {
|
|
114
|
-
const client =
|
|
115
|
-
const persona =
|
|
116
|
-
const { rows } =
|
|
114
|
+
const client = chunkSMGXVEN3_cjs.useKaafilClient();
|
|
115
|
+
const persona = chunkSMGXVEN3_cjs.usePersona();
|
|
116
|
+
const { rows } = chunkSMGXVEN3_cjs.useCapabilityRows(tripRef);
|
|
117
117
|
const [read, setRead] = react.useState(void 0);
|
|
118
118
|
const [liveRows, setLiveRows] = react.useState(void 0);
|
|
119
119
|
react.useEffect(() => {
|
|
120
120
|
if (persona === "share") {
|
|
121
|
-
if (
|
|
121
|
+
if (chunkSMGXVEN3_cjs.isDevelopment()) {
|
|
122
122
|
throw new Error(
|
|
123
123
|
"useJourney() was called from a share session \u2014 it is manager/agencyAdmin only (08-core-hooks.md \xA73.2)."
|
|
124
124
|
);
|
|
@@ -142,7 +142,7 @@ function useJourney(tripRef) {
|
|
|
142
142
|
const effectiveRows = liveRows ?? rows;
|
|
143
143
|
const capabilities = /* @__PURE__ */ new Map();
|
|
144
144
|
for (const row of effectiveRows) {
|
|
145
|
-
capabilities.set(row.capability,
|
|
145
|
+
capabilities.set(row.capability, chunkSMGXVEN3_cjs.deriveCapabilityTriple(row));
|
|
146
146
|
}
|
|
147
147
|
return {
|
|
148
148
|
read,
|
|
@@ -157,12 +157,12 @@ function useJourney(tripRef) {
|
|
|
157
157
|
|
|
158
158
|
// src/core/hooks/useResolvedSetting.ts
|
|
159
159
|
function useResolvedSetting(key) {
|
|
160
|
-
const config =
|
|
160
|
+
const config = chunkSMGXVEN3_cjs.useRequiredContext(chunkSMGXVEN3_cjs.ConfigContext, "useResolvedSetting", "ConfigShell");
|
|
161
161
|
return config.resolveSetting(key);
|
|
162
162
|
}
|
|
163
163
|
function useSnapshotEntity(tripRef, listName, id) {
|
|
164
|
-
const engine = react.useContext(
|
|
165
|
-
const { rows } =
|
|
164
|
+
const engine = react.useContext(chunkSMGXVEN3_cjs.OfflineEngineContext);
|
|
165
|
+
const { rows } = chunkTYBIAPPT_cjs.useSnapshotList(tripRef, listName);
|
|
166
166
|
const row = rows.find((candidate) => candidate.id === id);
|
|
167
167
|
const syncedAt = engine === null ? void 0 : engine.snapshot.syncedAt(tripRef, listName, id);
|
|
168
168
|
return { row, syncedAt };
|
|
@@ -170,8 +170,8 @@ function useSnapshotEntity(tripRef, listName, id) {
|
|
|
170
170
|
|
|
171
171
|
// src/core/hooks/useStaleness.ts
|
|
172
172
|
function useStaleness(tripRef, listName) {
|
|
173
|
-
const { syncedAt } =
|
|
174
|
-
const { now } =
|
|
173
|
+
const { syncedAt } = chunkTYBIAPPT_cjs.useSnapshotList(tripRef, listName);
|
|
174
|
+
const { now } = chunkPFTWPEVV_cjs.useServerTime();
|
|
175
175
|
const thresholdSeconds = useResolvedSetting("stale.thresholdSeconds.default");
|
|
176
176
|
if (syncedAt === void 0) {
|
|
177
177
|
return { syncedAt: void 0, ageSeconds: void 0, isStale: false };
|
|
@@ -186,8 +186,8 @@ function useStaleness(tripRef, listName) {
|
|
|
186
186
|
return { syncedAt, ageSeconds, isStale };
|
|
187
187
|
}
|
|
188
188
|
var WALK_INS_PAGE_SIZE = 25;
|
|
189
|
-
var useTreksInternal =
|
|
190
|
-
const client$1 =
|
|
189
|
+
var useTreksInternal = chunkTYBIAPPT_cjs.createDomainHook("treks", (tripRef) => {
|
|
190
|
+
const client$1 = chunkSMGXVEN3_cjs.useKaafilClient();
|
|
191
191
|
const [boardData, setBoardData] = react.useState(void 0);
|
|
192
192
|
const [boardLoaded, setBoardLoaded] = react.useState(false);
|
|
193
193
|
const [boardFetchFailed, setBoardFetchFailed] = react.useState(false);
|
|
@@ -265,7 +265,7 @@ var useTreksInternal = chunkPQJGV3RE_cjs.createDomainHook("treks", (tripRef) =>
|
|
|
265
265
|
react.useEffect(() => {
|
|
266
266
|
void refreshMeta();
|
|
267
267
|
}, [refreshMeta]);
|
|
268
|
-
const createWalkInMutation =
|
|
268
|
+
const createWalkInMutation = chunkSMGXVEN3_cjs.useOfflineMutation({
|
|
269
269
|
tripRef,
|
|
270
270
|
enqueue: (engine, input) => engine.enqueue({
|
|
271
271
|
tripRef,
|
|
@@ -278,7 +278,7 @@ var useTreksInternal = chunkPQJGV3RE_cjs.createDomainHook("treks", (tripRef) =>
|
|
|
278
278
|
body: input
|
|
279
279
|
})
|
|
280
280
|
});
|
|
281
|
-
const postponeMutation =
|
|
281
|
+
const postponeMutation = chunkSMGXVEN3_cjs.useOfflineMutation({
|
|
282
282
|
tripRef,
|
|
283
283
|
enqueue: (engine, input) => engine.enqueue({
|
|
284
284
|
tripRef,
|
|
@@ -288,7 +288,7 @@ var useTreksInternal = chunkPQJGV3RE_cjs.createDomainHook("treks", (tripRef) =>
|
|
|
288
288
|
body: input
|
|
289
289
|
})
|
|
290
290
|
});
|
|
291
|
-
const reconcileMutation =
|
|
291
|
+
const reconcileMutation = chunkSMGXVEN3_cjs.useOfflineMutation({
|
|
292
292
|
tripRef,
|
|
293
293
|
enqueue: (engine, { walkInId, input }) => engine.enqueue({
|
|
294
294
|
tripRef,
|
|
@@ -406,20 +406,20 @@ function detectHazards() {
|
|
|
406
406
|
function HostCssCompatibilityProbe({
|
|
407
407
|
style
|
|
408
408
|
} = {}) {
|
|
409
|
-
const chrome =
|
|
409
|
+
const chrome = chunkSMGXVEN3_cjs.useKaafilChrome();
|
|
410
410
|
const [hazards, setHazards] = react.useState(null);
|
|
411
411
|
react.useEffect(() => {
|
|
412
|
-
if (
|
|
412
|
+
if (chunkSMGXVEN3_cjs.isDevelopment()) {
|
|
413
413
|
setHazards(detectHazards());
|
|
414
414
|
}
|
|
415
415
|
}, []);
|
|
416
|
-
if (!
|
|
416
|
+
if (!chunkSMGXVEN3_cjs.isDevelopment() || hazards === null) {
|
|
417
417
|
return null;
|
|
418
418
|
}
|
|
419
419
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
420
420
|
"div",
|
|
421
421
|
{
|
|
422
|
-
style:
|
|
422
|
+
style: chunkSMGXVEN3_cjs.tokenStyle(style, {
|
|
423
423
|
border: "1px solid #999",
|
|
424
424
|
padding: "0.75rem",
|
|
425
425
|
borderRadius: "4px"
|
|
@@ -440,14 +440,14 @@ function KaafilSessionProbe({
|
|
|
440
440
|
expectedEnvironment,
|
|
441
441
|
style
|
|
442
442
|
}) {
|
|
443
|
-
const session =
|
|
444
|
-
const chrome =
|
|
443
|
+
const session = chunkSMGXVEN3_cjs.useSession();
|
|
444
|
+
const chrome = chunkSMGXVEN3_cjs.useKaafilChrome();
|
|
445
445
|
if (session.status === "expired") {
|
|
446
446
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
447
447
|
"div",
|
|
448
448
|
{
|
|
449
449
|
role: "status",
|
|
450
|
-
style:
|
|
450
|
+
style: chunkSMGXVEN3_cjs.tokenStyle(style, {
|
|
451
451
|
border: "1px solid #c00",
|
|
452
452
|
padding: "0.75rem",
|
|
453
453
|
borderRadius: "4px"
|
|
@@ -461,7 +461,7 @@ function KaafilSessionProbe({
|
|
|
461
461
|
"div",
|
|
462
462
|
{
|
|
463
463
|
role: "status",
|
|
464
|
-
style:
|
|
464
|
+
style: chunkSMGXVEN3_cjs.tokenStyle(style, {
|
|
465
465
|
border: "1px solid #c00",
|
|
466
466
|
padding: "0.75rem",
|
|
467
467
|
borderRadius: "4px"
|
|
@@ -478,12 +478,12 @@ function KaafilSessionProbe({
|
|
|
478
478
|
);
|
|
479
479
|
}
|
|
480
480
|
if (session.status === "opening") {
|
|
481
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { role: "status", style:
|
|
481
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { role: "status", style: chunkSMGXVEN3_cjs.tokenStyle(style), children: chrome.t("chrome.loading") });
|
|
482
482
|
}
|
|
483
483
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
484
484
|
"div",
|
|
485
485
|
{
|
|
486
|
-
style:
|
|
486
|
+
style: chunkSMGXVEN3_cjs.tokenStyle(style, {
|
|
487
487
|
border: "1px solid #0a0",
|
|
488
488
|
padding: "0.75rem",
|
|
489
489
|
borderRadius: "4px"
|
|
@@ -507,283 +507,283 @@ function KaafilSessionProbe({
|
|
|
507
507
|
|
|
508
508
|
Object.defineProperty(exports, "useConflicts", {
|
|
509
509
|
enumerable: true,
|
|
510
|
-
get: function () { return
|
|
510
|
+
get: function () { return chunkELJPQSXY_cjs.useConflicts; }
|
|
511
511
|
});
|
|
512
512
|
Object.defineProperty(exports, "useManagerMe", {
|
|
513
513
|
enumerable: true,
|
|
514
|
-
get: function () { return
|
|
514
|
+
get: function () { return chunkELJPQSXY_cjs.useManagerMe; }
|
|
515
515
|
});
|
|
516
516
|
Object.defineProperty(exports, "useNotifications", {
|
|
517
517
|
enumerable: true,
|
|
518
|
-
get: function () { return
|
|
518
|
+
get: function () { return chunkELJPQSXY_cjs.useNotifications; }
|
|
519
519
|
});
|
|
520
520
|
Object.defineProperty(exports, "AppShell", {
|
|
521
521
|
enumerable: true,
|
|
522
|
-
get: function () { return
|
|
522
|
+
get: function () { return chunkIAXVUR7H_cjs.AppShell; }
|
|
523
523
|
});
|
|
524
524
|
Object.defineProperty(exports, "CLOSEOUT_ACTION_TAB", {
|
|
525
525
|
enumerable: true,
|
|
526
|
-
get: function () { return
|
|
526
|
+
get: function () { return chunkIAXVUR7H_cjs.CLOSEOUT_ACTION_TAB; }
|
|
527
527
|
});
|
|
528
528
|
Object.defineProperty(exports, "ConfigShell", {
|
|
529
529
|
enumerable: true,
|
|
530
|
-
get: function () { return
|
|
530
|
+
get: function () { return chunkIAXVUR7H_cjs.ConfigShell; }
|
|
531
531
|
});
|
|
532
532
|
Object.defineProperty(exports, "ErrorShell", {
|
|
533
533
|
enumerable: true,
|
|
534
|
-
get: function () { return
|
|
534
|
+
get: function () { return chunkIAXVUR7H_cjs.ErrorShell; }
|
|
535
535
|
});
|
|
536
536
|
Object.defineProperty(exports, "KaafilUIKitProvider", {
|
|
537
537
|
enumerable: true,
|
|
538
|
-
get: function () { return
|
|
538
|
+
get: function () { return chunkIAXVUR7H_cjs.KaafilUIKitProvider; }
|
|
539
539
|
});
|
|
540
540
|
Object.defineProperty(exports, "OfflineShell", {
|
|
541
541
|
enumerable: true,
|
|
542
|
-
get: function () { return
|
|
542
|
+
get: function () { return chunkIAXVUR7H_cjs.OfflineShell; }
|
|
543
543
|
});
|
|
544
544
|
Object.defineProperty(exports, "SessionShell", {
|
|
545
545
|
enumerable: true,
|
|
546
|
-
get: function () { return
|
|
546
|
+
get: function () { return chunkIAXVUR7H_cjs.SessionShell; }
|
|
547
547
|
});
|
|
548
548
|
Object.defineProperty(exports, "TelemetryShell", {
|
|
549
549
|
enumerable: true,
|
|
550
|
-
get: function () { return
|
|
550
|
+
get: function () { return chunkIAXVUR7H_cjs.TelemetryShell; }
|
|
551
551
|
});
|
|
552
552
|
Object.defineProperty(exports, "ThemeShell", {
|
|
553
553
|
enumerable: true,
|
|
554
|
-
get: function () { return
|
|
554
|
+
get: function () { return chunkIAXVUR7H_cjs.ThemeShell; }
|
|
555
555
|
});
|
|
556
556
|
Object.defineProperty(exports, "fromSearchParams", {
|
|
557
557
|
enumerable: true,
|
|
558
|
-
get: function () { return
|
|
558
|
+
get: function () { return chunkIAXVUR7H_cjs.fromSearchParams; }
|
|
559
559
|
});
|
|
560
560
|
Object.defineProperty(exports, "isTripTabKey", {
|
|
561
561
|
enumerable: true,
|
|
562
|
-
get: function () { return
|
|
562
|
+
get: function () { return chunkIAXVUR7H_cjs.isTripTabKey; }
|
|
563
563
|
});
|
|
564
564
|
Object.defineProperty(exports, "resolveBlockerDeepLink", {
|
|
565
565
|
enumerable: true,
|
|
566
|
-
get: function () { return
|
|
566
|
+
get: function () { return chunkIAXVUR7H_cjs.resolveBlockerDeepLink; }
|
|
567
567
|
});
|
|
568
568
|
Object.defineProperty(exports, "toSearchParams", {
|
|
569
569
|
enumerable: true,
|
|
570
|
-
get: function () { return
|
|
570
|
+
get: function () { return chunkIAXVUR7H_cjs.toSearchParams; }
|
|
571
571
|
});
|
|
572
572
|
Object.defineProperty(exports, "useAgencyAdminMe", {
|
|
573
573
|
enumerable: true,
|
|
574
|
-
get: function () { return
|
|
574
|
+
get: function () { return chunkIAXVUR7H_cjs.useAgencyAdminMe; }
|
|
575
575
|
});
|
|
576
576
|
Object.defineProperty(exports, "useAgencyChecklistTemplates", {
|
|
577
577
|
enumerable: true,
|
|
578
|
-
get: function () { return
|
|
578
|
+
get: function () { return chunkIAXVUR7H_cjs.useAgencyChecklistTemplates; }
|
|
579
579
|
});
|
|
580
580
|
Object.defineProperty(exports, "useAgencyForms", {
|
|
581
581
|
enumerable: true,
|
|
582
|
-
get: function () { return
|
|
582
|
+
get: function () { return chunkIAXVUR7H_cjs.useAgencyForms; }
|
|
583
583
|
});
|
|
584
584
|
Object.defineProperty(exports, "useAgencyJourneyTriggers", {
|
|
585
585
|
enumerable: true,
|
|
586
|
-
get: function () { return
|
|
586
|
+
get: function () { return chunkIAXVUR7H_cjs.useAgencyJourneyTriggers; }
|
|
587
587
|
});
|
|
588
588
|
Object.defineProperty(exports, "useAgencyManagerProfile", {
|
|
589
589
|
enumerable: true,
|
|
590
|
-
get: function () { return
|
|
590
|
+
get: function () { return chunkIAXVUR7H_cjs.useAgencyManagerProfile; }
|
|
591
591
|
});
|
|
592
592
|
Object.defineProperty(exports, "useAgencySettings", {
|
|
593
593
|
enumerable: true,
|
|
594
|
-
get: function () { return
|
|
594
|
+
get: function () { return chunkIAXVUR7H_cjs.useAgencySettings; }
|
|
595
595
|
});
|
|
596
596
|
Object.defineProperty(exports, "useAgencyTrip", {
|
|
597
597
|
enumerable: true,
|
|
598
|
-
get: function () { return
|
|
598
|
+
get: function () { return chunkIAXVUR7H_cjs.useAgencyTrip; }
|
|
599
599
|
});
|
|
600
600
|
Object.defineProperty(exports, "useAgencyTripManifest", {
|
|
601
601
|
enumerable: true,
|
|
602
|
-
get: function () { return
|
|
602
|
+
get: function () { return chunkIAXVUR7H_cjs.useAgencyTripManifest; }
|
|
603
603
|
});
|
|
604
604
|
Object.defineProperty(exports, "useAgencyTrips", {
|
|
605
605
|
enumerable: true,
|
|
606
|
-
get: function () { return
|
|
606
|
+
get: function () { return chunkIAXVUR7H_cjs.useAgencyTrips; }
|
|
607
607
|
});
|
|
608
608
|
Object.defineProperty(exports, "useBookings", {
|
|
609
609
|
enumerable: true,
|
|
610
|
-
get: function () { return
|
|
610
|
+
get: function () { return chunkIAXVUR7H_cjs.useBookings; }
|
|
611
611
|
});
|
|
612
612
|
Object.defineProperty(exports, "useBuildShareUrl", {
|
|
613
613
|
enumerable: true,
|
|
614
|
-
get: function () { return
|
|
614
|
+
get: function () { return chunkIAXVUR7H_cjs.useBuildShareUrl; }
|
|
615
615
|
});
|
|
616
616
|
Object.defineProperty(exports, "useCapabilityStatuses", {
|
|
617
617
|
enumerable: true,
|
|
618
|
-
get: function () { return
|
|
618
|
+
get: function () { return chunkIAXVUR7H_cjs.useCapabilityStatuses; }
|
|
619
619
|
});
|
|
620
620
|
Object.defineProperty(exports, "useDefaultCapabilityViews", {
|
|
621
621
|
enumerable: true,
|
|
622
|
-
get: function () { return
|
|
622
|
+
get: function () { return chunkIAXVUR7H_cjs.useDefaultCapabilityViews; }
|
|
623
623
|
});
|
|
624
624
|
Object.defineProperty(exports, "useDirectories", {
|
|
625
625
|
enumerable: true,
|
|
626
|
-
get: function () { return
|
|
626
|
+
get: function () { return chunkIAXVUR7H_cjs.useDirectories; }
|
|
627
627
|
});
|
|
628
628
|
Object.defineProperty(exports, "usePaginatedList", {
|
|
629
629
|
enumerable: true,
|
|
630
|
-
get: function () { return
|
|
630
|
+
get: function () { return chunkIAXVUR7H_cjs.usePaginatedList; }
|
|
631
631
|
});
|
|
632
632
|
Object.defineProperty(exports, "useShareLinks", {
|
|
633
633
|
enumerable: true,
|
|
634
|
-
get: function () { return
|
|
634
|
+
get: function () { return chunkIAXVUR7H_cjs.useShareLinks; }
|
|
635
635
|
});
|
|
636
636
|
Object.defineProperty(exports, "useTravellerFormResponses", {
|
|
637
637
|
enumerable: true,
|
|
638
|
-
get: function () { return
|
|
638
|
+
get: function () { return chunkIAXVUR7H_cjs.useTravellerFormResponses; }
|
|
639
639
|
});
|
|
640
640
|
Object.defineProperty(exports, "ERROR_HANDLING_PATH", {
|
|
641
641
|
enumerable: true,
|
|
642
|
-
get: function () { return
|
|
642
|
+
get: function () { return chunkTYBIAPPT_cjs.ERROR_HANDLING_PATH; }
|
|
643
643
|
});
|
|
644
644
|
Object.defineProperty(exports, "classifyError", {
|
|
645
645
|
enumerable: true,
|
|
646
|
-
get: function () { return
|
|
646
|
+
get: function () { return chunkTYBIAPPT_cjs.classifyError; }
|
|
647
647
|
});
|
|
648
648
|
Object.defineProperty(exports, "useChecklists", {
|
|
649
649
|
enumerable: true,
|
|
650
|
-
get: function () { return
|
|
650
|
+
get: function () { return chunkTYBIAPPT_cjs.useChecklists; }
|
|
651
651
|
});
|
|
652
652
|
Object.defineProperty(exports, "useCloseout", {
|
|
653
653
|
enumerable: true,
|
|
654
|
-
get: function () { return
|
|
654
|
+
get: function () { return chunkTYBIAPPT_cjs.useCloseout; }
|
|
655
655
|
});
|
|
656
656
|
Object.defineProperty(exports, "useCollections", {
|
|
657
657
|
enumerable: true,
|
|
658
|
-
get: function () { return
|
|
658
|
+
get: function () { return chunkTYBIAPPT_cjs.useCollections; }
|
|
659
659
|
});
|
|
660
660
|
Object.defineProperty(exports, "useExpenses", {
|
|
661
661
|
enumerable: true,
|
|
662
|
-
get: function () { return
|
|
662
|
+
get: function () { return chunkTYBIAPPT_cjs.useExpenses; }
|
|
663
663
|
});
|
|
664
664
|
Object.defineProperty(exports, "useFiles", {
|
|
665
665
|
enumerable: true,
|
|
666
|
-
get: function () { return
|
|
666
|
+
get: function () { return chunkTYBIAPPT_cjs.useFiles; }
|
|
667
667
|
});
|
|
668
668
|
Object.defineProperty(exports, "useFloat", {
|
|
669
669
|
enumerable: true,
|
|
670
|
-
get: function () { return
|
|
670
|
+
get: function () { return chunkTYBIAPPT_cjs.useFloat; }
|
|
671
671
|
});
|
|
672
672
|
Object.defineProperty(exports, "useForms", {
|
|
673
673
|
enumerable: true,
|
|
674
|
-
get: function () { return
|
|
674
|
+
get: function () { return chunkTYBIAPPT_cjs.useForms; }
|
|
675
675
|
});
|
|
676
676
|
Object.defineProperty(exports, "useItinerary", {
|
|
677
677
|
enumerable: true,
|
|
678
|
-
get: function () { return
|
|
678
|
+
get: function () { return chunkTYBIAPPT_cjs.useItinerary; }
|
|
679
679
|
});
|
|
680
680
|
Object.defineProperty(exports, "useManagerToday", {
|
|
681
681
|
enumerable: true,
|
|
682
|
-
get: function () { return
|
|
682
|
+
get: function () { return chunkTYBIAPPT_cjs.useManagerToday; }
|
|
683
683
|
});
|
|
684
684
|
Object.defineProperty(exports, "useManagers", {
|
|
685
685
|
enumerable: true,
|
|
686
|
-
get: function () { return
|
|
686
|
+
get: function () { return chunkTYBIAPPT_cjs.useManagers; }
|
|
687
687
|
});
|
|
688
688
|
Object.defineProperty(exports, "useParties", {
|
|
689
689
|
enumerable: true,
|
|
690
|
-
get: function () { return
|
|
690
|
+
get: function () { return chunkTYBIAPPT_cjs.useParties; }
|
|
691
691
|
});
|
|
692
692
|
Object.defineProperty(exports, "usePickups", {
|
|
693
693
|
enumerable: true,
|
|
694
|
-
get: function () { return
|
|
694
|
+
get: function () { return chunkTYBIAPPT_cjs.usePickups; }
|
|
695
695
|
});
|
|
696
696
|
Object.defineProperty(exports, "useRooming", {
|
|
697
697
|
enumerable: true,
|
|
698
|
-
get: function () { return
|
|
698
|
+
get: function () { return chunkTYBIAPPT_cjs.useRooming; }
|
|
699
699
|
});
|
|
700
700
|
Object.defineProperty(exports, "useSeating", {
|
|
701
701
|
enumerable: true,
|
|
702
|
-
get: function () { return
|
|
702
|
+
get: function () { return chunkTYBIAPPT_cjs.useSeating; }
|
|
703
703
|
});
|
|
704
704
|
Object.defineProperty(exports, "useSnapshotList", {
|
|
705
705
|
enumerable: true,
|
|
706
|
-
get: function () { return
|
|
706
|
+
get: function () { return chunkTYBIAPPT_cjs.useSnapshotList; }
|
|
707
707
|
});
|
|
708
708
|
Object.defineProperty(exports, "useTravellerProfile", {
|
|
709
709
|
enumerable: true,
|
|
710
|
-
get: function () { return
|
|
710
|
+
get: function () { return chunkTYBIAPPT_cjs.useTravellerProfile; }
|
|
711
711
|
});
|
|
712
712
|
Object.defineProperty(exports, "useVendors", {
|
|
713
713
|
enumerable: true,
|
|
714
|
-
get: function () { return
|
|
714
|
+
get: function () { return chunkTYBIAPPT_cjs.useVendors; }
|
|
715
715
|
});
|
|
716
716
|
Object.defineProperty(exports, "useShareForms", {
|
|
717
717
|
enumerable: true,
|
|
718
|
-
get: function () { return
|
|
718
|
+
get: function () { return chunk2WPNGUX5_cjs.useShareForms; }
|
|
719
719
|
});
|
|
720
720
|
Object.defineProperty(exports, "useShareSnapshot", {
|
|
721
721
|
enumerable: true,
|
|
722
|
-
get: function () { return
|
|
722
|
+
get: function () { return chunk2WPNGUX5_cjs.useShareSnapshot; }
|
|
723
723
|
});
|
|
724
724
|
Object.defineProperty(exports, "useOfflineEngine", {
|
|
725
725
|
enumerable: true,
|
|
726
|
-
get: function () { return
|
|
726
|
+
get: function () { return chunkPG7HNBTO_cjs.useOfflineEngine; }
|
|
727
727
|
});
|
|
728
728
|
Object.defineProperty(exports, "useServerTime", {
|
|
729
729
|
enumerable: true,
|
|
730
|
-
get: function () { return
|
|
730
|
+
get: function () { return chunkPFTWPEVV_cjs.useServerTime; }
|
|
731
731
|
});
|
|
732
732
|
Object.defineProperty(exports, "BrandShell", {
|
|
733
733
|
enumerable: true,
|
|
734
|
-
get: function () { return
|
|
734
|
+
get: function () { return chunkSMGXVEN3_cjs.BrandShell; }
|
|
735
735
|
});
|
|
736
736
|
Object.defineProperty(exports, "I18nShell", {
|
|
737
737
|
enumerable: true,
|
|
738
|
-
get: function () { return
|
|
738
|
+
get: function () { return chunkSMGXVEN3_cjs.I18nShell; }
|
|
739
739
|
});
|
|
740
740
|
Object.defineProperty(exports, "createRegistry", {
|
|
741
741
|
enumerable: true,
|
|
742
|
-
get: function () { return
|
|
742
|
+
get: function () { return chunkSMGXVEN3_cjs.createRegistry; }
|
|
743
743
|
});
|
|
744
744
|
Object.defineProperty(exports, "useCapabilities", {
|
|
745
745
|
enumerable: true,
|
|
746
|
-
get: function () { return
|
|
746
|
+
get: function () { return chunkSMGXVEN3_cjs.useCapabilities; }
|
|
747
747
|
});
|
|
748
748
|
Object.defineProperty(exports, "useCapability", {
|
|
749
749
|
enumerable: true,
|
|
750
|
-
get: function () { return
|
|
750
|
+
get: function () { return chunkSMGXVEN3_cjs.useCapability; }
|
|
751
751
|
});
|
|
752
752
|
Object.defineProperty(exports, "useKaafilBrand", {
|
|
753
753
|
enumerable: true,
|
|
754
|
-
get: function () { return
|
|
754
|
+
get: function () { return chunkSMGXVEN3_cjs.useKaafilBrand; }
|
|
755
755
|
});
|
|
756
756
|
Object.defineProperty(exports, "useKaafilChrome", {
|
|
757
757
|
enumerable: true,
|
|
758
|
-
get: function () { return
|
|
758
|
+
get: function () { return chunkSMGXVEN3_cjs.useKaafilChrome; }
|
|
759
759
|
});
|
|
760
760
|
Object.defineProperty(exports, "useKaafilClient", {
|
|
761
761
|
enumerable: true,
|
|
762
|
-
get: function () { return
|
|
762
|
+
get: function () { return chunkSMGXVEN3_cjs.useKaafilClient; }
|
|
763
763
|
});
|
|
764
764
|
Object.defineProperty(exports, "useKaafilShareMeta", {
|
|
765
765
|
enumerable: true,
|
|
766
|
-
get: function () { return
|
|
766
|
+
get: function () { return chunkSMGXVEN3_cjs.useKaafilShareMeta; }
|
|
767
767
|
});
|
|
768
768
|
Object.defineProperty(exports, "useOfflineEvent", {
|
|
769
769
|
enumerable: true,
|
|
770
|
-
get: function () { return
|
|
770
|
+
get: function () { return chunkSMGXVEN3_cjs.useOfflineEvent; }
|
|
771
771
|
});
|
|
772
772
|
Object.defineProperty(exports, "useOfflineMutation", {
|
|
773
773
|
enumerable: true,
|
|
774
|
-
get: function () { return
|
|
774
|
+
get: function () { return chunkSMGXVEN3_cjs.useOfflineMutation; }
|
|
775
775
|
});
|
|
776
776
|
Object.defineProperty(exports, "useOutboxStatus", {
|
|
777
777
|
enumerable: true,
|
|
778
|
-
get: function () { return
|
|
778
|
+
get: function () { return chunkSMGXVEN3_cjs.useOutboxStatus; }
|
|
779
779
|
});
|
|
780
780
|
Object.defineProperty(exports, "usePersona", {
|
|
781
781
|
enumerable: true,
|
|
782
|
-
get: function () { return
|
|
782
|
+
get: function () { return chunkSMGXVEN3_cjs.usePersona; }
|
|
783
783
|
});
|
|
784
784
|
Object.defineProperty(exports, "useSession", {
|
|
785
785
|
enumerable: true,
|
|
786
|
-
get: function () { return
|
|
786
|
+
get: function () { return chunkSMGXVEN3_cjs.useSession; }
|
|
787
787
|
});
|
|
788
788
|
Object.defineProperty(exports, "UnsatisfiableSchemeError", {
|
|
789
789
|
enumerable: true,
|
package/dist/core/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { useConflicts, useManagerMe, useNotifications } from '../chunk-
|
|
2
|
-
export { AppShell, CLOSEOUT_ACTION_TAB, ConfigShell, ErrorShell, KaafilUIKitProvider, OfflineShell, SessionShell, TelemetryShell, ThemeShell, fromSearchParams, isTripTabKey, resolveBlockerDeepLink, toSearchParams, useAgencyAdminMe, useAgencyChecklistTemplates, useAgencyForms, useAgencyJourneyTriggers, useAgencyManagerProfile, useAgencySettings, useAgencyTrip, useAgencyTripManifest, useAgencyTrips, useBookings, useBuildShareUrl, useCapabilityStatuses, useDefaultCapabilityViews, useDirectories, usePaginatedList, useShareLinks, useTravellerFormResponses } from '../chunk-
|
|
3
|
-
import { createDomainHook, useSnapshotList } from '../chunk-
|
|
4
|
-
export { ERROR_HANDLING_PATH, classifyError, useChecklists, useCloseout, useCollections, useExpenses, useFiles, useFloat, useForms, useItinerary, useManagerToday, useManagers, useParties, usePickups, useRooming, useSeating, useSnapshotList, useTravellerProfile, useVendors } from '../chunk-
|
|
5
|
-
export { useShareForms, useShareSnapshot } from '../chunk-
|
|
6
|
-
export { useOfflineEngine } from '../chunk-
|
|
7
|
-
import { useServerTime } from '../chunk-
|
|
8
|
-
export { useServerTime } from '../chunk-
|
|
9
|
-
import { useKaafilClient, useOfflineMutation, OfflineEngineContext, useOfflineEvent, usePersona, useCapabilityRows, isDevelopment, deriveCapabilityTriple, useRequiredContext, ConfigContext, useKaafilChrome, tokenStyle, useSession } from '../chunk-
|
|
10
|
-
export { BrandShell, I18nShell, createRegistry, useCapabilities, useCapability, useKaafilBrand, useKaafilChrome, useKaafilClient, useKaafilShareMeta, useOfflineEvent, useOfflineMutation, useOutboxStatus, usePersona, useSession } from '../chunk-
|
|
1
|
+
export { useConflicts, useManagerMe, useNotifications } from '../chunk-YWMDBY43.js';
|
|
2
|
+
export { AppShell, CLOSEOUT_ACTION_TAB, ConfigShell, ErrorShell, KaafilUIKitProvider, OfflineShell, SessionShell, TelemetryShell, ThemeShell, fromSearchParams, isTripTabKey, resolveBlockerDeepLink, toSearchParams, useAgencyAdminMe, useAgencyChecklistTemplates, useAgencyForms, useAgencyJourneyTriggers, useAgencyManagerProfile, useAgencySettings, useAgencyTrip, useAgencyTripManifest, useAgencyTrips, useBookings, useBuildShareUrl, useCapabilityStatuses, useDefaultCapabilityViews, useDirectories, usePaginatedList, useShareLinks, useTravellerFormResponses } from '../chunk-SO4F5LTH.js';
|
|
3
|
+
import { createDomainHook, useSnapshotList } from '../chunk-FSSB6J3X.js';
|
|
4
|
+
export { ERROR_HANDLING_PATH, classifyError, useChecklists, useCloseout, useCollections, useExpenses, useFiles, useFloat, useForms, useItinerary, useManagerToday, useManagers, useParties, usePickups, useRooming, useSeating, useSnapshotList, useTravellerProfile, useVendors } from '../chunk-FSSB6J3X.js';
|
|
5
|
+
export { useShareForms, useShareSnapshot } from '../chunk-6PQWLUBA.js';
|
|
6
|
+
export { useOfflineEngine } from '../chunk-TJGE4ZSX.js';
|
|
7
|
+
import { useServerTime } from '../chunk-CCK3WPMF.js';
|
|
8
|
+
export { useServerTime } from '../chunk-CCK3WPMF.js';
|
|
9
|
+
import { useKaafilClient, useOfflineMutation, OfflineEngineContext, useOfflineEvent, usePersona, useCapabilityRows, isDevelopment, deriveCapabilityTriple, useRequiredContext, ConfigContext, useKaafilChrome, tokenStyle, useSession } from '../chunk-TESIDLJ6.js';
|
|
10
|
+
export { BrandShell, I18nShell, createRegistry, useCapabilities, useCapability, useKaafilBrand, useKaafilChrome, useKaafilClient, useKaafilShareMeta, useOfflineEvent, useOfflineMutation, useOutboxStatus, usePersona, useSession } from '../chunk-TESIDLJ6.js';
|
|
11
11
|
import { SyncOpMethod } from 'kaafil-js/client';
|
|
12
12
|
export { UnsatisfiableSchemeError } from 'kaafil-js/client';
|
|
13
13
|
import { useState, useCallback, useEffect, useContext, useRef } from 'react';
|