@feedmepos/mf-common 1.15.0 → 1.16.0-beta.2
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/CustomAttributesForm-c9df2510.js +93 -0
- package/dist/Entry.vue.d.ts.map +1 -1
- package/dist/ItemSelector-c0733e65.js +24762 -0
- package/dist/RestaurantSelector-79a2b70f.js +217 -0
- package/dist/api/index.d.ts +2 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/menu.d.ts +7 -0
- package/dist/api/menu.d.ts.map +1 -0
- package/dist/app-f61631fd.js +7848 -0
- package/dist/app-fb5d961e.js +38699 -0
- package/dist/app.d.ts +164 -3
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +27 -46207
- package/dist/components/ItemSelector.vue.d.ts +42 -0
- package/dist/components/ItemSelector.vue.d.ts.map +1 -0
- package/dist/components/RestaurantSelector.vue.d.ts +9 -2
- package/dist/components/RestaurantSelector.vue.d.ts.map +1 -1
- package/dist/composables/search.d.ts +6 -0
- package/dist/composables/search.d.ts.map +1 -0
- package/dist/object-27ce045b.js +16 -0
- package/dist/stores/menu.d.ts +7231 -0
- package/dist/stores/menu.d.ts.map +1 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +3 -2
package/dist/app.d.ts
CHANGED
@@ -163,6 +163,9 @@ export declare const portalShellI18nMessages: {
|
|
163
163
|
restaurantTaggingFilter: string;
|
164
164
|
resetFilter: string;
|
165
165
|
};
|
166
|
+
itemSelector: {
|
167
|
+
productsSelected: string;
|
168
|
+
};
|
166
169
|
};
|
167
170
|
};
|
168
171
|
};
|
@@ -314,6 +317,9 @@ export declare const portalShellI18nMessages: {
|
|
314
317
|
restaurantTaggingFilter: string;
|
315
318
|
resetFilter: string;
|
316
319
|
};
|
320
|
+
itemSelector: {
|
321
|
+
productsSelected: string;
|
322
|
+
};
|
317
323
|
};
|
318
324
|
};
|
319
325
|
};
|
@@ -326,7 +332,162 @@ export { setEnabledLocales } from "./composables/useLocale";
|
|
326
332
|
export { useLocale } from "./composables/useLocale";
|
327
333
|
export declare function detectLocale(): string;
|
328
334
|
export { installBusinessQueryStatePlugin } from "./router/query";
|
329
|
-
export
|
330
|
-
|
331
|
-
|
335
|
+
export declare const CustomAttributesForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
336
|
+
entity: {
|
337
|
+
type: import("vue").PropType<"restaurant" | "item">;
|
338
|
+
required: true;
|
339
|
+
};
|
340
|
+
modelValue: {
|
341
|
+
type: import("vue").PropType<import("./components/attribute/CustomAttributesForm.vue").CustomAttributes>;
|
342
|
+
required: true;
|
343
|
+
};
|
344
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
345
|
+
"update:modelValue": (value: import("./components/attribute/CustomAttributesForm.vue").CustomAttributes) => void;
|
346
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
347
|
+
entity: {
|
348
|
+
type: import("vue").PropType<"restaurant" | "item">;
|
349
|
+
required: true;
|
350
|
+
};
|
351
|
+
modelValue: {
|
352
|
+
type: import("vue").PropType<import("./components/attribute/CustomAttributesForm.vue").CustomAttributes>;
|
353
|
+
required: true;
|
354
|
+
};
|
355
|
+
}>> & Readonly<{
|
356
|
+
"onUpdate:modelValue"?: ((value: import("./components/attribute/CustomAttributesForm.vue").CustomAttributes) => any) | undefined;
|
357
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
358
|
+
export declare const RestaurantSelector: {
|
359
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
360
|
+
modelValue: import("vue").PropType<string | string[] | null | undefined>;
|
361
|
+
disabled: {
|
362
|
+
type: import("vue").PropType<boolean>;
|
363
|
+
default: boolean;
|
364
|
+
};
|
365
|
+
multiple: {
|
366
|
+
type: import("vue").PropType<boolean>;
|
367
|
+
default: boolean;
|
368
|
+
};
|
369
|
+
excludeRestaurants: {
|
370
|
+
type: import("vue").PropType<string[]>;
|
371
|
+
};
|
372
|
+
managableOnly: {
|
373
|
+
type: import("vue").PropType<boolean>;
|
374
|
+
default: boolean;
|
375
|
+
};
|
376
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
377
|
+
disabled: boolean;
|
378
|
+
multiple: boolean;
|
379
|
+
managableOnly: boolean;
|
380
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
381
|
+
P: {};
|
382
|
+
B: {};
|
383
|
+
D: {};
|
384
|
+
C: {};
|
385
|
+
M: {};
|
386
|
+
Defaults: {};
|
387
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
388
|
+
modelValue: import("vue").PropType<string | string[] | null | undefined>;
|
389
|
+
disabled: {
|
390
|
+
type: import("vue").PropType<boolean>;
|
391
|
+
default: boolean;
|
392
|
+
};
|
393
|
+
multiple: {
|
394
|
+
type: import("vue").PropType<boolean>;
|
395
|
+
default: boolean;
|
396
|
+
};
|
397
|
+
excludeRestaurants: {
|
398
|
+
type: import("vue").PropType<string[]>;
|
399
|
+
};
|
400
|
+
managableOnly: {
|
401
|
+
type: import("vue").PropType<boolean>;
|
402
|
+
default: boolean;
|
403
|
+
};
|
404
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
405
|
+
disabled: boolean;
|
406
|
+
multiple: boolean;
|
407
|
+
managableOnly: boolean;
|
408
|
+
}>;
|
409
|
+
__isFragment?: undefined;
|
410
|
+
__isTeleport?: undefined;
|
411
|
+
__isSuspense?: undefined;
|
412
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
413
|
+
modelValue: import("vue").PropType<string | string[] | null | undefined>;
|
414
|
+
disabled: {
|
415
|
+
type: import("vue").PropType<boolean>;
|
416
|
+
default: boolean;
|
417
|
+
};
|
418
|
+
multiple: {
|
419
|
+
type: import("vue").PropType<boolean>;
|
420
|
+
default: boolean;
|
421
|
+
};
|
422
|
+
excludeRestaurants: {
|
423
|
+
type: import("vue").PropType<string[]>;
|
424
|
+
};
|
425
|
+
managableOnly: {
|
426
|
+
type: import("vue").PropType<boolean>;
|
427
|
+
default: boolean;
|
428
|
+
};
|
429
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
430
|
+
disabled: boolean;
|
431
|
+
multiple: boolean;
|
432
|
+
managableOnly: boolean;
|
433
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
434
|
+
$slots: {
|
435
|
+
"append-right"?(_: {}): any;
|
436
|
+
};
|
437
|
+
});
|
438
|
+
export declare const ItemSelector: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
439
|
+
data: {
|
440
|
+
type: import("vue").PropType<Record<string, {
|
441
|
+
_id: string;
|
442
|
+
combinationKey?: string | null | undefined;
|
443
|
+
}[]>>;
|
444
|
+
required: true;
|
445
|
+
};
|
446
|
+
autoFocusSearch: {
|
447
|
+
type: import("vue").PropType<boolean>;
|
448
|
+
default: boolean;
|
449
|
+
};
|
450
|
+
selectVariant: {
|
451
|
+
type: import("vue").PropType<boolean>;
|
452
|
+
};
|
453
|
+
showVariant: {
|
454
|
+
type: import("vue").PropType<boolean>;
|
455
|
+
};
|
456
|
+
categorizedItems: {
|
457
|
+
type: import("vue").PropType<import("./stores/menu").CategorizedItem[]>;
|
458
|
+
};
|
459
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
460
|
+
"update:data": (value: Record<string, {
|
461
|
+
_id: string;
|
462
|
+
combinationKey?: string | null | undefined;
|
463
|
+
}[]>) => void;
|
464
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
465
|
+
data: {
|
466
|
+
type: import("vue").PropType<Record<string, {
|
467
|
+
_id: string;
|
468
|
+
combinationKey?: string | null | undefined;
|
469
|
+
}[]>>;
|
470
|
+
required: true;
|
471
|
+
};
|
472
|
+
autoFocusSearch: {
|
473
|
+
type: import("vue").PropType<boolean>;
|
474
|
+
default: boolean;
|
475
|
+
};
|
476
|
+
selectVariant: {
|
477
|
+
type: import("vue").PropType<boolean>;
|
478
|
+
};
|
479
|
+
showVariant: {
|
480
|
+
type: import("vue").PropType<boolean>;
|
481
|
+
};
|
482
|
+
categorizedItems: {
|
483
|
+
type: import("vue").PropType<import("./stores/menu").CategorizedItem[]>;
|
484
|
+
};
|
485
|
+
}>> & Readonly<{
|
486
|
+
"onUpdate:data"?: ((value: Record<string, {
|
487
|
+
_id: string;
|
488
|
+
combinationKey?: string | null | undefined;
|
489
|
+
}[]>) => any) | undefined;
|
490
|
+
}>, {
|
491
|
+
autoFocusSearch: boolean;
|
492
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
332
493
|
//# sourceMappingURL=app.d.ts.map
|
package/dist/app.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/app.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,IAAI,MAAM,sBAAsB,CAAA;AAEvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAGxD,wBAAgB,UAAU,CAAC,QAAQ,EAAE,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