@ojiepermana/angular 22.1.14 → 22.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -6
- package/SUPPORT.md +3 -3
- package/chart/README.md +1 -1
- package/component/README.md +2 -2
- package/component/calendar/README.md +3 -15
- package/component/drawer/README.md +1 -2
- package/fesm2022/ojiepermana-angular-chart-area.mjs +352 -137
- package/fesm2022/ojiepermana-angular-chart-bar.mjs +744 -524
- package/fesm2022/ojiepermana-angular-chart-core.mjs +1140 -1344
- package/fesm2022/ojiepermana-angular-chart-line.mjs +393 -147
- package/fesm2022/ojiepermana-angular-chart-pie.mjs +408 -179
- package/fesm2022/ojiepermana-angular-chart-primitives.mjs +1262 -920
- package/fesm2022/ojiepermana-angular-chart-radar.mjs +473 -205
- package/fesm2022/ojiepermana-angular-chart-radial.mjs +425 -182
- package/fesm2022/ojiepermana-angular-chart-scatter.mjs +386 -210
- package/fesm2022/ojiepermana-angular-chart.mjs +3 -19
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +485 -243
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +963 -325
- package/fesm2022/ojiepermana-angular-component-alert.mjs +266 -103
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +80 -35
- package/fesm2022/ojiepermana-angular-component-avatar.mjs +402 -135
- package/fesm2022/ojiepermana-angular-component-badge.mjs +109 -59
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +410 -142
- package/fesm2022/ojiepermana-angular-component-button-group.mjs +249 -96
- package/fesm2022/ojiepermana-angular-component-button.mjs +153 -75
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +531 -418
- package/fesm2022/ojiepermana-angular-component-card.mjs +457 -171
- package/fesm2022/ojiepermana-angular-component-carousel.mjs +642 -272
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs +312 -108
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs +299 -115
- package/fesm2022/ojiepermana-angular-component-combobox.mjs +396 -183
- package/fesm2022/ojiepermana-angular-component-command.mjs +807 -347
- package/fesm2022/ojiepermana-angular-component-composer.mjs +807 -330
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs +196 -161
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs +650 -338
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +710 -316
- package/fesm2022/ojiepermana-angular-component-drawer.mjs +2 -5
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +1212 -646
- package/fesm2022/ojiepermana-angular-component-editor.mjs +987 -502
- package/fesm2022/ojiepermana-angular-component-empty.mjs +350 -137
- package/fesm2022/ojiepermana-angular-component-form.mjs +813 -434
- package/fesm2022/ojiepermana-angular-component-hover-card.mjs +486 -277
- package/fesm2022/ojiepermana-angular-component-icon.mjs +241 -140
- package/fesm2022/ojiepermana-angular-component-input-group.mjs +449 -176
- package/fesm2022/ojiepermana-angular-component-input-otp.mjs +891 -488
- package/fesm2022/ojiepermana-angular-component-input.mjs +86 -55
- package/fesm2022/ojiepermana-angular-component-item.mjs +713 -261
- package/fesm2022/ojiepermana-angular-component-kanban.mjs +714 -216
- package/fesm2022/ojiepermana-angular-component-kbd.mjs +124 -52
- package/fesm2022/ojiepermana-angular-component-label.mjs +82 -31
- package/fesm2022/ojiepermana-angular-component-menubar.mjs +479 -329
- package/fesm2022/ojiepermana-angular-component-native-select.mjs +167 -65
- package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +683 -380
- package/fesm2022/ojiepermana-angular-component-pagination.mjs +277 -94
- package/fesm2022/ojiepermana-angular-component-pillbox.mjs +1283 -607
- package/fesm2022/ojiepermana-angular-component-popover.mjs +291 -204
- package/fesm2022/ojiepermana-angular-component-progress.mjs +176 -53
- package/fesm2022/ojiepermana-angular-component-radio.mjs +449 -142
- package/fesm2022/ojiepermana-angular-component-resizable.mjs +659 -453
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +117 -39
- package/fesm2022/ojiepermana-angular-component-segmented-control.mjs +351 -172
- package/fesm2022/ojiepermana-angular-component-select.mjs +475 -345
- package/fesm2022/ojiepermana-angular-component-separator.mjs +102 -35
- package/fesm2022/ojiepermana-angular-component-sheet.mjs +797 -347
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs +62 -29
- package/fesm2022/ojiepermana-angular-component-slider.mjs +592 -376
- package/fesm2022/ojiepermana-angular-component-spinner.mjs +135 -38
- package/fesm2022/ojiepermana-angular-component-switch.mjs +315 -103
- package/fesm2022/ojiepermana-angular-component-table.mjs +440 -153
- package/fesm2022/ojiepermana-angular-component-tabs.mjs +590 -317
- package/fesm2022/ojiepermana-angular-component-textarea.mjs +85 -50
- package/fesm2022/ojiepermana-angular-component-timeline.mjs +609 -231
- package/fesm2022/ojiepermana-angular-component-toast.mjs +229 -243
- package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +573 -288
- package/fesm2022/ojiepermana-angular-component-toggle.mjs +187 -78
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +798 -517
- package/fesm2022/ojiepermana-angular-component-utils-core.mjs +159 -292
- package/fesm2022/ojiepermana-angular-component-utils-overlay.mjs +46 -58
- package/fesm2022/ojiepermana-angular-component-utils-scale.mjs +76 -38
- package/fesm2022/ojiepermana-angular-component-utils.mjs +2 -8
- package/fesm2022/ojiepermana-angular-component.mjs +0 -10
- package/fesm2022/ojiepermana-angular-navigation-core.mjs +13 -23
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs +35 -24
- package/fesm2022/ojiepermana-angular-navigation-navigation-badge-count.component-BKCeWzml.mjs +129 -0
- package/fesm2022/ojiepermana-angular-navigation-navigation-dockbar-menu.component-DFEJK2jD.mjs +811 -0
- package/fesm2022/{ojiepermana-angular-navigation-navigation-entry-grid.component-COQ-60DS.mjs → ojiepermana-angular-navigation-navigation-entry-grid.component-mpK9Ar08.mjs} +387 -183
- package/fesm2022/ojiepermana-angular-navigation-navigation-flyout-menu.component-BPgH7FJk.mjs +650 -0
- package/fesm2022/ojiepermana-angular-navigation-navigation-horizontal.component-DMpYcD9t.mjs +662 -0
- package/fesm2022/ojiepermana-angular-navigation-navigation-item.component-Basp5SIk.mjs +1228 -0
- package/fesm2022/ojiepermana-angular-navigation-navigation-list.component-YUzHI9Pj.mjs +311 -0
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +542 -724
- package/fesm2022/ojiepermana-angular-navigation-types.mjs +27 -56
- package/fesm2022/ojiepermana-angular-navigation.mjs +3052 -4
- package/fesm2022/ojiepermana-angular-sdk.mjs +91 -201
- package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +1115 -737
- package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +245 -328
- package/fesm2022/ojiepermana-angular-theme-layout-types.mjs +35 -38
- package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +1719 -552
- package/fesm2022/ojiepermana-angular-theme-layout.mjs +847 -496
- package/fesm2022/ojiepermana-angular-theme-page-core.mjs +288 -358
- package/fesm2022/ojiepermana-angular-theme-page-filter.mjs +362 -224
- package/fesm2022/ojiepermana-angular-theme-page-overview.mjs +88 -0
- package/fesm2022/ojiepermana-angular-theme-page-root.mjs +576 -254
- package/fesm2022/ojiepermana-angular-theme-page-side.mjs +317 -177
- package/fesm2022/ojiepermana-angular-theme-page-slots.mjs +256 -112
- package/fesm2022/ojiepermana-angular-theme-page.mjs +7 -12
- package/fesm2022/ojiepermana-angular-theme-shell-services.mjs +215 -326
- package/fesm2022/ojiepermana-angular-theme-shell-types.mjs +68 -129
- package/fesm2022/ojiepermana-angular-theme-shell.mjs +907 -378
- package/fesm2022/ojiepermana-angular-theme-styles.mjs +521 -720
- package/fesm2022/ojiepermana-angular-theme.mjs +0 -10
- package/fesm2022/ojiepermana-angular.mjs +5 -24
- package/navigation/README.md +1 -1
- package/package.json +16 -12
- package/sdk/README.md +1 -1
- package/sdk/src/writer/index.js +2 -2
- package/theme/README.md +1 -1
- package/theme/layout/README.md +2 -4
- package/theme/page/README.md +50 -0
- package/theme/styles/README.md +10 -10
- package/theme/styles/css/base/prefers-dark.css +1 -1
- package/theme/styles/css/base/status.css +1 -1
- package/theme/styles/css/color/amber.css +1 -1
- package/theme/styles/css/color/blue.css +1 -1
- package/theme/styles/css/color/cyan.css +1 -1
- package/theme/styles/css/color/emerald.css +1 -1
- package/theme/styles/css/color/fuchsia.css +1 -1
- package/theme/styles/css/color/green.css +1 -1
- package/theme/styles/css/color/indigo.css +1 -1
- package/theme/styles/css/color/lime.css +1 -1
- package/theme/styles/css/color/orange.css +1 -1
- package/theme/styles/css/color/pink.css +1 -1
- package/theme/styles/css/color/purple.css +1 -1
- package/theme/styles/css/color/red.css +1 -1
- package/theme/styles/css/color/rose.css +1 -1
- package/theme/styles/css/color/sky.css +1 -1
- package/theme/styles/css/color/teal.css +1 -1
- package/theme/styles/css/color/violet.css +1 -1
- package/theme/styles/css/color/yellow.css +1 -1
- package/theme/styles/css/neutral/gray.css +1 -1
- package/theme/styles/css/neutral/mauve.css +1 -1
- package/theme/styles/css/neutral/mist.css +1 -1
- package/theme/styles/css/neutral/neutral.css +1 -1
- package/theme/styles/css/neutral/olive.css +1 -1
- package/theme/styles/css/neutral/slate.css +1 -1
- package/theme/styles/css/neutral/stone.css +1 -1
- package/theme/styles/css/neutral/taupe.css +1 -1
- package/theme/styles/css/neutral/zinc.css +1 -1
- package/types/ojiepermana-angular-chart-area.d.ts +126 -63
- package/types/ojiepermana-angular-chart-bar.d.ts +244 -154
- package/types/ojiepermana-angular-chart-core.d.ts +409 -398
- package/types/ojiepermana-angular-chart-line.d.ts +141 -68
- package/types/ojiepermana-angular-chart-pie.d.ts +192 -121
- package/types/ojiepermana-angular-chart-primitives.d.ts +283 -214
- package/types/ojiepermana-angular-chart-radar.d.ts +189 -108
- package/types/ojiepermana-angular-chart-radial.d.ts +177 -106
- package/types/ojiepermana-angular-chart-scatter.d.ts +166 -110
- package/types/ojiepermana-angular-chart.d.ts +3 -2
- package/types/ojiepermana-angular-component-accordion.d.ts +135 -81
- package/types/ojiepermana-angular-component-alert-dialog.d.ts +271 -123
- package/types/ojiepermana-angular-component-alert.d.ts +69 -39
- package/types/ojiepermana-angular-component-aspect-ratio.d.ts +20 -12
- package/types/ojiepermana-angular-component-avatar.d.ts +103 -49
- package/types/ojiepermana-angular-component-badge.d.ts +36 -24
- package/types/ojiepermana-angular-component-breadcrumb.d.ts +79 -40
- package/types/ojiepermana-angular-component-button-group.d.ts +48 -24
- package/types/ojiepermana-angular-component-button.d.ts +44 -27
- package/types/ojiepermana-angular-component-calendar.d.ts +145 -107
- package/types/ojiepermana-angular-component-card.d.ts +112 -63
- package/types/ojiepermana-angular-component-carousel.d.ts +150 -81
- package/types/ojiepermana-angular-component-checkbox.d.ts +96 -38
- package/types/ojiepermana-angular-component-collapsible.d.ts +65 -39
- package/types/ojiepermana-angular-component-combobox.d.ts +100 -55
- package/types/ojiepermana-angular-component-command.d.ts +206 -121
- package/types/ojiepermana-angular-component-composer.d.ts +184 -84
- package/types/ojiepermana-angular-component-context-menu.d.ts +51 -41
- package/types/ojiepermana-angular-component-date-picker.d.ts +199 -109
- package/types/ojiepermana-angular-component-dialog.d.ts +200 -105
- package/types/ojiepermana-angular-component-drawer.d.ts +2 -1
- package/types/ojiepermana-angular-component-dropdown-menu.d.ts +324 -202
- package/types/ojiepermana-angular-component-editor.d.ts +215 -117
- package/types/ojiepermana-angular-component-empty.d.ts +80 -45
- package/types/ojiepermana-angular-component-form.d.ts +185 -121
- package/types/ojiepermana-angular-component-hover-card.d.ts +130 -72
- package/types/ojiepermana-angular-component-icon.d.ts +87 -57
- package/types/ojiepermana-angular-component-input-group.d.ts +93 -46
- package/types/ojiepermana-angular-component-input-otp.d.ts +243 -150
- package/types/ojiepermana-angular-component-input.d.ts +27 -17
- package/types/ojiepermana-angular-component-item.d.ts +160 -84
- package/types/ojiepermana-angular-component-kanban.d.ts +157 -62
- package/types/ojiepermana-angular-component-kbd.d.ts +24 -15
- package/types/ojiepermana-angular-component-label.d.ts +19 -11
- package/types/ojiepermana-angular-component-menubar.d.ts +120 -90
- package/types/ojiepermana-angular-component-native-select.d.ts +37 -24
- package/types/ojiepermana-angular-component-navigation-menu.d.ts +157 -98
- package/types/ojiepermana-angular-component-pagination.d.ts +78 -28
- package/types/ojiepermana-angular-component-pillbox.d.ts +361 -204
- package/types/ojiepermana-angular-component-popover.d.ts +94 -64
- package/types/ojiepermana-angular-component-progress.d.ts +45 -17
- package/types/ojiepermana-angular-component-radio.d.ts +129 -53
- package/types/ojiepermana-angular-component-resizable.d.ts +160 -112
- package/types/ojiepermana-angular-component-scroll-area.d.ts +33 -15
- package/types/ojiepermana-angular-component-segmented-control.d.ts +94 -50
- package/types/ojiepermana-angular-component-select.d.ts +94 -77
- package/types/ojiepermana-angular-component-separator.d.ts +26 -14
- package/types/ojiepermana-angular-component-sheet.d.ts +226 -116
- package/types/ojiepermana-angular-component-skeleton.d.ts +13 -10
- package/types/ojiepermana-angular-component-slider.d.ts +140 -75
- package/types/ojiepermana-angular-component-spinner.d.ts +31 -13
- package/types/ojiepermana-angular-component-switch.d.ts +97 -40
- package/types/ojiepermana-angular-component-table.d.ts +102 -50
- package/types/ojiepermana-angular-component-tabs.d.ts +174 -115
- package/types/ojiepermana-angular-component-textarea.d.ts +27 -17
- package/types/ojiepermana-angular-component-timeline.d.ts +141 -59
- package/types/ojiepermana-angular-component-toast.d.ts +51 -55
- package/types/ojiepermana-angular-component-toggle-group.d.ts +159 -88
- package/types/ojiepermana-angular-component-toggle.d.ts +47 -25
- package/types/ojiepermana-angular-component-tooltip.d.ts +222 -132
- package/types/ojiepermana-angular-component-utils-core.d.ts +81 -90
- package/types/ojiepermana-angular-component-utils-overlay.d.ts +7 -11
- package/types/ojiepermana-angular-component-utils-scale.d.ts +20 -12
- package/types/ojiepermana-angular-component-utils.d.ts +2 -2
- package/types/ojiepermana-angular-component.d.ts +1 -2
- package/types/ojiepermana-angular-navigation-core.d.ts +46 -50
- package/types/ojiepermana-angular-navigation-icon.d.ts +9 -12
- package/types/ojiepermana-angular-navigation-service.d.ts +112 -115
- package/types/ojiepermana-angular-navigation-types.d.ts +121 -125
- package/types/ojiepermana-angular-navigation.d.ts +663 -374
- package/types/ojiepermana-angular-sdk.d.ts +69 -71
- package/types/ojiepermana-angular-theme-component-settings.d.ts +115 -83
- package/types/ojiepermana-angular-theme-layout-services.d.ts +119 -124
- package/types/ojiepermana-angular-theme-layout-types.d.ts +27 -31
- package/types/ojiepermana-angular-theme-layout-wrapper.d.ts +399 -187
- package/types/ojiepermana-angular-theme-layout.d.ts +201 -113
- package/types/ojiepermana-angular-theme-page-core.d.ts +136 -142
- package/types/ojiepermana-angular-theme-page-filter.d.ts +112 -62
- package/types/ojiepermana-angular-theme-page-overview.d.ts +28 -0
- package/types/ojiepermana-angular-theme-page-root.d.ts +172 -88
- package/types/ojiepermana-angular-theme-page-side.d.ts +89 -49
- package/types/ojiepermana-angular-theme-page-slots.d.ts +58 -37
- package/types/ojiepermana-angular-theme-page.d.ts +7 -5
- package/types/ojiepermana-angular-theme-shell-services.d.ts +119 -125
- package/types/ojiepermana-angular-theme-shell-types.d.ts +38 -41
- package/types/ojiepermana-angular-theme-shell.d.ts +139 -61
- package/types/ojiepermana-angular-theme-styles.d.ts +184 -196
- package/types/ojiepermana-angular-theme.d.ts +1 -2
- package/types/ojiepermana-angular.d.ts +5 -5
- package/fesm2022/ojiepermana-angular-navigation-navigation-badge-count.component-Be3IqzG4.mjs +0 -91
- package/fesm2022/ojiepermana-angular-navigation-navigation-dockbar-menu.component-Bc7DWK3R.mjs +0 -522
- package/fesm2022/ojiepermana-angular-navigation-navigation-flyout-menu.component-DA8VPEn7.mjs +0 -404
- package/fesm2022/ojiepermana-angular-navigation-navigation-horizontal.component-U2TJTzlW.mjs +0 -466
- package/fesm2022/ojiepermana-angular-navigation-ojiepermana-angular-navigation-CIUhmytH.mjs +0 -2668
|
@@ -1,125 +1,181 @@
|
|
|
1
|
-
import { ScaleLinear } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
readonly maxPointRadius: number;
|
|
18
|
-
readonly xDomain?: readonly [number, number];
|
|
19
|
-
readonly yDomain?: readonly [number, number];
|
|
1
|
+
import { ScaleLinear } from "d3-scale";
|
|
2
|
+
import { ChartDatum, ChartMargin, ChartPointClickEvent, NumericDomain } from "@ojiepermana/angular/chart/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface ScatterLayoutInput {
|
|
5
|
+
readonly data: readonly ChartDatum[];
|
|
6
|
+
readonly xKey: string;
|
|
7
|
+
readonly yKey: string;
|
|
8
|
+
readonly sizeKey?: string;
|
|
9
|
+
readonly seriesKey?: string;
|
|
10
|
+
readonly seriesKeys: readonly string[];
|
|
11
|
+
readonly innerWidth: number;
|
|
12
|
+
readonly innerHeight: number;
|
|
13
|
+
readonly minPointRadius: number;
|
|
14
|
+
readonly maxPointRadius: number;
|
|
15
|
+
readonly xDomain?: readonly [number, number];
|
|
16
|
+
readonly yDomain?: readonly [number, number];
|
|
20
17
|
}
|
|
21
|
-
interface ScatterPoint {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
18
|
+
export interface ScatterPoint {
|
|
19
|
+
readonly seriesKey: string;
|
|
20
|
+
readonly color: string;
|
|
21
|
+
readonly x: number;
|
|
22
|
+
readonly y: number;
|
|
23
|
+
readonly radius: number;
|
|
24
|
+
readonly datumIndex: number;
|
|
25
|
+
readonly rawX: number;
|
|
26
|
+
readonly rawY: number;
|
|
27
|
+
readonly rawSize: number;
|
|
31
28
|
}
|
|
32
|
-
interface ScatterLayout {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
29
|
+
export interface ScatterLayout {
|
|
30
|
+
readonly points: readonly ScatterPoint[];
|
|
31
|
+
readonly xScale: ScaleLinear<number, number>;
|
|
32
|
+
readonly yScale: ScaleLinear<number, number>;
|
|
33
|
+
readonly xDomain: NumericDomain;
|
|
34
|
+
readonly yDomain: NumericDomain;
|
|
38
35
|
}
|
|
39
|
-
declare function resolveScatterDomains(input: Pick<ScatterLayoutInput, 'data' | 'xKey' | 'yKey' | 'xDomain' | 'yDomain'>): {
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
export declare function resolveScatterDomains(input: Pick<ScatterLayoutInput, 'data' | 'xKey' | 'yKey' | 'xDomain' | 'yDomain'>): {
|
|
37
|
+
xDomain: NumericDomain;
|
|
38
|
+
yDomain: NumericDomain;
|
|
42
39
|
};
|
|
43
|
-
declare function computeScatterLayout(input: ScatterLayoutInput): ScatterLayout;
|
|
44
|
-
|
|
40
|
+
export declare function computeScatterLayout(input: ScatterLayoutInput): ScatterLayout;
|
|
45
41
|
/**
|
|
46
42
|
* @deprecated Use `ChartPointClickEvent` from `@ojiepermana/angular/chart/core`.
|
|
47
43
|
* `x` and `y` stay scatter-only and are still emitted; the shared `category` and
|
|
48
44
|
* `value` carry the same pair (`category` is the x value as text, `value` is y).
|
|
49
45
|
*/
|
|
50
|
-
type ScatterPointClickEvent = ChartPointClickEvent & {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
46
|
+
export type ScatterPointClickEvent = ChartPointClickEvent & {
|
|
47
|
+
/** Raw x value. Also surfaced as `category`. */
|
|
48
|
+
readonly x: number;
|
|
49
|
+
/** Raw y value. Also surfaced as `value`. */
|
|
50
|
+
readonly y: number;
|
|
55
51
|
};
|
|
56
52
|
/**
|
|
57
53
|
* Scatter chart — one dot per datum. Both axes are linear; color can
|
|
58
54
|
* come from a fixed series key or per-row via `seriesKey` field. Point
|
|
59
55
|
* radius optionally scales with `sizeKey`.
|
|
60
56
|
*/
|
|
61
|
-
declare class ScatterChart {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
57
|
+
export declare class ScatterChart {
|
|
58
|
+
private readonly root;
|
|
59
|
+
private readonly viewport;
|
|
60
|
+
readonly data: import("@angular/core").InputSignal<readonly Readonly<Record<string, unknown>>[]>;
|
|
61
|
+
readonly xKey: import("@angular/core").InputSignal<string>;
|
|
62
|
+
readonly yKey: import("@angular/core").InputSignal<string>;
|
|
63
|
+
/** Optional numeric field to drive point radius. */
|
|
64
|
+
readonly sizeKey: import("@angular/core").InputSignal<string | undefined>;
|
|
65
|
+
/** Optional field on each datum used as color key. */
|
|
66
|
+
readonly seriesKey: import("@angular/core").InputSignal<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Presentational style of the chart.
|
|
69
|
+
*
|
|
70
|
+
* Replaces `styles`, which read like a CSS styles bag rather than a single
|
|
71
|
+
* variant. Named `styleVariant` and not `variant` because `ChartBar` already
|
|
72
|
+
* publishes a `variant` input for its grouped versus stacked axis, and one
|
|
73
|
+
* name cannot mean two things across the family.
|
|
74
|
+
*/
|
|
75
|
+
readonly styleVariant: import("@angular/core").InputSignal<"base" | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* @deprecated Use `styleVariant`. Still fully supported; when both are bound,
|
|
78
|
+
* `styleVariant` wins. Due for removal in the next major.
|
|
79
|
+
*/
|
|
80
|
+
readonly styles: import("@angular/core").InputSignal<"base">;
|
|
81
|
+
/** The style actually in effect. Bind this, never `styles()`. */
|
|
82
|
+
protected readonly chartStyle: import("@angular/core").Signal<"base">;
|
|
83
|
+
private readonly themeSpace;
|
|
84
|
+
/**
|
|
85
|
+
* Plot gutters. Leave it unset and they follow the theme-space density
|
|
86
|
+
* axis; set it and your numbers win, unchanged, whatever the axis says.
|
|
87
|
+
*/
|
|
88
|
+
readonly margin: import("@angular/core").InputSignal<ChartMargin | null>;
|
|
89
|
+
/** The margin actually in effect. Bind this, never `margin()`. */
|
|
90
|
+
protected readonly plotMargin: import("@angular/core").Signal<ChartMargin>;
|
|
91
|
+
readonly minPointRadius: import("@angular/core").InputSignal<number>;
|
|
92
|
+
readonly maxPointRadius: import("@angular/core").InputSignal<number>;
|
|
93
|
+
readonly xDomain: import("@angular/core").InputSignal<readonly [number, number] | undefined>;
|
|
94
|
+
readonly yDomain: import("@angular/core").InputSignal<readonly [number, number] | undefined>;
|
|
95
|
+
readonly pointClick: import("@angular/core").OutputEmitterRef<ScatterPointClickEvent>;
|
|
96
|
+
/**
|
|
97
|
+
* The shared cartesian scaffolding. Scatter uses the geometry, the layout
|
|
98
|
+
* effect, and the click plus active-point plus aria-label handlers; it has no
|
|
99
|
+
* `CartesianContext` of its own (it publishes to a `ScatterViewportContext`
|
|
100
|
+
* instead) and no index window, so it passes neither `cartesian` nor
|
|
101
|
+
* `viewport`.
|
|
102
|
+
*
|
|
103
|
+
* Declared before `layout` because the layout computed reads its geometry.
|
|
104
|
+
*/
|
|
105
|
+
protected readonly cx: import("@ojiepermana/angular/chart/core").CartesianChartSetup<ScatterPoint>;
|
|
106
|
+
protected readonly resolvedDomains: import("@angular/core").Signal<{
|
|
107
|
+
xDomain: import("@ojiepermana/angular/chart/core").NumericDomain;
|
|
108
|
+
yDomain: import("@ojiepermana/angular/chart/core").NumericDomain;
|
|
109
|
+
}>;
|
|
110
|
+
protected readonly currentXDomain: import("@angular/core").Signal<import("@ojiepermana/angular/chart/core").NumericDomain>;
|
|
111
|
+
protected readonly currentYDomain: import("@angular/core").Signal<import("@ojiepermana/angular/chart/core").NumericDomain>;
|
|
112
|
+
protected readonly layout: import("@angular/core").Signal<import("@ojiepermana/angular/chart/scatter").ScatterLayout>;
|
|
113
|
+
protected readonly clipPathId: import("@angular/core").Signal<string>;
|
|
114
|
+
protected readonly ariaSummary: import("@angular/core").Signal<string>;
|
|
115
|
+
protected readonly dataColumns: import("@angular/core").Signal<string[]>;
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScatterChart, never>;
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScatterChart, "ChartScatter", never, {
|
|
118
|
+
"data": {
|
|
119
|
+
"alias": "data";
|
|
120
|
+
"required": true;
|
|
121
|
+
"isSignal": true;
|
|
122
|
+
};
|
|
123
|
+
"xKey": {
|
|
124
|
+
"alias": "xKey";
|
|
125
|
+
"required": true;
|
|
126
|
+
"isSignal": true;
|
|
127
|
+
};
|
|
128
|
+
"yKey": {
|
|
129
|
+
"alias": "yKey";
|
|
130
|
+
"required": true;
|
|
131
|
+
"isSignal": true;
|
|
132
|
+
};
|
|
133
|
+
"sizeKey": {
|
|
134
|
+
"alias": "sizeKey";
|
|
135
|
+
"required": false;
|
|
136
|
+
"isSignal": true;
|
|
137
|
+
};
|
|
138
|
+
"seriesKey": {
|
|
139
|
+
"alias": "seriesKey";
|
|
140
|
+
"required": false;
|
|
141
|
+
"isSignal": true;
|
|
142
|
+
};
|
|
143
|
+
"styleVariant": {
|
|
144
|
+
"alias": "styleVariant";
|
|
145
|
+
"required": false;
|
|
146
|
+
"isSignal": true;
|
|
147
|
+
};
|
|
148
|
+
"styles": {
|
|
149
|
+
"alias": "styles";
|
|
150
|
+
"required": false;
|
|
151
|
+
"isSignal": true;
|
|
152
|
+
};
|
|
153
|
+
"margin": {
|
|
154
|
+
"alias": "margin";
|
|
155
|
+
"required": false;
|
|
156
|
+
"isSignal": true;
|
|
157
|
+
};
|
|
158
|
+
"minPointRadius": {
|
|
159
|
+
"alias": "minPointRadius";
|
|
160
|
+
"required": false;
|
|
161
|
+
"isSignal": true;
|
|
162
|
+
};
|
|
163
|
+
"maxPointRadius": {
|
|
164
|
+
"alias": "maxPointRadius";
|
|
165
|
+
"required": false;
|
|
166
|
+
"isSignal": true;
|
|
167
|
+
};
|
|
168
|
+
"xDomain": {
|
|
169
|
+
"alias": "xDomain";
|
|
170
|
+
"required": false;
|
|
171
|
+
"isSignal": true;
|
|
172
|
+
};
|
|
173
|
+
"yDomain": {
|
|
174
|
+
"alias": "yDomain";
|
|
175
|
+
"required": false;
|
|
176
|
+
"isSignal": true;
|
|
177
|
+
};
|
|
178
|
+
}, {
|
|
179
|
+
"pointClick": "pointClick";
|
|
180
|
+
}, never, ["svg:g[ChartBrush]", "ChartTooltip", "ChartLegend", "ChartZoomControls"], true, never>;
|
|
181
|
+
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { AreaLayoutInput, AreaLayoutResult, CHART_DATA_ATTRIBUTE, CHART_THEMES, CartesianBase, CartesianChartOptions, CartesianChartSetup, CartesianContext, CartesianMark, CategoricalViewportContext, CategoryScale, ChartActivePoint, ChartConfig, ChartContainer, ChartContext, ChartDatum, ChartDimensions, ChartIndexRange, ChartMargin, ChartOrientation, ChartPointClickEvent, ChartSeriesConfig, ChartStyle, ChartStyleVariant, ChartThemeKey, ChartTick, ClientPoint, DEFAULT_CARTESIAN_MARGIN, DEFAULT_POLAR_MARGIN, DEFAULT_RADAR_MARGIN, LineCurve, LineLayoutResult, LinePoint, LineSeriesPath, NumericDomain, ScatterViewportContext, ValueScale, bandTicks, buildCartesianScales, buildChartCss, cloneLinear, computeAreaLayout, computeLineLayout, effectiveIndexRange, elementClientCenter, escapeCssIdent, indexRangeSize, isSafeCssColorValue, linearTicks, nearestCategoryIndex, normalizeIndexRange, normalizeNumericDomain, panIndexRange, panNumericDomain, pointToBandAdapter, provideCartesianFromLineLayout, resolveChartStyle, resolveSeriesColor, seriesColorVar, setupCartesianChart, sliceByIndexRange, xScale, yScale, zoomIndexRange, zoomNumericDomain } from "@ojiepermana/angular/chart/core";
|
|
2
|
+
import { ChartAxisX, ChartAxisY, ChartBrush, ChartCrosshair, ChartGrid, ChartLegend, ChartPointerTracker, ChartTooltip, ChartTooltipIndicator, ChartTooltipLabelFormatter, ChartTooltipPayload, ChartTooltipRow, ChartTooltipValueFormatter, ChartZoomControls, PieCenter, RadialCenter } from "@ojiepermana/angular/chart/primitives";
|
|
3
|
+
export { type AreaLayoutInput, type AreaLayoutResult, CHART_DATA_ATTRIBUTE, CHART_THEMES, type CartesianBase, type CartesianChartOptions, type CartesianChartSetup, CartesianContext, type CartesianMark, CategoricalViewportContext, type CategoryScale, type ChartActivePoint, ChartAxisX, ChartAxisY, ChartBrush, type ChartConfig, ChartContainer, ChartContext, ChartCrosshair, type ChartDatum, type ChartDimensions, ChartGrid, type ChartIndexRange, ChartLegend, type ChartMargin, type ChartOrientation, type ChartPointClickEvent, ChartPointerTracker, type ChartSeriesConfig, ChartStyle, type ChartStyleVariant, type ChartThemeKey, type ChartTick, ChartTooltip, type ChartTooltipIndicator, type ChartTooltipLabelFormatter, type ChartTooltipPayload, type ChartTooltipRow, type ChartTooltipValueFormatter, ChartZoomControls, type ClientPoint, DEFAULT_CARTESIAN_MARGIN, DEFAULT_POLAR_MARGIN, DEFAULT_RADAR_MARGIN, type LineCurve, type LineLayoutResult, type LinePoint, type LineSeriesPath, type NumericDomain, PieCenter, RadialCenter, ScatterViewportContext, type ValueScale, bandTicks, buildCartesianScales, buildChartCss, cloneLinear, computeAreaLayout, computeLineLayout, effectiveIndexRange, elementClientCenter, escapeCssIdent, indexRangeSize, isSafeCssColorValue, linearTicks, nearestCategoryIndex, normalizeIndexRange, normalizeNumericDomain, panIndexRange, panNumericDomain, pointToBandAdapter, provideCartesianFromLineLayout, resolveChartStyle, resolveSeriesColor, seriesColorVar, setupCartesianChart, sliceByIndexRange, xScale, yScale, zoomIndexRange, zoomNumericDomain };
|
|
@@ -1,85 +1,139 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import * as i1 from
|
|
4
|
-
import { ComponentScaleDirective } from
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AccordionContextBase, never, never, {}, {}, never, never, true, never>;
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { OnDestroy, OnInit } from "@angular/core";
|
|
3
|
+
import * as i1 from "@ojiepermana/angular/component/utils/scale";
|
|
4
|
+
import { ComponentScaleDirective } from "@ojiepermana/angular/component/utils/scale";
|
|
5
|
+
export type AccordionType = 'single' | 'multiple';
|
|
6
|
+
export declare abstract class AccordionContextBase {
|
|
7
|
+
abstract isOpen(value: string): boolean;
|
|
8
|
+
abstract toggle(value: string): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionContextBase, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AccordionContextBase, never, never, {}, {}, never, never, true, never>;
|
|
12
11
|
}
|
|
13
|
-
declare class AccordionComponent extends AccordionContextBase {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
12
|
+
export declare class AccordionComponent extends AccordionContextBase {
|
|
13
|
+
protected readonly componentScale: ComponentScaleDirective;
|
|
14
|
+
readonly radius: import("@angular/core").InputSignal<"inherit" | "none" | "xs" | "sm" | "md" | "xl" | "full">;
|
|
15
|
+
readonly density: import("@angular/core").InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
16
|
+
readonly type: import("@angular/core").InputSignal<AccordionType>;
|
|
17
|
+
readonly collapsible: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
readonly value: import("@angular/core").ModelSignal<string | string[] | null>;
|
|
19
|
+
readonly class: import("@angular/core").InputSignal<string>;
|
|
20
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
21
|
+
private readonly openSet;
|
|
22
|
+
isOpen(value: string): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Header elements, so arrow keys can move between them.
|
|
25
|
+
*
|
|
26
|
+
* Kept as a set of elements rather than an ordered list: registration order
|
|
27
|
+
* follows creation order, which is not the reading order once items are added,
|
|
28
|
+
* removed, or reordered. {@link orderedTriggers} sorts by document position so
|
|
29
|
+
* the keyboard always follows what the user sees.
|
|
30
|
+
*/
|
|
31
|
+
private readonly triggers;
|
|
32
|
+
registerTrigger(element: HTMLElement): void;
|
|
33
|
+
unregisterTrigger(element: HTMLElement): void;
|
|
34
|
+
/** Move focus between headers, wrapping around, the way Tabs does. */
|
|
35
|
+
moveTriggerFocus(from: HTMLElement, offset: number): void;
|
|
36
|
+
focusFirstTrigger(): void;
|
|
37
|
+
focusLastTrigger(): void;
|
|
38
|
+
private orderedTriggers;
|
|
39
|
+
toggle(value: string): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "Accordion", never, {
|
|
42
|
+
"type": {
|
|
43
|
+
"alias": "type";
|
|
44
|
+
"required": false;
|
|
45
|
+
"isSignal": true;
|
|
46
|
+
};
|
|
47
|
+
"collapsible": {
|
|
48
|
+
"alias": "collapsible";
|
|
49
|
+
"required": false;
|
|
50
|
+
"isSignal": true;
|
|
51
|
+
};
|
|
52
|
+
"value": {
|
|
53
|
+
"alias": "value";
|
|
54
|
+
"required": false;
|
|
55
|
+
"isSignal": true;
|
|
56
|
+
};
|
|
57
|
+
"class": {
|
|
58
|
+
"alias": "class";
|
|
59
|
+
"required": false;
|
|
60
|
+
"isSignal": true;
|
|
61
|
+
};
|
|
62
|
+
}, {
|
|
63
|
+
"value": "valueChange";
|
|
64
|
+
}, never, ["*"], true, [{
|
|
65
|
+
directive: typeof i1.ComponentScaleDirective;
|
|
66
|
+
inputs: {
|
|
67
|
+
"radius": "radius";
|
|
68
|
+
"density": "density";
|
|
69
|
+
};
|
|
70
|
+
outputs: {};
|
|
71
|
+
}]>;
|
|
43
72
|
}
|
|
44
|
-
declare class AccordionItemComponent {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
73
|
+
export declare class AccordionItemComponent {
|
|
74
|
+
protected readonly ctx: AccordionContextBase;
|
|
75
|
+
readonly value: import("@angular/core").InputSignal<string>;
|
|
76
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
77
|
+
readonly class: import("@angular/core").InputSignal<string>;
|
|
78
|
+
readonly triggerId: string;
|
|
79
|
+
readonly contentId: string;
|
|
80
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
81
|
+
readonly open: import("@angular/core").Signal<boolean>;
|
|
82
|
+
toggle(): void;
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "AccordionItem", never, {
|
|
85
|
+
"value": {
|
|
86
|
+
"alias": "value";
|
|
87
|
+
"required": true;
|
|
88
|
+
"isSignal": true;
|
|
89
|
+
};
|
|
90
|
+
"disabled": {
|
|
91
|
+
"alias": "disabled";
|
|
92
|
+
"required": false;
|
|
93
|
+
"isSignal": true;
|
|
94
|
+
};
|
|
95
|
+
"class": {
|
|
96
|
+
"alias": "class";
|
|
97
|
+
"required": false;
|
|
98
|
+
"isSignal": true;
|
|
99
|
+
};
|
|
100
|
+
}, {}, never, ["*"], true, never>;
|
|
56
101
|
}
|
|
57
|
-
declare class AccordionTriggerComponent implements OnInit, OnDestroy {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
102
|
+
export declare class AccordionTriggerComponent implements OnInit, OnDestroy {
|
|
103
|
+
protected readonly item: AccordionItemComponent;
|
|
104
|
+
private readonly accordion;
|
|
105
|
+
private readonly el;
|
|
106
|
+
readonly class: import("@angular/core").InputSignal<string>;
|
|
107
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
108
|
+
ngOnInit(): void;
|
|
109
|
+
ngOnDestroy(): void;
|
|
110
|
+
/**
|
|
111
|
+
* Arrow keys move focus between headers; they never open or close a section.
|
|
112
|
+
* Enter and Space still do the toggling, which is the accordion pattern and
|
|
113
|
+
* matches how Tabs moves between its triggers.
|
|
114
|
+
*/
|
|
115
|
+
protected onArrow(event: KeyboardEvent, offset: number): void;
|
|
116
|
+
protected onHome(event: KeyboardEvent): void;
|
|
117
|
+
protected onEnd(event: KeyboardEvent): void;
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionTriggerComponent, never>;
|
|
119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionTriggerComponent, "button[AccordionTrigger]", never, {
|
|
120
|
+
"class": {
|
|
121
|
+
"alias": "class";
|
|
122
|
+
"required": false;
|
|
123
|
+
"isSignal": true;
|
|
124
|
+
};
|
|
125
|
+
}, {}, never, ["*"], true, never>;
|
|
75
126
|
}
|
|
76
|
-
declare class AccordionContentComponent {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
127
|
+
export declare class AccordionContentComponent {
|
|
128
|
+
protected readonly item: AccordionItemComponent;
|
|
129
|
+
readonly class: import("@angular/core").InputSignal<string>;
|
|
130
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionContentComponent, never>;
|
|
132
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionContentComponent, "AccordionContent", never, {
|
|
133
|
+
"class": {
|
|
134
|
+
"alias": "class";
|
|
135
|
+
"required": false;
|
|
136
|
+
"isSignal": true;
|
|
137
|
+
};
|
|
138
|
+
}, {}, never, ["*"], true, never>;
|
|
139
|
+
}
|