@ojiepermana/angular 22.1.11 → 22.1.12
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 +32 -26
- package/chart/README.md +272 -0
- package/component/README.md +89 -0
- package/component/accordion/README.md +195 -0
- package/component/alert/README.md +184 -0
- package/component/alert-dialog/README.md +255 -0
- package/component/aspect-ratio/README.md +116 -0
- package/component/avatar/README.md +182 -0
- package/component/badge/README.md +143 -0
- package/component/breadcrumb/README.md +223 -0
- package/component/button/README.md +141 -0
- package/component/button-group/README.md +214 -0
- package/component/calendar/README.md +137 -0
- package/component/card/README.md +232 -0
- package/component/carousel/README.md +276 -0
- package/component/checkbox/README.md +153 -0
- package/component/collapsible/README.md +216 -0
- package/component/combobox/README.md +202 -0
- package/component/command/README.md +287 -0
- package/component/composer/README.md +241 -0
- package/component/context-menu/README.md +268 -0
- package/component/date-picker/README.md +202 -0
- package/component/dialog/README.md +276 -0
- package/component/drawer/README.md +147 -0
- package/component/dropdown-menu/README.md +336 -0
- package/component/editor/README.md +152 -0
- package/component/empty/README.md +193 -0
- package/component/form/README.md +216 -0
- package/component/hover-card/README.md +150 -0
- package/component/icon/README.md +25 -0
- package/component/input/README.md +160 -0
- package/component/input-group/README.md +245 -0
- package/component/input-otp/README.md +331 -0
- package/component/item/README.md +254 -0
- package/component/kanban/README.md +81 -0
- package/component/kbd/README.md +141 -0
- package/component/label/README.md +137 -0
- package/component/menubar/README.md +270 -0
- package/component/native-select/README.md +176 -0
- package/component/navigation-menu/README.md +165 -0
- package/component/pagination/README.md +151 -0
- package/component/pillbox/README.md +68 -0
- package/component/popover/README.md +54 -0
- package/component/progress/README.md +160 -0
- package/component/radio/README.md +212 -0
- package/component/resizable/README.md +178 -0
- package/component/scroll-area/README.md +150 -0
- package/component/select/README.md +228 -0
- package/component/separator/README.md +175 -0
- package/component/sheet/README.md +190 -0
- package/component/skeleton/README.md +158 -0
- package/component/slider/README.md +207 -0
- package/component/spinner/README.md +160 -0
- package/component/switch/README.md +170 -0
- package/component/table/README.md +292 -0
- package/component/tabs/README.md +220 -0
- package/component/textarea/README.md +169 -0
- package/component/timeline/README.md +94 -0
- package/component/toast/README.md +173 -0
- package/component/toggle/README.md +133 -0
- package/component/toggle-group/README.md +234 -0
- package/component/tooltip/README.md +230 -0
- package/fesm2022/ojiepermana-angular-chart-area.mjs +289 -3
- package/fesm2022/ojiepermana-angular-chart-bar.mjs +722 -3
- package/fesm2022/ojiepermana-angular-chart-core.mjs +1482 -3
- package/fesm2022/ojiepermana-angular-chart-line.mjs +294 -3
- package/fesm2022/ojiepermana-angular-chart-pie.mjs +291 -3
- package/fesm2022/ojiepermana-angular-chart-primitives.mjs +1301 -3
- package/fesm2022/ojiepermana-angular-chart-radar.mjs +421 -3
- package/fesm2022/ojiepermana-angular-chart-radial.mjs +295 -3
- package/fesm2022/ojiepermana-angular-chart-scatter.mjs +306 -3
- package/fesm2022/ojiepermana-angular-chart.mjs +12 -3
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +267 -3
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +359 -3
- package/fesm2022/ojiepermana-angular-component-alert.mjs +101 -3
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +31 -3
- package/fesm2022/ojiepermana-angular-component-avatar.mjs +139 -3
- package/fesm2022/ojiepermana-angular-component-badge.mjs +57 -3
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +192 -3
- package/fesm2022/ojiepermana-angular-component-button-group.mjs +95 -3
- package/fesm2022/ojiepermana-angular-component-button.mjs +73 -3
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +718 -3
- package/fesm2022/ojiepermana-angular-component-card.mjs +167 -3
- package/fesm2022/ojiepermana-angular-component-carousel.mjs +326 -3
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs +190 -3
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs +117 -3
- package/fesm2022/ojiepermana-angular-component-combobox.mjs +327 -3
- package/fesm2022/ojiepermana-angular-component-command.mjs +351 -3
- package/fesm2022/ojiepermana-angular-component-composer.mjs +359 -3
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs +158 -3
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs +482 -3
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +400 -3
- package/fesm2022/ojiepermana-angular-component-drawer.mjs +1 -3
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +689 -3
- package/fesm2022/ojiepermana-angular-component-editor.mjs +511 -3
- package/fesm2022/ojiepermana-angular-component-empty.mjs +134 -3
- package/fesm2022/ojiepermana-angular-component-form.mjs +438 -3
- package/fesm2022/ojiepermana-angular-component-hover-card.mjs +273 -3
- package/fesm2022/ojiepermana-angular-component-icon.mjs +139 -3
- package/fesm2022/ojiepermana-angular-component-input-group.mjs +176 -3
- package/fesm2022/ojiepermana-angular-component-input-otp.mjs +550 -3
- package/fesm2022/ojiepermana-angular-component-input.mjs +52 -3
- package/fesm2022/ojiepermana-angular-component-item.mjs +264 -3
- package/fesm2022/ojiepermana-angular-component-kanban.mjs +310 -3
- package/fesm2022/ojiepermana-angular-component-kbd.mjs +48 -3
- package/fesm2022/ojiepermana-angular-component-label.mjs +27 -3
- package/fesm2022/ojiepermana-angular-component-menubar.mjs +327 -3
- package/fesm2022/ojiepermana-angular-component-native-select.mjs +62 -3
- package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +378 -3
- package/fesm2022/ojiepermana-angular-component-pagination.mjs +238 -3
- package/fesm2022/ojiepermana-angular-component-pillbox.mjs +999 -3
- package/fesm2022/ojiepermana-angular-component-popover.mjs +201 -3
- package/fesm2022/ojiepermana-angular-component-progress.mjs +57 -3
- package/fesm2022/ojiepermana-angular-component-radio.mjs +180 -3
- package/fesm2022/ojiepermana-angular-component-resizable.mjs +493 -3
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +51 -3
- package/fesm2022/ojiepermana-angular-component-segmented-control.mjs +227 -3
- package/fesm2022/ojiepermana-angular-component-select.mjs +609 -3
- package/fesm2022/ojiepermana-angular-component-separator.mjs +31 -3
- package/fesm2022/ojiepermana-angular-component-sheet.mjs +407 -3
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs +25 -3
- package/fesm2022/ojiepermana-angular-component-slider.mjs +456 -3
- package/fesm2022/ojiepermana-angular-component-spinner.mjs +56 -3
- package/fesm2022/ojiepermana-angular-component-switch.mjs +145 -3
- package/fesm2022/ojiepermana-angular-component-table.mjs +155 -3
- package/fesm2022/ojiepermana-angular-component-tabs.mjs +315 -3
- package/fesm2022/ojiepermana-angular-component-textarea.mjs +46 -3
- package/fesm2022/ojiepermana-angular-component-timeline.mjs +237 -3
- package/fesm2022/ojiepermana-angular-component-toast.mjs +241 -3
- package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +290 -3
- package/fesm2022/ojiepermana-angular-component-toggle.mjs +76 -3
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +519 -3
- package/fesm2022/ojiepermana-angular-component-utils-core.mjs +310 -3
- package/fesm2022/ojiepermana-angular-component-utils-overlay.mjs +62 -3
- package/fesm2022/ojiepermana-angular-component-utils-scale.mjs +34 -3
- package/fesm2022/ojiepermana-angular-component-utils.mjs +3 -2
- package/fesm2022/ojiepermana-angular-component.mjs +4 -4
- package/fesm2022/ojiepermana-angular-navigation-core.mjs +21 -3
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs +20 -3
- package/fesm2022/ojiepermana-angular-navigation-navigation-badge-count.component-CDBxQ8rk.mjs +91 -0
- package/fesm2022/ojiepermana-angular-navigation-navigation-dockbar-menu.component-DBQHdvGa.mjs +512 -0
- package/fesm2022/ojiepermana-angular-navigation-navigation-entry-grid.component-Cd-jh6tg.mjs +623 -0
- package/fesm2022/ojiepermana-angular-navigation-navigation-flyout-menu.component-BCGvhoYj.mjs +404 -0
- package/fesm2022/ojiepermana-angular-navigation-navigation-horizontal.component-Dk_03e-6.mjs +466 -0
- package/fesm2022/ojiepermana-angular-navigation-ojiepermana-angular-navigation-DNKU6viC.mjs +2642 -0
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +725 -3
- package/fesm2022/ojiepermana-angular-navigation-types.mjs +65 -4
- package/fesm2022/ojiepermana-angular-navigation.mjs +4 -10
- package/fesm2022/ojiepermana-angular-sdk.mjs +204 -4
- package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +1387 -3
- package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +331 -3
- package/fesm2022/ojiepermana-angular-theme-layout-types.mjs +45 -4
- package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +1044 -3
- package/fesm2022/ojiepermana-angular-theme-layout.mjs +729 -3
- package/fesm2022/ojiepermana-angular-theme-page-core.mjs +381 -3
- package/fesm2022/ojiepermana-angular-theme-page-filter.mjs +267 -3
- package/fesm2022/ojiepermana-angular-theme-page-root.mjs +361 -3
- package/fesm2022/ojiepermana-angular-theme-page-side.mjs +198 -3
- package/fesm2022/ojiepermana-angular-theme-page-slots.mjs +110 -3
- package/fesm2022/ojiepermana-angular-theme-page.mjs +7 -2
- package/fesm2022/ojiepermana-angular-theme-shell-services.mjs +338 -3
- package/fesm2022/ojiepermana-angular-theme-shell-types.mjs +160 -4
- package/fesm2022/ojiepermana-angular-theme-shell.mjs +811 -3
- package/fesm2022/ojiepermana-angular-theme-styles.mjs +783 -3
- package/fesm2022/ojiepermana-angular-theme.mjs +4 -4
- package/fesm2022/ojiepermana-angular.mjs +6 -11
- package/navigation/README.md +374 -0
- package/package.json +81 -20
- package/sdk/README.md +212 -0
- package/sdk/schematics/collection.json +20 -0
- package/sdk/schematics/init/index.js +83 -0
- package/sdk/schematics/init/schema.json +19 -0
- package/sdk/schematics/ng-add/index.js +147 -0
- package/sdk/schematics/ng-add/schema.json +14 -0
- package/sdk/schematics/package.json +3 -0
- package/sdk/schematics/sdk/index.js +175 -0
- package/sdk/schematics/sdk/schema.json +19 -0
- package/sdk/sdk.config.example.json +24 -0
- package/sdk/src/config/loader.js +43 -0
- package/sdk/src/config/schema.js +59 -0
- package/sdk/src/emit/client.js +251 -0
- package/sdk/src/emit/metadata.js +310 -0
- package/sdk/src/emit/models.js +104 -0
- package/sdk/src/emit/navigation.js +56 -0
- package/sdk/src/emit/operations.js +118 -0
- package/sdk/src/emit/public-api.js +54 -0
- package/sdk/src/emit/services.js +110 -0
- package/sdk/src/engine.js +67 -0
- package/sdk/src/layout/per-domain.js +360 -0
- package/sdk/src/package.json +3 -0
- package/sdk/src/parser/bundle.js +25 -0
- package/sdk/src/parser/ir.js +429 -0
- package/sdk/src/parser/types.js +7 -0
- package/sdk/src/render/template.js +152 -0
- package/sdk/src/writer/index.js +286 -0
- package/theme/README.md +126 -0
- package/theme/component/settings/README.md +135 -0
- package/theme/layout/README.md +539 -0
- package/theme/page/README.md +453 -0
- package/theme/shell/README.md +340 -0
- package/theme/styles/README.md +178 -0
- package/theme/styles/css/base/components.css +553 -0
- package/theme/styles/css/base/index.css +14 -0
- package/theme/styles/css/base/package.css +9 -0
- package/theme/styles/css/base/prefers-dark.css +86 -0
- package/theme/styles/css/base/print.css +62 -0
- package/theme/styles/css/base/status.css +38 -0
- package/theme/styles/css/base/tailwind.css +165 -0
- package/theme/styles/css/base/theme.css +373 -0
- package/theme/styles/css/base/tokens.css +361 -0
- package/theme/styles/css/color/amber.css +72 -0
- package/theme/styles/css/color/blue.css +72 -0
- package/theme/styles/css/color/brand.css +38 -0
- package/theme/styles/css/color/cyan.css +72 -0
- package/theme/styles/css/color/emerald.css +72 -0
- package/theme/styles/css/color/fuchsia.css +72 -0
- package/theme/styles/css/color/green.css +72 -0
- package/theme/styles/css/color/index.css +19 -0
- package/theme/styles/css/color/indigo.css +72 -0
- package/theme/styles/css/color/lime.css +72 -0
- package/theme/styles/css/color/orange.css +72 -0
- package/theme/styles/css/color/pink.css +72 -0
- package/theme/styles/css/color/purple.css +72 -0
- package/theme/styles/css/color/red.css +72 -0
- package/theme/styles/css/color/rose.css +72 -0
- package/theme/styles/css/color/sky.css +72 -0
- package/theme/styles/css/color/teal.css +72 -0
- package/theme/styles/css/color/violet.css +72 -0
- package/theme/styles/css/color/yellow.css +72 -0
- package/theme/styles/css/index.css +18 -0
- package/theme/styles/css/neutral/gray.css +63 -0
- package/theme/styles/css/neutral/index.css +11 -0
- package/theme/styles/css/neutral/mauve.css +63 -0
- package/theme/styles/css/neutral/mist.css +63 -0
- package/theme/styles/css/neutral/neutral.css +63 -0
- package/theme/styles/css/neutral/olive.css +63 -0
- package/theme/styles/css/neutral/slate.css +63 -0
- package/theme/styles/css/neutral/stone.css +63 -0
- package/theme/styles/css/neutral/taupe.css +63 -0
- package/theme/styles/css/neutral/zinc.css +63 -0
- package/theme/styles/css/radius/index.css +30 -0
- package/theme/styles/css/space/index.css +20 -0
- package/types/ojiepermana-angular-chart-area.d.ts +76 -1
- package/types/ojiepermana-angular-chart-bar.d.ts +201 -1
- package/types/ojiepermana-angular-chart-core.d.ts +811 -1
- package/types/ojiepermana-angular-chart-line.d.ts +75 -1
- package/types/ojiepermana-angular-chart-pie.d.ts +131 -1
- package/types/ojiepermana-angular-chart-primitives.d.ts +291 -1
- package/types/ojiepermana-angular-chart-radar.d.ts +116 -1
- package/types/ojiepermana-angular-chart-radial.d.ts +116 -1
- package/types/ojiepermana-angular-chart-scatter.d.ts +125 -1
- package/types/ojiepermana-angular-chart.d.ts +2 -1
- package/types/ojiepermana-angular-component-accordion.d.ts +85 -1
- package/types/ojiepermana-angular-component-alert-dialog.d.ts +140 -1
- package/types/ojiepermana-angular-component-alert.d.ts +42 -1
- package/types/ojiepermana-angular-component-aspect-ratio.d.ts +12 -1
- package/types/ojiepermana-angular-component-avatar.d.ts +56 -1
- package/types/ojiepermana-angular-component-badge.d.ts +24 -1
- package/types/ojiepermana-angular-component-breadcrumb.d.ts +46 -1
- package/types/ojiepermana-angular-component-button-group.d.ts +26 -1
- package/types/ojiepermana-angular-component-button.d.ts +27 -1
- package/types/ojiepermana-angular-component-calendar.d.ts +111 -1
- package/types/ojiepermana-angular-component-card.d.ts +69 -1
- package/types/ojiepermana-angular-component-carousel.d.ts +86 -1
- package/types/ojiepermana-angular-component-checkbox.d.ts +42 -1
- package/types/ojiepermana-angular-component-collapsible.d.ts +42 -1
- package/types/ojiepermana-angular-component-combobox.d.ts +60 -1
- package/types/ojiepermana-angular-component-command.d.ts +130 -1
- package/types/ojiepermana-angular-component-composer.d.ts +90 -1
- package/types/ojiepermana-angular-component-context-menu.d.ts +54 -1
- package/types/ojiepermana-angular-component-date-picker.d.ts +109 -1
- package/types/ojiepermana-angular-component-dialog.d.ts +136 -1
- package/types/ojiepermana-angular-component-drawer.d.ts +1 -1
- package/types/ojiepermana-angular-component-dropdown-menu.d.ts +248 -1
- package/types/ojiepermana-angular-component-editor.d.ts +135 -1
- package/types/ojiepermana-angular-component-empty.d.ts +50 -1
- package/types/ojiepermana-angular-component-form.d.ts +159 -1
- package/types/ojiepermana-angular-component-hover-card.d.ts +75 -1
- package/types/ojiepermana-angular-component-icon.d.ts +89 -1
- package/types/ojiepermana-angular-component-input-group.d.ts +51 -1
- package/types/ojiepermana-angular-component-input-otp.d.ts +155 -1
- package/types/ojiepermana-angular-component-input.d.ts +21 -1
- package/types/ojiepermana-angular-component-item.d.ts +93 -1
- package/types/ojiepermana-angular-component-kanban.d.ts +70 -1
- package/types/ojiepermana-angular-component-kbd.d.ts +16 -1
- package/types/ojiepermana-angular-component-label.d.ts +11 -1
- package/types/ojiepermana-angular-component-menubar.d.ts +93 -1
- package/types/ojiepermana-angular-component-native-select.d.ts +26 -1
- package/types/ojiepermana-angular-component-navigation-menu.d.ts +104 -1
- package/types/ojiepermana-angular-component-pagination.d.ts +33 -1
- package/types/ojiepermana-angular-component-pillbox.d.ts +222 -1
- package/types/ojiepermana-angular-component-popover.d.ts +66 -1
- package/types/ojiepermana-angular-component-progress.d.ts +17 -1
- package/types/ojiepermana-angular-component-radio.d.ts +60 -1
- package/types/ojiepermana-angular-component-resizable.d.ts +117 -1
- package/types/ojiepermana-angular-component-scroll-area.d.ts +19 -1
- package/types/ojiepermana-angular-component-segmented-control.d.ts +58 -1
- package/types/ojiepermana-angular-component-select.d.ts +122 -1
- package/types/ojiepermana-angular-component-separator.d.ts +14 -1
- package/types/ojiepermana-angular-component-sheet.d.ts +130 -1
- package/types/ojiepermana-angular-component-skeleton.d.ts +10 -1
- package/types/ojiepermana-angular-component-slider.d.ts +83 -1
- package/types/ojiepermana-angular-component-spinner.d.ts +13 -1
- package/types/ojiepermana-angular-component-switch.d.ts +44 -1
- package/types/ojiepermana-angular-component-table.d.ts +57 -1
- package/types/ojiepermana-angular-component-tabs.d.ts +124 -1
- package/types/ojiepermana-angular-component-textarea.d.ts +17 -1
- package/types/ojiepermana-angular-component-timeline.d.ts +64 -1
- package/types/ojiepermana-angular-component-toast.d.ts +64 -1
- package/types/ojiepermana-angular-component-toggle-group.d.ts +90 -1
- package/types/ojiepermana-angular-component-toggle.d.ts +25 -1
- package/types/ojiepermana-angular-component-tooltip.d.ts +143 -1
- package/types/ojiepermana-angular-component-utils-core.d.ts +184 -1
- package/types/ojiepermana-angular-component-utils-overlay.d.ts +21 -1
- package/types/ojiepermana-angular-component-utils-scale.d.ts +19 -1
- package/types/ojiepermana-angular-component-utils.d.ts +2 -1
- package/types/ojiepermana-angular-component.d.ts +2 -1
- package/types/ojiepermana-angular-navigation-core.d.ts +59 -1
- package/types/ojiepermana-angular-navigation-icon.d.ts +12 -1
- package/types/ojiepermana-angular-navigation-service.d.ts +116 -1
- package/types/ojiepermana-angular-navigation-types.d.ts +144 -1
- package/types/ojiepermana-angular-navigation.d.ts +507 -1
- package/types/ojiepermana-angular-sdk.d.ts +89 -1
- package/types/ojiepermana-angular-theme-component-settings.d.ts +154 -1
- package/types/ojiepermana-angular-theme-layout-services.d.ts +147 -1
- package/types/ojiepermana-angular-theme-layout-types.d.ts +40 -1
- package/types/ojiepermana-angular-theme-layout-wrapper.d.ts +299 -1
- package/types/ojiepermana-angular-theme-layout.d.ts +129 -1
- package/types/ojiepermana-angular-theme-page-core.d.ts +157 -1
- package/types/ojiepermana-angular-theme-page-filter.d.ts +77 -1
- package/types/ojiepermana-angular-theme-page-root.d.ts +88 -1
- package/types/ojiepermana-angular-theme-page-side.d.ts +50 -1
- package/types/ojiepermana-angular-theme-page-slots.d.ts +40 -1
- package/types/ojiepermana-angular-theme-page.d.ts +5 -1
- package/types/ojiepermana-angular-theme-shell-services.d.ts +193 -1
- package/types/ojiepermana-angular-theme-shell-types.d.ts +105 -1
- package/types/ojiepermana-angular-theme-shell.d.ts +100 -1
- package/types/ojiepermana-angular-theme-styles.d.ts +319 -1
- package/types/ojiepermana-angular-theme.d.ts +2 -1
- package/types/ojiepermana-angular.d.ts +5 -5
|
@@ -1 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class SpinnerComponent {
|
|
4
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
5
|
+
readonly decorative: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
6
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
7
|
+
readonly ariaLabelledby: _angular_core.InputSignal<string | null>;
|
|
8
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
9
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
10
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpinnerComponent, "Spinner", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "decorative": { "alias": "decorative"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { SpinnerComponent };
|
|
@@ -1 +1,44 @@
|
|
|
1
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
|
|
4
|
+
type SwitchSize = 'default' | 'sm';
|
|
5
|
+
/**
|
|
6
|
+
* Switch built on a native `<input type="checkbox" role="switch">` (shadcn
|
|
7
|
+
* pattern) — no Material dependency.
|
|
8
|
+
*/
|
|
9
|
+
declare class SwitchComponent implements ControlValueAccessor {
|
|
10
|
+
readonly id: _angular_core.InputSignal<string>;
|
|
11
|
+
readonly name: _angular_core.InputSignal<string | null>;
|
|
12
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
13
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
14
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
15
|
+
readonly ariaDescribedby: _angular_core.InputSignal<string | null>;
|
|
16
|
+
readonly ariaLabelledby: _angular_core.InputSignal<string | null>;
|
|
17
|
+
readonly ariaInvalid: _angular_core.InputSignal<string | boolean | null>;
|
|
18
|
+
readonly size: _angular_core.InputSignal<SwitchSize>;
|
|
19
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
20
|
+
readonly checkedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
21
|
+
private readonly ref;
|
|
22
|
+
protected readonly checked: _angular_core.WritableSignal<boolean>;
|
|
23
|
+
protected readonly disabledState: _angular_core.WritableSignal<boolean>;
|
|
24
|
+
protected readonly ariaInvalidAttr: _angular_core.Signal<string | null>;
|
|
25
|
+
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
26
|
+
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
27
|
+
protected readonly labelClasses: _angular_core.Signal<string>;
|
|
28
|
+
protected readonly trackClasses: _angular_core.Signal<string>;
|
|
29
|
+
protected readonly thumbClasses: _angular_core.Signal<string>;
|
|
30
|
+
private onChange;
|
|
31
|
+
private onTouched;
|
|
32
|
+
protected handleChange(event: Event): void;
|
|
33
|
+
protected handleBlur(): void;
|
|
34
|
+
focus(): void;
|
|
35
|
+
writeValue(v: boolean): void;
|
|
36
|
+
registerOnChange(fn: (v: boolean) => void): void;
|
|
37
|
+
registerOnTouched(fn: () => void): void;
|
|
38
|
+
setDisabledState(d: boolean): void;
|
|
39
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
40
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitchComponent, "Switch", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "ariaInvalid": { "alias": "aria-invalid"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, { "checkedChange": "checkedChange"; }, never, ["*"], true, never>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { SwitchComponent };
|
|
44
|
+
export type { SwitchSize };
|
|
@@ -1 +1,57 @@
|
|
|
1
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import * as i1 from '@ojiepermana/angular/component/utils/scale';
|
|
3
|
+
import { ComponentScaleDirective } from '@ojiepermana/angular/component/utils/scale';
|
|
4
|
+
|
|
5
|
+
declare class TableComponent {
|
|
6
|
+
protected readonly componentScale: ComponentScaleDirective;
|
|
7
|
+
readonly radius: _angular_core.InputSignal<"inherit" | "none" | "xs" | "sm" | "md" | "xl" | "full">;
|
|
8
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
9
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
10
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
11
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
12
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent, "Table", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.ComponentScaleDirective; inputs: { "radius": "radius"; "density": "density"; }; outputs: {}; }]>;
|
|
13
|
+
}
|
|
14
|
+
declare class TableHeaderComponent {
|
|
15
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
16
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
17
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableHeaderComponent, never>;
|
|
18
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableHeaderComponent, "thead[TableHeader]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
19
|
+
}
|
|
20
|
+
declare class TableBodyComponent {
|
|
21
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
22
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
23
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableBodyComponent, never>;
|
|
24
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableBodyComponent, "tbody[TableBody]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
25
|
+
}
|
|
26
|
+
declare class TableFooterComponent {
|
|
27
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
28
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
29
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableFooterComponent, never>;
|
|
30
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableFooterComponent, "tfoot[TableFooter]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
31
|
+
}
|
|
32
|
+
declare class TableRowComponent {
|
|
33
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
34
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
35
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRowComponent, never>;
|
|
36
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableRowComponent, "tr[TableRow]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
37
|
+
}
|
|
38
|
+
declare class TableHeadComponent {
|
|
39
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
40
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
41
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableHeadComponent, never>;
|
|
42
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableHeadComponent, "th[TableHead]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
43
|
+
}
|
|
44
|
+
declare class TableCellComponent {
|
|
45
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
46
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
47
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableCellComponent, never>;
|
|
48
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableCellComponent, "td[TableCell]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
49
|
+
}
|
|
50
|
+
declare class TableCaptionComponent {
|
|
51
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
52
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
53
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableCaptionComponent, never>;
|
|
54
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableCaptionComponent, "caption[TableCaption]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export { TableBodyComponent, TableCaptionComponent, TableCellComponent, TableComponent, TableFooterComponent, TableHeadComponent, TableHeaderComponent, TableRowComponent };
|
|
@@ -1 +1,124 @@
|
|
|
1
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { model, Signal, OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import * as i1 from '@ojiepermana/angular/component/utils/scale';
|
|
4
|
+
import { ComponentScaleDirective } from '@ojiepermana/angular/component/utils/scale';
|
|
5
|
+
|
|
6
|
+
type TabsListVariant = 'default' | 'line';
|
|
7
|
+
/**
|
|
8
|
+
* Shared state for a tabs group. Children read the active value and register
|
|
9
|
+
* themselves so the group can drive roving-tabindex keyboard navigation.
|
|
10
|
+
*/
|
|
11
|
+
declare abstract class TabsContextBase {
|
|
12
|
+
abstract value: ReturnType<typeof model<string | null>>;
|
|
13
|
+
abstract effectiveValue: Signal<string | null>;
|
|
14
|
+
abstract register(element: HTMLElement, value: () => string, disabled: () => boolean): void;
|
|
15
|
+
abstract unregister(element: HTMLElement): void;
|
|
16
|
+
abstract activate(value: string, focus?: boolean): void;
|
|
17
|
+
abstract tabIndexFor(element: HTMLElement): number;
|
|
18
|
+
abstract focusNext(from: HTMLElement, offset: number): void;
|
|
19
|
+
abstract focusFirst(): void;
|
|
20
|
+
abstract focusLast(): void;
|
|
21
|
+
abstract triggerId(value: string): string;
|
|
22
|
+
abstract contentId(value: string): string;
|
|
23
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsContextBase, never>;
|
|
24
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TabsContextBase, never, never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
26
|
+
declare abstract class TabsListContextBase {
|
|
27
|
+
abstract listVariant(): TabsListVariant;
|
|
28
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsListContextBase, never>;
|
|
29
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TabsListContextBase, never, never, {}, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
31
|
+
declare class TabsComponent extends TabsContextBase {
|
|
32
|
+
protected readonly componentScale: ComponentScaleDirective;
|
|
33
|
+
readonly radius: _angular_core.InputSignal<"inherit" | "none" | "xs" | "sm" | "md" | "xl" | "full">;
|
|
34
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
35
|
+
readonly value: _angular_core.ModelSignal<string | null>;
|
|
36
|
+
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
37
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
38
|
+
private readonly idPrefix;
|
|
39
|
+
private readonly triggers;
|
|
40
|
+
/**
|
|
41
|
+
* The value the group actually renders.
|
|
42
|
+
*
|
|
43
|
+
* A group whose `value` is empty -- nothing bound at all, or a consumer signal
|
|
44
|
+
* that starts at null -- still has to show a tab, so the first enabled trigger
|
|
45
|
+
* stands in. Derived rather than written back: `value` is the consumer's
|
|
46
|
+
* two-way binding to own, and filling it in on their behalf reported a
|
|
47
|
+
* selection they never made, from inside a child's ngOnInit.
|
|
48
|
+
*/
|
|
49
|
+
readonly effectiveValue: Signal<string>;
|
|
50
|
+
protected readonly classes: Signal<string>;
|
|
51
|
+
register(element: HTMLElement, value: () => string, disabled: () => boolean): void;
|
|
52
|
+
unregister(element: HTMLElement): void;
|
|
53
|
+
/**
|
|
54
|
+
* The roving `tabindex` for one trigger.
|
|
55
|
+
*
|
|
56
|
+
* Normally the selected trigger is the single tab stop. When the bound value
|
|
57
|
+
* matches no ENABLED trigger the first enabled one takes the tab stop instead.
|
|
58
|
+
* Without that fallback a value nothing answers to -- a typo, a tab removed
|
|
59
|
+
* from the DOM while it was selected, a selected tab that is disabled -- left
|
|
60
|
+
* every trigger at `tabindex=-1`, which drops the whole tablist out of the tab
|
|
61
|
+
* order and leaves a keyboard user with no way into it at all.
|
|
62
|
+
*
|
|
63
|
+
* The fallback is presentation only: it never rewrites `value`, because that
|
|
64
|
+
* is the consumer's two-way binding to own.
|
|
65
|
+
*/
|
|
66
|
+
tabIndexFor(element: HTMLElement): number;
|
|
67
|
+
activate(value: string, focus?: boolean): void;
|
|
68
|
+
focusNext(from: HTMLElement, offset: number): void;
|
|
69
|
+
focusFirst(): void;
|
|
70
|
+
focusLast(): void;
|
|
71
|
+
triggerId(value: string): string;
|
|
72
|
+
contentId(value: string): string;
|
|
73
|
+
private enabledTriggers;
|
|
74
|
+
private triggerForValue;
|
|
75
|
+
private normalizeValue;
|
|
76
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
77
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsComponent, "Tabs", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, [{ directive: typeof i1.ComponentScaleDirective; inputs: { "radius": "radius"; "density": "density"; }; outputs: {}; }]>;
|
|
78
|
+
}
|
|
79
|
+
declare class TabsListComponent extends TabsListContextBase {
|
|
80
|
+
protected readonly ctx: TabsComponent;
|
|
81
|
+
readonly variant: _angular_core.InputSignal<TabsListVariant>;
|
|
82
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
83
|
+
protected readonly classes: Signal<string>;
|
|
84
|
+
listVariant(): TabsListVariant;
|
|
85
|
+
private variantClasses;
|
|
86
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsListComponent, never>;
|
|
87
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsListComponent, "TabsList", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
88
|
+
}
|
|
89
|
+
declare class TabsTriggerComponent implements OnInit, OnDestroy {
|
|
90
|
+
protected readonly ctx: TabsComponent;
|
|
91
|
+
private readonly list;
|
|
92
|
+
private readonly el;
|
|
93
|
+
readonly value: _angular_core.InputSignal<string>;
|
|
94
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
95
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
96
|
+
protected readonly selected: Signal<boolean>;
|
|
97
|
+
protected readonly tabIndex: Signal<number>;
|
|
98
|
+
protected readonly triggerId: Signal<string>;
|
|
99
|
+
protected readonly contentId: Signal<string>;
|
|
100
|
+
protected readonly classes: Signal<string>;
|
|
101
|
+
ngOnInit(): void;
|
|
102
|
+
ngOnDestroy(): void;
|
|
103
|
+
protected onClick(): void;
|
|
104
|
+
protected onArrow(e: KeyboardEvent, delta: number, axis: 'horizontal' | 'vertical'): void;
|
|
105
|
+
protected onHome(e: KeyboardEvent): void;
|
|
106
|
+
protected onEnd(e: KeyboardEvent): void;
|
|
107
|
+
private variantClasses;
|
|
108
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsTriggerComponent, never>;
|
|
109
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsTriggerComponent, "button[TabsTrigger]", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
110
|
+
}
|
|
111
|
+
declare class TabsContentComponent {
|
|
112
|
+
private readonly ctx;
|
|
113
|
+
readonly value: _angular_core.InputSignal<string>;
|
|
114
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
115
|
+
protected readonly active: Signal<boolean>;
|
|
116
|
+
protected readonly triggerId: Signal<string>;
|
|
117
|
+
protected readonly contentId: Signal<string>;
|
|
118
|
+
protected readonly classes: Signal<string>;
|
|
119
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsContentComponent, never>;
|
|
120
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsContentComponent, "TabsContent", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export { TabsComponent, TabsContentComponent, TabsContextBase, TabsListComponent, TabsListContextBase, TabsTriggerComponent };
|
|
124
|
+
export type { TabsListVariant };
|
|
@@ -1 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import * as i1 from '@ojiepermana/angular/component/utils/scale';
|
|
3
|
+
import { ComponentScaleDirective } from '@ojiepermana/angular/component/utils/scale';
|
|
4
|
+
|
|
5
|
+
declare class TextareaComponent {
|
|
6
|
+
protected readonly componentScale: ComponentScaleDirective;
|
|
7
|
+
readonly radius: _angular_core.InputSignal<"inherit" | "none" | "xs" | "sm" | "md" | "xl" | "full">;
|
|
8
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
9
|
+
private readonly el;
|
|
10
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
11
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
12
|
+
focus(): void;
|
|
13
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
14
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextareaComponent, "textarea[Textarea]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.ComponentScaleDirective; inputs: { "radius": "radius"; "density": "density"; }; outputs: {}; }]>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { TextareaComponent };
|
|
@@ -1 +1,64 @@
|
|
|
1
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
type TimelineAlign = 'start' | 'baseline' | 'center' | 'end';
|
|
4
|
+
type TimelineSize = 'default' | 'lg';
|
|
5
|
+
type TimelineStatus = 'complete' | 'current' | 'incomplete';
|
|
6
|
+
type TimelineIndicatorVariant = 'default' | 'bare';
|
|
7
|
+
type TimelineIndicatorColor = 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose';
|
|
8
|
+
declare class TimelineComponent {
|
|
9
|
+
readonly horizontal: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
10
|
+
readonly align: _angular_core.InputSignal<TimelineAlign>;
|
|
11
|
+
readonly size: _angular_core.InputSignal<TimelineSize>;
|
|
12
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
13
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
14
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimelineComponent, never>;
|
|
15
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimelineComponent, "Timeline", never, { "horizontal": { "alias": "horizontal"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
16
|
+
}
|
|
17
|
+
declare class TimelineItemComponent {
|
|
18
|
+
private readonly timeline;
|
|
19
|
+
readonly status: _angular_core.InputSignal<TimelineStatus | null>;
|
|
20
|
+
readonly align: _angular_core.InputSignal<TimelineAlign | null>;
|
|
21
|
+
readonly size: _angular_core.InputSignal<TimelineSize | null>;
|
|
22
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
23
|
+
readonly orientation: _angular_core.Signal<"horizontal" | "vertical">;
|
|
24
|
+
readonly resolvedAlign: _angular_core.Signal<TimelineAlign>;
|
|
25
|
+
readonly resolvedSize: _angular_core.Signal<TimelineSize>;
|
|
26
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
27
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimelineItemComponent, never>;
|
|
28
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimelineItemComponent, "TimelineItem", never, { "status": { "alias": "status"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
29
|
+
}
|
|
30
|
+
declare class TimelineIndicatorComponent {
|
|
31
|
+
private readonly item;
|
|
32
|
+
readonly variant: _angular_core.InputSignal<TimelineIndicatorVariant>;
|
|
33
|
+
readonly status: _angular_core.InputSignal<TimelineStatus | null>;
|
|
34
|
+
readonly color: _angular_core.InputSignal<TimelineIndicatorColor | null>;
|
|
35
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
36
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
37
|
+
protected readonly resolvedStatus: _angular_core.Signal<TimelineStatus>;
|
|
38
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
39
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimelineIndicatorComponent, never>;
|
|
40
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimelineIndicatorComponent, "TimelineIndicator", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
41
|
+
}
|
|
42
|
+
declare class TimelineContentComponent {
|
|
43
|
+
private readonly item;
|
|
44
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
45
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
46
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimelineContentComponent, never>;
|
|
47
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimelineContentComponent, "TimelineContent", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
48
|
+
}
|
|
49
|
+
declare class TimelineBlockComponent {
|
|
50
|
+
private readonly item;
|
|
51
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
52
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
53
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimelineBlockComponent, never>;
|
|
54
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimelineBlockComponent, "TimelineBlock", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
55
|
+
}
|
|
56
|
+
declare class TimelineSubgridComponent {
|
|
57
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
58
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
59
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimelineSubgridComponent, never>;
|
|
60
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimelineSubgridComponent, "TimelineSubgrid", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export { TimelineBlockComponent, TimelineComponent, TimelineContentComponent, TimelineIndicatorComponent, TimelineItemComponent, TimelineSubgridComponent };
|
|
64
|
+
export type { TimelineAlign, TimelineIndicatorColor, TimelineIndicatorVariant, TimelineSize, TimelineStatus };
|
|
@@ -1 +1,64 @@
|
|
|
1
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
type ToastVariant = 'default' | 'destructive' | 'success' | 'info' | 'warning';
|
|
4
|
+
type ToastMessage<T> = string | ((value: T) => string);
|
|
5
|
+
interface ToastPromiseMessages<T> {
|
|
6
|
+
readonly loading: string;
|
|
7
|
+
readonly success: ToastMessage<T>;
|
|
8
|
+
readonly error: ToastMessage<unknown>;
|
|
9
|
+
}
|
|
10
|
+
type ToastHorizontalPosition = 'start' | 'center' | 'end' | 'left' | 'right';
|
|
11
|
+
type ToastVerticalPosition = 'top' | 'bottom';
|
|
12
|
+
interface ToastOptions {
|
|
13
|
+
readonly title?: string;
|
|
14
|
+
readonly description?: string;
|
|
15
|
+
readonly action?: string;
|
|
16
|
+
/** Accessible label for the dismiss button. */
|
|
17
|
+
readonly dismissLabel?: string;
|
|
18
|
+
readonly variant?: ToastVariant;
|
|
19
|
+
readonly durationMs?: number | null;
|
|
20
|
+
/** Pause auto-dismiss while pointer or keyboard focus is inside the toast. */
|
|
21
|
+
readonly pauseOnInteraction?: boolean;
|
|
22
|
+
readonly horizontalPosition?: ToastHorizontalPosition;
|
|
23
|
+
readonly verticalPosition?: ToastVerticalPosition;
|
|
24
|
+
}
|
|
25
|
+
/** Handle for a shown toast. */
|
|
26
|
+
interface ToastRef {
|
|
27
|
+
dismiss(): void;
|
|
28
|
+
/** Resolves with `true` when the action button dismissed the toast. */
|
|
29
|
+
readonly afterDismissed: Promise<{
|
|
30
|
+
dismissedByAction: boolean;
|
|
31
|
+
}>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Signal-era toast tanpa dependensi Material: stack dirender ke sebuah live
|
|
35
|
+
* region (`role="status"`, `aria-live="polite"`) sehingga screen reader
|
|
36
|
+
* mengumumkan setiap toast.
|
|
37
|
+
*/
|
|
38
|
+
declare class ToastService {
|
|
39
|
+
private readonly documentRef;
|
|
40
|
+
private container;
|
|
41
|
+
private readonly active;
|
|
42
|
+
constructor();
|
|
43
|
+
show(options: ToastOptions): ToastRef;
|
|
44
|
+
success(opts: Omit<ToastOptions, 'variant'>): ToastRef;
|
|
45
|
+
info(opts: Omit<ToastOptions, 'variant'>): ToastRef;
|
|
46
|
+
warning(opts: Omit<ToastOptions, 'variant'>): ToastRef;
|
|
47
|
+
error(opts: Omit<ToastOptions, 'variant'>): ToastRef;
|
|
48
|
+
promise<T>(taskOrFactory: Promise<T> | (() => Promise<T>), messages: ToastPromiseMessages<T>): Promise<T>;
|
|
49
|
+
dismiss(): void;
|
|
50
|
+
private ensureContainer;
|
|
51
|
+
/**
|
|
52
|
+
* Position the persistent container for the toast being shown.
|
|
53
|
+
*
|
|
54
|
+
* Applied only when the stack is empty (see {@link show}), so a run of toasts
|
|
55
|
+
* shares one corner and nothing already visible jumps. The previous corner is
|
|
56
|
+
* cleared first, so switching corners between runs works.
|
|
57
|
+
*/
|
|
58
|
+
private applyPosition;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
60
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export { ToastService };
|
|
64
|
+
export type { ToastHorizontalPosition, ToastMessage, ToastOptions, ToastPromiseMessages, ToastRef, ToastVariant, ToastVerticalPosition };
|
|
@@ -1 +1,90 @@
|
|
|
1
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
+
import { ToggleVariant, ToggleSize } from '@ojiepermana/angular/component/toggle';
|
|
4
|
+
|
|
5
|
+
type ToggleGroupType = 'single' | 'multiple';
|
|
6
|
+
type ToggleGroupOrientation = 'horizontal' | 'vertical';
|
|
7
|
+
type ToggleGroupVariant = ToggleVariant;
|
|
8
|
+
type ToggleGroupSize = ToggleSize;
|
|
9
|
+
declare abstract class ToggleGroupContextBase {
|
|
10
|
+
abstract groupType(): ToggleGroupType;
|
|
11
|
+
abstract groupOrientation(): ToggleGroupOrientation;
|
|
12
|
+
abstract groupVariant(): ToggleGroupVariant;
|
|
13
|
+
abstract groupSize(): ToggleGroupSize;
|
|
14
|
+
abstract groupDisabled(): boolean;
|
|
15
|
+
abstract isRtl(): boolean;
|
|
16
|
+
abstract register(element: HTMLElement, value: () => string, disabled: () => boolean): void;
|
|
17
|
+
abstract unregister(element: HTMLElement): void;
|
|
18
|
+
abstract isSelected(value: string): boolean;
|
|
19
|
+
abstract toggle(value: string): void;
|
|
20
|
+
abstract tabindexFor(value: string, disabled: boolean): number;
|
|
21
|
+
abstract markFocused(value: string): void;
|
|
22
|
+
abstract focusNext(from: HTMLElement, offset: number): void;
|
|
23
|
+
abstract focusFirst(): void;
|
|
24
|
+
abstract focusLast(): void;
|
|
25
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToggleGroupContextBase, never>;
|
|
26
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ToggleGroupContextBase, never, never, {}, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
28
|
+
declare class ToggleGroupComponent extends ToggleGroupContextBase {
|
|
29
|
+
readonly type: _angular_core.InputSignal<ToggleGroupType>;
|
|
30
|
+
readonly value: _angular_core.ModelSignal<string | null>;
|
|
31
|
+
readonly values: _angular_core.ModelSignal<string[]>;
|
|
32
|
+
readonly orientation: _angular_core.InputSignal<ToggleGroupOrientation>;
|
|
33
|
+
readonly variant: _angular_core.InputSignal<ToggleVariant>;
|
|
34
|
+
readonly size: _angular_core.InputSignal<ToggleSize>;
|
|
35
|
+
readonly spacing: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
36
|
+
readonly loop: _angular_core.InputSignal<boolean>;
|
|
37
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
38
|
+
readonly dir: _angular_core.InputSignal<"ltr" | "rtl" | null>;
|
|
39
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
40
|
+
private readonly host;
|
|
41
|
+
private readonly focusedValue;
|
|
42
|
+
private readonly registrationVersion;
|
|
43
|
+
private readonly items;
|
|
44
|
+
private readonly resolvedSpacing;
|
|
45
|
+
private readonly tabStopValue;
|
|
46
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
47
|
+
groupType(): ToggleGroupType;
|
|
48
|
+
groupOrientation(): ToggleGroupOrientation;
|
|
49
|
+
groupVariant(): ToggleGroupVariant;
|
|
50
|
+
groupSize(): ToggleGroupSize;
|
|
51
|
+
groupDisabled(): boolean;
|
|
52
|
+
isRtl(): boolean;
|
|
53
|
+
register(element: HTMLElement, value: () => string, disabled: () => boolean): void;
|
|
54
|
+
unregister(element: HTMLElement): void;
|
|
55
|
+
isSelected(value: string): boolean;
|
|
56
|
+
toggle(value: string): void;
|
|
57
|
+
tabindexFor(value: string, disabled: boolean): number;
|
|
58
|
+
markFocused(value: string): void;
|
|
59
|
+
focusNext(from: HTMLElement, offset: number): void;
|
|
60
|
+
focusFirst(): void;
|
|
61
|
+
focusLast(): void;
|
|
62
|
+
private enabledItems;
|
|
63
|
+
private itemForValue;
|
|
64
|
+
private bumpRegistrationVersion;
|
|
65
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToggleGroupComponent, never>;
|
|
66
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToggleGroupComponent, "ToggleGroup", never, { "type": { "alias": "type"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "spacing": { "alias": "spacing"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "values": "valuesChange"; }, never, ["*"], true, never>;
|
|
67
|
+
}
|
|
68
|
+
declare class ToggleGroupItemDirective implements OnInit, OnDestroy {
|
|
69
|
+
protected readonly ctx: ToggleGroupContextBase;
|
|
70
|
+
private readonly element;
|
|
71
|
+
readonly value: _angular_core.InputSignal<string>;
|
|
72
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
73
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
74
|
+
protected readonly selected: _angular_core.Signal<boolean>;
|
|
75
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
76
|
+
ngOnInit(): void;
|
|
77
|
+
ngOnDestroy(): void;
|
|
78
|
+
protected isDisabled(): boolean;
|
|
79
|
+
protected onClick(): void;
|
|
80
|
+
protected onFocus(): void;
|
|
81
|
+
protected onArrow(event: KeyboardEvent, offset: number): void;
|
|
82
|
+
protected onHorizontalArrow(event: KeyboardEvent, offset: number): void;
|
|
83
|
+
protected onHome(event: KeyboardEvent): void;
|
|
84
|
+
protected onEnd(event: KeyboardEvent): void;
|
|
85
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToggleGroupItemDirective, never>;
|
|
86
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ToggleGroupItemDirective, "button[ToggleGroupItem]", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export { ToggleGroupComponent, ToggleGroupContextBase, ToggleGroupItemDirective };
|
|
90
|
+
export type { ToggleGroupOrientation, ToggleGroupSize, ToggleGroupType, ToggleGroupVariant };
|
|
@@ -1 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const toggleVariants: (props?: ({
|
|
6
|
+
variant?: "default" | "outline" | null | undefined;
|
|
7
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
type ToggleVariant = NonNullable<VariantProps<typeof toggleVariants>['variant']>;
|
|
10
|
+
type ToggleSize = NonNullable<VariantProps<typeof toggleVariants>['size']>;
|
|
11
|
+
|
|
12
|
+
declare class ToggleComponent {
|
|
13
|
+
readonly pressed: _angular_core.ModelSignal<boolean>;
|
|
14
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
15
|
+
readonly variant: _angular_core.InputSignal<ToggleVariant>;
|
|
16
|
+
readonly size: _angular_core.InputSignal<ToggleSize>;
|
|
17
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
18
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
19
|
+
toggle(): void;
|
|
20
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToggleComponent, never>;
|
|
21
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToggleComponent, "button[Toggle]", never, { "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, { "pressed": "pressedChange"; }, never, ["*"], true, never>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { ToggleComponent, toggleVariants };
|
|
25
|
+
export type { ToggleSize, ToggleVariant };
|