@pisell/materials 6.12.53 → 6.12.54

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 (84) 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/preview.js +1 -1
  6. package/build/lowcode/render/default/view.css +1 -1
  7. package/build/lowcode/render/default/view.js +48 -48
  8. package/build/lowcode/view.css +1 -1
  9. package/build/lowcode/view.js +48 -48
  10. package/es/components/PisellCards/index.d.ts +0 -1
  11. package/es/components/PisellFields/index.d.ts +0 -1
  12. package/es/components/PisellLayouts/index.d.ts +0 -1
  13. package/es/components/PisellMetrics/index.d.ts +0 -1
  14. package/es/components/appVersionControl/types.d.ts +0 -1
  15. package/es/components/calendar/index.d.ts +0 -1
  16. package/es/components/checkbox/index.d.ts +0 -1
  17. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  18. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -1
  19. package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +0 -1
  20. package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +0 -1
  21. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +0 -1
  22. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +0 -1
  23. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -1
  24. package/es/components/date-picker/index.d.ts +0 -1
  25. package/es/components/drag-sort-tree/types.d.ts +0 -1
  26. package/es/components/filter/components/FilterButton/types.d.ts +0 -1
  27. package/es/components/input/index.d.ts +0 -1
  28. package/es/components/pisell-config-provider/context.d.ts +0 -1
  29. package/es/components/pisellDatePicker/index.d.ts +0 -1
  30. package/es/components/pisellGridPro/ToolBar/type.d.ts +0 -1
  31. package/es/components/pisellMenu/types.d.ts +0 -1
  32. package/es/components/pisellQuickFilter/type.d.ts +0 -1
  33. package/es/components/productCard/cartSkuCard/index.js +33 -3
  34. package/es/components/productCard/cartSkuCard/index.less +18 -0
  35. package/es/components/productCard/cartSkuCard/types.d.ts +56 -0
  36. package/es/components/productCard/cartSkuCard/variants/A12/index.js +126 -0
  37. package/es/components/productCard/cartSkuCard/variants/A12/index.less +279 -0
  38. package/es/components/productCard/lineItem/index.js +42 -11
  39. package/es/components/productCard/types.d.ts +4 -1
  40. package/es/components/radio/index.d.ts +0 -1
  41. package/es/components/section-footers/index.d.ts +0 -1
  42. package/es/components/skeleton/index.d.ts +0 -1
  43. package/es/components/time-picker/index.d.ts +0 -1
  44. package/es/components/upload/index.d.ts +0 -1
  45. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -1
  46. package/es/index.d.ts +2 -1
  47. package/lib/components/PisellCards/index.d.ts +0 -1
  48. package/lib/components/PisellFields/index.d.ts +0 -1
  49. package/lib/components/PisellLayouts/index.d.ts +0 -1
  50. package/lib/components/PisellMetrics/index.d.ts +0 -1
  51. package/lib/components/appVersionControl/types.d.ts +0 -1
  52. package/lib/components/calendar/index.d.ts +0 -1
  53. package/lib/components/checkbox/index.d.ts +0 -1
  54. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  55. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -1
  56. package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +0 -1
  57. package/lib/components/dataSourceComponents/fields/Radio/WithMode.d.ts +0 -1
  58. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +0 -1
  59. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +0 -1
  60. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -1
  61. package/lib/components/date-picker/index.d.ts +0 -1
  62. package/lib/components/drag-sort-tree/types.d.ts +0 -1
  63. package/lib/components/filter/components/FilterButton/types.d.ts +0 -1
  64. package/lib/components/input/index.d.ts +0 -1
  65. package/lib/components/pisell-config-provider/context.d.ts +0 -1
  66. package/lib/components/pisellDatePicker/index.d.ts +0 -1
  67. package/lib/components/pisellGridPro/ToolBar/type.d.ts +0 -1
  68. package/lib/components/pisellMenu/types.d.ts +0 -1
  69. package/lib/components/pisellQuickFilter/type.d.ts +0 -1
  70. package/lib/components/productCard/cartSkuCard/index.js +33 -3
  71. package/lib/components/productCard/cartSkuCard/index.less +18 -0
  72. package/lib/components/productCard/cartSkuCard/types.d.ts +56 -0
  73. package/lib/components/productCard/cartSkuCard/variants/A12/index.js +129 -0
  74. package/lib/components/productCard/cartSkuCard/variants/A12/index.less +279 -0
  75. package/lib/components/productCard/lineItem/index.js +42 -11
  76. package/lib/components/productCard/types.d.ts +4 -1
  77. package/lib/components/radio/index.d.ts +0 -1
  78. package/lib/components/section-footers/index.d.ts +0 -1
  79. package/lib/components/skeleton/index.d.ts +0 -1
  80. package/lib/components/time-picker/index.d.ts +0 -1
  81. package/lib/components/upload/index.d.ts +0 -1
  82. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -1
  83. package/lib/index.d.ts +2 -1
  84. package/package.json +2 -2
@@ -0,0 +1,279 @@
1
+ .pisell-cart-sku-card-a12 {
2
+ --pc-a12-bg: #fff;
3
+ --pc-a12-border-color: #e4e7ec;
4
+ --pc-a12-radius: 18px;
5
+ --pc-a12-min-height: 164px;
6
+ --pc-a12-media-width: 228px;
7
+ --pc-a12-rail-width: 190px;
8
+ --pc-a12-content-padding: 20px 22px;
9
+ --pc-a12-rail-padding: 18px 20px;
10
+ --pc-a12-accent: #b20d12;
11
+ --pc-a12-title-color: #101828;
12
+ --pc-a12-title-size: 32px;
13
+ --pc-a12-title-weight: 800;
14
+ --pc-a12-price-color: var(--pc-a12-accent);
15
+ --pc-a12-price-size: 30px;
16
+ --pc-a12-option-bg: #f5f6f8;
17
+ --pc-a12-option-label-color: #667085;
18
+ --pc-a12-option-value-color: #101828;
19
+ --pc-a12-option-gap: 6px;
20
+ --pc-a12-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
21
+
22
+ display: grid;
23
+ grid-template-columns:
24
+ var(--pc-a12-media-width)
25
+ minmax(0, 1fr)
26
+ var(--pc-a12-rail-width);
27
+ min-height: var(--pc-a12-min-height);
28
+ overflow: hidden;
29
+ border: 1px solid var(--pc-a12-border-color);
30
+ border-radius: var(--pc-a12-radius);
31
+ background: var(--pc-a12-bg);
32
+ box-shadow: var(--pc-a12-shadow);
33
+ hyphens: none;
34
+ overflow-wrap: normal;
35
+ word-break: normal;
36
+
37
+ &--without-media {
38
+ grid-template-columns: minmax(0, 1fr) var(--pc-a12-rail-width);
39
+ }
40
+
41
+ &__media {
42
+ position: relative;
43
+ display: grid;
44
+ min-height: var(--pc-a12-min-height);
45
+ place-items: center;
46
+ overflow: hidden;
47
+ background: #f2f4f7;
48
+ color: var(--pc-a12-accent);
49
+ font-size: 32px;
50
+ font-weight: 800;
51
+
52
+ img {
53
+ position: absolute;
54
+ inset: 0;
55
+ display: block;
56
+ width: 100%;
57
+ height: 100%;
58
+ min-height: 0;
59
+ }
60
+ }
61
+
62
+ &__content {
63
+ display: flex;
64
+ min-width: 0;
65
+ flex-direction: column;
66
+ justify-content: flex-start;
67
+ padding: var(--pc-a12-content-padding);
68
+ }
69
+
70
+ &__content-footer {
71
+ display: flex;
72
+ flex-direction: column;
73
+ gap: 8px;
74
+ margin-top: auto;
75
+ padding-top: 12px;
76
+
77
+ .ant-divider {
78
+ margin: 0 !important;
79
+ }
80
+ }
81
+
82
+ &--align-center &__content {
83
+ justify-content: center;
84
+ }
85
+
86
+ &__eyebrow {
87
+ overflow: hidden;
88
+ margin-bottom: 4px;
89
+ color: var(--pc-a12-accent);
90
+ font-size: 14px;
91
+ font-weight: 800;
92
+ line-height: 20px;
93
+ text-overflow: ellipsis;
94
+ text-transform: uppercase;
95
+ white-space: nowrap;
96
+ }
97
+
98
+ &__name {
99
+ min-width: 0;
100
+ overflow: hidden;
101
+ color: var(--pc-a12-title-color);
102
+ font-size: var(--pc-a12-title-size);
103
+ font-weight: var(--pc-a12-title-weight);
104
+ line-height: 1.15;
105
+ text-overflow: ellipsis;
106
+ white-space: nowrap;
107
+ }
108
+
109
+ &__weighing {
110
+ min-width: 0;
111
+ margin-top: 8px;
112
+ }
113
+
114
+ &__specifications {
115
+ display: grid;
116
+ grid-template-columns: repeat(
117
+ var(--pc-a12-option-columns, 2),
118
+ minmax(0, 1fr)
119
+ );
120
+ gap: var(--pc-a12-option-gap);
121
+ margin-top: 10px;
122
+ }
123
+
124
+ &__specification,
125
+ &__specification-summary {
126
+ min-width: 0;
127
+ padding: 7px 9px;
128
+ border-radius: 7px;
129
+ background: var(--pc-a12-option-bg);
130
+ }
131
+
132
+ &__specification {
133
+ display: flex;
134
+ flex-direction: column;
135
+ gap: 2px;
136
+ }
137
+
138
+ &__specification-label {
139
+ overflow: hidden;
140
+ color: var(--pc-a12-option-label-color);
141
+ font-size: 11px;
142
+ font-weight: 700;
143
+ line-height: 16px;
144
+ text-overflow: ellipsis;
145
+ white-space: nowrap;
146
+ }
147
+
148
+ &__specification-value,
149
+ &__specification-summary {
150
+ overflow: hidden;
151
+ color: var(--pc-a12-option-value-color);
152
+ font-size: 16px;
153
+ font-weight: 700;
154
+ line-height: 20px;
155
+ text-overflow: ellipsis;
156
+ white-space: nowrap;
157
+ }
158
+
159
+ &__rail {
160
+ position: relative;
161
+ display: flex;
162
+ min-width: 0;
163
+ flex-direction: column;
164
+ align-items: center;
165
+ justify-content: center;
166
+ padding: var(--pc-a12-rail-padding);
167
+ border-left: 1px solid var(--pc-a12-border-color);
168
+ }
169
+
170
+ &__delete {
171
+ position: absolute;
172
+ top: 6px;
173
+ right: 6px;
174
+ display: grid;
175
+ width: 42px;
176
+ height: 42px;
177
+ padding: 0;
178
+ place-items: center;
179
+ border: 0;
180
+ border-radius: 50%;
181
+ background: transparent;
182
+ color: var(--pc-a12-accent);
183
+ font-size: 26px;
184
+ cursor: pointer;
185
+
186
+ .anticon,
187
+ svg {
188
+ width: 30px;
189
+ height: 30px;
190
+ font-size: 30px;
191
+ }
192
+
193
+ &:active {
194
+ background: #fef3f2;
195
+ }
196
+
197
+ &:disabled {
198
+ cursor: not-allowed;
199
+ opacity: 0.5;
200
+ }
201
+ }
202
+
203
+ &__price {
204
+ display: flex;
205
+ flex-direction: column;
206
+ align-items: center;
207
+ color: var(--pc-a12-price-color);
208
+
209
+ strong {
210
+ font-size: var(--pc-a12-price-size);
211
+ font-weight: 800;
212
+ line-height: 1.15;
213
+ white-space: nowrap;
214
+ }
215
+
216
+ del {
217
+ color: #667085;
218
+ font-size: 13px;
219
+ }
220
+ }
221
+
222
+ &__edit {
223
+ min-width: 62px;
224
+ min-height: 38px;
225
+ margin-top: 10px;
226
+ padding: 7px 14px;
227
+ border: 1px solid #f5b7ba;
228
+ border-radius: 999px;
229
+ background: #fff;
230
+ color: var(--pc-a12-accent);
231
+ font: inherit;
232
+ font-size: 14px;
233
+ font-weight: 700;
234
+ white-space: nowrap;
235
+ cursor: pointer;
236
+
237
+ &:disabled {
238
+ cursor: not-allowed;
239
+ opacity: 0.5;
240
+ }
241
+ }
242
+
243
+ &__quantity-control {
244
+ display: flex;
245
+ width: 100%;
246
+ min-height: 44px;
247
+ align-items: center;
248
+ justify-content: center;
249
+ margin-top: 10px;
250
+ padding-top: 10px;
251
+ }
252
+
253
+ &__quantity-fallback {
254
+ display: flex;
255
+ align-items: center;
256
+ justify-content: center;
257
+ gap: 16px;
258
+ font-weight: 700;
259
+ }
260
+
261
+ &--compact {
262
+ --pc-a12-min-height: 132px;
263
+ --pc-a12-media-width: 124px;
264
+ --pc-a12-rail-width: 156px;
265
+ --pc-a12-content-padding: 15px 18px;
266
+ --pc-a12-rail-padding: 14px 16px;
267
+ --pc-a12-price-size: 25px;
268
+ }
269
+ }
270
+
271
+ @container (max-width: 620px) {
272
+ .pisell-cart-sku-card-a12 {
273
+ --pc-a12-media-width: 112px;
274
+ --pc-a12-rail-width: 150px;
275
+ --pc-a12-content-padding: 14px;
276
+ --pc-a12-price-size: 24px;
277
+ --pc-a12-option-columns: 1;
278
+ }
279
+ }
@@ -34,6 +34,7 @@ const _excluded = [
34
34
  "holderOptions",
35
35
  "onBookingStatusChange",
36
36
  "onAddTimeProductCard",
37
+ "a12UnsupportedFallback",
37
38
  "onAction",
38
39
  "onDelete",
39
40
  "onNote",
@@ -45,6 +46,7 @@ const isBookingItem = (dataSource) => {
45
46
  var _dataSource$_extend;
46
47
  return Boolean((dataSource === null || dataSource === void 0 || (_dataSource$_extend = dataSource._extend) === null || _dataSource$_extend === void 0 ? void 0 : _dataSource$_extend.product) || (dataSource === null || dataSource === void 0 ? void 0 : dataSource.booking_id) || (dataSource === null || dataSource === void 0 ? void 0 : dataSource.appointment_status) || (dataSource === null || dataSource === void 0 ? void 0 : dataSource.start_date));
47
48
  };
49
+ const resolveLineItemType = ({ requestedType, itemKind, hasBundle, fallback = "a9" }) => requestedType === "a12" && (itemKind === "booking" || hasBundle) ? fallback : requestedType;
48
50
  const translateText = (text, translationOriginal) => {
49
51
  if (typeof text === "string") return text;
50
52
  if (!text) return "";
@@ -123,14 +125,36 @@ const mapLineItemOptions = (options, translationOriginal) => options.map((option
123
125
  num: (_ref2 = (_option$num2 = option.num) !== null && _option$num2 !== void 0 ? _option$num2 : option.quantity) !== null && _ref2 !== void 0 ? _ref2 : 1
124
126
  });
125
127
  });
128
+ const getFirstDisplayText = (candidates, translationOriginal) => {
129
+ for (const candidate of candidates) {
130
+ const translated = translateText(candidate, translationOriginal).trim();
131
+ if (translated) return translated;
132
+ }
133
+ return "";
134
+ };
135
+ const resolveA12Eyebrow = (product, translationOriginal) => {
136
+ var _product$a, _product$metadata2, _product$metadata3, _categories$find, _categories$;
137
+ const categories = Array.isArray(product === null || product === void 0 ? void 0 : product.categories) ? product.categories : Array.isArray(product === null || product === void 0 ? void 0 : product.product_categories) ? product.product_categories : [];
138
+ return getFirstDisplayText([
139
+ product === null || product === void 0 || (_product$a = product.a12) === null || _product$a === void 0 ? void 0 : _product$a.eyebrow,
140
+ product === null || product === void 0 ? void 0 : product.category_name,
141
+ product === null || product === void 0 ? void 0 : product.product_category_name,
142
+ product === null || product === void 0 ? void 0 : product.product_type_name,
143
+ product === null || product === void 0 || (_product$metadata2 = product.metadata) === null || _product$metadata2 === void 0 ? void 0 : _product$metadata2.category_name,
144
+ product === null || product === void 0 || (_product$metadata3 = product.metadata) === null || _product$metadata3 === void 0 ? void 0 : _product$metadata3.product_category_name,
145
+ (_categories$find = categories.find((category) => category === null || category === void 0 ? void 0 : category.direct)) === null || _categories$find === void 0 ? void 0 : _categories$find.name,
146
+ (_categories$ = categories[0]) === null || _categories$ === void 0 ? void 0 : _categories$.name
147
+ ], translationOriginal);
148
+ };
126
149
  const convertProductToLineItemProduct = (product, translationOriginal, symbol) => {
127
- var _product$metadata2, _ref3, _product$num, _ref4, _product$num2, _product$metadata3, _product$metadata4, _product$discount_lis, _product$discount_lis2, _product$metadata5, _product$metadata6, _ref5, _product$num3;
150
+ var _product$metadata4, _ref3, _product$num, _ref4, _product$num2, _product$metadata5, _product$metadata6, _product$product_opti, _product$product_sku2, _product$discount_lis, _product$discount_lis2, _product$metadata7, _product$metadata8, _ref5, _product$num3;
128
151
  const title = translateText(product.product_title || product.title, translationOriginal);
129
152
  const bundle = (product.product_bundle || []).map((bundleItem) => convertBundle(bundleItem, translationOriginal));
130
153
  const lineOriginTotal = resolveLineOriginTotal(product);
131
154
  const lineOptions = mapLineItemOptions(resolveLineItemOptions(product), translationOriginal);
155
+ const a12Eyebrow = resolveA12Eyebrow(product, translationOriginal);
132
156
  return {
133
- _id: ((_product$metadata2 = product.metadata) === null || _product$metadata2 === void 0 ? void 0 : _product$metadata2.unique_identification_number) || product.order_detail_id || product.product_id,
157
+ _id: ((_product$metadata4 = product.metadata) === null || _product$metadata4 === void 0 ? void 0 : _product$metadata4.unique_identification_number) || product.order_detail_id || product.product_id,
134
158
  id: product.product_id,
135
159
  product_id: product.product_id,
136
160
  product_variant_id: product.product_variant_id,
@@ -141,11 +165,11 @@ const convertProductToLineItemProduct = (product, translationOriginal, symbol) =
141
165
  image: product.cover,
142
166
  num: (_ref3 = (_product$num = product.num) !== null && _product$num !== void 0 ? _product$num : product.product_quantity) !== null && _ref3 !== void 0 ? _ref3 : 1,
143
167
  quantity: (_ref4 = (_product$num2 = product.num) !== null && _product$num2 !== void 0 ? _product$num2 : product.product_quantity) !== null && _ref4 !== void 0 ? _ref4 : 1,
144
- price: (_product$metadata3 = product.metadata) === null || _product$metadata3 === void 0 ? void 0 : _product$metadata3.source_product_price,
168
+ price: (_product$metadata5 = product.metadata) === null || _product$metadata5 === void 0 ? void 0 : _product$metadata5.source_product_price,
145
169
  total: product.selling_price,
146
170
  origin_total: lineOriginTotal,
147
171
  original_total: lineOriginTotal,
148
- source_product_price: (_product$metadata4 = product.metadata) === null || _product$metadata4 === void 0 ? void 0 : _product$metadata4.source_product_price,
172
+ source_product_price: (_product$metadata6 = product.metadata) === null || _product$metadata6 === void 0 ? void 0 : _product$metadata6.source_product_price,
149
173
  selling_price: product.selling_price,
150
174
  payment_price: product.payment_price,
151
175
  tax_fee: product.tax_fee,
@@ -154,12 +178,13 @@ const convertProductToLineItemProduct = (product, translationOriginal, symbol) =
154
178
  product_sku: product.product_sku,
155
179
  product_bundle: bundle,
156
180
  bundle,
157
- product_option_string: product.product_option_string,
181
+ product_option_string: (_product$product_opti = product.product_option_string) !== null && _product$product_opti !== void 0 ? _product$product_opti : (_product$product_sku2 = product.product_sku) === null || _product$product_sku2 === void 0 ? void 0 : _product$product_sku2.product_option_string,
158
182
  options: lineOptions,
183
+ a12: _objectSpread2(_objectSpread2({}, product.a12 || {}), a12Eyebrow ? { eyebrow: a12Eyebrow } : {}),
159
184
  discount_list: product.discount_list,
160
185
  promotions: product.promotions,
161
- discount_reason: (_product$discount_lis = (_product$discount_lis2 = product.discount_list) === null || _product$discount_lis2 === void 0 || (_product$discount_lis2 = _product$discount_lis2.find((d) => (d === null || d === void 0 ? void 0 : d.type) === "product")) === null || _product$discount_lis2 === void 0 || (_product$discount_lis2 = _product$discount_lis2.discount) === null || _product$discount_lis2 === void 0 ? void 0 : _product$discount_lis2.message) !== null && _product$discount_lis !== void 0 ? _product$discount_lis : (_product$metadata5 = product.metadata) === null || _product$metadata5 === void 0 ? void 0 : _product$metadata5.product_discount_reason,
162
- isGift: Boolean(product.gift_card || product.isGift || product._isGiftPromotion || ((_product$metadata6 = product.metadata) === null || _product$metadata6 === void 0 ? void 0 : _product$metadata6._giftInfo) || product._giftInfo),
186
+ discount_reason: (_product$discount_lis = (_product$discount_lis2 = product.discount_list) === null || _product$discount_lis2 === void 0 || (_product$discount_lis2 = _product$discount_lis2.find((d) => (d === null || d === void 0 ? void 0 : d.type) === "product")) === null || _product$discount_lis2 === void 0 || (_product$discount_lis2 = _product$discount_lis2.discount) === null || _product$discount_lis2 === void 0 ? void 0 : _product$discount_lis2.message) !== null && _product$discount_lis !== void 0 ? _product$discount_lis : (_product$metadata7 = product.metadata) === null || _product$metadata7 === void 0 ? void 0 : _product$metadata7.product_discount_reason,
187
+ isGift: Boolean(product.gift_card || product.isGift || product._isGiftPromotion || ((_product$metadata8 = product.metadata) === null || _product$metadata8 === void 0 ? void 0 : _product$metadata8._giftInfo) || product._giftInfo),
163
188
  giftData: product.giftData,
164
189
  _origin: product,
165
190
  _extend: {
@@ -179,7 +204,7 @@ const convertProductToLineItemProduct = (product, translationOriginal, symbol) =
179
204
  };
180
205
  const LineItem = (props) => {
181
206
  var _context$appHelper$ut, _context$appHelper$ut2, _context$appHelper$ut3, _context$appHelper$ut4, _dataSource$_extend2, _dataSource$_extend4;
182
- const { dataSource = defaultValue.dataSource, itemType, type = "a9", isShowBookingHeader, rightActions = [], rightActionsDisplay = "swipe", escapeDom, isShowImage = defaultValue.isShowImage, isShowDelete = defaultValue.isShowDelete, isShowInlineDelete = isShowDelete, isShowNote = defaultValue.isShowNote, isShowAmountFooter = defaultValue.isShowAmountFooter, disabledClick = defaultValue.disabledClick, disabledEdit = defaultValue.disabledEdit, disabledNoteEdit = disabledEdit, statusOptions = [], statusLoading = false, statusDisabled = false, isShowRelatedProduct = true, holderOptions, onBookingStatusChange, onAddTimeProductCard, onAction, onDelete, onNote, onCard, onPromotion, onGift } = props, other = _objectWithoutProperties(props, _excluded);
207
+ const { dataSource = defaultValue.dataSource, itemType, type = "a9", isShowBookingHeader, rightActions = [], rightActionsDisplay = "swipe", escapeDom, isShowImage = defaultValue.isShowImage, isShowDelete = defaultValue.isShowDelete, isShowInlineDelete = isShowDelete, isShowNote = defaultValue.isShowNote, isShowAmountFooter = defaultValue.isShowAmountFooter, disabledClick = defaultValue.disabledClick, disabledEdit = defaultValue.disabledEdit, disabledNoteEdit = disabledEdit, statusOptions = [], statusLoading = false, statusDisabled = false, isShowRelatedProduct = true, holderOptions, onBookingStatusChange, onAddTimeProductCard, a12UnsupportedFallback = "a9", onAction, onDelete, onNote, onCard, onPromotion, onGift } = props, other = _objectWithoutProperties(props, _excluded);
183
208
  const itemKind = itemType || (isBookingItem(dataSource) ? "booking" : "product");
184
209
  const context = useEngineContext();
185
210
  const translationOriginal = useTranslationOriginal();
@@ -210,9 +235,15 @@ const LineItem = (props) => {
210
235
  symbol,
211
236
  translationOriginal
212
237
  ]);
238
+ const resolvedType = resolveLineItemType({
239
+ requestedType: type,
240
+ itemKind,
241
+ hasBundle: Boolean(Array.isArray(dataSource === null || dataSource === void 0 ? void 0 : dataSource.product_bundle) && dataSource.product_bundle.length || Array.isArray(dataSource === null || dataSource === void 0 ? void 0 : dataSource.bundle) && dataSource.bundle.length),
242
+ fallback: a12UnsupportedFallback
243
+ });
213
244
  if (itemKind === "product") return /* @__PURE__ */ React.createElement(CartSkuCard, _objectSpread2(_objectSpread2({}, other), {}, {
214
245
  dataSource: productDataSource,
215
- type,
246
+ type: resolvedType,
216
247
  rightActions,
217
248
  rightActionsDisplay,
218
249
  escapeDom,
@@ -233,8 +264,8 @@ const LineItem = (props) => {
233
264
  }));
234
265
  return /* @__PURE__ */ React.createElement(BookingLineItem, _objectSpread2(_objectSpread2({}, other), {}, {
235
266
  dataSource,
236
- type,
237
- cartSkuType: type,
267
+ type: resolvedType,
268
+ cartSkuType: resolvedType,
238
269
  isShowBookingHeader,
239
270
  relatedProductDataSource,
240
271
  addTimeProductDataSources,
@@ -1,3 +1,5 @@
1
+ import { CartSkuCardA12Display } from "./cartSkuCard/types.js";
2
+
1
3
  //#region src/components/productCard/types.d.ts
2
4
  type bundleType = {
3
5
  id: number;
@@ -59,7 +61,8 @@ type productType = {
59
61
  is_show_week?: boolean;
60
62
  promotions?: any[];
61
63
  isGift?: boolean;
62
- giftData?: any;
64
+ giftData?: any; /** A12 横向购物车卡片的归一化展示数据。 */
65
+ a12?: CartSkuCardA12Display;
63
66
  };
64
67
  /**
65
68
  * 排序总配置
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/radio/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/section-footers/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/skeleton/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/time-picker/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/upload/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BaseNumberKeyboardProps } from "../BaseNumberKeyboard/index.js";
3
2
 
4
3
  //#region src/components/virtual-keyboard/Amount/types.d.ts
package/es/index.d.ts CHANGED
@@ -253,6 +253,7 @@ import { PisellSort } from "./components/pisellSort/index.js";
253
253
  import { useToast } from "./components/pisellToast/squareToast/index.js";
254
254
  import { PisellToast } from "./components/pisellToast/index.js";
255
255
  import { PisellTooltip } from "./components/pisellTooltip/index.js";
256
+ import { CartSkuCardA12Display, CartSkuCardA12Presentation, CartSkuCardA12Slots, CartSkuCardVariant } from "./components/productCard/cartSkuCard/types.js";
256
257
  import { ProductCard } from "./components/productCard/index.js";
257
258
  import { ProfileMenu } from "./components/profileMenu/index.js";
258
259
  import { QRCode } from "./components/qrcode/index.js";
@@ -278,4 +279,4 @@ import { Number } from "./components/virtual-keyboard/Number/index.js";
278
279
  import { VirtualInput } from "./components/virtualInput/index.js";
279
280
  import { WalletCard } from "./components/walletCard/index.js";
280
281
  import { Affix, Alert, Anchor, Avatar, Breadcrumb, Card, Carousel, Col, ColorPicker, Descriptions, Divider, Empty, Grid, InputNumber as InputNumber$1, Mentions, Menu, Pagination, Popconfirm, Popover, Progress, Rate, Result, Row, Space, Spin, Statistic, Steps, Switch as Switch$1, Tag, Timeline, Tooltip, Transfer, Tree, message, notification, version } from "antd";
281
- export { type AdaptColumnsForPhoneLayoutOptions, Affix, Alert, Anchor, AppVersionControl, AutoComplete, AutoCompleteNumber, AutoResizeText, Avatar, Badge, type BadgeConfig, Translation as BaseTranslation, type BatchActionBarPosition, type BatchActionConfirmConfig, type BatchActionItem, BatchEditor, Breadcrumb, Button, _default as ButtonGroupEdit, _default$1 as ButtonGroupPreview, Calendar, type CalendarPersistContextValue, type CalendarPersistKind, CalendarPersistProvider, Card, CardMetricItem, type PisellStatisticProps as CardMetricItemProps, _default$2 as CardPro, Carousel, Cascader, Checkbox, ClassicLayout, Col, Collapse, ColorPicker, type CompiledSelectionFlowModuleConfig, type CompiledSelectionFlowStep, Component, type CompoundedComponent, ConfigProvider, type CountryCode, type CreateShopFloorPlanClientOptions, CropPhoto, type CursorMode, CustomSelect, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST, type DataSourceContainerProps, _default$3 as DataSourceForm, DataSourceImage, DataSourceMenu, DataSourceQRCode, DataSourceSubForm, type DataSourceSubFormProps, _default$4 as DataSourceTable, DataSourceTypography, DataSourceWrapper, DatePicker, type DefaultActionsConfig, Descriptions, _default$5 as Div, Divider, DragSortTree, Drawer, Dropdown, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, Empty, type EnsureShopFloorPlanByCodeOptions, FIND_FALLBACK_SCANNER_COUNT_KEY, FLOOR_MAP_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_SELECTION_ZONE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, FloorMapBuiltinShapeElement, type FloorMapCanvasNameI18n, type FloorMapDataSourceRow, type FloorMapDataSources, type FloorMapEdge, type FloorMapEdgeAnchor, type FloorMapEdgeStatus, type FloorMapElementKindCategory, type FloorMapElementKindConfig, type FloorMapFullscreenMode, FloorMapImageElement, type FloorMapItemBase, type FloorMapLayoutContextValue, FloorMapLayoutProvider, type FloorMapLayoutProviderProps, type FloorMapMergedItem, type FloorMapRenderOptions, type FloorMapResourcePickerRecord, type FloorMapResourcePickerSlotProps, type FloorMapSceneElement, FloorMapSelectionZoneElement, type FloorMapViewConfig, type FloorMapViewportOverlayRenderArgs, type FlowModuleBeforeLeaveResult, type FlowModuleBeforeLeaveReturn, type FlowModuleDataMap, type FlowModuleHandle, type FlowModuleState, type FlowModuleStateMap, type FlowModuleStatus, type FlowModuleValidationResult, type FlowModuleValidationReturn, _default$6 as Form, FormGroup, Checkbox$1 as FormItemCheckbox, ColorPicker$1 as FormItemColorPicker, DatePicker$1 as FormItemDatePicker, IconSelect as FormItemIconSelect, Input as FormItemInput, InputNumber as FormItemInputNumber, Radio as FormItemRadio, RecordListWrapperWithDataSource as FormItemRecordListWrapper, SelectWithDataSource as FormItemSelect, Switch as FormItemSwitch, FormItemTabs, TimePicker as FormItemTimePicker, Translation$1 as FormItemTranslation, Upload as FormItemUpload, Provider as GraphicTextCard, type GraphicTextCardProps, type GraphicTextCardSize, type GraphicTextCardVariant, Grid, type GridProProps, type GridViewProps, type GroupBlocks, type GroupModel, type GroupViewVariant, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, _default$7 as Icon, IconSelect$1 as IconSelect, IconFont as Iconfont, Image, type ImageDataSource, type ImageFillMode, Input$1 as Input, InputNumber$1 as InputNumber, InputNumberRange, type ItemContext, type ItemLayout, JsonWrapperProvider as JsonWrapper, _default$8 as Keyboard, type LevelType, List, type LookupInputRenderContext, LowCodePage, type MailtoOptions, Mentions, Menu, Modal, Provider$1 as MultilevelCard, type MultilevelCardProps, type MultipleSelectRef, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, type PisellBasicCardProps, MemoizedPisellBasicGrid as PisellBasicGrid, type PisellBasicGridProps, PisellBatchActionBar, type PisellBatchActionBarProps, PisellCard, _default$9 as PisellCardList, type PisellCardPickerCardMeta, type PisellCardPickerCategoryConfig, type PisellCardPickerCategoryLevelConfig, type PisellCardPickerCategoryMode, type PisellCardPickerCategoryPath, type PisellCardPickerItem, type PisellCardPickerMode, PisellCards, PisellCheckboxGroup, PisellConfigProvider, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, type PisellCurrencyProps, PisellCustomCheckboxGroup, PisellDataSourceContainer, PisellDatePicker, _default$10 as PisellDateTimeDisplay, type PisellDateTimeDisplayProps, Demo as PisellDraggable, PisellDropSort, PisellDropdown, _default$11 as PisellEmail, type PisellEmailProps, PisellEmpty, PisellFields, PisellFilter, type PisellFilterProps, PisellFind, type PisellFindProps, type PisellFindRef, PisellFloatingPanel, PisellFloorMapLayout, type PisellFloorMapLayoutProps, type PisellFloorMapLayoutRef, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, MemoizedPisellGroupView as PisellGroupView, type PisellGroupViewProps, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, type PisellHierarchicalSummaryListAggregateConfig, type PisellHierarchicalSummaryListAggregateMode, type PisellHierarchicalSummaryListItem, type PisellHierarchicalSummaryListKey, type PisellHierarchicalSummaryListLevelConfig, type PisellHierarchicalSummaryListProps, Provider$2 as PisellImageCard, type PisellImageCardProps, PisellImageCarousels, PisellInformationEntry, PisellInput, PisellLayout, type PisellLayoutProps, PisellLayouts, PisellList01, PisellLoading, _default$12 as PisellLongText, type PisellLongTextProps, PisellLookup, type PisellLookupProps, type PisellLookupRef, PisellMenu, type PisellMenuProps, PisellMetricCard, type PisellMetricCardProps, PisellMetrics, PisellMobileDateRangePicker, type PisellMobileDateRangePickerProps, PisellModal, PisellMultipleSelect, type PisellMultipleSelectProps, PisellNavigationMenu, MemoizedPisellNumber as PisellNumber, Number as PisellNumberKeyboard, type PisellNumberProps, MemoizedPisellPercent as PisellPercent, type PisellPercentProps, _default$13 as PisellPhone, type PisellPhoneProps, Amount as PisellPriceKeyboard, PisellProcedure, ProcedureHeader as PisellProcedureHeader, type ProcedureHeaderProps as PisellProcedureHeaderProps, type PisellProcedureProps, type PisellProcedureRef, PisellQRScanner, type PisellQRScannerProps, PisellQrcode, pisellQuickFilter as PisellQuickFilter, type PisellQuickFilterProps, _default$14 as PisellRating, type PisellRatingProps, PisellRecordBoard, PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, PisellRecordBoardResourceWallView, PisellReservationSchedule, PisellReservationScheduleBand, type PisellReservationScheduleBandProps, type PisellReservationScheduleProps, PisellRow, type PisellRowProps, PisellScan, PisellScrollView, type PisellScrollViewProps, PisellSectionHeaders, _default$15 as PisellSelectionFlow, type PisellSelectionFlowController, type PisellSelectionFlowProps, PisellShellFrame, type PisellShellFrameConfig, type PisellShellFrameProps, type PisellShellFrameScrollConfig, PisellSider, _default$16 as PisellSingleLineText, type PisellSingleLineTextProps, PisellSingleSelect, type PisellSingleSelectProps, PisellSort, type PisellSortProps, PisellStatisticList, type PisellStatisticListProps, type PisellStatisticProps, type PisellStepItem, PisellSteps, type PisellStepsProps, _default$17 as PisellSuperTabs, type PisellSuperTabsProps, PisellTabbar, PisellTabbar$1 as PisellTabbar2, type PisellTabbarProps, _default$18 as PisellTabbarTemplate1, type PisellTabbarTemplate1Direction, type PisellTabbarTemplate1Props, PisellTags, type PisellTagsProps, PisellText, PisellTimeNavigator, type PisellTimeNavigatorProps, PisellTimeRangeDisplay, type PisellTimeRangeDisplayProps, PisellToast, Toolbar as PisellToolBar, PisellTooltip, PisellUpload, _default$19 as PisellUrl, type PisellUrlProps, PisellViewGrid, PisellWalletPassCard, type PisellWalletPassCardProps, Popconfirm, Popover, type PostShopFloorPlanBody, type ProcedureBodyProps, type ProcedureFooterProps, type ProcedureHeaderProps$1 as ProcedureHeaderProps, ProductCard, ProfileMenu, Progress, PublishVersionModal, type PutShopFloorPlanBody, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, type RecordBoardBlockedTimeMergedRange, type RecordBoardBlockedTimePanelPayload, type RecordBoardBodyView, type RecordBoardBookingMoveDraft, type RecordBoardCalendarBlockedTimePayload, type RecordBoardCalendarBookingLike, type RecordBoardCalendarBookingRenderArgs, type RecordBoardCalendarDayOverlayBooking, type RecordBoardCalendarProps, type RecordBoardCalendarResource, type RecordBoardCalendarResourceRenderArgs, type RecordBoardCalendarSelectedFreeSlot, type RecordBoardCalendarTimelineHeaderGroup, type RecordBoardCalendarTimelineHeaderRenderContext, type RecordBoardChildComponentProps, type RecordBoardColumnFilterConfig, type RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, type RecordBoardFieldType, type RecordBoardFloorMapProps, type RecordBoardGetOptions, type RecordBoardGridProps, type RecordBoardLayoutType, type RecordBoardLayoutVariant, type RecordBoardOptionItem, type RecordBoardProps, type RecordBoardResourceWallCardModel, type RecordBoardResourceWallLayoutPersist, type RecordBoardResourceWallProps, type RecordBoardToolBarProps, _default$20 as RecordView, type ReservationScheduleBandValue, type ReservationScheduleValue, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, SafeAreaTop, SectionFooters, Segmented, Select, SelectTime, SelectionFlowCompileError, type SelectionFlowCompileIssue, type SelectionFlowCompileIssueCode, type SelectionFlowContextValue, type SelectionFlowDraftAdapter, type SelectionFlowDraftChange, type SelectionFlowDraftUpdateMeta, type SelectionFlowMessageCode, type SelectionFlowMetadata, type SelectionFlowModuleAdapter, type SelectionFlowModuleConfig, type SelectionFlowModuleInput, type SelectionFlowModuleRegistry, type SelectionFlowPrepareStepsOptions, type SelectionFlowPrepareStepsResult, type SelectionFlowRef, type SelectionFlowRuntimeIssue, type SelectionFlowSnapshot, type SelectionFlowStepConfig, type SelectionFlowValidationFeedback, type ShopFloorPlanByCodeRequestOptions, type ShopFloorPlanDetail, type ShopFloorPlanHttpAdapter, type ShopFloorPlanLayoutItem, type SingleSelectRef, Skeleton, SliderOuter as Slider, Sort, SortableList, Space, Spin, Statistic, Steps, SubmitButton, Switch$1 as Switch, Provider$3 as TabCard, type TabCardProps, type TabDataItem, type TabbarActionItem, type TabbarDataSource, _default$21 as Table, Tabs, Tag, Provider$4 as TextCard, type TimeNavigatorOrientation, type TimeNavigatorPassthroughProps, type TimeNavigatorValue, TimePicker$1 as TimePicker, type TimeRangeOption, Timeline, type ToolBarProps, Tooltip, Transfer, Translation$2 as Translation, Tree, TreeSelect, Typography, Upload$1 as Upload, type VenueWallAppearanceSlot, type VenueWallAppearanceTheme, type VenueWallStatusKey, type VenueWallStatusTone, type VenueWallStatusToneOverrides, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, compileSelectionFlow, compileSelectionFlowSteps, computeSelectionZoneMemberIds, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, _default$22 as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, hasSelectionDraftFieldValue, inferCanvasSizeFromScene, initFloorMapLayoutLocales, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isSelectionModuleType, isSelectionZoneItem, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, parseNestedPathSegments, pickFloorPlanDetail, pickReferenceDateContainingNow, _default$23 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveFlowModuleAdapter, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useSelectionFlowContext, useShopFloorPlanSubscription, useToast, useTypedSelectionFlowContext, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
282
+ export { type AdaptColumnsForPhoneLayoutOptions, Affix, Alert, Anchor, AppVersionControl, AutoComplete, AutoCompleteNumber, AutoResizeText, Avatar, Badge, type BadgeConfig, Translation as BaseTranslation, type BatchActionBarPosition, type BatchActionConfirmConfig, type BatchActionItem, BatchEditor, Breadcrumb, Button, _default as ButtonGroupEdit, _default$1 as ButtonGroupPreview, Calendar, type CalendarPersistContextValue, type CalendarPersistKind, CalendarPersistProvider, Card, CardMetricItem, type PisellStatisticProps as CardMetricItemProps, _default$2 as CardPro, Carousel, type CartSkuCardA12Display, type CartSkuCardA12Presentation, type CartSkuCardA12Slots, type CartSkuCardVariant, Cascader, Checkbox, ClassicLayout, Col, Collapse, ColorPicker, type CompiledSelectionFlowModuleConfig, type CompiledSelectionFlowStep, Component, type CompoundedComponent, ConfigProvider, type CountryCode, type CreateShopFloorPlanClientOptions, CropPhoto, type CursorMode, CustomSelect, DEFAULT_CALENDAR_SLOT_STEP_MINUTES, DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY, DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST, type DataSourceContainerProps, _default$3 as DataSourceForm, DataSourceImage, DataSourceMenu, DataSourceQRCode, DataSourceSubForm, type DataSourceSubFormProps, _default$4 as DataSourceTable, DataSourceTypography, DataSourceWrapper, DatePicker, type DefaultActionsConfig, Descriptions, _default$5 as Div, Divider, DragSortTree, Drawer, Dropdown, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, Empty, type EnsureShopFloorPlanByCodeOptions, FIND_FALLBACK_SCANNER_COUNT_KEY, FLOOR_MAP_BUILTIN_SHAPES, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_SELECTION_ZONE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, Filter, type FloorMapBindingPlaceholderReason, FloorMapBuiltinShapeElement, type FloorMapCanvasNameI18n, type FloorMapDataSourceRow, type FloorMapDataSources, type FloorMapEdge, type FloorMapEdgeAnchor, type FloorMapEdgeStatus, type FloorMapElementKindCategory, type FloorMapElementKindConfig, type FloorMapFullscreenMode, FloorMapImageElement, type FloorMapItemBase, type FloorMapLayoutContextValue, FloorMapLayoutProvider, type FloorMapLayoutProviderProps, type FloorMapMergedItem, type FloorMapRenderOptions, type FloorMapResourcePickerRecord, type FloorMapResourcePickerSlotProps, type FloorMapSceneElement, FloorMapSelectionZoneElement, type FloorMapViewConfig, type FloorMapViewportOverlayRenderArgs, type FlowModuleBeforeLeaveResult, type FlowModuleBeforeLeaveReturn, type FlowModuleDataMap, type FlowModuleHandle, type FlowModuleState, type FlowModuleStateMap, type FlowModuleStatus, type FlowModuleValidationResult, type FlowModuleValidationReturn, _default$6 as Form, FormGroup, Checkbox$1 as FormItemCheckbox, ColorPicker$1 as FormItemColorPicker, DatePicker$1 as FormItemDatePicker, IconSelect as FormItemIconSelect, Input as FormItemInput, InputNumber as FormItemInputNumber, Radio as FormItemRadio, RecordListWrapperWithDataSource as FormItemRecordListWrapper, SelectWithDataSource as FormItemSelect, Switch as FormItemSwitch, FormItemTabs, TimePicker as FormItemTimePicker, Translation$1 as FormItemTranslation, Upload as FormItemUpload, Provider as GraphicTextCard, type GraphicTextCardProps, type GraphicTextCardSize, type GraphicTextCardVariant, Grid, type GridProProps, type GridViewProps, type GroupBlocks, type GroupModel, type GroupViewVariant, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, _default$7 as Icon, IconSelect$1 as IconSelect, IconFont as Iconfont, Image, type ImageDataSource, type ImageFillMode, Input$1 as Input, InputNumber$1 as InputNumber, InputNumberRange, type ItemContext, type ItemLayout, JsonWrapperProvider as JsonWrapper, _default$8 as Keyboard, type LevelType, List, type LookupInputRenderContext, LowCodePage, type MailtoOptions, Mentions, Menu, Modal, Provider$1 as MultilevelCard, type MultilevelCardProps, type MultipleSelectRef, NAME_AS_TITLE_EXT_KEY, OrganizationTenantSwitcher, Page, PageHeader, Pagination, PisellAdjustPrice, PisellAdjustPriceInputNumber, PisellAlert, PisellAnchor, PisellAppCard, type PisellAppCardProps, PisellAvatar, type PisellBasicCardProps, MemoizedPisellBasicGrid as PisellBasicGrid, type PisellBasicGridProps, PisellBatchActionBar, type PisellBatchActionBarProps, PisellCard, _default$9 as PisellCardList, type PisellCardPickerCardMeta, type PisellCardPickerCategoryConfig, type PisellCardPickerCategoryLevelConfig, type PisellCardPickerCategoryMode, type PisellCardPickerCategoryPath, type PisellCardPickerItem, type PisellCardPickerMode, PisellCards, PisellCheckboxGroup, PisellConfigProvider, PisellContainer, PisellContent, PisellContext, PisellCountdown, MemoizedPisellCurrency as PisellCurrency, type PisellCurrencyProps, PisellCustomCheckboxGroup, PisellDataSourceContainer, PisellDatePicker, _default$10 as PisellDateTimeDisplay, type PisellDateTimeDisplayProps, Demo as PisellDraggable, PisellDropSort, PisellDropdown, _default$11 as PisellEmail, type PisellEmailProps, PisellEmpty, PisellFields, PisellFilter, type PisellFilterProps, PisellFind, type PisellFindProps, type PisellFindRef, PisellFloatingPanel, PisellFloorMapLayout, type PisellFloorMapLayoutProps, type PisellFloorMapLayoutRef, PisellFooter, index as PisellGoodPassCard, PisellGridPro, GridView as PisellGridView, MemoizedPisellGroupView as PisellGroupView, type PisellGroupViewProps, PisellHeader, PisellHeaderProgressBar, PisellHierarchicalSummaryList, type PisellHierarchicalSummaryListAggregateConfig, type PisellHierarchicalSummaryListAggregateMode, type PisellHierarchicalSummaryListItem, type PisellHierarchicalSummaryListKey, type PisellHierarchicalSummaryListLevelConfig, type PisellHierarchicalSummaryListProps, Provider$2 as PisellImageCard, type PisellImageCardProps, PisellImageCarousels, PisellInformationEntry, PisellInput, PisellLayout, type PisellLayoutProps, PisellLayouts, PisellList01, PisellLoading, _default$12 as PisellLongText, type PisellLongTextProps, PisellLookup, type PisellLookupProps, type PisellLookupRef, PisellMenu, type PisellMenuProps, PisellMetricCard, type PisellMetricCardProps, PisellMetrics, PisellMobileDateRangePicker, type PisellMobileDateRangePickerProps, PisellModal, PisellMultipleSelect, type PisellMultipleSelectProps, PisellNavigationMenu, MemoizedPisellNumber as PisellNumber, Number as PisellNumberKeyboard, type PisellNumberProps, MemoizedPisellPercent as PisellPercent, type PisellPercentProps, _default$13 as PisellPhone, type PisellPhoneProps, Amount as PisellPriceKeyboard, PisellProcedure, ProcedureHeader as PisellProcedureHeader, type ProcedureHeaderProps as PisellProcedureHeaderProps, type PisellProcedureProps, type PisellProcedureRef, PisellQRScanner, type PisellQRScannerProps, PisellQrcode, pisellQuickFilter as PisellQuickFilter, type PisellQuickFilterProps, _default$14 as PisellRating, type PisellRatingProps, PisellRecordBoard, PisellRecordBoardCalendarView, type PisellRecordBoardCalendarViewProps, PisellRecordBoardResourceWallView, PisellReservationSchedule, PisellReservationScheduleBand, type PisellReservationScheduleBandProps, type PisellReservationScheduleProps, PisellRow, type PisellRowProps, PisellScan, PisellScrollView, type PisellScrollViewProps, PisellSectionHeaders, _default$15 as PisellSelectionFlow, type PisellSelectionFlowController, type PisellSelectionFlowProps, PisellShellFrame, type PisellShellFrameConfig, type PisellShellFrameProps, type PisellShellFrameScrollConfig, PisellSider, _default$16 as PisellSingleLineText, type PisellSingleLineTextProps, PisellSingleSelect, type PisellSingleSelectProps, PisellSort, type PisellSortProps, PisellStatisticList, type PisellStatisticListProps, type PisellStatisticProps, type PisellStepItem, PisellSteps, type PisellStepsProps, _default$17 as PisellSuperTabs, type PisellSuperTabsProps, PisellTabbar, PisellTabbar$1 as PisellTabbar2, type PisellTabbarProps, _default$18 as PisellTabbarTemplate1, type PisellTabbarTemplate1Direction, type PisellTabbarTemplate1Props, PisellTags, type PisellTagsProps, PisellText, PisellTimeNavigator, type PisellTimeNavigatorProps, PisellTimeRangeDisplay, type PisellTimeRangeDisplayProps, PisellToast, Toolbar as PisellToolBar, PisellTooltip, PisellUpload, _default$19 as PisellUrl, type PisellUrlProps, PisellViewGrid, PisellWalletPassCard, type PisellWalletPassCardProps, Popconfirm, Popover, type PostShopFloorPlanBody, type ProcedureBodyProps, type ProcedureFooterProps, type ProcedureHeaderProps$1 as ProcedureHeaderProps, ProductCard, ProfileMenu, Progress, PublishVersionModal, type PutShopFloorPlanBody, QRCode, RECORD_BOARD_PHONE_GRID_CLASS, Radio$1 as Radio, Rate, type RecordBoardBlockedTimeMergedRange, type RecordBoardBlockedTimePanelPayload, type RecordBoardBodyView, type RecordBoardBookingMoveDraft, type RecordBoardCalendarBlockedTimePayload, type RecordBoardCalendarBookingLike, type RecordBoardCalendarBookingRenderArgs, type RecordBoardCalendarDayOverlayBooking, type RecordBoardCalendarProps, type RecordBoardCalendarResource, type RecordBoardCalendarResourceRenderArgs, type RecordBoardCalendarSelectedFreeSlot, type RecordBoardCalendarTimelineHeaderGroup, type RecordBoardCalendarTimelineHeaderRenderContext, type RecordBoardChildComponentProps, type RecordBoardColumnFilterConfig, type RecordBoardColumnType, type RecordBoardContextValue, type RecordBoardCreateBookingDayGroup, type RecordBoardCreateBookingFromSelectionPayload, type RecordBoardFieldType, type RecordBoardFloorMapProps, type RecordBoardGetOptions, type RecordBoardGridProps, type RecordBoardLayoutType, type RecordBoardLayoutVariant, type RecordBoardOptionItem, type RecordBoardProps, type RecordBoardResourceWallCardModel, type RecordBoardResourceWallLayoutPersist, type RecordBoardResourceWallProps, type RecordBoardToolBarProps, _default$20 as RecordView, type ReservationScheduleBandValue, type ReservationScheduleValue, Result, Row, SHOP_FLOOR_PLAN_DUPLICATE_CODE, SafeAreaTop, SectionFooters, Segmented, Select, SelectTime, SelectionFlowCompileError, type SelectionFlowCompileIssue, type SelectionFlowCompileIssueCode, type SelectionFlowContextValue, type SelectionFlowDraftAdapter, type SelectionFlowDraftChange, type SelectionFlowDraftUpdateMeta, type SelectionFlowMessageCode, type SelectionFlowMetadata, type SelectionFlowModuleAdapter, type SelectionFlowModuleConfig, type SelectionFlowModuleInput, type SelectionFlowModuleRegistry, type SelectionFlowPrepareStepsOptions, type SelectionFlowPrepareStepsResult, type SelectionFlowRef, type SelectionFlowRuntimeIssue, type SelectionFlowSnapshot, type SelectionFlowStepConfig, type SelectionFlowValidationFeedback, type ShopFloorPlanByCodeRequestOptions, type ShopFloorPlanDetail, type ShopFloorPlanHttpAdapter, type ShopFloorPlanLayoutItem, type SingleSelectRef, Skeleton, SliderOuter as Slider, Sort, SortableList, Space, Spin, Statistic, Steps, SubmitButton, Switch$1 as Switch, Provider$3 as TabCard, type TabCardProps, type TabDataItem, type TabbarActionItem, type TabbarDataSource, _default$21 as Table, Tabs, Tag, Provider$4 as TextCard, type TimeNavigatorOrientation, type TimeNavigatorPassthroughProps, type TimeNavigatorValue, TimePicker$1 as TimePicker, type TimeRangeOption, Timeline, type ToolBarProps, Tooltip, Transfer, Translation$2 as Translation, Tree, TreeSelect, Typography, Upload$1 as Upload, type VenueWallAppearanceSlot, type VenueWallAppearanceTheme, type VenueWallStatusKey, type VenueWallStatusTone, type VenueWallStatusToneOverrides, VirtualInput, VirtualKeyboard, VirtualKeyboardTime, WalletCard, type WrapFloorMapOnSaveWithRemotePersistParams, adaptColumnsForPhoneLayout, buildCalendarHourSlotsFromRange, buildCalendarTimelineSlotStartsFromRange, buildFloorPlanPutBody, buildNameAsTitleExtensionsPatch, compileSelectionFlow, compileSelectionFlowSteps, computeSelectionZoneMemberIds, createShopFloorPlanClient, diffVenueWallStatusToneOverrides, findFloorMapRowByDataBinding, _default$22 as floorMapLayoutLocales, floorMapResourcePickerRecordSearchText, floorMapSavedConfigToRemotePatch, formatScheduleAtLabel, getBankCardTypeImg, getFigmaTableCardFromMerged, getFloorMapBindingPlaceholderReason, getFloorMapBuiltinShapeDef, getFloorMapCardPickerCategoryConfig, getFloorMapDisplayLocale, getFloorMapResourcePickerCardMeta, getHorizontalAxisSlotCount, getRangeBounds, getRenderItemByKindRoundTable, getRenderItemByKindTable, getVenueWallStatusToneMap, globalConfig, hasSelectionDraftFieldValue, inferCanvasSizeFromScene, initFloorMapLayoutLocales, isElementNameAsTitleEnabled, isFloorMapBuiltinShapeElementKind, isFloorMapImageElementKind, isFloorPlanDuplicateCodeError, isHttpNotFoundError, isSelectionModuleType, isSelectionZoneItem, isShopFloorPlanNotFoundResponse, loginAndRegister, mergeFloorMapLayoutPropsFromContext, mergeFloorPlanViewRemote, message, notification, parseLayoutFieldToViewConfigPatch, parseNestedPathSegments, pickFloorPlanDetail, pickReferenceDateContainingNow, _default$23 as pisellTimeNavigatorLocales, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard, renderFloorMapFallbackPlaceholder, resolveFlowModuleAdapter, resolveSceneElementDisplayTitle, sceneElementsToShopLayout, shopLayoutToSceneElements, useFloorMapLayoutContext, usePisellConfig, useRecordBoardContext, useRecordBoardShellBodyMeta, useSelectionFlowContext, useShopFloorPlanSubscription, useToast, useTypedSelectionFlowContext, version, viewConfigToLayoutPayload, wrapFloorMapOnSaveWithRemotePersist };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellBasicCardProps } from "./types.js";
3
2
  import { ImageDataSource, ImageFillMode, PisellImageCardProps } from "./components/PisellImageCard/types.js";
4
3
  import { GraphicConfig, GraphicTextCardProps, GraphicTextCardSize, GraphicTextCardVariant } from "./components/GraphicTextCard/types.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellSingleLineTextProps } from "../pisellSingleLineText/types.js";
3
2
  import { PisellLongTextProps } from "../pisellLongText/types.js";
4
3
  import { PisellNumberProps } from "../pisellNumber/types.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellBasicGridProps } from "../PisellBasicGrid/types.js";
3
2
  import { PisellScrollViewProps, PisellScrollViewRef } from "../PisellScrollView/types.js";
4
3
  import { FloorMapFullscreenMode, FloorMapItemBase, FloorMapLayoutContextValue, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef } from "../pisellFloorMapLayout/types.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellMetricCardProps } from "../pisellMetricCard/types.js";
3
2
  import { PisellStatisticListProps } from "../pisellStatisticList/index.js";
4
3
  import { PisellStatisticProps } from "../cardMetricItem/index.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  //#region src/components/appVersionControl/types.d.ts
3
2
  interface Version {
4
3
  id: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/calendar/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/checkbox/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { LocalSettingsType } from "../../table/types.js";
3
2
  import { DataSourceType } from "../provider/dataSource/DataSourceContext.js";
4
3
  import { ColumnType } from "antd/es/table";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckboxGroupProps } from "./type.js";
3
2
  import { WithModeProps } from "../../dataSourceForm/utils.js";
4
3
  import * as _$react from "react";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WithModeProps } from "../../dataSourceForm/utils.js";
3
2
  import { RadioGroupProps } from "./type.js";
4
3
  import * as _$react from "react";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
3
2
  import { TabsProps } from "./type.js";
4
3
  import * as _$react from "react";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ModeType } from "../../dataSourceForm/type.js";
3
2
 
4
3
  //#region src/components/dataSourceComponents/fields/Translation/type.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionsItem } from "../../dataSourceForm/serve.js";
3
2
  import { Result } from "ahooks/es/useRequest/src/types";
4
3
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/date-picker/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  //#region src/components/drag-sort-tree/types.d.ts
3
2
  type IdType = string | number;
4
3
  type ValueProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterItemProps } from "../../types.js";
3
2
 
4
3
  //#region src/components/filter/components/FilterButton/types.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
  import { InputProps, InputRef } from "antd";
4
3
  import * as _$antd_es_input0 from "antd/es/input";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/pisell-config-provider/context.d.ts