sprof 0.0.273 → 0.1.1

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.
@@ -93,10 +93,10 @@ declare const _default: {
93
93
  onLoad?: ((...args: any[]) => any) | undefined;
94
94
  }>, {
95
95
  focus: boolean;
96
+ placeholder: string;
96
97
  storeModule: string;
97
98
  width: string | number;
98
99
  modelValue: string;
99
- placeholder: string;
100
100
  maxHeightResultList: string;
101
101
  zIndexResultList: string;
102
102
  boxShadowResultList: string;
@@ -353,10 +353,10 @@ export declare const Default: StoryFn<import('vue').DefineComponent<globalThis.E
353
353
  onLoad?: ((...args: any[]) => any) | undefined;
354
354
  }>, {
355
355
  focus: boolean;
356
+ placeholder: string;
356
357
  storeModule: string;
357
358
  width: string | number;
358
359
  modelValue: string;
359
- placeholder: string;
360
360
  maxHeightResultList: string;
361
361
  zIndexResultList: string;
362
362
  boxShadowResultList: string;
@@ -91,10 +91,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
91
91
  onLoad?: ((...args: any[]) => any) | undefined;
92
92
  }>, {
93
93
  focus: boolean;
94
+ placeholder: string;
94
95
  storeModule: string;
95
96
  width: string | number;
96
97
  modelValue: string;
97
- placeholder: string;
98
98
  maxHeightResultList: string;
99
99
  zIndexResultList: string;
100
100
  boxShadowResultList: string;
@@ -69,9 +69,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
69
69
  }>, {
70
70
  text: string;
71
71
  label: string;
72
+ placeholder: string;
72
73
  margin: string;
73
74
  padding: string;
74
- placeholder: string;
75
75
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>, {
76
76
  default?(_: {}): any;
77
77
  right?(_: {}): any;
@@ -57,9 +57,9 @@ declare const _default: {
57
57
  onBeforeChange?: ((...args: any[]) => any) | undefined;
58
58
  }>, {
59
59
  label: string;
60
+ placeholder: string;
60
61
  margin: string;
61
62
  width: string;
62
- placeholder: string;
63
63
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
64
64
  tags: string[];
65
65
  parameters: {
@@ -145,7 +145,7 @@ export declare const Default: StoryFn<import('vue').DefineComponent<globalThis.E
145
145
  onBeforeChange?: ((...args: any[]) => any) | undefined;
146
146
  }>, {
147
147
  label: string;
148
+ placeholder: string;
148
149
  margin: string;
149
150
  width: string;
150
- placeholder: string;
151
151
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>>;
@@ -54,8 +54,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
54
54
  onBeforeChange?: ((...args: any[]) => any) | undefined;
55
55
  }>, {
56
56
  label: string;
57
+ placeholder: string;
57
58
  margin: string;
58
59
  width: string;
59
- placeholder: string;
60
60
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
61
61
  export default _default;
@@ -78,11 +78,11 @@ declare const _default: {
78
78
  value: string;
79
79
  label: string;
80
80
  readonly: boolean;
81
+ placeholder: string;
81
82
  margin: string;
82
83
  padding: string;
83
84
  width: string;
84
85
  color: string;
85
- placeholder: string;
86
86
  disabled: boolean;
87
87
  borderColor: string;
88
88
  clearable: boolean;
@@ -166,11 +166,11 @@ declare const _default: {
166
166
  value: string;
167
167
  label: string;
168
168
  readonly: boolean;
169
+ placeholder: string;
169
170
  margin: string;
170
171
  padding: string;
171
172
  width: string;
172
173
  color: string;
173
- placeholder: string;
174
174
  disabled: boolean;
175
175
  borderColor: string;
176
176
  clearable: boolean;
@@ -255,11 +255,11 @@ declare const _default: {
255
255
  value: string;
256
256
  label: string;
257
257
  readonly: boolean;
258
+ placeholder: string;
258
259
  margin: string;
259
260
  padding: string;
260
261
  width: string;
261
262
  color: string;
262
- placeholder: string;
263
263
  disabled: boolean;
264
264
  borderColor: string;
265
265
  clearable: boolean;
@@ -388,11 +388,11 @@ export declare const Default: StoryFn<{
388
388
  value: string;
389
389
  label: string;
390
390
  readonly: boolean;
391
+ placeholder: string;
391
392
  margin: string;
392
393
  padding: string;
393
394
  width: string;
394
395
  color: string;
395
- placeholder: string;
396
396
  disabled: boolean;
397
397
  borderColor: string;
398
398
  clearable: boolean;
@@ -476,11 +476,11 @@ export declare const Default: StoryFn<{
476
476
  value: string;
477
477
  label: string;
478
478
  readonly: boolean;
479
+ placeholder: string;
479
480
  margin: string;
480
481
  padding: string;
481
482
  width: string;
482
483
  color: string;
483
- placeholder: string;
484
484
  disabled: boolean;
485
485
  borderColor: string;
486
486
  clearable: boolean;
@@ -565,11 +565,11 @@ export declare const Default: StoryFn<{
565
565
  value: string;
566
566
  label: string;
567
567
  readonly: boolean;
568
+ placeholder: string;
568
569
  margin: string;
569
570
  padding: string;
570
571
  width: string;
571
572
  color: string;
572
- placeholder: string;
573
573
  disabled: boolean;
574
574
  borderColor: string;
575
575
  clearable: boolean;
@@ -138,11 +138,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
138
138
  value: string;
139
139
  label: string;
140
140
  readonly: boolean;
141
+ placeholder: string;
141
142
  margin: string;
142
143
  padding: string;
143
144
  width: string;
144
145
  color: string;
145
- placeholder: string;
146
146
  disabled: boolean;
147
147
  borderColor: string;
148
148
  clearable: boolean;
@@ -60,11 +60,11 @@ declare const _default: Meta<{
60
60
  }, import('vue').PublicProps, {
61
61
  label: string;
62
62
  mask: string;
63
+ placeholder: string;
63
64
  fileInfo: FileInfo;
64
65
  margin: string;
65
66
  padding: string;
66
67
  color: string;
67
- placeholder: string;
68
68
  disabled: boolean;
69
69
  borderColor: string;
70
70
  formats: string[];
@@ -131,11 +131,11 @@ declare const _default: Meta<{
131
131
  }>, {}, {}, {}, {}, {
132
132
  label: string;
133
133
  mask: string;
134
+ placeholder: string;
134
135
  fileInfo: FileInfo;
135
136
  margin: string;
136
137
  padding: string;
137
138
  color: string;
138
- placeholder: string;
139
139
  disabled: boolean;
140
140
  borderColor: string;
141
141
  formats: string[];
@@ -202,11 +202,11 @@ declare const _default: Meta<{
202
202
  }, string, {
203
203
  label: string;
204
204
  mask: string;
205
+ placeholder: string;
205
206
  fileInfo: FileInfo;
206
207
  margin: string;
207
208
  padding: string;
208
209
  color: string;
209
- placeholder: string;
210
210
  disabled: boolean;
211
211
  borderColor: string;
212
212
  formats: string[];
@@ -276,11 +276,11 @@ export declare const Base: StoryFn<{
276
276
  }, import('vue').PublicProps, {
277
277
  label: string;
278
278
  mask: string;
279
+ placeholder: string;
279
280
  fileInfo: FileInfo;
280
281
  margin: string;
281
282
  padding: string;
282
283
  color: string;
283
- placeholder: string;
284
284
  disabled: boolean;
285
285
  borderColor: string;
286
286
  formats: string[];
@@ -347,11 +347,11 @@ export declare const Base: StoryFn<{
347
347
  }>, {}, {}, {}, {}, {
348
348
  label: string;
349
349
  mask: string;
350
+ placeholder: string;
350
351
  fileInfo: FileInfo;
351
352
  margin: string;
352
353
  padding: string;
353
354
  color: string;
354
- placeholder: string;
355
355
  disabled: boolean;
356
356
  borderColor: string;
357
357
  formats: string[];
@@ -418,11 +418,11 @@ export declare const Base: StoryFn<{
418
418
  }, string, {
419
419
  label: string;
420
420
  mask: string;
421
+ placeholder: string;
421
422
  fileInfo: FileInfo;
422
423
  margin: string;
423
424
  padding: string;
424
425
  color: string;
425
- placeholder: string;
426
426
  disabled: boolean;
427
427
  borderColor: string;
428
428
  formats: string[];
@@ -491,11 +491,11 @@ export declare const Base1: StoryFn<{
491
491
  }, import('vue').PublicProps, {
492
492
  label: string;
493
493
  mask: string;
494
+ placeholder: string;
494
495
  fileInfo: FileInfo;
495
496
  margin: string;
496
497
  padding: string;
497
498
  color: string;
498
- placeholder: string;
499
499
  disabled: boolean;
500
500
  borderColor: string;
501
501
  formats: string[];
@@ -562,11 +562,11 @@ export declare const Base1: StoryFn<{
562
562
  }>, {}, {}, {}, {}, {
563
563
  label: string;
564
564
  mask: string;
565
+ placeholder: string;
565
566
  fileInfo: FileInfo;
566
567
  margin: string;
567
568
  padding: string;
568
569
  color: string;
569
- placeholder: string;
570
570
  disabled: boolean;
571
571
  borderColor: string;
572
572
  formats: string[];
@@ -633,11 +633,11 @@ export declare const Base1: StoryFn<{
633
633
  }, string, {
634
634
  label: string;
635
635
  mask: string;
636
+ placeholder: string;
636
637
  fileInfo: FileInfo;
637
638
  margin: string;
638
639
  padding: string;
639
640
  color: string;
640
- placeholder: string;
641
641
  disabled: boolean;
642
642
  borderColor: string;
643
643
  formats: string[];
@@ -108,11 +108,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
108
108
  }>, {
109
109
  label: string;
110
110
  mask: string;
111
+ placeholder: string;
111
112
  fileInfo: FileInfo;
112
113
  margin: string;
113
114
  padding: string;
114
115
  color: string;
115
- placeholder: string;
116
116
  disabled: boolean;
117
117
  borderColor: string;
118
118
  formats: string[];
@@ -4,6 +4,7 @@ import { Constructable } from './Classes';
4
4
  import { default as IFileInfosGetter } from '../interfaces/IFileInfosGetter';
5
5
  import { default as ItemsWithCount } from '../interfaces/ItemsWithCount';
6
6
  import { default as IWithId } from '../interfaces/IWithId';
7
+ import { default as Option } from '../interfaces/IOption';
7
8
  export interface GetAllOptions {
8
9
  withCache?: boolean;
9
10
  ftsp: FTSP;
@@ -11,12 +12,14 @@ export interface GetAllOptions {
11
12
  export default class BaseStore<T extends IWithId & IFileInfosGetter> {
12
13
  readonly items: T[];
13
14
  readonly item: T;
15
+ readonly options: Option[];
14
16
  count: Ref<number, number>;
15
17
  classConstructor: Constructable<T>;
16
18
  url: string;
17
19
  constructor(i: Constructable<T>, url: string);
18
20
  Set(item: T | void): void;
19
21
  getUrl(query?: string): string;
22
+ GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
20
23
  GetAll(options?: GetAllOptions): Promise<void>;
21
24
  Get(id?: string): Promise<void>;
22
25
  GetBySlug(slug?: string): Promise<void>;
@@ -38,6 +41,7 @@ export default class BaseStore<T extends IWithId & IFileInfosGetter> {
38
41
  ClearItems(): void;
39
42
  UnshiftToAll(items: T[] | T | undefined): void;
40
43
  get Items(): T[];
44
+ get Options(): Option[];
41
45
  get Item(): T;
42
46
  get Count(): Ref<number>;
43
47
  }
@@ -26,11 +26,13 @@ export default abstract class S {
26
26
  static Contacts: {
27
27
  readonly items: import('../classes/Contact').default[];
28
28
  readonly item: import('../classes/Contact').default;
29
+ readonly options: import('../interfaces/IOption').default[];
29
30
  count: globalThis.Ref<number, number>;
30
31
  classConstructor: import('../helpers/Classes').Constructable<import('../classes/Contact').default>;
31
32
  url: string;
32
33
  Set(item: void | import('../classes/Contact').default): void;
33
34
  getUrl(query?: string | undefined): string;
35
+ GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
34
36
  GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
35
37
  Get(id?: string | undefined): Promise<void>;
36
38
  GetBySlug(slug?: string | undefined): Promise<void>;
@@ -52,17 +54,20 @@ export default abstract class S {
52
54
  ClearItems(): void;
53
55
  UnshiftToAll(items: import('../classes/Contact').default | import('../classes/Contact').default[] | undefined): void;
54
56
  readonly Items: import('../classes/Contact').default[];
57
+ readonly Options: import('../interfaces/IOption').default[];
55
58
  readonly Item: import('../classes/Contact').default;
56
59
  readonly Count: globalThis.Ref<number, number>;
57
60
  };
58
61
  static Emails: {
59
62
  readonly items: import('../classes/Email').default[];
60
63
  readonly item: import('../classes/Email').default;
64
+ readonly options: import('../interfaces/IOption').default[];
61
65
  count: globalThis.Ref<number, number>;
62
66
  classConstructor: import('../helpers/Classes').Constructable<import('../classes/Email').default>;
63
67
  url: string;
64
68
  Set(item: void | import('../classes/Email').default): void;
65
69
  getUrl(query?: string | undefined): string;
70
+ GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
66
71
  GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
67
72
  Get(id?: string | undefined): Promise<void>;
68
73
  GetBySlug(slug?: string | undefined): Promise<void>;
@@ -84,6 +89,7 @@ export default abstract class S {
84
89
  ClearItems(): void;
85
90
  UnshiftToAll(items: import('../classes/Email').default | import('../classes/Email').default[] | undefined): void;
86
91
  readonly Items: import('../classes/Email').default[];
92
+ readonly Options: import('../interfaces/IOption').default[];
87
93
  readonly Item: import('../classes/Email').default;
88
94
  readonly Count: globalThis.Ref<number, number>;
89
95
  };
@@ -91,11 +97,13 @@ export default abstract class S {
91
97
  static FTSPPresets: {
92
98
  readonly items: import('../classes/FTSPPreset').default[];
93
99
  readonly item: import('../classes/FTSPPreset').default;
100
+ readonly options: import('../interfaces/IOption').default[];
94
101
  count: globalThis.Ref<number, number>;
95
102
  classConstructor: import('../helpers/Classes').Constructable<import('../classes/FTSPPreset').default>;
96
103
  url: string;
97
104
  Set(item: void | import('../classes/FTSPPreset').default): void;
98
105
  getUrl(query?: string | undefined): string;
106
+ GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
99
107
  GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
100
108
  Get(id?: string | undefined): Promise<void>;
101
109
  GetBySlug(slug?: string | undefined): Promise<void>;
@@ -117,17 +125,20 @@ export default abstract class S {
117
125
  ClearItems(): void;
118
126
  UnshiftToAll(items: import('../classes/FTSPPreset').default | import('../classes/FTSPPreset').default[] | undefined): void;
119
127
  readonly Items: import('../classes/FTSPPreset').default[];
128
+ readonly Options: import('../interfaces/IOption').default[];
120
129
  readonly Item: import('../classes/FTSPPreset').default;
121
130
  readonly Count: globalThis.Ref<number, number>;
122
131
  };
123
132
  static Humans: {
124
133
  readonly items: import('../classes/Human').default[];
125
134
  readonly item: import('../classes/Human').default;
135
+ readonly options: import('../interfaces/IOption').default[];
126
136
  count: globalThis.Ref<number, number>;
127
137
  classConstructor: import('../helpers/Classes').Constructable<import('../classes/Human').default>;
128
138
  url: string;
129
139
  Set(item: void | import('../classes/Human').default): void;
130
140
  getUrl(query?: string | undefined): string;
141
+ GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
131
142
  GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
132
143
  Get(id?: string | undefined): Promise<void>;
133
144
  GetBySlug(slug?: string | undefined): Promise<void>;
@@ -149,17 +160,20 @@ export default abstract class S {
149
160
  ClearItems(): void;
150
161
  UnshiftToAll(items: import('../classes/Human').default | import('../classes/Human').default[] | undefined): void;
151
162
  readonly Items: import('../classes/Human').default[];
163
+ readonly Options: import('../interfaces/IOption').default[];
152
164
  readonly Item: import('../classes/Human').default;
153
165
  readonly Count: globalThis.Ref<number, number>;
154
166
  };
155
167
  static Phones: {
156
168
  readonly items: import('../classes/Phone').default[];
157
169
  readonly item: import('../classes/Phone').default;
170
+ readonly options: import('../interfaces/IOption').default[];
158
171
  count: globalThis.Ref<number, number>;
159
172
  classConstructor: import('../helpers/Classes').Constructable<import('../classes/Phone').default>;
160
173
  url: string;
161
174
  Set(item: void | import('../classes/Phone').default): void;
162
175
  getUrl(query?: string | undefined): string;
176
+ GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
163
177
  GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
164
178
  Get(id?: string | undefined): Promise<void>;
165
179
  GetBySlug(slug?: string | undefined): Promise<void>;
@@ -181,17 +195,20 @@ export default abstract class S {
181
195
  ClearItems(): void;
182
196
  UnshiftToAll(items: import('../classes/Phone').default | import('../classes/Phone').default[] | undefined): void;
183
197
  readonly Items: import('../classes/Phone').default[];
198
+ readonly Options: import('../interfaces/IOption').default[];
184
199
  readonly Item: import('../classes/Phone').default;
185
200
  readonly Count: globalThis.Ref<number, number>;
186
201
  };
187
202
  static Schemas: {
188
203
  readonly items: import('../classes/Schema').default[];
189
204
  readonly item: import('../classes/Schema').default;
205
+ readonly options: import('../interfaces/IOption').default[];
190
206
  count: globalThis.Ref<number, number>;
191
207
  classConstructor: import('../helpers/Classes').Constructable<import('../classes/Schema').default>;
192
208
  url: string;
193
209
  Set(item: void | import('../classes/Schema').default): void;
194
210
  getUrl(query?: string | undefined): string;
211
+ GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
195
212
  GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
196
213
  Get(id?: string | undefined): Promise<void>;
197
214
  GetBySlug(slug?: string | undefined): Promise<void>;
@@ -213,17 +230,20 @@ export default abstract class S {
213
230
  ClearItems(): void;
214
231
  UnshiftToAll(items: import('../classes/Schema').default | import('../classes/Schema').default[] | undefined): void;
215
232
  readonly Items: import('../classes/Schema').default[];
233
+ readonly Options: import('../interfaces/IOption').default[];
216
234
  readonly Item: import('../classes/Schema').default;
217
235
  readonly Count: globalThis.Ref<number, number>;
218
236
  };
219
237
  static UserAccounts: {
220
238
  readonly items: import('../classes/UserAccount').default[];
221
239
  readonly item: import('../classes/UserAccount').default;
240
+ readonly options: import('../interfaces/IOption').default[];
222
241
  count: globalThis.Ref<number, number>;
223
242
  classConstructor: import('../helpers/Classes').Constructable<import('../classes/UserAccount').default>;
224
243
  url: string;
225
244
  Set(item: void | import('../classes/UserAccount').default): void;
226
245
  getUrl(query?: string | undefined): string;
246
+ GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
227
247
  GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
228
248
  Get(id?: string | undefined): Promise<void>;
229
249
  GetBySlug(slug?: string | undefined): Promise<void>;
@@ -245,17 +265,20 @@ export default abstract class S {
245
265
  ClearItems(): void;
246
266
  UnshiftToAll(items: import('../classes/UserAccount').default | import('../classes/UserAccount').default[] | undefined): void;
247
267
  readonly Items: import('../classes/UserAccount').default[];
268
+ readonly Options: import('../interfaces/IOption').default[];
248
269
  readonly Item: import('../classes/UserAccount').default;
249
270
  readonly Count: globalThis.Ref<number, number>;
250
271
  };
251
272
  static ValueTypes: {
252
273
  readonly items: import('../classes/ValueType').default[];
253
274
  readonly item: import('../classes/ValueType').default;
275
+ readonly options: import('../interfaces/IOption').default[];
254
276
  count: globalThis.Ref<number, number>;
255
277
  classConstructor: import('../helpers/Classes').Constructable<import('../classes/ValueType').default>;
256
278
  url: string;
257
279
  Set(item: void | import('../classes/ValueType').default): void;
258
280
  getUrl(query?: string | undefined): string;
281
+ GetOptions(labelCol?: string, valueCol?: string): Promise<void>;
259
282
  GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
260
283
  Get(id?: string | undefined): Promise<void>;
261
284
  GetBySlug(slug?: string | undefined): Promise<void>;
@@ -277,6 +300,7 @@ export default abstract class S {
277
300
  ClearItems(): void;
278
301
  UnshiftToAll(items: import('../classes/ValueType').default | import('../classes/ValueType').default[] | undefined): void;
279
302
  readonly Items: import('../classes/ValueType').default[];
303
+ readonly Options: import('../interfaces/IOption').default[];
280
304
  readonly Item: import('../classes/ValueType').default;
281
305
  readonly Count: globalThis.Ref<number, number>;
282
306
  };