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