@bexis2/bexis2-core-ui
Version:
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
35 lines (34 loc) • 2.12 kB
TypeScript
import type { helpItemType, helpStoreType, notificationItemType, notificationStoreType } from '../models/Models';
import type { MenuModel, breadcrumbItemType } from '../models/Page';
import { BreadcrumbModel } from '../models/Page';
export declare const helpStore: {
subscribe: (this: void, run: import("svelte/store").Subscriber<helpStoreType>, invalidate?: import("svelte/store").Invalidator<helpStoreType> | undefined) => import("svelte/store").Unsubscriber;
set: (this: void, value: helpStoreType) => void;
update: (this: void, updater: import("svelte/store").Updater<helpStoreType>) => void;
setHelpItemList: (helpItems: helpItemType[]) => void;
setItemId: (itemId: string) => void;
resetItemId: () => void;
show: (itemId: string) => void;
showHelpItem: (helpItem: helpItemType) => void;
hide: () => void;
toggle: (itemId: string) => void;
reset: () => void;
clear: () => void;
};
export declare const menuStore: import("svelte/store").Writable<MenuModel>;
export declare const breadcrumbStore: {
subscribe: (this: void, run: import("svelte/store").Subscriber<BreadcrumbModel>, invalidate?: import("svelte/store").Invalidator<BreadcrumbModel> | undefined) => import("svelte/store").Unsubscriber;
set: (this: void, value: BreadcrumbModel) => void;
update: (this: void, updater: import("svelte/store").Updater<BreadcrumbModel>) => void;
addItem: (item: breadcrumbItemType) => void;
updateItem: (item: breadcrumbItemType) => void;
clean: () => void;
};
export declare const notificationStore: {
subscribe: (this: void, run: import("svelte/store").Subscriber<notificationStoreType>, invalidate?: import("svelte/store").Invalidator<notificationStoreType> | undefined) => import("svelte/store").Unsubscriber;
set: (this: void, value: notificationStoreType) => void;
update: (this: void, updater: import("svelte/store").Updater<notificationStoreType>) => void;
setNotification: (notificationItem: notificationItemType) => void;
showNotification: (notificationItem: notificationItemType) => void;
getBtnStyle: () => string;
};