@luzmo/ngx-lucero 2.0.1 → 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 (106) 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 +59 -0
  87. package/esm/components/split-view.js +181 -0
  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/esm/index.d.ts +4 -2
  105. package/esm/index.js +4 -0
  106. package/package.json +2 -2
@@ -46,7 +46,7 @@ export declare class LuzmoClearButton implements OnChanges {
46
46
  private bindEvents;
47
47
  focus(options?: FocusOptions): void;
48
48
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoClearButton, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoClearButton, "luzmo-clear-button", ["luzmoClearButton"], { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "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>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoClearButton, "luzmo-clear-button", ["luzmoClearButton"], { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "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>;
50
50
  }
51
51
  /** The underlying custom element type for LuzmoClearButton */
52
52
  export type LuzmoClearButtonElement = LuzmoClearButtonHostElement;
@@ -41,7 +41,7 @@ export class LuzmoClearButton {
41
41
  /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
42
42
  tabIndex;
43
43
  /** Trick :focus-visible polyfill into thinking keyboard based focus */
44
- keydownEvent = output({ alias: 'keydown' });
44
+ keydownEvent = output();
45
45
  constructor() {
46
46
  this.bindEvents();
47
47
  this.destroyRef.onDestroy(() => {
@@ -112,7 +112,7 @@ export class LuzmoClearButton {
112
112
  return this.host.focus(options);
113
113
  }
114
114
  static ɵfac = function LuzmoClearButton_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoClearButton)(); };
115
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoClearButton, selectors: [["luzmo-clear-button"]], inputs: { variant: "variant", size: "size", download: "download", label: "label", href: "href", target: "target", referrerpolicy: "referrerpolicy", rel: "rel", active: "active", type: "type", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { keydownEvent: "keydown" }, exportAs: ["luzmoClearButton"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoClearButton_Template(rf, ctx) { if (rf & 1) {
115
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoClearButton, selectors: [["luzmo-clear-button"]], inputs: { variant: "variant", size: "size", download: "download", label: "label", href: "href", target: "target", referrerpolicy: "referrerpolicy", rel: "rel", active: "active", type: "type", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { keydownEvent: "keydownEvent" }, exportAs: ["luzmoClearButton"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoClearButton_Template(rf, ctx) { if (rf & 1) {
116
116
  i0.ɵɵprojectionDef();
117
117
  i0.ɵɵprojection(0);
118
118
  } }, encapsulation: 2 });
@@ -162,5 +162,5 @@ export class LuzmoClearButton {
162
162
  }], tabIndex: [{
163
163
  type: Input,
164
164
  args: [{ alias: 'tabIndex' }]
165
- }], keydownEvent: [{ type: i0.Output, args: ["keydown"] }] }); })();
165
+ }], keydownEvent: [{ type: i0.Output, args: ["keydownEvent"] }] }); })();
166
166
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoClearButton, { className: "LuzmoClearButton", filePath: "components/clear-button.ts", lineNumber: 18 }); })();
@@ -47,7 +47,7 @@ export declare class LuzmoCloseButton implements OnChanges {
47
47
  private bindEvents;
48
48
  focus(options?: FocusOptions): void;
49
49
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoCloseButton, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoCloseButton, "luzmo-close-button", ["luzmoCloseButton"], { "variant": { "alias": "variant"; "required": false; }; "staticColor": { "alias": "staticColor"; "required": false; }; "size": { "alias": "size"; "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<LuzmoCloseButton, "luzmo-close-button", ["luzmoCloseButton"], { "variant": { "alias": "variant"; "required": false; }; "staticColor": { "alias": "staticColor"; "required": false; }; "size": { "alias": "size"; "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 LuzmoCloseButton */
53
53
  export type LuzmoCloseButtonElement = LuzmoCloseButtonHostElement;
@@ -42,7 +42,7 @@ export class LuzmoCloseButton {
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(() => {
@@ -116,7 +116,7 @@ export class LuzmoCloseButton {
116
116
  return this.host.focus(options);
117
117
  }
118
118
  static ɵfac = function LuzmoCloseButton_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoCloseButton)(); };
119
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoCloseButton, selectors: [["luzmo-close-button"]], inputs: { variant: "variant", staticColor: "staticColor", size: "size", download: "download", label: "label", href: "href", target: "target", referrerpolicy: "referrerpolicy", rel: "rel", active: "active", type: "type", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { keydownEvent: "keydown" }, exportAs: ["luzmoCloseButton"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoCloseButton_Template(rf, ctx) { if (rf & 1) {
119
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoCloseButton, selectors: [["luzmo-close-button"]], inputs: { variant: "variant", staticColor: "staticColor", size: "size", download: "download", label: "label", href: "href", target: "target", referrerpolicy: "referrerpolicy", rel: "rel", active: "active", type: "type", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { keydownEvent: "keydownEvent" }, exportAs: ["luzmoCloseButton"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoCloseButton_Template(rf, ctx) { if (rf & 1) {
120
120
  i0.ɵɵprojectionDef();
121
121
  i0.ɵɵprojection(0);
122
122
  } }, encapsulation: 2 });
@@ -169,5 +169,5 @@ export class LuzmoCloseButton {
169
169
  }], tabIndex: [{
170
170
  type: Input,
171
171
  args: [{ alias: 'tabIndex' }]
172
- }], keydownEvent: [{ type: i0.Output, args: ["keydown"] }] }); })();
172
+ }], keydownEvent: [{ type: i0.Output, args: ["keydownEvent"] }] }); })();
173
173
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoCloseButton, { className: "LuzmoCloseButton", filePath: "components/close-button.ts", lineNumber: 18 }); })();
@@ -37,7 +37,7 @@ export declare class LuzmoColorArea implements OnChanges {
37
37
  private bindEvents;
38
38
  focus(focusOptions: FocusOptions): void;
39
39
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoColorArea, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorArea, "luzmo-color-area", ["luzmoColorArea"], { "disabled": { "alias": "disabled"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "labelX": { "alias": "labelX"; "required": false; }; "labelY": { "alias": "labelY"; "required": false; }; "hue": { "alias": "hue"; "required": false; }; "color": { "alias": "color"; "required": false; }; "x": { "alias": "x"; "required": false; }; "y": { "alias": "y"; "required": false; }; "step": { "alias": "step"; "required": false; }; "inputX": { "alias": "inputX"; "required": false; }; "inputY": { "alias": "inputY"; "required": false; }; }, { "inputEvent": "input"; "changeEvent": "change"; }, never, ["*"], true, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorArea, "luzmo-color-area", ["luzmoColorArea"], { "disabled": { "alias": "disabled"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "labelX": { "alias": "labelX"; "required": false; }; "labelY": { "alias": "labelY"; "required": false; }; "hue": { "alias": "hue"; "required": false; }; "color": { "alias": "color"; "required": false; }; "x": { "alias": "x"; "required": false; }; "y": { "alias": "y"; "required": false; }; "step": { "alias": "step"; "required": false; }; "inputX": { "alias": "inputX"; "required": false; }; "inputY": { "alias": "inputY"; "required": false; }; }, { "inputEvent": "inputEvent"; "changeEvent": "changeEvent"; }, never, ["*"], true, never>;
41
41
  }
42
42
  /** The underlying custom element type for LuzmoColorArea */
43
43
  export type LuzmoColorAreaElement = LuzmoColorAreaHostElement;
@@ -29,9 +29,9 @@ export class LuzmoColorArea {
29
29
  inputX;
30
30
  inputY;
31
31
  /** The value of the Color Area has changed. */
32
- inputEvent = output({ alias: 'input' });
32
+ inputEvent = output();
33
33
  /** An alteration to the value of the Color Area has been committed by the user. */
34
- changeEvent = output({ alias: 'change' });
34
+ changeEvent = output();
35
35
  constructor() {
36
36
  this.bindEvents();
37
37
  this.destroyRef.onDestroy(() => {
@@ -102,7 +102,7 @@ export class LuzmoColorArea {
102
102
  return this.host.focus(focusOptions);
103
103
  }
104
104
  static ɵfac = function LuzmoColorArea_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoColorArea)(); };
105
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorArea, selectors: [["luzmo-color-area"]], inputs: { disabled: "disabled", focused: "focused", labelX: "labelX", labelY: "labelY", hue: "hue", color: "color", x: "x", y: "y", step: "step", inputX: "inputX", inputY: "inputY" }, outputs: { inputEvent: "input", changeEvent: "change" }, exportAs: ["luzmoColorArea"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorArea_Template(rf, ctx) { if (rf & 1) {
105
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorArea, selectors: [["luzmo-color-area"]], inputs: { disabled: "disabled", focused: "focused", labelX: "labelX", labelY: "labelY", hue: "hue", color: "color", x: "x", y: "y", step: "step", inputX: "inputX", inputY: "inputY" }, outputs: { inputEvent: "inputEvent", changeEvent: "changeEvent" }, exportAs: ["luzmoColorArea"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorArea_Template(rf, ctx) { if (rf & 1) {
106
106
  i0.ɵɵprojectionDef();
107
107
  i0.ɵɵprojection(0);
108
108
  } }, encapsulation: 2 });
@@ -149,5 +149,5 @@ export class LuzmoColorArea {
149
149
  }], inputY: [{
150
150
  type: Input,
151
151
  args: [{ alias: 'inputY' }]
152
- }], inputEvent: [{ type: i0.Output, args: ["input"] }], changeEvent: [{ type: i0.Output, args: ["change"] }] }); })();
152
+ }], inputEvent: [{ type: i0.Output, args: ["inputEvent"] }], changeEvent: [{ type: i0.Output, args: ["changeEvent"] }] }); })();
153
153
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoColorArea, { className: "LuzmoColorArea", filePath: "components/color-area.ts", lineNumber: 17 }); })();
@@ -93,7 +93,7 @@ export declare class LuzmoColorField implements OnChanges, ControlValueAccessor
93
93
  select(): void;
94
94
  focus(options?: FocusOptions): void;
95
95
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoColorField, never>;
96
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorField, "luzmo-color-field", ["luzmoColorField"], { "viewColor": { "alias": "viewColor"; "required": false; }; "noAlphaChannel": { "alias": "noAlphaChannel"; "required": false; }; "value": { "alias": "value"; "required": false; }; "helpTextManager": { "alias": "helpTextManager"; "required": false; }; "size": { "alias": "size"; "required": false; }; "allowedKeys": { "alias": "allowedKeys"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "hideValidationIcons": { "alias": "hideValidationIcons"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "inputEvent": "input"; "changeEvent": "change"; "keypressEvent": "keypress"; "keydownEvent": "keydown"; }, never, ["*"], true, never>;
96
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorField, "luzmo-color-field", ["luzmoColorField"], { "viewColor": { "alias": "viewColor"; "required": false; }; "noAlphaChannel": { "alias": "noAlphaChannel"; "required": false; }; "value": { "alias": "value"; "required": false; }; "helpTextManager": { "alias": "helpTextManager"; "required": false; }; "size": { "alias": "size"; "required": false; }; "allowedKeys": { "alias": "allowedKeys"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "hideValidationIcons": { "alias": "hideValidationIcons"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "inputEvent": "inputEvent"; "changeEvent": "changeEvent"; "keypressEvent": "keypressEvent"; "keydownEvent": "keydownEvent"; }, never, ["*"], true, never>;
97
97
  }
98
98
  /** The underlying custom element type for LuzmoColorField */
99
99
  export type LuzmoColorFieldElement = LuzmoColorFieldHostElement;
@@ -66,13 +66,13 @@ export class LuzmoColorField {
66
66
  /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
67
67
  tabIndex;
68
68
  /** The value of the color-field has changed. */
69
- inputEvent = output({ alias: 'input' });
69
+ inputEvent = output();
70
70
  /** An alteration to the value of the color-field has been committed by the user. */
71
- changeEvent = output({ alias: 'change' });
71
+ changeEvent = output();
72
72
  /** A key has been pressed. */
73
- keypressEvent = output({ alias: 'keypress' });
73
+ keypressEvent = output();
74
74
  /** Trick :focus-visible polyfill into thinking keyboard based focus */
75
- keydownEvent = output({ alias: 'keydown' });
75
+ keydownEvent = output();
76
76
  constructor() {
77
77
  this.bindEvents();
78
78
  this.destroyRef.onDestroy(() => {
@@ -178,7 +178,6 @@ export class LuzmoColorField {
178
178
  }
179
179
  bindEvents() {
180
180
  this.listenerCleanup.push(this.renderer.listen(this.host, 'input', (event) => {
181
- this.inputEvent.emit(event);
182
181
  if (!this.isWritingValue) {
183
182
  const eventWithDetail = event;
184
183
  const eventTarget = event.target;
@@ -190,13 +189,13 @@ export class LuzmoColorField {
190
189
  : (detailRecord === undefined ? detail : undefined)
191
190
  ?? eventTarget?.['value']
192
191
  ?? hostRecord['value']);
193
- if (Object.is(this.lastCvaValue, nextValue)) {
194
- return;
192
+ if (!Object.is(this.lastCvaValue, nextValue)) {
193
+ this.lastCvaValue = nextValue;
194
+ this.setHostProperty('value', nextValue);
195
+ this.onChange(nextValue);
195
196
  }
196
- this.lastCvaValue = nextValue;
197
- this.setHostProperty('value', nextValue);
198
- this.onChange(nextValue);
199
197
  }
198
+ this.inputEvent.emit(event);
200
199
  }));
201
200
  this.listenerCleanup.push(this.renderer.listen(this.host, 'change', (event) => {
202
201
  this.changeEvent.emit(event);
@@ -251,7 +250,7 @@ export class LuzmoColorField {
251
250
  return this.host.focus(options);
252
251
  }
253
252
  static ɵfac = function LuzmoColorField_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoColorField)(); };
254
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorField, selectors: [["luzmo-color-field"]], inputs: { viewColor: "viewColor", noAlphaChannel: "noAlphaChannel", value: "value", helpTextManager: "helpTextManager", size: "size", allowedKeys: "allowedKeys", invalid: "invalid", label: "label", name: "name", placeholder: "placeholder", type: "type", pattern: "pattern", grows: "grows", maxlength: "maxlength", minlength: "minlength", multiline: "multiline", readonly: "readonly", rows: "rows", maxRows: "maxRows", valid: "valid", hideValidationIcons: "hideValidationIcons", quiet: "quiet", required: "required", autocomplete: "autocomplete", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { inputEvent: "input", changeEvent: "change", keypressEvent: "keypress", keydownEvent: "keydown" }, exportAs: ["luzmoColorField"], features: [i0.ɵɵProvidersFeature([
253
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorField, selectors: [["luzmo-color-field"]], inputs: { viewColor: "viewColor", noAlphaChannel: "noAlphaChannel", value: "value", helpTextManager: "helpTextManager", size: "size", allowedKeys: "allowedKeys", invalid: "invalid", label: "label", name: "name", placeholder: "placeholder", type: "type", pattern: "pattern", grows: "grows", maxlength: "maxlength", minlength: "minlength", multiline: "multiline", readonly: "readonly", rows: "rows", maxRows: "maxRows", valid: "valid", hideValidationIcons: "hideValidationIcons", quiet: "quiet", required: "required", autocomplete: "autocomplete", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { inputEvent: "inputEvent", changeEvent: "changeEvent", keypressEvent: "keypressEvent", keydownEvent: "keydownEvent" }, exportAs: ["luzmoColorField"], features: [i0.ɵɵProvidersFeature([
255
254
  {
256
255
  provide: NG_VALUE_ACCESSOR,
257
256
  useExisting: forwardRef(() => LuzmoColorField),
@@ -356,5 +355,5 @@ export class LuzmoColorField {
356
355
  }], tabIndex: [{
357
356
  type: Input,
358
357
  args: [{ alias: 'tabIndex' }]
359
- }], inputEvent: [{ type: i0.Output, args: ["input"] }], changeEvent: [{ type: i0.Output, args: ["change"] }], keypressEvent: [{ type: i0.Output, args: ["keypress"] }], keydownEvent: [{ type: i0.Output, args: ["keydown"] }] }); })();
358
+ }], inputEvent: [{ type: i0.Output, args: ["inputEvent"] }], changeEvent: [{ type: i0.Output, args: ["changeEvent"] }], keypressEvent: [{ type: i0.Output, args: ["keypressEvent"] }], keydownEvent: [{ type: i0.Output, args: ["keydownEvent"] }] }); })();
360
359
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoColorField, { className: "LuzmoColorField", filePath: "components/color-field.ts", lineNumber: 23 }); })();
@@ -38,7 +38,7 @@ export declare class LuzmoColorMenu implements OnChanges {
38
38
  private bindEvents;
39
39
  focus(options?: FocusOptions): void;
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoColorMenu, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorMenu, "luzmo-color-menu", ["luzmoColorMenu"], { "color": { "alias": "color"; "required": false; }; "noAlphaChannel": { "alias": "noAlphaChannel"; "required": false; }; "swatches": { "alias": "swatches"; "required": false; }; "areaElement": { "alias": "areaElement"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "changeEvent": "change"; "keydownEvent": "keydown"; }, never, ["*"], true, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorMenu, "luzmo-color-menu", ["luzmoColorMenu"], { "color": { "alias": "color"; "required": false; }; "noAlphaChannel": { "alias": "noAlphaChannel"; "required": false; }; "swatches": { "alias": "swatches"; "required": false; }; "areaElement": { "alias": "areaElement"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "changeEvent": "changeEvent"; "keydownEvent": "keydownEvent"; }, never, ["*"], true, never>;
42
42
  }
43
43
  /** The underlying custom element type for LuzmoColorMenu */
44
44
  export type LuzmoColorMenuElement = LuzmoColorMenuHostElement;
@@ -28,9 +28,9 @@ export class LuzmoColorMenu {
28
28
  /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
29
29
  tabIndex;
30
30
  /** An alteration to the value of the Color Menu has been committed by the user. */
31
- changeEvent = output({ alias: 'change' });
31
+ changeEvent = output();
32
32
  /** Trick :focus-visible polyfill into thinking keyboard based focus */
33
- keydownEvent = output({ alias: 'keydown' });
33
+ keydownEvent = output();
34
34
  constructor() {
35
35
  this.bindEvents();
36
36
  this.destroyRef.onDestroy(() => {
@@ -89,7 +89,7 @@ export class LuzmoColorMenu {
89
89
  return this.host.focus(options);
90
90
  }
91
91
  static ɵfac = function LuzmoColorMenu_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoColorMenu)(); };
92
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorMenu, selectors: [["luzmo-color-menu"]], inputs: { color: "color", noAlphaChannel: "noAlphaChannel", swatches: "swatches", areaElement: "areaElement", size: "size", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { changeEvent: "change", keydownEvent: "keydown" }, exportAs: ["luzmoColorMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorMenu_Template(rf, ctx) { if (rf & 1) {
92
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorMenu, selectors: [["luzmo-color-menu"]], inputs: { color: "color", noAlphaChannel: "noAlphaChannel", swatches: "swatches", areaElement: "areaElement", size: "size", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { changeEvent: "changeEvent", keydownEvent: "keydownEvent" }, exportAs: ["luzmoColorMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorMenu_Template(rf, ctx) { if (rf & 1) {
93
93
  i0.ɵɵprojectionDef();
94
94
  i0.ɵɵprojection(0);
95
95
  } }, encapsulation: 2 });
@@ -124,5 +124,5 @@ export class LuzmoColorMenu {
124
124
  }], tabIndex: [{
125
125
  type: Input,
126
126
  args: [{ alias: 'tabIndex' }]
127
- }], changeEvent: [{ type: i0.Output, args: ["change"] }], keydownEvent: [{ type: i0.Output, args: ["keydown"] }] }); })();
127
+ }], changeEvent: [{ type: i0.Output, args: ["changeEvent"] }], keydownEvent: [{ type: i0.Output, args: ["keydownEvent"] }] }); })();
128
128
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoColorMenu, { className: "LuzmoColorMenu", filePath: "components/color-menu.ts", lineNumber: 15 }); })();
@@ -35,7 +35,7 @@ export declare class LuzmoColorPaletteGroup implements OnChanges {
35
35
  private bindEvents;
36
36
  focus(options?: FocusOptions): void;
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoColorPaletteGroup, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorPaletteGroup, "luzmo-color-palette-group", ["luzmoColorPaletteGroup"], { "disabled": { "alias": "disabled"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "rovingTabindexController": { "alias": "rovingTabindexController"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "slotElement": { "alias": "slotElement"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "changeEvent": "change"; }, never, ["*"], true, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorPaletteGroup, "luzmo-color-palette-group", ["luzmoColorPaletteGroup"], { "disabled": { "alias": "disabled"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "rovingTabindexController": { "alias": "rovingTabindexController"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "slotElement": { "alias": "slotElement"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "changeEvent": "changeEvent"; }, never, ["*"], true, never>;
39
39
  }
40
40
  /** The underlying custom element type for LuzmoColorPaletteGroup */
41
41
  export type LuzmoColorPaletteGroupElement = LuzmoColorPaletteGroupHostElement;
@@ -29,7 +29,7 @@ export class LuzmoColorPaletteGroup {
29
29
  slotElement;
30
30
  size;
31
31
  /** Announces the color palette value has been changed by user */
32
- changeEvent = output({ alias: 'change' });
32
+ changeEvent = output();
33
33
  constructor() {
34
34
  this.bindEvents();
35
35
  this.destroyRef.onDestroy(() => {
@@ -85,7 +85,7 @@ export class LuzmoColorPaletteGroup {
85
85
  return this.host.focus(options);
86
86
  }
87
87
  static ɵfac = function LuzmoColorPaletteGroup_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoColorPaletteGroup)(); };
88
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorPaletteGroup, selectors: [["luzmo-color-palette-group"]], inputs: { disabled: "disabled", horizontal: "horizontal", rovingTabindexController: "rovingTabindexController", label: "label", selected: "selected", slotElement: "slotElement", size: "size" }, outputs: { changeEvent: "change" }, exportAs: ["luzmoColorPaletteGroup"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorPaletteGroup_Template(rf, ctx) { if (rf & 1) {
88
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorPaletteGroup, selectors: [["luzmo-color-palette-group"]], inputs: { disabled: "disabled", horizontal: "horizontal", rovingTabindexController: "rovingTabindexController", label: "label", selected: "selected", slotElement: "slotElement", size: "size" }, outputs: { changeEvent: "changeEvent" }, exportAs: ["luzmoColorPaletteGroup"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorPaletteGroup_Template(rf, ctx) { if (rf & 1) {
89
89
  i0.ɵɵprojectionDef();
90
90
  i0.ɵɵprojection(0);
91
91
  } }, encapsulation: 2 });
@@ -120,5 +120,5 @@ export class LuzmoColorPaletteGroup {
120
120
  }], size: [{
121
121
  type: Input,
122
122
  args: [{ alias: 'size' }]
123
- }], changeEvent: [{ type: i0.Output, args: ["change"] }] }); })();
123
+ }], changeEvent: [{ type: i0.Output, args: ["changeEvent"] }] }); })();
124
124
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoColorPaletteGroup, { className: "LuzmoColorPaletteGroup", filePath: "components/color-palette-group.ts", lineNumber: 17 }); })();
@@ -43,7 +43,7 @@ export declare class LuzmoColorPalette implements OnChanges {
43
43
  private bindEvents;
44
44
  focus(options?: FocusOptions): void;
45
45
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoColorPalette, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorPalette, "luzmo-color-palette", ["luzmoColorPalette"], { "disabled": { "alias": "disabled"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "active": { "alias": "active"; "required": false; }; "value": { "alias": "value"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "keydownEvent": "keydown"; }, never, ["*"], true, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorPalette, "luzmo-color-palette", ["luzmoColorPalette"], { "disabled": { "alias": "disabled"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "active": { "alias": "active"; "required": false; }; "value": { "alias": "value"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "keydownEvent": "keydownEvent"; }, never, ["*"], true, never>;
47
47
  }
48
48
  /** The underlying custom element type for LuzmoColorPalette */
49
49
  export type LuzmoColorPaletteElement = LuzmoColorPaletteHostElement;
@@ -35,7 +35,7 @@ export class LuzmoColorPalette {
35
35
  /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
36
36
  tabIndex;
37
37
  /** Trick :focus-visible polyfill into thinking keyboard based focus */
38
- keydownEvent = output({ alias: 'keydown' });
38
+ keydownEvent = output();
39
39
  constructor() {
40
40
  this.bindEvents();
41
41
  this.destroyRef.onDestroy(() => {
@@ -100,7 +100,7 @@ export class LuzmoColorPalette {
100
100
  return this.host.focus(options);
101
101
  }
102
102
  static ɵfac = function LuzmoColorPalette_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoColorPalette)(); };
103
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorPalette, selectors: [["luzmo-color-palette"]], inputs: { disabled: "disabled", focused: "focused", selected: "selected", active: "active", value: "value", colors: "colors", reverse: "reverse", horizontal: "horizontal", size: "size", tabIndex: "tabIndex" }, outputs: { keydownEvent: "keydown" }, exportAs: ["luzmoColorPalette"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorPalette_Template(rf, ctx) { if (rf & 1) {
103
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorPalette, selectors: [["luzmo-color-palette"]], inputs: { disabled: "disabled", focused: "focused", selected: "selected", active: "active", value: "value", colors: "colors", reverse: "reverse", horizontal: "horizontal", size: "size", tabIndex: "tabIndex" }, outputs: { keydownEvent: "keydownEvent" }, exportAs: ["luzmoColorPalette"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorPalette_Template(rf, ctx) { if (rf & 1) {
104
104
  i0.ɵɵprojectionDef();
105
105
  i0.ɵɵprojection(0);
106
106
  } }, encapsulation: 2 });
@@ -144,5 +144,5 @@ export class LuzmoColorPalette {
144
144
  }], tabIndex: [{
145
145
  type: Input,
146
146
  args: [{ alias: 'tabIndex' }]
147
- }], keydownEvent: [{ type: i0.Output, args: ["keydown"] }] }); })();
147
+ }], keydownEvent: [{ type: i0.Output, args: ["keydownEvent"] }] }); })();
148
148
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoColorPalette, { className: "LuzmoColorPalette", filePath: "components/color-palette.ts", lineNumber: 15 }); })();
@@ -44,7 +44,7 @@ export declare class LuzmoColorPicker implements OnChanges {
44
44
  private setHostProperty;
45
45
  private bindEvents;
46
46
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoColorPicker, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorPicker, "luzmo-color-picker", ["luzmoColorPicker"], { "color": { "alias": "color"; "required": false; }; "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "rounding": { "alias": "rounding"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "swatches": { "alias": "swatches"; "required": false; }; "noAlphaChannel": { "alias": "noAlphaChannel"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "changeEvent": "change"; "inputEvent": "input"; }, never, ["*"], true, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorPicker, "luzmo-color-picker", ["luzmoColorPicker"], { "color": { "alias": "color"; "required": false; }; "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "rounding": { "alias": "rounding"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "swatches": { "alias": "swatches"; "required": false; }; "noAlphaChannel": { "alias": "noAlphaChannel"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "changeEvent": "changeEvent"; "inputEvent": "inputEvent"; }, never, ["*"], true, never>;
48
48
  }
49
49
  /** The underlying custom element type for LuzmoColorPicker */
50
50
  export type LuzmoColorPickerElement = LuzmoColorPickerHostElement;
@@ -35,9 +35,9 @@ export class LuzmoColorPicker {
35
35
  noAlphaChannel;
36
36
  size;
37
37
  /** An alteration to the value of the Color Picker has been committed by the user. */
38
- changeEvent = output({ alias: 'change' });
38
+ changeEvent = output();
39
39
  /** The value of the Color Picker has changed. */
40
- inputEvent = output({ alias: 'input' });
40
+ inputEvent = output();
41
41
  constructor() {
42
42
  this.bindEvents();
43
43
  this.destroyRef.onDestroy(() => {
@@ -102,7 +102,7 @@ export class LuzmoColorPicker {
102
102
  }));
103
103
  }
104
104
  static ɵfac = function LuzmoColorPicker_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoColorPicker)(); };
105
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorPicker, selectors: [["luzmo-color-picker"]], inputs: { color: "color", open: "open", disabled: "disabled", readOnly: "readOnly", placement: "placement", rounding: "rounding", shape: "shape", swatches: "swatches", noAlphaChannel: "noAlphaChannel", size: "size" }, outputs: { changeEvent: "change", inputEvent: "input" }, exportAs: ["luzmoColorPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorPicker_Template(rf, ctx) { if (rf & 1) {
105
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorPicker, selectors: [["luzmo-color-picker"]], inputs: { color: "color", open: "open", disabled: "disabled", readOnly: "readOnly", placement: "placement", rounding: "rounding", shape: "shape", swatches: "swatches", noAlphaChannel: "noAlphaChannel", size: "size" }, outputs: { changeEvent: "changeEvent", inputEvent: "inputEvent" }, exportAs: ["luzmoColorPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorPicker_Template(rf, ctx) { if (rf & 1) {
106
106
  i0.ɵɵprojectionDef();
107
107
  i0.ɵɵprojection(0);
108
108
  } }, encapsulation: 2 });
@@ -146,5 +146,5 @@ export class LuzmoColorPicker {
146
146
  }], size: [{
147
147
  type: Input,
148
148
  args: [{ alias: 'size' }]
149
- }], changeEvent: [{ type: i0.Output, args: ["change"] }], inputEvent: [{ type: i0.Output, args: ["input"] }] }); })();
149
+ }], changeEvent: [{ type: i0.Output, args: ["changeEvent"] }], inputEvent: [{ type: i0.Output, args: ["inputEvent"] }] }); })();
150
150
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoColorPicker, { className: "LuzmoColorPicker", filePath: "components/color-picker.ts", lineNumber: 15 }); })();
@@ -50,7 +50,7 @@ export declare class LuzmoColorSlider implements OnChanges, ControlValueAccessor
50
50
  setDisabledState(isDisabled: boolean): void;
51
51
  focus(focusOptions: FocusOptions): void;
52
52
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoColorSlider, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorSlider, "luzmo-color-slider", ["luzmoColorSlider"], { "mode": { "alias": "mode"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "label": { "alias": "label"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "value": { "alias": "value"; "required": false; }; "sliderHandlePosition": { "alias": "sliderHandlePosition"; "required": false; }; "color": { "alias": "color"; "required": false; }; "step": { "alias": "step"; "required": false; }; "input": { "alias": "input"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "inputEvent": "input"; "changeEvent": "change"; "keydownEvent": "keydown"; }, never, ["*"], true, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoColorSlider, "luzmo-color-slider", ["luzmoColorSlider"], { "mode": { "alias": "mode"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "label": { "alias": "label"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "value": { "alias": "value"; "required": false; }; "sliderHandlePosition": { "alias": "sliderHandlePosition"; "required": false; }; "color": { "alias": "color"; "required": false; }; "step": { "alias": "step"; "required": false; }; "input": { "alias": "input"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "inputEvent": "inputEvent"; "changeEvent": "changeEvent"; "keydownEvent": "keydownEvent"; }, never, ["*"], true, never>;
54
54
  }
55
55
  /** The underlying custom element type for LuzmoColorSlider */
56
56
  export type LuzmoColorSliderElement = LuzmoColorSliderHostElement;
@@ -30,11 +30,11 @@ export class LuzmoColorSlider {
30
30
  /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
31
31
  tabIndex;
32
32
  /** The value of the Color Slider has changed. */
33
- inputEvent = output({ alias: 'input' });
33
+ inputEvent = output();
34
34
  /** An alteration to the value of the Color Slider has been committed by the user. */
35
- changeEvent = output({ alias: 'change' });
35
+ changeEvent = output();
36
36
  /** Trick :focus-visible polyfill into thinking keyboard based focus */
37
- keydownEvent = output({ alias: 'keydown' });
37
+ keydownEvent = output();
38
38
  constructor() {
39
39
  this.bindEvents();
40
40
  this.destroyRef.onDestroy(() => {
@@ -95,7 +95,6 @@ export class LuzmoColorSlider {
95
95
  }
96
96
  bindEvents() {
97
97
  this.listenerCleanup.push(this.renderer.listen(this.host, 'input', (event) => {
98
- this.inputEvent.emit(event);
99
98
  if (!this.isWritingValue) {
100
99
  const eventWithDetail = event;
101
100
  const eventTarget = event.target;
@@ -107,13 +106,13 @@ export class LuzmoColorSlider {
107
106
  : (detailRecord === undefined ? detail : undefined)
108
107
  ?? eventTarget?.['value']
109
108
  ?? hostRecord['value']);
110
- if (Object.is(this.lastCvaValue, nextValue)) {
111
- return;
109
+ if (!Object.is(this.lastCvaValue, nextValue)) {
110
+ this.lastCvaValue = nextValue;
111
+ this.setHostProperty('value', nextValue);
112
+ this.onChange(nextValue);
112
113
  }
113
- this.lastCvaValue = nextValue;
114
- this.setHostProperty('value', nextValue);
115
- this.onChange(nextValue);
116
114
  }
115
+ this.inputEvent.emit(event);
117
116
  }));
118
117
  this.listenerCleanup.push(this.renderer.listen(this.host, 'change', (event) => {
119
118
  this.changeEvent.emit(event);
@@ -154,7 +153,7 @@ export class LuzmoColorSlider {
154
153
  return this.host.focus(focusOptions);
155
154
  }
156
155
  static ɵfac = function LuzmoColorSlider_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoColorSlider)(); };
157
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorSlider, selectors: [["luzmo-color-slider"]], inputs: { mode: "mode", disabled: "disabled", focused: "focused", label: "label", vertical: "vertical", value: "value", sliderHandlePosition: "sliderHandlePosition", color: "color", step: "step", input: "input", tabIndex: "tabIndex" }, outputs: { inputEvent: "input", changeEvent: "change", keydownEvent: "keydown" }, exportAs: ["luzmoColorSlider"], features: [i0.ɵɵProvidersFeature([
156
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorSlider, selectors: [["luzmo-color-slider"]], inputs: { mode: "mode", disabled: "disabled", focused: "focused", label: "label", vertical: "vertical", value: "value", sliderHandlePosition: "sliderHandlePosition", color: "color", step: "step", input: "input", tabIndex: "tabIndex" }, outputs: { inputEvent: "inputEvent", changeEvent: "changeEvent", keydownEvent: "keydownEvent" }, exportAs: ["luzmoColorSlider"], features: [i0.ɵɵProvidersFeature([
158
157
  {
159
158
  provide: NG_VALUE_ACCESSOR,
160
159
  useExisting: forwardRef(() => LuzmoColorSlider),
@@ -214,5 +213,5 @@ export class LuzmoColorSlider {
214
213
  }], tabIndex: [{
215
214
  type: Input,
216
215
  args: [{ alias: 'tabIndex' }]
217
- }], inputEvent: [{ type: i0.Output, args: ["input"] }], changeEvent: [{ type: i0.Output, args: ["change"] }], keydownEvent: [{ type: i0.Output, args: ["keydown"] }] }); })();
216
+ }], inputEvent: [{ type: i0.Output, args: ["inputEvent"] }], changeEvent: [{ type: i0.Output, args: ["changeEvent"] }], keydownEvent: [{ type: i0.Output, args: ["keydownEvent"] }] }); })();
218
217
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoColorSlider, { className: "LuzmoColorSlider", filePath: "components/color-slider.ts", lineNumber: 23 }); })();
@@ -71,7 +71,7 @@ export declare class LuzmoDateRangePicker implements OnChanges {
71
71
  clear(): void;
72
72
  focus(options?: FocusOptions): void;
73
73
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoDateRangePicker, never>;
74
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoDateRangePicker, "luzmo-date-range-picker", ["luzmoDateRangePicker"], { "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "dateSeparator": { "alias": "dateSeparator"; "required": false; }; "precision": { "alias": "precision"; "required": false; }; "calendars": { "alias": "calendars"; "required": false; }; "showDefinedRanges": { "alias": "showDefinedRanges"; "required": false; }; "definedRanges": { "alias": "definedRanges"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "language": { "alias": "language"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "helpTextManager": { "alias": "helpTextManager"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "changeEvent": "change"; "inputEvent": "input"; "keydownEvent": "keydown"; }, never, ["*"], true, never>;
74
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoDateRangePicker, "luzmo-date-range-picker", ["luzmoDateRangePicker"], { "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "dateSeparator": { "alias": "dateSeparator"; "required": false; }; "precision": { "alias": "precision"; "required": false; }; "calendars": { "alias": "calendars"; "required": false; }; "showDefinedRanges": { "alias": "showDefinedRanges"; "required": false; }; "definedRanges": { "alias": "definedRanges"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "language": { "alias": "language"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "helpTextManager": { "alias": "helpTextManager"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "changeEvent": "changeEvent"; "inputEvent": "inputEvent"; "keydownEvent": "keydownEvent"; }, never, ["*"], true, never>;
75
75
  }
76
76
  /** The underlying custom element type for LuzmoDateRangePicker */
77
77
  export type LuzmoDateRangePickerElement = LuzmoDateRangePickerHostElement;
@@ -61,11 +61,11 @@ export class LuzmoDateRangePicker {
61
61
  /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
62
62
  tabIndex;
63
63
  /** Announces when a new date range is committed by the user */
64
- changeEvent = output({ alias: 'change' });
64
+ changeEvent = output();
65
65
  /** Announces when the user's input changes the component's segments */
66
- inputEvent = output({ alias: 'input' });
66
+ inputEvent = output();
67
67
  /** Trick :focus-visible polyfill into thinking keyboard based focus */
68
- keydownEvent = output({ alias: 'keydown' });
68
+ keydownEvent = output();
69
69
  constructor() {
70
70
  this.bindEvents();
71
71
  this.destroyRef.onDestroy(() => {
@@ -175,7 +175,7 @@ export class LuzmoDateRangePicker {
175
175
  return this.host.focus(options);
176
176
  }
177
177
  static ɵfac = function LuzmoDateRangePicker_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoDateRangePicker)(); };
178
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoDateRangePicker, selectors: [["luzmo-date-range-picker"]], inputs: { startDate: "startDate", endDate: "endDate", min: "min", max: "max", dateFormat: "dateFormat", dateSeparator: "dateSeparator", precision: "precision", calendars: "calendars", showDefinedRanges: "showDefinedRanges", definedRanges: "definedRanges", invalid: "invalid", readonly: "readonly", quiet: "quiet", placement: "placement", timeZone: "timeZone", language: "language", labels: "labels", focused: "focused", helpTextManager: "helpTextManager", size: "size", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { changeEvent: "change", inputEvent: "input", keydownEvent: "keydown" }, exportAs: ["luzmoDateRangePicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoDateRangePicker_Template(rf, ctx) { if (rf & 1) {
178
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoDateRangePicker, selectors: [["luzmo-date-range-picker"]], inputs: { startDate: "startDate", endDate: "endDate", min: "min", max: "max", dateFormat: "dateFormat", dateSeparator: "dateSeparator", precision: "precision", calendars: "calendars", showDefinedRanges: "showDefinedRanges", definedRanges: "definedRanges", invalid: "invalid", readonly: "readonly", quiet: "quiet", placement: "placement", timeZone: "timeZone", language: "language", labels: "labels", focused: "focused", helpTextManager: "helpTextManager", size: "size", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { changeEvent: "changeEvent", inputEvent: "inputEvent", keydownEvent: "keydownEvent" }, exportAs: ["luzmoDateRangePicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoDateRangePicker_Template(rf, ctx) { if (rf & 1) {
179
179
  i0.ɵɵprojectionDef();
180
180
  i0.ɵɵprojection(0);
181
181
  } }, encapsulation: 2 });
@@ -255,5 +255,5 @@ export class LuzmoDateRangePicker {
255
255
  }], tabIndex: [{
256
256
  type: Input,
257
257
  args: [{ alias: 'tabIndex' }]
258
- }], changeEvent: [{ type: i0.Output, args: ["change"] }], inputEvent: [{ type: i0.Output, args: ["input"] }], keydownEvent: [{ type: i0.Output, args: ["keydown"] }] }); })();
258
+ }], changeEvent: [{ type: i0.Output, args: ["changeEvent"] }], inputEvent: [{ type: i0.Output, args: ["inputEvent"] }], keydownEvent: [{ type: i0.Output, args: ["keydownEvent"] }] }); })();
259
259
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoDateRangePicker, { className: "LuzmoDateRangePicker", filePath: "components/date-range-picker.ts", lineNumber: 20 }); })();
@@ -73,7 +73,7 @@ export declare class LuzmoDateTimePicker implements OnChanges, ControlValueAcces
73
73
  clear(): void;
74
74
  focus(options?: FocusOptions): void;
75
75
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoDateTimePicker, never>;
76
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoDateTimePicker, "luzmo-date-time-picker", ["luzmoDateTimePicker"], { "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "dateSeparator": { "alias": "dateSeparator"; "required": false; }; "precision": { "alias": "precision"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "language": { "alias": "language"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "helpTextManager": { "alias": "helpTextManager"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "changeEvent": "change"; "inputEvent": "input"; "keydownEvent": "keydown"; }, never, ["*"], true, never>;
76
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoDateTimePicker, "luzmo-date-time-picker", ["luzmoDateTimePicker"], { "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "dateSeparator": { "alias": "dateSeparator"; "required": false; }; "precision": { "alias": "precision"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "language": { "alias": "language"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "helpTextManager": { "alias": "helpTextManager"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "changeEvent": "changeEvent"; "inputEvent": "inputEvent"; "keydownEvent": "keydownEvent"; }, never, ["*"], true, never>;
77
77
  }
78
78
  /** The underlying custom element type for LuzmoDateTimePicker */
79
79
  export type LuzmoDateTimePickerElement = LuzmoDateTimePickerHostElement;
@@ -54,11 +54,11 @@ export class LuzmoDateTimePicker {
54
54
  /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
55
55
  tabIndex;
56
56
  /** Announces when a new date/time is committed by the user */
57
- changeEvent = output({ alias: 'change' });
57
+ changeEvent = output();
58
58
  /** Announces when the user's input changes the component's segments */
59
- inputEvent = output({ alias: 'input' });
59
+ inputEvent = output();
60
60
  /** Trick :focus-visible polyfill into thinking keyboard based focus */
61
- keydownEvent = output({ alias: 'keydown' });
61
+ keydownEvent = output();
62
62
  constructor() {
63
63
  this.bindEvents();
64
64
  this.destroyRef.onDestroy(() => {
@@ -140,7 +140,6 @@ export class LuzmoDateTimePicker {
140
140
  }
141
141
  bindEvents() {
142
142
  this.listenerCleanup.push(this.renderer.listen(this.host, 'change', (event) => {
143
- this.changeEvent.emit(event);
144
143
  if (!this.isWritingValue) {
145
144
  const eventWithDetail = event;
146
145
  const eventTarget = event.target;
@@ -152,13 +151,13 @@ export class LuzmoDateTimePicker {
152
151
  : (detailRecord === undefined ? detail : undefined)
153
152
  ?? eventTarget?.['value']
154
153
  ?? hostRecord['value']);
155
- if (Object.is(this.lastCvaValue, nextValue)) {
156
- return;
154
+ if (!Object.is(this.lastCvaValue, nextValue)) {
155
+ this.lastCvaValue = nextValue;
156
+ this.setHostProperty('value', nextValue);
157
+ this.onChange(nextValue);
157
158
  }
158
- this.lastCvaValue = nextValue;
159
- this.setHostProperty('value', nextValue);
160
- this.onChange(nextValue);
161
159
  }
160
+ this.changeEvent.emit(event);
162
161
  }));
163
162
  this.listenerCleanup.push(this.renderer.listen(this.host, 'input', (event) => {
164
163
  this.inputEvent.emit(event);
@@ -203,7 +202,7 @@ export class LuzmoDateTimePicker {
203
202
  return this.host.focus(options);
204
203
  }
205
204
  static ɵfac = function LuzmoDateTimePicker_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoDateTimePicker)(); };
206
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoDateTimePicker, selectors: [["luzmo-date-time-picker"]], inputs: { value: "value", min: "min", max: "max", dateFormat: "dateFormat", dateSeparator: "dateSeparator", precision: "precision", invalid: "invalid", readonly: "readonly", quiet: "quiet", placement: "placement", timeZone: "timeZone", language: "language", labels: "labels", focused: "focused", helpTextManager: "helpTextManager", size: "size", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { changeEvent: "change", inputEvent: "input", keydownEvent: "keydown" }, exportAs: ["luzmoDateTimePicker"], features: [i0.ɵɵProvidersFeature([
205
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoDateTimePicker, selectors: [["luzmo-date-time-picker"]], inputs: { value: "value", min: "min", max: "max", dateFormat: "dateFormat", dateSeparator: "dateSeparator", precision: "precision", invalid: "invalid", readonly: "readonly", quiet: "quiet", placement: "placement", timeZone: "timeZone", language: "language", labels: "labels", focused: "focused", helpTextManager: "helpTextManager", size: "size", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { changeEvent: "changeEvent", inputEvent: "inputEvent", keydownEvent: "keydownEvent" }, exportAs: ["luzmoDateTimePicker"], features: [i0.ɵɵProvidersFeature([
207
206
  {
208
207
  provide: NG_VALUE_ACCESSOR,
209
208
  useExisting: forwardRef(() => LuzmoDateTimePicker),
@@ -284,5 +283,5 @@ export class LuzmoDateTimePicker {
284
283
  }], tabIndex: [{
285
284
  type: Input,
286
285
  args: [{ alias: 'tabIndex' }]
287
- }], changeEvent: [{ type: i0.Output, args: ["change"] }], inputEvent: [{ type: i0.Output, args: ["input"] }], keydownEvent: [{ type: i0.Output, args: ["keydown"] }] }); })();
286
+ }], changeEvent: [{ type: i0.Output, args: ["changeEvent"] }], inputEvent: [{ type: i0.Output, args: ["inputEvent"] }], keydownEvent: [{ type: i0.Output, args: ["keydownEvent"] }] }); })();
288
287
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoDateTimePicker, { className: "LuzmoDateTimePicker", filePath: "components/date-time-picker.ts", lineNumber: 28 }); })();