@pisell/materials 6.11.257 → 6.11.258
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/preview.css +1 -1
- package/build/lowcode/preview.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +32 -32
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +32 -32
- package/es/components/PisellBasicGrid/PisellBasicGrid.d.ts +2 -1
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +2 -1
- package/es/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
- package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +2 -1
- package/es/components/PisellCards/components/TabCard/TabCard.d.ts +2 -1
- package/es/components/PisellCards/components/TextCard/TextCard.d.ts +2 -1
- package/es/components/PisellCards/index.d.ts +7 -5
- package/es/components/PisellFields/index.d.ts +1 -0
- package/es/components/PisellGroupView/PisellGroupView.d.ts +2 -1
- package/es/components/PisellLayouts/index.d.ts +3 -2
- package/es/components/PisellMetrics/index.d.ts +3 -2
- package/es/components/appVersionControl/index.d.ts +2 -1
- package/es/components/appVersionControl/types.d.ts +1 -0
- package/es/components/auto-complete-number/index.d.ts +2 -1
- package/es/components/badge/index.d.ts +2 -1
- package/es/components/batch-editor/index.d.ts +2 -1
- package/es/components/calendar/index.d.ts +4 -1
- package/es/components/cardMetricItem/index.d.ts +1 -1
- package/es/components/cardPro/index.d.ts +2 -1
- package/es/components/checkbox/index.d.ts +4 -1
- package/es/components/classicLayout/index.d.ts +2 -1
- package/es/components/config-provider/index.d.ts +2 -1
- package/es/components/customSelect/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +2 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +4 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +3 -1
- package/es/components/dataSourceComponents/fields/Translation/type.d.ts +1 -0
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +1 -0
- package/es/components/date-picker/index.d.ts +4 -1
- package/es/components/drag-sort-tree/index.d.ts +2 -1
- package/es/components/drag-sort-tree/types.d.ts +1 -0
- package/es/components/dropdown/index.d.ts +3 -1
- package/es/components/filter/components/FilterButton/types.d.ts +1 -0
- package/es/components/filter/index.d.ts +2 -1
- package/es/components/input/index.d.ts +1 -0
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/list/index.d.ts +2 -1
- package/es/components/lowCodePage/index.d.ts +3 -1
- package/es/components/page/index.d.ts +2 -1
- package/es/components/page-header/index.d.ts +1 -1
- package/es/components/pisell-config-provider/context.d.ts +1 -0
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +2 -1
- package/es/components/pisellAdjustPrice/index.d.ts +2 -1
- package/es/components/pisellAlert/index.d.ts +1 -1
- package/es/components/pisellCard/index.d.ts +2 -1
- package/es/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/es/components/pisellCountdown/index.d.ts +1 -1
- package/es/components/pisellDatePicker/index.d.ts +4 -1
- package/es/components/pisellDraggable/index.d.ts +1 -1
- package/es/components/pisellEmpty/index.d.ts +1 -1
- package/es/components/pisellFilter/index.d.ts +2 -1
- package/es/components/pisellFloatingPanel/index.d.ts +1 -1
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +5 -4
- package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +2 -1
- package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +3 -1
- package/es/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +2 -1
- package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
- package/es/components/pisellGoodPassCard/index.d.ts +1 -1
- package/es/components/pisellGridPro/GridView/index.d.ts +2 -1
- package/es/components/pisellGridPro/ToolBar/type.d.ts +1 -0
- package/es/components/pisellInformationEntry/index.d.ts +1 -1
- package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
- package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
- package/es/components/pisellInput/index.d.ts +5 -4
- package/es/components/pisellLoading/index.d.ts +2 -1
- package/es/components/pisellMenu/types.d.ts +1 -0
- package/es/components/pisellModal/index.d.ts +2 -2
- package/es/components/pisellQuickFilter/type.d.ts +1 -0
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +2 -1
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +2 -1
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +2 -1
- package/es/components/pisellRow/index.d.ts +1 -1
- package/es/components/pisellSort/index.d.ts +2 -1
- package/es/components/pisellStatisticList/index.d.ts +1 -1
- package/es/components/pisellTags/index.d.ts +1 -1
- package/es/components/pisellText/index.d.ts +2 -2
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +2 -1
- package/es/components/pisellTooltip/index.d.ts +2 -1
- package/es/components/pisellUpload/index.d.ts +2 -1
- package/es/components/pisellWalletPassCard/index.d.ts +3 -1
- package/es/components/pisellWalletPassCard/index.js +2 -2
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +2 -1
- package/es/components/productCard/cartSkuCard/components/Note/index.less +6 -2
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +5 -4
- package/es/components/productCard/cartSkuCard/components/packages/index.js +5 -3
- package/es/components/productCard/cartSkuCard/components/specs/index.js +5 -3
- package/es/components/productCard/cartSkuCard/index.js +33 -3
- package/es/components/productCard/cartSkuCard/index.less +18 -0
- package/es/components/productCard/cartSkuCard/types.d.ts +56 -0
- package/es/components/productCard/cartSkuCard/variants/A12/index.js +126 -0
- package/es/components/productCard/cartSkuCard/variants/A12/index.less +279 -0
- package/es/components/productCard/components/Packages/components/options/index.js +3 -2
- package/es/components/productCard/lineItem/index.js +57 -19
- package/es/components/productCard/types.d.ts +4 -1
- package/es/components/qrcode/index.d.ts +3 -1
- package/es/components/radio/index.d.ts +4 -1
- package/es/components/section-footers/index.d.ts +4 -1
- package/es/components/segmented/index.d.ts +2 -1
- package/es/components/select-time/index.d.ts +2 -1
- package/es/components/skeleton/index.d.ts +4 -1
- package/es/components/slider/index.d.ts +3 -1
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +4 -1
- package/es/components/upload/index.d.ts +4 -1
- package/es/components/versionSelect/index.d.ts +1 -0
- package/es/components/virtual-keyboard/Amount/index.d.ts +2 -1
- package/es/components/virtual-keyboard/Amount/types.d.ts +1 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +2 -1
- package/es/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/es/components/virtual-keyboard/index.d.ts +1 -1
- package/es/index.d.ts +2 -1
- package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +2 -1
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +2 -1
- package/lib/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
- package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +2 -1
- package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +2 -1
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +2 -1
- package/lib/components/PisellCards/index.d.ts +7 -5
- package/lib/components/PisellFields/index.d.ts +1 -0
- package/lib/components/PisellGroupView/PisellGroupView.d.ts +2 -1
- package/lib/components/PisellLayouts/index.d.ts +3 -2
- package/lib/components/PisellMetrics/index.d.ts +3 -2
- package/lib/components/appVersionControl/index.d.ts +2 -1
- package/lib/components/appVersionControl/types.d.ts +1 -0
- package/lib/components/auto-complete-number/index.d.ts +2 -1
- package/lib/components/badge/index.d.ts +2 -1
- package/lib/components/batch-editor/index.d.ts +2 -1
- package/lib/components/calendar/index.d.ts +4 -1
- package/lib/components/cardMetricItem/index.d.ts +1 -1
- package/lib/components/cardPro/index.d.ts +2 -1
- package/lib/components/checkbox/index.d.ts +4 -1
- package/lib/components/classicLayout/index.d.ts +2 -1
- package/lib/components/config-provider/index.d.ts +2 -1
- package/lib/components/customSelect/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +4 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Radio/WithMode.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +3 -1
- package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +1 -0
- package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +1 -0
- package/lib/components/date-picker/index.d.ts +4 -1
- package/lib/components/drag-sort-tree/index.d.ts +2 -1
- package/lib/components/drag-sort-tree/types.d.ts +1 -0
- package/lib/components/dropdown/index.d.ts +3 -1
- package/lib/components/filter/components/FilterButton/types.d.ts +1 -0
- package/lib/components/filter/index.d.ts +2 -1
- package/lib/components/input/index.d.ts +1 -0
- package/lib/components/keyboard/index.d.ts +1 -1
- package/lib/components/list/index.d.ts +2 -1
- package/lib/components/lowCodePage/index.d.ts +3 -1
- package/lib/components/page/index.d.ts +2 -1
- package/lib/components/page-header/index.d.ts +1 -1
- package/lib/components/pisell-config-provider/context.d.ts +1 -0
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +2 -1
- package/lib/components/pisellAdjustPrice/index.d.ts +2 -1
- package/lib/components/pisellAlert/index.d.ts +1 -1
- package/lib/components/pisellCard/index.d.ts +2 -1
- package/lib/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/lib/components/pisellCountdown/index.d.ts +1 -1
- package/lib/components/pisellDatePicker/index.d.ts +4 -1
- package/lib/components/pisellDraggable/index.d.ts +1 -1
- package/lib/components/pisellEmpty/index.d.ts +1 -1
- package/lib/components/pisellFilter/index.d.ts +2 -1
- package/lib/components/pisellFloatingPanel/index.d.ts +1 -1
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +5 -4
- package/lib/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +2 -1
- package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +3 -1
- package/lib/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +2 -1
- package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
- package/lib/components/pisellGoodPassCard/index.d.ts +1 -1
- package/lib/components/pisellGridPro/GridView/index.d.ts +2 -1
- package/lib/components/pisellGridPro/ToolBar/type.d.ts +1 -0
- package/lib/components/pisellInformationEntry/index.d.ts +1 -1
- package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
- package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
- package/lib/components/pisellInput/index.d.ts +5 -4
- package/lib/components/pisellLoading/index.d.ts +2 -1
- package/lib/components/pisellMenu/types.d.ts +1 -0
- package/lib/components/pisellModal/index.d.ts +2 -2
- package/lib/components/pisellQuickFilter/type.d.ts +1 -0
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +2 -1
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +2 -1
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +2 -1
- package/lib/components/pisellRow/index.d.ts +1 -1
- package/lib/components/pisellSort/index.d.ts +2 -1
- package/lib/components/pisellStatisticList/index.d.ts +1 -1
- package/lib/components/pisellTags/index.d.ts +1 -1
- package/lib/components/pisellText/index.d.ts +2 -2
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +2 -1
- package/lib/components/pisellTooltip/index.d.ts +2 -1
- package/lib/components/pisellUpload/index.d.ts +2 -1
- package/lib/components/pisellWalletPassCard/index.d.ts +3 -1
- package/lib/components/pisellWalletPassCard/index.js +2 -2
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +2 -1
- package/lib/components/productCard/cartSkuCard/components/Note/index.less +6 -2
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +5 -4
- package/lib/components/productCard/cartSkuCard/components/packages/index.js +5 -3
- package/lib/components/productCard/cartSkuCard/components/specs/index.js +5 -3
- package/lib/components/productCard/cartSkuCard/index.js +33 -3
- package/lib/components/productCard/cartSkuCard/index.less +18 -0
- package/lib/components/productCard/cartSkuCard/types.d.ts +56 -0
- package/lib/components/productCard/cartSkuCard/variants/A12/index.js +129 -0
- package/lib/components/productCard/cartSkuCard/variants/A12/index.less +279 -0
- package/lib/components/productCard/components/Packages/components/options/index.js +3 -2
- package/lib/components/productCard/lineItem/index.js +57 -19
- package/lib/components/productCard/types.d.ts +4 -1
- package/lib/components/qrcode/index.d.ts +3 -1
- package/lib/components/radio/index.d.ts +4 -1
- package/lib/components/section-footers/index.d.ts +4 -1
- package/lib/components/segmented/index.d.ts +2 -1
- package/lib/components/select-time/index.d.ts +2 -1
- package/lib/components/skeleton/index.d.ts +4 -1
- package/lib/components/slider/index.d.ts +3 -1
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +4 -1
- package/lib/components/upload/index.d.ts +4 -1
- package/lib/components/versionSelect/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Amount/index.d.ts +2 -1
- package/lib/components/virtual-keyboard/Amount/types.d.ts +1 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +2 -1
- package/lib/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/index.d.ts +1 -1
- package/lib/index.d.ts +2 -1
- package/package.json +3 -3
|
@@ -34,17 +34,21 @@ const _excluded = [
|
|
|
34
34
|
"holderOptions",
|
|
35
35
|
"onBookingStatusChange",
|
|
36
36
|
"onAddTimeProductCard",
|
|
37
|
+
"a12UnsupportedFallback",
|
|
37
38
|
"onAction",
|
|
38
39
|
"onDelete",
|
|
39
40
|
"onNote",
|
|
40
41
|
"onCard",
|
|
41
42
|
"onPromotion",
|
|
42
|
-
"onGift"
|
|
43
|
+
"onGift",
|
|
44
|
+
"symbol",
|
|
45
|
+
"amountFormatter"
|
|
43
46
|
];
|
|
44
47
|
const isBookingItem = (dataSource) => {
|
|
45
48
|
var _dataSource$_extend;
|
|
46
49
|
return Boolean((dataSource === null || dataSource === void 0 || (_dataSource$_extend = dataSource._extend) === null || _dataSource$_extend === void 0 ? void 0 : _dataSource$_extend.product) || (dataSource === null || dataSource === void 0 ? void 0 : dataSource.booking_id) || (dataSource === null || dataSource === void 0 ? void 0 : dataSource.appointment_status) || (dataSource === null || dataSource === void 0 ? void 0 : dataSource.start_date));
|
|
47
50
|
};
|
|
51
|
+
const resolveLineItemType = ({ requestedType, itemKind, hasBundle, fallback = "a9" }) => requestedType === "a12" && (itemKind === "booking" || hasBundle) ? fallback : requestedType;
|
|
48
52
|
const translateText = (text, translationOriginal) => {
|
|
49
53
|
if (typeof text === "string") return text;
|
|
50
54
|
if (!text) return "";
|
|
@@ -76,7 +80,7 @@ const convertBundleOption = (option, translationOriginal) => {
|
|
|
76
80
|
num: (_ref = (_option$num = option.num) !== null && _option$num !== void 0 ? _option$num : option.quantity) !== null && _ref !== void 0 ? _ref : 1
|
|
77
81
|
});
|
|
78
82
|
};
|
|
79
|
-
const convertBundle = (bundle, translationOriginal) => {
|
|
83
|
+
const convertBundle = (bundle, translationOriginal, amountFormatter) => {
|
|
80
84
|
const options = (bundle.option || []).map((option) => convertBundleOption(option, translationOriginal));
|
|
81
85
|
const bundlePrice = bundle.price_type === "markdown" && Number.isFinite(Number(bundle.price)) ? -Math.abs(Number(bundle.price)) : bundle.price;
|
|
82
86
|
return _objectSpread2(_objectSpread2({}, bundle), {}, {
|
|
@@ -93,6 +97,7 @@ const convertBundle = (bundle, translationOriginal) => {
|
|
|
93
97
|
custom_price_type_ext: bundle.price_type_ext,
|
|
94
98
|
options,
|
|
95
99
|
option: options,
|
|
100
|
+
amountFormatter,
|
|
96
101
|
_origin: bundle
|
|
97
102
|
});
|
|
98
103
|
};
|
|
@@ -123,14 +128,36 @@ const mapLineItemOptions = (options, translationOriginal) => options.map((option
|
|
|
123
128
|
num: (_ref2 = (_option$num2 = option.num) !== null && _option$num2 !== void 0 ? _option$num2 : option.quantity) !== null && _ref2 !== void 0 ? _ref2 : 1
|
|
124
129
|
});
|
|
125
130
|
});
|
|
126
|
-
const
|
|
127
|
-
|
|
131
|
+
const getFirstDisplayText = (candidates, translationOriginal) => {
|
|
132
|
+
for (const candidate of candidates) {
|
|
133
|
+
const translated = translateText(candidate, translationOriginal).trim();
|
|
134
|
+
if (translated) return translated;
|
|
135
|
+
}
|
|
136
|
+
return "";
|
|
137
|
+
};
|
|
138
|
+
const resolveA12Eyebrow = (product, translationOriginal) => {
|
|
139
|
+
var _product$a, _product$metadata2, _product$metadata3, _categories$find, _categories$;
|
|
140
|
+
const categories = Array.isArray(product === null || product === void 0 ? void 0 : product.categories) ? product.categories : Array.isArray(product === null || product === void 0 ? void 0 : product.product_categories) ? product.product_categories : [];
|
|
141
|
+
return getFirstDisplayText([
|
|
142
|
+
product === null || product === void 0 || (_product$a = product.a12) === null || _product$a === void 0 ? void 0 : _product$a.eyebrow,
|
|
143
|
+
product === null || product === void 0 ? void 0 : product.category_name,
|
|
144
|
+
product === null || product === void 0 ? void 0 : product.product_category_name,
|
|
145
|
+
product === null || product === void 0 ? void 0 : product.product_type_name,
|
|
146
|
+
product === null || product === void 0 || (_product$metadata2 = product.metadata) === null || _product$metadata2 === void 0 ? void 0 : _product$metadata2.category_name,
|
|
147
|
+
product === null || product === void 0 || (_product$metadata3 = product.metadata) === null || _product$metadata3 === void 0 ? void 0 : _product$metadata3.product_category_name,
|
|
148
|
+
(_categories$find = categories.find((category) => category === null || category === void 0 ? void 0 : category.direct)) === null || _categories$find === void 0 ? void 0 : _categories$find.name,
|
|
149
|
+
(_categories$ = categories[0]) === null || _categories$ === void 0 ? void 0 : _categories$.name
|
|
150
|
+
], translationOriginal);
|
|
151
|
+
};
|
|
152
|
+
const convertProductToLineItemProduct = (product, translationOriginal, symbol, amountFormatter) => {
|
|
153
|
+
var _product$metadata4, _ref3, _product$num, _ref4, _product$num2, _product$metadata5, _product$metadata6, _product$product_opti, _product$product_sku2, _product$discount_lis, _product$discount_lis2, _product$metadata7, _product$metadata8, _ref5, _product$num3;
|
|
128
154
|
const title = translateText(product.product_title || product.title, translationOriginal);
|
|
129
|
-
const bundle = (product.product_bundle || []).map((bundleItem) => convertBundle(bundleItem, translationOriginal));
|
|
155
|
+
const bundle = (product.product_bundle || []).map((bundleItem) => convertBundle(bundleItem, translationOriginal, amountFormatter));
|
|
130
156
|
const lineOriginTotal = resolveLineOriginTotal(product);
|
|
131
157
|
const lineOptions = mapLineItemOptions(resolveLineItemOptions(product), translationOriginal);
|
|
158
|
+
const a12Eyebrow = resolveA12Eyebrow(product, translationOriginal);
|
|
132
159
|
return {
|
|
133
|
-
_id: ((_product$
|
|
160
|
+
_id: ((_product$metadata4 = product.metadata) === null || _product$metadata4 === void 0 ? void 0 : _product$metadata4.unique_identification_number) || product.order_detail_id || product.product_id,
|
|
134
161
|
id: product.product_id,
|
|
135
162
|
product_id: product.product_id,
|
|
136
163
|
product_variant_id: product.product_variant_id,
|
|
@@ -141,25 +168,27 @@ const convertProductToLineItemProduct = (product, translationOriginal, symbol) =
|
|
|
141
168
|
image: product.cover,
|
|
142
169
|
num: (_ref3 = (_product$num = product.num) !== null && _product$num !== void 0 ? _product$num : product.product_quantity) !== null && _ref3 !== void 0 ? _ref3 : 1,
|
|
143
170
|
quantity: (_ref4 = (_product$num2 = product.num) !== null && _product$num2 !== void 0 ? _product$num2 : product.product_quantity) !== null && _ref4 !== void 0 ? _ref4 : 1,
|
|
144
|
-
price: (_product$
|
|
171
|
+
price: (_product$metadata5 = product.metadata) === null || _product$metadata5 === void 0 ? void 0 : _product$metadata5.source_product_price,
|
|
145
172
|
total: product.selling_price,
|
|
146
173
|
origin_total: lineOriginTotal,
|
|
147
174
|
original_total: lineOriginTotal,
|
|
148
|
-
source_product_price: (_product$
|
|
175
|
+
source_product_price: (_product$metadata6 = product.metadata) === null || _product$metadata6 === void 0 ? void 0 : _product$metadata6.source_product_price,
|
|
149
176
|
selling_price: product.selling_price,
|
|
150
177
|
payment_price: product.payment_price,
|
|
151
178
|
tax_fee: product.tax_fee,
|
|
152
179
|
symbol,
|
|
180
|
+
amountFormatter,
|
|
153
181
|
note: product.note,
|
|
154
182
|
product_sku: product.product_sku,
|
|
155
183
|
product_bundle: bundle,
|
|
156
184
|
bundle,
|
|
157
|
-
product_option_string: product.product_option_string,
|
|
185
|
+
product_option_string: (_product$product_opti = product.product_option_string) !== null && _product$product_opti !== void 0 ? _product$product_opti : (_product$product_sku2 = product.product_sku) === null || _product$product_sku2 === void 0 ? void 0 : _product$product_sku2.product_option_string,
|
|
158
186
|
options: lineOptions,
|
|
187
|
+
a12: _objectSpread2(_objectSpread2({}, product.a12 || {}), a12Eyebrow ? { eyebrow: a12Eyebrow } : {}),
|
|
159
188
|
discount_list: product.discount_list,
|
|
160
189
|
promotions: product.promotions,
|
|
161
|
-
discount_reason: (_product$discount_lis = (_product$discount_lis2 = product.discount_list) === null || _product$discount_lis2 === void 0 || (_product$discount_lis2 = _product$discount_lis2.find((d) => (d === null || d === void 0 ? void 0 : d.type) === "product")) === null || _product$discount_lis2 === void 0 || (_product$discount_lis2 = _product$discount_lis2.discount) === null || _product$discount_lis2 === void 0 ? void 0 : _product$discount_lis2.message) !== null && _product$discount_lis !== void 0 ? _product$discount_lis : (_product$
|
|
162
|
-
isGift: Boolean(product.gift_card || product.isGift || product._isGiftPromotion || ((_product$
|
|
190
|
+
discount_reason: (_product$discount_lis = (_product$discount_lis2 = product.discount_list) === null || _product$discount_lis2 === void 0 || (_product$discount_lis2 = _product$discount_lis2.find((d) => (d === null || d === void 0 ? void 0 : d.type) === "product")) === null || _product$discount_lis2 === void 0 || (_product$discount_lis2 = _product$discount_lis2.discount) === null || _product$discount_lis2 === void 0 ? void 0 : _product$discount_lis2.message) !== null && _product$discount_lis !== void 0 ? _product$discount_lis : (_product$metadata7 = product.metadata) === null || _product$metadata7 === void 0 ? void 0 : _product$metadata7.product_discount_reason,
|
|
191
|
+
isGift: Boolean(product.gift_card || product.isGift || product._isGiftPromotion || ((_product$metadata8 = product.metadata) === null || _product$metadata8 === void 0 ? void 0 : _product$metadata8._giftInfo) || product._giftInfo),
|
|
163
192
|
giftData: product.giftData,
|
|
164
193
|
_origin: product,
|
|
165
194
|
_extend: {
|
|
@@ -179,15 +208,16 @@ const convertProductToLineItemProduct = (product, translationOriginal, symbol) =
|
|
|
179
208
|
};
|
|
180
209
|
const LineItem = (props) => {
|
|
181
210
|
var _context$appHelper$ut, _context$appHelper$ut2, _context$appHelper$ut3, _context$appHelper$ut4, _dataSource$_extend2, _dataSource$_extend4;
|
|
182
|
-
const { dataSource = defaultValue.dataSource, itemType, type = "a9", isShowBookingHeader, rightActions = [], rightActionsDisplay = "swipe", escapeDom, isShowImage = defaultValue.isShowImage, isShowDelete = defaultValue.isShowDelete, isShowInlineDelete = isShowDelete, isShowNote = defaultValue.isShowNote, isShowAmountFooter = defaultValue.isShowAmountFooter, disabledClick = defaultValue.disabledClick, disabledEdit = defaultValue.disabledEdit, disabledNoteEdit = disabledEdit, statusOptions = [], statusLoading = false, statusDisabled = false, isShowRelatedProduct = true, holderOptions, onBookingStatusChange, onAddTimeProductCard, onAction, onDelete, onNote, onCard, onPromotion, onGift } = props, other = _objectWithoutProperties(props, _excluded);
|
|
211
|
+
const { dataSource = defaultValue.dataSource, itemType, type = "a9", isShowBookingHeader, rightActions = [], rightActionsDisplay = "swipe", escapeDom, isShowImage = defaultValue.isShowImage, isShowDelete = defaultValue.isShowDelete, isShowInlineDelete = isShowDelete, isShowNote = defaultValue.isShowNote, isShowAmountFooter = defaultValue.isShowAmountFooter, disabledClick = defaultValue.disabledClick, disabledEdit = defaultValue.disabledEdit, disabledNoteEdit = disabledEdit, statusOptions = [], statusLoading = false, statusDisabled = false, isShowRelatedProduct = true, holderOptions, onBookingStatusChange, onAddTimeProductCard, a12UnsupportedFallback = "a9", onAction, onDelete, onNote, onCard, onPromotion, onGift, symbol: amountSymbol, amountFormatter } = props, other = _objectWithoutProperties(props, _excluded);
|
|
183
212
|
const itemKind = itemType || (isBookingItem(dataSource) ? "booking" : "product");
|
|
184
213
|
const context = useEngineContext();
|
|
185
214
|
const translationOriginal = useTranslationOriginal();
|
|
186
|
-
const symbol = context.appHelper.utils.getSymbolic();
|
|
215
|
+
const symbol = amountSymbol || context.appHelper.utils.getSymbolic();
|
|
187
216
|
const locale = ((_context$appHelper$ut = context.appHelper.utils) === null || _context$appHelper$ut === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut.getApp) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut2.call(_context$appHelper$ut)) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut2 = _context$appHelper$ut2.locales) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut3 = _context$appHelper$ut2.getLocale) === null || _context$appHelper$ut3 === void 0 ? void 0 : _context$appHelper$ut3.call(_context$appHelper$ut2)) || ((_context$appHelper$ut4 = context.appHelper.utils) === null || _context$appHelper$ut4 === void 0 || (_context$appHelper$ut4 = _context$appHelper$ut4.storage) === null || _context$appHelper$ut4 === void 0 ? void 0 : _context$appHelper$ut4.get("umi_locale")) || "en-US";
|
|
188
217
|
useInitLocalesOnce(locales_default$1, locale);
|
|
189
218
|
useInitLocalesOnce(locales_default, locale);
|
|
190
|
-
const productDataSource = useMemo(() => itemKind === "product" ? convertProductToLineItemProduct(dataSource, translationOriginal, symbol) : null, [
|
|
219
|
+
const productDataSource = useMemo(() => itemKind === "product" ? convertProductToLineItemProduct(dataSource, translationOriginal, symbol, amountFormatter) : null, [
|
|
220
|
+
amountFormatter,
|
|
191
221
|
dataSource,
|
|
192
222
|
itemKind,
|
|
193
223
|
symbol,
|
|
@@ -196,23 +226,31 @@ const LineItem = (props) => {
|
|
|
196
226
|
const relatedProduct = dataSource === null || dataSource === void 0 || (_dataSource$_extend2 = dataSource._extend) === null || _dataSource$_extend2 === void 0 ? void 0 : _dataSource$_extend2.product;
|
|
197
227
|
const relatedProductDataSource = useMemo(() => {
|
|
198
228
|
if (!relatedProduct) return null;
|
|
199
|
-
return convertProductToLineItemProduct(relatedProduct, translationOriginal, symbol);
|
|
229
|
+
return convertProductToLineItemProduct(relatedProduct, translationOriginal, symbol, amountFormatter);
|
|
200
230
|
}, [
|
|
231
|
+
amountFormatter,
|
|
201
232
|
relatedProduct,
|
|
202
233
|
symbol,
|
|
203
234
|
translationOriginal
|
|
204
235
|
]);
|
|
205
236
|
const addTimeProductDataSources = useMemo(() => {
|
|
206
237
|
var _dataSource$_extend3;
|
|
207
|
-
return (Array.isArray(dataSource === null || dataSource === void 0 || (_dataSource$_extend3 = dataSource._extend) === null || _dataSource$_extend3 === void 0 ? void 0 : _dataSource$_extend3.addTimeProduct) ? dataSource._extend.addTimeProduct : []).map((item) => convertProductToLineItemProduct(item, translationOriginal, symbol));
|
|
238
|
+
return (Array.isArray(dataSource === null || dataSource === void 0 || (_dataSource$_extend3 = dataSource._extend) === null || _dataSource$_extend3 === void 0 ? void 0 : _dataSource$_extend3.addTimeProduct) ? dataSource._extend.addTimeProduct : []).map((item) => convertProductToLineItemProduct(item, translationOriginal, symbol, amountFormatter));
|
|
208
239
|
}, [
|
|
240
|
+
amountFormatter,
|
|
209
241
|
dataSource === null || dataSource === void 0 || (_dataSource$_extend4 = dataSource._extend) === null || _dataSource$_extend4 === void 0 ? void 0 : _dataSource$_extend4.addTimeProduct,
|
|
210
242
|
symbol,
|
|
211
243
|
translationOriginal
|
|
212
244
|
]);
|
|
245
|
+
const resolvedType = resolveLineItemType({
|
|
246
|
+
requestedType: type,
|
|
247
|
+
itemKind,
|
|
248
|
+
hasBundle: Boolean(Array.isArray(dataSource === null || dataSource === void 0 ? void 0 : dataSource.product_bundle) && dataSource.product_bundle.length || Array.isArray(dataSource === null || dataSource === void 0 ? void 0 : dataSource.bundle) && dataSource.bundle.length),
|
|
249
|
+
fallback: a12UnsupportedFallback
|
|
250
|
+
});
|
|
213
251
|
if (itemKind === "product") return /* @__PURE__ */ React.createElement(CartSkuCard, _objectSpread2(_objectSpread2({}, other), {}, {
|
|
214
252
|
dataSource: productDataSource,
|
|
215
|
-
type,
|
|
253
|
+
type: resolvedType,
|
|
216
254
|
rightActions,
|
|
217
255
|
rightActionsDisplay,
|
|
218
256
|
escapeDom,
|
|
@@ -233,8 +271,8 @@ const LineItem = (props) => {
|
|
|
233
271
|
}));
|
|
234
272
|
return /* @__PURE__ */ React.createElement(BookingLineItem, _objectSpread2(_objectSpread2({}, other), {}, {
|
|
235
273
|
dataSource,
|
|
236
|
-
type,
|
|
237
|
-
cartSkuType:
|
|
274
|
+
type: resolvedType,
|
|
275
|
+
cartSkuType: resolvedType,
|
|
238
276
|
isShowBookingHeader,
|
|
239
277
|
relatedProductDataSource,
|
|
240
278
|
addTimeProductDataSources,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { CartSkuCardA12Display } from "./cartSkuCard/types.js";
|
|
2
|
+
|
|
1
3
|
//#region src/components/productCard/types.d.ts
|
|
2
4
|
type bundleType = {
|
|
3
5
|
id: number;
|
|
@@ -59,7 +61,8 @@ type productType = {
|
|
|
59
61
|
is_show_week?: boolean;
|
|
60
62
|
promotions?: any[];
|
|
61
63
|
isGift?: boolean;
|
|
62
|
-
giftData?: any;
|
|
64
|
+
giftData?: any; /** A12 横向购物车卡片的归一化展示数据。 */
|
|
65
|
+
a12?: CartSkuCardA12Display;
|
|
63
66
|
};
|
|
64
67
|
/**
|
|
65
68
|
* 排序总配置
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
|
|
1
4
|
//#region src/components/section-footers/index.d.ts
|
|
2
5
|
interface SectionFooterProps {
|
|
3
6
|
left?: React.ReactNode;
|
|
@@ -5,6 +8,6 @@ interface SectionFooterProps {
|
|
|
5
8
|
right?: React.ReactNode;
|
|
6
9
|
className?: string;
|
|
7
10
|
}
|
|
8
|
-
declare const SectionFooters: (props: SectionFooterProps) => JSX.Element;
|
|
11
|
+
declare const SectionFooters: (props: SectionFooterProps) => _$react.JSX.Element;
|
|
9
12
|
//#endregion
|
|
10
13
|
export { SectionFooters };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { SegmentedProps } from "antd";
|
|
2
3
|
//#region src/components/segmented/index.d.ts
|
|
3
|
-
declare const Segmented$1: (props: SegmentedProps) => JSX.Element;
|
|
4
|
+
declare const Segmented$1: (props: SegmentedProps) => React.JSX.Element;
|
|
4
5
|
//#endregion
|
|
5
6
|
export { Segmented$1 as Segmented };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time/index.js";
|
|
2
|
+
import React from "react";
|
|
2
3
|
import { PopoverProps, TimePickerProps } from "antd";
|
|
3
4
|
//#region src/components/select-time/index.d.ts
|
|
4
5
|
interface SelectTimeProps {
|
|
@@ -11,6 +12,6 @@ interface SelectTimeProps {
|
|
|
11
12
|
theme?: 'light' | 'dark';
|
|
12
13
|
className?: string;
|
|
13
14
|
}
|
|
14
|
-
declare const SelectTime: (props: SelectTimeProps) => JSX.Element;
|
|
15
|
+
declare const SelectTime: (props: SelectTimeProps) => React.JSX.Element;
|
|
15
16
|
//#endregion
|
|
16
17
|
export { SelectTime };
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
|
|
1
4
|
//#region src/components/skeleton/index.d.ts
|
|
2
|
-
declare const Skeleton: (props: any) => JSX.Element;
|
|
5
|
+
declare const Skeleton: (props: any) => _$react.JSX.Element;
|
|
3
6
|
//#endregion
|
|
4
7
|
export { Skeleton };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component } from "react";
|
|
1
|
+
import React, { Component } from "react";
|
|
2
2
|
import { TabsProps } from "antd";
|
|
3
3
|
//#region src/components/tabs/index.d.ts
|
|
4
4
|
declare class Tabs$1 extends Component<any> {
|
|
@@ -12,7 +12,7 @@ declare class Tabs$1 extends Component<any> {
|
|
|
12
12
|
getActiveKey: () => any;
|
|
13
13
|
renderIconLabelTabBar: TabsProps['renderTabBar'];
|
|
14
14
|
filterHiddenTabs: (tabs: any[]) => any[];
|
|
15
|
-
render(): JSX.Element;
|
|
15
|
+
render(): React.JSX.Element;
|
|
16
16
|
}
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Tabs$1 as Tabs };
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
|
|
1
4
|
//#region src/components/time-picker/index.d.ts
|
|
2
|
-
declare const TimePicker: (props: any) => JSX.Element;
|
|
5
|
+
declare const TimePicker: (props: any) => _$react.JSX.Element;
|
|
3
6
|
//#endregion
|
|
4
7
|
export { TimePicker };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AmountProps, RightItemsStyleProps } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
2
3
|
//#region src/components/virtual-keyboard/Amount/index.d.ts
|
|
3
|
-
declare const Amount: (props: AmountProps) => JSX.Element;
|
|
4
|
+
declare const Amount: (props: AmountProps) => React.JSX.Element;
|
|
4
5
|
//#endregion
|
|
5
6
|
export { Amount };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { NumberProps } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
2
3
|
//#region src/components/virtual-keyboard/Number/index.d.ts
|
|
3
|
-
declare const Number: (props: NumberProps) => JSX.Element;
|
|
4
|
+
declare const Number: (props: NumberProps) => React.JSX.Element;
|
|
4
5
|
//#endregion
|
|
5
6
|
export { Number };
|
|
@@ -10,6 +10,6 @@ interface VirtualKeyboardTimeProps extends React.HTMLAttributes<HTMLDivElement>
|
|
|
10
10
|
onEnter?: (value: any) => void;
|
|
11
11
|
rightPanel?: React.ReactNode;
|
|
12
12
|
}
|
|
13
|
-
declare const VirtualKeyboardTime: (props: VirtualKeyboardTimeProps) => JSX.Element;
|
|
13
|
+
declare const VirtualKeyboardTime: (props: VirtualKeyboardTimeProps) => React.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { VirtualKeyboardTime, VirtualKeyboardTimeProps };
|
|
@@ -21,6 +21,6 @@ interface VirtualKeyboardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
21
21
|
primaryButtonBackgroundColor?: string;
|
|
22
22
|
primaryButtonTextColor?: string;
|
|
23
23
|
}
|
|
24
|
-
declare const VirtualKeyboard: (props: VirtualKeyboardProps) => JSX.Element;
|
|
24
|
+
declare const VirtualKeyboard: (props: VirtualKeyboardProps) => React.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { VirtualKeyboard };
|
package/es/index.d.ts
CHANGED
|
@@ -253,6 +253,7 @@ import { PisellSort } from "./components/pisellSort/index.js";
|
|
|
253
253
|
import { useToast } from "./components/pisellToast/squareToast/index.js";
|
|
254
254
|
import { PisellToast } from "./components/pisellToast/index.js";
|
|
255
255
|
import { PisellTooltip } from "./components/pisellTooltip/index.js";
|
|
256
|
+
import { CartSkuCardA12Display, CartSkuCardA12Presentation, CartSkuCardA12Slots, CartSkuCardVariant } from "./components/productCard/cartSkuCard/types.js";
|
|
256
257
|
import { ProductCard } from "./components/productCard/index.js";
|
|
257
258
|
import { ProfileMenu } from "./components/profileMenu/index.js";
|
|
258
259
|
import { QRCode } from "./components/qrcode/index.js";
|
|
@@ -278,4 +279,4 @@ import { Number } from "./components/virtual-keyboard/Number/index.js";
|
|
|
278
279
|
import { VirtualInput } from "./components/virtualInput/index.js";
|
|
279
280
|
import { WalletCard } from "./components/walletCard/index.js";
|
|
280
281
|
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";
|
|
281
|
-
export { type AdaptColumnsForPhoneLayoutOptions, Affix, Alert, Anchor, AppVersionControl, AutoComplete, AutoCompleteNumber, AutoResizeText, Avatar, Badge, type BadgeConfig, Translation as BaseTranslation, type BatchActionBarPosition, type BatchActionConfirmConfig, type BatchActionItem, BatchEditor, Breadcrumb, Button, _default as ButtonGroupEdit, _default$1 as ButtonGroupPreview, Calendar, type CalendarPersistContextValue, type CalendarPersistKind, CalendarPersistProvider, Card, CardMetricItem, type PisellStatisticProps as CardMetricItemProps, _default$2 as CardPro, Carousel, Cascader, Checkbox, ClassicLayout, Col, Collapse, ColorPicker, type CompiledSelectionFlowModuleConfig, type CompiledSelectionFlowStep, Component, type CompoundedComponent, ConfigProvider, type CountryCode, type CreateShopFloorPlanClientOptions, CropPhoto, type CursorMode, CustomSelect, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST, type DataSourceContainerProps, _default$3 as DataSourceForm, DataSourceImage, DataSourceMenu, DataSourceQRCode, DataSourceSubForm, type DataSourceSubFormProps, _default$4 as DataSourceTable, DataSourceTypography, DataSourceWrapper, DatePicker, type DefaultActionsConfig, Descriptions, _default$5 as Div, Divider, DragSortTree, Drawer, Dropdown, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, Empty, type EnsureShopFloorPlanByCodeOptions, FIND_FALLBACK_SCANNER_COUNT_KEY, FLOOR_MAP_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_SELECTION_ZONE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, FloorMapBuiltinShapeElement, type FloorMapCanvasNameI18n, type FloorMapDataSourceRow, type FloorMapDataSources, type FloorMapEdge, type FloorMapEdgeAnchor, type FloorMapEdgeStatus, type FloorMapElementKindCategory, type FloorMapElementKindConfig, type FloorMapFullscreenMode, FloorMapImageElement, type FloorMapItemBase, type FloorMapLayoutContextValue, FloorMapLayoutProvider, type FloorMapLayoutProviderProps, type FloorMapMergedItem, type FloorMapRenderOptions, type FloorMapResourcePickerRecord, type FloorMapResourcePickerSlotProps, type FloorMapSceneElement, FloorMapSelectionZoneElement, type FloorMapViewConfig, type FloorMapViewportOverlayRenderArgs, type FlowModuleBeforeLeaveResult, type FlowModuleBeforeLeaveReturn, type FlowModuleDataMap, type FlowModuleHandle, type FlowModuleState, type FlowModuleStateMap, type FlowModuleStatus, type FlowModuleValidationResult, type FlowModuleValidationReturn, _default$6 as Form, FormGroup, Checkbox$1 as FormItemCheckbox, ColorPicker$1 as FormItemColorPicker, DatePicker$1 as FormItemDatePicker, IconSelect as FormItemIconSelect, Input as FormItemInput, InputNumber as FormItemInputNumber, Radio as FormItemRadio, RecordListWrapperWithDataSource as FormItemRecordListWrapper, SelectWithDataSource as FormItemSelect, Switch as FormItemSwitch, FormItemTabs, TimePicker as FormItemTimePicker, Translation$1 as FormItemTranslation, Upload as FormItemUpload, Provider as GraphicTextCard, type GraphicTextCardProps, type GraphicTextCardSize, type GraphicTextCardVariant, Grid, type GridProProps, type GridViewProps, type GroupBlocks, type GroupModel, type GroupViewVariant, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, _default$7 as Icon, IconSelect$1 as IconSelect, IconFont as Iconfont, Image, type ImageDataSource, type ImageFillMode, Input$1 as Input, InputNumber$1 as InputNumber, InputNumberRange, type ItemContext, type ItemLayout, JsonWrapperProvider as JsonWrapper, _default$8 as Keyboard, type LevelType, List, type LookupInputRenderContext, LowCodePage, type MailtoOptions, Mentions, Menu, Modal, Provider$1 as MultilevelCard, type MultilevelCardProps, type MultipleSelectRef, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, type PisellBasicCardProps, MemoizedPisellBasicGrid as PisellBasicGrid, type PisellBasicGridProps, PisellBatchActionBar, type PisellBatchActionBarProps, PisellCard, _default$9 as PisellCardList, type PisellCardPickerCardMeta, type PisellCardPickerCategoryConfig, type PisellCardPickerCategoryLevelConfig, type PisellCardPickerCategoryMode, type PisellCardPickerCategoryPath, type PisellCardPickerItem, type PisellCardPickerMode, PisellCards, PisellCheckboxGroup, PisellConfigProvider, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, type PisellCurrencyProps, PisellCustomCheckboxGroup, PisellDataSourceContainer, PisellDatePicker, _default$10 as PisellDateTimeDisplay, type PisellDateTimeDisplayProps, Demo as PisellDraggable, PisellDropSort, PisellDropdown, _default$11 as PisellEmail, type PisellEmailProps, PisellEmpty, PisellFields, PisellFilter, type PisellFilterProps, PisellFind, type PisellFindProps, type PisellFindRef, PisellFloatingPanel, PisellFloorMapLayout, type PisellFloorMapLayoutProps, type PisellFloorMapLayoutRef, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, MemoizedPisellGroupView as PisellGroupView, type PisellGroupViewProps, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, type PisellHierarchicalSummaryListAggregateConfig, type PisellHierarchicalSummaryListAggregateMode, type PisellHierarchicalSummaryListItem, type PisellHierarchicalSummaryListKey, type PisellHierarchicalSummaryListLevelConfig, type PisellHierarchicalSummaryListProps, Provider$2 as PisellImageCard, type PisellImageCardProps, PisellImageCarousels, PisellInformationEntry, PisellInput, PisellLayout, type PisellLayoutProps, PisellLayouts, PisellList01, PisellLoading, _default$12 as PisellLongText, type PisellLongTextProps, PisellLookup, type PisellLookupProps, type PisellLookupRef, PisellMenu, type PisellMenuProps, PisellMetricCard, type PisellMetricCardProps, PisellMetrics, PisellMobileDateRangePicker, type PisellMobileDateRangePickerProps, PisellModal, PisellMultipleSelect, type PisellMultipleSelectProps, PisellNavigationMenu, MemoizedPisellNumber as PisellNumber, Number as PisellNumberKeyboard, type PisellNumberProps, MemoizedPisellPercent as PisellPercent, type PisellPercentProps, _default$13 as PisellPhone, type PisellPhoneProps, Amount as PisellPriceKeyboard, PisellProcedure, ProcedureHeader as PisellProcedureHeader, type ProcedureHeaderProps as PisellProcedureHeaderProps, type PisellProcedureProps, type PisellProcedureRef, PisellQRScanner, type PisellQRScannerProps, PisellQrcode, pisellQuickFilter as PisellQuickFilter, type PisellQuickFilterProps, _default$14 as PisellRating, type PisellRatingProps, PisellRecordBoard, PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, PisellRecordBoardResourceWallView, PisellReservationSchedule, PisellReservationScheduleBand, type PisellReservationScheduleBandProps, type PisellReservationScheduleProps, PisellRow, type PisellRowProps, PisellScan, PisellScrollView, type PisellScrollViewProps, PisellSectionHeaders, _default$15 as PisellSelectionFlow, type PisellSelectionFlowController, type PisellSelectionFlowProps, PisellShellFrame, type PisellShellFrameConfig, type PisellShellFrameProps, type PisellShellFrameScrollConfig, PisellSider, _default$16 as PisellSingleLineText, type PisellSingleLineTextProps, PisellSingleSelect, type PisellSingleSelectProps, PisellSort, type PisellSortProps, PisellStatisticList, type PisellStatisticListProps, type PisellStatisticProps, type PisellStepItem, PisellSteps, type PisellStepsProps, _default$17 as PisellSuperTabs, type PisellSuperTabsProps, PisellTabbar, PisellTabbar$1 as PisellTabbar2, type PisellTabbarProps, _default$18 as PisellTabbarTemplate1, type PisellTabbarTemplate1Direction, type PisellTabbarTemplate1Props, PisellTags, type PisellTagsProps, PisellText, PisellTimeNavigator, type PisellTimeNavigatorProps, PisellTimeRangeDisplay, type PisellTimeRangeDisplayProps, PisellToast, Toolbar as PisellToolBar, PisellTooltip, PisellUpload, _default$19 as PisellUrl, type PisellUrlProps, PisellViewGrid, PisellWalletPassCard, type PisellWalletPassCardProps, Popconfirm, Popover, type PostShopFloorPlanBody, type ProcedureBodyProps, type ProcedureFooterProps, type ProcedureHeaderProps$1 as ProcedureHeaderProps, ProductCard, ProfileMenu, Progress, PublishVersionModal, type PutShopFloorPlanBody, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, type RecordBoardBlockedTimeMergedRange, type RecordBoardBlockedTimePanelPayload, type RecordBoardBodyView, type RecordBoardBookingMoveDraft, type RecordBoardCalendarBlockedTimePayload, type RecordBoardCalendarBookingLike, type RecordBoardCalendarBookingRenderArgs, type RecordBoardCalendarDayOverlayBooking, type RecordBoardCalendarProps, type RecordBoardCalendarResource, type RecordBoardCalendarResourceRenderArgs, type RecordBoardCalendarSelectedFreeSlot, type RecordBoardCalendarTimelineHeaderGroup, type RecordBoardCalendarTimelineHeaderRenderContext, type RecordBoardChildComponentProps, type RecordBoardColumnFilterConfig, type RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, type RecordBoardFieldType, type RecordBoardFloorMapProps, type RecordBoardGetOptions, type RecordBoardGridProps, type RecordBoardLayoutType, type RecordBoardLayoutVariant, type RecordBoardOptionItem, type RecordBoardProps, type RecordBoardResourceWallCardModel, type RecordBoardResourceWallLayoutPersist, type RecordBoardResourceWallProps, type RecordBoardToolBarProps, _default$20 as RecordView, type ReservationScheduleBandValue, type ReservationScheduleValue, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, SafeAreaTop, SectionFooters, Segmented, Select, SelectTime, SelectionFlowCompileError, type SelectionFlowCompileIssue, type SelectionFlowCompileIssueCode, type SelectionFlowContextValue, type SelectionFlowDraftAdapter, type SelectionFlowDraftChange, type SelectionFlowDraftUpdateMeta, type SelectionFlowMessageCode, type SelectionFlowMetadata, type SelectionFlowModuleAdapter, type SelectionFlowModuleConfig, type SelectionFlowModuleInput, type SelectionFlowModuleRegistry, type SelectionFlowPrepareStepsOptions, type SelectionFlowPrepareStepsResult, type SelectionFlowRef, type SelectionFlowRuntimeIssue, type SelectionFlowSnapshot, type SelectionFlowStepConfig, type SelectionFlowValidationFeedback, type ShopFloorPlanByCodeRequestOptions, type ShopFloorPlanDetail, type ShopFloorPlanHttpAdapter, type ShopFloorPlanLayoutItem, type SingleSelectRef, Skeleton, SliderOuter as Slider, Sort, SortableList, Space, Spin, Statistic, Steps, SubmitButton, Switch$1 as Switch, Provider$3 as TabCard, type TabCardProps, type TabDataItem, type TabbarActionItem, type TabbarDataSource, _default$21 as Table, Tabs, Tag, Provider$4 as TextCard, type TimeNavigatorOrientation, type TimeNavigatorPassthroughProps, type TimeNavigatorValue, TimePicker$1 as TimePicker, type TimeRangeOption, Timeline, type ToolBarProps, Tooltip, Transfer, Translation$2 as Translation, Tree, TreeSelect, Typography, Upload$1 as Upload, type VenueWallAppearanceSlot, type VenueWallAppearanceTheme, type VenueWallStatusKey, type VenueWallStatusTone, type VenueWallStatusToneOverrides, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, compileSelectionFlow, compileSelectionFlowSteps, computeSelectionZoneMemberIds, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, _default$22 as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, hasSelectionDraftFieldValue, inferCanvasSizeFromScene, initFloorMapLayoutLocales, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isSelectionModuleType, isSelectionZoneItem, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, parseNestedPathSegments, pickFloorPlanDetail, pickReferenceDateContainingNow, _default$23 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveFlowModuleAdapter, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useSelectionFlowContext, useShopFloorPlanSubscription, useToast, useTypedSelectionFlowContext, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
|
|
282
|
+
export { type AdaptColumnsForPhoneLayoutOptions, Affix, Alert, Anchor, AppVersionControl, AutoComplete, AutoCompleteNumber, AutoResizeText, Avatar, Badge, type BadgeConfig, Translation as BaseTranslation, type BatchActionBarPosition, type BatchActionConfirmConfig, type BatchActionItem, BatchEditor, Breadcrumb, Button, _default as ButtonGroupEdit, _default$1 as ButtonGroupPreview, Calendar, type CalendarPersistContextValue, type CalendarPersistKind, CalendarPersistProvider, Card, CardMetricItem, type PisellStatisticProps as CardMetricItemProps, _default$2 as CardPro, Carousel, type CartSkuCardA12Display, type CartSkuCardA12Presentation, type CartSkuCardA12Slots, type CartSkuCardVariant, Cascader, Checkbox, ClassicLayout, Col, Collapse, ColorPicker, type CompiledSelectionFlowModuleConfig, type CompiledSelectionFlowStep, Component, type CompoundedComponent, ConfigProvider, type CountryCode, type CreateShopFloorPlanClientOptions, CropPhoto, type CursorMode, CustomSelect, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST, type DataSourceContainerProps, _default$3 as DataSourceForm, DataSourceImage, DataSourceMenu, DataSourceQRCode, DataSourceSubForm, type DataSourceSubFormProps, _default$4 as DataSourceTable, DataSourceTypography, DataSourceWrapper, DatePicker, type DefaultActionsConfig, Descriptions, _default$5 as Div, Divider, DragSortTree, Drawer, Dropdown, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, Empty, type EnsureShopFloorPlanByCodeOptions, FIND_FALLBACK_SCANNER_COUNT_KEY, FLOOR_MAP_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_SELECTION_ZONE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, FloorMapBuiltinShapeElement, type FloorMapCanvasNameI18n, type FloorMapDataSourceRow, type FloorMapDataSources, type FloorMapEdge, type FloorMapEdgeAnchor, type FloorMapEdgeStatus, type FloorMapElementKindCategory, type FloorMapElementKindConfig, type FloorMapFullscreenMode, FloorMapImageElement, type FloorMapItemBase, type FloorMapLayoutContextValue, FloorMapLayoutProvider, type FloorMapLayoutProviderProps, type FloorMapMergedItem, type FloorMapRenderOptions, type FloorMapResourcePickerRecord, type FloorMapResourcePickerSlotProps, type FloorMapSceneElement, FloorMapSelectionZoneElement, type FloorMapViewConfig, type FloorMapViewportOverlayRenderArgs, type FlowModuleBeforeLeaveResult, type FlowModuleBeforeLeaveReturn, type FlowModuleDataMap, type FlowModuleHandle, type FlowModuleState, type FlowModuleStateMap, type FlowModuleStatus, type FlowModuleValidationResult, type FlowModuleValidationReturn, _default$6 as Form, FormGroup, Checkbox$1 as FormItemCheckbox, ColorPicker$1 as FormItemColorPicker, DatePicker$1 as FormItemDatePicker, IconSelect as FormItemIconSelect, Input as FormItemInput, InputNumber as FormItemInputNumber, Radio as FormItemRadio, RecordListWrapperWithDataSource as FormItemRecordListWrapper, SelectWithDataSource as FormItemSelect, Switch as FormItemSwitch, FormItemTabs, TimePicker as FormItemTimePicker, Translation$1 as FormItemTranslation, Upload as FormItemUpload, Provider as GraphicTextCard, type GraphicTextCardProps, type GraphicTextCardSize, type GraphicTextCardVariant, Grid, type GridProProps, type GridViewProps, type GroupBlocks, type GroupModel, type GroupViewVariant, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, _default$7 as Icon, IconSelect$1 as IconSelect, IconFont as Iconfont, Image, type ImageDataSource, type ImageFillMode, Input$1 as Input, InputNumber$1 as InputNumber, InputNumberRange, type ItemContext, type ItemLayout, JsonWrapperProvider as JsonWrapper, _default$8 as Keyboard, type LevelType, List, type LookupInputRenderContext, LowCodePage, type MailtoOptions, Mentions, Menu, Modal, Provider$1 as MultilevelCard, type MultilevelCardProps, type MultipleSelectRef, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, type PisellBasicCardProps, MemoizedPisellBasicGrid as PisellBasicGrid, type PisellBasicGridProps, PisellBatchActionBar, type PisellBatchActionBarProps, PisellCard, _default$9 as PisellCardList, type PisellCardPickerCardMeta, type PisellCardPickerCategoryConfig, type PisellCardPickerCategoryLevelConfig, type PisellCardPickerCategoryMode, type PisellCardPickerCategoryPath, type PisellCardPickerItem, type PisellCardPickerMode, PisellCards, PisellCheckboxGroup, PisellConfigProvider, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, type PisellCurrencyProps, PisellCustomCheckboxGroup, PisellDataSourceContainer, PisellDatePicker, _default$10 as PisellDateTimeDisplay, type PisellDateTimeDisplayProps, Demo as PisellDraggable, PisellDropSort, PisellDropdown, _default$11 as PisellEmail, type PisellEmailProps, PisellEmpty, PisellFields, PisellFilter, type PisellFilterProps, PisellFind, type PisellFindProps, type PisellFindRef, PisellFloatingPanel, PisellFloorMapLayout, type PisellFloorMapLayoutProps, type PisellFloorMapLayoutRef, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, MemoizedPisellGroupView as PisellGroupView, type PisellGroupViewProps, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, type PisellHierarchicalSummaryListAggregateConfig, type PisellHierarchicalSummaryListAggregateMode, type PisellHierarchicalSummaryListItem, type PisellHierarchicalSummaryListKey, type PisellHierarchicalSummaryListLevelConfig, type PisellHierarchicalSummaryListProps, Provider$2 as PisellImageCard, type PisellImageCardProps, PisellImageCarousels, PisellInformationEntry, PisellInput, PisellLayout, type PisellLayoutProps, PisellLayouts, PisellList01, PisellLoading, _default$12 as PisellLongText, type PisellLongTextProps, PisellLookup, type PisellLookupProps, type PisellLookupRef, PisellMenu, type PisellMenuProps, PisellMetricCard, type PisellMetricCardProps, PisellMetrics, PisellMobileDateRangePicker, type PisellMobileDateRangePickerProps, PisellModal, PisellMultipleSelect, type PisellMultipleSelectProps, PisellNavigationMenu, MemoizedPisellNumber as PisellNumber, Number as PisellNumberKeyboard, type PisellNumberProps, MemoizedPisellPercent as PisellPercent, type PisellPercentProps, _default$13 as PisellPhone, type PisellPhoneProps, Amount as PisellPriceKeyboard, PisellProcedure, ProcedureHeader as PisellProcedureHeader, type ProcedureHeaderProps as PisellProcedureHeaderProps, type PisellProcedureProps, type PisellProcedureRef, PisellQRScanner, type PisellQRScannerProps, PisellQrcode, pisellQuickFilter as PisellQuickFilter, type PisellQuickFilterProps, _default$14 as PisellRating, type PisellRatingProps, PisellRecordBoard, PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, PisellRecordBoardResourceWallView, PisellReservationSchedule, PisellReservationScheduleBand, type PisellReservationScheduleBandProps, type PisellReservationScheduleProps, PisellRow, type PisellRowProps, PisellScan, PisellScrollView, type PisellScrollViewProps, PisellSectionHeaders, _default$15 as PisellSelectionFlow, type PisellSelectionFlowController, type PisellSelectionFlowProps, PisellShellFrame, type PisellShellFrameConfig, type PisellShellFrameProps, type PisellShellFrameScrollConfig, PisellSider, _default$16 as PisellSingleLineText, type PisellSingleLineTextProps, PisellSingleSelect, type PisellSingleSelectProps, PisellSort, type PisellSortProps, PisellStatisticList, type PisellStatisticListProps, type PisellStatisticProps, type PisellStepItem, PisellSteps, type PisellStepsProps, _default$17 as PisellSuperTabs, type PisellSuperTabsProps, PisellTabbar, PisellTabbar$1 as PisellTabbar2, type PisellTabbarProps, _default$18 as PisellTabbarTemplate1, type PisellTabbarTemplate1Direction, type PisellTabbarTemplate1Props, PisellTags, type PisellTagsProps, PisellText, PisellTimeNavigator, type PisellTimeNavigatorProps, PisellTimeRangeDisplay, type PisellTimeRangeDisplayProps, PisellToast, Toolbar as PisellToolBar, PisellTooltip, PisellUpload, _default$19 as PisellUrl, type PisellUrlProps, PisellViewGrid, PisellWalletPassCard, type PisellWalletPassCardProps, Popconfirm, Popover, type PostShopFloorPlanBody, type ProcedureBodyProps, type ProcedureFooterProps, type ProcedureHeaderProps$1 as ProcedureHeaderProps, ProductCard, ProfileMenu, Progress, PublishVersionModal, type PutShopFloorPlanBody, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, type RecordBoardBlockedTimeMergedRange, type RecordBoardBlockedTimePanelPayload, type RecordBoardBodyView, type RecordBoardBookingMoveDraft, type RecordBoardCalendarBlockedTimePayload, type RecordBoardCalendarBookingLike, type RecordBoardCalendarBookingRenderArgs, type RecordBoardCalendarDayOverlayBooking, type RecordBoardCalendarProps, type RecordBoardCalendarResource, type RecordBoardCalendarResourceRenderArgs, type RecordBoardCalendarSelectedFreeSlot, type RecordBoardCalendarTimelineHeaderGroup, type RecordBoardCalendarTimelineHeaderRenderContext, type RecordBoardChildComponentProps, type RecordBoardColumnFilterConfig, type RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, type RecordBoardFieldType, type RecordBoardFloorMapProps, type RecordBoardGetOptions, type RecordBoardGridProps, type RecordBoardLayoutType, type RecordBoardLayoutVariant, type RecordBoardOptionItem, type RecordBoardProps, type RecordBoardResourceWallCardModel, type RecordBoardResourceWallLayoutPersist, type RecordBoardResourceWallProps, type RecordBoardToolBarProps, _default$20 as RecordView, type ReservationScheduleBandValue, type ReservationScheduleValue, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, SafeAreaTop, SectionFooters, Segmented, Select, SelectTime, SelectionFlowCompileError, type SelectionFlowCompileIssue, type SelectionFlowCompileIssueCode, type SelectionFlowContextValue, type SelectionFlowDraftAdapter, type SelectionFlowDraftChange, type SelectionFlowDraftUpdateMeta, type SelectionFlowMessageCode, type SelectionFlowMetadata, type SelectionFlowModuleAdapter, type SelectionFlowModuleConfig, type SelectionFlowModuleInput, type SelectionFlowModuleRegistry, type SelectionFlowPrepareStepsOptions, type SelectionFlowPrepareStepsResult, type SelectionFlowRef, type SelectionFlowRuntimeIssue, type SelectionFlowSnapshot, type SelectionFlowStepConfig, type SelectionFlowValidationFeedback, type ShopFloorPlanByCodeRequestOptions, type ShopFloorPlanDetail, type ShopFloorPlanHttpAdapter, type ShopFloorPlanLayoutItem, type SingleSelectRef, Skeleton, SliderOuter as Slider, Sort, SortableList, Space, Spin, Statistic, Steps, SubmitButton, Switch$1 as Switch, Provider$3 as TabCard, type TabCardProps, type TabDataItem, type TabbarActionItem, type TabbarDataSource, _default$21 as Table, Tabs, Tag, Provider$4 as TextCard, type TimeNavigatorOrientation, type TimeNavigatorPassthroughProps, type TimeNavigatorValue, TimePicker$1 as TimePicker, type TimeRangeOption, Timeline, type ToolBarProps, Tooltip, Transfer, Translation$2 as Translation, Tree, TreeSelect, Typography, Upload$1 as Upload, type VenueWallAppearanceSlot, type VenueWallAppearanceTheme, type VenueWallStatusKey, type VenueWallStatusTone, type VenueWallStatusToneOverrides, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, compileSelectionFlow, compileSelectionFlowSteps, computeSelectionZoneMemberIds, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, _default$22 as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, hasSelectionDraftFieldValue, inferCanvasSizeFromScene, initFloorMapLayoutLocales, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isSelectionModuleType, isSelectionZoneItem, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, parseNestedPathSegments, pickFloorPlanDetail, pickReferenceDateContainingNow, _default$23 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveFlowModuleAdapter, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useSelectionFlowContext, useShopFloorPlanSubscription, useToast, useTypedSelectionFlowContext, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { PisellBasicGridProps } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
2
3
|
//#region src/components/PisellBasicGrid/PisellBasicGrid.d.ts
|
|
3
4
|
/**
|
|
4
5
|
* 使用 memo 优化组件性能
|
|
5
6
|
* @description 当 props 没有变化时,避免不必要的重新渲染
|
|
6
7
|
*/
|
|
7
|
-
declare const MemoizedPisellBasicGrid: <T>(props: PisellBasicGridProps<T>) => JSX.Element;
|
|
8
|
+
declare const MemoizedPisellBasicGrid: <T>(props: PisellBasicGridProps<T>) => React.JSX.Element;
|
|
8
9
|
//#endregion
|
|
9
10
|
export { MemoizedPisellBasicGrid };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { GraphicTextCardProps } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
2
3
|
//#region src/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts
|
|
3
4
|
/**
|
|
4
5
|
* Provider 包装器
|
|
5
6
|
* 兼容 PisellCards 系统的 props 传递方式
|
|
6
7
|
*/
|
|
7
|
-
declare const Provider: (props: GraphicTextCardProps) => JSX.Element;
|
|
8
|
+
declare const Provider: (props: GraphicTextCardProps) => React.JSX.Element;
|
|
8
9
|
//#endregion
|
|
9
10
|
export { Provider };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { PisellImageCardProps } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
2
3
|
//#region src/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts
|
|
3
4
|
/**
|
|
4
5
|
* Provider 包装器
|
|
5
6
|
* 兼容 PisellCards 系统的 props 传递方式
|
|
6
7
|
*/
|
|
7
|
-
declare const Provider: (props: PisellImageCardProps) => JSX.Element;
|
|
8
|
+
declare const Provider: (props: PisellImageCardProps) => React.JSX.Element;
|
|
8
9
|
//#endregion
|
|
9
10
|
export { Provider };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
//#region src/components/PisellCards/components/TextCard/TextCard.d.ts
|
|
2
3
|
/**
|
|
3
4
|
* Provider 包装器
|
|
4
5
|
* 兼容 PisellCards 系统的 props 传递方式
|
|
5
6
|
*/
|
|
6
|
-
declare const Provider: (props: any) => JSX.Element;
|
|
7
|
+
declare const Provider: (props: any) => React.JSX.Element;
|
|
7
8
|
//#endregion
|
|
8
9
|
export { Provider };
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PisellBasicCardProps } from "./types.js";
|
|
2
3
|
import { ImageDataSource, ImageFillMode, PisellImageCardProps } from "./components/PisellImageCard/types.js";
|
|
3
4
|
import { GraphicConfig, GraphicTextCardProps, GraphicTextCardSize, GraphicTextCardVariant } from "./components/GraphicTextCard/types.js";
|
|
4
5
|
import { BadgeConfig, TabCardProps } from "./components/TabCard/types.js";
|
|
5
6
|
import { MultilevelCardProps } from "./components/MultilevelCard/types.js";
|
|
7
|
+
import * as _$react from "react";
|
|
6
8
|
|
|
7
9
|
//#region src/components/PisellCards/index.d.ts
|
|
8
10
|
declare const PisellCards: {
|
|
9
|
-
TabCard: (props: any) => JSX.Element;
|
|
10
|
-
TextCard: (props: any) => JSX.Element;
|
|
11
|
-
GraphicTextCard: (props: GraphicTextCardProps) => JSX.Element;
|
|
12
|
-
MultilevelCard: (props: any) => JSX.Element;
|
|
13
|
-
PisellImageCard: (props: PisellImageCardProps) => JSX.Element;
|
|
11
|
+
TabCard: (props: any) => _$react.JSX.Element;
|
|
12
|
+
TextCard: (props: any) => _$react.JSX.Element;
|
|
13
|
+
GraphicTextCard: (props: GraphicTextCardProps) => _$react.JSX.Element;
|
|
14
|
+
MultilevelCard: (props: any) => _$react.JSX.Element;
|
|
15
|
+
PisellImageCard: (props: PisellImageCardProps) => _$react.JSX.Element;
|
|
14
16
|
};
|
|
15
17
|
//#endregion
|
|
16
18
|
export { PisellCards };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { PisellGroupViewProps } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
2
3
|
//#region src/components/PisellGroupView/PisellGroupView.d.ts
|
|
3
4
|
/**
|
|
4
5
|
* 使用 memo 优化性能:props 未变化时跳过重渲染
|
|
5
6
|
*/
|
|
6
|
-
declare const MemoizedPisellGroupView: <T>(props: PisellGroupViewProps<T>) => JSX.Element;
|
|
7
|
+
declare const MemoizedPisellGroupView: <T>(props: PisellGroupViewProps<T>) => React.JSX.Element;
|
|
7
8
|
//#endregion
|
|
8
9
|
export { MemoizedPisellGroupView };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PisellBasicGridProps } from "../PisellBasicGrid/types.js";
|
|
2
3
|
import { PisellScrollViewProps, PisellScrollViewRef } from "../PisellScrollView/types.js";
|
|
3
4
|
import { FloorMapFullscreenMode, FloorMapItemBase, FloorMapLayoutContextValue, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef } from "../pisellFloorMapLayout/types.js";
|
|
@@ -30,7 +31,7 @@ import * as _$react from "react";
|
|
|
30
31
|
* </PisellLayouts.ScrollView>
|
|
31
32
|
*/
|
|
32
33
|
declare const PisellLayouts: {
|
|
33
|
-
BasicGrid: <T>(props: PisellBasicGridProps<T>) => JSX.Element;
|
|
34
|
+
BasicGrid: <T>(props: PisellBasicGridProps<T>) => _$react.JSX.Element;
|
|
34
35
|
ScrollView: _$react.ForwardRefExoticComponent<Omit<PisellScrollViewProps, "ref"> & _$react.RefAttributes<PisellScrollViewRef>>;
|
|
35
36
|
FloorMapLayout: <T_1 extends FloorMapItemBase = FloorMapItemBase>(props: PisellFloorMapLayoutProps<T_1> & {
|
|
36
37
|
ref?: _$react.Ref<PisellFloorMapLayoutRef | null> | undefined;
|
|
@@ -41,7 +42,7 @@ declare const PisellLayouts: {
|
|
|
41
42
|
Header: _$react.FC<PisellHeaderProps>;
|
|
42
43
|
Sider: _$react.FC<PisellSiderProps>;
|
|
43
44
|
Container: <T_2 extends RenderType>(props: PisellContainerProps<T_2>) => any;
|
|
44
|
-
Row: (props: PisellRowProps) => JSX.Element;
|
|
45
|
+
Row: (props: PisellRowProps) => _$react.JSX.Element;
|
|
45
46
|
ViewGrid: _$react.FC<PisellViewGridProps>;
|
|
46
47
|
};
|
|
47
48
|
//#endregion
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PisellMetricCardProps } from "../pisellMetricCard/types.js";
|
|
2
3
|
import { PisellStatisticListProps } from "../pisellStatisticList/index.js";
|
|
3
4
|
import { PisellStatisticProps } from "../cardMetricItem/index.js";
|
|
@@ -21,8 +22,8 @@ import * as _$react from "react";
|
|
|
21
22
|
*/
|
|
22
23
|
declare const PisellMetrics: {
|
|
23
24
|
MetricCard: _$react.FC<PisellMetricCardProps>;
|
|
24
|
-
StatisticList: (props: PisellStatisticListProps) => JSX.Element;
|
|
25
|
-
MetricItem: (props: PisellStatisticProps) => JSX.Element;
|
|
25
|
+
StatisticList: (props: PisellStatisticListProps) => _$react.JSX.Element;
|
|
26
|
+
MetricItem: (props: PisellStatisticProps) => _$react.JSX.Element;
|
|
26
27
|
};
|
|
27
28
|
//#endregion
|
|
28
29
|
export { PisellMetrics };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AppVersionControlProps } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
2
3
|
//#region src/components/appVersionControl/index.d.ts
|
|
3
|
-
declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
|
|
4
|
+
declare const AppVersionControl: (props: AppVersionControlProps) => React.JSX.Element;
|
|
4
5
|
//#endregion
|
|
5
6
|
export { AppVersionControl };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { AutoCompleteProps, InputNumberProps } from "antd";
|
|
2
3
|
|
|
3
4
|
//#region src/components/auto-complete-number/index.d.ts
|
|
@@ -7,6 +8,6 @@ interface AutoCompleteNumberProps {
|
|
|
7
8
|
value?: any;
|
|
8
9
|
onChange?: any;
|
|
9
10
|
}
|
|
10
|
-
declare const AutoCompleteNumber: (props: AutoCompleteNumberProps) => JSX.Element;
|
|
11
|
+
declare const AutoCompleteNumber: (props: AutoCompleteNumberProps) => React.JSX.Element;
|
|
11
12
|
//#endregion
|
|
12
13
|
export { AutoCompleteNumber };
|