@syncfusion/ej2-inplace-editor 20.1.47 → 20.2.38
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/dist/ej2-inplace-editor.umd.min.js +2 -2
- package/dist/ej2-inplace-editor.umd.min.js.map +1 -1
- package/dist/es6/ej2-inplace-editor.es2015.js +5 -5
- package/dist/es6/ej2-inplace-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-inplace-editor.es5.js +22 -23
- package/dist/es6/ej2-inplace-editor.es5.js.map +1 -1
- package/dist/global/ej2-inplace-editor.min.js +2 -2
- package/dist/global/ej2-inplace-editor.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/helpers/e2e/index.js +8 -6
- package/helpers/e2e/inplace-editor.js +74 -58
- package/package.json +16 -16
- package/src/inplace-editor/base/inplace-editor.d.ts +1 -0
- package/src/inplace-editor/base/inplace-editor.js +22 -23
- package/styles/bootstrap-dark.css +11 -139
- package/styles/bootstrap.css +12 -145
- package/styles/bootstrap4.css +22 -195
- package/styles/bootstrap5-dark.css +20 -141
- package/styles/bootstrap5.css +20 -141
- package/styles/fabric-dark.css +11 -137
- package/styles/fabric.css +11 -137
- package/styles/fluent-dark.css +12 -151
- package/styles/fluent.css +11 -150
- package/styles/highcontrast-light.css +12 -172
- package/styles/highcontrast.css +12 -172
- package/styles/inplace-editor/_fluent-definition.scss +1 -1
- package/styles/inplace-editor/_fusionnew-definition.scss +68 -0
- package/styles/inplace-editor/_material3-definition.scss +68 -0
- package/styles/inplace-editor/_theme.scss +8 -0
- package/styles/inplace-editor/bootstrap-dark.css +11 -139
- package/styles/inplace-editor/bootstrap.css +12 -145
- package/styles/inplace-editor/bootstrap4.css +22 -195
- package/styles/inplace-editor/bootstrap5-dark.css +20 -141
- package/styles/inplace-editor/bootstrap5.css +20 -141
- package/styles/inplace-editor/fabric-dark.css +11 -137
- package/styles/inplace-editor/fabric.css +11 -137
- package/styles/inplace-editor/fluent-dark.css +12 -151
- package/styles/inplace-editor/fluent.css +11 -150
- package/styles/inplace-editor/highcontrast-light.css +12 -172
- package/styles/inplace-editor/highcontrast.css +12 -172
- package/styles/inplace-editor/icons/_fusionnew.scss +19 -0
- package/styles/inplace-editor/icons/_material3.scss +19 -0
- package/styles/inplace-editor/material-dark.css +7 -126
- package/styles/inplace-editor/material.css +7 -130
- package/styles/inplace-editor/tailwind-dark.css +9 -128
- package/styles/inplace-editor/tailwind.css +9 -128
- package/styles/material-dark.css +7 -126
- package/styles/material.css +7 -130
- package/styles/tailwind-dark.css +9 -128
- package/styles/tailwind.css +9 -128
- package/dist/ts/inplace-editor/base/classes.ts +0 -63
- package/dist/ts/inplace-editor/base/events.ts +0 -18
- package/dist/ts/inplace-editor/base/inplace-editor.ts +0 -1750
- package/dist/ts/inplace-editor/base/interface.ts +0 -129
- package/dist/ts/inplace-editor/base/models.ts +0 -49
- package/dist/ts/inplace-editor/base/util.ts +0 -106
- package/dist/ts/inplace-editor/modules/auto-complete.ts +0 -65
- package/dist/ts/inplace-editor/modules/base-module.ts +0 -74
- package/dist/ts/inplace-editor/modules/color-picker.ts +0 -55
- package/dist/ts/inplace-editor/modules/combo-box.ts +0 -63
- package/dist/ts/inplace-editor/modules/date-range-picker.ts +0 -55
- package/dist/ts/inplace-editor/modules/multi-select.ts +0 -88
- package/dist/ts/inplace-editor/modules/rte.ts +0 -72
- package/dist/ts/inplace-editor/modules/slider.ts +0 -59
- package/dist/ts/inplace-editor/modules/time-picker.ts +0 -54
|
@@ -258,6 +258,9 @@ let InPlaceEditor = class InPlaceEditor extends Component {
|
|
|
258
258
|
*/
|
|
259
259
|
constructor(options, element) {
|
|
260
260
|
super(options, element);
|
|
261
|
+
}
|
|
262
|
+
initializeValue() {
|
|
263
|
+
this.needsID = true;
|
|
261
264
|
this.initRender = true;
|
|
262
265
|
this.isTemplate = false;
|
|
263
266
|
this.isVue = false;
|
|
@@ -274,10 +277,6 @@ let InPlaceEditor = class InPlaceEditor extends Component {
|
|
|
274
277
|
this.inputDataEle = ['Date', 'DateTime', 'DateRange', 'Time', 'Numeric'];
|
|
275
278
|
this.dropDownEle = ['AutoComplete', 'ComboBox', 'DropDownList', 'MultiSelect'];
|
|
276
279
|
this.moduleList = ['AutoComplete', 'Color', 'ComboBox', 'DateRange', 'MultiSelect', 'RTE', 'Slider', 'Time'];
|
|
277
|
-
/**
|
|
278
|
-
* @hidden
|
|
279
|
-
*/
|
|
280
|
-
this.needsID = true;
|
|
281
280
|
}
|
|
282
281
|
/**
|
|
283
282
|
* Initialize the event handler
|
|
@@ -286,6 +285,7 @@ let InPlaceEditor = class InPlaceEditor extends Component {
|
|
|
286
285
|
* @private
|
|
287
286
|
*/
|
|
288
287
|
preRender() {
|
|
288
|
+
this.initializeValue();
|
|
289
289
|
this.onScrollResizeHandler = this.scrollResizeHandler.bind(this);
|
|
290
290
|
if (isNullOrUndefined(this.model)) {
|
|
291
291
|
this.setProperties({ model: {} }, true);
|
|
@@ -593,7 +593,7 @@ let InPlaceEditor = class InPlaceEditor extends Component {
|
|
|
593
593
|
if (Object.keys(args.model).length > 0) {
|
|
594
594
|
const btnEle = this.createElement('button', {
|
|
595
595
|
className: args.className,
|
|
596
|
-
attrs: { 'type': args.type, 'title': this.getLocale(args.title, args.constant) }
|
|
596
|
+
attrs: { 'type': args.type, 'title': (args.constant == "save") ? (isNullOrUndefined(this.saveButton.content) ? this.getLocale(args.title, args.constant) : this.saveButton.content) : (isNullOrUndefined(this.cancelButton.content) ? this.getLocale(args.title, args.constant) : this.cancelButton.content) }
|
|
597
597
|
});
|
|
598
598
|
args.container.appendChild(btnEle);
|
|
599
599
|
btnObj = new Button(args.model, btnEle);
|