@pisell/materials 1.8.54 → 1.8.55

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.
Files changed (139) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +3 -3
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +35 -35
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +35 -35
  9. package/es/components/buttonGroupPreview/index.js +8 -4
  10. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +207 -49
  11. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.less +33 -2
  12. package/es/components/pisellFloorMapLayout/appearance/floorMapAppearance.js +50 -2
  13. package/es/components/pisellFloorMapLayout/components/EdgeLayer.js +252 -0
  14. package/es/components/pisellFloorMapLayout/components/EdgeLayer.less +11 -0
  15. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.js +179 -29
  16. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.less +0 -28
  17. package/es/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.js +131 -0
  18. package/es/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.less +65 -0
  19. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +5 -4
  20. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.less +12 -1
  21. package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.js +8 -1
  22. package/es/components/pisellFloorMapLayout/components/FloorMapOverview.js +16 -8
  23. package/es/components/pisellFloorMapLayout/components/FloorMapOverview.less +69 -17
  24. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.js +290 -147
  25. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.less +210 -11
  26. package/es/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.js +81 -0
  27. package/es/components/pisellFloorMapLayout/components/FloorMapZoneElement.d.ts +8 -0
  28. package/es/components/pisellFloorMapLayout/components/FloorMapZoneElement.js +21 -0
  29. package/es/components/pisellFloorMapLayout/components/FloorMapZoneElement.less +74 -0
  30. package/es/components/pisellFloorMapLayout/components/ItemLayer.less +3 -1
  31. package/es/components/pisellFloorMapLayout/components/NodePortMarkers.js +70 -0
  32. package/es/components/pisellFloorMapLayout/components/NodePortMarkers.less +33 -0
  33. package/es/components/pisellFloorMapLayout/components/ViewControls.js +13 -5
  34. package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +2 -0
  35. package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +2 -1
  36. package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.js +1 -1
  37. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.js +340 -0
  38. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.js +102 -0
  39. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +244 -84
  40. package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +54 -0
  41. package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.js +7 -4
  42. package/es/components/pisellFloorMapLayout/index.d.ts +5 -1
  43. package/es/components/pisellFloorMapLayout/locales-ja.js +14 -2
  44. package/es/components/pisellFloorMapLayout/locales-pt.js +14 -2
  45. package/es/components/pisellFloorMapLayout/locales.js +161 -8
  46. package/es/components/pisellFloorMapLayout/types.d.ts +86 -4
  47. package/es/components/pisellFloorMapLayout/types.js +5 -1
  48. package/es/components/pisellFloorMapLayout/utils/alignSnap.js +170 -0
  49. package/es/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.js +86 -0
  50. package/es/components/pisellFloorMapLayout/utils/edgeRouting.js +942 -0
  51. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +7 -0
  52. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasStage.js +23 -1
  53. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.js +11 -2
  54. package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js +20 -3
  55. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.js +11 -5
  56. package/es/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.js +5 -3
  57. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +20 -0
  58. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.js +62 -0
  59. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +83 -0
  60. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.js +29 -0
  61. package/es/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.js +51 -0
  62. package/es/components/productCard/cartSkuCard/components/BookingItem/index.js +14 -0
  63. package/es/components/productCard/cartSkuCard/components/BookingItem/index.less +32 -0
  64. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +1 -2
  65. package/es/components/productCard/cartSkuCard/index.js +17 -11
  66. package/es/components/productCard/lineItem/BookingLineItem.js +6 -4
  67. package/es/components/productCard/lineItem/components/Resources/index.js +45 -0
  68. package/es/components/productCard/lineItem/components/TimeRange/index.js +64 -0
  69. package/es/components/productCard/lineItem/index.js +2 -1
  70. package/es/components/productCard/lineItem/index.less +21 -10
  71. package/es/index.d.ts +6 -2
  72. package/es/index.js +6 -2
  73. package/es/pisell-materials.tw.css +3 -0
  74. package/lib/components/buttonGroupPreview/index.js +8 -4
  75. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +206 -48
  76. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.less +33 -2
  77. package/lib/components/pisellFloorMapLayout/appearance/floorMapAppearance.js +50 -2
  78. package/lib/components/pisellFloorMapLayout/components/EdgeLayer.js +255 -0
  79. package/lib/components/pisellFloorMapLayout/components/EdgeLayer.less +11 -0
  80. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.js +179 -29
  81. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.less +0 -28
  82. package/lib/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.js +134 -0
  83. package/lib/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.less +65 -0
  84. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +4 -3
  85. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.less +12 -1
  86. package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.js +8 -1
  87. package/lib/components/pisellFloorMapLayout/components/FloorMapOverview.js +16 -8
  88. package/lib/components/pisellFloorMapLayout/components/FloorMapOverview.less +69 -17
  89. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.js +287 -144
  90. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.less +210 -11
  91. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.js +84 -0
  92. package/lib/components/pisellFloorMapLayout/components/FloorMapZoneElement.d.ts +8 -0
  93. package/lib/components/pisellFloorMapLayout/components/FloorMapZoneElement.js +23 -0
  94. package/lib/components/pisellFloorMapLayout/components/FloorMapZoneElement.less +74 -0
  95. package/lib/components/pisellFloorMapLayout/components/ItemLayer.less +3 -1
  96. package/lib/components/pisellFloorMapLayout/components/NodePortMarkers.js +73 -0
  97. package/lib/components/pisellFloorMapLayout/components/NodePortMarkers.less +33 -0
  98. package/lib/components/pisellFloorMapLayout/components/ViewControls.js +12 -4
  99. package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +2 -0
  100. package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +2 -1
  101. package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.js +1 -1
  102. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.js +341 -0
  103. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.js +103 -0
  104. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +242 -82
  105. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +54 -0
  106. package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.js +7 -4
  107. package/lib/components/pisellFloorMapLayout/index.d.ts +5 -1
  108. package/lib/components/pisellFloorMapLayout/locales-ja.js +14 -2
  109. package/lib/components/pisellFloorMapLayout/locales-pt.js +14 -2
  110. package/lib/components/pisellFloorMapLayout/locales.js +161 -8
  111. package/lib/components/pisellFloorMapLayout/types.d.ts +86 -4
  112. package/lib/components/pisellFloorMapLayout/types.js +5 -0
  113. package/lib/components/pisellFloorMapLayout/utils/alignSnap.js +170 -0
  114. package/lib/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.js +87 -0
  115. package/lib/components/pisellFloorMapLayout/utils/edgeRouting.js +956 -0
  116. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +7 -0
  117. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasStage.js +23 -0
  118. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.js +11 -2
  119. package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js +21 -2
  120. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.js +11 -5
  121. package/lib/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.js +5 -3
  122. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +20 -0
  123. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.js +64 -0
  124. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +83 -0
  125. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.js +29 -0
  126. package/lib/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.js +54 -0
  127. package/lib/components/productCard/cartSkuCard/components/BookingItem/index.js +17 -0
  128. package/lib/components/productCard/cartSkuCard/components/BookingItem/index.less +32 -0
  129. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +1 -2
  130. package/lib/components/productCard/cartSkuCard/index.js +17 -11
  131. package/lib/components/productCard/lineItem/BookingLineItem.js +6 -4
  132. package/lib/components/productCard/lineItem/components/Resources/index.js +47 -0
  133. package/lib/components/productCard/lineItem/components/TimeRange/index.js +67 -0
  134. package/lib/components/productCard/lineItem/index.js +2 -1
  135. package/lib/components/productCard/lineItem/index.less +21 -10
  136. package/lib/index.d.ts +6 -2
  137. package/lib/index.js +11 -0
  138. package/lib/pisell-materials.tw.css +3 -0
  139. package/package.json +4 -1
@@ -0,0 +1,45 @@
1
+ import React from "react";
2
+ import { Tag } from "antd";
3
+ import "../../../cartSkuCard/components/resources/index.less";
4
+ //#region src/components/productCard/lineItem/components/Resources/index.tsx
5
+ const PREFIX = "pisell-cart-sku-card";
6
+ const ResourceTag = Tag;
7
+ const colors = [
8
+ "magenta",
9
+ "volcano",
10
+ "orange",
11
+ "gold",
12
+ "green",
13
+ "cyan",
14
+ "blue",
15
+ "geekblue",
16
+ "purple"
17
+ ];
18
+ function getColor(n) {
19
+ return colors[n * 31 % colors.length];
20
+ }
21
+ const getResourceLabel = (resource, fallbackLabel) => {
22
+ var _resource$metadata, _resource$metadata2;
23
+ return (resource === null || resource === void 0 || (_resource$metadata = resource.metadata) === null || _resource$metadata === void 0 ? void 0 : _resource$metadata.resource_name) || (resource === null || resource === void 0 || (_resource$metadata2 = resource.metadata) === null || _resource$metadata2 === void 0 ? void 0 : _resource$metadata2.form_name) || fallbackLabel || "";
24
+ };
25
+ const LineItemResources = (props) => {
26
+ const { dataSource = {} } = props;
27
+ const resources = Array.isArray(dataSource === null || dataSource === void 0 ? void 0 : dataSource.resources) ? dataSource.resources : [];
28
+ const fallbackResourceLabel = resources.length === 1 ? dataSource === null || dataSource === void 0 ? void 0 : dataSource.relation_form_name : "";
29
+ const resourceLabels = Array.isArray(dataSource === null || dataSource === void 0 ? void 0 : dataSource.resources) ? resources.map((resource, index) => ({
30
+ id: Number(resource === null || resource === void 0 ? void 0 : resource.form_id) || Number(resource === null || resource === void 0 ? void 0 : resource.relation_id) || index + 1,
31
+ label: getResourceLabel(resource, fallbackResourceLabel)
32
+ })) : [];
33
+ if (!resourceLabels.length && (dataSource === null || dataSource === void 0 ? void 0 : dataSource.relation_form_name)) resourceLabels.push({
34
+ id: 1,
35
+ label: dataSource.relation_form_name
36
+ });
37
+ if (!resourceLabels.length) return null;
38
+ return /* @__PURE__ */ React.createElement("div", { className: `${PREFIX}__resources` }, resourceLabels.map((resource) => /* @__PURE__ */ React.createElement(ResourceTag, {
39
+ key: `${resource.id}-${resource.label}`,
40
+ color: getColor(resource.id),
41
+ className: "resource-tag"
42
+ }, resource.label)));
43
+ };
44
+ //#endregion
45
+ export { LineItemResources as default };
@@ -0,0 +1,64 @@
1
+ import IconFont from "../../../../iconfont/index.js";
2
+ import useEngineContext from "../../../../../hooks/useEngineContext.js";
3
+ import React, { useMemo } from "react";
4
+ import { locales } from "@pisell/utils";
5
+ import dayjs from "dayjs";
6
+ import "dayjs/locale/zh-cn";
7
+ import "dayjs/locale/en";
8
+ import "dayjs/locale/ja";
9
+ import "dayjs/locale/pt";
10
+ import "dayjs/locale/zh-tw";
11
+ import "../../../cartSkuCard/components/timeRange/index.less";
12
+ //#region src/components/productCard/lineItem/components/TimeRange/index.tsx
13
+ const localeTypes = {
14
+ "en-US": "en",
15
+ "zh-CN": "zh-cn",
16
+ "zh-HK": "zh-tw",
17
+ ja: "ja",
18
+ pt: "pt"
19
+ };
20
+ const PREFIX = "pisell-cart-sku-card";
21
+ const formatMultiDayDate = (start, end, isEn) => {
22
+ const format = isEn ? "ddd, DD/MM/YYYY" : "YYYY-MM-DD,ddd";
23
+ return `${start.format(format)} ~ ${end.format(format)}`;
24
+ };
25
+ const formatBookingTime = (booking, locale) => {
26
+ const start = dayjs((booking === null || booking === void 0 ? void 0 : booking.start_time) ? `${(booking === null || booking === void 0 ? void 0 : booking.start_date) || ""} ${booking.start_time}` : booking === null || booking === void 0 ? void 0 : booking.start_date);
27
+ const end = dayjs((booking === null || booking === void 0 ? void 0 : booking.end_time) ? `${(booking === null || booking === void 0 ? void 0 : booking.end_date) || ""} ${booking.end_time}` : booking === null || booking === void 0 ? void 0 : booking.end_date);
28
+ if (!start.isValid() || !end.isValid()) return "";
29
+ const isEn = locale === "en-US" || locale === "en";
30
+ const durationType = (booking === null || booking === void 0 ? void 0 : booking.sub_type) || (booking === null || booking === void 0 ? void 0 : booking.duration_type);
31
+ const startTime = (booking === null || booking === void 0 ? void 0 : booking.start_time) || start.format("HH:mm");
32
+ const endTime = (booking === null || booking === void 0 ? void 0 : booking.end_time) || end.format("HH:mm");
33
+ if (durationType === "days" && !start.isSame(end, "day")) {
34
+ const duration = end.diff(start, "day");
35
+ return `${formatMultiDayDate(start, end, isEn)} (${duration}${locales.getText("pisell2.product.card.day")(duration)})`;
36
+ }
37
+ const dateFormat = isEn ? "DD/MM/YYYY" : "YYYY-MM-DD";
38
+ const dateTime = start.isSame(end, "day") ? isEn ? `${startTime} ~ ${endTime} ${start.format(dateFormat)}` : `${start.format(dateFormat)} ${startTime} ~ ${endTime}` : isEn ? `${startTime} ${start.format(dateFormat)} ~ ${endTime} ${end.format(dateFormat)}` : `${start.format(dateFormat)} ${startTime} ~ ${end.format(dateFormat)} ${endTime}`;
39
+ if (!durationType) return dateTime;
40
+ if (durationType === "minutes" || durationType === "flexible") {
41
+ const duration = end.diff(start, "minute");
42
+ const hours = Math.floor(duration / 60);
43
+ const minutes = duration % 60;
44
+ return `${dateTime} (${locales.getText("pisell2.product.card.hour.minute")(hours, minutes)})`;
45
+ }
46
+ return `${dateTime} (${end.diff(start, durationType)})`;
47
+ };
48
+ const LineItemTimeRange = (props) => {
49
+ var _context$appHelper$ut, _context$appHelper$ut2, _context$appHelper$ut3, _context$appHelper$ut4;
50
+ const { dataSource = {} } = props;
51
+ const context = useEngineContext();
52
+ 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")) || (dataSource === null || dataSource === void 0 ? void 0 : dataSource.locale) || "en-US";
53
+ const serviceTime = useMemo(() => {
54
+ dayjs.locale(localeTypes[locale]);
55
+ return formatBookingTime(dataSource, locale);
56
+ }, [dataSource, locale]);
57
+ if (!serviceTime) return null;
58
+ return /* @__PURE__ */ React.createElement("div", { className: `${PREFIX}__time-range` }, /* @__PURE__ */ React.createElement(IconFont, {
59
+ className: "time-icon",
60
+ type: "pisell2-clock"
61
+ }), serviceTime);
62
+ };
63
+ //#endregion
64
+ export { LineItemTimeRange as default };
@@ -74,7 +74,7 @@ const convertBundle = (bundle, translationOriginal) => {
74
74
  });
75
75
  };
76
76
  const convertProductToLineItemProduct = (product, translationOriginal, symbol) => {
77
- var _product$metadata, _ref, _product$num, _ref2, _product$num2, _product$metadata$sou, _product$metadata2, _product$payment_pric, _product$metadata3, _product$product_sku, _ref3, _product$num3;
77
+ var _product$metadata, _ref, _product$num, _ref2, _product$num2, _product$metadata$sou, _product$metadata2, _product$payment_pric, _product$metadata3, _product$discount_lis, _product$discount_lis2, _product$metadata4, _product$product_sku, _ref3, _product$num3;
78
78
  const title = translateText(product.product_title || product.title, translationOriginal);
79
79
  const bundle = (product.product_bundle || []).map((bundleItem) => convertBundle(bundleItem, translationOriginal));
80
80
  return {
@@ -105,6 +105,7 @@ const convertProductToLineItemProduct = (product, translationOriginal, symbol) =
105
105
  product_option_string: product.product_sku ? translateText(product.product_sku.subtitle, translationOriginal) : "",
106
106
  discount_list: product.discount_list,
107
107
  promotions: product.promotions,
108
+ 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$metadata4 = product.metadata) === null || _product$metadata4 === void 0 ? void 0 : _product$metadata4.product_discount_reason,
108
109
  isGift: Boolean(product.gift_card),
109
110
  giftData: product.giftData,
110
111
  _origin: product,
@@ -18,10 +18,10 @@
18
18
  &__delete-btn {
19
19
  width: 34px;
20
20
  height: 34px;
21
- border: 1px solid rgba(255, 255, 255, 0.35);
21
+ border: 1px solid var(--Gray-300, #d0d5dd);
22
22
  border-radius: 8px;
23
- background: rgba(255, 255, 255, 0.12);
24
- color: #fff;
23
+ background: var(--Gray-100, #f2f4f7);
24
+ color: var(--Gray-500, #667085);
25
25
  cursor: pointer;
26
26
  padding: 0;
27
27
  display: inline-flex;
@@ -87,10 +87,10 @@
87
87
  }
88
88
 
89
89
  &__status {
90
- border: 1px solid #0f1d40;
90
+ border: 1px solid rgba(16, 24, 40, 0.12);
91
91
  border-radius: 8px;
92
- background: #0f1d40;
93
- color: #fff;
92
+ background: rgba(255, 255, 255, 0.72);
93
+ color: #101828;
94
94
  display: inline-flex;
95
95
  align-items: center;
96
96
  justify-content: center;
@@ -103,13 +103,25 @@
103
103
  line-height: 20px;
104
104
  cursor: pointer;
105
105
  flex-shrink: 0;
106
+ box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
106
107
 
107
108
  .pisell-lowcodeicon-down,
108
109
  .anticon {
109
110
  font-size: 12px;
110
111
  }
111
112
 
113
+ &:hover,
114
+ &:focus,
115
+ &:active {
116
+ border-color: rgba(16, 24, 40, 0.18);
117
+ background: rgba(255, 255, 255, 0.86);
118
+ color: #101828;
119
+ }
120
+
112
121
  &:disabled {
122
+ border-color: rgba(16, 24, 40, 0.12);
123
+ background: rgba(255, 255, 255, 0.72);
124
+ color: #101828;
113
125
  cursor: default;
114
126
  }
115
127
  }
@@ -130,11 +142,10 @@
130
142
  }
131
143
 
132
144
  &__booking-detail {
133
- display: grid;
134
- grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
135
- gap: 12px 24px;
145
+ display: flex;
146
+ flex-direction: column;
147
+ gap: 4px;
136
148
  padding: 8px;
137
- background: #fff;
138
149
  }
139
150
 
140
151
  &__booking-field {
package/es/index.d.ts CHANGED
@@ -30,7 +30,8 @@ import { PisellBasicGridProps } from "./components/PisellBasicGrid/types.js";
30
30
  import { MemoizedPisellBasicGrid } from "./components/PisellBasicGrid/PisellBasicGrid.js";
31
31
  import { PisellScrollViewProps } from "./components/PisellScrollView/types.js";
32
32
  import { PisellScrollView } from "./components/PisellScrollView/PisellScrollView.js";
33
- import { FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, FloorMapDataSources, FloorMapElementKindCategory, FloorMapElementKindConfig, FloorMapFullscreenMode, FloorMapItemBase, FloorMapLayoutContextValue, FloorMapMergedItem, FloorMapRenderOptions, FloorMapSceneElement, FloorMapViewConfig, FloorMapViewportOverlayRenderArgs, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef } from "./components/pisellFloorMapLayout/types.js";
33
+ import { FloorMapResourcePickerSlotProps, PisellCardPickerCardMeta, PisellCardPickerCategoryConfig, PisellCardPickerCategoryLevelConfig, PisellCardPickerCategoryMode, PisellCardPickerCategoryPath, PisellCardPickerItem, PisellCardPickerMode, parseNestedPathSegments } from "./components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.js";
34
+ import { FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, FLOOR_MAP_ZONE_ELEMENT_KIND, FloorMapDataSources, FloorMapEdge, FloorMapEdgeAnchor, FloorMapEdgeStatus, FloorMapElementKindCategory, FloorMapElementKindConfig, FloorMapFullscreenMode, FloorMapItemBase, FloorMapLayoutContextValue, FloorMapMergedItem, FloorMapRenderOptions, FloorMapSceneElement, FloorMapViewConfig, FloorMapViewportOverlayRenderArgs, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef } from "./components/pisellFloorMapLayout/types.js";
34
35
  import { PisellFloorMapLayout } from "./components/pisellFloorMapLayout/PisellFloorMapLayout.js";
35
36
  import { renderFloorMapFallbackPlaceholder } from "./components/pisellFloorMapLayout/utils/floorMapFallbackRender.js";
36
37
  import { isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind } from "./components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js";
@@ -45,8 +46,11 @@ import { sceneElementsToShopLayout, shopLayoutToSceneElements } from "./componen
45
46
  import { WrapFloorMapOnSaveWithRemotePersistParams, wrapFloorMapOnSaveWithRemotePersist } from "./components/pisellFloorMapLayout/utils/floorMapRemotePersist.js";
46
47
  import { EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, FloorMapLayoutProvider, FloorMapLayoutProviderProps, useFloorMapLayoutContext } from "./components/pisellFloorMapLayout/context/FloorMapLayoutContext.js";
47
48
  import { mergeFloorMapLayoutPropsFromContext } from "./components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js";
49
+ import { FloorMapResourcePickerRecord, floorMapResourcePickerRecordSearchText, getFloorMapCardPickerCategoryConfig, getFloorMapResourcePickerCardMeta } from "./components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.js";
50
+ import { initFloorMapLayoutLocales } from "./components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.js";
48
51
  import { FloorMapImageElement } from "./components/pisellFloorMapLayout/components/FloorMapImageElement.js";
49
52
  import { FloorMapBuiltinShapeElement } from "./components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.js";
53
+ import { FloorMapZoneElement } from "./components/pisellFloorMapLayout/components/FloorMapZoneElement.js";
50
54
  import { getFigmaTableCardFromMerged, getRenderItemByKindRoundTable, getRenderItemByKindTable, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard } from "./components/pisellFloorMapLayout/components/FigmaTableCard.js";
51
55
  import { CompoundedComponent, PisellLayout, PisellLayoutProps } from "./components/pisellLayout/index.js";
52
56
  import { PisellContent } from "./components/pisellLayout/content.js";
@@ -265,4 +269,4 @@ import { Number } from "./components/virtual-keyboard/Number/index.js";
265
269
  import { VirtualInput } from "./components/virtualInput/index.js";
266
270
  import { WalletCard } from "./components/walletCard/index.js";
267
271
  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";
268
- 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_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, FloorMapBuiltinShapeElement, 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, PisellMobileDateRangePicker, type PisellMobileDateRangePickerProps, PisellModal, PisellMultipleSelect, type PisellMultipleSelectProps, PisellNavigationMenu, MemoizedPisellNumber as PisellNumber, Number as PisellNumberKeyboard, type PisellNumberProps, MemoizedPisellPercent as PisellPercent, type PisellPercentProps, _default$13 as PisellPhone, type PisellPhoneProps, Amount as PisellPriceKeyboard, PisellProcedure, type PisellProcedureProps, type PisellProcedureRef, PisellQRScanner, type PisellQRScannerProps, PisellQrcode, pisellQuickFilter as PisellQuickFilter, type PisellQuickFilterProps, _default$14 as PisellRating, type PisellRatingProps, PisellRecordBoard, PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, 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, 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 RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, type RecordBoardLayoutVariant, 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, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, inferCanvasSizeFromScene, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, pickReferenceDateContainingNow, _default$21 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useShopFloorPlanSubscription, useToast, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
272
+ 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_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, FLOOR_MAP_ZONE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, FloorMapBuiltinShapeElement, 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, type FloorMapViewConfig, type FloorMapViewportOverlayRenderArgs, FloorMapZoneElement, _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, 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, 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, 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, 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 RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, type RecordBoardLayoutVariant, 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, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, inferCanvasSizeFromScene, initFloorMapLayoutLocales, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, parseNestedPathSegments, pickFloorPlanDetail, pickReferenceDateContainingNow, _default$21 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useShopFloorPlanSubscription, useToast, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
package/es/index.js CHANGED
@@ -32,10 +32,12 @@ import CardMetricItem from "./components/cardMetricItem/index.js";
32
32
  import PisellMetrics from "./components/PisellMetrics/index.js";
33
33
  import MemoizedPisellBasicGrid from "./components/PisellBasicGrid/PisellBasicGrid.js";
34
34
  import PisellScrollView_default from "./components/PisellScrollView/index.js";
35
- import { FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND } from "./components/pisellFloorMapLayout/types.js";
35
+ import { FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, FLOOR_MAP_ZONE_ELEMENT_KIND } from "./components/pisellFloorMapLayout/types.js";
36
36
  import { FLOOR_MAP_BUILTIN_SHAPES, getFloorMapBuiltinShapeDef } from "./components/pisellFloorMapLayout/utils/floorMapBuiltinShapes.js";
37
37
  import { isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind } from "./components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js";
38
+ import { initFloorMapLayoutLocales } from "./components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.js";
38
39
  import { NAME_AS_TITLE_EXT_KEY, buildNameAsTitleExtensionsPatch, isElementNameAsTitleEnabled, resolveSceneElementDisplayTitle } from "./components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.js";
40
+ import { FloorMapZoneElement } from "./components/pisellFloorMapLayout/components/FloorMapZoneElement.js";
39
41
  import { FloorMapImageElement } from "./components/pisellFloorMapLayout/components/FloorMapImageElement.js";
40
42
  import { FloorMapBuiltinShapeElement } from "./components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.js";
41
43
  import { renderFloorMapFallbackPlaceholder } from "./components/pisellFloorMapLayout/utils/floorMapFallbackRender.js";
@@ -49,6 +51,8 @@ import { createShopFloorPlanClient } from "./components/pisellFloorMapLayout/sho
49
51
  import { sceneElementsToShopLayout, shopLayoutToSceneElements } from "./components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.js";
50
52
  import { useShopFloorPlanSubscription } from "./components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.js";
51
53
  import { wrapFloorMapOnSaveWithRemotePersist } from "./components/pisellFloorMapLayout/utils/floorMapRemotePersist.js";
54
+ import { parseNestedPathSegments } from "./components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.js";
55
+ import { floorMapResourcePickerRecordSearchText, getFloorMapCardPickerCategoryConfig, getFloorMapResourcePickerCardMeta } from "./components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.js";
52
56
  import { getFigmaTableCardFromMerged, getRenderItemByKindRoundTable, getRenderItemByKindTable, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard } from "./components/pisellFloorMapLayout/components/FigmaTableCard.js";
53
57
  import PisellLayout from "./components/pisellLayout/index.js";
54
58
  import PisellContent from "./components/pisellLayout/content.js";
@@ -235,4 +239,4 @@ import VirtualInput from "./components/virtualInput/index.js";
235
239
  import WalletCard from "./components/walletCard/index.js";
236
240
  import "./pisell-materials.tw.css";
237
241
  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";
238
- 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_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, FloorMapBuiltinShapeElement, 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, PisellMobileDateRangePicker, PisellModal, PisellMultipleSelect, pisellNavigationMenu_default as PisellNavigationMenu, MemoizedPisellNumber as PisellNumber, Number as PisellNumberKeyboard, MemoizedPisellPercent as PisellPercent, PisellPhone_default as PisellPhone, Amount as PisellPriceKeyboard, PisellProcedure, PisellQRScanner, PisellQrcode, pisellQuickFilter as PisellQuickFilter, PisellRating_default as PisellRating, PisellRecordBoard, PisellRecordBoardCalendarView, PisellRecordBoardResourceWallView, PisellReservationSchedule, PisellReservationScheduleBand, PisellRow, PisellScan, PisellScrollView_default as PisellScrollView, PisellSectionHeaders, PisellShellFrame, PisellSider, PisellSingleLineText_default as PisellSingleLineText, PisellSingleSelect, PisellSort, PisellStatisticList, PisellSteps_default as PisellSteps, PisellSuperTabs_default as PisellSuperTabs, PisellTabbar_default as PisellTabbar, PisellTabbar as PisellTabbar2, Template1_default as PisellTabbarTemplate1, PisellTags, PisellText, PisellTimeNavigator, PisellTimeRangeDisplay, PisellToast, Toolbar as PisellToolBar, PisellTooltip, PisellUpload, PisellUrl_default as PisellUrl, PisellViewGrid, PisellWalletPassCard, Popconfirm, Popover, ProductCard, ProfileMenu, Progress, PublishVersionModal, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, record_view_default as RecordView, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, SafeAreaTop, SectionFooters, Segmented, Select, SelectTime, Skeleton, SliderOuter as Slider, Sort, SortableList, Space, Spin, Statistic, Steps, SubmitButton, Switch$1 as Switch, Provider$3 as TabCard, table_default as Table, Tabs, Tag, Provider$4 as TextCard, TimePicker$1 as TimePicker, Timeline, Tooltip, Transfer, Translation$2 as Translation, Tree, TreeSelect, Typography, Upload$1 as Upload, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, inferCanvasSizeFromScene, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, pickFloorPlanDetail, pickReferenceDateContainingNow, locales_default as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useShopFloorPlanSubscription, useToast, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
242
+ 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_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, FLOOR_MAP_ZONE_ELEMENT_KIND, Filter, FloorMapBuiltinShapeElement, FloorMapImageElement, FloorMapLayoutProvider, FloorMapZoneElement, 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, PisellMobileDateRangePicker, PisellModal, PisellMultipleSelect, pisellNavigationMenu_default as PisellNavigationMenu, MemoizedPisellNumber as PisellNumber, Number as PisellNumberKeyboard, MemoizedPisellPercent as PisellPercent, PisellPhone_default as PisellPhone, Amount as PisellPriceKeyboard, PisellProcedure, PisellQRScanner, PisellQrcode, pisellQuickFilter as PisellQuickFilter, PisellRating_default as PisellRating, PisellRecordBoard, PisellRecordBoardCalendarView, PisellRecordBoardResourceWallView, PisellReservationSchedule, PisellReservationScheduleBand, PisellRow, PisellScan, PisellScrollView_default as PisellScrollView, PisellSectionHeaders, PisellShellFrame, PisellSider, PisellSingleLineText_default as PisellSingleLineText, PisellSingleSelect, PisellSort, PisellStatisticList, PisellSteps_default as PisellSteps, PisellSuperTabs_default as PisellSuperTabs, PisellTabbar_default as PisellTabbar, PisellTabbar as PisellTabbar2, Template1_default as PisellTabbarTemplate1, PisellTags, PisellText, PisellTimeNavigator, PisellTimeRangeDisplay, PisellToast, Toolbar as PisellToolBar, PisellTooltip, PisellUpload, PisellUrl_default as PisellUrl, PisellViewGrid, PisellWalletPassCard, Popconfirm, Popover, ProductCard, ProfileMenu, Progress, PublishVersionModal, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, record_view_default as RecordView, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, SafeAreaTop, SectionFooters, Segmented, Select, SelectTime, Skeleton, SliderOuter as Slider, Sort, SortableList, Space, Spin, Statistic, Steps, SubmitButton, Switch$1 as Switch, Provider$3 as TabCard, table_default as Table, Tabs, Tag, Provider$4 as TextCard, TimePicker$1 as TimePicker, Timeline, Tooltip, Transfer, Translation$2 as Translation, Tree, TreeSelect, Typography, Upload$1 as Upload, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, inferCanvasSizeFromScene, initFloorMapLayoutLocales, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, parseNestedPathSegments, pickFloorPlanDetail, pickReferenceDateContainingNow, locales_default as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useShopFloorPlanSubscription, useToast, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
@@ -0,0 +1,3 @@
1
+ *,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent;--tw-shadow:0 0 transparent;--tw-shadow-colored:0 0 transparent;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent;--tw-shadow:0 0 transparent;--tw-shadow-colored:0 0 transparent;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }
2
+
3
+ /*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder, textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media (min-width:640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width:768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width:1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.pointer-events-none{pointer-events:none!important}.\!visible,.visible{visibility:visible!important}.collapse{visibility:collapse!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.sticky{position:sticky!important}.inset-0{inset:0!important}.inset-6{inset:1.5rem!important}.inset-x-0{left:0!important;right:0!important}.inset-y-0{top:0!important;bottom:0!important}.bottom-6{bottom:1.5rem!important}.left-0{left:0!important}.left-1\/2{left:50%!important}.right-0{right:0!important}.top-0{top:0!important}.top-2{top:.5rem!important}.top-\[60px\]{top:60px!important}.isolate{isolation:isolate!important}.z-20{z-index:20!important}.z-30{z-index:30!important}.z-50{z-index:50!important}.z-\[25\]{z-index:25!important}.z-\[26\]{z-index:26!important}.z-\[60\]{z-index:60!important}.z-\[69\]{z-index:69!important}.z-\[72\]{z-index:72!important}.mx-0{margin-left:0!important;margin-right:0!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:.75rem!important}.mb-4{margin-bottom:1rem!important}.mt-0\.5{margin-top:.125rem!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:.75rem!important}.mt-5{margin-top:1.25rem!important}.mt-6{margin-top:1.5rem!important}.block{display:block!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.table{display:table!important}.grid{display:grid!important}.contents{display:contents!important}.hidden{display:none!important}.h-10{height:2.5rem!important}.h-2\.5{height:.625rem!important}.h-\[52px\]{height:52px!important}.h-full{height:100%!important}.max-h-\[360px\]{max-height:360px!important}.max-h-\[72vh\]{max-height:72vh!important}.max-h-\[78vh\]{max-height:78vh!important}.max-h-\[92vh\]{max-height:92vh!important}.max-h-none{max-height:none!important}.min-h-0,.min-h-\[0\]{min-height:0!important}.min-h-\[28px\]{min-height:28px!important}.w-10{width:2.5rem!important}.w-14{width:3.5rem!important}.w-2\.5{width:.625rem!important}.w-\[132px\]{width:132px!important}.w-\[2px\]{width:2px!important}.w-\[52px\]{width:52px!important}.w-fit{width:-moz-fit-content!important;width:fit-content!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.min-w-\[132px\]{min-width:132px!important}.min-w-\[240px\]{min-width:240px!important}.min-w-\[980px\]{min-width:980px!important}.max-w-\[132px\]{max-width:132px!important}.max-w-\[260px\]{max-width:260px!important}.max-w-\[520px\]{max-width:520px!important}.max-w-\[720px\]{max-width:720px!important}.max-w-\[900px\]{max-width:900px!important}.max-w-\[92vw\]{max-width:92vw!important}.max-w-\[980px\]{max-width:980px!important}.max-w-full{max-width:100%!important}.max-w-none{max-width:none!important}.flex-1{flex:1 1 0%!important}.flex-shrink{flex-shrink:1!important}.shrink-0{flex-shrink:0!important}.flex-grow{flex-grow:1!important}.border-collapse{border-collapse:collapse!important}.-translate-x-1\/2{--tw-translate-x:-50%!important}.-rotate-90,.-translate-x-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-90{--tw-rotate:-90deg!important}.rotate-0{--tw-rotate:0deg!important}.\!transform,.rotate-0,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-grab{cursor:grab!important}.cursor-grabbing{cursor:grabbing!important}.cursor-pointer{cursor:pointer!important}.touch-pan-x{--tw-pan-x:pan-x!important}.touch-pan-x,.touch-pan-y{touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)!important}.touch-pan-y{--tw-pan-y:pan-y!important}.select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.select-text{-webkit-user-select:text!important;-moz-user-select:text!important;user-select:text!important}.select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.resize-none{resize:none!important}.resize{resize:both!important}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))!important}.grid-cols-\[0\.8fr_1fr_1\.3fr_0\.9fr_0\.9fr\]{grid-template-columns:.8fr 1fr 1.3fr .9fr .9fr!important}.flex-col{flex-direction:column!important}.flex-col-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.place-items-center{place-items:center!important}.items-start{align-items:flex-start!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.items-stretch{align-items:stretch!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-1\.5{gap:.375rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:.75rem!important}.gap-4{gap:1rem!important}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(0.25rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(0.25rem*var(--tw-space-y-reverse))!important}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important}.self-center{align-self:center!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-x-auto{overflow-x:auto!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overscroll-y-contain{overscroll-behavior-y:contain!important}.truncate{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.break-words{overflow-wrap:break-word!important}.rounded{border-radius:.25rem!important}.rounded-2xl{border-radius:1rem!important}.rounded-3xl{border-radius:1.5rem!important}.rounded-\[28px\]{border-radius:28px!important}.rounded-\[30px\]{border-radius:30px!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.rounded-md{border-radius:.375rem!important}.rounded-xl{border-radius:.75rem!important}.rounded-t-3xl{border-top-left-radius:1.5rem!important;border-top-right-radius:1.5rem!important}.border{border-width:1px!important}.border-b{border-bottom-width:1px!important}.border-b-4{border-bottom-width:4px!important}.border-l{border-left-width:1px!important}.border-r{border-right-width:1px!important}.border-dashed{border-style:dashed!important}.border-\[\#d8d0eb\]{--tw-border-opacity:1!important;border-color:rgb(216 208 235/var(--tw-border-opacity,1))!important}.border-\[var\(--border-strong\)\]{border-color:var(--border-strong)!important}.border-\[var\(--brand-light\)\]{border-color:var(--brand-light)!important}.border-amber-200\/35{border-color:rgba(253,230,138,.35)!important}.border-amber-400\/80{border-color:rgba(251,191,36,.8)!important}.border-amber-400\/95{border-color:rgba(251,191,36,.95)!important}.border-cyan-300\/35{border-color:rgba(103,232,249,.35)!important}.border-emerald-300\/35{border-color:rgba(110,231,183,.35)!important}.border-red-200{--tw-border-opacity:1!important;border-color:rgb(254 202 202/var(--tw-border-opacity,1))!important}.border-red-300\/35{border-color:rgba(252,165,165,.35)!important}.border-red-300\/55{border-color:rgba(252,165,165,.55)!important}.border-red-400\/75{border-color:rgba(248,113,113,.75)!important}.border-red-500\/70{border-color:rgba(239,68,68,.7)!important}.border-red-700\/50{border-color:rgba(185,28,28,.5)!important}.border-red-800\/40{border-color:rgba(153,27,27,.4)!important}.border-slate-200{--tw-border-opacity:1!important;border-color:rgb(226 232 240/var(--tw-border-opacity,1))!important}.border-slate-700{--tw-border-opacity:1!important;border-color:rgb(51 65 85/var(--tw-border-opacity,1))!important}.border-slate-800{--tw-border-opacity:1!important;border-color:rgb(30 41 59/var(--tw-border-opacity,1))!important}.border-violet-300\/30{border-color:rgba(196,181,253,.3)!important}.border-violet-400\/20{border-color:rgba(167,139,250,.2)!important}.border-violet-500\/30{border-color:rgba(139,92,246,.3)!important}.border-white\/10{border-color:hsla(0,0%,100%,.1)!important}.border-zinc-300\/30{border-color:rgba(212,212,216,.3)!important}.border-zinc-300\/45{border-color:rgba(212,212,216,.45)!important}.border-zinc-400\/45{border-color:rgba(161,161,170,.45)!important}.border-zinc-500\/70{border-color:rgba(113,113,122,.7)!important}.border-zinc-700{--tw-border-opacity:1!important;border-color:rgb(63 63 70/var(--tw-border-opacity,1))!important}.border-zinc-800{--tw-border-opacity:1!important;border-color:rgb(39 39 42/var(--tw-border-opacity,1))!important}.border-zinc-800\/80{border-color:rgba(39,39,42,.8)!important}.border-b-transparent{border-bottom-color:transparent!important}.border-l-transparent{border-left-color:transparent!important}.bg-\[\#101117\]{--tw-bg-opacity:1!important;background-color:rgb(16 17 23/var(--tw-bg-opacity,1))!important}.bg-\[\#111217\]{--tw-bg-opacity:1!important;background-color:rgb(17 18 23/var(--tw-bg-opacity,1))!important}.bg-\[\#111218\]{--tw-bg-opacity:1!important;background-color:rgb(17 18 24/var(--tw-bg-opacity,1))!important}.bg-\[\#121217\]{--tw-bg-opacity:1!important;background-color:rgb(18 18 23/var(--tw-bg-opacity,1))!important}.bg-\[\#151220\]{--tw-bg-opacity:1!important;background-color:rgb(21 18 32/var(--tw-bg-opacity,1))!important}.bg-\[\#151a2f\]{--tw-bg-opacity:1!important;background-color:rgb(21 26 47/var(--tw-bg-opacity,1))!important}.bg-\[\#171820\]{--tw-bg-opacity:1!important;background-color:rgb(23 24 32/var(--tw-bg-opacity,1))!important}.bg-\[\#1a1a22\]{--tw-bg-opacity:1!important;background-color:rgb(26 26 34/var(--tw-bg-opacity,1))!important}.bg-\[\#1a1b21\]{--tw-bg-opacity:1!important;background-color:rgb(26 27 33/var(--tw-bg-opacity,1))!important}.bg-\[\#1c1630\]{--tw-bg-opacity:1!important;background-color:rgb(28 22 48/var(--tw-bg-opacity,1))!important}.bg-\[\#1e1a32\]{--tw-bg-opacity:1!important;background-color:rgb(30 26 50/var(--tw-bg-opacity,1))!important}.bg-\[\#241d40\]{--tw-bg-opacity:1!important;background-color:rgb(36 29 64/var(--tw-bg-opacity,1))!important}.bg-\[var\(--bg-input\)\]{background-color:var(--bg-input)!important}.bg-\[var\(--brand-surface\)\]{background-color:var(--brand-surface)!important}.bg-amber-500{--tw-bg-opacity:1!important;background-color:rgb(245 158 11/var(--tw-bg-opacity,1))!important}.bg-black\/25{background-color:rgba(0,0,0,.25)!important}.bg-black\/45{background-color:rgba(0,0,0,.45)!important}.bg-black\/55{background-color:rgba(0,0,0,.55)!important}.bg-cyan-500{--tw-bg-opacity:1!important;background-color:rgb(6 182 212/var(--tw-bg-opacity,1))!important}.bg-emerald-400\/95{background-color:rgba(52,211,153,.95)!important}.bg-emerald-500{--tw-bg-opacity:1!important;background-color:rgb(16 185 129/var(--tw-bg-opacity,1))!important}.bg-emerald-600{--tw-bg-opacity:1!important;background-color:rgb(5 150 105/var(--tw-bg-opacity,1))!important}.bg-red-50{background-color:rgb(254 242 242/var(--tw-bg-opacity,1))!important}.bg-red-50,.bg-red-500{--tw-bg-opacity:1!important}.bg-red-500{background-color:rgb(239 68 68/var(--tw-bg-opacity,1))!important}.bg-red-500\/25{background-color:rgba(239,68,68,.25)!important}.bg-red-500\/85{background-color:rgba(239,68,68,.85)!important}.bg-red-600{--tw-bg-opacity:1!important;background-color:rgb(220 38 38/var(--tw-bg-opacity,1))!important}.bg-red-700\/70{background-color:rgba(185,28,28,.7)!important}.bg-red-900\/50{background-color:rgba(127,29,29,.5)!important}.bg-red-950\/30{background-color:rgba(69,10,10,.3)!important}.bg-sky-500{background-color:rgb(14 165 233/var(--tw-bg-opacity,1))!important}.bg-sky-500,.bg-slate-100{--tw-bg-opacity:1!important}.bg-slate-100{background-color:rgb(241 245 249/var(--tw-bg-opacity,1))!important}.bg-slate-50{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))!important}.bg-slate-900{--tw-bg-opacity:1!important;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))!important}.bg-slate-900\/40{background-color:rgba(15,23,42,.4)!important}.bg-slate-950{--tw-bg-opacity:1!important;background-color:rgb(2 6 23/var(--tw-bg-opacity,1))!important}.bg-transparent{background-color:transparent!important}.bg-violet-100{--tw-bg-opacity:1!important;background-color:rgb(237 233 254/var(--tw-bg-opacity,1))!important}.bg-violet-400\/10{background-color:rgba(167,139,250,.1)!important}.bg-violet-50{--tw-bg-opacity:1!important;background-color:rgb(245 243 255/var(--tw-bg-opacity,1))!important}.bg-violet-500{--tw-bg-opacity:1!important;background-color:rgb(139 92 246/var(--tw-bg-opacity,1))!important}.bg-violet-600{--tw-bg-opacity:1!important;background-color:rgb(124 58 237/var(--tw-bg-opacity,1))!important}.bg-violet-600\/10{background-color:rgba(124,58,237,.1)!important}.bg-violet-700\/90{background-color:rgba(109,40,217,.9)!important}.bg-violet-900\/20{background-color:rgba(76,29,149,.2)!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white\/10{background-color:hsla(0,0%,100%,.1)!important}.bg-white\/\[0\.06\]{background-color:hsla(0,0%,100%,.06)!important}.bg-zinc-500\/90{background-color:rgba(113,113,122,.9)!important}.bg-zinc-600{--tw-bg-opacity:1!important;background-color:rgb(82 82 91/var(--tw-bg-opacity,1))!important}.bg-zinc-600\/90{background-color:rgba(82,82,91,.9)!important}.bg-zinc-700\/55{background-color:rgba(63,63,70,.55)!important}.bg-zinc-700\/70{background-color:rgba(63,63,70,.7)!important}.bg-zinc-800{--tw-bg-opacity:1!important;background-color:rgb(39 39 42/var(--tw-bg-opacity,1))!important}.bg-zinc-800\/80{background-color:rgba(39,39,42,.8)!important}.bg-zinc-800\/90{background-color:rgba(39,39,42,.9)!important}.bg-zinc-900{--tw-bg-opacity:1!important;background-color:rgb(24 24 27/var(--tw-bg-opacity,1))!important}.bg-gradient-to-b{background-image:linear-gradient(180deg,var(--tw-gradient-stops))!important}.from-\[\#252038\]{--tw-gradient-from:#252038 var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(37,32,56,0) var(--tw-gradient-to-position)!important}.from-\[\#252038\],.from-slate-100{--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}.from-slate-100{--tw-gradient-from:#f1f5f9 var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(241,245,249,0) var(--tw-gradient-to-position)!important}.from-violet-50{--tw-gradient-from:#f5f3ff var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(245,243,255,0) var(--tw-gradient-to-position)!important}.from-violet-50,.from-violet-950{--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}.from-violet-950{--tw-gradient-from:#2e1065 var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(46,16,101,0) var(--tw-gradient-to-position)!important}.to-\[\#1a1628\]{--tw-gradient-to:#1a1628 var(--tw-gradient-to-position)!important}.to-\[\#1a1a22\]{--tw-gradient-to:#1a1a22 var(--tw-gradient-to-position)!important}.to-slate-50{--tw-gradient-to:#f8fafc var(--tw-gradient-to-position)!important}.to-white{--tw-gradient-to:#fff var(--tw-gradient-to-position)!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:.75rem!important}.p-4{padding:1rem!important}.p-5{padding:1.25rem!important}.p-6{padding:1.5rem!important}.px-0\.5{padding-left:.125rem!important;padding-right:.125rem!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-1\.5{padding-left:.375rem!important;padding-right:.375rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.py-0\.5{padding-top:.125rem!important;padding-bottom:.125rem!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-2\.5{padding-top:.625rem!important;padding-bottom:.625rem!important}.py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.py-4{padding-top:1rem!important;padding-bottom:1rem!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pl-4{padding-left:1rem!important}.pr-11{padding-right:2.75rem!important}.pt-0\.5{padding-top:.125rem!important}.pt-1\.5{padding-top:.375rem!important}.pt-2{padding-top:.5rem!important}.text-left{text-align:left!important}.text-center{text-align:center!important}.text-right{text-align:right!important}.align-top{vertical-align:top!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-\[10px\]{font-size:10px!important}.text-\[11px\]{font-size:11px!important}.text-\[13px\]{font-size:13px!important}.text-\[16px\]{font-size:16px!important}.text-\[20px\]{font-size:20px!important}.text-\[22px\]{font-size:22px!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-bold{font-weight:700!important}.font-medium{font-weight:500!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.lowercase{text-transform:lowercase!important}.tabular-nums{--tw-numeric-spacing:tabular-nums!important;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)!important}.leading-none{line-height:1!important}.leading-snug{line-height:1.375!important}.leading-tight{line-height:1.25!important}.tracking-\[0\.14em\]{letter-spacing:.14em!important}.tracking-\[0\.24em\]{letter-spacing:.24em!important}.tracking-tight{letter-spacing:-.025em!important}.text-\[\#8f86a9\]{--tw-text-opacity:1!important;color:rgb(143 134 169/var(--tw-text-opacity,1))!important}.text-amber-300{--tw-text-opacity:1!important;color:rgb(252 211 77/var(--tw-text-opacity,1))!important}.text-amber-600{--tw-text-opacity:1!important;color:rgb(217 119 6/var(--tw-text-opacity,1))!important}.text-red-100{color:rgb(254 226 226/var(--tw-text-opacity,1))!important}.text-red-100,.text-red-300{--tw-text-opacity:1!important}.text-red-300{color:rgb(252 165 165/var(--tw-text-opacity,1))!important}.text-red-600{--tw-text-opacity:1!important;color:rgb(220 38 38/var(--tw-text-opacity,1))!important}.text-slate-100{--tw-text-opacity:1!important;color:rgb(241 245 249/var(--tw-text-opacity,1))!important}.text-slate-200{--tw-text-opacity:1!important;color:rgb(226 232 240/var(--tw-text-opacity,1))!important}.text-slate-300{--tw-text-opacity:1!important;color:rgb(203 213 225/var(--tw-text-opacity,1))!important}.text-slate-400{--tw-text-opacity:1!important;color:rgb(148 163 184/var(--tw-text-opacity,1))!important}.text-slate-500{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity,1))!important}.text-slate-600{--tw-text-opacity:1!important;color:rgb(71 85 105/var(--tw-text-opacity,1))!important}.text-slate-700{--tw-text-opacity:1!important;color:rgb(51 65 85/var(--tw-text-opacity,1))!important}.text-slate-800{--tw-text-opacity:1!important;color:rgb(30 41 59/var(--tw-text-opacity,1))!important}.text-slate-900{--tw-text-opacity:1!important;color:rgb(15 23 42/var(--tw-text-opacity,1))!important}.text-violet-100{--tw-text-opacity:1!important;color:rgb(237 233 254/var(--tw-text-opacity,1))!important}.text-violet-200{--tw-text-opacity:1!important;color:rgb(221 214 254/var(--tw-text-opacity,1))!important}.text-violet-300{--tw-text-opacity:1!important;color:rgb(196 181 253/var(--tw-text-opacity,1))!important}.text-violet-50{--tw-text-opacity:1!important;color:rgb(245 243 255/var(--tw-text-opacity,1))!important}.text-violet-800{--tw-text-opacity:1!important;color:rgb(91 33 182/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.text-white\/90{color:hsla(0,0%,100%,.9)!important}.text-zinc-100{--tw-text-opacity:1!important;color:rgb(244 244 245/var(--tw-text-opacity,1))!important}.text-zinc-200{--tw-text-opacity:1!important;color:rgb(228 228 231/var(--tw-text-opacity,1))!important}.text-zinc-200\/90{color:rgba(228,228,231,.9)!important}.text-zinc-300{--tw-text-opacity:1!important;color:rgb(212 212 216/var(--tw-text-opacity,1))!important}.text-zinc-300\/80{color:rgba(212,212,216,.8)!important}.text-zinc-300\/90{color:rgba(212,212,216,.9)!important}.text-zinc-400{--tw-text-opacity:1!important;color:rgb(161 161 170/var(--tw-text-opacity,1))!important}.text-zinc-500{--tw-text-opacity:1!important;color:rgb(113 113 122/var(--tw-text-opacity,1))!important}.text-zinc-600{--tw-text-opacity:1!important;color:rgb(82 82 91/var(--tw-text-opacity,1))!important}.underline{text-decoration-line:underline!important}.opacity-60{opacity:.6!important}.opacity-80{opacity:.8!important}.opacity-85{opacity:.85!important}.opacity-90{opacity:.9!important}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px -1px rgba(0,0,0,0.1)!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important}.shadow,.shadow-2xl{box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)!important}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,0.25)!important;--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)!important}.shadow-\[0_0_10px_rgba\(16\2c 185\2c 129\2c 0\.65\)\]{--tw-shadow:0 0 10px rgba(16,185,129,0.65)!important;--tw-shadow-colored:0 0 10px var(--tw-shadow-color)!important}.shadow-\[0_0_10px_rgba\(16\2c 185\2c 129\2c 0\.65\)\],.shadow-\[0_30px_80px_rgba\(15\2c 23\2c 42\2c 0\.16\)\]{box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)!important}.shadow-\[0_30px_80px_rgba\(15\2c 23\2c 42\2c 0\.16\)\]{--tw-shadow:0 30px 80px rgba(15,23,42,0.16)!important;--tw-shadow-colored:0 30px 80px var(--tw-shadow-color)!important}.shadow-\[0_6px_12px_rgba\(0\2c 0\2c 0\2c 0\.08\)\]{--tw-shadow:0 6px 12px rgba(0,0,0,0.08)!important;--tw-shadow-colored:0 6px 12px var(--tw-shadow-color)!important}.shadow-\[0_6px_12px_rgba\(0\2c 0\2c 0\2c 0\.08\)\],.shadow-\[0_8px_16px_rgba\(0\2c 0\2c 0\2c 0\.06\)\]{box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)!important}.shadow-\[0_8px_16px_rgba\(0\2c 0\2c 0\2c 0\.06\)\]{--tw-shadow:0 8px 16px rgba(0,0,0,0.06)!important;--tw-shadow-colored:0 8px 16px var(--tw-shadow-color)!important}.shadow-\[8px_0_16px_rgba\(0\2c 0\2c 0\2c 0\.06\)\]{--tw-shadow:8px 0 16px rgba(0,0,0,0.06)!important;--tw-shadow-colored:8px 0 16px var(--tw-shadow-color)!important}.shadow-\[8px_0_16px_rgba\(0\2c 0\2c 0\2c 0\.06\)\],.shadow-\[8px_0_16px_rgba\(0\2c 0\2c 0\2c 0\.08\)\]{box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)!important}.shadow-\[8px_0_16px_rgba\(0\2c 0\2c 0\2c 0\.08\)\]{--tw-shadow:8px 0 16px rgba(0,0,0,0.08)!important;--tw-shadow-colored:8px 0 16px var(--tw-shadow-color)!important}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -4px rgba(0,0,0,0.1)!important;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)!important}.shadow-lg,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)!important}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,0.05)!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important}.shadow-black\/40{--tw-shadow-color:rgba(0,0,0,0.4)!important;--tw-shadow:var(--tw-shadow-colored)!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.outline{outline-style:solid!important}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.ring,.ring-1{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)!important}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)!important}.ring-inset{--tw-ring-inset:inset!important}.ring-red-400\/75{--tw-ring-color:rgba(248,113,113,0.75)!important}.ring-violet-400\/60{--tw-ring-color:rgba(167,139,250,0.6)!important}.ring-violet-400\/70{--tw-ring-color:rgba(167,139,250,0.7)!important}.ring-violet-400\/75{--tw-ring-color:rgba(167,139,250,0.75)!important}.ring-violet-500\/70{--tw-ring-color:rgba(139,92,246,0.7)!important}.ring-zinc-600\/40{--tw-ring-color:rgba(82,82,91,0.4)!important}.blur{--tw-blur:blur(8px)!important}.blur,.drop-shadow{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 2px rgba(0,0,0,0.1)) drop-shadow(0 1px 1px rgba(0,0,0,0.06))!important}.grayscale-\[0\.15\]{--tw-grayscale:grayscale(0.15)!important}.grayscale-\[0\.2\],.grayscale-\[0\.15\]{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.grayscale-\[0\.2\]{--tw-grayscale:grayscale(0.2)!important}.invert{--tw-invert:invert(100%)!important}.\!filter,.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px)!important}.backdrop-blur-\[2px\],.backdrop-blur-sm{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)!important}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px)!important}.backdrop-blur-xl,.backdrop-filter{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-\[padding-right\]{transition-property:padding-right!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.transition-transform{transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-200{transition-duration:.2s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}.\[color-scheme\:dark\]{color-scheme:dark!important}.\[color-scheme\:light\]{color-scheme:light!important}.last\:border-b-0:last-child{border-bottom-width:0!important}.hover\:bg-slate-100:hover{--tw-bg-opacity:1!important;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))!important}.hover\:bg-slate-50:hover{--tw-bg-opacity:1!important;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))!important}.hover\:bg-slate-800:hover{--tw-bg-opacity:1!important;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))!important}.active\:bg-white\/\[0\.07\]:active{background-color:hsla(0,0%,100%,.07)!important}.disabled\:opacity-50:disabled{opacity:.5!important}@media (min-width:640px){.sm\:flex-row{flex-direction:row!important}.sm\:items-center{align-items:center!important}.sm\:px-2{padding-left:.5rem!important;padding-right:.5rem!important}.sm\:px-4{padding-left:1rem!important;padding-right:1rem!important}.sm\:py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.sm\:text-\[11px\]{font-size:11px!important}}@media (min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.md\:items-center{align-items:center!important}.md\:rounded-3xl{border-radius:1.5rem!important}.md\:p-4{padding:1rem!important}.md\:p-6{padding:1.5rem!important}.md\:p-8{padding:2rem!important}.md\:px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}}.\[\&\:\:-webkit-calendar-picker-indicator\]\:ml-auto::-webkit-calendar-picker-indicator{margin-left:auto!important}.\[\&\:\:-webkit-calendar-picker-indicator\]\:mr-1::-webkit-calendar-picker-indicator{margin-right:.25rem!important}
@@ -1,11 +1,13 @@
1
1
  const require_runtime = require("../../_virtual/_rolldown/runtime.js");
2
2
  const require_objectSpread2 = require("../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
3
+ const require_objectWithoutProperties = require("../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js");
3
4
  const require_index = require("../button/index.js");
4
5
  let react = require("react");
5
6
  react = require_runtime.__toESM(react);
6
7
  let antd = require("antd");
7
8
  let _ant_design_icons = require("@ant-design/icons");
8
9
  //#region src/components/buttonGroupPreview/index.tsx
10
+ const _excluded = ["children"];
9
11
  /**
10
12
  *
11
13
  * @param param0 { buttonConfig, buttonGroupList }
@@ -14,7 +16,7 @@ let _ant_design_icons = require("@ant-design/icons");
14
16
  const updateSourceData = ({ buttonConfig, buttonGroupList }) => {
15
17
  if (Object.keys(buttonConfig).length !== 0) return buttonGroupList.map((subArray) => {
16
18
  return subArray.map((item) => {
17
- if (buttonConfig.hasOwnProperty(item.id)) return buttonConfig[item.id];
19
+ if (item.id && Object.prototype.hasOwnProperty.call(buttonConfig, item.id)) return buttonConfig[item.id];
18
20
  return item;
19
21
  });
20
22
  });
@@ -29,13 +31,15 @@ const ButtonGroupPreview = (0, react.forwardRef)((props, ref) => {
29
31
  });
30
32
  }, [buttonGroupList, buttonConfig]);
31
33
  return /* @__PURE__ */ react.default.createElement(antd.Flex, {
32
- wrap: true,
34
+ wrap: "wrap",
33
35
  vertical: true,
34
36
  style: { marginBottom: 10 }
35
- }, sourceDatas.map((item, index) => /* @__PURE__ */ react.default.createElement(antd.Space, { key: index }, item.map((items, index) => {
37
+ }, sourceDatas.map((item, index) => react.default.createElement(antd.Space, { key: index }, item.map((items, index) => {
36
38
  const { isMore = false, id = "", menuData = [], buttonProps } = items;
37
39
  const btnProps = require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, buttonProps), props.updateButtonProps);
38
- return isMore ? /* @__PURE__ */ react.default.createElement(antd.Dropdown, { menu: { items: menuData } }, /* @__PURE__ */ react.default.createElement(require_index.default, null, /* @__PURE__ */ react.default.createElement(_ant_design_icons.MoreOutlined, null))) : /* @__PURE__ */ react.default.createElement(require_index.default, require_objectSpread2._objectSpread2({ key: id }, btnProps));
40
+ const { children } = btnProps, dropdownButtonProps = require_objectWithoutProperties._objectWithoutProperties(btnProps, _excluded);
41
+ const moreButtonChildren = children !== null && children !== void 0 ? children : dropdownButtonProps.icon ? null : /* @__PURE__ */ react.default.createElement(_ant_design_icons.MoreOutlined, null);
42
+ return isMore ? /* @__PURE__ */ react.default.createElement(antd.Dropdown, { menu: { items: menuData } }, /* @__PURE__ */ react.default.createElement(require_index.default, require_objectSpread2._objectSpread2({ key: id }, dropdownButtonProps), moreButtonChildren)) : /* @__PURE__ */ react.default.createElement(require_index.default, require_objectSpread2._objectSpread2({ key: id }, btnProps));
39
43
  }))));
40
44
  });
41
45
  var buttonGroupPreview_default = (0, react.memo)(ButtonGroupPreview);