@pisell/materials 6.12.39 → 6.12.41
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +32 -32
- package/build/lowcode/view.js +32 -32
- package/es/components/PisellSelectionFlow/PisellSelectionFlow.d.ts +7 -0
- package/es/components/PisellSelectionFlow/PisellSelectionFlow.js +392 -0
- package/es/components/PisellSelectionFlow/compiler.d.ts +12 -0
- package/es/components/PisellSelectionFlow/compiler.js +174 -0
- package/es/components/PisellSelectionFlow/context.d.ts +9 -0
- package/es/components/PisellSelectionFlow/context.js +12 -0
- package/es/components/PisellSelectionFlow/hooks/useFlowDraft.js +35 -0
- package/es/components/PisellSelectionFlow/hooks/useFlowModuleLifecycle.js +236 -0
- package/es/components/PisellSelectionFlow/hooks/useFlowNavigation.js +320 -0
- package/es/components/PisellSelectionFlow/index.d.ts +4 -0
- package/es/components/PisellSelectionFlow/types.d.ts +179 -0
- package/es/components/PisellSelectionFlow/types.js +10 -0
- package/es/components/PisellSelectionFlow/utils.js +15 -0
- package/es/index.d.ts +13 -9
- package/es/index.js +5 -1
- package/lib/components/PisellSelectionFlow/PisellSelectionFlow.d.ts +7 -0
- package/lib/components/PisellSelectionFlow/PisellSelectionFlow.js +394 -0
- package/lib/components/PisellSelectionFlow/compiler.d.ts +12 -0
- package/lib/components/PisellSelectionFlow/compiler.js +178 -0
- package/lib/components/PisellSelectionFlow/context.d.ts +9 -0
- package/lib/components/PisellSelectionFlow/context.js +16 -0
- package/lib/components/PisellSelectionFlow/hooks/useFlowDraft.js +36 -0
- package/lib/components/PisellSelectionFlow/hooks/useFlowModuleLifecycle.js +237 -0
- package/lib/components/PisellSelectionFlow/hooks/useFlowNavigation.js +321 -0
- package/lib/components/PisellSelectionFlow/index.d.ts +4 -0
- package/lib/components/PisellSelectionFlow/types.d.ts +179 -0
- package/lib/components/PisellSelectionFlow/types.js +10 -0
- package/lib/components/PisellSelectionFlow/utils.js +18 -0
- package/lib/index.d.ts +13 -9
- package/lib/index.js +15 -2
- package/package.json +1 -1
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/PisellSelectionFlow/types.d.ts
|
|
4
|
+
/** 原子 Flow 只透传元数据,具体结构及展示方式完全由宿主定义。 */
|
|
5
|
+
type SelectionFlowMetadata = Readonly<Record<string, unknown>>;
|
|
6
|
+
interface SelectionFlowModuleConfig<TModuleType extends string = string> {
|
|
7
|
+
type: TModuleType;
|
|
8
|
+
key?: string;
|
|
9
|
+
meta?: SelectionFlowMetadata;
|
|
10
|
+
options?: Readonly<Record<string, unknown>>;
|
|
11
|
+
}
|
|
12
|
+
type SelectionFlowModuleInput<TModuleType extends string = string> = TModuleType | SelectionFlowModuleConfig<TModuleType>;
|
|
13
|
+
interface SelectionFlowStepConfig<TModuleType extends string = string> {
|
|
14
|
+
key: string;
|
|
15
|
+
meta?: SelectionFlowMetadata;
|
|
16
|
+
modules: readonly SelectionFlowModuleInput<TModuleType>[];
|
|
17
|
+
}
|
|
18
|
+
interface CompiledSelectionFlowModuleConfig<TModuleType extends string = string> extends Omit<SelectionFlowModuleConfig<TModuleType>, 'key'> {
|
|
19
|
+
key: string;
|
|
20
|
+
stepKey: string;
|
|
21
|
+
stepIndex: number;
|
|
22
|
+
moduleIndex: number;
|
|
23
|
+
}
|
|
24
|
+
interface CompiledSelectionFlowStep<TModuleType extends string = string> extends Omit<SelectionFlowStepConfig<TModuleType>, 'modules'> {
|
|
25
|
+
index: number;
|
|
26
|
+
modules: readonly CompiledSelectionFlowModuleConfig<TModuleType>[];
|
|
27
|
+
}
|
|
28
|
+
interface SelectionFlowDraftAdapter<TDraft, TDraftUpdate, TField extends string> {
|
|
29
|
+
/** 业务 Draft 可能包含嵌套对象,合并规则由宿主定义,原子 Flow 不做猜测。 */
|
|
30
|
+
applyUpdate: (draft: Readonly<TDraft>, update: TDraftUpdate) => TDraft;
|
|
31
|
+
/** 编译依赖图和运行时门禁统一通过该方法读取字段。 */
|
|
32
|
+
getFieldValue: (draft: Readonly<TDraft>, field: TField) => unknown;
|
|
33
|
+
/** 提交前按业务 Draft 结构创建快照;缺省时使用当前不可变引用。 */
|
|
34
|
+
createSnapshot?: (draft: Readonly<TDraft>) => TDraft;
|
|
35
|
+
}
|
|
36
|
+
interface SelectionFlowDraftUpdateMeta<TField extends string = string, TModuleType extends string = string> {
|
|
37
|
+
changedFields: readonly TField[];
|
|
38
|
+
sourceModuleKey?: string;
|
|
39
|
+
sourceModuleType?: TModuleType;
|
|
40
|
+
}
|
|
41
|
+
interface SelectionFlowDraftChange<TDraft, TField extends string = string, TModuleType extends string = string> extends SelectionFlowDraftUpdateMeta<TField, TModuleType> {
|
|
42
|
+
previousDraft: Readonly<TDraft>;
|
|
43
|
+
draft: Readonly<TDraft>;
|
|
44
|
+
}
|
|
45
|
+
type FlowModuleStatus = 'idle' | 'loading' | 'ready' | 'stale' | 'error';
|
|
46
|
+
interface FlowModuleState {
|
|
47
|
+
status: FlowModuleStatus;
|
|
48
|
+
/** 业务适配器产生的原始错误文案;原子状态机自身只写入 reason。 */
|
|
49
|
+
message?: string;
|
|
50
|
+
reason?: SelectionFlowRuntimeIssue;
|
|
51
|
+
error?: unknown;
|
|
52
|
+
}
|
|
53
|
+
type FlowModuleStateMap = Record<string, FlowModuleState>;
|
|
54
|
+
type FlowModuleDataMap = Record<string, unknown>;
|
|
55
|
+
type FlowModuleValidationResult = boolean | {
|
|
56
|
+
valid: boolean;
|
|
57
|
+
message?: string;
|
|
58
|
+
};
|
|
59
|
+
type FlowModuleValidationReturn = FlowModuleValidationResult | Promise<FlowModuleValidationResult>;
|
|
60
|
+
type FlowModuleBeforeLeaveResult = boolean | {
|
|
61
|
+
allowed: boolean;
|
|
62
|
+
message?: string;
|
|
63
|
+
};
|
|
64
|
+
type FlowModuleBeforeLeaveReturn = FlowModuleBeforeLeaveResult | Promise<FlowModuleBeforeLeaveResult>;
|
|
65
|
+
interface FlowModuleHandle {
|
|
66
|
+
validate?: () => FlowModuleValidationReturn;
|
|
67
|
+
beforeLeave?: () => FlowModuleBeforeLeaveReturn;
|
|
68
|
+
/** 业务模块可以继续扩展自己的命令式句柄。 */
|
|
69
|
+
[key: string]: unknown;
|
|
70
|
+
}
|
|
71
|
+
interface SelectionFlowContextValue<TDraft, TDraftUpdate, TField extends string = string, TModuleType extends string = string, TServices = unknown, THostContext = unknown> {
|
|
72
|
+
draft: TDraft;
|
|
73
|
+
updateDraft: (update: TDraftUpdate, meta: SelectionFlowDraftUpdateMeta<TField, TModuleType>) => void;
|
|
74
|
+
moduleState: FlowModuleStateMap;
|
|
75
|
+
setModuleState: (moduleKey: string, state: FlowModuleState) => void;
|
|
76
|
+
setModuleStatus: (moduleKey: string, status: FlowModuleStatus, message?: string, error?: unknown) => void;
|
|
77
|
+
moduleData: FlowModuleDataMap;
|
|
78
|
+
getModuleData: <T = unknown>(moduleKey: string) => T | undefined;
|
|
79
|
+
setModuleData: <T = unknown>(moduleKey: string, value: T) => void;
|
|
80
|
+
clearModuleData: (moduleKey: string) => void;
|
|
81
|
+
steps: readonly CompiledSelectionFlowStep<TModuleType>[];
|
|
82
|
+
currentStepIndex: number;
|
|
83
|
+
currentStep?: CompiledSelectionFlowStep<TModuleType>;
|
|
84
|
+
hostContext?: THostContext;
|
|
85
|
+
services: TServices;
|
|
86
|
+
}
|
|
87
|
+
interface SelectionFlowModuleAdapter<TDraft, TDraftUpdate, TField extends string = string, TModuleType extends string = string, TServices = unknown, THostContext = unknown> {
|
|
88
|
+
type: TModuleType;
|
|
89
|
+
/** 离开所在步骤后仍需随 Draft 变化保持就绪的无界面门禁模块。 */
|
|
90
|
+
initializeWhileInactive?: boolean;
|
|
91
|
+
provides?: readonly TField[];
|
|
92
|
+
hardRequires?: readonly TField[];
|
|
93
|
+
refreshOn?: readonly TField[];
|
|
94
|
+
shouldRefresh?: (context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>, change: SelectionFlowDraftChange<TDraft, TField, TModuleType>, module: CompiledSelectionFlowModuleConfig<TModuleType>) => boolean;
|
|
95
|
+
isApplicable?: (context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>, module: CompiledSelectionFlowModuleConfig<TModuleType>) => boolean;
|
|
96
|
+
canInitialize?: (context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>, module: CompiledSelectionFlowModuleConfig<TModuleType>) => boolean | Promise<boolean>;
|
|
97
|
+
refresh?: (context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>, module: CompiledSelectionFlowModuleConfig<TModuleType>) => void | Promise<void>;
|
|
98
|
+
reconcile?: (context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>, change: SelectionFlowDraftChange<TDraft, TField, TModuleType>, module: CompiledSelectionFlowModuleConfig<TModuleType>) => void | Promise<void>;
|
|
99
|
+
clearDependencies?: (context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>, change: SelectionFlowDraftChange<TDraft, TField, TModuleType>, module: CompiledSelectionFlowModuleConfig<TModuleType>) => void | Promise<void>;
|
|
100
|
+
validate?: (context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>, handle: FlowModuleHandle | null, module: CompiledSelectionFlowModuleConfig<TModuleType>) => FlowModuleValidationReturn;
|
|
101
|
+
beforeLeave?: (context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>, handle: FlowModuleHandle | null, module: CompiledSelectionFlowModuleConfig<TModuleType>) => FlowModuleBeforeLeaveReturn;
|
|
102
|
+
}
|
|
103
|
+
type SelectionFlowModuleRegistry<TDraft, TDraftUpdate, TField extends string, TModuleType extends string, TServices = unknown, THostContext = unknown> = Record<TModuleType, SelectionFlowModuleAdapter<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>>;
|
|
104
|
+
interface SelectionFlowSnapshot<TDraft, TModuleType extends string = string> {
|
|
105
|
+
draft: TDraft;
|
|
106
|
+
currentStepIndex: number;
|
|
107
|
+
currentStep?: CompiledSelectionFlowStep<TModuleType>;
|
|
108
|
+
steps: readonly CompiledSelectionFlowStep<TModuleType>[];
|
|
109
|
+
moduleState: FlowModuleStateMap;
|
|
110
|
+
moduleData: FlowModuleDataMap;
|
|
111
|
+
isCompleting: boolean;
|
|
112
|
+
isCompleted: boolean;
|
|
113
|
+
configurationError: SelectionFlowCompileError | null;
|
|
114
|
+
}
|
|
115
|
+
interface SelectionFlowRef<TDraft, TDraftUpdate, TField extends string = string, TModuleType extends string = string> {
|
|
116
|
+
next: () => Promise<boolean>;
|
|
117
|
+
back: () => boolean;
|
|
118
|
+
updateDraft: (update: TDraftUpdate, meta: SelectionFlowDraftUpdateMeta<TField, TModuleType>) => void;
|
|
119
|
+
validateCurrentStep: () => Promise<boolean>;
|
|
120
|
+
complete: () => Promise<boolean>;
|
|
121
|
+
getState: () => SelectionFlowSnapshot<TDraft, TModuleType>;
|
|
122
|
+
}
|
|
123
|
+
type SelectionFlowMessageCode = 'dependencies-reconciling' | 'waiting-field' | 'prerequisites-not-ready' | 'selection-changed-validation' | 'module-validation-failed' | 'selection-changed-confirmation' | 'previous-step-review' | 'changed-review' | 'current-step-review' | 'changed-confirm-again';
|
|
124
|
+
interface SelectionFlowRuntimeIssue {
|
|
125
|
+
code: SelectionFlowMessageCode;
|
|
126
|
+
params?: Readonly<Record<string, unknown>>;
|
|
127
|
+
}
|
|
128
|
+
interface SelectionFlowValidationFeedback {
|
|
129
|
+
message?: string;
|
|
130
|
+
reason?: SelectionFlowRuntimeIssue;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Headless Flow 暴露给宿主渲染层的完整控制器。原子层只维护状态和动作,
|
|
134
|
+
* 不决定步骤、模块、错误或按钮应该如何展示。
|
|
135
|
+
*/
|
|
136
|
+
interface PisellSelectionFlowController<TDraft, TDraftUpdate, TField extends string, TModuleType extends string, TServices = unknown, THostContext = unknown> extends SelectionFlowSnapshot<TDraft, TModuleType> {
|
|
137
|
+
context: SelectionFlowContextValue<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>;
|
|
138
|
+
completionError?: string;
|
|
139
|
+
completionReason?: SelectionFlowRuntimeIssue;
|
|
140
|
+
updateDraft: (update: TDraftUpdate, meta: SelectionFlowDraftUpdateMeta<TField, TModuleType>) => void;
|
|
141
|
+
validateCurrentStep: () => Promise<boolean>;
|
|
142
|
+
complete: () => Promise<boolean>;
|
|
143
|
+
next: () => Promise<boolean>;
|
|
144
|
+
back: () => boolean;
|
|
145
|
+
getState: () => SelectionFlowSnapshot<TDraft, TModuleType>;
|
|
146
|
+
registerModuleHandle: (moduleKey: string, handle: FlowModuleHandle | null) => void;
|
|
147
|
+
getModuleHandle: (moduleKey: string) => FlowModuleHandle | undefined;
|
|
148
|
+
}
|
|
149
|
+
interface PisellSelectionFlowProps<TDraft, TDraftUpdate, TField extends string, TModuleType extends string, TServices = unknown, THostContext = unknown> {
|
|
150
|
+
registry: SelectionFlowModuleRegistry<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>;
|
|
151
|
+
draftAdapter: SelectionFlowDraftAdapter<TDraft, TDraftUpdate, TField>;
|
|
152
|
+
steps: readonly SelectionFlowStepConfig<TModuleType>[];
|
|
153
|
+
initialDraft: TDraft;
|
|
154
|
+
initialStepIndex?: number;
|
|
155
|
+
hostContext?: THostContext;
|
|
156
|
+
services: TServices;
|
|
157
|
+
children: (controller: PisellSelectionFlowController<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext>) => React.ReactNode;
|
|
158
|
+
onDraftChange?: (draft: TDraft) => void;
|
|
159
|
+
onStepChange?: (stepIndex: number, step: CompiledSelectionFlowStep<TModuleType>) => void;
|
|
160
|
+
onCompiledStepsChange?: (steps: readonly CompiledSelectionFlowStep<TModuleType>[]) => void;
|
|
161
|
+
onValidationFailed?: (module: CompiledSelectionFlowModuleConfig<TModuleType>, feedback?: SelectionFlowValidationFeedback) => void;
|
|
162
|
+
onConfigurationError?: (error: SelectionFlowCompileError) => void;
|
|
163
|
+
onComplete: (draft: TDraft) => boolean | void | Promise<boolean | void>;
|
|
164
|
+
}
|
|
165
|
+
type SelectionFlowCompileIssueCode = 'EMPTY_FLOW' | 'EMPTY_STEP' | 'DUPLICATE_STEP_KEY' | 'DUPLICATE_MODULE_KEY' | 'UNKNOWN_MODULE' | 'MISSING_HARD_REQUIREMENT' | 'INVALID_DEPENDENCY_ORDER' | 'CIRCULAR_HARD_REQUIREMENT' | 'APPLICABILITY_CHECK_FAILED';
|
|
166
|
+
interface SelectionFlowCompileIssue<TField extends string = string> {
|
|
167
|
+
code: SelectionFlowCompileIssueCode;
|
|
168
|
+
message: string;
|
|
169
|
+
stepKey?: string;
|
|
170
|
+
moduleKey?: string;
|
|
171
|
+
moduleType?: string;
|
|
172
|
+
requirementField?: TField;
|
|
173
|
+
}
|
|
174
|
+
declare class SelectionFlowCompileError extends Error {
|
|
175
|
+
readonly issues: readonly SelectionFlowCompileIssue[];
|
|
176
|
+
constructor(issues: readonly SelectionFlowCompileIssue[]);
|
|
177
|
+
}
|
|
178
|
+
//#endregion
|
|
179
|
+
export { CompiledSelectionFlowModuleConfig, CompiledSelectionFlowStep, FlowModuleBeforeLeaveResult, FlowModuleBeforeLeaveReturn, FlowModuleDataMap, FlowModuleHandle, FlowModuleState, FlowModuleStateMap, FlowModuleStatus, FlowModuleValidationResult, FlowModuleValidationReturn, PisellSelectionFlowController, PisellSelectionFlowProps, SelectionFlowCompileError, SelectionFlowCompileIssue, SelectionFlowCompileIssueCode, SelectionFlowContextValue, SelectionFlowDraftAdapter, SelectionFlowDraftChange, SelectionFlowDraftUpdateMeta, SelectionFlowMessageCode, SelectionFlowMetadata, SelectionFlowModuleAdapter, SelectionFlowModuleConfig, SelectionFlowModuleInput, SelectionFlowModuleRegistry, SelectionFlowRef, SelectionFlowRuntimeIssue, SelectionFlowSnapshot, SelectionFlowStepConfig, SelectionFlowValidationFeedback };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/components/PisellSelectionFlow/types.ts
|
|
2
|
+
var SelectionFlowCompileError = class extends Error {
|
|
3
|
+
constructor(issues) {
|
|
4
|
+
super(issues.map((issue) => issue.message).join("\n"));
|
|
5
|
+
this.name = "SelectionFlowCompileError";
|
|
6
|
+
this.issues = issues;
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { SelectionFlowCompileError };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/components/PisellSelectionFlow/utils.ts
|
|
2
|
+
const getCompiledStepsFingerprint = (steps) => steps.map((step) => `${step.key}:${step.modules.map((module) => `${module.key}:${module.type}`).join(",")}`).join("|");
|
|
3
|
+
const getSelectionFlowErrorMessage = (error) => error instanceof Error ? error.message : String(error);
|
|
4
|
+
const normalizeFlowValidationResult = (result) => {
|
|
5
|
+
if (typeof result === "undefined") return { valid: true };
|
|
6
|
+
if (typeof result === "boolean") return { valid: result };
|
|
7
|
+
return result;
|
|
8
|
+
};
|
|
9
|
+
const normalizeFlowBeforeLeaveResult = (result) => {
|
|
10
|
+
if (typeof result === "undefined") return { allowed: true };
|
|
11
|
+
if (typeof result === "boolean") return { allowed: result };
|
|
12
|
+
return result;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { getCompiledStepsFingerprint, getSelectionFlowErrorMessage, normalizeFlowBeforeLeaveResult, normalizeFlowValidationResult };
|
package/es/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PisellSingleLineTextProps } from "./components/pisellSingleLineText/types.js";
|
|
2
|
-
import { _default as _default$
|
|
2
|
+
import { _default as _default$16 } from "./components/pisellSingleLineText/PisellSingleLineText.js";
|
|
3
3
|
import { PisellLongTextProps } from "./components/pisellLongText/types.js";
|
|
4
4
|
import { _default as _default$12 } from "./components/pisellLongText/PisellLongText.js";
|
|
5
5
|
import { PisellNumberProps } from "./components/pisellNumber/types.js";
|
|
@@ -13,7 +13,7 @@ import { _default as _default$13 } from "./components/pisellPhone/PisellPhone.js
|
|
|
13
13
|
import { MailtoOptions, PisellEmailProps } from "./components/pisellEmail/types.js";
|
|
14
14
|
import { _default as _default$11 } from "./components/pisellEmail/PisellEmail.js";
|
|
15
15
|
import { PisellUrlProps } from "./components/pisellUrl/types.js";
|
|
16
|
-
import { _default as _default$
|
|
16
|
+
import { _default as _default$19 } from "./components/pisellUrl/PisellUrl.js";
|
|
17
17
|
import { PisellRatingProps } from "./components/pisellRating/types.js";
|
|
18
18
|
import { _default as _default$14 } from "./components/pisellRating/PisellRating.js";
|
|
19
19
|
import { PisellSingleSelectProps, SingleSelectRef } from "./components/pisellSingleSelect/types.js";
|
|
@@ -48,7 +48,7 @@ import { EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, FloorMapLayoutProvider, FloorMapLayoutP
|
|
|
48
48
|
import { mergeFloorMapLayoutPropsFromContext } from "./components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js";
|
|
49
49
|
import { FloorMapResourcePickerRecord, floorMapResourcePickerRecordSearchText, getFloorMapCardPickerCategoryConfig, getFloorMapResourcePickerCardMeta } from "./components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.js";
|
|
50
50
|
import { getFloorMapDisplayLocale, initFloorMapLayoutLocales } from "./components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.js";
|
|
51
|
-
import { _default as _default$
|
|
51
|
+
import { _default as _default$22 } from "./components/pisellFloorMapLayout/locales.js";
|
|
52
52
|
import { FloorMapImageElement } from "./components/pisellFloorMapLayout/components/FloorMapImageElement.js";
|
|
53
53
|
import { FloorMapBuiltinShapeElement } from "./components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.js";
|
|
54
54
|
import { FloorMapSelectionZoneElement } from "./components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.js";
|
|
@@ -79,13 +79,17 @@ import { Provider as Provider$4 } from "./components/PisellCards/components/Text
|
|
|
79
79
|
import { PisellStepItem, PisellStepsProps } from "./components/PisellSteps/types.js";
|
|
80
80
|
import { PisellProcedureProps, PisellProcedureRef, ProcedureBodyProps, ProcedureFooterProps, ProcedureHeaderProps as ProcedureHeaderProps$1 } from "./components/PisellProcedure/types.js";
|
|
81
81
|
import { PisellProcedure } from "./components/PisellProcedure/PisellProcedure.js";
|
|
82
|
+
import { CompiledSelectionFlowModuleConfig, CompiledSelectionFlowStep, FlowModuleBeforeLeaveResult, FlowModuleBeforeLeaveReturn, FlowModuleDataMap, FlowModuleHandle, FlowModuleState, FlowModuleStateMap, FlowModuleStatus, FlowModuleValidationResult, FlowModuleValidationReturn, PisellSelectionFlowController, PisellSelectionFlowProps, SelectionFlowCompileError, SelectionFlowCompileIssue, SelectionFlowCompileIssueCode, SelectionFlowContextValue, SelectionFlowDraftAdapter, SelectionFlowDraftChange, SelectionFlowDraftUpdateMeta, SelectionFlowMessageCode, SelectionFlowMetadata, SelectionFlowModuleAdapter, SelectionFlowModuleConfig, SelectionFlowModuleInput, SelectionFlowModuleRegistry, SelectionFlowRef, SelectionFlowRuntimeIssue, SelectionFlowSnapshot, SelectionFlowStepConfig, SelectionFlowValidationFeedback } from "./components/PisellSelectionFlow/types.js";
|
|
83
|
+
import { _default as _default$15 } from "./components/PisellSelectionFlow/PisellSelectionFlow.js";
|
|
84
|
+
import { useSelectionFlowContext, useTypedSelectionFlowContext } from "./components/PisellSelectionFlow/context.js";
|
|
85
|
+
import { compileSelectionFlow, compileSelectionFlowSteps, hasSelectionDraftFieldValue, isSelectionModuleType, resolveFlowModuleAdapter } from "./components/PisellSelectionFlow/compiler.js";
|
|
82
86
|
import { ProcedureHeader, ProcedureHeaderProps } from "./components/PisellProcedure/components/ProcedureHeader.js";
|
|
83
87
|
import { PisellSteps } from "./components/PisellSteps/PisellSteps.js";
|
|
84
88
|
import { PisellSuperTabsProps, TabDataItem } from "./components/PisellSuperTabs/types.js";
|
|
85
|
-
import { _default as _default$
|
|
89
|
+
import { _default as _default$17 } from "./components/PisellSuperTabs/PisellSuperTabs.js";
|
|
86
90
|
import { LevelType, PisellTabbarProps, TabbarActionItem, TabbarDataSource } from "./components/PisellTabbar/types.js";
|
|
87
91
|
import { PisellTabbar } from "./components/PisellTabbar/PisellTabbar.js";
|
|
88
|
-
import { PisellTabbarTemplate1Direction, PisellTabbarTemplate1Props, _default as _default$
|
|
92
|
+
import { PisellTabbarTemplate1Direction, PisellTabbarTemplate1Props, _default as _default$18 } from "./components/PisellTabbar/template/Template1/PisellTabbar.js";
|
|
89
93
|
import { PisellTabbar as PisellTabbar$1 } from "./components/PisellTabbar2/PisellTabbar.js";
|
|
90
94
|
import { AppVersionControl } from "./components/appVersionControl/index.js";
|
|
91
95
|
import { AutoComplete } from "./components/auto-complete/index.js";
|
|
@@ -119,7 +123,7 @@ import { CropPhoto } from "./components/cropPhoto/index.js";
|
|
|
119
123
|
import { CursorMode, PisellTimeNavigatorProps, TimeNavigatorOrientation, TimeNavigatorValue, TimeRangeOption } from "./components/pisellTimeNavigator/types.js";
|
|
120
124
|
import { PisellTimeNavigator } from "./components/pisellTimeNavigator/PisellTimeNavigator.js";
|
|
121
125
|
import { DEFAULT_CALENDAR_SLOT_STEP_MINUTES, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, getHorizontalAxisSlotCount, getRangeBounds, pickReferenceDateContainingNow } from "./components/pisellTimeNavigator/utils/index.js";
|
|
122
|
-
import { _default as _default$
|
|
126
|
+
import { _default as _default$23 } from "./components/pisellTimeNavigator/locales.js";
|
|
123
127
|
import { PisellReservationScheduleProps, ReservationScheduleValue } from "./components/pisellReservationSchedule/types.js";
|
|
124
128
|
import { PisellReservationSchedule } from "./components/pisellReservationSchedule/PisellReservationSchedule.js";
|
|
125
129
|
import { PisellReservationScheduleBandProps, ReservationScheduleBandValue, TimeNavigatorPassthroughProps } from "./components/pisellReservationScheduleBand/types.js";
|
|
@@ -127,14 +131,14 @@ import { PisellReservationScheduleBand } from "./components/pisellReservationSch
|
|
|
127
131
|
import { formatScheduleAtLabel } from "./components/pisellReservationScheduleBand/utils/formatScheduleAtLabel.js";
|
|
128
132
|
import { GroupBlocks, GroupModel, GroupViewVariant, ItemContext, ItemLayout, PisellGroupViewProps } from "./components/PisellGroupView/types.js";
|
|
129
133
|
import { MemoizedPisellGroupView } from "./components/PisellGroupView/PisellGroupView.js";
|
|
130
|
-
import { _default as _default$
|
|
134
|
+
import { _default as _default$21 } from "./components/table/index.js";
|
|
131
135
|
import { GridViewProps } from "./components/pisellGridPro/GridView/type.js";
|
|
132
136
|
import { GridView } from "./components/pisellGridPro/GridView/index.js";
|
|
133
137
|
import { ToolBarProps } from "./components/pisellGridPro/ToolBar/type.js";
|
|
134
138
|
import { Toolbar } from "./components/pisellGridPro/ToolBar/index.js";
|
|
135
139
|
import { GridProProps } from "./components/pisellGridPro/GridPro.js";
|
|
136
140
|
import { PisellGridPro } from "./components/pisellGridPro/index.js";
|
|
137
|
-
import { _default as _default$
|
|
141
|
+
import { _default as _default$20 } from "./components/record-view/index.js";
|
|
138
142
|
import { CalendarPersistContextValue, CalendarPersistKind, CalendarPersistProvider } from "./components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.js";
|
|
139
143
|
import { VenueWallAppearanceSlot, VenueWallAppearanceTheme, VenueWallStatusKey, VenueWallStatusTone, VenueWallStatusToneOverrides, diffVenueWallStatusToneOverrides, getVenueWallStatusToneMap } from "./components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js";
|
|
140
144
|
import { DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST, RecordBoardBlockedTimeMergedRange, RecordBoardBlockedTimePanelPayload, RecordBoardBodyView, RecordBoardBookingMoveDraft, RecordBoardCalendarBlockedTimePayload, RecordBoardCalendarBookingLike, RecordBoardCalendarBookingRenderArgs, RecordBoardCalendarDayOverlayBooking, RecordBoardCalendarProps, RecordBoardCalendarResource, RecordBoardCalendarResourceRenderArgs, RecordBoardCalendarSelectedFreeSlot, RecordBoardCalendarTimelineHeaderGroup, RecordBoardCalendarTimelineHeaderRenderContext, RecordBoardChildComponentProps, RecordBoardColumnFilterConfig, RecordBoardColumnType, RecordBoardContextValue, RecordBoardCreateBookingDayGroup, RecordBoardCreateBookingFromSelectionPayload, RecordBoardFieldType, RecordBoardFloorMapProps, RecordBoardGetOptions, RecordBoardGridProps, RecordBoardLayoutType, RecordBoardLayoutVariant, RecordBoardOptionItem, RecordBoardProps, RecordBoardResourceWallCardModel, RecordBoardResourceWallLayoutPersist, RecordBoardResourceWallProps, RecordBoardToolBarProps } from "./components/pisellRecordBoard/types.js";
|
|
@@ -274,4 +278,4 @@ import { Number } from "./components/virtual-keyboard/Number/index.js";
|
|
|
274
278
|
import { VirtualInput } from "./components/virtualInput/index.js";
|
|
275
279
|
import { WalletCard } from "./components/walletCard/index.js";
|
|
276
280
|
import { Affix, Alert, Anchor, Avatar, Breadcrumb, Card, Carousel, Col, ColorPicker, Descriptions, Divider, Empty, Grid, InputNumber as InputNumber$1, Mentions, Menu, Pagination, Popconfirm, Popover, Progress, Rate, Result, Row, Space, Spin, Statistic, Steps, Switch as Switch$1, Tag, Timeline, Tooltip, Transfer, Tree, message, notification, version } from "antd";
|
|
277
|
-
export { type AdaptColumnsForPhoneLayoutOptions, Affix, Alert, Anchor, AppVersionControl, AutoComplete, AutoCompleteNumber, AutoResizeText, Avatar, Badge, type BadgeConfig, Translation as BaseTranslation, type BatchActionBarPosition, type BatchActionConfirmConfig, type BatchActionItem, BatchEditor, Breadcrumb, Button, _default as ButtonGroupEdit, _default$1 as ButtonGroupPreview, Calendar, type CalendarPersistContextValue, type CalendarPersistKind, CalendarPersistProvider, Card, CardMetricItem, type PisellStatisticProps as CardMetricItemProps, _default$2 as CardPro, Carousel, Cascader, Checkbox, ClassicLayout, Col, Collapse, ColorPicker, Component, type CompoundedComponent, ConfigProvider, type CountryCode, type CreateShopFloorPlanClientOptions, CropPhoto, type CursorMode, CustomSelect, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST, type DataSourceContainerProps, _default$3 as DataSourceForm, DataSourceImage, DataSourceMenu, DataSourceQRCode, DataSourceSubForm, type DataSourceSubFormProps, _default$4 as DataSourceTable, DataSourceTypography, DataSourceWrapper, DatePicker, type DefaultActionsConfig, Descriptions, _default$5 as Div, Divider, DragSortTree, Drawer, Dropdown, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, Empty, type EnsureShopFloorPlanByCodeOptions, FIND_FALLBACK_SCANNER_COUNT_KEY, FLOOR_MAP_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_SELECTION_ZONE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, FloorMapBuiltinShapeElement, type FloorMapCanvasNameI18n, type FloorMapDataSourceRow, type FloorMapDataSources, type FloorMapEdge, type FloorMapEdgeAnchor, type FloorMapEdgeStatus, type FloorMapElementKindCategory, type FloorMapElementKindConfig, type FloorMapFullscreenMode, FloorMapImageElement, type FloorMapItemBase, type FloorMapLayoutContextValue, FloorMapLayoutProvider, type FloorMapLayoutProviderProps, type FloorMapMergedItem, type FloorMapRenderOptions, type FloorMapResourcePickerRecord, type FloorMapResourcePickerSlotProps, type FloorMapSceneElement, FloorMapSelectionZoneElement, type FloorMapViewConfig, type FloorMapViewportOverlayRenderArgs, _default$6 as Form, FormGroup, Checkbox$1 as FormItemCheckbox, ColorPicker$1 as FormItemColorPicker, DatePicker$1 as FormItemDatePicker, IconSelect as FormItemIconSelect, Input as FormItemInput, InputNumber as FormItemInputNumber, Radio as FormItemRadio, RecordListWrapperWithDataSource as FormItemRecordListWrapper, SelectWithDataSource as FormItemSelect, Switch as FormItemSwitch, FormItemTabs, TimePicker as FormItemTimePicker, Translation$1 as FormItemTranslation, Upload as FormItemUpload, Provider as GraphicTextCard, type GraphicTextCardProps, type GraphicTextCardSize, type GraphicTextCardVariant, Grid, type GridProProps, type GridViewProps, type GroupBlocks, type GroupModel, type GroupViewVariant, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, _default$7 as Icon, IconSelect$1 as IconSelect, IconFont as Iconfont, Image, type ImageDataSource, type ImageFillMode, Input$1 as Input, InputNumber$1 as InputNumber, InputNumberRange, type ItemContext, type ItemLayout, JsonWrapperProvider as JsonWrapper, _default$8 as Keyboard, type LevelType, List, type LookupInputRenderContext, LowCodePage, type MailtoOptions, Mentions, Menu, Modal, Provider$1 as MultilevelCard, type MultilevelCardProps, type MultipleSelectRef, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, type PisellBasicCardProps, MemoizedPisellBasicGrid as PisellBasicGrid, type PisellBasicGridProps, PisellBatchActionBar, type PisellBatchActionBarProps, PisellCard, _default$9 as PisellCardList, type PisellCardPickerCardMeta, type PisellCardPickerCategoryConfig, type PisellCardPickerCategoryLevelConfig, type PisellCardPickerCategoryMode, type PisellCardPickerCategoryPath, type PisellCardPickerItem, type PisellCardPickerMode, PisellCards, PisellCheckboxGroup, PisellConfigProvider, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, type PisellCurrencyProps, PisellCustomCheckboxGroup, PisellDataSourceContainer, PisellDatePicker, _default$10 as PisellDateTimeDisplay, type PisellDateTimeDisplayProps, Demo as PisellDraggable, PisellDropSort, PisellDropdown, _default$11 as PisellEmail, type PisellEmailProps, PisellEmpty, PisellFields, PisellFilter, type PisellFilterProps, PisellFind, type PisellFindProps, type PisellFindRef, PisellFloatingPanel, PisellFloorMapLayout, type PisellFloorMapLayoutProps, type PisellFloorMapLayoutRef, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, MemoizedPisellGroupView as PisellGroupView, type PisellGroupViewProps, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, type PisellHierarchicalSummaryListAggregateConfig, type PisellHierarchicalSummaryListAggregateMode, type PisellHierarchicalSummaryListItem, type PisellHierarchicalSummaryListKey, type PisellHierarchicalSummaryListLevelConfig, type PisellHierarchicalSummaryListProps, Provider$2 as PisellImageCard, type PisellImageCardProps, PisellImageCarousels, PisellInformationEntry, PisellInput, PisellLayout, type PisellLayoutProps, PisellLayouts, PisellList01, PisellLoading, _default$12 as PisellLongText, type PisellLongTextProps, PisellLookup, type PisellLookupProps, type PisellLookupRef, PisellMenu, type PisellMenuProps, PisellMetricCard, type PisellMetricCardProps, PisellMetrics, PisellMobileDateRangePicker, type PisellMobileDateRangePickerProps, PisellModal, PisellMultipleSelect, type PisellMultipleSelectProps, PisellNavigationMenu, MemoizedPisellNumber as PisellNumber, Number as PisellNumberKeyboard, type PisellNumberProps, MemoizedPisellPercent as PisellPercent, type PisellPercentProps, _default$13 as PisellPhone, type PisellPhoneProps, Amount as PisellPriceKeyboard, PisellProcedure, ProcedureHeader as PisellProcedureHeader, type ProcedureHeaderProps as PisellProcedureHeaderProps, type PisellProcedureProps, type PisellProcedureRef, PisellQRScanner, type PisellQRScannerProps, PisellQrcode, pisellQuickFilter as PisellQuickFilter, type PisellQuickFilterProps, _default$14 as PisellRating, type PisellRatingProps, PisellRecordBoard, PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, PisellRecordBoardResourceWallView, PisellReservationSchedule, PisellReservationScheduleBand, type PisellReservationScheduleBandProps, type PisellReservationScheduleProps, PisellRow, type PisellRowProps, PisellScan, PisellScrollView, type PisellScrollViewProps, PisellSectionHeaders, PisellShellFrame, type PisellShellFrameConfig, type PisellShellFrameProps, type PisellShellFrameScrollConfig, PisellSider, _default$15 as PisellSingleLineText, type PisellSingleLineTextProps, PisellSingleSelect, type PisellSingleSelectProps, PisellSort, type PisellSortProps, PisellStatisticList, type PisellStatisticListProps, type PisellStatisticProps, type PisellStepItem, PisellSteps, type PisellStepsProps, _default$16 as PisellSuperTabs, type PisellSuperTabsProps, PisellTabbar, PisellTabbar$1 as PisellTabbar2, type PisellTabbarProps, _default$17 as PisellTabbarTemplate1, type PisellTabbarTemplate1Direction, type PisellTabbarTemplate1Props, PisellTags, type PisellTagsProps, PisellText, PisellTimeNavigator, type PisellTimeNavigatorProps, PisellTimeRangeDisplay, type PisellTimeRangeDisplayProps, PisellToast, Toolbar as PisellToolBar, PisellTooltip, PisellUpload, _default$18 as PisellUrl, type PisellUrlProps, PisellViewGrid, PisellWalletPassCard, type PisellWalletPassCardProps, Popconfirm, Popover, type PostShopFloorPlanBody, type ProcedureBodyProps, type ProcedureFooterProps, type ProcedureHeaderProps$1 as ProcedureHeaderProps, ProductCard, ProfileMenu, Progress, PublishVersionModal, type PutShopFloorPlanBody, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, type RecordBoardBlockedTimeMergedRange, type RecordBoardBlockedTimePanelPayload, type RecordBoardBodyView, type RecordBoardBookingMoveDraft, type RecordBoardCalendarBlockedTimePayload, type RecordBoardCalendarBookingLike, type RecordBoardCalendarBookingRenderArgs, type RecordBoardCalendarDayOverlayBooking, type RecordBoardCalendarProps, type RecordBoardCalendarResource, type RecordBoardCalendarResourceRenderArgs, type RecordBoardCalendarSelectedFreeSlot, type RecordBoardCalendarTimelineHeaderGroup, type RecordBoardCalendarTimelineHeaderRenderContext, type RecordBoardChildComponentProps, type RecordBoardColumnFilterConfig, type RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, type RecordBoardFieldType, type RecordBoardFloorMapProps, type RecordBoardGetOptions, type RecordBoardGridProps, type RecordBoardLayoutType, type RecordBoardLayoutVariant, type RecordBoardOptionItem, type RecordBoardProps, type RecordBoardResourceWallCardModel, type RecordBoardResourceWallLayoutPersist, type RecordBoardResourceWallProps, type RecordBoardToolBarProps, _default$19 as RecordView, type ReservationScheduleBandValue, type ReservationScheduleValue, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, SafeAreaTop, SectionFooters, Segmented, Select, SelectTime, type ShopFloorPlanByCodeRequestOptions, type ShopFloorPlanDetail, type ShopFloorPlanHttpAdapter, type ShopFloorPlanLayoutItem, type SingleSelectRef, Skeleton, SliderOuter as Slider, Sort, SortableList, Space, Spin, Statistic, Steps, SubmitButton, Switch$1 as Switch, Provider$3 as TabCard, type TabCardProps, type TabDataItem, type TabbarActionItem, type TabbarDataSource, _default$20 as Table, Tabs, Tag, Provider$4 as TextCard, type TimeNavigatorOrientation, type TimeNavigatorPassthroughProps, type TimeNavigatorValue, TimePicker$1 as TimePicker, type TimeRangeOption, Timeline, type ToolBarProps, Tooltip, Transfer, Translation$2 as Translation, Tree, TreeSelect, Typography, Upload$1 as Upload, type VenueWallAppearanceSlot, type VenueWallAppearanceTheme, type VenueWallStatusKey, type VenueWallStatusTone, type VenueWallStatusToneOverrides, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, computeSelectionZoneMemberIds, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, _default$21 as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, inferCanvasSizeFromScene, initFloorMapLayoutLocales, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isSelectionZoneItem, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, parseNestedPathSegments, pickFloorPlanDetail, pickReferenceDateContainingNow, _default$22 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useShopFloorPlanSubscription, useToast, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
|
|
281
|
+
export { type AdaptColumnsForPhoneLayoutOptions, Affix, Alert, Anchor, AppVersionControl, AutoComplete, AutoCompleteNumber, AutoResizeText, Avatar, Badge, type BadgeConfig, Translation as BaseTranslation, type BatchActionBarPosition, type BatchActionConfirmConfig, type BatchActionItem, BatchEditor, Breadcrumb, Button, _default as ButtonGroupEdit, _default$1 as ButtonGroupPreview, Calendar, type CalendarPersistContextValue, type CalendarPersistKind, CalendarPersistProvider, Card, CardMetricItem, type PisellStatisticProps as CardMetricItemProps, _default$2 as CardPro, Carousel, Cascader, Checkbox, ClassicLayout, Col, Collapse, ColorPicker, type CompiledSelectionFlowModuleConfig, type CompiledSelectionFlowStep, Component, type CompoundedComponent, ConfigProvider, type CountryCode, type CreateShopFloorPlanClientOptions, CropPhoto, type CursorMode, CustomSelect, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST, type DataSourceContainerProps, _default$3 as DataSourceForm, DataSourceImage, DataSourceMenu, DataSourceQRCode, DataSourceSubForm, type DataSourceSubFormProps, _default$4 as DataSourceTable, DataSourceTypography, DataSourceWrapper, DatePicker, type DefaultActionsConfig, Descriptions, _default$5 as Div, Divider, DragSortTree, Drawer, Dropdown, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, Empty, type EnsureShopFloorPlanByCodeOptions, FIND_FALLBACK_SCANNER_COUNT_KEY, FLOOR_MAP_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_SELECTION_ZONE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, FloorMapBuiltinShapeElement, type FloorMapCanvasNameI18n, type FloorMapDataSourceRow, type FloorMapDataSources, type FloorMapEdge, type FloorMapEdgeAnchor, type FloorMapEdgeStatus, type FloorMapElementKindCategory, type FloorMapElementKindConfig, type FloorMapFullscreenMode, FloorMapImageElement, type FloorMapItemBase, type FloorMapLayoutContextValue, FloorMapLayoutProvider, type FloorMapLayoutProviderProps, type FloorMapMergedItem, type FloorMapRenderOptions, type FloorMapResourcePickerRecord, type FloorMapResourcePickerSlotProps, type FloorMapSceneElement, FloorMapSelectionZoneElement, type FloorMapViewConfig, type FloorMapViewportOverlayRenderArgs, type FlowModuleBeforeLeaveResult, type FlowModuleBeforeLeaveReturn, type FlowModuleDataMap, type FlowModuleHandle, type FlowModuleState, type FlowModuleStateMap, type FlowModuleStatus, type FlowModuleValidationResult, type FlowModuleValidationReturn, _default$6 as Form, FormGroup, Checkbox$1 as FormItemCheckbox, ColorPicker$1 as FormItemColorPicker, DatePicker$1 as FormItemDatePicker, IconSelect as FormItemIconSelect, Input as FormItemInput, InputNumber as FormItemInputNumber, Radio as FormItemRadio, RecordListWrapperWithDataSource as FormItemRecordListWrapper, SelectWithDataSource as FormItemSelect, Switch as FormItemSwitch, FormItemTabs, TimePicker as FormItemTimePicker, Translation$1 as FormItemTranslation, Upload as FormItemUpload, Provider as GraphicTextCard, type GraphicTextCardProps, type GraphicTextCardSize, type GraphicTextCardVariant, Grid, type GridProProps, type GridViewProps, type GroupBlocks, type GroupModel, type GroupViewVariant, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, _default$7 as Icon, IconSelect$1 as IconSelect, IconFont as Iconfont, Image, type ImageDataSource, type ImageFillMode, Input$1 as Input, InputNumber$1 as InputNumber, InputNumberRange, type ItemContext, type ItemLayout, JsonWrapperProvider as JsonWrapper, _default$8 as Keyboard, type LevelType, List, type LookupInputRenderContext, LowCodePage, type MailtoOptions, Mentions, Menu, Modal, Provider$1 as MultilevelCard, type MultilevelCardProps, type MultipleSelectRef, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, type PisellBasicCardProps, MemoizedPisellBasicGrid as PisellBasicGrid, type PisellBasicGridProps, PisellBatchActionBar, type PisellBatchActionBarProps, PisellCard, _default$9 as PisellCardList, type PisellCardPickerCardMeta, type PisellCardPickerCategoryConfig, type PisellCardPickerCategoryLevelConfig, type PisellCardPickerCategoryMode, type PisellCardPickerCategoryPath, type PisellCardPickerItem, type PisellCardPickerMode, PisellCards, PisellCheckboxGroup, PisellConfigProvider, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, type PisellCurrencyProps, PisellCustomCheckboxGroup, PisellDataSourceContainer, PisellDatePicker, _default$10 as PisellDateTimeDisplay, type PisellDateTimeDisplayProps, Demo as PisellDraggable, PisellDropSort, PisellDropdown, _default$11 as PisellEmail, type PisellEmailProps, PisellEmpty, PisellFields, PisellFilter, type PisellFilterProps, PisellFind, type PisellFindProps, type PisellFindRef, PisellFloatingPanel, PisellFloorMapLayout, type PisellFloorMapLayoutProps, type PisellFloorMapLayoutRef, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, MemoizedPisellGroupView as PisellGroupView, type PisellGroupViewProps, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, type PisellHierarchicalSummaryListAggregateConfig, type PisellHierarchicalSummaryListAggregateMode, type PisellHierarchicalSummaryListItem, type PisellHierarchicalSummaryListKey, type PisellHierarchicalSummaryListLevelConfig, type PisellHierarchicalSummaryListProps, Provider$2 as PisellImageCard, type PisellImageCardProps, PisellImageCarousels, PisellInformationEntry, PisellInput, PisellLayout, type PisellLayoutProps, PisellLayouts, PisellList01, PisellLoading, _default$12 as PisellLongText, type PisellLongTextProps, PisellLookup, type PisellLookupProps, type PisellLookupRef, PisellMenu, type PisellMenuProps, PisellMetricCard, type PisellMetricCardProps, PisellMetrics, PisellMobileDateRangePicker, type PisellMobileDateRangePickerProps, PisellModal, PisellMultipleSelect, type PisellMultipleSelectProps, PisellNavigationMenu, MemoizedPisellNumber as PisellNumber, Number as PisellNumberKeyboard, type PisellNumberProps, MemoizedPisellPercent as PisellPercent, type PisellPercentProps, _default$13 as PisellPhone, type PisellPhoneProps, Amount as PisellPriceKeyboard, PisellProcedure, ProcedureHeader as PisellProcedureHeader, type ProcedureHeaderProps as PisellProcedureHeaderProps, type PisellProcedureProps, type PisellProcedureRef, PisellQRScanner, type PisellQRScannerProps, PisellQrcode, pisellQuickFilter as PisellQuickFilter, type PisellQuickFilterProps, _default$14 as PisellRating, type PisellRatingProps, PisellRecordBoard, PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, PisellRecordBoardResourceWallView, PisellReservationSchedule, PisellReservationScheduleBand, type PisellReservationScheduleBandProps, type PisellReservationScheduleProps, PisellRow, type PisellRowProps, PisellScan, PisellScrollView, type PisellScrollViewProps, PisellSectionHeaders, _default$15 as PisellSelectionFlow, type PisellSelectionFlowController, type PisellSelectionFlowProps, PisellShellFrame, type PisellShellFrameConfig, type PisellShellFrameProps, type PisellShellFrameScrollConfig, PisellSider, _default$16 as PisellSingleLineText, type PisellSingleLineTextProps, PisellSingleSelect, type PisellSingleSelectProps, PisellSort, type PisellSortProps, PisellStatisticList, type PisellStatisticListProps, type PisellStatisticProps, type PisellStepItem, PisellSteps, type PisellStepsProps, _default$17 as PisellSuperTabs, type PisellSuperTabsProps, PisellTabbar, PisellTabbar$1 as PisellTabbar2, type PisellTabbarProps, _default$18 as PisellTabbarTemplate1, type PisellTabbarTemplate1Direction, type PisellTabbarTemplate1Props, PisellTags, type PisellTagsProps, PisellText, PisellTimeNavigator, type PisellTimeNavigatorProps, PisellTimeRangeDisplay, type PisellTimeRangeDisplayProps, PisellToast, Toolbar as PisellToolBar, PisellTooltip, PisellUpload, _default$19 as PisellUrl, type PisellUrlProps, PisellViewGrid, PisellWalletPassCard, type PisellWalletPassCardProps, Popconfirm, Popover, type PostShopFloorPlanBody, type ProcedureBodyProps, type ProcedureFooterProps, type ProcedureHeaderProps$1 as ProcedureHeaderProps, ProductCard, ProfileMenu, Progress, PublishVersionModal, type PutShopFloorPlanBody, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, type RecordBoardBlockedTimeMergedRange, type RecordBoardBlockedTimePanelPayload, type RecordBoardBodyView, type RecordBoardBookingMoveDraft, type RecordBoardCalendarBlockedTimePayload, type RecordBoardCalendarBookingLike, type RecordBoardCalendarBookingRenderArgs, type RecordBoardCalendarDayOverlayBooking, type RecordBoardCalendarProps, type RecordBoardCalendarResource, type RecordBoardCalendarResourceRenderArgs, type RecordBoardCalendarSelectedFreeSlot, type RecordBoardCalendarTimelineHeaderGroup, type RecordBoardCalendarTimelineHeaderRenderContext, type RecordBoardChildComponentProps, type RecordBoardColumnFilterConfig, type RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, type RecordBoardFieldType, type RecordBoardFloorMapProps, type RecordBoardGetOptions, type RecordBoardGridProps, type RecordBoardLayoutType, type RecordBoardLayoutVariant, type RecordBoardOptionItem, type RecordBoardProps, type RecordBoardResourceWallCardModel, type RecordBoardResourceWallLayoutPersist, type RecordBoardResourceWallProps, type RecordBoardToolBarProps, _default$20 as RecordView, type ReservationScheduleBandValue, type ReservationScheduleValue, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, SafeAreaTop, SectionFooters, Segmented, Select, SelectTime, SelectionFlowCompileError, type SelectionFlowCompileIssue, type SelectionFlowCompileIssueCode, type SelectionFlowContextValue, type SelectionFlowDraftAdapter, type SelectionFlowDraftChange, type SelectionFlowDraftUpdateMeta, type SelectionFlowMessageCode, type SelectionFlowMetadata, type SelectionFlowModuleAdapter, type SelectionFlowModuleConfig, type SelectionFlowModuleInput, type SelectionFlowModuleRegistry, type SelectionFlowRef, type SelectionFlowRuntimeIssue, type SelectionFlowSnapshot, type SelectionFlowStepConfig, type SelectionFlowValidationFeedback, type ShopFloorPlanByCodeRequestOptions, type ShopFloorPlanDetail, type ShopFloorPlanHttpAdapter, type ShopFloorPlanLayoutItem, type SingleSelectRef, Skeleton, SliderOuter as Slider, Sort, SortableList, Space, Spin, Statistic, Steps, SubmitButton, Switch$1 as Switch, Provider$3 as TabCard, type TabCardProps, type TabDataItem, type TabbarActionItem, type TabbarDataSource, _default$21 as Table, Tabs, Tag, Provider$4 as TextCard, type TimeNavigatorOrientation, type TimeNavigatorPassthroughProps, type TimeNavigatorValue, TimePicker$1 as TimePicker, type TimeRangeOption, Timeline, type ToolBarProps, Tooltip, Transfer, Translation$2 as Translation, Tree, TreeSelect, Typography, Upload$1 as Upload, type VenueWallAppearanceSlot, type VenueWallAppearanceTheme, type VenueWallStatusKey, type VenueWallStatusTone, type VenueWallStatusToneOverrides, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, compileSelectionFlow, compileSelectionFlowSteps, computeSelectionZoneMemberIds, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, _default$22 as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, hasSelectionDraftFieldValue, inferCanvasSizeFromScene, initFloorMapLayoutLocales, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isSelectionModuleType, isSelectionZoneItem, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, parseNestedPathSegments, pickFloorPlanDetail, pickReferenceDateContainingNow, _default$23 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveFlowModuleAdapter, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useSelectionFlowContext, useShopFloorPlanSubscription, useToast, useTypedSelectionFlowContext, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
|
package/es/index.js
CHANGED
|
@@ -79,6 +79,10 @@ import PisellCards from "./components/PisellCards/index.js";
|
|
|
79
79
|
import PisellSteps_default from "./components/PisellSteps/index.js";
|
|
80
80
|
import ProcedureHeader from "./components/PisellProcedure/components/ProcedureHeader.js";
|
|
81
81
|
import PisellProcedure from "./components/PisellProcedure/PisellProcedure.js";
|
|
82
|
+
import { SelectionFlowCompileError } from "./components/PisellSelectionFlow/types.js";
|
|
83
|
+
import { compileSelectionFlow, compileSelectionFlowSteps, hasSelectionDraftFieldValue, isSelectionModuleType, resolveFlowModuleAdapter } from "./components/PisellSelectionFlow/compiler.js";
|
|
84
|
+
import { useSelectionFlowContext, useTypedSelectionFlowContext } from "./components/PisellSelectionFlow/context.js";
|
|
85
|
+
import ForwardedSelectionFlow from "./components/PisellSelectionFlow/PisellSelectionFlow.js";
|
|
82
86
|
import PisellSuperTabs_default from "./components/PisellSuperTabs/index.js";
|
|
83
87
|
import PisellQRScanner from "./components/pisellQRScanner/index.js";
|
|
84
88
|
import { PisellLookup } from "./components/pisellLookup/PisellLookup.js";
|
|
@@ -242,4 +246,4 @@ import VirtualInput from "./components/virtualInput/index.js";
|
|
|
242
246
|
import WalletCard from "./components/walletCard/index.js";
|
|
243
247
|
import "./pisell-materials.tw.css";
|
|
244
248
|
import { Affix, Alert, Anchor, Avatar, Breadcrumb, Card, Carousel, Col, ColorPicker, Descriptions, Divider, Empty, Grid, InputNumber as InputNumber$1, Mentions, Menu, Pagination, Popconfirm, Popover, Progress, Rate, Result, Row, Space, Spin, Statistic, Steps, Switch as Switch$1, Tag, Timeline, Tooltip, Transfer, Tree, message, notification, version } from "antd";
|
|
245
|
-
export { Affix, Alert, Anchor, AppVersionControl, AutoComplete, AutoCompleteNumber, AutoResizeText, Avatar, Badge, Translation as BaseTranslation, BatchEditor, Breadcrumb, Button, buttonGroupEdit_default as ButtonGroupEdit, buttonGroupPreview_default as ButtonGroupPreview, Calendar, CalendarPersistProvider, Card, CardMetricItem, cardPro_default as CardPro, Carousel, Cascader, Checkbox, ClassicLayout, Col, Collapse, ColorPicker, Component, ConfigProvider, CropPhoto, CustomSelect, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST, DataSourceForm, DataSourceImage, DataSourceMenu, DataSourceQRCode, DataSourceSubForm, dataSourceTable_default as DataSourceTable, DataSourceTypography, DataSourceWrapper, DatePicker, Descriptions, div_default as Div, Divider, DragSortTree, Drawer, Dropdown, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, Empty, FIND_FALLBACK_SCANNER_COUNT_KEY, FLOOR_MAP_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_SELECTION_ZONE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, FloorMapBuiltinShapeElement, FloorMapImageElement, FloorMapLayoutProvider, FloorMapSelectionZoneElement, Form, FormGroup, Checkbox$1 as FormItemCheckbox, ColorPicker$1 as FormItemColorPicker, DatePicker$1 as FormItemDatePicker, IconSelect as FormItemIconSelect, Input as FormItemInput, InputNumber as FormItemInputNumber, Radio as FormItemRadio, RecordListWrapperWithDataSource as FormItemRecordListWrapper, SelectWithDataSource as FormItemSelect, Switch as FormItemSwitch, FormItemTabs, TimePicker as FormItemTimePicker, Translation$1 as FormItemTranslation, Upload as FormItemUpload, Provider as GraphicTextCard, Grid, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, icon_default as Icon, IconSelect$1 as IconSelect, IconFont as Iconfont, Image, Input$1 as Input, InputNumber$1 as InputNumber, InputNumberRange, JsonWrapperProvider as JsonWrapper, keyboard_default as Keyboard, List, LowCodePage, Mentions, Menu, Modal, Provider$1 as MultilevelCard, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, pisellAppCard_default as PisellAppCard, PisellAvatar, MemoizedPisellBasicGrid as PisellBasicGrid, PisellBatchActionBar, PisellCard, pisellCardList_default as PisellCardList, PisellCards, PisellCheckboxGroup, PisellConfigProvider, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, PisellCustomCheckboxGroup, PisellDataSourceContainer, PisellDatePicker, PisellDateTimeDisplay_default as PisellDateTimeDisplay, Demo as PisellDraggable, pisellDropSort_default as PisellDropSort, PisellDropdown, PisellEmail_default as PisellEmail, PisellEmpty, PisellFields, PisellFilter, PisellFind, PisellFloatingPanel, PisellFloorMapLayout, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, MemoizedPisellGroupView as PisellGroupView, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, Provider$2 as PisellImageCard, PisellImageCarousels, PisellInformationEntry, PisellInput, PisellLayout, PisellLayouts, PisellList01, PisellLoading, PisellLongText_default as PisellLongText, PisellLookup, pisellMenu_default as PisellMenu, PisellMetricCard, PisellMetrics, PisellMobileDateRangePicker, PisellModal, PisellMultipleSelect, pisellNavigationMenu_default as PisellNavigationMenu, MemoizedPisellNumber as PisellNumber, Number as PisellNumberKeyboard, MemoizedPisellPercent as PisellPercent, PisellPhone_default as PisellPhone, Amount as PisellPriceKeyboard, PisellProcedure, ProcedureHeader as PisellProcedureHeader, PisellQRScanner, PisellQrcode, pisellQuickFilter as PisellQuickFilter, PisellRating_default as PisellRating, PisellRecordBoard, PisellRecordBoardCalendarView, PisellRecordBoardResourceWallView, PisellReservationSchedule, PisellReservationScheduleBand, PisellRow, PisellScan, PisellScrollView_default as PisellScrollView, PisellSectionHeaders, PisellShellFrame, PisellSider, PisellSingleLineText_default as PisellSingleLineText, PisellSingleSelect, PisellSort, PisellStatisticList, PisellSteps_default as PisellSteps, PisellSuperTabs_default as PisellSuperTabs, PisellTabbar_default as PisellTabbar, PisellTabbar as PisellTabbar2, Template1_default as PisellTabbarTemplate1, PisellTags, PisellText, PisellTimeNavigator, PisellTimeRangeDisplay, PisellToast, Toolbar as PisellToolBar, PisellTooltip, PisellUpload, PisellUrl_default as PisellUrl, PisellViewGrid, PisellWalletPassCard, Popconfirm, Popover, ProductCard, ProfileMenu, Progress, PublishVersionModal, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, record_view_default as RecordView, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, SafeAreaTop, SectionFooters, Segmented, Select, SelectTime, Skeleton, SliderOuter as Slider, Sort, SortableList, Space, Spin, Statistic, Steps, SubmitButton, Switch$1 as Switch, Provider$3 as TabCard, table_default as Table, Tabs, Tag, Provider$4 as TextCard, TimePicker$1 as TimePicker, Timeline, Tooltip, Transfer, Translation$2 as Translation, Tree, TreeSelect, Typography, Upload$1 as Upload, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, computeSelectionZoneMemberIds, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, locales_default as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, inferCanvasSizeFromScene, initFloorMapLayoutLocales, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isSelectionZoneItem, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, parseNestedPathSegments, pickFloorPlanDetail, pickReferenceDateContainingNow, locales_default$1 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useShopFloorPlanSubscription, useToast, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
|
|
249
|
+
export { Affix, Alert, Anchor, AppVersionControl, AutoComplete, AutoCompleteNumber, AutoResizeText, Avatar, Badge, Translation as BaseTranslation, BatchEditor, Breadcrumb, Button, buttonGroupEdit_default as ButtonGroupEdit, buttonGroupPreview_default as ButtonGroupPreview, Calendar, CalendarPersistProvider, Card, CardMetricItem, cardPro_default as CardPro, Carousel, Cascader, Checkbox, ClassicLayout, Col, Collapse, ColorPicker, Component, ConfigProvider, CropPhoto, CustomSelect, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST, DataSourceForm, DataSourceImage, DataSourceMenu, DataSourceQRCode, DataSourceSubForm, dataSourceTable_default as DataSourceTable, DataSourceTypography, DataSourceWrapper, DatePicker, Descriptions, div_default as Div, Divider, DragSortTree, Drawer, Dropdown, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, Empty, FIND_FALLBACK_SCANNER_COUNT_KEY, FLOOR_MAP_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_SELECTION_ZONE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, FloorMapBuiltinShapeElement, FloorMapImageElement, FloorMapLayoutProvider, FloorMapSelectionZoneElement, Form, FormGroup, Checkbox$1 as FormItemCheckbox, ColorPicker$1 as FormItemColorPicker, DatePicker$1 as FormItemDatePicker, IconSelect as FormItemIconSelect, Input as FormItemInput, InputNumber as FormItemInputNumber, Radio as FormItemRadio, RecordListWrapperWithDataSource as FormItemRecordListWrapper, SelectWithDataSource as FormItemSelect, Switch as FormItemSwitch, FormItemTabs, TimePicker as FormItemTimePicker, Translation$1 as FormItemTranslation, Upload as FormItemUpload, Provider as GraphicTextCard, Grid, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, icon_default as Icon, IconSelect$1 as IconSelect, IconFont as Iconfont, Image, Input$1 as Input, InputNumber$1 as InputNumber, InputNumberRange, JsonWrapperProvider as JsonWrapper, keyboard_default as Keyboard, List, LowCodePage, Mentions, Menu, Modal, Provider$1 as MultilevelCard, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, pisellAppCard_default as PisellAppCard, PisellAvatar, MemoizedPisellBasicGrid as PisellBasicGrid, PisellBatchActionBar, PisellCard, pisellCardList_default as PisellCardList, PisellCards, PisellCheckboxGroup, PisellConfigProvider, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, PisellCustomCheckboxGroup, PisellDataSourceContainer, PisellDatePicker, PisellDateTimeDisplay_default as PisellDateTimeDisplay, Demo as PisellDraggable, pisellDropSort_default as PisellDropSort, PisellDropdown, PisellEmail_default as PisellEmail, PisellEmpty, PisellFields, PisellFilter, PisellFind, PisellFloatingPanel, PisellFloorMapLayout, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, MemoizedPisellGroupView as PisellGroupView, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, Provider$2 as PisellImageCard, PisellImageCarousels, PisellInformationEntry, PisellInput, PisellLayout, PisellLayouts, PisellList01, PisellLoading, PisellLongText_default as PisellLongText, PisellLookup, pisellMenu_default as PisellMenu, PisellMetricCard, PisellMetrics, PisellMobileDateRangePicker, PisellModal, PisellMultipleSelect, pisellNavigationMenu_default as PisellNavigationMenu, MemoizedPisellNumber as PisellNumber, Number as PisellNumberKeyboard, MemoizedPisellPercent as PisellPercent, PisellPhone_default as PisellPhone, Amount as PisellPriceKeyboard, PisellProcedure, ProcedureHeader as PisellProcedureHeader, PisellQRScanner, PisellQrcode, pisellQuickFilter as PisellQuickFilter, PisellRating_default as PisellRating, PisellRecordBoard, PisellRecordBoardCalendarView, PisellRecordBoardResourceWallView, PisellReservationSchedule, PisellReservationScheduleBand, PisellRow, PisellScan, PisellScrollView_default as PisellScrollView, PisellSectionHeaders, ForwardedSelectionFlow as PisellSelectionFlow, PisellShellFrame, PisellSider, PisellSingleLineText_default as PisellSingleLineText, PisellSingleSelect, PisellSort, PisellStatisticList, PisellSteps_default as PisellSteps, PisellSuperTabs_default as PisellSuperTabs, PisellTabbar_default as PisellTabbar, PisellTabbar as PisellTabbar2, Template1_default as PisellTabbarTemplate1, PisellTags, PisellText, PisellTimeNavigator, PisellTimeRangeDisplay, PisellToast, Toolbar as PisellToolBar, PisellTooltip, PisellUpload, PisellUrl_default as PisellUrl, PisellViewGrid, PisellWalletPassCard, Popconfirm, Popover, ProductCard, ProfileMenu, Progress, PublishVersionModal, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, record_view_default as RecordView, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, SafeAreaTop, SectionFooters, Segmented, Select, SelectTime, SelectionFlowCompileError, Skeleton, SliderOuter as Slider, Sort, SortableList, Space, Spin, Statistic, Steps, SubmitButton, Switch$1 as Switch, Provider$3 as TabCard, table_default as Table, Tabs, Tag, Provider$4 as TextCard, TimePicker$1 as TimePicker, Timeline, Tooltip, Transfer, Translation$2 as Translation, Tree, TreeSelect, Typography, Upload$1 as Upload, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, compileSelectionFlow, compileSelectionFlowSteps, computeSelectionZoneMemberIds, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, locales_default as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, hasSelectionDraftFieldValue, inferCanvasSizeFromScene, initFloorMapLayoutLocales, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isSelectionModuleType, isSelectionZoneItem, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, parseNestedPathSegments, pickFloorPlanDetail, pickReferenceDateContainingNow, locales_default$1 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveFlowModuleAdapter, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useSelectionFlowContext, useShopFloorPlanSubscription, useToast, useTypedSelectionFlowContext, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PisellSelectionFlowProps, SelectionFlowRef } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/PisellSelectionFlow/PisellSelectionFlow.d.ts
|
|
5
|
+
declare const _default: <TDraft, TDraftUpdate, TField extends string, TModuleType extends string, TServices = unknown, THostContext = unknown>(props: PisellSelectionFlowProps<TDraft, TDraftUpdate, TField, TModuleType, TServices, THostContext> & React.RefAttributes<SelectionFlowRef<TDraft, TDraftUpdate, TField, TModuleType>>) => React.ReactElement | null;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { _default };
|