@feedmepos/mf-order-setting 0.0.84 → 0.0.85

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 (109) hide show
  1. package/dist/DisplaySystemView-hmlT9gsb.js +6485 -0
  2. package/dist/{KioskDevicesView-DdwFuenU.js → KioskDevicesView-fW6M9Hao.js} +1 -1
  3. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CxtLm_oh.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-GrsnYo80.js} +3 -3
  4. package/dist/KioskSettingView-BdEPftHH.js +839 -0
  5. package/dist/{KioskView-fwBwUGCQ.js → KioskView-Bwk9S0tc.js} +82 -70
  6. package/dist/{OrderSettingsView-RhlyZmzs.js → OrderSettingsView-DVXfVdXj.js} +30858 -30699
  7. package/dist/{app-ClOkRxOZ.js → app-BnrruYco.js} +74 -12
  8. package/dist/app.js +1 -1
  9. package/dist/display-preview/assets/BandBoard-DIcfXsNV.js +1 -0
  10. package/dist/display-preview/assets/CarouselBlock-XAhTyEWB.js +1 -0
  11. package/dist/display-preview/assets/{CategoryBoard-DClMUGfS.js → CategoryBoard-DBKe18hv.js} +1 -1
  12. package/dist/display-preview/assets/ImageBlock-BCbnYSHq.js +1 -0
  13. package/dist/display-preview/assets/PickupMode-Df_TPCh8.js +1 -0
  14. package/dist/display-preview/assets/{StatusBoard-BVESD28J.js → StatusBoard-28z3bPOf.js} +1 -1
  15. package/dist/display-preview/assets/TextBlock-CvJKITtx.js +1 -0
  16. package/dist/display-preview/assets/VideoBlock-Dop43wDv.js +1 -0
  17. package/dist/display-preview/assets/index-C6DET5zJ.css +1 -0
  18. package/dist/display-preview/assets/index-cqMoOpSN.js +2 -0
  19. package/dist/display-preview/assets/pickupView-DRMVXqrc.js +1 -0
  20. package/dist/display-preview/index.html +2 -2
  21. package/dist/frontend/mf-order/src/app.d.ts +62 -0
  22. package/dist/frontend/mf-order/src/main.d.ts +62 -0
  23. package/dist/frontend/mf-order/src/modules/display-system/interface.d.ts +21 -0
  24. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/coverCarousel.d.ts +69 -0
  25. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +5 -1
  26. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +90 -3
  27. package/dist/frontend/mf-order/src/views/display-system/DisplayFieldControl.vue.d.ts +3 -0
  28. package/dist/frontend/mf-order/src/views/display-system/DisplayInspector.vue.d.ts +3 -13
  29. package/dist/frontend/mf-order/src/views/order-settings/auto-send-kitchen.d.ts +58 -0
  30. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +16 -1
  31. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +16 -1
  32. package/dist/frontend/mf-order/src/views/order-settings/useAutoSendGuard.d.ts +48 -0
  33. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  34. package/dist/{index-CKEbr9Es.js → index-D5wABuUx.js} +1 -1
  35. package/dist/{index-5k7kGCpJ.js → index-D7IWjZdy.js} +2 -2
  36. package/dist/{index-I2YGevce.js → index-LyvBqKnv.js} +1 -1
  37. package/dist/{order.dto-Dbn-hRrm.js → order.dto-D7HGiueX.js} +3579 -3428
  38. package/dist/package/entity/alert/investigation.dto.d.ts +25 -6
  39. package/dist/package/entity/alert/lark-callback.dto.d.ts +31 -12
  40. package/dist/package/entity/alert/suggestion.dto.d.ts +4 -4
  41. package/dist/package/entity/display/blocks.d.ts +42 -76
  42. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +47 -36
  43. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +1 -0
  44. package/dist/package/entity/index.d.ts +2 -0
  45. package/dist/package/entity/index.frontend.d.ts +2 -0
  46. package/dist/package/entity/order/effects/effect.dto.d.ts +266 -0
  47. package/dist/package/entity/order/order-item/order-item.dto.d.ts +36 -36
  48. package/dist/package/entity/order/order.do.d.ts +7 -64
  49. package/dist/package/entity/order/order.dto.d.ts +13006 -795
  50. package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +13 -0
  51. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +3 -0
  52. package/dist/package/entity/order-platform/menu.dto.d.ts +10 -10
  53. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +11 -8
  54. package/dist/package/entity/order-setting/auto-accept.dto.d.ts +94 -0
  55. package/dist/package/entity/order-setting/auto-send.resolve.d.ts +110 -0
  56. package/dist/package/entity/order-setting/delivery/inhouse-delivery.do.d.ts +3 -0
  57. package/dist/package/entity/order-setting/delivery/inhouse-delivery.dto.d.ts +3 -0
  58. package/dist/package/entity/order-setting/dine-in/dine-in.do.d.ts +3 -0
  59. package/dist/package/entity/order-setting/dine-in/dine-in.dto.d.ts +3 -0
  60. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +26 -0
  61. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +39 -0
  62. package/dist/package/entity/order-setting/order-setting.do.d.ts +57 -4
  63. package/dist/package/entity/order-setting/order-setting.dto.d.ts +259 -9
  64. package/dist/package/entity/order-setting/pickup/pickup.do.d.ts +3 -0
  65. package/dist/package/entity/order-setting/pickup/pickup.dto.d.ts +3 -0
  66. package/dist/package/entity/order-setting/queue/queue.do.d.ts +2 -2
  67. package/dist/package/entity/order-setting/queue/queue.dto.d.ts +2 -2
  68. package/dist/package/entity/queue/queue.dto.d.ts +48 -48
  69. package/dist/package/entity/restaurant/restaurant.dto.d.ts +46 -8
  70. package/dist/package/entity/websocket/websocket.dto.d.ts +88 -0
  71. package/dist/style.css +1 -1
  72. package/package.json +2 -2
  73. package/src/locales/en-US.json +22 -2
  74. package/src/locales/ja-JP.json +12 -1
  75. package/src/locales/th-TH.json +12 -1
  76. package/src/locales/zh-CN.json +22 -2
  77. package/src/modules/display-system/interface.spec.ts +32 -18
  78. package/src/modules/display-system/interface.ts +32 -0
  79. package/src/modules/order-setting/kiosk/coverCarousel.spec.ts +172 -0
  80. package/src/modules/order-setting/kiosk/coverCarousel.ts +186 -0
  81. package/src/modules/order-setting/kiosk/interface.ts +138 -127
  82. package/src/stores/order-setting/mapper.spec.ts +26 -0
  83. package/src/stores/order-setting/mapper.ts +305 -293
  84. package/src/views/display-system/DisplayFieldControl.vue +46 -0
  85. package/src/views/display-system/DisplayInspector.vue +8 -3
  86. package/src/views/display-system/DisplaySystemView.vue +7 -3
  87. package/src/views/display-system/DisplayTemplateEditor.vue +28 -2
  88. package/src/views/kiosk/settings/KioskSettingView.vue +176 -60
  89. package/src/views/order-settings/auto-send-kitchen.spec.ts +137 -0
  90. package/src/views/order-settings/auto-send-kitchen.ts +92 -0
  91. package/src/views/order-settings/auto-send-resolve.spec.ts +123 -0
  92. package/src/views/order-settings/delivery/DeliverySetting.vue +10 -0
  93. package/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue +40 -5
  94. package/src/views/order-settings/dine-in/DineInSetting.vue +38 -5
  95. package/src/views/order-settings/pickup/PickUpSetting.vue +1 -0
  96. package/src/views/order-settings/pickup/PickUpSettingDialogContent.vue +38 -5
  97. package/src/views/order-settings/queue/QueueSetting.vue +6 -9
  98. package/src/views/order-settings/useAutoSendGuard.ts +142 -0
  99. package/tsconfig.app.json +10 -1
  100. package/dist/DisplaySystemView-4Bz8p26A.js +0 -5892
  101. package/dist/KioskSettingView-D57KtQ-t.js +0 -711
  102. package/dist/display-preview/assets/BandBoard-BrDTYDc9.js +0 -1
  103. package/dist/display-preview/assets/CarouselBlock-CrkGxoGk.js +0 -1
  104. package/dist/display-preview/assets/ImageBlock-DtgfHd5G.js +0 -1
  105. package/dist/display-preview/assets/PickupMode-DKmqGlG8.js +0 -1
  106. package/dist/display-preview/assets/TextBlock-gAfeCCmE.js +0 -1
  107. package/dist/display-preview/assets/index-BB0ReVXy.js +0 -2
  108. package/dist/display-preview/assets/index-BWVpFSIw.css +0 -1
  109. package/dist/display-preview/assets/pickupView-C-BGcOu8.js +0 -1
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { z } from 'zod';
2
2
  /**
3
3
  * One investigation lifecycle, keyed by `issueKey`. Every other field is optional because a write only
4
4
  * carries what the agent actually established.
@@ -6,14 +6,25 @@ import { z } from "zod";
6
6
  * SHAPE only. The select-valued fields stay `string` on purpose: the consumer matches them against the
7
7
  * Base's own option list and drops an unrecognised one into `ignoredFields`, which records the row minus
8
8
  * a cell rather than refusing it. Turning them into enums here would move that decision to a 400 and
9
- * lose the row. What this does catch is the shape — `escalatedTo` arriving as a string rather than a
10
- * list used to throw a TypeError deep in the writer and get reported as "the write failed".
9
+ * lose the row. What this does catch is the shape: `escalatedTo` arriving as a string rather than a
10
+ * list throws a TypeError deep in the writer, and surfaces as "the write failed" with nothing naming
11
+ * the field.
11
12
  */
12
13
  export declare const FdtoInvestigationLog: z.ZodObject<{
13
14
  issueKey: z.ZodString;
14
15
  restaurantId: z.ZodOptional<z.ZodString>;
15
- ticketNumber: z.ZodOptional<z.ZodString>;
16
+ tickets: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
+ number: z.ZodString;
18
+ link: z.ZodOptional<z.ZodString>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ link?: string | undefined;
21
+ number: string;
22
+ }, {
23
+ link?: string | undefined;
24
+ number: string;
25
+ }>, "many">>;
16
26
  backlogId: z.ZodOptional<z.ZodString>;
27
+ backlogLink: z.ZodOptional<z.ZodString>;
17
28
  subject: z.ZodOptional<z.ZodString>;
18
29
  merchant: z.ZodOptional<z.ZodString>;
19
30
  category: z.ZodOptional<z.ZodString>;
@@ -37,8 +48,12 @@ export declare const FdtoInvestigationLog: z.ZodObject<{
37
48
  status?: string | undefined;
38
49
  restaurantId?: string | undefined;
39
50
  category?: string | undefined;
40
- ticketNumber?: string | undefined;
51
+ tickets?: {
52
+ link?: string | undefined;
53
+ number: string;
54
+ }[] | undefined;
41
55
  backlogId?: string | undefined;
56
+ backlogLink?: string | undefined;
42
57
  subject?: string | undefined;
43
58
  merchant?: string | undefined;
44
59
  ownership?: string | undefined;
@@ -59,8 +74,12 @@ export declare const FdtoInvestigationLog: z.ZodObject<{
59
74
  status?: string | undefined;
60
75
  restaurantId?: string | undefined;
61
76
  category?: string | undefined;
62
- ticketNumber?: string | undefined;
77
+ tickets?: {
78
+ link?: string | undefined;
79
+ number: string;
80
+ }[] | undefined;
63
81
  backlogId?: string | undefined;
82
+ backlogLink?: string | undefined;
64
83
  subject?: string | undefined;
65
84
  merchant?: string | undefined;
66
85
  ownership?: string | undefined;
@@ -11,15 +11,15 @@ import { z } from 'zod';
11
11
  */
12
12
  export declare const FdtoCardActionValue: z.ZodObject<{
13
13
  action: z.ZodOptional<z.ZodString>;
14
- record_id: z.ZodOptional<z.ZodString>;
15
14
  record_url: z.ZodOptional<z.ZodString>;
15
+ status: z.ZodOptional<z.ZodString>;
16
16
  }, "strip", z.ZodTypeAny, {
17
+ status?: string | undefined;
17
18
  action?: string | undefined;
18
- record_id?: string | undefined;
19
19
  record_url?: string | undefined;
20
20
  }, {
21
+ status?: string | undefined;
21
22
  action?: string | undefined;
22
- record_id?: string | undefined;
23
23
  record_url?: string | undefined;
24
24
  }>;
25
25
  export declare const FdtoCardCallback: z.ZodObject<{
@@ -29,56 +29,72 @@ export declare const FdtoCardCallback: z.ZodObject<{
29
29
  action: z.ZodOptional<z.ZodObject<{
30
30
  value: z.ZodOptional<z.ZodObject<{
31
31
  action: z.ZodOptional<z.ZodString>;
32
- record_id: z.ZodOptional<z.ZodString>;
33
32
  record_url: z.ZodOptional<z.ZodString>;
33
+ status: z.ZodOptional<z.ZodString>;
34
34
  }, "strip", z.ZodTypeAny, {
35
+ status?: string | undefined;
35
36
  action?: string | undefined;
36
- record_id?: string | undefined;
37
37
  record_url?: string | undefined;
38
38
  }, {
39
+ status?: string | undefined;
39
40
  action?: string | undefined;
40
- record_id?: string | undefined;
41
41
  record_url?: string | undefined;
42
42
  }>>;
43
43
  }, "strip", z.ZodTypeAny, {
44
44
  value?: {
45
+ status?: string | undefined;
45
46
  action?: string | undefined;
46
- record_id?: string | undefined;
47
47
  record_url?: string | undefined;
48
48
  } | undefined;
49
49
  }, {
50
50
  value?: {
51
+ status?: string | undefined;
51
52
  action?: string | undefined;
52
- record_id?: string | undefined;
53
53
  record_url?: string | undefined;
54
54
  } | undefined;
55
55
  }>>;
56
+ context: z.ZodOptional<z.ZodObject<{
57
+ open_message_id: z.ZodOptional<z.ZodString>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ open_message_id?: string | undefined;
60
+ }, {
61
+ open_message_id?: string | undefined;
62
+ }>>;
56
63
  }, "strip", z.ZodTypeAny, {
57
64
  action?: {
58
65
  value?: {
66
+ status?: string | undefined;
59
67
  action?: string | undefined;
60
- record_id?: string | undefined;
61
68
  record_url?: string | undefined;
62
69
  } | undefined;
63
70
  } | undefined;
71
+ context?: {
72
+ open_message_id?: string | undefined;
73
+ } | undefined;
64
74
  }, {
65
75
  action?: {
66
76
  value?: {
77
+ status?: string | undefined;
67
78
  action?: string | undefined;
68
- record_id?: string | undefined;
69
79
  record_url?: string | undefined;
70
80
  } | undefined;
71
81
  } | undefined;
82
+ context?: {
83
+ open_message_id?: string | undefined;
84
+ } | undefined;
72
85
  }>>;
73
86
  }, "strip", z.ZodTypeAny, {
74
87
  event?: {
75
88
  action?: {
76
89
  value?: {
90
+ status?: string | undefined;
77
91
  action?: string | undefined;
78
- record_id?: string | undefined;
79
92
  record_url?: string | undefined;
80
93
  } | undefined;
81
94
  } | undefined;
95
+ context?: {
96
+ open_message_id?: string | undefined;
97
+ } | undefined;
82
98
  } | undefined;
83
99
  type?: string | undefined;
84
100
  challenge?: string | undefined;
@@ -86,11 +102,14 @@ export declare const FdtoCardCallback: z.ZodObject<{
86
102
  event?: {
87
103
  action?: {
88
104
  value?: {
105
+ status?: string | undefined;
89
106
  action?: string | undefined;
90
- record_id?: string | undefined;
91
107
  record_url?: string | undefined;
92
108
  } | undefined;
93
109
  } | undefined;
110
+ context?: {
111
+ open_message_id?: string | undefined;
112
+ } | undefined;
94
113
  } | undefined;
95
114
  type?: string | undefined;
96
115
  challenge?: string | undefined;
@@ -1,25 +1,25 @@
1
- import { z } from "zod";
1
+ import { z } from 'zod';
2
2
  export declare const FdtoSuggestion: z.ZodObject<{
3
3
  signature: z.ZodString;
4
4
  category: z.ZodEnum<["mcp", "skill", "config", "other"]>;
5
5
  summary: z.ZodString;
6
6
  details: z.ZodString;
7
7
  urgency: z.ZodEnum<["low", "medium", "high"]>;
8
- alertRecordId: z.ZodString;
8
+ alertRecordId: z.ZodOptional<z.ZodString>;
9
9
  }, "strip", z.ZodTypeAny, {
10
+ alertRecordId?: string | undefined;
10
11
  details: string;
11
12
  summary: string;
12
13
  signature: string;
13
14
  category: "config" | "other" | "mcp" | "skill";
14
15
  urgency: "low" | "medium" | "high";
15
- alertRecordId: string;
16
16
  }, {
17
+ alertRecordId?: string | undefined;
17
18
  details: string;
18
19
  summary: string;
19
20
  signature: string;
20
21
  category: "config" | "other" | "mcp" | "skill";
21
22
  urgency: "low" | "medium" | "high";
22
- alertRecordId: string;
23
23
  }>;
24
24
  export declare function parseSuggestionPayload(input: unknown): {
25
25
  success: true;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { F_DISPLAY_CAPABILITY, F_DISPLAY_EVENT_TOPIC, F_DISPLAY_SNAPSHOT_TOPIC } from './display.enum';
3
- export type BlockEditorControl = 'switch' | 'select' | 'number' | 'text' | 'image' | 'slider' | 'list';
3
+ export type BlockEditorControl = 'switch' | 'select' | 'number' | 'text' | 'image' | 'video' | 'slider' | 'list';
4
4
  /** One variant of a list item, selected by the item's discriminator value. */
5
5
  export interface BlockEditorItemVariant {
6
6
  value: string;
@@ -76,14 +76,7 @@ export declare const DISPLAY_BLOCK_DEFINITIONS: readonly [{
76
76
  readonly labelKey: "order.displaySystem.editor.blocks.pickupCategoryBoard";
77
77
  readonly icon: "view_column";
78
78
  readonly group: "pickup";
79
- readonly fields: [{
80
- readonly path: "rotateMs";
81
- readonly control: "number";
82
- readonly labelKey: "order.displaySystem.editor.fields.rotateMs";
83
- readonly min: 2000;
84
- readonly max: 60000;
85
- readonly step: 1000;
86
- }, {
79
+ readonly fields: [BlockEditorField, {
87
80
  readonly path: "showProgressBar";
88
81
  readonly control: "switch";
89
82
  readonly labelKey: "order.displaySystem.editor.fields.showProgressBar";
@@ -95,12 +88,7 @@ export declare const DISPLAY_BLOCK_DEFINITIONS: readonly [{
95
88
  readonly path: "showCurrentOrder";
96
89
  readonly control: "switch";
97
90
  readonly labelKey: "order.displaySystem.editor.fields.showCurrentOrder";
98
- }, {
99
- readonly path: "announce";
100
- readonly control: "switch";
101
- readonly labelKey: "order.displaySystem.editor.fields.announce";
102
- readonly group: "announce";
103
- }];
91
+ }, BlockEditorField];
104
92
  };
105
93
  readonly announces: true;
106
94
  readonly minZone: {
@@ -162,14 +150,7 @@ export declare const DISPLAY_BLOCK_DEFINITIONS: readonly [{
162
150
  readonly min: 1;
163
151
  readonly max: 5;
164
152
  readonly step: 1;
165
- }, {
166
- readonly path: "rotateMs";
167
- readonly control: "number";
168
- readonly labelKey: "order.displaySystem.editor.fields.rotateMs";
169
- readonly min: 2000;
170
- readonly max: 60000;
171
- readonly step: 1000;
172
- }, {
153
+ }, BlockEditorField, {
173
154
  readonly path: "showDeliveryIcons";
174
155
  readonly control: "switch";
175
156
  readonly labelKey: "order.displaySystem.editor.fields.showDeliveryIcons";
@@ -185,12 +166,7 @@ export declare const DISPLAY_BLOCK_DEFINITIONS: readonly [{
185
166
  readonly path: "showCurrentOrder";
186
167
  readonly control: "switch";
187
168
  readonly labelKey: "order.displaySystem.editor.fields.showCurrentOrder";
188
- }, {
189
- readonly path: "announce";
190
- readonly control: "switch";
191
- readonly labelKey: "order.displaySystem.editor.fields.announce";
192
- readonly group: "announce";
193
- }];
169
+ }, BlockEditorField];
194
170
  };
195
171
  readonly announces: true;
196
172
  readonly minZone: {
@@ -261,19 +237,7 @@ export declare const DISPLAY_BLOCK_DEFINITIONS: readonly [{
261
237
  readonly path: "headerImageUrl";
262
238
  readonly control: "image";
263
239
  readonly labelKey: "order.displaySystem.editor.fields.image";
264
- }, {
265
- readonly path: "rotateMs";
266
- readonly control: "number";
267
- readonly labelKey: "order.displaySystem.editor.fields.rotateMs";
268
- readonly min: 2000;
269
- readonly max: 60000;
270
- readonly step: 1000;
271
- }, {
272
- readonly path: "announce";
273
- readonly control: "switch";
274
- readonly labelKey: "order.displaySystem.editor.fields.announce";
275
- readonly group: "announce";
276
- }];
240
+ }, BlockEditorField, BlockEditorField];
277
241
  };
278
242
  readonly announces: true;
279
243
  readonly minZone: {
@@ -299,26 +263,43 @@ export declare const DISPLAY_BLOCK_DEFINITIONS: readonly [{
299
263
  readonly labelKey: "order.displaySystem.editor.blocks.mediaImage";
300
264
  readonly icon: "image";
301
265
  readonly group: "media";
266
+ readonly fields: [BlockEditorField, BlockEditorField];
267
+ };
268
+ readonly minZone: {
269
+ widthPercent: number;
270
+ heightPercent: number;
271
+ };
272
+ }, {
273
+ readonly type: "media.video";
274
+ readonly capability: "MEDIA";
275
+ readonly snapshotTopics: [];
276
+ readonly eventTopics: [];
277
+ readonly props: z.ZodObject<{
278
+ url: z.ZodEffects<z.ZodString, string, string>;
279
+ posterUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
280
+ objectFit: z.ZodDefault<z.ZodEnum<["COVER", "CONTAIN"]>>;
281
+ }, "strict", z.ZodTypeAny, {
282
+ posterUrl?: string | undefined;
283
+ url: string;
284
+ objectFit: "COVER" | "CONTAIN";
285
+ }, {
286
+ objectFit?: "COVER" | "CONTAIN" | undefined;
287
+ posterUrl?: string | undefined;
288
+ url: string;
289
+ }>;
290
+ readonly editor: {
291
+ readonly labelKey: "order.displaySystem.editor.blocks.mediaVideo";
292
+ readonly icon: "movie";
293
+ readonly group: "media";
302
294
  readonly fields: [{
303
295
  readonly path: "url";
304
- readonly control: "image";
305
- readonly labelKey: "order.displaySystem.editor.fields.image";
306
- }, {
307
- readonly path: "objectFit";
308
- readonly control: "select";
309
- readonly labelKey: "order.displaySystem.editor.fields.objectFit";
310
- readonly options: [{
311
- readonly value: "COVER";
312
- readonly labelKey: "order.displaySystem.editor.values.cover";
313
- }, {
314
- readonly value: "CONTAIN";
315
- readonly labelKey: "order.displaySystem.editor.values.contain";
316
- }];
317
- }];
296
+ readonly control: "video";
297
+ readonly labelKey: "order.displaySystem.editor.fields.video";
298
+ }, BlockEditorField];
318
299
  };
319
300
  readonly minZone: {
320
- readonly widthPercent: 15;
321
- readonly heightPercent: 15;
301
+ widthPercent: number;
302
+ heightPercent: number;
322
303
  };
323
304
  }, {
324
305
  readonly type: "media.carousel";
@@ -393,22 +374,7 @@ export declare const DISPLAY_BLOCK_DEFINITIONS: readonly [{
393
374
  readonly variants: [{
394
375
  readonly value: "IMAGE";
395
376
  readonly labelKey: "order.displaySystem.editor.values.itemImage";
396
- readonly fields: [{
397
- readonly path: "url";
398
- readonly control: "image";
399
- readonly labelKey: "order.displaySystem.editor.fields.image";
400
- }, {
401
- readonly path: "objectFit";
402
- readonly control: "select";
403
- readonly labelKey: "order.displaySystem.editor.fields.objectFit";
404
- readonly options: [{
405
- readonly value: "COVER";
406
- readonly labelKey: "order.displaySystem.editor.values.cover";
407
- }, {
408
- readonly value: "CONTAIN";
409
- readonly labelKey: "order.displaySystem.editor.values.contain";
410
- }];
411
- }];
377
+ readonly fields: [BlockEditorField, BlockEditorField];
412
378
  }, {
413
379
  readonly value: "TEXT";
414
380
  readonly labelKey: "order.displaySystem.editor.values.itemText";
@@ -457,8 +423,8 @@ export declare const DISPLAY_BLOCK_DEFINITIONS: readonly [{
457
423
  }];
458
424
  };
459
425
  readonly minZone: {
460
- readonly widthPercent: 15;
461
- readonly heightPercent: 15;
426
+ widthPercent: number;
427
+ heightPercent: number;
462
428
  };
463
429
  }, {
464
430
  readonly type: "info.text";