@genesislcap/foundation-ui 14.439.3 → 14.442.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.
Files changed (134) hide show
  1. package/dist/custom-elements.json +1293 -725
  2. package/dist/dts/accordion/accordion.template.d.ts.map +1 -1
  3. package/dist/dts/accordion-item/accordion-item.template.d.ts.map +1 -1
  4. package/dist/dts/actions-menu/actions-menu.d.ts.map +1 -1
  5. package/dist/dts/actions-menu/actions-menu.styles.d.ts.map +1 -1
  6. package/dist/dts/actions-menu/actions-menu.template.d.ts.map +1 -1
  7. package/dist/dts/anchor/anchor.template.d.ts.map +1 -1
  8. package/dist/dts/anchored-region/anchor-region.template.d.ts.map +1 -1
  9. package/dist/dts/avatar/avatar.template.d.ts.map +1 -1
  10. package/dist/dts/badge/badge.template.d.ts.map +1 -1
  11. package/dist/dts/banner/banner.styles.d.ts.map +1 -1
  12. package/dist/dts/breadcrumb/breadcrumb.template.d.ts.map +1 -1
  13. package/dist/dts/breadcrumb-item/breadcrumb-item.template.d.ts.map +1 -1
  14. package/dist/dts/button/button.template.d.ts.map +1 -1
  15. package/dist/dts/calendar/calendar.template.d.ts.map +1 -1
  16. package/dist/dts/card/card.template.d.ts.map +1 -1
  17. package/dist/dts/checkbox/checkbox.template.d.ts.map +1 -1
  18. package/dist/dts/combobox/combobox.d.ts.map +1 -1
  19. package/dist/dts/combobox/combobox.template.d.ts.map +1 -1
  20. package/dist/dts/connection-indicator/connection-indicator.styles.d.ts.map +1 -1
  21. package/dist/dts/connection-indicator/connection-indicator.template.d.ts.map +1 -1
  22. package/dist/dts/data-grid/data-grid.styles.d.ts.map +1 -1
  23. package/dist/dts/data-grid/data-grid.template.d.ts.map +1 -1
  24. package/dist/dts/data-grid-cell/data-grid-cell.styles.d.ts.map +1 -1
  25. package/dist/dts/data-grid-row/data-grid-row.styles.d.ts.map +1 -1
  26. package/dist/dts/date-picker/date-picker.d.ts +1 -1
  27. package/dist/dts/date-picker/date-picker.d.ts.map +1 -1
  28. package/dist/dts/date-picker/date-picker.styles.d.ts.map +1 -1
  29. package/dist/dts/date-picker/date-picker.template.d.ts.map +1 -1
  30. package/dist/dts/date-picker/month.d.ts.map +1 -1
  31. package/dist/dts/design-system-provider/design-system-provider.utils.d.ts +1 -2
  32. package/dist/dts/design-system-provider/design-system-provider.utils.d.ts.map +1 -1
  33. package/dist/dts/dialog/dialog.d.ts +22 -0
  34. package/dist/dts/dialog/dialog.d.ts.map +1 -1
  35. package/dist/dts/dialog/dialog.styles.d.ts.map +1 -1
  36. package/dist/dts/disclosure/disclosure.template.d.ts.map +1 -1
  37. package/dist/dts/divider/divider.template.d.ts.map +1 -1
  38. package/dist/dts/dropdown-menu/dropdown-menu.styles.d.ts.map +1 -1
  39. package/dist/dts/error-dialog/error-dialog.styles.d.ts.map +1 -1
  40. package/dist/dts/file-upload/file-upload.styles.d.ts.map +1 -1
  41. package/dist/dts/filter/filter.d.ts.map +1 -1
  42. package/dist/dts/filter/filter.template.d.ts.map +1 -1
  43. package/dist/dts/flex-layout/flex-layout.styles.d.ts.map +1 -1
  44. package/dist/dts/flex-layout/flex-layout.template.d.ts.map +1 -1
  45. package/dist/dts/flipper/flipper.template.d.ts.map +1 -1
  46. package/dist/dts/flyout/flyout.styles.d.ts.map +1 -1
  47. package/dist/dts/grid-layout/grid-layout.styles.d.ts.map +1 -1
  48. package/dist/dts/grid-layout/grid-layout.template.d.ts.map +1 -1
  49. package/dist/dts/grid-layout-item/grid-layout-item.template.d.ts.map +1 -1
  50. package/dist/dts/horizontal-scroll/horizontal-scroll.template.d.ts.map +1 -1
  51. package/dist/dts/icon/icon.styles.d.ts.map +1 -1
  52. package/dist/dts/icon/icon.template.d.ts.map +1 -1
  53. package/dist/dts/listbox/listbox.template.d.ts.map +1 -1
  54. package/dist/dts/listbox-option/listbox-option.template.d.ts.map +1 -1
  55. package/dist/dts/menu/menu.template.d.ts.map +1 -1
  56. package/dist/dts/menu-item/menu-item.template.d.ts.map +1 -1
  57. package/dist/dts/modal/modal.d.ts +0 -19
  58. package/dist/dts/modal/modal.d.ts.map +1 -1
  59. package/dist/dts/modal/modal.styles.d.ts.map +1 -1
  60. package/dist/dts/modal/modal.template.d.ts.map +1 -1
  61. package/dist/dts/notification-listener/notification-listener.d.ts.map +1 -1
  62. package/dist/dts/options-datasource/multiselect-datasource.d.ts.map +1 -1
  63. package/dist/dts/options-datasource/options-datasource.d.ts.map +1 -1
  64. package/dist/dts/popper/popper.d.ts.map +1 -1
  65. package/dist/dts/progress/progress.template.d.ts.map +1 -1
  66. package/dist/dts/progress-ring/progress-ring.template.d.ts.map +1 -1
  67. package/dist/dts/provide-design-system.d.ts.map +1 -1
  68. package/dist/dts/radio/radio.template.d.ts.map +1 -1
  69. package/dist/dts/radio-group/radio-group.template.d.ts.map +1 -1
  70. package/dist/dts/react.d.ts +9 -9
  71. package/dist/dts/router/events.d.ts +1 -1
  72. package/dist/dts/router/navigation.d.ts +5 -5
  73. package/dist/dts/router/navigation.d.ts.map +1 -1
  74. package/dist/dts/scheduler/scheduler.styles.d.ts.map +1 -1
  75. package/dist/dts/scheduler-cron-builder/daily-recurrence/daily-recurrence.styles.d.ts.map +1 -1
  76. package/dist/dts/scheduler-cron-builder/monthly-yearly-recurrence/monthly-yearly-recurrence.styles.d.ts.map +1 -1
  77. package/dist/dts/scheduler-cron-builder/scheduler-cron-builder.d.ts +1 -1
  78. package/dist/dts/scheduler-cron-builder/scheduler-cron-builder.d.ts.map +1 -1
  79. package/dist/dts/scheduler-cron-builder/scheduler-cron-builder.styles.d.ts.map +1 -1
  80. package/dist/dts/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.d.ts.map +1 -1
  81. package/dist/dts/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.styles.d.ts.map +1 -1
  82. package/dist/dts/scheduler-timezone/scheduler-timezone.styles.d.ts.map +1 -1
  83. package/dist/dts/search-bar/search-bar-combobox.template.d.ts +1 -1
  84. package/dist/dts/search-bar/search-bar-combobox.template.d.ts.map +1 -1
  85. package/dist/dts/segmented-control/segmented-control.template.d.ts.map +1 -1
  86. package/dist/dts/select/select.template.d.ts.map +1 -1
  87. package/dist/dts/skeleton/skeleton.template.d.ts.map +1 -1
  88. package/dist/dts/slider/slider.template.d.ts.map +1 -1
  89. package/dist/dts/slider-label/slider-label.template.d.ts.map +1 -1
  90. package/dist/dts/snackbar/snackbar.styles.d.ts.map +1 -1
  91. package/dist/dts/stacking-icons/stacking-icons.styles.d.ts.map +1 -1
  92. package/dist/dts/stacking-icons/stacking-icons.template.d.ts.map +1 -1
  93. package/dist/dts/stepper-tab-panel/stepper-tab-panel.template.d.ts.map +1 -1
  94. package/dist/dts/switch/switch.template.d.ts.map +1 -1
  95. package/dist/dts/tab/tab.template.d.ts.map +1 -1
  96. package/dist/dts/tab-panel/tab-panel.template.d.ts.map +1 -1
  97. package/dist/dts/tabs/tabs.d.ts.map +1 -1
  98. package/dist/dts/tabs/tabs.template.d.ts.map +1 -1
  99. package/dist/dts/text-area/text-area.template.d.ts.map +1 -1
  100. package/dist/dts/text-field/text-field.template.d.ts.map +1 -1
  101. package/dist/dts/toast/toast.d.ts.map +1 -1
  102. package/dist/dts/toast/toast.styles.d.ts.map +1 -1
  103. package/dist/dts/toast/toast.template.d.ts.map +1 -1
  104. package/dist/dts/toolbar/toolbar.template.d.ts.map +1 -1
  105. package/dist/dts/tooltip/tooltip.template.d.ts.map +1 -1
  106. package/dist/dts/tree-item/tree-item.template.d.ts.map +1 -1
  107. package/dist/dts/tree-view/tree-view.template.d.ts.map +1 -1
  108. package/dist/esm/combobox/combobox.js +1 -2
  109. package/dist/esm/connection-indicator/connection-indicator.styles.js +2 -5
  110. package/dist/esm/connection-indicator/connection-indicator.template.js +1 -2
  111. package/dist/esm/date-picker/date-picker.template.js +1 -2
  112. package/dist/esm/date-picker/day.util.js +1 -1
  113. package/dist/esm/date-picker/month.js +1 -1
  114. package/dist/esm/dialog/dialog.js +115 -0
  115. package/dist/esm/dialog/dialog.styles.js +4 -0
  116. package/dist/esm/filter/filter.js +1 -1
  117. package/dist/esm/filter/filter.template.js +1 -0
  118. package/dist/esm/grid-layout-item/grid-layout-item.template.js +0 -3
  119. package/dist/esm/modal/modal.js +0 -116
  120. package/dist/esm/modal/modal.styles.js +0 -4
  121. package/dist/esm/notification-listener/notification-listener.js +2 -3
  122. package/dist/esm/options-datasource/options-datasource.js +1 -2
  123. package/dist/esm/popper/popper.js +1 -0
  124. package/dist/esm/router/navigation.js +4 -1
  125. package/dist/esm/scheduler-cron-builder/scheduler-cron-builder.js +2 -3
  126. package/dist/esm/scheduler-cron-builder/weekly-recurrence/weekly-recurrence.js +1 -3
  127. package/dist/esm/search-bar/search-bar-combobox.template.js +1 -2
  128. package/dist/esm/tabs/tabs.js +1 -0
  129. package/dist/esm/toast/toast.js +1 -1
  130. package/dist/esm/toast/toast.template.js +3 -1
  131. package/dist/react.cjs +6 -6
  132. package/dist/react.mjs +5 -5
  133. package/package.json +21 -21
  134. package/public/ag-grid/preview.html +468 -432
@@ -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"
2452
+ "default": "'Describe your search criteria in natural language...'"
2453
+ },
2454
+ {
2455
+ "kind": "field",
2456
+ "name": "disabled",
2457
+ "type": {
2458
+ "text": "boolean"
2503
2459
  }
2504
2460
  },
2505
2461
  {
2506
2462
  "kind": "field",
2507
- "name": "activeid",
2463
+ "name": "inputValue",
2508
2464
  "type": {
2509
- "text": "string | null"
2465
+ "text": "string"
2510
2466
  },
2511
- "privacy": "private",
2512
- "inheritedFrom": {
2513
- "name": "Accordion",
2514
- "module": "src/accordion/accordion.ts"
2515
- }
2467
+ "default": "''"
2516
2468
  },
2517
2469
  {
2518
2470
  "kind": "field",
2519
- "name": "activeItemIndex",
2471
+ "name": "isInterpreting",
2520
2472
  "type": {
2521
- "text": "number"
2473
+ "text": "boolean"
2522
2474
  },
2523
- "privacy": "private",
2524
- "default": "0",
2525
- "inheritedFrom": {
2526
- "name": "Accordion",
2527
- "module": "src/accordion/accordion.ts"
2528
- }
2475
+ "default": "false"
2529
2476
  },
2530
2477
  {
2531
2478
  "kind": "field",
2532
- "name": "accordionIds",
2479
+ "name": "lastValidCriteria",
2533
2480
  "type": {
2534
- "text": "Array<string | null>"
2481
+ "text": "string | null"
2535
2482
  },
2536
- "privacy": "private",
2537
- "inheritedFrom": {
2538
- "name": "Accordion",
2539
- "module": "src/accordion/accordion.ts"
2540
- }
2483
+ "default": "null"
2541
2484
  },
2542
2485
  {
2543
2486
  "kind": "field",
2544
- "name": "change",
2545
- "privacy": "private",
2546
- "inheritedFrom": {
2547
- "name": "Accordion",
2548
- "module": "src/accordion/accordion.ts"
2549
- }
2487
+ "name": "activeGroups",
2488
+ "type": {
2489
+ "text": "CriteriaGroup[]"
2490
+ },
2491
+ "default": "[]"
2550
2492
  },
2551
2493
  {
2552
- "kind": "method",
2553
- "name": "findExpandedItem",
2554
- "privacy": "private",
2555
- "return": {
2556
- "type": {
2557
- "text": "AccordionItem | null"
2558
- }
2494
+ "kind": "field",
2495
+ "name": "showingChips",
2496
+ "type": {
2497
+ "text": "boolean"
2559
2498
  },
2560
- "inheritedFrom": {
2561
- "name": "Accordion",
2562
- "module": "src/accordion/accordion.ts"
2563
- }
2499
+ "default": "false"
2564
2500
  },
2565
2501
  {
2566
2502
  "kind": "field",
2567
- "name": "setItems",
2568
- "privacy": "private",
2569
- "inheritedFrom": {
2570
- "name": "Accordion",
2571
- "module": "src/accordion/accordion.ts"
2572
- }
2503
+ "name": "fieldMetadata",
2504
+ "type": {
2505
+ "text": "MetadataDetail[] | string[]"
2506
+ },
2507
+ "default": "[]"
2573
2508
  },
2574
2509
  {
2575
- "kind": "method",
2576
- "name": "resetItems",
2577
- "privacy": "private",
2578
- "return": {
2579
- "type": {
2580
- "text": "void"
2581
- }
2510
+ "kind": "field",
2511
+ "name": "isRecording",
2512
+ "type": {
2513
+ "text": "boolean"
2582
2514
  },
2583
- "inheritedFrom": {
2584
- "name": "Accordion",
2585
- "module": "src/accordion/accordion.ts"
2586
- }
2515
+ "default": "false"
2587
2516
  },
2588
2517
  {
2589
2518
  "kind": "field",
2590
- "name": "removeItemListeners",
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
+ },
2591
2531
  "privacy": "private",
2592
- "inheritedFrom": {
2593
- "name": "Accordion",
2594
- "module": "src/accordion/accordion.ts"
2595
- }
2532
+ "default": "null"
2596
2533
  },
2597
2534
  {
2598
2535
  "kind": "field",
2599
- "name": "activeItemChange",
2536
+ "name": "speechApplyDebounceTimer",
2537
+ "type": {
2538
+ "text": "ReturnType<typeof setTimeout> | null"
2539
+ },
2600
2540
  "privacy": "private",
2601
- "inheritedFrom": {
2602
- "name": "Accordion",
2603
- "module": "src/accordion/accordion.ts"
2604
- }
2541
+ "default": "null"
2542
+ },
2543
+ {
2544
+ "kind": "field",
2545
+ "name": "speechAvailable",
2546
+ "type": {
2547
+ "text": "boolean"
2548
+ },
2549
+ "readonly": true
2550
+ },
2551
+ {
2552
+ "kind": "field",
2553
+ "name": "criteriaChips",
2554
+ "type": {
2555
+ "text": "CriteriaChip[]"
2556
+ },
2557
+ "readonly": true
2605
2558
  },
2606
2559
  {
2607
2560
  "kind": "method",
2608
- "name": "getItemIds",
2561
+ "name": "getFieldLabel",
2609
2562
  "privacy": "private",
2610
2563
  "return": {
2611
2564
  "type": {
2612
- "text": "Array<string | null>"
2565
+ "text": "string"
2613
2566
  }
2614
2567
  },
2615
- "inheritedFrom": {
2616
- "name": "Accordion",
2617
- "module": "src/accordion/accordion.ts"
2618
- }
2568
+ "parameters": [
2569
+ {
2570
+ "name": "fieldName",
2571
+ "type": {
2572
+ "text": "string"
2573
+ }
2574
+ }
2575
+ ]
2619
2576
  },
2620
2577
  {
2621
2578
  "kind": "method",
2622
- "name": "isSingleExpandMode",
2623
- "privacy": "private",
2579
+ "name": "toggleCriteriaView",
2624
2580
  "return": {
2625
2581
  "type": {
2626
- "text": "boolean"
2582
+ "text": "void"
2627
2583
  }
2628
- },
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
- }
2642
- },
2643
- {
2644
- "kind": "field",
2645
- "name": "handleItemFocus",
2646
- "privacy": "private",
2647
- "inheritedFrom": {
2648
- "name": "Accordion",
2649
- "module": "src/accordion/accordion.ts"
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,57 +2799,103 @@
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": [
2845
+ {
2846
+ "kind": "js",
2847
+ "name": "AiCriteriaSearch",
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",
2888
+ "declaration": {
2889
+ "name": "foundationAiCriteriaSearchTemplate",
2890
+ "module": "./ai-criteria-search.template"
2891
+ }
2892
+ },
2874
2893
  {
2875
2894
  "kind": "js",
2876
2895
  "name": "*",
2877
2896
  "declaration": {
2878
2897
  "name": "*",
2879
- "package": "./accordion.template"
2898
+ "package": "./validation/criteria-ir"
2880
2899
  }
2881
2900
  },
2882
2901
  {
@@ -2884,7 +2903,7 @@
2884
2903
  "name": "*",
2885
2904
  "declaration": {
2886
2905
  "name": "*",
2887
- "package": "./accordion.styles"
2906
+ "package": "./validation/operator-map"
2888
2907
  }
2889
2908
  },
2890
2909
  {
@@ -2892,215 +2911,357 @@
2892
2911
  "name": "*",
2893
2912
  "declaration": {
2894
2913
  "name": "*",
2895
- "package": "./accordion"
2914
+ "package": "./validation/schema-validator"
2896
2915
  }
2897
2916
  }
2898
2917
  ]
2899
2918
  },
2900
2919
  {
2901
2920
  "kind": "javascript-module",
2902
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2921
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2903
2922
  "declarations": [
2904
2923
  {
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`"
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
+ },
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."
2908
2973
  }
2909
2974
  ],
2910
2975
  "exports": [
2911
2976
  {
2912
2977
  "kind": "js",
2913
- "name": "foundationAiCriteriaSearchStyles",
2978
+ "name": "formatValidationErrors",
2914
2979
  "declaration": {
2915
- "name": "foundationAiCriteriaSearchStyles",
2916
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
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"
2917
2990
  }
2918
2991
  }
2919
2992
  ]
2920
2993
  },
2921
2994
  {
2922
2995
  "kind": "javascript-module",
2923
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2996
+ "path": "src/accordion/accordion.styles.ts",
2924
2997
  "declarations": [
2925
2998
  {
2926
- "kind": "variable",
2927
- "name": "foundationAiCriteriaSearchTemplate",
2928
- "type": {
2929
- "text": "ViewTemplate<AiCriteriaSearch>"
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
+ }
3012
+ },
3013
+ {
3014
+ "name": "definition",
3015
+ "type": {
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
+ }
2930
3044
  },
2931
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3045
+ "parameters": [
3046
+ {
3047
+ "name": "context",
3048
+ "type": {
3049
+ "text": "ElementDefinitionContext"
3050
+ }
3051
+ },
3052
+ {
3053
+ "name": "definition",
3054
+ "type": {
3055
+ "text": "FoundationElementDefinition"
3056
+ }
3057
+ }
3058
+ ]
2932
3059
  }
2933
3060
  ],
2934
3061
  "exports": [
2935
3062
  {
2936
3063
  "kind": "js",
2937
- "name": "foundationAiCriteriaSearchTemplate",
3064
+ "name": "foundationAccordionTemplate",
2938
3065
  "declaration": {
2939
- "name": "foundationAiCriteriaSearchTemplate",
2940
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3066
+ "name": "foundationAccordionTemplate",
3067
+ "module": "src/accordion/accordion.template.ts"
2941
3068
  }
2942
3069
  }
2943
3070
  ]
2944
3071
  },
2945
3072
  {
2946
3073
  "kind": "javascript-module",
2947
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3074
+ "path": "src/accordion/accordion.ts",
2948
3075
  "declarations": [
2949
3076
  {
2950
3077
  "kind": "class",
2951
- "description": "Natural-language criteria search input with AI interpretation.",
2952
- "name": "AiCriteriaSearch",
2953
- "members": [
2954
- {
2955
- "kind": "field",
2956
- "name": "aiProvider",
2957
- "type": {
2958
- "text": "AIProvider"
2959
- }
2960
- },
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": [
2961
3087
  {
2962
- "kind": "field",
2963
- "name": "placeholder",
3088
+ "name": "expand-mode",
2964
3089
  "type": {
2965
- "text": "string"
3090
+ "text": "AccordionExpandMode"
2966
3091
  },
2967
- "default": "'Describe your search criteria in natural language...'"
2968
- },
2969
- {
2970
- "kind": "field",
2971
- "name": "disabled",
2972
- "type": {
2973
- "text": "boolean"
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"
2974
3097
  }
2975
- },
2976
- {
2977
- "kind": "field",
2978
- "name": "inputValue",
2979
- "type": {
2980
- "text": "string"
2981
- },
2982
- "default": "''"
2983
- },
3098
+ }
3099
+ ],
3100
+ "members": [
2984
3101
  {
2985
3102
  "kind": "field",
2986
- "name": "isInterpreting",
3103
+ "name": "expandmode",
2987
3104
  "type": {
2988
- "text": "boolean"
3105
+ "text": "AccordionExpandMode"
2989
3106
  },
2990
- "default": "false"
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
+ }
2991
3113
  },
2992
3114
  {
2993
3115
  "kind": "field",
2994
- "name": "lastValidCriteria",
3116
+ "name": "activeid",
2995
3117
  "type": {
2996
3118
  "text": "string | null"
2997
3119
  },
2998
- "default": "null"
2999
- },
3000
- {
3001
- "kind": "field",
3002
- "name": "activeGroups",
3003
- "type": {
3004
- "text": "CriteriaGroup[]"
3005
- },
3006
- "default": "[]"
3120
+ "privacy": "private",
3121
+ "inheritedFrom": {
3122
+ "name": "Accordion",
3123
+ "module": "src/accordion/accordion.ts"
3124
+ }
3007
3125
  },
3008
3126
  {
3009
3127
  "kind": "field",
3010
- "name": "showingChips",
3128
+ "name": "activeItemIndex",
3011
3129
  "type": {
3012
- "text": "boolean"
3130
+ "text": "number"
3013
3131
  },
3014
- "default": "false"
3132
+ "privacy": "private",
3133
+ "default": "0",
3134
+ "inheritedFrom": {
3135
+ "name": "Accordion",
3136
+ "module": "src/accordion/accordion.ts"
3137
+ }
3015
3138
  },
3016
3139
  {
3017
3140
  "kind": "field",
3018
- "name": "fieldMetadata",
3141
+ "name": "accordionIds",
3019
3142
  "type": {
3020
- "text": "MetadataDetail[] | string[]"
3143
+ "text": "Array<string | null>"
3021
3144
  },
3022
- "default": "[]"
3145
+ "privacy": "private",
3146
+ "inheritedFrom": {
3147
+ "name": "Accordion",
3148
+ "module": "src/accordion/accordion.ts"
3149
+ }
3023
3150
  },
3024
3151
  {
3025
3152
  "kind": "field",
3026
- "name": "isRecording",
3027
- "type": {
3028
- "text": "boolean"
3029
- },
3030
- "default": "false"
3153
+ "name": "change",
3154
+ "privacy": "private",
3155
+ "inheritedFrom": {
3156
+ "name": "Accordion",
3157
+ "module": "src/accordion/accordion.ts"
3158
+ }
3031
3159
  },
3032
3160
  {
3033
- "kind": "field",
3034
- "name": "textAreaRef",
3035
- "type": {
3036
- "text": "HTMLTextAreaElement"
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,103 +3435,57 @@
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
3445
  "kind": "js",
3323
- "name": "AiCriteriaSearch",
3446
+ "name": "Accordion",
3324
3447
  "declaration": {
3325
- "name": "AiCriteriaSearch",
3326
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3448
+ "name": "Accordion",
3449
+ "module": "src/accordion/accordion.ts"
3327
3450
  }
3328
3451
  },
3329
3452
  {
3330
3453
  "kind": "js",
3331
- "name": "foundationAiCriteriaSearchShadowOptions",
3454
+ "name": "foundationAccordionShadowOptions",
3332
3455
  "declaration": {
3333
- "name": "foundationAiCriteriaSearchShadowOptions",
3334
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3456
+ "name": "foundationAccordionShadowOptions",
3457
+ "module": "src/accordion/accordion.ts"
3335
3458
  }
3336
3459
  },
3337
3460
  {
3338
3461
  "kind": "js",
3339
- "name": "defaultAiCriteriaSearchConfig",
3462
+ "name": "defaultAccordionConfig",
3340
3463
  "declaration": {
3341
- "name": "defaultAiCriteriaSearchConfig",
3342
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3464
+ "name": "defaultAccordionConfig",
3465
+ "module": "src/accordion/accordion.ts"
3343
3466
  }
3344
3467
  },
3345
3468
  {
3346
3469
  "kind": "js",
3347
- "name": "foundationAiCriteriaSearch",
3470
+ "name": "foundationAccordion",
3348
3471
  "declaration": {
3349
- "name": "foundationAiCriteriaSearch",
3350
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3472
+ "name": "foundationAccordion",
3473
+ "module": "src/accordion/accordion.ts"
3351
3474
  }
3352
3475
  }
3353
3476
  ]
3354
3477
  },
3355
3478
  {
3356
3479
  "kind": "javascript-module",
3357
- "path": "src/ai-criteria-search/index.ts",
3480
+ "path": "src/accordion/index.ts",
3358
3481
  "declarations": [],
3359
3482
  "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
3483
  {
3409
3484
  "kind": "js",
3410
3485
  "name": "*",
3411
3486
  "declaration": {
3412
3487
  "name": "*",
3413
- "package": "./validation/criteria-ir"
3488
+ "package": "./accordion.template"
3414
3489
  }
3415
3490
  },
3416
3491
  {
@@ -3418,7 +3493,7 @@
3418
3493
  "name": "*",
3419
3494
  "declaration": {
3420
3495
  "name": "*",
3421
- "package": "./validation/operator-map"
3496
+ "package": "./accordion.styles"
3422
3497
  }
3423
3498
  },
3424
3499
  {
@@ -3426,82 +3501,7 @@
3426
3501
  "name": "*",
3427
3502
  "declaration": {
3428
3503
  "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."
3488
- }
3489
- ],
3490
- "exports": [
3491
- {
3492
- "kind": "js",
3493
- "name": "formatValidationErrors",
3494
- "declaration": {
3495
- "name": "formatValidationErrors",
3496
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3497
- }
3498
- },
3499
- {
3500
- "kind": "js",
3501
- "name": "showCriteriaError",
3502
- "declaration": {
3503
- "name": "showCriteriaError",
3504
- "module": "src/ai-criteria-search/validation-error-notification.ts"
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",
@@ -17569,6 +17902,129 @@
17569
17902
  "module": "src/dialog/dialog.ts"
17570
17903
  }
17571
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",
18005
+ "inheritedFrom": {
18006
+ "name": "<local>_DialogElement",
18007
+ "module": "src/dialog/dialog.ts"
18008
+ }
18009
+ },
18010
+ {
18011
+ "kind": "method",
18012
+ "name": "removeDraggableEventListeners",
18013
+ "privacy": "private",
18014
+ "inheritedFrom": {
18015
+ "name": "<local>_DialogElement",
18016
+ "module": "src/dialog/dialog.ts"
18017
+ }
18018
+ },
18019
+ {
18020
+ "kind": "method",
18021
+ "name": "resetDraggableStyle",
18022
+ "privacy": "private",
18023
+ "inheritedFrom": {
18024
+ "name": "<local>_DialogElement",
18025
+ "module": "src/dialog/dialog.ts"
18026
+ }
18027
+ },
17572
18028
  {
17573
18029
  "kind": "field",
17574
18030
  "name": "_presentation",
@@ -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": {
@@ -26283,7 +26751,7 @@
26283
26751
  "type": {
26284
26752
  "text": "ViewTemplate<GridLayoutItem>"
26285
26753
  },
26286
- "default": "html`\n <template>\n <style>\n :host {\n width: 100%;\n height: 100%;\n ${(x) => x.setGridItemProperties(x.colNumber, x.rowNumber, x.width, x.height)}\n }\n\n @media only screen and (min-width: 1025px) {\n :host {\n ${(x) => x.setGridItemProperties(x.colLgNumber, x.rowLgNumber, x.widthLg, x.heightLg)}\n }\n }\n\n @media only screen and (min-width: 641px) and (max-width: 1024px) {\n :host {\n ${(x) => x.setGridItemProperties(x.colMdNumber, x.rowMdNumber, x.widthSm, x.heightMd)}\n }\n }\n\n @media only screen and (max-width: 640px) {\n :host {\n ${(x) => x.setGridItemProperties(x.colSmNumber, x.rowSmNumber, x.widthSm, x.heightSm)}\n }\n }\n </style>\n <slot></slot>\n </template>\n`"
26754
+ "default": "html`\n <template>\n <style>\n :host {\n width: 100%;\n height: 100%;\n ${(x) => x.setGridItemProperties(x.colNumber, x.rowNumber, x.width, x.height)}\n }\n @media only screen and (min-width: 1025px) {\n :host {\n ${(x) => x.setGridItemProperties(x.colLgNumber, x.rowLgNumber, x.widthLg, x.heightLg)}\n }\n }\n @media only screen and (min-width: 641px) and (max-width: 1024px) {\n :host {\n ${(x) => x.setGridItemProperties(x.colMdNumber, x.rowMdNumber, x.widthSm, x.heightMd)}\n }\n }\n @media only screen and (max-width: 640px) {\n :host {\n ${(x) => x.setGridItemProperties(x.colSmNumber, x.rowSmNumber, x.widthSm, x.heightSm)}\n }\n }\n </style>\n <slot></slot>\n </template>\n`"
26287
26755
  }
26288
26756
  ],
26289
26757
  "exports": [
@@ -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",
@@ -30478,6 +30802,18 @@
30478
30802
  "module": "src/dialog/dialog.ts"
30479
30803
  }
30480
30804
  },
30805
+ {
30806
+ "kind": "field",
30807
+ "name": "onCloseCallback",
30808
+ "type": {
30809
+ "text": "() => void"
30810
+ },
30811
+ "description": "Callback to run *after* HTMLDialogElement is closed",
30812
+ "inheritedFrom": {
30813
+ "name": "<local>_DialogElement",
30814
+ "module": "src/dialog/dialog.ts"
30815
+ }
30816
+ },
30481
30817
  {
30482
30818
  "kind": "field",
30483
30819
  "name": "isResizing",
@@ -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",
@@ -40017,7 +40585,7 @@
40017
40585
  "kind": "field",
40018
40586
  "name": "frequencyList",
40019
40587
  "type": {
40020
- "text": "Array<Number>"
40588
+ "text": "Array<number>"
40021
40589
  },
40022
40590
  "description": "The frequency dropdown list",
40023
40591
  "readonly": true