@pisell/materials 1.8.37 → 1.8.38
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 +3 -3
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +2 -2
- package/es/components/SafeAreaTop/index.d.ts +6 -0
- package/es/components/SafeAreaTop/index.js +112 -0
- package/es/components/SafeAreaTop/index.less +11 -0
- package/es/components/SafeAreaTop/types.d.ts +13 -0
- package/es/index.d.ts +2 -1
- package/es/index.js +2 -1
- package/lib/components/SafeAreaTop/index.d.ts +6 -0
- package/lib/components/SafeAreaTop/index.js +115 -0
- package/lib/components/SafeAreaTop/index.less +11 -0
- package/lib/components/SafeAreaTop/types.d.ts +13 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +48 -46
- package/lowcode/pisell-record-board-calendar-view/meta.ts +0 -8
- package/lowcode/safe-area-top/meta.ts +72 -0
- package/package.json +3 -3
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
|
|
2
|
+
import useEngineContext from "../../hooks/useEngineContext.js";
|
|
3
|
+
import React, { useEffect, useState } from "react";
|
|
4
|
+
import classNames from "classnames";
|
|
5
|
+
import "./index.less";
|
|
6
|
+
//#region src/components/SafeAreaTop/index.tsx
|
|
7
|
+
const PREFIX_CLS = "pisell-safe-area-top";
|
|
8
|
+
const getBodyScaleY = () => {
|
|
9
|
+
if (typeof window === "undefined" || typeof document === "undefined") return 1;
|
|
10
|
+
const transform = window.getComputedStyle(document.body).transform;
|
|
11
|
+
if (!transform || transform === "none") return 1;
|
|
12
|
+
const matrix = new DOMMatrixReadOnly(transform);
|
|
13
|
+
return Math.sqrt(matrix.c * matrix.c + matrix.d * matrix.d) || 1;
|
|
14
|
+
};
|
|
15
|
+
const useBodyScaleY = (enabled) => {
|
|
16
|
+
const [bodyScaleY, setBodyScaleY] = useState(getBodyScaleY);
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
var _window$visualViewpor;
|
|
19
|
+
if (!enabled || typeof window === "undefined" || typeof document === "undefined") return;
|
|
20
|
+
const updateBodyScaleY = () => {
|
|
21
|
+
setBodyScaleY(getBodyScaleY());
|
|
22
|
+
};
|
|
23
|
+
updateBodyScaleY();
|
|
24
|
+
window.addEventListener("resize", updateBodyScaleY);
|
|
25
|
+
(_window$visualViewpor = window.visualViewport) === null || _window$visualViewpor === void 0 || _window$visualViewpor.addEventListener("resize", updateBodyScaleY);
|
|
26
|
+
const bodyObserver = new MutationObserver(updateBodyScaleY);
|
|
27
|
+
bodyObserver.observe(document.body, {
|
|
28
|
+
attributes: true,
|
|
29
|
+
attributeFilter: ["style", "class"]
|
|
30
|
+
});
|
|
31
|
+
return () => {
|
|
32
|
+
var _window$visualViewpor2;
|
|
33
|
+
window.removeEventListener("resize", updateBodyScaleY);
|
|
34
|
+
(_window$visualViewpor2 = window.visualViewport) === null || _window$visualViewpor2 === void 0 || _window$visualViewpor2.removeEventListener("resize", updateBodyScaleY);
|
|
35
|
+
bodyObserver.disconnect();
|
|
36
|
+
};
|
|
37
|
+
}, [enabled]);
|
|
38
|
+
return enabled ? bodyScaleY : 1;
|
|
39
|
+
};
|
|
40
|
+
const getSafeAreaTopInset = () => {
|
|
41
|
+
if (typeof window === "undefined" || typeof document === "undefined") return 0;
|
|
42
|
+
const probe = document.createElement("div");
|
|
43
|
+
probe.style.cssText = [
|
|
44
|
+
"position:absolute",
|
|
45
|
+
"visibility:hidden",
|
|
46
|
+
"pointer-events:none",
|
|
47
|
+
"height:constant(safe-area-inset-top)",
|
|
48
|
+
"height:env(safe-area-inset-top)"
|
|
49
|
+
].join(";");
|
|
50
|
+
document.body.appendChild(probe);
|
|
51
|
+
const height = Number.parseFloat(window.getComputedStyle(probe).height) || 0;
|
|
52
|
+
document.body.removeChild(probe);
|
|
53
|
+
return height;
|
|
54
|
+
};
|
|
55
|
+
const useSafeAreaTopInset = (enabled) => {
|
|
56
|
+
const [safeAreaTopInset, setSafeAreaTopInset] = useState(0);
|
|
57
|
+
useEffect(() => {
|
|
58
|
+
var _window$visualViewpor3;
|
|
59
|
+
if (!enabled || typeof window === "undefined" || typeof document === "undefined") {
|
|
60
|
+
setSafeAreaTopInset(0);
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
const updateSafeAreaTopInset = () => {
|
|
64
|
+
setSafeAreaTopInset(getSafeAreaTopInset());
|
|
65
|
+
};
|
|
66
|
+
updateSafeAreaTopInset();
|
|
67
|
+
window.addEventListener("resize", updateSafeAreaTopInset);
|
|
68
|
+
(_window$visualViewpor3 = window.visualViewport) === null || _window$visualViewpor3 === void 0 || _window$visualViewpor3.addEventListener("resize", updateSafeAreaTopInset);
|
|
69
|
+
return () => {
|
|
70
|
+
var _window$visualViewpor4;
|
|
71
|
+
window.removeEventListener("resize", updateSafeAreaTopInset);
|
|
72
|
+
(_window$visualViewpor4 = window.visualViewport) === null || _window$visualViewpor4 === void 0 || _window$visualViewpor4.removeEventListener("resize", updateSafeAreaTopInset);
|
|
73
|
+
};
|
|
74
|
+
}, [enabled]);
|
|
75
|
+
return enabled ? safeAreaTopInset : 0;
|
|
76
|
+
};
|
|
77
|
+
const normalizeCssLength = (value) => {
|
|
78
|
+
if (typeof value === "number") return `${value}px`;
|
|
79
|
+
return value;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* SafeAreaTop 占据 WebView 顶部安全区,并允许页面独立设置该区域背景色。
|
|
83
|
+
*/
|
|
84
|
+
const NativeSafeAreaTop = React.memo((props) => {
|
|
85
|
+
const { backgroundColor = "transparent", className, style } = props;
|
|
86
|
+
const bodyScaleY = useBodyScaleY(true);
|
|
87
|
+
const safeAreaTopHeight = `${useSafeAreaTopInset(true) / bodyScaleY}px`;
|
|
88
|
+
const styleHeight = normalizeCssLength(style === null || style === void 0 ? void 0 : style.height);
|
|
89
|
+
const mergedStyle = _objectSpread2({
|
|
90
|
+
"--safe-area-top-background": backgroundColor,
|
|
91
|
+
"--safe-area-top-height": styleHeight || safeAreaTopHeight
|
|
92
|
+
}, style);
|
|
93
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
94
|
+
"aria-hidden": "true",
|
|
95
|
+
className: classNames(PREFIX_CLS, className),
|
|
96
|
+
style: mergedStyle
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
NativeSafeAreaTop.displayName = "NativeSafeAreaTop";
|
|
100
|
+
const SafeAreaTop = React.memo((props) => {
|
|
101
|
+
var _context$appHelper;
|
|
102
|
+
const context = useEngineContext();
|
|
103
|
+
const { isNativePlatform } = (context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {};
|
|
104
|
+
if (!(typeof isNativePlatform === "function" ? isNativePlatform() : isNativePlatform || false)) return /* @__PURE__ */ React.createElement("div", {
|
|
105
|
+
className: classNames(PREFIX_CLS, props.className),
|
|
106
|
+
style: { display: "none" }
|
|
107
|
+
});
|
|
108
|
+
return /* @__PURE__ */ React.createElement(NativeSafeAreaTop, props);
|
|
109
|
+
});
|
|
110
|
+
SafeAreaTop.displayName = "SafeAreaTop";
|
|
111
|
+
//#endregion
|
|
112
|
+
export { SafeAreaTop as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.pisell-safe-area-top {
|
|
2
|
+
height: constant(safe-area-inset-top);
|
|
3
|
+
min-height: constant(safe-area-inset-top);
|
|
4
|
+
height: var(--safe-area-top-height, env(safe-area-inset-top));
|
|
5
|
+
min-height: var(--safe-area-top-height, env(safe-area-inset-top));
|
|
6
|
+
width: 100%;
|
|
7
|
+
flex: 0 0 var(--safe-area-top-height, env(safe-area-inset-top));
|
|
8
|
+
flex-shrink: 0;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
background-color: var(--safe-area-top-background, transparent);
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/SafeAreaTop/types.d.ts
|
|
4
|
+
interface SafeAreaTopProps {
|
|
5
|
+
/** 顶部安全区背景色,默认透明。 */
|
|
6
|
+
backgroundColor?: string;
|
|
7
|
+
/** 业务页面传入的自定义样式类。 */
|
|
8
|
+
className?: string;
|
|
9
|
+
/** 额外内联样式,优先级高于组件默认样式。 */
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { SafeAreaTopProps };
|
package/es/index.d.ts
CHANGED
|
@@ -216,6 +216,7 @@ import { LowCodePage } from "./components/lowCodePage/index.js";
|
|
|
216
216
|
import { Modal } from "./components/modal/index.js";
|
|
217
217
|
import { OrganizationTenantSwitcher } from "./components/organizationTenantSwitcher/index.js";
|
|
218
218
|
import { Page } from "./components/page/index.js";
|
|
219
|
+
import { SafeAreaTop } from "./components/SafeAreaTop/index.js";
|
|
219
220
|
import { PisellConfigProvider } from "./components/pisell-config-provider/index.js";
|
|
220
221
|
import { usePisellConfig } from "./components/pisell-config-provider/hooks/usePisellConfig.js";
|
|
221
222
|
import { PisellAppCardProps } from "./components/pisellAppCard/types.js";
|
|
@@ -258,4 +259,4 @@ import { Number } from "./components/virtual-keyboard/Number/index.js";
|
|
|
258
259
|
import { VirtualInput } from "./components/virtualInput/index.js";
|
|
259
260
|
import { WalletCard } from "./components/walletCard/index.js";
|
|
260
261
|
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";
|
|
261
|
-
export { 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, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, type FloorMapDataSourceRow, type FloorMapDataSources, type FloorMapElementKindCategory, type FloorMapElementKindConfig, type FloorMapFullscreenMode, FloorMapImageElement, type FloorMapItemBase, type FloorMapLayoutContextValue, FloorMapLayoutProvider, type FloorMapLayoutProviderProps, type FloorMapMergedItem, type FloorMapRenderOptions, type FloorMapSceneElement, 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, _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, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, type PisellBasicCardProps, MemoizedPisellBasicGrid as PisellBasicGrid, type PisellBasicGridProps, PisellBatchActionBar, type PisellBatchActionBarProps, PisellCard, _default$9 as PisellCardList, 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, 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, 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, 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 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, 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 RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, 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, 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, type VenueWallAppearanceSlot, type VenueWallAppearanceTheme, type VenueWallStatusKey, type VenueWallStatusTone, type VenueWallStatusToneOverrides, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, floorMapSavedConfigToRemotePatch, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, inferCanvasSizeFromScene, isElementNameAsTitleEnabled, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, _default$21 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useShopFloorPlanSubscription, useToast, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
|
|
262
|
+
export { 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, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, type FloorMapDataSourceRow, type FloorMapDataSources, type FloorMapElementKindCategory, type FloorMapElementKindConfig, type FloorMapFullscreenMode, FloorMapImageElement, type FloorMapItemBase, type FloorMapLayoutContextValue, FloorMapLayoutProvider, type FloorMapLayoutProviderProps, type FloorMapMergedItem, type FloorMapRenderOptions, type FloorMapSceneElement, 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, _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, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, type PisellBasicCardProps, MemoizedPisellBasicGrid as PisellBasicGrid, type PisellBasicGridProps, PisellBatchActionBar, type PisellBatchActionBarProps, PisellCard, _default$9 as PisellCardList, 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, 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, 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, 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 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, 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 RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, 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 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, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, floorMapSavedConfigToRemotePatch, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, inferCanvasSizeFromScene, isElementNameAsTitleEnabled, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, _default$21 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useShopFloorPlanSubscription, useToast, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
|
package/es/index.js
CHANGED
|
@@ -204,6 +204,7 @@ import LowCodePage from "./components/lowCodePage/index.js";
|
|
|
204
204
|
import OrganizationTenantSwitcher from "./components/organizationTenantSwitcher/index.js";
|
|
205
205
|
import PisellConfigProvider from "./components/pisell-config-provider/index.js";
|
|
206
206
|
import Page from "./components/page/index.js";
|
|
207
|
+
import SafeAreaTop from "./components/SafeAreaTop/index.js";
|
|
207
208
|
import pisellAppCard_default from "./components/pisellAppCard/index.js";
|
|
208
209
|
import PisellQrcode from "./components/pisellQrcode/index.js";
|
|
209
210
|
import PisellWalletPassCard from "./components/pisellWalletPassCard/index.js";
|
|
@@ -229,4 +230,4 @@ import VirtualInput from "./components/virtualInput/index.js";
|
|
|
229
230
|
import WalletCard from "./components/walletCard/index.js";
|
|
230
231
|
import "./pisell-materials.tw.css";
|
|
231
232
|
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";
|
|
232
|
-
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, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, FloorMapImageElement, FloorMapLayoutProvider, 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, 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, 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, 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, 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, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, floorMapSavedConfigToRemotePatch, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, inferCanvasSizeFromScene, isElementNameAsTitleEnabled, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, locales_default as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useShopFloorPlanSubscription, useToast, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
|
|
233
|
+
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, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, FloorMapImageElement, FloorMapLayoutProvider, 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, 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, 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, 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, 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, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, floorMapSavedConfigToRemotePatch, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, inferCanvasSizeFromScene, isElementNameAsTitleEnabled, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, locales_default as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useShopFloorPlanSubscription, useToast, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
2
|
+
const require_objectSpread2 = require("../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
|
|
3
|
+
const require_useEngineContext = require("../../hooks/useEngineContext.js");
|
|
4
|
+
let react = require("react");
|
|
5
|
+
react = require_runtime.__toESM(react);
|
|
6
|
+
let classnames = require("classnames");
|
|
7
|
+
classnames = require_runtime.__toESM(classnames);
|
|
8
|
+
require("./index.less");
|
|
9
|
+
//#region src/components/SafeAreaTop/index.tsx
|
|
10
|
+
const PREFIX_CLS = "pisell-safe-area-top";
|
|
11
|
+
const getBodyScaleY = () => {
|
|
12
|
+
if (typeof window === "undefined" || typeof document === "undefined") return 1;
|
|
13
|
+
const transform = window.getComputedStyle(document.body).transform;
|
|
14
|
+
if (!transform || transform === "none") return 1;
|
|
15
|
+
const matrix = new DOMMatrixReadOnly(transform);
|
|
16
|
+
return Math.sqrt(matrix.c * matrix.c + matrix.d * matrix.d) || 1;
|
|
17
|
+
};
|
|
18
|
+
const useBodyScaleY = (enabled) => {
|
|
19
|
+
const [bodyScaleY, setBodyScaleY] = (0, react.useState)(getBodyScaleY);
|
|
20
|
+
(0, react.useEffect)(() => {
|
|
21
|
+
var _window$visualViewpor;
|
|
22
|
+
if (!enabled || typeof window === "undefined" || typeof document === "undefined") return;
|
|
23
|
+
const updateBodyScaleY = () => {
|
|
24
|
+
setBodyScaleY(getBodyScaleY());
|
|
25
|
+
};
|
|
26
|
+
updateBodyScaleY();
|
|
27
|
+
window.addEventListener("resize", updateBodyScaleY);
|
|
28
|
+
(_window$visualViewpor = window.visualViewport) === null || _window$visualViewpor === void 0 || _window$visualViewpor.addEventListener("resize", updateBodyScaleY);
|
|
29
|
+
const bodyObserver = new MutationObserver(updateBodyScaleY);
|
|
30
|
+
bodyObserver.observe(document.body, {
|
|
31
|
+
attributes: true,
|
|
32
|
+
attributeFilter: ["style", "class"]
|
|
33
|
+
});
|
|
34
|
+
return () => {
|
|
35
|
+
var _window$visualViewpor2;
|
|
36
|
+
window.removeEventListener("resize", updateBodyScaleY);
|
|
37
|
+
(_window$visualViewpor2 = window.visualViewport) === null || _window$visualViewpor2 === void 0 || _window$visualViewpor2.removeEventListener("resize", updateBodyScaleY);
|
|
38
|
+
bodyObserver.disconnect();
|
|
39
|
+
};
|
|
40
|
+
}, [enabled]);
|
|
41
|
+
return enabled ? bodyScaleY : 1;
|
|
42
|
+
};
|
|
43
|
+
const getSafeAreaTopInset = () => {
|
|
44
|
+
if (typeof window === "undefined" || typeof document === "undefined") return 0;
|
|
45
|
+
const probe = document.createElement("div");
|
|
46
|
+
probe.style.cssText = [
|
|
47
|
+
"position:absolute",
|
|
48
|
+
"visibility:hidden",
|
|
49
|
+
"pointer-events:none",
|
|
50
|
+
"height:constant(safe-area-inset-top)",
|
|
51
|
+
"height:env(safe-area-inset-top)"
|
|
52
|
+
].join(";");
|
|
53
|
+
document.body.appendChild(probe);
|
|
54
|
+
const height = Number.parseFloat(window.getComputedStyle(probe).height) || 0;
|
|
55
|
+
document.body.removeChild(probe);
|
|
56
|
+
return height;
|
|
57
|
+
};
|
|
58
|
+
const useSafeAreaTopInset = (enabled) => {
|
|
59
|
+
const [safeAreaTopInset, setSafeAreaTopInset] = (0, react.useState)(0);
|
|
60
|
+
(0, react.useEffect)(() => {
|
|
61
|
+
var _window$visualViewpor3;
|
|
62
|
+
if (!enabled || typeof window === "undefined" || typeof document === "undefined") {
|
|
63
|
+
setSafeAreaTopInset(0);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const updateSafeAreaTopInset = () => {
|
|
67
|
+
setSafeAreaTopInset(getSafeAreaTopInset());
|
|
68
|
+
};
|
|
69
|
+
updateSafeAreaTopInset();
|
|
70
|
+
window.addEventListener("resize", updateSafeAreaTopInset);
|
|
71
|
+
(_window$visualViewpor3 = window.visualViewport) === null || _window$visualViewpor3 === void 0 || _window$visualViewpor3.addEventListener("resize", updateSafeAreaTopInset);
|
|
72
|
+
return () => {
|
|
73
|
+
var _window$visualViewpor4;
|
|
74
|
+
window.removeEventListener("resize", updateSafeAreaTopInset);
|
|
75
|
+
(_window$visualViewpor4 = window.visualViewport) === null || _window$visualViewpor4 === void 0 || _window$visualViewpor4.removeEventListener("resize", updateSafeAreaTopInset);
|
|
76
|
+
};
|
|
77
|
+
}, [enabled]);
|
|
78
|
+
return enabled ? safeAreaTopInset : 0;
|
|
79
|
+
};
|
|
80
|
+
const normalizeCssLength = (value) => {
|
|
81
|
+
if (typeof value === "number") return `${value}px`;
|
|
82
|
+
return value;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* SafeAreaTop 占据 WebView 顶部安全区,并允许页面独立设置该区域背景色。
|
|
86
|
+
*/
|
|
87
|
+
const NativeSafeAreaTop = react.default.memo((props) => {
|
|
88
|
+
const { backgroundColor = "transparent", className, style } = props;
|
|
89
|
+
const bodyScaleY = useBodyScaleY(true);
|
|
90
|
+
const safeAreaTopHeight = `${useSafeAreaTopInset(true) / bodyScaleY}px`;
|
|
91
|
+
const styleHeight = normalizeCssLength(style === null || style === void 0 ? void 0 : style.height);
|
|
92
|
+
const mergedStyle = require_objectSpread2._objectSpread2({
|
|
93
|
+
"--safe-area-top-background": backgroundColor,
|
|
94
|
+
"--safe-area-top-height": styleHeight || safeAreaTopHeight
|
|
95
|
+
}, style);
|
|
96
|
+
return /* @__PURE__ */ react.default.createElement("div", {
|
|
97
|
+
"aria-hidden": "true",
|
|
98
|
+
className: (0, classnames.default)(PREFIX_CLS, className),
|
|
99
|
+
style: mergedStyle
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
NativeSafeAreaTop.displayName = "NativeSafeAreaTop";
|
|
103
|
+
const SafeAreaTop = react.default.memo((props) => {
|
|
104
|
+
var _context$appHelper;
|
|
105
|
+
const context = require_useEngineContext.default();
|
|
106
|
+
const { isNativePlatform } = (context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {};
|
|
107
|
+
if (!(typeof isNativePlatform === "function" ? isNativePlatform() : isNativePlatform || false)) return /* @__PURE__ */ react.default.createElement("div", {
|
|
108
|
+
className: (0, classnames.default)(PREFIX_CLS, props.className),
|
|
109
|
+
style: { display: "none" }
|
|
110
|
+
});
|
|
111
|
+
return /* @__PURE__ */ react.default.createElement(NativeSafeAreaTop, props);
|
|
112
|
+
});
|
|
113
|
+
SafeAreaTop.displayName = "SafeAreaTop";
|
|
114
|
+
//#endregion
|
|
115
|
+
exports.default = SafeAreaTop;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.pisell-safe-area-top {
|
|
2
|
+
height: constant(safe-area-inset-top);
|
|
3
|
+
min-height: constant(safe-area-inset-top);
|
|
4
|
+
height: var(--safe-area-top-height, env(safe-area-inset-top));
|
|
5
|
+
min-height: var(--safe-area-top-height, env(safe-area-inset-top));
|
|
6
|
+
width: 100%;
|
|
7
|
+
flex: 0 0 var(--safe-area-top-height, env(safe-area-inset-top));
|
|
8
|
+
flex-shrink: 0;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
background-color: var(--safe-area-top-background, transparent);
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/SafeAreaTop/types.d.ts
|
|
4
|
+
interface SafeAreaTopProps {
|
|
5
|
+
/** 顶部安全区背景色,默认透明。 */
|
|
6
|
+
backgroundColor?: string;
|
|
7
|
+
/** 业务页面传入的自定义样式类。 */
|
|
8
|
+
className?: string;
|
|
9
|
+
/** 额外内联样式,优先级高于组件默认样式。 */
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { SafeAreaTopProps };
|
package/lib/index.d.ts
CHANGED
|
@@ -216,6 +216,7 @@ import { LowCodePage } from "./components/lowCodePage/index.js";
|
|
|
216
216
|
import { Modal } from "./components/modal/index.js";
|
|
217
217
|
import { OrganizationTenantSwitcher } from "./components/organizationTenantSwitcher/index.js";
|
|
218
218
|
import { Page } from "./components/page/index.js";
|
|
219
|
+
import { SafeAreaTop } from "./components/SafeAreaTop/index.js";
|
|
219
220
|
import { PisellConfigProvider } from "./components/pisell-config-provider/index.js";
|
|
220
221
|
import { usePisellConfig } from "./components/pisell-config-provider/hooks/usePisellConfig.js";
|
|
221
222
|
import { PisellAppCardProps } from "./components/pisellAppCard/types.js";
|
|
@@ -258,4 +259,4 @@ import { Number } from "./components/virtual-keyboard/Number/index.js";
|
|
|
258
259
|
import { VirtualInput } from "./components/virtualInput/index.js";
|
|
259
260
|
import { WalletCard } from "./components/walletCard/index.js";
|
|
260
261
|
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";
|
|
261
|
-
export { 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, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, type FloorMapDataSourceRow, type FloorMapDataSources, type FloorMapElementKindCategory, type FloorMapElementKindConfig, type FloorMapFullscreenMode, FloorMapImageElement, type FloorMapItemBase, type FloorMapLayoutContextValue, FloorMapLayoutProvider, type FloorMapLayoutProviderProps, type FloorMapMergedItem, type FloorMapRenderOptions, type FloorMapSceneElement, 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, _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, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, type PisellBasicCardProps, MemoizedPisellBasicGrid as PisellBasicGrid, type PisellBasicGridProps, PisellBatchActionBar, type PisellBatchActionBarProps, PisellCard, _default$9 as PisellCardList, 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, 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, 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, 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 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, 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 RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, 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, 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, type VenueWallAppearanceSlot, type VenueWallAppearanceTheme, type VenueWallStatusKey, type VenueWallStatusTone, type VenueWallStatusToneOverrides, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, floorMapSavedConfigToRemotePatch, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, inferCanvasSizeFromScene, isElementNameAsTitleEnabled, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, _default$21 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useShopFloorPlanSubscription, useToast, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
|
|
262
|
+
export { 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, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, type FloorMapDataSourceRow, type FloorMapDataSources, type FloorMapElementKindCategory, type FloorMapElementKindConfig, type FloorMapFullscreenMode, FloorMapImageElement, type FloorMapItemBase, type FloorMapLayoutContextValue, FloorMapLayoutProvider, type FloorMapLayoutProviderProps, type FloorMapMergedItem, type FloorMapRenderOptions, type FloorMapSceneElement, 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, _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, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, type PisellBasicCardProps, MemoizedPisellBasicGrid as PisellBasicGrid, type PisellBasicGridProps, PisellBatchActionBar, type PisellBatchActionBarProps, PisellCard, _default$9 as PisellCardList, 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, 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, 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, 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 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, 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 RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, 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 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, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, floorMapSavedConfigToRemotePatch, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, inferCanvasSizeFromScene, isElementNameAsTitleEnabled, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, _default$21 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useShopFloorPlanSubscription, useToast, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
|