@ojiepermana/angular 22.2.1 → 22.2.3
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 +18 -7
- package/component/icon/README.md +40 -13
- package/fesm2022/ojiepermana-angular-chart-area.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-bar.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-core.mjs +33 -33
- package/fesm2022/ojiepermana-angular-chart-line.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-pie.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-primitives.mjs +33 -33
- package/fesm2022/ojiepermana-angular-chart-radar.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-radial.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-scatter.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +17 -17
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +27 -27
- package/fesm2022/ojiepermana-angular-component-alert.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-avatar.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-badge.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-button-group.mjs +10 -10
- package/fesm2022/ojiepermana-angular-component-button.mjs +4 -4
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +5 -5
- package/fesm2022/ojiepermana-angular-component-card.mjs +27 -24
- package/fesm2022/ojiepermana-angular-component-carousel.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs +4 -4
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-combobox.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-command.mjs +28 -28
- package/fesm2022/ojiepermana-angular-component-composer.mjs +22 -22
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs +5 -5
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +22 -22
- package/fesm2022/ojiepermana-angular-component-drawer.mjs +2 -1
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +39 -39
- package/fesm2022/ojiepermana-angular-component-editor.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-empty.mjs +19 -19
- package/fesm2022/ojiepermana-angular-component-form.mjs +36 -36
- package/fesm2022/ojiepermana-angular-component-hover-card.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-icon.mjs +114 -105
- package/fesm2022/ojiepermana-angular-component-input-group.mjs +19 -19
- package/fesm2022/ojiepermana-angular-component-input-otp.mjs +16 -16
- package/fesm2022/ojiepermana-angular-component-input.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-item.mjs +31 -31
- package/fesm2022/ojiepermana-angular-component-kanban.mjs +29 -29
- package/fesm2022/ojiepermana-angular-component-kbd.mjs +7 -7
- package/fesm2022/ojiepermana-angular-component-label.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-menubar.mjs +13 -13
- package/fesm2022/ojiepermana-angular-component-native-select.mjs +14 -14
- package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-pagination.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-pillbox.mjs +16 -16
- package/fesm2022/ojiepermana-angular-component-popover.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-progress.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-radio.mjs +7 -7
- package/fesm2022/ojiepermana-angular-component-resizable.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-segmented-control.mjs +6 -8
- package/fesm2022/ojiepermana-angular-component-select.mjs +8 -8
- package/fesm2022/ojiepermana-angular-component-separator.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-sheet.mjs +41 -28
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-slider.mjs +10 -10
- package/fesm2022/ojiepermana-angular-component-spinner.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-switch.mjs +4 -4
- package/fesm2022/ojiepermana-angular-component-table.mjs +24 -24
- package/fesm2022/ojiepermana-angular-component-tabs.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-textarea.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-timeline.mjs +19 -19
- package/fesm2022/ojiepermana-angular-component-toast.mjs +5 -5
- package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-toggle.mjs +5 -5
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +15 -15
- package/fesm2022/ojiepermana-angular-component-utils-scale.mjs +3 -3
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs +3 -3
- package/fesm2022/{ojiepermana-angular-navigation-navigation-badge-count.component-DYuysKVf.mjs → ojiepermana-angular-navigation-navigation-badge-count.component-4RIokl1C.mjs} +3 -3
- package/fesm2022/{ojiepermana-angular-navigation-navigation-dockbar-menu.component-COiTaw34.mjs → ojiepermana-angular-navigation-navigation-dockbar-menu.component-I-ln7fOq.mjs} +22 -15
- package/fesm2022/{ojiepermana-angular-navigation-navigation-entry-grid.component-YIz0IsIb.mjs → ojiepermana-angular-navigation-navigation-entry-grid.component-meQb_EWZ.mjs} +15 -24
- package/fesm2022/{ojiepermana-angular-navigation-navigation-flyout-menu.component-D2vwEwBY.mjs → ojiepermana-angular-navigation-navigation-flyout-menu.component-DRdw2G-c.mjs} +14 -13
- package/fesm2022/{ojiepermana-angular-navigation-navigation-horizontal.component-B5D7yXfb.mjs → ojiepermana-angular-navigation-navigation-horizontal.component-Bx1NcrWO.mjs} +5 -5
- package/fesm2022/{ojiepermana-angular-navigation-navigation-item.component-CUb68MZH.mjs → ojiepermana-angular-navigation-navigation-item.component-ERZNpmTZ.mjs} +22 -23
- package/fesm2022/{ojiepermana-angular-navigation-navigation-list.component-CrK16trj.mjs → ojiepermana-angular-navigation-navigation-list.component-DfG6_3eF.mjs} +4 -4
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +16 -7
- package/fesm2022/ojiepermana-angular-navigation.mjs +95 -89
- package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +127 -72
- package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +6 -6
- package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +56 -48
- package/fesm2022/ojiepermana-angular-theme-layout.mjs +30 -30
- package/fesm2022/ojiepermana-angular-theme-page-core.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-page-filter.mjs +7 -7
- package/fesm2022/ojiepermana-angular-theme-page-overview.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-page-root.mjs +8 -6
- package/fesm2022/ojiepermana-angular-theme-page-side.mjs +7 -7
- package/fesm2022/ojiepermana-angular-theme-page-slots.mjs +12 -12
- package/fesm2022/ojiepermana-angular-theme-shell-services.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-shell.mjs +16 -12
- package/fesm2022/ojiepermana-angular-theme-styles.mjs +17 -33
- package/navigation/README.md +2 -2
- package/package.json +3 -2
- package/theme/README.md +4 -10
- package/theme/page/README.md +2 -0
- package/theme/shell/README.md +5 -1
- package/theme/styles/README.md +32 -8
- package/theme/styles/css/base/components.css +13 -9
- package/theme/styles/css/base/tailwind.css +43 -0
- package/theme/styles/css/base/theme.css +4 -25
- package/theme/styles/css/base/tokens.css +21 -0
- package/theme/styles/css/fonts.css +85 -0
- package/types/ojiepermana-angular-chart-radar.d.ts +2 -1
- package/types/ojiepermana-angular-component-avatar.d.ts +2 -1
- package/types/ojiepermana-angular-component-calendar.d.ts +2 -1
- package/types/ojiepermana-angular-component-card.d.ts +6 -1
- package/types/ojiepermana-angular-component-editor.d.ts +2 -1
- package/types/ojiepermana-angular-component-icon.d.ts +50 -79
- package/types/ojiepermana-angular-component-input-otp.d.ts +2 -1
- package/types/ojiepermana-angular-component-pillbox.d.ts +2 -1
- package/types/ojiepermana-angular-component-radio.d.ts +2 -1
- package/types/ojiepermana-angular-component-resizable.d.ts +2 -1
- package/types/ojiepermana-angular-component-segmented-control.d.ts +1 -1
- package/types/ojiepermana-angular-component-select.d.ts +2 -3
- package/types/ojiepermana-angular-navigation-service.d.ts +8 -0
- package/types/ojiepermana-angular-navigation-types.d.ts +1 -1
- package/types/ojiepermana-angular-navigation.d.ts +12 -7
- package/types/ojiepermana-angular-theme-layout-services.d.ts +2 -1
- package/types/ojiepermana-angular-theme-layout-wrapper.d.ts +4 -3
- package/types/ojiepermana-angular-theme-page-root.d.ts +1 -1
- package/types/ojiepermana-angular-theme-shell-services.d.ts +2 -1
- package/types/ojiepermana-angular-theme-styles.d.ts +0 -12
|
@@ -54,7 +54,7 @@ var MenuFocusableItem = class MenuFocusableItem {
|
|
|
54
54
|
}
|
|
55
55
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
56
56
|
minVersion: "12.0.0",
|
|
57
|
-
version: "22.2.
|
|
57
|
+
version: "22.2.3",
|
|
58
58
|
ngImport: i0,
|
|
59
59
|
type: MenuFocusableItem,
|
|
60
60
|
deps: [],
|
|
@@ -62,7 +62,7 @@ var MenuFocusableItem = class MenuFocusableItem {
|
|
|
62
62
|
});
|
|
63
63
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
64
64
|
minVersion: "17.1.0",
|
|
65
|
-
version: "22.2.
|
|
65
|
+
version: "22.2.3",
|
|
66
66
|
type: MenuFocusableItem,
|
|
67
67
|
isStandalone: true,
|
|
68
68
|
inputs: {
|
|
@@ -101,7 +101,7 @@ var MenuFocusableItem = class MenuFocusableItem {
|
|
|
101
101
|
};
|
|
102
102
|
i0.ɵɵngDeclareClassMetadata({
|
|
103
103
|
minVersion: "12.0.0",
|
|
104
|
-
version: "22.2.
|
|
104
|
+
version: "22.2.3",
|
|
105
105
|
ngImport: i0,
|
|
106
106
|
type: MenuFocusableItem,
|
|
107
107
|
decorators: [{ type: Directive }],
|
|
@@ -149,7 +149,7 @@ var MenuGroupComponent = class MenuGroupComponent {
|
|
|
149
149
|
classes = computed(() => cn("block", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
150
150
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
151
151
|
minVersion: "12.0.0",
|
|
152
|
-
version: "22.2.
|
|
152
|
+
version: "22.2.3",
|
|
153
153
|
ngImport: i0,
|
|
154
154
|
type: MenuGroupComponent,
|
|
155
155
|
deps: [],
|
|
@@ -157,7 +157,7 @@ var MenuGroupComponent = class MenuGroupComponent {
|
|
|
157
157
|
});
|
|
158
158
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
159
159
|
minVersion: "17.1.0",
|
|
160
|
-
version: "22.2.
|
|
160
|
+
version: "22.2.3",
|
|
161
161
|
type: MenuGroupComponent,
|
|
162
162
|
isStandalone: true,
|
|
163
163
|
selector: "MenuGroup",
|
|
@@ -179,7 +179,7 @@ var MenuGroupComponent = class MenuGroupComponent {
|
|
|
179
179
|
};
|
|
180
180
|
i0.ɵɵngDeclareClassMetadata({
|
|
181
181
|
minVersion: "12.0.0",
|
|
182
|
-
version: "22.2.
|
|
182
|
+
version: "22.2.3",
|
|
183
183
|
ngImport: i0,
|
|
184
184
|
type: MenuGroupComponent,
|
|
185
185
|
decorators: [{
|
|
@@ -205,7 +205,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
205
205
|
var MenuRadioGroupBase = class MenuRadioGroupBase {
|
|
206
206
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
207
207
|
minVersion: "12.0.0",
|
|
208
|
-
version: "22.2.
|
|
208
|
+
version: "22.2.3",
|
|
209
209
|
ngImport: i0,
|
|
210
210
|
type: MenuRadioGroupBase,
|
|
211
211
|
deps: [],
|
|
@@ -213,7 +213,7 @@ var MenuRadioGroupBase = class MenuRadioGroupBase {
|
|
|
213
213
|
});
|
|
214
214
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
215
215
|
minVersion: "14.0.0",
|
|
216
|
-
version: "22.2.
|
|
216
|
+
version: "22.2.3",
|
|
217
217
|
type: MenuRadioGroupBase,
|
|
218
218
|
isStandalone: true,
|
|
219
219
|
ngImport: i0
|
|
@@ -221,7 +221,7 @@ var MenuRadioGroupBase = class MenuRadioGroupBase {
|
|
|
221
221
|
};
|
|
222
222
|
i0.ɵɵngDeclareClassMetadata({
|
|
223
223
|
minVersion: "12.0.0",
|
|
224
|
-
version: "22.2.
|
|
224
|
+
version: "22.2.3",
|
|
225
225
|
ngImport: i0,
|
|
226
226
|
type: MenuRadioGroupBase,
|
|
227
227
|
decorators: [{ type: Directive }]
|
|
@@ -238,7 +238,7 @@ var MenuRadioGroupComponent = class MenuRadioGroupComponent extends MenuRadioGro
|
|
|
238
238
|
}
|
|
239
239
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
240
240
|
minVersion: "12.0.0",
|
|
241
|
-
version: "22.2.
|
|
241
|
+
version: "22.2.3",
|
|
242
242
|
ngImport: i0,
|
|
243
243
|
type: MenuRadioGroupComponent,
|
|
244
244
|
deps: null,
|
|
@@ -246,7 +246,7 @@ var MenuRadioGroupComponent = class MenuRadioGroupComponent extends MenuRadioGro
|
|
|
246
246
|
});
|
|
247
247
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
248
248
|
minVersion: "17.1.0",
|
|
249
|
-
version: "22.2.
|
|
249
|
+
version: "22.2.3",
|
|
250
250
|
type: MenuRadioGroupComponent,
|
|
251
251
|
isStandalone: true,
|
|
252
252
|
selector: "MenuRadioGroup",
|
|
@@ -283,7 +283,7 @@ var MenuRadioGroupComponent = class MenuRadioGroupComponent extends MenuRadioGro
|
|
|
283
283
|
};
|
|
284
284
|
i0.ɵɵngDeclareClassMetadata({
|
|
285
285
|
minVersion: "12.0.0",
|
|
286
|
-
version: "22.2.
|
|
286
|
+
version: "22.2.3",
|
|
287
287
|
ngImport: i0,
|
|
288
288
|
type: MenuRadioGroupComponent,
|
|
289
289
|
decorators: [{
|
|
@@ -331,7 +331,7 @@ var MenuItemComponent = class MenuItemComponent extends MenuFocusableItem {
|
|
|
331
331
|
}
|
|
332
332
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
333
333
|
minVersion: "12.0.0",
|
|
334
|
-
version: "22.2.
|
|
334
|
+
version: "22.2.3",
|
|
335
335
|
ngImport: i0,
|
|
336
336
|
type: MenuItemComponent,
|
|
337
337
|
deps: null,
|
|
@@ -339,7 +339,7 @@ var MenuItemComponent = class MenuItemComponent extends MenuFocusableItem {
|
|
|
339
339
|
});
|
|
340
340
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
341
341
|
minVersion: "14.0.0",
|
|
342
|
-
version: "22.2.
|
|
342
|
+
version: "22.2.3",
|
|
343
343
|
type: MenuItemComponent,
|
|
344
344
|
isStandalone: true,
|
|
345
345
|
selector: "MenuItem, button[MenuItem]",
|
|
@@ -370,7 +370,7 @@ var MenuItemComponent = class MenuItemComponent extends MenuFocusableItem {
|
|
|
370
370
|
};
|
|
371
371
|
i0.ɵɵngDeclareClassMetadata({
|
|
372
372
|
minVersion: "12.0.0",
|
|
373
|
-
version: "22.2.
|
|
373
|
+
version: "22.2.3",
|
|
374
374
|
ngImport: i0,
|
|
375
375
|
type: MenuItemComponent,
|
|
376
376
|
decorators: [{
|
|
@@ -405,7 +405,7 @@ var MenuCheckboxItemComponent = class MenuCheckboxItemComponent extends MenuFocu
|
|
|
405
405
|
}
|
|
406
406
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
407
407
|
minVersion: "12.0.0",
|
|
408
|
-
version: "22.2.
|
|
408
|
+
version: "22.2.3",
|
|
409
409
|
ngImport: i0,
|
|
410
410
|
type: MenuCheckboxItemComponent,
|
|
411
411
|
deps: null,
|
|
@@ -413,7 +413,7 @@ var MenuCheckboxItemComponent = class MenuCheckboxItemComponent extends MenuFocu
|
|
|
413
413
|
});
|
|
414
414
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
415
415
|
minVersion: "17.0.0",
|
|
416
|
-
version: "22.2.
|
|
416
|
+
version: "22.2.3",
|
|
417
417
|
type: MenuCheckboxItemComponent,
|
|
418
418
|
isStandalone: true,
|
|
419
419
|
selector: "MenuCheckboxItem, button[MenuCheckboxItem]",
|
|
@@ -471,7 +471,7 @@ var MenuCheckboxItemComponent = class MenuCheckboxItemComponent extends MenuFocu
|
|
|
471
471
|
};
|
|
472
472
|
i0.ɵɵngDeclareClassMetadata({
|
|
473
473
|
minVersion: "12.0.0",
|
|
474
|
-
version: "22.2.
|
|
474
|
+
version: "22.2.3",
|
|
475
475
|
ngImport: i0,
|
|
476
476
|
type: MenuCheckboxItemComponent,
|
|
477
477
|
decorators: [{
|
|
@@ -539,7 +539,7 @@ var MenuRadioItemComponent = class MenuRadioItemComponent extends MenuFocusableI
|
|
|
539
539
|
}
|
|
540
540
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
541
541
|
minVersion: "12.0.0",
|
|
542
|
-
version: "22.2.
|
|
542
|
+
version: "22.2.3",
|
|
543
543
|
ngImport: i0,
|
|
544
544
|
type: MenuRadioItemComponent,
|
|
545
545
|
deps: null,
|
|
@@ -547,7 +547,7 @@ var MenuRadioItemComponent = class MenuRadioItemComponent extends MenuFocusableI
|
|
|
547
547
|
});
|
|
548
548
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
549
549
|
minVersion: "17.0.0",
|
|
550
|
-
version: "22.2.
|
|
550
|
+
version: "22.2.3",
|
|
551
551
|
type: MenuRadioItemComponent,
|
|
552
552
|
isStandalone: true,
|
|
553
553
|
selector: "MenuRadioItem, button[MenuRadioItem]",
|
|
@@ -593,7 +593,7 @@ var MenuRadioItemComponent = class MenuRadioItemComponent extends MenuFocusableI
|
|
|
593
593
|
};
|
|
594
594
|
i0.ɵɵngDeclareClassMetadata({
|
|
595
595
|
minVersion: "12.0.0",
|
|
596
|
-
version: "22.2.
|
|
596
|
+
version: "22.2.3",
|
|
597
597
|
ngImport: i0,
|
|
598
598
|
type: MenuRadioItemComponent,
|
|
599
599
|
decorators: [{
|
|
@@ -640,7 +640,7 @@ var MenuSeparatorComponent = class MenuSeparatorComponent {
|
|
|
640
640
|
classes = computed(() => cn("-mx-1 my-1 block h-px bg-border", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
641
641
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
642
642
|
minVersion: "12.0.0",
|
|
643
|
-
version: "22.2.
|
|
643
|
+
version: "22.2.3",
|
|
644
644
|
ngImport: i0,
|
|
645
645
|
type: MenuSeparatorComponent,
|
|
646
646
|
deps: [],
|
|
@@ -648,7 +648,7 @@ var MenuSeparatorComponent = class MenuSeparatorComponent {
|
|
|
648
648
|
});
|
|
649
649
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
650
650
|
minVersion: "17.1.0",
|
|
651
|
-
version: "22.2.
|
|
651
|
+
version: "22.2.3",
|
|
652
652
|
type: MenuSeparatorComponent,
|
|
653
653
|
isStandalone: true,
|
|
654
654
|
selector: "MenuSeparator",
|
|
@@ -671,7 +671,7 @@ var MenuSeparatorComponent = class MenuSeparatorComponent {
|
|
|
671
671
|
};
|
|
672
672
|
i0.ɵɵngDeclareClassMetadata({
|
|
673
673
|
minVersion: "12.0.0",
|
|
674
|
-
version: "22.2.
|
|
674
|
+
version: "22.2.3",
|
|
675
675
|
ngImport: i0,
|
|
676
676
|
type: MenuSeparatorComponent,
|
|
677
677
|
decorators: [{
|
|
@@ -701,7 +701,7 @@ var MenuLabelComponent = class MenuLabelComponent {
|
|
|
701
701
|
classes = computed(() => cn("px-2 py-1.5 text-sm font-semibold text-foreground", this.inset() ? "pl-8" : "", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
702
702
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
703
703
|
minVersion: "12.0.0",
|
|
704
|
-
version: "22.2.
|
|
704
|
+
version: "22.2.3",
|
|
705
705
|
ngImport: i0,
|
|
706
706
|
type: MenuLabelComponent,
|
|
707
707
|
deps: [],
|
|
@@ -709,7 +709,7 @@ var MenuLabelComponent = class MenuLabelComponent {
|
|
|
709
709
|
});
|
|
710
710
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
711
711
|
minVersion: "17.1.0",
|
|
712
|
-
version: "22.2.
|
|
712
|
+
version: "22.2.3",
|
|
713
713
|
type: MenuLabelComponent,
|
|
714
714
|
isStandalone: true,
|
|
715
715
|
selector: "MenuLabel",
|
|
@@ -737,7 +737,7 @@ var MenuLabelComponent = class MenuLabelComponent {
|
|
|
737
737
|
};
|
|
738
738
|
i0.ɵɵngDeclareClassMetadata({
|
|
739
739
|
minVersion: "12.0.0",
|
|
740
|
-
version: "22.2.
|
|
740
|
+
version: "22.2.3",
|
|
741
741
|
ngImport: i0,
|
|
742
742
|
type: MenuLabelComponent,
|
|
743
743
|
decorators: [{
|
|
@@ -772,7 +772,7 @@ var MenuShortcutComponent = class MenuShortcutComponent {
|
|
|
772
772
|
classes = computed(() => cn("ml-auto text-xs tracking-widest text-muted-foreground", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
773
773
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
774
774
|
minVersion: "12.0.0",
|
|
775
|
-
version: "22.2.
|
|
775
|
+
version: "22.2.3",
|
|
776
776
|
ngImport: i0,
|
|
777
777
|
type: MenuShortcutComponent,
|
|
778
778
|
deps: [],
|
|
@@ -780,7 +780,7 @@ var MenuShortcutComponent = class MenuShortcutComponent {
|
|
|
780
780
|
});
|
|
781
781
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
782
782
|
minVersion: "17.1.0",
|
|
783
|
-
version: "22.2.
|
|
783
|
+
version: "22.2.3",
|
|
784
784
|
type: MenuShortcutComponent,
|
|
785
785
|
isStandalone: true,
|
|
786
786
|
selector: "MenuShortcut, span[MenuShortcut]",
|
|
@@ -799,7 +799,7 @@ var MenuShortcutComponent = class MenuShortcutComponent {
|
|
|
799
799
|
};
|
|
800
800
|
i0.ɵɵngDeclareClassMetadata({
|
|
801
801
|
minVersion: "12.0.0",
|
|
802
|
-
version: "22.2.
|
|
802
|
+
version: "22.2.3",
|
|
803
803
|
ngImport: i0,
|
|
804
804
|
type: MenuShortcutComponent,
|
|
805
805
|
decorators: [{
|
|
@@ -865,7 +865,7 @@ var MenuSurfaceComponent = class MenuSurfaceComponent {
|
|
|
865
865
|
}
|
|
866
866
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
867
867
|
minVersion: "12.0.0",
|
|
868
|
-
version: "22.2.
|
|
868
|
+
version: "22.2.3",
|
|
869
869
|
ngImport: i0,
|
|
870
870
|
type: MenuSurfaceComponent,
|
|
871
871
|
deps: [],
|
|
@@ -873,7 +873,7 @@ var MenuSurfaceComponent = class MenuSurfaceComponent {
|
|
|
873
873
|
});
|
|
874
874
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
875
875
|
minVersion: "17.2.0",
|
|
876
|
-
version: "22.2.
|
|
876
|
+
version: "22.2.3",
|
|
877
877
|
type: MenuSurfaceComponent,
|
|
878
878
|
isStandalone: true,
|
|
879
879
|
selector: "MenuSurface",
|
|
@@ -925,7 +925,7 @@ var MenuSurfaceComponent = class MenuSurfaceComponent {
|
|
|
925
925
|
};
|
|
926
926
|
i0.ɵɵngDeclareClassMetadata({
|
|
927
927
|
minVersion: "12.0.0",
|
|
928
|
-
version: "22.2.
|
|
928
|
+
version: "22.2.3",
|
|
929
929
|
ngImport: i0,
|
|
930
930
|
type: MenuSurfaceComponent,
|
|
931
931
|
decorators: [{
|
|
@@ -982,7 +982,7 @@ var MenuContentDirective = class MenuContentDirective {
|
|
|
982
982
|
template = inject(TemplateRef);
|
|
983
983
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
984
984
|
minVersion: "12.0.0",
|
|
985
|
-
version: "22.2.
|
|
985
|
+
version: "22.2.3",
|
|
986
986
|
ngImport: i0,
|
|
987
987
|
type: MenuContentDirective,
|
|
988
988
|
deps: [],
|
|
@@ -990,7 +990,7 @@ var MenuContentDirective = class MenuContentDirective {
|
|
|
990
990
|
});
|
|
991
991
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
992
992
|
minVersion: "14.0.0",
|
|
993
|
-
version: "22.2.
|
|
993
|
+
version: "22.2.3",
|
|
994
994
|
type: MenuContentDirective,
|
|
995
995
|
isStandalone: true,
|
|
996
996
|
selector: "ng-template[MenuContent]",
|
|
@@ -1009,7 +1009,7 @@ var MenuContentDirective = class MenuContentDirective {
|
|
|
1009
1009
|
};
|
|
1010
1010
|
i0.ɵɵngDeclareClassMetadata({
|
|
1011
1011
|
minVersion: "12.0.0",
|
|
1012
|
-
version: "22.2.
|
|
1012
|
+
version: "22.2.3",
|
|
1013
1013
|
ngImport: i0,
|
|
1014
1014
|
type: MenuContentDirective,
|
|
1015
1015
|
decorators: [{
|
|
@@ -1106,7 +1106,7 @@ var MenuTriggerDirective = class MenuTriggerDirective {
|
|
|
1106
1106
|
}
|
|
1107
1107
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1108
1108
|
minVersion: "12.0.0",
|
|
1109
|
-
version: "22.2.
|
|
1109
|
+
version: "22.2.3",
|
|
1110
1110
|
ngImport: i0,
|
|
1111
1111
|
type: MenuTriggerDirective,
|
|
1112
1112
|
deps: [],
|
|
@@ -1114,7 +1114,7 @@ var MenuTriggerDirective = class MenuTriggerDirective {
|
|
|
1114
1114
|
});
|
|
1115
1115
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1116
1116
|
minVersion: "17.1.0",
|
|
1117
|
-
version: "22.2.
|
|
1117
|
+
version: "22.2.3",
|
|
1118
1118
|
type: MenuTriggerDirective,
|
|
1119
1119
|
isStandalone: true,
|
|
1120
1120
|
selector: "[MenuTrigger]",
|
|
@@ -1182,7 +1182,7 @@ var MenuTriggerDirective = class MenuTriggerDirective {
|
|
|
1182
1182
|
};
|
|
1183
1183
|
i0.ɵɵngDeclareClassMetadata({
|
|
1184
1184
|
minVersion: "12.0.0",
|
|
1185
|
-
version: "22.2.
|
|
1185
|
+
version: "22.2.3",
|
|
1186
1186
|
ngImport: i0,
|
|
1187
1187
|
type: MenuTriggerDirective,
|
|
1188
1188
|
decorators: [{
|
|
@@ -14,7 +14,7 @@ const EDITOR_HTML_SANITIZER = new InjectionToken("EDITOR_HTML_SANITIZER", {
|
|
|
14
14
|
const DEFAULT_EDITOR_TOOLBAR = "heading | bold italic underline strike | bullet ordered blockquote link align ~ undo redo";
|
|
15
15
|
const EDITOR_BASE = "block w-full min-w-0 text-sm text-foreground";
|
|
16
16
|
const EDITOR_SHELL_BASE = [
|
|
17
|
-
"relative min-w-0 overflow-hidden rounded-md border border-input bg-background
|
|
17
|
+
"relative min-w-0 overflow-hidden rounded-md border border-input bg-background",
|
|
18
18
|
"transition-[border-color,box-shadow] focus-within:border-ring focus-within:ring-1 focus-within:ring-ring",
|
|
19
19
|
"aria-[invalid=true]:border-destructive aria-[invalid=true]:focus-within:ring-destructive",
|
|
20
20
|
"data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50"
|
|
@@ -183,7 +183,7 @@ var EditorComponent = class EditorComponent {
|
|
|
183
183
|
}
|
|
184
184
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
185
185
|
minVersion: "12.0.0",
|
|
186
|
-
version: "22.2.
|
|
186
|
+
version: "22.2.3",
|
|
187
187
|
ngImport: i0,
|
|
188
188
|
type: EditorComponent,
|
|
189
189
|
deps: [],
|
|
@@ -191,7 +191,7 @@ var EditorComponent = class EditorComponent {
|
|
|
191
191
|
});
|
|
192
192
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
193
193
|
minVersion: "17.1.0",
|
|
194
|
-
version: "22.2.
|
|
194
|
+
version: "22.2.3",
|
|
195
195
|
type: EditorComponent,
|
|
196
196
|
isStandalone: true,
|
|
197
197
|
selector: "Editor",
|
|
@@ -233,7 +233,7 @@ var EditorComponent = class EditorComponent {
|
|
|
233
233
|
};
|
|
234
234
|
i0.ɵɵngDeclareClassMetadata({
|
|
235
235
|
minVersion: "12.0.0",
|
|
236
|
-
version: "22.2.
|
|
236
|
+
version: "22.2.3",
|
|
237
237
|
ngImport: i0,
|
|
238
238
|
type: EditorComponent,
|
|
239
239
|
decorators: [{
|
|
@@ -315,7 +315,7 @@ var EditorToolbarComponent = class EditorToolbarComponent {
|
|
|
315
315
|
}
|
|
316
316
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
317
317
|
minVersion: "12.0.0",
|
|
318
|
-
version: "22.2.
|
|
318
|
+
version: "22.2.3",
|
|
319
319
|
ngImport: i0,
|
|
320
320
|
type: EditorToolbarComponent,
|
|
321
321
|
deps: [],
|
|
@@ -323,7 +323,7 @@ var EditorToolbarComponent = class EditorToolbarComponent {
|
|
|
323
323
|
});
|
|
324
324
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
325
325
|
minVersion: "17.0.0",
|
|
326
|
-
version: "22.2.
|
|
326
|
+
version: "22.2.3",
|
|
327
327
|
type: EditorToolbarComponent,
|
|
328
328
|
isStandalone: true,
|
|
329
329
|
selector: "EditorToolbar",
|
|
@@ -367,12 +367,12 @@ var EditorToolbarComponent = class EditorToolbarComponent {
|
|
|
367
367
|
}
|
|
368
368
|
},
|
|
369
369
|
ngImport: i0,
|
|
370
|
-
template: "@for (part of parts(); track trackPart(part, $index)) {\n @switch (part.type) {\n @case ('heading') {\n <select\n [class]=\"selectClasses\"\n [disabled]=\"disabled()\"\n aria-label=\"Text style\"\n (change)=\"handleSelect($event)\"\n >\n <option value=\"paragraph\">Text</option>\n <option value=\"heading-1\">Heading 1</option>\n <option value=\"heading-2\">Heading 2</option>\n <option value=\"heading-3\">Heading 3</option>\n </select>\n }\n @case ('align') {\n <select\n [class]=\"selectClasses\"\n [disabled]=\"disabled()\"\n aria-label=\"Text alignment\"\n (change)=\"handleSelect($event)\"\n >\n <option value=\"align-left\">Left</option>\n <option value=\"align-center\">Center</option>\n <option value=\"align-right\">Right</option>\n </select>\n }\n @case ('separator') {\n <span\n data-slot=\"editor-separator\"\n class=\"mx-1 h-6 w-px shrink-0 bg-border\"\n role=\"separator\"\n aria-orientation=\"vertical\"\n ></span>\n }\n @case ('spacer') {\n <span data-slot=\"editor-spacer\" class=\"min-w-2 flex-1\"></span>\n }\n @case ('button') {\n <button\n type=\"button\"\n data-slot=\"editor-button\"\n [class]=\"buttonClasses\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"part.ariaLabel\"\n [attr.title]=\"part.ariaLabel\"\n (mousedown)=\"preserveSelection($event)\"\n (click)=\"execute(part.command, $event)\"\n >\n @if (part.command === 'undo') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"M9 14 4 9l5-5\" />\n <path d=\"M4 9h10a6 6 0 0 1 0 12h-2\" />\n </svg>\n } @else if (part.command === 'redo') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m15 14 5-5-5-5\" />\n <path d=\"M20 9H10a6 6 0 0 0 0 12h2\" />\n </svg>\n } @else {\n <span aria-hidden=\"true\">{{ part.label }}</span>\n }\n </button>\n }\n }\n}\n<ng-content />\n"
|
|
370
|
+
template: "@for (part of parts(); track trackPart(part, $index)) {\n @switch (part.type) {\n @case ('heading') {\n <select\n [class]=\"selectClasses\"\n [disabled]=\"disabled()\"\n aria-label=\"Text style\"\n (change)=\"handleSelect($event)\"\n >\n <option value=\"paragraph\">Text</option>\n <option value=\"heading-1\">Heading 1</option>\n <option value=\"heading-2\">Heading 2</option>\n <option value=\"heading-3\">Heading 3</option>\n </select>\n }\n @case ('align') {\n <select\n [class]=\"selectClasses\"\n [disabled]=\"disabled()\"\n aria-label=\"Text alignment\"\n (change)=\"handleSelect($event)\"\n >\n <option value=\"align-left\">Left</option>\n <option value=\"align-center\">Center</option>\n <option value=\"align-right\">Right</option>\n </select>\n }\n @case ('separator') {\n <span\n data-slot=\"editor-separator\"\n class=\"mx-1 h-6 w-px shrink-0 bg-border\"\n role=\"separator\"\n aria-orientation=\"vertical\"\n ></span>\n }\n @case ('spacer') {\n <span data-slot=\"editor-spacer\" class=\"min-w-2 flex-1\"></span>\n }\n @case ('button') {\n <button\n type=\"button\"\n data-slot=\"editor-button\"\n [class]=\"buttonClasses\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"part.ariaLabel\"\n [attr.title]=\"part.ariaLabel\"\n (mousedown)=\"preserveSelection($event)\"\n (click)=\"execute(part.command, $event)\"\n >\n @if (part.command === 'undo') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"M9 14 4 9l5-5\" />\n <path d=\"M4 9h10a6 6 0 0 1 0 12h-2\" />\n </svg>\n } @else if (part.command === 'redo') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m15 14 5-5-5-5\" />\n <path d=\"M20 9H10a6 6 0 0 0 0 12h2\" />\n </svg>\n } @else if (part.command === 'bullet') {\n <!-- Multi-letter glyphs like \"UL\" or \"1.\" fail axe label-content-name-mismatch,\n even under aria-hidden, so these commands draw an icon instead. -->\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"M3 6h.01\" />\n <path d=\"M3 12h.01\" />\n <path d=\"M3 18h.01\" />\n <path d=\"M8 6h13\" />\n <path d=\"M8 12h13\" />\n <path d=\"M8 18h13\" />\n </svg>\n } @else if (part.command === 'ordered') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"M10 6h11\" />\n <path d=\"M10 12h11\" />\n <path d=\"M10 18h11\" />\n <path d=\"M4 6h1v4\" />\n <path d=\"M4 10h2\" />\n <path d=\"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1\" />\n </svg>\n } @else if (part.command === 'subscript') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m4 5 8 8\" />\n <path d=\"m12 5-8 8\" />\n <path\n 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\"\n />\n </svg>\n } @else if (part.command === 'superscript') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m4 19 8-8\" />\n <path d=\"m12 19-8-8\" />\n <path\n d=\"M20 12h-4c0-1.5.44-2 1.5-2.5S20 8.33 20 7c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07\"\n />\n </svg>\n } @else {\n <span aria-hidden=\"true\">{{ part.label }}</span>\n }\n </button>\n }\n }\n}\n<ng-content />\n"
|
|
371
371
|
});
|
|
372
372
|
};
|
|
373
373
|
i0.ɵɵngDeclareClassMetadata({
|
|
374
374
|
minVersion: "12.0.0",
|
|
375
|
-
version: "22.2.
|
|
375
|
+
version: "22.2.3",
|
|
376
376
|
ngImport: i0,
|
|
377
377
|
type: EditorToolbarComponent,
|
|
378
378
|
decorators: [{
|
|
@@ -386,7 +386,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
386
386
|
"[attr.aria-label]": "ariaLabel()",
|
|
387
387
|
"[attr.data-disabled]": "disabled() ? \"true\" : null"
|
|
388
388
|
},
|
|
389
|
-
template: "@for (part of parts(); track trackPart(part, $index)) {\n @switch (part.type) {\n @case ('heading') {\n <select\n [class]=\"selectClasses\"\n [disabled]=\"disabled()\"\n aria-label=\"Text style\"\n (change)=\"handleSelect($event)\"\n >\n <option value=\"paragraph\">Text</option>\n <option value=\"heading-1\">Heading 1</option>\n <option value=\"heading-2\">Heading 2</option>\n <option value=\"heading-3\">Heading 3</option>\n </select>\n }\n @case ('align') {\n <select\n [class]=\"selectClasses\"\n [disabled]=\"disabled()\"\n aria-label=\"Text alignment\"\n (change)=\"handleSelect($event)\"\n >\n <option value=\"align-left\">Left</option>\n <option value=\"align-center\">Center</option>\n <option value=\"align-right\">Right</option>\n </select>\n }\n @case ('separator') {\n <span\n data-slot=\"editor-separator\"\n class=\"mx-1 h-6 w-px shrink-0 bg-border\"\n role=\"separator\"\n aria-orientation=\"vertical\"\n ></span>\n }\n @case ('spacer') {\n <span data-slot=\"editor-spacer\" class=\"min-w-2 flex-1\"></span>\n }\n @case ('button') {\n <button\n type=\"button\"\n data-slot=\"editor-button\"\n [class]=\"buttonClasses\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"part.ariaLabel\"\n [attr.title]=\"part.ariaLabel\"\n (mousedown)=\"preserveSelection($event)\"\n (click)=\"execute(part.command, $event)\"\n >\n @if (part.command === 'undo') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"M9 14 4 9l5-5\" />\n <path d=\"M4 9h10a6 6 0 0 1 0 12h-2\" />\n </svg>\n } @else if (part.command === 'redo') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m15 14 5-5-5-5\" />\n <path d=\"M20 9H10a6 6 0 0 0 0 12h2\" />\n </svg>\n } @else {\n <span aria-hidden=\"true\">{{ part.label }}</span>\n }\n </button>\n }\n }\n}\n<ng-content />\n"
|
|
389
|
+
template: "@for (part of parts(); track trackPart(part, $index)) {\n @switch (part.type) {\n @case ('heading') {\n <select\n [class]=\"selectClasses\"\n [disabled]=\"disabled()\"\n aria-label=\"Text style\"\n (change)=\"handleSelect($event)\"\n >\n <option value=\"paragraph\">Text</option>\n <option value=\"heading-1\">Heading 1</option>\n <option value=\"heading-2\">Heading 2</option>\n <option value=\"heading-3\">Heading 3</option>\n </select>\n }\n @case ('align') {\n <select\n [class]=\"selectClasses\"\n [disabled]=\"disabled()\"\n aria-label=\"Text alignment\"\n (change)=\"handleSelect($event)\"\n >\n <option value=\"align-left\">Left</option>\n <option value=\"align-center\">Center</option>\n <option value=\"align-right\">Right</option>\n </select>\n }\n @case ('separator') {\n <span\n data-slot=\"editor-separator\"\n class=\"mx-1 h-6 w-px shrink-0 bg-border\"\n role=\"separator\"\n aria-orientation=\"vertical\"\n ></span>\n }\n @case ('spacer') {\n <span data-slot=\"editor-spacer\" class=\"min-w-2 flex-1\"></span>\n }\n @case ('button') {\n <button\n type=\"button\"\n data-slot=\"editor-button\"\n [class]=\"buttonClasses\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"part.ariaLabel\"\n [attr.title]=\"part.ariaLabel\"\n (mousedown)=\"preserveSelection($event)\"\n (click)=\"execute(part.command, $event)\"\n >\n @if (part.command === 'undo') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"M9 14 4 9l5-5\" />\n <path d=\"M4 9h10a6 6 0 0 1 0 12h-2\" />\n </svg>\n } @else if (part.command === 'redo') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m15 14 5-5-5-5\" />\n <path d=\"M20 9H10a6 6 0 0 0 0 12h2\" />\n </svg>\n } @else if (part.command === 'bullet') {\n <!-- Multi-letter glyphs like \"UL\" or \"1.\" fail axe label-content-name-mismatch,\n even under aria-hidden, so these commands draw an icon instead. -->\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"M3 6h.01\" />\n <path d=\"M3 12h.01\" />\n <path d=\"M3 18h.01\" />\n <path d=\"M8 6h13\" />\n <path d=\"M8 12h13\" />\n <path d=\"M8 18h13\" />\n </svg>\n } @else if (part.command === 'ordered') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"M10 6h11\" />\n <path d=\"M10 12h11\" />\n <path d=\"M10 18h11\" />\n <path d=\"M4 6h1v4\" />\n <path d=\"M4 10h2\" />\n <path d=\"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1\" />\n </svg>\n } @else if (part.command === 'subscript') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m4 5 8 8\" />\n <path d=\"m12 5-8 8\" />\n <path\n 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\"\n />\n </svg>\n } @else if (part.command === 'superscript') {\n <svg\n aria-hidden=\"true\"\n class=\"size-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.75\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m4 19 8-8\" />\n <path d=\"m12 19-8-8\" />\n <path\n d=\"M20 12h-4c0-1.5.44-2 1.5-2.5S20 8.33 20 7c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07\"\n />\n </svg>\n } @else {\n <span aria-hidden=\"true\">{{ part.label }}</span>\n }\n </button>\n }\n }\n}\n<ng-content />\n"
|
|
390
390
|
}]
|
|
391
391
|
}],
|
|
392
392
|
propDecorators: {
|
|
@@ -445,7 +445,7 @@ var EditorButtonComponent = class EditorButtonComponent {
|
|
|
445
445
|
preserveSelection = preserveEditorSelection;
|
|
446
446
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
447
447
|
minVersion: "12.0.0",
|
|
448
|
-
version: "22.2.
|
|
448
|
+
version: "22.2.3",
|
|
449
449
|
ngImport: i0,
|
|
450
450
|
type: EditorButtonComponent,
|
|
451
451
|
deps: [],
|
|
@@ -453,7 +453,7 @@ var EditorButtonComponent = class EditorButtonComponent {
|
|
|
453
453
|
});
|
|
454
454
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
455
455
|
minVersion: "17.1.0",
|
|
456
|
-
version: "22.2.
|
|
456
|
+
version: "22.2.3",
|
|
457
457
|
type: EditorButtonComponent,
|
|
458
458
|
isStandalone: true,
|
|
459
459
|
selector: "button[EditorButton]",
|
|
@@ -515,7 +515,7 @@ var EditorButtonComponent = class EditorButtonComponent {
|
|
|
515
515
|
};
|
|
516
516
|
i0.ɵɵngDeclareClassMetadata({
|
|
517
517
|
minVersion: "12.0.0",
|
|
518
|
-
version: "22.2.
|
|
518
|
+
version: "22.2.3",
|
|
519
519
|
ngImport: i0,
|
|
520
520
|
type: EditorButtonComponent,
|
|
521
521
|
decorators: [{
|
|
@@ -583,7 +583,7 @@ var EditorSeparatorComponent = class EditorSeparatorComponent {
|
|
|
583
583
|
classes = computed(() => cn("mx-1 h-6 w-px shrink-0 bg-border", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
584
584
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
585
585
|
minVersion: "12.0.0",
|
|
586
|
-
version: "22.2.
|
|
586
|
+
version: "22.2.3",
|
|
587
587
|
ngImport: i0,
|
|
588
588
|
type: EditorSeparatorComponent,
|
|
589
589
|
deps: [],
|
|
@@ -591,7 +591,7 @@ var EditorSeparatorComponent = class EditorSeparatorComponent {
|
|
|
591
591
|
});
|
|
592
592
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
593
593
|
minVersion: "17.1.0",
|
|
594
|
-
version: "22.2.
|
|
594
|
+
version: "22.2.3",
|
|
595
595
|
type: EditorSeparatorComponent,
|
|
596
596
|
isStandalone: true,
|
|
597
597
|
selector: "EditorSeparator",
|
|
@@ -619,7 +619,7 @@ var EditorSeparatorComponent = class EditorSeparatorComponent {
|
|
|
619
619
|
};
|
|
620
620
|
i0.ɵɵngDeclareClassMetadata({
|
|
621
621
|
minVersion: "12.0.0",
|
|
622
|
-
version: "22.2.
|
|
622
|
+
version: "22.2.3",
|
|
623
623
|
ngImport: i0,
|
|
624
624
|
type: EditorSeparatorComponent,
|
|
625
625
|
decorators: [{
|
|
@@ -649,7 +649,7 @@ var EditorSpacerComponent = class EditorSpacerComponent {
|
|
|
649
649
|
classes = computed(() => cn("min-w-2 flex-1", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
650
650
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
651
651
|
minVersion: "12.0.0",
|
|
652
|
-
version: "22.2.
|
|
652
|
+
version: "22.2.3",
|
|
653
653
|
ngImport: i0,
|
|
654
654
|
type: EditorSpacerComponent,
|
|
655
655
|
deps: [],
|
|
@@ -657,7 +657,7 @@ var EditorSpacerComponent = class EditorSpacerComponent {
|
|
|
657
657
|
});
|
|
658
658
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
659
659
|
minVersion: "17.1.0",
|
|
660
|
-
version: "22.2.
|
|
660
|
+
version: "22.2.3",
|
|
661
661
|
type: EditorSpacerComponent,
|
|
662
662
|
isStandalone: true,
|
|
663
663
|
selector: "EditorSpacer",
|
|
@@ -679,7 +679,7 @@ var EditorSpacerComponent = class EditorSpacerComponent {
|
|
|
679
679
|
};
|
|
680
680
|
i0.ɵɵngDeclareClassMetadata({
|
|
681
681
|
minVersion: "12.0.0",
|
|
682
|
-
version: "22.2.
|
|
682
|
+
version: "22.2.3",
|
|
683
683
|
ngImport: i0,
|
|
684
684
|
type: EditorSpacerComponent,
|
|
685
685
|
decorators: [{
|
|
@@ -840,7 +840,7 @@ var EditorContentComponent = class EditorContentComponent {
|
|
|
840
840
|
}
|
|
841
841
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
842
842
|
minVersion: "12.0.0",
|
|
843
|
-
version: "22.2.
|
|
843
|
+
version: "22.2.3",
|
|
844
844
|
ngImport: i0,
|
|
845
845
|
type: EditorContentComponent,
|
|
846
846
|
deps: [],
|
|
@@ -848,7 +848,7 @@ var EditorContentComponent = class EditorContentComponent {
|
|
|
848
848
|
});
|
|
849
849
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
850
850
|
minVersion: "17.1.0",
|
|
851
|
-
version: "22.2.
|
|
851
|
+
version: "22.2.3",
|
|
852
852
|
type: EditorContentComponent,
|
|
853
853
|
isStandalone: true,
|
|
854
854
|
selector: "EditorContent",
|
|
@@ -922,7 +922,7 @@ var EditorContentComponent = class EditorContentComponent {
|
|
|
922
922
|
};
|
|
923
923
|
i0.ɵɵngDeclareClassMetadata({
|
|
924
924
|
minVersion: "12.0.0",
|
|
925
|
-
version: "22.2.
|
|
925
|
+
version: "22.2.3",
|
|
926
926
|
ngImport: i0,
|
|
927
927
|
type: EditorContentComponent,
|
|
928
928
|
decorators: [{
|