@ojiepermana/angular 22.2.15 → 22.3.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 +10 -6
- package/SUPPORT.md +23 -9
- package/chart/README.md +1 -1
- package/component/README.md +1 -1
- package/component/composer/README.md +3 -0
- package/component/editor/README.md +3 -0
- package/fesm2022/ojiepermana-angular-chart-area.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-bar.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-core.mjs +33 -33
- package/fesm2022/ojiepermana-angular-chart-line.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-pie.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-primitives.mjs +33 -33
- package/fesm2022/ojiepermana-angular-chart-radar.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-radial.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-scatter.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +15 -15
- 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 +3 -3
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-button-group.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-button.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-card.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-carousel.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs +3 -3
- 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 +27 -27
- package/fesm2022/ojiepermana-angular-component-composer.mjs +89 -40
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +39 -39
- package/fesm2022/ojiepermana-angular-component-editor.mjs +86 -30
- package/fesm2022/ojiepermana-angular-component-empty.mjs +18 -18
- 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 +6 -6
- package/fesm2022/ojiepermana-angular-component-input-group.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-input-otp.mjs +15 -15
- package/fesm2022/ojiepermana-angular-component-input.mjs +4 -4
- package/fesm2022/ojiepermana-angular-component-item.mjs +30 -30
- package/fesm2022/ojiepermana-angular-component-kanban.mjs +27 -27
- package/fesm2022/ojiepermana-angular-component-kbd.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-label.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-menubar.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-native-select.mjs +10 -10
- 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 +15 -15
- 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 +6 -6
- 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 +3 -3
- 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 +21 -21
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-slider.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-spinner.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-switch.mjs +3 -3
- 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 +4 -4
- package/fesm2022/ojiepermana-angular-component-timeline.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-toast.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-toggle.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +15 -15
- package/fesm2022/ojiepermana-angular-component-utils-core.mjs +7 -1
- 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-Bx89vXtg.mjs → ojiepermana-angular-navigation-navigation-badge-count.component-B8lxwAAQ.mjs} +31 -21
- package/fesm2022/{ojiepermana-angular-navigation-navigation-dockbar-menu.component-CSs3QW5t.mjs → ojiepermana-angular-navigation-navigation-dockbar-menu.component-CYtBogW_.mjs} +6 -6
- package/fesm2022/{ojiepermana-angular-navigation-navigation-entry-grid.component-Cgq8iaRG.mjs → ojiepermana-angular-navigation-navigation-entry-grid.component-_8xg5lk4.mjs} +9 -4
- package/fesm2022/{ojiepermana-angular-navigation-navigation-flyout-menu.component-7Drr8U4O.mjs → ojiepermana-angular-navigation-navigation-flyout-menu.component-4TWyDz3S.mjs} +7 -7
- package/fesm2022/{ojiepermana-angular-navigation-navigation-horizontal.component-BrRGBBcK.mjs → ojiepermana-angular-navigation-navigation-horizontal.component-kREBNZlK.mjs} +6 -6
- package/fesm2022/{ojiepermana-angular-navigation-navigation-item.component-DAxMpuW_.mjs → ojiepermana-angular-navigation-navigation-item.component-BVOnGfvp.mjs} +25 -12
- package/fesm2022/{ojiepermana-angular-navigation-navigation-list.component-Bs6dssld.mjs → ojiepermana-angular-navigation-navigation-list.component-D92MNDsa.mjs} +4 -4
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +3 -3
- package/fesm2022/ojiepermana-angular-navigation.mjs +84 -63
- package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +20 -19
- package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +6 -6
- package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +54 -30
- package/fesm2022/ojiepermana-angular-theme-layout.mjs +24 -24
- package/fesm2022/ojiepermana-angular-theme-on-fill.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-page-core.mjs +163 -95
- package/fesm2022/ojiepermana-angular-theme-page-filter.mjs +15 -23
- package/fesm2022/ojiepermana-angular-theme-page-overview.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-page-root.mjs +18 -9
- package/fesm2022/ojiepermana-angular-theme-page-side.mjs +16 -24
- 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 +10 -9
- package/fesm2022/ojiepermana-angular-theme-styles.mjs +19 -19
- package/navigation/README.md +19 -1
- package/package.json +13 -13
- package/sdk/README.md +4 -0
- package/sdk/schematics/ng-add/index.js +36 -5
- package/sdk/src/parser/ir.js +4 -3
- package/sdk/src/writer/index.js +3 -3
- package/theme/README.md +1 -1
- package/theme/page/README.md +5 -3
- package/theme/styles/css/base/components.css +90 -0
- package/theme/styles/css/base/tokens.css +13 -0
- package/types/ojiepermana-angular-chart-area.d.ts +3 -0
- package/types/ojiepermana-angular-chart-bar.d.ts +3 -0
- package/types/ojiepermana-angular-chart-core.d.ts +3 -0
- package/types/ojiepermana-angular-chart-line.d.ts +3 -0
- package/types/ojiepermana-angular-chart-pie.d.ts +3 -0
- package/types/ojiepermana-angular-chart-primitives.d.ts +3 -0
- package/types/ojiepermana-angular-chart-radar.d.ts +3 -0
- package/types/ojiepermana-angular-chart-radial.d.ts +3 -0
- package/types/ojiepermana-angular-chart-scatter.d.ts +3 -0
- package/types/ojiepermana-angular-chart.d.ts +3 -0
- package/types/ojiepermana-angular-component-accordion.d.ts +3 -0
- package/types/ojiepermana-angular-component-alert-dialog.d.ts +3 -0
- package/types/ojiepermana-angular-component-alert.d.ts +3 -0
- package/types/ojiepermana-angular-component-aspect-ratio.d.ts +3 -0
- package/types/ojiepermana-angular-component-avatar.d.ts +3 -0
- package/types/ojiepermana-angular-component-badge.d.ts +3 -0
- package/types/ojiepermana-angular-component-breadcrumb.d.ts +3 -0
- package/types/ojiepermana-angular-component-button-group.d.ts +3 -0
- package/types/ojiepermana-angular-component-button.d.ts +3 -0
- package/types/ojiepermana-angular-component-calendar.d.ts +3 -0
- package/types/ojiepermana-angular-component-card.d.ts +3 -0
- package/types/ojiepermana-angular-component-carousel.d.ts +3 -0
- package/types/ojiepermana-angular-component-checkbox.d.ts +3 -0
- package/types/ojiepermana-angular-component-collapsible.d.ts +3 -0
- package/types/ojiepermana-angular-component-combobox.d.ts +3 -0
- package/types/ojiepermana-angular-component-command.d.ts +3 -0
- package/types/ojiepermana-angular-component-composer.d.ts +8 -1
- package/types/ojiepermana-angular-component-context-menu.d.ts +3 -0
- package/types/ojiepermana-angular-component-date-picker.d.ts +3 -0
- package/types/ojiepermana-angular-component-dialog.d.ts +3 -0
- package/types/ojiepermana-angular-component-drawer.d.ts +3 -0
- package/types/ojiepermana-angular-component-dropdown-menu.d.ts +3 -0
- package/types/ojiepermana-angular-component-editor.d.ts +7 -0
- package/types/ojiepermana-angular-component-empty.d.ts +3 -0
- package/types/ojiepermana-angular-component-form.d.ts +3 -0
- package/types/ojiepermana-angular-component-hover-card.d.ts +3 -0
- package/types/ojiepermana-angular-component-icon.d.ts +3 -0
- package/types/ojiepermana-angular-component-input-group.d.ts +3 -0
- package/types/ojiepermana-angular-component-input-otp.d.ts +3 -0
- package/types/ojiepermana-angular-component-input.d.ts +3 -0
- package/types/ojiepermana-angular-component-item.d.ts +3 -0
- package/types/ojiepermana-angular-component-kanban.d.ts +3 -0
- package/types/ojiepermana-angular-component-kbd.d.ts +3 -0
- package/types/ojiepermana-angular-component-label.d.ts +3 -0
- package/types/ojiepermana-angular-component-menubar.d.ts +3 -0
- package/types/ojiepermana-angular-component-native-select.d.ts +3 -0
- package/types/ojiepermana-angular-component-navigation-menu.d.ts +3 -0
- package/types/ojiepermana-angular-component-pagination.d.ts +3 -0
- package/types/ojiepermana-angular-component-pillbox.d.ts +3 -0
- package/types/ojiepermana-angular-component-popover.d.ts +3 -0
- package/types/ojiepermana-angular-component-progress.d.ts +3 -0
- package/types/ojiepermana-angular-component-radio.d.ts +3 -0
- package/types/ojiepermana-angular-component-resizable.d.ts +3 -0
- package/types/ojiepermana-angular-component-scroll-area.d.ts +3 -0
- package/types/ojiepermana-angular-component-segmented-control.d.ts +3 -0
- package/types/ojiepermana-angular-component-select.d.ts +3 -0
- package/types/ojiepermana-angular-component-separator.d.ts +3 -0
- package/types/ojiepermana-angular-component-sheet.d.ts +3 -0
- package/types/ojiepermana-angular-component-skeleton.d.ts +3 -0
- package/types/ojiepermana-angular-component-slider.d.ts +3 -0
- package/types/ojiepermana-angular-component-spinner.d.ts +3 -0
- package/types/ojiepermana-angular-component-switch.d.ts +3 -0
- package/types/ojiepermana-angular-component-table.d.ts +3 -0
- package/types/ojiepermana-angular-component-tabs.d.ts +3 -0
- package/types/ojiepermana-angular-component-textarea.d.ts +3 -0
- package/types/ojiepermana-angular-component-timeline.d.ts +3 -0
- package/types/ojiepermana-angular-component-toast.d.ts +3 -0
- package/types/ojiepermana-angular-component-toggle-group.d.ts +3 -0
- package/types/ojiepermana-angular-component-toggle.d.ts +3 -0
- package/types/ojiepermana-angular-component-tooltip.d.ts +3 -0
- package/types/ojiepermana-angular-component-utils-core.d.ts +3 -0
- package/types/ojiepermana-angular-component-utils-overlay.d.ts +3 -0
- package/types/ojiepermana-angular-component-utils-scale.d.ts +3 -0
- package/types/ojiepermana-angular-component-utils.d.ts +3 -0
- package/types/ojiepermana-angular-navigation-core.d.ts +3 -0
- package/types/ojiepermana-angular-navigation-icon.d.ts +3 -0
- package/types/ojiepermana-angular-navigation-service.d.ts +3 -0
- package/types/ojiepermana-angular-navigation-types.d.ts +11 -0
- package/types/ojiepermana-angular-navigation.d.ts +15 -2
- package/types/ojiepermana-angular-sdk.d.ts +3 -0
- package/types/ojiepermana-angular-theme-component-settings.d.ts +3 -0
- package/types/ojiepermana-angular-theme-layout-services.d.ts +3 -0
- package/types/ojiepermana-angular-theme-layout-types.d.ts +3 -0
- package/types/ojiepermana-angular-theme-layout-wrapper.d.ts +14 -1
- package/types/ojiepermana-angular-theme-layout.d.ts +3 -0
- package/types/ojiepermana-angular-theme-on-fill.d.ts +3 -0
- package/types/ojiepermana-angular-theme-page-core.d.ts +11 -9
- package/types/ojiepermana-angular-theme-page-filter.d.ts +3 -0
- package/types/ojiepermana-angular-theme-page-overview.d.ts +3 -0
- package/types/ojiepermana-angular-theme-page-root.d.ts +4 -0
- package/types/ojiepermana-angular-theme-page-side.d.ts +3 -0
- package/types/ojiepermana-angular-theme-page-slots.d.ts +3 -0
- package/types/ojiepermana-angular-theme-page.d.ts +3 -0
- package/types/ojiepermana-angular-theme-shell-services.d.ts +3 -0
- package/types/ojiepermana-angular-theme-shell-types.d.ts +3 -0
- package/types/ojiepermana-angular-theme-shell.d.ts +3 -0
- package/types/ojiepermana-angular-theme-styles.d.ts +3 -0
- package/types/ojiepermana-angular.d.ts +3 -0
package/navigation/README.md
CHANGED
|
@@ -63,6 +63,22 @@ Type dipilih lewat komponen anak deklaratif (`NavigationSidebar`, `NavigationDoc
|
|
|
63
63
|
- `badge-context` on `Navigation` supplies one reactive badge registry for every navigation type, keyed by
|
|
64
64
|
`NavigationItem.badge.source` (and route `data.navigationBadge` for the dockbar header).
|
|
65
65
|
`NavigationDockbar` also accepts `badge-context`; its legacy `dockbar-badge` input remains supported.
|
|
66
|
+
- `badge-indicator` on `Navigation` accepts `chevron` (default) or `dot`. With `dot`, a collapsible
|
|
67
|
+
target that shows a visible count badge drops its chevron, the badge takes the chevron's place at
|
|
68
|
+
the end of the row, and a small dot sits on the badge's bottom-right corner: filled while closed,
|
|
69
|
+
outlined while open. It applies to sidebar and drawer items (every level), the dockbar side panel,
|
|
70
|
+
a collapsed sidebar while its hover/focus preview is expanded, flyout tabs (including descendant
|
|
71
|
+
totals), and navbar/flyout grid entries. Compact rails and the minidock render no chevron and are
|
|
72
|
+
untouched. A badge that drops to zero brings the chevron back. The dot is a decorative
|
|
73
|
+
pseudo-element; `aria-expanded` and the badge's `aria-label` are unchanged. The dot takes the
|
|
74
|
+
item's own text color in its current state (foreground at rest, accent foreground on hover,
|
|
75
|
+
primary foreground when active), so it keeps that text's contrast on every surface. The ring
|
|
76
|
+
around the dot is a transparent cutout in the badge, so it always shows the item's real surface
|
|
77
|
+
(rest, hover, active, light or dark). Tune it with `--nav-badge-dot-size`,
|
|
78
|
+
`--nav-badge-dot-offset`, `--nav-badge-dot-color` (default `currentColor`),
|
|
79
|
+
`--nav-badge-dot-ring`, `--nav-badge-dot-ring-color` (default `transparent`, which keeps the
|
|
80
|
+
cutout), and `--nav-badge-dot-stroke` (the open-state outline).
|
|
81
|
+
`LayoutWrapperDefault` forwards it to its desktop and mobile navigation as `nav-badge-indicator`.
|
|
66
82
|
- `ariaLabel` overrides the host navigation label and defaults to `Primary navigation`.
|
|
67
83
|
- `label` on `NavigationFlyout` sets the single trigger label and defaults to `Menu`.
|
|
68
84
|
- `icon` on `NavigationFlyout` renders a Lucide icon on the trigger (the name must be registered with `provideIcons()`); `icon-position` (`start`/`end`) sets its placement and `icon-only` hides the label visually while keeping it as the accessible name (compact mode is always icon-only and falls back to the `menu` icon).
|
|
@@ -131,6 +147,7 @@ Inputs pada `<Navigation>` (container):
|
|
|
131
147
|
| `ariaLabel` | `string` | Accessible label on the host navigation landmark. |
|
|
132
148
|
| `compact` | `boolean` | Compatibility alias for collapsed-rail item layout. |
|
|
133
149
|
| `rail` | `default \| rail-active` | Extent of parent to child connectors in sidebar and dockbar. |
|
|
150
|
+
| `badge-indicator` | `chevron \| dot` | Swap a collapsible's chevron for a dot on its visible count badge. |
|
|
134
151
|
| `collapse-tree` | `stairs \| straight` | Controls nested connector styling for collapsible items. |
|
|
135
152
|
| `class` | `string` | Extra classes for the host `nav`. |
|
|
136
153
|
| `itemClass` | `string` | Shared classes applied to rendered nav items. |
|
|
@@ -177,6 +194,7 @@ Semua type juga menerima `class` untuk kelas tambahan pada elemen shell-nya.
|
|
|
177
194
|
| `link` | `string \| readonly unknown[] \| UrlTree` | Angular Router link target. |
|
|
178
195
|
| `href` | `string` | Direct external URL. |
|
|
179
196
|
| `queryParams`, `queryParamsHandling`, `fragment`, `preserveFragment` | Router options | Extra Angular Router navigation options. |
|
|
197
|
+
| `scroll` | `'manual' \| 'after-transition'` | Internal links can preserve the current scroll position with `manual`. Omit to use the host router policy. |
|
|
180
198
|
| `externalLink`, `target`, `rel` | link options | External navigation behavior. A `rel` is unioned with `noopener noreferrer` on `_blank`/external links, never replacing it. |
|
|
181
199
|
| `exactMatch`, `isActiveMatchOptions` | Router match options | Control how router activity is resolved. |
|
|
182
200
|
| `action` | `(item) => void` | Callback for action-driven leaf items. |
|
|
@@ -453,7 +471,7 @@ tetap sama; hanya distribusi chunk di sisi consumer yang lebih ringan.
|
|
|
453
471
|
|
|
454
472
|
## Support and security
|
|
455
473
|
|
|
456
|
-
Angular 22.
|
|
474
|
+
Angular 22.3–22.x CSR/browser usage is supported; SSR, prerendering, and hydration are not. See the
|
|
457
475
|
bundled `SUPPORT.md`. Report suspected vulnerabilities privately using the instructions in the
|
|
458
476
|
bundled `SECURITY.md`. This package is MIT licensed; see the bundled `LICENSE`.
|
|
459
477
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ojiepermana/angular",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.3.0",
|
|
4
4
|
"description": "Accessible, tree-shakable Angular 22 design system from ojiepermana: UI components, charts, navigation shells, theme tokens, and an OpenAPI SDK generator.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -27,22 +27,22 @@
|
|
|
27
27
|
},
|
|
28
28
|
"repository": {
|
|
29
29
|
"type": "git",
|
|
30
|
-
"url": "git+https://github.com/ojiepermana/angular.git",
|
|
30
|
+
"url": "git+https://github.com/ojiepermana/angular-ui.git",
|
|
31
31
|
"directory": "packages/angular"
|
|
32
32
|
},
|
|
33
|
-
"homepage": "https://github.com/ojiepermana/angular#readme",
|
|
33
|
+
"homepage": "https://github.com/ojiepermana/angular-ui#readme",
|
|
34
34
|
"bugs": {
|
|
35
|
-
"url": "https://github.com/ojiepermana/angular/issues",
|
|
35
|
+
"url": "https://github.com/ojiepermana/angular-ui/issues",
|
|
36
36
|
"email": "me@ojiepermana.com"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@angular/cdk": ">=22.
|
|
40
|
-
"@angular/common": ">=22.
|
|
41
|
-
"@angular/core": ">=22.
|
|
42
|
-
"@angular/forms": ">=22.
|
|
43
|
-
"@angular/material": ">=22.
|
|
44
|
-
"@angular/platform-browser": ">=22.
|
|
45
|
-
"@angular/router": ">=22.
|
|
39
|
+
"@angular/cdk": ">=22.3.0 <23.0.0",
|
|
40
|
+
"@angular/common": ">=22.3.0 <23.0.0",
|
|
41
|
+
"@angular/core": ">=22.3.0 <23.0.0",
|
|
42
|
+
"@angular/forms": ">=22.3.0 <23.0.0",
|
|
43
|
+
"@angular/material": ">=22.3.0 <23.0.0",
|
|
44
|
+
"@angular/platform-browser": ">=22.3.0 <23.0.0",
|
|
45
|
+
"@angular/router": ">=22.3.0 <23.0.0",
|
|
46
46
|
"@lucide/angular": ">=1.61.0 <2.0.0",
|
|
47
47
|
"rxjs": ">=7.8.0 <8.0.0"
|
|
48
48
|
},
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
},
|
|
497
497
|
"schematics": "./sdk/schematics/collection.json",
|
|
498
498
|
"ng-add": {
|
|
499
|
-
"save":
|
|
499
|
+
"save": false
|
|
500
500
|
},
|
|
501
501
|
"publishConfig": {
|
|
502
502
|
"access": "public",
|
|
@@ -508,5 +508,5 @@
|
|
|
508
508
|
"module": "fesm2022/ojiepermana-angular.mjs",
|
|
509
509
|
"typings": "types/ojiepermana-angular.d.ts",
|
|
510
510
|
"type": "module",
|
|
511
|
-
"gitHead": "
|
|
511
|
+
"gitHead": "19983df890012480fa46d62676765195ea6be432"
|
|
512
512
|
}
|
package/sdk/README.md
CHANGED
|
@@ -110,8 +110,12 @@ bootstrapApplication(AppComponent, {
|
|
|
110
110
|
For standalone generated output inside the same workspace, import
|
|
111
111
|
`provideApiConfiguration` from the generated SDK barrel instead of an npm package path.
|
|
112
112
|
|
|
113
|
+
OpenAPI 3.2 supports HTTP `QUERY` operations with a typed request body. URL query parameters are supported throughout OpenAPI 3.x.
|
|
114
|
+
|
|
113
115
|
## Output modes
|
|
114
116
|
|
|
117
|
+
All three modes require Angular `>=22.3.0 <23.0.0`. Upgrade Angular before generating or installing an SDK. Library output declares its own peers. In standalone mode the application owns the manifest, and in secondary-entrypoint mode the parent library owns it.
|
|
118
|
+
|
|
115
119
|
| Mode | What it emits | Use when… |
|
|
116
120
|
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- |
|
|
117
121
|
| `standalone` | A plain folder (no `ng-package.json`). | You consume the SDK via path alias / `tsconfig.paths` inside the same app. |
|
|
@@ -14,8 +14,38 @@ function ngAdd(options = {}) {
|
|
|
14
14
|
return;
|
|
15
15
|
}
|
|
16
16
|
const workspacePackageJson = readWorkspacePackageJson(tree);
|
|
17
|
+
for (const [name, range] of Object.entries(manifest.peerDependencies ?? {})) {
|
|
18
|
+
if (!name.startsWith('@angular/'))
|
|
19
|
+
continue;
|
|
20
|
+
const installed = tree.read(`/node_modules/${name}/package.json`);
|
|
21
|
+
const version = installed
|
|
22
|
+
? JSON.parse(installed.toString('utf8')).version
|
|
23
|
+
: findExistingDependency(workspacePackageJson, name)?.version;
|
|
24
|
+
if (version && (0, semver_1.validRange)(version) && !(0, semver_1.intersects)(version, range)) {
|
|
25
|
+
throw new Error(`[ng-add] ${name}@${version} is outside the supported range ${range}. ` +
|
|
26
|
+
`Use a supported Angular version before installing ${manifest.name}. ` +
|
|
27
|
+
'If your app uses an older version, update Angular first, then retry ng add.');
|
|
28
|
+
}
|
|
29
|
+
}
|
|
17
30
|
workspacePackageJson.dependencies ??= {};
|
|
31
|
+
// The CLI stages this collection outside the workspace (ng-add.save is false).
|
|
32
|
+
// Save the package selected by the CLI only after its Angular peers pass.
|
|
33
|
+
const existingPackage = findExistingDependency(workspacePackageJson, manifest.name);
|
|
34
|
+
const installedManifest = tree.read(`/node_modules/${manifest.name}/package.json`);
|
|
35
|
+
const installedVersion = installedManifest
|
|
36
|
+
? JSON.parse(installedManifest.toString('utf8')).version
|
|
37
|
+
: undefined;
|
|
18
38
|
let changed = false;
|
|
39
|
+
if (!existingPackage) {
|
|
40
|
+
workspacePackageJson.dependencies[manifest.name] = manifest.version;
|
|
41
|
+
changed = true;
|
|
42
|
+
}
|
|
43
|
+
else if ((0, semver_1.validRange)(existingPackage.version) &&
|
|
44
|
+
(!(0, semver_1.satisfies)(manifest.version, existingPackage.version) ||
|
|
45
|
+
(installedVersion !== undefined && installedVersion !== manifest.version))) {
|
|
46
|
+
(workspacePackageJson[existingPackage.section] ??= {})[manifest.name] = manifest.version;
|
|
47
|
+
changed = true;
|
|
48
|
+
}
|
|
19
49
|
for (const dependency of requiredDependencies) {
|
|
20
50
|
const existingDependency = findExistingDependency(workspacePackageJson, dependency.name);
|
|
21
51
|
if (existingDependency) {
|
|
@@ -35,13 +65,14 @@ function ngAdd(options = {}) {
|
|
|
35
65
|
changed = true;
|
|
36
66
|
context.logger.info(`[ng-add] added ${dependency.name}@${dependency.version}.`);
|
|
37
67
|
}
|
|
38
|
-
if (
|
|
68
|
+
if (changed) {
|
|
69
|
+
workspacePackageJson.dependencies = sortSection(workspacePackageJson.dependencies);
|
|
70
|
+
writeWorkspacePackageJson(tree, workspacePackageJson);
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
39
73
|
context.logger.info('[ng-add] Required dependencies are already present.');
|
|
40
|
-
return;
|
|
41
74
|
}
|
|
42
|
-
|
|
43
|
-
writeWorkspacePackageJson(tree, workspacePackageJson);
|
|
44
|
-
if (!options.skipInstall) {
|
|
75
|
+
if (!options.skipInstall && (changed || !installedVersion)) {
|
|
45
76
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
46
77
|
}
|
|
47
78
|
};
|
package/sdk/src/parser/ir.js
CHANGED
|
@@ -42,7 +42,8 @@ function buildIR(doc) {
|
|
|
42
42
|
};
|
|
43
43
|
});
|
|
44
44
|
const schemas = buildSchemas(components?.['schemas']);
|
|
45
|
-
const
|
|
45
|
+
const supportsQuery = typeof root['openapi'] === 'string' && /^3\.2\.\d+$/.test(root['openapi']);
|
|
46
|
+
const operations = buildOperations(root['paths'], components, supportsQuery ? [...HTTP_METHODS, 'query'] : HTTP_METHODS);
|
|
46
47
|
const security = buildSecuritySchemes(asRecord(components?.['securitySchemes']));
|
|
47
48
|
return {
|
|
48
49
|
title: String(info['title'] ?? 'API'),
|
|
@@ -227,7 +228,7 @@ function dereferenceComponent(value, section, components) {
|
|
|
227
228
|
// ---------------------------------------------------------------------------
|
|
228
229
|
// Operations
|
|
229
230
|
// ---------------------------------------------------------------------------
|
|
230
|
-
function buildOperations(pathsInput, componentsInput) {
|
|
231
|
+
function buildOperations(pathsInput, componentsInput, methods) {
|
|
231
232
|
const paths = asRecord(pathsInput);
|
|
232
233
|
if (!paths)
|
|
233
234
|
return [];
|
|
@@ -238,7 +239,7 @@ function buildOperations(pathsInput, componentsInput) {
|
|
|
238
239
|
if (!pathItem)
|
|
239
240
|
continue;
|
|
240
241
|
const pathLevelParams = asArray(pathItem['parameters']);
|
|
241
|
-
for (const method of
|
|
242
|
+
for (const method of methods) {
|
|
242
243
|
const op = asRecord(pathItem[method]);
|
|
243
244
|
if (!op)
|
|
244
245
|
continue;
|
package/sdk/src/writer/index.js
CHANGED
|
@@ -32,8 +32,8 @@ function writeLibrary(files, ir, target, workspaceRoot, outputDir) {
|
|
|
32
32
|
version: target.packageVersion,
|
|
33
33
|
description: `Generated SDK for ${ir.title} ${ir.version}`,
|
|
34
34
|
peerDependencies: {
|
|
35
|
-
'@angular/common': '>=22.
|
|
36
|
-
'@angular/core': '>=22.
|
|
35
|
+
'@angular/common': '>=22.3.0 <23.0.0',
|
|
36
|
+
'@angular/core': '>=22.3.0 <23.0.0',
|
|
37
37
|
rxjs: '>=7.8.0',
|
|
38
38
|
},
|
|
39
39
|
sideEffects: false,
|
|
@@ -49,7 +49,7 @@ function writeLibrary(files, ir, target, workspaceRoot, outputDir) {
|
|
|
49
49
|
...createLibraryTsConfigFiles(workspaceRoot, outputDir),
|
|
50
50
|
{
|
|
51
51
|
path: 'README.md',
|
|
52
|
-
content: (0, template_1.finalize)(`# ${target.packageName}\n\nGenerated SDK for **${ir.title}** v${ir.version}.\n\nThis folder was generated by the local SDK generator. Do not edit by hand.\n`),
|
|
52
|
+
content: (0, template_1.finalize)(`# ${target.packageName}\n\nGenerated SDK for **${ir.title}** v${ir.version}.\n\nRequires Angular >=22.3.0 <23.0.0. Upgrade Angular before installing this SDK.\n\nThis folder was generated by the local SDK generator. Do not edit by hand.\n`),
|
|
53
53
|
},
|
|
54
54
|
];
|
|
55
55
|
}
|
package/theme/README.md
CHANGED
|
@@ -120,6 +120,6 @@ peer for the shared dynamic SVG renderer and consumer registrations of Lucide co
|
|
|
120
120
|
|
|
121
121
|
## Support and security
|
|
122
122
|
|
|
123
|
-
Angular 22.
|
|
123
|
+
Angular 22.3–22.x CSR/browser usage is supported; SSR, prerendering, and hydration are not. See the
|
|
124
124
|
bundled `SUPPORT.md`. Report suspected vulnerabilities privately using the instructions in the
|
|
125
125
|
bundled `SECURITY.md`. This package is MIT licensed; see the bundled `LICENSE`.
|
package/theme/page/README.md
CHANGED
|
@@ -144,9 +144,11 @@ Latar `PageFilter` memakai token neutral tema yang dilembutkan, `bg-surface/50 t
|
|
|
144
144
|
Aksesibilitas: pada mode `drawer`/`overlay`, panel menjadi `role="dialog"` (dengan `aria-modal`
|
|
145
145
|
khusus `overlay`), fokus dipindahkan ke panel saat terbuka dan dikembalikan ke pemicu saat
|
|
146
146
|
tertutup, dan saat tertutup panel diberi `inert` sehingga isinya keluar dari tab order.
|
|
147
|
-
`overlay`
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
`overlay` membatasi fokus ke modal teratas, membuat konten lain di dokumen inert, dan mengunci
|
|
148
|
+
scroll dokumen. Panel dan backdrop tetap mengikuti geometri `Page`. Saat beberapa overlay Page
|
|
149
|
+
terbuka, backdrop dan `Esc` hanya menutup overlay teratas. `PageSide` memakai pola yang sama.
|
|
150
|
+
Mode `drawer` tetap nonmodal. Jika `closeOnEsc` dimatikan, sertakan kontrol tutup yang dapat
|
|
151
|
+
diakses dengan keyboard di dalam panel, misalnya `PageFilterToggle` atau `PageSideToggle`.
|
|
150
152
|
|
|
151
153
|
### `PageFilterToggle`
|
|
152
154
|
|
|
@@ -192,6 +192,96 @@
|
|
|
192
192
|
z-index: 20;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
+
/* Navigation[badge-indicator='dot'] — a collapsible target that shows BOTH its
|
|
196
|
+
* chevron and a visible count badge trades the chevron for a dot on the badge.
|
|
197
|
+
* Everything is keyed on what is rendered, so a badge that drops to zero (the
|
|
198
|
+
* badge element leaves the DOM) brings the chevron straight back, and compact
|
|
199
|
+
* targets, which render no chevron, are never matched.
|
|
200
|
+
*
|
|
201
|
+
* The dot is painted by the badge's slot, not the badge, so `currentColor` is
|
|
202
|
+
* the item's own text color in every state (rest, hover accent, active
|
|
203
|
+
* primary): text that already meets contrast on the item's surface. A color
|
|
204
|
+
* captured on the trigger could not reach a pseudo-element inside the badge,
|
|
205
|
+
* because currentColor inherits as a keyword and re-resolves against the
|
|
206
|
+
* badge's own text color.
|
|
207
|
+
*
|
|
208
|
+
* The ring is not painted either: the badge's mask cuts a hole the size of the
|
|
209
|
+
* dot plus the ring, so the item's real surface (rest, hover, active, layout
|
|
210
|
+
* patterns, light or dark) shows through it. --nav-badge-dot-ring-color paints
|
|
211
|
+
* it instead when a consumer wants an explicit color. */
|
|
212
|
+
[data-navigation-badge-indicator='dot']
|
|
213
|
+
:is(.nav-trigger, [data-navigation-flyout-tab], [data-navigation-flyout-entry]):has(
|
|
214
|
+
> [data-navigation-chevron]
|
|
215
|
+
):has([data-navigation-badge])
|
|
216
|
+
> [data-navigation-chevron] {
|
|
217
|
+
/* The Icon carries a display utility, and @layer utilities outranks this
|
|
218
|
+
* layer however specific the selector is. */
|
|
219
|
+
display: none !important;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
[data-navigation-badge-indicator='dot']
|
|
223
|
+
:is(.nav-trigger, [data-navigation-flyout-tab], [data-navigation-flyout-entry]):has(
|
|
224
|
+
> [data-navigation-chevron]
|
|
225
|
+
)
|
|
226
|
+
[data-navigation-badge-slot] {
|
|
227
|
+
--nav-badge-dot-radius: calc(var(--nav-badge-dot-size) / 2);
|
|
228
|
+
--nav-badge-dot-center: calc(var(--nav-badge-dot-offset) + var(--nav-badge-dot-radius));
|
|
229
|
+
/* The slot takes over the badge's place in the row. `contents` is a
|
|
230
|
+
* utility, so only an important declaration in this earlier layer wins. */
|
|
231
|
+
display: inline-flex !important;
|
|
232
|
+
position: relative;
|
|
233
|
+
flex-shrink: 0;
|
|
234
|
+
align-self: center;
|
|
235
|
+
margin-inline-start: auto;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
[data-navigation-badge-indicator='dot']
|
|
239
|
+
:is(.nav-trigger, [data-navigation-flyout-tab], [data-navigation-flyout-entry]):has(
|
|
240
|
+
> [data-navigation-chevron]
|
|
241
|
+
)
|
|
242
|
+
[data-navigation-badge] {
|
|
243
|
+
--nav-badge-dot-hole: calc(var(--nav-badge-dot-radius) + var(--nav-badge-dot-ring));
|
|
244
|
+
--nav-badge-dot-mask: radial-gradient(
|
|
245
|
+
circle at calc(100% - var(--nav-badge-dot-center)) calc(100% - var(--nav-badge-dot-center)),
|
|
246
|
+
transparent var(--nav-badge-dot-hole),
|
|
247
|
+
#000 var(--nav-badge-dot-hole)
|
|
248
|
+
);
|
|
249
|
+
-webkit-mask-image: var(--nav-badge-dot-mask);
|
|
250
|
+
mask-image: var(--nav-badge-dot-mask);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/* Closed: a filled dot. */
|
|
254
|
+
[data-navigation-badge-indicator='dot']
|
|
255
|
+
:is(.nav-trigger, [data-navigation-flyout-tab], [data-navigation-flyout-entry]):has(
|
|
256
|
+
> [data-navigation-chevron]
|
|
257
|
+
)
|
|
258
|
+
[data-navigation-badge-slot]::after {
|
|
259
|
+
content: '';
|
|
260
|
+
position: absolute;
|
|
261
|
+
right: var(--nav-badge-dot-offset);
|
|
262
|
+
bottom: var(--nav-badge-dot-offset);
|
|
263
|
+
box-sizing: border-box;
|
|
264
|
+
width: var(--nav-badge-dot-size);
|
|
265
|
+
height: var(--nav-badge-dot-size);
|
|
266
|
+
border-radius: 9999px;
|
|
267
|
+
border: var(--nav-badge-dot-stroke) solid var(--nav-badge-dot-color);
|
|
268
|
+
background-color: var(--nav-badge-dot-color);
|
|
269
|
+
box-shadow: 0 0 0 var(--nav-badge-dot-ring) var(--nav-badge-dot-ring-color);
|
|
270
|
+
pointer-events: none;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/* Open: an outlined dot. The badge's hole already spans the dot, so the
|
|
274
|
+
* hollow shows the item surface rather than the badge fill behind it. */
|
|
275
|
+
[data-navigation-badge-indicator='dot']
|
|
276
|
+
:is(
|
|
277
|
+
.nav-trigger,
|
|
278
|
+
[data-navigation-flyout-tab],
|
|
279
|
+
[data-navigation-flyout-entry]
|
|
280
|
+
)[aria-expanded='true']:has(> [data-navigation-chevron])
|
|
281
|
+
[data-navigation-badge-slot]::after {
|
|
282
|
+
background-color: transparent;
|
|
283
|
+
}
|
|
284
|
+
|
|
195
285
|
/* Modal overlay backdrop shared by Dialog, Sheet, and Drawer. The element is
|
|
196
286
|
* rendered inside the CDK overlay container (outside component view
|
|
197
287
|
* encapsulation), so its styles must live in this global layer. The default
|
|
@@ -152,6 +152,19 @@
|
|
|
152
152
|
--nav-count-padding: var(--spacing-base);
|
|
153
153
|
--nav-count-offset: calc(var(--spacing-base) * -2);
|
|
154
154
|
--nav-count-font-size: calc(var(--font-size-base) * 0.625);
|
|
155
|
+
/* Navigation[badge-indicator='dot']: the open/closed dot pinned to the count
|
|
156
|
+
* badge's bottom-right corner. Size and offset ride --spacing-base so the dot
|
|
157
|
+
* keeps its place on the badge at every density; ring and stroke are hairlines.
|
|
158
|
+
* The color is the item's own text color in its current state (currentColor
|
|
159
|
+
* resolves where the dot is painted, inside the item). The ring is a
|
|
160
|
+
* transparent cutout, so it always shows the item's own surface; a ring
|
|
161
|
+
* color paints over that cutout when a consumer sets one. */
|
|
162
|
+
--nav-badge-dot-size: calc(var(--spacing-base) * 1.75); /* 7px @ normal */
|
|
163
|
+
--nav-badge-dot-offset: calc(var(--spacing-base) * -0.5); /* -2px @ normal */
|
|
164
|
+
--nav-badge-dot-color: currentColor;
|
|
165
|
+
--nav-badge-dot-ring: 1.5px;
|
|
166
|
+
--nav-badge-dot-ring-color: transparent;
|
|
167
|
+
--nav-badge-dot-stroke: 1.5px;
|
|
155
168
|
/* Item subtitles/descriptions — a quiet 12px tier under labels. */
|
|
156
169
|
--nav-subtitle-size: calc(var(--font-size-base) * 0.75);
|
|
157
170
|
--nav-subtitle-line-height: 1.35;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
1
4
|
import { ChartDatum, ChartMargin, ChartOrientation, ChartPointClickEvent, ChartStyleVariant } from "@ojiepermana/angular/chart/core";
|
|
2
5
|
import { scaleBand, scaleLinear } from "d3-scale";
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
1
4
|
import { AreaLayoutInput, AreaLayoutResult, CartesianBase, ChartMargin, ChartOrientation, ChartPointClickEvent, LineCurve, LineCurve as LineCurve$1, LineLayoutResult, LinePoint, LinePoint as LinePoint$1, LineSeriesPath, LineSeriesPath as LineSeriesPath$1, buildCartesianScales, cloneLinear, computeAreaLayout, computeLineLayout, pointToBandAdapter, provideCartesianFromLineLayout } from "@ojiepermana/angular/chart/core";
|
|
2
5
|
import * as i0 from "@angular/core";
|
|
3
6
|
/** Emitted when a data point is activated (click or keyboard). */
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
1
4
|
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
5
|
import { ChartAxisX, ChartAxisY, ChartBrush, ChartCrosshair, ChartGrid, ChartLegend, ChartPointerTracker, ChartTooltip, ChartTooltipIndicator, ChartTooltipLabelFormatter, ChartTooltipPayload, ChartTooltipRow, ChartTooltipValueFormatter, ChartZoomControls, PieCenter, RadialCenter } from "@ojiepermana/angular/chart/primitives";
|
|
3
6
|
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,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
1
4
|
import * as i1 from "@ojiepermana/angular/component/utils/scale";
|
|
2
5
|
import { ComponentScaleDirective } from "@ojiepermana/angular/component/utils/scale";
|
|
3
6
|
import { DialogBackdrop } from "@ojiepermana/angular/component/dialog";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
1
4
|
import * as i0 from "@angular/core";
|
|
2
5
|
import { AfterViewInit } from "@angular/core";
|
|
3
6
|
import { ControlValueAccessor } from "@angular/forms";
|
|
@@ -137,17 +140,21 @@ export declare class ComposerInputComponent {
|
|
|
137
140
|
export declare class ComposerTextareaComponent implements AfterViewInit, ControlValueAccessor {
|
|
138
141
|
private readonly el;
|
|
139
142
|
private readonly composer;
|
|
143
|
+
private readonly destroyRef;
|
|
144
|
+
protected readonly nativeAutosize: boolean;
|
|
140
145
|
readonly rows: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
141
146
|
readonly maxRows: import("@angular/core").InputSignalWithTransform<number | null, unknown>;
|
|
142
147
|
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
143
148
|
readonly invalidInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
144
149
|
readonly class: import("@angular/core").InputSignal<string>;
|
|
150
|
+
protected readonly maxBlockSize: import("@angular/core").Signal<string | null>;
|
|
145
151
|
private readonly disabledState;
|
|
146
152
|
protected readonly disabled: import("@angular/core").Signal<boolean>;
|
|
147
153
|
protected readonly invalid: import("@angular/core").Signal<boolean>;
|
|
148
154
|
protected readonly classes: import("@angular/core").Signal<string>;
|
|
149
155
|
private onChange;
|
|
150
156
|
private onTouched;
|
|
157
|
+
constructor();
|
|
151
158
|
ngAfterViewInit(): void;
|
|
152
159
|
writeValue(value: string | null): void;
|
|
153
160
|
registerOnChange(fn: (value: string) => void): void;
|
|
@@ -158,7 +165,7 @@ export declare class ComposerTextareaComponent implements AfterViewInit, Control
|
|
|
158
165
|
protected handleInput(): void;
|
|
159
166
|
protected handleBlur(): void;
|
|
160
167
|
protected handleKeydown(event: KeyboardEvent): void;
|
|
161
|
-
private
|
|
168
|
+
private observeSize;
|
|
162
169
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComposerTextareaComponent, never>;
|
|
163
170
|
static ɵcmp: i0.ɵɵComponentDeclaration<ComposerTextareaComponent, "textarea[ComposerInput]", never, {
|
|
164
171
|
"rows": {
|