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