timered-counter 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -768,6 +768,7 @@
768
768
  {
769
769
  "kind": "field",
770
770
  "name": "oldValue",
771
+ "description": "用于记录上一次的值.\n\n初始化时(connectedCallback), oldValue 将被设置为 `initialValue` 或 `value` 的值.",
771
772
  "attribute": "old-value",
772
773
  "reflects": true,
773
774
  "inheritedFrom": {
@@ -1051,6 +1052,7 @@
1051
1052
  },
1052
1053
  {
1053
1054
  "name": "old-value",
1055
+ "description": "用于记录上一次的值.\n\n初始化时(connectedCallback), oldValue 将被设置为 `initialValue` 或 `value` 的值.",
1054
1056
  "fieldName": "oldValue",
1055
1057
  "inheritedFrom": {
1056
1058
  "name": "CounterBaseMixin",
@@ -1059,7 +1061,7 @@
1059
1061
  },
1060
1062
  {
1061
1063
  "name": "initial-value",
1062
- "description": "如果初始值被设置, 组件初始化时会使用该值而不是 `value`, 然后在初始化完成后, 将内部值更新为 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
1064
+ "description": "如果初始值被设置, oldValue 的初始值, 会使用该值而不是 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
1063
1065
  "fieldName": "initialValue",
1064
1066
  "inheritedFrom": {
1065
1067
  "name": "CounterBaseMixin",
@@ -1646,6 +1648,7 @@
1646
1648
  {
1647
1649
  "kind": "field",
1648
1650
  "name": "oldValue",
1651
+ "description": "用于记录上一次的值.\n\n初始化时(connectedCallback), oldValue 将被设置为 `initialValue` 或 `value` 的值.",
1649
1652
  "attribute": "old-value",
1650
1653
  "reflects": true,
1651
1654
  "inheritedFrom": {
@@ -1669,7 +1672,7 @@
1669
1672
  {
1670
1673
  "kind": "field",
1671
1674
  "name": "initialValue",
1672
- "description": "如果初始值被设置, 组件初始化时会使用该值而不是 `value`, 然后在初始化完成后, 将内部值更新为 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
1675
+ "description": "如果初始值被设置, oldValue 的初始值, 会使用该值而不是 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
1673
1676
  "attribute": "initial-value",
1674
1677
  "reflects": true,
1675
1678
  "inheritedFrom": {
@@ -1943,6 +1946,7 @@
1943
1946
  },
1944
1947
  {
1945
1948
  "name": "old-value",
1949
+ "description": "用于记录上一次的值.\n\n初始化时(connectedCallback), oldValue 将被设置为 `initialValue` 或 `value` 的值.",
1946
1950
  "fieldName": "oldValue",
1947
1951
  "inheritedFrom": {
1948
1952
  "name": "CounterBaseMixin",
@@ -1951,7 +1955,7 @@
1951
1955
  },
1952
1956
  {
1953
1957
  "name": "initial-value",
1954
- "description": "如果初始值被设置, 组件初始化时会使用该值而不是 `value`, 然后在初始化完成后, 将内部值更新为 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
1958
+ "description": "如果初始值被设置, oldValue 的初始值, 会使用该值而不是 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
1955
1959
  "fieldName": "initialValue",
1956
1960
  "inheritedFrom": {
1957
1961
  "name": "CounterBaseMixin",
@@ -2048,7 +2052,7 @@
2048
2052
  {
2049
2053
  "kind": "field",
2050
2054
  "name": "initialValue",
2051
- "description": "如果初始值被设置, 组件初始化时会使用该值而不是 `value`, 然后在初始化完成后, 将内部值更新为 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
2055
+ "description": "如果初始值被设置, oldValue 的初始值, 会使用该值而不是 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
2052
2056
  "attribute": "initial-value",
2053
2057
  "reflects": true,
2054
2058
  "inheritedFrom": {
@@ -2588,6 +2592,7 @@
2588
2592
  {
2589
2593
  "kind": "field",
2590
2594
  "name": "oldValue",
2595
+ "description": "用于记录上一次的值.\n\n初始化时(connectedCallback), oldValue 将被设置为 `initialValue` 或 `value` 的值.",
2591
2596
  "attribute": "old-value",
2592
2597
  "reflects": true,
2593
2598
  "inheritedFrom": {
@@ -2871,6 +2876,7 @@
2871
2876
  },
2872
2877
  {
2873
2878
  "name": "old-value",
2879
+ "description": "用于记录上一次的值.\n\n初始化时(connectedCallback), oldValue 将被设置为 `initialValue` 或 `value` 的值.",
2874
2880
  "fieldName": "oldValue",
2875
2881
  "inheritedFrom": {
2876
2882
  "name": "CounterBaseMixin",
@@ -2879,7 +2885,7 @@
2879
2885
  },
2880
2886
  {
2881
2887
  "name": "initial-value",
2882
- "description": "如果初始值被设置, 组件初始化时会使用该值而不是 `value`, 然后在初始化完成后, 将内部值更新为 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
2888
+ "description": "如果初始值被设置, oldValue 的初始值, 会使用该值而不是 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
2883
2889
  "fieldName": "initialValue",
2884
2890
  "inheritedFrom": {
2885
2891
  "name": "CounterBaseMixin",
@@ -3448,6 +3454,7 @@
3448
3454
  {
3449
3455
  "kind": "field",
3450
3456
  "name": "oldValue",
3457
+ "description": "用于记录上一次的值.\n\n初始化时(connectedCallback), oldValue 将被设置为 `initialValue` 或 `value` 的值.",
3451
3458
  "attribute": "old-value",
3452
3459
  "reflects": true,
3453
3460
  "inheritedFrom": {
@@ -3471,7 +3478,7 @@
3471
3478
  {
3472
3479
  "kind": "field",
3473
3480
  "name": "initialValue",
3474
- "description": "如果初始值被设置, 组件初始化时会使用该值而不是 `value`, 然后在初始化完成后, 将内部值更新为 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
3481
+ "description": "如果初始值被设置, oldValue 的初始值, 会使用该值而不是 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
3475
3482
  "attribute": "initial-value",
3476
3483
  "reflects": true,
3477
3484
  "inheritedFrom": {
@@ -3728,6 +3735,7 @@
3728
3735
  },
3729
3736
  {
3730
3737
  "name": "old-value",
3738
+ "description": "用于记录上一次的值.\n\n初始化时(connectedCallback), oldValue 将被设置为 `initialValue` 或 `value` 的值.",
3731
3739
  "fieldName": "oldValue",
3732
3740
  "inheritedFrom": {
3733
3741
  "name": "CounterBaseMixin",
@@ -3736,7 +3744,7 @@
3736
3744
  },
3737
3745
  {
3738
3746
  "name": "initial-value",
3739
- "description": "如果初始值被设置, 组件初始化时会使用该值而不是 `value`, 然后在初始化完成后, 将内部值更新为 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
3747
+ "description": "如果初始值被设置, oldValue 的初始值, 会使用该值而不是 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
3740
3748
  "fieldName": "initialValue",
3741
3749
  "inheritedFrom": {
3742
3750
  "name": "CounterBaseMixin",
@@ -4762,6 +4770,7 @@
4762
4770
  {
4763
4771
  "kind": "field",
4764
4772
  "name": "oldValue",
4773
+ "description": "用于记录上一次的值.\n\n初始化时(connectedCallback), oldValue 将被设置为 `initialValue` 或 `value` 的值.",
4765
4774
  "attribute": "old-value",
4766
4775
  "reflects": true
4767
4776
  },
@@ -4777,7 +4786,7 @@
4777
4786
  {
4778
4787
  "kind": "field",
4779
4788
  "name": "initialValue",
4780
- "description": "如果初始值被设置, 组件初始化时会使用该值而不是 `value`, 然后在初始化完成后, 将内部值更新为 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
4789
+ "description": "如果初始值被设置, oldValue 的初始值, 会使用该值而不是 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
4781
4790
  "attribute": "initial-value",
4782
4791
  "reflects": true
4783
4792
  },
@@ -4842,11 +4851,12 @@
4842
4851
  },
4843
4852
  {
4844
4853
  "name": "old-value",
4854
+ "description": "用于记录上一次的值.\n\n初始化时(connectedCallback), oldValue 将被设置为 `initialValue` 或 `value` 的值.",
4845
4855
  "fieldName": "oldValue"
4846
4856
  },
4847
4857
  {
4848
4858
  "name": "initial-value",
4849
- "description": "如果初始值被设置, 组件初始化时会使用该值而不是 `value`, 然后在初始化完成后, 将内部值更新为 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
4859
+ "description": "如果初始值被设置, oldValue 的初始值, 会使用该值而不是 `value`.\n\n这对于初始化完成后启动动画效果非常有用.",
4850
4860
  "fieldName": "initialValue"
4851
4861
  },
4852
4862
  {
@@ -5390,118 +5400,6 @@
5390
5400
  }
5391
5401
  ]
5392
5402
  },
5393
- {
5394
- "kind": "javascript-module",
5395
- "path": "src/number-adapter/build-in-bigint.ts",
5396
- "declarations": [
5397
- {
5398
- "kind": "function",
5399
- "name": "BuildInBigintAdapter",
5400
- "deprecated": "true"
5401
- }
5402
- ],
5403
- "exports": [
5404
- {
5405
- "kind": "js",
5406
- "name": "BuildInBigintAdapter",
5407
- "declaration": {
5408
- "name": "BuildInBigintAdapter",
5409
- "module": "src/number-adapter/build-in-bigint.ts"
5410
- }
5411
- }
5412
- ]
5413
- },
5414
- {
5415
- "kind": "javascript-module",
5416
- "path": "src/number-adapter/build-in-number.ts",
5417
- "declarations": [
5418
- {
5419
- "kind": "function",
5420
- "name": "BuildInNumberAdapter"
5421
- }
5422
- ],
5423
- "exports": [
5424
- {
5425
- "kind": "js",
5426
- "name": "BuildInNumberAdapter",
5427
- "declaration": {
5428
- "name": "BuildInNumberAdapter",
5429
- "module": "src/number-adapter/build-in-number.ts"
5430
- }
5431
- }
5432
- ]
5433
- },
5434
- {
5435
- "kind": "javascript-module",
5436
- "path": "src/number-adapter/decimal-js.ts",
5437
- "declarations": [
5438
- {
5439
- "kind": "function",
5440
- "name": "DecimalJsAdapter",
5441
- "parameters": [
5442
- {
5443
- "name": "config",
5444
- "default": "{ precision: 1e3 }"
5445
- }
5446
- ]
5447
- }
5448
- ],
5449
- "exports": [
5450
- {
5451
- "kind": "js",
5452
- "name": "DecimalJsAdapter",
5453
- "declaration": {
5454
- "name": "DecimalJsAdapter",
5455
- "module": "src/number-adapter/decimal-js.ts"
5456
- }
5457
- }
5458
- ]
5459
- },
5460
- {
5461
- "kind": "javascript-module",
5462
- "path": "src/number-adapter/index.ts",
5463
- "declarations": [],
5464
- "exports": [
5465
- {
5466
- "kind": "js",
5467
- "name": "*",
5468
- "declaration": {
5469
- "name": "*",
5470
- "package": "\"./types.js\""
5471
- }
5472
- },
5473
- {
5474
- "kind": "js",
5475
- "name": "*",
5476
- "declaration": {
5477
- "name": "*",
5478
- "package": "\"./build-in-number.js\""
5479
- }
5480
- },
5481
- {
5482
- "kind": "js",
5483
- "name": "*",
5484
- "declaration": {
5485
- "name": "*",
5486
- "package": "\"./build-in-bigint.js\""
5487
- }
5488
- },
5489
- {
5490
- "kind": "js",
5491
- "name": "*",
5492
- "declaration": {
5493
- "name": "*",
5494
- "package": "\"./decimal-js.js\""
5495
- }
5496
- }
5497
- ]
5498
- },
5499
- {
5500
- "kind": "javascript-module",
5501
- "path": "src/number-adapter/types.ts",
5502
- "declarations": [],
5503
- "exports": []
5504
- },
5505
5403
  {
5506
5404
  "kind": "javascript-module",
5507
5405
  "path": "src/string-adapter/build-in-intl-segmenter.ts",
@@ -5771,167 +5669,168 @@
5771
5669
  },
5772
5670
  {
5773
5671
  "kind": "javascript-module",
5774
- "path": "src/utils/any-base.ts",
5672
+ "path": "src/number-adapter/build-in-bigint.ts",
5775
5673
  "declarations": [
5776
5674
  {
5777
5675
  "kind": "function",
5778
- "name": "anyBase",
5779
- "parameters": [
5780
- {
5781
- "name": "sa",
5782
- "type": {
5783
- "text": "StringAdapter"
5784
- }
5785
- },
5786
- {
5787
- "name": "srcAlphabet",
5788
- "type": {
5789
- "text": "string"
5790
- }
5791
- },
5792
- {
5793
- "name": "dstAlphabet",
5794
- "type": {
5795
- "text": "string"
5796
- }
5797
- }
5798
- ]
5799
- },
5676
+ "name": "BuildInBigintAdapter",
5677
+ "deprecated": "true"
5678
+ }
5679
+ ],
5680
+ "exports": [
5800
5681
  {
5801
- "kind": "variable",
5802
- "name": "BIN",
5803
- "type": {
5804
- "text": "string"
5805
- },
5806
- "default": "'01'"
5807
- },
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": [
5808
5695
  {
5809
- "kind": "variable",
5810
- "name": "OCT",
5811
- "type": {
5812
- "text": "string"
5813
- },
5814
- "default": "'01234567'"
5815
- },
5696
+ "kind": "function",
5697
+ "name": "BuildInNumberAdapter"
5698
+ }
5699
+ ],
5700
+ "exports": [
5816
5701
  {
5817
- "kind": "variable",
5818
- "name": "DEC",
5819
- "type": {
5820
- "text": "string"
5821
- },
5822
- "default": "'0123456789'"
5823
- },
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",
5714
+ "declarations": [
5824
5715
  {
5825
- "kind": "variable",
5826
- "name": "HEX",
5827
- "type": {
5828
- "text": "string"
5829
- },
5830
- "default": "'0123456789abcdef'"
5716
+ "kind": "function",
5717
+ "name": "DecimalJsAdapter",
5718
+ "parameters": [
5719
+ {
5720
+ "name": "config",
5721
+ "default": "{ precision: 1e3 }"
5722
+ }
5723
+ ]
5831
5724
  }
5832
5725
  ],
5833
5726
  "exports": [
5834
5727
  {
5835
5728
  "kind": "js",
5836
- "name": "anyBase",
5729
+ "name": "DecimalJsAdapter",
5837
5730
  "declaration": {
5838
- "name": "anyBase",
5839
- "module": "src/utils/any-base.ts"
5731
+ "name": "DecimalJsAdapter",
5732
+ "module": "src/number-adapter/decimal-js.ts"
5840
5733
  }
5841
- },
5734
+ }
5735
+ ]
5736
+ },
5737
+ {
5738
+ "kind": "javascript-module",
5739
+ "path": "src/number-adapter/index.ts",
5740
+ "declarations": [],
5741
+ "exports": [
5842
5742
  {
5843
5743
  "kind": "js",
5844
- "name": "BIN",
5744
+ "name": "*",
5845
5745
  "declaration": {
5846
- "name": "BIN",
5847
- "module": "src/utils/any-base.ts"
5746
+ "name": "*",
5747
+ "package": "\"./types.js\""
5848
5748
  }
5849
5749
  },
5850
5750
  {
5851
5751
  "kind": "js",
5852
- "name": "OCT",
5752
+ "name": "*",
5853
5753
  "declaration": {
5854
- "name": "OCT",
5855
- "module": "src/utils/any-base.ts"
5754
+ "name": "*",
5755
+ "package": "\"./build-in-number.js\""
5856
5756
  }
5857
5757
  },
5858
5758
  {
5859
5759
  "kind": "js",
5860
- "name": "DEC",
5760
+ "name": "*",
5861
5761
  "declaration": {
5862
- "name": "DEC",
5863
- "module": "src/utils/any-base.ts"
5762
+ "name": "*",
5763
+ "package": "\"./build-in-bigint.js\""
5864
5764
  }
5865
5765
  },
5866
5766
  {
5867
5767
  "kind": "js",
5868
- "name": "HEX",
5768
+ "name": "*",
5869
5769
  "declaration": {
5870
- "name": "HEX",
5871
- "module": "src/utils/any-base.ts"
5770
+ "name": "*",
5771
+ "package": "\"./decimal-js.js\""
5872
5772
  }
5873
5773
  }
5874
5774
  ]
5875
5775
  },
5876
5776
  {
5877
5777
  "kind": "javascript-module",
5878
- "path": "src/utils/duration.ts",
5778
+ "path": "src/number-adapter/types.ts",
5779
+ "declarations": [],
5780
+ "exports": []
5781
+ },
5782
+ {
5783
+ "kind": "javascript-module",
5784
+ "path": "stories/story-parts/animation-events.ts",
5879
5785
  "declarations": [
5880
5786
  {
5881
5787
  "kind": "function",
5882
- "name": "durationObject",
5883
- "return": {
5884
- "type": {
5885
- "text": "{ [key in DurationPartType]?: number }"
5886
- }
5887
- },
5788
+ "name": "animationEvents",
5888
5789
  "parameters": [
5889
5790
  {
5890
- "name": "start",
5891
- "type": {
5892
- "text": "Date"
5893
- }
5894
- },
5895
- {
5896
- "name": "end",
5791
+ "name": "context",
5897
5792
  "type": {
5898
- "text": "Date"
5793
+ "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
5899
5794
  }
5900
5795
  },
5901
5796
  {
5902
- "name": "parts",
5797
+ "name": "{\n counter,\n list = range(0, 5).map(v => v * 10) as T[],\n setBy,\n equal = _equal,\n }",
5903
5798
  "type": {
5904
- "text": "DurationPartType[]"
5799
+ "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 }"
5905
5800
  }
5906
5801
  }
5907
- ],
5908
- "description": "计算两个日期之间的时间间隔. 返回一个数组, 包含 parts 每个部分的值."
5909
- },
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": [
5910
5820
  {
5911
5821
  "kind": "function",
5912
- "name": "duration",
5913
- "return": {
5914
- "type": {
5915
- "text": "number[]"
5916
- }
5917
- },
5822
+ "name": "animationOptions",
5918
5823
  "parameters": [
5919
5824
  {
5920
- "name": "start",
5921
- "type": {
5922
- "text": "Date"
5923
- }
5924
- },
5925
- {
5926
- "name": "end",
5825
+ "name": "context",
5927
5826
  "type": {
5928
- "text": "Date"
5827
+ "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
5929
5828
  }
5930
5829
  },
5931
5830
  {
5932
- "name": "parts",
5831
+ "name": "{\n counter,\n list = [114514] as T[],\n setBy,\n }",
5933
5832
  "type": {
5934
- "text": "DurationPartType[]"
5833
+ "text": "{\n counter: TC;\n list?: T[];\n setBy: (counter: TC, key: string, value: T) => void;\n }"
5935
5834
  }
5936
5835
  }
5937
5836
  ]
@@ -5940,192 +5839,248 @@
5940
5839
  "exports": [
5941
5840
  {
5942
5841
  "kind": "js",
5943
- "name": "durationObject",
5944
- "declaration": {
5945
- "name": "durationObject",
5946
- "module": "src/utils/duration.ts"
5947
- }
5948
- },
5949
- {
5950
- "kind": "js",
5951
- "name": "duration",
5842
+ "name": "animationOptions",
5952
5843
  "declaration": {
5953
- "name": "duration",
5954
- "module": "src/utils/duration.ts"
5844
+ "name": "animationOptions",
5845
+ "module": "stories/story-parts/animation-options.ts"
5955
5846
  }
5956
5847
  }
5957
5848
  ]
5958
5849
  },
5959
5850
  {
5960
5851
  "kind": "javascript-module",
5961
- "path": "src/utils/extract-group-option.ts",
5852
+ "path": "stories/story-parts/big-number.ts",
5962
5853
  "declarations": [
5963
5854
  {
5964
5855
  "kind": "function",
5965
- "name": "extractGroupOption",
5856
+ "name": "bigNumber",
5966
5857
  "parameters": [
5967
5858
  {
5968
- "name": "option",
5859
+ "name": "context",
5969
5860
  "type": {
5970
- "text": "P"
5861
+ "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
5971
5862
  }
5972
5863
  },
5973
5864
  {
5974
- "name": "getterOptions",
5865
+ "name": "{\n counter,\n setBy,\n equal = _equal,\n }",
5975
5866
  "type": {
5976
- "text": "GroupGetterOptions"
5867
+ "text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: string) => void;\n equal?: (counter: TimeredCounter, a: any, b: any) => Promise<void>;\n }"
5977
5868
  }
5978
5869
  }
5979
5870
  ]
5980
- },
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": [
5981
5888
  {
5982
5889
  "kind": "function",
5983
- "name": "extractPartOption",
5890
+ "name": "datetimeLocale",
5984
5891
  "parameters": [
5985
5892
  {
5986
- "name": "option",
5893
+ "name": "context",
5987
5894
  "type": {
5988
- "text": "P"
5895
+ "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
5989
5896
  }
5990
5897
  },
5991
5898
  {
5992
- "name": "getterOptions",
5899
+ "name": "{\n counter,\n setBy,\n }",
5993
5900
  "type": {
5994
- "text": "GroupGetterOptions"
5901
+ "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 }"
5995
5902
  }
5996
5903
  }
5997
5904
  ]
5998
- },
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": [
5999
5922
  {
6000
5923
  "kind": "function",
6001
- "name": "extractPartDigitOption",
5924
+ "name": "datetimePrecision",
6002
5925
  "parameters": [
6003
5926
  {
6004
- "name": "option",
5927
+ "name": "context",
6005
5928
  "type": {
6006
- "text": "P"
5929
+ "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6007
5930
  }
6008
5931
  },
6009
5932
  {
6010
- "name": "getterOptions",
5933
+ "name": "{\n counter,\n setBy,\n }",
6011
5934
  "type": {
6012
- "text": "GroupGetterOptions"
5935
+ "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 }"
6013
5936
  }
6014
5937
  }
6015
5938
  ]
6016
- },
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": [
6017
5956
  {
6018
5957
  "kind": "function",
6019
- "name": "extractPartDigitCellOption",
5958
+ "name": "edgeCase",
6020
5959
  "parameters": [
6021
5960
  {
6022
- "name": "option",
5961
+ "name": "context",
6023
5962
  "type": {
6024
- "text": "P"
5963
+ "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6025
5964
  }
6026
5965
  },
6027
5966
  {
6028
- "name": "getterOptions",
5967
+ "name": "{\n counter,\n list,\n setBy,\n }",
6029
5968
  "type": {
6030
- "text": "GroupGetterOptions"
5969
+ "text": "{\n counter: TC;\n list: [label: string, value: T, expectedValue: T][];\n setBy: (counter: TC, key: string, value: T) => void;\n }"
6031
5970
  }
6032
5971
  }
6033
5972
  ]
6034
- },
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": [
6035
5990
  {
6036
5991
  "kind": "function",
6037
- "name": "mergeGroupOption",
6038
- "return": {
6039
- "type": {
6040
- "text": "Result"
6041
- }
6042
- },
5992
+ "name": "emoji",
6043
5993
  "parameters": [
6044
5994
  {
6045
- "name": "data",
5995
+ "name": "context",
6046
5996
  "type": {
6047
- "text": "Result"
5997
+ "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6048
5998
  }
6049
5999
  },
6050
6000
  {
6051
- "name": "source",
6001
+ "name": "{\n counter,\n setBy,\n list,\n }",
6052
6002
  "type": {
6053
- "text": "Result"
6003
+ "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 }"
6054
6004
  }
6055
6005
  }
6056
6006
  ]
6057
- },
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": [
6058
6024
  {
6059
6025
  "kind": "function",
6060
- "name": "mergePartOption",
6061
- "return": {
6062
- "type": {
6063
- "text": "Result[]"
6064
- }
6065
- },
6026
+ "name": "localeNumber",
6066
6027
  "parameters": [
6067
6028
  {
6068
- "name": "data",
6069
- "default": "[]",
6029
+ "name": "context",
6070
6030
  "type": {
6071
- "text": "Result[]"
6031
+ "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6072
6032
  }
6073
6033
  },
6074
6034
  {
6075
- "name": "source",
6076
- "default": "[]",
6035
+ "name": "{\n counter,\n setBy,\n }",
6077
6036
  "type": {
6078
- "text": "Result[]"
6037
+ "text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: string) => void;\n }"
6079
6038
  }
6080
6039
  }
6081
6040
  ]
6082
- },
6041
+ }
6042
+ ],
6043
+ "exports": [
6083
6044
  {
6084
- "kind": "function",
6085
- "name": "mergePartDigitOption",
6086
- "return": {
6087
- "type": {
6088
- "text": "Result[][]"
6089
- }
6090
- },
6091
- "parameters": [
6092
- {
6093
- "name": "data",
6094
- "default": "[]",
6095
- "type": {
6096
- "text": "Result[][]"
6097
- }
6098
- },
6045
+ "kind": "js",
6046
+ "name": "localeNumber",
6047
+ "declaration": {
6048
+ "name": "localeNumber",
6049
+ "module": "stories/story-parts/locale-number.ts"
6050
+ }
6051
+ }
6052
+ ]
6053
+ },
6054
+ {
6055
+ "kind": "javascript-module",
6056
+ "path": "stories/story-parts/slots.ts",
6057
+ "declarations": [
6058
+ {
6059
+ "kind": "function",
6060
+ "name": "render",
6061
+ "parameters": [
6099
6062
  {
6100
- "name": "source",
6101
- "default": "[]",
6063
+ "name": "args",
6102
6064
  "type": {
6103
- "text": "Result[][]"
6065
+ "text": "any"
6104
6066
  }
6105
6067
  }
6106
6068
  ]
6107
6069
  },
6108
6070
  {
6109
6071
  "kind": "function",
6110
- "name": "mergePartDigitCellOption",
6111
- "return": {
6112
- "type": {
6113
- "text": "Result[][][]"
6114
- }
6115
- },
6072
+ "name": "slots",
6116
6073
  "parameters": [
6117
6074
  {
6118
- "name": "data",
6119
- "default": "[]",
6075
+ "name": "context",
6120
6076
  "type": {
6121
- "text": "Result[][][]"
6077
+ "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6122
6078
  }
6123
6079
  },
6124
6080
  {
6125
- "name": "source",
6126
- "default": "[]",
6081
+ "name": "{\n counter,\n }",
6127
6082
  "type": {
6128
- "text": "Result[][][]"
6083
+ "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 }"
6129
6084
  }
6130
6085
  }
6131
6086
  ]
@@ -6134,87 +6089,40 @@
6134
6089
  "exports": [
6135
6090
  {
6136
6091
  "kind": "js",
6137
- "name": "extractGroupOption",
6138
- "declaration": {
6139
- "name": "extractGroupOption",
6140
- "module": "src/utils/extract-group-option.ts"
6141
- }
6142
- },
6143
- {
6144
- "kind": "js",
6145
- "name": "extractPartOption",
6146
- "declaration": {
6147
- "name": "extractPartOption",
6148
- "module": "src/utils/extract-group-option.ts"
6149
- }
6150
- },
6151
- {
6152
- "kind": "js",
6153
- "name": "extractPartDigitOption",
6154
- "declaration": {
6155
- "name": "extractPartDigitOption",
6156
- "module": "src/utils/extract-group-option.ts"
6157
- }
6158
- },
6159
- {
6160
- "kind": "js",
6161
- "name": "extractPartDigitCellOption",
6162
- "declaration": {
6163
- "name": "extractPartDigitCellOption",
6164
- "module": "src/utils/extract-group-option.ts"
6165
- }
6166
- },
6167
- {
6168
- "kind": "js",
6169
- "name": "mergeGroupOption",
6170
- "declaration": {
6171
- "name": "mergeGroupOption",
6172
- "module": "src/utils/extract-group-option.ts"
6173
- }
6174
- },
6175
- {
6176
- "kind": "js",
6177
- "name": "mergePartOption",
6178
- "declaration": {
6179
- "name": "mergePartOption",
6180
- "module": "src/utils/extract-group-option.ts"
6181
- }
6182
- },
6183
- {
6184
- "kind": "js",
6185
- "name": "mergePartDigitOption",
6092
+ "name": "render",
6186
6093
  "declaration": {
6187
- "name": "mergePartDigitOption",
6188
- "module": "src/utils/extract-group-option.ts"
6094
+ "name": "render",
6095
+ "module": "stories/story-parts/slots.ts"
6189
6096
  }
6190
6097
  },
6191
6098
  {
6192
6099
  "kind": "js",
6193
- "name": "mergePartDigitCellOption",
6100
+ "name": "slots",
6194
6101
  "declaration": {
6195
- "name": "mergePartDigitCellOption",
6196
- "module": "src/utils/extract-group-option.ts"
6102
+ "name": "slots",
6103
+ "module": "stories/story-parts/slots.ts"
6197
6104
  }
6198
6105
  }
6199
6106
  ]
6200
6107
  },
6201
6108
  {
6202
6109
  "kind": "javascript-module",
6203
- "path": "src/utils/iso8601-duration.ts",
6110
+ "path": "stories/story-parts/styles.ts",
6204
6111
  "declarations": [
6205
6112
  {
6206
6113
  "kind": "function",
6207
- "name": "iso8601Duration",
6208
- "return": {
6209
- "type": {
6210
- "text": "string"
6211
- }
6212
- },
6114
+ "name": "styles",
6213
6115
  "parameters": [
6214
6116
  {
6215
- "name": "duration",
6117
+ "name": "context",
6216
6118
  "type": {
6217
- "text": "{\n [key in DurationPartType]?: number;\n}"
6119
+ "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6120
+ }
6121
+ },
6122
+ {
6123
+ "name": "{\n counter,\n setBy,\n }",
6124
+ "type": {
6125
+ "text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: string) => void;\n }"
6218
6126
  }
6219
6127
  }
6220
6128
  ]
@@ -6223,34 +6131,32 @@
6223
6131
  "exports": [
6224
6132
  {
6225
6133
  "kind": "js",
6226
- "name": "iso8601Duration",
6134
+ "name": "styles",
6227
6135
  "declaration": {
6228
- "name": "iso8601Duration",
6229
- "module": "src/utils/iso8601-duration.ts"
6136
+ "name": "styles",
6137
+ "module": "stories/story-parts/styles.ts"
6230
6138
  }
6231
6139
  }
6232
6140
  ]
6233
6141
  },
6234
6142
  {
6235
6143
  "kind": "javascript-module",
6236
- "path": "src/utils/localized-date-time-fields.ts",
6144
+ "path": "stories/story-parts/value-change.ts",
6237
6145
  "declarations": [
6238
- {
6239
- "kind": "variable",
6240
- "name": "DateTimeFields",
6241
- "type": {
6242
- "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]"
6243
- },
6244
- "default": "[ \"era\", \"year\", \"quarter\", \"month\", \"weekOfYear\", \"weekday\", \"day\", \"dayPeriod\", \"hour\", \"minute\", \"second\", \"timeZoneName\", ]"
6245
- },
6246
6146
  {
6247
6147
  "kind": "function",
6248
- "name": "getLocalizedDateTimeFields",
6148
+ "name": "valueChange",
6249
6149
  "parameters": [
6250
6150
  {
6251
- "name": "locale",
6151
+ "name": "context",
6252
6152
  "type": {
6253
- "text": "Intl.Locale"
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 }",
6158
+ "type": {
6159
+ "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 }"
6254
6160
  }
6255
6161
  }
6256
6162
  ]
@@ -6259,67 +6165,177 @@
6259
6165
  "exports": [
6260
6166
  {
6261
6167
  "kind": "js",
6262
- "name": "DateTimeFields",
6263
- "declaration": {
6264
- "name": "DateTimeFields",
6265
- "module": "src/utils/localized-date-time-fields.ts"
6266
- }
6267
- },
6268
- {
6269
- "kind": "js",
6270
- "name": "getLocalizedDateTimeFields",
6168
+ "name": "valueChange",
6271
6169
  "declaration": {
6272
- "name": "getLocalizedDateTimeFields",
6273
- "module": "src/utils/localized-date-time-fields.ts"
6170
+ "name": "valueChange",
6171
+ "module": "stories/story-parts/value-change.ts"
6274
6172
  }
6275
6173
  }
6276
6174
  ]
6277
6175
  },
6278
6176
  {
6279
6177
  "kind": "javascript-module",
6280
- "path": "src/utils/parse-json-string.ts",
6178
+ "path": "src/utils/any-base.ts",
6281
6179
  "declarations": [
6282
6180
  {
6283
6181
  "kind": "function",
6284
- "name": "parseJsonString",
6182
+ "name": "anyBase",
6285
6183
  "parameters": [
6286
6184
  {
6287
- "name": "value",
6185
+ "name": "sa",
6186
+ "type": {
6187
+ "text": "StringAdapter"
6188
+ }
6189
+ },
6190
+ {
6191
+ "name": "srcAlphabet",
6192
+ "type": {
6193
+ "text": "string"
6194
+ }
6195
+ },
6196
+ {
6197
+ "name": "dstAlphabet",
6288
6198
  "type": {
6289
6199
  "text": "string"
6290
6200
  }
6291
6201
  }
6292
6202
  ]
6203
+ },
6204
+ {
6205
+ "kind": "variable",
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'"
6293
6235
  }
6294
6236
  ],
6295
6237
  "exports": [
6296
6238
  {
6297
6239
  "kind": "js",
6298
- "name": "parseJsonString",
6240
+ "name": "anyBase",
6299
6241
  "declaration": {
6300
- "name": "parseJsonString",
6301
- "module": "src/utils/parse-json-string.ts"
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
+ },
6270
+ {
6271
+ "kind": "js",
6272
+ "name": "HEX",
6273
+ "declaration": {
6274
+ "name": "HEX",
6275
+ "module": "src/utils/any-base.ts"
6302
6276
  }
6303
6277
  }
6304
6278
  ]
6305
6279
  },
6306
6280
  {
6307
6281
  "kind": "javascript-module",
6308
- "path": "src/utils/polyfill-keyframes.ts",
6282
+ "path": "src/utils/duration.ts",
6309
6283
  "declarations": [
6310
6284
  {
6311
6285
  "kind": "function",
6312
- "name": "polyfillKeyframes",
6286
+ "name": "durationObject",
6313
6287
  "return": {
6314
6288
  "type": {
6315
- "text": "Keyframe[]"
6289
+ "text": "{ [key in DurationPartType]?: number }"
6316
6290
  }
6317
6291
  },
6318
6292
  "parameters": [
6319
6293
  {
6320
- "name": "keyframes",
6294
+ "name": "start",
6321
6295
  "type": {
6322
- "text": "Keyframe[] | PropertyIndexedKeyframes"
6296
+ "text": "Date"
6297
+ }
6298
+ },
6299
+ {
6300
+ "name": "end",
6301
+ "type": {
6302
+ "text": "Date"
6303
+ }
6304
+ },
6305
+ {
6306
+ "name": "parts",
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",
6325
+ "type": {
6326
+ "text": "Date"
6327
+ }
6328
+ },
6329
+ {
6330
+ "name": "end",
6331
+ "type": {
6332
+ "text": "Date"
6333
+ }
6334
+ },
6335
+ {
6336
+ "name": "parts",
6337
+ "type": {
6338
+ "text": "DurationPartType[]"
6323
6339
  }
6324
6340
  }
6325
6341
  ]
@@ -6328,212 +6344,192 @@
6328
6344
  "exports": [
6329
6345
  {
6330
6346
  "kind": "js",
6331
- "name": "polyfillKeyframes",
6347
+ "name": "durationObject",
6332
6348
  "declaration": {
6333
- "name": "polyfillKeyframes",
6334
- "module": "src/utils/polyfill-keyframes.ts"
6349
+ "name": "durationObject",
6350
+ "module": "src/utils/duration.ts"
6351
+ }
6352
+ },
6353
+ {
6354
+ "kind": "js",
6355
+ "name": "duration",
6356
+ "declaration": {
6357
+ "name": "duration",
6358
+ "module": "src/utils/duration.ts"
6335
6359
  }
6336
6360
  }
6337
6361
  ]
6338
6362
  },
6339
6363
  {
6340
6364
  "kind": "javascript-module",
6341
- "path": "src/utils/preprocess-part-data.ts",
6365
+ "path": "src/utils/extract-group-option.ts",
6342
6366
  "declarations": [
6343
6367
  {
6344
6368
  "kind": "function",
6345
- "name": "preprocessPartData",
6369
+ "name": "extractGroupOption",
6346
6370
  "parameters": [
6347
6371
  {
6348
- "name": "newDirection",
6372
+ "name": "option",
6349
6373
  "type": {
6350
- "text": "'up' | 'down'"
6374
+ "text": "P"
6351
6375
  }
6352
6376
  },
6353
6377
  {
6354
- "name": "newData",
6378
+ "name": "getterOptions",
6355
6379
  "type": {
6356
- "text": "PartData[]"
6380
+ "text": "GroupGetterOptions"
6357
6381
  }
6358
- },
6382
+ }
6383
+ ]
6384
+ },
6385
+ {
6386
+ "kind": "function",
6387
+ "name": "extractPartOption",
6388
+ "parameters": [
6359
6389
  {
6360
- "name": "oldDirection",
6390
+ "name": "option",
6361
6391
  "type": {
6362
- "text": "'up' | 'down'"
6392
+ "text": "P"
6363
6393
  }
6364
6394
  },
6365
6395
  {
6366
- "name": "oldData",
6396
+ "name": "getterOptions",
6367
6397
  "type": {
6368
- "text": "PartData[]"
6398
+ "text": "GroupGetterOptions"
6369
6399
  }
6370
6400
  }
6371
6401
  ]
6372
- }
6373
- ],
6374
- "exports": [
6375
- {
6376
- "kind": "js",
6377
- "name": "preprocessPartData",
6378
- "declaration": {
6379
- "name": "preprocessPartData",
6380
- "module": "src/utils/preprocess-part-data.ts"
6381
- }
6382
- }
6383
- ]
6384
- },
6385
- {
6386
- "kind": "javascript-module",
6387
- "path": "src/utils/transition-digit.ts",
6388
- "declarations": [
6402
+ },
6389
6403
  {
6390
6404
  "kind": "function",
6391
- "name": "transitionDigit",
6405
+ "name": "extractPartDigitOption",
6392
6406
  "parameters": [
6393
6407
  {
6394
- "name": "na",
6408
+ "name": "option",
6395
6409
  "type": {
6396
- "text": "NS"
6410
+ "text": "P"
6397
6411
  }
6398
6412
  },
6399
6413
  {
6400
- "name": "from",
6414
+ "name": "getterOptions",
6401
6415
  "type": {
6402
- "text": "V"
6416
+ "text": "GroupGetterOptions"
6403
6417
  }
6404
- },
6418
+ }
6419
+ ]
6420
+ },
6421
+ {
6422
+ "kind": "function",
6423
+ "name": "extractPartDigitCellOption",
6424
+ "parameters": [
6405
6425
  {
6406
- "name": "to",
6426
+ "name": "option",
6407
6427
  "type": {
6408
- "text": "V"
6428
+ "text": "P"
6409
6429
  }
6410
6430
  },
6411
6431
  {
6412
- "name": "count",
6432
+ "name": "getterOptions",
6413
6433
  "type": {
6414
- "text": "number"
6434
+ "text": "GroupGetterOptions"
6415
6435
  }
6416
6436
  }
6417
6437
  ]
6418
- }
6419
- ],
6420
- "exports": [
6421
- {
6422
- "kind": "js",
6423
- "name": "transitionDigit",
6424
- "declaration": {
6425
- "name": "transitionDigit",
6426
- "module": "src/utils/transition-digit.ts"
6427
- }
6428
- }
6429
- ]
6430
- },
6431
- {
6432
- "kind": "javascript-module",
6433
- "path": "src/utils/uuid.ts",
6434
- "declarations": [
6438
+ },
6435
6439
  {
6436
6440
  "kind": "function",
6437
- "name": "uuid"
6438
- }
6439
- ],
6440
- "exports": [
6441
- {
6442
- "kind": "js",
6443
- "name": "uuid",
6444
- "declaration": {
6445
- "name": "uuid",
6446
- "module": "src/utils/uuid.ts"
6447
- }
6448
- }
6449
- ]
6450
- },
6451
- {
6452
- "kind": "javascript-module",
6453
- "path": "stories/story-parts/animation-events.ts",
6454
- "declarations": [
6441
+ "name": "mergeGroupOption",
6442
+ "return": {
6443
+ "type": {
6444
+ "text": "Result"
6445
+ }
6446
+ },
6447
+ "parameters": [
6448
+ {
6449
+ "name": "data",
6450
+ "type": {
6451
+ "text": "Result"
6452
+ }
6453
+ },
6454
+ {
6455
+ "name": "source",
6456
+ "type": {
6457
+ "text": "Result"
6458
+ }
6459
+ }
6460
+ ]
6461
+ },
6455
6462
  {
6456
6463
  "kind": "function",
6457
- "name": "animationEvents",
6464
+ "name": "mergePartOption",
6465
+ "return": {
6466
+ "type": {
6467
+ "text": "Result[]"
6468
+ }
6469
+ },
6458
6470
  "parameters": [
6459
6471
  {
6460
- "name": "context",
6472
+ "name": "data",
6473
+ "default": "[]",
6461
6474
  "type": {
6462
- "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6475
+ "text": "Result[]"
6463
6476
  }
6464
6477
  },
6465
6478
  {
6466
- "name": "{\n counter,\n list = range(0, 5).map(v => v * 10) as T[],\n setBy,\n equal = _equal,\n }",
6479
+ "name": "source",
6480
+ "default": "[]",
6467
6481
  "type": {
6468
- "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 }"
6482
+ "text": "Result[]"
6469
6483
  }
6470
6484
  }
6471
6485
  ]
6472
- }
6473
- ],
6474
- "exports": [
6475
- {
6476
- "kind": "js",
6477
- "name": "animationEvents",
6478
- "declaration": {
6479
- "name": "animationEvents",
6480
- "module": "stories/story-parts/animation-events.ts"
6481
- }
6482
- }
6483
- ]
6484
- },
6485
- {
6486
- "kind": "javascript-module",
6487
- "path": "stories/story-parts/animation-options.ts",
6488
- "declarations": [
6486
+ },
6489
6487
  {
6490
6488
  "kind": "function",
6491
- "name": "animationOptions",
6489
+ "name": "mergePartDigitOption",
6490
+ "return": {
6491
+ "type": {
6492
+ "text": "Result[][]"
6493
+ }
6494
+ },
6492
6495
  "parameters": [
6493
6496
  {
6494
- "name": "context",
6497
+ "name": "data",
6498
+ "default": "[]",
6495
6499
  "type": {
6496
- "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6500
+ "text": "Result[][]"
6497
6501
  }
6498
6502
  },
6499
6503
  {
6500
- "name": "{\n counter,\n list = [114514] as T[],\n setBy,\n }",
6504
+ "name": "source",
6505
+ "default": "[]",
6501
6506
  "type": {
6502
- "text": "{\n counter: TC;\n list?: T[];\n setBy: (counter: TC, key: string, value: T) => void;\n }"
6507
+ "text": "Result[][]"
6503
6508
  }
6504
6509
  }
6505
6510
  ]
6506
- }
6507
- ],
6508
- "exports": [
6509
- {
6510
- "kind": "js",
6511
- "name": "animationOptions",
6512
- "declaration": {
6513
- "name": "animationOptions",
6514
- "module": "stories/story-parts/animation-options.ts"
6515
- }
6516
- }
6517
- ]
6518
- },
6519
- {
6520
- "kind": "javascript-module",
6521
- "path": "stories/story-parts/big-number.ts",
6522
- "declarations": [
6511
+ },
6523
6512
  {
6524
6513
  "kind": "function",
6525
- "name": "bigNumber",
6514
+ "name": "mergePartDigitCellOption",
6515
+ "return": {
6516
+ "type": {
6517
+ "text": "Result[][][]"
6518
+ }
6519
+ },
6526
6520
  "parameters": [
6527
6521
  {
6528
- "name": "context",
6522
+ "name": "data",
6523
+ "default": "[]",
6529
6524
  "type": {
6530
- "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6525
+ "text": "Result[][][]"
6531
6526
  }
6532
6527
  },
6533
6528
  {
6534
- "name": "{\n counter,\n setBy,\n equal = _equal,\n }",
6529
+ "name": "source",
6530
+ "default": "[]",
6535
6531
  "type": {
6536
- "text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: string) => void;\n equal?: (counter: TimeredCounter, a: any, b: any) => Promise<void>;\n }"
6532
+ "text": "Result[][][]"
6537
6533
  }
6538
6534
  }
6539
6535
  ]
@@ -6542,32 +6538,87 @@
6542
6538
  "exports": [
6543
6539
  {
6544
6540
  "kind": "js",
6545
- "name": "bigNumber",
6541
+ "name": "extractGroupOption",
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",
6546
6598
  "declaration": {
6547
- "name": "bigNumber",
6548
- "module": "stories/story-parts/big-number.ts"
6599
+ "name": "mergePartDigitCellOption",
6600
+ "module": "src/utils/extract-group-option.ts"
6549
6601
  }
6550
6602
  }
6551
6603
  ]
6552
6604
  },
6553
6605
  {
6554
6606
  "kind": "javascript-module",
6555
- "path": "stories/story-parts/datetime-locale.ts",
6607
+ "path": "src/utils/iso8601-duration.ts",
6556
6608
  "declarations": [
6557
6609
  {
6558
6610
  "kind": "function",
6559
- "name": "datetimeLocale",
6611
+ "name": "iso8601Duration",
6612
+ "return": {
6613
+ "type": {
6614
+ "text": "string"
6615
+ }
6616
+ },
6560
6617
  "parameters": [
6561
6618
  {
6562
- "name": "context",
6563
- "type": {
6564
- "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6565
- }
6566
- },
6567
- {
6568
- "name": "{\n counter,\n setBy,\n }",
6619
+ "name": "duration",
6569
6620
  "type": {
6570
- "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 }"
6621
+ "text": "{\n [key in DurationPartType]?: number;\n}"
6571
6622
  }
6572
6623
  }
6573
6624
  ]
@@ -6576,32 +6627,34 @@
6576
6627
  "exports": [
6577
6628
  {
6578
6629
  "kind": "js",
6579
- "name": "datetimeLocale",
6630
+ "name": "iso8601Duration",
6580
6631
  "declaration": {
6581
- "name": "datetimeLocale",
6582
- "module": "stories/story-parts/datetime-locale.ts"
6632
+ "name": "iso8601Duration",
6633
+ "module": "src/utils/iso8601-duration.ts"
6583
6634
  }
6584
6635
  }
6585
6636
  ]
6586
6637
  },
6587
6638
  {
6588
6639
  "kind": "javascript-module",
6589
- "path": "stories/story-parts/datetime-precision.ts",
6640
+ "path": "src/utils/localized-date-time-fields.ts",
6590
6641
  "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
+ },
6591
6650
  {
6592
6651
  "kind": "function",
6593
- "name": "datetimePrecision",
6652
+ "name": "getLocalizedDateTimeFields",
6594
6653
  "parameters": [
6595
6654
  {
6596
- "name": "context",
6597
- "type": {
6598
- "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6599
- }
6600
- },
6601
- {
6602
- "name": "{\n counter,\n setBy,\n }",
6655
+ "name": "locale",
6603
6656
  "type": {
6604
- "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 }"
6657
+ "text": "Intl.Locale"
6605
6658
  }
6606
6659
  }
6607
6660
  ]
@@ -6610,66 +6663,34 @@
6610
6663
  "exports": [
6611
6664
  {
6612
6665
  "kind": "js",
6613
- "name": "datetimePrecision",
6666
+ "name": "DateTimeFields",
6614
6667
  "declaration": {
6615
- "name": "datetimePrecision",
6616
- "module": "stories/story-parts/datetime-precision.ts"
6668
+ "name": "DateTimeFields",
6669
+ "module": "src/utils/localized-date-time-fields.ts"
6617
6670
  }
6618
- }
6619
- ]
6620
- },
6621
- {
6622
- "kind": "javascript-module",
6623
- "path": "stories/story-parts/edge-case.ts",
6624
- "declarations": [
6625
- {
6626
- "kind": "function",
6627
- "name": "edgeCase",
6628
- "parameters": [
6629
- {
6630
- "name": "context",
6631
- "type": {
6632
- "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6633
- }
6634
- },
6635
- {
6636
- "name": "{\n counter,\n list,\n setBy,\n }",
6637
- "type": {
6638
- "text": "{\n counter: TC;\n list: [label: string, value: T, expectedValue: T][];\n setBy: (counter: TC, key: string, value: T) => void;\n }"
6639
- }
6640
- }
6641
- ]
6642
- }
6643
- ],
6644
- "exports": [
6671
+ },
6645
6672
  {
6646
6673
  "kind": "js",
6647
- "name": "edgeCase",
6674
+ "name": "getLocalizedDateTimeFields",
6648
6675
  "declaration": {
6649
- "name": "edgeCase",
6650
- "module": "stories/story-parts/edge-case.ts"
6676
+ "name": "getLocalizedDateTimeFields",
6677
+ "module": "src/utils/localized-date-time-fields.ts"
6651
6678
  }
6652
6679
  }
6653
6680
  ]
6654
6681
  },
6655
6682
  {
6656
6683
  "kind": "javascript-module",
6657
- "path": "stories/story-parts/emoji.ts",
6684
+ "path": "src/utils/parse-json-string.ts",
6658
6685
  "declarations": [
6659
6686
  {
6660
6687
  "kind": "function",
6661
- "name": "emoji",
6688
+ "name": "parseJsonString",
6662
6689
  "parameters": [
6663
6690
  {
6664
- "name": "context",
6665
- "type": {
6666
- "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6667
- }
6668
- },
6669
- {
6670
- "name": "{\n counter,\n setBy,\n list,\n }",
6691
+ "name": "value",
6671
6692
  "type": {
6672
- "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 }"
6693
+ "text": "string"
6673
6694
  }
6674
6695
  }
6675
6696
  ]
@@ -6678,32 +6699,31 @@
6678
6699
  "exports": [
6679
6700
  {
6680
6701
  "kind": "js",
6681
- "name": "emoji",
6702
+ "name": "parseJsonString",
6682
6703
  "declaration": {
6683
- "name": "emoji",
6684
- "module": "stories/story-parts/emoji.ts"
6704
+ "name": "parseJsonString",
6705
+ "module": "src/utils/parse-json-string.ts"
6685
6706
  }
6686
6707
  }
6687
6708
  ]
6688
6709
  },
6689
6710
  {
6690
6711
  "kind": "javascript-module",
6691
- "path": "stories/story-parts/locale-number.ts",
6712
+ "path": "src/utils/polyfill-keyframes.ts",
6692
6713
  "declarations": [
6693
6714
  {
6694
6715
  "kind": "function",
6695
- "name": "localeNumber",
6716
+ "name": "polyfillKeyframes",
6717
+ "return": {
6718
+ "type": {
6719
+ "text": "Keyframe[]"
6720
+ }
6721
+ },
6696
6722
  "parameters": [
6697
6723
  {
6698
- "name": "context",
6699
- "type": {
6700
- "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6701
- }
6702
- },
6703
- {
6704
- "name": "{\n counter,\n setBy,\n }",
6724
+ "name": "keyframes",
6705
6725
  "type": {
6706
- "text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: string) => void;\n }"
6726
+ "text": "Keyframe[] | PropertyIndexedKeyframes"
6707
6727
  }
6708
6728
  }
6709
6729
  ]
@@ -6712,44 +6732,44 @@
6712
6732
  "exports": [
6713
6733
  {
6714
6734
  "kind": "js",
6715
- "name": "localeNumber",
6735
+ "name": "polyfillKeyframes",
6716
6736
  "declaration": {
6717
- "name": "localeNumber",
6718
- "module": "stories/story-parts/locale-number.ts"
6737
+ "name": "polyfillKeyframes",
6738
+ "module": "src/utils/polyfill-keyframes.ts"
6719
6739
  }
6720
6740
  }
6721
6741
  ]
6722
6742
  },
6723
6743
  {
6724
6744
  "kind": "javascript-module",
6725
- "path": "stories/story-parts/slots.ts",
6745
+ "path": "src/utils/preprocess-part-data.ts",
6726
6746
  "declarations": [
6727
6747
  {
6728
6748
  "kind": "function",
6729
- "name": "render",
6749
+ "name": "preprocessPartData",
6730
6750
  "parameters": [
6731
6751
  {
6732
- "name": "args",
6752
+ "name": "newDirection",
6733
6753
  "type": {
6734
- "text": "any"
6754
+ "text": "'up' | 'down'"
6735
6755
  }
6736
- }
6737
- ]
6738
- },
6739
- {
6740
- "kind": "function",
6741
- "name": "slots",
6742
- "parameters": [
6756
+ },
6743
6757
  {
6744
- "name": "context",
6758
+ "name": "newData",
6745
6759
  "type": {
6746
- "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6760
+ "text": "PartData[]"
6747
6761
  }
6748
6762
  },
6749
6763
  {
6750
- "name": "{\n counter,\n }",
6764
+ "name": "oldDirection",
6751
6765
  "type": {
6752
- "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 }"
6766
+ "text": "'up' | 'down'"
6767
+ }
6768
+ },
6769
+ {
6770
+ "name": "oldData",
6771
+ "type": {
6772
+ "text": "PartData[]"
6753
6773
  }
6754
6774
  }
6755
6775
  ]
@@ -6758,40 +6778,44 @@
6758
6778
  "exports": [
6759
6779
  {
6760
6780
  "kind": "js",
6761
- "name": "render",
6762
- "declaration": {
6763
- "name": "render",
6764
- "module": "stories/story-parts/slots.ts"
6765
- }
6766
- },
6767
- {
6768
- "kind": "js",
6769
- "name": "slots",
6781
+ "name": "preprocessPartData",
6770
6782
  "declaration": {
6771
- "name": "slots",
6772
- "module": "stories/story-parts/slots.ts"
6783
+ "name": "preprocessPartData",
6784
+ "module": "src/utils/preprocess-part-data.ts"
6773
6785
  }
6774
6786
  }
6775
6787
  ]
6776
6788
  },
6777
6789
  {
6778
6790
  "kind": "javascript-module",
6779
- "path": "stories/story-parts/styles.ts",
6791
+ "path": "src/utils/transition-digit.ts",
6780
6792
  "declarations": [
6781
6793
  {
6782
6794
  "kind": "function",
6783
- "name": "styles",
6795
+ "name": "transitionDigit",
6784
6796
  "parameters": [
6785
6797
  {
6786
- "name": "context",
6798
+ "name": "na",
6787
6799
  "type": {
6788
- "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6800
+ "text": "NS"
6789
6801
  }
6790
6802
  },
6791
6803
  {
6792
- "name": "{\n counter,\n setBy,\n }",
6804
+ "name": "from",
6793
6805
  "type": {
6794
- "text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: string) => void;\n }"
6806
+ "text": "V"
6807
+ }
6808
+ },
6809
+ {
6810
+ "name": "to",
6811
+ "type": {
6812
+ "text": "V"
6813
+ }
6814
+ },
6815
+ {
6816
+ "name": "count",
6817
+ "type": {
6818
+ "text": "number"
6795
6819
  }
6796
6820
  }
6797
6821
  ]
@@ -6800,44 +6824,30 @@
6800
6824
  "exports": [
6801
6825
  {
6802
6826
  "kind": "js",
6803
- "name": "styles",
6827
+ "name": "transitionDigit",
6804
6828
  "declaration": {
6805
- "name": "styles",
6806
- "module": "stories/story-parts/styles.ts"
6829
+ "name": "transitionDigit",
6830
+ "module": "src/utils/transition-digit.ts"
6807
6831
  }
6808
6832
  }
6809
6833
  ]
6810
6834
  },
6811
6835
  {
6812
6836
  "kind": "javascript-module",
6813
- "path": "stories/story-parts/value-change.ts",
6837
+ "path": "src/utils/uuid.ts",
6814
6838
  "declarations": [
6815
6839
  {
6816
6840
  "kind": "function",
6817
- "name": "valueChange",
6818
- "parameters": [
6819
- {
6820
- "name": "context",
6821
- "type": {
6822
- "text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
6823
- }
6824
- },
6825
- {
6826
- "name": "{\n counter,\n list = range(0, 5).map(v => v * 10) as T[],\n setBy,\n equal = _equal,\n }",
6827
- "type": {
6828
- "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 }"
6829
- }
6830
- }
6831
- ]
6841
+ "name": "uuid"
6832
6842
  }
6833
6843
  ],
6834
6844
  "exports": [
6835
6845
  {
6836
6846
  "kind": "js",
6837
- "name": "valueChange",
6847
+ "name": "uuid",
6838
6848
  "declaration": {
6839
- "name": "valueChange",
6840
- "module": "stories/story-parts/value-change.ts"
6849
+ "name": "uuid",
6850
+ "module": "src/utils/uuid.ts"
6841
6851
  }
6842
6852
  }
6843
6853
  ]
@@ -7844,31 +7854,31 @@
7844
7854
  },
7845
7855
  {
7846
7856
  "kind": "javascript-module",
7847
- "path": "coverage/storybook/lcov-report/block-navigation.js",
7857
+ "path": "storybook-static/sb-preview/globals.js",
7848
7858
  "declarations": [],
7849
7859
  "exports": []
7850
7860
  },
7851
7861
  {
7852
7862
  "kind": "javascript-module",
7853
- "path": "coverage/storybook/lcov-report/prettify.js",
7863
+ "path": "storybook-static/sb-preview/runtime.js",
7854
7864
  "declarations": [],
7855
7865
  "exports": []
7856
7866
  },
7857
7867
  {
7858
7868
  "kind": "javascript-module",
7859
- "path": "coverage/storybook/lcov-report/sorter.js",
7869
+ "path": "coverage/storybook/lcov-report/block-navigation.js",
7860
7870
  "declarations": [],
7861
7871
  "exports": []
7862
7872
  },
7863
7873
  {
7864
7874
  "kind": "javascript-module",
7865
- "path": "storybook-static/sb-preview/globals.js",
7875
+ "path": "coverage/storybook/lcov-report/prettify.js",
7866
7876
  "declarations": [],
7867
7877
  "exports": []
7868
7878
  },
7869
7879
  {
7870
7880
  "kind": "javascript-module",
7871
- "path": "storybook-static/sb-preview/runtime.js",
7881
+ "path": "coverage/storybook/lcov-report/sorter.js",
7872
7882
  "declarations": [],
7873
7883
  "exports": []
7874
7884
  },
@@ -8452,13 +8462,13 @@
8452
8462
  },
8453
8463
  {
8454
8464
  "kind": "javascript-module",
8455
- "path": "storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js",
8465
+ "path": "storybook-static/sb-addons/essentials-controls-1/manager-bundle.js",
8456
8466
  "declarations": [],
8457
8467
  "exports": []
8458
8468
  },
8459
8469
  {
8460
8470
  "kind": "javascript-module",
8461
- "path": "storybook-static/sb-addons/essentials-controls-1/manager-bundle.js",
8471
+ "path": "storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js",
8462
8472
  "declarations": [],
8463
8473
  "exports": []
8464
8474
  },