@syncfusion/ej2-angular-inplace-editor 31.2.2-ngcc → 31.2.2
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/CHANGELOG.md +262 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/src/index.mjs +5 -0
- package/esm2020/src/inplace-editor/inplaceeditor-all.module.mjs +50 -0
- package/esm2020/src/inplace-editor/inplaceeditor.component.mjs +147 -0
- package/esm2020/src/inplace-editor/inplaceeditor.module.mjs +25 -0
- package/esm2020/syncfusion-ej2-angular-inplace-editor.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-inplace-editor.mjs +220 -0
- package/fesm2015/syncfusion-ej2-angular-inplace-editor.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-inplace-editor.mjs +220 -0
- package/fesm2020/syncfusion-ej2-angular-inplace-editor.mjs.map +1 -0
- package/package.json +59 -15
- package/public_api.d.ts +1 -1
- package/src/index.d.ts +4 -4
- package/src/inplace-editor/inplaceeditor-all.module.d.ts +20 -14
- package/src/inplace-editor/inplaceeditor.component.d.ts +61 -58
- package/src/inplace-editor/inplaceeditor.module.d.ts +11 -5
- package/syncfusion-ej2-angular-inplace-editor.d.ts +5 -0
- package/@syncfusion/ej2-angular-inplace-editor.es5.js +0 -279
- package/@syncfusion/ej2-angular-inplace-editor.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-inplace-editor.js +0 -260
- package/@syncfusion/ej2-angular-inplace-editor.js.map +0 -1
- package/LICENSE +0 -10
- package/dist/ej2-angular-inplace-editor.umd.js +0 -354
- package/dist/ej2-angular-inplace-editor.umd.js.map +0 -1
- package/dist/ej2-angular-inplace-editor.umd.min.js +0 -11
- package/dist/ej2-angular-inplace-editor.umd.min.js.map +0 -1
- package/ej2-angular-inplace-editor.d.ts +0 -5
- package/ej2-angular-inplace-editor.metadata.json +0 -1
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef, forwardRef } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { ComponentBase, ComponentMixins, FormBase, Template, setValue } from '@syncfusion/ej2-angular-base';
|
|
4
|
-
import { AutoComplete, ColorPicker, ComboBox, DateRangePicker, InPlaceEditor, MultiSelect, Rte, Slider, TimePicker } from '@syncfusion/ej2-inplace-editor';
|
|
5
|
-
import { CommonModule } from '@angular/common';
|
|
6
|
-
|
|
7
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
8
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12
|
-
};
|
|
13
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
14
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
15
|
-
};
|
|
16
|
-
const 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'];
|
|
17
|
-
const outputs = ['focus', 'blur', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating', 'valueChange'];
|
|
18
|
-
const twoWays = ['value'];
|
|
19
|
-
/**
|
|
20
|
-
* `ejs-inplaceeditor` represents the Angular InPlaceEditor Component.
|
|
21
|
-
* ```html
|
|
22
|
-
* <ejs-inplaceeditor></ejs-inplaceeditor>
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
let InPlaceEditorComponent = InPlaceEditorComponent_1 = class InPlaceEditorComponent extends InPlaceEditor {
|
|
26
|
-
/**
|
|
27
|
-
* @param {?} ngEle
|
|
28
|
-
* @param {?} srenderer
|
|
29
|
-
* @param {?} viewContainerRef
|
|
30
|
-
* @param {?} injector
|
|
31
|
-
* @param {?} cdr
|
|
32
|
-
*/
|
|
33
|
-
constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
34
|
-
super();
|
|
35
|
-
this.ngEle = ngEle;
|
|
36
|
-
this.srenderer = srenderer;
|
|
37
|
-
this.viewContainerRef = viewContainerRef;
|
|
38
|
-
this.injector = injector;
|
|
39
|
-
this.cdr = cdr;
|
|
40
|
-
this.element = this.ngEle.nativeElement;
|
|
41
|
-
this.injectedModules = this.injectedModules || [];
|
|
42
|
-
try {
|
|
43
|
-
let mod = this.injector.get('InPlace-EditorAutoComplete');
|
|
44
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
45
|
-
this.injectedModules.push(mod);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
catch (_a) { }
|
|
49
|
-
try {
|
|
50
|
-
let mod = this.injector.get('InPlace-EditorColorPicker');
|
|
51
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
52
|
-
this.injectedModules.push(mod);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
catch (_b) { }
|
|
56
|
-
try {
|
|
57
|
-
let mod = this.injector.get('InPlace-EditorComboBox');
|
|
58
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
59
|
-
this.injectedModules.push(mod);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
catch (_c) { }
|
|
63
|
-
try {
|
|
64
|
-
let mod = this.injector.get('InPlace-EditorDateRangePicker');
|
|
65
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
66
|
-
this.injectedModules.push(mod);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
catch (_d) { }
|
|
70
|
-
try {
|
|
71
|
-
let mod = this.injector.get('InPlace-EditorMultiSelect');
|
|
72
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
73
|
-
this.injectedModules.push(mod);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
catch (_e) { }
|
|
77
|
-
try {
|
|
78
|
-
let mod = this.injector.get('InPlace-EditorRte');
|
|
79
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
80
|
-
this.injectedModules.push(mod);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
catch (_f) { }
|
|
84
|
-
try {
|
|
85
|
-
let mod = this.injector.get('InPlace-EditorSlider');
|
|
86
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
87
|
-
this.injectedModules.push(mod);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
catch (_g) { }
|
|
91
|
-
try {
|
|
92
|
-
let mod = this.injector.get('InPlace-EditorTimePicker');
|
|
93
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
94
|
-
this.injectedModules.push(mod);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
catch (_h) { }
|
|
98
|
-
this.registerEvents(outputs);
|
|
99
|
-
this.addTwoWay.call(this, twoWays);
|
|
100
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
101
|
-
this.formContext = new FormBase();
|
|
102
|
-
this.formCompContext = new ComponentBase();
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* @param {?} registerFunction
|
|
106
|
-
* @return {?}
|
|
107
|
-
*/
|
|
108
|
-
registerOnChange(registerFunction) {
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* @param {?} registerFunction
|
|
112
|
-
* @return {?}
|
|
113
|
-
*/
|
|
114
|
-
registerOnTouched(registerFunction) {
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* @param {?} value
|
|
118
|
-
* @return {?}
|
|
119
|
-
*/
|
|
120
|
-
writeValue(value) {
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* @param {?} disabled
|
|
124
|
-
* @return {?}
|
|
125
|
-
*/
|
|
126
|
-
setDisabledState(disabled) {
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* @return {?}
|
|
130
|
-
*/
|
|
131
|
-
ngOnInit() {
|
|
132
|
-
this.formCompContext.ngOnInit(this);
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* @return {?}
|
|
136
|
-
*/
|
|
137
|
-
ngAfterViewInit() {
|
|
138
|
-
this.formContext.ngAfterViewInit(this);
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* @return {?}
|
|
142
|
-
*/
|
|
143
|
-
ngOnDestroy() {
|
|
144
|
-
this.formCompContext.ngOnDestroy(this);
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* @return {?}
|
|
148
|
-
*/
|
|
149
|
-
ngAfterContentChecked() {
|
|
150
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
InPlaceEditorComponent.decorators = [
|
|
154
|
-
{ type: Component, args: [{
|
|
155
|
-
selector: 'ejs-inplaceeditor',
|
|
156
|
-
inputs: inputs,
|
|
157
|
-
outputs: outputs,
|
|
158
|
-
template: '',
|
|
159
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
160
|
-
providers: [
|
|
161
|
-
{
|
|
162
|
-
provide: NG_VALUE_ACCESSOR,
|
|
163
|
-
useExisting: forwardRef(() => InPlaceEditorComponent_1),
|
|
164
|
-
multi: true
|
|
165
|
-
}
|
|
166
|
-
],
|
|
167
|
-
queries: {}
|
|
168
|
-
},] },
|
|
169
|
-
];
|
|
170
|
-
/**
|
|
171
|
-
* @nocollapse
|
|
172
|
-
*/
|
|
173
|
-
InPlaceEditorComponent.ctorParameters = () => [
|
|
174
|
-
{ type: ElementRef, },
|
|
175
|
-
{ type: Renderer2, },
|
|
176
|
-
{ type: ViewContainerRef, },
|
|
177
|
-
{ type: Injector, },
|
|
178
|
-
{ type: ChangeDetectorRef, },
|
|
179
|
-
];
|
|
180
|
-
InPlaceEditorComponent.propDecorators = {
|
|
181
|
-
'template': [{ type: ContentChild, args: ['template',] },],
|
|
182
|
-
};
|
|
183
|
-
__decorate([
|
|
184
|
-
Template(),
|
|
185
|
-
__metadata("design:type", Object)
|
|
186
|
-
], InPlaceEditorComponent.prototype, "template", void 0);
|
|
187
|
-
InPlaceEditorComponent = InPlaceEditorComponent_1 = __decorate([
|
|
188
|
-
ComponentMixins([ComponentBase, FormBase]),
|
|
189
|
-
__metadata("design:paramtypes", [ElementRef,
|
|
190
|
-
Renderer2,
|
|
191
|
-
ViewContainerRef,
|
|
192
|
-
Injector,
|
|
193
|
-
ChangeDetectorRef])
|
|
194
|
-
], InPlaceEditorComponent);
|
|
195
|
-
var InPlaceEditorComponent_1;
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* NgModule definition for the InPlaceEditor component.
|
|
199
|
-
*/
|
|
200
|
-
class InPlaceEditorModule {
|
|
201
|
-
}
|
|
202
|
-
InPlaceEditorModule.decorators = [
|
|
203
|
-
{ type: NgModule, args: [{
|
|
204
|
-
imports: [CommonModule],
|
|
205
|
-
declarations: [
|
|
206
|
-
InPlaceEditorComponent
|
|
207
|
-
],
|
|
208
|
-
exports: [
|
|
209
|
-
InPlaceEditorComponent
|
|
210
|
-
]
|
|
211
|
-
},] },
|
|
212
|
-
];
|
|
213
|
-
/**
|
|
214
|
-
* @nocollapse
|
|
215
|
-
*/
|
|
216
|
-
InPlaceEditorModule.ctorParameters = () => [];
|
|
217
|
-
|
|
218
|
-
const AutoCompleteService = { provide: 'InPlace-EditorAutoComplete', useValue: AutoComplete };
|
|
219
|
-
const ColorPickerService = { provide: 'InPlace-EditorColorPicker', useValue: ColorPicker };
|
|
220
|
-
const ComboBoxService = { provide: 'InPlace-EditorComboBox', useValue: ComboBox };
|
|
221
|
-
const DateRangePickerService = { provide: 'InPlace-EditorDateRangePicker', useValue: DateRangePicker };
|
|
222
|
-
const MultiSelectService = { provide: 'InPlace-EditorMultiSelect', useValue: MultiSelect };
|
|
223
|
-
const RteService = { provide: 'InPlace-EditorRte', useValue: Rte };
|
|
224
|
-
const SliderService = { provide: 'InPlace-EditorSlider', useValue: Slider };
|
|
225
|
-
const TimePickerService = { provide: 'InPlace-EditorTimePicker', useValue: TimePicker };
|
|
226
|
-
/**
|
|
227
|
-
* NgModule definition for the InPlaceEditor component with providers.
|
|
228
|
-
*/
|
|
229
|
-
class InPlaceEditorAllModule {
|
|
230
|
-
}
|
|
231
|
-
InPlaceEditorAllModule.decorators = [
|
|
232
|
-
{ type: NgModule, args: [{
|
|
233
|
-
imports: [CommonModule, InPlaceEditorModule],
|
|
234
|
-
exports: [
|
|
235
|
-
InPlaceEditorModule
|
|
236
|
-
],
|
|
237
|
-
providers: [
|
|
238
|
-
AutoCompleteService,
|
|
239
|
-
ColorPickerService,
|
|
240
|
-
ComboBoxService,
|
|
241
|
-
DateRangePickerService,
|
|
242
|
-
MultiSelectService,
|
|
243
|
-
RteService,
|
|
244
|
-
SliderService,
|
|
245
|
-
TimePickerService
|
|
246
|
-
]
|
|
247
|
-
},] },
|
|
248
|
-
];
|
|
249
|
-
/**
|
|
250
|
-
* @nocollapse
|
|
251
|
-
*/
|
|
252
|
-
InPlaceEditorAllModule.ctorParameters = () => [];
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* Generated bundle index. Do not edit.
|
|
256
|
-
*/
|
|
257
|
-
|
|
258
|
-
export { InPlaceEditorComponent, InPlaceEditorModule, InPlaceEditorAllModule, AutoCompleteService, ColorPickerService, ComboBoxService, DateRangePickerService, MultiSelectService, RteService, SliderService, TimePickerService, inputs as ɵa, outputs as ɵb };
|
|
259
|
-
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';
|
|
260
|
-
//# sourceMappingURL=ej2-angular-inplace-editor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-angular-inplace-editor.js","sources":["~/@syncfusion/ej2-angular-inplace-editor/ej2-angular-inplace-editor.ts","~/@syncfusion/ej2-angular-inplace-editor/src/inplace-editor/inplaceeditor-all.module.ts","~/@syncfusion/ej2-angular-inplace-editor/src/inplace-editor/inplaceeditor.module.ts","~/@syncfusion/ej2-angular-inplace-editor/src/inplace-editor/inplaceeditor.component.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {InPlaceEditorComponent,InPlaceEditorModule,InPlaceEditorAllModule,AutoCompleteService,ColorPickerService,ComboBoxService,DateRangePickerService,MultiSelectService,RteService,SliderService,TimePickerService,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,Component,NotifyParams,IComponent,IButton,ActionBeginEventArgs,ActionEventArgs,FormEventArgs,ValidateEventArgs,BeginEditEventArgs,EndEditEventArgs,ChangeEventArgs,SanitizeSelectors,BeforeSanitizeHtmlArgs,SanitizeRemoveAttrs,RenderMode,ActionBlur,EditableType,textOptionType,AdaptorType,InputType,InPlaceEditor,InPlaceEditorModel,Base,AutoComplete,ColorPicker,ComboBox,DateRangePicker,MultiSelect,Rte,Slider,TimePicker} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/inplace-editor/inplaceeditor.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { InPlaceEditorComponent } from './inplaceeditor.component';\nimport { InPlaceEditorModule } from './inplaceeditor.module';\nimport {AutoComplete, ColorPicker, ComboBox, DateRangePicker, MultiSelect, Rte, Slider, TimePicker} from '@syncfusion/ej2-inplace-editor';\n\n\nexport const /** @type {?} */ AutoCompleteService: ValueProvider = { provide: 'InPlace-EditorAutoComplete', useValue: AutoComplete};\nexport const /** @type {?} */ ColorPickerService: ValueProvider = { provide: 'InPlace-EditorColorPicker', useValue: ColorPicker};\nexport const /** @type {?} */ ComboBoxService: ValueProvider = { provide: 'InPlace-EditorComboBox', useValue: ComboBox};\nexport const /** @type {?} */ DateRangePickerService: ValueProvider = { provide: 'InPlace-EditorDateRangePicker', useValue: DateRangePicker};\nexport const /** @type {?} */ MultiSelectService: ValueProvider = { provide: 'InPlace-EditorMultiSelect', useValue: MultiSelect};\nexport const /** @type {?} */ RteService: ValueProvider = { provide: 'InPlace-EditorRte', useValue: Rte};\nexport const /** @type {?} */ SliderService: ValueProvider = { provide: 'InPlace-EditorSlider', useValue: Slider};\nexport const /** @type {?} */ TimePickerService: ValueProvider = { provide: 'InPlace-EditorTimePicker', useValue: TimePicker};\n/**\n * NgModule definition for the InPlaceEditor component with providers.\n */\nexport class InPlaceEditorAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, InPlaceEditorModule],\n exports: [\n InPlaceEditorModule\n ],\n providers:[\n AutoCompleteService,\n ColorPickerService,\n ComboBoxService,\n DateRangePickerService,\n MultiSelectService,\n RteService,\n SliderService,\n TimePickerService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction InPlaceEditorAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nInPlaceEditorAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nInPlaceEditorAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { InPlaceEditorComponent } from './inplaceeditor.component';\n/**\n * NgModule definition for the InPlaceEditor component.\n */\nexport class InPlaceEditorModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n InPlaceEditorComponent\n ],\n exports: [\n InPlaceEditorComponent\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction InPlaceEditorModule_tsickle_Closure_declarations() {\n/** @type {?} */\nInPlaceEditorModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nInPlaceEditorModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ValueProvider, Renderer2, Injector, ChangeDetectionStrategy, ChangeDetectorRef, forwardRef, ContentChild } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, FormBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nexport const /** @type {?} */ inputs: string[] = ['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'];\nexport const /** @type {?} */ outputs: string[] = ['focus', 'blur', 'actionBegin','actionFailure','actionSuccess','beforeSanitizeHtml','beginEdit','cancelClick','change','created','destroyed','endEdit','submitClick','validating','valueChange'];\nexport const /** @type {?} */ twoWays: string[] = ['value'];\n/**\n * `ejs-inplaceeditor` represents the Angular InPlaceEditor Component.\n * ```html\n * <ejs-inplaceeditor></ejs-inplaceeditor>\n * ```\n */\n@ComponentMixins([ComponentBase, FormBase])\nexport class InPlaceEditorComponent extends InPlaceEditor implements IComponentBase {\npublic formCompContext : any;\npublic formContext : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tactionFailure: any;\n\tactionSuccess: any;\n\tbeforeSanitizeHtml: any;\n\tbeginEdit: any;\n\tcancelClick: any;\n\tchange: any;\n\tcreated: any;\n\tdestroyed: any;\n\tendEdit: any;\n\tsubmitClick: any;\n\tvalidating: any;\npublic valueChange: any;\n/**\n * Specifies the HTML element ID as a string that can be added as a editable field.\n * \n * {% codeBlock src='inplace-editor/template/index.md' %}{% endcodeBlock %}\n * \n * \\@default ''\n * \\@blazortype string\n * \\@asptype string\n */\n@Template()\n public template: any;\npublic focus: any;\npublic blur: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n * @param {?} cdr\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector,\nprivate cdr: ChangeDetectorRef) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('InPlace-EditorAutoComplete');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('InPlace-EditorColorPicker');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('InPlace-EditorComboBox');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('InPlace-EditorDateRangePicker');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('InPlace-EditorMultiSelect');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('InPlace-EditorRte');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('InPlace-EditorSlider');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('InPlace-EditorTimePicker');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.formContext = new FormBase();\n this.formCompContext = new ComponentBase();\n }\n/**\n * @param {?} registerFunction\n * @return {?}\n */\npublic registerOnChange(registerFunction: (_: any) => void): void {\n }\n/**\n * @param {?} registerFunction\n * @return {?}\n */\npublic registerOnTouched(registerFunction: () => void): void {\n }\n/**\n * @param {?} value\n * @return {?}\n */\npublic writeValue(value: any): void {\n }\n/**\n * @param {?} disabled\n * @return {?}\n */\npublic setDisabledState(disabled: boolean): void {\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.formCompContext.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.formContext.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.formCompContext.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n \n this.formCompContext.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-inplaceeditor',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => InPlaceEditorComponent),\n multi: true\n }\n ],\n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n{type: ChangeDetectorRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'template': [{ type: ContentChild, args: ['template', ] },],\n};\n}\n\nfunction InPlaceEditorComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nInPlaceEditorComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nInPlaceEditorComponent.ctorParameters;\n/** @type {?} */\nInPlaceEditorComponent.propDecorators;\n/** @type {?} */\nInPlaceEditorComponent.prototype.formCompContext;\n/** @type {?} */\nInPlaceEditorComponent.prototype.formContext;\n/** @type {?} */\nInPlaceEditorComponent.prototype.tagObjects;\n/** @type {?} */\nInPlaceEditorComponent.prototype.actionBegin;\n/** @type {?} */\nInPlaceEditorComponent.prototype.actionFailure;\n/** @type {?} */\nInPlaceEditorComponent.prototype.actionSuccess;\n/** @type {?} */\nInPlaceEditorComponent.prototype.beforeSanitizeHtml;\n/** @type {?} */\nInPlaceEditorComponent.prototype.beginEdit;\n/** @type {?} */\nInPlaceEditorComponent.prototype.cancelClick;\n/** @type {?} */\nInPlaceEditorComponent.prototype.change;\n/** @type {?} */\nInPlaceEditorComponent.prototype.created;\n/** @type {?} */\nInPlaceEditorComponent.prototype.destroyed;\n/** @type {?} */\nInPlaceEditorComponent.prototype.endEdit;\n/** @type {?} */\nInPlaceEditorComponent.prototype.submitClick;\n/** @type {?} */\nInPlaceEditorComponent.prototype.validating;\n/** @type {?} */\nInPlaceEditorComponent.prototype.valueChange;\n/**\n * Specifies the HTML element ID as a string that can be added as a editable field.\n * \n * {% codeBlock src='inplace-editor/template/index.md' %}{% endcodeBlock %}\n * \n * \\@default ''\n * \\@blazortype string\n * \\@asptype string\n * @type {?}\n */\nInPlaceEditorComponent.prototype.template;\n/** @type {?} */\nInPlaceEditorComponent.prototype.focus;\n/** @type {?} */\nInPlaceEditorComponent.prototype.blur;\n/** @type {?} */\nInPlaceEditorComponent.prototype.registerEvents;\n/** @type {?} */\nInPlaceEditorComponent.prototype.addTwoWay;\n/** @type {?} */\nInPlaceEditorComponent.prototype.ngEle;\n/** @type {?} */\nInPlaceEditorComponent.prototype.srenderer;\n/** @type {?} */\nInPlaceEditorComponent.prototype.viewContainerRef;\n/** @type {?} */\nInPlaceEditorComponent.prototype.injector;\n/** @type {?} */\nInPlaceEditorComponent.prototype.cdr;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AGAA,AAOO,MAAM,MAAA,GAAmB,CAAA,cAAE,EAAc,SAAC,EAAS,cAAC,EAAc,UAAC,EAAU,UAAC,EAAU,YAAC,EAAY,WAAC,EAAW,gBAAC,EAAgB,iBAAC,EAAiB,qBAAC,EAAqB,mBAAC,EAAmB,WAAC,EAAW,QAAC,EAAQ,MAAC,EAAM,OAAC,EAAO,MAAC,EAAM,eAAC,EAAe,YAAC,EAAY,YAAC,EAAY,aAAC,EAAa,eAAC,EAAe,UAAC,EAAU,YAAC,EAAY,MAAC,EAAM,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AACxF,AAAO,MAAM,aAAA,GAA+B,EAAE,OAAA,EAAS,sBAAA,EAAwB,QAAA,EAAU,MAAA,EAAO,CAAC;AACjG,AAAO,MAAM,iBAAA,GAAmC,EAAE,OAAA,EAAS,0BAAA,EAA4B,QAAA,EAAU,UAAA,EAAW,CAAC;;;;AAI7G,AAAA,MAAA,sBAAA,CAAA;;AAE6C,sBAA7C,CAAA,UAA6C,GAAoC;IADjF,EAEE,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAA,YAAE,EAAa,mBAAA,CAAoB;gBAD5C,OAAO,EAEE;oBADL,mBAAmB;iBACtB;gBACD,SAAS,EAEC;oBADN,mBAAmB;oBACnB,kBAAkB;oBAClB,eAAe;oBACf,sBAAsB;oBACtB,kBAAkB;oBAClB,UAAU;oBACV,aAAa;oBACb,iBAAiB;iBACpB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,sBAAD,CAAA,cAAC,GAAA,MAAA,EACA,CAAC;;ADxCF;;GAEG;;;;;"}
|
package/LICENSE
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
|
|
2
|
-
|
|
3
|
-
To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
|
|
4
|
-
|
|
5
|
-
Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
|
|
6
|
-
|
|
7
|
-
Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
|
|
8
|
-
|
|
9
|
-
The Syncfusion license that contains the terms and conditions can be found at
|
|
10
|
-
https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
|
|
@@ -1,354 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* filename: ej2-angular-inplace-editor.umd.js
|
|
3
|
-
* version : 31.2.2
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
|
-
* Use of this code is subject to the terms of our license.
|
|
6
|
-
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
-
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
-
* applicable laws.
|
|
9
|
-
*/
|
|
10
|
-
(function (global, factory) {
|
|
11
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-inplace-editor'), require('@angular/common')) :
|
|
12
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/forms', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-inplace-editor', '@angular/common'], factory) :
|
|
13
|
-
(factory((global['ej2-angular-inplace-editor'] = {}),global.ng.core,global.ng.forms,global.ej2.angular.base,global.ej2.inplace.editor,global.ng.common));
|
|
14
|
-
}(this, (function (exports,core,forms,ej2AngularBase,ej2InplaceEditor,common) { 'use strict';
|
|
15
|
-
|
|
16
|
-
var __extends = (this && this.__extends) || (function () {
|
|
17
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
18
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20
|
-
return function (d, b) {
|
|
21
|
-
extendStatics(d, b);
|
|
22
|
-
function __() { this.constructor = d; }
|
|
23
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24
|
-
};
|
|
25
|
-
})();
|
|
26
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
27
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
28
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
29
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
30
|
-
else
|
|
31
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
32
|
-
if (d = decorators[i])
|
|
33
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
35
|
-
};
|
|
36
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
37
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
38
|
-
return Reflect.metadata(k, v);
|
|
39
|
-
};
|
|
40
|
-
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'];
|
|
41
|
-
var outputs = ['focus', 'blur', 'actionBegin', 'actionFailure', 'actionSuccess', 'beforeSanitizeHtml', 'beginEdit', 'cancelClick', 'change', 'created', 'destroyed', 'endEdit', 'submitClick', 'validating', 'valueChange'];
|
|
42
|
-
var twoWays = ['value'];
|
|
43
|
-
/**
|
|
44
|
-
* `ejs-inplaceeditor` represents the Angular InPlaceEditor Component.
|
|
45
|
-
* ```html
|
|
46
|
-
* <ejs-inplaceeditor></ejs-inplaceeditor>
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
exports.InPlaceEditorComponent = InPlaceEditorComponent_1 = /** @class */ (function (_super) {
|
|
50
|
-
__extends(InPlaceEditorComponent, _super);
|
|
51
|
-
/**
|
|
52
|
-
* @param {?} ngEle
|
|
53
|
-
* @param {?} srenderer
|
|
54
|
-
* @param {?} viewContainerRef
|
|
55
|
-
* @param {?} injector
|
|
56
|
-
* @param {?} cdr
|
|
57
|
-
*/
|
|
58
|
-
function InPlaceEditorComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
59
|
-
var _this = _super.call(this) || this;
|
|
60
|
-
_this.ngEle = ngEle;
|
|
61
|
-
_this.srenderer = srenderer;
|
|
62
|
-
_this.viewContainerRef = viewContainerRef;
|
|
63
|
-
_this.injector = injector;
|
|
64
|
-
_this.cdr = cdr;
|
|
65
|
-
_this.element = _this.ngEle.nativeElement;
|
|
66
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
67
|
-
try {
|
|
68
|
-
var mod = _this.injector.get('InPlace-EditorAutoComplete');
|
|
69
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
70
|
-
_this.injectedModules.push(mod);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
catch (_a) { }
|
|
74
|
-
try {
|
|
75
|
-
var mod = _this.injector.get('InPlace-EditorColorPicker');
|
|
76
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
77
|
-
_this.injectedModules.push(mod);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
catch (_b) { }
|
|
81
|
-
try {
|
|
82
|
-
var mod = _this.injector.get('InPlace-EditorComboBox');
|
|
83
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
84
|
-
_this.injectedModules.push(mod);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
catch (_c) { }
|
|
88
|
-
try {
|
|
89
|
-
var mod = _this.injector.get('InPlace-EditorDateRangePicker');
|
|
90
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
91
|
-
_this.injectedModules.push(mod);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
catch (_d) { }
|
|
95
|
-
try {
|
|
96
|
-
var mod = _this.injector.get('InPlace-EditorMultiSelect');
|
|
97
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
98
|
-
_this.injectedModules.push(mod);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
catch (_e) { }
|
|
102
|
-
try {
|
|
103
|
-
var mod = _this.injector.get('InPlace-EditorRte');
|
|
104
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
105
|
-
_this.injectedModules.push(mod);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
catch (_f) { }
|
|
109
|
-
try {
|
|
110
|
-
var mod = _this.injector.get('InPlace-EditorSlider');
|
|
111
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
112
|
-
_this.injectedModules.push(mod);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
catch (_g) { }
|
|
116
|
-
try {
|
|
117
|
-
var mod = _this.injector.get('InPlace-EditorTimePicker');
|
|
118
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
119
|
-
_this.injectedModules.push(mod);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
catch (_h) { }
|
|
123
|
-
_this.registerEvents(outputs);
|
|
124
|
-
_this.addTwoWay.call(_this, twoWays);
|
|
125
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
126
|
-
_this.formContext = new ej2AngularBase.FormBase();
|
|
127
|
-
_this.formCompContext = new ej2AngularBase.ComponentBase();
|
|
128
|
-
return _this;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* @param {?} registerFunction
|
|
132
|
-
* @return {?}
|
|
133
|
-
*/
|
|
134
|
-
InPlaceEditorComponent.prototype.registerOnChange = function (registerFunction) {
|
|
135
|
-
};
|
|
136
|
-
/**
|
|
137
|
-
* @param {?} registerFunction
|
|
138
|
-
* @return {?}
|
|
139
|
-
*/
|
|
140
|
-
InPlaceEditorComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
141
|
-
};
|
|
142
|
-
/**
|
|
143
|
-
* @param {?} value
|
|
144
|
-
* @return {?}
|
|
145
|
-
*/
|
|
146
|
-
InPlaceEditorComponent.prototype.writeValue = function (value) {
|
|
147
|
-
};
|
|
148
|
-
/**
|
|
149
|
-
* @param {?} disabled
|
|
150
|
-
* @return {?}
|
|
151
|
-
*/
|
|
152
|
-
InPlaceEditorComponent.prototype.setDisabledState = function (disabled) {
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* @return {?}
|
|
156
|
-
*/
|
|
157
|
-
InPlaceEditorComponent.prototype.ngOnInit = function () {
|
|
158
|
-
this.formCompContext.ngOnInit(this);
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* @return {?}
|
|
162
|
-
*/
|
|
163
|
-
InPlaceEditorComponent.prototype.ngAfterViewInit = function () {
|
|
164
|
-
this.formContext.ngAfterViewInit(this);
|
|
165
|
-
};
|
|
166
|
-
/**
|
|
167
|
-
* @return {?}
|
|
168
|
-
*/
|
|
169
|
-
InPlaceEditorComponent.prototype.ngOnDestroy = function () {
|
|
170
|
-
this.formCompContext.ngOnDestroy(this);
|
|
171
|
-
};
|
|
172
|
-
/**
|
|
173
|
-
* @return {?}
|
|
174
|
-
*/
|
|
175
|
-
InPlaceEditorComponent.prototype.ngAfterContentChecked = function () {
|
|
176
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
177
|
-
};
|
|
178
|
-
return InPlaceEditorComponent;
|
|
179
|
-
}(ej2InplaceEditor.InPlaceEditor));
|
|
180
|
-
exports.InPlaceEditorComponent.decorators = [
|
|
181
|
-
{ type: core.Component, args: [{
|
|
182
|
-
selector: 'ejs-inplaceeditor',
|
|
183
|
-
inputs: inputs,
|
|
184
|
-
outputs: outputs,
|
|
185
|
-
template: '',
|
|
186
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
187
|
-
providers: [
|
|
188
|
-
{
|
|
189
|
-
provide: forms.NG_VALUE_ACCESSOR,
|
|
190
|
-
useExisting: core.forwardRef(function () { return InPlaceEditorComponent_1; }),
|
|
191
|
-
multi: true
|
|
192
|
-
}
|
|
193
|
-
],
|
|
194
|
-
queries: {}
|
|
195
|
-
},] },
|
|
196
|
-
];
|
|
197
|
-
/**
|
|
198
|
-
* @nocollapse
|
|
199
|
-
*/
|
|
200
|
-
exports.InPlaceEditorComponent.ctorParameters = function () { return [
|
|
201
|
-
{ type: core.ElementRef, },
|
|
202
|
-
{ type: core.Renderer2, },
|
|
203
|
-
{ type: core.ViewContainerRef, },
|
|
204
|
-
{ type: core.Injector, },
|
|
205
|
-
{ type: core.ChangeDetectorRef, },
|
|
206
|
-
]; };
|
|
207
|
-
exports.InPlaceEditorComponent.propDecorators = {
|
|
208
|
-
'template': [{ type: core.ContentChild, args: ['template',] },],
|
|
209
|
-
};
|
|
210
|
-
__decorate([
|
|
211
|
-
ej2AngularBase.Template(),
|
|
212
|
-
__metadata("design:type", Object)
|
|
213
|
-
], exports.InPlaceEditorComponent.prototype, "template", void 0);
|
|
214
|
-
exports.InPlaceEditorComponent = InPlaceEditorComponent_1 = __decorate([
|
|
215
|
-
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
|
|
216
|
-
__metadata("design:paramtypes", [core.ElementRef,
|
|
217
|
-
core.Renderer2,
|
|
218
|
-
core.ViewContainerRef,
|
|
219
|
-
core.Injector,
|
|
220
|
-
core.ChangeDetectorRef])
|
|
221
|
-
], exports.InPlaceEditorComponent);
|
|
222
|
-
var InPlaceEditorComponent_1;
|
|
223
|
-
/**
|
|
224
|
-
* NgModule definition for the InPlaceEditor component.
|
|
225
|
-
*/
|
|
226
|
-
var InPlaceEditorModule = /** @class */ (function () {
|
|
227
|
-
function InPlaceEditorModule() {
|
|
228
|
-
}
|
|
229
|
-
return InPlaceEditorModule;
|
|
230
|
-
}());
|
|
231
|
-
InPlaceEditorModule.decorators = [
|
|
232
|
-
{ type: core.NgModule, args: [{
|
|
233
|
-
imports: [common.CommonModule],
|
|
234
|
-
declarations: [
|
|
235
|
-
exports.InPlaceEditorComponent
|
|
236
|
-
],
|
|
237
|
-
exports: [
|
|
238
|
-
exports.InPlaceEditorComponent
|
|
239
|
-
]
|
|
240
|
-
},] },
|
|
241
|
-
];
|
|
242
|
-
/**
|
|
243
|
-
* @nocollapse
|
|
244
|
-
*/
|
|
245
|
-
InPlaceEditorModule.ctorParameters = function () { return []; };
|
|
246
|
-
var AutoCompleteService = { provide: 'InPlace-EditorAutoComplete', useValue: ej2InplaceEditor.AutoComplete };
|
|
247
|
-
var ColorPickerService = { provide: 'InPlace-EditorColorPicker', useValue: ej2InplaceEditor.ColorPicker };
|
|
248
|
-
var ComboBoxService = { provide: 'InPlace-EditorComboBox', useValue: ej2InplaceEditor.ComboBox };
|
|
249
|
-
var DateRangePickerService = { provide: 'InPlace-EditorDateRangePicker', useValue: ej2InplaceEditor.DateRangePicker };
|
|
250
|
-
var MultiSelectService = { provide: 'InPlace-EditorMultiSelect', useValue: ej2InplaceEditor.MultiSelect };
|
|
251
|
-
var RteService = { provide: 'InPlace-EditorRte', useValue: ej2InplaceEditor.Rte };
|
|
252
|
-
var SliderService = { provide: 'InPlace-EditorSlider', useValue: ej2InplaceEditor.Slider };
|
|
253
|
-
var TimePickerService = { provide: 'InPlace-EditorTimePicker', useValue: ej2InplaceEditor.TimePicker };
|
|
254
|
-
/**
|
|
255
|
-
* NgModule definition for the InPlaceEditor component with providers.
|
|
256
|
-
*/
|
|
257
|
-
var InPlaceEditorAllModule = /** @class */ (function () {
|
|
258
|
-
function InPlaceEditorAllModule() {
|
|
259
|
-
}
|
|
260
|
-
return InPlaceEditorAllModule;
|
|
261
|
-
}());
|
|
262
|
-
InPlaceEditorAllModule.decorators = [
|
|
263
|
-
{ type: core.NgModule, args: [{
|
|
264
|
-
imports: [common.CommonModule, InPlaceEditorModule],
|
|
265
|
-
exports: [
|
|
266
|
-
InPlaceEditorModule
|
|
267
|
-
],
|
|
268
|
-
providers: [
|
|
269
|
-
AutoCompleteService,
|
|
270
|
-
ColorPickerService,
|
|
271
|
-
ComboBoxService,
|
|
272
|
-
DateRangePickerService,
|
|
273
|
-
MultiSelectService,
|
|
274
|
-
RteService,
|
|
275
|
-
SliderService,
|
|
276
|
-
TimePickerService
|
|
277
|
-
]
|
|
278
|
-
},] },
|
|
279
|
-
];
|
|
280
|
-
/**
|
|
281
|
-
* @nocollapse
|
|
282
|
-
*/
|
|
283
|
-
InPlaceEditorAllModule.ctorParameters = function () { return []; };
|
|
284
|
-
|
|
285
|
-
exports.InPlaceEditorModule = InPlaceEditorModule;
|
|
286
|
-
exports.InPlaceEditorAllModule = InPlaceEditorAllModule;
|
|
287
|
-
exports.AutoCompleteService = AutoCompleteService;
|
|
288
|
-
exports.ColorPickerService = ColorPickerService;
|
|
289
|
-
exports.ComboBoxService = ComboBoxService;
|
|
290
|
-
exports.DateRangePickerService = DateRangePickerService;
|
|
291
|
-
exports.MultiSelectService = MultiSelectService;
|
|
292
|
-
exports.RteService = RteService;
|
|
293
|
-
exports.SliderService = SliderService;
|
|
294
|
-
exports.TimePickerService = TimePickerService;
|
|
295
|
-
exports.ɵa = inputs;
|
|
296
|
-
exports.ɵb = outputs;
|
|
297
|
-
exports.parseValue = ej2InplaceEditor.parseValue;
|
|
298
|
-
exports.getCompValue = ej2InplaceEditor.getCompValue;
|
|
299
|
-
exports.encode = ej2InplaceEditor.encode;
|
|
300
|
-
exports.render = ej2InplaceEditor.render;
|
|
301
|
-
exports.update = ej2InplaceEditor.update;
|
|
302
|
-
exports.destroy = ej2InplaceEditor.destroy;
|
|
303
|
-
exports.setFocus = ej2InplaceEditor.setFocus;
|
|
304
|
-
exports.accessValue = ej2InplaceEditor.accessValue;
|
|
305
|
-
exports.destroyModules = ej2InplaceEditor.destroyModules;
|
|
306
|
-
exports.showPopup = ej2InplaceEditor.showPopup;
|
|
307
|
-
exports.PopupSettings = ej2InplaceEditor.PopupSettings;
|
|
308
|
-
exports.modulesList = ej2InplaceEditor.modulesList;
|
|
309
|
-
exports.localeConstant = ej2InplaceEditor.localeConstant;
|
|
310
|
-
exports.ROOT = ej2InplaceEditor.ROOT;
|
|
311
|
-
exports.ROOT_TIP = ej2InplaceEditor.ROOT_TIP;
|
|
312
|
-
exports.VALUE_WRAPPER = ej2InplaceEditor.VALUE_WRAPPER;
|
|
313
|
-
exports.VALUE = ej2InplaceEditor.VALUE;
|
|
314
|
-
exports.OVERLAY_ICON = ej2InplaceEditor.OVERLAY_ICON;
|
|
315
|
-
exports.TIP_TITLE = ej2InplaceEditor.TIP_TITLE;
|
|
316
|
-
exports.TITLE = ej2InplaceEditor.TITLE;
|
|
317
|
-
exports.INLINE = ej2InplaceEditor.INLINE;
|
|
318
|
-
exports.POPUP = ej2InplaceEditor.POPUP;
|
|
319
|
-
exports.WRAPPER = ej2InplaceEditor.WRAPPER;
|
|
320
|
-
exports.LOADING = ej2InplaceEditor.LOADING;
|
|
321
|
-
exports.FORM = ej2InplaceEditor.FORM;
|
|
322
|
-
exports.CTRL_GROUP = ej2InplaceEditor.CTRL_GROUP;
|
|
323
|
-
exports.INPUT = ej2InplaceEditor.INPUT;
|
|
324
|
-
exports.BUTTONS = ej2InplaceEditor.BUTTONS;
|
|
325
|
-
exports.EDITABLE_ERROR = ej2InplaceEditor.EDITABLE_ERROR;
|
|
326
|
-
exports.ELEMENTS = ej2InplaceEditor.ELEMENTS;
|
|
327
|
-
exports.OPEN = ej2InplaceEditor.OPEN;
|
|
328
|
-
exports.BTN_SAVE = ej2InplaceEditor.BTN_SAVE;
|
|
329
|
-
exports.BTN_CANCEL = ej2InplaceEditor.BTN_CANCEL;
|
|
330
|
-
exports.RTE_SPIN_WRAP = ej2InplaceEditor.RTE_SPIN_WRAP;
|
|
331
|
-
exports.CTRL_OVERLAY = ej2InplaceEditor.CTRL_OVERLAY;
|
|
332
|
-
exports.DISABLE = ej2InplaceEditor.DISABLE;
|
|
333
|
-
exports.ICONS = ej2InplaceEditor.ICONS;
|
|
334
|
-
exports.PRIMARY = ej2InplaceEditor.PRIMARY;
|
|
335
|
-
exports.SHOW = ej2InplaceEditor.SHOW;
|
|
336
|
-
exports.HIDE = ej2InplaceEditor.HIDE;
|
|
337
|
-
exports.RTL = ej2InplaceEditor.RTL;
|
|
338
|
-
exports.ERROR = ej2InplaceEditor.ERROR;
|
|
339
|
-
exports.LOAD = ej2InplaceEditor.LOAD;
|
|
340
|
-
exports.InPlaceEditor = ej2InplaceEditor.InPlaceEditor;
|
|
341
|
-
exports.Base = ej2InplaceEditor.Base;
|
|
342
|
-
exports.AutoComplete = ej2InplaceEditor.AutoComplete;
|
|
343
|
-
exports.ColorPicker = ej2InplaceEditor.ColorPicker;
|
|
344
|
-
exports.ComboBox = ej2InplaceEditor.ComboBox;
|
|
345
|
-
exports.DateRangePicker = ej2InplaceEditor.DateRangePicker;
|
|
346
|
-
exports.MultiSelect = ej2InplaceEditor.MultiSelect;
|
|
347
|
-
exports.Rte = ej2InplaceEditor.Rte;
|
|
348
|
-
exports.Slider = ej2InplaceEditor.Slider;
|
|
349
|
-
exports.TimePicker = ej2InplaceEditor.TimePicker;
|
|
350
|
-
|
|
351
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
352
|
-
|
|
353
|
-
})));
|
|
354
|
-
//# sourceMappingURL=ej2-angular-inplace-editor.umd.js.map
|