sprof 0.1.7 → 0.1.8
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/core/helpers/BaseStore.d.ts +3 -0
- package/dist/core/store/index.d.ts +24 -0
- package/dist/sprof.js +98 -91
- package/dist/sprof.umd.cjs +5 -5
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ export default class BaseStore<T extends IWithId & IFileInfosGetter> {
|
|
|
16
16
|
count: Ref<number, number>;
|
|
17
17
|
classConstructor: Constructable<T>;
|
|
18
18
|
url: string;
|
|
19
|
+
searchStr: Ref<string, string>;
|
|
19
20
|
constructor(i: Constructable<T>, url: string);
|
|
20
21
|
Set(item: T | void): void;
|
|
21
22
|
getUrl(query?: string): string;
|
|
@@ -41,7 +42,9 @@ export default class BaseStore<T extends IWithId & IFileInfosGetter> {
|
|
|
41
42
|
ClearItems(): void;
|
|
42
43
|
UnshiftToAll(items: T[] | T | undefined): void;
|
|
43
44
|
get Items(): T[];
|
|
45
|
+
get ItemsFiltered(): T[];
|
|
44
46
|
get Options(): Option[];
|
|
45
47
|
get Item(): T;
|
|
46
48
|
get Count(): Ref<number>;
|
|
49
|
+
get SearchStr(): Ref<string>;
|
|
47
50
|
}
|
|
@@ -30,6 +30,7 @@ export default abstract class S {
|
|
|
30
30
|
count: globalThis.Ref<number, number>;
|
|
31
31
|
classConstructor: import('../helpers/Classes').Constructable<import('../classes/Contact').default>;
|
|
32
32
|
url: string;
|
|
33
|
+
searchStr: globalThis.Ref<string, string>;
|
|
33
34
|
Set(item: void | import('../classes/Contact').default): void;
|
|
34
35
|
getUrl(query?: string | undefined): string;
|
|
35
36
|
GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
|
|
@@ -54,9 +55,11 @@ export default abstract class S {
|
|
|
54
55
|
ClearItems(): void;
|
|
55
56
|
UnshiftToAll(items: import('../classes/Contact').default | import('../classes/Contact').default[] | undefined): void;
|
|
56
57
|
readonly Items: import('../classes/Contact').default[];
|
|
58
|
+
readonly ItemsFiltered: import('../classes/Contact').default[];
|
|
57
59
|
readonly Options: import('../interfaces/IOption').default[];
|
|
58
60
|
readonly Item: import('../classes/Contact').default;
|
|
59
61
|
readonly Count: globalThis.Ref<number, number>;
|
|
62
|
+
readonly SearchStr: globalThis.Ref<string, string>;
|
|
60
63
|
};
|
|
61
64
|
static Emails: {
|
|
62
65
|
readonly items: import('../classes/Email').default[];
|
|
@@ -65,6 +68,7 @@ export default abstract class S {
|
|
|
65
68
|
count: globalThis.Ref<number, number>;
|
|
66
69
|
classConstructor: import('../helpers/Classes').Constructable<import('../classes/Email').default>;
|
|
67
70
|
url: string;
|
|
71
|
+
searchStr: globalThis.Ref<string, string>;
|
|
68
72
|
Set(item: void | import('../classes/Email').default): void;
|
|
69
73
|
getUrl(query?: string | undefined): string;
|
|
70
74
|
GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
|
|
@@ -89,9 +93,11 @@ export default abstract class S {
|
|
|
89
93
|
ClearItems(): void;
|
|
90
94
|
UnshiftToAll(items: import('../classes/Email').default | import('../classes/Email').default[] | undefined): void;
|
|
91
95
|
readonly Items: import('../classes/Email').default[];
|
|
96
|
+
readonly ItemsFiltered: import('../classes/Email').default[];
|
|
92
97
|
readonly Options: import('../interfaces/IOption').default[];
|
|
93
98
|
readonly Item: import('../classes/Email').default;
|
|
94
99
|
readonly Count: globalThis.Ref<number, number>;
|
|
100
|
+
readonly SearchStr: globalThis.Ref<string, string>;
|
|
95
101
|
};
|
|
96
102
|
static FileInfos: BaseStore<FileInfo>;
|
|
97
103
|
static FTSPPresets: {
|
|
@@ -101,6 +107,7 @@ export default abstract class S {
|
|
|
101
107
|
count: globalThis.Ref<number, number>;
|
|
102
108
|
classConstructor: import('../helpers/Classes').Constructable<import('../classes/FTSPPreset').default>;
|
|
103
109
|
url: string;
|
|
110
|
+
searchStr: globalThis.Ref<string, string>;
|
|
104
111
|
Set(item: void | import('../classes/FTSPPreset').default): void;
|
|
105
112
|
getUrl(query?: string | undefined): string;
|
|
106
113
|
GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
|
|
@@ -125,9 +132,11 @@ export default abstract class S {
|
|
|
125
132
|
ClearItems(): void;
|
|
126
133
|
UnshiftToAll(items: import('../classes/FTSPPreset').default | import('../classes/FTSPPreset').default[] | undefined): void;
|
|
127
134
|
readonly Items: import('../classes/FTSPPreset').default[];
|
|
135
|
+
readonly ItemsFiltered: import('../classes/FTSPPreset').default[];
|
|
128
136
|
readonly Options: import('../interfaces/IOption').default[];
|
|
129
137
|
readonly Item: import('../classes/FTSPPreset').default;
|
|
130
138
|
readonly Count: globalThis.Ref<number, number>;
|
|
139
|
+
readonly SearchStr: globalThis.Ref<string, string>;
|
|
131
140
|
};
|
|
132
141
|
static Humans: {
|
|
133
142
|
readonly items: import('../classes/Human').default[];
|
|
@@ -136,6 +145,7 @@ export default abstract class S {
|
|
|
136
145
|
count: globalThis.Ref<number, number>;
|
|
137
146
|
classConstructor: import('../helpers/Classes').Constructable<import('../classes/Human').default>;
|
|
138
147
|
url: string;
|
|
148
|
+
searchStr: globalThis.Ref<string, string>;
|
|
139
149
|
Set(item: void | import('../classes/Human').default): void;
|
|
140
150
|
getUrl(query?: string | undefined): string;
|
|
141
151
|
GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
|
|
@@ -160,9 +170,11 @@ export default abstract class S {
|
|
|
160
170
|
ClearItems(): void;
|
|
161
171
|
UnshiftToAll(items: import('../classes/Human').default | import('../classes/Human').default[] | undefined): void;
|
|
162
172
|
readonly Items: import('../classes/Human').default[];
|
|
173
|
+
readonly ItemsFiltered: import('../classes/Human').default[];
|
|
163
174
|
readonly Options: import('../interfaces/IOption').default[];
|
|
164
175
|
readonly Item: import('../classes/Human').default;
|
|
165
176
|
readonly Count: globalThis.Ref<number, number>;
|
|
177
|
+
readonly SearchStr: globalThis.Ref<string, string>;
|
|
166
178
|
};
|
|
167
179
|
static Phones: {
|
|
168
180
|
readonly items: import('../classes/Phone').default[];
|
|
@@ -171,6 +183,7 @@ export default abstract class S {
|
|
|
171
183
|
count: globalThis.Ref<number, number>;
|
|
172
184
|
classConstructor: import('../helpers/Classes').Constructable<import('../classes/Phone').default>;
|
|
173
185
|
url: string;
|
|
186
|
+
searchStr: globalThis.Ref<string, string>;
|
|
174
187
|
Set(item: void | import('../classes/Phone').default): void;
|
|
175
188
|
getUrl(query?: string | undefined): string;
|
|
176
189
|
GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
|
|
@@ -195,9 +208,11 @@ export default abstract class S {
|
|
|
195
208
|
ClearItems(): void;
|
|
196
209
|
UnshiftToAll(items: import('../classes/Phone').default | import('../classes/Phone').default[] | undefined): void;
|
|
197
210
|
readonly Items: import('../classes/Phone').default[];
|
|
211
|
+
readonly ItemsFiltered: import('../classes/Phone').default[];
|
|
198
212
|
readonly Options: import('../interfaces/IOption').default[];
|
|
199
213
|
readonly Item: import('../classes/Phone').default;
|
|
200
214
|
readonly Count: globalThis.Ref<number, number>;
|
|
215
|
+
readonly SearchStr: globalThis.Ref<string, string>;
|
|
201
216
|
};
|
|
202
217
|
static Schemas: {
|
|
203
218
|
readonly items: import('../classes/Schema').default[];
|
|
@@ -206,6 +221,7 @@ export default abstract class S {
|
|
|
206
221
|
count: globalThis.Ref<number, number>;
|
|
207
222
|
classConstructor: import('../helpers/Classes').Constructable<import('../classes/Schema').default>;
|
|
208
223
|
url: string;
|
|
224
|
+
searchStr: globalThis.Ref<string, string>;
|
|
209
225
|
Set(item: void | import('../classes/Schema').default): void;
|
|
210
226
|
getUrl(query?: string | undefined): string;
|
|
211
227
|
GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
|
|
@@ -230,9 +246,11 @@ export default abstract class S {
|
|
|
230
246
|
ClearItems(): void;
|
|
231
247
|
UnshiftToAll(items: import('../classes/Schema').default | import('../classes/Schema').default[] | undefined): void;
|
|
232
248
|
readonly Items: import('../classes/Schema').default[];
|
|
249
|
+
readonly ItemsFiltered: import('../classes/Schema').default[];
|
|
233
250
|
readonly Options: import('../interfaces/IOption').default[];
|
|
234
251
|
readonly Item: import('../classes/Schema').default;
|
|
235
252
|
readonly Count: globalThis.Ref<number, number>;
|
|
253
|
+
readonly SearchStr: globalThis.Ref<string, string>;
|
|
236
254
|
};
|
|
237
255
|
static UserAccounts: {
|
|
238
256
|
readonly items: import('../classes/UserAccount').default[];
|
|
@@ -241,6 +259,7 @@ export default abstract class S {
|
|
|
241
259
|
count: globalThis.Ref<number, number>;
|
|
242
260
|
classConstructor: import('../helpers/Classes').Constructable<import('../classes/UserAccount').default>;
|
|
243
261
|
url: string;
|
|
262
|
+
searchStr: globalThis.Ref<string, string>;
|
|
244
263
|
Set(item: void | import('../classes/UserAccount').default): void;
|
|
245
264
|
getUrl(query?: string | undefined): string;
|
|
246
265
|
GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
|
|
@@ -265,9 +284,11 @@ export default abstract class S {
|
|
|
265
284
|
ClearItems(): void;
|
|
266
285
|
UnshiftToAll(items: import('../classes/UserAccount').default | import('../classes/UserAccount').default[] | undefined): void;
|
|
267
286
|
readonly Items: import('../classes/UserAccount').default[];
|
|
287
|
+
readonly ItemsFiltered: import('../classes/UserAccount').default[];
|
|
268
288
|
readonly Options: import('../interfaces/IOption').default[];
|
|
269
289
|
readonly Item: import('../classes/UserAccount').default;
|
|
270
290
|
readonly Count: globalThis.Ref<number, number>;
|
|
291
|
+
readonly SearchStr: globalThis.Ref<string, string>;
|
|
271
292
|
};
|
|
272
293
|
static ValueTypes: {
|
|
273
294
|
readonly items: import('../classes/ValueType').default[];
|
|
@@ -276,6 +297,7 @@ export default abstract class S {
|
|
|
276
297
|
count: globalThis.Ref<number, number>;
|
|
277
298
|
classConstructor: import('../helpers/Classes').Constructable<import('../classes/ValueType').default>;
|
|
278
299
|
url: string;
|
|
300
|
+
searchStr: globalThis.Ref<string, string>;
|
|
279
301
|
Set(item: void | import('../classes/ValueType').default): void;
|
|
280
302
|
getUrl(query?: string | undefined): string;
|
|
281
303
|
GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
|
|
@@ -300,9 +322,11 @@ export default abstract class S {
|
|
|
300
322
|
ClearItems(): void;
|
|
301
323
|
UnshiftToAll(items: import('../classes/ValueType').default | import('../classes/ValueType').default[] | undefined): void;
|
|
302
324
|
readonly Items: import('../classes/ValueType').default[];
|
|
325
|
+
readonly ItemsFiltered: import('../classes/ValueType').default[];
|
|
303
326
|
readonly Options: import('../interfaces/IOption').default[];
|
|
304
327
|
readonly Item: import('../classes/ValueType').default;
|
|
305
328
|
readonly Count: globalThis.Ref<number, number>;
|
|
329
|
+
readonly SearchStr: globalThis.Ref<string, string>;
|
|
306
330
|
};
|
|
307
331
|
static Search: {
|
|
308
332
|
isSearchDrawerOpen: globalThis.Ref<boolean, boolean>;
|