scu-web-components 0.0.45 → 0.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +535 -535
- package/dist/custom-elements.json.gz +0 -0
- package/dist/docs/components/manifest.json +12 -12
- package/dist/docs/config.json +3 -3
- package/dist/tokens/css.html +2 -2
- package/dist/tokens/css.html.gz +0 -0
- package/dist/tokens/source/cssPropertiesApi.ts +7 -7
- package/dist/tokens/source/jsCss.js +1 -1
- package/dist/tokens/source/jsCss.js.gz +0 -0
- package/dist/tokens/source/jsCssGenerator.js +1 -1
- package/dist/tokens/source/jsCssGenerator.js.gz +0 -0
- package/dist/tokens/source/jsCssGeneratorSansAssets.js +1 -1
- package/dist/tokens/source/jsCssGeneratorSansAssets.js.gz +0 -0
- package/dist/tokens/tokens.html +2 -2
- package/dist/tokens/tokens.html.gz +0 -0
- package/package.json +1 -1
|
@@ -2032,12 +2032,12 @@
|
|
|
2032
2032
|
},
|
|
2033
2033
|
{
|
|
2034
2034
|
"kind": "javascript-module",
|
|
2035
|
-
"path": "src/scw-flex-
|
|
2035
|
+
"path": "src/scw-flex-v-component/scw-flex-v-component.ts",
|
|
2036
2036
|
"declarations": [
|
|
2037
2037
|
{
|
|
2038
2038
|
"kind": "class",
|
|
2039
|
-
"description": "
|
|
2040
|
-
"name": "
|
|
2039
|
+
"description": "ScwFlexVComponent",
|
|
2040
|
+
"name": "ScwFlexVComponent",
|
|
2041
2041
|
"members": [
|
|
2042
2042
|
{
|
|
2043
2043
|
"kind": "field",
|
|
@@ -2176,7 +2176,7 @@
|
|
|
2176
2176
|
"name": "ScwComponent",
|
|
2177
2177
|
"module": "/src/scw-component/ScwComponent"
|
|
2178
2178
|
},
|
|
2179
|
-
"tagName": "scw-flex-
|
|
2179
|
+
"tagName": "scw-flex-v-component",
|
|
2180
2180
|
"customElement": true,
|
|
2181
2181
|
"attributes": [
|
|
2182
2182
|
{
|
|
@@ -2251,20 +2251,20 @@
|
|
|
2251
2251
|
"kind": "js",
|
|
2252
2252
|
"name": "default",
|
|
2253
2253
|
"declaration": {
|
|
2254
|
-
"name": "
|
|
2255
|
-
"module": "src/scw-flex-
|
|
2254
|
+
"name": "ScwFlexVComponent",
|
|
2255
|
+
"module": "src/scw-flex-v-component/scw-flex-v-component.ts"
|
|
2256
2256
|
}
|
|
2257
2257
|
}
|
|
2258
2258
|
]
|
|
2259
2259
|
},
|
|
2260
2260
|
{
|
|
2261
2261
|
"kind": "javascript-module",
|
|
2262
|
-
"path": "src/scw-
|
|
2262
|
+
"path": "src/scw-float-component/scw-float-component.ts",
|
|
2263
2263
|
"declarations": [
|
|
2264
2264
|
{
|
|
2265
2265
|
"kind": "class",
|
|
2266
|
-
"description": "
|
|
2267
|
-
"name": "
|
|
2266
|
+
"description": "ScwFloatComponent",
|
|
2267
|
+
"name": "ScwFloatComponent",
|
|
2268
2268
|
"members": [
|
|
2269
2269
|
{
|
|
2270
2270
|
"kind": "field",
|
|
@@ -2403,7 +2403,7 @@
|
|
|
2403
2403
|
"name": "ScwComponent",
|
|
2404
2404
|
"module": "/src/scw-component/ScwComponent"
|
|
2405
2405
|
},
|
|
2406
|
-
"tagName": "scw-
|
|
2406
|
+
"tagName": "scw-float-component",
|
|
2407
2407
|
"customElement": true,
|
|
2408
2408
|
"attributes": [
|
|
2409
2409
|
{
|
|
@@ -2478,20 +2478,20 @@
|
|
|
2478
2478
|
"kind": "js",
|
|
2479
2479
|
"name": "default",
|
|
2480
2480
|
"declaration": {
|
|
2481
|
-
"name": "
|
|
2482
|
-
"module": "src/scw-
|
|
2481
|
+
"name": "ScwFloatComponent",
|
|
2482
|
+
"module": "src/scw-float-component/scw-float-component.ts"
|
|
2483
2483
|
}
|
|
2484
2484
|
}
|
|
2485
2485
|
]
|
|
2486
2486
|
},
|
|
2487
2487
|
{
|
|
2488
2488
|
"kind": "javascript-module",
|
|
2489
|
-
"path": "src/scw-
|
|
2489
|
+
"path": "src/scw-flex-h-component/scw-flex-h-component.ts",
|
|
2490
2490
|
"declarations": [
|
|
2491
2491
|
{
|
|
2492
2492
|
"kind": "class",
|
|
2493
|
-
"description": "
|
|
2494
|
-
"name": "
|
|
2493
|
+
"description": "ScwFlexHComponent",
|
|
2494
|
+
"name": "ScwFlexHComponent",
|
|
2495
2495
|
"members": [
|
|
2496
2496
|
{
|
|
2497
2497
|
"kind": "field",
|
|
@@ -2630,7 +2630,7 @@
|
|
|
2630
2630
|
"name": "ScwComponent",
|
|
2631
2631
|
"module": "/src/scw-component/ScwComponent"
|
|
2632
2632
|
},
|
|
2633
|
-
"tagName": "scw-
|
|
2633
|
+
"tagName": "scw-flex-h-component",
|
|
2634
2634
|
"customElement": true,
|
|
2635
2635
|
"attributes": [
|
|
2636
2636
|
{
|
|
@@ -2705,117 +2705,40 @@
|
|
|
2705
2705
|
"kind": "js",
|
|
2706
2706
|
"name": "default",
|
|
2707
2707
|
"declaration": {
|
|
2708
|
-
"name": "
|
|
2709
|
-
"module": "src/scw-
|
|
2708
|
+
"name": "ScwFlexHComponent",
|
|
2709
|
+
"module": "src/scw-flex-h-component/scw-flex-h-component.ts"
|
|
2710
2710
|
}
|
|
2711
2711
|
}
|
|
2712
2712
|
]
|
|
2713
2713
|
},
|
|
2714
2714
|
{
|
|
2715
2715
|
"kind": "javascript-module",
|
|
2716
|
-
"path": "src/scw-
|
|
2716
|
+
"path": "src/scw-heading/ScwHeading.ts",
|
|
2717
2717
|
"declarations": [
|
|
2718
2718
|
{
|
|
2719
2719
|
"kind": "class",
|
|
2720
|
-
"description": "
|
|
2721
|
-
"name": "
|
|
2722
|
-
"slots": [
|
|
2723
|
-
{
|
|
2724
|
-
"description": "The contents of the form",
|
|
2725
|
-
"name": "default",
|
|
2726
|
-
"default": "\"<scw-input...\""
|
|
2727
|
-
}
|
|
2728
|
-
],
|
|
2720
|
+
"description": "ScwHeading",
|
|
2721
|
+
"name": "ScwHeading",
|
|
2729
2722
|
"members": [
|
|
2730
2723
|
{
|
|
2731
2724
|
"kind": "field",
|
|
2732
|
-
"name": "
|
|
2733
|
-
"type": {
|
|
2734
|
-
"text": "string | undefined"
|
|
2735
|
-
},
|
|
2736
|
-
"description": "(ScwForm) where to submit search, same as form",
|
|
2737
|
-
"attribute": "action"
|
|
2738
|
-
},
|
|
2739
|
-
{
|
|
2740
|
-
"kind": "field",
|
|
2741
|
-
"name": "method",
|
|
2725
|
+
"name": "size",
|
|
2742
2726
|
"type": {
|
|
2743
|
-
"text": "
|
|
2744
|
-
},
|
|
2745
|
-
"description": "(ScwForm) how to submit search, same as form",
|
|
2746
|
-
"attribute": "method"
|
|
2747
|
-
},
|
|
2748
|
-
{
|
|
2749
|
-
"kind": "method",
|
|
2750
|
-
"name": "findFormElements",
|
|
2751
|
-
"return": {
|
|
2752
|
-
"type": {
|
|
2753
|
-
"text": "ScwFormComponent[]"
|
|
2754
|
-
}
|
|
2755
|
-
},
|
|
2756
|
-
"description": "find and return list of all form elements within this form"
|
|
2757
|
-
},
|
|
2758
|
-
{
|
|
2759
|
-
"kind": "method",
|
|
2760
|
-
"name": "processData",
|
|
2761
|
-
"parameters": [
|
|
2762
|
-
{
|
|
2763
|
-
"name": "formElementsArg",
|
|
2764
|
-
"optional": true,
|
|
2765
|
-
"type": {
|
|
2766
|
-
"text": "ScwFormComponent[]"
|
|
2767
|
-
}
|
|
2768
|
-
}
|
|
2769
|
-
],
|
|
2770
|
-
"description": "process all the form elements' data",
|
|
2771
|
-
"return": {
|
|
2772
|
-
"type": {
|
|
2773
|
-
"text": "Object"
|
|
2774
|
-
}
|
|
2775
|
-
}
|
|
2776
|
-
},
|
|
2777
|
-
{
|
|
2778
|
-
"kind": "method",
|
|
2779
|
-
"name": "validate",
|
|
2780
|
-
"return": {
|
|
2781
|
-
"type": {
|
|
2782
|
-
"text": "ValidationResult[]"
|
|
2783
|
-
}
|
|
2727
|
+
"text": "string"
|
|
2784
2728
|
},
|
|
2785
|
-
"
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
"optional": true,
|
|
2789
|
-
"type": {
|
|
2790
|
-
"text": "ScwFormComponent[]"
|
|
2791
|
-
}
|
|
2792
|
-
}
|
|
2793
|
-
],
|
|
2794
|
-
"description": "validate"
|
|
2729
|
+
"description": "(ScwHeader) Size of heading (h1, h2, h3, h4, h5)",
|
|
2730
|
+
"attribute": "size",
|
|
2731
|
+
"reflects": true
|
|
2795
2732
|
},
|
|
2796
2733
|
{
|
|
2797
2734
|
"kind": "method",
|
|
2798
|
-
"name": "
|
|
2735
|
+
"name": "renderHeading",
|
|
2799
2736
|
"return": {
|
|
2800
2737
|
"type": {
|
|
2801
|
-
"text": "
|
|
2738
|
+
"text": "object"
|
|
2802
2739
|
}
|
|
2803
2740
|
},
|
|
2804
|
-
"
|
|
2805
|
-
{
|
|
2806
|
-
"name": "formElementsArg",
|
|
2807
|
-
"optional": true,
|
|
2808
|
-
"type": {
|
|
2809
|
-
"text": "ScwFormComponent[]"
|
|
2810
|
-
}
|
|
2811
|
-
}
|
|
2812
|
-
],
|
|
2813
|
-
"description": "findInvalidElements"
|
|
2814
|
-
},
|
|
2815
|
-
{
|
|
2816
|
-
"kind": "method",
|
|
2817
|
-
"name": "submit",
|
|
2818
|
-
"description": "submit form"
|
|
2741
|
+
"description": "renderHeading"
|
|
2819
2742
|
},
|
|
2820
2743
|
{
|
|
2821
2744
|
"kind": "field",
|
|
@@ -2952,20 +2875,12 @@
|
|
|
2952
2875
|
],
|
|
2953
2876
|
"attributes": [
|
|
2954
2877
|
{
|
|
2955
|
-
"name": "
|
|
2956
|
-
"type": {
|
|
2957
|
-
"text": "string | undefined"
|
|
2958
|
-
},
|
|
2959
|
-
"description": "(ScwForm) where to submit search, same as form",
|
|
2960
|
-
"fieldName": "action"
|
|
2961
|
-
},
|
|
2962
|
-
{
|
|
2963
|
-
"name": "method",
|
|
2878
|
+
"name": "size",
|
|
2964
2879
|
"type": {
|
|
2965
|
-
"text": "
|
|
2880
|
+
"text": "string"
|
|
2966
2881
|
},
|
|
2967
|
-
"description": "(
|
|
2968
|
-
"fieldName": "
|
|
2882
|
+
"description": "(ScwHeader) Size of heading (h1, h2, h3, h4, h5)",
|
|
2883
|
+
"fieldName": "size"
|
|
2969
2884
|
},
|
|
2970
2885
|
{
|
|
2971
2886
|
"name": "aria-label",
|
|
@@ -3034,9 +2949,9 @@
|
|
|
3034
2949
|
],
|
|
3035
2950
|
"superclass": {
|
|
3036
2951
|
"name": "ScwComponent",
|
|
3037
|
-
"
|
|
2952
|
+
"package": "scw-component/ScwComponent"
|
|
3038
2953
|
},
|
|
3039
|
-
"tagName": "scw-
|
|
2954
|
+
"tagName": "scw-heading",
|
|
3040
2955
|
"customElement": true
|
|
3041
2956
|
}
|
|
3042
2957
|
],
|
|
@@ -3045,172 +2960,124 @@
|
|
|
3045
2960
|
"kind": "js",
|
|
3046
2961
|
"name": "default",
|
|
3047
2962
|
"declaration": {
|
|
3048
|
-
"name": "
|
|
3049
|
-
"module": "src/scw-
|
|
2963
|
+
"name": "ScwHeading",
|
|
2964
|
+
"module": "src/scw-heading/ScwHeading.ts"
|
|
3050
2965
|
}
|
|
3051
2966
|
}
|
|
3052
2967
|
]
|
|
3053
2968
|
},
|
|
3054
2969
|
{
|
|
3055
2970
|
"kind": "javascript-module",
|
|
3056
|
-
"path": "src/scw-
|
|
2971
|
+
"path": "src/scw-heading/parseLightDomHeading.ts",
|
|
2972
|
+
"declarations": [
|
|
2973
|
+
{
|
|
2974
|
+
"kind": "function",
|
|
2975
|
+
"name": "parseLightDomHeading",
|
|
2976
|
+
"parameters": [
|
|
2977
|
+
{
|
|
2978
|
+
"name": "scwHeading",
|
|
2979
|
+
"type": {
|
|
2980
|
+
"text": "ScwHeading"
|
|
2981
|
+
}
|
|
2982
|
+
}
|
|
2983
|
+
],
|
|
2984
|
+
"description": "Parses light dom into variables to be used for rendering"
|
|
2985
|
+
}
|
|
2986
|
+
],
|
|
2987
|
+
"exports": [
|
|
2988
|
+
{
|
|
2989
|
+
"kind": "js",
|
|
2990
|
+
"name": "default",
|
|
2991
|
+
"declaration": {
|
|
2992
|
+
"name": "parseLightDomHeading",
|
|
2993
|
+
"module": "src/scw-heading/parseLightDomHeading.ts"
|
|
2994
|
+
}
|
|
2995
|
+
}
|
|
2996
|
+
]
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
"kind": "javascript-module",
|
|
3000
|
+
"path": "src/scw-heading/scw-heading-enums.ts",
|
|
3001
|
+
"declarations": [],
|
|
3002
|
+
"exports": []
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
"kind": "javascript-module",
|
|
3006
|
+
"path": "src/scw-heading/scw-heading.ts",
|
|
3007
|
+
"declarations": [],
|
|
3008
|
+
"exports": [
|
|
3009
|
+
{
|
|
3010
|
+
"kind": "custom-element-definition",
|
|
3011
|
+
"name": "scw-heading",
|
|
3012
|
+
"declaration": {
|
|
3013
|
+
"name": "ScwHeading",
|
|
3014
|
+
"module": "/src/scw-heading/ScwHeading"
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
]
|
|
3018
|
+
},
|
|
3019
|
+
{
|
|
3020
|
+
"kind": "javascript-module",
|
|
3021
|
+
"path": "src/scw-form/scw-form.ts",
|
|
3057
3022
|
"declarations": [
|
|
3058
3023
|
{
|
|
3059
3024
|
"kind": "class",
|
|
3060
|
-
"description": "
|
|
3061
|
-
"name": "
|
|
3025
|
+
"description": "ScwForm",
|
|
3026
|
+
"name": "ScwForm",
|
|
3027
|
+
"slots": [
|
|
3028
|
+
{
|
|
3029
|
+
"description": "The contents of the form",
|
|
3030
|
+
"name": "default",
|
|
3031
|
+
"default": "\"<scw-input...\""
|
|
3032
|
+
}
|
|
3033
|
+
],
|
|
3062
3034
|
"members": [
|
|
3063
3035
|
{
|
|
3064
3036
|
"kind": "field",
|
|
3065
|
-
"name": "
|
|
3037
|
+
"name": "action",
|
|
3066
3038
|
"type": {
|
|
3067
|
-
"text": "
|
|
3039
|
+
"text": "string | undefined"
|
|
3068
3040
|
},
|
|
3069
|
-
"description": "(
|
|
3070
|
-
"attribute": "
|
|
3071
|
-
"reflects": true
|
|
3041
|
+
"description": "(ScwForm) where to submit search, same as form",
|
|
3042
|
+
"attribute": "action"
|
|
3072
3043
|
},
|
|
3073
3044
|
{
|
|
3074
3045
|
"kind": "field",
|
|
3075
|
-
"name": "
|
|
3046
|
+
"name": "method",
|
|
3076
3047
|
"type": {
|
|
3077
|
-
"text": "
|
|
3048
|
+
"text": "FormMethods"
|
|
3078
3049
|
},
|
|
3079
|
-
"description": "(
|
|
3080
|
-
"attribute": "
|
|
3050
|
+
"description": "(ScwForm) how to submit search, same as form",
|
|
3051
|
+
"attribute": "method"
|
|
3081
3052
|
},
|
|
3082
3053
|
{
|
|
3083
|
-
"kind": "
|
|
3084
|
-
"name": "
|
|
3085
|
-
"
|
|
3086
|
-
"
|
|
3054
|
+
"kind": "method",
|
|
3055
|
+
"name": "findFormElements",
|
|
3056
|
+
"return": {
|
|
3057
|
+
"type": {
|
|
3058
|
+
"text": "ScwFormComponent[]"
|
|
3059
|
+
}
|
|
3087
3060
|
},
|
|
3088
|
-
"
|
|
3089
|
-
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
3090
|
-
"attribute": "value"
|
|
3091
|
-
},
|
|
3092
|
-
{
|
|
3093
|
-
"kind": "field",
|
|
3094
|
-
"name": "placeholder",
|
|
3095
|
-
"type": {
|
|
3096
|
-
"text": "string"
|
|
3097
|
-
},
|
|
3098
|
-
"default": "''",
|
|
3099
|
-
"description": "(ScwFormComponent) text showing when there is no value",
|
|
3100
|
-
"attribute": "placeholder"
|
|
3101
|
-
},
|
|
3102
|
-
{
|
|
3103
|
-
"kind": "field",
|
|
3104
|
-
"name": "selected",
|
|
3105
|
-
"type": {
|
|
3106
|
-
"text": "boolean"
|
|
3107
|
-
},
|
|
3108
|
-
"default": "false",
|
|
3109
|
-
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
3110
|
-
"attribute": "selected"
|
|
3111
|
-
},
|
|
3112
|
-
{
|
|
3113
|
-
"kind": "field",
|
|
3114
|
-
"name": "readOnly",
|
|
3115
|
-
"type": {
|
|
3116
|
-
"text": "boolean"
|
|
3117
|
-
},
|
|
3118
|
-
"default": "false",
|
|
3119
|
-
"description": "(ScwFormComponent) read-only state management",
|
|
3120
|
-
"attribute": "read-only"
|
|
3121
|
-
},
|
|
3122
|
-
{
|
|
3123
|
-
"kind": "field",
|
|
3124
|
-
"name": "required",
|
|
3125
|
-
"type": {
|
|
3126
|
-
"text": "boolean"
|
|
3127
|
-
},
|
|
3128
|
-
"default": "false",
|
|
3129
|
-
"description": "(ScwFormComponent) required state management",
|
|
3130
|
-
"attribute": "required"
|
|
3131
|
-
},
|
|
3132
|
-
{
|
|
3133
|
-
"kind": "field",
|
|
3134
|
-
"name": "requiredLabel",
|
|
3135
|
-
"type": {
|
|
3136
|
-
"text": "string"
|
|
3137
|
-
},
|
|
3138
|
-
"default": "' *'",
|
|
3139
|
-
"description": "(ScwFormComponent) label indicator for required",
|
|
3140
|
-
"attribute": "required-label"
|
|
3141
|
-
},
|
|
3142
|
-
{
|
|
3143
|
-
"kind": "field",
|
|
3144
|
-
"name": "requiredFeedback",
|
|
3145
|
-
"type": {
|
|
3146
|
-
"text": "string | undefined"
|
|
3147
|
-
},
|
|
3148
|
-
"description": "(ScwFormComponent) label indicator for required",
|
|
3149
|
-
"attribute": "required-feedback"
|
|
3150
|
-
},
|
|
3151
|
-
{
|
|
3152
|
-
"kind": "field",
|
|
3153
|
-
"name": "feedback",
|
|
3154
|
-
"type": {
|
|
3155
|
-
"text": "string | undefined"
|
|
3156
|
-
},
|
|
3157
|
-
"description": "the text to use for feedback"
|
|
3158
|
-
},
|
|
3159
|
-
{
|
|
3160
|
-
"kind": "field",
|
|
3161
|
-
"name": "focused",
|
|
3162
|
-
"type": {
|
|
3163
|
-
"text": "boolean"
|
|
3164
|
-
},
|
|
3165
|
-
"default": "false",
|
|
3166
|
-
"description": "determines whether the input is focused or not"
|
|
3167
|
-
},
|
|
3168
|
-
{
|
|
3169
|
-
"kind": "field",
|
|
3170
|
-
"name": "invalid",
|
|
3171
|
-
"type": {
|
|
3172
|
-
"text": "boolean"
|
|
3173
|
-
},
|
|
3174
|
-
"default": "false",
|
|
3175
|
-
"description": "whether this form element is valid, passed validation"
|
|
3061
|
+
"description": "find and return list of all form elements within this form"
|
|
3176
3062
|
},
|
|
3177
3063
|
{
|
|
3178
3064
|
"kind": "method",
|
|
3179
|
-
"name": "
|
|
3180
|
-
"return": {
|
|
3181
|
-
"type": {
|
|
3182
|
-
"text": "void"
|
|
3183
|
-
}
|
|
3184
|
-
},
|
|
3065
|
+
"name": "processData",
|
|
3185
3066
|
"parameters": [
|
|
3186
3067
|
{
|
|
3187
|
-
"name": "
|
|
3068
|
+
"name": "formElementsArg",
|
|
3069
|
+
"optional": true,
|
|
3188
3070
|
"type": {
|
|
3189
|
-
"text": "
|
|
3071
|
+
"text": "ScwFormComponent[]"
|
|
3190
3072
|
}
|
|
3191
3073
|
}
|
|
3192
3074
|
],
|
|
3193
|
-
"description": "
|
|
3194
|
-
},
|
|
3195
|
-
{
|
|
3196
|
-
"kind": "method",
|
|
3197
|
-
"name": "findIfRequired",
|
|
3198
|
-
"return": {
|
|
3199
|
-
"type": {
|
|
3200
|
-
"text": "boolean"
|
|
3201
|
-
}
|
|
3202
|
-
},
|
|
3203
|
-
"description": "Check to see if form element is required w/o knowing if there is validation"
|
|
3204
|
-
},
|
|
3205
|
-
{
|
|
3206
|
-
"kind": "method",
|
|
3207
|
-
"name": "findValidationRules",
|
|
3075
|
+
"description": "process all the form elements' data",
|
|
3208
3076
|
"return": {
|
|
3209
3077
|
"type": {
|
|
3210
|
-
"text": "
|
|
3078
|
+
"text": "Object"
|
|
3211
3079
|
}
|
|
3212
|
-
}
|
|
3213
|
-
"description": "Find validation child if there..."
|
|
3080
|
+
}
|
|
3214
3081
|
},
|
|
3215
3082
|
{
|
|
3216
3083
|
"kind": "method",
|
|
@@ -3220,70 +3087,54 @@
|
|
|
3220
3087
|
"text": "ValidationResult[]"
|
|
3221
3088
|
}
|
|
3222
3089
|
},
|
|
3223
|
-
"description": "run the validation rules if there...",
|
|
3224
3090
|
"parameters": [
|
|
3225
3091
|
{
|
|
3226
|
-
"name": "
|
|
3092
|
+
"name": "formElementsArg",
|
|
3093
|
+
"optional": true,
|
|
3227
3094
|
"type": {
|
|
3228
|
-
"text": "
|
|
3095
|
+
"text": "ScwFormComponent[]"
|
|
3229
3096
|
}
|
|
3230
3097
|
}
|
|
3231
|
-
]
|
|
3098
|
+
],
|
|
3099
|
+
"description": "validate"
|
|
3232
3100
|
},
|
|
3233
3101
|
{
|
|
3234
3102
|
"kind": "method",
|
|
3235
|
-
"name": "
|
|
3103
|
+
"name": "findInvalidElements",
|
|
3236
3104
|
"return": {
|
|
3237
3105
|
"type": {
|
|
3238
|
-
"text": "
|
|
3106
|
+
"text": "ValidationResult[]"
|
|
3239
3107
|
}
|
|
3240
3108
|
},
|
|
3241
|
-
"description": "create a validation rule from scratch"
|
|
3242
|
-
},
|
|
3243
|
-
{
|
|
3244
|
-
"kind": "method",
|
|
3245
|
-
"name": "addValidationRule",
|
|
3246
3109
|
"parameters": [
|
|
3247
3110
|
{
|
|
3248
|
-
"name": "
|
|
3111
|
+
"name": "formElementsArg",
|
|
3112
|
+
"optional": true,
|
|
3249
3113
|
"type": {
|
|
3250
|
-
"text": "
|
|
3114
|
+
"text": "ScwFormComponent[]"
|
|
3251
3115
|
}
|
|
3252
3116
|
}
|
|
3253
3117
|
],
|
|
3254
|
-
"description": "
|
|
3118
|
+
"description": "findInvalidElements"
|
|
3255
3119
|
},
|
|
3256
3120
|
{
|
|
3257
3121
|
"kind": "method",
|
|
3258
|
-
"name": "
|
|
3259
|
-
"
|
|
3260
|
-
{
|
|
3261
|
-
"name": "type",
|
|
3262
|
-
"type": {
|
|
3263
|
-
"text": "ValidationTypes"
|
|
3264
|
-
}
|
|
3265
|
-
},
|
|
3266
|
-
{
|
|
3267
|
-
"name": "feedbackOverride",
|
|
3268
|
-
"optional": true,
|
|
3269
|
-
"type": {
|
|
3270
|
-
"text": "string"
|
|
3271
|
-
}
|
|
3272
|
-
}
|
|
3273
|
-
],
|
|
3274
|
-
"description": "create a validation of a certain type..."
|
|
3122
|
+
"name": "submit",
|
|
3123
|
+
"description": "submit form"
|
|
3275
3124
|
},
|
|
3276
3125
|
{
|
|
3277
|
-
"kind": "
|
|
3278
|
-
"name": "
|
|
3279
|
-
"
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3126
|
+
"kind": "field",
|
|
3127
|
+
"name": "element",
|
|
3128
|
+
"type": {
|
|
3129
|
+
"text": "string"
|
|
3130
|
+
},
|
|
3131
|
+
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
3132
|
+
"attribute": "element",
|
|
3133
|
+
"reflects": true,
|
|
3134
|
+
"inheritedFrom": {
|
|
3135
|
+
"name": "ScwComponent",
|
|
3136
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
3137
|
+
}
|
|
3287
3138
|
},
|
|
3288
3139
|
{
|
|
3289
3140
|
"kind": "field",
|
|
@@ -3364,20 +3215,6 @@
|
|
|
3364
3215
|
"module": "src/scw-component/ScwComponent.ts"
|
|
3365
3216
|
}
|
|
3366
3217
|
},
|
|
3367
|
-
{
|
|
3368
|
-
"kind": "field",
|
|
3369
|
-
"name": "element",
|
|
3370
|
-
"type": {
|
|
3371
|
-
"text": "string"
|
|
3372
|
-
},
|
|
3373
|
-
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
3374
|
-
"attribute": "element",
|
|
3375
|
-
"reflects": true,
|
|
3376
|
-
"inheritedFrom": {
|
|
3377
|
-
"name": "ScwComponent",
|
|
3378
|
-
"module": "src/scw-component/ScwComponent.ts"
|
|
3379
|
-
}
|
|
3380
|
-
},
|
|
3381
3218
|
{
|
|
3382
3219
|
"kind": "method",
|
|
3383
3220
|
"name": "warn",
|
|
@@ -3420,82 +3257,20 @@
|
|
|
3420
3257
|
],
|
|
3421
3258
|
"attributes": [
|
|
3422
3259
|
{
|
|
3423
|
-
"name": "
|
|
3424
|
-
"type": {
|
|
3425
|
-
"text": "ScwFormComponentTypes"
|
|
3426
|
-
},
|
|
3427
|
-
"description": "(ScwFormComponent) the usage in a form (& scw-form a query target)",
|
|
3428
|
-
"fieldName": "formType"
|
|
3429
|
-
},
|
|
3430
|
-
{
|
|
3431
|
-
"name": "name",
|
|
3260
|
+
"name": "action",
|
|
3432
3261
|
"type": {
|
|
3433
3262
|
"text": "string | undefined"
|
|
3434
3263
|
},
|
|
3435
|
-
"description": "(
|
|
3436
|
-
"fieldName": "
|
|
3437
|
-
},
|
|
3438
|
-
{
|
|
3439
|
-
"name": "value",
|
|
3440
|
-
"type": {
|
|
3441
|
-
"text": "string"
|
|
3442
|
-
},
|
|
3443
|
-
"default": "''",
|
|
3444
|
-
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
3445
|
-
"fieldName": "value"
|
|
3446
|
-
},
|
|
3447
|
-
{
|
|
3448
|
-
"name": "placeholder",
|
|
3449
|
-
"type": {
|
|
3450
|
-
"text": "string"
|
|
3451
|
-
},
|
|
3452
|
-
"default": "''",
|
|
3453
|
-
"description": "(ScwFormComponent) text showing when there is no value",
|
|
3454
|
-
"fieldName": "placeholder"
|
|
3455
|
-
},
|
|
3456
|
-
{
|
|
3457
|
-
"name": "selected",
|
|
3458
|
-
"type": {
|
|
3459
|
-
"text": "boolean"
|
|
3460
|
-
},
|
|
3461
|
-
"default": "false",
|
|
3462
|
-
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
3463
|
-
"fieldName": "selected"
|
|
3464
|
-
},
|
|
3465
|
-
{
|
|
3466
|
-
"name": "read-only",
|
|
3467
|
-
"type": {
|
|
3468
|
-
"text": "boolean"
|
|
3469
|
-
},
|
|
3470
|
-
"default": "false",
|
|
3471
|
-
"description": "(ScwFormComponent) read-only state management",
|
|
3472
|
-
"fieldName": "readOnly"
|
|
3473
|
-
},
|
|
3474
|
-
{
|
|
3475
|
-
"name": "required",
|
|
3476
|
-
"type": {
|
|
3477
|
-
"text": "boolean"
|
|
3478
|
-
},
|
|
3479
|
-
"default": "false",
|
|
3480
|
-
"description": "(ScwFormComponent) required state management",
|
|
3481
|
-
"fieldName": "required"
|
|
3482
|
-
},
|
|
3483
|
-
{
|
|
3484
|
-
"name": "required-label",
|
|
3485
|
-
"type": {
|
|
3486
|
-
"text": "string"
|
|
3487
|
-
},
|
|
3488
|
-
"default": "' *'",
|
|
3489
|
-
"description": "(ScwFormComponent) label indicator for required",
|
|
3490
|
-
"fieldName": "requiredLabel"
|
|
3264
|
+
"description": "(ScwForm) where to submit search, same as form",
|
|
3265
|
+
"fieldName": "action"
|
|
3491
3266
|
},
|
|
3492
3267
|
{
|
|
3493
|
-
"name": "
|
|
3268
|
+
"name": "method",
|
|
3494
3269
|
"type": {
|
|
3495
|
-
"text": "
|
|
3270
|
+
"text": "FormMethods"
|
|
3496
3271
|
},
|
|
3497
|
-
"description": "(
|
|
3498
|
-
"fieldName": "
|
|
3272
|
+
"description": "(ScwForm) how to submit search, same as form",
|
|
3273
|
+
"fieldName": "method"
|
|
3499
3274
|
},
|
|
3500
3275
|
{
|
|
3501
3276
|
"name": "aria-label",
|
|
@@ -3566,7 +3341,7 @@
|
|
|
3566
3341
|
"name": "ScwComponent",
|
|
3567
3342
|
"module": "/src/scw-component/ScwComponent"
|
|
3568
3343
|
},
|
|
3569
|
-
"tagName": "scw-form
|
|
3344
|
+
"tagName": "scw-form",
|
|
3570
3345
|
"customElement": true
|
|
3571
3346
|
}
|
|
3572
3347
|
],
|
|
@@ -3575,40 +3350,84 @@
|
|
|
3575
3350
|
"kind": "js",
|
|
3576
3351
|
"name": "default",
|
|
3577
3352
|
"declaration": {
|
|
3578
|
-
"name": "
|
|
3579
|
-
"module": "src/scw-form
|
|
3353
|
+
"name": "ScwForm",
|
|
3354
|
+
"module": "src/scw-form/scw-form.ts"
|
|
3580
3355
|
}
|
|
3581
3356
|
}
|
|
3582
3357
|
]
|
|
3583
3358
|
},
|
|
3584
3359
|
{
|
|
3585
3360
|
"kind": "javascript-module",
|
|
3586
|
-
"path": "src/scw-
|
|
3361
|
+
"path": "src/scw-icon/ScwIcon.ts",
|
|
3587
3362
|
"declarations": [
|
|
3588
3363
|
{
|
|
3589
3364
|
"kind": "class",
|
|
3590
|
-
"description": "
|
|
3591
|
-
"name": "
|
|
3365
|
+
"description": "ScwIcon",
|
|
3366
|
+
"name": "ScwIcon",
|
|
3367
|
+
"slots": [
|
|
3368
|
+
{
|
|
3369
|
+
"description": "(OPTIONAL) anchor (for SEO) will determine the label, href, and target.",
|
|
3370
|
+
"name": "default",
|
|
3371
|
+
"default": "\"<a href target />\""
|
|
3372
|
+
}
|
|
3373
|
+
],
|
|
3592
3374
|
"members": [
|
|
3375
|
+
{
|
|
3376
|
+
"kind": "field",
|
|
3377
|
+
"name": "icon",
|
|
3378
|
+
"description": "icon getter",
|
|
3379
|
+
"parameters": [
|
|
3380
|
+
{
|
|
3381
|
+
"name": "icon",
|
|
3382
|
+
"type": {
|
|
3383
|
+
"text": "string | undefined"
|
|
3384
|
+
}
|
|
3385
|
+
}
|
|
3386
|
+
],
|
|
3387
|
+
"attribute": "icon",
|
|
3388
|
+
"reflects": true
|
|
3389
|
+
},
|
|
3390
|
+
{
|
|
3391
|
+
"kind": "field",
|
|
3392
|
+
"name": "_icon",
|
|
3393
|
+
"type": {
|
|
3394
|
+
"text": "string | undefined"
|
|
3395
|
+
},
|
|
3396
|
+
"privacy": "private"
|
|
3397
|
+
},
|
|
3593
3398
|
{
|
|
3594
3399
|
"kind": "field",
|
|
3595
3400
|
"name": "size",
|
|
3596
3401
|
"type": {
|
|
3597
|
-
"text": "
|
|
3402
|
+
"text": "ScwIconSizes"
|
|
3598
3403
|
},
|
|
3599
|
-
"description": "(
|
|
3404
|
+
"description": "(ScwIcon) Determines the square size of the icon",
|
|
3600
3405
|
"attribute": "size",
|
|
3601
3406
|
"reflects": true
|
|
3602
3407
|
},
|
|
3603
3408
|
{
|
|
3604
|
-
"kind": "
|
|
3605
|
-
"name": "
|
|
3606
|
-
"
|
|
3607
|
-
"
|
|
3608
|
-
"text": "object"
|
|
3609
|
-
}
|
|
3409
|
+
"kind": "field",
|
|
3410
|
+
"name": "colorBackground",
|
|
3411
|
+
"type": {
|
|
3412
|
+
"text": "boolean"
|
|
3610
3413
|
},
|
|
3611
|
-
"
|
|
3414
|
+
"default": "false",
|
|
3415
|
+
"description": "(ScwIcon) Background color (w/ accompanying state colors)",
|
|
3416
|
+
"attribute": "color-background",
|
|
3417
|
+
"reflects": true
|
|
3418
|
+
},
|
|
3419
|
+
{
|
|
3420
|
+
"kind": "field",
|
|
3421
|
+
"name": "_svgInfo",
|
|
3422
|
+
"type": {
|
|
3423
|
+
"text": "string"
|
|
3424
|
+
},
|
|
3425
|
+
"default": "''"
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
"kind": "method",
|
|
3429
|
+
"name": "refreshIcon",
|
|
3430
|
+
"description": "refreshIcon"
|
|
3612
3431
|
},
|
|
3613
3432
|
{
|
|
3614
3433
|
"kind": "field",
|
|
@@ -3744,14 +3563,36 @@
|
|
|
3744
3563
|
}
|
|
3745
3564
|
],
|
|
3746
3565
|
"attributes": [
|
|
3566
|
+
{
|
|
3567
|
+
"name": "icon",
|
|
3568
|
+
"description": "icon getter",
|
|
3569
|
+
"parameters": [
|
|
3570
|
+
{
|
|
3571
|
+
"name": "icon",
|
|
3572
|
+
"type": {
|
|
3573
|
+
"text": "string | undefined"
|
|
3574
|
+
}
|
|
3575
|
+
}
|
|
3576
|
+
],
|
|
3577
|
+
"fieldName": "icon"
|
|
3578
|
+
},
|
|
3747
3579
|
{
|
|
3748
3580
|
"name": "size",
|
|
3749
3581
|
"type": {
|
|
3750
|
-
"text": "
|
|
3582
|
+
"text": "ScwIconSizes"
|
|
3751
3583
|
},
|
|
3752
|
-
"description": "(
|
|
3584
|
+
"description": "(ScwIcon) Determines the square size of the icon",
|
|
3753
3585
|
"fieldName": "size"
|
|
3754
3586
|
},
|
|
3587
|
+
{
|
|
3588
|
+
"name": "color-background",
|
|
3589
|
+
"type": {
|
|
3590
|
+
"text": "boolean"
|
|
3591
|
+
},
|
|
3592
|
+
"default": "false",
|
|
3593
|
+
"description": "(ScwIcon) Background color (w/ accompanying state colors)",
|
|
3594
|
+
"fieldName": "colorBackground"
|
|
3595
|
+
},
|
|
3755
3596
|
{
|
|
3756
3597
|
"name": "aria-label",
|
|
3757
3598
|
"type": {
|
|
@@ -3821,7 +3662,7 @@
|
|
|
3821
3662
|
"name": "ScwComponent",
|
|
3822
3663
|
"package": "scw-component/ScwComponent"
|
|
3823
3664
|
},
|
|
3824
|
-
"tagName": "scw-
|
|
3665
|
+
"tagName": "scw-icon",
|
|
3825
3666
|
"customElement": true
|
|
3826
3667
|
}
|
|
3827
3668
|
],
|
|
@@ -3830,148 +3671,266 @@
|
|
|
3830
3671
|
"kind": "js",
|
|
3831
3672
|
"name": "default",
|
|
3832
3673
|
"declaration": {
|
|
3833
|
-
"name": "
|
|
3834
|
-
"module": "src/scw-
|
|
3835
|
-
}
|
|
3836
|
-
}
|
|
3837
|
-
]
|
|
3838
|
-
},
|
|
3839
|
-
{
|
|
3840
|
-
"kind": "javascript-module",
|
|
3841
|
-
"path": "src/scw-heading/parseLightDomHeading.ts",
|
|
3842
|
-
"declarations": [
|
|
3843
|
-
{
|
|
3844
|
-
"kind": "function",
|
|
3845
|
-
"name": "parseLightDomHeading",
|
|
3846
|
-
"parameters": [
|
|
3847
|
-
{
|
|
3848
|
-
"name": "scwHeading",
|
|
3849
|
-
"type": {
|
|
3850
|
-
"text": "ScwHeading"
|
|
3851
|
-
}
|
|
3852
|
-
}
|
|
3853
|
-
],
|
|
3854
|
-
"description": "Parses light dom into variables to be used for rendering"
|
|
3855
|
-
}
|
|
3856
|
-
],
|
|
3857
|
-
"exports": [
|
|
3858
|
-
{
|
|
3859
|
-
"kind": "js",
|
|
3860
|
-
"name": "default",
|
|
3861
|
-
"declaration": {
|
|
3862
|
-
"name": "parseLightDomHeading",
|
|
3863
|
-
"module": "src/scw-heading/parseLightDomHeading.ts"
|
|
3674
|
+
"name": "ScwIcon",
|
|
3675
|
+
"module": "src/scw-icon/ScwIcon.ts"
|
|
3864
3676
|
}
|
|
3865
3677
|
}
|
|
3866
3678
|
]
|
|
3867
3679
|
},
|
|
3868
3680
|
{
|
|
3869
3681
|
"kind": "javascript-module",
|
|
3870
|
-
"path": "src/scw-
|
|
3682
|
+
"path": "src/scw-icon/scw-icon-enums.ts",
|
|
3871
3683
|
"declarations": [],
|
|
3872
3684
|
"exports": []
|
|
3873
3685
|
},
|
|
3874
3686
|
{
|
|
3875
3687
|
"kind": "javascript-module",
|
|
3876
|
-
"path": "src/scw-
|
|
3688
|
+
"path": "src/scw-icon/scw-icon.ts",
|
|
3877
3689
|
"declarations": [],
|
|
3878
3690
|
"exports": [
|
|
3879
3691
|
{
|
|
3880
3692
|
"kind": "custom-element-definition",
|
|
3881
|
-
"name": "scw-
|
|
3693
|
+
"name": "scw-icon",
|
|
3882
3694
|
"declaration": {
|
|
3883
|
-
"name": "
|
|
3884
|
-
"module": "/src/scw-
|
|
3695
|
+
"name": "ScwIcon",
|
|
3696
|
+
"module": "/src/scw-icon/ScwIcon"
|
|
3885
3697
|
}
|
|
3886
3698
|
}
|
|
3887
3699
|
]
|
|
3888
3700
|
},
|
|
3889
3701
|
{
|
|
3890
3702
|
"kind": "javascript-module",
|
|
3891
|
-
"path": "src/scw-
|
|
3703
|
+
"path": "src/scw-form-component/scw-form-component.ts",
|
|
3892
3704
|
"declarations": [
|
|
3893
3705
|
{
|
|
3894
3706
|
"kind": "class",
|
|
3895
|
-
"description": "
|
|
3896
|
-
"name": "
|
|
3897
|
-
"slots": [
|
|
3898
|
-
{
|
|
3899
|
-
"description": "(OPTIONAL) anchor (for SEO) will determine the label, href, and target.",
|
|
3900
|
-
"name": "default",
|
|
3901
|
-
"default": "\"<a href target />\""
|
|
3902
|
-
}
|
|
3903
|
-
],
|
|
3707
|
+
"description": "ScwFormComponent",
|
|
3708
|
+
"name": "ScwFormComponent",
|
|
3904
3709
|
"members": [
|
|
3905
3710
|
{
|
|
3906
3711
|
"kind": "field",
|
|
3907
|
-
"name": "
|
|
3908
|
-
"
|
|
3712
|
+
"name": "formType",
|
|
3713
|
+
"type": {
|
|
3714
|
+
"text": "ScwFormComponentTypes"
|
|
3715
|
+
},
|
|
3716
|
+
"description": "(ScwFormComponent) the usage in a form (& scw-form a query target)",
|
|
3717
|
+
"attribute": "form-type",
|
|
3718
|
+
"reflects": true
|
|
3719
|
+
},
|
|
3720
|
+
{
|
|
3721
|
+
"kind": "field",
|
|
3722
|
+
"name": "name",
|
|
3723
|
+
"type": {
|
|
3724
|
+
"text": "string | undefined"
|
|
3725
|
+
},
|
|
3726
|
+
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
3727
|
+
"attribute": "name"
|
|
3728
|
+
},
|
|
3729
|
+
{
|
|
3730
|
+
"kind": "field",
|
|
3731
|
+
"name": "value",
|
|
3732
|
+
"type": {
|
|
3733
|
+
"text": "string"
|
|
3734
|
+
},
|
|
3735
|
+
"default": "''",
|
|
3736
|
+
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
3737
|
+
"attribute": "value"
|
|
3738
|
+
},
|
|
3739
|
+
{
|
|
3740
|
+
"kind": "field",
|
|
3741
|
+
"name": "placeholder",
|
|
3742
|
+
"type": {
|
|
3743
|
+
"text": "string"
|
|
3744
|
+
},
|
|
3745
|
+
"default": "''",
|
|
3746
|
+
"description": "(ScwFormComponent) text showing when there is no value",
|
|
3747
|
+
"attribute": "placeholder"
|
|
3748
|
+
},
|
|
3749
|
+
{
|
|
3750
|
+
"kind": "field",
|
|
3751
|
+
"name": "selected",
|
|
3752
|
+
"type": {
|
|
3753
|
+
"text": "boolean"
|
|
3754
|
+
},
|
|
3755
|
+
"default": "false",
|
|
3756
|
+
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
3757
|
+
"attribute": "selected"
|
|
3758
|
+
},
|
|
3759
|
+
{
|
|
3760
|
+
"kind": "field",
|
|
3761
|
+
"name": "readOnly",
|
|
3762
|
+
"type": {
|
|
3763
|
+
"text": "boolean"
|
|
3764
|
+
},
|
|
3765
|
+
"default": "false",
|
|
3766
|
+
"description": "(ScwFormComponent) read-only state management",
|
|
3767
|
+
"attribute": "read-only"
|
|
3768
|
+
},
|
|
3769
|
+
{
|
|
3770
|
+
"kind": "field",
|
|
3771
|
+
"name": "required",
|
|
3772
|
+
"type": {
|
|
3773
|
+
"text": "boolean"
|
|
3774
|
+
},
|
|
3775
|
+
"default": "false",
|
|
3776
|
+
"description": "(ScwFormComponent) required state management",
|
|
3777
|
+
"attribute": "required"
|
|
3778
|
+
},
|
|
3779
|
+
{
|
|
3780
|
+
"kind": "field",
|
|
3781
|
+
"name": "requiredLabel",
|
|
3782
|
+
"type": {
|
|
3783
|
+
"text": "string"
|
|
3784
|
+
},
|
|
3785
|
+
"default": "' *'",
|
|
3786
|
+
"description": "(ScwFormComponent) label indicator for required",
|
|
3787
|
+
"attribute": "required-label"
|
|
3788
|
+
},
|
|
3789
|
+
{
|
|
3790
|
+
"kind": "field",
|
|
3791
|
+
"name": "requiredFeedback",
|
|
3792
|
+
"type": {
|
|
3793
|
+
"text": "string | undefined"
|
|
3794
|
+
},
|
|
3795
|
+
"description": "(ScwFormComponent) label indicator for required",
|
|
3796
|
+
"attribute": "required-feedback"
|
|
3797
|
+
},
|
|
3798
|
+
{
|
|
3799
|
+
"kind": "field",
|
|
3800
|
+
"name": "feedback",
|
|
3801
|
+
"type": {
|
|
3802
|
+
"text": "string | undefined"
|
|
3803
|
+
},
|
|
3804
|
+
"description": "the text to use for feedback"
|
|
3805
|
+
},
|
|
3806
|
+
{
|
|
3807
|
+
"kind": "field",
|
|
3808
|
+
"name": "focused",
|
|
3809
|
+
"type": {
|
|
3810
|
+
"text": "boolean"
|
|
3811
|
+
},
|
|
3812
|
+
"default": "false",
|
|
3813
|
+
"description": "determines whether the input is focused or not"
|
|
3814
|
+
},
|
|
3815
|
+
{
|
|
3816
|
+
"kind": "field",
|
|
3817
|
+
"name": "invalid",
|
|
3818
|
+
"type": {
|
|
3819
|
+
"text": "boolean"
|
|
3820
|
+
},
|
|
3821
|
+
"default": "false",
|
|
3822
|
+
"description": "whether this form element is valid, passed validation"
|
|
3823
|
+
},
|
|
3824
|
+
{
|
|
3825
|
+
"kind": "method",
|
|
3826
|
+
"name": "decorateValues",
|
|
3827
|
+
"return": {
|
|
3828
|
+
"type": {
|
|
3829
|
+
"text": "void"
|
|
3830
|
+
}
|
|
3831
|
+
},
|
|
3909
3832
|
"parameters": [
|
|
3910
3833
|
{
|
|
3911
|
-
"name": "
|
|
3834
|
+
"name": "formData",
|
|
3912
3835
|
"type": {
|
|
3913
|
-
"text": "
|
|
3836
|
+
"text": "Object"
|
|
3914
3837
|
}
|
|
3915
3838
|
}
|
|
3916
|
-
],
|
|
3917
|
-
"
|
|
3918
|
-
"reflects": true
|
|
3839
|
+
],
|
|
3840
|
+
"description": "(ScwFormComponent) each form element to decorates the final data object"
|
|
3919
3841
|
},
|
|
3920
3842
|
{
|
|
3921
|
-
"kind": "
|
|
3922
|
-
"name": "
|
|
3923
|
-
"
|
|
3924
|
-
"
|
|
3843
|
+
"kind": "method",
|
|
3844
|
+
"name": "findIfRequired",
|
|
3845
|
+
"return": {
|
|
3846
|
+
"type": {
|
|
3847
|
+
"text": "boolean"
|
|
3848
|
+
}
|
|
3925
3849
|
},
|
|
3926
|
-
"
|
|
3850
|
+
"description": "Check to see if form element is required w/o knowing if there is validation"
|
|
3927
3851
|
},
|
|
3928
3852
|
{
|
|
3929
|
-
"kind": "
|
|
3930
|
-
"name": "
|
|
3931
|
-
"
|
|
3932
|
-
"
|
|
3853
|
+
"kind": "method",
|
|
3854
|
+
"name": "findValidationRules",
|
|
3855
|
+
"return": {
|
|
3856
|
+
"type": {
|
|
3857
|
+
"text": "ScwValidation | undefined"
|
|
3858
|
+
}
|
|
3933
3859
|
},
|
|
3934
|
-
"description": "
|
|
3935
|
-
"attribute": "size",
|
|
3936
|
-
"reflects": true
|
|
3860
|
+
"description": "Find validation child if there..."
|
|
3937
3861
|
},
|
|
3938
3862
|
{
|
|
3939
|
-
"kind": "
|
|
3940
|
-
"name": "
|
|
3941
|
-
"
|
|
3942
|
-
"
|
|
3863
|
+
"kind": "method",
|
|
3864
|
+
"name": "validate",
|
|
3865
|
+
"return": {
|
|
3866
|
+
"type": {
|
|
3867
|
+
"text": "ValidationResult[]"
|
|
3868
|
+
}
|
|
3943
3869
|
},
|
|
3944
|
-
"
|
|
3945
|
-
"
|
|
3946
|
-
|
|
3947
|
-
|
|
3870
|
+
"description": "run the validation rules if there...",
|
|
3871
|
+
"parameters": [
|
|
3872
|
+
{
|
|
3873
|
+
"name": "value",
|
|
3874
|
+
"type": {
|
|
3875
|
+
"text": "string"
|
|
3876
|
+
}
|
|
3877
|
+
}
|
|
3878
|
+
]
|
|
3948
3879
|
},
|
|
3949
3880
|
{
|
|
3950
|
-
"kind": "
|
|
3951
|
-
"name": "
|
|
3952
|
-
"
|
|
3953
|
-
"
|
|
3881
|
+
"kind": "method",
|
|
3882
|
+
"name": "createValidateRule",
|
|
3883
|
+
"return": {
|
|
3884
|
+
"type": {
|
|
3885
|
+
"text": "ScwValidate"
|
|
3886
|
+
}
|
|
3954
3887
|
},
|
|
3955
|
-
"
|
|
3888
|
+
"description": "create a validation rule from scratch"
|
|
3956
3889
|
},
|
|
3957
3890
|
{
|
|
3958
3891
|
"kind": "method",
|
|
3959
|
-
"name": "
|
|
3960
|
-
"
|
|
3892
|
+
"name": "addValidationRule",
|
|
3893
|
+
"parameters": [
|
|
3894
|
+
{
|
|
3895
|
+
"name": "rule",
|
|
3896
|
+
"type": {
|
|
3897
|
+
"text": "ScwValidate"
|
|
3898
|
+
}
|
|
3899
|
+
}
|
|
3900
|
+
],
|
|
3901
|
+
"description": "add validation to to child validation (create if not there)"
|
|
3961
3902
|
},
|
|
3962
3903
|
{
|
|
3963
|
-
"kind": "
|
|
3964
|
-
"name": "
|
|
3965
|
-
"
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3904
|
+
"kind": "method",
|
|
3905
|
+
"name": "createAndAddValidationRule",
|
|
3906
|
+
"parameters": [
|
|
3907
|
+
{
|
|
3908
|
+
"name": "type",
|
|
3909
|
+
"type": {
|
|
3910
|
+
"text": "ValidationTypes"
|
|
3911
|
+
}
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
"name": "feedbackOverride",
|
|
3915
|
+
"optional": true,
|
|
3916
|
+
"type": {
|
|
3917
|
+
"text": "string"
|
|
3918
|
+
}
|
|
3919
|
+
}
|
|
3920
|
+
],
|
|
3921
|
+
"description": "create a validation of a certain type..."
|
|
3922
|
+
},
|
|
3923
|
+
{
|
|
3924
|
+
"kind": "method",
|
|
3925
|
+
"name": "removeValidationRule",
|
|
3926
|
+
"parameters": [
|
|
3927
|
+
{
|
|
3928
|
+
"name": "type",
|
|
3929
|
+
"type": {
|
|
3930
|
+
"text": "ValidationTypes"
|
|
3931
|
+
}
|
|
3932
|
+
}
|
|
3933
|
+
]
|
|
3975
3934
|
},
|
|
3976
3935
|
{
|
|
3977
3936
|
"kind": "field",
|
|
@@ -4052,6 +4011,20 @@
|
|
|
4052
4011
|
"module": "src/scw-component/ScwComponent.ts"
|
|
4053
4012
|
}
|
|
4054
4013
|
},
|
|
4014
|
+
{
|
|
4015
|
+
"kind": "field",
|
|
4016
|
+
"name": "element",
|
|
4017
|
+
"type": {
|
|
4018
|
+
"text": "string"
|
|
4019
|
+
},
|
|
4020
|
+
"description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
|
|
4021
|
+
"attribute": "element",
|
|
4022
|
+
"reflects": true,
|
|
4023
|
+
"inheritedFrom": {
|
|
4024
|
+
"name": "ScwComponent",
|
|
4025
|
+
"module": "src/scw-component/ScwComponent.ts"
|
|
4026
|
+
}
|
|
4027
|
+
},
|
|
4055
4028
|
{
|
|
4056
4029
|
"kind": "method",
|
|
4057
4030
|
"name": "warn",
|
|
@@ -4094,34 +4067,82 @@
|
|
|
4094
4067
|
],
|
|
4095
4068
|
"attributes": [
|
|
4096
4069
|
{
|
|
4097
|
-
"name": "
|
|
4098
|
-
"
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
"text": "string | undefined"
|
|
4104
|
-
}
|
|
4105
|
-
}
|
|
4106
|
-
],
|
|
4107
|
-
"fieldName": "icon"
|
|
4070
|
+
"name": "form-type",
|
|
4071
|
+
"type": {
|
|
4072
|
+
"text": "ScwFormComponentTypes"
|
|
4073
|
+
},
|
|
4074
|
+
"description": "(ScwFormComponent) the usage in a form (& scw-form a query target)",
|
|
4075
|
+
"fieldName": "formType"
|
|
4108
4076
|
},
|
|
4109
4077
|
{
|
|
4110
|
-
"name": "
|
|
4078
|
+
"name": "name",
|
|
4111
4079
|
"type": {
|
|
4112
|
-
"text": "
|
|
4080
|
+
"text": "string | undefined"
|
|
4113
4081
|
},
|
|
4114
|
-
"description": "(
|
|
4115
|
-
"fieldName": "
|
|
4082
|
+
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
4083
|
+
"fieldName": "name"
|
|
4116
4084
|
},
|
|
4117
4085
|
{
|
|
4118
|
-
"name": "
|
|
4086
|
+
"name": "value",
|
|
4087
|
+
"type": {
|
|
4088
|
+
"text": "string"
|
|
4089
|
+
},
|
|
4090
|
+
"default": "''",
|
|
4091
|
+
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
4092
|
+
"fieldName": "value"
|
|
4093
|
+
},
|
|
4094
|
+
{
|
|
4095
|
+
"name": "placeholder",
|
|
4096
|
+
"type": {
|
|
4097
|
+
"text": "string"
|
|
4098
|
+
},
|
|
4099
|
+
"default": "''",
|
|
4100
|
+
"description": "(ScwFormComponent) text showing when there is no value",
|
|
4101
|
+
"fieldName": "placeholder"
|
|
4102
|
+
},
|
|
4103
|
+
{
|
|
4104
|
+
"name": "selected",
|
|
4119
4105
|
"type": {
|
|
4120
4106
|
"text": "boolean"
|
|
4121
4107
|
},
|
|
4122
4108
|
"default": "false",
|
|
4123
|
-
"description": "(
|
|
4124
|
-
"fieldName": "
|
|
4109
|
+
"description": "(ScwFormComponent) name to identify form element and attach data",
|
|
4110
|
+
"fieldName": "selected"
|
|
4111
|
+
},
|
|
4112
|
+
{
|
|
4113
|
+
"name": "read-only",
|
|
4114
|
+
"type": {
|
|
4115
|
+
"text": "boolean"
|
|
4116
|
+
},
|
|
4117
|
+
"default": "false",
|
|
4118
|
+
"description": "(ScwFormComponent) read-only state management",
|
|
4119
|
+
"fieldName": "readOnly"
|
|
4120
|
+
},
|
|
4121
|
+
{
|
|
4122
|
+
"name": "required",
|
|
4123
|
+
"type": {
|
|
4124
|
+
"text": "boolean"
|
|
4125
|
+
},
|
|
4126
|
+
"default": "false",
|
|
4127
|
+
"description": "(ScwFormComponent) required state management",
|
|
4128
|
+
"fieldName": "required"
|
|
4129
|
+
},
|
|
4130
|
+
{
|
|
4131
|
+
"name": "required-label",
|
|
4132
|
+
"type": {
|
|
4133
|
+
"text": "string"
|
|
4134
|
+
},
|
|
4135
|
+
"default": "' *'",
|
|
4136
|
+
"description": "(ScwFormComponent) label indicator for required",
|
|
4137
|
+
"fieldName": "requiredLabel"
|
|
4138
|
+
},
|
|
4139
|
+
{
|
|
4140
|
+
"name": "required-feedback",
|
|
4141
|
+
"type": {
|
|
4142
|
+
"text": "string | undefined"
|
|
4143
|
+
},
|
|
4144
|
+
"description": "(ScwFormComponent) label indicator for required",
|
|
4145
|
+
"fieldName": "requiredFeedback"
|
|
4125
4146
|
},
|
|
4126
4147
|
{
|
|
4127
4148
|
"name": "aria-label",
|
|
@@ -4190,9 +4211,9 @@
|
|
|
4190
4211
|
],
|
|
4191
4212
|
"superclass": {
|
|
4192
4213
|
"name": "ScwComponent",
|
|
4193
|
-
"
|
|
4214
|
+
"module": "/src/scw-component/ScwComponent"
|
|
4194
4215
|
},
|
|
4195
|
-
"tagName": "scw-
|
|
4216
|
+
"tagName": "scw-form-component",
|
|
4196
4217
|
"customElement": true
|
|
4197
4218
|
}
|
|
4198
4219
|
],
|
|
@@ -4201,29 +4222,8 @@
|
|
|
4201
4222
|
"kind": "js",
|
|
4202
4223
|
"name": "default",
|
|
4203
4224
|
"declaration": {
|
|
4204
|
-
"name": "
|
|
4205
|
-
"module": "src/scw-
|
|
4206
|
-
}
|
|
4207
|
-
}
|
|
4208
|
-
]
|
|
4209
|
-
},
|
|
4210
|
-
{
|
|
4211
|
-
"kind": "javascript-module",
|
|
4212
|
-
"path": "src/scw-icon/scw-icon-enums.ts",
|
|
4213
|
-
"declarations": [],
|
|
4214
|
-
"exports": []
|
|
4215
|
-
},
|
|
4216
|
-
{
|
|
4217
|
-
"kind": "javascript-module",
|
|
4218
|
-
"path": "src/scw-icon/scw-icon.ts",
|
|
4219
|
-
"declarations": [],
|
|
4220
|
-
"exports": [
|
|
4221
|
-
{
|
|
4222
|
-
"kind": "custom-element-definition",
|
|
4223
|
-
"name": "scw-icon",
|
|
4224
|
-
"declaration": {
|
|
4225
|
-
"name": "ScwIcon",
|
|
4226
|
-
"module": "/src/scw-icon/ScwIcon"
|
|
4225
|
+
"name": "ScwFormComponent",
|
|
4226
|
+
"module": "src/scw-form-component/scw-form-component.ts"
|
|
4227
4227
|
}
|
|
4228
4228
|
}
|
|
4229
4229
|
]
|
|
@@ -14960,12 +14960,6 @@
|
|
|
14960
14960
|
}
|
|
14961
14961
|
]
|
|
14962
14962
|
},
|
|
14963
|
-
{
|
|
14964
|
-
"kind": "javascript-module",
|
|
14965
|
-
"path": "src/utils/themes/enums.ts",
|
|
14966
|
-
"declarations": [],
|
|
14967
|
-
"exports": []
|
|
14968
|
-
},
|
|
14969
14963
|
{
|
|
14970
14964
|
"kind": "javascript-module",
|
|
14971
14965
|
"path": "src/utils/testing/colorContrast.ts",
|
|
@@ -15199,6 +15193,12 @@
|
|
|
15199
15193
|
}
|
|
15200
15194
|
}
|
|
15201
15195
|
]
|
|
15196
|
+
},
|
|
15197
|
+
{
|
|
15198
|
+
"kind": "javascript-module",
|
|
15199
|
+
"path": "src/utils/themes/enums.ts",
|
|
15200
|
+
"declarations": [],
|
|
15201
|
+
"exports": []
|
|
15202
15202
|
}
|
|
15203
15203
|
]
|
|
15204
15204
|
}
|