sprof 0.0.67 → 0.0.68

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,8 +5,8 @@ import { default as Arrays } from './Arrays';
5
5
  import { default as Axios } from './Axios';
6
6
  import { default as Cache } from './Cache';
7
7
  import { default as CarouselSwipe } from './CarouselSwipe';
8
- import { default as Hooks } from './Hooks';
9
8
  import { default as Id } from './Id';
9
+ import { default as Phone } from '../classes/Phone';
10
10
  import { default as BaseStore } from './BaseStore';
11
11
  import { default as Color } from './Color';
12
12
  import { default as CreateSortModels } from './CreateSortModels';
@@ -15,7 +15,6 @@ import { default as DateMask } from './DateMask';
15
15
  import { default as Dates } from './Dates';
16
16
  import { default as Dragger } from './Dragger';
17
17
  import { default as Extension } from './Extension';
18
- import { default as Favourite } from './Favourite';
19
18
  import { default as HttpClient } from './HttpClient';
20
19
  import { default as MakeCarousel } from './MakeCarousel';
21
20
  import { default as Period } from './Period';
@@ -30,10 +29,64 @@ import { default as Static } from './Static';
30
29
  import { default as Strings } from './Strings';
31
30
  import { default as Time } from './Time';
32
31
  import { default as Timer } from './Timer';
33
- import { default as Token } from './Token';
34
- import { default as useConfirmLeavePage } from './useConfirmLeavePage';
35
32
  import { default as validate } from './validate';
36
- import { default as WaitElement } from './WaitElement';
37
33
  import { default as WebSocketClient } from './WebSocketClient';
38
34
  export { default as Classes } from './Classes';
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, };
35
+ export default abstract class H {
36
+ Arrays: typeof Arrays;
37
+ Axios: typeof Axios;
38
+ BaseStore: typeof BaseStore;
39
+ Phone: typeof Phone;
40
+ Cache: typeof Cache;
41
+ CarouselSwipe: typeof CarouselSwipe;
42
+ Color: typeof Color;
43
+ CreateSortModels: typeof CreateSortModels;
44
+ Cursor: typeof Cursor;
45
+ DateMask: typeof DateMask;
46
+ Dates: typeof Dates;
47
+ Dragger: typeof Dragger;
48
+ Extension: typeof Extension;
49
+ Favourite: {
50
+ addToFavourite: (domain: string, id: string) => void;
51
+ removeFromFavourite: (domain: string, id: string) => void;
52
+ setFavourite: (domain: string, id: (string | undefined)[]) => void;
53
+ isFavourite: (domain: string, id: string) => boolean;
54
+ clearFavourite: () => void;
55
+ };
56
+ FTSP: typeof FTSP;
57
+ Hooks: {
58
+ onBeforeMount: (f: (param?: string | import('../classes/filters/FilterQuery').default | undefined) => void | Promise<void>, options?: import('./Hooks').IHooksOptions | undefined) => void;
59
+ onBeforeRouteLeave: (submitFunction?: CallableFunction | undefined) => void;
60
+ submit: (submitFunction?: CallableFunction | undefined) => () => Promise<void>;
61
+ };
62
+ HttpClient: typeof HttpClient;
63
+ Id: typeof Id;
64
+ MakeCarousel: typeof MakeCarousel;
65
+ Period: typeof Period;
66
+ PhoneService: typeof PhoneService;
67
+ Rating: typeof Rating;
68
+ Router: typeof Router;
69
+ RouterGuard: typeof RouterGuard;
70
+ Scheduler: typeof Scheduler;
71
+ Scroll: typeof Scroll;
72
+ Sizes: typeof Sizes;
73
+ Sorter: typeof Sorter;
74
+ Static: typeof Static;
75
+ Statuses: typeof Statuses;
76
+ Strings: typeof Strings;
77
+ Time: typeof Time;
78
+ Timer: typeof Timer;
79
+ Token: {
80
+ isAuth: () => boolean;
81
+ setTokens: (tokenObj: import('../interfaces/ITokens').default) => void;
82
+ getAccessToken: () => string | null;
83
+ getRefreshToken: () => string | null;
84
+ getUserId: () => any;
85
+ clearTokens: () => void;
86
+ getUser: () => any;
87
+ updateHuman: (human: import('../classes').Human) => void;
88
+ };
89
+ validate: typeof validate;
90
+ WaitElement: (selector: string) => Promise<unknown>;
91
+ WebSocketClient: typeof WebSocketClient;
92
+ }
@@ -26,7 +26,7 @@ declare class AdminUI {
26
26
  title: any;
27
27
  buttons: {
28
28
  text: string | undefined;
29
- type?: import('..').Statuses | undefined;
29
+ type?: import('../../types/Statuses').Statuses | undefined;
30
30
  condition?: boolean | undefined;
31
31
  action?: (((next?: import('vue-router').NavigationGuardNext | undefined) => Promise<void>) | (() => Promise<void>) | (() => void)) | undefined;
32
32
  id: string;
@@ -1,5 +1,5 @@
1
+ import { default as H } from './helpers/index';
1
2
  import * as C from '@/core/classes/index';
2
- import * as H from '@/core/helpers/index';
3
3
  import * as UI from '@/core/helpers/ui/index';
4
4
  import * as S from '@/core/store/index';
5
5
  export default abstract class PF {
@@ -70,7 +70,7 @@ export default abstract class PF {
70
70
  title: any;
71
71
  buttons: {
72
72
  text: string | undefined;
73
- type?: H.Statuses | undefined;
73
+ type?: import('./types/Statuses').Statuses | undefined;
74
74
  condition?: boolean | undefined;
75
75
  action?: (((next?: import('vue-router').NavigationGuardNext | undefined) => Promise<void>) | (() => Promise<void>) | (() => void)) | undefined;
76
76
  id: string;
@@ -95,12 +95,12 @@ export default abstract class PF {
95
95
  Submit: () => void;
96
96
  Cancel: () => void;
97
97
  hide: () => void;
98
- type: H.Statuses;
98
+ type: import('./types/Statuses').Statuses;
99
99
  text: string;
100
100
  title: string;
101
101
  GetText: () => string;
102
102
  GetTitle: () => string;
103
- GetType: () => H.Statuses;
103
+ GetType: () => import('./types/Statuses').Statuses;
104
104
  Info: (m: string | import('./helpers/Message').MessageOpts) => void;
105
105
  Success: (m: string | import('./helpers/Message').MessageOpts) => void;
106
106
  Error: (m: string | import('./helpers/Message').MessageOpts) => void;
@@ -122,16 +122,16 @@ export default abstract class PF {
122
122
  duration: number;
123
123
  showMessage: (m: string | (import('./helpers/Message').MessageOpts & {
124
124
  duration: number;
125
- }), t: H.Statuses) => void;
125
+ }), t: import('./types/Statuses').Statuses) => void;
126
126
  GetDuration: () => number;
127
127
  Dev: () => void;
128
128
  Save: () => void;
129
- type: H.Statuses;
129
+ type: import('./types/Statuses').Statuses;
130
130
  text: string;
131
131
  title: string;
132
132
  GetText: () => string;
133
133
  GetTitle: () => string;
134
- GetType: () => H.Statuses;
134
+ GetType: () => import('./types/Statuses').Statuses;
135
135
  Info: (m: string | import('./helpers/Message').MessageOpts) => void;
136
136
  Success: (m: string | import('./helpers/Message').MessageOpts) => void;
137
137
  Error: (m: string | import('./helpers/Message').MessageOpts) => void;
package/dist/index.d.ts CHANGED
@@ -89,7 +89,6 @@ declare const servicesComponents: {
89
89
  component: (a: string, b: unknown) => void;
90
90
  }) => void;
91
91
  };
92
- export * from './core/helpers/index';
93
92
  export * from './index';
94
93
  export * as PFM from './modules/index';
95
94
  declare const pfName: string[];