@eintrek/erp-shell 0.1.74 → 0.1.75
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/README.md +25 -0
- package/dist/chunks/{guide-runtime-YS2nUhwS.cjs → format-CVazK0hP.cjs} +523 -57
- package/dist/chunks/format-CVazK0hP.cjs.map +1 -0
- package/dist/chunks/{guide-runtime-Dl8V1iy9.esm.js → format-DCTuLpBU.esm.js} +517 -59
- package/dist/chunks/format-DCTuLpBU.esm.js.map +1 -0
- package/dist/guide/core.d.ts +4 -2
- package/dist/guide/format.d.ts +26 -0
- package/dist/guide/guide-store.d.ts +37 -4
- package/dist/guide/machine.d.ts +42 -5
- package/dist/guide/pages.d.ts +24 -1
- package/dist/guide/progress-sync.d.ts +3 -2
- package/dist/guide/progress.d.ts +6 -4
- package/dist/guide/section-button.d.ts +12 -0
- package/dist/guide/types.d.ts +47 -0
- package/dist/guide-core.cjs +32 -24
- package/dist/guide-core.cjs.map +1 -1
- package/dist/guide-core.esm.js +1 -1
- package/dist/help/help-button.d.ts +2 -1
- package/dist/index.cjs +46 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.esm.js +10 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunks/guide-runtime-Dl8V1iy9.esm.js.map +0 -1
- package/dist/chunks/guide-runtime-YS2nUhwS.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -14,7 +14,7 @@ var Link = require('next/link');
|
|
|
14
14
|
var reactDom = require('react-dom');
|
|
15
15
|
var nextThemes = require('next-themes');
|
|
16
16
|
var axios = require('axios');
|
|
17
|
-
var
|
|
17
|
+
var format = require('./chunks/format-CVazK0hP.cjs');
|
|
18
18
|
var reactQueryDevtools = require('@tanstack/react-query-devtools');
|
|
19
19
|
require('@floating-ui/dom');
|
|
20
20
|
|
|
@@ -1680,7 +1680,7 @@ instance.interceptors.response.use(response => {
|
|
|
1680
1680
|
}
|
|
1681
1681
|
// The guided tour advances on saves that succeeded (method, path, status
|
|
1682
1682
|
// and the record's id only; never the body).
|
|
1683
|
-
|
|
1683
|
+
format.reportApiEvent(response);
|
|
1684
1684
|
return response;
|
|
1685
1685
|
}, async (error) => {
|
|
1686
1686
|
const originalRequest = error.config;
|
|
@@ -1697,7 +1697,7 @@ instance.interceptors.response.use(response => {
|
|
|
1697
1697
|
return instance(originalRequest);
|
|
1698
1698
|
}
|
|
1699
1699
|
await redirectToLogout();
|
|
1700
|
-
|
|
1700
|
+
format.reportApiEvent(error);
|
|
1701
1701
|
return Promise.reject(toApiError(error));
|
|
1702
1702
|
}
|
|
1703
1703
|
// The server refuses every organisation-scoped call when the account has
|
|
@@ -1713,7 +1713,7 @@ instance.interceptors.response.use(response => {
|
|
|
1713
1713
|
if (listed !== undefined)
|
|
1714
1714
|
return listed;
|
|
1715
1715
|
// A refused save keeps the tour's step and shows the server's message.
|
|
1716
|
-
|
|
1716
|
+
format.reportApiEvent(error);
|
|
1717
1717
|
return Promise.reject(toApiError(error));
|
|
1718
1718
|
});
|
|
1719
1719
|
|
|
@@ -1740,7 +1740,7 @@ function platformApiBase(app) {
|
|
|
1740
1740
|
* This package's version, attached to help messages so the back office can
|
|
1741
1741
|
* tell which shell a report came from. Keep in step with package.json.
|
|
1742
1742
|
*/
|
|
1743
|
-
const SHELL_VERSION = "0.1.
|
|
1743
|
+
const SHELL_VERSION = "0.1.75";
|
|
1744
1744
|
|
|
1745
1745
|
const HELP_APP_LABEL = {
|
|
1746
1746
|
platform: "แพลตฟอร์ม",
|
|
@@ -2412,11 +2412,11 @@ function NavMain({ items, orgCode, closeOnNavigation = false, approvalCounts, ch
|
|
|
2412
2412
|
// A one-line row: a link, lit on its own page only. No open
|
|
2413
2413
|
// state, no title tooltip.
|
|
2414
2414
|
return (jsxRuntime.jsxs(React__namespace.Fragment, { children: [groupHeading, jsxRuntime.jsx(SidebarMenuItem, { children: jsxRuntime.jsx(SidebarMenuButton, { asChild: true, isActive: isItemActive, className: workspaceButton, children: jsxRuntime.jsxs(Link, { href: itemUrl, prefetch: false, className: "flex items-center w-full min-w-0 flex-1 " +
|
|
2415
|
-
(workspace ? "gap-3" : "gap-2"), onClick: handleNavLinkClick, "aria-current": isItemActive ? "page" : undefined, ...
|
|
2415
|
+
(workspace ? "gap-3" : "gap-2"), onClick: handleNavLinkClick, "aria-current": isItemActive ? "page" : undefined, ...format.guideAnchor(`nav.${item.id}`), children: [icon, jsxRuntime.jsx("span", { id: item.id, className: "flex-1 truncate", children: item.titleTh }), badge] }) }) })] }, item.id));
|
|
2416
2416
|
}
|
|
2417
2417
|
// A group: its header opens and shuts it (the chevron says which).
|
|
2418
2418
|
// An open group is not the current page — only a row in it is.
|
|
2419
|
-
return (jsxRuntime.jsxs(React__namespace.Fragment, { children: [groupHeading, jsxRuntime.jsx(erpTheme.Collapsible, { asChild: true, open: openIds.has(item.id), onOpenChange: isOpen => setItemOpen(item.id, isOpen), className: "group/collapsible", children: jsxRuntime.jsxs(SidebarMenuItem, { children: [jsxRuntime.jsx(erpTheme.CollapsibleTrigger, { asChild: true, children: jsxRuntime.jsxs(SidebarMenuButton, { isActive: isItemActive, className: workspaceButton, ...
|
|
2419
|
+
return (jsxRuntime.jsxs(React__namespace.Fragment, { children: [groupHeading, jsxRuntime.jsx(erpTheme.Collapsible, { asChild: true, open: openIds.has(item.id), onOpenChange: isOpen => setItemOpen(item.id, isOpen), className: "group/collapsible", children: jsxRuntime.jsxs(SidebarMenuItem, { children: [jsxRuntime.jsx(erpTheme.CollapsibleTrigger, { asChild: true, children: jsxRuntime.jsxs(SidebarMenuButton, { isActive: isItemActive, className: workspaceButton, ...format.guideAnchor(`nav.${item.id}`), children: [icon, jsxRuntime.jsx("span", { id: item.id, className: "flex-1 truncate text-left", children: item.titleTh }), jsxRuntime.jsx(lucideReact.ChevronRight, { className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" })] }) }), item.subModules && (jsxRuntime.jsx(erpTheme.CollapsibleContent, { children: jsxRuntime.jsx(SidebarMenuSub, { className: workspace
|
|
2420
2420
|
? "mx-0 mt-1 mb-3 ml-[21px] gap-0.5 border-l border-sidebar-border pl-2.5 [&_a]:h-auto [&_a]:gap-[11px] [&_a]:px-3 [&_a]:py-2 [&_a]:text-xs [&_svg]:!size-[17px]"
|
|
2421
2421
|
: undefined, children: item.subModules.map((subItem, subIndex) => {
|
|
2422
2422
|
const subItemUrl = buildUrlWithCode(code, subItem.url);
|
|
@@ -2429,7 +2429,7 @@ function NavMain({ items, orgCode, closeOnNavigation = false, approvalCounts, ch
|
|
|
2429
2429
|
subItem.subPages &&
|
|
2430
2430
|
subItem.subPages.length > 0) {
|
|
2431
2431
|
return (jsxRuntime.jsx(erpTheme.Collapsible, { asChild: true, defaultOpen: isSubItemActive || openSub === subIndex, className: "group/sub-collapsible", children: jsxRuntime.jsxs(SidebarMenuSubItem, { children: [jsxRuntime.jsx(erpTheme.CollapsibleTrigger, { asChild: true, children: jsxRuntime.jsxs(SidebarMenuSubButton, { className: "w-full", isActive: isSubItemActive &&
|
|
2432
|
-
activeSubPage === null, ...
|
|
2432
|
+
activeSubPage === null, ...format.guideAnchor(`nav.${subItem.id}`), children: [SubIcon && (jsxRuntime.jsx(SubIcon, { className: "sidebar-submodule-icon flex-shrink-0" })), jsxRuntime.jsx("span", { className: "flex-1 truncate", children: subItem.titleTh }), jsxRuntime.jsx(lucideReact.ChevronDown, { className: "ml-auto size-4 transition-transform duration-200 group-data-[state=open]/sub-collapsible:rotate-180" })] }) }), jsxRuntime.jsx(erpTheme.CollapsibleContent, { children: jsxRuntime.jsx(SidebarMenuSub, { className: "ml-4", children: subItem.subPages.map((subPage, subPageIndex) => {
|
|
2433
2433
|
const subPageUrl = buildUrlWithCode(code, subPage.url);
|
|
2434
2434
|
const isSubPageActive = isSubItemActive &&
|
|
2435
2435
|
activeSubPage === subPageIndex;
|
|
@@ -2437,7 +2437,7 @@ function NavMain({ items, orgCode, closeOnNavigation = false, approvalCounts, ch
|
|
|
2437
2437
|
return (jsxRuntime.jsx(SidebarMenuSubItem, { children: jsxRuntime.jsx(SidebarMenuSubButton, { asChild: true, className: "font-thai w-full text-sm" +
|
|
2438
2438
|
(isSubPageActive
|
|
2439
2439
|
? " font-medium"
|
|
2440
|
-
: ""), isActive: isSubPageActive, children: jsxRuntime.jsxs(Link, { href: subPageUrl, prefetch: false, className: "w-full flex items-center", ...
|
|
2440
|
+
: ""), isActive: isSubPageActive, children: jsxRuntime.jsxs(Link, { href: subPageUrl, prefetch: false, className: "w-full flex items-center", ...format.guideAnchor(`nav.${subPage.id}`), onClick: handleNavLinkClick, "aria-current": isSubPageActive
|
|
2441
2441
|
? "page"
|
|
2442
2442
|
: undefined, children: [SubPageIcon && (jsxRuntime.jsx(SubPageIcon, { className: "sidebar-subpage-icon flex-shrink-0" })), jsxRuntime.jsx("span", { className: "flex-1 truncate", children: subPage.titleTh })] }) }) }, subPage.id));
|
|
2443
2443
|
}) }) })] }) }, subItem.id));
|
|
@@ -2445,7 +2445,7 @@ function NavMain({ items, orgCode, closeOnNavigation = false, approvalCounts, ch
|
|
|
2445
2445
|
return (jsxRuntime.jsx(SidebarMenuSubItem, { children: jsxRuntime.jsx(SidebarMenuSubButton, { asChild: true, className: "w-full" +
|
|
2446
2446
|
(workspace && isSubItemActive
|
|
2447
2447
|
? " font-semibold"
|
|
2448
|
-
: ""), isActive: isSubItemActive, children: jsxRuntime.jsxs(Link, { href: subItemUrl, prefetch: false, className: "w-full flex items-center", ...
|
|
2448
|
+
: ""), isActive: isSubItemActive, children: jsxRuntime.jsxs(Link, { href: subItemUrl, prefetch: false, className: "w-full flex items-center", ...format.guideAnchor(`nav.${subItem.id}`), onClick: handleNavLinkClick, "aria-current": isSubItemActive ? "page" : undefined, children: [SubIcon && (jsxRuntime.jsx(SubIcon, { className: "sidebar-submodule-icon flex-shrink-0" })), jsxRuntime.jsx("span", { className: "flex-1 truncate", children: subItem.titleTh }), approvalCount > 0 && (jsxRuntime.jsx(erpTheme.Badge, { variant: "destructive", className: "ml-auto h-5 min-w-5 px-1.5 text-xs font-medium tabular-nums", children: approvalCount > 99
|
|
2449
2449
|
? "99+"
|
|
2450
2450
|
: approvalCount }))] }) }) }, subItem.id));
|
|
2451
2451
|
}) }) }))] }) })] }, item.id));
|
|
@@ -2573,17 +2573,18 @@ const BUTTON_CLASS = "grid size-[34px] shrink-0 place-items-center rounded-lg te
|
|
|
2573
2573
|
* --header-* variables of the workspace chrome, white on the brand chrome).
|
|
2574
2574
|
*
|
|
2575
2575
|
* When this user has something to open here, it opens a small menu:
|
|
2576
|
-
* "คู่มือหน้านี้" (this page's guide), "
|
|
2576
|
+
* "คู่มือหน้านี้" (this page's guide), "อธิบายส่วนนี้ · <title>" for each
|
|
2577
|
+
* section guide on screen, "ไกด์เริ่มต้น n/N" (the quest
|
|
2577
2578
|
* panel), "คู่มือทุกหน้า" (the panel's page guides) and "ติดต่อทีมช่วยเหลือ"
|
|
2578
2579
|
* (the help dialog), each only when it has something. Otherwise one press
|
|
2579
2580
|
* opens the help dialog, as before.
|
|
2580
2581
|
*/
|
|
2581
2582
|
function HelpButton({ className }) {
|
|
2582
|
-
const guide =
|
|
2583
|
-
const pages =
|
|
2583
|
+
const guide = format.useGuideEntry();
|
|
2584
|
+
const pages = format.usePageGuides();
|
|
2584
2585
|
const toGuide = React.useRef(false);
|
|
2585
2586
|
const cls = BUTTON_CLASS + (className ? ` ${className}` : "");
|
|
2586
|
-
const items =
|
|
2587
|
+
const items = format.guideMenuItems(guide, pages);
|
|
2587
2588
|
// The tour takes focus (a step, the panel); the button must not take it back.
|
|
2588
2589
|
const toTour = (open) => () => {
|
|
2589
2590
|
toGuide.current = true;
|
|
@@ -2598,7 +2599,9 @@ function HelpButton({ className }) {
|
|
|
2598
2599
|
e.preventDefault();
|
|
2599
2600
|
toGuide.current = false;
|
|
2600
2601
|
}
|
|
2601
|
-
}, children: [items.includes("page") ? (jsxRuntime.jsxs(erpTheme.DropdownMenuItem, { onSelect: toTour(
|
|
2602
|
+
}, children: [items.includes("page") ? (jsxRuntime.jsxs(erpTheme.DropdownMenuItem, { onSelect: toTour(format.openPageGuide), className: "gap-2.5", children: [jsxRuntime.jsx(lucideReact.BookOpen, { className: "size-4" }), jsxRuntime.jsx("span", { className: "flex-1", children: "\u0E04\u0E39\u0E48\u0E21\u0E37\u0E2D\u0E2B\u0E19\u0E49\u0E32\u0E19\u0E35\u0E49" })] })) : null, items.includes("sections")
|
|
2603
|
+
? (pages.sections ?? []).map(sec => (jsxRuntime.jsxs(erpTheme.DropdownMenuItem, { onSelect: toTour(() => format.openSectionGuide(sec.key)), className: "gap-2.5", children: [jsxRuntime.jsx(lucideReact.Info, { className: "size-4" }), jsxRuntime.jsxs("span", { className: "flex-1", children: ["\u0E2D\u0E18\u0E34\u0E1A\u0E32\u0E22\u0E2A\u0E48\u0E27\u0E19\u0E19\u0E35\u0E49 \u00B7 ", sec.title] })] }, sec.key)))
|
|
2604
|
+
: null, items.includes("missions") && guide ? (jsxRuntime.jsxs(erpTheme.DropdownMenuItem, { onSelect: toTour(format.openGuidePanel), className: "gap-2.5", children: [jsxRuntime.jsx(lucideReact.Flag, { className: "size-4" }), jsxRuntime.jsx("span", { className: "flex-1", children: "\u0E44\u0E01\u0E14\u0E4C\u0E40\u0E23\u0E34\u0E48\u0E21\u0E15\u0E49\u0E19" }), jsxRuntime.jsxs("span", { className: "text-xs font-semibold text-primary tabular-nums", children: [guide.done, "/", guide.total] })] })) : null, items.includes("pages") ? (jsxRuntime.jsxs(erpTheme.DropdownMenuItem, { onSelect: toTour(format.openPagesPanel), className: "gap-2.5", children: [jsxRuntime.jsx(lucideReact.Library, { className: "size-4" }), jsxRuntime.jsx("span", { className: "flex-1", children: "\u0E04\u0E39\u0E48\u0E21\u0E37\u0E2D\u0E17\u0E38\u0E01\u0E2B\u0E19\u0E49\u0E32" })] })) : null, jsxRuntime.jsxs(erpTheme.DropdownMenuItem, { onSelect: () => setTimeout(openHelp, 0), className: "gap-2.5", children: [jsxRuntime.jsx(lucideReact.MessageCircle, { className: "size-4" }), jsxRuntime.jsx("span", { className: "flex-1", children: "\u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E17\u0E35\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D" })] })] })] }));
|
|
2602
2605
|
}
|
|
2603
2606
|
|
|
2604
2607
|
const hasPaginationShape = (payload) => {
|
|
@@ -3609,7 +3612,7 @@ function platformGuideProgress(organizationId) {
|
|
|
3609
3612
|
|
|
3610
3613
|
function GuideHost(props) {
|
|
3611
3614
|
// The boundary covers the adapters too (useSidebar throws without its provider).
|
|
3612
|
-
return (jsxRuntime.jsx(
|
|
3615
|
+
return (jsxRuntime.jsx(format.GuideErrorBoundary, { children: jsxRuntime.jsx(React.Suspense, { fallback: null, children: jsxRuntime.jsx(GuideHostInner, { ...props }) }) }));
|
|
3613
3616
|
}
|
|
3614
3617
|
let fallbackClient = null;
|
|
3615
3618
|
function useShellQueryClient() {
|
|
@@ -3660,7 +3663,7 @@ function GuideHostInner({ config, organizationId, code }) {
|
|
|
3660
3663
|
}, [client, organizationId, suite.app, suite.key, suite.version]);
|
|
3661
3664
|
const routing = React.useMemo(() => ({ pathname, search, navigate: (href) => router.push(href) }), [pathname, search, router]);
|
|
3662
3665
|
const menu = React.useMemo(() => ({ open: sidebarOpen }), [sidebarOpen]);
|
|
3663
|
-
return (jsxRuntime.jsx(
|
|
3666
|
+
return (jsxRuntime.jsx(format.GuideRuntime, { config: config, organizationId: organizationId, code: code, routing: routing, progress: progress, isBusy: isBusy, menu: menu, hidden: employeeBlocked }));
|
|
3664
3667
|
}
|
|
3665
3668
|
|
|
3666
3669
|
/**
|
|
@@ -3869,7 +3872,7 @@ function AppLayoutShell({ children, sidebar, loadingComponent, breadcrumb, permi
|
|
|
3869
3872
|
// As in the design: the mark, then a menu button, and the
|
|
3870
3873
|
// organisation on the right — no trail, no title, so the
|
|
3871
3874
|
// organisation's name has the room it needs on a phone.
|
|
3872
|
-
jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [mobileBrand ? (jsxRuntime.jsx("div", { className: "shrink-0", children: mobileBrand })) : null, jsxRuntime.jsx("button", { type: "button", onClick: () => setOpen(!open), "aria-label": open ? "ปิดเมนู" : "เปิดเมนู", ...
|
|
3875
|
+
jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [mobileBrand ? (jsxRuntime.jsx("div", { className: "shrink-0", children: mobileBrand })) : null, jsxRuntime.jsx("button", { type: "button", onClick: () => setOpen(!open), "aria-label": open ? "ปิดเมนู" : "เปิดเมนู", ...format.guideAnchor("shell.menu-toggle"), className: "grid size-[34px] shrink-0 place-items-center rounded-lg text-[var(--header-fg-muted)] transition-colors hover:bg-[var(--header-hover)] hover:text-[var(--header-fg)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--header-fg-muted)]", children: jsxRuntime.jsx(lucideReact.LayoutGrid, { className: "size-5", strokeWidth: 1.65 }) })] })) : (jsxRuntime.jsx(SidebarTrigger, { className: "shrink-0 text-[var(--header-fg-muted)] hover:bg-[var(--header-hover)] hover:text-[var(--header-fg)] [&_svg]:!text-current" })), jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-1 flex-col justify-center gap-0.5", children: [jsxRuntime.jsx("div", { className: "hidden min-w-0 sm:block", children: trail }), jsxRuntime.jsx("div", { id: "header-title", className: "min-w-0 max-sm:hidden" })] }), headerEnd || showHelp ? (jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-3 sm:gap-5", children: [headerEnd, showHelp ? jsxRuntime.jsx(HelpButton, {}) : null] })) : null] })] })) : (jsxRuntime.jsxs("div", { className: "sticky top-0 z-30 shrink-0 w-full", children: [jsxRuntime.jsx(HeaderBackground, {}), jsxRuntime.jsxs("header", { className: "relative shrink-0 gap-2 py-4 h-auto min-h-[123.5px] w-full z-10", children: [jsxRuntime.jsxs("div", { className: "flex w-full items-center gap-2 px-3 sm:px-4 lg:px-6", children: [jsxRuntime.jsx(SidebarTrigger, { className: "shrink-0 text-white hover:bg-white/10" }), jsxRuntime.jsx("div", { className: "flex-1 min-w-0", children: trail }), headerEnd || showHelp ? (jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-3", children: [headerEnd, showHelp ? jsxRuntime.jsx(HelpButton, {}) : null] })) : null] }), jsxRuntime.jsx("div", { id: "header-title" })] })] })), jsxRuntime.jsx(React.Suspense, { fallback: jsxRuntime.jsx("div", { className: "relative z-10 min-h-[calc(100vh-8rem)]", children: jsxRuntime.jsx("div", { className: "flex h-full items-center justify-center", children: jsxRuntime.jsxs("div", { className: "space-y-4 text-center", children: [jsxRuntime.jsx("div", { className: "mx-auto h-8 w-8 animate-spin rounded-full border-b-2 border-primary" }), jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14..." })] }) }) }), children: jsxRuntime.jsx("div", { className: workspace
|
|
3873
3876
|
? "relative z-10 px-[18px] pt-[26px] pb-4 sm:px-6 lg:px-10 lg:pt-[38px]"
|
|
3874
3877
|
: cx("relative z-10 pr-6", needsLeftGutter && "pl-6"), children: refusePage
|
|
3875
3878
|
? (notMemberComponent ?? (jsxRuntime.jsx(AccessDenied, { title: "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23\u0E19\u0E35\u0E49", message: `บัญชีนี้ไม่ได้เป็นสมาชิกขององค์กร ${code}`, homeHref: selectOrganizationUrl, homeLabel: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23" })))
|
|
@@ -4442,23 +4445,31 @@ Object.defineProperty(exports, "isAxiosError", {
|
|
|
4442
4445
|
enumerable: true,
|
|
4443
4446
|
get: function () { return axios.isAxiosError; }
|
|
4444
4447
|
});
|
|
4445
|
-
exports.GUIDE_API_EVENT =
|
|
4446
|
-
exports.GUIDE_EVENT_PREFIX =
|
|
4447
|
-
exports.GUIDE_LAYER_ATTRIBUTE =
|
|
4448
|
-
exports.GuideProgressConflict =
|
|
4449
|
-
exports.GuideRuntime =
|
|
4450
|
-
exports.
|
|
4451
|
-
exports.
|
|
4452
|
-
exports.
|
|
4453
|
-
exports.
|
|
4454
|
-
exports.
|
|
4455
|
-
exports.
|
|
4456
|
-
exports.
|
|
4457
|
-
exports.
|
|
4458
|
-
exports.
|
|
4459
|
-
exports.
|
|
4460
|
-
exports.
|
|
4461
|
-
exports.
|
|
4448
|
+
exports.GUIDE_API_EVENT = format.API_EVENT;
|
|
4449
|
+
exports.GUIDE_EVENT_PREFIX = format.GUIDE_EVENT_PREFIX;
|
|
4450
|
+
exports.GUIDE_LAYER_ATTRIBUTE = format.GUIDE_LAYER_ATTRIBUTE;
|
|
4451
|
+
exports.GuideProgressConflict = format.GuideProgressConflict;
|
|
4452
|
+
exports.GuideRuntime = format.GuideRuntime;
|
|
4453
|
+
exports.SectionGuideButton = format.SectionGuideButton;
|
|
4454
|
+
exports.THAI_MONTHS_SHORT = format.THAI_MONTHS_SHORT;
|
|
4455
|
+
exports.emitGuideEvent = format.emitGuideEvent;
|
|
4456
|
+
exports.formatBaht = format.formatBaht;
|
|
4457
|
+
exports.guideAnchor = format.guideAnchor;
|
|
4458
|
+
exports.guideMenuItems = format.guideMenuItems;
|
|
4459
|
+
exports.guideMenuShown = format.guideMenuShown;
|
|
4460
|
+
exports.openGuidePanel = format.openGuidePanel;
|
|
4461
|
+
exports.openPageGuide = format.openPageGuide;
|
|
4462
|
+
exports.openPagesPanel = format.openPagesPanel;
|
|
4463
|
+
exports.openSectionGuide = format.openSectionGuide;
|
|
4464
|
+
exports.reportApiCall = format.reportApiCall;
|
|
4465
|
+
exports.reportApiEvent = format.reportApiEvent;
|
|
4466
|
+
exports.setSectionGuideValues = format.setSectionGuideValues;
|
|
4467
|
+
exports.thaiMonth = format.thaiMonth;
|
|
4468
|
+
exports.thaiMonthYear = format.thaiMonthYear;
|
|
4469
|
+
exports.useGuideEntry = format.useGuideEntry;
|
|
4470
|
+
exports.usePageGuideEntry = format.usePageGuideEntry;
|
|
4471
|
+
exports.usePageGuides = format.usePageGuides;
|
|
4472
|
+
exports.useSectionGuideValues = format.useSectionGuideValues;
|
|
4462
4473
|
exports.AccessDenied = AccessDenied;
|
|
4463
4474
|
exports.ApiError = ApiError;
|
|
4464
4475
|
exports.AppBreadcrumb = AppBreadcrumb;
|