sprof 0.0.61 → 0.0.63

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
- import { default as IWithId } from '../../interfaces/IWithId';
2
1
  import { Constructable } from '../../helpers/Classes';
2
+ import { default as IWithId } from '../../interfaces/IWithId';
3
3
  interface IWithUser<UserT> {
4
4
  user?: UserT;
5
5
  }
@@ -13,7 +13,6 @@ export default class Classes {
13
13
  static RemoveFromClassById(id: string | undefined, arrayFromDelete: IWithId[], arrayForDelete?: string[]): string | undefined;
14
14
  private static RemoveFromClass;
15
15
  static GetPropertyName<T extends ClassType>(obj: Constructable<T>): T;
16
- static CreateUUID(): string;
17
16
  static InitClassInstance(passedClass: ClassType, arg?: ClassType): ClassType;
18
17
  static ExistsWithId(arr: IWithId[], id?: string): boolean;
19
18
  }
@@ -0,0 +1,4 @@
1
+ export default class Id {
2
+ static UUID(): string;
3
+ static GUID(): string;
4
+ }
@@ -12,7 +12,6 @@ export default abstract class Strings {
12
12
  static WrapSubStr(text: string, subStr: string): string;
13
13
  static GetVariants(s: string): string[];
14
14
  static ContainsNum(str: string): boolean;
15
- static CreateGuid(): string;
16
15
  static JoinSnake(...str: string[]): string;
17
16
  static GetDynamicCountName(array: Array<unknown>, titles: string[]): string;
18
17
  }
@@ -1,10 +1,4 @@
1
- import { default as Contact } from '../classes/Contact';
2
- import { default as Email } from '../classes/Email';
3
- import { default as FilterModel } from '../classes/filters/FilterModel';
4
1
  import { default as FTSP } from '../classes/filters/FTSP';
5
- import { default as SortModel } from '../classes/SortModel';
6
- import { default as Button } from '../classes/ui/Button';
7
- import { default as ValueType } from '../classes/ValueType';
8
2
  import { Sizes } from '../types/Sizes';
9
3
  import { Statuses } from '../types/Statuses';
10
4
  import { default as Arrays } from './Arrays';
@@ -13,6 +7,7 @@ import { default as BaseStore } from './BaseStore';
13
7
  import { default as Cache } from './Cache';
14
8
  import { default as CarouselSwipe } from './CarouselSwipe';
15
9
  import { default as Hooks } from './Hooks';
10
+ import { default as Id } from './Id';
16
11
  import { default as Color } from './Color';
17
12
  import { default as CreateSortModels } from './CreateSortModels';
18
13
  import { default as Cursor } from './Cursor';
@@ -41,4 +36,4 @@ import { default as validate } from './validate';
41
36
  import { default as WaitElement } from './WaitElement';
42
37
  import { default as WebSocketClient } from './WebSocketClient';
43
38
  export { default as Classes } from './Classes';
44
- export { Arrays, Axios, BaseStore, Button, Cache, CarouselSwipe, Color, Contact, CreateSortModels, Cursor, DateMask, Dates, Dragger, Email, Extension, Favourite, FilterModel, FTSP, Hooks, HttpClient, MakeCarousel, Period, PhoneService, Rating, Router, RouterGuard, Scheduler, Scroll, Sizes, Sorter, SortModel, Static, Statuses, Strings, Time, Timer, Token, useConfirmLeavePage, validate, ValueType, WaitElement, WebSocketClient, };
39
+ export { Arrays, Axios, BaseStore, Cache, CarouselSwipe, Color, CreateSortModels, Cursor, DateMask, Dates, Dragger, Extension, Favourite, FTSP, Hooks, HttpClient, Id, MakeCarousel, Period, PhoneService, Rating, Router, RouterGuard, Scheduler, Scroll, Sizes, Sorter, Static, Statuses, Strings, Time, Timer, Token, useConfirmLeavePage, validate, WaitElement, WebSocketClient, };
@@ -32,7 +32,7 @@ declare class AdminUI {
32
32
  id: string;
33
33
  disabled: boolean;
34
34
  }[];
35
- Set: (title: (string | (() => string) | globalThis.ComputedRef<any>) | undefined, buttons: import('..').Button[]) => void;
35
+ Set: (title: (string | (() => string) | globalThis.ComputedRef<any>) | undefined, buttons: import('.').Btn[]) => void;
36
36
  };
37
37
  }
38
38
  declare const _default: AdminUI;
@@ -2,3 +2,4 @@ export { default as Admin } from './AdminUI';
2
2
  export { default as Dialog } from './Dialog';
3
3
  export { default as Loading } from './Loading';
4
4
  export { default as Notify } from './Notify';
5
+ export { default as Btn } from '../../classes/ui/Button';
@@ -1,5 +1,6 @@
1
1
  import * as C from '@/core/classes/index';
2
2
  import * as H from '@/core/helpers/index';
3
+ import * as UI from '@/core/helpers/ui/index';
3
4
  import * as S from '@/core/store/index';
4
5
  export default abstract class PF {
5
6
  static Auth: {
@@ -75,7 +76,7 @@ export default abstract class PF {
75
76
  id: string;
76
77
  disabled: boolean;
77
78
  }[];
78
- Set: (title: (string | (() => string) | globalThis.ComputedRef<any>) | undefined, buttons: H.Button[]) => void;
79
+ Set: (title: (string | (() => string) | globalThis.ComputedRef<any>) | undefined, buttons: UI.Btn[]) => void;
79
80
  };
80
81
  };
81
82
  Dialog: {
@@ -141,6 +142,7 @@ export default abstract class PF {
141
142
  show: () => void;
142
143
  IsVisible: () => boolean;
143
144
  };
145
+ Btn: typeof UI.Btn;
144
146
  };
145
147
  static Paginator: {
146
148
  limit: number;
@@ -1,5 +1,5 @@
1
- import { default as Buildings } from '../classes/Building';
2
1
  import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ import { default as Buildings } from '../classes/Building';
3
3
  declare class S extends BaseStore<Buildings> {
4
4
  constructor();
5
5
  }
@@ -4,4 +4,5 @@ export default class Inn {
4
4
  num: string;
5
5
  fileInfoId?: string;
6
6
  fileInfo: FileInfo;
7
+ constructor(i?: Inn);
7
8
  }
@@ -1,5 +1,5 @@
1
- import { default as ColorTheme } from '../../settings/classes/ColorTheme';
2
1
  import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ import { default as ColorTheme } from '../../settings/classes/ColorTheme';
3
3
  declare class S extends BaseStore<ColorTheme> {
4
4
  constructor();
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as AnswerVariant } from '../classes/AnswerVariant';
2
1
  import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ import { default as AnswerVariant } from '../classes/AnswerVariant';
3
3
  declare class S extends BaseStore<AnswerVariant> {
4
4
  constructor();
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as Field } from '../classes/Field';
2
1
  import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ import { default as Field } from '../classes/Field';
3
3
  declare class S extends BaseStore<Field> {
4
4
  constructor();
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as FormFill } from '../classes/FormFill';
2
1
  import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ import { default as FormFill } from '../classes/FormFill';
3
3
  declare class S extends BaseStore<FormFill> {
4
4
  constructor();
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as FormSection } from '../classes/FormSection';
2
1
  import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ import { default as FormSection } from '../classes/FormSection';
3
3
  declare class S extends BaseStore<FormSection> {
4
4
  constructor();
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as Form } from '../classes/Form';
2
1
  import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ import { default as Form } from '../classes/Form';
3
3
  declare class S extends BaseStore<Form> {
4
4
  constructor();
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as SelectedAnswerVariant } from '../classes/SelectedAnswerVariant';
2
1
  import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ import { default as SelectedAnswerVariant } from '../classes/SelectedAnswerVariant';
3
3
  declare class S extends BaseStore<SelectedAnswerVariant> {
4
4
  constructor();
5
5
  }
@@ -1,5 +1,5 @@
1
- import { default as ColorTheme } from '../classes/ColorTheme';
2
1
  import { default as BaseStore } from '../../../core/helpers/BaseStore';
2
+ import { default as ColorTheme } from '../classes/ColorTheme';
3
3
  declare class S extends BaseStore<ColorTheme> {
4
4
  constructor();
5
5
  }