@emuanalytics/flow-rdf-ui 4.0.3 → 4.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +9785 -9745
- package/dist/index.cjs +155 -59
- package/dist/index.d.cts +42 -26
- package/dist/index.d.mts +42 -26
- package/dist/index.d.ts +42 -26
- package/dist/index.mjs +155 -59
- package/dist/vscode.html-custom-data.json +589 -579
- package/package.json +3 -3
- package/themes/dark.css +41 -0
- package/themes/dark.styles.js +41 -0
- package/themes/light.css +41 -0
- package/themes/light.styles.js +41 -0
package/dist/index.d.cts
CHANGED
|
@@ -268,7 +268,11 @@ declare class FlowRdfElement extends LitElement {
|
|
|
268
268
|
emit<T extends string & keyof EventTypesWithRequiredDetail>(name: EventTypeRequiresDetail<T>, options: SlEventInit<T>): GetCustomEventType<T>;
|
|
269
269
|
static define(name: string, elementConstructor?: typeof FlowRdfElement, options?: ElementDefinitionOptions): void;
|
|
270
270
|
}
|
|
271
|
-
|
|
271
|
+
declare abstract class FlowRdfFormControl extends FlowRdfElement {
|
|
272
|
+
static FLOW_UI_FORM_CONTROL_CLASS: string;
|
|
273
|
+
class: string;
|
|
274
|
+
handleClassChange(): void;
|
|
275
|
+
connectedCallback(): void;
|
|
272
276
|
name: string;
|
|
273
277
|
value: unknown;
|
|
274
278
|
disabled?: boolean;
|
|
@@ -282,12 +286,12 @@ interface FlowRdfFormControl extends FlowRdfElement {
|
|
|
282
286
|
required?: boolean;
|
|
283
287
|
minlength?: number;
|
|
284
288
|
maxlength?: number;
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
checkValidity
|
|
288
|
-
getForm
|
|
289
|
-
reportValidity
|
|
290
|
-
setCustomValidity
|
|
289
|
+
abstract get validity(): ValidityState;
|
|
290
|
+
abstract get validationMessage(): string;
|
|
291
|
+
abstract checkValidity(): boolean;
|
|
292
|
+
abstract getForm(): HTMLFormElement | null;
|
|
293
|
+
abstract reportValidity(): boolean;
|
|
294
|
+
abstract setCustomValidity(message: string): void;
|
|
291
295
|
}
|
|
292
296
|
|
|
293
297
|
/**
|
|
@@ -1061,6 +1065,8 @@ declare class FlowUiQueryBuilder extends FlowRdfElement {
|
|
|
1061
1065
|
*/
|
|
1062
1066
|
static registerFieldDefinition<T extends FlowQueryBuilderFieldType>(type: T, fieldDefinition: FlowQueryBuilderFieldDefinition<NoUnion<T>>): void;
|
|
1063
1067
|
private readonly hasSlotController;
|
|
1068
|
+
/** @internal - add form control class */
|
|
1069
|
+
class: string;
|
|
1064
1070
|
/** The query builder's value object. */
|
|
1065
1071
|
value: FlowQueryBuilderRuleSet;
|
|
1066
1072
|
/** The query builder's configuration object. */
|
|
@@ -1079,6 +1085,8 @@ declare class FlowUiQueryBuilder extends FlowRdfElement {
|
|
|
1079
1085
|
subQueryBuilder: boolean;
|
|
1080
1086
|
connectedCallback(): void;
|
|
1081
1087
|
/** @internal */
|
|
1088
|
+
handleClassChange(): void;
|
|
1089
|
+
/** @internal */
|
|
1082
1090
|
handleValueChange(): void;
|
|
1083
1091
|
private valueTemplateForRule;
|
|
1084
1092
|
private getDefault;
|
|
@@ -1749,7 +1757,7 @@ declare global {
|
|
|
1749
1757
|
* @csspart suffix - The container that wraps the suffix.
|
|
1750
1758
|
* @csspart caret - The button's caret icon, an `<flow-ui-icon>` element.
|
|
1751
1759
|
*/
|
|
1752
|
-
declare class FlowUiButton extends
|
|
1760
|
+
declare class FlowUiButton extends FlowRdfFormControl {
|
|
1753
1761
|
static styles: CSSResultGroup;
|
|
1754
1762
|
private readonly formControlController;
|
|
1755
1763
|
private readonly hasSlotController;
|
|
@@ -2153,7 +2161,7 @@ declare global {
|
|
|
2153
2161
|
* @csspart indeterminate-icon - The indeterminate icon, an `<flow-ui-icon>` element.
|
|
2154
2162
|
* @csspart label - The container that wraps the checkbox's label.
|
|
2155
2163
|
*/
|
|
2156
|
-
declare class FlowUiCheckbox extends
|
|
2164
|
+
declare class FlowUiCheckbox extends FlowRdfFormControl {
|
|
2157
2165
|
static styles: CSSResultGroup;
|
|
2158
2166
|
private readonly hasSlotController;
|
|
2159
2167
|
private readonly formControlController;
|
|
@@ -2188,6 +2196,8 @@ declare class FlowUiCheckbox extends FlowRdfElement implements FlowRdfFormContro
|
|
|
2188
2196
|
required: boolean;
|
|
2189
2197
|
/** */
|
|
2190
2198
|
variant: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral';
|
|
2199
|
+
/** Display the radio group using the alternative 'full-width' style with left-aligned label. */
|
|
2200
|
+
fullWidth: boolean;
|
|
2191
2201
|
connectedCallback(): void;
|
|
2192
2202
|
/** Gets the validity state object */
|
|
2193
2203
|
get validity(): ValidityState;
|
|
@@ -2304,6 +2314,8 @@ declare class FlowUiColorMapper extends FlowRdfElement {
|
|
|
2304
2314
|
private fixedColorPicker;
|
|
2305
2315
|
private fieldSelect;
|
|
2306
2316
|
private infoDialog;
|
|
2317
|
+
/** @internal - add form control class */
|
|
2318
|
+
class: string;
|
|
2307
2319
|
/** The color mapper configuration specifying available fields. */
|
|
2308
2320
|
options: ColorMapperOptions;
|
|
2309
2321
|
/** The current value of the color mapper. */
|
|
@@ -2319,6 +2331,8 @@ declare class FlowUiColorMapper extends FlowRdfElement {
|
|
|
2319
2331
|
*/
|
|
2320
2332
|
swatches: string | string[];
|
|
2321
2333
|
connectedCallback(): void;
|
|
2334
|
+
/** @internal - ensure form class is always present */
|
|
2335
|
+
handleClassChange(): void;
|
|
2322
2336
|
private handleFixedPickerClick;
|
|
2323
2337
|
private handleChange;
|
|
2324
2338
|
private emitChange;
|
|
@@ -2545,7 +2559,7 @@ declare global {
|
|
|
2545
2559
|
* @csspart password-toggle-button - The password toggle button.
|
|
2546
2560
|
* @csspart suffix - The container that wraps the suffix.
|
|
2547
2561
|
*/
|
|
2548
|
-
declare class FlowUiInput extends
|
|
2562
|
+
declare class FlowUiInput extends FlowRdfFormControl {
|
|
2549
2563
|
static styles: CSSResultGroup;
|
|
2550
2564
|
private readonly formControlController;
|
|
2551
2565
|
private readonly hasSlotController;
|
|
@@ -2752,7 +2766,7 @@ declare global {
|
|
|
2752
2766
|
* @cssproperty --slider-handle-size - The diameter of the slider's handle.
|
|
2753
2767
|
* @cssproperty --swatch-size - The size of each predefined color swatch.
|
|
2754
2768
|
*/
|
|
2755
|
-
declare class FlowUiColorPicker extends
|
|
2769
|
+
declare class FlowUiColorPicker extends FlowRdfFormControl {
|
|
2756
2770
|
static styles: CSSResultGroup;
|
|
2757
2771
|
private readonly formControlController;
|
|
2758
2772
|
private isSafeValue;
|
|
@@ -2904,7 +2918,7 @@ declare global {
|
|
|
2904
2918
|
* @dependency flow-ui-icon-button
|
|
2905
2919
|
*
|
|
2906
2920
|
*/
|
|
2907
|
-
declare class FlowUiColorStop extends
|
|
2921
|
+
declare class FlowUiColorStop extends FlowRdfFormControl {
|
|
2908
2922
|
static styles: CSSResultGroup;
|
|
2909
2923
|
private readonly formControlController;
|
|
2910
2924
|
private input;
|
|
@@ -3046,7 +3060,7 @@ declare global {
|
|
|
3046
3060
|
* @csspart clear-button - The clear button.
|
|
3047
3061
|
* @csspart mode-icon - The mode icon, a `<flow-ui-icon>` element.
|
|
3048
3062
|
*/
|
|
3049
|
-
declare class FlowUiDateTimePicker extends
|
|
3063
|
+
declare class FlowUiDateTimePicker extends FlowRdfFormControl {
|
|
3050
3064
|
static styles: CSSResultGroup;
|
|
3051
3065
|
private readonly formControlController;
|
|
3052
3066
|
private readonly hasSlotController;
|
|
@@ -4020,7 +4034,7 @@ declare class FormControlController implements ReactiveController {
|
|
|
4020
4034
|
* @csspart button-group - The button group that wraps radio buttons.
|
|
4021
4035
|
* @csspart button-group__base - The button group's `base` part.
|
|
4022
4036
|
*/
|
|
4023
|
-
declare class FlowUiRadioGroup extends
|
|
4037
|
+
declare class FlowUiRadioGroup extends FlowRdfFormControl {
|
|
4024
4038
|
static styles: CSSResultGroup;
|
|
4025
4039
|
protected readonly formControlController: FormControlController;
|
|
4026
4040
|
private readonly hasSlotController;
|
|
@@ -4055,10 +4069,8 @@ declare class FlowUiRadioGroup extends FlowRdfElement implements FlowRdfFormCont
|
|
|
4055
4069
|
form: string;
|
|
4056
4070
|
/** Ensures a child radio is checked before allowing the containing form to submit. */
|
|
4057
4071
|
required: boolean;
|
|
4058
|
-
/**
|
|
4059
|
-
|
|
4060
|
-
*/
|
|
4061
|
-
vertical: boolean;
|
|
4072
|
+
/** Display the radio group using the alternative 'full-width' style with left-aligned label. */
|
|
4073
|
+
fullWidth: boolean;
|
|
4062
4074
|
/** Gets the validity state object */
|
|
4063
4075
|
get validity(): ValidityState;
|
|
4064
4076
|
/** Gets the validation message */
|
|
@@ -4073,9 +4085,7 @@ declare class FlowUiRadioGroup extends FlowRdfElement implements FlowRdfFormCont
|
|
|
4073
4085
|
private syncRadios;
|
|
4074
4086
|
private updateCheckedRadio;
|
|
4075
4087
|
/** @internal */
|
|
4076
|
-
|
|
4077
|
-
/** @internal */
|
|
4078
|
-
handleVariantChange(): void;
|
|
4088
|
+
handleStyleChange(): void;
|
|
4079
4089
|
/** @internal */
|
|
4080
4090
|
handleValueChange(): void;
|
|
4081
4091
|
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
@@ -4130,6 +4140,8 @@ declare class FlowUiRadio extends FlowRdfElement {
|
|
|
4130
4140
|
variant: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral';
|
|
4131
4141
|
/** Disables the radio. */
|
|
4132
4142
|
disabled: boolean;
|
|
4143
|
+
/** Display the radio using the alternative 'full-width' style with left-aligned label. */
|
|
4144
|
+
fullWidth: boolean;
|
|
4133
4145
|
connectedCallback(): void;
|
|
4134
4146
|
disconnectedCallback(): void;
|
|
4135
4147
|
private addEventListeners;
|
|
@@ -4179,7 +4191,7 @@ declare global {
|
|
|
4179
4191
|
* @cssproperty --track-height - The height of the track.
|
|
4180
4192
|
* @cssproperty --track-active-offset - The point of origin of the active track.
|
|
4181
4193
|
*/
|
|
4182
|
-
declare class FlowUiRange extends
|
|
4194
|
+
declare class FlowUiRange extends FlowRdfFormControl {
|
|
4183
4195
|
static styles: CSSResultGroup;
|
|
4184
4196
|
private readonly formControlController;
|
|
4185
4197
|
private readonly hasSlotController;
|
|
@@ -4380,7 +4392,7 @@ declare global {
|
|
|
4380
4392
|
* @csspart clear-button - The clear button.
|
|
4381
4393
|
* @csspart expand-icon - The container that wraps the expand icon.
|
|
4382
4394
|
*/
|
|
4383
|
-
declare class FlowUiSelect extends
|
|
4395
|
+
declare class FlowUiSelect extends FlowRdfFormControl {
|
|
4384
4396
|
static styles: CSSResultGroup;
|
|
4385
4397
|
static dependencies: {
|
|
4386
4398
|
'flow-icon': typeof FlowUiIcon;
|
|
@@ -4788,7 +4800,7 @@ declare global {
|
|
|
4788
4800
|
* @cssproperty --height - The height of the switch.
|
|
4789
4801
|
* @cssproperty --thumb-size - The size of the thumb.
|
|
4790
4802
|
*/
|
|
4791
|
-
declare class FlowUiSwitch extends
|
|
4803
|
+
declare class FlowUiSwitch extends FlowRdfFormControl {
|
|
4792
4804
|
static styles: CSSResultGroup;
|
|
4793
4805
|
private readonly formControlController;
|
|
4794
4806
|
private input;
|
|
@@ -5053,7 +5065,7 @@ declare global {
|
|
|
5053
5065
|
* @csspart base - The component's base wrapper.
|
|
5054
5066
|
* @csspart textarea - The internal `<textarea>` control.
|
|
5055
5067
|
*/
|
|
5056
|
-
declare class FlowUiTextarea extends
|
|
5068
|
+
declare class FlowUiTextarea extends FlowRdfFormControl {
|
|
5057
5069
|
static styles: CSSResultGroup;
|
|
5058
5070
|
private readonly formControlController;
|
|
5059
5071
|
private readonly hasSlotController;
|
|
@@ -5280,7 +5292,7 @@ declare global {
|
|
|
5280
5292
|
* @event flow-ui-change - Emitted when the control's value changes.
|
|
5281
5293
|
* @event flow-ui-input - Emitted when the control receives input.
|
|
5282
5294
|
*/
|
|
5283
|
-
declare class FlowUiToolButtonGroup extends
|
|
5295
|
+
declare class FlowUiToolButtonGroup extends FlowRdfFormControl {
|
|
5284
5296
|
static styles: CSSResultGroup;
|
|
5285
5297
|
/** @internal */
|
|
5286
5298
|
protected readonly formControlController: FormControlController;
|
|
@@ -5591,6 +5603,8 @@ declare class FlowUiTree extends FlowRdfElement {
|
|
|
5591
5603
|
static styles: CSSResultGroup;
|
|
5592
5604
|
private expandedIconSlot;
|
|
5593
5605
|
private collapsedIconSlot;
|
|
5606
|
+
/** @internal - add form control class */
|
|
5607
|
+
class: string;
|
|
5594
5608
|
/**
|
|
5595
5609
|
* The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the
|
|
5596
5610
|
* value attribute will be a space-delimited list of values based on the options selected, and the value property will
|
|
@@ -5610,6 +5624,8 @@ declare class FlowUiTree extends FlowRdfElement {
|
|
|
5610
5624
|
private clickTarget;
|
|
5611
5625
|
connectedCallback(): Promise<void>;
|
|
5612
5626
|
disconnectedCallback(): void;
|
|
5627
|
+
/** @internal - ensure form control class is always present */
|
|
5628
|
+
handleClassChange(): void;
|
|
5613
5629
|
private getExpandButtonIcon;
|
|
5614
5630
|
private initTreeItem;
|
|
5615
5631
|
private handleTreeChanged;
|
package/dist/index.d.mts
CHANGED
|
@@ -268,7 +268,11 @@ declare class FlowRdfElement extends LitElement {
|
|
|
268
268
|
emit<T extends string & keyof EventTypesWithRequiredDetail>(name: EventTypeRequiresDetail<T>, options: SlEventInit<T>): GetCustomEventType<T>;
|
|
269
269
|
static define(name: string, elementConstructor?: typeof FlowRdfElement, options?: ElementDefinitionOptions): void;
|
|
270
270
|
}
|
|
271
|
-
|
|
271
|
+
declare abstract class FlowRdfFormControl extends FlowRdfElement {
|
|
272
|
+
static FLOW_UI_FORM_CONTROL_CLASS: string;
|
|
273
|
+
class: string;
|
|
274
|
+
handleClassChange(): void;
|
|
275
|
+
connectedCallback(): void;
|
|
272
276
|
name: string;
|
|
273
277
|
value: unknown;
|
|
274
278
|
disabled?: boolean;
|
|
@@ -282,12 +286,12 @@ interface FlowRdfFormControl extends FlowRdfElement {
|
|
|
282
286
|
required?: boolean;
|
|
283
287
|
minlength?: number;
|
|
284
288
|
maxlength?: number;
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
checkValidity
|
|
288
|
-
getForm
|
|
289
|
-
reportValidity
|
|
290
|
-
setCustomValidity
|
|
289
|
+
abstract get validity(): ValidityState;
|
|
290
|
+
abstract get validationMessage(): string;
|
|
291
|
+
abstract checkValidity(): boolean;
|
|
292
|
+
abstract getForm(): HTMLFormElement | null;
|
|
293
|
+
abstract reportValidity(): boolean;
|
|
294
|
+
abstract setCustomValidity(message: string): void;
|
|
291
295
|
}
|
|
292
296
|
|
|
293
297
|
/**
|
|
@@ -1061,6 +1065,8 @@ declare class FlowUiQueryBuilder extends FlowRdfElement {
|
|
|
1061
1065
|
*/
|
|
1062
1066
|
static registerFieldDefinition<T extends FlowQueryBuilderFieldType>(type: T, fieldDefinition: FlowQueryBuilderFieldDefinition<NoUnion<T>>): void;
|
|
1063
1067
|
private readonly hasSlotController;
|
|
1068
|
+
/** @internal - add form control class */
|
|
1069
|
+
class: string;
|
|
1064
1070
|
/** The query builder's value object. */
|
|
1065
1071
|
value: FlowQueryBuilderRuleSet;
|
|
1066
1072
|
/** The query builder's configuration object. */
|
|
@@ -1079,6 +1085,8 @@ declare class FlowUiQueryBuilder extends FlowRdfElement {
|
|
|
1079
1085
|
subQueryBuilder: boolean;
|
|
1080
1086
|
connectedCallback(): void;
|
|
1081
1087
|
/** @internal */
|
|
1088
|
+
handleClassChange(): void;
|
|
1089
|
+
/** @internal */
|
|
1082
1090
|
handleValueChange(): void;
|
|
1083
1091
|
private valueTemplateForRule;
|
|
1084
1092
|
private getDefault;
|
|
@@ -1749,7 +1757,7 @@ declare global {
|
|
|
1749
1757
|
* @csspart suffix - The container that wraps the suffix.
|
|
1750
1758
|
* @csspart caret - The button's caret icon, an `<flow-ui-icon>` element.
|
|
1751
1759
|
*/
|
|
1752
|
-
declare class FlowUiButton extends
|
|
1760
|
+
declare class FlowUiButton extends FlowRdfFormControl {
|
|
1753
1761
|
static styles: CSSResultGroup;
|
|
1754
1762
|
private readonly formControlController;
|
|
1755
1763
|
private readonly hasSlotController;
|
|
@@ -2153,7 +2161,7 @@ declare global {
|
|
|
2153
2161
|
* @csspart indeterminate-icon - The indeterminate icon, an `<flow-ui-icon>` element.
|
|
2154
2162
|
* @csspart label - The container that wraps the checkbox's label.
|
|
2155
2163
|
*/
|
|
2156
|
-
declare class FlowUiCheckbox extends
|
|
2164
|
+
declare class FlowUiCheckbox extends FlowRdfFormControl {
|
|
2157
2165
|
static styles: CSSResultGroup;
|
|
2158
2166
|
private readonly hasSlotController;
|
|
2159
2167
|
private readonly formControlController;
|
|
@@ -2188,6 +2196,8 @@ declare class FlowUiCheckbox extends FlowRdfElement implements FlowRdfFormContro
|
|
|
2188
2196
|
required: boolean;
|
|
2189
2197
|
/** */
|
|
2190
2198
|
variant: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral';
|
|
2199
|
+
/** Display the radio group using the alternative 'full-width' style with left-aligned label. */
|
|
2200
|
+
fullWidth: boolean;
|
|
2191
2201
|
connectedCallback(): void;
|
|
2192
2202
|
/** Gets the validity state object */
|
|
2193
2203
|
get validity(): ValidityState;
|
|
@@ -2304,6 +2314,8 @@ declare class FlowUiColorMapper extends FlowRdfElement {
|
|
|
2304
2314
|
private fixedColorPicker;
|
|
2305
2315
|
private fieldSelect;
|
|
2306
2316
|
private infoDialog;
|
|
2317
|
+
/** @internal - add form control class */
|
|
2318
|
+
class: string;
|
|
2307
2319
|
/** The color mapper configuration specifying available fields. */
|
|
2308
2320
|
options: ColorMapperOptions;
|
|
2309
2321
|
/** The current value of the color mapper. */
|
|
@@ -2319,6 +2331,8 @@ declare class FlowUiColorMapper extends FlowRdfElement {
|
|
|
2319
2331
|
*/
|
|
2320
2332
|
swatches: string | string[];
|
|
2321
2333
|
connectedCallback(): void;
|
|
2334
|
+
/** @internal - ensure form class is always present */
|
|
2335
|
+
handleClassChange(): void;
|
|
2322
2336
|
private handleFixedPickerClick;
|
|
2323
2337
|
private handleChange;
|
|
2324
2338
|
private emitChange;
|
|
@@ -2545,7 +2559,7 @@ declare global {
|
|
|
2545
2559
|
* @csspart password-toggle-button - The password toggle button.
|
|
2546
2560
|
* @csspart suffix - The container that wraps the suffix.
|
|
2547
2561
|
*/
|
|
2548
|
-
declare class FlowUiInput extends
|
|
2562
|
+
declare class FlowUiInput extends FlowRdfFormControl {
|
|
2549
2563
|
static styles: CSSResultGroup;
|
|
2550
2564
|
private readonly formControlController;
|
|
2551
2565
|
private readonly hasSlotController;
|
|
@@ -2752,7 +2766,7 @@ declare global {
|
|
|
2752
2766
|
* @cssproperty --slider-handle-size - The diameter of the slider's handle.
|
|
2753
2767
|
* @cssproperty --swatch-size - The size of each predefined color swatch.
|
|
2754
2768
|
*/
|
|
2755
|
-
declare class FlowUiColorPicker extends
|
|
2769
|
+
declare class FlowUiColorPicker extends FlowRdfFormControl {
|
|
2756
2770
|
static styles: CSSResultGroup;
|
|
2757
2771
|
private readonly formControlController;
|
|
2758
2772
|
private isSafeValue;
|
|
@@ -2904,7 +2918,7 @@ declare global {
|
|
|
2904
2918
|
* @dependency flow-ui-icon-button
|
|
2905
2919
|
*
|
|
2906
2920
|
*/
|
|
2907
|
-
declare class FlowUiColorStop extends
|
|
2921
|
+
declare class FlowUiColorStop extends FlowRdfFormControl {
|
|
2908
2922
|
static styles: CSSResultGroup;
|
|
2909
2923
|
private readonly formControlController;
|
|
2910
2924
|
private input;
|
|
@@ -3046,7 +3060,7 @@ declare global {
|
|
|
3046
3060
|
* @csspart clear-button - The clear button.
|
|
3047
3061
|
* @csspart mode-icon - The mode icon, a `<flow-ui-icon>` element.
|
|
3048
3062
|
*/
|
|
3049
|
-
declare class FlowUiDateTimePicker extends
|
|
3063
|
+
declare class FlowUiDateTimePicker extends FlowRdfFormControl {
|
|
3050
3064
|
static styles: CSSResultGroup;
|
|
3051
3065
|
private readonly formControlController;
|
|
3052
3066
|
private readonly hasSlotController;
|
|
@@ -4020,7 +4034,7 @@ declare class FormControlController implements ReactiveController {
|
|
|
4020
4034
|
* @csspart button-group - The button group that wraps radio buttons.
|
|
4021
4035
|
* @csspart button-group__base - The button group's `base` part.
|
|
4022
4036
|
*/
|
|
4023
|
-
declare class FlowUiRadioGroup extends
|
|
4037
|
+
declare class FlowUiRadioGroup extends FlowRdfFormControl {
|
|
4024
4038
|
static styles: CSSResultGroup;
|
|
4025
4039
|
protected readonly formControlController: FormControlController;
|
|
4026
4040
|
private readonly hasSlotController;
|
|
@@ -4055,10 +4069,8 @@ declare class FlowUiRadioGroup extends FlowRdfElement implements FlowRdfFormCont
|
|
|
4055
4069
|
form: string;
|
|
4056
4070
|
/** Ensures a child radio is checked before allowing the containing form to submit. */
|
|
4057
4071
|
required: boolean;
|
|
4058
|
-
/**
|
|
4059
|
-
|
|
4060
|
-
*/
|
|
4061
|
-
vertical: boolean;
|
|
4072
|
+
/** Display the radio group using the alternative 'full-width' style with left-aligned label. */
|
|
4073
|
+
fullWidth: boolean;
|
|
4062
4074
|
/** Gets the validity state object */
|
|
4063
4075
|
get validity(): ValidityState;
|
|
4064
4076
|
/** Gets the validation message */
|
|
@@ -4073,9 +4085,7 @@ declare class FlowUiRadioGroup extends FlowRdfElement implements FlowRdfFormCont
|
|
|
4073
4085
|
private syncRadios;
|
|
4074
4086
|
private updateCheckedRadio;
|
|
4075
4087
|
/** @internal */
|
|
4076
|
-
|
|
4077
|
-
/** @internal */
|
|
4078
|
-
handleVariantChange(): void;
|
|
4088
|
+
handleStyleChange(): void;
|
|
4079
4089
|
/** @internal */
|
|
4080
4090
|
handleValueChange(): void;
|
|
4081
4091
|
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
@@ -4130,6 +4140,8 @@ declare class FlowUiRadio extends FlowRdfElement {
|
|
|
4130
4140
|
variant: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral';
|
|
4131
4141
|
/** Disables the radio. */
|
|
4132
4142
|
disabled: boolean;
|
|
4143
|
+
/** Display the radio using the alternative 'full-width' style with left-aligned label. */
|
|
4144
|
+
fullWidth: boolean;
|
|
4133
4145
|
connectedCallback(): void;
|
|
4134
4146
|
disconnectedCallback(): void;
|
|
4135
4147
|
private addEventListeners;
|
|
@@ -4179,7 +4191,7 @@ declare global {
|
|
|
4179
4191
|
* @cssproperty --track-height - The height of the track.
|
|
4180
4192
|
* @cssproperty --track-active-offset - The point of origin of the active track.
|
|
4181
4193
|
*/
|
|
4182
|
-
declare class FlowUiRange extends
|
|
4194
|
+
declare class FlowUiRange extends FlowRdfFormControl {
|
|
4183
4195
|
static styles: CSSResultGroup;
|
|
4184
4196
|
private readonly formControlController;
|
|
4185
4197
|
private readonly hasSlotController;
|
|
@@ -4380,7 +4392,7 @@ declare global {
|
|
|
4380
4392
|
* @csspart clear-button - The clear button.
|
|
4381
4393
|
* @csspart expand-icon - The container that wraps the expand icon.
|
|
4382
4394
|
*/
|
|
4383
|
-
declare class FlowUiSelect extends
|
|
4395
|
+
declare class FlowUiSelect extends FlowRdfFormControl {
|
|
4384
4396
|
static styles: CSSResultGroup;
|
|
4385
4397
|
static dependencies: {
|
|
4386
4398
|
'flow-icon': typeof FlowUiIcon;
|
|
@@ -4788,7 +4800,7 @@ declare global {
|
|
|
4788
4800
|
* @cssproperty --height - The height of the switch.
|
|
4789
4801
|
* @cssproperty --thumb-size - The size of the thumb.
|
|
4790
4802
|
*/
|
|
4791
|
-
declare class FlowUiSwitch extends
|
|
4803
|
+
declare class FlowUiSwitch extends FlowRdfFormControl {
|
|
4792
4804
|
static styles: CSSResultGroup;
|
|
4793
4805
|
private readonly formControlController;
|
|
4794
4806
|
private input;
|
|
@@ -5053,7 +5065,7 @@ declare global {
|
|
|
5053
5065
|
* @csspart base - The component's base wrapper.
|
|
5054
5066
|
* @csspart textarea - The internal `<textarea>` control.
|
|
5055
5067
|
*/
|
|
5056
|
-
declare class FlowUiTextarea extends
|
|
5068
|
+
declare class FlowUiTextarea extends FlowRdfFormControl {
|
|
5057
5069
|
static styles: CSSResultGroup;
|
|
5058
5070
|
private readonly formControlController;
|
|
5059
5071
|
private readonly hasSlotController;
|
|
@@ -5280,7 +5292,7 @@ declare global {
|
|
|
5280
5292
|
* @event flow-ui-change - Emitted when the control's value changes.
|
|
5281
5293
|
* @event flow-ui-input - Emitted when the control receives input.
|
|
5282
5294
|
*/
|
|
5283
|
-
declare class FlowUiToolButtonGroup extends
|
|
5295
|
+
declare class FlowUiToolButtonGroup extends FlowRdfFormControl {
|
|
5284
5296
|
static styles: CSSResultGroup;
|
|
5285
5297
|
/** @internal */
|
|
5286
5298
|
protected readonly formControlController: FormControlController;
|
|
@@ -5591,6 +5603,8 @@ declare class FlowUiTree extends FlowRdfElement {
|
|
|
5591
5603
|
static styles: CSSResultGroup;
|
|
5592
5604
|
private expandedIconSlot;
|
|
5593
5605
|
private collapsedIconSlot;
|
|
5606
|
+
/** @internal - add form control class */
|
|
5607
|
+
class: string;
|
|
5594
5608
|
/**
|
|
5595
5609
|
* The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the
|
|
5596
5610
|
* value attribute will be a space-delimited list of values based on the options selected, and the value property will
|
|
@@ -5610,6 +5624,8 @@ declare class FlowUiTree extends FlowRdfElement {
|
|
|
5610
5624
|
private clickTarget;
|
|
5611
5625
|
connectedCallback(): Promise<void>;
|
|
5612
5626
|
disconnectedCallback(): void;
|
|
5627
|
+
/** @internal - ensure form control class is always present */
|
|
5628
|
+
handleClassChange(): void;
|
|
5613
5629
|
private getExpandButtonIcon;
|
|
5614
5630
|
private initTreeItem;
|
|
5615
5631
|
private handleTreeChanged;
|