@dgui/react-native-web 1.8.3 → 1.8.5

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.
Files changed (34) hide show
  1. package/dist/cjs/Components/Drawers/Tabs/Context/Scene.js +12 -10
  2. package/dist/cjs/Components/Drawers/Tabs/Context/Scene.js.map +1 -1
  3. package/dist/cjs/Components/Drawers/Tabs/Context/index.js +17 -12
  4. package/dist/cjs/Components/Drawers/Tabs/Context/index.js.map +1 -1
  5. package/dist/cjs/Components/Drawers/Tabs/Scene.js +18 -13
  6. package/dist/cjs/Components/Drawers/Tabs/Scene.js.map +1 -1
  7. package/dist/cjs/Components/Drawers/Tabs/index.js +17 -12
  8. package/dist/cjs/Components/Drawers/Tabs/index.js.map +1 -1
  9. package/dist/cjs/Components/Drawers/index.js +16 -11
  10. package/dist/cjs/Components/Drawers/index.js.map +1 -1
  11. package/dist/cjs/Components/NativeWebAppBar/index.js +7 -5
  12. package/dist/cjs/Components/NativeWebAppBar/index.js.map +1 -1
  13. package/dist/cjs/Components/NativeWebDrawer/index.js +12 -10
  14. package/dist/cjs/Components/NativeWebDrawer/index.js.map +1 -1
  15. package/dist/cjs/Components/NativeWebDrawerBar/index.js +7 -5
  16. package/dist/cjs/Components/NativeWebDrawerBar/index.js.map +1 -1
  17. package/dist/cjs/Components/NativeWebTab/index.js +12 -10
  18. package/dist/cjs/Components/NativeWebTab/index.js.map +1 -1
  19. package/dist/cjs/Components/Tabs/Scene.js +12 -10
  20. package/dist/cjs/Components/Tabs/Scene.js.map +1 -1
  21. package/dist/cjs/Components/Tabs/index.js +17 -12
  22. package/dist/cjs/Components/Tabs/index.js.map +1 -1
  23. package/dist/cjs/Generics/NativeWebGateway/NativeWebGatewayDest.js +11 -9
  24. package/dist/cjs/Generics/NativeWebGateway/NativeWebGatewayDest.js.map +1 -1
  25. package/dist/cjs/Generics/NativeWebGateway/index.js +8 -1
  26. package/dist/cjs/Generics/NativeWebGateway/index.js.map +1 -1
  27. package/dist/cjs/Providers/index.js +7 -5
  28. package/dist/cjs/Providers/index.js.map +1 -1
  29. package/dist/cjs/ReactNativeWebDigest.js +14 -9
  30. package/dist/cjs/ReactNativeWebDigest.js.map +1 -1
  31. package/dist/cjs/Types.js +2 -1
  32. package/dist/cjs/index.js +34 -7
  33. package/dist/cjs/index.js.map +1 -1
  34. package/package.json +16 -16
@@ -1,18 +1,20 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { NativeWebGatewayDest } from '../../../../Generics/NativeWebGateway';
3
- import { useTabs } from '@dgui/react-shared';
4
- import { WebBaseHorse } from '@dgui/react-web-shared';
5
- import { memo, useMemo } from 'react';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const NativeWebGateway_1 = require("../../../../Generics/NativeWebGateway");
5
+ const react_shared_1 = require("@dgui/react-shared");
6
+ const react_web_shared_1 = require("@dgui/react-web-shared");
7
+ const react_1 = require("react");
6
8
  const Scene = ({ drawerId, tabId }) => {
7
- const tabs = useTabs();
9
+ const tabs = (0, react_shared_1.useTabs)();
8
10
  const { swipe } = tabs[tabId] ?? {};
9
- const gatewayId = useMemo(() => {
11
+ const gatewayId = (0, react_1.useMemo)(() => {
10
12
  return `drawer-${drawerId}-${tabId}`;
11
13
  }, []);
12
- return (_jsx(WebBaseHorse, { swipe: swipe, children: _jsx(NativeWebGatewayDest, { gatewayId: gatewayId }) }));
14
+ return ((0, jsx_runtime_1.jsx)(react_web_shared_1.WebBaseHorse, { swipe: swipe, children: (0, jsx_runtime_1.jsx)(NativeWebGateway_1.NativeWebGatewayDest, { gatewayId: gatewayId }) }));
13
15
  };
14
16
  Scene.displayName = 'NativeWebDrawersTabsSceneContextScene';
15
- const SceneSwiperSlide = memo(Scene);
17
+ const SceneSwiperSlide = (0, react_1.memo)(Scene);
16
18
  SceneSwiperSlide.displayName = 'SceneSwiperSlide';
17
- export default SceneSwiperSlide;
19
+ exports.default = SceneSwiperSlide;
18
20
  //# sourceMappingURL=Scene.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Scene.js","sourceRoot":"","sources":["../../../../../../src/Components/Drawers/Tabs/Context/Scene.tsx"],"names":[],"mappings":";AAMA,OAAO,EACL,oBAAoB,EACrB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,OAAO,EACR,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,YAAY,EACb,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,IAAI,EACJ,OAAO,EACR,MAAM,OAAO,CAAC;AAEf,MAAM,KAAK,GAAkC,CAC3C,EACE,QAAQ,EACR,KAAK,EACN,EACD,EAAE;IACF,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IAEvB,MAAM,EACJ,KAAK,EACN,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAEtB,MAAM,SAAS,GAAG,OAAO,CACvB,GAAG,EAAE;QACH,OAAO,UAAU,QAAQ,IAAI,KAAK,EAAE,CAAC;IACvC,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,KAAC,YAAY,IACX,KAAK,EAAE,KAAK,YAEZ,KAAC,oBAAoB,IACnB,SAAS,EAAE,SAAS,GACpB,GACW,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,KAAK,CAAC,WAAW,GAAG,uCAAuC,CAAC;AAE5D,MAAM,gBAAgB,GAAG,IAAI,CAC3B,KAAK,CACN,CAAC;AAOF,gBAAgB,CAAC,WAAW,GAAG,kBAAkB,CAAC;AAElD,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"Scene.js","sourceRoot":"","sources":["../../../../../../src/Components/Drawers/Tabs/Context/Scene.tsx"],"names":[],"mappings":";;;AAMA,4EAE+C;AAC/C,qDAE4B;AAC5B,6DAEgC;AAChC,iCAIe;AAEf,MAAM,KAAK,GAAkC,CAC3C,EACE,QAAQ,EACR,KAAK,EACN,EACD,EAAE;IACF,MAAM,IAAI,GAAG,IAAA,sBAAO,GAAE,CAAC;IAEvB,MAAM,EACJ,KAAK,EACN,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAEtB,MAAM,SAAS,GAAG,IAAA,eAAO,EACvB,GAAG,EAAE;QACH,OAAO,UAAU,QAAQ,IAAI,KAAK,EAAE,CAAC;IACvC,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,uBAAC,+BAAY,IACX,KAAK,EAAE,KAAK,YAEZ,uBAAC,uCAAoB,IACnB,SAAS,EAAE,SAAS,GACpB,GACW,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,KAAK,CAAC,WAAW,GAAG,uCAAuC,CAAC;AAE5D,MAAM,gBAAgB,GAAG,IAAA,YAAI,EAC3B,KAAK,CACN,CAAC;AAOF,gBAAgB,CAAC,WAAW,GAAG,kBAAkB,CAAC;AAElD,kBAAe,gBAAgB,CAAC"}
@@ -1,22 +1,27 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import Scene from './Scene';
3
- import { useSelectTab, useTabIndex, useTabOrder } from '@dgui/react-shared';
4
- import { WebBaseCarousel } from '@dgui/react-web-shared';
5
- import { memo, useMemo } from 'react';
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
+ const Scene_1 = __importDefault(require("./Scene"));
8
+ const react_shared_1 = require("@dgui/react-shared");
9
+ const react_web_shared_1 = require("@dgui/react-web-shared");
10
+ const react_1 = require("react");
6
11
  const Context = ({ drawerId }) => {
7
- const selectTab = useSelectTab();
8
- const tabIndex = useTabIndex();
9
- const tabOrder = useTabOrder();
10
- const tabs = useMemo(() => {
12
+ const selectTab = (0, react_shared_1.useSelectTab)();
13
+ const tabIndex = (0, react_shared_1.useTabIndex)();
14
+ const tabOrder = (0, react_shared_1.useTabOrder)();
15
+ const tabs = (0, react_1.useMemo)(() => {
11
16
  return tabOrder.map((tab) => {
12
- return (_jsx(Scene, { drawerId: drawerId, tabId: tab }, tab));
17
+ return ((0, jsx_runtime_1.jsx)(Scene_1.default, { drawerId: drawerId, tabId: tab }, tab));
13
18
  });
14
19
  }, [
15
20
  drawerId,
16
21
  tabOrder
17
22
  ]);
18
- return (_jsx(WebBaseCarousel, { onSelectTab: selectTab, swipe: false, tabIndex: tabIndex, children: tabs }));
23
+ return ((0, jsx_runtime_1.jsx)(react_web_shared_1.WebBaseCarousel, { onSelectTab: selectTab, swipe: false, tabIndex: tabIndex, children: tabs }));
19
24
  };
20
25
  Context.displayName = 'NativeWebDrawersTabsSceneContext';
21
- export default memo(Context);
26
+ exports.default = (0, react_1.memo)(Context);
22
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/Components/Drawers/Tabs/Context/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,EACL,YAAY,EACZ,WAAW,EACX,WAAW,EACZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,eAAe,EAChB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,IAAI,EACJ,OAAO,EACR,MAAM,OAAO,CAAC;AAEf,MAAM,OAAO,GAAoC,CAAC,EAChD,QAAQ,EACT,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,IAAI,GAAG,OAAO,CAClB,GAAG,EAAE;QACH,OAAO,QAAQ,CAAC,GAAG,CACjB,CAAC,GAAG,EAAE,EAAE;YACN,OAAO,CACL,KAAC,KAAK,IACJ,QAAQ,EAAE,QAAQ,EAElB,KAAK,EAAE,GAAG,IADL,GAAG,CAER,CACH,CAAC;QACJ,CAAC,CACF,CAAC;IACJ,CAAC,EACD;QACE,QAAQ;QACR,QAAQ;KACT,CACF,CAAC;IAEF,OAAO,CACL,KAAC,eAAe,IACd,WAAW,EAAE,SAAS,EACtB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,YAEjB,IAAI,GACW,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,CAAC,WAAW,GAAG,kCAAkC,CAAC;AAEzD,eAAe,IAAI,CAAC,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/Components/Drawers/Tabs/Context/index.tsx"],"names":[],"mappings":";;;;;;AAAA,oDAA4B;AAC5B,qDAI4B;AAC5B,6DAEgC;AAChC,iCAIe;AAEf,MAAM,OAAO,GAAoC,CAAC,EAChD,QAAQ,EACT,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,IAAA,2BAAY,GAAE,CAAC;IACjC,MAAM,QAAQ,GAAG,IAAA,0BAAW,GAAE,CAAC;IAC/B,MAAM,QAAQ,GAAG,IAAA,0BAAW,GAAE,CAAC;IAE/B,MAAM,IAAI,GAAG,IAAA,eAAO,EAClB,GAAG,EAAE;QACH,OAAO,QAAQ,CAAC,GAAG,CACjB,CAAC,GAAG,EAAE,EAAE;YACN,OAAO,CACL,uBAAC,eAAK,IACJ,QAAQ,EAAE,QAAQ,EAElB,KAAK,EAAE,GAAG,IADL,GAAG,CAER,CACH,CAAC;QACJ,CAAC,CACF,CAAC;IACJ,CAAC,EACD;QACE,QAAQ;QACR,QAAQ;KACT,CACF,CAAC;IAEF,OAAO,CACL,uBAAC,kCAAe,IACd,WAAW,EAAE,SAAS,EACtB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,YAEjB,IAAI,GACW,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,CAAC,WAAW,GAAG,kCAAkC,CAAC;AAEzD,kBAAe,IAAA,YAAI,EAAC,OAAO,CAAC,CAAC"}
@@ -1,21 +1,26 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { NativeWebGatewayDest } from '../../../Generics/NativeWebGateway';
3
- import Context from './Context';
4
- import { useDrawers } from '@dgui/react-shared';
5
- import { WebBaseHorse } from '@dgui/react-web-shared';
6
- import { memo, useMemo } from 'react';
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
+ const NativeWebGateway_1 = require("../../../Generics/NativeWebGateway");
8
+ const Context_1 = __importDefault(require("./Context"));
9
+ const react_shared_1 = require("@dgui/react-shared");
10
+ const react_web_shared_1 = require("@dgui/react-web-shared");
11
+ const react_1 = require("react");
7
12
  const Scene = ({ drawerId }) => {
8
- const drawers = useDrawers();
13
+ const drawers = (0, react_shared_1.useDrawers)();
9
14
  const { swipe, tabs } = drawers[drawerId] ?? {};
10
- const gatewayId = useMemo(() => {
15
+ const gatewayId = (0, react_1.useMemo)(() => {
11
16
  return `drawer-${drawerId}`;
12
17
  }, []);
13
- return (_jsx(WebBaseHorse, { swipe: swipe, children: tabs ?
14
- (_jsx(Context, { drawerId: drawerId })) :
15
- (_jsx(NativeWebGatewayDest, { gatewayId: gatewayId })) }));
18
+ return ((0, jsx_runtime_1.jsx)(react_web_shared_1.WebBaseHorse, { swipe: swipe, children: tabs ?
19
+ ((0, jsx_runtime_1.jsx)(Context_1.default, { drawerId: drawerId })) :
20
+ ((0, jsx_runtime_1.jsx)(NativeWebGateway_1.NativeWebGatewayDest, { gatewayId: gatewayId })) }));
16
21
  };
17
22
  Scene.displayName = 'NativeWebDrawersTabsScene';
18
- const SceneSwiperSlide = memo(Scene);
23
+ const SceneSwiperSlide = (0, react_1.memo)(Scene);
19
24
  SceneSwiperSlide.displayName = 'SceneSwiperSlide';
20
- export default SceneSwiperSlide;
25
+ exports.default = SceneSwiperSlide;
21
26
  //# sourceMappingURL=Scene.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Scene.js","sourceRoot":"","sources":["../../../../../src/Components/Drawers/Tabs/Scene.tsx"],"names":[],"mappings":";AAMA,OAAO,EACL,oBAAoB,EACrB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,EACL,UAAU,EACX,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,YAAY,EACb,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,IAAI,EACJ,OAAO,EACR,MAAM,OAAO,CAAC;AAEf,MAAM,KAAK,GAAkC,CAAC,EAC5C,QAAQ,EACT,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;IAE7B,MAAM,EACJ,KAAK,EACL,IAAI,EACL,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;IAE5B,MAAM,SAAS,GAAG,OAAO,CACvB,GAAG,EAAE;QACH,OAAO,UAAU,QAAQ,EAAE,CAAC;IAC9B,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,KAAC,YAAY,IACX,KAAK,EAAE,KAAK,YAGV,IAAI,CAAC,CAAC;YAEJ,CACE,KAAC,OAAO,IACN,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC,CAAC;YAEH,CACE,KAAC,oBAAoB,IACnB,SAAS,EAAE,SAAS,GACpB,CACH,GAEQ,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,KAAK,CAAC,WAAW,GAAG,2BAA2B,CAAC;AAEhD,MAAM,gBAAgB,GAAG,IAAI,CAC3B,KAAK,CACN,CAAC;AAMF,gBAAgB,CAAC,WAAW,GAAG,kBAAkB,CAAC;AAElD,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"Scene.js","sourceRoot":"","sources":["../../../../../src/Components/Drawers/Tabs/Scene.tsx"],"names":[],"mappings":";;;;;;AAMA,yEAE4C;AAC5C,wDAAgC;AAChC,qDAE4B;AAC5B,6DAEgC;AAChC,iCAIe;AAEf,MAAM,KAAK,GAAkC,CAAC,EAC5C,QAAQ,EACT,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,IAAA,yBAAU,GAAE,CAAC;IAE7B,MAAM,EACJ,KAAK,EACL,IAAI,EACL,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;IAE5B,MAAM,SAAS,GAAG,IAAA,eAAO,EACvB,GAAG,EAAE;QACH,OAAO,UAAU,QAAQ,EAAE,CAAC;IAC9B,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,uBAAC,+BAAY,IACX,KAAK,EAAE,KAAK,YAGV,IAAI,CAAC,CAAC;YAEJ,CACE,uBAAC,iBAAO,IACN,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC,CAAC;YAEH,CACE,uBAAC,uCAAoB,IACnB,SAAS,EAAE,SAAS,GACpB,CACH,GAEQ,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,KAAK,CAAC,WAAW,GAAG,2BAA2B,CAAC;AAEhD,MAAM,gBAAgB,GAAG,IAAA,YAAI,EAC3B,KAAK,CACN,CAAC;AAMF,gBAAgB,CAAC,WAAW,GAAG,kBAAkB,CAAC;AAElD,kBAAe,gBAAgB,CAAC"}
@@ -1,21 +1,26 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import Scene from './Scene';
3
- import { useDrawerIndex, useDrawerOrder, useSelectDrawer } from '@dgui/react-shared';
4
- import { WebBaseCarousel } from '@dgui/react-web-shared';
5
- import { memo, useMemo } from 'react';
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
+ const Scene_1 = __importDefault(require("./Scene"));
8
+ const react_shared_1 = require("@dgui/react-shared");
9
+ const react_web_shared_1 = require("@dgui/react-web-shared");
10
+ const react_1 = require("react");
6
11
  const Drawers = () => {
7
- const drawerOrder = useDrawerOrder();
8
- const drawerIndex = useDrawerIndex();
9
- const selectDrawer = useSelectDrawer();
10
- const drawers = useMemo(() => {
12
+ const drawerOrder = (0, react_shared_1.useDrawerOrder)();
13
+ const drawerIndex = (0, react_shared_1.useDrawerIndex)();
14
+ const selectDrawer = (0, react_shared_1.useSelectDrawer)();
15
+ const drawers = (0, react_1.useMemo)(() => {
11
16
  return drawerOrder.map((drawerId) => {
12
- return (_jsx(Scene, { drawerId: drawerId }, drawerId));
17
+ return ((0, jsx_runtime_1.jsx)(Scene_1.default, { drawerId: drawerId }, drawerId));
13
18
  });
14
19
  }, [
15
20
  drawerOrder
16
21
  ]);
17
- return (_jsx(WebBaseCarousel, { onSelectTab: selectDrawer, tabIndex: drawerIndex, children: drawers }));
22
+ return ((0, jsx_runtime_1.jsx)(react_web_shared_1.WebBaseCarousel, { onSelectTab: selectDrawer, tabIndex: drawerIndex, children: drawers }));
18
23
  };
19
24
  Drawers.displayName = 'NativeWebDrawersTabs';
20
- export default memo(Drawers);
25
+ exports.default = (0, react_1.memo)(Drawers);
21
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Drawers/Tabs/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,EACL,cAAc,EACd,cAAc,EACd,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,eAAe,EAChB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,IAAI,EACJ,OAAO,EACR,MAAM,OAAO,CAAC;AAEf,MAAM,OAAO,GAAmC,GAAG,EAAE;IACnD,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,YAAY,GAAG,eAAe,EAAE,CAAC;IAEvC,MAAM,OAAO,GAAG,OAAO,CACrB,GAAG,EAAE;QACH,OAAO,WAAW,CAAC,GAAG,CACpB,CAAC,QAAQ,EAAE,EAAE;YACX,OAAO,CACL,KAAC,KAAK,IACJ,QAAQ,EAAE,QAAQ,IACb,QAAQ,CACb,CACH,CAAC;QACJ,CAAC,CACF,CAAC;IACJ,CAAC,EACD;QACE,WAAW;KACZ,CACF,CAAC;IAEF,OAAO,CACL,KAAC,eAAe,IACd,WAAW,EAAE,YAAY,EACzB,QAAQ,EAAE,WAAW,YAEpB,OAAO,GACQ,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,CAAC,WAAW,GAAG,sBAAsB,CAAC;AAE7C,eAAe,IAAI,CAAC,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Drawers/Tabs/index.tsx"],"names":[],"mappings":";;;;;;AAAA,oDAA4B;AAC5B,qDAI4B;AAC5B,6DAEgC;AAChC,iCAIe;AAEf,MAAM,OAAO,GAAmC,GAAG,EAAE;IACnD,MAAM,WAAW,GAAG,IAAA,6BAAc,GAAE,CAAC;IACrC,MAAM,WAAW,GAAG,IAAA,6BAAc,GAAE,CAAC;IACrC,MAAM,YAAY,GAAG,IAAA,8BAAe,GAAE,CAAC;IAEvC,MAAM,OAAO,GAAG,IAAA,eAAO,EACrB,GAAG,EAAE;QACH,OAAO,WAAW,CAAC,GAAG,CACpB,CAAC,QAAQ,EAAE,EAAE;YACX,OAAO,CACL,uBAAC,eAAK,IACJ,QAAQ,EAAE,QAAQ,IACb,QAAQ,CACb,CACH,CAAC;QACJ,CAAC,CACF,CAAC;IACJ,CAAC,EACD;QACE,WAAW;KACZ,CACF,CAAC;IAEF,OAAO,CACL,uBAAC,kCAAe,IACd,WAAW,EAAE,YAAY,EACzB,QAAQ,EAAE,WAAW,YAEpB,OAAO,GACQ,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,CAAC,WAAW,GAAG,sBAAsB,CAAC;AAE7C,kBAAe,IAAA,YAAI,EAAC,OAAO,CAAC,CAAC"}
@@ -1,16 +1,21 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { NativeWebGatewayDest as GatewayDestination } from '../../Generics/NativeWebGateway';
3
- import Tabs from './Tabs';
4
- import { NativeBaseDrawers as SideDrawers } from '@dgui/react-native-shared';
5
- import { useDrawerOpen } from '@dgui/react-shared';
6
- import { useMemo } from 'react';
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
+ const NativeWebGateway_1 = require("../../Generics/NativeWebGateway");
8
+ const Tabs_1 = __importDefault(require("./Tabs"));
9
+ const react_native_shared_1 = require("@dgui/react-native-shared");
10
+ const react_shared_1 = require("@dgui/react-shared");
11
+ const react_1 = require("react");
7
12
  const Drawers = (props) => {
8
- const drawerOpen = useDrawerOpen();
9
- const appBar = useMemo(() => {
10
- return (_jsxs(_Fragment, { children: [_jsx(GatewayDestination, { gatewayId: 'ReactNativeWebDigestDrawerBar' }), _jsx(Tabs, {})] }));
13
+ const drawerOpen = (0, react_shared_1.useDrawerOpen)();
14
+ const appBar = (0, react_1.useMemo)(() => {
15
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(NativeWebGateway_1.NativeWebGatewayDest, { gatewayId: 'ReactNativeWebDigestDrawerBar' }), (0, jsx_runtime_1.jsx)(Tabs_1.default, {})] }));
11
16
  }, []);
12
- return (_jsx(SideDrawers, { drawerContent: appBar, open: drawerOpen, ...props }));
17
+ return ((0, jsx_runtime_1.jsx)(react_native_shared_1.NativeBaseDrawers, { drawerContent: appBar, open: drawerOpen, ...props }));
13
18
  };
14
19
  Drawers.displayName = 'NativeWebDrawers';
15
- export default Drawers;
20
+ exports.default = Drawers;
16
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Components/Drawers/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,oBAAoB,IAAI,kBAAkB,EAC3C,MAAM,iCAAiC,CAAC;AAIzC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EACL,iBAAiB,IAAI,WAAW,EACjC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAGL,OAAO,EACR,MAAM,OAAO,CAAC;AAMf,MAAM,OAAO,GAAoC,CAC/C,KAAK,EACL,EAAE;IACF,MAAM,UAAU,GAAG,aAAa,EAAE,CAAC;IAEnC,MAAM,MAAM,GAAG,OAAO,CACpB,GAAG,EAAE;QACH,OAAO,CACL,8BACE,KAAC,kBAAkB,IACjB,SAAS,EAAC,+BAA+B,GACzC,EACF,KAAC,IAAI,KAAG,IACP,CACJ,CAAC;IACJ,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,KAAC,WAAW,IACV,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,UAAU,KACZ,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,CAAC,WAAW,GAAG,kBAAkB,CAAC;AAEzC,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Components/Drawers/index.tsx"],"names":[],"mappings":";;;;;;AAAA,sEAEyC;AAIzC,kDAA0B;AAC1B,mEAEmC;AACnC,qDAE4B;AAC5B,iCAIe;AAMf,MAAM,OAAO,GAAoC,CAC/C,KAAK,EACL,EAAE;IACF,MAAM,UAAU,GAAG,IAAA,4BAAa,GAAE,CAAC;IAEnC,MAAM,MAAM,GAAG,IAAA,eAAO,EACpB,GAAG,EAAE;QACH,OAAO,CACL,6DACE,uBAAC,uCAAkB,IACjB,SAAS,EAAC,+BAA+B,GACzC,EACF,uBAAC,cAAI,KAAG,IACP,CACJ,CAAC;IACJ,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,uBAAC,uCAAW,IACV,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,UAAU,KACZ,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,CAAC,WAAW,GAAG,kBAAkB,CAAC;AAEzC,kBAAe,OAAO,CAAC"}
@@ -1,9 +1,11 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { AppBar as SharedAppBar } from '@dgui/react-native-shared';
3
- import { WebBaseGateway } from '@dgui/react-web-shared';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const react_native_shared_1 = require("@dgui/react-native-shared");
5
+ const react_web_shared_1 = require("@dgui/react-web-shared");
4
6
  const NativeWebAppBar = ({ children }) => {
5
- return (_jsx(WebBaseGateway, { gatewayId: 'ReactNativeWebDigestAppBar', children: children ?? _jsx(SharedAppBar, {}) }));
7
+ return ((0, jsx_runtime_1.jsx)(react_web_shared_1.WebBaseGateway, { gatewayId: 'ReactNativeWebDigestAppBar', children: children ?? (0, jsx_runtime_1.jsx)(react_native_shared_1.AppBar, {}) }));
6
8
  };
7
9
  NativeWebAppBar.displayName = 'NativeWebAppBar';
8
- export default NativeWebAppBar;
10
+ exports.default = NativeWebAppBar;
9
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Components/NativeWebAppBar/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EACL,MAAM,IAAI,YAAY,EACvB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,cAAc,EACf,MAAM,wBAAwB,CAAC;AAKhC,MAAM,eAAe,GAAuD,CAAC,EAC3E,QAAQ,EACT,EAAE,EAAE;IACH,OAAO,CACL,KAAC,cAAc,IACb,SAAS,EAAC,4BAA4B,YAErC,QAAQ,IAAI,KAAC,YAAY,KAAG,GACd,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAEhD,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Components/NativeWebAppBar/index.tsx"],"names":[],"mappings":";;;AAGA,mEAEmC;AACnC,6DAEgC;AAKhC,MAAM,eAAe,GAAuD,CAAC,EAC3E,QAAQ,EACT,EAAE,EAAE;IACH,OAAO,CACL,uBAAC,iCAAc,IACb,SAAS,EAAC,4BAA4B,YAErC,QAAQ,IAAI,uBAAC,4BAAY,KAAG,GACd,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAEhD,kBAAe,eAAe,CAAC"}
@@ -1,9 +1,11 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useAddDrawer, useRemoveDrawer } from '@dgui/react-shared';
3
- import { WebBaseGateway } from '@dgui/react-web-shared';
4
- import { useEffect, useMemo } from 'react';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const react_shared_1 = require("@dgui/react-shared");
5
+ const react_web_shared_1 = require("@dgui/react-web-shared");
6
+ const react_1 = require("react");
5
7
  const NativeWebDrawer = ({ children, ...props }) => {
6
- const { drawerId, gatewayId } = useMemo(() => {
8
+ const { drawerId, gatewayId } = (0, react_1.useMemo)(() => {
7
9
  return {
8
10
  drawerId: props.drawerId,
9
11
  gatewayId: props.tabId ?
@@ -11,16 +13,16 @@ const NativeWebDrawer = ({ children, ...props }) => {
11
13
  `drawer-${props.drawerId}`
12
14
  };
13
15
  }, []);
14
- const addDrawer = useAddDrawer();
15
- const removeDrawer = useRemoveDrawer();
16
- useEffect(() => {
16
+ const addDrawer = (0, react_shared_1.useAddDrawer)();
17
+ const removeDrawer = (0, react_shared_1.useRemoveDrawer)();
18
+ (0, react_1.useEffect)(() => {
17
19
  addDrawer(props);
18
20
  return () => {
19
21
  removeDrawer(drawerId);
20
22
  };
21
23
  }, []);
22
- return (_jsx(WebBaseGateway, { gatewayId: gatewayId, children: children }));
24
+ return ((0, jsx_runtime_1.jsx)(react_web_shared_1.WebBaseGateway, { gatewayId: gatewayId, children: children }));
23
25
  };
24
26
  NativeWebDrawer.displayName = 'NativeWebDrawer';
25
- export default NativeWebDrawer;
27
+ exports.default = NativeWebDrawer;
26
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Components/NativeWebDrawer/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EACL,YAAY,EACZ,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,cAAc,EACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,SAAS,EACT,OAAO,EACR,MAAM,OAAO,CAAC;AAEf,MAAM,eAAe,GAAuD,CAAC,EAC3E,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,EAAE;IAGH,MAAM,EACJ,QAAQ,EACR,SAAS,EACV,GAAG,OAAO,CACT,GAAG,EAAE;QACH,OAAO;YACL,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;gBACtB,UAAU,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;gBAC3C,UAAU,KAAK,CAAC,QAAQ,EAAE;SAC7B,CAAC;IACJ,CAAC,EACD,EAAE,CACH,CAAC;IAEF,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,YAAY,GAAG,eAAe,EAAE,CAAC;IAEvC,SAAS,CACP,GAAG,EAAE;QACH,SAAS,CAAC,KAAK,CAAC,CAAC;QAEjB,OAAO,GAAG,EAAE;YACV,YAAY,CACV,QAAQ,CACT,CAAC;QACJ,CAAC,CAAC;IACJ,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,KAAC,cAAc,IACb,SAAS,EAAE,SAAS,YAEnB,QAAQ,GACM,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAEhD,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Components/NativeWebDrawer/index.tsx"],"names":[],"mappings":";;;AAGA,qDAG4B;AAC5B,6DAEgC;AAChC,iCAIe;AAEf,MAAM,eAAe,GAAuD,CAAC,EAC3E,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,EAAE;IAGH,MAAM,EACJ,QAAQ,EACR,SAAS,EACV,GAAG,IAAA,eAAO,EACT,GAAG,EAAE;QACH,OAAO;YACL,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;gBACtB,UAAU,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;gBAC3C,UAAU,KAAK,CAAC,QAAQ,EAAE;SAC7B,CAAC;IACJ,CAAC,EACD,EAAE,CACH,CAAC;IAEF,MAAM,SAAS,GAAG,IAAA,2BAAY,GAAE,CAAC;IACjC,MAAM,YAAY,GAAG,IAAA,8BAAe,GAAE,CAAC;IAEvC,IAAA,iBAAS,EACP,GAAG,EAAE;QACH,SAAS,CAAC,KAAK,CAAC,CAAC;QAEjB,OAAO,GAAG,EAAE;YACV,YAAY,CACV,QAAQ,CACT,CAAC;QACJ,CAAC,CAAC;IACJ,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,uBAAC,iCAAc,IACb,SAAS,EAAE,SAAS,YAEnB,QAAQ,GACM,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAEhD,kBAAe,eAAe,CAAC"}
@@ -1,9 +1,11 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { DrawerBar as SharedDrawerBar } from '@dgui/react-native-shared';
3
- import { WebBaseGateway } from '@dgui/react-web-shared';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const react_native_shared_1 = require("@dgui/react-native-shared");
5
+ const react_web_shared_1 = require("@dgui/react-web-shared");
4
6
  const NativeWebDrawerBar = ({ children }) => {
5
- return (_jsx(WebBaseGateway, { gatewayId: 'ReactNativeWebDigestDrawerBar', children: children ?? _jsx(SharedDrawerBar, {}) }));
7
+ return ((0, jsx_runtime_1.jsx)(react_web_shared_1.WebBaseGateway, { gatewayId: 'ReactNativeWebDigestDrawerBar', children: children ?? (0, jsx_runtime_1.jsx)(react_native_shared_1.DrawerBar, {}) }));
6
8
  };
7
9
  NativeWebDrawerBar.displayName = 'NativeWebDrawerBar';
8
- export default NativeWebDrawerBar;
10
+ exports.default = NativeWebDrawerBar;
9
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Components/NativeWebDrawerBar/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EACL,SAAS,IAAI,eAAe,EAC7B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,cAAc,EACf,MAAM,wBAAwB,CAAC;AAKhC,MAAM,kBAAkB,GAA0D,CAAC,EACjF,QAAQ,EACT,EAAE,EAAE;IACH,OAAO,CACL,KAAC,cAAc,IACb,SAAS,EAAC,+BAA+B,YAExC,QAAQ,IAAI,KAAC,eAAe,KAAG,GACjB,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAkB,CAAC,WAAW,GAAG,oBAAoB,CAAC;AAEtD,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Components/NativeWebDrawerBar/index.tsx"],"names":[],"mappings":";;;AAGA,mEAEmC;AACnC,6DAEgC;AAKhC,MAAM,kBAAkB,GAA0D,CAAC,EACjF,QAAQ,EACT,EAAE,EAAE;IACH,OAAO,CACL,uBAAC,iCAAc,IACb,SAAS,EAAC,+BAA+B,YAExC,QAAQ,IAAI,uBAAC,+BAAe,KAAG,GACjB,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAkB,CAAC,WAAW,GAAG,oBAAoB,CAAC;AAEtD,kBAAe,kBAAkB,CAAC"}
@@ -1,24 +1,26 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useAddTab, useRemoveTab } from '@dgui/react-shared';
3
- import { WebBaseGateway } from '@dgui/react-web-shared';
4
- import { useEffect, useMemo } from 'react';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const react_shared_1 = require("@dgui/react-shared");
5
+ const react_web_shared_1 = require("@dgui/react-web-shared");
6
+ const react_1 = require("react");
5
7
  const NativeWebTab = ({ children, ...props }) => {
6
- const { gatewayId, tabId } = useMemo(() => {
8
+ const { gatewayId, tabId } = (0, react_1.useMemo)(() => {
7
9
  return {
8
10
  gatewayId: `tab-${props.tabId}`,
9
11
  tabId: props.tabId
10
12
  };
11
13
  }, []);
12
- const addTab = useAddTab();
13
- const removeTab = useRemoveTab();
14
- useEffect(() => {
14
+ const addTab = (0, react_shared_1.useAddTab)();
15
+ const removeTab = (0, react_shared_1.useRemoveTab)();
16
+ (0, react_1.useEffect)(() => {
15
17
  addTab(props);
16
18
  return () => {
17
19
  removeTab(tabId);
18
20
  };
19
21
  }, []);
20
- return (_jsx(WebBaseGateway, { gatewayId: gatewayId, children: children }));
22
+ return ((0, jsx_runtime_1.jsx)(react_web_shared_1.WebBaseGateway, { gatewayId: gatewayId, children: children }));
21
23
  };
22
24
  NativeWebTab.displayName = 'NativeWebTab';
23
- export default NativeWebTab;
25
+ exports.default = NativeWebTab;
24
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Components/NativeWebTab/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EACL,SAAS,EACT,YAAY,EACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,cAAc,EACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,SAAS,EACT,OAAO,EACR,MAAM,OAAO,CAAC;AAEf,MAAM,YAAY,GAAoD,CAAC,EACrE,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,EAAE;IAGH,MAAM,EACJ,SAAS,EACT,KAAK,EACN,GAAG,OAAO,CACT,GAAG,EAAE;QACH,OAAO;YACL,SAAS,EAAE,OAAO,KAAK,CAAC,KAAK,EAAE;YAC/B,KAAK,EAAE,KAAK,CAAC,KAAK;SACnB,CAAC;IACJ,CAAC,EACD,EAAE,CACH,CAAC;IAEF,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IAEjC,SAAS,CACP,GAAG,EAAE;QACH,MAAM,CAAC,KAAK,CAAC,CAAC;QAEd,OAAO,GAAG,EAAE;YACV,SAAS,CACP,KAAK,CACN,CAAC;QACJ,CAAC,CAAC;IACJ,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,KAAC,cAAc,IACb,SAAS,EAAE,SAAS,YAEnB,QAAQ,GACM,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAE1C,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Components/NativeWebTab/index.tsx"],"names":[],"mappings":";;;AAGA,qDAG4B;AAC5B,6DAEgC;AAChC,iCAIe;AAEf,MAAM,YAAY,GAAoD,CAAC,EACrE,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,EAAE;IAGH,MAAM,EACJ,SAAS,EACT,KAAK,EACN,GAAG,IAAA,eAAO,EACT,GAAG,EAAE;QACH,OAAO;YACL,SAAS,EAAE,OAAO,KAAK,CAAC,KAAK,EAAE;YAC/B,KAAK,EAAE,KAAK,CAAC,KAAK;SACnB,CAAC;IACJ,CAAC,EACD,EAAE,CACH,CAAC;IAEF,MAAM,MAAM,GAAG,IAAA,wBAAS,GAAE,CAAC;IAC3B,MAAM,SAAS,GAAG,IAAA,2BAAY,GAAE,CAAC;IAEjC,IAAA,iBAAS,EACP,GAAG,EAAE;QACH,MAAM,CAAC,KAAK,CAAC,CAAC;QAEd,OAAO,GAAG,EAAE;YACV,SAAS,CACP,KAAK,CACN,CAAC;QACJ,CAAC,CAAC;IACJ,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,uBAAC,iCAAc,IACb,SAAS,EAAE,SAAS,YAEnB,QAAQ,GACM,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAE1C,kBAAe,YAAY,CAAC"}
@@ -1,17 +1,19 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { NativeWebGatewayDest as GatewayDestination } from '../../Generics/NativeWebGateway';
3
- import { useTabs } from '@dgui/react-shared';
4
- import { WebBaseHorse } from '@dgui/react-web-shared';
5
- import { memo, useMemo } from 'react';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const NativeWebGateway_1 = require("../../Generics/NativeWebGateway");
5
+ const react_shared_1 = require("@dgui/react-shared");
6
+ const react_web_shared_1 = require("@dgui/react-web-shared");
7
+ const react_1 = require("react");
6
8
  const Scene = ({ tabId }) => {
7
- const tabs = useTabs();
9
+ const tabs = (0, react_shared_1.useTabs)();
8
10
  const { swipe } = tabs[tabId] ?? {};
9
- const gatewayId = useMemo(() => {
11
+ const gatewayId = (0, react_1.useMemo)(() => {
10
12
  return `tab-${tabId}`;
11
13
  }, []);
12
- return (_jsx(WebBaseHorse, { swipe: swipe, children: _jsx(GatewayDestination, { gatewayId: gatewayId }) }));
14
+ return ((0, jsx_runtime_1.jsx)(react_web_shared_1.WebBaseHorse, { swipe: swipe, children: (0, jsx_runtime_1.jsx)(NativeWebGateway_1.NativeWebGatewayDest, { gatewayId: gatewayId }) }));
13
15
  };
14
- const SceneSwiperSlide = memo(Scene);
16
+ const SceneSwiperSlide = (0, react_1.memo)(Scene);
15
17
  SceneSwiperSlide.displayName = 'SceneSwiperSlide';
16
- export default SceneSwiperSlide;
18
+ exports.default = SceneSwiperSlide;
17
19
  //# sourceMappingURL=Scene.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Scene.js","sourceRoot":"","sources":["../../../../src/Components/Tabs/Scene.tsx"],"names":[],"mappings":";AAKA,OAAO,EACL,oBAAoB,IAAI,kBAAkB,EAC3C,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,OAAO,EACR,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,YAAY,EACb,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,IAAI,EACJ,OAAO,EACR,MAAM,OAAO,CAAC;AAEf,MAAM,KAAK,GAAkC,CAAC,EAC5C,KAAK,EACN,EAAE,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IAEvB,MAAM,EACJ,KAAK,EACN,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAEtB,MAAM,SAAS,GAAG,OAAO,CACvB,GAAG,EAAE;QACH,OAAO,OAAO,KAAK,EAAE,CAAC;IACxB,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,KAAC,YAAY,IACX,KAAK,EAAE,KAAK,YAEZ,KAAC,kBAAkB,IACjB,SAAS,EAAE,SAAS,GACpB,GACW,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,IAAI,CAC3B,KAAK,CACN,CAAC;AAMF,gBAAgB,CAAC,WAAW,GAAG,kBAAkB,CAAC;AAElD,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"Scene.js","sourceRoot":"","sources":["../../../../src/Components/Tabs/Scene.tsx"],"names":[],"mappings":";;;AAKA,sEAEyC;AACzC,qDAE4B;AAC5B,6DAEgC;AAChC,iCAIe;AAEf,MAAM,KAAK,GAAkC,CAAC,EAC5C,KAAK,EACN,EAAE,EAAE;IACH,MAAM,IAAI,GAAG,IAAA,sBAAO,GAAE,CAAC;IAEvB,MAAM,EACJ,KAAK,EACN,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAEtB,MAAM,SAAS,GAAG,IAAA,eAAO,EACvB,GAAG,EAAE;QACH,OAAO,OAAO,KAAK,EAAE,CAAC;IACxB,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,uBAAC,+BAAY,IACX,KAAK,EAAE,KAAK,YAEZ,uBAAC,uCAAkB,IACjB,SAAS,EAAE,SAAS,GACpB,GACW,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,IAAA,YAAI,EAC3B,KAAK,CACN,CAAC;AAMF,gBAAgB,CAAC,WAAW,GAAG,kBAAkB,CAAC;AAElD,kBAAe,gBAAgB,CAAC"}
@@ -1,21 +1,26 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import Scene from './Scene';
3
- import { useSelectTab, useTabIndex, useTabOrder } from '@dgui/react-shared';
4
- import { WebBaseCarousel } from '@dgui/react-web-shared';
5
- import { memo, useMemo } from 'react';
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
+ const Scene_1 = __importDefault(require("./Scene"));
8
+ const react_shared_1 = require("@dgui/react-shared");
9
+ const react_web_shared_1 = require("@dgui/react-web-shared");
10
+ const react_1 = require("react");
6
11
  const Tabs = ({ swipe }) => {
7
- const selectTab = useSelectTab();
8
- const tabIndex = useTabIndex();
9
- const tabOrder = useTabOrder();
10
- const tabs = useMemo(() => {
12
+ const selectTab = (0, react_shared_1.useSelectTab)();
13
+ const tabIndex = (0, react_shared_1.useTabIndex)();
14
+ const tabOrder = (0, react_shared_1.useTabOrder)();
15
+ const tabs = (0, react_1.useMemo)(() => {
11
16
  const orderedTabs = tabOrder.map((tab) => {
12
- return (_jsx(Scene, { tabId: tab }, tab));
17
+ return ((0, jsx_runtime_1.jsx)(Scene_1.default, { tabId: tab }, tab));
13
18
  });
14
19
  return orderedTabs;
15
20
  }, [
16
21
  tabOrder
17
22
  ]);
18
- return (_jsx(WebBaseCarousel, { onSelectTab: selectTab, swipe: swipe, tabIndex: tabIndex, children: tabs }));
23
+ return ((0, jsx_runtime_1.jsx)(react_web_shared_1.WebBaseCarousel, { onSelectTab: selectTab, swipe: swipe, tabIndex: tabIndex, children: tabs }));
19
24
  };
20
- export default memo(Tabs);
25
+ exports.default = (0, react_1.memo)(Tabs);
21
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Components/Tabs/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,EACL,YAAY,EACZ,WAAW,EACX,WAAW,EACZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,eAAe,EAChB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,IAAI,EACJ,OAAO,EACR,MAAM,OAAO,CAAC;AAEf,MAAM,IAAI,GAAgC,CAAC,EACzC,KAAK,EACN,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,IAAI,GAAG,OAAO,CAClB,GAAG,EAAE;QACH,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,CAC9B,CAAC,GAAG,EAAE,EAAE;YACN,OAAO,CACL,KAAC,KAAK,IAEJ,KAAK,EAAE,GAAG,IADL,GAAG,CAER,CACH,CAAC;QACJ,CAAC,CACF,CAAC;QAEF,OAAO,WAAW,CAAC;IACrB,CAAC,EACD;QACE,QAAQ;KACT,CACF,CAAC;IAEF,OAAO,CACL,KAAC,eAAe,IACd,WAAW,EAAE,SAAS,EACtB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,YAEjB,IAAI,GACW,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,IAAI,CAAC,IAAI,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Components/Tabs/index.tsx"],"names":[],"mappings":";;;;;;AAAA,oDAA4B;AAC5B,qDAI4B;AAC5B,6DAEgC;AAChC,iCAIe;AAEf,MAAM,IAAI,GAAgC,CAAC,EACzC,KAAK,EACN,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,IAAA,2BAAY,GAAE,CAAC;IACjC,MAAM,QAAQ,GAAG,IAAA,0BAAW,GAAE,CAAC;IAC/B,MAAM,QAAQ,GAAG,IAAA,0BAAW,GAAE,CAAC;IAE/B,MAAM,IAAI,GAAG,IAAA,eAAO,EAClB,GAAG,EAAE;QACH,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,CAC9B,CAAC,GAAG,EAAE,EAAE;YACN,OAAO,CACL,uBAAC,eAAK,IAEJ,KAAK,EAAE,GAAG,IADL,GAAG,CAER,CACH,CAAC;QACJ,CAAC,CACF,CAAC;QAEF,OAAO,WAAW,CAAC;IACrB,CAAC,EACD;QACE,QAAQ;KACT,CACF,CAAC;IAEF,OAAO,CACL,uBAAC,kCAAe,IACd,WAAW,EAAE,SAAS,EACtB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,YAEjB,IAAI,GACW,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,IAAA,YAAI,EAAC,IAAI,CAAC,CAAC"}
@@ -1,18 +1,20 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { WebBaseGatewayContext } from '@dgui/react-web-shared';
3
- import { useContext, useEffect, useRef } from 'react';
4
- import { View } from 'react-native';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const react_web_shared_1 = require("@dgui/react-web-shared");
5
+ const react_1 = require("react");
6
+ const react_native_1 = require("react-native");
5
7
  const NativeWebGatewayDest = ({ gatewayId, style }) => {
6
- const ref = useRef(null);
7
- const gatewayRegistry = useContext(WebBaseGatewayContext);
8
- useEffect(() => {
8
+ const ref = (0, react_1.useRef)(null);
9
+ const gatewayRegistry = (0, react_1.useContext)(react_web_shared_1.WebBaseGatewayContext);
10
+ (0, react_1.useEffect)(() => {
9
11
  gatewayRegistry?.addRef(gatewayId, ref);
10
12
  return () => {
11
13
  gatewayRegistry?.removeRef(gatewayId);
12
14
  };
13
15
  }, []);
14
- return (_jsx(View, { ref: ref, style: style }));
16
+ return ((0, jsx_runtime_1.jsx)(react_native_1.View, { ref: ref, style: style }));
15
17
  };
16
18
  NativeWebGatewayDest.displayName = 'NativeWebGatewayDest';
17
- export default NativeWebGatewayDest;
19
+ exports.default = NativeWebGatewayDest;
18
20
  //# sourceMappingURL=NativeWebGatewayDest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NativeWebGatewayDest.js","sourceRoot":"","sources":["../../../../src/Generics/NativeWebGateway/NativeWebGatewayDest.tsx"],"names":[],"mappings":";AAQA,OAAO,EACL,qBAAqB,EACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,UAAU,EACV,SAAS,EACT,MAAM,EACP,MAAM,OAAO,CAAC;AACf,OAAO,EACL,IAAI,EAGL,MAAM,cAAc,CAAC;AAEtB,MAAM,oBAAoB,GAAiD,CAAC,EAC1E,SAAS,EACT,KAAK,EACN,EAAE,EAAE;IACH,MAAM,GAAG,GAAG,MAAM,CAAc,IAAI,CAAC,CAAC;IAEtC,MAAM,eAAe,GAAG,UAAU,CAAC,qBAAqB,CAAC,CAAC;IAE1D,SAAS,CACP,GAAG,EAAE;QACH,eAAe,EAAE,MAAM,CACrB,SAAS,EACT,GAAG,CACJ,CAAC;QAEF,OAAO,GAAG,EAAE;YACV,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACxC,CAAC,CAAC;IACJ,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,KAAC,IAAI,IACH,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,oBAAoB,CAAC,WAAW,GAAG,sBAAsB,CAAC;AAE1D,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"NativeWebGatewayDest.js","sourceRoot":"","sources":["../../../../src/Generics/NativeWebGateway/NativeWebGatewayDest.tsx"],"names":[],"mappings":";;;AAQA,6DAEgC;AAChC,iCAKe;AACf,+CAIsB;AAEtB,MAAM,oBAAoB,GAAiD,CAAC,EAC1E,SAAS,EACT,KAAK,EACN,EAAE,EAAE;IACH,MAAM,GAAG,GAAG,IAAA,cAAM,EAAc,IAAI,CAAC,CAAC;IAEtC,MAAM,eAAe,GAAG,IAAA,kBAAU,EAAC,wCAAqB,CAAC,CAAC;IAE1D,IAAA,iBAAS,EACP,GAAG,EAAE;QACH,eAAe,EAAE,MAAM,CACrB,SAAS,EACT,GAAG,CACJ,CAAC;QAEF,OAAO,GAAG,EAAE;YACV,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACxC,CAAC,CAAC;IACJ,CAAC,EACD,EAAE,CACH,CAAC;IAEF,OAAO,CACL,uBAAC,mBAAI,IACH,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,oBAAoB,CAAC,WAAW,GAAG,sBAAsB,CAAC;AAE1D,kBAAe,oBAAoB,CAAC"}
@@ -1,2 +1,9 @@
1
- export { default as NativeWebGatewayDest } from './NativeWebGatewayDest';
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.NativeWebGatewayDest = void 0;
7
+ var NativeWebGatewayDest_1 = require("./NativeWebGatewayDest");
8
+ Object.defineProperty(exports, "NativeWebGatewayDest", { enumerable: true, get: function () { return __importDefault(NativeWebGatewayDest_1).default; } });
2
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Generics/NativeWebGateway/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,oBAAoB,EAEhC,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Generics/NativeWebGateway/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAGgC;AAF9B,6IAAA,OAAO,OAAwB"}
@@ -1,9 +1,11 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Providers as BaseProviders } from '@dgui/react-shared';
3
- import { WebBaseGatewayProvider } from '@dgui/react-web-shared';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const react_shared_1 = require("@dgui/react-shared");
5
+ const react_web_shared_1 = require("@dgui/react-web-shared");
4
6
  const Providers = ({ children, drawerIndex, drawerOpen, onDrawerToggle, onSelectDrawer, onSelectTab, tabIndex }) => {
5
- return (_jsx(BaseProviders, { drawerIndex: drawerIndex, drawerOpen: drawerOpen, onDrawerToggle: onDrawerToggle, onSelectDrawer: onSelectDrawer, onSelectTab: onSelectTab, tabIndex: tabIndex, children: _jsx(WebBaseGatewayProvider, { children: children }) }));
7
+ return ((0, jsx_runtime_1.jsx)(react_shared_1.Providers, { drawerIndex: drawerIndex, drawerOpen: drawerOpen, onDrawerToggle: onDrawerToggle, onSelectDrawer: onSelectDrawer, onSelectTab: onSelectTab, tabIndex: tabIndex, children: (0, jsx_runtime_1.jsx)(react_web_shared_1.WebBaseGatewayProvider, { children: children }) }));
6
8
  };
7
9
  Providers.displayName = 'NativeWebProviders';
8
- export default Providers;
10
+ exports.default = Providers;
9
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Providers/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,SAAS,IAAI,aAAa,EAE3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,sBAAsB,EACvB,MAAM,wBAAwB,CAAC;AAMhC,MAAM,SAAS,GAAsC,CAAC,EACpD,QAAQ,EACR,WAAW,EACX,UAAU,EACV,cAAc,EACd,cAAc,EACd,WAAW,EACX,QAAQ,EACT,EAAE,EAAE;IACH,OAAO,CACL,KAAC,aAAa,IACZ,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,EAC9B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,YAElB,KAAC,sBAAsB,cACpB,QAAQ,GACc,GACX,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,SAAS,CAAC,WAAW,GAAG,oBAAoB,CAAC;AAE7C,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Providers/index.tsx"],"names":[],"mappings":";;;AAAA,qDAG4B;AAC5B,6DAEgC;AAMhC,MAAM,SAAS,GAAsC,CAAC,EACpD,QAAQ,EACR,WAAW,EACX,UAAU,EACV,cAAc,EACd,cAAc,EACd,WAAW,EACX,QAAQ,EACT,EAAE,EAAE;IACH,OAAO,CACL,uBAAC,wBAAa,IACZ,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,EAC9B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,YAElB,uBAAC,yCAAsB,cACpB,QAAQ,GACc,GACX,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,SAAS,CAAC,WAAW,GAAG,oBAAoB,CAAC;AAE7C,kBAAe,SAAS,CAAC"}
@@ -1,15 +1,20 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import Drawers from './Components/Drawers';
3
- import Tabs from './Components/Tabs';
4
- import { NativeWebGatewayDest as GatewayDestination } from './Generics/NativeWebGateway';
5
- import Providers from './Providers';
6
- import { StyleSheet } from 'react-native';
7
- const styles = StyleSheet.create({
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
+ const Drawers_1 = __importDefault(require("./Components/Drawers"));
8
+ const Tabs_1 = __importDefault(require("./Components/Tabs"));
9
+ const NativeWebGateway_1 = require("./Generics/NativeWebGateway");
10
+ const Providers_1 = __importDefault(require("./Providers"));
11
+ const react_native_1 = require("react-native");
12
+ const styles = react_native_1.StyleSheet.create({
8
13
  appbar: {}
9
14
  });
10
15
  const ReactNativeWebDigest = ({ children, drawerAnimationTime, drawerIndex, drawerOpacity, drawerOpen, drawerPosition, drawerStyle, drawerWidth, onDrawerToggle, onSelectDrawer, onSelectTab, swipe, tabIndex }) => {
11
- return (_jsxs(Providers, { drawerIndex: drawerIndex, drawerOpen: drawerOpen, onDrawerToggle: onDrawerToggle, onSelectDrawer: onSelectDrawer, onSelectTab: onSelectTab, tabIndex: tabIndex, children: [_jsx(GatewayDestination, { gatewayId: 'ReactNativeWebDigestAppBar', style: styles.appbar }), _jsx(Drawers, { animationTime: drawerAnimationTime, opacity: drawerOpacity, position: drawerPosition, style: drawerStyle, width: drawerWidth, children: _jsx(Tabs, { swipe: swipe }) }), children] }));
16
+ return ((0, jsx_runtime_1.jsxs)(Providers_1.default, { drawerIndex: drawerIndex, drawerOpen: drawerOpen, onDrawerToggle: onDrawerToggle, onSelectDrawer: onSelectDrawer, onSelectTab: onSelectTab, tabIndex: tabIndex, children: [(0, jsx_runtime_1.jsx)(NativeWebGateway_1.NativeWebGatewayDest, { gatewayId: 'ReactNativeWebDigestAppBar', style: styles.appbar }), (0, jsx_runtime_1.jsx)(Drawers_1.default, { animationTime: drawerAnimationTime, opacity: drawerOpacity, position: drawerPosition, style: drawerStyle, width: drawerWidth, children: (0, jsx_runtime_1.jsx)(Tabs_1.default, { swipe: swipe }) }), children] }));
12
17
  };
13
18
  ReactNativeWebDigest.displayName = 'ReactNativeWebDigest';
14
- export default ReactNativeWebDigest;
19
+ exports.default = ReactNativeWebDigest;
15
20
  //# sourceMappingURL=ReactNativeWebDigest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReactNativeWebDigest.js","sourceRoot":"","sources":["../../src/ReactNativeWebDigest.tsx"],"names":[],"mappings":";AAAA,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,IAAI,MAAM,mBAAmB,CAAC;AACrC,OAAO,EACL,oBAAoB,IAAI,kBAAkB,EAC3C,MAAM,6BAA6B,CAAC;AACrC,OAAO,SAAS,MAAM,aAAa,CAAC;AAOpC,OAAO,EACL,UAAU,EAEX,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAE/B,MAAM,EAAE,EAAE;CACX,CAAC,CAAC;AAEH,MAAM,oBAAoB,GAAiD,CAAC,EAC1E,QAAQ,EACR,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,UAAU,EACV,cAAc,EACd,WAAW,EACX,WAAW,EACX,cAAc,EACd,cAAc,EACd,WAAW,EACX,KAAK,EACL,QAAQ,EACT,EAAE,EAAE;IACH,OAAO,CACL,MAAC,SAAS,IACR,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,EAC9B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,aAElB,KAAC,kBAAkB,IACjB,SAAS,EAAC,4BAA4B,EACtC,KAAK,EAAE,MAAM,CAAC,MAAM,GACpB,EACF,KAAC,OAAO,IACN,aAAa,EAAE,mBAAmB,EAClC,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,cAAc,EACxB,KAAK,EAAE,WAAwB,EAC/B,KAAK,EAAE,WAAW,YAElB,KAAC,IAAI,IACH,KAAK,EAAE,KAAK,GACZ,GACM,EACT,QAAQ,IACC,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,oBAAoB,CAAC,WAAW,GAAG,sBAAsB,CAAC;AAE1D,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"ReactNativeWebDigest.js","sourceRoot":"","sources":["../../src/ReactNativeWebDigest.tsx"],"names":[],"mappings":";;;;;;AAAA,mEAA2C;AAC3C,6DAAqC;AACrC,kEAEqC;AACrC,4DAAoC;AAOpC,+CAGsB;AAEtB,MAAM,MAAM,GAAG,yBAAU,CAAC,MAAM,CAAC;IAE/B,MAAM,EAAE,EAAE;CACX,CAAC,CAAC;AAEH,MAAM,oBAAoB,GAAiD,CAAC,EAC1E,QAAQ,EACR,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,UAAU,EACV,cAAc,EACd,WAAW,EACX,WAAW,EACX,cAAc,EACd,cAAc,EACd,WAAW,EACX,KAAK,EACL,QAAQ,EACT,EAAE,EAAE;IACH,OAAO,CACL,wBAAC,mBAAS,IACR,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,EAC9B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,aAElB,uBAAC,uCAAkB,IACjB,SAAS,EAAC,4BAA4B,EACtC,KAAK,EAAE,MAAM,CAAC,MAAM,GACpB,EACF,uBAAC,iBAAO,IACN,aAAa,EAAE,mBAAmB,EAClC,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,cAAc,EACxB,KAAK,EAAE,WAAwB,EAC/B,KAAK,EAAE,WAAW,YAElB,uBAAC,cAAI,IACH,KAAK,EAAE,KAAK,GACZ,GACM,EACT,QAAQ,IACC,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,oBAAoB,CAAC,WAAW,GAAG,sBAAsB,CAAC;AAE1D,kBAAe,oBAAoB,CAAC"}
package/dist/cjs/Types.js CHANGED
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=Types.js.map
package/dist/cjs/index.js CHANGED
@@ -1,8 +1,35 @@
1
- export { default as ReactNativeWebDigestAppBar } from './Components/NativeWebAppBar';
2
- export { default as ReactNativeWebDigestDrawer } from './Components/NativeWebDrawer';
3
- export { default as ReactNativeWebDigestDrawerBar } from './Components/NativeWebDrawerBar';
4
- export { default as ReactNativeWebDigestTab } from './Components/NativeWebTab';
5
- export { default as ReactNativeWebDigest } from './ReactNativeWebDigest';
6
- export * from '@dgui/react-shared';
7
- export { WebBaseCarousel as NativeWebCarousel, WebBaseHorse as NativeWebHorse } from '@dgui/react-web-shared';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ var __importDefault = (this && this.__importDefault) || function (mod) {
17
+ return (mod && mod.__esModule) ? mod : { "default": mod };
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.NativeWebHorse = exports.NativeWebCarousel = exports.ReactNativeWebDigest = exports.ReactNativeWebDigestTab = exports.ReactNativeWebDigestDrawerBar = exports.ReactNativeWebDigestDrawer = exports.ReactNativeWebDigestAppBar = void 0;
21
+ var NativeWebAppBar_1 = require("./Components/NativeWebAppBar");
22
+ Object.defineProperty(exports, "ReactNativeWebDigestAppBar", { enumerable: true, get: function () { return __importDefault(NativeWebAppBar_1).default; } });
23
+ var NativeWebDrawer_1 = require("./Components/NativeWebDrawer");
24
+ Object.defineProperty(exports, "ReactNativeWebDigestDrawer", { enumerable: true, get: function () { return __importDefault(NativeWebDrawer_1).default; } });
25
+ var NativeWebDrawerBar_1 = require("./Components/NativeWebDrawerBar");
26
+ Object.defineProperty(exports, "ReactNativeWebDigestDrawerBar", { enumerable: true, get: function () { return __importDefault(NativeWebDrawerBar_1).default; } });
27
+ var NativeWebTab_1 = require("./Components/NativeWebTab");
28
+ Object.defineProperty(exports, "ReactNativeWebDigestTab", { enumerable: true, get: function () { return __importDefault(NativeWebTab_1).default; } });
29
+ var ReactNativeWebDigest_1 = require("./ReactNativeWebDigest");
30
+ Object.defineProperty(exports, "ReactNativeWebDigest", { enumerable: true, get: function () { return __importDefault(ReactNativeWebDigest_1).default; } });
31
+ __exportStar(require("@dgui/react-shared"), exports);
32
+ var react_web_shared_1 = require("@dgui/react-web-shared");
33
+ Object.defineProperty(exports, "NativeWebCarousel", { enumerable: true, get: function () { return react_web_shared_1.WebBaseCarousel; } });
34
+ Object.defineProperty(exports, "NativeWebHorse", { enumerable: true, get: function () { return react_web_shared_1.WebBaseHorse; } });
8
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,0BAA0B,EACtC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,OAAO,IAAI,0BAA0B,EACtC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,OAAO,IAAI,6BAA6B,EACzC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,OAAO,IAAI,uBAAuB,EACnC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,OAAO,IAAI,oBAAoB,EAChC,MAAM,wBAAwB,CAAC;AAEhC,cAAc,oBAAoB,CAAC;AACnC,OAAO,EACL,eAAe,IAAI,iBAAiB,EAEpC,YAAY,IAAI,cAAc,EAE/B,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,gEAEsC;AADpC,8IAAA,OAAO,OAA8B;AAEvC,gEAEsC;AADpC,8IAAA,OAAO,OAA8B;AAEvC,sEAEyC;AADvC,oJAAA,OAAO,OAAiC;AAE1C,0DAEmC;AADjC,wIAAA,OAAO,OAA2B;AAEpC,+DAEgC;AAD9B,6IAAA,OAAO,OAAwB;AAGjC,qDAAmC;AACnC,2DAKgC;AAJ9B,qHAAA,eAAe,OAAqB;AAEpC,kHAAA,YAAY,OAAkB"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dgui/react-native-web",
3
3
  "title": "Digested React GUI Native Web Components",
4
4
  "license": "LGPL-3.0-or-later",
5
- "version": "1.8.3",
5
+ "version": "1.8.5",
6
6
  "private": false,
7
7
  "description": "Native Web Components for a boilerplate React GUI",
8
8
  "author": "wallzero @wallzeroblog (http://wallzero.com)",
@@ -45,39 +45,39 @@
45
45
  "clean:dist": "rimraf dist"
46
46
  },
47
47
  "devDependencies": {
48
- "@digest/eslint-config-jest": "^4.14.14",
49
- "@digest/eslint-config-react": "^4.14.14",
50
- "@digest/eslint-config-typescript": "^4.14.14",
51
- "@digest/jest-junit": "^4.14.14",
52
- "@digest/jest-react": "^4.14.14",
53
- "@digest/jest-typescript": "^4.14.14",
54
- "@digest/typescript": "^4.14.14",
48
+ "@digest/eslint-config-jest": "^4.14.16",
49
+ "@digest/eslint-config-react": "^4.14.16",
50
+ "@digest/eslint-config-typescript": "^4.14.16",
51
+ "@digest/jest-junit": "^4.14.16",
52
+ "@digest/jest-react": "^4.14.16",
53
+ "@digest/jest-typescript": "^4.14.16",
54
+ "@digest/typescript": "^4.14.16",
55
55
  "@types/jest": "^30.0.0",
56
56
  "@types/react": "^19.2.14",
57
57
  "@types/react-native": "^0.73.0",
58
58
  "@types/react-test-renderer": "^19.1.0",
59
59
  "cross-env": "^10.1.0",
60
- "jest-environment-jsdom": "^30.2.0",
60
+ "jest-environment-jsdom": "^30.3.0",
61
61
  "jest-environment-jsdom-global": "^4.0.0",
62
62
  "npm-run-all": "^4.1.5",
63
63
  "react": "^19.2.4",
64
64
  "react-dom": "^19.2.4",
65
- "react-native": "^0.84.0",
65
+ "react-native": "^0.84.1",
66
66
  "react-native-web": "^0.21.2",
67
67
  "react-test-renderer": "^19.2.4",
68
68
  "rimraf": "^6.1.3"
69
69
  },
70
70
  "dependencies": {
71
- "@dgui/react-native-shared": "^1.8.3",
72
- "@dgui/react-shared": "^1.8.3",
73
- "@dgui/react-web-shared": "^1.8.3"
71
+ "@dgui/react-native-shared": "^1.8.5",
72
+ "@dgui/react-shared": "^1.8.5",
73
+ "@dgui/react-web-shared": "^1.8.5"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "react": "^18.0.0 || ^19.0.0",
77
77
  "react-dom": "^18.0.0 || ^19.0.0",
78
- "react-native": "^0.83.0",
78
+ "react-native": "^0.84.0",
79
79
  "react-native-web": "^0.21.0",
80
- "swiper": "^12.0.0"
80
+ "swiper": "^12.1.2"
81
81
  },
82
82
  "keywords": [
83
83
  "digest",
@@ -89,5 +89,5 @@
89
89
  "react-native-web",
90
90
  "typescript"
91
91
  ],
92
- "gitHead": "c40f5763e568ce7bd36518a97361ece8d730c330"
92
+ "gitHead": "cbce957f6788a84d0b93534464b0c03d07ef5a86"
93
93
  }