@syncfusion/ej2-inplace-editor 20.4.40 → 20.4.48
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/.eslintrc.json +16 -1
- package/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/ej2-inplace-editor.min.js +2 -2
- 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 +7 -0
- package/dist/es6/ej2-inplace-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-inplace-editor.es5.js +7 -0
- 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/package.json +18 -16
- package/src/inplace-editor/base/inplace-editor-model.d.ts +1 -1
- package/src/inplace-editor/base/inplace-editor.js +7 -0
- package/styles/bootstrap4.css +1 -1
- package/styles/inplace-editor/bootstrap4.css +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.4.
|
|
3
|
+
* version : 20.4.48
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-inplace-editor@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-inplace-editor@20.4.
|
|
3
|
+
"_id": "@syncfusion/ej2-inplace-editor@20.4.42",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-3F948w3GkP2ylMwsfYFTgiQYWzO0y8V4Iyg2b+4hd34zYQurg9lAjMdpsjx7x288cd9rwh7Yz5FglM2Y1tpG3g==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-inplace-editor",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,11 +19,13 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/",
|
|
21
21
|
"/@syncfusion/ej2",
|
|
22
|
+
"/@syncfusion/ej2-angular-inplace-editor",
|
|
22
23
|
"/@syncfusion/ej2-pdfviewer",
|
|
24
|
+
"/@syncfusion/ej2-react-inplace-editor",
|
|
23
25
|
"/@syncfusion/ej2-vue-inplace-editor"
|
|
24
26
|
],
|
|
25
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inplace-editor/-/ej2-inplace-editor-20.4.
|
|
26
|
-
"_shasum": "
|
|
27
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inplace-editor/-/ej2-inplace-editor-20.4.42.tgz",
|
|
28
|
+
"_shasum": "9537cbe8e43dfdb2ad46256d839f7595cb2cba92",
|
|
27
29
|
"_spec": "@syncfusion/ej2-inplace-editor@*",
|
|
28
30
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
29
31
|
"author": {
|
|
@@ -34,17 +36,17 @@
|
|
|
34
36
|
},
|
|
35
37
|
"bundleDependencies": false,
|
|
36
38
|
"dependencies": {
|
|
37
|
-
"@syncfusion/ej2-base": "~20.4.
|
|
38
|
-
"@syncfusion/ej2-buttons": "~20.4.
|
|
39
|
-
"@syncfusion/ej2-calendars": "~20.4.
|
|
40
|
-
"@syncfusion/ej2-data": "~20.4.
|
|
41
|
-
"@syncfusion/ej2-dropdowns": "~20.4.
|
|
42
|
-
"@syncfusion/ej2-inputs": "~20.4.
|
|
43
|
-
"@syncfusion/ej2-lists": "~20.4.
|
|
44
|
-
"@syncfusion/ej2-navigations": "~20.4.
|
|
45
|
-
"@syncfusion/ej2-popups": "~20.4.
|
|
46
|
-
"@syncfusion/ej2-richtexteditor": "~20.4.
|
|
47
|
-
"@syncfusion/ej2-splitbuttons": "~20.4.
|
|
39
|
+
"@syncfusion/ej2-base": "~20.4.48",
|
|
40
|
+
"@syncfusion/ej2-buttons": "~20.4.48",
|
|
41
|
+
"@syncfusion/ej2-calendars": "~20.4.48",
|
|
42
|
+
"@syncfusion/ej2-data": "~20.4.48",
|
|
43
|
+
"@syncfusion/ej2-dropdowns": "~20.4.48",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~20.4.48",
|
|
45
|
+
"@syncfusion/ej2-lists": "~20.4.48",
|
|
46
|
+
"@syncfusion/ej2-navigations": "~20.4.48",
|
|
47
|
+
"@syncfusion/ej2-popups": "~20.4.48",
|
|
48
|
+
"@syncfusion/ej2-richtexteditor": "~20.4.48",
|
|
49
|
+
"@syncfusion/ej2-splitbuttons": "~20.4.48"
|
|
48
50
|
},
|
|
49
51
|
"deprecated": false,
|
|
50
52
|
"description": "A package of Essential JS 2 Inplace editor components, which is used to edit and update the value dynamically in server.",
|
|
@@ -67,6 +69,6 @@
|
|
|
67
69
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
68
70
|
},
|
|
69
71
|
"typings": "index.d.ts",
|
|
70
|
-
"version": "20.4.
|
|
72
|
+
"version": "20.4.48",
|
|
71
73
|
"sideEffects": false
|
|
72
74
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, INotifyPropertyChanged, NotifyPropertyChanges, Property, Event, EmitType, select } from '@syncfusion/ej2-base';import { detach, addClass, removeClass, EventHandler, setStyleAttribute, Complex, ModuleDeclaration } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, closest, extend, L10n, compile, Browser, Touch, TapEventArgs } from '@syncfusion/ej2-base';import { updateBlazorTemplate, resetBlazorTemplate, SanitizeHtmlHelper, getValue, isBlazor } from '@syncfusion/ej2-base';import { DataManager, UrlAdaptor, Query, WebApiAdaptor, ODataV4Adaptor, ReturnOption, Predicate } from '@syncfusion/ej2-data';import { Button, ButtonModel } from '@syncfusion/ej2-buttons';import { RichTextEditorModel } from '@syncfusion/ej2-richtexteditor';import { DatePicker, DatePickerModel, DateTimePicker, DateRange, RangeEventArgs } from '@syncfusion/ej2-calendars';import { DateTimePickerModel, DateRangePickerModel, TimePickerModel } from '@syncfusion/ej2-calendars';import { createSpinner, hideSpinner, SpinnerArgs, showSpinner} from '@syncfusion/ej2-popups';import { Tooltip, TooltipEventArgs, TipPointerPosition } from '@syncfusion/ej2-popups';import { NumericTextBox, NumericTextBoxModel, TextBox, TextBoxModel, SliderChangeEventArgs
|
|
1
|
+
import { Component, INotifyPropertyChanged, NotifyPropertyChanges, Property, Event, EmitType, select } from '@syncfusion/ej2-base';import { detach, addClass, removeClass, EventHandler, setStyleAttribute, Complex, ModuleDeclaration } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, closest, extend, L10n, compile, Browser, Touch, TapEventArgs } from '@syncfusion/ej2-base';import { updateBlazorTemplate, resetBlazorTemplate, SanitizeHtmlHelper, getValue, isBlazor } from '@syncfusion/ej2-base';import { DataManager, UrlAdaptor, Query, WebApiAdaptor, ODataV4Adaptor, ReturnOption, Predicate } from '@syncfusion/ej2-data';import { Button, ButtonModel } from '@syncfusion/ej2-buttons';import { RichTextEditorModel } from '@syncfusion/ej2-richtexteditor';import { DatePicker, DatePickerModel, DateTimePicker, DateRange, RangeEventArgs } from '@syncfusion/ej2-calendars';import { DateTimePickerModel, DateRangePickerModel, TimePickerModel } from '@syncfusion/ej2-calendars';import { createSpinner, hideSpinner, SpinnerArgs, showSpinner} from '@syncfusion/ej2-popups';import { Tooltip, TooltipEventArgs, TipPointerPosition } from '@syncfusion/ej2-popups';import { NumericTextBox, NumericTextBoxModel, TextBox, TextBoxModel, SliderChangeEventArgs,ValidArgs } from '@syncfusion/ej2-inputs';import { ColorPickerModel, FormValidator, MaskedTextBox, MaskedTextBoxModel, SliderModel } from '@syncfusion/ej2-inputs';import { ChangeEventArgs as InputChangeEventArgs, ColorPickerEventArgs } from '@syncfusion/ej2-inputs';import { AutoCompleteModel, ComboBoxModel, DropDownList, DropDownListModel, MultiSelectModel } from '@syncfusion/ej2-dropdowns';import { MultiSelectChangeEventArgs, ChangeEventArgs as DropDownsChangeEventArgs } from '@syncfusion/ej2-dropdowns';import { Rte } from '../modules/rte';import { Slider } from '../modules/slider';import { ComboBox } from '../modules/combo-box';import { TimePicker } from '../modules/time-picker';import { MultiSelect } from '../modules/multi-select';import { ColorPicker } from '../modules/color-picker';import { AutoComplete } from '../modules/auto-complete';import { DateRangePicker } from '../modules/date-range-picker';import * as events from './events';import * as classes from './classes';import { PopupSettings, modulesList, localeConstant } from './models';import { PopupSettingsModel } from './models-model';import { ActionBeginEventArgs, ActionEventArgs, FormEventArgs, ValidateEventArgs, IButton, BeginEditEventArgs } from './interface';import { ChangeEventArgs, EndEditEventArgs } from './interface';import { parseValue, getCompValue, encode } from './util';
|
|
2
2
|
import {RenderMode,AdaptorType,InputType,EditableType,textOptionType,ActionBlur,BeforeSanitizeHtmlArgs} from "./inplace-editor";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -830,6 +830,13 @@ var InPlaceEditor = /** @class */ (function (_super) {
|
|
|
830
830
|
var count_1 = 0;
|
|
831
831
|
this.formValidate = new FormValidator(this.formEle, {
|
|
832
832
|
rules: this.validationRules,
|
|
833
|
+
validationBegin: function (e) {
|
|
834
|
+
if (_this.type === 'RTE') {
|
|
835
|
+
var ele = document.createElement('div');
|
|
836
|
+
ele.innerHTML = e.value;
|
|
837
|
+
e.value = ele.innerText;
|
|
838
|
+
}
|
|
839
|
+
},
|
|
833
840
|
validationComplete: function (e) {
|
|
834
841
|
count_1 = count_1 + 1;
|
|
835
842
|
args = {
|
package/styles/bootstrap4.css
CHANGED