@pisell/materials 1.0.1091 → 1.0.1092
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/async/view.js +1 -1
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +3 -3
- package/build/lowcode/preview.js +1 -1
- package/build/lowcode/render/default/async/view.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +37 -37
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +37 -37
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +22 -31
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +9 -2
- package/es/components/pisellRecordBoard/index.d.ts +1 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +6 -1
- package/es/index.d.ts +2 -1
- package/es/index.js +2 -1
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +22 -31
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +9 -2
- package/lib/components/pisellRecordBoard/index.d.ts +1 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +6 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +2 -0
- package/package.json +1 -1
|
@@ -5,15 +5,12 @@ import { isFloorPlanDuplicateCodeError, isHttpNotFoundError, isShopFloorPlanNotF
|
|
|
5
5
|
import { _asyncToGenerator } from "../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js";
|
|
6
6
|
//#region src/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.ts
|
|
7
7
|
const _excluded = ["buildDefaultPostBody"];
|
|
8
|
-
function fetchShopFloorPlanByCodeResponse(_x, _x2, _x3) {
|
|
8
|
+
function fetchShopFloorPlanByCodeResponse(_x, _x2, _x3, _x4) {
|
|
9
9
|
return _fetchShopFloorPlanByCodeResponse.apply(this, arguments);
|
|
10
10
|
}
|
|
11
11
|
function _fetchShopFloorPlanByCodeResponse() {
|
|
12
|
-
_fetchShopFloorPlanByCodeResponse = _asyncToGenerator(function* (http, trimmedCode, subscribe) {
|
|
13
|
-
const res = yield http.get(`/shop/schedule/floor-plan/code/${encodeURIComponent(trimmedCode)}`, {}, _objectSpread2({
|
|
14
|
-
fullResult: true,
|
|
15
|
-
isShopApi: true
|
|
16
|
-
}, (subscribe === null || subscribe === void 0 ? void 0 : subscribe.subscriberId) != null && subscribe.subscriberId !== "" ? _objectSpread2({
|
|
12
|
+
_fetchShopFloorPlanByCodeResponse = _asyncToGenerator(function* (http, trimmedCode, useShopApi, subscribe) {
|
|
13
|
+
const res = yield http.get(`/shop/schedule/floor-plan/code/${encodeURIComponent(trimmedCode)}`, {}, _objectSpread2(_objectSpread2({ fullResult: true }, useShopApi ? { isShopApi: true } : {}), (subscribe === null || subscribe === void 0 ? void 0 : subscribe.subscriberId) != null && subscribe.subscriberId !== "" ? _objectSpread2({
|
|
17
14
|
abort: true,
|
|
18
15
|
osServer: subscribe.osServer !== false,
|
|
19
16
|
subscriberId: subscribe.subscriberId
|
|
@@ -26,62 +23,62 @@ function _fetchShopFloorPlanByCodeResponse() {
|
|
|
26
23
|
return _fetchShopFloorPlanByCodeResponse.apply(this, arguments);
|
|
27
24
|
}
|
|
28
25
|
function createShopFloorPlanClient(options) {
|
|
29
|
-
var _options$saveFailedMe;
|
|
30
26
|
const { http } = options;
|
|
31
|
-
const
|
|
32
|
-
|
|
27
|
+
const useShopApi = options.useShopApi !== false;
|
|
28
|
+
const resolveSaveFailedMessage = () => {
|
|
29
|
+
var _ref, _options$getSaveFaile, _options$getSaveFaile2;
|
|
30
|
+
return (_ref = (_options$getSaveFaile = (_options$getSaveFaile2 = options.getSaveFailedMessage) === null || _options$getSaveFaile2 === void 0 ? void 0 : _options$getSaveFaile2.call(options)) !== null && _options$getSaveFaile !== void 0 ? _options$getSaveFaile : options.saveFailedMessage) !== null && _ref !== void 0 ? _ref : "Failed to save floor plan";
|
|
31
|
+
};
|
|
32
|
+
function postShopFloorPlan(_x5) {
|
|
33
33
|
return _postShopFloorPlan.apply(this, arguments);
|
|
34
34
|
}
|
|
35
35
|
function _postShopFloorPlan() {
|
|
36
36
|
_postShopFloorPlan = _asyncToGenerator(function* (body) {
|
|
37
37
|
var _data;
|
|
38
|
-
const res = yield http.post("/shop/schedule/floor-plan", body, {
|
|
39
|
-
fullResult: true,
|
|
40
|
-
isShopApi: true
|
|
41
|
-
});
|
|
38
|
+
const res = yield http.post("/shop/schedule/floor-plan", body, _objectSpread2({ fullResult: true }, useShopApi ? { isShopApi: true } : {}));
|
|
42
39
|
if ((res === null || res === void 0 ? void 0 : res.code) === 200 || (res === null || res === void 0 ? void 0 : res.status) === true || (res === null || res === void 0 || (_data = res.data) === null || _data === void 0 ? void 0 : _data.status) === true) {
|
|
43
40
|
const detail = pickFloorPlanDetail(res);
|
|
44
41
|
if (detail) return detail;
|
|
45
|
-
throw new Error(
|
|
42
|
+
throw new Error(resolveSaveFailedMessage());
|
|
46
43
|
}
|
|
47
44
|
if ((res === null || res === void 0 ? void 0 : res.code) === 5001) {
|
|
48
45
|
const err = new Error(typeof res.message === "string" && res.message.trim() ? res.message : "Floor plan code already exists");
|
|
49
46
|
Object.assign(err, { [SHOP_FLOOR_PLAN_DUPLICATE_CODE]: true });
|
|
50
47
|
throw err;
|
|
51
48
|
}
|
|
52
|
-
const msg = (res === null || res === void 0 ? void 0 : res.message) || (typeof (res === null || res === void 0 ? void 0 : res.data) === "object" && (res === null || res === void 0 ? void 0 : res.data) && "message" in res.data && typeof res.data.message === "string" ? res.data.message : null) ||
|
|
49
|
+
const msg = (res === null || res === void 0 ? void 0 : res.message) || (typeof (res === null || res === void 0 ? void 0 : res.data) === "object" && (res === null || res === void 0 ? void 0 : res.data) && "message" in res.data && typeof res.data.message === "string" ? res.data.message : null) || resolveSaveFailedMessage();
|
|
53
50
|
throw new Error(msg);
|
|
54
51
|
});
|
|
55
52
|
return _postShopFloorPlan.apply(this, arguments);
|
|
56
53
|
}
|
|
57
|
-
function ensureShopFloorPlanByCode(
|
|
54
|
+
function ensureShopFloorPlanByCode(_x6, _x7) {
|
|
58
55
|
return _ensureShopFloorPlanByCode.apply(this, arguments);
|
|
59
56
|
}
|
|
60
57
|
function _ensureShopFloorPlanByCode() {
|
|
61
58
|
_ensureShopFloorPlanByCode = _asyncToGenerator(function* (code, subscribe) {
|
|
62
59
|
const trimmed = code === null || code === void 0 ? void 0 : code.trim();
|
|
63
60
|
if (!trimmed) return null;
|
|
64
|
-
const
|
|
61
|
+
const _ref2 = subscribe !== null && subscribe !== void 0 ? subscribe : {}, { buildDefaultPostBody } = _ref2, subscribeRest = _objectWithoutProperties(_ref2, _excluded);
|
|
65
62
|
const postCreateOrRecover = function() {
|
|
66
|
-
var
|
|
63
|
+
var _ref3 = _asyncToGenerator(function* () {
|
|
67
64
|
if (!buildDefaultPostBody) return null;
|
|
68
65
|
const body = buildDefaultPostBody(trimmed);
|
|
69
66
|
try {
|
|
70
67
|
return yield postShopFloorPlan(body);
|
|
71
68
|
} catch (e) {
|
|
72
69
|
if (isFloorPlanDuplicateCodeError(e)) {
|
|
73
|
-
const { detail: again } = yield fetchShopFloorPlanByCodeResponse(http, trimmed, subscribeRest);
|
|
70
|
+
const { detail: again } = yield fetchShopFloorPlanByCodeResponse(http, trimmed, useShopApi, subscribeRest);
|
|
74
71
|
return again;
|
|
75
72
|
}
|
|
76
73
|
throw e;
|
|
77
74
|
}
|
|
78
75
|
});
|
|
79
76
|
return function postCreateOrRecover() {
|
|
80
|
-
return
|
|
77
|
+
return _ref3.apply(this, arguments);
|
|
81
78
|
};
|
|
82
79
|
}();
|
|
83
80
|
try {
|
|
84
|
-
const { res, detail } = yield fetchShopFloorPlanByCodeResponse(http, trimmed, subscribeRest);
|
|
81
|
+
const { res, detail } = yield fetchShopFloorPlanByCodeResponse(http, trimmed, useShopApi, subscribeRest);
|
|
85
82
|
if (detail) return detail;
|
|
86
83
|
if (isShopFloorPlanNotFoundResponse(res)) return yield postCreateOrRecover();
|
|
87
84
|
return null;
|
|
@@ -96,17 +93,14 @@ function createShopFloorPlanClient(options) {
|
|
|
96
93
|
unsubscribeShopFloorPlanCodeQuery(subscriberId) {
|
|
97
94
|
return _asyncToGenerator(function* () {
|
|
98
95
|
if (!subscriberId) return;
|
|
99
|
-
yield http.get("/shop/schedule/floor-plan/code/unsubscribe", { subscriberId }, {
|
|
100
|
-
isShopApi: true,
|
|
101
|
-
osServer: true
|
|
102
|
-
});
|
|
96
|
+
yield http.get("/shop/schedule/floor-plan/code/unsubscribe", { subscriberId }, _objectSpread2(_objectSpread2({}, useShopApi ? { isShopApi: true } : {}), {}, { osServer: true }));
|
|
103
97
|
})();
|
|
104
98
|
},
|
|
105
99
|
getShopFloorPlanByCode(code, subscribe) {
|
|
106
100
|
return _asyncToGenerator(function* () {
|
|
107
101
|
const trimmed = code === null || code === void 0 ? void 0 : code.trim();
|
|
108
102
|
if (!trimmed) return null;
|
|
109
|
-
const { detail } = yield fetchShopFloorPlanByCodeResponse(http, trimmed, subscribe);
|
|
103
|
+
const { detail } = yield fetchShopFloorPlanByCodeResponse(http, trimmed, useShopApi, subscribe);
|
|
110
104
|
return detail;
|
|
111
105
|
})();
|
|
112
106
|
},
|
|
@@ -114,12 +108,9 @@ function createShopFloorPlanClient(options) {
|
|
|
114
108
|
putShopFloorPlan(id, body) {
|
|
115
109
|
return _asyncToGenerator(function* () {
|
|
116
110
|
var _data2, _res$data;
|
|
117
|
-
const res = yield http.put(`/shop/schedule/floor-plan/${id}`, body, {
|
|
118
|
-
fullResult: true,
|
|
119
|
-
isShopApi: true
|
|
120
|
-
});
|
|
111
|
+
const res = yield http.put(`/shop/schedule/floor-plan/${id}`, body, _objectSpread2({ fullResult: true }, useShopApi ? { isShopApi: true } : {}));
|
|
121
112
|
if (!((res === null || res === void 0 ? void 0 : res.code) === 200 || (res === null || res === void 0 ? void 0 : res.status) === true || (res === null || res === void 0 || (_data2 = res.data) === null || _data2 === void 0 ? void 0 : _data2.status) === true)) {
|
|
122
|
-
const msg = (res === null || res === void 0 ? void 0 : res.message) || (typeof (res === null || res === void 0 ? void 0 : res.data) === "object" && (res === null || res === void 0 ? void 0 : res.data) && "message" in res.data && typeof res.data.message === "string" ? res.data.message : null) ||
|
|
113
|
+
const msg = (res === null || res === void 0 ? void 0 : res.message) || (typeof (res === null || res === void 0 ? void 0 : res.data) === "object" && (res === null || res === void 0 ? void 0 : res.data) && "message" in res.data && typeof res.data.message === "string" ? res.data.message : null) || resolveSaveFailedMessage();
|
|
123
114
|
throw new Error(msg);
|
|
124
115
|
}
|
|
125
116
|
return (_res$data = res === null || res === void 0 ? void 0 : res.data) !== null && _res$data !== void 0 ? _res$data : res;
|
|
@@ -63,8 +63,15 @@ type ShopFloorPlanHttpAdapter = {
|
|
|
63
63
|
put: (url: string, body?: unknown, config?: Record<string, unknown>) => Promise<unknown>;
|
|
64
64
|
};
|
|
65
65
|
type CreateShopFloorPlanClientOptions = {
|
|
66
|
-
http: ShopFloorPlanHttpAdapter; /** POST/PUT 失败且无更具体 message
|
|
67
|
-
saveFailedMessage?: string;
|
|
66
|
+
http: ShopFloorPlanHttpAdapter; /** POST/PUT 失败且无更具体 message 时的兜底文案(静态;若需随语言切换请用 getSaveFailedMessage) */
|
|
67
|
+
saveFailedMessage?: string; /** 保存失败时按当前运行时语言解析兜底文案(优先于 saveFailedMessage) */
|
|
68
|
+
getSaveFailedMessage?: () => string;
|
|
69
|
+
/**
|
|
70
|
+
* 是否走宿主 shop request 通道(`isShopApi`)。
|
|
71
|
+
* 默认 true:本 client 仅用于 `/shop/schedule/floor-plan`;拓扑单次 GET(无订阅)也需 shop 路由。
|
|
72
|
+
* 仅在极少数非 shop 宿主探测场景传 false。
|
|
73
|
+
*/
|
|
74
|
+
useShopApi?: boolean;
|
|
68
75
|
};
|
|
69
76
|
/** ensure 流程可选:404 时 POST 创建体由调用方注入 */
|
|
70
77
|
type EnsureShopFloorPlanByCodeOptions = ShopFloorPlanByCodeRequestOptions & {
|
|
@@ -13,6 +13,7 @@ import { RecordBoardResourceWall } from "./shellFrame/ResourceWall/RecordBoardRe
|
|
|
13
13
|
import { useRecordBoardShellBodyMeta } from "./shellFrame/ShellBodyMetaContext.js";
|
|
14
14
|
import { RecordBoardShellFrame } from "./shellFrame/index.js";
|
|
15
15
|
import { useRecordBoardContext } from "./hooks/useRecordBoardContext.js";
|
|
16
|
+
import { DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY } from "./shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js";
|
|
16
17
|
import { AdaptColumnsForPhoneLayoutOptions, RECORD_BOARD_PHONE_GRID_CLASS, adaptColumnsForPhoneLayout } from "./utils/recordBoardPhoneGrid.js";
|
|
17
18
|
import React from "react";
|
|
18
19
|
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React from "react";
|
|
2
|
+
//#region src/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts
|
|
3
|
+
/** 与 {@link RecordBoardResourceWallProps.filterFieldKey} 默认一致 */
|
|
4
|
+
declare const DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY = "resource_wall_resource_ids";
|
|
5
|
+
//#endregion
|
|
6
|
+
export { DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY };
|
package/es/index.d.ts
CHANGED
|
@@ -163,6 +163,7 @@ import { BatchActionBarPosition, BatchActionConfirmConfig, BatchActionItem, Defa
|
|
|
163
163
|
import { PisellBatchActionBar } from "./components/pisellBatchActionBar/PisellBatchActionBar.js";
|
|
164
164
|
import { useRecordBoardShellBodyMeta } from "./components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.js";
|
|
165
165
|
import { useRecordBoardContext } from "./components/pisellRecordBoard/hooks/useRecordBoardContext.js";
|
|
166
|
+
import { DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY } from "./components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js";
|
|
166
167
|
import { AdaptColumnsForPhoneLayoutOptions, RECORD_BOARD_PHONE_GRID_CLASS, adaptColumnsForPhoneLayout } from "./components/pisellRecordBoard/utils/recordBoardPhoneGrid.js";
|
|
167
168
|
import { PisellRecordBoard } from "./components/pisellRecordBoard/index.js";
|
|
168
169
|
import { PisellShellFrameConfig, PisellShellFrameProps, PisellShellFrameScrollConfig } from "./components/pisellShellFrame/types.js";
|
|
@@ -283,4 +284,4 @@ import { AppVersionControl } from "./components/appVersionControl/index.js";
|
|
|
283
284
|
import { PisellConfigProvider } from "./components/pisell-config-provider/index.js";
|
|
284
285
|
import { usePisellConfig } from "./components/pisell-config-provider/hooks/usePisellConfig.js";
|
|
285
286
|
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";
|
|
286
|
-
export { type ActionPanelAlign, type ActionPanelItemPriority, type ActionPanelLayout, type ActionPanelOverflowStrategy, 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 ContactBriefExtraField, type ContactFormValues, type CountryCode, type CreateShopFloorPlanClientOptions, CropPhoto, type CursorMode, CustomSelect, type CustomerBriefExtendedField, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, 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, type EntityCardActionItem, type EntityCardDensity, type EntityCardLayout, type EntityCardMediaConfig, type EntityCardMediaType, type EntityCardSecondaryItem, type EntityCardTagItem, type EntityCardTagPosition, type EntityCardWidth, 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, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, HardwareErrorTip, _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, JsonWrapperProvider as JsonWrapper, _default$8 as Keyboard, type LevelType, List, LowCodePage, type MailtoOptions, Mentions, Menu, Modal, Provider$1 as MultilevelCard, type MultilevelCardProps, type MultipleSelectRef, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellActionPanel, type PisellActionPanelGroup, type PisellActionPanelItem, type PisellActionPanelProps, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, PisellBaseCard, type PisellBaseCardProps, 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, PisellContactBrief, type PisellContactBriefComponent, type PisellContactBriefCreateButtonProps, type PisellContactBriefProps, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, type PisellCurrencyProps, PisellCustomCheckboxGroup, PisellCustomerBrief, type PisellCustomerBriefProps, PisellDataSourceContainer, PisellDatePicker, _default$10 as PisellDateTimeDisplay, type PisellDateTimeDisplayProps, Demo as PisellDraggable, PisellDropSort, PisellDropdown, _default$11 as PisellEmail, type PisellEmailProps, PisellEmpty, PisellEntityCard, type PisellEntityCardProps, PisellExport, type PisellExportProps, PisellFields, PisellFilter, type PisellFilterProps, PisellFind, type PisellFindProps, type PisellFindRef, PisellFloatingPanel, PisellFloorMapLayout, type PisellFloorMapLayoutProps, type PisellFloorMapLayoutRef, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, type PisellHierarchicalSummaryListAggregateConfig, type PisellHierarchicalSummaryListAggregateMode, type PisellHierarchicalSummaryListItem, type PisellHierarchicalSummaryListKey, type PisellHierarchicalSummaryListLevelConfig, type PisellHierarchicalSummaryListProps, Provider$2 as PisellImageCard, type PisellImageCardProps, PisellImageCarousels, PisellImport, type PisellImportProps, 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, type PisellProcedureProps, type PisellProcedureRef, PisellQRScanner, type PisellQRScannerProps, PisellQrcode, pisellQuickFilter as PisellQuickFilter, type PisellQuickFilterProps, _default$14 as PisellRating, type PisellRatingProps, PisellRecordBoard, PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, 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 PisellStatisticProps, type PisellStepItem, PisellSteps, type PisellStepsProps, _default$16 as PisellSuperTabs, type PisellSuperTabsProps, PisellTabbar, PisellTabbar$1 as PisellTabbar2, type PisellTabbarProps, _default$17 as PisellTabbarTemplate1, PisellTags, 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, ProductCard, ProfileMenu, Progress, PublishVersionModal, type PutShopFloorPlanBody, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, type RecordBoardBodyView, type RecordBoardCalendarBookingLike, type RecordBoardCalendarProps, type RecordBoardCalendarResource, type RecordBoardChildComponentProps, type RecordBoardColumnFilterConfig, type RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardFieldType, type RecordBoardFloorMapProps, type RecordBoardGetOptions, type RecordBoardGridProps, type RecordBoardLayoutType, type RecordBoardOptionItem, type RecordBoardProps, type RecordBoardToolBarProps, _default$19 as RecordView, type ReservationScheduleBandValue, type ReservationScheduleValue, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, 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 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, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, computeSelectionZoneMemberIds, createShopFloorPlanClient, findFloorMapRowByDataBinding, _default$21 as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, 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 };
|
|
287
|
+
export { type ActionPanelAlign, type ActionPanelItemPriority, type ActionPanelLayout, type ActionPanelOverflowStrategy, 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 ContactBriefExtraField, type ContactFormValues, type CountryCode, type CreateShopFloorPlanClientOptions, CropPhoto, type CursorMode, CustomSelect, type CustomerBriefExtendedField, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, 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, type EntityCardActionItem, type EntityCardDensity, type EntityCardLayout, type EntityCardMediaConfig, type EntityCardMediaType, type EntityCardSecondaryItem, type EntityCardTagItem, type EntityCardTagPosition, type EntityCardWidth, 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, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, HardwareErrorTip, _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, JsonWrapperProvider as JsonWrapper, _default$8 as Keyboard, type LevelType, List, LowCodePage, type MailtoOptions, Mentions, Menu, Modal, Provider$1 as MultilevelCard, type MultilevelCardProps, type MultipleSelectRef, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellActionPanel, type PisellActionPanelGroup, type PisellActionPanelItem, type PisellActionPanelProps, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, PisellBaseCard, type PisellBaseCardProps, 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, PisellContactBrief, type PisellContactBriefComponent, type PisellContactBriefCreateButtonProps, type PisellContactBriefProps, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, type PisellCurrencyProps, PisellCustomCheckboxGroup, PisellCustomerBrief, type PisellCustomerBriefProps, PisellDataSourceContainer, PisellDatePicker, _default$10 as PisellDateTimeDisplay, type PisellDateTimeDisplayProps, Demo as PisellDraggable, PisellDropSort, PisellDropdown, _default$11 as PisellEmail, type PisellEmailProps, PisellEmpty, PisellEntityCard, type PisellEntityCardProps, PisellExport, type PisellExportProps, PisellFields, PisellFilter, type PisellFilterProps, PisellFind, type PisellFindProps, type PisellFindRef, PisellFloatingPanel, PisellFloorMapLayout, type PisellFloorMapLayoutProps, type PisellFloorMapLayoutRef, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, type PisellHierarchicalSummaryListAggregateConfig, type PisellHierarchicalSummaryListAggregateMode, type PisellHierarchicalSummaryListItem, type PisellHierarchicalSummaryListKey, type PisellHierarchicalSummaryListLevelConfig, type PisellHierarchicalSummaryListProps, Provider$2 as PisellImageCard, type PisellImageCardProps, PisellImageCarousels, PisellImport, type PisellImportProps, 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, type PisellProcedureProps, type PisellProcedureRef, PisellQRScanner, type PisellQRScannerProps, PisellQrcode, pisellQuickFilter as PisellQuickFilter, type PisellQuickFilterProps, _default$14 as PisellRating, type PisellRatingProps, PisellRecordBoard, PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, 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 PisellStatisticProps, type PisellStepItem, PisellSteps, type PisellStepsProps, _default$16 as PisellSuperTabs, type PisellSuperTabsProps, PisellTabbar, PisellTabbar$1 as PisellTabbar2, type PisellTabbarProps, _default$17 as PisellTabbarTemplate1, PisellTags, 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, ProductCard, ProfileMenu, Progress, PublishVersionModal, type PutShopFloorPlanBody, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, type RecordBoardBodyView, type RecordBoardCalendarBookingLike, type RecordBoardCalendarProps, type RecordBoardCalendarResource, type RecordBoardChildComponentProps, type RecordBoardColumnFilterConfig, type RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardFieldType, type RecordBoardFloorMapProps, type RecordBoardGetOptions, type RecordBoardGridProps, type RecordBoardLayoutType, type RecordBoardOptionItem, type RecordBoardProps, type RecordBoardToolBarProps, _default$19 as RecordView, type ReservationScheduleBandValue, type ReservationScheduleValue, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, 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 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, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, computeSelectionZoneMemberIds, createShopFloorPlanClient, findFloorMapRowByDataBinding, _default$21 as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, 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 };
|
package/es/index.js
CHANGED
|
@@ -159,6 +159,7 @@ import { useRecordBoardShellBodyMeta } from "./components/pisellRecordBoard/shel
|
|
|
159
159
|
import PisellBatchActionBar from "./components/pisellBatchActionBar/PisellBatchActionBar.js";
|
|
160
160
|
import { CalendarPersistProvider } from "./components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.js";
|
|
161
161
|
import { PisellRecordBoardCalendarView } from "./components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.js";
|
|
162
|
+
import { DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY } from "./components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js";
|
|
162
163
|
import PisellRecordBoard from "./components/pisellRecordBoard/index.js";
|
|
163
164
|
import { getBankCardTypeImg } from "./components/pisellInput/components/BankCard/utils.js";
|
|
164
165
|
import PisellInput from "./components/pisellInput/index.js";
|
|
@@ -244,4 +245,4 @@ import PublishVersionModal from "./components/versionModal/index.js";
|
|
|
244
245
|
import AppVersionControl from "./components/appVersionControl/index.js";
|
|
245
246
|
import "./pisell-materials.tw.css";
|
|
246
247
|
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";
|
|
247
|
-
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, 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, 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, HardwareErrorTip, 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, PisellActionPanel, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, pisellAppCard_default as PisellAppCard, PisellAvatar, PisellBaseCard, MemoizedPisellBasicGrid as PisellBasicGrid, PisellBatchActionBar, PisellCard, pisellCardList_default as PisellCardList, PisellCards, PisellCheckboxGroup, PisellConfigProvider, PisellContactBrief, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, PisellCustomCheckboxGroup, PisellCustomerBrief, PisellDataSourceContainer, PisellDatePicker, PisellDateTimeDisplay_default as PisellDateTimeDisplay, Demo as PisellDraggable, pisellDropSort_default as PisellDropSort, PisellDropdown, PisellEmail_default as PisellEmail, PisellEmpty, PisellEntityCard, PisellExport, PisellFields, PisellFilter, PisellFind, PisellFloatingPanel, PisellFloorMapLayout, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, Provider$2 as PisellImageCard, PisellImageCarousels, PisellImport, 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, PisellQRScanner, PisellQrcode, pisellQuickFilter as PisellQuickFilter, PisellRating_default as PisellRating, PisellRecordBoard, PisellRecordBoardCalendarView, 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, 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, findFloorMapRowByDataBinding, locales_default as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, 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 };
|
|
248
|
+
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, 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, 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, HardwareErrorTip, 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, PisellActionPanel, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, pisellAppCard_default as PisellAppCard, PisellAvatar, PisellBaseCard, MemoizedPisellBasicGrid as PisellBasicGrid, PisellBatchActionBar, PisellCard, pisellCardList_default as PisellCardList, PisellCards, PisellCheckboxGroup, PisellConfigProvider, PisellContactBrief, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, PisellCustomCheckboxGroup, PisellCustomerBrief, PisellDataSourceContainer, PisellDatePicker, PisellDateTimeDisplay_default as PisellDateTimeDisplay, Demo as PisellDraggable, pisellDropSort_default as PisellDropSort, PisellDropdown, PisellEmail_default as PisellEmail, PisellEmpty, PisellEntityCard, PisellExport, PisellFields, PisellFilter, PisellFind, PisellFloatingPanel, PisellFloorMapLayout, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, Provider$2 as PisellImageCard, PisellImageCarousels, PisellImport, 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, PisellQRScanner, PisellQrcode, pisellQuickFilter as PisellQuickFilter, PisellRating_default as PisellRating, PisellRecordBoard, PisellRecordBoardCalendarView, 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, 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, findFloorMapRowByDataBinding, locales_default as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, 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 };
|
|
@@ -5,15 +5,12 @@ const require_shopFloorPlanPure = require("./shopFloorPlanPure.js");
|
|
|
5
5
|
const require_asyncToGenerator = require("../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js");
|
|
6
6
|
//#region src/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.ts
|
|
7
7
|
const _excluded = ["buildDefaultPostBody"];
|
|
8
|
-
function fetchShopFloorPlanByCodeResponse(_x, _x2, _x3) {
|
|
8
|
+
function fetchShopFloorPlanByCodeResponse(_x, _x2, _x3, _x4) {
|
|
9
9
|
return _fetchShopFloorPlanByCodeResponse.apply(this, arguments);
|
|
10
10
|
}
|
|
11
11
|
function _fetchShopFloorPlanByCodeResponse() {
|
|
12
|
-
_fetchShopFloorPlanByCodeResponse = require_asyncToGenerator._asyncToGenerator(function* (http, trimmedCode, subscribe) {
|
|
13
|
-
const res = yield http.get(`/shop/schedule/floor-plan/code/${encodeURIComponent(trimmedCode)}`, {}, require_objectSpread2._objectSpread2({
|
|
14
|
-
fullResult: true,
|
|
15
|
-
isShopApi: true
|
|
16
|
-
}, (subscribe === null || subscribe === void 0 ? void 0 : subscribe.subscriberId) != null && subscribe.subscriberId !== "" ? require_objectSpread2._objectSpread2({
|
|
12
|
+
_fetchShopFloorPlanByCodeResponse = require_asyncToGenerator._asyncToGenerator(function* (http, trimmedCode, useShopApi, subscribe) {
|
|
13
|
+
const res = yield http.get(`/shop/schedule/floor-plan/code/${encodeURIComponent(trimmedCode)}`, {}, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({ fullResult: true }, useShopApi ? { isShopApi: true } : {}), (subscribe === null || subscribe === void 0 ? void 0 : subscribe.subscriberId) != null && subscribe.subscriberId !== "" ? require_objectSpread2._objectSpread2({
|
|
17
14
|
abort: true,
|
|
18
15
|
osServer: subscribe.osServer !== false,
|
|
19
16
|
subscriberId: subscribe.subscriberId
|
|
@@ -26,62 +23,62 @@ function _fetchShopFloorPlanByCodeResponse() {
|
|
|
26
23
|
return _fetchShopFloorPlanByCodeResponse.apply(this, arguments);
|
|
27
24
|
}
|
|
28
25
|
function createShopFloorPlanClient(options) {
|
|
29
|
-
var _options$saveFailedMe;
|
|
30
26
|
const { http } = options;
|
|
31
|
-
const
|
|
32
|
-
|
|
27
|
+
const useShopApi = options.useShopApi !== false;
|
|
28
|
+
const resolveSaveFailedMessage = () => {
|
|
29
|
+
var _ref, _options$getSaveFaile, _options$getSaveFaile2;
|
|
30
|
+
return (_ref = (_options$getSaveFaile = (_options$getSaveFaile2 = options.getSaveFailedMessage) === null || _options$getSaveFaile2 === void 0 ? void 0 : _options$getSaveFaile2.call(options)) !== null && _options$getSaveFaile !== void 0 ? _options$getSaveFaile : options.saveFailedMessage) !== null && _ref !== void 0 ? _ref : "Failed to save floor plan";
|
|
31
|
+
};
|
|
32
|
+
function postShopFloorPlan(_x5) {
|
|
33
33
|
return _postShopFloorPlan.apply(this, arguments);
|
|
34
34
|
}
|
|
35
35
|
function _postShopFloorPlan() {
|
|
36
36
|
_postShopFloorPlan = require_asyncToGenerator._asyncToGenerator(function* (body) {
|
|
37
37
|
var _data;
|
|
38
|
-
const res = yield http.post("/shop/schedule/floor-plan", body, {
|
|
39
|
-
fullResult: true,
|
|
40
|
-
isShopApi: true
|
|
41
|
-
});
|
|
38
|
+
const res = yield http.post("/shop/schedule/floor-plan", body, require_objectSpread2._objectSpread2({ fullResult: true }, useShopApi ? { isShopApi: true } : {}));
|
|
42
39
|
if ((res === null || res === void 0 ? void 0 : res.code) === 200 || (res === null || res === void 0 ? void 0 : res.status) === true || (res === null || res === void 0 || (_data = res.data) === null || _data === void 0 ? void 0 : _data.status) === true) {
|
|
43
40
|
const detail = require_shopFloorPlanPure.pickFloorPlanDetail(res);
|
|
44
41
|
if (detail) return detail;
|
|
45
|
-
throw new Error(
|
|
42
|
+
throw new Error(resolveSaveFailedMessage());
|
|
46
43
|
}
|
|
47
44
|
if ((res === null || res === void 0 ? void 0 : res.code) === 5001) {
|
|
48
45
|
const err = new Error(typeof res.message === "string" && res.message.trim() ? res.message : "Floor plan code already exists");
|
|
49
46
|
Object.assign(err, { [require_shopFloorPlanTypes.SHOP_FLOOR_PLAN_DUPLICATE_CODE]: true });
|
|
50
47
|
throw err;
|
|
51
48
|
}
|
|
52
|
-
const msg = (res === null || res === void 0 ? void 0 : res.message) || (typeof (res === null || res === void 0 ? void 0 : res.data) === "object" && (res === null || res === void 0 ? void 0 : res.data) && "message" in res.data && typeof res.data.message === "string" ? res.data.message : null) ||
|
|
49
|
+
const msg = (res === null || res === void 0 ? void 0 : res.message) || (typeof (res === null || res === void 0 ? void 0 : res.data) === "object" && (res === null || res === void 0 ? void 0 : res.data) && "message" in res.data && typeof res.data.message === "string" ? res.data.message : null) || resolveSaveFailedMessage();
|
|
53
50
|
throw new Error(msg);
|
|
54
51
|
});
|
|
55
52
|
return _postShopFloorPlan.apply(this, arguments);
|
|
56
53
|
}
|
|
57
|
-
function ensureShopFloorPlanByCode(
|
|
54
|
+
function ensureShopFloorPlanByCode(_x6, _x7) {
|
|
58
55
|
return _ensureShopFloorPlanByCode.apply(this, arguments);
|
|
59
56
|
}
|
|
60
57
|
function _ensureShopFloorPlanByCode() {
|
|
61
58
|
_ensureShopFloorPlanByCode = require_asyncToGenerator._asyncToGenerator(function* (code, subscribe) {
|
|
62
59
|
const trimmed = code === null || code === void 0 ? void 0 : code.trim();
|
|
63
60
|
if (!trimmed) return null;
|
|
64
|
-
const
|
|
61
|
+
const _ref2 = subscribe !== null && subscribe !== void 0 ? subscribe : {}, { buildDefaultPostBody } = _ref2, subscribeRest = require_objectWithoutProperties._objectWithoutProperties(_ref2, _excluded);
|
|
65
62
|
const postCreateOrRecover = function() {
|
|
66
|
-
var
|
|
63
|
+
var _ref3 = require_asyncToGenerator._asyncToGenerator(function* () {
|
|
67
64
|
if (!buildDefaultPostBody) return null;
|
|
68
65
|
const body = buildDefaultPostBody(trimmed);
|
|
69
66
|
try {
|
|
70
67
|
return yield postShopFloorPlan(body);
|
|
71
68
|
} catch (e) {
|
|
72
69
|
if (require_shopFloorPlanPure.isFloorPlanDuplicateCodeError(e)) {
|
|
73
|
-
const { detail: again } = yield fetchShopFloorPlanByCodeResponse(http, trimmed, subscribeRest);
|
|
70
|
+
const { detail: again } = yield fetchShopFloorPlanByCodeResponse(http, trimmed, useShopApi, subscribeRest);
|
|
74
71
|
return again;
|
|
75
72
|
}
|
|
76
73
|
throw e;
|
|
77
74
|
}
|
|
78
75
|
});
|
|
79
76
|
return function postCreateOrRecover() {
|
|
80
|
-
return
|
|
77
|
+
return _ref3.apply(this, arguments);
|
|
81
78
|
};
|
|
82
79
|
}();
|
|
83
80
|
try {
|
|
84
|
-
const { res, detail } = yield fetchShopFloorPlanByCodeResponse(http, trimmed, subscribeRest);
|
|
81
|
+
const { res, detail } = yield fetchShopFloorPlanByCodeResponse(http, trimmed, useShopApi, subscribeRest);
|
|
85
82
|
if (detail) return detail;
|
|
86
83
|
if (require_shopFloorPlanPure.isShopFloorPlanNotFoundResponse(res)) return yield postCreateOrRecover();
|
|
87
84
|
return null;
|
|
@@ -96,17 +93,14 @@ function createShopFloorPlanClient(options) {
|
|
|
96
93
|
unsubscribeShopFloorPlanCodeQuery(subscriberId) {
|
|
97
94
|
return require_asyncToGenerator._asyncToGenerator(function* () {
|
|
98
95
|
if (!subscriberId) return;
|
|
99
|
-
yield http.get("/shop/schedule/floor-plan/code/unsubscribe", { subscriberId }, {
|
|
100
|
-
isShopApi: true,
|
|
101
|
-
osServer: true
|
|
102
|
-
});
|
|
96
|
+
yield http.get("/shop/schedule/floor-plan/code/unsubscribe", { subscriberId }, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, useShopApi ? { isShopApi: true } : {}), {}, { osServer: true }));
|
|
103
97
|
})();
|
|
104
98
|
},
|
|
105
99
|
getShopFloorPlanByCode(code, subscribe) {
|
|
106
100
|
return require_asyncToGenerator._asyncToGenerator(function* () {
|
|
107
101
|
const trimmed = code === null || code === void 0 ? void 0 : code.trim();
|
|
108
102
|
if (!trimmed) return null;
|
|
109
|
-
const { detail } = yield fetchShopFloorPlanByCodeResponse(http, trimmed, subscribe);
|
|
103
|
+
const { detail } = yield fetchShopFloorPlanByCodeResponse(http, trimmed, useShopApi, subscribe);
|
|
110
104
|
return detail;
|
|
111
105
|
})();
|
|
112
106
|
},
|
|
@@ -114,12 +108,9 @@ function createShopFloorPlanClient(options) {
|
|
|
114
108
|
putShopFloorPlan(id, body) {
|
|
115
109
|
return require_asyncToGenerator._asyncToGenerator(function* () {
|
|
116
110
|
var _data2, _res$data;
|
|
117
|
-
const res = yield http.put(`/shop/schedule/floor-plan/${id}`, body, {
|
|
118
|
-
fullResult: true,
|
|
119
|
-
isShopApi: true
|
|
120
|
-
});
|
|
111
|
+
const res = yield http.put(`/shop/schedule/floor-plan/${id}`, body, require_objectSpread2._objectSpread2({ fullResult: true }, useShopApi ? { isShopApi: true } : {}));
|
|
121
112
|
if (!((res === null || res === void 0 ? void 0 : res.code) === 200 || (res === null || res === void 0 ? void 0 : res.status) === true || (res === null || res === void 0 || (_data2 = res.data) === null || _data2 === void 0 ? void 0 : _data2.status) === true)) {
|
|
122
|
-
const msg = (res === null || res === void 0 ? void 0 : res.message) || (typeof (res === null || res === void 0 ? void 0 : res.data) === "object" && (res === null || res === void 0 ? void 0 : res.data) && "message" in res.data && typeof res.data.message === "string" ? res.data.message : null) ||
|
|
113
|
+
const msg = (res === null || res === void 0 ? void 0 : res.message) || (typeof (res === null || res === void 0 ? void 0 : res.data) === "object" && (res === null || res === void 0 ? void 0 : res.data) && "message" in res.data && typeof res.data.message === "string" ? res.data.message : null) || resolveSaveFailedMessage();
|
|
123
114
|
throw new Error(msg);
|
|
124
115
|
}
|
|
125
116
|
return (_res$data = res === null || res === void 0 ? void 0 : res.data) !== null && _res$data !== void 0 ? _res$data : res;
|
|
@@ -63,8 +63,15 @@ type ShopFloorPlanHttpAdapter = {
|
|
|
63
63
|
put: (url: string, body?: unknown, config?: Record<string, unknown>) => Promise<unknown>;
|
|
64
64
|
};
|
|
65
65
|
type CreateShopFloorPlanClientOptions = {
|
|
66
|
-
http: ShopFloorPlanHttpAdapter; /** POST/PUT 失败且无更具体 message
|
|
67
|
-
saveFailedMessage?: string;
|
|
66
|
+
http: ShopFloorPlanHttpAdapter; /** POST/PUT 失败且无更具体 message 时的兜底文案(静态;若需随语言切换请用 getSaveFailedMessage) */
|
|
67
|
+
saveFailedMessage?: string; /** 保存失败时按当前运行时语言解析兜底文案(优先于 saveFailedMessage) */
|
|
68
|
+
getSaveFailedMessage?: () => string;
|
|
69
|
+
/**
|
|
70
|
+
* 是否走宿主 shop request 通道(`isShopApi`)。
|
|
71
|
+
* 默认 true:本 client 仅用于 `/shop/schedule/floor-plan`;拓扑单次 GET(无订阅)也需 shop 路由。
|
|
72
|
+
* 仅在极少数非 shop 宿主探测场景传 false。
|
|
73
|
+
*/
|
|
74
|
+
useShopApi?: boolean;
|
|
68
75
|
};
|
|
69
76
|
/** ensure 流程可选:404 时 POST 创建体由调用方注入 */
|
|
70
77
|
type EnsureShopFloorPlanByCodeOptions = ShopFloorPlanByCodeRequestOptions & {
|
|
@@ -13,6 +13,7 @@ import { RecordBoardResourceWall } from "./shellFrame/ResourceWall/RecordBoardRe
|
|
|
13
13
|
import { useRecordBoardShellBodyMeta } from "./shellFrame/ShellBodyMetaContext.js";
|
|
14
14
|
import { RecordBoardShellFrame } from "./shellFrame/index.js";
|
|
15
15
|
import { useRecordBoardContext } from "./hooks/useRecordBoardContext.js";
|
|
16
|
+
import { DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY } from "./shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js";
|
|
16
17
|
import { AdaptColumnsForPhoneLayoutOptions, RECORD_BOARD_PHONE_GRID_CLASS, adaptColumnsForPhoneLayout } from "./utils/recordBoardPhoneGrid.js";
|
|
17
18
|
import React from "react";
|
|
18
19
|
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React from "react";
|
|
2
|
+
//#region src/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts
|
|
3
|
+
/** 与 {@link RecordBoardResourceWallProps.filterFieldKey} 默认一致 */
|
|
4
|
+
declare const DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY = "resource_wall_resource_ids";
|
|
5
|
+
//#endregion
|
|
6
|
+
export { DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY };
|
package/lib/index.d.ts
CHANGED
|
@@ -163,6 +163,7 @@ import { BatchActionBarPosition, BatchActionConfirmConfig, BatchActionItem, Defa
|
|
|
163
163
|
import { PisellBatchActionBar } from "./components/pisellBatchActionBar/PisellBatchActionBar.js";
|
|
164
164
|
import { useRecordBoardShellBodyMeta } from "./components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.js";
|
|
165
165
|
import { useRecordBoardContext } from "./components/pisellRecordBoard/hooks/useRecordBoardContext.js";
|
|
166
|
+
import { DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY } from "./components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js";
|
|
166
167
|
import { AdaptColumnsForPhoneLayoutOptions, RECORD_BOARD_PHONE_GRID_CLASS, adaptColumnsForPhoneLayout } from "./components/pisellRecordBoard/utils/recordBoardPhoneGrid.js";
|
|
167
168
|
import { PisellRecordBoard } from "./components/pisellRecordBoard/index.js";
|
|
168
169
|
import { PisellShellFrameConfig, PisellShellFrameProps, PisellShellFrameScrollConfig } from "./components/pisellShellFrame/types.js";
|
|
@@ -283,4 +284,4 @@ import { AppVersionControl } from "./components/appVersionControl/index.js";
|
|
|
283
284
|
import { PisellConfigProvider } from "./components/pisell-config-provider/index.js";
|
|
284
285
|
import { usePisellConfig } from "./components/pisell-config-provider/hooks/usePisellConfig.js";
|
|
285
286
|
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";
|
|
286
|
-
export { type ActionPanelAlign, type ActionPanelItemPriority, type ActionPanelLayout, type ActionPanelOverflowStrategy, 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 ContactBriefExtraField, type ContactFormValues, type CountryCode, type CreateShopFloorPlanClientOptions, CropPhoto, type CursorMode, CustomSelect, type CustomerBriefExtendedField, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, 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, type EntityCardActionItem, type EntityCardDensity, type EntityCardLayout, type EntityCardMediaConfig, type EntityCardMediaType, type EntityCardSecondaryItem, type EntityCardTagItem, type EntityCardTagPosition, type EntityCardWidth, 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, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, HardwareErrorTip, _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, JsonWrapperProvider as JsonWrapper, _default$8 as Keyboard, type LevelType, List, LowCodePage, type MailtoOptions, Mentions, Menu, Modal, Provider$1 as MultilevelCard, type MultilevelCardProps, type MultipleSelectRef, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellActionPanel, type PisellActionPanelGroup, type PisellActionPanelItem, type PisellActionPanelProps, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, PisellBaseCard, type PisellBaseCardProps, 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, PisellContactBrief, type PisellContactBriefComponent, type PisellContactBriefCreateButtonProps, type PisellContactBriefProps, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, type PisellCurrencyProps, PisellCustomCheckboxGroup, PisellCustomerBrief, type PisellCustomerBriefProps, PisellDataSourceContainer, PisellDatePicker, _default$10 as PisellDateTimeDisplay, type PisellDateTimeDisplayProps, Demo as PisellDraggable, PisellDropSort, PisellDropdown, _default$11 as PisellEmail, type PisellEmailProps, PisellEmpty, PisellEntityCard, type PisellEntityCardProps, PisellExport, type PisellExportProps, PisellFields, PisellFilter, type PisellFilterProps, PisellFind, type PisellFindProps, type PisellFindRef, PisellFloatingPanel, PisellFloorMapLayout, type PisellFloorMapLayoutProps, type PisellFloorMapLayoutRef, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, type PisellHierarchicalSummaryListAggregateConfig, type PisellHierarchicalSummaryListAggregateMode, type PisellHierarchicalSummaryListItem, type PisellHierarchicalSummaryListKey, type PisellHierarchicalSummaryListLevelConfig, type PisellHierarchicalSummaryListProps, Provider$2 as PisellImageCard, type PisellImageCardProps, PisellImageCarousels, PisellImport, type PisellImportProps, 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, type PisellProcedureProps, type PisellProcedureRef, PisellQRScanner, type PisellQRScannerProps, PisellQrcode, pisellQuickFilter as PisellQuickFilter, type PisellQuickFilterProps, _default$14 as PisellRating, type PisellRatingProps, PisellRecordBoard, PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, 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 PisellStatisticProps, type PisellStepItem, PisellSteps, type PisellStepsProps, _default$16 as PisellSuperTabs, type PisellSuperTabsProps, PisellTabbar, PisellTabbar$1 as PisellTabbar2, type PisellTabbarProps, _default$17 as PisellTabbarTemplate1, PisellTags, 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, ProductCard, ProfileMenu, Progress, PublishVersionModal, type PutShopFloorPlanBody, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, type RecordBoardBodyView, type RecordBoardCalendarBookingLike, type RecordBoardCalendarProps, type RecordBoardCalendarResource, type RecordBoardChildComponentProps, type RecordBoardColumnFilterConfig, type RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardFieldType, type RecordBoardFloorMapProps, type RecordBoardGetOptions, type RecordBoardGridProps, type RecordBoardLayoutType, type RecordBoardOptionItem, type RecordBoardProps, type RecordBoardToolBarProps, _default$19 as RecordView, type ReservationScheduleBandValue, type ReservationScheduleValue, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, 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 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, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, computeSelectionZoneMemberIds, createShopFloorPlanClient, findFloorMapRowByDataBinding, _default$21 as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, 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 };
|
|
287
|
+
export { type ActionPanelAlign, type ActionPanelItemPriority, type ActionPanelLayout, type ActionPanelOverflowStrategy, 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 ContactBriefExtraField, type ContactFormValues, type CountryCode, type CreateShopFloorPlanClientOptions, CropPhoto, type CursorMode, CustomSelect, type CustomerBriefExtendedField, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, 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, type EntityCardActionItem, type EntityCardDensity, type EntityCardLayout, type EntityCardMediaConfig, type EntityCardMediaType, type EntityCardSecondaryItem, type EntityCardTagItem, type EntityCardTagPosition, type EntityCardWidth, 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, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, HardwareErrorTip, _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, JsonWrapperProvider as JsonWrapper, _default$8 as Keyboard, type LevelType, List, LowCodePage, type MailtoOptions, Mentions, Menu, Modal, Provider$1 as MultilevelCard, type MultilevelCardProps, type MultipleSelectRef, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellActionPanel, type PisellActionPanelGroup, type PisellActionPanelItem, type PisellActionPanelProps, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, PisellBaseCard, type PisellBaseCardProps, 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, PisellContactBrief, type PisellContactBriefComponent, type PisellContactBriefCreateButtonProps, type PisellContactBriefProps, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, type PisellCurrencyProps, PisellCustomCheckboxGroup, PisellCustomerBrief, type PisellCustomerBriefProps, PisellDataSourceContainer, PisellDatePicker, _default$10 as PisellDateTimeDisplay, type PisellDateTimeDisplayProps, Demo as PisellDraggable, PisellDropSort, PisellDropdown, _default$11 as PisellEmail, type PisellEmailProps, PisellEmpty, PisellEntityCard, type PisellEntityCardProps, PisellExport, type PisellExportProps, PisellFields, PisellFilter, type PisellFilterProps, PisellFind, type PisellFindProps, type PisellFindRef, PisellFloatingPanel, PisellFloorMapLayout, type PisellFloorMapLayoutProps, type PisellFloorMapLayoutRef, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, type PisellHierarchicalSummaryListAggregateConfig, type PisellHierarchicalSummaryListAggregateMode, type PisellHierarchicalSummaryListItem, type PisellHierarchicalSummaryListKey, type PisellHierarchicalSummaryListLevelConfig, type PisellHierarchicalSummaryListProps, Provider$2 as PisellImageCard, type PisellImageCardProps, PisellImageCarousels, PisellImport, type PisellImportProps, 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, type PisellProcedureProps, type PisellProcedureRef, PisellQRScanner, type PisellQRScannerProps, PisellQrcode, pisellQuickFilter as PisellQuickFilter, type PisellQuickFilterProps, _default$14 as PisellRating, type PisellRatingProps, PisellRecordBoard, PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, 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 PisellStatisticProps, type PisellStepItem, PisellSteps, type PisellStepsProps, _default$16 as PisellSuperTabs, type PisellSuperTabsProps, PisellTabbar, PisellTabbar$1 as PisellTabbar2, type PisellTabbarProps, _default$17 as PisellTabbarTemplate1, PisellTags, 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, ProductCard, ProfileMenu, Progress, PublishVersionModal, type PutShopFloorPlanBody, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, type RecordBoardBodyView, type RecordBoardCalendarBookingLike, type RecordBoardCalendarProps, type RecordBoardCalendarResource, type RecordBoardChildComponentProps, type RecordBoardColumnFilterConfig, type RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardFieldType, type RecordBoardFloorMapProps, type RecordBoardGetOptions, type RecordBoardGridProps, type RecordBoardLayoutType, type RecordBoardOptionItem, type RecordBoardProps, type RecordBoardToolBarProps, _default$19 as RecordView, type ReservationScheduleBandValue, type ReservationScheduleValue, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, 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 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, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, computeSelectionZoneMemberIds, createShopFloorPlanClient, findFloorMapRowByDataBinding, _default$21 as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, 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 };
|
package/lib/index.js
CHANGED
|
@@ -150,6 +150,7 @@ const require_ShellBodyMetaContext = require("./components/pisellRecordBoard/she
|
|
|
150
150
|
const require_PisellBatchActionBar = require("./components/pisellBatchActionBar/PisellBatchActionBar.js");
|
|
151
151
|
const require_calendarPersistGuard = require("./components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.js");
|
|
152
152
|
const require_PisellRecordBoardCalendarView = require("./components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.js");
|
|
153
|
+
const require_PisellRecordBoardResourceWallView = require("./components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js");
|
|
153
154
|
const require_index$81 = require("./components/pisellRecordBoard/index.js");
|
|
154
155
|
const require_utils = require("./components/pisellInput/components/BankCard/utils.js");
|
|
155
156
|
const require_index$82 = require("./components/pisellInput/index.js");
|
|
@@ -312,6 +313,7 @@ exports.ConfigProvider = require_index$25;
|
|
|
312
313
|
exports.CropPhoto = require_index$92;
|
|
313
314
|
exports.CustomSelect = require_index$87;
|
|
314
315
|
exports.DEFAULT_CALENDAR_SLOT_STEP_MINUTES = require_index$69.DEFAULT_CALENDAR_SLOT_STEP_MINUTES;
|
|
316
|
+
exports.DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY = require_PisellRecordBoardResourceWallView.DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY;
|
|
315
317
|
exports.DataSourceForm = require_index$94;
|
|
316
318
|
exports.DataSourceImage = require_index$99;
|
|
317
319
|
exports.DataSourceMenu = require_index$98;
|