igniteui-angular-inputs 18.1.1 → 18.2.0-beta.1

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 (224) hide show
  1. package/bundles/igniteui-angular-inputs.umd.js +16857 -7563
  2. package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonGroupView_combined.js +19 -19
  4. package/esm2015/lib/ButtonView_combined.js +820 -790
  5. package/esm2015/lib/CalendarView_combined.js +82 -82
  6. package/esm2015/lib/ColorEditor.js +7 -0
  7. package/esm2015/lib/ColorEditorBridge.js +7 -0
  8. package/esm2015/lib/ColorEditorGotFocusEventArgs.js +16 -0
  9. package/esm2015/lib/ColorEditorLostFocusEventArgs.js +16 -0
  10. package/esm2015/lib/ColorEditorPanel.js +7 -0
  11. package/esm2015/lib/ColorEditorPanelClosedEventArgs.js +16 -0
  12. package/esm2015/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +33 -0
  13. package/esm2015/lib/ColorEditorPanelView.js +7 -0
  14. package/esm2015/lib/ColorEditorView.js +7 -0
  15. package/esm2015/lib/DatePickerView_combined.js +18 -18
  16. package/esm2015/lib/DefaultMultiSliderTrackBarVisual.js +113 -0
  17. package/esm2015/lib/DefaultMultiSliderTrackRangeVisual.js +208 -0
  18. package/esm2015/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +170 -0
  19. package/esm2015/lib/DefaultMultiSliderTrackThumbVisual.js +193 -0
  20. package/esm2015/lib/DefaultMultiTrackShadeVisual.js +172 -0
  21. package/esm2015/lib/IMultiSliderTrackBarVisual.js +11 -0
  22. package/esm2015/lib/IMultiSliderTrackRangeVisual.js +11 -0
  23. package/esm2015/lib/IMultiSliderTrackShadeVisual.js +11 -0
  24. package/esm2015/lib/IMultiSliderTrackThumbCalloutVisual.js +11 -0
  25. package/esm2015/lib/IMultiSliderTrackThumbVisual.js +11 -0
  26. package/esm2015/lib/ISliderTrackOwner.js +11 -0
  27. package/esm2015/lib/IconClickedEventArgs.js +10 -0
  28. package/esm2015/lib/IconView_combined.js +345 -314
  29. package/esm2015/lib/InputGroupView_combined.js +456 -355
  30. package/esm2015/lib/MultiSlider.js +7 -0
  31. package/esm2015/lib/MultiSliderBridge.js +165 -0
  32. package/esm2015/lib/MultiSliderCursor.js +11 -0
  33. package/esm2015/lib/MultiSliderHitInfo.js +22 -0
  34. package/esm2015/lib/MultiSliderOrientation.js +17 -0
  35. package/esm2015/lib/MultiSliderResolvingToolTipValueEventArgs.js +33 -0
  36. package/esm2015/lib/MultiSliderThumb.js +7 -0
  37. package/esm2015/lib/MultiSliderThumbCollection.js +21 -0
  38. package/esm2015/lib/MultiSliderThumbRangePosition.js +16 -0
  39. package/esm2015/lib/MultiSliderThumbValueChangingEventArgs.js +21 -0
  40. package/esm2015/lib/MultiSliderThumb_combined.js +297 -0
  41. package/esm2015/lib/MultiSliderTrackShadeOrientation.js +11 -0
  42. package/esm2015/lib/MultiSliderTrackThumbRange.js +7 -0
  43. package/esm2015/lib/MultiSliderView.js +7 -0
  44. package/esm2015/lib/MultiSliderView_combined.js +1785 -0
  45. package/esm2015/lib/MultiSliderVisualArea.js +11 -0
  46. package/esm2015/lib/MultiSliderYValueChangingEventArgs.js +20 -0
  47. package/esm2015/lib/NativeUIXInputsFactory.js +1 -179
  48. package/esm2015/lib/NativeUIXInputsFactory_combined.js +2113 -0
  49. package/esm2015/lib/XButtonBridge.js +25 -20
  50. package/esm2015/lib/XButtonGroupBridge.js +177 -0
  51. package/esm2015/lib/XComponentBridge.js +3 -0
  52. package/esm2015/lib/XIconBridge.js +20 -16
  53. package/esm2015/lib/XInputBridge.js +274 -26
  54. package/esm2015/lib/XPopupBridge.js +117 -98
  55. package/esm2015/lib/igx-color-editor-component.js +470 -0
  56. package/esm2015/lib/igx-color-editor-dynamic-module.js +45 -0
  57. package/esm2015/lib/igx-color-editor-got-focus-event-args.js +27 -0
  58. package/esm2015/lib/igx-color-editor-lost-focus-event-args.js +27 -0
  59. package/esm2015/lib/igx-color-editor-module.js +39 -0
  60. package/esm2015/lib/igx-color-editor-panel-closed-event-args.js +27 -0
  61. package/esm2015/lib/igx-color-editor-panel-component.js +376 -0
  62. package/esm2015/lib/igx-color-editor-panel-dynamic-module.js +66 -0
  63. package/esm2015/lib/igx-color-editor-panel-module.js +60 -0
  64. package/esm2015/lib/igx-color-editor-panel-selected-value-changed-event-args.js +40 -0
  65. package/esm2015/lib/igx-multi-slider-component.js +642 -0
  66. package/esm2015/lib/igx-multi-slider-dynamic-module.js +38 -0
  67. package/esm2015/lib/igx-multi-slider-module.js +36 -0
  68. package/esm2015/lib/igx-multi-slider-resolving-tool-tip-value-event-args.js +39 -0
  69. package/esm2015/lib/igx-multi-slider-thumb-collection.js +53 -0
  70. package/esm2015/lib/igx-multi-slider-thumb-value-changing-event-args.js +56 -0
  71. package/esm2015/lib/igx-multi-slider-thumb.js +111 -0
  72. package/esm2015/lib/igx-multi-slider-track-thumb-range.js +119 -0
  73. package/esm2015/lib/igx-multi-slider-y-value-changing-event-args.js +33 -0
  74. package/esm2015/lib/igx-x-button-component.js +262 -262
  75. package/esm2015/lib/igx-x-icon-component.js +66 -55
  76. package/esm2015/lib/igx-x-input-group-component.js +48 -48
  77. package/esm2015/lib/igx-x-label-component.js +41 -40
  78. package/esm2015/public_api.js +55 -0
  79. package/esm5/lib/ButtonGroupView_combined.js +19 -19
  80. package/esm5/lib/ButtonView_combined.js +765 -735
  81. package/esm5/lib/CalendarView_combined.js +82 -82
  82. package/esm5/lib/ColorEditor.js +7 -0
  83. package/esm5/lib/ColorEditorBridge.js +7 -0
  84. package/esm5/lib/ColorEditorGotFocusEventArgs.js +20 -0
  85. package/esm5/lib/ColorEditorLostFocusEventArgs.js +20 -0
  86. package/esm5/lib/ColorEditorPanel.js +7 -0
  87. package/esm5/lib/ColorEditorPanelClosedEventArgs.js +20 -0
  88. package/esm5/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +43 -0
  89. package/esm5/lib/ColorEditorPanelView.js +7 -0
  90. package/esm5/lib/ColorEditorView.js +7 -0
  91. package/esm5/lib/DatePickerView_combined.js +18 -18
  92. package/esm5/lib/DefaultMultiSliderTrackBarVisual.js +139 -0
  93. package/esm5/lib/DefaultMultiSliderTrackRangeVisual.js +242 -0
  94. package/esm5/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +212 -0
  95. package/esm5/lib/DefaultMultiSliderTrackThumbVisual.js +227 -0
  96. package/esm5/lib/DefaultMultiTrackShadeVisual.js +206 -0
  97. package/esm5/lib/IMultiSliderTrackBarVisual.js +11 -0
  98. package/esm5/lib/IMultiSliderTrackRangeVisual.js +11 -0
  99. package/esm5/lib/IMultiSliderTrackShadeVisual.js +11 -0
  100. package/esm5/lib/IMultiSliderTrackThumbCalloutVisual.js +11 -0
  101. package/esm5/lib/IMultiSliderTrackThumbVisual.js +11 -0
  102. package/esm5/lib/ISliderTrackOwner.js +11 -0
  103. package/esm5/lib/IconClickedEventArgs.js +13 -1
  104. package/esm5/lib/IconView_combined.js +336 -301
  105. package/esm5/lib/InputGroupView_combined.js +444 -343
  106. package/esm5/lib/MultiSlider.js +7 -0
  107. package/esm5/lib/MultiSliderBridge.js +167 -0
  108. package/esm5/lib/MultiSliderCursor.js +11 -0
  109. package/esm5/lib/MultiSliderHitInfo.js +24 -0
  110. package/esm5/lib/MultiSliderOrientation.js +17 -0
  111. package/esm5/lib/MultiSliderResolvingToolTipValueEventArgs.js +43 -0
  112. package/esm5/lib/MultiSliderThumb.js +7 -0
  113. package/esm5/lib/MultiSliderThumbCollection.js +22 -0
  114. package/esm5/lib/MultiSliderThumbRangePosition.js +16 -0
  115. package/esm5/lib/MultiSliderThumbValueChangingEventArgs.js +23 -0
  116. package/esm5/lib/MultiSliderThumb_combined.js +352 -0
  117. package/esm5/lib/MultiSliderTrackShadeOrientation.js +11 -0
  118. package/esm5/lib/MultiSliderTrackThumbRange.js +7 -0
  119. package/esm5/lib/MultiSliderView.js +7 -0
  120. package/esm5/lib/MultiSliderView_combined.js +2006 -0
  121. package/esm5/lib/MultiSliderVisualArea.js +11 -0
  122. package/esm5/lib/MultiSliderYValueChangingEventArgs.js +22 -0
  123. package/esm5/lib/NativeUIXInputsFactory.js +1 -189
  124. package/esm5/lib/NativeUIXInputsFactory_combined.js +2298 -0
  125. package/esm5/lib/XButtonBridge.js +25 -20
  126. package/esm5/lib/XButtonGroupBridge.js +179 -0
  127. package/esm5/lib/XComponentBridge.js +3 -0
  128. package/esm5/lib/XIconBridge.js +20 -16
  129. package/esm5/lib/XInputBridge.js +274 -26
  130. package/esm5/lib/XPopupBridge.js +117 -98
  131. package/esm5/lib/igx-color-editor-component.js +555 -0
  132. package/esm5/lib/igx-color-editor-dynamic-module.js +44 -0
  133. package/esm5/lib/igx-color-editor-got-focus-event-args.js +33 -0
  134. package/esm5/lib/igx-color-editor-lost-focus-event-args.js +33 -0
  135. package/esm5/lib/igx-color-editor-module.js +38 -0
  136. package/esm5/lib/igx-color-editor-panel-closed-event-args.js +33 -0
  137. package/esm5/lib/igx-color-editor-panel-component.js +435 -0
  138. package/esm5/lib/igx-color-editor-panel-dynamic-module.js +65 -0
  139. package/esm5/lib/igx-color-editor-panel-module.js +59 -0
  140. package/esm5/lib/igx-color-editor-panel-selected-value-changed-event-args.js +54 -0
  141. package/esm5/lib/igx-multi-slider-component.js +842 -0
  142. package/esm5/lib/igx-multi-slider-dynamic-module.js +37 -0
  143. package/esm5/lib/igx-multi-slider-module.js +35 -0
  144. package/esm5/lib/igx-multi-slider-resolving-tool-tip-value-event-args.js +53 -0
  145. package/esm5/lib/igx-multi-slider-thumb-collection.js +58 -0
  146. package/esm5/lib/igx-multi-slider-thumb-value-changing-event-args.js +70 -0
  147. package/esm5/lib/igx-multi-slider-thumb.js +134 -0
  148. package/esm5/lib/igx-multi-slider-track-thumb-range.js +149 -0
  149. package/esm5/lib/igx-multi-slider-y-value-changing-event-args.js +43 -0
  150. package/esm5/lib/igx-x-button-component.js +262 -262
  151. package/esm5/lib/igx-x-icon-component.js +70 -55
  152. package/esm5/lib/igx-x-input-group-component.js +48 -48
  153. package/esm5/lib/igx-x-label-component.js +41 -40
  154. package/esm5/public_api.js +55 -0
  155. package/fesm2015/igniteui-angular-inputs.js +15626 -7466
  156. package/fesm5/igniteui-angular-inputs.js +16802 -7565
  157. package/lib/ButtonView_combined.d.ts +243 -241
  158. package/lib/ColorEditor.d.ts +1 -0
  159. package/lib/ColorEditorBridge.d.ts +1 -0
  160. package/lib/ColorEditorGotFocusEventArgs.d.ts +7 -0
  161. package/lib/ColorEditorLostFocusEventArgs.d.ts +7 -0
  162. package/lib/ColorEditorPanel.d.ts +1 -0
  163. package/lib/ColorEditorPanelClosedEventArgs.d.ts +7 -0
  164. package/lib/ColorEditorPanelSelectedValueChangedEventArgs.d.ts +14 -0
  165. package/lib/ColorEditorPanelView.d.ts +1 -0
  166. package/lib/ColorEditorView.d.ts +1 -0
  167. package/lib/DefaultMultiSliderTrackBarVisual.d.ts +34 -0
  168. package/lib/DefaultMultiSliderTrackRangeVisual.d.ts +43 -0
  169. package/lib/DefaultMultiSliderTrackThumbCalloutVisual.d.ts +49 -0
  170. package/lib/DefaultMultiSliderTrackThumbVisual.d.ts +45 -0
  171. package/lib/DefaultMultiTrackShadeVisual.d.ts +42 -0
  172. package/lib/IMultiSliderTrackBarVisual.d.ts +21 -0
  173. package/lib/IMultiSliderTrackRangeVisual.d.ts +25 -0
  174. package/lib/IMultiSliderTrackShadeVisual.d.ts +24 -0
  175. package/lib/IMultiSliderTrackThumbCalloutVisual.d.ts +27 -0
  176. package/lib/IMultiSliderTrackThumbVisual.d.ts +27 -0
  177. package/lib/ISliderTrackOwner.d.ts +15 -0
  178. package/lib/IconClickedEventArgs.d.ts +3 -0
  179. package/lib/IconView_combined.d.ts +88 -84
  180. package/lib/InputGroupView_combined.d.ts +120 -113
  181. package/lib/MultiSlider.d.ts +1 -0
  182. package/lib/MultiSliderBridge.d.ts +24 -0
  183. package/lib/MultiSliderCursor.d.ts +15 -0
  184. package/lib/MultiSliderHitInfo.d.ts +13 -0
  185. package/lib/MultiSliderOrientation.d.ts +10 -0
  186. package/lib/MultiSliderResolvingToolTipValueEventArgs.d.ts +13 -0
  187. package/lib/MultiSliderThumb.d.ts +1 -0
  188. package/lib/MultiSliderThumbCollection.d.ts +10 -0
  189. package/lib/MultiSliderThumbRangePosition.d.ts +9 -0
  190. package/lib/MultiSliderThumbValueChangingEventArgs.d.ts +10 -0
  191. package/lib/MultiSliderThumb_combined.d.ts +76 -0
  192. package/lib/MultiSliderTrackShadeOrientation.d.ts +14 -0
  193. package/lib/MultiSliderTrackThumbRange.d.ts +1 -0
  194. package/lib/MultiSliderView.d.ts +1 -0
  195. package/lib/MultiSliderView_combined.d.ts +298 -0
  196. package/lib/MultiSliderVisualArea.d.ts +14 -0
  197. package/lib/MultiSliderYValueChangingEventArgs.d.ts +8 -0
  198. package/lib/NativeUIXInputsFactory.d.ts +1 -24
  199. package/lib/NativeUIXInputsFactory_combined.d.ts +393 -0
  200. package/lib/XButtonGroupBridge.d.ts +29 -0
  201. package/lib/XInputBridge.d.ts +29 -5
  202. package/lib/XPopupBridge.d.ts +12 -9
  203. package/lib/igx-color-editor-component.d.ts +161 -0
  204. package/lib/igx-color-editor-dynamic-module.d.ts +10 -0
  205. package/lib/igx-color-editor-got-focus-event-args.d.ts +12 -0
  206. package/lib/igx-color-editor-lost-focus-event-args.d.ts +12 -0
  207. package/lib/igx-color-editor-module.d.ts +10 -0
  208. package/lib/igx-color-editor-panel-closed-event-args.d.ts +12 -0
  209. package/lib/igx-color-editor-panel-component.d.ts +125 -0
  210. package/lib/igx-color-editor-panel-dynamic-module.d.ts +13 -0
  211. package/lib/igx-color-editor-panel-module.d.ts +13 -0
  212. package/lib/igx-color-editor-panel-selected-value-changed-event-args.d.ts +16 -0
  213. package/lib/igx-multi-slider-component.d.ts +200 -0
  214. package/lib/igx-multi-slider-dynamic-module.d.ts +9 -0
  215. package/lib/igx-multi-slider-module.d.ts +9 -0
  216. package/lib/igx-multi-slider-resolving-tool-tip-value-event-args.d.ts +17 -0
  217. package/lib/igx-multi-slider-thumb-collection.d.ts +8 -0
  218. package/lib/igx-multi-slider-thumb-value-changing-event-args.d.ts +18 -0
  219. package/lib/igx-multi-slider-thumb.d.ts +33 -0
  220. package/lib/igx-multi-slider-track-thumb-range.d.ts +32 -0
  221. package/lib/igx-multi-slider-y-value-changing-event-args.d.ts +15 -0
  222. package/lib/igx-x-icon-component.d.ts +6 -1
  223. package/package.json +2 -2
  224. package/public_api.d.ts +55 -0
@@ -0,0 +1,376 @@
1
+ import { Output, TemplateRef, EventEmitter, Component, ViewContainerRef, ViewChild, Input, ChangeDetectionStrategy } from '@angular/core';
2
+ import { ColorEditorPanel } from "./ColorEditorPanel";
3
+ import { ensureEnum, brushToString, stringToBrush, toSpinal, initializePropertiesFromCss, NamePatcher } from "igniteui-angular-core";
4
+ import { FontInfo } from "igniteui-angular-core";
5
+ import { AngularRenderer, PortalManager } from "igniteui-angular-core";
6
+ import { delegateCombine } from "igniteui-angular-core";
7
+ import { TypeRegistrar } from "igniteui-angular-core";
8
+ import { ControlDisplayDensity_$type } from "igniteui-angular-core";
9
+ import { BaseControlTheme_$type } from "igniteui-angular-core";
10
+ import { IgxColorEditorPanelSelectedValueChangedEventArgs } from "./igx-color-editor-panel-selected-value-changed-event-args";
11
+ import * as i0 from "@angular/core";
12
+ export let IgxColorEditorPanelComponent = /*@__PURE__*/ (() => {
13
+ class IgxColorEditorPanelComponent {
14
+ constructor(renderer, _elRef, ngZone, injector, componentFactoryResolver) {
15
+ this.renderer = renderer;
16
+ this._elRef = _elRef;
17
+ this.ngZone = ngZone;
18
+ this.injector = injector;
19
+ this.componentFactoryResolver = componentFactoryResolver;
20
+ this._wrapper = null;
21
+ this._portalManager = null;
22
+ this._root = null;
23
+ this.__p = null;
24
+ this._hasUserValues = new Set();
25
+ this._stylingContainer = null;
26
+ this._stylingParent = null;
27
+ this._inStyling = false;
28
+ this._valueChanged = null;
29
+ this._valueChanging = null;
30
+ this._zoneRunner = null;
31
+ if (this._styling) {
32
+ NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
33
+ }
34
+ this._implementation = this.createImplementation();
35
+ this._implementation.externalObject = this;
36
+ if (renderer) {
37
+ this.container = renderer.createElement("div");
38
+ renderer.appendChild(_elRef.element.nativeElement, this.container);
39
+ renderer.setStyle(this.container, "display", "block");
40
+ }
41
+ var root;
42
+ root = this.container;
43
+ if (this.container != null) {
44
+ root = this.container;
45
+ }
46
+ if (root && root.nativeElement) {
47
+ root = root.nativeElement;
48
+ }
49
+ this._root = root;
50
+ var colorEditorPanel = this.i;
51
+ this._colorEditorPanel = colorEditorPanel;
52
+ if (renderer) {
53
+ this._portalManager = new PortalManager("colorEditorPanelContent", componentFactoryResolver);
54
+ var ren = new AngularRenderer(root, this.renderer, window.document, this.ngZone, true, {}, this._portalManager);
55
+ this._wrapper = ren;
56
+ colorEditorPanel.provideContainer(ren);
57
+ }
58
+ }
59
+ // supports angular themes or custom properties set in CSS
60
+ updateStyle() {
61
+ this._styling(this._root, this);
62
+ }
63
+ ngOnDestroy() {
64
+ this._colorEditorPanel.destroy();
65
+ this._wrapper.destroy();
66
+ }
67
+ ngAfterViewInit() {
68
+ this._portalManager.dynamicContent = this._dynamicContent;
69
+ this._portalManager.onChildContentChanged(this._childTemplateRef);
70
+ this._styling(this._root, this);
71
+ this.updateStyle();
72
+ }
73
+ createImplementation() {
74
+ return new ColorEditorPanel();
75
+ }
76
+ /**
77
+ * @hidden
78
+ */
79
+ get i() {
80
+ return this._implementation;
81
+ } /**
82
+ * @hidden
83
+ */
84
+ static _createFromInternal(internal) {
85
+ if (!internal) {
86
+ return null;
87
+ }
88
+ if (!internal.$type) {
89
+ return null;
90
+ }
91
+ let name = internal.$type.name;
92
+ let externalName = "Igx" + name + "Component";
93
+ if (!TypeRegistrar.isRegistered(externalName)) {
94
+ return null;
95
+ }
96
+ return TypeRegistrar.create(externalName);
97
+ }
98
+ /**
99
+ * Gets or Sets the value for the color editor panel.
100
+ */
101
+ get value() {
102
+ return brushToString(this.i.value);
103
+ }
104
+ set value(v) {
105
+ this.i.value = stringToBrush(v);
106
+ }
107
+ /**
108
+ * Gets or sets the display density to use for the ColorEditorPanel.
109
+ */
110
+ get density() {
111
+ return this.i.h;
112
+ }
113
+ set density(v) {
114
+ this.i.h = ensureEnum(ControlDisplayDensity_$type, v);
115
+ }
116
+ /**
117
+ * Gets or sets the base built in theme to use for the ColorEditorPanel.
118
+ */
119
+ get baseTheme() {
120
+ return this.i.f;
121
+ }
122
+ set baseTheme(v) {
123
+ this.i.f = ensureEnum(BaseControlTheme_$type, v);
124
+ }
125
+ /**
126
+ * Gets or Sets the selected color background color
127
+ */
128
+ get backgroundColor() {
129
+ return brushToString(this.i.by);
130
+ }
131
+ set backgroundColor(v) {
132
+ this.i.by = stringToBrush(v);
133
+ }
134
+ /**
135
+ * Gets or Sets the selected color boreder color
136
+ */
137
+ get selectedColorBorderColor() {
138
+ return brushToString(this.i.b1);
139
+ }
140
+ set selectedColorBorderColor(v) {
141
+ this.i.b1 = stringToBrush(v);
142
+ }
143
+ /**
144
+ * Gets or Sets the selected color border color
145
+ */
146
+ get selectedFocusDateBackgroundColor() {
147
+ return brushToString(this.i.b2);
148
+ }
149
+ set selectedFocusDateBackgroundColor(v) {
150
+ this.i.b2 = stringToBrush(v);
151
+ }
152
+ /**
153
+ * Gets or Sets the focus color border color
154
+ */
155
+ get focusColorBorderColor() {
156
+ return brushToString(this.i.bz);
157
+ }
158
+ set focusColorBorderColor(v) {
159
+ this.i.bz = stringToBrush(v);
160
+ }
161
+ /**
162
+ * Gets or Sets the focus date background color
163
+ */
164
+ get hoverBackgroundColor() {
165
+ return brushToString(this.i.b0);
166
+ }
167
+ set hoverBackgroundColor(v) {
168
+ this.i.b0 = stringToBrush(v);
169
+ }
170
+ /**
171
+ * Gets or Sets the selected date text color
172
+ */
173
+ get textColor() {
174
+ return brushToString(this.i.b3);
175
+ }
176
+ set textColor(v) {
177
+ this.i.b3 = stringToBrush(v);
178
+ }
179
+ /**
180
+ * Gets or sets the font to use for the combobox.
181
+ */
182
+ get textStyle() {
183
+ if (this.i.j == null) {
184
+ return null;
185
+ }
186
+ return this.i.j.fontString;
187
+ }
188
+ set textStyle(v) {
189
+ let fi = new FontInfo();
190
+ fi.fontString = v;
191
+ this.i.j = fi;
192
+ }
193
+ /**
194
+ * Gets or sets the scaling value used to affect the pixel density of the control.
195
+ * A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control
196
+ * to appear blurry.
197
+ */
198
+ get pixelScalingRatio() {
199
+ return this.i.ae;
200
+ }
201
+ set pixelScalingRatio(v) {
202
+ this.i.ae = +v;
203
+ }
204
+ get actualPixelScalingRatio() {
205
+ return this.i.ab;
206
+ }
207
+ set actualPixelScalingRatio(v) {
208
+ this.i.ab = +v;
209
+ }
210
+ findByName(name) {
211
+ if (this.findEphemera) {
212
+ if (name && name.indexOf("@@e:") == 0) {
213
+ return this.findEphemera(name);
214
+ }
215
+ }
216
+ return null;
217
+ }
218
+ get hasUserValues() {
219
+ return this._hasUserValues;
220
+ }
221
+ __m(propertyName) {
222
+ if (!this._inStyling) {
223
+ this._hasUserValues.add(propertyName);
224
+ }
225
+ }
226
+ _styling(container, component, parent) {
227
+ if (this._inStyling) {
228
+ return;
229
+ }
230
+ this._inStyling = true;
231
+ this._stylingContainer = container;
232
+ this._stylingParent = component;
233
+ let genericPrefix = "";
234
+ let typeName = this.i.$type.name;
235
+ if (typeName.indexOf("Xam") === 0) {
236
+ typeName = typeName.substring(3);
237
+ }
238
+ genericPrefix = toSpinal("ColorEditorPanelComponent");
239
+ let additionalPrefixes = [];
240
+ let prefix = toSpinal(typeName);
241
+ additionalPrefixes.push(prefix + "-");
242
+ let b = this.i.$type.baseType;
243
+ while (b && b.name != "Object" &&
244
+ b.name != "Base" &&
245
+ b.name != "Control" &&
246
+ b.Name != "DependencyObject" &&
247
+ b.Name != "FrameworkElement") {
248
+ typeName = b.name;
249
+ if (typeName.indexOf("Xam") === 0) {
250
+ typeName = typeName.substring(3);
251
+ }
252
+ let basePrefix = toSpinal(typeName);
253
+ additionalPrefixes.push(basePrefix + "-");
254
+ b = b.baseType;
255
+ }
256
+ if (parent) {
257
+ let parentTypeName = parent.i.$type.name;
258
+ if (parentTypeName.indexOf("Xam") === 0) {
259
+ parentTypeName = parentTypeName.substring(3);
260
+ }
261
+ let parentPrefix = toSpinal(parentTypeName);
262
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
263
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
264
+ }
265
+ initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
266
+ if (this._otherStyling) {
267
+ this._otherStyling(container, component, parent);
268
+ }
269
+ this._inStyling = false;
270
+ }
271
+ /**
272
+ * Called when date is selected.
273
+ */
274
+ get valueChanged() {
275
+ if (this._valueChanged == null) {
276
+ this._valueChanged = new EventEmitter();
277
+ this.i.valueChanged = delegateCombine(this.i.valueChanged, (o, e) => {
278
+ this._runInZone(() => {
279
+ let outerArgs = new IgxColorEditorPanelSelectedValueChangedEventArgs();
280
+ outerArgs._provideImplementation(e);
281
+ if (this.beforeValueChanged) {
282
+ this.beforeValueChanged(this, outerArgs);
283
+ }
284
+ this._valueChanged.emit({
285
+ sender: this,
286
+ args: outerArgs
287
+ });
288
+ });
289
+ });
290
+ }
291
+ return this._valueChanged;
292
+ }
293
+ /**
294
+ * Called when date is selected.
295
+ */
296
+ get valueChanging() {
297
+ if (this._valueChanging == null) {
298
+ this._valueChanging = new EventEmitter();
299
+ this.i.valueChanging = delegateCombine(this.i.valueChanging, (o, e) => {
300
+ let outerArgs = new IgxColorEditorPanelSelectedValueChangedEventArgs();
301
+ outerArgs._provideImplementation(e);
302
+ if (this.beforeValueChanging) {
303
+ this.beforeValueChanging(this, outerArgs);
304
+ }
305
+ this._valueChanging.emit({
306
+ sender: this,
307
+ args: outerArgs
308
+ });
309
+ });
310
+ }
311
+ return this._valueChanging;
312
+ }
313
+ _runInZone(act) {
314
+ if (this._zoneRunner != null) {
315
+ this._zoneRunner(act);
316
+ }
317
+ else {
318
+ act();
319
+ }
320
+ }
321
+ }
322
+ IgxColorEditorPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorPanelComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
323
+ IgxColorEditorPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxColorEditorPanelComponent, selector: "igx-color-editor-panel", inputs: { value: "value", density: "density", baseTheme: "baseTheme", backgroundColor: "backgroundColor", selectedColorBorderColor: "selectedColorBorderColor", selectedFocusDateBackgroundColor: "selectedFocusDateBackgroundColor", focusColorBorderColor: "focusColorBorderColor", hoverBackgroundColor: "hoverBackgroundColor", textColor: "textColor", textStyle: "textStyle", pixelScalingRatio: "pixelScalingRatio", actualPixelScalingRatio: "actualPixelScalingRatio" }, outputs: { valueChanged: "valueChanged", valueChanging: "valueChanging" }, host: { classAttribute: "ig-color-editor-panel igx-color-editor-panel" }, providers: [], viewQueries: [{ propertyName: "_dynamicContent", first: true, predicate: ["dynamicContent"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "_childTemplateRef", first: true, predicate: ["childContent"], descendants: true, read: TemplateRef }], ngImport: i0, template: `<ng-template #childContent><ng-content></ng-content></ng-template>
324
+ <ng-container #dynamicContent></ng-container>`, isInline: true, styles: ["\n\t\t:host {\n\t\t\tdisplay: block; \n\t\t}\n\t"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
325
+ return IgxColorEditorPanelComponent;
326
+ })();
327
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorPanelComponent, decorators: [{
328
+ type: Component,
329
+ args: [{
330
+ selector: 'igx-color-editor-panel',
331
+ template: `<ng-template #childContent><ng-content></ng-content></ng-template>
332
+ <ng-container #dynamicContent></ng-container>`,
333
+ changeDetection: ChangeDetectionStrategy.OnPush,
334
+ providers: [],
335
+ host: { 'class': 'ig-color-editor-panel igx-color-editor-panel' },
336
+ styles: [`
337
+ :host {
338
+ display: block;
339
+ }
340
+ `]
341
+ }]
342
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { _dynamicContent: [{
343
+ type: ViewChild,
344
+ args: ["dynamicContent", { read: ViewContainerRef, static: true }]
345
+ }], _childTemplateRef: [{
346
+ type: ViewChild,
347
+ args: ["childContent", { read: TemplateRef, static: false }]
348
+ }], value: [{
349
+ type: Input
350
+ }], density: [{
351
+ type: Input
352
+ }], baseTheme: [{
353
+ type: Input
354
+ }], backgroundColor: [{
355
+ type: Input
356
+ }], selectedColorBorderColor: [{
357
+ type: Input
358
+ }], selectedFocusDateBackgroundColor: [{
359
+ type: Input
360
+ }], focusColorBorderColor: [{
361
+ type: Input
362
+ }], hoverBackgroundColor: [{
363
+ type: Input
364
+ }], textColor: [{
365
+ type: Input
366
+ }], textStyle: [{
367
+ type: Input
368
+ }], pixelScalingRatio: [{
369
+ type: Input
370
+ }], actualPixelScalingRatio: [{
371
+ type: Input
372
+ }], valueChanged: [{
373
+ type: Output
374
+ }], valueChanging: [{
375
+ type: Output
376
+ }] } });
@@ -0,0 +1,66 @@
1
+ /*
2
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
+ https://www.infragistics.com/legal/license/igultimate-la
4
+ https://www.infragistics.com/legal/license/igultimate-eula
5
+ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
+ */
7
+ import { NgModule } from '@angular/core';
8
+ import { CommonModule } from '@angular/common';
9
+ import { IgxColorEditorPanelComponent } from './igx-color-editor-panel-component';
10
+ import { IgxMultiSliderDynamicModule } from './igx-multi-slider-dynamic-module';
11
+ import { IgxXButtonDynamicModule } from './igx-x-button-dynamic-module';
12
+ import { IgxXInputGroupDynamicModule } from './igx-x-input-group-dynamic-module';
13
+ import { IgxXInputDynamicModule } from './igx-x-input-dynamic-module';
14
+ import { ColorEditorPanel } from './ColorEditorPanel';
15
+ import { TypeRegistrar } from "igniteui-angular-core";
16
+ import { IgxColorEditorPanelModule } from './igx-color-editor-panel-module';
17
+ import * as i0 from "@angular/core";
18
+ export let IgxColorEditorPanelDynamicModule = /*@__PURE__*/ (() => {
19
+ class IgxColorEditorPanelDynamicModule {
20
+ constructor() {
21
+ TypeRegistrar.registerCons('ColorEditorPanel', ColorEditorPanel);
22
+ TypeRegistrar.registerCons('IgxColorEditorPanelComponent', IgxColorEditorPanelComponent);
23
+ TypeRegistrar.register('ColorEditorPanel', ColorEditorPanel.$type);
24
+ }
25
+ }
26
+ IgxColorEditorPanelDynamicModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorPanelDynamicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
27
+ IgxColorEditorPanelDynamicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorPanelDynamicModule, imports: [CommonModule, IgxMultiSliderDynamicModule,
28
+ IgxXButtonDynamicModule,
29
+ IgxXInputGroupDynamicModule,
30
+ IgxXInputDynamicModule,
31
+ IgxColorEditorPanelModule], exports: [IgxMultiSliderDynamicModule,
32
+ IgxXButtonDynamicModule,
33
+ IgxXInputGroupDynamicModule,
34
+ IgxXInputDynamicModule,
35
+ IgxColorEditorPanelModule] });
36
+ IgxColorEditorPanelDynamicModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorPanelDynamicModule, imports: [[CommonModule, IgxMultiSliderDynamicModule,
37
+ IgxXButtonDynamicModule,
38
+ IgxXInputGroupDynamicModule,
39
+ IgxXInputDynamicModule,
40
+ IgxColorEditorPanelModule
41
+ ], IgxMultiSliderDynamicModule,
42
+ IgxXButtonDynamicModule,
43
+ IgxXInputGroupDynamicModule,
44
+ IgxXInputDynamicModule,
45
+ IgxColorEditorPanelModule] });
46
+ return IgxColorEditorPanelDynamicModule;
47
+ })();
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorPanelDynamicModule, decorators: [{
49
+ type: NgModule,
50
+ args: [{
51
+ declarations: [],
52
+ exports: [IgxMultiSliderDynamicModule,
53
+ IgxXButtonDynamicModule,
54
+ IgxXInputGroupDynamicModule,
55
+ IgxXInputDynamicModule,
56
+ IgxColorEditorPanelModule
57
+ ],
58
+ imports: [CommonModule, IgxMultiSliderDynamicModule,
59
+ IgxXButtonDynamicModule,
60
+ IgxXInputGroupDynamicModule,
61
+ IgxXInputDynamicModule,
62
+ IgxColorEditorPanelModule
63
+ ],
64
+ entryComponents: [IgxColorEditorPanelComponent]
65
+ }]
66
+ }], ctorParameters: function () { return []; } });
@@ -0,0 +1,60 @@
1
+ /*
2
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
+ https://www.infragistics.com/legal/license/igultimate-la
4
+ https://www.infragistics.com/legal/license/igultimate-eula
5
+ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
+ */
7
+ import { NgModule } from '@angular/core';
8
+ import { CommonModule } from '@angular/common';
9
+ import { IgxColorEditorPanelComponent } from './igx-color-editor-panel-component';
10
+ import { IgxMultiSliderDynamicModule } from './igx-multi-slider-dynamic-module';
11
+ import { IgxXButtonDynamicModule } from './igx-x-button-dynamic-module';
12
+ import { IgxXInputGroupDynamicModule } from './igx-x-input-group-dynamic-module';
13
+ import { IgxXInputDynamicModule } from './igx-x-input-dynamic-module';
14
+ import { ColorEditorPanel } from './ColorEditorPanel';
15
+ import { TypeRegistrar } from "igniteui-angular-core";
16
+ import * as i0 from "@angular/core";
17
+ export let IgxColorEditorPanelModule = /*@__PURE__*/ (() => {
18
+ class IgxColorEditorPanelModule {
19
+ constructor() {
20
+ TypeRegistrar.registerCons('IgxColorEditorPanelComponent', IgxColorEditorPanelComponent);
21
+ TypeRegistrar.register('ColorEditorPanel', ColorEditorPanel.$type);
22
+ }
23
+ }
24
+ IgxColorEditorPanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
25
+ IgxColorEditorPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorPanelModule, declarations: [IgxColorEditorPanelComponent], imports: [CommonModule, IgxMultiSliderDynamicModule,
26
+ IgxXButtonDynamicModule,
27
+ IgxXInputGroupDynamicModule,
28
+ IgxXInputDynamicModule], exports: [IgxColorEditorPanelComponent,
29
+ IgxMultiSliderDynamicModule,
30
+ IgxXButtonDynamicModule,
31
+ IgxXInputGroupDynamicModule,
32
+ IgxXInputDynamicModule] });
33
+ IgxColorEditorPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorPanelModule, imports: [[CommonModule, IgxMultiSliderDynamicModule,
34
+ IgxXButtonDynamicModule,
35
+ IgxXInputGroupDynamicModule,
36
+ IgxXInputDynamicModule
37
+ ], IgxMultiSliderDynamicModule,
38
+ IgxXButtonDynamicModule,
39
+ IgxXInputGroupDynamicModule,
40
+ IgxXInputDynamicModule] });
41
+ return IgxColorEditorPanelModule;
42
+ })();
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorPanelModule, decorators: [{
44
+ type: NgModule,
45
+ args: [{
46
+ declarations: [IgxColorEditorPanelComponent],
47
+ exports: [IgxColorEditorPanelComponent,
48
+ IgxMultiSliderDynamicModule,
49
+ IgxXButtonDynamicModule,
50
+ IgxXInputGroupDynamicModule,
51
+ IgxXInputDynamicModule
52
+ ],
53
+ imports: [CommonModule, IgxMultiSliderDynamicModule,
54
+ IgxXButtonDynamicModule,
55
+ IgxXInputGroupDynamicModule,
56
+ IgxXInputDynamicModule
57
+ ],
58
+ entryComponents: []
59
+ }]
60
+ }], ctorParameters: function () { return []; } });
@@ -0,0 +1,40 @@
1
+ import { ColorEditorPanelSelectedValueChangedEventArgs as ColorEditorPanelSelectedValueChangedEventArgs_internal } from "./ColorEditorPanelSelectedValueChangedEventArgs";
2
+ import { brushToString, stringToBrush } from "igniteui-angular-core";
3
+ export class IgxColorEditorPanelSelectedValueChangedEventArgs {
4
+ constructor() {
5
+ this._implementation = this.createImplementation();
6
+ this._implementation.externalObject = this;
7
+ this.onImplementationCreated();
8
+ if (this._initializeAdapters) {
9
+ this._initializeAdapters();
10
+ }
11
+ }
12
+ createImplementation() {
13
+ return new ColorEditorPanelSelectedValueChangedEventArgs_internal();
14
+ }
15
+ /**
16
+ * @hidden
17
+ */
18
+ get i() {
19
+ return this._implementation;
20
+ }
21
+ onImplementationCreated() {
22
+ }
23
+ _provideImplementation(i) {
24
+ this._implementation = i;
25
+ this._implementation.externalObject = this;
26
+ this.onImplementationCreated();
27
+ }
28
+ get oldValue() {
29
+ return brushToString(this.i.oldValue);
30
+ }
31
+ set oldValue(v) {
32
+ this.i.oldValue = stringToBrush(v);
33
+ }
34
+ get newValue() {
35
+ return brushToString(this.i.newValue);
36
+ }
37
+ set newValue(v) {
38
+ this.i.newValue = stringToBrush(v);
39
+ }
40
+ }