@fluentui/web-components 3.0.0-beta.82 → 3.0.0-beta.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -2
- package/dist/dts/accordion-item/accordion-item.base.d.ts +71 -0
- package/dist/dts/accordion-item/accordion-item.d.ts +1 -71
- package/dist/dts/accordion-item/index.d.ts +2 -1
- package/dist/dts/anchor-button/anchor-button.base.d.ts +144 -0
- package/dist/dts/anchor-button/anchor-button.d.ts +2 -144
- package/dist/dts/anchor-button/index.d.ts +2 -1
- package/dist/dts/avatar/avatar.base.d.ts +42 -0
- package/dist/dts/avatar/avatar.d.ts +2 -42
- package/dist/dts/avatar/index.d.ts +2 -1
- package/dist/dts/button/button.base.d.ts +242 -0
- package/dist/dts/button/button.d.ts +2 -242
- package/dist/dts/button/index.d.ts +2 -1
- package/dist/dts/checkbox/checkbox.base.d.ts +288 -0
- package/dist/dts/checkbox/checkbox.d.ts +1 -288
- package/dist/dts/checkbox/index.d.ts +2 -1
- package/dist/dts/divider/divider.base.d.ts +49 -0
- package/dist/dts/divider/divider.d.ts +2 -49
- package/dist/dts/divider/index.d.ts +2 -1
- package/dist/dts/dropdown/dropdown.base.d.ts +418 -0
- package/dist/dts/dropdown/dropdown.d.ts +2 -418
- package/dist/dts/dropdown/dropdown.options.d.ts +1 -1
- package/dist/dts/dropdown/dropdown.template.d.ts +1 -1
- package/dist/dts/dropdown/index.d.ts +2 -1
- package/dist/dts/field/field.base.d.ts +120 -0
- package/dist/dts/field/field.d.ts +2 -120
- package/dist/dts/field/index.d.ts +2 -1
- package/dist/dts/link/link.d.ts +1 -1
- package/dist/dts/listbox/listbox.d.ts +1 -1
- package/dist/dts/progress-bar/index.d.ts +2 -1
- package/dist/dts/progress-bar/progress-bar.base.d.ts +73 -0
- package/dist/dts/progress-bar/progress-bar.d.ts +2 -73
- package/dist/dts/radio/radio.d.ts +1 -1
- package/dist/dts/rating-display/index.d.ts +2 -1
- package/dist/dts/rating-display/rating-display.base.d.ts +89 -0
- package/dist/dts/rating-display/rating-display.d.ts +1 -89
- package/dist/dts/spinner/index.d.ts +2 -1
- package/dist/dts/spinner/spinner.base.d.ts +14 -0
- package/dist/dts/spinner/spinner.d.ts +1 -14
- package/dist/dts/switch/switch.d.ts +1 -1
- package/dist/dts/tablist/index.d.ts +2 -1
- package/dist/dts/tablist/tablist.base.d.ts +95 -0
- package/dist/dts/tablist/tablist.d.ts +2 -94
- package/dist/dts/tabs/tabs.base.d.ts +90 -0
- package/dist/dts/tabs/tabs.d.ts +2 -90
- package/dist/dts/text-input/index.d.ts +2 -1
- package/dist/dts/text-input/text-input.base.d.ts +393 -0
- package/dist/dts/text-input/text-input.d.ts +2 -393
- package/dist/dts/textarea/index.d.ts +2 -1
- package/dist/dts/textarea/textarea.base.d.ts +347 -0
- package/dist/dts/textarea/textarea.d.ts +2 -347
- package/dist/esm/accordion/accordion.js +1 -1
- package/dist/esm/accordion/accordion.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.base.js +94 -0
- package/dist/esm/accordion-item/accordion-item.base.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.js +2 -91
- package/dist/esm/accordion-item/accordion-item.js.map +1 -1
- package/dist/esm/accordion-item/index.js +2 -1
- package/dist/esm/accordion-item/index.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.base.js +147 -0
- package/dist/esm/anchor-button/anchor-button.base.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.js +3 -145
- package/dist/esm/anchor-button/anchor-button.js.map +1 -1
- package/dist/esm/anchor-button/index.js +2 -1
- package/dist/esm/anchor-button/index.js.map +1 -1
- package/dist/esm/avatar/avatar.base.js +28 -0
- package/dist/esm/avatar/avatar.base.js.map +1 -0
- package/dist/esm/avatar/avatar.js +2 -26
- package/dist/esm/avatar/avatar.js.map +1 -1
- package/dist/esm/avatar/index.js +2 -1
- package/dist/esm/avatar/index.js.map +1 -1
- package/dist/esm/button/button.base.js +283 -0
- package/dist/esm/button/button.base.js.map +1 -0
- package/dist/esm/button/button.js +3 -281
- package/dist/esm/button/button.js.map +1 -1
- package/dist/esm/button/button.styles.js +2 -1
- package/dist/esm/button/button.styles.js.map +1 -1
- package/dist/esm/button/index.js +2 -1
- package/dist/esm/button/index.js.map +1 -1
- package/dist/esm/checkbox/checkbox.base.js +366 -0
- package/dist/esm/checkbox/checkbox.base.js.map +1 -0
- package/dist/esm/checkbox/checkbox.js +2 -363
- package/dist/esm/checkbox/checkbox.js.map +1 -1
- package/dist/esm/checkbox/index.js +2 -1
- package/dist/esm/checkbox/index.js.map +1 -1
- package/dist/esm/divider/divider.base.js +61 -0
- package/dist/esm/divider/divider.base.js.map +1 -0
- package/dist/esm/divider/divider.js +3 -58
- package/dist/esm/divider/divider.js.map +1 -1
- package/dist/esm/divider/index.js +2 -1
- package/dist/esm/divider/index.js.map +1 -1
- package/dist/esm/dropdown/dropdown.base.js +677 -0
- package/dist/esm/dropdown/dropdown.base.js.map +1 -0
- package/dist/esm/dropdown/dropdown.js +3 -674
- package/dist/esm/dropdown/dropdown.js.map +1 -1
- package/dist/esm/dropdown/index.js +2 -1
- package/dist/esm/dropdown/index.js.map +1 -1
- package/dist/esm/field/field.base.js +189 -0
- package/dist/esm/field/field.base.js.map +1 -0
- package/dist/esm/field/field.js +3 -187
- package/dist/esm/field/field.js.map +1 -1
- package/dist/esm/field/index.js +2 -1
- package/dist/esm/field/index.js.map +1 -1
- package/dist/esm/link/link.js +1 -1
- package/dist/esm/link/link.js.map +1 -1
- package/dist/esm/progress-bar/index.js +2 -1
- package/dist/esm/progress-bar/index.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.base.js +90 -0
- package/dist/esm/progress-bar/progress-bar.base.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.js +3 -87
- package/dist/esm/progress-bar/progress-bar.js.map +1 -1
- package/dist/esm/radio/radio.js +1 -1
- package/dist/esm/radio/radio.js.map +1 -1
- package/dist/esm/rating-display/index.js +2 -1
- package/dist/esm/rating-display/index.js.map +1 -1
- package/dist/esm/rating-display/rating-display.base.js +94 -0
- package/dist/esm/rating-display/rating-display.base.js.map +1 -0
- package/dist/esm/rating-display/rating-display.js +2 -92
- package/dist/esm/rating-display/rating-display.js.map +1 -1
- package/dist/esm/spinner/index.js +2 -1
- package/dist/esm/spinner/index.js.map +1 -1
- package/dist/esm/spinner/spinner.base.js +18 -0
- package/dist/esm/spinner/spinner.base.js.map +1 -0
- package/dist/esm/spinner/spinner.js +2 -17
- package/dist/esm/spinner/spinner.js.map +1 -1
- package/dist/esm/switch/switch.js +1 -1
- package/dist/esm/switch/switch.js.map +1 -1
- package/dist/esm/tablist/index.js +2 -1
- package/dist/esm/tablist/index.js.map +1 -1
- package/dist/esm/tablist/tablist.base.js +248 -0
- package/dist/esm/tablist/tablist.base.js.map +1 -0
- package/dist/esm/tablist/tablist.js +3 -221
- package/dist/esm/tablist/tablist.js.map +1 -1
- package/dist/esm/tabs/tabs.base.js +279 -0
- package/dist/esm/tabs/tabs.base.js.map +1 -0
- package/dist/esm/tabs/tabs.js +2 -276
- package/dist/esm/tabs/tabs.js.map +1 -1
- package/dist/esm/text-input/index.js +2 -1
- package/dist/esm/text-input/index.js.map +1 -1
- package/dist/esm/text-input/text-input.base.js +409 -0
- package/dist/esm/text-input/text-input.base.js.map +1 -0
- package/dist/esm/text-input/text-input.js +3 -407
- package/dist/esm/text-input/text-input.js.map +1 -1
- package/dist/esm/textarea/index.js +2 -1
- package/dist/esm/textarea/index.js.map +1 -1
- package/dist/esm/textarea/textarea.base.js +494 -0
- package/dist/esm/textarea/textarea.base.js.map +1 -0
- package/dist/esm/textarea/textarea.js +3 -491
- package/dist/esm/textarea/textarea.js.map +1 -1
- package/dist/web-components.d.ts +1 -0
- package/dist/web-components.js +707 -556
- package/dist/web-components.min.js +265 -265
- package/package.json +5 -1
package/dist/web-components.js
CHANGED
|
@@ -4011,6 +4011,84 @@ const FASTElement = Object.assign(createFASTElement(HTMLElement), {
|
|
|
4011
4011
|
compose
|
|
4012
4012
|
});
|
|
4013
4013
|
|
|
4014
|
+
var __defProp$O = Object.defineProperty;
|
|
4015
|
+
var __getOwnPropDesc$O = Object.getOwnPropertyDescriptor;
|
|
4016
|
+
var __decorateClass$O = (decorators, target, key, kind) => {
|
|
4017
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$O(target, key) : target;
|
|
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$O(target, key, result);
|
|
4020
|
+
return result;
|
|
4021
|
+
};
|
|
4022
|
+
class ARIAGlobalStatesAndProperties {}
|
|
4023
|
+
__decorateClass$O([attr({
|
|
4024
|
+
attribute: "aria-atomic"
|
|
4025
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaAtomic", 2);
|
|
4026
|
+
__decorateClass$O([attr({
|
|
4027
|
+
attribute: "aria-busy"
|
|
4028
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaBusy", 2);
|
|
4029
|
+
__decorateClass$O([attr({
|
|
4030
|
+
attribute: "aria-controls"
|
|
4031
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaControls", 2);
|
|
4032
|
+
__decorateClass$O([attr({
|
|
4033
|
+
attribute: "aria-current"
|
|
4034
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaCurrent", 2);
|
|
4035
|
+
__decorateClass$O([attr({
|
|
4036
|
+
attribute: "aria-describedby"
|
|
4037
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaDescribedby", 2);
|
|
4038
|
+
__decorateClass$O([attr({
|
|
4039
|
+
attribute: "aria-details"
|
|
4040
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaDetails", 2);
|
|
4041
|
+
__decorateClass$O([attr({
|
|
4042
|
+
attribute: "aria-disabled"
|
|
4043
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaDisabled", 2);
|
|
4044
|
+
__decorateClass$O([attr({
|
|
4045
|
+
attribute: "aria-errormessage"
|
|
4046
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaErrormessage", 2);
|
|
4047
|
+
__decorateClass$O([attr({
|
|
4048
|
+
attribute: "aria-flowto"
|
|
4049
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaFlowto", 2);
|
|
4050
|
+
__decorateClass$O([attr({
|
|
4051
|
+
attribute: "aria-haspopup"
|
|
4052
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaHaspopup", 2);
|
|
4053
|
+
__decorateClass$O([attr({
|
|
4054
|
+
attribute: "aria-hidden"
|
|
4055
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaHidden", 2);
|
|
4056
|
+
__decorateClass$O([attr({
|
|
4057
|
+
attribute: "aria-invalid"
|
|
4058
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaInvalid", 2);
|
|
4059
|
+
__decorateClass$O([attr({
|
|
4060
|
+
attribute: "aria-keyshortcuts"
|
|
4061
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaKeyshortcuts", 2);
|
|
4062
|
+
__decorateClass$O([attr({
|
|
4063
|
+
attribute: "aria-label"
|
|
4064
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaLabel", 2);
|
|
4065
|
+
__decorateClass$O([attr({
|
|
4066
|
+
attribute: "aria-labelledby"
|
|
4067
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaLabelledby", 2);
|
|
4068
|
+
__decorateClass$O([attr({
|
|
4069
|
+
attribute: "aria-live"
|
|
4070
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaLive", 2);
|
|
4071
|
+
__decorateClass$O([attr({
|
|
4072
|
+
attribute: "aria-owns"
|
|
4073
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaOwns", 2);
|
|
4074
|
+
__decorateClass$O([attr({
|
|
4075
|
+
attribute: "aria-relevant"
|
|
4076
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaRelevant", 2);
|
|
4077
|
+
__decorateClass$O([attr({
|
|
4078
|
+
attribute: "aria-roledescription"
|
|
4079
|
+
})], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription", 2);
|
|
4080
|
+
|
|
4081
|
+
const numberLikeStringConverter = {
|
|
4082
|
+
fromView(value) {
|
|
4083
|
+
const valueAsNumber = parseFloat(value);
|
|
4084
|
+
return Number.isNaN(valueAsNumber) ? "" : valueAsNumber.toString();
|
|
4085
|
+
},
|
|
4086
|
+
toView(value) {
|
|
4087
|
+
const valueAsNumber = parseFloat(value);
|
|
4088
|
+
return Number.isNaN(valueAsNumber) ? void 0 : valueAsNumber.toString();
|
|
4089
|
+
}
|
|
4090
|
+
};
|
|
4091
|
+
|
|
4014
4092
|
/**
|
|
4015
4093
|
* Standard orientation values
|
|
4016
4094
|
*/
|
|
@@ -4094,84 +4172,6 @@ function uniqueId$1(prefix = "") {
|
|
|
4094
4172
|
return `${prefix}${uniqueIdCounter$1++}`;
|
|
4095
4173
|
}
|
|
4096
4174
|
|
|
4097
|
-
var __defProp$A = Object.defineProperty;
|
|
4098
|
-
var __getOwnPropDesc$A = Object.getOwnPropertyDescriptor;
|
|
4099
|
-
var __decorateClass$A = (decorators, target, key, kind) => {
|
|
4100
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$A(target, key) : target;
|
|
4101
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4102
|
-
if (kind && result) __defProp$A(target, key, result);
|
|
4103
|
-
return result;
|
|
4104
|
-
};
|
|
4105
|
-
class ARIAGlobalStatesAndProperties {}
|
|
4106
|
-
__decorateClass$A([attr({
|
|
4107
|
-
attribute: "aria-atomic"
|
|
4108
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaAtomic", 2);
|
|
4109
|
-
__decorateClass$A([attr({
|
|
4110
|
-
attribute: "aria-busy"
|
|
4111
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaBusy", 2);
|
|
4112
|
-
__decorateClass$A([attr({
|
|
4113
|
-
attribute: "aria-controls"
|
|
4114
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaControls", 2);
|
|
4115
|
-
__decorateClass$A([attr({
|
|
4116
|
-
attribute: "aria-current"
|
|
4117
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaCurrent", 2);
|
|
4118
|
-
__decorateClass$A([attr({
|
|
4119
|
-
attribute: "aria-describedby"
|
|
4120
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaDescribedby", 2);
|
|
4121
|
-
__decorateClass$A([attr({
|
|
4122
|
-
attribute: "aria-details"
|
|
4123
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaDetails", 2);
|
|
4124
|
-
__decorateClass$A([attr({
|
|
4125
|
-
attribute: "aria-disabled"
|
|
4126
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaDisabled", 2);
|
|
4127
|
-
__decorateClass$A([attr({
|
|
4128
|
-
attribute: "aria-errormessage"
|
|
4129
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaErrormessage", 2);
|
|
4130
|
-
__decorateClass$A([attr({
|
|
4131
|
-
attribute: "aria-flowto"
|
|
4132
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaFlowto", 2);
|
|
4133
|
-
__decorateClass$A([attr({
|
|
4134
|
-
attribute: "aria-haspopup"
|
|
4135
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaHaspopup", 2);
|
|
4136
|
-
__decorateClass$A([attr({
|
|
4137
|
-
attribute: "aria-hidden"
|
|
4138
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaHidden", 2);
|
|
4139
|
-
__decorateClass$A([attr({
|
|
4140
|
-
attribute: "aria-invalid"
|
|
4141
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaInvalid", 2);
|
|
4142
|
-
__decorateClass$A([attr({
|
|
4143
|
-
attribute: "aria-keyshortcuts"
|
|
4144
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaKeyshortcuts", 2);
|
|
4145
|
-
__decorateClass$A([attr({
|
|
4146
|
-
attribute: "aria-label"
|
|
4147
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaLabel", 2);
|
|
4148
|
-
__decorateClass$A([attr({
|
|
4149
|
-
attribute: "aria-labelledby"
|
|
4150
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaLabelledby", 2);
|
|
4151
|
-
__decorateClass$A([attr({
|
|
4152
|
-
attribute: "aria-live"
|
|
4153
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaLive", 2);
|
|
4154
|
-
__decorateClass$A([attr({
|
|
4155
|
-
attribute: "aria-owns"
|
|
4156
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaOwns", 2);
|
|
4157
|
-
__decorateClass$A([attr({
|
|
4158
|
-
attribute: "aria-relevant"
|
|
4159
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaRelevant", 2);
|
|
4160
|
-
__decorateClass$A([attr({
|
|
4161
|
-
attribute: "aria-roledescription"
|
|
4162
|
-
})], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription", 2);
|
|
4163
|
-
|
|
4164
|
-
const numberLikeStringConverter = {
|
|
4165
|
-
fromView(value) {
|
|
4166
|
-
const valueAsNumber = parseFloat(value);
|
|
4167
|
-
return Number.isNaN(valueAsNumber) ? "" : valueAsNumber.toString();
|
|
4168
|
-
},
|
|
4169
|
-
toView(value) {
|
|
4170
|
-
const valueAsNumber = parseFloat(value);
|
|
4171
|
-
return Number.isNaN(valueAsNumber) ? void 0 : valueAsNumber.toString();
|
|
4172
|
-
}
|
|
4173
|
-
};
|
|
4174
|
-
|
|
4175
4175
|
const getDirection = rootNode => {
|
|
4176
4176
|
return rootNode.closest("[dir]")?.dir === "rtl" ? Direction.rtl : Direction.ltr;
|
|
4177
4177
|
};
|
|
@@ -4378,23 +4378,12 @@ function swapStates(elementInternals, prev = "", next = "", States, prefix = "")
|
|
|
4378
4378
|
}
|
|
4379
4379
|
}
|
|
4380
4380
|
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
extraLarge: "extra-large"
|
|
4386
|
-
};
|
|
4387
|
-
const AccordionItemMarkerPosition = {
|
|
4388
|
-
start: "start",
|
|
4389
|
-
end: "end"
|
|
4390
|
-
};
|
|
4391
|
-
|
|
4392
|
-
var __defProp$z = Object.defineProperty;
|
|
4393
|
-
var __getOwnPropDesc$z = Object.getOwnPropertyDescriptor;
|
|
4394
|
-
var __decorateClass$z = (decorators, target, key, kind) => {
|
|
4395
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$z(target, key) : target;
|
|
4381
|
+
var __defProp$N = Object.defineProperty;
|
|
4382
|
+
var __getOwnPropDesc$N = Object.getOwnPropertyDescriptor;
|
|
4383
|
+
var __decorateClass$N = (decorators, target, key, kind) => {
|
|
4384
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$N(target, key) : target;
|
|
4396
4385
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4397
|
-
if (kind && result) __defProp$
|
|
4386
|
+
if (kind && result) __defProp$N(target, key, result);
|
|
4398
4387
|
return result;
|
|
4399
4388
|
};
|
|
4400
4389
|
class BaseAccordionItem extends FASTElement {
|
|
@@ -4428,18 +4417,38 @@ class BaseAccordionItem extends FASTElement {
|
|
|
4428
4417
|
toggleState(this.elementInternals, "disabled", next);
|
|
4429
4418
|
}
|
|
4430
4419
|
}
|
|
4431
|
-
__decorateClass$
|
|
4420
|
+
__decorateClass$N([attr({
|
|
4432
4421
|
attribute: "heading-level",
|
|
4433
4422
|
mode: "fromView",
|
|
4434
4423
|
converter: nullableNumberConverter
|
|
4435
4424
|
})], BaseAccordionItem.prototype, "headinglevel", 2);
|
|
4436
|
-
__decorateClass$
|
|
4425
|
+
__decorateClass$N([attr({
|
|
4437
4426
|
mode: "boolean"
|
|
4438
4427
|
})], BaseAccordionItem.prototype, "expanded", 2);
|
|
4439
|
-
__decorateClass$
|
|
4428
|
+
__decorateClass$N([attr({
|
|
4440
4429
|
mode: "boolean"
|
|
4441
4430
|
})], BaseAccordionItem.prototype, "disabled", 2);
|
|
4442
|
-
__decorateClass$
|
|
4431
|
+
__decorateClass$N([attr], BaseAccordionItem.prototype, "id", 2);
|
|
4432
|
+
|
|
4433
|
+
const AccordionItemSize = {
|
|
4434
|
+
small: "small",
|
|
4435
|
+
medium: "medium",
|
|
4436
|
+
large: "large",
|
|
4437
|
+
extraLarge: "extra-large"
|
|
4438
|
+
};
|
|
4439
|
+
const AccordionItemMarkerPosition = {
|
|
4440
|
+
start: "start",
|
|
4441
|
+
end: "end"
|
|
4442
|
+
};
|
|
4443
|
+
|
|
4444
|
+
var __defProp$M = Object.defineProperty;
|
|
4445
|
+
var __getOwnPropDesc$M = Object.getOwnPropertyDescriptor;
|
|
4446
|
+
var __decorateClass$M = (decorators, target, key, kind) => {
|
|
4447
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$M(target, key) : target;
|
|
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$M(target, key, result);
|
|
4450
|
+
return result;
|
|
4451
|
+
};
|
|
4443
4452
|
class AccordionItem extends BaseAccordionItem {
|
|
4444
4453
|
constructor() {
|
|
4445
4454
|
super(...arguments);
|
|
@@ -4470,11 +4479,11 @@ class AccordionItem extends BaseAccordionItem {
|
|
|
4470
4479
|
toggleState(this.elementInternals, "block", next);
|
|
4471
4480
|
}
|
|
4472
4481
|
}
|
|
4473
|
-
__decorateClass$
|
|
4474
|
-
__decorateClass$
|
|
4482
|
+
__decorateClass$M([attr], AccordionItem.prototype, "size", 2);
|
|
4483
|
+
__decorateClass$M([attr({
|
|
4475
4484
|
attribute: "marker-position"
|
|
4476
4485
|
})], AccordionItem.prototype, "markerPosition", 2);
|
|
4477
|
-
__decorateClass$
|
|
4486
|
+
__decorateClass$M([attr({
|
|
4478
4487
|
mode: "boolean"
|
|
4479
4488
|
})], AccordionItem.prototype, "block", 2);
|
|
4480
4489
|
applyMixins(AccordionItem, StartEnd);
|
|
@@ -4901,12 +4910,12 @@ const AccordionExpandMode = {
|
|
|
4901
4910
|
multi: "multi"
|
|
4902
4911
|
};
|
|
4903
4912
|
|
|
4904
|
-
var __defProp$
|
|
4905
|
-
var __getOwnPropDesc$
|
|
4906
|
-
var __decorateClass$
|
|
4907
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
4913
|
+
var __defProp$L = Object.defineProperty;
|
|
4914
|
+
var __getOwnPropDesc$L = Object.getOwnPropertyDescriptor;
|
|
4915
|
+
var __decorateClass$L = (decorators, target, key, kind) => {
|
|
4916
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$L(target, key) : target;
|
|
4908
4917
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4909
|
-
if (kind && result) __defProp$
|
|
4918
|
+
if (kind && result) __defProp$L(target, key, result);
|
|
4910
4919
|
return result;
|
|
4911
4920
|
};
|
|
4912
4921
|
class Accordion extends FASTElement {
|
|
@@ -5045,10 +5054,10 @@ class Accordion extends FASTElement {
|
|
|
5045
5054
|
});
|
|
5046
5055
|
}
|
|
5047
5056
|
}
|
|
5048
|
-
__decorateClass$
|
|
5057
|
+
__decorateClass$L([attr({
|
|
5049
5058
|
attribute: "expand-mode"
|
|
5050
5059
|
})], Accordion.prototype, "expandmode", 2);
|
|
5051
|
-
__decorateClass$
|
|
5060
|
+
__decorateClass$L([observable], Accordion.prototype, "slottedAccordionItems", 2);
|
|
5052
5061
|
|
|
5053
5062
|
const styles$D = css`
|
|
5054
5063
|
${display("flex")}
|
|
@@ -5107,12 +5116,12 @@ const AnchorAttributes = {
|
|
|
5107
5116
|
type: "type"
|
|
5108
5117
|
};
|
|
5109
5118
|
|
|
5110
|
-
var __defProp$
|
|
5111
|
-
var __getOwnPropDesc$
|
|
5112
|
-
var __decorateClass$
|
|
5113
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
5119
|
+
var __defProp$K = Object.defineProperty;
|
|
5120
|
+
var __getOwnPropDesc$K = Object.getOwnPropertyDescriptor;
|
|
5121
|
+
var __decorateClass$K = (decorators, target, key, kind) => {
|
|
5122
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$K(target, key) : target;
|
|
5114
5123
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5115
|
-
if (kind && result) __defProp$
|
|
5124
|
+
if (kind && result) __defProp$K(target, key, result);
|
|
5116
5125
|
return result;
|
|
5117
5126
|
};
|
|
5118
5127
|
class BaseAnchor extends FASTElement {
|
|
@@ -5220,14 +5229,23 @@ class BaseAnchor extends FASTElement {
|
|
|
5220
5229
|
return proxy;
|
|
5221
5230
|
}
|
|
5222
5231
|
}
|
|
5223
|
-
__decorateClass$
|
|
5224
|
-
__decorateClass$
|
|
5225
|
-
__decorateClass$
|
|
5226
|
-
__decorateClass$
|
|
5227
|
-
__decorateClass$
|
|
5228
|
-
__decorateClass$
|
|
5229
|
-
__decorateClass$
|
|
5230
|
-
__decorateClass$
|
|
5232
|
+
__decorateClass$K([attr], BaseAnchor.prototype, "download", 2);
|
|
5233
|
+
__decorateClass$K([attr], BaseAnchor.prototype, "href", 2);
|
|
5234
|
+
__decorateClass$K([attr], BaseAnchor.prototype, "hreflang", 2);
|
|
5235
|
+
__decorateClass$K([attr], BaseAnchor.prototype, "ping", 2);
|
|
5236
|
+
__decorateClass$K([attr], BaseAnchor.prototype, "referrerpolicy", 2);
|
|
5237
|
+
__decorateClass$K([attr], BaseAnchor.prototype, "rel", 2);
|
|
5238
|
+
__decorateClass$K([attr], BaseAnchor.prototype, "target", 2);
|
|
5239
|
+
__decorateClass$K([attr], BaseAnchor.prototype, "type", 2);
|
|
5240
|
+
|
|
5241
|
+
var __defProp$J = Object.defineProperty;
|
|
5242
|
+
var __getOwnPropDesc$J = Object.getOwnPropertyDescriptor;
|
|
5243
|
+
var __decorateClass$J = (decorators, target, key, kind) => {
|
|
5244
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$J(target, key) : target;
|
|
5245
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5246
|
+
if (kind && result) __defProp$J(target, key, result);
|
|
5247
|
+
return result;
|
|
5248
|
+
};
|
|
5231
5249
|
class AnchorButton extends BaseAnchor {
|
|
5232
5250
|
constructor() {
|
|
5233
5251
|
super(...arguments);
|
|
@@ -5266,10 +5284,10 @@ class AnchorButton extends BaseAnchor {
|
|
|
5266
5284
|
toggleState(this.elementInternals, "icon", !!next);
|
|
5267
5285
|
}
|
|
5268
5286
|
}
|
|
5269
|
-
__decorateClass$
|
|
5270
|
-
__decorateClass$
|
|
5271
|
-
__decorateClass$
|
|
5272
|
-
__decorateClass$
|
|
5287
|
+
__decorateClass$J([attr], AnchorButton.prototype, "appearance", 2);
|
|
5288
|
+
__decorateClass$J([attr], AnchorButton.prototype, "shape", 2);
|
|
5289
|
+
__decorateClass$J([attr], AnchorButton.prototype, "size", 2);
|
|
5290
|
+
__decorateClass$J([attr({
|
|
5273
5291
|
attribute: "icon-only",
|
|
5274
5292
|
mode: "boolean"
|
|
5275
5293
|
})], AnchorButton.prototype, "iconOnly", 2);
|
|
@@ -5278,7 +5296,7 @@ applyMixins(AnchorButton, StartEnd);
|
|
|
5278
5296
|
const baseButtonStyles = css`
|
|
5279
5297
|
${display("inline-flex")}
|
|
5280
5298
|
|
|
5281
|
-
:host{--icon-spacing:${spacingHorizontalSNudge};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${colorNeutralBackground1};color:${colorNeutralForeground1};border:${strokeWidthThin} solid ${colorNeutralStroke1};padding:0 ${spacingHorizontalM};min-width:96px;border-radius:${borderRadiusMedium};font-size:${fontSizeBase300};font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};line-height:${lineHeightBase300};transition-duration:${durationFaster};transition-property:background,border,color;transition-timing-function:${curveEasyEase};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${colorNeutralBackground1Hover};color:${colorNeutralForeground1Hover};border-color:${colorNeutralStroke1Hover}}:host(:hover:active){background-color:${colorNeutralBackground1Pressed};border-color:${colorNeutralStroke1Pressed};color:${colorNeutralForeground1Pressed};outline-style:none}:host(:focus-visible){border-color:${colorTransparentStroke};outline:${strokeWidthThick} solid ${colorTransparentStroke};box-shadow:${shadow4},0 0 0 2px ${colorStrokeFocus2}}@media screen and (prefers-reduced-motion:reduce){:host{transition-duration:0.01ms}}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}::slotted([slot='end']){flex-shrink:0;margin-inline-start:var(--icon-spacing)}:host(${iconOnlyState}){min-width:32px;max-width:32px}:host(${smallState}){--icon-spacing:${spacingHorizontalXS};min-height:24px;min-width:64px;padding:0 ${spacingHorizontalS};border-radius:${borderRadiusSmall};font-size:${fontSizeBase200};line-height:${lineHeightBase200};font-weight:${fontWeightRegular}}:host(${smallState}${iconOnlyState}){min-width:24px;max-width:24px}:host(${largeState}){min-height:40px;border-radius:${borderRadiusLarge};padding:0 ${spacingHorizontalL};font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host(${largeState}${iconOnlyState}){min-width:40px;max-width:40px}:host(${largeState}) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is(${circularState},${circularState}:focus-visible)){border-radius:${borderRadiusCircular}}:host(:is(${squareState},${squareState}:focus-visible)){border-radius:${borderRadiusNone}}:host(${primaryState}){background-color:${colorBrandBackground};color:${colorNeutralForegroundOnBrand};border-color:transparent}:host(${primaryState}:hover){background-color:${colorBrandBackgroundHover}}:host(${primaryState}:is(:hover,:hover:active)){border-color:transparent;color:${colorNeutralForegroundOnBrand}}:host(${primaryState}:hover:active){background-color:${colorBrandBackgroundPressed}}:host(${primaryState}:focus-visible){border-color:${colorNeutralForegroundOnBrand};box-shadow:${shadow2},0 0 0 2px ${colorStrokeFocus2}}:host(${outlineState}){background-color:${colorTransparentBackground}}:host(${outlineState}:hover){background-color:${colorTransparentBackgroundHover}}:host(${outlineState}:hover:active){background-color:${colorTransparentBackgroundPressed}}:host(${subtleState}){background-color:${colorSubtleBackground};color:${colorNeutralForeground2};border-color:transparent}:host(${subtleState}:hover){background-color:${colorSubtleBackgroundHover};color:${colorNeutralForeground2Hover};border-color:transparent}:host(${subtleState}:hover:active){background-color:${colorSubtleBackgroundPressed};color:${colorNeutralForeground2Pressed};border-color:transparent}:host(${subtleState}:hover) ::slotted(svg){fill:${colorNeutralForeground2BrandHover}}:host(${subtleState}:hover:active) ::slotted(svg){fill:${colorNeutralForeground2BrandPressed}}:host(${transparentState}){background-color:${colorTransparentBackground};color:${colorNeutralForeground2}}:host(${transparentState}:hover){background-color:${colorTransparentBackgroundHover};color:${colorNeutralForeground2BrandHover}}:host(${transparentState}:hover:active){background-color:${colorTransparentBackgroundPressed};color:${colorNeutralForeground2BrandPressed}}:host(:is(${transparentState},${transparentState}:is(:hover,:active))){border-color:transparent}`;
|
|
5299
|
+
:host{--icon-spacing:${spacingHorizontalSNudge};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${colorNeutralBackground1};color:${colorNeutralForeground1};border:${strokeWidthThin} solid ${colorNeutralStroke1};padding:0 ${spacingHorizontalM};min-width:96px;border-radius:${borderRadiusMedium};font-size:${fontSizeBase300};font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};line-height:${lineHeightBase300};transition-duration:${durationFaster};transition-property:background,border,color;transition-timing-function:${curveEasyEase};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${colorNeutralBackground1Hover};color:${colorNeutralForeground1Hover};border-color:${colorNeutralStroke1Hover}}:host(:hover:active){background-color:${colorNeutralBackground1Pressed};border-color:${colorNeutralStroke1Pressed};color:${colorNeutralForeground1Pressed};outline-style:none}:host(:focus-visible){border-color:${colorTransparentStroke};outline:${strokeWidthThick} solid ${colorTransparentStroke};box-shadow:${shadow4},0 0 0 2px ${colorStrokeFocus2}}@media screen and (prefers-reduced-motion:reduce){:host{transition-duration:0.01ms}}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}::slotted([slot='end']),[slot='end']{flex-shrink:0;margin-inline-start:var(--icon-spacing)}:host(${iconOnlyState}){min-width:32px;max-width:32px}:host(${smallState}){--icon-spacing:${spacingHorizontalXS};min-height:24px;min-width:64px;padding:0 ${spacingHorizontalS};border-radius:${borderRadiusSmall};font-size:${fontSizeBase200};line-height:${lineHeightBase200};font-weight:${fontWeightRegular}}:host(${smallState}${iconOnlyState}){min-width:24px;max-width:24px}:host(${largeState}){min-height:40px;border-radius:${borderRadiusLarge};padding:0 ${spacingHorizontalL};font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host(${largeState}${iconOnlyState}){min-width:40px;max-width:40px}:host(${largeState}) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is(${circularState},${circularState}:focus-visible)){border-radius:${borderRadiusCircular}}:host(:is(${squareState},${squareState}:focus-visible)){border-radius:${borderRadiusNone}}:host(${primaryState}){background-color:${colorBrandBackground};color:${colorNeutralForegroundOnBrand};border-color:transparent}:host(${primaryState}:hover){background-color:${colorBrandBackgroundHover}}:host(${primaryState}:is(:hover,:hover:active)){border-color:transparent;color:${colorNeutralForegroundOnBrand}}:host(${primaryState}:hover:active){background-color:${colorBrandBackgroundPressed}}:host(${primaryState}:focus-visible){border-color:${colorNeutralForegroundOnBrand};box-shadow:${shadow2},0 0 0 2px ${colorStrokeFocus2}}:host(${outlineState}){background-color:${colorTransparentBackground}}:host(${outlineState}:hover){background-color:${colorTransparentBackgroundHover}}:host(${outlineState}:hover:active){background-color:${colorTransparentBackgroundPressed}}:host(${subtleState}){background-color:${colorSubtleBackground};color:${colorNeutralForeground2};border-color:transparent}:host(${subtleState}:hover){background-color:${colorSubtleBackgroundHover};color:${colorNeutralForeground2Hover};border-color:transparent}:host(${subtleState}:hover:active){background-color:${colorSubtleBackgroundPressed};color:${colorNeutralForeground2Pressed};border-color:transparent}:host(${subtleState}:hover) ::slotted(svg){fill:${colorNeutralForeground2BrandHover}}:host(${subtleState}:hover:active) ::slotted(svg){fill:${colorNeutralForeground2BrandPressed}}:host(${transparentState}){background-color:${colorTransparentBackground};color:${colorNeutralForeground2}}:host(${transparentState}:hover){background-color:${colorTransparentBackgroundHover};color:${colorNeutralForeground2BrandHover}}:host(${transparentState}:hover:active){background-color:${colorTransparentBackgroundPressed};color:${colorNeutralForeground2BrandPressed}}:host(:is(${transparentState},${transparentState}:is(:hover,:active))){border-color:transparent}`;
|
|
5282
5300
|
const styles$C = css`
|
|
5283
5301
|
${baseButtonStyles}
|
|
5284
5302
|
|
|
@@ -5345,6 +5363,30 @@ function getInitials(displayName, isRtl, options) {
|
|
|
5345
5363
|
return getInitialsLatin(displayName, isRtl, options?.firstInitialOnly);
|
|
5346
5364
|
}
|
|
5347
5365
|
|
|
5366
|
+
var __defProp$I = Object.defineProperty;
|
|
5367
|
+
var __getOwnPropDesc$I = Object.getOwnPropertyDescriptor;
|
|
5368
|
+
var __decorateClass$I = (decorators, target, key, kind) => {
|
|
5369
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$I(target, key) : target;
|
|
5370
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5371
|
+
if (kind && result) __defProp$I(target, key, result);
|
|
5372
|
+
return result;
|
|
5373
|
+
};
|
|
5374
|
+
class BaseAvatar extends FASTElement {
|
|
5375
|
+
constructor() {
|
|
5376
|
+
super();
|
|
5377
|
+
/**
|
|
5378
|
+
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
5379
|
+
*
|
|
5380
|
+
* @internal
|
|
5381
|
+
*/
|
|
5382
|
+
this.elementInternals = this.attachInternals();
|
|
5383
|
+
this.elementInternals.role = "img";
|
|
5384
|
+
}
|
|
5385
|
+
}
|
|
5386
|
+
__decorateClass$I([attr], BaseAvatar.prototype, "name", 2);
|
|
5387
|
+
__decorateClass$I([attr], BaseAvatar.prototype, "initials", 2);
|
|
5388
|
+
__decorateClass$I([attr], BaseAvatar.prototype, "active", 2);
|
|
5389
|
+
|
|
5348
5390
|
const AvatarNamedColor = {
|
|
5349
5391
|
darkRed: "dark-red",
|
|
5350
5392
|
cranberry: "cranberry",
|
|
@@ -5384,29 +5426,14 @@ const AvatarColor = {
|
|
|
5384
5426
|
...AvatarNamedColor
|
|
5385
5427
|
};
|
|
5386
5428
|
|
|
5387
|
-
var __defProp$
|
|
5388
|
-
var __getOwnPropDesc$
|
|
5389
|
-
var __decorateClass$
|
|
5390
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
5429
|
+
var __defProp$H = Object.defineProperty;
|
|
5430
|
+
var __getOwnPropDesc$H = Object.getOwnPropertyDescriptor;
|
|
5431
|
+
var __decorateClass$H = (decorators, target, key, kind) => {
|
|
5432
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$H(target, key) : target;
|
|
5391
5433
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5392
|
-
if (kind && result) __defProp$
|
|
5434
|
+
if (kind && result) __defProp$H(target, key, result);
|
|
5393
5435
|
return result;
|
|
5394
5436
|
};
|
|
5395
|
-
class BaseAvatar extends FASTElement {
|
|
5396
|
-
constructor() {
|
|
5397
|
-
super();
|
|
5398
|
-
/**
|
|
5399
|
-
* The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
5400
|
-
*
|
|
5401
|
-
* @internal
|
|
5402
|
-
*/
|
|
5403
|
-
this.elementInternals = this.attachInternals();
|
|
5404
|
-
this.elementInternals.role = "img";
|
|
5405
|
-
}
|
|
5406
|
-
}
|
|
5407
|
-
__decorateClass$w([attr], BaseAvatar.prototype, "name", 2);
|
|
5408
|
-
__decorateClass$w([attr], BaseAvatar.prototype, "initials", 2);
|
|
5409
|
-
__decorateClass$w([attr], BaseAvatar.prototype, "active", 2);
|
|
5410
5437
|
const _Avatar = class _Avatar extends BaseAvatar {
|
|
5411
5438
|
/**
|
|
5412
5439
|
* Handles changes to observable properties
|
|
@@ -5459,13 +5486,13 @@ const _Avatar = class _Avatar extends BaseAvatar {
|
|
|
5459
5486
|
* An array of the available Avatar named colors
|
|
5460
5487
|
*/
|
|
5461
5488
|
_Avatar.colors = Object.values(AvatarNamedColor);
|
|
5462
|
-
__decorateClass$
|
|
5463
|
-
__decorateClass$
|
|
5464
|
-
__decorateClass$
|
|
5489
|
+
__decorateClass$H([attr], _Avatar.prototype, "shape", 2);
|
|
5490
|
+
__decorateClass$H([attr], _Avatar.prototype, "appearance", 2);
|
|
5491
|
+
__decorateClass$H([attr({
|
|
5465
5492
|
converter: nullableNumberConverter
|
|
5466
5493
|
})], _Avatar.prototype, "size", 2);
|
|
5467
|
-
__decorateClass$
|
|
5468
|
-
__decorateClass$
|
|
5494
|
+
__decorateClass$H([attr], _Avatar.prototype, "color", 2);
|
|
5495
|
+
__decorateClass$H([attr({
|
|
5469
5496
|
attribute: "color-id"
|
|
5470
5497
|
})], _Avatar.prototype, "colorId", 2);
|
|
5471
5498
|
let Avatar = _Avatar;
|
|
@@ -5537,12 +5564,12 @@ const BadgeSize = {
|
|
|
5537
5564
|
extraLarge: "extra-large"
|
|
5538
5565
|
};
|
|
5539
5566
|
|
|
5540
|
-
var __defProp$
|
|
5541
|
-
var __getOwnPropDesc$
|
|
5542
|
-
var __decorateClass$
|
|
5543
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
5567
|
+
var __defProp$G = Object.defineProperty;
|
|
5568
|
+
var __getOwnPropDesc$G = Object.getOwnPropertyDescriptor;
|
|
5569
|
+
var __decorateClass$G = (decorators, target, key, kind) => {
|
|
5570
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$G(target, key) : target;
|
|
5544
5571
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5545
|
-
if (kind && result) __defProp$
|
|
5572
|
+
if (kind && result) __defProp$G(target, key, result);
|
|
5546
5573
|
return result;
|
|
5547
5574
|
};
|
|
5548
5575
|
class Badge extends FASTElement {
|
|
@@ -5590,10 +5617,10 @@ class Badge extends FASTElement {
|
|
|
5590
5617
|
swapStates(this.elementInternals, prev, next, BadgeSize);
|
|
5591
5618
|
}
|
|
5592
5619
|
}
|
|
5593
|
-
__decorateClass$
|
|
5594
|
-
__decorateClass$
|
|
5595
|
-
__decorateClass$
|
|
5596
|
-
__decorateClass$
|
|
5620
|
+
__decorateClass$G([attr], Badge.prototype, "appearance", 2);
|
|
5621
|
+
__decorateClass$G([attr], Badge.prototype, "color", 2);
|
|
5622
|
+
__decorateClass$G([attr], Badge.prototype, "shape", 2);
|
|
5623
|
+
__decorateClass$G([attr], Badge.prototype, "size", 2);
|
|
5597
5624
|
applyMixins(Badge, StartEnd);
|
|
5598
5625
|
|
|
5599
5626
|
const badgeBaseStyles = css.partial`
|
|
@@ -5970,12 +5997,12 @@ const definition$B = Badge.compose({
|
|
|
5970
5997
|
|
|
5971
5998
|
definition$B.define(FluentDesignSystem.registry);
|
|
5972
5999
|
|
|
5973
|
-
var __defProp$
|
|
5974
|
-
var __getOwnPropDesc$
|
|
5975
|
-
var __decorateClass$
|
|
5976
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
6000
|
+
var __defProp$F = Object.defineProperty;
|
|
6001
|
+
var __getOwnPropDesc$F = Object.getOwnPropertyDescriptor;
|
|
6002
|
+
var __decorateClass$F = (decorators, target, key, kind) => {
|
|
6003
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$F(target, key) : target;
|
|
5977
6004
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5978
|
-
if (kind && result) __defProp$
|
|
6005
|
+
if (kind && result) __defProp$F(target, key, result);
|
|
5979
6006
|
return result;
|
|
5980
6007
|
};
|
|
5981
6008
|
class BaseButton extends FASTElement {
|
|
@@ -6179,44 +6206,53 @@ class BaseButton extends FASTElement {
|
|
|
6179
6206
|
* @public
|
|
6180
6207
|
*/
|
|
6181
6208
|
BaseButton.formAssociated = true;
|
|
6182
|
-
__decorateClass$
|
|
6209
|
+
__decorateClass$F([attr({
|
|
6183
6210
|
mode: "boolean"
|
|
6184
6211
|
})], BaseButton.prototype, "autofocus", 2);
|
|
6185
|
-
__decorateClass$
|
|
6186
|
-
__decorateClass$
|
|
6212
|
+
__decorateClass$F([observable], BaseButton.prototype, "defaultSlottedContent", 2);
|
|
6213
|
+
__decorateClass$F([attr({
|
|
6187
6214
|
mode: "boolean"
|
|
6188
6215
|
})], BaseButton.prototype, "disabled", 2);
|
|
6189
|
-
__decorateClass$
|
|
6216
|
+
__decorateClass$F([attr({
|
|
6190
6217
|
attribute: "disabled-focusable",
|
|
6191
6218
|
mode: "boolean"
|
|
6192
6219
|
})], BaseButton.prototype, "disabledFocusable", 2);
|
|
6193
|
-
__decorateClass$
|
|
6220
|
+
__decorateClass$F([attr({
|
|
6194
6221
|
attribute: "tabindex",
|
|
6195
6222
|
mode: "fromView",
|
|
6196
6223
|
converter: nullableNumberConverter
|
|
6197
6224
|
})], BaseButton.prototype, "tabIndex", 2);
|
|
6198
|
-
__decorateClass$
|
|
6225
|
+
__decorateClass$F([attr({
|
|
6199
6226
|
attribute: "formaction"
|
|
6200
6227
|
})], BaseButton.prototype, "formAction", 2);
|
|
6201
|
-
__decorateClass$
|
|
6228
|
+
__decorateClass$F([attr({
|
|
6202
6229
|
attribute: "form"
|
|
6203
6230
|
})], BaseButton.prototype, "formAttribute", 2);
|
|
6204
|
-
__decorateClass$
|
|
6231
|
+
__decorateClass$F([attr({
|
|
6205
6232
|
attribute: "formenctype"
|
|
6206
6233
|
})], BaseButton.prototype, "formEnctype", 2);
|
|
6207
|
-
__decorateClass$
|
|
6234
|
+
__decorateClass$F([attr({
|
|
6208
6235
|
attribute: "formmethod"
|
|
6209
6236
|
})], BaseButton.prototype, "formMethod", 2);
|
|
6210
|
-
__decorateClass$
|
|
6237
|
+
__decorateClass$F([attr({
|
|
6211
6238
|
attribute: "formnovalidate",
|
|
6212
6239
|
mode: "boolean"
|
|
6213
6240
|
})], BaseButton.prototype, "formNoValidate", 2);
|
|
6214
|
-
__decorateClass$
|
|
6241
|
+
__decorateClass$F([attr({
|
|
6215
6242
|
attribute: "formtarget"
|
|
6216
6243
|
})], BaseButton.prototype, "formTarget", 2);
|
|
6217
|
-
__decorateClass$
|
|
6218
|
-
__decorateClass$
|
|
6219
|
-
__decorateClass$
|
|
6244
|
+
__decorateClass$F([attr], BaseButton.prototype, "name", 2);
|
|
6245
|
+
__decorateClass$F([attr], BaseButton.prototype, "type", 2);
|
|
6246
|
+
__decorateClass$F([attr], BaseButton.prototype, "value", 2);
|
|
6247
|
+
|
|
6248
|
+
var __defProp$E = Object.defineProperty;
|
|
6249
|
+
var __getOwnPropDesc$E = Object.getOwnPropertyDescriptor;
|
|
6250
|
+
var __decorateClass$E = (decorators, target, key, kind) => {
|
|
6251
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$E(target, key) : target;
|
|
6252
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
6253
|
+
if (kind && result) __defProp$E(target, key, result);
|
|
6254
|
+
return result;
|
|
6255
|
+
};
|
|
6220
6256
|
class Button extends BaseButton {
|
|
6221
6257
|
constructor() {
|
|
6222
6258
|
super(...arguments);
|
|
@@ -6255,10 +6291,10 @@ class Button extends BaseButton {
|
|
|
6255
6291
|
toggleState(this.elementInternals, "icon", next);
|
|
6256
6292
|
}
|
|
6257
6293
|
}
|
|
6258
|
-
__decorateClass$
|
|
6259
|
-
__decorateClass$
|
|
6260
|
-
__decorateClass$
|
|
6261
|
-
__decorateClass$
|
|
6294
|
+
__decorateClass$E([attr], Button.prototype, "appearance", 2);
|
|
6295
|
+
__decorateClass$E([attr], Button.prototype, "shape", 2);
|
|
6296
|
+
__decorateClass$E([attr], Button.prototype, "size", 2);
|
|
6297
|
+
__decorateClass$E([attr({
|
|
6262
6298
|
attribute: "icon-only",
|
|
6263
6299
|
mode: "boolean"
|
|
6264
6300
|
})], Button.prototype, "iconOnly", 2);
|
|
@@ -6277,21 +6313,12 @@ const definition$A = Button.compose({
|
|
|
6277
6313
|
|
|
6278
6314
|
definition$A.define(FluentDesignSystem.registry);
|
|
6279
6315
|
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
const CheckboxSize = {
|
|
6285
|
-
medium: "medium",
|
|
6286
|
-
large: "large"
|
|
6287
|
-
};
|
|
6288
|
-
|
|
6289
|
-
var __defProp$t = Object.defineProperty;
|
|
6290
|
-
var __getOwnPropDesc$t = Object.getOwnPropertyDescriptor;
|
|
6291
|
-
var __decorateClass$t = (decorators, target, key, kind) => {
|
|
6292
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$t(target, key) : target;
|
|
6316
|
+
var __defProp$D = Object.defineProperty;
|
|
6317
|
+
var __getOwnPropDesc$D = Object.getOwnPropertyDescriptor;
|
|
6318
|
+
var __decorateClass$D = (decorators, target, key, kind) => {
|
|
6319
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$D(target, key) : target;
|
|
6293
6320
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
6294
|
-
if (kind && result) __defProp$
|
|
6321
|
+
if (kind && result) __defProp$D(target, key, result);
|
|
6295
6322
|
return result;
|
|
6296
6323
|
};
|
|
6297
6324
|
class BaseCheckbox extends FASTElement {
|
|
@@ -6625,29 +6652,47 @@ class BaseCheckbox extends FASTElement {
|
|
|
6625
6652
|
* @public
|
|
6626
6653
|
*/
|
|
6627
6654
|
BaseCheckbox.formAssociated = true;
|
|
6628
|
-
__decorateClass$
|
|
6655
|
+
__decorateClass$D([attr({
|
|
6629
6656
|
mode: "boolean"
|
|
6630
6657
|
})], BaseCheckbox.prototype, "autofocus", 2);
|
|
6631
|
-
__decorateClass$
|
|
6632
|
-
__decorateClass$
|
|
6658
|
+
__decorateClass$D([observable], BaseCheckbox.prototype, "disabled", 2);
|
|
6659
|
+
__decorateClass$D([attr({
|
|
6633
6660
|
attribute: "disabled",
|
|
6634
6661
|
mode: "boolean"
|
|
6635
6662
|
})], BaseCheckbox.prototype, "disabledAttribute", 2);
|
|
6636
|
-
__decorateClass$
|
|
6663
|
+
__decorateClass$D([attr({
|
|
6637
6664
|
attribute: "form"
|
|
6638
6665
|
})], BaseCheckbox.prototype, "formAttribute", 2);
|
|
6639
|
-
__decorateClass$
|
|
6666
|
+
__decorateClass$D([attr({
|
|
6640
6667
|
attribute: "checked",
|
|
6641
6668
|
mode: "boolean"
|
|
6642
6669
|
})], BaseCheckbox.prototype, "initialChecked", 2);
|
|
6643
|
-
__decorateClass$
|
|
6670
|
+
__decorateClass$D([attr({
|
|
6644
6671
|
attribute: "value",
|
|
6645
6672
|
mode: "fromView"
|
|
6646
6673
|
})], BaseCheckbox.prototype, "initialValue", 2);
|
|
6647
|
-
__decorateClass$
|
|
6648
|
-
__decorateClass$
|
|
6674
|
+
__decorateClass$D([attr], BaseCheckbox.prototype, "name", 2);
|
|
6675
|
+
__decorateClass$D([attr({
|
|
6649
6676
|
mode: "boolean"
|
|
6650
6677
|
})], BaseCheckbox.prototype, "required", 2);
|
|
6678
|
+
|
|
6679
|
+
const CheckboxShape = {
|
|
6680
|
+
circular: "circular",
|
|
6681
|
+
square: "square"
|
|
6682
|
+
};
|
|
6683
|
+
const CheckboxSize = {
|
|
6684
|
+
medium: "medium",
|
|
6685
|
+
large: "large"
|
|
6686
|
+
};
|
|
6687
|
+
|
|
6688
|
+
var __defProp$C = Object.defineProperty;
|
|
6689
|
+
var __getOwnPropDesc$C = Object.getOwnPropertyDescriptor;
|
|
6690
|
+
var __decorateClass$C = (decorators, target, key, kind) => {
|
|
6691
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$C(target, key) : target;
|
|
6692
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
6693
|
+
if (kind && result) __defProp$C(target, key, result);
|
|
6694
|
+
return result;
|
|
6695
|
+
};
|
|
6651
6696
|
class Checkbox extends BaseCheckbox {
|
|
6652
6697
|
/**
|
|
6653
6698
|
* Updates the indeterminate state when the `indeterminate` property changes.
|
|
@@ -6708,9 +6753,9 @@ class Checkbox extends BaseCheckbox {
|
|
|
6708
6753
|
super.toggleChecked(force);
|
|
6709
6754
|
}
|
|
6710
6755
|
}
|
|
6711
|
-
__decorateClass$
|
|
6712
|
-
__decorateClass$
|
|
6713
|
-
__decorateClass$
|
|
6756
|
+
__decorateClass$C([observable], Checkbox.prototype, "indeterminate", 2);
|
|
6757
|
+
__decorateClass$C([attr], Checkbox.prototype, "shape", 2);
|
|
6758
|
+
__decorateClass$C([attr], Checkbox.prototype, "size", 2);
|
|
6714
6759
|
|
|
6715
6760
|
const styles$y = css`
|
|
6716
6761
|
${display("inline-flex")}
|
|
@@ -6799,12 +6844,12 @@ const CounterBadgeSize = {
|
|
|
6799
6844
|
extraLarge: "extra-large"
|
|
6800
6845
|
};
|
|
6801
6846
|
|
|
6802
|
-
var __defProp$
|
|
6803
|
-
var __getOwnPropDesc$
|
|
6804
|
-
var __decorateClass$
|
|
6805
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
6847
|
+
var __defProp$B = Object.defineProperty;
|
|
6848
|
+
var __getOwnPropDesc$B = Object.getOwnPropertyDescriptor;
|
|
6849
|
+
var __decorateClass$B = (decorators, target, key, kind) => {
|
|
6850
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$B(target, key) : target;
|
|
6806
6851
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
6807
|
-
if (kind && result) __defProp$
|
|
6852
|
+
if (kind && result) __defProp$B(target, key, result);
|
|
6808
6853
|
return result;
|
|
6809
6854
|
};
|
|
6810
6855
|
class CounterBadge extends FASTElement {
|
|
@@ -6881,22 +6926,22 @@ class CounterBadge extends FASTElement {
|
|
|
6881
6926
|
return;
|
|
6882
6927
|
}
|
|
6883
6928
|
}
|
|
6884
|
-
__decorateClass$
|
|
6885
|
-
__decorateClass$
|
|
6886
|
-
__decorateClass$
|
|
6887
|
-
__decorateClass$
|
|
6888
|
-
__decorateClass$
|
|
6929
|
+
__decorateClass$B([attr], CounterBadge.prototype, "appearance", 2);
|
|
6930
|
+
__decorateClass$B([attr], CounterBadge.prototype, "color", 2);
|
|
6931
|
+
__decorateClass$B([attr], CounterBadge.prototype, "shape", 2);
|
|
6932
|
+
__decorateClass$B([attr], CounterBadge.prototype, "size", 2);
|
|
6933
|
+
__decorateClass$B([attr({
|
|
6889
6934
|
converter: nullableNumberConverter
|
|
6890
6935
|
})], CounterBadge.prototype, "count", 2);
|
|
6891
|
-
__decorateClass$
|
|
6936
|
+
__decorateClass$B([attr({
|
|
6892
6937
|
attribute: "overflow-count",
|
|
6893
6938
|
converter: nullableNumberConverter
|
|
6894
6939
|
})], CounterBadge.prototype, "overflowCount", 2);
|
|
6895
|
-
__decorateClass$
|
|
6940
|
+
__decorateClass$B([attr({
|
|
6896
6941
|
attribute: "show-zero",
|
|
6897
6942
|
mode: "boolean"
|
|
6898
6943
|
})], CounterBadge.prototype, "showZero", 2);
|
|
6899
|
-
__decorateClass$
|
|
6944
|
+
__decorateClass$B([attr({
|
|
6900
6945
|
mode: "boolean"
|
|
6901
6946
|
})], CounterBadge.prototype, "dot", 2);
|
|
6902
6947
|
applyMixins(CounterBadge, StartEnd);
|
|
@@ -6930,12 +6975,12 @@ const DialogType = {
|
|
|
6930
6975
|
alert: "alert"
|
|
6931
6976
|
};
|
|
6932
6977
|
|
|
6933
|
-
var __defProp$
|
|
6934
|
-
var __getOwnPropDesc$
|
|
6935
|
-
var __decorateClass$
|
|
6936
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
6978
|
+
var __defProp$A = Object.defineProperty;
|
|
6979
|
+
var __getOwnPropDesc$A = Object.getOwnPropertyDescriptor;
|
|
6980
|
+
var __decorateClass$A = (decorators, target, key, kind) => {
|
|
6981
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$A(target, key) : target;
|
|
6937
6982
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
6938
|
-
if (kind && result) __defProp$
|
|
6983
|
+
if (kind && result) __defProp$A(target, key, result);
|
|
6939
6984
|
return result;
|
|
6940
6985
|
};
|
|
6941
6986
|
class Dialog extends FASTElement {
|
|
@@ -7003,14 +7048,14 @@ class Dialog extends FASTElement {
|
|
|
7003
7048
|
return true;
|
|
7004
7049
|
}
|
|
7005
7050
|
}
|
|
7006
|
-
__decorateClass$
|
|
7007
|
-
__decorateClass$
|
|
7051
|
+
__decorateClass$A([observable], Dialog.prototype, "dialog", 2);
|
|
7052
|
+
__decorateClass$A([attr({
|
|
7008
7053
|
attribute: "aria-describedby"
|
|
7009
7054
|
})], Dialog.prototype, "ariaDescribedby", 2);
|
|
7010
|
-
__decorateClass$
|
|
7055
|
+
__decorateClass$A([attr({
|
|
7011
7056
|
attribute: "aria-labelledby"
|
|
7012
7057
|
})], Dialog.prototype, "ariaLabelledby", 2);
|
|
7013
|
-
__decorateClass$
|
|
7058
|
+
__decorateClass$A([attr], Dialog.prototype, "type", 2);
|
|
7014
7059
|
|
|
7015
7060
|
const template$w = 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>`;
|
|
7016
7061
|
|
|
@@ -7026,12 +7071,12 @@ const definition$w = Dialog.compose({
|
|
|
7026
7071
|
|
|
7027
7072
|
definition$w.define(FluentDesignSystem.registry);
|
|
7028
7073
|
|
|
7029
|
-
var __defProp$
|
|
7030
|
-
var __getOwnPropDesc$
|
|
7031
|
-
var __decorateClass$
|
|
7032
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
7074
|
+
var __defProp$z = Object.defineProperty;
|
|
7075
|
+
var __getOwnPropDesc$z = Object.getOwnPropertyDescriptor;
|
|
7076
|
+
var __decorateClass$z = (decorators, target, key, kind) => {
|
|
7077
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$z(target, key) : target;
|
|
7033
7078
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
7034
|
-
if (kind && result) __defProp$
|
|
7079
|
+
if (kind && result) __defProp$z(target, key, result);
|
|
7035
7080
|
return result;
|
|
7036
7081
|
};
|
|
7037
7082
|
class DialogBody extends FASTElement {
|
|
@@ -7040,7 +7085,7 @@ class DialogBody extends FASTElement {
|
|
|
7040
7085
|
this.noTitleAction = false;
|
|
7041
7086
|
}
|
|
7042
7087
|
}
|
|
7043
|
-
__decorateClass$
|
|
7088
|
+
__decorateClass$z([attr({
|
|
7044
7089
|
mode: "boolean",
|
|
7045
7090
|
attribute: "no-title-action"
|
|
7046
7091
|
})], DialogBody.prototype, "noTitleAction", 2);
|
|
@@ -7096,12 +7141,12 @@ const DividerAppearance = {
|
|
|
7096
7141
|
subtle: "subtle"
|
|
7097
7142
|
};
|
|
7098
7143
|
|
|
7099
|
-
var __defProp$
|
|
7100
|
-
var __getOwnPropDesc$
|
|
7101
|
-
var __decorateClass$
|
|
7102
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
7144
|
+
var __defProp$y = Object.defineProperty;
|
|
7145
|
+
var __getOwnPropDesc$y = Object.getOwnPropertyDescriptor;
|
|
7146
|
+
var __decorateClass$y = (decorators, target, key, kind) => {
|
|
7147
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$y(target, key) : target;
|
|
7103
7148
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
7104
|
-
if (kind && result) __defProp$
|
|
7149
|
+
if (kind && result) __defProp$y(target, key, result);
|
|
7105
7150
|
return result;
|
|
7106
7151
|
};
|
|
7107
7152
|
class BaseDivider extends FASTElement {
|
|
@@ -7148,8 +7193,17 @@ class BaseDivider extends FASTElement {
|
|
|
7148
7193
|
swapStates(this.elementInternals, previous, next, DividerOrientation);
|
|
7149
7194
|
}
|
|
7150
7195
|
}
|
|
7151
|
-
__decorateClass$
|
|
7152
|
-
__decorateClass$
|
|
7196
|
+
__decorateClass$y([attr], BaseDivider.prototype, "role", 2);
|
|
7197
|
+
__decorateClass$y([attr], BaseDivider.prototype, "orientation", 2);
|
|
7198
|
+
|
|
7199
|
+
var __defProp$x = Object.defineProperty;
|
|
7200
|
+
var __getOwnPropDesc$x = Object.getOwnPropertyDescriptor;
|
|
7201
|
+
var __decorateClass$x = (decorators, target, key, kind) => {
|
|
7202
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$x(target, key) : target;
|
|
7203
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
7204
|
+
if (kind && result) __defProp$x(target, key, result);
|
|
7205
|
+
return result;
|
|
7206
|
+
};
|
|
7153
7207
|
class Divider extends BaseDivider {
|
|
7154
7208
|
/**
|
|
7155
7209
|
* Handles changes to align-content attribute custom states
|
|
@@ -7176,11 +7230,11 @@ class Divider extends BaseDivider {
|
|
|
7176
7230
|
toggleState(this.elementInternals, "inset", next);
|
|
7177
7231
|
}
|
|
7178
7232
|
}
|
|
7179
|
-
__decorateClass$
|
|
7233
|
+
__decorateClass$x([attr({
|
|
7180
7234
|
attribute: "align-content"
|
|
7181
7235
|
})], Divider.prototype, "alignContent", 2);
|
|
7182
|
-
__decorateClass$
|
|
7183
|
-
__decorateClass$
|
|
7236
|
+
__decorateClass$x([attr], Divider.prototype, "appearance", 2);
|
|
7237
|
+
__decorateClass$x([attr({
|
|
7184
7238
|
mode: "boolean"
|
|
7185
7239
|
})], Divider.prototype, "inset", 2);
|
|
7186
7240
|
|
|
@@ -7219,12 +7273,12 @@ const DrawerType = {
|
|
|
7219
7273
|
inline: "inline"
|
|
7220
7274
|
};
|
|
7221
7275
|
|
|
7222
|
-
var __defProp$
|
|
7223
|
-
var __getOwnPropDesc$
|
|
7224
|
-
var __decorateClass$
|
|
7225
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
7276
|
+
var __defProp$w = Object.defineProperty;
|
|
7277
|
+
var __getOwnPropDesc$w = Object.getOwnPropertyDescriptor;
|
|
7278
|
+
var __decorateClass$w = (decorators, target, key, kind) => {
|
|
7279
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$w(target, key) : target;
|
|
7226
7280
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
7227
|
-
if (kind && result) __defProp$
|
|
7281
|
+
if (kind && result) __defProp$w(target, key, result);
|
|
7228
7282
|
return result;
|
|
7229
7283
|
};
|
|
7230
7284
|
class Drawer extends FASTElement {
|
|
@@ -7294,18 +7348,18 @@ class Drawer extends FASTElement {
|
|
|
7294
7348
|
return true;
|
|
7295
7349
|
}
|
|
7296
7350
|
}
|
|
7297
|
-
__decorateClass$
|
|
7298
|
-
__decorateClass$
|
|
7351
|
+
__decorateClass$w([attr], Drawer.prototype, "type", 2);
|
|
7352
|
+
__decorateClass$w([attr({
|
|
7299
7353
|
attribute: "aria-labelledby"
|
|
7300
7354
|
})], Drawer.prototype, "ariaLabelledby", 2);
|
|
7301
|
-
__decorateClass$
|
|
7355
|
+
__decorateClass$w([attr({
|
|
7302
7356
|
attribute: "aria-describedby"
|
|
7303
7357
|
})], Drawer.prototype, "ariaDescribedby", 2);
|
|
7304
|
-
__decorateClass$
|
|
7305
|
-
__decorateClass$
|
|
7358
|
+
__decorateClass$w([attr], Drawer.prototype, "position", 2);
|
|
7359
|
+
__decorateClass$w([attr({
|
|
7306
7360
|
attribute: "size"
|
|
7307
7361
|
})], Drawer.prototype, "size", 2);
|
|
7308
|
-
__decorateClass$
|
|
7362
|
+
__decorateClass$w([observable], Drawer.prototype, "dialog", 2);
|
|
7309
7363
|
|
|
7310
7364
|
const styles$s = css`
|
|
7311
7365
|
${display("block")}
|
|
@@ -7395,12 +7449,12 @@ const template$r = dropdownTemplate({
|
|
|
7395
7449
|
indicator: dropdownIndicatorTemplate
|
|
7396
7450
|
});
|
|
7397
7451
|
|
|
7398
|
-
var __defProp$
|
|
7399
|
-
var __getOwnPropDesc$
|
|
7400
|
-
var __decorateClass$
|
|
7401
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
7452
|
+
var __defProp$v = Object.defineProperty;
|
|
7453
|
+
var __getOwnPropDesc$v = Object.getOwnPropertyDescriptor;
|
|
7454
|
+
var __decorateClass$v = (decorators, target, key, kind) => {
|
|
7455
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$v(target, key) : target;
|
|
7402
7456
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
7403
|
-
if (kind && result) __defProp$
|
|
7457
|
+
if (kind && result) __defProp$v(target, key, result);
|
|
7404
7458
|
return result;
|
|
7405
7459
|
};
|
|
7406
7460
|
class BaseDropdown extends FASTElement {
|
|
@@ -7959,41 +8013,50 @@ class BaseDropdown extends FASTElement {
|
|
|
7959
8013
|
* @public
|
|
7960
8014
|
*/
|
|
7961
8015
|
BaseDropdown.formAssociated = true;
|
|
7962
|
-
__decorateClass$
|
|
7963
|
-
__decorateClass$
|
|
7964
|
-
__decorateClass$
|
|
8016
|
+
__decorateClass$v([volatile], BaseDropdown.prototype, "activeDescendant", 1);
|
|
8017
|
+
__decorateClass$v([observable], BaseDropdown.prototype, "activeIndex", 2);
|
|
8018
|
+
__decorateClass$v([attr({
|
|
7965
8019
|
attribute: "aria-labelledby",
|
|
7966
8020
|
mode: "fromView"
|
|
7967
8021
|
})], BaseDropdown.prototype, "ariaLabelledBy", 2);
|
|
7968
|
-
__decorateClass$
|
|
7969
|
-
__decorateClass$
|
|
8022
|
+
__decorateClass$v([observable], BaseDropdown.prototype, "control", 2);
|
|
8023
|
+
__decorateClass$v([attr({
|
|
7970
8024
|
mode: "boolean"
|
|
7971
8025
|
})], BaseDropdown.prototype, "disabled", 2);
|
|
7972
|
-
__decorateClass$
|
|
7973
|
-
__decorateClass$
|
|
8026
|
+
__decorateClass$v([volatile], BaseDropdown.prototype, "displayValue", 1);
|
|
8027
|
+
__decorateClass$v([attr({
|
|
7974
8028
|
attribute: "id"
|
|
7975
8029
|
})], BaseDropdown.prototype, "id", 2);
|
|
7976
|
-
__decorateClass$
|
|
7977
|
-
__decorateClass$
|
|
7978
|
-
__decorateClass$
|
|
8030
|
+
__decorateClass$v([observable], BaseDropdown.prototype, "indicator", 2);
|
|
8031
|
+
__decorateClass$v([observable], BaseDropdown.prototype, "indicatorSlot", 2);
|
|
8032
|
+
__decorateClass$v([attr({
|
|
7979
8033
|
attribute: "value",
|
|
7980
8034
|
mode: "fromView"
|
|
7981
8035
|
})], BaseDropdown.prototype, "initialValue", 2);
|
|
7982
|
-
__decorateClass$
|
|
7983
|
-
__decorateClass$
|
|
7984
|
-
__decorateClass$
|
|
8036
|
+
__decorateClass$v([observable], BaseDropdown.prototype, "listbox", 2);
|
|
8037
|
+
__decorateClass$v([observable], BaseDropdown.prototype, "listboxSlot", 2);
|
|
8038
|
+
__decorateClass$v([attr({
|
|
7985
8039
|
mode: "boolean"
|
|
7986
8040
|
})], BaseDropdown.prototype, "multiple", 2);
|
|
7987
|
-
__decorateClass$
|
|
7988
|
-
__decorateClass$
|
|
7989
|
-
__decorateClass$
|
|
7990
|
-
__decorateClass$
|
|
8041
|
+
__decorateClass$v([attr], BaseDropdown.prototype, "name", 2);
|
|
8042
|
+
__decorateClass$v([observable], BaseDropdown.prototype, "open", 2);
|
|
8043
|
+
__decorateClass$v([attr], BaseDropdown.prototype, "placeholder", 2);
|
|
8044
|
+
__decorateClass$v([attr({
|
|
7991
8045
|
mode: "boolean"
|
|
7992
8046
|
})], BaseDropdown.prototype, "required", 2);
|
|
7993
|
-
__decorateClass$
|
|
7994
|
-
__decorateClass$
|
|
8047
|
+
__decorateClass$v([attr], BaseDropdown.prototype, "type", 2);
|
|
8048
|
+
__decorateClass$v([attr({
|
|
7995
8049
|
attribute: "value"
|
|
7996
8050
|
})], BaseDropdown.prototype, "valueAttribute", 2);
|
|
8051
|
+
|
|
8052
|
+
var __defProp$u = Object.defineProperty;
|
|
8053
|
+
var __getOwnPropDesc$u = Object.getOwnPropertyDescriptor;
|
|
8054
|
+
var __decorateClass$u = (decorators, target, key, kind) => {
|
|
8055
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$u(target, key) : target;
|
|
8056
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8057
|
+
if (kind && result) __defProp$u(target, key, result);
|
|
8058
|
+
return result;
|
|
8059
|
+
};
|
|
7997
8060
|
const _Dropdown = class _Dropdown extends BaseDropdown {
|
|
7998
8061
|
constructor() {
|
|
7999
8062
|
super();
|
|
@@ -8083,8 +8146,8 @@ const _Dropdown = class _Dropdown extends BaseDropdown {
|
|
|
8083
8146
|
});
|
|
8084
8147
|
}
|
|
8085
8148
|
};
|
|
8086
|
-
__decorateClass$
|
|
8087
|
-
__decorateClass$
|
|
8149
|
+
__decorateClass$u([attr], _Dropdown.prototype, "appearance", 2);
|
|
8150
|
+
__decorateClass$u([attr], _Dropdown.prototype, "size", 2);
|
|
8088
8151
|
let Dropdown = _Dropdown;
|
|
8089
8152
|
|
|
8090
8153
|
const styles$q = css`
|
|
@@ -8122,12 +8185,12 @@ const ValidationFlags = {
|
|
|
8122
8185
|
valid: "valid"
|
|
8123
8186
|
};
|
|
8124
8187
|
|
|
8125
|
-
var __defProp$
|
|
8126
|
-
var __getOwnPropDesc$
|
|
8127
|
-
var __decorateClass$
|
|
8128
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
8188
|
+
var __defProp$t = Object.defineProperty;
|
|
8189
|
+
var __getOwnPropDesc$t = Object.getOwnPropertyDescriptor;
|
|
8190
|
+
var __decorateClass$t = (decorators, target, key, kind) => {
|
|
8191
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$t(target, key) : target;
|
|
8129
8192
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8130
|
-
if (kind && result) __defProp$
|
|
8193
|
+
if (kind && result) __defProp$t(target, key, result);
|
|
8131
8194
|
return result;
|
|
8132
8195
|
};
|
|
8133
8196
|
class BaseField extends FASTElement {
|
|
@@ -8295,17 +8358,26 @@ class BaseField extends FASTElement {
|
|
|
8295
8358
|
}
|
|
8296
8359
|
}
|
|
8297
8360
|
}
|
|
8298
|
-
__decorateClass$
|
|
8299
|
-
__decorateClass$
|
|
8300
|
-
__decorateClass$
|
|
8301
|
-
__decorateClass$
|
|
8361
|
+
__decorateClass$t([observable], BaseField.prototype, "labelSlot", 2);
|
|
8362
|
+
__decorateClass$t([observable], BaseField.prototype, "messageSlot", 2);
|
|
8363
|
+
__decorateClass$t([observable], BaseField.prototype, "slottedInputs", 2);
|
|
8364
|
+
__decorateClass$t([observable], BaseField.prototype, "input", 2);
|
|
8365
|
+
|
|
8366
|
+
var __defProp$s = Object.defineProperty;
|
|
8367
|
+
var __getOwnPropDesc$s = Object.getOwnPropertyDescriptor;
|
|
8368
|
+
var __decorateClass$s = (decorators, target, key, kind) => {
|
|
8369
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$s(target, key) : target;
|
|
8370
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8371
|
+
if (kind && result) __defProp$s(target, key, result);
|
|
8372
|
+
return result;
|
|
8373
|
+
};
|
|
8302
8374
|
class Field extends BaseField {
|
|
8303
8375
|
constructor() {
|
|
8304
8376
|
super(...arguments);
|
|
8305
8377
|
this.labelPosition = LabelPosition.above;
|
|
8306
8378
|
}
|
|
8307
8379
|
}
|
|
8308
|
-
__decorateClass$
|
|
8380
|
+
__decorateClass$s([attr({
|
|
8309
8381
|
attribute: "label-position"
|
|
8310
8382
|
})], Field.prototype, "labelPosition", 2);
|
|
8311
8383
|
|
|
@@ -8349,12 +8421,12 @@ const ImageShape = {
|
|
|
8349
8421
|
square: "square"
|
|
8350
8422
|
};
|
|
8351
8423
|
|
|
8352
|
-
var __defProp$
|
|
8353
|
-
var __getOwnPropDesc$
|
|
8354
|
-
var __decorateClass$
|
|
8355
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
8424
|
+
var __defProp$r = Object.defineProperty;
|
|
8425
|
+
var __getOwnPropDesc$r = Object.getOwnPropertyDescriptor;
|
|
8426
|
+
var __decorateClass$r = (decorators, target, key, kind) => {
|
|
8427
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$r(target, key) : target;
|
|
8356
8428
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8357
|
-
if (kind && result) __defProp$
|
|
8429
|
+
if (kind && result) __defProp$r(target, key, result);
|
|
8358
8430
|
return result;
|
|
8359
8431
|
};
|
|
8360
8432
|
class Image extends FASTElement {
|
|
@@ -8408,17 +8480,17 @@ class Image extends FASTElement {
|
|
|
8408
8480
|
swapStates(this.elementInternals, prev, next, ImageShape);
|
|
8409
8481
|
}
|
|
8410
8482
|
}
|
|
8411
|
-
__decorateClass$
|
|
8483
|
+
__decorateClass$r([attr({
|
|
8412
8484
|
mode: "boolean"
|
|
8413
8485
|
})], Image.prototype, "block", 2);
|
|
8414
|
-
__decorateClass$
|
|
8486
|
+
__decorateClass$r([attr({
|
|
8415
8487
|
mode: "boolean"
|
|
8416
8488
|
})], Image.prototype, "bordered", 2);
|
|
8417
|
-
__decorateClass$
|
|
8489
|
+
__decorateClass$r([attr({
|
|
8418
8490
|
mode: "boolean"
|
|
8419
8491
|
})], Image.prototype, "shadow", 2);
|
|
8420
|
-
__decorateClass$
|
|
8421
|
-
__decorateClass$
|
|
8492
|
+
__decorateClass$r([attr], Image.prototype, "fit", 2);
|
|
8493
|
+
__decorateClass$r([attr], Image.prototype, "shape", 2);
|
|
8422
8494
|
|
|
8423
8495
|
const template$p = html`<slot></slot>`;
|
|
8424
8496
|
|
|
@@ -8443,12 +8515,12 @@ const LabelWeight = {
|
|
|
8443
8515
|
semibold: "semibold"
|
|
8444
8516
|
};
|
|
8445
8517
|
|
|
8446
|
-
var __defProp$
|
|
8447
|
-
var __getOwnPropDesc$
|
|
8448
|
-
var __decorateClass$
|
|
8449
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
8518
|
+
var __defProp$q = Object.defineProperty;
|
|
8519
|
+
var __getOwnPropDesc$q = Object.getOwnPropertyDescriptor;
|
|
8520
|
+
var __decorateClass$q = (decorators, target, key, kind) => {
|
|
8521
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$q(target, key) : target;
|
|
8450
8522
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8451
|
-
if (kind && result) __defProp$
|
|
8523
|
+
if (kind && result) __defProp$q(target, key, result);
|
|
8452
8524
|
return result;
|
|
8453
8525
|
};
|
|
8454
8526
|
class Label extends FASTElement {
|
|
@@ -8488,12 +8560,12 @@ class Label extends FASTElement {
|
|
|
8488
8560
|
toggleState(this.elementInternals, "disabled", next);
|
|
8489
8561
|
}
|
|
8490
8562
|
}
|
|
8491
|
-
__decorateClass$
|
|
8492
|
-
__decorateClass$
|
|
8493
|
-
__decorateClass$
|
|
8563
|
+
__decorateClass$q([attr], Label.prototype, "size", 2);
|
|
8564
|
+
__decorateClass$q([attr], Label.prototype, "weight", 2);
|
|
8565
|
+
__decorateClass$q([attr({
|
|
8494
8566
|
mode: "boolean"
|
|
8495
8567
|
})], Label.prototype, "disabled", 2);
|
|
8496
|
-
__decorateClass$
|
|
8568
|
+
__decorateClass$q([attr({
|
|
8497
8569
|
mode: "boolean"
|
|
8498
8570
|
})], Label.prototype, "required", 2);
|
|
8499
8571
|
|
|
@@ -8519,12 +8591,12 @@ const LinkAppearance = {
|
|
|
8519
8591
|
subtle: "subtle"
|
|
8520
8592
|
};
|
|
8521
8593
|
|
|
8522
|
-
var __defProp$
|
|
8523
|
-
var __getOwnPropDesc$
|
|
8524
|
-
var __decorateClass$
|
|
8525
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
8594
|
+
var __defProp$p = Object.defineProperty;
|
|
8595
|
+
var __getOwnPropDesc$p = Object.getOwnPropertyDescriptor;
|
|
8596
|
+
var __decorateClass$p = (decorators, target, key, kind) => {
|
|
8597
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$p(target, key) : target;
|
|
8526
8598
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8527
|
-
if (kind && result) __defProp$
|
|
8599
|
+
if (kind && result) __defProp$p(target, key, result);
|
|
8528
8600
|
return result;
|
|
8529
8601
|
};
|
|
8530
8602
|
class Link extends BaseAnchor {
|
|
@@ -8549,8 +8621,8 @@ class Link extends BaseAnchor {
|
|
|
8549
8621
|
toggleState(this.elementInternals, "inline", next);
|
|
8550
8622
|
}
|
|
8551
8623
|
}
|
|
8552
|
-
__decorateClass$
|
|
8553
|
-
__decorateClass$
|
|
8624
|
+
__decorateClass$p([attr], Link.prototype, "appearance", 2);
|
|
8625
|
+
__decorateClass$p([attr({
|
|
8554
8626
|
mode: "boolean"
|
|
8555
8627
|
})], Link.prototype, "inline", 2);
|
|
8556
8628
|
|
|
@@ -8573,12 +8645,12 @@ const definition$n = Link.compose({
|
|
|
8573
8645
|
|
|
8574
8646
|
definition$n.define(FluentDesignSystem.registry);
|
|
8575
8647
|
|
|
8576
|
-
var __defProp$
|
|
8577
|
-
var __getOwnPropDesc$
|
|
8578
|
-
var __decorateClass$
|
|
8579
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
8648
|
+
var __defProp$o = Object.defineProperty;
|
|
8649
|
+
var __getOwnPropDesc$o = Object.getOwnPropertyDescriptor;
|
|
8650
|
+
var __decorateClass$o = (decorators, target, key, kind) => {
|
|
8651
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$o(target, key) : target;
|
|
8580
8652
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8581
|
-
if (kind && result) __defProp$
|
|
8653
|
+
if (kind && result) __defProp$o(target, key, result);
|
|
8582
8654
|
return result;
|
|
8583
8655
|
};
|
|
8584
8656
|
class Listbox extends FASTElement {
|
|
@@ -8716,14 +8788,14 @@ class Listbox extends FASTElement {
|
|
|
8716
8788
|
this.selectedIndex = selectedIndex;
|
|
8717
8789
|
}
|
|
8718
8790
|
}
|
|
8719
|
-
__decorateClass$
|
|
8791
|
+
__decorateClass$o([attr({
|
|
8720
8792
|
attribute: "id",
|
|
8721
8793
|
mode: "fromView"
|
|
8722
8794
|
})], Listbox.prototype, "id", 2);
|
|
8723
|
-
__decorateClass$
|
|
8724
|
-
__decorateClass$
|
|
8725
|
-
__decorateClass$
|
|
8726
|
-
__decorateClass$
|
|
8795
|
+
__decorateClass$o([observable], Listbox.prototype, "multiple", 2);
|
|
8796
|
+
__decorateClass$o([observable], Listbox.prototype, "options", 2);
|
|
8797
|
+
__decorateClass$o([observable], Listbox.prototype, "selectedIndex", 2);
|
|
8798
|
+
__decorateClass$o([observable], Listbox.prototype, "dropdown", 2);
|
|
8727
8799
|
|
|
8728
8800
|
const styles$l = css`
|
|
8729
8801
|
${display("inline-flex")}
|
|
@@ -8785,12 +8857,12 @@ const MenuItemRole = {
|
|
|
8785
8857
|
[MenuItemRole.menuitemradio]: "menuitemradio"
|
|
8786
8858
|
});
|
|
8787
8859
|
|
|
8788
|
-
var __defProp$
|
|
8789
|
-
var __getOwnPropDesc$
|
|
8790
|
-
var __decorateClass$
|
|
8791
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
8860
|
+
var __defProp$n = Object.defineProperty;
|
|
8861
|
+
var __getOwnPropDesc$n = Object.getOwnPropertyDescriptor;
|
|
8862
|
+
var __decorateClass$n = (decorators, target, key, kind) => {
|
|
8863
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$n(target, key) : target;
|
|
8792
8864
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8793
|
-
if (kind && result) __defProp$
|
|
8865
|
+
if (kind && result) __defProp$n(target, key, result);
|
|
8794
8866
|
return result;
|
|
8795
8867
|
};
|
|
8796
8868
|
class MenuItem extends FASTElement {
|
|
@@ -8979,18 +9051,18 @@ class MenuItem extends FASTElement {
|
|
|
8979
9051
|
this.elementInternals.ariaChecked = this.role !== MenuItemRole.menuitem ? `${!!this.checked}` : null;
|
|
8980
9052
|
}
|
|
8981
9053
|
}
|
|
8982
|
-
__decorateClass$
|
|
9054
|
+
__decorateClass$n([attr({
|
|
8983
9055
|
mode: "boolean"
|
|
8984
9056
|
})], MenuItem.prototype, "disabled", 2);
|
|
8985
|
-
__decorateClass$
|
|
8986
|
-
__decorateClass$
|
|
9057
|
+
__decorateClass$n([attr], MenuItem.prototype, "role", 2);
|
|
9058
|
+
__decorateClass$n([attr({
|
|
8987
9059
|
mode: "boolean"
|
|
8988
9060
|
})], MenuItem.prototype, "checked", 2);
|
|
8989
|
-
__decorateClass$
|
|
9061
|
+
__decorateClass$n([attr({
|
|
8990
9062
|
mode: "boolean"
|
|
8991
9063
|
})], MenuItem.prototype, "hidden", 2);
|
|
8992
|
-
__decorateClass$
|
|
8993
|
-
__decorateClass$
|
|
9064
|
+
__decorateClass$n([observable], MenuItem.prototype, "slottedSubmenu", 2);
|
|
9065
|
+
__decorateClass$n([observable], MenuItem.prototype, "submenu", 2);
|
|
8994
9066
|
applyMixins(MenuItem, StartEnd);
|
|
8995
9067
|
|
|
8996
9068
|
const styles$k = css`
|
|
@@ -9019,12 +9091,12 @@ const definition$k = MenuItem.compose({
|
|
|
9019
9091
|
|
|
9020
9092
|
definition$k.define(FluentDesignSystem.registry);
|
|
9021
9093
|
|
|
9022
|
-
var __defProp$
|
|
9023
|
-
var __getOwnPropDesc$
|
|
9024
|
-
var __decorateClass$
|
|
9025
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
9094
|
+
var __defProp$m = Object.defineProperty;
|
|
9095
|
+
var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
|
|
9096
|
+
var __decorateClass$m = (decorators, target, key, kind) => {
|
|
9097
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
|
|
9026
9098
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
9027
|
-
if (kind && result) __defProp$
|
|
9099
|
+
if (kind && result) __defProp$m(target, key, result);
|
|
9028
9100
|
return result;
|
|
9029
9101
|
};
|
|
9030
9102
|
const _MenuList = class _MenuList extends FASTElement {
|
|
@@ -9240,7 +9312,7 @@ const _MenuList = class _MenuList extends FASTElement {
|
|
|
9240
9312
|
}
|
|
9241
9313
|
};
|
|
9242
9314
|
_MenuList.focusableElementRoles = MenuItemRole;
|
|
9243
|
-
__decorateClass$
|
|
9315
|
+
__decorateClass$m([observable], _MenuList.prototype, "items", 2);
|
|
9244
9316
|
let MenuList = _MenuList;
|
|
9245
9317
|
|
|
9246
9318
|
const styles$j = css`
|
|
@@ -9261,12 +9333,12 @@ const definition$j = MenuList.compose({
|
|
|
9261
9333
|
|
|
9262
9334
|
definition$j.define(FluentDesignSystem.registry);
|
|
9263
9335
|
|
|
9264
|
-
var __defProp$
|
|
9265
|
-
var __getOwnPropDesc$
|
|
9266
|
-
var __decorateClass$
|
|
9267
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
9336
|
+
var __defProp$l = Object.defineProperty;
|
|
9337
|
+
var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
|
|
9338
|
+
var __decorateClass$l = (decorators, target, key, kind) => {
|
|
9339
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
|
|
9268
9340
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
9269
|
-
if (kind && result) __defProp$
|
|
9341
|
+
if (kind && result) __defProp$l(target, key, result);
|
|
9270
9342
|
return result;
|
|
9271
9343
|
};
|
|
9272
9344
|
class Menu extends FASTElement {
|
|
@@ -9546,28 +9618,28 @@ class Menu extends FASTElement {
|
|
|
9546
9618
|
}
|
|
9547
9619
|
}
|
|
9548
9620
|
}
|
|
9549
|
-
__decorateClass$
|
|
9621
|
+
__decorateClass$l([attr({
|
|
9550
9622
|
attribute: "open-on-hover",
|
|
9551
9623
|
mode: "boolean"
|
|
9552
9624
|
})], Menu.prototype, "openOnHover", 2);
|
|
9553
|
-
__decorateClass$
|
|
9625
|
+
__decorateClass$l([attr({
|
|
9554
9626
|
attribute: "open-on-context",
|
|
9555
9627
|
mode: "boolean"
|
|
9556
9628
|
})], Menu.prototype, "openOnContext", 2);
|
|
9557
|
-
__decorateClass$
|
|
9629
|
+
__decorateClass$l([attr({
|
|
9558
9630
|
attribute: "close-on-scroll",
|
|
9559
9631
|
mode: "boolean"
|
|
9560
9632
|
})], Menu.prototype, "closeOnScroll", 2);
|
|
9561
|
-
__decorateClass$
|
|
9633
|
+
__decorateClass$l([attr({
|
|
9562
9634
|
attribute: "persist-on-item-click",
|
|
9563
9635
|
mode: "boolean"
|
|
9564
9636
|
})], Menu.prototype, "persistOnItemClick", 2);
|
|
9565
|
-
__decorateClass$
|
|
9637
|
+
__decorateClass$l([attr({
|
|
9566
9638
|
mode: "boolean"
|
|
9567
9639
|
})], Menu.prototype, "split", 2);
|
|
9568
|
-
__decorateClass$
|
|
9569
|
-
__decorateClass$
|
|
9570
|
-
__decorateClass$
|
|
9640
|
+
__decorateClass$l([observable], Menu.prototype, "slottedMenuList", 2);
|
|
9641
|
+
__decorateClass$l([observable], Menu.prototype, "slottedTriggers", 2);
|
|
9642
|
+
__decorateClass$l([observable], Menu.prototype, "primaryAction", 2);
|
|
9571
9643
|
|
|
9572
9644
|
const styles$i = css`
|
|
9573
9645
|
${display("inline-block")}
|
|
@@ -9608,12 +9680,12 @@ const MessageBarIntent = {
|
|
|
9608
9680
|
info: "info"
|
|
9609
9681
|
};
|
|
9610
9682
|
|
|
9611
|
-
var __defProp$
|
|
9612
|
-
var __getOwnPropDesc$
|
|
9613
|
-
var __decorateClass$
|
|
9614
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
9683
|
+
var __defProp$k = Object.defineProperty;
|
|
9684
|
+
var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
|
|
9685
|
+
var __decorateClass$k = (decorators, target, key, kind) => {
|
|
9686
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
|
|
9615
9687
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
9616
|
-
if (kind && result) __defProp$
|
|
9688
|
+
if (kind && result) __defProp$k(target, key, result);
|
|
9617
9689
|
return result;
|
|
9618
9690
|
};
|
|
9619
9691
|
class MessageBar extends FASTElement {
|
|
@@ -9659,9 +9731,9 @@ class MessageBar extends FASTElement {
|
|
|
9659
9731
|
swapStates(this.elementInternals, prev, next, MessageBarIntent);
|
|
9660
9732
|
}
|
|
9661
9733
|
}
|
|
9662
|
-
__decorateClass$
|
|
9663
|
-
__decorateClass$
|
|
9664
|
-
__decorateClass$
|
|
9734
|
+
__decorateClass$k([attr], MessageBar.prototype, "shape", 2);
|
|
9735
|
+
__decorateClass$k([attr], MessageBar.prototype, "layout", 2);
|
|
9736
|
+
__decorateClass$k([attr], MessageBar.prototype, "intent", 2);
|
|
9665
9737
|
|
|
9666
9738
|
const styles$h = css`
|
|
9667
9739
|
: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'
|
|
@@ -9683,12 +9755,12 @@ const definition$h = MessageBar.compose({
|
|
|
9683
9755
|
|
|
9684
9756
|
definition$h.define(FluentDesignSystem.registry);
|
|
9685
9757
|
|
|
9686
|
-
var __defProp$
|
|
9687
|
-
var __getOwnPropDesc$
|
|
9688
|
-
var __decorateClass$
|
|
9689
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
9758
|
+
var __defProp$j = Object.defineProperty;
|
|
9759
|
+
var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
|
|
9760
|
+
var __decorateClass$j = (decorators, target, key, kind) => {
|
|
9761
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
|
|
9690
9762
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
9691
|
-
if (kind && result) __defProp$
|
|
9763
|
+
if (kind && result) __defProp$j(target, key, result);
|
|
9692
9764
|
return result;
|
|
9693
9765
|
};
|
|
9694
9766
|
class DropdownOption extends FASTElement {
|
|
@@ -9898,38 +9970,38 @@ class DropdownOption extends FASTElement {
|
|
|
9898
9970
|
* @public
|
|
9899
9971
|
*/
|
|
9900
9972
|
DropdownOption.formAssociated = true;
|
|
9901
|
-
__decorateClass$
|
|
9902
|
-
__decorateClass$
|
|
9973
|
+
__decorateClass$j([observable], DropdownOption.prototype, "active", 2);
|
|
9974
|
+
__decorateClass$j([attr({
|
|
9903
9975
|
attribute: "current-selected",
|
|
9904
9976
|
mode: "boolean"
|
|
9905
9977
|
})], DropdownOption.prototype, "currentSelected", 2);
|
|
9906
|
-
__decorateClass$
|
|
9978
|
+
__decorateClass$j([attr({
|
|
9907
9979
|
attribute: "selected",
|
|
9908
9980
|
mode: "boolean"
|
|
9909
9981
|
})], DropdownOption.prototype, "defaultSelected", 2);
|
|
9910
|
-
__decorateClass$
|
|
9911
|
-
__decorateClass$
|
|
9912
|
-
__decorateClass$
|
|
9982
|
+
__decorateClass$j([observable], DropdownOption.prototype, "descriptionSlot", 2);
|
|
9983
|
+
__decorateClass$j([observable], DropdownOption.prototype, "disabled", 2);
|
|
9984
|
+
__decorateClass$j([attr({
|
|
9913
9985
|
attribute: "disabled",
|
|
9914
9986
|
mode: "boolean"
|
|
9915
9987
|
})], DropdownOption.prototype, "disabledAttribute", 2);
|
|
9916
|
-
__decorateClass$
|
|
9988
|
+
__decorateClass$j([attr({
|
|
9917
9989
|
attribute: "form"
|
|
9918
9990
|
})], DropdownOption.prototype, "formAttribute", 2);
|
|
9919
|
-
__decorateClass$
|
|
9991
|
+
__decorateClass$j([attr({
|
|
9920
9992
|
mode: "boolean"
|
|
9921
9993
|
})], DropdownOption.prototype, "freeform", 2);
|
|
9922
|
-
__decorateClass$
|
|
9994
|
+
__decorateClass$j([attr({
|
|
9923
9995
|
attribute: "id"
|
|
9924
9996
|
})], DropdownOption.prototype, "id", 2);
|
|
9925
|
-
__decorateClass$
|
|
9997
|
+
__decorateClass$j([attr({
|
|
9926
9998
|
attribute: "value",
|
|
9927
9999
|
mode: "fromView"
|
|
9928
10000
|
})], DropdownOption.prototype, "initialValue", 2);
|
|
9929
|
-
__decorateClass$
|
|
9930
|
-
__decorateClass$
|
|
9931
|
-
__decorateClass$
|
|
9932
|
-
__decorateClass$
|
|
10001
|
+
__decorateClass$j([observable], DropdownOption.prototype, "multiple", 2);
|
|
10002
|
+
__decorateClass$j([attr], DropdownOption.prototype, "name", 2);
|
|
10003
|
+
__decorateClass$j([observable], DropdownOption.prototype, "start", 2);
|
|
10004
|
+
__decorateClass$j([attr({
|
|
9933
10005
|
attribute: "text",
|
|
9934
10006
|
mode: "fromView"
|
|
9935
10007
|
})], DropdownOption.prototype, "textAttribute", 2);
|
|
@@ -9986,12 +10058,12 @@ const ProgressBarValidationState = {
|
|
|
9986
10058
|
error: "error"
|
|
9987
10059
|
};
|
|
9988
10060
|
|
|
9989
|
-
var __defProp$
|
|
9990
|
-
var __getOwnPropDesc$
|
|
9991
|
-
var __decorateClass$
|
|
9992
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
10061
|
+
var __defProp$i = Object.defineProperty;
|
|
10062
|
+
var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
|
|
10063
|
+
var __decorateClass$i = (decorators, target, key, kind) => {
|
|
10064
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
|
|
9993
10065
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
9994
|
-
if (kind && result) __defProp$
|
|
10066
|
+
if (kind && result) __defProp$i(target, key, result);
|
|
9995
10067
|
return result;
|
|
9996
10068
|
};
|
|
9997
10069
|
class BaseProgressBar extends FASTElement {
|
|
@@ -10049,19 +10121,28 @@ class BaseProgressBar extends FASTElement {
|
|
|
10049
10121
|
return range === 0 ? 0 : Math.fround((value - min) / range * 100);
|
|
10050
10122
|
}
|
|
10051
10123
|
}
|
|
10052
|
-
__decorateClass$
|
|
10124
|
+
__decorateClass$i([attr({
|
|
10053
10125
|
attribute: "validation-state"
|
|
10054
10126
|
})], BaseProgressBar.prototype, "validationState", 2);
|
|
10055
|
-
__decorateClass$
|
|
10127
|
+
__decorateClass$i([attr({
|
|
10056
10128
|
converter: nullableNumberConverter
|
|
10057
10129
|
})], BaseProgressBar.prototype, "value", 2);
|
|
10058
|
-
__decorateClass$
|
|
10130
|
+
__decorateClass$i([attr({
|
|
10059
10131
|
converter: nullableNumberConverter
|
|
10060
10132
|
})], BaseProgressBar.prototype, "min", 2);
|
|
10061
|
-
__decorateClass$
|
|
10133
|
+
__decorateClass$i([attr({
|
|
10062
10134
|
converter: nullableNumberConverter
|
|
10063
10135
|
})], BaseProgressBar.prototype, "max", 2);
|
|
10064
|
-
__decorateClass$
|
|
10136
|
+
__decorateClass$i([volatile], BaseProgressBar.prototype, "percentComplete", 1);
|
|
10137
|
+
|
|
10138
|
+
var __defProp$h = Object.defineProperty;
|
|
10139
|
+
var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
|
|
10140
|
+
var __decorateClass$h = (decorators, target, key, kind) => {
|
|
10141
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
|
|
10142
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
10143
|
+
if (kind && result) __defProp$h(target, key, result);
|
|
10144
|
+
return result;
|
|
10145
|
+
};
|
|
10065
10146
|
class ProgressBar extends BaseProgressBar {
|
|
10066
10147
|
/**
|
|
10067
10148
|
* Handles changes to thickness attribute custom states
|
|
@@ -10080,8 +10161,8 @@ class ProgressBar extends BaseProgressBar {
|
|
|
10080
10161
|
swapStates(this.elementInternals, prev, next, ProgressBarShape);
|
|
10081
10162
|
}
|
|
10082
10163
|
}
|
|
10083
|
-
__decorateClass$
|
|
10084
|
-
__decorateClass$
|
|
10164
|
+
__decorateClass$h([attr], ProgressBar.prototype, "thickness", 2);
|
|
10165
|
+
__decorateClass$h([attr], ProgressBar.prototype, "shape", 2);
|
|
10085
10166
|
|
|
10086
10167
|
const styles$f = css`
|
|
10087
10168
|
${display("block")}
|
|
@@ -10186,13 +10267,13 @@ function getRootActiveElement(element) {
|
|
|
10186
10267
|
}
|
|
10187
10268
|
|
|
10188
10269
|
const RadioGroupOrientation = Orientation;
|
|
10189
|
-
|
|
10190
|
-
var __defProp$
|
|
10191
|
-
var __getOwnPropDesc$
|
|
10192
|
-
var __decorateClass$
|
|
10193
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
10270
|
+
|
|
10271
|
+
var __defProp$g = Object.defineProperty;
|
|
10272
|
+
var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
|
|
10273
|
+
var __decorateClass$g = (decorators, target, key, kind) => {
|
|
10274
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
|
|
10194
10275
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
10195
|
-
if (kind && result) __defProp$
|
|
10276
|
+
if (kind && result) __defProp$g(target, key, result);
|
|
10196
10277
|
return result;
|
|
10197
10278
|
};
|
|
10198
10279
|
class RadioGroup extends FASTElement {
|
|
@@ -10621,19 +10702,19 @@ class RadioGroup extends FASTElement {
|
|
|
10621
10702
|
* @public
|
|
10622
10703
|
*/
|
|
10623
10704
|
RadioGroup.formAssociated = true;
|
|
10624
|
-
__decorateClass$
|
|
10625
|
-
__decorateClass$
|
|
10705
|
+
__decorateClass$g([observable], RadioGroup.prototype, "checkedIndex", 2);
|
|
10706
|
+
__decorateClass$g([attr({
|
|
10626
10707
|
attribute: "disabled",
|
|
10627
10708
|
mode: "boolean"
|
|
10628
10709
|
})], RadioGroup.prototype, "disabled", 2);
|
|
10629
|
-
__decorateClass$
|
|
10710
|
+
__decorateClass$g([attr({
|
|
10630
10711
|
attribute: "value",
|
|
10631
10712
|
mode: "fromView"
|
|
10632
10713
|
})], RadioGroup.prototype, "initialValue", 2);
|
|
10633
|
-
__decorateClass$
|
|
10634
|
-
__decorateClass$
|
|
10635
|
-
__decorateClass$
|
|
10636
|
-
__decorateClass$
|
|
10714
|
+
__decorateClass$g([attr], RadioGroup.prototype, "name", 2);
|
|
10715
|
+
__decorateClass$g([attr], RadioGroup.prototype, "orientation", 2);
|
|
10716
|
+
__decorateClass$g([observable], RadioGroup.prototype, "radios", 2);
|
|
10717
|
+
__decorateClass$g([attr({
|
|
10637
10718
|
mode: "boolean"
|
|
10638
10719
|
})], RadioGroup.prototype, "required", 2);
|
|
10639
10720
|
|
|
@@ -10680,23 +10761,12 @@ const definition$d = Radio.compose({
|
|
|
10680
10761
|
|
|
10681
10762
|
definition$d.define(FluentDesignSystem.registry);
|
|
10682
10763
|
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
};
|
|
10688
|
-
const RatingDisplaySize = {
|
|
10689
|
-
small: "small",
|
|
10690
|
-
medium: "medium",
|
|
10691
|
-
large: "large"
|
|
10692
|
-
};
|
|
10693
|
-
|
|
10694
|
-
var __defProp$a = Object.defineProperty;
|
|
10695
|
-
var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
|
|
10696
|
-
var __decorateClass$a = (decorators, target, key, kind) => {
|
|
10697
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
|
|
10764
|
+
var __defProp$f = Object.defineProperty;
|
|
10765
|
+
var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
|
|
10766
|
+
var __decorateClass$f = (decorators, target, key, kind) => {
|
|
10767
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
|
|
10698
10768
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
10699
|
-
if (kind && result) __defProp$
|
|
10769
|
+
if (kind && result) __defProp$f(target, key, result);
|
|
10700
10770
|
return result;
|
|
10701
10771
|
};
|
|
10702
10772
|
class BaseRatingDisplay extends FASTElement {
|
|
@@ -10762,20 +10832,40 @@ class BaseRatingDisplay extends FASTElement {
|
|
|
10762
10832
|
return htmlString;
|
|
10763
10833
|
}
|
|
10764
10834
|
}
|
|
10765
|
-
__decorateClass$
|
|
10835
|
+
__decorateClass$f([attr({
|
|
10766
10836
|
converter: nullableNumberConverter
|
|
10767
10837
|
})], BaseRatingDisplay.prototype, "count", 2);
|
|
10768
|
-
__decorateClass$
|
|
10838
|
+
__decorateClass$f([attr({
|
|
10769
10839
|
attribute: "icon-view-box"
|
|
10770
10840
|
})], BaseRatingDisplay.prototype, "iconViewBox", 2);
|
|
10771
|
-
__decorateClass$
|
|
10841
|
+
__decorateClass$f([attr({
|
|
10772
10842
|
converter: nullableNumberConverter
|
|
10773
10843
|
})], BaseRatingDisplay.prototype, "max", 2);
|
|
10774
|
-
__decorateClass$
|
|
10844
|
+
__decorateClass$f([attr({
|
|
10775
10845
|
converter: nullableNumberConverter
|
|
10776
10846
|
})], BaseRatingDisplay.prototype, "value", 2);
|
|
10777
|
-
__decorateClass$
|
|
10778
|
-
__decorateClass$
|
|
10847
|
+
__decorateClass$f([observable], BaseRatingDisplay.prototype, "slottedIcon", 2);
|
|
10848
|
+
__decorateClass$f([observable], BaseRatingDisplay.prototype, "customIcon", 2);
|
|
10849
|
+
|
|
10850
|
+
const RatingDisplayColor = {
|
|
10851
|
+
neutral: "neutral",
|
|
10852
|
+
brand: "brand",
|
|
10853
|
+
marigold: "marigold"
|
|
10854
|
+
};
|
|
10855
|
+
const RatingDisplaySize = {
|
|
10856
|
+
small: "small",
|
|
10857
|
+
medium: "medium",
|
|
10858
|
+
large: "large"
|
|
10859
|
+
};
|
|
10860
|
+
|
|
10861
|
+
var __defProp$e = Object.defineProperty;
|
|
10862
|
+
var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
|
|
10863
|
+
var __decorateClass$e = (decorators, target, key, kind) => {
|
|
10864
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
|
|
10865
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
10866
|
+
if (kind && result) __defProp$e(target, key, result);
|
|
10867
|
+
return result;
|
|
10868
|
+
};
|
|
10779
10869
|
class RatingDisplay extends BaseRatingDisplay {
|
|
10780
10870
|
constructor() {
|
|
10781
10871
|
super(...arguments);
|
|
@@ -10816,9 +10906,9 @@ class RatingDisplay extends BaseRatingDisplay {
|
|
|
10816
10906
|
return (this.compact ? 1 : this.max ?? 5) * 2;
|
|
10817
10907
|
}
|
|
10818
10908
|
}
|
|
10819
|
-
__decorateClass$
|
|
10820
|
-
__decorateClass$
|
|
10821
|
-
__decorateClass$
|
|
10909
|
+
__decorateClass$e([attr], RatingDisplay.prototype, "color", 2);
|
|
10910
|
+
__decorateClass$e([attr], RatingDisplay.prototype, "size", 2);
|
|
10911
|
+
__decorateClass$e([attr({
|
|
10822
10912
|
mode: "boolean"
|
|
10823
10913
|
})], RatingDisplay.prototype, "compact", 2);
|
|
10824
10914
|
|
|
@@ -10862,12 +10952,12 @@ function convertPixelToPercent(pixelPos, minPosition, maxPosition, direction) {
|
|
|
10862
10952
|
return pct;
|
|
10863
10953
|
}
|
|
10864
10954
|
|
|
10865
|
-
var __defProp$
|
|
10866
|
-
var __getOwnPropDesc$
|
|
10867
|
-
var __decorateClass$
|
|
10868
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
10955
|
+
var __defProp$d = Object.defineProperty;
|
|
10956
|
+
var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
|
|
10957
|
+
var __decorateClass$d = (decorators, target, key, kind) => {
|
|
10958
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
|
|
10869
10959
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
10870
|
-
if (kind && result) __defProp$
|
|
10960
|
+
if (kind && result) __defProp$d(target, key, result);
|
|
10871
10961
|
return result;
|
|
10872
10962
|
};
|
|
10873
10963
|
class Slider extends FASTElement {
|
|
@@ -11392,34 +11482,34 @@ class Slider extends FASTElement {
|
|
|
11392
11482
|
* @public
|
|
11393
11483
|
*/
|
|
11394
11484
|
Slider.formAssociated = true;
|
|
11395
|
-
__decorateClass$
|
|
11396
|
-
__decorateClass$
|
|
11485
|
+
__decorateClass$d([attr], Slider.prototype, "size", 2);
|
|
11486
|
+
__decorateClass$d([attr({
|
|
11397
11487
|
attribute: "value",
|
|
11398
11488
|
mode: "fromView"
|
|
11399
11489
|
})], Slider.prototype, "initialValue", 2);
|
|
11400
|
-
__decorateClass$
|
|
11401
|
-
__decorateClass$
|
|
11402
|
-
__decorateClass$
|
|
11403
|
-
__decorateClass$
|
|
11404
|
-
__decorateClass$
|
|
11405
|
-
__decorateClass$
|
|
11406
|
-
__decorateClass$
|
|
11407
|
-
__decorateClass$
|
|
11408
|
-
__decorateClass$
|
|
11409
|
-
__decorateClass$
|
|
11490
|
+
__decorateClass$d([observable], Slider.prototype, "direction", 2);
|
|
11491
|
+
__decorateClass$d([observable], Slider.prototype, "isDragging", 2);
|
|
11492
|
+
__decorateClass$d([observable], Slider.prototype, "position", 2);
|
|
11493
|
+
__decorateClass$d([observable], Slider.prototype, "trackWidth", 2);
|
|
11494
|
+
__decorateClass$d([observable], Slider.prototype, "trackMinWidth", 2);
|
|
11495
|
+
__decorateClass$d([observable], Slider.prototype, "trackHeight", 2);
|
|
11496
|
+
__decorateClass$d([observable], Slider.prototype, "trackLeft", 2);
|
|
11497
|
+
__decorateClass$d([observable], Slider.prototype, "trackMinHeight", 2);
|
|
11498
|
+
__decorateClass$d([observable], Slider.prototype, "valueTextFormatter", 2);
|
|
11499
|
+
__decorateClass$d([attr({
|
|
11410
11500
|
mode: "boolean"
|
|
11411
11501
|
})], Slider.prototype, "disabled", 2);
|
|
11412
|
-
__decorateClass$
|
|
11502
|
+
__decorateClass$d([attr({
|
|
11413
11503
|
converter: numberLikeStringConverter
|
|
11414
11504
|
})], Slider.prototype, "min", 2);
|
|
11415
|
-
__decorateClass$
|
|
11505
|
+
__decorateClass$d([attr({
|
|
11416
11506
|
converter: numberLikeStringConverter
|
|
11417
11507
|
})], Slider.prototype, "max", 2);
|
|
11418
|
-
__decorateClass$
|
|
11508
|
+
__decorateClass$d([attr({
|
|
11419
11509
|
converter: numberLikeStringConverter
|
|
11420
11510
|
})], Slider.prototype, "step", 2);
|
|
11421
|
-
__decorateClass$
|
|
11422
|
-
__decorateClass$
|
|
11511
|
+
__decorateClass$d([attr], Slider.prototype, "orientation", 2);
|
|
11512
|
+
__decorateClass$d([attr], Slider.prototype, "mode", 2);
|
|
11423
11513
|
|
|
11424
11514
|
const styles$b = css`
|
|
11425
11515
|
${display("inline-grid")}
|
|
@@ -11446,6 +11536,19 @@ const definition$b = Slider.compose({
|
|
|
11446
11536
|
|
|
11447
11537
|
definition$b.define(FluentDesignSystem.registry);
|
|
11448
11538
|
|
|
11539
|
+
class BaseSpinner extends FASTElement {
|
|
11540
|
+
constructor() {
|
|
11541
|
+
super();
|
|
11542
|
+
/**
|
|
11543
|
+
* The internal {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
11544
|
+
*
|
|
11545
|
+
* @internal
|
|
11546
|
+
*/
|
|
11547
|
+
this.elementInternals = this.attachInternals();
|
|
11548
|
+
this.elementInternals.role = "progressbar";
|
|
11549
|
+
}
|
|
11550
|
+
}
|
|
11551
|
+
|
|
11449
11552
|
const SpinnerAppearance = {
|
|
11450
11553
|
primary: "primary",
|
|
11451
11554
|
inverted: "inverted"
|
|
@@ -11460,26 +11563,14 @@ const SpinnerSize = {
|
|
|
11460
11563
|
huge: "huge"
|
|
11461
11564
|
};
|
|
11462
11565
|
|
|
11463
|
-
var __defProp$
|
|
11464
|
-
var __getOwnPropDesc$
|
|
11465
|
-
var __decorateClass$
|
|
11466
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
11566
|
+
var __defProp$c = Object.defineProperty;
|
|
11567
|
+
var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
|
|
11568
|
+
var __decorateClass$c = (decorators, target, key, kind) => {
|
|
11569
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
|
|
11467
11570
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
11468
|
-
if (kind && result) __defProp$
|
|
11571
|
+
if (kind && result) __defProp$c(target, key, result);
|
|
11469
11572
|
return result;
|
|
11470
11573
|
};
|
|
11471
|
-
class BaseSpinner extends FASTElement {
|
|
11472
|
-
constructor() {
|
|
11473
|
-
super();
|
|
11474
|
-
/**
|
|
11475
|
-
* The internal {@link https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
|
|
11476
|
-
*
|
|
11477
|
-
* @internal
|
|
11478
|
-
*/
|
|
11479
|
-
this.elementInternals = this.attachInternals();
|
|
11480
|
-
this.elementInternals.role = "progressbar";
|
|
11481
|
-
}
|
|
11482
|
-
}
|
|
11483
11574
|
class Spinner extends BaseSpinner {
|
|
11484
11575
|
/**
|
|
11485
11576
|
* Handles changes to size attribute custom states
|
|
@@ -11498,8 +11589,8 @@ class Spinner extends BaseSpinner {
|
|
|
11498
11589
|
swapStates(this.elementInternals, prev, next, SpinnerAppearance);
|
|
11499
11590
|
}
|
|
11500
11591
|
}
|
|
11501
|
-
__decorateClass$
|
|
11502
|
-
__decorateClass$
|
|
11592
|
+
__decorateClass$c([attr], Spinner.prototype, "size", 2);
|
|
11593
|
+
__decorateClass$c([attr], Spinner.prototype, "appearance", 2);
|
|
11503
11594
|
|
|
11504
11595
|
const styles$a = css`
|
|
11505
11596
|
${display("inline-flex")}
|
|
@@ -11565,12 +11656,12 @@ const definition$8 = TabPanel.compose({
|
|
|
11565
11656
|
|
|
11566
11657
|
definition$8.define(FluentDesignSystem.registry);
|
|
11567
11658
|
|
|
11568
|
-
var __defProp$
|
|
11569
|
-
var __getOwnPropDesc$
|
|
11570
|
-
var __decorateClass$
|
|
11571
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
11659
|
+
var __defProp$b = Object.defineProperty;
|
|
11660
|
+
var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
|
|
11661
|
+
var __decorateClass$b = (decorators, target, key, kind) => {
|
|
11662
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
|
|
11572
11663
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
11573
|
-
if (kind && result) __defProp$
|
|
11664
|
+
if (kind && result) __defProp$b(target, key, result);
|
|
11574
11665
|
return result;
|
|
11575
11666
|
};
|
|
11576
11667
|
class Tab extends FASTElement {
|
|
@@ -11584,7 +11675,7 @@ class Tab extends FASTElement {
|
|
|
11584
11675
|
this.$fastController.addStyles(this.styles);
|
|
11585
11676
|
}
|
|
11586
11677
|
}
|
|
11587
|
-
__decorateClass$
|
|
11678
|
+
__decorateClass$b([attr({
|
|
11588
11679
|
mode: "boolean"
|
|
11589
11680
|
})], Tab.prototype, "disabled", 2);
|
|
11590
11681
|
applyMixins(Tab, StartEnd);
|
|
@@ -11614,12 +11705,12 @@ const TabsAppearance = {
|
|
|
11614
11705
|
};
|
|
11615
11706
|
const TabsOrientation = Orientation;
|
|
11616
11707
|
|
|
11617
|
-
var __defProp$
|
|
11618
|
-
var __getOwnPropDesc$
|
|
11619
|
-
var __decorateClass$
|
|
11620
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
11708
|
+
var __defProp$a = Object.defineProperty;
|
|
11709
|
+
var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
|
|
11710
|
+
var __decorateClass$a = (decorators, target, key, kind) => {
|
|
11711
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
|
|
11621
11712
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
11622
|
-
if (kind && result) __defProp$
|
|
11713
|
+
if (kind && result) __defProp$a(target, key, result);
|
|
11623
11714
|
return result;
|
|
11624
11715
|
};
|
|
11625
11716
|
class BaseTabs extends FASTElement {
|
|
@@ -11863,10 +11954,19 @@ class BaseTabs extends FASTElement {
|
|
|
11863
11954
|
this.activeTabIndex = this.getActiveIndex();
|
|
11864
11955
|
}
|
|
11865
11956
|
}
|
|
11866
|
-
__decorateClass$
|
|
11867
|
-
__decorateClass$
|
|
11868
|
-
__decorateClass$
|
|
11869
|
-
__decorateClass$
|
|
11957
|
+
__decorateClass$a([attr], BaseTabs.prototype, "orientation", 2);
|
|
11958
|
+
__decorateClass$a([attr], BaseTabs.prototype, "activeid", 2);
|
|
11959
|
+
__decorateClass$a([observable], BaseTabs.prototype, "tabs", 2);
|
|
11960
|
+
__decorateClass$a([observable], BaseTabs.prototype, "tabpanels", 2);
|
|
11961
|
+
|
|
11962
|
+
var __defProp$9 = Object.defineProperty;
|
|
11963
|
+
var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
|
|
11964
|
+
var __decorateClass$9 = (decorators, target, key, kind) => {
|
|
11965
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
|
|
11966
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
11967
|
+
if (kind && result) __defProp$9(target, key, result);
|
|
11968
|
+
return result;
|
|
11969
|
+
};
|
|
11870
11970
|
class Tabs extends BaseTabs {
|
|
11871
11971
|
constructor() {
|
|
11872
11972
|
super(...arguments);
|
|
@@ -11998,11 +12098,11 @@ class Tabs extends BaseTabs {
|
|
|
11998
12098
|
this.setTabData();
|
|
11999
12099
|
}
|
|
12000
12100
|
}
|
|
12001
|
-
__decorateClass$
|
|
12002
|
-
__decorateClass$
|
|
12101
|
+
__decorateClass$9([attr], Tabs.prototype, "appearance", 2);
|
|
12102
|
+
__decorateClass$9([attr({
|
|
12003
12103
|
mode: "boolean"
|
|
12004
12104
|
})], Tabs.prototype, "disabled", 2);
|
|
12005
|
-
__decorateClass$
|
|
12105
|
+
__decorateClass$9([attr], Tabs.prototype, "size", 2);
|
|
12006
12106
|
applyMixins(Tabs, StartEnd);
|
|
12007
12107
|
|
|
12008
12108
|
function tabsTemplate(options = {}) {
|
|
@@ -12044,12 +12144,12 @@ const TablistSize = {
|
|
|
12044
12144
|
};
|
|
12045
12145
|
const TablistOrientation = Orientation;
|
|
12046
12146
|
|
|
12047
|
-
var __defProp$
|
|
12048
|
-
var __getOwnPropDesc$
|
|
12049
|
-
var __decorateClass$
|
|
12050
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
12147
|
+
var __defProp$8 = Object.defineProperty;
|
|
12148
|
+
var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
|
|
12149
|
+
var __decorateClass$8 = (decorators, target, key, kind) => {
|
|
12150
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
|
|
12051
12151
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
12052
|
-
if (kind && result) __defProp$
|
|
12152
|
+
if (kind && result) __defProp$8(target, key, result);
|
|
12053
12153
|
return result;
|
|
12054
12154
|
};
|
|
12055
12155
|
class BaseTablist extends FASTElement {
|
|
@@ -12065,6 +12165,7 @@ class BaseTablist extends FASTElement {
|
|
|
12065
12165
|
this.orientation = TablistOrientation.horizontal;
|
|
12066
12166
|
this.prevActiveTabIndex = 0;
|
|
12067
12167
|
this.activeTabIndex = 0;
|
|
12168
|
+
this.tabPanelMap = /* @__PURE__ */new WeakMap();
|
|
12068
12169
|
this.change = () => {
|
|
12069
12170
|
this.$emit("change", this.activetab);
|
|
12070
12171
|
};
|
|
@@ -12145,6 +12246,19 @@ class BaseTablist extends FASTElement {
|
|
|
12145
12246
|
if (this.$fastController.isConnected && this.tabs.length > 0) {
|
|
12146
12247
|
this.prevActiveTabIndex = this.tabs.findIndex(item => item.id === oldValue);
|
|
12147
12248
|
this.setTabs();
|
|
12249
|
+
if (oldValue) {
|
|
12250
|
+
const prevActiveTab = this.tabs[this.prevActiveTabIndex];
|
|
12251
|
+
const prevActivePanel = this.tabPanelMap.get(prevActiveTab);
|
|
12252
|
+
if (prevActivePanel) {
|
|
12253
|
+
prevActivePanel.hidden = true;
|
|
12254
|
+
}
|
|
12255
|
+
}
|
|
12256
|
+
if (newValue && this.activetab) {
|
|
12257
|
+
const activePanel = this.tabPanelMap.get(this.activetab);
|
|
12258
|
+
if (activePanel) {
|
|
12259
|
+
activePanel.hidden = false;
|
|
12260
|
+
}
|
|
12261
|
+
}
|
|
12148
12262
|
}
|
|
12149
12263
|
}
|
|
12150
12264
|
/**
|
|
@@ -12154,6 +12268,16 @@ class BaseTablist extends FASTElement {
|
|
|
12154
12268
|
if (this.$fastController.isConnected && this.tabs.length > 0) {
|
|
12155
12269
|
this.tabIds = this.getTabIds();
|
|
12156
12270
|
this.setTabs();
|
|
12271
|
+
for (const tab of this.tabs) {
|
|
12272
|
+
const ariaControls = tab.getAttribute("aria-controls") ?? "";
|
|
12273
|
+
const rootNode = this.getRootNode();
|
|
12274
|
+
const panel = rootNode.getElementById(ariaControls);
|
|
12275
|
+
if (ariaControls && panel) {
|
|
12276
|
+
panel.role ?? (panel.role = "tabpanel");
|
|
12277
|
+
panel.hidden = this.activeid !== tab.id;
|
|
12278
|
+
this.tabPanelMap.set(tab, panel);
|
|
12279
|
+
}
|
|
12280
|
+
}
|
|
12157
12281
|
}
|
|
12158
12282
|
}
|
|
12159
12283
|
getActiveIndex() {
|
|
@@ -12238,12 +12362,21 @@ class BaseTablist extends FASTElement {
|
|
|
12238
12362
|
this.activeTabIndex = this.getActiveIndex();
|
|
12239
12363
|
}
|
|
12240
12364
|
}
|
|
12241
|
-
__decorateClass$
|
|
12365
|
+
__decorateClass$8([attr({
|
|
12242
12366
|
mode: "boolean"
|
|
12243
12367
|
})], BaseTablist.prototype, "disabled", 2);
|
|
12244
|
-
__decorateClass$
|
|
12245
|
-
__decorateClass$
|
|
12246
|
-
__decorateClass$
|
|
12368
|
+
__decorateClass$8([attr], BaseTablist.prototype, "orientation", 2);
|
|
12369
|
+
__decorateClass$8([attr], BaseTablist.prototype, "activeid", 2);
|
|
12370
|
+
__decorateClass$8([observable], BaseTablist.prototype, "tabs", 2);
|
|
12371
|
+
|
|
12372
|
+
var __defProp$7 = Object.defineProperty;
|
|
12373
|
+
var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
|
|
12374
|
+
var __decorateClass$7 = (decorators, target, key, kind) => {
|
|
12375
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
|
|
12376
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
12377
|
+
if (kind && result) __defProp$7(target, key, result);
|
|
12378
|
+
return result;
|
|
12379
|
+
};
|
|
12247
12380
|
class Tablist extends BaseTablist {
|
|
12248
12381
|
constructor() {
|
|
12249
12382
|
super(...arguments);
|
|
@@ -12395,8 +12528,8 @@ class Tablist extends BaseTablist {
|
|
|
12395
12528
|
}
|
|
12396
12529
|
}
|
|
12397
12530
|
}
|
|
12398
|
-
__decorateClass$
|
|
12399
|
-
__decorateClass$
|
|
12531
|
+
__decorateClass$7([attr], Tablist.prototype, "appearance", 2);
|
|
12532
|
+
__decorateClass$7([attr], Tablist.prototype, "size", 2);
|
|
12400
12533
|
|
|
12401
12534
|
const template$5 = html`<template role="tablist"><slot name="tab" ${slotted("tabs")}></slot></template>`;
|
|
12402
12535
|
|
|
@@ -12431,12 +12564,12 @@ const TextAreaResize = {
|
|
|
12431
12564
|
vertical: "vertical"
|
|
12432
12565
|
};
|
|
12433
12566
|
|
|
12434
|
-
var __defProp$
|
|
12435
|
-
var __getOwnPropDesc$
|
|
12436
|
-
var __decorateClass$
|
|
12437
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
12567
|
+
var __defProp$6 = Object.defineProperty;
|
|
12568
|
+
var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
|
|
12569
|
+
var __decorateClass$6 = (decorators, target, key, kind) => {
|
|
12570
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
|
|
12438
12571
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
12439
|
-
if (kind && result) __defProp$
|
|
12572
|
+
if (kind && result) __defProp$6(target, key, result);
|
|
12440
12573
|
return result;
|
|
12441
12574
|
};
|
|
12442
12575
|
class BaseTextArea extends FASTElement {
|
|
@@ -12805,49 +12938,58 @@ class BaseTextArea extends FASTElement {
|
|
|
12805
12938
|
* @public
|
|
12806
12939
|
*/
|
|
12807
12940
|
BaseTextArea.formAssociated = true;
|
|
12808
|
-
__decorateClass$
|
|
12809
|
-
__decorateClass$
|
|
12810
|
-
__decorateClass$
|
|
12811
|
-
__decorateClass$
|
|
12941
|
+
__decorateClass$6([observable], BaseTextArea.prototype, "defaultSlottedNodes", 2);
|
|
12942
|
+
__decorateClass$6([observable], BaseTextArea.prototype, "labelSlottedNodes", 2);
|
|
12943
|
+
__decorateClass$6([attr], BaseTextArea.prototype, "autocomplete", 2);
|
|
12944
|
+
__decorateClass$6([attr({
|
|
12812
12945
|
attribute: "auto-resize",
|
|
12813
12946
|
mode: "boolean"
|
|
12814
12947
|
})], BaseTextArea.prototype, "autoResize", 2);
|
|
12815
|
-
__decorateClass$
|
|
12948
|
+
__decorateClass$6([attr({
|
|
12816
12949
|
attribute: "dirname"
|
|
12817
12950
|
})], BaseTextArea.prototype, "dirName", 2);
|
|
12818
|
-
__decorateClass$
|
|
12951
|
+
__decorateClass$6([attr({
|
|
12819
12952
|
mode: "boolean"
|
|
12820
12953
|
})], BaseTextArea.prototype, "disabled", 2);
|
|
12821
|
-
__decorateClass$
|
|
12954
|
+
__decorateClass$6([attr({
|
|
12822
12955
|
attribute: "display-shadow",
|
|
12823
12956
|
mode: "boolean"
|
|
12824
12957
|
})], BaseTextArea.prototype, "displayShadow", 2);
|
|
12825
|
-
__decorateClass$
|
|
12958
|
+
__decorateClass$6([attr({
|
|
12826
12959
|
attribute: "form"
|
|
12827
12960
|
})], BaseTextArea.prototype, "initialForm", 2);
|
|
12828
|
-
__decorateClass$
|
|
12961
|
+
__decorateClass$6([attr({
|
|
12829
12962
|
attribute: "maxlength",
|
|
12830
12963
|
converter: nullableNumberConverter
|
|
12831
12964
|
})], BaseTextArea.prototype, "maxLength", 2);
|
|
12832
|
-
__decorateClass$
|
|
12965
|
+
__decorateClass$6([attr({
|
|
12833
12966
|
attribute: "minlength",
|
|
12834
12967
|
converter: nullableNumberConverter
|
|
12835
12968
|
})], BaseTextArea.prototype, "minLength", 2);
|
|
12836
|
-
__decorateClass$
|
|
12837
|
-
__decorateClass$
|
|
12838
|
-
__decorateClass$
|
|
12969
|
+
__decorateClass$6([attr], BaseTextArea.prototype, "name", 2);
|
|
12970
|
+
__decorateClass$6([attr], BaseTextArea.prototype, "placeholder", 2);
|
|
12971
|
+
__decorateClass$6([attr({
|
|
12839
12972
|
attribute: "readonly",
|
|
12840
12973
|
mode: "boolean"
|
|
12841
12974
|
})], BaseTextArea.prototype, "readOnly", 2);
|
|
12842
|
-
__decorateClass$
|
|
12975
|
+
__decorateClass$6([attr({
|
|
12843
12976
|
mode: "boolean"
|
|
12844
12977
|
})], BaseTextArea.prototype, "required", 2);
|
|
12845
|
-
__decorateClass$
|
|
12978
|
+
__decorateClass$6([attr({
|
|
12846
12979
|
mode: "fromView"
|
|
12847
12980
|
})], BaseTextArea.prototype, "resize", 2);
|
|
12848
|
-
__decorateClass$
|
|
12981
|
+
__decorateClass$6([attr({
|
|
12849
12982
|
mode: "boolean"
|
|
12850
12983
|
})], BaseTextArea.prototype, "spellcheck", 2);
|
|
12984
|
+
|
|
12985
|
+
var __defProp$5 = Object.defineProperty;
|
|
12986
|
+
var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
|
|
12987
|
+
var __decorateClass$5 = (decorators, target, key, kind) => {
|
|
12988
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;
|
|
12989
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
12990
|
+
if (kind && result) __defProp$5(target, key, result);
|
|
12991
|
+
return result;
|
|
12992
|
+
};
|
|
12851
12993
|
class TextArea extends BaseTextArea {
|
|
12852
12994
|
constructor() {
|
|
12853
12995
|
super(...arguments);
|
|
@@ -12913,13 +13055,13 @@ class TextArea extends BaseTextArea {
|
|
|
12913
13055
|
toggleState(this.elementInternals, "display-shadow", this.displayShadow && TextAreaAppearancesForDisplayShadow.includes(this.appearance));
|
|
12914
13056
|
}
|
|
12915
13057
|
}
|
|
12916
|
-
__decorateClass$
|
|
13058
|
+
__decorateClass$5([attr({
|
|
12917
13059
|
mode: "fromView"
|
|
12918
13060
|
})], TextArea.prototype, "appearance", 2);
|
|
12919
|
-
__decorateClass$
|
|
13061
|
+
__decorateClass$5([attr({
|
|
12920
13062
|
mode: "boolean"
|
|
12921
13063
|
})], TextArea.prototype, "block", 2);
|
|
12922
|
-
__decorateClass$
|
|
13064
|
+
__decorateClass$5([attr], TextArea.prototype, "size", 2);
|
|
12923
13065
|
|
|
12924
13066
|
const styles$4 = css`
|
|
12925
13067
|
${display("inline-block")}
|
|
@@ -12969,12 +13111,12 @@ const TextInputType = {
|
|
|
12969
13111
|
};
|
|
12970
13112
|
const ImplicitSubmissionBlockingTypes = ["date", "datetime-local", "email", "month", "number", "password", "search", "tel", "text", "time", "url", "week"];
|
|
12971
13113
|
|
|
12972
|
-
var __defProp$
|
|
12973
|
-
var __getOwnPropDesc$
|
|
12974
|
-
var __decorateClass$
|
|
12975
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
13114
|
+
var __defProp$4 = Object.defineProperty;
|
|
13115
|
+
var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
|
|
13116
|
+
var __decorateClass$4 = (decorators, target, key, kind) => {
|
|
13117
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;
|
|
12976
13118
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
12977
|
-
if (kind && result) __defProp$
|
|
13119
|
+
if (kind && result) __defProp$4(target, key, result);
|
|
12978
13120
|
return result;
|
|
12979
13121
|
};
|
|
12980
13122
|
class BaseTextInput extends FASTElement {
|
|
@@ -13295,56 +13437,65 @@ class BaseTextInput extends FASTElement {
|
|
|
13295
13437
|
* @public
|
|
13296
13438
|
*/
|
|
13297
13439
|
BaseTextInput.formAssociated = true;
|
|
13298
|
-
__decorateClass$
|
|
13299
|
-
__decorateClass$
|
|
13440
|
+
__decorateClass$4([attr], BaseTextInput.prototype, "autocomplete", 2);
|
|
13441
|
+
__decorateClass$4([attr({
|
|
13300
13442
|
mode: "boolean"
|
|
13301
13443
|
})], BaseTextInput.prototype, "autofocus", 2);
|
|
13302
|
-
__decorateClass$
|
|
13444
|
+
__decorateClass$4([attr({
|
|
13303
13445
|
attribute: "current-value"
|
|
13304
13446
|
})], BaseTextInput.prototype, "currentValue", 2);
|
|
13305
|
-
__decorateClass$
|
|
13306
|
-
__decorateClass$
|
|
13307
|
-
__decorateClass$
|
|
13447
|
+
__decorateClass$4([observable], BaseTextInput.prototype, "defaultSlottedNodes", 2);
|
|
13448
|
+
__decorateClass$4([attr], BaseTextInput.prototype, "dirname", 2);
|
|
13449
|
+
__decorateClass$4([attr({
|
|
13308
13450
|
mode: "boolean"
|
|
13309
13451
|
})], BaseTextInput.prototype, "disabled", 2);
|
|
13310
|
-
__decorateClass$
|
|
13452
|
+
__decorateClass$4([attr({
|
|
13311
13453
|
attribute: "form"
|
|
13312
13454
|
})], BaseTextInput.prototype, "formAttribute", 2);
|
|
13313
|
-
__decorateClass$
|
|
13455
|
+
__decorateClass$4([attr({
|
|
13314
13456
|
attribute: "value",
|
|
13315
13457
|
mode: "fromView"
|
|
13316
13458
|
})], BaseTextInput.prototype, "initialValue", 2);
|
|
13317
|
-
__decorateClass$
|
|
13318
|
-
__decorateClass$
|
|
13459
|
+
__decorateClass$4([attr], BaseTextInput.prototype, "list", 2);
|
|
13460
|
+
__decorateClass$4([attr({
|
|
13319
13461
|
converter: nullableNumberConverter
|
|
13320
13462
|
})], BaseTextInput.prototype, "maxlength", 2);
|
|
13321
|
-
__decorateClass$
|
|
13463
|
+
__decorateClass$4([attr({
|
|
13322
13464
|
converter: nullableNumberConverter
|
|
13323
13465
|
})], BaseTextInput.prototype, "minlength", 2);
|
|
13324
|
-
__decorateClass$
|
|
13466
|
+
__decorateClass$4([attr({
|
|
13325
13467
|
mode: "boolean"
|
|
13326
13468
|
})], BaseTextInput.prototype, "multiple", 2);
|
|
13327
|
-
__decorateClass$
|
|
13328
|
-
__decorateClass$
|
|
13329
|
-
__decorateClass$
|
|
13330
|
-
__decorateClass$
|
|
13469
|
+
__decorateClass$4([attr], BaseTextInput.prototype, "name", 2);
|
|
13470
|
+
__decorateClass$4([attr], BaseTextInput.prototype, "pattern", 2);
|
|
13471
|
+
__decorateClass$4([attr], BaseTextInput.prototype, "placeholder", 2);
|
|
13472
|
+
__decorateClass$4([attr({
|
|
13331
13473
|
attribute: "readonly",
|
|
13332
13474
|
mode: "boolean"
|
|
13333
13475
|
})], BaseTextInput.prototype, "readOnly", 2);
|
|
13334
|
-
__decorateClass$
|
|
13476
|
+
__decorateClass$4([attr({
|
|
13335
13477
|
mode: "boolean"
|
|
13336
13478
|
})], BaseTextInput.prototype, "required", 2);
|
|
13337
|
-
__decorateClass$
|
|
13479
|
+
__decorateClass$4([attr({
|
|
13338
13480
|
converter: nullableNumberConverter
|
|
13339
13481
|
})], BaseTextInput.prototype, "size", 2);
|
|
13340
|
-
__decorateClass$
|
|
13482
|
+
__decorateClass$4([attr({
|
|
13341
13483
|
converter: {
|
|
13342
13484
|
fromView: value => typeof value === "string" ? ["true", ""].includes(value.trim().toLowerCase()) : null,
|
|
13343
13485
|
toView: value => value.toString()
|
|
13344
13486
|
}
|
|
13345
13487
|
})], BaseTextInput.prototype, "spellcheck", 2);
|
|
13346
|
-
__decorateClass$
|
|
13347
|
-
__decorateClass$
|
|
13488
|
+
__decorateClass$4([attr], BaseTextInput.prototype, "type", 2);
|
|
13489
|
+
__decorateClass$4([observable], BaseTextInput.prototype, "controlLabel", 2);
|
|
13490
|
+
|
|
13491
|
+
var __defProp$3 = Object.defineProperty;
|
|
13492
|
+
var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
|
|
13493
|
+
var __decorateClass$3 = (decorators, target, key, kind) => {
|
|
13494
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;
|
|
13495
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
13496
|
+
if (kind && result) __defProp$3(target, key, result);
|
|
13497
|
+
return result;
|
|
13498
|
+
};
|
|
13348
13499
|
class TextInput extends BaseTextInput {
|
|
13349
13500
|
/**
|
|
13350
13501
|
* Handles changes to appearance attribute custom states
|