@flamingo-stack/openframe-frontend-core 0.0.721 → 0.0.722
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/dist/assets/index.cjs +0 -6
- package/dist/assets/index.d.ts +0 -1
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +1 -5
- package/dist/{chunk-KFOAV77K.js → chunk-5D2K7TFT.js} +1 -1
- package/dist/{chunk-NMPVK53I.cjs → chunk-5K6YKRP5.cjs} +23 -23
- package/dist/{chunk-S63QBBT7.js → chunk-65C4WHG4.js} +5 -5
- package/dist/{chunk-XE2K53GH.cjs → chunk-6HRQLM6T.cjs} +17 -17
- package/dist/{chunk-NPSJE7J3.js → chunk-7UZ2JZJY.js} +2 -2
- package/dist/{chunk-7Z5FMQYR.cjs → chunk-ABSWD4PQ.cjs} +14 -14
- package/dist/{chunk-RCI3PALX.js → chunk-AWWLEYAU.js} +6 -6
- package/dist/{chunk-NJ5TBTJG.js → chunk-BCU6UUNQ.js} +5 -5
- package/dist/{chunk-3LY7V3RF.js → chunk-BUDZWXRG.js} +2 -2
- package/dist/{chunk-UZTOI6FJ.cjs → chunk-DWSBTGKT.cjs} +590 -598
- package/dist/{chunk-QQCFPMAA.js → chunk-DX3W7DPC.js} +1 -1
- package/dist/{chunk-HXB7SEYG.js → chunk-E7NIZXDT.js} +7 -16
- package/dist/{chunk-74N742ZG.js → chunk-ETQVXIYW.js} +4 -4
- package/dist/{chunk-742BGXNX.js → chunk-EWED6ISQ.js} +1 -1
- package/dist/{chunk-LAXKEBDD.js → chunk-F33RMJOL.js} +7 -7
- package/dist/{chunk-QLTXT562.cjs → chunk-FDWYBJYD.cjs} +6 -6
- package/dist/{chunk-6AJIOW3S.cjs → chunk-GAFK3WNT.cjs} +37 -37
- package/dist/{chunk-3R32ZNA2.cjs → chunk-GYSTZD6X.cjs} +35 -35
- package/dist/{chunk-57UTI7ZH.js → chunk-HA2ASGJM.js} +4 -4
- package/dist/{chunk-OKE5BIQH.cjs → chunk-HP4UUBJC.cjs} +8 -8
- package/dist/{chunk-CO3FOZIH.js → chunk-I3UUMRO7.js} +1 -1
- package/dist/{chunk-ZLUFEWZZ.js → chunk-IF72N4PE.js} +6 -6
- package/dist/{chunk-GCK75D7F.cjs → chunk-IITZ6JSC.cjs} +28 -28
- package/dist/{chunk-QYS4YVEP.cjs → chunk-JQ55FFIK.cjs} +31 -31
- package/dist/{chunk-2P2M27EW.js → chunk-KBPGSPXQ.js} +13 -21
- package/dist/{chunk-JDBZ4ZHU.js → chunk-KS3YLYVL.js} +2 -2
- package/dist/{chunk-RJMWJAJO.cjs → chunk-KWBH63GV.cjs} +19 -19
- package/dist/{chunk-IYVFSLWJ.js → chunk-KZQO5EJQ.js} +4 -0
- package/dist/{chunk-IMTY3GRR.cjs → chunk-LV6UJD2K.cjs} +2 -2
- package/dist/{chunk-XXO52RZR.cjs → chunk-MJ4SXOG2.cjs} +18 -18
- package/dist/{chunk-BYVVE7HP.cjs → chunk-NFABAOMD.cjs} +34 -36
- package/dist/{chunk-UXU7Y5BH.js → chunk-NMGWNUKB.js} +3 -3
- package/dist/{chunk-HJMSNOBT.cjs → chunk-P7Y626YJ.cjs} +258 -267
- package/dist/{chunk-RQZQHLNS.cjs → chunk-RVQV6J5K.cjs} +66 -66
- package/dist/{chunk-E6SMMMKV.js → chunk-SZ3CBFSH.js} +9 -9
- package/dist/{chunk-LGKMR7NZ.js → chunk-SZF7ENIW.js} +3 -3
- package/dist/{chunk-F5BPGWGT.cjs → chunk-TKFTWM3V.cjs} +5 -1
- package/dist/{chunk-GYAXV3MZ.js → chunk-UYMTAFHG.js} +4 -6
- package/dist/{chunk-F7ORKKEF.cjs → chunk-VC7COEWF.cjs} +83 -83
- package/dist/{chunk-44Q6MV7C.js → chunk-VSYQJCNR.js} +1 -1
- package/dist/{chunk-O5EHOJZD.cjs → chunk-VU7RU3LL.cjs} +7 -7
- package/dist/{chunk-D2DH6VZL.cjs → chunk-VV5INIQB.cjs} +3 -3
- package/dist/{chunk-I2254QN6.cjs → chunk-VYHCN5NU.cjs} +3 -3
- package/dist/{chunk-ZZEKXGFS.js → chunk-WY4SLTMZ.js} +2 -2
- package/dist/{chunk-LODMNSQY.cjs → chunk-XJYAUIOL.cjs} +11 -11
- package/dist/{chunk-GGBYZKMS.cjs → chunk-XR7NVJXS.cjs} +5 -5
- package/dist/{chunk-VFICDEYJ.cjs → chunk-ZHC6MDGF.cjs} +41 -41
- package/dist/{chunk-5QXE5HMV.js → chunk-ZMHP4Y6M.js} +3 -3
- package/dist/{cloud-tenants-Q4TCJS5Y.js → cloud-tenants-4Z36KWSX.js} +9 -9
- package/dist/{cloud-tenants-HZHKRUIW.cjs → cloud-tenants-5NIC5VXK.cjs} +10 -10
- package/dist/components/case-studies/index.cjs +23 -23
- package/dist/components/case-studies/index.js +10 -10
- package/dist/components/chat/index.cjs +7 -7
- package/dist/components/chat/index.js +6 -6
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/contact/index.js +10 -10
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/docs/index.js +13 -13
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/embeds/index.js +10 -10
- package/dist/components/faq/index.cjs +11 -11
- package/dist/components/faq/index.js +10 -10
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/index.js +9 -9
- package/dist/components/features/remote-session/remote-access-request-card.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.d.ts +19 -6
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +145 -130
- package/dist/components/help-center-pages/index.d.ts +1 -1
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +59 -44
- package/dist/components/index.cjs +64 -64
- package/dist/components/index.js +21 -21
- package/dist/components/meeting-scheduler/index.cjs +47 -47
- package/dist/components/meeting-scheduler/index.js +9 -9
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/navigation/index.js +12 -12
- package/dist/components/onboarding-guides/index.cjs +13 -13
- package/dist/components/onboarding-guides/index.js +12 -12
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/index.js +8 -8
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/tickets/index.cjs +14 -14
- package/dist/components/tickets/index.js +13 -13
- package/dist/components/ui/index.cjs +10 -10
- package/dist/components/ui/index.js +9 -9
- package/dist/components/ui/mobile-app-qr.d.ts +13 -15
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -1
- package/dist/{devices-NOUGVTES.js → devices-2TK3LAKM.js} +9 -9
- package/dist/{devices-6XHUFIC6.cjs → devices-7IKT72DK.cjs} +11 -11
- package/dist/index.cjs +16 -24
- package/dist/index.js +15 -23
- package/dist/{knowledge-2YTUXQ2Z.js → knowledge-3GJ4MU3V.js} +9 -9
- package/dist/{knowledge-ANEKPMO2.cjs → knowledge-HYSEV35H.cjs} +11 -11
- package/dist/{logs-WVQIONUT.js → logs-TATVM62H.js} +9 -9
- package/dist/{logs-U3IB3HUM.cjs → logs-ZX3NADQC.cjs} +18 -18
- package/dist/{policies-UFRN2EQF.cjs → policies-J4FSDKPI.cjs} +14 -14
- package/dist/{policies-66EGDW2H.js → policies-MRRKLF4Q.js} +9 -9
- package/dist/{remote-session-6WEUJZDC.js → remote-session-WCLR47RN.js} +4 -4
- package/dist/{remote-session-A75X5NPC.cjs → remote-session-Z2YCUPHU.cjs} +6 -6
- package/dist/{software-update-2MHKL76D.cjs → software-update-CXUBWYD2.cjs} +14 -14
- package/dist/{software-update-3ZD3MXF3.js → software-update-KM46WUVQ.js} +9 -9
- package/dist/{tickets-board-IFWMIZ35.cjs → tickets-board-R5OQSEEC.cjs} +8 -8
- package/dist/{tickets-board-MYXG3V72.js → tickets-board-U3RF3AO4.js} +3 -3
- package/dist/types/downloads.d.ts +16 -0
- package/dist/types/downloads.d.ts.map +1 -1
- package/dist/utils/format.d.ts +11 -0
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/index.cjs +4 -9
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +4 -7
- package/dist/utils/mobile-app.cjs +0 -9
- package/dist/utils/mobile-app.d.ts +8 -25
- package/dist/utils/mobile-app.d.ts.map +1 -1
- package/dist/utils/mobile-app.js +1 -7
- package/package.json +1 -1
- package/src/assets/index.ts +0 -1
- package/src/components/features/remote-session/remote-access-request-card.tsx +6 -6
- package/src/components/help-center-pages/download-apps-page.tsx +53 -29
- package/src/components/help-center-pages/index.ts +1 -1
- package/src/components/ui/mobile-app-qr.tsx +17 -22
- package/src/types/downloads.ts +17 -0
- package/src/utils/format.ts +15 -0
- package/src/utils/index.ts +1 -1
- package/src/utils/mobile-app.ts +8 -31
- package/dist/assets/mobile-app-qr.d.ts +0 -17
- package/dist/assets/mobile-app-qr.d.ts.map +0 -1
- package/src/assets/mobile-app-qr.ts +0 -19
|
@@ -17,7 +17,7 @@ export { ProductReleasesListPage, type ProductReleasesListPageProps } from './pr
|
|
|
17
17
|
export { DeliveryPage, type DeliveryPageProps } from './delivery-page';
|
|
18
18
|
export { OnboardingGuidesCatalogPage, type OnboardingGuidesCatalogPageProps } from './onboarding-guides-catalog-page';
|
|
19
19
|
export { TrustCenterPage, TrustCenterPageSkeleton, type TrustCenterPageProps } from './trust-center-page';
|
|
20
|
-
export { DownloadAppsPage, type DownloadAppsPageProps } from './download-apps-page';
|
|
20
|
+
export { DownloadAppsPage, type DownloadAppsPageProps, type DownloadAppsWebOption } from './download-apps-page';
|
|
21
21
|
export { FaqDocumentPage, type FaqDocumentPageProps } from '../faq';
|
|
22
22
|
export { LegalDocumentPage, type LegalDocumentPageProps } from '../shared/legal-document';
|
|
23
23
|
export { ReleaseDetailPage, type ReleaseDetailPageProps, type VideoDisplaySectionProps, } from '../shared/product-release';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/help-center-pages/index.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AAIH,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,KAAK,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAC1G,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,KAAK,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AACtH,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC1G,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/help-center-pages/index.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AAIH,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,KAAK,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAC1G,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,KAAK,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AACtH,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC1G,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAGhH,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC1F,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,yBAAyB,EAAE,KAAK,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -6,38 +6,38 @@ import {
|
|
|
6
6
|
ProductReleasesView,
|
|
7
7
|
ReleaseDetailPage,
|
|
8
8
|
RoadmapView
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-F33RMJOL.js";
|
|
10
10
|
import {
|
|
11
11
|
DocsHubPage
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
12
|
+
} from "../../chunk-IF72N4PE.js";
|
|
13
|
+
import "../../chunk-BUDZWXRG.js";
|
|
14
14
|
import "../../chunk-6YBUQAOH.js";
|
|
15
15
|
import {
|
|
16
16
|
FaqDocumentPage,
|
|
17
17
|
FaqSection
|
|
18
|
-
} from "../../chunk-
|
|
18
|
+
} from "../../chunk-HA2ASGJM.js";
|
|
19
19
|
import {
|
|
20
20
|
StickySectionNav,
|
|
21
21
|
useScrollSpy
|
|
22
|
-
} from "../../chunk-
|
|
22
|
+
} from "../../chunk-VSYQJCNR.js";
|
|
23
23
|
import {
|
|
24
24
|
HelpCenterList
|
|
25
|
-
} from "../../chunk-
|
|
25
|
+
} from "../../chunk-SZ3CBFSH.js";
|
|
26
26
|
import {
|
|
27
27
|
ContactForm
|
|
28
|
-
} from "../../chunk-
|
|
28
|
+
} from "../../chunk-ETQVXIYW.js";
|
|
29
29
|
import {
|
|
30
30
|
DevSectionPage,
|
|
31
31
|
ListEmptyState
|
|
32
|
-
} from "../../chunk-
|
|
32
|
+
} from "../../chunk-65C4WHG4.js";
|
|
33
33
|
import "../../chunk-K76ACBR3.js";
|
|
34
|
-
import "../../chunk-
|
|
34
|
+
import "../../chunk-I3UUMRO7.js";
|
|
35
35
|
import {
|
|
36
36
|
OnboardingGuideDetailView,
|
|
37
37
|
OnboardingGuidesCatalogView
|
|
38
|
-
} from "../../chunk-
|
|
39
|
-
import "../../chunk-
|
|
40
|
-
import "../../chunk-
|
|
38
|
+
} from "../../chunk-AWWLEYAU.js";
|
|
39
|
+
import "../../chunk-NMGWNUKB.js";
|
|
40
|
+
import "../../chunk-SZF7ENIW.js";
|
|
41
41
|
import {
|
|
42
42
|
CommandBox,
|
|
43
43
|
ComplianceLogo,
|
|
@@ -50,14 +50,14 @@ import {
|
|
|
50
50
|
StatusIndicator,
|
|
51
51
|
StoreBadgeLinks,
|
|
52
52
|
TabNavigation
|
|
53
|
-
} from "../../chunk-
|
|
54
|
-
import "../../chunk-
|
|
53
|
+
} from "../../chunk-KBPGSPXQ.js";
|
|
54
|
+
import "../../chunk-KS3YLYVL.js";
|
|
55
55
|
import "../../chunk-LQYXMEYF.js";
|
|
56
56
|
import "../../chunk-4JPLYOS6.js";
|
|
57
57
|
import {
|
|
58
58
|
EntityImage,
|
|
59
59
|
PageLayout
|
|
60
|
-
} from "../../chunk-
|
|
60
|
+
} from "../../chunk-UYMTAFHG.js";
|
|
61
61
|
import {
|
|
62
62
|
useCopyToClipboard,
|
|
63
63
|
useDownloads,
|
|
@@ -69,23 +69,20 @@ import "../../chunk-YYYVS7CX.js";
|
|
|
69
69
|
import "../../chunk-3UBWDR65.js";
|
|
70
70
|
import "../../chunk-PLWMIU72.js";
|
|
71
71
|
import {
|
|
72
|
-
DOWNLOAD_PAGE_STORE_PARAM,
|
|
73
|
-
MOBILE_APP_INSTALL_HOST_PATH,
|
|
74
72
|
ScrollShadow,
|
|
75
73
|
TextSkeleton,
|
|
76
74
|
UnifiedSkeleton,
|
|
77
75
|
getFlagFromCountryName,
|
|
78
|
-
resolveMobileStoreUrl,
|
|
79
76
|
useIsHydrated
|
|
80
|
-
} from "../../chunk-
|
|
81
|
-
import "../../chunk-
|
|
77
|
+
} from "../../chunk-E7NIZXDT.js";
|
|
78
|
+
import "../../chunk-5D2K7TFT.js";
|
|
82
79
|
import "../../chunk-AFTRPEXO.js";
|
|
83
80
|
import {
|
|
84
81
|
Modal,
|
|
85
82
|
ModalContent,
|
|
86
83
|
ModalHeader,
|
|
87
84
|
ModalTitle
|
|
88
|
-
} from "../../chunk-
|
|
85
|
+
} from "../../chunk-WY4SLTMZ.js";
|
|
89
86
|
import "../../chunk-REETLEL5.js";
|
|
90
87
|
import {
|
|
91
88
|
DESKTOP_OSES,
|
|
@@ -120,12 +117,14 @@ import {
|
|
|
120
117
|
trustFrameworkBadge,
|
|
121
118
|
trustFrameworkMonitoringEntry,
|
|
122
119
|
useSelfFetch
|
|
123
|
-
} from "../../chunk-
|
|
120
|
+
} from "../../chunk-7UZ2JZJY.js";
|
|
124
121
|
import "../../chunk-H3PKYE4N.js";
|
|
125
122
|
import {
|
|
126
123
|
brandLogoForName
|
|
127
|
-
} from "../../chunk-
|
|
128
|
-
import
|
|
124
|
+
} from "../../chunk-EWED6ISQ.js";
|
|
125
|
+
import {
|
|
126
|
+
formatUrlForDisplay
|
|
127
|
+
} from "../../chunk-KZQO5EJQ.js";
|
|
129
128
|
import "../../chunk-FBZMAPWO.js";
|
|
130
129
|
import "../../chunk-FSQQZFVG.js";
|
|
131
130
|
import "../../chunk-E4ABZWTJ.js";
|
|
@@ -867,7 +866,6 @@ function TrustCenterPageSkeleton({
|
|
|
867
866
|
}
|
|
868
867
|
|
|
869
868
|
// src/components/help-center-pages/download-apps-page.tsx
|
|
870
|
-
import { useEffect as useEffect2 } from "react";
|
|
871
869
|
import { Fragment as Fragment3, jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
872
870
|
var SECTIONS_CLASS = "flex flex-col gap-[var(--spacing-system-xlf)]";
|
|
873
871
|
var SECTION_CLASS = "flex flex-col gap-[var(--spacing-system-lf)]";
|
|
@@ -955,6 +953,22 @@ function SystemCard({
|
|
|
955
953
|
) })
|
|
956
954
|
] });
|
|
957
955
|
}
|
|
956
|
+
function WebCard({ web }) {
|
|
957
|
+
return /* @__PURE__ */ jsxs7(
|
|
958
|
+
"section",
|
|
959
|
+
{
|
|
960
|
+
"aria-labelledby": "download-web",
|
|
961
|
+
className: cn(CARD_CLASS, "content-md:flex-row content-md:items-center content-md:justify-between"),
|
|
962
|
+
children: [
|
|
963
|
+
/* @__PURE__ */ jsxs7("div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
964
|
+
/* @__PURE__ */ jsx7("h2", { id: "download-web", className: "m-0 text-ods-text-primary text-h3", children: web.title }),
|
|
965
|
+
/* @__PURE__ */ jsx7("p", { className: "m-0 text-ods-text-secondary text-h4", children: web.description })
|
|
966
|
+
] }),
|
|
967
|
+
/* @__PURE__ */ jsx7("div", { className: "shrink-0", children: web.action })
|
|
968
|
+
]
|
|
969
|
+
}
|
|
970
|
+
);
|
|
971
|
+
}
|
|
958
972
|
function CardsSkeleton({ label }) {
|
|
959
973
|
return /* @__PURE__ */ jsx7("div", { className: CARDS_GRID_CLASS, "aria-busy": "true", "aria-label": label, children: [0, 1].map((card) => /* @__PURE__ */ jsxs7("div", { className: CARD_CLASS, children: [
|
|
960
974
|
/* @__PURE__ */ jsx7(UnifiedSkeleton, { className: "h-6 w-32 rounded" }),
|
|
@@ -982,18 +996,13 @@ function DownloadAppsPage({
|
|
|
982
996
|
showDesktop = true,
|
|
983
997
|
openStoresInNewTab = true,
|
|
984
998
|
onDownloadAction,
|
|
985
|
-
|
|
999
|
+
web
|
|
986
1000
|
}) {
|
|
987
1001
|
const { data, isLoading, error, reload } = useDownloads({ endpoint, initialData });
|
|
988
1002
|
const systems = showDesktop && data ? rowsBySystem(data.desktop) : [];
|
|
989
1003
|
const mobile = data?.mobile ?? null;
|
|
990
1004
|
const hasMobile = !!mobile && (!!mobile.appStoreUrl || !!mobile.googlePlayUrl);
|
|
991
1005
|
const offersDesktop = showDesktop && (!data || systems.length > 0);
|
|
992
|
-
useEffect2(() => {
|
|
993
|
-
if (!mobile || !new URLSearchParams(window.location.search).has(DOWNLOAD_PAGE_STORE_PARAM)) return;
|
|
994
|
-
const storeUrl = resolveMobileStoreUrl(mobile, navigator.userAgent, navigator.maxTouchPoints);
|
|
995
|
-
if (storeUrl) window.location.replace(storeUrl);
|
|
996
|
-
}, [mobile]);
|
|
997
1006
|
let body;
|
|
998
1007
|
if (error && !data) {
|
|
999
1008
|
body = /* @__PURE__ */ jsx7(LoadError, { message: "Could not load the downloads", onRetry: reload });
|
|
@@ -1005,7 +1014,7 @@ function DownloadAppsPage({
|
|
|
1005
1014
|
} else {
|
|
1006
1015
|
body = /* @__PURE__ */ jsxs7(Fragment3, { children: [
|
|
1007
1016
|
systems.length > 0 && /* @__PURE__ */ jsx7(Section, { id: "download-desktop", title: "Desktop app", children: /* @__PURE__ */ jsx7("div", { className: cardsGridClass(systems.length), children: systems.map((system) => /* @__PURE__ */ jsx7(SystemCard, { system, onDownloadAction }, system.os)) }) }),
|
|
1008
|
-
mobile && hasMobile && /* @__PURE__ */ jsx7(Section, { id: "download-mobile", title: "Mobile app", children: /* @__PURE__ */ jsxs7("div", { className:
|
|
1017
|
+
mobile && hasMobile && /* @__PURE__ */ jsx7(Section, { id: "download-mobile", title: "Mobile app", children: /* @__PURE__ */ jsxs7("div", { className: cardsGridClass(mobile.install ? 2 : 1), children: [
|
|
1009
1018
|
/* @__PURE__ */ jsxs7("div", { className: CARD_CLASS, children: [
|
|
1010
1019
|
/* @__PURE__ */ jsx7(CardHeader, { title: storeCardTitle(mobile) }),
|
|
1011
1020
|
/* @__PURE__ */ jsx7("p", { className: "m-0 text-ods-text-secondary text-h4", children: "Get alerts and respond to tickets on the go." }),
|
|
@@ -1018,17 +1027,23 @@ function DownloadAppsPage({
|
|
|
1018
1027
|
}
|
|
1019
1028
|
)
|
|
1020
1029
|
] }),
|
|
1021
|
-
/* @__PURE__ */ jsxs7(
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1030
|
+
mobile.install && /* @__PURE__ */ jsxs7(
|
|
1031
|
+
"div",
|
|
1032
|
+
{
|
|
1033
|
+
className: cn(CARD_CLASS, "content-md:flex-row content-md:items-center content-md:justify-between"),
|
|
1034
|
+
children: [
|
|
1035
|
+
/* @__PURE__ */ jsxs7("div", { className: "flex flex-col gap-[var(--spacing-system-sf)]", children: [
|
|
1036
|
+
/* @__PURE__ */ jsx7(CardHeader, { title: "Scan with your phone" }),
|
|
1037
|
+
/* @__PURE__ */ jsxs7("p", { className: "m-0 text-ods-text-secondary text-h4", children: [
|
|
1038
|
+
"Point your camera at the code, or open ",
|
|
1039
|
+
formatUrlForDisplay(mobile.install.url),
|
|
1040
|
+
" on your phone."
|
|
1041
|
+
] })
|
|
1042
|
+
] }),
|
|
1043
|
+
/* @__PURE__ */ jsx7(MobileAppQr, { install: mobile.install, className: "h-[144px] w-[144px] shrink-0" })
|
|
1044
|
+
]
|
|
1045
|
+
}
|
|
1046
|
+
)
|
|
1032
1047
|
] }) })
|
|
1033
1048
|
] });
|
|
1034
1049
|
}
|
|
@@ -1041,7 +1056,7 @@ function DownloadAppsPage({
|
|
|
1041
1056
|
subtitle: subtitle ?? (offersDesktop ? DOWNLOADS_TAGLINE : DOWNLOADS_MOBILE_TAGLINE),
|
|
1042
1057
|
children: /* @__PURE__ */ jsxs7("div", { className: SECTIONS_CLASS, children: [
|
|
1043
1058
|
body,
|
|
1044
|
-
|
|
1059
|
+
web && /* @__PURE__ */ jsx7(WebCard, { web })
|
|
1045
1060
|
] })
|
|
1046
1061
|
}
|
|
1047
1062
|
);
|