@edsis/angular 21.3.3 → 21.3.8
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 +88 -257
- package/fesm2022/edsis-angular-module-auth.mjs +1301 -0
- package/fesm2022/edsis-angular-module-auth.mjs.map +1 -0
- package/fesm2022/edsis-angular.mjs +8 -0
- package/fesm2022/edsis-angular.mjs.map +1 -0
- package/package.json +13 -368
- package/types/edsis-angular-module-auth.d.ts +132 -0
- package/types/edsis-angular.d.ts +2 -0
- 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/fesm2022/ojiepermana-angular-theme.mjs +0 -382
- package/fesm2022/ojiepermana-angular-theme.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular.mjs +0 -22
- package/fesm2022/ojiepermana-angular.mjs.map +0 -1
- package/generator/api/README.md +0 -249
- 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 -236
- 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
- package/types/ojiepermana-angular-theme.d.ts +0 -116
- package/types/ojiepermana-angular.d.ts +0 -3
package/README.md
CHANGED
|
@@ -1,346 +1,177 @@
|
|
|
1
1
|
# @edsis/angular
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Angular library package for Edsis shared application features.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Published entry points:
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- `@edsis/angular`
|
|
8
|
+
- `@edsis/angular/module/auth`
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
bun install
|
|
11
|
-
```
|
|
10
|
+
The generated API SDK is published separately as `@edsis/sdk`.
|
|
12
11
|
|
|
13
|
-
##
|
|
12
|
+
## Generate and build
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
CLI so the required peer dependencies are added to the app's `package.json`
|
|
17
|
-
and installed in the same flow:
|
|
18
|
-
|
|
19
|
-
In the consumer snippets below, `@your-scope/angular` means the package name
|
|
20
|
-
your workspace actually installs. Replace it consistently with the published
|
|
21
|
-
target you use, for example `@edsis/angular`, `@edsis/angular`, or
|
|
22
|
-
another branded alias such as `@etos/angular`.
|
|
14
|
+
Use the root workspace scripts so SDK generation and library packaging stay in sync:
|
|
23
15
|
|
|
24
16
|
```bash
|
|
25
|
-
|
|
17
|
+
bun run build:library
|
|
26
18
|
```
|
|
27
19
|
|
|
28
|
-
|
|
29
|
-
not already have a compatible Tailwind v4 installation, `ng add` will add it
|
|
30
|
-
from the published `peerDependencies`.
|
|
31
|
-
|
|
32
|
-
When updating the library later, use Angular CLI as well:
|
|
20
|
+
That command builds the UI package, then the SDK, and finally packages this library:
|
|
33
21
|
|
|
34
22
|
```bash
|
|
35
|
-
|
|
23
|
+
bun run build:ui
|
|
24
|
+
bun run gen:sdk
|
|
25
|
+
bunx ng build sdk
|
|
26
|
+
bunx ng build library
|
|
36
27
|
```
|
|
37
28
|
|
|
38
|
-
The
|
|
39
|
-
companions stay aligned with the supported versions of the library.
|
|
29
|
+
The packaged output is written to `dist/library`, including the reusable `@edsis/angular/module/auth` entry point.
|
|
40
30
|
|
|
41
|
-
|
|
42
|
-
add` directly, peer dependency installation falls back to the package
|
|
43
|
-
manager's own behavior. In that flow, install Tailwind manually as well:
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
bun add @your-scope/angular tailwindcss@^4.3.0
|
|
47
|
-
```
|
|
31
|
+
## Full release
|
|
48
32
|
|
|
49
|
-
|
|
50
|
-
Tailwind bridge in this order:
|
|
51
|
-
|
|
52
|
-
```css
|
|
53
|
-
@import '@your-scope/angular/theme/styles';
|
|
54
|
-
@import 'tailwindcss';
|
|
55
|
-
@import '@your-scope/angular/theme/tailwind/theme.css';
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
## Theme entrypoint
|
|
59
|
-
|
|
60
|
-
The shared theme runtime ships through `@your-scope/angular/theme`, with
|
|
61
|
-
granular deep-import surfaces available at `@your-scope/angular/theme/services`,
|
|
62
|
-
`@your-scope/angular/theme/provider`, and `@your-scope/angular/theme/token`.
|
|
63
|
-
The CSS assets stay available through `@your-scope/angular/theme/styles` and
|
|
64
|
-
`@your-scope/angular/theme/tailwind/theme.css`.
|
|
65
|
-
|
|
66
|
-
```ts
|
|
67
|
-
import { provideMaterialTheme, withMaterialDefaults } from '@your-scope/angular/theme';
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
```css
|
|
71
|
-
@import '@your-scope/angular/theme/styles';
|
|
72
|
-
@import 'tailwindcss';
|
|
73
|
-
@import '@your-scope/angular/theme/tailwind/theme.css';
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
For contributors working in this repository, the theme entrypoint source is
|
|
77
|
-
split into runtime APIs under [`projects/angular/theme/services/src/lib`](theme/services/src/lib),
|
|
78
|
-
[`projects/angular/theme/provider/src/lib`](theme/provider/src/lib),
|
|
79
|
-
[`projects/angular/theme/token/src/lib`](theme/token/src/lib), and stylesheet
|
|
80
|
-
assets under [`projects/angular/theme/css`](theme/css).
|
|
81
|
-
The stylesheet sources are grouped into `foundation/`, `variants/`, and
|
|
82
|
-
`integrations/`. Local entrypoint notes live in
|
|
83
|
-
[`projects/angular/theme/README.md`](theme/README.md).
|
|
84
|
-
|
|
85
|
-
To run the theme-only regression suite from the workspace root, use:
|
|
33
|
+
Run the guarded release flow with:
|
|
86
34
|
|
|
87
35
|
```bash
|
|
88
|
-
bun run
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
## Breaking change migration
|
|
92
|
-
|
|
93
|
-
Granular secondary entrypoints are now the required component and navigation
|
|
94
|
-
surface. If your app previously imported from the removed
|
|
95
|
-
`@your-scope/angular/component` or `@your-scope/angular/navigation` barrels,
|
|
96
|
-
migrate in this order:
|
|
97
|
-
|
|
98
|
-
1. Confirm the package root you install in the consumer app. Keep that same
|
|
99
|
-
root in every `ng add`, `ng update`, stylesheet import, and TypeScript
|
|
100
|
-
import.
|
|
101
|
-
2. Replace broad barrel imports such as `@your-scope/angular/component` with
|
|
102
|
-
the smallest matching subpath, for example
|
|
103
|
-
`@your-scope/angular/component/button` or
|
|
104
|
-
`@your-scope/angular/component/dropdown-menu`.
|
|
105
|
-
3. Replace removed navigation imports such as `@your-scope/angular/navigation`
|
|
106
|
-
with the matching navigation subpath, for example
|
|
107
|
-
`@your-scope/angular/navigation/sidebar`,
|
|
108
|
-
`@your-scope/angular/navigation/topbar`,
|
|
109
|
-
`@your-scope/angular/navigation/service`, or
|
|
110
|
-
`@your-scope/angular/navigation/types`.
|
|
111
|
-
4. Update any internal helper imports to their new granular subpaths as well,
|
|
112
|
-
including utilities such as `@your-scope/angular/component/utils`.
|
|
113
|
-
5. Update schematic commands in the same way. The package name before the
|
|
114
|
-
colon must match the installed target.
|
|
115
|
-
|
|
116
|
-
Example migration:
|
|
117
|
-
|
|
118
|
-
```ts
|
|
119
|
-
import { ButtonComponent } from '@your-scope/angular/component/button';
|
|
120
|
-
import { DropdownMenuComponent } from '@your-scope/angular/component/dropdown-menu';
|
|
121
|
-
import { SidebarComponent } from '@your-scope/angular/navigation/sidebar';
|
|
122
|
-
import { NavigationService } from '@your-scope/angular/navigation/service';
|
|
123
|
-
import { UiNavIconComponent } from '@your-scope/angular/navigation/icon';
|
|
36
|
+
bun run release:library
|
|
124
37
|
```
|
|
125
38
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
Prefer the smallest subpath that matches the primitives you actually use,
|
|
129
|
-
especially in Native Federation or other shared-chunk builds. Every component
|
|
130
|
-
now ships only through its matching granular subpath, for example
|
|
131
|
-
`@your-scope/angular/component/date-picker`,
|
|
132
|
-
`@your-scope/angular/component/dropdown-menu`, and
|
|
133
|
-
`@your-scope/angular/component/tooltip`.
|
|
134
|
-
|
|
135
|
-
```ts
|
|
136
|
-
import { AvatarComponent, AvatarFallbackComponent, AvatarImageComponent } from '@your-scope/angular/component/avatar';
|
|
137
|
-
import { ButtonComponent } from '@your-scope/angular/component/button';
|
|
138
|
-
import { PopoverContentDirective, PopoverTriggerDirective } from '@your-scope/angular/component/popover';
|
|
139
|
-
import { cn } from '@your-scope/angular/component/utils';
|
|
140
|
-
import { UiNavIconComponent } from '@your-scope/angular/navigation/icon';
|
|
141
|
-
```
|
|
39
|
+
The script will:
|
|
142
40
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
`@your-scope/angular/navigation/topbar`,
|
|
153
|
-
`@your-scope/angular/navigation/item`,
|
|
154
|
-
`@your-scope/angular/navigation/icon`, and
|
|
155
|
-
`@your-scope/angular/navigation/demo-data`.
|
|
156
|
-
|
|
157
|
-
The same subpaths are preserved for branded packages. For example, a consumer
|
|
158
|
-
built from the EDSIS release uses:
|
|
159
|
-
|
|
160
|
-
```ts
|
|
161
|
-
import { ButtonComponent } from '@edsis/angular/component/button';
|
|
162
|
-
import { cn } from '@edsis/angular/component/utils';
|
|
163
|
-
import { UiNavIconComponent } from '@edsis/angular/navigation/icon';
|
|
164
|
-
```
|
|
41
|
+
- reject the release if the git worktree is dirty
|
|
42
|
+
- reject the release if the current branch still has commits that are not pushed, is behind, or is diverged from its upstream branch
|
|
43
|
+
- ask for a version bump using `X`, `Y`, or `Z`
|
|
44
|
+
- map `X` to major, `Y` to minor, and `Z` to patch, then increment the current version automatically
|
|
45
|
+
- ask for a final confirmation before continuing
|
|
46
|
+
- run `bun run build:library`
|
|
47
|
+
- commit the version bump and generated SDK updates with `update version ke {{version}}`
|
|
48
|
+
- push the commit
|
|
49
|
+
- publish `dist/library` to the public npm registry
|
|
165
50
|
|
|
166
|
-
|
|
167
|
-
build, run:
|
|
51
|
+
For a non-interactive release, provide the bump and confirmation flags explicitly:
|
|
168
52
|
|
|
169
53
|
```bash
|
|
170
|
-
bun run
|
|
171
|
-
bun run report:entrypoints -- --check
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
The size report validates that every granular component and navigation
|
|
175
|
-
entrypoint resolves to its own module and that the removed `./component` and
|
|
176
|
-
`./navigation` parent barrels do not return in the published exports.
|
|
177
|
-
|
|
178
|
-
## Navigation primitives
|
|
179
|
-
|
|
180
|
-
The navigation library now publishes only granular child entrypoints, so each
|
|
181
|
-
part can be consumed independently.
|
|
182
|
-
|
|
183
|
-
```ts
|
|
184
|
-
import { SidebarComponent } from '@your-scope/angular/navigation/sidebar';
|
|
185
|
-
import { TopbarComponent } from '@your-scope/angular/navigation/topbar';
|
|
186
|
-
import { NavigationService } from '@your-scope/angular/navigation/service';
|
|
187
|
-
import type { NavigationItem, SidebarAppearance } from '@your-scope/angular/navigation/types';
|
|
188
|
-
import { UiNavIconComponent } from '@your-scope/angular/navigation/icon';
|
|
54
|
+
bun run release:library --bump Z --yes
|
|
189
55
|
```
|
|
190
56
|
|
|
191
|
-
|
|
192
|
-
slots use `sidebar-header` and `sidebar-footer`.
|
|
57
|
+
Preview the release plan without changing files:
|
|
193
58
|
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
<div sidebar-header>Brand</div>
|
|
197
|
-
<div sidebar-footer>Footer actions</div>
|
|
198
|
-
</sidebar>
|
|
59
|
+
```bash
|
|
60
|
+
bun run release:library:dry-run --bump Y --yes
|
|
199
61
|
```
|
|
200
62
|
|
|
201
|
-
|
|
63
|
+
## Versioning
|
|
202
64
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
After `@edsis/angular` is installed, a consumer workspace can scaffold an
|
|
206
|
-
SDK config file under `config/sdk.config.json` and generate an Angular SDK directly from the published
|
|
207
|
-
schematics:
|
|
65
|
+
Update the publishable package version in `library/angular/package.json` with:
|
|
208
66
|
|
|
209
67
|
```bash
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
68
|
+
bun run version:library patch
|
|
69
|
+
bun run version:library minor
|
|
70
|
+
bun run version:library 1.2.3
|
|
71
|
+
bun run version:library prerelease --preid beta
|
|
213
72
|
```
|
|
214
73
|
|
|
215
|
-
The
|
|
216
|
-
|
|
74
|
+
The version script only updates the source package manifest. The built package in
|
|
75
|
+
`dist/library` picks up the version on the next `bun run build:library`.
|
|
217
76
|
|
|
218
|
-
|
|
77
|
+
## Pack and publish locally
|
|
219
78
|
|
|
220
|
-
|
|
221
|
-
{
|
|
222
|
-
"scripts": {
|
|
223
|
-
"gen:sdk:init": "ng generate @your-scope/angular:sdk-init",
|
|
224
|
-
"gen:sdk": "ng generate @your-scope/angular:sdk"
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
Consumers do not need a `gen:sdk:build` step because the npm package already
|
|
230
|
-
ships the compiled schematic runtime.
|
|
231
|
-
|
|
232
|
-
Common follow-up options:
|
|
79
|
+
Run the interactive local publish workflow with:
|
|
233
80
|
|
|
234
81
|
```bash
|
|
235
|
-
|
|
236
|
-
ng generate @your-scope/angular:sdk --config=config/my-sdk.config.json --dry-run
|
|
82
|
+
bun run publish
|
|
237
83
|
```
|
|
238
84
|
|
|
239
|
-
|
|
85
|
+
The script will:
|
|
240
86
|
|
|
241
|
-
|
|
87
|
+
- verify the active npm login against the public npm registry
|
|
88
|
+
- ask for a version bump using `X`, `Y`, or `Z`
|
|
89
|
+
- update `library/sdk/package.json`, `config/sdk.config.json`, and `library/angular/package.json`
|
|
90
|
+
- run `bun run build:library`, which builds the UI package, then the SDK, and finally the library
|
|
91
|
+
- publish `dist/sdk` and then `dist/library` to npm public with `--access public`
|
|
242
92
|
|
|
243
|
-
|
|
244
|
-
bun run ng generate component component-name
|
|
245
|
-
```
|
|
246
|
-
|
|
247
|
-
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
93
|
+
For a non-interactive publish, provide the bump and confirmation flags explicitly:
|
|
248
94
|
|
|
249
95
|
```bash
|
|
250
|
-
bun run
|
|
96
|
+
bun run publish --bump Z --yes
|
|
251
97
|
```
|
|
252
98
|
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
To build the library, run:
|
|
99
|
+
Preview the publish plan without changing files:
|
|
256
100
|
|
|
257
101
|
```bash
|
|
258
|
-
bun run
|
|
102
|
+
bun run publish --dry-run --bump Y --yes
|
|
259
103
|
```
|
|
260
104
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
To inspect the generated entrypoint sizes after a build, run:
|
|
105
|
+
Publish only the SDK package:
|
|
264
106
|
|
|
265
107
|
```bash
|
|
266
|
-
bun run
|
|
108
|
+
bun run publish --sdk --bump Z --yes
|
|
267
109
|
```
|
|
268
110
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
Publish the scoped package to the public npm registry from the workspace root.
|
|
272
|
-
|
|
273
|
-
First, log in to npm:
|
|
111
|
+
Publish only the library package:
|
|
274
112
|
|
|
275
113
|
```bash
|
|
276
|
-
|
|
114
|
+
bun run publish --lib --bump Z --yes
|
|
277
115
|
```
|
|
278
116
|
|
|
279
|
-
|
|
117
|
+
Preview the npm tarball:
|
|
280
118
|
|
|
281
119
|
```bash
|
|
282
|
-
bun run
|
|
120
|
+
bun run pack:library
|
|
283
121
|
```
|
|
284
122
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
Release targets are configured in `config/release.config.json`. Each entry can override the published
|
|
288
|
-
package name plus `repository`, `homepage`, and `bugs` metadata so npm shows the correct package identity.
|
|
289
|
-
|
|
290
|
-
To publish the `edsis` target from that config, run:
|
|
123
|
+
Publish to npm:
|
|
291
124
|
|
|
292
125
|
```bash
|
|
293
|
-
bun run publish
|
|
126
|
+
bun run publish
|
|
127
|
+
bun run publish --tag next
|
|
128
|
+
bun run publish:sdk
|
|
129
|
+
bun run publish:library
|
|
294
130
|
```
|
|
295
131
|
|
|
296
|
-
|
|
132
|
+
Run a local publish dry-run:
|
|
297
133
|
|
|
298
134
|
```bash
|
|
299
|
-
bun run publish
|
|
135
|
+
bun run publish:sdk:dry-run
|
|
136
|
+
bun run publish:library:dry-run
|
|
300
137
|
```
|
|
301
138
|
|
|
302
|
-
`bun
|
|
303
|
-
|
|
304
|
-
That flow rebuilds `dist/angular` for each configured target, rewrites published package references, applies
|
|
305
|
-
the target-specific npm metadata, smoke-tests the tarball, then publishes it to npm.
|
|
306
|
-
|
|
307
|
-
### EDSIS Verification Flow
|
|
308
|
-
|
|
309
|
-
To validate the EDSIS package locally without publishing, use:
|
|
139
|
+
When updating `@ojiepermana/angular`, use the helper below instead of a plain `bun update` so the version pin, patch mapping, install step, and SDK build verification stay in sync:
|
|
310
140
|
|
|
311
141
|
```bash
|
|
312
|
-
bun run
|
|
313
|
-
bun run smoke:pack -- --package @edsis/angular
|
|
142
|
+
bun run update:edsis
|
|
314
143
|
```
|
|
315
144
|
|
|
316
|
-
|
|
145
|
+
If a specific version needs to be tested:
|
|
317
146
|
|
|
318
147
|
```bash
|
|
319
|
-
|
|
320
|
-
bun add @edsis/angular
|
|
148
|
+
bun run update:edsis 21.1.11
|
|
321
149
|
```
|
|
322
150
|
|
|
323
|
-
|
|
324
|
-
finishes.
|
|
325
|
-
|
|
326
|
-
## Running unit tests
|
|
151
|
+
`publish` publishes `@edsis/sdk` before `@edsis/angular`. `publish:sdk` and `publish:library` use the same helper with `--sdk` or `--lib` and force `--access public`.
|
|
327
152
|
|
|
328
|
-
|
|
153
|
+
For local publishes, the script does not add `--provenance` by default because npm provenance generation is not supported outside compatible CI providers. If you need provenance in a supported CI environment, pass it explicitly:
|
|
329
154
|
|
|
330
155
|
```bash
|
|
331
|
-
bun run
|
|
156
|
+
bun run publish --provenance
|
|
332
157
|
```
|
|
333
158
|
|
|
334
|
-
##
|
|
159
|
+
## GitHub publish workflow
|
|
335
160
|
|
|
336
|
-
|
|
161
|
+
The repository includes `.github/workflows/publish-library.yml`.
|
|
337
162
|
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
163
|
+
It supports:
|
|
164
|
+
|
|
165
|
+
- pushing a tag named `library-vX.Y.Z`
|
|
166
|
+
- manual `workflow_dispatch` runs with an npm tag and optional dry-run
|
|
341
167
|
|
|
342
|
-
|
|
168
|
+
The workflow uses npm trusted publishing via GitHub Actions OIDC, so it does
|
|
169
|
+
not require a repository `NPM_TOKEN` secret. The npm package must be configured
|
|
170
|
+
to trust this repository workflow as a publisher. On tag pushes, the tag
|
|
171
|
+
version must match `library/angular/package.json`.
|
|
343
172
|
|
|
344
|
-
|
|
173
|
+
Recommended local release flow:
|
|
345
174
|
|
|
346
|
-
|
|
175
|
+
1. Run `bun run release:library`.
|
|
176
|
+
2. Select `X`, `Y`, or `Z`, then confirm the computed version.
|
|
177
|
+
3. Let the script build, commit, push, and publish the package.
|