@semantic-components/ui 0.3.0 → 0.3.1
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 +13 -13
- package/fesm2022/semantic-components-ui.mjs +8738 -1137
- package/fesm2022/semantic-components-ui.mjs.map +1 -1
- package/index.d.ts +15 -6
- package/lib/components/breadcrumb/breadcrumb-elipssis.d.ts +5 -0
- package/lib/components/breadcrumb/breadcrumb-item.d.ts +5 -0
- package/lib/components/breadcrumb/breadcrumb-link.d.ts +5 -0
- package/lib/components/breadcrumb/breadcrumb-list.d.ts +5 -0
- package/lib/components/breadcrumb/breadcrumb-page.d.ts +5 -0
- package/lib/components/breadcrumb/breadcrumb-separator.d.ts +5 -0
- package/lib/components/breadcrumb/breadcrumb.d.ts +6 -0
- package/lib/components/breadcrumb/index.d.ts +7 -0
- package/lib/components/button/button.d.ts +7 -0
- package/lib/components/button/index.d.ts +1 -0
- package/lib/components/editor/editor.d.ts +25 -0
- package/lib/components/editor/extensions/extension-blockquote.d.ts +11 -0
- package/lib/components/editor/extensions/extension-bold.d.ts +11 -0
- package/lib/components/editor/extensions/extension-bullet-list.d.ts +11 -0
- package/lib/components/editor/extensions/extension-code.d.ts +11 -0
- package/lib/components/editor/extensions/extension-color.d.ts +12 -0
- package/lib/components/editor/extensions/extension-font-family.d.ts +11 -0
- package/lib/components/editor/extensions/extension-heading.d.ts +9 -0
- package/lib/components/editor/extensions/extension-highlight.d.ts +11 -0
- package/lib/components/editor/extensions/extension-history.d.ts +12 -0
- package/lib/components/editor/extensions/extension-horizontal-rule.d.ts +11 -0
- package/lib/components/editor/extensions/extension-image.d.ts +15 -0
- package/lib/components/editor/extensions/extension-italic.d.ts +11 -0
- package/lib/components/editor/extensions/extension-link.d.ts +14 -0
- package/lib/components/editor/extensions/extension-ordered-list.d.ts +11 -0
- package/lib/components/editor/extensions/extension-paragraph.d.ts +8 -0
- package/lib/components/editor/extensions/extension-strike.d.ts +11 -0
- package/lib/components/editor/extensions/extension-table.d.ts +30 -0
- package/lib/components/editor/extensions/extension-text-align.d.ts +13 -0
- package/lib/components/editor/extensions/extension-text-style.d.ts +11 -0
- package/lib/components/editor/extensions/extension-underline.d.ts +11 -0
- package/lib/components/editor/extensions/extension-youtube.d.ts +15 -0
- package/lib/components/editor/extensions/extensions.d.ts +24 -0
- package/lib/components/editor/toolbar/add-cell-attribute-dialog.d.ts +18 -0
- package/lib/components/editor/toolbar/add-image-dialog.d.ts +21 -0
- package/lib/components/editor/toolbar/add-link-dialog.d.ts +15 -0
- package/lib/components/editor/toolbar/add-video-dialog.d.ts +26 -0
- package/lib/components/editor/toolbar/extensions-group.d.ts +5 -0
- package/lib/components/editor/toolbar/extensions-separator.d.ts +5 -0
- package/lib/components/input/index.d.ts +1 -0
- package/lib/components/input/input.d.ts +5 -0
- package/lib/components/label/index.d.ts +1 -0
- package/lib/components/label/label.d.ts +5 -0
- package/lib/components/nav/index.d.ts +5 -0
- package/lib/components/nav/nav-button-base.d.ts +5 -0
- package/lib/components/nav/nav-button.d.ts +6 -0
- package/lib/components/nav/nav-item-dropdown.d.ts +6 -0
- package/lib/components/nav/nav-item.d.ts +5 -0
- package/lib/components/nav/nav-link.d.ts +6 -0
- package/lib/components/nav/nav-list.d.ts +5 -0
- package/lib/components/nav/nav.d.ts +5 -0
- package/lib/components/paginator/index.d.ts +2 -0
- package/lib/components/paginator/page-event.d.ts +10 -0
- package/lib/components/paginator/page-item.d.ts +10 -0
- package/lib/components/paginator/paginator.d.ts +37 -0
- package/lib/components/progress/index.d.ts +1 -0
- package/lib/components/progress/progress.d.ts +8 -0
- package/lib/components/select/index.d.ts +2 -0
- package/lib/components/select/option.d.ts +11 -0
- package/lib/components/select/select-state.d.ts +9 -0
- package/lib/components/select/select.d.ts +40 -0
- package/lib/components/sidebar/constants.d.ts +2 -0
- package/lib/components/sidebar/index.d.ts +1 -0
- package/lib/components/sidebar/sidebar-content.d.ts +5 -0
- package/lib/components/sidebar/sidebar-footer.d.ts +5 -0
- package/lib/components/sidebar/sidebar-header.d.ts +5 -0
- package/lib/components/sidebar/sidebar-layout.d.ts +20 -0
- package/lib/components/sidebar/sidebar.d.ts +10 -0
- package/lib/components/textarea/index.d.ts +1 -0
- package/lib/components/textarea/textarea.d.ts +5 -0
- package/lib/components/theme-toggler/index.d.ts +2 -0
- package/lib/components/theme-toggler/theme-provider-factory.d.ts +1 -0
- package/lib/components/theme-toggler/theme-toggler.d.ts +9 -0
- package/lib/components/theme-toggler/theme.d.ts +8 -0
- package/lib/components/tooltip/tooltip-container.d.ts +6 -0
- package/{components → lib/components}/tooltip/tooltip.d.ts +5 -3
- package/package.json +35 -10
- package/components/editor/editor.d.ts +0 -5
- package/components/nav/index.d.ts +0 -3
- package/components/nav/nav-item-dropdown.component.d.ts +0 -5
- package/components/nav/nav-item.component.d.ts +0 -5
- package/components/nav/nav.component.d.ts +0 -5
- package/components/select/index.d.ts +0 -2
- package/components/select/select-option.component.d.ts +0 -7
- package/components/select/select.component.d.ts +0 -55
- package/components/tooltip/tooltip-container.d.ts +0 -7
- package/esm2022/components/date-picker/date-picker.component.mjs +0 -189
- package/esm2022/components/date-picker/index.mjs +0 -3
- package/esm2022/components/date-picker/inline-date-picker.component.mjs +0 -185
- package/esm2022/components/date-picker/month-days.component.mjs +0 -69
- package/esm2022/components/date-picker/month-year-header.component.mjs +0 -124
- package/esm2022/components/date-picker/week-days-names.component.mjs +0 -37
- package/esm2022/components/dropdown/dropdown-divider.component.mjs +0 -16
- package/esm2022/components/dropdown/dropdown-item.component.mjs +0 -33
- package/esm2022/components/dropdown/dropdown.component.mjs +0 -85
- package/esm2022/components/dropdown/index.mjs +0 -4
- package/esm2022/components/editor/editor.mjs +0 -16
- package/esm2022/components/editor/index.mjs +0 -2
- package/esm2022/components/nav/index.mjs +0 -4
- package/esm2022/components/nav/nav-item-dropdown.component.mjs +0 -148
- package/esm2022/components/nav/nav-item.component.mjs +0 -16
- package/esm2022/components/nav/nav.component.mjs +0 -16
- package/esm2022/components/select/index.mjs +0 -3
- package/esm2022/components/select/select-option.component.mjs +0 -28
- package/esm2022/components/select/select.component.mjs +0 -252
- package/esm2022/components/tooltip/index.mjs +0 -2
- package/esm2022/components/tooltip/tooltip-container.mjs +0 -58
- package/esm2022/components/tooltip/tooltip.mjs +0 -79
- package/esm2022/index.mjs +0 -7
- package/esm2022/semantic-components-ui.mjs +0 -5
- /package/{components → lib/components}/date-picker/date-picker.component.d.ts +0 -0
- /package/{components → lib/components}/date-picker/index.d.ts +0 -0
- /package/{components → lib/components}/date-picker/inline-date-picker.component.d.ts +0 -0
- /package/{components → lib/components}/date-picker/month-days.component.d.ts +0 -0
- /package/{components → lib/components}/date-picker/month-year-header.component.d.ts +0 -0
- /package/{components → lib/components}/date-picker/week-days-names.component.d.ts +0 -0
- /package/{components → lib/components}/dropdown/dropdown-divider.component.d.ts +0 -0
- /package/{components → lib/components}/dropdown/dropdown-item.component.d.ts +0 -0
- /package/{components → lib/components}/dropdown/dropdown.component.d.ts +0 -0
- /package/{components → lib/components}/dropdown/index.d.ts +0 -0
- /package/{components → lib/components}/editor/index.d.ts +0 -0
- /package/{components → lib/components}/tooltip/index.d.ts +0 -0
package/index.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
export * from './components/
|
|
2
|
-
export * from './components/
|
|
3
|
-
export * from './components/
|
|
4
|
-
export * from './components/
|
|
5
|
-
export * from './components/
|
|
6
|
-
export * from './components/
|
|
1
|
+
export * from './lib/components/editor';
|
|
2
|
+
export * from './lib/components/tooltip';
|
|
3
|
+
export * from './lib/components/paginator';
|
|
4
|
+
export * from './lib/components/dropdown';
|
|
5
|
+
export * from './lib/components/date-picker';
|
|
6
|
+
export * from './lib/components/nav';
|
|
7
|
+
export * from './lib/components/theme-toggler';
|
|
8
|
+
export * from './lib/components/button';
|
|
9
|
+
export * from './lib/components/input';
|
|
10
|
+
export * from './lib/components/label';
|
|
11
|
+
export * from './lib/components/textarea';
|
|
12
|
+
export * from './lib/components/select';
|
|
13
|
+
export * from './lib/components/progress';
|
|
14
|
+
export * from './lib/components/sidebar';
|
|
15
|
+
export * from './lib/components/breadcrumb';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScBreadcrumbElipssis {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScBreadcrumbElipssis, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScBreadcrumbElipssis, "span[sc-breadcrumb-elipssis]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScBreadcrumbItem {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScBreadcrumbItem, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScBreadcrumbItem, "li[sc-breadcrumb-item]", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScBreadcrumbLink {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScBreadcrumbLink, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScBreadcrumbLink, "a[sc-breadcrumb-link]", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScBreadcrumbList {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScBreadcrumbList, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScBreadcrumbList, "ol[sc-breadcrumb-list]", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScBreadcrumbPage {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScBreadcrumbPage, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScBreadcrumbPage, "span[sc-breadcrumb-page]", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScBreadcrumbSeparator {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScBreadcrumbSeparator, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScBreadcrumbSeparator, "li[sc-breadcrumb-separator]", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScBreadcrumb {
|
|
3
|
+
ariaLabel: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScBreadcrumb, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScBreadcrumb, "nav[sc-breadcrumb]", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScButton {
|
|
3
|
+
variant: import("@angular/core").InputSignal<"link" | "primary" | "secondary" | "destructive" | "outline" | "ghost">;
|
|
4
|
+
size: import("@angular/core").InputSignal<"icon" | "default" | "sm" | "lg">;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScButton, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScButton, "button[sc-button], a[sc-button]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './button';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { Editor } from '@tiptap/core';
|
|
4
|
+
import { ScExtensions } from './extensions/extensions';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ScEditor implements ControlValueAccessor {
|
|
7
|
+
private readonly _cdr;
|
|
8
|
+
readonly editorDiv: import("@angular/core").Signal<ElementRef<any>>;
|
|
9
|
+
_value: import("@angular/core").WritableSignal<string>;
|
|
10
|
+
_isEditable: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
class: import("@angular/core").InputSignal<string>;
|
|
12
|
+
_onChange: (value: string) => void;
|
|
13
|
+
_onTouched: () => void;
|
|
14
|
+
editor: Editor;
|
|
15
|
+
extensions: ScExtensions;
|
|
16
|
+
constructor();
|
|
17
|
+
createEditor(): Promise<void>;
|
|
18
|
+
writeValue(value: string): void;
|
|
19
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
20
|
+
registerOnTouched(fn: () => void): void;
|
|
21
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
22
|
+
setHtmlContent(htmlContent: string): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScEditor, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScEditor, "sc-editor", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionBlockquote {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
toggleBlockquote(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionBlockquote, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionBlockquote, "sc-extension-blockquote", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionBold {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
toggleBold(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionBold, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionBold, "sc-extension-bold", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionBulletList {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
toggleBulletList(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionBulletList, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionBulletList, "sc-extension-bullet-list", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionCode {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
toggleCode(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionCode, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionCode, "sc-extension-code", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionColor {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
resetColor(): void;
|
|
9
|
+
setHexColor(e: any): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionColor, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionColor, "sc-extension-color", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionFontFamily {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
setFontFamily(e: Event): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionFontFamily, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionFontFamily, "sc-extension-font-family", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Level } from '@tiptap/extension-heading';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionHeading {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
get editor(): import("@tiptap/core").Editor;
|
|
6
|
+
setHeadingLevel(level: Level): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionHeading, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionHeading, "sc-extension-heading", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionHighlight {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
toggleHighlight(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionHighlight, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionHighlight, "sc-extension-highlight", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionHistory {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
undo(): void;
|
|
9
|
+
redo(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionHistory, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionHistory, "sc-extension-history", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionHorizontalRule {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
setHorizontalRule(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionHorizontalRule, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionHorizontalRule, "sc-extension-horizontal-rule", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Dialog } from '@angular/cdk/dialog';
|
|
2
|
+
import { ImageData } from '../toolbar/add-image-dialog';
|
|
3
|
+
import { ScExtensions } from './extensions';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ScExtensionImage {
|
|
6
|
+
private readonly parent;
|
|
7
|
+
dialog: Dialog;
|
|
8
|
+
extensions: ScExtensions;
|
|
9
|
+
constructor();
|
|
10
|
+
get editor(): import("@tiptap/core").Editor;
|
|
11
|
+
setImage(image: ImageData | undefined): void;
|
|
12
|
+
openDialog(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionImage, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionImage, "sc-extension-image", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionItalic {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
toggleItalic(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionItalic, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionItalic, "sc-extension-italic", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Dialog } from '@angular/cdk/dialog';
|
|
2
|
+
import { ScExtensions } from './extensions';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ScExtensionLink {
|
|
5
|
+
private readonly parent;
|
|
6
|
+
dialog: Dialog;
|
|
7
|
+
extensions: ScExtensions;
|
|
8
|
+
constructor();
|
|
9
|
+
get editor(): import("@tiptap/core").Editor;
|
|
10
|
+
openDialog(): void;
|
|
11
|
+
removeLink(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionLink, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionLink, "sc-extension-link", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionOrderedList {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
toggleOrderedList(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionOrderedList, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionOrderedList, "sc-extension-ordered-list", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScExtensionParagraph {
|
|
3
|
+
private readonly parent;
|
|
4
|
+
get editor(): import("@tiptap/core").Editor;
|
|
5
|
+
setParagraph(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionParagraph, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionParagraph, "sc-extension-paragraph", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionStrike {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
toggleStrike(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionStrike, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionStrike, "sc-extension-strike", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Dialog } from '@angular/cdk/dialog';
|
|
2
|
+
import { ScExtensions } from './extensions';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ScExtensionTable {
|
|
5
|
+
private readonly parent;
|
|
6
|
+
dialog: Dialog;
|
|
7
|
+
extensions: ScExtensions;
|
|
8
|
+
constructor();
|
|
9
|
+
get editor(): import("@tiptap/core").Editor;
|
|
10
|
+
insertTable(): void;
|
|
11
|
+
deleteTable(): void;
|
|
12
|
+
addColumnBefore(): void;
|
|
13
|
+
addColumnAfter(): void;
|
|
14
|
+
deleteColumn(): void;
|
|
15
|
+
addRowBefore(): void;
|
|
16
|
+
addRowAfter(): void;
|
|
17
|
+
deleteRow(): void;
|
|
18
|
+
mergeCells(): void;
|
|
19
|
+
splitCell(): void;
|
|
20
|
+
mergeOrSplit(): void;
|
|
21
|
+
toggleHeaderColumn(): void;
|
|
22
|
+
toggleHeaderRow(): void;
|
|
23
|
+
toggleHeaderCell(): void;
|
|
24
|
+
fixTables(): void;
|
|
25
|
+
goToPreviousCell(): void;
|
|
26
|
+
goToNextCell(): void;
|
|
27
|
+
openDialog(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionTable, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionTable, "sc-extension-table", never, {}, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionTextAlignAction {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
setLeftAlign(): void;
|
|
9
|
+
setCenterAlign(): void;
|
|
10
|
+
setRightAlignButton(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionTextAlignAction, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionTextAlignAction, "sc-extension-text-align", never, {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionTextStyle {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
setTextSize(fontSize: string): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionTextStyle, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionTextStyle, "sc-extension-text-style", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ScExtensions } from './extensions';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScExtensionUnderline {
|
|
4
|
+
private readonly parent;
|
|
5
|
+
extensions: ScExtensions;
|
|
6
|
+
constructor();
|
|
7
|
+
get editor(): import("@tiptap/core").Editor;
|
|
8
|
+
toggleUnderline(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionUnderline, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionUnderline, "sc-extension-underline", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Dialog } from '@angular/cdk/dialog';
|
|
2
|
+
import { VideoData } from '../toolbar/add-video-dialog';
|
|
3
|
+
import { ScExtensions } from './extensions';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ScExtensionYoutube {
|
|
6
|
+
private readonly parent;
|
|
7
|
+
dialog: Dialog;
|
|
8
|
+
extensions: ScExtensions;
|
|
9
|
+
constructor();
|
|
10
|
+
get editor(): import("@tiptap/core").Editor;
|
|
11
|
+
setYoutubeVideo(video: VideoData | undefined): void;
|
|
12
|
+
openDialog(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionYoutube, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionYoutube, "sc-extension-youtube", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScExtensions {
|
|
3
|
+
highlight: import("@angular/core").WritableSignal<boolean>;
|
|
4
|
+
color: import("@angular/core").WritableSignal<boolean>;
|
|
5
|
+
underline: import("@angular/core").WritableSignal<boolean>;
|
|
6
|
+
link: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
+
textAlign: import("@angular/core").WritableSignal<boolean>;
|
|
8
|
+
fontFamily: import("@angular/core").WritableSignal<boolean>;
|
|
9
|
+
bold: import("@angular/core").WritableSignal<boolean>;
|
|
10
|
+
youtube: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
image: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
+
code: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
+
strike: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
+
italic: import("@angular/core").WritableSignal<boolean>;
|
|
15
|
+
blockquote: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
bulletList: import("@angular/core").WritableSignal<boolean>;
|
|
17
|
+
orderedList: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
horizontalRule: import("@angular/core").WritableSignal<boolean>;
|
|
19
|
+
textStyle: import("@angular/core").WritableSignal<boolean>;
|
|
20
|
+
history: import("@angular/core").WritableSignal<boolean>;
|
|
21
|
+
table: import("@angular/core").WritableSignal<boolean>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensions, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ScExtensions>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DialogRef } from '@angular/cdk/dialog';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface AttributeData {
|
|
5
|
+
name: string | null | undefined;
|
|
6
|
+
value: string | null | undefined;
|
|
7
|
+
}
|
|
8
|
+
export declare class ScAddCellAttributeDialog {
|
|
9
|
+
dialogRef: DialogRef<AttributeData, unknown>;
|
|
10
|
+
attributeForm: FormGroup<{
|
|
11
|
+
name: FormControl<string | null>;
|
|
12
|
+
value: FormControl<string | null>;
|
|
13
|
+
}>;
|
|
14
|
+
get name(): import("@angular/forms").AbstractControl<string | null, string | null> | null;
|
|
15
|
+
get value(): import("@angular/forms").AbstractControl<string | null, string | null> | null;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddCellAttributeDialog, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddCellAttributeDialog, "sc-add-cell-attribute-dialog", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DialogRef } from '@angular/cdk/dialog';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface ImageData {
|
|
5
|
+
url: string | null | undefined;
|
|
6
|
+
alt: string | null | undefined;
|
|
7
|
+
title: string | null | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare class ScAddImageDialog {
|
|
10
|
+
dialogRef: DialogRef<ImageData, unknown>;
|
|
11
|
+
imageForm: FormGroup<{
|
|
12
|
+
url: FormControl<string | null>;
|
|
13
|
+
alt: FormControl<string | null>;
|
|
14
|
+
title: FormControl<string | null>;
|
|
15
|
+
}>;
|
|
16
|
+
get url(): import("@angular/forms").AbstractControl<string | null, string | null> | null;
|
|
17
|
+
get alt(): import("@angular/forms").AbstractControl<string | null, string | null> | null;
|
|
18
|
+
get title(): import("@angular/forms").AbstractControl<string | null, string | null> | null;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddImageDialog, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddImageDialog, "sc-add-image-dialog", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DialogRef } from '@angular/cdk/dialog';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface LinkData {
|
|
5
|
+
url: string | null | undefined;
|
|
6
|
+
}
|
|
7
|
+
export declare class ScAddLinkDialog {
|
|
8
|
+
dialogRef: DialogRef<LinkData, unknown>;
|
|
9
|
+
linkForm: FormGroup<{
|
|
10
|
+
url: FormControl<string | null>;
|
|
11
|
+
}>;
|
|
12
|
+
get url(): import("@angular/forms").AbstractControl<string | null, string | null> | null;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddLinkDialog, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddLinkDialog, "sc-add-link-dialog", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DialogRef } from '@angular/cdk/dialog';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface VideoData {
|
|
5
|
+
url: string | null | undefined;
|
|
6
|
+
width: number | null | undefined;
|
|
7
|
+
height: number | null | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare class ScAddVideoDialog {
|
|
10
|
+
dialogRef: DialogRef<VideoData, unknown>;
|
|
11
|
+
videoForm: FormGroup<{
|
|
12
|
+
url: FormControl<string | null>;
|
|
13
|
+
width: FormControl<string | null>;
|
|
14
|
+
height: FormControl<string | null>;
|
|
15
|
+
}>;
|
|
16
|
+
get url(): import("@angular/forms").AbstractControl<string | null, string | null> | null;
|
|
17
|
+
get width(): import("@angular/forms").AbstractControl<string | null, string | null> | null;
|
|
18
|
+
get height(): import("@angular/forms").AbstractControl<string | null, string | null> | null;
|
|
19
|
+
getVideoInfo(): {
|
|
20
|
+
url: string | null | undefined;
|
|
21
|
+
width: number;
|
|
22
|
+
height: number;
|
|
23
|
+
};
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddVideoDialog, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddVideoDialog, "sc-add-video-dialog", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScExtensionsGroup {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionsGroup, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionsGroup, "sc-extensions-group", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScExtensionsSeparator {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScExtensionsSeparator, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScExtensionsSeparator, "sc-extensions-separator", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './input';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './label';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ScNavButtonBase } from './nav-button-base';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScNavButton extends ScNavButtonBase {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScNavButton, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScNavButton, "button[sc-nav-button]", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScNavItemDropdown {
|
|
3
|
+
title: import("@angular/core").InputSignal<string>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScNavItemDropdown, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScNavItemDropdown, "li[sc-nav-item-dropdown]", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ScNavButtonBase } from './nav-button-base';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ScNavLink extends ScNavButtonBase {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScNavLink, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScNavLink, "a[sc-nav-link]", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|