@emuanalytics/flow-rdf-ui 0.0.49 → 0.0.51
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 +2576 -2553
- package/dist/index.cjs +11885 -12151
- package/dist/index.d.cts +364 -384
- package/dist/index.d.mts +364 -384
- package/dist/index.d.ts +364 -384
- package/dist/index.mjs +11718 -12023
- package/dist/vscode.html-custom-data.json +306 -130
- package/package.json +23 -14
- /package/{dist/themes → themes}/dark.css +0 -0
- /package/{dist/themes → themes}/dark.styles.js +0 -0
- /package/{dist/themes → themes}/light.css +0 -0
- /package/{dist/themes → themes}/light.styles.js +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -102,12 +102,10 @@ interface VirtualElement {
|
|
|
102
102
|
contextElement?: Element;
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
|
+
* @tagname flow-ui-popup
|
|
105
106
|
* @summary Popup is a utility that lets you declaratively anchor "popup" containers to another element.
|
|
106
|
-
|
|
107
|
-
* @
|
|
108
|
-
* @since 2.0
|
|
109
|
-
*
|
|
110
|
-
* @event sl-reposition - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive
|
|
107
|
+
|
|
108
|
+
* @event flow-ui-reposition - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive
|
|
111
109
|
* operations in your listener or consider debouncing it.
|
|
112
110
|
*
|
|
113
111
|
* @slot - The popup's content.
|
|
@@ -122,7 +120,7 @@ interface VirtualElement {
|
|
|
122
120
|
*
|
|
123
121
|
* @cssproperty [--arrow-size=6px] - The size of the arrow. Note that an arrow won't be shown unless the `arrow`
|
|
124
122
|
* attribute is used.
|
|
125
|
-
* @cssproperty [--arrow-color=var(--
|
|
123
|
+
* @cssproperty [--arrow-color=var(--flow-ui-color-neutral-0)] - The color of the arrow.
|
|
126
124
|
* @cssproperty [--auto-size-available-width] - A read-only custom property that determines the amount of width the
|
|
127
125
|
* popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only
|
|
128
126
|
* available when using `auto-size`.
|
|
@@ -252,10 +250,8 @@ declare global {
|
|
|
252
250
|
}
|
|
253
251
|
|
|
254
252
|
/**
|
|
253
|
+
* @tagname flow-ui-tooltip
|
|
255
254
|
* @summary Tooltips display additional information based on a specific action.
|
|
256
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/tooltip
|
|
257
|
-
* @status stable
|
|
258
|
-
* @since 2.0
|
|
259
255
|
*
|
|
260
256
|
* @dependency flow-ui-popup
|
|
261
257
|
*
|
|
@@ -332,6 +328,7 @@ declare class FlowTooltip extends FlowRdfElement {
|
|
|
332
328
|
hide(): Promise<void>;
|
|
333
329
|
render(): lit.TemplateResult<1>;
|
|
334
330
|
}
|
|
331
|
+
|
|
335
332
|
declare global {
|
|
336
333
|
interface HTMLElementTagNameMap {
|
|
337
334
|
'flow-ui-tooltip': FlowTooltip;
|
|
@@ -452,7 +449,7 @@ declare class FlowAlert extends FlowRdfElement {
|
|
|
452
449
|
private autoHideTimeout;
|
|
453
450
|
private readonly hasSlotController;
|
|
454
451
|
private readonly localize;
|
|
455
|
-
base
|
|
452
|
+
private base;
|
|
456
453
|
/**
|
|
457
454
|
* Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can
|
|
458
455
|
* use the `show()` and `hide()` methods and this attribute will reflect the alert's open state.
|
|
@@ -472,7 +469,9 @@ declare class FlowAlert extends FlowRdfElement {
|
|
|
472
469
|
private restartAutoHide;
|
|
473
470
|
private handleCloseClick;
|
|
474
471
|
private handleMouseMove;
|
|
472
|
+
/** @internal */
|
|
475
473
|
handleOpenChange(): Promise<void>;
|
|
474
|
+
/** @internal */
|
|
476
475
|
handleDurationChange(): void;
|
|
477
476
|
/** Shows the alert. */
|
|
478
477
|
show(): Promise<void>;
|
|
@@ -494,6 +493,7 @@ declare global {
|
|
|
494
493
|
}
|
|
495
494
|
|
|
496
495
|
/**
|
|
496
|
+
* @tagname flow-ui-animation
|
|
497
497
|
* @summary Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).
|
|
498
498
|
* @documentation https://shoelace.style/components/animation
|
|
499
499
|
* @status stable
|
|
@@ -510,7 +510,7 @@ declare class SlAnimation extends FlowRdfElement {
|
|
|
510
510
|
static styles: CSSResultGroup;
|
|
511
511
|
private animation?;
|
|
512
512
|
private hasStarted;
|
|
513
|
-
defaultSlot
|
|
513
|
+
private defaultSlot;
|
|
514
514
|
/** The name of the built-in animation to use. For custom animations, use the `keyframes` prop. */
|
|
515
515
|
name: string;
|
|
516
516
|
/**
|
|
@@ -575,11 +575,9 @@ declare global {
|
|
|
575
575
|
}
|
|
576
576
|
|
|
577
577
|
/**
|
|
578
|
+
* @tagname flow-ui-avatar
|
|
578
579
|
* @summary Avatars are used to represent a person or object.
|
|
579
|
-
|
|
580
|
-
* @status stable
|
|
581
|
-
* @since 2.0
|
|
582
|
-
*
|
|
580
|
+
|
|
583
581
|
* @dependency flow-ui-icon
|
|
584
582
|
*
|
|
585
583
|
* @slot icon - The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.
|
|
@@ -604,9 +602,11 @@ declare class FlowAvatar extends FlowRdfElement {
|
|
|
604
602
|
loading: 'eager' | 'lazy';
|
|
605
603
|
/** The shape of the avatar. */
|
|
606
604
|
shape: 'circle' | 'square' | 'rounded';
|
|
605
|
+
/** @internal */
|
|
607
606
|
handleImageChange(): void;
|
|
608
607
|
render(): lit.TemplateResult<1>;
|
|
609
608
|
}
|
|
609
|
+
|
|
610
610
|
declare global {
|
|
611
611
|
interface HTMLElementTagNameMap {
|
|
612
612
|
'flow-ui-avatar': FlowAvatar;
|
|
@@ -614,10 +614,8 @@ declare global {
|
|
|
614
614
|
}
|
|
615
615
|
|
|
616
616
|
/**
|
|
617
|
+
* @tagname flow-ui-badge
|
|
617
618
|
* @summary Badges are used to draw attention and display statuses or counts.
|
|
618
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/badge
|
|
619
|
-
* @status stable
|
|
620
|
-
* @since 2.0
|
|
621
619
|
*
|
|
622
620
|
* @slot - The badge's content.
|
|
623
621
|
*
|
|
@@ -633,6 +631,7 @@ declare class FlowBadge extends FlowRdfElement {
|
|
|
633
631
|
pulse: boolean;
|
|
634
632
|
render(): lit.TemplateResult<1>;
|
|
635
633
|
}
|
|
634
|
+
|
|
636
635
|
declare global {
|
|
637
636
|
interface HTMLElementTagNameMap {
|
|
638
637
|
'flow-ui-badge': FlowBadge;
|
|
@@ -640,11 +639,9 @@ declare global {
|
|
|
640
639
|
}
|
|
641
640
|
|
|
642
641
|
/**
|
|
642
|
+
* @tagname flow-ui-breadcrumb-item
|
|
643
643
|
* @summary Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.
|
|
644
|
-
|
|
645
|
-
* @status stable
|
|
646
|
-
* @since 2.0
|
|
647
|
-
*
|
|
644
|
+
|
|
648
645
|
* @slot - The breadcrumb item's label.
|
|
649
646
|
* @slot prefix - An optional prefix, usually an icon or icon button.
|
|
650
647
|
* @slot suffix - An optional suffix, usually an icon or icon button.
|
|
@@ -671,6 +668,7 @@ declare class FlowBreadcrumbItem extends FlowRdfElement {
|
|
|
671
668
|
rel: string;
|
|
672
669
|
render(): lit.TemplateResult<1>;
|
|
673
670
|
}
|
|
671
|
+
|
|
674
672
|
declare global {
|
|
675
673
|
interface HTMLElementTagNameMap {
|
|
676
674
|
'flow-ui-breadcrumb-item': FlowBreadcrumbItem;
|
|
@@ -678,10 +676,8 @@ declare global {
|
|
|
678
676
|
}
|
|
679
677
|
|
|
680
678
|
/**
|
|
679
|
+
* @tagname flow-ui-breadcrumb
|
|
681
680
|
* @summary Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.
|
|
682
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/breadcrumb
|
|
683
|
-
* @status stable
|
|
684
|
-
* @since 2.0
|
|
685
681
|
*
|
|
686
682
|
* @slot - One or more breadcrumb items to display.
|
|
687
683
|
* @slot separator - The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.
|
|
@@ -694,8 +690,8 @@ declare class FlowBreadcrumb extends FlowRdfElement {
|
|
|
694
690
|
static styles: CSSResultGroup;
|
|
695
691
|
private readonly localize;
|
|
696
692
|
private separatorDir;
|
|
697
|
-
defaultSlot
|
|
698
|
-
separatorSlot
|
|
693
|
+
private defaultSlot;
|
|
694
|
+
private separatorSlot;
|
|
699
695
|
/**
|
|
700
696
|
* The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by
|
|
701
697
|
* screen readers and other assistive devices to provide more context for users.
|
|
@@ -705,6 +701,7 @@ declare class FlowBreadcrumb extends FlowRdfElement {
|
|
|
705
701
|
private handleSlotChange;
|
|
706
702
|
render(): lit.TemplateResult<1>;
|
|
707
703
|
}
|
|
704
|
+
|
|
708
705
|
declare global {
|
|
709
706
|
interface HTMLElementTagNameMap {
|
|
710
707
|
'flow-ui-breadcrumb': FlowBreadcrumb;
|
|
@@ -712,10 +709,8 @@ declare global {
|
|
|
712
709
|
}
|
|
713
710
|
|
|
714
711
|
/**
|
|
712
|
+
* @tagname flow-ui-button-group
|
|
715
713
|
* @summary Button groups can be used to group related buttons into sections.
|
|
716
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/button-group
|
|
717
|
-
* @status stable
|
|
718
|
-
* @since 2.0
|
|
719
714
|
*
|
|
720
715
|
* @slot - One or more `<flow-ui-button>` elements to display in the button group.
|
|
721
716
|
*
|
|
@@ -723,13 +718,16 @@ declare global {
|
|
|
723
718
|
*/
|
|
724
719
|
declare class FlowButtonGroup extends FlowRdfElement {
|
|
725
720
|
static styles: CSSResultGroup;
|
|
721
|
+
/** @internal */
|
|
726
722
|
defaultSlot: HTMLSlotElement;
|
|
723
|
+
/** @internal */
|
|
727
724
|
disableRole: boolean;
|
|
728
725
|
label: string;
|
|
729
726
|
/**
|
|
730
727
|
* Use vertical layout for the button group.
|
|
731
728
|
*/
|
|
732
729
|
vertical: boolean;
|
|
730
|
+
/** @internal */
|
|
733
731
|
handleVerticalChange(): Promise<void>;
|
|
734
732
|
private handleFocus;
|
|
735
733
|
private handleBlur;
|
|
@@ -738,6 +736,7 @@ declare class FlowButtonGroup extends FlowRdfElement {
|
|
|
738
736
|
private handleSlotChange;
|
|
739
737
|
render(): lit.TemplateResult<1>;
|
|
740
738
|
}
|
|
739
|
+
|
|
741
740
|
declare global {
|
|
742
741
|
interface HTMLElementTagNameMap {
|
|
743
742
|
'flow-ui-button-group': FlowButtonGroup;
|
|
@@ -745,10 +744,8 @@ declare global {
|
|
|
745
744
|
}
|
|
746
745
|
|
|
747
746
|
/**
|
|
747
|
+
* @tagname flow-ui-spinner
|
|
748
748
|
* @summary Spinners are used to show the progress of an indeterminate operation.
|
|
749
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/spinner
|
|
750
|
-
* @status stable
|
|
751
|
-
* @since 2.0
|
|
752
749
|
*
|
|
753
750
|
* @csspart base - The component's base wrapper.
|
|
754
751
|
*
|
|
@@ -762,6 +759,7 @@ declare class FlowSpinner extends FlowRdfElement {
|
|
|
762
759
|
private readonly localize;
|
|
763
760
|
render(): lit.TemplateResult<1>;
|
|
764
761
|
}
|
|
762
|
+
|
|
765
763
|
declare global {
|
|
766
764
|
interface HTMLElementTagNameMap {
|
|
767
765
|
'flow-ui-spinner': FlowSpinner;
|
|
@@ -794,9 +792,9 @@ declare class FlowButton extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
794
792
|
private readonly formControlController;
|
|
795
793
|
private readonly hasSlotController;
|
|
796
794
|
private readonly localize;
|
|
795
|
+
/** @internal */
|
|
797
796
|
button: HTMLButtonElement | HTMLLinkElement;
|
|
798
797
|
private hasFocus;
|
|
799
|
-
invalid: boolean;
|
|
800
798
|
title: string;
|
|
801
799
|
/** The button's theme variant. */
|
|
802
800
|
variant: 'default' | 'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger' | 'text';
|
|
@@ -879,6 +877,7 @@ declare class FlowButton extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
879
877
|
private handleInvalid;
|
|
880
878
|
private isButton;
|
|
881
879
|
private isLink;
|
|
880
|
+
/** @internal */
|
|
882
881
|
handleDisabledChange(): void;
|
|
883
882
|
/** Simulates a click on the button. */
|
|
884
883
|
click(): void;
|
|
@@ -921,7 +920,9 @@ declare class FlowCalendar extends FlowRdfElement {
|
|
|
921
920
|
size: 'small' | 'medium' | 'large';
|
|
922
921
|
connectedCallback(): void;
|
|
923
922
|
disconnectedCallback(): void;
|
|
923
|
+
/** @internal */
|
|
924
924
|
handleValueChange(): void;
|
|
925
|
+
/** @internal */
|
|
925
926
|
handleTimezoneChange(): void;
|
|
926
927
|
private dateClicked;
|
|
927
928
|
private stepDisplayDate;
|
|
@@ -947,10 +948,9 @@ declare global {
|
|
|
947
948
|
}
|
|
948
949
|
|
|
949
950
|
/**
|
|
951
|
+
* @tagname flow-ui-card
|
|
950
952
|
* @summary Cards can be used to group related subjects in a container.
|
|
951
|
-
|
|
952
|
-
* @status stable
|
|
953
|
-
* @since 2.0
|
|
953
|
+
|
|
954
954
|
*
|
|
955
955
|
* @slot - The card's main content.
|
|
956
956
|
* @slot header - An optional header for the card.
|
|
@@ -973,6 +973,7 @@ declare class FlowCard extends FlowRdfElement {
|
|
|
973
973
|
private readonly hasSlotController;
|
|
974
974
|
render(): lit.TemplateResult<1>;
|
|
975
975
|
}
|
|
976
|
+
|
|
976
977
|
declare global {
|
|
977
978
|
interface HTMLElementTagNameMap {
|
|
978
979
|
'flow-ui-card': FlowCard;
|
|
@@ -980,6 +981,7 @@ declare global {
|
|
|
980
981
|
}
|
|
981
982
|
|
|
982
983
|
/**
|
|
984
|
+
* @tagname flow-ui-carousel-item
|
|
983
985
|
* @summary A carousel item represent a slide within a [carousel](/components/carousel).
|
|
984
986
|
*
|
|
985
987
|
* @since 2.0
|
|
@@ -996,6 +998,7 @@ declare class FlowCarouselItem extends FlowRdfElement {
|
|
|
996
998
|
connectedCallback(): void;
|
|
997
999
|
render(): lit.TemplateResult<1>;
|
|
998
1000
|
}
|
|
1001
|
+
|
|
999
1002
|
declare global {
|
|
1000
1003
|
interface HTMLElementTagNameMap {
|
|
1001
1004
|
'flow-ui-carousel-item': FlowCarouselItem;
|
|
@@ -1003,6 +1006,7 @@ declare global {
|
|
|
1003
1006
|
}
|
|
1004
1007
|
|
|
1005
1008
|
/**
|
|
1009
|
+
* @tagname flow-ui-carousel
|
|
1006
1010
|
* @summary Carousels display an arbitrary number of content slides along a horizontal or vertical axis.
|
|
1007
1011
|
*
|
|
1008
1012
|
* @since 2.2
|
|
@@ -1100,6 +1104,7 @@ declare class FlowCarousel extends FlowRdfElement {
|
|
|
1100
1104
|
goToSlide(index: number, behavior?: ScrollBehavior): void;
|
|
1101
1105
|
render(): lit.TemplateResult<1>;
|
|
1102
1106
|
}
|
|
1107
|
+
|
|
1103
1108
|
declare global {
|
|
1104
1109
|
interface HTMLElementTagNameMap {
|
|
1105
1110
|
'flow-ui-carousel': FlowCarousel;
|
|
@@ -1165,11 +1170,9 @@ declare global {
|
|
|
1165
1170
|
}
|
|
1166
1171
|
|
|
1167
1172
|
/**
|
|
1173
|
+
* @tagname flow-ui-checkbox
|
|
1168
1174
|
* @summary Checkboxes allow the user to toggle an option on or off.
|
|
1169
|
-
|
|
1170
|
-
* @status stable
|
|
1171
|
-
* @since 2.0
|
|
1172
|
-
*
|
|
1175
|
+
|
|
1173
1176
|
* @dependency flow-ui-icon
|
|
1174
1177
|
*
|
|
1175
1178
|
* @slot - The checkbox's label.
|
|
@@ -1192,7 +1195,7 @@ declare class FlowCheckbox extends FlowRdfElement implements FlowRdfFormControl
|
|
|
1192
1195
|
static styles: CSSResultGroup;
|
|
1193
1196
|
private readonly hasSlotController;
|
|
1194
1197
|
private readonly formControlController;
|
|
1195
|
-
input
|
|
1198
|
+
private input;
|
|
1196
1199
|
private hasFocus;
|
|
1197
1200
|
title: string;
|
|
1198
1201
|
/** The name of the checkbox, submitted as a name/value pair with form data. */
|
|
@@ -1230,7 +1233,9 @@ declare class FlowCheckbox extends FlowRdfElement implements FlowRdfFormControl
|
|
|
1230
1233
|
private handleInput;
|
|
1231
1234
|
private handleInvalid;
|
|
1232
1235
|
private handleFocus;
|
|
1236
|
+
/** @internal */
|
|
1233
1237
|
handleDisabledChange(): void;
|
|
1238
|
+
/** @internal */
|
|
1234
1239
|
handleStateChange(): void;
|
|
1235
1240
|
/** Simulates a click on the checkbox. */
|
|
1236
1241
|
click(): void;
|
|
@@ -1251,6 +1256,7 @@ declare class FlowCheckbox extends FlowRdfElement implements FlowRdfFormControl
|
|
|
1251
1256
|
setCustomValidity(message: string): void;
|
|
1252
1257
|
render(): lit.TemplateResult<1>;
|
|
1253
1258
|
}
|
|
1259
|
+
|
|
1254
1260
|
declare global {
|
|
1255
1261
|
interface HTMLElementTagNameMap {
|
|
1256
1262
|
'flow-ui-checkbox': FlowCheckbox;
|
|
@@ -1258,10 +1264,8 @@ declare global {
|
|
|
1258
1264
|
}
|
|
1259
1265
|
|
|
1260
1266
|
/**
|
|
1267
|
+
* @tagname flow-ui-menu-item
|
|
1261
1268
|
* @summary Menu items provide options for the user to pick from in a menu.
|
|
1262
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/menu-item
|
|
1263
|
-
* @status stable
|
|
1264
|
-
* @since 2.0
|
|
1265
1269
|
*
|
|
1266
1270
|
* @dependency flow-ui-icon
|
|
1267
1271
|
*
|
|
@@ -1300,6 +1304,7 @@ declare class FlowMenuItem extends FlowRdfElement {
|
|
|
1300
1304
|
getTextLabel(): string;
|
|
1301
1305
|
render(): lit.TemplateResult<1>;
|
|
1302
1306
|
}
|
|
1307
|
+
|
|
1303
1308
|
declare global {
|
|
1304
1309
|
interface HTMLElementTagNameMap {
|
|
1305
1310
|
'flow-ui-menu-item': FlowMenuItem;
|
|
@@ -1307,11 +1312,9 @@ declare global {
|
|
|
1307
1312
|
}
|
|
1308
1313
|
|
|
1309
1314
|
/**
|
|
1315
|
+
* @tagname flow-ui-menu
|
|
1310
1316
|
* @summary Menus provide a list of options for the user to choose from.
|
|
1311
|
-
|
|
1312
|
-
* @status stable
|
|
1313
|
-
* @since 2.0
|
|
1314
|
-
*
|
|
1317
|
+
|
|
1315
1318
|
* @slot - The menu's content, including menu items, menu labels, and dividers.
|
|
1316
1319
|
*
|
|
1317
1320
|
* @event {{ item: FlowMenuItem }} flow-ui-select - Emitted when a menu item is selected.
|
|
@@ -1339,6 +1342,7 @@ declare class FlowMenu extends FlowRdfElement {
|
|
|
1339
1342
|
setCurrentItem(item: FlowMenuItem): void;
|
|
1340
1343
|
render(): lit.TemplateResult<1>;
|
|
1341
1344
|
}
|
|
1345
|
+
|
|
1342
1346
|
declare global {
|
|
1343
1347
|
interface HTMLElementTagNameMap {
|
|
1344
1348
|
'flow-ui-menu': FlowMenu;
|
|
@@ -1348,9 +1352,6 @@ declare global {
|
|
|
1348
1352
|
/**
|
|
1349
1353
|
* @tagname flow-ui-dropdown
|
|
1350
1354
|
* @summary Dropdowns expose additional content that "drops down" in a panel.
|
|
1351
|
-
* @documentation https://shoelace.style/components/dropdown
|
|
1352
|
-
* @status stable
|
|
1353
|
-
* @since 2.0
|
|
1354
1355
|
*
|
|
1355
1356
|
* @dependency flow-ui-popup
|
|
1356
1357
|
*
|
|
@@ -1411,6 +1412,23 @@ declare class SlDropdown extends FlowRdfElement {
|
|
|
1411
1412
|
* `overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
|
|
1412
1413
|
*/
|
|
1413
1414
|
hoist: boolean;
|
|
1415
|
+
/**
|
|
1416
|
+
* Attaches an arrow to the popup. The arrow's size and color can be customized using the `--arrow-size` and
|
|
1417
|
+
* `--arrow-color` custom properties. For additional customizations, you can also target the arrow using
|
|
1418
|
+
* `::part(arrow)` in your stylesheet.
|
|
1419
|
+
*/
|
|
1420
|
+
arrow: boolean;
|
|
1421
|
+
/**
|
|
1422
|
+
* The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the
|
|
1423
|
+
* anchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will
|
|
1424
|
+
* align the arrow to the start, end, or center of the popover instead.
|
|
1425
|
+
*/
|
|
1426
|
+
arrowPlacement: 'start' | 'end' | 'center' | 'anchor';
|
|
1427
|
+
/**
|
|
1428
|
+
* The amount of padding between the arrow and the edges of the popup. If the popup has a border-radius, for example,
|
|
1429
|
+
* this will prevent it from overflowing the corners.
|
|
1430
|
+
*/
|
|
1431
|
+
arrowPadding: number;
|
|
1414
1432
|
/**
|
|
1415
1433
|
* Syncs the popup width or height to that of the trigger element.
|
|
1416
1434
|
*/
|
|
@@ -1490,6 +1508,7 @@ declare class FlowInput extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
1490
1508
|
private readonly formControlController;
|
|
1491
1509
|
private readonly hasSlotController;
|
|
1492
1510
|
private readonly localize;
|
|
1511
|
+
private _numberFormatter;
|
|
1493
1512
|
input: HTMLInputElement;
|
|
1494
1513
|
private hasFocus;
|
|
1495
1514
|
title: string;
|
|
@@ -1520,6 +1539,8 @@ declare class FlowInput extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
1520
1539
|
disabled: boolean;
|
|
1521
1540
|
/** Placeholder text to show as a hint when the input is empty. */
|
|
1522
1541
|
placeholder: string;
|
|
1542
|
+
/** Number format to use for input controls with `type="number"`. (D3 format string) */
|
|
1543
|
+
format: string;
|
|
1523
1544
|
/** Makes the input readonly. */
|
|
1524
1545
|
readonly: boolean;
|
|
1525
1546
|
/** Adds a button to toggle the password's visibility. Only applies to password types. */
|
|
@@ -1571,6 +1592,7 @@ declare class FlowInput extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
1571
1592
|
* keyboard on supportive devices.
|
|
1572
1593
|
*/
|
|
1573
1594
|
inputmode: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
1595
|
+
handleFormatChange(): void;
|
|
1574
1596
|
/** Gets or sets the current value as a `Date` object. Returns `null` if the value can't be converted. */
|
|
1575
1597
|
get valueAsDate(): Date | null;
|
|
1576
1598
|
set valueAsDate(newValue: Date | null);
|
|
@@ -1617,6 +1639,9 @@ declare class FlowInput extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
1617
1639
|
reportValidity(): boolean;
|
|
1618
1640
|
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
1619
1641
|
setCustomValidity(message: string): void;
|
|
1642
|
+
private fromDisplayValue;
|
|
1643
|
+
private toDisplayValue;
|
|
1644
|
+
private clampValue;
|
|
1620
1645
|
render(): lit.TemplateResult<1>;
|
|
1621
1646
|
}
|
|
1622
1647
|
|
|
@@ -1627,29 +1652,9 @@ declare global {
|
|
|
1627
1652
|
}
|
|
1628
1653
|
|
|
1629
1654
|
/**
|
|
1630
|
-
* @
|
|
1631
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/visually-hidden
|
|
1632
|
-
* @status stable
|
|
1633
|
-
* @since 2.0
|
|
1634
|
-
*
|
|
1635
|
-
* @slot - The content to be visually hidden.
|
|
1636
|
-
*/
|
|
1637
|
-
declare class FlowVisuallyHidden extends FlowRdfElement {
|
|
1638
|
-
static styles: CSSResultGroup;
|
|
1639
|
-
render(): lit.TemplateResult<1>;
|
|
1640
|
-
}
|
|
1641
|
-
declare global {
|
|
1642
|
-
interface HTMLElementTagNameMap {
|
|
1643
|
-
'flow-ui-visually-hidden': FlowVisuallyHidden;
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
/**
|
|
1655
|
+
* @tag flow-ui-color-picker
|
|
1648
1656
|
* @summary Color pickers allow the user to select a color.
|
|
1649
|
-
|
|
1650
|
-
* @status stable
|
|
1651
|
-
* @since 2.0
|
|
1652
|
-
*
|
|
1657
|
+
|
|
1653
1658
|
* @dependency flow-ui-button
|
|
1654
1659
|
* @dependency flow-ui-button-group
|
|
1655
1660
|
* @dependency flow-ui-dropdown
|
|
@@ -1703,11 +1708,11 @@ declare class FlowColorPicker extends FlowRdfElement implements FlowRdfFormContr
|
|
|
1703
1708
|
private readonly formControlController;
|
|
1704
1709
|
private isSafeValue;
|
|
1705
1710
|
private readonly localize;
|
|
1706
|
-
base
|
|
1707
|
-
input
|
|
1708
|
-
dropdown
|
|
1709
|
-
previewButton
|
|
1710
|
-
trigger
|
|
1711
|
+
private base;
|
|
1712
|
+
private input;
|
|
1713
|
+
private dropdown;
|
|
1714
|
+
private previewButton;
|
|
1715
|
+
private trigger;
|
|
1711
1716
|
private hasFocus;
|
|
1712
1717
|
private isDraggingGridHandle;
|
|
1713
1718
|
private isEmpty;
|
|
@@ -1808,8 +1813,11 @@ declare class FlowColorPicker extends FlowRdfElement implements FlowRdfFormContr
|
|
|
1808
1813
|
/** Generates a hex string from HSV values. Hue must be 0-360. All other arguments must be 0-100. */
|
|
1809
1814
|
private getHexString;
|
|
1810
1815
|
private stopNestedEventPropagation;
|
|
1816
|
+
/** @internal */
|
|
1811
1817
|
handleFormatChange(): void;
|
|
1818
|
+
/** @internal */
|
|
1812
1819
|
handleOpacityChange(): void;
|
|
1820
|
+
/** @internal */
|
|
1813
1821
|
handleValueChange(oldValue: string | undefined, newValue: string): void;
|
|
1814
1822
|
/** Sets focus on the color picker. */
|
|
1815
1823
|
focus(options?: FocusOptions): void;
|
|
@@ -1827,12 +1835,162 @@ declare class FlowColorPicker extends FlowRdfElement implements FlowRdfFormContr
|
|
|
1827
1835
|
setCustomValidity(message: string): void;
|
|
1828
1836
|
render(): lit.TemplateResult<1>;
|
|
1829
1837
|
}
|
|
1838
|
+
|
|
1830
1839
|
declare global {
|
|
1831
1840
|
interface HTMLElementTagNameMap {
|
|
1832
1841
|
'flow-ui-color-picker': FlowColorPicker;
|
|
1833
1842
|
}
|
|
1834
1843
|
}
|
|
1835
1844
|
|
|
1845
|
+
interface StringColorStopOptions {
|
|
1846
|
+
type: 'string';
|
|
1847
|
+
}
|
|
1848
|
+
interface NumberColorStopOptions {
|
|
1849
|
+
type: 'number';
|
|
1850
|
+
min?: number;
|
|
1851
|
+
max?: number;
|
|
1852
|
+
step?: number;
|
|
1853
|
+
units?: string;
|
|
1854
|
+
}
|
|
1855
|
+
interface SelectColorStopOptions {
|
|
1856
|
+
type: 'select';
|
|
1857
|
+
options: Array<string | {
|
|
1858
|
+
value: string;
|
|
1859
|
+
name?: string;
|
|
1860
|
+
}>;
|
|
1861
|
+
}
|
|
1862
|
+
type ColorStopOptions = StringColorStopOptions | NumberColorStopOptions | SelectColorStopOptions;
|
|
1863
|
+
interface ColorStopValue {
|
|
1864
|
+
value: string | number;
|
|
1865
|
+
color: string;
|
|
1866
|
+
options?: {
|
|
1867
|
+
regex: boolean;
|
|
1868
|
+
caseSensitive: boolean;
|
|
1869
|
+
};
|
|
1870
|
+
}
|
|
1871
|
+
interface BaseColorMapperField {
|
|
1872
|
+
name?: string;
|
|
1873
|
+
field: string;
|
|
1874
|
+
}
|
|
1875
|
+
interface StringColorMapperField extends StringColorStopOptions, BaseColorMapperField {
|
|
1876
|
+
type: 'string';
|
|
1877
|
+
}
|
|
1878
|
+
interface NumberColorMapperField extends NumberColorStopOptions, BaseColorMapperField {
|
|
1879
|
+
type: 'number';
|
|
1880
|
+
}
|
|
1881
|
+
interface SelectColorMapperField extends SelectColorStopOptions, BaseColorMapperField {
|
|
1882
|
+
type: 'select';
|
|
1883
|
+
}
|
|
1884
|
+
type ColorMapperField = StringColorMapperField | NumberColorMapperField | SelectColorMapperField;
|
|
1885
|
+
interface ColorMapperOptions {
|
|
1886
|
+
fields: Record<string, ColorMapperField>;
|
|
1887
|
+
}
|
|
1888
|
+
interface ColorMapperValue {
|
|
1889
|
+
mode: 'fixed' | 'data-driven';
|
|
1890
|
+
field: string | undefined;
|
|
1891
|
+
type?: 'string' | 'number' | 'select';
|
|
1892
|
+
defaultColor?: string;
|
|
1893
|
+
colorStops: ColorStopValue[];
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
/**
|
|
1897
|
+
* @tagname flow-ui-color-mapper
|
|
1898
|
+
* @summary A component for defining mappings between data values and colors.
|
|
1899
|
+
*
|
|
1900
|
+
*/
|
|
1901
|
+
declare class FlowColorMapper extends FlowRdfElement {
|
|
1902
|
+
static styles: CSSResultGroup;
|
|
1903
|
+
private currentField?;
|
|
1904
|
+
private readonly hasSlotController;
|
|
1905
|
+
private modeRadioGroup;
|
|
1906
|
+
private fixedColorPicker;
|
|
1907
|
+
private fieldSelect;
|
|
1908
|
+
private infoDialog;
|
|
1909
|
+
field: string;
|
|
1910
|
+
options: ColorMapperOptions;
|
|
1911
|
+
value: ColorMapperValue;
|
|
1912
|
+
size: 'small' | 'medium' | 'large';
|
|
1913
|
+
defaultColorStop: boolean;
|
|
1914
|
+
/**
|
|
1915
|
+
* One or more predefined color swatches to display as presets in the color picker. Can include any format the color
|
|
1916
|
+
* picker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a
|
|
1917
|
+
* semicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.
|
|
1918
|
+
*/
|
|
1919
|
+
swatches: string | string[];
|
|
1920
|
+
private handleFixedPickerClick;
|
|
1921
|
+
private handleChange;
|
|
1922
|
+
private emitChange;
|
|
1923
|
+
private handleColorStopRemove;
|
|
1924
|
+
private getAllColorStops;
|
|
1925
|
+
private getColorStopPlaceholder;
|
|
1926
|
+
private fixedColorTemplate;
|
|
1927
|
+
private dataDrivenColorTemplate;
|
|
1928
|
+
private colorStopsTemplate;
|
|
1929
|
+
private infoDialogTemplate;
|
|
1930
|
+
render(): lit.TemplateResult<1>;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
declare global {
|
|
1934
|
+
interface HTMLElementTagNameMap {
|
|
1935
|
+
'flow-ui-color-mapper': FlowColorMapper;
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
/**
|
|
1940
|
+
* @tagname flow-ui-color-stop
|
|
1941
|
+
* @summary A single color stop used by the `flow-ui-color-mapper` component.
|
|
1942
|
+
*
|
|
1943
|
+
*/
|
|
1944
|
+
declare class FlowColorStopComponent extends FlowRdfElement implements FlowRdfFormControl {
|
|
1945
|
+
static styles: CSSResultGroup;
|
|
1946
|
+
private readonly formControlController;
|
|
1947
|
+
private input;
|
|
1948
|
+
private picker;
|
|
1949
|
+
private textOptions;
|
|
1950
|
+
/** The name of the color stop, submitted as a name/value pair with form data. */
|
|
1951
|
+
name: string;
|
|
1952
|
+
/**
|
|
1953
|
+
* By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
1954
|
+
* to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
1955
|
+
* the same document or shadow root for this to work.
|
|
1956
|
+
*/
|
|
1957
|
+
form: string;
|
|
1958
|
+
/** Makes the color stop as a required field. */
|
|
1959
|
+
required: boolean;
|
|
1960
|
+
options: ColorStopOptions;
|
|
1961
|
+
value: ColorStopValue;
|
|
1962
|
+
size: 'small' | 'medium' | 'large';
|
|
1963
|
+
placeholder: boolean;
|
|
1964
|
+
fixed?: string;
|
|
1965
|
+
/**
|
|
1966
|
+
* One or more predefined color swatches to display as presets in the color picker. Can include any format the color
|
|
1967
|
+
* picker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a
|
|
1968
|
+
* semicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.
|
|
1969
|
+
*/
|
|
1970
|
+
swatches: string | string[];
|
|
1971
|
+
get validity(): ValidityState;
|
|
1972
|
+
get validationMessage(): "" | "Invalid regular expression";
|
|
1973
|
+
checkValidity(): boolean;
|
|
1974
|
+
getForm(): HTMLFormElement | null;
|
|
1975
|
+
reportValidity(): boolean;
|
|
1976
|
+
setCustomValidity(message: string): void;
|
|
1977
|
+
private handleRemove;
|
|
1978
|
+
private handleChange;
|
|
1979
|
+
private emitChange;
|
|
1980
|
+
private validate;
|
|
1981
|
+
private textInputTemplate;
|
|
1982
|
+
private numberInputTemplate;
|
|
1983
|
+
private fixedInputTemplate;
|
|
1984
|
+
private selectInputTemplate;
|
|
1985
|
+
render(): lit.TemplateResult<1>;
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
declare global {
|
|
1989
|
+
interface HTMLElementTagNameMap {
|
|
1990
|
+
'flow-ui-color-stop': FlowColorStopComponent;
|
|
1991
|
+
}
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1836
1994
|
/**
|
|
1837
1995
|
* @summary Tags are used as labels to organize things or to indicate a selection.
|
|
1838
1996
|
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/tag
|
|
@@ -1983,11 +2141,9 @@ declare global {
|
|
|
1983
2141
|
}
|
|
1984
2142
|
|
|
1985
2143
|
/**
|
|
2144
|
+
* @tag flow-ui-details
|
|
1986
2145
|
* @summary Details show a brief summary and expand to show additional content.
|
|
1987
|
-
|
|
1988
|
-
* @status stable
|
|
1989
|
-
* @since 2.0
|
|
1990
|
-
*
|
|
2146
|
+
|
|
1991
2147
|
* @dependency flow-ui-icon
|
|
1992
2148
|
*
|
|
1993
2149
|
* @slot - The details' main content.
|
|
@@ -2035,6 +2191,7 @@ declare class FlowDetails extends FlowRdfElement {
|
|
|
2035
2191
|
hide(): Promise<void>;
|
|
2036
2192
|
render(): lit.TemplateResult<1>;
|
|
2037
2193
|
}
|
|
2194
|
+
|
|
2038
2195
|
declare global {
|
|
2039
2196
|
interface HTMLElementTagNameMap {
|
|
2040
2197
|
'flow-ui-details': FlowDetails;
|
|
@@ -2042,11 +2199,9 @@ declare global {
|
|
|
2042
2199
|
}
|
|
2043
2200
|
|
|
2044
2201
|
/**
|
|
2202
|
+
* @tagname flow-ui-dialog
|
|
2045
2203
|
* @summary Dialogs, sometimes called "modals", appear above the page and require the user's immediate attention.
|
|
2046
|
-
|
|
2047
|
-
* @status stable
|
|
2048
|
-
* @since 2.0
|
|
2049
|
-
*
|
|
2204
|
+
|
|
2050
2205
|
* @dependency flow-ui-icon-button
|
|
2051
2206
|
*
|
|
2052
2207
|
* @slot - The dialog's main content.
|
|
@@ -2125,6 +2280,7 @@ declare class FlowDialog extends FlowRdfElement {
|
|
|
2125
2280
|
hide(): Promise<void>;
|
|
2126
2281
|
render(): lit.TemplateResult<1>;
|
|
2127
2282
|
}
|
|
2283
|
+
|
|
2128
2284
|
declare global {
|
|
2129
2285
|
interface HTMLElementTagNameMap {
|
|
2130
2286
|
'flow-ui-dialog': FlowDialog;
|
|
@@ -2132,10 +2288,8 @@ declare global {
|
|
|
2132
2288
|
}
|
|
2133
2289
|
|
|
2134
2290
|
/**
|
|
2291
|
+
* @tagname flow-ui-divider
|
|
2135
2292
|
* @summary Dividers are used to visually separate or group elements.
|
|
2136
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/divider
|
|
2137
|
-
* @status stable
|
|
2138
|
-
* @since 2.0
|
|
2139
2293
|
*
|
|
2140
2294
|
* @cssproperty --color - The color of the divider.
|
|
2141
2295
|
* @cssproperty --width - The width of the divider.
|
|
@@ -2148,6 +2302,7 @@ declare class FlowDivider extends FlowRdfElement {
|
|
|
2148
2302
|
connectedCallback(): void;
|
|
2149
2303
|
handleVerticalChange(): void;
|
|
2150
2304
|
}
|
|
2305
|
+
|
|
2151
2306
|
declare global {
|
|
2152
2307
|
interface HTMLElementTagNameMap {
|
|
2153
2308
|
'flow-ui-divider': FlowDivider;
|
|
@@ -2155,10 +2310,8 @@ declare global {
|
|
|
2155
2310
|
}
|
|
2156
2311
|
|
|
2157
2312
|
/**
|
|
2313
|
+
* @tagname flow-ui-drawer
|
|
2158
2314
|
* @summary Drawers slide in from a container to expose additional options and information.
|
|
2159
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/drawer
|
|
2160
|
-
* @status stable
|
|
2161
|
-
* @since 2.0
|
|
2162
2315
|
*
|
|
2163
2316
|
* @dependency flow-ui-icon-button
|
|
2164
2317
|
*
|
|
@@ -2253,6 +2406,7 @@ declare class FlowDrawer extends FlowRdfElement {
|
|
|
2253
2406
|
hide(): Promise<void>;
|
|
2254
2407
|
render(): lit.TemplateResult<1>;
|
|
2255
2408
|
}
|
|
2409
|
+
|
|
2256
2410
|
declare global {
|
|
2257
2411
|
interface HTMLElementTagNameMap {
|
|
2258
2412
|
'flow-ui-drawer': FlowDrawer;
|
|
@@ -2379,6 +2533,7 @@ declare class FlowUiMap extends FlowRdfElement {
|
|
|
2379
2533
|
* is loading data.
|
|
2380
2534
|
*/
|
|
2381
2535
|
busy: boolean;
|
|
2536
|
+
fixed: boolean;
|
|
2382
2537
|
/**
|
|
2383
2538
|
* The underlying core FlowMap instance. Note that this is
|
|
2384
2539
|
* `undefined` until the map has been initialized.
|
|
@@ -2409,10 +2564,8 @@ declare global {
|
|
|
2409
2564
|
}
|
|
2410
2565
|
|
|
2411
2566
|
/**
|
|
2567
|
+
* @tagname flow-ui-menu-label
|
|
2412
2568
|
* @summary Menu labels are used to describe a group of menu items.
|
|
2413
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/menu-label
|
|
2414
|
-
* @status stable
|
|
2415
|
-
* @since 2.0
|
|
2416
2569
|
*
|
|
2417
2570
|
* @slot - The menu label's content.
|
|
2418
2571
|
*
|
|
@@ -2422,6 +2575,7 @@ declare class FlowMenuLabel extends FlowRdfElement {
|
|
|
2422
2575
|
static styles: CSSResultGroup;
|
|
2423
2576
|
render(): lit.TemplateResult<1>;
|
|
2424
2577
|
}
|
|
2578
|
+
|
|
2425
2579
|
declare global {
|
|
2426
2580
|
interface HTMLElementTagNameMap {
|
|
2427
2581
|
'flow-ui-menu-label': FlowMenuLabel;
|
|
@@ -2429,10 +2583,8 @@ declare global {
|
|
|
2429
2583
|
}
|
|
2430
2584
|
|
|
2431
2585
|
/**
|
|
2586
|
+
* @tagname flow-ui-mutation-observer
|
|
2432
2587
|
* @summary The Mutation Observer component offers a thin, declarative interface to the [`MutationObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).
|
|
2433
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/mutation-observer
|
|
2434
|
-
* @status stable
|
|
2435
|
-
* @since 2.0
|
|
2436
2588
|
*
|
|
2437
2589
|
* @event {{ mutationList: MutationRecord[] }} flow-ui-mutation - Emitted when a mutation occurs.
|
|
2438
2590
|
*
|
|
@@ -2445,85 +2597,36 @@ declare class FlowMutationObserver extends FlowRdfElement {
|
|
|
2445
2597
|
* Watches for changes to attributes. To watch only specific attributes, separate them by a space, e.g.
|
|
2446
2598
|
* `attr="class id title"`. To watch all attributes, use `*`.
|
|
2447
2599
|
*/
|
|
2448
|
-
attr: string;
|
|
2449
|
-
/** Indicates whether or not the attribute's previous value should be recorded when monitoring changes. */
|
|
2450
|
-
attrOldValue: boolean;
|
|
2451
|
-
/** Watches for changes to the character data contained within the node. */
|
|
2452
|
-
charData: boolean;
|
|
2453
|
-
/** Indicates whether or not the previous value of the node's text should be recorded. */
|
|
2454
|
-
charDataOldValue: boolean;
|
|
2455
|
-
/** Watches for the addition or removal of new child nodes. */
|
|
2456
|
-
childList: boolean;
|
|
2457
|
-
/** Disables the observer. */
|
|
2458
|
-
disabled: boolean;
|
|
2459
|
-
connectedCallback(): void;
|
|
2460
|
-
disconnectedCallback(): void;
|
|
2461
|
-
private handleMutation;
|
|
2462
|
-
private startObserver;
|
|
2463
|
-
private stopObserver;
|
|
2464
|
-
handleDisabledChange(): void;
|
|
2465
|
-
handleChange(): void;
|
|
2466
|
-
render(): lit.TemplateResult<1>;
|
|
2467
|
-
}
|
|
2468
|
-
declare global {
|
|
2469
|
-
interface HTMLElementTagNameMap {
|
|
2470
|
-
'flow-ui-mutation-observer': FlowMutationObserver;
|
|
2471
|
-
}
|
|
2472
|
-
}
|
|
2473
|
-
|
|
2474
|
-
/**
|
|
2475
|
-
* @tagname flow-ui-number-stepper
|
|
2476
|
-
* @summary Number steppers are specialized input fields for selecting numbers.
|
|
2477
|
-
*/
|
|
2478
|
-
declare class FlowNumberStepper extends FlowRdfElement implements FlowRdfFormControl {
|
|
2479
|
-
static styles: CSSResultGroup;
|
|
2480
|
-
private readonly formControlController;
|
|
2481
|
-
private _input;
|
|
2482
|
-
private _formatter;
|
|
2483
|
-
/** The name of the input, submitted as a name/value pair with form data. */
|
|
2484
|
-
name: string;
|
|
2485
|
-
value: number | '';
|
|
2486
|
-
step: number;
|
|
2487
|
-
min: number;
|
|
2488
|
-
max: number;
|
|
2489
|
-
format: string;
|
|
2490
|
-
size: 'small' | 'medium' | 'large';
|
|
2491
|
-
placeholder: string;
|
|
2492
|
-
/** Gets the validity state object */
|
|
2493
|
-
get validity(): ValidityState;
|
|
2494
|
-
/** Gets the validation message */
|
|
2495
|
-
get validationMessage(): string;
|
|
2496
|
-
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
2497
|
-
checkValidity(): boolean;
|
|
2498
|
-
/** Gets the associated form, if one exists. */
|
|
2499
|
-
getForm(): HTMLFormElement | null;
|
|
2500
|
-
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
2501
|
-
reportValidity(): boolean;
|
|
2502
|
-
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
2503
|
-
setCustomValidity(message: string): void;
|
|
2504
|
-
firstUpdated(): void;
|
|
2600
|
+
attr: string;
|
|
2601
|
+
/** Indicates whether or not the attribute's previous value should be recorded when monitoring changes. */
|
|
2602
|
+
attrOldValue: boolean;
|
|
2603
|
+
/** Watches for changes to the character data contained within the node. */
|
|
2604
|
+
charData: boolean;
|
|
2605
|
+
/** Indicates whether or not the previous value of the node's text should be recorded. */
|
|
2606
|
+
charDataOldValue: boolean;
|
|
2607
|
+
/** Watches for the addition or removal of new child nodes. */
|
|
2608
|
+
childList: boolean;
|
|
2609
|
+
/** Disables the observer. */
|
|
2610
|
+
disabled: boolean;
|
|
2505
2611
|
connectedCallback(): void;
|
|
2506
2612
|
disconnectedCallback(): void;
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
private clampValue;
|
|
2613
|
+
private handleMutation;
|
|
2614
|
+
private startObserver;
|
|
2615
|
+
private stopObserver;
|
|
2616
|
+
handleDisabledChange(): void;
|
|
2617
|
+
handleChange(): void;
|
|
2513
2618
|
render(): lit.TemplateResult<1>;
|
|
2514
2619
|
}
|
|
2515
2620
|
|
|
2516
2621
|
declare global {
|
|
2517
2622
|
interface HTMLElementTagNameMap {
|
|
2518
|
-
'flow-ui-
|
|
2623
|
+
'flow-ui-mutation-observer': FlowMutationObserver;
|
|
2519
2624
|
}
|
|
2520
2625
|
}
|
|
2521
2626
|
|
|
2522
2627
|
/**
|
|
2628
|
+
* @tagname flow-ui-option
|
|
2523
2629
|
* @summary Options define the selectable items within various form controls such as [select](/components/select).
|
|
2524
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/option
|
|
2525
|
-
* @status stable
|
|
2526
|
-
* @since 2.0
|
|
2527
2630
|
*
|
|
2528
2631
|
* @dependency flow-ui-icon
|
|
2529
2632
|
*
|
|
@@ -2656,10 +2759,8 @@ declare global {
|
|
|
2656
2759
|
}
|
|
2657
2760
|
|
|
2658
2761
|
/**
|
|
2762
|
+
* @tagname flow-ui-progress-bar
|
|
2659
2763
|
* @summary Progress bars are used to show the status of an ongoing operation.
|
|
2660
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/progress-bar
|
|
2661
|
-
* @status stable
|
|
2662
|
-
* @since 2.0
|
|
2663
2764
|
*
|
|
2664
2765
|
* @slot - A label to show inside the progress indicator.
|
|
2665
2766
|
*
|
|
@@ -2683,6 +2784,7 @@ declare class FlowProgressBar extends FlowRdfElement {
|
|
|
2683
2784
|
label: string;
|
|
2684
2785
|
render(): lit.TemplateResult<1>;
|
|
2685
2786
|
}
|
|
2787
|
+
|
|
2686
2788
|
declare global {
|
|
2687
2789
|
interface HTMLElementTagNameMap {
|
|
2688
2790
|
'flow-ui-progress-bar': FlowProgressBar;
|
|
@@ -2690,10 +2792,8 @@ declare global {
|
|
|
2690
2792
|
}
|
|
2691
2793
|
|
|
2692
2794
|
/**
|
|
2795
|
+
* @tagname flow-ui-progress-ring
|
|
2693
2796
|
* @summary Progress rings are used to show the progress of a determinate operation in a circular fashion.
|
|
2694
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/progress-ring
|
|
2695
|
-
* @status stable
|
|
2696
|
-
* @since 2.0
|
|
2697
2797
|
*
|
|
2698
2798
|
* @slot - A label to show inside the ring.
|
|
2699
2799
|
*
|
|
@@ -2719,6 +2819,7 @@ declare class FlowProgressRing extends FlowRdfElement {
|
|
|
2719
2819
|
updated(changedProps: Map<string, unknown>): void;
|
|
2720
2820
|
render(): lit.TemplateResult<1>;
|
|
2721
2821
|
}
|
|
2822
|
+
|
|
2722
2823
|
declare global {
|
|
2723
2824
|
interface HTMLElementTagNameMap {
|
|
2724
2825
|
'flow-ui-progress-ring': FlowProgressRing;
|
|
@@ -2837,9 +2938,12 @@ declare class FlowQueryBuilder extends FlowRdfElement {
|
|
|
2837
2938
|
*/
|
|
2838
2939
|
static registerFieldDefinition<T extends FlowQueryBuilderFieldType>(type: T, fieldDefinition: FlowQueryBuilderFieldDefinition<NoUnion<T>>): void;
|
|
2839
2940
|
/**
|
|
2840
|
-
*
|
|
2941
|
+
* Static helper method to convert a `FlowQueryBuilderRuleSet` to a set of
|
|
2942
|
+
* `where` clauses for inclusion in a Flo.w query definition.
|
|
2943
|
+
|
|
2944
|
+
* @param value A value to test
|
|
2841
2945
|
*/
|
|
2842
|
-
static convertToFlowQuery:
|
|
2946
|
+
static convertToFlowQuery(ruleset: FlowQueryBuilderRuleSet, config: FlowQueryBuilderConfig, options?: FlowQueryBuilderConverterOptions): any;
|
|
2843
2947
|
/**
|
|
2844
2948
|
* Static helper method to determine if supplied argument is
|
|
2845
2949
|
* a `FlowQueryBuilderRule`.
|
|
@@ -2852,7 +2956,6 @@ declare class FlowQueryBuilder extends FlowRdfElement {
|
|
|
2852
2956
|
* a `FlowQueryBuilderRuleSet`.
|
|
2853
2957
|
*
|
|
2854
2958
|
* @param value A value to test
|
|
2855
|
-
* @returns `true` if supplied value is a FlowQueryBuilderRuleSet
|
|
2856
2959
|
*/
|
|
2857
2960
|
static isRuleSet(value: unknown): value is FlowQueryBuilderRuleSet;
|
|
2858
2961
|
/**
|
|
@@ -2862,9 +2965,8 @@ declare class FlowQueryBuilder extends FlowRdfElement {
|
|
|
2862
2965
|
*
|
|
2863
2966
|
* @param ruleset Rule set to filter
|
|
2864
2967
|
* @param options Fields to include or exclude
|
|
2865
|
-
* @returns The filtered rule set
|
|
2866
2968
|
*/
|
|
2867
|
-
static filterRuleSet(
|
|
2969
|
+
static filterRuleSet(ruleSet: FlowQueryBuilderRuleSet, options: {
|
|
2868
2970
|
excludeFields?: string[];
|
|
2869
2971
|
includeFields?: string[];
|
|
2870
2972
|
}): FlowQueryBuilderRuleSet;
|
|
@@ -2873,9 +2975,8 @@ declare class FlowQueryBuilder extends FlowRdfElement {
|
|
|
2873
2975
|
*
|
|
2874
2976
|
* @param ruleSet A `FlowQueryBuilderRuleSet` to rename.
|
|
2875
2977
|
* @param replacements Mapping of string to string for renaming fields.
|
|
2876
|
-
* @returns The renamed rule set.
|
|
2877
2978
|
*/
|
|
2878
|
-
static renameRuleSetFields(
|
|
2979
|
+
static renameRuleSetFields(ruleSet: FlowQueryBuilderRuleSet, replacements: Record<string, string>): FlowQueryBuilderRuleSet;
|
|
2879
2980
|
/**
|
|
2880
2981
|
* Static helper method to recursively apply a transform function to each rule
|
|
2881
2982
|
* in a `FlowQueryBuilderRuleSet`.
|
|
@@ -2889,7 +2990,6 @@ declare class FlowQueryBuilder extends FlowRdfElement {
|
|
|
2889
2990
|
*
|
|
2890
2991
|
* @param ruleSet query builder rule set
|
|
2891
2992
|
* @param transformFn transform function
|
|
2892
|
-
* @returns The modified rule set
|
|
2893
2993
|
*/
|
|
2894
2994
|
static transformRuleSet(ruleSet: FlowQueryBuilderRuleSet, transformFn: (rule: FlowQueryBuilderRule) => FlowQueryBuilderRule | undefined): FlowQueryBuilderRuleSet;
|
|
2895
2995
|
private readonly hasSlotController;
|
|
@@ -3010,10 +3110,8 @@ declare class FormControlController implements ReactiveController {
|
|
|
3010
3110
|
}
|
|
3011
3111
|
|
|
3012
3112
|
/**
|
|
3113
|
+
* @tagname flow-ui-radio-group
|
|
3013
3114
|
* @summary Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.
|
|
3014
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/radio-group
|
|
3015
|
-
* @status stable
|
|
3016
|
-
* @since 2.0
|
|
3017
3115
|
*
|
|
3018
3116
|
* @dependency flow-ui-button-group
|
|
3019
3117
|
*
|
|
@@ -3092,6 +3190,7 @@ declare class FlowRadioGroup extends FlowRdfElement implements FlowRdfFormContro
|
|
|
3092
3190
|
setCustomValidity(message?: string): void;
|
|
3093
3191
|
render(): lit.TemplateResult<1>;
|
|
3094
3192
|
}
|
|
3193
|
+
|
|
3095
3194
|
declare global {
|
|
3096
3195
|
interface HTMLElementTagNameMap {
|
|
3097
3196
|
'flow-ui-radio-group': FlowRadioGroup;
|
|
@@ -3099,12 +3198,9 @@ declare global {
|
|
|
3099
3198
|
}
|
|
3100
3199
|
|
|
3101
3200
|
/**
|
|
3102
|
-
* fdfd
|
|
3103
3201
|
*
|
|
3202
|
+
* @tagname flow-ui-radio
|
|
3104
3203
|
* @summary Radios allow the user to select a single option from a group.
|
|
3105
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/radio
|
|
3106
|
-
* @status stable
|
|
3107
|
-
* @since 2.0
|
|
3108
3204
|
*
|
|
3109
3205
|
* @dependency flow-ui-icon
|
|
3110
3206
|
*
|
|
@@ -3144,6 +3240,7 @@ declare class FlowRadio extends FlowRdfElement {
|
|
|
3144
3240
|
handleDisabledChange(): void;
|
|
3145
3241
|
render(): lit.TemplateResult<1>;
|
|
3146
3242
|
}
|
|
3243
|
+
|
|
3147
3244
|
declare global {
|
|
3148
3245
|
interface HTMLElementTagNameMap {
|
|
3149
3246
|
'flow-ui-radio': FlowRadio;
|
|
@@ -3151,10 +3248,8 @@ declare global {
|
|
|
3151
3248
|
}
|
|
3152
3249
|
|
|
3153
3250
|
/**
|
|
3251
|
+
* @tagname flow-ui-range
|
|
3154
3252
|
* @summary Ranges allow the user to select a single value within a given range using a slider.
|
|
3155
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/range
|
|
3156
|
-
* @status stable
|
|
3157
|
-
* @since 2.0
|
|
3158
3253
|
*
|
|
3159
3254
|
* @slot label - The range's label. Alternatively, you can use the `label` attribute.
|
|
3160
3255
|
* @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.
|
|
@@ -3258,6 +3353,7 @@ declare class FlowRange extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
3258
3353
|
setCustomValidity(message: string): void;
|
|
3259
3354
|
render(): lit.TemplateResult<1>;
|
|
3260
3355
|
}
|
|
3356
|
+
|
|
3261
3357
|
declare global {
|
|
3262
3358
|
interface HTMLElementTagNameMap {
|
|
3263
3359
|
'flow-ui-range': FlowRange;
|
|
@@ -3265,10 +3361,8 @@ declare global {
|
|
|
3265
3361
|
}
|
|
3266
3362
|
|
|
3267
3363
|
/**
|
|
3364
|
+
* @tagname flow-ui-resize-observer
|
|
3268
3365
|
* @summary The Resize Observer component offers a thin, declarative interface to the [`ResizeObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
|
|
3269
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/resize-observer
|
|
3270
|
-
* @status stable
|
|
3271
|
-
* @since 2.0
|
|
3272
3366
|
*
|
|
3273
3367
|
* @slot - One or more elements to watch for resizing.
|
|
3274
3368
|
*
|
|
@@ -3288,6 +3382,7 @@ declare class FlowResizeObserver extends FlowRdfElement {
|
|
|
3288
3382
|
handleDisabledChange(): void;
|
|
3289
3383
|
render(): lit.TemplateResult<1>;
|
|
3290
3384
|
}
|
|
3385
|
+
|
|
3291
3386
|
declare global {
|
|
3292
3387
|
interface HTMLElementTagNameMap {
|
|
3293
3388
|
'flow-ui-resize-observer': FlowResizeObserver;
|
|
@@ -3641,7 +3736,6 @@ declare class FlowSplitView extends FlowRdfElement {
|
|
|
3641
3736
|
* @param caOpen whether panels can be opened to grow space
|
|
3642
3737
|
* @param amount Number of pixels to grow by
|
|
3643
3738
|
* @param dryRun if true, don't actually row panels, just calculate the amount that can be grown
|
|
3644
|
-
* @returns number of pixels actually grown
|
|
3645
3739
|
*/
|
|
3646
3740
|
private growPanels;
|
|
3647
3741
|
private handleCollapseExpand;
|
|
@@ -3649,7 +3743,7 @@ declare class FlowSplitView extends FlowRdfElement {
|
|
|
3649
3743
|
* This is called repeatedly as the user drags a panel divider.
|
|
3650
3744
|
*
|
|
3651
3745
|
* @param event
|
|
3652
|
-
*
|
|
3746
|
+
*
|
|
3653
3747
|
*/
|
|
3654
3748
|
private handleDrag;
|
|
3655
3749
|
private handleDragEnd;
|
|
@@ -3668,7 +3762,6 @@ declare class FlowSplitView extends FlowRdfElement {
|
|
|
3668
3762
|
* @param canClose whether panels can be closed to make space
|
|
3669
3763
|
* @param amount Number of pixels to shrink by
|
|
3670
3764
|
* @param dryRun if true, don't actually shrink panels, just calculate the amount that can be shrunk
|
|
3671
|
-
* @returns number of pixels actually shrunk
|
|
3672
3765
|
*/
|
|
3673
3766
|
private shrinkPanels;
|
|
3674
3767
|
private sizeToPixels;
|
|
@@ -3742,11 +3835,8 @@ declare global {
|
|
|
3742
3835
|
}
|
|
3743
3836
|
|
|
3744
3837
|
/**
|
|
3838
|
+
* @tagname flow-ui-switch
|
|
3745
3839
|
* @summary Switches allow the user to toggle an option on or off.
|
|
3746
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/switch
|
|
3747
|
-
* @status stable
|
|
3748
|
-
* @since 2.0
|
|
3749
|
-
*
|
|
3750
3840
|
* @slot - The switch's label.
|
|
3751
3841
|
*
|
|
3752
3842
|
* @event flow-ui-blur - Emitted when the control loses focus.
|
|
@@ -3819,6 +3909,7 @@ declare class FlowSwitch extends FlowRdfElement implements FlowRdfFormControl {
|
|
|
3819
3909
|
setCustomValidity(message: string): void;
|
|
3820
3910
|
render(): lit.TemplateResult<1>;
|
|
3821
3911
|
}
|
|
3912
|
+
|
|
3822
3913
|
declare global {
|
|
3823
3914
|
interface HTMLElementTagNameMap {
|
|
3824
3915
|
'flow-ui-switch': FlowSwitch;
|
|
@@ -3826,10 +3917,8 @@ declare global {
|
|
|
3826
3917
|
}
|
|
3827
3918
|
|
|
3828
3919
|
/**
|
|
3920
|
+
* @tagname flow-ui-tab-group
|
|
3829
3921
|
* @summary Tab groups organize content into a container that shows one section at a time.
|
|
3830
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/tab-group
|
|
3831
|
-
* @status stable
|
|
3832
|
-
* @since 2.0
|
|
3833
3922
|
*
|
|
3834
3923
|
* @dependency flow-ui-icon-button
|
|
3835
3924
|
*
|
|
@@ -3898,6 +3987,7 @@ declare class FlowTabGroup extends FlowRdfElement {
|
|
|
3898
3987
|
show(panel: string): void;
|
|
3899
3988
|
render(): lit.TemplateResult<1>;
|
|
3900
3989
|
}
|
|
3990
|
+
|
|
3901
3991
|
declare global {
|
|
3902
3992
|
interface HTMLElementTagNameMap {
|
|
3903
3993
|
'flow-ui-tab-group': FlowTabGroup;
|
|
@@ -3905,10 +3995,9 @@ declare global {
|
|
|
3905
3995
|
}
|
|
3906
3996
|
|
|
3907
3997
|
/**
|
|
3998
|
+
* @tagname flow-ui-tab-panel
|
|
3908
3999
|
* @summary Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.
|
|
3909
|
-
|
|
3910
|
-
* @status stable
|
|
3911
|
-
* @since 2.0
|
|
4000
|
+
|
|
3912
4001
|
*
|
|
3913
4002
|
* @slot - The tab panel's content.
|
|
3914
4003
|
*
|
|
@@ -3932,6 +4021,7 @@ declare class FlowTabPanel extends FlowRdfElement {
|
|
|
3932
4021
|
handleActiveChange(): void;
|
|
3933
4022
|
render(): lit.TemplateResult<1>;
|
|
3934
4023
|
}
|
|
4024
|
+
|
|
3935
4025
|
declare global {
|
|
3936
4026
|
interface HTMLElementTagNameMap {
|
|
3937
4027
|
'flow-ui-tab-panel': FlowTabPanel;
|
|
@@ -3939,10 +4029,8 @@ declare global {
|
|
|
3939
4029
|
}
|
|
3940
4030
|
|
|
3941
4031
|
/**
|
|
4032
|
+
* @tagname flow-ui-tab
|
|
3942
4033
|
* @summary Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).
|
|
3943
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/tab
|
|
3944
|
-
* @status stable
|
|
3945
|
-
* @since 2.0
|
|
3946
4034
|
*
|
|
3947
4035
|
* @dependency flow-ui-icon-button
|
|
3948
4036
|
*
|
|
@@ -3990,6 +4078,7 @@ declare class FlowTab extends FlowRdfElement {
|
|
|
3990
4078
|
blur(): void;
|
|
3991
4079
|
render(): lit.TemplateResult<1>;
|
|
3992
4080
|
}
|
|
4081
|
+
|
|
3993
4082
|
declare global {
|
|
3994
4083
|
interface HTMLElementTagNameMap {
|
|
3995
4084
|
'flow-ui-tab': FlowTab;
|
|
@@ -3997,10 +4086,8 @@ declare global {
|
|
|
3997
4086
|
}
|
|
3998
4087
|
|
|
3999
4088
|
/**
|
|
4089
|
+
* @tagname flow-ui-textarea
|
|
4000
4090
|
* @summary Textareas collect data from the user and allow multiple lines of text.
|
|
4001
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/textarea
|
|
4002
|
-
* @status stable
|
|
4003
|
-
* @since 2.0
|
|
4004
4091
|
*
|
|
4005
4092
|
* @slot label - The textarea's label. Alternatively, you can use the `label` attribute.
|
|
4006
4093
|
* @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.
|
|
@@ -4126,6 +4213,7 @@ declare class FlowTextarea extends FlowRdfElement implements FlowRdfFormControl
|
|
|
4126
4213
|
setCustomValidity(message: string): void;
|
|
4127
4214
|
render(): lit.TemplateResult<1>;
|
|
4128
4215
|
}
|
|
4216
|
+
|
|
4129
4217
|
declare global {
|
|
4130
4218
|
interface HTMLElementTagNameMap {
|
|
4131
4219
|
'flow-ui-textarea': FlowTextarea;
|
|
@@ -4208,9 +4296,6 @@ declare global {
|
|
|
4208
4296
|
|
|
4209
4297
|
/**
|
|
4210
4298
|
* @summary A tree item serves as a hierarchical node that lives inside a [tree](/components/tree).
|
|
4211
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/tree-item
|
|
4212
|
-
* @status stable
|
|
4213
|
-
* @since 2.0
|
|
4214
4299
|
*
|
|
4215
4300
|
* @dependency flow-ui-checkbox
|
|
4216
4301
|
* @dependency flow-ui-icon
|
|
@@ -4288,6 +4373,7 @@ declare class FlowTreeItem extends FlowRdfElement {
|
|
|
4288
4373
|
}): FlowTreeItem[];
|
|
4289
4374
|
render(): lit.TemplateResult<1>;
|
|
4290
4375
|
}
|
|
4376
|
+
|
|
4291
4377
|
declare global {
|
|
4292
4378
|
interface HTMLElementTagNameMap {
|
|
4293
4379
|
'flow-ui-tree-item': FlowTreeItem;
|
|
@@ -4295,10 +4381,8 @@ declare global {
|
|
|
4295
4381
|
}
|
|
4296
4382
|
|
|
4297
4383
|
/**
|
|
4384
|
+
* @tagname flow-ui-tree
|
|
4298
4385
|
* @summary Trees allow you to display a hierarchical list of selectable [tree items](/components/tree-item). Items with children can be expanded and collapsed as desired by the user.
|
|
4299
|
-
* @documentation https://developer.emu-analytics.net/docs/flow-ui-rdf/components/tree
|
|
4300
|
-
* @status stable
|
|
4301
|
-
* @since 2.0
|
|
4302
4386
|
*
|
|
4303
4387
|
* @event {{ selection: FlowTreeItem[] }} flow-ui-selection-change - Emitted when a tree item is selected or deselected.
|
|
4304
4388
|
*
|
|
@@ -4351,163 +4435,13 @@ declare class FlowTree extends FlowRdfElement {
|
|
|
4351
4435
|
getFocusableItems(): FlowTreeItem[];
|
|
4352
4436
|
render(): lit.TemplateResult<1>;
|
|
4353
4437
|
}
|
|
4354
|
-
declare global {
|
|
4355
|
-
interface HTMLElementTagNameMap {
|
|
4356
|
-
'flow-ui-tree': FlowTree;
|
|
4357
|
-
}
|
|
4358
|
-
}
|
|
4359
|
-
|
|
4360
|
-
interface BaseColorStopOptions {
|
|
4361
|
-
type: string;
|
|
4362
|
-
label?: string;
|
|
4363
|
-
}
|
|
4364
|
-
interface StringColorStopOptions {
|
|
4365
|
-
type: 'string';
|
|
4366
|
-
}
|
|
4367
|
-
interface NumberColorStopOptions {
|
|
4368
|
-
type: 'number';
|
|
4369
|
-
min?: number;
|
|
4370
|
-
max?: number;
|
|
4371
|
-
step?: number;
|
|
4372
|
-
units?: string;
|
|
4373
|
-
}
|
|
4374
|
-
interface SelectColorStopOptions {
|
|
4375
|
-
type: 'select';
|
|
4376
|
-
options: Array<string | {
|
|
4377
|
-
value: string;
|
|
4378
|
-
name?: string;
|
|
4379
|
-
}>;
|
|
4380
|
-
}
|
|
4381
|
-
type ColorStopOptions = StringColorStopOptions | NumberColorStopOptions | SelectColorStopOptions;
|
|
4382
|
-
interface ColorStopValue {
|
|
4383
|
-
value: string | number;
|
|
4384
|
-
color: string;
|
|
4385
|
-
options?: {
|
|
4386
|
-
regex: boolean;
|
|
4387
|
-
caseSensitive: boolean;
|
|
4388
|
-
};
|
|
4389
|
-
}
|
|
4390
|
-
interface BaseColorMapperField {
|
|
4391
|
-
name?: string;
|
|
4392
|
-
field: string;
|
|
4393
|
-
}
|
|
4394
|
-
interface StringColorMapperField extends StringColorStopOptions, BaseColorMapperField {
|
|
4395
|
-
type: 'string';
|
|
4396
|
-
}
|
|
4397
|
-
interface NumberColorMapperField extends NumberColorStopOptions, BaseColorMapperField {
|
|
4398
|
-
type: 'number';
|
|
4399
|
-
}
|
|
4400
|
-
interface SelectColorMapperField extends SelectColorStopOptions, BaseColorMapperField {
|
|
4401
|
-
type: 'select';
|
|
4402
|
-
}
|
|
4403
|
-
type ColorMapperField = StringColorMapperField | NumberColorMapperField | SelectColorMapperField;
|
|
4404
|
-
interface ColorMapperOptions {
|
|
4405
|
-
fields: Record<string, ColorMapperField>;
|
|
4406
|
-
}
|
|
4407
|
-
interface ColorMapperValue {
|
|
4408
|
-
mode: 'fixed' | 'data-driven';
|
|
4409
|
-
field: string | undefined;
|
|
4410
|
-
type?: 'string' | 'number' | 'select';
|
|
4411
|
-
defaultColor?: string;
|
|
4412
|
-
colorStops: ColorStopValue[];
|
|
4413
|
-
}
|
|
4414
|
-
|
|
4415
|
-
/**
|
|
4416
|
-
* @tagname flow-ui-color-mapper
|
|
4417
|
-
* @summary A component for defining mappings between data values and colors.
|
|
4418
|
-
*
|
|
4419
|
-
*/
|
|
4420
|
-
declare class FlowColorMapper extends FlowRdfElement {
|
|
4421
|
-
static styles: CSSResultGroup;
|
|
4422
|
-
private currentField?;
|
|
4423
|
-
private readonly hasSlotController;
|
|
4424
|
-
modeRadioGroup: FlowRadioGroup;
|
|
4425
|
-
fixedColorPicker: FlowColorPicker;
|
|
4426
|
-
fieldSelect: FlowSelect;
|
|
4427
|
-
infoDialog: FlowDialog;
|
|
4428
|
-
field: string;
|
|
4429
|
-
options: ColorMapperOptions;
|
|
4430
|
-
value: ColorMapperValue;
|
|
4431
|
-
size: 'small' | 'medium' | 'large';
|
|
4432
|
-
defaultColorStop: boolean;
|
|
4433
|
-
/**
|
|
4434
|
-
* One or more predefined color swatches to display as presets in the color picker. Can include any format the color
|
|
4435
|
-
* picker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a
|
|
4436
|
-
* semicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.
|
|
4437
|
-
*/
|
|
4438
|
-
swatches: string | string[];
|
|
4439
|
-
private handleFixedPickerClick;
|
|
4440
|
-
private handleChange;
|
|
4441
|
-
private emitChange;
|
|
4442
|
-
private handleColorStopRemove;
|
|
4443
|
-
handleInfoClick(): void;
|
|
4444
|
-
private getAllColorStops;
|
|
4445
|
-
private getColorStopPlaceholder;
|
|
4446
|
-
private fixedColorTemplate;
|
|
4447
|
-
private dataDrivenColorTemplate;
|
|
4448
|
-
private colorStopsTemplate;
|
|
4449
|
-
private infoDialogTemplate;
|
|
4450
|
-
render(): lit.TemplateResult<1>;
|
|
4451
|
-
}
|
|
4452
4438
|
|
|
4453
|
-
/**
|
|
4454
|
-
* @tagname flow-ui-color-stop
|
|
4455
|
-
* @summary A single color stop used by the `flow-ui-color-mapper` component.
|
|
4456
|
-
*
|
|
4457
|
-
*/
|
|
4458
|
-
declare class FlowColorStopComponent extends FlowRdfElement implements FlowRdfFormControl {
|
|
4459
|
-
static styles: CSSResultGroup;
|
|
4460
|
-
private readonly formControlController;
|
|
4461
|
-
input: HTMLInputElement;
|
|
4462
|
-
picker: FlowColorPicker;
|
|
4463
|
-
tooltip: FlowTooltip;
|
|
4464
|
-
textOptions: FlowToolButtonGroup;
|
|
4465
|
-
/** The name of the color stop, submitted as a name/value pair with form data. */
|
|
4466
|
-
name: string;
|
|
4467
|
-
/**
|
|
4468
|
-
* By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
4469
|
-
* to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
4470
|
-
* the same document or shadow root for this to work.
|
|
4471
|
-
*/
|
|
4472
|
-
form: string;
|
|
4473
|
-
/** Makes the color stop as a required field. */
|
|
4474
|
-
required: boolean;
|
|
4475
|
-
options: ColorStopOptions;
|
|
4476
|
-
value: ColorStopValue;
|
|
4477
|
-
size: 'small' | 'medium' | 'large';
|
|
4478
|
-
placeholder: boolean;
|
|
4479
|
-
fixed?: string;
|
|
4480
|
-
/**
|
|
4481
|
-
* One or more predefined color swatches to display as presets in the color picker. Can include any format the color
|
|
4482
|
-
* picker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a
|
|
4483
|
-
* semicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.
|
|
4484
|
-
*/
|
|
4485
|
-
swatches: string | string[];
|
|
4486
|
-
get validity(): ValidityState;
|
|
4487
|
-
get validationMessage(): "" | "Invalid regular expression";
|
|
4488
|
-
checkValidity(): boolean;
|
|
4489
|
-
getForm(): HTMLFormElement | null;
|
|
4490
|
-
reportValidity(): boolean;
|
|
4491
|
-
setCustomValidity(message: string): void;
|
|
4492
|
-
private handleRemove;
|
|
4493
|
-
private handleChange;
|
|
4494
|
-
private emitChange;
|
|
4495
|
-
private validate;
|
|
4496
|
-
private textInputTemplate;
|
|
4497
|
-
private numberInputTemplate;
|
|
4498
|
-
private fixedInputTemplate;
|
|
4499
|
-
private selectInputTemplate;
|
|
4500
|
-
render(): lit.TemplateResult<1>;
|
|
4501
|
-
}
|
|
4502
4439
|
declare global {
|
|
4503
4440
|
interface HTMLElementTagNameMap {
|
|
4504
|
-
'flow-ui-
|
|
4441
|
+
'flow-ui-tree': FlowTree;
|
|
4505
4442
|
}
|
|
4506
4443
|
}
|
|
4507
4444
|
|
|
4508
|
-
declare function colorMapperValueToMaplibreExpression(value: ColorMapperValue): string;
|
|
4509
|
-
declare function escapeMaplibreString(value: string): string;
|
|
4510
|
-
|
|
4511
4445
|
/**
|
|
4512
4446
|
* @tagname flow-ui-tool-button-group
|
|
4513
4447
|
* @summary Tool buttons groups are used to build toolbars.
|
|
@@ -4736,10 +4670,13 @@ declare global {
|
|
|
4736
4670
|
}
|
|
4737
4671
|
}
|
|
4738
4672
|
|
|
4739
|
-
type
|
|
4673
|
+
type FlowDragEvent = CustomEvent<{
|
|
4674
|
+
x: number;
|
|
4675
|
+
y: number;
|
|
4676
|
+
}>;
|
|
4740
4677
|
declare global {
|
|
4741
4678
|
interface GlobalEventHandlersEventMap {
|
|
4742
|
-
'flow-ui-drag
|
|
4679
|
+
'flow-ui-drag': FlowDragEvent;
|
|
4743
4680
|
}
|
|
4744
4681
|
}
|
|
4745
4682
|
|
|
@@ -4750,13 +4687,10 @@ declare global {
|
|
|
4750
4687
|
}
|
|
4751
4688
|
}
|
|
4752
4689
|
|
|
4753
|
-
type
|
|
4754
|
-
x: number;
|
|
4755
|
-
y: number;
|
|
4756
|
-
}>;
|
|
4690
|
+
type FlowDragStartEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
4757
4691
|
declare global {
|
|
4758
4692
|
interface GlobalEventHandlersEventMap {
|
|
4759
|
-
'flow-ui-drag':
|
|
4693
|
+
'flow-ui-drag-start': FlowDragStartEvent;
|
|
4760
4694
|
}
|
|
4761
4695
|
}
|
|
4762
4696
|
|
|
@@ -4849,6 +4783,15 @@ declare global {
|
|
|
4849
4783
|
}
|
|
4850
4784
|
}
|
|
4851
4785
|
|
|
4786
|
+
type FlowMapLoadEvent = CustomEvent<{
|
|
4787
|
+
map: FlowMap;
|
|
4788
|
+
}>;
|
|
4789
|
+
declare global {
|
|
4790
|
+
interface GlobalEventHandlersEventMap {
|
|
4791
|
+
'flow-ui-map-load': FlowMapLoadEvent;
|
|
4792
|
+
}
|
|
4793
|
+
}
|
|
4794
|
+
|
|
4852
4795
|
type FlowMutationEvent = CustomEvent<{
|
|
4853
4796
|
mutationList: MutationRecord[];
|
|
4854
4797
|
}>;
|
|
@@ -4858,6 +4801,13 @@ declare global {
|
|
|
4858
4801
|
}
|
|
4859
4802
|
}
|
|
4860
4803
|
|
|
4804
|
+
type FlowPanelToggleEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
4805
|
+
declare global {
|
|
4806
|
+
interface GlobalEventHandlersEventMap {
|
|
4807
|
+
'flow-ui-panel-toggle': FlowPanelToggleEvent;
|
|
4808
|
+
}
|
|
4809
|
+
}
|
|
4810
|
+
|
|
4861
4811
|
type FlowRemoveEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
4862
4812
|
declare global {
|
|
4863
4813
|
interface GlobalEventHandlersEventMap {
|
|
@@ -4950,13 +4900,6 @@ declare global {
|
|
|
4950
4900
|
}
|
|
4951
4901
|
}
|
|
4952
4902
|
|
|
4953
|
-
type FlowPanelToggleEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
4954
|
-
declare global {
|
|
4955
|
-
interface GlobalEventHandlersEventMap {
|
|
4956
|
-
'flow-ui-panel-toggle': FlowPanelToggleEvent;
|
|
4957
|
-
}
|
|
4958
|
-
}
|
|
4959
|
-
|
|
4960
4903
|
/** Gets a list of all supported animation names. */
|
|
4961
4904
|
declare function getAnimationNames(): string[];
|
|
4962
4905
|
/** Gets a list of all supported easing function names. */
|
|
@@ -5002,4 +4945,41 @@ declare function unregisterIconLibrary(name: string): void;
|
|
|
5002
4945
|
declare function setDefaultLocale(locale: string): void;
|
|
5003
4946
|
declare function setDefaultTimeZone(timeZone: string): void;
|
|
5004
4947
|
|
|
5005
|
-
|
|
4948
|
+
/**
|
|
4949
|
+
* Given a FlowQueryBuilderRuleSet this function will recursively filter rules.
|
|
4950
|
+
*
|
|
4951
|
+
* This can be used to sanitize user queries before they are executed.
|
|
4952
|
+
*
|
|
4953
|
+
* @param ruleset Rule set to filter
|
|
4954
|
+
* @param options Fields to include or exclude
|
|
4955
|
+
*/
|
|
4956
|
+
declare function filterRuleSet(ruleset: FlowQueryBuilderRuleSet, options: {
|
|
4957
|
+
excludeFields?: string[];
|
|
4958
|
+
includeFields?: string[];
|
|
4959
|
+
}): FlowQueryBuilderRuleSet;
|
|
4960
|
+
declare function renameRuleSetFields(ruleset: FlowQueryBuilderRuleSet, replacements: Record<string, string>): FlowQueryBuilderRuleSet;
|
|
4961
|
+
/**
|
|
4962
|
+
* Given a FlowQueryBuilderRuleSet this function will recursively apply
|
|
4963
|
+
* a transform function to each rule.
|
|
4964
|
+
*
|
|
4965
|
+
* The transform fn should expect a single FlowQueryBuilderRule and return:
|
|
4966
|
+
*
|
|
4967
|
+
* - the same rule unmodifed or modified in place
|
|
4968
|
+
* - `undefined` to exclude the rule from the rule set
|
|
4969
|
+
*
|
|
4970
|
+
* This can be used to sanitize rule sets before they are used to perform queries.
|
|
4971
|
+
*
|
|
4972
|
+
* @param ruleSet query builder rule set
|
|
4973
|
+
* @param transformFn transform function
|
|
4974
|
+
*/
|
|
4975
|
+
declare function transformRuleSet(ruleSet: FlowQueryBuilderRuleSet, transformFn: (rule: FlowQueryBuilderRule) => FlowQueryBuilderRule | undefined, clone?: boolean): FlowQueryBuilderRuleSet;
|
|
4976
|
+
/**
|
|
4977
|
+
* Helper functions to determine if supplied argument is a FlowQueryBuilderRule or FlowQueryBuilderRuleSet
|
|
4978
|
+
*/
|
|
4979
|
+
declare const isRule: (r: unknown) => r is FlowQueryBuilderRule<any>;
|
|
4980
|
+
declare const isRuleSet: (r: unknown) => r is FlowQueryBuilderRuleSet;
|
|
4981
|
+
declare const isRuleOrRuleset: (r: unknown) => r is FlowQueryBuilderRuleSet | FlowQueryBuilderRule<any>;
|
|
4982
|
+
|
|
4983
|
+
declare const converter: FlowQueryBuilderConverter;
|
|
4984
|
+
|
|
4985
|
+
export { FlowQueryBuilderConfig, FlowQueryBuilderConverter, FlowQueryBuilderConverterOptions, FlowQueryBuilderDateField, FlowQueryBuilderDateTimeField, FlowQueryBuilderDateTimeFieldBase, FlowQueryBuilderField, FlowQueryBuilderFieldBase, FlowQueryBuilderFieldDefinition, FlowQueryBuilderFieldMap, FlowQueryBuilderFieldType, FlowQueryBuilderFieldTypeMap, FlowQueryBuilderMultiSelectField, FlowQueryBuilderNumberField, FlowQueryBuilderOption, FlowQueryBuilderRule, FlowQueryBuilderRuleSet, FlowQueryBuilderSelectField, FlowQueryBuilderStringField, FlowQueryBuilderTemplateFn, FlowQueryBuilderTimeField, FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, FlowAfterExpandEvent as FlowUiAfterExpandEvent, FlowAfterHideEvent as FlowUiAfterHideEvent, FlowAfterShowEvent as FlowUiAfterShowEvent, FlowAlert as FlowUiAlert, SlAnimation as FlowUiAnimation, FlowAvatar as FlowUiAvatar, FlowBadge as FlowUiBadge, FlowBlurEvent as FlowUiBlurEvent, FlowBreadcrumb as FlowUiBreadcrumb, FlowBreadcrumbItem as FlowUiBreadcrumbItem, FlowButton as FlowUiButton, FlowButtonGroup as FlowUiButtonGroup, FlowCalendar as FlowUiCalendar, FlowCancelEvent as FlowUiCancelEvent, FlowCard as FlowUiCard, FlowCarousel as FlowUiCarousel, FlowCarouselItem as FlowUiCarouselItem, FlowChangeEvent as FlowUiChangeEvent, FlowChart as FlowUiChart, FlowCheckbox as FlowUiCheckbox, FlowClearEvent as FlowUiClearEvent, FlowCloseEvent as FlowUiCloseEvent, FlowCollapseEvent as FlowUiCollapseEvent, FlowColorMapper as FlowUiColorMapper, FlowColorPicker as FlowUiColorPicker, FlowColorStopComponent as FlowUiColorStop, FlowDatetimePicker as FlowUiDateTimePicker, FlowDetails as FlowUiDetails, FlowDialog as FlowUiDialog, FlowDivider as FlowUiDivider, FlowDragEvent as FlowUiDragEvent, FlowDragStartEvent as FlowUiDragStartEvent, FlowDrawer as FlowUiDrawer, SlDropdown as FlowUiDropdown, FlowErrorEvent as FlowUiErrorEvent, FlowExpandEvent as FlowUiExpandEvent, FlowFinishEvent as FlowUiFinishEvent, FlowFocusEvent as FlowUiFocusEvent, FlowGauge as FlowUiGauge, FlowHideEvent as FlowUiHideEvent, FlowHoverEvent as FlowUiHoverEvent, FlowIcon as FlowUiIcon, FlowIconButton as FlowUiIconButton, FlowInitialFocusEvent as FlowUiInitialFocusEvent, FlowInput as FlowUiInput, FlowInputEvent as FlowUiInputEvent, FlowInvalidEvent as FlowUiInvalidEvent, FlowLazyChangeEvent as FlowUiLazyChangeEvent, FlowLazyLoadEvent as FlowUiLazyLoadEvent, FlowLoadEvent as FlowUiLoadEvent, FlowUiMap, FlowMapLoadEvent as FlowUiMapLoadEvent, FlowMenu as FlowUiMenu, FlowMenuItem as FlowUiMenuItem, FlowMenuLabel as FlowUiMenuLabel, FlowMutationEvent as FlowUiMutationEvent, FlowMutationObserver as FlowUiMutationObserver, FlowOption as FlowUiOption, FlowPanel as FlowUiPanel, FlowPanelHeader as FlowUiPanelHeader, FlowPanelToggleEvent as FlowUiPanelToggleEvent, SlPopup as FlowUiPopup, FlowProgressBar as FlowUiProgressBar, FlowProgressRing as FlowUiProgressRing, FlowQueryBuilder as FlowUiQueryBuilder, FlowRadio as FlowUiRadio, FlowRadioGroup as FlowUiRadioGroup, FlowRange as FlowUiRange, FlowRemoveEvent as FlowUiRemoveEvent, FlowRepositionEvent as FlowUiRepositionEvent, FlowRequestCloseEvent as FlowUiRequestCloseEvent, FlowResizeEvent as FlowUiResizeEvent, FlowResizeObserver as FlowUiResizeObserver, FlowScrollView as FlowUiScrollView, FlowSelect as FlowUiSelect, FlowSelectEvent as FlowUiSelectEvent, FlowSelectionChangeEvent as FlowUiSelectionChangeEvent, FlowShowEvent as FlowUiShowEvent, FlowSlideChange as FlowUiSlideChange, FlowSpinner as FlowUiSpinner, FlowSplitView as FlowUiSplitView, FlowPanelDivider as FlowUiSplitViewDivider, FlowSplitViewPane as FlowUiSplitViewPane, FlowSplitViewToggleButton as FlowUiSplitViewToggleButton, FlowStartEvent as FlowUiStartEvent, FlowStepper as FlowUiStepper, FlowStepperPanel as FlowUiStepperPanel, FlowSwitch as FlowUiSwitch, FlowTab as FlowUiTab, FlowTabGroup as FlowUiTabGroup, FlowTabHideEvent as FlowUiTabHideEvent, FlowTabPanel as FlowUiTabPanel, FlowTabShowEvent as FlowUiTabShowEvent, FlowTag as FlowUiTag, FlowTextarea as FlowUiTextarea, FlowTimer as FlowUiTimer, FlowToolButton as FlowUiToolButton, FlowToolButtonGroup as FlowUiToolButtonGroup, FlowTooltip as FlowUiTooltip, FlowTree as FlowUiTree, FlowTreeItem as FlowUiTreeItem, FlowDragEndEvent as FlowUiUiDragEndEvent, addIcons, filterRuleSet, converter as flowQueryConverter, getAnimationNames, getBasePath, getEasingNames, initializeChartJs, isRule, isRuleOrRuleset, isRuleSet, registerChartComponent, registerIconLibrary, renameRuleSetFields, setBasePath, setDefaultLocale, setDefaultTimeZone, transformRuleSet, unregisterIconLibrary };
|