@syncfusion/ej2-inplace-editor 29.2.4 → 30.1.37
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.min.js +1 -1
- package/dist/ej2-inplace-editor.umd.min.js +1 -1
- package/dist/global/ej2-inplace-editor.min.js +1 -1
- package/dist/global/index.d.ts +1 -1
- package/dist/ts/index.d.ts +4 -0
- package/dist/ts/index.ts +4 -0
- package/dist/ts/inplace-editor/base/classes.d.ts +63 -0
- package/dist/ts/inplace-editor/base/classes.ts +63 -0
- package/dist/ts/inplace-editor/base/events.d.ts +17 -0
- package/dist/ts/inplace-editor/base/events.ts +18 -0
- package/dist/ts/inplace-editor/base/index.d.ts +10 -0
- package/dist/ts/inplace-editor/base/index.ts +10 -0
- package/dist/ts/inplace-editor/base/inplace-editor-model.d.ts +344 -0
- package/dist/ts/inplace-editor/base/inplace-editor.d.ts +623 -0
- package/dist/ts/inplace-editor/base/inplace-editor.ts +1762 -0
- package/dist/ts/inplace-editor/base/interface.d.ts +117 -0
- package/dist/ts/inplace-editor/base/interface.ts +127 -0
- package/dist/ts/inplace-editor/base/models-model.d.ts +22 -0
- package/dist/ts/inplace-editor/base/models.d.ts +31 -0
- package/dist/ts/inplace-editor/base/models.ts +45 -0
- package/dist/ts/inplace-editor/base/util.d.ts +28 -0
- package/dist/ts/inplace-editor/base/util.ts +104 -0
- package/dist/ts/inplace-editor/index.d.ts +5 -0
- package/dist/ts/inplace-editor/index.ts +5 -0
- package/dist/ts/inplace-editor/modules/auto-complete.d.ts +34 -0
- package/dist/ts/inplace-editor/modules/auto-complete.ts +65 -0
- package/dist/ts/inplace-editor/modules/base-module.d.ts +19 -0
- package/dist/ts/inplace-editor/modules/base-module.ts +74 -0
- package/dist/ts/inplace-editor/modules/color-picker.d.ts +29 -0
- package/dist/ts/inplace-editor/modules/color-picker.ts +55 -0
- package/dist/ts/inplace-editor/modules/combo-box.d.ts +34 -0
- package/dist/ts/inplace-editor/modules/combo-box.ts +63 -0
- package/dist/ts/inplace-editor/modules/date-range-picker.d.ts +29 -0
- package/dist/ts/inplace-editor/modules/date-range-picker.ts +55 -0
- package/dist/ts/inplace-editor/modules/index.d.ts +12 -0
- package/dist/ts/inplace-editor/modules/index.ts +12 -0
- package/dist/ts/inplace-editor/modules/multi-select.d.ts +35 -0
- package/dist/ts/inplace-editor/modules/multi-select.ts +88 -0
- package/dist/ts/inplace-editor/modules/rte.d.ts +31 -0
- package/dist/ts/inplace-editor/modules/rte.ts +73 -0
- package/dist/ts/inplace-editor/modules/slider.d.ts +30 -0
- package/dist/ts/inplace-editor/modules/slider.ts +59 -0
- package/dist/ts/inplace-editor/modules/time-picker.d.ts +29 -0
- package/dist/ts/inplace-editor/modules/time-picker.ts +54 -0
- package/package.json +18 -19
- package/styles/inplace-editor/material.css +0 -9
- package/styles/material-lite.css +0 -9
- package/styles/material.css +0 -9
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { TimePicker as EJ2TimePicker, TimePickerModel } from '@syncfusion/ej2-calendars';
|
|
2
|
+
import { Base } from './base-module';
|
|
3
|
+
import { InPlaceEditor } from '../base/inplace-editor';
|
|
4
|
+
import { NotifyParams, IComponent } from '../base/interface';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The `TimePicker` module is used configure the properties of Time picker type editor.
|
|
8
|
+
*/
|
|
9
|
+
export class TimePicker implements IComponent {
|
|
10
|
+
private base: Base;
|
|
11
|
+
protected parent: InPlaceEditor;
|
|
12
|
+
public compObj: EJ2TimePicker = undefined;
|
|
13
|
+
|
|
14
|
+
public constructor(parent?: InPlaceEditor) {
|
|
15
|
+
this.parent = parent;
|
|
16
|
+
this.parent.timeModule = this;
|
|
17
|
+
this.base = new Base(this.parent, this);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
public render(e: NotifyParams): void {
|
|
21
|
+
this.compObj = new EJ2TimePicker(this.parent.model as TimePickerModel);
|
|
22
|
+
this.compObj.appendTo(e.target as HTMLInputElement);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
public focus(): void {
|
|
26
|
+
this.compObj.focusIn();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public updateValue(e: NotifyParams): void {
|
|
30
|
+
if (this.compObj && e.type === 'Time') {
|
|
31
|
+
this.parent.setProperties({ value: this.compObj.value }, true);
|
|
32
|
+
this.parent.extendModelValue(this.compObj.value);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* For internal use only - Get the module name.
|
|
37
|
+
*
|
|
38
|
+
* @returns {string} - returns the string
|
|
39
|
+
*/
|
|
40
|
+
private getModuleName(): string {
|
|
41
|
+
return 'time-picker';
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Destroys the module.
|
|
46
|
+
*
|
|
47
|
+
* @function destroy
|
|
48
|
+
* @returns {void}
|
|
49
|
+
* @hidden
|
|
50
|
+
*/
|
|
51
|
+
public destroy(): void {
|
|
52
|
+
this.base.destroy();
|
|
53
|
+
}
|
|
54
|
+
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-inplace-editor@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-inplace-editor@
|
|
3
|
+
"_id": "@syncfusion/ej2-inplace-editor@21.4.0",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-T74lbtsafLMsDZGK66gNd1joHF6qobCv56JyKCKulkIkukk2UDo3gNS0bBcuOtM908s/pJ6VOkgdpDWLm//lAw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-inplace-editor",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -18,16 +18,15 @@
|
|
|
18
18
|
},
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/",
|
|
21
|
-
"/@syncfusion/ej2",
|
|
22
21
|
"/@syncfusion/ej2-angular-inplace-editor",
|
|
23
22
|
"/@syncfusion/ej2-pdfviewer",
|
|
24
23
|
"/@syncfusion/ej2-react-inplace-editor",
|
|
25
24
|
"/@syncfusion/ej2-vue-inplace-editor"
|
|
26
25
|
],
|
|
27
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-
|
|
28
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-development/@syncfusion/ej2-inplace-editor/-/ej2-inplace-editor-21.4.0.tgz",
|
|
27
|
+
"_shasum": "60ae84795d522cb7566f2a42e9964e0a3ea9d1bd",
|
|
29
28
|
"_spec": "@syncfusion/ej2-inplace-editor@*",
|
|
30
|
-
"_where": "
|
|
29
|
+
"_where": "D:\\SF3992\\WFH\\Nexus\\ej2-nexus-branch-switching-dev\\release",
|
|
31
30
|
"author": {
|
|
32
31
|
"name": "Syncfusion Inc."
|
|
33
32
|
},
|
|
@@ -36,18 +35,18 @@
|
|
|
36
35
|
},
|
|
37
36
|
"bundleDependencies": false,
|
|
38
37
|
"dependencies": {
|
|
39
|
-
"@syncfusion/ej2-base": "~
|
|
40
|
-
"@syncfusion/ej2-buttons": "~
|
|
41
|
-
"@syncfusion/ej2-calendars": "~
|
|
42
|
-
"@syncfusion/ej2-data": "~
|
|
43
|
-
"@syncfusion/ej2-dropdowns": "~
|
|
44
|
-
"@syncfusion/ej2-inputs": "~
|
|
45
|
-
"@syncfusion/ej2-lists": "~
|
|
46
|
-
"@syncfusion/ej2-navigations": "~
|
|
47
|
-
"@syncfusion/ej2-notifications": "~
|
|
48
|
-
"@syncfusion/ej2-popups": "~
|
|
49
|
-
"@syncfusion/ej2-richtexteditor": "~
|
|
50
|
-
"@syncfusion/ej2-splitbuttons": "~
|
|
38
|
+
"@syncfusion/ej2-base": "~30.1.37",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~30.1.37",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~30.1.37",
|
|
41
|
+
"@syncfusion/ej2-data": "~30.1.37",
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~30.1.37",
|
|
43
|
+
"@syncfusion/ej2-inputs": "~30.1.37",
|
|
44
|
+
"@syncfusion/ej2-lists": "~30.1.37",
|
|
45
|
+
"@syncfusion/ej2-navigations": "~30.1.37",
|
|
46
|
+
"@syncfusion/ej2-notifications": "~30.1.37",
|
|
47
|
+
"@syncfusion/ej2-popups": "~30.1.37",
|
|
48
|
+
"@syncfusion/ej2-richtexteditor": "~30.1.37",
|
|
49
|
+
"@syncfusion/ej2-splitbuttons": "~30.1.37"
|
|
51
50
|
},
|
|
52
51
|
"deprecated": false,
|
|
53
52
|
"description": "A package of Essential JS 2 Inplace editor components, which is used to edit and update the value dynamically in server.",
|
|
@@ -70,6 +69,6 @@
|
|
|
70
69
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
71
70
|
},
|
|
72
71
|
"typings": "index.d.ts",
|
|
73
|
-
"version": "
|
|
72
|
+
"version": "30.1.37",
|
|
74
73
|
"sideEffects": false
|
|
75
74
|
}
|
|
@@ -136,15 +136,6 @@
|
|
|
136
136
|
padding: 0;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.e-outline.e-multiselect.e-input-group.e-checkbox .e-multi-select-wrapper input[type=text] {
|
|
140
|
-
padding: 0 8px 0 9px;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.e-outline.e-multiselect.e-input-group .e-multi-select-wrapper .e-multiselect-box input[type=text],
|
|
144
|
-
.e-outline.e-multiselect.e-input-group.e-input-focus .e-multi-select-wrapper .e-searcher:not(.e-zero-size) input[type=text] {
|
|
145
|
-
padding: 0 8px 0 9px;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
139
|
/* stylelint-disable property-no-vendor-prefix */
|
|
149
140
|
@-webkit-keyframes material-spinner-rotate {
|
|
150
141
|
0% {
|
package/styles/material-lite.css
CHANGED
|
@@ -136,15 +136,6 @@
|
|
|
136
136
|
padding: 0;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.e-outline.e-multiselect.e-input-group.e-checkbox .e-multi-select-wrapper input[type=text] {
|
|
140
|
-
padding: 0 8px 0 9px;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.e-outline.e-multiselect.e-input-group .e-multi-select-wrapper .e-multiselect-box input[type=text],
|
|
144
|
-
.e-outline.e-multiselect.e-input-group.e-input-focus .e-multi-select-wrapper .e-searcher:not(.e-zero-size) input[type=text] {
|
|
145
|
-
padding: 0 8px 0 9px;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
139
|
/* stylelint-disable property-no-vendor-prefix */
|
|
149
140
|
@-webkit-keyframes material-spinner-rotate {
|
|
150
141
|
0% {
|
package/styles/material.css
CHANGED
|
@@ -136,15 +136,6 @@
|
|
|
136
136
|
padding: 0;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.e-outline.e-multiselect.e-input-group.e-checkbox .e-multi-select-wrapper input[type=text] {
|
|
140
|
-
padding: 0 8px 0 9px;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.e-outline.e-multiselect.e-input-group .e-multi-select-wrapper .e-multiselect-box input[type=text],
|
|
144
|
-
.e-outline.e-multiselect.e-input-group.e-input-focus .e-multi-select-wrapper .e-searcher:not(.e-zero-size) input[type=text] {
|
|
145
|
-
padding: 0 8px 0 9px;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
139
|
/* stylelint-disable property-no-vendor-prefix */
|
|
149
140
|
@-webkit-keyframes material-spinner-rotate {
|
|
150
141
|
0% {
|