@syncfusion/ej2-angular-inplace-editor 20.2.38 → 20.2.43-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 +275 -0
- package/@syncfusion/ej2-angular-inplace-editor.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-inplace-editor.js +256 -0
- package/@syncfusion/ej2-angular-inplace-editor.js.map +1 -0
- package/CHANGELOG.md +246 -0
- package/dist/ej2-angular-inplace-editor.umd.js +350 -0
- package/dist/ej2-angular-inplace-editor.umd.js.map +1 -0
- package/dist/ej2-angular-inplace-editor.umd.min.js +11 -0
- package/dist/ej2-angular-inplace-editor.umd.min.js.map +1 -0
- package/ej2-angular-inplace-editor.d.ts +5 -0
- package/ej2-angular-inplace-editor.metadata.json +1 -0
- package/package.json +15 -29
- package/postinstall/tagchange.js +18 -0
- package/schematics/collection.json +35 -0
- package/schematics/generators/inplaceeditor-inline/index.d.ts +3 -0
- package/schematics/generators/inplaceeditor-inline/index.js +8 -0
- package/schematics/generators/inplaceeditor-inline/sample-details.d.ts +5 -0
- package/schematics/generators/inplaceeditor-inline/sample-details.js +7 -0
- package/schematics/generators/inplaceeditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/inplaceeditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
- package/schematics/generators/inplaceeditor-inline/schema.d.ts +3 -0
- package/schematics/generators/inplaceeditor-inline/schema.js +2 -0
- package/schematics/generators/inplaceeditor-inline/schema.json +125 -0
- package/schematics/generators/inplaceeditor-popup/index.d.ts +3 -0
- package/schematics/generators/inplaceeditor-popup/index.js +8 -0
- package/schematics/generators/inplaceeditor-popup/sample-details.d.ts +5 -0
- package/schematics/generators/inplaceeditor-popup/sample-details.js +7 -0
- package/schematics/generators/inplaceeditor-popup/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/inplaceeditor-popup/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
- package/schematics/generators/inplaceeditor-popup/schema.d.ts +3 -0
- package/schematics/generators/inplaceeditor-popup/schema.js +2 -0
- package/schematics/generators/inplaceeditor-popup/schema.json +125 -0
- package/schematics/generators/inplaceeditor-popup-position/index.d.ts +3 -0
- package/schematics/generators/inplaceeditor-popup-position/index.js +8 -0
- package/schematics/generators/inplaceeditor-popup-position/sample-details.d.ts +5 -0
- package/schematics/generators/inplaceeditor-popup-position/sample-details.js +7 -0
- package/schematics/generators/inplaceeditor-popup-position/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/inplaceeditor-popup-position/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
- package/schematics/generators/inplaceeditor-popup-position/schema.d.ts +3 -0
- package/schematics/generators/inplaceeditor-popup-position/schema.js +2 -0
- package/schematics/generators/inplaceeditor-popup-position/schema.json +125 -0
- package/schematics/generators/inplaceeditor-template/index.d.ts +3 -0
- package/schematics/generators/inplaceeditor-template/index.js +8 -0
- package/schematics/generators/inplaceeditor-template/sample-details.d.ts +5 -0
- package/schematics/generators/inplaceeditor-template/sample-details.js +7 -0
- package/schematics/generators/inplaceeditor-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/inplaceeditor-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
- package/schematics/generators/inplaceeditor-template/schema.d.ts +3 -0
- package/schematics/generators/inplaceeditor-template/schema.js +2 -0
- package/schematics/generators/inplaceeditor-template/schema.json +125 -0
- package/schematics/generators/inplaceeditor-validation/index.d.ts +3 -0
- package/schematics/generators/inplaceeditor-validation/index.js +8 -0
- package/schematics/generators/inplaceeditor-validation/sample-details.d.ts +5 -0
- package/schematics/generators/inplaceeditor-validation/sample-details.js +7 -0
- package/schematics/generators/inplaceeditor-validation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/inplaceeditor-validation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
- package/schematics/generators/inplaceeditor-validation/schema.d.ts +3 -0
- package/schematics/generators/inplaceeditor-validation/schema.js +2 -0
- package/schematics/generators/inplaceeditor-validation/schema.json +125 -0
- package/schematics/ng-add/index.d.ts +3 -0
- package/schematics/ng-add/index.js +9 -0
- package/schematics/ng-add/schema.d.ts +13 -0
- package/schematics/ng-add/schema.js +2 -0
- package/schematics/ng-add/schema.json +34 -0
- package/schematics/tsconfig.json +25 -0
- package/schematics/utils/lib-details.d.ts +4 -0
- package/schematics/utils/lib-details.js +6 -0
- package/schematics/utils/lib-details.ts +2 -2
- package/src/inplace-editor/inplaceeditor-all.module.d.ts +0 -6
- package/src/inplace-editor/inplaceeditor.component.d.ts +0 -3
- package/src/inplace-editor/inplaceeditor.module.d.ts +0 -6
- package/styles/inplace-editor/bootstrap-dark.scss +1 -26
- package/styles/inplace-editor/bootstrap.scss +1 -26
- package/styles/inplace-editor/bootstrap4.scss +1 -26
- package/styles/inplace-editor/bootstrap5-dark.scss +1 -26
- package/styles/inplace-editor/bootstrap5.scss +1 -26
- package/styles/inplace-editor/fabric-dark.scss +1 -26
- package/styles/inplace-editor/fabric.scss +1 -26
- package/styles/inplace-editor/fluent-dark.scss +1 -26
- package/styles/inplace-editor/fluent.scss +1 -26
- package/styles/inplace-editor/highcontrast-light.scss +1 -26
- package/styles/inplace-editor/highcontrast.scss +1 -26
- package/styles/inplace-editor/material-dark.scss +1 -26
- package/styles/inplace-editor/material.scss +1 -26
- package/styles/inplace-editor/tailwind-dark.scss +1 -26
- package/styles/inplace-editor/tailwind.scss +1 -26
- package/esm2020/public_api.mjs +0 -3
- package/esm2020/src/index.mjs +0 -5
- package/esm2020/src/inplace-editor/inplaceeditor-all.module.mjs +0 -50
- package/esm2020/src/inplace-editor/inplaceeditor.component.mjs +0 -146
- package/esm2020/src/inplace-editor/inplaceeditor.module.mjs +0 -25
- package/esm2020/syncfusion-ej2-angular-inplace-editor.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-inplace-editor.mjs +0 -221
- package/fesm2015/syncfusion-ej2-angular-inplace-editor.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-inplace-editor.mjs +0 -221
- package/fesm2020/syncfusion-ej2-angular-inplace-editor.mjs.map +0 -1
- package/styles/inplace-editor/_all.scss +0 -2
- package/styles/inplace-editor/_bootstrap-dark-definition.scss +0 -75
- package/styles/inplace-editor/_bootstrap-definition.scss +0 -76
- package/styles/inplace-editor/_bootstrap4-definition.scss +0 -76
- package/styles/inplace-editor/_bootstrap5-dark-definition.scss +0 -1
- package/styles/inplace-editor/_bootstrap5-definition.scss +0 -68
- package/styles/inplace-editor/_fabric-dark-definition.scss +0 -75
- package/styles/inplace-editor/_fabric-definition.scss +0 -76
- package/styles/inplace-editor/_fluent-dark-definition.scss +0 -1
- package/styles/inplace-editor/_fluent-definition.scss +0 -69
- package/styles/inplace-editor/_fusionnew-definition.scss +0 -68
- package/styles/inplace-editor/_highcontrast-definition.scss +0 -75
- package/styles/inplace-editor/_highcontrast-light-definition.scss +0 -75
- package/styles/inplace-editor/_layout.scss +0 -659
- package/styles/inplace-editor/_material-dark-definition.scss +0 -76
- package/styles/inplace-editor/_material-definition.scss +0 -76
- package/styles/inplace-editor/_material3-definition.scss +0 -68
- package/styles/inplace-editor/_tailwind-dark-definition.scss +0 -1
- package/styles/inplace-editor/_tailwind-definition.scss +0 -69
- package/styles/inplace-editor/_theme.scss +0 -250
- package/styles/inplace-editor/icons/_bootstrap-dark.scss +0 -19
- package/styles/inplace-editor/icons/_bootstrap.scss +0 -19
- package/styles/inplace-editor/icons/_bootstrap4.scss +0 -19
- package/styles/inplace-editor/icons/_bootstrap5-dark.scss +0 -1
- package/styles/inplace-editor/icons/_bootstrap5.scss +0 -19
- package/styles/inplace-editor/icons/_fabric-dark.scss +0 -19
- package/styles/inplace-editor/icons/_fabric.scss +0 -19
- package/styles/inplace-editor/icons/_fluent-dark.scss +0 -1
- package/styles/inplace-editor/icons/_fluent.scss +0 -19
- package/styles/inplace-editor/icons/_fusionnew.scss +0 -19
- package/styles/inplace-editor/icons/_highcontrast-light.scss +0 -19
- package/styles/inplace-editor/icons/_highcontrast.scss +0 -19
- package/styles/inplace-editor/icons/_material-dark.scss +0 -19
- package/styles/inplace-editor/icons/_material.scss +0 -19
- package/styles/inplace-editor/icons/_material3.scss +0 -19
- package/styles/inplace-editor/icons/_tailwind-dark.scss +0 -1
- package/styles/inplace-editor/icons/_tailwind.scss +0 -19
- package/syncfusion-ej2-angular-inplace-editor.d.ts +0 -5
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "inplaceeditor-popup-position",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "path",
|
|
10
|
+
"description": "The path to create the component.",
|
|
11
|
+
"visible": false
|
|
12
|
+
},
|
|
13
|
+
"project": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "The name of the project.",
|
|
16
|
+
"$default": {
|
|
17
|
+
"$source": "projectName"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "The name of the component.",
|
|
23
|
+
"$default": {
|
|
24
|
+
"$source": "argv",
|
|
25
|
+
"index": 0
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"inlineStyle": {
|
|
29
|
+
"description": "Specifies if the style will be in the ts file.",
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false,
|
|
32
|
+
"alias": "s"
|
|
33
|
+
},
|
|
34
|
+
"inlineTemplate": {
|
|
35
|
+
"description": "Specifies if the template will be in the ts file.",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": false,
|
|
38
|
+
"alias": "t"
|
|
39
|
+
},
|
|
40
|
+
"viewEncapsulation": {
|
|
41
|
+
"description": "Specifies the view encapsulation strategy.",
|
|
42
|
+
"enum": [
|
|
43
|
+
"Emulated",
|
|
44
|
+
"Native",
|
|
45
|
+
"None",
|
|
46
|
+
"ShadowDom"
|
|
47
|
+
],
|
|
48
|
+
"type": "string",
|
|
49
|
+
"alias": "v"
|
|
50
|
+
},
|
|
51
|
+
"changeDetection": {
|
|
52
|
+
"description": "Specifies the change detection strategy.",
|
|
53
|
+
"enum": [
|
|
54
|
+
"Default",
|
|
55
|
+
"OnPush"
|
|
56
|
+
],
|
|
57
|
+
"type": "string",
|
|
58
|
+
"default": "Default",
|
|
59
|
+
"alias": "c"
|
|
60
|
+
},
|
|
61
|
+
"prefix": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "The prefix to apply to generated selectors.",
|
|
64
|
+
"alias": "p",
|
|
65
|
+
"oneOf": [
|
|
66
|
+
{
|
|
67
|
+
"maxLength": 0
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"minLength": 1,
|
|
71
|
+
"format": "html-selector"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"styleext": {
|
|
76
|
+
"description": "The file extension to be used for style files.",
|
|
77
|
+
"type": "string",
|
|
78
|
+
"default": "css"
|
|
79
|
+
},
|
|
80
|
+
"spec": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"description": "Specifies if a spec file is generated.",
|
|
83
|
+
"default": true
|
|
84
|
+
},
|
|
85
|
+
"flat": {
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"description": "Flag to indicate if a dir is created.",
|
|
88
|
+
"default": false
|
|
89
|
+
},
|
|
90
|
+
"skipImport": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"description": "Flag to skip the module import.",
|
|
93
|
+
"default": false
|
|
94
|
+
},
|
|
95
|
+
"selector": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"format": "html-selector",
|
|
98
|
+
"description": "The selector to use for the component."
|
|
99
|
+
},
|
|
100
|
+
"module": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "Allows specification of the declaring module.",
|
|
103
|
+
"alias": "m"
|
|
104
|
+
},
|
|
105
|
+
"export": {
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"default": false,
|
|
108
|
+
"description": "Specifies if declaring module exports the component."
|
|
109
|
+
},
|
|
110
|
+
"entryComponent": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": false,
|
|
113
|
+
"description": "Specifies if the component is an entry component of declaring module."
|
|
114
|
+
},
|
|
115
|
+
"lintFix": {
|
|
116
|
+
"type": "boolean",
|
|
117
|
+
"default": false,
|
|
118
|
+
"description": "Specifies whether to apply lint fixes after generating the component."
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"name"
|
|
123
|
+
],
|
|
124
|
+
"id": "inplaceeditor-popup-position"
|
|
125
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
4
|
+
const sampleDetails = require("./sample-details");
|
|
5
|
+
function default_1(options) {
|
|
6
|
+
return schematics_1.componentBuilder(options, sampleDetails);
|
|
7
|
+
}
|
|
8
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.componentName = 'inplaceeditor';
|
|
4
|
+
exports.sampleName = 'template';
|
|
5
|
+
exports.diModules = null;
|
|
6
|
+
exports.packageName = '@syncfusion/ej2-angular-inplace-editor';
|
|
7
|
+
exports.libModules = 'InPlaceEditorModule';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<div class="container">
|
|
2
|
+
Select Date:
|
|
3
|
+
<ejs-inplaceeditor #editor mode="Inline" emptyText='mm/dd/yyyy' (actionBegin)='onActionBegin($event)'>
|
|
4
|
+
<ng-template #template>
|
|
5
|
+
<input id="date" value="2018-05-23" type="date">
|
|
6
|
+
</ng-template>
|
|
7
|
+
</ejs-inplaceeditor>
|
|
8
|
+
</div>
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "inplaceeditor-template",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "path",
|
|
10
|
+
"description": "The path to create the component.",
|
|
11
|
+
"visible": false
|
|
12
|
+
},
|
|
13
|
+
"project": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "The name of the project.",
|
|
16
|
+
"$default": {
|
|
17
|
+
"$source": "projectName"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "The name of the component.",
|
|
23
|
+
"$default": {
|
|
24
|
+
"$source": "argv",
|
|
25
|
+
"index": 0
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"inlineStyle": {
|
|
29
|
+
"description": "Specifies if the style will be in the ts file.",
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false,
|
|
32
|
+
"alias": "s"
|
|
33
|
+
},
|
|
34
|
+
"inlineTemplate": {
|
|
35
|
+
"description": "Specifies if the template will be in the ts file.",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": false,
|
|
38
|
+
"alias": "t"
|
|
39
|
+
},
|
|
40
|
+
"viewEncapsulation": {
|
|
41
|
+
"description": "Specifies the view encapsulation strategy.",
|
|
42
|
+
"enum": [
|
|
43
|
+
"Emulated",
|
|
44
|
+
"Native",
|
|
45
|
+
"None",
|
|
46
|
+
"ShadowDom"
|
|
47
|
+
],
|
|
48
|
+
"type": "string",
|
|
49
|
+
"alias": "v"
|
|
50
|
+
},
|
|
51
|
+
"changeDetection": {
|
|
52
|
+
"description": "Specifies the change detection strategy.",
|
|
53
|
+
"enum": [
|
|
54
|
+
"Default",
|
|
55
|
+
"OnPush"
|
|
56
|
+
],
|
|
57
|
+
"type": "string",
|
|
58
|
+
"default": "Default",
|
|
59
|
+
"alias": "c"
|
|
60
|
+
},
|
|
61
|
+
"prefix": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "The prefix to apply to generated selectors.",
|
|
64
|
+
"alias": "p",
|
|
65
|
+
"oneOf": [
|
|
66
|
+
{
|
|
67
|
+
"maxLength": 0
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"minLength": 1,
|
|
71
|
+
"format": "html-selector"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"styleext": {
|
|
76
|
+
"description": "The file extension to be used for style files.",
|
|
77
|
+
"type": "string",
|
|
78
|
+
"default": "css"
|
|
79
|
+
},
|
|
80
|
+
"spec": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"description": "Specifies if a spec file is generated.",
|
|
83
|
+
"default": true
|
|
84
|
+
},
|
|
85
|
+
"flat": {
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"description": "Flag to indicate if a dir is created.",
|
|
88
|
+
"default": false
|
|
89
|
+
},
|
|
90
|
+
"skipImport": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"description": "Flag to skip the module import.",
|
|
93
|
+
"default": false
|
|
94
|
+
},
|
|
95
|
+
"selector": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"format": "html-selector",
|
|
98
|
+
"description": "The selector to use for the component."
|
|
99
|
+
},
|
|
100
|
+
"module": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "Allows specification of the declaring module.",
|
|
103
|
+
"alias": "m"
|
|
104
|
+
},
|
|
105
|
+
"export": {
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"default": false,
|
|
108
|
+
"description": "Specifies if declaring module exports the component."
|
|
109
|
+
},
|
|
110
|
+
"entryComponent": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": false,
|
|
113
|
+
"description": "Specifies if the component is an entry component of declaring module."
|
|
114
|
+
},
|
|
115
|
+
"lintFix": {
|
|
116
|
+
"type": "boolean",
|
|
117
|
+
"default": false,
|
|
118
|
+
"description": "Specifies whether to apply lint fixes after generating the component."
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"name"
|
|
123
|
+
],
|
|
124
|
+
"id": "inplaceeditor-template"
|
|
125
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
4
|
+
const sampleDetails = require("./sample-details");
|
|
5
|
+
function default_1(options) {
|
|
6
|
+
return schematics_1.componentBuilder(options, sampleDetails);
|
|
7
|
+
}
|
|
8
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.componentName = 'inplaceeditor';
|
|
4
|
+
exports.sampleName = 'validation';
|
|
5
|
+
exports.diModules = null;
|
|
6
|
+
exports.packageName = '@syncfusion/ej2-angular-inplace-editor';
|
|
7
|
+
exports.libModules = 'InPlaceEditorModule';
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "inplaceeditor-validation",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "path",
|
|
10
|
+
"description": "The path to create the component.",
|
|
11
|
+
"visible": false
|
|
12
|
+
},
|
|
13
|
+
"project": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "The name of the project.",
|
|
16
|
+
"$default": {
|
|
17
|
+
"$source": "projectName"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "The name of the component.",
|
|
23
|
+
"$default": {
|
|
24
|
+
"$source": "argv",
|
|
25
|
+
"index": 0
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"inlineStyle": {
|
|
29
|
+
"description": "Specifies if the style will be in the ts file.",
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false,
|
|
32
|
+
"alias": "s"
|
|
33
|
+
},
|
|
34
|
+
"inlineTemplate": {
|
|
35
|
+
"description": "Specifies if the template will be in the ts file.",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": false,
|
|
38
|
+
"alias": "t"
|
|
39
|
+
},
|
|
40
|
+
"viewEncapsulation": {
|
|
41
|
+
"description": "Specifies the view encapsulation strategy.",
|
|
42
|
+
"enum": [
|
|
43
|
+
"Emulated",
|
|
44
|
+
"Native",
|
|
45
|
+
"None",
|
|
46
|
+
"ShadowDom"
|
|
47
|
+
],
|
|
48
|
+
"type": "string",
|
|
49
|
+
"alias": "v"
|
|
50
|
+
},
|
|
51
|
+
"changeDetection": {
|
|
52
|
+
"description": "Specifies the change detection strategy.",
|
|
53
|
+
"enum": [
|
|
54
|
+
"Default",
|
|
55
|
+
"OnPush"
|
|
56
|
+
],
|
|
57
|
+
"type": "string",
|
|
58
|
+
"default": "Default",
|
|
59
|
+
"alias": "c"
|
|
60
|
+
},
|
|
61
|
+
"prefix": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "The prefix to apply to generated selectors.",
|
|
64
|
+
"alias": "p",
|
|
65
|
+
"oneOf": [
|
|
66
|
+
{
|
|
67
|
+
"maxLength": 0
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"minLength": 1,
|
|
71
|
+
"format": "html-selector"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"styleext": {
|
|
76
|
+
"description": "The file extension to be used for style files.",
|
|
77
|
+
"type": "string",
|
|
78
|
+
"default": "css"
|
|
79
|
+
},
|
|
80
|
+
"spec": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"description": "Specifies if a spec file is generated.",
|
|
83
|
+
"default": true
|
|
84
|
+
},
|
|
85
|
+
"flat": {
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"description": "Flag to indicate if a dir is created.",
|
|
88
|
+
"default": false
|
|
89
|
+
},
|
|
90
|
+
"skipImport": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"description": "Flag to skip the module import.",
|
|
93
|
+
"default": false
|
|
94
|
+
},
|
|
95
|
+
"selector": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"format": "html-selector",
|
|
98
|
+
"description": "The selector to use for the component."
|
|
99
|
+
},
|
|
100
|
+
"module": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "Allows specification of the declaring module.",
|
|
103
|
+
"alias": "m"
|
|
104
|
+
},
|
|
105
|
+
"export": {
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"default": false,
|
|
108
|
+
"description": "Specifies if declaring module exports the component."
|
|
109
|
+
},
|
|
110
|
+
"entryComponent": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": false,
|
|
113
|
+
"description": "Specifies if the component is an entry component of declaring module."
|
|
114
|
+
},
|
|
115
|
+
"lintFix": {
|
|
116
|
+
"type": "boolean",
|
|
117
|
+
"default": false,
|
|
118
|
+
"description": "Specifies whether to apply lint fixes after generating the component."
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"name"
|
|
123
|
+
],
|
|
124
|
+
"id": "inplaceeditor-validation"
|
|
125
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const lib_details_1 = require("./../utils/lib-details");
|
|
4
|
+
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
5
|
+
function default_1(options) {
|
|
6
|
+
const libOptions = Object.assign({}, { 'pkgName': lib_details_1.pkgName, 'pkgVer': lib_details_1.pkgVer, 'moduleName': lib_details_1.moduleName, 'themeVer': lib_details_1.themeVer });
|
|
7
|
+
return schematics_1.install(options, libOptions);
|
|
8
|
+
}
|
|
9
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface OptionsSchema {
|
|
2
|
+
skipPackageJson: boolean;
|
|
3
|
+
modules: string;
|
|
4
|
+
modulePath: string;
|
|
5
|
+
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
|
6
|
+
project?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface LibOptionsSchema {
|
|
9
|
+
pkgName: string;
|
|
10
|
+
pkgVer: string;
|
|
11
|
+
moduleName: string;
|
|
12
|
+
themeVer: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "ngAdd",
|
|
4
|
+
"title": "Add Essential JS 2 Angular packages",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"skipPackageJson": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"default": false,
|
|
10
|
+
"description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
|
|
11
|
+
},
|
|
12
|
+
"modules": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"default": "",
|
|
15
|
+
"description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
|
|
16
|
+
},
|
|
17
|
+
"modulePath": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"default": "",
|
|
20
|
+
"description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
|
|
21
|
+
},
|
|
22
|
+
"theme": {
|
|
23
|
+
"enum": [
|
|
24
|
+
"material",
|
|
25
|
+
"fabric",
|
|
26
|
+
"bootstrap",
|
|
27
|
+
"highcontrast"
|
|
28
|
+
],
|
|
29
|
+
"default": "material",
|
|
30
|
+
"description": "Used to change the theme that needs to be imported"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": []
|
|
34
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["es2017", "dom"],
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"moduleResolution": "node",
|
|
6
|
+
"noEmitOnError": false,
|
|
7
|
+
"skipDefaultLibCheck": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"target": "es6",
|
|
11
|
+
"declaration": true,
|
|
12
|
+
"types": [
|
|
13
|
+
"jasmine",
|
|
14
|
+
"node"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"exclude": [
|
|
18
|
+
"node_modules",
|
|
19
|
+
"src",
|
|
20
|
+
"src/**/*.ts",
|
|
21
|
+
"spec",
|
|
22
|
+
"spec/**/*.ts",
|
|
23
|
+
"@typings"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { ValueProvider } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "./inplaceeditor.module";
|
|
5
2
|
export declare const AutoCompleteService: ValueProvider;
|
|
6
3
|
export declare const ColorPickerService: ValueProvider;
|
|
7
4
|
export declare const ComboBoxService: ValueProvider;
|
|
@@ -14,7 +11,4 @@ export declare const TimePickerService: ValueProvider;
|
|
|
14
11
|
* NgModule definition for the InPlaceEditor component with providers.
|
|
15
12
|
*/
|
|
16
13
|
export declare class InPlaceEditorAllModule {
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InPlaceEditorAllModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InPlaceEditorAllModule, never, [typeof i1.CommonModule, typeof i2.InPlaceEditorModule], [typeof i2.InPlaceEditorModule]>;
|
|
19
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<InPlaceEditorAllModule>;
|
|
20
14
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ElementRef, ViewContainerRef, Renderer2, Injector } from '@angular/core';
|
|
2
2
|
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
3
|
import { InPlaceEditor } from '@syncfusion/ej2-inplace-editor';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
4
|
export declare const inputs: string[];
|
|
6
5
|
export declare const outputs: string[];
|
|
7
6
|
export declare const twoWays: string[];
|
|
@@ -54,6 +53,4 @@ export declare class InPlaceEditorComponent extends InPlaceEditor implements ICo
|
|
|
54
53
|
ngAfterContentChecked(): void;
|
|
55
54
|
registerEvents: (eventList: string[]) => void;
|
|
56
55
|
addTwoWay: (propList: string[]) => void;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InPlaceEditorComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InPlaceEditorComponent, "ejs-inplaceeditor", never, { "actionOnBlur": "actionOnBlur"; "adaptor": "adaptor"; "cancelButton": "cancelButton"; "cssClass": "cssClass"; "disabled": "disabled"; "editableOn": "editableOn"; "emptyText": "emptyText"; "enableEditMode": "enableEditMode"; "enableHtmlParse": "enableHtmlParse"; "enableHtmlSanitizer": "enableHtmlSanitizer"; "enablePersistence": "enablePersistence"; "enableRtl": "enableRtl"; "locale": "locale"; "mode": "mode"; "model": "model"; "name": "name"; "popupSettings": "popupSettings"; "primaryKey": "primaryKey"; "saveButton": "saveButton"; "showButtons": "showButtons"; "submitOnEnter": "submitOnEnter"; "template": "template"; "textOption": "textOption"; "type": "type"; "url": "url"; "validationRules": "validationRules"; "value": "value"; }, { "focus": "focus"; "blur": "blur"; "actionBegin": "actionBegin"; "actionFailure": "actionFailure"; "actionSuccess": "actionSuccess"; "beforeSanitizeHtml": "beforeSanitizeHtml"; "beginEdit": "beginEdit"; "cancelClick": "cancelClick"; "change": "change"; "created": "created"; "destroyed": "destroyed"; "endEdit": "endEdit"; "submitClick": "submitClick"; "validating": "validating"; "valueChange": "valueChange"; }, ["template"], never>;
|
|
59
56
|
}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./inplaceeditor.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
1
|
/**
|
|
5
2
|
* NgModule definition for the InPlaceEditor component.
|
|
6
3
|
*/
|
|
7
4
|
export declare class InPlaceEditorModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InPlaceEditorModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InPlaceEditorModule, [typeof i1.InPlaceEditorComponent], [typeof i2.CommonModule], [typeof i1.InPlaceEditorComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<InPlaceEditorModule>;
|
|
11
5
|
}
|