timered-counter 0.1.2 → 1.1.0
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/custom-elements.json +8504 -0
- package/dist/custom-elements.json +931 -939
- package/dist/decimal-js-number-adapter.esm-browser.js +9 -0
- package/dist/decimal-js-number-adapter.esm-browser.js.map +1 -0
- package/dist/decimal-js-number-adapter.global.js +10 -0
- package/dist/decimal-js-number-adapter.global.js.map +1 -0
- package/dist/grapheme-splitter-string-adapter.esm-browser.js +2 -0
- package/dist/grapheme-splitter-string-adapter.esm-browser.js.map +1 -0
- package/dist/grapheme-splitter-string-adapter.global.js +2 -0
- package/dist/grapheme-splitter-string-adapter.global.js.map +1 -0
- package/dist/src/index.d.ts +1 -5
- package/dist/src/index.js +1 -7
- package/dist/src/index.js.map +1 -1
- package/dist/src/mixins/counter-base.js +9 -9
- package/dist/src/mixins/counter-base.js.map +1 -1
- package/dist/src/number-adapter/decimal-js.d.ts +8 -1
- package/dist/src/number-adapter/decimal-js.js +7 -0
- package/dist/src/number-adapter/decimal-js.js.map +1 -1
- package/dist/src/number-adapter/index.d.ts +6 -4
- package/dist/src/number-adapter/index.js +7 -4
- package/dist/src/number-adapter/index.js.map +1 -1
- package/dist/src/string-adapter/grapheme-splitter.d.ts +7 -0
- package/dist/src/string-adapter/grapheme-splitter.js +7 -0
- package/dist/src/string-adapter/grapheme-splitter.js.map +1 -1
- package/dist/src/string-adapter/index.d.ts +6 -4
- package/dist/src/string-adapter/index.js +7 -4
- package/dist/src/string-adapter/index.js.map +1 -1
- package/dist/src/timered-counter-adapter.d.ts +65 -0
- package/dist/src/timered-counter-adapter.js +120 -0
- package/dist/src/timered-counter-adapter.js.map +1 -0
- package/dist/stories/timered-counter/decimaljs.stories.js +4 -2
- package/dist/stories/timered-counter/decimaljs.stories.js.map +1 -1
- package/dist/stories/timered-counter-number/decimaljs.stories.js +4 -2
- package/dist/stories/timered-counter-number/decimaljs.stories.js.map +1 -1
- package/dist/stories/timered-counter-string/decimaljs.stories.js +4 -2
- package/dist/stories/timered-counter-string/decimaljs.stories.js.map +1 -1
- package/dist/stories/timered-counter-string/grapheme-splitter.stories.js +7 -3
- package/dist/stories/timered-counter-string/grapheme-splitter.stories.js.map +1 -1
- package/dist/stories/timered-counter-string/intl-segmenter.stories.js +5 -3
- package/dist/stories/timered-counter-string/intl-segmenter.stories.js.map +1 -1
- package/dist/timered-counter.esm-browser.js +54 -61
- package/dist/timered-counter.esm-browser.js.map +1 -1
- package/dist/timered-counter.global.js +51 -58
- package/dist/timered-counter.global.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -4
- package/dist/src/counter-adapter.d.ts +0 -38
- package/dist/src/counter-adapter.js +0 -71
- package/dist/src/counter-adapter.js.map +0 -1
@@ -4,13 +4,94 @@
|
|
4
4
|
"modules": [
|
5
5
|
{
|
6
6
|
"kind": "javascript-module",
|
7
|
-
"path": "src/
|
7
|
+
"path": "src/index.ts",
|
8
|
+
"declarations": [],
|
9
|
+
"exports": [
|
10
|
+
{
|
11
|
+
"kind": "js",
|
12
|
+
"name": "TimeredCounter",
|
13
|
+
"declaration": {
|
14
|
+
"name": "TimeredCounter",
|
15
|
+
"module": "src/index.ts"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"kind": "js",
|
20
|
+
"name": "TimeredCounterDatetimeDuration",
|
21
|
+
"declaration": {
|
22
|
+
"name": "TimeredCounterDatetimeDuration",
|
23
|
+
"module": "src/index.ts"
|
24
|
+
}
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"kind": "js",
|
28
|
+
"name": "TimeredCounterNumber",
|
29
|
+
"declaration": {
|
30
|
+
"name": "TimeredCounterNumber",
|
31
|
+
"module": "src/index.ts"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"kind": "js",
|
36
|
+
"name": "TimeredCounterString",
|
37
|
+
"declaration": {
|
38
|
+
"name": "TimeredCounterString",
|
39
|
+
"module": "src/index.ts"
|
40
|
+
}
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"kind": "js",
|
44
|
+
"name": "*",
|
45
|
+
"declaration": {
|
46
|
+
"name": "*",
|
47
|
+
"package": "./easing/index.js"
|
48
|
+
}
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"kind": "js",
|
52
|
+
"name": "*",
|
53
|
+
"declaration": {
|
54
|
+
"name": "*",
|
55
|
+
"package": "./types/index.js"
|
56
|
+
}
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"kind": "js",
|
60
|
+
"name": "*",
|
61
|
+
"declaration": {
|
62
|
+
"name": "*",
|
63
|
+
"package": "./timered-counter-adapter.js"
|
64
|
+
}
|
65
|
+
}
|
66
|
+
]
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"kind": "javascript-module",
|
70
|
+
"path": "src/timered-counter-adapter.ts",
|
8
71
|
"declarations": [
|
9
72
|
{
|
10
73
|
"kind": "class",
|
11
74
|
"description": "",
|
12
|
-
"name": "
|
75
|
+
"name": "TimeredCounterAdapter",
|
13
76
|
"members": [
|
77
|
+
{
|
78
|
+
"kind": "field",
|
79
|
+
"name": "AVAILABLE_NUMBER_ADAPTERS",
|
80
|
+
"type": {
|
81
|
+
"text": "Map<string[], () => NumberAdapter>"
|
82
|
+
},
|
83
|
+
"static": true,
|
84
|
+
"default": "new Map([ [['number'], BuildInNumberAdapter], // [['decimal.js', 'decimaljs'], DecimalJsAdapter()], ])"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"kind": "field",
|
88
|
+
"name": "AVAILABLE_STRING_ADAPTERS",
|
89
|
+
"type": {
|
90
|
+
"text": "Map<string[], () => StringAdapter>"
|
91
|
+
},
|
92
|
+
"static": true,
|
93
|
+
"default": "new Map([ [['string'], BuildInStringAdapter], [['intl-segmenter'], BuildInIntlSegmenterAdapter], // [['grapheme-splitter'], GraphemeSplitterAdapter()], ])"
|
94
|
+
},
|
14
95
|
{
|
15
96
|
"kind": "field",
|
16
97
|
"name": "NUMBER_ADAPTER",
|
@@ -38,7 +119,7 @@
|
|
38
119
|
"text": "object"
|
39
120
|
},
|
40
121
|
"static": true,
|
41
|
-
"default": "{ fromAttribute(value: string | null) { return value; }, toAttribute(value: unknown) { return isNullish(value) ? value :
|
122
|
+
"default": "{ fromAttribute(value: string | null) { return value; }, toAttribute(value: unknown) { return isNullish(value) ? value : TimeredCounterAdapter.NUMBER_ADAPTER.toString(value); }, }",
|
42
123
|
"description": "将 value 及其相关的属性, 在 attribute 和 property 上的互相转换.",
|
43
124
|
"privacy": "protected"
|
44
125
|
},
|
@@ -50,76 +131,124 @@
|
|
50
131
|
{
|
51
132
|
"name": "adapterOrType",
|
52
133
|
"type": {
|
53
|
-
"text": "NumberAdapter | 'number' |
|
134
|
+
"text": "NumberAdapter | 'number' | string"
|
135
|
+
}
|
136
|
+
}
|
137
|
+
],
|
138
|
+
"description": "设置要使用的数字适配器. 仅对设置完之后的 TimeredCounter 实例生效.\n\n接受的关键字除了内置的 `number` 以外, 还可以通过 registerNumberAdapter 注册的 `keyword`."
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"kind": "method",
|
142
|
+
"name": "setStringAdapter",
|
143
|
+
"static": true,
|
144
|
+
"parameters": [
|
145
|
+
{
|
146
|
+
"name": "adapterOrType",
|
147
|
+
"type": {
|
148
|
+
"text": "StringAdapter | 'string' | 'intl-segmenter' | string"
|
149
|
+
}
|
150
|
+
}
|
151
|
+
],
|
152
|
+
"description": "与 setNumberAdapter 类似, 用于设置字符串适配器."
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"kind": "method",
|
156
|
+
"name": "registerNumberAdapter",
|
157
|
+
"static": true,
|
158
|
+
"parameters": [
|
159
|
+
{
|
160
|
+
"name": "keyword",
|
161
|
+
"type": {
|
162
|
+
"text": "string[]"
|
54
163
|
}
|
55
164
|
},
|
56
165
|
{
|
57
|
-
"name": "
|
58
|
-
"optional": true,
|
166
|
+
"name": "adapter",
|
59
167
|
"type": {
|
60
|
-
"text": "
|
168
|
+
"text": "() => NumberAdapter"
|
61
169
|
}
|
62
170
|
}
|
63
171
|
]
|
64
172
|
},
|
65
173
|
{
|
66
174
|
"kind": "method",
|
67
|
-
"name": "
|
175
|
+
"name": "registerStringAdapter",
|
68
176
|
"static": true,
|
69
177
|
"parameters": [
|
70
178
|
{
|
71
|
-
"name": "
|
179
|
+
"name": "keyword",
|
180
|
+
"type": {
|
181
|
+
"text": "string[]"
|
182
|
+
}
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"name": "adapter",
|
72
186
|
"type": {
|
73
|
-
"text": "
|
187
|
+
"text": "() => StringAdapter"
|
74
188
|
}
|
75
189
|
}
|
76
190
|
]
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"kind": "method",
|
194
|
+
"name": "registryAdapter",
|
195
|
+
"static": true,
|
196
|
+
"parameters": [
|
197
|
+
{
|
198
|
+
"name": "adapter",
|
199
|
+
"type": {
|
200
|
+
"text": "{\n register: (counterAdapter: typeof TimeredCounterAdapter) => void;\n }"
|
201
|
+
}
|
202
|
+
}
|
203
|
+
],
|
204
|
+
"description": "可以直接使用 adapter 文件的导出进行注册.\n\nadapter 文件需要导出一个名为 register 的函数, 该函数接受一个 TimeredCounterAdapter 类型的参数.\n\n具体示例请查看 GraphemeSplitterAdapter or DecimalJsAdapter."
|
77
205
|
}
|
78
206
|
]
|
79
|
-
}
|
80
|
-
],
|
81
|
-
"exports": [
|
82
|
-
{
|
83
|
-
"kind": "js",
|
84
|
-
"name": "CounterAdapter",
|
85
|
-
"declaration": {
|
86
|
-
"name": "CounterAdapter",
|
87
|
-
"module": "src/counter-adapter.ts"
|
88
|
-
}
|
89
|
-
}
|
90
|
-
]
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"kind": "javascript-module",
|
94
|
-
"path": "src/index.ts",
|
95
|
-
"declarations": [
|
207
|
+
},
|
96
208
|
{
|
97
209
|
"kind": "function",
|
98
210
|
"name": "setNumberAdapter",
|
99
211
|
"parameters": [
|
100
212
|
{
|
101
|
-
"name": "
|
213
|
+
"name": "args",
|
214
|
+
"type": {
|
215
|
+
"text": "Parameters<(typeof TimeredCounterAdapter)['setNumberAdapter']>"
|
216
|
+
}
|
217
|
+
}
|
218
|
+
]
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"kind": "function",
|
222
|
+
"name": "setStringAdapter",
|
223
|
+
"parameters": [
|
224
|
+
{
|
225
|
+
"name": "args",
|
102
226
|
"type": {
|
103
|
-
"text": "
|
227
|
+
"text": "Parameters<(typeof TimeredCounterAdapter)['setStringAdapter']>"
|
104
228
|
}
|
105
|
-
}
|
229
|
+
}
|
230
|
+
]
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"kind": "function",
|
234
|
+
"name": "registerNumberAdapter",
|
235
|
+
"parameters": [
|
106
236
|
{
|
107
|
-
"name": "
|
108
|
-
"optional": true,
|
237
|
+
"name": "args",
|
109
238
|
"type": {
|
110
|
-
"text": "
|
239
|
+
"text": "Parameters<(typeof TimeredCounterAdapter)['registerNumberAdapter']>"
|
111
240
|
}
|
112
241
|
}
|
113
242
|
]
|
114
243
|
},
|
115
244
|
{
|
116
245
|
"kind": "function",
|
117
|
-
"name": "
|
246
|
+
"name": "registerStringAdapter",
|
118
247
|
"parameters": [
|
119
248
|
{
|
120
|
-
"name": "
|
249
|
+
"name": "args",
|
121
250
|
"type": {
|
122
|
-
"text": "
|
251
|
+
"text": "Parameters<(typeof TimeredCounterAdapter)['registerStringAdapter']>"
|
123
252
|
}
|
124
253
|
}
|
125
254
|
]
|
@@ -128,66 +257,42 @@
|
|
128
257
|
"exports": [
|
129
258
|
{
|
130
259
|
"kind": "js",
|
131
|
-
"name": "
|
132
|
-
"declaration": {
|
133
|
-
"name": "setNumberAdapter",
|
134
|
-
"module": "src/index.ts"
|
135
|
-
}
|
136
|
-
},
|
137
|
-
{
|
138
|
-
"kind": "js",
|
139
|
-
"name": "setStringAdapter",
|
140
|
-
"declaration": {
|
141
|
-
"name": "setStringAdapter",
|
142
|
-
"module": "src/index.ts"
|
143
|
-
}
|
144
|
-
},
|
145
|
-
{
|
146
|
-
"kind": "js",
|
147
|
-
"name": "TimeredCounter",
|
148
|
-
"declaration": {
|
149
|
-
"name": "TimeredCounter",
|
150
|
-
"module": "src/index.ts"
|
151
|
-
}
|
152
|
-
},
|
153
|
-
{
|
154
|
-
"kind": "js",
|
155
|
-
"name": "TimeredCounterDatetimeDuration",
|
260
|
+
"name": "TimeredCounterAdapter",
|
156
261
|
"declaration": {
|
157
|
-
"name": "
|
158
|
-
"module": "src/
|
262
|
+
"name": "TimeredCounterAdapter",
|
263
|
+
"module": "src/timered-counter-adapter.ts"
|
159
264
|
}
|
160
265
|
},
|
161
266
|
{
|
162
267
|
"kind": "js",
|
163
|
-
"name": "
|
268
|
+
"name": "setNumberAdapter",
|
164
269
|
"declaration": {
|
165
|
-
"name": "
|
166
|
-
"module": "src/
|
270
|
+
"name": "setNumberAdapter",
|
271
|
+
"module": "src/timered-counter-adapter.ts"
|
167
272
|
}
|
168
273
|
},
|
169
274
|
{
|
170
275
|
"kind": "js",
|
171
|
-
"name": "
|
276
|
+
"name": "setStringAdapter",
|
172
277
|
"declaration": {
|
173
|
-
"name": "
|
174
|
-
"module": "src/
|
278
|
+
"name": "setStringAdapter",
|
279
|
+
"module": "src/timered-counter-adapter.ts"
|
175
280
|
}
|
176
281
|
},
|
177
282
|
{
|
178
283
|
"kind": "js",
|
179
|
-
"name": "
|
284
|
+
"name": "registerNumberAdapter",
|
180
285
|
"declaration": {
|
181
|
-
"name": "
|
182
|
-
"
|
286
|
+
"name": "registerNumberAdapter",
|
287
|
+
"module": "src/timered-counter-adapter.ts"
|
183
288
|
}
|
184
289
|
},
|
185
290
|
{
|
186
291
|
"kind": "js",
|
187
|
-
"name": "
|
292
|
+
"name": "registerStringAdapter",
|
188
293
|
"declaration": {
|
189
|
-
"name": "
|
190
|
-
"
|
294
|
+
"name": "registerStringAdapter",
|
295
|
+
"module": "src/timered-counter-adapter.ts"
|
191
296
|
}
|
192
297
|
}
|
193
298
|
]
|
@@ -5402,76 +5507,108 @@
|
|
5402
5507
|
},
|
5403
5508
|
{
|
5404
5509
|
"kind": "javascript-module",
|
5405
|
-
"path": "src/
|
5510
|
+
"path": "src/number-adapter/build-in-bigint.ts",
|
5406
5511
|
"declarations": [
|
5407
5512
|
{
|
5408
5513
|
"kind": "function",
|
5409
|
-
"name": "
|
5410
|
-
"
|
5411
|
-
{
|
5412
|
-
"name": "locales",
|
5413
|
-
"description": "本地化配置. 用于创建 {@link Intl.Segmenter}实例.\n "
|
5414
|
-
}
|
5415
|
-
],
|
5416
|
-
"description": "使用内置的 `Intl.Segmenter` 将字符串转换为字符数组.\n\n要使用 BuildInIntlSegmenterAdapter 需要浏览器支持 `Intl.Segmenter`, 查看 [caniuse](https://caniuse.com/?search=Segmenter)."
|
5514
|
+
"name": "BuildInBigintAdapter",
|
5515
|
+
"deprecated": "true"
|
5417
5516
|
}
|
5418
5517
|
],
|
5419
5518
|
"exports": [
|
5420
5519
|
{
|
5421
5520
|
"kind": "js",
|
5422
|
-
"name": "
|
5521
|
+
"name": "BuildInBigintAdapter",
|
5423
5522
|
"declaration": {
|
5424
|
-
"name": "
|
5425
|
-
"module": "src/
|
5523
|
+
"name": "BuildInBigintAdapter",
|
5524
|
+
"module": "src/number-adapter/build-in-bigint.ts"
|
5426
5525
|
}
|
5427
5526
|
}
|
5428
5527
|
]
|
5429
5528
|
},
|
5430
5529
|
{
|
5431
5530
|
"kind": "javascript-module",
|
5432
|
-
"path": "src/
|
5531
|
+
"path": "src/number-adapter/build-in-number.ts",
|
5433
5532
|
"declarations": [
|
5434
5533
|
{
|
5435
5534
|
"kind": "function",
|
5436
|
-
"name": "
|
5437
|
-
"description": "默认的字符串适配器. 该适配器使用内置的 `Array.from` 方法将字符串转换为字符数组.\n该方法可以正确处理包含单个的 emoji 字符的字符串[1]. 但对于由多个字符组合而成的 emoji 无能为力[2].\n\n要支持组合的 emoji 查看 BuildInIntlSegmenterAdapter, GraphemeSplitterAdapter.\n\n[1]: https://dev.to/acanimal/how-to-slice-or-get-symbols-from-a-unicode-string-with-emojis-in-javascript-lets-learn-how-javascript-represent-strings-h3a\n[2]: https://cestoliv.com/blog/how-to-count-emojis-with-javascript/"
|
5535
|
+
"name": "BuildInNumberAdapter"
|
5438
5536
|
}
|
5439
5537
|
],
|
5440
5538
|
"exports": [
|
5441
5539
|
{
|
5442
5540
|
"kind": "js",
|
5443
|
-
"name": "
|
5541
|
+
"name": "BuildInNumberAdapter",
|
5444
5542
|
"declaration": {
|
5445
|
-
"name": "
|
5446
|
-
"module": "src/
|
5543
|
+
"name": "BuildInNumberAdapter",
|
5544
|
+
"module": "src/number-adapter/build-in-number.ts"
|
5447
5545
|
}
|
5448
5546
|
}
|
5449
5547
|
]
|
5450
5548
|
},
|
5451
5549
|
{
|
5452
5550
|
"kind": "javascript-module",
|
5453
|
-
"path": "src/
|
5551
|
+
"path": "src/number-adapter/decimal-js.ts",
|
5454
5552
|
"declarations": [
|
5455
5553
|
{
|
5456
5554
|
"kind": "function",
|
5457
|
-
"name": "
|
5458
|
-
"
|
5555
|
+
"name": "DecimalJsAdapter",
|
5556
|
+
"parameters": [
|
5557
|
+
{
|
5558
|
+
"name": "config",
|
5559
|
+
"default": "{ precision: 1e3 }"
|
5560
|
+
}
|
5561
|
+
]
|
5562
|
+
},
|
5563
|
+
{
|
5564
|
+
"kind": "function",
|
5565
|
+
"name": "register",
|
5566
|
+
"parameters": [
|
5567
|
+
{
|
5568
|
+
"name": "counterAdapter",
|
5569
|
+
"type": {
|
5570
|
+
"text": "typeof TimeredCounterAdapter"
|
5571
|
+
}
|
5572
|
+
},
|
5573
|
+
{
|
5574
|
+
"name": "config",
|
5575
|
+
"optional": true,
|
5576
|
+
"type": {
|
5577
|
+
"text": "Decimal.Config"
|
5578
|
+
}
|
5579
|
+
}
|
5580
|
+
]
|
5459
5581
|
}
|
5460
5582
|
],
|
5461
5583
|
"exports": [
|
5462
5584
|
{
|
5463
5585
|
"kind": "js",
|
5464
|
-
"name": "
|
5586
|
+
"name": "register",
|
5465
5587
|
"declaration": {
|
5466
|
-
"name": "
|
5467
|
-
"module": "src/
|
5588
|
+
"name": "register",
|
5589
|
+
"module": "src/number-adapter/decimal-js.ts"
|
5468
5590
|
}
|
5469
|
-
}
|
5591
|
+
},
|
5592
|
+
{
|
5593
|
+
"kind": "js",
|
5594
|
+
"name": "DecimalJsAdapter",
|
5595
|
+
"declaration": {
|
5596
|
+
"name": "DecimalJsAdapter",
|
5597
|
+
"module": "src/number-adapter/decimal-js.ts"
|
5598
|
+
}
|
5599
|
+
},
|
5600
|
+
{
|
5601
|
+
"kind": "js",
|
5602
|
+
"name": "default",
|
5603
|
+
"declaration": {
|
5604
|
+
"module": "src/number-adapter/decimal-js.ts"
|
5605
|
+
}
|
5606
|
+
}
|
5470
5607
|
]
|
5471
5608
|
},
|
5472
5609
|
{
|
5473
5610
|
"kind": "javascript-module",
|
5474
|
-
"path": "src/
|
5611
|
+
"path": "src/number-adapter/index.ts",
|
5475
5612
|
"declarations": [],
|
5476
5613
|
"exports": [
|
5477
5614
|
{
|
@@ -5479,15 +5616,140 @@
|
|
5479
5616
|
"name": "*",
|
5480
5617
|
"declaration": {
|
5481
5618
|
"name": "*",
|
5482
|
-
"package": "
|
5619
|
+
"package": "./types.js"
|
5620
|
+
}
|
5621
|
+
},
|
5622
|
+
{
|
5623
|
+
"kind": "js",
|
5624
|
+
"name": "*",
|
5625
|
+
"declaration": {
|
5626
|
+
"name": "*",
|
5627
|
+
"package": "./build-in-number.js"
|
5628
|
+
}
|
5629
|
+
},
|
5630
|
+
{
|
5631
|
+
"kind": "js",
|
5632
|
+
"name": "*",
|
5633
|
+
"declaration": {
|
5634
|
+
"name": "*",
|
5635
|
+
"package": "./build-in-bigint.js"
|
5636
|
+
}
|
5637
|
+
}
|
5638
|
+
]
|
5639
|
+
},
|
5640
|
+
{
|
5641
|
+
"kind": "javascript-module",
|
5642
|
+
"path": "src/number-adapter/types.ts",
|
5643
|
+
"declarations": [],
|
5644
|
+
"exports": []
|
5645
|
+
},
|
5646
|
+
{
|
5647
|
+
"kind": "javascript-module",
|
5648
|
+
"path": "src/string-adapter/build-in-intl-segmenter.ts",
|
5649
|
+
"declarations": [
|
5650
|
+
{
|
5651
|
+
"kind": "function",
|
5652
|
+
"name": "BuildInIntlSegmenterAdapter",
|
5653
|
+
"parameters": [
|
5654
|
+
{
|
5655
|
+
"name": "locales",
|
5656
|
+
"description": "本地化配置. 用于创建 {@link Intl.Segmenter}实例.\n "
|
5657
|
+
}
|
5658
|
+
],
|
5659
|
+
"description": "使用内置的 `Intl.Segmenter` 将字符串转换为字符数组.\n\n要使用 BuildInIntlSegmenterAdapter 需要浏览器支持 `Intl.Segmenter`, 查看 [caniuse](https://caniuse.com/?search=Segmenter)."
|
5660
|
+
}
|
5661
|
+
],
|
5662
|
+
"exports": [
|
5663
|
+
{
|
5664
|
+
"kind": "js",
|
5665
|
+
"name": "BuildInIntlSegmenterAdapter",
|
5666
|
+
"declaration": {
|
5667
|
+
"name": "BuildInIntlSegmenterAdapter",
|
5668
|
+
"module": "src/string-adapter/build-in-intl-segmenter.ts"
|
5669
|
+
}
|
5670
|
+
}
|
5671
|
+
]
|
5672
|
+
},
|
5673
|
+
{
|
5674
|
+
"kind": "javascript-module",
|
5675
|
+
"path": "src/string-adapter/build-in-string.ts",
|
5676
|
+
"declarations": [
|
5677
|
+
{
|
5678
|
+
"kind": "function",
|
5679
|
+
"name": "BuildInStringAdapter",
|
5680
|
+
"description": "默认的字符串适配器. 该适配器使用内置的 `Array.from` 方法将字符串转换为字符数组.\n该方法可以正确处理包含单个的 emoji 字符的字符串[1]. 但对于由多个字符组合而成的 emoji 无能为力[2].\n\n要支持组合的 emoji 查看 BuildInIntlSegmenterAdapter, GraphemeSplitterAdapter.\n\n[1]: https://dev.to/acanimal/how-to-slice-or-get-symbols-from-a-unicode-string-with-emojis-in-javascript-lets-learn-how-javascript-represent-strings-h3a\n[2]: https://cestoliv.com/blog/how-to-count-emojis-with-javascript/"
|
5681
|
+
}
|
5682
|
+
],
|
5683
|
+
"exports": [
|
5684
|
+
{
|
5685
|
+
"kind": "js",
|
5686
|
+
"name": "BuildInStringAdapter",
|
5687
|
+
"declaration": {
|
5688
|
+
"name": "BuildInStringAdapter",
|
5689
|
+
"module": "src/string-adapter/build-in-string.ts"
|
5690
|
+
}
|
5691
|
+
}
|
5692
|
+
]
|
5693
|
+
},
|
5694
|
+
{
|
5695
|
+
"kind": "javascript-module",
|
5696
|
+
"path": "src/string-adapter/grapheme-splitter.ts",
|
5697
|
+
"declarations": [
|
5698
|
+
{
|
5699
|
+
"kind": "function",
|
5700
|
+
"name": "GraphemeSplitterAdapter",
|
5701
|
+
"description": "使用 `grapheme-splitter` 库的字符串适配器. 该适配器使用 `grapheme-splitter` 库将字符串转换为字符数组.\n\n要使用 GraphemeSplitterAdapter 需要安装 `grapheme-splitter`."
|
5702
|
+
},
|
5703
|
+
{
|
5704
|
+
"kind": "function",
|
5705
|
+
"name": "register",
|
5706
|
+
"parameters": [
|
5707
|
+
{
|
5708
|
+
"name": "counterAdapter",
|
5709
|
+
"type": {
|
5710
|
+
"text": "typeof TimeredCounterAdapter"
|
5711
|
+
}
|
5712
|
+
}
|
5713
|
+
]
|
5714
|
+
}
|
5715
|
+
],
|
5716
|
+
"exports": [
|
5717
|
+
{
|
5718
|
+
"kind": "js",
|
5719
|
+
"name": "register",
|
5720
|
+
"declaration": {
|
5721
|
+
"name": "register",
|
5722
|
+
"module": "src/string-adapter/grapheme-splitter.ts"
|
5723
|
+
}
|
5724
|
+
},
|
5725
|
+
{
|
5726
|
+
"kind": "js",
|
5727
|
+
"name": "GraphemeSplitterAdapter",
|
5728
|
+
"declaration": {
|
5729
|
+
"name": "GraphemeSplitterAdapter",
|
5730
|
+
"module": "src/string-adapter/grapheme-splitter.ts"
|
5483
5731
|
}
|
5484
5732
|
},
|
5733
|
+
{
|
5734
|
+
"kind": "js",
|
5735
|
+
"name": "default",
|
5736
|
+
"declaration": {
|
5737
|
+
"module": "src/string-adapter/grapheme-splitter.ts"
|
5738
|
+
}
|
5739
|
+
}
|
5740
|
+
]
|
5741
|
+
},
|
5742
|
+
{
|
5743
|
+
"kind": "javascript-module",
|
5744
|
+
"path": "src/string-adapter/index.ts",
|
5745
|
+
"declarations": [],
|
5746
|
+
"exports": [
|
5485
5747
|
{
|
5486
5748
|
"kind": "js",
|
5487
5749
|
"name": "*",
|
5488
5750
|
"declaration": {
|
5489
5751
|
"name": "*",
|
5490
|
-
"package": "
|
5752
|
+
"package": "./types.js"
|
5491
5753
|
}
|
5492
5754
|
},
|
5493
5755
|
{
|
@@ -5495,7 +5757,7 @@
|
|
5495
5757
|
"name": "*",
|
5496
5758
|
"declaration": {
|
5497
5759
|
"name": "*",
|
5498
|
-
"package": "
|
5760
|
+
"package": "./build-in-string.js"
|
5499
5761
|
}
|
5500
5762
|
},
|
5501
5763
|
{
|
@@ -5503,7 +5765,7 @@
|
|
5503
5765
|
"name": "*",
|
5504
5766
|
"declaration": {
|
5505
5767
|
"name": "*",
|
5506
|
-
"package": "
|
5768
|
+
"package": "./build-in-intl-segmenter.js"
|
5507
5769
|
}
|
5508
5770
|
}
|
5509
5771
|
]
|
@@ -5669,168 +5931,167 @@
|
|
5669
5931
|
},
|
5670
5932
|
{
|
5671
5933
|
"kind": "javascript-module",
|
5672
|
-
"path": "src/
|
5673
|
-
"declarations": [
|
5674
|
-
{
|
5675
|
-
"kind": "function",
|
5676
|
-
"name": "BuildInBigintAdapter",
|
5677
|
-
"deprecated": "true"
|
5678
|
-
}
|
5679
|
-
],
|
5680
|
-
"exports": [
|
5681
|
-
{
|
5682
|
-
"kind": "js",
|
5683
|
-
"name": "BuildInBigintAdapter",
|
5684
|
-
"declaration": {
|
5685
|
-
"name": "BuildInBigintAdapter",
|
5686
|
-
"module": "src/number-adapter/build-in-bigint.ts"
|
5687
|
-
}
|
5688
|
-
}
|
5689
|
-
]
|
5690
|
-
},
|
5691
|
-
{
|
5692
|
-
"kind": "javascript-module",
|
5693
|
-
"path": "src/number-adapter/build-in-number.ts",
|
5694
|
-
"declarations": [
|
5695
|
-
{
|
5696
|
-
"kind": "function",
|
5697
|
-
"name": "BuildInNumberAdapter"
|
5698
|
-
}
|
5699
|
-
],
|
5700
|
-
"exports": [
|
5701
|
-
{
|
5702
|
-
"kind": "js",
|
5703
|
-
"name": "BuildInNumberAdapter",
|
5704
|
-
"declaration": {
|
5705
|
-
"name": "BuildInNumberAdapter",
|
5706
|
-
"module": "src/number-adapter/build-in-number.ts"
|
5707
|
-
}
|
5708
|
-
}
|
5709
|
-
]
|
5710
|
-
},
|
5711
|
-
{
|
5712
|
-
"kind": "javascript-module",
|
5713
|
-
"path": "src/number-adapter/decimal-js.ts",
|
5934
|
+
"path": "src/utils/any-base.ts",
|
5714
5935
|
"declarations": [
|
5715
5936
|
{
|
5716
5937
|
"kind": "function",
|
5717
|
-
"name": "
|
5938
|
+
"name": "anyBase",
|
5718
5939
|
"parameters": [
|
5719
5940
|
{
|
5720
|
-
"name": "
|
5721
|
-
"
|
5941
|
+
"name": "sa",
|
5942
|
+
"type": {
|
5943
|
+
"text": "StringAdapter"
|
5944
|
+
}
|
5945
|
+
},
|
5946
|
+
{
|
5947
|
+
"name": "srcAlphabet",
|
5948
|
+
"type": {
|
5949
|
+
"text": "string"
|
5950
|
+
}
|
5951
|
+
},
|
5952
|
+
{
|
5953
|
+
"name": "dstAlphabet",
|
5954
|
+
"type": {
|
5955
|
+
"text": "string"
|
5956
|
+
}
|
5722
5957
|
}
|
5723
5958
|
]
|
5959
|
+
},
|
5960
|
+
{
|
5961
|
+
"kind": "variable",
|
5962
|
+
"name": "BIN",
|
5963
|
+
"type": {
|
5964
|
+
"text": "string"
|
5965
|
+
},
|
5966
|
+
"default": "'01'"
|
5967
|
+
},
|
5968
|
+
{
|
5969
|
+
"kind": "variable",
|
5970
|
+
"name": "OCT",
|
5971
|
+
"type": {
|
5972
|
+
"text": "string"
|
5973
|
+
},
|
5974
|
+
"default": "'01234567'"
|
5975
|
+
},
|
5976
|
+
{
|
5977
|
+
"kind": "variable",
|
5978
|
+
"name": "DEC",
|
5979
|
+
"type": {
|
5980
|
+
"text": "string"
|
5981
|
+
},
|
5982
|
+
"default": "'0123456789'"
|
5983
|
+
},
|
5984
|
+
{
|
5985
|
+
"kind": "variable",
|
5986
|
+
"name": "HEX",
|
5987
|
+
"type": {
|
5988
|
+
"text": "string"
|
5989
|
+
},
|
5990
|
+
"default": "'0123456789abcdef'"
|
5724
5991
|
}
|
5725
5992
|
],
|
5726
5993
|
"exports": [
|
5727
5994
|
{
|
5728
5995
|
"kind": "js",
|
5729
|
-
"name": "
|
5996
|
+
"name": "anyBase",
|
5730
5997
|
"declaration": {
|
5731
|
-
"name": "
|
5732
|
-
"module": "src/
|
5998
|
+
"name": "anyBase",
|
5999
|
+
"module": "src/utils/any-base.ts"
|
5733
6000
|
}
|
5734
|
-
}
|
5735
|
-
]
|
5736
|
-
},
|
5737
|
-
{
|
5738
|
-
"kind": "javascript-module",
|
5739
|
-
"path": "src/number-adapter/index.ts",
|
5740
|
-
"declarations": [],
|
5741
|
-
"exports": [
|
6001
|
+
},
|
5742
6002
|
{
|
5743
6003
|
"kind": "js",
|
5744
|
-
"name": "
|
6004
|
+
"name": "BIN",
|
5745
6005
|
"declaration": {
|
5746
|
-
"name": "
|
5747
|
-
"
|
6006
|
+
"name": "BIN",
|
6007
|
+
"module": "src/utils/any-base.ts"
|
5748
6008
|
}
|
5749
6009
|
},
|
5750
6010
|
{
|
5751
6011
|
"kind": "js",
|
5752
|
-
"name": "
|
6012
|
+
"name": "OCT",
|
5753
6013
|
"declaration": {
|
5754
|
-
"name": "
|
5755
|
-
"
|
6014
|
+
"name": "OCT",
|
6015
|
+
"module": "src/utils/any-base.ts"
|
5756
6016
|
}
|
5757
6017
|
},
|
5758
6018
|
{
|
5759
6019
|
"kind": "js",
|
5760
|
-
"name": "
|
6020
|
+
"name": "DEC",
|
5761
6021
|
"declaration": {
|
5762
|
-
"name": "
|
5763
|
-
"
|
6022
|
+
"name": "DEC",
|
6023
|
+
"module": "src/utils/any-base.ts"
|
5764
6024
|
}
|
5765
6025
|
},
|
5766
6026
|
{
|
5767
6027
|
"kind": "js",
|
5768
|
-
"name": "
|
6028
|
+
"name": "HEX",
|
5769
6029
|
"declaration": {
|
5770
|
-
"name": "
|
5771
|
-
"
|
6030
|
+
"name": "HEX",
|
6031
|
+
"module": "src/utils/any-base.ts"
|
5772
6032
|
}
|
5773
6033
|
}
|
5774
6034
|
]
|
5775
6035
|
},
|
5776
6036
|
{
|
5777
6037
|
"kind": "javascript-module",
|
5778
|
-
"path": "src/
|
5779
|
-
"declarations": [],
|
5780
|
-
"exports": []
|
5781
|
-
},
|
5782
|
-
{
|
5783
|
-
"kind": "javascript-module",
|
5784
|
-
"path": "stories/story-parts/animation-events.ts",
|
6038
|
+
"path": "src/utils/duration.ts",
|
5785
6039
|
"declarations": [
|
5786
6040
|
{
|
5787
6041
|
"kind": "function",
|
5788
|
-
"name": "
|
6042
|
+
"name": "durationObject",
|
6043
|
+
"return": {
|
6044
|
+
"type": {
|
6045
|
+
"text": "{ [key in DurationPartType]?: number }"
|
6046
|
+
}
|
6047
|
+
},
|
5789
6048
|
"parameters": [
|
5790
6049
|
{
|
5791
|
-
"name": "
|
6050
|
+
"name": "start",
|
5792
6051
|
"type": {
|
5793
|
-
"text": "
|
6052
|
+
"text": "Date"
|
5794
6053
|
}
|
5795
6054
|
},
|
5796
6055
|
{
|
5797
|
-
"name": "
|
6056
|
+
"name": "end",
|
5798
6057
|
"type": {
|
5799
|
-
"text": "
|
6058
|
+
"text": "Date"
|
6059
|
+
}
|
6060
|
+
},
|
6061
|
+
{
|
6062
|
+
"name": "parts",
|
6063
|
+
"type": {
|
6064
|
+
"text": "DurationPartType[]"
|
5800
6065
|
}
|
5801
6066
|
}
|
5802
|
-
]
|
5803
|
-
|
5804
|
-
|
5805
|
-
"exports": [
|
5806
|
-
{
|
5807
|
-
"kind": "js",
|
5808
|
-
"name": "animationEvents",
|
5809
|
-
"declaration": {
|
5810
|
-
"name": "animationEvents",
|
5811
|
-
"module": "stories/story-parts/animation-events.ts"
|
5812
|
-
}
|
5813
|
-
}
|
5814
|
-
]
|
5815
|
-
},
|
5816
|
-
{
|
5817
|
-
"kind": "javascript-module",
|
5818
|
-
"path": "stories/story-parts/animation-options.ts",
|
5819
|
-
"declarations": [
|
6067
|
+
],
|
6068
|
+
"description": "计算两个日期之间的时间间隔. 返回一个数组, 包含 parts 每个部分的值."
|
6069
|
+
},
|
5820
6070
|
{
|
5821
6071
|
"kind": "function",
|
5822
|
-
"name": "
|
6072
|
+
"name": "duration",
|
6073
|
+
"return": {
|
6074
|
+
"type": {
|
6075
|
+
"text": "number[]"
|
6076
|
+
}
|
6077
|
+
},
|
5823
6078
|
"parameters": [
|
5824
6079
|
{
|
5825
|
-
"name": "
|
6080
|
+
"name": "start",
|
5826
6081
|
"type": {
|
5827
|
-
"text": "
|
6082
|
+
"text": "Date"
|
5828
6083
|
}
|
5829
6084
|
},
|
5830
6085
|
{
|
5831
|
-
"name": "
|
6086
|
+
"name": "end",
|
5832
6087
|
"type": {
|
5833
|
-
"text": "
|
6088
|
+
"text": "Date"
|
6089
|
+
}
|
6090
|
+
},
|
6091
|
+
{
|
6092
|
+
"name": "parts",
|
6093
|
+
"type": {
|
6094
|
+
"text": "DurationPartType[]"
|
5834
6095
|
}
|
5835
6096
|
}
|
5836
6097
|
]
|
@@ -5839,202 +6100,192 @@
|
|
5839
6100
|
"exports": [
|
5840
6101
|
{
|
5841
6102
|
"kind": "js",
|
5842
|
-
"name": "
|
6103
|
+
"name": "durationObject",
|
5843
6104
|
"declaration": {
|
5844
|
-
"name": "
|
5845
|
-
"module": "
|
6105
|
+
"name": "durationObject",
|
6106
|
+
"module": "src/utils/duration.ts"
|
6107
|
+
}
|
6108
|
+
},
|
6109
|
+
{
|
6110
|
+
"kind": "js",
|
6111
|
+
"name": "duration",
|
6112
|
+
"declaration": {
|
6113
|
+
"name": "duration",
|
6114
|
+
"module": "src/utils/duration.ts"
|
5846
6115
|
}
|
5847
6116
|
}
|
5848
6117
|
]
|
5849
6118
|
},
|
5850
6119
|
{
|
5851
6120
|
"kind": "javascript-module",
|
5852
|
-
"path": "
|
6121
|
+
"path": "src/utils/extract-group-option.ts",
|
5853
6122
|
"declarations": [
|
5854
6123
|
{
|
5855
6124
|
"kind": "function",
|
5856
|
-
"name": "
|
6125
|
+
"name": "extractGroupOption",
|
5857
6126
|
"parameters": [
|
5858
6127
|
{
|
5859
|
-
"name": "
|
6128
|
+
"name": "option",
|
5860
6129
|
"type": {
|
5861
|
-
"text": "
|
6130
|
+
"text": "P"
|
5862
6131
|
}
|
5863
6132
|
},
|
5864
6133
|
{
|
5865
|
-
"name": "
|
6134
|
+
"name": "getterOptions",
|
5866
6135
|
"type": {
|
5867
|
-
"text": "
|
6136
|
+
"text": "GroupGetterOptions"
|
5868
6137
|
}
|
5869
6138
|
}
|
5870
6139
|
]
|
5871
|
-
}
|
5872
|
-
],
|
5873
|
-
"exports": [
|
5874
|
-
{
|
5875
|
-
"kind": "js",
|
5876
|
-
"name": "bigNumber",
|
5877
|
-
"declaration": {
|
5878
|
-
"name": "bigNumber",
|
5879
|
-
"module": "stories/story-parts/big-number.ts"
|
5880
|
-
}
|
5881
|
-
}
|
5882
|
-
]
|
5883
|
-
},
|
5884
|
-
{
|
5885
|
-
"kind": "javascript-module",
|
5886
|
-
"path": "stories/story-parts/datetime-locale.ts",
|
5887
|
-
"declarations": [
|
6140
|
+
},
|
5888
6141
|
{
|
5889
6142
|
"kind": "function",
|
5890
|
-
"name": "
|
6143
|
+
"name": "extractPartOption",
|
5891
6144
|
"parameters": [
|
5892
6145
|
{
|
5893
|
-
"name": "
|
6146
|
+
"name": "option",
|
5894
6147
|
"type": {
|
5895
|
-
"text": "
|
6148
|
+
"text": "P"
|
5896
6149
|
}
|
5897
6150
|
},
|
5898
6151
|
{
|
5899
|
-
"name": "
|
6152
|
+
"name": "getterOptions",
|
5900
6153
|
"type": {
|
5901
|
-
"text": "
|
6154
|
+
"text": "GroupGetterOptions"
|
5902
6155
|
}
|
5903
6156
|
}
|
5904
6157
|
]
|
5905
|
-
}
|
5906
|
-
],
|
5907
|
-
"exports": [
|
5908
|
-
{
|
5909
|
-
"kind": "js",
|
5910
|
-
"name": "datetimeLocale",
|
5911
|
-
"declaration": {
|
5912
|
-
"name": "datetimeLocale",
|
5913
|
-
"module": "stories/story-parts/datetime-locale.ts"
|
5914
|
-
}
|
5915
|
-
}
|
5916
|
-
]
|
5917
|
-
},
|
5918
|
-
{
|
5919
|
-
"kind": "javascript-module",
|
5920
|
-
"path": "stories/story-parts/datetime-precision.ts",
|
5921
|
-
"declarations": [
|
6158
|
+
},
|
5922
6159
|
{
|
5923
6160
|
"kind": "function",
|
5924
|
-
"name": "
|
6161
|
+
"name": "extractPartDigitOption",
|
5925
6162
|
"parameters": [
|
5926
6163
|
{
|
5927
|
-
"name": "
|
6164
|
+
"name": "option",
|
5928
6165
|
"type": {
|
5929
|
-
"text": "
|
6166
|
+
"text": "P"
|
5930
6167
|
}
|
5931
6168
|
},
|
5932
6169
|
{
|
5933
|
-
"name": "
|
6170
|
+
"name": "getterOptions",
|
5934
6171
|
"type": {
|
5935
|
-
"text": "
|
6172
|
+
"text": "GroupGetterOptions"
|
5936
6173
|
}
|
5937
6174
|
}
|
5938
6175
|
]
|
5939
|
-
}
|
5940
|
-
],
|
5941
|
-
"exports": [
|
5942
|
-
{
|
5943
|
-
"kind": "js",
|
5944
|
-
"name": "datetimePrecision",
|
5945
|
-
"declaration": {
|
5946
|
-
"name": "datetimePrecision",
|
5947
|
-
"module": "stories/story-parts/datetime-precision.ts"
|
5948
|
-
}
|
5949
|
-
}
|
5950
|
-
]
|
5951
|
-
},
|
5952
|
-
{
|
5953
|
-
"kind": "javascript-module",
|
5954
|
-
"path": "stories/story-parts/edge-case.ts",
|
5955
|
-
"declarations": [
|
6176
|
+
},
|
5956
6177
|
{
|
5957
6178
|
"kind": "function",
|
5958
|
-
"name": "
|
6179
|
+
"name": "extractPartDigitCellOption",
|
5959
6180
|
"parameters": [
|
5960
6181
|
{
|
5961
|
-
"name": "
|
6182
|
+
"name": "option",
|
5962
6183
|
"type": {
|
5963
|
-
"text": "
|
6184
|
+
"text": "P"
|
5964
6185
|
}
|
5965
6186
|
},
|
5966
6187
|
{
|
5967
|
-
"name": "
|
6188
|
+
"name": "getterOptions",
|
5968
6189
|
"type": {
|
5969
|
-
"text": "
|
6190
|
+
"text": "GroupGetterOptions"
|
5970
6191
|
}
|
5971
6192
|
}
|
5972
6193
|
]
|
5973
|
-
}
|
5974
|
-
],
|
5975
|
-
"exports": [
|
5976
|
-
{
|
5977
|
-
"kind": "js",
|
5978
|
-
"name": "edgeCase",
|
5979
|
-
"declaration": {
|
5980
|
-
"name": "edgeCase",
|
5981
|
-
"module": "stories/story-parts/edge-case.ts"
|
5982
|
-
}
|
5983
|
-
}
|
5984
|
-
]
|
5985
|
-
},
|
5986
|
-
{
|
5987
|
-
"kind": "javascript-module",
|
5988
|
-
"path": "stories/story-parts/emoji.ts",
|
5989
|
-
"declarations": [
|
6194
|
+
},
|
5990
6195
|
{
|
5991
6196
|
"kind": "function",
|
5992
|
-
"name": "
|
6197
|
+
"name": "mergeGroupOption",
|
6198
|
+
"return": {
|
6199
|
+
"type": {
|
6200
|
+
"text": "Result"
|
6201
|
+
}
|
6202
|
+
},
|
5993
6203
|
"parameters": [
|
5994
6204
|
{
|
5995
|
-
"name": "
|
6205
|
+
"name": "data",
|
5996
6206
|
"type": {
|
5997
|
-
"text": "
|
6207
|
+
"text": "Result"
|
5998
6208
|
}
|
5999
6209
|
},
|
6000
6210
|
{
|
6001
|
-
"name": "
|
6211
|
+
"name": "source",
|
6002
6212
|
"type": {
|
6003
|
-
"text": "
|
6213
|
+
"text": "Result"
|
6004
6214
|
}
|
6005
6215
|
}
|
6006
6216
|
]
|
6007
|
-
}
|
6008
|
-
],
|
6009
|
-
"exports": [
|
6010
|
-
{
|
6011
|
-
"kind": "js",
|
6012
|
-
"name": "emoji",
|
6013
|
-
"declaration": {
|
6014
|
-
"name": "emoji",
|
6015
|
-
"module": "stories/story-parts/emoji.ts"
|
6016
|
-
}
|
6017
|
-
}
|
6018
|
-
]
|
6019
|
-
},
|
6020
|
-
{
|
6021
|
-
"kind": "javascript-module",
|
6022
|
-
"path": "stories/story-parts/locale-number.ts",
|
6023
|
-
"declarations": [
|
6217
|
+
},
|
6024
6218
|
{
|
6025
6219
|
"kind": "function",
|
6026
|
-
"name": "
|
6220
|
+
"name": "mergePartOption",
|
6221
|
+
"return": {
|
6222
|
+
"type": {
|
6223
|
+
"text": "Result[]"
|
6224
|
+
}
|
6225
|
+
},
|
6027
6226
|
"parameters": [
|
6028
6227
|
{
|
6029
|
-
"name": "
|
6228
|
+
"name": "data",
|
6229
|
+
"default": "[]",
|
6030
6230
|
"type": {
|
6031
|
-
"text": "
|
6231
|
+
"text": "Result[]"
|
6032
6232
|
}
|
6033
6233
|
},
|
6034
6234
|
{
|
6035
|
-
"name": "
|
6036
|
-
"
|
6037
|
-
|
6235
|
+
"name": "source",
|
6236
|
+
"default": "[]",
|
6237
|
+
"type": {
|
6238
|
+
"text": "Result[]"
|
6239
|
+
}
|
6240
|
+
}
|
6241
|
+
]
|
6242
|
+
},
|
6243
|
+
{
|
6244
|
+
"kind": "function",
|
6245
|
+
"name": "mergePartDigitOption",
|
6246
|
+
"return": {
|
6247
|
+
"type": {
|
6248
|
+
"text": "Result[][]"
|
6249
|
+
}
|
6250
|
+
},
|
6251
|
+
"parameters": [
|
6252
|
+
{
|
6253
|
+
"name": "data",
|
6254
|
+
"default": "[]",
|
6255
|
+
"type": {
|
6256
|
+
"text": "Result[][]"
|
6257
|
+
}
|
6258
|
+
},
|
6259
|
+
{
|
6260
|
+
"name": "source",
|
6261
|
+
"default": "[]",
|
6262
|
+
"type": {
|
6263
|
+
"text": "Result[][]"
|
6264
|
+
}
|
6265
|
+
}
|
6266
|
+
]
|
6267
|
+
},
|
6268
|
+
{
|
6269
|
+
"kind": "function",
|
6270
|
+
"name": "mergePartDigitCellOption",
|
6271
|
+
"return": {
|
6272
|
+
"type": {
|
6273
|
+
"text": "Result[][][]"
|
6274
|
+
}
|
6275
|
+
},
|
6276
|
+
"parameters": [
|
6277
|
+
{
|
6278
|
+
"name": "data",
|
6279
|
+
"default": "[]",
|
6280
|
+
"type": {
|
6281
|
+
"text": "Result[][][]"
|
6282
|
+
}
|
6283
|
+
},
|
6284
|
+
{
|
6285
|
+
"name": "source",
|
6286
|
+
"default": "[]",
|
6287
|
+
"type": {
|
6288
|
+
"text": "Result[][][]"
|
6038
6289
|
}
|
6039
6290
|
}
|
6040
6291
|
]
|
@@ -6043,44 +6294,123 @@
|
|
6043
6294
|
"exports": [
|
6044
6295
|
{
|
6045
6296
|
"kind": "js",
|
6046
|
-
"name": "
|
6297
|
+
"name": "extractGroupOption",
|
6047
6298
|
"declaration": {
|
6048
|
-
"name": "
|
6049
|
-
"module": "
|
6299
|
+
"name": "extractGroupOption",
|
6300
|
+
"module": "src/utils/extract-group-option.ts"
|
6301
|
+
}
|
6302
|
+
},
|
6303
|
+
{
|
6304
|
+
"kind": "js",
|
6305
|
+
"name": "extractPartOption",
|
6306
|
+
"declaration": {
|
6307
|
+
"name": "extractPartOption",
|
6308
|
+
"module": "src/utils/extract-group-option.ts"
|
6309
|
+
}
|
6310
|
+
},
|
6311
|
+
{
|
6312
|
+
"kind": "js",
|
6313
|
+
"name": "extractPartDigitOption",
|
6314
|
+
"declaration": {
|
6315
|
+
"name": "extractPartDigitOption",
|
6316
|
+
"module": "src/utils/extract-group-option.ts"
|
6317
|
+
}
|
6318
|
+
},
|
6319
|
+
{
|
6320
|
+
"kind": "js",
|
6321
|
+
"name": "extractPartDigitCellOption",
|
6322
|
+
"declaration": {
|
6323
|
+
"name": "extractPartDigitCellOption",
|
6324
|
+
"module": "src/utils/extract-group-option.ts"
|
6325
|
+
}
|
6326
|
+
},
|
6327
|
+
{
|
6328
|
+
"kind": "js",
|
6329
|
+
"name": "mergeGroupOption",
|
6330
|
+
"declaration": {
|
6331
|
+
"name": "mergeGroupOption",
|
6332
|
+
"module": "src/utils/extract-group-option.ts"
|
6333
|
+
}
|
6334
|
+
},
|
6335
|
+
{
|
6336
|
+
"kind": "js",
|
6337
|
+
"name": "mergePartOption",
|
6338
|
+
"declaration": {
|
6339
|
+
"name": "mergePartOption",
|
6340
|
+
"module": "src/utils/extract-group-option.ts"
|
6341
|
+
}
|
6342
|
+
},
|
6343
|
+
{
|
6344
|
+
"kind": "js",
|
6345
|
+
"name": "mergePartDigitOption",
|
6346
|
+
"declaration": {
|
6347
|
+
"name": "mergePartDigitOption",
|
6348
|
+
"module": "src/utils/extract-group-option.ts"
|
6349
|
+
}
|
6350
|
+
},
|
6351
|
+
{
|
6352
|
+
"kind": "js",
|
6353
|
+
"name": "mergePartDigitCellOption",
|
6354
|
+
"declaration": {
|
6355
|
+
"name": "mergePartDigitCellOption",
|
6356
|
+
"module": "src/utils/extract-group-option.ts"
|
6050
6357
|
}
|
6051
6358
|
}
|
6052
6359
|
]
|
6053
6360
|
},
|
6054
6361
|
{
|
6055
6362
|
"kind": "javascript-module",
|
6056
|
-
"path": "
|
6363
|
+
"path": "src/utils/iso8601-duration.ts",
|
6057
6364
|
"declarations": [
|
6058
6365
|
{
|
6059
6366
|
"kind": "function",
|
6060
|
-
"name": "
|
6367
|
+
"name": "iso8601Duration",
|
6368
|
+
"return": {
|
6369
|
+
"type": {
|
6370
|
+
"text": "string"
|
6371
|
+
}
|
6372
|
+
},
|
6061
6373
|
"parameters": [
|
6062
6374
|
{
|
6063
|
-
"name": "
|
6375
|
+
"name": "duration",
|
6064
6376
|
"type": {
|
6065
|
-
"text": "
|
6377
|
+
"text": "{\n [key in DurationPartType]?: number;\n}"
|
6066
6378
|
}
|
6067
6379
|
}
|
6068
6380
|
]
|
6381
|
+
}
|
6382
|
+
],
|
6383
|
+
"exports": [
|
6384
|
+
{
|
6385
|
+
"kind": "js",
|
6386
|
+
"name": "iso8601Duration",
|
6387
|
+
"declaration": {
|
6388
|
+
"name": "iso8601Duration",
|
6389
|
+
"module": "src/utils/iso8601-duration.ts"
|
6390
|
+
}
|
6391
|
+
}
|
6392
|
+
]
|
6393
|
+
},
|
6394
|
+
{
|
6395
|
+
"kind": "javascript-module",
|
6396
|
+
"path": "src/utils/localized-date-time-fields.ts",
|
6397
|
+
"declarations": [
|
6398
|
+
{
|
6399
|
+
"kind": "variable",
|
6400
|
+
"name": "DateTimeFields",
|
6401
|
+
"type": {
|
6402
|
+
"text": "[\n \"era\",\n \"year\",\n \"quarter\",\n \"month\",\n \"weekOfYear\",\n \"weekday\",\n \"day\",\n \"dayPeriod\",\n \"hour\",\n \"minute\",\n \"second\",\n \"timeZoneName\",\n]"
|
6403
|
+
},
|
6404
|
+
"default": "[ \"era\", \"year\", \"quarter\", \"month\", \"weekOfYear\", \"weekday\", \"day\", \"dayPeriod\", \"hour\", \"minute\", \"second\", \"timeZoneName\", ]"
|
6069
6405
|
},
|
6070
6406
|
{
|
6071
6407
|
"kind": "function",
|
6072
|
-
"name": "
|
6408
|
+
"name": "getLocalizedDateTimeFields",
|
6073
6409
|
"parameters": [
|
6074
6410
|
{
|
6075
|
-
"name": "
|
6076
|
-
"type": {
|
6077
|
-
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6078
|
-
}
|
6079
|
-
},
|
6080
|
-
{
|
6081
|
-
"name": "{\n counter,\n }",
|
6411
|
+
"name": "locale",
|
6082
6412
|
"type": {
|
6083
|
-
"text": "
|
6413
|
+
"text": "Intl.Locale"
|
6084
6414
|
}
|
6085
6415
|
}
|
6086
6416
|
]
|
@@ -6089,40 +6419,34 @@
|
|
6089
6419
|
"exports": [
|
6090
6420
|
{
|
6091
6421
|
"kind": "js",
|
6092
|
-
"name": "
|
6422
|
+
"name": "DateTimeFields",
|
6093
6423
|
"declaration": {
|
6094
|
-
"name": "
|
6095
|
-
"module": "
|
6424
|
+
"name": "DateTimeFields",
|
6425
|
+
"module": "src/utils/localized-date-time-fields.ts"
|
6096
6426
|
}
|
6097
6427
|
},
|
6098
6428
|
{
|
6099
6429
|
"kind": "js",
|
6100
|
-
"name": "
|
6430
|
+
"name": "getLocalizedDateTimeFields",
|
6101
6431
|
"declaration": {
|
6102
|
-
"name": "
|
6103
|
-
"module": "
|
6432
|
+
"name": "getLocalizedDateTimeFields",
|
6433
|
+
"module": "src/utils/localized-date-time-fields.ts"
|
6104
6434
|
}
|
6105
6435
|
}
|
6106
6436
|
]
|
6107
6437
|
},
|
6108
6438
|
{
|
6109
6439
|
"kind": "javascript-module",
|
6110
|
-
"path": "
|
6440
|
+
"path": "src/utils/parse-json-string.ts",
|
6111
6441
|
"declarations": [
|
6112
6442
|
{
|
6113
6443
|
"kind": "function",
|
6114
|
-
"name": "
|
6444
|
+
"name": "parseJsonString",
|
6115
6445
|
"parameters": [
|
6116
6446
|
{
|
6117
|
-
"name": "
|
6118
|
-
"type": {
|
6119
|
-
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6120
|
-
}
|
6121
|
-
},
|
6122
|
-
{
|
6123
|
-
"name": "{\n counter,\n setBy,\n }",
|
6447
|
+
"name": "value",
|
6124
6448
|
"type": {
|
6125
|
-
"text": "
|
6449
|
+
"text": "string"
|
6126
6450
|
}
|
6127
6451
|
}
|
6128
6452
|
]
|
@@ -6131,32 +6455,31 @@
|
|
6131
6455
|
"exports": [
|
6132
6456
|
{
|
6133
6457
|
"kind": "js",
|
6134
|
-
"name": "
|
6458
|
+
"name": "parseJsonString",
|
6135
6459
|
"declaration": {
|
6136
|
-
"name": "
|
6137
|
-
"module": "
|
6460
|
+
"name": "parseJsonString",
|
6461
|
+
"module": "src/utils/parse-json-string.ts"
|
6138
6462
|
}
|
6139
6463
|
}
|
6140
6464
|
]
|
6141
6465
|
},
|
6142
6466
|
{
|
6143
6467
|
"kind": "javascript-module",
|
6144
|
-
"path": "
|
6468
|
+
"path": "src/utils/polyfill-keyframes.ts",
|
6145
6469
|
"declarations": [
|
6146
6470
|
{
|
6147
6471
|
"kind": "function",
|
6148
|
-
"name": "
|
6472
|
+
"name": "polyfillKeyframes",
|
6473
|
+
"return": {
|
6474
|
+
"type": {
|
6475
|
+
"text": "Keyframe[]"
|
6476
|
+
}
|
6477
|
+
},
|
6149
6478
|
"parameters": [
|
6150
6479
|
{
|
6151
|
-
"name": "
|
6152
|
-
"type": {
|
6153
|
-
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6154
|
-
}
|
6155
|
-
},
|
6156
|
-
{
|
6157
|
-
"name": "{\n counter,\n list = range(0, 5).map(v => v * 10) as T[],\n setBy,\n equal = _equal,\n }",
|
6480
|
+
"name": "keyframes",
|
6158
6481
|
"type": {
|
6159
|
-
"text": "
|
6482
|
+
"text": "Keyframe[] | PropertyIndexedKeyframes"
|
6160
6483
|
}
|
6161
6484
|
}
|
6162
6485
|
]
|
@@ -6165,177 +6488,90 @@
|
|
6165
6488
|
"exports": [
|
6166
6489
|
{
|
6167
6490
|
"kind": "js",
|
6168
|
-
"name": "
|
6491
|
+
"name": "polyfillKeyframes",
|
6169
6492
|
"declaration": {
|
6170
|
-
"name": "
|
6171
|
-
"module": "
|
6493
|
+
"name": "polyfillKeyframes",
|
6494
|
+
"module": "src/utils/polyfill-keyframes.ts"
|
6172
6495
|
}
|
6173
6496
|
}
|
6174
6497
|
]
|
6175
6498
|
},
|
6176
6499
|
{
|
6177
6500
|
"kind": "javascript-module",
|
6178
|
-
"path": "src/utils/
|
6501
|
+
"path": "src/utils/preprocess-part-data.ts",
|
6179
6502
|
"declarations": [
|
6180
6503
|
{
|
6181
6504
|
"kind": "function",
|
6182
|
-
"name": "
|
6505
|
+
"name": "preprocessPartData",
|
6183
6506
|
"parameters": [
|
6184
6507
|
{
|
6185
|
-
"name": "
|
6508
|
+
"name": "newDirection",
|
6186
6509
|
"type": {
|
6187
|
-
"text": "
|
6510
|
+
"text": "'up' | 'down'"
|
6188
6511
|
}
|
6189
6512
|
},
|
6190
6513
|
{
|
6191
|
-
"name": "
|
6514
|
+
"name": "newData",
|
6192
6515
|
"type": {
|
6193
|
-
"text": "
|
6516
|
+
"text": "PartData[]"
|
6194
6517
|
}
|
6195
6518
|
},
|
6196
6519
|
{
|
6197
|
-
"name": "
|
6520
|
+
"name": "oldDirection",
|
6198
6521
|
"type": {
|
6199
|
-
"text": "
|
6522
|
+
"text": "'up' | 'down'"
|
6523
|
+
}
|
6524
|
+
},
|
6525
|
+
{
|
6526
|
+
"name": "oldData",
|
6527
|
+
"type": {
|
6528
|
+
"text": "PartData[]"
|
6200
6529
|
}
|
6201
6530
|
}
|
6202
6531
|
]
|
6203
|
-
}
|
6204
|
-
|
6205
|
-
|
6206
|
-
"name": "BIN",
|
6207
|
-
"type": {
|
6208
|
-
"text": "string"
|
6209
|
-
},
|
6210
|
-
"default": "'01'"
|
6211
|
-
},
|
6212
|
-
{
|
6213
|
-
"kind": "variable",
|
6214
|
-
"name": "OCT",
|
6215
|
-
"type": {
|
6216
|
-
"text": "string"
|
6217
|
-
},
|
6218
|
-
"default": "'01234567'"
|
6219
|
-
},
|
6220
|
-
{
|
6221
|
-
"kind": "variable",
|
6222
|
-
"name": "DEC",
|
6223
|
-
"type": {
|
6224
|
-
"text": "string"
|
6225
|
-
},
|
6226
|
-
"default": "'0123456789'"
|
6227
|
-
},
|
6228
|
-
{
|
6229
|
-
"kind": "variable",
|
6230
|
-
"name": "HEX",
|
6231
|
-
"type": {
|
6232
|
-
"text": "string"
|
6233
|
-
},
|
6234
|
-
"default": "'0123456789abcdef'"
|
6235
|
-
}
|
6236
|
-
],
|
6237
|
-
"exports": [
|
6238
|
-
{
|
6239
|
-
"kind": "js",
|
6240
|
-
"name": "anyBase",
|
6241
|
-
"declaration": {
|
6242
|
-
"name": "anyBase",
|
6243
|
-
"module": "src/utils/any-base.ts"
|
6244
|
-
}
|
6245
|
-
},
|
6246
|
-
{
|
6247
|
-
"kind": "js",
|
6248
|
-
"name": "BIN",
|
6249
|
-
"declaration": {
|
6250
|
-
"name": "BIN",
|
6251
|
-
"module": "src/utils/any-base.ts"
|
6252
|
-
}
|
6253
|
-
},
|
6254
|
-
{
|
6255
|
-
"kind": "js",
|
6256
|
-
"name": "OCT",
|
6257
|
-
"declaration": {
|
6258
|
-
"name": "OCT",
|
6259
|
-
"module": "src/utils/any-base.ts"
|
6260
|
-
}
|
6261
|
-
},
|
6262
|
-
{
|
6263
|
-
"kind": "js",
|
6264
|
-
"name": "DEC",
|
6265
|
-
"declaration": {
|
6266
|
-
"name": "DEC",
|
6267
|
-
"module": "src/utils/any-base.ts"
|
6268
|
-
}
|
6269
|
-
},
|
6532
|
+
}
|
6533
|
+
],
|
6534
|
+
"exports": [
|
6270
6535
|
{
|
6271
6536
|
"kind": "js",
|
6272
|
-
"name": "
|
6537
|
+
"name": "preprocessPartData",
|
6273
6538
|
"declaration": {
|
6274
|
-
"name": "
|
6275
|
-
"module": "src/utils/
|
6539
|
+
"name": "preprocessPartData",
|
6540
|
+
"module": "src/utils/preprocess-part-data.ts"
|
6276
6541
|
}
|
6277
6542
|
}
|
6278
6543
|
]
|
6279
6544
|
},
|
6280
6545
|
{
|
6281
6546
|
"kind": "javascript-module",
|
6282
|
-
"path": "src/utils/
|
6547
|
+
"path": "src/utils/transition-digit.ts",
|
6283
6548
|
"declarations": [
|
6284
6549
|
{
|
6285
6550
|
"kind": "function",
|
6286
|
-
"name": "
|
6287
|
-
"return": {
|
6288
|
-
"type": {
|
6289
|
-
"text": "{ [key in DurationPartType]?: number }"
|
6290
|
-
}
|
6291
|
-
},
|
6551
|
+
"name": "transitionDigit",
|
6292
6552
|
"parameters": [
|
6293
6553
|
{
|
6294
|
-
"name": "
|
6295
|
-
"type": {
|
6296
|
-
"text": "Date"
|
6297
|
-
}
|
6298
|
-
},
|
6299
|
-
{
|
6300
|
-
"name": "end",
|
6554
|
+
"name": "na",
|
6301
6555
|
"type": {
|
6302
|
-
"text": "
|
6556
|
+
"text": "NS"
|
6303
6557
|
}
|
6304
6558
|
},
|
6305
6559
|
{
|
6306
|
-
"name": "
|
6307
|
-
"type": {
|
6308
|
-
"text": "DurationPartType[]"
|
6309
|
-
}
|
6310
|
-
}
|
6311
|
-
],
|
6312
|
-
"description": "计算两个日期之间的时间间隔. 返回一个数组, 包含 parts 每个部分的值."
|
6313
|
-
},
|
6314
|
-
{
|
6315
|
-
"kind": "function",
|
6316
|
-
"name": "duration",
|
6317
|
-
"return": {
|
6318
|
-
"type": {
|
6319
|
-
"text": "number[]"
|
6320
|
-
}
|
6321
|
-
},
|
6322
|
-
"parameters": [
|
6323
|
-
{
|
6324
|
-
"name": "start",
|
6560
|
+
"name": "from",
|
6325
6561
|
"type": {
|
6326
|
-
"text": "
|
6562
|
+
"text": "V"
|
6327
6563
|
}
|
6328
6564
|
},
|
6329
6565
|
{
|
6330
|
-
"name": "
|
6566
|
+
"name": "to",
|
6331
6567
|
"type": {
|
6332
|
-
"text": "
|
6568
|
+
"text": "V"
|
6333
6569
|
}
|
6334
6570
|
},
|
6335
6571
|
{
|
6336
|
-
"name": "
|
6572
|
+
"name": "count",
|
6337
6573
|
"type": {
|
6338
|
-
"text": "
|
6574
|
+
"text": "number"
|
6339
6575
|
}
|
6340
6576
|
}
|
6341
6577
|
]
|
@@ -6344,192 +6580,154 @@
|
|
6344
6580
|
"exports": [
|
6345
6581
|
{
|
6346
6582
|
"kind": "js",
|
6347
|
-
"name": "
|
6583
|
+
"name": "transitionDigit",
|
6348
6584
|
"declaration": {
|
6349
|
-
"name": "
|
6350
|
-
"module": "src/utils/
|
6585
|
+
"name": "transitionDigit",
|
6586
|
+
"module": "src/utils/transition-digit.ts"
|
6351
6587
|
}
|
6352
|
-
}
|
6588
|
+
}
|
6589
|
+
]
|
6590
|
+
},
|
6591
|
+
{
|
6592
|
+
"kind": "javascript-module",
|
6593
|
+
"path": "src/utils/uuid.ts",
|
6594
|
+
"declarations": [
|
6595
|
+
{
|
6596
|
+
"kind": "function",
|
6597
|
+
"name": "uuid"
|
6598
|
+
}
|
6599
|
+
],
|
6600
|
+
"exports": [
|
6353
6601
|
{
|
6354
6602
|
"kind": "js",
|
6355
|
-
"name": "
|
6603
|
+
"name": "uuid",
|
6356
6604
|
"declaration": {
|
6357
|
-
"name": "
|
6358
|
-
"module": "src/utils/
|
6605
|
+
"name": "uuid",
|
6606
|
+
"module": "src/utils/uuid.ts"
|
6359
6607
|
}
|
6360
6608
|
}
|
6361
6609
|
]
|
6362
6610
|
},
|
6363
6611
|
{
|
6364
6612
|
"kind": "javascript-module",
|
6365
|
-
"path": "
|
6613
|
+
"path": "stories/story-parts/animation-events.ts",
|
6366
6614
|
"declarations": [
|
6367
6615
|
{
|
6368
6616
|
"kind": "function",
|
6369
|
-
"name": "
|
6370
|
-
"parameters": [
|
6371
|
-
{
|
6372
|
-
"name": "option",
|
6373
|
-
"type": {
|
6374
|
-
"text": "P"
|
6375
|
-
}
|
6376
|
-
},
|
6377
|
-
{
|
6378
|
-
"name": "getterOptions",
|
6379
|
-
"type": {
|
6380
|
-
"text": "GroupGetterOptions"
|
6381
|
-
}
|
6382
|
-
}
|
6383
|
-
]
|
6384
|
-
},
|
6385
|
-
{
|
6386
|
-
"kind": "function",
|
6387
|
-
"name": "extractPartOption",
|
6617
|
+
"name": "animationEvents",
|
6388
6618
|
"parameters": [
|
6389
6619
|
{
|
6390
|
-
"name": "
|
6620
|
+
"name": "context",
|
6391
6621
|
"type": {
|
6392
|
-
"text": "
|
6622
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6393
6623
|
}
|
6394
6624
|
},
|
6395
6625
|
{
|
6396
|
-
"name": "
|
6626
|
+
"name": "{\n counter,\n list = range(0, 5).map(v => v * 10) as T[],\n setBy,\n equal = _equal,\n }",
|
6397
6627
|
"type": {
|
6398
|
-
"text": "
|
6628
|
+
"text": "{\n counter: TC;\n list?: T[];\n setBy: (counter: TC, key: string, value: T) => void;\n equal?: (counter: TimeredCounter, a: any, b: any) => Promise<void>;\n }"
|
6399
6629
|
}
|
6400
6630
|
}
|
6401
6631
|
]
|
6402
|
-
}
|
6632
|
+
}
|
6633
|
+
],
|
6634
|
+
"exports": [
|
6403
6635
|
{
|
6404
|
-
"kind": "
|
6405
|
-
"name": "
|
6406
|
-
"
|
6407
|
-
|
6408
|
-
|
6409
|
-
|
6410
|
-
|
6411
|
-
|
6412
|
-
|
6413
|
-
|
6414
|
-
|
6415
|
-
|
6416
|
-
|
6417
|
-
}
|
6418
|
-
}
|
6419
|
-
]
|
6420
|
-
},
|
6636
|
+
"kind": "js",
|
6637
|
+
"name": "animationEvents",
|
6638
|
+
"declaration": {
|
6639
|
+
"name": "animationEvents",
|
6640
|
+
"module": "stories/story-parts/animation-events.ts"
|
6641
|
+
}
|
6642
|
+
}
|
6643
|
+
]
|
6644
|
+
},
|
6645
|
+
{
|
6646
|
+
"kind": "javascript-module",
|
6647
|
+
"path": "stories/story-parts/animation-options.ts",
|
6648
|
+
"declarations": [
|
6421
6649
|
{
|
6422
6650
|
"kind": "function",
|
6423
|
-
"name": "
|
6651
|
+
"name": "animationOptions",
|
6424
6652
|
"parameters": [
|
6425
6653
|
{
|
6426
|
-
"name": "
|
6654
|
+
"name": "context",
|
6427
6655
|
"type": {
|
6428
|
-
"text": "
|
6656
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6429
6657
|
}
|
6430
6658
|
},
|
6431
6659
|
{
|
6432
|
-
"name": "
|
6660
|
+
"name": "{\n counter,\n list = [114514] as T[],\n setBy,\n }",
|
6433
6661
|
"type": {
|
6434
|
-
"text": "
|
6662
|
+
"text": "{\n counter: TC;\n list?: T[];\n setBy: (counter: TC, key: string, value: T) => void;\n }"
|
6435
6663
|
}
|
6436
6664
|
}
|
6437
6665
|
]
|
6438
|
-
}
|
6666
|
+
}
|
6667
|
+
],
|
6668
|
+
"exports": [
|
6439
6669
|
{
|
6440
|
-
"kind": "
|
6441
|
-
"name": "
|
6442
|
-
"
|
6443
|
-
"
|
6444
|
-
|
6445
|
-
|
6446
|
-
|
6447
|
-
|
6448
|
-
|
6449
|
-
|
6450
|
-
|
6451
|
-
|
6452
|
-
|
6453
|
-
},
|
6454
|
-
{
|
6455
|
-
"name": "source",
|
6456
|
-
"type": {
|
6457
|
-
"text": "Result"
|
6458
|
-
}
|
6459
|
-
}
|
6460
|
-
]
|
6461
|
-
},
|
6670
|
+
"kind": "js",
|
6671
|
+
"name": "animationOptions",
|
6672
|
+
"declaration": {
|
6673
|
+
"name": "animationOptions",
|
6674
|
+
"module": "stories/story-parts/animation-options.ts"
|
6675
|
+
}
|
6676
|
+
}
|
6677
|
+
]
|
6678
|
+
},
|
6679
|
+
{
|
6680
|
+
"kind": "javascript-module",
|
6681
|
+
"path": "stories/story-parts/big-number.ts",
|
6682
|
+
"declarations": [
|
6462
6683
|
{
|
6463
6684
|
"kind": "function",
|
6464
|
-
"name": "
|
6465
|
-
"return": {
|
6466
|
-
"type": {
|
6467
|
-
"text": "Result[]"
|
6468
|
-
}
|
6469
|
-
},
|
6685
|
+
"name": "bigNumber",
|
6470
6686
|
"parameters": [
|
6471
6687
|
{
|
6472
|
-
"name": "
|
6473
|
-
"default": "[]",
|
6688
|
+
"name": "context",
|
6474
6689
|
"type": {
|
6475
|
-
"text": "
|
6690
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6476
6691
|
}
|
6477
6692
|
},
|
6478
6693
|
{
|
6479
|
-
"name": "
|
6480
|
-
"default": "[]",
|
6694
|
+
"name": "{\n counter,\n setBy,\n equal = _equal,\n }",
|
6481
6695
|
"type": {
|
6482
|
-
"text": "
|
6696
|
+
"text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: string) => void;\n equal?: (counter: TimeredCounter, a: any, b: any) => Promise<void>;\n }"
|
6483
6697
|
}
|
6484
6698
|
}
|
6485
6699
|
]
|
6486
|
-
}
|
6700
|
+
}
|
6701
|
+
],
|
6702
|
+
"exports": [
|
6487
6703
|
{
|
6488
|
-
"kind": "
|
6489
|
-
"name": "
|
6490
|
-
"
|
6491
|
-
"
|
6492
|
-
|
6493
|
-
|
6494
|
-
|
6495
|
-
|
6496
|
-
|
6497
|
-
|
6498
|
-
|
6499
|
-
|
6500
|
-
|
6501
|
-
}
|
6502
|
-
},
|
6503
|
-
{
|
6504
|
-
"name": "source",
|
6505
|
-
"default": "[]",
|
6506
|
-
"type": {
|
6507
|
-
"text": "Result[][]"
|
6508
|
-
}
|
6509
|
-
}
|
6510
|
-
]
|
6511
|
-
},
|
6704
|
+
"kind": "js",
|
6705
|
+
"name": "bigNumber",
|
6706
|
+
"declaration": {
|
6707
|
+
"name": "bigNumber",
|
6708
|
+
"module": "stories/story-parts/big-number.ts"
|
6709
|
+
}
|
6710
|
+
}
|
6711
|
+
]
|
6712
|
+
},
|
6713
|
+
{
|
6714
|
+
"kind": "javascript-module",
|
6715
|
+
"path": "stories/story-parts/datetime-locale.ts",
|
6716
|
+
"declarations": [
|
6512
6717
|
{
|
6513
6718
|
"kind": "function",
|
6514
|
-
"name": "
|
6515
|
-
"return": {
|
6516
|
-
"type": {
|
6517
|
-
"text": "Result[][][]"
|
6518
|
-
}
|
6519
|
-
},
|
6719
|
+
"name": "datetimeLocale",
|
6520
6720
|
"parameters": [
|
6521
6721
|
{
|
6522
|
-
"name": "
|
6523
|
-
"default": "[]",
|
6722
|
+
"name": "context",
|
6524
6723
|
"type": {
|
6525
|
-
"text": "
|
6724
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6526
6725
|
}
|
6527
6726
|
},
|
6528
6727
|
{
|
6529
|
-
"name": "
|
6530
|
-
"default": "[]",
|
6728
|
+
"name": "{\n counter,\n setBy,\n }",
|
6531
6729
|
"type": {
|
6532
|
-
"text": "
|
6730
|
+
"text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: Date[] | string) => void;\n equal: (counter: TimeredCounter, a: any, b: Date[]) => Promise<void>;\n }"
|
6533
6731
|
}
|
6534
6732
|
}
|
6535
6733
|
]
|
@@ -6538,87 +6736,32 @@
|
|
6538
6736
|
"exports": [
|
6539
6737
|
{
|
6540
6738
|
"kind": "js",
|
6541
|
-
"name": "
|
6542
|
-
"declaration": {
|
6543
|
-
"name": "extractGroupOption",
|
6544
|
-
"module": "src/utils/extract-group-option.ts"
|
6545
|
-
}
|
6546
|
-
},
|
6547
|
-
{
|
6548
|
-
"kind": "js",
|
6549
|
-
"name": "extractPartOption",
|
6550
|
-
"declaration": {
|
6551
|
-
"name": "extractPartOption",
|
6552
|
-
"module": "src/utils/extract-group-option.ts"
|
6553
|
-
}
|
6554
|
-
},
|
6555
|
-
{
|
6556
|
-
"kind": "js",
|
6557
|
-
"name": "extractPartDigitOption",
|
6558
|
-
"declaration": {
|
6559
|
-
"name": "extractPartDigitOption",
|
6560
|
-
"module": "src/utils/extract-group-option.ts"
|
6561
|
-
}
|
6562
|
-
},
|
6563
|
-
{
|
6564
|
-
"kind": "js",
|
6565
|
-
"name": "extractPartDigitCellOption",
|
6566
|
-
"declaration": {
|
6567
|
-
"name": "extractPartDigitCellOption",
|
6568
|
-
"module": "src/utils/extract-group-option.ts"
|
6569
|
-
}
|
6570
|
-
},
|
6571
|
-
{
|
6572
|
-
"kind": "js",
|
6573
|
-
"name": "mergeGroupOption",
|
6574
|
-
"declaration": {
|
6575
|
-
"name": "mergeGroupOption",
|
6576
|
-
"module": "src/utils/extract-group-option.ts"
|
6577
|
-
}
|
6578
|
-
},
|
6579
|
-
{
|
6580
|
-
"kind": "js",
|
6581
|
-
"name": "mergePartOption",
|
6582
|
-
"declaration": {
|
6583
|
-
"name": "mergePartOption",
|
6584
|
-
"module": "src/utils/extract-group-option.ts"
|
6585
|
-
}
|
6586
|
-
},
|
6587
|
-
{
|
6588
|
-
"kind": "js",
|
6589
|
-
"name": "mergePartDigitOption",
|
6590
|
-
"declaration": {
|
6591
|
-
"name": "mergePartDigitOption",
|
6592
|
-
"module": "src/utils/extract-group-option.ts"
|
6593
|
-
}
|
6594
|
-
},
|
6595
|
-
{
|
6596
|
-
"kind": "js",
|
6597
|
-
"name": "mergePartDigitCellOption",
|
6739
|
+
"name": "datetimeLocale",
|
6598
6740
|
"declaration": {
|
6599
|
-
"name": "
|
6600
|
-
"module": "
|
6741
|
+
"name": "datetimeLocale",
|
6742
|
+
"module": "stories/story-parts/datetime-locale.ts"
|
6601
6743
|
}
|
6602
6744
|
}
|
6603
6745
|
]
|
6604
6746
|
},
|
6605
6747
|
{
|
6606
6748
|
"kind": "javascript-module",
|
6607
|
-
"path": "
|
6749
|
+
"path": "stories/story-parts/datetime-precision.ts",
|
6608
6750
|
"declarations": [
|
6609
6751
|
{
|
6610
6752
|
"kind": "function",
|
6611
|
-
"name": "
|
6612
|
-
"return": {
|
6613
|
-
"type": {
|
6614
|
-
"text": "string"
|
6615
|
-
}
|
6616
|
-
},
|
6753
|
+
"name": "datetimePrecision",
|
6617
6754
|
"parameters": [
|
6618
6755
|
{
|
6619
|
-
"name": "
|
6756
|
+
"name": "context",
|
6620
6757
|
"type": {
|
6621
|
-
"text": "
|
6758
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6759
|
+
}
|
6760
|
+
},
|
6761
|
+
{
|
6762
|
+
"name": "{\n counter,\n setBy,\n }",
|
6763
|
+
"type": {
|
6764
|
+
"text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: Date[] | string) => void;\n equal: (counter: TimeredCounter, a: any, b: Date[]) => Promise<void>;\n }"
|
6622
6765
|
}
|
6623
6766
|
}
|
6624
6767
|
]
|
@@ -6627,34 +6770,32 @@
|
|
6627
6770
|
"exports": [
|
6628
6771
|
{
|
6629
6772
|
"kind": "js",
|
6630
|
-
"name": "
|
6773
|
+
"name": "datetimePrecision",
|
6631
6774
|
"declaration": {
|
6632
|
-
"name": "
|
6633
|
-
"module": "
|
6775
|
+
"name": "datetimePrecision",
|
6776
|
+
"module": "stories/story-parts/datetime-precision.ts"
|
6634
6777
|
}
|
6635
6778
|
}
|
6636
6779
|
]
|
6637
6780
|
},
|
6638
6781
|
{
|
6639
6782
|
"kind": "javascript-module",
|
6640
|
-
"path": "
|
6783
|
+
"path": "stories/story-parts/edge-case.ts",
|
6641
6784
|
"declarations": [
|
6642
|
-
{
|
6643
|
-
"kind": "variable",
|
6644
|
-
"name": "DateTimeFields",
|
6645
|
-
"type": {
|
6646
|
-
"text": "[\n \"era\",\n \"year\",\n \"quarter\",\n \"month\",\n \"weekOfYear\",\n \"weekday\",\n \"day\",\n \"dayPeriod\",\n \"hour\",\n \"minute\",\n \"second\",\n \"timeZoneName\",\n]"
|
6647
|
-
},
|
6648
|
-
"default": "[ \"era\", \"year\", \"quarter\", \"month\", \"weekOfYear\", \"weekday\", \"day\", \"dayPeriod\", \"hour\", \"minute\", \"second\", \"timeZoneName\", ]"
|
6649
|
-
},
|
6650
6785
|
{
|
6651
6786
|
"kind": "function",
|
6652
|
-
"name": "
|
6787
|
+
"name": "edgeCase",
|
6653
6788
|
"parameters": [
|
6654
6789
|
{
|
6655
|
-
"name": "
|
6790
|
+
"name": "context",
|
6656
6791
|
"type": {
|
6657
|
-
"text": "
|
6792
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6793
|
+
}
|
6794
|
+
},
|
6795
|
+
{
|
6796
|
+
"name": "{\n counter,\n list,\n setBy,\n }",
|
6797
|
+
"type": {
|
6798
|
+
"text": "{\n counter: TC;\n list: [label: string, value: T, expectedValue: T][];\n setBy: (counter: TC, key: string, value: T) => void;\n }"
|
6658
6799
|
}
|
6659
6800
|
}
|
6660
6801
|
]
|
@@ -6663,34 +6804,32 @@
|
|
6663
6804
|
"exports": [
|
6664
6805
|
{
|
6665
6806
|
"kind": "js",
|
6666
|
-
"name": "
|
6667
|
-
"declaration": {
|
6668
|
-
"name": "DateTimeFields",
|
6669
|
-
"module": "src/utils/localized-date-time-fields.ts"
|
6670
|
-
}
|
6671
|
-
},
|
6672
|
-
{
|
6673
|
-
"kind": "js",
|
6674
|
-
"name": "getLocalizedDateTimeFields",
|
6807
|
+
"name": "edgeCase",
|
6675
6808
|
"declaration": {
|
6676
|
-
"name": "
|
6677
|
-
"module": "
|
6809
|
+
"name": "edgeCase",
|
6810
|
+
"module": "stories/story-parts/edge-case.ts"
|
6678
6811
|
}
|
6679
6812
|
}
|
6680
6813
|
]
|
6681
6814
|
},
|
6682
6815
|
{
|
6683
6816
|
"kind": "javascript-module",
|
6684
|
-
"path": "
|
6817
|
+
"path": "stories/story-parts/emoji.ts",
|
6685
6818
|
"declarations": [
|
6686
6819
|
{
|
6687
6820
|
"kind": "function",
|
6688
|
-
"name": "
|
6821
|
+
"name": "emoji",
|
6689
6822
|
"parameters": [
|
6690
6823
|
{
|
6691
|
-
"name": "
|
6824
|
+
"name": "context",
|
6825
|
+
"type": {
|
6826
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6827
|
+
}
|
6828
|
+
},
|
6829
|
+
{
|
6830
|
+
"name": "{\n counter,\n setBy,\n list,\n }",
|
6692
6831
|
"type": {
|
6693
|
-
"text": "string"
|
6832
|
+
"text": "{\n counter: TC;\n list: string[];\n setBy: (counter: TC, key: string, value: string) => void;\n equal?: (counter: TimeredCounter, a: any, b: string) => Promise<void>;\n }"
|
6694
6833
|
}
|
6695
6834
|
}
|
6696
6835
|
]
|
@@ -6699,31 +6838,32 @@
|
|
6699
6838
|
"exports": [
|
6700
6839
|
{
|
6701
6840
|
"kind": "js",
|
6702
|
-
"name": "
|
6841
|
+
"name": "emoji",
|
6703
6842
|
"declaration": {
|
6704
|
-
"name": "
|
6705
|
-
"module": "
|
6843
|
+
"name": "emoji",
|
6844
|
+
"module": "stories/story-parts/emoji.ts"
|
6706
6845
|
}
|
6707
6846
|
}
|
6708
6847
|
]
|
6709
6848
|
},
|
6710
6849
|
{
|
6711
6850
|
"kind": "javascript-module",
|
6712
|
-
"path": "
|
6851
|
+
"path": "stories/story-parts/locale-number.ts",
|
6713
6852
|
"declarations": [
|
6714
6853
|
{
|
6715
6854
|
"kind": "function",
|
6716
|
-
"name": "
|
6717
|
-
"return": {
|
6718
|
-
"type": {
|
6719
|
-
"text": "Keyframe[]"
|
6720
|
-
}
|
6721
|
-
},
|
6855
|
+
"name": "localeNumber",
|
6722
6856
|
"parameters": [
|
6723
6857
|
{
|
6724
|
-
"name": "
|
6858
|
+
"name": "context",
|
6725
6859
|
"type": {
|
6726
|
-
"text": "
|
6860
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6861
|
+
}
|
6862
|
+
},
|
6863
|
+
{
|
6864
|
+
"name": "{\n counter,\n setBy,\n }",
|
6865
|
+
"type": {
|
6866
|
+
"text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: string) => void;\n }"
|
6727
6867
|
}
|
6728
6868
|
}
|
6729
6869
|
]
|
@@ -6732,44 +6872,44 @@
|
|
6732
6872
|
"exports": [
|
6733
6873
|
{
|
6734
6874
|
"kind": "js",
|
6735
|
-
"name": "
|
6875
|
+
"name": "localeNumber",
|
6736
6876
|
"declaration": {
|
6737
|
-
"name": "
|
6738
|
-
"module": "
|
6877
|
+
"name": "localeNumber",
|
6878
|
+
"module": "stories/story-parts/locale-number.ts"
|
6739
6879
|
}
|
6740
6880
|
}
|
6741
6881
|
]
|
6742
6882
|
},
|
6743
6883
|
{
|
6744
6884
|
"kind": "javascript-module",
|
6745
|
-
"path": "
|
6885
|
+
"path": "stories/story-parts/slots.ts",
|
6746
6886
|
"declarations": [
|
6747
6887
|
{
|
6748
6888
|
"kind": "function",
|
6749
|
-
"name": "
|
6889
|
+
"name": "render",
|
6750
6890
|
"parameters": [
|
6751
6891
|
{
|
6752
|
-
"name": "
|
6753
|
-
"type": {
|
6754
|
-
"text": "'up' | 'down'"
|
6755
|
-
}
|
6756
|
-
},
|
6757
|
-
{
|
6758
|
-
"name": "newData",
|
6892
|
+
"name": "args",
|
6759
6893
|
"type": {
|
6760
|
-
"text": "
|
6894
|
+
"text": "any"
|
6761
6895
|
}
|
6762
|
-
}
|
6896
|
+
}
|
6897
|
+
]
|
6898
|
+
},
|
6899
|
+
{
|
6900
|
+
"kind": "function",
|
6901
|
+
"name": "slots",
|
6902
|
+
"parameters": [
|
6763
6903
|
{
|
6764
|
-
"name": "
|
6904
|
+
"name": "context",
|
6765
6905
|
"type": {
|
6766
|
-
"text": "'
|
6906
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6767
6907
|
}
|
6768
6908
|
},
|
6769
6909
|
{
|
6770
|
-
"name": "
|
6910
|
+
"name": "{\n counter,\n }",
|
6771
6911
|
"type": {
|
6772
|
-
"text": "
|
6912
|
+
"text": "{\n counter: TC;\n list?: T[];\n setBy?: (counter: TC, key: string, value: T) => void;\n equal?: (counter: TimeredCounter, a: any, b: T) => Promise<void>;\n }"
|
6773
6913
|
}
|
6774
6914
|
}
|
6775
6915
|
]
|
@@ -6778,44 +6918,40 @@
|
|
6778
6918
|
"exports": [
|
6779
6919
|
{
|
6780
6920
|
"kind": "js",
|
6781
|
-
"name": "
|
6921
|
+
"name": "render",
|
6782
6922
|
"declaration": {
|
6783
|
-
"name": "
|
6784
|
-
"module": "
|
6923
|
+
"name": "render",
|
6924
|
+
"module": "stories/story-parts/slots.ts"
|
6925
|
+
}
|
6926
|
+
},
|
6927
|
+
{
|
6928
|
+
"kind": "js",
|
6929
|
+
"name": "slots",
|
6930
|
+
"declaration": {
|
6931
|
+
"name": "slots",
|
6932
|
+
"module": "stories/story-parts/slots.ts"
|
6785
6933
|
}
|
6786
6934
|
}
|
6787
6935
|
]
|
6788
6936
|
},
|
6789
6937
|
{
|
6790
6938
|
"kind": "javascript-module",
|
6791
|
-
"path": "
|
6939
|
+
"path": "stories/story-parts/styles.ts",
|
6792
6940
|
"declarations": [
|
6793
6941
|
{
|
6794
6942
|
"kind": "function",
|
6795
|
-
"name": "
|
6943
|
+
"name": "styles",
|
6796
6944
|
"parameters": [
|
6797
6945
|
{
|
6798
|
-
"name": "
|
6799
|
-
"type": {
|
6800
|
-
"text": "NS"
|
6801
|
-
}
|
6802
|
-
},
|
6803
|
-
{
|
6804
|
-
"name": "from",
|
6805
|
-
"type": {
|
6806
|
-
"text": "V"
|
6807
|
-
}
|
6808
|
-
},
|
6809
|
-
{
|
6810
|
-
"name": "to",
|
6946
|
+
"name": "context",
|
6811
6947
|
"type": {
|
6812
|
-
"text": "
|
6948
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6813
6949
|
}
|
6814
6950
|
},
|
6815
6951
|
{
|
6816
|
-
"name": "
|
6952
|
+
"name": "{\n counter,\n setBy,\n }",
|
6817
6953
|
"type": {
|
6818
|
-
"text": "
|
6954
|
+
"text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: string) => void;\n }"
|
6819
6955
|
}
|
6820
6956
|
}
|
6821
6957
|
]
|
@@ -6824,30 +6960,44 @@
|
|
6824
6960
|
"exports": [
|
6825
6961
|
{
|
6826
6962
|
"kind": "js",
|
6827
|
-
"name": "
|
6963
|
+
"name": "styles",
|
6828
6964
|
"declaration": {
|
6829
|
-
"name": "
|
6830
|
-
"module": "
|
6965
|
+
"name": "styles",
|
6966
|
+
"module": "stories/story-parts/styles.ts"
|
6831
6967
|
}
|
6832
6968
|
}
|
6833
6969
|
]
|
6834
6970
|
},
|
6835
6971
|
{
|
6836
6972
|
"kind": "javascript-module",
|
6837
|
-
"path": "
|
6973
|
+
"path": "stories/story-parts/value-change.ts",
|
6838
6974
|
"declarations": [
|
6839
6975
|
{
|
6840
6976
|
"kind": "function",
|
6841
|
-
"name": "
|
6977
|
+
"name": "valueChange",
|
6978
|
+
"parameters": [
|
6979
|
+
{
|
6980
|
+
"name": "context",
|
6981
|
+
"type": {
|
6982
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6983
|
+
}
|
6984
|
+
},
|
6985
|
+
{
|
6986
|
+
"name": "{\n counter,\n list = range(0, 5).map(v => v * 10) as T[],\n setBy,\n equal = _equal,\n }",
|
6987
|
+
"type": {
|
6988
|
+
"text": "{\n counter: TC;\n list?: T[];\n setBy: (counter: TC, key: string, value: T) => void;\n equal?: (counter: TimeredCounter, a: any, b: T) => Promise<void>;\n }"
|
6989
|
+
}
|
6990
|
+
}
|
6991
|
+
]
|
6842
6992
|
}
|
6843
6993
|
],
|
6844
6994
|
"exports": [
|
6845
6995
|
{
|
6846
6996
|
"kind": "js",
|
6847
|
-
"name": "
|
6997
|
+
"name": "valueChange",
|
6848
6998
|
"declaration": {
|
6849
|
-
"name": "
|
6850
|
-
"module": "
|
6999
|
+
"name": "valueChange",
|
7000
|
+
"module": "stories/story-parts/value-change.ts"
|
6851
7001
|
}
|
6852
7002
|
}
|
6853
7003
|
]
|
@@ -6862,7 +7012,7 @@
|
|
6862
7012
|
"type": {
|
6863
7013
|
"text": "Meta"
|
6864
7014
|
},
|
6865
|
-
"default": "{ title: 'TimeredCounter/with decimal.js', component: 'timered-counter', tags: ['autodocs', 'timered-counter'], parameters: { controls: { expanded: true }, }, beforeEach: () => { setNumberAdapter('decimal.js'); }, }"
|
7015
|
+
"default": "{ title: 'TimeredCounter/with decimal.js', component: 'timered-counter', tags: ['autodocs', 'timered-counter'], parameters: { controls: { expanded: true }, }, beforeEach: () => { TimeredCounterAdapter.registryAdapter(DecimalJsNumberAdapter); TimeredCounterAdapter.setNumberAdapter('decimal.js'); }, }"
|
6866
7016
|
},
|
6867
7017
|
{
|
6868
7018
|
"kind": "variable",
|
@@ -7118,7 +7268,7 @@
|
|
7118
7268
|
"type": {
|
7119
7269
|
"text": "Meta"
|
7120
7270
|
},
|
7121
|
-
"default": "{ title: 'TimeredCounterNumber/with decimal.js', component: 'timered-counter-number', tags: ['autodocs', 'timered-counter-number'], parameters: { controls: { expanded: true }, }, beforeEach: () => { setNumberAdapter('decimal.js'); }, }"
|
7271
|
+
"default": "{ title: 'TimeredCounterNumber/with decimal.js', component: 'timered-counter-number', tags: ['autodocs', 'timered-counter-number'], parameters: { controls: { expanded: true }, }, beforeEach: () => { TimeredCounterAdapter.registryAdapter(DecimalJsNumberAdapter); TimeredCounterAdapter.setNumberAdapter('decimal.js'); }, }"
|
7122
7272
|
},
|
7123
7273
|
{
|
7124
7274
|
"kind": "variable",
|
@@ -7302,7 +7452,7 @@
|
|
7302
7452
|
"type": {
|
7303
7453
|
"text": "Meta"
|
7304
7454
|
},
|
7305
|
-
"default": "{ title: 'TimeredCounterString/with decimal.js', component: 'timered-counter-string', tags: ['autodocs', 'timered-counter-string'], parameters: { controls: { expanded: true }, }, beforeEach: () => { setNumberAdapter('decimal.js'); }, }"
|
7455
|
+
"default": "{ title: 'TimeredCounterString/with decimal.js', component: 'timered-counter-string', tags: ['autodocs', 'timered-counter-string'], parameters: { controls: { expanded: true }, }, beforeEach: () => { TimeredCounterAdapter.registryAdapter(DecimalJsNumberAdapter); TimeredCounterAdapter.setNumberAdapter('decimal.js'); }, }"
|
7306
7456
|
},
|
7307
7457
|
{
|
7308
7458
|
"kind": "variable",
|
@@ -7390,7 +7540,7 @@
|
|
7390
7540
|
"type": {
|
7391
7541
|
"text": "Meta"
|
7392
7542
|
},
|
7393
|
-
"default": "{ title: 'TimeredCounterString/with grapheme-splitter', component: 'timered-counter-string', tags: ['autodocs', 'timered-counter-string'], parameters: { controls: { expanded: true }, }, beforeEach: () => { setNumberAdapter('decimal.js'); setStringAdapter('grapheme-splitter'); }, }"
|
7543
|
+
"default": "{ title: 'TimeredCounterString/with grapheme-splitter', component: 'timered-counter-string', tags: ['autodocs', 'timered-counter-string'], parameters: { controls: { expanded: true }, }, beforeEach: () => { TimeredCounterAdapter.registryAdapter(DecimalJsNumberAdapter); TimeredCounterAdapter.registryAdapter(GraphemeSplitterStringAdapter); TimeredCounterAdapter.setNumberAdapter('decimal.js'); TimeredCounterAdapter.setStringAdapter('grapheme-splitter'); }, }"
|
7394
7544
|
},
|
7395
7545
|
{
|
7396
7546
|
"kind": "variable",
|
@@ -7582,7 +7732,7 @@
|
|
7582
7732
|
"type": {
|
7583
7733
|
"text": "Meta"
|
7584
7734
|
},
|
7585
|
-
"default": "{ title: 'TimeredCounterString/with Intl Segmenter', component: 'timered-counter-string', tags: ['autodocs', 'timered-counter-string'], parameters: { controls: { expanded: true }, }, beforeEach: () => { setNumberAdapter('decimal.js'); setStringAdapter('intl-segmenter'); }, }"
|
7735
|
+
"default": "{ title: 'TimeredCounterString/with Intl Segmenter', component: 'timered-counter-string', tags: ['autodocs', 'timered-counter-string'], parameters: { controls: { expanded: true }, }, beforeEach: () => { TimeredCounterAdapter.registryAdapter(DecimalJsNumberAdapter); TimeredCounterAdapter.setNumberAdapter('decimal.js'); TimeredCounterAdapter.setStringAdapter('intl-segmenter'); }, }"
|
7586
7736
|
},
|
7587
7737
|
{
|
7588
7738
|
"kind": "variable",
|
@@ -7784,104 +7934,6 @@
|
|
7784
7934
|
}
|
7785
7935
|
]
|
7786
7936
|
},
|
7787
|
-
{
|
7788
|
-
"kind": "javascript-module",
|
7789
|
-
"path": "storybook-static/sb-manager/globals-module-info.js",
|
7790
|
-
"declarations": [
|
7791
|
-
{
|
7792
|
-
"kind": "variable",
|
7793
|
-
"name": "S"
|
7794
|
-
}
|
7795
|
-
],
|
7796
|
-
"exports": [
|
7797
|
-
{
|
7798
|
-
"kind": "js",
|
7799
|
-
"name": "globalsModuleInfoMap",
|
7800
|
-
"declaration": {
|
7801
|
-
"name": "S",
|
7802
|
-
"module": "storybook-static/sb-manager/globals-module-info.js"
|
7803
|
-
}
|
7804
|
-
}
|
7805
|
-
]
|
7806
|
-
},
|
7807
|
-
{
|
7808
|
-
"kind": "javascript-module",
|
7809
|
-
"path": "storybook-static/sb-manager/globals-runtime.js",
|
7810
|
-
"declarations": [],
|
7811
|
-
"exports": []
|
7812
|
-
},
|
7813
|
-
{
|
7814
|
-
"kind": "javascript-module",
|
7815
|
-
"path": "storybook-static/sb-manager/globals.js",
|
7816
|
-
"declarations": [
|
7817
|
-
{
|
7818
|
-
"kind": "variable",
|
7819
|
-
"name": "_",
|
7820
|
-
"type": {
|
7821
|
-
"text": "object"
|
7822
|
-
},
|
7823
|
-
"default": "{ react: \"__REACT__\", \"react-dom\": \"__REACT_DOM__\", \"react-dom/client\": \"__REACT_DOM_CLIENT__\", \"@storybook/icons\": \"__STORYBOOK_ICONS__\", \"storybook/internal/manager-api\": \"__STORYBOOK_API__\", \"@storybook/manager-api\": \"__STORYBOOK_API__\", \"@storybook/core/manager-api\": \"__STORYBOOK_API__\", \"storybook/internal/components\": \"__STORYBOOK_COMPONENTS__\", \"@storybook/components\": \"__STORYBOOK_COMPONENTS__\", \"@storybook/core/components\": \"__STORYBOOK_COMPONENTS__\", \"storybook/internal/channels\": \"__STORYBOOK_CHANNELS__\", \"@storybook/channels\": \"__STORYBOOK_CHANNELS__\", \"@storybook/core/channels\": \"__STORYBOOK_CHANNELS__\", \"storybook/internal/core-errors\": \"__STORYBOOK_CORE_EVENTS__\", \"@storybook/core-events\": \"__STORYBOOK_CORE_EVENTS__\", \"@storybook/core/core-events\": \"__STORYBOOK_CORE_EVENTS__\", \"storybook/internal/manager-errors\": \"__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__\", \"@storybook/core-events/manager-errors\": \"__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__\", \"@storybook/core/manager-errors\": \"__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__\", \"storybook/internal/router\": \"__STORYBOOK_ROUTER__\", \"@storybook/router\": \"__STORYBOOK_ROUTER__\", \"@storybook/core/router\": \"__STORYBOOK_ROUTER__\", \"storybook/internal/theming\": \"__STORYBOOK_THEMING__\", \"@storybook/theming\": \"__STORYBOOK_THEMING__\", \"@storybook/core/theming\": \"__STORYBOOK_THEMING__\", \"storybook/internal/theming/create\": \"__STORYBOOK_THEMING_CREATE__\", \"@storybook/theming/create\": \"__STORYBOOK_THEMING_CREATE__\", \"@storybook/core/theming/create\": \"__STORYBOOK_THEMING_CREATE__\", \"storybook/internal/client-logger\": \"__STORYBOOK_CLIENT_LOGGER__\", \"@storybook/client-logger\": \"__STORYBOOK_CLIENT_LOGGER__\", \"@storybook/core/client-logger\": \"__STORYBOOK_CLIENT_LOGGER__\", \"storybook/internal/types\": \"__STORYBOOK_TYPES__\", \"@storybook/types\": \"__STORYBOOK_TYPES__\", \"@storybook/core/types\": \"__STORYBOOK_TYPES__\" }"
|
7824
|
-
},
|
7825
|
-
{
|
7826
|
-
"kind": "variable",
|
7827
|
-
"name": "o"
|
7828
|
-
}
|
7829
|
-
],
|
7830
|
-
"exports": [
|
7831
|
-
{
|
7832
|
-
"kind": "js",
|
7833
|
-
"name": "globalPackages",
|
7834
|
-
"declaration": {
|
7835
|
-
"name": "o",
|
7836
|
-
"module": "storybook-static/sb-manager/globals.js"
|
7837
|
-
}
|
7838
|
-
},
|
7839
|
-
{
|
7840
|
-
"kind": "js",
|
7841
|
-
"name": "globalsNameReferenceMap",
|
7842
|
-
"declaration": {
|
7843
|
-
"name": "_",
|
7844
|
-
"module": "storybook-static/sb-manager/globals.js"
|
7845
|
-
}
|
7846
|
-
}
|
7847
|
-
]
|
7848
|
-
},
|
7849
|
-
{
|
7850
|
-
"kind": "javascript-module",
|
7851
|
-
"path": "storybook-static/sb-manager/runtime.js",
|
7852
|
-
"declarations": [],
|
7853
|
-
"exports": []
|
7854
|
-
},
|
7855
|
-
{
|
7856
|
-
"kind": "javascript-module",
|
7857
|
-
"path": "storybook-static/sb-preview/globals.js",
|
7858
|
-
"declarations": [],
|
7859
|
-
"exports": []
|
7860
|
-
},
|
7861
|
-
{
|
7862
|
-
"kind": "javascript-module",
|
7863
|
-
"path": "storybook-static/sb-preview/runtime.js",
|
7864
|
-
"declarations": [],
|
7865
|
-
"exports": []
|
7866
|
-
},
|
7867
|
-
{
|
7868
|
-
"kind": "javascript-module",
|
7869
|
-
"path": "coverage/storybook/lcov-report/block-navigation.js",
|
7870
|
-
"declarations": [],
|
7871
|
-
"exports": []
|
7872
|
-
},
|
7873
|
-
{
|
7874
|
-
"kind": "javascript-module",
|
7875
|
-
"path": "coverage/storybook/lcov-report/prettify.js",
|
7876
|
-
"declarations": [],
|
7877
|
-
"exports": []
|
7878
|
-
},
|
7879
|
-
{
|
7880
|
-
"kind": "javascript-module",
|
7881
|
-
"path": "coverage/storybook/lcov-report/sorter.js",
|
7882
|
-
"declarations": [],
|
7883
|
-
"exports": []
|
7884
|
-
},
|
7885
7937
|
{
|
7886
7938
|
"kind": "javascript-module",
|
7887
7939
|
"path": "src/transitions/roller/index.ts",
|
@@ -8447,66 +8499,6 @@
|
|
8447
8499
|
}
|
8448
8500
|
}
|
8449
8501
|
]
|
8450
|
-
},
|
8451
|
-
{
|
8452
|
-
"kind": "javascript-module",
|
8453
|
-
"path": "storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js",
|
8454
|
-
"declarations": [],
|
8455
|
-
"exports": []
|
8456
|
-
},
|
8457
|
-
{
|
8458
|
-
"kind": "javascript-module",
|
8459
|
-
"path": "storybook-static/sb-addons/essentials-actions-2/manager-bundle.js",
|
8460
|
-
"declarations": [],
|
8461
|
-
"exports": []
|
8462
|
-
},
|
8463
|
-
{
|
8464
|
-
"kind": "javascript-module",
|
8465
|
-
"path": "storybook-static/sb-addons/essentials-controls-1/manager-bundle.js",
|
8466
|
-
"declarations": [],
|
8467
|
-
"exports": []
|
8468
|
-
},
|
8469
|
-
{
|
8470
|
-
"kind": "javascript-module",
|
8471
|
-
"path": "storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js",
|
8472
|
-
"declarations": [],
|
8473
|
-
"exports": []
|
8474
|
-
},
|
8475
|
-
{
|
8476
|
-
"kind": "javascript-module",
|
8477
|
-
"path": "storybook-static/sb-addons/essentials-docs-3/manager-bundle.js",
|
8478
|
-
"declarations": [],
|
8479
|
-
"exports": []
|
8480
|
-
},
|
8481
|
-
{
|
8482
|
-
"kind": "javascript-module",
|
8483
|
-
"path": "storybook-static/sb-addons/essentials-measure-7/manager-bundle.js",
|
8484
|
-
"declarations": [],
|
8485
|
-
"exports": []
|
8486
|
-
},
|
8487
|
-
{
|
8488
|
-
"kind": "javascript-module",
|
8489
|
-
"path": "storybook-static/sb-addons/essentials-outline-8/manager-bundle.js",
|
8490
|
-
"declarations": [],
|
8491
|
-
"exports": []
|
8492
|
-
},
|
8493
|
-
{
|
8494
|
-
"kind": "javascript-module",
|
8495
|
-
"path": "storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js",
|
8496
|
-
"declarations": [],
|
8497
|
-
"exports": []
|
8498
|
-
},
|
8499
|
-
{
|
8500
|
-
"kind": "javascript-module",
|
8501
|
-
"path": "storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js",
|
8502
|
-
"declarations": [],
|
8503
|
-
"exports": []
|
8504
|
-
},
|
8505
|
-
{
|
8506
|
-
"kind": "javascript-module",
|
8507
|
-
"path": "storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js",
|
8508
|
-
"declarations": [],
|
8509
|
-
"exports": []
|
8510
8502
|
}
|
8511
8503
|
]
|
8512
8504
|
}
|