@syncfusion/ej2-angular-inplace-editor 29.2.4-ngcc → 30.1.37-ngcc
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/@syncfusion/ej2-angular-inplace-editor.es5.js +278 -278
- package/@syncfusion/ej2-angular-inplace-editor.js +243 -243
- package/{license → LICENSE} +10 -10
- package/dist/ej2-angular-inplace-editor.umd.js +268 -268
- package/dist/ej2-angular-inplace-editor.umd.min.js +1 -1
- package/ej2-angular-inplace-editor.d.ts +5 -5
- package/package.json +15 -46
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
- package/src/index.d.ts +4 -4
- package/src/inplace-editor/inplaceeditor-all.module.d.ts +14 -14
- package/src/inplace-editor/inplaceeditor.component.d.ts +58 -58
- package/src/inplace-editor/inplaceeditor.module.d.ts +5 -5
|
@@ -1,279 +1,279 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
3
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5
|
-
return function (d, b) {
|
|
6
|
-
extendStatics(d, b);
|
|
7
|
-
function __() { this.constructor = d; }
|
|
8
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9
|
-
};
|
|
10
|
-
})();
|
|
11
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef, forwardRef } from '@angular/core';
|
|
12
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
13
|
-
import { ComponentBase, ComponentMixins, FormBase, Template, setValue } from '@syncfusion/ej2-angular-base';
|
|
14
|
-
import { AutoComplete, ColorPicker, ComboBox, DateRangePicker, InPlaceEditor, MultiSelect, Rte, Slider, TimePicker } from '@syncfusion/ej2-inplace-editor';
|
|
15
|
-
import { CommonModule } from '@angular/common';
|
|
16
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
19
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
-
else
|
|
21
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
22
|
-
if (d = decorators[i])
|
|
23
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
24
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
-
};
|
|
26
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
27
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
28
|
-
return Reflect.metadata(k, v);
|
|
29
|
-
};
|
|
30
|
-
var inputs = ['actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value'];
|
|
31
|
-
var outputs = ['focus', 'blur', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating', 'valueChange'];
|
|
32
|
-
var twoWays = ['value'];
|
|
33
|
-
/**
|
|
34
|
-
* `ejs-inplaceeditor` represents the Angular InPlaceEditor Component.
|
|
35
|
-
* ```html
|
|
36
|
-
* <ejs-inplaceeditor></ejs-inplaceeditor>
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
var InPlaceEditorComponent = InPlaceEditorComponent_1 = /** @class */ (function (_super) {
|
|
40
|
-
__extends(InPlaceEditorComponent, _super);
|
|
41
|
-
/**
|
|
42
|
-
* @param {?} ngEle
|
|
43
|
-
* @param {?} srenderer
|
|
44
|
-
* @param {?} viewContainerRef
|
|
45
|
-
* @param {?} injector
|
|
46
|
-
* @param {?} cdr
|
|
47
|
-
*/
|
|
48
|
-
function InPlaceEditorComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
49
|
-
var _this = _super.call(this) || this;
|
|
50
|
-
_this.ngEle = ngEle;
|
|
51
|
-
_this.srenderer = srenderer;
|
|
52
|
-
_this.viewContainerRef = viewContainerRef;
|
|
53
|
-
_this.injector = injector;
|
|
54
|
-
_this.cdr = cdr;
|
|
55
|
-
_this.element = _this.ngEle.nativeElement;
|
|
56
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
57
|
-
try {
|
|
58
|
-
var mod = _this.injector.get('InPlace-EditorAutoComplete');
|
|
59
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
60
|
-
_this.injectedModules.push(mod);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
catch (_a) { }
|
|
64
|
-
try {
|
|
65
|
-
var mod = _this.injector.get('InPlace-EditorColorPicker');
|
|
66
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
67
|
-
_this.injectedModules.push(mod);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
catch (_b) { }
|
|
71
|
-
try {
|
|
72
|
-
var mod = _this.injector.get('InPlace-EditorComboBox');
|
|
73
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
74
|
-
_this.injectedModules.push(mod);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
catch (_c) { }
|
|
78
|
-
try {
|
|
79
|
-
var mod = _this.injector.get('InPlace-EditorDateRangePicker');
|
|
80
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
81
|
-
_this.injectedModules.push(mod);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
catch (_d) { }
|
|
85
|
-
try {
|
|
86
|
-
var mod = _this.injector.get('InPlace-EditorMultiSelect');
|
|
87
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
88
|
-
_this.injectedModules.push(mod);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
catch (_e) { }
|
|
92
|
-
try {
|
|
93
|
-
var mod = _this.injector.get('InPlace-EditorRte');
|
|
94
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
95
|
-
_this.injectedModules.push(mod);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
catch (_f) { }
|
|
99
|
-
try {
|
|
100
|
-
var mod = _this.injector.get('InPlace-EditorSlider');
|
|
101
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
102
|
-
_this.injectedModules.push(mod);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
catch (_g) { }
|
|
106
|
-
try {
|
|
107
|
-
var mod = _this.injector.get('InPlace-EditorTimePicker');
|
|
108
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
109
|
-
_this.injectedModules.push(mod);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
catch (_h) { }
|
|
113
|
-
_this.registerEvents(outputs);
|
|
114
|
-
_this.addTwoWay.call(_this, twoWays);
|
|
115
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
116
|
-
_this.formContext = new FormBase();
|
|
117
|
-
_this.formCompContext = new ComponentBase();
|
|
118
|
-
return _this;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* @param {?} registerFunction
|
|
122
|
-
* @return {?}
|
|
123
|
-
*/
|
|
124
|
-
InPlaceEditorComponent.prototype.registerOnChange = function (registerFunction) {
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* @param {?} registerFunction
|
|
128
|
-
* @return {?}
|
|
129
|
-
*/
|
|
130
|
-
InPlaceEditorComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* @param {?} value
|
|
134
|
-
* @return {?}
|
|
135
|
-
*/
|
|
136
|
-
InPlaceEditorComponent.prototype.writeValue = function (value) {
|
|
137
|
-
};
|
|
138
|
-
/**
|
|
139
|
-
* @param {?} disabled
|
|
140
|
-
* @return {?}
|
|
141
|
-
*/
|
|
142
|
-
InPlaceEditorComponent.prototype.setDisabledState = function (disabled) {
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* @return {?}
|
|
146
|
-
*/
|
|
147
|
-
InPlaceEditorComponent.prototype.ngOnInit = function () {
|
|
148
|
-
this.formCompContext.ngOnInit(this);
|
|
149
|
-
};
|
|
150
|
-
/**
|
|
151
|
-
* @return {?}
|
|
152
|
-
*/
|
|
153
|
-
InPlaceEditorComponent.prototype.ngAfterViewInit = function () {
|
|
154
|
-
this.formContext.ngAfterViewInit(this);
|
|
155
|
-
};
|
|
156
|
-
/**
|
|
157
|
-
* @return {?}
|
|
158
|
-
*/
|
|
159
|
-
InPlaceEditorComponent.prototype.ngOnDestroy = function () {
|
|
160
|
-
this.formCompContext.ngOnDestroy(this);
|
|
161
|
-
};
|
|
162
|
-
/**
|
|
163
|
-
* @return {?}
|
|
164
|
-
*/
|
|
165
|
-
InPlaceEditorComponent.prototype.ngAfterContentChecked = function () {
|
|
166
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
167
|
-
};
|
|
168
|
-
return InPlaceEditorComponent;
|
|
169
|
-
}(InPlaceEditor));
|
|
170
|
-
InPlaceEditorComponent.decorators = [
|
|
171
|
-
{ type: Component, args: [{
|
|
172
|
-
selector: 'ejs-inplaceeditor',
|
|
173
|
-
inputs: inputs,
|
|
174
|
-
outputs: outputs,
|
|
175
|
-
template: '',
|
|
176
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
177
|
-
providers: [
|
|
178
|
-
{
|
|
179
|
-
provide: NG_VALUE_ACCESSOR,
|
|
180
|
-
useExisting: forwardRef(function () { return InPlaceEditorComponent_1; }),
|
|
181
|
-
multi: true
|
|
182
|
-
}
|
|
183
|
-
],
|
|
184
|
-
queries: {}
|
|
185
|
-
},] },
|
|
186
|
-
];
|
|
187
|
-
/**
|
|
188
|
-
* @nocollapse
|
|
189
|
-
*/
|
|
190
|
-
InPlaceEditorComponent.ctorParameters = function () { return [
|
|
191
|
-
{ type: ElementRef, },
|
|
192
|
-
{ type: Renderer2, },
|
|
193
|
-
{ type: ViewContainerRef, },
|
|
194
|
-
{ type: Injector, },
|
|
195
|
-
{ type: ChangeDetectorRef, },
|
|
196
|
-
]; };
|
|
197
|
-
InPlaceEditorComponent.propDecorators = {
|
|
198
|
-
'template': [{ type: ContentChild, args: ['template',] },],
|
|
199
|
-
};
|
|
200
|
-
__decorate([
|
|
201
|
-
Template(),
|
|
202
|
-
__metadata("design:type", Object)
|
|
203
|
-
], InPlaceEditorComponent.prototype, "template", void 0);
|
|
204
|
-
InPlaceEditorComponent = InPlaceEditorComponent_1 = __decorate([
|
|
205
|
-
ComponentMixins([ComponentBase, FormBase]),
|
|
206
|
-
__metadata("design:paramtypes", [ElementRef,
|
|
207
|
-
Renderer2,
|
|
208
|
-
ViewContainerRef,
|
|
209
|
-
Injector,
|
|
210
|
-
ChangeDetectorRef])
|
|
211
|
-
], InPlaceEditorComponent);
|
|
212
|
-
var InPlaceEditorComponent_1;
|
|
213
|
-
/**
|
|
214
|
-
* NgModule definition for the InPlaceEditor component.
|
|
215
|
-
*/
|
|
216
|
-
var InPlaceEditorModule = /** @class */ (function () {
|
|
217
|
-
function InPlaceEditorModule() {
|
|
218
|
-
}
|
|
219
|
-
return InPlaceEditorModule;
|
|
220
|
-
}());
|
|
221
|
-
InPlaceEditorModule.decorators = [
|
|
222
|
-
{ type: NgModule, args: [{
|
|
223
|
-
imports: [CommonModule],
|
|
224
|
-
declarations: [
|
|
225
|
-
InPlaceEditorComponent
|
|
226
|
-
],
|
|
227
|
-
exports: [
|
|
228
|
-
InPlaceEditorComponent
|
|
229
|
-
]
|
|
230
|
-
},] },
|
|
231
|
-
];
|
|
232
|
-
/**
|
|
233
|
-
* @nocollapse
|
|
234
|
-
*/
|
|
235
|
-
InPlaceEditorModule.ctorParameters = function () { return []; };
|
|
236
|
-
var AutoCompleteService = { provide: 'InPlace-EditorAutoComplete', useValue: AutoComplete };
|
|
237
|
-
var ColorPickerService = { provide: 'InPlace-EditorColorPicker', useValue: ColorPicker };
|
|
238
|
-
var ComboBoxService = { provide: 'InPlace-EditorComboBox', useValue: ComboBox };
|
|
239
|
-
var DateRangePickerService = { provide: 'InPlace-EditorDateRangePicker', useValue: DateRangePicker };
|
|
240
|
-
var MultiSelectService = { provide: 'InPlace-EditorMultiSelect', useValue: MultiSelect };
|
|
241
|
-
var RteService = { provide: 'InPlace-EditorRte', useValue: Rte };
|
|
242
|
-
var SliderService = { provide: 'InPlace-EditorSlider', useValue: Slider };
|
|
243
|
-
var TimePickerService = { provide: 'InPlace-EditorTimePicker', useValue: TimePicker };
|
|
244
|
-
/**
|
|
245
|
-
* NgModule definition for the InPlaceEditor component with providers.
|
|
246
|
-
*/
|
|
247
|
-
var InPlaceEditorAllModule = /** @class */ (function () {
|
|
248
|
-
function InPlaceEditorAllModule() {
|
|
249
|
-
}
|
|
250
|
-
return InPlaceEditorAllModule;
|
|
251
|
-
}());
|
|
252
|
-
InPlaceEditorAllModule.decorators = [
|
|
253
|
-
{ type: NgModule, args: [{
|
|
254
|
-
imports: [CommonModule, InPlaceEditorModule],
|
|
255
|
-
exports: [
|
|
256
|
-
InPlaceEditorModule
|
|
257
|
-
],
|
|
258
|
-
providers: [
|
|
259
|
-
AutoCompleteService,
|
|
260
|
-
ColorPickerService,
|
|
261
|
-
ComboBoxService,
|
|
262
|
-
DateRangePickerService,
|
|
263
|
-
MultiSelectService,
|
|
264
|
-
RteService,
|
|
265
|
-
SliderService,
|
|
266
|
-
TimePickerService
|
|
267
|
-
]
|
|
268
|
-
},] },
|
|
269
|
-
];
|
|
270
|
-
/**
|
|
271
|
-
* @nocollapse
|
|
272
|
-
*/
|
|
273
|
-
InPlaceEditorAllModule.ctorParameters = function () { return []; };
|
|
274
|
-
/**
|
|
275
|
-
* Generated bundle index. Do not edit.
|
|
276
|
-
*/
|
|
277
|
-
export { InPlaceEditorComponent, InPlaceEditorModule, InPlaceEditorAllModule, AutoCompleteService, ColorPickerService, ComboBoxService, DateRangePickerService, MultiSelectService, RteService, SliderService, TimePickerService, inputs as ɵa, outputs as ɵb };
|
|
278
|
-
export { parseValue, getCompValue, encode, render, update, destroy, setFocus, accessValue, destroyModules, showPopup, PopupSettings, modulesList, localeConstant, ROOT, ROOT_TIP, VALUE_WRAPPER, VALUE, OVERLAY_ICON, TIP_TITLE, TITLE, INLINE, POPUP, WRAPPER, LOADING, FORM, CTRL_GROUP, INPUT, BUTTONS, EDITABLE_ERROR, ELEMENTS, OPEN, BTN_SAVE, BTN_CANCEL, RTE_SPIN_WRAP, CTRL_OVERLAY, DISABLE, ICONS, PRIMARY, SHOW, HIDE, RTL, ERROR, LOAD, InPlaceEditor, Base, AutoComplete, ColorPicker, ComboBox, DateRangePicker, MultiSelect, Rte, Slider, TimePicker } from '@syncfusion/ej2-inplace-editor';
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = Object.setPrototypeOf ||
|
|
3
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5
|
+
return function (d, b) {
|
|
6
|
+
extendStatics(d, b);
|
|
7
|
+
function __() { this.constructor = d; }
|
|
8
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef, forwardRef } from '@angular/core';
|
|
12
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
13
|
+
import { ComponentBase, ComponentMixins, FormBase, Template, setValue } from '@syncfusion/ej2-angular-base';
|
|
14
|
+
import { AutoComplete, ColorPicker, ComboBox, DateRangePicker, InPlaceEditor, MultiSelect, Rte, Slider, TimePicker } from '@syncfusion/ej2-inplace-editor';
|
|
15
|
+
import { CommonModule } from '@angular/common';
|
|
16
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
19
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else
|
|
21
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
22
|
+
if (d = decorators[i])
|
|
23
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
24
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
+
};
|
|
26
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
27
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
28
|
+
return Reflect.metadata(k, v);
|
|
29
|
+
};
|
|
30
|
+
var inputs = ['actionOnBlur', 'adaptor', 'cancelButton', 'cssClass', 'disabled', 'editableOn', 'emptyText', 'enableEditMode', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'locale', 'mode', 'model', 'name', 'popupSettings', 'primaryKey', 'saveButton', 'showButtons', 'submitOnEnter', 'template', 'textOption', 'type', 'url', 'validationRules', 'value'];
|
|
31
|
+
var outputs = ['focus', 'blur', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating', 'valueChange'];
|
|
32
|
+
var twoWays = ['value'];
|
|
33
|
+
/**
|
|
34
|
+
* `ejs-inplaceeditor` represents the Angular InPlaceEditor Component.
|
|
35
|
+
* ```html
|
|
36
|
+
* <ejs-inplaceeditor></ejs-inplaceeditor>
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
var InPlaceEditorComponent = InPlaceEditorComponent_1 = /** @class */ (function (_super) {
|
|
40
|
+
__extends(InPlaceEditorComponent, _super);
|
|
41
|
+
/**
|
|
42
|
+
* @param {?} ngEle
|
|
43
|
+
* @param {?} srenderer
|
|
44
|
+
* @param {?} viewContainerRef
|
|
45
|
+
* @param {?} injector
|
|
46
|
+
* @param {?} cdr
|
|
47
|
+
*/
|
|
48
|
+
function InPlaceEditorComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
49
|
+
var _this = _super.call(this) || this;
|
|
50
|
+
_this.ngEle = ngEle;
|
|
51
|
+
_this.srenderer = srenderer;
|
|
52
|
+
_this.viewContainerRef = viewContainerRef;
|
|
53
|
+
_this.injector = injector;
|
|
54
|
+
_this.cdr = cdr;
|
|
55
|
+
_this.element = _this.ngEle.nativeElement;
|
|
56
|
+
_this.injectedModules = _this.injectedModules || [];
|
|
57
|
+
try {
|
|
58
|
+
var mod = _this.injector.get('InPlace-EditorAutoComplete');
|
|
59
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
60
|
+
_this.injectedModules.push(mod);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (_a) { }
|
|
64
|
+
try {
|
|
65
|
+
var mod = _this.injector.get('InPlace-EditorColorPicker');
|
|
66
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
67
|
+
_this.injectedModules.push(mod);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
catch (_b) { }
|
|
71
|
+
try {
|
|
72
|
+
var mod = _this.injector.get('InPlace-EditorComboBox');
|
|
73
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
74
|
+
_this.injectedModules.push(mod);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
catch (_c) { }
|
|
78
|
+
try {
|
|
79
|
+
var mod = _this.injector.get('InPlace-EditorDateRangePicker');
|
|
80
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
81
|
+
_this.injectedModules.push(mod);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
catch (_d) { }
|
|
85
|
+
try {
|
|
86
|
+
var mod = _this.injector.get('InPlace-EditorMultiSelect');
|
|
87
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
88
|
+
_this.injectedModules.push(mod);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
catch (_e) { }
|
|
92
|
+
try {
|
|
93
|
+
var mod = _this.injector.get('InPlace-EditorRte');
|
|
94
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
95
|
+
_this.injectedModules.push(mod);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
catch (_f) { }
|
|
99
|
+
try {
|
|
100
|
+
var mod = _this.injector.get('InPlace-EditorSlider');
|
|
101
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
102
|
+
_this.injectedModules.push(mod);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
catch (_g) { }
|
|
106
|
+
try {
|
|
107
|
+
var mod = _this.injector.get('InPlace-EditorTimePicker');
|
|
108
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
109
|
+
_this.injectedModules.push(mod);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
catch (_h) { }
|
|
113
|
+
_this.registerEvents(outputs);
|
|
114
|
+
_this.addTwoWay.call(_this, twoWays);
|
|
115
|
+
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
116
|
+
_this.formContext = new FormBase();
|
|
117
|
+
_this.formCompContext = new ComponentBase();
|
|
118
|
+
return _this;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* @param {?} registerFunction
|
|
122
|
+
* @return {?}
|
|
123
|
+
*/
|
|
124
|
+
InPlaceEditorComponent.prototype.registerOnChange = function (registerFunction) {
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* @param {?} registerFunction
|
|
128
|
+
* @return {?}
|
|
129
|
+
*/
|
|
130
|
+
InPlaceEditorComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* @param {?} value
|
|
134
|
+
* @return {?}
|
|
135
|
+
*/
|
|
136
|
+
InPlaceEditorComponent.prototype.writeValue = function (value) {
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* @param {?} disabled
|
|
140
|
+
* @return {?}
|
|
141
|
+
*/
|
|
142
|
+
InPlaceEditorComponent.prototype.setDisabledState = function (disabled) {
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* @return {?}
|
|
146
|
+
*/
|
|
147
|
+
InPlaceEditorComponent.prototype.ngOnInit = function () {
|
|
148
|
+
this.formCompContext.ngOnInit(this);
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* @return {?}
|
|
152
|
+
*/
|
|
153
|
+
InPlaceEditorComponent.prototype.ngAfterViewInit = function () {
|
|
154
|
+
this.formContext.ngAfterViewInit(this);
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* @return {?}
|
|
158
|
+
*/
|
|
159
|
+
InPlaceEditorComponent.prototype.ngOnDestroy = function () {
|
|
160
|
+
this.formCompContext.ngOnDestroy(this);
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* @return {?}
|
|
164
|
+
*/
|
|
165
|
+
InPlaceEditorComponent.prototype.ngAfterContentChecked = function () {
|
|
166
|
+
this.formCompContext.ngAfterContentChecked(this);
|
|
167
|
+
};
|
|
168
|
+
return InPlaceEditorComponent;
|
|
169
|
+
}(InPlaceEditor));
|
|
170
|
+
InPlaceEditorComponent.decorators = [
|
|
171
|
+
{ type: Component, args: [{
|
|
172
|
+
selector: 'ejs-inplaceeditor',
|
|
173
|
+
inputs: inputs,
|
|
174
|
+
outputs: outputs,
|
|
175
|
+
template: '',
|
|
176
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
177
|
+
providers: [
|
|
178
|
+
{
|
|
179
|
+
provide: NG_VALUE_ACCESSOR,
|
|
180
|
+
useExisting: forwardRef(function () { return InPlaceEditorComponent_1; }),
|
|
181
|
+
multi: true
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
queries: {}
|
|
185
|
+
},] },
|
|
186
|
+
];
|
|
187
|
+
/**
|
|
188
|
+
* @nocollapse
|
|
189
|
+
*/
|
|
190
|
+
InPlaceEditorComponent.ctorParameters = function () { return [
|
|
191
|
+
{ type: ElementRef, },
|
|
192
|
+
{ type: Renderer2, },
|
|
193
|
+
{ type: ViewContainerRef, },
|
|
194
|
+
{ type: Injector, },
|
|
195
|
+
{ type: ChangeDetectorRef, },
|
|
196
|
+
]; };
|
|
197
|
+
InPlaceEditorComponent.propDecorators = {
|
|
198
|
+
'template': [{ type: ContentChild, args: ['template',] },],
|
|
199
|
+
};
|
|
200
|
+
__decorate([
|
|
201
|
+
Template(),
|
|
202
|
+
__metadata("design:type", Object)
|
|
203
|
+
], InPlaceEditorComponent.prototype, "template", void 0);
|
|
204
|
+
InPlaceEditorComponent = InPlaceEditorComponent_1 = __decorate([
|
|
205
|
+
ComponentMixins([ComponentBase, FormBase]),
|
|
206
|
+
__metadata("design:paramtypes", [ElementRef,
|
|
207
|
+
Renderer2,
|
|
208
|
+
ViewContainerRef,
|
|
209
|
+
Injector,
|
|
210
|
+
ChangeDetectorRef])
|
|
211
|
+
], InPlaceEditorComponent);
|
|
212
|
+
var InPlaceEditorComponent_1;
|
|
213
|
+
/**
|
|
214
|
+
* NgModule definition for the InPlaceEditor component.
|
|
215
|
+
*/
|
|
216
|
+
var InPlaceEditorModule = /** @class */ (function () {
|
|
217
|
+
function InPlaceEditorModule() {
|
|
218
|
+
}
|
|
219
|
+
return InPlaceEditorModule;
|
|
220
|
+
}());
|
|
221
|
+
InPlaceEditorModule.decorators = [
|
|
222
|
+
{ type: NgModule, args: [{
|
|
223
|
+
imports: [CommonModule],
|
|
224
|
+
declarations: [
|
|
225
|
+
InPlaceEditorComponent
|
|
226
|
+
],
|
|
227
|
+
exports: [
|
|
228
|
+
InPlaceEditorComponent
|
|
229
|
+
]
|
|
230
|
+
},] },
|
|
231
|
+
];
|
|
232
|
+
/**
|
|
233
|
+
* @nocollapse
|
|
234
|
+
*/
|
|
235
|
+
InPlaceEditorModule.ctorParameters = function () { return []; };
|
|
236
|
+
var AutoCompleteService = { provide: 'InPlace-EditorAutoComplete', useValue: AutoComplete };
|
|
237
|
+
var ColorPickerService = { provide: 'InPlace-EditorColorPicker', useValue: ColorPicker };
|
|
238
|
+
var ComboBoxService = { provide: 'InPlace-EditorComboBox', useValue: ComboBox };
|
|
239
|
+
var DateRangePickerService = { provide: 'InPlace-EditorDateRangePicker', useValue: DateRangePicker };
|
|
240
|
+
var MultiSelectService = { provide: 'InPlace-EditorMultiSelect', useValue: MultiSelect };
|
|
241
|
+
var RteService = { provide: 'InPlace-EditorRte', useValue: Rte };
|
|
242
|
+
var SliderService = { provide: 'InPlace-EditorSlider', useValue: Slider };
|
|
243
|
+
var TimePickerService = { provide: 'InPlace-EditorTimePicker', useValue: TimePicker };
|
|
244
|
+
/**
|
|
245
|
+
* NgModule definition for the InPlaceEditor component with providers.
|
|
246
|
+
*/
|
|
247
|
+
var InPlaceEditorAllModule = /** @class */ (function () {
|
|
248
|
+
function InPlaceEditorAllModule() {
|
|
249
|
+
}
|
|
250
|
+
return InPlaceEditorAllModule;
|
|
251
|
+
}());
|
|
252
|
+
InPlaceEditorAllModule.decorators = [
|
|
253
|
+
{ type: NgModule, args: [{
|
|
254
|
+
imports: [CommonModule, InPlaceEditorModule],
|
|
255
|
+
exports: [
|
|
256
|
+
InPlaceEditorModule
|
|
257
|
+
],
|
|
258
|
+
providers: [
|
|
259
|
+
AutoCompleteService,
|
|
260
|
+
ColorPickerService,
|
|
261
|
+
ComboBoxService,
|
|
262
|
+
DateRangePickerService,
|
|
263
|
+
MultiSelectService,
|
|
264
|
+
RteService,
|
|
265
|
+
SliderService,
|
|
266
|
+
TimePickerService
|
|
267
|
+
]
|
|
268
|
+
},] },
|
|
269
|
+
];
|
|
270
|
+
/**
|
|
271
|
+
* @nocollapse
|
|
272
|
+
*/
|
|
273
|
+
InPlaceEditorAllModule.ctorParameters = function () { return []; };
|
|
274
|
+
/**
|
|
275
|
+
* Generated bundle index. Do not edit.
|
|
276
|
+
*/
|
|
277
|
+
export { InPlaceEditorComponent, InPlaceEditorModule, InPlaceEditorAllModule, AutoCompleteService, ColorPickerService, ComboBoxService, DateRangePickerService, MultiSelectService, RteService, SliderService, TimePickerService, inputs as ɵa, outputs as ɵb };
|
|
278
|
+
export { parseValue, getCompValue, encode, render, update, destroy, setFocus, accessValue, destroyModules, showPopup, PopupSettings, modulesList, localeConstant, ROOT, ROOT_TIP, VALUE_WRAPPER, VALUE, OVERLAY_ICON, TIP_TITLE, TITLE, INLINE, POPUP, WRAPPER, LOADING, FORM, CTRL_GROUP, INPUT, BUTTONS, EDITABLE_ERROR, ELEMENTS, OPEN, BTN_SAVE, BTN_CANCEL, RTE_SPIN_WRAP, CTRL_OVERLAY, DISABLE, ICONS, PRIMARY, SHOW, HIDE, RTL, ERROR, LOAD, InPlaceEditor, Base, AutoComplete, ColorPicker, ComboBox, DateRangePicker, MultiSelect, Rte, Slider, TimePicker } from '@syncfusion/ej2-inplace-editor';
|
|
279
279
|
//# sourceMappingURL=ej2-angular-inplace-editor.es5.js.map
|