@genesislcap/foundation-ui 14.449.0 → 14.449.1-alpha-12eee28.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 +621 -621
- package/dist/dts/react.d.ts +9 -9
- package/dist/dts/utils/logger.d.ts +2 -2
- package/dist/dts/utils/logger.d.ts.map +1 -1
- package/dist/esm/utils/logger.js +1 -2
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -1398,37 +1398,6 @@
|
|
|
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
|
-
},
|
|
1432
1401
|
{
|
|
1433
1402
|
"kind": "javascript-module",
|
|
1434
1403
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -2384,75 +2353,57 @@
|
|
|
2384
2353
|
},
|
|
2385
2354
|
{
|
|
2386
2355
|
"kind": "javascript-module",
|
|
2387
|
-
"path": "src/ai-
|
|
2356
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2388
2357
|
"declarations": [
|
|
2389
2358
|
{
|
|
2390
|
-
"kind": "
|
|
2391
|
-
"name": "
|
|
2392
|
-
"
|
|
2393
|
-
"type": {
|
|
2394
|
-
"text": "ElementStyles"
|
|
2395
|
-
}
|
|
2396
|
-
},
|
|
2397
|
-
"parameters": [
|
|
2398
|
-
{
|
|
2399
|
-
"name": "context",
|
|
2400
|
-
"type": {
|
|
2401
|
-
"text": "ElementDefinitionContext"
|
|
2402
|
-
}
|
|
2403
|
-
},
|
|
2404
|
-
{
|
|
2405
|
-
"name": "definition",
|
|
2406
|
-
"type": {
|
|
2407
|
-
"text": "FoundationElementDefinition"
|
|
2408
|
-
}
|
|
2409
|
-
}
|
|
2410
|
-
]
|
|
2359
|
+
"kind": "variable",
|
|
2360
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2361
|
+
"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`"
|
|
2411
2362
|
}
|
|
2412
2363
|
],
|
|
2413
2364
|
"exports": [
|
|
2414
2365
|
{
|
|
2415
2366
|
"kind": "js",
|
|
2416
|
-
"name": "
|
|
2367
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2417
2368
|
"declaration": {
|
|
2418
|
-
"name": "
|
|
2419
|
-
"module": "src/ai-
|
|
2369
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2370
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2420
2371
|
}
|
|
2421
2372
|
}
|
|
2422
2373
|
]
|
|
2423
2374
|
},
|
|
2424
2375
|
{
|
|
2425
2376
|
"kind": "javascript-module",
|
|
2426
|
-
"path": "src/ai-
|
|
2377
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2427
2378
|
"declarations": [
|
|
2428
2379
|
{
|
|
2429
2380
|
"kind": "variable",
|
|
2430
|
-
"name": "
|
|
2381
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2431
2382
|
"type": {
|
|
2432
|
-
"text": "ViewTemplate<
|
|
2383
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2433
2384
|
},
|
|
2434
|
-
"default": "html`\n ${(x) =>
|
|
2385
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2435
2386
|
}
|
|
2436
2387
|
],
|
|
2437
2388
|
"exports": [
|
|
2438
2389
|
{
|
|
2439
2390
|
"kind": "js",
|
|
2440
|
-
"name": "
|
|
2391
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2441
2392
|
"declaration": {
|
|
2442
|
-
"name": "
|
|
2443
|
-
"module": "src/ai-
|
|
2393
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2394
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2444
2395
|
}
|
|
2445
2396
|
}
|
|
2446
2397
|
]
|
|
2447
2398
|
},
|
|
2448
2399
|
{
|
|
2449
2400
|
"kind": "javascript-module",
|
|
2450
|
-
"path": "src/ai-
|
|
2401
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2451
2402
|
"declarations": [
|
|
2452
2403
|
{
|
|
2453
2404
|
"kind": "class",
|
|
2454
|
-
"description": "",
|
|
2455
|
-
"name": "
|
|
2405
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2406
|
+
"name": "AiCriteriaSearch",
|
|
2456
2407
|
"members": [
|
|
2457
2408
|
{
|
|
2458
2409
|
"kind": "field",
|
|
@@ -2463,25 +2414,54 @@
|
|
|
2463
2414
|
},
|
|
2464
2415
|
{
|
|
2465
2416
|
"kind": "field",
|
|
2466
|
-
"name": "
|
|
2417
|
+
"name": "placeholder",
|
|
2467
2418
|
"type": {
|
|
2468
|
-
"text": "
|
|
2419
|
+
"text": "string"
|
|
2469
2420
|
},
|
|
2470
|
-
"
|
|
2471
|
-
"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.",
|
|
2472
|
-
"readonly": true
|
|
2421
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2473
2422
|
},
|
|
2474
2423
|
{
|
|
2475
2424
|
"kind": "field",
|
|
2476
|
-
"name": "
|
|
2425
|
+
"name": "disabled",
|
|
2477
2426
|
"type": {
|
|
2478
|
-
"text": "
|
|
2427
|
+
"text": "boolean"
|
|
2428
|
+
}
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"kind": "field",
|
|
2432
|
+
"name": "inputValue",
|
|
2433
|
+
"type": {
|
|
2434
|
+
"text": "string"
|
|
2435
|
+
},
|
|
2436
|
+
"default": "''"
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
"kind": "field",
|
|
2440
|
+
"name": "isInterpreting",
|
|
2441
|
+
"type": {
|
|
2442
|
+
"text": "boolean"
|
|
2443
|
+
},
|
|
2444
|
+
"default": "false"
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"kind": "field",
|
|
2448
|
+
"name": "lastValidCriteria",
|
|
2449
|
+
"type": {
|
|
2450
|
+
"text": "string | null"
|
|
2479
2451
|
},
|
|
2480
2452
|
"default": "null"
|
|
2481
2453
|
},
|
|
2482
2454
|
{
|
|
2483
2455
|
"kind": "field",
|
|
2484
|
-
"name": "
|
|
2456
|
+
"name": "activeGroups",
|
|
2457
|
+
"type": {
|
|
2458
|
+
"text": "CriteriaGroup[]"
|
|
2459
|
+
},
|
|
2460
|
+
"default": "[]"
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
"kind": "field",
|
|
2464
|
+
"name": "showingChips",
|
|
2485
2465
|
"type": {
|
|
2486
2466
|
"text": "boolean"
|
|
2487
2467
|
},
|
|
@@ -2489,15 +2469,15 @@
|
|
|
2489
2469
|
},
|
|
2490
2470
|
{
|
|
2491
2471
|
"kind": "field",
|
|
2492
|
-
"name": "
|
|
2472
|
+
"name": "fieldMetadata",
|
|
2493
2473
|
"type": {
|
|
2494
|
-
"text": "
|
|
2474
|
+
"text": "MetadataDetail[] | string[]"
|
|
2495
2475
|
},
|
|
2496
|
-
"default": "
|
|
2476
|
+
"default": "[]"
|
|
2497
2477
|
},
|
|
2498
2478
|
{
|
|
2499
2479
|
"kind": "field",
|
|
2500
|
-
"name": "
|
|
2480
|
+
"name": "isRecording",
|
|
2501
2481
|
"type": {
|
|
2502
2482
|
"text": "boolean"
|
|
2503
2483
|
},
|
|
@@ -2505,29 +2485,33 @@
|
|
|
2505
2485
|
},
|
|
2506
2486
|
{
|
|
2507
2487
|
"kind": "field",
|
|
2508
|
-
"name": "
|
|
2488
|
+
"name": "textAreaRef",
|
|
2509
2489
|
"type": {
|
|
2510
|
-
"text": "
|
|
2490
|
+
"text": "HTMLTextAreaElement"
|
|
2511
2491
|
},
|
|
2512
|
-
"privacy": "
|
|
2513
|
-
"default": "null"
|
|
2492
|
+
"privacy": "public"
|
|
2514
2493
|
},
|
|
2515
2494
|
{
|
|
2516
2495
|
"kind": "field",
|
|
2517
|
-
"name": "
|
|
2518
|
-
"
|
|
2496
|
+
"name": "stopRecording",
|
|
2497
|
+
"type": {
|
|
2498
|
+
"text": "(() => void) | null"
|
|
2499
|
+
},
|
|
2500
|
+
"privacy": "private",
|
|
2501
|
+
"default": "null"
|
|
2519
2502
|
},
|
|
2520
2503
|
{
|
|
2521
2504
|
"kind": "field",
|
|
2522
|
-
"name": "
|
|
2505
|
+
"name": "speechApplyDebounceTimer",
|
|
2523
2506
|
"type": {
|
|
2524
|
-
"text": "
|
|
2507
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2525
2508
|
},
|
|
2526
|
-
"
|
|
2509
|
+
"privacy": "private",
|
|
2510
|
+
"default": "null"
|
|
2527
2511
|
},
|
|
2528
2512
|
{
|
|
2529
2513
|
"kind": "field",
|
|
2530
|
-
"name": "
|
|
2514
|
+
"name": "speechAvailable",
|
|
2531
2515
|
"type": {
|
|
2532
2516
|
"text": "boolean"
|
|
2533
2517
|
},
|
|
@@ -2535,69 +2519,65 @@
|
|
|
2535
2519
|
},
|
|
2536
2520
|
{
|
|
2537
2521
|
"kind": "field",
|
|
2538
|
-
"name": "
|
|
2522
|
+
"name": "criteriaChips",
|
|
2539
2523
|
"type": {
|
|
2540
|
-
"text": "
|
|
2524
|
+
"text": "CriteriaChip[]"
|
|
2541
2525
|
},
|
|
2542
2526
|
"readonly": true
|
|
2543
2527
|
},
|
|
2544
2528
|
{
|
|
2545
2529
|
"kind": "method",
|
|
2546
|
-
"name": "
|
|
2530
|
+
"name": "getFieldLabel",
|
|
2531
|
+
"privacy": "private",
|
|
2547
2532
|
"return": {
|
|
2548
2533
|
"type": {
|
|
2549
|
-
"text": "
|
|
2534
|
+
"text": "string"
|
|
2550
2535
|
}
|
|
2551
|
-
}
|
|
2552
|
-
},
|
|
2553
|
-
{
|
|
2554
|
-
"kind": "method",
|
|
2555
|
-
"name": "handleClickOutside",
|
|
2556
|
-
"privacy": "private",
|
|
2536
|
+
},
|
|
2557
2537
|
"parameters": [
|
|
2558
2538
|
{
|
|
2559
|
-
"name": "
|
|
2539
|
+
"name": "fieldName",
|
|
2560
2540
|
"type": {
|
|
2561
|
-
"text": "
|
|
2541
|
+
"text": "string"
|
|
2562
2542
|
}
|
|
2563
2543
|
}
|
|
2564
2544
|
]
|
|
2565
2545
|
},
|
|
2566
2546
|
{
|
|
2567
2547
|
"kind": "method",
|
|
2568
|
-
"name": "
|
|
2569
|
-
},
|
|
2570
|
-
{
|
|
2571
|
-
"kind": "method",
|
|
2572
|
-
"name": "refreshStatus",
|
|
2548
|
+
"name": "toggleCriteriaView",
|
|
2573
2549
|
"return": {
|
|
2574
2550
|
"type": {
|
|
2575
|
-
"text": "
|
|
2551
|
+
"text": "void"
|
|
2576
2552
|
}
|
|
2577
2553
|
}
|
|
2578
2554
|
},
|
|
2579
2555
|
{
|
|
2580
2556
|
"kind": "method",
|
|
2581
|
-
"name": "
|
|
2582
|
-
"privacy": "private",
|
|
2557
|
+
"name": "removeChip",
|
|
2583
2558
|
"return": {
|
|
2584
2559
|
"type": {
|
|
2585
|
-
"text": "
|
|
2560
|
+
"text": "void"
|
|
2586
2561
|
}
|
|
2587
2562
|
},
|
|
2588
2563
|
"parameters": [
|
|
2589
2564
|
{
|
|
2590
|
-
"name": "
|
|
2565
|
+
"name": "groupIndex",
|
|
2591
2566
|
"type": {
|
|
2592
|
-
"text": "
|
|
2567
|
+
"text": "number"
|
|
2568
|
+
}
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
"name": "clauseIndex",
|
|
2572
|
+
"type": {
|
|
2573
|
+
"text": "number"
|
|
2593
2574
|
}
|
|
2594
2575
|
}
|
|
2595
2576
|
]
|
|
2596
2577
|
},
|
|
2597
2578
|
{
|
|
2598
2579
|
"kind": "method",
|
|
2599
|
-
"name": "
|
|
2600
|
-
"privacy": "private",
|
|
2580
|
+
"name": "clearChips",
|
|
2601
2581
|
"return": {
|
|
2602
2582
|
"type": {
|
|
2603
2583
|
"text": "void"
|
|
@@ -2606,32 +2586,24 @@
|
|
|
2606
2586
|
},
|
|
2607
2587
|
{
|
|
2608
2588
|
"kind": "method",
|
|
2609
|
-
"name": "
|
|
2610
|
-
"privacy": "private",
|
|
2611
|
-
"return": {
|
|
2612
|
-
"type": {
|
|
2613
|
-
"text": "void"
|
|
2614
|
-
}
|
|
2615
|
-
}
|
|
2589
|
+
"name": "handleSubmit"
|
|
2616
2590
|
},
|
|
2617
2591
|
{
|
|
2618
2592
|
"kind": "method",
|
|
2619
|
-
"name": "
|
|
2620
|
-
"privacy": "private",
|
|
2621
|
-
"return": {
|
|
2622
|
-
"type": {
|
|
2623
|
-
"text": "void"
|
|
2624
|
-
}
|
|
2625
|
-
}
|
|
2593
|
+
"name": "handleBlur"
|
|
2626
2594
|
},
|
|
2627
2595
|
{
|
|
2628
2596
|
"kind": "method",
|
|
2629
|
-
"name": "
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2597
|
+
"name": "clear"
|
|
2598
|
+
},
|
|
2599
|
+
{
|
|
2600
|
+
"kind": "method",
|
|
2601
|
+
"name": "toggleSpeechInput"
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
"kind": "method",
|
|
2605
|
+
"name": "clearSpeechApplyDebounce",
|
|
2606
|
+
"privacy": "private"
|
|
2635
2607
|
},
|
|
2636
2608
|
{
|
|
2637
2609
|
"kind": "field",
|
|
@@ -2745,145 +2717,320 @@
|
|
|
2745
2717
|
}
|
|
2746
2718
|
}
|
|
2747
2719
|
],
|
|
2720
|
+
"events": [
|
|
2721
|
+
{
|
|
2722
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
2723
|
+
"name": "criteria-changed"
|
|
2724
|
+
},
|
|
2725
|
+
{
|
|
2726
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
2727
|
+
"name": "validation-errors"
|
|
2728
|
+
}
|
|
2729
|
+
],
|
|
2730
|
+
"attributes": [
|
|
2731
|
+
{
|
|
2732
|
+
"name": "placeholder",
|
|
2733
|
+
"type": {
|
|
2734
|
+
"text": "string"
|
|
2735
|
+
},
|
|
2736
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2737
|
+
"fieldName": "placeholder"
|
|
2738
|
+
},
|
|
2739
|
+
{
|
|
2740
|
+
"type": {
|
|
2741
|
+
"text": "boolean"
|
|
2742
|
+
},
|
|
2743
|
+
"fieldName": "disabled"
|
|
2744
|
+
}
|
|
2745
|
+
],
|
|
2748
2746
|
"superclass": {
|
|
2749
2747
|
"name": "FoundationElement",
|
|
2750
2748
|
"package": "@microsoft/fast-foundation"
|
|
2751
2749
|
},
|
|
2752
|
-
"tagName": "%%prefix%%-ai-
|
|
2750
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2753
2751
|
"customElement": true
|
|
2754
2752
|
},
|
|
2755
2753
|
{
|
|
2756
2754
|
"kind": "variable",
|
|
2757
|
-
"name": "
|
|
2755
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2756
|
+
"type": {
|
|
2757
|
+
"text": "ShadowRootInit"
|
|
2758
|
+
},
|
|
2759
|
+
"default": "undefined"
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
"kind": "variable",
|
|
2763
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2764
|
+
"type": {
|
|
2765
|
+
"text": "object"
|
|
2766
|
+
},
|
|
2767
|
+
"default": "{}"
|
|
2768
|
+
},
|
|
2769
|
+
{
|
|
2770
|
+
"kind": "variable",
|
|
2771
|
+
"name": "foundationAiCriteriaSearch"
|
|
2758
2772
|
}
|
|
2759
2773
|
],
|
|
2760
2774
|
"exports": [
|
|
2761
2775
|
{
|
|
2762
2776
|
"kind": "js",
|
|
2763
|
-
"name": "
|
|
2777
|
+
"name": "AiCriteriaSearch",
|
|
2764
2778
|
"declaration": {
|
|
2765
|
-
"name": "
|
|
2766
|
-
"module": "src/ai-
|
|
2779
|
+
"name": "AiCriteriaSearch",
|
|
2780
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2767
2781
|
}
|
|
2768
2782
|
},
|
|
2769
2783
|
{
|
|
2770
2784
|
"kind": "js",
|
|
2771
|
-
"name": "
|
|
2785
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2772
2786
|
"declaration": {
|
|
2773
|
-
"name": "
|
|
2774
|
-
"module": "src/ai-
|
|
2787
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2788
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2789
|
+
}
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"kind": "js",
|
|
2793
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2794
|
+
"declaration": {
|
|
2795
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2796
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2797
|
+
}
|
|
2798
|
+
},
|
|
2799
|
+
{
|
|
2800
|
+
"kind": "js",
|
|
2801
|
+
"name": "foundationAiCriteriaSearch",
|
|
2802
|
+
"declaration": {
|
|
2803
|
+
"name": "foundationAiCriteriaSearch",
|
|
2804
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2775
2805
|
}
|
|
2776
2806
|
}
|
|
2777
2807
|
]
|
|
2778
2808
|
},
|
|
2779
2809
|
{
|
|
2780
2810
|
"kind": "javascript-module",
|
|
2781
|
-
"path": "src/ai-
|
|
2811
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2782
2812
|
"declarations": [],
|
|
2783
2813
|
"exports": [
|
|
2784
2814
|
{
|
|
2785
2815
|
"kind": "js",
|
|
2786
|
-
"name": "
|
|
2816
|
+
"name": "AiCriteriaSearch",
|
|
2787
2817
|
"declaration": {
|
|
2788
|
-
"name": "
|
|
2789
|
-
"module": "./ai-
|
|
2818
|
+
"name": "AiCriteriaSearch",
|
|
2819
|
+
"module": "./ai-criteria-search"
|
|
2790
2820
|
}
|
|
2791
2821
|
},
|
|
2792
2822
|
{
|
|
2793
2823
|
"kind": "js",
|
|
2794
|
-
"name": "
|
|
2824
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2795
2825
|
"declaration": {
|
|
2796
|
-
"name": "
|
|
2797
|
-
"module": "./ai-
|
|
2826
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2827
|
+
"module": "./ai-criteria-search"
|
|
2798
2828
|
}
|
|
2799
2829
|
},
|
|
2800
2830
|
{
|
|
2801
2831
|
"kind": "js",
|
|
2802
|
-
"name": "
|
|
2832
|
+
"name": "foundationAiCriteriaSearch",
|
|
2803
2833
|
"declaration": {
|
|
2804
|
-
"name": "
|
|
2805
|
-
"module": "./ai-
|
|
2834
|
+
"name": "foundationAiCriteriaSearch",
|
|
2835
|
+
"module": "./ai-criteria-search"
|
|
2806
2836
|
}
|
|
2807
2837
|
},
|
|
2808
2838
|
{
|
|
2809
2839
|
"kind": "js",
|
|
2810
|
-
"name": "
|
|
2840
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2811
2841
|
"declaration": {
|
|
2812
|
-
"name": "
|
|
2813
|
-
"module": "./ai-
|
|
2842
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2843
|
+
"module": "./ai-criteria-search"
|
|
2814
2844
|
}
|
|
2815
2845
|
},
|
|
2816
2846
|
{
|
|
2817
2847
|
"kind": "js",
|
|
2818
|
-
"name": "
|
|
2848
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2819
2849
|
"declaration": {
|
|
2820
|
-
"name": "
|
|
2821
|
-
"module": "./ai-
|
|
2850
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2851
|
+
"module": "./ai-criteria-search.styles"
|
|
2822
2852
|
}
|
|
2823
2853
|
},
|
|
2824
2854
|
{
|
|
2825
2855
|
"kind": "js",
|
|
2826
|
-
"name": "
|
|
2856
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2827
2857
|
"declaration": {
|
|
2828
|
-
"name": "
|
|
2829
|
-
"module": "./ai-
|
|
2858
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2859
|
+
"module": "./ai-criteria-search.template"
|
|
2860
|
+
}
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
"kind": "js",
|
|
2864
|
+
"name": "*",
|
|
2865
|
+
"declaration": {
|
|
2866
|
+
"name": "*",
|
|
2867
|
+
"package": "./validation/criteria-ir"
|
|
2868
|
+
}
|
|
2869
|
+
},
|
|
2870
|
+
{
|
|
2871
|
+
"kind": "js",
|
|
2872
|
+
"name": "*",
|
|
2873
|
+
"declaration": {
|
|
2874
|
+
"name": "*",
|
|
2875
|
+
"package": "./validation/operator-map"
|
|
2876
|
+
}
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
"kind": "js",
|
|
2880
|
+
"name": "*",
|
|
2881
|
+
"declaration": {
|
|
2882
|
+
"name": "*",
|
|
2883
|
+
"package": "./validation/schema-validator"
|
|
2830
2884
|
}
|
|
2831
2885
|
}
|
|
2832
2886
|
]
|
|
2833
2887
|
},
|
|
2834
2888
|
{
|
|
2835
2889
|
"kind": "javascript-module",
|
|
2836
|
-
"path": "src/ai-criteria-search/
|
|
2890
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2837
2891
|
"declarations": [
|
|
2838
2892
|
{
|
|
2839
|
-
"kind": "
|
|
2840
|
-
"name": "
|
|
2841
|
-
"
|
|
2893
|
+
"kind": "function",
|
|
2894
|
+
"name": "formatValidationErrors",
|
|
2895
|
+
"return": {
|
|
2896
|
+
"type": {
|
|
2897
|
+
"text": "string"
|
|
2898
|
+
}
|
|
2899
|
+
},
|
|
2900
|
+
"parameters": [
|
|
2901
|
+
{
|
|
2902
|
+
"name": "errors",
|
|
2903
|
+
"type": {
|
|
2904
|
+
"text": "ValidationError[]"
|
|
2905
|
+
}
|
|
2906
|
+
}
|
|
2907
|
+
],
|
|
2908
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
"kind": "function",
|
|
2912
|
+
"name": "showCriteriaError",
|
|
2913
|
+
"return": {
|
|
2914
|
+
"type": {
|
|
2915
|
+
"text": "void"
|
|
2916
|
+
}
|
|
2917
|
+
},
|
|
2918
|
+
"parameters": [
|
|
2919
|
+
{
|
|
2920
|
+
"name": "title",
|
|
2921
|
+
"type": {
|
|
2922
|
+
"text": "string"
|
|
2923
|
+
},
|
|
2924
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
"name": "body",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "string"
|
|
2930
|
+
},
|
|
2931
|
+
"description": "Error message to display"
|
|
2932
|
+
},
|
|
2933
|
+
{
|
|
2934
|
+
"name": "tagName",
|
|
2935
|
+
"type": {
|
|
2936
|
+
"text": "string"
|
|
2937
|
+
},
|
|
2938
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2939
|
+
}
|
|
2940
|
+
],
|
|
2941
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2842
2942
|
}
|
|
2843
2943
|
],
|
|
2844
2944
|
"exports": [
|
|
2845
2945
|
{
|
|
2846
2946
|
"kind": "js",
|
|
2847
|
-
"name": "
|
|
2947
|
+
"name": "formatValidationErrors",
|
|
2848
2948
|
"declaration": {
|
|
2849
|
-
"name": "
|
|
2850
|
-
"module": "src/ai-criteria-search/
|
|
2949
|
+
"name": "formatValidationErrors",
|
|
2950
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2951
|
+
}
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
"kind": "js",
|
|
2955
|
+
"name": "showCriteriaError",
|
|
2956
|
+
"declaration": {
|
|
2957
|
+
"name": "showCriteriaError",
|
|
2958
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2851
2959
|
}
|
|
2852
2960
|
}
|
|
2853
2961
|
]
|
|
2854
2962
|
},
|
|
2855
2963
|
{
|
|
2856
2964
|
"kind": "javascript-module",
|
|
2857
|
-
"path": "src/ai-
|
|
2965
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2966
|
+
"declarations": [
|
|
2967
|
+
{
|
|
2968
|
+
"kind": "function",
|
|
2969
|
+
"name": "foundationAiIndicatorStyles",
|
|
2970
|
+
"return": {
|
|
2971
|
+
"type": {
|
|
2972
|
+
"text": "ElementStyles"
|
|
2973
|
+
}
|
|
2974
|
+
},
|
|
2975
|
+
"parameters": [
|
|
2976
|
+
{
|
|
2977
|
+
"name": "context",
|
|
2978
|
+
"type": {
|
|
2979
|
+
"text": "ElementDefinitionContext"
|
|
2980
|
+
}
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"name": "definition",
|
|
2984
|
+
"type": {
|
|
2985
|
+
"text": "FoundationElementDefinition"
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2988
|
+
]
|
|
2989
|
+
}
|
|
2990
|
+
],
|
|
2991
|
+
"exports": [
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "js",
|
|
2994
|
+
"name": "foundationAiIndicatorStyles",
|
|
2995
|
+
"declaration": {
|
|
2996
|
+
"name": "foundationAiIndicatorStyles",
|
|
2997
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2998
|
+
}
|
|
2999
|
+
}
|
|
3000
|
+
]
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"kind": "javascript-module",
|
|
3004
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2858
3005
|
"declarations": [
|
|
2859
3006
|
{
|
|
2860
3007
|
"kind": "variable",
|
|
2861
|
-
"name": "
|
|
3008
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2862
3009
|
"type": {
|
|
2863
|
-
"text": "ViewTemplate<
|
|
3010
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2864
3011
|
},
|
|
2865
|
-
"default": "html`\n ${(x) =>
|
|
3012
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2866
3013
|
}
|
|
2867
3014
|
],
|
|
2868
3015
|
"exports": [
|
|
2869
3016
|
{
|
|
2870
3017
|
"kind": "js",
|
|
2871
|
-
"name": "
|
|
3018
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2872
3019
|
"declaration": {
|
|
2873
|
-
"name": "
|
|
2874
|
-
"module": "src/ai-
|
|
3020
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3021
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2875
3022
|
}
|
|
2876
3023
|
}
|
|
2877
3024
|
]
|
|
2878
3025
|
},
|
|
2879
3026
|
{
|
|
2880
3027
|
"kind": "javascript-module",
|
|
2881
|
-
"path": "src/ai-
|
|
3028
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2882
3029
|
"declarations": [
|
|
2883
3030
|
{
|
|
2884
3031
|
"kind": "class",
|
|
2885
|
-
"description": "
|
|
2886
|
-
"name": "
|
|
3032
|
+
"description": "",
|
|
3033
|
+
"name": "AiIndicator",
|
|
2887
3034
|
"members": [
|
|
2888
3035
|
{
|
|
2889
3036
|
"kind": "field",
|
|
@@ -2894,54 +3041,25 @@
|
|
|
2894
3041
|
},
|
|
2895
3042
|
{
|
|
2896
3043
|
"kind": "field",
|
|
2897
|
-
"name": "
|
|
2898
|
-
"type": {
|
|
2899
|
-
"text": "string"
|
|
2900
|
-
},
|
|
2901
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2902
|
-
},
|
|
2903
|
-
{
|
|
2904
|
-
"kind": "field",
|
|
2905
|
-
"name": "disabled",
|
|
2906
|
-
"type": {
|
|
2907
|
-
"text": "boolean"
|
|
2908
|
-
}
|
|
2909
|
-
},
|
|
2910
|
-
{
|
|
2911
|
-
"kind": "field",
|
|
2912
|
-
"name": "inputValue",
|
|
2913
|
-
"type": {
|
|
2914
|
-
"text": "string"
|
|
2915
|
-
},
|
|
2916
|
-
"default": "''"
|
|
2917
|
-
},
|
|
2918
|
-
{
|
|
2919
|
-
"kind": "field",
|
|
2920
|
-
"name": "isInterpreting",
|
|
3044
|
+
"name": "aiProvider",
|
|
2921
3045
|
"type": {
|
|
2922
|
-
"text": "
|
|
3046
|
+
"text": "AIProvider | undefined"
|
|
2923
3047
|
},
|
|
2924
|
-
"
|
|
3048
|
+
"privacy": "private",
|
|
3049
|
+
"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.",
|
|
3050
|
+
"readonly": true
|
|
2925
3051
|
},
|
|
2926
3052
|
{
|
|
2927
3053
|
"kind": "field",
|
|
2928
|
-
"name": "
|
|
3054
|
+
"name": "status",
|
|
2929
3055
|
"type": {
|
|
2930
|
-
"text": "
|
|
3056
|
+
"text": "AIStatus | null"
|
|
2931
3057
|
},
|
|
2932
3058
|
"default": "null"
|
|
2933
3059
|
},
|
|
2934
3060
|
{
|
|
2935
3061
|
"kind": "field",
|
|
2936
|
-
"name": "
|
|
2937
|
-
"type": {
|
|
2938
|
-
"text": "CriteriaGroup[]"
|
|
2939
|
-
},
|
|
2940
|
-
"default": "[]"
|
|
2941
|
-
},
|
|
2942
|
-
{
|
|
2943
|
-
"kind": "field",
|
|
2944
|
-
"name": "showingChips",
|
|
3062
|
+
"name": "open",
|
|
2945
3063
|
"type": {
|
|
2946
3064
|
"text": "boolean"
|
|
2947
3065
|
},
|
|
@@ -2949,15 +3067,15 @@
|
|
|
2949
3067
|
},
|
|
2950
3068
|
{
|
|
2951
3069
|
"kind": "field",
|
|
2952
|
-
"name": "
|
|
3070
|
+
"name": "state",
|
|
2953
3071
|
"type": {
|
|
2954
|
-
"text": "
|
|
3072
|
+
"text": "AIIndicatorState"
|
|
2955
3073
|
},
|
|
2956
|
-
"default": "
|
|
3074
|
+
"default": "'none'"
|
|
2957
3075
|
},
|
|
2958
3076
|
{
|
|
2959
3077
|
"kind": "field",
|
|
2960
|
-
"name": "
|
|
3078
|
+
"name": "isInstalling",
|
|
2961
3079
|
"type": {
|
|
2962
3080
|
"text": "boolean"
|
|
2963
3081
|
},
|
|
@@ -2965,33 +3083,29 @@
|
|
|
2965
3083
|
},
|
|
2966
3084
|
{
|
|
2967
3085
|
"kind": "field",
|
|
2968
|
-
"name": "
|
|
3086
|
+
"name": "pollTimer",
|
|
2969
3087
|
"type": {
|
|
2970
|
-
"text": "
|
|
3088
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2971
3089
|
},
|
|
2972
|
-
"privacy": "
|
|
3090
|
+
"privacy": "private",
|
|
3091
|
+
"default": "null"
|
|
2973
3092
|
},
|
|
2974
3093
|
{
|
|
2975
3094
|
"kind": "field",
|
|
2976
|
-
"name": "
|
|
2977
|
-
"
|
|
2978
|
-
"text": "(() => void) | null"
|
|
2979
|
-
},
|
|
2980
|
-
"privacy": "private",
|
|
2981
|
-
"default": "null"
|
|
3095
|
+
"name": "clickOutside",
|
|
3096
|
+
"privacy": "private"
|
|
2982
3097
|
},
|
|
2983
3098
|
{
|
|
2984
3099
|
"kind": "field",
|
|
2985
|
-
"name": "
|
|
3100
|
+
"name": "chromeStatusLabel",
|
|
2986
3101
|
"type": {
|
|
2987
|
-
"text": "
|
|
3102
|
+
"text": "string | null"
|
|
2988
3103
|
},
|
|
2989
|
-
"
|
|
2990
|
-
"default": "null"
|
|
3104
|
+
"readonly": true
|
|
2991
3105
|
},
|
|
2992
3106
|
{
|
|
2993
3107
|
"kind": "field",
|
|
2994
|
-
"name": "
|
|
3108
|
+
"name": "canInstall",
|
|
2995
3109
|
"type": {
|
|
2996
3110
|
"text": "boolean"
|
|
2997
3111
|
},
|
|
@@ -2999,65 +3113,69 @@
|
|
|
2999
3113
|
},
|
|
3000
3114
|
{
|
|
3001
3115
|
"kind": "field",
|
|
3002
|
-
"name": "
|
|
3116
|
+
"name": "isDownloading",
|
|
3003
3117
|
"type": {
|
|
3004
|
-
"text": "
|
|
3118
|
+
"text": "boolean"
|
|
3005
3119
|
},
|
|
3006
3120
|
"readonly": true
|
|
3007
3121
|
},
|
|
3008
3122
|
{
|
|
3009
3123
|
"kind": "method",
|
|
3010
|
-
"name": "
|
|
3011
|
-
"privacy": "private",
|
|
3124
|
+
"name": "openChanged",
|
|
3012
3125
|
"return": {
|
|
3013
3126
|
"type": {
|
|
3014
|
-
"text": "
|
|
3127
|
+
"text": "void"
|
|
3015
3128
|
}
|
|
3016
|
-
}
|
|
3129
|
+
}
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"kind": "method",
|
|
3133
|
+
"name": "handleClickOutside",
|
|
3134
|
+
"privacy": "private",
|
|
3017
3135
|
"parameters": [
|
|
3018
3136
|
{
|
|
3019
|
-
"name": "
|
|
3137
|
+
"name": "event",
|
|
3020
3138
|
"type": {
|
|
3021
|
-
"text": "
|
|
3139
|
+
"text": "MouseEvent"
|
|
3022
3140
|
}
|
|
3023
3141
|
}
|
|
3024
3142
|
]
|
|
3025
3143
|
},
|
|
3026
3144
|
{
|
|
3027
3145
|
"kind": "method",
|
|
3028
|
-
"name": "
|
|
3146
|
+
"name": "toggleDropdown"
|
|
3147
|
+
},
|
|
3148
|
+
{
|
|
3149
|
+
"kind": "method",
|
|
3150
|
+
"name": "refreshStatus",
|
|
3029
3151
|
"return": {
|
|
3030
3152
|
"type": {
|
|
3031
|
-
"text": "void"
|
|
3153
|
+
"text": "Promise<void>"
|
|
3032
3154
|
}
|
|
3033
3155
|
}
|
|
3034
3156
|
},
|
|
3035
3157
|
{
|
|
3036
3158
|
"kind": "method",
|
|
3037
|
-
"name": "
|
|
3159
|
+
"name": "deriveState",
|
|
3160
|
+
"privacy": "private",
|
|
3038
3161
|
"return": {
|
|
3039
3162
|
"type": {
|
|
3040
|
-
"text": "
|
|
3163
|
+
"text": "AIIndicatorState"
|
|
3041
3164
|
}
|
|
3042
3165
|
},
|
|
3043
3166
|
"parameters": [
|
|
3044
3167
|
{
|
|
3045
|
-
"name": "
|
|
3046
|
-
"type": {
|
|
3047
|
-
"text": "number"
|
|
3048
|
-
}
|
|
3049
|
-
},
|
|
3050
|
-
{
|
|
3051
|
-
"name": "clauseIndex",
|
|
3168
|
+
"name": "s",
|
|
3052
3169
|
"type": {
|
|
3053
|
-
"text": "
|
|
3170
|
+
"text": "AIStatus | null"
|
|
3054
3171
|
}
|
|
3055
3172
|
}
|
|
3056
3173
|
]
|
|
3057
3174
|
},
|
|
3058
3175
|
{
|
|
3059
3176
|
"kind": "method",
|
|
3060
|
-
"name": "
|
|
3177
|
+
"name": "maybeStartPolling",
|
|
3178
|
+
"privacy": "private",
|
|
3061
3179
|
"return": {
|
|
3062
3180
|
"type": {
|
|
3063
3181
|
"text": "void"
|
|
@@ -3066,24 +3184,32 @@
|
|
|
3066
3184
|
},
|
|
3067
3185
|
{
|
|
3068
3186
|
"kind": "method",
|
|
3069
|
-
"name": "
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
"kind": "method",
|
|
3077
|
-
"name": "clear"
|
|
3187
|
+
"name": "startPolling",
|
|
3188
|
+
"privacy": "private",
|
|
3189
|
+
"return": {
|
|
3190
|
+
"type": {
|
|
3191
|
+
"text": "void"
|
|
3192
|
+
}
|
|
3193
|
+
}
|
|
3078
3194
|
},
|
|
3079
3195
|
{
|
|
3080
3196
|
"kind": "method",
|
|
3081
|
-
"name": "
|
|
3197
|
+
"name": "stopPolling",
|
|
3198
|
+
"privacy": "private",
|
|
3199
|
+
"return": {
|
|
3200
|
+
"type": {
|
|
3201
|
+
"text": "void"
|
|
3202
|
+
}
|
|
3203
|
+
}
|
|
3082
3204
|
},
|
|
3083
3205
|
{
|
|
3084
3206
|
"kind": "method",
|
|
3085
|
-
"name": "
|
|
3086
|
-
"
|
|
3207
|
+
"name": "onInstall",
|
|
3208
|
+
"return": {
|
|
3209
|
+
"type": {
|
|
3210
|
+
"text": "Promise<void>"
|
|
3211
|
+
}
|
|
3212
|
+
}
|
|
3087
3213
|
},
|
|
3088
3214
|
{
|
|
3089
3215
|
"kind": "field",
|
|
@@ -3197,154 +3323,103 @@
|
|
|
3197
3323
|
}
|
|
3198
3324
|
}
|
|
3199
3325
|
],
|
|
3200
|
-
"events": [
|
|
3201
|
-
{
|
|
3202
|
-
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3203
|
-
"name": "criteria-changed"
|
|
3204
|
-
},
|
|
3205
|
-
{
|
|
3206
|
-
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3207
|
-
"name": "validation-errors"
|
|
3208
|
-
}
|
|
3209
|
-
],
|
|
3210
|
-
"attributes": [
|
|
3211
|
-
{
|
|
3212
|
-
"name": "placeholder",
|
|
3213
|
-
"type": {
|
|
3214
|
-
"text": "string"
|
|
3215
|
-
},
|
|
3216
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3217
|
-
"fieldName": "placeholder"
|
|
3218
|
-
},
|
|
3219
|
-
{
|
|
3220
|
-
"type": {
|
|
3221
|
-
"text": "boolean"
|
|
3222
|
-
},
|
|
3223
|
-
"fieldName": "disabled"
|
|
3224
|
-
}
|
|
3225
|
-
],
|
|
3226
3326
|
"superclass": {
|
|
3227
3327
|
"name": "FoundationElement",
|
|
3228
3328
|
"package": "@microsoft/fast-foundation"
|
|
3229
3329
|
},
|
|
3230
|
-
"tagName": "%%prefix%%-ai-
|
|
3330
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3231
3331
|
"customElement": true
|
|
3232
3332
|
},
|
|
3233
3333
|
{
|
|
3234
3334
|
"kind": "variable",
|
|
3235
|
-
"name": "
|
|
3236
|
-
"type": {
|
|
3237
|
-
"text": "ShadowRootInit"
|
|
3238
|
-
},
|
|
3239
|
-
"default": "undefined"
|
|
3240
|
-
},
|
|
3241
|
-
{
|
|
3242
|
-
"kind": "variable",
|
|
3243
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3244
|
-
"type": {
|
|
3245
|
-
"text": "object"
|
|
3246
|
-
},
|
|
3247
|
-
"default": "{}"
|
|
3248
|
-
},
|
|
3249
|
-
{
|
|
3250
|
-
"kind": "variable",
|
|
3251
|
-
"name": "foundationAiCriteriaSearch"
|
|
3335
|
+
"name": "foundationAiIndicator"
|
|
3252
3336
|
}
|
|
3253
3337
|
],
|
|
3254
3338
|
"exports": [
|
|
3255
3339
|
{
|
|
3256
3340
|
"kind": "js",
|
|
3257
|
-
"name": "
|
|
3258
|
-
"declaration": {
|
|
3259
|
-
"name": "AiCriteriaSearch",
|
|
3260
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3261
|
-
}
|
|
3262
|
-
},
|
|
3263
|
-
{
|
|
3264
|
-
"kind": "js",
|
|
3265
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3266
|
-
"declaration": {
|
|
3267
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3268
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3269
|
-
}
|
|
3270
|
-
},
|
|
3271
|
-
{
|
|
3272
|
-
"kind": "js",
|
|
3273
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3341
|
+
"name": "AiIndicator",
|
|
3274
3342
|
"declaration": {
|
|
3275
|
-
"name": "
|
|
3276
|
-
"module": "src/ai-
|
|
3343
|
+
"name": "AiIndicator",
|
|
3344
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3277
3345
|
}
|
|
3278
3346
|
},
|
|
3279
3347
|
{
|
|
3280
3348
|
"kind": "js",
|
|
3281
|
-
"name": "
|
|
3349
|
+
"name": "foundationAiIndicator",
|
|
3282
3350
|
"declaration": {
|
|
3283
|
-
"name": "
|
|
3284
|
-
"module": "src/ai-
|
|
3351
|
+
"name": "foundationAiIndicator",
|
|
3352
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3285
3353
|
}
|
|
3286
3354
|
}
|
|
3287
3355
|
]
|
|
3288
3356
|
},
|
|
3289
3357
|
{
|
|
3290
3358
|
"kind": "javascript-module",
|
|
3291
|
-
"path": "src/ai-
|
|
3359
|
+
"path": "src/ai-indicator/index.ts",
|
|
3292
3360
|
"declarations": [],
|
|
3293
3361
|
"exports": [
|
|
3294
3362
|
{
|
|
3295
3363
|
"kind": "js",
|
|
3296
|
-
"name": "
|
|
3364
|
+
"name": "AiIndicator",
|
|
3297
3365
|
"declaration": {
|
|
3298
|
-
"name": "
|
|
3299
|
-
"module": "./ai-
|
|
3366
|
+
"name": "AiIndicator",
|
|
3367
|
+
"module": "./ai-indicator"
|
|
3300
3368
|
}
|
|
3301
3369
|
},
|
|
3302
3370
|
{
|
|
3303
3371
|
"kind": "js",
|
|
3304
|
-
"name": "
|
|
3372
|
+
"name": "foundationAiIndicator",
|
|
3305
3373
|
"declaration": {
|
|
3306
|
-
"name": "
|
|
3307
|
-
"module": "./ai-
|
|
3374
|
+
"name": "foundationAiIndicator",
|
|
3375
|
+
"module": "./ai-indicator"
|
|
3308
3376
|
}
|
|
3309
3377
|
},
|
|
3310
3378
|
{
|
|
3311
3379
|
"kind": "js",
|
|
3312
|
-
"name": "
|
|
3380
|
+
"name": "type",
|
|
3313
3381
|
"declaration": {
|
|
3314
|
-
"name": "
|
|
3315
|
-
"module": "./ai-
|
|
3382
|
+
"name": "type",
|
|
3383
|
+
"module": "./ai-indicator"
|
|
3316
3384
|
}
|
|
3317
3385
|
},
|
|
3318
3386
|
{
|
|
3319
3387
|
"kind": "js",
|
|
3320
|
-
"name": "
|
|
3388
|
+
"name": "AIIndicatorState",
|
|
3321
3389
|
"declaration": {
|
|
3322
|
-
"name": "
|
|
3323
|
-
"module": "./ai-
|
|
3390
|
+
"name": "AIIndicatorState",
|
|
3391
|
+
"module": "./ai-indicator"
|
|
3324
3392
|
}
|
|
3325
3393
|
},
|
|
3326
3394
|
{
|
|
3327
3395
|
"kind": "js",
|
|
3328
|
-
"name": "
|
|
3396
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3329
3397
|
"declaration": {
|
|
3330
|
-
"name": "
|
|
3331
|
-
"module": "./ai-
|
|
3398
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3399
|
+
"module": "./ai-indicator.template"
|
|
3332
3400
|
}
|
|
3333
3401
|
},
|
|
3334
3402
|
{
|
|
3335
3403
|
"kind": "js",
|
|
3336
|
-
"name": "
|
|
3404
|
+
"name": "foundationAiIndicatorStyles",
|
|
3337
3405
|
"declaration": {
|
|
3338
|
-
"name": "
|
|
3339
|
-
"module": "./ai-
|
|
3406
|
+
"name": "foundationAiIndicatorStyles",
|
|
3407
|
+
"module": "./ai-indicator.styles"
|
|
3340
3408
|
}
|
|
3341
|
-
}
|
|
3409
|
+
}
|
|
3410
|
+
]
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
"kind": "javascript-module",
|
|
3414
|
+
"path": "src/_config/index.ts",
|
|
3415
|
+
"declarations": [],
|
|
3416
|
+
"exports": [
|
|
3342
3417
|
{
|
|
3343
3418
|
"kind": "js",
|
|
3344
3419
|
"name": "*",
|
|
3345
3420
|
"declaration": {
|
|
3346
3421
|
"name": "*",
|
|
3347
|
-
"package": "./
|
|
3422
|
+
"package": "./styles"
|
|
3348
3423
|
}
|
|
3349
3424
|
},
|
|
3350
3425
|
{
|
|
@@ -3352,7 +3427,7 @@
|
|
|
3352
3427
|
"name": "*",
|
|
3353
3428
|
"declaration": {
|
|
3354
3429
|
"name": "*",
|
|
3355
|
-
"package": "./
|
|
3430
|
+
"package": "./tokens"
|
|
3356
3431
|
}
|
|
3357
3432
|
},
|
|
3358
3433
|
{
|
|
@@ -3360,82 +3435,7 @@
|
|
|
3360
3435
|
"name": "*",
|
|
3361
3436
|
"declaration": {
|
|
3362
3437
|
"name": "*",
|
|
3363
|
-
"package": "./
|
|
3364
|
-
}
|
|
3365
|
-
}
|
|
3366
|
-
]
|
|
3367
|
-
},
|
|
3368
|
-
{
|
|
3369
|
-
"kind": "javascript-module",
|
|
3370
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3371
|
-
"declarations": [
|
|
3372
|
-
{
|
|
3373
|
-
"kind": "function",
|
|
3374
|
-
"name": "formatValidationErrors",
|
|
3375
|
-
"return": {
|
|
3376
|
-
"type": {
|
|
3377
|
-
"text": "string"
|
|
3378
|
-
}
|
|
3379
|
-
},
|
|
3380
|
-
"parameters": [
|
|
3381
|
-
{
|
|
3382
|
-
"name": "errors",
|
|
3383
|
-
"type": {
|
|
3384
|
-
"text": "ValidationError[]"
|
|
3385
|
-
}
|
|
3386
|
-
}
|
|
3387
|
-
],
|
|
3388
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3389
|
-
},
|
|
3390
|
-
{
|
|
3391
|
-
"kind": "function",
|
|
3392
|
-
"name": "showCriteriaError",
|
|
3393
|
-
"return": {
|
|
3394
|
-
"type": {
|
|
3395
|
-
"text": "void"
|
|
3396
|
-
}
|
|
3397
|
-
},
|
|
3398
|
-
"parameters": [
|
|
3399
|
-
{
|
|
3400
|
-
"name": "title",
|
|
3401
|
-
"type": {
|
|
3402
|
-
"text": "string"
|
|
3403
|
-
},
|
|
3404
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3405
|
-
},
|
|
3406
|
-
{
|
|
3407
|
-
"name": "body",
|
|
3408
|
-
"type": {
|
|
3409
|
-
"text": "string"
|
|
3410
|
-
},
|
|
3411
|
-
"description": "Error message to display"
|
|
3412
|
-
},
|
|
3413
|
-
{
|
|
3414
|
-
"name": "tagName",
|
|
3415
|
-
"type": {
|
|
3416
|
-
"text": "string"
|
|
3417
|
-
},
|
|
3418
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3419
|
-
}
|
|
3420
|
-
],
|
|
3421
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3422
|
-
}
|
|
3423
|
-
],
|
|
3424
|
-
"exports": [
|
|
3425
|
-
{
|
|
3426
|
-
"kind": "js",
|
|
3427
|
-
"name": "formatValidationErrors",
|
|
3428
|
-
"declaration": {
|
|
3429
|
-
"name": "formatValidationErrors",
|
|
3430
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3431
|
-
}
|
|
3432
|
-
},
|
|
3433
|
-
{
|
|
3434
|
-
"kind": "js",
|
|
3435
|
-
"name": "showCriteriaError",
|
|
3436
|
-
"declaration": {
|
|
3437
|
-
"name": "showCriteriaError",
|
|
3438
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3438
|
+
"package": "./values"
|
|
3439
3439
|
}
|
|
3440
3440
|
}
|
|
3441
3441
|
]
|
|
@@ -57479,7 +57479,7 @@
|
|
|
57479
57479
|
"kind": "js",
|
|
57480
57480
|
"name": "logType",
|
|
57481
57481
|
"declaration": {
|
|
57482
|
-
"name": "
|
|
57482
|
+
"name": "LogType",
|
|
57483
57483
|
"module": "src/utils/logger.ts"
|
|
57484
57484
|
}
|
|
57485
57485
|
},
|
|
@@ -57677,6 +57677,197 @@
|
|
|
57677
57677
|
}
|
|
57678
57678
|
]
|
|
57679
57679
|
},
|
|
57680
|
+
{
|
|
57681
|
+
"kind": "javascript-module",
|
|
57682
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
57683
|
+
"declarations": [],
|
|
57684
|
+
"exports": []
|
|
57685
|
+
},
|
|
57686
|
+
{
|
|
57687
|
+
"kind": "javascript-module",
|
|
57688
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
57689
|
+
"declarations": [
|
|
57690
|
+
{
|
|
57691
|
+
"kind": "function",
|
|
57692
|
+
"name": "groupsToCriteria",
|
|
57693
|
+
"return": {
|
|
57694
|
+
"type": {
|
|
57695
|
+
"text": "string"
|
|
57696
|
+
}
|
|
57697
|
+
},
|
|
57698
|
+
"parameters": [
|
|
57699
|
+
{
|
|
57700
|
+
"name": "groups",
|
|
57701
|
+
"type": {
|
|
57702
|
+
"text": "CriteriaGroup[]"
|
|
57703
|
+
}
|
|
57704
|
+
}
|
|
57705
|
+
],
|
|
57706
|
+
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
57707
|
+
},
|
|
57708
|
+
{
|
|
57709
|
+
"kind": "variable",
|
|
57710
|
+
"name": "STRING_OPERATORS",
|
|
57711
|
+
"type": {
|
|
57712
|
+
"text": "CriteriaOperator[]"
|
|
57713
|
+
},
|
|
57714
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
57715
|
+
},
|
|
57716
|
+
{
|
|
57717
|
+
"kind": "variable",
|
|
57718
|
+
"name": "NUMERIC_OPERATORS",
|
|
57719
|
+
"type": {
|
|
57720
|
+
"text": "CriteriaOperator[]"
|
|
57721
|
+
},
|
|
57722
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
57723
|
+
},
|
|
57724
|
+
{
|
|
57725
|
+
"kind": "variable",
|
|
57726
|
+
"name": "DATE_OPERATORS",
|
|
57727
|
+
"type": {
|
|
57728
|
+
"text": "CriteriaOperator[]"
|
|
57729
|
+
},
|
|
57730
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
57731
|
+
},
|
|
57732
|
+
{
|
|
57733
|
+
"kind": "variable",
|
|
57734
|
+
"name": "DATETIME_OPERATORS",
|
|
57735
|
+
"type": {
|
|
57736
|
+
"text": "CriteriaOperator[]"
|
|
57737
|
+
},
|
|
57738
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
57739
|
+
},
|
|
57740
|
+
{
|
|
57741
|
+
"kind": "variable",
|
|
57742
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57743
|
+
"type": {
|
|
57744
|
+
"text": "Record<CriteriaOperator, string>"
|
|
57745
|
+
},
|
|
57746
|
+
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
57747
|
+
}
|
|
57748
|
+
],
|
|
57749
|
+
"exports": [
|
|
57750
|
+
{
|
|
57751
|
+
"kind": "js",
|
|
57752
|
+
"name": "groupsToCriteria",
|
|
57753
|
+
"declaration": {
|
|
57754
|
+
"name": "groupsToCriteria",
|
|
57755
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57756
|
+
}
|
|
57757
|
+
},
|
|
57758
|
+
{
|
|
57759
|
+
"kind": "js",
|
|
57760
|
+
"name": "STRING_OPERATORS",
|
|
57761
|
+
"declaration": {
|
|
57762
|
+
"name": "STRING_OPERATORS",
|
|
57763
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57764
|
+
}
|
|
57765
|
+
},
|
|
57766
|
+
{
|
|
57767
|
+
"kind": "js",
|
|
57768
|
+
"name": "NUMERIC_OPERATORS",
|
|
57769
|
+
"declaration": {
|
|
57770
|
+
"name": "NUMERIC_OPERATORS",
|
|
57771
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57772
|
+
}
|
|
57773
|
+
},
|
|
57774
|
+
{
|
|
57775
|
+
"kind": "js",
|
|
57776
|
+
"name": "DATE_OPERATORS",
|
|
57777
|
+
"declaration": {
|
|
57778
|
+
"name": "DATE_OPERATORS",
|
|
57779
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57780
|
+
}
|
|
57781
|
+
},
|
|
57782
|
+
{
|
|
57783
|
+
"kind": "js",
|
|
57784
|
+
"name": "DATETIME_OPERATORS",
|
|
57785
|
+
"declaration": {
|
|
57786
|
+
"name": "DATETIME_OPERATORS",
|
|
57787
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57788
|
+
}
|
|
57789
|
+
},
|
|
57790
|
+
{
|
|
57791
|
+
"kind": "js",
|
|
57792
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57793
|
+
"declaration": {
|
|
57794
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57795
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57796
|
+
}
|
|
57797
|
+
}
|
|
57798
|
+
]
|
|
57799
|
+
},
|
|
57800
|
+
{
|
|
57801
|
+
"kind": "javascript-module",
|
|
57802
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
57803
|
+
"declarations": [
|
|
57804
|
+
{
|
|
57805
|
+
"kind": "function",
|
|
57806
|
+
"name": "validateClauses",
|
|
57807
|
+
"return": {
|
|
57808
|
+
"type": {
|
|
57809
|
+
"text": "ValidationResult"
|
|
57810
|
+
}
|
|
57811
|
+
},
|
|
57812
|
+
"parameters": [
|
|
57813
|
+
{
|
|
57814
|
+
"name": "clauses",
|
|
57815
|
+
"type": {
|
|
57816
|
+
"text": "CriteriaClause[]"
|
|
57817
|
+
}
|
|
57818
|
+
},
|
|
57819
|
+
{
|
|
57820
|
+
"name": "fieldMetadata",
|
|
57821
|
+
"type": {
|
|
57822
|
+
"text": "MetadataDetail[] | string[]"
|
|
57823
|
+
}
|
|
57824
|
+
}
|
|
57825
|
+
]
|
|
57826
|
+
},
|
|
57827
|
+
{
|
|
57828
|
+
"kind": "function",
|
|
57829
|
+
"name": "validateGroups",
|
|
57830
|
+
"return": {
|
|
57831
|
+
"type": {
|
|
57832
|
+
"text": "GroupsValidationResult"
|
|
57833
|
+
}
|
|
57834
|
+
},
|
|
57835
|
+
"parameters": [
|
|
57836
|
+
{
|
|
57837
|
+
"name": "groups",
|
|
57838
|
+
"type": {
|
|
57839
|
+
"text": "CriteriaGroup[]"
|
|
57840
|
+
}
|
|
57841
|
+
},
|
|
57842
|
+
{
|
|
57843
|
+
"name": "fieldMetadata",
|
|
57844
|
+
"type": {
|
|
57845
|
+
"text": "MetadataDetail[] | string[]"
|
|
57846
|
+
}
|
|
57847
|
+
}
|
|
57848
|
+
],
|
|
57849
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
57850
|
+
}
|
|
57851
|
+
],
|
|
57852
|
+
"exports": [
|
|
57853
|
+
{
|
|
57854
|
+
"kind": "js",
|
|
57855
|
+
"name": "validateClauses",
|
|
57856
|
+
"declaration": {
|
|
57857
|
+
"name": "validateClauses",
|
|
57858
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
57859
|
+
}
|
|
57860
|
+
},
|
|
57861
|
+
{
|
|
57862
|
+
"kind": "js",
|
|
57863
|
+
"name": "validateGroups",
|
|
57864
|
+
"declaration": {
|
|
57865
|
+
"name": "validateGroups",
|
|
57866
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
57867
|
+
}
|
|
57868
|
+
}
|
|
57869
|
+
]
|
|
57870
|
+
},
|
|
57680
57871
|
{
|
|
57681
57872
|
"kind": "javascript-module",
|
|
57682
57873
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -59049,197 +59240,6 @@
|
|
|
59049
59240
|
"declarations": [],
|
|
59050
59241
|
"exports": []
|
|
59051
59242
|
},
|
|
59052
|
-
{
|
|
59053
|
-
"kind": "javascript-module",
|
|
59054
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
59055
|
-
"declarations": [],
|
|
59056
|
-
"exports": []
|
|
59057
|
-
},
|
|
59058
|
-
{
|
|
59059
|
-
"kind": "javascript-module",
|
|
59060
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
59061
|
-
"declarations": [
|
|
59062
|
-
{
|
|
59063
|
-
"kind": "function",
|
|
59064
|
-
"name": "groupsToCriteria",
|
|
59065
|
-
"return": {
|
|
59066
|
-
"type": {
|
|
59067
|
-
"text": "string"
|
|
59068
|
-
}
|
|
59069
|
-
},
|
|
59070
|
-
"parameters": [
|
|
59071
|
-
{
|
|
59072
|
-
"name": "groups",
|
|
59073
|
-
"type": {
|
|
59074
|
-
"text": "CriteriaGroup[]"
|
|
59075
|
-
}
|
|
59076
|
-
}
|
|
59077
|
-
],
|
|
59078
|
-
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
59079
|
-
},
|
|
59080
|
-
{
|
|
59081
|
-
"kind": "variable",
|
|
59082
|
-
"name": "STRING_OPERATORS",
|
|
59083
|
-
"type": {
|
|
59084
|
-
"text": "CriteriaOperator[]"
|
|
59085
|
-
},
|
|
59086
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
59087
|
-
},
|
|
59088
|
-
{
|
|
59089
|
-
"kind": "variable",
|
|
59090
|
-
"name": "NUMERIC_OPERATORS",
|
|
59091
|
-
"type": {
|
|
59092
|
-
"text": "CriteriaOperator[]"
|
|
59093
|
-
},
|
|
59094
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
59095
|
-
},
|
|
59096
|
-
{
|
|
59097
|
-
"kind": "variable",
|
|
59098
|
-
"name": "DATE_OPERATORS",
|
|
59099
|
-
"type": {
|
|
59100
|
-
"text": "CriteriaOperator[]"
|
|
59101
|
-
},
|
|
59102
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
59103
|
-
},
|
|
59104
|
-
{
|
|
59105
|
-
"kind": "variable",
|
|
59106
|
-
"name": "DATETIME_OPERATORS",
|
|
59107
|
-
"type": {
|
|
59108
|
-
"text": "CriteriaOperator[]"
|
|
59109
|
-
},
|
|
59110
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
59111
|
-
},
|
|
59112
|
-
{
|
|
59113
|
-
"kind": "variable",
|
|
59114
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59115
|
-
"type": {
|
|
59116
|
-
"text": "Record<CriteriaOperator, string>"
|
|
59117
|
-
},
|
|
59118
|
-
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
59119
|
-
}
|
|
59120
|
-
],
|
|
59121
|
-
"exports": [
|
|
59122
|
-
{
|
|
59123
|
-
"kind": "js",
|
|
59124
|
-
"name": "groupsToCriteria",
|
|
59125
|
-
"declaration": {
|
|
59126
|
-
"name": "groupsToCriteria",
|
|
59127
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59128
|
-
}
|
|
59129
|
-
},
|
|
59130
|
-
{
|
|
59131
|
-
"kind": "js",
|
|
59132
|
-
"name": "STRING_OPERATORS",
|
|
59133
|
-
"declaration": {
|
|
59134
|
-
"name": "STRING_OPERATORS",
|
|
59135
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59136
|
-
}
|
|
59137
|
-
},
|
|
59138
|
-
{
|
|
59139
|
-
"kind": "js",
|
|
59140
|
-
"name": "NUMERIC_OPERATORS",
|
|
59141
|
-
"declaration": {
|
|
59142
|
-
"name": "NUMERIC_OPERATORS",
|
|
59143
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59144
|
-
}
|
|
59145
|
-
},
|
|
59146
|
-
{
|
|
59147
|
-
"kind": "js",
|
|
59148
|
-
"name": "DATE_OPERATORS",
|
|
59149
|
-
"declaration": {
|
|
59150
|
-
"name": "DATE_OPERATORS",
|
|
59151
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59152
|
-
}
|
|
59153
|
-
},
|
|
59154
|
-
{
|
|
59155
|
-
"kind": "js",
|
|
59156
|
-
"name": "DATETIME_OPERATORS",
|
|
59157
|
-
"declaration": {
|
|
59158
|
-
"name": "DATETIME_OPERATORS",
|
|
59159
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59160
|
-
}
|
|
59161
|
-
},
|
|
59162
|
-
{
|
|
59163
|
-
"kind": "js",
|
|
59164
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59165
|
-
"declaration": {
|
|
59166
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59167
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59168
|
-
}
|
|
59169
|
-
}
|
|
59170
|
-
]
|
|
59171
|
-
},
|
|
59172
|
-
{
|
|
59173
|
-
"kind": "javascript-module",
|
|
59174
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
59175
|
-
"declarations": [
|
|
59176
|
-
{
|
|
59177
|
-
"kind": "function",
|
|
59178
|
-
"name": "validateClauses",
|
|
59179
|
-
"return": {
|
|
59180
|
-
"type": {
|
|
59181
|
-
"text": "ValidationResult"
|
|
59182
|
-
}
|
|
59183
|
-
},
|
|
59184
|
-
"parameters": [
|
|
59185
|
-
{
|
|
59186
|
-
"name": "clauses",
|
|
59187
|
-
"type": {
|
|
59188
|
-
"text": "CriteriaClause[]"
|
|
59189
|
-
}
|
|
59190
|
-
},
|
|
59191
|
-
{
|
|
59192
|
-
"name": "fieldMetadata",
|
|
59193
|
-
"type": {
|
|
59194
|
-
"text": "MetadataDetail[] | string[]"
|
|
59195
|
-
}
|
|
59196
|
-
}
|
|
59197
|
-
]
|
|
59198
|
-
},
|
|
59199
|
-
{
|
|
59200
|
-
"kind": "function",
|
|
59201
|
-
"name": "validateGroups",
|
|
59202
|
-
"return": {
|
|
59203
|
-
"type": {
|
|
59204
|
-
"text": "GroupsValidationResult"
|
|
59205
|
-
}
|
|
59206
|
-
},
|
|
59207
|
-
"parameters": [
|
|
59208
|
-
{
|
|
59209
|
-
"name": "groups",
|
|
59210
|
-
"type": {
|
|
59211
|
-
"text": "CriteriaGroup[]"
|
|
59212
|
-
}
|
|
59213
|
-
},
|
|
59214
|
-
{
|
|
59215
|
-
"name": "fieldMetadata",
|
|
59216
|
-
"type": {
|
|
59217
|
-
"text": "MetadataDetail[] | string[]"
|
|
59218
|
-
}
|
|
59219
|
-
}
|
|
59220
|
-
],
|
|
59221
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
59222
|
-
}
|
|
59223
|
-
],
|
|
59224
|
-
"exports": [
|
|
59225
|
-
{
|
|
59226
|
-
"kind": "js",
|
|
59227
|
-
"name": "validateClauses",
|
|
59228
|
-
"declaration": {
|
|
59229
|
-
"name": "validateClauses",
|
|
59230
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
59231
|
-
}
|
|
59232
|
-
},
|
|
59233
|
-
{
|
|
59234
|
-
"kind": "js",
|
|
59235
|
-
"name": "validateGroups",
|
|
59236
|
-
"declaration": {
|
|
59237
|
-
"name": "validateGroups",
|
|
59238
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
59239
|
-
}
|
|
59240
|
-
}
|
|
59241
|
-
]
|
|
59242
|
-
},
|
|
59243
59243
|
{
|
|
59244
59244
|
"kind": "javascript-module",
|
|
59245
59245
|
"path": "src/environment-indicator/utils/configure.ts",
|