beca-ui 2.0.19-beta.84 → 2.0.19-beta.86

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,8 +1,8 @@
1
1
  import React from "react";
2
- export interface IMenuModel extends IMenuChildModel {
3
- children?: IMenuChildModel[];
2
+ export interface MenuModel extends MenuChildModel {
3
+ children?: MenuChildModel[];
4
4
  }
5
- export interface IMenuChildModel {
5
+ export interface MenuChildModel {
6
6
  id?: string;
7
7
  title: string | React.ReactNode;
8
8
  label?: React.ReactNode;
@@ -0,0 +1,5 @@
1
+ import { MenuModel } from ".";
2
+ export interface SideBarMenuModel {
3
+ name: string;
4
+ menus: MenuModel[];
5
+ }
@@ -1,2 +1,2 @@
1
- export * from "./ISideBarMenuModel";
2
- export * from "./IMenuModel";
1
+ export * from "./SideBarMenuModel";
2
+ export * from "./MenuModel";
@@ -1,4 +1,4 @@
1
- export interface IPersonalProfileModel {
1
+ export interface PersonalProfileModel {
2
2
  accountId?: string;
3
3
  accountName?: string;
4
4
  name?: string;
@@ -0,0 +1,8 @@
1
+ import { PersonalProfileModel } from "./PersonalProfileModel";
2
+ export interface SupportContactModel {
3
+ title: string;
4
+ phoneNumber: string;
5
+ personalProfileId: number;
6
+ personalProfile: PersonalProfileModel;
7
+ personalProfileName?: string;
8
+ }
@@ -1,6 +1,6 @@
1
1
  export * from "./Session";
2
2
  export * from "./Layout";
3
3
  export * from "./Core";
4
- export * from "./IPersonalProfileModel";
5
- export * from "./ISupportContactModel";
4
+ export * from "./PersonalProfileModel";
5
+ export * from "./SupportContactModel";
6
6
  export * from "./NotificationModel";
@@ -1,11 +1,11 @@
1
- import { IMenuModel, ISideBarMenuModel } from "../models";
1
+ import { MenuModel, SideBarMenuModel } from "../models";
2
2
  interface GetMenusProps {
3
3
  name: string;
4
- menus: ISideBarMenuModel[];
4
+ menus: SideBarMenuModel[];
5
5
  defaultMenu: string;
6
6
  }
7
7
  export declare class LayoutService {
8
- static getMenus: (data: GetMenusProps) => IMenuModel[];
8
+ static getMenus: (data: GetMenusProps) => MenuModel[];
9
9
  static getPlatform: (customNavigator?: Navigator) => "Chrome" | "Firefox" | "Safari" | "" | "iOS";
10
10
  }
11
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "2.0.19-beta.84",
3
+ "version": "2.0.19-beta.86",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -1,8 +0,0 @@
1
- import { IPersonalProfileModel } from "./IPersonalProfileModel";
2
- export interface ISupportContactModel {
3
- title: string;
4
- phoneNumber: string;
5
- personalProfileId: number;
6
- personalProfile: IPersonalProfileModel;
7
- personalProfileName?: string;
8
- }
@@ -1,5 +0,0 @@
1
- import { IMenuModel } from ".";
2
- export interface ISideBarMenuModel {
3
- name: string;
4
- menus: IMenuModel[];
5
- }