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,470 @@
|
|
|
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
|
+
export let IgxColorEditorComponent = /*@__PURE__*/ (() => {
|
|
15
|
+
class IgxColorEditorComponent {
|
|
16
|
+
constructor(renderer, _elRef, ngZone, injector, componentFactoryResolver) {
|
|
17
|
+
this.renderer = renderer;
|
|
18
|
+
this._elRef = _elRef;
|
|
19
|
+
this.ngZone = ngZone;
|
|
20
|
+
this.injector = injector;
|
|
21
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
22
|
+
this._wrapper = null;
|
|
23
|
+
this._portalManager = null;
|
|
24
|
+
this._root = null;
|
|
25
|
+
this.__p = null;
|
|
26
|
+
this._hasUserValues = new Set();
|
|
27
|
+
this._stylingContainer = null;
|
|
28
|
+
this._stylingParent = null;
|
|
29
|
+
this._inStyling = false;
|
|
30
|
+
this._valueChanged = null;
|
|
31
|
+
this._valueChanging = null;
|
|
32
|
+
this._gotFocus = null;
|
|
33
|
+
this._lostFocus = null;
|
|
34
|
+
this._zoneRunner = null;
|
|
35
|
+
if (this._styling) {
|
|
36
|
+
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
|
|
37
|
+
}
|
|
38
|
+
this._implementation = this.createImplementation();
|
|
39
|
+
this._implementation.externalObject = this;
|
|
40
|
+
if (renderer) {
|
|
41
|
+
this.container = renderer.createElement("div");
|
|
42
|
+
renderer.appendChild(_elRef.element.nativeElement, this.container);
|
|
43
|
+
renderer.setStyle(this.container, "display", "block");
|
|
44
|
+
}
|
|
45
|
+
var root;
|
|
46
|
+
root = this.container;
|
|
47
|
+
if (this.container != null) {
|
|
48
|
+
root = this.container;
|
|
49
|
+
}
|
|
50
|
+
if (root && root.nativeElement) {
|
|
51
|
+
root = root.nativeElement;
|
|
52
|
+
}
|
|
53
|
+
this._root = root;
|
|
54
|
+
var colorEditor = this.i;
|
|
55
|
+
this._colorEditor = colorEditor;
|
|
56
|
+
if (renderer) {
|
|
57
|
+
this._portalManager = new PortalManager("colorEditorContent", componentFactoryResolver);
|
|
58
|
+
var ren = new AngularRenderer(root, this.renderer, window.document, this.ngZone, true, {}, this._portalManager);
|
|
59
|
+
this._wrapper = ren;
|
|
60
|
+
colorEditor.provideContainer(ren);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
// supports angular themes or custom properties set in CSS
|
|
64
|
+
updateStyle() {
|
|
65
|
+
this._styling(this._root, this);
|
|
66
|
+
}
|
|
67
|
+
ngOnDestroy() {
|
|
68
|
+
this._colorEditor.destroy();
|
|
69
|
+
this._wrapper.destroy();
|
|
70
|
+
}
|
|
71
|
+
ngAfterViewInit() {
|
|
72
|
+
this._portalManager.dynamicContent = this._dynamicContent;
|
|
73
|
+
this._portalManager.onChildContentChanged(this._childTemplateRef);
|
|
74
|
+
this._styling(this._root, this);
|
|
75
|
+
this.updateStyle();
|
|
76
|
+
}
|
|
77
|
+
createImplementation() {
|
|
78
|
+
return new ColorEditor();
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* @hidden
|
|
82
|
+
*/
|
|
83
|
+
get i() {
|
|
84
|
+
return this._implementation;
|
|
85
|
+
} /**
|
|
86
|
+
* @hidden
|
|
87
|
+
*/
|
|
88
|
+
static _createFromInternal(internal) {
|
|
89
|
+
if (!internal) {
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
92
|
+
if (!internal.$type) {
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
95
|
+
let name = internal.$type.name;
|
|
96
|
+
let externalName = "Igx" + name + "Component";
|
|
97
|
+
if (!TypeRegistrar.isRegistered(externalName)) {
|
|
98
|
+
return null;
|
|
99
|
+
}
|
|
100
|
+
return TypeRegistrar.create(externalName);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Gets or Sets color value of the editor.
|
|
104
|
+
*/
|
|
105
|
+
get value() {
|
|
106
|
+
return brushToString(this.i.value);
|
|
107
|
+
}
|
|
108
|
+
set value(v) {
|
|
109
|
+
this.i.value = stringToBrush(v);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Gets or Sets the property name that contains the label.
|
|
113
|
+
*/
|
|
114
|
+
get label() {
|
|
115
|
+
return this.i.az;
|
|
116
|
+
}
|
|
117
|
+
set label(v) {
|
|
118
|
+
this.i.az = v;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Gets or sets the color to use for the text.
|
|
122
|
+
*/
|
|
123
|
+
get labelTextColor() {
|
|
124
|
+
return brushToString(this.i.cn);
|
|
125
|
+
}
|
|
126
|
+
set labelTextColor(v) {
|
|
127
|
+
this.i.cn = stringToBrush(v);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Gets or sets the font to use for the input.
|
|
131
|
+
*/
|
|
132
|
+
get labelTextStyle() {
|
|
133
|
+
if (this.i.o == null) {
|
|
134
|
+
return null;
|
|
135
|
+
}
|
|
136
|
+
return this.i.o.fontString;
|
|
137
|
+
}
|
|
138
|
+
set labelTextStyle(v) {
|
|
139
|
+
let fi = new FontInfo();
|
|
140
|
+
fi.fontString = v;
|
|
141
|
+
this.i.o = fi;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Gets or sets the display density to use for the date pcicker.
|
|
145
|
+
*/
|
|
146
|
+
get density() {
|
|
147
|
+
return this.i.k;
|
|
148
|
+
}
|
|
149
|
+
set density(v) {
|
|
150
|
+
this.i.k = ensureEnum(ControlDisplayDensity_$type, v);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Gets or sets the base built in theme to use for the date picker.
|
|
154
|
+
*/
|
|
155
|
+
get baseTheme() {
|
|
156
|
+
return this.i.i;
|
|
157
|
+
}
|
|
158
|
+
set baseTheme(v) {
|
|
159
|
+
this.i.i = ensureEnum(BaseControlTheme_$type, v);
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Gets or sets the font to use for the combobox.
|
|
163
|
+
*/
|
|
164
|
+
get textStyle() {
|
|
165
|
+
if (this.i.p == null) {
|
|
166
|
+
return null;
|
|
167
|
+
}
|
|
168
|
+
return this.i.p.fontString;
|
|
169
|
+
}
|
|
170
|
+
set textStyle(v) {
|
|
171
|
+
let fi = new FontInfo();
|
|
172
|
+
fi.fontString = v;
|
|
173
|
+
this.i.p = fi;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Gets or Sets the text color
|
|
177
|
+
*/
|
|
178
|
+
get textColor() {
|
|
179
|
+
return brushToString(this.i.co);
|
|
180
|
+
}
|
|
181
|
+
set textColor(v) {
|
|
182
|
+
this.i.co = stringToBrush(v);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Gets or Sets the text color
|
|
186
|
+
*/
|
|
187
|
+
get iconColor() {
|
|
188
|
+
return brushToString(this.i.cm);
|
|
189
|
+
}
|
|
190
|
+
set iconColor(v) {
|
|
191
|
+
this.i.cm = stringToBrush(v);
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Gets or sets the ShowClearButton property to detirmine if the clear button is shown
|
|
195
|
+
*/
|
|
196
|
+
get showClearButton() {
|
|
197
|
+
return this.i.am;
|
|
198
|
+
}
|
|
199
|
+
set showClearButton(v) {
|
|
200
|
+
this.i.am = ensureBool(v);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
|
|
204
|
+
*/
|
|
205
|
+
get allowTextInput() {
|
|
206
|
+
return this.i.ag;
|
|
207
|
+
}
|
|
208
|
+
set allowTextInput(v) {
|
|
209
|
+
this.i.ag = ensureBool(v);
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
|
|
213
|
+
*/
|
|
214
|
+
get openOnFocus() {
|
|
215
|
+
return this.i.ak;
|
|
216
|
+
}
|
|
217
|
+
set openOnFocus(v) {
|
|
218
|
+
this.i.ak = ensureBool(v);
|
|
219
|
+
}
|
|
220
|
+
get isDisabled() {
|
|
221
|
+
return this.i.ah;
|
|
222
|
+
}
|
|
223
|
+
set isDisabled(v) {
|
|
224
|
+
this.i.ah = ensureBool(v);
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Indicates that the editor dropdown will position itself relative to the window instead of the document.
|
|
228
|
+
*/
|
|
229
|
+
get isFixed() {
|
|
230
|
+
return this.i.ai;
|
|
231
|
+
}
|
|
232
|
+
set isFixed(v) {
|
|
233
|
+
this.i.ai = ensureBool(v);
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Indicates that the dropdown should open as a child of the color editor.
|
|
237
|
+
*/
|
|
238
|
+
get openAsChild() {
|
|
239
|
+
return this.i.aj;
|
|
240
|
+
}
|
|
241
|
+
set openAsChild(v) {
|
|
242
|
+
this.i.aj = ensureBool(v);
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Indicates that the dropdown will place itself into the browser top layer.
|
|
246
|
+
*/
|
|
247
|
+
get useTopLayer() {
|
|
248
|
+
return this.i.an;
|
|
249
|
+
}
|
|
250
|
+
set useTopLayer(v) {
|
|
251
|
+
this.i.an = ensureBool(v);
|
|
252
|
+
}
|
|
253
|
+
findByName(name) {
|
|
254
|
+
if (this.findEphemera) {
|
|
255
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
256
|
+
return this.findEphemera(name);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
return null;
|
|
260
|
+
}
|
|
261
|
+
get hasUserValues() {
|
|
262
|
+
return this._hasUserValues;
|
|
263
|
+
}
|
|
264
|
+
__m(propertyName) {
|
|
265
|
+
if (!this._inStyling) {
|
|
266
|
+
this._hasUserValues.add(propertyName);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
_styling(container, component, parent) {
|
|
270
|
+
if (this._inStyling) {
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
273
|
+
this._inStyling = true;
|
|
274
|
+
this._stylingContainer = container;
|
|
275
|
+
this._stylingParent = component;
|
|
276
|
+
let genericPrefix = "";
|
|
277
|
+
let typeName = this.i.$type.name;
|
|
278
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
279
|
+
typeName = typeName.substring(3);
|
|
280
|
+
}
|
|
281
|
+
genericPrefix = toSpinal("ColorEditorComponent");
|
|
282
|
+
let additionalPrefixes = [];
|
|
283
|
+
let prefix = toSpinal(typeName);
|
|
284
|
+
additionalPrefixes.push(prefix + "-");
|
|
285
|
+
let b = this.i.$type.baseType;
|
|
286
|
+
while (b && b.name != "Object" &&
|
|
287
|
+
b.name != "Base" &&
|
|
288
|
+
b.name != "Control" &&
|
|
289
|
+
b.Name != "DependencyObject" &&
|
|
290
|
+
b.Name != "FrameworkElement") {
|
|
291
|
+
typeName = b.name;
|
|
292
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
293
|
+
typeName = typeName.substring(3);
|
|
294
|
+
}
|
|
295
|
+
let basePrefix = toSpinal(typeName);
|
|
296
|
+
additionalPrefixes.push(basePrefix + "-");
|
|
297
|
+
b = b.baseType;
|
|
298
|
+
}
|
|
299
|
+
if (parent) {
|
|
300
|
+
let parentTypeName = parent.i.$type.name;
|
|
301
|
+
if (parentTypeName.indexOf("Xam") === 0) {
|
|
302
|
+
parentTypeName = parentTypeName.substring(3);
|
|
303
|
+
}
|
|
304
|
+
let parentPrefix = toSpinal(parentTypeName);
|
|
305
|
+
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
|
|
306
|
+
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
|
|
307
|
+
}
|
|
308
|
+
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
|
|
309
|
+
if (this._otherStyling) {
|
|
310
|
+
this._otherStyling(container, component, parent);
|
|
311
|
+
}
|
|
312
|
+
this._inStyling = false;
|
|
313
|
+
}
|
|
314
|
+
select() {
|
|
315
|
+
this.i.b8();
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* Called when color is selected.
|
|
319
|
+
*/
|
|
320
|
+
get valueChanged() {
|
|
321
|
+
if (this._valueChanged == null) {
|
|
322
|
+
this._valueChanged = new EventEmitter();
|
|
323
|
+
this.i.valueChanged = delegateCombine(this.i.valueChanged, (o, e) => {
|
|
324
|
+
let outerArgs = new IgxColorEditorPanelSelectedValueChangedEventArgs();
|
|
325
|
+
outerArgs._provideImplementation(e);
|
|
326
|
+
if (this.beforeValueChanged) {
|
|
327
|
+
this.beforeValueChanged(this, outerArgs);
|
|
328
|
+
}
|
|
329
|
+
this._valueChanged.emit({
|
|
330
|
+
sender: this,
|
|
331
|
+
args: outerArgs
|
|
332
|
+
});
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
return this._valueChanged;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Called when color is selected.
|
|
339
|
+
*/
|
|
340
|
+
get valueChanging() {
|
|
341
|
+
if (this._valueChanging == null) {
|
|
342
|
+
this._valueChanging = new EventEmitter();
|
|
343
|
+
this.i.valueChanging = delegateCombine(this.i.valueChanging, (o, e) => {
|
|
344
|
+
let outerArgs = new IgxColorEditorPanelSelectedValueChangedEventArgs();
|
|
345
|
+
outerArgs._provideImplementation(e);
|
|
346
|
+
if (this.beforeValueChanging) {
|
|
347
|
+
this.beforeValueChanging(this, outerArgs);
|
|
348
|
+
}
|
|
349
|
+
this._valueChanging.emit({
|
|
350
|
+
sender: this,
|
|
351
|
+
args: outerArgs
|
|
352
|
+
});
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
return this._valueChanging;
|
|
356
|
+
}
|
|
357
|
+
get gotFocus() {
|
|
358
|
+
if (this._gotFocus == null) {
|
|
359
|
+
this._gotFocus = new EventEmitter();
|
|
360
|
+
this.i.gotFocus = delegateCombine(this.i.gotFocus, (o, e) => {
|
|
361
|
+
this._runInZone(() => {
|
|
362
|
+
let outerArgs = new IgxColorEditorGotFocusEventArgs();
|
|
363
|
+
outerArgs._provideImplementation(e);
|
|
364
|
+
if (this.beforeGotFocus) {
|
|
365
|
+
this.beforeGotFocus(this, outerArgs);
|
|
366
|
+
}
|
|
367
|
+
this._gotFocus.emit({
|
|
368
|
+
sender: this,
|
|
369
|
+
args: outerArgs
|
|
370
|
+
});
|
|
371
|
+
});
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
return this._gotFocus;
|
|
375
|
+
}
|
|
376
|
+
get lostFocus() {
|
|
377
|
+
if (this._lostFocus == null) {
|
|
378
|
+
this._lostFocus = new EventEmitter();
|
|
379
|
+
this.i.lostFocus = delegateCombine(this.i.lostFocus, (o, e) => {
|
|
380
|
+
this._runInZone(() => {
|
|
381
|
+
let outerArgs = new IgxColorEditorLostFocusEventArgs();
|
|
382
|
+
outerArgs._provideImplementation(e);
|
|
383
|
+
if (this.beforeLostFocus) {
|
|
384
|
+
this.beforeLostFocus(this, outerArgs);
|
|
385
|
+
}
|
|
386
|
+
this._lostFocus.emit({
|
|
387
|
+
sender: this,
|
|
388
|
+
args: outerArgs
|
|
389
|
+
});
|
|
390
|
+
});
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
return this._lostFocus;
|
|
394
|
+
}
|
|
395
|
+
_runInZone(act) {
|
|
396
|
+
if (this._zoneRunner != null) {
|
|
397
|
+
this._zoneRunner(act);
|
|
398
|
+
}
|
|
399
|
+
else {
|
|
400
|
+
act();
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
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 });
|
|
405
|
+
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>
|
|
406
|
+
<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 });
|
|
407
|
+
return IgxColorEditorComponent;
|
|
408
|
+
})();
|
|
409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorComponent, decorators: [{
|
|
410
|
+
type: Component,
|
|
411
|
+
args: [{
|
|
412
|
+
selector: 'igx-color-editor',
|
|
413
|
+
template: `<ng-template #childContent><ng-content></ng-content></ng-template>
|
|
414
|
+
<ng-container #dynamicContent></ng-container>`,
|
|
415
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
416
|
+
providers: [],
|
|
417
|
+
host: { 'class': 'ig-color-editor igx-color-editor' },
|
|
418
|
+
styles: [`
|
|
419
|
+
:host {
|
|
420
|
+
display: block;
|
|
421
|
+
}
|
|
422
|
+
`]
|
|
423
|
+
}]
|
|
424
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { _dynamicContent: [{
|
|
425
|
+
type: ViewChild,
|
|
426
|
+
args: ["dynamicContent", { read: ViewContainerRef, static: true }]
|
|
427
|
+
}], _childTemplateRef: [{
|
|
428
|
+
type: ViewChild,
|
|
429
|
+
args: ["childContent", { read: TemplateRef, static: false }]
|
|
430
|
+
}], value: [{
|
|
431
|
+
type: Input
|
|
432
|
+
}], label: [{
|
|
433
|
+
type: Input
|
|
434
|
+
}], labelTextColor: [{
|
|
435
|
+
type: Input
|
|
436
|
+
}], labelTextStyle: [{
|
|
437
|
+
type: Input
|
|
438
|
+
}], density: [{
|
|
439
|
+
type: Input
|
|
440
|
+
}], baseTheme: [{
|
|
441
|
+
type: Input
|
|
442
|
+
}], textStyle: [{
|
|
443
|
+
type: Input
|
|
444
|
+
}], textColor: [{
|
|
445
|
+
type: Input
|
|
446
|
+
}], iconColor: [{
|
|
447
|
+
type: Input
|
|
448
|
+
}], showClearButton: [{
|
|
449
|
+
type: Input
|
|
450
|
+
}], allowTextInput: [{
|
|
451
|
+
type: Input
|
|
452
|
+
}], openOnFocus: [{
|
|
453
|
+
type: Input
|
|
454
|
+
}], isDisabled: [{
|
|
455
|
+
type: Input
|
|
456
|
+
}], isFixed: [{
|
|
457
|
+
type: Input
|
|
458
|
+
}], openAsChild: [{
|
|
459
|
+
type: Input
|
|
460
|
+
}], useTopLayer: [{
|
|
461
|
+
type: Input
|
|
462
|
+
}], valueChanged: [{
|
|
463
|
+
type: Output
|
|
464
|
+
}], valueChanging: [{
|
|
465
|
+
type: Output
|
|
466
|
+
}], gotFocus: [{
|
|
467
|
+
type: Output
|
|
468
|
+
}], lostFocus: [{
|
|
469
|
+
type: Output
|
|
470
|
+
}] } });
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
export let IgxColorEditorDynamicModule = /*@__PURE__*/ (() => {
|
|
16
|
+
class IgxColorEditorDynamicModule {
|
|
17
|
+
constructor() {
|
|
18
|
+
TypeRegistrar.registerCons('ColorEditor', ColorEditor);
|
|
19
|
+
TypeRegistrar.registerCons('IgxColorEditorComponent', IgxColorEditorComponent);
|
|
20
|
+
TypeRegistrar.register('ColorEditor', ColorEditor.$type);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
IgxColorEditorDynamicModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorDynamicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
24
|
+
IgxColorEditorDynamicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorDynamicModule, imports: [CommonModule, IgxColorEditorPanelDynamicModule,
|
|
25
|
+
IgxColorEditorModule], exports: [IgxColorEditorPanelDynamicModule,
|
|
26
|
+
IgxColorEditorModule] });
|
|
27
|
+
IgxColorEditorDynamicModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorDynamicModule, imports: [[CommonModule, IgxColorEditorPanelDynamicModule,
|
|
28
|
+
IgxColorEditorModule
|
|
29
|
+
], IgxColorEditorPanelDynamicModule,
|
|
30
|
+
IgxColorEditorModule] });
|
|
31
|
+
return IgxColorEditorDynamicModule;
|
|
32
|
+
})();
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorDynamicModule, decorators: [{
|
|
34
|
+
type: NgModule,
|
|
35
|
+
args: [{
|
|
36
|
+
declarations: [],
|
|
37
|
+
exports: [IgxColorEditorPanelDynamicModule,
|
|
38
|
+
IgxColorEditorModule
|
|
39
|
+
],
|
|
40
|
+
imports: [CommonModule, IgxColorEditorPanelDynamicModule,
|
|
41
|
+
IgxColorEditorModule
|
|
42
|
+
],
|
|
43
|
+
entryComponents: [IgxColorEditorComponent]
|
|
44
|
+
}]
|
|
45
|
+
}], ctorParameters: function () { return []; } });
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ColorEditorGotFocusEventArgs as ColorEditorGotFocusEventArgs_internal } from "./ColorEditorGotFocusEventArgs";
|
|
2
|
+
export class IgxColorEditorGotFocusEventArgs {
|
|
3
|
+
constructor() {
|
|
4
|
+
this._implementation = this.createImplementation();
|
|
5
|
+
this._implementation.externalObject = this;
|
|
6
|
+
this.onImplementationCreated();
|
|
7
|
+
if (this._initializeAdapters) {
|
|
8
|
+
this._initializeAdapters();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
createImplementation() {
|
|
12
|
+
return new ColorEditorGotFocusEventArgs_internal();
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
get i() {
|
|
18
|
+
return this._implementation;
|
|
19
|
+
}
|
|
20
|
+
onImplementationCreated() {
|
|
21
|
+
}
|
|
22
|
+
_provideImplementation(i) {
|
|
23
|
+
this._implementation = i;
|
|
24
|
+
this._implementation.externalObject = this;
|
|
25
|
+
this.onImplementationCreated();
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ColorEditorLostFocusEventArgs as ColorEditorLostFocusEventArgs_internal } from "./ColorEditorLostFocusEventArgs";
|
|
2
|
+
export class IgxColorEditorLostFocusEventArgs {
|
|
3
|
+
constructor() {
|
|
4
|
+
this._implementation = this.createImplementation();
|
|
5
|
+
this._implementation.externalObject = this;
|
|
6
|
+
this.onImplementationCreated();
|
|
7
|
+
if (this._initializeAdapters) {
|
|
8
|
+
this._initializeAdapters();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
createImplementation() {
|
|
12
|
+
return new ColorEditorLostFocusEventArgs_internal();
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
get i() {
|
|
18
|
+
return this._implementation;
|
|
19
|
+
}
|
|
20
|
+
onImplementationCreated() {
|
|
21
|
+
}
|
|
22
|
+
_provideImplementation(i) {
|
|
23
|
+
this._implementation = i;
|
|
24
|
+
this._implementation.externalObject = this;
|
|
25
|
+
this.onImplementationCreated();
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 * as i0 from "@angular/core";
|
|
14
|
+
export let IgxColorEditorModule = /*@__PURE__*/ (() => {
|
|
15
|
+
class IgxColorEditorModule {
|
|
16
|
+
constructor() {
|
|
17
|
+
TypeRegistrar.registerCons('IgxColorEditorComponent', IgxColorEditorComponent);
|
|
18
|
+
TypeRegistrar.register('ColorEditor', ColorEditor.$type);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
IgxColorEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
22
|
+
IgxColorEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorModule, declarations: [IgxColorEditorComponent], imports: [CommonModule, IgxColorEditorPanelDynamicModule], exports: [IgxColorEditorComponent,
|
|
23
|
+
IgxColorEditorPanelDynamicModule] });
|
|
24
|
+
IgxColorEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorModule, imports: [[CommonModule, IgxColorEditorPanelDynamicModule
|
|
25
|
+
], IgxColorEditorPanelDynamicModule] });
|
|
26
|
+
return IgxColorEditorModule;
|
|
27
|
+
})();
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxColorEditorModule, decorators: [{
|
|
29
|
+
type: NgModule,
|
|
30
|
+
args: [{
|
|
31
|
+
declarations: [IgxColorEditorComponent],
|
|
32
|
+
exports: [IgxColorEditorComponent,
|
|
33
|
+
IgxColorEditorPanelDynamicModule
|
|
34
|
+
],
|
|
35
|
+
imports: [CommonModule, IgxColorEditorPanelDynamicModule
|
|
36
|
+
],
|
|
37
|
+
entryComponents: []
|
|
38
|
+
}]
|
|
39
|
+
}], ctorParameters: function () { return []; } });
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ColorEditorPanelClosedEventArgs as ColorEditorPanelClosedEventArgs_internal } from "./ColorEditorPanelClosedEventArgs";
|
|
2
|
+
export class IgxColorEditorPanelClosedEventArgs {
|
|
3
|
+
constructor() {
|
|
4
|
+
this._implementation = this.createImplementation();
|
|
5
|
+
this._implementation.externalObject = this;
|
|
6
|
+
this.onImplementationCreated();
|
|
7
|
+
if (this._initializeAdapters) {
|
|
8
|
+
this._initializeAdapters();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
createImplementation() {
|
|
12
|
+
return new ColorEditorPanelClosedEventArgs_internal();
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
get i() {
|
|
18
|
+
return this._implementation;
|
|
19
|
+
}
|
|
20
|
+
onImplementationCreated() {
|
|
21
|
+
}
|
|
22
|
+
_provideImplementation(i) {
|
|
23
|
+
this._implementation = i;
|
|
24
|
+
this._implementation.externalObject = this;
|
|
25
|
+
this.onImplementationCreated();
|
|
26
|
+
}
|
|
27
|
+
}
|