@fluentui/web-components 3.0.0-beta.85 → 3.0.0-beta.86

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.
@@ -4011,70 +4011,70 @@ const FASTElement = Object.assign(createFASTElement(HTMLElement), {
4011
4011
  compose
4012
4012
  });
4013
4013
 
4014
- var __defProp$Q = Object.defineProperty;
4015
- var __getOwnPropDesc$Q = Object.getOwnPropertyDescriptor;
4016
- var __decorateClass$Q = (decorators, target, key, kind) => {
4017
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$Q(target, key) : target;
4014
+ var __defProp$S = Object.defineProperty;
4015
+ var __getOwnPropDesc$S = Object.getOwnPropertyDescriptor;
4016
+ var __decorateClass$S = (decorators, target, key, kind) => {
4017
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$S(target, key) : target;
4018
4018
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4019
- if (kind && result) __defProp$Q(target, key, result);
4019
+ if (kind && result) __defProp$S(target, key, result);
4020
4020
  return result;
4021
4021
  };
4022
4022
  class ARIAGlobalStatesAndProperties {}
4023
- __decorateClass$Q([attr({
4023
+ __decorateClass$S([attr({
4024
4024
  attribute: "aria-atomic"
4025
4025
  })], ARIAGlobalStatesAndProperties.prototype, "ariaAtomic", 2);
4026
- __decorateClass$Q([attr({
4026
+ __decorateClass$S([attr({
4027
4027
  attribute: "aria-busy"
4028
4028
  })], ARIAGlobalStatesAndProperties.prototype, "ariaBusy", 2);
4029
- __decorateClass$Q([attr({
4029
+ __decorateClass$S([attr({
4030
4030
  attribute: "aria-controls"
4031
4031
  })], ARIAGlobalStatesAndProperties.prototype, "ariaControls", 2);
4032
- __decorateClass$Q([attr({
4032
+ __decorateClass$S([attr({
4033
4033
  attribute: "aria-current"
4034
4034
  })], ARIAGlobalStatesAndProperties.prototype, "ariaCurrent", 2);
4035
- __decorateClass$Q([attr({
4035
+ __decorateClass$S([attr({
4036
4036
  attribute: "aria-describedby"
4037
4037
  })], ARIAGlobalStatesAndProperties.prototype, "ariaDescribedby", 2);
4038
- __decorateClass$Q([attr({
4038
+ __decorateClass$S([attr({
4039
4039
  attribute: "aria-details"
4040
4040
  })], ARIAGlobalStatesAndProperties.prototype, "ariaDetails", 2);
4041
- __decorateClass$Q([attr({
4041
+ __decorateClass$S([attr({
4042
4042
  attribute: "aria-disabled"
4043
4043
  })], ARIAGlobalStatesAndProperties.prototype, "ariaDisabled", 2);
4044
- __decorateClass$Q([attr({
4044
+ __decorateClass$S([attr({
4045
4045
  attribute: "aria-errormessage"
4046
4046
  })], ARIAGlobalStatesAndProperties.prototype, "ariaErrormessage", 2);
4047
- __decorateClass$Q([attr({
4047
+ __decorateClass$S([attr({
4048
4048
  attribute: "aria-flowto"
4049
4049
  })], ARIAGlobalStatesAndProperties.prototype, "ariaFlowto", 2);
4050
- __decorateClass$Q([attr({
4050
+ __decorateClass$S([attr({
4051
4051
  attribute: "aria-haspopup"
4052
4052
  })], ARIAGlobalStatesAndProperties.prototype, "ariaHaspopup", 2);
4053
- __decorateClass$Q([attr({
4053
+ __decorateClass$S([attr({
4054
4054
  attribute: "aria-hidden"
4055
4055
  })], ARIAGlobalStatesAndProperties.prototype, "ariaHidden", 2);
4056
- __decorateClass$Q([attr({
4056
+ __decorateClass$S([attr({
4057
4057
  attribute: "aria-invalid"
4058
4058
  })], ARIAGlobalStatesAndProperties.prototype, "ariaInvalid", 2);
4059
- __decorateClass$Q([attr({
4059
+ __decorateClass$S([attr({
4060
4060
  attribute: "aria-keyshortcuts"
4061
4061
  })], ARIAGlobalStatesAndProperties.prototype, "ariaKeyshortcuts", 2);
4062
- __decorateClass$Q([attr({
4062
+ __decorateClass$S([attr({
4063
4063
  attribute: "aria-label"
4064
4064
  })], ARIAGlobalStatesAndProperties.prototype, "ariaLabel", 2);
4065
- __decorateClass$Q([attr({
4065
+ __decorateClass$S([attr({
4066
4066
  attribute: "aria-labelledby"
4067
4067
  })], ARIAGlobalStatesAndProperties.prototype, "ariaLabelledby", 2);
4068
- __decorateClass$Q([attr({
4068
+ __decorateClass$S([attr({
4069
4069
  attribute: "aria-live"
4070
4070
  })], ARIAGlobalStatesAndProperties.prototype, "ariaLive", 2);
4071
- __decorateClass$Q([attr({
4071
+ __decorateClass$S([attr({
4072
4072
  attribute: "aria-owns"
4073
4073
  })], ARIAGlobalStatesAndProperties.prototype, "ariaOwns", 2);
4074
- __decorateClass$Q([attr({
4074
+ __decorateClass$S([attr({
4075
4075
  attribute: "aria-relevant"
4076
4076
  })], ARIAGlobalStatesAndProperties.prototype, "ariaRelevant", 2);
4077
- __decorateClass$Q([attr({
4077
+ __decorateClass$S([attr({
4078
4078
  attribute: "aria-roledescription"
4079
4079
  })], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription", 2);
4080
4080
 
@@ -4378,12 +4378,12 @@ function swapStates(elementInternals, prev = "", next = "", States, prefix = "")
4378
4378
  }
4379
4379
  }
4380
4380
 
4381
- var __defProp$P = Object.defineProperty;
4382
- var __getOwnPropDesc$P = Object.getOwnPropertyDescriptor;
4383
- var __decorateClass$P = (decorators, target, key, kind) => {
4384
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$P(target, key) : target;
4381
+ var __defProp$R = Object.defineProperty;
4382
+ var __getOwnPropDesc$R = Object.getOwnPropertyDescriptor;
4383
+ var __decorateClass$R = (decorators, target, key, kind) => {
4384
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$R(target, key) : target;
4385
4385
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4386
- if (kind && result) __defProp$P(target, key, result);
4386
+ if (kind && result) __defProp$R(target, key, result);
4387
4387
  return result;
4388
4388
  };
4389
4389
  class BaseAccordionItem extends FASTElement {
@@ -4417,18 +4417,18 @@ class BaseAccordionItem extends FASTElement {
4417
4417
  toggleState(this.elementInternals, "disabled", next);
4418
4418
  }
4419
4419
  }
4420
- __decorateClass$P([attr({
4420
+ __decorateClass$R([attr({
4421
4421
  attribute: "heading-level",
4422
4422
  mode: "fromView",
4423
4423
  converter: nullableNumberConverter
4424
4424
  })], BaseAccordionItem.prototype, "headinglevel", 2);
4425
- __decorateClass$P([attr({
4425
+ __decorateClass$R([attr({
4426
4426
  mode: "boolean"
4427
4427
  })], BaseAccordionItem.prototype, "expanded", 2);
4428
- __decorateClass$P([attr({
4428
+ __decorateClass$R([attr({
4429
4429
  mode: "boolean"
4430
4430
  })], BaseAccordionItem.prototype, "disabled", 2);
4431
- __decorateClass$P([attr], BaseAccordionItem.prototype, "id", 2);
4431
+ __decorateClass$R([attr], BaseAccordionItem.prototype, "id", 2);
4432
4432
 
4433
4433
  const AccordionItemSize = {
4434
4434
  small: "small",
@@ -4441,12 +4441,12 @@ const AccordionItemMarkerPosition = {
4441
4441
  end: "end"
4442
4442
  };
4443
4443
 
4444
- var __defProp$O = Object.defineProperty;
4445
- var __getOwnPropDesc$O = Object.getOwnPropertyDescriptor;
4446
- var __decorateClass$O = (decorators, target, key, kind) => {
4447
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$O(target, key) : target;
4444
+ var __defProp$Q = Object.defineProperty;
4445
+ var __getOwnPropDesc$Q = Object.getOwnPropertyDescriptor;
4446
+ var __decorateClass$Q = (decorators, target, key, kind) => {
4447
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$Q(target, key) : target;
4448
4448
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4449
- if (kind && result) __defProp$O(target, key, result);
4449
+ if (kind && result) __defProp$Q(target, key, result);
4450
4450
  return result;
4451
4451
  };
4452
4452
  class AccordionItem extends BaseAccordionItem {
@@ -4479,11 +4479,11 @@ class AccordionItem extends BaseAccordionItem {
4479
4479
  toggleState(this.elementInternals, "block", next);
4480
4480
  }
4481
4481
  }
4482
- __decorateClass$O([attr], AccordionItem.prototype, "size", 2);
4483
- __decorateClass$O([attr({
4482
+ __decorateClass$Q([attr], AccordionItem.prototype, "size", 2);
4483
+ __decorateClass$Q([attr({
4484
4484
  attribute: "marker-position"
4485
4485
  })], AccordionItem.prototype, "markerPosition", 2);
4486
- __decorateClass$O([attr({
4486
+ __decorateClass$Q([attr({
4487
4487
  mode: "boolean"
4488
4488
  })], AccordionItem.prototype, "block", 2);
4489
4489
  applyMixins(AccordionItem, StartEnd);
@@ -4916,12 +4916,12 @@ const AccordionExpandMode = {
4916
4916
  multi: "multi"
4917
4917
  };
4918
4918
 
4919
- var __defProp$N = Object.defineProperty;
4920
- var __getOwnPropDesc$N = Object.getOwnPropertyDescriptor;
4921
- var __decorateClass$N = (decorators, target, key, kind) => {
4922
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$N(target, key) : target;
4919
+ var __defProp$P = Object.defineProperty;
4920
+ var __getOwnPropDesc$P = Object.getOwnPropertyDescriptor;
4921
+ var __decorateClass$P = (decorators, target, key, kind) => {
4922
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$P(target, key) : target;
4923
4923
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
4924
- if (kind && result) __defProp$N(target, key, result);
4924
+ if (kind && result) __defProp$P(target, key, result);
4925
4925
  return result;
4926
4926
  };
4927
4927
  class Accordion extends FASTElement {
@@ -5060,10 +5060,10 @@ class Accordion extends FASTElement {
5060
5060
  });
5061
5061
  }
5062
5062
  }
5063
- __decorateClass$N([attr({
5063
+ __decorateClass$P([attr({
5064
5064
  attribute: "expand-mode"
5065
5065
  })], Accordion.prototype, "expandmode", 2);
5066
- __decorateClass$N([observable], Accordion.prototype, "slottedAccordionItems", 2);
5066
+ __decorateClass$P([observable], Accordion.prototype, "slottedAccordionItems", 2);
5067
5067
 
5068
5068
  const styles$F = css`
5069
5069
  ${display("flex")}
@@ -5122,12 +5122,12 @@ const AnchorAttributes = {
5122
5122
  type: "type"
5123
5123
  };
5124
5124
 
5125
- var __defProp$M = Object.defineProperty;
5126
- var __getOwnPropDesc$M = Object.getOwnPropertyDescriptor;
5127
- var __decorateClass$M = (decorators, target, key, kind) => {
5128
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$M(target, key) : target;
5125
+ var __defProp$O = Object.defineProperty;
5126
+ var __getOwnPropDesc$O = Object.getOwnPropertyDescriptor;
5127
+ var __decorateClass$O = (decorators, target, key, kind) => {
5128
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$O(target, key) : target;
5129
5129
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5130
- if (kind && result) __defProp$M(target, key, result);
5130
+ if (kind && result) __defProp$O(target, key, result);
5131
5131
  return result;
5132
5132
  };
5133
5133
  class BaseAnchor extends FASTElement {
@@ -5235,21 +5235,21 @@ class BaseAnchor extends FASTElement {
5235
5235
  return proxy;
5236
5236
  }
5237
5237
  }
5238
- __decorateClass$M([attr], BaseAnchor.prototype, "download", 2);
5239
- __decorateClass$M([attr], BaseAnchor.prototype, "href", 2);
5240
- __decorateClass$M([attr], BaseAnchor.prototype, "hreflang", 2);
5241
- __decorateClass$M([attr], BaseAnchor.prototype, "ping", 2);
5242
- __decorateClass$M([attr], BaseAnchor.prototype, "referrerpolicy", 2);
5243
- __decorateClass$M([attr], BaseAnchor.prototype, "rel", 2);
5244
- __decorateClass$M([attr], BaseAnchor.prototype, "target", 2);
5245
- __decorateClass$M([attr], BaseAnchor.prototype, "type", 2);
5238
+ __decorateClass$O([attr], BaseAnchor.prototype, "download", 2);
5239
+ __decorateClass$O([attr], BaseAnchor.prototype, "href", 2);
5240
+ __decorateClass$O([attr], BaseAnchor.prototype, "hreflang", 2);
5241
+ __decorateClass$O([attr], BaseAnchor.prototype, "ping", 2);
5242
+ __decorateClass$O([attr], BaseAnchor.prototype, "referrerpolicy", 2);
5243
+ __decorateClass$O([attr], BaseAnchor.prototype, "rel", 2);
5244
+ __decorateClass$O([attr], BaseAnchor.prototype, "target", 2);
5245
+ __decorateClass$O([attr], BaseAnchor.prototype, "type", 2);
5246
5246
 
5247
- var __defProp$L = Object.defineProperty;
5248
- var __getOwnPropDesc$L = Object.getOwnPropertyDescriptor;
5249
- var __decorateClass$L = (decorators, target, key, kind) => {
5250
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$L(target, key) : target;
5247
+ var __defProp$N = Object.defineProperty;
5248
+ var __getOwnPropDesc$N = Object.getOwnPropertyDescriptor;
5249
+ var __decorateClass$N = (decorators, target, key, kind) => {
5250
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$N(target, key) : target;
5251
5251
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5252
- if (kind && result) __defProp$L(target, key, result);
5252
+ if (kind && result) __defProp$N(target, key, result);
5253
5253
  return result;
5254
5254
  };
5255
5255
  class AnchorButton extends BaseAnchor {
@@ -5290,10 +5290,10 @@ class AnchorButton extends BaseAnchor {
5290
5290
  toggleState(this.elementInternals, "icon", !!next);
5291
5291
  }
5292
5292
  }
5293
- __decorateClass$L([attr], AnchorButton.prototype, "appearance", 2);
5294
- __decorateClass$L([attr], AnchorButton.prototype, "shape", 2);
5295
- __decorateClass$L([attr], AnchorButton.prototype, "size", 2);
5296
- __decorateClass$L([attr({
5293
+ __decorateClass$N([attr], AnchorButton.prototype, "appearance", 2);
5294
+ __decorateClass$N([attr], AnchorButton.prototype, "shape", 2);
5295
+ __decorateClass$N([attr], AnchorButton.prototype, "size", 2);
5296
+ __decorateClass$N([attr({
5297
5297
  attribute: "icon-only",
5298
5298
  mode: "boolean"
5299
5299
  })], AnchorButton.prototype, "iconOnly", 2);
@@ -5369,12 +5369,12 @@ function getInitials(displayName, isRtl, options) {
5369
5369
  return getInitialsLatin(displayName, isRtl, options?.firstInitialOnly);
5370
5370
  }
5371
5371
 
5372
- var __defProp$K = Object.defineProperty;
5373
- var __getOwnPropDesc$K = Object.getOwnPropertyDescriptor;
5374
- var __decorateClass$K = (decorators, target, key, kind) => {
5375
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$K(target, key) : target;
5372
+ var __defProp$M = Object.defineProperty;
5373
+ var __getOwnPropDesc$M = Object.getOwnPropertyDescriptor;
5374
+ var __decorateClass$M = (decorators, target, key, kind) => {
5375
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$M(target, key) : target;
5376
5376
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5377
- if (kind && result) __defProp$K(target, key, result);
5377
+ if (kind && result) __defProp$M(target, key, result);
5378
5378
  return result;
5379
5379
  };
5380
5380
  class BaseAvatar extends FASTElement {
@@ -5389,9 +5389,9 @@ class BaseAvatar extends FASTElement {
5389
5389
  this.elementInternals.role = "img";
5390
5390
  }
5391
5391
  }
5392
- __decorateClass$K([attr], BaseAvatar.prototype, "name", 2);
5393
- __decorateClass$K([attr], BaseAvatar.prototype, "initials", 2);
5394
- __decorateClass$K([attr], BaseAvatar.prototype, "active", 2);
5392
+ __decorateClass$M([attr], BaseAvatar.prototype, "name", 2);
5393
+ __decorateClass$M([attr], BaseAvatar.prototype, "initials", 2);
5394
+ __decorateClass$M([attr], BaseAvatar.prototype, "active", 2);
5395
5395
 
5396
5396
  const AvatarNamedColor = {
5397
5397
  darkRed: "dark-red",
@@ -5432,12 +5432,12 @@ const AvatarColor = {
5432
5432
  ...AvatarNamedColor
5433
5433
  };
5434
5434
 
5435
- var __defProp$J = Object.defineProperty;
5436
- var __getOwnPropDesc$J = Object.getOwnPropertyDescriptor;
5437
- var __decorateClass$J = (decorators, target, key, kind) => {
5438
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$J(target, key) : target;
5435
+ var __defProp$L = Object.defineProperty;
5436
+ var __getOwnPropDesc$L = Object.getOwnPropertyDescriptor;
5437
+ var __decorateClass$L = (decorators, target, key, kind) => {
5438
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$L(target, key) : target;
5439
5439
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5440
- if (kind && result) __defProp$J(target, key, result);
5440
+ if (kind && result) __defProp$L(target, key, result);
5441
5441
  return result;
5442
5442
  };
5443
5443
  const _Avatar = class _Avatar extends BaseAvatar {
@@ -5492,13 +5492,13 @@ const _Avatar = class _Avatar extends BaseAvatar {
5492
5492
  * An array of the available Avatar named colors
5493
5493
  */
5494
5494
  _Avatar.colors = Object.values(AvatarNamedColor);
5495
- __decorateClass$J([attr], _Avatar.prototype, "shape", 2);
5496
- __decorateClass$J([attr], _Avatar.prototype, "appearance", 2);
5497
- __decorateClass$J([attr({
5495
+ __decorateClass$L([attr], _Avatar.prototype, "shape", 2);
5496
+ __decorateClass$L([attr], _Avatar.prototype, "appearance", 2);
5497
+ __decorateClass$L([attr({
5498
5498
  converter: nullableNumberConverter
5499
5499
  })], _Avatar.prototype, "size", 2);
5500
- __decorateClass$J([attr], _Avatar.prototype, "color", 2);
5501
- __decorateClass$J([attr({
5500
+ __decorateClass$L([attr], _Avatar.prototype, "color", 2);
5501
+ __decorateClass$L([attr({
5502
5502
  attribute: "color-id"
5503
5503
  })], _Avatar.prototype, "colorId", 2);
5504
5504
  let Avatar = _Avatar;
@@ -5570,12 +5570,12 @@ const BadgeSize = {
5570
5570
  extraLarge: "extra-large"
5571
5571
  };
5572
5572
 
5573
- var __defProp$I = Object.defineProperty;
5574
- var __getOwnPropDesc$I = Object.getOwnPropertyDescriptor;
5575
- var __decorateClass$I = (decorators, target, key, kind) => {
5576
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$I(target, key) : target;
5573
+ var __defProp$K = Object.defineProperty;
5574
+ var __getOwnPropDesc$K = Object.getOwnPropertyDescriptor;
5575
+ var __decorateClass$K = (decorators, target, key, kind) => {
5576
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$K(target, key) : target;
5577
5577
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
5578
- if (kind && result) __defProp$I(target, key, result);
5578
+ if (kind && result) __defProp$K(target, key, result);
5579
5579
  return result;
5580
5580
  };
5581
5581
  class Badge extends FASTElement {
@@ -5623,10 +5623,10 @@ class Badge extends FASTElement {
5623
5623
  swapStates(this.elementInternals, prev, next, BadgeSize);
5624
5624
  }
5625
5625
  }
5626
- __decorateClass$I([attr], Badge.prototype, "appearance", 2);
5627
- __decorateClass$I([attr], Badge.prototype, "color", 2);
5628
- __decorateClass$I([attr], Badge.prototype, "shape", 2);
5629
- __decorateClass$I([attr], Badge.prototype, "size", 2);
5626
+ __decorateClass$K([attr], Badge.prototype, "appearance", 2);
5627
+ __decorateClass$K([attr], Badge.prototype, "color", 2);
5628
+ __decorateClass$K([attr], Badge.prototype, "shape", 2);
5629
+ __decorateClass$K([attr], Badge.prototype, "size", 2);
5630
5630
  applyMixins(Badge, StartEnd);
5631
5631
 
5632
5632
  const badgeBaseStyles = css.partial`
@@ -6003,12 +6003,12 @@ const definition$D = Badge.compose({
6003
6003
 
6004
6004
  definition$D.define(FluentDesignSystem.registry);
6005
6005
 
6006
- var __defProp$H = Object.defineProperty;
6007
- var __getOwnPropDesc$H = Object.getOwnPropertyDescriptor;
6008
- var __decorateClass$H = (decorators, target, key, kind) => {
6009
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$H(target, key) : target;
6006
+ var __defProp$J = Object.defineProperty;
6007
+ var __getOwnPropDesc$J = Object.getOwnPropertyDescriptor;
6008
+ var __decorateClass$J = (decorators, target, key, kind) => {
6009
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$J(target, key) : target;
6010
6010
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6011
- if (kind && result) __defProp$H(target, key, result);
6011
+ if (kind && result) __defProp$J(target, key, result);
6012
6012
  return result;
6013
6013
  };
6014
6014
  class BaseButton extends FASTElement {
@@ -6212,51 +6212,51 @@ class BaseButton extends FASTElement {
6212
6212
  * @public
6213
6213
  */
6214
6214
  BaseButton.formAssociated = true;
6215
- __decorateClass$H([attr({
6215
+ __decorateClass$J([attr({
6216
6216
  mode: "boolean"
6217
6217
  })], BaseButton.prototype, "autofocus", 2);
6218
- __decorateClass$H([observable], BaseButton.prototype, "defaultSlottedContent", 2);
6219
- __decorateClass$H([attr({
6218
+ __decorateClass$J([observable], BaseButton.prototype, "defaultSlottedContent", 2);
6219
+ __decorateClass$J([attr({
6220
6220
  mode: "boolean"
6221
6221
  })], BaseButton.prototype, "disabled", 2);
6222
- __decorateClass$H([attr({
6222
+ __decorateClass$J([attr({
6223
6223
  attribute: "disabled-focusable",
6224
6224
  mode: "boolean"
6225
6225
  })], BaseButton.prototype, "disabledFocusable", 2);
6226
- __decorateClass$H([attr({
6226
+ __decorateClass$J([attr({
6227
6227
  attribute: "tabindex",
6228
6228
  mode: "fromView",
6229
6229
  converter: nullableNumberConverter
6230
6230
  })], BaseButton.prototype, "tabIndex", 2);
6231
- __decorateClass$H([attr({
6231
+ __decorateClass$J([attr({
6232
6232
  attribute: "formaction"
6233
6233
  })], BaseButton.prototype, "formAction", 2);
6234
- __decorateClass$H([attr({
6234
+ __decorateClass$J([attr({
6235
6235
  attribute: "form"
6236
6236
  })], BaseButton.prototype, "formAttribute", 2);
6237
- __decorateClass$H([attr({
6237
+ __decorateClass$J([attr({
6238
6238
  attribute: "formenctype"
6239
6239
  })], BaseButton.prototype, "formEnctype", 2);
6240
- __decorateClass$H([attr({
6240
+ __decorateClass$J([attr({
6241
6241
  attribute: "formmethod"
6242
6242
  })], BaseButton.prototype, "formMethod", 2);
6243
- __decorateClass$H([attr({
6243
+ __decorateClass$J([attr({
6244
6244
  attribute: "formnovalidate",
6245
6245
  mode: "boolean"
6246
6246
  })], BaseButton.prototype, "formNoValidate", 2);
6247
- __decorateClass$H([attr({
6247
+ __decorateClass$J([attr({
6248
6248
  attribute: "formtarget"
6249
6249
  })], BaseButton.prototype, "formTarget", 2);
6250
- __decorateClass$H([attr], BaseButton.prototype, "name", 2);
6251
- __decorateClass$H([attr], BaseButton.prototype, "type", 2);
6252
- __decorateClass$H([attr], BaseButton.prototype, "value", 2);
6250
+ __decorateClass$J([attr], BaseButton.prototype, "name", 2);
6251
+ __decorateClass$J([attr], BaseButton.prototype, "type", 2);
6252
+ __decorateClass$J([attr], BaseButton.prototype, "value", 2);
6253
6253
 
6254
- var __defProp$G = Object.defineProperty;
6255
- var __getOwnPropDesc$G = Object.getOwnPropertyDescriptor;
6256
- var __decorateClass$G = (decorators, target, key, kind) => {
6257
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$G(target, key) : target;
6254
+ var __defProp$I = Object.defineProperty;
6255
+ var __getOwnPropDesc$I = Object.getOwnPropertyDescriptor;
6256
+ var __decorateClass$I = (decorators, target, key, kind) => {
6257
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$I(target, key) : target;
6258
6258
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6259
- if (kind && result) __defProp$G(target, key, result);
6259
+ if (kind && result) __defProp$I(target, key, result);
6260
6260
  return result;
6261
6261
  };
6262
6262
  class Button extends BaseButton {
@@ -6297,10 +6297,10 @@ class Button extends BaseButton {
6297
6297
  toggleState(this.elementInternals, "icon", next);
6298
6298
  }
6299
6299
  }
6300
- __decorateClass$G([attr], Button.prototype, "appearance", 2);
6301
- __decorateClass$G([attr], Button.prototype, "shape", 2);
6302
- __decorateClass$G([attr], Button.prototype, "size", 2);
6303
- __decorateClass$G([attr({
6300
+ __decorateClass$I([attr], Button.prototype, "appearance", 2);
6301
+ __decorateClass$I([attr], Button.prototype, "shape", 2);
6302
+ __decorateClass$I([attr], Button.prototype, "size", 2);
6303
+ __decorateClass$I([attr({
6304
6304
  attribute: "icon-only",
6305
6305
  mode: "boolean"
6306
6306
  })], Button.prototype, "iconOnly", 2);
@@ -6319,12 +6319,12 @@ const definition$C = Button.compose({
6319
6319
 
6320
6320
  definition$C.define(FluentDesignSystem.registry);
6321
6321
 
6322
- var __defProp$F = Object.defineProperty;
6323
- var __getOwnPropDesc$F = Object.getOwnPropertyDescriptor;
6324
- var __decorateClass$F = (decorators, target, key, kind) => {
6325
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$F(target, key) : target;
6322
+ var __defProp$H = Object.defineProperty;
6323
+ var __getOwnPropDesc$H = Object.getOwnPropertyDescriptor;
6324
+ var __decorateClass$H = (decorators, target, key, kind) => {
6325
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$H(target, key) : target;
6326
6326
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6327
- if (kind && result) __defProp$F(target, key, result);
6327
+ if (kind && result) __defProp$H(target, key, result);
6328
6328
  return result;
6329
6329
  };
6330
6330
  class BaseCheckbox extends FASTElement {
@@ -6658,27 +6658,27 @@ class BaseCheckbox extends FASTElement {
6658
6658
  * @public
6659
6659
  */
6660
6660
  BaseCheckbox.formAssociated = true;
6661
- __decorateClass$F([attr({
6661
+ __decorateClass$H([attr({
6662
6662
  mode: "boolean"
6663
6663
  })], BaseCheckbox.prototype, "autofocus", 2);
6664
- __decorateClass$F([observable], BaseCheckbox.prototype, "disabled", 2);
6665
- __decorateClass$F([attr({
6664
+ __decorateClass$H([observable], BaseCheckbox.prototype, "disabled", 2);
6665
+ __decorateClass$H([attr({
6666
6666
  attribute: "disabled",
6667
6667
  mode: "boolean"
6668
6668
  })], BaseCheckbox.prototype, "disabledAttribute", 2);
6669
- __decorateClass$F([attr({
6669
+ __decorateClass$H([attr({
6670
6670
  attribute: "form"
6671
6671
  })], BaseCheckbox.prototype, "formAttribute", 2);
6672
- __decorateClass$F([attr({
6672
+ __decorateClass$H([attr({
6673
6673
  attribute: "checked",
6674
6674
  mode: "boolean"
6675
6675
  })], BaseCheckbox.prototype, "initialChecked", 2);
6676
- __decorateClass$F([attr({
6676
+ __decorateClass$H([attr({
6677
6677
  attribute: "value",
6678
6678
  mode: "fromView"
6679
6679
  })], BaseCheckbox.prototype, "initialValue", 2);
6680
- __decorateClass$F([attr], BaseCheckbox.prototype, "name", 2);
6681
- __decorateClass$F([attr({
6680
+ __decorateClass$H([attr], BaseCheckbox.prototype, "name", 2);
6681
+ __decorateClass$H([attr({
6682
6682
  mode: "boolean"
6683
6683
  })], BaseCheckbox.prototype, "required", 2);
6684
6684
 
@@ -6691,12 +6691,12 @@ const CheckboxSize = {
6691
6691
  large: "large"
6692
6692
  };
6693
6693
 
6694
- var __defProp$E = Object.defineProperty;
6695
- var __getOwnPropDesc$E = Object.getOwnPropertyDescriptor;
6696
- var __decorateClass$E = (decorators, target, key, kind) => {
6697
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$E(target, key) : target;
6694
+ var __defProp$G = Object.defineProperty;
6695
+ var __getOwnPropDesc$G = Object.getOwnPropertyDescriptor;
6696
+ var __decorateClass$G = (decorators, target, key, kind) => {
6697
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$G(target, key) : target;
6698
6698
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6699
- if (kind && result) __defProp$E(target, key, result);
6699
+ if (kind && result) __defProp$G(target, key, result);
6700
6700
  return result;
6701
6701
  };
6702
6702
  class Checkbox extends BaseCheckbox {
@@ -6759,9 +6759,9 @@ class Checkbox extends BaseCheckbox {
6759
6759
  super.toggleChecked(force);
6760
6760
  }
6761
6761
  }
6762
- __decorateClass$E([observable], Checkbox.prototype, "indeterminate", 2);
6763
- __decorateClass$E([attr], Checkbox.prototype, "shape", 2);
6764
- __decorateClass$E([attr], Checkbox.prototype, "size", 2);
6762
+ __decorateClass$G([observable], Checkbox.prototype, "indeterminate", 2);
6763
+ __decorateClass$G([attr], Checkbox.prototype, "shape", 2);
6764
+ __decorateClass$G([attr], Checkbox.prototype, "size", 2);
6765
6765
 
6766
6766
  const styles$A = css`
6767
6767
  ${display("inline-flex")}
@@ -6850,12 +6850,12 @@ const CounterBadgeSize = {
6850
6850
  extraLarge: "extra-large"
6851
6851
  };
6852
6852
 
6853
- var __defProp$D = Object.defineProperty;
6854
- var __getOwnPropDesc$D = Object.getOwnPropertyDescriptor;
6855
- var __decorateClass$D = (decorators, target, key, kind) => {
6856
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$D(target, key) : target;
6853
+ var __defProp$F = Object.defineProperty;
6854
+ var __getOwnPropDesc$F = Object.getOwnPropertyDescriptor;
6855
+ var __decorateClass$F = (decorators, target, key, kind) => {
6856
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$F(target, key) : target;
6857
6857
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6858
- if (kind && result) __defProp$D(target, key, result);
6858
+ if (kind && result) __defProp$F(target, key, result);
6859
6859
  return result;
6860
6860
  };
6861
6861
  class CounterBadge extends FASTElement {
@@ -6932,22 +6932,22 @@ class CounterBadge extends FASTElement {
6932
6932
  return;
6933
6933
  }
6934
6934
  }
6935
- __decorateClass$D([attr], CounterBadge.prototype, "appearance", 2);
6936
- __decorateClass$D([attr], CounterBadge.prototype, "color", 2);
6937
- __decorateClass$D([attr], CounterBadge.prototype, "shape", 2);
6938
- __decorateClass$D([attr], CounterBadge.prototype, "size", 2);
6939
- __decorateClass$D([attr({
6935
+ __decorateClass$F([attr], CounterBadge.prototype, "appearance", 2);
6936
+ __decorateClass$F([attr], CounterBadge.prototype, "color", 2);
6937
+ __decorateClass$F([attr], CounterBadge.prototype, "shape", 2);
6938
+ __decorateClass$F([attr], CounterBadge.prototype, "size", 2);
6939
+ __decorateClass$F([attr({
6940
6940
  converter: nullableNumberConverter
6941
6941
  })], CounterBadge.prototype, "count", 2);
6942
- __decorateClass$D([attr({
6942
+ __decorateClass$F([attr({
6943
6943
  attribute: "overflow-count",
6944
6944
  converter: nullableNumberConverter
6945
6945
  })], CounterBadge.prototype, "overflowCount", 2);
6946
- __decorateClass$D([attr({
6946
+ __decorateClass$F([attr({
6947
6947
  attribute: "show-zero",
6948
6948
  mode: "boolean"
6949
6949
  })], CounterBadge.prototype, "showZero", 2);
6950
- __decorateClass$D([attr({
6950
+ __decorateClass$F([attr({
6951
6951
  mode: "boolean"
6952
6952
  })], CounterBadge.prototype, "dot", 2);
6953
6953
  applyMixins(CounterBadge, StartEnd);
@@ -6981,12 +6981,12 @@ const DialogType = {
6981
6981
  alert: "alert"
6982
6982
  };
6983
6983
 
6984
- var __defProp$C = Object.defineProperty;
6985
- var __getOwnPropDesc$C = Object.getOwnPropertyDescriptor;
6986
- var __decorateClass$C = (decorators, target, key, kind) => {
6987
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$C(target, key) : target;
6984
+ var __defProp$E = Object.defineProperty;
6985
+ var __getOwnPropDesc$E = Object.getOwnPropertyDescriptor;
6986
+ var __decorateClass$E = (decorators, target, key, kind) => {
6987
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$E(target, key) : target;
6988
6988
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
6989
- if (kind && result) __defProp$C(target, key, result);
6989
+ if (kind && result) __defProp$E(target, key, result);
6990
6990
  return result;
6991
6991
  };
6992
6992
  class Dialog extends FASTElement {
@@ -7054,14 +7054,14 @@ class Dialog extends FASTElement {
7054
7054
  return true;
7055
7055
  }
7056
7056
  }
7057
- __decorateClass$C([observable], Dialog.prototype, "dialog", 2);
7058
- __decorateClass$C([attr({
7057
+ __decorateClass$E([observable], Dialog.prototype, "dialog", 2);
7058
+ __decorateClass$E([attr({
7059
7059
  attribute: "aria-describedby"
7060
7060
  })], Dialog.prototype, "ariaDescribedby", 2);
7061
- __decorateClass$C([attr({
7061
+ __decorateClass$E([attr({
7062
7062
  attribute: "aria-labelledby"
7063
7063
  })], Dialog.prototype, "ariaLabelledby", 2);
7064
- __decorateClass$C([attr], Dialog.prototype, "type", 2);
7064
+ __decorateClass$E([attr], Dialog.prototype, "type", 2);
7065
7065
 
7066
7066
  const template$y = html`<dialog role="${x => x.type === DialogType.alert ? "alertdialog" : "dialog"}" type="${x => x.type}" class="dialog" part="dialog" aria-modal="${x => x.type === DialogType.modal || x.type === DialogType.alert ? "true" : void 0}" aria-describedby="${x => x.ariaDescribedby}" aria-labelledby="${x => x.ariaLabelledby}" aria-label="${x => x.ariaLabel}" @click="${(x, c) => x.clickHandler(c.event)}" @cancel="${(x, c) => x.type === DialogType.alert ? c.event.preventDefault() : x.hide()}" ${ref("dialog")}><slot></slot></dialog>`;
7067
7067
 
@@ -7077,12 +7077,12 @@ const definition$y = Dialog.compose({
7077
7077
 
7078
7078
  definition$y.define(FluentDesignSystem.registry);
7079
7079
 
7080
- var __defProp$B = Object.defineProperty;
7081
- var __getOwnPropDesc$B = Object.getOwnPropertyDescriptor;
7082
- var __decorateClass$B = (decorators, target, key, kind) => {
7083
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$B(target, key) : target;
7080
+ var __defProp$D = Object.defineProperty;
7081
+ var __getOwnPropDesc$D = Object.getOwnPropertyDescriptor;
7082
+ var __decorateClass$D = (decorators, target, key, kind) => {
7083
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$D(target, key) : target;
7084
7084
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
7085
- if (kind && result) __defProp$B(target, key, result);
7085
+ if (kind && result) __defProp$D(target, key, result);
7086
7086
  return result;
7087
7087
  };
7088
7088
  class DialogBody extends FASTElement {
@@ -7091,7 +7091,7 @@ class DialogBody extends FASTElement {
7091
7091
  this.noTitleAction = false;
7092
7092
  }
7093
7093
  }
7094
- __decorateClass$B([attr({
7094
+ __decorateClass$D([attr({
7095
7095
  mode: "boolean",
7096
7096
  attribute: "no-title-action"
7097
7097
  })], DialogBody.prototype, "noTitleAction", 2);
@@ -7147,12 +7147,12 @@ const DividerAppearance = {
7147
7147
  subtle: "subtle"
7148
7148
  };
7149
7149
 
7150
- var __defProp$A = Object.defineProperty;
7151
- var __getOwnPropDesc$A = Object.getOwnPropertyDescriptor;
7152
- var __decorateClass$A = (decorators, target, key, kind) => {
7153
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$A(target, key) : target;
7150
+ var __defProp$C = Object.defineProperty;
7151
+ var __getOwnPropDesc$C = Object.getOwnPropertyDescriptor;
7152
+ var __decorateClass$C = (decorators, target, key, kind) => {
7153
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$C(target, key) : target;
7154
7154
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
7155
- if (kind && result) __defProp$A(target, key, result);
7155
+ if (kind && result) __defProp$C(target, key, result);
7156
7156
  return result;
7157
7157
  };
7158
7158
  class BaseDivider extends FASTElement {
@@ -7199,15 +7199,15 @@ class BaseDivider extends FASTElement {
7199
7199
  swapStates(this.elementInternals, previous, next, DividerOrientation);
7200
7200
  }
7201
7201
  }
7202
- __decorateClass$A([attr], BaseDivider.prototype, "role", 2);
7203
- __decorateClass$A([attr], BaseDivider.prototype, "orientation", 2);
7202
+ __decorateClass$C([attr], BaseDivider.prototype, "role", 2);
7203
+ __decorateClass$C([attr], BaseDivider.prototype, "orientation", 2);
7204
7204
 
7205
- var __defProp$z = Object.defineProperty;
7206
- var __getOwnPropDesc$z = Object.getOwnPropertyDescriptor;
7207
- var __decorateClass$z = (decorators, target, key, kind) => {
7208
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$z(target, key) : target;
7205
+ var __defProp$B = Object.defineProperty;
7206
+ var __getOwnPropDesc$B = Object.getOwnPropertyDescriptor;
7207
+ var __decorateClass$B = (decorators, target, key, kind) => {
7208
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$B(target, key) : target;
7209
7209
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
7210
- if (kind && result) __defProp$z(target, key, result);
7210
+ if (kind && result) __defProp$B(target, key, result);
7211
7211
  return result;
7212
7212
  };
7213
7213
  class Divider extends BaseDivider {
@@ -7236,11 +7236,11 @@ class Divider extends BaseDivider {
7236
7236
  toggleState(this.elementInternals, "inset", next);
7237
7237
  }
7238
7238
  }
7239
- __decorateClass$z([attr({
7239
+ __decorateClass$B([attr({
7240
7240
  attribute: "align-content"
7241
7241
  })], Divider.prototype, "alignContent", 2);
7242
- __decorateClass$z([attr], Divider.prototype, "appearance", 2);
7243
- __decorateClass$z([attr({
7242
+ __decorateClass$B([attr], Divider.prototype, "appearance", 2);
7243
+ __decorateClass$B([attr({
7244
7244
  mode: "boolean"
7245
7245
  })], Divider.prototype, "inset", 2);
7246
7246
 
@@ -7279,12 +7279,12 @@ const DrawerType = {
7279
7279
  inline: "inline"
7280
7280
  };
7281
7281
 
7282
- var __defProp$y = Object.defineProperty;
7283
- var __getOwnPropDesc$y = Object.getOwnPropertyDescriptor;
7284
- var __decorateClass$y = (decorators, target, key, kind) => {
7285
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$y(target, key) : target;
7282
+ var __defProp$A = Object.defineProperty;
7283
+ var __getOwnPropDesc$A = Object.getOwnPropertyDescriptor;
7284
+ var __decorateClass$A = (decorators, target, key, kind) => {
7285
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$A(target, key) : target;
7286
7286
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
7287
- if (kind && result) __defProp$y(target, key, result);
7287
+ if (kind && result) __defProp$A(target, key, result);
7288
7288
  return result;
7289
7289
  };
7290
7290
  class Drawer extends FASTElement {
@@ -7354,18 +7354,18 @@ class Drawer extends FASTElement {
7354
7354
  return true;
7355
7355
  }
7356
7356
  }
7357
- __decorateClass$y([attr], Drawer.prototype, "type", 2);
7358
- __decorateClass$y([attr({
7357
+ __decorateClass$A([attr], Drawer.prototype, "type", 2);
7358
+ __decorateClass$A([attr({
7359
7359
  attribute: "aria-labelledby"
7360
7360
  })], Drawer.prototype, "ariaLabelledby", 2);
7361
- __decorateClass$y([attr({
7361
+ __decorateClass$A([attr({
7362
7362
  attribute: "aria-describedby"
7363
7363
  })], Drawer.prototype, "ariaDescribedby", 2);
7364
- __decorateClass$y([attr], Drawer.prototype, "position", 2);
7365
- __decorateClass$y([attr({
7364
+ __decorateClass$A([attr], Drawer.prototype, "position", 2);
7365
+ __decorateClass$A([attr({
7366
7366
  attribute: "size"
7367
7367
  })], Drawer.prototype, "size", 2);
7368
- __decorateClass$y([observable], Drawer.prototype, "dialog", 2);
7368
+ __decorateClass$A([observable], Drawer.prototype, "dialog", 2);
7369
7369
 
7370
7370
  const styles$u = css`
7371
7371
  ${display("block")}
@@ -7455,12 +7455,12 @@ const template$t = dropdownTemplate({
7455
7455
  indicator: dropdownIndicatorTemplate
7456
7456
  });
7457
7457
 
7458
- var __defProp$x = Object.defineProperty;
7459
- var __getOwnPropDesc$x = Object.getOwnPropertyDescriptor;
7460
- var __decorateClass$x = (decorators, target, key, kind) => {
7461
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$x(target, key) : target;
7458
+ var __defProp$z = Object.defineProperty;
7459
+ var __getOwnPropDesc$z = Object.getOwnPropertyDescriptor;
7460
+ var __decorateClass$z = (decorators, target, key, kind) => {
7461
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$z(target, key) : target;
7462
7462
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
7463
- if (kind && result) __defProp$x(target, key, result);
7463
+ if (kind && result) __defProp$z(target, key, result);
7464
7464
  return result;
7465
7465
  };
7466
7466
  class BaseDropdown extends FASTElement {
@@ -8019,48 +8019,48 @@ class BaseDropdown extends FASTElement {
8019
8019
  * @public
8020
8020
  */
8021
8021
  BaseDropdown.formAssociated = true;
8022
- __decorateClass$x([volatile], BaseDropdown.prototype, "activeDescendant", 1);
8023
- __decorateClass$x([observable], BaseDropdown.prototype, "activeIndex", 2);
8024
- __decorateClass$x([attr({
8022
+ __decorateClass$z([volatile], BaseDropdown.prototype, "activeDescendant", 1);
8023
+ __decorateClass$z([observable], BaseDropdown.prototype, "activeIndex", 2);
8024
+ __decorateClass$z([attr({
8025
8025
  attribute: "aria-labelledby",
8026
8026
  mode: "fromView"
8027
8027
  })], BaseDropdown.prototype, "ariaLabelledBy", 2);
8028
- __decorateClass$x([observable], BaseDropdown.prototype, "control", 2);
8029
- __decorateClass$x([attr({
8028
+ __decorateClass$z([observable], BaseDropdown.prototype, "control", 2);
8029
+ __decorateClass$z([attr({
8030
8030
  mode: "boolean"
8031
8031
  })], BaseDropdown.prototype, "disabled", 2);
8032
- __decorateClass$x([volatile], BaseDropdown.prototype, "displayValue", 1);
8033
- __decorateClass$x([attr({
8032
+ __decorateClass$z([volatile], BaseDropdown.prototype, "displayValue", 1);
8033
+ __decorateClass$z([attr({
8034
8034
  attribute: "id"
8035
8035
  })], BaseDropdown.prototype, "id", 2);
8036
- __decorateClass$x([observable], BaseDropdown.prototype, "indicator", 2);
8037
- __decorateClass$x([observable], BaseDropdown.prototype, "indicatorSlot", 2);
8038
- __decorateClass$x([attr({
8036
+ __decorateClass$z([observable], BaseDropdown.prototype, "indicator", 2);
8037
+ __decorateClass$z([observable], BaseDropdown.prototype, "indicatorSlot", 2);
8038
+ __decorateClass$z([attr({
8039
8039
  attribute: "value",
8040
8040
  mode: "fromView"
8041
8041
  })], BaseDropdown.prototype, "initialValue", 2);
8042
- __decorateClass$x([observable], BaseDropdown.prototype, "listbox", 2);
8043
- __decorateClass$x([observable], BaseDropdown.prototype, "listboxSlot", 2);
8044
- __decorateClass$x([attr({
8042
+ __decorateClass$z([observable], BaseDropdown.prototype, "listbox", 2);
8043
+ __decorateClass$z([observable], BaseDropdown.prototype, "listboxSlot", 2);
8044
+ __decorateClass$z([attr({
8045
8045
  mode: "boolean"
8046
8046
  })], BaseDropdown.prototype, "multiple", 2);
8047
- __decorateClass$x([attr], BaseDropdown.prototype, "name", 2);
8048
- __decorateClass$x([observable], BaseDropdown.prototype, "open", 2);
8049
- __decorateClass$x([attr], BaseDropdown.prototype, "placeholder", 2);
8050
- __decorateClass$x([attr({
8047
+ __decorateClass$z([attr], BaseDropdown.prototype, "name", 2);
8048
+ __decorateClass$z([observable], BaseDropdown.prototype, "open", 2);
8049
+ __decorateClass$z([attr], BaseDropdown.prototype, "placeholder", 2);
8050
+ __decorateClass$z([attr({
8051
8051
  mode: "boolean"
8052
8052
  })], BaseDropdown.prototype, "required", 2);
8053
- __decorateClass$x([attr], BaseDropdown.prototype, "type", 2);
8054
- __decorateClass$x([attr({
8053
+ __decorateClass$z([attr], BaseDropdown.prototype, "type", 2);
8054
+ __decorateClass$z([attr({
8055
8055
  attribute: "value"
8056
8056
  })], BaseDropdown.prototype, "valueAttribute", 2);
8057
8057
 
8058
- var __defProp$w = Object.defineProperty;
8059
- var __getOwnPropDesc$w = Object.getOwnPropertyDescriptor;
8060
- var __decorateClass$w = (decorators, target, key, kind) => {
8061
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$w(target, key) : target;
8058
+ var __defProp$y = Object.defineProperty;
8059
+ var __getOwnPropDesc$y = Object.getOwnPropertyDescriptor;
8060
+ var __decorateClass$y = (decorators, target, key, kind) => {
8061
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$y(target, key) : target;
8062
8062
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8063
- if (kind && result) __defProp$w(target, key, result);
8063
+ if (kind && result) __defProp$y(target, key, result);
8064
8064
  return result;
8065
8065
  };
8066
8066
  const _Dropdown = class _Dropdown extends BaseDropdown {
@@ -8152,8 +8152,8 @@ const _Dropdown = class _Dropdown extends BaseDropdown {
8152
8152
  });
8153
8153
  }
8154
8154
  };
8155
- __decorateClass$w([attr], _Dropdown.prototype, "appearance", 2);
8156
- __decorateClass$w([attr], _Dropdown.prototype, "size", 2);
8155
+ __decorateClass$y([attr], _Dropdown.prototype, "appearance", 2);
8156
+ __decorateClass$y([attr], _Dropdown.prototype, "size", 2);
8157
8157
  let Dropdown = _Dropdown;
8158
8158
 
8159
8159
  const styles$s = css`
@@ -8191,12 +8191,12 @@ const ValidationFlags = {
8191
8191
  valid: "valid"
8192
8192
  };
8193
8193
 
8194
- var __defProp$v = Object.defineProperty;
8195
- var __getOwnPropDesc$v = Object.getOwnPropertyDescriptor;
8196
- var __decorateClass$v = (decorators, target, key, kind) => {
8197
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$v(target, key) : target;
8194
+ var __defProp$x = Object.defineProperty;
8195
+ var __getOwnPropDesc$x = Object.getOwnPropertyDescriptor;
8196
+ var __decorateClass$x = (decorators, target, key, kind) => {
8197
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$x(target, key) : target;
8198
8198
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8199
- if (kind && result) __defProp$v(target, key, result);
8199
+ if (kind && result) __defProp$x(target, key, result);
8200
8200
  return result;
8201
8201
  };
8202
8202
  class BaseField extends FASTElement {
@@ -8364,17 +8364,17 @@ class BaseField extends FASTElement {
8364
8364
  }
8365
8365
  }
8366
8366
  }
8367
- __decorateClass$v([observable], BaseField.prototype, "labelSlot", 2);
8368
- __decorateClass$v([observable], BaseField.prototype, "messageSlot", 2);
8369
- __decorateClass$v([observable], BaseField.prototype, "slottedInputs", 2);
8370
- __decorateClass$v([observable], BaseField.prototype, "input", 2);
8367
+ __decorateClass$x([observable], BaseField.prototype, "labelSlot", 2);
8368
+ __decorateClass$x([observable], BaseField.prototype, "messageSlot", 2);
8369
+ __decorateClass$x([observable], BaseField.prototype, "slottedInputs", 2);
8370
+ __decorateClass$x([observable], BaseField.prototype, "input", 2);
8371
8371
 
8372
- var __defProp$u = Object.defineProperty;
8373
- var __getOwnPropDesc$u = Object.getOwnPropertyDescriptor;
8374
- var __decorateClass$u = (decorators, target, key, kind) => {
8375
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$u(target, key) : target;
8372
+ var __defProp$w = Object.defineProperty;
8373
+ var __getOwnPropDesc$w = Object.getOwnPropertyDescriptor;
8374
+ var __decorateClass$w = (decorators, target, key, kind) => {
8375
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$w(target, key) : target;
8376
8376
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8377
- if (kind && result) __defProp$u(target, key, result);
8377
+ if (kind && result) __defProp$w(target, key, result);
8378
8378
  return result;
8379
8379
  };
8380
8380
  class Field extends BaseField {
@@ -8383,7 +8383,7 @@ class Field extends BaseField {
8383
8383
  this.labelPosition = LabelPosition.above;
8384
8384
  }
8385
8385
  }
8386
- __decorateClass$u([attr({
8386
+ __decorateClass$w([attr({
8387
8387
  attribute: "label-position"
8388
8388
  })], Field.prototype, "labelPosition", 2);
8389
8389
 
@@ -8427,12 +8427,12 @@ const ImageShape = {
8427
8427
  square: "square"
8428
8428
  };
8429
8429
 
8430
- var __defProp$t = Object.defineProperty;
8431
- var __getOwnPropDesc$t = Object.getOwnPropertyDescriptor;
8432
- var __decorateClass$t = (decorators, target, key, kind) => {
8433
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$t(target, key) : target;
8430
+ var __defProp$v = Object.defineProperty;
8431
+ var __getOwnPropDesc$v = Object.getOwnPropertyDescriptor;
8432
+ var __decorateClass$v = (decorators, target, key, kind) => {
8433
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$v(target, key) : target;
8434
8434
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8435
- if (kind && result) __defProp$t(target, key, result);
8435
+ if (kind && result) __defProp$v(target, key, result);
8436
8436
  return result;
8437
8437
  };
8438
8438
  class Image extends FASTElement {
@@ -8486,17 +8486,17 @@ class Image extends FASTElement {
8486
8486
  swapStates(this.elementInternals, prev, next, ImageShape);
8487
8487
  }
8488
8488
  }
8489
- __decorateClass$t([attr({
8489
+ __decorateClass$v([attr({
8490
8490
  mode: "boolean"
8491
8491
  })], Image.prototype, "block", 2);
8492
- __decorateClass$t([attr({
8492
+ __decorateClass$v([attr({
8493
8493
  mode: "boolean"
8494
8494
  })], Image.prototype, "bordered", 2);
8495
- __decorateClass$t([attr({
8495
+ __decorateClass$v([attr({
8496
8496
  mode: "boolean"
8497
8497
  })], Image.prototype, "shadow", 2);
8498
- __decorateClass$t([attr], Image.prototype, "fit", 2);
8499
- __decorateClass$t([attr], Image.prototype, "shape", 2);
8498
+ __decorateClass$v([attr], Image.prototype, "fit", 2);
8499
+ __decorateClass$v([attr], Image.prototype, "shape", 2);
8500
8500
 
8501
8501
  const template$r = html`<slot></slot>`;
8502
8502
 
@@ -8521,12 +8521,12 @@ const LabelWeight = {
8521
8521
  semibold: "semibold"
8522
8522
  };
8523
8523
 
8524
- var __defProp$s = Object.defineProperty;
8525
- var __getOwnPropDesc$s = Object.getOwnPropertyDescriptor;
8526
- var __decorateClass$s = (decorators, target, key, kind) => {
8527
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$s(target, key) : target;
8524
+ var __defProp$u = Object.defineProperty;
8525
+ var __getOwnPropDesc$u = Object.getOwnPropertyDescriptor;
8526
+ var __decorateClass$u = (decorators, target, key, kind) => {
8527
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$u(target, key) : target;
8528
8528
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8529
- if (kind && result) __defProp$s(target, key, result);
8529
+ if (kind && result) __defProp$u(target, key, result);
8530
8530
  return result;
8531
8531
  };
8532
8532
  class Label extends FASTElement {
@@ -8566,12 +8566,12 @@ class Label extends FASTElement {
8566
8566
  toggleState(this.elementInternals, "disabled", next);
8567
8567
  }
8568
8568
  }
8569
- __decorateClass$s([attr], Label.prototype, "size", 2);
8570
- __decorateClass$s([attr], Label.prototype, "weight", 2);
8571
- __decorateClass$s([attr({
8569
+ __decorateClass$u([attr], Label.prototype, "size", 2);
8570
+ __decorateClass$u([attr], Label.prototype, "weight", 2);
8571
+ __decorateClass$u([attr({
8572
8572
  mode: "boolean"
8573
8573
  })], Label.prototype, "disabled", 2);
8574
- __decorateClass$s([attr({
8574
+ __decorateClass$u([attr({
8575
8575
  mode: "boolean"
8576
8576
  })], Label.prototype, "required", 2);
8577
8577
 
@@ -8597,12 +8597,12 @@ const LinkAppearance = {
8597
8597
  subtle: "subtle"
8598
8598
  };
8599
8599
 
8600
- var __defProp$r = Object.defineProperty;
8601
- var __getOwnPropDesc$r = Object.getOwnPropertyDescriptor;
8602
- var __decorateClass$r = (decorators, target, key, kind) => {
8603
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$r(target, key) : target;
8600
+ var __defProp$t = Object.defineProperty;
8601
+ var __getOwnPropDesc$t = Object.getOwnPropertyDescriptor;
8602
+ var __decorateClass$t = (decorators, target, key, kind) => {
8603
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$t(target, key) : target;
8604
8604
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8605
- if (kind && result) __defProp$r(target, key, result);
8605
+ if (kind && result) __defProp$t(target, key, result);
8606
8606
  return result;
8607
8607
  };
8608
8608
  class Link extends BaseAnchor {
@@ -8627,8 +8627,8 @@ class Link extends BaseAnchor {
8627
8627
  toggleState(this.elementInternals, "inline", next);
8628
8628
  }
8629
8629
  }
8630
- __decorateClass$r([attr], Link.prototype, "appearance", 2);
8631
- __decorateClass$r([attr({
8630
+ __decorateClass$t([attr], Link.prototype, "appearance", 2);
8631
+ __decorateClass$t([attr({
8632
8632
  mode: "boolean"
8633
8633
  })], Link.prototype, "inline", 2);
8634
8634
 
@@ -8651,12 +8651,12 @@ const definition$p = Link.compose({
8651
8651
 
8652
8652
  definition$p.define(FluentDesignSystem.registry);
8653
8653
 
8654
- var __defProp$q = Object.defineProperty;
8655
- var __getOwnPropDesc$q = Object.getOwnPropertyDescriptor;
8656
- var __decorateClass$q = (decorators, target, key, kind) => {
8657
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$q(target, key) : target;
8654
+ var __defProp$s = Object.defineProperty;
8655
+ var __getOwnPropDesc$s = Object.getOwnPropertyDescriptor;
8656
+ var __decorateClass$s = (decorators, target, key, kind) => {
8657
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$s(target, key) : target;
8658
8658
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8659
- if (kind && result) __defProp$q(target, key, result);
8659
+ if (kind && result) __defProp$s(target, key, result);
8660
8660
  return result;
8661
8661
  };
8662
8662
  class Listbox extends FASTElement {
@@ -8794,14 +8794,14 @@ class Listbox extends FASTElement {
8794
8794
  this.selectedIndex = selectedIndex;
8795
8795
  }
8796
8796
  }
8797
- __decorateClass$q([attr({
8797
+ __decorateClass$s([attr({
8798
8798
  attribute: "id",
8799
8799
  mode: "fromView"
8800
8800
  })], Listbox.prototype, "id", 2);
8801
- __decorateClass$q([observable], Listbox.prototype, "multiple", 2);
8802
- __decorateClass$q([observable], Listbox.prototype, "options", 2);
8803
- __decorateClass$q([observable], Listbox.prototype, "selectedIndex", 2);
8804
- __decorateClass$q([observable], Listbox.prototype, "dropdown", 2);
8801
+ __decorateClass$s([observable], Listbox.prototype, "multiple", 2);
8802
+ __decorateClass$s([observable], Listbox.prototype, "options", 2);
8803
+ __decorateClass$s([observable], Listbox.prototype, "selectedIndex", 2);
8804
+ __decorateClass$s([observable], Listbox.prototype, "dropdown", 2);
8805
8805
 
8806
8806
  const styles$n = css`
8807
8807
  ${display("inline-flex")}
@@ -8863,12 +8863,12 @@ const MenuItemRole = {
8863
8863
  [MenuItemRole.menuitemradio]: "menuitemradio"
8864
8864
  });
8865
8865
 
8866
- var __defProp$p = Object.defineProperty;
8867
- var __getOwnPropDesc$p = Object.getOwnPropertyDescriptor;
8868
- var __decorateClass$p = (decorators, target, key, kind) => {
8869
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$p(target, key) : target;
8866
+ var __defProp$r = Object.defineProperty;
8867
+ var __getOwnPropDesc$r = Object.getOwnPropertyDescriptor;
8868
+ var __decorateClass$r = (decorators, target, key, kind) => {
8869
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$r(target, key) : target;
8870
8870
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8871
- if (kind && result) __defProp$p(target, key, result);
8871
+ if (kind && result) __defProp$r(target, key, result);
8872
8872
  return result;
8873
8873
  };
8874
8874
  class MenuItem extends FASTElement {
@@ -9057,18 +9057,18 @@ class MenuItem extends FASTElement {
9057
9057
  this.elementInternals.ariaChecked = this.role !== MenuItemRole.menuitem ? `${!!this.checked}` : null;
9058
9058
  }
9059
9059
  }
9060
- __decorateClass$p([attr({
9060
+ __decorateClass$r([attr({
9061
9061
  mode: "boolean"
9062
9062
  })], MenuItem.prototype, "disabled", 2);
9063
- __decorateClass$p([attr], MenuItem.prototype, "role", 2);
9064
- __decorateClass$p([attr({
9063
+ __decorateClass$r([attr], MenuItem.prototype, "role", 2);
9064
+ __decorateClass$r([attr({
9065
9065
  mode: "boolean"
9066
9066
  })], MenuItem.prototype, "checked", 2);
9067
- __decorateClass$p([attr({
9067
+ __decorateClass$r([attr({
9068
9068
  mode: "boolean"
9069
9069
  })], MenuItem.prototype, "hidden", 2);
9070
- __decorateClass$p([observable], MenuItem.prototype, "slottedSubmenu", 2);
9071
- __decorateClass$p([observable], MenuItem.prototype, "submenu", 2);
9070
+ __decorateClass$r([observable], MenuItem.prototype, "slottedSubmenu", 2);
9071
+ __decorateClass$r([observable], MenuItem.prototype, "submenu", 2);
9072
9072
  applyMixins(MenuItem, StartEnd);
9073
9073
 
9074
9074
  const styles$m = css`
@@ -9097,12 +9097,12 @@ const definition$m = MenuItem.compose({
9097
9097
 
9098
9098
  definition$m.define(FluentDesignSystem.registry);
9099
9099
 
9100
- var __defProp$o = Object.defineProperty;
9101
- var __getOwnPropDesc$o = Object.getOwnPropertyDescriptor;
9102
- var __decorateClass$o = (decorators, target, key, kind) => {
9103
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$o(target, key) : target;
9100
+ var __defProp$q = Object.defineProperty;
9101
+ var __getOwnPropDesc$q = Object.getOwnPropertyDescriptor;
9102
+ var __decorateClass$q = (decorators, target, key, kind) => {
9103
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$q(target, key) : target;
9104
9104
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
9105
- if (kind && result) __defProp$o(target, key, result);
9105
+ if (kind && result) __defProp$q(target, key, result);
9106
9106
  return result;
9107
9107
  };
9108
9108
  const _MenuList = class _MenuList extends FASTElement {
@@ -9318,7 +9318,7 @@ const _MenuList = class _MenuList extends FASTElement {
9318
9318
  }
9319
9319
  };
9320
9320
  _MenuList.focusableElementRoles = MenuItemRole;
9321
- __decorateClass$o([observable], _MenuList.prototype, "items", 2);
9321
+ __decorateClass$q([observable], _MenuList.prototype, "items", 2);
9322
9322
  let MenuList = _MenuList;
9323
9323
 
9324
9324
  const styles$l = css`
@@ -9339,12 +9339,12 @@ const definition$l = MenuList.compose({
9339
9339
 
9340
9340
  definition$l.define(FluentDesignSystem.registry);
9341
9341
 
9342
- var __defProp$n = Object.defineProperty;
9343
- var __getOwnPropDesc$n = Object.getOwnPropertyDescriptor;
9344
- var __decorateClass$n = (decorators, target, key, kind) => {
9345
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$n(target, key) : target;
9342
+ var __defProp$p = Object.defineProperty;
9343
+ var __getOwnPropDesc$p = Object.getOwnPropertyDescriptor;
9344
+ var __decorateClass$p = (decorators, target, key, kind) => {
9345
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$p(target, key) : target;
9346
9346
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
9347
- if (kind && result) __defProp$n(target, key, result);
9347
+ if (kind && result) __defProp$p(target, key, result);
9348
9348
  return result;
9349
9349
  };
9350
9350
  class Menu extends FASTElement {
@@ -9624,28 +9624,28 @@ class Menu extends FASTElement {
9624
9624
  }
9625
9625
  }
9626
9626
  }
9627
- __decorateClass$n([attr({
9627
+ __decorateClass$p([attr({
9628
9628
  attribute: "open-on-hover",
9629
9629
  mode: "boolean"
9630
9630
  })], Menu.prototype, "openOnHover", 2);
9631
- __decorateClass$n([attr({
9631
+ __decorateClass$p([attr({
9632
9632
  attribute: "open-on-context",
9633
9633
  mode: "boolean"
9634
9634
  })], Menu.prototype, "openOnContext", 2);
9635
- __decorateClass$n([attr({
9635
+ __decorateClass$p([attr({
9636
9636
  attribute: "close-on-scroll",
9637
9637
  mode: "boolean"
9638
9638
  })], Menu.prototype, "closeOnScroll", 2);
9639
- __decorateClass$n([attr({
9639
+ __decorateClass$p([attr({
9640
9640
  attribute: "persist-on-item-click",
9641
9641
  mode: "boolean"
9642
9642
  })], Menu.prototype, "persistOnItemClick", 2);
9643
- __decorateClass$n([attr({
9643
+ __decorateClass$p([attr({
9644
9644
  mode: "boolean"
9645
9645
  })], Menu.prototype, "split", 2);
9646
- __decorateClass$n([observable], Menu.prototype, "slottedMenuList", 2);
9647
- __decorateClass$n([observable], Menu.prototype, "slottedTriggers", 2);
9648
- __decorateClass$n([observable], Menu.prototype, "primaryAction", 2);
9646
+ __decorateClass$p([observable], Menu.prototype, "slottedMenuList", 2);
9647
+ __decorateClass$p([observable], Menu.prototype, "slottedTriggers", 2);
9648
+ __decorateClass$p([observable], Menu.prototype, "primaryAction", 2);
9649
9649
 
9650
9650
  const styles$k = css`
9651
9651
  ${display("inline-block")}
@@ -9686,12 +9686,12 @@ const MessageBarIntent = {
9686
9686
  info: "info"
9687
9687
  };
9688
9688
 
9689
- var __defProp$m = Object.defineProperty;
9690
- var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
9691
- var __decorateClass$m = (decorators, target, key, kind) => {
9692
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
9689
+ var __defProp$o = Object.defineProperty;
9690
+ var __getOwnPropDesc$o = Object.getOwnPropertyDescriptor;
9691
+ var __decorateClass$o = (decorators, target, key, kind) => {
9692
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$o(target, key) : target;
9693
9693
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
9694
- if (kind && result) __defProp$m(target, key, result);
9694
+ if (kind && result) __defProp$o(target, key, result);
9695
9695
  return result;
9696
9696
  };
9697
9697
  class MessageBar extends FASTElement {
@@ -9737,9 +9737,9 @@ class MessageBar extends FASTElement {
9737
9737
  swapStates(this.elementInternals, prev, next, MessageBarIntent);
9738
9738
  }
9739
9739
  }
9740
- __decorateClass$m([attr], MessageBar.prototype, "shape", 2);
9741
- __decorateClass$m([attr], MessageBar.prototype, "layout", 2);
9742
- __decorateClass$m([attr], MessageBar.prototype, "intent", 2);
9740
+ __decorateClass$o([attr], MessageBar.prototype, "shape", 2);
9741
+ __decorateClass$o([attr], MessageBar.prototype, "layout", 2);
9742
+ __decorateClass$o([attr], MessageBar.prototype, "intent", 2);
9743
9743
 
9744
9744
  const styles$j = css`
9745
9745
  :host{display:grid;box-sizing:border-box;font-family:${fontFamilyBase};font-size:${fontSizeBase200};line-height:${lineHeightBase200};width:100%;background:${colorNeutralBackground3};border:1px solid ${colorNeutralStroke1};padding-inline:${spacingHorizontalM};border-radius:${borderRadiusMedium};min-height:36px;align-items:center;grid-template:'icon body actions dismiss' / auto 1fr auto auto;contain:layout style paint}:host(${squareState}){border-radius:0}:host(${successState}){background-color:${colorPaletteGreenBackground1};border-color:${colorPaletteGreenBorder1}}:host(${warningState}){background-color:${colorPaletteDarkOrangeBackground1};border-color:${colorPaletteDarkOrangeBorder1}}:host(${errorState}){background-color:${colorPaletteRedBackground1};border-color:${colorPaletteRedBorder1}}:host(${multiLineState}){grid-template-areas:'icon body dismiss'
@@ -9761,12 +9761,12 @@ const definition$j = MessageBar.compose({
9761
9761
 
9762
9762
  definition$j.define(FluentDesignSystem.registry);
9763
9763
 
9764
- var __defProp$l = Object.defineProperty;
9765
- var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
9766
- var __decorateClass$l = (decorators, target, key, kind) => {
9767
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
9764
+ var __defProp$n = Object.defineProperty;
9765
+ var __getOwnPropDesc$n = Object.getOwnPropertyDescriptor;
9766
+ var __decorateClass$n = (decorators, target, key, kind) => {
9767
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$n(target, key) : target;
9768
9768
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
9769
- if (kind && result) __defProp$l(target, key, result);
9769
+ if (kind && result) __defProp$n(target, key, result);
9770
9770
  return result;
9771
9771
  };
9772
9772
  class DropdownOption extends FASTElement {
@@ -9976,38 +9976,38 @@ class DropdownOption extends FASTElement {
9976
9976
  * @public
9977
9977
  */
9978
9978
  DropdownOption.formAssociated = true;
9979
- __decorateClass$l([observable], DropdownOption.prototype, "active", 2);
9980
- __decorateClass$l([attr({
9979
+ __decorateClass$n([observable], DropdownOption.prototype, "active", 2);
9980
+ __decorateClass$n([attr({
9981
9981
  attribute: "current-selected",
9982
9982
  mode: "boolean"
9983
9983
  })], DropdownOption.prototype, "currentSelected", 2);
9984
- __decorateClass$l([attr({
9984
+ __decorateClass$n([attr({
9985
9985
  attribute: "selected",
9986
9986
  mode: "boolean"
9987
9987
  })], DropdownOption.prototype, "defaultSelected", 2);
9988
- __decorateClass$l([observable], DropdownOption.prototype, "descriptionSlot", 2);
9989
- __decorateClass$l([observable], DropdownOption.prototype, "disabled", 2);
9990
- __decorateClass$l([attr({
9988
+ __decorateClass$n([observable], DropdownOption.prototype, "descriptionSlot", 2);
9989
+ __decorateClass$n([observable], DropdownOption.prototype, "disabled", 2);
9990
+ __decorateClass$n([attr({
9991
9991
  attribute: "disabled",
9992
9992
  mode: "boolean"
9993
9993
  })], DropdownOption.prototype, "disabledAttribute", 2);
9994
- __decorateClass$l([attr({
9994
+ __decorateClass$n([attr({
9995
9995
  attribute: "form"
9996
9996
  })], DropdownOption.prototype, "formAttribute", 2);
9997
- __decorateClass$l([attr({
9997
+ __decorateClass$n([attr({
9998
9998
  mode: "boolean"
9999
9999
  })], DropdownOption.prototype, "freeform", 2);
10000
- __decorateClass$l([attr({
10000
+ __decorateClass$n([attr({
10001
10001
  attribute: "id"
10002
10002
  })], DropdownOption.prototype, "id", 2);
10003
- __decorateClass$l([attr({
10003
+ __decorateClass$n([attr({
10004
10004
  attribute: "value",
10005
10005
  mode: "fromView"
10006
10006
  })], DropdownOption.prototype, "initialValue", 2);
10007
- __decorateClass$l([observable], DropdownOption.prototype, "multiple", 2);
10008
- __decorateClass$l([attr], DropdownOption.prototype, "name", 2);
10009
- __decorateClass$l([observable], DropdownOption.prototype, "start", 2);
10010
- __decorateClass$l([attr({
10007
+ __decorateClass$n([observable], DropdownOption.prototype, "multiple", 2);
10008
+ __decorateClass$n([attr], DropdownOption.prototype, "name", 2);
10009
+ __decorateClass$n([observable], DropdownOption.prototype, "start", 2);
10010
+ __decorateClass$n([attr({
10011
10011
  attribute: "text",
10012
10012
  mode: "fromView"
10013
10013
  })], DropdownOption.prototype, "textAttribute", 2);
@@ -10064,12 +10064,12 @@ const ProgressBarValidationState = {
10064
10064
  error: "error"
10065
10065
  };
10066
10066
 
10067
- var __defProp$k = Object.defineProperty;
10068
- var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
10069
- var __decorateClass$k = (decorators, target, key, kind) => {
10070
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
10067
+ var __defProp$m = Object.defineProperty;
10068
+ var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
10069
+ var __decorateClass$m = (decorators, target, key, kind) => {
10070
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
10071
10071
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
10072
- if (kind && result) __defProp$k(target, key, result);
10072
+ if (kind && result) __defProp$m(target, key, result);
10073
10073
  return result;
10074
10074
  };
10075
10075
  class BaseProgressBar extends FASTElement {
@@ -10127,26 +10127,26 @@ class BaseProgressBar extends FASTElement {
10127
10127
  return range === 0 ? 0 : Math.fround((value - min) / range * 100);
10128
10128
  }
10129
10129
  }
10130
- __decorateClass$k([attr({
10130
+ __decorateClass$m([attr({
10131
10131
  attribute: "validation-state"
10132
10132
  })], BaseProgressBar.prototype, "validationState", 2);
10133
- __decorateClass$k([attr({
10133
+ __decorateClass$m([attr({
10134
10134
  converter: nullableNumberConverter
10135
10135
  })], BaseProgressBar.prototype, "value", 2);
10136
- __decorateClass$k([attr({
10136
+ __decorateClass$m([attr({
10137
10137
  converter: nullableNumberConverter
10138
10138
  })], BaseProgressBar.prototype, "min", 2);
10139
- __decorateClass$k([attr({
10139
+ __decorateClass$m([attr({
10140
10140
  converter: nullableNumberConverter
10141
10141
  })], BaseProgressBar.prototype, "max", 2);
10142
- __decorateClass$k([volatile], BaseProgressBar.prototype, "percentComplete", 1);
10142
+ __decorateClass$m([volatile], BaseProgressBar.prototype, "percentComplete", 1);
10143
10143
 
10144
- var __defProp$j = Object.defineProperty;
10145
- var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
10146
- var __decorateClass$j = (decorators, target, key, kind) => {
10147
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
10144
+ var __defProp$l = Object.defineProperty;
10145
+ var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
10146
+ var __decorateClass$l = (decorators, target, key, kind) => {
10147
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
10148
10148
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
10149
- if (kind && result) __defProp$j(target, key, result);
10149
+ if (kind && result) __defProp$l(target, key, result);
10150
10150
  return result;
10151
10151
  };
10152
10152
  class ProgressBar extends BaseProgressBar {
@@ -10167,8 +10167,8 @@ class ProgressBar extends BaseProgressBar {
10167
10167
  swapStates(this.elementInternals, prev, next, ProgressBarShape);
10168
10168
  }
10169
10169
  }
10170
- __decorateClass$j([attr], ProgressBar.prototype, "thickness", 2);
10171
- __decorateClass$j([attr], ProgressBar.prototype, "shape", 2);
10170
+ __decorateClass$l([attr], ProgressBar.prototype, "thickness", 2);
10171
+ __decorateClass$l([attr], ProgressBar.prototype, "shape", 2);
10172
10172
 
10173
10173
  const styles$h = css`
10174
10174
  ${display("block")}
@@ -10274,12 +10274,12 @@ function getRootActiveElement(element) {
10274
10274
 
10275
10275
  const RadioGroupOrientation = Orientation;
10276
10276
 
10277
- var __defProp$i = Object.defineProperty;
10278
- var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
10279
- var __decorateClass$i = (decorators, target, key, kind) => {
10280
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
10277
+ var __defProp$k = Object.defineProperty;
10278
+ var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
10279
+ var __decorateClass$k = (decorators, target, key, kind) => {
10280
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
10281
10281
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
10282
- if (kind && result) __defProp$i(target, key, result);
10282
+ if (kind && result) __defProp$k(target, key, result);
10283
10283
  return result;
10284
10284
  };
10285
10285
  class RadioGroup extends FASTElement {
@@ -10708,19 +10708,19 @@ class RadioGroup extends FASTElement {
10708
10708
  * @public
10709
10709
  */
10710
10710
  RadioGroup.formAssociated = true;
10711
- __decorateClass$i([observable], RadioGroup.prototype, "checkedIndex", 2);
10712
- __decorateClass$i([attr({
10711
+ __decorateClass$k([observable], RadioGroup.prototype, "checkedIndex", 2);
10712
+ __decorateClass$k([attr({
10713
10713
  attribute: "disabled",
10714
10714
  mode: "boolean"
10715
10715
  })], RadioGroup.prototype, "disabled", 2);
10716
- __decorateClass$i([attr({
10716
+ __decorateClass$k([attr({
10717
10717
  attribute: "value",
10718
10718
  mode: "fromView"
10719
10719
  })], RadioGroup.prototype, "initialValue", 2);
10720
- __decorateClass$i([attr], RadioGroup.prototype, "name", 2);
10721
- __decorateClass$i([attr], RadioGroup.prototype, "orientation", 2);
10722
- __decorateClass$i([observable], RadioGroup.prototype, "radios", 2);
10723
- __decorateClass$i([attr({
10720
+ __decorateClass$k([attr], RadioGroup.prototype, "name", 2);
10721
+ __decorateClass$k([attr], RadioGroup.prototype, "orientation", 2);
10722
+ __decorateClass$k([observable], RadioGroup.prototype, "radios", 2);
10723
+ __decorateClass$k([attr({
10724
10724
  mode: "boolean"
10725
10725
  })], RadioGroup.prototype, "required", 2);
10726
10726
 
@@ -10767,12 +10767,12 @@ const definition$f = Radio.compose({
10767
10767
 
10768
10768
  definition$f.define(FluentDesignSystem.registry);
10769
10769
 
10770
- var __defProp$h = Object.defineProperty;
10771
- var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
10772
- var __decorateClass$h = (decorators, target, key, kind) => {
10773
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
10770
+ var __defProp$j = Object.defineProperty;
10771
+ var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
10772
+ var __decorateClass$j = (decorators, target, key, kind) => {
10773
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
10774
10774
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
10775
- if (kind && result) __defProp$h(target, key, result);
10775
+ if (kind && result) __defProp$j(target, key, result);
10776
10776
  return result;
10777
10777
  };
10778
10778
  class BaseRatingDisplay extends FASTElement {
@@ -10838,20 +10838,20 @@ class BaseRatingDisplay extends FASTElement {
10838
10838
  return htmlString;
10839
10839
  }
10840
10840
  }
10841
- __decorateClass$h([attr({
10841
+ __decorateClass$j([attr({
10842
10842
  converter: nullableNumberConverter
10843
10843
  })], BaseRatingDisplay.prototype, "count", 2);
10844
- __decorateClass$h([attr({
10844
+ __decorateClass$j([attr({
10845
10845
  attribute: "icon-view-box"
10846
10846
  })], BaseRatingDisplay.prototype, "iconViewBox", 2);
10847
- __decorateClass$h([attr({
10847
+ __decorateClass$j([attr({
10848
10848
  converter: nullableNumberConverter
10849
10849
  })], BaseRatingDisplay.prototype, "max", 2);
10850
- __decorateClass$h([attr({
10850
+ __decorateClass$j([attr({
10851
10851
  converter: nullableNumberConverter
10852
10852
  })], BaseRatingDisplay.prototype, "value", 2);
10853
- __decorateClass$h([observable], BaseRatingDisplay.prototype, "slottedIcon", 2);
10854
- __decorateClass$h([observable], BaseRatingDisplay.prototype, "customIcon", 2);
10853
+ __decorateClass$j([observable], BaseRatingDisplay.prototype, "slottedIcon", 2);
10854
+ __decorateClass$j([observable], BaseRatingDisplay.prototype, "customIcon", 2);
10855
10855
 
10856
10856
  const RatingDisplayColor = {
10857
10857
  neutral: "neutral",
@@ -10864,12 +10864,12 @@ const RatingDisplaySize = {
10864
10864
  large: "large"
10865
10865
  };
10866
10866
 
10867
- var __defProp$g = Object.defineProperty;
10868
- var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
10869
- var __decorateClass$g = (decorators, target, key, kind) => {
10870
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
10867
+ var __defProp$i = Object.defineProperty;
10868
+ var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
10869
+ var __decorateClass$i = (decorators, target, key, kind) => {
10870
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
10871
10871
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
10872
- if (kind && result) __defProp$g(target, key, result);
10872
+ if (kind && result) __defProp$i(target, key, result);
10873
10873
  return result;
10874
10874
  };
10875
10875
  class RatingDisplay extends BaseRatingDisplay {
@@ -10912,9 +10912,9 @@ class RatingDisplay extends BaseRatingDisplay {
10912
10912
  return (this.compact ? 1 : this.max ?? 5) * 2;
10913
10913
  }
10914
10914
  }
10915
- __decorateClass$g([attr], RatingDisplay.prototype, "color", 2);
10916
- __decorateClass$g([attr], RatingDisplay.prototype, "size", 2);
10917
- __decorateClass$g([attr({
10915
+ __decorateClass$i([attr], RatingDisplay.prototype, "color", 2);
10916
+ __decorateClass$i([attr], RatingDisplay.prototype, "size", 2);
10917
+ __decorateClass$i([attr({
10918
10918
  mode: "boolean"
10919
10919
  })], RatingDisplay.prototype, "compact", 2);
10920
10920
 
@@ -10958,12 +10958,12 @@ function convertPixelToPercent(pixelPos, minPosition, maxPosition, direction) {
10958
10958
  return pct;
10959
10959
  }
10960
10960
 
10961
- var __defProp$f = Object.defineProperty;
10962
- var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
10963
- var __decorateClass$f = (decorators, target, key, kind) => {
10964
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
10961
+ var __defProp$h = Object.defineProperty;
10962
+ var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
10963
+ var __decorateClass$h = (decorators, target, key, kind) => {
10964
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
10965
10965
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
10966
- if (kind && result) __defProp$f(target, key, result);
10966
+ if (kind && result) __defProp$h(target, key, result);
10967
10967
  return result;
10968
10968
  };
10969
10969
  class Slider extends FASTElement {
@@ -11488,34 +11488,34 @@ class Slider extends FASTElement {
11488
11488
  * @public
11489
11489
  */
11490
11490
  Slider.formAssociated = true;
11491
- __decorateClass$f([attr], Slider.prototype, "size", 2);
11492
- __decorateClass$f([attr({
11491
+ __decorateClass$h([attr], Slider.prototype, "size", 2);
11492
+ __decorateClass$h([attr({
11493
11493
  attribute: "value",
11494
11494
  mode: "fromView"
11495
11495
  })], Slider.prototype, "initialValue", 2);
11496
- __decorateClass$f([observable], Slider.prototype, "direction", 2);
11497
- __decorateClass$f([observable], Slider.prototype, "isDragging", 2);
11498
- __decorateClass$f([observable], Slider.prototype, "position", 2);
11499
- __decorateClass$f([observable], Slider.prototype, "trackWidth", 2);
11500
- __decorateClass$f([observable], Slider.prototype, "trackMinWidth", 2);
11501
- __decorateClass$f([observable], Slider.prototype, "trackHeight", 2);
11502
- __decorateClass$f([observable], Slider.prototype, "trackLeft", 2);
11503
- __decorateClass$f([observable], Slider.prototype, "trackMinHeight", 2);
11504
- __decorateClass$f([observable], Slider.prototype, "valueTextFormatter", 2);
11505
- __decorateClass$f([attr({
11496
+ __decorateClass$h([observable], Slider.prototype, "direction", 2);
11497
+ __decorateClass$h([observable], Slider.prototype, "isDragging", 2);
11498
+ __decorateClass$h([observable], Slider.prototype, "position", 2);
11499
+ __decorateClass$h([observable], Slider.prototype, "trackWidth", 2);
11500
+ __decorateClass$h([observable], Slider.prototype, "trackMinWidth", 2);
11501
+ __decorateClass$h([observable], Slider.prototype, "trackHeight", 2);
11502
+ __decorateClass$h([observable], Slider.prototype, "trackLeft", 2);
11503
+ __decorateClass$h([observable], Slider.prototype, "trackMinHeight", 2);
11504
+ __decorateClass$h([observable], Slider.prototype, "valueTextFormatter", 2);
11505
+ __decorateClass$h([attr({
11506
11506
  mode: "boolean"
11507
11507
  })], Slider.prototype, "disabled", 2);
11508
- __decorateClass$f([attr({
11508
+ __decorateClass$h([attr({
11509
11509
  converter: numberLikeStringConverter
11510
11510
  })], Slider.prototype, "min", 2);
11511
- __decorateClass$f([attr({
11511
+ __decorateClass$h([attr({
11512
11512
  converter: numberLikeStringConverter
11513
11513
  })], Slider.prototype, "max", 2);
11514
- __decorateClass$f([attr({
11514
+ __decorateClass$h([attr({
11515
11515
  converter: numberLikeStringConverter
11516
11516
  })], Slider.prototype, "step", 2);
11517
- __decorateClass$f([attr], Slider.prototype, "orientation", 2);
11518
- __decorateClass$f([attr], Slider.prototype, "mode", 2);
11517
+ __decorateClass$h([attr], Slider.prototype, "orientation", 2);
11518
+ __decorateClass$h([attr], Slider.prototype, "mode", 2);
11519
11519
 
11520
11520
  const styles$d = css`
11521
11521
  ${display("inline-grid")}
@@ -11569,12 +11569,12 @@ const SpinnerSize = {
11569
11569
  huge: "huge"
11570
11570
  };
11571
11571
 
11572
- var __defProp$e = Object.defineProperty;
11573
- var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
11574
- var __decorateClass$e = (decorators, target, key, kind) => {
11575
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
11572
+ var __defProp$g = Object.defineProperty;
11573
+ var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
11574
+ var __decorateClass$g = (decorators, target, key, kind) => {
11575
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
11576
11576
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11577
- if (kind && result) __defProp$e(target, key, result);
11577
+ if (kind && result) __defProp$g(target, key, result);
11578
11578
  return result;
11579
11579
  };
11580
11580
  class Spinner extends BaseSpinner {
@@ -11595,8 +11595,8 @@ class Spinner extends BaseSpinner {
11595
11595
  swapStates(this.elementInternals, prev, next, SpinnerAppearance);
11596
11596
  }
11597
11597
  }
11598
- __decorateClass$e([attr], Spinner.prototype, "size", 2);
11599
- __decorateClass$e([attr], Spinner.prototype, "appearance", 2);
11598
+ __decorateClass$g([attr], Spinner.prototype, "size", 2);
11599
+ __decorateClass$g([attr], Spinner.prototype, "appearance", 2);
11600
11600
 
11601
11601
  const styles$c = css`
11602
11602
  ${display("inline-flex")}
@@ -11662,12 +11662,12 @@ const definition$a = TabPanel.compose({
11662
11662
 
11663
11663
  definition$a.define(FluentDesignSystem.registry);
11664
11664
 
11665
- var __defProp$d = Object.defineProperty;
11666
- var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
11667
- var __decorateClass$d = (decorators, target, key, kind) => {
11668
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
11665
+ var __defProp$f = Object.defineProperty;
11666
+ var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
11667
+ var __decorateClass$f = (decorators, target, key, kind) => {
11668
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
11669
11669
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11670
- if (kind && result) __defProp$d(target, key, result);
11670
+ if (kind && result) __defProp$f(target, key, result);
11671
11671
  return result;
11672
11672
  };
11673
11673
  class Tab extends FASTElement {
@@ -11681,7 +11681,7 @@ class Tab extends FASTElement {
11681
11681
  this.$fastController.addStyles(this.styles);
11682
11682
  }
11683
11683
  }
11684
- __decorateClass$d([attr({
11684
+ __decorateClass$f([attr({
11685
11685
  mode: "boolean"
11686
11686
  })], Tab.prototype, "disabled", 2);
11687
11687
  applyMixins(Tab, StartEnd);
@@ -11711,12 +11711,12 @@ const TabsAppearance = {
11711
11711
  };
11712
11712
  const TabsOrientation = Orientation;
11713
11713
 
11714
- var __defProp$c = Object.defineProperty;
11715
- var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
11716
- var __decorateClass$c = (decorators, target, key, kind) => {
11717
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
11714
+ var __defProp$e = Object.defineProperty;
11715
+ var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
11716
+ var __decorateClass$e = (decorators, target, key, kind) => {
11717
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
11718
11718
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11719
- if (kind && result) __defProp$c(target, key, result);
11719
+ if (kind && result) __defProp$e(target, key, result);
11720
11720
  return result;
11721
11721
  };
11722
11722
  class BaseTabs extends FASTElement {
@@ -11960,17 +11960,17 @@ class BaseTabs extends FASTElement {
11960
11960
  this.activeTabIndex = this.getActiveIndex();
11961
11961
  }
11962
11962
  }
11963
- __decorateClass$c([attr], BaseTabs.prototype, "orientation", 2);
11964
- __decorateClass$c([attr], BaseTabs.prototype, "activeid", 2);
11965
- __decorateClass$c([observable], BaseTabs.prototype, "tabs", 2);
11966
- __decorateClass$c([observable], BaseTabs.prototype, "tabpanels", 2);
11963
+ __decorateClass$e([attr], BaseTabs.prototype, "orientation", 2);
11964
+ __decorateClass$e([attr], BaseTabs.prototype, "activeid", 2);
11965
+ __decorateClass$e([observable], BaseTabs.prototype, "tabs", 2);
11966
+ __decorateClass$e([observable], BaseTabs.prototype, "tabpanels", 2);
11967
11967
 
11968
- var __defProp$b = Object.defineProperty;
11969
- var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
11970
- var __decorateClass$b = (decorators, target, key, kind) => {
11971
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
11968
+ var __defProp$d = Object.defineProperty;
11969
+ var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
11970
+ var __decorateClass$d = (decorators, target, key, kind) => {
11971
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
11972
11972
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11973
- if (kind && result) __defProp$b(target, key, result);
11973
+ if (kind && result) __defProp$d(target, key, result);
11974
11974
  return result;
11975
11975
  };
11976
11976
  class Tabs extends BaseTabs {
@@ -12104,11 +12104,11 @@ class Tabs extends BaseTabs {
12104
12104
  this.setTabData();
12105
12105
  }
12106
12106
  }
12107
- __decorateClass$b([attr], Tabs.prototype, "appearance", 2);
12108
- __decorateClass$b([attr({
12107
+ __decorateClass$d([attr], Tabs.prototype, "appearance", 2);
12108
+ __decorateClass$d([attr({
12109
12109
  mode: "boolean"
12110
12110
  })], Tabs.prototype, "disabled", 2);
12111
- __decorateClass$b([attr], Tabs.prototype, "size", 2);
12111
+ __decorateClass$d([attr], Tabs.prototype, "size", 2);
12112
12112
  applyMixins(Tabs, StartEnd);
12113
12113
 
12114
12114
  function tabsTemplate(options = {}) {
@@ -12150,12 +12150,12 @@ const TablistSize = {
12150
12150
  };
12151
12151
  const TablistOrientation = Orientation;
12152
12152
 
12153
- var __defProp$a = Object.defineProperty;
12154
- var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
12155
- var __decorateClass$a = (decorators, target, key, kind) => {
12156
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
12153
+ var __defProp$c = Object.defineProperty;
12154
+ var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
12155
+ var __decorateClass$c = (decorators, target, key, kind) => {
12156
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
12157
12157
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
12158
- if (kind && result) __defProp$a(target, key, result);
12158
+ if (kind && result) __defProp$c(target, key, result);
12159
12159
  return result;
12160
12160
  };
12161
12161
  class BaseTablist extends FASTElement {
@@ -12368,19 +12368,19 @@ class BaseTablist extends FASTElement {
12368
12368
  this.activeTabIndex = this.getActiveIndex();
12369
12369
  }
12370
12370
  }
12371
- __decorateClass$a([attr({
12371
+ __decorateClass$c([attr({
12372
12372
  mode: "boolean"
12373
12373
  })], BaseTablist.prototype, "disabled", 2);
12374
- __decorateClass$a([attr], BaseTablist.prototype, "orientation", 2);
12375
- __decorateClass$a([attr], BaseTablist.prototype, "activeid", 2);
12376
- __decorateClass$a([observable], BaseTablist.prototype, "tabs", 2);
12374
+ __decorateClass$c([attr], BaseTablist.prototype, "orientation", 2);
12375
+ __decorateClass$c([attr], BaseTablist.prototype, "activeid", 2);
12376
+ __decorateClass$c([observable], BaseTablist.prototype, "tabs", 2);
12377
12377
 
12378
- var __defProp$9 = Object.defineProperty;
12379
- var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
12380
- var __decorateClass$9 = (decorators, target, key, kind) => {
12381
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
12378
+ var __defProp$b = Object.defineProperty;
12379
+ var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
12380
+ var __decorateClass$b = (decorators, target, key, kind) => {
12381
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
12382
12382
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
12383
- if (kind && result) __defProp$9(target, key, result);
12383
+ if (kind && result) __defProp$b(target, key, result);
12384
12384
  return result;
12385
12385
  };
12386
12386
  class Tablist extends BaseTablist {
@@ -12534,8 +12534,8 @@ class Tablist extends BaseTablist {
12534
12534
  }
12535
12535
  }
12536
12536
  }
12537
- __decorateClass$9([attr], Tablist.prototype, "appearance", 2);
12538
- __decorateClass$9([attr], Tablist.prototype, "size", 2);
12537
+ __decorateClass$b([attr], Tablist.prototype, "appearance", 2);
12538
+ __decorateClass$b([attr], Tablist.prototype, "size", 2);
12539
12539
 
12540
12540
  const template$7 = html`<template role="tablist"><slot name="tab" ${slotted("tabs")}></slot></template>`;
12541
12541
 
@@ -12570,12 +12570,12 @@ const TextAreaResize = {
12570
12570
  vertical: "vertical"
12571
12571
  };
12572
12572
 
12573
- var __defProp$8 = Object.defineProperty;
12574
- var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
12575
- var __decorateClass$8 = (decorators, target, key, kind) => {
12576
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
12573
+ var __defProp$a = Object.defineProperty;
12574
+ var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
12575
+ var __decorateClass$a = (decorators, target, key, kind) => {
12576
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
12577
12577
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
12578
- if (kind && result) __defProp$8(target, key, result);
12578
+ if (kind && result) __defProp$a(target, key, result);
12579
12579
  return result;
12580
12580
  };
12581
12581
  class BaseTextArea extends FASTElement {
@@ -12944,56 +12944,56 @@ class BaseTextArea extends FASTElement {
12944
12944
  * @public
12945
12945
  */
12946
12946
  BaseTextArea.formAssociated = true;
12947
- __decorateClass$8([observable], BaseTextArea.prototype, "defaultSlottedNodes", 2);
12948
- __decorateClass$8([observable], BaseTextArea.prototype, "labelSlottedNodes", 2);
12949
- __decorateClass$8([attr], BaseTextArea.prototype, "autocomplete", 2);
12950
- __decorateClass$8([attr({
12947
+ __decorateClass$a([observable], BaseTextArea.prototype, "defaultSlottedNodes", 2);
12948
+ __decorateClass$a([observable], BaseTextArea.prototype, "labelSlottedNodes", 2);
12949
+ __decorateClass$a([attr], BaseTextArea.prototype, "autocomplete", 2);
12950
+ __decorateClass$a([attr({
12951
12951
  attribute: "auto-resize",
12952
12952
  mode: "boolean"
12953
12953
  })], BaseTextArea.prototype, "autoResize", 2);
12954
- __decorateClass$8([attr({
12954
+ __decorateClass$a([attr({
12955
12955
  attribute: "dirname"
12956
12956
  })], BaseTextArea.prototype, "dirName", 2);
12957
- __decorateClass$8([attr({
12957
+ __decorateClass$a([attr({
12958
12958
  mode: "boolean"
12959
12959
  })], BaseTextArea.prototype, "disabled", 2);
12960
- __decorateClass$8([attr({
12960
+ __decorateClass$a([attr({
12961
12961
  attribute: "display-shadow",
12962
12962
  mode: "boolean"
12963
12963
  })], BaseTextArea.prototype, "displayShadow", 2);
12964
- __decorateClass$8([attr({
12964
+ __decorateClass$a([attr({
12965
12965
  attribute: "form"
12966
12966
  })], BaseTextArea.prototype, "initialForm", 2);
12967
- __decorateClass$8([attr({
12967
+ __decorateClass$a([attr({
12968
12968
  attribute: "maxlength",
12969
12969
  converter: nullableNumberConverter
12970
12970
  })], BaseTextArea.prototype, "maxLength", 2);
12971
- __decorateClass$8([attr({
12971
+ __decorateClass$a([attr({
12972
12972
  attribute: "minlength",
12973
12973
  converter: nullableNumberConverter
12974
12974
  })], BaseTextArea.prototype, "minLength", 2);
12975
- __decorateClass$8([attr], BaseTextArea.prototype, "name", 2);
12976
- __decorateClass$8([attr], BaseTextArea.prototype, "placeholder", 2);
12977
- __decorateClass$8([attr({
12975
+ __decorateClass$a([attr], BaseTextArea.prototype, "name", 2);
12976
+ __decorateClass$a([attr], BaseTextArea.prototype, "placeholder", 2);
12977
+ __decorateClass$a([attr({
12978
12978
  attribute: "readonly",
12979
12979
  mode: "boolean"
12980
12980
  })], BaseTextArea.prototype, "readOnly", 2);
12981
- __decorateClass$8([attr({
12981
+ __decorateClass$a([attr({
12982
12982
  mode: "boolean"
12983
12983
  })], BaseTextArea.prototype, "required", 2);
12984
- __decorateClass$8([attr({
12984
+ __decorateClass$a([attr({
12985
12985
  mode: "fromView"
12986
12986
  })], BaseTextArea.prototype, "resize", 2);
12987
- __decorateClass$8([attr({
12987
+ __decorateClass$a([attr({
12988
12988
  mode: "boolean"
12989
12989
  })], BaseTextArea.prototype, "spellcheck", 2);
12990
12990
 
12991
- var __defProp$7 = Object.defineProperty;
12992
- var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
12993
- var __decorateClass$7 = (decorators, target, key, kind) => {
12994
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
12991
+ var __defProp$9 = Object.defineProperty;
12992
+ var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
12993
+ var __decorateClass$9 = (decorators, target, key, kind) => {
12994
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
12995
12995
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
12996
- if (kind && result) __defProp$7(target, key, result);
12996
+ if (kind && result) __defProp$9(target, key, result);
12997
12997
  return result;
12998
12998
  };
12999
12999
  class TextArea extends BaseTextArea {
@@ -13061,13 +13061,13 @@ class TextArea extends BaseTextArea {
13061
13061
  toggleState(this.elementInternals, "display-shadow", this.displayShadow && TextAreaAppearancesForDisplayShadow.includes(this.appearance));
13062
13062
  }
13063
13063
  }
13064
- __decorateClass$7([attr({
13064
+ __decorateClass$9([attr({
13065
13065
  mode: "fromView"
13066
13066
  })], TextArea.prototype, "appearance", 2);
13067
- __decorateClass$7([attr({
13067
+ __decorateClass$9([attr({
13068
13068
  mode: "boolean"
13069
13069
  })], TextArea.prototype, "block", 2);
13070
- __decorateClass$7([attr], TextArea.prototype, "size", 2);
13070
+ __decorateClass$9([attr], TextArea.prototype, "size", 2);
13071
13071
 
13072
13072
  const styles$6 = css`
13073
13073
  ${display("inline-block")}
@@ -13117,12 +13117,12 @@ const TextInputType = {
13117
13117
  };
13118
13118
  const ImplicitSubmissionBlockingTypes = ["date", "datetime-local", "email", "month", "number", "password", "search", "tel", "text", "time", "url", "week"];
13119
13119
 
13120
- var __defProp$6 = Object.defineProperty;
13121
- var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
13122
- var __decorateClass$6 = (decorators, target, key, kind) => {
13123
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
13120
+ var __defProp$8 = Object.defineProperty;
13121
+ var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
13122
+ var __decorateClass$8 = (decorators, target, key, kind) => {
13123
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
13124
13124
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
13125
- if (kind && result) __defProp$6(target, key, result);
13125
+ if (kind && result) __defProp$8(target, key, result);
13126
13126
  return result;
13127
13127
  };
13128
13128
  class BaseTextInput extends FASTElement {
@@ -13443,63 +13443,63 @@ class BaseTextInput extends FASTElement {
13443
13443
  * @public
13444
13444
  */
13445
13445
  BaseTextInput.formAssociated = true;
13446
- __decorateClass$6([attr], BaseTextInput.prototype, "autocomplete", 2);
13447
- __decorateClass$6([attr({
13446
+ __decorateClass$8([attr], BaseTextInput.prototype, "autocomplete", 2);
13447
+ __decorateClass$8([attr({
13448
13448
  mode: "boolean"
13449
13449
  })], BaseTextInput.prototype, "autofocus", 2);
13450
- __decorateClass$6([attr({
13450
+ __decorateClass$8([attr({
13451
13451
  attribute: "current-value"
13452
13452
  })], BaseTextInput.prototype, "currentValue", 2);
13453
- __decorateClass$6([observable], BaseTextInput.prototype, "defaultSlottedNodes", 2);
13454
- __decorateClass$6([attr], BaseTextInput.prototype, "dirname", 2);
13455
- __decorateClass$6([attr({
13453
+ __decorateClass$8([observable], BaseTextInput.prototype, "defaultSlottedNodes", 2);
13454
+ __decorateClass$8([attr], BaseTextInput.prototype, "dirname", 2);
13455
+ __decorateClass$8([attr({
13456
13456
  mode: "boolean"
13457
13457
  })], BaseTextInput.prototype, "disabled", 2);
13458
- __decorateClass$6([attr({
13458
+ __decorateClass$8([attr({
13459
13459
  attribute: "form"
13460
13460
  })], BaseTextInput.prototype, "formAttribute", 2);
13461
- __decorateClass$6([attr({
13461
+ __decorateClass$8([attr({
13462
13462
  attribute: "value",
13463
13463
  mode: "fromView"
13464
13464
  })], BaseTextInput.prototype, "initialValue", 2);
13465
- __decorateClass$6([attr], BaseTextInput.prototype, "list", 2);
13466
- __decorateClass$6([attr({
13465
+ __decorateClass$8([attr], BaseTextInput.prototype, "list", 2);
13466
+ __decorateClass$8([attr({
13467
13467
  converter: nullableNumberConverter
13468
13468
  })], BaseTextInput.prototype, "maxlength", 2);
13469
- __decorateClass$6([attr({
13469
+ __decorateClass$8([attr({
13470
13470
  converter: nullableNumberConverter
13471
13471
  })], BaseTextInput.prototype, "minlength", 2);
13472
- __decorateClass$6([attr({
13472
+ __decorateClass$8([attr({
13473
13473
  mode: "boolean"
13474
13474
  })], BaseTextInput.prototype, "multiple", 2);
13475
- __decorateClass$6([attr], BaseTextInput.prototype, "name", 2);
13476
- __decorateClass$6([attr], BaseTextInput.prototype, "pattern", 2);
13477
- __decorateClass$6([attr], BaseTextInput.prototype, "placeholder", 2);
13478
- __decorateClass$6([attr({
13475
+ __decorateClass$8([attr], BaseTextInput.prototype, "name", 2);
13476
+ __decorateClass$8([attr], BaseTextInput.prototype, "pattern", 2);
13477
+ __decorateClass$8([attr], BaseTextInput.prototype, "placeholder", 2);
13478
+ __decorateClass$8([attr({
13479
13479
  attribute: "readonly",
13480
13480
  mode: "boolean"
13481
13481
  })], BaseTextInput.prototype, "readOnly", 2);
13482
- __decorateClass$6([attr({
13482
+ __decorateClass$8([attr({
13483
13483
  mode: "boolean"
13484
13484
  })], BaseTextInput.prototype, "required", 2);
13485
- __decorateClass$6([attr({
13485
+ __decorateClass$8([attr({
13486
13486
  converter: nullableNumberConverter
13487
13487
  })], BaseTextInput.prototype, "size", 2);
13488
- __decorateClass$6([attr({
13488
+ __decorateClass$8([attr({
13489
13489
  converter: {
13490
13490
  fromView: value => typeof value === "string" ? ["true", ""].includes(value.trim().toLowerCase()) : null,
13491
13491
  toView: value => value.toString()
13492
13492
  }
13493
13493
  })], BaseTextInput.prototype, "spellcheck", 2);
13494
- __decorateClass$6([attr], BaseTextInput.prototype, "type", 2);
13495
- __decorateClass$6([observable], BaseTextInput.prototype, "controlLabel", 2);
13494
+ __decorateClass$8([attr], BaseTextInput.prototype, "type", 2);
13495
+ __decorateClass$8([observable], BaseTextInput.prototype, "controlLabel", 2);
13496
13496
 
13497
- var __defProp$5 = Object.defineProperty;
13498
- var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
13499
- var __decorateClass$5 = (decorators, target, key, kind) => {
13500
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;
13497
+ var __defProp$7 = Object.defineProperty;
13498
+ var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
13499
+ var __decorateClass$7 = (decorators, target, key, kind) => {
13500
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
13501
13501
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
13502
- if (kind && result) __defProp$5(target, key, result);
13502
+ if (kind && result) __defProp$7(target, key, result);
13503
13503
  return result;
13504
13504
  };
13505
13505
  class TextInput extends BaseTextInput {
@@ -13520,8 +13520,8 @@ class TextInput extends BaseTextInput {
13520
13520
  swapStates(this.elementInternals, prev, next, TextInputControlSize);
13521
13521
  }
13522
13522
  }
13523
- __decorateClass$5([attr], TextInput.prototype, "appearance", 2);
13524
- __decorateClass$5([attr({
13523
+ __decorateClass$7([attr], TextInput.prototype, "appearance", 2);
13524
+ __decorateClass$7([attr({
13525
13525
  attribute: "control-size"
13526
13526
  })], TextInput.prototype, "controlSize", 2);
13527
13527
  applyMixins(TextInput, StartEnd);
@@ -13580,12 +13580,12 @@ const TextAlign = {
13580
13580
  justify: "justify"
13581
13581
  };
13582
13582
 
13583
- var __defProp$4 = Object.defineProperty;
13584
- var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
13585
- var __decorateClass$4 = (decorators, target, key, kind) => {
13586
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;
13583
+ var __defProp$6 = Object.defineProperty;
13584
+ var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
13585
+ var __decorateClass$6 = (decorators, target, key, kind) => {
13586
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
13587
13587
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
13588
- if (kind && result) __defProp$4(target, key, result);
13588
+ if (kind && result) __defProp$6(target, key, result);
13589
13589
  return result;
13590
13590
  };
13591
13591
  class Text extends FASTElement {
@@ -13666,28 +13666,28 @@ class Text extends FASTElement {
13666
13666
  }
13667
13667
  }
13668
13668
  }
13669
- __decorateClass$4([attr({
13669
+ __decorateClass$6([attr({
13670
13670
  mode: "boolean"
13671
13671
  })], Text.prototype, "nowrap", 2);
13672
- __decorateClass$4([attr({
13672
+ __decorateClass$6([attr({
13673
13673
  mode: "boolean"
13674
13674
  })], Text.prototype, "truncate", 2);
13675
- __decorateClass$4([attr({
13675
+ __decorateClass$6([attr({
13676
13676
  mode: "boolean"
13677
13677
  })], Text.prototype, "italic", 2);
13678
- __decorateClass$4([attr({
13678
+ __decorateClass$6([attr({
13679
13679
  mode: "boolean"
13680
13680
  })], Text.prototype, "underline", 2);
13681
- __decorateClass$4([attr({
13681
+ __decorateClass$6([attr({
13682
13682
  mode: "boolean"
13683
13683
  })], Text.prototype, "strikethrough", 2);
13684
- __decorateClass$4([attr({
13684
+ __decorateClass$6([attr({
13685
13685
  mode: "boolean"
13686
13686
  })], Text.prototype, "block", 2);
13687
- __decorateClass$4([attr], Text.prototype, "size", 2);
13688
- __decorateClass$4([attr], Text.prototype, "font", 2);
13689
- __decorateClass$4([attr], Text.prototype, "weight", 2);
13690
- __decorateClass$4([attr], Text.prototype, "align", 2);
13687
+ __decorateClass$6([attr], Text.prototype, "size", 2);
13688
+ __decorateClass$6([attr], Text.prototype, "font", 2);
13689
+ __decorateClass$6([attr], Text.prototype, "weight", 2);
13690
+ __decorateClass$6([attr], Text.prototype, "align", 2);
13691
13691
 
13692
13692
  const styles$4 = css`
13693
13693
  ${display("inline")}
@@ -13704,12 +13704,12 @@ const definition$4 = Text.compose({
13704
13704
 
13705
13705
  definition$4.define(FluentDesignSystem.registry);
13706
13706
 
13707
- var __defProp$3 = Object.defineProperty;
13708
- var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
13709
- var __decorateClass$3 = (decorators, target, key, kind) => {
13710
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;
13707
+ var __defProp$5 = Object.defineProperty;
13708
+ var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
13709
+ var __decorateClass$5 = (decorators, target, key, kind) => {
13710
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;
13711
13711
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
13712
- if (kind && result) __defProp$3(target, key, result);
13712
+ if (kind && result) __defProp$5(target, key, result);
13713
13713
  return result;
13714
13714
  };
13715
13715
  class ToggleButton extends Button {
@@ -13756,10 +13756,10 @@ class ToggleButton extends Button {
13756
13756
  }
13757
13757
  }
13758
13758
  }
13759
- __decorateClass$3([attr({
13759
+ __decorateClass$5([attr({
13760
13760
  mode: "boolean"
13761
13761
  })], ToggleButton.prototype, "pressed", 2);
13762
- __decorateClass$3([attr({
13762
+ __decorateClass$5([attr({
13763
13763
  mode: "boolean"
13764
13764
  })], ToggleButton.prototype, "mixed", 2);
13765
13765
 
@@ -13779,12 +13779,12 @@ const definition$3 = ToggleButton.compose({
13779
13779
 
13780
13780
  definition$3.define(FluentDesignSystem.registry);
13781
13781
 
13782
- var __defProp$2 = Object.defineProperty;
13783
- var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;
13784
- var __decorateClass$2 = (decorators, target, key, kind) => {
13785
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;
13782
+ var __defProp$4 = Object.defineProperty;
13783
+ var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
13784
+ var __decorateClass$4 = (decorators, target, key, kind) => {
13785
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;
13786
13786
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
13787
- if (kind && result) __defProp$2(target, key, result);
13787
+ if (kind && result) __defProp$4(target, key, result);
13788
13788
  return result;
13789
13789
  };
13790
13790
  class Tooltip extends FASTElement {
@@ -13950,12 +13950,12 @@ class Tooltip extends FASTElement {
13950
13950
  }
13951
13951
  }
13952
13952
  }
13953
- __decorateClass$2([attr], Tooltip.prototype, "id", 2);
13954
- __decorateClass$2([attr({
13953
+ __decorateClass$4([attr], Tooltip.prototype, "id", 2);
13954
+ __decorateClass$4([attr({
13955
13955
  converter: nullableNumberConverter
13956
13956
  })], Tooltip.prototype, "delay", 2);
13957
- __decorateClass$2([attr], Tooltip.prototype, "positioning", 2);
13958
- __decorateClass$2([attr], Tooltip.prototype, "anchor", 2);
13957
+ __decorateClass$4([attr], Tooltip.prototype, "positioning", 2);
13958
+ __decorateClass$4([attr], Tooltip.prototype, "anchor", 2);
13959
13959
 
13960
13960
  const TooltipPositioningOption = {
13961
13961
  "above-start": "block-start span-inline-end",
@@ -14003,265 +14003,50 @@ function isTreeItem(element, tagName = "-tree-item") {
14003
14003
  return element.tagName.toLowerCase().endsWith(tagName);
14004
14004
  }
14005
14005
 
14006
- var __defProp$1 = Object.defineProperty;
14007
- var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
14008
- var __decorateClass$1 = (decorators, target, key, kind) => {
14009
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;
14006
+ var __defProp$3 = Object.defineProperty;
14007
+ var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
14008
+ var __decorateClass$3 = (decorators, target, key, kind) => {
14009
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;
14010
14010
  for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
14011
- if (kind && result) __defProp$1(target, key, result);
14011
+ if (kind && result) __defProp$3(target, key, result);
14012
14012
  return result;
14013
14013
  };
14014
- class TreeItem extends FASTElement {
14014
+ class BaseTree extends FASTElement {
14015
14015
  constructor() {
14016
14016
  super();
14017
+ this.currentSelected = null;
14018
+ /**
14019
+ * The tree item that is designated to be in the tab queue.
14020
+ *
14021
+ * @internal
14022
+ */
14023
+ this.currentFocused = null;
14017
14024
  /**
14018
14025
  * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
14019
14026
  *
14020
14027
  * @internal
14021
14028
  */
14022
14029
  this.elementInternals = this.attachInternals();
14023
- this.expanded = false;
14024
- this.selected = false;
14025
- this.empty = false;
14026
- this.size = TreeItemSize.small;
14027
- this.appearance = TreeItemAppearance.subtle;
14028
14030
  this.childTreeItems = [];
14029
- this.elementInternals.role = "treeitem";
14031
+ this.elementInternals.role = "tree";
14032
+ }
14033
+ childTreeItemsChanged() {
14034
+ this.updateCurrentSelected();
14030
14035
  }
14031
14036
  /**
14032
- * Handles changes to the expanded attribute
14033
- * @param prev - the previous state
14034
- * @param next - the next state
14035
- *
14036
- * @public
14037
+ * Updates current selected when slottedTreeItems changes
14037
14038
  */
14038
- expandedChanged(prev, next) {
14039
- toggleState(this.elementInternals, "expanded", next);
14040
- if (this.childTreeItems && this.childTreeItems.length > 0) {
14041
- this.elementInternals.ariaExpanded = next ? "true" : "false";
14039
+ updateCurrentSelected() {
14040
+ const selectedItem = this.querySelector(`[aria-selected='true']`);
14041
+ this.currentSelected = selectedItem;
14042
+ if (this.currentFocused === null || !this.contains(this.currentFocused)) {
14043
+ this.currentFocused = this.getValidFocusableItem();
14042
14044
  }
14043
14045
  }
14044
14046
  /**
14045
- * Handles changes to the selected attribute
14046
- * @param prev - the previous state
14047
- * @param next - the next state
14047
+ * KeyDown handler
14048
14048
  *
14049
- * @internal
14050
- */
14051
- selectedChanged(prev, next) {
14052
- this.$emit("change");
14053
- toggleState(this.elementInternals, "selected", next);
14054
- this.elementInternals.ariaSelected = next ? "true" : "false";
14055
- }
14056
- /**
14057
- * Handles changes to the size attribute
14058
- * we update the child tree items' size based on the size
14059
- * @internal
14060
- */
14061
- sizeChanged() {
14062
- this.updateChildTreeItems();
14063
- }
14064
- /**
14065
- * Handles changes to the appearance attribute
14066
- *
14067
- * @internal
14068
- */
14069
- appearanceChanged() {
14070
- this.updateChildTreeItems();
14071
- }
14072
- dataIndentChanged(prev, next) {
14073
- if (this.styles !== void 0) {
14074
- this.$fastController.removeStyles(this.styles);
14075
- }
14076
- this.styles = css`
14077
- :host{--indent:${next}}`;
14078
- this.$fastController.addStyles(this.styles);
14079
- }
14080
- /**
14081
- * Handles changes to the child tree items
14082
- *
14083
- * @internal
14084
- */
14085
- childTreeItemsChanged() {
14086
- this.empty = this.childTreeItems?.length === 0;
14087
- this.updateChildTreeItems();
14088
- }
14089
- /**
14090
- * 1. Update the child items' size based on the tree's size
14091
- * 2. Update the child items' appearance based on the tree's appearance
14092
- */
14093
- updateChildTreeItems() {
14094
- if (!this.childTreeItems?.length) {
14095
- return;
14096
- }
14097
- this.childTreeItems.forEach(item => {
14098
- if (!isTreeItem(item)) {
14099
- return;
14100
- }
14101
- this.setIndent(item);
14102
- item.size = this.size;
14103
- item.appearance = this.appearance;
14104
- });
14105
- }
14106
- /**
14107
- * Sets the indent for each item
14108
- */
14109
- setIndent(item) {
14110
- const indent = this.dataIndent ?? 0;
14111
- item.dataIndent = indent + 1;
14112
- }
14113
- /**
14114
- * Handle focus events
14115
- *
14116
- * @public
14117
- */
14118
- focusHandler(e) {
14119
- if (e.target === this ||
14120
- // In case where the tree-item contains a focusable element, we should not set the tabindex to 0 when the focus is on its child focusable element,
14121
- // so users can shift+tab to navigate to the tree-item from its child focusable element.
14122
- this.contains(e.target)) {
14123
- this.setAttribute("tabindex", "0");
14124
- }
14125
- }
14126
- /**
14127
- * Handle blur events
14128
- *
14129
- * @public
14130
- */
14131
- blurHandler(e) {
14132
- if (e.target === this) {
14133
- this.setAttribute("tabindex", "-1");
14134
- }
14135
- }
14136
- /**
14137
- * Toggle the expansion state of the tree item
14138
- *
14139
- * @public
14140
- */
14141
- toggleExpansion() {
14142
- if (this.childTreeItems?.length) {
14143
- this.expanded = !this.expanded;
14144
- }
14145
- }
14146
- /**
14147
- * Toggle the single selection state of the tree item
14148
- *
14149
- * @public
14150
- */
14151
- toggleSelection() {
14152
- this.selected = !this.selected;
14153
- }
14154
- /**
14155
- * Whether the tree is nested
14156
- * @internal
14157
- */
14158
- get isNestedItem() {
14159
- return isTreeItem(this.parentElement);
14160
- }
14161
- }
14162
- __decorateClass$1([attr({
14163
- mode: "boolean"
14164
- })], TreeItem.prototype, "expanded", 2);
14165
- __decorateClass$1([attr({
14166
- mode: "boolean"
14167
- })], TreeItem.prototype, "selected", 2);
14168
- __decorateClass$1([attr({
14169
- mode: "boolean"
14170
- })], TreeItem.prototype, "empty", 2);
14171
- __decorateClass$1([attr], TreeItem.prototype, "size", 2);
14172
- __decorateClass$1([attr], TreeItem.prototype, "appearance", 2);
14173
- __decorateClass$1([attr({
14174
- attribute: "data-indent"
14175
- })], TreeItem.prototype, "dataIndent", 2);
14176
- __decorateClass$1([observable], TreeItem.prototype, "childTreeItems", 2);
14177
-
14178
- const chevronIcon = html`<svg width="12" height="12" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M4.65 2.15a.5.5 0 000 .7L7.79 6 4.65 9.15a.5.5 0 10.7.7l3.5-3.5a.5.5 0 000-.7l-3.5-3.5a.5.5 0 00-.7 0z"></path></svg>`;
14179
- const template$1 = html`<template tabindex="-1" slot="${x => x.isNestedItem ? "item" : void 0}" @focusin="${(x, c) => x.focusHandler(c.event)}" @focusout="${(x, c) => x.blurHandler(c.event)}" ${children({
14180
- property: "childTreeItems",
14181
- filter: elements()
14182
- })}><div class="positioning-region" part="positioning-region"><div class="content" part="content"><span class="chevron" part="chevron"><slot name="chevron">${chevronIcon}</slot></span><slot name="start"></slot><slot></slot><slot name="end"></slot></div><div class="badging" part="badging"><slot name="badging"></slot></div><div class="toolbar" part="toolbar"><slot name="toolbar"></slot></div></div><div role="group" class="items" part="items"><slot name="item"></slot></div></template>`;
14183
-
14184
- const styles$1 = css`
14185
- ${display("block")}
14186
-
14187
- :host{outline:none}:host(:focus-visible) .positioning-region{box-shadow:${spacingVerticalNone} ${spacingVerticalNone} ${spacingVerticalNone} ${spacingVerticalXXS}
14188
- ${colorStrokeFocus2} inset}.positioning-region{display:flex;align-items:stretch;justify-content:space-between;cursor:pointer;height:${spacingVerticalXXXL};padding-inline-start:calc(var(--indent) * ${spacingHorizontalXXL});padding-inline-end:${spacingVerticalS};border-radius:${borderRadiusMedium};background-color:${colorSubtleBackground};color:${colorNeutralForeground2}}@media (prefers-contrast:more){:host(:focus-visible) .positioning-region{outline:1px solid ${colorStrokeFocus2}}}.content{display:flex;align-items:center;font-size:${fontSizeBase300};min-width:0}.chevron{display:flex;align-items:center;flex-shrink:0;min-width:0;justify-content:center;width:${spacingHorizontalXXL};height:${spacingVerticalXXL};color:${colorNeutralForeground3};transition:transform ${durationFaster} ${curveEasyEaseMax};transform:rotate(0deg)}.chevron:dir(rtl){transform:rotate(180deg)}.badging,.toolbar{display:flex;align-items:center;min-width:0;font-size:${fontSizeBase300}}.positioning-region:hover{background-color:${colorSubtleBackgroundHover};color:${colorNeutralForeground2Hover}}.positioning-region:hover .content,.positioning-region:hover .chevron{color:${colorNeutralForeground3Hover}}.positioning-region:active{background-color:${colorSubtleBackgroundPressed};color:${colorNeutralForeground2Pressed}}.positioning-region:active .content,.positioning-region:active .chevron{color:${colorNeutralForeground3Pressed}}::slotted([slot='start']),::slotted(:not([slot])){display:flex;align-items:center;min-width:0}::slotted([slot='start']){flex-shrink:0;margin-inline-end:${spacingHorizontalXS}}::slotted(:not([slot])){padding-inline:${spacingHorizontalXXS}}.items{display:none}:host([expanded]) .items{display:block}:host([empty]) .chevron,:host([empty]) .items{visibility:hidden}:host([selected]) .positioning-region{background-color:${colorSubtleBackgroundSelected};color:${colorNeutralForeground2Selected}}:host([selected]) .content,:host([selected]) .chevron{color:${colorNeutralForeground3Selected}}:host([size='small']) .positioning-region{height:${spacingVerticalXXL};padding-inline-start:calc(var(--indent) * ${spacingHorizontalM})}:host([appearance='subtle-alpha']) .positioning-region:hover{background-color:${colorSubtleBackgroundLightAlphaHover}}:host([appearance='subtle-alpha']) .positioning-region:active{background-color:${colorSubtleBackgroundLightAlphaPressed}}:host([appearance='subtle-alpha'][selected]) .positioning-region{background-color:${colorSubtleBackgroundLightAlphaSelected};color:${colorNeutralForeground2Selected}}:host([appearance='transparent']) .positioning-region{background-color:${colorTransparentBackground}}:host([appearance='transparent']) .positioning-region:hover{background-color:${colorTransparentBackgroundHover}}:host([appearance='transparent']) .positioning-region:active{background-color:${colorTransparentBackgroundPressed}}:host([appearance='transparent'][selected]) .positioning-region{background-color:${colorTransparentBackgroundSelected};color:${colorNeutralForeground2Selected}}:host([expanded]) .chevron{transform:rotate(90deg)}`;
14189
-
14190
- const definition$1 = TreeItem.compose({
14191
- name: `${FluentDesignSystem.prefix}-tree-item`,
14192
- template: template$1,
14193
- styles: styles$1
14194
- });
14195
-
14196
- var __defProp = Object.defineProperty;
14197
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
14198
- var __decorateClass = (decorators, target, key, kind) => {
14199
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
14200
- for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
14201
- if (kind && result) __defProp(target, key, result);
14202
- return result;
14203
- };
14204
- class Tree extends FASTElement {
14205
- constructor() {
14206
- super();
14207
- this.currentSelected = null;
14208
- /**
14209
- * The tree item that is designated to be in the tab queue.
14210
- *
14211
- * @internal
14212
- */
14213
- this.currentFocused = null;
14214
- /**
14215
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
14216
- *
14217
- * @internal
14218
- */
14219
- this.elementInternals = this.attachInternals();
14220
- this.size = TreeItemSize.small;
14221
- this.appearance = TreeItemAppearance.subtle;
14222
- this.childTreeItems = [];
14223
- this.elementInternals.role = "tree";
14224
- }
14225
- sizeChanged() {
14226
- this.updateSizeAndAppearance();
14227
- }
14228
- appearanceChanged() {
14229
- this.updateSizeAndAppearance();
14230
- }
14231
- childTreeItemsChanged() {
14232
- this.updateSizeAndAppearance();
14233
- this.updateCurrentSelected();
14234
- }
14235
- /**
14236
- * 1. Update the child items' size based on the tree's size
14237
- * 2. Update the child items' appearance based on the tree's appearance
14238
- */
14239
- updateSizeAndAppearance() {
14240
- if (!this.childTreeItems?.length) {
14241
- return;
14242
- }
14243
- this.childTreeItems.forEach(item => {
14244
- if (!isTreeItem(item)) {
14245
- return;
14246
- }
14247
- item.size = this.size;
14248
- item.appearance = this.appearance;
14249
- });
14250
- }
14251
- /**
14252
- * Updates current selected when slottedTreeItems changes
14253
- */
14254
- updateCurrentSelected() {
14255
- const selectedItem = this.querySelector(`[aria-selected='true']`);
14256
- this.currentSelected = selectedItem;
14257
- if (this.currentFocused === null || !this.contains(this.currentFocused)) {
14258
- this.currentFocused = this.getValidFocusableItem();
14259
- }
14260
- }
14261
- /**
14262
- * KeyDown handler
14263
- *
14264
- * @internal
14049
+ * @internal
14265
14050
  */
14266
14051
  keydownHandler(e) {
14267
14052
  if (e.defaultPrevented) {
@@ -14394,7 +14179,7 @@ class Tree extends FASTElement {
14394
14179
  }
14395
14180
  const item = e.target;
14396
14181
  if (item.selected) {
14397
- if (this.currentSelected && this.currentSelected !== item && this.currentSelected instanceof TreeItem) {
14182
+ if (this.currentSelected && this.currentSelected !== item && isTreeItem(this.currentSelected)) {
14398
14183
  this.currentSelected.selected = false;
14399
14184
  }
14400
14185
  this.currentSelected = item;
@@ -14409,7 +14194,7 @@ class Tree extends FASTElement {
14409
14194
  const elements = this.getVisibleNodes();
14410
14195
  let focusIndex = elements.findIndex(el => el.selected);
14411
14196
  if (focusIndex === -1) {
14412
- focusIndex = elements.findIndex(el => el instanceof TreeItem);
14197
+ focusIndex = elements.findIndex(el => isTreeItem(el));
14413
14198
  }
14414
14199
  if (focusIndex !== -1) {
14415
14200
  return elements[focusIndex];
@@ -14433,26 +14218,292 @@ class Tree extends FASTElement {
14433
14218
  }
14434
14219
  }
14435
14220
  }
14436
- __decorateClass([observable], Tree.prototype, "currentSelected", 2);
14437
- __decorateClass([attr], Tree.prototype, "size", 2);
14438
- __decorateClass([attr], Tree.prototype, "appearance", 2);
14439
- __decorateClass([observable], Tree.prototype, "childTreeItems", 2);
14221
+ __decorateClass$3([observable], BaseTree.prototype, "currentSelected", 2);
14222
+ __decorateClass$3([observable], BaseTree.prototype, "childTreeItems", 2);
14440
14223
 
14441
- const styles = css`
14224
+ var __defProp$2 = Object.defineProperty;
14225
+ var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;
14226
+ var __decorateClass$2 = (decorators, target, key, kind) => {
14227
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;
14228
+ for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
14229
+ if (kind && result) __defProp$2(target, key, result);
14230
+ return result;
14231
+ };
14232
+ class Tree extends BaseTree {
14233
+ constructor() {
14234
+ super(...arguments);
14235
+ this.size = TreeItemSize.small;
14236
+ this.appearance = TreeItemAppearance.subtle;
14237
+ }
14238
+ sizeChanged() {
14239
+ this.updateSizeAndAppearance();
14240
+ }
14241
+ appearanceChanged() {
14242
+ this.updateSizeAndAppearance();
14243
+ }
14244
+ /**
14245
+ * child tree items supered change event
14246
+ * @internal
14247
+ */
14248
+ childTreeItemsChanged() {
14249
+ super.childTreeItemsChanged();
14250
+ this.updateSizeAndAppearance();
14251
+ }
14252
+ /**
14253
+ * 1. Update the child items' size based on the tree's size
14254
+ * 2. Update the child items' appearance based on the tree's appearance
14255
+ */
14256
+ updateSizeAndAppearance() {
14257
+ if (!this.childTreeItems?.length) {
14258
+ return;
14259
+ }
14260
+ this.childTreeItems.forEach(item => {
14261
+ item.size = this.size;
14262
+ item.appearance = this.appearance;
14263
+ });
14264
+ }
14265
+ }
14266
+ __decorateClass$2([attr], Tree.prototype, "size", 2);
14267
+ __decorateClass$2([attr], Tree.prototype, "appearance", 2);
14268
+
14269
+ const styles$1 = css`
14442
14270
  ${display("block")}
14443
14271
  :host{outline:none}`;
14444
14272
 
14445
- const template = html`<template tabindex="0" @click="${(x, c) => x.clickHandler(c.event)}" @focusin="${(x, c) => x.focusHandler(c.event)}" @focusout="${(x, c) => x.blurHandler(c.event)}" @keydown="${(x, c) => x.keydownHandler(c.event)}" @change="${(x, c) => x.changeHandler(c.event)}" ${children({
14273
+ const template$1 = html`<template tabindex="0" @click="${(x, c) => x.clickHandler(c.event)}" @focusin="${(x, c) => x.focusHandler(c.event)}" @focusout="${(x, c) => x.blurHandler(c.event)}" @keydown="${(x, c) => x.keydownHandler(c.event)}" @change="${(x, c) => x.changeHandler(c.event)}" ${children({
14446
14274
  property: "childTreeItems",
14447
- filter: elements()
14275
+ filter: node => isTreeItem(node)
14448
14276
  })}><slot></slot></template>`;
14449
14277
 
14450
- const definition = Tree.compose({
14278
+ const definition$1 = Tree.compose({
14451
14279
  name: `${FluentDesignSystem.prefix}-tree`,
14280
+ template: template$1,
14281
+ styles: styles$1
14282
+ });
14283
+
14284
+ definition$1.define(FluentDesignSystem.registry);
14285
+
14286
+ var __defProp$1 = Object.defineProperty;
14287
+ var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
14288
+ var __decorateClass$1 = (decorators, target, key, kind) => {
14289
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;
14290
+ for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
14291
+ if (kind && result) __defProp$1(target, key, result);
14292
+ return result;
14293
+ };
14294
+ class BaseTreeItem extends FASTElement {
14295
+ constructor() {
14296
+ super();
14297
+ /**
14298
+ * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
14299
+ *
14300
+ * @internal
14301
+ */
14302
+ this.elementInternals = this.attachInternals();
14303
+ this.expanded = false;
14304
+ this.selected = false;
14305
+ this.empty = false;
14306
+ this.childTreeItems = [];
14307
+ this.elementInternals.role = "treeitem";
14308
+ }
14309
+ /**
14310
+ * Handles changes to the expanded attribute
14311
+ * @param prev - the previous state
14312
+ * @param next - the next state
14313
+ *
14314
+ * @public
14315
+ */
14316
+ expandedChanged(prev, next) {
14317
+ toggleState(this.elementInternals, "expanded", next);
14318
+ if (this.childTreeItems && this.childTreeItems.length > 0) {
14319
+ this.elementInternals.ariaExpanded = next ? "true" : "false";
14320
+ }
14321
+ }
14322
+ /**
14323
+ * Handles changes to the selected attribute
14324
+ * @param prev - the previous state
14325
+ * @param next - the next state
14326
+ *
14327
+ * @internal
14328
+ */
14329
+ selectedChanged(prev, next) {
14330
+ this.$emit("change");
14331
+ toggleState(this.elementInternals, "selected", next);
14332
+ this.elementInternals.ariaSelected = next ? "true" : "false";
14333
+ }
14334
+ dataIndentChanged(prev, next) {
14335
+ if (this.styles !== void 0) {
14336
+ this.$fastController.removeStyles(this.styles);
14337
+ }
14338
+ this.styles = css`
14339
+ :host{--indent:${next}}`;
14340
+ this.$fastController.addStyles(this.styles);
14341
+ }
14342
+ /**
14343
+ * Handles changes to the child tree items
14344
+ *
14345
+ * @public
14346
+ */
14347
+ childTreeItemsChanged() {
14348
+ this.empty = this.childTreeItems?.length === 0;
14349
+ this.updateChildTreeItems();
14350
+ }
14351
+ /**
14352
+ * Updates the childrens indent
14353
+ *
14354
+ * @public
14355
+ */
14356
+ updateChildTreeItems() {
14357
+ if (!this.childTreeItems?.length) {
14358
+ return;
14359
+ }
14360
+ this.childTreeItems.forEach(item => {
14361
+ this.setIndent(item);
14362
+ });
14363
+ }
14364
+ /**
14365
+ * Sets the indent for each item
14366
+ */
14367
+ setIndent(item) {
14368
+ const indent = this.dataIndent ?? 0;
14369
+ item.dataIndent = indent + 1;
14370
+ }
14371
+ /**
14372
+ * Handle focus events
14373
+ *
14374
+ * @public
14375
+ */
14376
+ focusHandler(e) {
14377
+ if (e.target === this ||
14378
+ // In case where the tree-item contains a focusable element, we should not set the tabindex to 0 when the focus is on its child focusable element,
14379
+ // so users can shift+tab to navigate to the tree-item from its child focusable element.
14380
+ this.contains(e.target)) {
14381
+ this.setAttribute("tabindex", "0");
14382
+ }
14383
+ }
14384
+ /**
14385
+ * Handle blur events
14386
+ *
14387
+ * @public
14388
+ */
14389
+ blurHandler(e) {
14390
+ if (e.target === this) {
14391
+ this.setAttribute("tabindex", "-1");
14392
+ }
14393
+ }
14394
+ /**
14395
+ * Toggle the expansion state of the tree item
14396
+ *
14397
+ * @public
14398
+ */
14399
+ toggleExpansion() {
14400
+ if (this.childTreeItems?.length) {
14401
+ this.expanded = !this.expanded;
14402
+ }
14403
+ }
14404
+ /**
14405
+ * Toggle the single selection state of the tree item
14406
+ *
14407
+ * @public
14408
+ */
14409
+ toggleSelection() {
14410
+ this.selected = !this.selected;
14411
+ }
14412
+ /**
14413
+ * Whether the tree is nested
14414
+ * @internal
14415
+ */
14416
+ get isNestedItem() {
14417
+ return isTreeItem(this.parentElement);
14418
+ }
14419
+ }
14420
+ __decorateClass$1([attr({
14421
+ mode: "boolean"
14422
+ })], BaseTreeItem.prototype, "expanded", 2);
14423
+ __decorateClass$1([attr({
14424
+ mode: "boolean"
14425
+ })], BaseTreeItem.prototype, "selected", 2);
14426
+ __decorateClass$1([attr({
14427
+ mode: "boolean"
14428
+ })], BaseTreeItem.prototype, "empty", 2);
14429
+ __decorateClass$1([attr({
14430
+ attribute: "data-indent"
14431
+ })], BaseTreeItem.prototype, "dataIndent", 2);
14432
+ __decorateClass$1([observable], BaseTreeItem.prototype, "childTreeItems", 2);
14433
+
14434
+ var __defProp = Object.defineProperty;
14435
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
14436
+ var __decorateClass = (decorators, target, key, kind) => {
14437
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
14438
+ for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
14439
+ if (kind && result) __defProp(target, key, result);
14440
+ return result;
14441
+ };
14442
+ class TreeItem extends BaseTreeItem {
14443
+ constructor() {
14444
+ super(...arguments);
14445
+ this.size = TreeItemSize.small;
14446
+ this.appearance = TreeItemAppearance.subtle;
14447
+ }
14448
+ /**
14449
+ * Handles changes to the size attribute
14450
+ * we update the child tree items' size based on the size
14451
+ * @internal
14452
+ */
14453
+ sizeChanged() {
14454
+ this.updateSizeAndAppearance();
14455
+ }
14456
+ /**
14457
+ * Handles changes to the appearance attribute
14458
+ *
14459
+ * @internal
14460
+ */
14461
+ appearanceChanged() {
14462
+ this.updateSizeAndAppearance();
14463
+ }
14464
+ /**
14465
+ * child tree items supered change event
14466
+ * @internal
14467
+ */
14468
+ childTreeItemsChanged() {
14469
+ super.childTreeItemsChanged();
14470
+ this.updateSizeAndAppearance();
14471
+ }
14472
+ /**
14473
+ * 1. Update the child items' size based on the tree's size
14474
+ * 2. Update the child items' appearance based on the tree's appearance
14475
+ *
14476
+ * @public
14477
+ */
14478
+ updateSizeAndAppearance() {
14479
+ if (!this.childTreeItems?.length) {
14480
+ return;
14481
+ }
14482
+ this.childTreeItems.forEach(item => {
14483
+ item.size = this.size;
14484
+ item.appearance = this.appearance;
14485
+ });
14486
+ }
14487
+ }
14488
+ __decorateClass([attr], TreeItem.prototype, "size", 2);
14489
+ __decorateClass([attr], TreeItem.prototype, "appearance", 2);
14490
+
14491
+ const styles = css`
14492
+ ${display("block")}
14493
+
14494
+ :host{outline:none;font-size:${fontSizeBase300};line-height:${lineHeightBase300}}:host(:focus-visible) .positioning-region{box-shadow:${spacingVerticalNone} ${spacingVerticalNone} ${spacingVerticalNone} ${spacingVerticalXXS}
14495
+ ${colorStrokeFocus2} inset}.positioning-region{display:flex;align-items:center;justify-content:space-between;cursor:pointer;height:${spacingVerticalXXXL};padding-inline-start:calc(var(--indent) * ${spacingHorizontalXXL});padding-inline-end:${spacingVerticalS};border-radius:${borderRadiusMedium};background-color:${colorSubtleBackground};color:${colorNeutralForeground2};gap:${spacingHorizontalXS}}@media (prefers-contrast:more){:host(:focus-visible) .positioning-region{outline:1px solid ${colorStrokeFocus2}}}.content{display:flex;align-items:center;gap:${spacingHorizontalXS}}.chevron{display:flex;align-items:center;flex-shrink:0;justify-content:center;width:${spacingHorizontalXXL};height:${spacingVerticalXXL};transition:transform ${durationFaster} ${curveEasyEaseMax};transform:rotate(0deg)}.chevron:dir(rtl){transform:rotate(180deg)}.aside{display:flex;align-items:center}.positioning-region:hover{background-color:${colorSubtleBackgroundHover};color:${colorNeutralForeground2Hover}}.positioning-region:active{background-color:${colorSubtleBackgroundPressed};color:${colorNeutralForeground2Pressed}}::slotted([slot='start']),::slotted([slot='end']),::slotted(:not([slot])){display:flex;align-items:center;min-width:0}::slotted([slot='start']){flex-shrink:0}::slotted(:not([slot])){padding-inline:${spacingHorizontalXXS}}.items{display:none}:host([expanded]) .items{display:block}:host([empty]) .chevron,:host([empty]) .items{visibility:hidden}:host([selected]) .positioning-region{background-color:${colorSubtleBackgroundSelected};color:${colorNeutralForeground2Selected}}:host([selected]) .content,:host([selected]) .chevron{color:${colorNeutralForeground3Selected}}:host([size='small']) .positioning-region{height:${spacingVerticalXXL};padding-inline-start:calc(var(--indent) * ${spacingHorizontalM})}:host([appearance='subtle-alpha']) .positioning-region:hover{background-color:${colorSubtleBackgroundLightAlphaHover}}:host([appearance='subtle-alpha']) .positioning-region:active{background-color:${colorSubtleBackgroundLightAlphaPressed}}:host([appearance='subtle-alpha'][selected]) .positioning-region{background-color:${colorSubtleBackgroundLightAlphaSelected};color:${colorNeutralForeground2Selected}}:host([appearance='transparent']) .positioning-region{background-color:${colorTransparentBackground}}:host([appearance='transparent']) .positioning-region:hover{background-color:${colorTransparentBackgroundHover}}:host([appearance='transparent']) .positioning-region:active{background-color:${colorTransparentBackgroundPressed}}:host([appearance='transparent'][selected]) .positioning-region{background-color:${colorTransparentBackgroundSelected};color:${colorNeutralForeground2Selected}}:host([expanded]) .chevron{transform:rotate(90deg)}`;
14496
+
14497
+ const chevronIcon = html`<svg width="12" height="12" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M4.65 2.15a.5.5 0 000 .7L7.79 6 4.65 9.15a.5.5 0 10.7.7l3.5-3.5a.5.5 0 000-.7l-3.5-3.5a.5.5 0 00-.7 0z"></path></svg>`;
14498
+ const template = html`<template tabindex="-1" slot="${x => x.isNestedItem ? "item" : void 0}" @focusin="${(x, c) => x.focusHandler(c.event)}" @focusout="${(x, c) => x.blurHandler(c.event)}" ${children({
14499
+ property: "childTreeItems",
14500
+ filter: node => isTreeItem(node)
14501
+ })}><div class="positioning-region" part="positioning-region"><div class="content" part="content"><span class="chevron" part="chevron"><slot name="chevron">${chevronIcon}</slot></span><slot name="start"></slot><slot></slot><slot name="end"></slot></div><div class="aside" part="aside"><slot name="aside"></slot></div></div><div role="group" class="items" part="items"><slot name="item"></slot></div></template>`;
14502
+
14503
+ const definition = TreeItem.compose({
14504
+ name: `${FluentDesignSystem.prefix}-tree-item`,
14452
14505
  template: template,
14453
14506
  styles: styles
14454
14507
  });
14455
14508
 
14456
14509
  definition.define(FluentDesignSystem.registry);
14457
-
14458
- definition$1.define(FluentDesignSystem.registry);