@emuanalytics/flow-rdf-angular 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.
@@ -1,9 +1,9 @@
1
1
  import { CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { InjectionToken, Injector, Injectable, ViewContainerRef, ViewChild, Component, NgModule, HostListener, Directive, ChangeDetectionStrategy, forwardRef, Input, assertInInjectionContext, inject, DestroyRef, isDevMode, assertNotInReactiveContext, ChangeDetectorRef } from '@angular/core';
3
+ import { InjectionToken, Injector, Injectable, ViewContainerRef, ViewChild, Component, NgModule, makeEnvironmentProviders, HostListener, Directive, ChangeDetectionStrategy, forwardRef, Input, assertInInjectionContext, inject, DestroyRef, isDevMode, assertNotInReactiveContext, ChangeDetectorRef } from '@angular/core';
4
4
  import { initializeContext } from '@emuanalytics/flow-rdf-core';
5
5
  import { Subject, fromEvent } from 'rxjs';
6
- import { initialize, registerComponents } from '@emuanalytics/flow-rdf-ui';
6
+ import { initialize, registerComponents, FlowUiAlert, FlowUiAnimation, FlowUiBadge, FlowUiBreadcrumb, FlowUiBaseControl, FlowUiAvatar, FlowUiAutocomplete, FlowUiBreadcrumbItem, FlowUiBusyOverlay, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, FlowUiChart, FlowUiCheckbox, FlowUiCheckboxGroup, FlowUiColorMapper, FlowUiColorPicker, FlowUiColorStop, FlowUiDateTimePicker, FlowUiDetails, FlowUiDiagram, FlowUiDiagramBackground, FlowUiDiagramBaseEdge, FlowUiDiagramBaseNode, FlowUiDiagramEdgeLabel, FlowUiDiagramMarker, FlowUiDiagramMinimap, FlowUiDiagramPaletteItem, FlowUiDiagramPaletteItemPreview, FlowUiDiagramPort, FlowUiDiagramResizeAdornment, FlowUiDiagramRotateAdornment, FlowUiDiagramZoomControls, FlowUiDialog, FlowUiDivider, FlowUiDrawer, FlowUiDropdown, FlowUiFormGroup, FlowUiGauge, FlowUiIcon, FlowUiIconButton, FlowUiInput, FlowUiList, FlowUiListItem, FlowUiMap, FlowUiMenu, FlowUiMenuItem, FlowUiMenuLabel, FlowUiMutationObserver, FlowUiOption, FlowUiPanel, FlowUiPanelHeader, FlowUiPopup, FlowUiProgressBar, FlowUiProgressRing, FlowUiQueryBuilder, FlowUiRadio, FlowUiRadioGroup, FlowUiRange, FlowUiResizeObserver, FlowUiSelect, FlowUiSplitView, FlowUiSplitViewDivider, FlowUiSplitViewPane, FlowUiSplitViewToggleButton, FlowUiStepper, FlowUiStepperPanel, FlowUiSwitch, FlowUiTab, FlowUiTabGroup, FlowUiTabPanel, FlowUiTag, FlowUiTextarea, FlowUiTimer, FlowUiToolButton, FlowUiToolButtonGroup, FlowUiTooltip, FlowUiTree, FlowUiTreeItem, FlowUiVisuallyHidden } from '@emuanalytics/flow-rdf-ui';
7
7
  import { __decorate } from 'tslib';
8
8
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
9
9
  import { SIGNAL_NODE, signalSetFn, producerAccessed, SIGNAL, signalUpdateFn } from '@angular/core/primitives/signals';
@@ -95,12 +95,50 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
95
95
 
96
96
  const FLOW_RDF_ANGULAR_CONFIG = new InjectionToken('FlowRdfAngularConfig');
97
97
  const FLOW_CONTEXT = new InjectionToken('FlowContext');
98
+ /**
99
+ * Initializes Flo.w RDF UI, registers every Flo.w RDF UI component and creates the default Flo.w context. This is the
100
+ * `FLOW_CONTEXT` factory that {@link FlowRdfAngularModule.forRoot} provides.
101
+ *
102
+ * @param config - Options for the default Flo.w context.
103
+ * @returns The default Flo.w context.
104
+ */
98
105
  function initializeFlowContext(config) {
99
106
  initialize();
100
107
  registerComponents();
101
108
  return initializeContext(config);
102
109
  }
110
+ // The `FLOW_CONTEXT` factory that `provideFlowRdf()` provides. It must not reference `registerComponents()`, or every
111
+ // component would be bundled with the application.
112
+ function initializeFlowContextWithoutComponents(config) {
113
+ initialize();
114
+ return initializeContext(config);
115
+ }
116
+ /**
117
+ * The Flo.w RDF Angular module provides the default Flo.w context and registers every Flo.w RDF UI component.
118
+ *
119
+ * Add `FlowRdfAngularModule.forRoot()` to the root providers of the application. To bundle and register only the
120
+ * components that the application uses, use {@link provideFlowRdf} instead.
121
+ */
103
122
  class FlowRdfAngularModule {
123
+ /**
124
+ * Returns the providers for the default Flo.w context (`FLOW_CONTEXT`), which is created from the
125
+ * `FLOW_RDF_ANGULAR_CONFIG` options. When the context is first injected, Flo.w RDF UI will be initialized and every
126
+ * Flo.w RDF UI component will be registered.
127
+ *
128
+ * Every component is bundled with the application, whether the application uses it or not. Use
129
+ * {@link provideFlowRdf} to bundle only the components that the application uses.
130
+ *
131
+ * @example
132
+ * Provide the default Flo.w context and register every component:
133
+ * ```ts
134
+ * bootstrapApplication(AppComponent, {
135
+ * providers: [
136
+ * { provide: FLOW_RDF_ANGULAR_CONFIG, useValue: { host, apiKey, state } },
137
+ * importProvidersFrom(FlowRdfAngularModule.forRoot())
138
+ * ]
139
+ * });
140
+ * ```
141
+ */
104
142
  static forRoot() {
105
143
  return {
106
144
  ngModule: FlowRdfAngularModule,
@@ -125,6 +163,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
125
163
  providers: []
126
164
  }]
127
165
  }] });
166
+ /**
167
+ * Returns the providers for the default Flo.w context (`FLOW_CONTEXT`), which is created from the
168
+ * `FLOW_RDF_ANGULAR_CONFIG` options, without registering every Flo.w RDF UI component. When the context is first
169
+ * injected, Flo.w RDF UI will be initialized.
170
+ *
171
+ * Use this instead of `FlowRdfAngularModule.forRoot()` to bundle and register only the components that the application
172
+ * uses. Each component proxy, such as `FlowButton`, registers its element and the Flo.w RDF UI elements that element
173
+ * renders when the proxy is first used, in development and production builds alike. Import the proxy of every `flow-ui-*` element in the components whose templates use it. Register elements
174
+ * that are used without a proxy with their `define()` method, for example `FlowUiAlert.define()`. This
175
+ * applies to elements created in code or from HTML strings, and to elements in templates that use
176
+ * `CUSTOM_ELEMENTS_SCHEMA`.
177
+ *
178
+ * :::warning
179
+ * Do not import `FlowRdfAngularModule` anywhere in an application that uses this function, because the module bundles
180
+ * every component. Import the standalone `ModalContainerComponent` directly instead.
181
+ * :::
182
+ *
183
+ * @example
184
+ * Provide the default Flo.w context and register only the components that the application uses:
185
+ * ```ts
186
+ * bootstrapApplication(AppComponent, {
187
+ * providers: [{ provide: FLOW_RDF_ANGULAR_CONFIG, useValue: { host, apiKey, state } }, provideFlowRdf()]
188
+ * });
189
+ * ```
190
+ *
191
+ * @returns The providers to add to the root providers of the application.
192
+ */
193
+ function provideFlowRdf() {
194
+ return makeEnvironmentProviders([
195
+ {
196
+ provide: FLOW_CONTEXT,
197
+ useFactory: initializeFlowContextWithoutComponents,
198
+ deps: [FLOW_RDF_ANGULAR_CONFIG]
199
+ }
200
+ ]);
201
+ }
128
202
 
129
203
  /* eslint-disable */
130
204
  /* tslint:disable */
@@ -166,13 +240,34 @@ const defineCustomElement = (tagName, customElement) => {
166
240
  customElements.define(tagName, customElement);
167
241
  }
168
242
  };
243
+ const definedProxies = new WeakSet();
244
+ /**
245
+ * Registers a proxy's custom element the first time the proxy is used, then upgrades the proxy's host element. Proxies
246
+ * call this from their constructor rather than when their class is defined, so that development builds, which keep
247
+ * every proxy, register the same elements as production builds, which keep only the proxies that templates use.
248
+ *
249
+ * Angular creates the host element before the proxy, so the element may have been created before it was defined.
250
+ * `customElements.upgrade()` upgrades it even if it isn't connected yet, before Angular sets any inputs or the element
251
+ * renders. (Lit components also keep property values that were set before an upgrade.) Event listeners are on the
252
+ * same node, so they survive the upgrade.
253
+ *
254
+ * @internal
255
+ */
256
+ const defineCustomElementOnUse = (proxy, el, defineCustomElementFn) => {
257
+ if (typeof customElements === 'undefined') {
258
+ return;
259
+ }
260
+ if (!definedProxies.has(proxy.constructor)) {
261
+ definedProxies.add(proxy.constructor);
262
+ defineCustomElementFn();
263
+ }
264
+ customElements.upgrade(el);
265
+ };
169
266
  // tslint:disable-next-line: only-arrow-functions
267
+ // Proxies register their element with defineCustomElementOnUse(), not here when their class is defined
170
268
  function ProxyCmp(opts) {
171
269
  const decorator = function (cls) {
172
- const { defineCustomElementFn, inputs, methods } = opts;
173
- if (defineCustomElementFn !== undefined) {
174
- defineCustomElementFn();
175
- }
270
+ const { inputs, methods } = opts;
176
271
  if (inputs) {
177
272
  proxyInputs(cls, inputs);
178
273
  }
@@ -254,6 +349,10 @@ let FlowAlert = class FlowAlert {
254
349
  this.z = z;
255
350
  c.detach();
256
351
  this.el = r.nativeElement;
352
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
353
+ // that development builds, which keep every proxy, register the same elements as production builds), and
354
+ // upgrades the host element. define() leaves tags that are already registered alone.
355
+ defineCustomElementOnUse(this, this.el, () => FlowUiAlert.define());
257
356
  }
258
357
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowAlert, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
259
358
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowAlert, isStandalone: true, selector: "flow-ui-alert", inputs: { open: "open", closable: "closable", variant: "variant", duration: "duration" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -272,7 +371,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
272
371
  changeDetection: ChangeDetectionStrategy.OnPush,
273
372
  template: "<ng-content></ng-content>",
274
373
  inputs: ["open", "closable", "variant", "duration"],
275
- imports: [forwardRef(() => FlowIconButton)],
374
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
276
375
  providers: [],
277
376
  }]
278
377
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -284,6 +383,10 @@ let FlowAnimation = class FlowAnimation {
284
383
  this.z = z;
285
384
  c.detach();
286
385
  this.el = r.nativeElement;
386
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
387
+ // that development builds, which keep every proxy, register the same elements as production builds), and
388
+ // upgrades the host element. define() leaves tags that are already registered alone.
389
+ defineCustomElementOnUse(this, this.el, () => FlowUiAnimation.define());
287
390
  }
288
391
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowAnimation, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
289
392
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowAnimation, isStandalone: true, selector: "flow-ui-animation", inputs: { name: "name", play: "play", delay: "delay", direction: "direction", duration: "duration", easing: "easing", endDelay: "endDelay", fill: "fill", iterations: "iterations", iterationStart: "iterationStart", keyframes: "keyframes", playbackRate: "playbackRate", currentTime: "currentTime" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -330,7 +433,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
330
433
  "playbackRate",
331
434
  "currentTime",
332
435
  ],
333
- imports: [],
436
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
334
437
  providers: [],
335
438
  }]
336
439
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -342,6 +445,10 @@ let FlowBadge = class FlowBadge {
342
445
  this.z = z;
343
446
  c.detach();
344
447
  this.el = r.nativeElement;
448
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
449
+ // that development builds, which keep every proxy, register the same elements as production builds), and
450
+ // upgrades the host element. define() leaves tags that are already registered alone.
451
+ defineCustomElementOnUse(this, this.el, () => FlowUiBadge.define());
345
452
  }
346
453
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowBadge, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
347
454
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowBadge, isStandalone: true, selector: "flow-ui-badge", inputs: { variant: "variant", size: "size", pill: "pill", pulse: "pulse" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -360,7 +467,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
360
467
  changeDetection: ChangeDetectionStrategy.OnPush,
361
468
  template: "<ng-content></ng-content>",
362
469
  inputs: ["variant", "size", "pill", "pulse"],
363
- imports: [],
470
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
471
+ providers: [],
472
+ }]
473
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
474
+ /** @internal */
475
+ let FlowBreadcrumb = class FlowBreadcrumb {
476
+ z;
477
+ el;
478
+ constructor(c, r, z) {
479
+ this.z = z;
480
+ c.detach();
481
+ this.el = r.nativeElement;
482
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
483
+ // that development builds, which keep every proxy, register the same elements as production builds), and
484
+ // upgrades the host element. define() leaves tags that are already registered alone.
485
+ defineCustomElementOnUse(this, this.el, () => FlowUiBreadcrumb.define());
486
+ }
487
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowBreadcrumb, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
488
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowBreadcrumb, isStandalone: true, selector: "flow-ui-breadcrumb", inputs: { label: "label" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
489
+ };
490
+ FlowBreadcrumb = __decorate([
491
+ ProxyCmp({
492
+ inputs: ["label"],
493
+ methods: [],
494
+ })
495
+ ], FlowBreadcrumb);
496
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowBreadcrumb, decorators: [{
497
+ type: Component,
498
+ args: [{
499
+ standalone: true,
500
+ selector: "flow-ui-breadcrumb",
501
+ changeDetection: ChangeDetectionStrategy.OnPush,
502
+ template: "<ng-content></ng-content>",
503
+ inputs: ["label"],
504
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
364
505
  providers: [],
365
506
  }]
366
507
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -372,6 +513,10 @@ let FlowBaseControl = class FlowBaseControl {
372
513
  this.z = z;
373
514
  c.detach();
374
515
  this.el = r.nativeElement;
516
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
517
+ // that development builds, which keep every proxy, register the same elements as production builds), and
518
+ // upgrades the host element. define() leaves tags that are already registered alone.
519
+ defineCustomElementOnUse(this, this.el, () => FlowUiBaseControl.define());
375
520
  }
376
521
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowBaseControl, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
377
522
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowBaseControl, isStandalone: true, selector: "flow-ui-base-control", inputs: { size: "size", filled: "filled", pill: "pill", label: "label", helpText: "helpText", disabled: "disabled", form: "form", required: "required", inline: "inline", divider: "divider", validity: "validity", validationMessage: "validationMessage" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -423,37 +568,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
423
568
  "validity",
424
569
  "validationMessage",
425
570
  ],
426
- imports: [forwardRef(() => FlowIcon), forwardRef(() => FlowIconButton)],
427
- providers: [],
428
- }]
429
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
430
- /** @internal */
431
- let FlowBreadcrumb = class FlowBreadcrumb {
432
- z;
433
- el;
434
- constructor(c, r, z) {
435
- this.z = z;
436
- c.detach();
437
- this.el = r.nativeElement;
438
- }
439
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowBreadcrumb, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
440
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowBreadcrumb, isStandalone: true, selector: "flow-ui-breadcrumb", inputs: { label: "label" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
441
- };
442
- FlowBreadcrumb = __decorate([
443
- ProxyCmp({
444
- inputs: ["label"],
445
- methods: [],
446
- })
447
- ], FlowBreadcrumb);
448
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowBreadcrumb, decorators: [{
449
- type: Component,
450
- args: [{
451
- standalone: true,
452
- selector: "flow-ui-breadcrumb",
453
- changeDetection: ChangeDetectionStrategy.OnPush,
454
- template: "<ng-content></ng-content>",
455
- inputs: ["label"],
456
- imports: [forwardRef(() => FlowIcon)],
571
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
457
572
  providers: [],
458
573
  }]
459
574
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -465,6 +580,10 @@ let FlowAvatar = class FlowAvatar {
465
580
  this.z = z;
466
581
  c.detach();
467
582
  this.el = r.nativeElement;
583
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
584
+ // that development builds, which keep every proxy, register the same elements as production builds), and
585
+ // upgrades the host element. define() leaves tags that are already registered alone.
586
+ defineCustomElementOnUse(this, this.el, () => FlowUiAvatar.define());
468
587
  }
469
588
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
470
589
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowAvatar, isStandalone: true, selector: "flow-ui-avatar", inputs: { image: "image", label: "label", initials: "initials", loading: "loading", shape: "shape" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -483,15 +602,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
483
602
  changeDetection: ChangeDetectionStrategy.OnPush,
484
603
  template: "<ng-content></ng-content>",
485
604
  inputs: ["image", "label", "initials", "loading", "shape"],
486
- imports: [forwardRef(() => FlowIcon)],
605
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
487
606
  providers: [],
488
607
  }]
489
608
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
490
- const FlowAutocompleteValueAccessor = {
491
- provide: NG_VALUE_ACCESSOR,
492
- useExisting: forwardRef(() => FlowAutocomplete),
493
- multi: true,
494
- };
495
609
  /** @internal */
496
610
  let FlowAutocomplete = class FlowAutocomplete extends ValueAccessor {
497
611
  z;
@@ -501,6 +615,10 @@ let FlowAutocomplete = class FlowAutocomplete extends ValueAccessor {
501
615
  this.z = z;
502
616
  c.detach();
503
617
  this.el = r.nativeElement;
618
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
619
+ // that development builds, which keep every proxy, register the same elements as production builds), and
620
+ // upgrades the host element. define() leaves tags that are already registered alone.
621
+ defineCustomElementOnUse(this, this.el, () => FlowUiAutocomplete.define());
504
622
  }
505
623
  updateOn = "change";
506
624
  _handleInputEvent(el) {
@@ -514,7 +632,13 @@ let FlowAutocomplete = class FlowAutocomplete extends ValueAccessor {
514
632
  }
515
633
  }
516
634
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowAutocomplete, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
517
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowAutocomplete, isStandalone: true, selector: "flow-ui-autocomplete", inputs: { size: "size", filled: "filled", pill: "pill", label: "label", helpText: "helpText", placeholder: "placeholder", disabled: "disabled", form: "form", required: "required", inline: "inline", divider: "divider", hoist: "hoist", placement: "placement", value: "value", displayWith: "displayWith", debounceDelay: "debounceDelay", clearable: "clearable", clearOnFocus: "clearOnFocus", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowAutocompleteValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
635
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowAutocomplete, isStandalone: true, selector: "flow-ui-autocomplete", inputs: { size: "size", filled: "filled", pill: "pill", label: "label", helpText: "helpText", placeholder: "placeholder", disabled: "disabled", form: "form", required: "required", inline: "inline", divider: "divider", hoist: "hoist", placement: "placement", value: "value", displayWith: "displayWith", debounceDelay: "debounceDelay", clearable: "clearable", clearOnFocus: "clearOnFocus", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
636
+ {
637
+ provide: NG_VALUE_ACCESSOR,
638
+ useExisting: forwardRef(() => FlowAutocomplete),
639
+ multi: true,
640
+ },
641
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
518
642
  };
519
643
  FlowAutocomplete = __decorate([
520
644
  ProxyCmp({
@@ -582,8 +706,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
582
706
  "validity",
583
707
  "validationMessage",
584
708
  ],
585
- imports: [forwardRef(() => FlowPopup), forwardRef(() => FlowIcon)],
586
- providers: [FlowAutocompleteValueAccessor],
709
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
710
+ providers: [
711
+ {
712
+ provide: NG_VALUE_ACCESSOR,
713
+ useExisting: forwardRef(() => FlowAutocomplete),
714
+ multi: true,
715
+ },
716
+ ],
587
717
  }]
588
718
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
589
719
  type: Input
@@ -602,6 +732,10 @@ let FlowBreadcrumbItem = class FlowBreadcrumbItem {
602
732
  this.z = z;
603
733
  c.detach();
604
734
  this.el = r.nativeElement;
735
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
736
+ // that development builds, which keep every proxy, register the same elements as production builds), and
737
+ // upgrades the host element. define() leaves tags that are already registered alone.
738
+ defineCustomElementOnUse(this, this.el, () => FlowUiBreadcrumbItem.define());
605
739
  }
606
740
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowBreadcrumbItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
607
741
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowBreadcrumbItem, isStandalone: true, selector: "flow-ui-breadcrumb-item", inputs: { href: "href", target: "target", rel: "rel" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -620,7 +754,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
620
754
  changeDetection: ChangeDetectionStrategy.OnPush,
621
755
  template: "<ng-content></ng-content>",
622
756
  inputs: ["href", "target", "rel"],
623
- imports: [],
757
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
624
758
  providers: [],
625
759
  }]
626
760
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -632,6 +766,10 @@ let FlowBusyOverlay = class FlowBusyOverlay {
632
766
  this.z = z;
633
767
  c.detach();
634
768
  this.el = r.nativeElement;
769
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
770
+ // that development builds, which keep every proxy, register the same elements as production builds), and
771
+ // upgrades the host element. define() leaves tags that are already registered alone.
772
+ defineCustomElementOnUse(this, this.el, () => FlowUiBusyOverlay.define());
635
773
  }
636
774
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowBusyOverlay, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
637
775
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowBusyOverlay, isStandalone: true, selector: "flow-ui-busy-overlay", inputs: { busy: "busy", variant: "variant", size: "size", overlayParent: "overlayParent" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -650,7 +788,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
650
788
  changeDetection: ChangeDetectionStrategy.OnPush,
651
789
  template: "<ng-content></ng-content>",
652
790
  inputs: ["busy", "variant", "size", "overlayParent"],
653
- imports: [forwardRef(() => FlowProgressRing)],
791
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
654
792
  providers: [],
655
793
  }]
656
794
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -662,6 +800,10 @@ let FlowButton = class FlowButton {
662
800
  this.z = z;
663
801
  c.detach();
664
802
  this.el = r.nativeElement;
803
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
804
+ // that development builds, which keep every proxy, register the same elements as production builds), and
805
+ // upgrades the host element. define() leaves tags that are already registered alone.
806
+ defineCustomElementOnUse(this, this.el, () => FlowUiButton.define());
665
807
  }
666
808
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
667
809
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowButton, isStandalone: true, selector: "flow-ui-button", inputs: { label: "label", variant: "variant", size: "size", caret: "caret", disabled: "disabled", loading: "loading", outline: "outline", pill: "pill", fabCircle: "fabCircle", fabSquare: "fabSquare", type: "type", name: "name", value: "value", href: "href", target: "target", rel: "rel", download: "download", form: "form", formAction: "formAction", formEnctype: "formEnctype", formMethod: "formMethod", formNoValidate: "formNoValidate", formTarget: "formTarget", validity: "validity", validationMessage: "validationMessage" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -740,7 +882,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
740
882
  "validity",
741
883
  "validationMessage",
742
884
  ],
743
- imports: [forwardRef(() => FlowIcon), forwardRef(() => FlowProgressRing)],
885
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
744
886
  providers: [],
745
887
  }]
746
888
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -752,6 +894,10 @@ let FlowButtonGroup = class FlowButtonGroup {
752
894
  this.z = z;
753
895
  c.detach();
754
896
  this.el = r.nativeElement;
897
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
898
+ // that development builds, which keep every proxy, register the same elements as production builds), and
899
+ // upgrades the host element. define() leaves tags that are already registered alone.
900
+ defineCustomElementOnUse(this, this.el, () => FlowUiButtonGroup.define());
755
901
  }
756
902
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowButtonGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
757
903
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowButtonGroup, isStandalone: true, selector: "flow-ui-button-group", inputs: { label: "label", vertical: "vertical" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -770,15 +916,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
770
916
  changeDetection: ChangeDetectionStrategy.OnPush,
771
917
  template: "<ng-content></ng-content>",
772
918
  inputs: ["label", "vertical"],
773
- imports: [],
919
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
774
920
  providers: [],
775
921
  }]
776
922
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
777
- const FlowCalendarValueAccessor = {
778
- provide: NG_VALUE_ACCESSOR,
779
- useExisting: forwardRef(() => FlowCalendar),
780
- multi: true,
781
- };
782
923
  /** @internal */
783
924
  let FlowCalendar = class FlowCalendar extends ValueAccessor {
784
925
  z;
@@ -788,6 +929,10 @@ let FlowCalendar = class FlowCalendar extends ValueAccessor {
788
929
  this.z = z;
789
930
  c.detach();
790
931
  this.el = r.nativeElement;
932
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
933
+ // that development builds, which keep every proxy, register the same elements as production builds), and
934
+ // upgrades the host element. define() leaves tags that are already registered alone.
935
+ defineCustomElementOnUse(this, this.el, () => FlowUiCalendar.define());
791
936
  }
792
937
  updateOn = "change";
793
938
  _handleInputEvent(el) {
@@ -801,7 +946,13 @@ let FlowCalendar = class FlowCalendar extends ValueAccessor {
801
946
  }
802
947
  }
803
948
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowCalendar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
804
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowCalendar, isStandalone: true, selector: "flow-ui-calendar", inputs: { value: "value", displayMode: "displayMode", range: "range", timezone: "timezone", locale: "locale", size: "size", months: "months", min: "min", max: "max", maxRange: "maxRange", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowCalendarValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
949
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowCalendar, isStandalone: true, selector: "flow-ui-calendar", inputs: { value: "value", displayMode: "displayMode", range: "range", timezone: "timezone", locale: "locale", size: "size", months: "months", min: "min", max: "max", maxRange: "maxRange", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
950
+ {
951
+ provide: NG_VALUE_ACCESSOR,
952
+ useExisting: forwardRef(() => FlowCalendar),
953
+ multi: true,
954
+ },
955
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
805
956
  };
806
957
  FlowCalendar = __decorate([
807
958
  ProxyCmp({
@@ -839,13 +990,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
839
990
  "max",
840
991
  "maxRange",
841
992
  ],
842
- imports: [
843
- forwardRef(() => FlowIconButton),
844
- forwardRef(() => FlowInput),
845
- forwardRef(() => FlowSelect),
846
- forwardRef(() => FlowOption),
993
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
994
+ providers: [
995
+ {
996
+ provide: NG_VALUE_ACCESSOR,
997
+ useExisting: forwardRef(() => FlowCalendar),
998
+ multi: true,
999
+ },
847
1000
  ],
848
- providers: [FlowCalendarValueAccessor],
849
1001
  }]
850
1002
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
851
1003
  type: Input
@@ -864,6 +1016,10 @@ let FlowCard = class FlowCard {
864
1016
  this.z = z;
865
1017
  c.detach();
866
1018
  this.el = r.nativeElement;
1019
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1020
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1021
+ // upgrades the host element. define() leaves tags that are already registered alone.
1022
+ defineCustomElementOnUse(this, this.el, () => FlowUiCard.define());
867
1023
  }
868
1024
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowCard, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
869
1025
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowCard, isStandalone: true, selector: "flow-ui-card", inputs: { title: "title" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -882,7 +1038,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
882
1038
  changeDetection: ChangeDetectionStrategy.OnPush,
883
1039
  template: "<ng-content></ng-content>",
884
1040
  inputs: ["title"],
885
- imports: [],
1041
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
886
1042
  providers: [],
887
1043
  }]
888
1044
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -894,6 +1050,10 @@ let FlowCarousel = class FlowCarousel {
894
1050
  this.z = z;
895
1051
  c.detach();
896
1052
  this.el = r.nativeElement;
1053
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1054
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1055
+ // upgrades the host element. define() leaves tags that are already registered alone.
1056
+ defineCustomElementOnUse(this, this.el, () => FlowUiCarousel.define());
897
1057
  }
898
1058
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowCarousel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
899
1059
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowCarousel, isStandalone: true, selector: "flow-ui-carousel", inputs: { loop: "loop", navigation: "navigation", pagination: "pagination", autoplay: "autoplay", autoplayInterval: "autoplayInterval", slidesPerPage: "slidesPerPage", slidesPerMove: "slidesPerMove", orientation: "orientation", mouseDragging: "mouseDragging" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -932,7 +1092,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
932
1092
  "orientation",
933
1093
  "mouseDragging",
934
1094
  ],
935
- imports: [forwardRef(() => FlowIcon)],
1095
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
936
1096
  providers: [],
937
1097
  }]
938
1098
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -944,6 +1104,10 @@ let FlowCarouselItem = class FlowCarouselItem {
944
1104
  this.z = z;
945
1105
  c.detach();
946
1106
  this.el = r.nativeElement;
1107
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1108
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1109
+ // upgrades the host element. define() leaves tags that are already registered alone.
1110
+ defineCustomElementOnUse(this, this.el, () => FlowUiCarouselItem.define());
947
1111
  }
948
1112
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowCarouselItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
949
1113
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowCarouselItem, isStandalone: true, selector: "flow-ui-carousel-item", providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -962,7 +1126,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
962
1126
  changeDetection: ChangeDetectionStrategy.OnPush,
963
1127
  template: "<ng-content></ng-content>",
964
1128
  inputs: [],
965
- imports: [],
1129
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
966
1130
  providers: [],
967
1131
  }]
968
1132
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -974,6 +1138,10 @@ let FlowChart = class FlowChart {
974
1138
  this.z = z;
975
1139
  c.detach();
976
1140
  this.el = r.nativeElement;
1141
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1142
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1143
+ // upgrades the host element. define() leaves tags that are already registered alone.
1144
+ defineCustomElementOnUse(this, this.el, () => FlowUiChart.define());
977
1145
  }
978
1146
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowChart, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
979
1147
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowChart, isStandalone: true, selector: "flow-ui-chart", inputs: { chart: "chart", title: "title", type: "type", options: "options", data: "data", plugins: "plugins" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -992,15 +1160,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
992
1160
  changeDetection: ChangeDetectionStrategy.OnPush,
993
1161
  template: "<ng-content></ng-content>",
994
1162
  inputs: ["chart", "title", "type", "options", "data", "plugins"],
995
- imports: [],
1163
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
996
1164
  providers: [],
997
1165
  }]
998
1166
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
999
- const FlowCheckboxValueAccessor = {
1000
- provide: NG_VALUE_ACCESSOR,
1001
- useExisting: forwardRef(() => FlowCheckbox),
1002
- multi: true,
1003
- };
1004
1167
  /** @internal */
1005
1168
  let FlowCheckbox = class FlowCheckbox extends ValueAccessor {
1006
1169
  z;
@@ -1010,6 +1173,10 @@ let FlowCheckbox = class FlowCheckbox extends ValueAccessor {
1010
1173
  this.z = z;
1011
1174
  c.detach();
1012
1175
  this.el = r.nativeElement;
1176
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1177
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1178
+ // upgrades the host element. define() leaves tags that are already registered alone.
1179
+ defineCustomElementOnUse(this, this.el, () => FlowUiCheckbox.define());
1013
1180
  }
1014
1181
  _handleChangeEvent(el) {
1015
1182
  this._handleValueChange(el, el.checked);
@@ -1018,7 +1185,13 @@ let FlowCheckbox = class FlowCheckbox extends ValueAccessor {
1018
1185
  this.el.checked = this.lastValue = value;
1019
1186
  }
1020
1187
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
1021
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowCheckbox, isStandalone: true, selector: "flow-ui-checkbox", inputs: { name: "name", value: "value", size: "size", disabled: "disabled", checked: "checked", indeterminate: "indeterminate", defaultChecked: "defaultChecked", reverse: "reverse", form: "form", required: "required", validity: "validity", validationMessage: "validationMessage" }, host: { listeners: { "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowCheckboxValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1188
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowCheckbox, isStandalone: true, selector: "flow-ui-checkbox", inputs: { name: "name", value: "value", size: "size", disabled: "disabled", checked: "checked", indeterminate: "indeterminate", defaultChecked: "defaultChecked", reverse: "reverse", form: "form", required: "required", validity: "validity", validationMessage: "validationMessage" }, host: { listeners: { "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
1189
+ {
1190
+ provide: NG_VALUE_ACCESSOR,
1191
+ useExisting: forwardRef(() => FlowCheckbox),
1192
+ multi: true,
1193
+ },
1194
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1022
1195
  };
1023
1196
  FlowCheckbox = __decorate([
1024
1197
  ProxyCmp({
@@ -1068,18 +1241,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1068
1241
  "validity",
1069
1242
  "validationMessage",
1070
1243
  ],
1071
- imports: [forwardRef(() => FlowIcon)],
1072
- providers: [FlowCheckboxValueAccessor],
1244
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1245
+ providers: [
1246
+ {
1247
+ provide: NG_VALUE_ACCESSOR,
1248
+ useExisting: forwardRef(() => FlowCheckbox),
1249
+ multi: true,
1250
+ },
1251
+ ],
1073
1252
  }]
1074
1253
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { _handleChangeEvent: [{
1075
1254
  type: HostListener,
1076
1255
  args: ["flow-ui-change", ["$event.target"]]
1077
1256
  }] } });
1078
- const FlowCheckboxGroupValueAccessor = {
1079
- provide: NG_VALUE_ACCESSOR,
1080
- useExisting: forwardRef(() => FlowCheckboxGroup),
1081
- multi: true,
1082
- };
1083
1257
  /** @internal */
1084
1258
  let FlowCheckboxGroup = class FlowCheckboxGroup extends ValueAccessor {
1085
1259
  z;
@@ -1089,6 +1263,10 @@ let FlowCheckboxGroup = class FlowCheckboxGroup extends ValueAccessor {
1089
1263
  this.z = z;
1090
1264
  c.detach();
1091
1265
  this.el = r.nativeElement;
1266
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1267
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1268
+ // upgrades the host element. define() leaves tags that are already registered alone.
1269
+ defineCustomElementOnUse(this, this.el, () => FlowUiCheckboxGroup.define());
1092
1270
  }
1093
1271
  updateOn = "change";
1094
1272
  _handleInputEvent(el) {
@@ -1102,7 +1280,13 @@ let FlowCheckboxGroup = class FlowCheckboxGroup extends ValueAccessor {
1102
1280
  }
1103
1281
  }
1104
1282
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowCheckboxGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
1105
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowCheckboxGroup, isStandalone: true, selector: "flow-ui-checkbox-group", inputs: { label: "label", helpText: "helpText", name: "name", value: "value", size: "size", form: "form", required: "required", reverse: "reverse", divider: "divider", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowCheckboxGroupValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1283
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowCheckboxGroup, isStandalone: true, selector: "flow-ui-checkbox-group", inputs: { label: "label", helpText: "helpText", name: "name", value: "value", size: "size", form: "form", required: "required", reverse: "reverse", divider: "divider", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
1284
+ {
1285
+ provide: NG_VALUE_ACCESSOR,
1286
+ useExisting: forwardRef(() => FlowCheckboxGroup),
1287
+ multi: true,
1288
+ },
1289
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1106
1290
  };
1107
1291
  FlowCheckboxGroup = __decorate([
1108
1292
  ProxyCmp({
@@ -1142,8 +1326,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1142
1326
  "validity",
1143
1327
  "validationMessage",
1144
1328
  ],
1145
- imports: [forwardRef(() => FlowButtonGroup)],
1146
- providers: [FlowCheckboxGroupValueAccessor],
1329
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1330
+ providers: [
1331
+ {
1332
+ provide: NG_VALUE_ACCESSOR,
1333
+ useExisting: forwardRef(() => FlowCheckboxGroup),
1334
+ multi: true,
1335
+ },
1336
+ ],
1147
1337
  }]
1148
1338
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
1149
1339
  type: Input
@@ -1154,11 +1344,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1154
1344
  type: HostListener,
1155
1345
  args: ["flow-ui-change", ["$event.target"]]
1156
1346
  }] } });
1157
- const FlowColorMapperValueAccessor = {
1158
- provide: NG_VALUE_ACCESSOR,
1159
- useExisting: forwardRef(() => FlowColorMapper),
1160
- multi: true,
1161
- };
1162
1347
  /** @internal */
1163
1348
  let FlowColorMapper = class FlowColorMapper extends ValueAccessor {
1164
1349
  z;
@@ -1168,6 +1353,10 @@ let FlowColorMapper = class FlowColorMapper extends ValueAccessor {
1168
1353
  this.z = z;
1169
1354
  c.detach();
1170
1355
  this.el = r.nativeElement;
1356
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1357
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1358
+ // upgrades the host element. define() leaves tags that are already registered alone.
1359
+ defineCustomElementOnUse(this, this.el, () => FlowUiColorMapper.define());
1171
1360
  }
1172
1361
  updateOn = "change";
1173
1362
  _handleInputEvent(el) {
@@ -1181,7 +1370,13 @@ let FlowColorMapper = class FlowColorMapper extends ValueAccessor {
1181
1370
  }
1182
1371
  }
1183
1372
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowColorMapper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
1184
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowColorMapper, isStandalone: true, selector: "flow-ui-color-mapper", inputs: { options: "options", value: "value", size: "size", swatches: "swatches", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowColorMapperValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1373
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowColorMapper, isStandalone: true, selector: "flow-ui-color-mapper", inputs: { options: "options", value: "value", size: "size", swatches: "swatches", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
1374
+ {
1375
+ provide: NG_VALUE_ACCESSOR,
1376
+ useExisting: forwardRef(() => FlowColorMapper),
1377
+ multi: true,
1378
+ },
1379
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1185
1380
  };
1186
1381
  FlowColorMapper = __decorate([
1187
1382
  ProxyCmp({
@@ -1197,18 +1392,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1197
1392
  changeDetection: ChangeDetectionStrategy.OnPush,
1198
1393
  template: "<ng-content></ng-content>",
1199
1394
  inputs: ["options", "value", "size", "swatches"],
1200
- imports: [
1201
- forwardRef(() => FlowColorPicker),
1202
- forwardRef(() => FlowColorStop),
1203
- forwardRef(() => FlowDialog),
1204
- forwardRef(() => FlowButton),
1205
- forwardRef(() => FlowRadioGroup),
1206
- forwardRef(() => FlowRadio),
1207
- forwardRef(() => FlowSelect),
1208
- forwardRef(() => FlowOption),
1209
- forwardRef(() => FlowIconButton),
1395
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1396
+ providers: [
1397
+ {
1398
+ provide: NG_VALUE_ACCESSOR,
1399
+ useExisting: forwardRef(() => FlowColorMapper),
1400
+ multi: true,
1401
+ },
1210
1402
  ],
1211
- providers: [FlowColorMapperValueAccessor],
1212
1403
  }]
1213
1404
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
1214
1405
  type: Input
@@ -1219,11 +1410,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1219
1410
  type: HostListener,
1220
1411
  args: ["flow-ui-change", ["$event.target"]]
1221
1412
  }] } });
1222
- const FlowColorPickerValueAccessor = {
1223
- provide: NG_VALUE_ACCESSOR,
1224
- useExisting: forwardRef(() => FlowColorPicker),
1225
- multi: true,
1226
- };
1227
1413
  /** @internal */
1228
1414
  let FlowColorPicker = class FlowColorPicker extends ValueAccessor {
1229
1415
  z;
@@ -1233,6 +1419,10 @@ let FlowColorPicker = class FlowColorPicker extends ValueAccessor {
1233
1419
  this.z = z;
1234
1420
  c.detach();
1235
1421
  this.el = r.nativeElement;
1422
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1423
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1424
+ // upgrades the host element. define() leaves tags that are already registered alone.
1425
+ defineCustomElementOnUse(this, this.el, () => FlowUiColorPicker.define());
1236
1426
  }
1237
1427
  updateOn = "change";
1238
1428
  _handleInputEvent(el) {
@@ -1246,7 +1436,13 @@ let FlowColorPicker = class FlowColorPicker extends ValueAccessor {
1246
1436
  }
1247
1437
  }
1248
1438
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowColorPicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
1249
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowColorPicker, isStandalone: true, selector: "flow-ui-color-picker", inputs: { value: "value", defaultValue: "defaultValue", label: "label", format: "format", inline: "inline", size: "size", noFormatToggle: "noFormatToggle", name: "name", disabled: "disabled", placement: "placement", distance: "distance", skidding: "skidding", hoist: "hoist", opacity: "opacity", uppercase: "uppercase", swatches: "swatches", form: "form", required: "required", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowColorPickerValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1439
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowColorPicker, isStandalone: true, selector: "flow-ui-color-picker", inputs: { value: "value", defaultValue: "defaultValue", label: "label", format: "format", inline: "inline", size: "size", noFormatToggle: "noFormatToggle", name: "name", disabled: "disabled", placement: "placement", distance: "distance", skidding: "skidding", hoist: "hoist", opacity: "opacity", uppercase: "uppercase", swatches: "swatches", form: "form", required: "required", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
1440
+ {
1441
+ provide: NG_VALUE_ACCESSOR,
1442
+ useExisting: forwardRef(() => FlowColorPicker),
1443
+ multi: true,
1444
+ },
1445
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1250
1446
  };
1251
1447
  FlowColorPicker = __decorate([
1252
1448
  ProxyCmp({
@@ -1312,14 +1508,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1312
1508
  "validity",
1313
1509
  "validationMessage",
1314
1510
  ],
1315
- imports: [
1316
- forwardRef(() => FlowButton),
1317
- forwardRef(() => FlowButtonGroup),
1318
- forwardRef(() => FlowDropdown),
1319
- forwardRef(() => FlowInput),
1320
- forwardRef(() => FlowVisuallyHidden),
1511
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1512
+ providers: [
1513
+ {
1514
+ provide: NG_VALUE_ACCESSOR,
1515
+ useExisting: forwardRef(() => FlowColorPicker),
1516
+ multi: true,
1517
+ },
1321
1518
  ],
1322
- providers: [FlowColorPickerValueAccessor],
1323
1519
  }]
1324
1520
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
1325
1521
  type: Input
@@ -1338,6 +1534,10 @@ let FlowColorStop = class FlowColorStop {
1338
1534
  this.z = z;
1339
1535
  c.detach();
1340
1536
  this.el = r.nativeElement;
1537
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1538
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1539
+ // upgrades the host element. define() leaves tags that are already registered alone.
1540
+ defineCustomElementOnUse(this, this.el, () => FlowUiColorStop.define());
1341
1541
  }
1342
1542
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowColorStop, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1343
1543
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowColorStop, isStandalone: true, selector: "flow-ui-color-stop", inputs: { name: "name", form: "form", required: "required", options: "options", value: "value", size: "size", placeholder: "placeholder", fixed: "fixed", swatches: "swatches", validity: "validity", validationMessage: "validationMessage" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -1380,23 +1580,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1380
1580
  "validity",
1381
1581
  "validationMessage",
1382
1582
  ],
1383
- imports: [
1384
- forwardRef(() => FlowColorPicker),
1385
- forwardRef(() => FlowInput),
1386
- forwardRef(() => FlowOption),
1387
- forwardRef(() => FlowSelect),
1388
- forwardRef(() => FlowToolButton),
1389
- forwardRef(() => FlowToolButtonGroup),
1390
- forwardRef(() => FlowIconButton),
1391
- ],
1583
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1392
1584
  providers: [],
1393
1585
  }]
1394
1586
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1395
- const FlowDateTimePickerValueAccessor = {
1396
- provide: NG_VALUE_ACCESSOR,
1397
- useExisting: forwardRef(() => FlowDateTimePicker),
1398
- multi: true,
1399
- };
1400
1587
  /** @internal */
1401
1588
  let FlowDateTimePicker = class FlowDateTimePicker extends ValueAccessor {
1402
1589
  z;
@@ -1406,6 +1593,10 @@ let FlowDateTimePicker = class FlowDateTimePicker extends ValueAccessor {
1406
1593
  this.z = z;
1407
1594
  c.detach();
1408
1595
  this.el = r.nativeElement;
1596
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1597
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1598
+ // upgrades the host element. define() leaves tags that are already registered alone.
1599
+ defineCustomElementOnUse(this, this.el, () => FlowUiDateTimePicker.define());
1409
1600
  }
1410
1601
  updateOn = "change";
1411
1602
  _handleInputEvent(el) {
@@ -1419,7 +1610,13 @@ let FlowDateTimePicker = class FlowDateTimePicker extends ValueAccessor {
1419
1610
  }
1420
1611
  }
1421
1612
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDateTimePicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
1422
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDateTimePicker, isStandalone: true, selector: "flow-ui-date-time-picker", inputs: { name: "name", value: "value", displayMode: "displayMode", range: "range", format: "format", timezone: "timezone", locale: "locale", defaultValue: "defaultValue", size: "size", months: "months", min: "min", max: "max", maxRange: "maxRange", placeholder: "placeholder", disabled: "disabled", clearable: "clearable", open: "open", hoist: "hoist", filled: "filled", pill: "pill", label: "label", placement: "placement", helpText: "helpText", form: "form", required: "required", inline: "inline", divider: "divider", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowDateTimePickerValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1613
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDateTimePicker, isStandalone: true, selector: "flow-ui-date-time-picker", inputs: { name: "name", value: "value", displayMode: "displayMode", range: "range", format: "format", timezone: "timezone", locale: "locale", defaultValue: "defaultValue", size: "size", months: "months", min: "min", max: "max", maxRange: "maxRange", placeholder: "placeholder", disabled: "disabled", clearable: "clearable", open: "open", hoist: "hoist", filled: "filled", pill: "pill", label: "label", placement: "placement", helpText: "helpText", form: "form", required: "required", inline: "inline", divider: "divider", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
1614
+ {
1615
+ provide: NG_VALUE_ACCESSOR,
1616
+ useExisting: forwardRef(() => FlowDateTimePicker),
1617
+ multi: true,
1618
+ },
1619
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1423
1620
  };
1424
1621
  FlowDateTimePicker = __decorate([
1425
1622
  ProxyCmp({
@@ -1504,12 +1701,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1504
1701
  "validity",
1505
1702
  "validationMessage",
1506
1703
  ],
1507
- imports: [
1508
- forwardRef(() => FlowIcon),
1509
- forwardRef(() => FlowPopup),
1510
- forwardRef(() => FlowCalendar),
1704
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1705
+ providers: [
1706
+ {
1707
+ provide: NG_VALUE_ACCESSOR,
1708
+ useExisting: forwardRef(() => FlowDateTimePicker),
1709
+ multi: true,
1710
+ },
1511
1711
  ],
1512
- providers: [FlowDateTimePickerValueAccessor],
1513
1712
  }]
1514
1713
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
1515
1714
  type: Input
@@ -1528,6 +1727,10 @@ let FlowDetails = class FlowDetails {
1528
1727
  this.z = z;
1529
1728
  c.detach();
1530
1729
  this.el = r.nativeElement;
1730
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1731
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1732
+ // upgrades the host element. define() leaves tags that are already registered alone.
1733
+ defineCustomElementOnUse(this, this.el, () => FlowUiDetails.define());
1531
1734
  }
1532
1735
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDetails, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1533
1736
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDetails, isStandalone: true, selector: "flow-ui-details", inputs: { open: "open", summary: "summary", disabled: "disabled" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -1537,16 +1740,514 @@ FlowDetails = __decorate([
1537
1740
  inputs: ["open", "summary", "disabled"],
1538
1741
  methods: ["show", "hide"],
1539
1742
  })
1540
- ], FlowDetails);
1541
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDetails, decorators: [{
1743
+ ], FlowDetails);
1744
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDetails, decorators: [{
1745
+ type: Component,
1746
+ args: [{
1747
+ standalone: true,
1748
+ selector: "flow-ui-details",
1749
+ changeDetection: ChangeDetectionStrategy.OnPush,
1750
+ template: "<ng-content></ng-content>",
1751
+ inputs: ["open", "summary", "disabled"],
1752
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1753
+ providers: [],
1754
+ }]
1755
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1756
+ /** @internal */
1757
+ let FlowDiagram = class FlowDiagram {
1758
+ z;
1759
+ el;
1760
+ constructor(c, r, z) {
1761
+ this.z = z;
1762
+ c.detach();
1763
+ this.el = r.nativeElement;
1764
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1765
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1766
+ // upgrades the host element. define() leaves tags that are already registered alone.
1767
+ defineCustomElementOnUse(this, this.el, () => FlowUiDiagram.define());
1768
+ }
1769
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagram, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1770
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDiagram, isStandalone: true, selector: "flow-ui-diagram", inputs: { model: "model", config: "config", middlewares: "middlewares", nodeTemplateMap: "nodeTemplateMap", edgeTemplateMap: "edgeTemplateMap", tabbable: "tabbable", selectionMode: "selectionMode", api: "api", initialized: "initialized" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1771
+ };
1772
+ FlowDiagram = __decorate([
1773
+ ProxyCmp({
1774
+ inputs: [
1775
+ "model",
1776
+ "config",
1777
+ "middlewares",
1778
+ "nodeTemplateMap",
1779
+ "edgeTemplateMap",
1780
+ "tabbable",
1781
+ "selectionMode",
1782
+ "api",
1783
+ "initialized",
1784
+ ],
1785
+ methods: [],
1786
+ })
1787
+ ], FlowDiagram);
1788
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagram, decorators: [{
1789
+ type: Component,
1790
+ args: [{
1791
+ standalone: true,
1792
+ selector: "flow-ui-diagram",
1793
+ changeDetection: ChangeDetectionStrategy.OnPush,
1794
+ template: "<ng-content></ng-content>",
1795
+ inputs: [
1796
+ "model",
1797
+ "config",
1798
+ "middlewares",
1799
+ "nodeTemplateMap",
1800
+ "edgeTemplateMap",
1801
+ "tabbable",
1802
+ "selectionMode",
1803
+ "api",
1804
+ "initialized",
1805
+ ],
1806
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1807
+ providers: [],
1808
+ }]
1809
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1810
+ /** @internal */
1811
+ let FlowDiagramBackground = class FlowDiagramBackground {
1812
+ z;
1813
+ el;
1814
+ constructor(c, r, z) {
1815
+ this.z = z;
1816
+ c.detach();
1817
+ this.el = r.nativeElement;
1818
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1819
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1820
+ // upgrades the host element. define() leaves tags that are already registered alone.
1821
+ defineCustomElementOnUse(this, this.el, () => FlowUiDiagramBackground.define());
1822
+ }
1823
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramBackground, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1824
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDiagramBackground, isStandalone: true, selector: "flow-ui-diagram-background", inputs: { type: "type" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1825
+ };
1826
+ FlowDiagramBackground = __decorate([
1827
+ ProxyCmp({
1828
+ inputs: ["type"],
1829
+ methods: [],
1830
+ })
1831
+ ], FlowDiagramBackground);
1832
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramBackground, decorators: [{
1833
+ type: Component,
1834
+ args: [{
1835
+ standalone: true,
1836
+ selector: "flow-ui-diagram-background",
1837
+ changeDetection: ChangeDetectionStrategy.OnPush,
1838
+ template: "<ng-content></ng-content>",
1839
+ inputs: ["type"],
1840
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1841
+ providers: [],
1842
+ }]
1843
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1844
+ /** @internal */
1845
+ let FlowDiagramBaseEdge = class FlowDiagramBaseEdge {
1846
+ z;
1847
+ el;
1848
+ constructor(c, r, z) {
1849
+ this.z = z;
1850
+ c.detach();
1851
+ this.el = r.nativeElement;
1852
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1853
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1854
+ // upgrades the host element. define() leaves tags that are already registered alone.
1855
+ defineCustomElementOnUse(this, this.el, () => FlowUiDiagramBaseEdge.define());
1856
+ }
1857
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramBaseEdge, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1858
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDiagramBaseEdge, isStandalone: true, selector: "flow-ui-diagram-base-edge", inputs: { edge: "edge", routing: "routing", stroke: "stroke", sourceArrowhead: "sourceArrowhead", targetArrowhead: "targetArrowhead", strokeOpacity: "strokeOpacity", strokeWidth: "strokeWidth", strokeDasharray: "strokeDasharray" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1859
+ };
1860
+ FlowDiagramBaseEdge = __decorate([
1861
+ ProxyCmp({
1862
+ inputs: [
1863
+ "edge",
1864
+ "routing",
1865
+ "stroke",
1866
+ "sourceArrowhead",
1867
+ "targetArrowhead",
1868
+ "strokeOpacity",
1869
+ "strokeWidth",
1870
+ "strokeDasharray",
1871
+ ],
1872
+ methods: [],
1873
+ })
1874
+ ], FlowDiagramBaseEdge);
1875
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramBaseEdge, decorators: [{
1876
+ type: Component,
1877
+ args: [{
1878
+ standalone: true,
1879
+ selector: "flow-ui-diagram-base-edge",
1880
+ changeDetection: ChangeDetectionStrategy.OnPush,
1881
+ template: "<ng-content></ng-content>",
1882
+ inputs: [
1883
+ "edge",
1884
+ "routing",
1885
+ "stroke",
1886
+ "sourceArrowhead",
1887
+ "targetArrowhead",
1888
+ "strokeOpacity",
1889
+ "strokeWidth",
1890
+ "strokeDasharray",
1891
+ ],
1892
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1893
+ providers: [],
1894
+ }]
1895
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1896
+ /** @internal */
1897
+ let FlowDiagramBaseNode = class FlowDiagramBaseNode {
1898
+ z;
1899
+ el;
1900
+ constructor(c, r, z) {
1901
+ this.z = z;
1902
+ c.detach();
1903
+ this.el = r.nativeElement;
1904
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1905
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1906
+ // upgrades the host element. define() leaves tags that are already registered alone.
1907
+ defineCustomElementOnUse(this, this.el, () => FlowUiDiagramBaseNode.define());
1908
+ }
1909
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramBaseNode, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1910
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDiagramBaseNode, isStandalone: true, selector: "flow-ui-diagram-base-node", inputs: { removeDefaultPorts: "removeDefaultPorts" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1911
+ };
1912
+ FlowDiagramBaseNode = __decorate([
1913
+ ProxyCmp({
1914
+ inputs: ["removeDefaultPorts"],
1915
+ methods: [],
1916
+ })
1917
+ ], FlowDiagramBaseNode);
1918
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramBaseNode, decorators: [{
1919
+ type: Component,
1920
+ args: [{
1921
+ standalone: true,
1922
+ selector: "flow-ui-diagram-base-node",
1923
+ changeDetection: ChangeDetectionStrategy.OnPush,
1924
+ template: "<ng-content></ng-content>",
1925
+ inputs: ["removeDefaultPorts"],
1926
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1927
+ providers: [],
1928
+ }]
1929
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1930
+ /** @internal */
1931
+ let FlowDiagramEdgeLabel = class FlowDiagramEdgeLabel {
1932
+ z;
1933
+ el;
1934
+ constructor(c, r, z) {
1935
+ this.z = z;
1936
+ c.detach();
1937
+ this.el = r.nativeElement;
1938
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1939
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1940
+ // upgrades the host element. define() leaves tags that are already registered alone.
1941
+ defineCustomElementOnUse(this, this.el, () => FlowUiDiagramEdgeLabel.define());
1942
+ }
1943
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramEdgeLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1944
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDiagramEdgeLabel, isStandalone: true, selector: "flow-ui-diagram-edge-label", inputs: { id: "id", positionOnEdge: "positionOnEdge", variant: "variant", hidden: "hidden" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1945
+ };
1946
+ FlowDiagramEdgeLabel = __decorate([
1947
+ ProxyCmp({
1948
+ inputs: ["id", "positionOnEdge", "variant", "hidden"],
1949
+ methods: [],
1950
+ })
1951
+ ], FlowDiagramEdgeLabel);
1952
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramEdgeLabel, decorators: [{
1953
+ type: Component,
1954
+ args: [{
1955
+ standalone: true,
1956
+ selector: "flow-ui-diagram-edge-label",
1957
+ changeDetection: ChangeDetectionStrategy.OnPush,
1958
+ template: "<ng-content></ng-content>",
1959
+ inputs: ["id", "positionOnEdge", "variant", "hidden"],
1960
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1961
+ providers: [],
1962
+ }]
1963
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1964
+ /** @internal */
1965
+ let FlowDiagramMarker = class FlowDiagramMarker {
1966
+ z;
1967
+ el;
1968
+ constructor(c, r, z) {
1969
+ this.z = z;
1970
+ c.detach();
1971
+ this.el = r.nativeElement;
1972
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
1973
+ // that development builds, which keep every proxy, register the same elements as production builds), and
1974
+ // upgrades the host element. define() leaves tags that are already registered alone.
1975
+ defineCustomElementOnUse(this, this.el, () => FlowUiDiagramMarker.define());
1976
+ }
1977
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramMarker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1978
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDiagramMarker, isStandalone: true, selector: "flow-ui-diagram-marker", providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1979
+ };
1980
+ FlowDiagramMarker = __decorate([
1981
+ ProxyCmp({
1982
+ inputs: [],
1983
+ methods: [],
1984
+ })
1985
+ ], FlowDiagramMarker);
1986
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramMarker, decorators: [{
1987
+ type: Component,
1988
+ args: [{
1989
+ standalone: true,
1990
+ selector: "flow-ui-diagram-marker",
1991
+ changeDetection: ChangeDetectionStrategy.OnPush,
1992
+ template: "<ng-content></ng-content>",
1993
+ inputs: [],
1994
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1995
+ providers: [],
1996
+ }]
1997
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1998
+ /** @internal */
1999
+ let FlowDiagramMinimap = class FlowDiagramMinimap {
2000
+ z;
2001
+ el;
2002
+ constructor(c, r, z) {
2003
+ this.z = z;
2004
+ c.detach();
2005
+ this.el = r.nativeElement;
2006
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2007
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2008
+ // upgrades the host element. define() leaves tags that are already registered alone.
2009
+ defineCustomElementOnUse(this, this.el, () => FlowUiDiagramMinimap.define());
2010
+ }
2011
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramMinimap, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2012
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDiagramMinimap, isStandalone: true, selector: "flow-ui-diagram-minimap", inputs: { diagram: "diagram", position: "position", width: "width", height: "height", showZoomControls: "showZoomControls", deferNodeUpdates: "deferNodeUpdates", nodeStyle: "nodeStyle", nodeTemplateMap: "nodeTemplateMap" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2013
+ };
2014
+ FlowDiagramMinimap = __decorate([
2015
+ ProxyCmp({
2016
+ inputs: [
2017
+ "diagram",
2018
+ "position",
2019
+ "width",
2020
+ "height",
2021
+ "showZoomControls",
2022
+ "deferNodeUpdates",
2023
+ "nodeStyle",
2024
+ "nodeTemplateMap",
2025
+ ],
2026
+ methods: [],
2027
+ })
2028
+ ], FlowDiagramMinimap);
2029
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramMinimap, decorators: [{
2030
+ type: Component,
2031
+ args: [{
2032
+ standalone: true,
2033
+ selector: "flow-ui-diagram-minimap",
2034
+ changeDetection: ChangeDetectionStrategy.OnPush,
2035
+ template: "<ng-content></ng-content>",
2036
+ inputs: [
2037
+ "diagram",
2038
+ "position",
2039
+ "width",
2040
+ "height",
2041
+ "showZoomControls",
2042
+ "deferNodeUpdates",
2043
+ "nodeStyle",
2044
+ "nodeTemplateMap",
2045
+ ],
2046
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2047
+ providers: [],
2048
+ }]
2049
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2050
+ /** @internal */
2051
+ let FlowDiagramPaletteItem = class FlowDiagramPaletteItem {
2052
+ z;
2053
+ el;
2054
+ constructor(c, r, z) {
2055
+ this.z = z;
2056
+ c.detach();
2057
+ this.el = r.nativeElement;
2058
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2059
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2060
+ // upgrades the host element. define() leaves tags that are already registered alone.
2061
+ defineCustomElementOnUse(this, this.el, () => FlowUiDiagramPaletteItem.define());
2062
+ }
2063
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramPaletteItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2064
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDiagramPaletteItem, isStandalone: true, selector: "flow-ui-diagram-palette-item", inputs: { item: "item", diagram: "diagram" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2065
+ };
2066
+ FlowDiagramPaletteItem = __decorate([
2067
+ ProxyCmp({
2068
+ inputs: ["item", "diagram"],
2069
+ methods: [],
2070
+ })
2071
+ ], FlowDiagramPaletteItem);
2072
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramPaletteItem, decorators: [{
2073
+ type: Component,
2074
+ args: [{
2075
+ standalone: true,
2076
+ selector: "flow-ui-diagram-palette-item",
2077
+ changeDetection: ChangeDetectionStrategy.OnPush,
2078
+ template: "<ng-content></ng-content>",
2079
+ inputs: ["item", "diagram"],
2080
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2081
+ providers: [],
2082
+ }]
2083
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2084
+ /** @internal */
2085
+ let FlowDiagramPaletteItemPreview = class FlowDiagramPaletteItemPreview {
2086
+ z;
2087
+ el;
2088
+ constructor(c, r, z) {
2089
+ this.z = z;
2090
+ c.detach();
2091
+ this.el = r.nativeElement;
2092
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2093
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2094
+ // upgrades the host element. define() leaves tags that are already registered alone.
2095
+ defineCustomElementOnUse(this, this.el, () => FlowUiDiagramPaletteItemPreview.define());
2096
+ }
2097
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramPaletteItemPreview, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2098
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDiagramPaletteItemPreview, isStandalone: true, selector: "flow-ui-diagram-palette-item-preview", inputs: { nodeTemplateMap: "nodeTemplateMap" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2099
+ };
2100
+ FlowDiagramPaletteItemPreview = __decorate([
2101
+ ProxyCmp({
2102
+ inputs: ["nodeTemplateMap"],
2103
+ methods: [],
2104
+ })
2105
+ ], FlowDiagramPaletteItemPreview);
2106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramPaletteItemPreview, decorators: [{
2107
+ type: Component,
2108
+ args: [{
2109
+ standalone: true,
2110
+ selector: "flow-ui-diagram-palette-item-preview",
2111
+ changeDetection: ChangeDetectionStrategy.OnPush,
2112
+ template: "<ng-content></ng-content>",
2113
+ inputs: ["nodeTemplateMap"],
2114
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2115
+ providers: [],
2116
+ }]
2117
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2118
+ /** @internal */
2119
+ let FlowDiagramPort = class FlowDiagramPort {
2120
+ z;
2121
+ el;
2122
+ constructor(c, r, z) {
2123
+ this.z = z;
2124
+ c.detach();
2125
+ this.el = r.nativeElement;
2126
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2127
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2128
+ // upgrades the host element. define() leaves tags that are already registered alone.
2129
+ defineCustomElementOnUse(this, this.el, () => FlowUiDiagramPort.define());
2130
+ }
2131
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramPort, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2132
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDiagramPort, isStandalone: true, selector: "flow-ui-diagram-port", inputs: { id: "id", type: "type", side: "side", originPoint: "originPoint", hidden: "hidden" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2133
+ };
2134
+ FlowDiagramPort = __decorate([
2135
+ ProxyCmp({
2136
+ inputs: ["id", "type", "side", "originPoint", "hidden"],
2137
+ methods: [],
2138
+ })
2139
+ ], FlowDiagramPort);
2140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramPort, decorators: [{
2141
+ type: Component,
2142
+ args: [{
2143
+ standalone: true,
2144
+ selector: "flow-ui-diagram-port",
2145
+ changeDetection: ChangeDetectionStrategy.OnPush,
2146
+ template: "<ng-content></ng-content>",
2147
+ inputs: ["id", "type", "side", "originPoint", "hidden"],
2148
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2149
+ providers: [],
2150
+ }]
2151
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2152
+ /** @internal */
2153
+ let FlowDiagramResizeAdornment = class FlowDiagramResizeAdornment {
2154
+ z;
2155
+ el;
2156
+ constructor(c, r, z) {
2157
+ this.z = z;
2158
+ c.detach();
2159
+ this.el = r.nativeElement;
2160
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2161
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2162
+ // upgrades the host element. define() leaves tags that are already registered alone.
2163
+ defineCustomElementOnUse(this, this.el, () => FlowUiDiagramResizeAdornment.define());
2164
+ }
2165
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramResizeAdornment, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2166
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDiagramResizeAdornment, isStandalone: true, selector: "flow-ui-diagram-resize-adornment", inputs: { defaultResizable: "defaultResizable", activeSides: "activeSides" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2167
+ };
2168
+ FlowDiagramResizeAdornment = __decorate([
2169
+ ProxyCmp({
2170
+ inputs: ["defaultResizable", "activeSides"],
2171
+ methods: [],
2172
+ })
2173
+ ], FlowDiagramResizeAdornment);
2174
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramResizeAdornment, decorators: [{
2175
+ type: Component,
2176
+ args: [{
2177
+ standalone: true,
2178
+ selector: "flow-ui-diagram-resize-adornment",
2179
+ changeDetection: ChangeDetectionStrategy.OnPush,
2180
+ template: "<ng-content></ng-content>",
2181
+ inputs: ["defaultResizable", "activeSides"],
2182
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2183
+ providers: [],
2184
+ }]
2185
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2186
+ /** @internal */
2187
+ let FlowDiagramRotateAdornment = class FlowDiagramRotateAdornment {
2188
+ z;
2189
+ el;
2190
+ constructor(c, r, z) {
2191
+ this.z = z;
2192
+ c.detach();
2193
+ this.el = r.nativeElement;
2194
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2195
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2196
+ // upgrades the host element. define() leaves tags that are already registered alone.
2197
+ defineCustomElementOnUse(this, this.el, () => FlowUiDiagramRotateAdornment.define());
2198
+ }
2199
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramRotateAdornment, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2200
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDiagramRotateAdornment, isStandalone: true, selector: "flow-ui-diagram-rotate-adornment", inputs: { defaultRotatable: "defaultRotatable" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2201
+ };
2202
+ FlowDiagramRotateAdornment = __decorate([
2203
+ ProxyCmp({
2204
+ inputs: ["defaultRotatable"],
2205
+ methods: [],
2206
+ })
2207
+ ], FlowDiagramRotateAdornment);
2208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramRotateAdornment, decorators: [{
2209
+ type: Component,
2210
+ args: [{
2211
+ standalone: true,
2212
+ selector: "flow-ui-diagram-rotate-adornment",
2213
+ changeDetection: ChangeDetectionStrategy.OnPush,
2214
+ template: "<ng-content></ng-content>",
2215
+ inputs: ["defaultRotatable"],
2216
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2217
+ providers: [],
2218
+ }]
2219
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2220
+ /** @internal */
2221
+ let FlowDiagramZoomControls = class FlowDiagramZoomControls {
2222
+ z;
2223
+ el;
2224
+ constructor(c, r, z) {
2225
+ this.z = z;
2226
+ c.detach();
2227
+ this.el = r.nativeElement;
2228
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2229
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2230
+ // upgrades the host element. define() leaves tags that are already registered alone.
2231
+ defineCustomElementOnUse(this, this.el, () => FlowUiDiagramZoomControls.define());
2232
+ }
2233
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramZoomControls, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2234
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDiagramZoomControls, isStandalone: true, selector: "flow-ui-diagram-zoom-controls", inputs: { diagram: "diagram", step: "step", position: "position", showFit: "showFit" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2235
+ };
2236
+ FlowDiagramZoomControls = __decorate([
2237
+ ProxyCmp({
2238
+ inputs: ["diagram", "step", "position", "showFit"],
2239
+ methods: ["zoomIn", "zoomOut", "fit"],
2240
+ })
2241
+ ], FlowDiagramZoomControls);
2242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDiagramZoomControls, decorators: [{
1542
2243
  type: Component,
1543
2244
  args: [{
1544
2245
  standalone: true,
1545
- selector: "flow-ui-details",
2246
+ selector: "flow-ui-diagram-zoom-controls",
1546
2247
  changeDetection: ChangeDetectionStrategy.OnPush,
1547
2248
  template: "<ng-content></ng-content>",
1548
- inputs: ["open", "summary", "disabled"],
1549
- imports: [forwardRef(() => FlowIcon)],
2249
+ inputs: ["diagram", "step", "position", "showFit"],
2250
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1550
2251
  providers: [],
1551
2252
  }]
1552
2253
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -1558,6 +2259,10 @@ let FlowDialog = class FlowDialog {
1558
2259
  this.z = z;
1559
2260
  c.detach();
1560
2261
  this.el = r.nativeElement;
2262
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2263
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2264
+ // upgrades the host element. define() leaves tags that are already registered alone.
2265
+ defineCustomElementOnUse(this, this.el, () => FlowUiDialog.define());
1561
2266
  }
1562
2267
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDialog, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1563
2268
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDialog, isStandalone: true, selector: "flow-ui-dialog", inputs: { tabGroup: "tabGroup", open: "open", title: "title", noHeader: "noHeader", tabbed: "tabbed" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -1582,7 +2287,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1582
2287
  changeDetection: ChangeDetectionStrategy.OnPush,
1583
2288
  template: "<ng-content></ng-content>",
1584
2289
  inputs: ["tabGroup", "open", "title", "noHeader", "tabbed"],
1585
- imports: [forwardRef(() => FlowIconButton)],
2290
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1586
2291
  providers: [],
1587
2292
  }]
1588
2293
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -1594,6 +2299,10 @@ let FlowDivider = class FlowDivider {
1594
2299
  this.z = z;
1595
2300
  c.detach();
1596
2301
  this.el = r.nativeElement;
2302
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2303
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2304
+ // upgrades the host element. define() leaves tags that are already registered alone.
2305
+ defineCustomElementOnUse(this, this.el, () => FlowUiDivider.define());
1597
2306
  }
1598
2307
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDivider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1599
2308
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDivider, isStandalone: true, selector: "flow-ui-divider", inputs: { vertical: "vertical" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -1612,7 +2321,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1612
2321
  changeDetection: ChangeDetectionStrategy.OnPush,
1613
2322
  template: "<ng-content></ng-content>",
1614
2323
  inputs: ["vertical"],
1615
- imports: [],
2324
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1616
2325
  providers: [],
1617
2326
  }]
1618
2327
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -1624,6 +2333,10 @@ let FlowDrawer = class FlowDrawer {
1624
2333
  this.z = z;
1625
2334
  c.detach();
1626
2335
  this.el = r.nativeElement;
2336
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2337
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2338
+ // upgrades the host element. define() leaves tags that are already registered alone.
2339
+ defineCustomElementOnUse(this, this.el, () => FlowUiDrawer.define());
1627
2340
  }
1628
2341
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDrawer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1629
2342
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDrawer, isStandalone: true, selector: "flow-ui-drawer", inputs: { open: "open", label: "label", placement: "placement", contained: "contained", noHeader: "noHeader" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -1642,7 +2355,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1642
2355
  changeDetection: ChangeDetectionStrategy.OnPush,
1643
2356
  template: "<ng-content></ng-content>",
1644
2357
  inputs: ["open", "label", "placement", "contained", "noHeader"],
1645
- imports: [forwardRef(() => FlowIconButton)],
2358
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1646
2359
  providers: [],
1647
2360
  }]
1648
2361
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -1654,6 +2367,10 @@ let FlowDropdown = class FlowDropdown {
1654
2367
  this.z = z;
1655
2368
  c.detach();
1656
2369
  this.el = r.nativeElement;
2370
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2371
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2372
+ // upgrades the host element. define() leaves tags that are already registered alone.
2373
+ defineCustomElementOnUse(this, this.el, () => FlowUiDropdown.define());
1657
2374
  }
1658
2375
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1659
2376
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowDropdown, isStandalone: true, selector: "flow-ui-dropdown", inputs: { open: "open", placement: "placement", disabled: "disabled", stayOpenOnSelect: "stayOpenOnSelect", containingElement: "containingElement", distance: "distance", skidding: "skidding", hoist: "hoist", arrow: "arrow", arrowPlacement: "arrowPlacement", arrowPadding: "arrowPadding", sync: "sync" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -1698,7 +2415,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1698
2415
  "arrowPadding",
1699
2416
  "sync",
1700
2417
  ],
1701
- imports: [forwardRef(() => FlowPopup)],
2418
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1702
2419
  providers: [],
1703
2420
  }]
1704
2421
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -1710,6 +2427,10 @@ let FlowFormGroup = class FlowFormGroup {
1710
2427
  this.z = z;
1711
2428
  c.detach();
1712
2429
  this.el = r.nativeElement;
2430
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2431
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2432
+ // upgrades the host element. define() leaves tags that are already registered alone.
2433
+ defineCustomElementOnUse(this, this.el, () => FlowUiFormGroup.define());
1713
2434
  }
1714
2435
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowFormGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1715
2436
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowFormGroup, isStandalone: true, selector: "flow-ui-form-group", inputs: { label: "label", size: "size", helpText: "helpText", borders: "borders", variant: "variant" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -1728,7 +2449,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1728
2449
  changeDetection: ChangeDetectionStrategy.OnPush,
1729
2450
  template: "<ng-content></ng-content>",
1730
2451
  inputs: ["label", "size", "helpText", "borders", "variant"],
1731
- imports: [forwardRef(() => FlowButtonGroup)],
2452
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1732
2453
  providers: [],
1733
2454
  }]
1734
2455
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -1740,6 +2461,10 @@ let FlowGauge = class FlowGauge {
1740
2461
  this.z = z;
1741
2462
  c.detach();
1742
2463
  this.el = r.nativeElement;
2464
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2465
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2466
+ // upgrades the host element. define() leaves tags that are already registered alone.
2467
+ defineCustomElementOnUse(this, this.el, () => FlowUiGauge.define());
1743
2468
  }
1744
2469
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowGauge, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1745
2470
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowGauge, isStandalone: true, selector: "flow-ui-gauge", inputs: { title: "title", units: "units", value: "value", icon: "icon", iconLibrary: "iconLibrary", format: "format" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -1758,12 +2483,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1758
2483
  changeDetection: ChangeDetectionStrategy.OnPush,
1759
2484
  template: "<ng-content></ng-content>",
1760
2485
  inputs: ["title", "units", "value", "icon", "iconLibrary", "format"],
1761
- imports: [
1762
- forwardRef(() => FlowIcon),
1763
- forwardRef(() => FlowIconButton),
1764
- forwardRef(() => FlowDialog),
1765
- forwardRef(() => FlowButton),
1766
- ],
2486
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1767
2487
  providers: [],
1768
2488
  }]
1769
2489
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -1775,6 +2495,10 @@ let FlowIcon = class FlowIcon {
1775
2495
  this.z = z;
1776
2496
  c.detach();
1777
2497
  this.el = r.nativeElement;
2498
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2499
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2500
+ // upgrades the host element. define() leaves tags that are already registered alone.
2501
+ defineCustomElementOnUse(this, this.el, () => FlowUiIcon.define());
1778
2502
  }
1779
2503
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1780
2504
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowIcon, isStandalone: true, selector: "flow-ui-icon", inputs: { name: "name", src: "src", label: "label", library: "library" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -1793,7 +2517,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1793
2517
  changeDetection: ChangeDetectionStrategy.OnPush,
1794
2518
  template: "<ng-content></ng-content>",
1795
2519
  inputs: ["name", "src", "label", "library"],
1796
- imports: [],
2520
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1797
2521
  providers: [],
1798
2522
  }]
1799
2523
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -1805,6 +2529,10 @@ let FlowIconButton = class FlowIconButton {
1805
2529
  this.z = z;
1806
2530
  c.detach();
1807
2531
  this.el = r.nativeElement;
2532
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2533
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2534
+ // upgrades the host element. define() leaves tags that are already registered alone.
2535
+ defineCustomElementOnUse(this, this.el, () => FlowUiIconButton.define());
1808
2536
  }
1809
2537
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowIconButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1810
2538
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowIconButton, isStandalone: true, selector: "flow-ui-icon-button", inputs: { name: "name", library: "library", src: "src", href: "href", target: "target", download: "download", label: "label", tooltip: "tooltip", tooltipPlacement: "tooltipPlacement", tooltipDistance: "tooltipDistance", tooltipSkidding: "tooltipSkidding", disabled: "disabled", confirm: "confirm" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -1851,15 +2579,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1851
2579
  "disabled",
1852
2580
  "confirm",
1853
2581
  ],
1854
- imports: [forwardRef(() => FlowIcon), forwardRef(() => FlowTooltip)],
2582
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
1855
2583
  providers: [],
1856
2584
  }]
1857
2585
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
1858
- const FlowInputValueAccessor = {
1859
- provide: NG_VALUE_ACCESSOR,
1860
- useExisting: forwardRef(() => FlowInput),
1861
- multi: true,
1862
- };
1863
2586
  /** @internal */
1864
2587
  let FlowInput = class FlowInput extends ValueAccessor {
1865
2588
  z;
@@ -1869,6 +2592,10 @@ let FlowInput = class FlowInput extends ValueAccessor {
1869
2592
  this.z = z;
1870
2593
  c.detach();
1871
2594
  this.el = r.nativeElement;
2595
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2596
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2597
+ // upgrades the host element. define() leaves tags that are already registered alone.
2598
+ defineCustomElementOnUse(this, this.el, () => FlowUiInput.define());
1872
2599
  }
1873
2600
  updateOn = "change";
1874
2601
  _handleInputEvent(el) {
@@ -1882,7 +2609,13 @@ let FlowInput = class FlowInput extends ValueAccessor {
1882
2609
  }
1883
2610
  }
1884
2611
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
1885
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowInput, isStandalone: true, selector: "flow-ui-input", inputs: { type: "type", name: "name", value: "value", defaultValue: "defaultValue", size: "size", filled: "filled", pill: "pill", label: "label", helpText: "helpText", clearable: "clearable", disabled: "disabled", placeholder: "placeholder", format: "format", readonly: "readonly", passwordToggle: "passwordToggle", passwordVisible: "passwordVisible", noStepButtons: "noStepButtons", form: "form", required: "required", pattern: "pattern", minlength: "minlength", maxlength: "maxlength", min: "min", max: "max", step: "step", autocapitalize: "autocapitalize", autocorrect: "autocorrect", autocomplete: "autocomplete", autofocus: "autofocus", enterkeyhint: "enterkeyhint", spellcheck: "spellcheck", inputmode: "inputmode", inline: "inline", divider: "divider", valueAsDate: "valueAsDate", valueAsNumber: "valueAsNumber", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowInputValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2612
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowInput, isStandalone: true, selector: "flow-ui-input", inputs: { type: "type", name: "name", value: "value", defaultValue: "defaultValue", size: "size", filled: "filled", pill: "pill", label: "label", helpText: "helpText", clearable: "clearable", disabled: "disabled", placeholder: "placeholder", format: "format", readonly: "readonly", passwordToggle: "passwordToggle", passwordVisible: "passwordVisible", noStepButtons: "noStepButtons", form: "form", required: "required", pattern: "pattern", minlength: "minlength", maxlength: "maxlength", min: "min", max: "max", step: "step", autocapitalize: "autocapitalize", autocorrect: "autocorrect", autocomplete: "autocomplete", autofocus: "autofocus", enterkeyhint: "enterkeyhint", spellcheck: "spellcheck", inputmode: "inputmode", inline: "inline", divider: "divider", valueAsDate: "valueAsDate", valueAsNumber: "valueAsNumber", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
2613
+ {
2614
+ provide: NG_VALUE_ACCESSOR,
2615
+ useExisting: forwardRef(() => FlowInput),
2616
+ multi: true,
2617
+ },
2618
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1886
2619
  };
1887
2620
  FlowInput = __decorate([
1888
2621
  ProxyCmp({
@@ -1989,8 +2722,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1989
2722
  "validity",
1990
2723
  "validationMessage",
1991
2724
  ],
1992
- imports: [forwardRef(() => FlowIcon), forwardRef(() => FlowIconButton)],
1993
- providers: [FlowInputValueAccessor],
2725
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2726
+ providers: [
2727
+ {
2728
+ provide: NG_VALUE_ACCESSOR,
2729
+ useExisting: forwardRef(() => FlowInput),
2730
+ multi: true,
2731
+ },
2732
+ ],
1994
2733
  }]
1995
2734
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
1996
2735
  type: Input
@@ -2001,11 +2740,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2001
2740
  type: HostListener,
2002
2741
  args: ["flow-ui-change", ["$event.target"]]
2003
2742
  }] } });
2004
- const FlowListValueAccessor = {
2005
- provide: NG_VALUE_ACCESSOR,
2006
- useExisting: forwardRef(() => FlowList),
2007
- multi: true,
2008
- };
2009
2743
  /** @internal */
2010
2744
  let FlowList = class FlowList extends ValueAccessor {
2011
2745
  z;
@@ -2015,6 +2749,10 @@ let FlowList = class FlowList extends ValueAccessor {
2015
2749
  this.z = z;
2016
2750
  c.detach();
2017
2751
  this.el = r.nativeElement;
2752
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2753
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2754
+ // upgrades the host element. define() leaves tags that are already registered alone.
2755
+ defineCustomElementOnUse(this, this.el, () => FlowUiList.define());
2018
2756
  }
2019
2757
  updateOn = "change";
2020
2758
  _handleInputEvent(el) {
@@ -2028,7 +2766,13 @@ let FlowList = class FlowList extends ValueAccessor {
2028
2766
  }
2029
2767
  }
2030
2768
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowList, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
2031
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowList, isStandalone: true, selector: "flow-ui-list", inputs: { value: "value", selectable: "selectable", editable: "editable", reorder: "reorder", removable: "removable", listItems: "listItems", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowListValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2769
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowList, isStandalone: true, selector: "flow-ui-list", inputs: { value: "value", selectable: "selectable", editable: "editable", reorder: "reorder", removable: "removable", listItems: "listItems", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
2770
+ {
2771
+ provide: NG_VALUE_ACCESSOR,
2772
+ useExisting: forwardRef(() => FlowList),
2773
+ multi: true,
2774
+ },
2775
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2032
2776
  };
2033
2777
  FlowList = __decorate([
2034
2778
  ProxyCmp({
@@ -2058,8 +2802,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2058
2802
  "removable",
2059
2803
  "listItems",
2060
2804
  ],
2061
- imports: [forwardRef(() => FlowListItem)],
2062
- providers: [FlowListValueAccessor],
2805
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2806
+ providers: [
2807
+ {
2808
+ provide: NG_VALUE_ACCESSOR,
2809
+ useExisting: forwardRef(() => FlowList),
2810
+ multi: true,
2811
+ },
2812
+ ],
2063
2813
  }]
2064
2814
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
2065
2815
  type: Input
@@ -2070,11 +2820,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2070
2820
  type: HostListener,
2071
2821
  args: ["flow-ui-change", ["$event.target"]]
2072
2822
  }] } });
2073
- const FlowListItemValueAccessor = {
2074
- provide: NG_VALUE_ACCESSOR,
2075
- useExisting: forwardRef(() => FlowListItem),
2076
- multi: true,
2077
- };
2078
2823
  /** @internal */
2079
2824
  let FlowListItem = class FlowListItem extends ValueAccessor {
2080
2825
  z;
@@ -2084,6 +2829,10 @@ let FlowListItem = class FlowListItem extends ValueAccessor {
2084
2829
  this.z = z;
2085
2830
  c.detach();
2086
2831
  this.el = r.nativeElement;
2832
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2833
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2834
+ // upgrades the host element. define() leaves tags that are already registered alone.
2835
+ defineCustomElementOnUse(this, this.el, () => FlowUiListItem.define());
2087
2836
  }
2088
2837
  _handleChangeEvent(el) {
2089
2838
  this._handleValueChange(el, el.checked);
@@ -2092,7 +2841,13 @@ let FlowListItem = class FlowListItem extends ValueAccessor {
2092
2841
  this.el.checked = this.lastValue = value;
2093
2842
  }
2094
2843
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowListItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
2095
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowListItem, isStandalone: true, selector: "flow-ui-list-item", inputs: { label: "label", editMenuName: "editMenuName", placeholder: "placeholder", value: "value", checked: "checked", editable: "editable", reorder: "reorder", removable: "removable", disabled: "disabled" }, host: { listeners: { "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowListItemValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2844
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowListItem, isStandalone: true, selector: "flow-ui-list-item", inputs: { label: "label", editMenuName: "editMenuName", placeholder: "placeholder", value: "value", checked: "checked", editable: "editable", reorder: "reorder", removable: "removable", disabled: "disabled" }, host: { listeners: { "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
2845
+ {
2846
+ provide: NG_VALUE_ACCESSOR,
2847
+ useExisting: forwardRef(() => FlowListItem),
2848
+ multi: true,
2849
+ },
2850
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2096
2851
  };
2097
2852
  FlowListItem = __decorate([
2098
2853
  ProxyCmp({
@@ -2128,13 +2883,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2128
2883
  "removable",
2129
2884
  "disabled",
2130
2885
  ],
2131
- imports: [
2132
- forwardRef(() => FlowInput),
2133
- forwardRef(() => FlowIcon),
2134
- forwardRef(() => FlowMenu),
2135
- forwardRef(() => FlowMenuItem),
2886
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2887
+ providers: [
2888
+ {
2889
+ provide: NG_VALUE_ACCESSOR,
2890
+ useExisting: forwardRef(() => FlowListItem),
2891
+ multi: true,
2892
+ },
2136
2893
  ],
2137
- providers: [FlowListItemValueAccessor],
2138
2894
  }]
2139
2895
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { _handleChangeEvent: [{
2140
2896
  type: HostListener,
@@ -2148,6 +2904,10 @@ let FlowMap = class FlowMap {
2148
2904
  this.z = z;
2149
2905
  c.detach();
2150
2906
  this.el = r.nativeElement;
2907
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2908
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2909
+ // upgrades the host element. define() leaves tags that are already registered alone.
2910
+ defineCustomElementOnUse(this, this.el, () => FlowUiMap.define());
2151
2911
  }
2152
2912
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowMap, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2153
2913
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowMap, isStandalone: true, selector: "flow-ui-map", inputs: { mapId: "mapId", baseStyle: "baseStyle", center: "center", zoom: "zoom", bearing: "bearing", pitch: "pitch", busy: "busy", fixed: "fixed", bearingSnap: "bearingSnap", fadeDuration: "fadeDuration", map: "map", initialized: "initialized" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -2192,7 +2952,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2192
2952
  "map",
2193
2953
  "initialized",
2194
2954
  ],
2195
- imports: [],
2955
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2196
2956
  providers: [],
2197
2957
  }]
2198
2958
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -2204,6 +2964,10 @@ let FlowMenu = class FlowMenu {
2204
2964
  this.z = z;
2205
2965
  c.detach();
2206
2966
  this.el = r.nativeElement;
2967
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
2968
+ // that development builds, which keep every proxy, register the same elements as production builds), and
2969
+ // upgrades the host element. define() leaves tags that are already registered alone.
2970
+ defineCustomElementOnUse(this, this.el, () => FlowUiMenu.define());
2207
2971
  }
2208
2972
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowMenu, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2209
2973
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowMenu, isStandalone: true, selector: "flow-ui-menu", providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -2222,7 +2986,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2222
2986
  changeDetection: ChangeDetectionStrategy.OnPush,
2223
2987
  template: "<ng-content></ng-content>",
2224
2988
  inputs: [],
2225
- imports: [],
2989
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2226
2990
  providers: [],
2227
2991
  }]
2228
2992
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -2234,6 +2998,10 @@ let FlowMenuItem = class FlowMenuItem {
2234
2998
  this.z = z;
2235
2999
  c.detach();
2236
3000
  this.el = r.nativeElement;
3001
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3002
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3003
+ // upgrades the host element. define() leaves tags that are already registered alone.
3004
+ defineCustomElementOnUse(this, this.el, () => FlowUiMenuItem.define());
2237
3005
  }
2238
3006
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowMenuItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2239
3007
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowMenuItem, isStandalone: true, selector: "flow-ui-menu-item", inputs: { type: "type", checked: "checked", value: "value", disabled: "disabled" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -2252,7 +3020,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2252
3020
  changeDetection: ChangeDetectionStrategy.OnPush,
2253
3021
  template: "<ng-content></ng-content>",
2254
3022
  inputs: ["type", "checked", "value", "disabled"],
2255
- imports: [forwardRef(() => FlowIcon)],
3023
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2256
3024
  providers: [],
2257
3025
  }]
2258
3026
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -2264,6 +3032,10 @@ let FlowMenuLabel = class FlowMenuLabel {
2264
3032
  this.z = z;
2265
3033
  c.detach();
2266
3034
  this.el = r.nativeElement;
3035
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3036
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3037
+ // upgrades the host element. define() leaves tags that are already registered alone.
3038
+ defineCustomElementOnUse(this, this.el, () => FlowUiMenuLabel.define());
2267
3039
  }
2268
3040
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowMenuLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2269
3041
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowMenuLabel, isStandalone: true, selector: "flow-ui-menu-label", providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -2282,7 +3054,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2282
3054
  changeDetection: ChangeDetectionStrategy.OnPush,
2283
3055
  template: "<ng-content></ng-content>",
2284
3056
  inputs: [],
2285
- imports: [],
3057
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2286
3058
  providers: [],
2287
3059
  }]
2288
3060
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -2294,6 +3066,10 @@ let FlowMutationObserver = class FlowMutationObserver {
2294
3066
  this.z = z;
2295
3067
  c.detach();
2296
3068
  this.el = r.nativeElement;
3069
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3070
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3071
+ // upgrades the host element. define() leaves tags that are already registered alone.
3072
+ defineCustomElementOnUse(this, this.el, () => FlowUiMutationObserver.define());
2297
3073
  }
2298
3074
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowMutationObserver, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2299
3075
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowMutationObserver, isStandalone: true, selector: "flow-ui-mutation-observer", inputs: { attr: "attr", attrOldValue: "attrOldValue", charData: "charData", charDataOldValue: "charDataOldValue", childList: "childList", disabled: "disabled" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -2326,7 +3102,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2326
3102
  "childList",
2327
3103
  "disabled",
2328
3104
  ],
2329
- imports: [],
3105
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2330
3106
  providers: [],
2331
3107
  }]
2332
3108
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -2338,6 +3114,10 @@ let FlowOption = class FlowOption {
2338
3114
  this.z = z;
2339
3115
  c.detach();
2340
3116
  this.el = r.nativeElement;
3117
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3118
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3119
+ // upgrades the host element. define() leaves tags that are already registered alone.
3120
+ defineCustomElementOnUse(this, this.el, () => FlowUiOption.define());
2341
3121
  }
2342
3122
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowOption, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2343
3123
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowOption, isStandalone: true, selector: "flow-ui-option", inputs: { value: "value", disabled: "disabled", size: "size" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -2356,7 +3136,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2356
3136
  changeDetection: ChangeDetectionStrategy.OnPush,
2357
3137
  template: "<ng-content></ng-content>",
2358
3138
  inputs: ["value", "disabled", "size"],
2359
- imports: [forwardRef(() => FlowIcon)],
3139
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2360
3140
  providers: [],
2361
3141
  }]
2362
3142
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -2368,6 +3148,10 @@ let FlowPanel = class FlowPanel {
2368
3148
  this.z = z;
2369
3149
  c.detach();
2370
3150
  this.el = r.nativeElement;
3151
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3152
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3153
+ // upgrades the host element. define() leaves tags that are already registered alone.
3154
+ defineCustomElementOnUse(this, this.el, () => FlowUiPanel.define());
2371
3155
  }
2372
3156
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2373
3157
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowPanel, isStandalone: true, selector: "flow-ui-panel", inputs: { formElements: "formElements", closed: "closed", scrollable: "scrollable", padding: "padding" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -2386,7 +3170,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2386
3170
  changeDetection: ChangeDetectionStrategy.OnPush,
2387
3171
  template: "<ng-content></ng-content>",
2388
3172
  inputs: ["formElements", "closed", "scrollable", "padding"],
2389
- imports: [],
3173
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2390
3174
  providers: [],
2391
3175
  }]
2392
3176
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -2398,6 +3182,10 @@ let FlowPanelHeader = class FlowPanelHeader {
2398
3182
  this.z = z;
2399
3183
  c.detach();
2400
3184
  this.el = r.nativeElement;
3185
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3186
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3187
+ // upgrades the host element. define() leaves tags that are already registered alone.
3188
+ defineCustomElementOnUse(this, this.el, () => FlowUiPanelHeader.define());
2401
3189
  }
2402
3190
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowPanelHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2403
3191
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowPanelHeader, isStandalone: true, selector: "flow-ui-panel-header", inputs: { closed: "closed", title: "title", fixed: "fixed" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -2416,67 +3204,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2416
3204
  changeDetection: ChangeDetectionStrategy.OnPush,
2417
3205
  template: "<ng-content></ng-content>",
2418
3206
  inputs: ["closed", "title", "fixed"],
2419
- imports: [forwardRef(() => FlowSplitViewToggleButton)],
2420
- providers: [],
2421
- }]
2422
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2423
- /** @internal */
2424
- let FlowProgressBar = class FlowProgressBar {
2425
- z;
2426
- el;
2427
- constructor(c, r, z) {
2428
- this.z = z;
2429
- c.detach();
2430
- this.el = r.nativeElement;
2431
- }
2432
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowProgressBar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2433
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowProgressBar, isStandalone: true, selector: "flow-ui-progress-bar", inputs: { label: "label", value: "value", indeterminate: "indeterminate", variant: "variant" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2434
- };
2435
- FlowProgressBar = __decorate([
2436
- ProxyCmp({
2437
- inputs: ["label", "value", "indeterminate", "variant"],
2438
- methods: [],
2439
- })
2440
- ], FlowProgressBar);
2441
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowProgressBar, decorators: [{
2442
- type: Component,
2443
- args: [{
2444
- standalone: true,
2445
- selector: "flow-ui-progress-bar",
2446
- changeDetection: ChangeDetectionStrategy.OnPush,
2447
- template: "<ng-content></ng-content>",
2448
- inputs: ["label", "value", "indeterminate", "variant"],
2449
- imports: [],
2450
- providers: [],
2451
- }]
2452
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2453
- /** @internal */
2454
- let FlowProgressRing = class FlowProgressRing {
2455
- z;
2456
- el;
2457
- constructor(c, r, z) {
2458
- this.z = z;
2459
- c.detach();
2460
- this.el = r.nativeElement;
2461
- }
2462
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowProgressRing, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2463
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowProgressRing, isStandalone: true, selector: "flow-ui-progress-ring", inputs: { label: "label", value: "value", indeterminate: "indeterminate", variant: "variant", size: "size" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2464
- };
2465
- FlowProgressRing = __decorate([
2466
- ProxyCmp({
2467
- inputs: ["label", "value", "indeterminate", "variant", "size"],
2468
- methods: [],
2469
- })
2470
- ], FlowProgressRing);
2471
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowProgressRing, decorators: [{
2472
- type: Component,
2473
- args: [{
2474
- standalone: true,
2475
- selector: "flow-ui-progress-ring",
2476
- changeDetection: ChangeDetectionStrategy.OnPush,
2477
- template: "<ng-content></ng-content>",
2478
- inputs: ["label", "value", "indeterminate", "variant", "size"],
2479
- imports: [],
3207
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2480
3208
  providers: [],
2481
3209
  }]
2482
3210
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -2488,6 +3216,10 @@ let FlowPopup = class FlowPopup {
2488
3216
  this.z = z;
2489
3217
  c.detach();
2490
3218
  this.el = r.nativeElement;
3219
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3220
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3221
+ // upgrades the host element. define() leaves tags that are already registered alone.
3222
+ defineCustomElementOnUse(this, this.el, () => FlowUiPopup.define());
2491
3223
  }
2492
3224
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowPopup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2493
3225
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowPopup, isStandalone: true, selector: "flow-ui-popup", inputs: { anchor: "anchor", active: "active", placement: "placement", strategy: "strategy", distance: "distance", skidding: "skidding", arrow: "arrow", arrowPlacement: "arrowPlacement", arrowPadding: "arrowPadding", flip: "flip", flipFallbackPlacements: "flipFallbackPlacements", flipFallbackStrategy: "flipFallbackStrategy", flipBoundary: "flipBoundary", flipPadding: "flipPadding", shift: "shift", shiftBoundary: "shiftBoundary", shiftPadding: "shiftPadding", autoSize: "autoSize", sync: "sync", autoSizeBoundary: "autoSizeBoundary", autoSizePadding: "autoSizePadding", hoverBridge: "hoverBridge" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -2552,47 +3284,80 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2552
3284
  "autoSizePadding",
2553
3285
  "hoverBridge",
2554
3286
  ],
2555
- imports: [],
3287
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2556
3288
  providers: [],
2557
3289
  }]
2558
3290
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2559
3291
  /** @internal */
2560
- let FlowRadio = class FlowRadio {
3292
+ let FlowProgressBar = class FlowProgressBar {
2561
3293
  z;
2562
3294
  el;
2563
3295
  constructor(c, r, z) {
2564
3296
  this.z = z;
2565
3297
  c.detach();
2566
3298
  this.el = r.nativeElement;
3299
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3300
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3301
+ // upgrades the host element. define() leaves tags that are already registered alone.
3302
+ defineCustomElementOnUse(this, this.el, () => FlowUiProgressBar.define());
2567
3303
  }
2568
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowRadio, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2569
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowRadio, isStandalone: true, selector: "flow-ui-radio", inputs: { value: "value", size: "size", variant: "variant", disabled: "disabled", reverse: "reverse" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3304
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowProgressBar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3305
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowProgressBar, isStandalone: true, selector: "flow-ui-progress-bar", inputs: { label: "label", value: "value", indeterminate: "indeterminate", variant: "variant" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2570
3306
  };
2571
- FlowRadio = __decorate([
3307
+ FlowProgressBar = __decorate([
2572
3308
  ProxyCmp({
2573
- inputs: ["value", "size", "variant", "disabled", "reverse"],
3309
+ inputs: ["label", "value", "indeterminate", "variant"],
2574
3310
  methods: [],
2575
3311
  })
2576
- ], FlowRadio);
2577
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowRadio, decorators: [{
3312
+ ], FlowProgressBar);
3313
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowProgressBar, decorators: [{
2578
3314
  type: Component,
2579
3315
  args: [{
2580
3316
  standalone: true,
2581
- selector: "flow-ui-radio",
3317
+ selector: "flow-ui-progress-bar",
2582
3318
  changeDetection: ChangeDetectionStrategy.OnPush,
2583
3319
  template: "<ng-content></ng-content>",
2584
- inputs: ["value", "size", "variant", "disabled", "reverse"],
2585
- imports: [forwardRef(() => FlowIcon)],
3320
+ inputs: ["label", "value", "indeterminate", "variant"],
3321
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2586
3322
  providers: [],
2587
3323
  }]
2588
3324
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2589
- const FlowRadioGroupValueAccessor = {
2590
- provide: NG_VALUE_ACCESSOR,
2591
- useExisting: forwardRef(() => FlowRadioGroup),
2592
- multi: true,
3325
+ /** @internal */
3326
+ let FlowProgressRing = class FlowProgressRing {
3327
+ z;
3328
+ el;
3329
+ constructor(c, r, z) {
3330
+ this.z = z;
3331
+ c.detach();
3332
+ this.el = r.nativeElement;
3333
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3334
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3335
+ // upgrades the host element. define() leaves tags that are already registered alone.
3336
+ defineCustomElementOnUse(this, this.el, () => FlowUiProgressRing.define());
3337
+ }
3338
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowProgressRing, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3339
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowProgressRing, isStandalone: true, selector: "flow-ui-progress-ring", inputs: { label: "label", value: "value", indeterminate: "indeterminate", variant: "variant", size: "size" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2593
3340
  };
3341
+ FlowProgressRing = __decorate([
3342
+ ProxyCmp({
3343
+ inputs: ["label", "value", "indeterminate", "variant", "size"],
3344
+ methods: [],
3345
+ })
3346
+ ], FlowProgressRing);
3347
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowProgressRing, decorators: [{
3348
+ type: Component,
3349
+ args: [{
3350
+ standalone: true,
3351
+ selector: "flow-ui-progress-ring",
3352
+ changeDetection: ChangeDetectionStrategy.OnPush,
3353
+ template: "<ng-content></ng-content>",
3354
+ inputs: ["label", "value", "indeterminate", "variant", "size"],
3355
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3356
+ providers: [],
3357
+ }]
3358
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2594
3359
  /** @internal */
2595
- let FlowRadioGroup = class FlowRadioGroup extends ValueAccessor {
3360
+ let FlowQueryBuilder = class FlowQueryBuilder extends ValueAccessor {
2596
3361
  z;
2597
3362
  el;
2598
3363
  constructor(c, r, z, i) {
@@ -2600,6 +3365,10 @@ let FlowRadioGroup = class FlowRadioGroup extends ValueAccessor {
2600
3365
  this.z = z;
2601
3366
  c.detach();
2602
3367
  this.el = r.nativeElement;
3368
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3369
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3370
+ // upgrades the host element. define() leaves tags that are already registered alone.
3371
+ defineCustomElementOnUse(this, this.el, () => FlowUiQueryBuilder.define());
2603
3372
  }
2604
3373
  updateOn = "change";
2605
3374
  _handleInputEvent(el) {
@@ -2612,47 +3381,55 @@ let FlowRadioGroup = class FlowRadioGroup extends ValueAccessor {
2612
3381
  this._handleValueChange(el, el.value);
2613
3382
  }
2614
3383
  }
2615
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowRadioGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
2616
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowRadioGroup, isStandalone: true, selector: "flow-ui-radio-group", inputs: { label: "label", helpText: "helpText", name: "name", value: "value", size: "size", reverse: "reverse", form: "form", required: "required", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowRadioGroupValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3384
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowQueryBuilder, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
3385
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowQueryBuilder, isStandalone: true, selector: "flow-ui-query-builder", inputs: { value: "value", config: "config", size: "size", disabled: "disabled", label: "label", helpText: "helpText", treeLines: "treeLines", borders: "borders", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
3386
+ {
3387
+ provide: NG_VALUE_ACCESSOR,
3388
+ useExisting: forwardRef(() => FlowQueryBuilder),
3389
+ multi: true,
3390
+ },
3391
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2617
3392
  };
2618
- FlowRadioGroup = __decorate([
3393
+ FlowQueryBuilder = __decorate([
2619
3394
  ProxyCmp({
2620
3395
  inputs: [
2621
- "label",
2622
- "helpText",
2623
- "name",
2624
3396
  "value",
3397
+ "config",
2625
3398
  "size",
2626
- "reverse",
2627
- "form",
2628
- "required",
2629
- "validity",
2630
- "validationMessage",
3399
+ "disabled",
3400
+ "label",
3401
+ "helpText",
3402
+ "treeLines",
3403
+ "borders",
2631
3404
  ],
2632
- methods: ["checkValidity", "getForm", "reportValidity", "setCustomValidity"],
3405
+ methods: [],
2633
3406
  })
2634
- ], FlowRadioGroup);
2635
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowRadioGroup, decorators: [{
3407
+ ], FlowQueryBuilder);
3408
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowQueryBuilder, decorators: [{
2636
3409
  type: Component,
2637
3410
  args: [{
2638
3411
  standalone: true,
2639
- selector: "flow-ui-radio-group",
3412
+ selector: "flow-ui-query-builder",
2640
3413
  changeDetection: ChangeDetectionStrategy.OnPush,
2641
3414
  template: "<ng-content></ng-content>",
2642
3415
  inputs: [
2643
- "label",
2644
- "helpText",
2645
- "name",
2646
3416
  "value",
3417
+ "config",
2647
3418
  "size",
2648
- "reverse",
2649
- "form",
2650
- "required",
2651
- "validity",
2652
- "validationMessage",
3419
+ "disabled",
3420
+ "label",
3421
+ "helpText",
3422
+ "treeLines",
3423
+ "borders",
3424
+ ],
3425
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3426
+ providers: [
3427
+ {
3428
+ provide: NG_VALUE_ACCESSOR,
3429
+ useExisting: forwardRef(() => FlowQueryBuilder),
3430
+ multi: true,
3431
+ },
2653
3432
  ],
2654
- imports: [forwardRef(() => FlowButtonGroup)],
2655
- providers: [FlowRadioGroupValueAccessor],
2656
3433
  }]
2657
3434
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
2658
3435
  type: Input
@@ -2663,13 +3440,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2663
3440
  type: HostListener,
2664
3441
  args: ["flow-ui-change", ["$event.target"]]
2665
3442
  }] } });
2666
- const FlowQueryBuilderValueAccessor = {
2667
- provide: NG_VALUE_ACCESSOR,
2668
- useExisting: forwardRef(() => FlowQueryBuilder),
2669
- multi: true,
3443
+ /** @internal */
3444
+ let FlowRadio = class FlowRadio {
3445
+ z;
3446
+ el;
3447
+ constructor(c, r, z) {
3448
+ this.z = z;
3449
+ c.detach();
3450
+ this.el = r.nativeElement;
3451
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3452
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3453
+ // upgrades the host element. define() leaves tags that are already registered alone.
3454
+ defineCustomElementOnUse(this, this.el, () => FlowUiRadio.define());
3455
+ }
3456
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowRadio, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3457
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowRadio, isStandalone: true, selector: "flow-ui-radio", inputs: { value: "value", size: "size", variant: "variant", disabled: "disabled", reverse: "reverse" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2670
3458
  };
3459
+ FlowRadio = __decorate([
3460
+ ProxyCmp({
3461
+ inputs: ["value", "size", "variant", "disabled", "reverse"],
3462
+ methods: [],
3463
+ })
3464
+ ], FlowRadio);
3465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowRadio, decorators: [{
3466
+ type: Component,
3467
+ args: [{
3468
+ standalone: true,
3469
+ selector: "flow-ui-radio",
3470
+ changeDetection: ChangeDetectionStrategy.OnPush,
3471
+ template: "<ng-content></ng-content>",
3472
+ inputs: ["value", "size", "variant", "disabled", "reverse"],
3473
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3474
+ providers: [],
3475
+ }]
3476
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2671
3477
  /** @internal */
2672
- let FlowQueryBuilder = class FlowQueryBuilder extends ValueAccessor {
3478
+ let FlowRadioGroup = class FlowRadioGroup extends ValueAccessor {
2673
3479
  z;
2674
3480
  el;
2675
3481
  constructor(c, r, z, i) {
@@ -2677,6 +3483,10 @@ let FlowQueryBuilder = class FlowQueryBuilder extends ValueAccessor {
2677
3483
  this.z = z;
2678
3484
  c.detach();
2679
3485
  this.el = r.nativeElement;
3486
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3487
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3488
+ // upgrades the host element. define() leaves tags that are already registered alone.
3489
+ defineCustomElementOnUse(this, this.el, () => FlowUiRadioGroup.define());
2680
3490
  }
2681
3491
  updateOn = "change";
2682
3492
  _handleInputEvent(el) {
@@ -2689,52 +3499,59 @@ let FlowQueryBuilder = class FlowQueryBuilder extends ValueAccessor {
2689
3499
  this._handleValueChange(el, el.value);
2690
3500
  }
2691
3501
  }
2692
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowQueryBuilder, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
2693
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowQueryBuilder, isStandalone: true, selector: "flow-ui-query-builder", inputs: { value: "value", config: "config", size: "size", disabled: "disabled", label: "label", helpText: "helpText", treeLines: "treeLines", borders: "borders", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowQueryBuilderValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3502
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowRadioGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
3503
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowRadioGroup, isStandalone: true, selector: "flow-ui-radio-group", inputs: { label: "label", helpText: "helpText", name: "name", value: "value", size: "size", reverse: "reverse", form: "form", required: "required", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
3504
+ {
3505
+ provide: NG_VALUE_ACCESSOR,
3506
+ useExisting: forwardRef(() => FlowRadioGroup),
3507
+ multi: true,
3508
+ },
3509
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2694
3510
  };
2695
- FlowQueryBuilder = __decorate([
3511
+ FlowRadioGroup = __decorate([
2696
3512
  ProxyCmp({
2697
3513
  inputs: [
2698
- "value",
2699
- "config",
2700
- "size",
2701
- "disabled",
2702
3514
  "label",
2703
3515
  "helpText",
2704
- "treeLines",
2705
- "borders",
3516
+ "name",
3517
+ "value",
3518
+ "size",
3519
+ "reverse",
3520
+ "form",
3521
+ "required",
3522
+ "validity",
3523
+ "validationMessage",
2706
3524
  ],
2707
- methods: [],
3525
+ methods: ["checkValidity", "getForm", "reportValidity", "setCustomValidity"],
2708
3526
  })
2709
- ], FlowQueryBuilder);
2710
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowQueryBuilder, decorators: [{
3527
+ ], FlowRadioGroup);
3528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowRadioGroup, decorators: [{
2711
3529
  type: Component,
2712
3530
  args: [{
2713
3531
  standalone: true,
2714
- selector: "flow-ui-query-builder",
3532
+ selector: "flow-ui-radio-group",
2715
3533
  changeDetection: ChangeDetectionStrategy.OnPush,
2716
3534
  template: "<ng-content></ng-content>",
2717
3535
  inputs: [
2718
- "value",
2719
- "config",
2720
- "size",
2721
- "disabled",
2722
3536
  "label",
2723
3537
  "helpText",
2724
- "treeLines",
2725
- "borders",
3538
+ "name",
3539
+ "value",
3540
+ "size",
3541
+ "reverse",
3542
+ "form",
3543
+ "required",
3544
+ "validity",
3545
+ "validationMessage",
2726
3546
  ],
2727
- imports: [
2728
- forwardRef(() => FlowInput),
2729
- forwardRef(() => FlowSelect),
2730
- forwardRef(() => FlowOption),
2731
- forwardRef(() => FlowCheckbox),
2732
- forwardRef(() => FlowIconButton),
2733
- forwardRef(() => FlowToolButton),
2734
- forwardRef(() => FlowDateTimePicker),
2735
- forwardRef(() => FlowTooltip),
3547
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3548
+ providers: [
3549
+ {
3550
+ provide: NG_VALUE_ACCESSOR,
3551
+ useExisting: forwardRef(() => FlowRadioGroup),
3552
+ multi: true,
3553
+ },
2736
3554
  ],
2737
- providers: [FlowQueryBuilderValueAccessor],
2738
3555
  }]
2739
3556
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
2740
3557
  type: Input
@@ -2745,11 +3562,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2745
3562
  type: HostListener,
2746
3563
  args: ["flow-ui-change", ["$event.target"]]
2747
3564
  }] } });
2748
- const FlowRangeValueAccessor = {
2749
- provide: NG_VALUE_ACCESSOR,
2750
- useExisting: forwardRef(() => FlowRange),
2751
- multi: true,
2752
- };
2753
3565
  /** @internal */
2754
3566
  let FlowRange = class FlowRange extends ValueAccessor {
2755
3567
  z;
@@ -2759,6 +3571,10 @@ let FlowRange = class FlowRange extends ValueAccessor {
2759
3571
  this.z = z;
2760
3572
  c.detach();
2761
3573
  this.el = r.nativeElement;
3574
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3575
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3576
+ // upgrades the host element. define() leaves tags that are already registered alone.
3577
+ defineCustomElementOnUse(this, this.el, () => FlowUiRange.define());
2762
3578
  }
2763
3579
  updateOn = "change";
2764
3580
  _handleInputEvent(el) {
@@ -2772,7 +3588,13 @@ let FlowRange = class FlowRange extends ValueAccessor {
2772
3588
  }
2773
3589
  }
2774
3590
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowRange, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
2775
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowRange, isStandalone: true, selector: "flow-ui-range", inputs: { name: "name", value: "value", size: "size", label: "label", helpText: "helpText", disabled: "disabled", min: "min", max: "max", step: "step", format: "format", form: "form", defaultValue: "defaultValue", inline: "inline", noInput: "noInput", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowRangeValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3591
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowRange, isStandalone: true, selector: "flow-ui-range", inputs: { name: "name", value: "value", size: "size", label: "label", helpText: "helpText", disabled: "disabled", min: "min", max: "max", step: "step", format: "format", form: "form", defaultValue: "defaultValue", inline: "inline", noInput: "noInput", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
3592
+ {
3593
+ provide: NG_VALUE_ACCESSOR,
3594
+ useExisting: forwardRef(() => FlowRange),
3595
+ multi: true,
3596
+ },
3597
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2776
3598
  };
2777
3599
  FlowRange = __decorate([
2778
3600
  ProxyCmp({
@@ -2831,8 +3653,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2831
3653
  "validity",
2832
3654
  "validationMessage",
2833
3655
  ],
2834
- imports: [],
2835
- providers: [FlowRangeValueAccessor],
3656
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3657
+ providers: [
3658
+ {
3659
+ provide: NG_VALUE_ACCESSOR,
3660
+ useExisting: forwardRef(() => FlowRange),
3661
+ multi: true,
3662
+ },
3663
+ ],
2836
3664
  }]
2837
3665
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
2838
3666
  type: Input
@@ -2851,6 +3679,10 @@ let FlowResizeObserver = class FlowResizeObserver {
2851
3679
  this.z = z;
2852
3680
  c.detach();
2853
3681
  this.el = r.nativeElement;
3682
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3683
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3684
+ // upgrades the host element. define() leaves tags that are already registered alone.
3685
+ defineCustomElementOnUse(this, this.el, () => FlowUiResizeObserver.define());
2854
3686
  }
2855
3687
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowResizeObserver, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2856
3688
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowResizeObserver, isStandalone: true, selector: "flow-ui-resize-observer", inputs: { disabled: "disabled" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -2869,15 +3701,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2869
3701
  changeDetection: ChangeDetectionStrategy.OnPush,
2870
3702
  template: "<ng-content></ng-content>",
2871
3703
  inputs: ["disabled"],
2872
- imports: [],
3704
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
2873
3705
  providers: [],
2874
3706
  }]
2875
3707
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
2876
- const FlowSelectValueAccessor = {
2877
- provide: NG_VALUE_ACCESSOR,
2878
- useExisting: forwardRef(() => FlowSelect),
2879
- multi: true,
2880
- };
2881
3708
  /** @internal */
2882
3709
  let FlowSelect = class FlowSelect extends ValueAccessor {
2883
3710
  z;
@@ -2887,6 +3714,10 @@ let FlowSelect = class FlowSelect extends ValueAccessor {
2887
3714
  this.z = z;
2888
3715
  c.detach();
2889
3716
  this.el = r.nativeElement;
3717
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3718
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3719
+ // upgrades the host element. define() leaves tags that are already registered alone.
3720
+ defineCustomElementOnUse(this, this.el, () => FlowUiSelect.define());
2890
3721
  }
2891
3722
  updateOn = "change";
2892
3723
  _handleInputEvent(el) {
@@ -2900,7 +3731,13 @@ let FlowSelect = class FlowSelect extends ValueAccessor {
2900
3731
  }
2901
3732
  }
2902
3733
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
2903
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowSelect, isStandalone: true, selector: "flow-ui-select", inputs: { name: "name", value: "value", defaultValue: "defaultValue", size: "size", placeholder: "placeholder", multiple: "multiple", maxOptionsVisible: "maxOptionsVisible", disabled: "disabled", clearable: "clearable", open: "open", filled: "filled", inline: "inline", hoist: "hoist", pill: "pill", label: "label", placement: "placement", sync: "sync", helpText: "helpText", form: "form", required: "required", getTag: "getTag", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowSelectValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3734
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowSelect, isStandalone: true, selector: "flow-ui-select", inputs: { name: "name", value: "value", defaultValue: "defaultValue", size: "size", placeholder: "placeholder", multiple: "multiple", maxOptionsVisible: "maxOptionsVisible", disabled: "disabled", clearable: "clearable", open: "open", filled: "filled", inline: "inline", hoist: "hoist", pill: "pill", label: "label", placement: "placement", sync: "sync", helpText: "helpText", form: "form", required: "required", getTag: "getTag", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
3735
+ {
3736
+ provide: NG_VALUE_ACCESSOR,
3737
+ useExisting: forwardRef(() => FlowSelect),
3738
+ multi: true,
3739
+ },
3740
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2904
3741
  };
2905
3742
  FlowSelect = __decorate([
2906
3743
  ProxyCmp({
@@ -2973,12 +3810,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2973
3810
  "validity",
2974
3811
  "validationMessage",
2975
3812
  ],
2976
- imports: [
2977
- forwardRef(() => FlowIcon),
2978
- forwardRef(() => FlowPopup),
2979
- forwardRef(() => FlowTag),
3813
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3814
+ providers: [
3815
+ {
3816
+ provide: NG_VALUE_ACCESSOR,
3817
+ useExisting: forwardRef(() => FlowSelect),
3818
+ multi: true,
3819
+ },
2980
3820
  ],
2981
- providers: [FlowSelectValueAccessor],
2982
3821
  }]
2983
3822
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
2984
3823
  type: Input
@@ -2997,13 +3836,17 @@ let FlowSplitView = class FlowSplitView {
2997
3836
  this.z = z;
2998
3837
  c.detach();
2999
3838
  this.el = r.nativeElement;
3839
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3840
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3841
+ // upgrades the host element. define() leaves tags that are already registered alone.
3842
+ defineCustomElementOnUse(this, this.el, () => FlowUiSplitView.define());
3000
3843
  }
3001
3844
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowSplitView, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3002
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowSplitView, isStandalone: true, selector: "flow-ui-split-view", inputs: { noDragClose: "noDragClose", positions: "positions", vertical: "vertical" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3845
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowSplitView, isStandalone: true, selector: "flow-ui-split-view", inputs: { noDragClose: "noDragClose", vertical: "vertical", dragging: "dragging", positions: "positions" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3003
3846
  };
3004
3847
  FlowSplitView = __decorate([
3005
3848
  ProxyCmp({
3006
- inputs: ["noDragClose", "positions", "vertical"],
3849
+ inputs: ["noDragClose", "vertical", "dragging", "positions"],
3007
3850
  methods: [],
3008
3851
  })
3009
3852
  ], FlowSplitView);
@@ -3014,8 +3857,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3014
3857
  selector: "flow-ui-split-view",
3015
3858
  changeDetection: ChangeDetectionStrategy.OnPush,
3016
3859
  template: "<ng-content></ng-content>",
3017
- inputs: ["noDragClose", "positions", "vertical"],
3018
- imports: [],
3860
+ inputs: ["noDragClose", "vertical", "dragging", "positions"],
3861
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3019
3862
  providers: [],
3020
3863
  }]
3021
3864
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -3027,6 +3870,10 @@ let FlowSplitViewDivider = class FlowSplitViewDivider {
3027
3870
  this.z = z;
3028
3871
  c.detach();
3029
3872
  this.el = r.nativeElement;
3873
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3874
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3875
+ // upgrades the host element. define() leaves tags that are already registered alone.
3876
+ defineCustomElementOnUse(this, this.el, () => FlowUiSplitViewDivider.define());
3030
3877
  }
3031
3878
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowSplitViewDivider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3032
3879
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowSplitViewDivider, isStandalone: true, selector: "flow-ui-split-view-divider", inputs: { disabled: "disabled", vertical: "vertical" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -3045,7 +3892,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3045
3892
  changeDetection: ChangeDetectionStrategy.OnPush,
3046
3893
  template: "<ng-content></ng-content>",
3047
3894
  inputs: ["disabled", "vertical"],
3048
- imports: [],
3895
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3049
3896
  providers: [],
3050
3897
  }]
3051
3898
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -3057,6 +3904,10 @@ let FlowSplitViewPane = class FlowSplitViewPane {
3057
3904
  this.z = z;
3058
3905
  c.detach();
3059
3906
  this.el = r.nativeElement;
3907
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3908
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3909
+ // upgrades the host element. define() leaves tags that are already registered alone.
3910
+ defineCustomElementOnUse(this, this.el, () => FlowUiSplitViewPane.define());
3060
3911
  }
3061
3912
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowSplitViewPane, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3062
3913
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowSplitViewPane, isStandalone: true, selector: "flow-ui-split-view-pane", inputs: { vertical: "vertical", size: "size", minSize: "minSize", maxSize: "maxSize", closedSize: "closedSize", closed: "closed", divider: "divider", hidden: "hidden" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -3093,7 +3944,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3093
3944
  "divider",
3094
3945
  "hidden",
3095
3946
  ],
3096
- imports: [],
3947
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3097
3948
  providers: [],
3098
3949
  }]
3099
3950
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -3105,6 +3956,10 @@ let FlowSplitViewToggleButton = class FlowSplitViewToggleButton {
3105
3956
  this.z = z;
3106
3957
  c.detach();
3107
3958
  this.el = r.nativeElement;
3959
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3960
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3961
+ // upgrades the host element. define() leaves tags that are already registered alone.
3962
+ defineCustomElementOnUse(this, this.el, () => FlowUiSplitViewToggleButton.define());
3108
3963
  }
3109
3964
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowSplitViewToggleButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3110
3965
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowSplitViewToggleButton, isStandalone: true, selector: "flow-ui-split-view-toggle-button", inputs: { name: "name", library: "library", closed: "closed" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -3123,7 +3978,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3123
3978
  changeDetection: ChangeDetectionStrategy.OnPush,
3124
3979
  template: "<ng-content></ng-content>",
3125
3980
  inputs: ["name", "library", "closed"],
3126
- imports: [],
3981
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3127
3982
  providers: [],
3128
3983
  }]
3129
3984
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -3135,6 +3990,10 @@ let FlowStepper = class FlowStepper {
3135
3990
  this.z = z;
3136
3991
  c.detach();
3137
3992
  this.el = r.nativeElement;
3993
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
3994
+ // that development builds, which keep every proxy, register the same elements as production builds), and
3995
+ // upgrades the host element. define() leaves tags that are already registered alone.
3996
+ defineCustomElementOnUse(this, this.el, () => FlowUiStepper.define());
3138
3997
  }
3139
3998
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowStepper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3140
3999
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowStepper, isStandalone: true, selector: "flow-ui-stepper", providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -3153,7 +4012,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3153
4012
  changeDetection: ChangeDetectionStrategy.OnPush,
3154
4013
  template: "<ng-content></ng-content>",
3155
4014
  inputs: [],
3156
- imports: [],
4015
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3157
4016
  providers: [],
3158
4017
  }]
3159
4018
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -3165,6 +4024,10 @@ let FlowStepperPanel = class FlowStepperPanel {
3165
4024
  this.z = z;
3166
4025
  c.detach();
3167
4026
  this.el = r.nativeElement;
4027
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4028
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4029
+ // upgrades the host element. define() leaves tags that are already registered alone.
4030
+ defineCustomElementOnUse(this, this.el, () => FlowUiStepperPanel.define());
3168
4031
  }
3169
4032
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowStepperPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3170
4033
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowStepperPanel, isStandalone: true, selector: "flow-ui-stepper-panel", inputs: { name: "name", subTitle: "subTitle", active: "active", complete: "complete" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -3183,15 +4046,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3183
4046
  changeDetection: ChangeDetectionStrategy.OnPush,
3184
4047
  template: "<ng-content></ng-content>",
3185
4048
  inputs: ["name", "subTitle", "active", "complete"],
3186
- imports: [],
4049
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3187
4050
  providers: [],
3188
4051
  }]
3189
4052
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
3190
- const FlowSwitchValueAccessor = {
3191
- provide: NG_VALUE_ACCESSOR,
3192
- useExisting: forwardRef(() => FlowSwitch),
3193
- multi: true,
3194
- };
3195
4053
  /** @internal */
3196
4054
  let FlowSwitch = class FlowSwitch extends ValueAccessor {
3197
4055
  z;
@@ -3201,6 +4059,10 @@ let FlowSwitch = class FlowSwitch extends ValueAccessor {
3201
4059
  this.z = z;
3202
4060
  c.detach();
3203
4061
  this.el = r.nativeElement;
4062
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4063
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4064
+ // upgrades the host element. define() leaves tags that are already registered alone.
4065
+ defineCustomElementOnUse(this, this.el, () => FlowUiSwitch.define());
3204
4066
  }
3205
4067
  _handleChangeEvent(el) {
3206
4068
  this._handleValueChange(el, el.checked);
@@ -3209,7 +4071,13 @@ let FlowSwitch = class FlowSwitch extends ValueAccessor {
3209
4071
  this.el.checked = this.lastValue = value;
3210
4072
  }
3211
4073
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowSwitch, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
3212
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowSwitch, isStandalone: true, selector: "flow-ui-switch", inputs: { name: "name", value: "value", size: "size", disabled: "disabled", checked: "checked", defaultChecked: "defaultChecked", form: "form", required: "required", helpText: "helpText", divider: "divider", validity: "validity", validationMessage: "validationMessage" }, host: { listeners: { "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowSwitchValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4074
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowSwitch, isStandalone: true, selector: "flow-ui-switch", inputs: { name: "name", value: "value", size: "size", disabled: "disabled", checked: "checked", defaultChecked: "defaultChecked", form: "form", required: "required", helpText: "helpText", divider: "divider", validity: "validity", validationMessage: "validationMessage" }, host: { listeners: { "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
4075
+ {
4076
+ provide: NG_VALUE_ACCESSOR,
4077
+ useExisting: forwardRef(() => FlowSwitch),
4078
+ multi: true,
4079
+ },
4080
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3213
4081
  };
3214
4082
  FlowSwitch = __decorate([
3215
4083
  ProxyCmp({
@@ -3259,8 +4127,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3259
4127
  "validity",
3260
4128
  "validationMessage",
3261
4129
  ],
3262
- imports: [],
3263
- providers: [FlowSwitchValueAccessor],
4130
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
4131
+ providers: [
4132
+ {
4133
+ provide: NG_VALUE_ACCESSOR,
4134
+ useExisting: forwardRef(() => FlowSwitch),
4135
+ multi: true,
4136
+ },
4137
+ ],
3264
4138
  }]
3265
4139
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { _handleChangeEvent: [{
3266
4140
  type: HostListener,
@@ -3274,6 +4148,10 @@ let FlowTab = class FlowTab {
3274
4148
  this.z = z;
3275
4149
  c.detach();
3276
4150
  this.el = r.nativeElement;
4151
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4152
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4153
+ // upgrades the host element. define() leaves tags that are already registered alone.
4154
+ defineCustomElementOnUse(this, this.el, () => FlowUiTab.define());
3277
4155
  }
3278
4156
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowTab, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3279
4157
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowTab, isStandalone: true, selector: "flow-ui-tab", inputs: { panel: "panel", active: "active", iconOnly: "iconOnly", closable: "closable", disabled: "disabled", label: "label", tooltipPlacement: "tooltipPlacement", tooltipDistance: "tooltipDistance", tooltipSkidding: "tooltipSkidding", tabGroup: "tabGroup" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -3314,7 +4192,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3314
4192
  "tooltipSkidding",
3315
4193
  "tabGroup",
3316
4194
  ],
3317
- imports: [forwardRef(() => FlowIconButton)],
4195
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3318
4196
  providers: [],
3319
4197
  }]
3320
4198
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -3326,9 +4204,13 @@ let FlowTabGroup = class FlowTabGroup {
3326
4204
  this.z = z;
3327
4205
  c.detach();
3328
4206
  this.el = r.nativeElement;
4207
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4208
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4209
+ // upgrades the host element. define() leaves tags that are already registered alone.
4210
+ defineCustomElementOnUse(this, this.el, () => FlowUiTabGroup.define());
3329
4211
  }
3330
4212
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowTabGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3331
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowTabGroup, isStandalone: true, selector: "flow-ui-tab-group", inputs: { placement: "placement", activation: "activation", noScrollControls: "noScrollControls", controlSplitView: "controlSplitView", activeTab: "activeTab" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4213
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowTabGroup, isStandalone: true, selector: "flow-ui-tab-group", inputs: { placement: "placement", activation: "activation", noScrollControls: "noScrollControls", controlSplitView: "controlSplitView", closed: "closed", activeTab: "activeTab" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3332
4214
  };
3333
4215
  FlowTabGroup = __decorate([
3334
4216
  ProxyCmp({
@@ -3337,6 +4219,7 @@ FlowTabGroup = __decorate([
3337
4219
  "activation",
3338
4220
  "noScrollControls",
3339
4221
  "controlSplitView",
4222
+ "closed",
3340
4223
  "activeTab",
3341
4224
  ],
3342
4225
  methods: ["show"],
@@ -3354,9 +4237,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3354
4237
  "activation",
3355
4238
  "noScrollControls",
3356
4239
  "controlSplitView",
4240
+ "closed",
3357
4241
  "activeTab",
3358
4242
  ],
3359
- imports: [forwardRef(() => FlowIconButton)],
4243
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3360
4244
  providers: [],
3361
4245
  }]
3362
4246
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -3368,6 +4252,10 @@ let FlowTabPanel = class FlowTabPanel {
3368
4252
  this.z = z;
3369
4253
  c.detach();
3370
4254
  this.el = r.nativeElement;
4255
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4256
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4257
+ // upgrades the host element. define() leaves tags that are already registered alone.
4258
+ defineCustomElementOnUse(this, this.el, () => FlowUiTabPanel.define());
3371
4259
  }
3372
4260
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowTabPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3373
4261
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowTabPanel, isStandalone: true, selector: "flow-ui-tab-panel", inputs: { name: "name", active: "active", scrollable: "scrollable", padding: "padding" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -3386,7 +4274,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3386
4274
  changeDetection: ChangeDetectionStrategy.OnPush,
3387
4275
  template: "<ng-content></ng-content>",
3388
4276
  inputs: ["name", "active", "scrollable", "padding"],
3389
- imports: [],
4277
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3390
4278
  providers: [],
3391
4279
  }]
3392
4280
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -3398,6 +4286,10 @@ let FlowTag = class FlowTag {
3398
4286
  this.z = z;
3399
4287
  c.detach();
3400
4288
  this.el = r.nativeElement;
4289
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4290
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4291
+ // upgrades the host element. define() leaves tags that are already registered alone.
4292
+ defineCustomElementOnUse(this, this.el, () => FlowUiTag.define());
3401
4293
  }
3402
4294
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowTag, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3403
4295
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowTag, isStandalone: true, selector: "flow-ui-tag", inputs: { variant: "variant", size: "size", pill: "pill", removable: "removable" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -3416,15 +4308,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3416
4308
  changeDetection: ChangeDetectionStrategy.OnPush,
3417
4309
  template: "<ng-content></ng-content>",
3418
4310
  inputs: ["variant", "size", "pill", "removable"],
3419
- imports: [forwardRef(() => FlowIconButton)],
4311
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3420
4312
  providers: [],
3421
4313
  }]
3422
4314
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
3423
- const FlowTextareaValueAccessor = {
3424
- provide: NG_VALUE_ACCESSOR,
3425
- useExisting: forwardRef(() => FlowTextarea),
3426
- multi: true,
3427
- };
3428
4315
  /** @internal */
3429
4316
  let FlowTextarea = class FlowTextarea extends ValueAccessor {
3430
4317
  z;
@@ -3434,6 +4321,10 @@ let FlowTextarea = class FlowTextarea extends ValueAccessor {
3434
4321
  this.z = z;
3435
4322
  c.detach();
3436
4323
  this.el = r.nativeElement;
4324
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4325
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4326
+ // upgrades the host element. define() leaves tags that are already registered alone.
4327
+ defineCustomElementOnUse(this, this.el, () => FlowUiTextarea.define());
3437
4328
  }
3438
4329
  updateOn = "change";
3439
4330
  _handleInputEvent(el) {
@@ -3447,7 +4338,13 @@ let FlowTextarea = class FlowTextarea extends ValueAccessor {
3447
4338
  }
3448
4339
  }
3449
4340
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
3450
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowTextarea, isStandalone: true, selector: "flow-ui-textarea", inputs: { name: "name", value: "value", size: "size", filled: "filled", label: "label", helpText: "helpText", placeholder: "placeholder", rows: "rows", resize: "resize", disabled: "disabled", readonly: "readonly", form: "form", required: "required", minlength: "minlength", maxlength: "maxlength", autocapitalize: "autocapitalize", autocorrect: "autocorrect", autocomplete: "autocomplete", autofocus: "autofocus", enterkeyhint: "enterkeyhint", spellcheck: "spellcheck", inputmode: "inputmode", defaultValue: "defaultValue", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowTextareaValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4341
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowTextarea, isStandalone: true, selector: "flow-ui-textarea", inputs: { name: "name", value: "value", size: "size", filled: "filled", label: "label", helpText: "helpText", placeholder: "placeholder", rows: "rows", resize: "resize", disabled: "disabled", readonly: "readonly", form: "form", required: "required", minlength: "minlength", maxlength: "maxlength", autocapitalize: "autocapitalize", autocorrect: "autocorrect", autocomplete: "autocomplete", autofocus: "autofocus", enterkeyhint: "enterkeyhint", spellcheck: "spellcheck", inputmode: "inputmode", defaultValue: "defaultValue", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
4342
+ {
4343
+ provide: NG_VALUE_ACCESSOR,
4344
+ useExisting: forwardRef(() => FlowTextarea),
4345
+ multi: true,
4346
+ },
4347
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3451
4348
  };
3452
4349
  FlowTextarea = __decorate([
3453
4350
  ProxyCmp({
@@ -3526,8 +4423,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3526
4423
  "validity",
3527
4424
  "validationMessage",
3528
4425
  ],
3529
- imports: [],
3530
- providers: [FlowTextareaValueAccessor],
4426
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
4427
+ providers: [
4428
+ {
4429
+ provide: NG_VALUE_ACCESSOR,
4430
+ useExisting: forwardRef(() => FlowTextarea),
4431
+ multi: true,
4432
+ },
4433
+ ],
3531
4434
  }]
3532
4435
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
3533
4436
  type: Input
@@ -3538,11 +4441,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3538
4441
  type: HostListener,
3539
4442
  args: ["flow-ui-change", ["$event.target"]]
3540
4443
  }] } });
3541
- const FlowTimerValueAccessor = {
3542
- provide: NG_VALUE_ACCESSOR,
3543
- useExisting: forwardRef(() => FlowTimer),
3544
- multi: true,
3545
- };
3546
4444
  /** @internal */
3547
4445
  let FlowTimer = class FlowTimer extends ValueAccessor {
3548
4446
  z;
@@ -3552,6 +4450,10 @@ let FlowTimer = class FlowTimer extends ValueAccessor {
3552
4450
  this.z = z;
3553
4451
  c.detach();
3554
4452
  this.el = r.nativeElement;
4453
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4454
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4455
+ // upgrades the host element. define() leaves tags that are already registered alone.
4456
+ defineCustomElementOnUse(this, this.el, () => FlowUiTimer.define());
3555
4457
  }
3556
4458
  updateOn = "change";
3557
4459
  _handleInputEvent(el) {
@@ -3565,7 +4467,13 @@ let FlowTimer = class FlowTimer extends ValueAccessor {
3565
4467
  }
3566
4468
  }
3567
4469
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowTimer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
3568
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowTimer, isStandalone: true, selector: "flow-ui-timer", inputs: { value: "value", timezone: "timezone", locale: "locale", running: "running", dateFormat: "dateFormat", dayFormat: "dayFormat", timeFormat: "timeFormat", zoneFormat: "zoneFormat", majorStep: "majorStep", minorStep: "minorStep", updateInterval: "updateInterval", hideZone: "hideZone", placement: "placement", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowTimerValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4470
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowTimer, isStandalone: true, selector: "flow-ui-timer", inputs: { value: "value", timezone: "timezone", locale: "locale", running: "running", dateFormat: "dateFormat", dayFormat: "dayFormat", timeFormat: "timeFormat", zoneFormat: "zoneFormat", majorStep: "majorStep", minorStep: "minorStep", updateInterval: "updateInterval", hideZone: "hideZone", placement: "placement", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
4471
+ {
4472
+ provide: NG_VALUE_ACCESSOR,
4473
+ useExisting: forwardRef(() => FlowTimer),
4474
+ multi: true,
4475
+ },
4476
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3569
4477
  };
3570
4478
  FlowTimer = __decorate([
3571
4479
  ProxyCmp({
@@ -3609,8 +4517,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3609
4517
  "hideZone",
3610
4518
  "placement",
3611
4519
  ],
3612
- imports: [],
3613
- providers: [FlowTimerValueAccessor],
4520
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
4521
+ providers: [
4522
+ {
4523
+ provide: NG_VALUE_ACCESSOR,
4524
+ useExisting: forwardRef(() => FlowTimer),
4525
+ multi: true,
4526
+ },
4527
+ ],
3614
4528
  }]
3615
4529
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
3616
4530
  type: Input
@@ -3629,6 +4543,10 @@ let FlowToolButton = class FlowToolButton {
3629
4543
  this.z = z;
3630
4544
  c.detach();
3631
4545
  this.el = r.nativeElement;
4546
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4547
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4548
+ // upgrades the host element. define() leaves tags that are already registered alone.
4549
+ defineCustomElementOnUse(this, this.el, () => FlowUiToolButton.define());
3632
4550
  }
3633
4551
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowToolButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3634
4552
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowToolButton, isStandalone: true, selector: "flow-ui-tool-button", inputs: { value: "value", disabled: "disabled", size: "size", pill: "pill", outline: "outline", tooltip: "tooltip", tooltipPlacement: "tooltipPlacement", tooltipDistance: "tooltipDistance", tooltipSkidding: "tooltipSkidding", icon: "icon", iconSrc: "iconSrc", iconLibrary: "iconLibrary", variant: "variant" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -3675,15 +4593,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3675
4593
  "iconLibrary",
3676
4594
  "variant",
3677
4595
  ],
3678
- imports: [forwardRef(() => FlowIcon), forwardRef(() => FlowTooltip)],
4596
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3679
4597
  providers: [],
3680
4598
  }]
3681
4599
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
3682
- const FlowToolButtonGroupValueAccessor = {
3683
- provide: NG_VALUE_ACCESSOR,
3684
- useExisting: forwardRef(() => FlowToolButtonGroup),
3685
- multi: true,
3686
- };
3687
4600
  /** @internal */
3688
4601
  let FlowToolButtonGroup = class FlowToolButtonGroup extends ValueAccessor {
3689
4602
  z;
@@ -3693,6 +4606,10 @@ let FlowToolButtonGroup = class FlowToolButtonGroup extends ValueAccessor {
3693
4606
  this.z = z;
3694
4607
  c.detach();
3695
4608
  this.el = r.nativeElement;
4609
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4610
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4611
+ // upgrades the host element. define() leaves tags that are already registered alone.
4612
+ defineCustomElementOnUse(this, this.el, () => FlowUiToolButtonGroup.define());
3696
4613
  }
3697
4614
  updateOn = "change";
3698
4615
  _handleInputEvent(el) {
@@ -3706,7 +4623,13 @@ let FlowToolButtonGroup = class FlowToolButtonGroup extends ValueAccessor {
3706
4623
  }
3707
4624
  }
3708
4625
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowToolButtonGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
3709
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowToolButtonGroup, isStandalone: true, selector: "flow-ui-tool-button-group", inputs: { label: "label", name: "name", value: "value", size: "size", pill: "pill", outline: "outline", variant: "variant", form: "form", vertical: "vertical", mode: "mode", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowToolButtonGroupValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4626
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowToolButtonGroup, isStandalone: true, selector: "flow-ui-tool-button-group", inputs: { label: "label", name: "name", value: "value", size: "size", pill: "pill", outline: "outline", variant: "variant", form: "form", vertical: "vertical", mode: "mode", validity: "validity", validationMessage: "validationMessage", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
4627
+ {
4628
+ provide: NG_VALUE_ACCESSOR,
4629
+ useExisting: forwardRef(() => FlowToolButtonGroup),
4630
+ multi: true,
4631
+ },
4632
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3710
4633
  };
3711
4634
  FlowToolButtonGroup = __decorate([
3712
4635
  ProxyCmp({
@@ -3748,8 +4671,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3748
4671
  "validity",
3749
4672
  "validationMessage",
3750
4673
  ],
3751
- imports: [],
3752
- providers: [FlowToolButtonGroupValueAccessor],
4674
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
4675
+ providers: [
4676
+ {
4677
+ provide: NG_VALUE_ACCESSOR,
4678
+ useExisting: forwardRef(() => FlowToolButtonGroup),
4679
+ multi: true,
4680
+ },
4681
+ ],
3753
4682
  }]
3754
4683
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
3755
4684
  type: Input
@@ -3768,6 +4697,10 @@ let FlowTooltip = class FlowTooltip {
3768
4697
  this.z = z;
3769
4698
  c.detach();
3770
4699
  this.el = r.nativeElement;
4700
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4701
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4702
+ // upgrades the host element. define() leaves tags that are already registered alone.
4703
+ defineCustomElementOnUse(this, this.el, () => FlowUiTooltip.define());
3771
4704
  }
3772
4705
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3773
4706
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowTooltip, isStandalone: true, selector: "flow-ui-tooltip", inputs: { content: "content", placement: "placement", disabled: "disabled", distance: "distance", open: "open", skidding: "skidding", trigger: "trigger", hoist: "hoist" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -3804,15 +4737,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3804
4737
  "trigger",
3805
4738
  "hoist",
3806
4739
  ],
3807
- imports: [forwardRef(() => FlowPopup)],
4740
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3808
4741
  providers: [],
3809
4742
  }]
3810
4743
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
3811
- const FlowTreeValueAccessor = {
3812
- provide: NG_VALUE_ACCESSOR,
3813
- useExisting: forwardRef(() => FlowTree),
3814
- multi: true,
3815
- };
3816
4744
  /** @internal */
3817
4745
  let FlowTree = class FlowTree extends ValueAccessor {
3818
4746
  z;
@@ -3822,6 +4750,10 @@ let FlowTree = class FlowTree extends ValueAccessor {
3822
4750
  this.z = z;
3823
4751
  c.detach();
3824
4752
  this.el = r.nativeElement;
4753
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4754
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4755
+ // upgrades the host element. define() leaves tags that are already registered alone.
4756
+ defineCustomElementOnUse(this, this.el, () => FlowUiTree.define());
3825
4757
  }
3826
4758
  updateOn = "change";
3827
4759
  _handleInputEvent(el) {
@@ -3835,7 +4767,13 @@ let FlowTree = class FlowTree extends ValueAccessor {
3835
4767
  }
3836
4768
  }
3837
4769
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowTree, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
3838
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowTree, isStandalone: true, selector: "flow-ui-tree", inputs: { value: "value", selectionMode: "selectionMode", size: "size", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [FlowTreeValueAccessor], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4770
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowTree, isStandalone: true, selector: "flow-ui-tree", inputs: { value: "value", selectionMode: "selectionMode", size: "size", updateOn: "updateOn" }, host: { listeners: { "flow-ui-input": "_handleInputEvent($event.target)", "flow-ui-change": "_handleChangeEvent($event.target)" } }, providers: [
4771
+ {
4772
+ provide: NG_VALUE_ACCESSOR,
4773
+ useExisting: forwardRef(() => FlowTree),
4774
+ multi: true,
4775
+ },
4776
+ ], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3839
4777
  };
3840
4778
  FlowTree = __decorate([
3841
4779
  ProxyCmp({
@@ -3851,8 +4789,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3851
4789
  changeDetection: ChangeDetectionStrategy.OnPush,
3852
4790
  template: "<ng-content></ng-content>",
3853
4791
  inputs: ["value", "selectionMode", "size"],
3854
- imports: [],
3855
- providers: [FlowTreeValueAccessor],
4792
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
4793
+ providers: [
4794
+ {
4795
+ provide: NG_VALUE_ACCESSOR,
4796
+ useExisting: forwardRef(() => FlowTree),
4797
+ multi: true,
4798
+ },
4799
+ ],
3856
4800
  }]
3857
4801
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
3858
4802
  type: Input
@@ -3871,6 +4815,10 @@ let FlowTreeItem = class FlowTreeItem {
3871
4815
  this.z = z;
3872
4816
  c.detach();
3873
4817
  this.el = r.nativeElement;
4818
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4819
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4820
+ // upgrades the host element. define() leaves tags that are already registered alone.
4821
+ defineCustomElementOnUse(this, this.el, () => FlowUiTreeItem.define());
3874
4822
  }
3875
4823
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowTreeItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3876
4824
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowTreeItem, isStandalone: true, selector: "flow-ui-tree-item", inputs: { value: "value", expanded: "expanded", selected: "selected", disabled: "disabled", lazy: "lazy", size: "size", hidden: "hidden" }, providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -3905,11 +4853,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3905
4853
  "size",
3906
4854
  "hidden",
3907
4855
  ],
3908
- imports: [
3909
- forwardRef(() => FlowCheckbox),
3910
- forwardRef(() => FlowIcon),
3911
- forwardRef(() => FlowProgressRing),
3912
- ],
4856
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3913
4857
  providers: [],
3914
4858
  }]
3915
4859
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -3921,6 +4865,10 @@ let FlowVisuallyHidden = class FlowVisuallyHidden {
3921
4865
  this.z = z;
3922
4866
  c.detach();
3923
4867
  this.el = r.nativeElement;
4868
+ // Registers the element, and the elements it renders, when this proxy is first used (not when it is loaded, so
4869
+ // that development builds, which keep every proxy, register the same elements as production builds), and
4870
+ // upgrades the host element. define() leaves tags that are already registered alone.
4871
+ defineCustomElementOnUse(this, this.el, () => FlowUiVisuallyHidden.define());
3924
4872
  }
3925
4873
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowVisuallyHidden, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3926
4874
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FlowVisuallyHidden, isStandalone: true, selector: "flow-ui-visually-hidden", providers: [], ngImport: i0, template: "<ng-content></ng-content>", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -3939,7 +4887,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3939
4887
  changeDetection: ChangeDetectionStrategy.OnPush,
3940
4888
  template: "<ng-content></ng-content>",
3941
4889
  inputs: [],
3942
- imports: [],
4890
+ // The value accessor provider is inline (not a top-level constant) so that unused proxies can be tree-shaken
3943
4891
  providers: [],
3944
4892
  }]
3945
4893
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -4044,5 +4992,5 @@ function flowReactiveState() {
4044
4992
  * Generated bundle index. Do not edit.
4045
4993
  */
4046
4994
 
4047
- export { DIALOG_DATA, FLOW_CONTEXT, FLOW_RDF_ANGULAR_CONFIG, FlowAlert, FlowAnimation, FlowAutocomplete, FlowAvatar, FlowBadge, FlowBaseControl, FlowBreadcrumb, FlowBreadcrumbItem, FlowBusyOverlay, FlowButton, FlowButtonGroup, FlowCalendar, FlowCard, FlowCarousel, FlowCarouselItem, FlowChart, FlowCheckbox, FlowCheckboxGroup, FlowColorMapper, FlowColorPicker, FlowColorStop, FlowDateTimePicker, FlowDetails, FlowDialog, FlowDivider, FlowDrawer, FlowDropdown, FlowFormGroup, FlowGauge, FlowIcon, FlowIconButton, FlowInput, FlowList, FlowListItem, FlowMap, FlowMenu, FlowMenuItem, FlowMenuLabel, FlowMutationObserver, FlowOption, FlowPanel, FlowPanelHeader, FlowPopup, FlowProgressBar, FlowProgressRing, FlowQueryBuilder, FlowRadio, FlowRadioGroup, FlowRange, FlowRdfAngularModule, FlowResizeObserver, FlowSelect, FlowSplitView, FlowSplitViewDivider, FlowSplitViewPane, FlowSplitViewToggleButton, FlowStepper, FlowStepperPanel, FlowSwitch, FlowTab, FlowTabGroup, FlowTabPanel, FlowTag, FlowTextarea, FlowTimer, FlowToolButton, FlowToolButtonGroup, FlowTooltip, FlowTree, FlowTreeItem, FlowVisuallyHidden, ModalContainerComponent, ModalRef, ModalService, flowAutoUnsubscribe, flowReactiveState, flowSignal, initializeFlowContext };
4995
+ export { DIALOG_DATA, FLOW_CONTEXT, FLOW_RDF_ANGULAR_CONFIG, FlowAlert, FlowAnimation, FlowAutocomplete, FlowAvatar, FlowBadge, FlowBaseControl, FlowBreadcrumb, FlowBreadcrumbItem, FlowBusyOverlay, FlowButton, FlowButtonGroup, FlowCalendar, FlowCard, FlowCarousel, FlowCarouselItem, FlowChart, FlowCheckbox, FlowCheckboxGroup, FlowColorMapper, FlowColorPicker, FlowColorStop, FlowDateTimePicker, FlowDetails, FlowDiagram, FlowDiagramBackground, FlowDiagramBaseEdge, FlowDiagramBaseNode, FlowDiagramEdgeLabel, FlowDiagramMarker, FlowDiagramMinimap, FlowDiagramPaletteItem, FlowDiagramPaletteItemPreview, FlowDiagramPort, FlowDiagramResizeAdornment, FlowDiagramRotateAdornment, FlowDiagramZoomControls, FlowDialog, FlowDivider, FlowDrawer, FlowDropdown, FlowFormGroup, FlowGauge, FlowIcon, FlowIconButton, FlowInput, FlowList, FlowListItem, FlowMap, FlowMenu, FlowMenuItem, FlowMenuLabel, FlowMutationObserver, FlowOption, FlowPanel, FlowPanelHeader, FlowPopup, FlowProgressBar, FlowProgressRing, FlowQueryBuilder, FlowRadio, FlowRadioGroup, FlowRange, FlowRdfAngularModule, FlowResizeObserver, FlowSelect, FlowSplitView, FlowSplitViewDivider, FlowSplitViewPane, FlowSplitViewToggleButton, FlowStepper, FlowStepperPanel, FlowSwitch, FlowTab, FlowTabGroup, FlowTabPanel, FlowTag, FlowTextarea, FlowTimer, FlowToolButton, FlowToolButtonGroup, FlowTooltip, FlowTree, FlowTreeItem, FlowVisuallyHidden, ModalContainerComponent, ModalRef, ModalService, flowAutoUnsubscribe, flowReactiveState, flowSignal, initializeFlowContext, provideFlowRdf };
4048
4996
  //# sourceMappingURL=flow-rdf-angular.mjs.map