@syncfusion/ej2-angular-inplace-editor 34.2.8-ngcc → 35.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.
Files changed (222) hide show
  1. package/CHANGELOG.md +262 -0
  2. package/README.md +14 -0
  3. package/fesm2022/syncfusion-ej2-angular-inplace-editor.mjs +224 -0
  4. package/fesm2022/syncfusion-ej2-angular-inplace-editor.mjs.map +1 -0
  5. package/package.json +16 -10
  6. package/schematics/collection.json +34 -10
  7. package/schematics/generators/inplaceeditor-inline/index.d.ts +3 -0
  8. package/schematics/generators/inplaceeditor-inline/index.js +5 -0
  9. package/schematics/generators/inplaceeditor-inline/index.ts +8 -0
  10. package/schematics/generators/inplaceeditor-inline/sample-details.d.ts +5 -0
  11. package/schematics/generators/inplaceeditor-inline/sample-details.js +5 -0
  12. package/schematics/generators/inplaceeditor-inline/sample-details.ts +5 -0
  13. package/schematics/generators/inplaceeditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  14. package/schematics/generators/inplaceeditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
  15. package/schematics/generators/inplaceeditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +11 -0
  16. package/schematics/generators/inplaceeditor-inline/schema.d.ts +3 -0
  17. package/schematics/generators/inplaceeditor-inline/schema.js +1 -0
  18. package/schematics/generators/inplaceeditor-inline/schema.json +125 -0
  19. package/schematics/generators/inplaceeditor-inline/schema.ts +3 -0
  20. package/schematics/generators/inplaceeditor-popup/index.d.ts +3 -0
  21. package/schematics/generators/inplaceeditor-popup/index.js +5 -0
  22. package/schematics/generators/inplaceeditor-popup/index.ts +8 -0
  23. package/schematics/generators/inplaceeditor-popup/sample-details.d.ts +5 -0
  24. package/schematics/generators/inplaceeditor-popup/sample-details.js +5 -0
  25. package/schematics/generators/inplaceeditor-popup/sample-details.ts +5 -0
  26. package/schematics/generators/inplaceeditor-popup/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  27. package/schematics/generators/inplaceeditor-popup/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
  28. package/schematics/generators/inplaceeditor-popup/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +11 -0
  29. package/schematics/generators/inplaceeditor-popup/schema.d.ts +3 -0
  30. package/schematics/generators/inplaceeditor-popup/schema.js +1 -0
  31. package/schematics/generators/inplaceeditor-popup/schema.json +125 -0
  32. package/schematics/generators/inplaceeditor-popup/schema.ts +3 -0
  33. package/schematics/generators/inplaceeditor-popup-position/index.d.ts +3 -0
  34. package/schematics/generators/inplaceeditor-popup-position/index.js +5 -0
  35. package/schematics/generators/inplaceeditor-popup-position/index.ts +8 -0
  36. package/schematics/generators/inplaceeditor-popup-position/sample-details.d.ts +5 -0
  37. package/schematics/generators/inplaceeditor-popup-position/sample-details.js +5 -0
  38. package/schematics/generators/inplaceeditor-popup-position/sample-details.ts +5 -0
  39. package/schematics/generators/inplaceeditor-popup-position/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  40. package/schematics/generators/inplaceeditor-popup-position/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
  41. package/schematics/generators/inplaceeditor-popup-position/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +17 -0
  42. package/schematics/generators/inplaceeditor-popup-position/schema.d.ts +3 -0
  43. package/schematics/generators/inplaceeditor-popup-position/schema.js +1 -0
  44. package/schematics/generators/inplaceeditor-popup-position/schema.json +125 -0
  45. package/schematics/generators/inplaceeditor-popup-position/schema.ts +3 -0
  46. package/schematics/generators/inplaceeditor-template/index.d.ts +3 -0
  47. package/schematics/generators/inplaceeditor-template/index.js +5 -0
  48. package/schematics/generators/inplaceeditor-template/index.ts +8 -0
  49. package/schematics/generators/inplaceeditor-template/sample-details.d.ts +5 -0
  50. package/schematics/generators/inplaceeditor-template/sample-details.js +5 -0
  51. package/schematics/generators/inplaceeditor-template/sample-details.ts +5 -0
  52. package/schematics/generators/inplaceeditor-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  53. package/schematics/generators/inplaceeditor-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +8 -0
  54. package/schematics/generators/inplaceeditor-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +20 -0
  55. package/schematics/generators/inplaceeditor-template/schema.d.ts +3 -0
  56. package/schematics/generators/inplaceeditor-template/schema.js +1 -0
  57. package/schematics/generators/inplaceeditor-template/schema.json +125 -0
  58. package/schematics/generators/inplaceeditor-template/schema.ts +3 -0
  59. package/schematics/generators/inplaceeditor-validation/index.d.ts +3 -0
  60. package/schematics/generators/inplaceeditor-validation/index.js +5 -0
  61. package/schematics/generators/inplaceeditor-validation/index.ts +8 -0
  62. package/schematics/generators/inplaceeditor-validation/sample-details.d.ts +5 -0
  63. package/schematics/generators/inplaceeditor-validation/sample-details.js +5 -0
  64. package/schematics/generators/inplaceeditor-validation/sample-details.ts +5 -0
  65. package/schematics/generators/inplaceeditor-validation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  66. package/schematics/generators/inplaceeditor-validation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
  67. package/schematics/generators/inplaceeditor-validation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +16 -0
  68. package/schematics/generators/inplaceeditor-validation/schema.d.ts +3 -0
  69. package/schematics/generators/inplaceeditor-validation/schema.js +1 -0
  70. package/schematics/generators/inplaceeditor-validation/schema.json +125 -0
  71. package/schematics/generators/inplaceeditor-validation/schema.ts +3 -0
  72. package/schematics/ng-add/index.js +5 -8
  73. package/schematics/ng-add/index.ts +10 -10
  74. package/schematics/ng-add/schema.js +1 -2
  75. package/schematics/ng-add/schema.json +34 -34
  76. package/schematics/ng-add/schema.ts +30 -30
  77. package/schematics/tsconfig.json +33 -25
  78. package/schematics/utils/lib-details.js +4 -6
  79. package/schematics/utils/lib-details.ts +4 -4
  80. package/types/syncfusion-ej2-angular-inplace-editor.d.ts +81 -0
  81. package/@syncfusion/ej2-angular-inplace-editor.es5.js +0 -279
  82. package/@syncfusion/ej2-angular-inplace-editor.es5.js.map +0 -1
  83. package/@syncfusion/ej2-angular-inplace-editor.js +0 -260
  84. package/@syncfusion/ej2-angular-inplace-editor.js.map +0 -1
  85. package/LICENSE +0 -10
  86. package/dist/ej2-angular-inplace-editor.umd.js +0 -354
  87. package/dist/ej2-angular-inplace-editor.umd.js.map +0 -1
  88. package/dist/ej2-angular-inplace-editor.umd.min.js +0 -11
  89. package/dist/ej2-angular-inplace-editor.umd.min.js.map +0 -1
  90. package/ej2-angular-inplace-editor.d.ts +0 -5
  91. package/ej2-angular-inplace-editor.metadata.json +0 -1
  92. package/public_api.d.ts +0 -1
  93. package/src/index.d.ts +0 -4
  94. package/src/inplace-editor/inplaceeditor-all.module.d.ts +0 -14
  95. package/src/inplace-editor/inplaceeditor.component.d.ts +0 -58
  96. package/src/inplace-editor/inplaceeditor.module.d.ts +0 -5
  97. package/styles/bds-lite.css +0 -1
  98. package/styles/bds-lite.scss +0 -1
  99. package/styles/bds.css +0 -1
  100. package/styles/bds.scss +0 -1
  101. package/styles/bootstrap-dark-lite.css +0 -1
  102. package/styles/bootstrap-dark-lite.scss +0 -1
  103. package/styles/bootstrap-dark.css +0 -1
  104. package/styles/bootstrap-dark.scss +0 -1
  105. package/styles/bootstrap-lite.css +0 -1
  106. package/styles/bootstrap-lite.scss +0 -1
  107. package/styles/bootstrap.css +0 -1
  108. package/styles/bootstrap.scss +0 -1
  109. package/styles/bootstrap4-lite.css +0 -1
  110. package/styles/bootstrap4-lite.scss +0 -1
  111. package/styles/bootstrap4.css +0 -1
  112. package/styles/bootstrap4.scss +0 -1
  113. package/styles/bootstrap5-dark-lite.css +0 -1
  114. package/styles/bootstrap5-dark-lite.scss +0 -1
  115. package/styles/bootstrap5-dark.css +0 -1
  116. package/styles/bootstrap5-dark.scss +0 -1
  117. package/styles/bootstrap5-lite.css +0 -1
  118. package/styles/bootstrap5-lite.scss +0 -1
  119. package/styles/bootstrap5.3-lite.css +0 -1
  120. package/styles/bootstrap5.3-lite.scss +0 -1
  121. package/styles/bootstrap5.3.css +0 -1
  122. package/styles/bootstrap5.3.scss +0 -1
  123. package/styles/bootstrap5.css +0 -1
  124. package/styles/bootstrap5.scss +0 -1
  125. package/styles/fabric-dark-lite.css +0 -1
  126. package/styles/fabric-dark-lite.scss +0 -1
  127. package/styles/fabric-dark.css +0 -1
  128. package/styles/fabric-dark.scss +0 -1
  129. package/styles/fabric-lite.css +0 -1
  130. package/styles/fabric-lite.scss +0 -1
  131. package/styles/fabric.css +0 -1
  132. package/styles/fabric.scss +0 -1
  133. package/styles/fluent-dark-lite.css +0 -1
  134. package/styles/fluent-dark-lite.scss +0 -1
  135. package/styles/fluent-dark.css +0 -1
  136. package/styles/fluent-dark.scss +0 -1
  137. package/styles/fluent-lite.css +0 -1
  138. package/styles/fluent-lite.scss +0 -1
  139. package/styles/fluent.css +0 -1
  140. package/styles/fluent.scss +0 -1
  141. package/styles/fluent2-lite.css +0 -1
  142. package/styles/fluent2-lite.scss +0 -1
  143. package/styles/fluent2.css +0 -1
  144. package/styles/fluent2.scss +0 -1
  145. package/styles/highcontrast-light-lite.css +0 -1
  146. package/styles/highcontrast-light-lite.scss +0 -1
  147. package/styles/highcontrast-light.css +0 -1
  148. package/styles/highcontrast-light.scss +0 -1
  149. package/styles/highcontrast-lite.css +0 -1
  150. package/styles/highcontrast-lite.scss +0 -1
  151. package/styles/highcontrast.css +0 -1
  152. package/styles/highcontrast.scss +0 -1
  153. package/styles/inplace-editor/bds.css +0 -1
  154. package/styles/inplace-editor/bds.scss +0 -1
  155. package/styles/inplace-editor/bootstrap-dark.css +0 -1
  156. package/styles/inplace-editor/bootstrap-dark.scss +0 -1
  157. package/styles/inplace-editor/bootstrap.css +0 -1
  158. package/styles/inplace-editor/bootstrap.scss +0 -1
  159. package/styles/inplace-editor/bootstrap4.css +0 -1
  160. package/styles/inplace-editor/bootstrap4.scss +0 -1
  161. package/styles/inplace-editor/bootstrap5-dark.css +0 -1
  162. package/styles/inplace-editor/bootstrap5-dark.scss +0 -1
  163. package/styles/inplace-editor/bootstrap5.3.css +0 -1
  164. package/styles/inplace-editor/bootstrap5.3.scss +0 -1
  165. package/styles/inplace-editor/bootstrap5.css +0 -1
  166. package/styles/inplace-editor/bootstrap5.scss +0 -1
  167. package/styles/inplace-editor/fabric-dark.css +0 -1
  168. package/styles/inplace-editor/fabric-dark.scss +0 -1
  169. package/styles/inplace-editor/fabric.css +0 -1
  170. package/styles/inplace-editor/fabric.scss +0 -1
  171. package/styles/inplace-editor/fluent-dark.css +0 -1
  172. package/styles/inplace-editor/fluent-dark.scss +0 -1
  173. package/styles/inplace-editor/fluent.css +0 -1
  174. package/styles/inplace-editor/fluent.scss +0 -1
  175. package/styles/inplace-editor/fluent2.css +0 -1
  176. package/styles/inplace-editor/fluent2.scss +0 -1
  177. package/styles/inplace-editor/highcontrast-light.css +0 -1
  178. package/styles/inplace-editor/highcontrast-light.scss +0 -1
  179. package/styles/inplace-editor/highcontrast.css +0 -1
  180. package/styles/inplace-editor/highcontrast.scss +0 -1
  181. package/styles/inplace-editor/material-dark.css +0 -1
  182. package/styles/inplace-editor/material-dark.scss +0 -1
  183. package/styles/inplace-editor/material.css +0 -1
  184. package/styles/inplace-editor/material.scss +0 -1
  185. package/styles/inplace-editor/material3-dark.css +0 -1
  186. package/styles/inplace-editor/material3-dark.scss +0 -1
  187. package/styles/inplace-editor/material3.css +0 -1
  188. package/styles/inplace-editor/material3.scss +0 -1
  189. package/styles/inplace-editor/tailwind-dark.css +0 -1
  190. package/styles/inplace-editor/tailwind-dark.scss +0 -1
  191. package/styles/inplace-editor/tailwind.css +0 -1
  192. package/styles/inplace-editor/tailwind.scss +0 -1
  193. package/styles/inplace-editor/tailwind3.css +0 -1
  194. package/styles/inplace-editor/tailwind3.scss +0 -1
  195. package/styles/material-dark-lite.css +0 -1
  196. package/styles/material-dark-lite.scss +0 -1
  197. package/styles/material-dark.css +0 -1
  198. package/styles/material-dark.scss +0 -1
  199. package/styles/material-lite.css +0 -1
  200. package/styles/material-lite.scss +0 -1
  201. package/styles/material.css +0 -1
  202. package/styles/material.scss +0 -1
  203. package/styles/material3-dark-lite.css +0 -1
  204. package/styles/material3-dark-lite.scss +0 -1
  205. package/styles/material3-dark.css +0 -1
  206. package/styles/material3-dark.scss +0 -1
  207. package/styles/material3-lite.css +0 -1
  208. package/styles/material3-lite.scss +0 -1
  209. package/styles/material3.css +0 -1
  210. package/styles/material3.scss +0 -1
  211. package/styles/tailwind-dark-lite.css +0 -1
  212. package/styles/tailwind-dark-lite.scss +0 -1
  213. package/styles/tailwind-dark.css +0 -1
  214. package/styles/tailwind-dark.scss +0 -1
  215. package/styles/tailwind-lite.css +0 -1
  216. package/styles/tailwind-lite.scss +0 -1
  217. package/styles/tailwind.css +0 -1
  218. package/styles/tailwind.scss +0 -1
  219. package/styles/tailwind3-lite.css +0 -1
  220. package/styles/tailwind3-lite.scss +0 -1
  221. package/styles/tailwind3.css +0 -1
  222. package/styles/tailwind3.scss +0 -1
@@ -0,0 +1,5 @@
1
+ export const componentName = 'inplaceeditor';
2
+ export const sampleName = 'inline';
3
+ export const diModules = null;
4
+ export const packageName = '@syncfusion/ej2-angular-inplace-editor';
5
+ export const libModules = 'InPlaceEditorModule';
@@ -0,0 +1,5 @@
1
+ export const componentName: string = 'inplaceeditor';
2
+ export const sampleName: string = 'inline';
3
+ export const diModules: string | null = null;
4
+ export const packageName: string = '@syncfusion/ej2-angular-inplace-editor';
5
+ export const libModules: string = 'InPlaceEditorModule';
@@ -0,0 +1,5 @@
1
+ <div class="container">
2
+ Enter your name:
3
+ <ejs-inplaceeditor mode="Inline" type="Text" value='Andrew'>
4
+ </ejs-inplaceeditor>
5
+ </div>
@@ -0,0 +1,11 @@
1
+ import { Component } from '@angular/core';
2
+ /**
3
+ * Inline - In-place Editor
4
+ */
5
+ @Component({
6
+ selector: '<%=dasherize(selector)%>',
7
+ templateUrl: '<%=dasherize(name)%>.component.html',
8
+ styleUrls: ['<%=dasherize(name)%>.component.css']
9
+ })
10
+
11
+ export class <%= classify(name) %>Component { }
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+ export interface Schema extends ComponentSchema {
3
+ }
@@ -0,0 +1,125 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "EJ2SchemaTemplateID",
4
+ "title": "inplaceeditor-inline",
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-inline"
125
+ }
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+
3
+ export interface Schema extends ComponentSchema { }
@@ -0,0 +1,3 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from './schema';
3
+ export default function (options: Schema): Rule;
@@ -0,0 +1,5 @@
1
+ import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
2
+ import * as sampleDetails from './sample-details';
3
+ export default function (options) {
4
+ return componentBuilder(options, sampleDetails);
5
+ }
@@ -0,0 +1,8 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
3
+ import { Schema } from './schema';
4
+ import * as sampleDetails from './sample-details';
5
+
6
+ export default function (options: Schema): Rule {
7
+ return componentBuilder(options, sampleDetails);
8
+ }
@@ -0,0 +1,5 @@
1
+ export declare const componentName: string;
2
+ export declare const sampleName: string;
3
+ export declare const diModules: string | null;
4
+ export declare const packageName: string;
5
+ export declare const libModules: string;
@@ -0,0 +1,5 @@
1
+ export const componentName = 'inplaceeditor';
2
+ export const sampleName = 'popup';
3
+ export const diModules = null;
4
+ export const packageName = '@syncfusion/ej2-angular-inplace-editor';
5
+ export const libModules = 'InPlaceEditorModule';
@@ -0,0 +1,5 @@
1
+ export const componentName: string = 'inplaceeditor';
2
+ export const sampleName: string = 'popup';
3
+ export const diModules: string | null = null;
4
+ export const packageName: string = '@syncfusion/ej2-angular-inplace-editor';
5
+ export const libModules: string = 'InPlaceEditorModule';
@@ -0,0 +1,5 @@
1
+ <div class="container">
2
+ Enter your name:
3
+ <ejs-inplaceeditor mode="Popup" type="Text" value='Andrew'>
4
+ </ejs-inplaceeditor>
5
+ </div>
@@ -0,0 +1,11 @@
1
+ import { Component } from '@angular/core';
2
+ /**
3
+ * Popup - In-place Editor
4
+ */
5
+ @Component({
6
+ selector: '<%=dasherize(selector)%>',
7
+ templateUrl: '<%=dasherize(name)%>.component.html',
8
+ styleUrls: ['<%=dasherize(name)%>.component.css']
9
+ })
10
+
11
+ export class <%= classify(name) %>Component { }
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+ export interface Schema extends ComponentSchema {
3
+ }
@@ -0,0 +1,125 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "EJ2SchemaTemplateID",
4
+ "title": "inplaceeditor-popup",
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"
125
+ }
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+
3
+ export interface Schema extends ComponentSchema { }
@@ -0,0 +1,3 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from './schema';
3
+ export default function (options: Schema): Rule;
@@ -0,0 +1,5 @@
1
+ import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
2
+ import * as sampleDetails from './sample-details';
3
+ export default function (options) {
4
+ return componentBuilder(options, sampleDetails);
5
+ }
@@ -0,0 +1,8 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
3
+ import { Schema } from './schema';
4
+ import * as sampleDetails from './sample-details';
5
+
6
+ export default function (options: Schema): Rule {
7
+ return componentBuilder(options, sampleDetails);
8
+ }
@@ -0,0 +1,5 @@
1
+ export declare const componentName: string;
2
+ export declare const sampleName: string;
3
+ export declare const diModules: string | null;
4
+ export declare const packageName: string;
5
+ export declare const libModules: string;
@@ -0,0 +1,5 @@
1
+ export const componentName = 'inplaceeditor';
2
+ export const sampleName = 'popup-position';
3
+ export const diModules = null;
4
+ export const packageName = '@syncfusion/ej2-angular-inplace-editor';
5
+ export const libModules = 'InPlaceEditorModule';
@@ -0,0 +1,5 @@
1
+ export const componentName: string = 'inplaceeditor';
2
+ export const sampleName: string = 'popup-position';
3
+ export const diModules: string | null = null;
4
+ export const packageName: string = '@syncfusion/ej2-angular-inplace-editor';
5
+ export const libModules: string = 'InPlaceEditorModule';
@@ -0,0 +1,5 @@
1
+ <div class="container">
2
+ Enter your name:
3
+ <ejs-inplaceeditor mode="Popup" type="Text" value='Andrew' [popupSettings]='popupConfig'>
4
+ </ejs-inplaceeditor>
5
+ </div>
@@ -0,0 +1,17 @@
1
+ import { Component } from '@angular/core';
2
+ /**
3
+ * Popup position - In-place Editor
4
+ */
5
+ @Component({
6
+ selector: '<%=dasherize(selector)%>',
7
+ templateUrl: '<%=dasherize(name)%>.component.html',
8
+ styleUrls: ['<%=dasherize(name)%>.component.css']
9
+ })
10
+
11
+ export class <%= classify(name) %>Component {
12
+ public popupConfig: object = {
13
+ model: {
14
+ position: 'BottomCenter'
15
+ }
16
+ };
17
+ }
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+ export interface Schema extends ComponentSchema {
3
+ }
@@ -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,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+
3
+ export interface Schema extends ComponentSchema { }
@@ -0,0 +1,3 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from './schema';
3
+ export default function (options: Schema): Rule;
@@ -0,0 +1,5 @@
1
+ import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
2
+ import * as sampleDetails from './sample-details';
3
+ export default function (options) {
4
+ return componentBuilder(options, sampleDetails);
5
+ }
@@ -0,0 +1,8 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
3
+ import { Schema } from './schema';
4
+ import * as sampleDetails from './sample-details';
5
+
6
+ export default function (options: Schema): Rule {
7
+ return componentBuilder(options, sampleDetails);
8
+ }
@@ -0,0 +1,5 @@
1
+ export declare const componentName: string;
2
+ export declare const sampleName: string;
3
+ export declare const diModules: string | null;
4
+ export declare const packageName: string;
5
+ export declare const libModules: string;
@@ -0,0 +1,5 @@
1
+ export const componentName = 'inplaceeditor';
2
+ export const sampleName = 'template';
3
+ export const diModules = null;
4
+ export const packageName = '@syncfusion/ej2-angular-inplace-editor';
5
+ export const libModules = 'InPlaceEditorModule';
@@ -0,0 +1,5 @@
1
+ export const componentName: string = 'inplaceeditor';
2
+ export const sampleName: string = 'template';
3
+ export const diModules: string | null = null;
4
+ export const packageName: string = '@syncfusion/ej2-angular-inplace-editor';
5
+ export const libModules: string = '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>