@eintrek/erp-shell 0.1.69 → 0.1.71
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 +12 -0
- package/dist/chunks/{guide-runtime-CBLovNNu.esm.js → guide-runtime-BTatpm-V.esm.js} +15 -6
- package/dist/chunks/guide-runtime-BTatpm-V.esm.js.map +1 -0
- package/dist/chunks/{guide-runtime-CFVYM8Xi.cjs → guide-runtime-B_fYkQv7.cjs} +15 -6
- package/dist/chunks/guide-runtime-B_fYkQv7.cjs.map +1 -0
- package/dist/guide/guide-ui.d.ts +6 -0
- package/dist/guide/machine.d.ts +4 -0
- package/dist/guide/types.d.ts +6 -0
- package/dist/guide-core.cjs +1 -1
- package/dist/guide-core.esm.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.esm.js +3 -3
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunks/guide-runtime-CBLovNNu.esm.js.map +0 -1
- package/dist/chunks/guide-runtime-CFVYM8Xi.cjs.map +0 -1
package/dist/guide/guide-ui.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import type { MissionView, StepError } from "./machine";
|
|
|
4
4
|
/** "26 ต.ค. 2569 13:04" — day, month, Buddhist year, 24 h. */
|
|
5
5
|
export declare function formatThaiDateTime(iso: string | null | undefined): string;
|
|
6
6
|
/** "กด [บันทึก]": the bracketed word is a chip in the brand colour. */
|
|
7
|
+
/** Where the tour reopens in apps with the shell header ("?"). */
|
|
8
|
+
export declare const REOPEN_HINT = "\u0E40\u0E1B\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E44\u0E14\u0E49\u0E17\u0E35\u0E48\u0E1B\u0E38\u0E48\u0E21 ? \u0E21\u0E38\u0E21\u0E02\u0E27\u0E32\u0E1A\u0E19";
|
|
7
9
|
export declare function GuideTitle({ text }: {
|
|
8
10
|
text: string;
|
|
9
11
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -90,6 +92,8 @@ export interface StepLayerProps {
|
|
|
90
92
|
bubble: BubbleModel;
|
|
91
93
|
phase: "waiting" | "ready" | "missing" | "away";
|
|
92
94
|
confirmExit: boolean;
|
|
95
|
+
/** Where the tour can be reopened, shown in the exit confirm. */
|
|
96
|
+
reopenHint?: string;
|
|
93
97
|
nudge: number;
|
|
94
98
|
/** Animate the ring to its new place (a new step). */
|
|
95
99
|
moving: boolean;
|
|
@@ -126,6 +130,8 @@ export declare function WelcomeModal(p: {
|
|
|
126
130
|
minutes: number;
|
|
127
131
|
}>;
|
|
128
132
|
confirm: boolean;
|
|
133
|
+
/** Where the tour can be reopened, shown in the skip confirm. */
|
|
134
|
+
reopenHint?: string;
|
|
129
135
|
onStart: () => void;
|
|
130
136
|
onSkip: () => void;
|
|
131
137
|
onSkipConfirm: () => void;
|
package/dist/guide/machine.d.ts
CHANGED
package/dist/guide/types.d.ts
CHANGED
|
@@ -335,6 +335,12 @@ export interface GuideSuite {
|
|
|
335
335
|
*/
|
|
336
336
|
welcomeRoutes?: string[];
|
|
337
337
|
gate?: GuideGate;
|
|
338
|
+
/**
|
|
339
|
+
* Where the tour can be reopened, said in the skip and exit confirms.
|
|
340
|
+
* Default "เปิดต่อได้ที่ปุ่ม ? มุมขวาบน"; an app without the shell's "?"
|
|
341
|
+
* (LIFF) names its own entry.
|
|
342
|
+
*/
|
|
343
|
+
reopenHint?: string;
|
|
338
344
|
complete: {
|
|
339
345
|
/** Default "บริษัทพร้อมใช้งานแล้ว". */
|
|
340
346
|
title?: GuideText;
|
package/dist/guide-core.cjs
CHANGED
package/dist/guide-core.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { A as GUIDE_API_EVENT, G as GUIDE_EVENT_PREFIX, a as GUIDE_LAYER_ATTRIBUTE, c as GuideProgressConflict, d as GuideRuntime, e as apiCallDetail, f as emitGuideEvent, g as fillRoute, h as guideAnchor, l as loadGuides, m as matchApiPath, i as matchRoute, o as openGuidePanel, r as reportApiCall, j as reportApiEvent, s as storeGuides, u as useGuideEntry } from './chunks/guide-runtime-
|
|
2
|
+
export { A as GUIDE_API_EVENT, G as GUIDE_EVENT_PREFIX, a as GUIDE_LAYER_ATTRIBUTE, c as GuideProgressConflict, d as GuideRuntime, e as apiCallDetail, f as emitGuideEvent, g as fillRoute, h as guideAnchor, l as loadGuides, m as matchApiPath, i as matchRoute, o as openGuidePanel, r as reportApiCall, j as reportApiEvent, s as storeGuides, u as useGuideEntry } from './chunks/guide-runtime-BTatpm-V.esm.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'react-dom';
|
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 guideRuntime = require('./chunks/guide-runtime-
|
|
17
|
+
var guideRuntime = require('./chunks/guide-runtime-B_fYkQv7.cjs');
|
|
18
18
|
var reactQueryDevtools = require('@tanstack/react-query-devtools');
|
|
19
19
|
require('@floating-ui/dom');
|
|
20
20
|
|
|
@@ -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.71";
|
|
1744
1744
|
|
|
1745
1745
|
const HELP_APP_LABEL = {
|
|
1746
1746
|
platform: "แพลตฟอร์ม",
|
package/dist/index.esm.js
CHANGED
|
@@ -14,8 +14,8 @@ import { createPortal } from 'react-dom';
|
|
|
14
14
|
import { useTheme, ThemeProvider as ThemeProvider$1 } from 'next-themes';
|
|
15
15
|
import axios, { isAxiosError, AxiosHeaders } from 'axios';
|
|
16
16
|
export { isAxiosError } from 'axios';
|
|
17
|
-
import { j as reportApiEvent, h as guideAnchor, u as useGuideEntry, o as openGuidePanel, b as GuideErrorBoundary, d as GuideRuntime } from './chunks/guide-runtime-
|
|
18
|
-
export { A as GUIDE_API_EVENT, G as GUIDE_EVENT_PREFIX, a as GUIDE_LAYER_ATTRIBUTE, c as GuideProgressConflict, f as emitGuideEvent, r as reportApiCall } from './chunks/guide-runtime-
|
|
17
|
+
import { j as reportApiEvent, h as guideAnchor, u as useGuideEntry, o as openGuidePanel, b as GuideErrorBoundary, d as GuideRuntime } from './chunks/guide-runtime-BTatpm-V.esm.js';
|
|
18
|
+
export { A as GUIDE_API_EVENT, G as GUIDE_EVENT_PREFIX, a as GUIDE_LAYER_ATTRIBUTE, c as GuideProgressConflict, f as emitGuideEvent, r as reportApiCall } from './chunks/guide-runtime-BTatpm-V.esm.js';
|
|
19
19
|
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
|
|
20
20
|
import '@floating-ui/dom';
|
|
21
21
|
|
|
@@ -1722,7 +1722,7 @@ function platformApiBase(app) {
|
|
|
1722
1722
|
* This package's version, attached to help messages so the back office can
|
|
1723
1723
|
* tell which shell a report came from. Keep in step with package.json.
|
|
1724
1724
|
*/
|
|
1725
|
-
const SHELL_VERSION = "0.1.
|
|
1725
|
+
const SHELL_VERSION = "0.1.71";
|
|
1726
1726
|
|
|
1727
1727
|
const HELP_APP_LABEL = {
|
|
1728
1728
|
platform: "แพลตฟอร์ม",
|
package/dist/version.d.ts
CHANGED