@tectra-ng/code-editor 0.0.0-stage → 0.2.2
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/README.md +80 -2
- package/fesm2022/tectra-ng-code-editor-highlight.mjs +1219 -0
- package/fesm2022/tectra-ng-code-editor-highlight.mjs.map +1 -0
- package/fesm2022/tectra-ng-code-editor.mjs +3080 -0
- package/fesm2022/tectra-ng-code-editor.mjs.map +1 -0
- package/highlight/README.md +39 -0
- package/package.json +62 -3
- package/types/tectra-ng-code-editor-highlight.d.ts +190 -0
- package/types/tectra-ng-code-editor-highlight.d.ts.map +1 -0
- package/types/tectra-ng-code-editor.d.ts +461 -0
- package/types/tectra-ng-code-editor.d.ts.map +1 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
3
|
+
import { TectraCodeHighlightTokens, TectraCodeSyntaxTokens, TectraDeepPartial } from "@tectra-ng/themes";
|
|
4
|
+
export type TxCodeLanguage = 'html' | 'css' | 'javascript' | 'typescript' | 'json' | 'markdown' | 'plain';
|
|
5
|
+
export type TxCodeTokenType = 'comment' | 'keyword' | 'literal' | 'string' | 'number' | 'regexp' | 'type' | 'delimiter' | 'tag' | 'tag-delimiter' | 'meta' | 'attribute' | 'attribute-value' | 'property' | 'value' | 'key' | 'heading' | 'strong' | 'emphasis' | 'link' | 'code' | 'quote';
|
|
6
|
+
export interface TxCodeToken {
|
|
7
|
+
readonly from: number;
|
|
8
|
+
readonly to: number;
|
|
9
|
+
readonly type: TxCodeTokenType;
|
|
10
|
+
}
|
|
11
|
+
export interface TxCodeComments {
|
|
12
|
+
readonly line?: string;
|
|
13
|
+
readonly block?: readonly [string, string];
|
|
14
|
+
}
|
|
15
|
+
export interface TxCodeMode<S = unknown> {
|
|
16
|
+
readonly language: TxCodeLanguage;
|
|
17
|
+
readonly comments: TxCodeComments;
|
|
18
|
+
start(): S;
|
|
19
|
+
copy(state: S): S;
|
|
20
|
+
token(stream: TxCodeStreamLike, state: S): TxCodeTokenType | null;
|
|
21
|
+
}
|
|
22
|
+
export interface TxCodeStreamLike {
|
|
23
|
+
readonly string: string;
|
|
24
|
+
pos: number;
|
|
25
|
+
start: number;
|
|
26
|
+
eol(): boolean;
|
|
27
|
+
sol(): boolean;
|
|
28
|
+
peek(offset?: number): string;
|
|
29
|
+
next(): string;
|
|
30
|
+
eat(match: string | RegExp): string;
|
|
31
|
+
eatWhile(match: RegExp): boolean;
|
|
32
|
+
eatSpace(): boolean;
|
|
33
|
+
skipToEnd(): void;
|
|
34
|
+
skipTo(text: string): boolean;
|
|
35
|
+
match(pattern: RegExp, consume?: boolean): RegExpExecArray | null;
|
|
36
|
+
matchText(text: string, consume?: boolean, ignoreCase?: boolean): boolean;
|
|
37
|
+
current(): string;
|
|
38
|
+
rest(): string;
|
|
39
|
+
before(): string;
|
|
40
|
+
}
|
|
41
|
+
export type TxCodeHighlightPart = 'root' | 'gutter' | 'content' | 'line';
|
|
42
|
+
export declare class TxCodeStream implements TxCodeStreamLike {
|
|
43
|
+
readonly string: string;
|
|
44
|
+
pos: number;
|
|
45
|
+
start: number;
|
|
46
|
+
constructor(string: string);
|
|
47
|
+
eol(): boolean;
|
|
48
|
+
sol(): boolean;
|
|
49
|
+
peek(offset?: number): string;
|
|
50
|
+
next(): string;
|
|
51
|
+
eat(match: string | RegExp): string;
|
|
52
|
+
eatWhile(match: RegExp): boolean;
|
|
53
|
+
eatSpace(): boolean;
|
|
54
|
+
skipToEnd(): void;
|
|
55
|
+
skipTo(text: string): boolean;
|
|
56
|
+
match(pattern: RegExp, consume?: boolean): RegExpExecArray | null;
|
|
57
|
+
matchText(text: string, consume?: boolean, ignoreCase?: boolean): boolean;
|
|
58
|
+
current(): string;
|
|
59
|
+
rest(): string;
|
|
60
|
+
before(): string;
|
|
61
|
+
}
|
|
62
|
+
export declare function tokenInside<S>(stream: TxCodeStreamLike, end: number, run: (inner: TxCodeStreamLike) => S): S;
|
|
63
|
+
export declare function resolveCodeLanguage(name: string | null | undefined): TxCodeLanguage | null;
|
|
64
|
+
export declare function getCodeMode(language: TxCodeLanguage | string | null | undefined): TxCodeMode;
|
|
65
|
+
export declare function tokenizeLine(mode: TxCodeMode, text: string, state: unknown): TxCodeToken[];
|
|
66
|
+
export declare function splitCodeLines(code: string): string[];
|
|
67
|
+
export declare function highlightCode(code: string, language?: TxCodeLanguage | string): TxCodeToken[][];
|
|
68
|
+
export declare class TxCodeLineStates {
|
|
69
|
+
private readonly mode;
|
|
70
|
+
private readonly states;
|
|
71
|
+
constructor(mode: TxCodeMode);
|
|
72
|
+
get language(): TxCodeLanguage;
|
|
73
|
+
invalidateFrom(line: number): void;
|
|
74
|
+
tokens(line: number, lineText: (line: number) => string): TxCodeToken[];
|
|
75
|
+
}
|
|
76
|
+
export interface TxCodeSegment {
|
|
77
|
+
readonly text: string;
|
|
78
|
+
readonly className: string | null;
|
|
79
|
+
}
|
|
80
|
+
export interface TxCodeLine {
|
|
81
|
+
readonly number: number;
|
|
82
|
+
readonly segments: readonly TxCodeSegment[];
|
|
83
|
+
readonly indent: string | null;
|
|
84
|
+
readonly guides: number;
|
|
85
|
+
}
|
|
86
|
+
export declare function guideLevels(count: number, lineText: (index: number) => string, tabSize?: number, from?: number, to?: number, reach?: number): number[];
|
|
87
|
+
export declare function lineIndent(text: string, tabSize?: number): string | null;
|
|
88
|
+
export declare function tokenClass(type: string): string;
|
|
89
|
+
export declare function lineSegments(text: string, tokens: readonly TxCodeToken[]): TxCodeSegment[];
|
|
90
|
+
export declare function codeLines(code: string, language: TxCodeLanguage | string, firstLine?: number, tabSize?: number): TxCodeLine[];
|
|
91
|
+
export declare class TxCodeSyntaxStyles {
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxCodeSyntaxStyles, never>;
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxCodeSyntaxStyles, "tx-code-syntax-styles", never, {}, {}, never, never, true, never>;
|
|
94
|
+
}
|
|
95
|
+
export type TxCodeHighlightTokens = TectraCodeHighlightTokens & {
|
|
96
|
+
syntax: TectraCodeSyntaxTokens;
|
|
97
|
+
};
|
|
98
|
+
export declare class TxCodeHighlight {
|
|
99
|
+
readonly code: import("@angular/core").InputSignal<string | null | undefined>;
|
|
100
|
+
readonly language: import("@angular/core").InputSignal<string>;
|
|
101
|
+
readonly lineNumbers: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
102
|
+
readonly wordWrap: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
103
|
+
readonly indentGuides: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
104
|
+
readonly tabSize: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
105
|
+
readonly firstLine: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
106
|
+
readonly height: import("@angular/core").InputSignal<string | undefined>;
|
|
107
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
108
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TxCodeHighlightTokens> | undefined>;
|
|
109
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxCodeHighlightPart, import("@tectra-ng/core/config").TxPassThroughValue<TxCodeHighlight>>> | undefined>;
|
|
110
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
111
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
112
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
113
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxCodeHighlightPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
114
|
+
protected readonly t: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
115
|
+
protected readonly lines: import("@angular/core").Signal<import("@tectra-ng/code-editor/highlight").TxCodeLine[]>;
|
|
116
|
+
protected readonly label: import("@angular/core").Signal<string>;
|
|
117
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
118
|
+
height?: string | undefined;
|
|
119
|
+
}>;
|
|
120
|
+
constructor();
|
|
121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxCodeHighlight, never>;
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxCodeHighlight, "tx-code-highlight", never, {
|
|
123
|
+
"code": {
|
|
124
|
+
"alias": "code";
|
|
125
|
+
"required": false;
|
|
126
|
+
"isSignal": true;
|
|
127
|
+
};
|
|
128
|
+
"language": {
|
|
129
|
+
"alias": "language";
|
|
130
|
+
"required": false;
|
|
131
|
+
"isSignal": true;
|
|
132
|
+
};
|
|
133
|
+
"lineNumbers": {
|
|
134
|
+
"alias": "lineNumbers";
|
|
135
|
+
"required": false;
|
|
136
|
+
"isSignal": true;
|
|
137
|
+
};
|
|
138
|
+
"wordWrap": {
|
|
139
|
+
"alias": "wordWrap";
|
|
140
|
+
"required": false;
|
|
141
|
+
"isSignal": true;
|
|
142
|
+
};
|
|
143
|
+
"indentGuides": {
|
|
144
|
+
"alias": "indentGuides";
|
|
145
|
+
"required": false;
|
|
146
|
+
"isSignal": true;
|
|
147
|
+
};
|
|
148
|
+
"tabSize": {
|
|
149
|
+
"alias": "tabSize";
|
|
150
|
+
"required": false;
|
|
151
|
+
"isSignal": true;
|
|
152
|
+
};
|
|
153
|
+
"firstLine": {
|
|
154
|
+
"alias": "firstLine";
|
|
155
|
+
"required": false;
|
|
156
|
+
"isSignal": true;
|
|
157
|
+
};
|
|
158
|
+
"height": {
|
|
159
|
+
"alias": "height";
|
|
160
|
+
"required": false;
|
|
161
|
+
"isSignal": true;
|
|
162
|
+
};
|
|
163
|
+
"ariaLabel": {
|
|
164
|
+
"alias": "ariaLabel";
|
|
165
|
+
"required": false;
|
|
166
|
+
"isSignal": true;
|
|
167
|
+
};
|
|
168
|
+
"dt": {
|
|
169
|
+
"alias": "dt";
|
|
170
|
+
"required": false;
|
|
171
|
+
"isSignal": true;
|
|
172
|
+
};
|
|
173
|
+
"pt": {
|
|
174
|
+
"alias": "pt";
|
|
175
|
+
"required": false;
|
|
176
|
+
"isSignal": true;
|
|
177
|
+
};
|
|
178
|
+
"ptOptions": {
|
|
179
|
+
"alias": "ptOptions";
|
|
180
|
+
"required": false;
|
|
181
|
+
"isSignal": true;
|
|
182
|
+
};
|
|
183
|
+
"unstyled": {
|
|
184
|
+
"alias": "unstyled";
|
|
185
|
+
"required": false;
|
|
186
|
+
"isSignal": true;
|
|
187
|
+
};
|
|
188
|
+
}, {}, never, never, true, never>;
|
|
189
|
+
}
|
|
190
|
+
//# sourceMappingURL=tectra-ng-code-editor-highlight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-code-editor-highlight.d.ts","names":[],"sources":["../../../../packages/code-editor/highlight/src/code-highlight.types.ts","../../../../packages/code-editor/highlight/src/stream.ts","../../../../packages/code-editor/highlight/src/tokenize.ts","../../../../packages/code-editor/highlight/src/code-lines.ts","../../../../packages/code-editor/highlight/src/code-syntax-styles.component.ts","../../../../packages/code-editor/highlight/src/code-highlight.component.ts"],"mappings":";;;YAAY;YAEA;iBAwBK;WACN;WACA;WACA,MAAM;;iBAGA;WACN;WACA;;iBAGM,WAAW;WACjB,UAAU;WACV,UAAU;EACnB,SAAS;EACT,KAAK,OAAO,IAAI;EAChB,MAAM,QAAQ,kBAAkB,OAAO,IAAI;;iBAG5B;WACN;EACT;EACA;EACA;EACA;EACA,KAAK;EACL;EACA,IAAI,gBAAgB;EACpB,SAAS,OAAO;EAChB;EACA;EACA,OAAO;EACP,MAAM,SAAS,QAAQ,oBAAoB;EAC3C,UAAU,cAAc,mBAAmB;EAC3C;EACA;EACA;;YAGU;qBCpDC,wBAAwB;WAId;EAHrB;EACA;EAEqB,YAAA;EAErB;EAIA;EAIA,KAAK;EAIL;EAIA,IAAI,gBAAgB;EASpB,SAAS,OAAO;EAMhB;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;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
|
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
import { TxCodeLanguage, TxCodeLanguage as TxCodeLanguage$1, TxCodeSegment, TxCodeToken } from "@tectra-ng/code-editor/highlight";
|
|
2
|
+
import { EditorState, StateField } from "@codemirror/state";
|
|
3
|
+
import { DecorationSet } from "@codemirror/view";
|
|
4
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
5
|
+
import { TectraCodeDiffTokens, TectraCodeEditorTokens, TectraCodeSyntaxTokens, TectraDeepPartial } from "@tectra-ng/themes";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
8
|
+
export type TxCodeEditorPart = 'root' | 'editor' | 'gutter' | 'content' | 'search' | 'searchInput';
|
|
9
|
+
export type TxCodeDiffView = 'inline' | 'split';
|
|
10
|
+
export type TxCodeDiffPart = 'root' | 'original' | 'modified' | 'gutter' | 'content';
|
|
11
|
+
export interface TxCodeDiffSummary {
|
|
12
|
+
readonly added: number;
|
|
13
|
+
readonly removed: number;
|
|
14
|
+
readonly changes: number;
|
|
15
|
+
}
|
|
16
|
+
export interface TxTextRange {
|
|
17
|
+
readonly from: number;
|
|
18
|
+
readonly to: number;
|
|
19
|
+
}
|
|
20
|
+
export interface TxCodeDiffChange {
|
|
21
|
+
readonly originalFrom: number;
|
|
22
|
+
readonly originalTo: number;
|
|
23
|
+
readonly modifiedFrom: number;
|
|
24
|
+
readonly modifiedTo: number;
|
|
25
|
+
readonly originalRanges: readonly TxTextRange[];
|
|
26
|
+
readonly modifiedRanges: readonly TxTextRange[];
|
|
27
|
+
}
|
|
28
|
+
export interface TxCodeDiffOptions {
|
|
29
|
+
readonly ignoreTrimWhitespace?: boolean;
|
|
30
|
+
readonly maxCost?: number;
|
|
31
|
+
}
|
|
32
|
+
type DiffOpType = 'equal' | 'insert' | 'delete';
|
|
33
|
+
interface DiffOp {
|
|
34
|
+
type: DiffOpType;
|
|
35
|
+
aFrom: number;
|
|
36
|
+
aTo: number;
|
|
37
|
+
bFrom: number;
|
|
38
|
+
bTo: number;
|
|
39
|
+
}
|
|
40
|
+
export declare function diffSequences<T>(a: readonly T[], b: readonly T[], equal?: (x: T, y: T) => boolean, maxCost?: number): DiffOp[];
|
|
41
|
+
export declare function splitDiffLines(text: string): string[];
|
|
42
|
+
export declare function diffCode(original: string, modified: string, options?: TxCodeDiffOptions): TxCodeDiffChange[];
|
|
43
|
+
export declare function rangesByLine(lines: readonly string[], ranges: readonly TxTextRange[]): TxTextRange[][];
|
|
44
|
+
export declare function summarizeDiff(changes: readonly TxCodeDiffChange[]): {
|
|
45
|
+
added: number;
|
|
46
|
+
removed: number;
|
|
47
|
+
changes: number;
|
|
48
|
+
};
|
|
49
|
+
export interface TxCodeSearchQuery {
|
|
50
|
+
readonly text: string;
|
|
51
|
+
readonly matchCase: boolean;
|
|
52
|
+
readonly wholeWord: boolean;
|
|
53
|
+
readonly regexp: boolean;
|
|
54
|
+
}
|
|
55
|
+
export interface TxCodeSearchMatch {
|
|
56
|
+
readonly from: number;
|
|
57
|
+
readonly to: number;
|
|
58
|
+
}
|
|
59
|
+
export interface TxCodeSearchResult {
|
|
60
|
+
readonly matches: readonly TxCodeSearchMatch[];
|
|
61
|
+
readonly valid: boolean;
|
|
62
|
+
readonly pattern: RegExp | null;
|
|
63
|
+
}
|
|
64
|
+
export declare function searchPattern(query: TxCodeSearchQuery): RegExp | null;
|
|
65
|
+
export declare function findMatches(text: string, query: TxCodeSearchQuery): TxCodeSearchResult;
|
|
66
|
+
export declare function replacementFor(state: EditorState, match: TxCodeSearchMatch, query: TxCodeSearchQuery, replacement: string): string;
|
|
67
|
+
export declare const setSearchMarks: import("@codemirror/state").StateEffectType<{
|
|
68
|
+
matches: readonly TxCodeSearchMatch[];
|
|
69
|
+
current: number;
|
|
70
|
+
}>;
|
|
71
|
+
export declare const searchMarks: StateField<DecorationSet>;
|
|
72
|
+
type TxDiffRowKind = 'equal' | 'inserted' | 'removed' | 'filler';
|
|
73
|
+
interface TxDiffRow {
|
|
74
|
+
readonly kind: TxDiffRowKind;
|
|
75
|
+
readonly number: number | null;
|
|
76
|
+
readonly segments: readonly TxCodeSegment[];
|
|
77
|
+
readonly indent: string | null;
|
|
78
|
+
readonly guides: number;
|
|
79
|
+
}
|
|
80
|
+
interface TxDiffDocument {
|
|
81
|
+
readonly lines: readonly string[];
|
|
82
|
+
readonly tokens: readonly (readonly TxCodeToken[])[];
|
|
83
|
+
readonly guides: readonly number[];
|
|
84
|
+
readonly tabSize: number;
|
|
85
|
+
}
|
|
86
|
+
declare const TX_DIFF_INSERTED_TEXT = "tx-code-diff__text--inserted";
|
|
87
|
+
declare const TX_DIFF_REMOVED_TEXT = "tx-code-diff__text--removed";
|
|
88
|
+
declare function diffDocument(text: string, language: string): TxDiffDocument;
|
|
89
|
+
declare function markedSegments(text: string, tokens: readonly TxCodeToken[], marks: readonly TxTextRange[], markClass: string): TxCodeSegment[];
|
|
90
|
+
declare function inlineRows(original: TxDiffDocument, modified: TxDiffDocument, changes: readonly TxCodeDiffChange[]): TxDiffRow[];
|
|
91
|
+
declare function splitRows(original: TxDiffDocument, modified: TxDiffDocument, changes: readonly TxCodeDiffChange[]): {
|
|
92
|
+
original: TxDiffRow[];
|
|
93
|
+
modified: TxDiffRow[];
|
|
94
|
+
};
|
|
95
|
+
export type TxCodeDiffTokens = TectraCodeDiffTokens & {
|
|
96
|
+
syntax: TectraCodeSyntaxTokens;
|
|
97
|
+
};
|
|
98
|
+
export declare class TxCodeDiff {
|
|
99
|
+
readonly original: import("@angular/core").InputSignal<string | null>;
|
|
100
|
+
readonly value: import("@angular/core").ModelSignal<string | null>;
|
|
101
|
+
readonly language: import("@angular/core").InputSignal<string>;
|
|
102
|
+
readonly view: import("@angular/core").InputSignal<TxCodeDiffView>;
|
|
103
|
+
readonly readOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
104
|
+
readonly lineNumbers: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
105
|
+
readonly wordWrap: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
106
|
+
readonly indentGuides: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
107
|
+
readonly ignoreTrimWhitespace: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
108
|
+
readonly scrollToFirstChange: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
109
|
+
readonly height: import("@angular/core").InputSignal<string | undefined>;
|
|
110
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
111
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TxCodeDiffTokens> | undefined>;
|
|
112
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxCodeDiffPart, import("@tectra-ng/core/config").TxPassThroughValue<TxCodeDiff>>> | undefined>;
|
|
113
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
114
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
115
|
+
readonly changed: import("@angular/core").OutputEmitterRef<TxCodeDiffSummary>;
|
|
116
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
117
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxCodeDiffPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
118
|
+
protected readonly t: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
119
|
+
private readonly destroyRef;
|
|
120
|
+
private readonly originalMount;
|
|
121
|
+
private readonly modifiedMount;
|
|
122
|
+
protected readonly ready: import("@angular/core").WritableSignal<boolean>;
|
|
123
|
+
private readonly modifiedText;
|
|
124
|
+
readonly resolvedLanguage: import("@angular/core").Signal<TxCodeLanguage$1>;
|
|
125
|
+
private readonly originalDocument;
|
|
126
|
+
private readonly currentText;
|
|
127
|
+
protected readonly guideStep: import("@angular/core").Signal<string>;
|
|
128
|
+
readonly changes: import("@angular/core").Signal<readonly TxCodeDiffChange[]>;
|
|
129
|
+
readonly summary: import("@angular/core").Signal<TxCodeDiffSummary>;
|
|
130
|
+
protected readonly staticInline: import("@angular/core").Signal<TxDiffRow[]>;
|
|
131
|
+
protected readonly staticSplit: import("@angular/core").Signal<{
|
|
132
|
+
original: TxDiffRow[];
|
|
133
|
+
modified: TxDiffRow[];
|
|
134
|
+
}>;
|
|
135
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
136
|
+
height?: string | undefined;
|
|
137
|
+
}>;
|
|
138
|
+
private originalView;
|
|
139
|
+
private modifiedView;
|
|
140
|
+
private builtFor;
|
|
141
|
+
private scrolled;
|
|
142
|
+
private recomputeTimer;
|
|
143
|
+
private syncing;
|
|
144
|
+
private escaped;
|
|
145
|
+
private readonly compartments;
|
|
146
|
+
private readonly originalCompartments;
|
|
147
|
+
constructor();
|
|
148
|
+
nextChange(): boolean;
|
|
149
|
+
previousChange(): boolean;
|
|
150
|
+
private goToChange;
|
|
151
|
+
private editorExtensions;
|
|
152
|
+
private createViews;
|
|
153
|
+
private syncScroll;
|
|
154
|
+
private applyDecorations;
|
|
155
|
+
private centerInside;
|
|
156
|
+
private destroyViews;
|
|
157
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxCodeDiff, never>;
|
|
158
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxCodeDiff, "tx-code-diff", never, {
|
|
159
|
+
"original": {
|
|
160
|
+
"alias": "original";
|
|
161
|
+
"required": false;
|
|
162
|
+
"isSignal": true;
|
|
163
|
+
};
|
|
164
|
+
"value": {
|
|
165
|
+
"alias": "value";
|
|
166
|
+
"required": false;
|
|
167
|
+
"isSignal": true;
|
|
168
|
+
};
|
|
169
|
+
"language": {
|
|
170
|
+
"alias": "language";
|
|
171
|
+
"required": false;
|
|
172
|
+
"isSignal": true;
|
|
173
|
+
};
|
|
174
|
+
"view": {
|
|
175
|
+
"alias": "view";
|
|
176
|
+
"required": false;
|
|
177
|
+
"isSignal": true;
|
|
178
|
+
};
|
|
179
|
+
"readOnly": {
|
|
180
|
+
"alias": "readOnly";
|
|
181
|
+
"required": false;
|
|
182
|
+
"isSignal": true;
|
|
183
|
+
};
|
|
184
|
+
"lineNumbers": {
|
|
185
|
+
"alias": "lineNumbers";
|
|
186
|
+
"required": false;
|
|
187
|
+
"isSignal": true;
|
|
188
|
+
};
|
|
189
|
+
"wordWrap": {
|
|
190
|
+
"alias": "wordWrap";
|
|
191
|
+
"required": false;
|
|
192
|
+
"isSignal": true;
|
|
193
|
+
};
|
|
194
|
+
"indentGuides": {
|
|
195
|
+
"alias": "indentGuides";
|
|
196
|
+
"required": false;
|
|
197
|
+
"isSignal": true;
|
|
198
|
+
};
|
|
199
|
+
"ignoreTrimWhitespace": {
|
|
200
|
+
"alias": "ignoreTrimWhitespace";
|
|
201
|
+
"required": false;
|
|
202
|
+
"isSignal": true;
|
|
203
|
+
};
|
|
204
|
+
"scrollToFirstChange": {
|
|
205
|
+
"alias": "scrollToFirstChange";
|
|
206
|
+
"required": false;
|
|
207
|
+
"isSignal": true;
|
|
208
|
+
};
|
|
209
|
+
"height": {
|
|
210
|
+
"alias": "height";
|
|
211
|
+
"required": false;
|
|
212
|
+
"isSignal": true;
|
|
213
|
+
};
|
|
214
|
+
"ariaLabel": {
|
|
215
|
+
"alias": "ariaLabel";
|
|
216
|
+
"required": false;
|
|
217
|
+
"isSignal": true;
|
|
218
|
+
};
|
|
219
|
+
"dt": {
|
|
220
|
+
"alias": "dt";
|
|
221
|
+
"required": false;
|
|
222
|
+
"isSignal": true;
|
|
223
|
+
};
|
|
224
|
+
"pt": {
|
|
225
|
+
"alias": "pt";
|
|
226
|
+
"required": false;
|
|
227
|
+
"isSignal": true;
|
|
228
|
+
};
|
|
229
|
+
"ptOptions": {
|
|
230
|
+
"alias": "ptOptions";
|
|
231
|
+
"required": false;
|
|
232
|
+
"isSignal": true;
|
|
233
|
+
};
|
|
234
|
+
"unstyled": {
|
|
235
|
+
"alias": "unstyled";
|
|
236
|
+
"required": false;
|
|
237
|
+
"isSignal": true;
|
|
238
|
+
};
|
|
239
|
+
}, {
|
|
240
|
+
"value": "valueChange";
|
|
241
|
+
"changed": "changed";
|
|
242
|
+
}, never, never, true, never>;
|
|
243
|
+
}
|
|
244
|
+
export type TxCodeEditorTokens = TectraCodeEditorTokens & {
|
|
245
|
+
syntax: TectraCodeSyntaxTokens;
|
|
246
|
+
};
|
|
247
|
+
export declare class TxCodeEditor implements ControlValueAccessor {
|
|
248
|
+
readonly value: import("@angular/core").ModelSignal<string | null>;
|
|
249
|
+
readonly language: import("@angular/core").InputSignal<string>;
|
|
250
|
+
readonly height: import("@angular/core").InputSignal<string | undefined>;
|
|
251
|
+
readonly readOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
252
|
+
readonly lineNumbers: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
253
|
+
readonly wordWrap: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
254
|
+
readonly indentGuides: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
255
|
+
readonly tabSize: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
256
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
257
|
+
readonly search: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
258
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
259
|
+
readonly invalid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
260
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
261
|
+
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
262
|
+
readonly diffMode: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
263
|
+
readonly originalValue: import("@angular/core").InputSignal<string | null>;
|
|
264
|
+
readonly diffView: import("@angular/core").InputSignal<TxCodeDiffView>;
|
|
265
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TxCodeEditorTokens> | undefined>;
|
|
266
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxCodeEditorPart, import("@tectra-ng/core/config").TxPassThroughValue<TxCodeEditor>>> | undefined>;
|
|
267
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
268
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
269
|
+
readonly codeChanged: import("@angular/core").OutputEmitterRef<string>;
|
|
270
|
+
readonly focused: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
271
|
+
readonly blurred: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
272
|
+
readonly diffChanged: import("@angular/core").OutputEmitterRef<TxCodeDiffSummary>;
|
|
273
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
274
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxCodeEditorPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
275
|
+
readonly isInvalid: import("@angular/core").Signal<boolean>;
|
|
276
|
+
protected readonly t: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
277
|
+
private readonly locale;
|
|
278
|
+
private readonly destroyRef;
|
|
279
|
+
private readonly injector;
|
|
280
|
+
private readonly mount;
|
|
281
|
+
private readonly findInput;
|
|
282
|
+
private readonly replaceInput;
|
|
283
|
+
private readonly formDisabled;
|
|
284
|
+
private readonly docVersion;
|
|
285
|
+
protected readonly ready: import("@angular/core").WritableSignal<boolean>;
|
|
286
|
+
protected readonly focusedState: import("@angular/core").WritableSignal<boolean>;
|
|
287
|
+
protected readonly searchOpen: import("@angular/core").WritableSignal<boolean>;
|
|
288
|
+
protected readonly replaceOpen: import("@angular/core").WritableSignal<boolean>;
|
|
289
|
+
protected readonly query: import("@angular/core").WritableSignal<string>;
|
|
290
|
+
protected readonly replacement: import("@angular/core").WritableSignal<string>;
|
|
291
|
+
protected readonly matchCase: import("@angular/core").WritableSignal<boolean>;
|
|
292
|
+
protected readonly wholeWord: import("@angular/core").WritableSignal<boolean>;
|
|
293
|
+
protected readonly regexp: import("@angular/core").WritableSignal<boolean>;
|
|
294
|
+
private readonly currentMatch;
|
|
295
|
+
private view;
|
|
296
|
+
private text;
|
|
297
|
+
private applyingExternal;
|
|
298
|
+
private escaped;
|
|
299
|
+
private detectedTabSize;
|
|
300
|
+
private readonly compartments;
|
|
301
|
+
private onChange;
|
|
302
|
+
private onTouched;
|
|
303
|
+
readonly resolvedLanguage: import("@angular/core").Signal<TxCodeLanguage$1>;
|
|
304
|
+
readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
305
|
+
private readonly label;
|
|
306
|
+
protected readonly staticLines: import("@angular/core").Signal<import("@tectra-ng/code-editor/highlight").TxCodeLine[]>;
|
|
307
|
+
protected readonly staticTabSize: import("@angular/core").Signal<number>;
|
|
308
|
+
protected readonly staticEmpty: import("@angular/core").Signal<boolean>;
|
|
309
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
310
|
+
height?: string | undefined;
|
|
311
|
+
}>;
|
|
312
|
+
private readonly searchQuery;
|
|
313
|
+
protected readonly searchResult: import("@angular/core").Signal<import("@tectra-ng/code-editor").TxCodeSearchResult>;
|
|
314
|
+
protected readonly current: import("@angular/core").Signal<number>;
|
|
315
|
+
protected readonly countText: import("@angular/core").Signal<string>;
|
|
316
|
+
constructor();
|
|
317
|
+
writeValue(value: string | null): void;
|
|
318
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
319
|
+
registerOnTouched(fn: () => void): void;
|
|
320
|
+
setDisabledState(isDisabled: boolean): void;
|
|
321
|
+
focus(): void;
|
|
322
|
+
undo(): boolean;
|
|
323
|
+
redo(): boolean;
|
|
324
|
+
openSearch(replace?: boolean): void;
|
|
325
|
+
closeSearch(): void;
|
|
326
|
+
findNext(): void;
|
|
327
|
+
findPrevious(): void;
|
|
328
|
+
replaceCurrent(): void;
|
|
329
|
+
replaceAll(): void;
|
|
330
|
+
protected toggleReplace(): void;
|
|
331
|
+
protected onQuery(value: string): void;
|
|
332
|
+
protected toggleOption(option: 'matchCase' | 'wholeWord' | 'regexp'): void;
|
|
333
|
+
protected onSearchKeydown(event: KeyboardEvent, field: 'find' | 'replace'): void;
|
|
334
|
+
protected onDiffValue(next: string | null): void;
|
|
335
|
+
private step;
|
|
336
|
+
private revealFrom;
|
|
337
|
+
private select;
|
|
338
|
+
private contentAttributes;
|
|
339
|
+
private searchKeys;
|
|
340
|
+
private createView;
|
|
341
|
+
private destroyView;
|
|
342
|
+
private onUpdate;
|
|
343
|
+
private replaceDocument;
|
|
344
|
+
private reconfigure;
|
|
345
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxCodeEditor, never>;
|
|
346
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxCodeEditor, "tx-code-editor", never, {
|
|
347
|
+
"value": {
|
|
348
|
+
"alias": "value";
|
|
349
|
+
"required": false;
|
|
350
|
+
"isSignal": true;
|
|
351
|
+
};
|
|
352
|
+
"language": {
|
|
353
|
+
"alias": "language";
|
|
354
|
+
"required": false;
|
|
355
|
+
"isSignal": true;
|
|
356
|
+
};
|
|
357
|
+
"height": {
|
|
358
|
+
"alias": "height";
|
|
359
|
+
"required": false;
|
|
360
|
+
"isSignal": true;
|
|
361
|
+
};
|
|
362
|
+
"readOnly": {
|
|
363
|
+
"alias": "readOnly";
|
|
364
|
+
"required": false;
|
|
365
|
+
"isSignal": true;
|
|
366
|
+
};
|
|
367
|
+
"lineNumbers": {
|
|
368
|
+
"alias": "lineNumbers";
|
|
369
|
+
"required": false;
|
|
370
|
+
"isSignal": true;
|
|
371
|
+
};
|
|
372
|
+
"wordWrap": {
|
|
373
|
+
"alias": "wordWrap";
|
|
374
|
+
"required": false;
|
|
375
|
+
"isSignal": true;
|
|
376
|
+
};
|
|
377
|
+
"indentGuides": {
|
|
378
|
+
"alias": "indentGuides";
|
|
379
|
+
"required": false;
|
|
380
|
+
"isSignal": true;
|
|
381
|
+
};
|
|
382
|
+
"tabSize": {
|
|
383
|
+
"alias": "tabSize";
|
|
384
|
+
"required": false;
|
|
385
|
+
"isSignal": true;
|
|
386
|
+
};
|
|
387
|
+
"placeholder": {
|
|
388
|
+
"alias": "placeholder";
|
|
389
|
+
"required": false;
|
|
390
|
+
"isSignal": true;
|
|
391
|
+
};
|
|
392
|
+
"search": {
|
|
393
|
+
"alias": "search";
|
|
394
|
+
"required": false;
|
|
395
|
+
"isSignal": true;
|
|
396
|
+
};
|
|
397
|
+
"disabled": {
|
|
398
|
+
"alias": "disabled";
|
|
399
|
+
"required": false;
|
|
400
|
+
"isSignal": true;
|
|
401
|
+
};
|
|
402
|
+
"invalid": {
|
|
403
|
+
"alias": "invalid";
|
|
404
|
+
"required": false;
|
|
405
|
+
"isSignal": true;
|
|
406
|
+
};
|
|
407
|
+
"ariaLabel": {
|
|
408
|
+
"alias": "ariaLabel";
|
|
409
|
+
"required": false;
|
|
410
|
+
"isSignal": true;
|
|
411
|
+
};
|
|
412
|
+
"ariaLabelledBy": {
|
|
413
|
+
"alias": "ariaLabelledBy";
|
|
414
|
+
"required": false;
|
|
415
|
+
"isSignal": true;
|
|
416
|
+
};
|
|
417
|
+
"diffMode": {
|
|
418
|
+
"alias": "diffMode";
|
|
419
|
+
"required": false;
|
|
420
|
+
"isSignal": true;
|
|
421
|
+
};
|
|
422
|
+
"originalValue": {
|
|
423
|
+
"alias": "originalValue";
|
|
424
|
+
"required": false;
|
|
425
|
+
"isSignal": true;
|
|
426
|
+
};
|
|
427
|
+
"diffView": {
|
|
428
|
+
"alias": "diffView";
|
|
429
|
+
"required": false;
|
|
430
|
+
"isSignal": true;
|
|
431
|
+
};
|
|
432
|
+
"dt": {
|
|
433
|
+
"alias": "dt";
|
|
434
|
+
"required": false;
|
|
435
|
+
"isSignal": true;
|
|
436
|
+
};
|
|
437
|
+
"pt": {
|
|
438
|
+
"alias": "pt";
|
|
439
|
+
"required": false;
|
|
440
|
+
"isSignal": true;
|
|
441
|
+
};
|
|
442
|
+
"ptOptions": {
|
|
443
|
+
"alias": "ptOptions";
|
|
444
|
+
"required": false;
|
|
445
|
+
"isSignal": true;
|
|
446
|
+
};
|
|
447
|
+
"unstyled": {
|
|
448
|
+
"alias": "unstyled";
|
|
449
|
+
"required": false;
|
|
450
|
+
"isSignal": true;
|
|
451
|
+
};
|
|
452
|
+
}, {
|
|
453
|
+
"value": "valueChange";
|
|
454
|
+
"codeChanged": "codeChanged";
|
|
455
|
+
"focused": "focused";
|
|
456
|
+
"blurred": "blurred";
|
|
457
|
+
"diffChanged": "diffChanged";
|
|
458
|
+
}, never, never, true, never>;
|
|
459
|
+
}
|
|
460
|
+
export type { TxCodeLanguage };
|
|
461
|
+
//# sourceMappingURL=tectra-ng-code-editor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-code-editor.d.ts","names":[],"sources":["../../../../packages/code-editor/src/code-editor.types.ts","../../../../packages/code-editor/src/diff/diff.ts","../../../../packages/code-editor/src/engine/search.ts","../../../../packages/code-editor/src/diff/diff-rows.ts","../../../../packages/code-editor/src/code-diff.component.ts","../../../../packages/code-editor/src/code-editor.component.ts"],"mappings":";;;;;;;YAEY;YAEA;YAEA;iBAEK;WACN;WACA;WACA;;iBCXM;WACN;WACA;;iBAGM;WACN;WACA;WACA;WACA;WACA,yBAAyB;WACzB,yBAAyB;;iBAGnB;WACN;WACA;;KAGN;UAEK;EACR,MAAM;EACN;EACA;EACA;EACA;;wBA0Fc,cAAc,GAAG,YAAY,KAAK,YAAY,KAAK,SAAQ,GAAG,GAAG,GAAG,eAAmC,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