timered-counter 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3777,51 +3777,97 @@
|
|
3777
3777
|
},
|
3778
3778
|
{
|
3779
3779
|
"kind": "javascript-module",
|
3780
|
-
"path": "src/
|
3780
|
+
"path": "src/mixins/counter-aira.ts",
|
3781
3781
|
"declarations": [
|
3782
3782
|
{
|
3783
|
-
"kind": "
|
3784
|
-
"
|
3785
|
-
"
|
3786
|
-
|
3787
|
-
"text": "T"
|
3788
|
-
}
|
3789
|
-
},
|
3790
|
-
"parameters": [
|
3783
|
+
"kind": "class",
|
3784
|
+
"description": "",
|
3785
|
+
"name": "CounterAiraMixinInterface",
|
3786
|
+
"members": [
|
3791
3787
|
{
|
3792
|
-
"
|
3788
|
+
"kind": "field",
|
3789
|
+
"name": "ariaLabel",
|
3793
3790
|
"type": {
|
3794
|
-
"text": "
|
3791
|
+
"text": "string"
|
3792
|
+
}
|
3793
|
+
},
|
3794
|
+
{
|
3795
|
+
"kind": "field",
|
3796
|
+
"name": "ariaLive",
|
3797
|
+
"type": {
|
3798
|
+
"text": "'off' | 'polite' | 'assertive'"
|
3799
|
+
}
|
3800
|
+
},
|
3801
|
+
{
|
3802
|
+
"kind": "method",
|
3803
|
+
"name": "generateAriaLabel",
|
3804
|
+
"return": {
|
3805
|
+
"type": {
|
3806
|
+
"text": "string"
|
3807
|
+
}
|
3795
3808
|
}
|
3796
3809
|
}
|
3797
3810
|
]
|
3798
3811
|
},
|
3799
3812
|
{
|
3800
|
-
"kind": "
|
3801
|
-
"
|
3802
|
-
"
|
3813
|
+
"kind": "mixin",
|
3814
|
+
"description": "",
|
3815
|
+
"name": "CounterAiraMixin",
|
3816
|
+
"members": [
|
3803
3817
|
{
|
3804
|
-
"
|
3818
|
+
"kind": "field",
|
3819
|
+
"name": "ariaLabel",
|
3805
3820
|
"type": {
|
3806
|
-
"text": "
|
3807
|
-
}
|
3821
|
+
"text": "string"
|
3822
|
+
},
|
3823
|
+
"default": "''",
|
3824
|
+
"attribute": "aria-label",
|
3825
|
+
"reflects": true
|
3808
3826
|
},
|
3809
3827
|
{
|
3810
|
-
"
|
3828
|
+
"kind": "field",
|
3829
|
+
"name": "ariaLive",
|
3811
3830
|
"type": {
|
3812
|
-
"text": "
|
3813
|
-
}
|
3831
|
+
"text": "'off' | 'polite' | 'assertive'"
|
3832
|
+
},
|
3833
|
+
"default": "'polite'",
|
3834
|
+
"attribute": "aira-live",
|
3835
|
+
"reflects": true
|
3814
3836
|
},
|
3815
3837
|
{
|
3816
|
-
"
|
3838
|
+
"kind": "method",
|
3839
|
+
"name": "generateAriaLabel",
|
3840
|
+
"return": {
|
3841
|
+
"type": {
|
3842
|
+
"text": "string"
|
3843
|
+
}
|
3844
|
+
},
|
3845
|
+
"description": "生成 aria-label 属性值. 在每次更新完成后调用."
|
3846
|
+
}
|
3847
|
+
],
|
3848
|
+
"attributes": [
|
3849
|
+
{
|
3850
|
+
"name": "aria-label",
|
3817
3851
|
"type": {
|
3818
|
-
"text": "
|
3819
|
-
}
|
3852
|
+
"text": "string"
|
3853
|
+
},
|
3854
|
+
"default": "''",
|
3855
|
+
"fieldName": "ariaLabel"
|
3820
3856
|
},
|
3821
3857
|
{
|
3822
|
-
"name": "
|
3858
|
+
"name": "aira-live",
|
3823
3859
|
"type": {
|
3824
|
-
"text": "
|
3860
|
+
"text": "'off' | 'polite' | 'assertive'"
|
3861
|
+
},
|
3862
|
+
"default": "'polite'",
|
3863
|
+
"fieldName": "ariaLive"
|
3864
|
+
}
|
3865
|
+
],
|
3866
|
+
"parameters": [
|
3867
|
+
{
|
3868
|
+
"name": "superClass",
|
3869
|
+
"type": {
|
3870
|
+
"text": "T"
|
3825
3871
|
}
|
3826
3872
|
}
|
3827
3873
|
]
|
@@ -3830,34 +3876,172 @@
|
|
3830
3876
|
"exports": [
|
3831
3877
|
{
|
3832
3878
|
"kind": "js",
|
3833
|
-
"name": "
|
3879
|
+
"name": "CounterAiraMixinInterface",
|
3834
3880
|
"declaration": {
|
3835
|
-
"name": "
|
3836
|
-
"module": "src/
|
3881
|
+
"name": "CounterAiraMixinInterface",
|
3882
|
+
"module": "src/mixins/counter-aira.ts"
|
3837
3883
|
}
|
3838
3884
|
},
|
3839
3885
|
{
|
3840
3886
|
"kind": "js",
|
3841
|
-
"name": "
|
3887
|
+
"name": "CounterAiraMixin",
|
3842
3888
|
"declaration": {
|
3843
|
-
"name": "
|
3844
|
-
"module": "src/
|
3889
|
+
"name": "CounterAiraMixin",
|
3890
|
+
"module": "src/mixins/counter-aira.ts"
|
3845
3891
|
}
|
3846
3892
|
}
|
3847
3893
|
]
|
3848
3894
|
},
|
3849
3895
|
{
|
3850
3896
|
"kind": "javascript-module",
|
3851
|
-
"path": "src/
|
3897
|
+
"path": "src/mixins/counter-animation.ts",
|
3852
3898
|
"declarations": [
|
3853
3899
|
{
|
3854
|
-
"kind": "
|
3855
|
-
"
|
3900
|
+
"kind": "class",
|
3901
|
+
"description": "",
|
3902
|
+
"name": "CounterAnimationMixinInterface",
|
3903
|
+
"members": [
|
3904
|
+
{
|
3905
|
+
"kind": "field",
|
3906
|
+
"name": "animationOptions",
|
3907
|
+
"type": {
|
3908
|
+
"text": "PartDigitValueOrGetter<KeyframeAnimationOptions>"
|
3909
|
+
}
|
3910
|
+
},
|
3911
|
+
{
|
3912
|
+
"kind": "field",
|
3913
|
+
"name": "animationOptionsDynamic",
|
3914
|
+
"type": {
|
3915
|
+
"text": "PartDigitGetter<KeyframeAnimationOptions> | undefined"
|
3916
|
+
}
|
3917
|
+
},
|
3918
|
+
{
|
3919
|
+
"kind": "method",
|
3920
|
+
"name": "extractAnimationOptions",
|
3921
|
+
"return": {
|
3922
|
+
"type": {
|
3923
|
+
"text": "KeyframeAnimationOptions[][]"
|
3924
|
+
}
|
3925
|
+
}
|
3926
|
+
},
|
3927
|
+
{
|
3928
|
+
"kind": "field",
|
3929
|
+
"name": "keyframes",
|
3930
|
+
"type": {
|
3931
|
+
"text": "PartDigitValueOrGetter<PropertyIndexedKeyframes>"
|
3932
|
+
}
|
3933
|
+
},
|
3934
|
+
{
|
3935
|
+
"kind": "field",
|
3936
|
+
"name": "keyframesDynamic",
|
3937
|
+
"type": {
|
3938
|
+
"text": "PartDigitGetter<PropertyIndexedKeyframes> | undefined"
|
3939
|
+
}
|
3940
|
+
},
|
3941
|
+
{
|
3942
|
+
"kind": "method",
|
3943
|
+
"name": "extractKeyframes",
|
3944
|
+
"return": {
|
3945
|
+
"type": {
|
3946
|
+
"text": "PropertyIndexedKeyframes[][]"
|
3947
|
+
}
|
3948
|
+
}
|
3949
|
+
}
|
3950
|
+
]
|
3951
|
+
},
|
3952
|
+
{
|
3953
|
+
"kind": "mixin",
|
3954
|
+
"description": "",
|
3955
|
+
"name": "CounterAnimationMixin",
|
3956
|
+
"members": [
|
3957
|
+
{
|
3958
|
+
"kind": "field",
|
3959
|
+
"name": "animationOptions",
|
3960
|
+
"type": {
|
3961
|
+
"text": "PartDigitValueOrGetter<KeyframeAnimationOptions>"
|
3962
|
+
},
|
3963
|
+
"default": "{}",
|
3964
|
+
"description": "传递给 Web Animations API 的选项.",
|
3965
|
+
"attribute": "animation-options",
|
3966
|
+
"reflects": true
|
3967
|
+
},
|
3968
|
+
{
|
3969
|
+
"kind": "field",
|
3970
|
+
"name": "animationOptionsDynamic",
|
3971
|
+
"type": {
|
3972
|
+
"text": "PartDigitGetter<KeyframeAnimationOptions> | undefined"
|
3973
|
+
}
|
3974
|
+
},
|
3975
|
+
{
|
3976
|
+
"kind": "field",
|
3977
|
+
"name": "cachedAnimationOptions",
|
3978
|
+
"type": {
|
3979
|
+
"text": "(KeyframeAnimationOptions | undefined)[][]"
|
3980
|
+
},
|
3981
|
+
"privacy": "private",
|
3982
|
+
"default": "[]"
|
3983
|
+
},
|
3984
|
+
{
|
3985
|
+
"kind": "method",
|
3986
|
+
"name": "extractAnimationOptions"
|
3987
|
+
},
|
3988
|
+
{
|
3989
|
+
"kind": "field",
|
3990
|
+
"name": "keyframes",
|
3991
|
+
"type": {
|
3992
|
+
"text": "PartDigitValueOrGetter<PropertyIndexedKeyframes>"
|
3993
|
+
},
|
3994
|
+
"default": "{}",
|
3995
|
+
"description": "传递给 Web Animations API 的关键帧配置.",
|
3996
|
+
"attribute": "keyframes",
|
3997
|
+
"reflects": true
|
3998
|
+
},
|
3999
|
+
{
|
4000
|
+
"kind": "field",
|
4001
|
+
"name": "keyframesDynamic",
|
4002
|
+
"type": {
|
4003
|
+
"text": "PartDigitGetter<PropertyIndexedKeyframes> | undefined"
|
4004
|
+
}
|
4005
|
+
},
|
4006
|
+
{
|
4007
|
+
"kind": "field",
|
4008
|
+
"name": "cachedKeyframes",
|
4009
|
+
"type": {
|
4010
|
+
"text": "(PropertyIndexedKeyframes | undefined)[][]"
|
4011
|
+
},
|
4012
|
+
"privacy": "private",
|
4013
|
+
"default": "[]"
|
4014
|
+
},
|
4015
|
+
{
|
4016
|
+
"kind": "method",
|
4017
|
+
"name": "extractKeyframes"
|
4018
|
+
}
|
4019
|
+
],
|
4020
|
+
"attributes": [
|
4021
|
+
{
|
4022
|
+
"name": "animation-options",
|
4023
|
+
"type": {
|
4024
|
+
"text": "PartDigitValueOrGetter<KeyframeAnimationOptions>"
|
4025
|
+
},
|
4026
|
+
"default": "{}",
|
4027
|
+
"description": "传递给 Web Animations API 的选项.",
|
4028
|
+
"fieldName": "animationOptions"
|
4029
|
+
},
|
4030
|
+
{
|
4031
|
+
"name": "keyframes",
|
4032
|
+
"type": {
|
4033
|
+
"text": "PartDigitValueOrGetter<PropertyIndexedKeyframes>"
|
4034
|
+
},
|
4035
|
+
"default": "{}",
|
4036
|
+
"description": "传递给 Web Animations API 的关键帧配置.",
|
4037
|
+
"fieldName": "keyframes"
|
4038
|
+
}
|
4039
|
+
],
|
3856
4040
|
"parameters": [
|
3857
4041
|
{
|
3858
|
-
"name": "
|
4042
|
+
"name": "superClass",
|
3859
4043
|
"type": {
|
3860
|
-
"text": "
|
4044
|
+
"text": "T"
|
3861
4045
|
}
|
3862
4046
|
}
|
3863
4047
|
]
|
@@ -3866,847 +4050,87 @@
|
|
3866
4050
|
"exports": [
|
3867
4051
|
{
|
3868
4052
|
"kind": "js",
|
3869
|
-
"name": "
|
3870
|
-
"declaration": {
|
3871
|
-
"name": "linear",
|
3872
|
-
"module": "src/easing/easing-functions.ts"
|
3873
|
-
}
|
3874
|
-
}
|
3875
|
-
]
|
3876
|
-
},
|
3877
|
-
{
|
3878
|
-
"kind": "javascript-module",
|
3879
|
-
"path": "src/easing/index.ts",
|
3880
|
-
"declarations": [],
|
3881
|
-
"exports": [
|
3882
|
-
{
|
3883
|
-
"kind": "js",
|
3884
|
-
"name": "*",
|
3885
|
-
"declaration": {
|
3886
|
-
"name": "*",
|
3887
|
-
"package": "./easing-functions.js"
|
3888
|
-
}
|
3889
|
-
},
|
3890
|
-
{
|
3891
|
-
"kind": "js",
|
3892
|
-
"name": "*",
|
4053
|
+
"name": "CounterAnimationMixinInterface",
|
3893
4054
|
"declaration": {
|
3894
|
-
"name": "
|
3895
|
-
"
|
4055
|
+
"name": "CounterAnimationMixinInterface",
|
4056
|
+
"module": "src/mixins/counter-animation.ts"
|
3896
4057
|
}
|
3897
4058
|
},
|
3898
4059
|
{
|
3899
4060
|
"kind": "js",
|
3900
|
-
"name": "
|
4061
|
+
"name": "CounterAnimationMixin",
|
3901
4062
|
"declaration": {
|
3902
|
-
"name": "
|
3903
|
-
"
|
4063
|
+
"name": "CounterAnimationMixin",
|
4064
|
+
"module": "src/mixins/counter-animation.ts"
|
3904
4065
|
}
|
3905
4066
|
}
|
3906
4067
|
]
|
3907
4068
|
},
|
3908
4069
|
{
|
3909
4070
|
"kind": "javascript-module",
|
3910
|
-
"path": "src/
|
4071
|
+
"path": "src/mixins/counter-base.ts",
|
3911
4072
|
"declarations": [
|
3912
4073
|
{
|
3913
|
-
"kind": "
|
3914
|
-
"
|
3915
|
-
|
3916
|
-
|
3917
|
-
"kind": "variable",
|
3918
|
-
"name": "easeOutSine"
|
3919
|
-
},
|
3920
|
-
{
|
3921
|
-
"kind": "variable",
|
3922
|
-
"name": "easeInOutSine"
|
3923
|
-
},
|
3924
|
-
{
|
3925
|
-
"kind": "variable",
|
3926
|
-
"name": "easeInQuad"
|
3927
|
-
},
|
3928
|
-
{
|
3929
|
-
"kind": "variable",
|
3930
|
-
"name": "easeOutQuad"
|
3931
|
-
},
|
3932
|
-
{
|
3933
|
-
"kind": "variable",
|
3934
|
-
"name": "easeInOutQuad"
|
3935
|
-
},
|
3936
|
-
{
|
3937
|
-
"kind": "variable",
|
3938
|
-
"name": "easeInCubic"
|
3939
|
-
},
|
3940
|
-
{
|
3941
|
-
"kind": "variable",
|
3942
|
-
"name": "easeOutCubic"
|
3943
|
-
},
|
3944
|
-
{
|
3945
|
-
"kind": "variable",
|
3946
|
-
"name": "easeInOutCubic"
|
3947
|
-
},
|
3948
|
-
{
|
3949
|
-
"kind": "variable",
|
3950
|
-
"name": "easeInQuart"
|
3951
|
-
},
|
3952
|
-
{
|
3953
|
-
"kind": "variable",
|
3954
|
-
"name": "easeOutQuart"
|
3955
|
-
},
|
3956
|
-
{
|
3957
|
-
"kind": "variable",
|
3958
|
-
"name": "easeInOutQuart"
|
3959
|
-
},
|
3960
|
-
{
|
3961
|
-
"kind": "variable",
|
3962
|
-
"name": "easeInQuint"
|
3963
|
-
},
|
3964
|
-
{
|
3965
|
-
"kind": "variable",
|
3966
|
-
"name": "easeOutQuint"
|
3967
|
-
},
|
3968
|
-
{
|
3969
|
-
"kind": "variable",
|
3970
|
-
"name": "easeInOutQuint"
|
3971
|
-
},
|
3972
|
-
{
|
3973
|
-
"kind": "variable",
|
3974
|
-
"name": "easeInExpo"
|
3975
|
-
},
|
3976
|
-
{
|
3977
|
-
"kind": "variable",
|
3978
|
-
"name": "easeOutExpo"
|
3979
|
-
},
|
3980
|
-
{
|
3981
|
-
"kind": "variable",
|
3982
|
-
"name": "easeInOutExpo"
|
3983
|
-
},
|
3984
|
-
{
|
3985
|
-
"kind": "variable",
|
3986
|
-
"name": "easeInCirc"
|
3987
|
-
},
|
3988
|
-
{
|
3989
|
-
"kind": "variable",
|
3990
|
-
"name": "easeOutCirc"
|
3991
|
-
},
|
3992
|
-
{
|
3993
|
-
"kind": "variable",
|
3994
|
-
"name": "easeInOutCirc"
|
3995
|
-
},
|
3996
|
-
{
|
3997
|
-
"kind": "variable",
|
3998
|
-
"name": "easeInBack"
|
3999
|
-
},
|
4000
|
-
{
|
4001
|
-
"kind": "variable",
|
4002
|
-
"name": "easeOutBack"
|
4003
|
-
},
|
4004
|
-
{
|
4005
|
-
"kind": "variable",
|
4006
|
-
"name": "easeInOutBack"
|
4007
|
-
},
|
4008
|
-
{
|
4009
|
-
"kind": "function",
|
4010
|
-
"name": "easeInElastic",
|
4011
|
-
"return": {
|
4012
|
-
"type": {
|
4013
|
-
"text": "number"
|
4014
|
-
}
|
4015
|
-
},
|
4016
|
-
"parameters": [
|
4074
|
+
"kind": "class",
|
4075
|
+
"description": "",
|
4076
|
+
"name": "CounterBaseMixinInterface",
|
4077
|
+
"members": [
|
4017
4078
|
{
|
4018
|
-
"
|
4079
|
+
"kind": "field",
|
4080
|
+
"name": "NUMBER_ADAPTER",
|
4019
4081
|
"type": {
|
4020
|
-
"text": "
|
4082
|
+
"text": "NumberAdapter"
|
4083
|
+
},
|
4084
|
+
"static": true
|
4085
|
+
},
|
4086
|
+
{
|
4087
|
+
"kind": "field",
|
4088
|
+
"name": "STRING_ADAPTER",
|
4089
|
+
"type": {
|
4090
|
+
"text": "StringAdapter"
|
4091
|
+
},
|
4092
|
+
"static": true
|
4093
|
+
},
|
4094
|
+
{
|
4095
|
+
"kind": "field",
|
4096
|
+
"name": "value",
|
4097
|
+
"type": {
|
4098
|
+
"text": "V"
|
4021
4099
|
}
|
4022
|
-
}
|
4023
|
-
]
|
4024
|
-
},
|
4025
|
-
{
|
4026
|
-
"kind": "function",
|
4027
|
-
"name": "easeOutElastic",
|
4028
|
-
"return": {
|
4029
|
-
"type": {
|
4030
|
-
"text": "number"
|
4031
|
-
}
|
4032
|
-
},
|
4033
|
-
"parameters": [
|
4100
|
+
},
|
4034
4101
|
{
|
4035
|
-
"
|
4102
|
+
"kind": "field",
|
4103
|
+
"name": "oldValue",
|
4036
4104
|
"type": {
|
4037
|
-
"text": "
|
4105
|
+
"text": "V"
|
4038
4106
|
}
|
4039
|
-
}
|
4040
|
-
]
|
4041
|
-
},
|
4042
|
-
{
|
4043
|
-
"kind": "function",
|
4044
|
-
"name": "easeInOutElastic",
|
4045
|
-
"return": {
|
4046
|
-
"type": {
|
4047
|
-
"text": "number"
|
4048
|
-
}
|
4049
|
-
},
|
4050
|
-
"parameters": [
|
4107
|
+
},
|
4051
4108
|
{
|
4052
|
-
"
|
4109
|
+
"kind": "field",
|
4110
|
+
"name": "initialValue",
|
4053
4111
|
"type": {
|
4054
|
-
"text": "
|
4112
|
+
"text": "V"
|
4055
4113
|
}
|
4056
|
-
}
|
4057
|
-
]
|
4058
|
-
},
|
4059
|
-
{
|
4060
|
-
"kind": "function",
|
4061
|
-
"name": "easeOutBounce",
|
4062
|
-
"return": {
|
4063
|
-
"type": {
|
4064
|
-
"text": "number"
|
4065
|
-
}
|
4066
|
-
},
|
4067
|
-
"parameters": [
|
4114
|
+
},
|
4068
4115
|
{
|
4069
|
-
"
|
4116
|
+
"kind": "field",
|
4117
|
+
"name": "direction",
|
4070
4118
|
"type": {
|
4071
|
-
"text": "
|
4119
|
+
"text": "'up' | 'down'"
|
4072
4120
|
}
|
4073
|
-
}
|
4074
|
-
]
|
4075
|
-
},
|
4076
|
-
{
|
4077
|
-
"kind": "function",
|
4078
|
-
"name": "easeInBounce",
|
4079
|
-
"return": {
|
4080
|
-
"type": {
|
4081
|
-
"text": "number"
|
4082
|
-
}
|
4083
|
-
},
|
4084
|
-
"parameters": [
|
4121
|
+
},
|
4085
4122
|
{
|
4086
|
-
"
|
4123
|
+
"kind": "field",
|
4124
|
+
"name": "oldDirection",
|
4087
4125
|
"type": {
|
4088
|
-
"text": "
|
4126
|
+
"text": "'up' | 'down'"
|
4089
4127
|
}
|
4090
|
-
}
|
4091
|
-
]
|
4092
|
-
},
|
4093
|
-
{
|
4094
|
-
"kind": "function",
|
4095
|
-
"name": "easeInOutBounce",
|
4096
|
-
"return": {
|
4097
|
-
"type": {
|
4098
|
-
"text": "number"
|
4099
|
-
}
|
4100
|
-
},
|
4101
|
-
"parameters": [
|
4128
|
+
},
|
4102
4129
|
{
|
4103
|
-
"
|
4130
|
+
"kind": "field",
|
4131
|
+
"name": "locale",
|
4104
4132
|
"type": {
|
4105
|
-
"text": "
|
4106
|
-
}
|
4107
|
-
}
|
4108
|
-
]
|
4109
|
-
}
|
4110
|
-
],
|
4111
|
-
"exports": [
|
4112
|
-
{
|
4113
|
-
"kind": "js",
|
4114
|
-
"name": "easeInSine",
|
4115
|
-
"declaration": {
|
4116
|
-
"name": "easeInSine",
|
4117
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4118
|
-
}
|
4119
|
-
},
|
4120
|
-
{
|
4121
|
-
"kind": "js",
|
4122
|
-
"name": "easeOutSine",
|
4123
|
-
"declaration": {
|
4124
|
-
"name": "easeOutSine",
|
4125
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4126
|
-
}
|
4127
|
-
},
|
4128
|
-
{
|
4129
|
-
"kind": "js",
|
4130
|
-
"name": "easeInOutSine",
|
4131
|
-
"declaration": {
|
4132
|
-
"name": "easeInOutSine",
|
4133
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4134
|
-
}
|
4135
|
-
},
|
4136
|
-
{
|
4137
|
-
"kind": "js",
|
4138
|
-
"name": "easeInQuad",
|
4139
|
-
"declaration": {
|
4140
|
-
"name": "easeInQuad",
|
4141
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4142
|
-
}
|
4143
|
-
},
|
4144
|
-
{
|
4145
|
-
"kind": "js",
|
4146
|
-
"name": "easeOutQuad",
|
4147
|
-
"declaration": {
|
4148
|
-
"name": "easeOutQuad",
|
4149
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4150
|
-
}
|
4151
|
-
},
|
4152
|
-
{
|
4153
|
-
"kind": "js",
|
4154
|
-
"name": "easeInOutQuad",
|
4155
|
-
"declaration": {
|
4156
|
-
"name": "easeInOutQuad",
|
4157
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4158
|
-
}
|
4159
|
-
},
|
4160
|
-
{
|
4161
|
-
"kind": "js",
|
4162
|
-
"name": "easeInCubic",
|
4163
|
-
"declaration": {
|
4164
|
-
"name": "easeInCubic",
|
4165
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4166
|
-
}
|
4167
|
-
},
|
4168
|
-
{
|
4169
|
-
"kind": "js",
|
4170
|
-
"name": "easeOutCubic",
|
4171
|
-
"declaration": {
|
4172
|
-
"name": "easeOutCubic",
|
4173
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4174
|
-
}
|
4175
|
-
},
|
4176
|
-
{
|
4177
|
-
"kind": "js",
|
4178
|
-
"name": "easeInOutCubic",
|
4179
|
-
"declaration": {
|
4180
|
-
"name": "easeInOutCubic",
|
4181
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4182
|
-
}
|
4183
|
-
},
|
4184
|
-
{
|
4185
|
-
"kind": "js",
|
4186
|
-
"name": "easeInQuart",
|
4187
|
-
"declaration": {
|
4188
|
-
"name": "easeInQuart",
|
4189
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4190
|
-
}
|
4191
|
-
},
|
4192
|
-
{
|
4193
|
-
"kind": "js",
|
4194
|
-
"name": "easeOutQuart",
|
4195
|
-
"declaration": {
|
4196
|
-
"name": "easeOutQuart",
|
4197
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4198
|
-
}
|
4199
|
-
},
|
4200
|
-
{
|
4201
|
-
"kind": "js",
|
4202
|
-
"name": "easeInOutQuart",
|
4203
|
-
"declaration": {
|
4204
|
-
"name": "easeInOutQuart",
|
4205
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4206
|
-
}
|
4207
|
-
},
|
4208
|
-
{
|
4209
|
-
"kind": "js",
|
4210
|
-
"name": "easeInQuint",
|
4211
|
-
"declaration": {
|
4212
|
-
"name": "easeInQuint",
|
4213
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4214
|
-
}
|
4215
|
-
},
|
4216
|
-
{
|
4217
|
-
"kind": "js",
|
4218
|
-
"name": "easeOutQuint",
|
4219
|
-
"declaration": {
|
4220
|
-
"name": "easeOutQuint",
|
4221
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4222
|
-
}
|
4223
|
-
},
|
4224
|
-
{
|
4225
|
-
"kind": "js",
|
4226
|
-
"name": "easeInOutQuint",
|
4227
|
-
"declaration": {
|
4228
|
-
"name": "easeInOutQuint",
|
4229
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4230
|
-
}
|
4231
|
-
},
|
4232
|
-
{
|
4233
|
-
"kind": "js",
|
4234
|
-
"name": "easeInExpo",
|
4235
|
-
"declaration": {
|
4236
|
-
"name": "easeInExpo",
|
4237
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4238
|
-
}
|
4239
|
-
},
|
4240
|
-
{
|
4241
|
-
"kind": "js",
|
4242
|
-
"name": "easeOutExpo",
|
4243
|
-
"declaration": {
|
4244
|
-
"name": "easeOutExpo",
|
4245
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4246
|
-
}
|
4247
|
-
},
|
4248
|
-
{
|
4249
|
-
"kind": "js",
|
4250
|
-
"name": "easeInOutExpo",
|
4251
|
-
"declaration": {
|
4252
|
-
"name": "easeInOutExpo",
|
4253
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4254
|
-
}
|
4255
|
-
},
|
4256
|
-
{
|
4257
|
-
"kind": "js",
|
4258
|
-
"name": "easeInCirc",
|
4259
|
-
"declaration": {
|
4260
|
-
"name": "easeInCirc",
|
4261
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4262
|
-
}
|
4263
|
-
},
|
4264
|
-
{
|
4265
|
-
"kind": "js",
|
4266
|
-
"name": "easeOutCirc",
|
4267
|
-
"declaration": {
|
4268
|
-
"name": "easeOutCirc",
|
4269
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4270
|
-
}
|
4271
|
-
},
|
4272
|
-
{
|
4273
|
-
"kind": "js",
|
4274
|
-
"name": "easeInOutCirc",
|
4275
|
-
"declaration": {
|
4276
|
-
"name": "easeInOutCirc",
|
4277
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4278
|
-
}
|
4279
|
-
},
|
4280
|
-
{
|
4281
|
-
"kind": "js",
|
4282
|
-
"name": "easeInBack",
|
4283
|
-
"declaration": {
|
4284
|
-
"name": "easeInBack",
|
4285
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4286
|
-
}
|
4287
|
-
},
|
4288
|
-
{
|
4289
|
-
"kind": "js",
|
4290
|
-
"name": "easeOutBack",
|
4291
|
-
"declaration": {
|
4292
|
-
"name": "easeOutBack",
|
4293
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4294
|
-
}
|
4295
|
-
},
|
4296
|
-
{
|
4297
|
-
"kind": "js",
|
4298
|
-
"name": "easeInOutBack",
|
4299
|
-
"declaration": {
|
4300
|
-
"name": "easeInOutBack",
|
4301
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4302
|
-
}
|
4303
|
-
},
|
4304
|
-
{
|
4305
|
-
"kind": "js",
|
4306
|
-
"name": "easeInElastic",
|
4307
|
-
"declaration": {
|
4308
|
-
"name": "easeInElastic",
|
4309
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4310
|
-
}
|
4311
|
-
},
|
4312
|
-
{
|
4313
|
-
"kind": "js",
|
4314
|
-
"name": "easeOutElastic",
|
4315
|
-
"declaration": {
|
4316
|
-
"name": "easeOutElastic",
|
4317
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4318
|
-
}
|
4319
|
-
},
|
4320
|
-
{
|
4321
|
-
"kind": "js",
|
4322
|
-
"name": "easeInOutElastic",
|
4323
|
-
"declaration": {
|
4324
|
-
"name": "easeInOutElastic",
|
4325
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4326
|
-
}
|
4327
|
-
},
|
4328
|
-
{
|
4329
|
-
"kind": "js",
|
4330
|
-
"name": "easeOutBounce",
|
4331
|
-
"declaration": {
|
4332
|
-
"name": "easeOutBounce",
|
4333
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4334
|
-
}
|
4335
|
-
},
|
4336
|
-
{
|
4337
|
-
"kind": "js",
|
4338
|
-
"name": "easeInBounce",
|
4339
|
-
"declaration": {
|
4340
|
-
"name": "easeInBounce",
|
4341
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4342
|
-
}
|
4343
|
-
},
|
4344
|
-
{
|
4345
|
-
"kind": "js",
|
4346
|
-
"name": "easeInOutBounce",
|
4347
|
-
"declaration": {
|
4348
|
-
"name": "easeInOutBounce",
|
4349
|
-
"module": "src/easing/penner-easing-functions.ts"
|
4350
|
-
}
|
4351
|
-
}
|
4352
|
-
]
|
4353
|
-
},
|
4354
|
-
{
|
4355
|
-
"kind": "javascript-module",
|
4356
|
-
"path": "src/mixins/counter-aira.ts",
|
4357
|
-
"declarations": [
|
4358
|
-
{
|
4359
|
-
"kind": "class",
|
4360
|
-
"description": "",
|
4361
|
-
"name": "CounterAiraMixinInterface",
|
4362
|
-
"members": [
|
4363
|
-
{
|
4364
|
-
"kind": "field",
|
4365
|
-
"name": "ariaLabel",
|
4366
|
-
"type": {
|
4367
|
-
"text": "string"
|
4368
|
-
}
|
4369
|
-
},
|
4370
|
-
{
|
4371
|
-
"kind": "field",
|
4372
|
-
"name": "ariaLive",
|
4373
|
-
"type": {
|
4374
|
-
"text": "'off' | 'polite' | 'assertive'"
|
4375
|
-
}
|
4376
|
-
},
|
4377
|
-
{
|
4378
|
-
"kind": "method",
|
4379
|
-
"name": "generateAriaLabel",
|
4380
|
-
"return": {
|
4381
|
-
"type": {
|
4382
|
-
"text": "string"
|
4383
|
-
}
|
4384
|
-
}
|
4385
|
-
}
|
4386
|
-
]
|
4387
|
-
},
|
4388
|
-
{
|
4389
|
-
"kind": "mixin",
|
4390
|
-
"description": "",
|
4391
|
-
"name": "CounterAiraMixin",
|
4392
|
-
"members": [
|
4393
|
-
{
|
4394
|
-
"kind": "field",
|
4395
|
-
"name": "ariaLabel",
|
4396
|
-
"type": {
|
4397
|
-
"text": "string"
|
4398
|
-
},
|
4399
|
-
"default": "''",
|
4400
|
-
"attribute": "aria-label",
|
4401
|
-
"reflects": true
|
4402
|
-
},
|
4403
|
-
{
|
4404
|
-
"kind": "field",
|
4405
|
-
"name": "ariaLive",
|
4406
|
-
"type": {
|
4407
|
-
"text": "'off' | 'polite' | 'assertive'"
|
4408
|
-
},
|
4409
|
-
"default": "'polite'",
|
4410
|
-
"attribute": "aira-live",
|
4411
|
-
"reflects": true
|
4412
|
-
},
|
4413
|
-
{
|
4414
|
-
"kind": "method",
|
4415
|
-
"name": "generateAriaLabel",
|
4416
|
-
"return": {
|
4417
|
-
"type": {
|
4418
|
-
"text": "string"
|
4419
|
-
}
|
4420
|
-
},
|
4421
|
-
"description": "生成 aria-label 属性值. 在每次更新完成后调用."
|
4422
|
-
}
|
4423
|
-
],
|
4424
|
-
"attributes": [
|
4425
|
-
{
|
4426
|
-
"name": "aria-label",
|
4427
|
-
"type": {
|
4428
|
-
"text": "string"
|
4429
|
-
},
|
4430
|
-
"default": "''",
|
4431
|
-
"fieldName": "ariaLabel"
|
4432
|
-
},
|
4433
|
-
{
|
4434
|
-
"name": "aira-live",
|
4435
|
-
"type": {
|
4436
|
-
"text": "'off' | 'polite' | 'assertive'"
|
4437
|
-
},
|
4438
|
-
"default": "'polite'",
|
4439
|
-
"fieldName": "ariaLive"
|
4440
|
-
}
|
4441
|
-
],
|
4442
|
-
"parameters": [
|
4443
|
-
{
|
4444
|
-
"name": "superClass",
|
4445
|
-
"type": {
|
4446
|
-
"text": "T"
|
4447
|
-
}
|
4448
|
-
}
|
4449
|
-
]
|
4450
|
-
}
|
4451
|
-
],
|
4452
|
-
"exports": [
|
4453
|
-
{
|
4454
|
-
"kind": "js",
|
4455
|
-
"name": "CounterAiraMixinInterface",
|
4456
|
-
"declaration": {
|
4457
|
-
"name": "CounterAiraMixinInterface",
|
4458
|
-
"module": "src/mixins/counter-aira.ts"
|
4459
|
-
}
|
4460
|
-
},
|
4461
|
-
{
|
4462
|
-
"kind": "js",
|
4463
|
-
"name": "CounterAiraMixin",
|
4464
|
-
"declaration": {
|
4465
|
-
"name": "CounterAiraMixin",
|
4466
|
-
"module": "src/mixins/counter-aira.ts"
|
4467
|
-
}
|
4468
|
-
}
|
4469
|
-
]
|
4470
|
-
},
|
4471
|
-
{
|
4472
|
-
"kind": "javascript-module",
|
4473
|
-
"path": "src/mixins/counter-animation.ts",
|
4474
|
-
"declarations": [
|
4475
|
-
{
|
4476
|
-
"kind": "class",
|
4477
|
-
"description": "",
|
4478
|
-
"name": "CounterAnimationMixinInterface",
|
4479
|
-
"members": [
|
4480
|
-
{
|
4481
|
-
"kind": "field",
|
4482
|
-
"name": "animationOptions",
|
4483
|
-
"type": {
|
4484
|
-
"text": "PartDigitValueOrGetter<KeyframeAnimationOptions>"
|
4485
|
-
}
|
4486
|
-
},
|
4487
|
-
{
|
4488
|
-
"kind": "field",
|
4489
|
-
"name": "animationOptionsDynamic",
|
4490
|
-
"type": {
|
4491
|
-
"text": "PartDigitGetter<KeyframeAnimationOptions> | undefined"
|
4492
|
-
}
|
4493
|
-
},
|
4494
|
-
{
|
4495
|
-
"kind": "method",
|
4496
|
-
"name": "extractAnimationOptions",
|
4497
|
-
"return": {
|
4498
|
-
"type": {
|
4499
|
-
"text": "KeyframeAnimationOptions[][]"
|
4500
|
-
}
|
4501
|
-
}
|
4502
|
-
},
|
4503
|
-
{
|
4504
|
-
"kind": "field",
|
4505
|
-
"name": "keyframes",
|
4506
|
-
"type": {
|
4507
|
-
"text": "PartDigitValueOrGetter<PropertyIndexedKeyframes>"
|
4508
|
-
}
|
4509
|
-
},
|
4510
|
-
{
|
4511
|
-
"kind": "field",
|
4512
|
-
"name": "keyframesDynamic",
|
4513
|
-
"type": {
|
4514
|
-
"text": "PartDigitGetter<PropertyIndexedKeyframes> | undefined"
|
4515
|
-
}
|
4516
|
-
},
|
4517
|
-
{
|
4518
|
-
"kind": "method",
|
4519
|
-
"name": "extractKeyframes",
|
4520
|
-
"return": {
|
4521
|
-
"type": {
|
4522
|
-
"text": "PropertyIndexedKeyframes[][]"
|
4523
|
-
}
|
4524
|
-
}
|
4525
|
-
}
|
4526
|
-
]
|
4527
|
-
},
|
4528
|
-
{
|
4529
|
-
"kind": "mixin",
|
4530
|
-
"description": "",
|
4531
|
-
"name": "CounterAnimationMixin",
|
4532
|
-
"members": [
|
4533
|
-
{
|
4534
|
-
"kind": "field",
|
4535
|
-
"name": "animationOptions",
|
4536
|
-
"type": {
|
4537
|
-
"text": "PartDigitValueOrGetter<KeyframeAnimationOptions>"
|
4538
|
-
},
|
4539
|
-
"default": "{}",
|
4540
|
-
"description": "传递给 Web Animations API 的选项.",
|
4541
|
-
"attribute": "animation-options",
|
4542
|
-
"reflects": true
|
4543
|
-
},
|
4544
|
-
{
|
4545
|
-
"kind": "field",
|
4546
|
-
"name": "animationOptionsDynamic",
|
4547
|
-
"type": {
|
4548
|
-
"text": "PartDigitGetter<KeyframeAnimationOptions> | undefined"
|
4549
|
-
}
|
4550
|
-
},
|
4551
|
-
{
|
4552
|
-
"kind": "field",
|
4553
|
-
"name": "cachedAnimationOptions",
|
4554
|
-
"type": {
|
4555
|
-
"text": "(KeyframeAnimationOptions | undefined)[][]"
|
4556
|
-
},
|
4557
|
-
"privacy": "private",
|
4558
|
-
"default": "[]"
|
4559
|
-
},
|
4560
|
-
{
|
4561
|
-
"kind": "method",
|
4562
|
-
"name": "extractAnimationOptions"
|
4563
|
-
},
|
4564
|
-
{
|
4565
|
-
"kind": "field",
|
4566
|
-
"name": "keyframes",
|
4567
|
-
"type": {
|
4568
|
-
"text": "PartDigitValueOrGetter<PropertyIndexedKeyframes>"
|
4569
|
-
},
|
4570
|
-
"default": "{}",
|
4571
|
-
"description": "传递给 Web Animations API 的关键帧配置.",
|
4572
|
-
"attribute": "keyframes",
|
4573
|
-
"reflects": true
|
4574
|
-
},
|
4575
|
-
{
|
4576
|
-
"kind": "field",
|
4577
|
-
"name": "keyframesDynamic",
|
4578
|
-
"type": {
|
4579
|
-
"text": "PartDigitGetter<PropertyIndexedKeyframes> | undefined"
|
4580
|
-
}
|
4581
|
-
},
|
4582
|
-
{
|
4583
|
-
"kind": "field",
|
4584
|
-
"name": "cachedKeyframes",
|
4585
|
-
"type": {
|
4586
|
-
"text": "(PropertyIndexedKeyframes | undefined)[][]"
|
4587
|
-
},
|
4588
|
-
"privacy": "private",
|
4589
|
-
"default": "[]"
|
4590
|
-
},
|
4591
|
-
{
|
4592
|
-
"kind": "method",
|
4593
|
-
"name": "extractKeyframes"
|
4594
|
-
}
|
4595
|
-
],
|
4596
|
-
"attributes": [
|
4597
|
-
{
|
4598
|
-
"name": "animation-options",
|
4599
|
-
"type": {
|
4600
|
-
"text": "PartDigitValueOrGetter<KeyframeAnimationOptions>"
|
4601
|
-
},
|
4602
|
-
"default": "{}",
|
4603
|
-
"description": "传递给 Web Animations API 的选项.",
|
4604
|
-
"fieldName": "animationOptions"
|
4605
|
-
},
|
4606
|
-
{
|
4607
|
-
"name": "keyframes",
|
4608
|
-
"type": {
|
4609
|
-
"text": "PartDigitValueOrGetter<PropertyIndexedKeyframes>"
|
4610
|
-
},
|
4611
|
-
"default": "{}",
|
4612
|
-
"description": "传递给 Web Animations API 的关键帧配置.",
|
4613
|
-
"fieldName": "keyframes"
|
4614
|
-
}
|
4615
|
-
],
|
4616
|
-
"parameters": [
|
4617
|
-
{
|
4618
|
-
"name": "superClass",
|
4619
|
-
"type": {
|
4620
|
-
"text": "T"
|
4621
|
-
}
|
4622
|
-
}
|
4623
|
-
]
|
4624
|
-
}
|
4625
|
-
],
|
4626
|
-
"exports": [
|
4627
|
-
{
|
4628
|
-
"kind": "js",
|
4629
|
-
"name": "CounterAnimationMixinInterface",
|
4630
|
-
"declaration": {
|
4631
|
-
"name": "CounterAnimationMixinInterface",
|
4632
|
-
"module": "src/mixins/counter-animation.ts"
|
4633
|
-
}
|
4634
|
-
},
|
4635
|
-
{
|
4636
|
-
"kind": "js",
|
4637
|
-
"name": "CounterAnimationMixin",
|
4638
|
-
"declaration": {
|
4639
|
-
"name": "CounterAnimationMixin",
|
4640
|
-
"module": "src/mixins/counter-animation.ts"
|
4641
|
-
}
|
4642
|
-
}
|
4643
|
-
]
|
4644
|
-
},
|
4645
|
-
{
|
4646
|
-
"kind": "javascript-module",
|
4647
|
-
"path": "src/mixins/counter-base.ts",
|
4648
|
-
"declarations": [
|
4649
|
-
{
|
4650
|
-
"kind": "class",
|
4651
|
-
"description": "",
|
4652
|
-
"name": "CounterBaseMixinInterface",
|
4653
|
-
"members": [
|
4654
|
-
{
|
4655
|
-
"kind": "field",
|
4656
|
-
"name": "NUMBER_ADAPTER",
|
4657
|
-
"type": {
|
4658
|
-
"text": "NumberAdapter"
|
4659
|
-
},
|
4660
|
-
"static": true
|
4661
|
-
},
|
4662
|
-
{
|
4663
|
-
"kind": "field",
|
4664
|
-
"name": "STRING_ADAPTER",
|
4665
|
-
"type": {
|
4666
|
-
"text": "StringAdapter"
|
4667
|
-
},
|
4668
|
-
"static": true
|
4669
|
-
},
|
4670
|
-
{
|
4671
|
-
"kind": "field",
|
4672
|
-
"name": "value",
|
4673
|
-
"type": {
|
4674
|
-
"text": "V"
|
4675
|
-
}
|
4676
|
-
},
|
4677
|
-
{
|
4678
|
-
"kind": "field",
|
4679
|
-
"name": "oldValue",
|
4680
|
-
"type": {
|
4681
|
-
"text": "V"
|
4682
|
-
}
|
4683
|
-
},
|
4684
|
-
{
|
4685
|
-
"kind": "field",
|
4686
|
-
"name": "initialValue",
|
4687
|
-
"type": {
|
4688
|
-
"text": "V"
|
4689
|
-
}
|
4690
|
-
},
|
4691
|
-
{
|
4692
|
-
"kind": "field",
|
4693
|
-
"name": "direction",
|
4694
|
-
"type": {
|
4695
|
-
"text": "'up' | 'down'"
|
4696
|
-
}
|
4697
|
-
},
|
4698
|
-
{
|
4699
|
-
"kind": "field",
|
4700
|
-
"name": "oldDirection",
|
4701
|
-
"type": {
|
4702
|
-
"text": "'up' | 'down'"
|
4703
|
-
}
|
4704
|
-
},
|
4705
|
-
{
|
4706
|
-
"kind": "field",
|
4707
|
-
"name": "locale",
|
4708
|
-
"type": {
|
4709
|
-
"text": "| Intl.UnicodeBCP47LocaleIdentifier\n | [Intl.UnicodeBCP47LocaleIdentifier, Intl.LocaleOptions]"
|
4133
|
+
"text": "| Intl.UnicodeBCP47LocaleIdentifier\n | [Intl.UnicodeBCP47LocaleIdentifier, Intl.LocaleOptions]"
|
4710
4134
|
}
|
4711
4135
|
},
|
4712
4136
|
{
|
@@ -5230,142 +4654,494 @@
|
|
5230
4654
|
"reflects": true
|
5231
4655
|
},
|
5232
4656
|
{
|
5233
|
-
"kind": "field",
|
5234
|
-
"name": "cellStylesDynamic",
|
4657
|
+
"kind": "field",
|
4658
|
+
"name": "cellStylesDynamic",
|
4659
|
+
"type": {
|
4660
|
+
"text": "PartDigitCellGetter<Partial<CSSStyleDeclaration>> | undefined"
|
4661
|
+
}
|
4662
|
+
},
|
4663
|
+
{
|
4664
|
+
"kind": "field",
|
4665
|
+
"name": "cachedCellStyles",
|
4666
|
+
"type": {
|
4667
|
+
"text": "Partial<CSSStyleDeclaration | undefined>[][][]"
|
4668
|
+
},
|
4669
|
+
"privacy": "private",
|
4670
|
+
"default": "[]"
|
4671
|
+
},
|
4672
|
+
{
|
4673
|
+
"kind": "method",
|
4674
|
+
"name": "extractCellStyles"
|
4675
|
+
},
|
4676
|
+
{
|
4677
|
+
"kind": "field",
|
4678
|
+
"name": "digitStyles",
|
4679
|
+
"type": {
|
4680
|
+
"text": "PartDigitValueOrGetter<Partial<CSSStyleDeclaration>>"
|
4681
|
+
},
|
4682
|
+
"default": "{}",
|
4683
|
+
"description": "与 `cell` 类似, 但是是对 `digit` 部分的样式进行设置.\n你还可以使用 `digitStylesDynamic` 来动态设置样式.",
|
4684
|
+
"attribute": "digit-styles",
|
4685
|
+
"reflects": true
|
4686
|
+
},
|
4687
|
+
{
|
4688
|
+
"kind": "field",
|
4689
|
+
"name": "digitStylesDynamic",
|
4690
|
+
"type": {
|
4691
|
+
"text": "PartDigitGetter<Partial<CSSStyleDeclaration>> | undefined"
|
4692
|
+
}
|
4693
|
+
},
|
4694
|
+
{
|
4695
|
+
"kind": "field",
|
4696
|
+
"name": "cachedDigitStyles",
|
4697
|
+
"type": {
|
4698
|
+
"text": "Partial<CSSStyleDeclaration | undefined>[][]"
|
4699
|
+
},
|
4700
|
+
"privacy": "private",
|
4701
|
+
"default": "[]"
|
4702
|
+
},
|
4703
|
+
{
|
4704
|
+
"kind": "method",
|
4705
|
+
"name": "extractDigitStyles"
|
4706
|
+
},
|
4707
|
+
{
|
4708
|
+
"kind": "field",
|
4709
|
+
"name": "partStyles",
|
4710
|
+
"type": {
|
4711
|
+
"text": "PartValueOrGetter<Partial<CSSStyleDeclaration>>"
|
4712
|
+
},
|
4713
|
+
"default": "{}",
|
4714
|
+
"description": "与 `cell` 类似, 但是是对 `part` 部分的样式进行设置.\n你还可以使用 `partStylesDynamic` 来动态设置样式.",
|
4715
|
+
"attribute": "part-styles",
|
4716
|
+
"reflects": true
|
4717
|
+
},
|
4718
|
+
{
|
4719
|
+
"kind": "field",
|
4720
|
+
"name": "partStylesDynamic",
|
4721
|
+
"type": {
|
4722
|
+
"text": "PartGetter<Partial<CSSStyleDeclaration>> | undefined"
|
4723
|
+
}
|
4724
|
+
},
|
4725
|
+
{
|
4726
|
+
"kind": "field",
|
4727
|
+
"name": "cachedPartStyles",
|
4728
|
+
"type": {
|
4729
|
+
"text": "Partial<CSSStyleDeclaration | undefined>[]"
|
4730
|
+
},
|
4731
|
+
"privacy": "private",
|
4732
|
+
"default": "[]"
|
4733
|
+
},
|
4734
|
+
{
|
4735
|
+
"kind": "method",
|
4736
|
+
"name": "extractPartStyles"
|
4737
|
+
},
|
4738
|
+
{
|
4739
|
+
"kind": "field",
|
4740
|
+
"name": "color",
|
4741
|
+
"type": {
|
4742
|
+
"text": "string"
|
4743
|
+
},
|
4744
|
+
"default": "'inherit'",
|
4745
|
+
"description": "文本颜色, 可使用 CSS 属性 `color` 和 `background-image` 的值.",
|
4746
|
+
"attribute": "color",
|
4747
|
+
"reflects": true
|
4748
|
+
}
|
4749
|
+
],
|
4750
|
+
"attributes": [
|
4751
|
+
{
|
4752
|
+
"name": "cell-styles",
|
4753
|
+
"type": {
|
4754
|
+
"text": "PartDigitCellValueOrGetter<Partial<CSSStyleDeclaration>>"
|
4755
|
+
},
|
4756
|
+
"default": "{}",
|
4757
|
+
"description": "对 `cell` 部分的样式进行设置. 传入的对象将被直接应用到 `cell` 的 `style` 上.\n你还可以使用 `cellStylesDynamic` 来动态设置样式.",
|
4758
|
+
"fieldName": "cellStyles"
|
4759
|
+
},
|
4760
|
+
{
|
4761
|
+
"name": "digit-styles",
|
4762
|
+
"type": {
|
4763
|
+
"text": "PartDigitValueOrGetter<Partial<CSSStyleDeclaration>>"
|
4764
|
+
},
|
4765
|
+
"default": "{}",
|
4766
|
+
"description": "与 `cell` 类似, 但是是对 `digit` 部分的样式进行设置.\n你还可以使用 `digitStylesDynamic` 来动态设置样式.",
|
4767
|
+
"fieldName": "digitStyles"
|
4768
|
+
},
|
4769
|
+
{
|
4770
|
+
"name": "part-styles",
|
4771
|
+
"type": {
|
4772
|
+
"text": "PartValueOrGetter<Partial<CSSStyleDeclaration>>"
|
4773
|
+
},
|
4774
|
+
"default": "{}",
|
4775
|
+
"description": "与 `cell` 类似, 但是是对 `part` 部分的样式进行设置.\n你还可以使用 `partStylesDynamic` 来动态设置样式.",
|
4776
|
+
"fieldName": "partStyles"
|
4777
|
+
},
|
4778
|
+
{
|
4779
|
+
"name": "color",
|
4780
|
+
"type": {
|
4781
|
+
"text": "string"
|
4782
|
+
},
|
4783
|
+
"default": "'inherit'",
|
4784
|
+
"description": "文本颜色, 可使用 CSS 属性 `color` 和 `background-image` 的值.",
|
4785
|
+
"fieldName": "color"
|
4786
|
+
}
|
4787
|
+
],
|
4788
|
+
"parameters": [
|
4789
|
+
{
|
4790
|
+
"name": "superClass",
|
4791
|
+
"type": {
|
4792
|
+
"text": "T"
|
4793
|
+
}
|
4794
|
+
}
|
4795
|
+
]
|
4796
|
+
}
|
4797
|
+
],
|
4798
|
+
"exports": [
|
4799
|
+
{
|
4800
|
+
"kind": "js",
|
4801
|
+
"name": "CounterStylesMixinInterface",
|
4802
|
+
"declaration": {
|
4803
|
+
"name": "CounterStylesMixinInterface",
|
4804
|
+
"module": "src/mixins/counter-styles.ts"
|
4805
|
+
}
|
4806
|
+
},
|
4807
|
+
{
|
4808
|
+
"kind": "js",
|
4809
|
+
"name": "CounterStylesMixin",
|
4810
|
+
"declaration": {
|
4811
|
+
"name": "CounterStylesMixin",
|
4812
|
+
"module": "src/mixins/counter-styles.ts"
|
4813
|
+
}
|
4814
|
+
}
|
4815
|
+
]
|
4816
|
+
},
|
4817
|
+
{
|
4818
|
+
"kind": "javascript-module",
|
4819
|
+
"path": "src/easing/cubic-bezier.ts",
|
4820
|
+
"declarations": [
|
4821
|
+
{
|
4822
|
+
"kind": "function",
|
4823
|
+
"name": "noop",
|
4824
|
+
"return": {
|
4825
|
+
"type": {
|
4826
|
+
"text": "T"
|
4827
|
+
}
|
4828
|
+
},
|
4829
|
+
"parameters": [
|
4830
|
+
{
|
4831
|
+
"name": "any",
|
5235
4832
|
"type": {
|
5236
|
-
"text": "
|
4833
|
+
"text": "T"
|
5237
4834
|
}
|
5238
|
-
}
|
4835
|
+
}
|
4836
|
+
]
|
4837
|
+
},
|
4838
|
+
{
|
4839
|
+
"kind": "function",
|
4840
|
+
"name": "cubicBezier",
|
4841
|
+
"parameters": [
|
5239
4842
|
{
|
5240
|
-
"
|
5241
|
-
"name": "cachedCellStyles",
|
4843
|
+
"name": "mX1",
|
5242
4844
|
"type": {
|
5243
|
-
"text": "
|
5244
|
-
}
|
5245
|
-
"privacy": "private",
|
5246
|
-
"default": "[]"
|
5247
|
-
},
|
5248
|
-
{
|
5249
|
-
"kind": "method",
|
5250
|
-
"name": "extractCellStyles"
|
4845
|
+
"text": "number"
|
4846
|
+
}
|
5251
4847
|
},
|
5252
4848
|
{
|
5253
|
-
"
|
5254
|
-
"name": "digitStyles",
|
4849
|
+
"name": "mY1",
|
5255
4850
|
"type": {
|
5256
|
-
"text": "
|
5257
|
-
}
|
5258
|
-
"default": "{}",
|
5259
|
-
"description": "与 `cell` 类似, 但是是对 `digit` 部分的样式进行设置.\n你还可以使用 `digitStylesDynamic` 来动态设置样式.",
|
5260
|
-
"attribute": "digit-styles",
|
5261
|
-
"reflects": true
|
4851
|
+
"text": "number"
|
4852
|
+
}
|
5262
4853
|
},
|
5263
4854
|
{
|
5264
|
-
"
|
5265
|
-
"name": "digitStylesDynamic",
|
4855
|
+
"name": "mX2",
|
5266
4856
|
"type": {
|
5267
|
-
"text": "
|
4857
|
+
"text": "number"
|
5268
4858
|
}
|
5269
4859
|
},
|
5270
4860
|
{
|
5271
|
-
"
|
5272
|
-
"name": "cachedDigitStyles",
|
4861
|
+
"name": "mY2",
|
5273
4862
|
"type": {
|
5274
|
-
"text": "
|
5275
|
-
}
|
5276
|
-
|
5277
|
-
|
5278
|
-
|
5279
|
-
|
5280
|
-
|
5281
|
-
|
5282
|
-
|
4863
|
+
"text": "number"
|
4864
|
+
}
|
4865
|
+
}
|
4866
|
+
]
|
4867
|
+
}
|
4868
|
+
],
|
4869
|
+
"exports": [
|
4870
|
+
{
|
4871
|
+
"kind": "js",
|
4872
|
+
"name": "noop",
|
4873
|
+
"declaration": {
|
4874
|
+
"name": "noop",
|
4875
|
+
"module": "src/easing/cubic-bezier.ts"
|
4876
|
+
}
|
4877
|
+
},
|
4878
|
+
{
|
4879
|
+
"kind": "js",
|
4880
|
+
"name": "cubicBezier",
|
4881
|
+
"declaration": {
|
4882
|
+
"name": "cubicBezier",
|
4883
|
+
"module": "src/easing/cubic-bezier.ts"
|
4884
|
+
}
|
4885
|
+
}
|
4886
|
+
]
|
4887
|
+
},
|
4888
|
+
{
|
4889
|
+
"kind": "javascript-module",
|
4890
|
+
"path": "src/easing/easing-functions.ts",
|
4891
|
+
"declarations": [
|
4892
|
+
{
|
4893
|
+
"kind": "function",
|
4894
|
+
"name": "linear",
|
4895
|
+
"parameters": [
|
5283
4896
|
{
|
5284
|
-
"
|
5285
|
-
"name": "partStyles",
|
4897
|
+
"name": "x",
|
5286
4898
|
"type": {
|
5287
|
-
"text": "
|
5288
|
-
}
|
5289
|
-
|
5290
|
-
|
5291
|
-
|
5292
|
-
|
5293
|
-
|
4899
|
+
"text": "number"
|
4900
|
+
}
|
4901
|
+
}
|
4902
|
+
]
|
4903
|
+
}
|
4904
|
+
],
|
4905
|
+
"exports": [
|
4906
|
+
{
|
4907
|
+
"kind": "js",
|
4908
|
+
"name": "linear",
|
4909
|
+
"declaration": {
|
4910
|
+
"name": "linear",
|
4911
|
+
"module": "src/easing/easing-functions.ts"
|
4912
|
+
}
|
4913
|
+
}
|
4914
|
+
]
|
4915
|
+
},
|
4916
|
+
{
|
4917
|
+
"kind": "javascript-module",
|
4918
|
+
"path": "src/easing/index.ts",
|
4919
|
+
"declarations": [],
|
4920
|
+
"exports": [
|
4921
|
+
{
|
4922
|
+
"kind": "js",
|
4923
|
+
"name": "*",
|
4924
|
+
"declaration": {
|
4925
|
+
"name": "*",
|
4926
|
+
"package": "./easing-functions.js"
|
4927
|
+
}
|
4928
|
+
},
|
4929
|
+
{
|
4930
|
+
"kind": "js",
|
4931
|
+
"name": "*",
|
4932
|
+
"declaration": {
|
4933
|
+
"name": "*",
|
4934
|
+
"package": "./cubic-bezier.js"
|
4935
|
+
}
|
4936
|
+
},
|
4937
|
+
{
|
4938
|
+
"kind": "js",
|
4939
|
+
"name": "*",
|
4940
|
+
"declaration": {
|
4941
|
+
"name": "*",
|
4942
|
+
"package": "./penner-easing-functions.js"
|
4943
|
+
}
|
4944
|
+
}
|
4945
|
+
]
|
4946
|
+
},
|
4947
|
+
{
|
4948
|
+
"kind": "javascript-module",
|
4949
|
+
"path": "src/easing/penner-easing-functions.ts",
|
4950
|
+
"declarations": [
|
4951
|
+
{
|
4952
|
+
"kind": "variable",
|
4953
|
+
"name": "easeInSine"
|
4954
|
+
},
|
4955
|
+
{
|
4956
|
+
"kind": "variable",
|
4957
|
+
"name": "easeOutSine"
|
4958
|
+
},
|
4959
|
+
{
|
4960
|
+
"kind": "variable",
|
4961
|
+
"name": "easeInOutSine"
|
4962
|
+
},
|
4963
|
+
{
|
4964
|
+
"kind": "variable",
|
4965
|
+
"name": "easeInQuad"
|
4966
|
+
},
|
4967
|
+
{
|
4968
|
+
"kind": "variable",
|
4969
|
+
"name": "easeOutQuad"
|
4970
|
+
},
|
4971
|
+
{
|
4972
|
+
"kind": "variable",
|
4973
|
+
"name": "easeInOutQuad"
|
4974
|
+
},
|
4975
|
+
{
|
4976
|
+
"kind": "variable",
|
4977
|
+
"name": "easeInCubic"
|
4978
|
+
},
|
4979
|
+
{
|
4980
|
+
"kind": "variable",
|
4981
|
+
"name": "easeOutCubic"
|
4982
|
+
},
|
4983
|
+
{
|
4984
|
+
"kind": "variable",
|
4985
|
+
"name": "easeInOutCubic"
|
4986
|
+
},
|
4987
|
+
{
|
4988
|
+
"kind": "variable",
|
4989
|
+
"name": "easeInQuart"
|
4990
|
+
},
|
4991
|
+
{
|
4992
|
+
"kind": "variable",
|
4993
|
+
"name": "easeOutQuart"
|
4994
|
+
},
|
4995
|
+
{
|
4996
|
+
"kind": "variable",
|
4997
|
+
"name": "easeInOutQuart"
|
4998
|
+
},
|
4999
|
+
{
|
5000
|
+
"kind": "variable",
|
5001
|
+
"name": "easeInQuint"
|
5002
|
+
},
|
5003
|
+
{
|
5004
|
+
"kind": "variable",
|
5005
|
+
"name": "easeOutQuint"
|
5006
|
+
},
|
5007
|
+
{
|
5008
|
+
"kind": "variable",
|
5009
|
+
"name": "easeInOutQuint"
|
5010
|
+
},
|
5011
|
+
{
|
5012
|
+
"kind": "variable",
|
5013
|
+
"name": "easeInExpo"
|
5014
|
+
},
|
5015
|
+
{
|
5016
|
+
"kind": "variable",
|
5017
|
+
"name": "easeOutExpo"
|
5018
|
+
},
|
5019
|
+
{
|
5020
|
+
"kind": "variable",
|
5021
|
+
"name": "easeInOutExpo"
|
5022
|
+
},
|
5023
|
+
{
|
5024
|
+
"kind": "variable",
|
5025
|
+
"name": "easeInCirc"
|
5026
|
+
},
|
5027
|
+
{
|
5028
|
+
"kind": "variable",
|
5029
|
+
"name": "easeOutCirc"
|
5030
|
+
},
|
5031
|
+
{
|
5032
|
+
"kind": "variable",
|
5033
|
+
"name": "easeInOutCirc"
|
5034
|
+
},
|
5035
|
+
{
|
5036
|
+
"kind": "variable",
|
5037
|
+
"name": "easeInBack"
|
5038
|
+
},
|
5039
|
+
{
|
5040
|
+
"kind": "variable",
|
5041
|
+
"name": "easeOutBack"
|
5042
|
+
},
|
5043
|
+
{
|
5044
|
+
"kind": "variable",
|
5045
|
+
"name": "easeInOutBack"
|
5046
|
+
},
|
5047
|
+
{
|
5048
|
+
"kind": "function",
|
5049
|
+
"name": "easeInElastic",
|
5050
|
+
"return": {
|
5051
|
+
"type": {
|
5052
|
+
"text": "number"
|
5053
|
+
}
|
5054
|
+
},
|
5055
|
+
"parameters": [
|
5294
5056
|
{
|
5295
|
-
"
|
5296
|
-
"name": "partStylesDynamic",
|
5057
|
+
"name": "x",
|
5297
5058
|
"type": {
|
5298
|
-
"text": "
|
5059
|
+
"text": "number"
|
5299
5060
|
}
|
5300
|
-
},
|
5301
|
-
{
|
5302
|
-
"kind": "field",
|
5303
|
-
"name": "cachedPartStyles",
|
5304
|
-
"type": {
|
5305
|
-
"text": "Partial<CSSStyleDeclaration | undefined>[]"
|
5306
|
-
},
|
5307
|
-
"privacy": "private",
|
5308
|
-
"default": "[]"
|
5309
|
-
},
|
5310
|
-
{
|
5311
|
-
"kind": "method",
|
5312
|
-
"name": "extractPartStyles"
|
5313
|
-
},
|
5314
|
-
{
|
5315
|
-
"kind": "field",
|
5316
|
-
"name": "color",
|
5317
|
-
"type": {
|
5318
|
-
"text": "string"
|
5319
|
-
},
|
5320
|
-
"default": "'inherit'",
|
5321
|
-
"description": "文本颜色, 可使用 CSS 属性 `color` 和 `background-image` 的值.",
|
5322
|
-
"attribute": "color",
|
5323
|
-
"reflects": true
|
5324
5061
|
}
|
5325
|
-
]
|
5326
|
-
|
5062
|
+
]
|
5063
|
+
},
|
5064
|
+
{
|
5065
|
+
"kind": "function",
|
5066
|
+
"name": "easeOutElastic",
|
5067
|
+
"return": {
|
5068
|
+
"type": {
|
5069
|
+
"text": "number"
|
5070
|
+
}
|
5071
|
+
},
|
5072
|
+
"parameters": [
|
5327
5073
|
{
|
5328
|
-
"name": "
|
5074
|
+
"name": "x",
|
5329
5075
|
"type": {
|
5330
|
-
"text": "
|
5331
|
-
}
|
5332
|
-
|
5333
|
-
|
5334
|
-
|
5335
|
-
|
5076
|
+
"text": "number"
|
5077
|
+
}
|
5078
|
+
}
|
5079
|
+
]
|
5080
|
+
},
|
5081
|
+
{
|
5082
|
+
"kind": "function",
|
5083
|
+
"name": "easeInOutElastic",
|
5084
|
+
"return": {
|
5085
|
+
"type": {
|
5086
|
+
"text": "number"
|
5087
|
+
}
|
5088
|
+
},
|
5089
|
+
"parameters": [
|
5336
5090
|
{
|
5337
|
-
"name": "
|
5091
|
+
"name": "x",
|
5338
5092
|
"type": {
|
5339
|
-
"text": "
|
5340
|
-
}
|
5341
|
-
|
5342
|
-
|
5343
|
-
|
5344
|
-
|
5093
|
+
"text": "number"
|
5094
|
+
}
|
5095
|
+
}
|
5096
|
+
]
|
5097
|
+
},
|
5098
|
+
{
|
5099
|
+
"kind": "function",
|
5100
|
+
"name": "easeOutBounce",
|
5101
|
+
"return": {
|
5102
|
+
"type": {
|
5103
|
+
"text": "number"
|
5104
|
+
}
|
5105
|
+
},
|
5106
|
+
"parameters": [
|
5345
5107
|
{
|
5346
|
-
"name": "
|
5108
|
+
"name": "x",
|
5347
5109
|
"type": {
|
5348
|
-
"text": "
|
5349
|
-
}
|
5350
|
-
|
5351
|
-
|
5352
|
-
|
5353
|
-
|
5110
|
+
"text": "number"
|
5111
|
+
}
|
5112
|
+
}
|
5113
|
+
]
|
5114
|
+
},
|
5115
|
+
{
|
5116
|
+
"kind": "function",
|
5117
|
+
"name": "easeInBounce",
|
5118
|
+
"return": {
|
5119
|
+
"type": {
|
5120
|
+
"text": "number"
|
5121
|
+
}
|
5122
|
+
},
|
5123
|
+
"parameters": [
|
5354
5124
|
{
|
5355
|
-
"name": "
|
5125
|
+
"name": "x",
|
5356
5126
|
"type": {
|
5357
|
-
"text": "
|
5358
|
-
}
|
5359
|
-
"default": "'inherit'",
|
5360
|
-
"description": "文本颜色, 可使用 CSS 属性 `color` 和 `background-image` 的值.",
|
5361
|
-
"fieldName": "color"
|
5127
|
+
"text": "number"
|
5128
|
+
}
|
5362
5129
|
}
|
5363
|
-
]
|
5130
|
+
]
|
5131
|
+
},
|
5132
|
+
{
|
5133
|
+
"kind": "function",
|
5134
|
+
"name": "easeInOutBounce",
|
5135
|
+
"return": {
|
5136
|
+
"type": {
|
5137
|
+
"text": "number"
|
5138
|
+
}
|
5139
|
+
},
|
5364
5140
|
"parameters": [
|
5365
5141
|
{
|
5366
|
-
"name": "
|
5142
|
+
"name": "x",
|
5367
5143
|
"type": {
|
5368
|
-
"text": "
|
5144
|
+
"text": "number"
|
5369
5145
|
}
|
5370
5146
|
}
|
5371
5147
|
]
|
@@ -5374,18 +5150,242 @@
|
|
5374
5150
|
"exports": [
|
5375
5151
|
{
|
5376
5152
|
"kind": "js",
|
5377
|
-
"name": "
|
5153
|
+
"name": "easeInSine",
|
5154
|
+
"declaration": {
|
5155
|
+
"name": "easeInSine",
|
5156
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5157
|
+
}
|
5158
|
+
},
|
5159
|
+
{
|
5160
|
+
"kind": "js",
|
5161
|
+
"name": "easeOutSine",
|
5162
|
+
"declaration": {
|
5163
|
+
"name": "easeOutSine",
|
5164
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5165
|
+
}
|
5166
|
+
},
|
5167
|
+
{
|
5168
|
+
"kind": "js",
|
5169
|
+
"name": "easeInOutSine",
|
5170
|
+
"declaration": {
|
5171
|
+
"name": "easeInOutSine",
|
5172
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5173
|
+
}
|
5174
|
+
},
|
5175
|
+
{
|
5176
|
+
"kind": "js",
|
5177
|
+
"name": "easeInQuad",
|
5178
|
+
"declaration": {
|
5179
|
+
"name": "easeInQuad",
|
5180
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5181
|
+
}
|
5182
|
+
},
|
5183
|
+
{
|
5184
|
+
"kind": "js",
|
5185
|
+
"name": "easeOutQuad",
|
5186
|
+
"declaration": {
|
5187
|
+
"name": "easeOutQuad",
|
5188
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5189
|
+
}
|
5190
|
+
},
|
5191
|
+
{
|
5192
|
+
"kind": "js",
|
5193
|
+
"name": "easeInOutQuad",
|
5194
|
+
"declaration": {
|
5195
|
+
"name": "easeInOutQuad",
|
5196
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5197
|
+
}
|
5198
|
+
},
|
5199
|
+
{
|
5200
|
+
"kind": "js",
|
5201
|
+
"name": "easeInCubic",
|
5202
|
+
"declaration": {
|
5203
|
+
"name": "easeInCubic",
|
5204
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5205
|
+
}
|
5206
|
+
},
|
5207
|
+
{
|
5208
|
+
"kind": "js",
|
5209
|
+
"name": "easeOutCubic",
|
5210
|
+
"declaration": {
|
5211
|
+
"name": "easeOutCubic",
|
5212
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5213
|
+
}
|
5214
|
+
},
|
5215
|
+
{
|
5216
|
+
"kind": "js",
|
5217
|
+
"name": "easeInOutCubic",
|
5218
|
+
"declaration": {
|
5219
|
+
"name": "easeInOutCubic",
|
5220
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5221
|
+
}
|
5222
|
+
},
|
5223
|
+
{
|
5224
|
+
"kind": "js",
|
5225
|
+
"name": "easeInQuart",
|
5226
|
+
"declaration": {
|
5227
|
+
"name": "easeInQuart",
|
5228
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5229
|
+
}
|
5230
|
+
},
|
5231
|
+
{
|
5232
|
+
"kind": "js",
|
5233
|
+
"name": "easeOutQuart",
|
5234
|
+
"declaration": {
|
5235
|
+
"name": "easeOutQuart",
|
5236
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5237
|
+
}
|
5238
|
+
},
|
5239
|
+
{
|
5240
|
+
"kind": "js",
|
5241
|
+
"name": "easeInOutQuart",
|
5242
|
+
"declaration": {
|
5243
|
+
"name": "easeInOutQuart",
|
5244
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5245
|
+
}
|
5246
|
+
},
|
5247
|
+
{
|
5248
|
+
"kind": "js",
|
5249
|
+
"name": "easeInQuint",
|
5250
|
+
"declaration": {
|
5251
|
+
"name": "easeInQuint",
|
5252
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5253
|
+
}
|
5254
|
+
},
|
5255
|
+
{
|
5256
|
+
"kind": "js",
|
5257
|
+
"name": "easeOutQuint",
|
5258
|
+
"declaration": {
|
5259
|
+
"name": "easeOutQuint",
|
5260
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5261
|
+
}
|
5262
|
+
},
|
5263
|
+
{
|
5264
|
+
"kind": "js",
|
5265
|
+
"name": "easeInOutQuint",
|
5266
|
+
"declaration": {
|
5267
|
+
"name": "easeInOutQuint",
|
5268
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5269
|
+
}
|
5270
|
+
},
|
5271
|
+
{
|
5272
|
+
"kind": "js",
|
5273
|
+
"name": "easeInExpo",
|
5378
5274
|
"declaration": {
|
5379
|
-
"name": "
|
5380
|
-
"module": "src/
|
5275
|
+
"name": "easeInExpo",
|
5276
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5381
5277
|
}
|
5382
5278
|
},
|
5383
5279
|
{
|
5384
5280
|
"kind": "js",
|
5385
|
-
"name": "
|
5281
|
+
"name": "easeOutExpo",
|
5386
5282
|
"declaration": {
|
5387
|
-
"name": "
|
5388
|
-
"module": "src/
|
5283
|
+
"name": "easeOutExpo",
|
5284
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5285
|
+
}
|
5286
|
+
},
|
5287
|
+
{
|
5288
|
+
"kind": "js",
|
5289
|
+
"name": "easeInOutExpo",
|
5290
|
+
"declaration": {
|
5291
|
+
"name": "easeInOutExpo",
|
5292
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5293
|
+
}
|
5294
|
+
},
|
5295
|
+
{
|
5296
|
+
"kind": "js",
|
5297
|
+
"name": "easeInCirc",
|
5298
|
+
"declaration": {
|
5299
|
+
"name": "easeInCirc",
|
5300
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5301
|
+
}
|
5302
|
+
},
|
5303
|
+
{
|
5304
|
+
"kind": "js",
|
5305
|
+
"name": "easeOutCirc",
|
5306
|
+
"declaration": {
|
5307
|
+
"name": "easeOutCirc",
|
5308
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5309
|
+
}
|
5310
|
+
},
|
5311
|
+
{
|
5312
|
+
"kind": "js",
|
5313
|
+
"name": "easeInOutCirc",
|
5314
|
+
"declaration": {
|
5315
|
+
"name": "easeInOutCirc",
|
5316
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5317
|
+
}
|
5318
|
+
},
|
5319
|
+
{
|
5320
|
+
"kind": "js",
|
5321
|
+
"name": "easeInBack",
|
5322
|
+
"declaration": {
|
5323
|
+
"name": "easeInBack",
|
5324
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5325
|
+
}
|
5326
|
+
},
|
5327
|
+
{
|
5328
|
+
"kind": "js",
|
5329
|
+
"name": "easeOutBack",
|
5330
|
+
"declaration": {
|
5331
|
+
"name": "easeOutBack",
|
5332
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5333
|
+
}
|
5334
|
+
},
|
5335
|
+
{
|
5336
|
+
"kind": "js",
|
5337
|
+
"name": "easeInOutBack",
|
5338
|
+
"declaration": {
|
5339
|
+
"name": "easeInOutBack",
|
5340
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5341
|
+
}
|
5342
|
+
},
|
5343
|
+
{
|
5344
|
+
"kind": "js",
|
5345
|
+
"name": "easeInElastic",
|
5346
|
+
"declaration": {
|
5347
|
+
"name": "easeInElastic",
|
5348
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5349
|
+
}
|
5350
|
+
},
|
5351
|
+
{
|
5352
|
+
"kind": "js",
|
5353
|
+
"name": "easeOutElastic",
|
5354
|
+
"declaration": {
|
5355
|
+
"name": "easeOutElastic",
|
5356
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5357
|
+
}
|
5358
|
+
},
|
5359
|
+
{
|
5360
|
+
"kind": "js",
|
5361
|
+
"name": "easeInOutElastic",
|
5362
|
+
"declaration": {
|
5363
|
+
"name": "easeInOutElastic",
|
5364
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5365
|
+
}
|
5366
|
+
},
|
5367
|
+
{
|
5368
|
+
"kind": "js",
|
5369
|
+
"name": "easeOutBounce",
|
5370
|
+
"declaration": {
|
5371
|
+
"name": "easeOutBounce",
|
5372
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5373
|
+
}
|
5374
|
+
},
|
5375
|
+
{
|
5376
|
+
"kind": "js",
|
5377
|
+
"name": "easeInBounce",
|
5378
|
+
"declaration": {
|
5379
|
+
"name": "easeInBounce",
|
5380
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5381
|
+
}
|
5382
|
+
},
|
5383
|
+
{
|
5384
|
+
"kind": "js",
|
5385
|
+
"name": "easeInOutBounce",
|
5386
|
+
"declaration": {
|
5387
|
+
"name": "easeInOutBounce",
|
5388
|
+
"module": "src/easing/penner-easing-functions.ts"
|
5389
5389
|
}
|
5390
5390
|
}
|
5391
5391
|
]
|
@@ -6440,225 +6440,277 @@
|
|
6440
6440
|
"exports": [
|
6441
6441
|
{
|
6442
6442
|
"kind": "js",
|
6443
|
-
"name": "uuid",
|
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/timered-counter/decimaljs.stories.ts",
|
6454
|
+
"declarations": [
|
6455
|
+
{
|
6456
|
+
"kind": "variable",
|
6457
|
+
"name": "meta",
|
6458
|
+
"type": {
|
6459
|
+
"text": "Meta"
|
6460
|
+
},
|
6461
|
+
"default": "{ title: 'TimeredCounter/with decimal.js', component: 'timered-counter', tags: ['autodocs', 'timered-counter'], parameters: { controls: { expanded: true }, }, beforeEach: () => { setNumberAdapter('decimal.js'); }, }"
|
6462
|
+
},
|
6463
|
+
{
|
6464
|
+
"kind": "variable",
|
6465
|
+
"name": "BigNumber",
|
6466
|
+
"type": {
|
6467
|
+
"text": "StoryObj<TimeredCounter>"
|
6468
|
+
},
|
6469
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => bigNumber(context, { counter, setBy: setByAttr }), ); await step('Testing with property', async () => bigNumber(context, { counter, setBy: setByProp }), ); }, }"
|
6470
|
+
}
|
6471
|
+
],
|
6472
|
+
"exports": [
|
6473
|
+
{
|
6474
|
+
"kind": "js",
|
6475
|
+
"name": "default",
|
6476
|
+
"declaration": {
|
6477
|
+
"name": "meta",
|
6478
|
+
"module": "stories/timered-counter/decimaljs.stories.ts"
|
6479
|
+
}
|
6480
|
+
},
|
6481
|
+
{
|
6482
|
+
"kind": "js",
|
6483
|
+
"name": "Basic",
|
6484
|
+
"declaration": {
|
6485
|
+
"name": "Basic",
|
6486
|
+
"module": "./index.stories.js"
|
6487
|
+
}
|
6488
|
+
},
|
6489
|
+
{
|
6490
|
+
"kind": "js",
|
6491
|
+
"name": "Events",
|
6492
|
+
"declaration": {
|
6493
|
+
"name": "Events",
|
6494
|
+
"module": "./index.stories.js"
|
6495
|
+
}
|
6496
|
+
},
|
6497
|
+
{
|
6498
|
+
"kind": "js",
|
6499
|
+
"name": "AnimationOptions",
|
6500
|
+
"declaration": {
|
6501
|
+
"name": "AnimationOptions",
|
6502
|
+
"module": "./index.stories.js"
|
6503
|
+
}
|
6504
|
+
},
|
6505
|
+
{
|
6506
|
+
"kind": "js",
|
6507
|
+
"name": "Slots",
|
6508
|
+
"declaration": {
|
6509
|
+
"name": "Slots",
|
6510
|
+
"module": "./index.stories.js"
|
6511
|
+
}
|
6512
|
+
},
|
6513
|
+
{
|
6514
|
+
"kind": "js",
|
6515
|
+
"name": "Styles",
|
6516
|
+
"declaration": {
|
6517
|
+
"name": "Styles",
|
6518
|
+
"module": "./index.stories.js"
|
6519
|
+
}
|
6520
|
+
},
|
6521
|
+
{
|
6522
|
+
"kind": "js",
|
6523
|
+
"name": "BigNumber",
|
6524
|
+
"declaration": {
|
6525
|
+
"name": "BigNumber",
|
6526
|
+
"module": "stories/timered-counter/decimaljs.stories.ts"
|
6527
|
+
}
|
6528
|
+
}
|
6529
|
+
]
|
6530
|
+
},
|
6531
|
+
{
|
6532
|
+
"kind": "javascript-module",
|
6533
|
+
"path": "stories/timered-counter/index.stories.ts",
|
6534
|
+
"declarations": [
|
6535
|
+
{
|
6536
|
+
"kind": "variable",
|
6537
|
+
"name": "meta",
|
6538
|
+
"type": {
|
6539
|
+
"text": "Meta"
|
6540
|
+
},
|
6541
|
+
"default": "{ title: 'TimeredCounter', component: 'timered-counter', tags: ['autodocs', 'timered-counter'], parameters: { controls: { expanded: true }, }, beforeEach: () => { setNumberAdapter('number'); }, globals: { setByAttr, setByProp, }, }"
|
6542
|
+
},
|
6543
|
+
{
|
6544
|
+
"kind": "variable",
|
6545
|
+
"name": "Basic",
|
6546
|
+
"type": {
|
6547
|
+
"text": "StoryObj<TimeredCounter>"
|
6548
|
+
},
|
6549
|
+
"default": "{ args: { className: 'test-target', // @ts-ignore value: '0', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => { await valueChange(context, { counter, setBy: setByAttr, }); await step('Edge case', async () => edgeCase(context, { counter, list: [ ['Setting an empty string', '', '0'], ['Setting a non-number', 'a', '0'], ['Setting a decimal number', '1.1', '1.1'], ['Setting a negative number', '-1', '-1'], ['Setting Infinity', 'Infinity', '0'], ['Setting NaN', 'NaN', '0'], ['Setting null', 'null', '0'], ['Setting undefined', 'undefined', '0'], ['Setting true', 'true', '0'], ['Setting false', 'false', '0'], ['Setting an object', '{}', '0'], ['Setting an array', '[]', '0'], ['Setting a function', '() => {}', '0'], ['Setting a Symbol', 'Symbol()', '0'], ['Setting a BigInt', 'BigInt(1)', '0'], ], setBy: setByAttr, }), ); }); await step('Testing with property', async () => { await valueChange(context, { counter, setBy: setByProp }); await step('Edge case', async () => edgeCase(context, { counter, list: [ ['Setting an empty string', '', 0], ['Setting a non-number', 'a', 0], ['Setting a decimal number', '1.1', 1.1], ['Setting a negative number', '-1', -1], ['Setting Infinity', 'Infinity', 0], ['Setting NaN', 'NaN', 0], ['Setting null', 'null', 0], ['Setting undefined', 'undefined', 0], ['Setting true', 'true', 0], ['Setting false', 'false', 0], ['Setting an object', '{}', 0], ['Setting an array', '[]', 0], ['Setting a function', '() => {}', 0], ['Setting a Symbol', 'Symbol()', 0], ['Setting a BigInt', 'BigInt(1)', 0], ], setBy: setByProp, }), ); }); }, }"
|
6550
|
+
},
|
6551
|
+
{
|
6552
|
+
"kind": "variable",
|
6553
|
+
"name": "Events",
|
6554
|
+
"type": {
|
6555
|
+
"text": "StoryObj<TimeredCounter>"
|
6556
|
+
},
|
6557
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => { await step('Animation events', async () => animationEvents(context, { counter, setBy: setByAttr, }), ); }); await step('Testing with property', async () => { await step('Animation events', async () => animationEvents(context, { counter, setBy: setByProp, }), ); }); }, }"
|
6558
|
+
},
|
6559
|
+
{
|
6560
|
+
"kind": "variable",
|
6561
|
+
"name": "AnimationOptions",
|
6562
|
+
"type": {
|
6563
|
+
"text": "StoryObj<TimeredCounter>"
|
6564
|
+
},
|
6565
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => { await step('Animation options', async () => animationOptions(context, { counter, setBy: setByAttr, }), ); }); // await step('Testing with property', async () => { // await step('Animation options', async () => // animationOptions(context, { // counter, // list, // setBy: setByProp, // }), // ); // }); }, }"
|
6566
|
+
},
|
6567
|
+
{
|
6568
|
+
"kind": "variable",
|
6569
|
+
"name": "Styles",
|
6570
|
+
"type": {
|
6571
|
+
"text": "StoryObj<TimeredCounter>"
|
6572
|
+
},
|
6573
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => { await step('Styles', async () => styles(context, { counter, setBy: setByAttr, }), ); }); await step('Testing with property', async () => { await step('Styles', async () => styles(context, { counter, setBy: setByProp, }), ); }); }, }"
|
6574
|
+
},
|
6575
|
+
{
|
6576
|
+
"kind": "variable",
|
6577
|
+
"name": "Slots",
|
6578
|
+
"type": {
|
6579
|
+
"text": "StoryObj<TimeredCounter>"
|
6580
|
+
},
|
6581
|
+
"default": "{ args: { className: 'test-target', value: 0, }, render: slotsRender, async play(context) { const { canvasElement } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await slots(context, { counter }); }, }"
|
6582
|
+
}
|
6583
|
+
],
|
6584
|
+
"exports": [
|
6585
|
+
{
|
6586
|
+
"kind": "js",
|
6587
|
+
"name": "default",
|
6444
6588
|
"declaration": {
|
6445
|
-
"name": "
|
6446
|
-
"module": "
|
6589
|
+
"name": "meta",
|
6590
|
+
"module": "stories/timered-counter/index.stories.ts"
|
6447
6591
|
}
|
6448
|
-
}
|
6449
|
-
]
|
6450
|
-
},
|
6451
|
-
{
|
6452
|
-
"kind": "javascript-module",
|
6453
|
-
"path": "stories/story-parts/animation-events.ts",
|
6454
|
-
"declarations": [
|
6455
|
-
{
|
6456
|
-
"kind": "function",
|
6457
|
-
"name": "animationEvents",
|
6458
|
-
"parameters": [
|
6459
|
-
{
|
6460
|
-
"name": "context",
|
6461
|
-
"type": {
|
6462
|
-
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6463
|
-
}
|
6464
|
-
},
|
6465
|
-
{
|
6466
|
-
"name": "{\n counter,\n list = range(0, 5).map(v => v * 10) as T[],\n setBy,\n equal = _equal,\n }",
|
6467
|
-
"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 }"
|
6469
|
-
}
|
6470
|
-
}
|
6471
|
-
]
|
6472
|
-
}
|
6473
|
-
],
|
6474
|
-
"exports": [
|
6592
|
+
},
|
6475
6593
|
{
|
6476
6594
|
"kind": "js",
|
6477
|
-
"name": "
|
6595
|
+
"name": "Basic",
|
6478
6596
|
"declaration": {
|
6479
|
-
"name": "
|
6480
|
-
"module": "stories/
|
6597
|
+
"name": "Basic",
|
6598
|
+
"module": "stories/timered-counter/index.stories.ts"
|
6481
6599
|
}
|
6482
|
-
}
|
6483
|
-
]
|
6484
|
-
},
|
6485
|
-
{
|
6486
|
-
"kind": "javascript-module",
|
6487
|
-
"path": "stories/story-parts/animation-options.ts",
|
6488
|
-
"declarations": [
|
6600
|
+
},
|
6489
6601
|
{
|
6490
|
-
"kind": "
|
6491
|
-
"name": "
|
6492
|
-
"
|
6493
|
-
|
6494
|
-
|
6495
|
-
|
6496
|
-
|
6497
|
-
}
|
6498
|
-
},
|
6499
|
-
{
|
6500
|
-
"name": "{\n counter,\n list = [114514] as T[],\n setBy,\n }",
|
6501
|
-
"type": {
|
6502
|
-
"text": "{\n counter: TC;\n list?: T[];\n setBy: (counter: TC, key: string, value: T) => void;\n }"
|
6503
|
-
}
|
6504
|
-
}
|
6505
|
-
]
|
6506
|
-
}
|
6507
|
-
],
|
6508
|
-
"exports": [
|
6602
|
+
"kind": "js",
|
6603
|
+
"name": "Events",
|
6604
|
+
"declaration": {
|
6605
|
+
"name": "Events",
|
6606
|
+
"module": "stories/timered-counter/index.stories.ts"
|
6607
|
+
}
|
6608
|
+
},
|
6509
6609
|
{
|
6510
6610
|
"kind": "js",
|
6511
|
-
"name": "
|
6611
|
+
"name": "AnimationOptions",
|
6512
6612
|
"declaration": {
|
6513
|
-
"name": "
|
6514
|
-
"module": "stories/
|
6613
|
+
"name": "AnimationOptions",
|
6614
|
+
"module": "stories/timered-counter/index.stories.ts"
|
6515
6615
|
}
|
6516
|
-
}
|
6517
|
-
]
|
6518
|
-
},
|
6519
|
-
{
|
6520
|
-
"kind": "javascript-module",
|
6521
|
-
"path": "stories/story-parts/big-number.ts",
|
6522
|
-
"declarations": [
|
6616
|
+
},
|
6523
6617
|
{
|
6524
|
-
"kind": "
|
6525
|
-
"name": "
|
6526
|
-
"
|
6527
|
-
|
6528
|
-
|
6529
|
-
|
6530
|
-
|
6531
|
-
}
|
6532
|
-
},
|
6533
|
-
{
|
6534
|
-
"name": "{\n counter,\n setBy,\n equal = _equal,\n }",
|
6535
|
-
"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 }"
|
6537
|
-
}
|
6538
|
-
}
|
6539
|
-
]
|
6540
|
-
}
|
6541
|
-
],
|
6542
|
-
"exports": [
|
6618
|
+
"kind": "js",
|
6619
|
+
"name": "Styles",
|
6620
|
+
"declaration": {
|
6621
|
+
"name": "Styles",
|
6622
|
+
"module": "stories/timered-counter/index.stories.ts"
|
6623
|
+
}
|
6624
|
+
},
|
6543
6625
|
{
|
6544
6626
|
"kind": "js",
|
6545
|
-
"name": "
|
6627
|
+
"name": "Slots",
|
6546
6628
|
"declaration": {
|
6547
|
-
"name": "
|
6548
|
-
"module": "stories/
|
6629
|
+
"name": "Slots",
|
6630
|
+
"module": "stories/timered-counter/index.stories.ts"
|
6549
6631
|
}
|
6550
6632
|
}
|
6551
6633
|
]
|
6552
6634
|
},
|
6553
6635
|
{
|
6554
6636
|
"kind": "javascript-module",
|
6555
|
-
"path": "stories/
|
6637
|
+
"path": "stories/timered-counter-datetime-duration/index.stories.ts",
|
6556
6638
|
"declarations": [
|
6557
6639
|
{
|
6558
|
-
"kind": "
|
6559
|
-
"name": "
|
6560
|
-
"
|
6561
|
-
|
6562
|
-
|
6563
|
-
|
6564
|
-
|
6565
|
-
|
6566
|
-
|
6567
|
-
|
6568
|
-
|
6569
|
-
|
6570
|
-
|
6571
|
-
|
6572
|
-
|
6573
|
-
|
6640
|
+
"kind": "variable",
|
6641
|
+
"name": "meta",
|
6642
|
+
"type": {
|
6643
|
+
"text": "Meta"
|
6644
|
+
},
|
6645
|
+
"default": "{ title: 'TimeredCounterDatetimeDuration', component: 'timered-counter-datetime-duration', tags: ['autodocs', 'timered-counter-datetime-duration'], parameters: { controls: { expanded: true }, }, beforeEach: () => { setNumberAdapter('number'); }, }"
|
6646
|
+
},
|
6647
|
+
{
|
6648
|
+
"kind": "variable",
|
6649
|
+
"name": "Basic",
|
6650
|
+
"type": {
|
6651
|
+
"text": "StoryObj<TimeredCounterDatetimeDuration>"
|
6652
|
+
},
|
6653
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounterDatetimeDuration; const list = [ ...range(0, 2).map(v => [new Date(), addSeconds(new Date(), v)]), ...range(0, 2).map(v => [new Date(), addMinutes(new Date(), v)]), ...range(0, 2).map(v => [new Date(), addHours(new Date(), v)]), ...range(0, 2).map(v => [new Date(), addDays(new Date(), v)]), ...range(0, 2).map(v => [new Date(), addMonths(new Date(), v)]), ...range(0, 2).map(v => [new Date(), addYears(new Date(), v)]), ]; await step('Testing with attribute', async () => { await valueChange(context, { counter, list, setBy: setByAttr, equal }); }); await step('Testing with property', async () => { await valueChange(context, { counter, list, setBy: setByProp, equal }); }); }, }"
|
6654
|
+
},
|
6655
|
+
{
|
6656
|
+
"kind": "variable",
|
6657
|
+
"name": "Precision",
|
6658
|
+
"type": {
|
6659
|
+
"text": "StoryObj<TimeredCounterDatetimeDuration>"
|
6660
|
+
},
|
6661
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounterDatetimeDuration; await step('Testing with attribute', async () => datetimePrecision(context, { counter, setBy: setByAttr, equal }), ); await step('Testing with property', async () => datetimePrecision(context, { counter, setBy: setByProp, equal }), ); }, }"
|
6662
|
+
},
|
6663
|
+
{
|
6664
|
+
"kind": "variable",
|
6665
|
+
"name": "Locale",
|
6666
|
+
"type": {
|
6667
|
+
"text": "StoryObj<TimeredCounterDatetimeDuration>"
|
6668
|
+
},
|
6669
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounterDatetimeDuration; await step('Testing with attribute', () => datetimeLocale(context, { counter, setBy: setByAttr, equal }), ); await step('Testing with property', () => datetimeLocale(context, { counter, setBy: setByProp, equal }), ); }, }"
|
6574
6670
|
}
|
6575
6671
|
],
|
6576
6672
|
"exports": [
|
6577
6673
|
{
|
6578
6674
|
"kind": "js",
|
6579
|
-
"name": "
|
6675
|
+
"name": "default",
|
6580
6676
|
"declaration": {
|
6581
|
-
"name": "
|
6582
|
-
"module": "stories/
|
6677
|
+
"name": "meta",
|
6678
|
+
"module": "stories/timered-counter-datetime-duration/index.stories.ts"
|
6583
6679
|
}
|
6584
|
-
}
|
6585
|
-
]
|
6586
|
-
},
|
6587
|
-
{
|
6588
|
-
"kind": "javascript-module",
|
6589
|
-
"path": "stories/story-parts/datetime-precision.ts",
|
6590
|
-
"declarations": [
|
6591
|
-
{
|
6592
|
-
"kind": "function",
|
6593
|
-
"name": "datetimePrecision",
|
6594
|
-
"parameters": [
|
6595
|
-
{
|
6596
|
-
"name": "context",
|
6597
|
-
"type": {
|
6598
|
-
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6599
|
-
}
|
6600
|
-
},
|
6601
|
-
{
|
6602
|
-
"name": "{\n counter,\n setBy,\n }",
|
6603
|
-
"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 }"
|
6605
|
-
}
|
6606
|
-
}
|
6607
|
-
]
|
6608
|
-
}
|
6609
|
-
],
|
6610
|
-
"exports": [
|
6680
|
+
},
|
6611
6681
|
{
|
6612
6682
|
"kind": "js",
|
6613
|
-
"name": "
|
6683
|
+
"name": "Basic",
|
6614
6684
|
"declaration": {
|
6615
|
-
"name": "
|
6616
|
-
"module": "stories/
|
6685
|
+
"name": "Basic",
|
6686
|
+
"module": "stories/timered-counter-datetime-duration/index.stories.ts"
|
6617
6687
|
}
|
6618
|
-
}
|
6619
|
-
]
|
6620
|
-
},
|
6621
|
-
{
|
6622
|
-
"kind": "javascript-module",
|
6623
|
-
"path": "stories/story-parts/edge-case.ts",
|
6624
|
-
"declarations": [
|
6688
|
+
},
|
6625
6689
|
{
|
6626
|
-
"kind": "
|
6627
|
-
"name": "
|
6628
|
-
"
|
6629
|
-
|
6630
|
-
|
6631
|
-
|
6632
|
-
|
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": [
|
6690
|
+
"kind": "js",
|
6691
|
+
"name": "Precision",
|
6692
|
+
"declaration": {
|
6693
|
+
"name": "Precision",
|
6694
|
+
"module": "stories/timered-counter-datetime-duration/index.stories.ts"
|
6695
|
+
}
|
6696
|
+
},
|
6645
6697
|
{
|
6646
6698
|
"kind": "js",
|
6647
|
-
"name": "
|
6699
|
+
"name": "Locale",
|
6648
6700
|
"declaration": {
|
6649
|
-
"name": "
|
6650
|
-
"module": "stories/
|
6701
|
+
"name": "Locale",
|
6702
|
+
"module": "stories/timered-counter-datetime-duration/index.stories.ts"
|
6651
6703
|
}
|
6652
6704
|
}
|
6653
6705
|
]
|
6654
6706
|
},
|
6655
6707
|
{
|
6656
6708
|
"kind": "javascript-module",
|
6657
|
-
"path": "stories/story-parts/
|
6709
|
+
"path": "stories/story-parts/animation-events.ts",
|
6658
6710
|
"declarations": [
|
6659
6711
|
{
|
6660
6712
|
"kind": "function",
|
6661
|
-
"name": "
|
6713
|
+
"name": "animationEvents",
|
6662
6714
|
"parameters": [
|
6663
6715
|
{
|
6664
6716
|
"name": "context",
|
@@ -6667,9 +6719,9 @@
|
|
6667
6719
|
}
|
6668
6720
|
},
|
6669
6721
|
{
|
6670
|
-
"name": "{\n counter,\n setBy,\n
|
6722
|
+
"name": "{\n counter,\n list = range(0, 5).map(v => v * 10) as T[],\n setBy,\n equal = _equal,\n }",
|
6671
6723
|
"type": {
|
6672
|
-
"text": "{\n counter: TC;\n list
|
6724
|
+
"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 }"
|
6673
6725
|
}
|
6674
6726
|
}
|
6675
6727
|
]
|
@@ -6678,21 +6730,21 @@
|
|
6678
6730
|
"exports": [
|
6679
6731
|
{
|
6680
6732
|
"kind": "js",
|
6681
|
-
"name": "
|
6733
|
+
"name": "animationEvents",
|
6682
6734
|
"declaration": {
|
6683
|
-
"name": "
|
6684
|
-
"module": "stories/story-parts/
|
6735
|
+
"name": "animationEvents",
|
6736
|
+
"module": "stories/story-parts/animation-events.ts"
|
6685
6737
|
}
|
6686
6738
|
}
|
6687
6739
|
]
|
6688
6740
|
},
|
6689
6741
|
{
|
6690
6742
|
"kind": "javascript-module",
|
6691
|
-
"path": "stories/story-parts/
|
6743
|
+
"path": "stories/story-parts/animation-options.ts",
|
6692
6744
|
"declarations": [
|
6693
6745
|
{
|
6694
6746
|
"kind": "function",
|
6695
|
-
"name": "
|
6747
|
+
"name": "animationOptions",
|
6696
6748
|
"parameters": [
|
6697
6749
|
{
|
6698
6750
|
"name": "context",
|
@@ -6701,9 +6753,9 @@
|
|
6701
6753
|
}
|
6702
6754
|
},
|
6703
6755
|
{
|
6704
|
-
"name": "{\n counter,\n setBy,\n }",
|
6756
|
+
"name": "{\n counter,\n list = [114514] as T[],\n setBy,\n }",
|
6705
6757
|
"type": {
|
6706
|
-
"text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value:
|
6758
|
+
"text": "{\n counter: TC;\n list?: T[];\n setBy: (counter: TC, key: string, value: T) => void;\n }"
|
6707
6759
|
}
|
6708
6760
|
}
|
6709
6761
|
]
|
@@ -6712,33 +6764,21 @@
|
|
6712
6764
|
"exports": [
|
6713
6765
|
{
|
6714
6766
|
"kind": "js",
|
6715
|
-
"name": "
|
6767
|
+
"name": "animationOptions",
|
6716
6768
|
"declaration": {
|
6717
|
-
"name": "
|
6718
|
-
"module": "stories/story-parts/
|
6769
|
+
"name": "animationOptions",
|
6770
|
+
"module": "stories/story-parts/animation-options.ts"
|
6719
6771
|
}
|
6720
6772
|
}
|
6721
6773
|
]
|
6722
6774
|
},
|
6723
6775
|
{
|
6724
6776
|
"kind": "javascript-module",
|
6725
|
-
"path": "stories/story-parts/
|
6777
|
+
"path": "stories/story-parts/big-number.ts",
|
6726
6778
|
"declarations": [
|
6727
6779
|
{
|
6728
6780
|
"kind": "function",
|
6729
|
-
"name": "
|
6730
|
-
"parameters": [
|
6731
|
-
{
|
6732
|
-
"name": "args",
|
6733
|
-
"type": {
|
6734
|
-
"text": "any"
|
6735
|
-
}
|
6736
|
-
}
|
6737
|
-
]
|
6738
|
-
},
|
6739
|
-
{
|
6740
|
-
"kind": "function",
|
6741
|
-
"name": "slots",
|
6781
|
+
"name": "bigNumber",
|
6742
6782
|
"parameters": [
|
6743
6783
|
{
|
6744
6784
|
"name": "context",
|
@@ -6747,9 +6787,9 @@
|
|
6747
6787
|
}
|
6748
6788
|
},
|
6749
6789
|
{
|
6750
|
-
"name": "{\n counter,\n }",
|
6790
|
+
"name": "{\n counter,\n setBy,\n equal = _equal,\n }",
|
6751
6791
|
"type": {
|
6752
|
-
"text": "{\n counter: TC;\n
|
6792
|
+
"text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: string) => void;\n equal?: (counter: TimeredCounter, a: any, b: any) => Promise<void>;\n }"
|
6753
6793
|
}
|
6754
6794
|
}
|
6755
6795
|
]
|
@@ -6758,29 +6798,21 @@
|
|
6758
6798
|
"exports": [
|
6759
6799
|
{
|
6760
6800
|
"kind": "js",
|
6761
|
-
"name": "
|
6762
|
-
"declaration": {
|
6763
|
-
"name": "render",
|
6764
|
-
"module": "stories/story-parts/slots.ts"
|
6765
|
-
}
|
6766
|
-
},
|
6767
|
-
{
|
6768
|
-
"kind": "js",
|
6769
|
-
"name": "slots",
|
6801
|
+
"name": "bigNumber",
|
6770
6802
|
"declaration": {
|
6771
|
-
"name": "
|
6772
|
-
"module": "stories/story-parts/
|
6803
|
+
"name": "bigNumber",
|
6804
|
+
"module": "stories/story-parts/big-number.ts"
|
6773
6805
|
}
|
6774
6806
|
}
|
6775
6807
|
]
|
6776
6808
|
},
|
6777
6809
|
{
|
6778
6810
|
"kind": "javascript-module",
|
6779
|
-
"path": "stories/story-parts/
|
6811
|
+
"path": "stories/story-parts/datetime-locale.ts",
|
6780
6812
|
"declarations": [
|
6781
6813
|
{
|
6782
6814
|
"kind": "function",
|
6783
|
-
"name": "
|
6815
|
+
"name": "datetimeLocale",
|
6784
6816
|
"parameters": [
|
6785
6817
|
{
|
6786
6818
|
"name": "context",
|
@@ -6791,7 +6823,7 @@
|
|
6791
6823
|
{
|
6792
6824
|
"name": "{\n counter,\n setBy,\n }",
|
6793
6825
|
"type": {
|
6794
|
-
"text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: string) => void;\n }"
|
6826
|
+
"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 }"
|
6795
6827
|
}
|
6796
6828
|
}
|
6797
6829
|
]
|
@@ -6800,21 +6832,21 @@
|
|
6800
6832
|
"exports": [
|
6801
6833
|
{
|
6802
6834
|
"kind": "js",
|
6803
|
-
"name": "
|
6835
|
+
"name": "datetimeLocale",
|
6804
6836
|
"declaration": {
|
6805
|
-
"name": "
|
6806
|
-
"module": "stories/story-parts/
|
6837
|
+
"name": "datetimeLocale",
|
6838
|
+
"module": "stories/story-parts/datetime-locale.ts"
|
6807
6839
|
}
|
6808
6840
|
}
|
6809
6841
|
]
|
6810
6842
|
},
|
6811
6843
|
{
|
6812
6844
|
"kind": "javascript-module",
|
6813
|
-
"path": "stories/story-parts/
|
6845
|
+
"path": "stories/story-parts/datetime-precision.ts",
|
6814
6846
|
"declarations": [
|
6815
6847
|
{
|
6816
6848
|
"kind": "function",
|
6817
|
-
"name": "
|
6849
|
+
"name": "datetimePrecision",
|
6818
6850
|
"parameters": [
|
6819
6851
|
{
|
6820
6852
|
"name": "context",
|
@@ -6823,9 +6855,9 @@
|
|
6823
6855
|
}
|
6824
6856
|
},
|
6825
6857
|
{
|
6826
|
-
"name": "{\n counter,\n
|
6858
|
+
"name": "{\n counter,\n setBy,\n }",
|
6827
6859
|
"type": {
|
6828
|
-
"text": "{\n counter: TC;\n
|
6860
|
+
"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 }"
|
6829
6861
|
}
|
6830
6862
|
}
|
6831
6863
|
]
|
@@ -6834,450 +6866,358 @@
|
|
6834
6866
|
"exports": [
|
6835
6867
|
{
|
6836
6868
|
"kind": "js",
|
6837
|
-
"name": "
|
6838
|
-
"declaration": {
|
6839
|
-
"name": "valueChange",
|
6840
|
-
"module": "stories/story-parts/value-change.ts"
|
6841
|
-
}
|
6842
|
-
}
|
6843
|
-
]
|
6844
|
-
},
|
6845
|
-
{
|
6846
|
-
"kind": "javascript-module",
|
6847
|
-
"path": "stories/timered-counter/decimaljs.stories.ts",
|
6848
|
-
"declarations": [
|
6849
|
-
{
|
6850
|
-
"kind": "variable",
|
6851
|
-
"name": "meta",
|
6852
|
-
"type": {
|
6853
|
-
"text": "Meta"
|
6854
|
-
},
|
6855
|
-
"default": "{ title: 'TimeredCounter/with decimal.js', component: 'timered-counter', tags: ['autodocs', 'timered-counter'], parameters: { controls: { expanded: true }, }, beforeEach: () => { setNumberAdapter('decimal.js'); }, }"
|
6856
|
-
},
|
6857
|
-
{
|
6858
|
-
"kind": "variable",
|
6859
|
-
"name": "BigNumber",
|
6860
|
-
"type": {
|
6861
|
-
"text": "StoryObj<TimeredCounter>"
|
6862
|
-
},
|
6863
|
-
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => bigNumber(context, { counter, setBy: setByAttr }), ); await step('Testing with property', async () => bigNumber(context, { counter, setBy: setByProp }), ); }, }"
|
6864
|
-
}
|
6865
|
-
],
|
6866
|
-
"exports": [
|
6867
|
-
{
|
6868
|
-
"kind": "js",
|
6869
|
-
"name": "default",
|
6870
|
-
"declaration": {
|
6871
|
-
"name": "meta",
|
6872
|
-
"module": "stories/timered-counter/decimaljs.stories.ts"
|
6873
|
-
}
|
6874
|
-
},
|
6875
|
-
{
|
6876
|
-
"kind": "js",
|
6877
|
-
"name": "Basic",
|
6878
|
-
"declaration": {
|
6879
|
-
"name": "Basic",
|
6880
|
-
"module": "./index.stories.js"
|
6881
|
-
}
|
6882
|
-
},
|
6883
|
-
{
|
6884
|
-
"kind": "js",
|
6885
|
-
"name": "Events",
|
6886
|
-
"declaration": {
|
6887
|
-
"name": "Events",
|
6888
|
-
"module": "./index.stories.js"
|
6889
|
-
}
|
6890
|
-
},
|
6891
|
-
{
|
6892
|
-
"kind": "js",
|
6893
|
-
"name": "AnimationOptions",
|
6894
|
-
"declaration": {
|
6895
|
-
"name": "AnimationOptions",
|
6896
|
-
"module": "./index.stories.js"
|
6897
|
-
}
|
6898
|
-
},
|
6899
|
-
{
|
6900
|
-
"kind": "js",
|
6901
|
-
"name": "Slots",
|
6902
|
-
"declaration": {
|
6903
|
-
"name": "Slots",
|
6904
|
-
"module": "./index.stories.js"
|
6905
|
-
}
|
6906
|
-
},
|
6907
|
-
{
|
6908
|
-
"kind": "js",
|
6909
|
-
"name": "Styles",
|
6910
|
-
"declaration": {
|
6911
|
-
"name": "Styles",
|
6912
|
-
"module": "./index.stories.js"
|
6913
|
-
}
|
6914
|
-
},
|
6915
|
-
{
|
6916
|
-
"kind": "js",
|
6917
|
-
"name": "BigNumber",
|
6869
|
+
"name": "datetimePrecision",
|
6918
6870
|
"declaration": {
|
6919
|
-
"name": "
|
6920
|
-
"module": "stories/
|
6871
|
+
"name": "datetimePrecision",
|
6872
|
+
"module": "stories/story-parts/datetime-precision.ts"
|
6921
6873
|
}
|
6922
6874
|
}
|
6923
6875
|
]
|
6924
6876
|
},
|
6925
6877
|
{
|
6926
6878
|
"kind": "javascript-module",
|
6927
|
-
"path": "stories/
|
6879
|
+
"path": "stories/story-parts/edge-case.ts",
|
6928
6880
|
"declarations": [
|
6929
6881
|
{
|
6930
|
-
"kind": "
|
6931
|
-
"name": "
|
6932
|
-
"
|
6933
|
-
|
6934
|
-
|
6935
|
-
|
6936
|
-
|
6937
|
-
|
6938
|
-
|
6939
|
-
|
6940
|
-
|
6941
|
-
|
6942
|
-
|
6943
|
-
|
6944
|
-
|
6945
|
-
|
6946
|
-
|
6947
|
-
|
6948
|
-
|
6949
|
-
"text": "StoryObj<TimeredCounter>"
|
6950
|
-
},
|
6951
|
-
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => { await step('Animation events', async () => animationEvents(context, { counter, setBy: setByAttr, }), ); }); await step('Testing with property', async () => { await step('Animation events', async () => animationEvents(context, { counter, setBy: setByProp, }), ); }); }, }"
|
6952
|
-
},
|
6953
|
-
{
|
6954
|
-
"kind": "variable",
|
6955
|
-
"name": "AnimationOptions",
|
6956
|
-
"type": {
|
6957
|
-
"text": "StoryObj<TimeredCounter>"
|
6958
|
-
},
|
6959
|
-
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => { await step('Animation options', async () => animationOptions(context, { counter, setBy: setByAttr, }), ); }); // await step('Testing with property', async () => { // await step('Animation options', async () => // animationOptions(context, { // counter, // list, // setBy: setByProp, // }), // ); // }); }, }"
|
6960
|
-
},
|
6961
|
-
{
|
6962
|
-
"kind": "variable",
|
6963
|
-
"name": "Styles",
|
6964
|
-
"type": {
|
6965
|
-
"text": "StoryObj<TimeredCounter>"
|
6966
|
-
},
|
6967
|
-
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => { await step('Styles', async () => styles(context, { counter, setBy: setByAttr, }), ); }); await step('Testing with property', async () => { await step('Styles', async () => styles(context, { counter, setBy: setByProp, }), ); }); }, }"
|
6968
|
-
},
|
6969
|
-
{
|
6970
|
-
"kind": "variable",
|
6971
|
-
"name": "Slots",
|
6972
|
-
"type": {
|
6973
|
-
"text": "StoryObj<TimeredCounter>"
|
6974
|
-
},
|
6975
|
-
"default": "{ args: { className: 'test-target', value: 0, }, render: slotsRender, async play(context) { const { canvasElement } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await slots(context, { counter }); }, }"
|
6976
|
-
}
|
6977
|
-
],
|
6978
|
-
"exports": [
|
6979
|
-
{
|
6980
|
-
"kind": "js",
|
6981
|
-
"name": "default",
|
6982
|
-
"declaration": {
|
6983
|
-
"name": "meta",
|
6984
|
-
"module": "stories/timered-counter/index.stories.ts"
|
6985
|
-
}
|
6986
|
-
},
|
6987
|
-
{
|
6988
|
-
"kind": "js",
|
6989
|
-
"name": "Basic",
|
6990
|
-
"declaration": {
|
6991
|
-
"name": "Basic",
|
6992
|
-
"module": "stories/timered-counter/index.stories.ts"
|
6993
|
-
}
|
6994
|
-
},
|
6995
|
-
{
|
6996
|
-
"kind": "js",
|
6997
|
-
"name": "Events",
|
6998
|
-
"declaration": {
|
6999
|
-
"name": "Events",
|
7000
|
-
"module": "stories/timered-counter/index.stories.ts"
|
7001
|
-
}
|
7002
|
-
},
|
7003
|
-
{
|
7004
|
-
"kind": "js",
|
7005
|
-
"name": "AnimationOptions",
|
7006
|
-
"declaration": {
|
7007
|
-
"name": "AnimationOptions",
|
7008
|
-
"module": "stories/timered-counter/index.stories.ts"
|
7009
|
-
}
|
7010
|
-
},
|
7011
|
-
{
|
7012
|
-
"kind": "js",
|
7013
|
-
"name": "Styles",
|
7014
|
-
"declaration": {
|
7015
|
-
"name": "Styles",
|
7016
|
-
"module": "stories/timered-counter/index.stories.ts"
|
7017
|
-
}
|
7018
|
-
},
|
6882
|
+
"kind": "function",
|
6883
|
+
"name": "edgeCase",
|
6884
|
+
"parameters": [
|
6885
|
+
{
|
6886
|
+
"name": "context",
|
6887
|
+
"type": {
|
6888
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6889
|
+
}
|
6890
|
+
},
|
6891
|
+
{
|
6892
|
+
"name": "{\n counter,\n list,\n setBy,\n }",
|
6893
|
+
"type": {
|
6894
|
+
"text": "{\n counter: TC;\n list: [label: string, value: T, expectedValue: T][];\n setBy: (counter: TC, key: string, value: T) => void;\n }"
|
6895
|
+
}
|
6896
|
+
}
|
6897
|
+
]
|
6898
|
+
}
|
6899
|
+
],
|
6900
|
+
"exports": [
|
7019
6901
|
{
|
7020
6902
|
"kind": "js",
|
7021
|
-
"name": "
|
6903
|
+
"name": "edgeCase",
|
7022
6904
|
"declaration": {
|
7023
|
-
"name": "
|
7024
|
-
"module": "stories/
|
6905
|
+
"name": "edgeCase",
|
6906
|
+
"module": "stories/story-parts/edge-case.ts"
|
7025
6907
|
}
|
7026
6908
|
}
|
7027
6909
|
]
|
7028
6910
|
},
|
7029
6911
|
{
|
7030
6912
|
"kind": "javascript-module",
|
7031
|
-
"path": "stories/
|
6913
|
+
"path": "stories/story-parts/emoji.ts",
|
7032
6914
|
"declarations": [
|
7033
6915
|
{
|
7034
|
-
"kind": "
|
7035
|
-
"name": "
|
7036
|
-
"
|
7037
|
-
|
7038
|
-
|
7039
|
-
|
7040
|
-
|
7041
|
-
|
7042
|
-
|
7043
|
-
|
7044
|
-
|
7045
|
-
|
7046
|
-
|
7047
|
-
|
7048
|
-
|
7049
|
-
|
7050
|
-
"kind": "variable",
|
7051
|
-
"name": "Precision",
|
7052
|
-
"type": {
|
7053
|
-
"text": "StoryObj<TimeredCounterDatetimeDuration>"
|
7054
|
-
},
|
7055
|
-
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounterDatetimeDuration; await step('Testing with attribute', async () => datetimePrecision(context, { counter, setBy: setByAttr, equal }), ); await step('Testing with property', async () => datetimePrecision(context, { counter, setBy: setByProp, equal }), ); }, }"
|
7056
|
-
},
|
7057
|
-
{
|
7058
|
-
"kind": "variable",
|
7059
|
-
"name": "Locale",
|
7060
|
-
"type": {
|
7061
|
-
"text": "StoryObj<TimeredCounterDatetimeDuration>"
|
7062
|
-
},
|
7063
|
-
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounterDatetimeDuration; await step('Testing with attribute', () => datetimeLocale(context, { counter, setBy: setByAttr, equal }), ); await step('Testing with property', () => datetimeLocale(context, { counter, setBy: setByProp, equal }), ); }, }"
|
6916
|
+
"kind": "function",
|
6917
|
+
"name": "emoji",
|
6918
|
+
"parameters": [
|
6919
|
+
{
|
6920
|
+
"name": "context",
|
6921
|
+
"type": {
|
6922
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6923
|
+
}
|
6924
|
+
},
|
6925
|
+
{
|
6926
|
+
"name": "{\n counter,\n setBy,\n list,\n }",
|
6927
|
+
"type": {
|
6928
|
+
"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 }"
|
6929
|
+
}
|
6930
|
+
}
|
6931
|
+
]
|
7064
6932
|
}
|
7065
6933
|
],
|
7066
6934
|
"exports": [
|
7067
6935
|
{
|
7068
6936
|
"kind": "js",
|
7069
|
-
"name": "
|
7070
|
-
"declaration": {
|
7071
|
-
"name": "meta",
|
7072
|
-
"module": "stories/timered-counter-datetime-duration/index.stories.ts"
|
7073
|
-
}
|
7074
|
-
},
|
7075
|
-
{
|
7076
|
-
"kind": "js",
|
7077
|
-
"name": "Basic",
|
6937
|
+
"name": "emoji",
|
7078
6938
|
"declaration": {
|
7079
|
-
"name": "
|
7080
|
-
"module": "stories/
|
6939
|
+
"name": "emoji",
|
6940
|
+
"module": "stories/story-parts/emoji.ts"
|
7081
6941
|
}
|
7082
|
-
}
|
6942
|
+
}
|
6943
|
+
]
|
6944
|
+
},
|
6945
|
+
{
|
6946
|
+
"kind": "javascript-module",
|
6947
|
+
"path": "stories/story-parts/locale-number.ts",
|
6948
|
+
"declarations": [
|
7083
6949
|
{
|
7084
|
-
"kind": "
|
7085
|
-
"name": "
|
7086
|
-
"
|
7087
|
-
|
7088
|
-
|
7089
|
-
|
7090
|
-
|
6950
|
+
"kind": "function",
|
6951
|
+
"name": "localeNumber",
|
6952
|
+
"parameters": [
|
6953
|
+
{
|
6954
|
+
"name": "context",
|
6955
|
+
"type": {
|
6956
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
6957
|
+
}
|
6958
|
+
},
|
6959
|
+
{
|
6960
|
+
"name": "{\n counter,\n setBy,\n }",
|
6961
|
+
"type": {
|
6962
|
+
"text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: string) => void;\n }"
|
6963
|
+
}
|
6964
|
+
}
|
6965
|
+
]
|
6966
|
+
}
|
6967
|
+
],
|
6968
|
+
"exports": [
|
7091
6969
|
{
|
7092
6970
|
"kind": "js",
|
7093
|
-
"name": "
|
6971
|
+
"name": "localeNumber",
|
7094
6972
|
"declaration": {
|
7095
|
-
"name": "
|
7096
|
-
"module": "stories/
|
6973
|
+
"name": "localeNumber",
|
6974
|
+
"module": "stories/story-parts/locale-number.ts"
|
7097
6975
|
}
|
7098
6976
|
}
|
7099
6977
|
]
|
7100
6978
|
},
|
7101
6979
|
{
|
7102
6980
|
"kind": "javascript-module",
|
7103
|
-
"path": "stories/
|
6981
|
+
"path": "stories/story-parts/slots.ts",
|
7104
6982
|
"declarations": [
|
7105
6983
|
{
|
7106
|
-
"kind": "
|
7107
|
-
"name": "
|
7108
|
-
"
|
7109
|
-
|
7110
|
-
|
7111
|
-
|
6984
|
+
"kind": "function",
|
6985
|
+
"name": "render",
|
6986
|
+
"parameters": [
|
6987
|
+
{
|
6988
|
+
"name": "args",
|
6989
|
+
"type": {
|
6990
|
+
"text": "any"
|
6991
|
+
}
|
6992
|
+
}
|
6993
|
+
]
|
7112
6994
|
},
|
7113
6995
|
{
|
7114
|
-
"kind": "
|
7115
|
-
"name": "
|
7116
|
-
"
|
7117
|
-
|
7118
|
-
|
7119
|
-
|
6996
|
+
"kind": "function",
|
6997
|
+
"name": "slots",
|
6998
|
+
"parameters": [
|
6999
|
+
{
|
7000
|
+
"name": "context",
|
7001
|
+
"type": {
|
7002
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
7003
|
+
}
|
7004
|
+
},
|
7005
|
+
{
|
7006
|
+
"name": "{\n counter,\n }",
|
7007
|
+
"type": {
|
7008
|
+
"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 }"
|
7009
|
+
}
|
7010
|
+
}
|
7011
|
+
]
|
7120
7012
|
}
|
7121
7013
|
],
|
7122
7014
|
"exports": [
|
7123
7015
|
{
|
7124
7016
|
"kind": "js",
|
7125
|
-
"name": "
|
7126
|
-
"declaration": {
|
7127
|
-
"name": "Basic",
|
7128
|
-
"module": "./index.stories.js"
|
7129
|
-
}
|
7130
|
-
},
|
7131
|
-
{
|
7132
|
-
"kind": "js",
|
7133
|
-
"name": "Events",
|
7017
|
+
"name": "render",
|
7134
7018
|
"declaration": {
|
7135
|
-
"name": "
|
7136
|
-
"module": "
|
7019
|
+
"name": "render",
|
7020
|
+
"module": "stories/story-parts/slots.ts"
|
7137
7021
|
}
|
7138
7022
|
},
|
7139
7023
|
{
|
7140
7024
|
"kind": "js",
|
7141
|
-
"name": "
|
7025
|
+
"name": "slots",
|
7142
7026
|
"declaration": {
|
7143
|
-
"name": "
|
7144
|
-
"module": "
|
7027
|
+
"name": "slots",
|
7028
|
+
"module": "stories/story-parts/slots.ts"
|
7145
7029
|
}
|
7146
|
-
}
|
7030
|
+
}
|
7031
|
+
]
|
7032
|
+
},
|
7033
|
+
{
|
7034
|
+
"kind": "javascript-module",
|
7035
|
+
"path": "stories/story-parts/styles.ts",
|
7036
|
+
"declarations": [
|
7147
7037
|
{
|
7148
|
-
"kind": "
|
7149
|
-
"name": "
|
7150
|
-
"
|
7151
|
-
|
7152
|
-
|
7153
|
-
|
7154
|
-
|
7038
|
+
"kind": "function",
|
7039
|
+
"name": "styles",
|
7040
|
+
"parameters": [
|
7041
|
+
{
|
7042
|
+
"name": "context",
|
7043
|
+
"type": {
|
7044
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
7045
|
+
}
|
7046
|
+
},
|
7047
|
+
{
|
7048
|
+
"name": "{\n counter,\n setBy,\n }",
|
7049
|
+
"type": {
|
7050
|
+
"text": "{\n counter: TC;\n setBy: (counter: TC, key: string, value: string) => void;\n }"
|
7051
|
+
}
|
7052
|
+
}
|
7053
|
+
]
|
7054
|
+
}
|
7055
|
+
],
|
7056
|
+
"exports": [
|
7155
7057
|
{
|
7156
7058
|
"kind": "js",
|
7157
|
-
"name": "
|
7059
|
+
"name": "styles",
|
7158
7060
|
"declaration": {
|
7159
|
-
"name": "
|
7160
|
-
"module": "
|
7061
|
+
"name": "styles",
|
7062
|
+
"module": "stories/story-parts/styles.ts"
|
7161
7063
|
}
|
7162
|
-
}
|
7064
|
+
}
|
7065
|
+
]
|
7066
|
+
},
|
7067
|
+
{
|
7068
|
+
"kind": "javascript-module",
|
7069
|
+
"path": "stories/story-parts/value-change.ts",
|
7070
|
+
"declarations": [
|
7163
7071
|
{
|
7164
|
-
"kind": "
|
7165
|
-
"name": "
|
7166
|
-
"
|
7167
|
-
|
7168
|
-
|
7169
|
-
|
7170
|
-
|
7072
|
+
"kind": "function",
|
7073
|
+
"name": "valueChange",
|
7074
|
+
"parameters": [
|
7075
|
+
{
|
7076
|
+
"name": "context",
|
7077
|
+
"type": {
|
7078
|
+
"text": "Parameters<NoUndefinedField<StoryObj>['play']>[0]"
|
7079
|
+
}
|
7080
|
+
},
|
7081
|
+
{
|
7082
|
+
"name": "{\n counter,\n list = range(0, 5).map(v => v * 10) as T[],\n setBy,\n equal = _equal,\n }",
|
7083
|
+
"type": {
|
7084
|
+
"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 }"
|
7085
|
+
}
|
7086
|
+
}
|
7087
|
+
]
|
7088
|
+
}
|
7089
|
+
],
|
7090
|
+
"exports": [
|
7171
7091
|
{
|
7172
7092
|
"kind": "js",
|
7173
|
-
"name": "
|
7093
|
+
"name": "valueChange",
|
7174
7094
|
"declaration": {
|
7175
|
-
"name": "
|
7176
|
-
"module": "stories/
|
7095
|
+
"name": "valueChange",
|
7096
|
+
"module": "stories/story-parts/value-change.ts"
|
7177
7097
|
}
|
7178
7098
|
}
|
7179
7099
|
]
|
7180
7100
|
},
|
7181
7101
|
{
|
7182
7102
|
"kind": "javascript-module",
|
7183
|
-
"path": "stories/
|
7103
|
+
"path": "stories/utils/index.ts",
|
7184
7104
|
"declarations": [
|
7185
7105
|
{
|
7186
|
-
"kind": "
|
7187
|
-
"name": "
|
7188
|
-
"
|
7189
|
-
|
7190
|
-
|
7191
|
-
|
7192
|
-
|
7193
|
-
|
7194
|
-
|
7195
|
-
|
7196
|
-
|
7197
|
-
|
7198
|
-
|
7199
|
-
|
7200
|
-
|
7201
|
-
|
7202
|
-
|
7203
|
-
|
7204
|
-
|
7205
|
-
|
7206
|
-
|
7207
|
-
|
7106
|
+
"kind": "function",
|
7107
|
+
"name": "equal",
|
7108
|
+
"parameters": [
|
7109
|
+
{
|
7110
|
+
"name": "counter",
|
7111
|
+
"type": {
|
7112
|
+
"text": "TimeredCounter"
|
7113
|
+
}
|
7114
|
+
},
|
7115
|
+
{
|
7116
|
+
"name": "a",
|
7117
|
+
"type": {
|
7118
|
+
"text": "any"
|
7119
|
+
}
|
7120
|
+
},
|
7121
|
+
{
|
7122
|
+
"name": "b",
|
7123
|
+
"type": {
|
7124
|
+
"text": "any"
|
7125
|
+
}
|
7126
|
+
}
|
7127
|
+
]
|
7208
7128
|
},
|
7209
7129
|
{
|
7210
|
-
"kind": "
|
7211
|
-
"name": "
|
7212
|
-
"
|
7213
|
-
|
7214
|
-
|
7215
|
-
|
7130
|
+
"kind": "function",
|
7131
|
+
"name": "setByAttr",
|
7132
|
+
"parameters": [
|
7133
|
+
{
|
7134
|
+
"name": "element",
|
7135
|
+
"type": {
|
7136
|
+
"text": "TimeredCounter"
|
7137
|
+
}
|
7138
|
+
},
|
7139
|
+
{
|
7140
|
+
"name": "attr",
|
7141
|
+
"type": {
|
7142
|
+
"text": "string"
|
7143
|
+
}
|
7144
|
+
},
|
7145
|
+
{
|
7146
|
+
"name": "value",
|
7147
|
+
"type": {
|
7148
|
+
"text": "any"
|
7149
|
+
}
|
7150
|
+
}
|
7151
|
+
]
|
7216
7152
|
},
|
7217
7153
|
{
|
7218
|
-
"kind": "
|
7219
|
-
"name": "
|
7220
|
-
"
|
7221
|
-
|
7222
|
-
|
7223
|
-
|
7154
|
+
"kind": "function",
|
7155
|
+
"name": "setByProp",
|
7156
|
+
"parameters": [
|
7157
|
+
{
|
7158
|
+
"name": "element",
|
7159
|
+
"type": {
|
7160
|
+
"text": "TimeredCounter"
|
7161
|
+
}
|
7162
|
+
},
|
7163
|
+
{
|
7164
|
+
"name": "prop",
|
7165
|
+
"type": {
|
7166
|
+
"text": "string"
|
7167
|
+
}
|
7168
|
+
},
|
7169
|
+
{
|
7170
|
+
"name": "value",
|
7171
|
+
"type": {
|
7172
|
+
"text": "any"
|
7173
|
+
}
|
7174
|
+
}
|
7175
|
+
]
|
7224
7176
|
},
|
7225
7177
|
{
|
7226
|
-
"kind": "
|
7227
|
-
"name": "
|
7228
|
-
"
|
7229
|
-
|
7230
|
-
|
7231
|
-
|
7178
|
+
"kind": "function",
|
7179
|
+
"name": "sleep",
|
7180
|
+
"parameters": [
|
7181
|
+
{
|
7182
|
+
"name": "ms",
|
7183
|
+
"type": {
|
7184
|
+
"text": "number"
|
7185
|
+
}
|
7186
|
+
}
|
7187
|
+
]
|
7232
7188
|
}
|
7233
7189
|
],
|
7234
7190
|
"exports": [
|
7235
7191
|
{
|
7236
7192
|
"kind": "js",
|
7237
|
-
"name": "
|
7238
|
-
"declaration": {
|
7239
|
-
"name": "meta",
|
7240
|
-
"module": "stories/timered-counter-number/index.stories.ts"
|
7241
|
-
}
|
7242
|
-
},
|
7243
|
-
{
|
7244
|
-
"kind": "js",
|
7245
|
-
"name": "Basic",
|
7246
|
-
"declaration": {
|
7247
|
-
"name": "Basic",
|
7248
|
-
"module": "stories/timered-counter-number/index.stories.ts"
|
7249
|
-
}
|
7250
|
-
},
|
7251
|
-
{
|
7252
|
-
"kind": "js",
|
7253
|
-
"name": "Events",
|
7193
|
+
"name": "equal",
|
7254
7194
|
"declaration": {
|
7255
|
-
"name": "
|
7256
|
-
"module": "stories/
|
7195
|
+
"name": "equal",
|
7196
|
+
"module": "stories/utils/index.ts"
|
7257
7197
|
}
|
7258
7198
|
},
|
7259
7199
|
{
|
7260
7200
|
"kind": "js",
|
7261
|
-
"name": "
|
7201
|
+
"name": "setByAttr",
|
7262
7202
|
"declaration": {
|
7263
|
-
"name": "
|
7264
|
-
"module": "stories/
|
7203
|
+
"name": "setByAttr",
|
7204
|
+
"module": "stories/utils/index.ts"
|
7265
7205
|
}
|
7266
7206
|
},
|
7267
7207
|
{
|
7268
7208
|
"kind": "js",
|
7269
|
-
"name": "
|
7209
|
+
"name": "setByProp",
|
7270
7210
|
"declaration": {
|
7271
|
-
"name": "
|
7272
|
-
"module": "stories/
|
7211
|
+
"name": "setByProp",
|
7212
|
+
"module": "stories/utils/index.ts"
|
7273
7213
|
}
|
7274
7214
|
},
|
7275
7215
|
{
|
7276
7216
|
"kind": "js",
|
7277
|
-
"name": "
|
7217
|
+
"name": "sleep",
|
7278
7218
|
"declaration": {
|
7279
|
-
"name": "
|
7280
|
-
"module": "stories/
|
7219
|
+
"name": "sleep",
|
7220
|
+
"module": "stories/utils/index.ts"
|
7281
7221
|
}
|
7282
7222
|
}
|
7283
7223
|
]
|
@@ -7516,55 +7456,143 @@
|
|
7516
7456
|
"kind": "js",
|
7517
7457
|
"name": "default",
|
7518
7458
|
"declaration": {
|
7519
|
-
"name": "meta",
|
7520
|
-
"module": "stories/timered-counter-string/index.stories.ts"
|
7459
|
+
"name": "meta",
|
7460
|
+
"module": "stories/timered-counter-string/index.stories.ts"
|
7461
|
+
}
|
7462
|
+
},
|
7463
|
+
{
|
7464
|
+
"kind": "js",
|
7465
|
+
"name": "Basic",
|
7466
|
+
"declaration": {
|
7467
|
+
"name": "Basic",
|
7468
|
+
"module": "stories/timered-counter-string/index.stories.ts"
|
7469
|
+
}
|
7470
|
+
},
|
7471
|
+
{
|
7472
|
+
"kind": "js",
|
7473
|
+
"name": "Events",
|
7474
|
+
"declaration": {
|
7475
|
+
"name": "Events",
|
7476
|
+
"module": "stories/timered-counter-string/index.stories.ts"
|
7477
|
+
}
|
7478
|
+
},
|
7479
|
+
{
|
7480
|
+
"kind": "js",
|
7481
|
+
"name": "AnimationOptions",
|
7482
|
+
"declaration": {
|
7483
|
+
"name": "AnimationOptions",
|
7484
|
+
"module": "stories/timered-counter-string/index.stories.ts"
|
7485
|
+
}
|
7486
|
+
},
|
7487
|
+
{
|
7488
|
+
"kind": "js",
|
7489
|
+
"name": "Styles",
|
7490
|
+
"declaration": {
|
7491
|
+
"name": "Styles",
|
7492
|
+
"module": "stories/timered-counter-string/index.stories.ts"
|
7493
|
+
}
|
7494
|
+
},
|
7495
|
+
{
|
7496
|
+
"kind": "js",
|
7497
|
+
"name": "Emoji",
|
7498
|
+
"declaration": {
|
7499
|
+
"name": "Emoji",
|
7500
|
+
"module": "stories/timered-counter-string/index.stories.ts"
|
7501
|
+
}
|
7502
|
+
}
|
7503
|
+
]
|
7504
|
+
},
|
7505
|
+
{
|
7506
|
+
"kind": "javascript-module",
|
7507
|
+
"path": "stories/timered-counter-string/intl-segmenter.stories.ts",
|
7508
|
+
"declarations": [
|
7509
|
+
{
|
7510
|
+
"kind": "variable",
|
7511
|
+
"name": "meta",
|
7512
|
+
"type": {
|
7513
|
+
"text": "Meta"
|
7514
|
+
},
|
7515
|
+
"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'); }, }"
|
7516
|
+
},
|
7517
|
+
{
|
7518
|
+
"kind": "variable",
|
7519
|
+
"name": "Events",
|
7520
|
+
"type": {
|
7521
|
+
"text": "StoryObj<TimeredCounterString>"
|
7522
|
+
},
|
7523
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100 }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; const list = range(0, 5).map(() => faker.lorem.sentence({ min: 1, max: 2 }), ); await step('Testing with attribute', () => animationEvents(context, { counter, list, setBy: setByAttr, equal }), ); await step('Testing with property', () => animationEvents(context, { counter, list, setBy: setByProp, equal }), ); }, }"
|
7524
|
+
},
|
7525
|
+
{
|
7526
|
+
"kind": "variable",
|
7527
|
+
"name": "BigNumber",
|
7528
|
+
"type": {
|
7529
|
+
"text": "StoryObj<TimeredCounterString>"
|
7530
|
+
},
|
7531
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => bigNumber(context, { counter, setBy: setByAttr, equal }), ); await step('Testing with property', async () => bigNumber(context, { counter, setBy: setByProp, equal }), ); }, }"
|
7532
|
+
}
|
7533
|
+
],
|
7534
|
+
"exports": [
|
7535
|
+
{
|
7536
|
+
"kind": "js",
|
7537
|
+
"name": "Basic",
|
7538
|
+
"declaration": {
|
7539
|
+
"name": "Basic",
|
7540
|
+
"module": "./index.stories.js"
|
7541
|
+
}
|
7542
|
+
},
|
7543
|
+
{
|
7544
|
+
"kind": "js",
|
7545
|
+
"name": "AnimationOptions",
|
7546
|
+
"declaration": {
|
7547
|
+
"name": "AnimationOptions",
|
7548
|
+
"module": "./index.stories.js"
|
7521
7549
|
}
|
7522
7550
|
},
|
7523
7551
|
{
|
7524
7552
|
"kind": "js",
|
7525
|
-
"name": "
|
7553
|
+
"name": "Styles",
|
7526
7554
|
"declaration": {
|
7527
|
-
"name": "
|
7528
|
-
"module": "
|
7555
|
+
"name": "Styles",
|
7556
|
+
"module": "./index.stories.js"
|
7529
7557
|
}
|
7530
7558
|
},
|
7531
7559
|
{
|
7532
7560
|
"kind": "js",
|
7533
|
-
"name": "
|
7561
|
+
"name": "Emoji",
|
7534
7562
|
"declaration": {
|
7535
|
-
"name": "
|
7536
|
-
"module": "
|
7563
|
+
"name": "Emoji",
|
7564
|
+
"module": "./index.stories.js"
|
7537
7565
|
}
|
7538
7566
|
},
|
7539
7567
|
{
|
7540
7568
|
"kind": "js",
|
7541
|
-
"name": "
|
7569
|
+
"name": "default",
|
7542
7570
|
"declaration": {
|
7543
|
-
"name": "
|
7544
|
-
"module": "stories/timered-counter-string/
|
7571
|
+
"name": "meta",
|
7572
|
+
"module": "stories/timered-counter-string/intl-segmenter.stories.ts"
|
7545
7573
|
}
|
7546
7574
|
},
|
7547
7575
|
{
|
7548
7576
|
"kind": "js",
|
7549
|
-
"name": "
|
7577
|
+
"name": "Events",
|
7550
7578
|
"declaration": {
|
7551
|
-
"name": "
|
7552
|
-
"module": "stories/timered-counter-string/
|
7579
|
+
"name": "Events",
|
7580
|
+
"module": "stories/timered-counter-string/intl-segmenter.stories.ts"
|
7553
7581
|
}
|
7554
7582
|
},
|
7555
7583
|
{
|
7556
7584
|
"kind": "js",
|
7557
|
-
"name": "
|
7585
|
+
"name": "BigNumber",
|
7558
7586
|
"declaration": {
|
7559
|
-
"name": "
|
7560
|
-
"module": "stories/timered-counter-string/
|
7587
|
+
"name": "BigNumber",
|
7588
|
+
"module": "stories/timered-counter-string/intl-segmenter.stories.ts"
|
7561
7589
|
}
|
7562
7590
|
}
|
7563
7591
|
]
|
7564
7592
|
},
|
7565
7593
|
{
|
7566
7594
|
"kind": "javascript-module",
|
7567
|
-
"path": "stories/timered-counter-
|
7595
|
+
"path": "stories/timered-counter-number/decimaljs.stories.ts",
|
7568
7596
|
"declarations": [
|
7569
7597
|
{
|
7570
7598
|
"kind": "variable",
|
@@ -7572,23 +7600,15 @@
|
|
7572
7600
|
"type": {
|
7573
7601
|
"text": "Meta"
|
7574
7602
|
},
|
7575
|
-
"default": "{ title: '
|
7576
|
-
},
|
7577
|
-
{
|
7578
|
-
"kind": "variable",
|
7579
|
-
"name": "Events",
|
7580
|
-
"type": {
|
7581
|
-
"text": "StoryObj<TimeredCounterString>"
|
7582
|
-
},
|
7583
|
-
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100 }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; const list = range(0, 5).map(() => faker.lorem.sentence({ min: 1, max: 2 }), ); await step('Testing with attribute', () => animationEvents(context, { counter, list, setBy: setByAttr, equal }), ); await step('Testing with property', () => animationEvents(context, { counter, list, setBy: setByProp, equal }), ); }, }"
|
7603
|
+
"default": "{ title: 'TimeredCounterNumber/with decimal.js', component: 'timered-counter-number', tags: ['autodocs', 'timered-counter-number'], parameters: { controls: { expanded: true }, }, beforeEach: () => { setNumberAdapter('decimal.js'); }, }"
|
7584
7604
|
},
|
7585
7605
|
{
|
7586
7606
|
"kind": "variable",
|
7587
7607
|
"name": "BigNumber",
|
7588
7608
|
"type": {
|
7589
|
-
"text": "StoryObj<
|
7609
|
+
"text": "StoryObj<TimeredCounterNumber>"
|
7590
7610
|
},
|
7591
|
-
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => bigNumber(context, { counter, setBy: setByAttr
|
7611
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => bigNumber(context, { counter, setBy: setByAttr }), ); await step('Testing with property', async () => bigNumber(context, { counter, setBy: setByProp }), ); }, }"
|
7592
7612
|
}
|
7593
7613
|
],
|
7594
7614
|
"exports": [
|
@@ -7602,9 +7622,9 @@
|
|
7602
7622
|
},
|
7603
7623
|
{
|
7604
7624
|
"kind": "js",
|
7605
|
-
"name": "
|
7625
|
+
"name": "Events",
|
7606
7626
|
"declaration": {
|
7607
|
-
"name": "
|
7627
|
+
"name": "Events",
|
7608
7628
|
"module": "./index.stories.js"
|
7609
7629
|
}
|
7610
7630
|
},
|
@@ -7618,26 +7638,26 @@
|
|
7618
7638
|
},
|
7619
7639
|
{
|
7620
7640
|
"kind": "js",
|
7621
|
-
"name": "
|
7641
|
+
"name": "LocaleNumber",
|
7622
7642
|
"declaration": {
|
7623
|
-
"name": "
|
7643
|
+
"name": "LocaleNumber",
|
7624
7644
|
"module": "./index.stories.js"
|
7625
7645
|
}
|
7626
7646
|
},
|
7627
7647
|
{
|
7628
7648
|
"kind": "js",
|
7629
|
-
"name": "
|
7649
|
+
"name": "AnimationOptions",
|
7630
7650
|
"declaration": {
|
7631
|
-
"name": "
|
7632
|
-
"module": "
|
7651
|
+
"name": "AnimationOptions",
|
7652
|
+
"module": "./index.stories.js"
|
7633
7653
|
}
|
7634
7654
|
},
|
7635
7655
|
{
|
7636
7656
|
"kind": "js",
|
7637
|
-
"name": "
|
7657
|
+
"name": "default",
|
7638
7658
|
"declaration": {
|
7639
|
-
"name": "
|
7640
|
-
"module": "stories/timered-counter-
|
7659
|
+
"name": "meta",
|
7660
|
+
"module": "stories/timered-counter-number/decimaljs.stories.ts"
|
7641
7661
|
}
|
7642
7662
|
},
|
7643
7663
|
{
|
@@ -7645,131 +7665,111 @@
|
|
7645
7665
|
"name": "BigNumber",
|
7646
7666
|
"declaration": {
|
7647
7667
|
"name": "BigNumber",
|
7648
|
-
"module": "stories/timered-counter-
|
7668
|
+
"module": "stories/timered-counter-number/decimaljs.stories.ts"
|
7649
7669
|
}
|
7650
7670
|
}
|
7651
7671
|
]
|
7652
7672
|
},
|
7653
7673
|
{
|
7654
7674
|
"kind": "javascript-module",
|
7655
|
-
"path": "stories/
|
7675
|
+
"path": "stories/timered-counter-number/index.stories.ts",
|
7656
7676
|
"declarations": [
|
7657
7677
|
{
|
7658
|
-
"kind": "
|
7659
|
-
"name": "
|
7660
|
-
"
|
7661
|
-
|
7662
|
-
|
7663
|
-
|
7664
|
-
"text": "TimeredCounter"
|
7665
|
-
}
|
7666
|
-
},
|
7667
|
-
{
|
7668
|
-
"name": "a",
|
7669
|
-
"type": {
|
7670
|
-
"text": "any"
|
7671
|
-
}
|
7672
|
-
},
|
7673
|
-
{
|
7674
|
-
"name": "b",
|
7675
|
-
"type": {
|
7676
|
-
"text": "any"
|
7677
|
-
}
|
7678
|
-
}
|
7679
|
-
]
|
7678
|
+
"kind": "variable",
|
7679
|
+
"name": "meta",
|
7680
|
+
"type": {
|
7681
|
+
"text": "Meta"
|
7682
|
+
},
|
7683
|
+
"default": "{ title: 'TimeredCounterNumber', component: 'timered-counter-number', tags: ['autodocs', 'timered-counter-number'], parameters: { controls: { expanded: true }, }, beforeEach: () => { setNumberAdapter('number'); }, }"
|
7680
7684
|
},
|
7681
7685
|
{
|
7682
|
-
"kind": "
|
7683
|
-
"name": "
|
7684
|
-
"
|
7685
|
-
|
7686
|
-
|
7687
|
-
|
7688
|
-
"text": "TimeredCounter"
|
7689
|
-
}
|
7690
|
-
},
|
7691
|
-
{
|
7692
|
-
"name": "attr",
|
7693
|
-
"type": {
|
7694
|
-
"text": "string"
|
7695
|
-
}
|
7696
|
-
},
|
7697
|
-
{
|
7698
|
-
"name": "value",
|
7699
|
-
"type": {
|
7700
|
-
"text": "any"
|
7701
|
-
}
|
7702
|
-
}
|
7703
|
-
]
|
7686
|
+
"kind": "variable",
|
7687
|
+
"name": "Basic",
|
7688
|
+
"type": {
|
7689
|
+
"text": "StoryObj<TimeredCounterNumber>"
|
7690
|
+
},
|
7691
|
+
"default": "{ args: { className: 'test-target', // @ts-ignore value: '0', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => { await valueChange(context, { counter, setBy: setByAttr, }); await step('Edge case', async () => edgeCase(context, { counter, list: [ ['Setting an empty string', '', '0'], ['Setting a non-number', 'a', '0'], ['Setting a decimal number', '1.1', '1.1'], ['Setting a negative number', '-1', '-1'], ['Setting Infinity', 'Infinity', '0'], ['Setting NaN', 'NaN', '0'], ['Setting null', 'null', '0'], ['Setting undefined', 'undefined', '0'], ['Setting true', 'true', '0'], ['Setting false', 'false', '0'], ['Setting an object', '{}', '0'], ['Setting an array', '[]', '0'], ['Setting a function', '() => {}', '0'], ['Setting a Symbol', 'Symbol()', '0'], ['Setting a BigInt', 'BigInt(1)', '0'], ], setBy: setByAttr, }), ); }); await step('Testing with property', async () => { await valueChange(context, { counter, setBy: setByProp }); await step('Edge case', async () => edgeCase(context, { counter, list: [ ['Setting an empty string', '', 0], ['Setting a non-number', 'a', 0], ['Setting a decimal number', '1.1', 1.1], ['Setting a negative number', '-1', -1], ['Setting Infinity', 'Infinity', 0], ['Setting NaN', 'NaN', 0], ['Setting null', 'null', 0], ['Setting undefined', 'undefined', 0], ['Setting true', 'true', 0], ['Setting false', 'false', 0], ['Setting an object', '{}', 0], ['Setting an array', '[]', 0], ['Setting a function', '() => {}', 0], ['Setting a Symbol', 'Symbol()', 0], ['Setting a BigInt', 'BigInt(1)', 0], ], setBy: setByProp, }), ); }); }, }"
|
7704
7692
|
},
|
7705
7693
|
{
|
7706
|
-
"kind": "
|
7707
|
-
"name": "
|
7708
|
-
"
|
7709
|
-
|
7710
|
-
|
7711
|
-
|
7712
|
-
"text": "TimeredCounter"
|
7713
|
-
}
|
7714
|
-
},
|
7715
|
-
{
|
7716
|
-
"name": "prop",
|
7717
|
-
"type": {
|
7718
|
-
"text": "string"
|
7719
|
-
}
|
7720
|
-
},
|
7721
|
-
{
|
7722
|
-
"name": "value",
|
7723
|
-
"type": {
|
7724
|
-
"text": "any"
|
7725
|
-
}
|
7726
|
-
}
|
7727
|
-
]
|
7694
|
+
"kind": "variable",
|
7695
|
+
"name": "Events",
|
7696
|
+
"type": {
|
7697
|
+
"text": "StoryObj<TimeredCounterNumber>"
|
7698
|
+
},
|
7699
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => { await step('Animation events', async () => animationEvents(context, { counter, setBy: setByAttr, }), ); }); await step('Testing with property', async () => { await step('Animation events', async () => animationEvents(context, { counter, setBy: setByProp, }), ); }); }, }"
|
7728
7700
|
},
|
7729
7701
|
{
|
7730
|
-
"kind": "
|
7731
|
-
"name": "
|
7732
|
-
"
|
7733
|
-
|
7734
|
-
|
7735
|
-
|
7736
|
-
|
7737
|
-
|
7738
|
-
|
7739
|
-
|
7702
|
+
"kind": "variable",
|
7703
|
+
"name": "AnimationOptions",
|
7704
|
+
"type": {
|
7705
|
+
"text": "StoryObj<TimeredCounterNumber>"
|
7706
|
+
},
|
7707
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => { await step('Animation options', async () => animationOptions(context, { counter, setBy: setByAttr, }), ); }); // await step('Testing with property', async () => { // await step('Animation options', async () => // animationOptions(context, { // counter, // list, // setBy: setByProp, // }), // ); // }); }, }"
|
7708
|
+
},
|
7709
|
+
{
|
7710
|
+
"kind": "variable",
|
7711
|
+
"name": "Styles",
|
7712
|
+
"type": {
|
7713
|
+
"text": "StoryObj<TimeredCounterNumber>"
|
7714
|
+
},
|
7715
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => { await step('Styles', async () => styles(context, { counter, setBy: setByAttr, }), ); }); await step('Testing with property', async () => { await step('Styles', async () => styles(context, { counter, setBy: setByProp, }), ); }); }, }"
|
7716
|
+
},
|
7717
|
+
{
|
7718
|
+
"kind": "variable",
|
7719
|
+
"name": "LocaleNumber",
|
7720
|
+
"type": {
|
7721
|
+
"text": "StoryObj<TimeredCounterNumber>"
|
7722
|
+
},
|
7723
|
+
"default": "{ args: { className: 'test-target', animationOptions: { duration: 100, }, }, async play(context) { const { canvasElement, step } = context; const counter = canvasElement.querySelector( '.test-target', ) as TimeredCounter; await step('Testing with attribute', async () => { await step('Locale number', async () => localeNumber(context, { counter, setBy: setByAttr, }), ); }); await step('Testing with property', async () => { await step('Locale number', async () => localeNumber(context, { counter, setBy: setByProp, }), ); }); }, }"
|
7740
7724
|
}
|
7741
7725
|
],
|
7742
7726
|
"exports": [
|
7743
7727
|
{
|
7744
7728
|
"kind": "js",
|
7745
|
-
"name": "
|
7729
|
+
"name": "default",
|
7746
7730
|
"declaration": {
|
7747
|
-
"name": "
|
7748
|
-
"module": "stories/
|
7731
|
+
"name": "meta",
|
7732
|
+
"module": "stories/timered-counter-number/index.stories.ts"
|
7749
7733
|
}
|
7750
7734
|
},
|
7751
7735
|
{
|
7752
7736
|
"kind": "js",
|
7753
|
-
"name": "
|
7737
|
+
"name": "Basic",
|
7754
7738
|
"declaration": {
|
7755
|
-
"name": "
|
7756
|
-
"module": "stories/
|
7739
|
+
"name": "Basic",
|
7740
|
+
"module": "stories/timered-counter-number/index.stories.ts"
|
7757
7741
|
}
|
7758
7742
|
},
|
7759
7743
|
{
|
7760
7744
|
"kind": "js",
|
7761
|
-
"name": "
|
7745
|
+
"name": "Events",
|
7762
7746
|
"declaration": {
|
7763
|
-
"name": "
|
7764
|
-
"module": "stories/
|
7747
|
+
"name": "Events",
|
7748
|
+
"module": "stories/timered-counter-number/index.stories.ts"
|
7765
7749
|
}
|
7766
7750
|
},
|
7767
7751
|
{
|
7768
7752
|
"kind": "js",
|
7769
|
-
"name": "
|
7753
|
+
"name": "AnimationOptions",
|
7770
7754
|
"declaration": {
|
7771
|
-
"name": "
|
7772
|
-
"module": "stories/
|
7755
|
+
"name": "AnimationOptions",
|
7756
|
+
"module": "stories/timered-counter-number/index.stories.ts"
|
7757
|
+
}
|
7758
|
+
},
|
7759
|
+
{
|
7760
|
+
"kind": "js",
|
7761
|
+
"name": "Styles",
|
7762
|
+
"declaration": {
|
7763
|
+
"name": "Styles",
|
7764
|
+
"module": "stories/timered-counter-number/index.stories.ts"
|
7765
|
+
}
|
7766
|
+
},
|
7767
|
+
{
|
7768
|
+
"kind": "js",
|
7769
|
+
"name": "LocaleNumber",
|
7770
|
+
"declaration": {
|
7771
|
+
"name": "LocaleNumber",
|
7772
|
+
"module": "stories/timered-counter-number/index.stories.ts"
|
7773
7773
|
}
|
7774
7774
|
}
|
7775
7775
|
]
|
@@ -7872,18 +7872,6 @@
|
|
7872
7872
|
"declarations": [],
|
7873
7873
|
"exports": []
|
7874
7874
|
},
|
7875
|
-
{
|
7876
|
-
"kind": "javascript-module",
|
7877
|
-
"path": "storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js",
|
7878
|
-
"declarations": [],
|
7879
|
-
"exports": []
|
7880
|
-
},
|
7881
|
-
{
|
7882
|
-
"kind": "javascript-module",
|
7883
|
-
"path": "storybook-static/sb-addons/essentials-actions-2/manager-bundle.js",
|
7884
|
-
"declarations": [],
|
7885
|
-
"exports": []
|
7886
|
-
},
|
7887
7875
|
{
|
7888
7876
|
"kind": "javascript-module",
|
7889
7877
|
"path": "src/transitions/roller/index.ts",
|
@@ -8452,7 +8440,7 @@
|
|
8452
8440
|
},
|
8453
8441
|
{
|
8454
8442
|
"kind": "javascript-module",
|
8455
|
-
"path": "storybook-static/sb-addons/
|
8443
|
+
"path": "storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js",
|
8456
8444
|
"declarations": [],
|
8457
8445
|
"exports": []
|
8458
8446
|
},
|
@@ -8462,6 +8450,12 @@
|
|
8462
8450
|
"declarations": [],
|
8463
8451
|
"exports": []
|
8464
8452
|
},
|
8453
|
+
{
|
8454
|
+
"kind": "javascript-module",
|
8455
|
+
"path": "storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js",
|
8456
|
+
"declarations": [],
|
8457
|
+
"exports": []
|
8458
|
+
},
|
8465
8459
|
{
|
8466
8460
|
"kind": "javascript-module",
|
8467
8461
|
"path": "storybook-static/sb-addons/essentials-docs-3/manager-bundle.js",
|
@@ -8486,6 +8480,12 @@
|
|
8486
8480
|
"declarations": [],
|
8487
8481
|
"exports": []
|
8488
8482
|
},
|
8483
|
+
{
|
8484
|
+
"kind": "javascript-module",
|
8485
|
+
"path": "storybook-static/sb-addons/essentials-actions-2/manager-bundle.js",
|
8486
|
+
"declarations": [],
|
8487
|
+
"exports": []
|
8488
|
+
},
|
8489
8489
|
{
|
8490
8490
|
"kind": "javascript-module",
|
8491
8491
|
"path": "storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js",
|