@ojiepermana/angular 21.3.4 → 22.0.27
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 +16 -298
- package/fesm2022/ojiepermana-angular-chart.mjs +11 -0
- package/fesm2022/ojiepermana-angular-chart.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component.mjs +11 -0
- package/fesm2022/ojiepermana-angular-component.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-navigation.mjs +11 -0
- package/fesm2022/ojiepermana-angular-navigation.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-sdk.mjs +11 -0
- package/fesm2022/ojiepermana-angular-sdk.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-theme.mjs +3 -374
- package/fesm2022/ojiepermana-angular-theme.mjs.map +1 -1
- package/fesm2022/ojiepermana-angular.mjs +14 -14
- package/fesm2022/ojiepermana-angular.mjs.map +1 -1
- package/package.json +25 -361
- package/types/ojiepermana-angular-chart.d.ts +1 -0
- package/types/ojiepermana-angular-component.d.ts +1 -0
- package/types/ojiepermana-angular-navigation.d.ts +1 -0
- package/types/ojiepermana-angular-sdk.d.ts +1 -0
- package/types/ojiepermana-angular-theme.d.ts +1 -116
- package/types/ojiepermana-angular.d.ts +5 -3
- package/.npmignore +0 -2
- package/collection.json +0 -30
- package/component/accordion/package.json +0 -4
- package/component/alert/package.json +0 -4
- package/component/alert-dialog/package.json +0 -4
- package/component/aspect-ratio/package.json +0 -4
- package/component/avatar/package.json +0 -4
- package/component/badge/package.json +0 -4
- package/component/breadcrumb/package.json +0 -4
- package/component/button/package.json +0 -4
- package/component/button-group/package.json +0 -4
- package/component/calendar/package.json +0 -4
- package/component/card/package.json +0 -4
- package/component/carousel/package.json +0 -4
- package/component/chart/README.md +0 -249
- package/component/chart/area/package.json +0 -4
- package/component/chart/bar/package.json +0 -4
- package/component/chart/line/package.json +0 -4
- package/component/chart/package.json +0 -4
- package/component/chart/pie/package.json +0 -4
- package/component/chart/radar/package.json +0 -4
- package/component/chart/radial/package.json +0 -4
- package/component/chart/scatter/package.json +0 -4
- package/component/checkbox/package.json +0 -4
- package/component/collapsible/package.json +0 -4
- package/component/combobox/package.json +0 -4
- package/component/command/package.json +0 -4
- package/component/context-menu/package.json +0 -4
- package/component/date-picker/package.json +0 -4
- package/component/dialog/package.json +0 -4
- package/component/drawer/package.json +0 -4
- package/component/dropdown-menu/package.json +0 -4
- package/component/form/package.json +0 -4
- package/component/input/package.json +0 -4
- package/component/input-group/package.json +0 -4
- package/component/item/package.json +0 -4
- package/component/label/package.json +0 -4
- package/component/pagination/package.json +0 -4
- package/component/popover/package.json +0 -4
- package/component/progress/package.json +0 -4
- package/component/radio/package.json +0 -4
- package/component/scroll-area/package.json +0 -4
- package/component/select/package.json +0 -4
- package/component/separator/package.json +0 -4
- package/component/sheet/package.json +0 -4
- package/component/skeleton/package.json +0 -4
- package/component/slider/package.json +0 -4
- package/component/switch/package.json +0 -4
- package/component/table/package.json +0 -4
- package/component/tabs/package.json +0 -4
- package/component/textarea/package.json +0 -4
- package/component/toast/package.json +0 -4
- package/component/tooltip/package.json +0 -4
- package/component/utils/package.json +0 -4
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +0 -174
- package/fesm2022/ojiepermana-angular-component-accordion.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +0 -242
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-alert.mjs +0 -90
- package/fesm2022/ojiepermana-angular-component-alert.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +0 -33
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-avatar.mjs +0 -123
- package/fesm2022/ojiepermana-angular-component-avatar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-badge.mjs +0 -47
- package/fesm2022/ojiepermana-angular-component-badge.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +0 -186
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-button-group.mjs +0 -95
- package/fesm2022/ojiepermana-angular-component-button-group.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-button.mjs +0 -64
- package/fesm2022/ojiepermana-angular-component-button.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +0 -78
- package/fesm2022/ojiepermana-angular-component-calendar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-card.mjs +0 -137
- package/fesm2022/ojiepermana-angular-component-card.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-carousel.mjs +0 -310
- package/fesm2022/ojiepermana-angular-component-carousel.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-area.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-area.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-bar.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-bar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-line.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-line.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-pie.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-pie.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-radar.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-radar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-radial.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-radial.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart.mjs +0 -3714
- package/fesm2022/ojiepermana-angular-component-chart.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs +0 -104
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs +0 -116
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-combobox.mjs +0 -263
- package/fesm2022/ojiepermana-angular-component-combobox.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-command.mjs +0 -268
- package/fesm2022/ojiepermana-angular-component-command.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs +0 -100
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs +0 -155
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +0 -262
- package/fesm2022/ojiepermana-angular-component-dialog.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-drawer.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-drawer.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +0 -458
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-form.mjs +0 -208
- package/fesm2022/ojiepermana-angular-component-form.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-input-group.mjs +0 -164
- package/fesm2022/ojiepermana-angular-component-input-group.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-input.mjs +0 -43
- package/fesm2022/ojiepermana-angular-component-input.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-item.mjs +0 -241
- package/fesm2022/ojiepermana-angular-component-item.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-label.mjs +0 -30
- package/fesm2022/ojiepermana-angular-component-label.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-pagination.mjs +0 -192
- package/fesm2022/ojiepermana-angular-component-pagination.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-popover.mjs +0 -163
- package/fesm2022/ojiepermana-angular-component-popover.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-progress.mjs +0 -53
- package/fesm2022/ojiepermana-angular-component-progress.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-radio.mjs +0 -92
- package/fesm2022/ojiepermana-angular-component-radio.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +0 -48
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-select.mjs +0 -131
- package/fesm2022/ojiepermana-angular-component-select.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-separator.mjs +0 -33
- package/fesm2022/ojiepermana-angular-component-separator.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-sheet.mjs +0 -235
- package/fesm2022/ojiepermana-angular-component-sheet.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs +0 -29
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-slider.mjs +0 -29
- package/fesm2022/ojiepermana-angular-component-slider.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-switch.mjs +0 -84
- package/fesm2022/ojiepermana-angular-component-switch.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-table.mjs +0 -139
- package/fesm2022/ojiepermana-angular-component-table.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-tabs.mjs +0 -252
- package/fesm2022/ojiepermana-angular-component-tabs.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-textarea.mjs +0 -37
- package/fesm2022/ojiepermana-angular-component-textarea.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-toast.mjs +0 -47
- package/fesm2022/ojiepermana-angular-component-toast.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +0 -56
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-utils.mjs +0 -13
- package/fesm2022/ojiepermana-angular-component-utils.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-generator-api.mjs +0 -68
- package/fesm2022/ojiepermana-angular-generator-api.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-component.mjs +0 -581
- package/fesm2022/ojiepermana-angular-layout-component.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-empty.mjs +0 -49
- package/fesm2022/ojiepermana-angular-layout-empty.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-horizontal.mjs +0 -119
- package/fesm2022/ojiepermana-angular-layout-horizontal.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-provider.mjs +0 -21
- package/fesm2022/ojiepermana-angular-layout-provider.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-services.mjs +0 -114
- package/fesm2022/ojiepermana-angular-layout-services.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-shell.mjs +0 -48
- package/fesm2022/ojiepermana-angular-layout-shell.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-token-directive.mjs +0 -27
- package/fesm2022/ojiepermana-angular-layout-token-directive.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-token.mjs +0 -33
- package/fesm2022/ojiepermana-angular-layout-token.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-vertical.mjs +0 -113
- package/fesm2022/ojiepermana-angular-layout-vertical.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout.mjs +0 -461
- package/fesm2022/ojiepermana-angular-layout.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs +0 -334
- package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs +0 -59
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-item.mjs +0 -548
- package/fesm2022/ojiepermana-angular-navigation-item.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +0 -204
- package/fesm2022/ojiepermana-angular-navigation-service.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs +0 -373
- package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-topbar.mjs +0 -433
- package/fesm2022/ojiepermana-angular-navigation-topbar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-types.mjs +0 -4
- package/fesm2022/ojiepermana-angular-navigation-types.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-theme-provider.mjs +0 -35
- package/fesm2022/ojiepermana-angular-theme-provider.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-theme-services.mjs +0 -286
- package/fesm2022/ojiepermana-angular-theme-services.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-theme-token.mjs +0 -56
- package/fesm2022/ojiepermana-angular-theme-token.mjs.map +0 -1
- package/generator/api/README.md +0 -252
- package/generator/api/bin/package.json +0 -3
- package/generator/api/bin/schematics/init/index.js +0 -90
- package/generator/api/bin/schematics/ng-add/index.js +0 -131
- package/generator/api/bin/schematics/sdk/index.js +0 -76
- package/generator/api/bin/src/config/loader.js +0 -41
- package/generator/api/bin/src/config/schema.js +0 -57
- package/generator/api/bin/src/emit/client.js +0 -246
- package/generator/api/bin/src/emit/metadata.js +0 -295
- package/generator/api/bin/src/emit/models.js +0 -106
- package/generator/api/bin/src/emit/navigation.js +0 -56
- package/generator/api/bin/src/emit/operations.js +0 -122
- package/generator/api/bin/src/emit/public-api.js +0 -54
- package/generator/api/bin/src/emit/services.js +0 -87
- package/generator/api/bin/src/engine.js +0 -65
- package/generator/api/bin/src/layout/per-domain.js +0 -359
- package/generator/api/bin/src/parser/bundle.js +0 -25
- package/generator/api/bin/src/parser/ir.js +0 -320
- package/generator/api/bin/src/parser/types.js +0 -7
- package/generator/api/bin/src/render/template.js +0 -58
- package/generator/api/bin/src/writer/index.js +0 -278
- package/generator/api/package.json +0 -4
- package/generator/api/schematics/init/schema.json +0 -19
- package/generator/api/schematics/ng-add/schema.json +0 -14
- package/generator/api/schematics/sdk/schema.json +0 -19
- package/generator/api/sdk.config.example.json +0 -24
- package/generator/guide/README.md +0 -84
- package/generator/guide/bin/package.json +0 -3
- package/generator/guide/bin/schematics/build/index.js +0 -35
- package/generator/guide/bin/schematics/init/index.js +0 -70
- package/generator/guide/bin/src/config/loader.js +0 -50
- package/generator/guide/bin/src/config/schema.js +0 -12
- package/generator/guide/bin/src/engine/component.js +0 -74
- package/generator/guide/bin/src/engine/frontmatter.js +0 -42
- package/generator/guide/bin/src/engine/index.js +0 -42
- package/generator/guide/bin/src/engine/naming.js +0 -39
- package/generator/guide/bin/src/engine/render.js +0 -31
- package/generator/guide/bin/src/engine/routes.js +0 -106
- package/generator/guide/bin/src/engine/walk.js +0 -35
- package/generator/guide/guide.config.example.json +0 -9
- package/generator/guide/schematics/build/schema.json +0 -14
- package/generator/guide/schematics/init/schema.json +0 -19
- package/layout/component/package.json +0 -4
- package/layout/empty/package.json +0 -4
- package/layout/horizontal/package.json +0 -4
- package/layout/package.json +0 -4
- package/layout/provider/package.json +0 -4
- package/layout/services/package.json +0 -4
- package/layout/shell/package.json +0 -4
- package/layout/token/directive/package.json +0 -4
- package/layout/token/package.json +0 -4
- package/layout/vertical/package.json +0 -4
- package/navigation/demo-data/package.json +0 -4
- package/navigation/icon/package.json +0 -4
- package/navigation/item/package.json +0 -4
- package/navigation/service/package.json +0 -4
- package/navigation/sidebar/package.json +0 -4
- package/navigation/topbar/package.json +0 -4
- package/navigation/types/package.json +0 -4
- package/theme/README.md +0 -67
- package/theme/package.json +0 -4
- package/theme/provider/package.json +0 -4
- package/theme/services/package.json +0 -4
- package/theme/styles/foundation/components.css +0 -81
- package/theme/styles/foundation/layers.css +0 -15
- package/theme/styles/foundation/tokens.css +0 -55
- package/theme/styles/index.css +0 -37
- package/theme/styles/integrations/material.css +0 -254
- package/theme/styles/integrations/tailwind.css +0 -114
- package/theme/styles/variants/color/amber.css +0 -31
- package/theme/styles/variants/color/base.css +0 -36
- package/theme/styles/variants/color/blue.css +0 -31
- package/theme/styles/variants/color/cyan.css +0 -31
- package/theme/styles/variants/color/emerald.css +0 -31
- package/theme/styles/variants/color/fuchsia.css +0 -31
- package/theme/styles/variants/color/green.css +0 -31
- package/theme/styles/variants/color/index.css +0 -22
- package/theme/styles/variants/color/indigo.css +0 -31
- package/theme/styles/variants/color/lime.css +0 -31
- package/theme/styles/variants/color/orange.css +0 -31
- package/theme/styles/variants/color/pink.css +0 -31
- package/theme/styles/variants/color/purple.css +0 -31
- package/theme/styles/variants/color/red.css +0 -31
- package/theme/styles/variants/color/rose.css +0 -31
- package/theme/styles/variants/color/sky.css +0 -31
- package/theme/styles/variants/color/teal.css +0 -31
- package/theme/styles/variants/color/violet.css +0 -31
- package/theme/styles/variants/color/yellow.css +0 -31
- package/theme/styles/variants/mode/dark.css +0 -20
- package/theme/styles/variants/mode/index.css +0 -6
- package/theme/styles/variants/mode/light.css +0 -24
- package/theme/styles/variants/style/brutal.css +0 -50
- package/theme/styles/variants/style/default.css +0 -54
- package/theme/styles/variants/style/index.css +0 -8
- package/theme/styles/variants/style/sharp.css +0 -50
- package/theme/styles/variants/style/soft.css +0 -50
- package/theme/token/package.json +0 -4
- package/types/ojiepermana-angular-component-accordion.d.ts +0 -51
- package/types/ojiepermana-angular-component-alert-dialog.d.ts +0 -93
- package/types/ojiepermana-angular-component-alert.d.ts +0 -37
- package/types/ojiepermana-angular-component-aspect-ratio.d.ts +0 -12
- package/types/ojiepermana-angular-component-avatar.d.ts +0 -51
- package/types/ojiepermana-angular-component-badge.d.ts +0 -19
- package/types/ojiepermana-angular-component-breadcrumb.d.ts +0 -46
- package/types/ojiepermana-angular-component-button-group.d.ts +0 -26
- package/types/ojiepermana-angular-component-button.d.ts +0 -22
- package/types/ojiepermana-angular-component-calendar.d.ts +0 -33
- package/types/ojiepermana-angular-component-card.d.ts +0 -60
- package/types/ojiepermana-angular-component-carousel.d.ts +0 -86
- package/types/ojiepermana-angular-component-chart-area.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-bar.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-line.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-pie.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-radar.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-radial.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-scatter.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart.d.ts +0 -1094
- package/types/ojiepermana-angular-component-checkbox.d.ts +0 -35
- package/types/ojiepermana-angular-component-collapsible.d.ts +0 -42
- package/types/ojiepermana-angular-component-combobox.d.ts +0 -51
- package/types/ojiepermana-angular-component-command.d.ts +0 -99
- package/types/ojiepermana-angular-component-context-menu.d.ts +0 -35
- package/types/ojiepermana-angular-component-date-picker.d.ts +0 -41
- package/types/ojiepermana-angular-component-dialog.d.ts +0 -87
- package/types/ojiepermana-angular-component-drawer.d.ts +0 -1
- package/types/ojiepermana-angular-component-dropdown-menu.d.ts +0 -135
- package/types/ojiepermana-angular-component-form.d.ts +0 -92
- package/types/ojiepermana-angular-component-input-group.d.ts +0 -51
- package/types/ojiepermana-angular-component-input.d.ts +0 -16
- package/types/ojiepermana-angular-component-item.d.ts +0 -88
- package/types/ojiepermana-angular-component-label.d.ts +0 -11
- package/types/ojiepermana-angular-component-pagination.d.ts +0 -27
- package/types/ojiepermana-angular-component-popover.d.ts +0 -43
- package/types/ojiepermana-angular-component-progress.d.ts +0 -17
- package/types/ojiepermana-angular-component-radio.d.ts +0 -34
- package/types/ojiepermana-angular-component-scroll-area.d.ts +0 -19
- package/types/ojiepermana-angular-component-select.d.ts +0 -45
- package/types/ojiepermana-angular-component-separator.d.ts +0 -14
- package/types/ojiepermana-angular-component-sheet.d.ts +0 -74
- package/types/ojiepermana-angular-component-skeleton.d.ts +0 -10
- package/types/ojiepermana-angular-component-slider.d.ts +0 -16
- package/types/ojiepermana-angular-component-switch.d.ts +0 -30
- package/types/ojiepermana-angular-component-table.d.ts +0 -52
- package/types/ojiepermana-angular-component-tabs.d.ts +0 -92
- package/types/ojiepermana-angular-component-textarea.d.ts +0 -12
- package/types/ojiepermana-angular-component-toast.d.ts +0 -29
- package/types/ojiepermana-angular-component-tooltip.d.ts +0 -22
- package/types/ojiepermana-angular-component-utils.d.ts +0 -5
- package/types/ojiepermana-angular-generator-api.d.ts +0 -86
- package/types/ojiepermana-angular-layout-component.d.ts +0 -205
- package/types/ojiepermana-angular-layout-empty.d.ts +0 -22
- package/types/ojiepermana-angular-layout-horizontal.d.ts +0 -36
- package/types/ojiepermana-angular-layout-provider.d.ts +0 -6
- package/types/ojiepermana-angular-layout-services.d.ts +0 -25
- package/types/ojiepermana-angular-layout-shell.d.ts +0 -8
- package/types/ojiepermana-angular-layout-token-directive.d.ts +0 -13
- package/types/ojiepermana-angular-layout-token.d.ts +0 -36
- package/types/ojiepermana-angular-layout-vertical.d.ts +0 -38
- package/types/ojiepermana-angular-layout.d.ts +0 -164
- package/types/ojiepermana-angular-navigation-demo-data.d.ts +0 -5
- package/types/ojiepermana-angular-navigation-icon.d.ts +0 -17
- package/types/ojiepermana-angular-navigation-item.d.ts +0 -54
- package/types/ojiepermana-angular-navigation-service.d.ts +0 -77
- package/types/ojiepermana-angular-navigation-sidebar.d.ts +0 -75
- package/types/ojiepermana-angular-navigation-topbar.d.ts +0 -54
- package/types/ojiepermana-angular-navigation-types.d.ts +0 -129
- package/types/ojiepermana-angular-theme-provider.d.ts +0 -11
- package/types/ojiepermana-angular-theme-services.d.ts +0 -55
- package/types/ojiepermana-angular-theme-token.d.ts +0 -57
|
@@ -1,458 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ElementRef, input, output, Directive, computed, ChangeDetectionStrategy, Component, model, forwardRef, ContentChildren, TemplateRef, ViewContainerRef, DestroyRef, signal } from '@angular/core';
|
|
3
|
-
import { cn } from '@ojiepermana/angular/component/utils';
|
|
4
|
-
import { FocusKeyManager } from '@angular/cdk/a11y';
|
|
5
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
6
|
-
import { TemplatePortal } from '@angular/cdk/portal';
|
|
7
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
8
|
-
import { merge } from 'rxjs';
|
|
9
|
-
import { filter } from 'rxjs/operators';
|
|
10
|
-
|
|
11
|
-
class MenuFocusableItem {
|
|
12
|
-
el = inject(ElementRef);
|
|
13
|
-
disabledInput = input(false, { ...(ngDevMode ? { debugName: "disabledInput" } : /* istanbul ignore next */ {}), alias: 'disabled' });
|
|
14
|
-
inset = input(false, ...(ngDevMode ? [{ debugName: "inset" }] : /* istanbul ignore next */ []));
|
|
15
|
-
class = input('', ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
|
|
16
|
-
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
17
|
-
selected = output();
|
|
18
|
-
get disabled() {
|
|
19
|
-
return this.disabledInput();
|
|
20
|
-
}
|
|
21
|
-
focus() {
|
|
22
|
-
this.el.nativeElement.focus();
|
|
23
|
-
}
|
|
24
|
-
getLabel() {
|
|
25
|
-
return this.el.nativeElement.textContent?.trim() ?? '';
|
|
26
|
-
}
|
|
27
|
-
buildItemClasses(extraClass = '') {
|
|
28
|
-
return cn('relative flex w-full cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none', 'transition-colors focus:bg-accent focus:text-accent-foreground', 'aria-disabled:pointer-events-none aria-disabled:opacity-50', 'data-[inset=true]:pl-8', 'data-[variant=destructive]:text-destructive', 'data-[variant=destructive]:focus:bg-destructive/10', 'data-[variant=destructive]:focus:text-destructive', extraClass, this.class());
|
|
29
|
-
}
|
|
30
|
-
emitSelection(event) {
|
|
31
|
-
if (this.disabled) {
|
|
32
|
-
event.preventDefault();
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
this.selected.emit(event);
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuFocusableItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.14", type: MenuFocusableItem, isStandalone: true, inputs: { disabledInput: { classPropertyName: "disabledInput", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inset: { classPropertyName: "inset", publicName: "inset", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selected: "selected" }, ngImport: i0 });
|
|
40
|
-
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuFocusableItem, decorators: [{
|
|
42
|
-
type: Directive
|
|
43
|
-
}], propDecorators: { disabledInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], inset: [{ type: i0.Input, args: [{ isSignal: true, alias: "inset", required: false }] }], class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], selected: [{ type: i0.Output, args: ["selected"] }] } });
|
|
44
|
-
class MenuGroupComponent {
|
|
45
|
-
class = input('', ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
|
|
46
|
-
classes = computed(() => cn('block', this.class()), ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.14", type: MenuGroupComponent, isStandalone: true, selector: "ui-menu-group", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()", "attr.role": "\"group\"" } }, ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
49
|
-
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuGroupComponent, decorators: [{
|
|
51
|
-
type: Component,
|
|
52
|
-
args: [{
|
|
53
|
-
selector: 'ui-menu-group',
|
|
54
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
55
|
-
host: {
|
|
56
|
-
'[class]': 'classes()',
|
|
57
|
-
'[attr.role]': '"group"',
|
|
58
|
-
},
|
|
59
|
-
template: `<ng-content />`,
|
|
60
|
-
}]
|
|
61
|
-
}], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
62
|
-
class MenuRadioGroupBase {
|
|
63
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuRadioGroupBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
64
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: MenuRadioGroupBase, isStandalone: true, ngImport: i0 });
|
|
65
|
-
}
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuRadioGroupBase, decorators: [{
|
|
67
|
-
type: Directive
|
|
68
|
-
}] });
|
|
69
|
-
class MenuRadioGroupComponent extends MenuRadioGroupBase {
|
|
70
|
-
value = model(null, ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
71
|
-
class = input('', ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
|
|
72
|
-
classes = computed(() => cn('block', this.class()), ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
73
|
-
isChecked(value) {
|
|
74
|
-
return this.value() === value;
|
|
75
|
-
}
|
|
76
|
-
select(value) {
|
|
77
|
-
this.value.set(value);
|
|
78
|
-
}
|
|
79
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuRadioGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
80
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.14", type: MenuRadioGroupComponent, isStandalone: true, selector: "ui-menu-radio-group", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { properties: { "class": "classes()", "attr.role": "\"group\"" } }, providers: [{ provide: MenuRadioGroupBase, useExisting: forwardRef(() => MenuRadioGroupComponent) }], usesInheritance: true, ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
81
|
-
}
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuRadioGroupComponent, decorators: [{
|
|
83
|
-
type: Component,
|
|
84
|
-
args: [{
|
|
85
|
-
selector: 'ui-menu-radio-group',
|
|
86
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
87
|
-
providers: [{ provide: MenuRadioGroupBase, useExisting: forwardRef(() => MenuRadioGroupComponent) }],
|
|
88
|
-
host: {
|
|
89
|
-
'[class]': 'classes()',
|
|
90
|
-
'[attr.role]': '"group"',
|
|
91
|
-
},
|
|
92
|
-
template: `<ng-content />`,
|
|
93
|
-
}]
|
|
94
|
-
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
95
|
-
class MenuItemComponent extends MenuFocusableItem {
|
|
96
|
-
classes = computed(() => this.buildItemClasses(), ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
97
|
-
handleClick(e) {
|
|
98
|
-
this.emitSelection(e);
|
|
99
|
-
}
|
|
100
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
101
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.14", type: MenuItemComponent, isStandalone: true, selector: "ui-menu-item, button[ui-menu-item]", host: { attributes: { "tabindex": "-1" }, listeners: { "click": "handleClick($any($event))", "keydown.enter": "handleClick($any($event))", "keydown.space": "handleClick($any($event))" }, properties: { "class": "classes()", "attr.role": "\"menuitem\"", "attr.aria-disabled": "disabled ? \"true\" : null", "attr.data-inset": "inset() ? \"true\" : null", "attr.data-variant": "variant()" } }, providers: [{ provide: MenuFocusableItem, useExisting: forwardRef(() => MenuItemComponent) }], usesInheritance: true, ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
102
|
-
}
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuItemComponent, decorators: [{
|
|
104
|
-
type: Component,
|
|
105
|
-
args: [{
|
|
106
|
-
selector: 'ui-menu-item, button[ui-menu-item]',
|
|
107
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
108
|
-
providers: [{ provide: MenuFocusableItem, useExisting: forwardRef(() => MenuItemComponent) }],
|
|
109
|
-
host: {
|
|
110
|
-
'[class]': 'classes()',
|
|
111
|
-
'[attr.role]': '"menuitem"',
|
|
112
|
-
tabindex: '-1',
|
|
113
|
-
'[attr.aria-disabled]': 'disabled ? "true" : null',
|
|
114
|
-
'[attr.data-inset]': 'inset() ? "true" : null',
|
|
115
|
-
'[attr.data-variant]': 'variant()',
|
|
116
|
-
'(click)': 'handleClick($any($event))',
|
|
117
|
-
'(keydown.enter)': 'handleClick($any($event))',
|
|
118
|
-
'(keydown.space)': 'handleClick($any($event))',
|
|
119
|
-
},
|
|
120
|
-
template: `<ng-content />`,
|
|
121
|
-
}]
|
|
122
|
-
}] });
|
|
123
|
-
class MenuCheckboxItemComponent extends MenuFocusableItem {
|
|
124
|
-
checked = model(false, ...(ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []));
|
|
125
|
-
classes = computed(() => this.buildItemClasses('pl-8'), ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
126
|
-
toggle(event) {
|
|
127
|
-
if (!this.emitSelection(event)) {
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
this.checked.set(!this.checked());
|
|
131
|
-
}
|
|
132
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuCheckboxItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
133
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: MenuCheckboxItemComponent, isStandalone: true, selector: "ui-menu-checkbox-item, button[ui-menu-checkbox-item]", inputs: { checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { checked: "checkedChange" }, host: { attributes: { "tabindex": "-1" }, listeners: { "click": "toggle($any($event))", "keydown.enter": "toggle($any($event))", "keydown.space": "toggle($any($event))" }, properties: { "class": "classes()", "attr.role": "\"menuitemcheckbox\"", "attr.aria-disabled": "disabled ? \"true\" : null", "attr.aria-checked": "checked()", "attr.data-state": "checked() ? \"checked\" : \"unchecked\"", "attr.data-variant": "variant()" } }, providers: [{ provide: MenuFocusableItem, useExisting: forwardRef(() => MenuCheckboxItemComponent) }], usesInheritance: true, ngImport: i0, template: `
|
|
134
|
-
<span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
|
135
|
-
@if (checked()) {
|
|
136
|
-
<svg
|
|
137
|
-
aria-hidden="true"
|
|
138
|
-
class="h-4 w-4"
|
|
139
|
-
viewBox="0 0 24 24"
|
|
140
|
-
fill="none"
|
|
141
|
-
stroke="currentColor"
|
|
142
|
-
stroke-width="2"
|
|
143
|
-
stroke-linecap="round"
|
|
144
|
-
stroke-linejoin="round">
|
|
145
|
-
<polyline points="20 6 9 17 4 12" />
|
|
146
|
-
</svg>
|
|
147
|
-
}
|
|
148
|
-
</span>
|
|
149
|
-
<ng-content />
|
|
150
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
151
|
-
}
|
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuCheckboxItemComponent, decorators: [{
|
|
153
|
-
type: Component,
|
|
154
|
-
args: [{
|
|
155
|
-
selector: 'ui-menu-checkbox-item, button[ui-menu-checkbox-item]',
|
|
156
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
157
|
-
providers: [{ provide: MenuFocusableItem, useExisting: forwardRef(() => MenuCheckboxItemComponent) }],
|
|
158
|
-
host: {
|
|
159
|
-
'[class]': 'classes()',
|
|
160
|
-
'[attr.role]': '"menuitemcheckbox"',
|
|
161
|
-
tabindex: '-1',
|
|
162
|
-
'[attr.aria-disabled]': 'disabled ? "true" : null',
|
|
163
|
-
'[attr.aria-checked]': 'checked()',
|
|
164
|
-
'[attr.data-state]': 'checked() ? "checked" : "unchecked"',
|
|
165
|
-
'[attr.data-variant]': 'variant()',
|
|
166
|
-
'(click)': 'toggle($any($event))',
|
|
167
|
-
'(keydown.enter)': 'toggle($any($event))',
|
|
168
|
-
'(keydown.space)': 'toggle($any($event))',
|
|
169
|
-
},
|
|
170
|
-
template: `
|
|
171
|
-
<span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
|
172
|
-
@if (checked()) {
|
|
173
|
-
<svg
|
|
174
|
-
aria-hidden="true"
|
|
175
|
-
class="h-4 w-4"
|
|
176
|
-
viewBox="0 0 24 24"
|
|
177
|
-
fill="none"
|
|
178
|
-
stroke="currentColor"
|
|
179
|
-
stroke-width="2"
|
|
180
|
-
stroke-linecap="round"
|
|
181
|
-
stroke-linejoin="round">
|
|
182
|
-
<polyline points="20 6 9 17 4 12" />
|
|
183
|
-
</svg>
|
|
184
|
-
}
|
|
185
|
-
</span>
|
|
186
|
-
<ng-content />
|
|
187
|
-
`,
|
|
188
|
-
}]
|
|
189
|
-
}], propDecorators: { checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }, { type: i0.Output, args: ["checkedChange"] }] } });
|
|
190
|
-
class MenuRadioItemComponent extends MenuFocusableItem {
|
|
191
|
-
group = inject(MenuRadioGroupBase);
|
|
192
|
-
value = input.required(...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
193
|
-
checked = computed(() => this.group.isChecked(this.value()), ...(ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []));
|
|
194
|
-
classes = computed(() => this.buildItemClasses('pl-8'), ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
195
|
-
select(event) {
|
|
196
|
-
if (!this.emitSelection(event)) {
|
|
197
|
-
return;
|
|
198
|
-
}
|
|
199
|
-
this.group.select(this.value());
|
|
200
|
-
}
|
|
201
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuRadioItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
202
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: MenuRadioItemComponent, isStandalone: true, selector: "ui-menu-radio-item, button[ui-menu-radio-item]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "tabindex": "-1" }, listeners: { "click": "select($any($event))", "keydown.enter": "select($any($event))", "keydown.space": "select($any($event))" }, properties: { "class": "classes()", "attr.role": "\"menuitemradio\"", "attr.aria-disabled": "disabled ? \"true\" : null", "attr.aria-checked": "checked()", "attr.data-state": "checked() ? \"checked\" : \"unchecked\"", "attr.data-variant": "variant()" } }, providers: [{ provide: MenuFocusableItem, useExisting: forwardRef(() => MenuRadioItemComponent) }], usesInheritance: true, ngImport: i0, template: `
|
|
203
|
-
<span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
|
204
|
-
@if (checked()) {
|
|
205
|
-
<span aria-hidden="true" class="h-2 w-2 rounded-full bg-current"></span>
|
|
206
|
-
}
|
|
207
|
-
</span>
|
|
208
|
-
<ng-content />
|
|
209
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
210
|
-
}
|
|
211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuRadioItemComponent, decorators: [{
|
|
212
|
-
type: Component,
|
|
213
|
-
args: [{
|
|
214
|
-
selector: 'ui-menu-radio-item, button[ui-menu-radio-item]',
|
|
215
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
216
|
-
providers: [{ provide: MenuFocusableItem, useExisting: forwardRef(() => MenuRadioItemComponent) }],
|
|
217
|
-
host: {
|
|
218
|
-
'[class]': 'classes()',
|
|
219
|
-
'[attr.role]': '"menuitemradio"',
|
|
220
|
-
tabindex: '-1',
|
|
221
|
-
'[attr.aria-disabled]': 'disabled ? "true" : null',
|
|
222
|
-
'[attr.aria-checked]': 'checked()',
|
|
223
|
-
'[attr.data-state]': 'checked() ? "checked" : "unchecked"',
|
|
224
|
-
'[attr.data-variant]': 'variant()',
|
|
225
|
-
'(click)': 'select($any($event))',
|
|
226
|
-
'(keydown.enter)': 'select($any($event))',
|
|
227
|
-
'(keydown.space)': 'select($any($event))',
|
|
228
|
-
},
|
|
229
|
-
template: `
|
|
230
|
-
<span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
|
231
|
-
@if (checked()) {
|
|
232
|
-
<span aria-hidden="true" class="h-2 w-2 rounded-full bg-current"></span>
|
|
233
|
-
}
|
|
234
|
-
</span>
|
|
235
|
-
<ng-content />
|
|
236
|
-
`,
|
|
237
|
-
}]
|
|
238
|
-
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }] } });
|
|
239
|
-
class MenuSeparatorComponent {
|
|
240
|
-
class = input('', ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
|
|
241
|
-
classes = computed(() => cn('-mx-1 my-1 h-px bg-muted block', this.class()), ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
242
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
243
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.14", type: MenuSeparatorComponent, isStandalone: true, selector: "ui-menu-separator", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()", "attr.role": "\"separator\"", "attr.aria-orientation": "\"horizontal\"" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
244
|
-
}
|
|
245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuSeparatorComponent, decorators: [{
|
|
246
|
-
type: Component,
|
|
247
|
-
args: [{
|
|
248
|
-
selector: 'ui-menu-separator',
|
|
249
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
250
|
-
host: {
|
|
251
|
-
'[class]': 'classes()',
|
|
252
|
-
'[attr.role]': '"separator"',
|
|
253
|
-
'[attr.aria-orientation]': '"horizontal"',
|
|
254
|
-
},
|
|
255
|
-
template: '',
|
|
256
|
-
}]
|
|
257
|
-
}], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
258
|
-
class MenuLabelComponent {
|
|
259
|
-
inset = input(false, ...(ngDevMode ? [{ debugName: "inset" }] : /* istanbul ignore next */ []));
|
|
260
|
-
class = input('', ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
|
|
261
|
-
classes = computed(() => cn('px-2 py-1.5 text-sm font-semibold text-foreground', this.inset() ? 'pl-8' : '', this.class()), ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
262
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
263
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.14", type: MenuLabelComponent, isStandalone: true, selector: "ui-menu-label", inputs: { inset: { classPropertyName: "inset", publicName: "inset", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
264
|
-
}
|
|
265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuLabelComponent, decorators: [{
|
|
266
|
-
type: Component,
|
|
267
|
-
args: [{
|
|
268
|
-
selector: 'ui-menu-label',
|
|
269
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
270
|
-
host: { '[class]': 'classes()' },
|
|
271
|
-
template: `<ng-content />`,
|
|
272
|
-
}]
|
|
273
|
-
}], propDecorators: { inset: [{ type: i0.Input, args: [{ isSignal: true, alias: "inset", required: false }] }], class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
274
|
-
class MenuShortcutComponent {
|
|
275
|
-
class = input('', ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
|
|
276
|
-
classes = computed(() => cn('ml-auto text-xs tracking-widest text-muted-foreground', this.class()), ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
277
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuShortcutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
278
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.14", type: MenuShortcutComponent, isStandalone: true, selector: "ui-menu-shortcut, span[ui-menu-shortcut]", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
279
|
-
}
|
|
280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuShortcutComponent, decorators: [{
|
|
281
|
-
type: Component,
|
|
282
|
-
args: [{
|
|
283
|
-
selector: 'ui-menu-shortcut, span[ui-menu-shortcut]',
|
|
284
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
285
|
-
host: { '[class]': 'classes()' },
|
|
286
|
-
template: `<ng-content />`,
|
|
287
|
-
}]
|
|
288
|
-
}], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* Surface rendered inside the overlay. Hosts keyboard navigation for its items.
|
|
292
|
-
*/
|
|
293
|
-
class MenuSurfaceComponent {
|
|
294
|
-
class = input('', ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
|
|
295
|
-
items;
|
|
296
|
-
closeRequested = output();
|
|
297
|
-
keyManager = null;
|
|
298
|
-
classes = computed(() => cn('z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md outline-none', this.class()), ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
299
|
-
ngAfterContentInit() {
|
|
300
|
-
this.keyManager = new FocusKeyManager(this.items)
|
|
301
|
-
.withWrap()
|
|
302
|
-
.withTypeAhead()
|
|
303
|
-
.skipPredicate((item) => item.disabled);
|
|
304
|
-
// Focus the first enabled item when the menu opens.
|
|
305
|
-
queueMicrotask(() => this.keyManager?.setFirstItemActive());
|
|
306
|
-
}
|
|
307
|
-
onArrow(e, delta) {
|
|
308
|
-
e.preventDefault();
|
|
309
|
-
if (!this.keyManager)
|
|
310
|
-
return;
|
|
311
|
-
delta > 0 ? this.keyManager.setNextItemActive() : this.keyManager.setPreviousItemActive();
|
|
312
|
-
}
|
|
313
|
-
onHome(e) {
|
|
314
|
-
e.preventDefault();
|
|
315
|
-
this.keyManager?.setFirstItemActive();
|
|
316
|
-
}
|
|
317
|
-
onEnd(e) {
|
|
318
|
-
e.preventDefault();
|
|
319
|
-
this.keyManager?.setLastItemActive();
|
|
320
|
-
}
|
|
321
|
-
onTab(e) {
|
|
322
|
-
e.preventDefault();
|
|
323
|
-
this.closeRequested.emit();
|
|
324
|
-
}
|
|
325
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuSurfaceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
326
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.14", type: MenuSurfaceComponent, isStandalone: true, selector: "ui-menu-surface", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closeRequested: "closeRequested" }, host: { attributes: { "tabindex": "-1" }, listeners: { "keydown.arrowDown": "onArrow($any($event), 1)", "keydown.arrowUp": "onArrow($any($event), -1)", "keydown.home": "onHome($any($event))", "keydown.end": "onEnd($any($event))", "keydown.tab": "onTab($any($event))" }, properties: { "class": "classes()", "attr.role": "\"menu\"" } }, queries: [{ propertyName: "items", predicate: MenuFocusableItem, descendants: true }], ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
327
|
-
}
|
|
328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuSurfaceComponent, decorators: [{
|
|
329
|
-
type: Component,
|
|
330
|
-
args: [{
|
|
331
|
-
selector: 'ui-menu-surface',
|
|
332
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
333
|
-
host: {
|
|
334
|
-
'[class]': 'classes()',
|
|
335
|
-
'[attr.role]': '"menu"',
|
|
336
|
-
tabindex: '-1',
|
|
337
|
-
'(keydown.arrowDown)': 'onArrow($any($event), 1)',
|
|
338
|
-
'(keydown.arrowUp)': 'onArrow($any($event), -1)',
|
|
339
|
-
'(keydown.home)': 'onHome($any($event))',
|
|
340
|
-
'(keydown.end)': 'onEnd($any($event))',
|
|
341
|
-
'(keydown.tab)': 'onTab($any($event))',
|
|
342
|
-
},
|
|
343
|
-
template: `<ng-content />`,
|
|
344
|
-
}]
|
|
345
|
-
}], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], items: [{
|
|
346
|
-
type: ContentChildren,
|
|
347
|
-
args: [MenuFocusableItem, { descendants: true }]
|
|
348
|
-
}], closeRequested: [{ type: i0.Output, args: ["closeRequested"] }] } });
|
|
349
|
-
/**
|
|
350
|
-
* Wraps an `<ng-template>` that holds `<ui-menu-surface>` + items.
|
|
351
|
-
*/
|
|
352
|
-
class MenuContentDirective {
|
|
353
|
-
template = inject(TemplateRef);
|
|
354
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
355
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: MenuContentDirective, isStandalone: true, selector: "ng-template[uiMenuContent]", exportAs: ["uiMenuContent"], ngImport: i0 });
|
|
356
|
-
}
|
|
357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuContentDirective, decorators: [{
|
|
358
|
-
type: Directive,
|
|
359
|
-
args: [{
|
|
360
|
-
selector: 'ng-template[uiMenuContent]',
|
|
361
|
-
exportAs: 'uiMenuContent',
|
|
362
|
-
}]
|
|
363
|
-
}] });
|
|
364
|
-
|
|
365
|
-
function position(side, align) {
|
|
366
|
-
const ax = align === 'start' ? 'start' : align === 'end' ? 'end' : 'center';
|
|
367
|
-
const ay = align === 'start' ? 'top' : align === 'end' ? 'bottom' : 'center';
|
|
368
|
-
switch (side) {
|
|
369
|
-
case 'bottom':
|
|
370
|
-
return { originX: ax, originY: 'bottom', overlayX: ax, overlayY: 'top', offsetY: 4 };
|
|
371
|
-
case 'top':
|
|
372
|
-
return { originX: ax, originY: 'top', overlayX: ax, overlayY: 'bottom', offsetY: -4 };
|
|
373
|
-
case 'right':
|
|
374
|
-
return { originX: 'end', originY: ay, overlayX: 'start', overlayY: ay, offsetX: 4 };
|
|
375
|
-
case 'left':
|
|
376
|
-
return { originX: 'start', originY: ay, overlayX: 'end', overlayY: ay, offsetX: -4 };
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
/**
|
|
380
|
-
* Opens an `<ng-template uiMenuContent>` anchored to the trigger element.
|
|
381
|
-
*/
|
|
382
|
-
class MenuTriggerDirective {
|
|
383
|
-
overlay = inject(Overlay);
|
|
384
|
-
vcr = inject(ViewContainerRef);
|
|
385
|
-
el = inject(ElementRef);
|
|
386
|
-
destroyRef = inject(DestroyRef);
|
|
387
|
-
uiMenuTrigger = input.required(...(ngDevMode ? [{ debugName: "uiMenuTrigger" }] : /* istanbul ignore next */ []));
|
|
388
|
-
side = input('bottom', ...(ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []));
|
|
389
|
-
align = input('start', ...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
|
|
390
|
-
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
391
|
-
openedChange = output();
|
|
392
|
-
overlayRef = null;
|
|
393
|
-
isOpen = signal(false, ...(ngDevMode ? [{ debugName: "isOpen" }] : /* istanbul ignore next */ []));
|
|
394
|
-
toggle() {
|
|
395
|
-
if (this.disabled())
|
|
396
|
-
return;
|
|
397
|
-
this.isOpen() ? this.close() : this.open();
|
|
398
|
-
}
|
|
399
|
-
openAndFocus(e) {
|
|
400
|
-
if (this.disabled())
|
|
401
|
-
return;
|
|
402
|
-
e.preventDefault();
|
|
403
|
-
this.open();
|
|
404
|
-
}
|
|
405
|
-
open() {
|
|
406
|
-
if (this.isOpen() || this.disabled())
|
|
407
|
-
return;
|
|
408
|
-
const primary = position(this.side(), this.align());
|
|
409
|
-
const fallback = position(this.side() === 'top' ? 'bottom' : this.side() === 'bottom' ? 'top' : this.side(), this.align());
|
|
410
|
-
this.overlayRef = this.overlay.create({
|
|
411
|
-
positionStrategy: this.overlay.position().flexibleConnectedTo(this.el).withPositions([primary, fallback]),
|
|
412
|
-
scrollStrategy: this.overlay.scrollStrategies.reposition(),
|
|
413
|
-
hasBackdrop: false,
|
|
414
|
-
panelClass: 'ui-menu-panel',
|
|
415
|
-
});
|
|
416
|
-
const portal = new TemplatePortal(this.uiMenuTrigger().template, this.vcr);
|
|
417
|
-
this.overlayRef.attach(portal);
|
|
418
|
-
merge(this.overlayRef.outsidePointerEvents().pipe(filter((e) => !this.el.nativeElement.contains(e.target))), this.overlayRef.keydownEvents().pipe(filter((e) => e.key === 'Escape')), this.overlayRef.detachments())
|
|
419
|
-
.pipe(takeUntilDestroyed(this.destroyRef))
|
|
420
|
-
.subscribe(() => this.close());
|
|
421
|
-
this.isOpen.set(true);
|
|
422
|
-
this.openedChange.emit(true);
|
|
423
|
-
}
|
|
424
|
-
close() {
|
|
425
|
-
if (!this.isOpen())
|
|
426
|
-
return;
|
|
427
|
-
this.overlayRef?.dispose();
|
|
428
|
-
this.overlayRef = null;
|
|
429
|
-
this.isOpen.set(false);
|
|
430
|
-
this.openedChange.emit(false);
|
|
431
|
-
// Restore focus to trigger
|
|
432
|
-
this.el.nativeElement.focus();
|
|
433
|
-
}
|
|
434
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
435
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.14", type: MenuTriggerDirective, isStandalone: true, selector: "[uiMenuTrigger]", inputs: { uiMenuTrigger: { classPropertyName: "uiMenuTrigger", publicName: "uiMenuTrigger", isSignal: true, isRequired: true, transformFunction: null }, side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { openedChange: "openedChange" }, host: { listeners: { "click": "toggle()", "keydown.enter": "openAndFocus($any($event))", "keydown.space": "openAndFocus($any($event))", "keydown.arrowDown": "openAndFocus($any($event))" }, properties: { "attr.aria-haspopup": "\"menu\"", "attr.aria-expanded": "isOpen()" } }, exportAs: ["uiMenuTrigger"], ngImport: i0 });
|
|
436
|
-
}
|
|
437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MenuTriggerDirective, decorators: [{
|
|
438
|
-
type: Directive,
|
|
439
|
-
args: [{
|
|
440
|
-
selector: '[uiMenuTrigger]',
|
|
441
|
-
exportAs: 'uiMenuTrigger',
|
|
442
|
-
host: {
|
|
443
|
-
'[attr.aria-haspopup]': '"menu"',
|
|
444
|
-
'[attr.aria-expanded]': 'isOpen()',
|
|
445
|
-
'(click)': 'toggle()',
|
|
446
|
-
'(keydown.enter)': 'openAndFocus($any($event))',
|
|
447
|
-
'(keydown.space)': 'openAndFocus($any($event))',
|
|
448
|
-
'(keydown.arrowDown)': 'openAndFocus($any($event))',
|
|
449
|
-
},
|
|
450
|
-
}]
|
|
451
|
-
}], propDecorators: { uiMenuTrigger: [{ type: i0.Input, args: [{ isSignal: true, alias: "uiMenuTrigger", required: true }] }], side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], openedChange: [{ type: i0.Output, args: ["openedChange"] }] } });
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* Generated bundle index. Do not edit.
|
|
455
|
-
*/
|
|
456
|
-
|
|
457
|
-
export { MenuCheckboxItemComponent, MenuContentDirective, MenuFocusableItem, MenuGroupComponent, MenuItemComponent, MenuLabelComponent, MenuRadioGroupBase, MenuRadioGroupComponent, MenuRadioItemComponent, MenuSeparatorComponent, MenuShortcutComponent, MenuSurfaceComponent, MenuTriggerDirective };
|
|
458
|
-
//# sourceMappingURL=ojiepermana-angular-component-dropdown-menu.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ojiepermana-angular-component-dropdown-menu.mjs","sources":["../../../projects/angular/component/dropdown-menu/src/lib/menu-item.component.ts","../../../projects/angular/component/dropdown-menu/src/lib/menu-surface.component.ts","../../../projects/angular/component/dropdown-menu/src/lib/menu-trigger.directive.ts","../../../projects/angular/component/dropdown-menu/ojiepermana-angular-component-dropdown-menu.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ElementRef,\n computed,\n forwardRef,\n inject,\n input,\n model,\n output,\n} from '@angular/core';\nimport { cn } from '@ojiepermana/angular/component/utils';\n\nexport type MenuItemVariant = 'default' | 'destructive';\n\n@Directive()\nexport abstract class MenuFocusableItem {\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly disabledInput = input<boolean>(false, { alias: 'disabled' });\n readonly inset = input<boolean>(false);\n readonly class = input<string>('');\n readonly variant = input<MenuItemVariant>('default');\n\n readonly selected = output<MouseEvent | KeyboardEvent>();\n\n get disabled(): boolean {\n return this.disabledInput();\n }\n\n focus(): void {\n this.el.nativeElement.focus();\n }\n\n getLabel(): string {\n return this.el.nativeElement.textContent?.trim() ?? '';\n }\n\n protected buildItemClasses(extraClass = ''): string {\n return cn(\n 'relative flex w-full cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none',\n 'transition-colors focus:bg-accent focus:text-accent-foreground',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n 'data-[inset=true]:pl-8',\n 'data-[variant=destructive]:text-destructive',\n 'data-[variant=destructive]:focus:bg-destructive/10',\n 'data-[variant=destructive]:focus:text-destructive',\n extraClass,\n this.class(),\n );\n }\n\n protected emitSelection(event: MouseEvent | KeyboardEvent): boolean {\n if (this.disabled) {\n event.preventDefault();\n return false;\n }\n\n this.selected.emit(event);\n return true;\n }\n}\n\n@Component({\n selector: 'ui-menu-group',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class]': 'classes()',\n '[attr.role]': '\"group\"',\n },\n template: `<ng-content />`,\n})\nexport class MenuGroupComponent {\n readonly class = input<string>('');\n protected readonly classes = computed(() => cn('block', this.class()));\n}\n\n@Directive()\nexport abstract class MenuRadioGroupBase {\n abstract isChecked(value: string): boolean;\n abstract select(value: string): void;\n}\n\n@Component({\n selector: 'ui-menu-radio-group',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: MenuRadioGroupBase, useExisting: forwardRef(() => MenuRadioGroupComponent) }],\n host: {\n '[class]': 'classes()',\n '[attr.role]': '\"group\"',\n },\n template: `<ng-content />`,\n})\nexport class MenuRadioGroupComponent extends MenuRadioGroupBase {\n readonly value = model<string | null>(null);\n readonly class = input<string>('');\n\n protected readonly classes = computed(() => cn('block', this.class()));\n\n override isChecked(value: string): boolean {\n return this.value() === value;\n }\n\n override select(value: string): void {\n this.value.set(value);\n }\n}\n\n@Component({\n selector: 'ui-menu-item, button[ui-menu-item]',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: MenuFocusableItem, useExisting: forwardRef(() => MenuItemComponent) }],\n host: {\n '[class]': 'classes()',\n '[attr.role]': '\"menuitem\"',\n tabindex: '-1',\n '[attr.aria-disabled]': 'disabled ? \"true\" : null',\n '[attr.data-inset]': 'inset() ? \"true\" : null',\n '[attr.data-variant]': 'variant()',\n '(click)': 'handleClick($any($event))',\n '(keydown.enter)': 'handleClick($any($event))',\n '(keydown.space)': 'handleClick($any($event))',\n },\n template: `<ng-content />`,\n})\nexport class MenuItemComponent extends MenuFocusableItem {\n protected readonly classes = computed(() => this.buildItemClasses());\n\n protected handleClick(e: MouseEvent | KeyboardEvent): void {\n this.emitSelection(e);\n }\n}\n\n@Component({\n selector: 'ui-menu-checkbox-item, button[ui-menu-checkbox-item]',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: MenuFocusableItem, useExisting: forwardRef(() => MenuCheckboxItemComponent) }],\n host: {\n '[class]': 'classes()',\n '[attr.role]': '\"menuitemcheckbox\"',\n tabindex: '-1',\n '[attr.aria-disabled]': 'disabled ? \"true\" : null',\n '[attr.aria-checked]': 'checked()',\n '[attr.data-state]': 'checked() ? \"checked\" : \"unchecked\"',\n '[attr.data-variant]': 'variant()',\n '(click)': 'toggle($any($event))',\n '(keydown.enter)': 'toggle($any($event))',\n '(keydown.space)': 'toggle($any($event))',\n },\n template: `\n <span class=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n @if (checked()) {\n <svg\n aria-hidden=\"true\"\n class=\"h-4 w-4\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\">\n <polyline points=\"20 6 9 17 4 12\" />\n </svg>\n }\n </span>\n <ng-content />\n `,\n})\nexport class MenuCheckboxItemComponent extends MenuFocusableItem {\n readonly checked = model<boolean>(false);\n\n protected readonly classes = computed(() => this.buildItemClasses('pl-8'));\n\n protected toggle(event: MouseEvent | KeyboardEvent): void {\n if (!this.emitSelection(event)) {\n return;\n }\n\n this.checked.set(!this.checked());\n }\n}\n\n@Component({\n selector: 'ui-menu-radio-item, button[ui-menu-radio-item]',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: MenuFocusableItem, useExisting: forwardRef(() => MenuRadioItemComponent) }],\n host: {\n '[class]': 'classes()',\n '[attr.role]': '\"menuitemradio\"',\n tabindex: '-1',\n '[attr.aria-disabled]': 'disabled ? \"true\" : null',\n '[attr.aria-checked]': 'checked()',\n '[attr.data-state]': 'checked() ? \"checked\" : \"unchecked\"',\n '[attr.data-variant]': 'variant()',\n '(click)': 'select($any($event))',\n '(keydown.enter)': 'select($any($event))',\n '(keydown.space)': 'select($any($event))',\n },\n template: `\n <span class=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n @if (checked()) {\n <span aria-hidden=\"true\" class=\"h-2 w-2 rounded-full bg-current\"></span>\n }\n </span>\n <ng-content />\n `,\n})\nexport class MenuRadioItemComponent extends MenuFocusableItem {\n private readonly group = inject(MenuRadioGroupBase);\n\n readonly value = input.required<string>();\n\n protected readonly checked = computed(() => this.group.isChecked(this.value()));\n protected readonly classes = computed(() => this.buildItemClasses('pl-8'));\n\n protected select(event: MouseEvent | KeyboardEvent): void {\n if (!this.emitSelection(event)) {\n return;\n }\n\n this.group.select(this.value());\n }\n}\n\n@Component({\n selector: 'ui-menu-separator',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class]': 'classes()',\n '[attr.role]': '\"separator\"',\n '[attr.aria-orientation]': '\"horizontal\"',\n },\n template: '',\n})\nexport class MenuSeparatorComponent {\n readonly class = input<string>('');\n protected readonly classes = computed(() => cn('-mx-1 my-1 h-px bg-muted block', this.class()));\n}\n\n@Component({\n selector: 'ui-menu-label',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { '[class]': 'classes()' },\n template: `<ng-content />`,\n})\nexport class MenuLabelComponent {\n readonly inset = input<boolean>(false);\n readonly class = input<string>('');\n protected readonly classes = computed(() =>\n cn('px-2 py-1.5 text-sm font-semibold text-foreground', this.inset() ? 'pl-8' : '', this.class()),\n );\n}\n\n@Component({\n selector: 'ui-menu-shortcut, span[ui-menu-shortcut]',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { '[class]': 'classes()' },\n template: `<ng-content />`,\n})\nexport class MenuShortcutComponent {\n readonly class = input<string>('');\n protected readonly classes = computed(() =>\n cn('ml-auto text-xs tracking-widest text-muted-foreground', this.class()),\n );\n}\n","import { FocusKeyManager, FocusableOption } from '@angular/cdk/a11y';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n Directive,\n ElementRef,\n QueryList,\n TemplateRef,\n computed,\n inject,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { cn } from '@ojiepermana/angular/component/utils';\nimport { MenuFocusableItem } from './menu-item.component';\n\n/**\n * Surface rendered inside the overlay. Hosts keyboard navigation for its items.\n */\n@Component({\n selector: 'ui-menu-surface',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class]': 'classes()',\n '[attr.role]': '\"menu\"',\n tabindex: '-1',\n '(keydown.arrowDown)': 'onArrow($any($event), 1)',\n '(keydown.arrowUp)': 'onArrow($any($event), -1)',\n '(keydown.home)': 'onHome($any($event))',\n '(keydown.end)': 'onEnd($any($event))',\n '(keydown.tab)': 'onTab($any($event))',\n },\n template: `<ng-content />`,\n})\nexport class MenuSurfaceComponent implements AfterContentInit {\n readonly class = input<string>('');\n\n @ContentChildren(MenuFocusableItem, { descendants: true })\n private readonly items!: QueryList<MenuFocusableItem>;\n\n readonly closeRequested = output<void>();\n\n private keyManager: FocusKeyManager<MenuFocusableItem> | null = null;\n\n protected readonly classes = computed(() =>\n cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md outline-none',\n this.class(),\n ),\n );\n\n ngAfterContentInit(): void {\n this.keyManager = new FocusKeyManager<MenuFocusableItem & FocusableOption>(\n this.items as unknown as QueryList<MenuFocusableItem & FocusableOption>,\n )\n .withWrap()\n .withTypeAhead()\n .skipPredicate((item) => item.disabled);\n // Focus the first enabled item when the menu opens.\n queueMicrotask(() => this.keyManager?.setFirstItemActive());\n }\n\n protected onArrow(e: KeyboardEvent, delta: number): void {\n e.preventDefault();\n if (!this.keyManager) return;\n delta > 0 ? this.keyManager.setNextItemActive() : this.keyManager.setPreviousItemActive();\n }\n\n protected onHome(e: KeyboardEvent): void {\n e.preventDefault();\n this.keyManager?.setFirstItemActive();\n }\n\n protected onEnd(e: KeyboardEvent): void {\n e.preventDefault();\n this.keyManager?.setLastItemActive();\n }\n\n protected onTab(e: KeyboardEvent): void {\n e.preventDefault();\n this.closeRequested.emit();\n }\n}\n\n/**\n * Wraps an `<ng-template>` that holds `<ui-menu-surface>` + items.\n */\n@Directive({\n selector: 'ng-template[uiMenuContent]',\n exportAs: 'uiMenuContent',\n})\nexport class MenuContentDirective {\n readonly template = inject<TemplateRef<unknown>>(TemplateRef);\n}\n","import { Overlay, OverlayRef, ConnectedPosition } from '@angular/cdk/overlay';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport { DestroyRef, Directive, ElementRef, ViewContainerRef, inject, input, output, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { merge } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport type { MenuContentDirective } from './menu-surface.component';\n\nexport type MenuSide = 'top' | 'right' | 'bottom' | 'left';\nexport type MenuAlign = 'start' | 'center' | 'end';\n\nfunction position(side: MenuSide, align: MenuAlign): ConnectedPosition {\n const ax = align === 'start' ? 'start' : align === 'end' ? 'end' : 'center';\n const ay = align === 'start' ? 'top' : align === 'end' ? 'bottom' : 'center';\n switch (side) {\n case 'bottom':\n return { originX: ax, originY: 'bottom', overlayX: ax, overlayY: 'top', offsetY: 4 };\n case 'top':\n return { originX: ax, originY: 'top', overlayX: ax, overlayY: 'bottom', offsetY: -4 };\n case 'right':\n return { originX: 'end', originY: ay, overlayX: 'start', overlayY: ay, offsetX: 4 };\n case 'left':\n return { originX: 'start', originY: ay, overlayX: 'end', overlayY: ay, offsetX: -4 };\n }\n}\n\n/**\n * Opens an `<ng-template uiMenuContent>` anchored to the trigger element.\n */\n@Directive({\n selector: '[uiMenuTrigger]',\n exportAs: 'uiMenuTrigger',\n host: {\n '[attr.aria-haspopup]': '\"menu\"',\n '[attr.aria-expanded]': 'isOpen()',\n '(click)': 'toggle()',\n '(keydown.enter)': 'openAndFocus($any($event))',\n '(keydown.space)': 'openAndFocus($any($event))',\n '(keydown.arrowDown)': 'openAndFocus($any($event))',\n },\n})\nexport class MenuTriggerDirective {\n private readonly overlay = inject(Overlay);\n private readonly vcr = inject(ViewContainerRef);\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly destroyRef = inject(DestroyRef);\n\n readonly uiMenuTrigger = input.required<MenuContentDirective>();\n readonly side = input<MenuSide>('bottom');\n readonly align = input<MenuAlign>('start');\n readonly disabled = input<boolean>(false);\n\n readonly openedChange = output<boolean>();\n\n private overlayRef: OverlayRef | null = null;\n readonly isOpen = signal(false);\n\n toggle(): void {\n if (this.disabled()) return;\n this.isOpen() ? this.close() : this.open();\n }\n\n protected openAndFocus(e: KeyboardEvent): void {\n if (this.disabled()) return;\n e.preventDefault();\n this.open();\n }\n\n open(): void {\n if (this.isOpen() || this.disabled()) return;\n const primary = position(this.side(), this.align());\n const fallback = position(\n this.side() === 'top' ? 'bottom' : this.side() === 'bottom' ? 'top' : this.side(),\n this.align(),\n );\n\n this.overlayRef = this.overlay.create({\n positionStrategy: this.overlay.position().flexibleConnectedTo(this.el).withPositions([primary, fallback]),\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n hasBackdrop: false,\n panelClass: 'ui-menu-panel',\n });\n\n const portal = new TemplatePortal(this.uiMenuTrigger().template, this.vcr);\n this.overlayRef.attach(portal);\n\n merge(\n this.overlayRef.outsidePointerEvents().pipe(filter((e) => !this.el.nativeElement.contains(e.target as Node))),\n this.overlayRef.keydownEvents().pipe(filter((e) => e.key === 'Escape')),\n this.overlayRef.detachments(),\n )\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(() => this.close());\n\n this.isOpen.set(true);\n this.openedChange.emit(true);\n }\n\n close(): void {\n if (!this.isOpen()) return;\n this.overlayRef?.dispose();\n this.overlayRef = null;\n this.isOpen.set(false);\n this.openedChange.emit(false);\n // Restore focus to trigger\n this.el.nativeElement.focus();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;MAiBsB,iBAAiB,CAAA;AACpB,IAAA,EAAE,GAAG,MAAM,CAA0B,UAAU,CAAC;IAExD,aAAa,GAAG,KAAK,CAAU,KAAK,qFAAI,KAAK,EAAE,UAAU,EAAA,CAAG;AAC5D,IAAA,KAAK,GAAG,KAAK,CAAU,KAAK,4EAAC;AAC7B,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,4EAAC;AACzB,IAAA,OAAO,GAAG,KAAK,CAAkB,SAAS,8EAAC;IAE3C,QAAQ,GAAG,MAAM,EAA8B;AAExD,IAAA,IAAI,QAAQ,GAAA;AACV,QAAA,OAAO,IAAI,CAA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