@aeris-ui/core 22.0.0-alpha.10 → 22.0.0-alpha.11
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 +35 -3
- package/THIRD_PARTY_LICENSES.md +48 -0
- package/fesm2022/aeris-ui-core-accordion.mjs +34 -32
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +3 -3
- package/fesm2022/aeris-ui-core-auto-complete.mjs +119 -50
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +3 -3
- package/fesm2022/aeris-ui-core-avatar.mjs +6 -6
- package/fesm2022/aeris-ui-core-badge.mjs +6 -6
- package/fesm2022/aeris-ui-core-block-ui.mjs +18 -6
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +42 -24
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-forms.mjs +78 -0
- package/fesm2022/aeris-ui-core-button-forms.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button-group.mjs +417 -14
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +191 -19
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-card.mjs +18 -18
- package/fesm2022/aeris-ui-core-carousel.mjs +81 -19
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +165 -46
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +171 -36
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +191 -22
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +702 -27
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
- package/fesm2022/aeris-ui-core-code-block.mjs +57 -7
- package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-color-picker.mjs +1223 -503
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-command-palette.mjs +996 -0
- package/fesm2022/aeris-ui-core-command-palette.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-compare.mjs +61 -34
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +68 -38
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +46 -38
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +94 -43
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs +946 -0
- package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs +1186 -650
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +157 -71
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +3 -3
- package/fesm2022/aeris-ui-core-drawer.mjs +751 -77
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +14 -6
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +847 -202
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +204 -68
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-filter-service.mjs +3 -3
- package/fesm2022/aeris-ui-core-fluid.mjs +5 -5
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
- package/fesm2022/aeris-ui-core-form-field.mjs +15 -15
- package/fesm2022/aeris-ui-core-galleria.mjs +472 -123
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +3 -3
- package/fesm2022/aeris-ui-core-icon-field.mjs +12 -12
- package/fesm2022/aeris-ui-core-inplace.mjs +56 -14
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-group.mjs +17 -17
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +61 -8
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +191 -28
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +6 -6
- package/fesm2022/aeris-ui-core-input-text.mjs +102 -26
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-kbd.mjs +243 -0
- package/fesm2022/aeris-ui-core-kbd.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
- package/fesm2022/aeris-ui-core-listbox.mjs +789 -0
- package/fesm2022/aeris-ui-core-listbox.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs +59 -16
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +95 -52
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +103 -34
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +48 -14
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +33 -15
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +283 -65
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-navbar.mjs +1407 -0
- package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-order-list.mjs +191 -35
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +48 -14
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +300 -61
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +21 -29
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +166 -65
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +528 -56
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +504 -72
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +75 -21
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +24 -6
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +119 -19
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +6 -6
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +3 -3
- package/fesm2022/aeris-ui-core-scroll-top.mjs +59 -12
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select-native.mjs +145 -0
- package/fesm2022/aeris-ui-core-select-native.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-select.mjs +206 -87
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-sidebar.mjs +1293 -0
- package/fesm2022/aeris-ui-core-sidebar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
- package/fesm2022/aeris-ui-core-slider.mjs +3 -3
- package/fesm2022/aeris-ui-core-speed-dial.mjs +34 -13
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +26 -11
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +35 -20
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +23 -17
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
- package/fesm2022/aeris-ui-core-table.mjs +945 -106
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +81 -19
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +89 -28
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +202 -126
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +8 -8
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +94 -43
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +17 -17
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +51 -18
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +3 -3
- package/fesm2022/aeris-ui-core-toolbar.mjs +916 -44
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +6 -6
- package/fesm2022/aeris-ui-core-tree-select.mjs +252 -61
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +493 -124
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +165 -27
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +632 -12
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +29 -1
- package/schematics/runtime/theme-builder/aeris-color-derivation.js +1 -1
- package/schematics/runtime/theme-builder/aeris-contrast.js +32 -0
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-foundation.js +8 -9
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +8 -21
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-generator.js +6 -0
- package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js +64 -91
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js +7 -5
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js +11 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme.js +81 -10
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/_choice-card.scss +93 -0
- package/styles/_icon-artwork.scss +14 -0
- package/styles/_icon-template.scss +42 -0
- package/styles/_selection-icons.scss +12 -0
- package/styles/_table-pinning.scss +119 -0
- package/styles/aeris.css +35 -12
- package/styles/controls.css +149 -11
- package/tools/aeris-theme.mjs +3 -3
- package/tools/aeris-theme.schema.json +13 -11
- package/types/aeris-ui-core-auto-complete.d.ts +12 -0
- package/types/aeris-ui-core-block-ui.d.ts +1 -0
- package/types/aeris-ui-core-button-forms.d.ts +18 -0
- package/types/aeris-ui-core-button-group.d.ts +116 -3
- package/types/aeris-ui-core-button.d.ts +52 -4
- package/types/aeris-ui-core-carousel.d.ts +12 -0
- package/types/aeris-ui-core-cascade-select.d.ts +18 -0
- package/types/aeris-ui-core-chart.d.ts +26 -10
- package/types/aeris-ui-core-checkbox.d.ts +36 -2
- package/types/aeris-ui-core-chip.d.ts +196 -1
- package/types/aeris-ui-core-code-block.d.ts +13 -0
- package/types/aeris-ui-core-color-picker.d.ts +117 -15
- package/types/aeris-ui-core-command-palette.d.ts +267 -0
- package/types/aeris-ui-core-compare.d.ts +6 -0
- package/types/aeris-ui-core-confirm-dialog.d.ts +9 -1
- package/types/aeris-ui-core-context-menu.d.ts +6 -0
- package/types/aeris-ui-core-date-picker.d.ts +123 -20
- package/types/aeris-ui-core-dialog.d.ts +15 -2
- package/types/aeris-ui-core-drawer.d.ts +111 -4
- package/types/aeris-ui-core-dynamic-dialog.d.ts +6 -2
- package/types/aeris-ui-core-editor.d.ts +8 -1
- package/types/aeris-ui-core-file-upload.d.ts +18 -0
- package/types/aeris-ui-core-galleria.d.ts +48 -0
- package/types/aeris-ui-core-inplace.d.ts +6 -0
- package/types/aeris-ui-core-input-mask.d.ts +8 -1
- package/types/aeris-ui-core-input-number.d.ts +20 -1
- package/types/aeris-ui-core-input-text.d.ts +11 -1
- package/types/aeris-ui-core-kbd.d.ts +74 -0
- package/types/aeris-ui-core-listbox.d.ts +222 -0
- package/types/aeris-ui-core-mega-menu.d.ts +6 -0
- package/types/aeris-ui-core-menu.d.ts +6 -0
- package/types/aeris-ui-core-menubar.d.ts +16 -0
- package/types/aeris-ui-core-message.d.ts +6 -0
- package/types/aeris-ui-core-meter-group.d.ts +6 -0
- package/types/aeris-ui-core-multi-select.d.ts +30 -0
- package/types/aeris-ui-core-navbar.d.ts +208 -0
- package/types/aeris-ui-core-order-list.d.ts +24 -0
- package/types/aeris-ui-core-organization-chart.d.ts +6 -0
- package/types/aeris-ui-core-paginator.d.ts +37 -1
- package/types/aeris-ui-core-password.d.ts +18 -0
- package/types/aeris-ui-core-pick-list.d.ts +54 -0
- package/types/aeris-ui-core-popover.d.ts +80 -5
- package/types/aeris-ui-core-progress-bar.d.ts +6 -0
- package/types/aeris-ui-core-progress-spinner.d.ts +6 -0
- package/types/aeris-ui-core-radio-button.d.ts +24 -2
- package/types/aeris-ui-core-rating.d.ts +1 -1
- package/types/aeris-ui-core-scroll-top.d.ts +7 -0
- package/types/aeris-ui-core-select-native.d.ts +40 -0
- package/types/aeris-ui-core-select.d.ts +12 -0
- package/types/aeris-ui-core-sidebar.d.ts +220 -0
- package/types/aeris-ui-core-splitter.d.ts +3 -4
- package/types/aeris-ui-core-table.d.ts +144 -11
- package/types/aeris-ui-core-tabs.d.ts +12 -0
- package/types/aeris-ui-core-textarea.d.ts +11 -1
- package/types/aeris-ui-core-theme-builder.d.ts +31 -296
- package/types/aeris-ui-core-tiered-menu.d.ts +6 -0
- package/types/aeris-ui-core-toast.d.ts +6 -0
- package/types/aeris-ui-core-toolbar.d.ts +213 -3
- package/types/aeris-ui-core-tree-select.d.ts +30 -0
- package/types/aeris-ui-core-tree-table.d.ts +75 -14
- package/types/aeris-ui-core-tree.d.ts +24 -0
- package/types/aeris-ui-core.d.ts +142 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DOCUMENT } from "@angular/common";
|
|
1
|
+
import { DOCUMENT, NgTemplateOutlet } from "@angular/common";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, SecurityContext, ViewEncapsulation, booleanAttribute, computed, effect, forwardRef, inject, input, model, output, signal, viewChild } from "@angular/core";
|
|
4
4
|
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
@@ -58,6 +58,7 @@ const AERIS_EDITOR_ALL_FORMATS = [
|
|
|
58
58
|
];
|
|
59
59
|
let editorId = 0;
|
|
60
60
|
var AerisEditorComponent = class AerisEditorComponent {
|
|
61
|
+
toolbarIcons = input({}, ...ngDevMode ? [{ debugName: "toolbarIcons" }] : /* istanbul ignore next */ []);
|
|
61
62
|
document = inject(DOCUMENT);
|
|
62
63
|
sanitizer = inject(DomSanitizer);
|
|
63
64
|
value = model("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
@@ -510,7 +511,7 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
510
511
|
}
|
|
511
512
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
512
513
|
minVersion: "12.0.0",
|
|
513
|
-
version: "22.2.
|
|
514
|
+
version: "22.2.3",
|
|
514
515
|
ngImport: i0,
|
|
515
516
|
type: AerisEditorComponent,
|
|
516
517
|
deps: [],
|
|
@@ -518,11 +519,18 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
518
519
|
});
|
|
519
520
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
520
521
|
minVersion: "17.0.0",
|
|
521
|
-
version: "22.2.
|
|
522
|
+
version: "22.2.3",
|
|
522
523
|
type: AerisEditorComponent,
|
|
523
524
|
isStandalone: true,
|
|
524
525
|
selector: "aeris-editor",
|
|
525
526
|
inputs: {
|
|
527
|
+
toolbarIcons: {
|
|
528
|
+
classPropertyName: "toolbarIcons",
|
|
529
|
+
publicName: "toolbarIcons",
|
|
530
|
+
isSignal: true,
|
|
531
|
+
isRequired: false,
|
|
532
|
+
transformFunction: null
|
|
533
|
+
},
|
|
526
534
|
value: {
|
|
527
535
|
classPropertyName: "value",
|
|
528
536
|
publicName: "value",
|
|
@@ -722,18 +730,30 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
722
730
|
<div class="aeris-editor__toolbar" role="toolbar" [attr.aria-label]="toolbarAriaLabel()">
|
|
723
731
|
@if (availableFormats().has('undo')) {
|
|
724
732
|
<button type="button" aria-label="Undo" [disabled]="toolbarDisabled()" (click)="undo()">
|
|
725
|
-
|
|
726
|
-
<
|
|
727
|
-
|
|
728
|
-
|
|
733
|
+
@if (toolbarIcons()['undo']; as customIcon) {
|
|
734
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
735
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
736
|
+
/></span>
|
|
737
|
+
} @else {
|
|
738
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
739
|
+
<path d="M3 7v6h6" />
|
|
740
|
+
<path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13" />
|
|
741
|
+
</svg>
|
|
742
|
+
}
|
|
729
743
|
</button>
|
|
730
744
|
}
|
|
731
745
|
@if (availableFormats().has('redo')) {
|
|
732
746
|
<button type="button" aria-label="Redo" [disabled]="toolbarDisabled()" (click)="redo()">
|
|
733
|
-
|
|
734
|
-
<
|
|
735
|
-
|
|
736
|
-
|
|
747
|
+
@if (toolbarIcons()['redo']; as customIcon) {
|
|
748
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
749
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
750
|
+
/></span>
|
|
751
|
+
} @else {
|
|
752
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
753
|
+
<path d="M21 7v6h-6" />
|
|
754
|
+
<path d="M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7" />
|
|
755
|
+
</svg>
|
|
756
|
+
}
|
|
737
757
|
</button>
|
|
738
758
|
}
|
|
739
759
|
|
|
@@ -748,7 +768,15 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
748
768
|
[disabled]="toolbarDisabled()"
|
|
749
769
|
(click)="format('bold')"
|
|
750
770
|
>
|
|
751
|
-
|
|
771
|
+
@if (toolbarIcons()['bold']; as customIcon) {
|
|
772
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
773
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
774
|
+
/></span>
|
|
775
|
+
} @else {
|
|
776
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
777
|
+
<path d="M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8" />
|
|
778
|
+
</svg>
|
|
779
|
+
}
|
|
752
780
|
</button>
|
|
753
781
|
}
|
|
754
782
|
@if (availableFormats().has('italic')) {
|
|
@@ -759,7 +787,17 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
759
787
|
[disabled]="toolbarDisabled()"
|
|
760
788
|
(click)="format('italic')"
|
|
761
789
|
>
|
|
762
|
-
|
|
790
|
+
@if (toolbarIcons()['italic']; as customIcon) {
|
|
791
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
792
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
793
|
+
/></span>
|
|
794
|
+
} @else {
|
|
795
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
796
|
+
<line x1="19" x2="10" y1="4" y2="4" />
|
|
797
|
+
<line x1="14" x2="5" y1="20" y2="20" />
|
|
798
|
+
<line x1="15" x2="9" y1="4" y2="20" />
|
|
799
|
+
</svg>
|
|
800
|
+
}
|
|
763
801
|
</button>
|
|
764
802
|
}
|
|
765
803
|
@if (availableFormats().has('underline')) {
|
|
@@ -770,7 +808,16 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
770
808
|
[disabled]="toolbarDisabled()"
|
|
771
809
|
(click)="format('underline')"
|
|
772
810
|
>
|
|
773
|
-
|
|
811
|
+
@if (toolbarIcons()['underline']; as customIcon) {
|
|
812
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
813
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
814
|
+
/></span>
|
|
815
|
+
} @else {
|
|
816
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
817
|
+
<path d="M6 4v6a6 6 0 0 0 12 0V4" />
|
|
818
|
+
<line x1="4" x2="20" y1="20" y2="20" />
|
|
819
|
+
</svg>
|
|
820
|
+
}
|
|
774
821
|
</button>
|
|
775
822
|
}
|
|
776
823
|
@if (availableFormats().has('strikethrough')) {
|
|
@@ -781,7 +828,17 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
781
828
|
[disabled]="toolbarDisabled()"
|
|
782
829
|
(click)="format('strikethrough')"
|
|
783
830
|
>
|
|
784
|
-
|
|
831
|
+
@if (toolbarIcons()['strikethrough']; as customIcon) {
|
|
832
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
833
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
834
|
+
/></span>
|
|
835
|
+
} @else {
|
|
836
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
837
|
+
<path d="M16 4H9a3 3 0 0 0-2.83 4" />
|
|
838
|
+
<path d="M14 12a4 4 0 0 1 0 8H6" />
|
|
839
|
+
<line x1="4" x2="20" y1="12" y2="12" />
|
|
840
|
+
</svg>
|
|
841
|
+
}
|
|
785
842
|
</button>
|
|
786
843
|
}
|
|
787
844
|
@if (availableFormats().has('code')) {
|
|
@@ -792,7 +849,16 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
792
849
|
[disabled]="toolbarDisabled()"
|
|
793
850
|
(click)="format('code')"
|
|
794
851
|
>
|
|
795
|
-
|
|
852
|
+
@if (toolbarIcons()['code']; as customIcon) {
|
|
853
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
854
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
855
|
+
/></span>
|
|
856
|
+
} @else {
|
|
857
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
858
|
+
<path d="m16 18 6-6-6-6" />
|
|
859
|
+
<path d="m8 6-6 6 6 6" />
|
|
860
|
+
</svg>
|
|
861
|
+
}
|
|
796
862
|
</button>
|
|
797
863
|
}
|
|
798
864
|
@if (availableFormats().has('highlight')) {
|
|
@@ -803,11 +869,16 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
803
869
|
[disabled]="toolbarDisabled()"
|
|
804
870
|
(click)="format('highlight')"
|
|
805
871
|
>
|
|
806
|
-
|
|
807
|
-
<
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
872
|
+
@if (toolbarIcons()['highlight']; as customIcon) {
|
|
873
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
874
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
875
|
+
/></span>
|
|
876
|
+
} @else {
|
|
877
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
878
|
+
<path d="m9 11-6 6v3h9l3-3" />
|
|
879
|
+
<path d="m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4" />
|
|
880
|
+
</svg>
|
|
881
|
+
}
|
|
811
882
|
</button>
|
|
812
883
|
}
|
|
813
884
|
@if (availableFormats().has('subscript')) {
|
|
@@ -818,7 +889,19 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
818
889
|
[disabled]="toolbarDisabled()"
|
|
819
890
|
(click)="format('subscript')"
|
|
820
891
|
>
|
|
821
|
-
|
|
892
|
+
@if (toolbarIcons()['subscript']; as customIcon) {
|
|
893
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
894
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
895
|
+
/></span>
|
|
896
|
+
} @else {
|
|
897
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
898
|
+
<path d="m4 5 8 8" />
|
|
899
|
+
<path d="m12 5-8 8" />
|
|
900
|
+
<path
|
|
901
|
+
d="M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07"
|
|
902
|
+
/>
|
|
903
|
+
</svg>
|
|
904
|
+
}
|
|
822
905
|
</button>
|
|
823
906
|
}
|
|
824
907
|
@if (availableFormats().has('superscript')) {
|
|
@@ -829,7 +912,19 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
829
912
|
[disabled]="toolbarDisabled()"
|
|
830
913
|
(click)="format('superscript')"
|
|
831
914
|
>
|
|
832
|
-
|
|
915
|
+
@if (toolbarIcons()['superscript']; as customIcon) {
|
|
916
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
917
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
918
|
+
/></span>
|
|
919
|
+
} @else {
|
|
920
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
921
|
+
<path d="m4 19 8-8" />
|
|
922
|
+
<path d="m12 19-8-8" />
|
|
923
|
+
<path
|
|
924
|
+
d="M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06"
|
|
925
|
+
/>
|
|
926
|
+
</svg>
|
|
927
|
+
}
|
|
833
928
|
</button>
|
|
834
929
|
}
|
|
835
930
|
@if (availableFormats().has('lowercase')) {
|
|
@@ -840,7 +935,18 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
840
935
|
[disabled]="toolbarDisabled()"
|
|
841
936
|
(click)="format('lowercase')"
|
|
842
937
|
>
|
|
843
|
-
|
|
938
|
+
@if (toolbarIcons()['lowercase']; as customIcon) {
|
|
939
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
940
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
941
|
+
/></span>
|
|
942
|
+
} @else {
|
|
943
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
944
|
+
<path d="M10 9v7" />
|
|
945
|
+
<path d="M14 6v10" />
|
|
946
|
+
<circle cx="17.5" cy="12.5" r="3.5" />
|
|
947
|
+
<circle cx="6.5" cy="12.5" r="3.5" />
|
|
948
|
+
</svg>
|
|
949
|
+
}
|
|
844
950
|
</button>
|
|
845
951
|
}
|
|
846
952
|
@if (availableFormats().has('uppercase')) {
|
|
@@ -851,7 +957,19 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
851
957
|
[disabled]="toolbarDisabled()"
|
|
852
958
|
(click)="format('uppercase')"
|
|
853
959
|
>
|
|
854
|
-
|
|
960
|
+
@if (toolbarIcons()['uppercase']; as customIcon) {
|
|
961
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
962
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
963
|
+
/></span>
|
|
964
|
+
} @else {
|
|
965
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
966
|
+
<path
|
|
967
|
+
d="M15 11h4.5a1 1 0 0 1 0 5h-4a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h3a1 1 0 0 1 0 5"
|
|
968
|
+
/>
|
|
969
|
+
<path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
|
|
970
|
+
<path d="M3.304 13h6.392" />
|
|
971
|
+
</svg>
|
|
972
|
+
}
|
|
855
973
|
</button>
|
|
856
974
|
}
|
|
857
975
|
@if (availableFormats().has('capitalize')) {
|
|
@@ -862,7 +980,18 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
862
980
|
[disabled]="toolbarDisabled()"
|
|
863
981
|
(click)="format('capitalize')"
|
|
864
982
|
>
|
|
865
|
-
|
|
983
|
+
@if (toolbarIcons()['capitalize']; as customIcon) {
|
|
984
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
985
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
986
|
+
/></span>
|
|
987
|
+
} @else {
|
|
988
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
989
|
+
<path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
|
|
990
|
+
<path d="M22 9v7" />
|
|
991
|
+
<path d="M3.304 13h6.392" />
|
|
992
|
+
<circle cx="18.5" cy="12.5" r="3.5" />
|
|
993
|
+
</svg>
|
|
994
|
+
}
|
|
866
995
|
</button>
|
|
867
996
|
}
|
|
868
997
|
|
|
@@ -877,7 +1006,17 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
877
1006
|
[disabled]="toolbarDisabled()"
|
|
878
1007
|
(click)="setBlock('paragraph')"
|
|
879
1008
|
>
|
|
880
|
-
|
|
1009
|
+
@if (toolbarIcons()['paragraph']; as customIcon) {
|
|
1010
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1011
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1012
|
+
/></span>
|
|
1013
|
+
} @else {
|
|
1014
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1015
|
+
<path d="M13 4v16" />
|
|
1016
|
+
<path d="M17 4v16" />
|
|
1017
|
+
<path d="M19 4H9.5a4.5 4.5 0 0 0 0 9H13" />
|
|
1018
|
+
</svg>
|
|
1019
|
+
}
|
|
881
1020
|
</button>
|
|
882
1021
|
}
|
|
883
1022
|
@if (availableFormats().has('heading1')) {
|
|
@@ -888,7 +1027,18 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
888
1027
|
[disabled]="toolbarDisabled()"
|
|
889
1028
|
(click)="setBlock('h1')"
|
|
890
1029
|
>
|
|
891
|
-
|
|
1030
|
+
@if (toolbarIcons()['heading1']; as customIcon) {
|
|
1031
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1032
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1033
|
+
/></span>
|
|
1034
|
+
} @else {
|
|
1035
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1036
|
+
<path d="M4 12h8" />
|
|
1037
|
+
<path d="M4 18V6" />
|
|
1038
|
+
<path d="M12 18V6" />
|
|
1039
|
+
<path d="m17 12 3-2v8" />
|
|
1040
|
+
</svg>
|
|
1041
|
+
}
|
|
892
1042
|
</button>
|
|
893
1043
|
}
|
|
894
1044
|
@if (availableFormats().has('heading')) {
|
|
@@ -899,7 +1049,18 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
899
1049
|
[disabled]="toolbarDisabled()"
|
|
900
1050
|
(click)="setBlock('heading')"
|
|
901
1051
|
>
|
|
902
|
-
|
|
1052
|
+
@if (toolbarIcons()['heading']; as customIcon) {
|
|
1053
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1054
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1055
|
+
/></span>
|
|
1056
|
+
} @else {
|
|
1057
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1058
|
+
<path d="M4 12h8" />
|
|
1059
|
+
<path d="M4 18V6" />
|
|
1060
|
+
<path d="M12 18V6" />
|
|
1061
|
+
<path d="M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" />
|
|
1062
|
+
</svg>
|
|
1063
|
+
}
|
|
903
1064
|
</button>
|
|
904
1065
|
}
|
|
905
1066
|
@if (availableFormats().has('heading2')) {
|
|
@@ -910,7 +1071,18 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
910
1071
|
[disabled]="toolbarDisabled()"
|
|
911
1072
|
(click)="setBlock('h2')"
|
|
912
1073
|
>
|
|
913
|
-
|
|
1074
|
+
@if (toolbarIcons()['heading2']; as customIcon) {
|
|
1075
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1076
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1077
|
+
/></span>
|
|
1078
|
+
} @else {
|
|
1079
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1080
|
+
<path d="M4 12h8" />
|
|
1081
|
+
<path d="M4 18V6" />
|
|
1082
|
+
<path d="M12 18V6" />
|
|
1083
|
+
<path d="M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" />
|
|
1084
|
+
</svg>
|
|
1085
|
+
}
|
|
914
1086
|
</button>
|
|
915
1087
|
}
|
|
916
1088
|
@if (availableFormats().has('heading3')) {
|
|
@@ -921,7 +1093,19 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
921
1093
|
[disabled]="toolbarDisabled()"
|
|
922
1094
|
(click)="setBlock('h3')"
|
|
923
1095
|
>
|
|
924
|
-
|
|
1096
|
+
@if (toolbarIcons()['heading3']; as customIcon) {
|
|
1097
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1098
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1099
|
+
/></span>
|
|
1100
|
+
} @else {
|
|
1101
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1102
|
+
<path d="M4 12h8" />
|
|
1103
|
+
<path d="M4 18V6" />
|
|
1104
|
+
<path d="M12 18V6" />
|
|
1105
|
+
<path d="M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2" />
|
|
1106
|
+
<path d="M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2" />
|
|
1107
|
+
</svg>
|
|
1108
|
+
}
|
|
925
1109
|
</button>
|
|
926
1110
|
}
|
|
927
1111
|
@if (availableFormats().has('heading4')) {
|
|
@@ -932,7 +1116,19 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
932
1116
|
[disabled]="toolbarDisabled()"
|
|
933
1117
|
(click)="setBlock('h4')"
|
|
934
1118
|
>
|
|
935
|
-
|
|
1119
|
+
@if (toolbarIcons()['heading4']; as customIcon) {
|
|
1120
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1121
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1122
|
+
/></span>
|
|
1123
|
+
} @else {
|
|
1124
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1125
|
+
<path d="M12 18V6" />
|
|
1126
|
+
<path d="M17 10v3a1 1 0 0 0 1 1h3" />
|
|
1127
|
+
<path d="M21 10v8" />
|
|
1128
|
+
<path d="M4 12h8" />
|
|
1129
|
+
<path d="M4 18V6" />
|
|
1130
|
+
</svg>
|
|
1131
|
+
}
|
|
936
1132
|
</button>
|
|
937
1133
|
}
|
|
938
1134
|
@if (availableFormats().has('heading5')) {
|
|
@@ -943,7 +1139,19 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
943
1139
|
[disabled]="toolbarDisabled()"
|
|
944
1140
|
(click)="setBlock('h5')"
|
|
945
1141
|
>
|
|
946
|
-
|
|
1142
|
+
@if (toolbarIcons()['heading5']; as customIcon) {
|
|
1143
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1144
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1145
|
+
/></span>
|
|
1146
|
+
} @else {
|
|
1147
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1148
|
+
<path d="M4 12h8" />
|
|
1149
|
+
<path d="M4 18V6" />
|
|
1150
|
+
<path d="M12 18V6" />
|
|
1151
|
+
<path d="M17 13v-3h4" />
|
|
1152
|
+
<path d="M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17" />
|
|
1153
|
+
</svg>
|
|
1154
|
+
}
|
|
947
1155
|
</button>
|
|
948
1156
|
}
|
|
949
1157
|
@if (availableFormats().has('heading6')) {
|
|
@@ -954,7 +1162,19 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
954
1162
|
[disabled]="toolbarDisabled()"
|
|
955
1163
|
(click)="setBlock('h6')"
|
|
956
1164
|
>
|
|
957
|
-
|
|
1165
|
+
@if (toolbarIcons()['heading6']; as customIcon) {
|
|
1166
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1167
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1168
|
+
/></span>
|
|
1169
|
+
} @else {
|
|
1170
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1171
|
+
<path d="M4 12h8" />
|
|
1172
|
+
<path d="M4 18V6" />
|
|
1173
|
+
<path d="M12 18V6" />
|
|
1174
|
+
<circle cx="19" cy="16" r="2" />
|
|
1175
|
+
<path d="M20 10c-2 2-3 3.5-3 6" />
|
|
1176
|
+
</svg>
|
|
1177
|
+
}
|
|
958
1178
|
</button>
|
|
959
1179
|
}
|
|
960
1180
|
@if (availableFormats().has('quote')) {
|
|
@@ -965,14 +1185,20 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
965
1185
|
[disabled]="toolbarDisabled()"
|
|
966
1186
|
(click)="setBlock('quote')"
|
|
967
1187
|
>
|
|
968
|
-
|
|
969
|
-
<
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
1188
|
+
@if (toolbarIcons()['quote']; as customIcon) {
|
|
1189
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1190
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1191
|
+
/></span>
|
|
1192
|
+
} @else {
|
|
1193
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1194
|
+
<path
|
|
1195
|
+
d="M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"
|
|
1196
|
+
/>
|
|
1197
|
+
<path
|
|
1198
|
+
d="M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"
|
|
1199
|
+
/>
|
|
1200
|
+
</svg>
|
|
1201
|
+
}
|
|
976
1202
|
</button>
|
|
977
1203
|
}
|
|
978
1204
|
|
|
@@ -987,14 +1213,20 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
987
1213
|
[disabled]="toolbarDisabled()"
|
|
988
1214
|
(click)="toggleBulletList()"
|
|
989
1215
|
>
|
|
990
|
-
|
|
991
|
-
<
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
<
|
|
996
|
-
|
|
997
|
-
|
|
1216
|
+
@if (toolbarIcons()['bulletList']; as customIcon) {
|
|
1217
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1218
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1219
|
+
/></span>
|
|
1220
|
+
} @else {
|
|
1221
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1222
|
+
<path d="M3 5h.01" />
|
|
1223
|
+
<path d="M3 12h.01" />
|
|
1224
|
+
<path d="M3 19h.01" />
|
|
1225
|
+
<path d="M8 5h13" />
|
|
1226
|
+
<path d="M8 12h13" />
|
|
1227
|
+
<path d="M8 19h13" />
|
|
1228
|
+
</svg>
|
|
1229
|
+
}
|
|
998
1230
|
</button>
|
|
999
1231
|
}
|
|
1000
1232
|
@if (availableFormats().has('numberedList')) {
|
|
@@ -1005,19 +1237,20 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
1005
1237
|
[disabled]="toolbarDisabled()"
|
|
1006
1238
|
(click)="toggleNumberedList()"
|
|
1007
1239
|
>
|
|
1008
|
-
|
|
1009
|
-
<
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
<
|
|
1014
|
-
|
|
1015
|
-
d="
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
d="
|
|
1019
|
-
|
|
1020
|
-
|
|
1240
|
+
@if (toolbarIcons()['numberedList']; as customIcon) {
|
|
1241
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1242
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1243
|
+
/></span>
|
|
1244
|
+
} @else {
|
|
1245
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1246
|
+
<path d="M11 5h10" />
|
|
1247
|
+
<path d="M11 12h10" />
|
|
1248
|
+
<path d="M11 19h10" />
|
|
1249
|
+
<path d="M4 4h1v5" />
|
|
1250
|
+
<path d="M4 9h2" />
|
|
1251
|
+
<path d="M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02" />
|
|
1252
|
+
</svg>
|
|
1253
|
+
}
|
|
1021
1254
|
</button>
|
|
1022
1255
|
}
|
|
1023
1256
|
@if (availableFormats().has('checkList')) {
|
|
@@ -1028,13 +1261,19 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
1028
1261
|
[disabled]="toolbarDisabled()"
|
|
1029
1262
|
(click)="toggleCheckList()"
|
|
1030
1263
|
>
|
|
1031
|
-
|
|
1032
|
-
<
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
<
|
|
1037
|
-
|
|
1264
|
+
@if (toolbarIcons()['checkList']; as customIcon) {
|
|
1265
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1266
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1267
|
+
/></span>
|
|
1268
|
+
} @else {
|
|
1269
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1270
|
+
<path d="M13 5h8" />
|
|
1271
|
+
<path d="M13 12h8" />
|
|
1272
|
+
<path d="M13 19h8" />
|
|
1273
|
+
<path d="m3 17 2 2 4-4" />
|
|
1274
|
+
<path d="m3 7 2 2 4-4" />
|
|
1275
|
+
</svg>
|
|
1276
|
+
}
|
|
1038
1277
|
</button>
|
|
1039
1278
|
}
|
|
1040
1279
|
|
|
@@ -1049,9 +1288,17 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
1049
1288
|
[disabled]="toolbarDisabled()"
|
|
1050
1289
|
(click)="align('left')"
|
|
1051
1290
|
>
|
|
1052
|
-
|
|
1053
|
-
<
|
|
1054
|
-
|
|
1291
|
+
@if (toolbarIcons()['alignLeft']; as customIcon) {
|
|
1292
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1293
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1294
|
+
/></span>
|
|
1295
|
+
} @else {
|
|
1296
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1297
|
+
<path d="M21 5H3" />
|
|
1298
|
+
<path d="M15 12H3" />
|
|
1299
|
+
<path d="M17 19H3" />
|
|
1300
|
+
</svg>
|
|
1301
|
+
}
|
|
1055
1302
|
</button>
|
|
1056
1303
|
}
|
|
1057
1304
|
@if (availableFormats().has('alignStart')) {
|
|
@@ -1062,9 +1309,20 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
1062
1309
|
[disabled]="toolbarDisabled()"
|
|
1063
1310
|
(click)="align('start')"
|
|
1064
1311
|
>
|
|
1065
|
-
|
|
1066
|
-
<
|
|
1067
|
-
|
|
1312
|
+
@if (toolbarIcons()['alignStart']; as customIcon) {
|
|
1313
|
+
<span
|
|
1314
|
+
class="aeris-custom-icon aeris-editor__logical-icon"
|
|
1315
|
+
aria-hidden="true"
|
|
1316
|
+
data-aeris-custom-icon
|
|
1317
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1318
|
+
/></span>
|
|
1319
|
+
} @else {
|
|
1320
|
+
<svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
|
|
1321
|
+
<path d="M21 5H3" />
|
|
1322
|
+
<path d="M15 12H3" />
|
|
1323
|
+
<path d="M17 19H3" />
|
|
1324
|
+
</svg>
|
|
1325
|
+
}
|
|
1068
1326
|
</button>
|
|
1069
1327
|
}
|
|
1070
1328
|
@if (availableFormats().has('alignCenter')) {
|
|
@@ -1075,9 +1333,17 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
1075
1333
|
[disabled]="toolbarDisabled()"
|
|
1076
1334
|
(click)="align('center')"
|
|
1077
1335
|
>
|
|
1078
|
-
|
|
1079
|
-
<
|
|
1080
|
-
|
|
1336
|
+
@if (toolbarIcons()['alignCenter']; as customIcon) {
|
|
1337
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1338
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1339
|
+
/></span>
|
|
1340
|
+
} @else {
|
|
1341
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1342
|
+
<path d="M21 5H3" />
|
|
1343
|
+
<path d="M17 12H7" />
|
|
1344
|
+
<path d="M19 19H5" />
|
|
1345
|
+
</svg>
|
|
1346
|
+
}
|
|
1081
1347
|
</button>
|
|
1082
1348
|
}
|
|
1083
1349
|
@if (availableFormats().has('alignRight')) {
|
|
@@ -1088,9 +1354,17 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
1088
1354
|
[disabled]="toolbarDisabled()"
|
|
1089
1355
|
(click)="align('right')"
|
|
1090
1356
|
>
|
|
1091
|
-
|
|
1092
|
-
<
|
|
1093
|
-
|
|
1357
|
+
@if (toolbarIcons()['alignRight']; as customIcon) {
|
|
1358
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1359
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1360
|
+
/></span>
|
|
1361
|
+
} @else {
|
|
1362
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1363
|
+
<path d="M21 5H3" />
|
|
1364
|
+
<path d="M21 12H9" />
|
|
1365
|
+
<path d="M21 19H7" />
|
|
1366
|
+
</svg>
|
|
1367
|
+
}
|
|
1094
1368
|
</button>
|
|
1095
1369
|
}
|
|
1096
1370
|
@if (availableFormats().has('alignEnd')) {
|
|
@@ -1101,9 +1375,20 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
1101
1375
|
[disabled]="toolbarDisabled()"
|
|
1102
1376
|
(click)="align('end')"
|
|
1103
1377
|
>
|
|
1104
|
-
|
|
1105
|
-
<
|
|
1106
|
-
|
|
1378
|
+
@if (toolbarIcons()['alignEnd']; as customIcon) {
|
|
1379
|
+
<span
|
|
1380
|
+
class="aeris-custom-icon aeris-editor__logical-icon"
|
|
1381
|
+
aria-hidden="true"
|
|
1382
|
+
data-aeris-custom-icon
|
|
1383
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1384
|
+
/></span>
|
|
1385
|
+
} @else {
|
|
1386
|
+
<svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
|
|
1387
|
+
<path d="M21 5H3" />
|
|
1388
|
+
<path d="M21 12H9" />
|
|
1389
|
+
<path d="M21 19H7" />
|
|
1390
|
+
</svg>
|
|
1391
|
+
}
|
|
1107
1392
|
</button>
|
|
1108
1393
|
}
|
|
1109
1394
|
@if (availableFormats().has('alignJustify')) {
|
|
@@ -1114,9 +1399,17 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
1114
1399
|
[disabled]="toolbarDisabled()"
|
|
1115
1400
|
(click)="align('justify')"
|
|
1116
1401
|
>
|
|
1117
|
-
|
|
1118
|
-
<
|
|
1119
|
-
|
|
1402
|
+
@if (toolbarIcons()['alignJustify']; as customIcon) {
|
|
1403
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1404
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1405
|
+
/></span>
|
|
1406
|
+
} @else {
|
|
1407
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1408
|
+
<path d="M3 5h18" />
|
|
1409
|
+
<path d="M3 12h18" />
|
|
1410
|
+
<path d="M3 19h18" />
|
|
1411
|
+
</svg>
|
|
1412
|
+
}
|
|
1120
1413
|
</button>
|
|
1121
1414
|
}
|
|
1122
1415
|
|
|
@@ -1130,10 +1423,18 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
1130
1423
|
[disabled]="toolbarDisabled()"
|
|
1131
1424
|
(click)="outdent()"
|
|
1132
1425
|
>
|
|
1133
|
-
|
|
1134
|
-
<
|
|
1135
|
-
|
|
1136
|
-
|
|
1426
|
+
@if (toolbarIcons()['outdent']; as customIcon) {
|
|
1427
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1428
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1429
|
+
/></span>
|
|
1430
|
+
} @else {
|
|
1431
|
+
<svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
|
|
1432
|
+
<path d="M21 5H11" />
|
|
1433
|
+
<path d="M21 12H11" />
|
|
1434
|
+
<path d="M21 19H11" />
|
|
1435
|
+
<path d="m7 8-4 4 4 4" />
|
|
1436
|
+
</svg>
|
|
1437
|
+
}
|
|
1137
1438
|
</button>
|
|
1138
1439
|
}
|
|
1139
1440
|
@if (availableFormats().has('indent')) {
|
|
@@ -1143,10 +1444,18 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
1143
1444
|
[disabled]="toolbarDisabled()"
|
|
1144
1445
|
(click)="indent()"
|
|
1145
1446
|
>
|
|
1146
|
-
|
|
1147
|
-
<
|
|
1148
|
-
|
|
1149
|
-
|
|
1447
|
+
@if (toolbarIcons()['indent']; as customIcon) {
|
|
1448
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1449
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1450
|
+
/></span>
|
|
1451
|
+
} @else {
|
|
1452
|
+
<svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
|
|
1453
|
+
<path d="M21 5H11" />
|
|
1454
|
+
<path d="M21 12H11" />
|
|
1455
|
+
<path d="M21 19H11" />
|
|
1456
|
+
<path d="m3 8 4 4-4 4" />
|
|
1457
|
+
</svg>
|
|
1458
|
+
}
|
|
1150
1459
|
</button>
|
|
1151
1460
|
}
|
|
1152
1461
|
@if (availableFormats().has('clear')) {
|
|
@@ -1156,11 +1465,19 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
1156
1465
|
[disabled]="toolbarDisabled()"
|
|
1157
1466
|
(click)="clearFormatting()"
|
|
1158
1467
|
>
|
|
1159
|
-
|
|
1160
|
-
<
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1468
|
+
@if (toolbarIcons()['clear']; as customIcon) {
|
|
1469
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1470
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1471
|
+
/></span>
|
|
1472
|
+
} @else {
|
|
1473
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1474
|
+
<path d="M4 7V4h16v3" />
|
|
1475
|
+
<path d="M5 20h6" />
|
|
1476
|
+
<path d="M13 4 8 20" />
|
|
1477
|
+
<path d="m15 15 5 5" />
|
|
1478
|
+
<path d="m20 15-5 5" />
|
|
1479
|
+
</svg>
|
|
1480
|
+
}
|
|
1164
1481
|
</button>
|
|
1165
1482
|
}
|
|
1166
1483
|
</div>
|
|
@@ -1196,19 +1513,30 @@ var AerisEditorComponent = class AerisEditorComponent {
|
|
|
1196
1513
|
</div>
|
|
1197
1514
|
`,
|
|
1198
1515
|
isInline: true,
|
|
1199
|
-
styles: [":host{display:inline-block;color:var(--aeris-text)}:host([data-fluid]){display:block;width:100%}.aeris-editor{--aeris-editor-padding: .875rem;--aeris-editor-font-size: var(--aeris-font-size-xl, .9375rem);--aeris-editor-line-height: 1.6;display:grid;overflow:hidden;width:min(100%,44rem);border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-structured-control, var(--aeris-radius-control, var(--aeris-radius-md, .5625rem)));background:var(--aeris-surface);box-shadow:var(--aeris-shadow-xs, 0 1px 2px rgba(0, 0, 0, .1));transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor[data-fluid]{width:100%}.aeris-editor[data-size=sm]{--aeris-editor-padding: .75rem;--aeris-editor-font-size: var(--aeris-font-size-lg, .875rem)}.aeris-editor[data-size=lg]{--aeris-editor-padding: 1rem;--aeris-editor-font-size: var(--aeris-font-size-2xl, 1rem)}.aeris-editor[data-appearance=filled]{background:var(--aeris-surface-2)}.aeris-editor:focus-within{border-color:var(--aeris-control-focus-border, var(--aeris-focus));box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-focus-ring-color, var(--aeris-focus-ring-color, transparent))}.aeris-editor[data-invalid]{border-color:var(--aeris-control-invalid-border, var(--aeris-danger))}.aeris-editor[data-invalid]:focus-within{box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-invalid-focus-ring-color, transparent)}.aeris-editor[data-disabled]{cursor:not-allowed;opacity:.62}.aeris-editor__toolbar{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;padding:.5rem;border-bottom:1px solid var(--aeris-border);background:color-mix(in srgb,var(--aeris-surface-2) 82%,transparent)}.aeris-editor__toolbar button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text);font:inherit;font-size:var(--aeris-font-size-md, .8125rem);font-weight:var(--aeris-font-weight-bold, 700);cursor:pointer;transition:background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor__toolbar button[aria-pressed=true]{background:var(--aeris-primary
|
|
1516
|
+
styles: [":host{display:inline-block;color:var(--aeris-text)}:host([data-fluid]){display:block;width:100%}.aeris-editor{--aeris-editor-padding: .875rem;--aeris-editor-font-size: var(--aeris-font-size-xl, .9375rem);--aeris-editor-line-height: 1.6;display:grid;overflow:hidden;width:min(100%,44rem);border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-structured-control, var(--aeris-radius-control, var(--aeris-radius-md, .5625rem)));background:var(--aeris-surface);box-shadow:var(--aeris-shadow-xs, 0 1px 2px rgba(0, 0, 0, .1));transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor[data-fluid]{width:100%}.aeris-editor[data-size=sm]{--aeris-editor-padding: .75rem;--aeris-editor-font-size: var(--aeris-font-size-lg, .875rem)}.aeris-editor[data-size=lg]{--aeris-editor-padding: 1rem;--aeris-editor-font-size: var(--aeris-font-size-2xl, 1rem)}.aeris-editor[data-appearance=filled]{background:var(--aeris-surface-2)}.aeris-editor:focus-within{border-color:var(--aeris-control-focus-border, var(--aeris-focus));box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-focus-ring-color, var(--aeris-focus-ring-color, transparent))}.aeris-editor[data-invalid]{border-color:var(--aeris-control-invalid-border, var(--aeris-danger))}.aeris-editor[data-invalid]:focus-within{box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-invalid-focus-ring-color, transparent)}.aeris-editor[data-disabled]{cursor:not-allowed;opacity:.62}.aeris-editor__toolbar{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;padding:.5rem;border-bottom:1px solid var(--aeris-border);background:color-mix(in srgb,var(--aeris-surface-2) 82%,transparent)}.aeris-editor__toolbar button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text);font:inherit;font-size:var(--aeris-font-size-md, .8125rem);font-weight:var(--aeris-font-weight-bold, 700);cursor:pointer;transition:background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor__toolbar button[aria-pressed=true]{background:var(--aeris-editor-toolbar-active-background, var(--aeris-primary));color:var(--aeris-editor-toolbar-active-color, var(--aeris-on-primary))}@media(hover:hover){.aeris-editor__toolbar button:hover:not(:disabled):not([aria-pressed=true]){background:var(--aeris-interactive-hover, var(--aeris-surface-3));color:var(--aeris-text)}}.aeris-editor__toolbar button:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-editor__toolbar button:disabled{cursor:not-allowed;opacity:.45}.aeris-editor__toolbar svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}:dir(rtl) .aeris-editor__logical-icon{transform:scaleX(-1)}.aeris-editor__separator{width:1px;height:1.5rem;margin-inline:.125rem;background:var(--aeris-border)}.aeris-editor__content-shell{position:relative;display:grid}.aeris-editor__content{position:relative;z-index:1;min-width:0;padding:var(--aeris-editor-padding);color:var(--aeris-text);font-size:var(--aeris-editor-font-size);line-height:var(--aeris-editor-line-height);outline:0;overflow-wrap:anywhere}.aeris-editor__content[contenteditable=false]{cursor:default}.aeris-editor__placeholder{position:absolute;inset-block-start:var(--aeris-editor-padding);inset-inline-start:var(--aeris-editor-padding);color:var(--aeris-text-muted);font-size:var(--aeris-editor-font-size);line-height:var(--aeris-editor-line-height);pointer-events:none}.aeris-editor-content__paragraph{margin:0 0 .65rem}.aeris-editor-content__paragraph:last-child{margin-bottom:0}.aeris-editor-content__heading{margin:0 0 .75rem;color:var(--aeris-text);font-size:1.3em;line-height:var(--aeris-line-height-tight, 1.25)}.aeris-editor-content__heading--h1{font-size:1.65em}.aeris-editor-content__heading--h2{font-size:1.35em}.aeris-editor-content__heading--h3{font-size:1.15em}.aeris-editor-content__heading--h4{font-size:1.05em}.aeris-editor-content__heading--h5{font-size:.95em}.aeris-editor-content__heading--h6{font-size:.85em;letter-spacing:.02em;text-transform:uppercase}.aeris-editor-content__quote{margin:0 0 .75rem;padding:.75rem .875rem;border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:var(--aeris-surface-2);color:var(--aeris-text-muted)}.aeris-editor-content__unordered-list,.aeris-editor-content__ordered-list{margin:0 0 .75rem;padding-inline-start:1.35rem}.aeris-editor-content__nested-list-item{list-style-type:none}.aeris-editor-content__check-list{margin:0 0 .75rem;padding-inline-start:0;list-style:none}.aeris-editor-content__list-item--checked,.aeris-editor-content__list-item--unchecked{position:relative;padding-inline-start:1.75rem;list-style:none}.aeris-editor-content__list-item--checked:before,.aeris-editor-content__list-item--unchecked:before{position:absolute;inset-block-start:.26em;inset-inline-start:0;width:1rem;height:1rem;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-xs, .25rem);background:var(--aeris-surface);content:\"\"}.aeris-editor-content__list-item--checked:before{border-color:var(--aeris-primary);background:var(--aeris-primary)}.aeris-editor-content__list-item--checked:after{position:absolute;inset-block-start:.43em;inset-inline-start:.27rem;width:.45rem;height:.24rem;border-block-end:2px solid var(--aeris-primary-contrast, white);border-inline-start:2px solid var(--aeris-primary-contrast, white);content:\"\";transform:rotate(-45deg)}.aeris-editor-content__list-item--checked{color:var(--aeris-text-muted);text-decoration:line-through}.aeris-editor-content__bold{font-weight:var(--aeris-font-weight-bold, 700)}.aeris-editor-content__italic{font-style:italic}.aeris-editor-content__underline{text-decoration:underline;text-underline-offset:.14em}.aeris-editor-content__strikethrough{text-decoration:line-through}.aeris-editor-content__code{padding:.12em .32em;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-xs, .25rem);background:var(--aeris-surface-2);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em}.aeris-editor-content__highlight{border-radius:.18em;background:color-mix(in srgb,var(--aeris-warning, #c38600) 28%,transparent)}.aeris-editor-content__lowercase{text-transform:lowercase}.aeris-editor-content__uppercase{text-transform:uppercase}.aeris-editor-content__capitalize{text-transform:capitalize}.aeris-editor-content__subscript,.aeris-editor-content__superscript{font-size:.75em;line-height:0}.aeris-editor-content__subscript{vertical-align:sub}.aeris-editor-content__superscript{vertical-align:super}@media(prefers-reduced-motion:reduce){.aeris-editor,.aeris-editor__toolbar button{transition:none}}@media(pointer:coarse){input:not([type=checkbox]):not([type=radio]),textarea{font-size:var(--aeris-mobile-input-font-size, 1rem)}}\n"],
|
|
1517
|
+
dependencies: [{
|
|
1518
|
+
kind: "directive",
|
|
1519
|
+
type: NgTemplateOutlet,
|
|
1520
|
+
selector: "[ngTemplateOutlet]",
|
|
1521
|
+
inputs: [
|
|
1522
|
+
"ngTemplateOutletContext",
|
|
1523
|
+
"ngTemplateOutlet",
|
|
1524
|
+
"ngTemplateOutletInjector"
|
|
1525
|
+
]
|
|
1526
|
+
}],
|
|
1200
1527
|
encapsulation: i0.ViewEncapsulation.None
|
|
1201
1528
|
});
|
|
1202
1529
|
};
|
|
1203
1530
|
i0.ɵɵngDeclareClassMetadata({
|
|
1204
1531
|
minVersion: "12.0.0",
|
|
1205
|
-
version: "22.2.
|
|
1532
|
+
version: "22.2.3",
|
|
1206
1533
|
ngImport: i0,
|
|
1207
1534
|
type: AerisEditorComponent,
|
|
1208
1535
|
decorators: [{
|
|
1209
1536
|
type: Component,
|
|
1210
1537
|
args: [{
|
|
1211
1538
|
selector: "aeris-editor",
|
|
1539
|
+
imports: [NgTemplateOutlet],
|
|
1212
1540
|
template: `
|
|
1213
1541
|
<div
|
|
1214
1542
|
class="aeris-editor"
|
|
@@ -1224,18 +1552,30 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1224
1552
|
<div class="aeris-editor__toolbar" role="toolbar" [attr.aria-label]="toolbarAriaLabel()">
|
|
1225
1553
|
@if (availableFormats().has('undo')) {
|
|
1226
1554
|
<button type="button" aria-label="Undo" [disabled]="toolbarDisabled()" (click)="undo()">
|
|
1227
|
-
|
|
1228
|
-
<
|
|
1229
|
-
|
|
1230
|
-
|
|
1555
|
+
@if (toolbarIcons()['undo']; as customIcon) {
|
|
1556
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1557
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1558
|
+
/></span>
|
|
1559
|
+
} @else {
|
|
1560
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1561
|
+
<path d="M3 7v6h6" />
|
|
1562
|
+
<path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13" />
|
|
1563
|
+
</svg>
|
|
1564
|
+
}
|
|
1231
1565
|
</button>
|
|
1232
1566
|
}
|
|
1233
1567
|
@if (availableFormats().has('redo')) {
|
|
1234
1568
|
<button type="button" aria-label="Redo" [disabled]="toolbarDisabled()" (click)="redo()">
|
|
1235
|
-
|
|
1236
|
-
<
|
|
1237
|
-
|
|
1238
|
-
|
|
1569
|
+
@if (toolbarIcons()['redo']; as customIcon) {
|
|
1570
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1571
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1572
|
+
/></span>
|
|
1573
|
+
} @else {
|
|
1574
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1575
|
+
<path d="M21 7v6h-6" />
|
|
1576
|
+
<path d="M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7" />
|
|
1577
|
+
</svg>
|
|
1578
|
+
}
|
|
1239
1579
|
</button>
|
|
1240
1580
|
}
|
|
1241
1581
|
|
|
@@ -1250,7 +1590,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1250
1590
|
[disabled]="toolbarDisabled()"
|
|
1251
1591
|
(click)="format('bold')"
|
|
1252
1592
|
>
|
|
1253
|
-
|
|
1593
|
+
@if (toolbarIcons()['bold']; as customIcon) {
|
|
1594
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1595
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1596
|
+
/></span>
|
|
1597
|
+
} @else {
|
|
1598
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1599
|
+
<path d="M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8" />
|
|
1600
|
+
</svg>
|
|
1601
|
+
}
|
|
1254
1602
|
</button>
|
|
1255
1603
|
}
|
|
1256
1604
|
@if (availableFormats().has('italic')) {
|
|
@@ -1261,7 +1609,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1261
1609
|
[disabled]="toolbarDisabled()"
|
|
1262
1610
|
(click)="format('italic')"
|
|
1263
1611
|
>
|
|
1264
|
-
|
|
1612
|
+
@if (toolbarIcons()['italic']; as customIcon) {
|
|
1613
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1614
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1615
|
+
/></span>
|
|
1616
|
+
} @else {
|
|
1617
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1618
|
+
<line x1="19" x2="10" y1="4" y2="4" />
|
|
1619
|
+
<line x1="14" x2="5" y1="20" y2="20" />
|
|
1620
|
+
<line x1="15" x2="9" y1="4" y2="20" />
|
|
1621
|
+
</svg>
|
|
1622
|
+
}
|
|
1265
1623
|
</button>
|
|
1266
1624
|
}
|
|
1267
1625
|
@if (availableFormats().has('underline')) {
|
|
@@ -1272,7 +1630,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1272
1630
|
[disabled]="toolbarDisabled()"
|
|
1273
1631
|
(click)="format('underline')"
|
|
1274
1632
|
>
|
|
1275
|
-
|
|
1633
|
+
@if (toolbarIcons()['underline']; as customIcon) {
|
|
1634
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1635
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1636
|
+
/></span>
|
|
1637
|
+
} @else {
|
|
1638
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1639
|
+
<path d="M6 4v6a6 6 0 0 0 12 0V4" />
|
|
1640
|
+
<line x1="4" x2="20" y1="20" y2="20" />
|
|
1641
|
+
</svg>
|
|
1642
|
+
}
|
|
1276
1643
|
</button>
|
|
1277
1644
|
}
|
|
1278
1645
|
@if (availableFormats().has('strikethrough')) {
|
|
@@ -1283,7 +1650,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1283
1650
|
[disabled]="toolbarDisabled()"
|
|
1284
1651
|
(click)="format('strikethrough')"
|
|
1285
1652
|
>
|
|
1286
|
-
|
|
1653
|
+
@if (toolbarIcons()['strikethrough']; as customIcon) {
|
|
1654
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1655
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1656
|
+
/></span>
|
|
1657
|
+
} @else {
|
|
1658
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1659
|
+
<path d="M16 4H9a3 3 0 0 0-2.83 4" />
|
|
1660
|
+
<path d="M14 12a4 4 0 0 1 0 8H6" />
|
|
1661
|
+
<line x1="4" x2="20" y1="12" y2="12" />
|
|
1662
|
+
</svg>
|
|
1663
|
+
}
|
|
1287
1664
|
</button>
|
|
1288
1665
|
}
|
|
1289
1666
|
@if (availableFormats().has('code')) {
|
|
@@ -1294,7 +1671,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1294
1671
|
[disabled]="toolbarDisabled()"
|
|
1295
1672
|
(click)="format('code')"
|
|
1296
1673
|
>
|
|
1297
|
-
|
|
1674
|
+
@if (toolbarIcons()['code']; as customIcon) {
|
|
1675
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1676
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1677
|
+
/></span>
|
|
1678
|
+
} @else {
|
|
1679
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1680
|
+
<path d="m16 18 6-6-6-6" />
|
|
1681
|
+
<path d="m8 6-6 6 6 6" />
|
|
1682
|
+
</svg>
|
|
1683
|
+
}
|
|
1298
1684
|
</button>
|
|
1299
1685
|
}
|
|
1300
1686
|
@if (availableFormats().has('highlight')) {
|
|
@@ -1305,11 +1691,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1305
1691
|
[disabled]="toolbarDisabled()"
|
|
1306
1692
|
(click)="format('highlight')"
|
|
1307
1693
|
>
|
|
1308
|
-
|
|
1309
|
-
<
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1694
|
+
@if (toolbarIcons()['highlight']; as customIcon) {
|
|
1695
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1696
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1697
|
+
/></span>
|
|
1698
|
+
} @else {
|
|
1699
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1700
|
+
<path d="m9 11-6 6v3h9l3-3" />
|
|
1701
|
+
<path d="m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4" />
|
|
1702
|
+
</svg>
|
|
1703
|
+
}
|
|
1313
1704
|
</button>
|
|
1314
1705
|
}
|
|
1315
1706
|
@if (availableFormats().has('subscript')) {
|
|
@@ -1320,7 +1711,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1320
1711
|
[disabled]="toolbarDisabled()"
|
|
1321
1712
|
(click)="format('subscript')"
|
|
1322
1713
|
>
|
|
1323
|
-
|
|
1714
|
+
@if (toolbarIcons()['subscript']; as customIcon) {
|
|
1715
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
1716
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1717
|
+
/></span>
|
|
1718
|
+
} @else {
|
|
1719
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1720
|
+
<path d="m4 5 8 8" />
|
|
1721
|
+
<path d="m12 5-8 8" />
|
|
1722
|
+
<path
|
|
1723
|
+
d="M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07"
|
|
1724
|
+
/>
|
|
1725
|
+
</svg>
|
|
1726
|
+
}
|
|
1324
1727
|
</button>
|
|
1325
1728
|
}
|
|
1326
1729
|
@if (availableFormats().has('superscript')) {
|
|
@@ -1331,7 +1734,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1331
1734
|
[disabled]="toolbarDisabled()"
|
|
1332
1735
|
(click)="format('superscript')"
|
|
1333
1736
|
>
|
|
1334
|
-
|
|
1737
|
+
@if (toolbarIcons()['superscript']; as customIcon) {
|
|
1738
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1739
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1740
|
+
/></span>
|
|
1741
|
+
} @else {
|
|
1742
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1743
|
+
<path d="m4 19 8-8" />
|
|
1744
|
+
<path d="m12 19-8-8" />
|
|
1745
|
+
<path
|
|
1746
|
+
d="M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06"
|
|
1747
|
+
/>
|
|
1748
|
+
</svg>
|
|
1749
|
+
}
|
|
1335
1750
|
</button>
|
|
1336
1751
|
}
|
|
1337
1752
|
@if (availableFormats().has('lowercase')) {
|
|
@@ -1342,7 +1757,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1342
1757
|
[disabled]="toolbarDisabled()"
|
|
1343
1758
|
(click)="format('lowercase')"
|
|
1344
1759
|
>
|
|
1345
|
-
|
|
1760
|
+
@if (toolbarIcons()['lowercase']; as customIcon) {
|
|
1761
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1762
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1763
|
+
/></span>
|
|
1764
|
+
} @else {
|
|
1765
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1766
|
+
<path d="M10 9v7" />
|
|
1767
|
+
<path d="M14 6v10" />
|
|
1768
|
+
<circle cx="17.5" cy="12.5" r="3.5" />
|
|
1769
|
+
<circle cx="6.5" cy="12.5" r="3.5" />
|
|
1770
|
+
</svg>
|
|
1771
|
+
}
|
|
1346
1772
|
</button>
|
|
1347
1773
|
}
|
|
1348
1774
|
@if (availableFormats().has('uppercase')) {
|
|
@@ -1353,7 +1779,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1353
1779
|
[disabled]="toolbarDisabled()"
|
|
1354
1780
|
(click)="format('uppercase')"
|
|
1355
1781
|
>
|
|
1356
|
-
|
|
1782
|
+
@if (toolbarIcons()['uppercase']; as customIcon) {
|
|
1783
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1784
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1785
|
+
/></span>
|
|
1786
|
+
} @else {
|
|
1787
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1788
|
+
<path
|
|
1789
|
+
d="M15 11h4.5a1 1 0 0 1 0 5h-4a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h3a1 1 0 0 1 0 5"
|
|
1790
|
+
/>
|
|
1791
|
+
<path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
|
|
1792
|
+
<path d="M3.304 13h6.392" />
|
|
1793
|
+
</svg>
|
|
1794
|
+
}
|
|
1357
1795
|
</button>
|
|
1358
1796
|
}
|
|
1359
1797
|
@if (availableFormats().has('capitalize')) {
|
|
@@ -1364,7 +1802,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1364
1802
|
[disabled]="toolbarDisabled()"
|
|
1365
1803
|
(click)="format('capitalize')"
|
|
1366
1804
|
>
|
|
1367
|
-
|
|
1805
|
+
@if (toolbarIcons()['capitalize']; as customIcon) {
|
|
1806
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1807
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1808
|
+
/></span>
|
|
1809
|
+
} @else {
|
|
1810
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1811
|
+
<path d="m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16" />
|
|
1812
|
+
<path d="M22 9v7" />
|
|
1813
|
+
<path d="M3.304 13h6.392" />
|
|
1814
|
+
<circle cx="18.5" cy="12.5" r="3.5" />
|
|
1815
|
+
</svg>
|
|
1816
|
+
}
|
|
1368
1817
|
</button>
|
|
1369
1818
|
}
|
|
1370
1819
|
|
|
@@ -1379,7 +1828,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1379
1828
|
[disabled]="toolbarDisabled()"
|
|
1380
1829
|
(click)="setBlock('paragraph')"
|
|
1381
1830
|
>
|
|
1382
|
-
|
|
1831
|
+
@if (toolbarIcons()['paragraph']; as customIcon) {
|
|
1832
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1833
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1834
|
+
/></span>
|
|
1835
|
+
} @else {
|
|
1836
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1837
|
+
<path d="M13 4v16" />
|
|
1838
|
+
<path d="M17 4v16" />
|
|
1839
|
+
<path d="M19 4H9.5a4.5 4.5 0 0 0 0 9H13" />
|
|
1840
|
+
</svg>
|
|
1841
|
+
}
|
|
1383
1842
|
</button>
|
|
1384
1843
|
}
|
|
1385
1844
|
@if (availableFormats().has('heading1')) {
|
|
@@ -1390,7 +1849,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1390
1849
|
[disabled]="toolbarDisabled()"
|
|
1391
1850
|
(click)="setBlock('h1')"
|
|
1392
1851
|
>
|
|
1393
|
-
|
|
1852
|
+
@if (toolbarIcons()['heading1']; as customIcon) {
|
|
1853
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1854
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1855
|
+
/></span>
|
|
1856
|
+
} @else {
|
|
1857
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1858
|
+
<path d="M4 12h8" />
|
|
1859
|
+
<path d="M4 18V6" />
|
|
1860
|
+
<path d="M12 18V6" />
|
|
1861
|
+
<path d="m17 12 3-2v8" />
|
|
1862
|
+
</svg>
|
|
1863
|
+
}
|
|
1394
1864
|
</button>
|
|
1395
1865
|
}
|
|
1396
1866
|
@if (availableFormats().has('heading')) {
|
|
@@ -1401,7 +1871,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1401
1871
|
[disabled]="toolbarDisabled()"
|
|
1402
1872
|
(click)="setBlock('heading')"
|
|
1403
1873
|
>
|
|
1404
|
-
|
|
1874
|
+
@if (toolbarIcons()['heading']; as customIcon) {
|
|
1875
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1876
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1877
|
+
/></span>
|
|
1878
|
+
} @else {
|
|
1879
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1880
|
+
<path d="M4 12h8" />
|
|
1881
|
+
<path d="M4 18V6" />
|
|
1882
|
+
<path d="M12 18V6" />
|
|
1883
|
+
<path d="M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" />
|
|
1884
|
+
</svg>
|
|
1885
|
+
}
|
|
1405
1886
|
</button>
|
|
1406
1887
|
}
|
|
1407
1888
|
@if (availableFormats().has('heading2')) {
|
|
@@ -1412,7 +1893,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1412
1893
|
[disabled]="toolbarDisabled()"
|
|
1413
1894
|
(click)="setBlock('h2')"
|
|
1414
1895
|
>
|
|
1415
|
-
|
|
1896
|
+
@if (toolbarIcons()['heading2']; as customIcon) {
|
|
1897
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1898
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1899
|
+
/></span>
|
|
1900
|
+
} @else {
|
|
1901
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1902
|
+
<path d="M4 12h8" />
|
|
1903
|
+
<path d="M4 18V6" />
|
|
1904
|
+
<path d="M12 18V6" />
|
|
1905
|
+
<path d="M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" />
|
|
1906
|
+
</svg>
|
|
1907
|
+
}
|
|
1416
1908
|
</button>
|
|
1417
1909
|
}
|
|
1418
1910
|
@if (availableFormats().has('heading3')) {
|
|
@@ -1423,7 +1915,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1423
1915
|
[disabled]="toolbarDisabled()"
|
|
1424
1916
|
(click)="setBlock('h3')"
|
|
1425
1917
|
>
|
|
1426
|
-
|
|
1918
|
+
@if (toolbarIcons()['heading3']; as customIcon) {
|
|
1919
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1920
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1921
|
+
/></span>
|
|
1922
|
+
} @else {
|
|
1923
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1924
|
+
<path d="M4 12h8" />
|
|
1925
|
+
<path d="M4 18V6" />
|
|
1926
|
+
<path d="M12 18V6" />
|
|
1927
|
+
<path d="M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2" />
|
|
1928
|
+
<path d="M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2" />
|
|
1929
|
+
</svg>
|
|
1930
|
+
}
|
|
1427
1931
|
</button>
|
|
1428
1932
|
}
|
|
1429
1933
|
@if (availableFormats().has('heading4')) {
|
|
@@ -1434,7 +1938,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1434
1938
|
[disabled]="toolbarDisabled()"
|
|
1435
1939
|
(click)="setBlock('h4')"
|
|
1436
1940
|
>
|
|
1437
|
-
|
|
1941
|
+
@if (toolbarIcons()['heading4']; as customIcon) {
|
|
1942
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1943
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1944
|
+
/></span>
|
|
1945
|
+
} @else {
|
|
1946
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1947
|
+
<path d="M12 18V6" />
|
|
1948
|
+
<path d="M17 10v3a1 1 0 0 0 1 1h3" />
|
|
1949
|
+
<path d="M21 10v8" />
|
|
1950
|
+
<path d="M4 12h8" />
|
|
1951
|
+
<path d="M4 18V6" />
|
|
1952
|
+
</svg>
|
|
1953
|
+
}
|
|
1438
1954
|
</button>
|
|
1439
1955
|
}
|
|
1440
1956
|
@if (availableFormats().has('heading5')) {
|
|
@@ -1445,7 +1961,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1445
1961
|
[disabled]="toolbarDisabled()"
|
|
1446
1962
|
(click)="setBlock('h5')"
|
|
1447
1963
|
>
|
|
1448
|
-
|
|
1964
|
+
@if (toolbarIcons()['heading5']; as customIcon) {
|
|
1965
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1966
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1967
|
+
/></span>
|
|
1968
|
+
} @else {
|
|
1969
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1970
|
+
<path d="M4 12h8" />
|
|
1971
|
+
<path d="M4 18V6" />
|
|
1972
|
+
<path d="M12 18V6" />
|
|
1973
|
+
<path d="M17 13v-3h4" />
|
|
1974
|
+
<path d="M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17" />
|
|
1975
|
+
</svg>
|
|
1976
|
+
}
|
|
1449
1977
|
</button>
|
|
1450
1978
|
}
|
|
1451
1979
|
@if (availableFormats().has('heading6')) {
|
|
@@ -1456,7 +1984,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1456
1984
|
[disabled]="toolbarDisabled()"
|
|
1457
1985
|
(click)="setBlock('h6')"
|
|
1458
1986
|
>
|
|
1459
|
-
|
|
1987
|
+
@if (toolbarIcons()['heading6']; as customIcon) {
|
|
1988
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
1989
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
1990
|
+
/></span>
|
|
1991
|
+
} @else {
|
|
1992
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
1993
|
+
<path d="M4 12h8" />
|
|
1994
|
+
<path d="M4 18V6" />
|
|
1995
|
+
<path d="M12 18V6" />
|
|
1996
|
+
<circle cx="19" cy="16" r="2" />
|
|
1997
|
+
<path d="M20 10c-2 2-3 3.5-3 6" />
|
|
1998
|
+
</svg>
|
|
1999
|
+
}
|
|
1460
2000
|
</button>
|
|
1461
2001
|
}
|
|
1462
2002
|
@if (availableFormats().has('quote')) {
|
|
@@ -1467,14 +2007,20 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1467
2007
|
[disabled]="toolbarDisabled()"
|
|
1468
2008
|
(click)="setBlock('quote')"
|
|
1469
2009
|
>
|
|
1470
|
-
|
|
1471
|
-
<
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
2010
|
+
@if (toolbarIcons()['quote']; as customIcon) {
|
|
2011
|
+
<span class="aeris-custom-icon" data-aeris-custom-icon aria-hidden="true"
|
|
2012
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2013
|
+
/></span>
|
|
2014
|
+
} @else {
|
|
2015
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
2016
|
+
<path
|
|
2017
|
+
d="M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"
|
|
2018
|
+
/>
|
|
2019
|
+
<path
|
|
2020
|
+
d="M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"
|
|
2021
|
+
/>
|
|
2022
|
+
</svg>
|
|
2023
|
+
}
|
|
1478
2024
|
</button>
|
|
1479
2025
|
}
|
|
1480
2026
|
|
|
@@ -1489,14 +2035,20 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1489
2035
|
[disabled]="toolbarDisabled()"
|
|
1490
2036
|
(click)="toggleBulletList()"
|
|
1491
2037
|
>
|
|
1492
|
-
|
|
1493
|
-
<
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
<
|
|
1498
|
-
|
|
1499
|
-
|
|
2038
|
+
@if (toolbarIcons()['bulletList']; as customIcon) {
|
|
2039
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
2040
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2041
|
+
/></span>
|
|
2042
|
+
} @else {
|
|
2043
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
2044
|
+
<path d="M3 5h.01" />
|
|
2045
|
+
<path d="M3 12h.01" />
|
|
2046
|
+
<path d="M3 19h.01" />
|
|
2047
|
+
<path d="M8 5h13" />
|
|
2048
|
+
<path d="M8 12h13" />
|
|
2049
|
+
<path d="M8 19h13" />
|
|
2050
|
+
</svg>
|
|
2051
|
+
}
|
|
1500
2052
|
</button>
|
|
1501
2053
|
}
|
|
1502
2054
|
@if (availableFormats().has('numberedList')) {
|
|
@@ -1507,19 +2059,20 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1507
2059
|
[disabled]="toolbarDisabled()"
|
|
1508
2060
|
(click)="toggleNumberedList()"
|
|
1509
2061
|
>
|
|
1510
|
-
|
|
1511
|
-
<
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
<
|
|
1516
|
-
|
|
1517
|
-
d="
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
d="
|
|
1521
|
-
|
|
1522
|
-
|
|
2062
|
+
@if (toolbarIcons()['numberedList']; as customIcon) {
|
|
2063
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
2064
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2065
|
+
/></span>
|
|
2066
|
+
} @else {
|
|
2067
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
2068
|
+
<path d="M11 5h10" />
|
|
2069
|
+
<path d="M11 12h10" />
|
|
2070
|
+
<path d="M11 19h10" />
|
|
2071
|
+
<path d="M4 4h1v5" />
|
|
2072
|
+
<path d="M4 9h2" />
|
|
2073
|
+
<path d="M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02" />
|
|
2074
|
+
</svg>
|
|
2075
|
+
}
|
|
1523
2076
|
</button>
|
|
1524
2077
|
}
|
|
1525
2078
|
@if (availableFormats().has('checkList')) {
|
|
@@ -1530,13 +2083,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1530
2083
|
[disabled]="toolbarDisabled()"
|
|
1531
2084
|
(click)="toggleCheckList()"
|
|
1532
2085
|
>
|
|
1533
|
-
|
|
1534
|
-
<
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
<
|
|
1539
|
-
|
|
2086
|
+
@if (toolbarIcons()['checkList']; as customIcon) {
|
|
2087
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
2088
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2089
|
+
/></span>
|
|
2090
|
+
} @else {
|
|
2091
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
2092
|
+
<path d="M13 5h8" />
|
|
2093
|
+
<path d="M13 12h8" />
|
|
2094
|
+
<path d="M13 19h8" />
|
|
2095
|
+
<path d="m3 17 2 2 4-4" />
|
|
2096
|
+
<path d="m3 7 2 2 4-4" />
|
|
2097
|
+
</svg>
|
|
2098
|
+
}
|
|
1540
2099
|
</button>
|
|
1541
2100
|
}
|
|
1542
2101
|
|
|
@@ -1551,9 +2110,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1551
2110
|
[disabled]="toolbarDisabled()"
|
|
1552
2111
|
(click)="align('left')"
|
|
1553
2112
|
>
|
|
1554
|
-
|
|
1555
|
-
<
|
|
1556
|
-
|
|
2113
|
+
@if (toolbarIcons()['alignLeft']; as customIcon) {
|
|
2114
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
2115
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2116
|
+
/></span>
|
|
2117
|
+
} @else {
|
|
2118
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
2119
|
+
<path d="M21 5H3" />
|
|
2120
|
+
<path d="M15 12H3" />
|
|
2121
|
+
<path d="M17 19H3" />
|
|
2122
|
+
</svg>
|
|
2123
|
+
}
|
|
1557
2124
|
</button>
|
|
1558
2125
|
}
|
|
1559
2126
|
@if (availableFormats().has('alignStart')) {
|
|
@@ -1564,9 +2131,20 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1564
2131
|
[disabled]="toolbarDisabled()"
|
|
1565
2132
|
(click)="align('start')"
|
|
1566
2133
|
>
|
|
1567
|
-
|
|
1568
|
-
<
|
|
1569
|
-
|
|
2134
|
+
@if (toolbarIcons()['alignStart']; as customIcon) {
|
|
2135
|
+
<span
|
|
2136
|
+
class="aeris-custom-icon aeris-editor__logical-icon"
|
|
2137
|
+
aria-hidden="true"
|
|
2138
|
+
data-aeris-custom-icon
|
|
2139
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2140
|
+
/></span>
|
|
2141
|
+
} @else {
|
|
2142
|
+
<svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
|
|
2143
|
+
<path d="M21 5H3" />
|
|
2144
|
+
<path d="M15 12H3" />
|
|
2145
|
+
<path d="M17 19H3" />
|
|
2146
|
+
</svg>
|
|
2147
|
+
}
|
|
1570
2148
|
</button>
|
|
1571
2149
|
}
|
|
1572
2150
|
@if (availableFormats().has('alignCenter')) {
|
|
@@ -1577,9 +2155,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1577
2155
|
[disabled]="toolbarDisabled()"
|
|
1578
2156
|
(click)="align('center')"
|
|
1579
2157
|
>
|
|
1580
|
-
|
|
1581
|
-
<
|
|
1582
|
-
|
|
2158
|
+
@if (toolbarIcons()['alignCenter']; as customIcon) {
|
|
2159
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
2160
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2161
|
+
/></span>
|
|
2162
|
+
} @else {
|
|
2163
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
2164
|
+
<path d="M21 5H3" />
|
|
2165
|
+
<path d="M17 12H7" />
|
|
2166
|
+
<path d="M19 19H5" />
|
|
2167
|
+
</svg>
|
|
2168
|
+
}
|
|
1583
2169
|
</button>
|
|
1584
2170
|
}
|
|
1585
2171
|
@if (availableFormats().has('alignRight')) {
|
|
@@ -1590,9 +2176,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1590
2176
|
[disabled]="toolbarDisabled()"
|
|
1591
2177
|
(click)="align('right')"
|
|
1592
2178
|
>
|
|
1593
|
-
|
|
1594
|
-
<
|
|
1595
|
-
|
|
2179
|
+
@if (toolbarIcons()['alignRight']; as customIcon) {
|
|
2180
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
2181
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2182
|
+
/></span>
|
|
2183
|
+
} @else {
|
|
2184
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
2185
|
+
<path d="M21 5H3" />
|
|
2186
|
+
<path d="M21 12H9" />
|
|
2187
|
+
<path d="M21 19H7" />
|
|
2188
|
+
</svg>
|
|
2189
|
+
}
|
|
1596
2190
|
</button>
|
|
1597
2191
|
}
|
|
1598
2192
|
@if (availableFormats().has('alignEnd')) {
|
|
@@ -1603,9 +2197,20 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1603
2197
|
[disabled]="toolbarDisabled()"
|
|
1604
2198
|
(click)="align('end')"
|
|
1605
2199
|
>
|
|
1606
|
-
|
|
1607
|
-
<
|
|
1608
|
-
|
|
2200
|
+
@if (toolbarIcons()['alignEnd']; as customIcon) {
|
|
2201
|
+
<span
|
|
2202
|
+
class="aeris-custom-icon aeris-editor__logical-icon"
|
|
2203
|
+
aria-hidden="true"
|
|
2204
|
+
data-aeris-custom-icon
|
|
2205
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2206
|
+
/></span>
|
|
2207
|
+
} @else {
|
|
2208
|
+
<svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
|
|
2209
|
+
<path d="M21 5H3" />
|
|
2210
|
+
<path d="M21 12H9" />
|
|
2211
|
+
<path d="M21 19H7" />
|
|
2212
|
+
</svg>
|
|
2213
|
+
}
|
|
1609
2214
|
</button>
|
|
1610
2215
|
}
|
|
1611
2216
|
@if (availableFormats().has('alignJustify')) {
|
|
@@ -1616,9 +2221,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1616
2221
|
[disabled]="toolbarDisabled()"
|
|
1617
2222
|
(click)="align('justify')"
|
|
1618
2223
|
>
|
|
1619
|
-
|
|
1620
|
-
<
|
|
1621
|
-
|
|
2224
|
+
@if (toolbarIcons()['alignJustify']; as customIcon) {
|
|
2225
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
2226
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2227
|
+
/></span>
|
|
2228
|
+
} @else {
|
|
2229
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
2230
|
+
<path d="M3 5h18" />
|
|
2231
|
+
<path d="M3 12h18" />
|
|
2232
|
+
<path d="M3 19h18" />
|
|
2233
|
+
</svg>
|
|
2234
|
+
}
|
|
1622
2235
|
</button>
|
|
1623
2236
|
}
|
|
1624
2237
|
|
|
@@ -1632,10 +2245,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1632
2245
|
[disabled]="toolbarDisabled()"
|
|
1633
2246
|
(click)="outdent()"
|
|
1634
2247
|
>
|
|
1635
|
-
|
|
1636
|
-
<
|
|
1637
|
-
|
|
1638
|
-
|
|
2248
|
+
@if (toolbarIcons()['outdent']; as customIcon) {
|
|
2249
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
2250
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2251
|
+
/></span>
|
|
2252
|
+
} @else {
|
|
2253
|
+
<svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
|
|
2254
|
+
<path d="M21 5H11" />
|
|
2255
|
+
<path d="M21 12H11" />
|
|
2256
|
+
<path d="M21 19H11" />
|
|
2257
|
+
<path d="m7 8-4 4 4 4" />
|
|
2258
|
+
</svg>
|
|
2259
|
+
}
|
|
1639
2260
|
</button>
|
|
1640
2261
|
}
|
|
1641
2262
|
@if (availableFormats().has('indent')) {
|
|
@@ -1645,10 +2266,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1645
2266
|
[disabled]="toolbarDisabled()"
|
|
1646
2267
|
(click)="indent()"
|
|
1647
2268
|
>
|
|
1648
|
-
|
|
1649
|
-
<
|
|
1650
|
-
|
|
1651
|
-
|
|
2269
|
+
@if (toolbarIcons()['indent']; as customIcon) {
|
|
2270
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
2271
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2272
|
+
/></span>
|
|
2273
|
+
} @else {
|
|
2274
|
+
<svg class="aeris-editor__logical-icon" aria-hidden="true" viewBox="0 0 24 24">
|
|
2275
|
+
<path d="M21 5H11" />
|
|
2276
|
+
<path d="M21 12H11" />
|
|
2277
|
+
<path d="M21 19H11" />
|
|
2278
|
+
<path d="m3 8 4 4-4 4" />
|
|
2279
|
+
</svg>
|
|
2280
|
+
}
|
|
1652
2281
|
</button>
|
|
1653
2282
|
}
|
|
1654
2283
|
@if (availableFormats().has('clear')) {
|
|
@@ -1658,11 +2287,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1658
2287
|
[disabled]="toolbarDisabled()"
|
|
1659
2288
|
(click)="clearFormatting()"
|
|
1660
2289
|
>
|
|
1661
|
-
|
|
1662
|
-
<
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
2290
|
+
@if (toolbarIcons()['clear']; as customIcon) {
|
|
2291
|
+
<span class="aeris-custom-icon" aria-hidden="true" data-aeris-custom-icon
|
|
2292
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
2293
|
+
/></span>
|
|
2294
|
+
} @else {
|
|
2295
|
+
<svg aria-hidden="true" viewBox="0 0 24 24">
|
|
2296
|
+
<path d="M4 7V4h16v3" />
|
|
2297
|
+
<path d="M5 20h6" />
|
|
2298
|
+
<path d="M13 4 8 20" />
|
|
2299
|
+
<path d="m15 15 5 5" />
|
|
2300
|
+
<path d="m20 15-5 5" />
|
|
2301
|
+
</svg>
|
|
2302
|
+
}
|
|
1666
2303
|
</button>
|
|
1667
2304
|
}
|
|
1668
2305
|
</div>
|
|
@@ -1704,11 +2341,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1704
2341
|
multi: true
|
|
1705
2342
|
}],
|
|
1706
2343
|
host: { "[attr.data-fluid]": "fluid() || null" },
|
|
1707
|
-
styles: [":host{display:inline-block;color:var(--aeris-text)}:host([data-fluid]){display:block;width:100%}.aeris-editor{--aeris-editor-padding: .875rem;--aeris-editor-font-size: var(--aeris-font-size-xl, .9375rem);--aeris-editor-line-height: 1.6;display:grid;overflow:hidden;width:min(100%,44rem);border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-structured-control, var(--aeris-radius-control, var(--aeris-radius-md, .5625rem)));background:var(--aeris-surface);box-shadow:var(--aeris-shadow-xs, 0 1px 2px rgba(0, 0, 0, .1));transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor[data-fluid]{width:100%}.aeris-editor[data-size=sm]{--aeris-editor-padding: .75rem;--aeris-editor-font-size: var(--aeris-font-size-lg, .875rem)}.aeris-editor[data-size=lg]{--aeris-editor-padding: 1rem;--aeris-editor-font-size: var(--aeris-font-size-2xl, 1rem)}.aeris-editor[data-appearance=filled]{background:var(--aeris-surface-2)}.aeris-editor:focus-within{border-color:var(--aeris-control-focus-border, var(--aeris-focus));box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-focus-ring-color, var(--aeris-focus-ring-color, transparent))}.aeris-editor[data-invalid]{border-color:var(--aeris-control-invalid-border, var(--aeris-danger))}.aeris-editor[data-invalid]:focus-within{box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-invalid-focus-ring-color, transparent)}.aeris-editor[data-disabled]{cursor:not-allowed;opacity:.62}.aeris-editor__toolbar{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;padding:.5rem;border-bottom:1px solid var(--aeris-border);background:color-mix(in srgb,var(--aeris-surface-2) 82%,transparent)}.aeris-editor__toolbar button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text);font:inherit;font-size:var(--aeris-font-size-md, .8125rem);font-weight:var(--aeris-font-weight-bold, 700);cursor:pointer;transition:background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor__toolbar button[aria-pressed=true]{background:var(--aeris-primary
|
|
2344
|
+
styles: [":host{display:inline-block;color:var(--aeris-text)}:host([data-fluid]){display:block;width:100%}.aeris-editor{--aeris-editor-padding: .875rem;--aeris-editor-font-size: var(--aeris-font-size-xl, .9375rem);--aeris-editor-line-height: 1.6;display:grid;overflow:hidden;width:min(100%,44rem);border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-structured-control, var(--aeris-radius-control, var(--aeris-radius-md, .5625rem)));background:var(--aeris-surface);box-shadow:var(--aeris-shadow-xs, 0 1px 2px rgba(0, 0, 0, .1));transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor[data-fluid]{width:100%}.aeris-editor[data-size=sm]{--aeris-editor-padding: .75rem;--aeris-editor-font-size: var(--aeris-font-size-lg, .875rem)}.aeris-editor[data-size=lg]{--aeris-editor-padding: 1rem;--aeris-editor-font-size: var(--aeris-font-size-2xl, 1rem)}.aeris-editor[data-appearance=filled]{background:var(--aeris-surface-2)}.aeris-editor:focus-within{border-color:var(--aeris-control-focus-border, var(--aeris-focus));box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-focus-ring-color, var(--aeris-focus-ring-color, transparent))}.aeris-editor[data-invalid]{border-color:var(--aeris-control-invalid-border, var(--aeris-danger))}.aeris-editor[data-invalid]:focus-within{box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-invalid-focus-ring-color, transparent)}.aeris-editor[data-disabled]{cursor:not-allowed;opacity:.62}.aeris-editor__toolbar{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;padding:.5rem;border-bottom:1px solid var(--aeris-border);background:color-mix(in srgb,var(--aeris-surface-2) 82%,transparent)}.aeris-editor__toolbar button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text);font:inherit;font-size:var(--aeris-font-size-md, .8125rem);font-weight:var(--aeris-font-weight-bold, 700);cursor:pointer;transition:background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-editor__toolbar button[aria-pressed=true]{background:var(--aeris-editor-toolbar-active-background, var(--aeris-primary));color:var(--aeris-editor-toolbar-active-color, var(--aeris-on-primary))}@media(hover:hover){.aeris-editor__toolbar button:hover:not(:disabled):not([aria-pressed=true]){background:var(--aeris-interactive-hover, var(--aeris-surface-3));color:var(--aeris-text)}}.aeris-editor__toolbar button:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-editor__toolbar button:disabled{cursor:not-allowed;opacity:.45}.aeris-editor__toolbar svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}:dir(rtl) .aeris-editor__logical-icon{transform:scaleX(-1)}.aeris-editor__separator{width:1px;height:1.5rem;margin-inline:.125rem;background:var(--aeris-border)}.aeris-editor__content-shell{position:relative;display:grid}.aeris-editor__content{position:relative;z-index:1;min-width:0;padding:var(--aeris-editor-padding);color:var(--aeris-text);font-size:var(--aeris-editor-font-size);line-height:var(--aeris-editor-line-height);outline:0;overflow-wrap:anywhere}.aeris-editor__content[contenteditable=false]{cursor:default}.aeris-editor__placeholder{position:absolute;inset-block-start:var(--aeris-editor-padding);inset-inline-start:var(--aeris-editor-padding);color:var(--aeris-text-muted);font-size:var(--aeris-editor-font-size);line-height:var(--aeris-editor-line-height);pointer-events:none}.aeris-editor-content__paragraph{margin:0 0 .65rem}.aeris-editor-content__paragraph:last-child{margin-bottom:0}.aeris-editor-content__heading{margin:0 0 .75rem;color:var(--aeris-text);font-size:1.3em;line-height:var(--aeris-line-height-tight, 1.25)}.aeris-editor-content__heading--h1{font-size:1.65em}.aeris-editor-content__heading--h2{font-size:1.35em}.aeris-editor-content__heading--h3{font-size:1.15em}.aeris-editor-content__heading--h4{font-size:1.05em}.aeris-editor-content__heading--h5{font-size:.95em}.aeris-editor-content__heading--h6{font-size:.85em;letter-spacing:.02em;text-transform:uppercase}.aeris-editor-content__quote{margin:0 0 .75rem;padding:.75rem .875rem;border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:var(--aeris-surface-2);color:var(--aeris-text-muted)}.aeris-editor-content__unordered-list,.aeris-editor-content__ordered-list{margin:0 0 .75rem;padding-inline-start:1.35rem}.aeris-editor-content__nested-list-item{list-style-type:none}.aeris-editor-content__check-list{margin:0 0 .75rem;padding-inline-start:0;list-style:none}.aeris-editor-content__list-item--checked,.aeris-editor-content__list-item--unchecked{position:relative;padding-inline-start:1.75rem;list-style:none}.aeris-editor-content__list-item--checked:before,.aeris-editor-content__list-item--unchecked:before{position:absolute;inset-block-start:.26em;inset-inline-start:0;width:1rem;height:1rem;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-xs, .25rem);background:var(--aeris-surface);content:\"\"}.aeris-editor-content__list-item--checked:before{border-color:var(--aeris-primary);background:var(--aeris-primary)}.aeris-editor-content__list-item--checked:after{position:absolute;inset-block-start:.43em;inset-inline-start:.27rem;width:.45rem;height:.24rem;border-block-end:2px solid var(--aeris-primary-contrast, white);border-inline-start:2px solid var(--aeris-primary-contrast, white);content:\"\";transform:rotate(-45deg)}.aeris-editor-content__list-item--checked{color:var(--aeris-text-muted);text-decoration:line-through}.aeris-editor-content__bold{font-weight:var(--aeris-font-weight-bold, 700)}.aeris-editor-content__italic{font-style:italic}.aeris-editor-content__underline{text-decoration:underline;text-underline-offset:.14em}.aeris-editor-content__strikethrough{text-decoration:line-through}.aeris-editor-content__code{padding:.12em .32em;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-xs, .25rem);background:var(--aeris-surface-2);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em}.aeris-editor-content__highlight{border-radius:.18em;background:color-mix(in srgb,var(--aeris-warning, #c38600) 28%,transparent)}.aeris-editor-content__lowercase{text-transform:lowercase}.aeris-editor-content__uppercase{text-transform:uppercase}.aeris-editor-content__capitalize{text-transform:capitalize}.aeris-editor-content__subscript,.aeris-editor-content__superscript{font-size:.75em;line-height:0}.aeris-editor-content__subscript{vertical-align:sub}.aeris-editor-content__superscript{vertical-align:super}@media(prefers-reduced-motion:reduce){.aeris-editor,.aeris-editor__toolbar button{transition:none}}@media(pointer:coarse){input:not([type=checkbox]):not([type=radio]),textarea{font-size:var(--aeris-mobile-input-font-size, 1rem)}}\n"]
|
|
1708
2345
|
}]
|
|
1709
2346
|
}],
|
|
1710
2347
|
ctorParameters: () => [],
|
|
1711
2348
|
propDecorators: {
|
|
2349
|
+
toolbarIcons: [{
|
|
2350
|
+
type: i0.Input,
|
|
2351
|
+
args: [{
|
|
2352
|
+
isSignal: true,
|
|
2353
|
+
alias: "toolbarIcons",
|
|
2354
|
+
required: false
|
|
2355
|
+
}]
|
|
2356
|
+
}],
|
|
1712
2357
|
value: [{
|
|
1713
2358
|
type: i0.Input,
|
|
1714
2359
|
args: [{
|