@semantic-components/editor 0.1.0 → 0.2.0
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/fesm2022/semantic-components-editor.mjs +102 -102
- package/fesm2022/semantic-components-editor.mjs.map +1 -1
- package/index.d.ts +385 -1
- package/package.json +3 -3
- package/lib/editor/actions/editor-blockquote.d.ts +0 -11
- package/lib/editor/actions/editor-bold.d.ts +0 -11
- package/lib/editor/actions/editor-bullet-list.d.ts +0 -12
- package/lib/editor/actions/editor-code.d.ts +0 -12
- package/lib/editor/actions/editor-highlight.d.ts +0 -12
- package/lib/editor/actions/editor-horizontal-rule.d.ts +0 -12
- package/lib/editor/actions/editor-italic.d.ts +0 -12
- package/lib/editor/actions/editor-ordered-list.d.ts +0 -12
- package/lib/editor/actions/editor-paragraph.d.ts +0 -8
- package/lib/editor/actions/editor-redo.d.ts +0 -12
- package/lib/editor/actions/editor-strike.d.ts +0 -12
- package/lib/editor/actions/editor-text-align-center.d.ts +0 -12
- package/lib/editor/actions/editor-text-align-left.d.ts +0 -12
- package/lib/editor/actions/editor-text-align-right.d.ts +0 -12
- package/lib/editor/actions/editor-underline.d.ts +0 -12
- package/lib/editor/actions/editor-undo.d.ts +0 -12
- package/lib/editor/actions/editor-unset-link.d.ts +0 -14
- package/lib/editor/colors.d.ts +0 -1
- package/lib/editor/editor-content.d.ts +0 -9
- package/lib/editor/editor-group.d.ts +0 -7
- package/lib/editor/editor-toolbar.d.ts +0 -7
- package/lib/editor/editor.d.ts +0 -26
- package/lib/editor/extensions/extension-color.d.ts +0 -13
- package/lib/editor/extensions/extension-font-family.d.ts +0 -11
- package/lib/editor/extensions/extension-heading.d.ts +0 -9
- package/lib/editor/extensions/extension-image.d.ts +0 -16
- package/lib/editor/extensions/extension-link.d.ts +0 -13
- package/lib/editor/extensions/extension-table.d.ts +0 -30
- package/lib/editor/extensions/extension-text-style.d.ts +0 -11
- package/lib/editor/extensions/extension-youtube.d.ts +0 -15
- package/lib/editor/extensions/extensions.d.ts +0 -31
- package/lib/editor/index.d.ts +0 -29
- package/lib/editor/toolbar/add-cell-attribute-dialog.d.ts +0 -18
- package/lib/editor/toolbar/add-image-dialog.d.ts +0 -21
- package/lib/editor/toolbar/add-link-dialog.d.ts +0 -15
- package/lib/editor/toolbar/add-video-dialog.d.ts +0 -26
|
@@ -22,10 +22,10 @@ class ScEditorContent {
|
|
|
22
22
|
get nativeElement() {
|
|
23
23
|
return this.host.nativeElement;
|
|
24
24
|
}
|
|
25
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
26
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.3", type: ScEditorContent, isStandalone: true, selector: "sc-editor-content", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "class()" } }, ngImport: i0, template: ``, isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorContent, decorators: [{
|
|
29
29
|
type: Component,
|
|
30
30
|
args: [{ selector: 'sc-editor-content', imports: [], template: ``, host: {
|
|
31
31
|
'[class]': 'class()',
|
|
@@ -63,10 +63,10 @@ class ScExtensions {
|
|
|
63
63
|
horizontalRule = signal(false);
|
|
64
64
|
textStyle = signal(false);
|
|
65
65
|
table = signal(false);
|
|
66
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
67
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
66
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
67
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensions });
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensions, decorators: [{
|
|
70
70
|
type: Injectable
|
|
71
71
|
}] });
|
|
72
72
|
|
|
@@ -226,8 +226,8 @@ class ScEditor {
|
|
|
226
226
|
this.onChange(htmlContent);
|
|
227
227
|
this.changeDetectorRef.markForCheck();
|
|
228
228
|
}
|
|
229
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
230
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
229
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditor, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
230
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.0.3", type: ScEditor, isStandalone: true, selector: "sc-editor", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "class()" } }, providers: [
|
|
231
231
|
{
|
|
232
232
|
provide: NG_VALUE_ACCESSOR,
|
|
233
233
|
useExisting: forwardRef(() => ScEditor),
|
|
@@ -238,7 +238,7 @@ class ScEditor {
|
|
|
238
238
|
<ng-content />
|
|
239
239
|
`, isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
240
240
|
}
|
|
241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditor, decorators: [{
|
|
242
242
|
type: Component,
|
|
243
243
|
args: [{ selector: 'sc-editor', imports: [], template: `
|
|
244
244
|
<ng-content />
|
|
@@ -269,8 +269,8 @@ class ScEditorBlockquote {
|
|
|
269
269
|
toggleBlockquote() {
|
|
270
270
|
this.editor.chain().focus().toggleBlockquote().run();
|
|
271
271
|
}
|
|
272
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
273
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
272
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorBlockquote, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
273
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.3", type: ScEditorBlockquote, isStandalone: true, selector: "sc-editor-blockquote", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
274
274
|
<button
|
|
275
275
|
[attr.aria-label]="ariaLabel()"
|
|
276
276
|
[scTooltip]="ariaLabel()"
|
|
@@ -284,7 +284,7 @@ class ScEditorBlockquote {
|
|
|
284
284
|
</button>
|
|
285
285
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }, { kind: "component", type: SiQuoteIcon, selector: "svg[si-quote-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
286
286
|
}
|
|
287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorBlockquote, decorators: [{
|
|
288
288
|
type: Component,
|
|
289
289
|
args: [{ selector: 'sc-editor-blockquote', imports: [ScTooltip, ScToggle, SiQuoteIcon], template: `
|
|
290
290
|
<button
|
|
@@ -316,8 +316,8 @@ class ScEditorBold {
|
|
|
316
316
|
toggleBold() {
|
|
317
317
|
this.editor.chain().focus().toggleBold().run();
|
|
318
318
|
}
|
|
319
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
320
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
319
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorBold, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
320
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.3", type: ScEditorBold, isStandalone: true, selector: "sc-editor-bold", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
321
321
|
<button
|
|
322
322
|
[attr.aria-label]="ariaLabel()"
|
|
323
323
|
[scTooltip]="ariaLabel()"
|
|
@@ -331,7 +331,7 @@ class ScEditorBold {
|
|
|
331
331
|
</button>
|
|
332
332
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }, { kind: "component", type: SiBoldIcon, selector: "svg[si-bold-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
333
333
|
}
|
|
334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorBold, decorators: [{
|
|
335
335
|
type: Component,
|
|
336
336
|
args: [{ selector: 'sc-editor-bold', imports: [ScTooltip, ScToggle, SiBoldIcon], template: `
|
|
337
337
|
<button
|
|
@@ -361,8 +361,8 @@ class ScEditorBulletList {
|
|
|
361
361
|
toggleBulletList() {
|
|
362
362
|
this.editor.chain().focus().toggleBulletList().run();
|
|
363
363
|
}
|
|
364
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
365
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
364
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorBulletList, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
365
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorBulletList, isStandalone: true, selector: "sc-editor-bullet-list", ngImport: i0, template: `
|
|
366
366
|
<button
|
|
367
367
|
[attr.aria-label]="ariaLabel"
|
|
368
368
|
[scTooltip]="ariaLabel"
|
|
@@ -376,7 +376,7 @@ class ScEditorBulletList {
|
|
|
376
376
|
</button>
|
|
377
377
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }, { kind: "component", type: SiListIcon, selector: "svg[si-list-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
378
378
|
}
|
|
379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorBulletList, decorators: [{
|
|
380
380
|
type: Component,
|
|
381
381
|
args: [{ selector: 'sc-editor-bullet-list', imports: [ScTooltip, ScToggle, SiListIcon], template: `
|
|
382
382
|
<button
|
|
@@ -406,8 +406,8 @@ class ScEditorCode {
|
|
|
406
406
|
toggleCode() {
|
|
407
407
|
this.editor.chain().focus().toggleCode().run();
|
|
408
408
|
}
|
|
409
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
410
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
409
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorCode, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
410
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorCode, isStandalone: true, selector: "sc-editor-code", ngImport: i0, template: `
|
|
411
411
|
<button
|
|
412
412
|
[attr.aria-label]="ariaLabel"
|
|
413
413
|
[scTooltip]="ariaLabel"
|
|
@@ -421,7 +421,7 @@ class ScEditorCode {
|
|
|
421
421
|
</button>
|
|
422
422
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: SiCodeIcon, selector: "svg[si-code-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
423
423
|
}
|
|
424
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorCode, decorators: [{
|
|
425
425
|
type: Component,
|
|
426
426
|
args: [{ selector: 'sc-editor-code', imports: [ScTooltip, SiCodeIcon, ScToggle], template: `
|
|
427
427
|
<button
|
|
@@ -451,8 +451,8 @@ class ScEditorHighlight {
|
|
|
451
451
|
toggleHighlight() {
|
|
452
452
|
this.editor.chain().focus().toggleHighlight().run();
|
|
453
453
|
}
|
|
454
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
455
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
454
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorHighlight, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
455
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorHighlight, isStandalone: true, selector: "sc-editor-highlight", ngImport: i0, template: `
|
|
456
456
|
<button
|
|
457
457
|
[attr.aria-label]="ariaLabel"
|
|
458
458
|
[scTooltip]="ariaLabel"
|
|
@@ -466,7 +466,7 @@ class ScEditorHighlight {
|
|
|
466
466
|
</button>
|
|
467
467
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }, { kind: "component", type: SiHighlighterIcon, selector: "svg[si-highlighter-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
468
468
|
}
|
|
469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorHighlight, decorators: [{
|
|
470
470
|
type: Component,
|
|
471
471
|
args: [{ selector: 'sc-editor-highlight', imports: [ScTooltip, ScToggle, SiHighlighterIcon], template: `
|
|
472
472
|
<button
|
|
@@ -496,8 +496,8 @@ class ScEditorHorizontalRule {
|
|
|
496
496
|
setHorizontalRule() {
|
|
497
497
|
this.editor.chain().focus().setHorizontalRule().run();
|
|
498
498
|
}
|
|
499
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
500
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
499
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorHorizontalRule, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
500
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorHorizontalRule, isStandalone: true, selector: "sc-editor-horizontal-rule", ngImport: i0, template: `
|
|
501
501
|
<button
|
|
502
502
|
[attr.aria-label]="ariaLabel"
|
|
503
503
|
[scTooltip]="ariaLabel"
|
|
@@ -511,7 +511,7 @@ class ScEditorHorizontalRule {
|
|
|
511
511
|
</button>
|
|
512
512
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }, { kind: "component", type: SiMinusIcon, selector: "svg[si-minus-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
513
513
|
}
|
|
514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorHorizontalRule, decorators: [{
|
|
515
515
|
type: Component,
|
|
516
516
|
args: [{ selector: 'sc-editor-horizontal-rule', imports: [ScTooltip, ScToggle, SiMinusIcon], template: `
|
|
517
517
|
<button
|
|
@@ -541,8 +541,8 @@ class ScEditorItalic {
|
|
|
541
541
|
toggleItalic() {
|
|
542
542
|
this.editor.chain().focus().toggleItalic().run();
|
|
543
543
|
}
|
|
544
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
545
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
544
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorItalic, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
545
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorItalic, isStandalone: true, selector: "sc-editor-italic", ngImport: i0, template: `
|
|
546
546
|
<button
|
|
547
547
|
[attr.aria-label]="ariaLabel"
|
|
548
548
|
[scTooltip]="ariaLabel"
|
|
@@ -556,7 +556,7 @@ class ScEditorItalic {
|
|
|
556
556
|
</button>
|
|
557
557
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }, { kind: "component", type: SiItalicIcon, selector: "svg[si-italic-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
558
558
|
}
|
|
559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorItalic, decorators: [{
|
|
560
560
|
type: Component,
|
|
561
561
|
args: [{ selector: 'sc-editor-italic', imports: [ScTooltip, ScToggle, SiItalicIcon], template: `
|
|
562
562
|
<button
|
|
@@ -586,8 +586,8 @@ class ScEditorOrderedList {
|
|
|
586
586
|
toggleOrderedList() {
|
|
587
587
|
this.editor.chain().focus().toggleOrderedList().run();
|
|
588
588
|
}
|
|
589
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
590
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
589
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorOrderedList, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
590
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorOrderedList, isStandalone: true, selector: "sc-editor-ordered-list", ngImport: i0, template: `
|
|
591
591
|
<button
|
|
592
592
|
[attr.aria-label]="ariaLabel"
|
|
593
593
|
[scTooltip]="ariaLabel"
|
|
@@ -601,7 +601,7 @@ class ScEditorOrderedList {
|
|
|
601
601
|
</button>
|
|
602
602
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }, { kind: "component", type: SiListOrderedIcon, selector: "svg[si-list-ordered-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
603
603
|
}
|
|
604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorOrderedList, decorators: [{
|
|
605
605
|
type: Component,
|
|
606
606
|
args: [{ selector: 'sc-editor-ordered-list', imports: [ScTooltip, ScToggle, SiListOrderedIcon], template: `
|
|
607
607
|
<button
|
|
@@ -626,8 +626,8 @@ class ScEditorParagraph {
|
|
|
626
626
|
setParagraph() {
|
|
627
627
|
this.editor.chain().focus().setParagraph().run();
|
|
628
628
|
}
|
|
629
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
630
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
629
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorParagraph, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
630
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorParagraph, isStandalone: true, selector: "sc-editor-paragraph", ngImport: i0, template: `
|
|
631
631
|
<button [scMenuTriggerFor]="menu" sc-toggle variant="outline" type="button">
|
|
632
632
|
Paragraph & Headings
|
|
633
633
|
</button>
|
|
@@ -675,7 +675,7 @@ class ScEditorParagraph {
|
|
|
675
675
|
</ng-template>
|
|
676
676
|
`, isInline: true, styles: [""], dependencies: [{ kind: "component", type: ScMenuShortcut, selector: "span[sc-menu-shortcut]", inputs: ["class"] }, { kind: "component", type: ScMenuSeparator, selector: "hr[sc-menu-separator]", inputs: ["class"] }, { kind: "component", type: ScMenuGroup, selector: "sc-menu-group", inputs: ["class"] }, { kind: "component", type: ScMenuItem, selector: "button[sc-menu-item]", inputs: ["class", "inset"] }, { kind: "directive", type: ScMenuTriggerFor, selector: "[scMenuTriggerFor]", inputs: ["scMenuTriggerFor"] }, { kind: "component", type: ScMenu, selector: "div[sc-menu]", inputs: ["class"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
677
677
|
}
|
|
678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorParagraph, decorators: [{
|
|
679
679
|
type: Component,
|
|
680
680
|
args: [{ selector: 'sc-editor-paragraph', imports: [
|
|
681
681
|
ScMenuShortcut,
|
|
@@ -747,8 +747,8 @@ class ScEditorRedo {
|
|
|
747
747
|
redo() {
|
|
748
748
|
this.editor.chain().focus().redo().run();
|
|
749
749
|
}
|
|
750
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
751
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
750
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorRedo, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
751
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorRedo, isStandalone: true, selector: "sc-editor-redo", ngImport: i0, template: `
|
|
752
752
|
<button
|
|
753
753
|
[attr.aria-label]="ariaLabel"
|
|
754
754
|
[scTooltip]="ariaLabel"
|
|
@@ -762,7 +762,7 @@ class ScEditorRedo {
|
|
|
762
762
|
</button>
|
|
763
763
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }, { kind: "component", type: SiRedoIcon, selector: "svg[si-redo-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
764
764
|
}
|
|
765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorRedo, decorators: [{
|
|
766
766
|
type: Component,
|
|
767
767
|
args: [{ selector: 'sc-editor-redo', imports: [ScTooltip, ScToggle, SiRedoIcon], template: `
|
|
768
768
|
<button
|
|
@@ -792,8 +792,8 @@ class ScEditorStrike {
|
|
|
792
792
|
toggleStrike() {
|
|
793
793
|
this.editor.chain().focus().toggleStrike().run();
|
|
794
794
|
}
|
|
795
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
796
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
795
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorStrike, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
796
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorStrike, isStandalone: true, selector: "sc-editor-strike", ngImport: i0, template: `
|
|
797
797
|
<button
|
|
798
798
|
[attr.aria-label]="ariaLabel"
|
|
799
799
|
[scTooltip]="ariaLabel"
|
|
@@ -807,7 +807,7 @@ class ScEditorStrike {
|
|
|
807
807
|
</button>
|
|
808
808
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: SiStrikethroughIcon, selector: "svg[si-strikethrough-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
809
809
|
}
|
|
810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorStrike, decorators: [{
|
|
811
811
|
type: Component,
|
|
812
812
|
args: [{ selector: 'sc-editor-strike', imports: [ScTooltip, SiStrikethroughIcon, ScToggle], template: `
|
|
813
813
|
<button
|
|
@@ -837,8 +837,8 @@ class ScEditorTextAlignCenter {
|
|
|
837
837
|
setCenterAlign() {
|
|
838
838
|
this.editor.chain().focus().setTextAlign('center').run();
|
|
839
839
|
}
|
|
840
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
841
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
840
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorTextAlignCenter, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
841
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorTextAlignCenter, isStandalone: true, selector: "sc-editor-text-align-center", ngImport: i0, template: `
|
|
842
842
|
<button
|
|
843
843
|
[attr.aria-label]="ariaLabel"
|
|
844
844
|
[scTooltip]="ariaLabel"
|
|
@@ -852,7 +852,7 @@ class ScEditorTextAlignCenter {
|
|
|
852
852
|
</button>
|
|
853
853
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: SiAlignCenterIcon, selector: "svg[si-align-center-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
854
854
|
}
|
|
855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorTextAlignCenter, decorators: [{
|
|
856
856
|
type: Component,
|
|
857
857
|
args: [{ selector: 'sc-editor-text-align-center', imports: [ScTooltip, SiAlignCenterIcon, ScToggle], template: `
|
|
858
858
|
<button
|
|
@@ -882,8 +882,8 @@ class ScEditorTextAlignLeft {
|
|
|
882
882
|
setLeftAlign() {
|
|
883
883
|
this.editor.chain().focus().setTextAlign('left').run();
|
|
884
884
|
}
|
|
885
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
886
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
885
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorTextAlignLeft, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
886
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorTextAlignLeft, isStandalone: true, selector: "sc-editor-text-align-left", ngImport: i0, template: `
|
|
887
887
|
<button
|
|
888
888
|
[attr.aria-label]="ariaLabel"
|
|
889
889
|
[scTooltip]="ariaLabel"
|
|
@@ -897,7 +897,7 @@ class ScEditorTextAlignLeft {
|
|
|
897
897
|
</button>
|
|
898
898
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: SiAlignLeftIcon, selector: "svg[si-align-left-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
899
899
|
}
|
|
900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorTextAlignLeft, decorators: [{
|
|
901
901
|
type: Component,
|
|
902
902
|
args: [{ selector: 'sc-editor-text-align-left', imports: [ScTooltip, SiAlignLeftIcon, ScToggle], template: `
|
|
903
903
|
<button
|
|
@@ -927,8 +927,8 @@ class ScEditorTextAlignRight {
|
|
|
927
927
|
setRightAlign() {
|
|
928
928
|
this.editor.chain().focus().setTextAlign('right').run();
|
|
929
929
|
}
|
|
930
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
931
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
930
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorTextAlignRight, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
931
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorTextAlignRight, isStandalone: true, selector: "sc-editor-text-align-right", ngImport: i0, template: `
|
|
932
932
|
<button
|
|
933
933
|
[attr.aria-label]="ariaLabel"
|
|
934
934
|
[scTooltip]="ariaLabel"
|
|
@@ -942,7 +942,7 @@ class ScEditorTextAlignRight {
|
|
|
942
942
|
</button>
|
|
943
943
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: SiAlignRightIcon, selector: "svg[si-align-right-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
944
944
|
}
|
|
945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorTextAlignRight, decorators: [{
|
|
946
946
|
type: Component,
|
|
947
947
|
args: [{ selector: 'sc-editor-text-align-right', imports: [ScTooltip, SiAlignRightIcon, ScToggle], template: `
|
|
948
948
|
<button
|
|
@@ -972,8 +972,8 @@ class ScEditorUnderline {
|
|
|
972
972
|
toggleUnderline() {
|
|
973
973
|
this.editor.chain().focus().toggleUnderline().run();
|
|
974
974
|
}
|
|
975
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
976
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
975
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorUnderline, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
976
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorUnderline, isStandalone: true, selector: "sc-editor-underline", ngImport: i0, template: `
|
|
977
977
|
<button
|
|
978
978
|
[attr.aria-label]="ariaLabel"
|
|
979
979
|
[scTooltip]="ariaLabel"
|
|
@@ -987,7 +987,7 @@ class ScEditorUnderline {
|
|
|
987
987
|
</button>
|
|
988
988
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: SiUnderlineIcon, selector: "svg[si-underline-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
989
989
|
}
|
|
990
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
990
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorUnderline, decorators: [{
|
|
991
991
|
type: Component,
|
|
992
992
|
args: [{ selector: 'sc-editor-underline', imports: [ScTooltip, SiUnderlineIcon, ScToggle], template: `
|
|
993
993
|
<button
|
|
@@ -1017,8 +1017,8 @@ class ScEditorUndo {
|
|
|
1017
1017
|
undo() {
|
|
1018
1018
|
this.editor.chain().focus().undo().run();
|
|
1019
1019
|
}
|
|
1020
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1021
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1020
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorUndo, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1021
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorUndo, isStandalone: true, selector: "sc-editor-undo", ngImport: i0, template: `
|
|
1022
1022
|
<button
|
|
1023
1023
|
[attr.aria-label]="ariaLabel"
|
|
1024
1024
|
[scTooltip]="ariaLabel"
|
|
@@ -1032,7 +1032,7 @@ class ScEditorUndo {
|
|
|
1032
1032
|
</button>
|
|
1033
1033
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }, { kind: "component", type: SiUndoIcon, selector: "svg[si-undo-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1034
1034
|
}
|
|
1035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorUndo, decorators: [{
|
|
1036
1036
|
type: Component,
|
|
1037
1037
|
args: [{ selector: 'sc-editor-undo', imports: [ScTooltip, ScToggle, SiUndoIcon], template: `
|
|
1038
1038
|
<button
|
|
@@ -1063,8 +1063,8 @@ class ScEditorUnsetLink {
|
|
|
1063
1063
|
unsetLink() {
|
|
1064
1064
|
this.editor.chain().focus().unsetLink().run();
|
|
1065
1065
|
}
|
|
1066
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1067
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1066
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorUnsetLink, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1067
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScEditorUnsetLink, isStandalone: true, selector: "sc-editor-unset-link", ngImport: i0, template: `
|
|
1068
1068
|
<button
|
|
1069
1069
|
[attr.aria-label]="ariaLabel"
|
|
1070
1070
|
[scTooltip]="ariaLabel"
|
|
@@ -1078,7 +1078,7 @@ class ScEditorUnsetLink {
|
|
|
1078
1078
|
</button>
|
|
1079
1079
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }, { kind: "component", type: SiUnlinkIcon, selector: "svg[si-unlink-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1080
1080
|
}
|
|
1081
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1081
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorUnsetLink, decorators: [{
|
|
1082
1082
|
type: Component,
|
|
1083
1083
|
args: [{ selector: 'sc-editor-unset-link', imports: [ScTooltip, ScToggle, SiUnlinkIcon], template: `
|
|
1084
1084
|
<button
|
|
@@ -1100,12 +1100,12 @@ class ScEditorGroup {
|
|
|
1100
1100
|
alias: 'class',
|
|
1101
1101
|
});
|
|
1102
1102
|
class = computed(() => cn('flex flex-wrap items-center gap-1', this.classInput()));
|
|
1103
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1104
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
1103
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1104
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.3", type: ScEditorGroup, isStandalone: true, selector: "sc-editor-group", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "class()" } }, ngImport: i0, template: `
|
|
1105
1105
|
<ng-content />
|
|
1106
1106
|
`, isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1107
1107
|
}
|
|
1108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorGroup, decorators: [{
|
|
1109
1109
|
type: Component,
|
|
1110
1110
|
args: [{ selector: 'sc-editor-group', imports: [], template: `
|
|
1111
1111
|
<ng-content />
|
|
@@ -1119,12 +1119,12 @@ class ScEditorToolbar {
|
|
|
1119
1119
|
alias: 'class',
|
|
1120
1120
|
});
|
|
1121
1121
|
class = computed(() => cn('flex items-center justify-between border-b p-2 dark:border-gray-700', this.classInput()));
|
|
1122
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1123
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
1122
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorToolbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1123
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.3", type: ScEditorToolbar, isStandalone: true, selector: "sc-editor-toolbar", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "class()" } }, ngImport: i0, template: `
|
|
1124
1124
|
<ng-content />
|
|
1125
1125
|
`, isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1126
1126
|
}
|
|
1127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScEditorToolbar, decorators: [{
|
|
1128
1128
|
type: Component,
|
|
1129
1129
|
args: [{ selector: 'sc-editor-toolbar', imports: [], template: `
|
|
1130
1130
|
<ng-content />
|
|
@@ -1441,8 +1441,8 @@ class ScExtensionColor {
|
|
|
1441
1441
|
const hexColor = e.target.getAttribute('data-hex-color');
|
|
1442
1442
|
this.editor.chain().focus().setColor(hexColor).run();
|
|
1443
1443
|
}
|
|
1444
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1445
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1444
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionColor, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1445
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.3", type: ScExtensionColor, isStandalone: true, selector: "sc-extension-color", ngImport: i0, template: `
|
|
1446
1446
|
<button
|
|
1447
1447
|
class="cursor-pointer rounded p-1.5 text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
1448
1448
|
[cdkMenuTriggerFor]="textColorDropdown"
|
|
@@ -1502,7 +1502,7 @@ class ScExtensionColor {
|
|
|
1502
1502
|
</ng-template>
|
|
1503
1503
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: CdkMenuTrigger, selector: "[cdkMenuTriggerFor]", inputs: ["cdkMenuTriggerFor", "cdkMenuPosition", "cdkMenuTriggerData"], outputs: ["cdkMenuOpened", "cdkMenuClosed"], exportAs: ["cdkMenuTriggerFor"] }, { kind: "directive", type: CdkMenu, selector: "[cdkMenu]", outputs: ["closed"], exportAs: ["cdkMenu"] }, { kind: "directive", type: CdkMenuItem, selector: "[cdkMenuItem]", inputs: ["cdkMenuItemDisabled", "cdkMenuitemTypeaheadLabel"], outputs: ["cdkMenuItemTriggered"], exportAs: ["cdkMenuItem"] }, { kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: SiPaletteIcon, selector: "svg[si-palette-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1504
1504
|
}
|
|
1505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionColor, decorators: [{
|
|
1506
1506
|
type: Component,
|
|
1507
1507
|
args: [{ selector: 'sc-extension-color', imports: [CdkMenuTrigger, CdkMenu, CdkMenuItem, ScTooltip, SiPaletteIcon], template: `
|
|
1508
1508
|
<button
|
|
@@ -1581,8 +1581,8 @@ class ScExtensionFontFamily {
|
|
|
1581
1581
|
}
|
|
1582
1582
|
this.editor.chain().focus().setFontFamily(fontFamily).run();
|
|
1583
1583
|
}
|
|
1584
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1585
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1584
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionFontFamily, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1585
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScExtensionFontFamily, isStandalone: true, selector: "sc-extension-font-family", ngImport: i0, template: `
|
|
1586
1586
|
<button
|
|
1587
1587
|
class="cursor-pointer rounded p-1.5 text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
1588
1588
|
[cdkMenuTriggerFor]="fontFamilyDropdown"
|
|
@@ -1728,7 +1728,7 @@ class ScExtensionFontFamily {
|
|
|
1728
1728
|
</ng-template>
|
|
1729
1729
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: CdkMenuTrigger, selector: "[cdkMenuTriggerFor]", inputs: ["cdkMenuTriggerFor", "cdkMenuPosition", "cdkMenuTriggerData"], outputs: ["cdkMenuOpened", "cdkMenuClosed"], exportAs: ["cdkMenuTriggerFor"] }, { kind: "directive", type: CdkMenu, selector: "[cdkMenu]", outputs: ["closed"], exportAs: ["cdkMenu"] }, { kind: "directive", type: CdkMenuItem, selector: "[cdkMenuItem]", inputs: ["cdkMenuItemDisabled", "cdkMenuitemTypeaheadLabel"], outputs: ["cdkMenuItemTriggered"], exportAs: ["cdkMenuItem"] }, { kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1730
1730
|
}
|
|
1731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionFontFamily, decorators: [{
|
|
1732
1732
|
type: Component,
|
|
1733
1733
|
args: [{ selector: 'sc-extension-font-family', imports: [CdkMenuTrigger, CdkMenu, CdkMenuItem, ScTooltip], template: `
|
|
1734
1734
|
<button
|
|
@@ -1885,8 +1885,8 @@ class ScExtensionHeading {
|
|
|
1885
1885
|
setHeadingLevel(level) {
|
|
1886
1886
|
this.editor.chain().focus().toggleHeading({ level: level }).run();
|
|
1887
1887
|
}
|
|
1888
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1889
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1888
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionHeading, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1889
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScExtensionHeading, isStandalone: true, selector: "sc-extension-heading", ngImport: i0, template: `
|
|
1890
1890
|
<button
|
|
1891
1891
|
class="flex items-center justify-center rounded-lg bg-gray-100 px-3 py-1.5 text-sm font-medium text-gray-500 hover:bg-gray-200 hover:text-gray-900 focus:z-10 focus:outline-none focus:ring-4 focus:ring-gray-50 dark:bg-gray-600 dark:text-gray-400 dark:hover:bg-gray-500 dark:hover:text-white dark:focus:ring-gray-600"
|
|
1892
1892
|
[cdkMenuTriggerFor]="typographyDropdown"
|
|
@@ -2087,7 +2087,7 @@ class ScExtensionHeading {
|
|
|
2087
2087
|
</ng-template>
|
|
2088
2088
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: CdkMenuTrigger, selector: "[cdkMenuTriggerFor]", inputs: ["cdkMenuTriggerFor", "cdkMenuPosition", "cdkMenuTriggerData"], outputs: ["cdkMenuOpened", "cdkMenuClosed"], exportAs: ["cdkMenuTriggerFor"] }, { kind: "directive", type: CdkMenu, selector: "[cdkMenu]", outputs: ["closed"], exportAs: ["cdkMenu"] }, { kind: "directive", type: CdkMenuItem, selector: "[cdkMenuItem]", inputs: ["cdkMenuItemDisabled", "cdkMenuitemTypeaheadLabel"], outputs: ["cdkMenuItemTriggered"], exportAs: ["cdkMenuItem"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2089
2089
|
}
|
|
2090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionHeading, decorators: [{
|
|
2091
2091
|
type: Component,
|
|
2092
2092
|
args: [{ selector: 'sc-extension-heading', imports: [CdkMenuTrigger, CdkMenu, CdkMenuItem], template: `
|
|
2093
2093
|
<button
|
|
@@ -2307,8 +2307,8 @@ class ScAddImageDialog {
|
|
|
2307
2307
|
get title() {
|
|
2308
2308
|
return this.imageForm.get('title');
|
|
2309
2309
|
}
|
|
2310
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2311
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2310
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScAddImageDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2311
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScAddImageDialog, isStandalone: true, selector: "sc-add-image-dialog", ngImport: i0, template: `
|
|
2312
2312
|
<div
|
|
2313
2313
|
class="z-50 h-[calc(100%-1rem)] max-h-full w-full items-center justify-center overflow-y-auto overflow-x-hidden md:inset-0"
|
|
2314
2314
|
tabindex="-1"
|
|
@@ -2414,7 +2414,7 @@ class ScAddImageDialog {
|
|
|
2414
2414
|
</div>
|
|
2415
2415
|
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2416
2416
|
}
|
|
2417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScAddImageDialog, decorators: [{
|
|
2418
2418
|
type: Component,
|
|
2419
2419
|
args: [{ selector: 'sc-add-image-dialog', imports: [ReactiveFormsModule], template: `
|
|
2420
2420
|
<div
|
|
@@ -2555,8 +2555,8 @@ class ScExtensionImage {
|
|
|
2555
2555
|
this.setImage(result);
|
|
2556
2556
|
});
|
|
2557
2557
|
}
|
|
2558
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2559
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2558
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionImage, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2559
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScExtensionImage, isStandalone: true, selector: "sc-extension-image", ngImport: i0, template: `
|
|
2560
2560
|
<button
|
|
2561
2561
|
class="cursor-pointer rounded p-1.5 text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
2562
2562
|
(click)="openDialog()"
|
|
@@ -2626,7 +2626,7 @@ class ScExtensionImage {
|
|
|
2626
2626
|
</ng-template>
|
|
2627
2627
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "ngmodule", type: DialogModule }, { kind: "component", type: ScButton, selector: "button[sc-button]" }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }, { kind: "component", type: ScLabel, selector: "label[sc-label]", inputs: ["class", "for"] }, { kind: "component", type: ScInput, selector: "input[sc-input]", inputs: ["class", "value", "id"], outputs: ["valueChange"] }, { kind: "directive", type: ScPopoverTriggerFor, selector: "[scPopoverTriggerFor]", inputs: ["scPopoverTriggerFor"] }, { kind: "component", type: SiImagePlusIcon, selector: "svg[si-image-plus-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2628
2628
|
}
|
|
2629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2629
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionImage, decorators: [{
|
|
2630
2630
|
type: Component,
|
|
2631
2631
|
args: [{ selector: 'sc-extension-image', imports: [
|
|
2632
2632
|
ScTooltip,
|
|
@@ -2716,8 +2716,8 @@ class ScAddLinkDialog {
|
|
|
2716
2716
|
get url() {
|
|
2717
2717
|
return this.linkForm.get('url');
|
|
2718
2718
|
}
|
|
2719
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2720
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2719
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScAddLinkDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2720
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScAddLinkDialog, isStandalone: true, selector: "sc-add-link-dialog", ngImport: i0, template: `
|
|
2721
2721
|
<div
|
|
2722
2722
|
class="z-50 h-[calc(100%-1rem)] max-h-full w-full items-center justify-center overflow-y-auto overflow-x-hidden md:inset-0"
|
|
2723
2723
|
tabindex="-1"
|
|
@@ -2789,7 +2789,7 @@ class ScAddLinkDialog {
|
|
|
2789
2789
|
</div>
|
|
2790
2790
|
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2791
2791
|
}
|
|
2792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScAddLinkDialog, decorators: [{
|
|
2793
2793
|
type: Component,
|
|
2794
2794
|
args: [{ selector: 'sc-add-link-dialog', imports: [ReactiveFormsModule], template: `
|
|
2795
2795
|
<div
|
|
@@ -2886,8 +2886,8 @@ class ScExtensionLink {
|
|
|
2886
2886
|
.run();
|
|
2887
2887
|
});
|
|
2888
2888
|
}
|
|
2889
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2890
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2889
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionLink, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2890
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScExtensionLink, isStandalone: true, selector: "sc-extension-link", ngImport: i0, template: `
|
|
2891
2891
|
<button
|
|
2892
2892
|
class="cursor-pointer rounded p-1.5 text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
2893
2893
|
(click)="openDialog()"
|
|
@@ -2915,7 +2915,7 @@ class ScExtensionLink {
|
|
|
2915
2915
|
</button>
|
|
2916
2916
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2917
2917
|
}
|
|
2918
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2918
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionLink, decorators: [{
|
|
2919
2919
|
type: Component,
|
|
2920
2920
|
args: [{ selector: 'sc-extension-link', imports: [ScTooltip], template: `
|
|
2921
2921
|
<button
|
|
@@ -2958,8 +2958,8 @@ class ScAddCellAttributeDialog {
|
|
|
2958
2958
|
get value() {
|
|
2959
2959
|
return this.attributeForm.get('value');
|
|
2960
2960
|
}
|
|
2961
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2962
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2961
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScAddCellAttributeDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2962
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScAddCellAttributeDialog, isStandalone: true, selector: "sc-add-cell-attribute-dialog", ngImport: i0, template: `
|
|
2963
2963
|
<div
|
|
2964
2964
|
class="fixed inset-x-0 top-0 z-50 h-[calc(100%-1rem)] max-h-full w-full items-center justify-center overflow-y-auto overflow-x-hidden md:inset-0"
|
|
2965
2965
|
id="cell-attribute-modal"
|
|
@@ -3049,7 +3049,7 @@ class ScAddCellAttributeDialog {
|
|
|
3049
3049
|
</div>
|
|
3050
3050
|
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3051
3051
|
}
|
|
3052
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3052
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScAddCellAttributeDialog, decorators: [{
|
|
3053
3053
|
type: Component,
|
|
3054
3054
|
args: [{ selector: 'sc-add-cell-attribute-dialog', imports: [ReactiveFormsModule], template: `
|
|
3055
3055
|
<div
|
|
@@ -3211,8 +3211,8 @@ class ScExtensionTable {
|
|
|
3211
3211
|
this.editor.commands.setCellAttribute(result?.name ?? '', result?.value ?? '');
|
|
3212
3212
|
});
|
|
3213
3213
|
}
|
|
3214
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3215
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3214
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionTable, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3215
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScExtensionTable, isStandalone: true, selector: "sc-extension-table", ngImport: i0, template: `
|
|
3216
3216
|
<button
|
|
3217
3217
|
class="cursor-pointer rounded p-1.5 text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
3218
3218
|
(click)="insertTable()"
|
|
@@ -3687,7 +3687,7 @@ class ScExtensionTable {
|
|
|
3687
3687
|
</button>
|
|
3688
3688
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "component", type: ScSeparator, selector: "sc-separator", inputs: ["orientation", "class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3689
3689
|
}
|
|
3690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionTable, decorators: [{
|
|
3691
3691
|
type: Component,
|
|
3692
3692
|
args: [{ selector: 'sc-extension-table', imports: [ScTooltip, ScSeparator], template: `
|
|
3693
3693
|
<button
|
|
@@ -4177,8 +4177,8 @@ class ScExtensionTextStyle {
|
|
|
4177
4177
|
setTextSize(fontSize) {
|
|
4178
4178
|
this.editor.chain().focus().setMark('textStyle', { fontSize }).run();
|
|
4179
4179
|
}
|
|
4180
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4181
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4180
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionTextStyle, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4181
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScExtensionTextStyle, isStandalone: true, selector: "sc-extension-text-style", ngImport: i0, template: `
|
|
4182
4182
|
<button
|
|
4183
4183
|
class="cursor-pointer rounded p-1.5 text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4184
4184
|
[cdkMenuTriggerFor]="textSizeDropdown"
|
|
@@ -4283,7 +4283,7 @@ class ScExtensionTextStyle {
|
|
|
4283
4283
|
</ng-template>
|
|
4284
4284
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: CdkMenuTrigger, selector: "[cdkMenuTriggerFor]", inputs: ["cdkMenuTriggerFor", "cdkMenuPosition", "cdkMenuTriggerData"], outputs: ["cdkMenuOpened", "cdkMenuClosed"], exportAs: ["cdkMenuTriggerFor"] }, { kind: "directive", type: CdkMenu, selector: "[cdkMenu]", outputs: ["closed"], exportAs: ["cdkMenu"] }, { kind: "directive", type: CdkMenuItem, selector: "[cdkMenuItem]", inputs: ["cdkMenuItemDisabled", "cdkMenuitemTypeaheadLabel"], outputs: ["cdkMenuItemTriggered"], exportAs: ["cdkMenuItem"] }, { kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4285
4285
|
}
|
|
4286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionTextStyle, decorators: [{
|
|
4287
4287
|
type: Component,
|
|
4288
4288
|
args: [{ selector: 'sc-extension-text-style', imports: [CdkMenuTrigger, CdkMenu, CdkMenuItem, ScTooltip], template: `
|
|
4289
4289
|
<button
|
|
@@ -4414,8 +4414,8 @@ class ScAddVideoDialog {
|
|
|
4414
4414
|
height: parseInt(this.height?.value ?? ''),
|
|
4415
4415
|
};
|
|
4416
4416
|
}
|
|
4417
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4418
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4417
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScAddVideoDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4418
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScAddVideoDialog, isStandalone: true, selector: "sc-add-video-dialog", ngImport: i0, template: `
|
|
4419
4419
|
<div
|
|
4420
4420
|
class="z-50 h-[calc(100%-1rem)] max-h-full w-full items-center justify-center overflow-y-auto overflow-x-hidden md:inset-0"
|
|
4421
4421
|
tabindex="-1"
|
|
@@ -4517,7 +4517,7 @@ class ScAddVideoDialog {
|
|
|
4517
4517
|
</div>
|
|
4518
4518
|
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4519
4519
|
}
|
|
4520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScAddVideoDialog, decorators: [{
|
|
4521
4521
|
type: Component,
|
|
4522
4522
|
args: [{ selector: 'sc-add-video-dialog', imports: [ReactiveFormsModule], template: `
|
|
4523
4523
|
<div
|
|
@@ -4649,8 +4649,8 @@ class ScExtensionYoutube {
|
|
|
4649
4649
|
this.setYoutubeVideo(result);
|
|
4650
4650
|
});
|
|
4651
4651
|
}
|
|
4652
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4653
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4652
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionYoutube, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4653
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.3", type: ScExtensionYoutube, isStandalone: true, selector: "sc-extension-youtube", ngImport: i0, template: `
|
|
4654
4654
|
<button
|
|
4655
4655
|
class="cursor-pointer rounded p-1.5 text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
4656
4656
|
(click)="openDialog()"
|
|
@@ -4680,7 +4680,7 @@ class ScExtensionYoutube {
|
|
|
4680
4680
|
</button>
|
|
4681
4681
|
`, isInline: true, styles: [""], dependencies: [{ kind: "directive", type: ScTooltip, selector: "[scTooltip]", inputs: ["scTooltip", "position"] }, { kind: "ngmodule", type: DialogModule }, { kind: "component", type: ScToggle, selector: "button[sc-toggle]" }, { kind: "component", type: SiFileVideoIcon, selector: "svg[si-file-video-icon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4682
4682
|
}
|
|
4683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ScExtensionYoutube, decorators: [{
|
|
4684
4684
|
type: Component,
|
|
4685
4685
|
args: [{ selector: 'sc-extension-youtube', imports: [ScTooltip, DialogModule, ScToggle, SiFileVideoIcon], template: `
|
|
4686
4686
|
<button
|