@vanelsas/baredom-angular 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +163 -0
- package/dist/cva/x-checkbox-cva.directive.d.ts +21 -0
- package/dist/cva/x-checkbox-cva.directive.d.ts.map +1 -0
- package/dist/cva/x-checkbox-cva.directive.js +66 -0
- package/dist/cva/x-checkbox-cva.directive.js.map +1 -0
- package/dist/cva/x-combobox-cva.directive.d.ts +21 -0
- package/dist/cva/x-combobox-cva.directive.d.ts.map +1 -0
- package/dist/cva/x-combobox-cva.directive.js +66 -0
- package/dist/cva/x-combobox-cva.directive.js.map +1 -0
- package/dist/cva/x-currency-field-cva.directive.d.ts +21 -0
- package/dist/cva/x-currency-field-cva.directive.d.ts.map +1 -0
- package/dist/cva/x-currency-field-cva.directive.js +66 -0
- package/dist/cva/x-currency-field-cva.directive.js.map +1 -0
- package/dist/cva/x-pagination-cva.directive.d.ts +21 -0
- package/dist/cva/x-pagination-cva.directive.d.ts.map +1 -0
- package/dist/cva/x-pagination-cva.directive.js +66 -0
- package/dist/cva/x-pagination-cva.directive.js.map +1 -0
- package/dist/cva/x-radio-cva.directive.d.ts +21 -0
- package/dist/cva/x-radio-cva.directive.d.ts.map +1 -0
- package/dist/cva/x-radio-cva.directive.js +66 -0
- package/dist/cva/x-radio-cva.directive.js.map +1 -0
- package/dist/cva/x-select-cva.directive.d.ts +21 -0
- package/dist/cva/x-select-cva.directive.d.ts.map +1 -0
- package/dist/cva/x-select-cva.directive.js +66 -0
- package/dist/cva/x-select-cva.directive.js.map +1 -0
- package/dist/cva/x-slider-cva.directive.d.ts +21 -0
- package/dist/cva/x-slider-cva.directive.d.ts.map +1 -0
- package/dist/cva/x-slider-cva.directive.js +66 -0
- package/dist/cva/x-slider-cva.directive.js.map +1 -0
- package/dist/cva/x-switch-cva.directive.d.ts +21 -0
- package/dist/cva/x-switch-cva.directive.d.ts.map +1 -0
- package/dist/cva/x-switch-cva.directive.js +66 -0
- package/dist/cva/x-switch-cva.directive.js.map +1 -0
- package/dist/cva/x-tabs-cva.directive.d.ts +21 -0
- package/dist/cva/x-tabs-cva.directive.d.ts.map +1 -0
- package/dist/cva/x-tabs-cva.directive.js +66 -0
- package/dist/cva/x-tabs-cva.directive.js.map +1 -0
- package/dist/cva/x-text-area-cva.directive.d.ts +21 -0
- package/dist/cva/x-text-area-cva.directive.d.ts.map +1 -0
- package/dist/cva/x-text-area-cva.directive.js +66 -0
- package/dist/cva/x-text-area-cva.directive.js.map +1 -0
- package/dist/directives/x-alert.directive.d.ts +26 -0
- package/dist/directives/x-alert.directive.d.ts.map +1 -0
- package/dist/directives/x-alert.directive.js +51 -0
- package/dist/directives/x-alert.directive.js.map +1 -0
- package/dist/directives/x-avatar-group.directive.d.ts +16 -0
- package/dist/directives/x-avatar-group.directive.d.ts.map +1 -0
- package/dist/directives/x-avatar-group.directive.js +35 -0
- package/dist/directives/x-avatar-group.directive.js.map +1 -0
- package/dist/directives/x-avatar.directive.d.ts +19 -0
- package/dist/directives/x-avatar.directive.d.ts.map +1 -0
- package/dist/directives/x-avatar.directive.js +44 -0
- package/dist/directives/x-avatar.directive.js.map +1 -0
- package/dist/directives/x-badge.directive.d.ts +17 -0
- package/dist/directives/x-badge.directive.d.ts.map +1 -0
- package/dist/directives/x-badge.directive.js +38 -0
- package/dist/directives/x-badge.directive.js.map +1 -0
- package/dist/directives/x-bento-grid.directive.d.ts +10 -0
- package/dist/directives/x-bento-grid.directive.d.ts.map +1 -0
- package/dist/directives/x-bento-grid.directive.js +17 -0
- package/dist/directives/x-bento-grid.directive.js.map +1 -0
- package/dist/directives/x-bento-item.directive.d.ts +10 -0
- package/dist/directives/x-bento-item.directive.d.ts.map +1 -0
- package/dist/directives/x-bento-item.directive.js +17 -0
- package/dist/directives/x-bento-item.directive.js.map +1 -0
- package/dist/directives/x-breadcrumbs.directive.d.ts +18 -0
- package/dist/directives/x-breadcrumbs.directive.d.ts.map +1 -0
- package/dist/directives/x-breadcrumbs.directive.js +41 -0
- package/dist/directives/x-breadcrumbs.directive.js.map +1 -0
- package/dist/directives/x-button.directive.d.ts +30 -0
- package/dist/directives/x-button.directive.d.ts.map +1 -0
- package/dist/directives/x-button.directive.js +62 -0
- package/dist/directives/x-button.directive.js.map +1 -0
- package/dist/directives/x-cancel-dialogue.directive.d.ts +31 -0
- package/dist/directives/x-cancel-dialogue.directive.d.ts.map +1 -0
- package/dist/directives/x-cancel-dialogue.directive.js +69 -0
- package/dist/directives/x-cancel-dialogue.directive.js.map +1 -0
- package/dist/directives/x-card.directive.d.ts +18 -0
- package/dist/directives/x-card.directive.d.ts.map +1 -0
- package/dist/directives/x-card.directive.js +39 -0
- package/dist/directives/x-card.directive.js.map +1 -0
- package/dist/directives/x-carousel.directive.d.ts +30 -0
- package/dist/directives/x-carousel.directive.d.ts.map +1 -0
- package/dist/directives/x-carousel.directive.js +63 -0
- package/dist/directives/x-carousel.directive.js.map +1 -0
- package/dist/directives/x-chart.directive.d.ts +21 -0
- package/dist/directives/x-chart.directive.d.ts.map +1 -0
- package/dist/directives/x-chart.directive.js +50 -0
- package/dist/directives/x-chart.directive.js.map +1 -0
- package/dist/directives/x-checkbox.directive.d.ts +31 -0
- package/dist/directives/x-checkbox.directive.d.ts.map +1 -0
- package/dist/directives/x-checkbox.directive.js +58 -0
- package/dist/directives/x-checkbox.directive.js.map +1 -0
- package/dist/directives/x-chip.directive.d.ts +23 -0
- package/dist/directives/x-chip.directive.d.ts.map +1 -0
- package/dist/directives/x-chip.directive.js +45 -0
- package/dist/directives/x-chip.directive.js.map +1 -0
- package/dist/directives/x-collapse.directive.d.ts +26 -0
- package/dist/directives/x-collapse.directive.d.ts.map +1 -0
- package/dist/directives/x-collapse.directive.js +49 -0
- package/dist/directives/x-collapse.directive.js.map +1 -0
- package/dist/directives/x-color-picker.directive.d.ts +38 -0
- package/dist/directives/x-color-picker.directive.d.ts.map +1 -0
- package/dist/directives/x-color-picker.directive.js +64 -0
- package/dist/directives/x-color-picker.directive.js.map +1 -0
- package/dist/directives/x-combobox.directive.d.ts +38 -0
- package/dist/directives/x-combobox.directive.d.ts.map +1 -0
- package/dist/directives/x-combobox.directive.js +66 -0
- package/dist/directives/x-combobox.directive.js.map +1 -0
- package/dist/directives/x-command-palette.directive.d.ts +31 -0
- package/dist/directives/x-command-palette.directive.d.ts.map +1 -0
- package/dist/directives/x-command-palette.directive.js +66 -0
- package/dist/directives/x-command-palette.directive.js.map +1 -0
- package/dist/directives/x-container.directive.d.ts +12 -0
- package/dist/directives/x-container.directive.d.ts.map +1 -0
- package/dist/directives/x-container.directive.js +23 -0
- package/dist/directives/x-container.directive.js.map +1 -0
- package/dist/directives/x-context-menu.directive.d.ts +15 -0
- package/dist/directives/x-context-menu.directive.d.ts.map +1 -0
- package/dist/directives/x-context-menu.directive.js +32 -0
- package/dist/directives/x-context-menu.directive.js.map +1 -0
- package/dist/directives/x-copy.directive.d.ts +39 -0
- package/dist/directives/x-copy.directive.d.ts.map +1 -0
- package/dist/directives/x-copy.directive.js +75 -0
- package/dist/directives/x-copy.directive.js.map +1 -0
- package/dist/directives/x-currency-field.directive.d.ts +41 -0
- package/dist/directives/x-currency-field.directive.d.ts.map +1 -0
- package/dist/directives/x-currency-field.directive.js +80 -0
- package/dist/directives/x-currency-field.directive.js.map +1 -0
- package/dist/directives/x-date-picker.directive.d.ts +18 -0
- package/dist/directives/x-date-picker.directive.d.ts.map +1 -0
- package/dist/directives/x-date-picker.directive.js +41 -0
- package/dist/directives/x-date-picker.directive.js.map +1 -0
- package/dist/directives/x-divider.directive.d.ts +18 -0
- package/dist/directives/x-divider.directive.d.ts.map +1 -0
- package/dist/directives/x-divider.directive.js +41 -0
- package/dist/directives/x-divider.directive.js.map +1 -0
- package/dist/directives/x-drawer.directive.d.ts +27 -0
- package/dist/directives/x-drawer.directive.d.ts.map +1 -0
- package/dist/directives/x-drawer.directive.js +49 -0
- package/dist/directives/x-drawer.directive.js.map +1 -0
- package/dist/directives/x-dropdown.directive.d.ts +26 -0
- package/dist/directives/x-dropdown.directive.d.ts.map +1 -0
- package/dist/directives/x-dropdown.directive.js +49 -0
- package/dist/directives/x-dropdown.directive.js.map +1 -0
- package/dist/directives/x-fieldset.directive.d.ts +12 -0
- package/dist/directives/x-fieldset.directive.d.ts.map +1 -0
- package/dist/directives/x-fieldset.directive.js +23 -0
- package/dist/directives/x-fieldset.directive.js.map +1 -0
- package/dist/directives/x-file-download.directive.d.ts +22 -0
- package/dist/directives/x-file-download.directive.d.ts.map +1 -0
- package/dist/directives/x-file-download.directive.js +42 -0
- package/dist/directives/x-file-download.directive.js.map +1 -0
- package/dist/directives/x-file-upload.directive.d.ts +30 -0
- package/dist/directives/x-file-upload.directive.d.ts.map +1 -0
- package/dist/directives/x-file-upload.directive.js +58 -0
- package/dist/directives/x-file-upload.directive.js.map +1 -0
- package/dist/directives/x-form-field.directive.d.ts +32 -0
- package/dist/directives/x-form-field.directive.d.ts.map +1 -0
- package/dist/directives/x-form-field.directive.js +64 -0
- package/dist/directives/x-form-field.directive.js.map +1 -0
- package/dist/directives/x-form.directive.d.ts +22 -0
- package/dist/directives/x-form.directive.d.ts.map +1 -0
- package/dist/directives/x-form.directive.js +46 -0
- package/dist/directives/x-form.directive.js.map +1 -0
- package/dist/directives/x-gaussian-blur.directive.d.ts +19 -0
- package/dist/directives/x-gaussian-blur.directive.d.ts.map +1 -0
- package/dist/directives/x-gaussian-blur.directive.js +44 -0
- package/dist/directives/x-gaussian-blur.directive.js.map +1 -0
- package/dist/directives/x-grid.directive.d.ts +10 -0
- package/dist/directives/x-grid.directive.d.ts.map +1 -0
- package/dist/directives/x-grid.directive.js +17 -0
- package/dist/directives/x-grid.directive.js.map +1 -0
- package/dist/directives/x-icon.directive.d.ts +13 -0
- package/dist/directives/x-icon.directive.d.ts.map +1 -0
- package/dist/directives/x-icon.directive.js +26 -0
- package/dist/directives/x-icon.directive.js.map +1 -0
- package/dist/directives/x-image.directive.d.ts +30 -0
- package/dist/directives/x-image.directive.d.ts.map +1 -0
- package/dist/directives/x-image.directive.js +58 -0
- package/dist/directives/x-image.directive.js.map +1 -0
- package/dist/directives/x-kinetic-canvas.directive.d.ts +16 -0
- package/dist/directives/x-kinetic-canvas.directive.d.ts.map +1 -0
- package/dist/directives/x-kinetic-canvas.directive.js +35 -0
- package/dist/directives/x-kinetic-canvas.directive.js.map +1 -0
- package/dist/directives/x-kinetic-font.directive.d.ts +27 -0
- package/dist/directives/x-kinetic-font.directive.d.ts.map +1 -0
- package/dist/directives/x-kinetic-font.directive.js +67 -0
- package/dist/directives/x-kinetic-font.directive.js.map +1 -0
- package/dist/directives/x-kinetic-typography.directive.d.ts +25 -0
- package/dist/directives/x-kinetic-typography.directive.d.ts.map +1 -0
- package/dist/directives/x-kinetic-typography.directive.js +62 -0
- package/dist/directives/x-kinetic-typography.directive.js.map +1 -0
- package/dist/directives/x-liquid-dock.directive.d.ts +31 -0
- package/dist/directives/x-liquid-dock.directive.d.ts.map +1 -0
- package/dist/directives/x-liquid-dock.directive.js +66 -0
- package/dist/directives/x-liquid-dock.directive.js.map +1 -0
- package/dist/directives/x-liquid-fill.directive.d.ts +27 -0
- package/dist/directives/x-liquid-fill.directive.d.ts.map +1 -0
- package/dist/directives/x-liquid-fill.directive.js +57 -0
- package/dist/directives/x-liquid-fill.directive.js.map +1 -0
- package/dist/directives/x-liquid-glass.directive.d.ts +24 -0
- package/dist/directives/x-liquid-glass.directive.d.ts.map +1 -0
- package/dist/directives/x-liquid-glass.directive.js +59 -0
- package/dist/directives/x-liquid-glass.directive.js.map +1 -0
- package/dist/directives/x-menu-item.directive.d.ts +22 -0
- package/dist/directives/x-menu-item.directive.d.ts.map +1 -0
- package/dist/directives/x-menu-item.directive.js +45 -0
- package/dist/directives/x-menu-item.directive.js.map +1 -0
- package/dist/directives/x-menu.directive.d.ts +23 -0
- package/dist/directives/x-menu.directive.d.ts.map +1 -0
- package/dist/directives/x-menu.directive.js +50 -0
- package/dist/directives/x-menu.directive.js.map +1 -0
- package/dist/directives/x-metaball-cursor.directive.d.ts +20 -0
- package/dist/directives/x-metaball-cursor.directive.d.ts.map +1 -0
- package/dist/directives/x-metaball-cursor.directive.js +47 -0
- package/dist/directives/x-metaball-cursor.directive.js.map +1 -0
- package/dist/directives/x-modal.directive.d.ts +27 -0
- package/dist/directives/x-modal.directive.d.ts.map +1 -0
- package/dist/directives/x-modal.directive.js +49 -0
- package/dist/directives/x-modal.directive.js.map +1 -0
- package/dist/directives/x-morph-stack.directive.d.ts +32 -0
- package/dist/directives/x-morph-stack.directive.d.ts.map +1 -0
- package/dist/directives/x-morph-stack.directive.js +61 -0
- package/dist/directives/x-morph-stack.directive.js.map +1 -0
- package/dist/directives/x-navbar.directive.d.ts +30 -0
- package/dist/directives/x-navbar.directive.d.ts.map +1 -0
- package/dist/directives/x-navbar.directive.js +62 -0
- package/dist/directives/x-navbar.directive.js.map +1 -0
- package/dist/directives/x-neural-glow.directive.d.ts +20 -0
- package/dist/directives/x-neural-glow.directive.d.ts.map +1 -0
- package/dist/directives/x-neural-glow.directive.js +47 -0
- package/dist/directives/x-neural-glow.directive.js.map +1 -0
- package/dist/directives/x-notification-center.directive.d.ts +29 -0
- package/dist/directives/x-notification-center.directive.d.ts.map +1 -0
- package/dist/directives/x-notification-center.directive.js +47 -0
- package/dist/directives/x-notification-center.directive.js.map +1 -0
- package/dist/directives/x-organic-divider.directive.d.ts +17 -0
- package/dist/directives/x-organic-divider.directive.d.ts.map +1 -0
- package/dist/directives/x-organic-divider.directive.js +38 -0
- package/dist/directives/x-organic-divider.directive.js.map +1 -0
- package/dist/directives/x-organic-progress.directive.d.ts +28 -0
- package/dist/directives/x-organic-progress.directive.d.ts.map +1 -0
- package/dist/directives/x-organic-progress.directive.js +58 -0
- package/dist/directives/x-organic-progress.directive.js.map +1 -0
- package/dist/directives/x-organic-shape.directive.d.ts +16 -0
- package/dist/directives/x-organic-shape.directive.d.ts.map +1 -0
- package/dist/directives/x-organic-shape.directive.js +35 -0
- package/dist/directives/x-organic-shape.directive.js.map +1 -0
- package/dist/directives/x-pagination.directive.d.ts +29 -0
- package/dist/directives/x-pagination.directive.d.ts.map +1 -0
- package/dist/directives/x-pagination.directive.js +58 -0
- package/dist/directives/x-pagination.directive.js.map +1 -0
- package/dist/directives/x-particle-button.directive.d.ts +39 -0
- package/dist/directives/x-particle-button.directive.d.ts.map +1 -0
- package/dist/directives/x-particle-button.directive.js +70 -0
- package/dist/directives/x-particle-button.directive.js.map +1 -0
- package/dist/directives/x-popover.directive.d.ts +29 -0
- package/dist/directives/x-popover.directive.d.ts.map +1 -0
- package/dist/directives/x-popover.directive.js +58 -0
- package/dist/directives/x-popover.directive.js.map +1 -0
- package/dist/directives/x-progress-circle.directive.d.ts +23 -0
- package/dist/directives/x-progress-circle.directive.d.ts.map +1 -0
- package/dist/directives/x-progress-circle.directive.js +45 -0
- package/dist/directives/x-progress-circle.directive.js.map +1 -0
- package/dist/directives/x-progress.directive.d.ts +26 -0
- package/dist/directives/x-progress.directive.d.ts.map +1 -0
- package/dist/directives/x-progress.directive.js +54 -0
- package/dist/directives/x-progress.directive.js.map +1 -0
- package/dist/directives/x-radio.directive.d.ts +30 -0
- package/dist/directives/x-radio.directive.d.ts.map +1 -0
- package/dist/directives/x-radio.directive.js +55 -0
- package/dist/directives/x-radio.directive.js.map +1 -0
- package/dist/directives/x-ripple-effect.directive.d.ts +27 -0
- package/dist/directives/x-ripple-effect.directive.d.ts.map +1 -0
- package/dist/directives/x-ripple-effect.directive.js +49 -0
- package/dist/directives/x-ripple-effect.directive.js.map +1 -0
- package/dist/directives/x-scroll-parallax.directive.d.ts +29 -0
- package/dist/directives/x-scroll-parallax.directive.d.ts.map +1 -0
- package/dist/directives/x-scroll-parallax.directive.js +56 -0
- package/dist/directives/x-scroll-parallax.directive.js.map +1 -0
- package/dist/directives/x-scroll-stack.directive.d.ts +31 -0
- package/dist/directives/x-scroll-stack.directive.d.ts.map +1 -0
- package/dist/directives/x-scroll-stack.directive.js +53 -0
- package/dist/directives/x-scroll-stack.directive.js.map +1 -0
- package/dist/directives/x-scroll-story.directive.d.ts +61 -0
- package/dist/directives/x-scroll-story.directive.d.ts.map +1 -0
- package/dist/directives/x-scroll-story.directive.js +88 -0
- package/dist/directives/x-scroll-story.directive.js.map +1 -0
- package/dist/directives/x-scroll-timeline.directive.d.ts +63 -0
- package/dist/directives/x-scroll-timeline.directive.d.ts.map +1 -0
- package/dist/directives/x-scroll-timeline.directive.js +94 -0
- package/dist/directives/x-scroll-timeline.directive.js.map +1 -0
- package/dist/directives/x-scroll.directive.d.ts +40 -0
- package/dist/directives/x-scroll.directive.d.ts.map +1 -0
- package/dist/directives/x-scroll.directive.js +78 -0
- package/dist/directives/x-scroll.directive.js.map +1 -0
- package/dist/directives/x-search-field.directive.d.ts +37 -0
- package/dist/directives/x-search-field.directive.d.ts.map +1 -0
- package/dist/directives/x-search-field.directive.js +66 -0
- package/dist/directives/x-search-field.directive.js.map +1 -0
- package/dist/directives/x-select.directive.d.ts +27 -0
- package/dist/directives/x-select.directive.d.ts.map +1 -0
- package/dist/directives/x-select.directive.js +46 -0
- package/dist/directives/x-select.directive.js.map +1 -0
- package/dist/directives/x-sidebar.directive.d.ts +23 -0
- package/dist/directives/x-sidebar.directive.d.ts.map +1 -0
- package/dist/directives/x-sidebar.directive.js +43 -0
- package/dist/directives/x-sidebar.directive.js.map +1 -0
- package/dist/directives/x-skeleton-group.directive.d.ts +13 -0
- package/dist/directives/x-skeleton-group.directive.d.ts.map +1 -0
- package/dist/directives/x-skeleton-group.directive.js +26 -0
- package/dist/directives/x-skeleton-group.directive.js.map +1 -0
- package/dist/directives/x-skeleton.directive.d.ts +14 -0
- package/dist/directives/x-skeleton.directive.d.ts.map +1 -0
- package/dist/directives/x-skeleton.directive.js +29 -0
- package/dist/directives/x-skeleton.directive.js.map +1 -0
- package/dist/directives/x-slider.directive.d.ts +41 -0
- package/dist/directives/x-slider.directive.d.ts.map +1 -0
- package/dist/directives/x-slider.directive.js +71 -0
- package/dist/directives/x-slider.directive.js.map +1 -0
- package/dist/directives/x-soft-body.directive.d.ts +23 -0
- package/dist/directives/x-soft-body.directive.d.ts.map +1 -0
- package/dist/directives/x-soft-body.directive.js +55 -0
- package/dist/directives/x-soft-body.directive.js.map +1 -0
- package/dist/directives/x-spacer.directive.d.ts +13 -0
- package/dist/directives/x-spacer.directive.d.ts.map +1 -0
- package/dist/directives/x-spacer.directive.js +26 -0
- package/dist/directives/x-spacer.directive.js.map +1 -0
- package/dist/directives/x-spinner.directive.d.ts +13 -0
- package/dist/directives/x-spinner.directive.d.ts.map +1 -0
- package/dist/directives/x-spinner.directive.js +26 -0
- package/dist/directives/x-spinner.directive.js.map +1 -0
- package/dist/directives/x-splash.directive.d.ts +21 -0
- package/dist/directives/x-splash.directive.d.ts.map +1 -0
- package/dist/directives/x-splash.directive.js +48 -0
- package/dist/directives/x-splash.directive.js.map +1 -0
- package/dist/directives/x-stat.directive.d.ts +19 -0
- package/dist/directives/x-stat.directive.d.ts.map +1 -0
- package/dist/directives/x-stat.directive.js +44 -0
- package/dist/directives/x-stat.directive.js.map +1 -0
- package/dist/directives/x-stepper.directive.d.ts +24 -0
- package/dist/directives/x-stepper.directive.d.ts.map +1 -0
- package/dist/directives/x-stepper.directive.js +48 -0
- package/dist/directives/x-stepper.directive.js.map +1 -0
- package/dist/directives/x-switch.directive.d.ts +30 -0
- package/dist/directives/x-switch.directive.d.ts.map +1 -0
- package/dist/directives/x-switch.directive.js +55 -0
- package/dist/directives/x-switch.directive.js.map +1 -0
- package/dist/directives/x-tab.directive.d.ts +21 -0
- package/dist/directives/x-tab.directive.d.ts.map +1 -0
- package/dist/directives/x-tab.directive.js +42 -0
- package/dist/directives/x-tab.directive.js.map +1 -0
- package/dist/directives/x-table-cell.directive.d.ts +38 -0
- package/dist/directives/x-table-cell.directive.d.ts.map +1 -0
- package/dist/directives/x-table-cell.directive.js +74 -0
- package/dist/directives/x-table-cell.directive.js.map +1 -0
- package/dist/directives/x-table-row.directive.d.ts +31 -0
- package/dist/directives/x-table-row.directive.d.ts.map +1 -0
- package/dist/directives/x-table-row.directive.js +53 -0
- package/dist/directives/x-table-row.directive.js.map +1 -0
- package/dist/directives/x-table.directive.d.ts +33 -0
- package/dist/directives/x-table.directive.d.ts.map +1 -0
- package/dist/directives/x-table.directive.js +61 -0
- package/dist/directives/x-table.directive.js.map +1 -0
- package/dist/directives/x-tabs.directive.d.ts +23 -0
- package/dist/directives/x-tabs.directive.d.ts.map +1 -0
- package/dist/directives/x-tabs.directive.js +40 -0
- package/dist/directives/x-tabs.directive.js.map +1 -0
- package/dist/directives/x-text-area.directive.d.ts +37 -0
- package/dist/directives/x-text-area.directive.d.ts.map +1 -0
- package/dist/directives/x-text-area.directive.js +68 -0
- package/dist/directives/x-text-area.directive.js.map +1 -0
- package/dist/directives/x-theme.directive.d.ts +11 -0
- package/dist/directives/x-theme.directive.d.ts.map +1 -0
- package/dist/directives/x-theme.directive.js +20 -0
- package/dist/directives/x-theme.directive.js.map +1 -0
- package/dist/directives/x-timeline-item.directive.d.ts +36 -0
- package/dist/directives/x-timeline-item.directive.d.ts.map +1 -0
- package/dist/directives/x-timeline-item.directive.js +62 -0
- package/dist/directives/x-timeline-item.directive.js.map +1 -0
- package/dist/directives/x-timeline.directive.d.ts +23 -0
- package/dist/directives/x-timeline.directive.d.ts.map +1 -0
- package/dist/directives/x-timeline.directive.js +42 -0
- package/dist/directives/x-timeline.directive.js.map +1 -0
- package/dist/directives/x-toast.directive.d.ts +29 -0
- package/dist/directives/x-toast.directive.d.ts.map +1 -0
- package/dist/directives/x-toast.directive.js +57 -0
- package/dist/directives/x-toast.directive.js.map +1 -0
- package/dist/directives/x-toaster.directive.d.ts +25 -0
- package/dist/directives/x-toaster.directive.d.ts.map +1 -0
- package/dist/directives/x-toaster.directive.js +43 -0
- package/dist/directives/x-toaster.directive.js.map +1 -0
- package/dist/directives/x-tooltip.directive.d.ts +22 -0
- package/dist/directives/x-tooltip.directive.d.ts.map +1 -0
- package/dist/directives/x-tooltip.directive.js +52 -0
- package/dist/directives/x-tooltip.directive.js.map +1 -0
- package/dist/directives/x-typography.directive.d.ts +14 -0
- package/dist/directives/x-typography.directive.d.ts.map +1 -0
- package/dist/directives/x-typography.directive.js +29 -0
- package/dist/directives/x-typography.directive.js.map +1 -0
- package/dist/directives/x-welcome-tour.directive.d.ts +41 -0
- package/dist/directives/x-welcome-tour.directive.d.ts.map +1 -0
- package/dist/directives/x-welcome-tour.directive.js +78 -0
- package/dist/directives/x-welcome-tour.directive.js.map +1 -0
- package/dist/index.d.ts +103 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +105 -0
- package/dist/index.js.map +1 -0
- package/dist/types.d.ts +3 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +448 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Alexander van Elsas
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# @vanelsas/baredom-angular
|
|
2
|
+
|
|
3
|
+
Angular 17+ standalone directives for [BareDOM](https://github.com/avanelsas/baredom) — auto-generated from component metadata.
|
|
4
|
+
|
|
5
|
+
Provides typed inputs, event outputs, and `ControlValueAccessor` integration for all 90+ BareDOM web components.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @vanelsas/baredom-angular @vanelsas/baredom
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
Add `CUSTOM_ELEMENTS_SCHEMA` and import the directives you need:
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
19
|
+
import { BaredomButton, BaredomAlert, BaredomTheme } from '@vanelsas/baredom-angular';
|
|
20
|
+
|
|
21
|
+
@Component({
|
|
22
|
+
selector: 'app-root',
|
|
23
|
+
standalone: true,
|
|
24
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
25
|
+
imports: [BaredomButton, BaredomAlert, BaredomTheme],
|
|
26
|
+
template: `
|
|
27
|
+
<x-theme>
|
|
28
|
+
<x-button
|
|
29
|
+
[disabled]="false"
|
|
30
|
+
(press)="onPress($event)"
|
|
31
|
+
>
|
|
32
|
+
Click me
|
|
33
|
+
</x-button>
|
|
34
|
+
|
|
35
|
+
<x-alert
|
|
36
|
+
type="success"
|
|
37
|
+
text="Operation completed"
|
|
38
|
+
[dismissible]="true"
|
|
39
|
+
(dismiss)="onDismiss($event)"
|
|
40
|
+
></x-alert>
|
|
41
|
+
</x-theme>
|
|
42
|
+
`,
|
|
43
|
+
})
|
|
44
|
+
export class AppComponent {
|
|
45
|
+
onPress(e: CustomEvent<{ source: string }>) {
|
|
46
|
+
console.log('Pressed!', e.detail.source);
|
|
47
|
+
}
|
|
48
|
+
onDismiss(e: CustomEvent) {
|
|
49
|
+
console.log('Dismissed');
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Features
|
|
55
|
+
|
|
56
|
+
- **Standalone directives** — import only what you need, no NgModule required
|
|
57
|
+
- **Typed inputs** — all component properties available as `@Input()` bindings
|
|
58
|
+
- **Event outputs** — custom events mapped to `@Output()` emitters (e.g. `(press)`, `(dismiss)`)
|
|
59
|
+
- **Angular forms** — `ControlValueAccessor` directives for reactive forms and `ngModel`
|
|
60
|
+
- **Tree-shakable** — import individual directives to keep bundle size small
|
|
61
|
+
- **Zone-aware** — all events trigger Angular change detection via `NgZone.run()`
|
|
62
|
+
|
|
63
|
+
## Event naming
|
|
64
|
+
|
|
65
|
+
BareDOM event names are automatically converted to Angular output names:
|
|
66
|
+
|
|
67
|
+
| DOM event | Angular output |
|
|
68
|
+
|-----------|---------------|
|
|
69
|
+
| `press` | `(press)` |
|
|
70
|
+
| `x-alert-dismiss` | `(dismiss)` |
|
|
71
|
+
| `x-switch-change` | `(change)` |
|
|
72
|
+
| `value-change` | `(valueChange)` |
|
|
73
|
+
| `hover-start` | `(hoverStart)` |
|
|
74
|
+
|
|
75
|
+
The component's tag-name prefix (e.g. `x-alert-`) is stripped, and the remainder is camelCased.
|
|
76
|
+
|
|
77
|
+
When an output name collides with an input name, the output is suffixed with `Event` (e.g. `(openEvent)`).
|
|
78
|
+
|
|
79
|
+
## Angular forms integration
|
|
80
|
+
|
|
81
|
+
10 form components include `ControlValueAccessor` directives that work with both reactive forms and template-driven forms.
|
|
82
|
+
|
|
83
|
+
```typescript
|
|
84
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
85
|
+
import { ReactiveFormsModule, FormControl } from '@angular/forms';
|
|
86
|
+
import {
|
|
87
|
+
BaredomCheckbox, BaredomCheckboxCva,
|
|
88
|
+
BaredomSlider, BaredomSliderCva,
|
|
89
|
+
} from '@vanelsas/baredom-angular';
|
|
90
|
+
|
|
91
|
+
@Component({
|
|
92
|
+
standalone: true,
|
|
93
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
94
|
+
imports: [
|
|
95
|
+
ReactiveFormsModule,
|
|
96
|
+
BaredomCheckbox, BaredomCheckboxCva,
|
|
97
|
+
BaredomSlider, BaredomSliderCva,
|
|
98
|
+
],
|
|
99
|
+
template: `
|
|
100
|
+
<x-checkbox [formControl]="accepted">I agree</x-checkbox>
|
|
101
|
+
<x-slider [formControl]="volume" min="0" max="100"></x-slider>
|
|
102
|
+
`,
|
|
103
|
+
})
|
|
104
|
+
export class FormComponent {
|
|
105
|
+
accepted = new FormControl(false);
|
|
106
|
+
volume = new FormControl('50');
|
|
107
|
+
}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**CVA components:** BaredomCheckboxCva, BaredomSwitchCva, BaredomRadioCva (`boolean`), BaredomSliderCva, BaredomTextAreaCva, BaredomSelectCva, BaredomComboboxCva, BaredomCurrencyFieldCva, BaredomTabsCva (`string`), BaredomPaginationCva (`number`).
|
|
111
|
+
|
|
112
|
+
The CVA directive activates automatically when `formControlName`, `formControl`, or `ngModel` is present on the element.
|
|
113
|
+
|
|
114
|
+
## Methods
|
|
115
|
+
|
|
116
|
+
Components with public methods expose them on the directive. Access via `ViewChild`:
|
|
117
|
+
|
|
118
|
+
```typescript
|
|
119
|
+
import { Component, ViewChild, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
120
|
+
import { BaredomModal } from '@vanelsas/baredom-angular';
|
|
121
|
+
|
|
122
|
+
@Component({
|
|
123
|
+
standalone: true,
|
|
124
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
125
|
+
imports: [BaredomModal],
|
|
126
|
+
template: `
|
|
127
|
+
<button (click)="modal.show()">Open</button>
|
|
128
|
+
<x-modal #modal (dismiss)="onDismiss()">
|
|
129
|
+
Modal content
|
|
130
|
+
</x-modal>
|
|
131
|
+
`,
|
|
132
|
+
})
|
|
133
|
+
export class DialogComponent {
|
|
134
|
+
@ViewChild(BaredomModal) modal!: BaredomModal;
|
|
135
|
+
|
|
136
|
+
onDismiss() {
|
|
137
|
+
console.log('Modal dismissed');
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Theming
|
|
143
|
+
|
|
144
|
+
Wrap your app with `<x-theme>` to enable BareDOM's design tokens:
|
|
145
|
+
|
|
146
|
+
```html
|
|
147
|
+
<x-theme preset="aurora">
|
|
148
|
+
<!-- All BareDOM components inherit theme tokens -->
|
|
149
|
+
</x-theme>
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
## Requirements
|
|
153
|
+
|
|
154
|
+
- Angular 17+
|
|
155
|
+
- @vanelsas/baredom 2.6.0+
|
|
156
|
+
|
|
157
|
+
## Auto-generated
|
|
158
|
+
|
|
159
|
+
The directives are auto-generated from BareDOM's component model metadata using `bb scripts/generate_angular.bb`. Adding a new component to BareDOM automatically produces its Angular directive.
|
|
160
|
+
|
|
161
|
+
## License
|
|
162
|
+
|
|
163
|
+
MIT
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef, OnInit, OnDestroy, NgZone } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import type { XCheckbox as XCheckboxElement } from '@vanelsas/baredom/x-checkbox';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BaredomCheckboxCva implements ControlValueAccessor, OnInit, OnDestroy {
|
|
6
|
+
private el;
|
|
7
|
+
private zone;
|
|
8
|
+
private listeners;
|
|
9
|
+
constructor(elRef: ElementRef<XCheckboxElement>, zone: NgZone);
|
|
10
|
+
private onChange;
|
|
11
|
+
private onTouched;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
writeValue(v: boolean): void;
|
|
15
|
+
registerOnChange(fn: (v: boolean) => void): void;
|
|
16
|
+
registerOnTouched(fn: () => void): void;
|
|
17
|
+
setDisabledState(d: boolean): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaredomCheckboxCva, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaredomCheckboxCva, "x-checkbox[formControlName],x-checkbox[formControl],x-checkbox[ngModel]", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=x-checkbox-cva.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-checkbox-cva.directive.d.ts","sourceRoot":"","sources":["../../src/cva/x-checkbox-cva.directive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAc,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;;AAKlF,qBASa,kBAAmB,YAAW,oBAAoB,EAAE,MAAM,EAAE,SAAS;IAChF,OAAO,CAAC,EAAE,CAAmB;IAC7B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,SAAS,CAAyB;gBAE9B,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,EAAE,IAAI,EAAE,MAAM;IAK7D,OAAO,CAAC,QAAQ,CAAsC;IACtD,OAAO,CAAC,SAAS,CAAwB;IAEzC,QAAQ,IAAI,IAAI;IAahB,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;IAK5B,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI;IAIhD,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;yCA3CvB,kBAAkB;2CAAlB,kBAAkB;CA+C9B"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// x-checkbox-cva.directive.ts — auto-generated by generate_angular.bb, do not edit
|
|
2
|
+
import { Directive, forwardRef } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import { init } from '@vanelsas/baredom/x-checkbox';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
init();
|
|
7
|
+
export class BaredomCheckboxCva {
|
|
8
|
+
constructor(elRef, zone) {
|
|
9
|
+
this.listeners = [];
|
|
10
|
+
this.onChange = () => { };
|
|
11
|
+
this.onTouched = () => { };
|
|
12
|
+
this.el = elRef.nativeElement;
|
|
13
|
+
this.zone = zone;
|
|
14
|
+
}
|
|
15
|
+
ngOnInit() {
|
|
16
|
+
const handler = (e) => {
|
|
17
|
+
const detail = e.detail;
|
|
18
|
+
this.zone.run(() => this.onChange(detail.checked));
|
|
19
|
+
};
|
|
20
|
+
this.el.addEventListener('x-checkbox-change', handler);
|
|
21
|
+
this.listeners.push(() => this.el.removeEventListener('x-checkbox-change', handler));
|
|
22
|
+
const blur = () => this.zone.run(() => this.onTouched());
|
|
23
|
+
this.el.addEventListener('focusout', blur);
|
|
24
|
+
this.listeners.push(() => this.el.removeEventListener('focusout', blur));
|
|
25
|
+
}
|
|
26
|
+
ngOnDestroy() {
|
|
27
|
+
this.listeners.forEach(fn => fn());
|
|
28
|
+
}
|
|
29
|
+
writeValue(v) {
|
|
30
|
+
if (v)
|
|
31
|
+
this.el.setAttribute('checked', '');
|
|
32
|
+
else
|
|
33
|
+
this.el.removeAttribute('checked');
|
|
34
|
+
}
|
|
35
|
+
registerOnChange(fn) {
|
|
36
|
+
this.onChange = fn;
|
|
37
|
+
}
|
|
38
|
+
registerOnTouched(fn) {
|
|
39
|
+
this.onTouched = fn;
|
|
40
|
+
}
|
|
41
|
+
setDisabledState(d) {
|
|
42
|
+
if (d)
|
|
43
|
+
this.el.setAttribute('disabled', '');
|
|
44
|
+
else
|
|
45
|
+
this.el.removeAttribute('disabled');
|
|
46
|
+
}
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomCheckboxCva, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
48
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: BaredomCheckboxCva, isStandalone: true, selector: "x-checkbox[formControlName],x-checkbox[formControl],x-checkbox[ngModel]", providers: [{
|
|
49
|
+
provide: NG_VALUE_ACCESSOR,
|
|
50
|
+
useExisting: forwardRef(() => BaredomCheckboxCva),
|
|
51
|
+
multi: true,
|
|
52
|
+
}], ngImport: i0 }); }
|
|
53
|
+
}
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomCheckboxCva, decorators: [{
|
|
55
|
+
type: Directive,
|
|
56
|
+
args: [{
|
|
57
|
+
selector: 'x-checkbox[formControlName],x-checkbox[formControl],x-checkbox[ngModel]',
|
|
58
|
+
standalone: true,
|
|
59
|
+
providers: [{
|
|
60
|
+
provide: NG_VALUE_ACCESSOR,
|
|
61
|
+
useExisting: forwardRef(() => BaredomCheckboxCva),
|
|
62
|
+
multi: true,
|
|
63
|
+
}],
|
|
64
|
+
}]
|
|
65
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
66
|
+
//# sourceMappingURL=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AE,UAAU,CAAC,GAAG,EAAE,mBAAmB,CAAC;4BACjD,KAAK,EAAE,IAAI;yBACZ,CAAC;iBACH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef, OnInit, OnDestroy, NgZone } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import type { XCombobox as XComboboxElement } from '@vanelsas/baredom/x-combobox';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BaredomComboboxCva implements ControlValueAccessor, OnInit, OnDestroy {
|
|
6
|
+
private el;
|
|
7
|
+
private zone;
|
|
8
|
+
private listeners;
|
|
9
|
+
constructor(elRef: ElementRef<XComboboxElement>, zone: NgZone);
|
|
10
|
+
private onChange;
|
|
11
|
+
private onTouched;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
writeValue(v: string): void;
|
|
15
|
+
registerOnChange(fn: (v: string) => void): void;
|
|
16
|
+
registerOnTouched(fn: () => void): void;
|
|
17
|
+
setDisabledState(d: boolean): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaredomComboboxCva, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaredomComboboxCva, "x-combobox[formControlName],x-combobox[formControl],x-combobox[ngModel]", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=x-combobox-cva.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-combobox-cva.directive.d.ts","sourceRoot":"","sources":["../../src/cva/x-combobox-cva.directive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAc,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;;AAKlF,qBASa,kBAAmB,YAAW,oBAAoB,EAAE,MAAM,EAAE,SAAS;IAChF,OAAO,CAAC,EAAE,CAAmB;IAC7B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,SAAS,CAAyB;gBAE9B,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,EAAE,IAAI,EAAE,MAAM;IAK7D,OAAO,CAAC,QAAQ,CAAqC;IACrD,OAAO,CAAC,SAAS,CAAwB;IAEzC,QAAQ,IAAI,IAAI;IAahB,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI;IAK3B,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI;IAI/C,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;yCA3CvB,kBAAkB;2CAAlB,kBAAkB;CA+C9B"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// x-combobox-cva.directive.ts — auto-generated by generate_angular.bb, do not edit
|
|
2
|
+
import { Directive, forwardRef } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import { init } from '@vanelsas/baredom/x-combobox';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
init();
|
|
7
|
+
export class BaredomComboboxCva {
|
|
8
|
+
constructor(elRef, zone) {
|
|
9
|
+
this.listeners = [];
|
|
10
|
+
this.onChange = () => { };
|
|
11
|
+
this.onTouched = () => { };
|
|
12
|
+
this.el = elRef.nativeElement;
|
|
13
|
+
this.zone = zone;
|
|
14
|
+
}
|
|
15
|
+
ngOnInit() {
|
|
16
|
+
const handler = (e) => {
|
|
17
|
+
const detail = e.detail;
|
|
18
|
+
this.zone.run(() => this.onChange(detail.value));
|
|
19
|
+
};
|
|
20
|
+
this.el.addEventListener('x-combobox-change', handler);
|
|
21
|
+
this.listeners.push(() => this.el.removeEventListener('x-combobox-change', handler));
|
|
22
|
+
const blur = () => this.zone.run(() => this.onTouched());
|
|
23
|
+
this.el.addEventListener('focusout', blur);
|
|
24
|
+
this.listeners.push(() => this.el.removeEventListener('focusout', blur));
|
|
25
|
+
}
|
|
26
|
+
ngOnDestroy() {
|
|
27
|
+
this.listeners.forEach(fn => fn());
|
|
28
|
+
}
|
|
29
|
+
writeValue(v) {
|
|
30
|
+
if (v != null)
|
|
31
|
+
this.el.setAttribute('value', String(v));
|
|
32
|
+
else
|
|
33
|
+
this.el.removeAttribute('value');
|
|
34
|
+
}
|
|
35
|
+
registerOnChange(fn) {
|
|
36
|
+
this.onChange = fn;
|
|
37
|
+
}
|
|
38
|
+
registerOnTouched(fn) {
|
|
39
|
+
this.onTouched = fn;
|
|
40
|
+
}
|
|
41
|
+
setDisabledState(d) {
|
|
42
|
+
if (d)
|
|
43
|
+
this.el.setAttribute('disabled', '');
|
|
44
|
+
else
|
|
45
|
+
this.el.removeAttribute('disabled');
|
|
46
|
+
}
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomComboboxCva, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
48
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: BaredomComboboxCva, isStandalone: true, selector: "x-combobox[formControlName],x-combobox[formControl],x-combobox[ngModel]", providers: [{
|
|
49
|
+
provide: NG_VALUE_ACCESSOR,
|
|
50
|
+
useExisting: forwardRef(() => BaredomComboboxCva),
|
|
51
|
+
multi: true,
|
|
52
|
+
}], ngImport: i0 }); }
|
|
53
|
+
}
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomComboboxCva, decorators: [{
|
|
55
|
+
type: Directive,
|
|
56
|
+
args: [{
|
|
57
|
+
selector: 'x-combobox[formControlName],x-combobox[formControl],x-combobox[ngModel]',
|
|
58
|
+
standalone: true,
|
|
59
|
+
providers: [{
|
|
60
|
+
provide: NG_VALUE_ACCESSOR,
|
|
61
|
+
useExisting: forwardRef(() => BaredomComboboxCva),
|
|
62
|
+
multi: true,
|
|
63
|
+
}],
|
|
64
|
+
}]
|
|
65
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
66
|
+
//# sourceMappingURL=x-combobox-cva.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-combobox-cva.directive.js","sourceRoot":"","sources":["../../src/cva/x-combobox-cva.directive.ts"],"names":[],"mappings":"AAAA,mFAAmF;AAEnF,OAAO,EAAE,SAAS,EAAc,UAAU,EAA6B,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAwB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEzE,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;;AAEpD,IAAI,EAAE,CAAC;AAWP,MAAM,OAAO,kBAAkB;IAK7B,YAAY,KAAmC,EAAE,IAAY;QAFrD,cAAS,GAAsB,EAAE,CAAC;QAOlC,aAAQ,GAA4B,GAAG,EAAE,GAAE,CAAC,CAAC;QAC7C,cAAS,GAAe,GAAG,EAAE,GAAE,CAAC,CAAC;QALvC,IAAI,CAAC,EAAE,GAAG,KAAK,CAAC,aAAa,CAAC;QAC9B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAKD,QAAQ;QACN,MAAM,OAAO,GAAG,CAAC,CAAQ,EAAE,EAAE;YAC3B,MAAM,MAAM,GAAI,CAAiB,CAAC,MAAM,CAAC;YACzC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,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AAC,eAAe,CAAC,UAAU,CAAC,CAAC;IAC3C,CAAC;+GA9CU,kBAAkB;mGAAlB,kBAAkB,sHANlB,CAAC;gBACV,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC;gBACjD,KAAK,EAAE,IAAI;aACZ,CAAC;;4FAES,kBAAkB;kBAT9B,SAAS;mBAAC;oBACT,QAAQ,EAAE,yEAAyE;oBACnF,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,CAAC;4BACV,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,mBAAmB,CAAC;4BACjD,KAAK,EAAE,IAAI;yBACZ,CAAC;iBACH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef, OnInit, OnDestroy, NgZone } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import type { XCurrencyField as XCurrencyFieldElement } from '@vanelsas/baredom/x-currency-field';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BaredomCurrencyFieldCva implements ControlValueAccessor, OnInit, OnDestroy {
|
|
6
|
+
private el;
|
|
7
|
+
private zone;
|
|
8
|
+
private listeners;
|
|
9
|
+
constructor(elRef: ElementRef<XCurrencyFieldElement>, zone: NgZone);
|
|
10
|
+
private onChange;
|
|
11
|
+
private onTouched;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
writeValue(v: string): void;
|
|
15
|
+
registerOnChange(fn: (v: string) => void): void;
|
|
16
|
+
registerOnTouched(fn: () => void): void;
|
|
17
|
+
setDisabledState(d: boolean): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaredomCurrencyFieldCva, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaredomCurrencyFieldCva, "x-currency-field[formControlName],x-currency-field[formControl],x-currency-field[ngModel]", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=x-currency-field-cva.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-currency-field-cva.directive.d.ts","sourceRoot":"","sources":["../../src/cva/x-currency-field-cva.directive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAc,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,IAAI,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;;AAKlG,qBASa,uBAAwB,YAAW,oBAAoB,EAAE,MAAM,EAAE,SAAS;IACrF,OAAO,CAAC,EAAE,CAAwB;IAClC,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,SAAS,CAAyB;gBAE9B,KAAK,EAAE,UAAU,CAAC,qBAAqB,CAAC,EAAE,IAAI,EAAE,MAAM;IAKlE,OAAO,CAAC,QAAQ,CAAqC;IACrD,OAAO,CAAC,SAAS,CAAwB;IAEzC,QAAQ,IAAI,IAAI;IAahB,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI;IAK3B,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI;IAI/C,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;yCA3CvB,uBAAuB;2CAAvB,uBAAuB;CA+CnC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// x-currency-field-cva.directive.ts — auto-generated by generate_angular.bb, do not edit
|
|
2
|
+
import { Directive, forwardRef } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import { init } from '@vanelsas/baredom/x-currency-field';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
init();
|
|
7
|
+
export class BaredomCurrencyFieldCva {
|
|
8
|
+
constructor(elRef, zone) {
|
|
9
|
+
this.listeners = [];
|
|
10
|
+
this.onChange = () => { };
|
|
11
|
+
this.onTouched = () => { };
|
|
12
|
+
this.el = elRef.nativeElement;
|
|
13
|
+
this.zone = zone;
|
|
14
|
+
}
|
|
15
|
+
ngOnInit() {
|
|
16
|
+
const handler = (e) => {
|
|
17
|
+
const detail = e.detail;
|
|
18
|
+
this.zone.run(() => this.onChange(detail.value));
|
|
19
|
+
};
|
|
20
|
+
this.el.addEventListener('x-currency-field-change', handler);
|
|
21
|
+
this.listeners.push(() => this.el.removeEventListener('x-currency-field-change', handler));
|
|
22
|
+
const blur = () => this.zone.run(() => this.onTouched());
|
|
23
|
+
this.el.addEventListener('focusout', blur);
|
|
24
|
+
this.listeners.push(() => this.el.removeEventListener('focusout', blur));
|
|
25
|
+
}
|
|
26
|
+
ngOnDestroy() {
|
|
27
|
+
this.listeners.forEach(fn => fn());
|
|
28
|
+
}
|
|
29
|
+
writeValue(v) {
|
|
30
|
+
if (v != null)
|
|
31
|
+
this.el.setAttribute('value', String(v));
|
|
32
|
+
else
|
|
33
|
+
this.el.removeAttribute('value');
|
|
34
|
+
}
|
|
35
|
+
registerOnChange(fn) {
|
|
36
|
+
this.onChange = fn;
|
|
37
|
+
}
|
|
38
|
+
registerOnTouched(fn) {
|
|
39
|
+
this.onTouched = fn;
|
|
40
|
+
}
|
|
41
|
+
setDisabledState(d) {
|
|
42
|
+
if (d)
|
|
43
|
+
this.el.setAttribute('disabled', '');
|
|
44
|
+
else
|
|
45
|
+
this.el.removeAttribute('disabled');
|
|
46
|
+
}
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomCurrencyFieldCva, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
48
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: BaredomCurrencyFieldCva, isStandalone: true, selector: "x-currency-field[formControlName],x-currency-field[formControl],x-currency-field[ngModel]", providers: [{
|
|
49
|
+
provide: NG_VALUE_ACCESSOR,
|
|
50
|
+
useExisting: forwardRef(() => BaredomCurrencyFieldCva),
|
|
51
|
+
multi: true,
|
|
52
|
+
}], ngImport: i0 }); }
|
|
53
|
+
}
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomCurrencyFieldCva, decorators: [{
|
|
55
|
+
type: Directive,
|
|
56
|
+
args: [{
|
|
57
|
+
selector: 'x-currency-field[formControlName],x-currency-field[formControl],x-currency-field[ngModel]',
|
|
58
|
+
standalone: true,
|
|
59
|
+
providers: [{
|
|
60
|
+
provide: NG_VALUE_ACCESSOR,
|
|
61
|
+
useExisting: forwardRef(() => BaredomCurrencyFieldCva),
|
|
62
|
+
multi: true,
|
|
63
|
+
}],
|
|
64
|
+
}]
|
|
65
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
66
|
+
//# sourceMappingURL=x-currency-field-cva.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-currency-field-cva.directive.js","sourceRoot":"","sources":["../../src/cva/x-currency-field-cva.directive.ts"],"names":[],"mappings":"AAAA,yFAAyF;AAEzF,OAAO,EAAE,SAAS,EAAc,UAAU,EAA6B,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAwB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEzE,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;;AAE1D,IAAI,EAAE,CAAC;AAWP,MAAM,OAAO,uBAAuB;IAKlC,YAAY,KAAwC,EAAE,IAAY;QAF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,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;;YACnD,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAED,gBAAgB,CAAC,EAAuB;QACtC,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;IACrB,CAAC;IAED,iBAAiB,CAAC,EAAc;QAC9B,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACtB,CAAC;IAED,gBAAgB,CAAC,CAAU;QACzB,IAAI,CAAC;YAAE,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;;YACvC,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;IAC3C,CAAC;+GA9CU,uBAAuB;mGAAvB,uBAAuB,wIANvB,CAAC;gBACV,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC;gBACtD,KAAK,EAAE,IAAI;aACZ,CAAC;;4FAES,uBAAuB;kBATnC,SAAS;mBAAC;oBACT,QAAQ,EAAE,2FAA2F;oBACrG,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,CAAC;4BACV,OAAO,EAAE,iBAAiB;4BAC1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,wBAAwB,CAAC;4BACtD,KAAK,EAAE,IAAI;yBACZ,CAAC;iBACH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef, OnInit, OnDestroy, NgZone } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import type { XPagination as XPaginationElement } from '@vanelsas/baredom/x-pagination';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BaredomPaginationCva implements ControlValueAccessor, OnInit, OnDestroy {
|
|
6
|
+
private el;
|
|
7
|
+
private zone;
|
|
8
|
+
private listeners;
|
|
9
|
+
constructor(elRef: ElementRef<XPaginationElement>, zone: NgZone);
|
|
10
|
+
private onChange;
|
|
11
|
+
private onTouched;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
writeValue(v: number): void;
|
|
15
|
+
registerOnChange(fn: (v: number) => void): void;
|
|
16
|
+
registerOnTouched(fn: () => void): void;
|
|
17
|
+
setDisabledState(d: boolean): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaredomPaginationCva, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaredomPaginationCva, "x-pagination[formControlName],x-pagination[formControl],x-pagination[ngModel]", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=x-pagination-cva.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-pagination-cva.directive.d.ts","sourceRoot":"","sources":["../../src/cva/x-pagination-cva.directive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAc,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,IAAI,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;;AAKxF,qBASa,oBAAqB,YAAW,oBAAoB,EAAE,MAAM,EAAE,SAAS;IAClF,OAAO,CAAC,EAAE,CAAqB;IAC/B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,SAAS,CAAyB;gBAE9B,KAAK,EAAE,UAAU,CAAC,kBAAkB,CAAC,EAAE,IAAI,EAAE,MAAM;IAK/D,OAAO,CAAC,QAAQ,CAAqC;IACrD,OAAO,CAAC,SAAS,CAAwB;IAEzC,QAAQ,IAAI,IAAI;IAahB,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI;IAK3B,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI;IAI/C,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;yCA3CvB,oBAAoB;2CAApB,oBAAoB;CA+ChC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// x-pagination-cva.directive.ts — auto-generated by generate_angular.bb, do not edit
|
|
2
|
+
import { Directive, forwardRef } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import { init } from '@vanelsas/baredom/x-pagination';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
init();
|
|
7
|
+
export class BaredomPaginationCva {
|
|
8
|
+
constructor(elRef, zone) {
|
|
9
|
+
this.listeners = [];
|
|
10
|
+
this.onChange = () => { };
|
|
11
|
+
this.onTouched = () => { };
|
|
12
|
+
this.el = elRef.nativeElement;
|
|
13
|
+
this.zone = zone;
|
|
14
|
+
}
|
|
15
|
+
ngOnInit() {
|
|
16
|
+
const handler = (e) => {
|
|
17
|
+
const detail = e.detail;
|
|
18
|
+
this.zone.run(() => this.onChange(detail.page));
|
|
19
|
+
};
|
|
20
|
+
this.el.addEventListener('page-change', handler);
|
|
21
|
+
this.listeners.push(() => this.el.removeEventListener('page-change', handler));
|
|
22
|
+
const blur = () => this.zone.run(() => this.onTouched());
|
|
23
|
+
this.el.addEventListener('focusout', blur);
|
|
24
|
+
this.listeners.push(() => this.el.removeEventListener('focusout', blur));
|
|
25
|
+
}
|
|
26
|
+
ngOnDestroy() {
|
|
27
|
+
this.listeners.forEach(fn => fn());
|
|
28
|
+
}
|
|
29
|
+
writeValue(v) {
|
|
30
|
+
if (v != null)
|
|
31
|
+
this.el.setAttribute('page', String(v));
|
|
32
|
+
else
|
|
33
|
+
this.el.removeAttribute('page');
|
|
34
|
+
}
|
|
35
|
+
registerOnChange(fn) {
|
|
36
|
+
this.onChange = fn;
|
|
37
|
+
}
|
|
38
|
+
registerOnTouched(fn) {
|
|
39
|
+
this.onTouched = fn;
|
|
40
|
+
}
|
|
41
|
+
setDisabledState(d) {
|
|
42
|
+
if (d)
|
|
43
|
+
this.el.setAttribute('disabled', '');
|
|
44
|
+
else
|
|
45
|
+
this.el.removeAttribute('disabled');
|
|
46
|
+
}
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomPaginationCva, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
48
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: BaredomPaginationCva, isStandalone: true, selector: "x-pagination[formControlName],x-pagination[formControl],x-pagination[ngModel]", providers: [{
|
|
49
|
+
provide: NG_VALUE_ACCESSOR,
|
|
50
|
+
useExisting: forwardRef(() => BaredomPaginationCva),
|
|
51
|
+
multi: true,
|
|
52
|
+
}], ngImport: i0 }); }
|
|
53
|
+
}
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaredomPaginationCva, decorators: [{
|
|
55
|
+
type: Directive,
|
|
56
|
+
args: [{
|
|
57
|
+
selector: 'x-pagination[formControlName],x-pagination[formControl],x-pagination[ngModel]',
|
|
58
|
+
standalone: true,
|
|
59
|
+
providers: [{
|
|
60
|
+
provide: NG_VALUE_ACCESSOR,
|
|
61
|
+
useExisting: forwardRef(() => BaredomPaginationCva),
|
|
62
|
+
multi: true,
|
|
63
|
+
}],
|
|
64
|
+
}]
|
|
65
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
66
|
+
//# sourceMappingURL=x-pagination-cva.directive.js.map
|
|
@@ -0,0 +1 @@
|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AE,qBAAqB,CAAC;4BACnD,KAAK,EAAE,IAAI;yBACZ,CAAC;iBACH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef, OnInit, OnDestroy, NgZone } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import type { XRadio as XRadioElement } from '@vanelsas/baredom/x-radio';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BaredomRadioCva implements ControlValueAccessor, OnInit, OnDestroy {
|
|
6
|
+
private el;
|
|
7
|
+
private zone;
|
|
8
|
+
private listeners;
|
|
9
|
+
constructor(elRef: ElementRef<XRadioElement>, zone: NgZone);
|
|
10
|
+
private onChange;
|
|
11
|
+
private onTouched;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
writeValue(v: boolean): void;
|
|
15
|
+
registerOnChange(fn: (v: boolean) => void): void;
|
|
16
|
+
registerOnTouched(fn: () => void): void;
|
|
17
|
+
setDisabledState(d: boolean): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaredomRadioCva, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaredomRadioCva, "x-radio[formControlName],x-radio[formControl],x-radio[ngModel]", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=x-radio-cva.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-radio-cva.directive.d.ts","sourceRoot":"","sources":["../../src/cva/x-radio-cva.directive.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAc,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,2BAA2B,CAAC;;AAKzE,qBASa,eAAgB,YAAW,oBAAoB,EAAE,MAAM,EAAE,SAAS;IAC7E,OAAO,CAAC,EAAE,CAAgB;IAC1B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,SAAS,CAAyB;gBAE9B,KAAK,EAAE,UAAU,CAAC,aAAa,CAAC,EAAE,IAAI,EAAE,MAAM;IAK1D,OAAO,CAAC,QAAQ,CAAsC;IACtD,OAAO,CAAC,SAAS,CAAwB;IAEzC,QAAQ,IAAI,IAAI;IAahB,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;IAK5B,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI;IAIhD,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;yCA3CvB,eAAe;2CAAf,eAAe;CA+C3B"}
|