@genesislcap/foundation-ui 14.472.1 → 14.472.2
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 +451 -451
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -1398,6 +1398,37 @@
|
|
|
1398
1398
|
}
|
|
1399
1399
|
]
|
|
1400
1400
|
},
|
|
1401
|
+
{
|
|
1402
|
+
"kind": "javascript-module",
|
|
1403
|
+
"path": "src/_config/index.ts",
|
|
1404
|
+
"declarations": [],
|
|
1405
|
+
"exports": [
|
|
1406
|
+
{
|
|
1407
|
+
"kind": "js",
|
|
1408
|
+
"name": "*",
|
|
1409
|
+
"declaration": {
|
|
1410
|
+
"name": "*",
|
|
1411
|
+
"package": "./styles"
|
|
1412
|
+
}
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"kind": "js",
|
|
1416
|
+
"name": "*",
|
|
1417
|
+
"declaration": {
|
|
1418
|
+
"name": "*",
|
|
1419
|
+
"package": "./tokens"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"kind": "js",
|
|
1424
|
+
"name": "*",
|
|
1425
|
+
"declaration": {
|
|
1426
|
+
"name": "*",
|
|
1427
|
+
"package": "./values"
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
]
|
|
1431
|
+
},
|
|
1401
1432
|
{
|
|
1402
1433
|
"kind": "javascript-module",
|
|
1403
1434
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1792,37 +1823,6 @@
|
|
|
1792
1823
|
}
|
|
1793
1824
|
]
|
|
1794
1825
|
},
|
|
1795
|
-
{
|
|
1796
|
-
"kind": "javascript-module",
|
|
1797
|
-
"path": "src/_config/index.ts",
|
|
1798
|
-
"declarations": [],
|
|
1799
|
-
"exports": [
|
|
1800
|
-
{
|
|
1801
|
-
"kind": "js",
|
|
1802
|
-
"name": "*",
|
|
1803
|
-
"declaration": {
|
|
1804
|
-
"name": "*",
|
|
1805
|
-
"package": "./styles"
|
|
1806
|
-
}
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"kind": "js",
|
|
1810
|
-
"name": "*",
|
|
1811
|
-
"declaration": {
|
|
1812
|
-
"name": "*",
|
|
1813
|
-
"package": "./tokens"
|
|
1814
|
-
}
|
|
1815
|
-
},
|
|
1816
|
-
{
|
|
1817
|
-
"kind": "js",
|
|
1818
|
-
"name": "*",
|
|
1819
|
-
"declaration": {
|
|
1820
|
-
"name": "*",
|
|
1821
|
-
"package": "./values"
|
|
1822
|
-
}
|
|
1823
|
-
}
|
|
1824
|
-
]
|
|
1825
|
-
},
|
|
1826
1826
|
{
|
|
1827
1827
|
"kind": "javascript-module",
|
|
1828
1828
|
"path": "src/accordion/accordion.styles.ts",
|
|
@@ -2899,57 +2899,75 @@
|
|
|
2899
2899
|
},
|
|
2900
2900
|
{
|
|
2901
2901
|
"kind": "javascript-module",
|
|
2902
|
-
"path": "src/ai-
|
|
2902
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2903
2903
|
"declarations": [
|
|
2904
2904
|
{
|
|
2905
|
-
"kind": "
|
|
2906
|
-
"name": "
|
|
2907
|
-
"
|
|
2905
|
+
"kind": "function",
|
|
2906
|
+
"name": "foundationAiIndicatorStyles",
|
|
2907
|
+
"return": {
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "ElementStyles"
|
|
2910
|
+
}
|
|
2911
|
+
},
|
|
2912
|
+
"parameters": [
|
|
2913
|
+
{
|
|
2914
|
+
"name": "context",
|
|
2915
|
+
"type": {
|
|
2916
|
+
"text": "ElementDefinitionContext"
|
|
2917
|
+
}
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"name": "definition",
|
|
2921
|
+
"type": {
|
|
2922
|
+
"text": "FoundationElementDefinition"
|
|
2923
|
+
}
|
|
2924
|
+
}
|
|
2925
|
+
]
|
|
2908
2926
|
}
|
|
2909
2927
|
],
|
|
2910
2928
|
"exports": [
|
|
2911
2929
|
{
|
|
2912
2930
|
"kind": "js",
|
|
2913
|
-
"name": "
|
|
2931
|
+
"name": "foundationAiIndicatorStyles",
|
|
2914
2932
|
"declaration": {
|
|
2915
|
-
"name": "
|
|
2916
|
-
"module": "src/ai-
|
|
2933
|
+
"name": "foundationAiIndicatorStyles",
|
|
2934
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2917
2935
|
}
|
|
2918
2936
|
}
|
|
2919
2937
|
]
|
|
2920
2938
|
},
|
|
2921
2939
|
{
|
|
2922
2940
|
"kind": "javascript-module",
|
|
2923
|
-
"path": "src/ai-
|
|
2941
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2924
2942
|
"declarations": [
|
|
2925
2943
|
{
|
|
2926
2944
|
"kind": "variable",
|
|
2927
|
-
"name": "
|
|
2945
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2928
2946
|
"type": {
|
|
2929
|
-
"text": "ViewTemplate<
|
|
2947
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2930
2948
|
},
|
|
2931
|
-
"default": "html`\n ${(x) =>
|
|
2949
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2932
2950
|
}
|
|
2933
2951
|
],
|
|
2934
2952
|
"exports": [
|
|
2935
2953
|
{
|
|
2936
2954
|
"kind": "js",
|
|
2937
|
-
"name": "
|
|
2955
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2938
2956
|
"declaration": {
|
|
2939
|
-
"name": "
|
|
2940
|
-
"module": "src/ai-
|
|
2957
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2958
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2941
2959
|
}
|
|
2942
2960
|
}
|
|
2943
2961
|
]
|
|
2944
2962
|
},
|
|
2945
2963
|
{
|
|
2946
2964
|
"kind": "javascript-module",
|
|
2947
|
-
"path": "src/ai-
|
|
2965
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2948
2966
|
"declarations": [
|
|
2949
2967
|
{
|
|
2950
2968
|
"kind": "class",
|
|
2951
|
-
"description": "
|
|
2952
|
-
"name": "
|
|
2969
|
+
"description": "",
|
|
2970
|
+
"name": "AiIndicator",
|
|
2953
2971
|
"members": [
|
|
2954
2972
|
{
|
|
2955
2973
|
"kind": "field",
|
|
@@ -2960,54 +2978,25 @@
|
|
|
2960
2978
|
},
|
|
2961
2979
|
{
|
|
2962
2980
|
"kind": "field",
|
|
2963
|
-
"name": "
|
|
2964
|
-
"type": {
|
|
2965
|
-
"text": "string"
|
|
2966
|
-
},
|
|
2967
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2968
|
-
},
|
|
2969
|
-
{
|
|
2970
|
-
"kind": "field",
|
|
2971
|
-
"name": "disabled",
|
|
2972
|
-
"type": {
|
|
2973
|
-
"text": "boolean"
|
|
2974
|
-
}
|
|
2975
|
-
},
|
|
2976
|
-
{
|
|
2977
|
-
"kind": "field",
|
|
2978
|
-
"name": "inputValue",
|
|
2979
|
-
"type": {
|
|
2980
|
-
"text": "string"
|
|
2981
|
-
},
|
|
2982
|
-
"default": "''"
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"kind": "field",
|
|
2986
|
-
"name": "isInterpreting",
|
|
2981
|
+
"name": "aiProvider",
|
|
2987
2982
|
"type": {
|
|
2988
|
-
"text": "
|
|
2983
|
+
"text": "AIProvider | undefined"
|
|
2989
2984
|
},
|
|
2990
|
-
"
|
|
2985
|
+
"privacy": "private",
|
|
2986
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
2987
|
+
"readonly": true
|
|
2991
2988
|
},
|
|
2992
2989
|
{
|
|
2993
2990
|
"kind": "field",
|
|
2994
|
-
"name": "
|
|
2991
|
+
"name": "status",
|
|
2995
2992
|
"type": {
|
|
2996
|
-
"text": "
|
|
2993
|
+
"text": "AIStatus | null"
|
|
2997
2994
|
},
|
|
2998
2995
|
"default": "null"
|
|
2999
2996
|
},
|
|
3000
2997
|
{
|
|
3001
2998
|
"kind": "field",
|
|
3002
|
-
"name": "
|
|
3003
|
-
"type": {
|
|
3004
|
-
"text": "CriteriaGroup[]"
|
|
3005
|
-
},
|
|
3006
|
-
"default": "[]"
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"kind": "field",
|
|
3010
|
-
"name": "showingChips",
|
|
2999
|
+
"name": "open",
|
|
3011
3000
|
"type": {
|
|
3012
3001
|
"text": "boolean"
|
|
3013
3002
|
},
|
|
@@ -3015,15 +3004,15 @@
|
|
|
3015
3004
|
},
|
|
3016
3005
|
{
|
|
3017
3006
|
"kind": "field",
|
|
3018
|
-
"name": "
|
|
3007
|
+
"name": "state",
|
|
3019
3008
|
"type": {
|
|
3020
|
-
"text": "
|
|
3009
|
+
"text": "AIIndicatorState"
|
|
3021
3010
|
},
|
|
3022
|
-
"default": "
|
|
3011
|
+
"default": "'none'"
|
|
3023
3012
|
},
|
|
3024
3013
|
{
|
|
3025
3014
|
"kind": "field",
|
|
3026
|
-
"name": "
|
|
3015
|
+
"name": "isInstalling",
|
|
3027
3016
|
"type": {
|
|
3028
3017
|
"text": "boolean"
|
|
3029
3018
|
},
|
|
@@ -3031,33 +3020,29 @@
|
|
|
3031
3020
|
},
|
|
3032
3021
|
{
|
|
3033
3022
|
"kind": "field",
|
|
3034
|
-
"name": "
|
|
3023
|
+
"name": "pollTimer",
|
|
3035
3024
|
"type": {
|
|
3036
|
-
"text": "
|
|
3025
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3037
3026
|
},
|
|
3038
|
-
"privacy": "
|
|
3027
|
+
"privacy": "private",
|
|
3028
|
+
"default": "null"
|
|
3039
3029
|
},
|
|
3040
3030
|
{
|
|
3041
3031
|
"kind": "field",
|
|
3042
|
-
"name": "
|
|
3043
|
-
"
|
|
3044
|
-
"text": "(() => void) | null"
|
|
3045
|
-
},
|
|
3046
|
-
"privacy": "private",
|
|
3047
|
-
"default": "null"
|
|
3032
|
+
"name": "clickOutside",
|
|
3033
|
+
"privacy": "private"
|
|
3048
3034
|
},
|
|
3049
3035
|
{
|
|
3050
3036
|
"kind": "field",
|
|
3051
|
-
"name": "
|
|
3037
|
+
"name": "chromeStatusLabel",
|
|
3052
3038
|
"type": {
|
|
3053
|
-
"text": "
|
|
3039
|
+
"text": "string | null"
|
|
3054
3040
|
},
|
|
3055
|
-
"
|
|
3056
|
-
"default": "null"
|
|
3041
|
+
"readonly": true
|
|
3057
3042
|
},
|
|
3058
3043
|
{
|
|
3059
3044
|
"kind": "field",
|
|
3060
|
-
"name": "
|
|
3045
|
+
"name": "canInstall",
|
|
3061
3046
|
"type": {
|
|
3062
3047
|
"text": "boolean"
|
|
3063
3048
|
},
|
|
@@ -3065,65 +3050,69 @@
|
|
|
3065
3050
|
},
|
|
3066
3051
|
{
|
|
3067
3052
|
"kind": "field",
|
|
3068
|
-
"name": "
|
|
3053
|
+
"name": "isDownloading",
|
|
3069
3054
|
"type": {
|
|
3070
|
-
"text": "
|
|
3055
|
+
"text": "boolean"
|
|
3071
3056
|
},
|
|
3072
3057
|
"readonly": true
|
|
3073
3058
|
},
|
|
3074
3059
|
{
|
|
3075
3060
|
"kind": "method",
|
|
3076
|
-
"name": "
|
|
3077
|
-
"privacy": "private",
|
|
3061
|
+
"name": "openChanged",
|
|
3078
3062
|
"return": {
|
|
3079
3063
|
"type": {
|
|
3080
|
-
"text": "
|
|
3064
|
+
"text": "void"
|
|
3081
3065
|
}
|
|
3082
|
-
}
|
|
3066
|
+
}
|
|
3067
|
+
},
|
|
3068
|
+
{
|
|
3069
|
+
"kind": "method",
|
|
3070
|
+
"name": "handleClickOutside",
|
|
3071
|
+
"privacy": "private",
|
|
3083
3072
|
"parameters": [
|
|
3084
3073
|
{
|
|
3085
|
-
"name": "
|
|
3074
|
+
"name": "event",
|
|
3086
3075
|
"type": {
|
|
3087
|
-
"text": "
|
|
3076
|
+
"text": "MouseEvent"
|
|
3088
3077
|
}
|
|
3089
3078
|
}
|
|
3090
3079
|
]
|
|
3091
3080
|
},
|
|
3092
3081
|
{
|
|
3093
3082
|
"kind": "method",
|
|
3094
|
-
"name": "
|
|
3083
|
+
"name": "toggleDropdown"
|
|
3084
|
+
},
|
|
3085
|
+
{
|
|
3086
|
+
"kind": "method",
|
|
3087
|
+
"name": "refreshStatus",
|
|
3095
3088
|
"return": {
|
|
3096
3089
|
"type": {
|
|
3097
|
-
"text": "void"
|
|
3090
|
+
"text": "Promise<void>"
|
|
3098
3091
|
}
|
|
3099
3092
|
}
|
|
3100
3093
|
},
|
|
3101
3094
|
{
|
|
3102
3095
|
"kind": "method",
|
|
3103
|
-
"name": "
|
|
3096
|
+
"name": "deriveState",
|
|
3097
|
+
"privacy": "private",
|
|
3104
3098
|
"return": {
|
|
3105
3099
|
"type": {
|
|
3106
|
-
"text": "
|
|
3100
|
+
"text": "AIIndicatorState"
|
|
3107
3101
|
}
|
|
3108
3102
|
},
|
|
3109
3103
|
"parameters": [
|
|
3110
3104
|
{
|
|
3111
|
-
"name": "
|
|
3112
|
-
"type": {
|
|
3113
|
-
"text": "number"
|
|
3114
|
-
}
|
|
3115
|
-
},
|
|
3116
|
-
{
|
|
3117
|
-
"name": "clauseIndex",
|
|
3105
|
+
"name": "s",
|
|
3118
3106
|
"type": {
|
|
3119
|
-
"text": "
|
|
3107
|
+
"text": "AIStatus | null"
|
|
3120
3108
|
}
|
|
3121
3109
|
}
|
|
3122
3110
|
]
|
|
3123
3111
|
},
|
|
3124
3112
|
{
|
|
3125
3113
|
"kind": "method",
|
|
3126
|
-
"name": "
|
|
3114
|
+
"name": "maybeStartPolling",
|
|
3115
|
+
"privacy": "private",
|
|
3127
3116
|
"return": {
|
|
3128
3117
|
"type": {
|
|
3129
3118
|
"text": "void"
|
|
@@ -3132,24 +3121,32 @@
|
|
|
3132
3121
|
},
|
|
3133
3122
|
{
|
|
3134
3123
|
"kind": "method",
|
|
3135
|
-
"name": "
|
|
3124
|
+
"name": "startPolling",
|
|
3125
|
+
"privacy": "private",
|
|
3126
|
+
"return": {
|
|
3127
|
+
"type": {
|
|
3128
|
+
"text": "void"
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3136
3131
|
},
|
|
3137
3132
|
{
|
|
3138
3133
|
"kind": "method",
|
|
3139
|
-
"name": "
|
|
3134
|
+
"name": "stopPolling",
|
|
3135
|
+
"privacy": "private",
|
|
3136
|
+
"return": {
|
|
3137
|
+
"type": {
|
|
3138
|
+
"text": "void"
|
|
3139
|
+
}
|
|
3140
|
+
}
|
|
3140
3141
|
},
|
|
3141
3142
|
{
|
|
3142
3143
|
"kind": "method",
|
|
3143
|
-
"name": "
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
{
|
|
3150
|
-
"kind": "method",
|
|
3151
|
-
"name": "clearSpeechApplyDebounce",
|
|
3152
|
-
"privacy": "private"
|
|
3144
|
+
"name": "onInstall",
|
|
3145
|
+
"return": {
|
|
3146
|
+
"type": {
|
|
3147
|
+
"text": "Promise<void>"
|
|
3148
|
+
}
|
|
3149
|
+
}
|
|
3153
3150
|
},
|
|
3154
3151
|
{
|
|
3155
3152
|
"kind": "field",
|
|
@@ -3263,320 +3260,145 @@
|
|
|
3263
3260
|
}
|
|
3264
3261
|
}
|
|
3265
3262
|
],
|
|
3266
|
-
"events": [
|
|
3267
|
-
{
|
|
3268
|
-
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3269
|
-
"name": "criteria-changed"
|
|
3270
|
-
},
|
|
3271
|
-
{
|
|
3272
|
-
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3273
|
-
"name": "validation-errors"
|
|
3274
|
-
}
|
|
3275
|
-
],
|
|
3276
|
-
"attributes": [
|
|
3277
|
-
{
|
|
3278
|
-
"name": "placeholder",
|
|
3279
|
-
"type": {
|
|
3280
|
-
"text": "string"
|
|
3281
|
-
},
|
|
3282
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3283
|
-
"fieldName": "placeholder"
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"type": {
|
|
3287
|
-
"text": "boolean"
|
|
3288
|
-
},
|
|
3289
|
-
"fieldName": "disabled"
|
|
3290
|
-
}
|
|
3291
|
-
],
|
|
3292
3263
|
"superclass": {
|
|
3293
3264
|
"name": "FoundationElement",
|
|
3294
3265
|
"package": "@microsoft/fast-foundation"
|
|
3295
3266
|
},
|
|
3296
|
-
"tagName": "%%prefix%%-ai-
|
|
3267
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3297
3268
|
"customElement": true
|
|
3298
3269
|
},
|
|
3299
3270
|
{
|
|
3300
3271
|
"kind": "variable",
|
|
3301
|
-
"name": "
|
|
3302
|
-
"type": {
|
|
3303
|
-
"text": "ShadowRootInit"
|
|
3304
|
-
},
|
|
3305
|
-
"default": "undefined"
|
|
3306
|
-
},
|
|
3307
|
-
{
|
|
3308
|
-
"kind": "variable",
|
|
3309
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3310
|
-
"type": {
|
|
3311
|
-
"text": "object"
|
|
3312
|
-
},
|
|
3313
|
-
"default": "{}"
|
|
3314
|
-
},
|
|
3315
|
-
{
|
|
3316
|
-
"kind": "variable",
|
|
3317
|
-
"name": "foundationAiCriteriaSearch"
|
|
3272
|
+
"name": "foundationAiIndicator"
|
|
3318
3273
|
}
|
|
3319
3274
|
],
|
|
3320
3275
|
"exports": [
|
|
3321
3276
|
{
|
|
3322
3277
|
"kind": "js",
|
|
3323
|
-
"name": "
|
|
3324
|
-
"declaration": {
|
|
3325
|
-
"name": "AiCriteriaSearch",
|
|
3326
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3327
|
-
}
|
|
3328
|
-
},
|
|
3329
|
-
{
|
|
3330
|
-
"kind": "js",
|
|
3331
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3332
|
-
"declaration": {
|
|
3333
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3334
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3335
|
-
}
|
|
3336
|
-
},
|
|
3337
|
-
{
|
|
3338
|
-
"kind": "js",
|
|
3339
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3278
|
+
"name": "AiIndicator",
|
|
3340
3279
|
"declaration": {
|
|
3341
|
-
"name": "
|
|
3342
|
-
"module": "src/ai-
|
|
3280
|
+
"name": "AiIndicator",
|
|
3281
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3343
3282
|
}
|
|
3344
3283
|
},
|
|
3345
3284
|
{
|
|
3346
3285
|
"kind": "js",
|
|
3347
|
-
"name": "
|
|
3286
|
+
"name": "foundationAiIndicator",
|
|
3348
3287
|
"declaration": {
|
|
3349
|
-
"name": "
|
|
3350
|
-
"module": "src/ai-
|
|
3288
|
+
"name": "foundationAiIndicator",
|
|
3289
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3351
3290
|
}
|
|
3352
3291
|
}
|
|
3353
3292
|
]
|
|
3354
3293
|
},
|
|
3355
3294
|
{
|
|
3356
3295
|
"kind": "javascript-module",
|
|
3357
|
-
"path": "src/ai-
|
|
3296
|
+
"path": "src/ai-indicator/index.ts",
|
|
3358
3297
|
"declarations": [],
|
|
3359
3298
|
"exports": [
|
|
3360
3299
|
{
|
|
3361
3300
|
"kind": "js",
|
|
3362
|
-
"name": "
|
|
3363
|
-
"declaration": {
|
|
3364
|
-
"name": "AiCriteriaSearch",
|
|
3365
|
-
"module": "./ai-criteria-search"
|
|
3366
|
-
}
|
|
3367
|
-
},
|
|
3368
|
-
{
|
|
3369
|
-
"kind": "js",
|
|
3370
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3371
|
-
"declaration": {
|
|
3372
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3373
|
-
"module": "./ai-criteria-search"
|
|
3374
|
-
}
|
|
3375
|
-
},
|
|
3376
|
-
{
|
|
3377
|
-
"kind": "js",
|
|
3378
|
-
"name": "foundationAiCriteriaSearch",
|
|
3379
|
-
"declaration": {
|
|
3380
|
-
"name": "foundationAiCriteriaSearch",
|
|
3381
|
-
"module": "./ai-criteria-search"
|
|
3382
|
-
}
|
|
3383
|
-
},
|
|
3384
|
-
{
|
|
3385
|
-
"kind": "js",
|
|
3386
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3301
|
+
"name": "AiIndicator",
|
|
3387
3302
|
"declaration": {
|
|
3388
|
-
"name": "
|
|
3389
|
-
"module": "./ai-
|
|
3303
|
+
"name": "AiIndicator",
|
|
3304
|
+
"module": "./ai-indicator"
|
|
3390
3305
|
}
|
|
3391
3306
|
},
|
|
3392
3307
|
{
|
|
3393
3308
|
"kind": "js",
|
|
3394
|
-
"name": "
|
|
3309
|
+
"name": "foundationAiIndicator",
|
|
3395
3310
|
"declaration": {
|
|
3396
|
-
"name": "
|
|
3397
|
-
"module": "./ai-
|
|
3311
|
+
"name": "foundationAiIndicator",
|
|
3312
|
+
"module": "./ai-indicator"
|
|
3398
3313
|
}
|
|
3399
3314
|
},
|
|
3400
3315
|
{
|
|
3401
3316
|
"kind": "js",
|
|
3402
|
-
"name": "
|
|
3317
|
+
"name": "type",
|
|
3403
3318
|
"declaration": {
|
|
3404
|
-
"name": "
|
|
3405
|
-
"module": "./ai-
|
|
3319
|
+
"name": "type",
|
|
3320
|
+
"module": "./ai-indicator"
|
|
3406
3321
|
}
|
|
3407
3322
|
},
|
|
3408
3323
|
{
|
|
3409
3324
|
"kind": "js",
|
|
3410
|
-
"name": "
|
|
3325
|
+
"name": "AIIndicatorState",
|
|
3411
3326
|
"declaration": {
|
|
3412
|
-
"name": "
|
|
3413
|
-
"
|
|
3327
|
+
"name": "AIIndicatorState",
|
|
3328
|
+
"module": "./ai-indicator"
|
|
3414
3329
|
}
|
|
3415
3330
|
},
|
|
3416
3331
|
{
|
|
3417
3332
|
"kind": "js",
|
|
3418
|
-
"name": "
|
|
3333
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3419
3334
|
"declaration": {
|
|
3420
|
-
"name": "
|
|
3421
|
-
"
|
|
3335
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3336
|
+
"module": "./ai-indicator.template"
|
|
3422
3337
|
}
|
|
3423
3338
|
},
|
|
3424
3339
|
{
|
|
3425
3340
|
"kind": "js",
|
|
3426
|
-
"name": "
|
|
3341
|
+
"name": "foundationAiIndicatorStyles",
|
|
3427
3342
|
"declaration": {
|
|
3428
|
-
"name": "
|
|
3429
|
-
"
|
|
3343
|
+
"name": "foundationAiIndicatorStyles",
|
|
3344
|
+
"module": "./ai-indicator.styles"
|
|
3430
3345
|
}
|
|
3431
3346
|
}
|
|
3432
3347
|
]
|
|
3433
3348
|
},
|
|
3434
3349
|
{
|
|
3435
3350
|
"kind": "javascript-module",
|
|
3436
|
-
"path": "src/ai-criteria-search/
|
|
3351
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3437
3352
|
"declarations": [
|
|
3438
3353
|
{
|
|
3439
|
-
"kind": "
|
|
3440
|
-
"name": "
|
|
3441
|
-
"
|
|
3442
|
-
"type": {
|
|
3443
|
-
"text": "string"
|
|
3444
|
-
}
|
|
3445
|
-
},
|
|
3446
|
-
"parameters": [
|
|
3447
|
-
{
|
|
3448
|
-
"name": "errors",
|
|
3449
|
-
"type": {
|
|
3450
|
-
"text": "ValidationError[]"
|
|
3451
|
-
}
|
|
3452
|
-
}
|
|
3453
|
-
],
|
|
3454
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3455
|
-
},
|
|
3456
|
-
{
|
|
3457
|
-
"kind": "function",
|
|
3458
|
-
"name": "showCriteriaError",
|
|
3459
|
-
"return": {
|
|
3460
|
-
"type": {
|
|
3461
|
-
"text": "void"
|
|
3462
|
-
}
|
|
3463
|
-
},
|
|
3464
|
-
"parameters": [
|
|
3465
|
-
{
|
|
3466
|
-
"name": "title",
|
|
3467
|
-
"type": {
|
|
3468
|
-
"text": "string"
|
|
3469
|
-
},
|
|
3470
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3471
|
-
},
|
|
3472
|
-
{
|
|
3473
|
-
"name": "body",
|
|
3474
|
-
"type": {
|
|
3475
|
-
"text": "string"
|
|
3476
|
-
},
|
|
3477
|
-
"description": "Error message to display"
|
|
3478
|
-
},
|
|
3479
|
-
{
|
|
3480
|
-
"name": "tagName",
|
|
3481
|
-
"type": {
|
|
3482
|
-
"text": "string"
|
|
3483
|
-
},
|
|
3484
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3485
|
-
}
|
|
3486
|
-
],
|
|
3487
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3354
|
+
"kind": "variable",
|
|
3355
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3356
|
+
"default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
3488
3357
|
}
|
|
3489
3358
|
],
|
|
3490
3359
|
"exports": [
|
|
3491
3360
|
{
|
|
3492
3361
|
"kind": "js",
|
|
3493
|
-
"name": "
|
|
3494
|
-
"declaration": {
|
|
3495
|
-
"name": "formatValidationErrors",
|
|
3496
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3497
|
-
}
|
|
3498
|
-
},
|
|
3499
|
-
{
|
|
3500
|
-
"kind": "js",
|
|
3501
|
-
"name": "showCriteriaError",
|
|
3362
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3502
3363
|
"declaration": {
|
|
3503
|
-
"name": "
|
|
3504
|
-
"module": "src/ai-criteria-search/
|
|
3364
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3365
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3505
3366
|
}
|
|
3506
3367
|
}
|
|
3507
3368
|
]
|
|
3508
3369
|
},
|
|
3509
3370
|
{
|
|
3510
3371
|
"kind": "javascript-module",
|
|
3511
|
-
"path": "src/ai-
|
|
3372
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3512
3373
|
"declarations": [
|
|
3513
3374
|
{
|
|
3514
|
-
"kind": "
|
|
3515
|
-
"name": "
|
|
3516
|
-
"
|
|
3517
|
-
"
|
|
3518
|
-
"text": "ElementStyles"
|
|
3519
|
-
}
|
|
3375
|
+
"kind": "variable",
|
|
3376
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3377
|
+
"type": {
|
|
3378
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3520
3379
|
},
|
|
3521
|
-
"
|
|
3522
|
-
{
|
|
3523
|
-
"name": "context",
|
|
3524
|
-
"type": {
|
|
3525
|
-
"text": "ElementDefinitionContext"
|
|
3526
|
-
}
|
|
3527
|
-
},
|
|
3528
|
-
{
|
|
3529
|
-
"name": "definition",
|
|
3530
|
-
"type": {
|
|
3531
|
-
"text": "FoundationElementDefinition"
|
|
3532
|
-
}
|
|
3533
|
-
}
|
|
3534
|
-
]
|
|
3380
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3535
3381
|
}
|
|
3536
3382
|
],
|
|
3537
3383
|
"exports": [
|
|
3538
3384
|
{
|
|
3539
3385
|
"kind": "js",
|
|
3540
|
-
"name": "
|
|
3386
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3541
3387
|
"declaration": {
|
|
3542
|
-
"name": "
|
|
3543
|
-
"module": "src/ai-
|
|
3388
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3389
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3544
3390
|
}
|
|
3545
3391
|
}
|
|
3546
3392
|
]
|
|
3547
3393
|
},
|
|
3548
3394
|
{
|
|
3549
3395
|
"kind": "javascript-module",
|
|
3550
|
-
"path": "src/ai-
|
|
3551
|
-
"declarations": [
|
|
3552
|
-
{
|
|
3553
|
-
"kind": "variable",
|
|
3554
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3555
|
-
"type": {
|
|
3556
|
-
"text": "ViewTemplate<AiIndicator>"
|
|
3557
|
-
},
|
|
3558
|
-
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3559
|
-
}
|
|
3560
|
-
],
|
|
3561
|
-
"exports": [
|
|
3562
|
-
{
|
|
3563
|
-
"kind": "js",
|
|
3564
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3565
|
-
"declaration": {
|
|
3566
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3567
|
-
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3568
|
-
}
|
|
3569
|
-
}
|
|
3570
|
-
]
|
|
3571
|
-
},
|
|
3572
|
-
{
|
|
3573
|
-
"kind": "javascript-module",
|
|
3574
|
-
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3396
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3575
3397
|
"declarations": [
|
|
3576
3398
|
{
|
|
3577
3399
|
"kind": "class",
|
|
3578
|
-
"description": "",
|
|
3579
|
-
"name": "
|
|
3400
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3401
|
+
"name": "AiCriteriaSearch",
|
|
3580
3402
|
"members": [
|
|
3581
3403
|
{
|
|
3582
3404
|
"kind": "field",
|
|
@@ -3587,25 +3409,54 @@
|
|
|
3587
3409
|
},
|
|
3588
3410
|
{
|
|
3589
3411
|
"kind": "field",
|
|
3590
|
-
"name": "
|
|
3412
|
+
"name": "placeholder",
|
|
3591
3413
|
"type": {
|
|
3592
|
-
"text": "
|
|
3414
|
+
"text": "string"
|
|
3593
3415
|
},
|
|
3594
|
-
"
|
|
3595
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3596
|
-
"readonly": true
|
|
3416
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3597
3417
|
},
|
|
3598
3418
|
{
|
|
3599
3419
|
"kind": "field",
|
|
3600
|
-
"name": "
|
|
3420
|
+
"name": "disabled",
|
|
3601
3421
|
"type": {
|
|
3602
|
-
"text": "
|
|
3422
|
+
"text": "boolean"
|
|
3423
|
+
}
|
|
3424
|
+
},
|
|
3425
|
+
{
|
|
3426
|
+
"kind": "field",
|
|
3427
|
+
"name": "inputValue",
|
|
3428
|
+
"type": {
|
|
3429
|
+
"text": "string"
|
|
3430
|
+
},
|
|
3431
|
+
"default": "''"
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
"kind": "field",
|
|
3435
|
+
"name": "isInterpreting",
|
|
3436
|
+
"type": {
|
|
3437
|
+
"text": "boolean"
|
|
3438
|
+
},
|
|
3439
|
+
"default": "false"
|
|
3440
|
+
},
|
|
3441
|
+
{
|
|
3442
|
+
"kind": "field",
|
|
3443
|
+
"name": "lastValidCriteria",
|
|
3444
|
+
"type": {
|
|
3445
|
+
"text": "string | null"
|
|
3603
3446
|
},
|
|
3604
3447
|
"default": "null"
|
|
3605
3448
|
},
|
|
3606
3449
|
{
|
|
3607
3450
|
"kind": "field",
|
|
3608
|
-
"name": "
|
|
3451
|
+
"name": "activeGroups",
|
|
3452
|
+
"type": {
|
|
3453
|
+
"text": "CriteriaGroup[]"
|
|
3454
|
+
},
|
|
3455
|
+
"default": "[]"
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
"kind": "field",
|
|
3459
|
+
"name": "showingChips",
|
|
3609
3460
|
"type": {
|
|
3610
3461
|
"text": "boolean"
|
|
3611
3462
|
},
|
|
@@ -3613,15 +3464,15 @@
|
|
|
3613
3464
|
},
|
|
3614
3465
|
{
|
|
3615
3466
|
"kind": "field",
|
|
3616
|
-
"name": "
|
|
3467
|
+
"name": "fieldMetadata",
|
|
3617
3468
|
"type": {
|
|
3618
|
-
"text": "
|
|
3469
|
+
"text": "MetadataDetail[] | string[]"
|
|
3619
3470
|
},
|
|
3620
|
-
"default": "
|
|
3471
|
+
"default": "[]"
|
|
3621
3472
|
},
|
|
3622
3473
|
{
|
|
3623
3474
|
"kind": "field",
|
|
3624
|
-
"name": "
|
|
3475
|
+
"name": "isRecording",
|
|
3625
3476
|
"type": {
|
|
3626
3477
|
"text": "boolean"
|
|
3627
3478
|
},
|
|
@@ -3629,29 +3480,33 @@
|
|
|
3629
3480
|
},
|
|
3630
3481
|
{
|
|
3631
3482
|
"kind": "field",
|
|
3632
|
-
"name": "
|
|
3483
|
+
"name": "textAreaRef",
|
|
3633
3484
|
"type": {
|
|
3634
|
-
"text": "
|
|
3485
|
+
"text": "HTMLTextAreaElement"
|
|
3635
3486
|
},
|
|
3636
|
-
"privacy": "
|
|
3637
|
-
"default": "null"
|
|
3487
|
+
"privacy": "public"
|
|
3638
3488
|
},
|
|
3639
3489
|
{
|
|
3640
3490
|
"kind": "field",
|
|
3641
|
-
"name": "
|
|
3642
|
-
"
|
|
3491
|
+
"name": "stopRecording",
|
|
3492
|
+
"type": {
|
|
3493
|
+
"text": "(() => void) | null"
|
|
3494
|
+
},
|
|
3495
|
+
"privacy": "private",
|
|
3496
|
+
"default": "null"
|
|
3643
3497
|
},
|
|
3644
3498
|
{
|
|
3645
3499
|
"kind": "field",
|
|
3646
|
-
"name": "
|
|
3500
|
+
"name": "speechApplyDebounceTimer",
|
|
3647
3501
|
"type": {
|
|
3648
|
-
"text": "
|
|
3502
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3649
3503
|
},
|
|
3650
|
-
"
|
|
3504
|
+
"privacy": "private",
|
|
3505
|
+
"default": "null"
|
|
3651
3506
|
},
|
|
3652
3507
|
{
|
|
3653
3508
|
"kind": "field",
|
|
3654
|
-
"name": "
|
|
3509
|
+
"name": "speechAvailable",
|
|
3655
3510
|
"type": {
|
|
3656
3511
|
"text": "boolean"
|
|
3657
3512
|
},
|
|
@@ -3659,69 +3514,65 @@
|
|
|
3659
3514
|
},
|
|
3660
3515
|
{
|
|
3661
3516
|
"kind": "field",
|
|
3662
|
-
"name": "
|
|
3517
|
+
"name": "criteriaChips",
|
|
3663
3518
|
"type": {
|
|
3664
|
-
"text": "
|
|
3519
|
+
"text": "CriteriaChip[]"
|
|
3665
3520
|
},
|
|
3666
3521
|
"readonly": true
|
|
3667
3522
|
},
|
|
3668
3523
|
{
|
|
3669
3524
|
"kind": "method",
|
|
3670
|
-
"name": "
|
|
3525
|
+
"name": "getFieldLabel",
|
|
3526
|
+
"privacy": "private",
|
|
3671
3527
|
"return": {
|
|
3672
3528
|
"type": {
|
|
3673
|
-
"text": "
|
|
3529
|
+
"text": "string"
|
|
3674
3530
|
}
|
|
3675
|
-
}
|
|
3676
|
-
},
|
|
3677
|
-
{
|
|
3678
|
-
"kind": "method",
|
|
3679
|
-
"name": "handleClickOutside",
|
|
3680
|
-
"privacy": "private",
|
|
3531
|
+
},
|
|
3681
3532
|
"parameters": [
|
|
3682
3533
|
{
|
|
3683
|
-
"name": "
|
|
3534
|
+
"name": "fieldName",
|
|
3684
3535
|
"type": {
|
|
3685
|
-
"text": "
|
|
3536
|
+
"text": "string"
|
|
3686
3537
|
}
|
|
3687
3538
|
}
|
|
3688
3539
|
]
|
|
3689
3540
|
},
|
|
3690
3541
|
{
|
|
3691
3542
|
"kind": "method",
|
|
3692
|
-
"name": "
|
|
3693
|
-
},
|
|
3694
|
-
{
|
|
3695
|
-
"kind": "method",
|
|
3696
|
-
"name": "refreshStatus",
|
|
3543
|
+
"name": "toggleCriteriaView",
|
|
3697
3544
|
"return": {
|
|
3698
3545
|
"type": {
|
|
3699
|
-
"text": "
|
|
3546
|
+
"text": "void"
|
|
3700
3547
|
}
|
|
3701
3548
|
}
|
|
3702
3549
|
},
|
|
3703
3550
|
{
|
|
3704
3551
|
"kind": "method",
|
|
3705
|
-
"name": "
|
|
3706
|
-
"privacy": "private",
|
|
3552
|
+
"name": "removeChip",
|
|
3707
3553
|
"return": {
|
|
3708
3554
|
"type": {
|
|
3709
|
-
"text": "
|
|
3555
|
+
"text": "void"
|
|
3710
3556
|
}
|
|
3711
3557
|
},
|
|
3712
3558
|
"parameters": [
|
|
3713
3559
|
{
|
|
3714
|
-
"name": "
|
|
3560
|
+
"name": "groupIndex",
|
|
3715
3561
|
"type": {
|
|
3716
|
-
"text": "
|
|
3562
|
+
"text": "number"
|
|
3563
|
+
}
|
|
3564
|
+
},
|
|
3565
|
+
{
|
|
3566
|
+
"name": "clauseIndex",
|
|
3567
|
+
"type": {
|
|
3568
|
+
"text": "number"
|
|
3717
3569
|
}
|
|
3718
3570
|
}
|
|
3719
3571
|
]
|
|
3720
3572
|
},
|
|
3721
3573
|
{
|
|
3722
3574
|
"kind": "method",
|
|
3723
|
-
"name": "
|
|
3724
|
-
"privacy": "private",
|
|
3575
|
+
"name": "clearChips",
|
|
3725
3576
|
"return": {
|
|
3726
3577
|
"type": {
|
|
3727
3578
|
"text": "void"
|
|
@@ -3730,32 +3581,24 @@
|
|
|
3730
3581
|
},
|
|
3731
3582
|
{
|
|
3732
3583
|
"kind": "method",
|
|
3733
|
-
"name": "
|
|
3734
|
-
"privacy": "private",
|
|
3735
|
-
"return": {
|
|
3736
|
-
"type": {
|
|
3737
|
-
"text": "void"
|
|
3738
|
-
}
|
|
3739
|
-
}
|
|
3584
|
+
"name": "handleSubmit"
|
|
3740
3585
|
},
|
|
3741
3586
|
{
|
|
3742
3587
|
"kind": "method",
|
|
3743
|
-
"name": "
|
|
3744
|
-
"privacy": "private",
|
|
3745
|
-
"return": {
|
|
3746
|
-
"type": {
|
|
3747
|
-
"text": "void"
|
|
3748
|
-
}
|
|
3749
|
-
}
|
|
3588
|
+
"name": "handleBlur"
|
|
3750
3589
|
},
|
|
3751
3590
|
{
|
|
3752
3591
|
"kind": "method",
|
|
3753
|
-
"name": "
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3592
|
+
"name": "clear"
|
|
3593
|
+
},
|
|
3594
|
+
{
|
|
3595
|
+
"kind": "method",
|
|
3596
|
+
"name": "toggleSpeechInput"
|
|
3597
|
+
},
|
|
3598
|
+
{
|
|
3599
|
+
"kind": "method",
|
|
3600
|
+
"name": "clearSpeechApplyDebounce",
|
|
3601
|
+
"privacy": "private"
|
|
3759
3602
|
},
|
|
3760
3603
|
{
|
|
3761
3604
|
"kind": "field",
|
|
@@ -3869,88 +3712,245 @@
|
|
|
3869
3712
|
}
|
|
3870
3713
|
}
|
|
3871
3714
|
],
|
|
3715
|
+
"events": [
|
|
3716
|
+
{
|
|
3717
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3718
|
+
"name": "criteria-changed"
|
|
3719
|
+
},
|
|
3720
|
+
{
|
|
3721
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3722
|
+
"name": "validation-errors"
|
|
3723
|
+
}
|
|
3724
|
+
],
|
|
3725
|
+
"attributes": [
|
|
3726
|
+
{
|
|
3727
|
+
"name": "placeholder",
|
|
3728
|
+
"type": {
|
|
3729
|
+
"text": "string"
|
|
3730
|
+
},
|
|
3731
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3732
|
+
"fieldName": "placeholder"
|
|
3733
|
+
},
|
|
3734
|
+
{
|
|
3735
|
+
"type": {
|
|
3736
|
+
"text": "boolean"
|
|
3737
|
+
},
|
|
3738
|
+
"fieldName": "disabled"
|
|
3739
|
+
}
|
|
3740
|
+
],
|
|
3872
3741
|
"superclass": {
|
|
3873
3742
|
"name": "FoundationElement",
|
|
3874
3743
|
"package": "@microsoft/fast-foundation"
|
|
3875
3744
|
},
|
|
3876
|
-
"tagName": "%%prefix%%-ai-
|
|
3745
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3877
3746
|
"customElement": true
|
|
3878
3747
|
},
|
|
3879
3748
|
{
|
|
3880
3749
|
"kind": "variable",
|
|
3881
|
-
"name": "
|
|
3750
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3751
|
+
"type": {
|
|
3752
|
+
"text": "ShadowRootInit"
|
|
3753
|
+
},
|
|
3754
|
+
"default": "undefined"
|
|
3755
|
+
},
|
|
3756
|
+
{
|
|
3757
|
+
"kind": "variable",
|
|
3758
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3759
|
+
"type": {
|
|
3760
|
+
"text": "object"
|
|
3761
|
+
},
|
|
3762
|
+
"default": "{}"
|
|
3763
|
+
},
|
|
3764
|
+
{
|
|
3765
|
+
"kind": "variable",
|
|
3766
|
+
"name": "foundationAiCriteriaSearch"
|
|
3882
3767
|
}
|
|
3883
3768
|
],
|
|
3884
3769
|
"exports": [
|
|
3885
3770
|
{
|
|
3886
3771
|
"kind": "js",
|
|
3887
|
-
"name": "
|
|
3772
|
+
"name": "AiCriteriaSearch",
|
|
3888
3773
|
"declaration": {
|
|
3889
|
-
"name": "
|
|
3890
|
-
"module": "src/ai-
|
|
3774
|
+
"name": "AiCriteriaSearch",
|
|
3775
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3891
3776
|
}
|
|
3892
3777
|
},
|
|
3893
3778
|
{
|
|
3894
3779
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
3780
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3896
3781
|
"declaration": {
|
|
3897
|
-
"name": "
|
|
3898
|
-
"module": "src/ai-
|
|
3782
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3783
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3784
|
+
}
|
|
3785
|
+
},
|
|
3786
|
+
{
|
|
3787
|
+
"kind": "js",
|
|
3788
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3789
|
+
"declaration": {
|
|
3790
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3791
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3792
|
+
}
|
|
3793
|
+
},
|
|
3794
|
+
{
|
|
3795
|
+
"kind": "js",
|
|
3796
|
+
"name": "foundationAiCriteriaSearch",
|
|
3797
|
+
"declaration": {
|
|
3798
|
+
"name": "foundationAiCriteriaSearch",
|
|
3799
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3899
3800
|
}
|
|
3900
3801
|
}
|
|
3901
3802
|
]
|
|
3902
3803
|
},
|
|
3903
3804
|
{
|
|
3904
3805
|
"kind": "javascript-module",
|
|
3905
|
-
"path": "src/ai-
|
|
3806
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3906
3807
|
"declarations": [],
|
|
3907
3808
|
"exports": [
|
|
3908
3809
|
{
|
|
3909
3810
|
"kind": "js",
|
|
3910
|
-
"name": "
|
|
3811
|
+
"name": "AiCriteriaSearch",
|
|
3911
3812
|
"declaration": {
|
|
3912
|
-
"name": "
|
|
3913
|
-
"module": "./ai-
|
|
3813
|
+
"name": "AiCriteriaSearch",
|
|
3814
|
+
"module": "./ai-criteria-search"
|
|
3914
3815
|
}
|
|
3915
3816
|
},
|
|
3916
3817
|
{
|
|
3917
3818
|
"kind": "js",
|
|
3918
|
-
"name": "
|
|
3819
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3919
3820
|
"declaration": {
|
|
3920
|
-
"name": "
|
|
3921
|
-
"module": "./ai-
|
|
3821
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3822
|
+
"module": "./ai-criteria-search"
|
|
3922
3823
|
}
|
|
3923
3824
|
},
|
|
3924
3825
|
{
|
|
3925
3826
|
"kind": "js",
|
|
3926
|
-
"name": "
|
|
3827
|
+
"name": "foundationAiCriteriaSearch",
|
|
3927
3828
|
"declaration": {
|
|
3928
|
-
"name": "
|
|
3929
|
-
"module": "./ai-
|
|
3829
|
+
"name": "foundationAiCriteriaSearch",
|
|
3830
|
+
"module": "./ai-criteria-search"
|
|
3930
3831
|
}
|
|
3931
3832
|
},
|
|
3932
3833
|
{
|
|
3933
3834
|
"kind": "js",
|
|
3934
|
-
"name": "
|
|
3835
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3935
3836
|
"declaration": {
|
|
3936
|
-
"name": "
|
|
3937
|
-
"module": "./ai-
|
|
3837
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3838
|
+
"module": "./ai-criteria-search"
|
|
3938
3839
|
}
|
|
3939
3840
|
},
|
|
3940
3841
|
{
|
|
3941
3842
|
"kind": "js",
|
|
3942
|
-
"name": "
|
|
3843
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3943
3844
|
"declaration": {
|
|
3944
|
-
"name": "
|
|
3945
|
-
"module": "./ai-
|
|
3845
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3846
|
+
"module": "./ai-criteria-search.styles"
|
|
3946
3847
|
}
|
|
3947
3848
|
},
|
|
3948
3849
|
{
|
|
3949
3850
|
"kind": "js",
|
|
3950
|
-
"name": "
|
|
3851
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3951
3852
|
"declaration": {
|
|
3952
|
-
"name": "
|
|
3953
|
-
"module": "./ai-
|
|
3853
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3854
|
+
"module": "./ai-criteria-search.template"
|
|
3855
|
+
}
|
|
3856
|
+
},
|
|
3857
|
+
{
|
|
3858
|
+
"kind": "js",
|
|
3859
|
+
"name": "*",
|
|
3860
|
+
"declaration": {
|
|
3861
|
+
"name": "*",
|
|
3862
|
+
"package": "./validation/criteria-ir"
|
|
3863
|
+
}
|
|
3864
|
+
},
|
|
3865
|
+
{
|
|
3866
|
+
"kind": "js",
|
|
3867
|
+
"name": "*",
|
|
3868
|
+
"declaration": {
|
|
3869
|
+
"name": "*",
|
|
3870
|
+
"package": "./validation/operator-map"
|
|
3871
|
+
}
|
|
3872
|
+
},
|
|
3873
|
+
{
|
|
3874
|
+
"kind": "js",
|
|
3875
|
+
"name": "*",
|
|
3876
|
+
"declaration": {
|
|
3877
|
+
"name": "*",
|
|
3878
|
+
"package": "./validation/schema-validator"
|
|
3879
|
+
}
|
|
3880
|
+
}
|
|
3881
|
+
]
|
|
3882
|
+
},
|
|
3883
|
+
{
|
|
3884
|
+
"kind": "javascript-module",
|
|
3885
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3886
|
+
"declarations": [
|
|
3887
|
+
{
|
|
3888
|
+
"kind": "function",
|
|
3889
|
+
"name": "formatValidationErrors",
|
|
3890
|
+
"return": {
|
|
3891
|
+
"type": {
|
|
3892
|
+
"text": "string"
|
|
3893
|
+
}
|
|
3894
|
+
},
|
|
3895
|
+
"parameters": [
|
|
3896
|
+
{
|
|
3897
|
+
"name": "errors",
|
|
3898
|
+
"type": {
|
|
3899
|
+
"text": "ValidationError[]"
|
|
3900
|
+
}
|
|
3901
|
+
}
|
|
3902
|
+
],
|
|
3903
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"kind": "function",
|
|
3907
|
+
"name": "showCriteriaError",
|
|
3908
|
+
"return": {
|
|
3909
|
+
"type": {
|
|
3910
|
+
"text": "void"
|
|
3911
|
+
}
|
|
3912
|
+
},
|
|
3913
|
+
"parameters": [
|
|
3914
|
+
{
|
|
3915
|
+
"name": "title",
|
|
3916
|
+
"type": {
|
|
3917
|
+
"text": "string"
|
|
3918
|
+
},
|
|
3919
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3920
|
+
},
|
|
3921
|
+
{
|
|
3922
|
+
"name": "body",
|
|
3923
|
+
"type": {
|
|
3924
|
+
"text": "string"
|
|
3925
|
+
},
|
|
3926
|
+
"description": "Error message to display"
|
|
3927
|
+
},
|
|
3928
|
+
{
|
|
3929
|
+
"name": "tagName",
|
|
3930
|
+
"type": {
|
|
3931
|
+
"text": "string"
|
|
3932
|
+
},
|
|
3933
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3934
|
+
}
|
|
3935
|
+
],
|
|
3936
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3937
|
+
}
|
|
3938
|
+
],
|
|
3939
|
+
"exports": [
|
|
3940
|
+
{
|
|
3941
|
+
"kind": "js",
|
|
3942
|
+
"name": "formatValidationErrors",
|
|
3943
|
+
"declaration": {
|
|
3944
|
+
"name": "formatValidationErrors",
|
|
3945
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3946
|
+
}
|
|
3947
|
+
},
|
|
3948
|
+
{
|
|
3949
|
+
"kind": "js",
|
|
3950
|
+
"name": "showCriteriaError",
|
|
3951
|
+
"declaration": {
|
|
3952
|
+
"name": "showCriteriaError",
|
|
3953
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
]
|