@feedmepos/mf-common 1.16.0-beta.1 → 1.16.0-beta.3

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.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,172 @@ 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 { default as CustomAttributesForm } from "./components/attribute/CustomAttributesForm.vue";
330
- export { default as MongoQueryBuilder } from "./components/attribute/MongoQueryBuilder.vue";
331
- export { default as RestaurantSelector } from "./components/RestaurantSelector.vue";
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
+ valueOptions: {
345
+ type: import("vue").PropType<{
346
+ [key: string]: string[];
347
+ }>;
348
+ };
349
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
350
+ "update:modelValue": (value: import("./components/attribute/CustomAttributesForm.vue").CustomAttributes) => void;
351
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
352
+ entity: {
353
+ type: import("vue").PropType<"restaurant" | "item">;
354
+ required: true;
355
+ };
356
+ modelValue: {
357
+ type: import("vue").PropType<import("./components/attribute/CustomAttributesForm.vue").CustomAttributes>;
358
+ required: true;
359
+ };
360
+ valueOptions: {
361
+ type: import("vue").PropType<{
362
+ [key: string]: string[];
363
+ }>;
364
+ };
365
+ }>> & Readonly<{
366
+ "onUpdate:modelValue"?: ((value: import("./components/attribute/CustomAttributesForm.vue").CustomAttributes) => any) | undefined;
367
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
368
+ export declare const RestaurantSelector: {
369
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
370
+ modelValue: import("vue").PropType<string | string[] | null | undefined>;
371
+ disabled: {
372
+ type: import("vue").PropType<boolean>;
373
+ default: boolean;
374
+ };
375
+ multiple: {
376
+ type: import("vue").PropType<boolean>;
377
+ default: boolean;
378
+ };
379
+ excludeRestaurants: {
380
+ type: import("vue").PropType<string[]>;
381
+ };
382
+ managableOnly: {
383
+ type: import("vue").PropType<boolean>;
384
+ default: boolean;
385
+ };
386
+ }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
387
+ disabled: boolean;
388
+ multiple: boolean;
389
+ managableOnly: boolean;
390
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
391
+ P: {};
392
+ B: {};
393
+ D: {};
394
+ C: {};
395
+ M: {};
396
+ Defaults: {};
397
+ }, Readonly<import("vue").ExtractPropTypes<{
398
+ modelValue: import("vue").PropType<string | string[] | null | undefined>;
399
+ disabled: {
400
+ type: import("vue").PropType<boolean>;
401
+ default: boolean;
402
+ };
403
+ multiple: {
404
+ type: import("vue").PropType<boolean>;
405
+ default: boolean;
406
+ };
407
+ excludeRestaurants: {
408
+ type: import("vue").PropType<string[]>;
409
+ };
410
+ managableOnly: {
411
+ type: import("vue").PropType<boolean>;
412
+ default: boolean;
413
+ };
414
+ }>> & Readonly<{}>, {}, {}, {}, {}, {
415
+ disabled: boolean;
416
+ multiple: boolean;
417
+ managableOnly: boolean;
418
+ }>;
419
+ __isFragment?: undefined;
420
+ __isTeleport?: undefined;
421
+ __isSuspense?: undefined;
422
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
423
+ modelValue: import("vue").PropType<string | string[] | null | undefined>;
424
+ disabled: {
425
+ type: import("vue").PropType<boolean>;
426
+ default: boolean;
427
+ };
428
+ multiple: {
429
+ type: import("vue").PropType<boolean>;
430
+ default: boolean;
431
+ };
432
+ excludeRestaurants: {
433
+ type: import("vue").PropType<string[]>;
434
+ };
435
+ managableOnly: {
436
+ type: import("vue").PropType<boolean>;
437
+ default: boolean;
438
+ };
439
+ }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
440
+ disabled: boolean;
441
+ multiple: boolean;
442
+ managableOnly: boolean;
443
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
444
+ $slots: {
445
+ "append-right"?(_: {}): any;
446
+ };
447
+ });
448
+ export declare const ItemSelector: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
449
+ data: {
450
+ type: import("vue").PropType<Record<string, {
451
+ _id: string;
452
+ combinationKey?: string | null | undefined;
453
+ }[]>>;
454
+ required: true;
455
+ };
456
+ autoFocusSearch: {
457
+ type: import("vue").PropType<boolean>;
458
+ default: boolean;
459
+ };
460
+ selectVariant: {
461
+ type: import("vue").PropType<boolean>;
462
+ };
463
+ showVariant: {
464
+ type: import("vue").PropType<boolean>;
465
+ };
466
+ categorizedItems: {
467
+ type: import("vue").PropType<import("./stores/menu").CategorizedItem[]>;
468
+ };
469
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
470
+ "update:data": (value: Record<string, {
471
+ _id: string;
472
+ combinationKey?: string | null | undefined;
473
+ }[]>) => void;
474
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
475
+ data: {
476
+ type: import("vue").PropType<Record<string, {
477
+ _id: string;
478
+ combinationKey?: string | null | undefined;
479
+ }[]>>;
480
+ required: true;
481
+ };
482
+ autoFocusSearch: {
483
+ type: import("vue").PropType<boolean>;
484
+ default: boolean;
485
+ };
486
+ selectVariant: {
487
+ type: import("vue").PropType<boolean>;
488
+ };
489
+ showVariant: {
490
+ type: import("vue").PropType<boolean>;
491
+ };
492
+ categorizedItems: {
493
+ type: import("vue").PropType<import("./stores/menu").CategorizedItem[]>;
494
+ };
495
+ }>> & Readonly<{
496
+ "onUpdate:data"?: ((value: Record<string, {
497
+ _id: string;
498
+ combinationKey?: string | null | undefined;
499
+ }[]>) => any) | undefined;
500
+ }>, {
501
+ autoFocusSearch: boolean;
502
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
332
503
  //# 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":"AAAA,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,MAAM,EAAE,SAAS,CAAC,EAAE,WAAW,QAenE;AAED,eAAO,MAAM,kBAAkB,sCAAgC,CAAA;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAC1C,O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