@genesislcap/foundation-ui 14.448.0 → 14.449.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 +992 -456
- package/dist/dts/date-picker/date-picker.d.ts +63 -0
- package/dist/dts/date-picker/date-picker.d.ts.map +1 -1
- package/dist/dts/date-picker/date-picker.template.d.ts.map +1 -1
- package/dist/dts/date-picker/date-picker.util.d.ts +37 -0
- package/dist/dts/date-picker/date-picker.util.d.ts.map +1 -0
- package/dist/dts/date-picker/index.d.ts +1 -0
- package/dist/dts/date-picker/index.d.ts.map +1 -1
- package/dist/dts/react.d.ts +9 -9
- package/dist/esm/date-picker/date-picker.js +264 -17
- package/dist/esm/date-picker/date-picker.template.js +9 -1
- package/dist/esm/date-picker/date-picker.util.js +92 -0
- package/dist/esm/date-picker/index.js +1 -0
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -2384,57 +2384,75 @@
|
|
|
2384
2384
|
},
|
|
2385
2385
|
{
|
|
2386
2386
|
"kind": "javascript-module",
|
|
2387
|
-
"path": "src/ai-
|
|
2387
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2388
2388
|
"declarations": [
|
|
2389
2389
|
{
|
|
2390
|
-
"kind": "
|
|
2391
|
-
"name": "
|
|
2392
|
-
"
|
|
2390
|
+
"kind": "function",
|
|
2391
|
+
"name": "foundationAiIndicatorStyles",
|
|
2392
|
+
"return": {
|
|
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
|
+
]
|
|
2393
2411
|
}
|
|
2394
2412
|
],
|
|
2395
2413
|
"exports": [
|
|
2396
2414
|
{
|
|
2397
2415
|
"kind": "js",
|
|
2398
|
-
"name": "
|
|
2416
|
+
"name": "foundationAiIndicatorStyles",
|
|
2399
2417
|
"declaration": {
|
|
2400
|
-
"name": "
|
|
2401
|
-
"module": "src/ai-
|
|
2418
|
+
"name": "foundationAiIndicatorStyles",
|
|
2419
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2402
2420
|
}
|
|
2403
2421
|
}
|
|
2404
2422
|
]
|
|
2405
2423
|
},
|
|
2406
2424
|
{
|
|
2407
2425
|
"kind": "javascript-module",
|
|
2408
|
-
"path": "src/ai-
|
|
2426
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2409
2427
|
"declarations": [
|
|
2410
2428
|
{
|
|
2411
2429
|
"kind": "variable",
|
|
2412
|
-
"name": "
|
|
2430
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2413
2431
|
"type": {
|
|
2414
|
-
"text": "ViewTemplate<
|
|
2432
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2415
2433
|
},
|
|
2416
|
-
"default": "html`\n ${(x) =>
|
|
2434
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2417
2435
|
}
|
|
2418
2436
|
],
|
|
2419
2437
|
"exports": [
|
|
2420
2438
|
{
|
|
2421
2439
|
"kind": "js",
|
|
2422
|
-
"name": "
|
|
2440
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2423
2441
|
"declaration": {
|
|
2424
|
-
"name": "
|
|
2425
|
-
"module": "src/ai-
|
|
2442
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2443
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2426
2444
|
}
|
|
2427
2445
|
}
|
|
2428
2446
|
]
|
|
2429
2447
|
},
|
|
2430
2448
|
{
|
|
2431
2449
|
"kind": "javascript-module",
|
|
2432
|
-
"path": "src/ai-
|
|
2450
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2433
2451
|
"declarations": [
|
|
2434
2452
|
{
|
|
2435
2453
|
"kind": "class",
|
|
2436
|
-
"description": "
|
|
2437
|
-
"name": "
|
|
2454
|
+
"description": "",
|
|
2455
|
+
"name": "AiIndicator",
|
|
2438
2456
|
"members": [
|
|
2439
2457
|
{
|
|
2440
2458
|
"kind": "field",
|
|
@@ -2445,54 +2463,25 @@
|
|
|
2445
2463
|
},
|
|
2446
2464
|
{
|
|
2447
2465
|
"kind": "field",
|
|
2448
|
-
"name": "
|
|
2449
|
-
"type": {
|
|
2450
|
-
"text": "string"
|
|
2451
|
-
},
|
|
2452
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2453
|
-
},
|
|
2454
|
-
{
|
|
2455
|
-
"kind": "field",
|
|
2456
|
-
"name": "disabled",
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "boolean"
|
|
2459
|
-
}
|
|
2460
|
-
},
|
|
2461
|
-
{
|
|
2462
|
-
"kind": "field",
|
|
2463
|
-
"name": "inputValue",
|
|
2464
|
-
"type": {
|
|
2465
|
-
"text": "string"
|
|
2466
|
-
},
|
|
2467
|
-
"default": "''"
|
|
2468
|
-
},
|
|
2469
|
-
{
|
|
2470
|
-
"kind": "field",
|
|
2471
|
-
"name": "isInterpreting",
|
|
2466
|
+
"name": "aiProvider",
|
|
2472
2467
|
"type": {
|
|
2473
|
-
"text": "
|
|
2468
|
+
"text": "AIProvider | undefined"
|
|
2474
2469
|
},
|
|
2475
|
-
"
|
|
2470
|
+
"privacy": "private",
|
|
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
|
|
2476
2473
|
},
|
|
2477
2474
|
{
|
|
2478
2475
|
"kind": "field",
|
|
2479
|
-
"name": "
|
|
2476
|
+
"name": "status",
|
|
2480
2477
|
"type": {
|
|
2481
|
-
"text": "
|
|
2478
|
+
"text": "AIStatus | null"
|
|
2482
2479
|
},
|
|
2483
2480
|
"default": "null"
|
|
2484
2481
|
},
|
|
2485
2482
|
{
|
|
2486
2483
|
"kind": "field",
|
|
2487
|
-
"name": "
|
|
2488
|
-
"type": {
|
|
2489
|
-
"text": "CriteriaGroup[]"
|
|
2490
|
-
},
|
|
2491
|
-
"default": "[]"
|
|
2492
|
-
},
|
|
2493
|
-
{
|
|
2494
|
-
"kind": "field",
|
|
2495
|
-
"name": "showingChips",
|
|
2484
|
+
"name": "open",
|
|
2496
2485
|
"type": {
|
|
2497
2486
|
"text": "boolean"
|
|
2498
2487
|
},
|
|
@@ -2500,15 +2489,15 @@
|
|
|
2500
2489
|
},
|
|
2501
2490
|
{
|
|
2502
2491
|
"kind": "field",
|
|
2503
|
-
"name": "
|
|
2492
|
+
"name": "state",
|
|
2504
2493
|
"type": {
|
|
2505
|
-
"text": "
|
|
2494
|
+
"text": "AIIndicatorState"
|
|
2506
2495
|
},
|
|
2507
|
-
"default": "
|
|
2496
|
+
"default": "'none'"
|
|
2508
2497
|
},
|
|
2509
2498
|
{
|
|
2510
2499
|
"kind": "field",
|
|
2511
|
-
"name": "
|
|
2500
|
+
"name": "isInstalling",
|
|
2512
2501
|
"type": {
|
|
2513
2502
|
"text": "boolean"
|
|
2514
2503
|
},
|
|
@@ -2516,33 +2505,29 @@
|
|
|
2516
2505
|
},
|
|
2517
2506
|
{
|
|
2518
2507
|
"kind": "field",
|
|
2519
|
-
"name": "
|
|
2508
|
+
"name": "pollTimer",
|
|
2520
2509
|
"type": {
|
|
2521
|
-
"text": "
|
|
2510
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2522
2511
|
},
|
|
2523
|
-
"privacy": "
|
|
2512
|
+
"privacy": "private",
|
|
2513
|
+
"default": "null"
|
|
2524
2514
|
},
|
|
2525
2515
|
{
|
|
2526
2516
|
"kind": "field",
|
|
2527
|
-
"name": "
|
|
2528
|
-
"
|
|
2529
|
-
"text": "(() => void) | null"
|
|
2530
|
-
},
|
|
2531
|
-
"privacy": "private",
|
|
2532
|
-
"default": "null"
|
|
2517
|
+
"name": "clickOutside",
|
|
2518
|
+
"privacy": "private"
|
|
2533
2519
|
},
|
|
2534
2520
|
{
|
|
2535
2521
|
"kind": "field",
|
|
2536
|
-
"name": "
|
|
2522
|
+
"name": "chromeStatusLabel",
|
|
2537
2523
|
"type": {
|
|
2538
|
-
"text": "
|
|
2524
|
+
"text": "string | null"
|
|
2539
2525
|
},
|
|
2540
|
-
"
|
|
2541
|
-
"default": "null"
|
|
2526
|
+
"readonly": true
|
|
2542
2527
|
},
|
|
2543
2528
|
{
|
|
2544
2529
|
"kind": "field",
|
|
2545
|
-
"name": "
|
|
2530
|
+
"name": "canInstall",
|
|
2546
2531
|
"type": {
|
|
2547
2532
|
"text": "boolean"
|
|
2548
2533
|
},
|
|
@@ -2550,65 +2535,69 @@
|
|
|
2550
2535
|
},
|
|
2551
2536
|
{
|
|
2552
2537
|
"kind": "field",
|
|
2553
|
-
"name": "
|
|
2538
|
+
"name": "isDownloading",
|
|
2554
2539
|
"type": {
|
|
2555
|
-
"text": "
|
|
2540
|
+
"text": "boolean"
|
|
2556
2541
|
},
|
|
2557
2542
|
"readonly": true
|
|
2558
2543
|
},
|
|
2559
2544
|
{
|
|
2560
2545
|
"kind": "method",
|
|
2561
|
-
"name": "
|
|
2562
|
-
"privacy": "private",
|
|
2546
|
+
"name": "openChanged",
|
|
2563
2547
|
"return": {
|
|
2564
2548
|
"type": {
|
|
2565
|
-
"text": "
|
|
2549
|
+
"text": "void"
|
|
2566
2550
|
}
|
|
2567
|
-
}
|
|
2551
|
+
}
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
"kind": "method",
|
|
2555
|
+
"name": "handleClickOutside",
|
|
2556
|
+
"privacy": "private",
|
|
2568
2557
|
"parameters": [
|
|
2569
2558
|
{
|
|
2570
|
-
"name": "
|
|
2559
|
+
"name": "event",
|
|
2571
2560
|
"type": {
|
|
2572
|
-
"text": "
|
|
2561
|
+
"text": "MouseEvent"
|
|
2573
2562
|
}
|
|
2574
2563
|
}
|
|
2575
2564
|
]
|
|
2576
2565
|
},
|
|
2577
2566
|
{
|
|
2578
2567
|
"kind": "method",
|
|
2579
|
-
"name": "
|
|
2568
|
+
"name": "toggleDropdown"
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
"kind": "method",
|
|
2572
|
+
"name": "refreshStatus",
|
|
2580
2573
|
"return": {
|
|
2581
2574
|
"type": {
|
|
2582
|
-
"text": "void"
|
|
2575
|
+
"text": "Promise<void>"
|
|
2583
2576
|
}
|
|
2584
2577
|
}
|
|
2585
2578
|
},
|
|
2586
2579
|
{
|
|
2587
2580
|
"kind": "method",
|
|
2588
|
-
"name": "
|
|
2581
|
+
"name": "deriveState",
|
|
2582
|
+
"privacy": "private",
|
|
2589
2583
|
"return": {
|
|
2590
2584
|
"type": {
|
|
2591
|
-
"text": "
|
|
2585
|
+
"text": "AIIndicatorState"
|
|
2592
2586
|
}
|
|
2593
2587
|
},
|
|
2594
2588
|
"parameters": [
|
|
2595
2589
|
{
|
|
2596
|
-
"name": "
|
|
2597
|
-
"type": {
|
|
2598
|
-
"text": "number"
|
|
2599
|
-
}
|
|
2600
|
-
},
|
|
2601
|
-
{
|
|
2602
|
-
"name": "clauseIndex",
|
|
2590
|
+
"name": "s",
|
|
2603
2591
|
"type": {
|
|
2604
|
-
"text": "
|
|
2592
|
+
"text": "AIStatus | null"
|
|
2605
2593
|
}
|
|
2606
2594
|
}
|
|
2607
2595
|
]
|
|
2608
2596
|
},
|
|
2609
2597
|
{
|
|
2610
2598
|
"kind": "method",
|
|
2611
|
-
"name": "
|
|
2599
|
+
"name": "maybeStartPolling",
|
|
2600
|
+
"privacy": "private",
|
|
2612
2601
|
"return": {
|
|
2613
2602
|
"type": {
|
|
2614
2603
|
"text": "void"
|
|
@@ -2617,24 +2606,32 @@
|
|
|
2617
2606
|
},
|
|
2618
2607
|
{
|
|
2619
2608
|
"kind": "method",
|
|
2620
|
-
"name": "
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
"kind": "method",
|
|
2628
|
-
"name": "clear"
|
|
2609
|
+
"name": "startPolling",
|
|
2610
|
+
"privacy": "private",
|
|
2611
|
+
"return": {
|
|
2612
|
+
"type": {
|
|
2613
|
+
"text": "void"
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2629
2616
|
},
|
|
2630
2617
|
{
|
|
2631
2618
|
"kind": "method",
|
|
2632
|
-
"name": "
|
|
2619
|
+
"name": "stopPolling",
|
|
2620
|
+
"privacy": "private",
|
|
2621
|
+
"return": {
|
|
2622
|
+
"type": {
|
|
2623
|
+
"text": "void"
|
|
2624
|
+
}
|
|
2625
|
+
}
|
|
2633
2626
|
},
|
|
2634
2627
|
{
|
|
2635
2628
|
"kind": "method",
|
|
2636
|
-
"name": "
|
|
2637
|
-
"
|
|
2629
|
+
"name": "onInstall",
|
|
2630
|
+
"return": {
|
|
2631
|
+
"type": {
|
|
2632
|
+
"text": "Promise<void>"
|
|
2633
|
+
}
|
|
2634
|
+
}
|
|
2638
2635
|
},
|
|
2639
2636
|
{
|
|
2640
2637
|
"kind": "field",
|
|
@@ -2748,320 +2745,145 @@
|
|
|
2748
2745
|
}
|
|
2749
2746
|
}
|
|
2750
2747
|
],
|
|
2751
|
-
"events": [
|
|
2752
|
-
{
|
|
2753
|
-
"description": "Fired when interpreted criteria is applied or cleared",
|
|
2754
|
-
"name": "criteria-changed"
|
|
2755
|
-
},
|
|
2756
|
-
{
|
|
2757
|
-
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
2758
|
-
"name": "validation-errors"
|
|
2759
|
-
}
|
|
2760
|
-
],
|
|
2761
|
-
"attributes": [
|
|
2762
|
-
{
|
|
2763
|
-
"name": "placeholder",
|
|
2764
|
-
"type": {
|
|
2765
|
-
"text": "string"
|
|
2766
|
-
},
|
|
2767
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
2768
|
-
"fieldName": "placeholder"
|
|
2769
|
-
},
|
|
2770
|
-
{
|
|
2771
|
-
"type": {
|
|
2772
|
-
"text": "boolean"
|
|
2773
|
-
},
|
|
2774
|
-
"fieldName": "disabled"
|
|
2775
|
-
}
|
|
2776
|
-
],
|
|
2777
2748
|
"superclass": {
|
|
2778
2749
|
"name": "FoundationElement",
|
|
2779
2750
|
"package": "@microsoft/fast-foundation"
|
|
2780
2751
|
},
|
|
2781
|
-
"tagName": "%%prefix%%-ai-
|
|
2752
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
2782
2753
|
"customElement": true
|
|
2783
2754
|
},
|
|
2784
2755
|
{
|
|
2785
2756
|
"kind": "variable",
|
|
2786
|
-
"name": "
|
|
2787
|
-
"type": {
|
|
2788
|
-
"text": "ShadowRootInit"
|
|
2789
|
-
},
|
|
2790
|
-
"default": "undefined"
|
|
2791
|
-
},
|
|
2792
|
-
{
|
|
2793
|
-
"kind": "variable",
|
|
2794
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2795
|
-
"type": {
|
|
2796
|
-
"text": "object"
|
|
2797
|
-
},
|
|
2798
|
-
"default": "{}"
|
|
2799
|
-
},
|
|
2800
|
-
{
|
|
2801
|
-
"kind": "variable",
|
|
2802
|
-
"name": "foundationAiCriteriaSearch"
|
|
2757
|
+
"name": "foundationAiIndicator"
|
|
2803
2758
|
}
|
|
2804
2759
|
],
|
|
2805
2760
|
"exports": [
|
|
2806
2761
|
{
|
|
2807
2762
|
"kind": "js",
|
|
2808
|
-
"name": "
|
|
2763
|
+
"name": "AiIndicator",
|
|
2809
2764
|
"declaration": {
|
|
2810
|
-
"name": "
|
|
2811
|
-
"module": "src/ai-
|
|
2812
|
-
}
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
"kind": "js",
|
|
2816
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2817
|
-
"declaration": {
|
|
2818
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2819
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2820
|
-
}
|
|
2821
|
-
},
|
|
2822
|
-
{
|
|
2823
|
-
"kind": "js",
|
|
2824
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2825
|
-
"declaration": {
|
|
2826
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2827
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2765
|
+
"name": "AiIndicator",
|
|
2766
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2828
2767
|
}
|
|
2829
2768
|
},
|
|
2830
2769
|
{
|
|
2831
2770
|
"kind": "js",
|
|
2832
|
-
"name": "
|
|
2771
|
+
"name": "foundationAiIndicator",
|
|
2833
2772
|
"declaration": {
|
|
2834
|
-
"name": "
|
|
2835
|
-
"module": "src/ai-
|
|
2773
|
+
"name": "foundationAiIndicator",
|
|
2774
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2836
2775
|
}
|
|
2837
2776
|
}
|
|
2838
2777
|
]
|
|
2839
2778
|
},
|
|
2840
2779
|
{
|
|
2841
2780
|
"kind": "javascript-module",
|
|
2842
|
-
"path": "src/ai-
|
|
2781
|
+
"path": "src/ai-indicator/index.ts",
|
|
2843
2782
|
"declarations": [],
|
|
2844
2783
|
"exports": [
|
|
2845
2784
|
{
|
|
2846
2785
|
"kind": "js",
|
|
2847
|
-
"name": "
|
|
2848
|
-
"declaration": {
|
|
2849
|
-
"name": "AiCriteriaSearch",
|
|
2850
|
-
"module": "./ai-criteria-search"
|
|
2851
|
-
}
|
|
2852
|
-
},
|
|
2853
|
-
{
|
|
2854
|
-
"kind": "js",
|
|
2855
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2856
|
-
"declaration": {
|
|
2857
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2858
|
-
"module": "./ai-criteria-search"
|
|
2859
|
-
}
|
|
2860
|
-
},
|
|
2861
|
-
{
|
|
2862
|
-
"kind": "js",
|
|
2863
|
-
"name": "foundationAiCriteriaSearch",
|
|
2864
|
-
"declaration": {
|
|
2865
|
-
"name": "foundationAiCriteriaSearch",
|
|
2866
|
-
"module": "./ai-criteria-search"
|
|
2867
|
-
}
|
|
2868
|
-
},
|
|
2869
|
-
{
|
|
2870
|
-
"kind": "js",
|
|
2871
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2872
|
-
"declaration": {
|
|
2873
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2874
|
-
"module": "./ai-criteria-search"
|
|
2875
|
-
}
|
|
2876
|
-
},
|
|
2877
|
-
{
|
|
2878
|
-
"kind": "js",
|
|
2879
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2880
|
-
"declaration": {
|
|
2881
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2882
|
-
"module": "./ai-criteria-search.styles"
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
|
-
{
|
|
2886
|
-
"kind": "js",
|
|
2887
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2786
|
+
"name": "AiIndicator",
|
|
2888
2787
|
"declaration": {
|
|
2889
|
-
"name": "
|
|
2890
|
-
"module": "./ai-
|
|
2788
|
+
"name": "AiIndicator",
|
|
2789
|
+
"module": "./ai-indicator"
|
|
2891
2790
|
}
|
|
2892
2791
|
},
|
|
2893
2792
|
{
|
|
2894
2793
|
"kind": "js",
|
|
2895
|
-
"name": "
|
|
2794
|
+
"name": "foundationAiIndicator",
|
|
2896
2795
|
"declaration": {
|
|
2897
|
-
"name": "
|
|
2898
|
-
"
|
|
2796
|
+
"name": "foundationAiIndicator",
|
|
2797
|
+
"module": "./ai-indicator"
|
|
2899
2798
|
}
|
|
2900
2799
|
},
|
|
2901
2800
|
{
|
|
2902
2801
|
"kind": "js",
|
|
2903
|
-
"name": "
|
|
2802
|
+
"name": "type",
|
|
2904
2803
|
"declaration": {
|
|
2905
|
-
"name": "
|
|
2906
|
-
"
|
|
2804
|
+
"name": "type",
|
|
2805
|
+
"module": "./ai-indicator"
|
|
2907
2806
|
}
|
|
2908
2807
|
},
|
|
2909
2808
|
{
|
|
2910
2809
|
"kind": "js",
|
|
2911
|
-
"name": "
|
|
2810
|
+
"name": "AIIndicatorState",
|
|
2912
2811
|
"declaration": {
|
|
2913
|
-
"name": "
|
|
2914
|
-
"
|
|
2812
|
+
"name": "AIIndicatorState",
|
|
2813
|
+
"module": "./ai-indicator"
|
|
2915
2814
|
}
|
|
2916
|
-
}
|
|
2917
|
-
]
|
|
2918
|
-
},
|
|
2919
|
-
{
|
|
2920
|
-
"kind": "javascript-module",
|
|
2921
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2922
|
-
"declarations": [
|
|
2923
|
-
{
|
|
2924
|
-
"kind": "function",
|
|
2925
|
-
"name": "formatValidationErrors",
|
|
2926
|
-
"return": {
|
|
2927
|
-
"type": {
|
|
2928
|
-
"text": "string"
|
|
2929
|
-
}
|
|
2930
|
-
},
|
|
2931
|
-
"parameters": [
|
|
2932
|
-
{
|
|
2933
|
-
"name": "errors",
|
|
2934
|
-
"type": {
|
|
2935
|
-
"text": "ValidationError[]"
|
|
2936
|
-
}
|
|
2937
|
-
}
|
|
2938
|
-
],
|
|
2939
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2940
2815
|
},
|
|
2941
|
-
{
|
|
2942
|
-
"kind": "function",
|
|
2943
|
-
"name": "showCriteriaError",
|
|
2944
|
-
"return": {
|
|
2945
|
-
"type": {
|
|
2946
|
-
"text": "void"
|
|
2947
|
-
}
|
|
2948
|
-
},
|
|
2949
|
-
"parameters": [
|
|
2950
|
-
{
|
|
2951
|
-
"name": "title",
|
|
2952
|
-
"type": {
|
|
2953
|
-
"text": "string"
|
|
2954
|
-
},
|
|
2955
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2956
|
-
},
|
|
2957
|
-
{
|
|
2958
|
-
"name": "body",
|
|
2959
|
-
"type": {
|
|
2960
|
-
"text": "string"
|
|
2961
|
-
},
|
|
2962
|
-
"description": "Error message to display"
|
|
2963
|
-
},
|
|
2964
|
-
{
|
|
2965
|
-
"name": "tagName",
|
|
2966
|
-
"type": {
|
|
2967
|
-
"text": "string"
|
|
2968
|
-
},
|
|
2969
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2970
|
-
}
|
|
2971
|
-
],
|
|
2972
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2973
|
-
}
|
|
2974
|
-
],
|
|
2975
|
-
"exports": [
|
|
2976
2816
|
{
|
|
2977
2817
|
"kind": "js",
|
|
2978
|
-
"name": "
|
|
2818
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2979
2819
|
"declaration": {
|
|
2980
|
-
"name": "
|
|
2981
|
-
"module": "
|
|
2820
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2821
|
+
"module": "./ai-indicator.template"
|
|
2982
2822
|
}
|
|
2983
2823
|
},
|
|
2984
2824
|
{
|
|
2985
2825
|
"kind": "js",
|
|
2986
|
-
"name": "
|
|
2826
|
+
"name": "foundationAiIndicatorStyles",
|
|
2987
2827
|
"declaration": {
|
|
2988
|
-
"name": "
|
|
2989
|
-
"module": "
|
|
2828
|
+
"name": "foundationAiIndicatorStyles",
|
|
2829
|
+
"module": "./ai-indicator.styles"
|
|
2990
2830
|
}
|
|
2991
2831
|
}
|
|
2992
2832
|
]
|
|
2993
2833
|
},
|
|
2994
2834
|
{
|
|
2995
2835
|
"kind": "javascript-module",
|
|
2996
|
-
"path": "src/ai-
|
|
2836
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2997
2837
|
"declarations": [
|
|
2998
2838
|
{
|
|
2999
|
-
"kind": "
|
|
3000
|
-
"name": "
|
|
3001
|
-
"
|
|
3002
|
-
"type": {
|
|
3003
|
-
"text": "ElementStyles"
|
|
3004
|
-
}
|
|
3005
|
-
},
|
|
3006
|
-
"parameters": [
|
|
3007
|
-
{
|
|
3008
|
-
"name": "context",
|
|
3009
|
-
"type": {
|
|
3010
|
-
"text": "ElementDefinitionContext"
|
|
3011
|
-
}
|
|
3012
|
-
},
|
|
3013
|
-
{
|
|
3014
|
-
"name": "definition",
|
|
3015
|
-
"type": {
|
|
3016
|
-
"text": "FoundationElementDefinition"
|
|
3017
|
-
}
|
|
3018
|
-
}
|
|
3019
|
-
]
|
|
2839
|
+
"kind": "variable",
|
|
2840
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2841
|
+
"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`"
|
|
3020
2842
|
}
|
|
3021
2843
|
],
|
|
3022
2844
|
"exports": [
|
|
3023
2845
|
{
|
|
3024
2846
|
"kind": "js",
|
|
3025
|
-
"name": "
|
|
2847
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3026
2848
|
"declaration": {
|
|
3027
|
-
"name": "
|
|
3028
|
-
"module": "src/ai-
|
|
2849
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2850
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3029
2851
|
}
|
|
3030
2852
|
}
|
|
3031
2853
|
]
|
|
3032
2854
|
},
|
|
3033
2855
|
{
|
|
3034
2856
|
"kind": "javascript-module",
|
|
3035
|
-
"path": "src/ai-
|
|
2857
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3036
2858
|
"declarations": [
|
|
3037
2859
|
{
|
|
3038
2860
|
"kind": "variable",
|
|
3039
|
-
"name": "
|
|
2861
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3040
2862
|
"type": {
|
|
3041
|
-
"text": "ViewTemplate<
|
|
2863
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3042
2864
|
},
|
|
3043
|
-
"default": "html`\n ${(x) =>
|
|
2865
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3044
2866
|
}
|
|
3045
2867
|
],
|
|
3046
2868
|
"exports": [
|
|
3047
2869
|
{
|
|
3048
2870
|
"kind": "js",
|
|
3049
|
-
"name": "
|
|
2871
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3050
2872
|
"declaration": {
|
|
3051
|
-
"name": "
|
|
3052
|
-
"module": "src/ai-
|
|
2873
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2874
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3053
2875
|
}
|
|
3054
2876
|
}
|
|
3055
2877
|
]
|
|
3056
2878
|
},
|
|
3057
2879
|
{
|
|
3058
2880
|
"kind": "javascript-module",
|
|
3059
|
-
"path": "src/ai-
|
|
2881
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3060
2882
|
"declarations": [
|
|
3061
2883
|
{
|
|
3062
2884
|
"kind": "class",
|
|
3063
|
-
"description": "",
|
|
3064
|
-
"name": "
|
|
2885
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2886
|
+
"name": "AiCriteriaSearch",
|
|
3065
2887
|
"members": [
|
|
3066
2888
|
{
|
|
3067
2889
|
"kind": "field",
|
|
@@ -3072,141 +2894,138 @@
|
|
|
3072
2894
|
},
|
|
3073
2895
|
{
|
|
3074
2896
|
"kind": "field",
|
|
3075
|
-
"name": "
|
|
2897
|
+
"name": "placeholder",
|
|
3076
2898
|
"type": {
|
|
3077
|
-
"text": "
|
|
2899
|
+
"text": "string"
|
|
3078
2900
|
},
|
|
3079
|
-
"
|
|
3080
|
-
"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.",
|
|
3081
|
-
"readonly": true
|
|
2901
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3082
2902
|
},
|
|
3083
2903
|
{
|
|
3084
2904
|
"kind": "field",
|
|
3085
|
-
"name": "
|
|
2905
|
+
"name": "disabled",
|
|
3086
2906
|
"type": {
|
|
3087
|
-
"text": "
|
|
3088
|
-
}
|
|
3089
|
-
"default": "null"
|
|
2907
|
+
"text": "boolean"
|
|
2908
|
+
}
|
|
3090
2909
|
},
|
|
3091
2910
|
{
|
|
3092
2911
|
"kind": "field",
|
|
3093
|
-
"name": "
|
|
2912
|
+
"name": "inputValue",
|
|
3094
2913
|
"type": {
|
|
3095
|
-
"text": "
|
|
2914
|
+
"text": "string"
|
|
3096
2915
|
},
|
|
3097
|
-
"default": "
|
|
2916
|
+
"default": "''"
|
|
3098
2917
|
},
|
|
3099
2918
|
{
|
|
3100
2919
|
"kind": "field",
|
|
3101
|
-
"name": "
|
|
2920
|
+
"name": "isInterpreting",
|
|
3102
2921
|
"type": {
|
|
3103
|
-
"text": "
|
|
2922
|
+
"text": "boolean"
|
|
3104
2923
|
},
|
|
3105
|
-
"default": "
|
|
2924
|
+
"default": "false"
|
|
3106
2925
|
},
|
|
3107
2926
|
{
|
|
3108
2927
|
"kind": "field",
|
|
3109
|
-
"name": "
|
|
2928
|
+
"name": "lastValidCriteria",
|
|
3110
2929
|
"type": {
|
|
3111
|
-
"text": "
|
|
2930
|
+
"text": "string | null"
|
|
3112
2931
|
},
|
|
3113
|
-
"default": "
|
|
2932
|
+
"default": "null"
|
|
3114
2933
|
},
|
|
3115
2934
|
{
|
|
3116
2935
|
"kind": "field",
|
|
3117
|
-
"name": "
|
|
2936
|
+
"name": "activeGroups",
|
|
3118
2937
|
"type": {
|
|
3119
|
-
"text": "
|
|
2938
|
+
"text": "CriteriaGroup[]"
|
|
3120
2939
|
},
|
|
3121
|
-
"
|
|
3122
|
-
"default": "null"
|
|
2940
|
+
"default": "[]"
|
|
3123
2941
|
},
|
|
3124
2942
|
{
|
|
3125
2943
|
"kind": "field",
|
|
3126
|
-
"name": "
|
|
3127
|
-
"
|
|
2944
|
+
"name": "showingChips",
|
|
2945
|
+
"type": {
|
|
2946
|
+
"text": "boolean"
|
|
2947
|
+
},
|
|
2948
|
+
"default": "false"
|
|
3128
2949
|
},
|
|
3129
2950
|
{
|
|
3130
2951
|
"kind": "field",
|
|
3131
|
-
"name": "
|
|
2952
|
+
"name": "fieldMetadata",
|
|
3132
2953
|
"type": {
|
|
3133
|
-
"text": "
|
|
2954
|
+
"text": "MetadataDetail[] | string[]"
|
|
3134
2955
|
},
|
|
3135
|
-
"
|
|
2956
|
+
"default": "[]"
|
|
3136
2957
|
},
|
|
3137
2958
|
{
|
|
3138
2959
|
"kind": "field",
|
|
3139
|
-
"name": "
|
|
2960
|
+
"name": "isRecording",
|
|
3140
2961
|
"type": {
|
|
3141
2962
|
"text": "boolean"
|
|
3142
2963
|
},
|
|
3143
|
-
"
|
|
2964
|
+
"default": "false"
|
|
3144
2965
|
},
|
|
3145
2966
|
{
|
|
3146
2967
|
"kind": "field",
|
|
3147
|
-
"name": "
|
|
2968
|
+
"name": "textAreaRef",
|
|
3148
2969
|
"type": {
|
|
3149
|
-
"text": "
|
|
2970
|
+
"text": "HTMLTextAreaElement"
|
|
3150
2971
|
},
|
|
3151
|
-
"
|
|
2972
|
+
"privacy": "public"
|
|
3152
2973
|
},
|
|
3153
2974
|
{
|
|
3154
|
-
"kind": "
|
|
3155
|
-
"name": "
|
|
3156
|
-
"
|
|
3157
|
-
"
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
2975
|
+
"kind": "field",
|
|
2976
|
+
"name": "stopRecording",
|
|
2977
|
+
"type": {
|
|
2978
|
+
"text": "(() => void) | null"
|
|
2979
|
+
},
|
|
2980
|
+
"privacy": "private",
|
|
2981
|
+
"default": "null"
|
|
3161
2982
|
},
|
|
3162
2983
|
{
|
|
3163
|
-
"kind": "
|
|
3164
|
-
"name": "
|
|
2984
|
+
"kind": "field",
|
|
2985
|
+
"name": "speechApplyDebounceTimer",
|
|
2986
|
+
"type": {
|
|
2987
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2988
|
+
},
|
|
3165
2989
|
"privacy": "private",
|
|
3166
|
-
"
|
|
3167
|
-
{
|
|
3168
|
-
"name": "event",
|
|
3169
|
-
"type": {
|
|
3170
|
-
"text": "MouseEvent"
|
|
3171
|
-
}
|
|
3172
|
-
}
|
|
3173
|
-
]
|
|
2990
|
+
"default": "null"
|
|
3174
2991
|
},
|
|
3175
2992
|
{
|
|
3176
|
-
"kind": "
|
|
3177
|
-
"name": "
|
|
2993
|
+
"kind": "field",
|
|
2994
|
+
"name": "speechAvailable",
|
|
2995
|
+
"type": {
|
|
2996
|
+
"text": "boolean"
|
|
2997
|
+
},
|
|
2998
|
+
"readonly": true
|
|
3178
2999
|
},
|
|
3179
3000
|
{
|
|
3180
|
-
"kind": "
|
|
3181
|
-
"name": "
|
|
3182
|
-
"
|
|
3183
|
-
"
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
}
|
|
3001
|
+
"kind": "field",
|
|
3002
|
+
"name": "criteriaChips",
|
|
3003
|
+
"type": {
|
|
3004
|
+
"text": "CriteriaChip[]"
|
|
3005
|
+
},
|
|
3006
|
+
"readonly": true
|
|
3187
3007
|
},
|
|
3188
3008
|
{
|
|
3189
3009
|
"kind": "method",
|
|
3190
|
-
"name": "
|
|
3010
|
+
"name": "getFieldLabel",
|
|
3191
3011
|
"privacy": "private",
|
|
3192
3012
|
"return": {
|
|
3193
3013
|
"type": {
|
|
3194
|
-
"text": "
|
|
3014
|
+
"text": "string"
|
|
3195
3015
|
}
|
|
3196
3016
|
},
|
|
3197
3017
|
"parameters": [
|
|
3198
3018
|
{
|
|
3199
|
-
"name": "
|
|
3019
|
+
"name": "fieldName",
|
|
3200
3020
|
"type": {
|
|
3201
|
-
"text": "
|
|
3021
|
+
"text": "string"
|
|
3202
3022
|
}
|
|
3203
3023
|
}
|
|
3204
3024
|
]
|
|
3205
3025
|
},
|
|
3206
3026
|
{
|
|
3207
3027
|
"kind": "method",
|
|
3208
|
-
"name": "
|
|
3209
|
-
"privacy": "private",
|
|
3028
|
+
"name": "toggleCriteriaView",
|
|
3210
3029
|
"return": {
|
|
3211
3030
|
"type": {
|
|
3212
3031
|
"text": "void"
|
|
@@ -3215,18 +3034,30 @@
|
|
|
3215
3034
|
},
|
|
3216
3035
|
{
|
|
3217
3036
|
"kind": "method",
|
|
3218
|
-
"name": "
|
|
3219
|
-
"privacy": "private",
|
|
3037
|
+
"name": "removeChip",
|
|
3220
3038
|
"return": {
|
|
3221
3039
|
"type": {
|
|
3222
3040
|
"text": "void"
|
|
3223
3041
|
}
|
|
3224
|
-
}
|
|
3042
|
+
},
|
|
3043
|
+
"parameters": [
|
|
3044
|
+
{
|
|
3045
|
+
"name": "groupIndex",
|
|
3046
|
+
"type": {
|
|
3047
|
+
"text": "number"
|
|
3048
|
+
}
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
"name": "clauseIndex",
|
|
3052
|
+
"type": {
|
|
3053
|
+
"text": "number"
|
|
3054
|
+
}
|
|
3055
|
+
}
|
|
3056
|
+
]
|
|
3225
3057
|
},
|
|
3226
3058
|
{
|
|
3227
3059
|
"kind": "method",
|
|
3228
|
-
"name": "
|
|
3229
|
-
"privacy": "private",
|
|
3060
|
+
"name": "clearChips",
|
|
3230
3061
|
"return": {
|
|
3231
3062
|
"type": {
|
|
3232
3063
|
"text": "void"
|
|
@@ -3235,12 +3066,24 @@
|
|
|
3235
3066
|
},
|
|
3236
3067
|
{
|
|
3237
3068
|
"kind": "method",
|
|
3238
|
-
"name": "
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3069
|
+
"name": "handleSubmit"
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"kind": "method",
|
|
3073
|
+
"name": "handleBlur"
|
|
3074
|
+
},
|
|
3075
|
+
{
|
|
3076
|
+
"kind": "method",
|
|
3077
|
+
"name": "clear"
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"kind": "method",
|
|
3081
|
+
"name": "toggleSpeechInput"
|
|
3082
|
+
},
|
|
3083
|
+
{
|
|
3084
|
+
"kind": "method",
|
|
3085
|
+
"name": "clearSpeechApplyDebounce",
|
|
3086
|
+
"privacy": "private"
|
|
3244
3087
|
},
|
|
3245
3088
|
{
|
|
3246
3089
|
"kind": "field",
|
|
@@ -3354,88 +3197,245 @@
|
|
|
3354
3197
|
}
|
|
3355
3198
|
}
|
|
3356
3199
|
],
|
|
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
|
+
],
|
|
3357
3226
|
"superclass": {
|
|
3358
3227
|
"name": "FoundationElement",
|
|
3359
3228
|
"package": "@microsoft/fast-foundation"
|
|
3360
3229
|
},
|
|
3361
|
-
"tagName": "%%prefix%%-ai-
|
|
3230
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3362
3231
|
"customElement": true
|
|
3363
3232
|
},
|
|
3364
3233
|
{
|
|
3365
3234
|
"kind": "variable",
|
|
3366
|
-
"name": "
|
|
3235
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
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"
|
|
3367
3252
|
}
|
|
3368
3253
|
],
|
|
3369
3254
|
"exports": [
|
|
3370
3255
|
{
|
|
3371
3256
|
"kind": "js",
|
|
3372
|
-
"name": "
|
|
3257
|
+
"name": "AiCriteriaSearch",
|
|
3373
3258
|
"declaration": {
|
|
3374
|
-
"name": "
|
|
3375
|
-
"module": "src/ai-
|
|
3259
|
+
"name": "AiCriteriaSearch",
|
|
3260
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3376
3261
|
}
|
|
3377
3262
|
},
|
|
3378
3263
|
{
|
|
3379
3264
|
"kind": "js",
|
|
3380
|
-
"name": "
|
|
3265
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3381
3266
|
"declaration": {
|
|
3382
|
-
"name": "
|
|
3383
|
-
"module": "src/ai-
|
|
3267
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3268
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3269
|
+
}
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"kind": "js",
|
|
3273
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3274
|
+
"declaration": {
|
|
3275
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3276
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3277
|
+
}
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
"kind": "js",
|
|
3281
|
+
"name": "foundationAiCriteriaSearch",
|
|
3282
|
+
"declaration": {
|
|
3283
|
+
"name": "foundationAiCriteriaSearch",
|
|
3284
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3384
3285
|
}
|
|
3385
3286
|
}
|
|
3386
3287
|
]
|
|
3387
3288
|
},
|
|
3388
3289
|
{
|
|
3389
3290
|
"kind": "javascript-module",
|
|
3390
|
-
"path": "src/ai-
|
|
3291
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3391
3292
|
"declarations": [],
|
|
3392
3293
|
"exports": [
|
|
3393
3294
|
{
|
|
3394
3295
|
"kind": "js",
|
|
3395
|
-
"name": "
|
|
3296
|
+
"name": "AiCriteriaSearch",
|
|
3396
3297
|
"declaration": {
|
|
3397
|
-
"name": "
|
|
3398
|
-
"module": "./ai-
|
|
3298
|
+
"name": "AiCriteriaSearch",
|
|
3299
|
+
"module": "./ai-criteria-search"
|
|
3399
3300
|
}
|
|
3400
3301
|
},
|
|
3401
3302
|
{
|
|
3402
3303
|
"kind": "js",
|
|
3403
|
-
"name": "
|
|
3304
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3404
3305
|
"declaration": {
|
|
3405
|
-
"name": "
|
|
3406
|
-
"module": "./ai-
|
|
3306
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3307
|
+
"module": "./ai-criteria-search"
|
|
3407
3308
|
}
|
|
3408
3309
|
},
|
|
3409
3310
|
{
|
|
3410
3311
|
"kind": "js",
|
|
3411
|
-
"name": "
|
|
3312
|
+
"name": "foundationAiCriteriaSearch",
|
|
3412
3313
|
"declaration": {
|
|
3413
|
-
"name": "
|
|
3414
|
-
"module": "./ai-
|
|
3314
|
+
"name": "foundationAiCriteriaSearch",
|
|
3315
|
+
"module": "./ai-criteria-search"
|
|
3415
3316
|
}
|
|
3416
3317
|
},
|
|
3417
3318
|
{
|
|
3418
3319
|
"kind": "js",
|
|
3419
|
-
"name": "
|
|
3320
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3420
3321
|
"declaration": {
|
|
3421
|
-
"name": "
|
|
3422
|
-
"module": "./ai-
|
|
3322
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3323
|
+
"module": "./ai-criteria-search"
|
|
3324
|
+
}
|
|
3325
|
+
},
|
|
3326
|
+
{
|
|
3327
|
+
"kind": "js",
|
|
3328
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3329
|
+
"declaration": {
|
|
3330
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3331
|
+
"module": "./ai-criteria-search.styles"
|
|
3332
|
+
}
|
|
3333
|
+
},
|
|
3334
|
+
{
|
|
3335
|
+
"kind": "js",
|
|
3336
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3337
|
+
"declaration": {
|
|
3338
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3339
|
+
"module": "./ai-criteria-search.template"
|
|
3340
|
+
}
|
|
3341
|
+
},
|
|
3342
|
+
{
|
|
3343
|
+
"kind": "js",
|
|
3344
|
+
"name": "*",
|
|
3345
|
+
"declaration": {
|
|
3346
|
+
"name": "*",
|
|
3347
|
+
"package": "./validation/criteria-ir"
|
|
3348
|
+
}
|
|
3349
|
+
},
|
|
3350
|
+
{
|
|
3351
|
+
"kind": "js",
|
|
3352
|
+
"name": "*",
|
|
3353
|
+
"declaration": {
|
|
3354
|
+
"name": "*",
|
|
3355
|
+
"package": "./validation/operator-map"
|
|
3356
|
+
}
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
"kind": "js",
|
|
3360
|
+
"name": "*",
|
|
3361
|
+
"declaration": {
|
|
3362
|
+
"name": "*",
|
|
3363
|
+
"package": "./validation/schema-validator"
|
|
3423
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."
|
|
3424
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
3425
|
{
|
|
3426
3426
|
"kind": "js",
|
|
3427
|
-
"name": "
|
|
3427
|
+
"name": "formatValidationErrors",
|
|
3428
3428
|
"declaration": {
|
|
3429
|
-
"name": "
|
|
3430
|
-
"module": "
|
|
3429
|
+
"name": "formatValidationErrors",
|
|
3430
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3431
3431
|
}
|
|
3432
3432
|
},
|
|
3433
3433
|
{
|
|
3434
3434
|
"kind": "js",
|
|
3435
|
-
"name": "
|
|
3435
|
+
"name": "showCriteriaError",
|
|
3436
3436
|
"declaration": {
|
|
3437
|
-
"name": "
|
|
3438
|
-
"module": "
|
|
3437
|
+
"name": "showCriteriaError",
|
|
3438
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3439
3439
|
}
|
|
3440
3440
|
}
|
|
3441
3441
|
]
|
|
@@ -14945,10 +14945,7 @@
|
|
|
14945
14945
|
{
|
|
14946
14946
|
"kind": "field",
|
|
14947
14947
|
"name": "format",
|
|
14948
|
-
"
|
|
14949
|
-
"text": "string"
|
|
14950
|
-
},
|
|
14951
|
-
"default": "'MM-DD-YYYY'",
|
|
14948
|
+
"default": "DATE_PICKER_VALUE_FORMAT",
|
|
14952
14949
|
"attribute": "format"
|
|
14953
14950
|
},
|
|
14954
14951
|
{
|
|
@@ -14977,6 +14974,37 @@
|
|
|
14977
14974
|
},
|
|
14978
14975
|
"default": "'en-US'"
|
|
14979
14976
|
},
|
|
14977
|
+
{
|
|
14978
|
+
"kind": "method",
|
|
14979
|
+
"name": "langChanged"
|
|
14980
|
+
},
|
|
14981
|
+
{
|
|
14982
|
+
"kind": "field",
|
|
14983
|
+
"name": "useLocaleFormat",
|
|
14984
|
+
"type": {
|
|
14985
|
+
"text": "boolean"
|
|
14986
|
+
},
|
|
14987
|
+
"default": "false",
|
|
14988
|
+
"attribute": "use-locale-format"
|
|
14989
|
+
},
|
|
14990
|
+
{
|
|
14991
|
+
"kind": "method",
|
|
14992
|
+
"name": "useLocaleFormatChanged",
|
|
14993
|
+
"parameters": [
|
|
14994
|
+
{
|
|
14995
|
+
"name": "oldValue",
|
|
14996
|
+
"type": {
|
|
14997
|
+
"text": "boolean"
|
|
14998
|
+
}
|
|
14999
|
+
},
|
|
15000
|
+
{
|
|
15001
|
+
"name": "newValue",
|
|
15002
|
+
"type": {
|
|
15003
|
+
"text": "boolean"
|
|
15004
|
+
}
|
|
15005
|
+
}
|
|
15006
|
+
]
|
|
15007
|
+
},
|
|
14980
15008
|
{
|
|
14981
15009
|
"kind": "field",
|
|
14982
15010
|
"name": "visible",
|
|
@@ -15028,6 +15056,23 @@
|
|
|
15028
15056
|
},
|
|
15029
15057
|
"attribute": "label"
|
|
15030
15058
|
},
|
|
15059
|
+
{
|
|
15060
|
+
"kind": "field",
|
|
15061
|
+
"name": "allowEmpty",
|
|
15062
|
+
"type": {
|
|
15063
|
+
"text": "boolean"
|
|
15064
|
+
},
|
|
15065
|
+
"default": "false",
|
|
15066
|
+
"attribute": "allow-empty"
|
|
15067
|
+
},
|
|
15068
|
+
{
|
|
15069
|
+
"kind": "field",
|
|
15070
|
+
"name": "placeholder",
|
|
15071
|
+
"type": {
|
|
15072
|
+
"text": "string"
|
|
15073
|
+
},
|
|
15074
|
+
"attribute": "placeholder"
|
|
15075
|
+
},
|
|
15031
15076
|
{
|
|
15032
15077
|
"kind": "field",
|
|
15033
15078
|
"name": "value",
|
|
@@ -15041,45 +15086,291 @@
|
|
|
15041
15086
|
"name": "valueChanged",
|
|
15042
15087
|
"parameters": [
|
|
15043
15088
|
{
|
|
15044
|
-
"name": "oldValue",
|
|
15089
|
+
"name": "oldValue",
|
|
15090
|
+
"type": {
|
|
15091
|
+
"text": "string"
|
|
15092
|
+
}
|
|
15093
|
+
},
|
|
15094
|
+
{
|
|
15095
|
+
"name": "newValue",
|
|
15096
|
+
"type": {
|
|
15097
|
+
"text": "string"
|
|
15098
|
+
}
|
|
15099
|
+
}
|
|
15100
|
+
]
|
|
15101
|
+
},
|
|
15102
|
+
{
|
|
15103
|
+
"kind": "field",
|
|
15104
|
+
"name": "disabledDaysOfWeek",
|
|
15105
|
+
"type": {
|
|
15106
|
+
"text": "number[]"
|
|
15107
|
+
},
|
|
15108
|
+
"default": "[]",
|
|
15109
|
+
"privacy": "public"
|
|
15110
|
+
},
|
|
15111
|
+
{
|
|
15112
|
+
"kind": "field",
|
|
15113
|
+
"name": "calendar",
|
|
15114
|
+
"type": {
|
|
15115
|
+
"text": "Calendar"
|
|
15116
|
+
}
|
|
15117
|
+
},
|
|
15118
|
+
{
|
|
15119
|
+
"kind": "field",
|
|
15120
|
+
"name": "substringNumber",
|
|
15121
|
+
"type": {
|
|
15122
|
+
"text": "number"
|
|
15123
|
+
}
|
|
15124
|
+
},
|
|
15125
|
+
{
|
|
15126
|
+
"kind": "field",
|
|
15127
|
+
"name": "suppressValueChanged",
|
|
15128
|
+
"type": {
|
|
15129
|
+
"text": "boolean"
|
|
15130
|
+
},
|
|
15131
|
+
"privacy": "private",
|
|
15132
|
+
"default": "false"
|
|
15133
|
+
},
|
|
15134
|
+
{
|
|
15135
|
+
"kind": "field",
|
|
15136
|
+
"name": "cachedFormat",
|
|
15137
|
+
"privacy": "private",
|
|
15138
|
+
"default": "DATE_PICKER_VALUE_FORMAT"
|
|
15139
|
+
},
|
|
15140
|
+
{
|
|
15141
|
+
"kind": "method",
|
|
15142
|
+
"name": "clear",
|
|
15143
|
+
"privacy": "public",
|
|
15144
|
+
"return": {
|
|
15145
|
+
"type": {
|
|
15146
|
+
"text": "void"
|
|
15147
|
+
}
|
|
15148
|
+
},
|
|
15149
|
+
"description": "Clears the selected date (only when `allow-empty` is enabled)."
|
|
15150
|
+
},
|
|
15151
|
+
{
|
|
15152
|
+
"kind": "method",
|
|
15153
|
+
"name": "applyLocaleFormat",
|
|
15154
|
+
"privacy": "private",
|
|
15155
|
+
"return": {
|
|
15156
|
+
"type": {
|
|
15157
|
+
"text": "void"
|
|
15158
|
+
}
|
|
15159
|
+
}
|
|
15160
|
+
},
|
|
15161
|
+
{
|
|
15162
|
+
"kind": "method",
|
|
15163
|
+
"name": "cacheUserFormat",
|
|
15164
|
+
"privacy": "private",
|
|
15165
|
+
"return": {
|
|
15166
|
+
"type": {
|
|
15167
|
+
"text": "void"
|
|
15168
|
+
}
|
|
15169
|
+
},
|
|
15170
|
+
"parameters": [
|
|
15171
|
+
{
|
|
15172
|
+
"name": "format",
|
|
15173
|
+
"type": {
|
|
15174
|
+
"text": "string"
|
|
15175
|
+
}
|
|
15176
|
+
}
|
|
15177
|
+
]
|
|
15178
|
+
},
|
|
15179
|
+
{
|
|
15180
|
+
"kind": "method",
|
|
15181
|
+
"name": "restoreUserFormat",
|
|
15182
|
+
"privacy": "private",
|
|
15183
|
+
"return": {
|
|
15184
|
+
"type": {
|
|
15185
|
+
"text": "void"
|
|
15186
|
+
}
|
|
15187
|
+
}
|
|
15188
|
+
},
|
|
15189
|
+
{
|
|
15190
|
+
"kind": "method",
|
|
15191
|
+
"name": "applyEffectiveLangChange",
|
|
15192
|
+
"privacy": "private",
|
|
15193
|
+
"return": {
|
|
15194
|
+
"type": {
|
|
15195
|
+
"text": "void"
|
|
15196
|
+
}
|
|
15197
|
+
}
|
|
15198
|
+
},
|
|
15199
|
+
{
|
|
15200
|
+
"kind": "method",
|
|
15201
|
+
"name": "syncValueAttribute",
|
|
15202
|
+
"privacy": "private",
|
|
15203
|
+
"return": {
|
|
15204
|
+
"type": {
|
|
15205
|
+
"text": "void"
|
|
15206
|
+
}
|
|
15207
|
+
},
|
|
15208
|
+
"parameters": [
|
|
15209
|
+
{
|
|
15210
|
+
"name": "value",
|
|
15211
|
+
"type": {
|
|
15212
|
+
"text": "string"
|
|
15213
|
+
}
|
|
15214
|
+
}
|
|
15215
|
+
]
|
|
15216
|
+
},
|
|
15217
|
+
{
|
|
15218
|
+
"kind": "method",
|
|
15219
|
+
"name": "initializeEmpty",
|
|
15220
|
+
"privacy": "private",
|
|
15221
|
+
"return": {
|
|
15222
|
+
"type": {
|
|
15223
|
+
"text": "void"
|
|
15224
|
+
}
|
|
15225
|
+
}
|
|
15226
|
+
},
|
|
15227
|
+
{
|
|
15228
|
+
"kind": "method",
|
|
15229
|
+
"name": "initializeWithDefaultDate",
|
|
15230
|
+
"privacy": "private",
|
|
15231
|
+
"return": {
|
|
15232
|
+
"type": {
|
|
15233
|
+
"text": "void"
|
|
15234
|
+
}
|
|
15235
|
+
}
|
|
15236
|
+
},
|
|
15237
|
+
{
|
|
15238
|
+
"kind": "method",
|
|
15239
|
+
"name": "resetToDefaultDate",
|
|
15240
|
+
"privacy": "private",
|
|
15241
|
+
"return": {
|
|
15242
|
+
"type": {
|
|
15243
|
+
"text": "void"
|
|
15244
|
+
}
|
|
15245
|
+
},
|
|
15246
|
+
"parameters": [
|
|
15247
|
+
{
|
|
15248
|
+
"name": "createCalendar",
|
|
15249
|
+
"default": "false"
|
|
15250
|
+
}
|
|
15251
|
+
]
|
|
15252
|
+
},
|
|
15253
|
+
{
|
|
15254
|
+
"kind": "method",
|
|
15255
|
+
"name": "applyValue",
|
|
15256
|
+
"privacy": "private",
|
|
15257
|
+
"return": {
|
|
15258
|
+
"type": {
|
|
15259
|
+
"text": "void"
|
|
15260
|
+
}
|
|
15261
|
+
},
|
|
15262
|
+
"parameters": [
|
|
15263
|
+
{
|
|
15264
|
+
"name": "dateString",
|
|
15265
|
+
"type": {
|
|
15266
|
+
"text": "string"
|
|
15267
|
+
}
|
|
15268
|
+
}
|
|
15269
|
+
]
|
|
15270
|
+
},
|
|
15271
|
+
{
|
|
15272
|
+
"kind": "method",
|
|
15273
|
+
"name": "clearToEmpty",
|
|
15274
|
+
"privacy": "private",
|
|
15275
|
+
"return": {
|
|
15276
|
+
"type": {
|
|
15277
|
+
"text": "void"
|
|
15278
|
+
}
|
|
15279
|
+
},
|
|
15280
|
+
"parameters": [
|
|
15281
|
+
{
|
|
15282
|
+
"name": "emitEvent",
|
|
15283
|
+
"type": {
|
|
15284
|
+
"text": "boolean"
|
|
15285
|
+
},
|
|
15286
|
+
"description": "emit `value-changed` for user-driven clears (public `clear()`); skip for\nhost-driven attribute writes since the host is the source of the change."
|
|
15287
|
+
}
|
|
15288
|
+
],
|
|
15289
|
+
"description": "Resets to the empty/cleared view."
|
|
15290
|
+
},
|
|
15291
|
+
{
|
|
15292
|
+
"kind": "method",
|
|
15293
|
+
"name": "updateHeaderText",
|
|
15294
|
+
"return": {
|
|
15295
|
+
"type": {
|
|
15296
|
+
"text": "void"
|
|
15297
|
+
}
|
|
15298
|
+
}
|
|
15299
|
+
},
|
|
15300
|
+
{
|
|
15301
|
+
"kind": "method",
|
|
15302
|
+
"name": "visibleChanged",
|
|
15303
|
+
"privacy": "protected",
|
|
15304
|
+
"return": {
|
|
15305
|
+
"type": {
|
|
15306
|
+
"text": "void"
|
|
15307
|
+
}
|
|
15308
|
+
},
|
|
15309
|
+
"parameters": [
|
|
15310
|
+
{
|
|
15311
|
+
"name": "_prev",
|
|
15045
15312
|
"type": {
|
|
15046
|
-
"text": "
|
|
15313
|
+
"text": "boolean"
|
|
15047
15314
|
}
|
|
15048
15315
|
},
|
|
15049
15316
|
{
|
|
15050
|
-
"name": "
|
|
15317
|
+
"name": "next",
|
|
15051
15318
|
"type": {
|
|
15052
|
-
"text": "
|
|
15319
|
+
"text": "boolean"
|
|
15053
15320
|
}
|
|
15054
15321
|
}
|
|
15055
15322
|
]
|
|
15056
15323
|
},
|
|
15057
15324
|
{
|
|
15058
15325
|
"kind": "field",
|
|
15059
|
-
"name": "
|
|
15060
|
-
"
|
|
15061
|
-
"text": "number[]"
|
|
15062
|
-
},
|
|
15063
|
-
"default": "[]",
|
|
15064
|
-
"privacy": "public"
|
|
15326
|
+
"name": "clickOutside",
|
|
15327
|
+
"privacy": "private"
|
|
15065
15328
|
},
|
|
15066
15329
|
{
|
|
15067
15330
|
"kind": "field",
|
|
15068
|
-
"name": "
|
|
15069
|
-
"
|
|
15070
|
-
"text": "Calendar"
|
|
15071
|
-
}
|
|
15331
|
+
"name": "keydownOutside",
|
|
15332
|
+
"privacy": "private"
|
|
15072
15333
|
},
|
|
15073
15334
|
{
|
|
15074
|
-
"kind": "
|
|
15075
|
-
"name": "
|
|
15076
|
-
"
|
|
15077
|
-
|
|
15078
|
-
|
|
15335
|
+
"kind": "method",
|
|
15336
|
+
"name": "handleKeydownOutside",
|
|
15337
|
+
"privacy": "private",
|
|
15338
|
+
"return": {
|
|
15339
|
+
"type": {
|
|
15340
|
+
"text": "void"
|
|
15341
|
+
}
|
|
15342
|
+
},
|
|
15343
|
+
"parameters": [
|
|
15344
|
+
{
|
|
15345
|
+
"name": "event",
|
|
15346
|
+
"type": {
|
|
15347
|
+
"text": "KeyboardEvent"
|
|
15348
|
+
}
|
|
15349
|
+
}
|
|
15350
|
+
]
|
|
15079
15351
|
},
|
|
15080
15352
|
{
|
|
15081
15353
|
"kind": "method",
|
|
15082
|
-
"name": "
|
|
15354
|
+
"name": "handleClickOutside",
|
|
15355
|
+
"privacy": "private",
|
|
15356
|
+
"return": {
|
|
15357
|
+
"type": {
|
|
15358
|
+
"text": "void"
|
|
15359
|
+
}
|
|
15360
|
+
},
|
|
15361
|
+
"parameters": [
|
|
15362
|
+
{
|
|
15363
|
+
"name": "event",
|
|
15364
|
+
"type": {
|
|
15365
|
+
"text": "MouseEvent"
|
|
15366
|
+
}
|
|
15367
|
+
}
|
|
15368
|
+
]
|
|
15369
|
+
},
|
|
15370
|
+
{
|
|
15371
|
+
"kind": "method",
|
|
15372
|
+
"name": "closeCalendar",
|
|
15373
|
+
"privacy": "private",
|
|
15083
15374
|
"return": {
|
|
15084
15375
|
"type": {
|
|
15085
15376
|
"text": "void"
|
|
@@ -15289,13 +15580,22 @@
|
|
|
15289
15580
|
"attributes": [
|
|
15290
15581
|
{
|
|
15291
15582
|
"name": "format",
|
|
15292
|
-
"
|
|
15293
|
-
|
|
15583
|
+
"default": "DATE_PICKER_VALUE_FORMAT",
|
|
15584
|
+
"resolveInitializer": {
|
|
15585
|
+
"module": "/src/date-picker/date-picker.util"
|
|
15294
15586
|
},
|
|
15295
|
-
"default": "'MM-DD-YYYY'",
|
|
15296
15587
|
"fieldName": "format",
|
|
15297
15588
|
"description": "date format that will be displayed."
|
|
15298
15589
|
},
|
|
15590
|
+
{
|
|
15591
|
+
"name": "use-locale-format",
|
|
15592
|
+
"type": {
|
|
15593
|
+
"text": "boolean"
|
|
15594
|
+
},
|
|
15595
|
+
"default": "false",
|
|
15596
|
+
"fieldName": "useLocaleFormat",
|
|
15597
|
+
"description": "when true, `format` is set from dayjs locale `L`. Uses the browser locale (`navigator.language`) unless `lang` is set on the element."
|
|
15598
|
+
},
|
|
15299
15599
|
{
|
|
15300
15600
|
"name": "inline-calendar",
|
|
15301
15601
|
"type": {
|
|
@@ -15331,6 +15631,23 @@
|
|
|
15331
15631
|
"fieldName": "label",
|
|
15332
15632
|
"description": "the label that will be displayed next to the date input text field"
|
|
15333
15633
|
},
|
|
15634
|
+
{
|
|
15635
|
+
"name": "allow-empty",
|
|
15636
|
+
"type": {
|
|
15637
|
+
"text": "boolean"
|
|
15638
|
+
},
|
|
15639
|
+
"default": "false",
|
|
15640
|
+
"fieldName": "allowEmpty",
|
|
15641
|
+
"description": "when true, no initial date is selected; the input shows a placeholder until the user picks a date."
|
|
15642
|
+
},
|
|
15643
|
+
{
|
|
15644
|
+
"name": "placeholder",
|
|
15645
|
+
"type": {
|
|
15646
|
+
"text": "string"
|
|
15647
|
+
},
|
|
15648
|
+
"fieldName": "placeholder",
|
|
15649
|
+
"description": "hint shown when allow-empty is set and no date is selected. Defaults from `format` (e.g. DD/MM/YYYY → dd/mm/yyyy)."
|
|
15650
|
+
},
|
|
15334
15651
|
{
|
|
15335
15652
|
"name": "value",
|
|
15336
15653
|
"type": {
|
|
@@ -15341,10 +15658,10 @@
|
|
|
15341
15658
|
},
|
|
15342
15659
|
{
|
|
15343
15660
|
"name": "format",
|
|
15344
|
-
"
|
|
15345
|
-
|
|
15661
|
+
"default": "DATE_PICKER_VALUE_FORMAT",
|
|
15662
|
+
"resolveInitializer": {
|
|
15663
|
+
"module": "/src/date-picker/date-picker.util"
|
|
15346
15664
|
},
|
|
15347
|
-
"default": "'MM-DD-YYYY'",
|
|
15348
15665
|
"attribute": "format",
|
|
15349
15666
|
"fieldName": "format"
|
|
15350
15667
|
},
|
|
@@ -15356,6 +15673,15 @@
|
|
|
15356
15673
|
"default": "'en-US'",
|
|
15357
15674
|
"fieldName": "lang"
|
|
15358
15675
|
},
|
|
15676
|
+
{
|
|
15677
|
+
"name": "use-locale-format",
|
|
15678
|
+
"type": {
|
|
15679
|
+
"text": "boolean"
|
|
15680
|
+
},
|
|
15681
|
+
"default": "false",
|
|
15682
|
+
"attribute": "use-locale-format",
|
|
15683
|
+
"fieldName": "useLocaleFormat"
|
|
15684
|
+
},
|
|
15359
15685
|
{
|
|
15360
15686
|
"name": "visible",
|
|
15361
15687
|
"type": {
|
|
@@ -15399,6 +15725,23 @@
|
|
|
15399
15725
|
"attribute": "label",
|
|
15400
15726
|
"fieldName": "label"
|
|
15401
15727
|
},
|
|
15728
|
+
{
|
|
15729
|
+
"name": "allow-empty",
|
|
15730
|
+
"type": {
|
|
15731
|
+
"text": "boolean"
|
|
15732
|
+
},
|
|
15733
|
+
"default": "false",
|
|
15734
|
+
"attribute": "allow-empty",
|
|
15735
|
+
"fieldName": "allowEmpty"
|
|
15736
|
+
},
|
|
15737
|
+
{
|
|
15738
|
+
"name": "placeholder",
|
|
15739
|
+
"type": {
|
|
15740
|
+
"text": "string"
|
|
15741
|
+
},
|
|
15742
|
+
"attribute": "placeholder",
|
|
15743
|
+
"fieldName": "placeholder"
|
|
15744
|
+
},
|
|
15402
15745
|
{
|
|
15403
15746
|
"name": "value",
|
|
15404
15747
|
"type": {
|
|
@@ -15457,6 +15800,191 @@
|
|
|
15457
15800
|
}
|
|
15458
15801
|
]
|
|
15459
15802
|
},
|
|
15803
|
+
{
|
|
15804
|
+
"kind": "javascript-module",
|
|
15805
|
+
"path": "src/date-picker/date-picker.util.ts",
|
|
15806
|
+
"declarations": [
|
|
15807
|
+
{
|
|
15808
|
+
"kind": "function",
|
|
15809
|
+
"name": "resolveDayjsLocale",
|
|
15810
|
+
"return": {
|
|
15811
|
+
"type": {
|
|
15812
|
+
"text": "string"
|
|
15813
|
+
}
|
|
15814
|
+
},
|
|
15815
|
+
"parameters": [
|
|
15816
|
+
{
|
|
15817
|
+
"name": "lang",
|
|
15818
|
+
"type": {
|
|
15819
|
+
"text": "string"
|
|
15820
|
+
}
|
|
15821
|
+
}
|
|
15822
|
+
],
|
|
15823
|
+
"description": "Maps BCP-47 tags to dayjs locale ids (lowercase, e.g. `fr-FR` → `fr-fr`).\nEnglish variants map to dayjs bundles: `en-US` → `en`, `en-GB` → `en-gb`.",
|
|
15824
|
+
"privacy": "public"
|
|
15825
|
+
},
|
|
15826
|
+
{
|
|
15827
|
+
"kind": "function",
|
|
15828
|
+
"name": "getBrowserLocale",
|
|
15829
|
+
"return": {
|
|
15830
|
+
"type": {
|
|
15831
|
+
"text": "string"
|
|
15832
|
+
}
|
|
15833
|
+
},
|
|
15834
|
+
"description": "Browser BCP-47 locale (e.g. `en-GB`), or `en` when unavailable (SSR/tests).",
|
|
15835
|
+
"privacy": "public"
|
|
15836
|
+
},
|
|
15837
|
+
{
|
|
15838
|
+
"kind": "function",
|
|
15839
|
+
"name": "getDisplayFormatForLang",
|
|
15840
|
+
"return": {
|
|
15841
|
+
"type": {
|
|
15842
|
+
"text": "string"
|
|
15843
|
+
}
|
|
15844
|
+
},
|
|
15845
|
+
"parameters": [
|
|
15846
|
+
{
|
|
15847
|
+
"name": "lang",
|
|
15848
|
+
"default": "'en'",
|
|
15849
|
+
"type": {
|
|
15850
|
+
"text": "string"
|
|
15851
|
+
}
|
|
15852
|
+
}
|
|
15853
|
+
],
|
|
15854
|
+
"description": "Display format from dayjs locale `L` (e.g. en / en-US → MM/DD/YYYY, en-gb → DD/MM/YYYY).\nFalls back to `en` when the locale is not loaded in dayjs (import the matching `dayjs/locale/*` bundle).",
|
|
15855
|
+
"privacy": "public"
|
|
15856
|
+
},
|
|
15857
|
+
{
|
|
15858
|
+
"kind": "function",
|
|
15859
|
+
"name": "formatToPlaceholder",
|
|
15860
|
+
"return": {
|
|
15861
|
+
"type": {
|
|
15862
|
+
"text": "string"
|
|
15863
|
+
}
|
|
15864
|
+
},
|
|
15865
|
+
"parameters": [
|
|
15866
|
+
{
|
|
15867
|
+
"name": "format",
|
|
15868
|
+
"type": {
|
|
15869
|
+
"text": "string"
|
|
15870
|
+
}
|
|
15871
|
+
}
|
|
15872
|
+
],
|
|
15873
|
+
"description": "Maps a dayjs-style display format to a lowercase placeholder hint (e.g. DD/MM/YYYY → dd/mm/yyyy).",
|
|
15874
|
+
"privacy": "public"
|
|
15875
|
+
},
|
|
15876
|
+
{
|
|
15877
|
+
"kind": "function",
|
|
15878
|
+
"name": "hasDateValue",
|
|
15879
|
+
"return": {
|
|
15880
|
+
"type": {
|
|
15881
|
+
"text": "boolean"
|
|
15882
|
+
}
|
|
15883
|
+
},
|
|
15884
|
+
"parameters": [
|
|
15885
|
+
{
|
|
15886
|
+
"name": "value",
|
|
15887
|
+
"type": {
|
|
15888
|
+
"text": "string | null | undefined"
|
|
15889
|
+
}
|
|
15890
|
+
}
|
|
15891
|
+
]
|
|
15892
|
+
},
|
|
15893
|
+
{
|
|
15894
|
+
"kind": "variable",
|
|
15895
|
+
"name": "DATE_PICKER_VALUE_FORMAT",
|
|
15896
|
+
"type": {
|
|
15897
|
+
"text": "string"
|
|
15898
|
+
},
|
|
15899
|
+
"default": "'MM-DD-YYYY'",
|
|
15900
|
+
"description": "Internal wire format for the date picker's `value` attribute.\nDisplay formatting is independent (see `format` / `getDisplayFormatForLang`).",
|
|
15901
|
+
"privacy": "public"
|
|
15902
|
+
},
|
|
15903
|
+
{
|
|
15904
|
+
"kind": "function",
|
|
15905
|
+
"name": "parseDatePickerValue",
|
|
15906
|
+
"return": {
|
|
15907
|
+
"type": {
|
|
15908
|
+
"text": "dayjs.Dayjs | null"
|
|
15909
|
+
}
|
|
15910
|
+
},
|
|
15911
|
+
"parameters": [
|
|
15912
|
+
{
|
|
15913
|
+
"name": "dateString",
|
|
15914
|
+
"type": {
|
|
15915
|
+
"text": "string"
|
|
15916
|
+
}
|
|
15917
|
+
},
|
|
15918
|
+
{
|
|
15919
|
+
"name": "displayFormat",
|
|
15920
|
+
"type": {
|
|
15921
|
+
"text": "string"
|
|
15922
|
+
}
|
|
15923
|
+
}
|
|
15924
|
+
],
|
|
15925
|
+
"description": "Strictly parses a date picker value (`displayFormat` or internal `DATE_PICKER_VALUE_FORMAT`). Returns null when invalid.",
|
|
15926
|
+
"privacy": "public"
|
|
15927
|
+
}
|
|
15928
|
+
],
|
|
15929
|
+
"exports": [
|
|
15930
|
+
{
|
|
15931
|
+
"kind": "js",
|
|
15932
|
+
"name": "resolveDayjsLocale",
|
|
15933
|
+
"declaration": {
|
|
15934
|
+
"name": "resolveDayjsLocale",
|
|
15935
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15936
|
+
}
|
|
15937
|
+
},
|
|
15938
|
+
{
|
|
15939
|
+
"kind": "js",
|
|
15940
|
+
"name": "getBrowserLocale",
|
|
15941
|
+
"declaration": {
|
|
15942
|
+
"name": "getBrowserLocale",
|
|
15943
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15944
|
+
}
|
|
15945
|
+
},
|
|
15946
|
+
{
|
|
15947
|
+
"kind": "js",
|
|
15948
|
+
"name": "getDisplayFormatForLang",
|
|
15949
|
+
"declaration": {
|
|
15950
|
+
"name": "getDisplayFormatForLang",
|
|
15951
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15952
|
+
}
|
|
15953
|
+
},
|
|
15954
|
+
{
|
|
15955
|
+
"kind": "js",
|
|
15956
|
+
"name": "formatToPlaceholder",
|
|
15957
|
+
"declaration": {
|
|
15958
|
+
"name": "formatToPlaceholder",
|
|
15959
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15960
|
+
}
|
|
15961
|
+
},
|
|
15962
|
+
{
|
|
15963
|
+
"kind": "js",
|
|
15964
|
+
"name": "hasDateValue",
|
|
15965
|
+
"declaration": {
|
|
15966
|
+
"name": "hasDateValue",
|
|
15967
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15968
|
+
}
|
|
15969
|
+
},
|
|
15970
|
+
{
|
|
15971
|
+
"kind": "js",
|
|
15972
|
+
"name": "DATE_PICKER_VALUE_FORMAT",
|
|
15973
|
+
"declaration": {
|
|
15974
|
+
"name": "DATE_PICKER_VALUE_FORMAT",
|
|
15975
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15976
|
+
}
|
|
15977
|
+
},
|
|
15978
|
+
{
|
|
15979
|
+
"kind": "js",
|
|
15980
|
+
"name": "parseDatePickerValue",
|
|
15981
|
+
"declaration": {
|
|
15982
|
+
"name": "parseDatePickerValue",
|
|
15983
|
+
"module": "src/date-picker/date-picker.util.ts"
|
|
15984
|
+
}
|
|
15985
|
+
}
|
|
15986
|
+
]
|
|
15987
|
+
},
|
|
15460
15988
|
{
|
|
15461
15989
|
"kind": "javascript-module",
|
|
15462
15990
|
"path": "src/date-picker/day.ts",
|
|
@@ -15730,6 +16258,14 @@
|
|
|
15730
16258
|
"name": "*",
|
|
15731
16259
|
"package": "./date-picker"
|
|
15732
16260
|
}
|
|
16261
|
+
},
|
|
16262
|
+
{
|
|
16263
|
+
"kind": "js",
|
|
16264
|
+
"name": "*",
|
|
16265
|
+
"declaration": {
|
|
16266
|
+
"name": "*",
|
|
16267
|
+
"package": "./date-picker.util"
|
|
16268
|
+
}
|
|
15733
16269
|
}
|
|
15734
16270
|
]
|
|
15735
16271
|
},
|