kaafil-react-uikit 0.11.5 → 0.11.7
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 +61 -0
- package/dist/admin/index.cjs +75 -75
- package/dist/admin/index.js +2 -2
- package/dist/{chunk-USKVWPJD.cjs → chunk-ARXY3ZA7.cjs} +8 -2
- package/dist/chunk-ARXY3ZA7.cjs.map +1 -0
- package/dist/{chunk-ODH3SYYW.cjs → chunk-KJSQLVBR.cjs} +22 -22
- package/dist/{chunk-ODH3SYYW.cjs.map → chunk-KJSQLVBR.cjs.map} +1 -1
- package/dist/{chunk-63JQKLMH.js → chunk-XGPX7TYV.js} +8 -2
- package/dist/chunk-XGPX7TYV.js.map +1 -0
- package/dist/{chunk-4U5VHQDT.js → chunk-ZKLX6YRT.js} +3 -3
- package/dist/{chunk-4U5VHQDT.js.map → chunk-ZKLX6YRT.js.map} +1 -1
- package/dist/core/index.cjs +54 -54
- package/dist/core/index.js +3 -3
- package/dist/index.css +1 -1
- package/dist/manager/index.cjs +47 -40
- package/dist/manager/index.cjs.map +1 -1
- package/dist/manager/index.js +11 -4
- package/dist/manager/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-63JQKLMH.js.map +0 -1
- package/dist/chunk-USKVWPJD.cjs.map +0 -1
package/dist/manager/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useManagerMe, useConflicts, useNotifications } from '../chunk-U6IE2UYL.js';
|
|
2
|
-
import { FORM_FIELD_KIND_SINGLE_BOOLEAN, useChecklists, useManagers, useCloseout, useFiles, useFloat, useForms, useParties, useItinerary, useVendors, useExpenses, useCollections, useManagerToday, usePickups, useRooming, useTravellerProfile, useSeating } from '../chunk-
|
|
2
|
+
import { FORM_FIELD_KIND_SINGLE_BOOLEAN, useChecklists, useManagers, useCloseout, useFiles, useFloat, useForms, useParties, useItinerary, useVendors, useExpenses, useCollections, useManagerToday, usePickups, useRooming, useTravellerProfile, useSeating } from '../chunk-XGPX7TYV.js';
|
|
3
3
|
import { useOfflineEngine } from '../chunk-RCWSMWQD.js';
|
|
4
4
|
import { OfflineFallbackScreen } from '../chunk-LOLQNRIK.js';
|
|
5
5
|
export { BootErrorScreen, LockedTripScreen, NotFoundScreen, OfflineFallbackScreen, SessionExpiredScreen } from '../chunk-LOLQNRIK.js';
|
|
6
|
-
import { createRegistry, useKaafilChrome, useSession, tokenStyle, useOutboxStatus, useKaafilBrand } from '../chunk-YJJ4DI42.js';
|
|
6
|
+
import { createRegistry, useKaafilChrome, useSession, tokenStyle, useOutboxStatus, useOfflineEvent, useKaafilBrand } from '../chunk-YJJ4DI42.js';
|
|
7
7
|
import { useState, useRef, useEffect, useMemo, useId } from 'react';
|
|
8
8
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
9
|
|
|
@@ -7348,8 +7348,8 @@ function CheckIcon5(props) {
|
|
|
7348
7348
|
return /* @__PURE__ */ jsx(
|
|
7349
7349
|
"svg",
|
|
7350
7350
|
{
|
|
7351
|
-
width: "
|
|
7352
|
-
height: "
|
|
7351
|
+
width: "20",
|
|
7352
|
+
height: "20",
|
|
7353
7353
|
viewBox: "0 0 24 24",
|
|
7354
7354
|
fill: "none",
|
|
7355
7355
|
stroke: "currentColor",
|
|
@@ -8026,6 +8026,13 @@ function ReadyManagerPickupsSection({
|
|
|
8026
8026
|
cancelled = true;
|
|
8027
8027
|
};
|
|
8028
8028
|
}, [ready, selectedStopId, kind]);
|
|
8029
|
+
useOfflineEvent("sync.drained", () => {
|
|
8030
|
+
if (pickups.status !== "ready" || selectedStopId === void 0) {
|
|
8031
|
+
return;
|
|
8032
|
+
}
|
|
8033
|
+
void pickups.manifestByPickup({ kind }).then(setManifest);
|
|
8034
|
+
void pickups.refreshLive();
|
|
8035
|
+
});
|
|
8029
8036
|
if (pickups.status === "loading") {
|
|
8030
8037
|
return /* @__PURE__ */ jsxs("div", { className: "kf-manager-pickups__skeleton", style: tokenStyle(style), children: [
|
|
8031
8038
|
/* @__PURE__ */ jsx("div", { className: "kf-manager-pickups__skeleton-line" }),
|