@emuanalytics/flow-rdf-angular 4.1.3 → 4.1.4

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.
@@ -334,49 +334,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
334
334
  providers: [],
335
335
  }]
336
336
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
337
- /** @internal */
338
- let FlowBreadcrumb = class FlowBreadcrumb {
339
- z;
340
- el;
341
- constructor(c, r, z) {
342
- this.z = z;
343
- c.detach();
344
- this.el = r.nativeElement;
345
- }
346
- 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 });
347
- 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 });
337
+ const FlowAutocompleteValueAccessor = {
338
+ provide: NG_VALUE_ACCESSOR,
339
+ useExisting: forwardRef(() => FlowAutocomplete),
340
+ multi: true,
348
341
  };
349
- FlowBreadcrumb = __decorate([
350
- ProxyCmp({
351
- inputs: ["label"],
352
- methods: [],
353
- })
354
- ], FlowBreadcrumb);
355
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowBreadcrumb, decorators: [{
356
- type: Component,
357
- args: [{
358
- standalone: true,
359
- selector: "flow-ui-breadcrumb",
360
- changeDetection: ChangeDetectionStrategy.OnPush,
361
- template: "<ng-content></ng-content>",
362
- inputs: ["label"],
363
- imports: [forwardRef(() => FlowIcon)],
364
- providers: [],
365
- }]
366
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
367
342
  /** @internal */
368
- let FlowBaseControl = class FlowBaseControl {
343
+ let FlowAutocomplete = class FlowAutocomplete extends ValueAccessor {
369
344
  z;
370
345
  el;
371
- constructor(c, r, z) {
346
+ constructor(c, r, z, i) {
347
+ super(i, r);
372
348
  this.z = z;
373
349
  c.detach();
374
350
  this.el = r.nativeElement;
375
351
  }
376
- 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
- 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 });
352
+ updateOn = "change";
353
+ _handleInputEvent(el) {
354
+ if (this.updateOn === "input") {
355
+ this._handleValueChange(el, el.value);
356
+ }
357
+ }
358
+ _handleChangeEvent(el) {
359
+ if (this.updateOn === "change") {
360
+ this._handleValueChange(el, el.value);
361
+ }
362
+ }
363
+ 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 });
364
+ 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", 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 });
378
365
  };
379
- FlowBaseControl = __decorate([
366
+ FlowAutocomplete = __decorate([
380
367
  ProxyCmp({
381
368
  inputs: [
382
369
  "size",
@@ -384,29 +371,39 @@ FlowBaseControl = __decorate([
384
371
  "pill",
385
372
  "label",
386
373
  "helpText",
374
+ "placeholder",
387
375
  "disabled",
388
376
  "form",
389
377
  "required",
390
378
  "inline",
391
379
  "divider",
380
+ "hoist",
381
+ "placement",
382
+ "value",
383
+ "displayWith",
384
+ "debounceDelay",
385
+ "clearable",
392
386
  "validity",
393
387
  "validationMessage",
394
388
  ],
395
389
  methods: [
396
- "focus",
397
- "blur",
398
- "checkValidity",
399
390
  "getForm",
391
+ "checkValidity",
400
392
  "reportValidity",
401
393
  "setCustomValidity",
394
+ "focus",
395
+ "blur",
396
+ "show",
397
+ "hide",
398
+ "getInputText",
402
399
  ],
403
400
  })
404
- ], FlowBaseControl);
405
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowBaseControl, decorators: [{
401
+ ], FlowAutocomplete);
402
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowAutocomplete, decorators: [{
406
403
  type: Component,
407
404
  args: [{
408
405
  standalone: true,
409
- selector: "flow-ui-base-control",
406
+ selector: "flow-ui-autocomplete",
410
407
  changeDetection: ChangeDetectionStrategy.OnPush,
411
408
  template: "<ng-content></ng-content>",
412
409
  inputs: [
@@ -415,18 +412,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
415
412
  "pill",
416
413
  "label",
417
414
  "helpText",
415
+ "placeholder",
418
416
  "disabled",
419
417
  "form",
420
418
  "required",
421
419
  "inline",
422
420
  "divider",
421
+ "hoist",
422
+ "placement",
423
+ "value",
424
+ "displayWith",
425
+ "debounceDelay",
426
+ "clearable",
423
427
  "validity",
424
428
  "validationMessage",
425
429
  ],
426
- imports: [forwardRef(() => FlowIcon), forwardRef(() => FlowIconButton)],
427
- providers: [],
430
+ imports: [forwardRef(() => FlowPopup), forwardRef(() => FlowIcon)],
431
+ providers: [FlowAutocompleteValueAccessor],
428
432
  }]
429
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
433
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }], propDecorators: { updateOn: [{
434
+ type: Input
435
+ }], _handleInputEvent: [{
436
+ type: HostListener,
437
+ args: ["flow-ui-input", ["$event.target"]]
438
+ }], _handleChangeEvent: [{
439
+ type: HostListener,
440
+ args: ["flow-ui-change", ["$event.target"]]
441
+ }] } });
430
442
  /** @internal */
431
443
  let FlowAvatar = class FlowAvatar {
432
444
  z;
@@ -488,6 +500,99 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
488
500
  }]
489
501
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
490
502
  /** @internal */
503
+ let FlowBreadcrumb = class FlowBreadcrumb {
504
+ z;
505
+ el;
506
+ constructor(c, r, z) {
507
+ this.z = z;
508
+ c.detach();
509
+ this.el = r.nativeElement;
510
+ }
511
+ 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 });
512
+ 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 });
513
+ };
514
+ FlowBreadcrumb = __decorate([
515
+ ProxyCmp({
516
+ inputs: ["label"],
517
+ methods: [],
518
+ })
519
+ ], FlowBreadcrumb);
520
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowBreadcrumb, decorators: [{
521
+ type: Component,
522
+ args: [{
523
+ standalone: true,
524
+ selector: "flow-ui-breadcrumb",
525
+ changeDetection: ChangeDetectionStrategy.OnPush,
526
+ template: "<ng-content></ng-content>",
527
+ inputs: ["label"],
528
+ imports: [forwardRef(() => FlowIcon)],
529
+ providers: [],
530
+ }]
531
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
532
+ /** @internal */
533
+ let FlowBaseControl = class FlowBaseControl {
534
+ z;
535
+ el;
536
+ constructor(c, r, z) {
537
+ this.z = z;
538
+ c.detach();
539
+ this.el = r.nativeElement;
540
+ }
541
+ 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 });
542
+ 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 });
543
+ };
544
+ FlowBaseControl = __decorate([
545
+ ProxyCmp({
546
+ inputs: [
547
+ "size",
548
+ "filled",
549
+ "pill",
550
+ "label",
551
+ "helpText",
552
+ "disabled",
553
+ "form",
554
+ "required",
555
+ "inline",
556
+ "divider",
557
+ "validity",
558
+ "validationMessage",
559
+ ],
560
+ methods: [
561
+ "focus",
562
+ "blur",
563
+ "checkValidity",
564
+ "getForm",
565
+ "reportValidity",
566
+ "setCustomValidity",
567
+ ],
568
+ })
569
+ ], FlowBaseControl);
570
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FlowBaseControl, decorators: [{
571
+ type: Component,
572
+ args: [{
573
+ standalone: true,
574
+ selector: "flow-ui-base-control",
575
+ changeDetection: ChangeDetectionStrategy.OnPush,
576
+ template: "<ng-content></ng-content>",
577
+ inputs: [
578
+ "size",
579
+ "filled",
580
+ "pill",
581
+ "label",
582
+ "helpText",
583
+ "disabled",
584
+ "form",
585
+ "required",
586
+ "inline",
587
+ "divider",
588
+ "validity",
589
+ "validationMessage",
590
+ ],
591
+ imports: [forwardRef(() => FlowIcon), forwardRef(() => FlowIconButton)],
592
+ providers: [],
593
+ }]
594
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
595
+ /** @internal */
491
596
  let FlowBreadcrumbItem = class FlowBreadcrumbItem {
492
597
  z;
493
598
  el;
@@ -3883,5 +3988,5 @@ function flowReactiveState() {
3883
3988
  * Generated bundle index. Do not edit.
3884
3989
  */
3885
3990
 
3886
- export { DIALOG_DATA, FLOW_CONTEXT, FLOW_RDF_ANGULAR_CONFIG, FlowAlert, FlowAnimation, 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 };
3991
+ 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 };
3887
3992
  //# sourceMappingURL=flow-rdf-angular.mjs.map