@luzmo/ngx-lucero 2.1.0 → 2.2.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.
Files changed (104) hide show
  1. package/README.md +14 -0
  2. package/esm/components/accordion-item.d.ts +2 -2
  3. package/esm/components/accordion-item.js +5 -5
  4. package/esm/components/action-bar.d.ts +1 -1
  5. package/esm/components/action-bar.js +3 -3
  6. package/esm/components/action-button.d.ts +2 -2
  7. package/esm/components/action-button.js +11 -12
  8. package/esm/components/action-group.d.ts +1 -1
  9. package/esm/components/action-group.js +3 -3
  10. package/esm/components/action-menu.d.ts +1 -1
  11. package/esm/components/action-menu.js +10 -11
  12. package/esm/components/avatar.d.ts +1 -1
  13. package/esm/components/avatar.js +3 -3
  14. package/esm/components/button.d.ts +1 -1
  15. package/esm/components/button.js +3 -3
  16. package/esm/components/calendar.d.ts +4 -4
  17. package/esm/components/calendar.js +14 -15
  18. package/esm/components/checkbox.d.ts +1 -1
  19. package/esm/components/checkbox.js +8 -9
  20. package/esm/components/clear-button.d.ts +1 -1
  21. package/esm/components/clear-button.js +3 -3
  22. package/esm/components/close-button.d.ts +1 -1
  23. package/esm/components/close-button.js +3 -3
  24. package/esm/components/color-area.d.ts +1 -1
  25. package/esm/components/color-area.js +4 -4
  26. package/esm/components/color-field.d.ts +1 -1
  27. package/esm/components/color-field.js +11 -12
  28. package/esm/components/color-menu.d.ts +1 -1
  29. package/esm/components/color-menu.js +4 -4
  30. package/esm/components/color-palette-group.d.ts +1 -1
  31. package/esm/components/color-palette-group.js +3 -3
  32. package/esm/components/color-palette.d.ts +1 -1
  33. package/esm/components/color-palette.js +3 -3
  34. package/esm/components/color-picker.d.ts +1 -1
  35. package/esm/components/color-picker.js +4 -4
  36. package/esm/components/color-slider.d.ts +1 -1
  37. package/esm/components/color-slider.js +10 -11
  38. package/esm/components/date-range-picker.d.ts +1 -1
  39. package/esm/components/date-range-picker.js +5 -5
  40. package/esm/components/date-time-picker.d.ts +1 -1
  41. package/esm/components/date-time-picker.js +10 -11
  42. package/esm/components/infield-button.d.ts +1 -1
  43. package/esm/components/infield-button.js +3 -3
  44. package/esm/components/menu-group.d.ts +1 -1
  45. package/esm/components/menu-group.js +9 -10
  46. package/esm/components/menu-item.d.ts +2 -2
  47. package/esm/components/menu-item.js +5 -5
  48. package/esm/components/menu.d.ts +1 -1
  49. package/esm/components/menu.js +9 -10
  50. package/esm/components/multi-language-field.d.ts +1 -1
  51. package/esm/components/multi-language-field.js +8 -9
  52. package/esm/components/notice.d.ts +2 -2
  53. package/esm/components/notice.js +4 -4
  54. package/esm/components/number-field.d.ts +1 -1
  55. package/esm/components/number-field.js +11 -12
  56. package/esm/components/option.d.ts +1 -1
  57. package/esm/components/option.js +3 -3
  58. package/esm/components/options.d.ts +5 -5
  59. package/esm/components/options.js +15 -16
  60. package/esm/components/overlay-trigger.d.ts +3 -3
  61. package/esm/components/overlay-trigger.js +6 -6
  62. package/esm/components/overlay.d.ts +4 -4
  63. package/esm/components/overlay.js +8 -8
  64. package/esm/components/picker-button.d.ts +1 -1
  65. package/esm/components/picker-button.js +3 -3
  66. package/esm/components/picker.d.ts +3 -3
  67. package/esm/components/picker.js +14 -15
  68. package/esm/components/progress-steps.d.ts +3 -3
  69. package/esm/components/progress-steps.js +6 -6
  70. package/esm/components/prompt-box.d.ts +11 -11
  71. package/esm/components/prompt-box.js +22 -22
  72. package/esm/components/question-box.d.ts +4 -4
  73. package/esm/components/question-box.js +15 -16
  74. package/esm/components/radio-group.d.ts +1 -1
  75. package/esm/components/radio-group.js +3 -3
  76. package/esm/components/radio.d.ts +1 -1
  77. package/esm/components/radio.js +9 -10
  78. package/esm/components/search.d.ts +1 -1
  79. package/esm/components/search.js +12 -13
  80. package/esm/components/select.d.ts +5 -5
  81. package/esm/components/select.js +17 -18
  82. package/esm/components/slider-handle.d.ts +1 -1
  83. package/esm/components/slider-handle.js +9 -10
  84. package/esm/components/slider.d.ts +1 -1
  85. package/esm/components/slider.js +10 -11
  86. package/esm/components/split-view.d.ts +2 -2
  87. package/esm/components/split-view.js +7 -7
  88. package/esm/components/swatch-group.d.ts +1 -1
  89. package/esm/components/swatch-group.js +3 -3
  90. package/esm/components/swatch.d.ts +1 -1
  91. package/esm/components/swatch.js +9 -10
  92. package/esm/components/switch.d.ts +1 -1
  93. package/esm/components/switch.js +9 -10
  94. package/esm/components/tabs.d.ts +1 -1
  95. package/esm/components/tabs.js +4 -4
  96. package/esm/components/tag.d.ts +2 -2
  97. package/esm/components/tag.js +4 -4
  98. package/esm/components/text-field.d.ts +1 -1
  99. package/esm/components/text-field.js +11 -12
  100. package/esm/components/toast.d.ts +1 -1
  101. package/esm/components/toast.js +3 -3
  102. package/esm/components/top-nav.d.ts +1 -1
  103. package/esm/components/top-nav.js +4 -4
  104. package/package.json +2 -2
@@ -23,7 +23,7 @@ export class LuzmoOptions {
23
23
  selects;
24
24
  emphasized;
25
25
  pending;
26
- /** options - The options to be listed in the options menu OptionValue is an object with the following properties: - label: string - value: string | number | null - disabled: boolean - divider: boolean - icon: IconDefinition - imgSrc: string - shortcut: string (leaf options only) */
26
+ /** options - The options to be listed in the options menu OptionValue is an object with the following properties: - label: string - value: string | number | null - disabled: boolean - divider: boolean - header: boolean - icon: IconDefinition - imgSrc: string - shortcut: string (leaf options only) */
27
27
  options;
28
28
  noWrap;
29
29
  /** value - The value of the selected options */
@@ -32,13 +32,13 @@ export class LuzmoOptions {
32
32
  optionIconRenderer;
33
33
  size;
34
34
  /** Announces that the user has scrolled within the options menu. Only fires when the options menu is virtualized. */
35
- luzmoScrolledEvent = output({ alias: 'luzmo-scrolled' });
35
+ luzmoScrolled = output({ alias: 'luzmo-scrolled' });
36
36
  /** Announces that the `value` of the element has changed */
37
- changeEvent = output({ alias: 'change' });
37
+ changeEvent = output();
38
38
  /** Announces that the `arrowUp` key has been pressed and the top of the options menu has been exceeded */
39
- luzmoExceededTopEvent = output({ alias: 'luzmo-exceeded-top' });
39
+ luzmoExceededTop = output({ alias: 'luzmo-exceeded-top' });
40
40
  /** Announces that the `arrowDown` key has been pressed and the bottom of the options menu has been exceeded */
41
- luzmoExceededBottomEvent = output({ alias: 'luzmo-exceeded-bottom' });
41
+ luzmoExceededBottom = output({ alias: 'luzmo-exceeded-bottom' });
42
42
  constructor() {
43
43
  this.bindEvents();
44
44
  this.destroyRef.onDestroy(() => {
@@ -96,10 +96,9 @@ export class LuzmoOptions {
96
96
  }
97
97
  bindEvents() {
98
98
  this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-scrolled', (event) => {
99
- this.luzmoScrolledEvent.emit(event);
99
+ this.luzmoScrolled.emit(event);
100
100
  }));
101
101
  this.listenerCleanup.push(this.renderer.listen(this.host, 'change', (event) => {
102
- this.changeEvent.emit(event);
103
102
  if (!this.isWritingValue) {
104
103
  const eventWithDetail = event;
105
104
  const eventTarget = event.target;
@@ -111,19 +110,19 @@ export class LuzmoOptions {
111
110
  : (detailRecord === undefined ? detail : undefined)
112
111
  ?? eventTarget?.['value']
113
112
  ?? hostRecord['value']);
114
- if (Object.is(this.lastCvaValue, nextValue)) {
115
- return;
113
+ if (!Object.is(this.lastCvaValue, nextValue)) {
114
+ this.lastCvaValue = nextValue;
115
+ this.setHostProperty('value', nextValue);
116
+ this.onChange(nextValue);
116
117
  }
117
- this.lastCvaValue = nextValue;
118
- this.setHostProperty('value', nextValue);
119
- this.onChange(nextValue);
120
118
  }
119
+ this.changeEvent.emit(event);
121
120
  }));
122
121
  this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-exceeded-top', (event) => {
123
- this.luzmoExceededTopEvent.emit(event);
122
+ this.luzmoExceededTop.emit(event);
124
123
  }));
125
124
  this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-exceeded-bottom', (event) => {
126
- this.luzmoExceededBottomEvent.emit(event);
125
+ this.luzmoExceededBottom.emit(event);
127
126
  }));
128
127
  this.listenerCleanup.push(this.renderer.listen(this.host, 'blur', () => {
129
128
  this.onTouched();
@@ -156,7 +155,7 @@ export class LuzmoOptions {
156
155
  return this.host.scrollToTop();
157
156
  }
158
157
  static ɵfac = function LuzmoOptions_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoOptions)(); };
159
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoOptions, selectors: [["luzmo-options"]], inputs: { label: "label", variant: "variant", selects: "selects", emphasized: "emphasized", pending: "pending", options: "options", noWrap: "noWrap", value: "value", optionIconRenderer: "optionIconRenderer", size: "size" }, outputs: { luzmoScrolledEvent: "luzmo-scrolled", changeEvent: "change", luzmoExceededTopEvent: "luzmo-exceeded-top", luzmoExceededBottomEvent: "luzmo-exceeded-bottom" }, exportAs: ["luzmoOptions"], features: [i0.ɵɵProvidersFeature([
158
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoOptions, selectors: [["luzmo-options"]], inputs: { label: "label", variant: "variant", selects: "selects", emphasized: "emphasized", pending: "pending", options: "options", noWrap: "noWrap", value: "value", optionIconRenderer: "optionIconRenderer", size: "size" }, outputs: { luzmoScrolled: "luzmo-scrolled", changeEvent: "changeEvent", luzmoExceededTop: "luzmo-exceeded-top", luzmoExceededBottom: "luzmo-exceeded-bottom" }, exportAs: ["luzmoOptions"], features: [i0.ɵɵProvidersFeature([
160
159
  {
161
160
  provide: NG_VALUE_ACCESSOR,
162
161
  useExisting: forwardRef(() => LuzmoOptions),
@@ -213,5 +212,5 @@ export class LuzmoOptions {
213
212
  }], size: [{
214
213
  type: Input,
215
214
  args: [{ alias: 'size' }]
216
- }], luzmoScrolledEvent: [{ type: i0.Output, args: ["luzmo-scrolled"] }], changeEvent: [{ type: i0.Output, args: ["change"] }], luzmoExceededTopEvent: [{ type: i0.Output, args: ["luzmo-exceeded-top"] }], luzmoExceededBottomEvent: [{ type: i0.Output, args: ["luzmo-exceeded-bottom"] }] }); })();
215
+ }], luzmoScrolled: [{ type: i0.Output, args: ["luzmo-scrolled"] }], changeEvent: [{ type: i0.Output, args: ["changeEvent"] }], luzmoExceededTop: [{ type: i0.Output, args: ["luzmo-exceeded-top"] }], luzmoExceededBottom: [{ type: i0.Output, args: ["luzmo-exceeded-bottom"] }] }); })();
217
216
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoOptions, { className: "LuzmoOptions", filePath: "components/options.ts", lineNumber: 26 }); })();
@@ -25,9 +25,9 @@ export declare class LuzmoOverlayTrigger implements OnChanges {
25
25
  longpressOverlayElement?: LuzmoOverlay;
26
26
  hoverOverlayElement?: LuzmoOverlay;
27
27
  /** Announces that the overlay has been opened */
28
- readonly luzmoOpenedEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
28
+ readonly luzmoOpened: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
29
29
  /** Announces that the overlay has been closed */
30
- readonly luzmoClosedEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
30
+ readonly luzmoClosed: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
31
31
  constructor();
32
32
  ngOnChanges(changes: SimpleChanges): void;
33
33
  /**
@@ -39,7 +39,7 @@ export declare class LuzmoOverlayTrigger implements OnChanges {
39
39
  private setHostProperty;
40
40
  private bindEvents;
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoOverlayTrigger, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoOverlayTrigger, "luzmo-overlay-trigger", ["luzmoOverlayTrigger"], { "content": { "alias": "content"; "required": false; }; "triggeredBy": { "alias": "triggeredBy"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "type": { "alias": "type"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "receivesFocus": { "alias": "receivesFocus"; "required": false; }; "clickOverlayElement": { "alias": "clickOverlayElement"; "required": false; }; "longpressOverlayElement": { "alias": "longpressOverlayElement"; "required": false; }; "hoverOverlayElement": { "alias": "hoverOverlayElement"; "required": false; }; }, { "luzmoOpenedEvent": "luzmo-opened"; "luzmoClosedEvent": "luzmo-closed"; }, never, ["*"], true, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoOverlayTrigger, "luzmo-overlay-trigger", ["luzmoOverlayTrigger"], { "content": { "alias": "content"; "required": false; }; "triggeredBy": { "alias": "triggeredBy"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "type": { "alias": "type"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "receivesFocus": { "alias": "receivesFocus"; "required": false; }; "clickOverlayElement": { "alias": "clickOverlayElement"; "required": false; }; "longpressOverlayElement": { "alias": "longpressOverlayElement"; "required": false; }; "hoverOverlayElement": { "alias": "hoverOverlayElement"; "required": false; }; }, { "luzmoOpened": "luzmo-opened"; "luzmoClosed": "luzmo-closed"; }, never, ["*"], true, never>;
43
43
  }
44
44
  /** The underlying custom element type for LuzmoOverlayTrigger */
45
45
  export type LuzmoOverlayTriggerElement = LuzmoOverlayTriggerHostElement;
@@ -34,9 +34,9 @@ export class LuzmoOverlayTrigger {
34
34
  longpressOverlayElement;
35
35
  hoverOverlayElement;
36
36
  /** Announces that the overlay has been opened */
37
- luzmoOpenedEvent = output({ alias: 'luzmo-opened' });
37
+ luzmoOpened = output({ alias: 'luzmo-opened' });
38
38
  /** Announces that the overlay has been closed */
39
- luzmoClosedEvent = output({ alias: 'luzmo-closed' });
39
+ luzmoClosed = output({ alias: 'luzmo-closed' });
40
40
  constructor() {
41
41
  this.bindEvents();
42
42
  this.destroyRef.onDestroy(() => {
@@ -97,14 +97,14 @@ export class LuzmoOverlayTrigger {
97
97
  }
98
98
  bindEvents() {
99
99
  this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-opened', (event) => {
100
- this.luzmoOpenedEvent.emit(event);
100
+ this.luzmoOpened.emit(event);
101
101
  }));
102
102
  this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-closed', (event) => {
103
- this.luzmoClosedEvent.emit(event);
103
+ this.luzmoClosed.emit(event);
104
104
  }));
105
105
  }
106
106
  static ɵfac = function LuzmoOverlayTrigger_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoOverlayTrigger)(); };
107
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoOverlayTrigger, selectors: [["luzmo-overlay-trigger"]], inputs: { content: "content", triggeredBy: "triggeredBy", placement: "placement", type: "type", offset: "offset", open: "open", disabled: "disabled", receivesFocus: "receivesFocus", clickOverlayElement: "clickOverlayElement", longpressOverlayElement: "longpressOverlayElement", hoverOverlayElement: "hoverOverlayElement" }, outputs: { luzmoOpenedEvent: "luzmo-opened", luzmoClosedEvent: "luzmo-closed" }, exportAs: ["luzmoOverlayTrigger"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoOverlayTrigger_Template(rf, ctx) { if (rf & 1) {
107
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoOverlayTrigger, selectors: [["luzmo-overlay-trigger"]], inputs: { content: "content", triggeredBy: "triggeredBy", placement: "placement", type: "type", offset: "offset", open: "open", disabled: "disabled", receivesFocus: "receivesFocus", clickOverlayElement: "clickOverlayElement", longpressOverlayElement: "longpressOverlayElement", hoverOverlayElement: "hoverOverlayElement" }, outputs: { luzmoOpened: "luzmo-opened", luzmoClosed: "luzmo-closed" }, exportAs: ["luzmoOverlayTrigger"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoOverlayTrigger_Template(rf, ctx) { if (rf & 1) {
108
108
  i0.ɵɵprojectionDef();
109
109
  i0.ɵɵprojection(0);
110
110
  } }, encapsulation: 2 });
@@ -151,5 +151,5 @@ export class LuzmoOverlayTrigger {
151
151
  }], hoverOverlayElement: [{
152
152
  type: Input,
153
153
  args: [{ alias: 'hoverOverlayElement' }]
154
- }], luzmoOpenedEvent: [{ type: i0.Output, args: ["luzmo-opened"] }], luzmoClosedEvent: [{ type: i0.Output, args: ["luzmo-closed"] }] }); })();
154
+ }], luzmoOpened: [{ type: i0.Output, args: ["luzmo-opened"] }], luzmoClosed: [{ type: i0.Output, args: ["luzmo-closed"] }] }); })();
155
155
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoOverlayTrigger, { className: "LuzmoOverlayTrigger", filePath: "components/overlay-trigger.ts", lineNumber: 23 }); })();
@@ -47,11 +47,11 @@ export declare class LuzmoOverlay implements OnChanges {
47
47
  /** Configures the open/close heuristics of the Overlay. */
48
48
  type?: ('auto' | 'hint' | 'manual' | 'modal' | 'page');
49
49
  /** announces that an overlay has completed any entry animations */
50
- readonly luzmoOpenedEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
50
+ readonly luzmoOpened: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
51
51
  /** announce that an overlay has compelted any exit animations */
52
- readonly luzmoClosedEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
52
+ readonly luzmoClosed: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
53
53
  /** requests to add or remove slottable content */
54
- readonly slottableRequestEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
54
+ readonly slottableRequest: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
55
55
  constructor();
56
56
  ngOnChanges(changes: SimpleChanges): void;
57
57
  /**
@@ -63,7 +63,7 @@ export declare class LuzmoOverlay implements OnChanges {
63
63
  private setHostProperty;
64
64
  private bindEvents;
65
65
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoOverlay, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoOverlay, "luzmo-overlay", ["luzmoOverlay"], { "delayed": { "alias": "delayed"; "required": false; }; "dialogEl": { "alias": "dialogEl"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "elements": { "alias": "elements"; "required": false; }; "parentOverlayToForceClose": { "alias": "parentOverlayToForceClose"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "open": { "alias": "open"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "receivesFocus": { "alias": "receivesFocus"; "required": false; }; "slotEl": { "alias": "slotEl"; "required": false; }; "state": { "alias": "state"; "required": false; }; "strategy": { "alias": "strategy"; "required": false; }; "tipPadding": { "alias": "tipPadding"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "triggerElement": { "alias": "triggerElement"; "required": false; }; "triggerInteraction": { "alias": "triggerInteraction"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "luzmoOpenedEvent": "luzmo-opened"; "luzmoClosedEvent": "luzmo-closed"; "slottableRequestEvent": "slottable-request"; }, never, ["*"], true, never>;
66
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoOverlay, "luzmo-overlay", ["luzmoOverlay"], { "delayed": { "alias": "delayed"; "required": false; }; "dialogEl": { "alias": "dialogEl"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "elements": { "alias": "elements"; "required": false; }; "parentOverlayToForceClose": { "alias": "parentOverlayToForceClose"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "open": { "alias": "open"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "receivesFocus": { "alias": "receivesFocus"; "required": false; }; "slotEl": { "alias": "slotEl"; "required": false; }; "state": { "alias": "state"; "required": false; }; "strategy": { "alias": "strategy"; "required": false; }; "tipPadding": { "alias": "tipPadding"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "triggerElement": { "alias": "triggerElement"; "required": false; }; "triggerInteraction": { "alias": "triggerInteraction"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "luzmoOpened": "luzmo-opened"; "luzmoClosed": "luzmo-closed"; "slottableRequest": "slottable-request"; }, never, ["*"], true, never>;
67
67
  }
68
68
  /** The underlying custom element type for LuzmoOverlay */
69
69
  export type LuzmoOverlayElement = LuzmoOverlayHostElement;
@@ -50,11 +50,11 @@ export class LuzmoOverlay {
50
50
  /** Configures the open/close heuristics of the Overlay. */
51
51
  type;
52
52
  /** announces that an overlay has completed any entry animations */
53
- luzmoOpenedEvent = output({ alias: 'luzmo-opened' });
53
+ luzmoOpened = output({ alias: 'luzmo-opened' });
54
54
  /** announce that an overlay has compelted any exit animations */
55
- luzmoClosedEvent = output({ alias: 'luzmo-closed' });
55
+ luzmoClosed = output({ alias: 'luzmo-closed' });
56
56
  /** requests to add or remove slottable content */
57
- slottableRequestEvent = output({ alias: 'slottable-request' });
57
+ slottableRequest = output({ alias: 'slottable-request' });
58
58
  constructor() {
59
59
  this.bindEvents();
60
60
  this.destroyRef.onDestroy(() => {
@@ -133,17 +133,17 @@ export class LuzmoOverlay {
133
133
  }
134
134
  bindEvents() {
135
135
  this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-opened', (event) => {
136
- this.luzmoOpenedEvent.emit(event);
136
+ this.luzmoOpened.emit(event);
137
137
  }));
138
138
  this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-closed', (event) => {
139
- this.luzmoClosedEvent.emit(event);
139
+ this.luzmoClosed.emit(event);
140
140
  }));
141
141
  this.listenerCleanup.push(this.renderer.listen(this.host, 'slottable-request', (event) => {
142
- this.slottableRequestEvent.emit(event);
142
+ this.slottableRequest.emit(event);
143
143
  }));
144
144
  }
145
145
  static ɵfac = function LuzmoOverlay_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoOverlay)(); };
146
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoOverlay, selectors: [["luzmo-overlay"]], inputs: { delayed: "delayed", dialogEl: "dialogEl", disabled: "disabled", elements: "elements", parentOverlayToForceClose: "parentOverlayToForceClose", offset: "offset", open: "open", placement: "placement", receivesFocus: "receivesFocus", slotEl: "slotEl", state: "state", strategy: "strategy", tipPadding: "tipPadding", trigger: "trigger", triggerElement: "triggerElement", triggerInteraction: "triggerInteraction", type: "type" }, outputs: { luzmoOpenedEvent: "luzmo-opened", luzmoClosedEvent: "luzmo-closed", slottableRequestEvent: "slottable-request" }, exportAs: ["luzmoOverlay"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoOverlay_Template(rf, ctx) { if (rf & 1) {
146
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoOverlay, selectors: [["luzmo-overlay"]], inputs: { delayed: "delayed", dialogEl: "dialogEl", disabled: "disabled", elements: "elements", parentOverlayToForceClose: "parentOverlayToForceClose", offset: "offset", open: "open", placement: "placement", receivesFocus: "receivesFocus", slotEl: "slotEl", state: "state", strategy: "strategy", tipPadding: "tipPadding", trigger: "trigger", triggerElement: "triggerElement", triggerInteraction: "triggerInteraction", type: "type" }, outputs: { luzmoOpened: "luzmo-opened", luzmoClosed: "luzmo-closed", slottableRequest: "slottable-request" }, exportAs: ["luzmoOverlay"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoOverlay_Template(rf, ctx) { if (rf & 1) {
147
147
  i0.ɵɵprojectionDef();
148
148
  i0.ɵɵprojection(0);
149
149
  } }, encapsulation: 2 });
@@ -208,5 +208,5 @@ export class LuzmoOverlay {
208
208
  }], type: [{
209
209
  type: Input,
210
210
  args: [{ alias: 'type' }]
211
- }], luzmoOpenedEvent: [{ type: i0.Output, args: ["luzmo-opened"] }], luzmoClosedEvent: [{ type: i0.Output, args: ["luzmo-closed"] }], slottableRequestEvent: [{ type: i0.Output, args: ["slottable-request"] }] }); })();
211
+ }], luzmoOpened: [{ type: i0.Output, args: ["luzmo-opened"] }], luzmoClosed: [{ type: i0.Output, args: ["luzmo-closed"] }], slottableRequest: [{ type: i0.Output, args: ["slottable-request"] }] }); })();
212
212
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoOverlay, { className: "LuzmoOverlay", filePath: "components/overlay.ts", lineNumber: 17 }); })();
@@ -47,7 +47,7 @@ export declare class LuzmoPickerButton implements OnChanges {
47
47
  private bindEvents;
48
48
  focus(options?: FocusOptions): void;
49
49
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoPickerButton, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoPickerButton, "luzmo-picker-button", ["luzmoPickerButton"], { "invalid": { "alias": "invalid"; "required": false; }; "position": { "alias": "position"; "required": false; }; "size": { "alias": "size"; "required": false; }; "managePresenceObservedSlot": { "alias": "managePresenceObservedSlot"; "required": false; }; "download": { "alias": "download"; "required": false; }; "label": { "alias": "label"; "required": false; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "referrerpolicy": { "alias": "referrerpolicy"; "required": false; }; "rel": { "alias": "rel"; "required": false; }; "active": { "alias": "active"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "keydownEvent": "keydown"; }, never, ["*"], true, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoPickerButton, "luzmo-picker-button", ["luzmoPickerButton"], { "invalid": { "alias": "invalid"; "required": false; }; "position": { "alias": "position"; "required": false; }; "size": { "alias": "size"; "required": false; }; "managePresenceObservedSlot": { "alias": "managePresenceObservedSlot"; "required": false; }; "download": { "alias": "download"; "required": false; }; "label": { "alias": "label"; "required": false; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "referrerpolicy": { "alias": "referrerpolicy"; "required": false; }; "rel": { "alias": "rel"; "required": false; }; "active": { "alias": "active"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "keydownEvent": "keydownEvent"; }, never, ["*"], true, never>;
51
51
  }
52
52
  /** The underlying custom element type for LuzmoPickerButton */
53
53
  export type LuzmoPickerButtonElement = LuzmoPickerButtonHostElement;
@@ -42,7 +42,7 @@ export class LuzmoPickerButton {
42
42
  /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
43
43
  tabIndex;
44
44
  /** Trick :focus-visible polyfill into thinking keyboard based focus */
45
- keydownEvent = output({ alias: 'keydown' });
45
+ keydownEvent = output();
46
46
  constructor() {
47
47
  this.bindEvents();
48
48
  this.destroyRef.onDestroy(() => {
@@ -119,7 +119,7 @@ export class LuzmoPickerButton {
119
119
  return this.host.focus(options);
120
120
  }
121
121
  static ɵfac = function LuzmoPickerButton_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoPickerButton)(); };
122
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoPickerButton, selectors: [["luzmo-picker-button"]], inputs: { invalid: "invalid", position: "position", size: "size", managePresenceObservedSlot: "managePresenceObservedSlot", download: "download", label: "label", href: "href", target: "target", referrerpolicy: "referrerpolicy", rel: "rel", active: "active", type: "type", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { keydownEvent: "keydown" }, exportAs: ["luzmoPickerButton"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoPickerButton_Template(rf, ctx) { if (rf & 1) {
122
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoPickerButton, selectors: [["luzmo-picker-button"]], inputs: { invalid: "invalid", position: "position", size: "size", managePresenceObservedSlot: "managePresenceObservedSlot", download: "download", label: "label", href: "href", target: "target", referrerpolicy: "referrerpolicy", rel: "rel", active: "active", type: "type", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { keydownEvent: "keydownEvent" }, exportAs: ["luzmoPickerButton"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoPickerButton_Template(rf, ctx) { if (rf & 1) {
123
123
  i0.ɵɵprojectionDef();
124
124
  i0.ɵɵprojection(0);
125
125
  } }, encapsulation: 2 });
@@ -175,5 +175,5 @@ export class LuzmoPickerButton {
175
175
  }], tabIndex: [{
176
176
  type: Input,
177
177
  args: [{ alias: 'tabIndex' }]
178
- }], keydownEvent: [{ type: i0.Output, args: ["keydown"] }] }); })();
178
+ }], keydownEvent: [{ type: i0.Output, args: ["keydownEvent"] }] }); })();
179
179
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoPickerButton, { className: "LuzmoPickerButton", filePath: "components/picker-button.ts", lineNumber: 18 }); })();
@@ -51,9 +51,9 @@ export declare class LuzmoPicker implements OnChanges, ControlValueAccessor {
51
51
  /** Announces that the `value` of the element has changed */
52
52
  readonly changeEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
53
53
  /** Announces that the overlay has been opened */
54
- readonly luzmoOpenedEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
54
+ readonly luzmoOpened: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
55
55
  /** Announces that the overlay has been closed */
56
- readonly luzmoClosedEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
56
+ readonly luzmoClosed: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
57
57
  readonly scrollEvent: import("@angular/core").OutputEmitterRef<Event>;
58
58
  /** Trick :focus-visible polyfill into thinking keyboard based focus */
59
59
  readonly keydownEvent: import("@angular/core").OutputEmitterRef<unknown>;
@@ -79,7 +79,7 @@ export declare class LuzmoPicker implements OnChanges, ControlValueAccessor {
79
79
  toggle(target?: boolean): void;
80
80
  close(): void;
81
81
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoPicker, never>;
82
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoPicker, "luzmo-picker", ["luzmoPicker"], { "size": { "alias": "size"; "required": false; }; "appliedLabel": { "alias": "appliedLabel"; "required": false; }; "button": { "alias": "button"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "pending": { "alias": "pending"; "required": false; }; "pendingLabel": { "alias": "pendingLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "open": { "alias": "open"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "labelAlignment": { "alias": "labelAlignment"; "required": false; }; "optionsMenu": { "alias": "optionsMenu"; "required": false; }; "overlayElement": { "alias": "overlayElement"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selectedItem": { "alias": "selectedItem"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "dependencyManager": { "alias": "dependencyManager"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "isTouchDevice": { "alias": "isTouchDevice"; "required": false; }; "strategy": { "alias": "strategy"; "required": false; }; "pendingStateController": { "alias": "pendingStateController"; "required": false; }; "handleSlottableRequest": { "alias": "handleSlottableRequest"; "required": false; }; "applyFocusElementLabel": { "alias": "applyFocusElementLabel"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "changeEvent": "change"; "luzmoOpenedEvent": "luzmo-opened"; "luzmoClosedEvent": "luzmo-closed"; "scrollEvent": "scroll"; "keydownEvent": "keydown"; }, never, ["*"], true, never>;
82
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoPicker, "luzmo-picker", ["luzmoPicker"], { "size": { "alias": "size"; "required": false; }; "appliedLabel": { "alias": "appliedLabel"; "required": false; }; "button": { "alias": "button"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "pending": { "alias": "pending"; "required": false; }; "pendingLabel": { "alias": "pendingLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "open": { "alias": "open"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "labelAlignment": { "alias": "labelAlignment"; "required": false; }; "optionsMenu": { "alias": "optionsMenu"; "required": false; }; "overlayElement": { "alias": "overlayElement"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selectedItem": { "alias": "selectedItem"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "dependencyManager": { "alias": "dependencyManager"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; "isTouchDevice": { "alias": "isTouchDevice"; "required": false; }; "strategy": { "alias": "strategy"; "required": false; }; "pendingStateController": { "alias": "pendingStateController"; "required": false; }; "handleSlottableRequest": { "alias": "handleSlottableRequest"; "required": false; }; "applyFocusElementLabel": { "alias": "applyFocusElementLabel"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "changeEvent": "changeEvent"; "luzmoOpened": "luzmo-opened"; "luzmoClosed": "luzmo-closed"; "scrollEvent": "scrollEvent"; "keydownEvent": "keydownEvent"; }, never, ["*"], true, never>;
83
83
  }
84
84
  /** The underlying custom element type for LuzmoPicker */
85
85
  export type LuzmoPickerElement = LuzmoPickerHostElement;
@@ -59,14 +59,14 @@ export class LuzmoPicker {
59
59
  /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
60
60
  tabIndex;
61
61
  /** Announces that the `value` of the element has changed */
62
- changeEvent = output({ alias: 'change' });
62
+ changeEvent = output();
63
63
  /** Announces that the overlay has been opened */
64
- luzmoOpenedEvent = output({ alias: 'luzmo-opened' });
64
+ luzmoOpened = output({ alias: 'luzmo-opened' });
65
65
  /** Announces that the overlay has been closed */
66
- luzmoClosedEvent = output({ alias: 'luzmo-closed' });
67
- scrollEvent = output({ alias: 'scroll' });
66
+ luzmoClosed = output({ alias: 'luzmo-closed' });
67
+ scrollEvent = output();
68
68
  /** Trick :focus-visible polyfill into thinking keyboard based focus */
69
- keydownEvent = output({ alias: 'keydown' });
69
+ keydownEvent = output();
70
70
  constructor() {
71
71
  this.bindEvents();
72
72
  this.destroyRef.onDestroy(() => {
@@ -181,7 +181,6 @@ export class LuzmoPicker {
181
181
  }
182
182
  bindEvents() {
183
183
  this.listenerCleanup.push(this.renderer.listen(this.host, 'change', (event) => {
184
- this.changeEvent.emit(event);
185
184
  if (!this.isWritingValue) {
186
185
  const eventWithDetail = event;
187
186
  const eventTarget = event.target;
@@ -193,19 +192,19 @@ export class LuzmoPicker {
193
192
  : (detailRecord === undefined ? detail : undefined)
194
193
  ?? eventTarget?.['value']
195
194
  ?? hostRecord['value']);
196
- if (Object.is(this.lastCvaValue, nextValue)) {
197
- return;
195
+ if (!Object.is(this.lastCvaValue, nextValue)) {
196
+ this.lastCvaValue = nextValue;
197
+ this.setHostProperty('value', nextValue);
198
+ this.onChange(nextValue);
198
199
  }
199
- this.lastCvaValue = nextValue;
200
- this.setHostProperty('value', nextValue);
201
- this.onChange(nextValue);
202
200
  }
201
+ this.changeEvent.emit(event);
203
202
  }));
204
203
  this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-opened', (event) => {
205
- this.luzmoOpenedEvent.emit(event);
204
+ this.luzmoOpened.emit(event);
206
205
  }));
207
206
  this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-closed', (event) => {
208
- this.luzmoClosedEvent.emit(event);
207
+ this.luzmoClosed.emit(event);
209
208
  }));
210
209
  this.listenerCleanup.push(this.renderer.listen(this.host, 'scroll', (event) => {
211
210
  this.scrollEvent.emit(event);
@@ -252,7 +251,7 @@ export class LuzmoPicker {
252
251
  return this.host.close();
253
252
  }
254
253
  static ɵfac = function LuzmoPicker_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoPicker)(); };
255
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoPicker, selectors: [["luzmo-picker"]], inputs: { size: "size", appliedLabel: "appliedLabel", button: "button", disabled: "disabled", focused: "focused", icons: "icons", variant: "variant", invalid: "invalid", pending: "pending", pendingLabel: "pendingLabel", label: "label", open: "open", readonly: "readonly", labelAlignment: "labelAlignment", optionsMenu: "optionsMenu", overlayElement: "overlayElement", placement: "placement", quiet: "quiet", value: "value", selectedItem: "selectedItem", selects: "selects", dependencyManager: "dependencyManager", isMobile: "isMobile", isTouchDevice: "isTouchDevice", strategy: "strategy", pendingStateController: "pendingStateController", handleSlottableRequest: "handleSlottableRequest", applyFocusElementLabel: "applyFocusElementLabel", tabIndex: "tabIndex" }, outputs: { changeEvent: "change", luzmoOpenedEvent: "luzmo-opened", luzmoClosedEvent: "luzmo-closed", scrollEvent: "scroll", keydownEvent: "keydown" }, exportAs: ["luzmoPicker"], features: [i0.ɵɵProvidersFeature([
254
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoPicker, selectors: [["luzmo-picker"]], inputs: { size: "size", appliedLabel: "appliedLabel", button: "button", disabled: "disabled", focused: "focused", icons: "icons", variant: "variant", invalid: "invalid", pending: "pending", pendingLabel: "pendingLabel", label: "label", open: "open", readonly: "readonly", labelAlignment: "labelAlignment", optionsMenu: "optionsMenu", overlayElement: "overlayElement", placement: "placement", quiet: "quiet", value: "value", selectedItem: "selectedItem", selects: "selects", dependencyManager: "dependencyManager", isMobile: "isMobile", isTouchDevice: "isTouchDevice", strategy: "strategy", pendingStateController: "pendingStateController", handleSlottableRequest: "handleSlottableRequest", applyFocusElementLabel: "applyFocusElementLabel", tabIndex: "tabIndex" }, outputs: { changeEvent: "changeEvent", luzmoOpened: "luzmo-opened", luzmoClosed: "luzmo-closed", scrollEvent: "scrollEvent", keydownEvent: "keydownEvent" }, exportAs: ["luzmoPicker"], features: [i0.ɵɵProvidersFeature([
256
255
  {
257
256
  provide: NG_VALUE_ACCESSOR,
258
257
  useExisting: forwardRef(() => LuzmoPicker),
@@ -366,5 +365,5 @@ export class LuzmoPicker {
366
365
  }], tabIndex: [{
367
366
  type: Input,
368
367
  args: [{ alias: 'tabIndex' }]
369
- }], changeEvent: [{ type: i0.Output, args: ["change"] }], luzmoOpenedEvent: [{ type: i0.Output, args: ["luzmo-opened"] }], luzmoClosedEvent: [{ type: i0.Output, args: ["luzmo-closed"] }], scrollEvent: [{ type: i0.Output, args: ["scroll"] }], keydownEvent: [{ type: i0.Output, args: ["keydown"] }] }); })();
368
+ }], changeEvent: [{ type: i0.Output, args: ["changeEvent"] }], luzmoOpened: [{ type: i0.Output, args: ["luzmo-opened"] }], luzmoClosed: [{ type: i0.Output, args: ["luzmo-closed"] }], scrollEvent: [{ type: i0.Output, args: ["scrollEvent"] }], keydownEvent: [{ type: i0.Output, args: ["keydownEvent"] }] }); })();
370
369
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoPicker, { className: "LuzmoPicker", filePath: "components/picker.ts", lineNumber: 28 }); })();
@@ -27,9 +27,9 @@ export declare class LuzmoProgressSteps implements OnChanges {
27
27
  noAnimate?: boolean;
28
28
  size?: ('xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl');
29
29
  /** Fired when a step is collapsed */
30
- readonly luzmoStepCollapsedEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
30
+ readonly luzmoStepCollapsed: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
31
31
  /** Fired when a step is expanded */
32
- readonly luzmoStepExpandedEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
32
+ readonly luzmoStepExpanded: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
33
33
  constructor();
34
34
  ngOnChanges(changes: SimpleChanges): void;
35
35
  /**
@@ -41,7 +41,7 @@ export declare class LuzmoProgressSteps implements OnChanges {
41
41
  private setHostProperty;
42
42
  private bindEvents;
43
43
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoProgressSteps, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoProgressSteps, "luzmo-progress-steps", ["luzmoProgressSteps"], { "progress": { "alias": "progress"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "condensed": { "alias": "condensed"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "noAnimate": { "alias": "noAnimate"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoStepCollapsedEvent": "luzmo-step-collapsed"; "luzmoStepExpandedEvent": "luzmo-step-expanded"; }, never, ["*"], true, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoProgressSteps, "luzmo-progress-steps", ["luzmoProgressSteps"], { "progress": { "alias": "progress"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "condensed": { "alias": "condensed"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "noAnimate": { "alias": "noAnimate"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoStepCollapsed": "luzmo-step-collapsed"; "luzmoStepExpanded": "luzmo-step-expanded"; }, never, ["*"], true, never>;
45
45
  }
46
46
  /** The underlying custom element type for LuzmoProgressSteps */
47
47
  export type LuzmoProgressStepsElement = LuzmoProgressStepsHostElement;
@@ -31,9 +31,9 @@ export class LuzmoProgressSteps {
31
31
  noAnimate;
32
32
  size;
33
33
  /** Fired when a step is collapsed */
34
- luzmoStepCollapsedEvent = output({ alias: 'luzmo-step-collapsed' });
34
+ luzmoStepCollapsed = output({ alias: 'luzmo-step-collapsed' });
35
35
  /** Fired when a step is expanded */
36
- luzmoStepExpandedEvent = output({ alias: 'luzmo-step-expanded' });
36
+ luzmoStepExpanded = output({ alias: 'luzmo-step-expanded' });
37
37
  constructor() {
38
38
  this.bindEvents();
39
39
  this.destroyRef.onDestroy(() => {
@@ -85,14 +85,14 @@ export class LuzmoProgressSteps {
85
85
  }
86
86
  bindEvents() {
87
87
  this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-step-collapsed', (event) => {
88
- this.luzmoStepCollapsedEvent.emit(event);
88
+ this.luzmoStepCollapsed.emit(event);
89
89
  }));
90
90
  this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-step-expanded', (event) => {
91
- this.luzmoStepExpandedEvent.emit(event);
91
+ this.luzmoStepExpanded.emit(event);
92
92
  }));
93
93
  }
94
94
  static ɵfac = function LuzmoProgressSteps_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoProgressSteps)(); };
95
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoProgressSteps, selectors: [["luzmo-progress-steps"]], inputs: { progress: "progress", locale: "locale", collapsed: "collapsed", displayMode: "displayMode", condensed: "condensed", labels: "labels", noAnimate: "noAnimate", size: "size" }, outputs: { luzmoStepCollapsedEvent: "luzmo-step-collapsed", luzmoStepExpandedEvent: "luzmo-step-expanded" }, exportAs: ["luzmoProgressSteps"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoProgressSteps_Template(rf, ctx) { if (rf & 1) {
95
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoProgressSteps, selectors: [["luzmo-progress-steps"]], inputs: { progress: "progress", locale: "locale", collapsed: "collapsed", displayMode: "displayMode", condensed: "condensed", labels: "labels", noAnimate: "noAnimate", size: "size" }, outputs: { luzmoStepCollapsed: "luzmo-step-collapsed", luzmoStepExpanded: "luzmo-step-expanded" }, exportAs: ["luzmoProgressSteps"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoProgressSteps_Template(rf, ctx) { if (rf & 1) {
96
96
  i0.ɵɵprojectionDef();
97
97
  i0.ɵɵprojection(0);
98
98
  } }, encapsulation: 2 });
@@ -130,5 +130,5 @@ export class LuzmoProgressSteps {
130
130
  }], size: [{
131
131
  type: Input,
132
132
  args: [{ alias: 'size' }]
133
- }], luzmoStepCollapsedEvent: [{ type: i0.Output, args: ["luzmo-step-collapsed"] }], luzmoStepExpandedEvent: [{ type: i0.Output, args: ["luzmo-step-expanded"] }] }); })();
133
+ }], luzmoStepCollapsed: [{ type: i0.Output, args: ["luzmo-step-collapsed"] }], luzmoStepExpanded: [{ type: i0.Output, args: ["luzmo-step-expanded"] }] }); })();
134
134
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoProgressSteps, { className: "LuzmoProgressSteps", filePath: "components/progress-steps.ts", lineNumber: 16 }); })();
@@ -58,25 +58,25 @@ export declare class LuzmoPromptBox implements OnChanges {
58
58
  segments?: PromptBoxSegment[];
59
59
  size?: ('xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl');
60
60
  /** Fired when the prompt is submitted. */
61
- readonly luzmoSubmitEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
61
+ readonly luzmoSubmit: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
62
62
  /** Fired when the stop button is clicked. */
63
- readonly luzmoStopEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
63
+ readonly luzmoStop: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
64
64
  /** Fired when a trigger menu opens, closes, or the search string changes. */
65
- readonly luzmoTriggerChangeEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
65
+ readonly luzmoTriggerChange: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
66
66
  /** Fired when an inline element badge is inserted. */
67
- readonly luzmoElementInsertedEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
67
+ readonly luzmoElementInserted: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
68
68
  /** Fired when an inline element badge is removed. */
69
- readonly luzmoElementRemovedEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
69
+ readonly luzmoElementRemoved: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
70
70
  /** Fired when attachments change. */
71
- readonly luzmoAttachmentsChangeEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
71
+ readonly luzmoAttachmentsChange: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
72
72
  /** Fired when recording state changes. */
73
- readonly luzmoRecordEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
73
+ readonly luzmoRecord: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
74
74
  /** Fired when recording finishes. */
75
- readonly luzmoRecordingCompleteEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
75
+ readonly luzmoRecordingComplete: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
76
76
  /** Fired when recording is cancelled. */
77
- readonly luzmoRecordCancelEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
77
+ readonly luzmoRecordCancel: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
78
78
  /** Fired when recording errors. */
79
- readonly luzmoRecordErrorEvent: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
79
+ readonly luzmoRecordError: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
80
80
  constructor();
81
81
  ngOnChanges(changes: SimpleChanges): void;
82
82
  /**
@@ -91,7 +91,7 @@ export declare class LuzmoPromptBox implements OnChanges {
91
91
  clear(): void;
92
92
  submit(): void;
93
93
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoPromptBox, never>;
94
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoPromptBox, "luzmo-prompt-box", ["luzmoPromptBox"], { "rows": { "alias": "rows"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "recording": { "alias": "recording"; "required": false; }; "hideSubmit": { "alias": "hideSubmit"; "required": false; }; "disableSubmit": { "alias": "disableSubmit"; "required": false; }; "singleLine": { "alias": "singleLine"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "pending": { "alias": "pending"; "required": false; }; "stoppable": { "alias": "stoppable"; "required": false; }; "allowImages": { "alias": "allowImages"; "required": false; }; "allowFiles": { "alias": "allowFiles"; "required": false; }; "acceptedFileTypes": { "alias": "acceptedFileTypes"; "required": false; }; "fileIcons": { "alias": "fileIcons"; "required": false; }; "removeAttachmentLabel": { "alias": "removeAttachmentLabel"; "required": false; }; "allowElements": { "alias": "allowElements"; "required": false; }; "acceptedElementTypes": { "alias": "acceptedElementTypes"; "required": false; }; "triggers": { "alias": "triggers"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSubmitEvent": "luzmo-submit"; "luzmoStopEvent": "luzmo-stop"; "luzmoTriggerChangeEvent": "luzmo-trigger-change"; "luzmoElementInsertedEvent": "luzmo-element-inserted"; "luzmoElementRemovedEvent": "luzmo-element-removed"; "luzmoAttachmentsChangeEvent": "luzmo-attachments-change"; "luzmoRecordEvent": "luzmo-record"; "luzmoRecordingCompleteEvent": "luzmo-recording-complete"; "luzmoRecordCancelEvent": "luzmo-record-cancel"; "luzmoRecordErrorEvent": "luzmo-record-error"; }, never, ["*"], true, never>;
94
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoPromptBox, "luzmo-prompt-box", ["luzmoPromptBox"], { "rows": { "alias": "rows"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "recording": { "alias": "recording"; "required": false; }; "hideSubmit": { "alias": "hideSubmit"; "required": false; }; "disableSubmit": { "alias": "disableSubmit"; "required": false; }; "singleLine": { "alias": "singleLine"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "pending": { "alias": "pending"; "required": false; }; "stoppable": { "alias": "stoppable"; "required": false; }; "allowImages": { "alias": "allowImages"; "required": false; }; "allowFiles": { "alias": "allowFiles"; "required": false; }; "acceptedFileTypes": { "alias": "acceptedFileTypes"; "required": false; }; "fileIcons": { "alias": "fileIcons"; "required": false; }; "removeAttachmentLabel": { "alias": "removeAttachmentLabel"; "required": false; }; "allowElements": { "alias": "allowElements"; "required": false; }; "acceptedElementTypes": { "alias": "acceptedElementTypes"; "required": false; }; "triggers": { "alias": "triggers"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSubmit": "luzmo-submit"; "luzmoStop": "luzmo-stop"; "luzmoTriggerChange": "luzmo-trigger-change"; "luzmoElementInserted": "luzmo-element-inserted"; "luzmoElementRemoved": "luzmo-element-removed"; "luzmoAttachmentsChange": "luzmo-attachments-change"; "luzmoRecord": "luzmo-record"; "luzmoRecordingComplete": "luzmo-recording-complete"; "luzmoRecordCancel": "luzmo-record-cancel"; "luzmoRecordError": "luzmo-record-error"; }, never, ["*"], true, never>;
95
95
  }
96
96
  /** The underlying custom element type for LuzmoPromptBox */
97
97
  export type LuzmoPromptBoxElement = LuzmoPromptBoxHostElement;