@genesislcap/foundation-ui 14.439.3 → 14.441.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.
@@ -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",
@@ -1823,6 +1792,37 @@
1823
1792
  }
1824
1793
  ]
1825
1794
  },
1795
+ {
1796
+ "kind": "javascript-module",
1797
+ "path": "src/_config/index.ts",
1798
+ "declarations": [],
1799
+ "exports": [
1800
+ {
1801
+ "kind": "js",
1802
+ "name": "*",
1803
+ "declaration": {
1804
+ "name": "*",
1805
+ "package": "./styles"
1806
+ }
1807
+ },
1808
+ {
1809
+ "kind": "js",
1810
+ "name": "*",
1811
+ "declaration": {
1812
+ "name": "*",
1813
+ "package": "./tokens"
1814
+ }
1815
+ },
1816
+ {
1817
+ "kind": "js",
1818
+ "name": "*",
1819
+ "declaration": {
1820
+ "name": "*",
1821
+ "package": "./values"
1822
+ }
1823
+ }
1824
+ ]
1825
+ },
1826
1826
  {
1827
1827
  "kind": "javascript-module",
1828
1828
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -2384,275 +2384,208 @@
2384
2384
  },
2385
2385
  {
2386
2386
  "kind": "javascript-module",
2387
- "path": "src/accordion/accordion.styles.ts",
2387
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2388
2388
  "declarations": [
2389
2389
  {
2390
- "kind": "function",
2391
- "name": "foundationAccordionStyles",
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
- ]
2390
+ "kind": "variable",
2391
+ "name": "foundationAiCriteriaSearchStyles",
2392
+ "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
2393
  }
2412
2394
  ],
2413
2395
  "exports": [
2414
2396
  {
2415
2397
  "kind": "js",
2416
- "name": "foundationAccordionStyles",
2398
+ "name": "foundationAiCriteriaSearchStyles",
2417
2399
  "declaration": {
2418
- "name": "foundationAccordionStyles",
2419
- "module": "src/accordion/accordion.styles.ts"
2400
+ "name": "foundationAiCriteriaSearchStyles",
2401
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2420
2402
  }
2421
2403
  }
2422
2404
  ]
2423
2405
  },
2424
2406
  {
2425
2407
  "kind": "javascript-module",
2426
- "path": "src/accordion/accordion.template.ts",
2408
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2427
2409
  "declarations": [
2428
2410
  {
2429
- "kind": "function",
2430
- "name": "foundationAccordionTemplate",
2431
- "return": {
2432
- "type": {
2433
- "text": "ViewTemplate<Accordion>"
2434
- }
2411
+ "kind": "variable",
2412
+ "name": "foundationAiCriteriaSearchTemplate",
2413
+ "type": {
2414
+ "text": "ViewTemplate<AiCriteriaSearch>"
2435
2415
  },
2436
- "parameters": [
2437
- {
2438
- "name": "context",
2439
- "type": {
2440
- "text": "ElementDefinitionContext"
2441
- }
2442
- },
2443
- {
2444
- "name": "definition",
2445
- "type": {
2446
- "text": "FoundationElementDefinition"
2447
- }
2448
- }
2449
- ]
2416
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2450
2417
  }
2451
2418
  ],
2452
2419
  "exports": [
2453
2420
  {
2454
2421
  "kind": "js",
2455
- "name": "foundationAccordionTemplate",
2422
+ "name": "foundationAiCriteriaSearchTemplate",
2456
2423
  "declaration": {
2457
- "name": "foundationAccordionTemplate",
2458
- "module": "src/accordion/accordion.template.ts"
2424
+ "name": "foundationAiCriteriaSearchTemplate",
2425
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2459
2426
  }
2460
2427
  }
2461
2428
  ]
2462
2429
  },
2463
2430
  {
2464
2431
  "kind": "javascript-module",
2465
- "path": "src/accordion/accordion.ts",
2432
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2466
2433
  "declarations": [
2467
2434
  {
2468
2435
  "kind": "class",
2469
- "description": "",
2470
- "name": "Accordion",
2471
- "superclass": {
2472
- "name": "FASTAccordion",
2473
- "package": "@microsoft/fast-foundation"
2474
- },
2475
- "tagName": "%%prefix%%-accordion",
2476
- "customElement": true,
2477
- "attributes": [
2436
+ "description": "Natural-language criteria search input with AI interpretation.",
2437
+ "name": "AiCriteriaSearch",
2438
+ "members": [
2478
2439
  {
2479
- "name": "expand-mode",
2440
+ "kind": "field",
2441
+ "name": "aiProvider",
2480
2442
  "type": {
2481
- "text": "AccordionExpandMode"
2482
- },
2483
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2484
- "fieldName": "expandmode",
2485
- "inheritedFrom": {
2486
- "name": "Accordion",
2487
- "module": "src/accordion/accordion.ts"
2443
+ "text": "AIProvider"
2488
2444
  }
2489
- }
2490
- ],
2491
- "members": [
2445
+ },
2492
2446
  {
2493
2447
  "kind": "field",
2494
- "name": "expandmode",
2448
+ "name": "placeholder",
2495
2449
  "type": {
2496
- "text": "AccordionExpandMode"
2450
+ "text": "string"
2497
2451
  },
2498
- "privacy": "public",
2499
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2500
- "inheritedFrom": {
2501
- "name": "Accordion",
2502
- "module": "src/accordion/accordion.ts"
2503
- }
2452
+ "default": "'Describe your search criteria in natural language...'"
2504
2453
  },
2505
2454
  {
2506
2455
  "kind": "field",
2507
- "name": "activeid",
2456
+ "name": "disabled",
2508
2457
  "type": {
2509
- "text": "string | null"
2510
- },
2511
- "privacy": "private",
2512
- "inheritedFrom": {
2513
- "name": "Accordion",
2514
- "module": "src/accordion/accordion.ts"
2458
+ "text": "boolean"
2515
2459
  }
2516
2460
  },
2517
2461
  {
2518
2462
  "kind": "field",
2519
- "name": "activeItemIndex",
2463
+ "name": "inputValue",
2520
2464
  "type": {
2521
- "text": "number"
2465
+ "text": "string"
2522
2466
  },
2523
- "privacy": "private",
2524
- "default": "0",
2525
- "inheritedFrom": {
2526
- "name": "Accordion",
2527
- "module": "src/accordion/accordion.ts"
2528
- }
2467
+ "default": "''"
2529
2468
  },
2530
2469
  {
2531
2470
  "kind": "field",
2532
- "name": "accordionIds",
2471
+ "name": "isInterpreting",
2533
2472
  "type": {
2534
- "text": "Array<string | null>"
2473
+ "text": "boolean"
2535
2474
  },
2536
- "privacy": "private",
2537
- "inheritedFrom": {
2538
- "name": "Accordion",
2539
- "module": "src/accordion/accordion.ts"
2540
- }
2475
+ "default": "false"
2541
2476
  },
2542
2477
  {
2543
2478
  "kind": "field",
2544
- "name": "change",
2545
- "privacy": "private",
2546
- "inheritedFrom": {
2547
- "name": "Accordion",
2548
- "module": "src/accordion/accordion.ts"
2549
- }
2479
+ "name": "lastValidCriteria",
2480
+ "type": {
2481
+ "text": "string | null"
2482
+ },
2483
+ "default": "null"
2550
2484
  },
2551
2485
  {
2552
- "kind": "method",
2553
- "name": "findExpandedItem",
2554
- "privacy": "private",
2555
- "return": {
2556
- "type": {
2557
- "text": "AccordionItem | null"
2558
- }
2486
+ "kind": "field",
2487
+ "name": "activeGroups",
2488
+ "type": {
2489
+ "text": "CriteriaGroup[]"
2559
2490
  },
2560
- "inheritedFrom": {
2561
- "name": "Accordion",
2562
- "module": "src/accordion/accordion.ts"
2563
- }
2491
+ "default": "[]"
2564
2492
  },
2565
2493
  {
2566
2494
  "kind": "field",
2567
- "name": "setItems",
2568
- "privacy": "private",
2569
- "inheritedFrom": {
2570
- "name": "Accordion",
2571
- "module": "src/accordion/accordion.ts"
2572
- }
2495
+ "name": "showingChips",
2496
+ "type": {
2497
+ "text": "boolean"
2498
+ },
2499
+ "default": "false"
2573
2500
  },
2574
2501
  {
2575
- "kind": "method",
2576
- "name": "resetItems",
2577
- "privacy": "private",
2578
- "return": {
2579
- "type": {
2580
- "text": "void"
2581
- }
2502
+ "kind": "field",
2503
+ "name": "fieldMetadata",
2504
+ "type": {
2505
+ "text": "MetadataDetail[] | string[]"
2582
2506
  },
2583
- "inheritedFrom": {
2584
- "name": "Accordion",
2585
- "module": "src/accordion/accordion.ts"
2586
- }
2507
+ "default": "[]"
2587
2508
  },
2588
2509
  {
2589
2510
  "kind": "field",
2590
- "name": "removeItemListeners",
2591
- "privacy": "private",
2592
- "inheritedFrom": {
2593
- "name": "Accordion",
2594
- "module": "src/accordion/accordion.ts"
2595
- }
2511
+ "name": "isRecording",
2512
+ "type": {
2513
+ "text": "boolean"
2514
+ },
2515
+ "default": "false"
2596
2516
  },
2597
2517
  {
2598
2518
  "kind": "field",
2599
- "name": "activeItemChange",
2519
+ "name": "textAreaRef",
2520
+ "type": {
2521
+ "text": "HTMLTextAreaElement"
2522
+ },
2523
+ "privacy": "public"
2524
+ },
2525
+ {
2526
+ "kind": "field",
2527
+ "name": "stopRecording",
2528
+ "type": {
2529
+ "text": "(() => void) | null"
2530
+ },
2600
2531
  "privacy": "private",
2601
- "inheritedFrom": {
2602
- "name": "Accordion",
2603
- "module": "src/accordion/accordion.ts"
2604
- }
2532
+ "default": "null"
2605
2533
  },
2606
2534
  {
2607
- "kind": "method",
2608
- "name": "getItemIds",
2535
+ "kind": "field",
2536
+ "name": "speechApplyDebounceTimer",
2537
+ "type": {
2538
+ "text": "ReturnType<typeof setTimeout> | null"
2539
+ },
2609
2540
  "privacy": "private",
2610
- "return": {
2611
- "type": {
2612
- "text": "Array<string | null>"
2613
- }
2541
+ "default": "null"
2542
+ },
2543
+ {
2544
+ "kind": "field",
2545
+ "name": "speechAvailable",
2546
+ "type": {
2547
+ "text": "boolean"
2614
2548
  },
2615
- "inheritedFrom": {
2616
- "name": "Accordion",
2617
- "module": "src/accordion/accordion.ts"
2618
- }
2549
+ "readonly": true
2550
+ },
2551
+ {
2552
+ "kind": "field",
2553
+ "name": "criteriaChips",
2554
+ "type": {
2555
+ "text": "CriteriaChip[]"
2556
+ },
2557
+ "readonly": true
2619
2558
  },
2620
2559
  {
2621
2560
  "kind": "method",
2622
- "name": "isSingleExpandMode",
2561
+ "name": "getFieldLabel",
2623
2562
  "privacy": "private",
2624
2563
  "return": {
2625
2564
  "type": {
2626
- "text": "boolean"
2565
+ "text": "string"
2627
2566
  }
2628
2567
  },
2629
- "inheritedFrom": {
2630
- "name": "Accordion",
2631
- "module": "src/accordion/accordion.ts"
2632
- }
2633
- },
2634
- {
2635
- "kind": "field",
2636
- "name": "handleItemKeyDown",
2637
- "privacy": "private",
2638
- "inheritedFrom": {
2639
- "name": "Accordion",
2640
- "module": "src/accordion/accordion.ts"
2641
- }
2568
+ "parameters": [
2569
+ {
2570
+ "name": "fieldName",
2571
+ "type": {
2572
+ "text": "string"
2573
+ }
2574
+ }
2575
+ ]
2642
2576
  },
2643
2577
  {
2644
- "kind": "field",
2645
- "name": "handleItemFocus",
2646
- "privacy": "private",
2647
- "inheritedFrom": {
2648
- "name": "Accordion",
2649
- "module": "src/accordion/accordion.ts"
2578
+ "kind": "method",
2579
+ "name": "toggleCriteriaView",
2580
+ "return": {
2581
+ "type": {
2582
+ "text": "void"
2583
+ }
2650
2584
  }
2651
2585
  },
2652
2586
  {
2653
2587
  "kind": "method",
2654
- "name": "adjust",
2655
- "privacy": "private",
2588
+ "name": "removeChip",
2656
2589
  "return": {
2657
2590
  "type": {
2658
2591
  "text": "void"
@@ -2660,31 +2593,49 @@
2660
2593
  },
2661
2594
  "parameters": [
2662
2595
  {
2663
- "name": "adjustment",
2596
+ "name": "groupIndex",
2597
+ "type": {
2598
+ "text": "number"
2599
+ }
2600
+ },
2601
+ {
2602
+ "name": "clauseIndex",
2664
2603
  "type": {
2665
2604
  "text": "number"
2666
2605
  }
2667
2606
  }
2668
- ],
2669
- "inheritedFrom": {
2670
- "name": "Accordion",
2671
- "module": "src/accordion/accordion.ts"
2672
- }
2607
+ ]
2673
2608
  },
2674
2609
  {
2675
2610
  "kind": "method",
2676
- "name": "focusItem",
2677
- "privacy": "private",
2611
+ "name": "clearChips",
2678
2612
  "return": {
2679
2613
  "type": {
2680
2614
  "text": "void"
2681
2615
  }
2682
- },
2683
- "inheritedFrom": {
2684
- "name": "Accordion",
2685
- "module": "src/accordion/accordion.ts"
2686
2616
  }
2687
2617
  },
2618
+ {
2619
+ "kind": "method",
2620
+ "name": "handleSubmit"
2621
+ },
2622
+ {
2623
+ "kind": "method",
2624
+ "name": "handleBlur"
2625
+ },
2626
+ {
2627
+ "kind": "method",
2628
+ "name": "clear"
2629
+ },
2630
+ {
2631
+ "kind": "method",
2632
+ "name": "toggleSpeechInput"
2633
+ },
2634
+ {
2635
+ "kind": "method",
2636
+ "name": "clearSpeechApplyDebounce",
2637
+ "privacy": "private"
2638
+ },
2688
2639
  {
2689
2640
  "kind": "field",
2690
2641
  "name": "_presentation",
@@ -2799,26 +2750,48 @@
2799
2750
  ],
2800
2751
  "events": [
2801
2752
  {
2802
- "description": "Fires a custom 'change' event when the active item changes",
2803
- "name": "change",
2804
- "inheritedFrom": {
2805
- "name": "Accordion",
2806
- "module": "src/accordion/accordion.ts"
2807
- }
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"
2808
2759
  }
2809
- ]
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
+ "superclass": {
2778
+ "name": "FoundationElement",
2779
+ "package": "@microsoft/fast-foundation"
2780
+ },
2781
+ "tagName": "%%prefix%%-ai-criteria-search",
2782
+ "customElement": true
2810
2783
  },
2811
2784
  {
2812
2785
  "kind": "variable",
2813
- "name": "foundationAccordionShadowOptions",
2786
+ "name": "foundationAiCriteriaSearchShadowOptions",
2814
2787
  "type": {
2815
2788
  "text": "ShadowRootInit"
2816
2789
  },
2817
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2790
+ "default": "undefined"
2818
2791
  },
2819
2792
  {
2820
2793
  "kind": "variable",
2821
- "name": "defaultAccordionConfig",
2794
+ "name": "defaultAiCriteriaSearchConfig",
2822
2795
  "type": {
2823
2796
  "text": "object"
2824
2797
  },
@@ -2826,281 +2799,469 @@
2826
2799
  },
2827
2800
  {
2828
2801
  "kind": "variable",
2829
- "name": "foundationAccordion",
2830
- "description": "The Foundation Accordion",
2831
- "privacy": "public"
2802
+ "name": "foundationAiCriteriaSearch"
2832
2803
  }
2833
2804
  ],
2834
2805
  "exports": [
2835
2806
  {
2836
2807
  "kind": "js",
2837
- "name": "Accordion",
2808
+ "name": "AiCriteriaSearch",
2838
2809
  "declaration": {
2839
- "name": "Accordion",
2840
- "module": "src/accordion/accordion.ts"
2810
+ "name": "AiCriteriaSearch",
2811
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2841
2812
  }
2842
2813
  },
2843
2814
  {
2844
2815
  "kind": "js",
2845
- "name": "foundationAccordionShadowOptions",
2816
+ "name": "foundationAiCriteriaSearchShadowOptions",
2846
2817
  "declaration": {
2847
- "name": "foundationAccordionShadowOptions",
2848
- "module": "src/accordion/accordion.ts"
2818
+ "name": "foundationAiCriteriaSearchShadowOptions",
2819
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2849
2820
  }
2850
2821
  },
2851
2822
  {
2852
2823
  "kind": "js",
2853
- "name": "defaultAccordionConfig",
2824
+ "name": "defaultAiCriteriaSearchConfig",
2854
2825
  "declaration": {
2855
- "name": "defaultAccordionConfig",
2856
- "module": "src/accordion/accordion.ts"
2826
+ "name": "defaultAiCriteriaSearchConfig",
2827
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2857
2828
  }
2858
2829
  },
2859
2830
  {
2860
2831
  "kind": "js",
2861
- "name": "foundationAccordion",
2832
+ "name": "foundationAiCriteriaSearch",
2862
2833
  "declaration": {
2863
- "name": "foundationAccordion",
2864
- "module": "src/accordion/accordion.ts"
2834
+ "name": "foundationAiCriteriaSearch",
2835
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2865
2836
  }
2866
2837
  }
2867
2838
  ]
2868
2839
  },
2869
2840
  {
2870
2841
  "kind": "javascript-module",
2871
- "path": "src/accordion/index.ts",
2842
+ "path": "src/ai-criteria-search/index.ts",
2872
2843
  "declarations": [],
2873
2844
  "exports": [
2874
2845
  {
2875
2846
  "kind": "js",
2876
- "name": "*",
2847
+ "name": "AiCriteriaSearch",
2877
2848
  "declaration": {
2878
- "name": "*",
2879
- "package": "./accordion.template"
2849
+ "name": "AiCriteriaSearch",
2850
+ "module": "./ai-criteria-search"
2880
2851
  }
2881
2852
  },
2882
2853
  {
2883
2854
  "kind": "js",
2884
- "name": "*",
2855
+ "name": "defaultAiCriteriaSearchConfig",
2885
2856
  "declaration": {
2886
- "name": "*",
2887
- "package": "./accordion.styles"
2857
+ "name": "defaultAiCriteriaSearchConfig",
2858
+ "module": "./ai-criteria-search"
2888
2859
  }
2889
2860
  },
2890
2861
  {
2891
2862
  "kind": "js",
2892
- "name": "*",
2863
+ "name": "foundationAiCriteriaSearch",
2893
2864
  "declaration": {
2894
- "name": "*",
2895
- "package": "./accordion"
2865
+ "name": "foundationAiCriteriaSearch",
2866
+ "module": "./ai-criteria-search"
2896
2867
  }
2897
- }
2898
- ]
2899
- },
2900
- {
2901
- "kind": "javascript-module",
2902
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2903
- "declarations": [
2868
+ },
2904
2869
  {
2905
- "kind": "variable",
2906
- "name": "foundationAiCriteriaSearchStyles",
2907
- "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`"
2908
- }
2909
- ],
2910
- "exports": [
2870
+ "kind": "js",
2871
+ "name": "foundationAiCriteriaSearchShadowOptions",
2872
+ "declaration": {
2873
+ "name": "foundationAiCriteriaSearchShadowOptions",
2874
+ "module": "./ai-criteria-search"
2875
+ }
2876
+ },
2911
2877
  {
2912
2878
  "kind": "js",
2913
2879
  "name": "foundationAiCriteriaSearchStyles",
2914
2880
  "declaration": {
2915
2881
  "name": "foundationAiCriteriaSearchStyles",
2916
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2882
+ "module": "./ai-criteria-search.styles"
2917
2883
  }
2918
- }
2919
- ]
2920
- },
2921
- {
2922
- "kind": "javascript-module",
2923
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2924
- "declarations": [
2925
- {
2926
- "kind": "variable",
2927
- "name": "foundationAiCriteriaSearchTemplate",
2928
- "type": {
2929
- "text": "ViewTemplate<AiCriteriaSearch>"
2930
- },
2931
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2932
- }
2933
- ],
2934
- "exports": [
2884
+ },
2935
2885
  {
2936
2886
  "kind": "js",
2937
2887
  "name": "foundationAiCriteriaSearchTemplate",
2938
2888
  "declaration": {
2939
2889
  "name": "foundationAiCriteriaSearchTemplate",
2940
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2890
+ "module": "./ai-criteria-search.template"
2891
+ }
2892
+ },
2893
+ {
2894
+ "kind": "js",
2895
+ "name": "*",
2896
+ "declaration": {
2897
+ "name": "*",
2898
+ "package": "./validation/criteria-ir"
2899
+ }
2900
+ },
2901
+ {
2902
+ "kind": "js",
2903
+ "name": "*",
2904
+ "declaration": {
2905
+ "name": "*",
2906
+ "package": "./validation/operator-map"
2907
+ }
2908
+ },
2909
+ {
2910
+ "kind": "js",
2911
+ "name": "*",
2912
+ "declaration": {
2913
+ "name": "*",
2914
+ "package": "./validation/schema-validator"
2941
2915
  }
2942
2916
  }
2943
2917
  ]
2944
2918
  },
2945
2919
  {
2946
2920
  "kind": "javascript-module",
2947
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2921
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2948
2922
  "declarations": [
2949
2923
  {
2950
- "kind": "class",
2951
- "description": "Natural-language criteria search input with AI interpretation.",
2952
- "name": "AiCriteriaSearch",
2953
- "members": [
2924
+ "kind": "function",
2925
+ "name": "formatValidationErrors",
2926
+ "return": {
2927
+ "type": {
2928
+ "text": "string"
2929
+ }
2930
+ },
2931
+ "parameters": [
2954
2932
  {
2955
- "kind": "field",
2956
- "name": "aiProvider",
2933
+ "name": "errors",
2957
2934
  "type": {
2958
- "text": "AIProvider"
2935
+ "text": "ValidationError[]"
2959
2936
  }
2960
- },
2937
+ }
2938
+ ],
2939
+ "description": "Formats validation errors into a user-friendly message."
2940
+ },
2941
+ {
2942
+ "kind": "function",
2943
+ "name": "showCriteriaError",
2944
+ "return": {
2945
+ "type": {
2946
+ "text": "void"
2947
+ }
2948
+ },
2949
+ "parameters": [
2961
2950
  {
2962
- "kind": "field",
2963
- "name": "placeholder",
2951
+ "name": "title",
2964
2952
  "type": {
2965
2953
  "text": "string"
2966
2954
  },
2967
- "default": "'Describe your search criteria in natural language...'"
2955
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2968
2956
  },
2969
2957
  {
2970
- "kind": "field",
2971
- "name": "disabled",
2958
+ "name": "body",
2972
2959
  "type": {
2973
- "text": "boolean"
2974
- }
2960
+ "text": "string"
2961
+ },
2962
+ "description": "Error message to display"
2975
2963
  },
2976
2964
  {
2977
- "kind": "field",
2978
- "name": "inputValue",
2965
+ "name": "tagName",
2979
2966
  "type": {
2980
2967
  "text": "string"
2981
2968
  },
2982
- "default": "''"
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
+ {
2977
+ "kind": "js",
2978
+ "name": "formatValidationErrors",
2979
+ "declaration": {
2980
+ "name": "formatValidationErrors",
2981
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2982
+ }
2983
+ },
2984
+ {
2985
+ "kind": "js",
2986
+ "name": "showCriteriaError",
2987
+ "declaration": {
2988
+ "name": "showCriteriaError",
2989
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2990
+ }
2991
+ }
2992
+ ]
2993
+ },
2994
+ {
2995
+ "kind": "javascript-module",
2996
+ "path": "src/accordion/accordion.styles.ts",
2997
+ "declarations": [
2998
+ {
2999
+ "kind": "function",
3000
+ "name": "foundationAccordionStyles",
3001
+ "return": {
3002
+ "type": {
3003
+ "text": "ElementStyles"
3004
+ }
3005
+ },
3006
+ "parameters": [
3007
+ {
3008
+ "name": "context",
3009
+ "type": {
3010
+ "text": "ElementDefinitionContext"
3011
+ }
2983
3012
  },
2984
3013
  {
2985
- "kind": "field",
2986
- "name": "isInterpreting",
3014
+ "name": "definition",
2987
3015
  "type": {
2988
- "text": "boolean"
2989
- },
2990
- "default": "false"
3016
+ "text": "FoundationElementDefinition"
3017
+ }
3018
+ }
3019
+ ]
3020
+ }
3021
+ ],
3022
+ "exports": [
3023
+ {
3024
+ "kind": "js",
3025
+ "name": "foundationAccordionStyles",
3026
+ "declaration": {
3027
+ "name": "foundationAccordionStyles",
3028
+ "module": "src/accordion/accordion.styles.ts"
3029
+ }
3030
+ }
3031
+ ]
3032
+ },
3033
+ {
3034
+ "kind": "javascript-module",
3035
+ "path": "src/accordion/accordion.template.ts",
3036
+ "declarations": [
3037
+ {
3038
+ "kind": "function",
3039
+ "name": "foundationAccordionTemplate",
3040
+ "return": {
3041
+ "type": {
3042
+ "text": "ViewTemplate<Accordion>"
3043
+ }
3044
+ },
3045
+ "parameters": [
3046
+ {
3047
+ "name": "context",
3048
+ "type": {
3049
+ "text": "ElementDefinitionContext"
3050
+ }
2991
3051
  },
2992
3052
  {
2993
- "kind": "field",
2994
- "name": "lastValidCriteria",
3053
+ "name": "definition",
2995
3054
  "type": {
2996
- "text": "string | null"
3055
+ "text": "FoundationElementDefinition"
3056
+ }
3057
+ }
3058
+ ]
3059
+ }
3060
+ ],
3061
+ "exports": [
3062
+ {
3063
+ "kind": "js",
3064
+ "name": "foundationAccordionTemplate",
3065
+ "declaration": {
3066
+ "name": "foundationAccordionTemplate",
3067
+ "module": "src/accordion/accordion.template.ts"
3068
+ }
3069
+ }
3070
+ ]
3071
+ },
3072
+ {
3073
+ "kind": "javascript-module",
3074
+ "path": "src/accordion/accordion.ts",
3075
+ "declarations": [
3076
+ {
3077
+ "kind": "class",
3078
+ "description": "",
3079
+ "name": "Accordion",
3080
+ "superclass": {
3081
+ "name": "FASTAccordion",
3082
+ "package": "@microsoft/fast-foundation"
3083
+ },
3084
+ "tagName": "%%prefix%%-accordion",
3085
+ "customElement": true,
3086
+ "attributes": [
3087
+ {
3088
+ "name": "expand-mode",
3089
+ "type": {
3090
+ "text": "AccordionExpandMode"
2997
3091
  },
2998
- "default": "null"
2999
- },
3092
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3093
+ "fieldName": "expandmode",
3094
+ "inheritedFrom": {
3095
+ "name": "Accordion",
3096
+ "module": "src/accordion/accordion.ts"
3097
+ }
3098
+ }
3099
+ ],
3100
+ "members": [
3000
3101
  {
3001
3102
  "kind": "field",
3002
- "name": "activeGroups",
3103
+ "name": "expandmode",
3003
3104
  "type": {
3004
- "text": "CriteriaGroup[]"
3105
+ "text": "AccordionExpandMode"
3005
3106
  },
3006
- "default": "[]"
3107
+ "privacy": "public",
3108
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3109
+ "inheritedFrom": {
3110
+ "name": "Accordion",
3111
+ "module": "src/accordion/accordion.ts"
3112
+ }
3007
3113
  },
3008
3114
  {
3009
3115
  "kind": "field",
3010
- "name": "showingChips",
3116
+ "name": "activeid",
3011
3117
  "type": {
3012
- "text": "boolean"
3118
+ "text": "string | null"
3013
3119
  },
3014
- "default": "false"
3120
+ "privacy": "private",
3121
+ "inheritedFrom": {
3122
+ "name": "Accordion",
3123
+ "module": "src/accordion/accordion.ts"
3124
+ }
3015
3125
  },
3016
3126
  {
3017
3127
  "kind": "field",
3018
- "name": "fieldMetadata",
3128
+ "name": "activeItemIndex",
3019
3129
  "type": {
3020
- "text": "MetadataDetail[] | string[]"
3130
+ "text": "number"
3021
3131
  },
3022
- "default": "[]"
3132
+ "privacy": "private",
3133
+ "default": "0",
3134
+ "inheritedFrom": {
3135
+ "name": "Accordion",
3136
+ "module": "src/accordion/accordion.ts"
3137
+ }
3023
3138
  },
3024
3139
  {
3025
3140
  "kind": "field",
3026
- "name": "isRecording",
3141
+ "name": "accordionIds",
3027
3142
  "type": {
3028
- "text": "boolean"
3143
+ "text": "Array<string | null>"
3029
3144
  },
3030
- "default": "false"
3145
+ "privacy": "private",
3146
+ "inheritedFrom": {
3147
+ "name": "Accordion",
3148
+ "module": "src/accordion/accordion.ts"
3149
+ }
3031
3150
  },
3032
3151
  {
3033
3152
  "kind": "field",
3034
- "name": "textAreaRef",
3035
- "type": {
3036
- "text": "HTMLTextAreaElement"
3153
+ "name": "change",
3154
+ "privacy": "private",
3155
+ "inheritedFrom": {
3156
+ "name": "Accordion",
3157
+ "module": "src/accordion/accordion.ts"
3158
+ }
3159
+ },
3160
+ {
3161
+ "kind": "method",
3162
+ "name": "findExpandedItem",
3163
+ "privacy": "private",
3164
+ "return": {
3165
+ "type": {
3166
+ "text": "AccordionItem | null"
3167
+ }
3037
3168
  },
3038
- "privacy": "public"
3169
+ "inheritedFrom": {
3170
+ "name": "Accordion",
3171
+ "module": "src/accordion/accordion.ts"
3172
+ }
3039
3173
  },
3040
3174
  {
3041
3175
  "kind": "field",
3042
- "name": "stopRecording",
3043
- "type": {
3044
- "text": "(() => void) | null"
3045
- },
3176
+ "name": "setItems",
3046
3177
  "privacy": "private",
3047
- "default": "null"
3178
+ "inheritedFrom": {
3179
+ "name": "Accordion",
3180
+ "module": "src/accordion/accordion.ts"
3181
+ }
3048
3182
  },
3049
3183
  {
3050
- "kind": "field",
3051
- "name": "speechApplyDebounceTimer",
3052
- "type": {
3053
- "text": "ReturnType<typeof setTimeout> | null"
3054
- },
3184
+ "kind": "method",
3185
+ "name": "resetItems",
3055
3186
  "privacy": "private",
3056
- "default": "null"
3187
+ "return": {
3188
+ "type": {
3189
+ "text": "void"
3190
+ }
3191
+ },
3192
+ "inheritedFrom": {
3193
+ "name": "Accordion",
3194
+ "module": "src/accordion/accordion.ts"
3195
+ }
3057
3196
  },
3058
3197
  {
3059
3198
  "kind": "field",
3060
- "name": "speechAvailable",
3061
- "type": {
3062
- "text": "boolean"
3063
- },
3064
- "readonly": true
3199
+ "name": "removeItemListeners",
3200
+ "privacy": "private",
3201
+ "inheritedFrom": {
3202
+ "name": "Accordion",
3203
+ "module": "src/accordion/accordion.ts"
3204
+ }
3065
3205
  },
3066
3206
  {
3067
3207
  "kind": "field",
3068
- "name": "criteriaChips",
3069
- "type": {
3070
- "text": "CriteriaChip[]"
3071
- },
3072
- "readonly": true
3208
+ "name": "activeItemChange",
3209
+ "privacy": "private",
3210
+ "inheritedFrom": {
3211
+ "name": "Accordion",
3212
+ "module": "src/accordion/accordion.ts"
3213
+ }
3073
3214
  },
3074
3215
  {
3075
3216
  "kind": "method",
3076
- "name": "getFieldLabel",
3217
+ "name": "getItemIds",
3077
3218
  "privacy": "private",
3078
3219
  "return": {
3079
3220
  "type": {
3080
- "text": "string"
3221
+ "text": "Array<string | null>"
3081
3222
  }
3082
3223
  },
3083
- "parameters": [
3084
- {
3085
- "name": "fieldName",
3086
- "type": {
3087
- "text": "string"
3088
- }
3089
- }
3090
- ]
3224
+ "inheritedFrom": {
3225
+ "name": "Accordion",
3226
+ "module": "src/accordion/accordion.ts"
3227
+ }
3091
3228
  },
3092
3229
  {
3093
3230
  "kind": "method",
3094
- "name": "toggleCriteriaView",
3231
+ "name": "isSingleExpandMode",
3232
+ "privacy": "private",
3095
3233
  "return": {
3096
3234
  "type": {
3097
- "text": "void"
3235
+ "text": "boolean"
3098
3236
  }
3237
+ },
3238
+ "inheritedFrom": {
3239
+ "name": "Accordion",
3240
+ "module": "src/accordion/accordion.ts"
3241
+ }
3242
+ },
3243
+ {
3244
+ "kind": "field",
3245
+ "name": "handleItemKeyDown",
3246
+ "privacy": "private",
3247
+ "inheritedFrom": {
3248
+ "name": "Accordion",
3249
+ "module": "src/accordion/accordion.ts"
3250
+ }
3251
+ },
3252
+ {
3253
+ "kind": "field",
3254
+ "name": "handleItemFocus",
3255
+ "privacy": "private",
3256
+ "inheritedFrom": {
3257
+ "name": "Accordion",
3258
+ "module": "src/accordion/accordion.ts"
3099
3259
  }
3100
3260
  },
3101
3261
  {
3102
3262
  "kind": "method",
3103
- "name": "removeChip",
3263
+ "name": "adjust",
3264
+ "privacy": "private",
3104
3265
  "return": {
3105
3266
  "type": {
3106
3267
  "text": "void"
@@ -3108,49 +3269,31 @@
3108
3269
  },
3109
3270
  "parameters": [
3110
3271
  {
3111
- "name": "groupIndex",
3112
- "type": {
3113
- "text": "number"
3114
- }
3115
- },
3116
- {
3117
- "name": "clauseIndex",
3272
+ "name": "adjustment",
3118
3273
  "type": {
3119
3274
  "text": "number"
3120
3275
  }
3121
3276
  }
3122
- ]
3277
+ ],
3278
+ "inheritedFrom": {
3279
+ "name": "Accordion",
3280
+ "module": "src/accordion/accordion.ts"
3281
+ }
3123
3282
  },
3124
3283
  {
3125
3284
  "kind": "method",
3126
- "name": "clearChips",
3285
+ "name": "focusItem",
3286
+ "privacy": "private",
3127
3287
  "return": {
3128
3288
  "type": {
3129
3289
  "text": "void"
3130
3290
  }
3291
+ },
3292
+ "inheritedFrom": {
3293
+ "name": "Accordion",
3294
+ "module": "src/accordion/accordion.ts"
3131
3295
  }
3132
3296
  },
3133
- {
3134
- "kind": "method",
3135
- "name": "handleSubmit"
3136
- },
3137
- {
3138
- "kind": "method",
3139
- "name": "handleBlur"
3140
- },
3141
- {
3142
- "kind": "method",
3143
- "name": "clear"
3144
- },
3145
- {
3146
- "kind": "method",
3147
- "name": "toggleSpeechInput"
3148
- },
3149
- {
3150
- "kind": "method",
3151
- "name": "clearSpeechApplyDebounce",
3152
- "privacy": "private"
3153
- },
3154
3297
  {
3155
3298
  "kind": "field",
3156
3299
  "name": "_presentation",
@@ -3265,48 +3408,26 @@
3265
3408
  ],
3266
3409
  "events": [
3267
3410
  {
3268
- "description": "Fired when interpreted criteria is applied or cleared",
3269
- "name": "criteria-changed"
3270
- },
3271
- {
3272
- "description": "Fired when interpreted criteria contains invalid clauses",
3273
- "name": "validation-errors"
3274
- }
3275
- ],
3276
- "attributes": [
3277
- {
3278
- "name": "placeholder",
3279
- "type": {
3280
- "text": "string"
3281
- },
3282
- "default": "'Describe your search criteria in natural language...'",
3283
- "fieldName": "placeholder"
3284
- },
3285
- {
3286
- "type": {
3287
- "text": "boolean"
3288
- },
3289
- "fieldName": "disabled"
3411
+ "description": "Fires a custom 'change' event when the active item changes",
3412
+ "name": "change",
3413
+ "inheritedFrom": {
3414
+ "name": "Accordion",
3415
+ "module": "src/accordion/accordion.ts"
3416
+ }
3290
3417
  }
3291
- ],
3292
- "superclass": {
3293
- "name": "FoundationElement",
3294
- "package": "@microsoft/fast-foundation"
3295
- },
3296
- "tagName": "%%prefix%%-ai-criteria-search",
3297
- "customElement": true
3418
+ ]
3298
3419
  },
3299
3420
  {
3300
3421
  "kind": "variable",
3301
- "name": "foundationAiCriteriaSearchShadowOptions",
3422
+ "name": "foundationAccordionShadowOptions",
3302
3423
  "type": {
3303
3424
  "text": "ShadowRootInit"
3304
3425
  },
3305
- "default": "undefined"
3426
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3306
3427
  },
3307
3428
  {
3308
3429
  "kind": "variable",
3309
- "name": "defaultAiCriteriaSearchConfig",
3430
+ "name": "defaultAccordionConfig",
3310
3431
  "type": {
3311
3432
  "text": "object"
3312
3433
  },
@@ -3314,194 +3435,73 @@
3314
3435
  },
3315
3436
  {
3316
3437
  "kind": "variable",
3317
- "name": "foundationAiCriteriaSearch"
3438
+ "name": "foundationAccordion",
3439
+ "description": "The Foundation Accordion",
3440
+ "privacy": "public"
3318
3441
  }
3319
3442
  ],
3320
3443
  "exports": [
3321
3444
  {
3322
- "kind": "js",
3323
- "name": "AiCriteriaSearch",
3324
- "declaration": {
3325
- "name": "AiCriteriaSearch",
3326
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3327
- }
3328
- },
3329
- {
3330
- "kind": "js",
3331
- "name": "foundationAiCriteriaSearchShadowOptions",
3332
- "declaration": {
3333
- "name": "foundationAiCriteriaSearchShadowOptions",
3334
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3335
- }
3336
- },
3337
- {
3338
- "kind": "js",
3339
- "name": "defaultAiCriteriaSearchConfig",
3340
- "declaration": {
3341
- "name": "defaultAiCriteriaSearchConfig",
3342
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3343
- }
3344
- },
3345
- {
3346
- "kind": "js",
3347
- "name": "foundationAiCriteriaSearch",
3348
- "declaration": {
3349
- "name": "foundationAiCriteriaSearch",
3350
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3351
- }
3352
- }
3353
- ]
3354
- },
3355
- {
3356
- "kind": "javascript-module",
3357
- "path": "src/ai-criteria-search/index.ts",
3358
- "declarations": [],
3359
- "exports": [
3360
- {
3361
- "kind": "js",
3362
- "name": "AiCriteriaSearch",
3363
- "declaration": {
3364
- "name": "AiCriteriaSearch",
3365
- "module": "./ai-criteria-search"
3366
- }
3367
- },
3368
- {
3369
- "kind": "js",
3370
- "name": "defaultAiCriteriaSearchConfig",
3371
- "declaration": {
3372
- "name": "defaultAiCriteriaSearchConfig",
3373
- "module": "./ai-criteria-search"
3374
- }
3375
- },
3376
- {
3377
- "kind": "js",
3378
- "name": "foundationAiCriteriaSearch",
3379
- "declaration": {
3380
- "name": "foundationAiCriteriaSearch",
3381
- "module": "./ai-criteria-search"
3382
- }
3383
- },
3384
- {
3385
- "kind": "js",
3386
- "name": "foundationAiCriteriaSearchShadowOptions",
3387
- "declaration": {
3388
- "name": "foundationAiCriteriaSearchShadowOptions",
3389
- "module": "./ai-criteria-search"
3390
- }
3391
- },
3392
- {
3393
- "kind": "js",
3394
- "name": "foundationAiCriteriaSearchStyles",
3395
- "declaration": {
3396
- "name": "foundationAiCriteriaSearchStyles",
3397
- "module": "./ai-criteria-search.styles"
3398
- }
3399
- },
3400
- {
3401
- "kind": "js",
3402
- "name": "foundationAiCriteriaSearchTemplate",
3403
- "declaration": {
3404
- "name": "foundationAiCriteriaSearchTemplate",
3405
- "module": "./ai-criteria-search.template"
3406
- }
3407
- },
3408
- {
3409
- "kind": "js",
3410
- "name": "*",
3411
- "declaration": {
3412
- "name": "*",
3413
- "package": "./validation/criteria-ir"
3414
- }
3415
- },
3416
- {
3417
- "kind": "js",
3418
- "name": "*",
3419
- "declaration": {
3420
- "name": "*",
3421
- "package": "./validation/operator-map"
3422
- }
3423
- },
3424
- {
3425
- "kind": "js",
3426
- "name": "*",
3427
- "declaration": {
3428
- "name": "*",
3429
- "package": "./validation/schema-validator"
3430
- }
3431
- }
3432
- ]
3433
- },
3434
- {
3435
- "kind": "javascript-module",
3436
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3437
- "declarations": [
3438
- {
3439
- "kind": "function",
3440
- "name": "formatValidationErrors",
3441
- "return": {
3442
- "type": {
3443
- "text": "string"
3444
- }
3445
- },
3446
- "parameters": [
3447
- {
3448
- "name": "errors",
3449
- "type": {
3450
- "text": "ValidationError[]"
3451
- }
3452
- }
3453
- ],
3454
- "description": "Formats validation errors into a user-friendly message."
3455
- },
3456
- {
3457
- "kind": "function",
3458
- "name": "showCriteriaError",
3459
- "return": {
3460
- "type": {
3461
- "text": "void"
3462
- }
3463
- },
3464
- "parameters": [
3465
- {
3466
- "name": "title",
3467
- "type": {
3468
- "text": "string"
3469
- },
3470
- "description": "Notification title (e.g. \"Criteria validation error\")"
3471
- },
3472
- {
3473
- "name": "body",
3474
- "type": {
3475
- "text": "string"
3476
- },
3477
- "description": "Error message to display"
3478
- },
3479
- {
3480
- "name": "tagName",
3481
- "type": {
3482
- "text": "string"
3483
- },
3484
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3485
- }
3486
- ],
3487
- "description": "Shows a criteria error as a toast notification."
3445
+ "kind": "js",
3446
+ "name": "Accordion",
3447
+ "declaration": {
3448
+ "name": "Accordion",
3449
+ "module": "src/accordion/accordion.ts"
3450
+ }
3451
+ },
3452
+ {
3453
+ "kind": "js",
3454
+ "name": "foundationAccordionShadowOptions",
3455
+ "declaration": {
3456
+ "name": "foundationAccordionShadowOptions",
3457
+ "module": "src/accordion/accordion.ts"
3458
+ }
3459
+ },
3460
+ {
3461
+ "kind": "js",
3462
+ "name": "defaultAccordionConfig",
3463
+ "declaration": {
3464
+ "name": "defaultAccordionConfig",
3465
+ "module": "src/accordion/accordion.ts"
3466
+ }
3467
+ },
3468
+ {
3469
+ "kind": "js",
3470
+ "name": "foundationAccordion",
3471
+ "declaration": {
3472
+ "name": "foundationAccordion",
3473
+ "module": "src/accordion/accordion.ts"
3474
+ }
3488
3475
  }
3489
- ],
3476
+ ]
3477
+ },
3478
+ {
3479
+ "kind": "javascript-module",
3480
+ "path": "src/accordion/index.ts",
3481
+ "declarations": [],
3490
3482
  "exports": [
3491
3483
  {
3492
3484
  "kind": "js",
3493
- "name": "formatValidationErrors",
3485
+ "name": "*",
3494
3486
  "declaration": {
3495
- "name": "formatValidationErrors",
3496
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3487
+ "name": "*",
3488
+ "package": "./accordion.template"
3497
3489
  }
3498
3490
  },
3499
3491
  {
3500
3492
  "kind": "js",
3501
- "name": "showCriteriaError",
3493
+ "name": "*",
3502
3494
  "declaration": {
3503
- "name": "showCriteriaError",
3504
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3495
+ "name": "*",
3496
+ "package": "./accordion.styles"
3497
+ }
3498
+ },
3499
+ {
3500
+ "kind": "js",
3501
+ "name": "*",
3502
+ "declaration": {
3503
+ "name": "*",
3504
+ "package": "./accordion"
3505
3505
  }
3506
3506
  }
3507
3507
  ]
@@ -16267,7 +16267,7 @@
16267
16267
  "type": {
16268
16268
  "text": "ElementStyles"
16269
16269
  },
16270
- "default": "css`\n :host {\n --dialog-close-icon-display: flex;\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n dialog[type='error'],\n dialog[type='alert'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='alert']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--error-color);\n }\n\n dialog[type='alert']::before {\n background-color: var(--warning-color);\n }\n\n dialog[type='success']::before {\n background-color: var(--success-color);\n }\n\n .header-controls {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n .close-icon {\n display: var(--dialog-close-icon-display);\n }\n\n .reset-size-icon {\n display: flex;\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 3px);\n outline: none;\n overflow: inherit;\n z-index: var(--dialog-z-index, auto);\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .top {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n white-space: pre-line;\n }\n\n .content-container {\n box-sizing: border-box;\n }\n\n :host([resizable]) dialog {\n position: relative;\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n }\n\n :host([resizable]) dialog[open] {\n display: flex;\n flex-direction: column;\n }\n\n /* Override design system max-width constraints for resizable dialogs */\n :host([resizable]) dialog .content-wrapper {\n position: relative;\n height: 100%;\n width: 100%;\n max-height: 100%;\n min-width: 100%;\n max-width: 100%;\n resize: none;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n :host([resizable]) .content-container {\n flex: 1 1 auto;\n overflow: auto;\n min-height: 0;\n box-sizing: border-box;\n }\n\n :host([resizable]) .top,\n :host([resizable]) .bottom {\n flex: 0 0 auto;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n /* Resize handles */\n .resize-handle {\n position: absolute;\n z-index: 10;\n }\n\n /* Edge handles */\n .resize-handle-n,\n .resize-handle-s {\n left: 0;\n right: 0;\n height: 8px;\n cursor: ns-resize;\n }\n\n .resize-handle-n {\n top: 0;\n }\n\n .resize-handle-s {\n bottom: 0;\n }\n\n .resize-handle-e,\n .resize-handle-w {\n top: 0;\n bottom: 0;\n width: 8px;\n cursor: ew-resize;\n }\n\n .resize-handle-e {\n right: 0;\n }\n\n .resize-handle-w {\n left: 0;\n }\n\n /* Corner handles */\n .resize-handle-ne,\n .resize-handle-nw,\n .resize-handle-se,\n .resize-handle-sw {\n width: 16px;\n height: 16px;\n }\n\n .resize-handle-ne {\n top: 0;\n right: 0;\n cursor: nesw-resize;\n }\n\n .resize-handle-nw {\n top: 0;\n left: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-se {\n bottom: 0;\n right: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-sw {\n bottom: 0;\n left: 0;\n cursor: nesw-resize;\n }\n\n /* Visual indicator for corner handles */\n .resize-handle-se::after,\n .resize-handle-sw::after,\n .resize-handle-ne::after,\n .resize-handle-nw::after {\n content: '';\n position: absolute;\n width: 8px;\n height: 8px;\n border-style: solid;\n border-color: var(--neutral-stroke-divider-rest);\n opacity: 50%;\n transition: opacity 0.2s;\n margin: 2px;\n }\n\n .resize-handle-se::after {\n bottom: 2px;\n right: 2px;\n border-width: 0 3px 3px 0;\n }\n\n .resize-handle-sw::after {\n bottom: 2px;\n left: 2px;\n border-width: 0 0 3px 3px;\n }\n\n .resize-handle-ne::after {\n top: 2px;\n right: 2px;\n border-width: 3px 3px 0 0;\n }\n\n .resize-handle-nw::after {\n top: 2px;\n left: 2px;\n border-width: 3px 0 0 3px;\n }\n\n /* Hover effect */\n .resize-handle:hover::after {\n opacity: 100%;\n }\n\n /* Resizing state */\n dialog.resizing {\n user-select: none;\n pointer-events: auto;\n }\n\n /* Fixed positioning support for resizable dialogs */\n dialog[style*='position: fixed'] {\n margin: 0;\n }\n`"
16270
+ "default": "css`\n :host {\n --dialog-close-icon-display: flex;\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n dialog[type='error'],\n dialog[type='alert'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='alert']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--error-color);\n }\n\n dialog[type='alert']::before {\n background-color: var(--warning-color);\n }\n\n dialog[type='success']::before {\n background-color: var(--success-color);\n }\n\n .header-controls {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n\n .close-icon {\n display: var(--dialog-close-icon-display);\n }\n\n .reset-size-icon {\n display: flex;\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 3px);\n outline: none;\n overflow: inherit;\n z-index: var(--dialog-z-index, auto);\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .top {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n white-space: pre-line;\n }\n\n .content-container {\n box-sizing: border-box;\n }\n\n :host([resizable]) dialog {\n position: relative;\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n }\n\n :host([resizable]) dialog[open] {\n display: flex;\n flex-direction: column;\n }\n\n /* Override design system max-width constraints for resizable dialogs */\n :host([resizable]) dialog .content-wrapper {\n position: relative;\n height: 100%;\n width: 100%;\n max-height: 100%;\n min-width: 100%;\n max-width: 100%;\n resize: none;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n :host([resizable]) .content-container {\n flex: 1 1 auto;\n overflow: auto;\n min-height: 0;\n box-sizing: border-box;\n }\n\n :host([resizable]) .top,\n :host([resizable]) .bottom {\n flex: 0 0 auto;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n /* Resize handles */\n .resize-handle {\n position: absolute;\n z-index: 10;\n }\n\n /* Edge handles */\n .resize-handle-n,\n .resize-handle-s {\n left: 0;\n right: 0;\n height: 8px;\n cursor: ns-resize;\n }\n\n .resize-handle-n {\n top: 0;\n }\n\n .resize-handle-s {\n bottom: 0;\n }\n\n .resize-handle-e,\n .resize-handle-w {\n top: 0;\n bottom: 0;\n width: 8px;\n cursor: ew-resize;\n }\n\n .resize-handle-e {\n right: 0;\n }\n\n .resize-handle-w {\n left: 0;\n }\n\n /* Corner handles */\n .resize-handle-ne,\n .resize-handle-nw,\n .resize-handle-se,\n .resize-handle-sw {\n width: 16px;\n height: 16px;\n }\n\n .resize-handle-ne {\n top: 0;\n right: 0;\n cursor: nesw-resize;\n }\n\n .resize-handle-nw {\n top: 0;\n left: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-se {\n bottom: 0;\n right: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-sw {\n bottom: 0;\n left: 0;\n cursor: nesw-resize;\n }\n\n /* Visual indicator for corner handles */\n .resize-handle-se::after,\n .resize-handle-sw::after,\n .resize-handle-ne::after,\n .resize-handle-nw::after {\n content: '';\n position: absolute;\n width: 8px;\n height: 8px;\n border-style: solid;\n border-color: var(--neutral-stroke-divider-rest);\n opacity: 50%;\n transition: opacity 0.2s;\n margin: 2px;\n }\n\n .resize-handle-se::after {\n bottom: 2px;\n right: 2px;\n border-width: 0 3px 3px 0;\n }\n\n .resize-handle-sw::after {\n bottom: 2px;\n left: 2px;\n border-width: 0 0 3px 3px;\n }\n\n .resize-handle-ne::after {\n top: 2px;\n right: 2px;\n border-width: 3px 3px 0 0;\n }\n\n .resize-handle-nw::after {\n top: 2px;\n left: 2px;\n border-width: 3px 0 0 3px;\n }\n\n /* Hover effect */\n .resize-handle:hover::after {\n opacity: 100%;\n }\n\n /* Resizing state */\n dialog.resizing {\n user-select: none;\n pointer-events: auto;\n }\n\n /* Fixed positioning support for resizable dialogs */\n dialog[style*='position: fixed'] {\n margin: 0;\n }\n`"
16271
16271
  }
16272
16272
  ],
16273
16273
  "exports": [
@@ -16414,6 +16414,33 @@
16414
16414
  "default": "false",
16415
16415
  "description": "Whether or not the dialog is resizable"
16416
16416
  },
16417
+ {
16418
+ "kind": "field",
16419
+ "name": "draggable",
16420
+ "type": {
16421
+ "text": "boolean"
16422
+ },
16423
+ "default": "false",
16424
+ "description": "Whether or not the dialog is draggable by its top region"
16425
+ },
16426
+ {
16427
+ "kind": "method",
16428
+ "name": "draggableChanged",
16429
+ "parameters": [
16430
+ {
16431
+ "name": "_oldValue",
16432
+ "type": {
16433
+ "text": "boolean"
16434
+ }
16435
+ },
16436
+ {
16437
+ "name": "newValue",
16438
+ "type": {
16439
+ "text": "boolean"
16440
+ }
16441
+ }
16442
+ ]
16443
+ },
16417
16444
  {
16418
16445
  "kind": "field",
16419
16446
  "name": "minWidth",
@@ -16626,6 +16653,78 @@
16626
16653
  "privacy": "private",
16627
16654
  "default": "false"
16628
16655
  },
16656
+ {
16657
+ "kind": "field",
16658
+ "name": "isDragging",
16659
+ "type": {
16660
+ "text": "boolean"
16661
+ },
16662
+ "privacy": "private",
16663
+ "default": "false"
16664
+ },
16665
+ {
16666
+ "kind": "field",
16667
+ "name": "dragOffsetX",
16668
+ "type": {
16669
+ "text": "number"
16670
+ },
16671
+ "privacy": "private",
16672
+ "default": "0"
16673
+ },
16674
+ {
16675
+ "kind": "field",
16676
+ "name": "dragOffsetY",
16677
+ "type": {
16678
+ "text": "number"
16679
+ },
16680
+ "privacy": "private",
16681
+ "default": "0"
16682
+ },
16683
+ {
16684
+ "kind": "field",
16685
+ "name": "dragDialogWidth",
16686
+ "type": {
16687
+ "text": "number"
16688
+ },
16689
+ "privacy": "private",
16690
+ "default": "0"
16691
+ },
16692
+ {
16693
+ "kind": "field",
16694
+ "name": "dragDialogHeight",
16695
+ "type": {
16696
+ "text": "number"
16697
+ },
16698
+ "privacy": "private",
16699
+ "default": "0"
16700
+ },
16701
+ {
16702
+ "kind": "field",
16703
+ "name": "onMouseDownBound",
16704
+ "type": {
16705
+ "text": "((event: MouseEvent) => void) | null"
16706
+ },
16707
+ "privacy": "private",
16708
+ "default": "null"
16709
+ },
16710
+ {
16711
+ "kind": "field",
16712
+ "name": "onMouseMoveBound",
16713
+ "type": {
16714
+ "text": "((event: MouseEvent) => void) | null"
16715
+ },
16716
+ "privacy": "private",
16717
+ "default": "null"
16718
+ },
16719
+ {
16720
+ "kind": "field",
16721
+ "name": "onMouseUpBound",
16722
+ "type": {
16723
+ "text": "(() => void) | null"
16724
+ },
16725
+ "privacy": "private",
16726
+ "default": "null"
16727
+ },
16629
16728
  {
16630
16729
  "kind": "method",
16631
16730
  "name": "setupResizeHandlers",
@@ -16765,6 +16864,93 @@
16765
16864
  },
16766
16865
  "description": "Reset the dialog to its original size and position, or maximize if not resized."
16767
16866
  },
16867
+ {
16868
+ "kind": "method",
16869
+ "name": "attachDragMouseDown",
16870
+ "privacy": "private"
16871
+ },
16872
+ {
16873
+ "kind": "method",
16874
+ "name": "detachDragMouseDown",
16875
+ "privacy": "private"
16876
+ },
16877
+ {
16878
+ "kind": "method",
16879
+ "name": "isEventTargetInDraggableTarget",
16880
+ "privacy": "private",
16881
+ "return": {
16882
+ "type": {
16883
+ "text": "boolean"
16884
+ }
16885
+ },
16886
+ "parameters": [
16887
+ {
16888
+ "name": "event",
16889
+ "type": {
16890
+ "text": "MouseEvent"
16891
+ }
16892
+ }
16893
+ ]
16894
+ },
16895
+ {
16896
+ "kind": "method",
16897
+ "name": "isInsideTopSlot",
16898
+ "privacy": "private",
16899
+ "return": {
16900
+ "type": {
16901
+ "text": "boolean"
16902
+ }
16903
+ },
16904
+ "parameters": [
16905
+ {
16906
+ "name": "target",
16907
+ "type": {
16908
+ "text": "Node"
16909
+ }
16910
+ }
16911
+ ]
16912
+ },
16913
+ {
16914
+ "kind": "method",
16915
+ "name": "onMouseDown",
16916
+ "privacy": "private",
16917
+ "parameters": [
16918
+ {
16919
+ "name": "event",
16920
+ "type": {
16921
+ "text": "MouseEvent"
16922
+ }
16923
+ }
16924
+ ]
16925
+ },
16926
+ {
16927
+ "kind": "method",
16928
+ "name": "onMouseMove",
16929
+ "privacy": "private",
16930
+ "parameters": [
16931
+ {
16932
+ "name": "event",
16933
+ "type": {
16934
+ "text": "MouseEvent"
16935
+ }
16936
+ }
16937
+ ]
16938
+ },
16939
+ {
16940
+ "kind": "method",
16941
+ "name": "onMouseUp",
16942
+ "privacy": "private"
16943
+ },
16944
+ {
16945
+ "kind": "method",
16946
+ "name": "removeDraggableEventListeners",
16947
+ "privacy": "private"
16948
+ },
16949
+ {
16950
+ "kind": "method",
16951
+ "name": "resetDraggableStyle",
16952
+ "privacy": "private"
16953
+ },
16768
16954
  {
16769
16955
  "kind": "field",
16770
16956
  "name": "_presentation",
@@ -16912,6 +17098,14 @@
16912
17098
  "description": "Whether or not the dialog is resizable",
16913
17099
  "fieldName": "resizable"
16914
17100
  },
17101
+ {
17102
+ "type": {
17103
+ "text": "boolean"
17104
+ },
17105
+ "default": "false",
17106
+ "description": "Whether or not the dialog is draggable by its top region",
17107
+ "fieldName": "draggable"
17108
+ },
16915
17109
  {
16916
17110
  "name": "min-width",
16917
17111
  "type": {
@@ -17080,6 +17274,41 @@
17080
17274
  "module": "src/dialog/dialog.ts"
17081
17275
  }
17082
17276
  },
17277
+ {
17278
+ "kind": "field",
17279
+ "name": "draggable",
17280
+ "type": {
17281
+ "text": "boolean"
17282
+ },
17283
+ "default": "false",
17284
+ "description": "Whether or not the dialog is draggable by its top region",
17285
+ "inheritedFrom": {
17286
+ "name": "<local>_DialogElement",
17287
+ "module": "src/dialog/dialog.ts"
17288
+ }
17289
+ },
17290
+ {
17291
+ "kind": "method",
17292
+ "name": "draggableChanged",
17293
+ "parameters": [
17294
+ {
17295
+ "name": "_oldValue",
17296
+ "type": {
17297
+ "text": "boolean"
17298
+ }
17299
+ },
17300
+ {
17301
+ "name": "newValue",
17302
+ "type": {
17303
+ "text": "boolean"
17304
+ }
17305
+ }
17306
+ ],
17307
+ "inheritedFrom": {
17308
+ "name": "<local>_DialogElement",
17309
+ "module": "src/dialog/dialog.ts"
17310
+ }
17311
+ },
17083
17312
  {
17084
17313
  "kind": "field",
17085
17314
  "name": "minWidth",
@@ -17388,6 +17617,110 @@
17388
17617
  "module": "src/dialog/dialog.ts"
17389
17618
  }
17390
17619
  },
17620
+ {
17621
+ "kind": "field",
17622
+ "name": "isDragging",
17623
+ "type": {
17624
+ "text": "boolean"
17625
+ },
17626
+ "privacy": "private",
17627
+ "default": "false",
17628
+ "inheritedFrom": {
17629
+ "name": "<local>_DialogElement",
17630
+ "module": "src/dialog/dialog.ts"
17631
+ }
17632
+ },
17633
+ {
17634
+ "kind": "field",
17635
+ "name": "dragOffsetX",
17636
+ "type": {
17637
+ "text": "number"
17638
+ },
17639
+ "privacy": "private",
17640
+ "default": "0",
17641
+ "inheritedFrom": {
17642
+ "name": "<local>_DialogElement",
17643
+ "module": "src/dialog/dialog.ts"
17644
+ }
17645
+ },
17646
+ {
17647
+ "kind": "field",
17648
+ "name": "dragOffsetY",
17649
+ "type": {
17650
+ "text": "number"
17651
+ },
17652
+ "privacy": "private",
17653
+ "default": "0",
17654
+ "inheritedFrom": {
17655
+ "name": "<local>_DialogElement",
17656
+ "module": "src/dialog/dialog.ts"
17657
+ }
17658
+ },
17659
+ {
17660
+ "kind": "field",
17661
+ "name": "dragDialogWidth",
17662
+ "type": {
17663
+ "text": "number"
17664
+ },
17665
+ "privacy": "private",
17666
+ "default": "0",
17667
+ "inheritedFrom": {
17668
+ "name": "<local>_DialogElement",
17669
+ "module": "src/dialog/dialog.ts"
17670
+ }
17671
+ },
17672
+ {
17673
+ "kind": "field",
17674
+ "name": "dragDialogHeight",
17675
+ "type": {
17676
+ "text": "number"
17677
+ },
17678
+ "privacy": "private",
17679
+ "default": "0",
17680
+ "inheritedFrom": {
17681
+ "name": "<local>_DialogElement",
17682
+ "module": "src/dialog/dialog.ts"
17683
+ }
17684
+ },
17685
+ {
17686
+ "kind": "field",
17687
+ "name": "onMouseDownBound",
17688
+ "type": {
17689
+ "text": "((event: MouseEvent) => void) | null"
17690
+ },
17691
+ "privacy": "private",
17692
+ "default": "null",
17693
+ "inheritedFrom": {
17694
+ "name": "<local>_DialogElement",
17695
+ "module": "src/dialog/dialog.ts"
17696
+ }
17697
+ },
17698
+ {
17699
+ "kind": "field",
17700
+ "name": "onMouseMoveBound",
17701
+ "type": {
17702
+ "text": "((event: MouseEvent) => void) | null"
17703
+ },
17704
+ "privacy": "private",
17705
+ "default": "null",
17706
+ "inheritedFrom": {
17707
+ "name": "<local>_DialogElement",
17708
+ "module": "src/dialog/dialog.ts"
17709
+ }
17710
+ },
17711
+ {
17712
+ "kind": "field",
17713
+ "name": "onMouseUpBound",
17714
+ "type": {
17715
+ "text": "(() => void) | null"
17716
+ },
17717
+ "privacy": "private",
17718
+ "default": "null",
17719
+ "inheritedFrom": {
17720
+ "name": "<local>_DialogElement",
17721
+ "module": "src/dialog/dialog.ts"
17722
+ }
17723
+ },
17391
17724
  {
17392
17725
  "kind": "method",
17393
17726
  "name": "setupResizeHandlers",
@@ -17526,14 +17859,149 @@
17526
17859
  },
17527
17860
  {
17528
17861
  "kind": "method",
17529
- "name": "closeDialog",
17530
- "privacy": "public",
17531
- "return": {
17532
- "type": {
17533
- "text": "void"
17534
- }
17535
- },
17536
- "description": "Dismiss the Dialog from display.",
17862
+ "name": "closeDialog",
17863
+ "privacy": "public",
17864
+ "return": {
17865
+ "type": {
17866
+ "text": "void"
17867
+ }
17868
+ },
17869
+ "description": "Dismiss the Dialog from display.",
17870
+ "inheritedFrom": {
17871
+ "name": "<local>_DialogElement",
17872
+ "module": "src/dialog/dialog.ts"
17873
+ }
17874
+ },
17875
+ {
17876
+ "kind": "method",
17877
+ "name": "maximize",
17878
+ "privacy": "private",
17879
+ "return": {
17880
+ "type": {
17881
+ "text": "void"
17882
+ }
17883
+ },
17884
+ "description": "Maximize the dialog to fill the viewport.",
17885
+ "inheritedFrom": {
17886
+ "name": "<local>_DialogElement",
17887
+ "module": "src/dialog/dialog.ts"
17888
+ }
17889
+ },
17890
+ {
17891
+ "kind": "method",
17892
+ "name": "resetSize",
17893
+ "privacy": "public",
17894
+ "return": {
17895
+ "type": {
17896
+ "text": "void"
17897
+ }
17898
+ },
17899
+ "description": "Reset the dialog to its original size and position, or maximize if not resized.",
17900
+ "inheritedFrom": {
17901
+ "name": "<local>_DialogElement",
17902
+ "module": "src/dialog/dialog.ts"
17903
+ }
17904
+ },
17905
+ {
17906
+ "kind": "method",
17907
+ "name": "attachDragMouseDown",
17908
+ "privacy": "private",
17909
+ "inheritedFrom": {
17910
+ "name": "<local>_DialogElement",
17911
+ "module": "src/dialog/dialog.ts"
17912
+ }
17913
+ },
17914
+ {
17915
+ "kind": "method",
17916
+ "name": "detachDragMouseDown",
17917
+ "privacy": "private",
17918
+ "inheritedFrom": {
17919
+ "name": "<local>_DialogElement",
17920
+ "module": "src/dialog/dialog.ts"
17921
+ }
17922
+ },
17923
+ {
17924
+ "kind": "method",
17925
+ "name": "isEventTargetInDraggableTarget",
17926
+ "privacy": "private",
17927
+ "return": {
17928
+ "type": {
17929
+ "text": "boolean"
17930
+ }
17931
+ },
17932
+ "parameters": [
17933
+ {
17934
+ "name": "event",
17935
+ "type": {
17936
+ "text": "MouseEvent"
17937
+ }
17938
+ }
17939
+ ],
17940
+ "inheritedFrom": {
17941
+ "name": "<local>_DialogElement",
17942
+ "module": "src/dialog/dialog.ts"
17943
+ }
17944
+ },
17945
+ {
17946
+ "kind": "method",
17947
+ "name": "isInsideTopSlot",
17948
+ "privacy": "private",
17949
+ "return": {
17950
+ "type": {
17951
+ "text": "boolean"
17952
+ }
17953
+ },
17954
+ "parameters": [
17955
+ {
17956
+ "name": "target",
17957
+ "type": {
17958
+ "text": "Node"
17959
+ }
17960
+ }
17961
+ ],
17962
+ "inheritedFrom": {
17963
+ "name": "<local>_DialogElement",
17964
+ "module": "src/dialog/dialog.ts"
17965
+ }
17966
+ },
17967
+ {
17968
+ "kind": "method",
17969
+ "name": "onMouseDown",
17970
+ "privacy": "private",
17971
+ "parameters": [
17972
+ {
17973
+ "name": "event",
17974
+ "type": {
17975
+ "text": "MouseEvent"
17976
+ }
17977
+ }
17978
+ ],
17979
+ "inheritedFrom": {
17980
+ "name": "<local>_DialogElement",
17981
+ "module": "src/dialog/dialog.ts"
17982
+ }
17983
+ },
17984
+ {
17985
+ "kind": "method",
17986
+ "name": "onMouseMove",
17987
+ "privacy": "private",
17988
+ "parameters": [
17989
+ {
17990
+ "name": "event",
17991
+ "type": {
17992
+ "text": "MouseEvent"
17993
+ }
17994
+ }
17995
+ ],
17996
+ "inheritedFrom": {
17997
+ "name": "<local>_DialogElement",
17998
+ "module": "src/dialog/dialog.ts"
17999
+ }
18000
+ },
18001
+ {
18002
+ "kind": "method",
18003
+ "name": "onMouseUp",
18004
+ "privacy": "private",
17537
18005
  "inheritedFrom": {
17538
18006
  "name": "<local>_DialogElement",
17539
18007
  "module": "src/dialog/dialog.ts"
@@ -17541,14 +18009,8 @@
17541
18009
  },
17542
18010
  {
17543
18011
  "kind": "method",
17544
- "name": "maximize",
18012
+ "name": "removeDraggableEventListeners",
17545
18013
  "privacy": "private",
17546
- "return": {
17547
- "type": {
17548
- "text": "void"
17549
- }
17550
- },
17551
- "description": "Maximize the dialog to fill the viewport.",
17552
18014
  "inheritedFrom": {
17553
18015
  "name": "<local>_DialogElement",
17554
18016
  "module": "src/dialog/dialog.ts"
@@ -17556,14 +18018,8 @@
17556
18018
  },
17557
18019
  {
17558
18020
  "kind": "method",
17559
- "name": "resetSize",
17560
- "privacy": "public",
17561
- "return": {
17562
- "type": {
17563
- "text": "void"
17564
- }
17565
- },
17566
- "description": "Reset the dialog to its original size and position, or maximize if not resized.",
18021
+ "name": "resetDraggableStyle",
18022
+ "privacy": "private",
17567
18023
  "inheritedFrom": {
17568
18024
  "name": "<local>_DialogElement",
17569
18025
  "module": "src/dialog/dialog.ts"
@@ -17748,6 +18204,18 @@
17748
18204
  "module": "src/dialog/dialog.ts"
17749
18205
  }
17750
18206
  },
18207
+ {
18208
+ "type": {
18209
+ "text": "boolean"
18210
+ },
18211
+ "default": "false",
18212
+ "description": "Whether or not the dialog is draggable by its top region",
18213
+ "fieldName": "draggable",
18214
+ "inheritedFrom": {
18215
+ "name": "<local>_DialogElement",
18216
+ "module": "src/dialog/dialog.ts"
18217
+ }
18218
+ },
17751
18219
  {
17752
18220
  "name": "min-width",
17753
18221
  "type": {
@@ -30057,7 +30525,7 @@
30057
30525
  "type": {
30058
30526
  "text": "ElementStyles"
30059
30527
  },
30060
- "default": "css`\n ${foundationDialogStyles}\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n`"
30528
+ "default": "css`\n ${foundationDialogStyles}\n`"
30061
30529
  }
30062
30530
  ],
30063
30531
  "exports": [
@@ -30120,101 +30588,6 @@
30120
30588
  "description": "",
30121
30589
  "name": "Modal",
30122
30590
  "members": [
30123
- {
30124
- "kind": "field",
30125
- "name": "isDragging",
30126
- "type": {
30127
- "text": "boolean"
30128
- },
30129
- "privacy": "private",
30130
- "default": "false"
30131
- },
30132
- {
30133
- "kind": "field",
30134
- "name": "offsetX",
30135
- "type": {
30136
- "text": "number"
30137
- },
30138
- "privacy": "private",
30139
- "default": "0"
30140
- },
30141
- {
30142
- "kind": "field",
30143
- "name": "offsetY",
30144
- "type": {
30145
- "text": "number"
30146
- },
30147
- "privacy": "private",
30148
- "default": "0"
30149
- },
30150
- {
30151
- "kind": "field",
30152
- "name": "modalWidth",
30153
- "type": {
30154
- "text": "number"
30155
- },
30156
- "privacy": "private",
30157
- "default": "0"
30158
- },
30159
- {
30160
- "kind": "field",
30161
- "name": "modalHeight",
30162
- "type": {
30163
- "text": "number"
30164
- },
30165
- "privacy": "private",
30166
- "default": "0"
30167
- },
30168
- {
30169
- "kind": "field",
30170
- "name": "onMouseDownBound",
30171
- "type": {
30172
- "text": "((event: MouseEvent) => void) | null"
30173
- },
30174
- "privacy": "private",
30175
- "default": "null"
30176
- },
30177
- {
30178
- "kind": "field",
30179
- "name": "onMouseMoveBound",
30180
- "type": {
30181
- "text": "((event: MouseEvent) => void) | null"
30182
- },
30183
- "privacy": "private",
30184
- "default": "null"
30185
- },
30186
- {
30187
- "kind": "field",
30188
- "name": "onMouseUpBound",
30189
- "type": {
30190
- "text": "(() => void) | null"
30191
- },
30192
- "privacy": "private",
30193
- "default": "null"
30194
- },
30195
- {
30196
- "kind": "field",
30197
- "name": "draggable",
30198
- "type": {
30199
- "text": "boolean"
30200
- },
30201
- "default": "false"
30202
- },
30203
- {
30204
- "kind": "method",
30205
- "name": "draggableChanged",
30206
- "parameters": [
30207
- {
30208
- "name": "ignore"
30209
- },
30210
- {
30211
- "name": "newValue",
30212
- "type": {
30213
- "text": "boolean"
30214
- }
30215
- }
30216
- ]
30217
- },
30218
30591
  {
30219
30592
  "kind": "method",
30220
30593
  "name": "show",
@@ -30229,90 +30602,6 @@
30229
30602
  "module": "src/dialog/dialog.ts"
30230
30603
  }
30231
30604
  },
30232
- {
30233
- "kind": "field",
30234
- "name": "onCloseCallback",
30235
- "type": {
30236
- "text": "() => void"
30237
- },
30238
- "description": "Callback to run *after* HTMLDialogElement is closed",
30239
- "inheritedFrom": {
30240
- "name": "<local>_DialogElement",
30241
- "module": "src/dialog/dialog.ts"
30242
- }
30243
- },
30244
- {
30245
- "kind": "method",
30246
- "name": "isEventTargetInDraggableTarget",
30247
- "privacy": "private",
30248
- "return": {
30249
- "type": {
30250
- "text": "boolean"
30251
- }
30252
- },
30253
- "parameters": [
30254
- {
30255
- "name": "event",
30256
- "type": {
30257
- "text": "MouseEvent"
30258
- }
30259
- }
30260
- ]
30261
- },
30262
- {
30263
- "kind": "method",
30264
- "name": "isInsideTopSlot",
30265
- "privacy": "private",
30266
- "return": {
30267
- "type": {
30268
- "text": "boolean"
30269
- }
30270
- },
30271
- "parameters": [
30272
- {
30273
- "name": "target",
30274
- "type": {
30275
- "text": "Node"
30276
- }
30277
- }
30278
- ]
30279
- },
30280
- {
30281
- "kind": "method",
30282
- "name": "onMouseDown",
30283
- "privacy": "private",
30284
- "parameters": [
30285
- {
30286
- "name": "event",
30287
- "type": {
30288
- "text": "MouseEvent"
30289
- }
30290
- }
30291
- ]
30292
- },
30293
- {
30294
- "kind": "method",
30295
- "name": "onMouseMove",
30296
- "privacy": "private",
30297
- "parameters": [
30298
- {
30299
- "name": "event",
30300
- "type": {
30301
- "text": "MouseEvent"
30302
- }
30303
- }
30304
- ]
30305
- },
30306
- {
30307
- "kind": "method",
30308
- "name": "onMouseUp",
30309
- "privacy": "private"
30310
- },
30311
- {
30312
- "kind": "method",
30313
- "name": "removeDraggableEventListeners",
30314
- "privacy": "private"
30315
- },
30316
30605
  {
30317
30606
  "kind": "field",
30318
30607
  "name": "mainElement",
@@ -30416,6 +30705,41 @@
30416
30705
  "module": "src/dialog/dialog.ts"
30417
30706
  }
30418
30707
  },
30708
+ {
30709
+ "kind": "field",
30710
+ "name": "draggable",
30711
+ "type": {
30712
+ "text": "boolean"
30713
+ },
30714
+ "default": "false",
30715
+ "description": "Whether or not the dialog is draggable by its top region",
30716
+ "inheritedFrom": {
30717
+ "name": "<local>_DialogElement",
30718
+ "module": "src/dialog/dialog.ts"
30719
+ }
30720
+ },
30721
+ {
30722
+ "kind": "method",
30723
+ "name": "draggableChanged",
30724
+ "parameters": [
30725
+ {
30726
+ "name": "_oldValue",
30727
+ "type": {
30728
+ "text": "boolean"
30729
+ }
30730
+ },
30731
+ {
30732
+ "name": "newValue",
30733
+ "type": {
30734
+ "text": "boolean"
30735
+ }
30736
+ }
30737
+ ],
30738
+ "inheritedFrom": {
30739
+ "name": "<local>_DialogElement",
30740
+ "module": "src/dialog/dialog.ts"
30741
+ }
30742
+ },
30419
30743
  {
30420
30744
  "kind": "field",
30421
30745
  "name": "minWidth",
@@ -30468,11 +30792,23 @@
30468
30792
  },
30469
30793
  {
30470
30794
  "kind": "field",
30471
- "name": "onShowCallback",
30795
+ "name": "onShowCallback",
30796
+ "type": {
30797
+ "text": "() => void"
30798
+ },
30799
+ "description": "Callback to run *before* HTMLDialogElement is shown",
30800
+ "inheritedFrom": {
30801
+ "name": "<local>_DialogElement",
30802
+ "module": "src/dialog/dialog.ts"
30803
+ }
30804
+ },
30805
+ {
30806
+ "kind": "field",
30807
+ "name": "onCloseCallback",
30472
30808
  "type": {
30473
30809
  "text": "() => void"
30474
30810
  },
30475
- "description": "Callback to run *before* HTMLDialogElement is shown",
30811
+ "description": "Callback to run *after* HTMLDialogElement is closed",
30476
30812
  "inheritedFrom": {
30477
30813
  "name": "<local>_DialogElement",
30478
30814
  "module": "src/dialog/dialog.ts"
@@ -30712,6 +31048,110 @@
30712
31048
  "module": "src/dialog/dialog.ts"
30713
31049
  }
30714
31050
  },
31051
+ {
31052
+ "kind": "field",
31053
+ "name": "isDragging",
31054
+ "type": {
31055
+ "text": "boolean"
31056
+ },
31057
+ "privacy": "private",
31058
+ "default": "false",
31059
+ "inheritedFrom": {
31060
+ "name": "<local>_DialogElement",
31061
+ "module": "src/dialog/dialog.ts"
31062
+ }
31063
+ },
31064
+ {
31065
+ "kind": "field",
31066
+ "name": "dragOffsetX",
31067
+ "type": {
31068
+ "text": "number"
31069
+ },
31070
+ "privacy": "private",
31071
+ "default": "0",
31072
+ "inheritedFrom": {
31073
+ "name": "<local>_DialogElement",
31074
+ "module": "src/dialog/dialog.ts"
31075
+ }
31076
+ },
31077
+ {
31078
+ "kind": "field",
31079
+ "name": "dragOffsetY",
31080
+ "type": {
31081
+ "text": "number"
31082
+ },
31083
+ "privacy": "private",
31084
+ "default": "0",
31085
+ "inheritedFrom": {
31086
+ "name": "<local>_DialogElement",
31087
+ "module": "src/dialog/dialog.ts"
31088
+ }
31089
+ },
31090
+ {
31091
+ "kind": "field",
31092
+ "name": "dragDialogWidth",
31093
+ "type": {
31094
+ "text": "number"
31095
+ },
31096
+ "privacy": "private",
31097
+ "default": "0",
31098
+ "inheritedFrom": {
31099
+ "name": "<local>_DialogElement",
31100
+ "module": "src/dialog/dialog.ts"
31101
+ }
31102
+ },
31103
+ {
31104
+ "kind": "field",
31105
+ "name": "dragDialogHeight",
31106
+ "type": {
31107
+ "text": "number"
31108
+ },
31109
+ "privacy": "private",
31110
+ "default": "0",
31111
+ "inheritedFrom": {
31112
+ "name": "<local>_DialogElement",
31113
+ "module": "src/dialog/dialog.ts"
31114
+ }
31115
+ },
31116
+ {
31117
+ "kind": "field",
31118
+ "name": "onMouseDownBound",
31119
+ "type": {
31120
+ "text": "((event: MouseEvent) => void) | null"
31121
+ },
31122
+ "privacy": "private",
31123
+ "default": "null",
31124
+ "inheritedFrom": {
31125
+ "name": "<local>_DialogElement",
31126
+ "module": "src/dialog/dialog.ts"
31127
+ }
31128
+ },
31129
+ {
31130
+ "kind": "field",
31131
+ "name": "onMouseMoveBound",
31132
+ "type": {
31133
+ "text": "((event: MouseEvent) => void) | null"
31134
+ },
31135
+ "privacy": "private",
31136
+ "default": "null",
31137
+ "inheritedFrom": {
31138
+ "name": "<local>_DialogElement",
31139
+ "module": "src/dialog/dialog.ts"
31140
+ }
31141
+ },
31142
+ {
31143
+ "kind": "field",
31144
+ "name": "onMouseUpBound",
31145
+ "type": {
31146
+ "text": "(() => void) | null"
31147
+ },
31148
+ "privacy": "private",
31149
+ "default": "null",
31150
+ "inheritedFrom": {
31151
+ "name": "<local>_DialogElement",
31152
+ "module": "src/dialog/dialog.ts"
31153
+ }
31154
+ },
30715
31155
  {
30716
31156
  "kind": "method",
30717
31157
  "name": "setupResizeHandlers",
@@ -30893,6 +31333,129 @@
30893
31333
  "module": "src/dialog/dialog.ts"
30894
31334
  }
30895
31335
  },
31336
+ {
31337
+ "kind": "method",
31338
+ "name": "attachDragMouseDown",
31339
+ "privacy": "private",
31340
+ "inheritedFrom": {
31341
+ "name": "<local>_DialogElement",
31342
+ "module": "src/dialog/dialog.ts"
31343
+ }
31344
+ },
31345
+ {
31346
+ "kind": "method",
31347
+ "name": "detachDragMouseDown",
31348
+ "privacy": "private",
31349
+ "inheritedFrom": {
31350
+ "name": "<local>_DialogElement",
31351
+ "module": "src/dialog/dialog.ts"
31352
+ }
31353
+ },
31354
+ {
31355
+ "kind": "method",
31356
+ "name": "isEventTargetInDraggableTarget",
31357
+ "privacy": "private",
31358
+ "return": {
31359
+ "type": {
31360
+ "text": "boolean"
31361
+ }
31362
+ },
31363
+ "parameters": [
31364
+ {
31365
+ "name": "event",
31366
+ "type": {
31367
+ "text": "MouseEvent"
31368
+ }
31369
+ }
31370
+ ],
31371
+ "inheritedFrom": {
31372
+ "name": "<local>_DialogElement",
31373
+ "module": "src/dialog/dialog.ts"
31374
+ }
31375
+ },
31376
+ {
31377
+ "kind": "method",
31378
+ "name": "isInsideTopSlot",
31379
+ "privacy": "private",
31380
+ "return": {
31381
+ "type": {
31382
+ "text": "boolean"
31383
+ }
31384
+ },
31385
+ "parameters": [
31386
+ {
31387
+ "name": "target",
31388
+ "type": {
31389
+ "text": "Node"
31390
+ }
31391
+ }
31392
+ ],
31393
+ "inheritedFrom": {
31394
+ "name": "<local>_DialogElement",
31395
+ "module": "src/dialog/dialog.ts"
31396
+ }
31397
+ },
31398
+ {
31399
+ "kind": "method",
31400
+ "name": "onMouseDown",
31401
+ "privacy": "private",
31402
+ "parameters": [
31403
+ {
31404
+ "name": "event",
31405
+ "type": {
31406
+ "text": "MouseEvent"
31407
+ }
31408
+ }
31409
+ ],
31410
+ "inheritedFrom": {
31411
+ "name": "<local>_DialogElement",
31412
+ "module": "src/dialog/dialog.ts"
31413
+ }
31414
+ },
31415
+ {
31416
+ "kind": "method",
31417
+ "name": "onMouseMove",
31418
+ "privacy": "private",
31419
+ "parameters": [
31420
+ {
31421
+ "name": "event",
31422
+ "type": {
31423
+ "text": "MouseEvent"
31424
+ }
31425
+ }
31426
+ ],
31427
+ "inheritedFrom": {
31428
+ "name": "<local>_DialogElement",
31429
+ "module": "src/dialog/dialog.ts"
31430
+ }
31431
+ },
31432
+ {
31433
+ "kind": "method",
31434
+ "name": "onMouseUp",
31435
+ "privacy": "private",
31436
+ "inheritedFrom": {
31437
+ "name": "<local>_DialogElement",
31438
+ "module": "src/dialog/dialog.ts"
31439
+ }
31440
+ },
31441
+ {
31442
+ "kind": "method",
31443
+ "name": "removeDraggableEventListeners",
31444
+ "privacy": "private",
31445
+ "inheritedFrom": {
31446
+ "name": "<local>_DialogElement",
31447
+ "module": "src/dialog/dialog.ts"
31448
+ }
31449
+ },
31450
+ {
31451
+ "kind": "method",
31452
+ "name": "resetDraggableStyle",
31453
+ "privacy": "private",
31454
+ "inheritedFrom": {
31455
+ "name": "<local>_DialogElement",
31456
+ "module": "src/dialog/dialog.ts"
31457
+ }
31458
+ },
30896
31459
  {
30897
31460
  "kind": "field",
30898
31461
  "name": "_presentation",
@@ -31005,14 +31568,13 @@
31005
31568
  }
31006
31569
  }
31007
31570
  ],
31571
+ "superclass": {
31572
+ "name": "DialogElement",
31573
+ "module": "/src/dialog"
31574
+ },
31575
+ "tagName": "%%prefix%%-modal",
31576
+ "customElement": true,
31008
31577
  "attributes": [
31009
- {
31010
- "type": {
31011
- "text": "boolean"
31012
- },
31013
- "default": "false",
31014
- "fieldName": "draggable"
31015
- },
31016
31578
  {
31017
31579
  "name": "type",
31018
31580
  "type": {
@@ -31063,6 +31625,18 @@
31063
31625
  "module": "src/dialog/dialog.ts"
31064
31626
  }
31065
31627
  },
31628
+ {
31629
+ "type": {
31630
+ "text": "boolean"
31631
+ },
31632
+ "default": "false",
31633
+ "description": "Whether or not the dialog is draggable by its top region",
31634
+ "fieldName": "draggable",
31635
+ "inheritedFrom": {
31636
+ "name": "<local>_DialogElement",
31637
+ "module": "src/dialog/dialog.ts"
31638
+ }
31639
+ },
31066
31640
  {
31067
31641
  "name": "min-width",
31068
31642
  "type": {
@@ -31119,13 +31693,7 @@
31119
31693
  "module": "src/dialog/dialog.ts"
31120
31694
  }
31121
31695
  }
31122
- ],
31123
- "superclass": {
31124
- "name": "DialogElement",
31125
- "module": "/src/dialog"
31126
- },
31127
- "tagName": "%%prefix%%-modal",
31128
- "customElement": true
31696
+ ]
31129
31697
  },
31130
31698
  {
31131
31699
  "kind": "variable",