sprof 0.0.37 → 0.0.39
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.
- package/dist/classes/EmailValidator.d.ts +1 -1
- package/dist/classes/FileInfo.d.ts +1 -1
- package/dist/classes/Human.d.ts +1 -1
- package/dist/classes/PasswordValidator.d.ts +1 -1
- package/dist/classes/filters/FilterQuery.d.ts +1 -2
- package/dist/classes/index.d.ts +2 -0
- package/dist/components/Icons/IconArrowLeft.stories.d.ts +32 -39
- package/dist/components/Icons/IconCheckDefault.stories.d.ts +32 -39
- package/dist/components/Icons/IconClose.stories.d.ts +32 -39
- package/dist/components/Icons/IconEdit.stories.d.ts +32 -39
- package/dist/components/Icons/IconEmail.stories.d.ts +32 -39
- package/dist/components/Icons/IconMove.stories.d.ts +32 -39
- package/dist/components/Icons/IconPhone.stories.d.ts +32 -39
- package/dist/components/Icons/IconSearch.stories.d.ts +32 -39
- package/dist/components/Icons/IconSelectArrow.stories.d.ts +32 -39
- package/dist/components/InfoItemSelectButtons.vue.d.ts +8 -0
- package/dist/components/atoms/PCheckbox/PCheckBox.stories.d.ts +87 -94
- package/dist/components/atoms/PFlex/PFlex.stories.d.ts +184 -191
- package/dist/components/atoms/PInput/PInput.stories.d.ts +173 -180
- package/dist/components/atoms/PInputDate/PInputDate.stories.d.ts +59 -66
- package/dist/components/atoms/PLeftSlider/PLeftSlider.stories.d.ts +182 -189
- package/dist/components/atoms/PList/PList.stories.d.ts +76 -83
- package/dist/components/atoms/PListItem/PListItem.stories.d.ts +151 -166
- package/dist/components/atoms/PRadio/PRadio.stories.d.ts +96 -103
- package/dist/components/atoms/PRightSlider/PRightSlider.stories.d.ts +183 -190
- package/dist/components/atoms/PSelect/PSelect.stories.d.ts +282 -217
- package/dist/components/atoms/PSelect/PSelect.vue.d.ts +22 -0
- package/dist/components/atoms/PSticky/PSticky.stories.d.ts +97 -104
- package/dist/components/atoms/PString/PString.stories.d.ts +139 -146
- package/dist/components/atoms/PTable/PTable.storeis.d.ts +77 -84
- package/dist/components/atoms/PTextarea/PTextarea.stories.d.ts +155 -162
- package/dist/components/atoms/PTopSlider/PTopSlider.stories.d.ts +102 -109
- package/dist/components/molecules/Collapse/CollapseContainer.stories.d.ts +15 -22
- package/dist/components/molecules/Collapse/CollapseItem.stories.d.ts +113 -120
- package/dist/components/organisms/PTabs/PTabs.stories.d.ts +134 -141
- package/dist/index.d.ts +1 -5
- package/dist/interfaces/IValidator.d.ts +1 -1
- package/dist/modules/forms/classes/FieldFill.d.ts +41 -0
- package/dist/modules/forms/classes/FormFill.d.ts +1 -1
- package/dist/modules/forms/classes/index.d.ts +12 -8
- package/dist/modules/forms/components/Fields/FieldsComponentsMap.d.ts +172 -0
- package/dist/modules/forms/components/admin/Fields/FieldsEditsComponents.d.ts +51 -0
- package/dist/modules/forms/index.d.ts +2 -0
- package/dist/modules/forms/store/index.d.ts +7 -228
- package/dist/modules/index.d.ts +2 -8
- package/dist/modules/settings/index.d.ts +2 -0
- package/dist/modules/settings/store/index.d.ts +1 -2
- package/dist/services/AdminUI.d.ts +2 -2
- package/dist/services/Arrays.d.ts +2 -0
- package/dist/services/BaseRoutes.d.ts +2 -2
- package/dist/services/Dates.d.ts +27 -1
- package/dist/services/Helpers.d.ts +44 -0
- package/dist/services/PHelp.d.ts +9 -8
- package/dist/services/PHelp2.d.ts +16 -9
- package/dist/services/Rating.d.ts +7 -0
- package/dist/services/Strings.d.ts +1 -0
- package/dist/services/index.d.ts +2 -8
- package/dist/sprof.js +4197 -4558
- package/dist/sprof.umd.cjs +12 -12
- package/dist/store/Store.d.ts +13 -20
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/buildings/classes/Building.d.ts +0 -13
- package/dist/buildings/classes/Entrance.d.ts +0 -13
- package/dist/buildings/classes/Floor.d.ts +0 -6
- package/dist/buildings/router/BuildingsRoutes.d.ts +0 -6
- package/dist/buildings/store/BuildingsStore.d.ts +0 -7
- package/dist/buildings/store/index.d.ts +0 -2
- package/dist/buildings/store/indexNames.d.ts +0 -2
- package/dist/classes/DateHelper.d.ts +0 -11
- package/dist/components/RSContainer.vue.d.ts +0 -38
- package/dist/modules/buildings/components/BuildingsPage.vue.d.ts +0 -6
- package/dist/modules/buildings/router/BuildingsRoutes.d.ts +0 -6
- package/dist/modules/extracts/store/indexNames.d.ts +0 -2
- package/dist/modules/forms/classes/indexNames.d.ts +0 -2
- package/dist/modules/forms/store/indexNames.d.ts +0 -2
- package/dist/modules/indexNames.d.ts +0 -2
- package/dist/modules/settings/classes/indexNames.d.ts +0 -2
- package/dist/modules/settings/store/indexNames.d.ts +0 -2
- package/dist/services/DateFormat.d.ts +0 -32
- package/dist/services/DatesFormatter.d.ts +0 -30
- package/dist/services/brandColors.d.ts +0 -2
- package/dist/services/buildNameNumbers.d.ts +0 -1
- package/dist/services/countRating.d.ts +0 -5
- package/dist/services/moves.d.ts +0 -3
package/dist/services/PHelp.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as CoreStore } from '../store/Store';
|
|
1
2
|
export default abstract class PHelp {
|
|
2
3
|
static Auth: {
|
|
3
4
|
readonly Form: {
|
|
@@ -5,13 +6,13 @@ export default abstract class PHelp {
|
|
|
5
6
|
GetValues: () => Map<string, string>;
|
|
6
7
|
Validate: () => string[];
|
|
7
8
|
GetFields: () => import('../classes/auth/fields/AuthField').default[];
|
|
8
|
-
GetMethods: () => import('
|
|
9
|
-
Status: () => import('
|
|
9
|
+
GetMethods: () => import('../classes').AuthMethods[];
|
|
10
|
+
Status: () => import('../classes').AuthFormStatuses;
|
|
10
11
|
IsLogin: () => boolean;
|
|
11
12
|
IsRegister: () => boolean;
|
|
12
13
|
IsRestore: () => boolean;
|
|
13
14
|
IsRefresh: () => boolean;
|
|
14
|
-
SetStatus: (status: import('
|
|
15
|
+
SetStatus: (status: import('../classes').AuthFormStatuses) => void;
|
|
15
16
|
GetTitle: () => string;
|
|
16
17
|
GetButtons: () => import('../classes/auth/buttons/AuthButton').default[];
|
|
17
18
|
GetSuccessMessage: () => string;
|
|
@@ -65,13 +66,13 @@ export default abstract class PHelp {
|
|
|
65
66
|
title: any;
|
|
66
67
|
buttons: {
|
|
67
68
|
text: string | undefined;
|
|
68
|
-
type?: import('
|
|
69
|
+
type?: import('./Helpers').Statuses | undefined;
|
|
69
70
|
condition?: boolean | undefined;
|
|
70
71
|
action?: (((next?: import('vue-router').NavigationGuardNext | undefined) => Promise<void>) | (() => Promise<void>) | (() => void)) | undefined;
|
|
71
72
|
id: string;
|
|
72
73
|
disabled: boolean;
|
|
73
74
|
}[];
|
|
74
|
-
Set: (title: (string | (() => string) | globalThis.ComputedRef<any>) | undefined, buttons: import('
|
|
75
|
+
Set: (title: (string | (() => string) | globalThis.ComputedRef<any>) | undefined, buttons: import('./Helpers').Button[]) => void;
|
|
75
76
|
};
|
|
76
77
|
};
|
|
77
78
|
static Dialog: {
|
|
@@ -87,7 +88,7 @@ export default abstract class PHelp {
|
|
|
87
88
|
Cancel: () => void;
|
|
88
89
|
GetText: () => string;
|
|
89
90
|
GetTitle: () => string;
|
|
90
|
-
GetType: () => import('
|
|
91
|
+
GetType: () => import('./Helpers').Statuses;
|
|
91
92
|
Info: (m: string | import('./Message').MessageOpts) => void;
|
|
92
93
|
Success: (m: string | import('./Message').MessageOpts) => void;
|
|
93
94
|
Error: (m: string | import('./Message').MessageOpts) => void;
|
|
@@ -100,7 +101,7 @@ export default abstract class PHelp {
|
|
|
100
101
|
Save: () => void;
|
|
101
102
|
GetText: () => string;
|
|
102
103
|
GetTitle: () => string;
|
|
103
|
-
GetType: () => import('
|
|
104
|
+
GetType: () => import('./Helpers').Statuses;
|
|
104
105
|
Info: (m: string | import('./Message').MessageOpts) => void;
|
|
105
106
|
Success: (m: string | import('./Message').MessageOpts) => void;
|
|
106
107
|
Error: (m: string | import('./Message').MessageOpts) => void;
|
|
@@ -122,5 +123,5 @@ export default abstract class PHelp {
|
|
|
122
123
|
pagesCount: () => number;
|
|
123
124
|
reset: () => void;
|
|
124
125
|
};
|
|
125
|
-
static Store:
|
|
126
|
+
static Store: typeof CoreStore;
|
|
126
127
|
}
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as Store } from '../store/Store';
|
|
2
|
+
import * as Mods from '@/modules/index';
|
|
3
|
+
import * as Classes from '../classes/index';
|
|
4
|
+
import * as H from './Helpers';
|
|
5
|
+
export default abstract class PF {
|
|
2
6
|
static Auth: {
|
|
3
7
|
readonly Form: {
|
|
4
8
|
Block: (fn: () => Promise<void>) => Promise<void>;
|
|
5
9
|
GetValues: () => Map<string, string>;
|
|
6
10
|
Validate: () => string[];
|
|
7
11
|
GetFields: () => import('../classes/auth/fields/AuthField').default[];
|
|
8
|
-
GetMethods: () =>
|
|
9
|
-
Status: () =>
|
|
12
|
+
GetMethods: () => Classes.AuthMethods[];
|
|
13
|
+
Status: () => Classes.AuthFormStatuses;
|
|
10
14
|
IsLogin: () => boolean;
|
|
11
15
|
IsRegister: () => boolean;
|
|
12
16
|
IsRestore: () => boolean;
|
|
13
17
|
IsRefresh: () => boolean;
|
|
14
|
-
SetStatus: (status:
|
|
18
|
+
SetStatus: (status: Classes.AuthFormStatuses) => void;
|
|
15
19
|
GetTitle: () => string;
|
|
16
20
|
GetButtons: () => import('../classes/auth/buttons/AuthButton').default[];
|
|
17
21
|
GetSuccessMessage: () => string;
|
|
@@ -65,13 +69,13 @@ export default abstract class $P {
|
|
|
65
69
|
title: any;
|
|
66
70
|
buttons: {
|
|
67
71
|
text: string | undefined;
|
|
68
|
-
type?:
|
|
72
|
+
type?: H.Statuses | undefined;
|
|
69
73
|
condition?: boolean | undefined;
|
|
70
74
|
action?: (((next?: import('vue-router').NavigationGuardNext | undefined) => Promise<void>) | (() => Promise<void>) | (() => void)) | undefined;
|
|
71
75
|
id: string;
|
|
72
76
|
disabled: boolean;
|
|
73
77
|
}[];
|
|
74
|
-
Set: (title: (string | (() => string) | globalThis.ComputedRef<any>) | undefined, buttons:
|
|
78
|
+
Set: (title: (string | (() => string) | globalThis.ComputedRef<any>) | undefined, buttons: H.Button[]) => void;
|
|
75
79
|
};
|
|
76
80
|
};
|
|
77
81
|
static Dialog: {
|
|
@@ -87,7 +91,7 @@ export default abstract class $P {
|
|
|
87
91
|
Cancel: () => void;
|
|
88
92
|
GetText: () => string;
|
|
89
93
|
GetTitle: () => string;
|
|
90
|
-
GetType: () =>
|
|
94
|
+
GetType: () => H.Statuses;
|
|
91
95
|
Info: (m: string | import('./Message').MessageOpts) => void;
|
|
92
96
|
Success: (m: string | import('./Message').MessageOpts) => void;
|
|
93
97
|
Error: (m: string | import('./Message').MessageOpts) => void;
|
|
@@ -100,7 +104,7 @@ export default abstract class $P {
|
|
|
100
104
|
Save: () => void;
|
|
101
105
|
GetText: () => string;
|
|
102
106
|
GetTitle: () => string;
|
|
103
|
-
GetType: () =>
|
|
107
|
+
GetType: () => H.Statuses;
|
|
104
108
|
Info: (m: string | import('./Message').MessageOpts) => void;
|
|
105
109
|
Success: (m: string | import('./Message').MessageOpts) => void;
|
|
106
110
|
Error: (m: string | import('./Message').MessageOpts) => void;
|
|
@@ -122,5 +126,8 @@ export default abstract class $P {
|
|
|
122
126
|
pagesCount: () => number;
|
|
123
127
|
reset: () => void;
|
|
124
128
|
};
|
|
125
|
-
static
|
|
129
|
+
static S: typeof Store;
|
|
130
|
+
static M: typeof Mods;
|
|
131
|
+
static H: typeof H;
|
|
132
|
+
static C: typeof Classes;
|
|
126
133
|
}
|
package/dist/services/index.d.ts
CHANGED
|
@@ -13,28 +13,22 @@ import { Statuses } from '../types/Statuses';
|
|
|
13
13
|
import { default as Arrays } from './Arrays';
|
|
14
14
|
import { default as Axios } from './Axios';
|
|
15
15
|
import { default as BaseStore } from './BaseStore';
|
|
16
|
-
import { default as brandColors } from './brandColors';
|
|
17
|
-
import { default as buildNameNumbers } from './buildNameNumbers';
|
|
18
16
|
import { default as Cache } from './Cache';
|
|
19
17
|
import { default as CarouselSwipe } from './CarouselSwipe';
|
|
20
18
|
import { default as ClassHelper } from './ClassHelper';
|
|
21
19
|
import { default as Color } from './Color';
|
|
22
|
-
import { default as countRating } from './countRating';
|
|
23
20
|
import { default as CreateSortModels } from './CreateSortModels';
|
|
24
21
|
import { default as Cursor } from './Cursor';
|
|
25
|
-
import { default as DateFormat } from './DateFormat';
|
|
26
22
|
import { default as DateMask } from './DateMask';
|
|
27
23
|
import { default as Dates } from './Dates';
|
|
28
|
-
import { default as DatesFormatter } from './DatesFormatter';
|
|
29
24
|
import { default as Dragger } from './Dragger';
|
|
30
25
|
import { default as Extension } from './Extension';
|
|
31
26
|
import { default as Favourite } from './Favourite';
|
|
32
27
|
import { default as HttpClient } from './HttpClient';
|
|
33
28
|
import { default as MakeCarousel } from './MakeCarousel';
|
|
34
|
-
import { moveDown, moveUp } from './moves';
|
|
35
29
|
import { default as Period } from './Period';
|
|
36
30
|
import { default as PHelp } from './PHelp';
|
|
37
|
-
import { default as
|
|
31
|
+
import { default as PF } from './PHelp2';
|
|
38
32
|
import { default as PhoneService } from './PhoneService';
|
|
39
33
|
import { default as Router } from './Router';
|
|
40
34
|
import { default as RouterGuard } from './RouterGuard';
|
|
@@ -50,4 +44,4 @@ import { default as useConfirmLeavePage } from './useConfirmLeavePage';
|
|
|
50
44
|
import { default as validate } from './validate';
|
|
51
45
|
import { default as WaitElement } from './WaitElement';
|
|
52
46
|
import { default as WebSocketClient } from './WebSocketClient';
|
|
53
|
-
export {
|
|
47
|
+
export { PF, Arrays, Axios, BaseStore, brandColors, buildNameNumbers, Button, Cache, CarouselSwipe, ClassHelper, Color, Contact, CreateSortModels, Cursor, DateMask, Dates, Dragger, Email, Extension, Favourite, FileInfo, FilterModel, FTSP, Hooks, HttpClient, Human, MakeCarousel, Period, PHelp, PhoneService, Router, RouterGuard, Scheduler, Scroll, Sizes, Sorter, SortModel, Static, Statuses, Strings, Time, Timer, Token, useConfirmLeavePage, validate, ValueType, WaitElement, WebSocketClient, };
|