@feedmepos/mf-brand-app-builder 0.5.30-dev.4 → 0.5.30-dev.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-DRa_BxWB.js → App-TS80XuQW.js} +1 -1
- package/dist/{BrandkitView-DNrEYcAk.js → BrandkitView-DWu_xxd7.js} +3557 -3478
- package/dist/{BuilderView-BpOlYKuA.js → BuilderView-Bu-tIsr2.js} +2 -2
- package/dist/{ImageUpload-BAXunKn1.js → ImageUpload-vszTNId-.js} +1 -1
- package/dist/{ListRepeater-hEYo74Ob.js → ListRepeater-DxBj9otl.js} +1 -1
- package/dist/{app-DnjA7IE9.js → app-6CpxKKrF.js} +1559 -861
- package/dist/app.js +1 -1
- package/dist/brand-core/src/entity.d.ts +37 -0
- package/dist/client/merchant/src/app.d.ts +698 -0
- package/dist/client/merchant/src/stores/business/index.d.ts +24 -0
- package/dist/{main-CNBXF6SA.js → main-BFdYB_bD.js} +2 -2
- package/dist/package.json +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/app.js
CHANGED
|
@@ -101,8 +101,26 @@ export type OdsConfigEntry = {
|
|
|
101
101
|
display?: OdsDisplayConfig;
|
|
102
102
|
};
|
|
103
103
|
export type BrandkitOverrideBy = 'app' | 'kiosk';
|
|
104
|
+
/**
|
|
105
|
+
* Controls what appears at the bottom of the ODS screen.
|
|
106
|
+
*
|
|
107
|
+
* - `feedme` – Default "Powered by FeedMe" footer bar with settings on click.
|
|
108
|
+
* - `settingsIcon` – No footer bar; a floating settings gear icon appears at
|
|
109
|
+
* the bottom-right on mouse/touch activity and auto-hides
|
|
110
|
+
* after ~10 seconds of inactivity.
|
|
111
|
+
*/
|
|
112
|
+
export type OdsFooterMode = 'feedme' | 'settingsIcon';
|
|
104
113
|
export type OrderGroupingMode = 'type' | 'status';
|
|
105
114
|
export type OrderStatusBoardLayout = 'horizontal' | 'vertical';
|
|
115
|
+
/**
|
|
116
|
+
* Pre-built templates for the status board sections (preparing / ready).
|
|
117
|
+
*
|
|
118
|
+
* - `default` – Standard ODS StatusOrderSection (current behaviour).
|
|
119
|
+
* - `bordered-card` – Gold-bordered cards with inline titles, order cards with numbering + platform logos.
|
|
120
|
+
* - `floating-tab` – Gray-bordered card with a floating tab title, minimal order text grid.
|
|
121
|
+
* - `centered-pill` – Pill-shaped container with centered gold title + underline, single-column grid.
|
|
122
|
+
*/
|
|
123
|
+
export type StatusSectionTemplateName = 'default' | 'bordered-card' | 'floating-tab' | 'centered-pill';
|
|
106
124
|
export type OdsLayoutConfig = {
|
|
107
125
|
/** Background image covering the full screen, behind everything. */
|
|
108
126
|
background?: {
|
|
@@ -135,6 +153,13 @@ export type OdsLayoutConfig = {
|
|
|
135
153
|
* default: 'left'
|
|
136
154
|
*/
|
|
137
155
|
boardAlign?: 'left' | 'right' | 'center';
|
|
156
|
+
/**
|
|
157
|
+
* Footer mode for the ODS screen.
|
|
158
|
+
* - `feedme` (default): shows "Powered by FeedMe" footer bar.
|
|
159
|
+
* - `settingsIcon`: hides footer bar, shows a floating settings icon
|
|
160
|
+
* at bottom-right that auto-hides after ~10s of inactivity.
|
|
161
|
+
*/
|
|
162
|
+
footerMode?: OdsFooterMode;
|
|
138
163
|
};
|
|
139
164
|
export type OdsDisplayConfig = {
|
|
140
165
|
groupBy: OrderGroupingMode;
|
|
@@ -147,6 +172,18 @@ export type OdsDisplayConfig = {
|
|
|
147
172
|
showDeliveryIcons: boolean;
|
|
148
173
|
/** Show the In Restaurant / Delivery tabs on the order board when groupBy is 'type'. */
|
|
149
174
|
showOrderTypeTabs: boolean;
|
|
175
|
+
/** Show order count, drinks, and food statistics in the preparing section header. */
|
|
176
|
+
showOrderCount: boolean;
|
|
177
|
+
/** Show estimated waiting time in the preparing section header. Default false. */
|
|
178
|
+
showEstimatedTime: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* Named template for the horizontal status board.
|
|
181
|
+
* When set to a non-default value, replaces the entire horizontal status
|
|
182
|
+
* board content with a custom template component.
|
|
183
|
+
* Only applies when statusLayout is 'horizontal'.
|
|
184
|
+
* default: 'default'
|
|
185
|
+
*/
|
|
186
|
+
statusTemplate?: StatusSectionTemplateName;
|
|
150
187
|
};
|
|
151
188
|
export type ApplyBrandKitOptions = {
|
|
152
189
|
overrideBy?: BrandkitOverrideBy;
|