@emuanalytics/flow-rdf-ui 4.2.0 → 4.3.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/README.md +58 -0
- package/THIRD_PARTY_NOTICES.md +220 -0
- package/dist/components/alert/alert.component.mjs +3 -0
- package/dist/components/animation/animation.component.mjs +1 -0
- package/dist/components/autocomplete/autocomplete.component.mjs +38 -14
- package/dist/components/avatar/avatar.component.mjs +3 -0
- package/dist/components/badge/badge.component.mjs +1 -0
- package/dist/components/base-control/base-control.component.mjs +3 -0
- package/dist/components/breadcrumb/breadcrumb.component.mjs +3 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.component.mjs +1 -0
- package/dist/components/busy-overlay/busy-overlay.component.mjs +3 -0
- package/dist/components/button/button.component.mjs +4 -0
- package/dist/components/button-group/button-group.component.mjs +1 -0
- package/dist/components/calendar/calendar.component.mjs +6 -0
- package/dist/components/card/card.component.mjs +1 -0
- package/dist/components/carousel/carousel.component.mjs +3 -0
- package/dist/components/carousel-item/carousel-item.component.mjs +1 -0
- package/dist/components/chart/chart.component.mjs +1 -0
- package/dist/components/chart/chartjs-plugins/luxon.adapter.mjs +78 -0
- package/dist/components/chart/chartjs-support.mjs +2 -0
- package/dist/components/checkbox/checkbox.component.mjs +3 -0
- package/dist/components/checkbox-group/checkbox-group.component.mjs +3 -0
- package/dist/components/color-mapper/color-mapper.component.mjs +21 -0
- package/dist/components/color-picker/color-picker.component.mjs +8 -0
- package/dist/components/color-stop/color-stop.component.mjs +17 -0
- package/dist/components/date-time-picker/date-time-picker.component.mjs +6 -0
- package/dist/components/details/details.component.mjs +3 -0
- package/dist/components/diagram/diagram-panel.styles.mjs +44 -0
- package/dist/components/diagram/diagram-tokens.styles.mjs +148 -0
- package/dist/components/diagram/diagram.component.mjs +355 -0
- package/dist/components/diagram/diagram.mjs +5 -0
- package/dist/components/diagram/diagram.styles.mjs +95 -0
- package/dist/components/diagram-background/diagram-background.component.mjs +163 -0
- package/dist/components/diagram-background/diagram-background.mjs +5 -0
- package/dist/components/diagram-background/diagram-background.styles.mjs +58 -0
- package/dist/components/diagram-base-edge/diagram-base-edge.component.mjs +326 -0
- package/dist/components/diagram-base-edge/diagram-base-edge.mjs +5 -0
- package/dist/components/diagram-base-edge/diagram-base-edge.styles.mjs +147 -0
- package/dist/components/diagram-base-node/diagram-base-node.component.mjs +84 -0
- package/dist/components/diagram-base-node/diagram-base-node.mjs +5 -0
- package/dist/components/diagram-base-node/diagram-base-node.styles.mjs +37 -0
- package/dist/components/diagram-edge/diagram-edge.component.mjs +56 -0
- package/dist/components/diagram-edge/diagram-edge.mjs +5 -0
- package/dist/components/diagram-edge/diagram-edge.styles.mjs +37 -0
- package/dist/components/diagram-edge-label/diagram-edge-label.component.mjs +202 -0
- package/dist/components/diagram-edge-label/diagram-edge-label.mjs +5 -0
- package/dist/components/diagram-edge-label/diagram-edge-label.styles.mjs +54 -0
- package/dist/components/diagram-marker/diagram-marker.component.mjs +84 -0
- package/dist/components/diagram-marker/diagram-marker.mjs +5 -0
- package/dist/components/diagram-marker/diagram-marker.styles.mjs +9 -0
- package/dist/components/diagram-minimap/diagram-minimap.component.mjs +298 -0
- package/dist/components/diagram-minimap/diagram-minimap.mjs +5 -0
- package/dist/components/diagram-minimap/diagram-minimap.styles.mjs +83 -0
- package/dist/components/diagram-node/diagram-node-template.styles.mjs +36 -0
- package/dist/components/diagram-node/diagram-node.component.mjs +183 -0
- package/dist/components/diagram-node/diagram-node.mjs +6 -0
- package/dist/components/diagram-node/diagram-node.styles.mjs +29 -0
- package/dist/components/diagram-palette-item/diagram-palette-item.component.mjs +168 -0
- package/dist/components/diagram-palette-item/diagram-palette-item.mjs +5 -0
- package/dist/components/diagram-palette-item/diagram-palette-item.styles.mjs +20 -0
- package/dist/components/diagram-palette-item-preview/diagram-palette-item-preview.component.mjs +245 -0
- package/dist/components/diagram-palette-item-preview/diagram-palette-item-preview.mjs +6 -0
- package/dist/components/diagram-palette-item-preview/diagram-palette-item-preview.styles.mjs +41 -0
- package/dist/components/diagram-port/diagram-port.component.mjs +273 -0
- package/dist/components/diagram-port/diagram-port.mjs +5 -0
- package/dist/components/diagram-port/diagram-port.styles.mjs +116 -0
- package/dist/components/diagram-resize-adornment/diagram-resize-adornment.component.mjs +124 -0
- package/dist/components/diagram-resize-adornment/diagram-resize-adornment.mjs +5 -0
- package/dist/components/diagram-resize-adornment/diagram-resize-adornment.styles.mjs +136 -0
- package/dist/components/diagram-rotate-adornment/diagram-rotate-adornment.component.mjs +125 -0
- package/dist/components/diagram-rotate-adornment/diagram-rotate-adornment.mjs +5 -0
- package/dist/components/diagram-rotate-adornment/diagram-rotate-adornment.styles.mjs +65 -0
- package/dist/components/diagram-zoom-controls/diagram-zoom-controls.component.mjs +158 -0
- package/dist/components/diagram-zoom-controls/diagram-zoom-controls.mjs +5 -0
- package/dist/components/diagram-zoom-controls/diagram-zoom-controls.styles.mjs +66 -0
- package/dist/components/dialog/dialog.component.mjs +4 -0
- package/dist/components/divider/divider.component.mjs +1 -0
- package/dist/components/drawer/drawer.component.mjs +3 -0
- package/dist/components/dropdown/dropdown.component.mjs +2 -1
- package/dist/components/form-group/form-group.component.mjs +1 -0
- package/dist/components/gauge/gauge.component.mjs +6 -0
- package/dist/components/icon/icon.component.mjs +1 -0
- package/dist/components/icon/library.system.mjs +2 -0
- package/dist/components/icon-button/icon-button.component.mjs +5 -0
- package/dist/components/input/input.component.mjs +5 -0
- package/dist/components/list/list.component.mjs +1 -0
- package/dist/components/list-item/list-item.component.mjs +17 -0
- package/dist/components/map/map.component.mjs +3 -0
- package/dist/components/map/map.styles.mjs +10 -0
- package/dist/components/menu/menu.component.mjs +1 -0
- package/dist/components/menu-item/menu-item.component.mjs +3 -0
- package/dist/components/menu-label/menu-label.component.mjs +1 -0
- package/dist/components/mutation-observer/mutation-observer.component.mjs +1 -0
- package/dist/components/option/option.component.mjs +2 -1
- package/dist/components/panel/panel.component.mjs +85 -1
- package/dist/components/panel/panel.styles.mjs +29 -0
- package/dist/components/panel-header/panel-header.component.mjs +3 -0
- package/dist/components/popup/popup.component.mjs +1 -0
- package/dist/components/progress-bar/progress-bar.component.mjs +1 -0
- package/dist/components/progress-ring/progress-ring.component.mjs +1 -0
- package/dist/components/query-builder/query-builder.component.mjs +27 -0
- package/dist/components/radio/radio.component.mjs +3 -0
- package/dist/components/radio-group/radio-group.component.mjs +3 -0
- package/dist/components/range/range.component.mjs +9 -0
- package/dist/components/resize-observer/resize-observer.component.mjs +1 -0
- package/dist/components/scroll-view/scroll-view.component.mjs +1 -0
- package/dist/components/select/select.component.mjs +3 -5
- package/dist/components/split-view/split-view-layout-registry.mjs +44 -0
- package/dist/components/split-view/split-view-layout.mjs +607 -0
- package/dist/components/split-view/split-view.component.mjs +502 -468
- package/dist/components/split-view/split-view.styles.mjs +25 -0
- package/dist/components/split-view-divider/split-view-divider.component.mjs +2 -53
- package/dist/components/split-view-divider/split-view-divider.styles.mjs +28 -16
- package/dist/components/split-view-pane/split-view-pane.component.mjs +197 -18
- package/dist/components/split-view-pane/split-view-pane.styles.mjs +52 -0
- package/dist/components/split-view-toggle-button/split-view-toggle-button.component.mjs +5 -0
- package/dist/components/stepper/stepper.component.mjs +1 -0
- package/dist/components/stepper-panel/stepper-panel.component.mjs +1 -0
- package/dist/components/switch/switch.component.mjs +3 -0
- package/dist/components/tab/tab.component.mjs +4 -0
- package/dist/components/tab-group/tab-group.component.mjs +176 -6
- package/dist/components/tab-group/tab-group.styles.mjs +44 -0
- package/dist/components/tab-panel/tab-panel.component.mjs +1 -0
- package/dist/components/tag/tag.component.mjs +2 -1
- package/dist/components/textarea/textarea.component.mjs +1 -0
- package/dist/components/timer/ticker.mjs +7 -0
- package/dist/components/timer/timer.component.mjs +44 -3
- package/dist/components/timer/timer.styles.mjs +6 -2
- package/dist/components/tool-button/tool-button.component.mjs +4 -0
- package/dist/components/tool-button-group/tool-button-group.component.mjs +3 -0
- package/dist/components/tooltip/tooltip.component.mjs +3 -0
- package/dist/components/tree/tree.component.mjs +1 -0
- package/dist/components/tree-item/tree-item.component.mjs +5 -0
- package/dist/components/visually-hidden/visually-hidden.component.mjs +1 -0
- package/dist/custom-elements.json +11803 -5676
- package/dist/diagram/api/diagram-api-base.mjs +16 -0
- package/dist/diagram/api/diagram-api.mjs +399 -0
- package/dist/diagram/api/diagram-clipboard-api.mjs +52 -0
- package/dist/diagram/api/diagram-groups-api.mjs +46 -0
- package/dist/diagram/api/diagram-model-api.mjs +447 -0
- package/dist/diagram/api/diagram-nodes-api.mjs +61 -0
- package/dist/diagram/api/diagram-selection-api.mjs +56 -0
- package/dist/diagram/api/diagram-viewport-api.mjs +169 -0
- package/dist/diagram/api/emit-with-measurement-option.mjs +21 -0
- package/dist/diagram/input/box-selection-controller.mjs +104 -0
- package/dist/diagram/input/context-menu-controller.mjs +196 -0
- package/dist/diagram/input/cursor-position-tracker-controller.mjs +18 -0
- package/dist/diagram/input/input-controller.mjs +31 -0
- package/dist/diagram/input/keyboard-actions/moving-action.mjs +27 -0
- package/dist/diagram/input/keyboard-actions/panning-action.mjs +27 -0
- package/dist/diagram/input/keyboard-actions/paste-action.mjs +17 -0
- package/dist/diagram/input/keyboard-actions/zoom-action.mjs +30 -0
- package/dist/diagram/input/keyboard-inputs-controller.mjs +121 -0
- package/dist/diagram/input/linking-controller.mjs +127 -0
- package/dist/diagram/input/linking-events.mjs +61 -0
- package/dist/diagram/input/manual-linking.mjs +101 -0
- package/dist/diagram/input/mobile-box-selection-controller.mjs +133 -0
- package/dist/diagram/input/mobile-panning-controller.mjs +114 -0
- package/dist/diagram/input/mobile-zooming-controller.mjs +110 -0
- package/dist/diagram/input/object-selection-controller.mjs +152 -0
- package/dist/diagram/input/palette-drop-controller.mjs +92 -0
- package/dist/diagram/input/panning-controller.mjs +147 -0
- package/dist/diagram/input/pointer-move-selection-controller.mjs +191 -0
- package/dist/diagram/input/relinking-gesture.mjs +182 -0
- package/dist/diagram/input/resize-controller.mjs +122 -0
- package/dist/diagram/input/rotate-controller.mjs +126 -0
- package/dist/diagram/input/zooming-wheel-controller.mjs +55 -0
- package/dist/diagram/minimap/minimap-calculations.mjs +83 -0
- package/dist/diagram/minimap/minimap-navigation-controller.mjs +150 -0
- package/dist/diagram/minimap/minimap-node-cache.mjs +19 -0
- package/dist/diagram/minimap/minimap-strategies.mjs +44 -0
- package/dist/diagram/model/diagram-model-adapter.mjs +97 -0
- package/dist/diagram/model/initialize-model.mjs +31 -0
- package/dist/diagram/model/strip-runtime-properties.mjs +30 -0
- package/dist/diagram/runtime/attribute-converters.mjs +11 -0
- package/dist/diagram/runtime/batched-resize-observer.mjs +168 -0
- package/dist/diagram/runtime/box-selection-provider.mjs +9 -0
- package/dist/diagram/runtime/context.mjs +132 -0
- package/dist/diagram/runtime/contexts.mjs +8 -0
- package/dist/diagram/runtime/cursor-position-tracker.mjs +20 -0
- package/dist/diagram/runtime/default-edge-templates.mjs +21 -0
- package/dist/diagram/runtime/default-node-templates.mjs +20 -0
- package/dist/diagram/runtime/diagram-reference.mjs +126 -0
- package/dist/diagram/runtime/diagram-runtime.mjs +214 -0
- package/dist/diagram/runtime/dom-input-events-router.mjs +88 -0
- package/dist/diagram/runtime/environment.mjs +59 -0
- package/dist/diagram/runtime/event-bridge.mjs +31 -0
- package/dist/diagram/runtime/flow-offset.mjs +45 -0
- package/dist/diagram/runtime/group-highlighted.mjs +25 -0
- package/dist/diagram/runtime/hidden.mjs +147 -0
- package/dist/diagram/runtime/lit-renderer.mjs +33 -0
- package/dist/diagram/runtime/marker-registry.mjs +108 -0
- package/dist/diagram/runtime/middlewares.mjs +14 -0
- package/dist/diagram/runtime/model-owner.mjs +11 -0
- package/dist/diagram/runtime/node-selected.mjs +25 -0
- package/dist/diagram/runtime/observable.mjs +205 -0
- package/dist/diagram/runtime/palette-drag.mjs +56 -0
- package/dist/diagram/runtime/port-hover.mjs +27 -0
- package/dist/diagram/runtime/port-registry.mjs +87 -0
- package/dist/diagram/runtime/resize-processor.mjs +207 -0
- package/dist/diagram/runtime/template-resolver.mjs +98 -0
- package/dist/diagram/runtime/touch-events-state.mjs +52 -0
- package/dist/diagram/utilities.mjs +27 -0
- package/dist/diagram-core/action-state-manager/action-state-manager.mjs +238 -0
- package/dist/diagram-core/batch-processor/batch-processor.mjs +144 -0
- package/dist/diagram-core/command-handler/command-handler.mjs +62 -0
- package/dist/diagram-core/command-handler/commands/add-to-group.mjs +32 -0
- package/dist/diagram-core/command-handler/commands/add-update-delete.mjs +196 -0
- package/dist/diagram-core/command-handler/commands/centering.mjs +73 -0
- package/dist/diagram-core/command-handler/commands/copy-paste.mjs +223 -0
- package/dist/diagram-core/command-handler/commands/cut.mjs +9 -0
- package/dist/diagram-core/command-handler/commands/delete-selection.mjs +32 -0
- package/dist/diagram-core/command-handler/commands/detach-on-node-delete.mjs +77 -0
- package/dist/diagram-core/command-handler/commands/highlight-group.mjs +45 -0
- package/dist/diagram-core/command-handler/commands/index.mjs +88 -0
- package/dist/diagram-core/command-handler/commands/init.mjs +11 -0
- package/dist/diagram-core/command-handler/commands/linking/cancel-linking.mjs +26 -0
- package/dist/diagram-core/command-handler/commands/linking/finish-linking-to-position.mjs +33 -0
- package/dist/diagram-core/command-handler/commands/linking/finish-linking.mjs +108 -0
- package/dist/diagram-core/command-handler/commands/linking/finish-relinking.mjs +91 -0
- package/dist/diagram-core/command-handler/commands/linking/linking-gesture.mjs +13 -0
- package/dist/diagram-core/command-handler/commands/linking/move-temporary-edge.mjs +98 -0
- package/dist/diagram-core/command-handler/commands/linking/start-linking-from-position.mjs +23 -0
- package/dist/diagram-core/command-handler/commands/linking/start-linking.mjs +47 -0
- package/dist/diagram-core/command-handler/commands/linking/start-relinking.mjs +51 -0
- package/dist/diagram-core/command-handler/commands/linking/utils.mjs +103 -0
- package/dist/diagram-core/command-handler/commands/move-nodes-lifecycle.mjs +14 -0
- package/dist/diagram-core/command-handler/commands/move-viewport.mjs +48 -0
- package/dist/diagram-core/command-handler/commands/move.mjs +90 -0
- package/dist/diagram-core/command-handler/commands/remove-from-group.mjs +22 -0
- package/dist/diagram-core/command-handler/commands/resize-node-lifecycle.mjs +14 -0
- package/dist/diagram-core/command-handler/commands/resize-node.mjs +214 -0
- package/dist/diagram-core/command-handler/commands/rotate-node-lifecycle.mjs +14 -0
- package/dist/diagram-core/command-handler/commands/rotate-node.mjs +53 -0
- package/dist/diagram-core/command-handler/commands/selection.mjs +69 -0
- package/dist/diagram-core/command-handler/commands/z-order.mjs +125 -0
- package/dist/diagram-core/command-handler/commands/zoom-to-fit.mjs +118 -0
- package/dist/diagram-core/command-handler/commands/zoom.mjs +26 -0
- package/dist/diagram-core/edge-routing-manager/edge-routing-manager.mjs +253 -0
- package/dist/diagram-core/edge-routing-manager/resolve-label-position.mjs +13 -0
- package/dist/diagram-core/edge-routing-manager/routings/bezier/bezier-routing.mjs +73 -0
- package/dist/diagram-core/edge-routing-manager/routings/bezier/compute-bezier-path.mjs +24 -0
- package/dist/diagram-core/edge-routing-manager/routings/bezier/compute-bezier-point-at-distance.mjs +37 -0
- package/dist/diagram-core/edge-routing-manager/routings/bezier/compute-bezier-point-on-path.mjs +33 -0
- package/dist/diagram-core/edge-routing-manager/routings/bezier/compute-bezier-points.mjs +31 -0
- package/dist/diagram-core/edge-routing-manager/routings/orthogonal/compute-orthogonal-path.mjs +56 -0
- package/dist/diagram-core/edge-routing-manager/routings/orthogonal/compute-orthogonal-point-at-distance.mjs +12 -0
- package/dist/diagram-core/edge-routing-manager/routings/orthogonal/compute-orthogonal-point-on-path.mjs +38 -0
- package/dist/diagram-core/edge-routing-manager/routings/orthogonal/compute-orthogonal-points.mjs +26 -0
- package/dist/diagram-core/edge-routing-manager/routings/orthogonal/orthogonal-routing.mjs +69 -0
- package/dist/diagram-core/edge-routing-manager/routings/orthogonal/utils/get-offset-point.mjs +14 -0
- package/dist/diagram-core/edge-routing-manager/routings/orthogonal/utils/pathpoints/get-pathpoints-from-bottom.mjs +104 -0
- package/dist/diagram-core/edge-routing-manager/routings/orthogonal/utils/pathpoints/get-pathpoints-from-left.mjs +91 -0
- package/dist/diagram-core/edge-routing-manager/routings/orthogonal/utils/pathpoints/get-pathpoints-from-right.mjs +88 -0
- package/dist/diagram-core/edge-routing-manager/routings/orthogonal/utils/pathpoints/get-pathpoints-from-top.mjs +168 -0
- package/dist/diagram-core/edge-routing-manager/routings/orthogonal/utils/pathpoints/get-pathpoints.mjs +23 -0
- package/dist/diagram-core/edge-routing-manager/routings/polyline/compute-polyline-point-at-distance.mjs +12 -0
- package/dist/diagram-core/edge-routing-manager/routings/polyline/compute-polyline-point-on-path.mjs +41 -0
- package/dist/diagram-core/edge-routing-manager/routings/polyline/polyline-routing.mjs +81 -0
- package/dist/diagram-core/edge-routing-manager/utils/linear-segment-utils.mjs +27 -0
- package/dist/diagram-core/edge-routing-manager/utils/normalize-distance.mjs +6 -0
- package/dist/diagram-core/event-manager/event-manager.mjs +164 -0
- package/dist/diagram-core/flow-config/default-flow-config.mjs +143 -0
- package/dist/diagram-core/flow-core.mjs +541 -0
- package/dist/diagram-core/input-events/handlers/box-selection/box-selection.handler.mjs +69 -0
- package/dist/diagram-core/input-events/handlers/cancel-interaction/cancel-interaction.handler.mjs +9 -0
- package/dist/diagram-core/input-events/handlers/copy/copy.handler.mjs +9 -0
- package/dist/diagram-core/input-events/handlers/cut/cut.handler.mjs +9 -0
- package/dist/diagram-core/input-events/handlers/delete-selection/delete-selection.handler.mjs +9 -0
- package/dist/diagram-core/input-events/handlers/event-handler.mjs +29 -0
- package/dist/diagram-core/input-events/handlers/keyboard-move-selection/keyboard-move-selection.handler.mjs +130 -0
- package/dist/diagram-core/input-events/handlers/keyboard-panning/keyboard-panning.handler.mjs +31 -0
- package/dist/diagram-core/input-events/handlers/linking/linking.handler.mjs +77 -0
- package/dist/diagram-core/input-events/handlers/movable-selection.mjs +26 -0
- package/dist/diagram-core/input-events/handlers/palette-drop/palette-drop.handler.mjs +20 -0
- package/dist/diagram-core/input-events/handlers/panning/panning-handler-factory.mjs +8 -0
- package/dist/diagram-core/input-events/handlers/panning/panning.handler.mjs +41 -0
- package/dist/diagram-core/input-events/handlers/panning/virtualized-panning.handler.mjs +77 -0
- package/dist/diagram-core/input-events/handlers/paste/paste.handler.mjs +17 -0
- package/dist/diagram-core/input-events/handlers/pointer-move-selection/pointer-move-selection.handler.mjs +220 -0
- package/dist/diagram-core/input-events/handlers/redo/redo.handler.mjs +14 -0
- package/dist/diagram-core/input-events/handlers/relinking/relinking.handler.mjs +62 -0
- package/dist/diagram-core/input-events/handlers/resize/resize.handler.mjs +174 -0
- package/dist/diagram-core/input-events/handlers/rotate/rotate.handler.mjs +107 -0
- package/dist/diagram-core/input-events/handlers/select/select.handler.mjs +42 -0
- package/dist/diagram-core/input-events/handlers/select-all/select-all.handler.mjs +10 -0
- package/dist/diagram-core/input-events/handlers/undo/undo.handler.mjs +14 -0
- package/dist/diagram-core/input-events/handlers/wheel-panning/wheel-panning.handler.mjs +25 -0
- package/dist/diagram-core/input-events/handlers/zooming/zooming.handler.mjs +28 -0
- package/dist/diagram-core/input-events/input-events.router.mjs +75 -0
- package/dist/diagram-core/interaction-coordinator/interaction-coordinator.mjs +75 -0
- package/dist/diagram-core/label-batch-processor/label-batch-processor.mjs +19 -0
- package/dist/diagram-core/math/angle-between-points/angle-between-points.mjs +5 -0
- package/dist/diagram-core/math/angle-to-side/angle-to-side.mjs +27 -0
- package/dist/diagram-core/math/calculate-edge-panning-force/calculate-edge-panning-force.mjs +34 -0
- package/dist/diagram-core/math/clamp/clamp.mjs +5 -0
- package/dist/diagram-core/math/distance-between-points/distance-between-points.mjs +5 -0
- package/dist/diagram-core/math/ng-diagram-math.mjs +25 -0
- package/dist/diagram-core/math/normalize-angle/normalize-angle.mjs +5 -0
- package/dist/diagram-core/math/snap-angle/snap-angle.mjs +43 -0
- package/dist/diagram-core/math/snap-number/snap-number.mjs +3 -0
- package/dist/diagram-core/math/snap-point/snap-point.mjs +8 -0
- package/dist/diagram-core/math/subtract-points/subtract-points.mjs +5 -0
- package/dist/diagram-core/measurement-tracker/measurement-tracker.mjs +182 -0
- package/dist/diagram-core/middleware-manager/middleware-executor.mjs +246 -0
- package/dist/diagram-core/middleware-manager/middleware-manager.mjs +93 -0
- package/dist/diagram-core/middleware-manager/middlewares/edges-routing/edges-routing.mjs +149 -0
- package/dist/diagram-core/middleware-manager/middlewares/edges-routing/get-edge-points.mjs +93 -0
- package/dist/diagram-core/middleware-manager/middlewares/edges-routing/get-source-target-positions.mjs +90 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/clipboard-paste.emitter.mjs +34 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/diagram-init.emitter.mjs +190 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/edge-draw-ended.emitter.mjs +51 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/edge-drawn.emitter.mjs +35 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/edge-relink.emitter.mjs +58 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/group-membership-changed.emitter.mjs +49 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/node-drag-lifecycle.emitter.mjs +54 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/node-resize-lifecycle.emitter.mjs +44 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/node-rotate-lifecycle.emitter.mjs +44 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/palette-item-dropped.emitter.mjs +26 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/selection-changed.emitter.mjs +61 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/selection-gesture-ended.emitter.mjs +32 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/selection-moved.emitter.mjs +57 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/selection-removed.emitter.mjs +40 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/selection-rotated.emitter.mjs +33 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/size-changed.emitter.mjs +33 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/emitters/viewport-changed.emitter.mjs +19 -0
- package/dist/diagram-core/middleware-manager/middlewares/event-emitter/event-emitter.middleware.mjs +69 -0
- package/dist/diagram-core/middleware-manager/middlewares/hidden-computation/hidden-computation.mjs +66 -0
- package/dist/diagram-core/middleware-manager/middlewares/internal-id-assignment/internal-id-assignment.mjs +24 -0
- package/dist/diagram-core/middleware-manager/middlewares/logger/logger.mjs +18 -0
- package/dist/diagram-core/middleware-manager/middlewares/measured-bounds-assignment/is-node-fully-measured.mjs +20 -0
- package/dist/diagram-core/middleware-manager/middlewares/measured-bounds-assignment/measured-bounds-assignment.mjs +59 -0
- package/dist/diagram-core/middleware-manager/middlewares/measurement-tracking/measurement-tracking.middleware.mjs +55 -0
- package/dist/diagram-core/middleware-manager/middlewares/z-index-assignment/utils/assign-edges-z-index.mjs +12 -0
- package/dist/diagram-core/middleware-manager/middlewares/z-index-assignment/utils/assign-node-z-index.mjs +61 -0
- package/dist/diagram-core/middleware-manager/middlewares/z-index-assignment/utils/create-group-children-map.mjs +14 -0
- package/dist/diagram-core/middleware-manager/middlewares/z-index-assignment/utils/initialize-z-index.mjs +30 -0
- package/dist/diagram-core/middleware-manager/middlewares/z-index-assignment/utils/sort-children.mjs +36 -0
- package/dist/diagram-core/middleware-manager/middlewares/z-index-assignment/z-index-assignment.mjs +240 -0
- package/dist/diagram-core/middleware-manager/pass-settlement.mjs +68 -0
- package/dist/diagram-core/model-lookup/model-lookup.mjs +394 -0
- package/dist/diagram-core/port-batch-processor/port-batch-processor.mjs +20 -0
- package/dist/diagram-core/render-strategy/base-render-strategy.mjs +26 -0
- package/dist/diagram-core/render-strategy/direct/direct-render-strategy.mjs +33 -0
- package/dist/diagram-core/render-strategy/render-performance-logger.mjs +42 -0
- package/dist/diagram-core/render-strategy/virtualized/idle-render-scheduler.mjs +43 -0
- package/dist/diagram-core/render-strategy/virtualized/result-cache.mjs +63 -0
- package/dist/diagram-core/render-strategy/virtualized/viewport-utils.mjs +40 -0
- package/dist/diagram-core/render-strategy/virtualized/virtualized-render-strategy.mjs +91 -0
- package/dist/diagram-core/render-strategy/virtualized/visible-elements-resolver.mjs +120 -0
- package/dist/diagram-core/render-strategy/virtualized/zoom-tracker.mjs +38 -0
- package/dist/diagram-core/set.polyfill.mjs +24 -0
- package/dist/diagram-core/shortcut-manager/default-shortcuts.mjs +99 -0
- package/dist/diagram-core/shortcut-manager/shortcut-manager.mjs +140 -0
- package/dist/diagram-core/spatial-hash/collision-detection.mjs +74 -0
- package/dist/diagram-core/spatial-hash/spatial-hash.mjs +161 -0
- package/dist/diagram-core/spatial-hash/utils.mjs +92 -0
- package/dist/diagram-core/transaction-manager/transaction-context.mjs +40 -0
- package/dist/diagram-core/transaction-manager/transaction-manager.mjs +94 -0
- package/dist/diagram-core/transaction-manager/transaction.mjs +179 -0
- package/dist/diagram-core/types/edge.interface.mjs +3 -0
- package/dist/diagram-core/types/node.interface.mjs +3 -0
- package/dist/diagram-core/types/utils.mjs +3 -0
- package/dist/diagram-core/updater/init-updater/init-state.mjs +356 -0
- package/dist/diagram-core/updater/init-updater/init-updater.mjs +275 -0
- package/dist/diagram-core/updater/init-updater/late-arrival-queue.mjs +71 -0
- package/dist/diagram-core/updater/init-updater/stability-detector.mjs +63 -0
- package/dist/diagram-core/updater/internal-updater/internal-updater.mjs +166 -0
- package/dist/diagram-core/utils/change-generation.mjs +13 -0
- package/dist/diagram-core/utils/compute-floating-edge-side.mjs +35 -0
- package/dist/diagram-core/utils/constants.mjs +3 -0
- package/dist/diagram-core/utils/dangling-edges.mjs +89 -0
- package/dist/diagram-core/utils/deep-merge.mjs +22 -0
- package/dist/diagram-core/utils/dimensions.mjs +52 -0
- package/dist/diagram-core/utils/get-node-border-intersection.mjs +99 -0
- package/dist/diagram-core/utils/get-port-flow-position.mjs +55 -0
- package/dist/diagram-core/utils/group-size.mjs +32 -0
- package/dist/diagram-core/utils/is-group.mjs +5 -0
- package/dist/diagram-core/utils/measurement-validation.mjs +11 -0
- package/dist/diagram-core/utils/object-properties.mjs +22 -0
- package/dist/diagram-core/utils/rects-points-sizes.mjs +148 -0
- package/dist/diagram-core/utils/relinking.mjs +6 -0
- package/dist/diagram-core/utils/semaphore.mjs +43 -0
- package/dist/diagram-core/utils/snap-node-position.mjs +11 -0
- package/dist/diagram-core/utils/sort-nodes-by-z-index.mjs +22 -0
- package/dist/diagram-core/visibility/effective-visibility.mjs +28 -0
- package/dist/diagram-core/visibility/template-visibility-registry.mjs +87 -0
- package/dist/index.d.mts +13416 -3794
- package/dist/index.d.ts +13416 -3794
- package/dist/index.mjs +34 -0
- package/dist/internal/content-size.mjs +14 -0
- package/dist/internal/custom-boolean-converter.mjs +18 -0
- package/dist/internal/flow-ui-rdf-element.mjs +57 -5
- package/dist/package.json.mjs +1 -1
- package/dist/utilities/register-components.mjs +77 -142
- package/dist/vscode.html-custom-data.json +460 -187
- package/package.json +16 -8
- package/themes/dark.css +2 -0
- package/themes/dark.styles.js +2 -0
- package/themes/light.css +2 -0
- package/themes/light.styles.js +2 -0
|
@@ -135,6 +135,18 @@
|
|
|
135
135
|
],
|
|
136
136
|
"references": []
|
|
137
137
|
},
|
|
138
|
+
{
|
|
139
|
+
"name": "flow-ui-breadcrumb",
|
|
140
|
+
"description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
141
|
+
"attributes": [
|
|
142
|
+
{
|
|
143
|
+
"name": "label",
|
|
144
|
+
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
145
|
+
"values": []
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"references": []
|
|
149
|
+
},
|
|
138
150
|
{
|
|
139
151
|
"name": "flow-ui-base-control",
|
|
140
152
|
"description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when an alteration to the control's value is committed by the user.\n- **flow-ui-clear** - Emitted when the clear button is activated.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
|
|
@@ -196,18 +208,6 @@
|
|
|
196
208
|
],
|
|
197
209
|
"references": []
|
|
198
210
|
},
|
|
199
|
-
{
|
|
200
|
-
"name": "flow-ui-breadcrumb",
|
|
201
|
-
"description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
202
|
-
"attributes": [
|
|
203
|
-
{
|
|
204
|
-
"name": "label",
|
|
205
|
-
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
206
|
-
"values": []
|
|
207
|
-
}
|
|
208
|
-
],
|
|
209
|
-
"references": []
|
|
210
|
-
},
|
|
211
211
|
{
|
|
212
212
|
"name": "flow-ui-avatar",
|
|
213
213
|
"description": "Avatars are used to represent a person or object.\n\n\n---\n\n\n\n\n### **Slots:**\n - **icon** - The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--size** - The size of the avatar. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the avatar's icon.\n- **initials** - The container that wraps the avatar's initials.\n- **image** - The avatar image. Only shown when the `image` attribute is set.",
|
|
@@ -246,11 +246,11 @@
|
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
248
|
"name": "flow-ui-autocomplete",
|
|
249
|
-
"description": "
|
|
249
|
+
"description": "Autocompletes allow users to type into a text input and choose a value from a list of suggested [options](./flow-ui-option).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-input** - Emitted when the input text changes. When the user types, the event is emitted after the `debounce-delay`. Call `getInputText()` to read the text, for example to update the options.\n- **flow-ui-change** - Emitted when the autocomplete's value changes.\n- **flow-ui-focus** - Emitted when the autocomplete gains focus.\n- **flow-ui-blur** - Emitted when the autocomplete loses focus.\n- **flow-ui-show** - Emitted when the listbox opens.\n- **flow-ui-after-show** - Emitted after the listbox opens and all animations are complete.\n- **flow-ui-hide** - Emitted when the listbox closes.\n- **flow-ui-after-hide** - Emitted after the listbox closes and all animations are complete.\n\n### **Methods:**\n - **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **checkValidity(): _boolean_** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(_: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus()** - Focuses on the control\n- **blur()** - Blurs from the control.\n- **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **getInputText()** - Gets the current value of the text input\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<flow-ui-option>` elements. You can use `<flow-ui-divider>` to group items visually.\n- **label** - The autocomplete's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the combobox.\n- **suffix** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **help-text** - Text that describes how to use the autocomplete. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **label** - The label's wrapper.\n- **help-text** - The help text's wrapper.\n- **control** - The input's wrapper.\n- **combobox** - The container that wraps the prefix, suffix, input and clear button.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **display-input** - The text input, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **clear-button** - The clear button.",
|
|
250
250
|
"attributes": [
|
|
251
251
|
{
|
|
252
252
|
"name": "size",
|
|
253
|
-
"description": "The autocomplete's size",
|
|
253
|
+
"description": "The autocomplete's size.",
|
|
254
254
|
"values": [
|
|
255
255
|
{ "name": "small" },
|
|
256
256
|
{ "name": "medium" },
|
|
@@ -259,52 +259,52 @@
|
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
"name": "filled",
|
|
262
|
-
"description": "Draws a filled autocomplete input",
|
|
262
|
+
"description": "Draws a filled autocomplete input.",
|
|
263
263
|
"values": []
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
266
|
"name": "pill",
|
|
267
|
-
"description": "Draws a pill-style autocomplete input with rounded edges",
|
|
267
|
+
"description": "Draws a pill-style autocomplete input with rounded edges.",
|
|
268
268
|
"values": []
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
271
|
"name": "label",
|
|
272
|
-
"description": "The autocomplete
|
|
272
|
+
"description": "The autocomplete's label. If you need to display HTML, use the `label` slot instead.",
|
|
273
273
|
"values": []
|
|
274
274
|
},
|
|
275
275
|
{
|
|
276
276
|
"name": "help-text",
|
|
277
|
-
"description": "The autocomplete
|
|
277
|
+
"description": "The autocomplete's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
278
278
|
"values": []
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
"name": "placeholder",
|
|
282
|
-
"description": "The autocomplete
|
|
282
|
+
"description": "The autocomplete's placeholder text.",
|
|
283
283
|
"values": []
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
286
|
"name": "disabled",
|
|
287
|
-
"description": "Disables the autocomplete",
|
|
287
|
+
"description": "Disables the autocomplete.",
|
|
288
288
|
"values": []
|
|
289
289
|
},
|
|
290
290
|
{
|
|
291
291
|
"name": "form",
|
|
292
|
-
"description": "The \"form owner\" to associate the
|
|
292
|
+
"description": "The \"form owner\" to associate the autocomplete with. If omitted, the closest containing form will be used\ninstead. The value of this attribute must be an id of a form in the same document or shadow root as the\nautocomplete.",
|
|
293
293
|
"values": []
|
|
294
294
|
},
|
|
295
295
|
{
|
|
296
296
|
"name": "required",
|
|
297
|
-
"description": "Makes the autocomplete a required field",
|
|
297
|
+
"description": "Makes the autocomplete a required field.",
|
|
298
298
|
"values": []
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
301
|
"name": "inline",
|
|
302
|
-
"description": "
|
|
302
|
+
"description": "Set to `true` to display the autocomplete in the inline form control style.",
|
|
303
303
|
"values": []
|
|
304
304
|
},
|
|
305
305
|
{
|
|
306
306
|
"name": "divider",
|
|
307
|
-
"description": "
|
|
307
|
+
"description": "Set to `true` to display a divider below the control.",
|
|
308
308
|
"values": []
|
|
309
309
|
},
|
|
310
310
|
{
|
|
@@ -319,12 +319,12 @@
|
|
|
319
319
|
},
|
|
320
320
|
{
|
|
321
321
|
"name": "value",
|
|
322
|
-
"description": "
|
|
322
|
+
"description": "The option value of the selected option.",
|
|
323
323
|
"values": []
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
326
|
"name": "displayWith",
|
|
327
|
-
"description": "
|
|
327
|
+
"description": "The function that returns the text to show in the input for a given `value`. It can return a promise. If not set,\nthe input shows the value itself.",
|
|
328
328
|
"values": [
|
|
329
329
|
{ "name": "((value: string) => string)" },
|
|
330
330
|
{ "name": "((value: string) => Promise<string>)" }
|
|
@@ -332,17 +332,17 @@
|
|
|
332
332
|
},
|
|
333
333
|
{
|
|
334
334
|
"name": "debounce-delay",
|
|
335
|
-
"description": "
|
|
335
|
+
"description": "The delay in milliseconds between the user's last keystroke and the `flow-ui-input` event.",
|
|
336
336
|
"values": []
|
|
337
337
|
},
|
|
338
338
|
{
|
|
339
339
|
"name": "clearable",
|
|
340
|
-
"description": "
|
|
340
|
+
"description": "Set to `true` to show a clear button when the autocomplete has a value.",
|
|
341
341
|
"values": []
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
344
|
"name": "clear-on-focus",
|
|
345
|
-
"description": "
|
|
345
|
+
"description": "Set to `true` to clear the value when the autocomplete gains focus.",
|
|
346
346
|
"values": []
|
|
347
347
|
}
|
|
348
348
|
],
|
|
@@ -785,7 +785,7 @@
|
|
|
785
785
|
},
|
|
786
786
|
{
|
|
787
787
|
"name": "flow-ui-checkbox-group",
|
|
788
|
-
"description": "
|
|
788
|
+
"description": "Checkbox groups are used to group multiple [checkboxes](./flow-ui-checkbox) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the checkbox group's value changes by UI interaction.\n- **flow-ui-input** - Emitted when the checkbox group receives user input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **handleChildEvents(event: _Event_)** - Stop propagation of flow-ui-input and flow-ui-change from child checkboxes\n\n### **Slots:**\n - _default_ - The default slot where `<flow-ui-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **help-text** - The checkbox group's help text. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.",
|
|
789
789
|
"attributes": [
|
|
790
790
|
{
|
|
791
791
|
"name": "label",
|
|
@@ -794,7 +794,7 @@
|
|
|
794
794
|
},
|
|
795
795
|
{
|
|
796
796
|
"name": "help-text",
|
|
797
|
-
"description": "The checkbox
|
|
797
|
+
"description": "The checkbox group's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
798
798
|
"values": []
|
|
799
799
|
},
|
|
800
800
|
{
|
|
@@ -802,10 +802,14 @@
|
|
|
802
802
|
"description": "The name of the checkbox group, submitted as a name/value pair with form data.",
|
|
803
803
|
"values": []
|
|
804
804
|
},
|
|
805
|
-
{
|
|
805
|
+
{
|
|
806
|
+
"name": "value",
|
|
807
|
+
"description": "The values of the checked checkboxes. (Space-separated list when set as an attribute)",
|
|
808
|
+
"values": [{ "name": "string[]" }]
|
|
809
|
+
},
|
|
806
810
|
{
|
|
807
811
|
"name": "size",
|
|
808
|
-
"description": "The
|
|
812
|
+
"description": "The checkbox group's size. This size will be applied to all child checkboxes.",
|
|
809
813
|
"values": [
|
|
810
814
|
{ "name": "small" },
|
|
811
815
|
{ "name": "medium" },
|
|
@@ -819,17 +823,17 @@
|
|
|
819
823
|
},
|
|
820
824
|
{
|
|
821
825
|
"name": "required",
|
|
822
|
-
"description": "
|
|
826
|
+
"description": "Makes the checkbox group a required field.",
|
|
823
827
|
"values": []
|
|
824
828
|
},
|
|
825
829
|
{
|
|
826
830
|
"name": "reverse",
|
|
827
|
-
"description": "
|
|
831
|
+
"description": "Set to `true` to display the child checkboxes in a reversed style with a left-aligned label.",
|
|
828
832
|
"values": []
|
|
829
833
|
},
|
|
830
834
|
{
|
|
831
835
|
"name": "divider",
|
|
832
|
-
"description": "
|
|
836
|
+
"description": "Set to `true` to display a divider below the control.",
|
|
833
837
|
"values": []
|
|
834
838
|
}
|
|
835
839
|
],
|
|
@@ -1211,6 +1215,270 @@
|
|
|
1211
1215
|
],
|
|
1212
1216
|
"references": []
|
|
1213
1217
|
},
|
|
1218
|
+
{
|
|
1219
|
+
"name": "flow-ui-diagram",
|
|
1220
|
+
"description": "Diagrams are used to display and edit nodes connected by edges.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-diagram-init** - Emitted when every node, port and label has been measured and the diagram is shown.\n- **flow-ui-diagram-selection-moved** - Emitted when selected nodes are moved, by dragging or through the API.\n- **flow-ui-diagram-selection-changed** - Emitted when the selected nodes or edges change.\n- **flow-ui-diagram-selection-removed** - Emitted when selected nodes and edges are deleted.\n- **flow-ui-diagram-group-membership-changed** - Emitted when nodes are moved into or out of a group.\n- **flow-ui-diagram-selection-rotated** - Emitted when a node is rotated.\n- **flow-ui-diagram-viewport-changed** - Emitted when the viewport is panned or zoomed.\n- **flow-ui-diagram-edge-drawn** - Emitted when the user draws an edge between two nodes. Deprecated: use `flow-ui-diagram-edge-draw-ended` instead, which is also emitted when a draw is canceled.\n- **flow-ui-diagram-edge-draw-ended** - Emitted when an edge-drawing gesture ends, whether an edge was created or not.\n- **flow-ui-diagram-edge-relink-started** - Emitted when the user starts dragging an end of an existing edge.\n- **flow-ui-diagram-edge-relink-ended** - Emitted when an edge relink gesture ends: the edge is reconnected, left dangling or reverted.\n- **flow-ui-diagram-clipboard-pasted** - Emitted when nodes and edges are pasted.\n- **flow-ui-diagram-node-resized** - Emitted when a node or group changes size.\n- **flow-ui-diagram-palette-item-dropped** - Emitted when a palette item is dropped onto the diagram.\n- **flow-ui-diagram-node-resize-started** - Emitted when the user starts resizing a node.\n- **flow-ui-diagram-node-resize-ended** - Emitted when the user finishes resizing a node.\n- **flow-ui-diagram-node-rotate-started** - Emitted when the user starts rotating a node.\n- **flow-ui-diagram-node-rotate-ended** - Emitted when the user finishes rotating a node.\n- **flow-ui-diagram-selection-gesture-ended** - Emitted when a selection gesture (click, box selection or select-all) ends.\n- **flow-ui-diagram-node-drag-started** - Emitted when a node drag crosses the drag threshold.\n- **flow-ui-diagram-node-drag-ended** - Emitted when the user finishes dragging nodes.\n- **flow-ui-diagram-context-menu** - Emitted when the user asks for a context menu: a right-click on a node, an edge or the background, or a touch long press on a node or an edge. The `detail` has the `target` and `targetType`, and the `clientPosition` and `flowPosition` to open the menu at. Calling `event.preventDefault()` will cancel the browser's context menu.\n\n### **Slots:**\n - **background** - A background, such as `flow-ui-diagram-background`, drawn beneath the content. A `flow-ui-diagram-background` child is assigned to it automatically. Without one, the diagram has the plain `--flow-ui-diagram-background-color`.\n- **overlay** - Elements drawn above the diagram, such as `flow-ui-diagram-minimap` and `flow-ui-diagram-zoom-controls` (assigned to it automatically when they are direct children). Pointer presses on overlay elements do not pan, select or box-select in the diagram.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-background-color** - The diagram's background color. _(default: undefined)_\n- **--flow-ui-diagram-text-color** - The default text color of the diagram content. _(default: undefined)_\n- **--flow-ui-diagram-accent-color** - The accent color (selection, hover, handles). _(default: undefined)_\n- **--flow-ui-diagram-node-background-color** - The background color of default nodes. _(default: undefined)_\n- **--flow-ui-diagram-node-border-color** - The border color of default nodes. _(default: undefined)_\n- **--flow-ui-diagram-node-border-color-hover** - The border color of hovered and selected default nodes. _(default: undefined)_\n- **--flow-ui-diagram-node-border-radius** - The corner radius of default nodes. _(default: undefined)_\n- **--flow-ui-diagram-selected-node-box-shadow** - The box shadow of selected default nodes. _(default: undefined)_\n- **--flow-ui-diagram-group-border-color** - The border color of default groups. _(default: undefined)_\n- **--flow-ui-diagram-box-selection-background** - The fill of the box-selection rectangle. _(default: undefined)_\n- **--flow-ui-diagram-box-selection-border-color** - The border color of the box-selection rectangle. _(default: undefined)_\n- **--flow-ui-diagram-box-selection-border-size** - The border width of the box-selection rectangle. _(default: undefined)_\n\n### **CSS Parts:**\n - **background** - The container of the `background` slot.\n- **overlay** - The container of the `overlay` slot, covering the diagram. It does not take pointer events itself, but its slotted elements do.\n- **canvas** - The transformed layer (pan and zoom) that holds the nodes and edges.\n- **box-selection** - The rectangle drawn during a box selection.",
|
|
1221
|
+
"attributes": [
|
|
1222
|
+
{
|
|
1223
|
+
"name": "tabbable",
|
|
1224
|
+
"description": "Set to `false` to take the diagram out of the page's Tab order (`tabindex=\"-1\"` instead of `tabindex=\"0\"`). It\ncan still be clicked and focused from code, and keyboard shortcuts still work while it has focus. Focusable\ncontent inside node and edge templates keeps its own Tab stops.",
|
|
1225
|
+
"values": []
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
"name": "selection-mode",
|
|
1229
|
+
"description": "The selection mode: how pressing nodes and edges changes the selection. In `default` mode, a press selects the\npressed node or edge alone, unless the multi-selection modifier is held. In `toggle` mode, each tap adds the\ntapped node or edge to the selection or removes it, which allows multi-selection on touch screens. Note that\nswitching modes keeps the current selection.",
|
|
1230
|
+
"values": [{ "name": "DiagramSelectionMode" }]
|
|
1231
|
+
}
|
|
1232
|
+
],
|
|
1233
|
+
"references": []
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"name": "flow-ui-diagram-background",
|
|
1237
|
+
"description": "Diagram backgrounds are used to draw a dotted, grid or custom backdrop that follows pan and zoom.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - Custom background content, in place of the built-in pattern.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-background-dot-color** - The color of the dots. _(default: undefined)_\n- **--flow-ui-diagram-background-line-minor-color** - The color of minor grid lines. _(default: undefined)_\n- **--flow-ui-diagram-background-line-major-color** - The color of major grid lines. _(default: undefined)_\n- **--flow-ui-diagram-background-line-minor-width** - The width of minor grid lines, in pixels (a number). _(default: undefined)_\n- **--flow-ui-diagram-background-line-major-width** - The width of major grid lines, in pixels (a number). _(default: undefined)_\n- **--flow-ui-diagram-background-line-minor-opacity** - The opacity of minor grid lines. _(default: undefined)_\n- **--flow-ui-diagram-background-line-major-opacity** - The opacity of major grid lines. _(default: undefined)_\n\n### **CSS Parts:**\n - **pattern** - The SVG that draws the built-in dots or grid.\n- **custom** - The container of slotted custom content.",
|
|
1238
|
+
"attributes": [
|
|
1239
|
+
{
|
|
1240
|
+
"name": "type",
|
|
1241
|
+
"description": "The built-in pattern. Note that it is ignored when the element has custom content.",
|
|
1242
|
+
"values": [{ "name": "dots" }, { "name": "grid" }]
|
|
1243
|
+
}
|
|
1244
|
+
],
|
|
1245
|
+
"references": []
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
"name": "flow-ui-diagram-base-edge",
|
|
1249
|
+
"description": "Base edges are used in edge templates to draw the path and arrowheads of a diagram edge.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - Edge labels, such as `flow-ui-diagram-edge-label`.\n\n### **CSS Properties:**\n - **--edge-stroke** - The stroke color, when the `stroke` property is not set. Defaults to `--flow-ui-diagram-edge-stroke`. _(default: undefined)_\n- **--edge-stroke-width** - The stroke width, when `stroke-width` is not set. Defaults to `2px`. _(default: undefined)_\n- **--edge-stroke-dasharray** - The stroke dash pattern, when `stroke-dasharray` is not set. Defaults to `none`. _(default: undefined)_\n- **--edge-stroke-opacity** - The stroke opacity, when `stroke-opacity` is not set. Defaults to `1`. _(default: undefined)_\n- **--edge-stroke-transition** - A transition for the stroke, for example on hover. Defaults to `none`. _(default: undefined)_\n- **--edge-relink-handle-size** - The outer diameter of the relink handles. Defaults to `--flow-ui-diagram-relink-handle-size`; the other `--edge-relink-handle-*` properties default to the matching `--flow-ui-diagram-relink-handle-*` ones. _(default: undefined)_\n- **--edge-relink-handle-stroke-width** - The width of the relink handles' ring. _(default: undefined)_\n- **--edge-relink-handle-fill** - The relink handles' fill color. _(default: undefined)_\n- **--edge-relink-handle-fill-hover** - The fill color of a hovered relink handle. _(default: undefined)_\n- **--edge-relink-handle-fill-drag** - The fill color of a dragged relink handle. _(default: undefined)_\n- **--edge-relink-handle-stroke** - The relink handles' ring color. _(default: undefined)_\n- **--edge-relink-handle-stroke-hover** - The ring color of a hovered relink handle. _(default: undefined)_\n- **--edge-relink-handle-stroke-drag** - The ring color of a dragged relink handle. _(default: undefined)_\n- **--edge-relink-handle-halo-size** - The width of the halo around a hovered or dragged relink handle. _(default: undefined)_\n- **--edge-relink-handle-halo-color-hover** - The halo color of a hovered relink handle. _(default: undefined)_\n- **--edge-relink-handle-halo-color-drag** - The halo color of a dragged relink handle. _(default: undefined)_\n\n### **CSS Parts:**\n - **svg** - The SVG element (positioned at the diagram origin, with visible overflow).\n- **path** - The visible path.\n- **hit-area** - The invisible, wider path that catches pointer events.",
|
|
1250
|
+
"attributes": [
|
|
1251
|
+
{
|
|
1252
|
+
"name": "routing",
|
|
1253
|
+
"description": "The name of the edge routing to use, which is written to the edge in the model. If not set, the edge's `routing`\nis used.",
|
|
1254
|
+
"values": []
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"name": "stroke",
|
|
1258
|
+
"description": "The stroke color. If not set, `--edge-stroke` is used.",
|
|
1259
|
+
"values": []
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
"name": "source-arrowhead",
|
|
1263
|
+
"description": "The ID of the marker at the source end. Note that the edge's `sourceArrowhead` takes precedence.",
|
|
1264
|
+
"values": []
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"name": "target-arrowhead",
|
|
1268
|
+
"description": "The ID of the marker at the target end. Note that the edge's `targetArrowhead` takes precedence.",
|
|
1269
|
+
"values": []
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"name": "stroke-opacity",
|
|
1273
|
+
"description": "The stroke opacity, from 0 to 1. If not set, `--edge-stroke-opacity` is used.",
|
|
1274
|
+
"values": []
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"name": "stroke-width",
|
|
1278
|
+
"description": "The stroke width in pixels. If not set, `--edge-stroke-width` is used.",
|
|
1279
|
+
"values": []
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"name": "stroke-dasharray",
|
|
1283
|
+
"description": "The stroke dash pattern (e.g. `5 5` for a dashed line). If not set, `--edge-stroke-dasharray` is used.",
|
|
1284
|
+
"values": []
|
|
1285
|
+
}
|
|
1286
|
+
],
|
|
1287
|
+
"references": []
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"name": "flow-ui-diagram-base-node",
|
|
1291
|
+
"description": "Base nodes are used in node templates to draw the default node look, with adornments and ports.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The node's content.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-node-background-color** - The node's background color. _(default: undefined)_\n- **--flow-ui-diagram-node-color** - The node's text color. _(default: undefined)_\n- **--flow-ui-diagram-node-border-color** - The node's border color. _(default: undefined)_\n- **--flow-ui-diagram-node-border-color-hover** - The node's border color on hover and while selected. _(default: undefined)_\n- **--flow-ui-diagram-node-border-radius** - The node's corner radius. _(default: undefined)_\n- **--flow-ui-diagram-node-border-size** - The node's border width. _(default: undefined)_\n- **--flow-ui-diagram-node-padding** - The padding around the content. _(default: undefined)_\n- **--flow-ui-diagram-selected-node-box-shadow** - The box shadow of the selected node. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The node box around the slotted content.",
|
|
1292
|
+
"attributes": [
|
|
1293
|
+
{
|
|
1294
|
+
"name": "remove-default-ports",
|
|
1295
|
+
"description": "Set to `true` to remove the two default ports. If not set, the diagram's `defaultNode.removePorts` setting is\nused (by default the ports are shown). Set to `false` to show them whatever the diagram's setting.",
|
|
1296
|
+
"values": []
|
|
1297
|
+
}
|
|
1298
|
+
],
|
|
1299
|
+
"references": []
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"name": "flow-ui-diagram-edge-label",
|
|
1303
|
+
"description": "Edge labels are used in edge templates to show text or controls at a position along a diagram edge.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The label's content: text, icons, buttons.\n\n### **CSS Properties:**\n - **--edge-label-padding** - The default label's padding. Defaults to `4px 8px`. _(default: undefined)_\n- **--edge-label-border-radius** - The default label's corner radius. Defaults to `4px`. _(default: undefined)_\n- **--edge-label-font-size** - The default label's font size. Defaults to `12px`. _(default: undefined)_\n- **--edge-label-background-color** - The default label's background color. Defaults to `--flow-ui-diagram-edge-label-background-color`. _(default: undefined)_\n- **--edge-label-text-color** - The default label's text color. Defaults to `--flow-ui-diagram-edge-label-color`. _(default: undefined)_\n- **--edge-label-border-width** - The default label's border width. Defaults to `1px`. _(default: undefined)_\n- **--edge-label-border-color** - The default label's border color. Defaults to `--flow-ui-diagram-edge-label-border-color`. _(default: undefined)_\n- **--edge-label-border-color-hover** - The default label's border color while the edge is hovered. Defaults to `--edge-label-border-color`, then `--flow-ui-diagram-edge-stroke-hover`. _(default: undefined)_\n- **--edge-label-border-color-selected** - The default label's border color while the edge is selected. Defaults to `--edge-label-border-color`, then `--flow-ui-diagram-edge-stroke-selected`. _(default: undefined)_\n- **--edge-label-border-transition** - The transition of the default label's border. Defaults to `border-color 0.1s ease-in-out`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The element around the slotted content. With `variant=\"default\"`, it draws the label chip.",
|
|
1304
|
+
"attributes": [
|
|
1305
|
+
{
|
|
1306
|
+
"name": "id",
|
|
1307
|
+
"description": "The label's ID, unique within its edge. It identifies the label in the edge's `measuredLabels`. Note that the\nproperty is not reflected, so many edges can use the same label ID without duplicate DOM IDs.",
|
|
1308
|
+
"values": []
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"name": "position-on-edge",
|
|
1312
|
+
"description": "The label's position along the edge: a number from 0 (the source end) to 1 (the target end), or an absolute\ndistance (e.g. `30px` from the source or `-20px` from the target).",
|
|
1313
|
+
"values": [{ "name": "DiagramEdgeLabelPosition" }]
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"name": "variant",
|
|
1317
|
+
"description": "The label's look: `default` for the built-in label chip. If not set, the slotted content is shown as it is.",
|
|
1318
|
+
"values": [{ "name": "default" }]
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"name": "hidden",
|
|
1322
|
+
"description": "Set to `true` to hide the label. A hidden label stays registered but does not hold up initialization. It is\nmeasured again when shown.",
|
|
1323
|
+
"values": []
|
|
1324
|
+
}
|
|
1325
|
+
],
|
|
1326
|
+
"references": []
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
"name": "flow-ui-diagram-marker",
|
|
1330
|
+
"description": "Diagram markers are used to define SVG arrowheads for diagram edges.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - An `<svg>` with the `<marker>` definitions.",
|
|
1331
|
+
"attributes": [],
|
|
1332
|
+
"references": []
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
"name": "flow-ui-diagram-minimap",
|
|
1336
|
+
"description": "Minimaps provide a navigable overview of a diagram, with zoom controls.\n\n\n---\n\n\n\n\n### **CSS Properties:**\n - **--flow-ui-diagram-minimap-background** - The panel background. _(default: undefined)_\n- **--flow-ui-diagram-minimap-border-color** - The panel border color. _(default: undefined)_\n- **--flow-ui-diagram-minimap-border-radius** - The panel corner radius. _(default: undefined)_\n- **--flow-ui-diagram-minimap-padding** - The panel padding. _(default: undefined)_\n- **--flow-ui-diagram-minimap-margin** - The distance from the corner of the containing block. _(default: undefined)_\n- **--flow-ui-diagram-minimap-shadow-color** - The color of the panel shadow. _(default: undefined)_\n- **--flow-ui-diagram-minimap-node-color** - The fill of the default node shapes. _(default: undefined)_\n- **--flow-ui-diagram-minimap-node-opacity** - The opacity of the default node shapes. _(default: undefined)_\n- **--flow-ui-diagram-minimap-viewport-stroke-color** - The stroke of the visible-area rectangle. _(default: undefined)_\n- **--flow-ui-diagram-minimap-viewport-stroke-width** - The stroke width of the visible-area rectangle (a number). _(default: undefined)_\n- **--flow-ui-diagram-minimap-diagram-bounds-color** - The fill of the diagram extent (virtualized mode). _(default: undefined)_\n- **--flow-ui-diagram-minimap-diagram-bounds-opacity** - The opacity of the diagram extent (virtualized mode). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The panel that holds the map and the zoom controls.\n- **svg** - The map.\n- **node** - Each default node shape. A node's `nodeStyle.cssClass` names are added as part names too.\n- **viewport** - The rectangle of the visible area.\n- **diagram-bounds** - The diagram's extent, drawn in virtualized mode.\n- **zoom-controls** - The zoom controls.",
|
|
1337
|
+
"attributes": [
|
|
1338
|
+
{
|
|
1339
|
+
"name": "diagram",
|
|
1340
|
+
"description": "The diagram to show: the `id` of a `flow-ui-diagram` in the same document or shadow root (attribute), or the\ndiagram element (property). If not set, the minimap uses the diagram it is inside.",
|
|
1341
|
+
"values": [{ "name": "DiagramReference" }]
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"name": "position",
|
|
1345
|
+
"description": "The corner of the containing block to place the minimap in.",
|
|
1346
|
+
"values": [{ "name": "DiagramPanelPosition" }]
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"name": "width",
|
|
1350
|
+
"description": "The width of the map, in pixels.",
|
|
1351
|
+
"values": []
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"name": "height",
|
|
1355
|
+
"description": "The height of the map, in pixels.",
|
|
1356
|
+
"values": []
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"name": "show-zoom-controls",
|
|
1360
|
+
"description": "Set to `false` to hide the zoom controls below the map.",
|
|
1361
|
+
"values": []
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"name": "defer-node-updates",
|
|
1365
|
+
"description": "Set to `true` to update the nodes on the minimap only when a drag, resize or rotation ends, not while it is in\nprogress. The visible-area rectangle always updates. We recommend it for large diagrams.",
|
|
1366
|
+
"values": []
|
|
1367
|
+
}
|
|
1368
|
+
],
|
|
1369
|
+
"references": []
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"name": "flow-ui-diagram-palette-item",
|
|
1373
|
+
"description": "Palette items allow users to add nodes to a diagram by dragging them from a palette.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The item's content, and optionally its `flow-ui-diagram-palette-item-preview`.\n\n### **CSS Parts:**\n - **base** - The draggable container around the content.",
|
|
1374
|
+
"attributes": [
|
|
1375
|
+
{
|
|
1376
|
+
"name": "item",
|
|
1377
|
+
"description": "The node or group that dropping the item creates: its `type`, `data`, `size`, `autoSize`, `resizable`,\n`rotatable`, `angle`, `zOrder` and, for a group, `isGroup`. The node gets a new ID and the drop point as its\nposition. Set it as a property, or as JSON in the attribute.",
|
|
1378
|
+
"values": [{ "name": "DiagramPaletteItem" }]
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"name": "diagram",
|
|
1382
|
+
"description": "The diagram whose node templates and zoom level the item's preview uses: the `id` of a `flow-ui-diagram` in the\nsame document or shadow root (attribute), or the diagram element (property). If not set, the item uses the\ndiagram it is inside, if any.",
|
|
1383
|
+
"values": [{ "name": "DiagramReference" }]
|
|
1384
|
+
}
|
|
1385
|
+
],
|
|
1386
|
+
"references": []
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"name": "flow-ui-diagram-palette-item-preview",
|
|
1390
|
+
"description": "Palette item previews are used with palette items to provide the drag image.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - Custom preview content. Without it, the preview renders the item's node through the node templates.\n\n### **CSS Parts:**\n - **base** - The off-screen container of the preview, which becomes the drag image.",
|
|
1391
|
+
"attributes": [],
|
|
1392
|
+
"references": []
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
"name": "flow-ui-diagram-port",
|
|
1396
|
+
"description": "Ports are used in node templates to provide connection points for edges.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - Optional custom content for the port, in place of the default round shape.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-port-size** - The width and height of the default port (inside its border). _(default: undefined)_\n- **--flow-ui-diagram-port-background-color** - The port's background color. _(default: undefined)_\n- **--flow-ui-diagram-port-border-color** - The port's border color. _(default: undefined)_\n- **--flow-ui-diagram-port-border-size** - The port's border width. _(default: undefined)_\n- **--flow-ui-diagram-port-border-radius** - The default port's corner radius. _(default: undefined)_\n- **--flow-ui-diagram-port-background-color-hover** - The highlighted port's background color. _(default: undefined)_\n- **--flow-ui-diagram-port-border-color-hover** - The color of the highlighted port's outer ring. _(default: undefined)_\n- **--flow-ui-diagram-port-border-size-hover** - The width of the highlighted port's outer ring. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The element that draws the port's background and border, around the slotted content.",
|
|
1397
|
+
"attributes": [
|
|
1398
|
+
{
|
|
1399
|
+
"name": "id",
|
|
1400
|
+
"description": "The port's ID, unique within its node. Edges reference it as `sourcePort` / `targetPort`.",
|
|
1401
|
+
"values": []
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"name": "type",
|
|
1405
|
+
"description": "The port's role: edges can start at a `source` port, end at a `target` port, or both.",
|
|
1406
|
+
"values": [{ "name": "DiagramPort['type']" }]
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"name": "side",
|
|
1410
|
+
"description": "The side of the node that the port is on, which is also the direction in which edges leave or enter it.",
|
|
1411
|
+
"values": [{ "name": "DiagramPortSide" }]
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"name": "origin-point",
|
|
1415
|
+
"description": "The point of the port that lies on the node's side.",
|
|
1416
|
+
"values": [{ "name": "DiagramOriginPoint" }]
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"name": "hidden",
|
|
1420
|
+
"description": "Set to `true` to hide the port. A hidden port stays registered with its last measured position, so its edges\nstay put, but it does not hold up initialization and cannot be linked to. It is measured again when shown.",
|
|
1421
|
+
"values": []
|
|
1422
|
+
}
|
|
1423
|
+
],
|
|
1424
|
+
"references": []
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
"name": "flow-ui-diagram-resize-adornment",
|
|
1428
|
+
"description": "Resize adornments allow users to resize a selected diagram node.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The node's content.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-resize-line-border-width** - The width of the resize lines. _(default: undefined)_\n- **--flow-ui-diagram-resize-line-border-style** - The style of the resize lines. _(default: undefined)_\n- **--flow-ui-diagram-resize-line-border-color** - The color of the resize lines. _(default: undefined)_\n- **--flow-ui-diagram-resize-handle-size** - The width and height of a corner handle. _(default: undefined)_\n- **--flow-ui-diagram-resize-handle-background-color** - A corner handle's background color. _(default: undefined)_\n- **--flow-ui-diagram-resize-handle-border-size** - A corner handle's border width. _(default: undefined)_\n- **--flow-ui-diagram-resize-handle-border-style** - A corner handle's border style. _(default: undefined)_\n- **--flow-ui-diagram-resize-handle-border-color** - A corner handle's border color. _(default: undefined)_\n- **--flow-ui-diagram-resize-handle-border-radius** - A corner handle's corner radius. _(default: undefined)_\n\n### **CSS Parts:**\n - **line** - A resize line, one for each side. Inert lines also have the `line-inactive` part.\n- **line-inactive** - A resize line for a side missing from `active-sides`.\n- **handle** - A corner resize handle.",
|
|
1429
|
+
"attributes": [
|
|
1430
|
+
{
|
|
1431
|
+
"name": "default-resizable",
|
|
1432
|
+
"description": "Set to `false` to stop users from resizing nodes that use this adornment and do not set their own `resizable`.\nIf not set, the diagram's `resize.defaultResizable` is used.",
|
|
1433
|
+
"values": []
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"name": "active-sides",
|
|
1437
|
+
"description": "The sides of the node that can be dragged to resize it, separated by spaces (`active-sides=\"right bottom\"`).\nLines for other sides still render, as the selection frame, but are inert. An empty value keeps the frame\nwithout any interactive resize.",
|
|
1438
|
+
"values": [{ "name": "readonly DiagramSide[]" }]
|
|
1439
|
+
}
|
|
1440
|
+
],
|
|
1441
|
+
"references": []
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"name": "flow-ui-diagram-rotate-adornment",
|
|
1445
|
+
"description": "Rotate adornments allow users to rotate a selected diagram node.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - Optional custom content for the handle, in place of the built-in icon.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-rotate-handle-size** - The width and height of the handle. _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-background-color** - The built-in handle's background color. _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-background-color-hover** - The built-in handle's background color on hover. _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-background-color-active** - The built-in handle's background color while rotating. _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-top** - The handle's `top` offset from the node's top edge. _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-right** - The handle's `right` offset from the node's right edge. _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-bottom** - The handle's `bottom` offset (unset by default). _(default: undefined)_\n- **--flow-ui-diagram-rotate-handle-left** - The handle's `left` offset (unset by default). _(default: undefined)_\n\n### **CSS Parts:**\n - **handle** - The rotation handle. It has the `data-rotating` attribute while pressed.",
|
|
1446
|
+
"attributes": [
|
|
1447
|
+
{
|
|
1448
|
+
"name": "default-rotatable",
|
|
1449
|
+
"description": "Set to `false` to stop users from rotating nodes that use this adornment and do not set their own `rotatable`.\nIf not set, the diagram's `nodeRotation.defaultRotatable` is used.",
|
|
1450
|
+
"values": []
|
|
1451
|
+
}
|
|
1452
|
+
],
|
|
1453
|
+
"references": []
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"name": "flow-ui-diagram-zoom-controls",
|
|
1457
|
+
"description": "Zoom controls allow users to zoom a diagram in and out, and to fit its content into the view.\n\n\n---\n\n\n\n\n### **Methods:**\n - **zoomIn(): _void_** - Zooms in by `step`, around the center of the view.\n- **zoomOut(): _void_** - Zooms out by `step`, around the center of the view.\n- **fit(): _void_** - Fits the diagram content into the view.\n\n### **CSS Properties:**\n - **--flow-ui-diagram-nav-button-color** - The color of the buttons. _(default: undefined)_\n- **--flow-ui-diagram-nav-button-size** - The size of the button icons. _(default: undefined)_\n- **--flow-ui-diagram-nav-button-padding** - The padding around the button icons. _(default: undefined)_\n- **--flow-ui-diagram-nav-button-border-radius** - The corner radius of the buttons. _(default: undefined)_\n- **--flow-ui-diagram-nav-button-background-color-hover** - The background color of hovered buttons. _(default: undefined)_\n- **--flow-ui-diagram-nav-button-color-active** - The color of pressed buttons. _(default: undefined)_\n- **--flow-ui-diagram-nav-button-color-disabled** - The color of disabled buttons. _(default: undefined)_\n- **--flow-ui-diagram-zoom-controls-font-size** - The font size of the zoom level. _(default: undefined)_\n- **--flow-ui-diagram-zoom-controls-font-weight** - The font weight of the zoom level. _(default: undefined)_\n- **--flow-ui-diagram-zoom-controls-color** - The color of the zoom level. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The container of the buttons and the label.\n- **zoom-out** - The zoom-out button (`flow-ui-icon-button`).\n- **label** - The zoom level label.\n- **zoom-in** - The zoom-in button (`flow-ui-icon-button`).\n- **fit** - The fit-to-view button (`flow-ui-icon-button`).",
|
|
1458
|
+
"attributes": [
|
|
1459
|
+
{
|
|
1460
|
+
"name": "diagram",
|
|
1461
|
+
"description": "The diagram to control: the `id` of a `flow-ui-diagram` in the same document or shadow root (attribute), or\nthe diagram element (property). If not set, the controls use the diagram they are inside.",
|
|
1462
|
+
"values": [{ "name": "DiagramReference" }]
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"name": "step",
|
|
1466
|
+
"description": "The change in zoom scale for one click on zoom in or zoom out (`0.1` is 10 percentage points).",
|
|
1467
|
+
"values": []
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"name": "position",
|
|
1471
|
+
"description": "The corner of the containing block to place the controls in, on a panel. If not set, the controls are laid out\ninline, without a panel (as inside the minimap).",
|
|
1472
|
+
"values": [{ "name": "DiagramPanelPosition" }]
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"name": "show-fit",
|
|
1476
|
+
"description": "Set to `false` to hide the fit-to-view button.",
|
|
1477
|
+
"values": []
|
|
1478
|
+
}
|
|
1479
|
+
],
|
|
1480
|
+
"references": []
|
|
1481
|
+
},
|
|
1214
1482
|
{
|
|
1215
1483
|
"name": "flow-ui-dialog",
|
|
1216
1484
|
"description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-show** - Emitted when the dialog opens.\n- **flow-ui-after-show** - Emitted after the dialog opens and all animations are complete.\n- **flow-ui-hide** - Emitted when the dialog closes.\n- **flow-ui-after-hide** - Emitted after the dialog closes and all animations are complete.\n- **flow-ui-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **flow-ui-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.\n- **flow-ui-tab-show** - Emitted when a tab is shown.\n- **flow-ui-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show()** - Shows the dialog.\n- **hide()** - Hides the dialog\n\n### **Slots:**\n - _default_ - The dialog's main content.\n- **title** - The dialog's title text. Alternatively, you can use the `title` attribute.\n- **header-actions** - Optional actions to add to the header. Works best with `<flow-ui-icon-button>`.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n- **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_\n- **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_\n- **--footer-spacing** - The amount of padding to use for the footer. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the dialog.\n- **panel** - The dialog's panel (where the dialog and its content are rendered).\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **header-actions** - Optional actions to add to the header. Works best with `<flow-ui-icon-button>`.\n- **title** - The dialog's title text.\n- **close-button** - The close button, an `<flow-ui-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.\n- **tab-group__nav** - The tab group's navigation container where tabs are slotted in.\n- **tab-group__tabs** - The container that wraps the tabs.\n- **tab-group__active-tab-indicator** - The line that highlights the currently selected tab.\n- **tab-group__body** - The tab group's body where tab panels are slotted in.",
|
|
@@ -1374,7 +1642,7 @@
|
|
|
1374
1642
|
},
|
|
1375
1643
|
{
|
|
1376
1644
|
"name": "flow-ui-form-group",
|
|
1377
|
-
"description": "
|
|
1645
|
+
"description": "Form groups are used to group related form controls under a shared label and help text.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The default slot where form controls are placed.\n- **label** - The form group's label. Alternatively, you can use the `label` attribute.\n- **help-text** - The form group's help text. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The component's base wrapper.\n- **label** - The label's wrapper.\n- **help-text** - The help text's wrapper.\n- **control** - The container that wraps the form controls.",
|
|
1378
1646
|
"attributes": [
|
|
1379
1647
|
{
|
|
1380
1648
|
"name": "label",
|
|
@@ -1392,12 +1660,12 @@
|
|
|
1392
1660
|
},
|
|
1393
1661
|
{
|
|
1394
1662
|
"name": "help-text",
|
|
1395
|
-
"description": "The form
|
|
1663
|
+
"description": "The form group's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1396
1664
|
"values": []
|
|
1397
1665
|
},
|
|
1398
1666
|
{
|
|
1399
1667
|
"name": "borders",
|
|
1400
|
-
"description": "Set to `true` to
|
|
1668
|
+
"description": "Set to `true` to draw the form controls in a bordered panel with a divider between each control.",
|
|
1401
1669
|
"values": []
|
|
1402
1670
|
},
|
|
1403
1671
|
{
|
|
@@ -1861,7 +2129,7 @@
|
|
|
1861
2129
|
},
|
|
1862
2130
|
{
|
|
1863
2131
|
"name": "flow-ui-map",
|
|
1864
|
-
"description": "Display a Flo.w map.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-map-load** - Dispatched when the map is first initialized and has completed loading. The Flo.w Core map instance can be retrieved from the event `detail` property.\n\n### **CSS Parts:**\n - **base** - The base element of the component.\n- **busy-indicator** - The busy indicator flow-ui-progress-bar.\n- **control-container** - The map control containers.\n- **control-container--top-left** - The top left control container element.\n- **control-container--top-right** - The top right control container element.\n- **control-container--bottom-left** - The bottom left control container element.\n- **control-container--bottom-right** - The bottom right control container element.",
|
|
2132
|
+
"description": "Display a Flo.w map.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-map-load** - Dispatched when the map is first initialized and has completed loading. The Flo.w Core map instance can be retrieved from the event `detail` property.\n\n### **CSS Properties:**\n - **--flow-ui-map-inset** - The inset of the `fixed` map canvas from the edges of the viewport (as for the CSS `inset` property). Defaults to `0`. Note that the canvas is clipped to the map element, so an inset is no longer needed to keep the map out of the borders of an application shell. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The base element of the component.\n- **busy-indicator** - The busy indicator flow-ui-progress-bar.\n- **control-container** - The map control containers.\n- **control-container--top-left** - The top left control container element.\n- **control-container--top-right** - The top right control container element.\n- **control-container--bottom-left** - The bottom left control container element.\n- **control-container--bottom-right** - The bottom right control container element.",
|
|
1865
2133
|
"attributes": [
|
|
1866
2134
|
{
|
|
1867
2135
|
"name": "map-id",
|
|
@@ -1900,7 +2168,7 @@
|
|
|
1900
2168
|
},
|
|
1901
2169
|
{
|
|
1902
2170
|
"name": "fixed",
|
|
1903
|
-
"description": "Set to `true` to
|
|
2171
|
+
"description": "Set to `true` to keep the map canvas the size of the viewport, so that the map is not resized or re-rendered when\nthe map element is.\n\nThe canvas fills the viewport and is clipped to the map element, which shows the part of the map that lies\nwithin it. Side bars next to the map can then be opened and closed smoothly: the map stays still on screen while\nthe map element grows and shrinks. Nothing outside the map element shows the map or passes pointer events to it,\nso the surrounding panes need no `z-index` or opaque background, and popups hoisted out of them are shown above\nthe map.\n\nUse the `getVisibleBounds()` method of the `FlowCoreMap` to get the bounds of the part of the map that is\nvisible within the map element. `getBounds()` returns the bounds of the whole canvas.\n\nNote that the canvas is still resized with the viewport, and that MapLibre's own controls, such as the\nattribution, are placed at the corners of the canvas, so they are hidden unless the map element reaches that\ncorner of the viewport.",
|
|
1904
2172
|
"values": []
|
|
1905
2173
|
},
|
|
1906
2174
|
{
|
|
@@ -1998,7 +2266,7 @@
|
|
|
1998
2266
|
},
|
|
1999
2267
|
{
|
|
2000
2268
|
"name": "flow-ui-option",
|
|
2001
|
-
"description": "Options define the selectable items within various form controls such as [select](
|
|
2269
|
+
"description": "Options define the selectable items within various form controls such as [select](./flow-ui-select).\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The option's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-icon** - The checked icon, a `<flow-ui-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.",
|
|
2002
2270
|
"attributes": [
|
|
2003
2271
|
{
|
|
2004
2272
|
"name": "value",
|
|
@@ -2024,11 +2292,11 @@
|
|
|
2024
2292
|
},
|
|
2025
2293
|
{
|
|
2026
2294
|
"name": "flow-ui-panel",
|
|
2027
|
-
"description": "Panels are
|
|
2295
|
+
"description": "Panels are used with split-views to create resizable areas.\n\n\n---\n\n\n\n\n### **Methods:**\n - **expand(emitEvent: _boolean_)** - Open the panel\n- **collapse(emitEvent: _boolean_)** - Close the panel\n\n### **CSS Properties:**\n - **--padding** - Padding to add to the panel when the `padding` attribute is set. Defaults to `--flow-ui-spacing-small`. _(default: undefined)_",
|
|
2028
2296
|
"attributes": [
|
|
2029
2297
|
{
|
|
2030
2298
|
"name": "closed",
|
|
2031
|
-
"description": "Indicates whether the panel is open or closed.",
|
|
2299
|
+
"description": "Indicates whether the panel is open or closed. A closed panel hides its body and shows only its header. A panel\nheader in the `header` slot follows this state. In a [split-view pane](./flow-ui-split-view-pane), set `closed` on\nthe pane instead: the pane passes its state to a panel that is its direct child (or a child of an element that\nwraps it, such as an Angular component's host element), overriding the panel's own.",
|
|
2032
2300
|
"values": []
|
|
2033
2301
|
},
|
|
2034
2302
|
{
|
|
@@ -2066,83 +2334,6 @@
|
|
|
2066
2334
|
],
|
|
2067
2335
|
"references": []
|
|
2068
2336
|
},
|
|
2069
|
-
{
|
|
2070
|
-
"name": "flow-ui-progress-bar",
|
|
2071
|
-
"description": "Progress bars are used to show the status of an ongoing operation.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - A label to show inside the progress indicator.\n\n### **CSS Properties:**\n - **--track-height** - The progress bar's thickness (same as the indicator's thickness). _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **indicator** - The progress bar's indicator.\n- **label** - The progress bar's label.",
|
|
2072
|
-
"attributes": [
|
|
2073
|
-
{
|
|
2074
|
-
"name": "label",
|
|
2075
|
-
"description": "A custom label for assistive devices.",
|
|
2076
|
-
"values": []
|
|
2077
|
-
},
|
|
2078
|
-
{
|
|
2079
|
-
"name": "value",
|
|
2080
|
-
"description": "The current progress as a percentage, 0 to 100.",
|
|
2081
|
-
"values": []
|
|
2082
|
-
},
|
|
2083
|
-
{
|
|
2084
|
-
"name": "indeterminate",
|
|
2085
|
-
"description": "When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.",
|
|
2086
|
-
"values": []
|
|
2087
|
-
},
|
|
2088
|
-
{
|
|
2089
|
-
"name": "variant",
|
|
2090
|
-
"description": "The progress bar's theme variant",
|
|
2091
|
-
"values": [
|
|
2092
|
-
{ "name": "primary" },
|
|
2093
|
-
{ "name": "secondary" },
|
|
2094
|
-
{ "name": "success" },
|
|
2095
|
-
{ "name": "neutral" },
|
|
2096
|
-
{ "name": "warning" },
|
|
2097
|
-
{ "name": "danger" }
|
|
2098
|
-
]
|
|
2099
|
-
}
|
|
2100
|
-
],
|
|
2101
|
-
"references": []
|
|
2102
|
-
},
|
|
2103
|
-
{
|
|
2104
|
-
"name": "flow-ui-progress-ring",
|
|
2105
|
-
"description": "Progress rings are used to show the progress of a determinate operation in a circular fashion.\n\n\n---\n\n\n\n\n### **Slots:**\n - **label** - A label to show inside the ring.\n\n### **CSS Properties:**\n - **--size** - The diameter of the progress ring (cannot be a percentage). _(default: undefined)_\n- **--track-width** - The width of the track. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-width** - The width of the indicator. Defaults to the track width. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n- **--indicator-transition-duration** - The duration of the indicator's transition when the value changes. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The progress ring label.",
|
|
2106
|
-
"attributes": [
|
|
2107
|
-
{
|
|
2108
|
-
"name": "label",
|
|
2109
|
-
"description": "A custom label for assistive devices.",
|
|
2110
|
-
"values": []
|
|
2111
|
-
},
|
|
2112
|
-
{
|
|
2113
|
-
"name": "value",
|
|
2114
|
-
"description": "The current progress as a percentage, 0 to 100.",
|
|
2115
|
-
"values": []
|
|
2116
|
-
},
|
|
2117
|
-
{
|
|
2118
|
-
"name": "indeterminate",
|
|
2119
|
-
"description": "If the progress animation is indeterminate",
|
|
2120
|
-
"values": []
|
|
2121
|
-
},
|
|
2122
|
-
{
|
|
2123
|
-
"name": "variant",
|
|
2124
|
-
"description": "The progress ring's theme variant",
|
|
2125
|
-
"values": [
|
|
2126
|
-
{ "name": "primary" },
|
|
2127
|
-
{ "name": "secondary" },
|
|
2128
|
-
{ "name": "success" },
|
|
2129
|
-
{ "name": "neutral" },
|
|
2130
|
-
{ "name": "warning" },
|
|
2131
|
-
{ "name": "danger" }
|
|
2132
|
-
]
|
|
2133
|
-
},
|
|
2134
|
-
{
|
|
2135
|
-
"name": "size",
|
|
2136
|
-
"description": "The progress ring's size",
|
|
2137
|
-
"values": [
|
|
2138
|
-
{ "name": "small" },
|
|
2139
|
-
{ "name": "medium" },
|
|
2140
|
-
{ "name": "large" }
|
|
2141
|
-
]
|
|
2142
|
-
}
|
|
2143
|
-
],
|
|
2144
|
-
"references": []
|
|
2145
|
-
},
|
|
2146
2337
|
{
|
|
2147
2338
|
"name": "flow-ui-popup",
|
|
2148
2339
|
"description": "Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-reposition** - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive operations in your listener or consider debouncing it.\n\n### **Methods:**\n - **reposition()** - Forces the popup to recalculate and reposition itself.\n\n### **Slots:**\n - _default_ - The popup's content.\n- **anchor** - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the `anchor` attribute or property instead.\n\n### **CSS Properties:**\n - **--arrow-size** - The size of the arrow. Note that an arrow won't be shown unless the `arrow` attribute is used. _(default: 6px)_\n- **--arrow-color** - The color of the arrow. _(default: undefined)_\n- **--auto-size-available-width** - A read-only custom property that determines the amount of width the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n- **--auto-size-available-height** - A read-only custom property that determines the amount of height the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n\n### **CSS Parts:**\n - **arrow** - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and maybe a border or box shadow.\n- **popup** - The popup's container. Useful for setting a background color, box shadow, etc.\n- **hover-bridge** - The hover bridge element. Only available when the `hover-bridge` option is enabled.",
|
|
@@ -2287,6 +2478,124 @@
|
|
|
2287
2478
|
],
|
|
2288
2479
|
"references": []
|
|
2289
2480
|
},
|
|
2481
|
+
{
|
|
2482
|
+
"name": "flow-ui-progress-bar",
|
|
2483
|
+
"description": "Progress bars are used to show the status of an ongoing operation.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - A label to show inside the progress indicator.\n\n### **CSS Properties:**\n - **--track-height** - The progress bar's thickness (same as the indicator's thickness). _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **indicator** - The progress bar's indicator.\n- **label** - The progress bar's label.",
|
|
2484
|
+
"attributes": [
|
|
2485
|
+
{
|
|
2486
|
+
"name": "label",
|
|
2487
|
+
"description": "A custom label for assistive devices.",
|
|
2488
|
+
"values": []
|
|
2489
|
+
},
|
|
2490
|
+
{
|
|
2491
|
+
"name": "value",
|
|
2492
|
+
"description": "The current progress as a percentage, 0 to 100.",
|
|
2493
|
+
"values": []
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"name": "indeterminate",
|
|
2497
|
+
"description": "When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.",
|
|
2498
|
+
"values": []
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"name": "variant",
|
|
2502
|
+
"description": "The progress bar's theme variant",
|
|
2503
|
+
"values": [
|
|
2504
|
+
{ "name": "primary" },
|
|
2505
|
+
{ "name": "secondary" },
|
|
2506
|
+
{ "name": "success" },
|
|
2507
|
+
{ "name": "neutral" },
|
|
2508
|
+
{ "name": "warning" },
|
|
2509
|
+
{ "name": "danger" }
|
|
2510
|
+
]
|
|
2511
|
+
}
|
|
2512
|
+
],
|
|
2513
|
+
"references": []
|
|
2514
|
+
},
|
|
2515
|
+
{
|
|
2516
|
+
"name": "flow-ui-progress-ring",
|
|
2517
|
+
"description": "Progress rings are used to show the progress of a determinate operation in a circular fashion.\n\n\n---\n\n\n\n\n### **Slots:**\n - **label** - A label to show inside the ring.\n\n### **CSS Properties:**\n - **--size** - The diameter of the progress ring (cannot be a percentage). _(default: undefined)_\n- **--track-width** - The width of the track. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-width** - The width of the indicator. Defaults to the track width. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n- **--indicator-transition-duration** - The duration of the indicator's transition when the value changes. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The progress ring label.",
|
|
2518
|
+
"attributes": [
|
|
2519
|
+
{
|
|
2520
|
+
"name": "label",
|
|
2521
|
+
"description": "A custom label for assistive devices.",
|
|
2522
|
+
"values": []
|
|
2523
|
+
},
|
|
2524
|
+
{
|
|
2525
|
+
"name": "value",
|
|
2526
|
+
"description": "The current progress as a percentage, 0 to 100.",
|
|
2527
|
+
"values": []
|
|
2528
|
+
},
|
|
2529
|
+
{
|
|
2530
|
+
"name": "indeterminate",
|
|
2531
|
+
"description": "If the progress animation is indeterminate",
|
|
2532
|
+
"values": []
|
|
2533
|
+
},
|
|
2534
|
+
{
|
|
2535
|
+
"name": "variant",
|
|
2536
|
+
"description": "The progress ring's theme variant",
|
|
2537
|
+
"values": [
|
|
2538
|
+
{ "name": "primary" },
|
|
2539
|
+
{ "name": "secondary" },
|
|
2540
|
+
{ "name": "success" },
|
|
2541
|
+
{ "name": "neutral" },
|
|
2542
|
+
{ "name": "warning" },
|
|
2543
|
+
{ "name": "danger" }
|
|
2544
|
+
]
|
|
2545
|
+
},
|
|
2546
|
+
{
|
|
2547
|
+
"name": "size",
|
|
2548
|
+
"description": "The progress ring's size",
|
|
2549
|
+
"values": [
|
|
2550
|
+
{ "name": "small" },
|
|
2551
|
+
{ "name": "medium" },
|
|
2552
|
+
{ "name": "large" }
|
|
2553
|
+
]
|
|
2554
|
+
}
|
|
2555
|
+
],
|
|
2556
|
+
"references": []
|
|
2557
|
+
},
|
|
2558
|
+
{
|
|
2559
|
+
"name": "flow-ui-query-builder",
|
|
2560
|
+
"description": "Query builder component\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-input** - Emitted when the control's value changes.\n- **flow-ui-change** - Emitted when the control's value changes.\n- **flow-ui-select** - Emitted when a custom menu item is selected.\n- **flow-ui-remove** - Emitted when the user attempts to remove a rule or ruleset. Calling `event.preventDefault()` will cancel the removal.\n- **flow-ui-clear** - Emitted when the user clears all rules from the tool menu.\n- **flow-ui-apply** - Emitted when the user presses 'Enter' twice in the same value input control.\n\n### **Methods:**\n - **registerFieldDefinition(type: _T_, fieldDefinition: _FlowQueryBuilderFieldDefinition<NoUnion<T>>_)** - Register a custom field definition.\n\nA field definition is used to add support for a custom field type. A field type comprises:\n\n- a field `type` string\n- a `template` function that returns the template for the field's value control\n- an array of `operators` that are valid for the field\n\n### **Slots:**\n - **label** - The component's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the component. Alternatively, you can use the `help-text` attribute.",
|
|
2561
|
+
"attributes": [
|
|
2562
|
+
{
|
|
2563
|
+
"name": "size",
|
|
2564
|
+
"description": "The query builder's size.",
|
|
2565
|
+
"values": [
|
|
2566
|
+
{ "name": "small" },
|
|
2567
|
+
{ "name": "medium" },
|
|
2568
|
+
{ "name": "large" }
|
|
2569
|
+
]
|
|
2570
|
+
},
|
|
2571
|
+
{
|
|
2572
|
+
"name": "disabled",
|
|
2573
|
+
"description": "Disables the select control.",
|
|
2574
|
+
"values": []
|
|
2575
|
+
},
|
|
2576
|
+
{
|
|
2577
|
+
"name": "label",
|
|
2578
|
+
"description": "The query builders's label. If you need to display HTML, use the `label` slot instead.",
|
|
2579
|
+
"values": []
|
|
2580
|
+
},
|
|
2581
|
+
{
|
|
2582
|
+
"name": "help-text",
|
|
2583
|
+
"description": "The query builders's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
2584
|
+
"values": []
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
"name": "tree-lines",
|
|
2588
|
+
"description": "Display tree connector lines between query rules",
|
|
2589
|
+
"values": []
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
"name": "borders",
|
|
2593
|
+
"description": "Display control borders",
|
|
2594
|
+
"values": []
|
|
2595
|
+
}
|
|
2596
|
+
],
|
|
2597
|
+
"references": []
|
|
2598
|
+
},
|
|
2290
2599
|
{
|
|
2291
2600
|
"name": "flow-ui-radio",
|
|
2292
2601
|
"description": "Radios allow the user to select a single option from a group.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-focus** - Emitted when the control gains focus.\n\n### **Slots:**\n - _default_ - The radio's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The circular container that wraps the radio's checked state.\n- **control--checked** - The radio control when the radio is checked.\n- **checked-icon** - The checked icon, an `<flow-ui-icon>` element.\n- **label** - The container that wraps the radio's label.",
|
|
@@ -2332,7 +2641,7 @@
|
|
|
2332
2641
|
},
|
|
2333
2642
|
{
|
|
2334
2643
|
"name": "flow-ui-radio-group",
|
|
2335
|
-
"description": "Radio groups are used to group multiple [radios](
|
|
2644
|
+
"description": "Radio groups are used to group multiple [radios](./flow-ui-radio) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the radio group's selected value changes.\n- **flow-ui-input** - Emitted when the radio group receives user input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<flow-ui-radio>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **help-text** - The radio group's help text. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.",
|
|
2336
2645
|
"attributes": [
|
|
2337
2646
|
{
|
|
2338
2647
|
"name": "label",
|
|
@@ -2381,47 +2690,6 @@
|
|
|
2381
2690
|
],
|
|
2382
2691
|
"references": []
|
|
2383
2692
|
},
|
|
2384
|
-
{
|
|
2385
|
-
"name": "flow-ui-query-builder",
|
|
2386
|
-
"description": "Query builder component\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-input** - Emitted when the control's value changes.\n- **flow-ui-change** - Emitted when the control's value changes.\n- **flow-ui-select** - Emitted when a custom menu item is selected.\n- **flow-ui-remove** - Emitted when the user attempts to remove a rule or ruleset. Calling `event.preventDefault()` will cancel the removal.\n- **flow-ui-clear** - Emitted when the user clears all rules from the tool menu.\n- **flow-ui-apply** - Emitted when the user presses 'Enter' twice in the same value input control.\n\n### **Methods:**\n - **registerFieldDefinition(type: _T_, fieldDefinition: _FlowQueryBuilderFieldDefinition<NoUnion<T>>_)** - Register a custom field definition.\n\nA field definition is used to add support for a custom field type. A field type comprises:\n\n- a field `type` string\n- a `template` function that returns the template for the field's value control\n- an array of `operators` that are valid for the field\n\n### **Slots:**\n - **label** - The component's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the component. Alternatively, you can use the `help-text` attribute.",
|
|
2387
|
-
"attributes": [
|
|
2388
|
-
{
|
|
2389
|
-
"name": "size",
|
|
2390
|
-
"description": "The query builder's size.",
|
|
2391
|
-
"values": [
|
|
2392
|
-
{ "name": "small" },
|
|
2393
|
-
{ "name": "medium" },
|
|
2394
|
-
{ "name": "large" }
|
|
2395
|
-
]
|
|
2396
|
-
},
|
|
2397
|
-
{
|
|
2398
|
-
"name": "disabled",
|
|
2399
|
-
"description": "Disables the select control.",
|
|
2400
|
-
"values": []
|
|
2401
|
-
},
|
|
2402
|
-
{
|
|
2403
|
-
"name": "label",
|
|
2404
|
-
"description": "The query builders's label. If you need to display HTML, use the `label` slot instead.",
|
|
2405
|
-
"values": []
|
|
2406
|
-
},
|
|
2407
|
-
{
|
|
2408
|
-
"name": "help-text",
|
|
2409
|
-
"description": "The query builders's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
2410
|
-
"values": []
|
|
2411
|
-
},
|
|
2412
|
-
{
|
|
2413
|
-
"name": "tree-lines",
|
|
2414
|
-
"description": "Display tree connector lines between query rules",
|
|
2415
|
-
"values": []
|
|
2416
|
-
},
|
|
2417
|
-
{
|
|
2418
|
-
"name": "borders",
|
|
2419
|
-
"description": "Display control borders",
|
|
2420
|
-
"values": []
|
|
2421
|
-
}
|
|
2422
|
-
],
|
|
2423
|
-
"references": []
|
|
2424
|
-
},
|
|
2425
2693
|
{
|
|
2426
2694
|
"name": "flow-ui-range",
|
|
2427
2695
|
"description": "Ranges allow the user to select a single value within a given range using a slider.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when an alteration to the control's value is committed by the user.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the range.\n- **blur()** - Removes focus from the range.\n- **stepUp()** - Increments the value of the range by the value of the step attribute.\n- **stepDown()** - Decrements the value of the range by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The range's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Properties:**\n - **--thumb-size** - The size of the thumb. _(default: undefined)_\n- **--track-color-active** - The color of the portion of the track that represents the current value. _(default: undefined)_\n- **--track-color-inactive** - The of the portion of the track that represents the remaining value. _(default: undefined)_\n- **--track-height** - The height of the track. _(default: undefined)_\n- **--track-active-offset** - The point of origin of the active track. _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The range's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **number-input** - The range's number input control.",
|
|
@@ -2618,21 +2886,21 @@
|
|
|
2618
2886
|
},
|
|
2619
2887
|
{
|
|
2620
2888
|
"name": "flow-ui-split-view",
|
|
2621
|
-
"description": "Split-views
|
|
2889
|
+
"description": "Split-views are used to arrange two or more split-view panes in resizable areas.\n\n\n---\n\n\n\n\n### **CSS Properties:**\n - **--flow-ui-split-view-divider-color** - The color of the dividers' line. Hovered, focused and dragged dividers are highlighted with `--flow-ui-divider-color-active`. _(default: undefined)_\n\n### **CSS Parts:**\n - **divider** - Each divider between two visible panes. The divider's line is its background.",
|
|
2622
2890
|
"attributes": [
|
|
2623
2891
|
{
|
|
2624
2892
|
"name": "no-drag-close",
|
|
2625
|
-
"description": "
|
|
2893
|
+
"description": "Set to `true` to stop dragging a divider from closing panes.",
|
|
2626
2894
|
"values": []
|
|
2627
2895
|
},
|
|
2628
2896
|
{
|
|
2629
|
-
"name": "
|
|
2630
|
-
"description": "
|
|
2631
|
-
"values": [
|
|
2897
|
+
"name": "vertical",
|
|
2898
|
+
"description": "Set to `true` for vertically-arranged panes. By default, panes are laid out horizontally.",
|
|
2899
|
+
"values": []
|
|
2632
2900
|
},
|
|
2633
2901
|
{
|
|
2634
|
-
"name": "
|
|
2635
|
-
"description": "
|
|
2902
|
+
"name": "dragging",
|
|
2903
|
+
"description": "Indicates whether the user is dragging a divider. The split view sets this attribute while a drag is in progress,\nfor example to style the cursor with `flow-ui-split-view[dragging] *`. Note that setting it has no effect on the\ndrag.",
|
|
2636
2904
|
"values": []
|
|
2637
2905
|
}
|
|
2638
2906
|
],
|
|
@@ -2640,16 +2908,16 @@
|
|
|
2640
2908
|
},
|
|
2641
2909
|
{
|
|
2642
2910
|
"name": "flow-ui-split-view-divider",
|
|
2643
|
-
"description": "Split-view dividers are used internally by split-views to
|
|
2911
|
+
"description": "Split-view dividers are used internally by split-views to resize the panes on either side of them.\n\n\n---\n\n\n",
|
|
2644
2912
|
"attributes": [
|
|
2645
2913
|
{
|
|
2646
2914
|
"name": "disabled",
|
|
2647
|
-
"description": "Disables
|
|
2915
|
+
"description": "Disables the divider. The split view sets it when the divider cannot move a pane or close one.",
|
|
2648
2916
|
"values": []
|
|
2649
2917
|
},
|
|
2650
2918
|
{
|
|
2651
2919
|
"name": "vertical",
|
|
2652
|
-
"description": "
|
|
2920
|
+
"description": "Set to `true` to draw the divider for vertically-arranged panes. The split view sets it.",
|
|
2653
2921
|
"values": []
|
|
2654
2922
|
}
|
|
2655
2923
|
],
|
|
@@ -2657,7 +2925,7 @@
|
|
|
2657
2925
|
},
|
|
2658
2926
|
{
|
|
2659
2927
|
"name": "flow-ui-split-view-pane",
|
|
2660
|
-
"description": "Split-view panes are used with split-views to create resizable areas.\n\n\n---\n\n\n\n\n### **Methods:**\n - **expand(emitEvent)** -
|
|
2928
|
+
"description": "Split-view panes are used with split-views to create resizable areas.\n\n\n---\n\n\n\n\n### **Methods:**\n - **expand(emitEvent)** - Opens the pane.\n- **collapse(emitEvent)** - Closes the pane.",
|
|
2661
2929
|
"attributes": [
|
|
2662
2930
|
{
|
|
2663
2931
|
"name": "vertical",
|
|
@@ -2666,37 +2934,37 @@
|
|
|
2666
2934
|
},
|
|
2667
2935
|
{
|
|
2668
2936
|
"name": "size",
|
|
2669
|
-
"description": "
|
|
2937
|
+
"description": "The pane's preferred size, in CSS px or % units, `auto` or `content`. If not set, the pane is `auto`: it shares the\nspace the other panes leave with the other `auto` panes. Note that dragging a divider changes the pane's preferred\nsize but not this attribute; changing the attribute resets the preferred size to the new value.\n\nWith `content`, the preferred size is the natural size of the pane's content, within `min-size` and `max-size`,\nand follows the content as it changes, for example a card that appears or a header that wraps. The pane never\ngrows past its content to fill spare space, even when it is the only open pane. Dragging the divider can make it\nsmaller than its content, which then scrolls, but never larger; the dragged size lasts until this attribute\nchanges, and the pane still shrinks if the content becomes smaller. A [panel](./flow-ui-panel) or\n[tab group](./flow-ui-tab-group) child fills the pane, so a scrollable panel scrolls its body, and a tab group its\ntab panels. A pane whose content is a split view has no natural size: there, `content` is treated as `auto` (the\npanes inside the nested split view can be content-sized).",
|
|
2670
2938
|
"values": []
|
|
2671
2939
|
},
|
|
2672
2940
|
{
|
|
2673
2941
|
"name": "min-size",
|
|
2674
|
-
"description": "
|
|
2942
|
+
"description": "The pane's minimum size, in CSS px or % units.",
|
|
2675
2943
|
"values": []
|
|
2676
2944
|
},
|
|
2677
2945
|
{
|
|
2678
2946
|
"name": "max-size",
|
|
2679
|
-
"description": "
|
|
2947
|
+
"description": "The pane's maximum size, in CSS px or % units.",
|
|
2680
2948
|
"values": []
|
|
2681
2949
|
},
|
|
2682
2950
|
{
|
|
2683
2951
|
"name": "closed-size",
|
|
2684
|
-
"description": "
|
|
2952
|
+
"description": "The pane's size when closed, in CSS px or % units, or `content`. If not set (or `0px`), a closed pane takes no\nspace. Note that only panes with a non-zero or `content` closed size can be closed by dragging a divider, or by\nthe split view when the panes do not fit.\n\nWith `content`, a closed pane takes the natural size of what its content still renders while closed. A\n[panel](./flow-ui-panel) child hides its body when closed, so the pane closes to the panel's header at any font\nsize, however the header wraps. A [tab group](./flow-ui-tab-group) child hides its header, body and footer, so the\npane closes to the tab bar: its width for tabs at the `start` or `end` in a horizontal split view, or its height\nfor tabs at the `top` or `bottom` in a vertical one. A panel or tab group inside an element that wraps it, such as\nan Angular component's host element, does the same. Other content can hide parts of itself with CSS on the pane's\n`closed` attribute, for example `flow-ui-split-view-pane[closed] .details { display: none }`. In a horizontal\nsplit view, the closed size is the natural width, for a panel the width of its header on one line. A pane whose\ncontent is a split view has no natural size: there, `content` is treated as `0px`.",
|
|
2685
2953
|
"values": []
|
|
2686
2954
|
},
|
|
2687
2955
|
{
|
|
2688
2956
|
"name": "closed",
|
|
2689
|
-
"description": "Indicates
|
|
2957
|
+
"description": "Indicates whether the split-view pane is open or closed. Toggle this attribute to expand or collapse the pane,\nor call the `expand()` and `collapse()` methods. Note that the split view also closes panes that have a\n`closed-size` when they do not fit, and opens them again when there is space, without emitting events. A\n[panel](./flow-ui-panel) or [tab group](./flow-ui-tab-group) that is a direct child of the pane, or a child of an\nelement that wraps it, follows this state, whatever changes it.",
|
|
2690
2958
|
"values": []
|
|
2691
2959
|
},
|
|
2692
2960
|
{
|
|
2693
2961
|
"name": "divider",
|
|
2694
|
-
"description": "
|
|
2962
|
+
"description": "Has no effect. The split view draws a divider between each pair of visible panes.",
|
|
2695
2963
|
"values": []
|
|
2696
2964
|
},
|
|
2697
2965
|
{
|
|
2698
2966
|
"name": "hidden",
|
|
2699
|
-
"description": "
|
|
2967
|
+
"description": "Set to `true` to hide the pane. The other panes take its space, and give it back when it is shown again. Note\nthat a pane without an `id` gets its space back from wherever there is room, not necessarily from where it went.",
|
|
2700
2968
|
"values": []
|
|
2701
2969
|
}
|
|
2702
2970
|
],
|
|
@@ -2704,7 +2972,7 @@
|
|
|
2704
2972
|
},
|
|
2705
2973
|
{
|
|
2706
2974
|
"name": "flow-ui-split-view-toggle-button",
|
|
2707
|
-
"description": "
|
|
2975
|
+
"description": "Split-view toggle buttons are used to open and close the split-view pane that contains them.\n\n\n---\n\n\n\n\n### **Methods:**\n - **toggle(emitEvents)** - Toggles the button's state. Unless `emitEvents` is `false`, it emits `flow-ui-collapse` or `flow-ui-expand`,\nwhich closes or opens the parent split-view pane.",
|
|
2708
2976
|
"attributes": [
|
|
2709
2977
|
{
|
|
2710
2978
|
"name": "name",
|
|
@@ -2718,7 +2986,7 @@
|
|
|
2718
2986
|
},
|
|
2719
2987
|
{
|
|
2720
2988
|
"name": "closed",
|
|
2721
|
-
"description": "
|
|
2989
|
+
"description": "Indicates whether the parent split-view pane is closed. The button follows the pane's state; clicking it opens or\ncloses the pane.",
|
|
2722
2990
|
"values": []
|
|
2723
2991
|
}
|
|
2724
2992
|
],
|
|
@@ -2815,7 +3083,7 @@
|
|
|
2815
3083
|
},
|
|
2816
3084
|
{
|
|
2817
3085
|
"name": "flow-ui-tab",
|
|
2818
|
-
"description": "Tabs are used inside [tab groups](
|
|
3086
|
+
"description": "Tabs are used inside [tab groups](./flow-ui-tab-group) to represent and activate [tab panels](./flow-ui-tab-panel).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-close** - Emitted when the tab is closable and the close button is activated.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\n\n### **Slots:**\n - _default_ - The tab's label.\n- **icon** - An icon shown with the label, such as a `<flow-ui-icon>`. With `icon-only`, the tab shows only the icon and the label is shown as a tooltip.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container of the `icon` slot.\n- **label** - The container of the label.\n- **close-button** - The close button, an `<flow-ui-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.",
|
|
2819
3087
|
"attributes": [
|
|
2820
3088
|
{
|
|
2821
3089
|
"name": "panel",
|
|
@@ -2877,7 +3145,7 @@
|
|
|
2877
3145
|
},
|
|
2878
3146
|
{
|
|
2879
3147
|
"name": "flow-ui-tab-group",
|
|
2880
|
-
"description": "Tab groups organize content into a container that shows one section at a time.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-tab-show** - Emitted when a tab is shown.\n- **flow-ui-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<flow-ui-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<flow-ui-tab>` elements.\n\n### **CSS Properties:**\n - **--indicator-color** - The color of the active tab indicator. _(default: undefined)_\n- **--track-color** - The color of the indicator's track (the line that separates tabs from panels). _(default: undefined)_\n- **--track-width** - The width of the indicator's track (the line that separates tabs from panels). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **tabs** - The container that wraps the tabs.\n- **active-tab-indicator** - The line that highlights the currently selected tab.\n- **body** - The tab group's body where tab panels are slotted in.\n- **scroll-button** - The previous/next scroll buttons that show when tabs are scrollable, an `<flow-ui-icon-button>`.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
|
|
3148
|
+
"description": "Tab groups organize content into a container that shows one section at a time.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-tab-show** - Emitted when a tab is shown.\n- **flow-ui-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<flow-ui-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<flow-ui-tab>` elements.\n- **nav-accessories-start** - Content before the tabs in the tab bar, such as a split-view toggle button. Shown when the tab group is closed.\n- **nav-accessories-end** - Content after the tabs in the tab bar, such as icon buttons. Shown when the tab group is closed.\n- **header** - Content above the tab panels, such as an application title. Hidden when the tab group is closed.\n- **footer** - Content below the tab panels. Hidden when the tab group is closed.\n\n### **CSS Properties:**\n - **--indicator-color** - The color of the active tab indicator. _(default: undefined)_\n- **--track-color** - The color of the indicator's track (the line that separates tabs from panels). _(default: undefined)_\n- **--track-width** - The width of the indicator's track (the line that separates tabs from panels). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **tabs** - The container that wraps the tabs.\n- **active-tab-indicator** - The line that highlights the currently selected tab.\n- **nav-accessories-start** - The container of the `nav-accessories-start` slot.\n- **nav-accessories-end** - The container of the `nav-accessories-end` slot.\n- **accessory-divider** - The dividers between the nav accessories and the tabs, `<flow-ui-divider>` elements.\n- **header** - The `header` slot.\n- **body** - The tab group's body where tab panels are slotted in.\n- **footer** - The `footer` slot.\n- **scroll-button** - The previous/next scroll buttons that show when tabs are scrollable, an `<flow-ui-icon-button>`.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
|
|
2881
3149
|
"attributes": [
|
|
2882
3150
|
{
|
|
2883
3151
|
"name": "placement",
|
|
@@ -2903,13 +3171,18 @@
|
|
|
2903
3171
|
"name": "control-split-view",
|
|
2904
3172
|
"description": "Set to `true` to allow parent split-view pane to be automatically opened and closed when tabs are clicked.",
|
|
2905
3173
|
"values": []
|
|
3174
|
+
},
|
|
3175
|
+
{
|
|
3176
|
+
"name": "closed",
|
|
3177
|
+
"description": "Indicates whether the tab group is open or closed. A closed tab group shows only its tab bar (the tabs and the nav\naccessories) and hides its header, tab panels and footer. In a [split-view pane](./flow-ui-split-view-pane), set\n`closed` on the pane instead: the pane passes its state to a tab group that is its direct child (or a child of an\nelement that wraps it, such as an Angular component's host element), overriding the tab group's own. While the\npane animates closed, the header, tab panels and footer keep their size and cannot be focused, and they are hidden\nwhen the animation ends.",
|
|
3178
|
+
"values": []
|
|
2906
3179
|
}
|
|
2907
3180
|
],
|
|
2908
3181
|
"references": []
|
|
2909
3182
|
},
|
|
2910
3183
|
{
|
|
2911
3184
|
"name": "flow-ui-tab-panel",
|
|
2912
|
-
"description": "Tab panels are used inside [tab groups](
|
|
3185
|
+
"description": "Tab panels are used inside [tab groups](./flow-ui-tab-group) to display tabbed content.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The tab panel's content.\n\n### **CSS Properties:**\n - **--padding** - The tab panel's padding. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2913
3186
|
"attributes": [
|
|
2914
3187
|
{
|
|
2915
3188
|
"name": "name",
|
|
@@ -3459,7 +3732,7 @@
|
|
|
3459
3732
|
},
|
|
3460
3733
|
{
|
|
3461
3734
|
"name": "flow-ui-tree-item",
|
|
3462
|
-
"description": "A tree item serves as a hierarchical node that lives inside a [tree](
|
|
3735
|
+
"description": "A tree item serves as a hierarchical node that lives inside a [tree](./flow-ui-tree).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-expand** - Emitted when the tree item expands.\n- **flow-ui-after-expand** - Emitted after the tree item expands and all animations are complete.\n- **flow-ui-collapse** - Emitted when the tree item collapses.\n- **flow-ui-after-collapse** - Emitted after the tree item collapses and all animations are complete.\n- **flow-ui-lazy-change** - Emitted when the tree item's lazy state changes.\n- **flow-ui-lazy-load** - Emitted when a lazy item is selected. Use this event to asynchronously load data and append items to the tree before expanding. After appending new items, remove the `lazy` attribute to remove the loading state and update the tree.\n\n### **Methods:**\n - **getChildrenItems({ includeDisabled = true }: _{ includeDisabled?: boolean }_): _FlowUiTreeItem[]_** - Gets all the nested tree items in this node.\n\n### **Slots:**\n - _default_ - The default slot.\n- **expand-icon** - The icon to show when the tree item is expanded.\n- **collapse-icon** - The icon to show when the tree item is collapsed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **item** - The tree item's container. This element wraps everything except slotted tree item children.\n- **item--disabled** - Applied when the tree item is disabled.\n- **item--expanded** - Applied when the tree item is expanded.\n- **item--indeterminate** - Applied when the selection is indeterminate.\n- **item--selected** - Applied when the tree item is selected.\n- **indentation** - The tree item's indentation container.\n- **expand-button** - The container that wraps the tree item's expand button and spinner.\n- **label** - The tree item's label.\n- **children** - The container that wraps the tree item's nested children.\n- **checkbox** - The checkbox that shows when using multiselect.\n- **checkbox__base** - The checkbox's exported `base` part.\n- **checkbox__control** - The checkbox's exported `control` part.\n- **checkbox__control--checked** - The checkbox's exported `control--checked` part.\n- **checkbox__control--indeterminate** - The checkbox's exported `control--indeterminate` part.\n- **checkbox__checked-icon** - The checkbox's exported `checked-icon` part.\n- **checkbox__indeterminate-icon** - The checkbox's exported `indeterminate-icon` part.\n- **checkbox__label** - The checkbox's exported `label` part.",
|
|
3463
3736
|
"attributes": [
|
|
3464
3737
|
{
|
|
3465
3738
|
"name": "value",
|