@aiao/code-editor-angular 0.0.9 → 0.0.15
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.
|
@@ -237,8 +237,8 @@ class CodeEditor {
|
|
|
237
237
|
_dispatch_effects(effects) {
|
|
238
238
|
return this.#view?.dispatch({ effects });
|
|
239
239
|
}
|
|
240
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0
|
|
241
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0
|
|
240
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: CodeEditor, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
241
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: CodeEditor, isStandalone: true, selector: "ao-code-editor", inputs: { autoFocus: { classPropertyName: "autoFocus", publicName: "autoFocus", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, highlightWhitespace: { classPropertyName: "highlightWhitespace", publicName: "highlightWhitespace", isSignal: true, isRequired: false, transformFunction: null }, indentUnit: { classPropertyName: "indentUnit", publicName: "indentUnit", isSignal: true, isRequired: false, transformFunction: null }, indentWithTab: { classPropertyName: "indentWithTab", publicName: "indentWithTab", isSignal: true, isRequired: false, transformFunction: null }, language: { classPropertyName: "language", publicName: "language", isSignal: true, isRequired: false, transformFunction: null }, languages: { classPropertyName: "languages", publicName: "languages", isSignal: true, isRequired: false, transformFunction: null }, lineWrapping: { classPropertyName: "lineWrapping", publicName: "lineWrapping", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, root: { classPropertyName: "root", publicName: "root", isSignal: true, isRequired: false, transformFunction: null }, setup: { classPropertyName: "setup", publicName: "setup", isSignal: true, isRequired: false, transformFunction: null }, theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { aoFocus: "aoFocus", aoChange: "aoChange", aoBlur: "aoBlur" }, providers: [
|
|
242
242
|
{
|
|
243
243
|
provide: NG_VALUE_ACCESSOR,
|
|
244
244
|
useExisting: forwardRef(() => CodeEditor),
|
|
@@ -246,7 +246,7 @@ class CodeEditor {
|
|
|
246
246
|
}
|
|
247
247
|
], usesOnChanges: true, ngImport: i0, template: ``, isInline: true, styles: [":host{display:block;height:100%}:host ::ng-deep .cm-editor{height:100%}:host ::ng-deep .cm-focused{outline:none}:host ::ng-deep .cm-content{white-space:pre-wrap}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
248
248
|
}
|
|
249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0
|
|
249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: CodeEditor, decorators: [{
|
|
250
250
|
type: Component,
|
|
251
251
|
args: [{ selector: 'ao-code-editor', template: ``, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
252
252
|
{
|
package/package.json
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiao/code-editor-angular",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
3
|
+
"version": "0.0.15",
|
|
4
|
+
"dependencies": {
|
|
5
5
|
"@codemirror/commands": "^6.8.1",
|
|
6
6
|
"@codemirror/language": "^6.11.3",
|
|
7
7
|
"@codemirror/state": "^6.5.2",
|
|
8
8
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
9
9
|
"@codemirror/view": "^6.38.6",
|
|
10
10
|
"codemirror": "^6.0.1",
|
|
11
|
+
"tslib": "^2.3.0"
|
|
12
|
+
},
|
|
13
|
+
"peerDependencies": {
|
|
11
14
|
"@aiao/code-editor": "*"
|
|
12
15
|
},
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
13
19
|
"sideEffects": false,
|
|
14
20
|
"module": "fesm2022/aiao-code-editor-angular.mjs",
|
|
15
21
|
"typings": "types/aiao-code-editor-angular.d.ts",
|
|
@@ -21,8 +27,5 @@
|
|
|
21
27
|
"types": "./types/aiao-code-editor-angular.d.ts",
|
|
22
28
|
"default": "./fesm2022/aiao-code-editor-angular.mjs"
|
|
23
29
|
}
|
|
24
|
-
},
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"tslib": "^2.3.0"
|
|
27
30
|
}
|
|
28
31
|
}
|