sprof 0.0.52 → 0.0.53

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.
@@ -5,7 +5,6 @@ export { default as Emails } from './EmailsStore';
5
5
  export { default as FileInfos } from './FileInfosStore';
6
6
  export { default as FTSPPresets } from './FTSPPresetsStore';
7
7
  export { default as Humans } from './HumansStore';
8
- export { default as Menus } from './MenusStore';
9
8
  export { default as Phones } from './PhonesStore';
10
9
  export { default as Schemas } from './SchemasStore';
11
10
  export { default as Search } from './SearchStore';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "sprof",
3
3
  "description": "components for the designer and uikit",
4
4
  "author": "Stanislav Lushnikov, Daniil Gaivoronskiy",
5
- "version": "0.0.52",
5
+ "version": "0.0.53",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "main": "./dist/sprof.umd.cjs",
@@ -1,35 +0,0 @@
1
- import { default as FileInfo } from './FileInfo';
2
- import { default as Page } from './page/Page';
3
- import { default as SubMenu } from './SubMenu';
4
- import { default as IFile } from '../interfaces/IFile';
5
- export default class Menu {
6
- id?: string;
7
- name: string;
8
- link: string;
9
- top: boolean;
10
- side: boolean;
11
- show: boolean;
12
- hide: boolean;
13
- active: boolean;
14
- order: number;
15
- selected: boolean;
16
- editMode: boolean;
17
- page: Page;
18
- pageId?: string;
19
- subMenus: SubMenu[];
20
- subMenusForDelete: string[];
21
- iconId?: string;
22
- icon: FileInfo;
23
- constructor(i?: Menu);
24
- getLink(): string;
25
- withoutChildren(): boolean;
26
- isLink(): boolean;
27
- isPageLink(): boolean;
28
- getFileInfos(): FileInfo[];
29
- addFile(file: File & IFile): void;
30
- addSubMenu(): void;
31
- removeSubMenu(index: number): void;
32
- setColorsForSubMenus(): void;
33
- containPath(path: string): boolean;
34
- static GetClassName(): string;
35
- }
@@ -1,10 +0,0 @@
1
- import { default as FileInfo } from './FileInfo';
2
- import { default as PageSection } from './page/PageSection';
3
- export default class PageSectionImage {
4
- id?: string;
5
- documentType: PageSection;
6
- documentTypeId?: string;
7
- order: number;
8
- constructor(i?: PageSectionImage);
9
- getFileInfos(): FileInfo[];
10
- }
@@ -1,26 +0,0 @@
1
- import { default as FileInfo } from './FileInfo';
2
- import { default as Page } from './page/Page';
3
- import { default as IFile } from '../interfaces/IFile';
4
- export default class SubMenu {
5
- id?: string;
6
- name: string;
7
- link: string;
8
- selected: boolean;
9
- hide: boolean;
10
- editMode: boolean;
11
- color: string;
12
- background: string;
13
- page: Page;
14
- pageId?: string;
15
- order: number;
16
- menuId?: string;
17
- iconId?: string;
18
- icon: FileInfo;
19
- iconName: string;
20
- svgCode: string;
21
- constructor(i?: SubMenu);
22
- getLink(): string;
23
- isLink(): boolean;
24
- isPageLink(): boolean;
25
- addFile(file: File & IFile): void;
26
- }
@@ -1,10 +0,0 @@
1
- export default class CustomSection {
2
- id: string;
3
- name: string;
4
- component: string;
5
- order?: number;
6
- active: boolean;
7
- key: number;
8
- constructor(i?: CustomSection);
9
- static Create(id: string, name: string, componentName: string, order?: number, active?: boolean): CustomSection;
10
- }
@@ -1,47 +0,0 @@
1
- import { default as Contact } from '../Contact';
2
- import { default as FileInfo } from '../FileInfo';
3
- import { default as CustomSection } from './CustomSection';
4
- import { default as PageDocument } from './PageDocument';
5
- import { default as PageImage } from './PageImage';
6
- import { default as PageSection } from './PageSection';
7
- import { default as PageSideMenu } from './PageSideMenu';
8
- import { default as Role } from '../Role';
9
- export default class Page {
10
- id?: string;
11
- title: string;
12
- content: string;
13
- slug: string;
14
- pagesGroup: string;
15
- link: string;
16
- withComments: boolean;
17
- showContacts: boolean;
18
- collaps: boolean;
19
- showContent: boolean;
20
- pageImages: PageImage[];
21
- pageImagesForDelete: string[];
22
- pageImagesNames: string[];
23
- pageSideMenus: PageSideMenu[];
24
- menus: PageSideMenu[];
25
- pageSideMenusForDelete: string[];
26
- pageSections: PageSection[];
27
- pageSectionsForDelete: string[];
28
- pageDocuments: PageDocument[];
29
- contact: Contact;
30
- contactId?: string;
31
- role: Role;
32
- roleId?: string;
33
- filterStr: string;
34
- activeMenuId: string;
35
- constructor(i?: Page);
36
- getActiveMenu(): PageSideMenu;
37
- setActiveMenuId(id: string): void;
38
- getLink(): string;
39
- getFileInfos(): FileInfo[];
40
- addSideMenu(): string;
41
- selectSideMenu(value: string, isId: boolean): void;
42
- getSelectedSideMenu(): PageSideMenu;
43
- addCustomSectionsToSideMenu(customSections: CustomSection[]): void;
44
- getPageSideMenus(): PageSideMenu[];
45
- filter(): void;
46
- static GetClassName(): string;
47
- }
@@ -1,10 +0,0 @@
1
- import { default as FileInfo } from '../FileInfo';
2
- import { default as PageSection } from './PageSection';
3
- export default class PageDocument {
4
- id?: string;
5
- document: PageSection;
6
- documentId?: string;
7
- pageId?: string;
8
- constructor(i?: PageDocument);
9
- static GetFileInfos(items: PageDocument[]): FileInfo[];
10
- }
@@ -1,9 +0,0 @@
1
- import { default as FileInfo } from '../FileInfo';
2
- export default class PageImage {
3
- id?: string;
4
- pageId?: string;
5
- fileInfoId?: string;
6
- fileInfo?: FileInfo;
7
- description?: string;
8
- constructor(i?: PageImage);
9
- }
@@ -1,29 +0,0 @@
1
- import { default as FileInfo } from '../FileInfo';
2
- import { default as PageSectionDocument } from './PageSectionDocument';
3
- import { default as PageSectionImage } from '../PageSectionImage';
4
- export default class PageSection {
5
- id?: string;
6
- name: string;
7
- singleScan: boolean;
8
- scan?: FileInfo;
9
- scanId?: string;
10
- order: number;
11
- description: string;
12
- scans: FileInfo[];
13
- scansForDelete: string[];
14
- pageSectionDocuments: PageSectionDocument[];
15
- pageSectionDocumentsForDelete: string[];
16
- pageSectionImages: PageSectionImage[];
17
- pageSectionImagesForDelete: string[];
18
- pageSideMenuId?: string;
19
- pageId?: string;
20
- text: string;
21
- documents: PageSectionDocument[];
22
- constructor(i?: PageSection);
23
- addDocument(): void;
24
- getFileInfos(): FileInfo[];
25
- infoExists(filterStr: string): boolean;
26
- getDocuments(filterStr: string): PageSectionDocument[];
27
- getDescription(filterStr: string): string;
28
- filter(filterStr: string): void;
29
- }
@@ -1,15 +0,0 @@
1
- import { default as FileInfo } from '../FileInfo';
2
- import { default as IFile } from '../../interfaces/IFile';
3
- export default class PageSectionDocument {
4
- id?: string;
5
- name: string;
6
- order: number;
7
- downloadToFile: boolean;
8
- pageSectionId?: string;
9
- scan: FileInfo;
10
- scanId?: string;
11
- constructor(i?: PageSectionDocument);
12
- getFileInfos(): FileInfo[];
13
- uploadScan(file: IFile): FileInfo;
14
- getFileName(): string;
15
- }
@@ -1,23 +0,0 @@
1
- import { default as FileInfo } from '../FileInfo';
2
- import { default as PageSection } from './PageSection';
3
- export default class PageSideMenu {
4
- id?: string;
5
- name: string;
6
- order: number;
7
- description: string;
8
- routeAnchor: string;
9
- slug: string;
10
- pageSections: PageSection[];
11
- pageSectionsForDelete: string[];
12
- showContent: boolean;
13
- pageId?: string;
14
- selected: boolean;
15
- sections: PageSection[];
16
- text: string;
17
- constructor(i?: PageSideMenu);
18
- getFileInfos(): FileInfo[];
19
- addPageSection(): void;
20
- infoExists(filterStr: string): boolean;
21
- getPageSections(filterStr: string): PageSection[];
22
- filter(filterStr: string): void;
23
- }
@@ -1,35 +0,0 @@
1
- import { default as FileInfo } from '../classes/FileInfo';
2
- import { default as Page } from '../classes/page/Page';
3
- import { default as SubMenu } from '../classes/SubMenu';
4
- import { default as IFile } from '../interfaces/IFile';
5
- export default class Menu {
6
- id?: string;
7
- name: string;
8
- link: string;
9
- top: boolean;
10
- side: boolean;
11
- show: boolean;
12
- hide: boolean;
13
- active: boolean;
14
- order: number;
15
- selected: boolean;
16
- editMode: boolean;
17
- page: Page;
18
- pageId?: string;
19
- subMenus: SubMenu[];
20
- subMenusForDelete: string[];
21
- iconId?: string;
22
- icon: FileInfo;
23
- constructor(i?: Menu);
24
- getLink(): string;
25
- withoutChildren(): boolean;
26
- isLink(): boolean;
27
- isPageLink(): boolean;
28
- getFileInfos(): FileInfo[];
29
- addFile(file: File & IFile): void;
30
- addSubMenu(): void;
31
- removeSubMenu(index: number): void;
32
- setColorsForSubMenus(): void;
33
- containPath(path: string): boolean;
34
- static GetClassName(): string;
35
- }
@@ -1,6 +0,0 @@
1
- import { default as Menu } from '../classes/Menu';
2
- declare class S extends PF.H.BaseStore<Menu> {
3
- constructor();
4
- }
5
- declare const store: S;
6
- export default store;