@operato/utils 1.0.0-beta.9 → 1.0.6
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/CHANGELOG.md +392 -0
- package/dist/src/adjust-list-param.d.ts +8 -0
- package/dist/src/adjust-list-param.js +12 -0
- package/dist/src/adjust-list-param.js.map +1 -0
- package/dist/src/format.d.ts +1 -0
- package/dist/src/format.js +82 -0
- package/dist/src/format.js.map +1 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.js +3 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/is-unvalued.d.ts +7 -0
- package/dist/src/is-unvalued.js +11 -0
- package/dist/src/is-unvalued.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +47 -5
- package/src/adjust-list-param.ts +49 -0
- package/src/format.ts +108 -0
- package/src/index.ts +3 -0
- package/src/is-unvalued.ts +10 -0
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,398 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
### [1.0.6](https://github.com/hatiolab/operato/compare/v1.0.5...v1.0.6) (2022-07-31)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @operato/utils
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
### [1.0.5](https://github.com/hatiolab/operato/compare/v1.0.4...v1.0.5) (2022-07-31)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package @operato/utils
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
### [1.0.4](https://github.com/hatiolab/operato/compare/v1.0.3...v1.0.4) (2022-07-31)
|
23
|
+
|
24
|
+
**Note:** Version bump only for package @operato/utils
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
### [1.0.3](https://github.com/hatiolab/operato/compare/v1.0.2...v1.0.3) (2022-07-31)
|
31
|
+
|
32
|
+
|
33
|
+
### :bug: Bug Fix
|
34
|
+
|
35
|
+
* add replaceIf parameter into adjustFilters ([d78a7cb](https://github.com/hatiolab/operato/commit/d78a7cb31ff442467ee17316c7ecb99034d6fddb))
|
36
|
+
* exports types ([ff5dc11](https://github.com/hatiolab/operato/commit/ff5dc119acbbf5a93459115f3929ba4a6720f9bb))
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
### [1.0.1](https://github.com/hatiolab/operato/compare/v1.0.0...v1.0.1) (2022-07-25)
|
41
|
+
|
42
|
+
|
43
|
+
### :bug: Bug Fix
|
44
|
+
|
45
|
+
* support ox-grist filters-form for ox-grist-editor-resource-object ([e7ffdaa](https://github.com/hatiolab/operato/commit/e7ffdaa9951a4596aff7ec7c60848570605c54ac))
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
## [1.0.0](https://github.com/hatiolab/operato/compare/v1.0.0-beta.51...v1.0.0) (2022-07-24)
|
50
|
+
|
51
|
+
**Note:** Version bump only for package @operato/utils
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
## [1.0.0-beta.51](https://github.com/hatiolab/operato/compare/v1.0.0-beta.50...v1.0.0-beta.51) (2022-07-22)
|
58
|
+
|
59
|
+
**Note:** Version bump only for package @operato/utils
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
## [1.0.0-beta.50](https://github.com/hatiolab/operato/compare/v1.0.0-beta.49...v1.0.0-beta.50) (2022-07-18)
|
66
|
+
|
67
|
+
**Note:** Version bump only for package @operato/utils
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
## [1.0.0-beta.49](https://github.com/hatiolab/operato/compare/v1.0.0-beta.48...v1.0.0-beta.49) (2022-07-17)
|
74
|
+
|
75
|
+
**Note:** Version bump only for package @operato/utils
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
## [1.0.0-beta.48](https://github.com/hatiolab/operato/compare/v1.0.0-beta.47...v1.0.0-beta.48) (2022-07-17)
|
82
|
+
|
83
|
+
**Note:** Version bump only for package @operato/utils
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
## [1.0.0-beta.47](https://github.com/hatiolab/operato/compare/v1.0.0-beta.46...v1.0.0-beta.47) (2022-07-15)
|
90
|
+
|
91
|
+
**Note:** Version bump only for package @operato/utils
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
## [1.0.0-beta.46](https://github.com/hatiolab/operato/compare/v1.0.0-beta.45...v1.0.0-beta.46) (2022-07-11)
|
98
|
+
|
99
|
+
**Note:** Version bump only for package @operato/utils
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
## [1.0.0-beta.45](https://github.com/hatiolab/operato/compare/v1.0.0-beta.44...v1.0.0-beta.45) (2022-07-09)
|
106
|
+
|
107
|
+
**Note:** Version bump only for package @operato/utils
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
## [1.0.0-beta.44](https://github.com/hatiolab/operato/compare/v1.0.0-beta.43...v1.0.0-beta.44) (2022-07-07)
|
114
|
+
|
115
|
+
**Note:** Version bump only for package @operato/utils
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
## [1.0.0-beta.43](https://github.com/hatiolab/operato/compare/v1.0.0-beta.42...v1.0.0-beta.43) (2022-07-03)
|
122
|
+
|
123
|
+
**Note:** Version bump only for package @operato/utils
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
## [1.0.0-beta.42](https://github.com/hatiolab/operato/compare/v1.0.0-beta.41...v1.0.0-beta.42) (2022-07-03)
|
130
|
+
|
131
|
+
**Note:** Version bump only for package @operato/utils
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
## [1.0.0-beta.41](https://github.com/hatiolab/operato/compare/v1.0.0-beta.40...v1.0.0-beta.41) (2022-06-30)
|
138
|
+
|
139
|
+
|
140
|
+
### :bug: Bug Fix
|
141
|
+
|
142
|
+
* dataset ([44ee34a](https://github.com/hatiolab/operato/commit/44ee34a52b9d7597061e624067aaf3f7cde703c1))
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
## [1.0.0-beta.40](https://github.com/hatiolab/operato/compare/v1.0.0-beta.39...v1.0.0-beta.40) (2022-06-29)
|
147
|
+
|
148
|
+
**Note:** Version bump only for package @operato/utils
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
## [1.0.0-beta.39](https://github.com/hatiolab/operato/compare/v1.0.0-beta.38...v1.0.0-beta.39) (2022-06-22)
|
155
|
+
|
156
|
+
**Note:** Version bump only for package @operato/utils
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
## [1.0.0-beta.38](https://github.com/hatiolab/operato/compare/v1.0.0-beta.37...v1.0.0-beta.38) (2022-06-20)
|
163
|
+
|
164
|
+
**Note:** Version bump only for package @operato/utils
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
## [1.0.0-beta.37](https://github.com/hatiolab/operato/compare/v1.0.0-beta.36...v1.0.0-beta.37) (2022-06-20)
|
171
|
+
|
172
|
+
**Note:** Version bump only for package @operato/utils
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
## [1.0.0-beta.36](https://github.com/hatiolab/operato/compare/v1.0.0-beta.35...v1.0.0-beta.36) (2022-06-16)
|
179
|
+
|
180
|
+
**Note:** Version bump only for package @operato/utils
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
## [1.0.0-beta.35](https://github.com/hatiolab/operato/compare/v1.0.0-beta.34...v1.0.0-beta.35) (2022-06-16)
|
187
|
+
|
188
|
+
**Note:** Version bump only for package @operato/utils
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
## [1.0.0-beta.34](https://github.com/hatiolab/operato/compare/v1.0.0-beta.33...v1.0.0-beta.34) (2022-06-16)
|
195
|
+
|
196
|
+
**Note:** Version bump only for package @operato/utils
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
## [1.0.0-beta.33](https://github.com/hatiolab/operato/compare/v1.0.0-beta.32...v1.0.0-beta.33) (2022-06-16)
|
203
|
+
|
204
|
+
**Note:** Version bump only for package @operato/utils
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
## [1.0.0-beta.32](https://github.com/hatiolab/operato/compare/v1.0.0-beta.31...v1.0.0-beta.32) (2022-06-15)
|
211
|
+
|
212
|
+
**Note:** Version bump only for package @operato/utils
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
## [1.0.0-beta.31](https://github.com/hatiolab/operato/compare/v1.0.0-beta.30...v1.0.0-beta.31) (2022-06-15)
|
219
|
+
|
220
|
+
**Note:** Version bump only for package @operato/utils
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
## [1.0.0-beta.30](https://github.com/hatiolab/operato/compare/v1.0.0-beta.29...v1.0.0-beta.30) (2022-06-13)
|
227
|
+
|
228
|
+
**Note:** Version bump only for package @operato/utils
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
## [1.0.0-beta.29](https://github.com/hatiolab/operato/compare/v1.0.0-beta.28...v1.0.0-beta.29) (2022-06-10)
|
235
|
+
|
236
|
+
**Note:** Version bump only for package @operato/utils
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
## [1.0.0-beta.28](https://github.com/hatiolab/operato/compare/v1.0.0-beta.27...v1.0.0-beta.28) (2022-06-10)
|
243
|
+
|
244
|
+
|
245
|
+
### :bug: Bug Fix
|
246
|
+
|
247
|
+
* add adjust-list-param utils ([89307d0](https://github.com/hatiolab/operato/commit/89307d0887ee01b6cd041094618c4af44d827a0b))
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
## [1.0.0-beta.27](https://github.com/hatiolab/operato/compare/v1.0.0-beta.26...v1.0.0-beta.27) (2022-06-09)
|
252
|
+
|
253
|
+
**Note:** Version bump only for package @operato/utils
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
## [1.0.0-beta.26](https://github.com/hatiolab/operato/compare/v1.0.0-beta.25...v1.0.0-beta.26) (2022-06-04)
|
260
|
+
|
261
|
+
**Note:** Version bump only for package @operato/utils
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
## [1.0.0-beta.25](https://github.com/hatiolab/operato/compare/v1.0.0-beta.24...v1.0.0-beta.25) (2022-06-02)
|
268
|
+
|
269
|
+
**Note:** Version bump only for package @operato/utils
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
## [1.0.0-beta.24](https://github.com/hatiolab/operato/compare/v1.0.0-beta.23...v1.0.0-beta.24) (2022-06-02)
|
276
|
+
|
277
|
+
**Note:** Version bump only for package @operato/utils
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
## [1.0.0-beta.23](https://github.com/hatiolab/operato/compare/v1.0.0-beta.22...v1.0.0-beta.23) (2022-06-02)
|
284
|
+
|
285
|
+
**Note:** Version bump only for package @operato/utils
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
## [1.0.0-beta.22](https://github.com/hatiolab/operato/compare/v1.0.0-beta.21...v1.0.0-beta.22) (2022-05-31)
|
292
|
+
|
293
|
+
**Note:** Version bump only for package @operato/utils
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
## [1.0.0-beta.21](https://github.com/hatiolab/operato/compare/v1.0.0-beta.20...v1.0.0-beta.21) (2022-05-31)
|
300
|
+
|
301
|
+
**Note:** Version bump only for package @operato/utils
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
## [1.0.0-beta.20](https://github.com/hatiolab/operato/compare/v1.0.0-beta.19...v1.0.0-beta.20) (2022-05-30)
|
308
|
+
|
309
|
+
**Note:** Version bump only for package @operato/utils
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
## [1.0.0-beta.19](https://github.com/hatiolab/operato/compare/v1.0.0-beta.18...v1.0.0-beta.19) (2022-05-29)
|
316
|
+
|
317
|
+
**Note:** Version bump only for package @operato/utils
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
## [1.0.0-beta.18](https://github.com/hatiolab/operato/compare/v1.0.0-beta.17...v1.0.0-beta.18) (2022-05-27)
|
324
|
+
|
325
|
+
**Note:** Version bump only for package @operato/utils
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
## [1.0.0-beta.17](https://github.com/hatiolab/operato/compare/v1.0.0-beta.16...v1.0.0-beta.17) (2022-05-25)
|
332
|
+
|
333
|
+
**Note:** Version bump only for package @operato/utils
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
## [1.0.0-beta.16](https://github.com/hatiolab/operato/compare/v1.0.0-beta.15...v1.0.0-beta.16) (2022-05-23)
|
340
|
+
|
341
|
+
**Note:** Version bump only for package @operato/utils
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
## [1.0.0-beta.15](https://github.com/hatiolab/operato/compare/v1.0.0-beta.14...v1.0.0-beta.15) (2022-05-20)
|
348
|
+
|
349
|
+
**Note:** Version bump only for package @operato/utils
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
## [1.0.0-beta.14](https://github.com/hatiolab/operato/compare/v1.0.0-beta.13...v1.0.0-beta.14) (2022-05-19)
|
356
|
+
|
357
|
+
**Note:** Version bump only for package @operato/utils
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
## [1.0.0-beta.13](https://github.com/hatiolab/operato/compare/v1.0.0-beta.12...v1.0.0-beta.13) (2022-05-19)
|
364
|
+
|
365
|
+
|
366
|
+
### :bug: Bug Fix
|
367
|
+
|
368
|
+
* incorrect package.json scripts for storybooks ([8c8c405](https://github.com/hatiolab/operato/commit/8c8c405443247108b9c411b8161c008d9b6a2261))
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
## [1.0.0-beta.12](https://github.com/hatiolab/operato/compare/v1.0.0-beta.11...v1.0.0-beta.12) (2022-05-13)
|
373
|
+
|
374
|
+
|
375
|
+
### :rocket: New Features
|
376
|
+
|
377
|
+
* storybook started ([90c08c9](https://github.com/hatiolab/operato/commit/90c08c9a15e5fe554baaa1becca07793e8434799))
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
## [1.0.0-beta.11](https://github.com/hatiolab/operato/compare/v1.0.0-beta.10...v1.0.0-beta.11) (2022-05-01)
|
382
|
+
|
383
|
+
**Note:** Version bump only for package @operato/utils
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
## [1.0.0-beta.10](https://github.com/hatiolab/operato/compare/v1.0.0-beta.9...v1.0.0-beta.10) (2022-04-28)
|
390
|
+
|
391
|
+
|
392
|
+
### :rocket: New Features
|
393
|
+
|
394
|
+
* add format option for text-renderer ([c58375b](https://github.com/hatiolab/operato/commit/c58375b05fb69db03a9081c41ea4ff11437834b1))
|
395
|
+
|
396
|
+
|
397
|
+
|
6
398
|
## [1.0.0-beta.9](https://github.com/hatiolab/operato/compare/v1.0.0-beta.8...v1.0.0-beta.9) (2022-04-28)
|
7
399
|
|
8
400
|
**Note:** Version bump only for package @operato/utils
|
@@ -0,0 +1,8 @@
|
|
1
|
+
declare type FilterOperator = 'search' | 'eq' | 'between' | 'gte' | 'lte' | 'is_not_true' | 'in' | 'like' | 'i_like' | 'noteq' | 'is_empty_num_id' | 'is_blank' | 'is_present' | 'is_not_false' | 'is_true' | 'is_false' | 'is_not_null' | 'is_null' | 'notin_with_null' | 'notin' | 'gt' | 'lt' | 'i_nlike' | 'nlike';
|
2
|
+
declare type QueryFilter = {
|
3
|
+
name: string;
|
4
|
+
operator: FilterOperator;
|
5
|
+
value: any;
|
6
|
+
};
|
7
|
+
export declare function adjustFilters(filters: QueryFilter[], filtersChange: QueryFilter[], replaceIf?: boolean): QueryFilter[];
|
8
|
+
export {};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export function adjustFilters(filters, filtersChange, replaceIf = true) {
|
2
|
+
var filtersNew = [...filters];
|
3
|
+
filtersChange.forEach(change => {
|
4
|
+
const idx = (filtersNew || []).findIndex(f => f.name === change.name);
|
5
|
+
if (idx !== -1 && !replaceIf) {
|
6
|
+
return;
|
7
|
+
}
|
8
|
+
idx !== -1 ? filtersNew.splice(idx, 1, change) : filtersNew.push(change);
|
9
|
+
});
|
10
|
+
return filtersNew;
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=adjust-list-param.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"adjust-list-param.js","sourceRoot":"","sources":["../../src/adjust-list-param.ts"],"names":[],"mappings":"AAgCA,MAAM,UAAU,aAAa,CAC3B,OAAsB,EACtB,aAA4B,EAC5B,YAAqB,IAAI;IAEzB,IAAI,UAAU,GAAG,CAAC,GAAG,OAAO,CAAC,CAAA;IAE7B,aAAa,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;QAC7B,MAAM,GAAG,GAAG,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,IAAI,CAAC,CAAA;QACrE,IAAI,GAAG,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE;YAC5B,OAAM;SACP;QACD,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IAC1E,CAAC,CAAC,CAAA;IAEF,OAAO,UAAU,CAAA;AACnB,CAAC","sourcesContent":["declare type FilterOperator =\n | 'search'\n | 'eq'\n | 'between'\n | 'gte'\n | 'lte'\n | 'is_not_true'\n | 'in'\n | 'like'\n | 'i_like'\n | 'noteq'\n | 'is_empty_num_id'\n | 'is_blank'\n | 'is_present'\n | 'is_not_false'\n | 'is_true'\n | 'is_false'\n | 'is_not_null'\n | 'is_null'\n | 'notin_with_null'\n | 'notin'\n | 'gt'\n | 'lt'\n | 'i_nlike'\n | 'nlike'\n\ndeclare type QueryFilter = {\n name: string\n operator: FilterOperator\n value: any\n}\n\nexport function adjustFilters(\n filters: QueryFilter[],\n filtersChange: QueryFilter[],\n replaceIf: boolean = true\n): QueryFilter[] {\n var filtersNew = [...filters]\n\n filtersChange.forEach(change => {\n const idx = (filtersNew || []).findIndex(f => f.name === change.name)\n if (idx !== -1 && !replaceIf) {\n return\n }\n idx !== -1 ? filtersNew.splice(idx, 1, change) : filtersNew.push(change)\n })\n\n return filtersNew\n}\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function format(mask: any, value: any): string;
|
@@ -0,0 +1,82 @@
|
|
1
|
+
/*
|
2
|
+
* Source Code from https://github.com/Mottie/javascript-number-formatter
|
3
|
+
* 소스코드 출처 : https://github.com/Mottie/javascript-number-formatter
|
4
|
+
*/
|
5
|
+
export function format(mask, value) {
|
6
|
+
if (!mask || isNaN(+value)) {
|
7
|
+
return value; // return as it is.
|
8
|
+
}
|
9
|
+
var isNegative, result, decimal, group, posLeadZero, posTrailZero, posSeparator, part, szSep, integer,
|
10
|
+
// find prefix/suffix
|
11
|
+
len = mask.length, start = mask.search(/[0-9\-\+#]/), prefix = start > 0 ? mask.substring(0, start) : '',
|
12
|
+
// reverse string: not an ideal method if there are surrogate pairs
|
13
|
+
str = mask.split('').reverse().join(''), end = str.search(/[0-9\-\+#]/), offset = len - end, substr = mask.substring(offset, offset + 1), indx = offset + (substr === '.' || substr === ',' ? 1 : 0), suffix = end > 0 ? mask.substring(indx, len) : '';
|
14
|
+
// mask with prefix & suffix removed
|
15
|
+
mask = mask.substring(start, indx);
|
16
|
+
// convert any string to number according to formation sign.
|
17
|
+
value = mask.charAt(0) === '-' ? -value : +value;
|
18
|
+
isNegative = value < 0 ? (value = -value) : 0; // process only abs(), and turn on flag.
|
19
|
+
// search for separator for grp & decimal, anything not digit, not +/- sign, not #.
|
20
|
+
result = mask.match(/[^\d\-\+#]/g);
|
21
|
+
decimal = '.'; // ( result && result[ result.length - 1 ] ) || '.'; // ','는 소수점이 되지 않게 함
|
22
|
+
group = (result && result[1] && result[0]) || ','; // treat the left most symbol as group separator
|
23
|
+
// split the decimal for the format string if any.
|
24
|
+
mask = mask.split(decimal);
|
25
|
+
// Fix the decimal first, toFixed will auto fill trailing zero.
|
26
|
+
value = value.toFixed(mask[1] && mask[1].length);
|
27
|
+
value = +value + ''; // convert number to string to trim off *all* trailing decimal zero(es)
|
28
|
+
// fill back any trailing zero according to format
|
29
|
+
posTrailZero = mask[1] && mask[1].lastIndexOf('0'); // look for last zero in format
|
30
|
+
part = value.split('.');
|
31
|
+
// integer will get !part[1]
|
32
|
+
if (!part[1] || (part[1] && part[1].length <= posTrailZero)) {
|
33
|
+
value = (+value).toFixed(posTrailZero + 1);
|
34
|
+
}
|
35
|
+
szSep = mask[0].split(group); // look for separator
|
36
|
+
mask[0] = szSep.join(''); // join back without separator for counting the pos of any leading 0.
|
37
|
+
posLeadZero = mask[0] && mask[0].indexOf('0');
|
38
|
+
if (posLeadZero > -1) {
|
39
|
+
while (part[0].length < mask[0].length - posLeadZero) {
|
40
|
+
part[0] = '0' + part[0];
|
41
|
+
}
|
42
|
+
}
|
43
|
+
else if (+part[0] === 0) {
|
44
|
+
part[0] = '';
|
45
|
+
}
|
46
|
+
value = value.split('.');
|
47
|
+
value[0] = part[0];
|
48
|
+
// process the first group separator from decimal (.) only, the rest ignore.
|
49
|
+
// get the length of the last slice of split result.
|
50
|
+
posSeparator = szSep[1] && szSep[szSep.length - 1].length;
|
51
|
+
if (posSeparator) {
|
52
|
+
integer = value[0];
|
53
|
+
str = '';
|
54
|
+
offset = integer.length % posSeparator;
|
55
|
+
len = integer.length;
|
56
|
+
for (indx = 0; indx < len; indx++) {
|
57
|
+
str += integer.charAt(indx); // ie6 only support charAt for sz.
|
58
|
+
// -posSeparator so that won't trail separator on full length
|
59
|
+
/*jshint -W018 */
|
60
|
+
if (!((indx - offset + 1) % posSeparator) && indx < len - posSeparator) {
|
61
|
+
str += group;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
value[0] = str;
|
65
|
+
}
|
66
|
+
value[1] = mask[1] && value[1] ? decimal + value[1] : '';
|
67
|
+
// remove negative sign if result is zero
|
68
|
+
result = value.join('');
|
69
|
+
if (result === '0' || result === '') {
|
70
|
+
// remove negative sign if result is zero
|
71
|
+
isNegative = false;
|
72
|
+
}
|
73
|
+
// 앞에 +가 붙는다면 양수일 경우에도 +를 표기해줌
|
74
|
+
var fixedPlusSign;
|
75
|
+
if (mask[0].substring(0, 1) == '+')
|
76
|
+
fixedPlusSign = isNegative ? '-' : '+';
|
77
|
+
else
|
78
|
+
fixedPlusSign = isNegative ? '-' : '';
|
79
|
+
// put back any negation, combine integer and fraction, and add back prefix & suffix
|
80
|
+
return prefix + (fixedPlusSign + result) + suffix;
|
81
|
+
}
|
82
|
+
//# sourceMappingURL=format.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"format.js","sourceRoot":"","sources":["../../src/format.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Source Code from https://github.com/Mottie/javascript-number-formatter\n * 소스코드 출처 : https://github.com/Mottie/javascript-number-formatter\n */\n\nexport function format(mask: any, value: any): string {\n if (!mask || isNaN(+value)) {\n return value // return as it is.\n }\n\n var isNegative,\n result,\n decimal,\n group,\n posLeadZero,\n posTrailZero,\n posSeparator,\n part,\n szSep,\n integer,\n // find prefix/suffix\n len = mask.length,\n start = mask.search(/[0-9\\-\\+#]/),\n prefix = start > 0 ? mask.substring(0, start) : '',\n // reverse string: not an ideal method if there are surrogate pairs\n str = mask.split('').reverse().join(''),\n end = str.search(/[0-9\\-\\+#]/),\n offset = len - end,\n substr = mask.substring(offset, offset + 1),\n indx = offset + (substr === '.' || substr === ',' ? 1 : 0),\n suffix = end > 0 ? mask.substring(indx, len) : ''\n\n // mask with prefix & suffix removed\n mask = mask.substring(start, indx)\n\n // convert any string to number according to formation sign.\n value = mask.charAt(0) === '-' ? -value : +value\n isNegative = value < 0 ? (value = -value) : 0 // process only abs(), and turn on flag.\n\n // search for separator for grp & decimal, anything not digit, not +/- sign, not #.\n result = mask.match(/[^\\d\\-\\+#]/g)\n decimal = '.' // ( result && result[ result.length - 1 ] ) || '.'; // ','는 소수점이 되지 않게 함\n group = (result && result[1] && result[0]) || ',' // treat the left most symbol as group separator\n\n // split the decimal for the format string if any.\n mask = mask.split(decimal)\n // Fix the decimal first, toFixed will auto fill trailing zero.\n value = value.toFixed(mask[1] && mask[1].length)\n value = +value + '' // convert number to string to trim off *all* trailing decimal zero(es)\n\n // fill back any trailing zero according to format\n posTrailZero = mask[1] && mask[1].lastIndexOf('0') // look for last zero in format\n part = value.split('.')\n // integer will get !part[1]\n if (!part[1] || (part[1] && part[1].length <= posTrailZero)) {\n value = (+value).toFixed(posTrailZero + 1)\n }\n szSep = mask[0].split(group) // look for separator\n mask[0] = szSep.join('') // join back without separator for counting the pos of any leading 0.\n\n posLeadZero = mask[0] && mask[0].indexOf('0')\n if (posLeadZero > -1) {\n while (part[0].length < mask[0].length - posLeadZero) {\n part[0] = '0' + part[0]\n }\n } else if (+part[0] === 0) {\n part[0] = ''\n }\n\n value = value.split('.')\n value[0] = part[0]\n\n // process the first group separator from decimal (.) only, the rest ignore.\n // get the length of the last slice of split result.\n posSeparator = szSep[1] && szSep[szSep.length - 1].length\n if (posSeparator) {\n integer = value[0]\n str = ''\n offset = integer.length % posSeparator\n len = integer.length\n for (indx = 0; indx < len; indx++) {\n str += integer.charAt(indx) // ie6 only support charAt for sz.\n // -posSeparator so that won't trail separator on full length\n /*jshint -W018 */\n if (!((indx - offset + 1) % posSeparator) && indx < len - posSeparator) {\n str += group\n }\n }\n value[0] = str\n }\n value[1] = mask[1] && value[1] ? decimal + value[1] : ''\n\n // remove negative sign if result is zero\n result = value.join('')\n if (result === '0' || result === '') {\n // remove negative sign if result is zero\n isNegative = false\n }\n\n // 앞에 +가 붙는다면 양수일 경우에도 +를 표기해줌\n var fixedPlusSign\n\n if (mask[0].substring(0, 1) == '+') fixedPlusSign = isNegative ? '-' : '+'\n else fixedPlusSign = isNegative ? '-' : ''\n\n // put back any negation, combine integer and fraction, and add back prefix & suffix\n return prefix + (fixedPlusSign + result) + suffix\n}\n"]}
|
package/dist/src/index.d.ts
CHANGED
@@ -10,3 +10,6 @@ export * from './closest-element.js';
|
|
10
10
|
export * from './detect-overflow.js';
|
11
11
|
export * from './timecapsule/index.js';
|
12
12
|
export * from './clipboard.js';
|
13
|
+
export * from './format.js';
|
14
|
+
export * from './adjust-list-param.js';
|
15
|
+
export * from './is-unvalued.js';
|
package/dist/src/index.js
CHANGED
@@ -10,4 +10,7 @@ export * from './closest-element.js';
|
|
10
10
|
export * from './detect-overflow.js';
|
11
11
|
export * from './timecapsule/index.js';
|
12
12
|
export * from './clipboard.js';
|
13
|
+
export * from './format.js';
|
14
|
+
export * from './adjust-list-param.js';
|
15
|
+
export * from './is-unvalued.js';
|
13
16
|
//# sourceMappingURL=index.js.map
|
package/dist/src/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,gBAAgB,CAAA","sourcesContent":["export * from './sleep.js'\nexport * from './file-drop-helper.js'\nexport * from './context-path.js'\nexport * from './os.js'\nexport * from './swipe-listener.js'\nexport * from './fullscreen.js'\nexport * from './parse-jwt.js'\nexport * from './password-pattern.js'\nexport * from './closest-element.js'\nexport * from './detect-overflow.js'\nexport * from './timecapsule/index.js'\nexport * from './clipboard.js'\n"]}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA","sourcesContent":["export * from './sleep.js'\nexport * from './file-drop-helper.js'\nexport * from './context-path.js'\nexport * from './os.js'\nexport * from './swipe-listener.js'\nexport * from './fullscreen.js'\nexport * from './parse-jwt.js'\nexport * from './password-pattern.js'\nexport * from './closest-element.js'\nexport * from './detect-overflow.js'\nexport * from './timecapsule/index.js'\nexport * from './clipboard.js'\nexport * from './format.js'\nexport * from './adjust-list-param.js'\nexport * from './is-unvalued.js'\n"]}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* It judges whether it is false except 0, false. Returns true in case of undefined, null, NaN, '', {}, [].
|
3
|
+
*
|
4
|
+
* @param value
|
5
|
+
* @returns boolean
|
6
|
+
*/
|
7
|
+
export function isUnvalued(value) {
|
8
|
+
/* value == null same as (value === undefined || value === null) */
|
9
|
+
return value == null || value !== 0 || value !== false || value.length === 0 || Object.keys(value).length === 0;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=is-unvalued.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"is-unvalued.js","sourceRoot":"","sources":["../../src/is-unvalued.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,UAAU,UAAU,CAAC,KAAU;IACnC,mEAAmE;IACnE,OAAO,KAAK,IAAI,IAAI,IAAI,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,KAAK,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,CAAA;AACjH,CAAC","sourcesContent":["/**\n * It judges whether it is false except 0, false. Returns true in case of undefined, null, NaN, '', {}, [].\n *\n * @param value\n * @returns boolean\n */\nexport function isUnvalued(value: any) {\n /* value == null same as (value === undefined || value === null) */\n return value == null || value !== 0 || value !== false || value.length === 0 || Object.keys(value).length === 0\n}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/tslib/tslib.d.ts","../src/clipboard.ts","../src/closest-element.ts","../src/context-path.ts","../src/detect-overflow.ts","../src/file-drop-helper.ts","../src/fullscreen.ts","../src/sleep.ts","../src/os.ts","../src/swipe-listener.ts","../src/parse-jwt.ts","../src/password-pattern.ts","../src/logger.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/lodash-es/debounce.d.ts","../src/timecapsule/snapshot-taker.ts","../src/timecapsule/timecapsule.ts","../src/timecapsule/index.ts","../src/index.ts","../src/mixins/infinite-scrollable.ts","../src/mixins/index.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"5075b36ab861c8c0c45377cb8c96270d7c65f0eeaf105d53fac6850da61f1027","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75",{"version":"b0fe51a25ffe988a6402e83f5bb13de5522b14f171869d287c685bcbf1d098f3","signature":"46d98d129de9914564a5c8909c9098175c5896919e8e698d206cfffdfa7c3999"},"85573ed05c22739025d15d9e1eedd0314063dd1ec16e9a566911f6db2791a01e","a84f74a36313258ea3bf2fa085568a35530a423035037be03ce67e02c768787f","0475cae2f2c18a258b1494822bd43f7051df50515385edd3b99c72b0e3301ed5","69ef8de8a4e2551f1a0e21d82a04d233fb5d7d8a1f8db661a1a18e880b4e7545","b18b9acb5cff76a70fec4f1effd260b9f956bba6edb28c1e160979f0b9a51dd6","d9e51838c1aa2a91b7d2a495adb92ab70eb35c81fcd3b359c2509903958bf3f8","ed98b233e8585a584c2fa1dddb6dd6ec23bf886d7fc3b26d6524c61e97e25f46","d1d0e3e5bd9e070e932c938bd580da6fce3b6a9e230b7156584f7b38ce3a9c4e","f1f7164489347eacf6f1239bcae173a72047ee9be4ba8cd7f4f6af42e8155ce8","75c214d02f82e035a0dc7ca93601b3ddecd4a723d32d1d9f45bd429debbc36f9",{"version":"ea1aa58b3e54ef656be66b5615f8e3d8d076060e906937e4d9063a5bcd652137","signature":"68391329bed26aa9e829a7e2e7870aa93c3241111e529b6052b9dbf962896401"},"675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","6ac6f24aff52e62c3950461aa17eab26e3a156927858e6b654baef0058b4cd1e",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"30905c89260ca8da4e72345c72f8e80beb9cc39ee2ee48261e63f76ea1874d1e",{"version":"3a5b589a7d548d2cad6407a7c0d0b5710a4d0ba60ef3a98f52526dd46490ae31","signature":"e56a260134af75a771b5e19534d30007034e2757183546193f8b191683c6b2b9"},{"version":"48bae6e2098c745f770e2a65e559c350c8915d4ae6e0e878382d32c6fde4062e","signature":"70926949fb828e317443687c9f3b5288e1ef6ec1e5130c1001f406b4ba3665ff"},{"version":"b3725f31a113200e0a0266278f33e64ba879874b0acf6837054f9acd34719588","signature":"f499d7fb533781939c7a5ab778ac6e6c8ffe65601b1a61a843c36ee0013f05b6"},{"version":"e5c9dd10a40cab5ec1981c114b8a6ed68d41d1708cb19bcd2abf2e651ae5b4b8","signature":"b3e4dfe9d22ac6c950a9dfb6f0c16f23cfdad3c9cfb96bd9a3409a6a3172786b"},"dc984830a76f40e1dae38ef53b738123440b728674739ebf60c7284b6586ae27","14fd84e1f3037c24aa5e5c9b6c4250e9effeea0fae526277c8ac4890310273c6","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true},"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a",{"version":"712ba0d43b44d144dfd01593f61af6e2e21cfae83e834d297643e7973e55ed61","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","98a3ebfa494b46265634a73459050befba5da8fdc6ca0ef9b7269421780f4ff3","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"7a5459efa09ea82088234e6533a203d528c594b01787fb90fba148885a36e8b6","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","e383ff72aabf294913f8c346f5da1445ae6ad525836d28efd52cbadc01a361a6","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","sourceMap":true,"strict":true,"target":5,"useDefineForClassFields":false},"fileIdsList":[[65,116],[53,55,56,57,58,59,60,61,62,63,64,65,116],[53,54,56,57,58,59,60,61,62,63,64,65,116],[54,55,56,57,58,59,60,61,62,63,64,65,116],[53,54,55,57,58,59,60,61,62,63,64,65,116],[53,54,55,56,58,59,60,61,62,63,64,65,116],[53,54,55,56,57,59,60,61,62,63,64,65,116],[53,54,55,56,57,58,60,61,62,63,64,65,116],[53,54,55,56,57,58,59,61,62,63,64,65,116],[53,54,55,56,57,58,59,60,62,63,64,65,116],[53,54,55,56,57,58,59,60,61,63,64,65,116],[53,54,55,56,57,58,59,60,61,62,64,65,116],[53,54,55,56,57,58,59,60,61,62,63,65,116],[53,54,55,56,57,58,59,60,61,62,63,64,116],[116],[73,116],[76,116],[77,82,116],[78,88,89,96,105,115,116],[78,79,88,96,116],[80,116],[81,82,89,97,116],[82,105,112,116],[83,85,88,96,116],[84,116],[85,86,116],[87,88,116],[88,116],[88,89,90,105,115,116],[88,89,90,105,116],[91,96,105,115,116],[88,89,91,92,96,105,112,115,116],[91,93,105,112,115,116],[73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122],[88,94,116],[95,115,116],[85,88,96,105,116],[97,116],[98,116],[76,99,116],[100,114,116,120],[101,116],[102,116],[88,103,116],[103,104,116,118],[88,105,106,107,116],[105,107,116],[105,106,116],[108,116],[109,116],[88,110,111,116],[110,111,116],[82,96,105,112,116],[113,116],[96,114,116],[77,91,102,115,116],[82,116],[105,116,117],[116,118],[116,119],[77,82,88,90,99,105,115,116,118,120],[105,116,121],[40,116],[40,41,42,43,44,45,46,47,48,49,50,51,69,116],[40,71,116],[40,66,116],[40,67,68,116],[40,66,68,116],[40,52,67,116],[41,42,43,44,45,46,47,48,49,50,51,69],[67,68],[68],[67]],"referencedMap":[[66,1],[54,2],[55,3],[53,4],[56,5],[57,6],[58,7],[59,8],[60,9],[61,10],[62,11],[63,12],[64,13],[65,14],[124,15],[73,16],[74,16],[76,17],[77,18],[78,19],[79,20],[80,21],[81,22],[82,23],[83,24],[84,25],[85,26],[86,26],[87,27],[88,28],[89,29],[90,30],[75,15],[122,15],[91,31],[92,32],[93,33],[123,34],[94,35],[95,36],[96,37],[97,38],[98,39],[99,40],[100,41],[101,42],[102,43],[103,44],[104,45],[105,46],[107,47],[106,48],[108,49],[109,50],[110,51],[111,52],[112,53],[113,54],[114,55],[115,56],[116,57],[117,58],[118,59],[119,60],[120,61],[121,62],[40,15],[8,15],[10,15],[9,15],[2,15],[11,15],[12,15],[13,15],[14,15],[15,15],[16,15],[17,15],[18,15],[3,15],[4,15],[22,15],[19,15],[20,15],[21,15],[23,15],[24,15],[25,15],[5,15],[26,15],[27,15],[28,15],[29,15],[6,15],[30,15],[31,15],[32,15],[33,15],[7,15],[38,15],[34,15],[35,15],[36,15],[37,15],[1,15],[39,15],[41,63],[42,63],[43,63],[44,63],[45,63],[46,63],[70,64],[52,63],[72,65],[71,66],[48,63],[50,63],[51,63],[47,63],[49,63],[69,67],[67,68],[68,69]],"exportedModulesMap":[[66,1],[54,2],[55,3],[53,4],[56,5],[57,6],[58,7],[59,8],[60,9],[61,10],[62,11],[63,12],[64,13],[65,14],[124,15],[73,16],[74,16],[76,17],[77,18],[78,19],[79,20],[80,21],[81,22],[82,23],[83,24],[84,25],[85,26],[86,26],[87,27],[88,28],[89,29],[90,30],[75,15],[122,15],[91,31],[92,32],[93,33],[123,34],[94,35],[95,36],[96,37],[97,38],[98,39],[99,40],[100,41],[101,42],[102,43],[103,44],[104,45],[105,46],[107,47],[106,48],[108,49],[109,50],[110,51],[111,52],[112,53],[113,54],[114,55],[115,56],[116,57],[117,58],[118,59],[119,60],[120,61],[121,62],[40,15],[8,15],[10,15],[9,15],[2,15],[11,15],[12,15],[13,15],[14,15],[15,15],[16,15],[17,15],[18,15],[3,15],[4,15],[22,15],[19,15],[20,15],[21,15],[23,15],[24,15],[25,15],[5,15],[26,15],[27,15],[28,15],[29,15],[6,15],[30,15],[31,15],[32,15],[33,15],[7,15],[38,15],[34,15],[35,15],[36,15],[37,15],[1,15],[39,15],[42,63],[43,63],[44,63],[45,63],[46,63],[70,70],[72,65],[71,66],[48,63],[50,63],[51,63],[47,63],[49,63],[69,71],[67,72],[68,73]],"semanticDiagnosticsPerFile":[66,54,55,53,56,57,58,59,60,61,62,63,64,65,124,73,74,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,75,122,91,92,93,123,94,95,96,97,98,99,100,101,102,103,104,105,107,106,108,109,110,111,112,113,114,115,116,117,118,119,120,121,40,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,38,34,35,36,37,1,39,41,42,43,44,45,46,70,52,72,71,48,50,51,47,49,69,67,68]},"version":"4.6.2"}
|
1
|
+
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/tslib/tslib.d.ts","../src/adjust-list-param.ts","../src/clipboard.ts","../src/closest-element.ts","../src/context-path.ts","../src/detect-overflow.ts","../src/file-drop-helper.ts","../src/format.ts","../src/fullscreen.ts","../src/sleep.ts","../src/os.ts","../src/swipe-listener.ts","../src/parse-jwt.ts","../src/password-pattern.ts","../src/logger.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/lodash-es/debounce.d.ts","../src/timecapsule/snapshot-taker.ts","../src/timecapsule/timecapsule.ts","../src/timecapsule/index.ts","../src/is-unvalued.ts","../src/index.ts","../src/mixins/infinite-scrollable.ts","../src/mixins/index.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},"14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e",{"version":"874891e6cf91551001df4a6d1041e14d46816c97f383c7a892f7996a18b41abf","signature":"28b3ab6f54b290c19897dff3d4346b7f1caf6e7d2057119ec6332dc1ddf25e85"},{"version":"b0fe51a25ffe988a6402e83f5bb13de5522b14f171869d287c685bcbf1d098f3","signature":"46d98d129de9914564a5c8909c9098175c5896919e8e698d206cfffdfa7c3999"},{"version":"85573ed05c22739025d15d9e1eedd0314063dd1ec16e9a566911f6db2791a01e","signature":"90feb2c17c1fd53720e1dd8738c6660aa14402394bb30caed6f2a7cdd54fea40"},{"version":"a84f74a36313258ea3bf2fa085568a35530a423035037be03ce67e02c768787f","signature":"74a8a08e5d642a108ae7b23e72bded7b9d784c665458affdfb1770c1b19bcdd1"},{"version":"0475cae2f2c18a258b1494822bd43f7051df50515385edd3b99c72b0e3301ed5","signature":"75f8b003f4362cb9a9e1d9d8b00c6a1e866868f05b27ede146dd8830b675bdf7"},{"version":"69ef8de8a4e2551f1a0e21d82a04d233fb5d7d8a1f8db661a1a18e880b4e7545","signature":"6d1f118cfbf15c813f578cf6b87da76d075698bf7db964cb7c3d75f0309652f7"},{"version":"625b794538a83aac4f097b80fff3a0a89cdc739f47cf23b4ff62927eb4d003c4","signature":"c8f7da57a17479145ea922b90a1efb2ff8e8096992bb0a4658606c9fbd944efc"},{"version":"b18b9acb5cff76a70fec4f1effd260b9f956bba6edb28c1e160979f0b9a51dd6","signature":"7179b6924a816d72bf206803d8cdc27ccc14f02f2d4f4145d5183eb083f5bf17"},{"version":"d9e51838c1aa2a91b7d2a495adb92ab70eb35c81fcd3b359c2509903958bf3f8","signature":"05cfea0488751015b0b85911b6cdcde7c6cebdd9b8cada1ec0b5c1736357a552"},{"version":"ed98b233e8585a584c2fa1dddb6dd6ec23bf886d7fc3b26d6524c61e97e25f46","signature":"a9e5489311de854cb96bfcf5eaf969c9b322c658e3575f30e03180e4d4ca3994"},{"version":"d1d0e3e5bd9e070e932c938bd580da6fce3b6a9e230b7156584f7b38ce3a9c4e","signature":"f8c86fcbfb0a1e69a0ed28d3249cc33c312fa23a39c17e15cbbcc539bdcdc303"},{"version":"f1f7164489347eacf6f1239bcae173a72047ee9be4ba8cd7f4f6af42e8155ce8","signature":"39d2d450df6efbf38585fd316f18922c8ac3fdfd4c3fc412d0bee34e2bc86378"},{"version":"75c214d02f82e035a0dc7ca93601b3ddecd4a723d32d1d9f45bd429debbc36f9","signature":"7470dedadf72566f57f46fa8a8950afe388a4e90935b4e4b3d33add9a611929d"},{"version":"ea1aa58b3e54ef656be66b5615f8e3d8d076060e906937e4d9063a5bcd652137","signature":"68391329bed26aa9e829a7e2e7870aa93c3241111e529b6052b9dbf962896401"},"675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","ca59fe42b81228a317812e95a2e72ccc8c7f1911b5f0c2a032adf41a0161ec5d","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"30905c89260ca8da4e72345c72f8e80beb9cc39ee2ee48261e63f76ea1874d1e",{"version":"3a5b589a7d548d2cad6407a7c0d0b5710a4d0ba60ef3a98f52526dd46490ae31","signature":"e56a260134af75a771b5e19534d30007034e2757183546193f8b191683c6b2b9"},{"version":"48bae6e2098c745f770e2a65e559c350c8915d4ae6e0e878382d32c6fde4062e","signature":"70926949fb828e317443687c9f3b5288e1ef6ec1e5130c1001f406b4ba3665ff"},{"version":"b3725f31a113200e0a0266278f33e64ba879874b0acf6837054f9acd34719588","signature":"f499d7fb533781939c7a5ab778ac6e6c8ffe65601b1a61a843c36ee0013f05b6"},{"version":"4d8db0ef58073a950c6a985b0d1313a358c888e491d5d9a4d5a0777d84351c9a","signature":"1e73d612f806d183d6c16c4135c16c1a14dd827c1a67097e72ab1841852bfcb9"},{"version":"7946e933038c60335edca8b34d773d62bf7eb203baf002c6ec8b267aec155e21","signature":"171109b02b7c87120b262c5ca0ccb9ecbc88ad92f81eb4e62b7ef6237f0fc9e2"},{"version":"dc984830a76f40e1dae38ef53b738123440b728674739ebf60c7284b6586ae27","signature":"e117e17efcacced126d6e6e4361747e6e155fce161b065f4a6f3762fd259be55"},{"version":"14fd84e1f3037c24aa5e5c9b6c4250e9effeea0fae526277c8ac4890310273c6","signature":"2045cb057c6163f5d5bb4d12655bb1449383952bcd3b7a7a62b2848e420245c1"},"9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"3e4624c306340ad303cc536a07004e81336c3f088308a9e4a9f4c957a3cda2fd","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","34ec1daf3566f26c43dbab380af0de1aac29166e57e4f9ef379a2f154e0cb290","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"249a2b90439cdfd51709539fbfa4dfe0791cbae6efce1e9b327ba8f8cd703f49","affectsGlobalScope":true},"acc8fa7e1d03f0d8c4af03c75027086d80bf1cb17edd2d71313bee7bd12dfb91","a9b6b0f7b1e30359283b131ba6d1c51ee2d3601a2f12e1623141e6a1a60c92a5","aeee0090b38de0dd47ca9a79ad5c2d156e3e09d92306719b0b45a3e96098e564","7bac475dcdd9f7e4e9da934d32c305bc889c4ce3c8ac0ef45a93a8d670fff607","09416dd69576b03a3f485adf329a02f043e4a481e060ef5b208194e488d31fd9","8acf99b1c8682276a63ea5bb68433782715892726b97e4604a415e4e56bce41c",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"3b145a2351f5cf16abf999c8d5f4481c74dffdc54ec1e9a89992e2622e1226c5","a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","cb92bc2e42b261e4299025756f1beb826b3d9666a3f0d46f8a7254ca512f57e4","4275d5f964e7fc7afc18538e26b3748c207dd772998346d17f409749aa1f3a63",{"version":"59a638a504490fecaacf0020b9814b6abee37edb66047eb1ab9f7c2274bf1da0","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","8c4c1a64db28930732033c31418f817dcb9d09d706766707ae6d38f23faf0c53","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","556bf5c36deb62cffa1bf697c1789fe008ec82db0273025001db66732714e9d9","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","653968fc1b35c5eb3d273d36fac1c1dc66f9537edf28f33485b8776bd956e23d",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","a381f079c4804442f179d742fdb2e495fe28d67a47cac673485f75ae2e77aeca","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true},"2af17363f8a062e3a8cd1b26030af0058b3f86e783f4fc6aa9f57247f240ebaa","06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","dfe08140492cdc135fb7fd9c4a652c05207b61a436906079b87da1d3111314bf","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","089e1f8603cbc35ab977c8dcc662eb754b82fca32ed1dfb16bd682726c2d5432","8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"64d5585e08ad1ab194b18bf4e851f22a626eae33ac7312ca4ba90bb7ea7daf64",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","sourceMap":true,"strict":true,"target":5,"useDefineForClassFields":false},"fileIdsList":[[69,122],[57,59,60,61,62,63,64,65,66,67,68,69,122],[57,58,60,61,62,63,64,65,66,67,68,69,122],[58,59,60,61,62,63,64,65,66,67,68,69,122],[57,58,59,61,62,63,64,65,66,67,68,69,122],[57,58,59,60,62,63,64,65,66,67,68,69,122],[57,58,59,60,61,63,64,65,66,67,68,69,122],[57,58,59,60,61,62,64,65,66,67,68,69,122],[57,58,59,60,61,62,63,65,66,67,68,69,122],[57,58,59,60,61,62,63,64,66,67,68,69,122],[57,58,59,60,61,62,63,64,65,67,68,69,122],[57,58,59,60,61,62,63,64,65,66,68,69,122],[57,58,59,60,61,62,63,64,65,66,67,69,122],[57,58,59,60,61,62,63,64,65,66,67,68,122],[122],[78,122],[81,122],[82,87,122],[83,93,94,101,110,121,122],[83,84,93,101,122],[85,122],[86,87,94,102,122],[87,110,118,122],[88,90,93,101,122],[89,122],[90,91,122],[92,93,122],[93,122],[93,94,95,110,121,122],[93,94,95,110,113,122],[122,126],[96,101,110,121,122],[93,94,96,97,101,110,118,121,122],[96,98,110,118,121,122],[78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128],[93,99,122],[100,121,122],[90,93,101,110,122],[102,122],[103,122],[81,104,122],[105,120,122,126],[106,122],[107,122],[93,108,122],[108,109,122,124],[93,110,111,112,113,122],[110,112,122],[110,111,122],[113,122],[114,122],[93,116,117,122],[116,117,122],[87,101,110,118,122],[119,122],[101,120,122],[82,96,107,121,122],[87,122],[110,122,123],[122,124],[122,125],[82,87,93,95,104,110,121,122,124,126],[110,122,127],[42,122],[42,43,44,45,46,47,48,49,50,51,52,53,54,55,73,74,122],[42,76,122],[42,70,122],[42,71,72,122],[42,70,72,122],[42,56,71,122],[43,44,45,46,47,48,49,50,51,52,53,54,55,73,74],[76],[71,72],[72],[71]],"referencedMap":[[70,1],[58,2],[59,3],[57,4],[60,5],[61,6],[62,7],[63,8],[64,9],[65,10],[66,11],[67,12],[68,13],[69,14],[130,15],[78,16],[79,16],[81,17],[82,18],[83,19],[84,20],[85,21],[86,22],[87,23],[88,24],[89,25],[90,26],[91,26],[92,27],[93,28],[94,29],[95,30],[80,31],[128,15],[96,32],[97,33],[98,34],[129,35],[99,36],[100,37],[101,38],[102,39],[103,40],[104,41],[105,42],[106,43],[107,44],[108,45],[109,46],[110,47],[112,48],[111,49],[113,50],[114,51],[115,15],[116,52],[117,53],[118,54],[119,55],[120,56],[121,57],[122,58],[123,59],[124,60],[125,61],[126,62],[127,63],[42,15],[8,15],[10,15],[9,15],[2,15],[11,15],[12,15],[13,15],[14,15],[15,15],[16,15],[17,15],[18,15],[3,15],[4,15],[22,15],[19,15],[20,15],[21,15],[23,15],[24,15],[25,15],[5,15],[26,15],[27,15],[28,15],[29,15],[6,15],[30,15],[31,15],[32,15],[33,15],[7,15],[34,15],[39,15],[40,15],[35,15],[36,15],[37,15],[38,15],[1,15],[41,15],[43,64],[44,64],[45,64],[46,64],[47,64],[48,64],[49,64],[50,64],[75,65],[74,64],[56,64],[77,66],[76,67],[52,64],[54,64],[55,64],[51,64],[53,64],[73,68],[71,69],[72,70]],"exportedModulesMap":[[70,1],[58,2],[59,3],[57,4],[60,5],[61,6],[62,7],[63,8],[64,9],[65,10],[66,11],[67,12],[68,13],[69,14],[130,15],[78,16],[79,16],[81,17],[82,18],[83,19],[84,20],[85,21],[86,22],[87,23],[88,24],[89,25],[90,26],[91,26],[92,27],[93,28],[94,29],[95,30],[80,31],[128,15],[96,32],[97,33],[98,34],[129,35],[99,36],[100,37],[101,38],[102,39],[103,40],[104,41],[105,42],[106,43],[107,44],[108,45],[109,46],[110,47],[112,48],[111,49],[113,50],[114,51],[115,15],[116,52],[117,53],[118,54],[119,55],[120,56],[121,57],[122,58],[123,59],[124,60],[125,61],[126,62],[127,63],[42,15],[8,15],[10,15],[9,15],[2,15],[11,15],[12,15],[13,15],[14,15],[15,15],[16,15],[17,15],[18,15],[3,15],[4,15],[22,15],[19,15],[20,15],[21,15],[23,15],[24,15],[25,15],[5,15],[26,15],[27,15],[28,15],[29,15],[6,15],[30,15],[31,15],[32,15],[33,15],[7,15],[34,15],[39,15],[40,15],[35,15],[36,15],[37,15],[38,15],[1,15],[41,15],[75,71],[77,72],[73,73],[71,74],[72,75]],"semanticDiagnosticsPerFile":[70,58,59,57,60,61,62,63,64,65,66,67,68,69,130,78,79,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,80,128,96,97,98,129,99,100,101,102,103,104,105,106,107,108,109,110,112,111,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,42,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,34,39,40,35,36,37,38,1,41,43,44,45,46,47,48,49,50,75,74,56,77,76,52,54,55,51,53,73,71,72]},"version":"4.7.4"}
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"description": "Webcomponent utils following open-wc recommendations",
|
4
4
|
"license": "MIT",
|
5
5
|
"author": "heartyoh",
|
6
|
-
"version": "1.0.
|
6
|
+
"version": "1.0.6",
|
7
7
|
"main": "dist/src/index.js",
|
8
8
|
"module": "dist/src/index.js",
|
9
9
|
"exports": {
|
@@ -17,7 +17,49 @@
|
|
17
17
|
"./context-path.js": "./dist/src/context-path.js",
|
18
18
|
"./closest-element.js": "./dist/src/closest-element.js",
|
19
19
|
"./clipboard.js": "./dist/src/clipboard.js",
|
20
|
-
"./
|
20
|
+
"./format.js": "./dist/src/format.js",
|
21
|
+
"./mixins/infinite-scrollable.js": "./dist/src/mixins/infinite-scrollable.js",
|
22
|
+
"./is-unvalued.js": "./dist/src/is-unvalued.js"
|
23
|
+
},
|
24
|
+
"typesVersions": {
|
25
|
+
"*": {
|
26
|
+
"mixins.js": [
|
27
|
+
"dist/src/mixins/index.d.ts"
|
28
|
+
],
|
29
|
+
"fullscreen.js": [
|
30
|
+
"dist/src/fullscreen.d.ts"
|
31
|
+
],
|
32
|
+
"os.js": [
|
33
|
+
"dist/src/os.d.ts"
|
34
|
+
],
|
35
|
+
"swipe-listener.js": [
|
36
|
+
"dist/src/swipe-listener.d.ts"
|
37
|
+
],
|
38
|
+
"sleep.js": [
|
39
|
+
"dist/src/sleep.d.ts"
|
40
|
+
],
|
41
|
+
"file-drop-helper.js": [
|
42
|
+
"dist/src/file-drop-helper.d.ts"
|
43
|
+
],
|
44
|
+
"context-path.js": [
|
45
|
+
"dist/src/context-path.d.ts"
|
46
|
+
],
|
47
|
+
"closest-element.js": [
|
48
|
+
"dist/src/closest-element.d.ts"
|
49
|
+
],
|
50
|
+
"clipboard.js": [
|
51
|
+
"dist/src/clipboard.d.ts"
|
52
|
+
],
|
53
|
+
"format.js": [
|
54
|
+
"dist/src/format.d.ts"
|
55
|
+
],
|
56
|
+
"mixins/infinite-scrollable.js": [
|
57
|
+
"dist/src/mixins/infinite-scrollable.d.ts"
|
58
|
+
],
|
59
|
+
"is-unvalued.js": [
|
60
|
+
"dist/src/is-unvalued.d.ts"
|
61
|
+
]
|
62
|
+
}
|
21
63
|
},
|
22
64
|
"publishConfig": {
|
23
65
|
"access": "public",
|
@@ -48,12 +90,12 @@
|
|
48
90
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
49
91
|
"@typescript-eslint/parser": "^4.33.0",
|
50
92
|
"@web/dev-server": "^0.1.29",
|
51
|
-
"@web/dev-server-storybook": "
|
93
|
+
"@web/dev-server-storybook": "^0.5.0",
|
52
94
|
"@web/test-runner": "next",
|
53
95
|
"concurrently": "^5.3.0",
|
54
96
|
"eslint": "^7.32.0",
|
55
97
|
"eslint-config-prettier": "^8.3.0",
|
56
|
-
"husky": "^
|
98
|
+
"husky": "^7.0.2",
|
57
99
|
"lint-staged": "^10.5.4",
|
58
100
|
"prettier": "^2.4.1",
|
59
101
|
"tslib": "^2.3.1",
|
@@ -75,5 +117,5 @@
|
|
75
117
|
"dependencies": {
|
76
118
|
"lodash-es": "^4.17.21"
|
77
119
|
},
|
78
|
-
"gitHead": "
|
120
|
+
"gitHead": "e0c4443fb011f84350b93f1c0efa6a96f76cb40b"
|
79
121
|
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
declare type FilterOperator =
|
2
|
+
| 'search'
|
3
|
+
| 'eq'
|
4
|
+
| 'between'
|
5
|
+
| 'gte'
|
6
|
+
| 'lte'
|
7
|
+
| 'is_not_true'
|
8
|
+
| 'in'
|
9
|
+
| 'like'
|
10
|
+
| 'i_like'
|
11
|
+
| 'noteq'
|
12
|
+
| 'is_empty_num_id'
|
13
|
+
| 'is_blank'
|
14
|
+
| 'is_present'
|
15
|
+
| 'is_not_false'
|
16
|
+
| 'is_true'
|
17
|
+
| 'is_false'
|
18
|
+
| 'is_not_null'
|
19
|
+
| 'is_null'
|
20
|
+
| 'notin_with_null'
|
21
|
+
| 'notin'
|
22
|
+
| 'gt'
|
23
|
+
| 'lt'
|
24
|
+
| 'i_nlike'
|
25
|
+
| 'nlike'
|
26
|
+
|
27
|
+
declare type QueryFilter = {
|
28
|
+
name: string
|
29
|
+
operator: FilterOperator
|
30
|
+
value: any
|
31
|
+
}
|
32
|
+
|
33
|
+
export function adjustFilters(
|
34
|
+
filters: QueryFilter[],
|
35
|
+
filtersChange: QueryFilter[],
|
36
|
+
replaceIf: boolean = true
|
37
|
+
): QueryFilter[] {
|
38
|
+
var filtersNew = [...filters]
|
39
|
+
|
40
|
+
filtersChange.forEach(change => {
|
41
|
+
const idx = (filtersNew || []).findIndex(f => f.name === change.name)
|
42
|
+
if (idx !== -1 && !replaceIf) {
|
43
|
+
return
|
44
|
+
}
|
45
|
+
idx !== -1 ? filtersNew.splice(idx, 1, change) : filtersNew.push(change)
|
46
|
+
})
|
47
|
+
|
48
|
+
return filtersNew
|
49
|
+
}
|
package/src/format.ts
ADDED
@@ -0,0 +1,108 @@
|
|
1
|
+
/*
|
2
|
+
* Source Code from https://github.com/Mottie/javascript-number-formatter
|
3
|
+
* 소스코드 출처 : https://github.com/Mottie/javascript-number-formatter
|
4
|
+
*/
|
5
|
+
|
6
|
+
export function format(mask: any, value: any): string {
|
7
|
+
if (!mask || isNaN(+value)) {
|
8
|
+
return value // return as it is.
|
9
|
+
}
|
10
|
+
|
11
|
+
var isNegative,
|
12
|
+
result,
|
13
|
+
decimal,
|
14
|
+
group,
|
15
|
+
posLeadZero,
|
16
|
+
posTrailZero,
|
17
|
+
posSeparator,
|
18
|
+
part,
|
19
|
+
szSep,
|
20
|
+
integer,
|
21
|
+
// find prefix/suffix
|
22
|
+
len = mask.length,
|
23
|
+
start = mask.search(/[0-9\-\+#]/),
|
24
|
+
prefix = start > 0 ? mask.substring(0, start) : '',
|
25
|
+
// reverse string: not an ideal method if there are surrogate pairs
|
26
|
+
str = mask.split('').reverse().join(''),
|
27
|
+
end = str.search(/[0-9\-\+#]/),
|
28
|
+
offset = len - end,
|
29
|
+
substr = mask.substring(offset, offset + 1),
|
30
|
+
indx = offset + (substr === '.' || substr === ',' ? 1 : 0),
|
31
|
+
suffix = end > 0 ? mask.substring(indx, len) : ''
|
32
|
+
|
33
|
+
// mask with prefix & suffix removed
|
34
|
+
mask = mask.substring(start, indx)
|
35
|
+
|
36
|
+
// convert any string to number according to formation sign.
|
37
|
+
value = mask.charAt(0) === '-' ? -value : +value
|
38
|
+
isNegative = value < 0 ? (value = -value) : 0 // process only abs(), and turn on flag.
|
39
|
+
|
40
|
+
// search for separator for grp & decimal, anything not digit, not +/- sign, not #.
|
41
|
+
result = mask.match(/[^\d\-\+#]/g)
|
42
|
+
decimal = '.' // ( result && result[ result.length - 1 ] ) || '.'; // ','는 소수점이 되지 않게 함
|
43
|
+
group = (result && result[1] && result[0]) || ',' // treat the left most symbol as group separator
|
44
|
+
|
45
|
+
// split the decimal for the format string if any.
|
46
|
+
mask = mask.split(decimal)
|
47
|
+
// Fix the decimal first, toFixed will auto fill trailing zero.
|
48
|
+
value = value.toFixed(mask[1] && mask[1].length)
|
49
|
+
value = +value + '' // convert number to string to trim off *all* trailing decimal zero(es)
|
50
|
+
|
51
|
+
// fill back any trailing zero according to format
|
52
|
+
posTrailZero = mask[1] && mask[1].lastIndexOf('0') // look for last zero in format
|
53
|
+
part = value.split('.')
|
54
|
+
// integer will get !part[1]
|
55
|
+
if (!part[1] || (part[1] && part[1].length <= posTrailZero)) {
|
56
|
+
value = (+value).toFixed(posTrailZero + 1)
|
57
|
+
}
|
58
|
+
szSep = mask[0].split(group) // look for separator
|
59
|
+
mask[0] = szSep.join('') // join back without separator for counting the pos of any leading 0.
|
60
|
+
|
61
|
+
posLeadZero = mask[0] && mask[0].indexOf('0')
|
62
|
+
if (posLeadZero > -1) {
|
63
|
+
while (part[0].length < mask[0].length - posLeadZero) {
|
64
|
+
part[0] = '0' + part[0]
|
65
|
+
}
|
66
|
+
} else if (+part[0] === 0) {
|
67
|
+
part[0] = ''
|
68
|
+
}
|
69
|
+
|
70
|
+
value = value.split('.')
|
71
|
+
value[0] = part[0]
|
72
|
+
|
73
|
+
// process the first group separator from decimal (.) only, the rest ignore.
|
74
|
+
// get the length of the last slice of split result.
|
75
|
+
posSeparator = szSep[1] && szSep[szSep.length - 1].length
|
76
|
+
if (posSeparator) {
|
77
|
+
integer = value[0]
|
78
|
+
str = ''
|
79
|
+
offset = integer.length % posSeparator
|
80
|
+
len = integer.length
|
81
|
+
for (indx = 0; indx < len; indx++) {
|
82
|
+
str += integer.charAt(indx) // ie6 only support charAt for sz.
|
83
|
+
// -posSeparator so that won't trail separator on full length
|
84
|
+
/*jshint -W018 */
|
85
|
+
if (!((indx - offset + 1) % posSeparator) && indx < len - posSeparator) {
|
86
|
+
str += group
|
87
|
+
}
|
88
|
+
}
|
89
|
+
value[0] = str
|
90
|
+
}
|
91
|
+
value[1] = mask[1] && value[1] ? decimal + value[1] : ''
|
92
|
+
|
93
|
+
// remove negative sign if result is zero
|
94
|
+
result = value.join('')
|
95
|
+
if (result === '0' || result === '') {
|
96
|
+
// remove negative sign if result is zero
|
97
|
+
isNegative = false
|
98
|
+
}
|
99
|
+
|
100
|
+
// 앞에 +가 붙는다면 양수일 경우에도 +를 표기해줌
|
101
|
+
var fixedPlusSign
|
102
|
+
|
103
|
+
if (mask[0].substring(0, 1) == '+') fixedPlusSign = isNegative ? '-' : '+'
|
104
|
+
else fixedPlusSign = isNegative ? '-' : ''
|
105
|
+
|
106
|
+
// put back any negation, combine integer and fraction, and add back prefix & suffix
|
107
|
+
return prefix + (fixedPlusSign + result) + suffix
|
108
|
+
}
|
package/src/index.ts
CHANGED
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* It judges whether it is false except 0, false. Returns true in case of undefined, null, NaN, '', {}, [].
|
3
|
+
*
|
4
|
+
* @param value
|
5
|
+
* @returns boolean
|
6
|
+
*/
|
7
|
+
export function isUnvalued(value: any) {
|
8
|
+
/* value == null same as (value === undefined || value === null) */
|
9
|
+
return value == null || value !== 0 || value !== false || value.length === 0 || Object.keys(value).length === 0
|
10
|
+
}
|