@ardium-ui/ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/esm2022/ardium-ui-ui.mjs +5 -0
- package/esm2022/lib/_internal/boolean-component.mjs +108 -0
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +12 -0
- package/esm2022/lib/_internal/clear-button/clear-button.module.mjs +18 -0
- package/esm2022/lib/_internal/disablable-component.mjs +44 -0
- package/esm2022/lib/_internal/focusable-component.mjs +91 -0
- package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +436 -0
- package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +349 -0
- package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +155 -0
- package/esm2022/lib/_internal/models/pagination.model.mjs +124 -0
- package/esm2022/lib/_internal/ngmodel-component.mjs +42 -0
- package/esm2022/lib/_internal/queue.mjs +59 -0
- package/esm2022/lib/_internal/selectable-list-component.mjs +304 -0
- package/esm2022/lib/badge/badge.directive.mjs +123 -0
- package/esm2022/lib/badge/badge.module.mjs +18 -0
- package/esm2022/lib/badge/badge.types.mjs +16 -0
- package/esm2022/lib/buttons/_button-base.mjs +45 -0
- package/esm2022/lib/buttons/button/button.component.mjs +49 -0
- package/esm2022/lib/buttons/button/button.module.mjs +18 -0
- package/esm2022/lib/buttons/fab/fab.component.mjs +40 -0
- package/esm2022/lib/buttons/fab/fab.module.mjs +18 -0
- package/esm2022/lib/buttons/general-button.types.mjs +55 -0
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +37 -0
- package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +18 -0
- package/esm2022/lib/calendar/calendar.component.mjs +982 -0
- package/esm2022/lib/calendar/calendar.directives.mjs +107 -0
- package/esm2022/lib/calendar/calendar.helpers.mjs +47 -0
- package/esm2022/lib/calendar/calendar.module.mjs +21 -0
- package/esm2022/lib/calendar/calendar.types.mjs +11 -0
- package/esm2022/lib/card/card.children.mjs +97 -0
- package/esm2022/lib/card/card.component.mjs +40 -0
- package/esm2022/lib/card/card.module.mjs +59 -0
- package/esm2022/lib/card/card.types.mjs +9 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +73 -0
- package/esm2022/lib/checkbox/checkbox.module.mjs +18 -0
- package/esm2022/lib/checkbox/checkbox.types.mjs +6 -0
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +139 -0
- package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +19 -0
- package/esm2022/lib/checkbox-list/checkbox-list.types.mjs +7 -0
- package/esm2022/lib/chip/chip.component.mjs +55 -0
- package/esm2022/lib/chip/chip.module.mjs +21 -0
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +80 -0
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +77 -0
- package/esm2022/lib/color/color-display/color-display.component.mjs +48 -0
- package/esm2022/lib/color/color-display/color-display.module.mjs +18 -0
- package/esm2022/lib/color/color-display/color-display.types.mjs +9 -0
- package/esm2022/lib/color/color-picker/color-picker.component.mjs +484 -0
- package/esm2022/lib/color/color-picker/color-picker.directives.mjs +55 -0
- package/esm2022/lib/color/color-picker/color-picker.module.mjs +43 -0
- package/esm2022/lib/color/color-picker/color-picker.types.mjs +11 -0
- package/esm2022/lib/dialog/dialog.component.mjs +167 -0
- package/esm2022/lib/dialog/dialog.directives.mjs +14 -0
- package/esm2022/lib/dialog/dialog.module.mjs +21 -0
- package/esm2022/lib/dialog/dialog.types.mjs +6 -0
- package/esm2022/lib/divider/divider.component.mjs +26 -0
- package/esm2022/lib/divider/divider.module.mjs +18 -0
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +130 -0
- package/esm2022/lib/dropdown-panel/dropdown-panel.module.mjs +18 -0
- package/esm2022/lib/dropdown-panel/dropdown-panel.types.mjs +10 -0
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +82 -0
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.directives.mjs +42 -0
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +58 -0
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +153 -0
- package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +73 -0
- package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +21 -0
- package/esm2022/lib/file-inputs/file-input-base.mjs +187 -0
- package/esm2022/lib/file-inputs/file-input-types.mjs +2 -0
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +74 -0
- package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +25 -0
- package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +19 -0
- package/esm2022/lib/icon/icon.component.mjs +85 -0
- package/esm2022/lib/icon/icon.module.mjs +19 -0
- package/esm2022/lib/icon/icon.pipe.mjs +18 -0
- package/esm2022/lib/inputs/color-input/color-input.component.mjs +421 -0
- package/esm2022/lib/inputs/color-input/color-input.directives.mjs +101 -0
- package/esm2022/lib/inputs/color-input/color-input.module.mjs +85 -0
- package/esm2022/lib/inputs/color-input/color-input.types.mjs +2 -0
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +218 -0
- package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +217 -0
- package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +18 -0
- package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +15 -0
- package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +8 -0
- package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +234 -0
- package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +36 -0
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +21 -0
- package/esm2022/lib/inputs/hex-input.model.mjs +106 -0
- package/esm2022/lib/inputs/input/input.component.mjs +344 -0
- package/esm2022/lib/inputs/input/input.directives.mjs +58 -0
- package/esm2022/lib/inputs/input/input.module.mjs +47 -0
- package/esm2022/lib/inputs/input-transformers.mjs +66 -0
- package/esm2022/lib/inputs/input-types.mjs +6 -0
- package/esm2022/lib/inputs/input-utils.mjs +205 -0
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +289 -0
- package/esm2022/lib/inputs/number-input/number-input.directives.mjs +14 -0
- package/esm2022/lib/inputs/number-input/number-input.module.mjs +21 -0
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +222 -0
- package/esm2022/lib/inputs/password-input/password-input.directives.mjs +49 -0
- package/esm2022/lib/inputs/password-input/password-input.module.mjs +41 -0
- package/esm2022/lib/inputs/password-input/password-input.types.mjs +2 -0
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +219 -0
- package/esm2022/lib/inputs/simple-input/simple-input.directives.mjs +36 -0
- package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +37 -0
- package/esm2022/lib/kbd/kbd.component.mjs +42 -0
- package/esm2022/lib/kbd/kbd.module.mjs +19 -0
- package/esm2022/lib/kbd/kbd.pipe.mjs +17 -0
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +55 -0
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.module.mjs +19 -0
- package/esm2022/lib/modal/modal.component.mjs +120 -0
- package/esm2022/lib/modal/modal.module.mjs +21 -0
- package/esm2022/lib/option/option.component.mjs +77 -0
- package/esm2022/lib/option/option.module.mjs +18 -0
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +95 -0
- package/esm2022/lib/progress-bar/progress-bar.directive.mjs +14 -0
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +19 -0
- package/esm2022/lib/progress-bar/progress-bar.types.mjs +19 -0
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +94 -0
- package/esm2022/lib/progress-circle/progress-circle.directive.mjs +14 -0
- package/esm2022/lib/progress-circle/progress-circle.module.mjs +19 -0
- package/esm2022/lib/progress-circle/progress-circle.types.mjs +10 -0
- package/esm2022/lib/radio/radio/radio.component.mjs +53 -0
- package/esm2022/lib/radio/radio-group.component.mjs +207 -0
- package/esm2022/lib/radio/radio.module.mjs +19 -0
- package/esm2022/lib/search-functions.mjs +64 -0
- package/esm2022/lib/segment/segment.component.mjs +168 -0
- package/esm2022/lib/segment/segment.directives.mjs +14 -0
- package/esm2022/lib/segment/segment.module.mjs +19 -0
- package/esm2022/lib/segment/segment.types.mjs +12 -0
- package/esm2022/lib/select/select.component.mjs +1160 -0
- package/esm2022/lib/select/select.directive.mjs +171 -0
- package/esm2022/lib/select/select.module.mjs +112 -0
- package/esm2022/lib/select/select.types.mjs +2 -0
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +46 -0
- package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +18 -0
- package/esm2022/lib/slider/abstract-slider.mjs +330 -0
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +143 -0
- package/esm2022/lib/slider/range-slider/range-slider.module.mjs +18 -0
- package/esm2022/lib/slider/slider.component.mjs +93 -0
- package/esm2022/lib/slider/slider.directive.mjs +16 -0
- package/esm2022/lib/slider/slider.module.mjs +20 -0
- package/esm2022/lib/slider/slider.types.mjs +10 -0
- package/esm2022/lib/snackbar/index.mjs +5 -0
- package/esm2022/lib/snackbar/snackbar-ref.mjs +51 -0
- package/esm2022/lib/snackbar/snackbar.component.mjs +48 -0
- package/esm2022/lib/snackbar/snackbar.service.mjs +227 -0
- package/esm2022/lib/snackbar/snackbar.token.mjs +20 -0
- package/esm2022/lib/snackbar/snackbar.types.mjs +25 -0
- package/esm2022/lib/spinner/spinner.component.mjs +22 -0
- package/esm2022/lib/spinner/spinner.module.mjs +18 -0
- package/esm2022/lib/star/star-button/star-button.component.mjs +53 -0
- package/esm2022/lib/star/star-button/star-button.module.mjs +19 -0
- package/esm2022/lib/star/star-display/star-display.component.mjs +66 -0
- package/esm2022/lib/star/star-display/star-display.module.mjs +19 -0
- package/esm2022/lib/star/star-input/star-input.component.mjs +221 -0
- package/esm2022/lib/star/star-input/star-input.module.mjs +19 -0
- package/esm2022/lib/star/star.component.mjs +28 -0
- package/esm2022/lib/star/star.module.mjs +18 -0
- package/esm2022/lib/star/star.types.mjs +23 -0
- package/esm2022/lib/statebox/statebox.component.mjs +158 -0
- package/esm2022/lib/statebox/statebox.module.mjs +18 -0
- package/esm2022/lib/statebox/statebox.types.mjs +2 -0
- package/esm2022/lib/table/table-item-storage.mjs +560 -0
- package/esm2022/lib/table/table.component.mjs +468 -0
- package/esm2022/lib/table/table.directives.mjs +64 -0
- package/esm2022/lib/table/table.module.mjs +46 -0
- package/esm2022/lib/table/table.types.mjs +30 -0
- package/esm2022/lib/table/utils.mjs +18 -0
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +64 -0
- package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +19 -0
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +172 -0
- package/esm2022/lib/table-pagination/table-pagination.module.mjs +21 -0
- package/esm2022/lib/table-pagination/table-pagination.types.mjs +7 -0
- package/esm2022/lib/types/alignment.types.mjs +10 -0
- package/esm2022/lib/types/colors.types.mjs +43 -0
- package/esm2022/lib/types/item-storage.types.mjs +6 -0
- package/esm2022/lib/types/theming.types.mjs +48 -0
- package/esm2022/lib/types/utility.types.mjs +5 -0
- package/esm2022/public-api.mjs +194 -0
- package/fesm2022/ardium-ui-ui.mjs +14316 -0
- package/fesm2022/ardium-ui-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/_internal/boolean-component.d.ts +50 -0
- package/lib/_internal/clear-button/clear-button.component.d.ts +6 -0
- package/lib/_internal/clear-button/clear-button.module.d.ts +8 -0
- package/lib/_internal/disablable-component.d.ts +11 -0
- package/lib/_internal/focusable-component.d.ts +52 -0
- package/lib/_internal/item-storages/dropdown-item-storage.d.ts +87 -0
- package/lib/_internal/item-storages/simple-item-storage.d.ts +159 -0
- package/lib/_internal/item-storages/simplest-item-storage.d.ts +70 -0
- package/lib/_internal/models/pagination.model.d.ts +53 -0
- package/lib/_internal/ngmodel-component.d.ts +42 -0
- package/lib/_internal/queue.d.ts +21 -0
- package/lib/_internal/selectable-list-component.d.ts +71 -0
- package/lib/badge/badge.directive.d.ts +31 -0
- package/lib/badge/badge.module.d.ts +8 -0
- package/lib/badge/badge.types.d.ts +17 -0
- package/lib/buttons/_button-base.d.ts +18 -0
- package/lib/buttons/button/button.component.d.ts +15 -0
- package/lib/buttons/button/button.module.d.ts +8 -0
- package/lib/buttons/fab/fab.component.d.ts +12 -0
- package/lib/buttons/fab/fab.module.d.ts +8 -0
- package/lib/buttons/general-button.types.d.ts +57 -0
- package/lib/buttons/icon-button/icon-button.component.d.ts +13 -0
- package/lib/buttons/icon-button/icon-button.module.d.ts +8 -0
- package/lib/calendar/calendar.component.d.ts +155 -0
- package/lib/calendar/calendar.directives.d.ts +51 -0
- package/lib/calendar/calendar.helpers.d.ts +15 -0
- package/lib/calendar/calendar.module.d.ts +11 -0
- package/lib/calendar/calendar.types.d.ts +80 -0
- package/lib/card/card.children.d.ts +43 -0
- package/lib/card/card.component.d.ts +13 -0
- package/lib/card/card.module.d.ts +9 -0
- package/lib/card/card.types.d.ts +10 -0
- package/lib/checkbox/checkbox.component.d.ts +21 -0
- package/lib/checkbox/checkbox.module.d.ts +8 -0
- package/lib/checkbox/checkbox.types.d.ts +6 -0
- package/lib/checkbox-list/checkbox-list.component.d.ts +50 -0
- package/lib/checkbox-list/checkbox-list.module.d.ts +9 -0
- package/lib/checkbox-list/checkbox-list.types.d.ts +7 -0
- package/lib/chip/chip.component.d.ts +18 -0
- package/lib/chip/chip.module.d.ts +11 -0
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +24 -0
- package/lib/chip/selectable-chip/selectable-chip.component.d.ts +24 -0
- package/lib/color/color-display/color-display.component.d.ts +17 -0
- package/lib/color/color-display/color-display.module.d.ts +8 -0
- package/lib/color/color-display/color-display.types.d.ts +9 -0
- package/lib/color/color-picker/color-picker.component.d.ts +125 -0
- package/lib/color/color-picker/color-picker.directives.d.ts +27 -0
- package/lib/color/color-picker/color-picker.module.d.ts +13 -0
- package/lib/color/color-picker/color-picker.types.d.ts +21 -0
- package/lib/dialog/dialog.component.d.ts +44 -0
- package/lib/dialog/dialog.directives.d.ts +9 -0
- package/lib/dialog/dialog.module.d.ts +11 -0
- package/lib/dialog/dialog.types.d.ts +28 -0
- package/lib/divider/divider.component.d.ts +8 -0
- package/lib/divider/divider.module.d.ts +8 -0
- package/lib/dropdown-panel/dropdown-panel.component.d.ts +37 -0
- package/lib/dropdown-panel/dropdown-panel.module.d.ts +8 -0
- package/lib/dropdown-panel/dropdown-panel.types.d.ts +12 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +22 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.directives.d.ts +21 -0
- package/lib/file-inputs/file-drop-area/file-drop-area.module.d.ts +12 -0
- package/lib/file-inputs/file-input/file-input.component.d.ts +41 -0
- package/lib/file-inputs/file-input/file-input.directives.d.ts +39 -0
- package/lib/file-inputs/file-input/file-input.module.d.ts +11 -0
- package/lib/file-inputs/file-input-base.d.ts +43 -0
- package/lib/file-inputs/file-input-types.d.ts +10 -0
- package/lib/form-field-frame/form-field-frame.component.d.ts +32 -0
- package/lib/form-field-frame/form-field-frame.directives.d.ts +14 -0
- package/lib/form-field-frame/form-field-frame.module.d.ts +9 -0
- package/lib/icon/icon.component.d.ts +32 -0
- package/lib/icon/icon.module.d.ts +9 -0
- package/lib/icon/icon.pipe.d.ts +7 -0
- package/lib/inputs/color-input/color-input.component.d.ts +147 -0
- package/lib/inputs/color-input/color-input.directives.d.ts +52 -0
- package/lib/inputs/color-input/color-input.module.d.ts +16 -0
- package/lib/inputs/color-input/color-input.types.d.ts +5 -0
- package/lib/inputs/digit-input/digit-input.component.d.ts +50 -0
- package/lib/inputs/digit-input/digit-input.model.d.ts +26 -0
- package/lib/inputs/digit-input/digit-input.module.d.ts +8 -0
- package/lib/inputs/digit-input/digit-input.types.d.ts +27 -0
- package/lib/inputs/digit-input/digit-input.utils.d.ts +17 -0
- package/lib/inputs/hex-input/hex-input.component.d.ts +60 -0
- package/lib/inputs/hex-input/hex-input.directives.d.ts +20 -0
- package/lib/inputs/hex-input/hex-input.module.d.ts +11 -0
- package/lib/inputs/hex-input.model.d.ts +27 -0
- package/lib/inputs/input/input.component.d.ts +79 -0
- package/lib/inputs/input/input.directives.d.ts +33 -0
- package/lib/inputs/input/input.module.d.ts +13 -0
- package/lib/inputs/input-transformers.d.ts +24 -0
- package/lib/inputs/input-types.d.ts +6 -0
- package/lib/inputs/input-utils.d.ts +58 -0
- package/lib/inputs/number-input/number-input.component.d.ts +70 -0
- package/lib/inputs/number-input/number-input.directives.d.ts +8 -0
- package/lib/inputs/number-input/number-input.module.d.ts +11 -0
- package/lib/inputs/password-input/password-input.component.d.ts +54 -0
- package/lib/inputs/password-input/password-input.directives.d.ts +27 -0
- package/lib/inputs/password-input/password-input.module.d.ts +11 -0
- package/lib/inputs/password-input/password-input.types.d.ts +3 -0
- package/lib/inputs/simple-input/simple-input.component.d.ts +58 -0
- package/lib/inputs/simple-input/simple-input.directives.d.ts +20 -0
- package/lib/inputs/simple-input/simple-input.module.d.ts +11 -0
- package/lib/kbd/kbd.component.d.ts +15 -0
- package/lib/kbd/kbd.module.d.ts +9 -0
- package/lib/kbd/kbd.pipe.d.ts +7 -0
- package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +18 -0
- package/lib/kbd-shortcut/kbd-shortcut.module.d.ts +9 -0
- package/lib/modal/modal.component.d.ts +36 -0
- package/lib/modal/modal.module.d.ts +11 -0
- package/lib/option/option.component.d.ts +29 -0
- package/lib/option/option.module.d.ts +8 -0
- package/lib/progress-bar/progress-bar.component.d.ts +26 -0
- package/lib/progress-bar/progress-bar.directive.d.ts +9 -0
- package/lib/progress-bar/progress-bar.module.d.ts +9 -0
- package/lib/progress-bar/progress-bar.types.d.ts +26 -0
- package/lib/progress-circle/progress-circle.component.d.ts +28 -0
- package/lib/progress-circle/progress-circle.directive.d.ts +9 -0
- package/lib/progress-circle/progress-circle.module.d.ts +9 -0
- package/lib/progress-circle/progress-circle.types.d.ts +17 -0
- package/lib/radio/radio/radio.component.d.ts +23 -0
- package/lib/radio/radio-group.component.d.ts +43 -0
- package/lib/radio/radio.module.d.ts +9 -0
- package/lib/search-functions.d.ts +10 -0
- package/lib/segment/segment.component.d.ts +48 -0
- package/lib/segment/segment.directives.d.ts +9 -0
- package/lib/segment/segment.module.d.ts +9 -0
- package/lib/segment/segment.types.d.ts +16 -0
- package/lib/select/select.component.d.ts +255 -0
- package/lib/select/select.directive.d.ts +94 -0
- package/lib/select/select.module.d.ts +14 -0
- package/lib/select/select.types.d.ts +109 -0
- package/lib/slide-toggle/slide-toggle.component.d.ts +14 -0
- package/lib/slide-toggle/slide-toggle.module.d.ts +8 -0
- package/lib/slider/abstract-slider.d.ts +88 -0
- package/lib/slider/range-slider/range-slider.component.d.ts +29 -0
- package/lib/slider/range-slider/range-slider.module.d.ts +8 -0
- package/lib/slider/slider.component.d.ts +18 -0
- package/lib/slider/slider.directive.d.ts +9 -0
- package/lib/slider/slider.module.d.ts +10 -0
- package/lib/slider/slider.types.d.ts +28 -0
- package/lib/snackbar/index.d.ts +4 -0
- package/lib/snackbar/snackbar-ref.d.ts +37 -0
- package/lib/snackbar/snackbar.component.d.ts +16 -0
- package/lib/snackbar/snackbar.service.d.ts +31 -0
- package/lib/snackbar/snackbar.token.d.ts +5 -0
- package/lib/snackbar/snackbar.types.d.ts +48 -0
- package/lib/spinner/spinner.component.d.ts +8 -0
- package/lib/spinner/spinner.module.d.ts +8 -0
- package/lib/star/star-button/star-button.component.d.ts +16 -0
- package/lib/star/star-button/star-button.module.d.ts +9 -0
- package/lib/star/star-display/star-display.component.d.ts +16 -0
- package/lib/star/star-display/star-display.module.d.ts +9 -0
- package/lib/star/star-input/star-input.component.d.ts +51 -0
- package/lib/star/star-input/star-input.module.d.ts +9 -0
- package/lib/star/star.component.d.ts +10 -0
- package/lib/star/star.module.d.ts +8 -0
- package/lib/star/star.types.d.ts +30 -0
- package/lib/statebox/statebox.component.d.ts +31 -0
- package/lib/statebox/statebox.module.d.ts +8 -0
- package/lib/statebox/statebox.types.d.ts +22 -0
- package/lib/table/table-item-storage.d.ts +266 -0
- package/lib/table/table.component.d.ts +127 -0
- package/lib/table/table.directives.d.ts +35 -0
- package/lib/table/table.module.d.ts +12 -0
- package/lib/table/table.types.d.ts +83 -0
- package/lib/table/utils.d.ts +4 -0
- package/lib/table-from-csv/table-from-csv.component.d.ts +16 -0
- package/lib/table-from-csv/table-from-csv.module.d.ts +9 -0
- package/lib/table-pagination/table-pagination.component.d.ts +48 -0
- package/lib/table-pagination/table-pagination.module.d.ts +11 -0
- package/lib/table-pagination/table-pagination.types.d.ts +9 -0
- package/lib/types/alignment.types.d.ts +11 -0
- package/lib/types/colors.types.d.ts +71 -0
- package/lib/types/item-storage.types.d.ts +98 -0
- package/lib/types/theming.types.d.ts +61 -0
- package/lib/types/utility.types.d.ts +11 -0
- package/package.json +36 -0
- package/prebuilt-themes/default/badge.css +208 -0
- package/prebuilt-themes/default/badge.css.map +1 -0
- package/prebuilt-themes/default/buttons/button.css +290 -0
- package/prebuilt-themes/default/buttons/button.css.map +1 -0
- package/prebuilt-themes/default/buttons/fab.css +307 -0
- package/prebuilt-themes/default/buttons/fab.css.map +1 -0
- package/prebuilt-themes/default/buttons/icon-button.css +288 -0
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -0
- package/prebuilt-themes/default/calendar.css +293 -0
- package/prebuilt-themes/default/calendar.css.map +1 -0
- package/prebuilt-themes/default/card.css +122 -0
- package/prebuilt-themes/default/card.css.map +1 -0
- package/prebuilt-themes/default/checkbox-list.css +65 -0
- package/prebuilt-themes/default/checkbox-list.css.map +1 -0
- package/prebuilt-themes/default/checkbox.css +365 -0
- package/prebuilt-themes/default/checkbox.css.map +1 -0
- package/prebuilt-themes/default/chips.css +367 -0
- package/prebuilt-themes/default/chips.css.map +1 -0
- package/prebuilt-themes/default/color-display.css +29 -0
- package/prebuilt-themes/default/color-display.css.map +1 -0
- package/prebuilt-themes/default/color-picker.css +106 -0
- package/prebuilt-themes/default/color-picker.css.map +1 -0
- package/prebuilt-themes/default/core.css +84 -0
- package/prebuilt-themes/default/core.css.map +1 -0
- package/prebuilt-themes/default/dialog.css +18 -0
- package/prebuilt-themes/default/dialog.css.map +1 -0
- package/prebuilt-themes/default/divider.css +11 -0
- package/prebuilt-themes/default/divider.css.map +1 -0
- package/prebuilt-themes/default/dropdown-panel.css +37 -0
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -0
- package/prebuilt-themes/default/file-drop-area.css +279 -0
- package/prebuilt-themes/default/file-drop-area.css.map +1 -0
- package/prebuilt-themes/default/form-field-frame.css +84 -0
- package/prebuilt-themes/default/form-field-frame.css.map +1 -0
- package/prebuilt-themes/default/inputs/color-input.css +139 -0
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/digit-input.css +45 -0
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/file-input.css +169 -0
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/hex-input.css +119 -0
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/input.css +139 -0
- package/prebuilt-themes/default/inputs/input.css.map +1 -0
- package/prebuilt-themes/default/inputs/number-input.css +150 -0
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/password-input.css +73 -0
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -0
- package/prebuilt-themes/default/inputs/search-bar.css +114 -0
- package/prebuilt-themes/default/inputs/search-bar.css.map +1 -0
- package/prebuilt-themes/default/inputs/simple-input.css +114 -0
- package/prebuilt-themes/default/inputs/simple-input.css.map +1 -0
- package/prebuilt-themes/default/kbd-shortcut.css +12 -0
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -0
- package/prebuilt-themes/default/kbd.css +17 -0
- package/prebuilt-themes/default/kbd.css.map +1 -0
- package/prebuilt-themes/default/modal.css +73 -0
- package/prebuilt-themes/default/modal.css.map +1 -0
- package/prebuilt-themes/default/progress-bar.css +267 -0
- package/prebuilt-themes/default/progress-bar.css.map +1 -0
- package/prebuilt-themes/default/progress-circle.css +167 -0
- package/prebuilt-themes/default/progress-circle.css.map +1 -0
- package/prebuilt-themes/default/radio.css +226 -0
- package/prebuilt-themes/default/radio.css.map +1 -0
- package/prebuilt-themes/default/segment.css +391 -0
- package/prebuilt-themes/default/segment.css.map +1 -0
- package/prebuilt-themes/default/select.css +275 -0
- package/prebuilt-themes/default/select.css.map +1 -0
- package/prebuilt-themes/default/slide-toggle.css +264 -0
- package/prebuilt-themes/default/slide-toggle.css.map +1 -0
- package/prebuilt-themes/default/slider.css +354 -0
- package/prebuilt-themes/default/slider.css.map +1 -0
- package/prebuilt-themes/default/snackbar.css +183 -0
- package/prebuilt-themes/default/snackbar.css.map +1 -0
- package/prebuilt-themes/default/spinner.css +151 -0
- package/prebuilt-themes/default/spinner.css.map +1 -0
- package/prebuilt-themes/default/stars.css +291 -0
- package/prebuilt-themes/default/stars.css.map +1 -0
- package/prebuilt-themes/default/statebox.css +235 -0
- package/prebuilt-themes/default/statebox.css.map +1 -0
- package/prebuilt-themes/default/table-pagination.css +48 -0
- package/prebuilt-themes/default/table-pagination.css.map +1 -0
- package/prebuilt-themes/default/table.css +418 -0
- package/prebuilt-themes/default/table.css.map +1 -0
- package/public-api.d.ts +145 -0
- package/themes/_variables.scss +121 -0
- package/themes/default/_clear-button.scss +73 -0
- package/themes/default/_coloring.scss +137 -0
- package/themes/default/_dropdown-arrow.scss +12 -0
- package/themes/default/_mixins.scss +70 -0
- package/themes/default/badge.scss +94 -0
- package/themes/default/buttons/_button-mixins.scss +144 -0
- package/themes/default/buttons/button.scss +62 -0
- package/themes/default/buttons/fab.scss +72 -0
- package/themes/default/buttons/icon-button.scss +59 -0
- package/themes/default/calendar.scss +182 -0
- package/themes/default/card.scss +126 -0
- package/themes/default/checkbox-list.scss +83 -0
- package/themes/default/checkbox.scss +109 -0
- package/themes/default/chips.scss +206 -0
- package/themes/default/color-display.scss +41 -0
- package/themes/default/color-picker.scss +111 -0
- package/themes/default/core.scss +96 -0
- package/themes/default/dialog.scss +16 -0
- package/themes/default/divider.scss +13 -0
- package/themes/default/dropdown-panel.scss +45 -0
- package/themes/default/file-drop-area.scss +162 -0
- package/themes/default/form-field-frame.scss +78 -0
- package/themes/default/inputs/_shared.scss +46 -0
- package/themes/default/inputs/color-input.scss +46 -0
- package/themes/default/inputs/digit-input.scss +56 -0
- package/themes/default/inputs/file-input.scss +78 -0
- package/themes/default/inputs/hex-input.scss +27 -0
- package/themes/default/inputs/input.scss +52 -0
- package/themes/default/inputs/number-input.scss +121 -0
- package/themes/default/inputs/password-input.scss +43 -0
- package/themes/default/inputs/search-bar.scss +19 -0
- package/themes/default/inputs/simple-input.scss +19 -0
- package/themes/default/kbd-shortcut.scss +13 -0
- package/themes/default/kbd.scss +20 -0
- package/themes/default/modal.scss +93 -0
- package/themes/default/progress-bar.scss +166 -0
- package/themes/default/progress-circle.scss +56 -0
- package/themes/default/radio.scss +112 -0
- package/themes/default/segment.scss +339 -0
- package/themes/default/select.scss +253 -0
- package/themes/default/slide-toggle.scss +151 -0
- package/themes/default/slider.scss +224 -0
- package/themes/default/snackbar.scss +60 -0
- package/themes/default/spinner.scss +21 -0
- package/themes/default/stars.scss +122 -0
- package/themes/default/statebox.scss +109 -0
- package/themes/default/table-pagination.scss +56 -0
- package/themes/default/table.scss +403 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, OnDestroy, AfterViewInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ComponentColor } from '../types/colors.types';
|
|
3
|
+
import { BadgePosition, BadgeSize } from './badge.types';
|
|
4
|
+
import { FormElementVariant } from '../types/theming.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ArdiumBadgeDirective implements OnChanges, AfterViewInit, OnDestroy {
|
|
7
|
+
private _el;
|
|
8
|
+
private _renderer;
|
|
9
|
+
constructor(_el: ElementRef, _renderer: Renderer2);
|
|
10
|
+
text?: string;
|
|
11
|
+
color: ComponentColor;
|
|
12
|
+
variant: FormElementVariant;
|
|
13
|
+
size: BadgeSize;
|
|
14
|
+
private _position;
|
|
15
|
+
get position(): BadgePosition;
|
|
16
|
+
set position(v: BadgePosition);
|
|
17
|
+
ariaLabel?: string;
|
|
18
|
+
private _hidden;
|
|
19
|
+
get hidden(): boolean;
|
|
20
|
+
set hidden(v: any);
|
|
21
|
+
private _overlap;
|
|
22
|
+
get overlap(): boolean;
|
|
23
|
+
set overlap(v: any);
|
|
24
|
+
private _createBadgeElement;
|
|
25
|
+
private _badgeElement?;
|
|
26
|
+
ngOnChanges(): void;
|
|
27
|
+
ngAfterViewInit(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumBadgeDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumBadgeDirective, "[ardBadge]", never, { "text": { "alias": "ardBadge"; "required": false; }; "color": { "alias": "ardBadgeColor"; "required": false; }; "variant": { "alias": "ardBadgeVariant"; "required": false; }; "size": { "alias": "ardBadgeSize"; "required": false; }; "position": { "alias": "ardBadgePosition"; "required": false; }; "ariaLabel": { "alias": "ardBadgeAriaLabel"; "required": false; }; "hidden": { "alias": "ardBadgeHidden"; "required": false; }; "overlap": { "alias": "ardBadgeOverlap"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./badge.directive";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class ArdiumBadgeModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumBadgeModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumBadgeModule, [typeof i1.ArdiumBadgeDirective], [typeof i2.CommonModule], [typeof i1.ArdiumBadgeDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumBadgeModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const BadgeSize: {
|
|
2
|
+
readonly Small: "small";
|
|
3
|
+
readonly Medium: "medium";
|
|
4
|
+
readonly Large: "large";
|
|
5
|
+
};
|
|
6
|
+
export type BadgeSize = (typeof BadgeSize)[keyof typeof BadgeSize];
|
|
7
|
+
export declare const BadgePosition: {
|
|
8
|
+
readonly AboveBefore: "above-before";
|
|
9
|
+
readonly AboveAfter: "above-after";
|
|
10
|
+
readonly BelowBefore: "below-before";
|
|
11
|
+
readonly BelowAfter: "below-after";
|
|
12
|
+
readonly Before: "before";
|
|
13
|
+
readonly After: "after";
|
|
14
|
+
readonly Above: "above";
|
|
15
|
+
readonly Below: "below";
|
|
16
|
+
};
|
|
17
|
+
export type BadgePosition = (typeof BadgePosition)[keyof typeof BadgePosition];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ButtonAppearance } from './general-button.types';
|
|
2
|
+
import { _FocusableComponentBase } from '../_internal/focusable-component';
|
|
3
|
+
import { ComponentColor } from '../types/colors.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare abstract class _ButtonBase extends _FocusableComponentBase {
|
|
6
|
+
wrapperClasses: string;
|
|
7
|
+
appearance: ButtonAppearance;
|
|
8
|
+
color: ComponentColor;
|
|
9
|
+
private _lightColoring;
|
|
10
|
+
get lightColoring(): boolean;
|
|
11
|
+
set lightColoring(v: any);
|
|
12
|
+
private _compact;
|
|
13
|
+
get compact(): boolean;
|
|
14
|
+
set compact(v: any);
|
|
15
|
+
abstract get ngClasses(): string;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<_ButtonBase, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_ButtonBase, never, never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "color": { "alias": "color"; "required": false; }; "lightColoring": { "alias": "lightColoring"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SimpleOneAxisAlignment } from '../../types/alignment.types';
|
|
2
|
+
import { _ButtonBase } from '../_button-base';
|
|
3
|
+
import { ButtonVariant } from '../general-button.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ArdiumButtonComponent extends _ButtonBase {
|
|
6
|
+
variant: ButtonVariant;
|
|
7
|
+
alignIcon: SimpleOneAxisAlignment;
|
|
8
|
+
private _vertical;
|
|
9
|
+
get vertical(): boolean;
|
|
10
|
+
set vertical(v: any);
|
|
11
|
+
icon?: string;
|
|
12
|
+
get ngClasses(): string;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumButtonComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumButtonComponent, "ard-button", never, { "variant": { "alias": "variant"; "required": false; }; "alignIcon": { "alias": "alignIcon"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class ArdiumButtonModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumButtonModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumButtonModule, [typeof i1.ArdiumButtonComponent], [typeof i2.CommonModule], [typeof i1.ArdiumButtonComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumButtonModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { _ButtonBase } from '../_button-base';
|
|
2
|
+
import { FABSize } from '../general-button.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdiumFabComponent extends _ButtonBase {
|
|
5
|
+
size: FABSize;
|
|
6
|
+
private _extended;
|
|
7
|
+
get extended(): boolean;
|
|
8
|
+
set extended(v: any);
|
|
9
|
+
get ngClasses(): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFabComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFabComponent, "ard-fab", never, { "size": { "alias": "size"; "required": false; }; "extended": { "alias": "extended"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./fab.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class ArdiumFabModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFabModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumFabModule, [typeof i1.ArdiumFabComponent], [typeof i2.CommonModule], [typeof i1.ArdiumFabComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumFabModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* General button appearance. Controls which parts of the button can be colored.
|
|
3
|
+
*
|
|
4
|
+
* @see {@link ButtonColoringMode}
|
|
5
|
+
*/
|
|
6
|
+
export declare const ButtonAppearance: {
|
|
7
|
+
/**
|
|
8
|
+
* No border and no background. Text and icon are colored.
|
|
9
|
+
*/
|
|
10
|
+
readonly Transparent: "transparent";
|
|
11
|
+
/**
|
|
12
|
+
* No border, but with text shadow. Text, icon, and background are colored.
|
|
13
|
+
*/
|
|
14
|
+
readonly Raised: "raised";
|
|
15
|
+
/**
|
|
16
|
+
* No border, but with text shadow. White background. Text and icon are colored.
|
|
17
|
+
*/
|
|
18
|
+
readonly RaisedStrong: "raised-strong";
|
|
19
|
+
/**
|
|
20
|
+
* White background. Text and icon are colored.
|
|
21
|
+
*/
|
|
22
|
+
readonly Outlined: "outlined";
|
|
23
|
+
/**
|
|
24
|
+
* White background. Text, icon, and border may be colored.
|
|
25
|
+
*
|
|
26
|
+
* Background becomes colored on hover/focus.
|
|
27
|
+
*/
|
|
28
|
+
readonly OutlinedStrong: "outlined-strong";
|
|
29
|
+
/**
|
|
30
|
+
* No border. Text, icon, and background are colored.
|
|
31
|
+
*/
|
|
32
|
+
readonly Flat: "flat";
|
|
33
|
+
};
|
|
34
|
+
export type ButtonAppearance = (typeof ButtonAppearance)[keyof typeof ButtonAppearance];
|
|
35
|
+
export declare const ButtonVariant: {
|
|
36
|
+
/**
|
|
37
|
+
* Basic, rectangular button.
|
|
38
|
+
*/
|
|
39
|
+
readonly Rounded: "rounded";
|
|
40
|
+
/**
|
|
41
|
+
* Pill-shaped button.
|
|
42
|
+
*/
|
|
43
|
+
readonly Pill: "pill";
|
|
44
|
+
/**
|
|
45
|
+
* Basic, rectangular button with sharp corners.
|
|
46
|
+
*/
|
|
47
|
+
readonly Sharp: "sharp";
|
|
48
|
+
};
|
|
49
|
+
export type ButtonVariant = (typeof ButtonVariant)[keyof typeof ButtonVariant];
|
|
50
|
+
/**
|
|
51
|
+
* **F**loating **A**ction **B**utton size.
|
|
52
|
+
*/
|
|
53
|
+
export declare const FABSize: {
|
|
54
|
+
readonly Standard: "standard";
|
|
55
|
+
readonly Small: "small";
|
|
56
|
+
};
|
|
57
|
+
export type FABSize = (typeof FABSize)[keyof typeof FABSize];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { _FocusableComponentBase } from '../../_internal/focusable-component';
|
|
2
|
+
import { ComponentColor } from '../../types/colors.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdiumIconButtonComponent extends _FocusableComponentBase {
|
|
5
|
+
wrapperClasses: string;
|
|
6
|
+
color: ComponentColor;
|
|
7
|
+
private _compact;
|
|
8
|
+
get compact(): boolean;
|
|
9
|
+
set compact(v: any);
|
|
10
|
+
get ngClasses(): string;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumIconButtonComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumIconButtonComponent, "ard-icon-button", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "color": { "alias": "color"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./icon-button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class ArdiumIconButtonModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumIconButtonModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumIconButtonModule, [typeof i1.ArdiumIconButtonComponent], [typeof i2.CommonModule], [typeof i1.ArdiumIconButtonComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumIconButtonModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
3
|
+
import { ComponentColor } from '../types/colors.types';
|
|
4
|
+
import { _NgModelComponentBase } from '../_internal/ngmodel-component';
|
|
5
|
+
import { CalendarView, CalendarDayContext, CalendarDaysViewHeaderContext, CalendarFloatingMonthContext, CalendarMonthContext, CalendarMonthsViewHeaderContext, CalendarWeekdayContext, CalendarYearContext, CalendarYearsViewHeaderContext } from './calendar.types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ArdiumCalendarComponent extends _NgModelComponentBase implements OnInit, OnChanges {
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
private _wasSelectedChecked;
|
|
10
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
+
todayDate: Date;
|
|
12
|
+
isDayToday(day: number | null): boolean;
|
|
13
|
+
isMonthToday(month: number): boolean;
|
|
14
|
+
isYearToday(year: number): boolean;
|
|
15
|
+
isDaySelected(day: number | Date | null): boolean;
|
|
16
|
+
isMonthSelected(month: number | Date): boolean;
|
|
17
|
+
isYearSelected(year: number | Date): boolean;
|
|
18
|
+
color: ComponentColor;
|
|
19
|
+
get ngClasses(): string;
|
|
20
|
+
private readonly todayYearRangeStart;
|
|
21
|
+
displayedYearRangeStart: number;
|
|
22
|
+
private _updateDisplayedYearRangeStart;
|
|
23
|
+
yearRangeArrayCache: number[] | null;
|
|
24
|
+
get yearRangeArray(): number[];
|
|
25
|
+
protected _activeDate: Date;
|
|
26
|
+
set activeDate(v: Date | string | number);
|
|
27
|
+
get activeDate(): Date;
|
|
28
|
+
get activeYear(): number;
|
|
29
|
+
set activeYear(v: any);
|
|
30
|
+
get activeMonth(): number;
|
|
31
|
+
set activeMonth(v: any);
|
|
32
|
+
protected _selected: Date | null;
|
|
33
|
+
set selected(v: any);
|
|
34
|
+
get selected(): Date | null;
|
|
35
|
+
writeValue(v: any): void;
|
|
36
|
+
yearSelected: EventEmitter<number>;
|
|
37
|
+
monthSelected: EventEmitter<number>;
|
|
38
|
+
selectedChange: EventEmitter<Date | null>;
|
|
39
|
+
activeYearChange: EventEmitter<number>;
|
|
40
|
+
activeMonthChange: EventEmitter<number>;
|
|
41
|
+
viewChange: EventEmitter<CalendarView>;
|
|
42
|
+
changeEvent: EventEmitter<Date | null>;
|
|
43
|
+
protected _emitChange(): void;
|
|
44
|
+
private _highlightedDay;
|
|
45
|
+
get highlightedDay(): number | null;
|
|
46
|
+
set highlightedDay(v: number | null);
|
|
47
|
+
setHighlightedDayAdjustDate(day: number): void;
|
|
48
|
+
private _highlightedMonth;
|
|
49
|
+
get highlightedMonth(): number | null;
|
|
50
|
+
set highlightedMonth(v: number | null);
|
|
51
|
+
setHighlightedMonthAdjustDate(month: number): void;
|
|
52
|
+
private _highlightedYear;
|
|
53
|
+
get highlightedYear(): number | null;
|
|
54
|
+
set highlightedYear(v: number | null);
|
|
55
|
+
setHighlightedYearAdjustPage(year: number): void;
|
|
56
|
+
get currentAriaLabel(): string;
|
|
57
|
+
onCalendarDayMouseover(day: number | null): void;
|
|
58
|
+
onCalendarMonthMouseover(month: number): void;
|
|
59
|
+
onCalendarYearMouseover(year: number): void;
|
|
60
|
+
private _isUsingKeyboard;
|
|
61
|
+
onDocumentMousemove(): void;
|
|
62
|
+
onDocumentKeydown(): void;
|
|
63
|
+
onCalendarDayClick(day: number | null): void;
|
|
64
|
+
onCalendarMonthClick(month: number): void;
|
|
65
|
+
onCalendarYearClick(year: number): void;
|
|
66
|
+
onDayGridFocus(): void;
|
|
67
|
+
onDayGridBlur(): void;
|
|
68
|
+
onDayGridClick(): void;
|
|
69
|
+
onMonthGridFocus(): void;
|
|
70
|
+
onMonthGridBlur(): void;
|
|
71
|
+
onMonthGridClick(): void;
|
|
72
|
+
onYearGridFocus(): void;
|
|
73
|
+
onYearGridBlur(): void;
|
|
74
|
+
onYearGridClick(): void;
|
|
75
|
+
onMainGridKeydown(event: KeyboardEvent): void;
|
|
76
|
+
private _onEnterPress;
|
|
77
|
+
private _onArrowUpPress;
|
|
78
|
+
private _onArrowDownPress;
|
|
79
|
+
private _onArrowLeftPress;
|
|
80
|
+
private _onArrowRightPress;
|
|
81
|
+
private _onHomePress;
|
|
82
|
+
private _onEndPress;
|
|
83
|
+
private _onPageUpPress;
|
|
84
|
+
private _onPageDownPress;
|
|
85
|
+
selectDay(day: number | Date | null): void;
|
|
86
|
+
selectMonth(month: number | Date | null): void;
|
|
87
|
+
selectYear(year: number | Date | null): void;
|
|
88
|
+
selectCurrentlyHighlighted(): void;
|
|
89
|
+
changeMonth(offset: number): void;
|
|
90
|
+
changeYear(offset: number): void;
|
|
91
|
+
changeYearsViewPage(pages: number): void;
|
|
92
|
+
highlightNextDay(offset?: number): void;
|
|
93
|
+
highlightPreviousDay(offset?: number): void;
|
|
94
|
+
highlightNextMonth(offset?: number): void;
|
|
95
|
+
highlightPreviousMonth(offset?: number): void;
|
|
96
|
+
highlightNextYear(offset?: number): void;
|
|
97
|
+
highlightPreviousYear(offset?: number): void;
|
|
98
|
+
highlightFirstDay(): void;
|
|
99
|
+
highlightLastDay(): void;
|
|
100
|
+
highlightFirstMonth(): void;
|
|
101
|
+
highlightLastMonth(): void;
|
|
102
|
+
highlightFirstYear(): void;
|
|
103
|
+
highlightLastYear(): void;
|
|
104
|
+
highlightSameDayNextMonth(): void;
|
|
105
|
+
highlightSameDayPreviousMonth(): void;
|
|
106
|
+
private _fixDateAfterMonthChange;
|
|
107
|
+
highlightSameDayNextYear(): void;
|
|
108
|
+
highlightSameDayPreviousYear(): void;
|
|
109
|
+
private _fixDateAfterYearChange;
|
|
110
|
+
highlightSameMonthNextYear(multiple: boolean): void;
|
|
111
|
+
highlightSameMonthPreviousYear(multiple: boolean): void;
|
|
112
|
+
highlightSameYearNextPage(multiple: boolean): void;
|
|
113
|
+
highlightSameYearPreviousPage(multiple: boolean): void;
|
|
114
|
+
protected _firstWeekday: number;
|
|
115
|
+
get firstWeekday(): number;
|
|
116
|
+
set firstWeekday(v: any);
|
|
117
|
+
protected _nointeract: boolean;
|
|
118
|
+
get nointeract(): boolean;
|
|
119
|
+
set nointeract(v: any);
|
|
120
|
+
protected _staticHeight: boolean;
|
|
121
|
+
get staticHeight(): boolean;
|
|
122
|
+
set staticHeight(v: any);
|
|
123
|
+
calendarArray: (number | null)[][];
|
|
124
|
+
reserveTopRow: boolean;
|
|
125
|
+
protected _updateCalendarArray(): void;
|
|
126
|
+
readonly monthsArray: number[];
|
|
127
|
+
private _yearsArrayCache;
|
|
128
|
+
private _yearsArrayCacheStartYear;
|
|
129
|
+
getYearsArray(): number[];
|
|
130
|
+
weekdayArray: number[];
|
|
131
|
+
protected _updateWeekdayArray(): void;
|
|
132
|
+
activeView: CalendarView;
|
|
133
|
+
set startView(v: CalendarView);
|
|
134
|
+
openYearsView(): void;
|
|
135
|
+
openMonthsView(): void;
|
|
136
|
+
openDaysView(): void;
|
|
137
|
+
yearsViewHeaderTemplate?: TemplateRef<CalendarYearsViewHeaderContext>;
|
|
138
|
+
monthsViewHeaderTemplate?: TemplateRef<CalendarMonthsViewHeaderContext>;
|
|
139
|
+
daysViewHeaderTemplate?: TemplateRef<CalendarDaysViewHeaderContext>;
|
|
140
|
+
weekdayTemplate?: TemplateRef<CalendarWeekdayContext>;
|
|
141
|
+
floatingMonthTemplate?: TemplateRef<CalendarFloatingMonthContext>;
|
|
142
|
+
yearTemplate?: TemplateRef<CalendarYearContext>;
|
|
143
|
+
monthTemplate?: TemplateRef<CalendarMonthContext>;
|
|
144
|
+
dayTemplate?: TemplateRef<CalendarDayContext>;
|
|
145
|
+
getYearsViewHeaderContext(): CalendarYearsViewHeaderContext;
|
|
146
|
+
getMonthsViewHeaderContext(): CalendarMonthsViewHeaderContext;
|
|
147
|
+
getDaysViewHeaderContext(): CalendarDaysViewHeaderContext;
|
|
148
|
+
getWeekdayContext(dayIndex: number): CalendarWeekdayContext;
|
|
149
|
+
getFloatingMonthContext(): CalendarFloatingMonthContext;
|
|
150
|
+
getYearContext(year: number): CalendarYearContext;
|
|
151
|
+
getMonthContext(month: number): CalendarMonthContext;
|
|
152
|
+
getDayContext(day: number): CalendarDayContext;
|
|
153
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCalendarComponent, never>;
|
|
154
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumCalendarComponent, "ard-calendar", never, { "color": { "alias": "color"; "required": false; }; "activeYear": { "alias": "activeYear"; "required": false; }; "activeMonth": { "alias": "activeMonth"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "firstWeekday": { "alias": "firstWeekday"; "required": false; }; "nointeract": { "alias": "nointeract"; "required": false; }; "staticHeight": { "alias": "staticHeight"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "selectedChange": "selectedChange"; "activeYearChange": "activeYearChange"; "activeMonthChange": "activeMonthChange"; "viewChange": "viewChange"; "changeEvent": "change"; }, ["yearsViewHeaderTemplate", "monthsViewHeaderTemplate", "daysViewHeaderTemplate", "weekdayTemplate", "floatingMonthTemplate", "yearTemplate", "monthTemplate", "dayTemplate"], never, false, never>;
|
|
155
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { CalendarDayContext, CalendarFloatingMonthContext, CalendarDaysViewHeaderContext, CalendarMonthContext, CalendarWeekdayContext, CalendarYearContext, CalendarMonthsViewHeaderContext, CalendarYearsViewHeaderContext } from './calendar.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdDaysViewHeaderTemplateDirective {
|
|
5
|
+
template: TemplateRef<CalendarDaysViewHeaderContext>;
|
|
6
|
+
constructor(template: TemplateRef<CalendarDaysViewHeaderContext>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdDaysViewHeaderTemplateDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdDaysViewHeaderTemplateDirective, "ard-calendar > ng-template[ard-header-tmp], ard-datepicker > ng-template[ard-header-tmp]", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare class ArdYearsViewHeaderTemplateDirective {
|
|
11
|
+
template: TemplateRef<CalendarYearsViewHeaderContext>;
|
|
12
|
+
constructor(template: TemplateRef<CalendarYearsViewHeaderContext>);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdYearsViewHeaderTemplateDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdYearsViewHeaderTemplateDirective, "ard-calendar > ng-template[ard-year-picker-header-tmp], ard-datepicker > ng-template[ard-year-picker-header-tmp]", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
16
|
+
export declare class ArdMonthsViewHeaderTemplateDirective {
|
|
17
|
+
template: TemplateRef<CalendarMonthsViewHeaderContext>;
|
|
18
|
+
constructor(template: TemplateRef<CalendarMonthsViewHeaderContext>);
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdMonthsViewHeaderTemplateDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdMonthsViewHeaderTemplateDirective, "ard-calendar > ng-template[ard-month-picker-header-tmp], ard-datepicker > ng-template[ard-month-picker-header-tmp]", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
22
|
+
export declare class ArdWeekdayTemplateDirective {
|
|
23
|
+
template: TemplateRef<CalendarWeekdayContext>;
|
|
24
|
+
constructor(template: TemplateRef<CalendarWeekdayContext>);
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdWeekdayTemplateDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdWeekdayTemplateDirective, "ard-calendar > ng-template[ard-weekday-tmp], ard-datepicker > ng-template[ard-weekday-tmp]", never, {}, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
28
|
+
export declare class ArdFloatingMonthTemplateDirective {
|
|
29
|
+
template: TemplateRef<CalendarFloatingMonthContext>;
|
|
30
|
+
constructor(template: TemplateRef<CalendarFloatingMonthContext>);
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdFloatingMonthTemplateDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdFloatingMonthTemplateDirective, "ard-calendar > ng-template[ard-floating-month-tmp], ard-datepicker > ng-template[ard-floating-month-tmp]", never, {}, {}, never, never, false, never>;
|
|
33
|
+
}
|
|
34
|
+
export declare class ArdYearTemplateDirective {
|
|
35
|
+
template: TemplateRef<CalendarYearContext>;
|
|
36
|
+
constructor(template: TemplateRef<CalendarYearContext>);
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdYearTemplateDirective, never>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdYearTemplateDirective, "ard-calendar > ng-template[ard-year-tmp], ard-datepicker > ng-template[ard-year-tmp]", never, {}, {}, never, never, false, never>;
|
|
39
|
+
}
|
|
40
|
+
export declare class ArdMonthTemplateDirective {
|
|
41
|
+
template: TemplateRef<CalendarMonthContext>;
|
|
42
|
+
constructor(template: TemplateRef<CalendarMonthContext>);
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdMonthTemplateDirective, never>;
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdMonthTemplateDirective, "ard-calendar > ng-template[ard-month-tmp], ard-datepicker > ng-template[ard-month-tmp]", never, {}, {}, never, never, false, never>;
|
|
45
|
+
}
|
|
46
|
+
export declare class ArdDayTemplateDirective {
|
|
47
|
+
template: TemplateRef<CalendarDayContext>;
|
|
48
|
+
constructor(template: TemplateRef<CalendarDayContext>);
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdDayTemplateDirective, never>;
|
|
50
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdDayTemplateDirective, "ard-calendar > ng-template[ard-day-tmp], ard-datepicker > ng-template[ard-day-tmp]", never, {}, {}, never, never, false, never>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type CalendarArray = {
|
|
2
|
+
array: (number | null)[][];
|
|
3
|
+
leadingSpaces: number;
|
|
4
|
+
trailingSpaces: number;
|
|
5
|
+
weeks: number;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Generates a layout array to be used to create a calendar page for the given date's month.
|
|
9
|
+
*
|
|
10
|
+
* The returned object contains an array to create the layout from, the number of leading and trailing spaces in the layout, and the number of weeks (full or not) in the month.
|
|
11
|
+
* @param date The date to get the month from.
|
|
12
|
+
* @param firstWeekday The index of the first weekday in the calendar layout. Starts at Sunday, with the index 0. Defaults to 1.
|
|
13
|
+
* @returns A {@link CalendarArray} object.
|
|
14
|
+
*/
|
|
15
|
+
export declare function getMonthLayout(date: Date, firstWeekday?: number): CalendarArray;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./calendar.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../buttons/button/button.module";
|
|
5
|
+
import * as i4 from "../buttons/icon-button/icon-button.module";
|
|
6
|
+
import * as i5 from "../icon/icon.module";
|
|
7
|
+
export declare class ArdiumCalendarModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCalendarModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumCalendarModule, [typeof i1.ArdiumCalendarComponent], [typeof i2.CommonModule, typeof i3.ArdiumButtonModule, typeof i4.ArdiumIconButtonModule, typeof i5.ArdiumIconModule], [typeof i1.ArdiumCalendarComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumCalendarModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export declare const CalendarRangeVariant: {
|
|
2
|
+
readonly Row: "row";
|
|
3
|
+
readonly OutlineRounded: "outline-rounded";
|
|
4
|
+
readonly OutlineSharp: "outline-sharp";
|
|
5
|
+
};
|
|
6
|
+
export type CalendarRangeVariant = (typeof CalendarRangeVariant)[keyof typeof CalendarRangeVariant];
|
|
7
|
+
export type DateRange = {
|
|
8
|
+
low: Date;
|
|
9
|
+
high: Date;
|
|
10
|
+
};
|
|
11
|
+
export type YearRange = {
|
|
12
|
+
low: number;
|
|
13
|
+
high: number;
|
|
14
|
+
};
|
|
15
|
+
export declare const CalendarView: {
|
|
16
|
+
readonly Years: "years";
|
|
17
|
+
readonly Months: "months";
|
|
18
|
+
readonly Days: "days";
|
|
19
|
+
};
|
|
20
|
+
export type CalendarView = (typeof CalendarView)[keyof typeof CalendarView];
|
|
21
|
+
export type CalendarYearsViewHeaderContext = {
|
|
22
|
+
nextPage: () => void;
|
|
23
|
+
prevPage: () => void;
|
|
24
|
+
openDaysView: () => void;
|
|
25
|
+
yearRange: YearRange;
|
|
26
|
+
dateRange: DateRange;
|
|
27
|
+
$implicit: DateRange;
|
|
28
|
+
};
|
|
29
|
+
export type CalendarMonthsViewHeaderContext = {
|
|
30
|
+
openDaysView: () => void;
|
|
31
|
+
openYearsView: () => void;
|
|
32
|
+
year: number;
|
|
33
|
+
date: Date;
|
|
34
|
+
$implicit: number;
|
|
35
|
+
};
|
|
36
|
+
export type CalendarDaysViewHeaderContext = {
|
|
37
|
+
nextMonth: () => void;
|
|
38
|
+
prevMonth: () => void;
|
|
39
|
+
nextYear: () => void;
|
|
40
|
+
prevYear: () => void;
|
|
41
|
+
openYearsView: () => void;
|
|
42
|
+
openMonthsView: () => void;
|
|
43
|
+
year: number;
|
|
44
|
+
month: number;
|
|
45
|
+
date: Date;
|
|
46
|
+
$implicit: Date;
|
|
47
|
+
};
|
|
48
|
+
export type CalendarWeekdayContext = {
|
|
49
|
+
dayIndex: number;
|
|
50
|
+
date: Date;
|
|
51
|
+
$implicit: Date;
|
|
52
|
+
};
|
|
53
|
+
export type CalendarFloatingMonthContext = {
|
|
54
|
+
month: number;
|
|
55
|
+
date: Date;
|
|
56
|
+
$implicit: Date;
|
|
57
|
+
};
|
|
58
|
+
export type CalendarYearContext = {
|
|
59
|
+
value: number;
|
|
60
|
+
date: Date;
|
|
61
|
+
$implicit: number;
|
|
62
|
+
select: (year: number) => void;
|
|
63
|
+
};
|
|
64
|
+
export type CalendarMonthContext = {
|
|
65
|
+
month: number;
|
|
66
|
+
date: Date;
|
|
67
|
+
$implicit: Date;
|
|
68
|
+
select: (month: number | Date) => void;
|
|
69
|
+
};
|
|
70
|
+
export type CalendarDayContext = {
|
|
71
|
+
value: number;
|
|
72
|
+
date: Date;
|
|
73
|
+
$implicit: number;
|
|
74
|
+
select: (day: number | Date) => void;
|
|
75
|
+
};
|
|
76
|
+
export type CalendarActionButtonsContext = {
|
|
77
|
+
cancel: () => void;
|
|
78
|
+
apply: () => void;
|
|
79
|
+
reset: () => void;
|
|
80
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import { OneAxisAlignment } from '../types/alignment.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArdiumCardHeaderComponent {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardHeaderComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumCardHeaderComponent, "ard-card-header", never, {}, {}, never, ["[ard-card-avatar]", "ard-card-title, ard-card-subtitle,\n [ard-card-title], [ard-card-subtitle]", "*"], false, never>;
|
|
7
|
+
}
|
|
8
|
+
export declare class ArdiumCardSubtitleDirective {
|
|
9
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardSubtitleDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardSubtitleDirective, "ard-card-subtitle, [ard-card-subtitle]", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
13
|
+
export declare class ArdiumCardTitleDirective {
|
|
14
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardTitleDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardTitleDirective, "ard-card-title, [ard-card-title]", never, {}, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
18
|
+
export declare class ArdiumCardAvatarDirective {
|
|
19
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardAvatarDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardAvatarDirective, "[ard-card-avatar]", never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
23
|
+
export declare class ArdiumCardContentDirective {
|
|
24
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardContentDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardContentDirective, "ard-card-content, [ard-card-content]", never, {}, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
28
|
+
export declare class ArdiumCardImageDirective {
|
|
29
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardImageDirective, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardImageDirective, "[ard-card-image]", never, {}, {}, never, never, false, never>;
|
|
32
|
+
}
|
|
33
|
+
export declare class ArdiumCardActionButtonsDirective {
|
|
34
|
+
align: OneAxisAlignment;
|
|
35
|
+
get alignClass(): string;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardActionButtonsDirective, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardActionButtonsDirective, "ard-card-action-buttons, [ard-card-action-buttons]", never, { "align": { "alias": "align"; "required": false; }; }, {}, never, never, false, never>;
|
|
38
|
+
}
|
|
39
|
+
export declare class ArdiumCardFooterDirective {
|
|
40
|
+
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardFooterDirective, never>;
|
|
42
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardFooterDirective, "ard-card-footer, [ard-card-footer]", never, {}, {}, never, never, false, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CardAppearance, CardVariant } from './card.types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ArdiumCardDirective {
|
|
4
|
+
appearance: CardAppearance;
|
|
5
|
+
variant: CardVariant;
|
|
6
|
+
get ngClasses(): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardDirective, "[ard-card]", never, { "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare class ArdiumCardComponent extends ArdiumCardDirective {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumCardComponent, "ard-card", never, {}, {}, never, ["*"], false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./card.component";
|
|
3
|
+
import * as i2 from "./card.children";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class ArdiumCardModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumCardModule, [typeof i1.ArdiumCardComponent, typeof i1.ArdiumCardDirective, typeof i2.ArdiumCardHeaderComponent, typeof i2.ArdiumCardTitleDirective, typeof i2.ArdiumCardSubtitleDirective, typeof i2.ArdiumCardAvatarDirective, typeof i2.ArdiumCardContentDirective, typeof i2.ArdiumCardImageDirective, typeof i2.ArdiumCardActionButtonsDirective, typeof i2.ArdiumCardFooterDirective], [typeof i3.CommonModule], [typeof i1.ArdiumCardComponent, typeof i1.ArdiumCardDirective, typeof i2.ArdiumCardHeaderComponent, typeof i2.ArdiumCardTitleDirective, typeof i2.ArdiumCardSubtitleDirective, typeof i2.ArdiumCardAvatarDirective, typeof i2.ArdiumCardContentDirective, typeof i2.ArdiumCardImageDirective, typeof i2.ArdiumCardActionButtonsDirective, typeof i2.ArdiumCardFooterDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumCardModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const CardAppearance: {
|
|
2
|
+
readonly Outlined: "outlined";
|
|
3
|
+
readonly Raised: "raised";
|
|
4
|
+
};
|
|
5
|
+
export type CardAppearance = (typeof CardAppearance)[keyof typeof CardAppearance];
|
|
6
|
+
export declare const CardVariant: {
|
|
7
|
+
readonly Rounded: "rounded";
|
|
8
|
+
readonly Sharp: "sharp";
|
|
9
|
+
};
|
|
10
|
+
export type CardVariant = (typeof CardVariant)[keyof typeof CardVariant];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { SimpleComponentColor } from '../types/colors.types';
|
|
4
|
+
import { _BooleanComponentBase } from './../_internal/boolean-component';
|
|
5
|
+
import { CheckboxState } from './checkbox.types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ArdiumCheckboxComponent extends _BooleanComponentBase implements ControlValueAccessor {
|
|
8
|
+
wrapperClasses: string;
|
|
9
|
+
htmlId?: string;
|
|
10
|
+
color: SimpleComponentColor;
|
|
11
|
+
unselectedColor: SimpleComponentColor;
|
|
12
|
+
get ngClasses(): string;
|
|
13
|
+
set selected(v: any);
|
|
14
|
+
get selected(): boolean;
|
|
15
|
+
state: CheckboxState;
|
|
16
|
+
stateChange: EventEmitter<CheckboxState>;
|
|
17
|
+
toggleState(): void;
|
|
18
|
+
protected _emitChange(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCheckboxComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumCheckboxComponent, "ard-checkbox", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "htmlId": { "alias": "htmlId"; "required": false; }; "color": { "alias": "color"; "required": false; }; "unselectedColor": { "alias": "unselectedColor"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "stateChange": "stateChange"; }, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./checkbox.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class ArdiumCheckboxModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCheckboxModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumCheckboxModule, [typeof i1.ArdiumCheckboxComponent], [typeof i2.CommonModule], [typeof i1.ArdiumCheckboxComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumCheckboxModule>;
|
|
8
|
+
}
|