@feedmepos/mf-menu 0.3.2-beta.2 → 0.3.2-beta.4

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.
@@ -1,5 +1,5 @@
1
1
  import { type CategorizedItem } from "../helper/menu";
2
2
  export declare function useCategory(): {
3
3
  categories: import("vue").ComputedRef<CategorizedItem[]>;
4
- selectedCategory: import("vue").ComputedRef<CategorizedItem | undefined>;
4
+ selectedCategories: import("vue").ComputedRef<CategorizedItem[]>;
5
5
  };
@@ -11,7 +11,7 @@ import { type UpdateMenuModuleRequest } from "@feedmepos/menu";
11
11
  interface MenuState {
12
12
  restaurants: FdtoRestaurantWithMenuV4[];
13
13
  menu: MenuV4Doc;
14
- currentCategoryId: string | null;
14
+ currentCategoryIds: (string | null)[] | null;
15
15
  currentCatalogId: string | null;
16
16
  currentSchedulerId: string | null;
17
17
  }
@@ -6358,7 +6358,7 @@ interface MenuStore {
6358
6358
  readRestaurants: () => Promise<void>;
6359
6359
  selectCatalog: (id: string | null) => void;
6360
6360
  selectScheduler: (id: string | null) => void;
6361
- selectCategory: (id: string | null) => void;
6361
+ selectCategory: (id: (string | null)[] | null) => void;
6362
6362
  migrate: () => Promise<void>;
6363
6363
  updateMenu: (data: UpdateMenuModuleRequest | UpdateMenuModuleRequest[], performValidate?: boolean) => Promise<FdtoUpdateMenuRes | void>;
6364
6364
  publishMenu: (dto: PublishForRestaurantDto) => Promise<void>;
@@ -3,7 +3,6 @@ interface Props {
3
3
  modelValue: Record<string, MappedItem>;
4
4
  originalValue: Record<string, MappedItem>;
5
5
  isCalculating: boolean;
6
- searchKey: string;
7
6
  }
8
7
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
8
  "update:model-value": (v: Record<string, MappedItem>) => void;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .chatbox[data-v-97b727dd]{padding:10px;display:flex;flex-direction:column;height:100%;width:100%;overflow-y:scroll;gap:4px}.chatbox .user-message[data-v-97b727dd]{align-self:end;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .remy-message[data-v-97b727dd]{align-self:start;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .user-name[data-v-97b727dd]{padding:4px 8px;font-size:12px;font-weight:700}.chatbox .selection-container[data-v-97b727dd]{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px}.chatbox .selection-container .selection[data-v-97b727dd]{cursor:pointer}.chatbox .message-bubble[data-v-97b727dd]{background:#f0f0f0;padding:4px 8px;border-radius:6px;line-height:20px;font-size:14px}.chatbox .select-label[data-v-97b727dd]{font-weight:700;font-size:12px;padding:4px 8px;align-self:center}.chatbox .message[data-v-97b727dd]{white-space:pre-wrap}.chatbox .spinner[data-v-97b727dd]{text-align:left}.chatbox .spinner>div[data-v-97b727dd]{width:4px;height:4px;margin:0 2px;background-color:#434343;border-radius:100%;display:inline-block;animation:sk-bouncedelay-97b727dd 1.4s infinite ease-in-out both}.chatbox .spinner .bounce1[data-v-97b727dd]{animation-delay:-.32s}.chatbox .spinner .bounce2[data-v-97b727dd]{animation-delay:-.16s}@keyframes sk-bouncedelay-97b727dd{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.expand-enter-active,.expand-leave-active{transition:.3s}.expand-enter-from{opacity:0;max-height:0}.expand-enter-to,.expand-leave-from{opacity:1;max-height:1000px}.expand-leave-to,.expand-enter-from[data-v-1dd3b185]{opacity:0;max-height:0}.expand-enter-to[data-v-1dd3b185],.expand-leave-from[data-v-1dd3b185]{opacity:1;max-height:1000px}.expand-leave-to[data-v-1dd3b185]{opacity:0;max-height:0}.expand-enter-active[data-v-1dd3b185],.expand-leave-active[data-v-1dd3b185]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.expand-enter-from[data-v-41c63da6]{opacity:0;max-height:0}.expand-enter-to[data-v-41c63da6],.expand-leave-from[data-v-41c63da6]{opacity:1;max-height:1000px}.expand-leave-to[data-v-41c63da6]{opacity:0;max-height:0}.expand-enter-active[data-v-41c63da6],.expand-leave-active[data-v-41c63da6]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fade-enter-from[data-v-225c25da]{opacity:0}.fade-enter-to[data-v-225c25da],.fade-leave-from[data-v-225c25da]{opacity:1}.fade-leave-to[data-v-225c25da]{opacity:0}.fade-enter-active[data-v-225c25da],.fade-leave-active[data-v-225c25da]{transition:opacity .3s}.app-container{background-color:#fff!important}.remy-dialog[data-v-74d74db7]{position:fixed;z-index:9999;top:25%;right:30px;background:#fff;border:1px solid lightgrey;border-radius:4px;height:50%;width:400px;max-width:90%}.remy-dialog .header[data-v-74d74db7]{background:#000;padding:0 12px;border-radius:4px 4px 0 0;height:40px}.remy-dialog .header .title[data-v-74d74db7]{color:#fff}.remy-dialog .chatbox-container[data-v-74d74db7]{height:calc(100% - 40px)}
1
+ .chatbox[data-v-97b727dd]{padding:10px;display:flex;flex-direction:column;height:100%;width:100%;overflow-y:scroll;gap:4px}.chatbox .user-message[data-v-97b727dd]{align-self:end;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .remy-message[data-v-97b727dd]{align-self:start;max-width:90%;display:flex;flex-direction:column;gap:4px}.chatbox .user-name[data-v-97b727dd]{padding:4px 8px;font-size:12px;font-weight:700}.chatbox .selection-container[data-v-97b727dd]{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px}.chatbox .selection-container .selection[data-v-97b727dd]{cursor:pointer}.chatbox .message-bubble[data-v-97b727dd]{background:#f0f0f0;padding:4px 8px;border-radius:6px;line-height:20px;font-size:14px}.chatbox .select-label[data-v-97b727dd]{font-weight:700;font-size:12px;padding:4px 8px;align-self:center}.chatbox .message[data-v-97b727dd]{white-space:pre-wrap}.chatbox .spinner[data-v-97b727dd]{text-align:left}.chatbox .spinner>div[data-v-97b727dd]{width:4px;height:4px;margin:0 2px;background-color:#434343;border-radius:100%;display:inline-block;animation:sk-bouncedelay-97b727dd 1.4s infinite ease-in-out both}.chatbox .spinner .bounce1[data-v-97b727dd]{animation-delay:-.32s}.chatbox .spinner .bounce2[data-v-97b727dd]{animation-delay:-.16s}@keyframes sk-bouncedelay-97b727dd{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.expand-enter-active,.expand-leave-active{transition:.3s}.expand-enter-from{opacity:0;max-height:0}.expand-enter-to,.expand-leave-from{opacity:1;max-height:1000px}.expand-leave-to,.expand-enter-from[data-v-1dd3b185]{opacity:0;max-height:0}.expand-enter-to[data-v-1dd3b185],.expand-leave-from[data-v-1dd3b185]{opacity:1;max-height:1000px}.expand-leave-to[data-v-1dd3b185]{opacity:0;max-height:0}.expand-enter-active[data-v-1dd3b185],.expand-leave-active[data-v-1dd3b185]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.expand-enter-from[data-v-41c63da6]{opacity:0;max-height:0}.expand-enter-to[data-v-41c63da6],.expand-leave-from[data-v-41c63da6]{opacity:1;max-height:1000px}.expand-leave-to[data-v-41c63da6]{opacity:0;max-height:0}.expand-enter-active[data-v-41c63da6],.expand-leave-active[data-v-41c63da6]{transition-property:max-height,opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.fade-enter-from[data-v-87e751b5]{opacity:0}.fade-enter-to[data-v-87e751b5],.fade-leave-from[data-v-87e751b5]{opacity:1}.fade-leave-to[data-v-87e751b5]{opacity:0}.fade-enter-active[data-v-87e751b5],.fade-leave-active[data-v-87e751b5]{transition:opacity .3s}.app-container{background-color:#fff!important}.remy-dialog[data-v-74d74db7]{position:fixed;z-index:9999;top:25%;right:30px;background:#fff;border:1px solid lightgrey;border-radius:4px;height:50%;width:400px;max-width:90%}.remy-dialog .header[data-v-74d74db7]{background:#000;padding:0 12px;border-radius:4px 4px 0 0;height:40px}.remy-dialog .header .title[data-v-74d74db7]{color:#fff}.remy-dialog .chatbox-container[data-v-74d74db7]{height:calc(100% - 40px)}