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.
- package/bundles/igniteui-angular-inputs.umd.js +16857 -7563
- package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +19 -19
- package/esm2015/lib/ButtonView_combined.js +820 -790
- package/esm2015/lib/CalendarView_combined.js +82 -82
- package/esm2015/lib/ColorEditor.js +7 -0
- package/esm2015/lib/ColorEditorBridge.js +7 -0
- package/esm2015/lib/ColorEditorGotFocusEventArgs.js +16 -0
- package/esm2015/lib/ColorEditorLostFocusEventArgs.js +16 -0
- package/esm2015/lib/ColorEditorPanel.js +7 -0
- package/esm2015/lib/ColorEditorPanelClosedEventArgs.js +16 -0
- package/esm2015/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +33 -0
- package/esm2015/lib/ColorEditorPanelView.js +7 -0
- package/esm2015/lib/ColorEditorView.js +7 -0
- package/esm2015/lib/DatePickerView_combined.js +18 -18
- package/esm2015/lib/DefaultMultiSliderTrackBarVisual.js +113 -0
- package/esm2015/lib/DefaultMultiSliderTrackRangeVisual.js +208 -0
- package/esm2015/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +170 -0
- package/esm2015/lib/DefaultMultiSliderTrackThumbVisual.js +193 -0
- package/esm2015/lib/DefaultMultiTrackShadeVisual.js +172 -0
- package/esm2015/lib/IMultiSliderTrackBarVisual.js +11 -0
- package/esm2015/lib/IMultiSliderTrackRangeVisual.js +11 -0
- package/esm2015/lib/IMultiSliderTrackShadeVisual.js +11 -0
- package/esm2015/lib/IMultiSliderTrackThumbCalloutVisual.js +11 -0
- package/esm2015/lib/IMultiSliderTrackThumbVisual.js +11 -0
- package/esm2015/lib/ISliderTrackOwner.js +11 -0
- package/esm2015/lib/IconClickedEventArgs.js +10 -0
- package/esm2015/lib/IconView_combined.js +345 -314
- package/esm2015/lib/InputGroupView_combined.js +456 -355
- package/esm2015/lib/MultiSlider.js +7 -0
- package/esm2015/lib/MultiSliderBridge.js +165 -0
- package/esm2015/lib/MultiSliderCursor.js +11 -0
- package/esm2015/lib/MultiSliderHitInfo.js +22 -0
- package/esm2015/lib/MultiSliderOrientation.js +17 -0
- package/esm2015/lib/MultiSliderResolvingToolTipValueEventArgs.js +33 -0
- package/esm2015/lib/MultiSliderThumb.js +7 -0
- package/esm2015/lib/MultiSliderThumbCollection.js +21 -0
- package/esm2015/lib/MultiSliderThumbRangePosition.js +16 -0
- package/esm2015/lib/MultiSliderThumbValueChangingEventArgs.js +21 -0
- package/esm2015/lib/MultiSliderThumb_combined.js +297 -0
- package/esm2015/lib/MultiSliderTrackShadeOrientation.js +11 -0
- package/esm2015/lib/MultiSliderTrackThumbRange.js +7 -0
- package/esm2015/lib/MultiSliderView.js +7 -0
- package/esm2015/lib/MultiSliderView_combined.js +1785 -0
- package/esm2015/lib/MultiSliderVisualArea.js +11 -0
- package/esm2015/lib/MultiSliderYValueChangingEventArgs.js +20 -0
- package/esm2015/lib/NativeUIXInputsFactory.js +1 -179
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +2113 -0
- package/esm2015/lib/XButtonBridge.js +25 -20
- package/esm2015/lib/XButtonGroupBridge.js +177 -0
- package/esm2015/lib/XComponentBridge.js +3 -0
- package/esm2015/lib/XIconBridge.js +20 -16
- package/esm2015/lib/XInputBridge.js +274 -26
- package/esm2015/lib/XPopupBridge.js +117 -98
- package/esm2015/lib/igx-color-editor-component.js +470 -0
- package/esm2015/lib/igx-color-editor-dynamic-module.js +45 -0
- package/esm2015/lib/igx-color-editor-got-focus-event-args.js +27 -0
- package/esm2015/lib/igx-color-editor-lost-focus-event-args.js +27 -0
- package/esm2015/lib/igx-color-editor-module.js +39 -0
- package/esm2015/lib/igx-color-editor-panel-closed-event-args.js +27 -0
- package/esm2015/lib/igx-color-editor-panel-component.js +376 -0
- package/esm2015/lib/igx-color-editor-panel-dynamic-module.js +66 -0
- package/esm2015/lib/igx-color-editor-panel-module.js +60 -0
- package/esm2015/lib/igx-color-editor-panel-selected-value-changed-event-args.js +40 -0
- package/esm2015/lib/igx-multi-slider-component.js +642 -0
- package/esm2015/lib/igx-multi-slider-dynamic-module.js +38 -0
- package/esm2015/lib/igx-multi-slider-module.js +36 -0
- package/esm2015/lib/igx-multi-slider-resolving-tool-tip-value-event-args.js +39 -0
- package/esm2015/lib/igx-multi-slider-thumb-collection.js +53 -0
- package/esm2015/lib/igx-multi-slider-thumb-value-changing-event-args.js +56 -0
- package/esm2015/lib/igx-multi-slider-thumb.js +111 -0
- package/esm2015/lib/igx-multi-slider-track-thumb-range.js +119 -0
- package/esm2015/lib/igx-multi-slider-y-value-changing-event-args.js +33 -0
- package/esm2015/lib/igx-x-button-component.js +262 -262
- package/esm2015/lib/igx-x-icon-component.js +66 -55
- package/esm2015/lib/igx-x-input-group-component.js +48 -48
- package/esm2015/lib/igx-x-label-component.js +41 -40
- package/esm2015/public_api.js +55 -0
- package/esm5/lib/ButtonGroupView_combined.js +19 -19
- package/esm5/lib/ButtonView_combined.js +765 -735
- package/esm5/lib/CalendarView_combined.js +82 -82
- package/esm5/lib/ColorEditor.js +7 -0
- package/esm5/lib/ColorEditorBridge.js +7 -0
- package/esm5/lib/ColorEditorGotFocusEventArgs.js +20 -0
- package/esm5/lib/ColorEditorLostFocusEventArgs.js +20 -0
- package/esm5/lib/ColorEditorPanel.js +7 -0
- package/esm5/lib/ColorEditorPanelClosedEventArgs.js +20 -0
- package/esm5/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +43 -0
- package/esm5/lib/ColorEditorPanelView.js +7 -0
- package/esm5/lib/ColorEditorView.js +7 -0
- package/esm5/lib/DatePickerView_combined.js +18 -18
- package/esm5/lib/DefaultMultiSliderTrackBarVisual.js +139 -0
- package/esm5/lib/DefaultMultiSliderTrackRangeVisual.js +242 -0
- package/esm5/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +212 -0
- package/esm5/lib/DefaultMultiSliderTrackThumbVisual.js +227 -0
- package/esm5/lib/DefaultMultiTrackShadeVisual.js +206 -0
- package/esm5/lib/IMultiSliderTrackBarVisual.js +11 -0
- package/esm5/lib/IMultiSliderTrackRangeVisual.js +11 -0
- package/esm5/lib/IMultiSliderTrackShadeVisual.js +11 -0
- package/esm5/lib/IMultiSliderTrackThumbCalloutVisual.js +11 -0
- package/esm5/lib/IMultiSliderTrackThumbVisual.js +11 -0
- package/esm5/lib/ISliderTrackOwner.js +11 -0
- package/esm5/lib/IconClickedEventArgs.js +13 -1
- package/esm5/lib/IconView_combined.js +336 -301
- package/esm5/lib/InputGroupView_combined.js +444 -343
- package/esm5/lib/MultiSlider.js +7 -0
- package/esm5/lib/MultiSliderBridge.js +167 -0
- package/esm5/lib/MultiSliderCursor.js +11 -0
- package/esm5/lib/MultiSliderHitInfo.js +24 -0
- package/esm5/lib/MultiSliderOrientation.js +17 -0
- package/esm5/lib/MultiSliderResolvingToolTipValueEventArgs.js +43 -0
- package/esm5/lib/MultiSliderThumb.js +7 -0
- package/esm5/lib/MultiSliderThumbCollection.js +22 -0
- package/esm5/lib/MultiSliderThumbRangePosition.js +16 -0
- package/esm5/lib/MultiSliderThumbValueChangingEventArgs.js +23 -0
- package/esm5/lib/MultiSliderThumb_combined.js +352 -0
- package/esm5/lib/MultiSliderTrackShadeOrientation.js +11 -0
- package/esm5/lib/MultiSliderTrackThumbRange.js +7 -0
- package/esm5/lib/MultiSliderView.js +7 -0
- package/esm5/lib/MultiSliderView_combined.js +2006 -0
- package/esm5/lib/MultiSliderVisualArea.js +11 -0
- package/esm5/lib/MultiSliderYValueChangingEventArgs.js +22 -0
- package/esm5/lib/NativeUIXInputsFactory.js +1 -189
- package/esm5/lib/NativeUIXInputsFactory_combined.js +2298 -0
- package/esm5/lib/XButtonBridge.js +25 -20
- package/esm5/lib/XButtonGroupBridge.js +179 -0
- package/esm5/lib/XComponentBridge.js +3 -0
- package/esm5/lib/XIconBridge.js +20 -16
- package/esm5/lib/XInputBridge.js +274 -26
- package/esm5/lib/XPopupBridge.js +117 -98
- package/esm5/lib/igx-color-editor-component.js +555 -0
- package/esm5/lib/igx-color-editor-dynamic-module.js +44 -0
- package/esm5/lib/igx-color-editor-got-focus-event-args.js +33 -0
- package/esm5/lib/igx-color-editor-lost-focus-event-args.js +33 -0
- package/esm5/lib/igx-color-editor-module.js +38 -0
- package/esm5/lib/igx-color-editor-panel-closed-event-args.js +33 -0
- package/esm5/lib/igx-color-editor-panel-component.js +435 -0
- package/esm5/lib/igx-color-editor-panel-dynamic-module.js +65 -0
- package/esm5/lib/igx-color-editor-panel-module.js +59 -0
- package/esm5/lib/igx-color-editor-panel-selected-value-changed-event-args.js +54 -0
- package/esm5/lib/igx-multi-slider-component.js +842 -0
- package/esm5/lib/igx-multi-slider-dynamic-module.js +37 -0
- package/esm5/lib/igx-multi-slider-module.js +35 -0
- package/esm5/lib/igx-multi-slider-resolving-tool-tip-value-event-args.js +53 -0
- package/esm5/lib/igx-multi-slider-thumb-collection.js +58 -0
- package/esm5/lib/igx-multi-slider-thumb-value-changing-event-args.js +70 -0
- package/esm5/lib/igx-multi-slider-thumb.js +134 -0
- package/esm5/lib/igx-multi-slider-track-thumb-range.js +149 -0
- package/esm5/lib/igx-multi-slider-y-value-changing-event-args.js +43 -0
- package/esm5/lib/igx-x-button-component.js +262 -262
- package/esm5/lib/igx-x-icon-component.js +70 -55
- package/esm5/lib/igx-x-input-group-component.js +48 -48
- package/esm5/lib/igx-x-label-component.js +41 -40
- package/esm5/public_api.js +55 -0
- package/fesm2015/igniteui-angular-inputs.js +15626 -7466
- package/fesm5/igniteui-angular-inputs.js +16802 -7565
- package/lib/ButtonView_combined.d.ts +243 -241
- package/lib/ColorEditor.d.ts +1 -0
- package/lib/ColorEditorBridge.d.ts +1 -0
- package/lib/ColorEditorGotFocusEventArgs.d.ts +7 -0
- package/lib/ColorEditorLostFocusEventArgs.d.ts +7 -0
- package/lib/ColorEditorPanel.d.ts +1 -0
- package/lib/ColorEditorPanelClosedEventArgs.d.ts +7 -0
- package/lib/ColorEditorPanelSelectedValueChangedEventArgs.d.ts +14 -0
- package/lib/ColorEditorPanelView.d.ts +1 -0
- package/lib/ColorEditorView.d.ts +1 -0
- package/lib/DefaultMultiSliderTrackBarVisual.d.ts +34 -0
- package/lib/DefaultMultiSliderTrackRangeVisual.d.ts +43 -0
- package/lib/DefaultMultiSliderTrackThumbCalloutVisual.d.ts +49 -0
- package/lib/DefaultMultiSliderTrackThumbVisual.d.ts +45 -0
- package/lib/DefaultMultiTrackShadeVisual.d.ts +42 -0
- package/lib/IMultiSliderTrackBarVisual.d.ts +21 -0
- package/lib/IMultiSliderTrackRangeVisual.d.ts +25 -0
- package/lib/IMultiSliderTrackShadeVisual.d.ts +24 -0
- package/lib/IMultiSliderTrackThumbCalloutVisual.d.ts +27 -0
- package/lib/IMultiSliderTrackThumbVisual.d.ts +27 -0
- package/lib/ISliderTrackOwner.d.ts +15 -0
- package/lib/IconClickedEventArgs.d.ts +3 -0
- package/lib/IconView_combined.d.ts +88 -84
- package/lib/InputGroupView_combined.d.ts +120 -113
- package/lib/MultiSlider.d.ts +1 -0
- package/lib/MultiSliderBridge.d.ts +24 -0
- package/lib/MultiSliderCursor.d.ts +15 -0
- package/lib/MultiSliderHitInfo.d.ts +13 -0
- package/lib/MultiSliderOrientation.d.ts +10 -0
- package/lib/MultiSliderResolvingToolTipValueEventArgs.d.ts +13 -0
- package/lib/MultiSliderThumb.d.ts +1 -0
- package/lib/MultiSliderThumbCollection.d.ts +10 -0
- package/lib/MultiSliderThumbRangePosition.d.ts +9 -0
- package/lib/MultiSliderThumbValueChangingEventArgs.d.ts +10 -0
- package/lib/MultiSliderThumb_combined.d.ts +76 -0
- package/lib/MultiSliderTrackShadeOrientation.d.ts +14 -0
- package/lib/MultiSliderTrackThumbRange.d.ts +1 -0
- package/lib/MultiSliderView.d.ts +1 -0
- package/lib/MultiSliderView_combined.d.ts +298 -0
- package/lib/MultiSliderVisualArea.d.ts +14 -0
- package/lib/MultiSliderYValueChangingEventArgs.d.ts +8 -0
- package/lib/NativeUIXInputsFactory.d.ts +1 -24
- package/lib/NativeUIXInputsFactory_combined.d.ts +393 -0
- package/lib/XButtonGroupBridge.d.ts +29 -0
- package/lib/XInputBridge.d.ts +29 -5
- package/lib/XPopupBridge.d.ts +12 -9
- package/lib/igx-color-editor-component.d.ts +161 -0
- package/lib/igx-color-editor-dynamic-module.d.ts +10 -0
- package/lib/igx-color-editor-got-focus-event-args.d.ts +12 -0
- package/lib/igx-color-editor-lost-focus-event-args.d.ts +12 -0
- package/lib/igx-color-editor-module.d.ts +10 -0
- package/lib/igx-color-editor-panel-closed-event-args.d.ts +12 -0
- package/lib/igx-color-editor-panel-component.d.ts +125 -0
- package/lib/igx-color-editor-panel-dynamic-module.d.ts +13 -0
- package/lib/igx-color-editor-panel-module.d.ts +13 -0
- package/lib/igx-color-editor-panel-selected-value-changed-event-args.d.ts +16 -0
- package/lib/igx-multi-slider-component.d.ts +200 -0
- package/lib/igx-multi-slider-dynamic-module.d.ts +9 -0
- package/lib/igx-multi-slider-module.d.ts +9 -0
- package/lib/igx-multi-slider-resolving-tool-tip-value-event-args.d.ts +17 -0
- package/lib/igx-multi-slider-thumb-collection.d.ts +8 -0
- package/lib/igx-multi-slider-thumb-value-changing-event-args.d.ts +18 -0
- package/lib/igx-multi-slider-thumb.d.ts +33 -0
- package/lib/igx-multi-slider-track-thumb-range.d.ts +32 -0
- package/lib/igx-multi-slider-y-value-changing-event-args.d.ts +15 -0
- package/lib/igx-x-icon-component.d.ts +6 -1
- package/package.json +2 -2
- package/public_api.d.ts +55 -0
|
@@ -0,0 +1,555 @@
|
|
|
1
|
+
import { Output, TemplateRef, EventEmitter, Component, ViewContainerRef, ViewChild, Input, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
+
import { ColorEditor } from "./ColorEditor";
|
|
3
|
+
import { ensureEnum, brushToString, stringToBrush, ensureBool, 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 { IgxColorEditorLostFocusEventArgs } from "./igx-color-editor-lost-focus-event-args";
|
|
12
|
+
import { IgxColorEditorGotFocusEventArgs } from "./igx-color-editor-got-focus-event-args";
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
var IgxColorEditorComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
15
|
+
function IgxColorEditorComponent(renderer, _elRef, ngZone, injector, componentFactoryResolver) {
|
|
16
|
+
this.renderer = renderer;
|
|
17
|
+
this._elRef = _elRef;
|
|
18
|
+
this.ngZone = ngZone;
|
|
19
|
+
this.injector = injector;
|
|
20
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
21
|
+
this._wrapper = null;
|
|
22
|
+
this._portalManager = null;
|
|
23
|
+
this._root = null;
|
|
24
|
+
this.__p = null;
|
|
25
|
+
this._hasUserValues = new Set();
|
|
26
|
+
this._stylingContainer = null;
|
|
27
|
+
this._stylingParent = null;
|
|
28
|
+
this._inStyling = false;
|
|
29
|
+
this._valueChanged = null;
|
|
30
|
+
this._valueChanging = null;
|
|
31
|
+
this._gotFocus = null;
|
|
32
|
+
this._lostFocus = null;
|
|
33
|
+
this._zoneRunner = null;
|
|
34
|
+
if (this._styling) {
|
|
35
|
+
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
|
|
36
|
+
}
|
|
37
|
+
this._implementation = this.createImplementation();
|
|
38
|
+
this._implementation.externalObject = this;
|
|
39
|
+
if (renderer) {
|
|
40
|
+
this.container = renderer.createElement("div");
|
|
41
|
+
renderer.appendChild(_elRef.element.nativeElement, this.container);
|
|
42
|
+
renderer.setStyle(this.container, "display", "block");
|
|
43
|
+
}
|
|
44
|
+
var root;
|
|
45
|
+
root = this.container;
|
|
46
|
+
if (this.container != null) {
|
|
47
|
+
root = this.container;
|
|
48
|
+
}
|
|
49
|
+
if (root && root.nativeElement) {
|
|
50
|
+
root = root.nativeElement;
|
|
51
|
+
}
|
|
52
|
+
this._root = root;
|
|
53
|
+
var colorEditor = this.i;
|
|
54
|
+
this._colorEditor = colorEditor;
|
|
55
|
+
if (renderer) {
|
|
56
|
+
this._portalManager = new PortalManager("colorEditorContent", componentFactoryResolver);
|
|
57
|
+
var ren = new AngularRenderer(root, this.renderer, window.document, this.ngZone, true, {}, this._portalManager);
|
|
58
|
+
this._wrapper = ren;
|
|
59
|
+
colorEditor.provideContainer(ren);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
// supports angular themes or custom properties set in CSS
|
|
63
|
+
IgxColorEditorComponent.prototype.updateStyle = function () {
|
|
64
|
+
this._styling(this._root, this);
|
|
65
|
+
};
|
|
66
|
+
IgxColorEditorComponent.prototype.ngOnDestroy = function () {
|
|
67
|
+
this._colorEditor.destroy();
|
|
68
|
+
this._wrapper.destroy();
|
|
69
|
+
};
|
|
70
|
+
IgxColorEditorComponent.prototype.ngAfterViewInit = function () {
|
|
71
|
+
this._portalManager.dynamicContent = this._dynamicContent;
|
|
72
|
+
this._portalManager.onChildContentChanged(this._childTemplateRef);
|
|
73
|
+
this._styling(this._root, this);
|
|
74
|
+
this.updateStyle();
|
|
75
|
+
};
|
|
76
|
+
IgxColorEditorComponent.prototype.createImplementation = function () {
|
|
77
|
+
return new ColorEditor();
|
|
78
|
+
};
|
|
79
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "i", {
|
|
80
|
+
/**
|
|
81
|
+
* @hidden
|
|
82
|
+
*/
|
|
83
|
+
get: function () {
|
|
84
|
+
return this._implementation;
|
|
85
|
+
} /**
|
|
86
|
+
* @hidden
|
|
87
|
+
*/,
|
|
88
|
+
enumerable: false,
|
|
89
|
+
configurable: true
|
|
90
|
+
});
|
|
91
|
+
IgxColorEditorComponent._createFromInternal = function (internal) {
|
|
92
|
+
if (!internal) {
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
95
|
+
if (!internal.$type) {
|
|
96
|
+
return null;
|
|
97
|
+
}
|
|
98
|
+
var name = internal.$type.name;
|
|
99
|
+
var externalName = "Igx" + name + "Component";
|
|
100
|
+
if (!TypeRegistrar.isRegistered(externalName)) {
|
|
101
|
+
return null;
|
|
102
|
+
}
|
|
103
|
+
return TypeRegistrar.create(externalName);
|
|
104
|
+
};
|
|
105
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "value", {
|
|
106
|
+
/**
|
|
107
|
+
* Gets or Sets color value of the editor.
|
|
108
|
+
*/
|
|
109
|
+
get: function () {
|
|
110
|
+
return brushToString(this.i.value);
|
|
111
|
+
},
|
|
112
|
+
set: function (v) {
|
|
113
|
+
this.i.value = stringToBrush(v);
|
|
114
|
+
},
|
|
115
|
+
enumerable: false,
|
|
116
|
+
configurable: true
|
|
117
|
+
});
|
|
118
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "label", {
|
|
119
|
+
/**
|
|
120
|
+
* Gets or Sets the property name that contains the label.
|
|
121
|
+
*/
|
|
122
|
+
get: function () {
|
|
123
|
+
return this.i.az;
|
|
124
|
+
},
|
|
125
|
+
set: function (v) {
|
|
126
|
+
this.i.az = v;
|
|
127
|
+
},
|
|
128
|
+
enumerable: false,
|
|
129
|
+
configurable: true
|
|
130
|
+
});
|
|
131
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "labelTextColor", {
|
|
132
|
+
/**
|
|
133
|
+
* Gets or sets the color to use for the text.
|
|
134
|
+
*/
|
|
135
|
+
get: function () {
|
|
136
|
+
return brushToString(this.i.cn);
|
|
137
|
+
},
|
|
138
|
+
set: function (v) {
|
|
139
|
+
this.i.cn = stringToBrush(v);
|
|
140
|
+
},
|
|
141
|
+
enumerable: false,
|
|
142
|
+
configurable: true
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "labelTextStyle", {
|
|
145
|
+
/**
|
|
146
|
+
* Gets or sets the font to use for the input.
|
|
147
|
+
*/
|
|
148
|
+
get: function () {
|
|
149
|
+
if (this.i.o == null) {
|
|
150
|
+
return null;
|
|
151
|
+
}
|
|
152
|
+
return this.i.o.fontString;
|
|
153
|
+
},
|
|
154
|
+
set: function (v) {
|
|
155
|
+
var fi = new FontInfo();
|
|
156
|
+
fi.fontString = v;
|
|
157
|
+
this.i.o = fi;
|
|
158
|
+
},
|
|
159
|
+
enumerable: false,
|
|
160
|
+
configurable: true
|
|
161
|
+
});
|
|
162
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "density", {
|
|
163
|
+
/**
|
|
164
|
+
* Gets or sets the display density to use for the date pcicker.
|
|
165
|
+
*/
|
|
166
|
+
get: function () {
|
|
167
|
+
return this.i.k;
|
|
168
|
+
},
|
|
169
|
+
set: function (v) {
|
|
170
|
+
this.i.k = ensureEnum(ControlDisplayDensity_$type, v);
|
|
171
|
+
},
|
|
172
|
+
enumerable: false,
|
|
173
|
+
configurable: true
|
|
174
|
+
});
|
|
175
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "baseTheme", {
|
|
176
|
+
/**
|
|
177
|
+
* Gets or sets the base built in theme to use for the date picker.
|
|
178
|
+
*/
|
|
179
|
+
get: function () {
|
|
180
|
+
return this.i.i;
|
|
181
|
+
},
|
|
182
|
+
set: function (v) {
|
|
183
|
+
this.i.i = ensureEnum(BaseControlTheme_$type, v);
|
|
184
|
+
},
|
|
185
|
+
enumerable: false,
|
|
186
|
+
configurable: true
|
|
187
|
+
});
|
|
188
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "textStyle", {
|
|
189
|
+
/**
|
|
190
|
+
* Gets or sets the font to use for the combobox.
|
|
191
|
+
*/
|
|
192
|
+
get: function () {
|
|
193
|
+
if (this.i.p == null) {
|
|
194
|
+
return null;
|
|
195
|
+
}
|
|
196
|
+
return this.i.p.fontString;
|
|
197
|
+
},
|
|
198
|
+
set: function (v) {
|
|
199
|
+
var fi = new FontInfo();
|
|
200
|
+
fi.fontString = v;
|
|
201
|
+
this.i.p = fi;
|
|
202
|
+
},
|
|
203
|
+
enumerable: false,
|
|
204
|
+
configurable: true
|
|
205
|
+
});
|
|
206
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "textColor", {
|
|
207
|
+
/**
|
|
208
|
+
* Gets or Sets the text color
|
|
209
|
+
*/
|
|
210
|
+
get: function () {
|
|
211
|
+
return brushToString(this.i.co);
|
|
212
|
+
},
|
|
213
|
+
set: function (v) {
|
|
214
|
+
this.i.co = stringToBrush(v);
|
|
215
|
+
},
|
|
216
|
+
enumerable: false,
|
|
217
|
+
configurable: true
|
|
218
|
+
});
|
|
219
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "iconColor", {
|
|
220
|
+
/**
|
|
221
|
+
* Gets or Sets the text color
|
|
222
|
+
*/
|
|
223
|
+
get: function () {
|
|
224
|
+
return brushToString(this.i.cm);
|
|
225
|
+
},
|
|
226
|
+
set: function (v) {
|
|
227
|
+
this.i.cm = stringToBrush(v);
|
|
228
|
+
},
|
|
229
|
+
enumerable: false,
|
|
230
|
+
configurable: true
|
|
231
|
+
});
|
|
232
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "showClearButton", {
|
|
233
|
+
/**
|
|
234
|
+
* Gets or sets the ShowClearButton property to detirmine if the clear button is shown
|
|
235
|
+
*/
|
|
236
|
+
get: function () {
|
|
237
|
+
return this.i.am;
|
|
238
|
+
},
|
|
239
|
+
set: function (v) {
|
|
240
|
+
this.i.am = ensureBool(v);
|
|
241
|
+
},
|
|
242
|
+
enumerable: false,
|
|
243
|
+
configurable: true
|
|
244
|
+
});
|
|
245
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "allowTextInput", {
|
|
246
|
+
/**
|
|
247
|
+
* Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
|
|
248
|
+
*/
|
|
249
|
+
get: function () {
|
|
250
|
+
return this.i.ag;
|
|
251
|
+
},
|
|
252
|
+
set: function (v) {
|
|
253
|
+
this.i.ag = ensureBool(v);
|
|
254
|
+
},
|
|
255
|
+
enumerable: false,
|
|
256
|
+
configurable: true
|
|
257
|
+
});
|
|
258
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "openOnFocus", {
|
|
259
|
+
/**
|
|
260
|
+
* Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
|
|
261
|
+
*/
|
|
262
|
+
get: function () {
|
|
263
|
+
return this.i.ak;
|
|
264
|
+
},
|
|
265
|
+
set: function (v) {
|
|
266
|
+
this.i.ak = ensureBool(v);
|
|
267
|
+
},
|
|
268
|
+
enumerable: false,
|
|
269
|
+
configurable: true
|
|
270
|
+
});
|
|
271
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "isDisabled", {
|
|
272
|
+
get: function () {
|
|
273
|
+
return this.i.ah;
|
|
274
|
+
},
|
|
275
|
+
set: function (v) {
|
|
276
|
+
this.i.ah = ensureBool(v);
|
|
277
|
+
},
|
|
278
|
+
enumerable: false,
|
|
279
|
+
configurable: true
|
|
280
|
+
});
|
|
281
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "isFixed", {
|
|
282
|
+
/**
|
|
283
|
+
* Indicates that the editor dropdown will position itself relative to the window instead of the document.
|
|
284
|
+
*/
|
|
285
|
+
get: function () {
|
|
286
|
+
return this.i.ai;
|
|
287
|
+
},
|
|
288
|
+
set: function (v) {
|
|
289
|
+
this.i.ai = ensureBool(v);
|
|
290
|
+
},
|
|
291
|
+
enumerable: false,
|
|
292
|
+
configurable: true
|
|
293
|
+
});
|
|
294
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "openAsChild", {
|
|
295
|
+
/**
|
|
296
|
+
* Indicates that the dropdown should open as a child of the color editor.
|
|
297
|
+
*/
|
|
298
|
+
get: function () {
|
|
299
|
+
return this.i.aj;
|
|
300
|
+
},
|
|
301
|
+
set: function (v) {
|
|
302
|
+
this.i.aj = ensureBool(v);
|
|
303
|
+
},
|
|
304
|
+
enumerable: false,
|
|
305
|
+
configurable: true
|
|
306
|
+
});
|
|
307
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "useTopLayer", {
|
|
308
|
+
/**
|
|
309
|
+
* Indicates that the dropdown will place itself into the browser top layer.
|
|
310
|
+
*/
|
|
311
|
+
get: function () {
|
|
312
|
+
return this.i.an;
|
|
313
|
+
},
|
|
314
|
+
set: function (v) {
|
|
315
|
+
this.i.an = ensureBool(v);
|
|
316
|
+
},
|
|
317
|
+
enumerable: false,
|
|
318
|
+
configurable: true
|
|
319
|
+
});
|
|
320
|
+
IgxColorEditorComponent.prototype.findByName = function (name) {
|
|
321
|
+
if (this.findEphemera) {
|
|
322
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
323
|
+
return this.findEphemera(name);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
return null;
|
|
327
|
+
};
|
|
328
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "hasUserValues", {
|
|
329
|
+
get: function () {
|
|
330
|
+
return this._hasUserValues;
|
|
331
|
+
},
|
|
332
|
+
enumerable: false,
|
|
333
|
+
configurable: true
|
|
334
|
+
});
|
|
335
|
+
IgxColorEditorComponent.prototype.__m = function (propertyName) {
|
|
336
|
+
if (!this._inStyling) {
|
|
337
|
+
this._hasUserValues.add(propertyName);
|
|
338
|
+
}
|
|
339
|
+
};
|
|
340
|
+
IgxColorEditorComponent.prototype._styling = function (container, component, parent) {
|
|
341
|
+
if (this._inStyling) {
|
|
342
|
+
return;
|
|
343
|
+
}
|
|
344
|
+
this._inStyling = true;
|
|
345
|
+
this._stylingContainer = container;
|
|
346
|
+
this._stylingParent = component;
|
|
347
|
+
var genericPrefix = "";
|
|
348
|
+
var typeName = this.i.$type.name;
|
|
349
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
350
|
+
typeName = typeName.substring(3);
|
|
351
|
+
}
|
|
352
|
+
genericPrefix = toSpinal("ColorEditorComponent");
|
|
353
|
+
var additionalPrefixes = [];
|
|
354
|
+
var prefix = toSpinal(typeName);
|
|
355
|
+
additionalPrefixes.push(prefix + "-");
|
|
356
|
+
var b = this.i.$type.baseType;
|
|
357
|
+
while (b && b.name != "Object" &&
|
|
358
|
+
b.name != "Base" &&
|
|
359
|
+
b.name != "Control" &&
|
|
360
|
+
b.Name != "DependencyObject" &&
|
|
361
|
+
b.Name != "FrameworkElement") {
|
|
362
|
+
typeName = b.name;
|
|
363
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
364
|
+
typeName = typeName.substring(3);
|
|
365
|
+
}
|
|
366
|
+
var basePrefix = toSpinal(typeName);
|
|
367
|
+
additionalPrefixes.push(basePrefix + "-");
|
|
368
|
+
b = b.baseType;
|
|
369
|
+
}
|
|
370
|
+
if (parent) {
|
|
371
|
+
var parentTypeName = parent.i.$type.name;
|
|
372
|
+
if (parentTypeName.indexOf("Xam") === 0) {
|
|
373
|
+
parentTypeName = parentTypeName.substring(3);
|
|
374
|
+
}
|
|
375
|
+
var parentPrefix = toSpinal(parentTypeName);
|
|
376
|
+
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
|
|
377
|
+
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
|
|
378
|
+
}
|
|
379
|
+
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
|
|
380
|
+
if (this._otherStyling) {
|
|
381
|
+
this._otherStyling(container, component, parent);
|
|
382
|
+
}
|
|
383
|
+
this._inStyling = false;
|
|
384
|
+
};
|
|
385
|
+
IgxColorEditorComponent.prototype.select = function () {
|
|
386
|
+
this.i.b8();
|
|
387
|
+
};
|
|
388
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "valueChanged", {
|
|
389
|
+
/**
|
|
390
|
+
* Called when color is selected.
|
|
391
|
+
*/
|
|
392
|
+
get: function () {
|
|
393
|
+
var _this = this;
|
|
394
|
+
if (this._valueChanged == null) {
|
|
395
|
+
this._valueChanged = new EventEmitter();
|
|
396
|
+
this.i.valueChanged = delegateCombine(this.i.valueChanged, function (o, e) {
|
|
397
|
+
var outerArgs = new IgxColorEditorPanelSelectedValueChangedEventArgs();
|
|
398
|
+
outerArgs._provideImplementation(e);
|
|
399
|
+
if (_this.beforeValueChanged) {
|
|
400
|
+
_this.beforeValueChanged(_this, outerArgs);
|
|
401
|
+
}
|
|
402
|
+
_this._valueChanged.emit({
|
|
403
|
+
sender: _this,
|
|
404
|
+
args: outerArgs
|
|
405
|
+
});
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
return this._valueChanged;
|
|
409
|
+
},
|
|
410
|
+
enumerable: false,
|
|
411
|
+
configurable: true
|
|
412
|
+
});
|
|
413
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "valueChanging", {
|
|
414
|
+
/**
|
|
415
|
+
* Called when color is selected.
|
|
416
|
+
*/
|
|
417
|
+
get: function () {
|
|
418
|
+
var _this = this;
|
|
419
|
+
if (this._valueChanging == null) {
|
|
420
|
+
this._valueChanging = new EventEmitter();
|
|
421
|
+
this.i.valueChanging = delegateCombine(this.i.valueChanging, function (o, e) {
|
|
422
|
+
var outerArgs = new IgxColorEditorPanelSelectedValueChangedEventArgs();
|
|
423
|
+
outerArgs._provideImplementation(e);
|
|
424
|
+
if (_this.beforeValueChanging) {
|
|
425
|
+
_this.beforeValueChanging(_this, outerArgs);
|
|
426
|
+
}
|
|
427
|
+
_this._valueChanging.emit({
|
|
428
|
+
sender: _this,
|
|
429
|
+
args: outerArgs
|
|
430
|
+
});
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
return this._valueChanging;
|
|
434
|
+
},
|
|
435
|
+
enumerable: false,
|
|
436
|
+
configurable: true
|
|
437
|
+
});
|
|
438
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "gotFocus", {
|
|
439
|
+
get: function () {
|
|
440
|
+
var _this = this;
|
|
441
|
+
if (this._gotFocus == null) {
|
|
442
|
+
this._gotFocus = new EventEmitter();
|
|
443
|
+
this.i.gotFocus = delegateCombine(this.i.gotFocus, function (o, e) {
|
|
444
|
+
_this._runInZone(function () {
|
|
445
|
+
var outerArgs = new IgxColorEditorGotFocusEventArgs();
|
|
446
|
+
outerArgs._provideImplementation(e);
|
|
447
|
+
if (_this.beforeGotFocus) {
|
|
448
|
+
_this.beforeGotFocus(_this, outerArgs);
|
|
449
|
+
}
|
|
450
|
+
_this._gotFocus.emit({
|
|
451
|
+
sender: _this,
|
|
452
|
+
args: outerArgs
|
|
453
|
+
});
|
|
454
|
+
});
|
|
455
|
+
});
|
|
456
|
+
}
|
|
457
|
+
return this._gotFocus;
|
|
458
|
+
},
|
|
459
|
+
enumerable: false,
|
|
460
|
+
configurable: true
|
|
461
|
+
});
|
|
462
|
+
Object.defineProperty(IgxColorEditorComponent.prototype, "lostFocus", {
|
|
463
|
+
get: function () {
|
|
464
|
+
var _this = this;
|
|
465
|
+
if (this._lostFocus == null) {
|
|
466
|
+
this._lostFocus = new EventEmitter();
|
|
467
|
+
this.i.lostFocus = delegateCombine(this.i.lostFocus, function (o, e) {
|
|
468
|
+
_this._runInZone(function () {
|
|
469
|
+
var outerArgs = new IgxColorEditorLostFocusEventArgs();
|
|
470
|
+
outerArgs._provideImplementation(e);
|
|
471
|
+
if (_this.beforeLostFocus) {
|
|
472
|
+
_this.beforeLostFocus(_this, outerArgs);
|
|
473
|
+
}
|
|
474
|
+
_this._lostFocus.emit({
|
|
475
|
+
sender: _this,
|
|
476
|
+
args: outerArgs
|
|
477
|
+
});
|
|
478
|
+
});
|
|
479
|
+
});
|
|
480
|
+
}
|
|
481
|
+
return this._lostFocus;
|
|
482
|
+
},
|
|
483
|
+
enumerable: false,
|
|
484
|
+
configurable: true
|
|
485
|
+
});
|
|
486
|
+
IgxColorEditorComponent.prototype._runInZone = function (act) {
|
|
487
|
+
if (this._zoneRunner != null) {
|
|
488
|
+
this._zoneRunner(act);
|
|
489
|
+
}
|
|
490
|
+
else {
|
|
491
|
+
act();
|
|
492
|
+
}
|
|
493
|
+
};
|
|
494
|
+
IgxColorEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
|
|
495
|
+
IgxColorEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxColorEditorComponent, selector: "igx-color-editor", inputs: { value: "value", label: "label", labelTextColor: "labelTextColor", labelTextStyle: "labelTextStyle", density: "density", baseTheme: "baseTheme", textStyle: "textStyle", textColor: "textColor", iconColor: "iconColor", showClearButton: "showClearButton", allowTextInput: "allowTextInput", openOnFocus: "openOnFocus", isDisabled: "isDisabled", isFixed: "isFixed", openAsChild: "openAsChild", useTopLayer: "useTopLayer" }, outputs: { valueChanged: "valueChanged", valueChanging: "valueChanging", gotFocus: "gotFocus", lostFocus: "lostFocus" }, host: { classAttribute: "ig-color-editor igx-color-editor" }, 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>\n<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 });
|
|
496
|
+
return IgxColorEditorComponent;
|
|
497
|
+
}());
|
|
498
|
+
export { IgxColorEditorComponent };
|
|
499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorComponent, decorators: [{
|
|
500
|
+
type: Component,
|
|
501
|
+
args: [{
|
|
502
|
+
selector: 'igx-color-editor',
|
|
503
|
+
template: "<ng-template #childContent><ng-content></ng-content></ng-template>\n<ng-container #dynamicContent></ng-container>",
|
|
504
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
505
|
+
providers: [],
|
|
506
|
+
host: { 'class': 'ig-color-editor igx-color-editor' },
|
|
507
|
+
styles: ["\n\t\t:host {\n\t\t\tdisplay: block; \n\t\t}\n\t"]
|
|
508
|
+
}]
|
|
509
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { _dynamicContent: [{
|
|
510
|
+
type: ViewChild,
|
|
511
|
+
args: ["dynamicContent", { read: ViewContainerRef, static: true }]
|
|
512
|
+
}], _childTemplateRef: [{
|
|
513
|
+
type: ViewChild,
|
|
514
|
+
args: ["childContent", { read: TemplateRef, static: false }]
|
|
515
|
+
}], value: [{
|
|
516
|
+
type: Input
|
|
517
|
+
}], label: [{
|
|
518
|
+
type: Input
|
|
519
|
+
}], labelTextColor: [{
|
|
520
|
+
type: Input
|
|
521
|
+
}], labelTextStyle: [{
|
|
522
|
+
type: Input
|
|
523
|
+
}], density: [{
|
|
524
|
+
type: Input
|
|
525
|
+
}], baseTheme: [{
|
|
526
|
+
type: Input
|
|
527
|
+
}], textStyle: [{
|
|
528
|
+
type: Input
|
|
529
|
+
}], textColor: [{
|
|
530
|
+
type: Input
|
|
531
|
+
}], iconColor: [{
|
|
532
|
+
type: Input
|
|
533
|
+
}], showClearButton: [{
|
|
534
|
+
type: Input
|
|
535
|
+
}], allowTextInput: [{
|
|
536
|
+
type: Input
|
|
537
|
+
}], openOnFocus: [{
|
|
538
|
+
type: Input
|
|
539
|
+
}], isDisabled: [{
|
|
540
|
+
type: Input
|
|
541
|
+
}], isFixed: [{
|
|
542
|
+
type: Input
|
|
543
|
+
}], openAsChild: [{
|
|
544
|
+
type: Input
|
|
545
|
+
}], useTopLayer: [{
|
|
546
|
+
type: Input
|
|
547
|
+
}], valueChanged: [{
|
|
548
|
+
type: Output
|
|
549
|
+
}], valueChanging: [{
|
|
550
|
+
type: Output
|
|
551
|
+
}], gotFocus: [{
|
|
552
|
+
type: Output
|
|
553
|
+
}], lostFocus: [{
|
|
554
|
+
type: Output
|
|
555
|
+
}] } });
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { IgxColorEditorComponent } from './igx-color-editor-component';
|
|
10
|
+
import { IgxColorEditorPanelDynamicModule } from './igx-color-editor-panel-dynamic-module';
|
|
11
|
+
import { ColorEditor } from './ColorEditor';
|
|
12
|
+
import { TypeRegistrar } from "igniteui-angular-core";
|
|
13
|
+
import { IgxColorEditorModule } from './igx-color-editor-module';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
var IgxColorEditorDynamicModule = /** @class */ /*@__PURE__*/ (function () {
|
|
16
|
+
function IgxColorEditorDynamicModule() {
|
|
17
|
+
TypeRegistrar.registerCons('ColorEditor', ColorEditor);
|
|
18
|
+
TypeRegistrar.registerCons('IgxColorEditorComponent', IgxColorEditorComponent);
|
|
19
|
+
TypeRegistrar.register('ColorEditor', ColorEditor.$type);
|
|
20
|
+
}
|
|
21
|
+
IgxColorEditorDynamicModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorDynamicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
22
|
+
IgxColorEditorDynamicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorDynamicModule, imports: [CommonModule, IgxColorEditorPanelDynamicModule,
|
|
23
|
+
IgxColorEditorModule], exports: [IgxColorEditorPanelDynamicModule,
|
|
24
|
+
IgxColorEditorModule] });
|
|
25
|
+
IgxColorEditorDynamicModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorDynamicModule, imports: [[CommonModule, IgxColorEditorPanelDynamicModule,
|
|
26
|
+
IgxColorEditorModule
|
|
27
|
+
], IgxColorEditorPanelDynamicModule,
|
|
28
|
+
IgxColorEditorModule] });
|
|
29
|
+
return IgxColorEditorDynamicModule;
|
|
30
|
+
}());
|
|
31
|
+
export { IgxColorEditorDynamicModule };
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorDynamicModule, decorators: [{
|
|
33
|
+
type: NgModule,
|
|
34
|
+
args: [{
|
|
35
|
+
declarations: [],
|
|
36
|
+
exports: [IgxColorEditorPanelDynamicModule,
|
|
37
|
+
IgxColorEditorModule
|
|
38
|
+
],
|
|
39
|
+
imports: [CommonModule, IgxColorEditorPanelDynamicModule,
|
|
40
|
+
IgxColorEditorModule
|
|
41
|
+
],
|
|
42
|
+
entryComponents: [IgxColorEditorComponent]
|
|
43
|
+
}]
|
|
44
|
+
}], ctorParameters: function () { return []; } });
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ColorEditorGotFocusEventArgs as ColorEditorGotFocusEventArgs_internal } from "./ColorEditorGotFocusEventArgs";
|
|
2
|
+
var IgxColorEditorGotFocusEventArgs = /** @class */ /*@__PURE__*/ (function () {
|
|
3
|
+
function IgxColorEditorGotFocusEventArgs() {
|
|
4
|
+
this._implementation = this.createImplementation();
|
|
5
|
+
this._implementation.externalObject = this;
|
|
6
|
+
this.onImplementationCreated();
|
|
7
|
+
if (this._initializeAdapters) {
|
|
8
|
+
this._initializeAdapters();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
IgxColorEditorGotFocusEventArgs.prototype.createImplementation = function () {
|
|
12
|
+
return new ColorEditorGotFocusEventArgs_internal();
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(IgxColorEditorGotFocusEventArgs.prototype, "i", {
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
get: function () {
|
|
19
|
+
return this._implementation;
|
|
20
|
+
},
|
|
21
|
+
enumerable: false,
|
|
22
|
+
configurable: true
|
|
23
|
+
});
|
|
24
|
+
IgxColorEditorGotFocusEventArgs.prototype.onImplementationCreated = function () {
|
|
25
|
+
};
|
|
26
|
+
IgxColorEditorGotFocusEventArgs.prototype._provideImplementation = function (i) {
|
|
27
|
+
this._implementation = i;
|
|
28
|
+
this._implementation.externalObject = this;
|
|
29
|
+
this.onImplementationCreated();
|
|
30
|
+
};
|
|
31
|
+
return IgxColorEditorGotFocusEventArgs;
|
|
32
|
+
}());
|
|
33
|
+
export { IgxColorEditorGotFocusEventArgs };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ColorEditorLostFocusEventArgs as ColorEditorLostFocusEventArgs_internal } from "./ColorEditorLostFocusEventArgs";
|
|
2
|
+
var IgxColorEditorLostFocusEventArgs = /** @class */ /*@__PURE__*/ (function () {
|
|
3
|
+
function IgxColorEditorLostFocusEventArgs() {
|
|
4
|
+
this._implementation = this.createImplementation();
|
|
5
|
+
this._implementation.externalObject = this;
|
|
6
|
+
this.onImplementationCreated();
|
|
7
|
+
if (this._initializeAdapters) {
|
|
8
|
+
this._initializeAdapters();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
IgxColorEditorLostFocusEventArgs.prototype.createImplementation = function () {
|
|
12
|
+
return new ColorEditorLostFocusEventArgs_internal();
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(IgxColorEditorLostFocusEventArgs.prototype, "i", {
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
get: function () {
|
|
19
|
+
return this._implementation;
|
|
20
|
+
},
|
|
21
|
+
enumerable: false,
|
|
22
|
+
configurable: true
|
|
23
|
+
});
|
|
24
|
+
IgxColorEditorLostFocusEventArgs.prototype.onImplementationCreated = function () {
|
|
25
|
+
};
|
|
26
|
+
IgxColorEditorLostFocusEventArgs.prototype._provideImplementation = function (i) {
|
|
27
|
+
this._implementation = i;
|
|
28
|
+
this._implementation.externalObject = this;
|
|
29
|
+
this.onImplementationCreated();
|
|
30
|
+
};
|
|
31
|
+
return IgxColorEditorLostFocusEventArgs;
|
|
32
|
+
}());
|
|
33
|
+
export { IgxColorEditorLostFocusEventArgs };
|