@emuanalytics/flow-rdf-ui 4.4.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { FlowCoreMap } from '@emuanalytics/flow-rdf-core';
2
2
  import * as lit_html from 'lit-html';
3
3
  import * as lit from 'lit';
4
- import { LitElement, CSSResultGroup, ReactiveController, ReactiveControllerHost, TemplateResult, PropertyValues, nothing, PropertyValueMap } from 'lit';
4
+ import { LitElement, CSSResultGroup, ReactiveController, ReactiveControllerHost, TemplateResult, nothing, PropertyValues, PropertyValueMap } from 'lit';
5
5
  import * as chartjs_chart_matrix from 'chartjs-chart-matrix';
6
6
  import * as chart_js from 'chart.js';
7
7
  import { ChartComponentLike, Chart, ChartTypeRegistry, ChartOptions, ChartData, Plugin } from 'chart.js';
@@ -207,13 +207,6 @@ declare global {
207
207
  }
208
208
  }
209
209
 
210
- type FlowLazyChangeEvent = CustomEvent<Record<PropertyKey, never>>;
211
- declare global {
212
- interface GlobalEventHandlersEventMap {
213
- 'flow-ui-lazy-change': FlowLazyChangeEvent;
214
- }
215
- }
216
-
217
210
  type FlowLazyLoadEvent = CustomEvent<Record<PropertyKey, never>>;
218
211
  declare global {
219
212
  interface GlobalEventHandlersEventMap {
@@ -8385,6 +8378,432 @@ declare const diagramNodeSelected: (_node: DiagramNode | undefined) => lit_html_
8385
8378
  */
8386
8379
  type DiagramReference = string | HTMLElement | null | undefined;
8387
8380
 
8381
+ /**
8382
+ * @tagname flow-ui-checkbox
8383
+ * @summary Checkboxes allow the user to toggle an option on or off.
8384
+
8385
+ *
8386
+ * @dependency flow-ui-icon
8387
+ *
8388
+ * @slot - The checkbox's label.
8389
+ *
8390
+ * @event flow-ui-blur - Emitted when the checkbox loses focus.
8391
+ * @event flow-ui-change - Emitted when the checked state changes.
8392
+ * @event flow-ui-focus - Emitted when the checkbox gains focus.
8393
+ * @event flow-ui-input - Emitted when the checkbox receives input.
8394
+ * @event flow-ui-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
8395
+ *
8396
+ * @csspart base - The component's base wrapper.
8397
+ * @csspart control - The square container that wraps the checkbox's checked state.
8398
+ * @csspart control--checked - Matches the control part when the checkbox is checked.
8399
+ * @csspart control--indeterminate - Matches the control part when the checkbox is indeterminate.
8400
+ * @csspart checked-icon - The checked icon, an `<flow-ui-icon>` element.
8401
+ * @csspart indeterminate-icon - The indeterminate icon, an `<flow-ui-icon>` element.
8402
+ * @csspart label - The container that wraps the checkbox's label.
8403
+ */
8404
+ declare class FlowUiCheckbox extends FlowRdfFormControl {
8405
+ static tagName: string;
8406
+ static styles: CSSResultGroup;
8407
+ static dependencies: (typeof FlowUiIcon)[];
8408
+ private readonly hasSlotController;
8409
+ private readonly formControlController;
8410
+ private input;
8411
+ private hasFocus;
8412
+ /** @internal */
8413
+ label: string;
8414
+ /** The name of the checkbox, submitted as a name/value pair with form data. */
8415
+ name: string;
8416
+ /** The current value of the checkbox. */
8417
+ value: string;
8418
+ /** The checkbox's size. */
8419
+ size: 'small' | 'medium' | 'large';
8420
+ /** Disables the checkbox. */
8421
+ disabled: boolean;
8422
+ /** Draws the checkbox in a checked state. */
8423
+ checked: boolean;
8424
+ /**
8425
+ * Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
8426
+ * all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
8427
+ */
8428
+ indeterminate: boolean;
8429
+ /** The default value of the form control. Primarily used for resetting the form control. */
8430
+ defaultChecked: boolean;
8431
+ /** Display the checkbox using a reversed style with left-aligned label. */
8432
+ reverse: boolean;
8433
+ /**
8434
+ * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
8435
+ * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
8436
+ * the same document or shadow root for this to work.
8437
+ */
8438
+ form: string;
8439
+ /** Makes the checkbox a required field. */
8440
+ required: boolean;
8441
+ connectedCallback(): void;
8442
+ /** Gets the validity state object */
8443
+ get validity(): ValidityState;
8444
+ /** Gets the validation message */
8445
+ get validationMessage(): string;
8446
+ firstUpdated(): void;
8447
+ private handleClick;
8448
+ private handleBlur;
8449
+ private handleInput;
8450
+ private handleInvalid;
8451
+ private handleFocus;
8452
+ /** @internal */
8453
+ handleDisabledChange(): void;
8454
+ /** @internal */
8455
+ handleStateChange(): void;
8456
+ /** Simulates a click on the checkbox. */
8457
+ click(): void;
8458
+ /** Sets focus on the checkbox. */
8459
+ focus(options?: FocusOptions): void;
8460
+ /** Removes focus from the checkbox. */
8461
+ blur(): void;
8462
+ /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
8463
+ checkValidity(): boolean;
8464
+ /** Gets the associated form, if one exists. */
8465
+ getForm(): HTMLFormElement | null;
8466
+ /** Checks for validity and shows the browser's validation message if the control is invalid. */
8467
+ reportValidity(): boolean;
8468
+ /**
8469
+ * Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear
8470
+ * the custom validation message, call this method with an empty string.
8471
+ */
8472
+ setCustomValidity(message: string): void;
8473
+ render(): lit_html.TemplateResult<1>;
8474
+ }
8475
+
8476
+ /**
8477
+ * @tagname flow-ui-progress-ring
8478
+ * @summary Progress rings are used to show the progress of a determinate operation in a circular fashion.
8479
+ *
8480
+ * @slot label - A label to show inside the ring.
8481
+ *
8482
+ * @csspart base - The component's base wrapper.
8483
+ * @csspart label - The progress ring label.
8484
+ *
8485
+ * @cssproperty --size - The diameter of the progress ring (cannot be a percentage).
8486
+ * @cssproperty --track-width - The width of the track.
8487
+ * @cssproperty --track-color - The color of the track.
8488
+ * @cssproperty --indicator-width - The width of the indicator. Defaults to the track width.
8489
+ * @cssproperty --indicator-color - The color of the indicator.
8490
+ * @cssproperty --indicator-transition-duration - The duration of the indicator's transition when the value changes.
8491
+ */
8492
+ declare class FlowUiProgressRing extends FlowRdfElement {
8493
+ static tagName: string;
8494
+ static styles: CSSResultGroup;
8495
+ private readonly localize;
8496
+ /** A custom label for assistive devices. */
8497
+ label: string;
8498
+ /** The current progress as a percentage, 0 to 100. */
8499
+ value: number;
8500
+ /** If the progress animation is indeterminate */
8501
+ indeterminate: boolean;
8502
+ /** The progress ring's theme variant */
8503
+ variant: 'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger';
8504
+ /** The progress ring's size */
8505
+ size: 'small' | 'medium' | 'large';
8506
+ connectedCallback(): void;
8507
+ render(): lit_html.TemplateResult<1>;
8508
+ }
8509
+
8510
+ /** A node of a [tree](/flow-rdf/flow-rdf-ui/web-components/flow-ui-tree), given in its `nodes`. */
8511
+ interface FlowTreeNode {
8512
+ /** The node ID, which the tree's `value` and `expandedIds` hold. It must be unique in the tree. */
8513
+ id: string;
8514
+ /** The text of the node's row. */
8515
+ label: string;
8516
+ /** The child nodes. A node with children is a parent; a node without them is a leaf. */
8517
+ children?: FlowTreeNode[];
8518
+ /** The name of a `flow-ui-icon` to show before the label. */
8519
+ icon?: string;
8520
+ /** The icon library of `icon`. If not specified, the default library is used. */
8521
+ iconLibrary?: string;
8522
+ /** Set to `true` to disable the node: it cannot be selected, and a parent's check state ignores it. */
8523
+ disabled?: boolean;
8524
+ /**
8525
+ * Set to `true` to mark the node as having children that are not loaded yet. Its row shows an expand button, and
8526
+ * expanding it emits `flow-ui-node-lazy-load`.
8527
+ */
8528
+ lazy?: boolean;
8529
+ }
8530
+ /** A visible row of a tree: a node and its place in the tree. */
8531
+ interface FlowTreeRow {
8532
+ /** The row's node. */
8533
+ node: FlowTreeNode;
8534
+ /** The depth of the node, from 1 for the top-level nodes. */
8535
+ level: number;
8536
+ /** The row of the node's parent, or `null` for a top-level node. */
8537
+ parent: FlowTreeRow | null;
8538
+ /** The position of the node among its visible siblings, from 1. */
8539
+ posinset: number;
8540
+ /** The number of visible siblings, the node included. */
8541
+ setsize: number;
8542
+ }
8543
+ /** The check state of a tree node. A parent in multiple selection is `mixed` when some of its leaves are selected. */
8544
+ type FlowTreeCheckState = 'checked' | 'unchecked' | 'mixed';
8545
+ /**
8546
+ * The selection mode of a tree:
8547
+ *
8548
+ * - `multiple`: checkboxes; leaves are selected, and a parent selects or deselects its leaves.
8549
+ * - `single`: one node, parent or leaf.
8550
+ * - `leaf`: one leaf; a click on a parent expands or collapses it.
8551
+ * - `none`: no selection; a click expands or collapses a parent.
8552
+ */
8553
+ type FlowTreeSelectionMode = 'single' | 'multiple' | 'leaf' | 'none';
8554
+ /**
8555
+ * The tree component shows a hierarchy of nodes that users can expand, collapse and select. Give it the nodes as data,
8556
+ * in `nodes`, or write them as [tree item](./flow-ui-tree-item) markup, which the tree reads while `nodes` is not set.
8557
+ * The tree renders only the rows in view, so it stays fast with tens of thousands of nodes.
8558
+ *
8559
+ * Without a height, the tree is as tall as its rows, and renders the ones in view of the elements that clip it, such as
8560
+ * a scrollable `flow-ui-panel`. Given a height or a max-height, it scrolls its rows itself.
8561
+ *
8562
+ * The tree's width comes from its container: it fills a block container, and its labels end in an ellipsis when they
8563
+ * do not fit. Where the container sizes to its content, such as a flex row, the tree is `--default-width` wide, whatever
8564
+ * its labels.
8565
+ *
8566
+ * `selection-mode` sets how nodes are selected:
8567
+ *
8568
+ * - `multiple` (the default): checkboxes. `value` holds the selected leaves, and a parent selects or deselects its
8569
+ * leaves. A parent's check state is derived from its leaves.
8570
+ * - `single`: one node, parent or leaf.
8571
+ * - `leaf`: one leaf. A click on a parent expands or collapses it.
8572
+ * - `none`: no selection. A click expands or collapses a parent, as in a navigation tree.
8573
+ *
8574
+ * Bind `value` to application state like any form control: the tree emits `flow-ui-change` when the user changes the
8575
+ * selection.
8576
+ *
8577
+ * @tagname flow-ui-tree
8578
+ * @summary Trees allow users to expand, collapse and select a hierarchy of nodes, given as data or as
8579
+ * [tree items](./flow-ui-tree-item).
8580
+ * @docgroup tree
8581
+ *
8582
+ * @dependency flow-ui-checkbox
8583
+ * @dependency flow-ui-icon
8584
+ * @dependency flow-ui-progress-ring
8585
+ *
8586
+ * @event flow-ui-input - Emitted when the selection changes by UI interaction or `selectAll()`.
8587
+ * @event flow-ui-change - Emitted when the selection changes by UI interaction or `selectAll()`.
8588
+ * @event {CustomEvent<{ id: string; expanded: boolean }>} flow-ui-node-toggle - Emitted when the user expands or
8589
+ * collapses a node. The node ID and its new state can be retrieved from the event `detail` property.
8590
+ * @event {CustomEvent<{ id: string }>} flow-ui-node-lazy-load - Emitted when the user expands a lazy node. Replace the
8591
+ * node in `nodes` with one that has its children and is not `lazy`: its row shows a spinner until then. With tree
8592
+ * items, the item emits `flow-ui-lazy-load` too.
8593
+ * @event {CustomEvent<{ ids: string[] }>} flow-ui-visible-change - Emitted when the rendered rows change. The IDs of
8594
+ * their nodes can be retrieved from the event `detail` property: use them to supply the row slots' content with
8595
+ * `row-slots`.
8596
+ *
8597
+ * @slot - The tree's [tree items](./flow-ui-tree-item), read as its nodes while `nodes` is not set.
8598
+ * @slot <node-id> - With `row-slots`, each rendered row has a slot named after its node ID, for content at the end
8599
+ * of the row. The slot exists only while the row is rendered: listen to `flow-ui-visible-change`.
8600
+ *
8601
+ * @csspart base - The component's base wrapper (`role="tree"`).
8602
+ * @csspart row - Each rendered row (`role="treeitem"`).
8603
+ * @csspart label - The row's label.
8604
+ *
8605
+ * @cssproperty [--default-width=15rem] - The tree's width where its container sizes to its content, such as a flex row
8606
+ * or an inline block. It does not depend on the tree's nodes.
8607
+ * @cssproperty [--indent-size=var(--flow-ui-spacing-large)] - The indentation of each level. Defaults to
8608
+ * `--flow-ui-spacing-medium` when `size` is `small`.
8609
+ * @cssproperty [--selected-background-color=var(--flow-ui-color-neutral-100)] - The background color of the selected
8610
+ * row in single and leaf selection.
8611
+ * @cssproperty [--selected-marker-color=var(--flow-ui-color-primary-500)] - The color of the selected row's marker,
8612
+ * at its start, in single and leaf selection.
8613
+ */
8614
+ declare class FlowUiTree extends FlowRdfElement {
8615
+ static tagName: string;
8616
+ static styles: CSSResultGroup;
8617
+ static dependencies: (typeof FlowUiIcon | typeof FlowUiProgressRing | typeof FlowUiCheckbox)[];
8618
+ /**
8619
+ * The tree's nodes. See [FlowTreeNode](../public-api/interfaces/FlowTreeNode). Replace the array to update the
8620
+ * tree: the tree does not see changes made inside it. If not set, the tree reads its nodes from its
8621
+ * `flow-ui-tree-item` elements. Note that once you set it, the tree ignores its tree items.
8622
+ */
8623
+ get nodes(): FlowTreeNode[];
8624
+ set nodes(nodes: FlowTreeNode[]);
8625
+ private _nodes;
8626
+ private settingItemNodes;
8627
+ /**
8628
+ * The selected node IDs, or tree item values. In multiple selection, these are the selected leaves: a parent ID set
8629
+ * here selects the parent's leaves. In single and leaf selection, it holds the one selected node. The attribute is
8630
+ * a space-separated list, so IDs used in it must not contain spaces. Note that tree items without a `value` can be
8631
+ * selected but never appear here.
8632
+ */
8633
+ value: string[];
8634
+ /** The IDs of the expanded nodes. The tree updates it when the user expands or collapses a node. */
8635
+ expandedIds: string[];
8636
+ /** The selection mode. See [FlowTreeSelectionMode](../public-api/type-aliases/FlowTreeSelectionMode). */
8637
+ selectionMode: FlowTreeSelectionMode;
8638
+ /**
8639
+ * The text to filter by. The tree shows only the leaves whose label contains it (ignoring case), with their
8640
+ * ancestors, expanded. If not set, every node is shown.
8641
+ */
8642
+ filter: string;
8643
+ /**
8644
+ * The filter function, which replaces the label match of `filter`. Return `true` to show the leaf. Note that it is
8645
+ * called only while `filter` is not empty.
8646
+ */
8647
+ filterFn?: (node: FlowTreeNode, filter: string) => boolean;
8648
+ /**
8649
+ * The height of every row, in pixels. If not set, it is 24, 28 or 36 pixels for the small, medium and large sizes.
8650
+ */
8651
+ rowHeight?: number;
8652
+ /** The number of rows rendered above and below the rows in view. */
8653
+ overscan: number;
8654
+ /** The tree's size. It sets the font size, the indentation and the default `rowHeight`. */
8655
+ size: 'small' | 'medium' | 'large';
8656
+ /**
8657
+ * Set to `true` to render a `<slot name="<node id>">` at the end of each rendered row, for content you supply. See
8658
+ * `flow-ui-visible-change`.
8659
+ */
8660
+ rowSlots: boolean;
8661
+ /**
8662
+ * The function that renders content at the end of each rendered row, as a Lit template. Return `nothing` to leave a
8663
+ * row's end empty. Note that clicks on the content do not select the row. Alternatively, use `row-slots`.
8664
+ */
8665
+ renderRowEnd?: (node: FlowTreeNode, row: FlowTreeRow) => TemplateResult | typeof nothing;
8666
+ /** @internal - add form control class */
8667
+ class: string;
8668
+ /** The part of the rows' height in view, in pixels from the top of the first row (see `measure()`). */
8669
+ private visibleTop;
8670
+ private visibleBottom;
8671
+ private activeIndex;
8672
+ private base;
8673
+ private spacer;
8674
+ private readonly localize;
8675
+ private info;
8676
+ private expanded;
8677
+ /** The selection: leaf ids in multiple selection, plus ids the tree doesn't know (so a reload keeps them). */
8678
+ private selected;
8679
+ /** Selected-leaf counts per parent, derived from `selected`. */
8680
+ private selectedCounts;
8681
+ /** Nodes with a match below them while filtering (null when not filtering). */
8682
+ private matching;
8683
+ /** Nodes the user collapsed while filtering (filtering otherwise expands every match). */
8684
+ private filterCollapsed;
8685
+ private rows;
8686
+ private lastVisibleKey;
8687
+ /**
8688
+ * The node id each rendered row showed last time. Rows are rendered by position in the window, so scrolling,
8689
+ * expanding or collapsing gives a row another node, and its checkbox would fade from the old node's state.
8690
+ */
8691
+ private rowNodeIds;
8692
+ private hasReusedRows;
8693
+ private restoringTransitions;
8694
+ /** A row to render whatever is in view, so that it can be scrolled to. */
8695
+ private pinnedIndex;
8696
+ private scrollParents;
8697
+ private resizeObserver?;
8698
+ /**
8699
+ * Watches the space above and below the rendered rows, which comes into view when the tree moves without a scroll or
8700
+ * a resize: a drawer sliding in, an animated transform, or an element scrolling that the walk didn't find.
8701
+ */
8702
+ private gapObserver?;
8703
+ private followFrame?;
8704
+ /** Where the nodes come from: the tree items until the application sets `nodes`. */
8705
+ private source;
8706
+ private itemObserver?;
8707
+ private itemSyncScheduled;
8708
+ private itemIds;
8709
+ /** Ids the tree made for items without a value. They never appear in `value`. */
8710
+ private generatedIds;
8711
+ private itemsById;
8712
+ /** Each item's node, and its `expanded` and `selected` as the tree last read or wrote them. */
8713
+ private itemsSeen;
8714
+ private itemReads;
8715
+ /** Selections the application made on items (`selected`), applied once the nodes are indexed. */
8716
+ private pendingItemSelections;
8717
+ /** The `value` the tree last wrote itself: any other `value` comes from the application. */
8718
+ private writtenValue?;
8719
+ /** The selection or expansion changed since the items were last updated. */
8720
+ private itemStatesDirty;
8721
+ connectedCallback(): void;
8722
+ disconnectedCallback(): void;
8723
+ /** @internal - ensure form control class is always present */
8724
+ handleClassChange(): void;
8725
+ protected firstUpdated(): void;
8726
+ protected willUpdate(changed: PropertyValues<this>): void;
8727
+ protected updated(): void;
8728
+ private indexNodes;
8729
+ /** Leaf ids only: a selected parent (for example a lazy node that has loaded) stands for its leaves. */
8730
+ private normalizeSelection;
8731
+ /** Publishes the selection as `value`, without the ids the tree made for items without a value. */
8732
+ private publishValue;
8733
+ private countSelected;
8734
+ private forEachLeaf;
8735
+ private computeMatches;
8736
+ private isExpanded;
8737
+ private flatten;
8738
+ /**
8739
+ * Returns the check state of a node. In multiple selection, a parent's state is derived from its selected leaves;
8740
+ * an unknown ID is `unchecked`.
8741
+ */
8742
+ checkState(id: string): FlowTreeCheckState;
8743
+ private handleItemMutations;
8744
+ /**
8745
+ * Whether an item's attribute differs from what the tree last read from the item or wrote to it. Items reflect
8746
+ * their properties to attributes in their own updates, which can come after the tree has read them (every item's
8747
+ * `value`, when the items first render): reading every item again for those would double the work of a change.
8748
+ */
8749
+ private itemAttributeChanged;
8750
+ private scheduleItemSync;
8751
+ /** Reads the tree items into `nodes` and `expandedIds`. */
8752
+ private syncFromItems;
8753
+ /** The item's value, or an id the tree makes for it. */
8754
+ private itemId;
8755
+ /** Applies the selections the application made on items, now that the nodes are indexed. */
8756
+ private applyItemSelections;
8757
+ /** Mirrors the selection and expansion onto the items, so their `selected` and `expanded` stay current. */
8758
+ private writeItemStates;
8759
+ private stopItemEvent;
8760
+ /** Expands every parent node. */
8761
+ expandAll(): void;
8762
+ /** Collapses every parent node. */
8763
+ collapseAll(): void;
8764
+ /**
8765
+ * Selects every enabled leaf, or, with `select` set to `false`, deselects every leaf. While filtering, only the
8766
+ * leaves the filter shows are selected or deselected.
8767
+ */
8768
+ selectAll(select?: boolean): void;
8769
+ /**
8770
+ * Expands the node's ancestors, scrolls its row into view (in the tree, or in the elements that scroll the tree) and
8771
+ * makes it the active row. Returns a promise that resolves to `true` when the row is in view, or to `false`, without
8772
+ * scrolling, if the node is not in the tree or the filter hides it.
8773
+ */
8774
+ scrollToNode(id: string, { block }?: {
8775
+ block?: 'center' | 'nearest';
8776
+ }): Promise<boolean>;
8777
+ /**
8778
+ * The visible rows: every row that is not collapsed or filtered out, rendered or not. See
8779
+ * [FlowTreeRow](../public-api/interfaces/FlowTreeRow).
8780
+ */
8781
+ get visibleRows(): readonly FlowTreeRow[];
8782
+ /** Sets focus on the tree. */
8783
+ focus(options?: FocusOptions): void;
8784
+ private dispatch;
8785
+ private setSelection;
8786
+ private toggleExpanded;
8787
+ private toggleSelected;
8788
+ private rowFromEvent;
8789
+ private handleClick;
8790
+ private handleKeyDown;
8791
+ private handleFocus;
8792
+ private get effectiveRowHeight();
8793
+ /** Watches the tree and every element that clips it (the tree itself scrolls when it has a height). */
8794
+ private watchLayout;
8795
+ private unwatchLayout;
8796
+ /** Finds the part of the rows in view: inside the viewport and every element that clips the tree. */
8797
+ private measure;
8798
+ private handleGapIntersection;
8799
+ private followMotion;
8800
+ private scrollIndexIntoView;
8801
+ private windowRange;
8802
+ private rowId;
8803
+ private renderRow;
8804
+ render(): TemplateResult<1>;
8805
+ }
8806
+
8388
8807
  declare module '@shoelace-style/animations' {
8389
8808
  export type Animation = Keyframe[];
8390
8809
  export const animations: Animation[];
@@ -9605,40 +10024,6 @@ declare global {
9605
10024
  }
9606
10025
  }
9607
10026
 
9608
- /**
9609
- * @tagname flow-ui-progress-ring
9610
- * @summary Progress rings are used to show the progress of a determinate operation in a circular fashion.
9611
- *
9612
- * @slot label - A label to show inside the ring.
9613
- *
9614
- * @csspart base - The component's base wrapper.
9615
- * @csspart label - The progress ring label.
9616
- *
9617
- * @cssproperty --size - The diameter of the progress ring (cannot be a percentage).
9618
- * @cssproperty --track-width - The width of the track.
9619
- * @cssproperty --track-color - The color of the track.
9620
- * @cssproperty --indicator-width - The width of the indicator. Defaults to the track width.
9621
- * @cssproperty --indicator-color - The color of the indicator.
9622
- * @cssproperty --indicator-transition-duration - The duration of the indicator's transition when the value changes.
9623
- */
9624
- declare class FlowUiProgressRing extends FlowRdfElement {
9625
- static tagName: string;
9626
- static styles: CSSResultGroup;
9627
- private readonly localize;
9628
- /** A custom label for assistive devices. */
9629
- label: string;
9630
- /** The current progress as a percentage, 0 to 100. */
9631
- value: number;
9632
- /** If the progress animation is indeterminate */
9633
- indeterminate: boolean;
9634
- /** The progress ring's theme variant */
9635
- variant: 'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger';
9636
- /** The progress ring's size */
9637
- size: 'small' | 'medium' | 'large';
9638
- connectedCallback(): void;
9639
- render(): lit_html.TemplateResult<1>;
9640
- }
9641
-
9642
10027
  /**
9643
10028
  * @tagname flow-ui-button
9644
10029
  * @summary Buttons represent actions that are available to the user.
@@ -11719,101 +12104,6 @@ declare global {
11719
12104
  }
11720
12105
  }
11721
12106
 
11722
- /**
11723
- * @tagname flow-ui-checkbox
11724
- * @summary Checkboxes allow the user to toggle an option on or off.
11725
-
11726
- *
11727
- * @dependency flow-ui-icon
11728
- *
11729
- * @slot - The checkbox's label.
11730
- *
11731
- * @event flow-ui-blur - Emitted when the checkbox loses focus.
11732
- * @event flow-ui-change - Emitted when the checked state changes.
11733
- * @event flow-ui-focus - Emitted when the checkbox gains focus.
11734
- * @event flow-ui-input - Emitted when the checkbox receives input.
11735
- * @event flow-ui-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.
11736
- *
11737
- * @csspart base - The component's base wrapper.
11738
- * @csspart control - The square container that wraps the checkbox's checked state.
11739
- * @csspart control--checked - Matches the control part when the checkbox is checked.
11740
- * @csspart control--indeterminate - Matches the control part when the checkbox is indeterminate.
11741
- * @csspart checked-icon - The checked icon, an `<flow-ui-icon>` element.
11742
- * @csspart indeterminate-icon - The indeterminate icon, an `<flow-ui-icon>` element.
11743
- * @csspart label - The container that wraps the checkbox's label.
11744
- */
11745
- declare class FlowUiCheckbox extends FlowRdfFormControl {
11746
- static tagName: string;
11747
- static styles: CSSResultGroup;
11748
- static dependencies: (typeof FlowUiIcon)[];
11749
- private readonly hasSlotController;
11750
- private readonly formControlController;
11751
- private input;
11752
- private hasFocus;
11753
- /** @internal */
11754
- label: string;
11755
- /** The name of the checkbox, submitted as a name/value pair with form data. */
11756
- name: string;
11757
- /** The current value of the checkbox. */
11758
- value: string;
11759
- /** The checkbox's size. */
11760
- size: 'small' | 'medium' | 'large';
11761
- /** Disables the checkbox. */
11762
- disabled: boolean;
11763
- /** Draws the checkbox in a checked state. */
11764
- checked: boolean;
11765
- /**
11766
- * Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
11767
- * all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
11768
- */
11769
- indeterminate: boolean;
11770
- /** The default value of the form control. Primarily used for resetting the form control. */
11771
- defaultChecked: boolean;
11772
- /** Display the checkbox using a reversed style with left-aligned label. */
11773
- reverse: boolean;
11774
- /**
11775
- * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
11776
- * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
11777
- * the same document or shadow root for this to work.
11778
- */
11779
- form: string;
11780
- /** Makes the checkbox a required field. */
11781
- required: boolean;
11782
- connectedCallback(): void;
11783
- /** Gets the validity state object */
11784
- get validity(): ValidityState;
11785
- /** Gets the validation message */
11786
- get validationMessage(): string;
11787
- firstUpdated(): void;
11788
- private handleClick;
11789
- private handleBlur;
11790
- private handleInput;
11791
- private handleInvalid;
11792
- private handleFocus;
11793
- /** @internal */
11794
- handleDisabledChange(): void;
11795
- /** @internal */
11796
- handleStateChange(): void;
11797
- /** Simulates a click on the checkbox. */
11798
- click(): void;
11799
- /** Sets focus on the checkbox. */
11800
- focus(options?: FocusOptions): void;
11801
- /** Removes focus from the checkbox. */
11802
- blur(): void;
11803
- /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
11804
- checkValidity(): boolean;
11805
- /** Gets the associated form, if one exists. */
11806
- getForm(): HTMLFormElement | null;
11807
- /** Checks for validity and shows the browser's validation message if the control is invalid. */
11808
- reportValidity(): boolean;
11809
- /**
11810
- * Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear
11811
- * the custom validation message, call this method with an empty string.
11812
- */
11813
- setCustomValidity(message: string): void;
11814
- render(): lit_html.TemplateResult<1>;
11815
- }
11816
-
11817
12107
  declare global {
11818
12108
  interface HTMLElementTagNameMap {
11819
12109
  'flow-ui-checkbox': FlowUiCheckbox;
@@ -16455,115 +16745,59 @@ declare global {
16455
16745
  }
16456
16746
 
16457
16747
  /**
16458
- * @tagname flow-ui-tree-item
16459
- * @summary A tree item serves as a hierarchical node that lives inside a [tree](./flow-ui-tree).
16460
- * @docgroup tree
16748
+ * The tree item component writes a node of a [tree](./flow-ui-tree) as markup. Nest tree items for child nodes. The
16749
+ * tree reads its items into its nodes and draws their rows, so a tree item draws nothing itself. The tree reads them
16750
+ * again when items are added, removed or relabeled, or their attributes change.
16461
16751
  *
16462
- * @dependency flow-ui-checkbox
16463
- * @dependency flow-ui-icon
16464
- * @dependency flow-ui-progress-ring
16752
+ * An item's label is its text, without its child items: markup inside an item is reduced to its text. An item with
16753
+ * the `hidden` attribute is left out of the tree. The tree reads the attributes of items that are not registered yet,
16754
+ * so the tree items can be registered after the tree.
16465
16755
  *
16466
- * @event flow-ui-expand - Emitted when the tree item expands.
16467
- * @event flow-ui-after-expand - Emitted after the tree item expands and all animations are complete.
16468
- * @event flow-ui-collapse - Emitted when the tree item collapses.
16469
- * @event flow-ui-after-collapse - Emitted after the tree item collapses and all animations are complete.
16470
- * @event flow-ui-lazy-change - Emitted when the tree item's lazy state changes.
16471
- * @event flow-ui-lazy-load - Emitted when a lazy item is selected. Use this event to asynchronously load data and append
16472
- * items to the tree before expanding. After appending new items, remove the `lazy` attribute to remove the loading
16473
- * state and update the tree.
16756
+ * @tagname flow-ui-tree-item
16757
+ * @summary Tree items are used with [trees](./flow-ui-tree) to write the tree's nodes as markup.
16758
+ * @docgroup tree
16474
16759
  *
16475
- * @slot - The default slot.
16476
- * @slot expand-icon - The icon to show when the tree item is expanded.
16477
- * @slot collapse-icon - The icon to show when the tree item is collapsed.
16760
+ * @event flow-ui-expand - Emitted when the user expands the item.
16761
+ * @event flow-ui-after-expand - Emitted after the item expands and the tree has drawn its child rows.
16762
+ * @event flow-ui-collapse - Emitted when the user collapses the item.
16763
+ * @event flow-ui-after-collapse - Emitted after the item collapses and the tree has removed its child rows.
16764
+ * @event flow-ui-lazy-load - Emitted when the user expands a lazy item. Use this event to load the item's children:
16765
+ * append its child items, then remove the `lazy` attribute. The tree shows a spinner until then.
16478
16766
  *
16479
- * @csspart base - The component's base wrapper.
16480
- * @csspart item - The tree item's container. This element wraps everything except slotted tree item children.
16481
- * @csspart item--disabled - Applied when the tree item is disabled.
16482
- * @csspart item--expanded - Applied when the tree item is expanded.
16483
- * @csspart item--indeterminate - Applied when the selection is indeterminate.
16484
- * @csspart item--selected - Applied when the tree item is selected.
16485
- * @csspart indentation - The tree item's indentation container.
16486
- * @csspart expand-button - The container that wraps the tree item's expand button and spinner.
16487
- * @csspart label - The tree item's label.
16488
- * @csspart children - The container that wraps the tree item's nested children.
16489
- * @csspart checkbox - The checkbox that shows when using multiselect.
16490
- * @csspart checkbox__base - The checkbox's exported `base` part.
16491
- * @csspart checkbox__control - The checkbox's exported `control` part.
16492
- * @csspart checkbox__control--checked - The checkbox's exported `control--checked` part.
16493
- * @csspart checkbox__control--indeterminate - The checkbox's exported `control--indeterminate` part.
16494
- * @csspart checkbox__checked-icon - The checkbox's exported `checked-icon` part.
16495
- * @csspart checkbox__indeterminate-icon - The checkbox's exported `indeterminate-icon` part.
16496
- * @csspart checkbox__label - The checkbox's exported `label` part.
16767
+ * @slot - The tree item's label and its child items.
16497
16768
  */
16498
16769
  declare class FlowUiTreeItem extends FlowRdfElement {
16499
16770
  static tagName: string;
16500
16771
  static styles: CSSResultGroup;
16501
- static dependencies: (typeof FlowUiIcon | typeof FlowUiProgressRing | typeof FlowUiCheckbox)[];
16502
- /** @internal */
16503
- static isTreeItem(node: Node): boolean;
16504
- private readonly localize;
16505
- /** @internal */
16506
- indeterminate: boolean;
16507
- /** @internal */
16508
- isLeaf: boolean;
16509
- /** @internal */
16510
- loading: boolean;
16511
- /** @internal */
16512
- selectable: boolean;
16513
16772
  /**
16514
- * The tree-items's value. When selected, the containing tree control will receive this value. The value must be unique
16515
- * from other tree-items in the same tree. Values may not contain spaces, as spaces are used as delimiters when listing
16516
- * multiple values.
16773
+ * The item's value, which is its node ID. The tree's `value` holds it while the item is selected. It must be unique
16774
+ * in the tree and must not contain spaces, which separate the values in the tree's `value` attribute. If not set,
16775
+ * the item can still be selected, but does not appear in the tree's `value`.
16517
16776
  */
16518
16777
  value: string;
16519
- /** Expands the tree item. */
16778
+ /**
16779
+ * Indicates whether the item is expanded. Toggle this attribute to expand or collapse the item. The tree updates it
16780
+ * when the user expands or collapses the item.
16781
+ */
16520
16782
  expanded: boolean;
16521
- /** Draws the tree item in a selected state. */
16783
+ /**
16784
+ * Indicates whether the item is selected. Toggle this attribute to select or deselect the item, or, in multiple
16785
+ * selection, a parent's leaves. The tree updates it when the selection changes: in multiple selection, a parent is
16786
+ * selected when all its enabled leaves are.
16787
+ */
16522
16788
  selected: boolean;
16523
- /** Disables the tree item. */
16789
+ /** Disables the item, so that it cannot be selected. */
16524
16790
  disabled: boolean;
16525
- /** Enables lazy loading behavior. */
16791
+ /** Set to `true` to mark the item as having child items that are not loaded yet. See `flow-ui-lazy-load`. */
16526
16792
  lazy: boolean;
16527
- /** The select's size. */
16528
- size: 'small' | 'medium' | 'large';
16529
- /** Set to `true` to visually hide the tree item. */
16530
- hidden: boolean;
16531
- /** @internal */
16532
- defaultSlot: HTMLSlotElement;
16533
- /** @internal */
16534
- childrenSlot: HTMLSlotElement;
16535
- /** @internal */
16536
- itemElement: HTMLDivElement;
16537
- /** @internal */
16538
- childrenContainer: HTMLDivElement;
16539
- /** @internal */
16540
- expandButtonSlot: HTMLSlotElement;
16541
- connectedCallback(): void;
16542
- firstUpdated(): void;
16793
+ /** The name of a `flow-ui-icon` to show before the label. */
16794
+ icon?: string;
16795
+ /** The icon library of `icon`. If not set, the default library is used. */
16796
+ iconLibrary?: string;
16797
+ protected willUpdate(changed: PropertyValues<this>): void;
16543
16798
  /** @internal */
16544
16799
  handleValueChange(): void;
16545
- private animateCollapse;
16546
- private isNestedItem;
16547
- private handleChildrenSlotChange;
16548
- protected willUpdate(changedProperties: PropertyValueMap<FlowUiTreeItem> | Map<PropertyKey, unknown>): void;
16549
- private animateExpand;
16550
- /** @internal */
16551
- handleLoadingChange(): void;
16552
- /** @internal */
16553
- handleDisabledChange(): void;
16554
- /** @internal */
16555
- handleSelectedChange(): void;
16556
- /** @internal */
16557
- handleExpandedChange(): void;
16558
- /** @internal */
16559
- handleExpandAnimation(): void;
16560
- /** @internal */
16561
- handleLazyChange(): void;
16562
- /** Gets all the nested tree items in this node. */
16563
- getChildrenItems({ includeDisabled }?: {
16564
- includeDisabled?: boolean;
16565
- }): FlowUiTreeItem[];
16566
- render(): lit_html.TemplateResult<1>;
16800
+ render(): symbol;
16567
16801
  }
16568
16802
 
16569
16803
  declare global {
@@ -16572,82 +16806,6 @@ declare global {
16572
16806
  }
16573
16807
  }
16574
16808
 
16575
- /**
16576
- * @tagname flow-ui-tree
16577
- * @summary Trees allow you to display a hierarchical list of selectable [tree items](./flow-ui-tree-item). Items with children can be expanded and collapsed as desired by the user.
16578
- * @docgroup tree
16579
- *
16580
- * @event flow-ui-input - Emitted when a tree item is selected or deselected.
16581
- * @event flow-ui-change - Emitted when a tree item is selected or deselected.
16582
- *
16583
- * @slot - The default slot.
16584
- * @slot expand-icon - The icon to show when the tree item is expanded. Works best with `<flow-ui-icon>`.
16585
- * @slot collapse-icon - The icon to show when the tree item is collapsed. Works best with `<flow-ui-icon>`.
16586
- *
16587
- * @csspart base - The component's base wrapper.
16588
- *
16589
- * @cssproperty [--indent-size=var(--flow-ui-spacing-medium)] - The size of the indentation for nested items.
16590
- * @cssproperty [--indent-guide-color=var(--flow-ui-color-neutral-200)] - The color of the indentation line.
16591
- * @cssproperty [--indent-guide-offset=0] - The amount of vertical spacing to leave between the top and bottom of the
16592
- * indentation line's starting position.
16593
- * @cssproperty [--indent-guide-style=solid] - The style of the indentation line, e.g. solid, dotted, dashed.
16594
- * @cssproperty [--indent-guide-width=0] - The width of the indentation line.
16595
- */
16596
- declare class FlowUiTree extends FlowRdfElement {
16597
- static tagName: string;
16598
- static styles: CSSResultGroup;
16599
- private expandedIconSlot;
16600
- private collapsedIconSlot;
16601
- /** @internal - add form control class */
16602
- class: string;
16603
- /**
16604
- * The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the
16605
- * value attribute will be a space-delimited list of values based on the options selected, and the value property will
16606
- * be an array. **For this reason, values must not contain spaces.**
16607
- */
16608
- value: string[];
16609
- /**
16610
- * The selection behavior of the tree. Single selection allows only one node to be selected at a time. Multiple
16611
- * displays checkboxes and allows more than one node to be selected. Leaf allows only leaf nodes to be selected.
16612
- */
16613
- selectionMode: 'single' | 'multiple' | 'leaf';
16614
- /** The select's size. */
16615
- size: 'small' | 'medium' | 'large';
16616
- private lastFocusedItem;
16617
- private readonly localize;
16618
- private mutationObserver;
16619
- private clickTarget;
16620
- connectedCallback(): Promise<void>;
16621
- disconnectedCallback(): void;
16622
- /** @internal - ensure form control class is always present */
16623
- handleClassChange(): void;
16624
- private getExpandButtonIcon;
16625
- private initTreeItem;
16626
- private handleTreeChanged;
16627
- /** @internal */
16628
- handleSizeChange(): void;
16629
- private syncTreeItems;
16630
- private selectItem;
16631
- private getAllTreeItems;
16632
- private focusItem;
16633
- private handleKeyDown;
16634
- private handleClick;
16635
- private handleMouseDown;
16636
- private handleFocusOut;
16637
- private handleFocusIn;
16638
- private handleHostExpandCollapse;
16639
- private handleSlotChange;
16640
- /** @internal */
16641
- handleSelectionChange(): Promise<void>;
16642
- /** @internal */
16643
- handleValueChange(previousValueOrNull: string[]): void;
16644
- /** @internal Returns the list of tree items that are selected in the tree. */
16645
- get selectedItems(): FlowUiTreeItem[];
16646
- /** @internal Gets focusable tree items in the tree. */
16647
- getFocusableItems(): FlowUiTreeItem[];
16648
- render(): lit_html.TemplateResult<1>;
16649
- }
16650
-
16651
16809
  declare global {
16652
16810
  interface HTMLElementTagNameMap {
16653
16811
  'flow-ui-tree': FlowUiTree;
@@ -16660,4 +16818,4 @@ declare global {
16660
16818
  }
16661
16819
  }
16662
16820
 
16663
- export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, DIAGRAM_ARROW_MARKER_ID, DIAGRAM_GROUP_HIGHLIGHT_CLASS, DIAGRAM_NODE_SELECTED_CLASS, DIAGRAM_NODE_WRAPPER_CLASS, DIAGRAM_PALETTE_ITEM_MIME_TYPE, DIAGRAM_PORT_HOVERABLE_CLASS, DIAGRAM_PORT_HOVERABLE_OVER_NODE_CLASS, DefaultDiagramModelAdapter, type DiagramActionState, DiagramApi, type DiagramBackgroundConfig, type DiagramBasePaletteItemData, DiagramClipboardApi, type DiagramClipboardPastedEvent, type DiagramConfig, type DiagramConnectionValidationContext, type DiagramContextMenuEvent, type DiagramDanglingEdgesConfig, type DiagramDanglingEndpoint, type DiagramDataObject, type DiagramEdge, type DiagramEdgeDrawCancelReason, type DiagramEdgeDrawEndedEvent, type DiagramEdgeDrawnEvent, type DiagramEdgeEnd, type DiagramEdgeLabel, type DiagramEdgeLabelPosition, type DiagramEdgeRelinkCancelReason, type DiagramEdgeRelinkEndedEvent, type DiagramEdgeRelinkStartedEvent, type DiagramEdgeRouting, type DiagramEdgeTemplate, type DiagramEdgeTemplateContext, type DiagramEdgeTemplateMap, type DiagramEnvironmentInfo, type DiagramEventListener, type DiagramEventMap, type DiagramFlowConfig, type DiagramGroupMembershipChangedEvent, type DiagramGroupNode, DiagramGroupsApi, type DiagramInitEvent, type DiagramInvalidateMeasurementsOptions, type DiagramLinkingActionState, type DiagramLinkingConfig, type DiagramLinkingRelinkContext, type DiagramMeasurementOptions, type DiagramMetadata, type DiagramMiddleware, type DiagramMiddlewareChain, type DiagramMiddlewares, type DiagramMinimapNodeShape, type DiagramMinimapNodeStyle, type DiagramMinimapNodeStyleFn, type DiagramMinimapNodeTemplate, type DiagramMinimapNodeTemplateContext, type DiagramMinimapNodeTemplateMap, type DiagramModel, type DiagramModelAdapter, DiagramModelApi, type DiagramNode, type DiagramNodeDragEndedEvent, type DiagramNodeDragStartedEvent, type DiagramNodeResizeEndedEvent, type DiagramNodeResizeStartedEvent, type DiagramNodeResizedEvent, type DiagramNodeRotateEndedEvent, type DiagramNodeRotateStartedEvent, type DiagramNodeTemplate, type DiagramNodeTemplateContext, type DiagramNodeTemplateMap, DiagramNodesApi, DiagramObserver, type DiagramOriginPoint, type DiagramPaletteGroupNodeData, type DiagramPaletteItem, type DiagramPaletteItemDroppedEvent, type DiagramPaletteSimpleNodeData, type DiagramPanelPosition, type DiagramPoint, type DiagramPort, type DiagramPortSide, type DiagramRect, type DiagramReference, type DiagramResizeDirection, type DiagramSelection, DiagramSelectionApi, type DiagramSelectionChangedEvent, type DiagramSelectionGestureEndedEvent, type DiagramSelectionMode, type DiagramSelectionMovedEvent, type DiagramSelectionRemovedEvent, type DiagramSelectionRotatedEvent, type DiagramShortcutDefinition, type DiagramSide, type DiagramSimpleNode, type DiagramSize, type DiagramTransactionOptions, type DiagramTransactionResult, type DiagramViewport, DiagramViewportApi, type DiagramViewportChangedEvent, type DiagramZoomToFitOptions, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, type FlowApplyEvent as FlowUiApplyEvent, FlowUiAutocomplete, FlowUiAvatar, FlowUiBadge, FlowUiBaseControl, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiBusyOverlay, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, FlowUiCheckboxGroup, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type FlowCollapseTreeEvent as FlowUiCollapseSplitViewEvent, FlowUiColorMapper, FlowUiColorPicker, FlowUiColorStop, FlowUiDateTimePicker, FlowUiDetails, FlowUiDiagram, FlowUiDiagramBackground, FlowUiDiagramBaseEdge, FlowUiDiagramBaseNode, type FlowUiDiagramClipboardPastedEvent, type FlowUiDiagramContextMenuEvent, FlowUiDiagramEdge, type FlowUiDiagramEdgeDrawEndedEvent, type FlowUiDiagramEdgeDrawnEvent, FlowUiDiagramEdgeLabel, type FlowUiDiagramEdgeRelinkEndedEvent, type FlowUiDiagramEdgeRelinkStartedEvent, type FlowUiDiagramEventMap, type FlowUiDiagramGroupMembershipChangedEvent, type FlowUiDiagramInitEvent, FlowUiDiagramMarker, FlowUiDiagramMinimap, FlowUiDiagramNode, type FlowUiDiagramNodeDragEndedEvent, type FlowUiDiagramNodeDragStartedEvent, type FlowUiDiagramNodeResizeEndedEvent, type FlowUiDiagramNodeResizeStartedEvent, type FlowUiDiagramNodeResizedEvent, type FlowUiDiagramNodeRotateEndedEvent, type FlowUiDiagramNodeRotateStartedEvent, FlowUiDiagramPaletteItem, type FlowUiDiagramPaletteItemDroppedEvent, FlowUiDiagramPaletteItemPreview, FlowUiDiagramPort, FlowUiDiagramResizeAdornment, FlowUiDiagramRotateAdornment, type FlowUiDiagramSelectionChangedEvent, type FlowUiDiagramSelectionGestureEndedEvent, type FlowUiDiagramSelectionMovedEvent, type FlowUiDiagramSelectionRemovedEvent, type FlowUiDiagramSelectionRotatedEvent, type FlowUiDiagramViewportChangedEvent, FlowUiDiagramZoomControls, FlowUiDialog, FlowUiDivider, type FlowDragDropEvent as FlowUiDragDrop, type FlowDragEndEvent as FlowUiDragEndEvent, type FlowDragEvent as FlowUiDragEvent, type FlowDragOverEvent as FlowUiDragOverEvent, type FlowDragStartEvent as FlowUiDragStartEvent, FlowUiDrawer, FlowUiDropdown, type FlowErrorEvent as FlowUiErrorEvent, type FlowExpandEvent as FlowUiExpandEvent, type FlowExpandTreeEvent as FlowUiExpandSplitViewEvent, type FlowFinishEvent as FlowUiFinishEvent, type FlowFocusEvent as FlowUiFocusEvent, FlowUiFormGroup, FlowUiGauge, type FlowHideEvent as FlowUiHideEvent, type FlowHoverEvent as FlowUiHoverEvent, FlowUiIcon, FlowUiIconButton, type FlowInitialFocusEvent as FlowUiInitialFocusEvent, FlowUiInput, type FlowInputEvent as FlowUiInputEvent, type FlowInvalidEvent as FlowUiInvalidEvent, type FlowLazyChangeEvent as FlowUiLazyChangeEvent, type FlowLazyLoadEvent as FlowUiLazyLoadEvent, FlowUiList, FlowUiListItem, type FlowLoadEvent as FlowUiLoadEvent, FlowUiMap, type FlowMapLoadEvent as FlowUiMapLoadEvent, FlowUiMenu, FlowUiMenuItem, FlowUiMenuLabel, type FlowMutationEvent as FlowUiMutationEvent, FlowUiMutationObserver, FlowUiOption, FlowUiPanel, FlowUiPanelHeader, type FlowPanelToggleEvent as FlowUiPanelToggleEvent, FlowUiPopup, FlowUiProgressBar, FlowUiProgressRing, FlowUiQueryBuilder, FlowUiRadio, FlowUiRadioGroup, FlowUiRange, type FlowRemoveEvent as FlowUiRemoveEvent, type FlowRepositionEvent as FlowUiRepositionEvent, type FlowRequestCloseEvent as FlowUiRequestCloseEvent, type FlowResizeEvent as FlowUiResizeEvent, FlowUiResizeObserver, FlowUiScrollView, FlowUiSelect, type FlowSelectEvent as FlowUiSelectEvent, type FlowShowEvent as FlowUiShowEvent, type FlowSlideChange as FlowUiSlideChange, FlowUiSplitView, FlowUiSplitViewDivider, FlowUiSplitViewPane, FlowUiSplitViewToggleButton, type FlowStartEvent as FlowUiStartEvent, FlowUiStepper, FlowUiStepperPanel, FlowUiSwitch, FlowUiTab, FlowUiTabGroup, type FlowTabHideEvent as FlowUiTabHideEvent, FlowUiTabPanel, type FlowTabShowEvent as FlowUiTabShowEvent, FlowUiTag, FlowUiTextarea, FlowUiTimer, FlowUiToolButton, FlowUiToolButtonGroup, FlowUiTooltip, FlowUiTree, FlowUiTreeItem, FlowUiVisuallyHidden, type InitializeModelOptions, JavaScriptFilterError, type JavaScriptFilterFn, LocalizeController, type NumberColorMapperField, type NumberColorStopOptions, type ObservableListener, type ReadonlyObservable, type SelectColorMapperField, type SelectColorStopOptions, type StringColorMapperField, type StringColorStopOptions, type StripEdgeRuntimePropertiesFn, type StripNodeRuntimePropertiesFn, type Translation, type Unsubscribe, addIcons, betweenRuleValues, colorMapperValueToMaplibreExpression, computeDetachAnchor, configureShortcuts, countRuleSet, createMiddlewares, diagramGroupHighlighted, diagramHidden, diagramNodeSelected, escapeMaplibreString, filterRuleSet, converter$2 as flowQueryConverter, getAnimationNames, getDanglingEndpoints, getEasingNames, getNearestDanglingEndpointInRange, hasFreeEndpoint, initialize, initializeChartJs, initializeModel, initializeModelAdapter, isDanglingEdge, isEdgeEndRelinkable, isRule, isRuleOrRuleset, isRuleSet, converter$1 as javascriptFilterConverter, converter as mapLayerFilterConverter, registerChartComponent, registerComponents, registerIconLibrary, registerTranslation, renameRuleSetFields, setDefaultLocale, setDefaultTimeZone, stripEdgeRuntimeProperties, stripNodeRuntimeProperties, transformRuleSet, unregisterIconLibrary };
16821
+ export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, DIAGRAM_ARROW_MARKER_ID, DIAGRAM_GROUP_HIGHLIGHT_CLASS, DIAGRAM_NODE_SELECTED_CLASS, DIAGRAM_NODE_WRAPPER_CLASS, DIAGRAM_PALETTE_ITEM_MIME_TYPE, DIAGRAM_PORT_HOVERABLE_CLASS, DIAGRAM_PORT_HOVERABLE_OVER_NODE_CLASS, DefaultDiagramModelAdapter, type DiagramActionState, DiagramApi, type DiagramBackgroundConfig, type DiagramBasePaletteItemData, DiagramClipboardApi, type DiagramClipboardPastedEvent, type DiagramConfig, type DiagramConnectionValidationContext, type DiagramContextMenuEvent, type DiagramDanglingEdgesConfig, type DiagramDanglingEndpoint, type DiagramDataObject, type DiagramEdge, type DiagramEdgeDrawCancelReason, type DiagramEdgeDrawEndedEvent, type DiagramEdgeDrawnEvent, type DiagramEdgeEnd, type DiagramEdgeLabel, type DiagramEdgeLabelPosition, type DiagramEdgeRelinkCancelReason, type DiagramEdgeRelinkEndedEvent, type DiagramEdgeRelinkStartedEvent, type DiagramEdgeRouting, type DiagramEdgeTemplate, type DiagramEdgeTemplateContext, type DiagramEdgeTemplateMap, type DiagramEnvironmentInfo, type DiagramEventListener, type DiagramEventMap, type DiagramFlowConfig, type DiagramGroupMembershipChangedEvent, type DiagramGroupNode, DiagramGroupsApi, type DiagramInitEvent, type DiagramInvalidateMeasurementsOptions, type DiagramLinkingActionState, type DiagramLinkingConfig, type DiagramLinkingRelinkContext, type DiagramMeasurementOptions, type DiagramMetadata, type DiagramMiddleware, type DiagramMiddlewareChain, type DiagramMiddlewares, type DiagramMinimapNodeShape, type DiagramMinimapNodeStyle, type DiagramMinimapNodeStyleFn, type DiagramMinimapNodeTemplate, type DiagramMinimapNodeTemplateContext, type DiagramMinimapNodeTemplateMap, type DiagramModel, type DiagramModelAdapter, DiagramModelApi, type DiagramNode, type DiagramNodeDragEndedEvent, type DiagramNodeDragStartedEvent, type DiagramNodeResizeEndedEvent, type DiagramNodeResizeStartedEvent, type DiagramNodeResizedEvent, type DiagramNodeRotateEndedEvent, type DiagramNodeRotateStartedEvent, type DiagramNodeTemplate, type DiagramNodeTemplateContext, type DiagramNodeTemplateMap, DiagramNodesApi, DiagramObserver, type DiagramOriginPoint, type DiagramPaletteGroupNodeData, type DiagramPaletteItem, type DiagramPaletteItemDroppedEvent, type DiagramPaletteSimpleNodeData, type DiagramPanelPosition, type DiagramPoint, type DiagramPort, type DiagramPortSide, type DiagramRect, type DiagramReference, type DiagramResizeDirection, type DiagramSelection, DiagramSelectionApi, type DiagramSelectionChangedEvent, type DiagramSelectionGestureEndedEvent, type DiagramSelectionMode, type DiagramSelectionMovedEvent, type DiagramSelectionRemovedEvent, type DiagramSelectionRotatedEvent, type DiagramShortcutDefinition, type DiagramSide, type DiagramSimpleNode, type DiagramSize, type DiagramTransactionOptions, type DiagramTransactionResult, type DiagramViewport, DiagramViewportApi, type DiagramViewportChangedEvent, type DiagramZoomToFitOptions, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowTreeCheckState, type FlowTreeNode, type FlowTreeRow, type FlowTreeSelectionMode, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, type FlowApplyEvent as FlowUiApplyEvent, FlowUiAutocomplete, FlowUiAvatar, FlowUiBadge, FlowUiBaseControl, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiBusyOverlay, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, FlowUiCheckboxGroup, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type FlowCollapseTreeEvent as FlowUiCollapseSplitViewEvent, FlowUiColorMapper, FlowUiColorPicker, FlowUiColorStop, FlowUiDateTimePicker, FlowUiDetails, FlowUiDiagram, FlowUiDiagramBackground, FlowUiDiagramBaseEdge, FlowUiDiagramBaseNode, type FlowUiDiagramClipboardPastedEvent, type FlowUiDiagramContextMenuEvent, FlowUiDiagramEdge, type FlowUiDiagramEdgeDrawEndedEvent, type FlowUiDiagramEdgeDrawnEvent, FlowUiDiagramEdgeLabel, type FlowUiDiagramEdgeRelinkEndedEvent, type FlowUiDiagramEdgeRelinkStartedEvent, type FlowUiDiagramEventMap, type FlowUiDiagramGroupMembershipChangedEvent, type FlowUiDiagramInitEvent, FlowUiDiagramMarker, FlowUiDiagramMinimap, FlowUiDiagramNode, type FlowUiDiagramNodeDragEndedEvent, type FlowUiDiagramNodeDragStartedEvent, type FlowUiDiagramNodeResizeEndedEvent, type FlowUiDiagramNodeResizeStartedEvent, type FlowUiDiagramNodeResizedEvent, type FlowUiDiagramNodeRotateEndedEvent, type FlowUiDiagramNodeRotateStartedEvent, FlowUiDiagramPaletteItem, type FlowUiDiagramPaletteItemDroppedEvent, FlowUiDiagramPaletteItemPreview, FlowUiDiagramPort, FlowUiDiagramResizeAdornment, FlowUiDiagramRotateAdornment, type FlowUiDiagramSelectionChangedEvent, type FlowUiDiagramSelectionGestureEndedEvent, type FlowUiDiagramSelectionMovedEvent, type FlowUiDiagramSelectionRemovedEvent, type FlowUiDiagramSelectionRotatedEvent, type FlowUiDiagramViewportChangedEvent, FlowUiDiagramZoomControls, FlowUiDialog, FlowUiDivider, type FlowDragDropEvent as FlowUiDragDrop, type FlowDragEndEvent as FlowUiDragEndEvent, type FlowDragEvent as FlowUiDragEvent, type FlowDragOverEvent as FlowUiDragOverEvent, type FlowDragStartEvent as FlowUiDragStartEvent, FlowUiDrawer, FlowUiDropdown, type FlowErrorEvent as FlowUiErrorEvent, type FlowExpandEvent as FlowUiExpandEvent, type FlowExpandTreeEvent as FlowUiExpandSplitViewEvent, type FlowFinishEvent as FlowUiFinishEvent, type FlowFocusEvent as FlowUiFocusEvent, FlowUiFormGroup, FlowUiGauge, type FlowHideEvent as FlowUiHideEvent, type FlowHoverEvent as FlowUiHoverEvent, FlowUiIcon, FlowUiIconButton, type FlowInitialFocusEvent as FlowUiInitialFocusEvent, FlowUiInput, type FlowInputEvent as FlowUiInputEvent, type FlowInvalidEvent as FlowUiInvalidEvent, type FlowLazyLoadEvent as FlowUiLazyLoadEvent, FlowUiList, FlowUiListItem, type FlowLoadEvent as FlowUiLoadEvent, FlowUiMap, type FlowMapLoadEvent as FlowUiMapLoadEvent, FlowUiMenu, FlowUiMenuItem, FlowUiMenuLabel, type FlowMutationEvent as FlowUiMutationEvent, FlowUiMutationObserver, FlowUiOption, FlowUiPanel, FlowUiPanelHeader, type FlowPanelToggleEvent as FlowUiPanelToggleEvent, FlowUiPopup, FlowUiProgressBar, FlowUiProgressRing, FlowUiQueryBuilder, FlowUiRadio, FlowUiRadioGroup, FlowUiRange, type FlowRemoveEvent as FlowUiRemoveEvent, type FlowRepositionEvent as FlowUiRepositionEvent, type FlowRequestCloseEvent as FlowUiRequestCloseEvent, type FlowResizeEvent as FlowUiResizeEvent, FlowUiResizeObserver, FlowUiScrollView, FlowUiSelect, type FlowSelectEvent as FlowUiSelectEvent, type FlowShowEvent as FlowUiShowEvent, type FlowSlideChange as FlowUiSlideChange, FlowUiSplitView, FlowUiSplitViewDivider, FlowUiSplitViewPane, FlowUiSplitViewToggleButton, type FlowStartEvent as FlowUiStartEvent, FlowUiStepper, FlowUiStepperPanel, FlowUiSwitch, FlowUiTab, FlowUiTabGroup, type FlowTabHideEvent as FlowUiTabHideEvent, FlowUiTabPanel, type FlowTabShowEvent as FlowUiTabShowEvent, FlowUiTag, FlowUiTextarea, FlowUiTimer, FlowUiToolButton, FlowUiToolButtonGroup, FlowUiTooltip, FlowUiTree, FlowUiTreeItem, FlowUiVisuallyHidden, type InitializeModelOptions, JavaScriptFilterError, type JavaScriptFilterFn, LocalizeController, type NumberColorMapperField, type NumberColorStopOptions, type ObservableListener, type ReadonlyObservable, type SelectColorMapperField, type SelectColorStopOptions, type StringColorMapperField, type StringColorStopOptions, type StripEdgeRuntimePropertiesFn, type StripNodeRuntimePropertiesFn, type Translation, type Unsubscribe, addIcons, betweenRuleValues, colorMapperValueToMaplibreExpression, computeDetachAnchor, configureShortcuts, countRuleSet, createMiddlewares, diagramGroupHighlighted, diagramHidden, diagramNodeSelected, escapeMaplibreString, filterRuleSet, converter$2 as flowQueryConverter, getAnimationNames, getDanglingEndpoints, getEasingNames, getNearestDanglingEndpointInRange, hasFreeEndpoint, initialize, initializeChartJs, initializeModel, initializeModelAdapter, isDanglingEdge, isEdgeEndRelinkable, isRule, isRuleOrRuleset, isRuleSet, converter$1 as javascriptFilterConverter, converter as mapLayerFilterConverter, registerChartComponent, registerComponents, registerIconLibrary, registerTranslation, renameRuleSetFields, setDefaultLocale, setDefaultTimeZone, stripEdgeRuntimeProperties, stripNodeRuntimeProperties, transformRuleSet, unregisterIconLibrary };