dasar-ui 1.9.2 → 1.10.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 +64 -65
- package/fesm2022/dasar-ui.mjs +37004 -0
- package/fesm2022/dasar-ui.mjs.map +1 -0
- package/package.json +39 -57
- package/{projects/dasar-ui/src/lib/styles → styles}/theme.scss +238 -238
- package/types/dasar-ui.d.ts +4075 -0
- package/.dockerignore +0 -31
- package/.editorconfig +0 -17
- package/.github/workflows/npm-publish-github-packages.yml +0 -36
- package/.prettierrc +0 -12
- package/.versionrc.json +0 -4
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/settings.json +0 -4
- package/.vscode/tasks.json +0 -42
- package/CHANGELOG.md +0 -101
- package/Dockerfile +0 -26
- package/angular.json +0 -114
- package/docs/_config.yml +0 -3
- package/docs/getting-started.md +0 -89
- package/docs/index.md +0 -9
- package/docs/installation.md +0 -46
- package/projects/dasar-ui/README.md +0 -64
- package/projects/dasar-ui/ng-package.json +0 -10
- package/projects/dasar-ui/package.json +0 -27
- package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.html +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.scss +0 -352
- package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.ts +0 -154
- package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.scss +0 -69
- package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.ts +0 -26
- package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.html +0 -158
- package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.scss +0 -371
- package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.ts +0 -458
- package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.html +0 -80
- package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.scss +0 -184
- package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.ts +0 -294
- package/projects/dasar-ui/src/lib/components/dasar-chip/dasar-chip.html +0 -42
- package/projects/dasar-ui/src/lib/components/dasar-chip/dasar-chip.scss +0 -38
- package/projects/dasar-ui/src/lib/components/dasar-chip/dasar-chip.ts +0 -205
- package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.html +0 -111
- package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.scss +0 -331
- package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.spec.ts +0 -93
- package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.ts +0 -527
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.registry.ts +0 -5087
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.scss +0 -24
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.ts +0 -97
- package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.html +0 -54
- package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.scss +0 -251
- package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.ts +0 -319
- package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list-item.html +0 -17
- package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list.html +0 -25
- package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list.scss +0 -122
- package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list.ts +0 -166
- package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.html +0 -64
- package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.scss +0 -229
- package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.spec.ts +0 -93
- package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.ts +0 -278
- package/projects/dasar-ui/src/lib/components/dasar-modal/dasar-modal.html +0 -72
- package/projects/dasar-ui/src/lib/components/dasar-modal/dasar-modal.scss +0 -170
- package/projects/dasar-ui/src/lib/components/dasar-modal/dasar-modal.spec.ts +0 -267
- package/projects/dasar-ui/src/lib/components/dasar-modal/dasar-modal.ts +0 -305
- package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.html +0 -90
- package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.scss +0 -353
- package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.ts +0 -337
- package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.html +0 -11
- package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.scss +0 -18
- package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.spec.ts +0 -112
- package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.ts +0 -87
- package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.html +0 -98
- package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.scss +0 -51
- package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.ts +0 -99
- package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-pivot-table/dasar-pivot-table.html +0 -150
- package/projects/dasar-ui/src/lib/components/dasar-pivot-table/dasar-pivot-table.scss +0 -272
- package/projects/dasar-ui/src/lib/components/dasar-pivot-table/dasar-pivot-table.ts +0 -228
- package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.html +0 -189
- package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.scss +0 -387
- package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.spec.ts +0 -97
- package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.ts +0 -540
- package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.html +0 -162
- package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.scss +0 -283
- package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.ts +0 -380
- package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.html +0 -103
- package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.scss +0 -238
- package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.spec.ts +0 -570
- package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.ts +0 -349
- package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.html +0 -43
- package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.scss +0 -189
- package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.ts +0 -139
- package/projects/dasar-ui/src/lib/components/dasar-theme-provider/dasar-theme-provider.spec.ts +0 -89
- package/projects/dasar-ui/src/lib/components/dasar-theme-provider/dasar-theme-provider.ts +0 -294
- package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.ts +0 -9
- package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.css +0 -0
- package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.html +0 -1
- package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.spec.ts +0 -21
- package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.ts +0 -9
- package/projects/dasar-ui/src/lib/models/theme.model.ts +0 -730
- package/projects/dasar-ui/src/lib/models/type.model.ts +0 -11
- package/projects/dasar-ui/src/lib/services/theme.service.spec.ts +0 -130
- package/projects/dasar-ui/src/lib/services/theme.service.ts +0 -777
- package/projects/dasar-ui/src/lib/styles/theme.ts +0 -70
- package/projects/dasar-ui/src/lib/utils/common.ts +0 -156
- package/projects/dasar-ui/src/lib/utils/icon-size.spec.ts +0 -23
- package/projects/dasar-ui/src/lib/utils/icon-size.ts +0 -16
- package/projects/dasar-ui/src/lib/utils/panel-placement.spec.ts +0 -90
- package/projects/dasar-ui/src/lib/utils/panel-placement.ts +0 -53
- package/projects/dasar-ui/src/public-api.ts +0 -24
- package/projects/dasar-ui/tsconfig.lib.json +0 -21
- package/projects/dasar-ui/tsconfig.lib.prod.json +0 -11
- package/projects/dasar-ui/tsconfig.spec.json +0 -18
- package/projects/documentation/public/favicon.ico +0 -0
- package/projects/documentation/src/app/app.html +0 -78
- package/projects/documentation/src/app/app.spec.ts +0 -23
- package/projects/documentation/src/app/app.ts +0 -57
- package/projects/documentation/src/app/components/doc-customize-modal.component.ts +0 -368
- package/projects/documentation/src/app/components/doc-example.component.ts +0 -195
- package/projects/documentation/src/app/components/doc-markdown.component.ts +0 -154
- package/projects/documentation/src/app/config/app.config.server.ts +0 -10
- package/projects/documentation/src/app/config/app.config.ts +0 -17
- package/projects/documentation/src/app/layouts/doc.layout.ts +0 -249
- package/projects/documentation/src/app/pages/button/button.page.html +0 -65
- package/projects/documentation/src/app/pages/button/button.page.ts +0 -139
- package/projects/documentation/src/app/pages/button/examples/appearance/button-appearance.example.html +0 -7
- package/projects/documentation/src/app/pages/button/examples/appearance/button-appearance.example.ts +0 -10
- package/projects/documentation/src/app/pages/button/examples/icon/button-icon.example.html +0 -19
- package/projects/documentation/src/app/pages/button/examples/icon/button-icon.example.ts +0 -10
- package/projects/documentation/src/app/pages/button/examples/radius/button-radius.example.html +0 -9
- package/projects/documentation/src/app/pages/button/examples/radius/button-radius.example.ts +0 -10
- package/projects/documentation/src/app/pages/button/examples/sizes/button-sizes.example.html +0 -7
- package/projects/documentation/src/app/pages/button/examples/sizes/button-sizes.example.ts +0 -10
- package/projects/documentation/src/app/pages/button/examples/state/button-state.example.html +0 -10
- package/projects/documentation/src/app/pages/button/examples/state/button-state.example.ts +0 -10
- package/projects/documentation/src/app/pages/button/examples/variant/button-variant.example.html +0 -9
- package/projects/documentation/src/app/pages/button/examples/variant/button-variant.example.ts +0 -10
- package/projects/documentation/src/app/pages/calendar/calendar.page.html +0 -75
- package/projects/documentation/src/app/pages/calendar/calendar.page.ts +0 -165
- package/projects/documentation/src/app/pages/calendar/examples/actions/calendar-actions.example.html +0 -21
- package/projects/documentation/src/app/pages/calendar/examples/actions/calendar-actions.example.ts +0 -10
- package/projects/documentation/src/app/pages/calendar/examples/basic/calendar-basic.example.html +0 -11
- package/projects/documentation/src/app/pages/calendar/examples/basic/calendar-basic.example.ts +0 -13
- package/projects/documentation/src/app/pages/calendar/examples/custom-header/calendar-custom-header.example.html +0 -36
- package/projects/documentation/src/app/pages/calendar/examples/custom-header/calendar-custom-header.example.ts +0 -11
- package/projects/documentation/src/app/pages/calendar/examples/dropdown/calendar-dropdown.example.html +0 -10
- package/projects/documentation/src/app/pages/calendar/examples/dropdown/calendar-dropdown.example.ts +0 -12
- package/projects/documentation/src/app/pages/calendar/examples/format/calendar-format.example.html +0 -15
- package/projects/documentation/src/app/pages/calendar/examples/format/calendar-format.example.ts +0 -12
- package/projects/documentation/src/app/pages/calendar/examples/locale/calendar-locale.example.html +0 -34
- package/projects/documentation/src/app/pages/calendar/examples/locale/calendar-locale.example.ts +0 -14
- package/projects/documentation/src/app/pages/calendar/examples/more/calendar.more.example.html +0 -20
- package/projects/documentation/src/app/pages/calendar/examples/more/calendar.more.example.ts +0 -37
- package/projects/documentation/src/app/pages/calendar/examples/styles/calendar-styles.example.html +0 -16
- package/projects/documentation/src/app/pages/calendar/examples/styles/calendar-styles.example.ts +0 -10
- package/projects/documentation/src/app/pages/card/card.page.html +0 -75
- package/projects/documentation/src/app/pages/card/card.page.ts +0 -182
- package/projects/documentation/src/app/pages/card/examples/appearance/card-appearance.example.html +0 -13
- package/projects/documentation/src/app/pages/card/examples/appearance/card-appearance.example.ts +0 -10
- package/projects/documentation/src/app/pages/card/examples/closable/card-closable.example.html +0 -30
- package/projects/documentation/src/app/pages/card/examples/closable/card-closable.example.ts +0 -19
- package/projects/documentation/src/app/pages/card/examples/custom-style/card-custom-style.example.html +0 -173
- package/projects/documentation/src/app/pages/card/examples/custom-style/card-custom-style.example.ts +0 -10
- package/projects/documentation/src/app/pages/card/examples/media/card-media.example.html +0 -27
- package/projects/documentation/src/app/pages/card/examples/media/card-media.example.ts +0 -10
- package/projects/documentation/src/app/pages/card/examples/radius/card-radius.example.html +0 -13
- package/projects/documentation/src/app/pages/card/examples/radius/card-radius.example.ts +0 -10
- package/projects/documentation/src/app/pages/card/examples/slots/card-slots.example.html +0 -20
- package/projects/documentation/src/app/pages/card/examples/slots/card-slots.example.ts +0 -10
- package/projects/documentation/src/app/pages/card/examples/spacing/card-spacing.example.html +0 -11
- package/projects/documentation/src/app/pages/card/examples/spacing/card-spacing.example.ts +0 -10
- package/projects/documentation/src/app/pages/chip/chip.page.html +0 -55
- package/projects/documentation/src/app/pages/chip/chip.page.ts +0 -158
- package/projects/documentation/src/app/pages/chip/examples/appearance/chip-appearance.example.html +0 -7
- package/projects/documentation/src/app/pages/chip/examples/appearance/chip-appearance.example.ts +0 -10
- package/projects/documentation/src/app/pages/chip/examples/more/chip-more.example.html +0 -13
- package/projects/documentation/src/app/pages/chip/examples/more/chip-more.example.ts +0 -17
- package/projects/documentation/src/app/pages/chip/examples/radius/chip-radius.example.html +0 -9
- package/projects/documentation/src/app/pages/chip/examples/radius/chip-radius.example.ts +0 -10
- package/projects/documentation/src/app/pages/chip/examples/sizes/chip-sizes.example.html +0 -6
- package/projects/documentation/src/app/pages/chip/examples/sizes/chip-sizes.example.ts +0 -10
- package/projects/documentation/src/app/pages/chip/examples/variant/chip-variant.example.html +0 -8
- package/projects/documentation/src/app/pages/chip/examples/variant/chip-variant.example.ts +0 -10
- package/projects/documentation/src/app/pages/datepicker/datepicker.page.html +0 -75
- package/projects/documentation/src/app/pages/datepicker/datepicker.page.ts +0 -181
- package/projects/documentation/src/app/pages/datepicker/examples/appearance/datepicker-appearance.example.html +0 -29
- package/projects/documentation/src/app/pages/datepicker/examples/appearance/datepicker-appearance.example.ts +0 -10
- package/projects/documentation/src/app/pages/datepicker/examples/basic/datepicker-basic.example.html +0 -12
- package/projects/documentation/src/app/pages/datepicker/examples/basic/datepicker-basic.example.ts +0 -12
- package/projects/documentation/src/app/pages/datepicker/examples/footer/datepicker-footer.example.html +0 -23
- package/projects/documentation/src/app/pages/datepicker/examples/footer/datepicker-footer.example.ts +0 -17
- package/projects/documentation/src/app/pages/datepicker/examples/format/datepicker-format.example.html +0 -30
- package/projects/documentation/src/app/pages/datepicker/examples/format/datepicker-format.example.ts +0 -13
- package/projects/documentation/src/app/pages/datepicker/examples/placement/datepicker-placement.example.html +0 -24
- package/projects/documentation/src/app/pages/datepicker/examples/placement/datepicker-placement.example.ts +0 -10
- package/projects/documentation/src/app/pages/datepicker/examples/slots/datepicker-slots.example.html +0 -19
- package/projects/documentation/src/app/pages/datepicker/examples/slots/datepicker-slots.example.ts +0 -10
- package/projects/documentation/src/app/pages/datepicker/examples/states/datepicker-states.example.html +0 -28
- package/projects/documentation/src/app/pages/datepicker/examples/states/datepicker-states.example.ts +0 -12
- package/projects/documentation/src/app/pages/getting-started/getting-started.page.ts +0 -21
- package/projects/documentation/src/app/pages/icon/icon.page.html +0 -15
- package/projects/documentation/src/app/pages/icon/icon.page.ts +0 -60
- package/projects/documentation/src/app/pages/input/examples/appearance/input-appearance.example.html +0 -27
- package/projects/documentation/src/app/pages/input/examples/appearance/input-appearance.example.ts +0 -10
- package/projects/documentation/src/app/pages/input/examples/basic/input-basic.example.html +0 -13
- package/projects/documentation/src/app/pages/input/examples/basic/input-basic.example.ts +0 -13
- package/projects/documentation/src/app/pages/input/examples/mask/input-mask.example.html +0 -31
- package/projects/documentation/src/app/pages/input/examples/mask/input-mask.example.ts +0 -19
- package/projects/documentation/src/app/pages/input/examples/more/input-more.example.html +0 -68
- package/projects/documentation/src/app/pages/input/examples/more/input-more.example.ts +0 -18
- package/projects/documentation/src/app/pages/input/examples/slots/input-slots.example.html +0 -52
- package/projects/documentation/src/app/pages/input/examples/slots/input-slots.example.ts +0 -10
- package/projects/documentation/src/app/pages/input/examples/states/input-states.example.html +0 -29
- package/projects/documentation/src/app/pages/input/examples/states/input-states.example.ts +0 -10
- package/projects/documentation/src/app/pages/input/input.page.html +0 -65
- package/projects/documentation/src/app/pages/input/input.page.ts +0 -170
- package/projects/documentation/src/app/pages/installation/installation.page.ts +0 -18
- package/projects/documentation/src/app/pages/introduction/introduction.page.ts +0 -18
- package/projects/documentation/src/app/pages/list/examples/advanced-dynamic/list-advanced-dynamic.example.html +0 -29
- package/projects/documentation/src/app/pages/list/examples/advanced-dynamic/list-advanced-dynamic.example.ts +0 -33
- package/projects/documentation/src/app/pages/list/examples/advanced-theme/list-advanced-theme.example.html +0 -13
- package/projects/documentation/src/app/pages/list/examples/advanced-theme/list-advanced-theme.example.ts +0 -30
- package/projects/documentation/src/app/pages/list/examples/basic/list-basic.example.html +0 -5
- package/projects/documentation/src/app/pages/list/examples/basic/list-basic.example.ts +0 -12
- package/projects/documentation/src/app/pages/list/examples/bordered-divider/list-bordered-divider.example.html +0 -20
- package/projects/documentation/src/app/pages/list/examples/bordered-divider/list-bordered-divider.example.ts +0 -12
- package/projects/documentation/src/app/pages/list/examples/custom-style/list-custom-style.example.html +0 -11
- package/projects/documentation/src/app/pages/list/examples/custom-style/list-custom-style.example.ts +0 -19
- package/projects/documentation/src/app/pages/list/examples/header-footer/list-header-footer.example.html +0 -7
- package/projects/documentation/src/app/pages/list/examples/header-footer/list-header-footer.example.ts +0 -12
- package/projects/documentation/src/app/pages/list/examples/interactive/list-interactive.example.html +0 -20
- package/projects/documentation/src/app/pages/list/examples/interactive/list-interactive.example.ts +0 -22
- package/projects/documentation/src/app/pages/list/examples/prefix-suffix/list-prefix-suffix.example.html +0 -9
- package/projects/documentation/src/app/pages/list/examples/prefix-suffix/list-prefix-suffix.example.ts +0 -16
- package/projects/documentation/src/app/pages/list/examples/size/list-size.example.html +0 -20
- package/projects/documentation/src/app/pages/list/examples/size/list-size.example.ts +0 -12
- package/projects/documentation/src/app/pages/list/list.page.html +0 -95
- package/projects/documentation/src/app/pages/list/list.page.ts +0 -238
- package/projects/documentation/src/app/pages/menu/examples/basic/menu-basic.example.html +0 -5
- package/projects/documentation/src/app/pages/menu/examples/basic/menu-basic.example.ts +0 -17
- package/projects/documentation/src/app/pages/menu/examples/custom-template/menu-custom-template.example.html +0 -35
- package/projects/documentation/src/app/pages/menu/examples/custom-template/menu-custom-template.example.ts +0 -57
- package/projects/documentation/src/app/pages/menu/examples/placement/menu-placement.example.html +0 -12
- package/projects/documentation/src/app/pages/menu/examples/placement/menu-placement.example.ts +0 -16
- package/projects/documentation/src/app/pages/menu/menu.page.html +0 -35
- package/projects/documentation/src/app/pages/menu/menu.page.ts +0 -149
- package/projects/documentation/src/app/pages/modal/examples/appearance/modal-appearance.example.html +0 -18
- package/projects/documentation/src/app/pages/modal/examples/appearance/modal-appearance.example.ts +0 -21
- package/projects/documentation/src/app/pages/modal/examples/basic/modal-basic.example.html +0 -8
- package/projects/documentation/src/app/pages/modal/examples/basic/modal-basic.example.ts +0 -12
- package/projects/documentation/src/app/pages/modal/examples/close-behavior/modal-close-behavior.example.html +0 -44
- package/projects/documentation/src/app/pages/modal/examples/close-behavior/modal-close-behavior.example.ts +0 -14
- package/projects/documentation/src/app/pages/modal/examples/custom-style/modal-custom-style.example.html +0 -36
- package/projects/documentation/src/app/pages/modal/examples/custom-style/modal-custom-style.example.ts +0 -12
- package/projects/documentation/src/app/pages/modal/examples/overlay/modal-overlay.example.html +0 -29
- package/projects/documentation/src/app/pages/modal/examples/overlay/modal-overlay.example.ts +0 -14
- package/projects/documentation/src/app/pages/modal/examples/radius-spacing/modal-radius-spacing.example.html +0 -27
- package/projects/documentation/src/app/pages/modal/examples/radius-spacing/modal-radius-spacing.example.ts +0 -27
- package/projects/documentation/src/app/pages/modal/examples/scroll/modal-scroll.example.html +0 -14
- package/projects/documentation/src/app/pages/modal/examples/scroll/modal-scroll.example.ts +0 -13
- package/projects/documentation/src/app/pages/modal/examples/size/modal-size.example.html +0 -17
- package/projects/documentation/src/app/pages/modal/examples/size/modal-size.example.ts +0 -21
- package/projects/documentation/src/app/pages/modal/examples/slots/modal-slots.example.html +0 -30
- package/projects/documentation/src/app/pages/modal/examples/slots/modal-slots.example.ts +0 -12
- package/projects/documentation/src/app/pages/modal/examples/width/modal-width.example.html +0 -23
- package/projects/documentation/src/app/pages/modal/examples/width/modal-width.example.ts +0 -13
- package/projects/documentation/src/app/pages/modal/modal.page.html +0 -105
- package/projects/documentation/src/app/pages/modal/modal.page.ts +0 -266
- package/projects/documentation/src/app/pages/number-input/examples/appearance/number-input-appearance.example.html +0 -30
- package/projects/documentation/src/app/pages/number-input/examples/appearance/number-input-appearance.example.ts +0 -10
- package/projects/documentation/src/app/pages/number-input/examples/basic/number-input-basic.example.html +0 -12
- package/projects/documentation/src/app/pages/number-input/examples/basic/number-input-basic.example.ts +0 -13
- package/projects/documentation/src/app/pages/number-input/examples/limits/number-input-limits.example.html +0 -30
- package/projects/documentation/src/app/pages/number-input/examples/limits/number-input-limits.example.ts +0 -14
- package/projects/documentation/src/app/pages/number-input/examples/slots/number-input-slots.example.html +0 -49
- package/projects/documentation/src/app/pages/number-input/examples/slots/number-input-slots.example.ts +0 -10
- package/projects/documentation/src/app/pages/number-input/examples/states/number-input-states.example.html +0 -21
- package/projects/documentation/src/app/pages/number-input/examples/states/number-input-states.example.ts +0 -10
- package/projects/documentation/src/app/pages/number-input/number-input.page.html +0 -55
- package/projects/documentation/src/app/pages/number-input/number-input.page.ts +0 -142
- package/projects/documentation/src/app/pages/select/examples/appearance/select-appearance.example.html +0 -32
- package/projects/documentation/src/app/pages/select/examples/appearance/select-appearance.example.ts +0 -15
- package/projects/documentation/src/app/pages/select/examples/basic/select-basic.example.html +0 -13
- package/projects/documentation/src/app/pages/select/examples/basic/select-basic.example.ts +0 -20
- package/projects/documentation/src/app/pages/select/examples/multiple/select-multiple.example.html +0 -24
- package/projects/documentation/src/app/pages/select/examples/multiple/select-multiple.example.ts +0 -59
- package/projects/documentation/src/app/pages/select/examples/placement/select-placement.example.html +0 -20
- package/projects/documentation/src/app/pages/select/examples/placement/select-placement.example.ts +0 -20
- package/projects/documentation/src/app/pages/select/examples/search/select-search.example.html +0 -13
- package/projects/documentation/src/app/pages/select/examples/search/select-search.example.ts +0 -22
- package/projects/documentation/src/app/pages/select/examples/slots/select-slots.example.html +0 -44
- package/projects/documentation/src/app/pages/select/examples/slots/select-slots.example.ts +0 -15
- package/projects/documentation/src/app/pages/select/examples/states/select-states.example.html +0 -31
- package/projects/documentation/src/app/pages/select/examples/states/select-states.example.ts +0 -12
- package/projects/documentation/src/app/pages/select/select.page.html +0 -75
- package/projects/documentation/src/app/pages/select/select.page.ts +0 -195
- package/projects/documentation/src/app/pages/table/examples/cell-actions/table-cell-actions.example.html +0 -14
- package/projects/documentation/src/app/pages/table/examples/cell-actions/table-cell-actions.example.ts +0 -25
- package/projects/documentation/src/app/pages/table/examples/cell-badge/table-cell-badge.example.html +0 -12
- package/projects/documentation/src/app/pages/table/examples/cell-badge/table-cell-badge.example.ts +0 -21
- package/projects/documentation/src/app/pages/table/examples/cell-profile/table-cell-profile.example.html +0 -29
- package/projects/documentation/src/app/pages/table/examples/cell-profile/table-cell-profile.example.ts +0 -20
- package/projects/documentation/src/app/pages/table/examples/custom-body/table-custom-body.example.html +0 -39
- package/projects/documentation/src/app/pages/table/examples/custom-body/table-custom-body.example.ts +0 -21
- package/projects/documentation/src/app/pages/table/examples/custom-sizes/table-custom-sizes.example.html +0 -7
- package/projects/documentation/src/app/pages/table/examples/custom-sizes/table-custom-sizes.example.ts +0 -21
- package/projects/documentation/src/app/pages/table/examples/dynamic-style/table-dynamic-style.example.html +0 -3
- package/projects/documentation/src/app/pages/table/examples/dynamic-style/table-dynamic-style.example.ts +0 -41
- package/projects/documentation/src/app/pages/table/examples/empty/table-empty.example.html +0 -43
- package/projects/documentation/src/app/pages/table/examples/empty/table-empty.example.ts +0 -21
- package/projects/documentation/src/app/pages/table/examples/expanded/table-expanded.example.html +0 -36
- package/projects/documentation/src/app/pages/table/examples/expanded/table-expanded.example.ts +0 -34
- package/projects/documentation/src/app/pages/table/examples/heatmap/table-heatmap.example.html +0 -8
- package/projects/documentation/src/app/pages/table/examples/heatmap/table-heatmap.example.ts +0 -52
- package/projects/documentation/src/app/pages/table/examples/inline-edit/table-inline-edit.example.html +0 -53
- package/projects/documentation/src/app/pages/table/examples/inline-edit/table-inline-edit.example.ts +0 -50
- package/projects/documentation/src/app/pages/table/examples/nested/table-nested.example.html +0 -23
- package/projects/documentation/src/app/pages/table/examples/nested/table-nested.example.ts +0 -42
- package/projects/documentation/src/app/pages/table/examples/pagination/table-pagination.example.html +0 -20
- package/projects/documentation/src/app/pages/table/examples/pagination/table-pagination.example.ts +0 -21
- package/projects/documentation/src/app/pages/table/table.page.html +0 -125
- package/projects/documentation/src/app/pages/table/table.page.ts +0 -261
- package/projects/documentation/src/app/pages/tabs/examples/advanced-dynamic/tabs-advanced-dynamic.example.html +0 -13
- package/projects/documentation/src/app/pages/tabs/examples/advanced-dynamic/tabs-advanced-dynamic.example.ts +0 -27
- package/projects/documentation/src/app/pages/tabs/examples/advanced-form/tabs-advanced-form.example.html +0 -27
- package/projects/documentation/src/app/pages/tabs/examples/advanced-form/tabs-advanced-form.example.ts +0 -36
- package/projects/documentation/src/app/pages/tabs/examples/advanced-theme/tabs-advanced-theme.example.html +0 -5
- package/projects/documentation/src/app/pages/tabs/examples/advanced-theme/tabs-advanced-theme.example.ts +0 -20
- package/projects/documentation/src/app/pages/tabs/examples/appearance/tabs-appearance.example.html +0 -6
- package/projects/documentation/src/app/pages/tabs/examples/appearance/tabs-appearance.example.ts +0 -13
- package/projects/documentation/src/app/pages/tabs/examples/basic/tabs-basic.example.html +0 -13
- package/projects/documentation/src/app/pages/tabs/examples/basic/tabs-basic.example.ts +0 -13
- package/projects/documentation/src/app/pages/tabs/examples/custom-style/tabs-custom-style.example.html +0 -19
- package/projects/documentation/src/app/pages/tabs/examples/custom-style/tabs-custom-style.example.ts +0 -12
- package/projects/documentation/src/app/pages/tabs/examples/events/tabs-events.example.html +0 -16
- package/projects/documentation/src/app/pages/tabs/examples/events/tabs-events.example.ts +0 -23
- package/projects/documentation/src/app/pages/tabs/examples/fluid/tabs-fluid.example.html +0 -5
- package/projects/documentation/src/app/pages/tabs/examples/fluid/tabs-fluid.example.ts +0 -12
- package/projects/documentation/src/app/pages/tabs/examples/no-body/tabs-no-body.example.html +0 -6
- package/projects/documentation/src/app/pages/tabs/examples/no-body/tabs-no-body.example.ts +0 -12
- package/projects/documentation/src/app/pages/tabs/examples/radius/tabs-radius.example.html +0 -6
- package/projects/documentation/src/app/pages/tabs/examples/radius/tabs-radius.example.ts +0 -13
- package/projects/documentation/src/app/pages/tabs/examples/scroll/tabs-scroll.example.html +0 -20
- package/projects/documentation/src/app/pages/tabs/examples/scroll/tabs-scroll.example.ts +0 -30
- package/projects/documentation/src/app/pages/tabs/examples/scroll-icon/tabs-scroll-icon.example.html +0 -16
- package/projects/documentation/src/app/pages/tabs/examples/scroll-icon/tabs-scroll-icon.example.ts +0 -26
- package/projects/documentation/src/app/pages/tabs/examples/scroll-slot/tabs-scroll-slot.example.html +0 -22
- package/projects/documentation/src/app/pages/tabs/examples/scroll-slot/tabs-scroll-slot.example.ts +0 -26
- package/projects/documentation/src/app/pages/tabs/examples/size/tabs-size.example.html +0 -6
- package/projects/documentation/src/app/pages/tabs/examples/size/tabs-size.example.ts +0 -13
- package/projects/documentation/src/app/pages/tabs/examples/slots/tabs-slots.example.html +0 -25
- package/projects/documentation/src/app/pages/tabs/examples/slots/tabs-slots.example.ts +0 -10
- package/projects/documentation/src/app/pages/tabs/examples/spacing/tabs-spacing.example.html +0 -6
- package/projects/documentation/src/app/pages/tabs/examples/spacing/tabs-spacing.example.ts +0 -13
- package/projects/documentation/src/app/pages/tabs/tabs.page.html +0 -165
- package/projects/documentation/src/app/pages/tabs/tabs.page.ts +0 -347
- package/projects/documentation/src/app/pages/theming/examples/component-config/theming-component-config.example.html +0 -13
- package/projects/documentation/src/app/pages/theming/examples/component-config/theming-component-config.example.ts +0 -20
- package/projects/documentation/src/app/pages/theming/examples/css-override/theming-css-override.example.html +0 -8
- package/projects/documentation/src/app/pages/theming/examples/css-override/theming-css-override.example.scss +0 -4
- package/projects/documentation/src/app/pages/theming/examples/css-override/theming-css-override.example.ts +0 -11
- package/projects/documentation/src/app/pages/theming/examples/custom-tokens/theming-custom-tokens.example.html +0 -13
- package/projects/documentation/src/app/pages/theming/examples/custom-tokens/theming-custom-tokens.example.ts +0 -33
- package/projects/documentation/src/app/pages/theming/examples/global-theme/theming-global-theme.example.html +0 -6
- package/projects/documentation/src/app/pages/theming/examples/global-theme/theming-global-theme.example.ts +0 -20
- package/projects/documentation/src/app/pages/theming/examples/light-dark/theming-light-dark.example.html +0 -15
- package/projects/documentation/src/app/pages/theming/examples/light-dark/theming-light-dark.example.ts +0 -31
- package/projects/documentation/src/app/pages/theming/theming-component-config.page.ts +0 -52
- package/projects/documentation/src/app/pages/theming/theming-css-variables.page.ts +0 -71
- package/projects/documentation/src/app/pages/theming/theming-tokens.page.ts +0 -56
- package/projects/documentation/src/app/pages/theming/theming.data.ts +0 -947
- package/projects/documentation/src/app/pages/theming/theming.page.html +0 -56
- package/projects/documentation/src/app/pages/theming/theming.page.ts +0 -144
- package/projects/documentation/src/app/routes/app.routes.server.ts +0 -8
- package/projects/documentation/src/app/routes/app.routes.ts +0 -135
- package/projects/documentation/src/app/services/doc-customize.service.ts +0 -119
- package/projects/documentation/src/app/utils/highlight.pipe.ts +0 -43
- package/projects/documentation/src/index.html +0 -13
- package/projects/documentation/src/main.server.ts +0 -7
- package/projects/documentation/src/main.ts +0 -5
- package/projects/documentation/src/server.ts +0 -47
- package/projects/documentation/src/styles.scss +0 -19
- package/projects/documentation/tsconfig.app.json +0 -11
- package/projects/documentation/tsconfig.spec.json +0 -10
- package/tsconfig.json +0 -40
|
@@ -0,0 +1,4075 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, InjectionToken, OnChanges, OnDestroy, OnInit, QueryList, RendererFactory2, SimpleChanges, TemplateRef } from "@angular/core";
|
|
3
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
4
|
+
import { ScaleAttributeType } from "@models/type.model";
|
|
5
|
+
import { SafeHtml } from "@angular/platform-browser";
|
|
6
|
+
import { DasarComponentConfig as DasarComponentConfig$1, DasarThemeButton as DasarThemeButton$1, DasarThemeButtonGroup as DasarThemeButtonGroup$1, DasarThemeCalendar as DasarThemeCalendar$1, DasarThemeCard as DasarThemeCard$1, DasarThemeChip as DasarThemeChip$1, DasarThemeCommon as DasarThemeCommon$1, DasarThemeConfig as DasarThemeConfig$1, DasarThemeDatepicker as DasarThemeDatepicker$1, DasarThemeDivider as DasarThemeDivider$1, DasarThemeInput as DasarThemeInput$1, DasarThemeMenu as DasarThemeMenu$1, DasarThemeModal as DasarThemeModal$1, DasarThemeMode as DasarThemeMode$1, DasarThemeOverlay as DasarThemeOverlay$1, DasarThemeSelect as DasarThemeSelect$1, DasarThemeTabs as DasarThemeTabs$1 } from "@models/theme.model";
|
|
7
|
+
import { Observable } from "rxjs";
|
|
8
|
+
import { DasarListConfig as DasarListConfig$1, DasarListItemConfig as DasarListItemConfig$1 } from "@components/dasar-list/dasar-list";
|
|
9
|
+
type ClassType = string | string[] | Set<string> | {
|
|
10
|
+
[klass: string]: any;
|
|
11
|
+
} | null | undefined;
|
|
12
|
+
type StyleType = Partial<CSSStyleDeclaration> | {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
} | null;
|
|
15
|
+
type ScaleAttributeType$1 = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
16
|
+
export type DasarButtonSizeType = Extract<ScaleAttributeType$1, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
17
|
+
export type DasarButtonVariantType = 'primary' | 'success' | 'warning' | 'danger' | 'secondary' | 'ghost';
|
|
18
|
+
export type DasarButtonAppearanceType = 'solid' | 'subtle' | 'outline';
|
|
19
|
+
export type DasarButtonType = 'button' | 'submit' | 'reset';
|
|
20
|
+
export type DasarButtonRadiusType = ScaleAttributeType$1;
|
|
21
|
+
export interface DasarButtonConfig {
|
|
22
|
+
appearance?: DasarButtonAppearanceType;
|
|
23
|
+
variant?: DasarButtonVariantType;
|
|
24
|
+
radius?: DasarButtonRadiusType;
|
|
25
|
+
size?: DasarButtonSizeType;
|
|
26
|
+
buttonStyle?: StyleType;
|
|
27
|
+
buttonClass?: ClassType;
|
|
28
|
+
type?: DasarButtonType;
|
|
29
|
+
fullWidth?: boolean;
|
|
30
|
+
iconOnly?: boolean;
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
fluid?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export declare class DasarButton {
|
|
35
|
+
private themeProvider;
|
|
36
|
+
private themeService;
|
|
37
|
+
protected groupTick: import("@angular/core").WritableSignal<number>;
|
|
38
|
+
appearance: NonNullable<DasarButtonAppearanceType | undefined>;
|
|
39
|
+
variant: NonNullable<DasarButtonVariantType | undefined>;
|
|
40
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
41
|
+
size: NonNullable<DasarButtonSizeType | undefined>;
|
|
42
|
+
buttonStyle: NonNullable<StyleType | undefined> | null;
|
|
43
|
+
buttonClass: NonNullable<ClassType> | null;
|
|
44
|
+
type: NonNullable<DasarButtonType | undefined>;
|
|
45
|
+
disabled: NonNullable<boolean | undefined>;
|
|
46
|
+
fluid: NonNullable<boolean | undefined>;
|
|
47
|
+
fullWidth: NonNullable<boolean | undefined>;
|
|
48
|
+
iconOnly: NonNullable<boolean | undefined>;
|
|
49
|
+
get hostClasses(): string;
|
|
50
|
+
applyGroupState(state: {
|
|
51
|
+
size: DasarButtonSizeType;
|
|
52
|
+
variant: DasarButtonVariantType;
|
|
53
|
+
appearance: DasarButtonAppearanceType;
|
|
54
|
+
disabled: boolean;
|
|
55
|
+
}): void;
|
|
56
|
+
get buttonClasses(): Record<string, boolean>;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarButton, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarButton, "dasar-button", never, {
|
|
59
|
+
"appearance": {
|
|
60
|
+
"alias": "appearance";
|
|
61
|
+
"required": false;
|
|
62
|
+
};
|
|
63
|
+
"variant": {
|
|
64
|
+
"alias": "variant";
|
|
65
|
+
"required": false;
|
|
66
|
+
};
|
|
67
|
+
"radius": {
|
|
68
|
+
"alias": "radius";
|
|
69
|
+
"required": false;
|
|
70
|
+
};
|
|
71
|
+
"size": {
|
|
72
|
+
"alias": "size";
|
|
73
|
+
"required": false;
|
|
74
|
+
};
|
|
75
|
+
"buttonStyle": {
|
|
76
|
+
"alias": "button-style";
|
|
77
|
+
"required": false;
|
|
78
|
+
};
|
|
79
|
+
"buttonClass": {
|
|
80
|
+
"alias": "button-class";
|
|
81
|
+
"required": false;
|
|
82
|
+
};
|
|
83
|
+
"type": {
|
|
84
|
+
"alias": "type";
|
|
85
|
+
"required": false;
|
|
86
|
+
};
|
|
87
|
+
"disabled": {
|
|
88
|
+
"alias": "disabled";
|
|
89
|
+
"required": false;
|
|
90
|
+
};
|
|
91
|
+
"fluid": {
|
|
92
|
+
"alias": "fluid";
|
|
93
|
+
"required": false;
|
|
94
|
+
};
|
|
95
|
+
"fullWidth": {
|
|
96
|
+
"alias": "full-width";
|
|
97
|
+
"required": false;
|
|
98
|
+
};
|
|
99
|
+
"iconOnly": {
|
|
100
|
+
"alias": "icon-only";
|
|
101
|
+
"required": false;
|
|
102
|
+
};
|
|
103
|
+
}, {}, never, ["*"], true, never>;
|
|
104
|
+
static ngAcceptInputType_disabled: unknown;
|
|
105
|
+
static ngAcceptInputType_fluid: unknown;
|
|
106
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
107
|
+
static ngAcceptInputType_iconOnly: unknown;
|
|
108
|
+
}
|
|
109
|
+
export declare const DasarButtonComponent: readonly [typeof DasarButton];
|
|
110
|
+
export type DasarButtonGroupOrientationType = 'horizontal' | 'vertical';
|
|
111
|
+
export type DasarButtonGroupRadiusType = ScaleAttributeType$1;
|
|
112
|
+
export interface DasarButtonGroupConfig {
|
|
113
|
+
orientation?: DasarButtonGroupOrientationType;
|
|
114
|
+
attached?: boolean;
|
|
115
|
+
size?: DasarButtonSizeType | null;
|
|
116
|
+
variant?: DasarButtonVariantType | null;
|
|
117
|
+
appearance?: DasarButtonAppearanceType | null;
|
|
118
|
+
radius?: DasarButtonGroupRadiusType;
|
|
119
|
+
fullWidth?: boolean;
|
|
120
|
+
disabled?: boolean;
|
|
121
|
+
containerClass?: ClassType;
|
|
122
|
+
containerStyle?: StyleType;
|
|
123
|
+
}
|
|
124
|
+
export declare class DasarButtonGroup implements AfterContentInit, OnChanges {
|
|
125
|
+
private themeProvider;
|
|
126
|
+
private themeService;
|
|
127
|
+
private buttons;
|
|
128
|
+
private originals;
|
|
129
|
+
orientation: NonNullable<DasarButtonGroupOrientationType | undefined>;
|
|
130
|
+
attached: NonNullable<boolean | undefined>;
|
|
131
|
+
size: NonNullable<DasarButtonSizeType | null | undefined> | null;
|
|
132
|
+
variant: NonNullable<DasarButtonVariantType | null | undefined> | null;
|
|
133
|
+
appearance: NonNullable<DasarButtonAppearanceType | null | undefined> | null;
|
|
134
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
135
|
+
fullWidth: NonNullable<boolean | undefined>;
|
|
136
|
+
disabled: NonNullable<boolean | undefined>;
|
|
137
|
+
containerClass: NonNullable<ClassType> | null;
|
|
138
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
139
|
+
get hostClasses(): string;
|
|
140
|
+
ngAfterContentInit(): void;
|
|
141
|
+
ngOnChanges(): void;
|
|
142
|
+
private applyGroupContext;
|
|
143
|
+
get containerClasses(): Record<string, boolean>;
|
|
144
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarButtonGroup, never>;
|
|
145
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarButtonGroup, "dasar-button-group", never, {
|
|
146
|
+
"orientation": {
|
|
147
|
+
"alias": "orientation";
|
|
148
|
+
"required": false;
|
|
149
|
+
};
|
|
150
|
+
"attached": {
|
|
151
|
+
"alias": "attached";
|
|
152
|
+
"required": false;
|
|
153
|
+
};
|
|
154
|
+
"size": {
|
|
155
|
+
"alias": "size";
|
|
156
|
+
"required": false;
|
|
157
|
+
};
|
|
158
|
+
"variant": {
|
|
159
|
+
"alias": "variant";
|
|
160
|
+
"required": false;
|
|
161
|
+
};
|
|
162
|
+
"appearance": {
|
|
163
|
+
"alias": "appearance";
|
|
164
|
+
"required": false;
|
|
165
|
+
};
|
|
166
|
+
"radius": {
|
|
167
|
+
"alias": "radius";
|
|
168
|
+
"required": false;
|
|
169
|
+
};
|
|
170
|
+
"fullWidth": {
|
|
171
|
+
"alias": "full-width";
|
|
172
|
+
"required": false;
|
|
173
|
+
};
|
|
174
|
+
"disabled": {
|
|
175
|
+
"alias": "disabled";
|
|
176
|
+
"required": false;
|
|
177
|
+
};
|
|
178
|
+
"containerClass": {
|
|
179
|
+
"alias": "container-class";
|
|
180
|
+
"required": false;
|
|
181
|
+
};
|
|
182
|
+
"containerStyle": {
|
|
183
|
+
"alias": "container-style";
|
|
184
|
+
"required": false;
|
|
185
|
+
};
|
|
186
|
+
}, {}, ["buttons"], ["*"], true, never>;
|
|
187
|
+
static ngAcceptInputType_attached: unknown;
|
|
188
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
189
|
+
static ngAcceptInputType_disabled: unknown;
|
|
190
|
+
}
|
|
191
|
+
export declare const DasarButtonGroupComponent: readonly [typeof DasarButtonGroup];
|
|
192
|
+
export type DasarNumberInputSize = Extract<ScaleAttributeType$1, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
193
|
+
export type DasarNumberInputAppearanceType = 'outline' | 'filled';
|
|
194
|
+
export type DasarNumberInputRadiusType = ScaleAttributeType$1;
|
|
195
|
+
export interface DasarNumberInputConfig {
|
|
196
|
+
appearance?: DasarNumberInputAppearanceType;
|
|
197
|
+
radius?: DasarNumberInputRadiusType;
|
|
198
|
+
size?: DasarNumberInputSize;
|
|
199
|
+
label?: string;
|
|
200
|
+
labelRight?: string;
|
|
201
|
+
placeholder?: string;
|
|
202
|
+
hint?: string;
|
|
203
|
+
step?: number;
|
|
204
|
+
min?: number;
|
|
205
|
+
max?: number;
|
|
206
|
+
disabled?: boolean;
|
|
207
|
+
fullWidth?: boolean;
|
|
208
|
+
error?: boolean;
|
|
209
|
+
containerClass?: ClassType;
|
|
210
|
+
inputClass?: ClassType;
|
|
211
|
+
hostClass?: ClassType;
|
|
212
|
+
hintClass?: ClassType;
|
|
213
|
+
containerStyle?: StyleType;
|
|
214
|
+
inputStyle?: StyleType;
|
|
215
|
+
hintStyle?: StyleType;
|
|
216
|
+
hideOverflow?: boolean;
|
|
217
|
+
}
|
|
218
|
+
export declare class DasarNumberInputExtraLabelSlot {
|
|
219
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarNumberInputExtraLabelSlot, never>;
|
|
220
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarNumberInputExtraLabelSlot, "[extra-label-slot]", never, {}, {}, never, never, true, never>;
|
|
221
|
+
}
|
|
222
|
+
export declare class DasarNumberInputPrefixSlot {
|
|
223
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarNumberInputPrefixSlot, never>;
|
|
224
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarNumberInputPrefixSlot, "[prefix-slot]", never, {}, {}, never, never, true, never>;
|
|
225
|
+
}
|
|
226
|
+
export declare class DasarNumberInputDecrementSlot {
|
|
227
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarNumberInputDecrementSlot, never>;
|
|
228
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarNumberInputDecrementSlot, "[decrement-slot]", never, {}, {}, never, never, true, never>;
|
|
229
|
+
}
|
|
230
|
+
export declare class DasarNumberInputIncrementSlot {
|
|
231
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarNumberInputIncrementSlot, never>;
|
|
232
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarNumberInputIncrementSlot, "[increment-slot]", never, {}, {}, never, never, true, never>;
|
|
233
|
+
}
|
|
234
|
+
export declare class DasarNumberInput implements ControlValueAccessor {
|
|
235
|
+
providedExtraLabelSlot?: DasarNumberInputExtraLabelSlot;
|
|
236
|
+
providedDecrement?: DasarNumberInputDecrementSlot;
|
|
237
|
+
providedIncrement?: DasarNumberInputIncrementSlot;
|
|
238
|
+
providedPrefix?: DasarNumberInputPrefixSlot;
|
|
239
|
+
private themeProvider;
|
|
240
|
+
private themeService;
|
|
241
|
+
private cdr;
|
|
242
|
+
appearance: NonNullable<DasarNumberInputAppearanceType | undefined>;
|
|
243
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
244
|
+
size: NonNullable<DasarNumberInputSize | undefined>;
|
|
245
|
+
label: string | undefined;
|
|
246
|
+
labelRight: string | undefined;
|
|
247
|
+
placeholder: string;
|
|
248
|
+
hint: string;
|
|
249
|
+
step: number;
|
|
250
|
+
min: number | undefined;
|
|
251
|
+
max: number | undefined;
|
|
252
|
+
disabled: NonNullable<boolean | undefined>;
|
|
253
|
+
fullWidth: NonNullable<boolean | undefined>;
|
|
254
|
+
error: NonNullable<boolean | undefined>;
|
|
255
|
+
containerClass: NonNullable<ClassType> | null;
|
|
256
|
+
inputClass: NonNullable<ClassType> | null;
|
|
257
|
+
hostClass: NonNullable<ClassType> | null;
|
|
258
|
+
hintClass: NonNullable<ClassType> | null;
|
|
259
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
260
|
+
inputStyle: NonNullable<StyleType | undefined> | null;
|
|
261
|
+
hintStyle: NonNullable<StyleType | undefined> | null;
|
|
262
|
+
hideOverflow: NonNullable<boolean | undefined>;
|
|
263
|
+
valueChange: EventEmitter<number | null>;
|
|
264
|
+
onIncrementClick: EventEmitter<number>;
|
|
265
|
+
onDecrementClick: EventEmitter<number>;
|
|
266
|
+
onInputFocus: EventEmitter<FocusEvent>;
|
|
267
|
+
onInputBlur: EventEmitter<FocusEvent>;
|
|
268
|
+
onInputChange: EventEmitter<Event>;
|
|
269
|
+
readonly baseClass = true;
|
|
270
|
+
get hasFullWidth(): boolean;
|
|
271
|
+
get isDisabled(): boolean;
|
|
272
|
+
private _value;
|
|
273
|
+
get value(): number | null;
|
|
274
|
+
set value(val: number | null);
|
|
275
|
+
onTouched: any;
|
|
276
|
+
onChange: any;
|
|
277
|
+
get hasDecrementSlot(): boolean;
|
|
278
|
+
get hasIncrementSlot(): boolean;
|
|
279
|
+
get hasExtraLabelSlot(): boolean;
|
|
280
|
+
get hasPrefixSlot(): boolean;
|
|
281
|
+
writeValue(value: any): void;
|
|
282
|
+
registerOnChange(fn: any): void;
|
|
283
|
+
registerOnTouched(fn: any): void;
|
|
284
|
+
setDisabledState(isDisabled: boolean): void;
|
|
285
|
+
onDecrement(event: MouseEvent): void;
|
|
286
|
+
onIncrement(event: MouseEvent): void;
|
|
287
|
+
onInput(event: Event): void;
|
|
288
|
+
onFocus(event: FocusEvent): void;
|
|
289
|
+
onBlur(event: FocusEvent): void;
|
|
290
|
+
private updateValue;
|
|
291
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarNumberInput, never>;
|
|
292
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarNumberInput, "dasar-number-input", never, {
|
|
293
|
+
"appearance": {
|
|
294
|
+
"alias": "appearance";
|
|
295
|
+
"required": false;
|
|
296
|
+
};
|
|
297
|
+
"radius": {
|
|
298
|
+
"alias": "radius";
|
|
299
|
+
"required": false;
|
|
300
|
+
};
|
|
301
|
+
"size": {
|
|
302
|
+
"alias": "size";
|
|
303
|
+
"required": false;
|
|
304
|
+
};
|
|
305
|
+
"label": {
|
|
306
|
+
"alias": "label";
|
|
307
|
+
"required": false;
|
|
308
|
+
};
|
|
309
|
+
"labelRight": {
|
|
310
|
+
"alias": "labelRight";
|
|
311
|
+
"required": false;
|
|
312
|
+
};
|
|
313
|
+
"placeholder": {
|
|
314
|
+
"alias": "placeholder";
|
|
315
|
+
"required": false;
|
|
316
|
+
};
|
|
317
|
+
"hint": {
|
|
318
|
+
"alias": "hint";
|
|
319
|
+
"required": false;
|
|
320
|
+
};
|
|
321
|
+
"step": {
|
|
322
|
+
"alias": "step";
|
|
323
|
+
"required": false;
|
|
324
|
+
};
|
|
325
|
+
"min": {
|
|
326
|
+
"alias": "min";
|
|
327
|
+
"required": false;
|
|
328
|
+
};
|
|
329
|
+
"max": {
|
|
330
|
+
"alias": "max";
|
|
331
|
+
"required": false;
|
|
332
|
+
};
|
|
333
|
+
"disabled": {
|
|
334
|
+
"alias": "disabled";
|
|
335
|
+
"required": false;
|
|
336
|
+
};
|
|
337
|
+
"fullWidth": {
|
|
338
|
+
"alias": "full-width";
|
|
339
|
+
"required": false;
|
|
340
|
+
};
|
|
341
|
+
"error": {
|
|
342
|
+
"alias": "error";
|
|
343
|
+
"required": false;
|
|
344
|
+
};
|
|
345
|
+
"containerClass": {
|
|
346
|
+
"alias": "container-class";
|
|
347
|
+
"required": false;
|
|
348
|
+
};
|
|
349
|
+
"inputClass": {
|
|
350
|
+
"alias": "input-class";
|
|
351
|
+
"required": false;
|
|
352
|
+
};
|
|
353
|
+
"hostClass": {
|
|
354
|
+
"alias": "host-class";
|
|
355
|
+
"required": false;
|
|
356
|
+
};
|
|
357
|
+
"hintClass": {
|
|
358
|
+
"alias": "hint-class";
|
|
359
|
+
"required": false;
|
|
360
|
+
};
|
|
361
|
+
"containerStyle": {
|
|
362
|
+
"alias": "container-style";
|
|
363
|
+
"required": false;
|
|
364
|
+
};
|
|
365
|
+
"inputStyle": {
|
|
366
|
+
"alias": "input-style";
|
|
367
|
+
"required": false;
|
|
368
|
+
};
|
|
369
|
+
"hintStyle": {
|
|
370
|
+
"alias": "hint-style";
|
|
371
|
+
"required": false;
|
|
372
|
+
};
|
|
373
|
+
"hideOverflow": {
|
|
374
|
+
"alias": "hide-overflow";
|
|
375
|
+
"required": false;
|
|
376
|
+
};
|
|
377
|
+
"value": {
|
|
378
|
+
"alias": "value";
|
|
379
|
+
"required": false;
|
|
380
|
+
};
|
|
381
|
+
}, {
|
|
382
|
+
"valueChange": "valueChange";
|
|
383
|
+
"onIncrementClick": "onIncrementClick";
|
|
384
|
+
"onDecrementClick": "onDecrementClick";
|
|
385
|
+
"onInputFocus": "onInputFocus";
|
|
386
|
+
"onInputBlur": "onInputBlur";
|
|
387
|
+
"onInputChange": "onInputChange";
|
|
388
|
+
}, ["providedExtraLabelSlot", "providedDecrement", "providedIncrement", "providedPrefix"], ["[extra-label-slot]", "[prefix-slot]", "[decrement-slot]", "[increment-slot]"], true, never>;
|
|
389
|
+
static ngAcceptInputType_disabled: unknown;
|
|
390
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
391
|
+
static ngAcceptInputType_error: unknown;
|
|
392
|
+
static ngAcceptInputType_hideOverflow: unknown;
|
|
393
|
+
}
|
|
394
|
+
export declare const DasarNumberInputComponent: readonly [typeof DasarNumberInputDecrementSlot, typeof DasarNumberInputIncrementSlot, typeof DasarNumberInputPrefixSlot, typeof DasarNumberInput];
|
|
395
|
+
export type DasarPaginationRadiusType = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
396
|
+
export type DasarPaginationAppearanceType = 'solid' | 'subtle' | 'outline';
|
|
397
|
+
export type DasarPaginationSizeType = 'sm' | 'md' | 'lg';
|
|
398
|
+
export declare class DasarPagination {
|
|
399
|
+
showFirstLast: boolean;
|
|
400
|
+
disabled: boolean;
|
|
401
|
+
appearance: DasarPaginationAppearanceType;
|
|
402
|
+
radius: DasarPaginationRadiusType;
|
|
403
|
+
size: DasarPaginationSizeType;
|
|
404
|
+
siblingCount: number;
|
|
405
|
+
currentPage: number;
|
|
406
|
+
pageSize: number;
|
|
407
|
+
totalItems: number;
|
|
408
|
+
pageChange: EventEmitter<number>;
|
|
409
|
+
get totalPages(): number;
|
|
410
|
+
get pages(): (number | string)[];
|
|
411
|
+
private range;
|
|
412
|
+
goToPage(page: number | string): void;
|
|
413
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPagination, never>;
|
|
414
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarPagination, "dasar-pagination", never, {
|
|
415
|
+
"showFirstLast": {
|
|
416
|
+
"alias": "showFirstLast";
|
|
417
|
+
"required": false;
|
|
418
|
+
};
|
|
419
|
+
"disabled": {
|
|
420
|
+
"alias": "disabled";
|
|
421
|
+
"required": false;
|
|
422
|
+
};
|
|
423
|
+
"appearance": {
|
|
424
|
+
"alias": "appearance";
|
|
425
|
+
"required": false;
|
|
426
|
+
};
|
|
427
|
+
"radius": {
|
|
428
|
+
"alias": "radius";
|
|
429
|
+
"required": false;
|
|
430
|
+
};
|
|
431
|
+
"size": {
|
|
432
|
+
"alias": "size";
|
|
433
|
+
"required": false;
|
|
434
|
+
};
|
|
435
|
+
"siblingCount": {
|
|
436
|
+
"alias": "siblingCount";
|
|
437
|
+
"required": false;
|
|
438
|
+
};
|
|
439
|
+
"currentPage": {
|
|
440
|
+
"alias": "currentPage";
|
|
441
|
+
"required": false;
|
|
442
|
+
};
|
|
443
|
+
"pageSize": {
|
|
444
|
+
"alias": "pageSize";
|
|
445
|
+
"required": false;
|
|
446
|
+
};
|
|
447
|
+
"totalItems": {
|
|
448
|
+
"alias": "totalItems";
|
|
449
|
+
"required": false;
|
|
450
|
+
};
|
|
451
|
+
}, {
|
|
452
|
+
"pageChange": "pageChange";
|
|
453
|
+
}, never, never, true, never>;
|
|
454
|
+
static ngAcceptInputType_showFirstLast: unknown;
|
|
455
|
+
static ngAcceptInputType_disabled: unknown;
|
|
456
|
+
}
|
|
457
|
+
export declare const DasarPaginationComponent: readonly [typeof DasarPagination];
|
|
458
|
+
export type DasarTextareaSizeType = Extract<ScaleAttributeType, 'sm' | 'md' | 'lg'>;
|
|
459
|
+
export type DasarTextareaAppearanceType = 'outline' | 'filled';
|
|
460
|
+
export type DasarTextareaRadiusType = ScaleAttributeType;
|
|
461
|
+
export declare class DasarTextareaLabelSlot {
|
|
462
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTextareaLabelSlot, never>;
|
|
463
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTextareaLabelSlot, "[label-slot]", never, {}, {}, never, never, true, never>;
|
|
464
|
+
}
|
|
465
|
+
export declare class DasarTextareaExtraLabelSlot {
|
|
466
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTextareaExtraLabelSlot, never>;
|
|
467
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTextareaExtraLabelSlot, "[extra-label-slot]", never, {}, {}, never, never, true, never>;
|
|
468
|
+
}
|
|
469
|
+
export declare class DasarTextarea implements ControlValueAccessor {
|
|
470
|
+
extraLabelSlot?: DasarTextareaExtraLabelSlot;
|
|
471
|
+
labelSlot?: DasarTextareaLabelSlot;
|
|
472
|
+
appearance: DasarTextareaAppearanceType;
|
|
473
|
+
labelRight?: string | TemplateRef<any>;
|
|
474
|
+
size: DasarTextareaSizeType;
|
|
475
|
+
radius: DasarTextareaRadiusType;
|
|
476
|
+
hint: string;
|
|
477
|
+
placeholder: string;
|
|
478
|
+
label?: string;
|
|
479
|
+
rows: number;
|
|
480
|
+
cols: number;
|
|
481
|
+
fullWidth: boolean;
|
|
482
|
+
disabled: boolean;
|
|
483
|
+
readonly: boolean;
|
|
484
|
+
error: boolean;
|
|
485
|
+
containerClass: string | string[] | Set<string> | {
|
|
486
|
+
[klass: string]: any;
|
|
487
|
+
};
|
|
488
|
+
textareaClass: string | string[] | Set<string> | {
|
|
489
|
+
[klass: string]: any;
|
|
490
|
+
};
|
|
491
|
+
hostClass: string | string[] | Set<string> | {
|
|
492
|
+
[klass: string]: any;
|
|
493
|
+
};
|
|
494
|
+
containerStyle: Record<string, any> | null;
|
|
495
|
+
textareaStyle: Record<string, any> | null;
|
|
496
|
+
hostStyle: Record<string, any> | null;
|
|
497
|
+
private cdr;
|
|
498
|
+
_value: any;
|
|
499
|
+
get value(): any;
|
|
500
|
+
set value(val: any);
|
|
501
|
+
valueChange: EventEmitter<any>;
|
|
502
|
+
readonly baseClass = true;
|
|
503
|
+
get hasFullWidth(): boolean;
|
|
504
|
+
get isDisabled(): boolean;
|
|
505
|
+
onChange: any;
|
|
506
|
+
onTouched: any;
|
|
507
|
+
writeValue(val: any): void;
|
|
508
|
+
registerOnChange(fn: any): void;
|
|
509
|
+
registerOnTouched(fn: any): void;
|
|
510
|
+
setDisabledState(isDisabled: boolean): void;
|
|
511
|
+
onInput(event: Event): void;
|
|
512
|
+
onBlur(): void;
|
|
513
|
+
isTemplate(value: any): boolean;
|
|
514
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTextarea, never>;
|
|
515
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarTextarea, "dasar-textarea", never, {
|
|
516
|
+
"appearance": {
|
|
517
|
+
"alias": "appearance";
|
|
518
|
+
"required": false;
|
|
519
|
+
};
|
|
520
|
+
"labelRight": {
|
|
521
|
+
"alias": "labelRight";
|
|
522
|
+
"required": false;
|
|
523
|
+
};
|
|
524
|
+
"size": {
|
|
525
|
+
"alias": "size";
|
|
526
|
+
"required": false;
|
|
527
|
+
};
|
|
528
|
+
"radius": {
|
|
529
|
+
"alias": "radius";
|
|
530
|
+
"required": false;
|
|
531
|
+
};
|
|
532
|
+
"hint": {
|
|
533
|
+
"alias": "hint";
|
|
534
|
+
"required": false;
|
|
535
|
+
};
|
|
536
|
+
"placeholder": {
|
|
537
|
+
"alias": "placeholder";
|
|
538
|
+
"required": false;
|
|
539
|
+
};
|
|
540
|
+
"label": {
|
|
541
|
+
"alias": "label";
|
|
542
|
+
"required": false;
|
|
543
|
+
};
|
|
544
|
+
"rows": {
|
|
545
|
+
"alias": "rows";
|
|
546
|
+
"required": false;
|
|
547
|
+
};
|
|
548
|
+
"cols": {
|
|
549
|
+
"alias": "cols";
|
|
550
|
+
"required": false;
|
|
551
|
+
};
|
|
552
|
+
"fullWidth": {
|
|
553
|
+
"alias": "fullWidth";
|
|
554
|
+
"required": false;
|
|
555
|
+
};
|
|
556
|
+
"disabled": {
|
|
557
|
+
"alias": "disabled";
|
|
558
|
+
"required": false;
|
|
559
|
+
};
|
|
560
|
+
"readonly": {
|
|
561
|
+
"alias": "readonly";
|
|
562
|
+
"required": false;
|
|
563
|
+
};
|
|
564
|
+
"error": {
|
|
565
|
+
"alias": "error";
|
|
566
|
+
"required": false;
|
|
567
|
+
};
|
|
568
|
+
"containerClass": {
|
|
569
|
+
"alias": "containerClass";
|
|
570
|
+
"required": false;
|
|
571
|
+
};
|
|
572
|
+
"textareaClass": {
|
|
573
|
+
"alias": "textareaClass";
|
|
574
|
+
"required": false;
|
|
575
|
+
};
|
|
576
|
+
"hostClass": {
|
|
577
|
+
"alias": "hostClass";
|
|
578
|
+
"required": false;
|
|
579
|
+
};
|
|
580
|
+
"containerStyle": {
|
|
581
|
+
"alias": "containerStyle";
|
|
582
|
+
"required": false;
|
|
583
|
+
};
|
|
584
|
+
"textareaStyle": {
|
|
585
|
+
"alias": "textareaStyle";
|
|
586
|
+
"required": false;
|
|
587
|
+
};
|
|
588
|
+
"hostStyle": {
|
|
589
|
+
"alias": "hostStyle";
|
|
590
|
+
"required": false;
|
|
591
|
+
};
|
|
592
|
+
"value": {
|
|
593
|
+
"alias": "value";
|
|
594
|
+
"required": false;
|
|
595
|
+
};
|
|
596
|
+
}, {
|
|
597
|
+
"valueChange": "valueChange";
|
|
598
|
+
}, ["extraLabelSlot", "labelSlot"], ["[label-slot]", "[extra-label-slot]"], true, never>;
|
|
599
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
600
|
+
static ngAcceptInputType_disabled: unknown;
|
|
601
|
+
static ngAcceptInputType_readonly: unknown;
|
|
602
|
+
static ngAcceptInputType_error: unknown;
|
|
603
|
+
}
|
|
604
|
+
export declare const DasarTextareaComponent: readonly [typeof DasarTextareaExtraLabelSlot, typeof DasarTextareaLabelSlot, typeof DasarTextarea];
|
|
605
|
+
export type DasarTableAppearance = 'outline' | 'filled' | 'elevated' | 'borderless';
|
|
606
|
+
export type DasarTableSize = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
607
|
+
export type DasarTableSpacing = 'compact' | 'normal' | 'relaxed';
|
|
608
|
+
export type DasarTableSortDirection = 'asc' | 'desc' | null;
|
|
609
|
+
export interface DasarTableColumn {
|
|
610
|
+
cellClass?: ClassType | ((row: any, index: number) => ClassType);
|
|
611
|
+
cellStyle?: StyleType | ((row: any, index: number) => StyleType);
|
|
612
|
+
align?: 'left' | 'center' | 'right';
|
|
613
|
+
headerClass?: ClassType;
|
|
614
|
+
headerStyle?: StyleType;
|
|
615
|
+
sortable?: boolean;
|
|
616
|
+
width?: string;
|
|
617
|
+
label?: string;
|
|
618
|
+
key: string;
|
|
619
|
+
}
|
|
620
|
+
export interface DasarTableSortEvent {
|
|
621
|
+
column: string;
|
|
622
|
+
direction: DasarTableSortDirection;
|
|
623
|
+
}
|
|
624
|
+
export interface DasarTableConfig {
|
|
625
|
+
data?: any[];
|
|
626
|
+
columns?: DasarTableColumn[];
|
|
627
|
+
fluid?: boolean;
|
|
628
|
+
striped?: boolean;
|
|
629
|
+
hoverable?: boolean;
|
|
630
|
+
loading?: boolean;
|
|
631
|
+
expandable?: boolean;
|
|
632
|
+
appearance?: DasarTableAppearance;
|
|
633
|
+
spacing?: DasarTableSpacing;
|
|
634
|
+
size?: DasarTableSize;
|
|
635
|
+
sortKey?: string | null;
|
|
636
|
+
sortDirection?: DasarTableSortDirection;
|
|
637
|
+
emptyTitle?: string;
|
|
638
|
+
emptyDescription?: string;
|
|
639
|
+
loadingText?: string;
|
|
640
|
+
containerClass?: ClassType;
|
|
641
|
+
containerStyle?: StyleType;
|
|
642
|
+
wrapperClass?: ClassType;
|
|
643
|
+
wrapperStyle?: StyleType;
|
|
644
|
+
tableClass?: ClassType;
|
|
645
|
+
tableStyle?: StyleType;
|
|
646
|
+
headerClass?: ClassType;
|
|
647
|
+
headerStyle?: StyleType;
|
|
648
|
+
bodyClass?: ClassType;
|
|
649
|
+
bodyStyle?: StyleType;
|
|
650
|
+
paginationClass?: ClassType;
|
|
651
|
+
paginationStyle?: StyleType;
|
|
652
|
+
}
|
|
653
|
+
export declare class DasarTableHeaderSlot {
|
|
654
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTableHeaderSlot, never>;
|
|
655
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTableHeaderSlot, "[header-slot]", never, {}, {}, never, never, true, never>;
|
|
656
|
+
}
|
|
657
|
+
export declare class DasarTableBodySlot {
|
|
658
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTableBodySlot, never>;
|
|
659
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTableBodySlot, "[body-slot]", never, {}, {}, never, never, true, never>;
|
|
660
|
+
}
|
|
661
|
+
export declare class DasarTableEmptySlot {
|
|
662
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTableEmptySlot, never>;
|
|
663
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTableEmptySlot, "[empty-slot]", never, {}, {}, never, never, true, never>;
|
|
664
|
+
}
|
|
665
|
+
export declare class DasarTablePaginationSlot {
|
|
666
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTablePaginationSlot, never>;
|
|
667
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTablePaginationSlot, "[pagination-slot]", never, {}, {}, never, never, true, never>;
|
|
668
|
+
}
|
|
669
|
+
export declare class DasarTableExpandedSlot {
|
|
670
|
+
templateRef: TemplateRef<any>;
|
|
671
|
+
constructor(templateRef: TemplateRef<any>);
|
|
672
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTableExpandedSlot, never>;
|
|
673
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTableExpandedSlot, "[expanded-slot]", never, {}, {}, never, never, true, never>;
|
|
674
|
+
}
|
|
675
|
+
export declare class DasarTableCellDirective {
|
|
676
|
+
templateRef: TemplateRef<any>;
|
|
677
|
+
columnName: string;
|
|
678
|
+
constructor(templateRef: TemplateRef<any>);
|
|
679
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTableCellDirective, never>;
|
|
680
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTableCellDirective, "[cell-slot]", never, {
|
|
681
|
+
"columnName": {
|
|
682
|
+
"alias": "cell-slot";
|
|
683
|
+
"required": false;
|
|
684
|
+
};
|
|
685
|
+
}, {}, never, never, true, never>;
|
|
686
|
+
}
|
|
687
|
+
export declare class DasarTable {
|
|
688
|
+
cellTemplates: QueryList<DasarTableCellDirective>;
|
|
689
|
+
providedPagination?: DasarTablePaginationSlot;
|
|
690
|
+
providedExpanded?: DasarTableExpandedSlot;
|
|
691
|
+
providedHeader?: DasarTableHeaderSlot;
|
|
692
|
+
providedEmpty?: DasarTableEmptySlot;
|
|
693
|
+
providedBody?: DasarTableBodySlot;
|
|
694
|
+
private themeProvider;
|
|
695
|
+
private themeService;
|
|
696
|
+
data: any[] | never[];
|
|
697
|
+
columns: never[] | DasarTableColumn[];
|
|
698
|
+
fluid: NonNullable<boolean | undefined>;
|
|
699
|
+
striped: NonNullable<boolean | undefined>;
|
|
700
|
+
hoverable: NonNullable<boolean | undefined>;
|
|
701
|
+
loading: NonNullable<boolean | undefined>;
|
|
702
|
+
expandable: NonNullable<boolean | undefined>;
|
|
703
|
+
appearance: NonNullable<DasarTableAppearance | undefined>;
|
|
704
|
+
spacing: NonNullable<DasarTableSpacing | undefined>;
|
|
705
|
+
size: NonNullable<DasarTableSize | undefined>;
|
|
706
|
+
sortKey: string | null;
|
|
707
|
+
sortDirection: DasarTableSortDirection;
|
|
708
|
+
emptyTitle: string;
|
|
709
|
+
emptyDescription: string;
|
|
710
|
+
loadingText: string;
|
|
711
|
+
containerClass: NonNullable<ClassType>;
|
|
712
|
+
wrapperClass: NonNullable<ClassType>;
|
|
713
|
+
tableClass: NonNullable<ClassType>;
|
|
714
|
+
headerClass: NonNullable<ClassType>;
|
|
715
|
+
bodyClass: NonNullable<ClassType>;
|
|
716
|
+
paginationClass: NonNullable<ClassType>;
|
|
717
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
718
|
+
wrapperStyle: NonNullable<StyleType | undefined> | null;
|
|
719
|
+
tableStyle: NonNullable<StyleType | undefined> | null;
|
|
720
|
+
headerStyle: NonNullable<StyleType | undefined> | null;
|
|
721
|
+
bodyStyle: NonNullable<StyleType | undefined> | null;
|
|
722
|
+
paginationStyle: NonNullable<StyleType | undefined> | null;
|
|
723
|
+
onRowClick: EventEmitter<{
|
|
724
|
+
row: any;
|
|
725
|
+
index: number;
|
|
726
|
+
event: MouseEvent;
|
|
727
|
+
}>;
|
|
728
|
+
onRowDblClick: EventEmitter<{
|
|
729
|
+
row: any;
|
|
730
|
+
index: number;
|
|
731
|
+
event: MouseEvent;
|
|
732
|
+
}>;
|
|
733
|
+
onRowContextMenu: EventEmitter<{
|
|
734
|
+
row: any;
|
|
735
|
+
index: number;
|
|
736
|
+
event: MouseEvent;
|
|
737
|
+
}>;
|
|
738
|
+
onSortChange: EventEmitter<DasarTableSortEvent>;
|
|
739
|
+
onRowExpandChange: EventEmitter<{
|
|
740
|
+
row: any;
|
|
741
|
+
index: number;
|
|
742
|
+
expanded: boolean;
|
|
743
|
+
}>;
|
|
744
|
+
readonly baseClass = true;
|
|
745
|
+
expandedRows: Set<number>;
|
|
746
|
+
get hasHeader(): boolean;
|
|
747
|
+
get hasBody(): boolean;
|
|
748
|
+
get hasEmpty(): boolean;
|
|
749
|
+
get hasPagination(): boolean;
|
|
750
|
+
get hasExpanded(): boolean;
|
|
751
|
+
getColHeaderClass(col: DasarTableColumn): ClassType;
|
|
752
|
+
getColHeaderStyle(col: DasarTableColumn): StyleType;
|
|
753
|
+
getColCellClass(col: DasarTableColumn, row: any, index: number): ClassType;
|
|
754
|
+
getColCellStyle(col: DasarTableColumn, row: any, index: number): StyleType;
|
|
755
|
+
getCellTemplate(columnName: string): TemplateRef<any> | null;
|
|
756
|
+
onSort(columnKey: string): void;
|
|
757
|
+
toggleExpand(row: any, index: number, event: MouseEvent): void;
|
|
758
|
+
isExpanded(index: number): boolean;
|
|
759
|
+
rowClick(row: any, index: number, event: MouseEvent): void;
|
|
760
|
+
rowDblClick(row: any, index: number, event: MouseEvent): void;
|
|
761
|
+
rowContextMenu(row: any, index: number, event: MouseEvent): void;
|
|
762
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTable, never>;
|
|
763
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarTable, "dasar-table", never, {
|
|
764
|
+
"data": {
|
|
765
|
+
"alias": "data";
|
|
766
|
+
"required": false;
|
|
767
|
+
};
|
|
768
|
+
"columns": {
|
|
769
|
+
"alias": "columns";
|
|
770
|
+
"required": false;
|
|
771
|
+
};
|
|
772
|
+
"fluid": {
|
|
773
|
+
"alias": "fluid";
|
|
774
|
+
"required": false;
|
|
775
|
+
};
|
|
776
|
+
"striped": {
|
|
777
|
+
"alias": "striped";
|
|
778
|
+
"required": false;
|
|
779
|
+
};
|
|
780
|
+
"hoverable": {
|
|
781
|
+
"alias": "hoverable";
|
|
782
|
+
"required": false;
|
|
783
|
+
};
|
|
784
|
+
"loading": {
|
|
785
|
+
"alias": "loading";
|
|
786
|
+
"required": false;
|
|
787
|
+
};
|
|
788
|
+
"expandable": {
|
|
789
|
+
"alias": "expandable";
|
|
790
|
+
"required": false;
|
|
791
|
+
};
|
|
792
|
+
"appearance": {
|
|
793
|
+
"alias": "appearance";
|
|
794
|
+
"required": false;
|
|
795
|
+
};
|
|
796
|
+
"spacing": {
|
|
797
|
+
"alias": "spacing";
|
|
798
|
+
"required": false;
|
|
799
|
+
};
|
|
800
|
+
"size": {
|
|
801
|
+
"alias": "size";
|
|
802
|
+
"required": false;
|
|
803
|
+
};
|
|
804
|
+
"sortKey": {
|
|
805
|
+
"alias": "sortKey";
|
|
806
|
+
"required": false;
|
|
807
|
+
};
|
|
808
|
+
"sortDirection": {
|
|
809
|
+
"alias": "sortDirection";
|
|
810
|
+
"required": false;
|
|
811
|
+
};
|
|
812
|
+
"emptyTitle": {
|
|
813
|
+
"alias": "emptyTitle";
|
|
814
|
+
"required": false;
|
|
815
|
+
};
|
|
816
|
+
"emptyDescription": {
|
|
817
|
+
"alias": "emptyDescription";
|
|
818
|
+
"required": false;
|
|
819
|
+
};
|
|
820
|
+
"loadingText": {
|
|
821
|
+
"alias": "loadingText";
|
|
822
|
+
"required": false;
|
|
823
|
+
};
|
|
824
|
+
"containerClass": {
|
|
825
|
+
"alias": "containerClass";
|
|
826
|
+
"required": false;
|
|
827
|
+
};
|
|
828
|
+
"wrapperClass": {
|
|
829
|
+
"alias": "wrapperClass";
|
|
830
|
+
"required": false;
|
|
831
|
+
};
|
|
832
|
+
"tableClass": {
|
|
833
|
+
"alias": "tableClass";
|
|
834
|
+
"required": false;
|
|
835
|
+
};
|
|
836
|
+
"headerClass": {
|
|
837
|
+
"alias": "headerClass";
|
|
838
|
+
"required": false;
|
|
839
|
+
};
|
|
840
|
+
"bodyClass": {
|
|
841
|
+
"alias": "bodyClass";
|
|
842
|
+
"required": false;
|
|
843
|
+
};
|
|
844
|
+
"paginationClass": {
|
|
845
|
+
"alias": "paginationClass";
|
|
846
|
+
"required": false;
|
|
847
|
+
};
|
|
848
|
+
"containerStyle": {
|
|
849
|
+
"alias": "containerStyle";
|
|
850
|
+
"required": false;
|
|
851
|
+
};
|
|
852
|
+
"wrapperStyle": {
|
|
853
|
+
"alias": "wrapperStyle";
|
|
854
|
+
"required": false;
|
|
855
|
+
};
|
|
856
|
+
"tableStyle": {
|
|
857
|
+
"alias": "tableStyle";
|
|
858
|
+
"required": false;
|
|
859
|
+
};
|
|
860
|
+
"headerStyle": {
|
|
861
|
+
"alias": "headerStyle";
|
|
862
|
+
"required": false;
|
|
863
|
+
};
|
|
864
|
+
"bodyStyle": {
|
|
865
|
+
"alias": "bodyStyle";
|
|
866
|
+
"required": false;
|
|
867
|
+
};
|
|
868
|
+
"paginationStyle": {
|
|
869
|
+
"alias": "paginationStyle";
|
|
870
|
+
"required": false;
|
|
871
|
+
};
|
|
872
|
+
}, {
|
|
873
|
+
"onRowClick": "onRowClick";
|
|
874
|
+
"onRowDblClick": "onRowDblClick";
|
|
875
|
+
"onRowContextMenu": "onRowContextMenu";
|
|
876
|
+
"onSortChange": "onSortChange";
|
|
877
|
+
"onRowExpandChange": "onRowExpandChange";
|
|
878
|
+
}, ["providedPagination", "providedExpanded", "providedHeader", "providedEmpty", "providedBody", "cellTemplates"], ["[header-slot]", "[body-slot]", "[empty-slot]", "*", "[pagination-slot]"], true, never>;
|
|
879
|
+
static ngAcceptInputType_fluid: unknown;
|
|
880
|
+
static ngAcceptInputType_striped: unknown;
|
|
881
|
+
static ngAcceptInputType_hoverable: unknown;
|
|
882
|
+
static ngAcceptInputType_loading: unknown;
|
|
883
|
+
static ngAcceptInputType_expandable: unknown;
|
|
884
|
+
}
|
|
885
|
+
export declare const DasarTableComponent: readonly [typeof DasarTablePaginationSlot, typeof DasarTableCellDirective, typeof DasarTableExpandedSlot, typeof DasarTableHeaderSlot, typeof DasarTableEmptySlot, typeof DasarTableBodySlot, typeof DasarTable];
|
|
886
|
+
export type DasarPanelPlacement = 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
887
|
+
export type DasarPlacementRect = Pick<DOMRect, 'top' | 'bottom' | 'left' | 'right' | 'width' | 'height'>;
|
|
888
|
+
export interface DasarPlacementTarget {
|
|
889
|
+
getBoundingClientRect(): DasarPlacementRect;
|
|
890
|
+
}
|
|
891
|
+
export declare function computeSmartPlacement(trigger: DasarPlacementTarget, panel: DasarPlacementTarget, preferred: DasarPanelPlacement, margin?: number): DasarPanelPlacement;
|
|
892
|
+
export type DasarMenuPlacementType = DasarPanelPlacement;
|
|
893
|
+
export type DasarMenuSizeType = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
894
|
+
export type DasarMenuAppearanceType = 'none' | 'outline' | 'filled';
|
|
895
|
+
export type DasarMenuRadiusType = ScaleAttributeType$1;
|
|
896
|
+
export interface DasarMenuItem {
|
|
897
|
+
label: string;
|
|
898
|
+
value: any;
|
|
899
|
+
iconName?: string;
|
|
900
|
+
disabled?: boolean;
|
|
901
|
+
divider?: boolean;
|
|
902
|
+
[key: string]: any;
|
|
903
|
+
}
|
|
904
|
+
export interface DasarMenuConfig {
|
|
905
|
+
placement?: DasarMenuPlacementType;
|
|
906
|
+
appearance?: DasarMenuAppearanceType;
|
|
907
|
+
radius?: DasarMenuRadiusType;
|
|
908
|
+
label?: string;
|
|
909
|
+
size?: DasarMenuSizeType;
|
|
910
|
+
items?: DasarMenuItem[];
|
|
911
|
+
containerStyle?: StyleType;
|
|
912
|
+
panelStyle?: StyleType;
|
|
913
|
+
itemStyle?: StyleType;
|
|
914
|
+
containerClass?: ClassType;
|
|
915
|
+
panelClass?: ClassType;
|
|
916
|
+
itemClass?: ClassType;
|
|
917
|
+
disabled?: boolean;
|
|
918
|
+
fluid?: boolean;
|
|
919
|
+
}
|
|
920
|
+
export declare class DasarMenuPrefixSlot {
|
|
921
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarMenuPrefixSlot, never>;
|
|
922
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarMenuPrefixSlot, "[prefix-slot]", never, {}, {}, never, never, true, never>;
|
|
923
|
+
}
|
|
924
|
+
export declare class DasarMenuSuffixSlot {
|
|
925
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarMenuSuffixSlot, never>;
|
|
926
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarMenuSuffixSlot, "[suffix-slot]", never, {}, {}, never, never, true, never>;
|
|
927
|
+
}
|
|
928
|
+
export declare class DasarMenuLabelSlot {
|
|
929
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarMenuLabelSlot, never>;
|
|
930
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarMenuLabelSlot, "[menu-label-slot]", never, {}, {}, never, never, true, never>;
|
|
931
|
+
}
|
|
932
|
+
export declare class DasarMenuItemTemplate {
|
|
933
|
+
templateRef: TemplateRef<any>;
|
|
934
|
+
constructor(templateRef: TemplateRef<any>);
|
|
935
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarMenuItemTemplate, never>;
|
|
936
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarMenuItemTemplate, "[menu-item-template]", never, {}, {}, never, never, true, never>;
|
|
937
|
+
}
|
|
938
|
+
export declare class DasarMenu {
|
|
939
|
+
providedMenuItem?: DasarMenuItemTemplate;
|
|
940
|
+
providedMenuLabel?: DasarMenuLabelSlot;
|
|
941
|
+
providedMenuPrefix?: DasarMenuPrefixSlot;
|
|
942
|
+
providedMenuSuffix?: DasarMenuSuffixSlot;
|
|
943
|
+
private themeProvider;
|
|
944
|
+
private themeService;
|
|
945
|
+
private cdr;
|
|
946
|
+
private elementRef;
|
|
947
|
+
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
948
|
+
triggerEl?: ElementRef<HTMLElement>;
|
|
949
|
+
panelEl?: ElementRef<HTMLElement>;
|
|
950
|
+
private _placement;
|
|
951
|
+
set placement(value: DasarMenuPlacementType);
|
|
952
|
+
get placement(): DasarMenuPlacementType;
|
|
953
|
+
readonly currentPlacement: import("@angular/core").WritableSignal<DasarPanelPlacement>;
|
|
954
|
+
appearance: NonNullable<DasarMenuAppearanceType | undefined>;
|
|
955
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
956
|
+
size: NonNullable<DasarMenuSizeType | undefined>;
|
|
957
|
+
label: string | undefined;
|
|
958
|
+
items: never[] | DasarMenuItem[];
|
|
959
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
960
|
+
panelStyle: NonNullable<StyleType | undefined> | null;
|
|
961
|
+
itemStyle: NonNullable<StyleType | undefined> | null;
|
|
962
|
+
containerClass: NonNullable<ClassType> | null;
|
|
963
|
+
panelClass: NonNullable<ClassType> | null;
|
|
964
|
+
itemClass: NonNullable<ClassType> | null;
|
|
965
|
+
disabled: NonNullable<boolean | undefined>;
|
|
966
|
+
fluid: NonNullable<boolean | undefined>;
|
|
967
|
+
onItemClick: EventEmitter<DasarMenuItem>;
|
|
968
|
+
onPanelOpen: EventEmitter<void>;
|
|
969
|
+
onPanelClose: EventEmitter<void>;
|
|
970
|
+
readonly baseClass = true;
|
|
971
|
+
onDocumentClick(event: MouseEvent): void;
|
|
972
|
+
onGlobalSelectOpened(event: any): void;
|
|
973
|
+
get hasMenuLabel(): boolean;
|
|
974
|
+
get hasMenuItem(): boolean;
|
|
975
|
+
get itemIconSize(): number;
|
|
976
|
+
onViewportChange(): void;
|
|
977
|
+
private recalculatePlacement;
|
|
978
|
+
toggle(event?: Event): void;
|
|
979
|
+
open(): void;
|
|
980
|
+
close(): void;
|
|
981
|
+
onItemSelect(item: DasarMenuItem, event: Event): void;
|
|
982
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarMenu, never>;
|
|
983
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarMenu, "dasar-menu", never, {
|
|
984
|
+
"placement": {
|
|
985
|
+
"alias": "placement";
|
|
986
|
+
"required": false;
|
|
987
|
+
};
|
|
988
|
+
"appearance": {
|
|
989
|
+
"alias": "appearance";
|
|
990
|
+
"required": false;
|
|
991
|
+
};
|
|
992
|
+
"radius": {
|
|
993
|
+
"alias": "radius";
|
|
994
|
+
"required": false;
|
|
995
|
+
};
|
|
996
|
+
"size": {
|
|
997
|
+
"alias": "size";
|
|
998
|
+
"required": false;
|
|
999
|
+
};
|
|
1000
|
+
"label": {
|
|
1001
|
+
"alias": "label";
|
|
1002
|
+
"required": false;
|
|
1003
|
+
};
|
|
1004
|
+
"items": {
|
|
1005
|
+
"alias": "items";
|
|
1006
|
+
"required": false;
|
|
1007
|
+
};
|
|
1008
|
+
"containerStyle": {
|
|
1009
|
+
"alias": "containerStyle";
|
|
1010
|
+
"required": false;
|
|
1011
|
+
};
|
|
1012
|
+
"panelStyle": {
|
|
1013
|
+
"alias": "panelStyle";
|
|
1014
|
+
"required": false;
|
|
1015
|
+
};
|
|
1016
|
+
"itemStyle": {
|
|
1017
|
+
"alias": "itemStyle";
|
|
1018
|
+
"required": false;
|
|
1019
|
+
};
|
|
1020
|
+
"containerClass": {
|
|
1021
|
+
"alias": "containerClass";
|
|
1022
|
+
"required": false;
|
|
1023
|
+
};
|
|
1024
|
+
"panelClass": {
|
|
1025
|
+
"alias": "panelClass";
|
|
1026
|
+
"required": false;
|
|
1027
|
+
};
|
|
1028
|
+
"itemClass": {
|
|
1029
|
+
"alias": "itemClass";
|
|
1030
|
+
"required": false;
|
|
1031
|
+
};
|
|
1032
|
+
"disabled": {
|
|
1033
|
+
"alias": "disabled";
|
|
1034
|
+
"required": false;
|
|
1035
|
+
};
|
|
1036
|
+
"fluid": {
|
|
1037
|
+
"alias": "fluid";
|
|
1038
|
+
"required": false;
|
|
1039
|
+
};
|
|
1040
|
+
}, {
|
|
1041
|
+
"onItemClick": "onItemClick";
|
|
1042
|
+
"onPanelOpen": "onPanelOpen";
|
|
1043
|
+
"onPanelClose": "onPanelClose";
|
|
1044
|
+
}, ["providedMenuItem", "providedMenuLabel", "providedMenuPrefix", "providedMenuSuffix"], ["[prefix-slot]", "[menu-label-slot]", "*", "[suffix-slot]"], true, never>;
|
|
1045
|
+
static ngAcceptInputType_disabled: unknown;
|
|
1046
|
+
static ngAcceptInputType_fluid: unknown;
|
|
1047
|
+
}
|
|
1048
|
+
export declare const DasarMenuComponent: readonly [typeof DasarMenuLabelSlot, typeof DasarMenuItemTemplate, typeof DasarMenuPrefixSlot, typeof DasarMenuSuffixSlot, typeof DasarMenu];
|
|
1049
|
+
export type DasarTabsRadiusType = ScaleAttributeType$1;
|
|
1050
|
+
export type DasarTabsAppearanceType = 'solid' | 'subtle' | 'outline';
|
|
1051
|
+
export type DasarTabsSizeType = ScaleAttributeType$1;
|
|
1052
|
+
export type DasarTabsSpacingType = 'compact' | 'normal';
|
|
1053
|
+
export interface DasarTabsConfig {
|
|
1054
|
+
appearance?: DasarTabsAppearanceType;
|
|
1055
|
+
radius?: DasarTabsRadiusType;
|
|
1056
|
+
size?: DasarTabsSizeType;
|
|
1057
|
+
spacing?: DasarTabsSpacingType;
|
|
1058
|
+
fluid?: boolean;
|
|
1059
|
+
containerClass?: ClassType;
|
|
1060
|
+
contentClass?: ClassType;
|
|
1061
|
+
listClass?: ClassType;
|
|
1062
|
+
containerStyle?: StyleType;
|
|
1063
|
+
contentStyle?: StyleType;
|
|
1064
|
+
listStyle?: StyleType;
|
|
1065
|
+
scrollLeftIconName?: string;
|
|
1066
|
+
scrollRightIconName?: string;
|
|
1067
|
+
scrollButtonClass?: ClassType;
|
|
1068
|
+
scrollButtonStyle?: StyleType;
|
|
1069
|
+
}
|
|
1070
|
+
export declare class DasarTabItemSlotDirective {
|
|
1071
|
+
templateRef: TemplateRef<any>;
|
|
1072
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1073
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTabItemSlotDirective, never>;
|
|
1074
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTabItemSlotDirective, "[tab-item-slot]", never, {}, {}, never, never, true, never>;
|
|
1075
|
+
}
|
|
1076
|
+
export declare class DasarTabsScrollLeftSlotDirective {
|
|
1077
|
+
templateRef: TemplateRef<any>;
|
|
1078
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1079
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTabsScrollLeftSlotDirective, never>;
|
|
1080
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTabsScrollLeftSlotDirective, "[tabs-scroll-left-slot]", never, {}, {}, never, never, true, never>;
|
|
1081
|
+
}
|
|
1082
|
+
export declare class DasarTabsScrollRightSlotDirective {
|
|
1083
|
+
templateRef: TemplateRef<any>;
|
|
1084
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1085
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTabsScrollRightSlotDirective, never>;
|
|
1086
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarTabsScrollRightSlotDirective, "[tabs-scroll-right-slot]", never, {}, {}, never, never, true, never>;
|
|
1087
|
+
}
|
|
1088
|
+
export declare class DasarTabs implements OnChanges, AfterViewInit {
|
|
1089
|
+
private themeProvider;
|
|
1090
|
+
private themeService;
|
|
1091
|
+
private zone;
|
|
1092
|
+
private cdr;
|
|
1093
|
+
private destroyRef;
|
|
1094
|
+
private platformId;
|
|
1095
|
+
tabItemSlotDirectives: QueryList<DasarTabItemSlotDirective>;
|
|
1096
|
+
scrollLeftSlot?: DasarTabsScrollLeftSlotDirective;
|
|
1097
|
+
scrollRightSlot?: DasarTabsScrollRightSlotDirective;
|
|
1098
|
+
tabsList?: ElementRef<HTMLElement>;
|
|
1099
|
+
appearance: NonNullable<DasarTabsAppearanceType | undefined>;
|
|
1100
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
1101
|
+
size: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
1102
|
+
spacing: NonNullable<DasarTabsSpacingType | undefined>;
|
|
1103
|
+
fluid: NonNullable<boolean | undefined>;
|
|
1104
|
+
containerClass: NonNullable<ClassType> | null | undefined;
|
|
1105
|
+
contentClass: NonNullable<ClassType> | null | undefined;
|
|
1106
|
+
listClass: NonNullable<ClassType> | null | undefined;
|
|
1107
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
1108
|
+
contentStyle: NonNullable<StyleType | undefined> | null;
|
|
1109
|
+
listStyle: NonNullable<StyleType | undefined> | null;
|
|
1110
|
+
scrollLeftIconName: string;
|
|
1111
|
+
scrollRightIconName: string;
|
|
1112
|
+
scrollButtonClass: NonNullable<ClassType> | null | undefined;
|
|
1113
|
+
scrollButtonStyle: NonNullable<StyleType | undefined> | null;
|
|
1114
|
+
activeIndex: number;
|
|
1115
|
+
items: string[];
|
|
1116
|
+
onTabsChange: EventEmitter<number>;
|
|
1117
|
+
onTabsClick: EventEmitter<number>;
|
|
1118
|
+
readonly baseClass = true;
|
|
1119
|
+
readonly overflowing: import("@angular/core").WritableSignal<boolean>;
|
|
1120
|
+
readonly canScrollLeft: import("@angular/core").WritableSignal<boolean>;
|
|
1121
|
+
readonly canScrollRight: import("@angular/core").WritableSignal<boolean>;
|
|
1122
|
+
private sizeObserver;
|
|
1123
|
+
private mutationObserver;
|
|
1124
|
+
private measureRequest;
|
|
1125
|
+
private readonly onScroll;
|
|
1126
|
+
get buttonSize(): DasarButtonSizeType;
|
|
1127
|
+
selectTab(index: number): void;
|
|
1128
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1129
|
+
ngAfterViewInit(): void;
|
|
1130
|
+
updateScrollState(): void;
|
|
1131
|
+
scrollBy(direction: -1 | 1): void;
|
|
1132
|
+
scrollActiveIntoView(): void;
|
|
1133
|
+
private scheduleMeasure;
|
|
1134
|
+
private outside;
|
|
1135
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarTabs, never>;
|
|
1136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarTabs, "dasar-tabs", never, {
|
|
1137
|
+
"appearance": {
|
|
1138
|
+
"alias": "appearance";
|
|
1139
|
+
"required": false;
|
|
1140
|
+
};
|
|
1141
|
+
"radius": {
|
|
1142
|
+
"alias": "radius";
|
|
1143
|
+
"required": false;
|
|
1144
|
+
};
|
|
1145
|
+
"size": {
|
|
1146
|
+
"alias": "size";
|
|
1147
|
+
"required": false;
|
|
1148
|
+
};
|
|
1149
|
+
"spacing": {
|
|
1150
|
+
"alias": "spacing";
|
|
1151
|
+
"required": false;
|
|
1152
|
+
};
|
|
1153
|
+
"fluid": {
|
|
1154
|
+
"alias": "fluid";
|
|
1155
|
+
"required": false;
|
|
1156
|
+
};
|
|
1157
|
+
"containerClass": {
|
|
1158
|
+
"alias": "container-class";
|
|
1159
|
+
"required": false;
|
|
1160
|
+
};
|
|
1161
|
+
"contentClass": {
|
|
1162
|
+
"alias": "content-class";
|
|
1163
|
+
"required": false;
|
|
1164
|
+
};
|
|
1165
|
+
"listClass": {
|
|
1166
|
+
"alias": "list-class";
|
|
1167
|
+
"required": false;
|
|
1168
|
+
};
|
|
1169
|
+
"containerStyle": {
|
|
1170
|
+
"alias": "container-style";
|
|
1171
|
+
"required": false;
|
|
1172
|
+
};
|
|
1173
|
+
"contentStyle": {
|
|
1174
|
+
"alias": "content-style";
|
|
1175
|
+
"required": false;
|
|
1176
|
+
};
|
|
1177
|
+
"listStyle": {
|
|
1178
|
+
"alias": "list-style";
|
|
1179
|
+
"required": false;
|
|
1180
|
+
};
|
|
1181
|
+
"scrollLeftIconName": {
|
|
1182
|
+
"alias": "scroll-left-icon-name";
|
|
1183
|
+
"required": false;
|
|
1184
|
+
};
|
|
1185
|
+
"scrollRightIconName": {
|
|
1186
|
+
"alias": "scroll-right-icon-name";
|
|
1187
|
+
"required": false;
|
|
1188
|
+
};
|
|
1189
|
+
"scrollButtonClass": {
|
|
1190
|
+
"alias": "scroll-button-class";
|
|
1191
|
+
"required": false;
|
|
1192
|
+
};
|
|
1193
|
+
"scrollButtonStyle": {
|
|
1194
|
+
"alias": "scroll-button-style";
|
|
1195
|
+
"required": false;
|
|
1196
|
+
};
|
|
1197
|
+
"activeIndex": {
|
|
1198
|
+
"alias": "active-index";
|
|
1199
|
+
"required": false;
|
|
1200
|
+
};
|
|
1201
|
+
"items": {
|
|
1202
|
+
"alias": "items";
|
|
1203
|
+
"required": false;
|
|
1204
|
+
};
|
|
1205
|
+
}, {
|
|
1206
|
+
"onTabsChange": "onTabsChange";
|
|
1207
|
+
"onTabsClick": "onTabsClick";
|
|
1208
|
+
}, ["scrollLeftSlot", "scrollRightSlot", "tabItemSlotDirectives"], ["*"], true, never>;
|
|
1209
|
+
static ngAcceptInputType_fluid: unknown;
|
|
1210
|
+
}
|
|
1211
|
+
export declare const DasarTabsComponent: readonly [typeof DasarTabs, typeof DasarTabItemSlotDirective, typeof DasarTabsScrollLeftSlotDirective, typeof DasarTabsScrollRightSlotDirective];
|
|
1212
|
+
export type DasarPivotAggregator = 'sum' | 'count' | 'avg' | 'min' | 'max';
|
|
1213
|
+
export type DasarPivotTableAppearance = 'outline' | 'filled' | 'elevated' | 'borderless';
|
|
1214
|
+
export type DasarPivotTableSpacing = 'compact' | 'normal' | 'relaxed';
|
|
1215
|
+
export type DasarPivotTableSize = 'sm' | 'md' | 'lg';
|
|
1216
|
+
export type DasarPivotTableSortDirection = 'asc' | 'desc' | null;
|
|
1217
|
+
export interface DasarPivotTableSortEvent {
|
|
1218
|
+
key: string;
|
|
1219
|
+
direction: DasarPivotTableSortDirection;
|
|
1220
|
+
}
|
|
1221
|
+
export declare class DasarPivotCellTemplate {
|
|
1222
|
+
templateRef: TemplateRef<any>;
|
|
1223
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1224
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotCellTemplate, never>;
|
|
1225
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotCellTemplate, "[pivot-cell-template]", never, {}, {}, never, never, true, never>;
|
|
1226
|
+
}
|
|
1227
|
+
export declare class DasarPivotRowHeaderTemplate {
|
|
1228
|
+
templateRef: TemplateRef<any>;
|
|
1229
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1230
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotRowHeaderTemplate, never>;
|
|
1231
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotRowHeaderTemplate, "[pivot-row-header-template]", never, {}, {}, never, never, true, never>;
|
|
1232
|
+
}
|
|
1233
|
+
export declare class DasarPivotColHeaderTemplate {
|
|
1234
|
+
templateRef: TemplateRef<any>;
|
|
1235
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1236
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotColHeaderTemplate, never>;
|
|
1237
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotColHeaderTemplate, "[pivot-col-header-template]", never, {}, {}, never, never, true, never>;
|
|
1238
|
+
}
|
|
1239
|
+
export declare class DasarPivotTableHeaderSlot {
|
|
1240
|
+
templateRef: TemplateRef<any>;
|
|
1241
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1242
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableHeaderSlot, never>;
|
|
1243
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableHeaderSlot, "[pivot-header-slot]", never, {}, {}, never, never, true, never>;
|
|
1244
|
+
}
|
|
1245
|
+
export declare class DasarPivotTableBodySlot {
|
|
1246
|
+
templateRef: TemplateRef<any>;
|
|
1247
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1248
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableBodySlot, never>;
|
|
1249
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableBodySlot, "[pivot-body-slot]", never, {}, {}, never, never, true, never>;
|
|
1250
|
+
}
|
|
1251
|
+
export declare class DasarPivotTableEmptySlot {
|
|
1252
|
+
templateRef: TemplateRef<any>;
|
|
1253
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1254
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableEmptySlot, never>;
|
|
1255
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableEmptySlot, "[pivot-empty-slot]", never, {}, {}, never, never, true, never>;
|
|
1256
|
+
}
|
|
1257
|
+
export declare class DasarPivotTablePaginationSlot {
|
|
1258
|
+
templateRef: TemplateRef<any>;
|
|
1259
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1260
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTablePaginationSlot, never>;
|
|
1261
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTablePaginationSlot, "[pivot-pagination-slot]", never, {}, {}, never, never, true, never>;
|
|
1262
|
+
}
|
|
1263
|
+
export declare class DasarPivotTableExpandedSlot {
|
|
1264
|
+
templateRef: TemplateRef<any>;
|
|
1265
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1266
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTableExpandedSlot, never>;
|
|
1267
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarPivotTableExpandedSlot, "[pivot-expanded-slot]", never, {}, {}, never, never, true, never>;
|
|
1268
|
+
}
|
|
1269
|
+
export declare class DasarPivotTable implements OnChanges {
|
|
1270
|
+
rowHeaderTemplate?: DasarPivotRowHeaderTemplate;
|
|
1271
|
+
colHeaderTemplate?: DasarPivotColHeaderTemplate;
|
|
1272
|
+
cellTemplate?: DasarPivotCellTemplate;
|
|
1273
|
+
providedHeader?: DasarPivotTableHeaderSlot;
|
|
1274
|
+
providedBody?: DasarPivotTableBodySlot;
|
|
1275
|
+
providedEmpty?: DasarPivotTableEmptySlot;
|
|
1276
|
+
providedPagination?: DasarPivotTablePaginationSlot;
|
|
1277
|
+
providedExpanded?: DasarPivotTableExpandedSlot;
|
|
1278
|
+
data: any[];
|
|
1279
|
+
rowField: string;
|
|
1280
|
+
colField: string;
|
|
1281
|
+
valField: string;
|
|
1282
|
+
aggregator: DasarPivotAggregator;
|
|
1283
|
+
rowLabel: string;
|
|
1284
|
+
colLabel: string;
|
|
1285
|
+
showRowTotals: boolean;
|
|
1286
|
+
showColTotals: boolean;
|
|
1287
|
+
emptyText: string;
|
|
1288
|
+
appearance: DasarPivotTableAppearance;
|
|
1289
|
+
spacing: DasarPivotTableSpacing;
|
|
1290
|
+
size: DasarPivotTableSize;
|
|
1291
|
+
loading: boolean;
|
|
1292
|
+
emptyTitle: string;
|
|
1293
|
+
emptyDescription: string;
|
|
1294
|
+
loadingText: string;
|
|
1295
|
+
sortKey: string | null;
|
|
1296
|
+
sortDirection: DasarPivotTableSortDirection;
|
|
1297
|
+
cellClassFn?: (val: number | null, row: string, col: string) => string | string[] | Record<string, boolean>;
|
|
1298
|
+
cellStyleFn?: (val: number | null, row: string, col: string) => Record<string, string>;
|
|
1299
|
+
rowClick: EventEmitter<{
|
|
1300
|
+
row: any;
|
|
1301
|
+
index: number;
|
|
1302
|
+
event: MouseEvent;
|
|
1303
|
+
}>;
|
|
1304
|
+
rowDblclick: EventEmitter<{
|
|
1305
|
+
row: any;
|
|
1306
|
+
index: number;
|
|
1307
|
+
event: MouseEvent;
|
|
1308
|
+
}>;
|
|
1309
|
+
rowContextMenu: EventEmitter<{
|
|
1310
|
+
row: any;
|
|
1311
|
+
index: number;
|
|
1312
|
+
event: MouseEvent;
|
|
1313
|
+
}>;
|
|
1314
|
+
sortChange: EventEmitter<DasarPivotTableSortEvent>;
|
|
1315
|
+
rowExpandChange: EventEmitter<{
|
|
1316
|
+
row: any;
|
|
1317
|
+
index: number;
|
|
1318
|
+
expanded: boolean;
|
|
1319
|
+
}>;
|
|
1320
|
+
rowHeaders: string[];
|
|
1321
|
+
colHeaders: string[];
|
|
1322
|
+
matrix: Record<string, Record<string, number | null>>;
|
|
1323
|
+
rowTotals: Record<string, number | null>;
|
|
1324
|
+
colTotals: Record<string, number | null>;
|
|
1325
|
+
grandTotal: number | null;
|
|
1326
|
+
expandedRows: Set<string>;
|
|
1327
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1328
|
+
private buildPivotMatrix;
|
|
1329
|
+
private aggregate;
|
|
1330
|
+
private resetState;
|
|
1331
|
+
handleRowClick(row: string, index: number, event: MouseEvent): void;
|
|
1332
|
+
handleRowDblclick(row: string, index: number, event: MouseEvent): void;
|
|
1333
|
+
handleRowContextMenu(row: string, index: number, event: MouseEvent): void;
|
|
1334
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarPivotTable, never>;
|
|
1335
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarPivotTable, "dasar-pivot-table", never, {
|
|
1336
|
+
"data": {
|
|
1337
|
+
"alias": "data";
|
|
1338
|
+
"required": true;
|
|
1339
|
+
};
|
|
1340
|
+
"rowField": {
|
|
1341
|
+
"alias": "rowField";
|
|
1342
|
+
"required": true;
|
|
1343
|
+
};
|
|
1344
|
+
"colField": {
|
|
1345
|
+
"alias": "colField";
|
|
1346
|
+
"required": true;
|
|
1347
|
+
};
|
|
1348
|
+
"valField": {
|
|
1349
|
+
"alias": "valField";
|
|
1350
|
+
"required": false;
|
|
1351
|
+
};
|
|
1352
|
+
"aggregator": {
|
|
1353
|
+
"alias": "aggregator";
|
|
1354
|
+
"required": false;
|
|
1355
|
+
};
|
|
1356
|
+
"rowLabel": {
|
|
1357
|
+
"alias": "rowLabel";
|
|
1358
|
+
"required": false;
|
|
1359
|
+
};
|
|
1360
|
+
"colLabel": {
|
|
1361
|
+
"alias": "colLabel";
|
|
1362
|
+
"required": false;
|
|
1363
|
+
};
|
|
1364
|
+
"showRowTotals": {
|
|
1365
|
+
"alias": "showRowTotals";
|
|
1366
|
+
"required": false;
|
|
1367
|
+
};
|
|
1368
|
+
"showColTotals": {
|
|
1369
|
+
"alias": "showColTotals";
|
|
1370
|
+
"required": false;
|
|
1371
|
+
};
|
|
1372
|
+
"emptyText": {
|
|
1373
|
+
"alias": "emptyText";
|
|
1374
|
+
"required": false;
|
|
1375
|
+
};
|
|
1376
|
+
"appearance": {
|
|
1377
|
+
"alias": "appearance";
|
|
1378
|
+
"required": false;
|
|
1379
|
+
};
|
|
1380
|
+
"spacing": {
|
|
1381
|
+
"alias": "spacing";
|
|
1382
|
+
"required": false;
|
|
1383
|
+
};
|
|
1384
|
+
"size": {
|
|
1385
|
+
"alias": "size";
|
|
1386
|
+
"required": false;
|
|
1387
|
+
};
|
|
1388
|
+
"loading": {
|
|
1389
|
+
"alias": "loading";
|
|
1390
|
+
"required": false;
|
|
1391
|
+
};
|
|
1392
|
+
"emptyTitle": {
|
|
1393
|
+
"alias": "emptyTitle";
|
|
1394
|
+
"required": false;
|
|
1395
|
+
};
|
|
1396
|
+
"emptyDescription": {
|
|
1397
|
+
"alias": "emptyDescription";
|
|
1398
|
+
"required": false;
|
|
1399
|
+
};
|
|
1400
|
+
"loadingText": {
|
|
1401
|
+
"alias": "loadingText";
|
|
1402
|
+
"required": false;
|
|
1403
|
+
};
|
|
1404
|
+
"sortKey": {
|
|
1405
|
+
"alias": "sortKey";
|
|
1406
|
+
"required": false;
|
|
1407
|
+
};
|
|
1408
|
+
"sortDirection": {
|
|
1409
|
+
"alias": "sortDirection";
|
|
1410
|
+
"required": false;
|
|
1411
|
+
};
|
|
1412
|
+
"cellClassFn": {
|
|
1413
|
+
"alias": "cellClassFn";
|
|
1414
|
+
"required": false;
|
|
1415
|
+
};
|
|
1416
|
+
"cellStyleFn": {
|
|
1417
|
+
"alias": "cellStyleFn";
|
|
1418
|
+
"required": false;
|
|
1419
|
+
};
|
|
1420
|
+
}, {
|
|
1421
|
+
"rowClick": "rowClick";
|
|
1422
|
+
"rowDblclick": "rowDblclick";
|
|
1423
|
+
"rowContextMenu": "rowContextMenu";
|
|
1424
|
+
"sortChange": "sortChange";
|
|
1425
|
+
"rowExpandChange": "rowExpandChange";
|
|
1426
|
+
}, ["rowHeaderTemplate", "colHeaderTemplate", "cellTemplate", "providedHeader", "providedBody", "providedEmpty", "providedPagination", "providedExpanded"], never, true, never>;
|
|
1427
|
+
}
|
|
1428
|
+
export declare const DasarPivotTableComponent: readonly [typeof DasarPivotTable, typeof DasarPivotCellTemplate, typeof DasarPivotRowHeaderTemplate, typeof DasarPivotColHeaderTemplate, typeof DasarPivotTableHeaderSlot, typeof DasarPivotTableBodySlot, typeof DasarPivotTableEmptySlot, typeof DasarPivotTablePaginationSlot, typeof DasarPivotTableExpandedSlot];
|
|
1429
|
+
export type DasarDatepickerPlacement = DasarPanelPlacement;
|
|
1430
|
+
export type DasarDatepickerSize = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
1431
|
+
export type DasarDatepickerAppearance = 'outline' | 'filled' | 'subtle';
|
|
1432
|
+
export type DasarDatepickerRadius = ScaleAttributeType$1;
|
|
1433
|
+
export type DasarDatepickerType = 'date';
|
|
1434
|
+
export interface DasarDatepickerConfig {
|
|
1435
|
+
fullWidth?: boolean;
|
|
1436
|
+
clearable?: boolean;
|
|
1437
|
+
disabled?: boolean;
|
|
1438
|
+
fluid?: boolean;
|
|
1439
|
+
error?: boolean;
|
|
1440
|
+
displayFormat?: string;
|
|
1441
|
+
valueFormat?: string;
|
|
1442
|
+
placement?: DasarDatepickerPlacement;
|
|
1443
|
+
appearance?: DasarDatepickerAppearance;
|
|
1444
|
+
extraLabel?: string;
|
|
1445
|
+
placeholder?: string;
|
|
1446
|
+
radius?: DasarDatepickerRadius;
|
|
1447
|
+
type?: DasarDatepickerType;
|
|
1448
|
+
size?: DasarDatepickerSize;
|
|
1449
|
+
locale?: string;
|
|
1450
|
+
label?: string;
|
|
1451
|
+
hint?: string;
|
|
1452
|
+
containerClass?: ClassType;
|
|
1453
|
+
wrapperClass?: ClassType;
|
|
1454
|
+
triggerClass?: ClassType;
|
|
1455
|
+
dropdownClass?: ClassType;
|
|
1456
|
+
labelWrapperClass?: ClassType;
|
|
1457
|
+
hintWrapperClass?: ClassType;
|
|
1458
|
+
wrapperStyle?: StyleType;
|
|
1459
|
+
triggerStyle?: StyleType;
|
|
1460
|
+
labelWrapperStyle?: StyleType;
|
|
1461
|
+
hintWrapperStyle?: StyleType;
|
|
1462
|
+
containerStyle?: StyleType;
|
|
1463
|
+
dropdownStyle?: StyleType;
|
|
1464
|
+
}
|
|
1465
|
+
export declare class DasarDatepickerPrefixSlot {
|
|
1466
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerPrefixSlot, never>;
|
|
1467
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerPrefixSlot, "[prefix-slot]", never, {}, {}, never, never, true, never>;
|
|
1468
|
+
}
|
|
1469
|
+
export declare class DasarDatepickerLabelSlot {
|
|
1470
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerLabelSlot, never>;
|
|
1471
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerLabelSlot, "[label-slot]", never, {}, {}, never, never, true, never>;
|
|
1472
|
+
}
|
|
1473
|
+
export declare class DasarDatepickerExtraLabelSlot {
|
|
1474
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerExtraLabelSlot, never>;
|
|
1475
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerExtraLabelSlot, "[extra-label-slot]", never, {}, {}, never, never, true, never>;
|
|
1476
|
+
}
|
|
1477
|
+
export declare class DasarDatepickerExtraHeaderSlot {
|
|
1478
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerExtraHeaderSlot, never>;
|
|
1479
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerExtraHeaderSlot, "[extra-header-slot]", never, {}, {}, never, never, true, never>;
|
|
1480
|
+
}
|
|
1481
|
+
export declare class DasarDatepickerExtraFooterSlot {
|
|
1482
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerExtraFooterSlot, never>;
|
|
1483
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerExtraFooterSlot, "[extra-footer-slot]", never, {}, {}, never, never, true, never>;
|
|
1484
|
+
}
|
|
1485
|
+
export declare class DasarDatepickerHintSlot {
|
|
1486
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepickerHintSlot, never>;
|
|
1487
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDatepickerHintSlot, "[hint-slot]", never, {}, {}, never, never, true, never>;
|
|
1488
|
+
}
|
|
1489
|
+
export declare class DasarDatepicker implements OnInit, ControlValueAccessor {
|
|
1490
|
+
private themeProvider;
|
|
1491
|
+
private themeService;
|
|
1492
|
+
private cdr;
|
|
1493
|
+
private elementRef;
|
|
1494
|
+
extraHeaderSlot?: DasarDatepickerExtraHeaderSlot;
|
|
1495
|
+
extraFooterSlot?: DasarDatepickerExtraFooterSlot;
|
|
1496
|
+
extraLabelSlot?: DasarDatepickerExtraLabelSlot;
|
|
1497
|
+
labelSlot?: DasarDatepickerLabelSlot;
|
|
1498
|
+
hintSlot?: DasarDatepickerHintSlot;
|
|
1499
|
+
prefixSlot?: DasarDatepickerPrefixSlot;
|
|
1500
|
+
triggerEl?: ElementRef<HTMLElement>;
|
|
1501
|
+
dropdownEl?: ElementRef<HTMLElement>;
|
|
1502
|
+
displayFormat: string;
|
|
1503
|
+
valueFormat: string;
|
|
1504
|
+
locale: string;
|
|
1505
|
+
private _placement;
|
|
1506
|
+
set placement(value: DasarDatepickerPlacement);
|
|
1507
|
+
get placement(): DasarDatepickerPlacement;
|
|
1508
|
+
currentPlacement: DasarDatepickerPlacement;
|
|
1509
|
+
appearance: NonNullable<DasarDatepickerAppearance | undefined>;
|
|
1510
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
1511
|
+
type: "date";
|
|
1512
|
+
size: NonNullable<DasarDatepickerSize | undefined>;
|
|
1513
|
+
placeholder: string;
|
|
1514
|
+
label: string | undefined;
|
|
1515
|
+
extraLabel: string | undefined;
|
|
1516
|
+
hint: string | undefined;
|
|
1517
|
+
containerClass: NonNullable<ClassType> | null;
|
|
1518
|
+
wrapperClass: NonNullable<ClassType> | null;
|
|
1519
|
+
triggerClass: NonNullable<ClassType> | null;
|
|
1520
|
+
dropdownClass: NonNullable<ClassType> | null;
|
|
1521
|
+
labelWrapperClass: NonNullable<ClassType> | null;
|
|
1522
|
+
hintWrapperClass: NonNullable<ClassType> | null;
|
|
1523
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
1524
|
+
wrapperStyle: NonNullable<StyleType | undefined> | null;
|
|
1525
|
+
triggerStyle: NonNullable<StyleType | undefined> | null;
|
|
1526
|
+
dropdownStyle: NonNullable<StyleType | undefined> | null;
|
|
1527
|
+
labelWrapperStyle: NonNullable<StyleType | undefined> | null;
|
|
1528
|
+
hintWrapperStyle: NonNullable<StyleType | undefined> | null;
|
|
1529
|
+
fullWidth: NonNullable<boolean | undefined>;
|
|
1530
|
+
clearable: NonNullable<boolean | undefined>;
|
|
1531
|
+
disabled: NonNullable<boolean | undefined>;
|
|
1532
|
+
fluid: NonNullable<boolean | undefined>;
|
|
1533
|
+
error: NonNullable<boolean | undefined>;
|
|
1534
|
+
valueChange: EventEmitter<any>;
|
|
1535
|
+
onDateSelected: EventEmitter<any>;
|
|
1536
|
+
onInitialized: EventEmitter<void>;
|
|
1537
|
+
onClickIn: EventEmitter<Event>;
|
|
1538
|
+
onClickOut: EventEmitter<Event>;
|
|
1539
|
+
onNextMonthClick: EventEmitter<void>;
|
|
1540
|
+
onPrevMonthClick: EventEmitter<void>;
|
|
1541
|
+
onNextYearClick: EventEmitter<void>;
|
|
1542
|
+
onPrevYearClick: EventEmitter<void>;
|
|
1543
|
+
onCleared: EventEmitter<void>;
|
|
1544
|
+
onCouched: EventEmitter<void>;
|
|
1545
|
+
onFocus: EventEmitter<void | Event>;
|
|
1546
|
+
onBlur: EventEmitter<void | Event>;
|
|
1547
|
+
readonly baseClass = true;
|
|
1548
|
+
get hasFullWidth(): boolean;
|
|
1549
|
+
get isDisabled(): boolean;
|
|
1550
|
+
private _value;
|
|
1551
|
+
internalDate: Date | null;
|
|
1552
|
+
isOpen: boolean;
|
|
1553
|
+
private isFocused;
|
|
1554
|
+
get value(): any;
|
|
1555
|
+
set value(val: any);
|
|
1556
|
+
onTouched: any;
|
|
1557
|
+
onChange: any;
|
|
1558
|
+
ngOnInit(): void;
|
|
1559
|
+
get hasLabelRow(): boolean;
|
|
1560
|
+
get hasHintRow(): boolean;
|
|
1561
|
+
get formattedDisplay(): string;
|
|
1562
|
+
writeValue(value: any): void;
|
|
1563
|
+
registerOnChange(fn: any): void;
|
|
1564
|
+
registerOnTouched(fn: any): void;
|
|
1565
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1566
|
+
onClickOutside(event: Event): void;
|
|
1567
|
+
private syncInternalDate;
|
|
1568
|
+
private setFocus;
|
|
1569
|
+
get iconSize(): number;
|
|
1570
|
+
toggleDropdown(event: Event): void;
|
|
1571
|
+
onViewportChange(): void;
|
|
1572
|
+
clearValue(event: Event): void;
|
|
1573
|
+
onCalendarSelect(date: Date | null): void;
|
|
1574
|
+
private formatReturnValue;
|
|
1575
|
+
private calculateSmartPlacement;
|
|
1576
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDatepicker, never>;
|
|
1577
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarDatepicker, "dasar-datepicker", never, {
|
|
1578
|
+
"displayFormat": {
|
|
1579
|
+
"alias": "display-format";
|
|
1580
|
+
"required": false;
|
|
1581
|
+
};
|
|
1582
|
+
"valueFormat": {
|
|
1583
|
+
"alias": "value-format";
|
|
1584
|
+
"required": false;
|
|
1585
|
+
};
|
|
1586
|
+
"locale": {
|
|
1587
|
+
"alias": "locale";
|
|
1588
|
+
"required": false;
|
|
1589
|
+
};
|
|
1590
|
+
"placement": {
|
|
1591
|
+
"alias": "placement";
|
|
1592
|
+
"required": false;
|
|
1593
|
+
};
|
|
1594
|
+
"appearance": {
|
|
1595
|
+
"alias": "appearance";
|
|
1596
|
+
"required": false;
|
|
1597
|
+
};
|
|
1598
|
+
"radius": {
|
|
1599
|
+
"alias": "radius";
|
|
1600
|
+
"required": false;
|
|
1601
|
+
};
|
|
1602
|
+
"type": {
|
|
1603
|
+
"alias": "type";
|
|
1604
|
+
"required": false;
|
|
1605
|
+
};
|
|
1606
|
+
"size": {
|
|
1607
|
+
"alias": "size";
|
|
1608
|
+
"required": false;
|
|
1609
|
+
};
|
|
1610
|
+
"placeholder": {
|
|
1611
|
+
"alias": "placeholder";
|
|
1612
|
+
"required": false;
|
|
1613
|
+
};
|
|
1614
|
+
"label": {
|
|
1615
|
+
"alias": "label";
|
|
1616
|
+
"required": false;
|
|
1617
|
+
};
|
|
1618
|
+
"extraLabel": {
|
|
1619
|
+
"alias": "extra-label";
|
|
1620
|
+
"required": false;
|
|
1621
|
+
};
|
|
1622
|
+
"hint": {
|
|
1623
|
+
"alias": "hint";
|
|
1624
|
+
"required": false;
|
|
1625
|
+
};
|
|
1626
|
+
"containerClass": {
|
|
1627
|
+
"alias": "container-class";
|
|
1628
|
+
"required": false;
|
|
1629
|
+
};
|
|
1630
|
+
"wrapperClass": {
|
|
1631
|
+
"alias": "wrapper-class";
|
|
1632
|
+
"required": false;
|
|
1633
|
+
};
|
|
1634
|
+
"triggerClass": {
|
|
1635
|
+
"alias": "trigger-class";
|
|
1636
|
+
"required": false;
|
|
1637
|
+
};
|
|
1638
|
+
"dropdownClass": {
|
|
1639
|
+
"alias": "dropdown-class";
|
|
1640
|
+
"required": false;
|
|
1641
|
+
};
|
|
1642
|
+
"labelWrapperClass": {
|
|
1643
|
+
"alias": "label-wrapper-class";
|
|
1644
|
+
"required": false;
|
|
1645
|
+
};
|
|
1646
|
+
"hintWrapperClass": {
|
|
1647
|
+
"alias": "hint-wrapper-class";
|
|
1648
|
+
"required": false;
|
|
1649
|
+
};
|
|
1650
|
+
"containerStyle": {
|
|
1651
|
+
"alias": "container-style";
|
|
1652
|
+
"required": false;
|
|
1653
|
+
};
|
|
1654
|
+
"wrapperStyle": {
|
|
1655
|
+
"alias": "wrapper-style";
|
|
1656
|
+
"required": false;
|
|
1657
|
+
};
|
|
1658
|
+
"triggerStyle": {
|
|
1659
|
+
"alias": "trigger-style";
|
|
1660
|
+
"required": false;
|
|
1661
|
+
};
|
|
1662
|
+
"dropdownStyle": {
|
|
1663
|
+
"alias": "dropdown-style";
|
|
1664
|
+
"required": false;
|
|
1665
|
+
};
|
|
1666
|
+
"labelWrapperStyle": {
|
|
1667
|
+
"alias": "label-wrapper-style";
|
|
1668
|
+
"required": false;
|
|
1669
|
+
};
|
|
1670
|
+
"hintWrapperStyle": {
|
|
1671
|
+
"alias": "hint-wrapper-style";
|
|
1672
|
+
"required": false;
|
|
1673
|
+
};
|
|
1674
|
+
"fullWidth": {
|
|
1675
|
+
"alias": "full-width";
|
|
1676
|
+
"required": false;
|
|
1677
|
+
};
|
|
1678
|
+
"clearable": {
|
|
1679
|
+
"alias": "clearable";
|
|
1680
|
+
"required": false;
|
|
1681
|
+
};
|
|
1682
|
+
"disabled": {
|
|
1683
|
+
"alias": "disabled";
|
|
1684
|
+
"required": false;
|
|
1685
|
+
};
|
|
1686
|
+
"fluid": {
|
|
1687
|
+
"alias": "fluid";
|
|
1688
|
+
"required": false;
|
|
1689
|
+
};
|
|
1690
|
+
"error": {
|
|
1691
|
+
"alias": "error";
|
|
1692
|
+
"required": false;
|
|
1693
|
+
};
|
|
1694
|
+
"value": {
|
|
1695
|
+
"alias": "value";
|
|
1696
|
+
"required": false;
|
|
1697
|
+
};
|
|
1698
|
+
}, {
|
|
1699
|
+
"valueChange": "valueChange";
|
|
1700
|
+
"onDateSelected": "onDateSelected";
|
|
1701
|
+
"onInitialized": "onInitialized";
|
|
1702
|
+
"onClickIn": "onClickIn";
|
|
1703
|
+
"onClickOut": "onClickOut";
|
|
1704
|
+
"onNextMonthClick": "onNextMonthClick";
|
|
1705
|
+
"onPrevMonthClick": "onPrevMonthClick";
|
|
1706
|
+
"onNextYearClick": "onNextYearClick";
|
|
1707
|
+
"onPrevYearClick": "onPrevYearClick";
|
|
1708
|
+
"onCleared": "onCleared";
|
|
1709
|
+
"onCouched": "onCouched";
|
|
1710
|
+
"onFocus": "onFocus";
|
|
1711
|
+
"onBlur": "onBlur";
|
|
1712
|
+
}, ["extraHeaderSlot", "extraFooterSlot", "extraLabelSlot", "labelSlot", "hintSlot", "prefixSlot"], ["[label-slot]", "[extra-label-slot]", "[prefix-slot]", "[extra-footer-slot]", "[hint-slot]"], true, never>;
|
|
1713
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
1714
|
+
static ngAcceptInputType_clearable: unknown;
|
|
1715
|
+
static ngAcceptInputType_disabled: unknown;
|
|
1716
|
+
static ngAcceptInputType_fluid: unknown;
|
|
1717
|
+
static ngAcceptInputType_error: unknown;
|
|
1718
|
+
}
|
|
1719
|
+
export declare const DasarDatepickerComponent: readonly [typeof DasarDatepicker, typeof DasarDatepickerLabelSlot, typeof DasarDatepickerExtraLabelSlot, typeof DasarDatepickerExtraHeaderSlot, typeof DasarDatepickerExtraFooterSlot, typeof DasarDatepickerHintSlot, typeof DasarDatepickerPrefixSlot];
|
|
1720
|
+
export type DasarCalendarSizeType = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
1721
|
+
export type DasarCalendarAppearance = 'outline' | 'borderless';
|
|
1722
|
+
export type DasarCalendarVariant = 'dashboard' | 'dropdown';
|
|
1723
|
+
export type DasarCalendarRadius = ScaleAttributeType$1;
|
|
1724
|
+
export interface DasarCalendarConfig {
|
|
1725
|
+
appearance?: 'outline' | 'borderless';
|
|
1726
|
+
variant?: 'dashboard' | 'dropdown';
|
|
1727
|
+
size?: DasarCalendarSizeType;
|
|
1728
|
+
radius?: DasarCalendarRadius;
|
|
1729
|
+
containerStyle?: StyleType;
|
|
1730
|
+
containerClass?: ClassType;
|
|
1731
|
+
headerClass?: ClassType;
|
|
1732
|
+
headerStyle?: StyleType;
|
|
1733
|
+
hideFullDate?: boolean;
|
|
1734
|
+
weekdayFormat?: string;
|
|
1735
|
+
headerFormat?: string;
|
|
1736
|
+
valueFormat?: string;
|
|
1737
|
+
hideHeader?: boolean;
|
|
1738
|
+
fullWidth?: boolean;
|
|
1739
|
+
disabled?: boolean;
|
|
1740
|
+
locale?: string;
|
|
1741
|
+
}
|
|
1742
|
+
interface CalendarDay {
|
|
1743
|
+
isCurrentMonth: boolean;
|
|
1744
|
+
weekdayStr?: string;
|
|
1745
|
+
fullDateStr: string;
|
|
1746
|
+
isSelected: boolean;
|
|
1747
|
+
dayNumber: number;
|
|
1748
|
+
isToday: boolean;
|
|
1749
|
+
date: Date;
|
|
1750
|
+
}
|
|
1751
|
+
export declare class DasarCalendarHeaderTemplate {
|
|
1752
|
+
templateRef: TemplateRef<any>;
|
|
1753
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1754
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarHeaderTemplate, never>;
|
|
1755
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarHeaderTemplate, "[calendar-header-template]", never, {}, {}, never, never, true, never>;
|
|
1756
|
+
}
|
|
1757
|
+
export declare class DasarCalendarPrevYearTemplate {
|
|
1758
|
+
templateRef: TemplateRef<any>;
|
|
1759
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1760
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarPrevYearTemplate, never>;
|
|
1761
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarPrevYearTemplate, "[calendar-prev-year-template]", never, {}, {}, never, never, true, never>;
|
|
1762
|
+
}
|
|
1763
|
+
export declare class DasarCalendarPrevMonthTemplate {
|
|
1764
|
+
templateRef: TemplateRef<any>;
|
|
1765
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1766
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarPrevMonthTemplate, never>;
|
|
1767
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarPrevMonthTemplate, "[calendar-prev-month-template]", never, {}, {}, never, never, true, never>;
|
|
1768
|
+
}
|
|
1769
|
+
export declare class DasarCalendarTodayTemplate {
|
|
1770
|
+
templateRef: TemplateRef<any>;
|
|
1771
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1772
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarTodayTemplate, never>;
|
|
1773
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarTodayTemplate, "[calendar-today-template]", never, {}, {}, never, never, true, never>;
|
|
1774
|
+
}
|
|
1775
|
+
export declare class DasarCalendarNextMonthTemplate {
|
|
1776
|
+
templateRef: TemplateRef<any>;
|
|
1777
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1778
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarNextMonthTemplate, never>;
|
|
1779
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarNextMonthTemplate, "[calendar-next-month-template]", never, {}, {}, never, never, true, never>;
|
|
1780
|
+
}
|
|
1781
|
+
export declare class DasarCalendarNextYearTemplate {
|
|
1782
|
+
templateRef: TemplateRef<any>;
|
|
1783
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1784
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarNextYearTemplate, never>;
|
|
1785
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarNextYearTemplate, "[calendar-next-year-template]", never, {}, {}, never, never, true, never>;
|
|
1786
|
+
}
|
|
1787
|
+
export declare class DasarCalendarFooterSlot {
|
|
1788
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendarFooterSlot, never>;
|
|
1789
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCalendarFooterSlot, "[calendar-footer-slot]", never, {}, {}, never, never, true, never>;
|
|
1790
|
+
}
|
|
1791
|
+
export declare class DasarCalendar implements OnInit, OnChanges, ControlValueAccessor {
|
|
1792
|
+
prevMonthTemplate?: DasarCalendarPrevMonthTemplate;
|
|
1793
|
+
nextMonthTemplate?: DasarCalendarNextMonthTemplate;
|
|
1794
|
+
prevYearTemplate?: DasarCalendarPrevYearTemplate;
|
|
1795
|
+
nextYearTemplate?: DasarCalendarNextYearTemplate;
|
|
1796
|
+
headerTemplate?: DasarCalendarHeaderTemplate;
|
|
1797
|
+
todayTemplate?: DasarCalendarTodayTemplate;
|
|
1798
|
+
footerSlot?: DasarCalendarFooterSlot;
|
|
1799
|
+
private themeProvider;
|
|
1800
|
+
private themeService;
|
|
1801
|
+
headerFormat: string;
|
|
1802
|
+
valueFormat: string;
|
|
1803
|
+
size: NonNullable<import("dasar-ui").DasarSelectSizeType | undefined>;
|
|
1804
|
+
weekdayFormat: string;
|
|
1805
|
+
locale: string;
|
|
1806
|
+
appearance: NonNullable<"outline" | "borderless" | undefined>;
|
|
1807
|
+
variant: NonNullable<"dashboard" | "dropdown" | undefined>;
|
|
1808
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
1809
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
1810
|
+
containerClass: NonNullable<ClassType> | null;
|
|
1811
|
+
headerClass: NonNullable<ClassType> | null;
|
|
1812
|
+
headerStyle: NonNullable<StyleType | undefined> | null;
|
|
1813
|
+
disabled: NonNullable<boolean | undefined>;
|
|
1814
|
+
hideHeader: NonNullable<boolean | undefined>;
|
|
1815
|
+
fullWidth: NonNullable<boolean | undefined>;
|
|
1816
|
+
hideFullDate: NonNullable<boolean | undefined>;
|
|
1817
|
+
onMonthChange: EventEmitter<Date>;
|
|
1818
|
+
onYearChange: EventEmitter<Date>;
|
|
1819
|
+
onPrevMonthClick: EventEmitter<Date>;
|
|
1820
|
+
onNextMonthClick: EventEmitter<Date>;
|
|
1821
|
+
onPrevYearClick: EventEmitter<Date>;
|
|
1822
|
+
onNextYearClick: EventEmitter<Date>;
|
|
1823
|
+
onTodayClick: EventEmitter<Date>;
|
|
1824
|
+
readonly baseClass = true;
|
|
1825
|
+
get hasFullWidth(): boolean;
|
|
1826
|
+
private _value;
|
|
1827
|
+
private cdr;
|
|
1828
|
+
weekdays: string[];
|
|
1829
|
+
viewMode: 'days' | 'months' | 'years';
|
|
1830
|
+
currentViewDate: Date;
|
|
1831
|
+
calendarDays: CalendarDay[];
|
|
1832
|
+
onTouched: any;
|
|
1833
|
+
onChange: any;
|
|
1834
|
+
get value(): Date | null;
|
|
1835
|
+
set value(val: Date | null | string | number);
|
|
1836
|
+
valueChange: EventEmitter<Date | null>;
|
|
1837
|
+
ngOnInit(): void;
|
|
1838
|
+
ngOnChanges(): void;
|
|
1839
|
+
get currentMonthYear(): string;
|
|
1840
|
+
get monthsList(): {
|
|
1841
|
+
name: string;
|
|
1842
|
+
index: number;
|
|
1843
|
+
}[];
|
|
1844
|
+
get yearsList(): number[];
|
|
1845
|
+
get localizedDropdownWeekdays(): string[];
|
|
1846
|
+
toggleViewMode(): void;
|
|
1847
|
+
selectMonth(monthIndex: number, event: Event): void;
|
|
1848
|
+
selectYear(year: number, event: Event): void;
|
|
1849
|
+
writeValue(value: any): void;
|
|
1850
|
+
registerOnChange(fn: any): void;
|
|
1851
|
+
registerOnTouched(fn: any): void;
|
|
1852
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1853
|
+
getTimeSafe(date: Date | null): number | null;
|
|
1854
|
+
changeMonth(offset: number, event?: Event): void;
|
|
1855
|
+
changeYear(offset: number, event?: Event): void;
|
|
1856
|
+
goToToday(event?: Event): void;
|
|
1857
|
+
selectDate(day: CalendarDay, event: Event): void;
|
|
1858
|
+
generateCalendar(): void;
|
|
1859
|
+
private createCalendarDay;
|
|
1860
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCalendar, never>;
|
|
1861
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarCalendar, "dasar-calendar", never, {
|
|
1862
|
+
"headerFormat": {
|
|
1863
|
+
"alias": "header-format";
|
|
1864
|
+
"required": false;
|
|
1865
|
+
};
|
|
1866
|
+
"valueFormat": {
|
|
1867
|
+
"alias": "value-format";
|
|
1868
|
+
"required": false;
|
|
1869
|
+
};
|
|
1870
|
+
"size": {
|
|
1871
|
+
"alias": "size";
|
|
1872
|
+
"required": false;
|
|
1873
|
+
};
|
|
1874
|
+
"weekdayFormat": {
|
|
1875
|
+
"alias": "weekday-format";
|
|
1876
|
+
"required": false;
|
|
1877
|
+
};
|
|
1878
|
+
"locale": {
|
|
1879
|
+
"alias": "locale";
|
|
1880
|
+
"required": false;
|
|
1881
|
+
};
|
|
1882
|
+
"appearance": {
|
|
1883
|
+
"alias": "appearance";
|
|
1884
|
+
"required": false;
|
|
1885
|
+
};
|
|
1886
|
+
"variant": {
|
|
1887
|
+
"alias": "variant";
|
|
1888
|
+
"required": false;
|
|
1889
|
+
};
|
|
1890
|
+
"radius": {
|
|
1891
|
+
"alias": "radius";
|
|
1892
|
+
"required": false;
|
|
1893
|
+
};
|
|
1894
|
+
"containerStyle": {
|
|
1895
|
+
"alias": "container-style";
|
|
1896
|
+
"required": false;
|
|
1897
|
+
};
|
|
1898
|
+
"containerClass": {
|
|
1899
|
+
"alias": "container-class";
|
|
1900
|
+
"required": false;
|
|
1901
|
+
};
|
|
1902
|
+
"headerClass": {
|
|
1903
|
+
"alias": "header-class";
|
|
1904
|
+
"required": false;
|
|
1905
|
+
};
|
|
1906
|
+
"headerStyle": {
|
|
1907
|
+
"alias": "header-style";
|
|
1908
|
+
"required": false;
|
|
1909
|
+
};
|
|
1910
|
+
"disabled": {
|
|
1911
|
+
"alias": "disabled";
|
|
1912
|
+
"required": false;
|
|
1913
|
+
};
|
|
1914
|
+
"hideHeader": {
|
|
1915
|
+
"alias": "hide-header";
|
|
1916
|
+
"required": false;
|
|
1917
|
+
};
|
|
1918
|
+
"fullWidth": {
|
|
1919
|
+
"alias": "full-width";
|
|
1920
|
+
"required": false;
|
|
1921
|
+
};
|
|
1922
|
+
"hideFullDate": {
|
|
1923
|
+
"alias": "hide-full-date";
|
|
1924
|
+
"required": false;
|
|
1925
|
+
};
|
|
1926
|
+
"value": {
|
|
1927
|
+
"alias": "value";
|
|
1928
|
+
"required": false;
|
|
1929
|
+
};
|
|
1930
|
+
}, {
|
|
1931
|
+
"onMonthChange": "onMonthChange";
|
|
1932
|
+
"onYearChange": "onYearChange";
|
|
1933
|
+
"onPrevMonthClick": "onPrevMonthClick";
|
|
1934
|
+
"onNextMonthClick": "onNextMonthClick";
|
|
1935
|
+
"onPrevYearClick": "onPrevYearClick";
|
|
1936
|
+
"onNextYearClick": "onNextYearClick";
|
|
1937
|
+
"onTodayClick": "onTodayClick";
|
|
1938
|
+
"valueChange": "valueChange";
|
|
1939
|
+
}, ["prevMonthTemplate", "nextMonthTemplate", "prevYearTemplate", "nextYearTemplate", "headerTemplate", "todayTemplate", "footerSlot"], ["[calendar-footer-slot]"], true, never>;
|
|
1940
|
+
static ngAcceptInputType_disabled: unknown;
|
|
1941
|
+
static ngAcceptInputType_hideHeader: unknown;
|
|
1942
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
1943
|
+
static ngAcceptInputType_hideFullDate: unknown;
|
|
1944
|
+
}
|
|
1945
|
+
export declare const DasarCalendarComponent: readonly [typeof DasarCalendar, typeof DasarCalendarFooterSlot, typeof DasarCalendarHeaderTemplate, typeof DasarCalendarPrevYearTemplate, typeof DasarCalendarPrevMonthTemplate, typeof DasarCalendarTodayTemplate, typeof DasarCalendarNextMonthTemplate, typeof DasarCalendarNextYearTemplate];
|
|
1946
|
+
export type DasarChipAppearanceType = DasarButtonAppearanceType;
|
|
1947
|
+
export type DasarChipVariantType = DasarButtonVariantType;
|
|
1948
|
+
export interface DasarChipConfig {
|
|
1949
|
+
closeIconName?: string;
|
|
1950
|
+
appearance?: DasarChipAppearanceType;
|
|
1951
|
+
variant?: DasarChipVariantType;
|
|
1952
|
+
iconName?: string;
|
|
1953
|
+
radius?: DasarButtonRadiusType;
|
|
1954
|
+
size?: DasarButtonSizeType;
|
|
1955
|
+
label?: string;
|
|
1956
|
+
removable?: boolean;
|
|
1957
|
+
disabled?: boolean;
|
|
1958
|
+
fluid?: boolean;
|
|
1959
|
+
containerStyle?: StyleType;
|
|
1960
|
+
contentStyle?: StyleType;
|
|
1961
|
+
labelStyle?: StyleType;
|
|
1962
|
+
containerClass?: ClassType;
|
|
1963
|
+
contentClass?: ClassType;
|
|
1964
|
+
labelClass?: ClassType;
|
|
1965
|
+
}
|
|
1966
|
+
export declare class DasarChipLabelSlot {
|
|
1967
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarChipLabelSlot, never>;
|
|
1968
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarChipLabelSlot, "[chip-label-slot]", never, {}, {}, never, never, true, never>;
|
|
1969
|
+
}
|
|
1970
|
+
export declare class DasarChipCloseSlot {
|
|
1971
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarChipCloseSlot, never>;
|
|
1972
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarChipCloseSlot, "[chip-close-slot]", never, {}, {}, never, never, true, never>;
|
|
1973
|
+
}
|
|
1974
|
+
export declare class DasarChip {
|
|
1975
|
+
private themeProvider;
|
|
1976
|
+
private themeService;
|
|
1977
|
+
private cdr;
|
|
1978
|
+
closeIconName: string;
|
|
1979
|
+
appearance: NonNullable<DasarButtonAppearanceType | undefined>;
|
|
1980
|
+
variant: NonNullable<DasarButtonVariantType | undefined>;
|
|
1981
|
+
iconName: string | undefined;
|
|
1982
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
1983
|
+
size: NonNullable<DasarButtonSizeType | undefined>;
|
|
1984
|
+
label: string | undefined;
|
|
1985
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
1986
|
+
contentStyle: NonNullable<StyleType | undefined> | null;
|
|
1987
|
+
labelStyle: NonNullable<StyleType | undefined> | null;
|
|
1988
|
+
containerClass: NonNullable<ClassType> | null;
|
|
1989
|
+
contentClass: NonNullable<ClassType> | null;
|
|
1990
|
+
labelClass: NonNullable<ClassType> | null;
|
|
1991
|
+
removable: NonNullable<boolean | undefined>;
|
|
1992
|
+
disabled: NonNullable<boolean | undefined>;
|
|
1993
|
+
fluid: NonNullable<boolean | undefined>;
|
|
1994
|
+
labelSlot?: DasarChipLabelSlot;
|
|
1995
|
+
closeSlot?: DasarChipCloseSlot;
|
|
1996
|
+
onClick: EventEmitter<Event>;
|
|
1997
|
+
onRemove: EventEmitter<Event>;
|
|
1998
|
+
readonly baseClass = true;
|
|
1999
|
+
onHostClick(event: MouseEvent): void;
|
|
2000
|
+
click(event: Event): void;
|
|
2001
|
+
remove(event: Event): void;
|
|
2002
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarChip, never>;
|
|
2003
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarChip, "dasar-chip", never, {
|
|
2004
|
+
"closeIconName": {
|
|
2005
|
+
"alias": "close-icon-name";
|
|
2006
|
+
"required": false;
|
|
2007
|
+
};
|
|
2008
|
+
"appearance": {
|
|
2009
|
+
"alias": "appearance";
|
|
2010
|
+
"required": false;
|
|
2011
|
+
};
|
|
2012
|
+
"variant": {
|
|
2013
|
+
"alias": "variant";
|
|
2014
|
+
"required": false;
|
|
2015
|
+
};
|
|
2016
|
+
"iconName": {
|
|
2017
|
+
"alias": "icon-name";
|
|
2018
|
+
"required": false;
|
|
2019
|
+
};
|
|
2020
|
+
"radius": {
|
|
2021
|
+
"alias": "radius";
|
|
2022
|
+
"required": false;
|
|
2023
|
+
};
|
|
2024
|
+
"size": {
|
|
2025
|
+
"alias": "size";
|
|
2026
|
+
"required": false;
|
|
2027
|
+
};
|
|
2028
|
+
"label": {
|
|
2029
|
+
"alias": "label";
|
|
2030
|
+
"required": false;
|
|
2031
|
+
};
|
|
2032
|
+
"containerStyle": {
|
|
2033
|
+
"alias": "container-style";
|
|
2034
|
+
"required": false;
|
|
2035
|
+
};
|
|
2036
|
+
"contentStyle": {
|
|
2037
|
+
"alias": "content-style";
|
|
2038
|
+
"required": false;
|
|
2039
|
+
};
|
|
2040
|
+
"labelStyle": {
|
|
2041
|
+
"alias": "label-style";
|
|
2042
|
+
"required": false;
|
|
2043
|
+
};
|
|
2044
|
+
"containerClass": {
|
|
2045
|
+
"alias": "container-class";
|
|
2046
|
+
"required": false;
|
|
2047
|
+
};
|
|
2048
|
+
"contentClass": {
|
|
2049
|
+
"alias": "content-class";
|
|
2050
|
+
"required": false;
|
|
2051
|
+
};
|
|
2052
|
+
"labelClass": {
|
|
2053
|
+
"alias": "label-class";
|
|
2054
|
+
"required": false;
|
|
2055
|
+
};
|
|
2056
|
+
"removable": {
|
|
2057
|
+
"alias": "removable";
|
|
2058
|
+
"required": false;
|
|
2059
|
+
};
|
|
2060
|
+
"disabled": {
|
|
2061
|
+
"alias": "disabled";
|
|
2062
|
+
"required": false;
|
|
2063
|
+
};
|
|
2064
|
+
"fluid": {
|
|
2065
|
+
"alias": "fluid";
|
|
2066
|
+
"required": false;
|
|
2067
|
+
};
|
|
2068
|
+
}, {
|
|
2069
|
+
"onClick": "onClick";
|
|
2070
|
+
"onRemove": "onRemove";
|
|
2071
|
+
}, ["labelSlot", "closeSlot"], ["[chip-label-slot]", "*", "[chip-close-slot]"], true, never>;
|
|
2072
|
+
static ngAcceptInputType_removable: unknown;
|
|
2073
|
+
static ngAcceptInputType_disabled: unknown;
|
|
2074
|
+
static ngAcceptInputType_fluid: unknown;
|
|
2075
|
+
}
|
|
2076
|
+
export declare const DasarChipComponent: readonly [typeof DasarChip, typeof DasarChipLabelSlot, typeof DasarChipCloseSlot];
|
|
2077
|
+
export type DasarSelectSizeType = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
2078
|
+
export type DasarSelectPlacementType = DasarPanelPlacement;
|
|
2079
|
+
export type DasarSelectChipSizeType = Extract<ScaleAttributeType$1, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
2080
|
+
export type DasarSelectMultipleDisplayType = 'text' | 'chip' | null;
|
|
2081
|
+
export type DasarSelectAppearanceType = 'outline' | 'filled';
|
|
2082
|
+
export type DasarSelectRadiusType = ScaleAttributeType$1;
|
|
2083
|
+
export interface DasarSelectConfig {
|
|
2084
|
+
multipleType?: DasarSelectMultipleDisplayType;
|
|
2085
|
+
arrowIconName?: string;
|
|
2086
|
+
debounceTime?: number;
|
|
2087
|
+
appearance?: DasarSelectAppearanceType;
|
|
2088
|
+
radius?: DasarSelectRadiusType;
|
|
2089
|
+
options?: DasarSelectOption[];
|
|
2090
|
+
chipSize?: DasarSelectChipSizeType;
|
|
2091
|
+
size?: DasarSelectSizeType;
|
|
2092
|
+
hint?: string;
|
|
2093
|
+
placeholder?: string;
|
|
2094
|
+
labelRight?: string;
|
|
2095
|
+
label?: string;
|
|
2096
|
+
dropdownPanelClass?: ClassType;
|
|
2097
|
+
containerClass?: ClassType;
|
|
2098
|
+
optionClass?: ClassType;
|
|
2099
|
+
placement?: DasarPanelPlacement;
|
|
2100
|
+
dropdownPanelStyle?: StyleType;
|
|
2101
|
+
containerStyle?: StyleType;
|
|
2102
|
+
fullWidth?: boolean;
|
|
2103
|
+
clearable?: boolean;
|
|
2104
|
+
searchable?: boolean;
|
|
2105
|
+
disabled?: boolean;
|
|
2106
|
+
loading?: boolean;
|
|
2107
|
+
error?: boolean;
|
|
2108
|
+
hideOverflow?: boolean;
|
|
2109
|
+
}
|
|
2110
|
+
export declare class DasarSelectPrefixSlot {
|
|
2111
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectPrefixSlot, never>;
|
|
2112
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectPrefixSlot, "[prefix-slot]", never, {}, {}, never, never, true, never>;
|
|
2113
|
+
}
|
|
2114
|
+
export declare class DasarSelectSuffixSlot {
|
|
2115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectSuffixSlot, never>;
|
|
2116
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectSuffixSlot, "[suffix-slot]", never, {}, {}, never, never, true, never>;
|
|
2117
|
+
}
|
|
2118
|
+
export declare class DasarSelectLabelSlot {
|
|
2119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectLabelSlot, never>;
|
|
2120
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectLabelSlot, "[label-slot]", never, {}, {}, never, never, true, never>;
|
|
2121
|
+
}
|
|
2122
|
+
export declare class DasarSelectExtraLabelSlot {
|
|
2123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectExtraLabelSlot, never>;
|
|
2124
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectExtraLabelSlot, "[extra-label-slot]", never, {}, {}, never, never, true, never>;
|
|
2125
|
+
}
|
|
2126
|
+
export declare class DasarSelectOptionLoadingSlot {
|
|
2127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectOptionLoadingSlot, never>;
|
|
2128
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectOptionLoadingSlot, "[option-loading-slot]", never, {}, {}, never, never, true, never>;
|
|
2129
|
+
}
|
|
2130
|
+
export declare class DasarSelectOptionEmptySlot {
|
|
2131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectOptionEmptySlot, never>;
|
|
2132
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectOptionEmptySlot, "[option-empty-slot]", never, {}, {}, never, never, true, never>;
|
|
2133
|
+
}
|
|
2134
|
+
export declare class DasarSelectChipTemplate {
|
|
2135
|
+
templateRef: TemplateRef<any>;
|
|
2136
|
+
constructor(templateRef: TemplateRef<any>);
|
|
2137
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectChipTemplate, never>;
|
|
2138
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectChipTemplate, "[chip-template]", never, {}, {}, never, never, true, never>;
|
|
2139
|
+
}
|
|
2140
|
+
export declare class DasarSelectOptionTemplate {
|
|
2141
|
+
templateRef: TemplateRef<any>;
|
|
2142
|
+
constructor(templateRef: TemplateRef<any>);
|
|
2143
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelectOptionTemplate, never>;
|
|
2144
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarSelectOptionTemplate, "[option-template]", never, {}, {}, never, never, true, never>;
|
|
2145
|
+
}
|
|
2146
|
+
export interface DasarSelectOption {
|
|
2147
|
+
chipVariant?: DasarChipVariantType;
|
|
2148
|
+
chipClass?: ClassType;
|
|
2149
|
+
chipStyle?: StyleType;
|
|
2150
|
+
disabled?: boolean;
|
|
2151
|
+
iconName?: string;
|
|
2152
|
+
label: string;
|
|
2153
|
+
value: any;
|
|
2154
|
+
[key: string]: any;
|
|
2155
|
+
}
|
|
2156
|
+
export declare class DasarSelect implements ControlValueAccessor {
|
|
2157
|
+
searchInput?: ElementRef<HTMLInputElement>;
|
|
2158
|
+
triggerEl?: ElementRef<HTMLElement>;
|
|
2159
|
+
panelEl?: ElementRef<HTMLElement>;
|
|
2160
|
+
optionLoadingSlot?: DasarSelectOptionLoadingSlot;
|
|
2161
|
+
optionEmptySlot?: DasarSelectOptionEmptySlot;
|
|
2162
|
+
optionTemplate?: DasarSelectOptionTemplate;
|
|
2163
|
+
extraLabelSlot?: DasarSelectExtraLabelSlot;
|
|
2164
|
+
chipTemplate?: DasarSelectChipTemplate;
|
|
2165
|
+
prefixSlot?: DasarSelectPrefixSlot;
|
|
2166
|
+
suffixSlot?: DasarSelectSuffixSlot;
|
|
2167
|
+
labelSlot?: DasarSelectLabelSlot;
|
|
2168
|
+
private themeProvider;
|
|
2169
|
+
private themeService;
|
|
2170
|
+
private cdr;
|
|
2171
|
+
private elementRef;
|
|
2172
|
+
private debounceTimer;
|
|
2173
|
+
searchQuery: string;
|
|
2174
|
+
isOpen: boolean;
|
|
2175
|
+
multipleType: DasarSelectMultipleDisplayType;
|
|
2176
|
+
chipSize: DasarSelectChipSizeType;
|
|
2177
|
+
arrowIconName: string;
|
|
2178
|
+
debounceTime: number;
|
|
2179
|
+
appearance: NonNullable<DasarSelectAppearanceType | undefined>;
|
|
2180
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
2181
|
+
private _placement;
|
|
2182
|
+
set placement(value: DasarSelectPlacementType);
|
|
2183
|
+
get placement(): DasarSelectPlacementType;
|
|
2184
|
+
currentPlacement: DasarSelectPlacementType;
|
|
2185
|
+
get iconSize(): number;
|
|
2186
|
+
options: never[] | DasarSelectOption[];
|
|
2187
|
+
size: NonNullable<DasarSelectSizeType | undefined>;
|
|
2188
|
+
hint: string | undefined;
|
|
2189
|
+
placeholder: string;
|
|
2190
|
+
label: string | undefined;
|
|
2191
|
+
labelRight: string | undefined;
|
|
2192
|
+
dropdownPanelClass: NonNullable<ClassType> | null;
|
|
2193
|
+
containerClass: NonNullable<ClassType> | null;
|
|
2194
|
+
optionClass: NonNullable<ClassType> | null;
|
|
2195
|
+
dropdownPanelStyle: NonNullable<StyleType | undefined> | null;
|
|
2196
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
2197
|
+
fullWidth: NonNullable<boolean | undefined>;
|
|
2198
|
+
clearable: NonNullable<boolean | undefined>;
|
|
2199
|
+
searchable: NonNullable<boolean | undefined>;
|
|
2200
|
+
disabled: NonNullable<boolean | undefined>;
|
|
2201
|
+
loading: NonNullable<boolean | undefined>;
|
|
2202
|
+
error: NonNullable<boolean | undefined>;
|
|
2203
|
+
hideOverflow: NonNullable<boolean | undefined>;
|
|
2204
|
+
valueChange: EventEmitter<any>;
|
|
2205
|
+
onBlurEvent: EventEmitter<FocusEvent>;
|
|
2206
|
+
onSearchChange: EventEmitter<string>;
|
|
2207
|
+
onFocus: EventEmitter<FocusEvent>;
|
|
2208
|
+
onPanelOpened: EventEmitter<void>;
|
|
2209
|
+
onPanelClosed: EventEmitter<void>;
|
|
2210
|
+
onCleared: EventEmitter<void>;
|
|
2211
|
+
readonly baseClass = true;
|
|
2212
|
+
get hasFullWidth(): boolean;
|
|
2213
|
+
get isDisabled(): boolean;
|
|
2214
|
+
_value: any;
|
|
2215
|
+
get value(): any;
|
|
2216
|
+
set value(val: any);
|
|
2217
|
+
onChange: any;
|
|
2218
|
+
onTouched: any;
|
|
2219
|
+
writeValue(val: any): void;
|
|
2220
|
+
registerOnChange(fn: any): void;
|
|
2221
|
+
registerOnTouched(fn: any): void;
|
|
2222
|
+
setDisabledState(isDisabled: boolean): void;
|
|
2223
|
+
get hasValue(): boolean;
|
|
2224
|
+
get isMultiple(): boolean;
|
|
2225
|
+
get selectedOption(): DasarSelectOption | undefined;
|
|
2226
|
+
get selectedOptions(): DasarSelectOption[];
|
|
2227
|
+
get filteredOptions(): DasarSelectOption[];
|
|
2228
|
+
onDocumentClick(event: MouseEvent): void;
|
|
2229
|
+
onGlobalSelectOpened(event: any): void;
|
|
2230
|
+
removeOption(option: DasarSelectOption, event: Event): void;
|
|
2231
|
+
clearSelection(event: Event): void;
|
|
2232
|
+
toggleDropdown(): void;
|
|
2233
|
+
openPanel(): void;
|
|
2234
|
+
onViewportChange(): void;
|
|
2235
|
+
private recalculatePlacement;
|
|
2236
|
+
closePanel(): void;
|
|
2237
|
+
isOptionSelected(option: DasarSelectOption): boolean;
|
|
2238
|
+
selectOption(option: DasarSelectOption, event: Event): void;
|
|
2239
|
+
getMultipleDisplayText(): string;
|
|
2240
|
+
onSearchInput(query: string): void;
|
|
2241
|
+
onInputFocus(event?: FocusEvent): void;
|
|
2242
|
+
onInputBlur(event?: FocusEvent): void;
|
|
2243
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarSelect, never>;
|
|
2244
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarSelect, "dasar-select", never, {
|
|
2245
|
+
"multipleType": {
|
|
2246
|
+
"alias": "multiple-type";
|
|
2247
|
+
"required": false;
|
|
2248
|
+
};
|
|
2249
|
+
"chipSize": {
|
|
2250
|
+
"alias": "chip-size";
|
|
2251
|
+
"required": false;
|
|
2252
|
+
};
|
|
2253
|
+
"arrowIconName": {
|
|
2254
|
+
"alias": "arrow-icon-name";
|
|
2255
|
+
"required": false;
|
|
2256
|
+
};
|
|
2257
|
+
"debounceTime": {
|
|
2258
|
+
"alias": "debounce-time";
|
|
2259
|
+
"required": false;
|
|
2260
|
+
};
|
|
2261
|
+
"appearance": {
|
|
2262
|
+
"alias": "appearance";
|
|
2263
|
+
"required": false;
|
|
2264
|
+
};
|
|
2265
|
+
"radius": {
|
|
2266
|
+
"alias": "radius";
|
|
2267
|
+
"required": false;
|
|
2268
|
+
};
|
|
2269
|
+
"placement": {
|
|
2270
|
+
"alias": "placement";
|
|
2271
|
+
"required": false;
|
|
2272
|
+
};
|
|
2273
|
+
"options": {
|
|
2274
|
+
"alias": "options";
|
|
2275
|
+
"required": false;
|
|
2276
|
+
};
|
|
2277
|
+
"size": {
|
|
2278
|
+
"alias": "size";
|
|
2279
|
+
"required": false;
|
|
2280
|
+
};
|
|
2281
|
+
"hint": {
|
|
2282
|
+
"alias": "hint";
|
|
2283
|
+
"required": false;
|
|
2284
|
+
};
|
|
2285
|
+
"placeholder": {
|
|
2286
|
+
"alias": "placeholder";
|
|
2287
|
+
"required": false;
|
|
2288
|
+
};
|
|
2289
|
+
"label": {
|
|
2290
|
+
"alias": "label";
|
|
2291
|
+
"required": false;
|
|
2292
|
+
};
|
|
2293
|
+
"labelRight": {
|
|
2294
|
+
"alias": "labelRight";
|
|
2295
|
+
"required": false;
|
|
2296
|
+
};
|
|
2297
|
+
"dropdownPanelClass": {
|
|
2298
|
+
"alias": "dropdown-panel-class";
|
|
2299
|
+
"required": false;
|
|
2300
|
+
};
|
|
2301
|
+
"containerClass": {
|
|
2302
|
+
"alias": "container-class";
|
|
2303
|
+
"required": false;
|
|
2304
|
+
};
|
|
2305
|
+
"optionClass": {
|
|
2306
|
+
"alias": "option-class";
|
|
2307
|
+
"required": false;
|
|
2308
|
+
};
|
|
2309
|
+
"dropdownPanelStyle": {
|
|
2310
|
+
"alias": "dropdown-panel-style";
|
|
2311
|
+
"required": false;
|
|
2312
|
+
};
|
|
2313
|
+
"containerStyle": {
|
|
2314
|
+
"alias": "container-style";
|
|
2315
|
+
"required": false;
|
|
2316
|
+
};
|
|
2317
|
+
"fullWidth": {
|
|
2318
|
+
"alias": "full-width";
|
|
2319
|
+
"required": false;
|
|
2320
|
+
};
|
|
2321
|
+
"clearable": {
|
|
2322
|
+
"alias": "clearable";
|
|
2323
|
+
"required": false;
|
|
2324
|
+
};
|
|
2325
|
+
"searchable": {
|
|
2326
|
+
"alias": "searchable";
|
|
2327
|
+
"required": false;
|
|
2328
|
+
};
|
|
2329
|
+
"disabled": {
|
|
2330
|
+
"alias": "disabled";
|
|
2331
|
+
"required": false;
|
|
2332
|
+
};
|
|
2333
|
+
"loading": {
|
|
2334
|
+
"alias": "loading";
|
|
2335
|
+
"required": false;
|
|
2336
|
+
};
|
|
2337
|
+
"error": {
|
|
2338
|
+
"alias": "error";
|
|
2339
|
+
"required": false;
|
|
2340
|
+
};
|
|
2341
|
+
"hideOverflow": {
|
|
2342
|
+
"alias": "hide-overflow";
|
|
2343
|
+
"required": false;
|
|
2344
|
+
};
|
|
2345
|
+
"value": {
|
|
2346
|
+
"alias": "value";
|
|
2347
|
+
"required": false;
|
|
2348
|
+
};
|
|
2349
|
+
}, {
|
|
2350
|
+
"valueChange": "valueChange";
|
|
2351
|
+
"onBlurEvent": "onBlurEvent";
|
|
2352
|
+
"onSearchChange": "onSearchChange";
|
|
2353
|
+
"onFocus": "onFocus";
|
|
2354
|
+
"onPanelOpened": "onPanelOpened";
|
|
2355
|
+
"onPanelClosed": "onPanelClosed";
|
|
2356
|
+
"onCleared": "onCleared";
|
|
2357
|
+
}, ["optionLoadingSlot", "optionEmptySlot", "optionTemplate", "extraLabelSlot", "chipTemplate", "prefixSlot", "suffixSlot", "labelSlot"], ["[label-slot]", "[extra-label-slot]", "[prefix-slot]", "[suffix-slot]", "[option-loading-slot]", "[option-empty-slot]"], true, never>;
|
|
2358
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
2359
|
+
static ngAcceptInputType_clearable: unknown;
|
|
2360
|
+
static ngAcceptInputType_searchable: unknown;
|
|
2361
|
+
static ngAcceptInputType_disabled: unknown;
|
|
2362
|
+
static ngAcceptInputType_loading: unknown;
|
|
2363
|
+
static ngAcceptInputType_error: unknown;
|
|
2364
|
+
static ngAcceptInputType_hideOverflow: unknown;
|
|
2365
|
+
}
|
|
2366
|
+
export declare const DasarSelectComponent: readonly [typeof DasarSelect, typeof DasarSelectLabelSlot, typeof DasarSelectSuffixSlot, typeof DasarSelectChipTemplate, typeof DasarSelectOptionTemplate, typeof DasarSelectExtraLabelSlot, typeof DasarSelectOptionEmptySlot, typeof DasarSelectOptionLoadingSlot, typeof DasarSelectPrefixSlot];
|
|
2367
|
+
export type DasarIconSizeType = ScaleAttributeType$1 | number;
|
|
2368
|
+
export interface DasarIconConfig {
|
|
2369
|
+
size?: DasarIconSizeType;
|
|
2370
|
+
stroke?: number;
|
|
2371
|
+
fluid?: boolean;
|
|
2372
|
+
color?: string;
|
|
2373
|
+
name?: string;
|
|
2374
|
+
}
|
|
2375
|
+
export declare class DasarIcon implements OnInit {
|
|
2376
|
+
private themeProvider;
|
|
2377
|
+
private themeService;
|
|
2378
|
+
private readonly cdr;
|
|
2379
|
+
private sanitizer;
|
|
2380
|
+
fluid: NonNullable<boolean | undefined>;
|
|
2381
|
+
size: NonNullable<DasarIconSizeType | undefined>;
|
|
2382
|
+
color: string;
|
|
2383
|
+
stroke: number;
|
|
2384
|
+
name: string;
|
|
2385
|
+
get hostClasses(): string;
|
|
2386
|
+
get computedSize(): string | number;
|
|
2387
|
+
get svgContent(): SafeHtml;
|
|
2388
|
+
ngOnInit(): void;
|
|
2389
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarIcon, never>;
|
|
2390
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarIcon, "dasar-icon", never, {
|
|
2391
|
+
"fluid": {
|
|
2392
|
+
"alias": "fluid";
|
|
2393
|
+
"required": false;
|
|
2394
|
+
};
|
|
2395
|
+
"size": {
|
|
2396
|
+
"alias": "size";
|
|
2397
|
+
"required": false;
|
|
2398
|
+
};
|
|
2399
|
+
"color": {
|
|
2400
|
+
"alias": "color";
|
|
2401
|
+
"required": false;
|
|
2402
|
+
};
|
|
2403
|
+
"stroke": {
|
|
2404
|
+
"alias": "stroke";
|
|
2405
|
+
"required": false;
|
|
2406
|
+
};
|
|
2407
|
+
"name": {
|
|
2408
|
+
"alias": "name";
|
|
2409
|
+
"required": false;
|
|
2410
|
+
};
|
|
2411
|
+
}, {}, never, never, true, never>;
|
|
2412
|
+
static ngAcceptInputType_fluid: unknown;
|
|
2413
|
+
}
|
|
2414
|
+
export declare const DasarIconComponent: readonly [typeof DasarIcon];
|
|
2415
|
+
export type DasarCardSize = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
2416
|
+
export type DasarCardAppearance = 'outline' | 'borderless' | 'elevated';
|
|
2417
|
+
export type DasarCardSpacing = 'normal' | 'compact';
|
|
2418
|
+
export type DasarCardRadius = ScaleAttributeType$1;
|
|
2419
|
+
export interface DasarCardConfig {
|
|
2420
|
+
appearance?: 'outline' | 'borderless' | 'elevated';
|
|
2421
|
+
spacing?: 'normal' | 'compact';
|
|
2422
|
+
radius?: ScaleAttributeType$1;
|
|
2423
|
+
size?: Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
2424
|
+
label?: string;
|
|
2425
|
+
contentHeaderStyle?: StyleType;
|
|
2426
|
+
extraHeaderStyle?: StyleType;
|
|
2427
|
+
containerStyle?: StyleType;
|
|
2428
|
+
captionStyle?: StyleType;
|
|
2429
|
+
headerStyle?: StyleType;
|
|
2430
|
+
actionStyle?: StyleType;
|
|
2431
|
+
bodyStyle?: StyleType;
|
|
2432
|
+
contentHeaderClass?: ClassType;
|
|
2433
|
+
extraHeaderClass?: ClassType;
|
|
2434
|
+
containerClass?: ClassType;
|
|
2435
|
+
captionClass?: ClassType;
|
|
2436
|
+
actionClass?: ClassType;
|
|
2437
|
+
headerClass?: ClassType;
|
|
2438
|
+
bodyClass?: ClassType;
|
|
2439
|
+
captionFluid?: boolean;
|
|
2440
|
+
hideOverflow?: boolean;
|
|
2441
|
+
headerFluid?: boolean;
|
|
2442
|
+
actionFluid?: boolean;
|
|
2443
|
+
bodyFluid?: boolean;
|
|
2444
|
+
fullWidth?: boolean;
|
|
2445
|
+
closable?: boolean;
|
|
2446
|
+
fluid?: boolean;
|
|
2447
|
+
}
|
|
2448
|
+
export declare class DasarCardExtraHeaderSlot {
|
|
2449
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCardExtraHeaderSlot, never>;
|
|
2450
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCardExtraHeaderSlot, "[extra-header-slot]", never, {}, {}, never, never, true, never>;
|
|
2451
|
+
}
|
|
2452
|
+
export declare class DasarCardCaptionSlot {
|
|
2453
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCardCaptionSlot, never>;
|
|
2454
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCardCaptionSlot, "[caption-slot]", never, {}, {}, never, never, true, never>;
|
|
2455
|
+
}
|
|
2456
|
+
export declare class DasarCardHeaderSlot {
|
|
2457
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCardHeaderSlot, never>;
|
|
2458
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCardHeaderSlot, "[header-slot]", never, {}, {}, never, never, true, never>;
|
|
2459
|
+
}
|
|
2460
|
+
export declare class DasarCardActionSlot {
|
|
2461
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCardActionSlot, never>;
|
|
2462
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarCardActionSlot, "[action-slot]", never, {}, {}, never, never, true, never>;
|
|
2463
|
+
}
|
|
2464
|
+
export declare class DasarCard {
|
|
2465
|
+
providedExtraHeader?: DasarCardExtraHeaderSlot;
|
|
2466
|
+
providedCaption?: DasarCardCaptionSlot;
|
|
2467
|
+
providedHeader?: DasarCardHeaderSlot;
|
|
2468
|
+
providedAction?: DasarCardActionSlot;
|
|
2469
|
+
private themeProvider;
|
|
2470
|
+
private themeService;
|
|
2471
|
+
private cdr;
|
|
2472
|
+
isClosed: import("@angular/core").WritableSignal<boolean>;
|
|
2473
|
+
appearance: NonNullable<"outline" | "borderless" | "elevated" | undefined>;
|
|
2474
|
+
spacing: NonNullable<"compact" | "normal" | undefined>;
|
|
2475
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
2476
|
+
size: NonNullable<"sm" | "md" | "lg" | undefined>;
|
|
2477
|
+
label: string | undefined;
|
|
2478
|
+
contentHeaderStyle: NonNullable<StyleType | undefined> | null;
|
|
2479
|
+
extraHeaderStyle: NonNullable<StyleType | undefined> | null;
|
|
2480
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
2481
|
+
captionStyle: NonNullable<StyleType | undefined> | null;
|
|
2482
|
+
headerStyle: NonNullable<StyleType | undefined> | null;
|
|
2483
|
+
actionStyle: NonNullable<StyleType | undefined> | null;
|
|
2484
|
+
bodyStyle: NonNullable<StyleType | undefined> | null;
|
|
2485
|
+
contentHeaderClass: NonNullable<ClassType> | null;
|
|
2486
|
+
extraHeaderClass: NonNullable<ClassType> | null;
|
|
2487
|
+
containerClass: NonNullable<ClassType> | null;
|
|
2488
|
+
captionClass: NonNullable<ClassType> | null;
|
|
2489
|
+
actionClass: NonNullable<ClassType> | null;
|
|
2490
|
+
headerClass: NonNullable<ClassType> | null;
|
|
2491
|
+
bodyClass: NonNullable<ClassType> | null;
|
|
2492
|
+
closable: NonNullable<boolean | undefined>;
|
|
2493
|
+
fluid: NonNullable<boolean | undefined>;
|
|
2494
|
+
headerFluid: NonNullable<boolean | undefined>;
|
|
2495
|
+
actionFluid: NonNullable<boolean | undefined>;
|
|
2496
|
+
bodyFluid: NonNullable<boolean | undefined>;
|
|
2497
|
+
fullWidth: NonNullable<boolean | undefined>;
|
|
2498
|
+
captionFluid: NonNullable<boolean | undefined>;
|
|
2499
|
+
hideOverflow: NonNullable<boolean | undefined>;
|
|
2500
|
+
onClose: EventEmitter<void>;
|
|
2501
|
+
readonly baseClass = true;
|
|
2502
|
+
get hasFullWidth(): boolean;
|
|
2503
|
+
get hasExtraHeader(): boolean;
|
|
2504
|
+
get hasHeader(): boolean;
|
|
2505
|
+
get hasCaption(): boolean;
|
|
2506
|
+
get hasAction(): boolean;
|
|
2507
|
+
closeCard(): void;
|
|
2508
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarCard, never>;
|
|
2509
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarCard, "dasar-card", never, {
|
|
2510
|
+
"appearance": {
|
|
2511
|
+
"alias": "appearance";
|
|
2512
|
+
"required": false;
|
|
2513
|
+
};
|
|
2514
|
+
"spacing": {
|
|
2515
|
+
"alias": "spacing";
|
|
2516
|
+
"required": false;
|
|
2517
|
+
};
|
|
2518
|
+
"radius": {
|
|
2519
|
+
"alias": "radius";
|
|
2520
|
+
"required": false;
|
|
2521
|
+
};
|
|
2522
|
+
"size": {
|
|
2523
|
+
"alias": "size";
|
|
2524
|
+
"required": false;
|
|
2525
|
+
};
|
|
2526
|
+
"label": {
|
|
2527
|
+
"alias": "label";
|
|
2528
|
+
"required": false;
|
|
2529
|
+
};
|
|
2530
|
+
"contentHeaderStyle": {
|
|
2531
|
+
"alias": "content-header-style";
|
|
2532
|
+
"required": false;
|
|
2533
|
+
};
|
|
2534
|
+
"extraHeaderStyle": {
|
|
2535
|
+
"alias": "extra-header-style";
|
|
2536
|
+
"required": false;
|
|
2537
|
+
};
|
|
2538
|
+
"containerStyle": {
|
|
2539
|
+
"alias": "container-style";
|
|
2540
|
+
"required": false;
|
|
2541
|
+
};
|
|
2542
|
+
"captionStyle": {
|
|
2543
|
+
"alias": "caption-style";
|
|
2544
|
+
"required": false;
|
|
2545
|
+
};
|
|
2546
|
+
"headerStyle": {
|
|
2547
|
+
"alias": "header-style";
|
|
2548
|
+
"required": false;
|
|
2549
|
+
};
|
|
2550
|
+
"actionStyle": {
|
|
2551
|
+
"alias": "action-style";
|
|
2552
|
+
"required": false;
|
|
2553
|
+
};
|
|
2554
|
+
"bodyStyle": {
|
|
2555
|
+
"alias": "body-style";
|
|
2556
|
+
"required": false;
|
|
2557
|
+
};
|
|
2558
|
+
"contentHeaderClass": {
|
|
2559
|
+
"alias": "content-header-class";
|
|
2560
|
+
"required": false;
|
|
2561
|
+
};
|
|
2562
|
+
"extraHeaderClass": {
|
|
2563
|
+
"alias": "extra-header-class";
|
|
2564
|
+
"required": false;
|
|
2565
|
+
};
|
|
2566
|
+
"containerClass": {
|
|
2567
|
+
"alias": "container-class";
|
|
2568
|
+
"required": false;
|
|
2569
|
+
};
|
|
2570
|
+
"captionClass": {
|
|
2571
|
+
"alias": "caption-class";
|
|
2572
|
+
"required": false;
|
|
2573
|
+
};
|
|
2574
|
+
"actionClass": {
|
|
2575
|
+
"alias": "action-class";
|
|
2576
|
+
"required": false;
|
|
2577
|
+
};
|
|
2578
|
+
"headerClass": {
|
|
2579
|
+
"alias": "header-class";
|
|
2580
|
+
"required": false;
|
|
2581
|
+
};
|
|
2582
|
+
"bodyClass": {
|
|
2583
|
+
"alias": "body-class";
|
|
2584
|
+
"required": false;
|
|
2585
|
+
};
|
|
2586
|
+
"closable": {
|
|
2587
|
+
"alias": "closable";
|
|
2588
|
+
"required": false;
|
|
2589
|
+
};
|
|
2590
|
+
"fluid": {
|
|
2591
|
+
"alias": "fluid";
|
|
2592
|
+
"required": false;
|
|
2593
|
+
};
|
|
2594
|
+
"headerFluid": {
|
|
2595
|
+
"alias": "header-fluid";
|
|
2596
|
+
"required": false;
|
|
2597
|
+
};
|
|
2598
|
+
"actionFluid": {
|
|
2599
|
+
"alias": "action-fluid";
|
|
2600
|
+
"required": false;
|
|
2601
|
+
};
|
|
2602
|
+
"bodyFluid": {
|
|
2603
|
+
"alias": "body-fluid";
|
|
2604
|
+
"required": false;
|
|
2605
|
+
};
|
|
2606
|
+
"fullWidth": {
|
|
2607
|
+
"alias": "full-width";
|
|
2608
|
+
"required": false;
|
|
2609
|
+
};
|
|
2610
|
+
"captionFluid": {
|
|
2611
|
+
"alias": "caption-fluid";
|
|
2612
|
+
"required": false;
|
|
2613
|
+
};
|
|
2614
|
+
"hideOverflow": {
|
|
2615
|
+
"alias": "hide-overflow";
|
|
2616
|
+
"required": false;
|
|
2617
|
+
};
|
|
2618
|
+
}, {
|
|
2619
|
+
"onClose": "onClose";
|
|
2620
|
+
}, ["providedExtraHeader", "providedCaption", "providedHeader", "providedAction"], ["[header-slot]", "[caption-slot]", "[extra-header-slot]", "*", "[action-slot]"], true, never>;
|
|
2621
|
+
static ngAcceptInputType_closable: unknown;
|
|
2622
|
+
static ngAcceptInputType_fluid: unknown;
|
|
2623
|
+
static ngAcceptInputType_headerFluid: unknown;
|
|
2624
|
+
static ngAcceptInputType_actionFluid: unknown;
|
|
2625
|
+
static ngAcceptInputType_bodyFluid: unknown;
|
|
2626
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
2627
|
+
static ngAcceptInputType_captionFluid: unknown;
|
|
2628
|
+
static ngAcceptInputType_hideOverflow: unknown;
|
|
2629
|
+
}
|
|
2630
|
+
export declare const DasarCardComponent: readonly [typeof DasarCardExtraHeaderSlot, typeof DasarCardCaptionSlot, typeof DasarCardHeaderSlot, typeof DasarCardActionSlot, typeof DasarCard];
|
|
2631
|
+
export interface DasarListConfig {
|
|
2632
|
+
size?: DasarListSize;
|
|
2633
|
+
bordered?: boolean;
|
|
2634
|
+
showDivider?: boolean;
|
|
2635
|
+
hoverable?: boolean;
|
|
2636
|
+
clickable?: boolean;
|
|
2637
|
+
containerClass?: ClassType;
|
|
2638
|
+
containerStyle?: StyleType;
|
|
2639
|
+
}
|
|
2640
|
+
export interface DasarListItemConfig {
|
|
2641
|
+
itemClass?: ClassType;
|
|
2642
|
+
itemStyle?: StyleType;
|
|
2643
|
+
}
|
|
2644
|
+
export type DasarListSize = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
2645
|
+
export declare class DasarListHeaderSlot {
|
|
2646
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarListHeaderSlot, never>;
|
|
2647
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarListHeaderSlot, "[header-slot]", never, {}, {}, never, never, true, never>;
|
|
2648
|
+
}
|
|
2649
|
+
export declare class DasarListFooterSlot {
|
|
2650
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarListFooterSlot, never>;
|
|
2651
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarListFooterSlot, "[footer-slot]", never, {}, {}, never, never, true, never>;
|
|
2652
|
+
}
|
|
2653
|
+
export declare class DasarListItemPrefixSlot {
|
|
2654
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarListItemPrefixSlot, never>;
|
|
2655
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarListItemPrefixSlot, "[prefix-slot]", never, {}, {}, never, never, true, never>;
|
|
2656
|
+
}
|
|
2657
|
+
export declare class DasarListItemSuffixSlot {
|
|
2658
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarListItemSuffixSlot, never>;
|
|
2659
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarListItemSuffixSlot, "[suffix-slot]", never, {}, {}, never, never, true, never>;
|
|
2660
|
+
}
|
|
2661
|
+
export declare class DasarList {
|
|
2662
|
+
providedHeader?: DasarListHeaderSlot;
|
|
2663
|
+
providedFooter?: DasarListFooterSlot;
|
|
2664
|
+
private themeProvider;
|
|
2665
|
+
private themeService;
|
|
2666
|
+
size: NonNullable<DasarListSize | undefined>;
|
|
2667
|
+
bordered: NonNullable<boolean | undefined>;
|
|
2668
|
+
showDivider: NonNullable<boolean | undefined>;
|
|
2669
|
+
hoverable: NonNullable<boolean | undefined>;
|
|
2670
|
+
clickable: NonNullable<boolean | undefined>;
|
|
2671
|
+
containerClass: NonNullable<ClassType> | null;
|
|
2672
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
2673
|
+
readonly baseClass = true;
|
|
2674
|
+
get hasHeader(): boolean;
|
|
2675
|
+
get hasFooter(): boolean;
|
|
2676
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarList, never>;
|
|
2677
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarList, "dasar-list", never, {
|
|
2678
|
+
"size": {
|
|
2679
|
+
"alias": "size";
|
|
2680
|
+
"required": false;
|
|
2681
|
+
};
|
|
2682
|
+
"bordered": {
|
|
2683
|
+
"alias": "bordered";
|
|
2684
|
+
"required": false;
|
|
2685
|
+
};
|
|
2686
|
+
"showDivider": {
|
|
2687
|
+
"alias": "show-divider";
|
|
2688
|
+
"required": false;
|
|
2689
|
+
};
|
|
2690
|
+
"hoverable": {
|
|
2691
|
+
"alias": "hoverable";
|
|
2692
|
+
"required": false;
|
|
2693
|
+
};
|
|
2694
|
+
"clickable": {
|
|
2695
|
+
"alias": "clickable";
|
|
2696
|
+
"required": false;
|
|
2697
|
+
};
|
|
2698
|
+
"containerClass": {
|
|
2699
|
+
"alias": "container-class";
|
|
2700
|
+
"required": false;
|
|
2701
|
+
};
|
|
2702
|
+
"containerStyle": {
|
|
2703
|
+
"alias": "container-style";
|
|
2704
|
+
"required": false;
|
|
2705
|
+
};
|
|
2706
|
+
}, {}, ["providedHeader", "providedFooter"], ["[header-slot]", "*", "[footer-slot]"], true, never>;
|
|
2707
|
+
static ngAcceptInputType_bordered: unknown;
|
|
2708
|
+
static ngAcceptInputType_showDivider: unknown;
|
|
2709
|
+
static ngAcceptInputType_hoverable: unknown;
|
|
2710
|
+
static ngAcceptInputType_clickable: unknown;
|
|
2711
|
+
}
|
|
2712
|
+
export declare class DasarListItem {
|
|
2713
|
+
providedPrefix?: DasarListItemPrefixSlot;
|
|
2714
|
+
providedSuffix?: DasarListItemSuffixSlot;
|
|
2715
|
+
private themeProvider;
|
|
2716
|
+
private themeService;
|
|
2717
|
+
itemClass: NonNullable<ClassType> | null;
|
|
2718
|
+
itemStyle: NonNullable<StyleType | undefined> | null;
|
|
2719
|
+
readonly baseClass = true;
|
|
2720
|
+
get hasPrefix(): boolean;
|
|
2721
|
+
get hasSuffix(): boolean;
|
|
2722
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarListItem, never>;
|
|
2723
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarListItem, "dasar-list-item", never, {
|
|
2724
|
+
"itemClass": {
|
|
2725
|
+
"alias": "item-class";
|
|
2726
|
+
"required": false;
|
|
2727
|
+
};
|
|
2728
|
+
"itemStyle": {
|
|
2729
|
+
"alias": "item-style";
|
|
2730
|
+
"required": false;
|
|
2731
|
+
};
|
|
2732
|
+
}, {}, ["providedPrefix", "providedSuffix"], ["[prefix-slot]", "*", "[suffix-slot]"], true, never>;
|
|
2733
|
+
}
|
|
2734
|
+
export declare const DasarListComponent: readonly [typeof DasarListHeaderSlot, typeof DasarListFooterSlot, typeof DasarListItemPrefixSlot, typeof DasarListItemSuffixSlot, typeof DasarList, typeof DasarListItem];
|
|
2735
|
+
export type DasarDividerLabelPlacementType = 'left' | 'center' | 'right';
|
|
2736
|
+
export type DasarDividerSpacingType = ScaleAttributeType$1;
|
|
2737
|
+
export interface DasarDividerConfig {
|
|
2738
|
+
dashed?: boolean;
|
|
2739
|
+
vertical?: boolean;
|
|
2740
|
+
labelPlacement?: DasarDividerLabelPlacementType;
|
|
2741
|
+
spacing?: DasarDividerSpacingType;
|
|
2742
|
+
containerClass?: ClassType;
|
|
2743
|
+
containerStyle?: StyleType;
|
|
2744
|
+
labelClass?: ClassType;
|
|
2745
|
+
labelStyle?: StyleType;
|
|
2746
|
+
}
|
|
2747
|
+
export declare class DasarDividerLabelTemplate {
|
|
2748
|
+
templateRef: TemplateRef<any>;
|
|
2749
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDividerLabelTemplate, never>;
|
|
2750
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarDividerLabelTemplate, "[divider-label-slot]", never, {}, {}, never, never, true, never>;
|
|
2751
|
+
}
|
|
2752
|
+
export declare class DasarDivider {
|
|
2753
|
+
private themeProvider;
|
|
2754
|
+
private themeService;
|
|
2755
|
+
dashed: NonNullable<boolean | undefined>;
|
|
2756
|
+
vertical: NonNullable<boolean | undefined>;
|
|
2757
|
+
label: string | null;
|
|
2758
|
+
labelPlacement: NonNullable<DasarDividerLabelPlacementType | undefined>;
|
|
2759
|
+
spacing: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
2760
|
+
containerClass: NonNullable<ClassType> | null;
|
|
2761
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
2762
|
+
labelClass: NonNullable<ClassType> | null;
|
|
2763
|
+
labelStyle: NonNullable<StyleType | undefined> | null;
|
|
2764
|
+
labelTemplate?: DasarDividerLabelTemplate;
|
|
2765
|
+
get hostClasses(): string;
|
|
2766
|
+
role: string;
|
|
2767
|
+
get ariaOrientation(): string;
|
|
2768
|
+
get hasLabel(): boolean;
|
|
2769
|
+
get containerClasses(): Record<string, boolean>;
|
|
2770
|
+
get labelClasses(): Record<string, boolean>;
|
|
2771
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarDivider, never>;
|
|
2772
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarDivider, "dasar-divider", never, {
|
|
2773
|
+
"dashed": {
|
|
2774
|
+
"alias": "dashed";
|
|
2775
|
+
"required": false;
|
|
2776
|
+
};
|
|
2777
|
+
"vertical": {
|
|
2778
|
+
"alias": "vertical";
|
|
2779
|
+
"required": false;
|
|
2780
|
+
};
|
|
2781
|
+
"label": {
|
|
2782
|
+
"alias": "label";
|
|
2783
|
+
"required": false;
|
|
2784
|
+
};
|
|
2785
|
+
"labelPlacement": {
|
|
2786
|
+
"alias": "label-placement";
|
|
2787
|
+
"required": false;
|
|
2788
|
+
};
|
|
2789
|
+
"spacing": {
|
|
2790
|
+
"alias": "spacing";
|
|
2791
|
+
"required": false;
|
|
2792
|
+
};
|
|
2793
|
+
"containerClass": {
|
|
2794
|
+
"alias": "container-class";
|
|
2795
|
+
"required": false;
|
|
2796
|
+
};
|
|
2797
|
+
"containerStyle": {
|
|
2798
|
+
"alias": "container-style";
|
|
2799
|
+
"required": false;
|
|
2800
|
+
};
|
|
2801
|
+
"labelClass": {
|
|
2802
|
+
"alias": "label-class";
|
|
2803
|
+
"required": false;
|
|
2804
|
+
};
|
|
2805
|
+
"labelStyle": {
|
|
2806
|
+
"alias": "label-style";
|
|
2807
|
+
"required": false;
|
|
2808
|
+
};
|
|
2809
|
+
}, {}, ["labelTemplate"], never, true, never>;
|
|
2810
|
+
static ngAcceptInputType_dashed: unknown;
|
|
2811
|
+
static ngAcceptInputType_vertical: unknown;
|
|
2812
|
+
}
|
|
2813
|
+
export declare const DasarDividerComponent: readonly [typeof DasarDivider, typeof DasarDividerLabelTemplate];
|
|
2814
|
+
export type DasarInputType = 'text' | 'password' | 'email' | 'number' | 'search' | 'url' | 'tel';
|
|
2815
|
+
export type DasarInputMaskType = 'thousand' | 'date' | 'decimal' | ((val: string) => string);
|
|
2816
|
+
export type DasarInputSizeType = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
2817
|
+
export type DasarInputAppearanceType = 'outline' | 'filled';
|
|
2818
|
+
export type DasarInputRadiusType = ScaleAttributeType$1;
|
|
2819
|
+
export interface DasarInputConfig {
|
|
2820
|
+
appearance?: DasarInputAppearanceType;
|
|
2821
|
+
labelRight?: string;
|
|
2822
|
+
radius?: DasarInputRadiusType;
|
|
2823
|
+
size?: DasarInputSizeType;
|
|
2824
|
+
type?: DasarInputType;
|
|
2825
|
+
mask?: DasarInputMaskType;
|
|
2826
|
+
hint?: string;
|
|
2827
|
+
placeholder?: string;
|
|
2828
|
+
label?: string;
|
|
2829
|
+
fullWidth?: boolean;
|
|
2830
|
+
disabled?: boolean;
|
|
2831
|
+
readonly?: boolean;
|
|
2832
|
+
fluid?: boolean;
|
|
2833
|
+
error?: boolean;
|
|
2834
|
+
containerClass?: ClassType;
|
|
2835
|
+
inputClass?: ClassType;
|
|
2836
|
+
hostClass?: ClassType;
|
|
2837
|
+
hintClass?: ClassType;
|
|
2838
|
+
containerStyle?: StyleType;
|
|
2839
|
+
inputStyle?: StyleType;
|
|
2840
|
+
hostStyle?: StyleType;
|
|
2841
|
+
hintStyle?: StyleType;
|
|
2842
|
+
hideOverflow?: boolean;
|
|
2843
|
+
}
|
|
2844
|
+
export declare class DasarInputExtraLabelSlot {
|
|
2845
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarInputExtraLabelSlot, never>;
|
|
2846
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarInputExtraLabelSlot, "[extra-label-slot]", never, {}, {}, never, never, true, never>;
|
|
2847
|
+
}
|
|
2848
|
+
export declare class DasarInputPrefixSlot {
|
|
2849
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarInputPrefixSlot, never>;
|
|
2850
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarInputPrefixSlot, "[prefix-slot]", never, {}, {}, never, never, true, never>;
|
|
2851
|
+
}
|
|
2852
|
+
export declare class DasarInputSuffixSlot {
|
|
2853
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarInputSuffixSlot, never>;
|
|
2854
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarInputSuffixSlot, "[suffix-slot]", never, {}, {}, never, never, true, never>;
|
|
2855
|
+
}
|
|
2856
|
+
export declare class DasarInput implements ControlValueAccessor {
|
|
2857
|
+
extraLabelSlot?: DasarInputExtraLabelSlot;
|
|
2858
|
+
private themeProvider;
|
|
2859
|
+
private themeService;
|
|
2860
|
+
private cdr;
|
|
2861
|
+
appearance: DasarInputAppearanceType;
|
|
2862
|
+
labelRight: string | undefined;
|
|
2863
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
2864
|
+
size: NonNullable<DasarInputSizeType | undefined>;
|
|
2865
|
+
type: NonNullable<DasarInputType | undefined>;
|
|
2866
|
+
mask: NonNullable<DasarInputMaskType | undefined> | undefined;
|
|
2867
|
+
hint: string;
|
|
2868
|
+
placeholder: string;
|
|
2869
|
+
label: string | undefined;
|
|
2870
|
+
fullWidth: NonNullable<boolean | undefined>;
|
|
2871
|
+
disabled: NonNullable<boolean | undefined>;
|
|
2872
|
+
readonly: NonNullable<boolean | undefined>;
|
|
2873
|
+
fluid: NonNullable<boolean | undefined>;
|
|
2874
|
+
error: NonNullable<boolean | undefined>;
|
|
2875
|
+
containerClass: NonNullable<ClassType> | null;
|
|
2876
|
+
inputClass: NonNullable<ClassType> | null;
|
|
2877
|
+
hostClass: NonNullable<ClassType> | null;
|
|
2878
|
+
hintClass: NonNullable<ClassType> | null;
|
|
2879
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
2880
|
+
inputStyle: NonNullable<StyleType | undefined> | null;
|
|
2881
|
+
hostStyle: NonNullable<StyleType | undefined> | null;
|
|
2882
|
+
hintStyle: NonNullable<StyleType | undefined> | null;
|
|
2883
|
+
hideOverflow: NonNullable<boolean | undefined>;
|
|
2884
|
+
onTouched: any;
|
|
2885
|
+
onChange: any;
|
|
2886
|
+
private _value;
|
|
2887
|
+
get value(): any;
|
|
2888
|
+
set value(val: any);
|
|
2889
|
+
valueChange: EventEmitter<any>;
|
|
2890
|
+
get hostClasses(): string;
|
|
2891
|
+
private formatValue;
|
|
2892
|
+
writeValue(value: any): void;
|
|
2893
|
+
registerOnChange(fn: any): void;
|
|
2894
|
+
registerOnTouched(fn: any): void;
|
|
2895
|
+
setDisabledState(isDisabled: boolean): void;
|
|
2896
|
+
onInput(event: Event): void;
|
|
2897
|
+
onBlur(): void;
|
|
2898
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarInput, never>;
|
|
2899
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarInput, "dasar-input", never, {
|
|
2900
|
+
"appearance": {
|
|
2901
|
+
"alias": "appearance";
|
|
2902
|
+
"required": false;
|
|
2903
|
+
};
|
|
2904
|
+
"labelRight": {
|
|
2905
|
+
"alias": "label-right";
|
|
2906
|
+
"required": false;
|
|
2907
|
+
};
|
|
2908
|
+
"radius": {
|
|
2909
|
+
"alias": "radius";
|
|
2910
|
+
"required": false;
|
|
2911
|
+
};
|
|
2912
|
+
"size": {
|
|
2913
|
+
"alias": "size";
|
|
2914
|
+
"required": false;
|
|
2915
|
+
};
|
|
2916
|
+
"type": {
|
|
2917
|
+
"alias": "type";
|
|
2918
|
+
"required": false;
|
|
2919
|
+
};
|
|
2920
|
+
"mask": {
|
|
2921
|
+
"alias": "mask";
|
|
2922
|
+
"required": false;
|
|
2923
|
+
};
|
|
2924
|
+
"hint": {
|
|
2925
|
+
"alias": "hint";
|
|
2926
|
+
"required": false;
|
|
2927
|
+
};
|
|
2928
|
+
"placeholder": {
|
|
2929
|
+
"alias": "placeholder";
|
|
2930
|
+
"required": false;
|
|
2931
|
+
};
|
|
2932
|
+
"label": {
|
|
2933
|
+
"alias": "label";
|
|
2934
|
+
"required": false;
|
|
2935
|
+
};
|
|
2936
|
+
"fullWidth": {
|
|
2937
|
+
"alias": "full-width";
|
|
2938
|
+
"required": false;
|
|
2939
|
+
};
|
|
2940
|
+
"disabled": {
|
|
2941
|
+
"alias": "disabled";
|
|
2942
|
+
"required": false;
|
|
2943
|
+
};
|
|
2944
|
+
"readonly": {
|
|
2945
|
+
"alias": "readonly";
|
|
2946
|
+
"required": false;
|
|
2947
|
+
};
|
|
2948
|
+
"fluid": {
|
|
2949
|
+
"alias": "fluid";
|
|
2950
|
+
"required": false;
|
|
2951
|
+
};
|
|
2952
|
+
"error": {
|
|
2953
|
+
"alias": "error";
|
|
2954
|
+
"required": false;
|
|
2955
|
+
};
|
|
2956
|
+
"containerClass": {
|
|
2957
|
+
"alias": "container-class";
|
|
2958
|
+
"required": false;
|
|
2959
|
+
};
|
|
2960
|
+
"inputClass": {
|
|
2961
|
+
"alias": "input-class";
|
|
2962
|
+
"required": false;
|
|
2963
|
+
};
|
|
2964
|
+
"hostClass": {
|
|
2965
|
+
"alias": "host-class";
|
|
2966
|
+
"required": false;
|
|
2967
|
+
};
|
|
2968
|
+
"hintClass": {
|
|
2969
|
+
"alias": "hint-class";
|
|
2970
|
+
"required": false;
|
|
2971
|
+
};
|
|
2972
|
+
"containerStyle": {
|
|
2973
|
+
"alias": "container-style";
|
|
2974
|
+
"required": false;
|
|
2975
|
+
};
|
|
2976
|
+
"inputStyle": {
|
|
2977
|
+
"alias": "input-style";
|
|
2978
|
+
"required": false;
|
|
2979
|
+
};
|
|
2980
|
+
"hostStyle": {
|
|
2981
|
+
"alias": "host-style";
|
|
2982
|
+
"required": false;
|
|
2983
|
+
};
|
|
2984
|
+
"hintStyle": {
|
|
2985
|
+
"alias": "hint-style";
|
|
2986
|
+
"required": false;
|
|
2987
|
+
};
|
|
2988
|
+
"hideOverflow": {
|
|
2989
|
+
"alias": "hide-overflow";
|
|
2990
|
+
"required": false;
|
|
2991
|
+
};
|
|
2992
|
+
"value": {
|
|
2993
|
+
"alias": "value";
|
|
2994
|
+
"required": false;
|
|
2995
|
+
};
|
|
2996
|
+
}, {
|
|
2997
|
+
"valueChange": "valueChange";
|
|
2998
|
+
}, ["extraLabelSlot"], ["[extra-label-slot]", "[prefix-slot]", "[suffix-slot]"], true, never>;
|
|
2999
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
3000
|
+
static ngAcceptInputType_disabled: unknown;
|
|
3001
|
+
static ngAcceptInputType_readonly: unknown;
|
|
3002
|
+
static ngAcceptInputType_fluid: unknown;
|
|
3003
|
+
static ngAcceptInputType_error: unknown;
|
|
3004
|
+
static ngAcceptInputType_hideOverflow: unknown;
|
|
3005
|
+
}
|
|
3006
|
+
export declare const DasarInputComponent: readonly [typeof DasarInput, typeof DasarInputExtraLabelSlot, typeof DasarInputPrefixSlot, typeof DasarInputSuffixSlot];
|
|
3007
|
+
export type DasarModalSize = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
3008
|
+
export type DasarModalAppearance = 'outline' | 'borderless' | 'elevated';
|
|
3009
|
+
export type DasarModalSpacing = 'normal' | 'compact';
|
|
3010
|
+
export type DasarModalRadius = ScaleAttributeType$1;
|
|
3011
|
+
export interface DasarModalConfig {
|
|
3012
|
+
appearance?: DasarModalAppearance;
|
|
3013
|
+
spacing?: DasarModalSpacing;
|
|
3014
|
+
radius?: DasarModalRadius;
|
|
3015
|
+
size?: DasarModalSize;
|
|
3016
|
+
label?: string;
|
|
3017
|
+
width?: string;
|
|
3018
|
+
containerStyle?: StyleType;
|
|
3019
|
+
headerStyle?: StyleType;
|
|
3020
|
+
closeStyle?: StyleType;
|
|
3021
|
+
bodyStyle?: StyleType;
|
|
3022
|
+
actionStyle?: StyleType;
|
|
3023
|
+
containerClass?: ClassType;
|
|
3024
|
+
headerClass?: ClassType;
|
|
3025
|
+
closeClass?: ClassType;
|
|
3026
|
+
bodyClass?: ClassType;
|
|
3027
|
+
actionClass?: ClassType;
|
|
3028
|
+
headerFluid?: boolean;
|
|
3029
|
+
bodyFluid?: boolean;
|
|
3030
|
+
actionFluid?: boolean;
|
|
3031
|
+
fullWidth?: boolean;
|
|
3032
|
+
closable?: boolean;
|
|
3033
|
+
closeOnOverlay?: boolean;
|
|
3034
|
+
closeOnEscape?: boolean;
|
|
3035
|
+
overlayBlur?: string;
|
|
3036
|
+
overlayBackground?: string;
|
|
3037
|
+
}
|
|
3038
|
+
export declare class DasarModalHeaderSlot {
|
|
3039
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarModalHeaderSlot, never>;
|
|
3040
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarModalHeaderSlot, "[header-slot]", never, {}, {}, never, never, true, never>;
|
|
3041
|
+
}
|
|
3042
|
+
export declare class DasarModalCloseSlot {
|
|
3043
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarModalCloseSlot, never>;
|
|
3044
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarModalCloseSlot, "[close-slot]", never, {}, {}, never, never, true, never>;
|
|
3045
|
+
}
|
|
3046
|
+
export declare class DasarModalActionSlot {
|
|
3047
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarModalActionSlot, never>;
|
|
3048
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DasarModalActionSlot, "[action-slot]", never, {}, {}, never, never, true, never>;
|
|
3049
|
+
}
|
|
3050
|
+
export declare class DasarModal implements OnChanges, OnDestroy {
|
|
3051
|
+
providedHeader?: DasarModalHeaderSlot;
|
|
3052
|
+
providedClose?: DasarModalCloseSlot;
|
|
3053
|
+
providedAction?: DasarModalActionSlot;
|
|
3054
|
+
private themeProvider;
|
|
3055
|
+
private themeService;
|
|
3056
|
+
private platformId;
|
|
3057
|
+
private document;
|
|
3058
|
+
open: boolean;
|
|
3059
|
+
appearance: NonNullable<DasarModalAppearance | undefined>;
|
|
3060
|
+
spacing: NonNullable<DasarModalSpacing | undefined>;
|
|
3061
|
+
radius: NonNullable<ScaleAttributeType$1 | undefined>;
|
|
3062
|
+
size: NonNullable<DasarModalSize | undefined>;
|
|
3063
|
+
label: string | undefined;
|
|
3064
|
+
width: string | undefined;
|
|
3065
|
+
containerStyle: NonNullable<StyleType | undefined> | null;
|
|
3066
|
+
headerStyle: NonNullable<StyleType | undefined> | null;
|
|
3067
|
+
closeStyle: NonNullable<StyleType | undefined> | null;
|
|
3068
|
+
bodyStyle: NonNullable<StyleType | undefined> | null;
|
|
3069
|
+
actionStyle: NonNullable<StyleType | undefined> | null;
|
|
3070
|
+
containerClass: NonNullable<ClassType> | null;
|
|
3071
|
+
headerClass: NonNullable<ClassType> | null;
|
|
3072
|
+
closeClass: NonNullable<ClassType> | null;
|
|
3073
|
+
bodyClass: NonNullable<ClassType> | null;
|
|
3074
|
+
actionClass: NonNullable<ClassType> | null;
|
|
3075
|
+
headerFluid: NonNullable<boolean | undefined>;
|
|
3076
|
+
bodyFluid: NonNullable<boolean | undefined>;
|
|
3077
|
+
actionFluid: NonNullable<boolean | undefined>;
|
|
3078
|
+
fullWidth: NonNullable<boolean | undefined>;
|
|
3079
|
+
closable: NonNullable<boolean | undefined>;
|
|
3080
|
+
closeOnOverlay: NonNullable<boolean | undefined>;
|
|
3081
|
+
closeOnEscape: NonNullable<boolean | undefined>;
|
|
3082
|
+
overlayBlur: string | null;
|
|
3083
|
+
overlayBackground: string | null;
|
|
3084
|
+
onClose: EventEmitter<void>;
|
|
3085
|
+
readonly baseClass = true;
|
|
3086
|
+
get isOpen(): boolean;
|
|
3087
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3088
|
+
ngOnDestroy(): void;
|
|
3089
|
+
get hasHeader(): boolean;
|
|
3090
|
+
get hasClose(): boolean;
|
|
3091
|
+
get hasAction(): boolean;
|
|
3092
|
+
get resolvedWidth(): string | null;
|
|
3093
|
+
close(): void;
|
|
3094
|
+
handleOverlayClick(): void;
|
|
3095
|
+
handleEscape(): void;
|
|
3096
|
+
private toggleScrollLock;
|
|
3097
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarModal, never>;
|
|
3098
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarModal, "dasar-modal", never, {
|
|
3099
|
+
"open": {
|
|
3100
|
+
"alias": "open";
|
|
3101
|
+
"required": false;
|
|
3102
|
+
};
|
|
3103
|
+
"appearance": {
|
|
3104
|
+
"alias": "appearance";
|
|
3105
|
+
"required": false;
|
|
3106
|
+
};
|
|
3107
|
+
"spacing": {
|
|
3108
|
+
"alias": "spacing";
|
|
3109
|
+
"required": false;
|
|
3110
|
+
};
|
|
3111
|
+
"radius": {
|
|
3112
|
+
"alias": "radius";
|
|
3113
|
+
"required": false;
|
|
3114
|
+
};
|
|
3115
|
+
"size": {
|
|
3116
|
+
"alias": "size";
|
|
3117
|
+
"required": false;
|
|
3118
|
+
};
|
|
3119
|
+
"label": {
|
|
3120
|
+
"alias": "label";
|
|
3121
|
+
"required": false;
|
|
3122
|
+
};
|
|
3123
|
+
"width": {
|
|
3124
|
+
"alias": "width";
|
|
3125
|
+
"required": false;
|
|
3126
|
+
};
|
|
3127
|
+
"containerStyle": {
|
|
3128
|
+
"alias": "container-style";
|
|
3129
|
+
"required": false;
|
|
3130
|
+
};
|
|
3131
|
+
"headerStyle": {
|
|
3132
|
+
"alias": "header-style";
|
|
3133
|
+
"required": false;
|
|
3134
|
+
};
|
|
3135
|
+
"closeStyle": {
|
|
3136
|
+
"alias": "close-style";
|
|
3137
|
+
"required": false;
|
|
3138
|
+
};
|
|
3139
|
+
"bodyStyle": {
|
|
3140
|
+
"alias": "body-style";
|
|
3141
|
+
"required": false;
|
|
3142
|
+
};
|
|
3143
|
+
"actionStyle": {
|
|
3144
|
+
"alias": "action-style";
|
|
3145
|
+
"required": false;
|
|
3146
|
+
};
|
|
3147
|
+
"containerClass": {
|
|
3148
|
+
"alias": "container-class";
|
|
3149
|
+
"required": false;
|
|
3150
|
+
};
|
|
3151
|
+
"headerClass": {
|
|
3152
|
+
"alias": "header-class";
|
|
3153
|
+
"required": false;
|
|
3154
|
+
};
|
|
3155
|
+
"closeClass": {
|
|
3156
|
+
"alias": "close-class";
|
|
3157
|
+
"required": false;
|
|
3158
|
+
};
|
|
3159
|
+
"bodyClass": {
|
|
3160
|
+
"alias": "body-class";
|
|
3161
|
+
"required": false;
|
|
3162
|
+
};
|
|
3163
|
+
"actionClass": {
|
|
3164
|
+
"alias": "action-class";
|
|
3165
|
+
"required": false;
|
|
3166
|
+
};
|
|
3167
|
+
"headerFluid": {
|
|
3168
|
+
"alias": "header-fluid";
|
|
3169
|
+
"required": false;
|
|
3170
|
+
};
|
|
3171
|
+
"bodyFluid": {
|
|
3172
|
+
"alias": "body-fluid";
|
|
3173
|
+
"required": false;
|
|
3174
|
+
};
|
|
3175
|
+
"actionFluid": {
|
|
3176
|
+
"alias": "action-fluid";
|
|
3177
|
+
"required": false;
|
|
3178
|
+
};
|
|
3179
|
+
"fullWidth": {
|
|
3180
|
+
"alias": "full-width";
|
|
3181
|
+
"required": false;
|
|
3182
|
+
};
|
|
3183
|
+
"closable": {
|
|
3184
|
+
"alias": "closable";
|
|
3185
|
+
"required": false;
|
|
3186
|
+
};
|
|
3187
|
+
"closeOnOverlay": {
|
|
3188
|
+
"alias": "close-on-overlay";
|
|
3189
|
+
"required": false;
|
|
3190
|
+
};
|
|
3191
|
+
"closeOnEscape": {
|
|
3192
|
+
"alias": "close-on-escape";
|
|
3193
|
+
"required": false;
|
|
3194
|
+
};
|
|
3195
|
+
"overlayBlur": {
|
|
3196
|
+
"alias": "overlay-blur";
|
|
3197
|
+
"required": false;
|
|
3198
|
+
};
|
|
3199
|
+
"overlayBackground": {
|
|
3200
|
+
"alias": "overlay-background";
|
|
3201
|
+
"required": false;
|
|
3202
|
+
};
|
|
3203
|
+
}, {
|
|
3204
|
+
"onClose": "onClose";
|
|
3205
|
+
}, ["providedHeader", "providedClose", "providedAction"], ["[header-slot]", "[close-slot]", "*", "[action-slot]"], true, never>;
|
|
3206
|
+
static ngAcceptInputType_open: unknown;
|
|
3207
|
+
static ngAcceptInputType_headerFluid: unknown;
|
|
3208
|
+
static ngAcceptInputType_bodyFluid: unknown;
|
|
3209
|
+
static ngAcceptInputType_actionFluid: unknown;
|
|
3210
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
3211
|
+
static ngAcceptInputType_closable: unknown;
|
|
3212
|
+
static ngAcceptInputType_closeOnOverlay: unknown;
|
|
3213
|
+
static ngAcceptInputType_closeOnEscape: unknown;
|
|
3214
|
+
}
|
|
3215
|
+
export declare const DasarModalComponent: readonly [typeof DasarModalHeaderSlot, typeof DasarModalCloseSlot, typeof DasarModalActionSlot, typeof DasarModal];
|
|
3216
|
+
export interface DasarOverlayConfig {
|
|
3217
|
+
blur?: string;
|
|
3218
|
+
background?: string;
|
|
3219
|
+
zIndex?: number;
|
|
3220
|
+
overlayStyle?: StyleType;
|
|
3221
|
+
overlayClass?: ClassType;
|
|
3222
|
+
closeOnClick?: boolean;
|
|
3223
|
+
}
|
|
3224
|
+
export declare class DasarOverlay {
|
|
3225
|
+
private themeProvider;
|
|
3226
|
+
private themeService;
|
|
3227
|
+
blur: string | null;
|
|
3228
|
+
background: string | null;
|
|
3229
|
+
zIndex: number;
|
|
3230
|
+
overlayStyle: NonNullable<StyleType | undefined> | null;
|
|
3231
|
+
overlayClass: NonNullable<ClassType> | null;
|
|
3232
|
+
closeOnClick: NonNullable<boolean | undefined>;
|
|
3233
|
+
onClick: EventEmitter<MouseEvent>;
|
|
3234
|
+
readonly baseClass = true;
|
|
3235
|
+
handleClick(event: MouseEvent): void;
|
|
3236
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarOverlay, never>;
|
|
3237
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarOverlay, "dasar-overlay", never, {
|
|
3238
|
+
"blur": {
|
|
3239
|
+
"alias": "blur";
|
|
3240
|
+
"required": false;
|
|
3241
|
+
};
|
|
3242
|
+
"background": {
|
|
3243
|
+
"alias": "background";
|
|
3244
|
+
"required": false;
|
|
3245
|
+
};
|
|
3246
|
+
"zIndex": {
|
|
3247
|
+
"alias": "z-index";
|
|
3248
|
+
"required": false;
|
|
3249
|
+
};
|
|
3250
|
+
"overlayStyle": {
|
|
3251
|
+
"alias": "overlay-style";
|
|
3252
|
+
"required": false;
|
|
3253
|
+
};
|
|
3254
|
+
"overlayClass": {
|
|
3255
|
+
"alias": "overlay-class";
|
|
3256
|
+
"required": false;
|
|
3257
|
+
};
|
|
3258
|
+
"closeOnClick": {
|
|
3259
|
+
"alias": "close-on-click";
|
|
3260
|
+
"required": false;
|
|
3261
|
+
};
|
|
3262
|
+
}, {
|
|
3263
|
+
"onClick": "onClick";
|
|
3264
|
+
}, never, ["*"], true, never>;
|
|
3265
|
+
static ngAcceptInputType_closeOnClick: unknown;
|
|
3266
|
+
}
|
|
3267
|
+
export declare const DasarOverlayComponent: readonly [typeof DasarOverlay];
|
|
3268
|
+
export declare const DASAR_THEME_PROVIDER: InjectionToken<DasarThemeProviderComponent>;
|
|
3269
|
+
export declare const defaultLightCommonTokens: DasarThemeCommon$1;
|
|
3270
|
+
export declare const defaultDarkCommonTokens: DasarThemeCommon$1;
|
|
3271
|
+
export declare class DasarThemeProviderComponent implements OnChanges {
|
|
3272
|
+
private el;
|
|
3273
|
+
private parentProvider;
|
|
3274
|
+
activeMode: import("@angular/core").WritableSignal<DasarThemeMode$1>;
|
|
3275
|
+
private previouslyInjectedVars;
|
|
3276
|
+
componentConfig?: DasarComponentConfig$1;
|
|
3277
|
+
tokenConfig?: DasarThemeConfig$1['tokens'];
|
|
3278
|
+
colorConfig?: DasarThemeConfig$1['colors'];
|
|
3279
|
+
mode: DasarThemeMode$1;
|
|
3280
|
+
constructor(el: ElementRef);
|
|
3281
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3282
|
+
getResolvedCommonTokens(mode: DasarThemeMode$1): DasarThemeCommon$1;
|
|
3283
|
+
private applyTokenConfig;
|
|
3284
|
+
private injectMappedTokens;
|
|
3285
|
+
private injectColors;
|
|
3286
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarThemeProviderComponent, never>;
|
|
3287
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DasarThemeProviderComponent, "dasar-theme-provider", never, {
|
|
3288
|
+
"componentConfig": {
|
|
3289
|
+
"alias": "componentConfig";
|
|
3290
|
+
"required": false;
|
|
3291
|
+
};
|
|
3292
|
+
"tokenConfig": {
|
|
3293
|
+
"alias": "tokenConfig";
|
|
3294
|
+
"required": false;
|
|
3295
|
+
};
|
|
3296
|
+
"colorConfig": {
|
|
3297
|
+
"alias": "colorConfig";
|
|
3298
|
+
"required": false;
|
|
3299
|
+
};
|
|
3300
|
+
"mode": {
|
|
3301
|
+
"alias": "mode";
|
|
3302
|
+
"required": false;
|
|
3303
|
+
};
|
|
3304
|
+
}, {}, never, ["*"], true, never>;
|
|
3305
|
+
}
|
|
3306
|
+
export declare const commonMap: Record<keyof DasarThemeCommon$1, string>;
|
|
3307
|
+
export declare const buttonMap: Record<keyof DasarThemeButton$1, string>;
|
|
3308
|
+
export declare const buttonGroupMap: Record<keyof DasarThemeButtonGroup$1, string>;
|
|
3309
|
+
export declare const inputMap: Record<keyof DasarThemeInput$1, string>;
|
|
3310
|
+
export declare const calendarMap: Record<keyof DasarThemeCalendar$1, string>;
|
|
3311
|
+
export declare const datepickerMap: Record<keyof DasarThemeDatepicker$1, string>;
|
|
3312
|
+
export declare const chipMap: Record<keyof DasarThemeChip$1, string>;
|
|
3313
|
+
export declare const dividerMap: Record<keyof DasarThemeDivider$1, string>;
|
|
3314
|
+
export declare const selectMap: Record<keyof DasarThemeSelect$1, string>;
|
|
3315
|
+
export declare const cardMap: Record<keyof DasarThemeCard$1, string>;
|
|
3316
|
+
export declare const menuMap: Record<keyof DasarThemeMenu$1, string>;
|
|
3317
|
+
export declare const tableMap: Record<string, string>;
|
|
3318
|
+
export declare const listMap: Record<string, string>;
|
|
3319
|
+
export declare const tabsMap: Record<keyof DasarThemeTabs$1, string>;
|
|
3320
|
+
export declare const overlayMap: Record<keyof DasarThemeOverlay$1, string>;
|
|
3321
|
+
export declare const modalMap: Record<keyof DasarThemeModal$1, string>;
|
|
3322
|
+
export declare class DasarThemeService {
|
|
3323
|
+
private themeState;
|
|
3324
|
+
theme$: Observable<DasarThemeConfig$1>;
|
|
3325
|
+
private initialConfig;
|
|
3326
|
+
private platformId;
|
|
3327
|
+
private document;
|
|
3328
|
+
private renderer;
|
|
3329
|
+
constructor(rendererFactory: RendererFactory2);
|
|
3330
|
+
setGlobalTheme(config: DasarThemeConfig$1, targetElement?: HTMLElement): void;
|
|
3331
|
+
themeVariable(): DasarThemeConfig$1;
|
|
3332
|
+
rawThemeVariable(): DasarThemeConfig$1;
|
|
3333
|
+
private injectMappedTokens;
|
|
3334
|
+
private injectColors;
|
|
3335
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DasarThemeService, never>;
|
|
3336
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
3337
|
+
}
|
|
3338
|
+
export declare function fieldIconSize(size: string | number | null | undefined): number;
|
|
3339
|
+
export type DasarThemeMode = 'light' | 'dark';
|
|
3340
|
+
export interface DasarThemeScale {
|
|
3341
|
+
50?: string;
|
|
3342
|
+
100?: string;
|
|
3343
|
+
200?: string;
|
|
3344
|
+
300?: string;
|
|
3345
|
+
400?: string;
|
|
3346
|
+
500?: string;
|
|
3347
|
+
700?: string;
|
|
3348
|
+
800?: string;
|
|
3349
|
+
900?: string;
|
|
3350
|
+
base: string;
|
|
3351
|
+
}
|
|
3352
|
+
export interface DasarThemeColors {
|
|
3353
|
+
primary: DasarThemeScale;
|
|
3354
|
+
neutral: DasarThemeScale;
|
|
3355
|
+
success: DasarThemeScale;
|
|
3356
|
+
danger: DasarThemeScale;
|
|
3357
|
+
warning: DasarThemeScale;
|
|
3358
|
+
}
|
|
3359
|
+
export interface DasarThemeCommon {
|
|
3360
|
+
primaryColor?: string;
|
|
3361
|
+
primaryHoverColor?: string;
|
|
3362
|
+
primaryActiveColor?: string;
|
|
3363
|
+
primarySurfaceColor?: string;
|
|
3364
|
+
textPrimaryColor?: string;
|
|
3365
|
+
textSecondaryColor?: string;
|
|
3366
|
+
textDisabledColor?: string;
|
|
3367
|
+
textInverseColor?: string;
|
|
3368
|
+
bgWindowColor?: string;
|
|
3369
|
+
bgDefaultColor?: string;
|
|
3370
|
+
bgSurfaceColor?: string;
|
|
3371
|
+
bgHoverColor?: string;
|
|
3372
|
+
borderSubtleColor?: string;
|
|
3373
|
+
borderStrongColor?: string;
|
|
3374
|
+
fontSans?: string;
|
|
3375
|
+
fontHero?: string;
|
|
3376
|
+
fontWeightRegular?: string;
|
|
3377
|
+
fontWeightMedium?: string;
|
|
3378
|
+
fontWeightSemibold?: string;
|
|
3379
|
+
fontWeightBold?: string;
|
|
3380
|
+
fontSizeXss?: string;
|
|
3381
|
+
fontSizeXs?: string;
|
|
3382
|
+
fontSizeSm?: string;
|
|
3383
|
+
fontSizeBase?: string;
|
|
3384
|
+
fontSizeLg?: string;
|
|
3385
|
+
fontSizeXl?: string;
|
|
3386
|
+
lineHeightNormal?: string;
|
|
3387
|
+
lineHeightTight?: string;
|
|
3388
|
+
}
|
|
3389
|
+
export interface DasarThemeCommonDark {
|
|
3390
|
+
primaryColor?: string;
|
|
3391
|
+
primaryHoverColor?: string;
|
|
3392
|
+
primaryActiveColor?: string;
|
|
3393
|
+
primarySurfaceColor?: string;
|
|
3394
|
+
textPrimaryColor?: string;
|
|
3395
|
+
textSecondaryColor?: string;
|
|
3396
|
+
textDisabledColor?: string;
|
|
3397
|
+
textInverseColor?: string;
|
|
3398
|
+
bgWindowColor?: string;
|
|
3399
|
+
bgDefaultColor?: string;
|
|
3400
|
+
bgSurfaceColor?: string;
|
|
3401
|
+
bgHoverColor?: string;
|
|
3402
|
+
borderSubtleColor?: string;
|
|
3403
|
+
borderStrongColor?: string;
|
|
3404
|
+
fontSans?: string;
|
|
3405
|
+
fontHero?: string;
|
|
3406
|
+
fontSize?: string;
|
|
3407
|
+
fontWeightRegular?: string;
|
|
3408
|
+
fontWeightMedium?: string;
|
|
3409
|
+
fontWeightSemibold?: string;
|
|
3410
|
+
fontWeightBold?: string;
|
|
3411
|
+
fontSizeXss?: string;
|
|
3412
|
+
fontSizeXs?: string;
|
|
3413
|
+
fontSizeSm?: string;
|
|
3414
|
+
fontSizeBase?: string;
|
|
3415
|
+
fontSizeLg?: string;
|
|
3416
|
+
fontSizeXl?: string;
|
|
3417
|
+
lineHeightNormal?: string;
|
|
3418
|
+
lineHeightTight?: string;
|
|
3419
|
+
}
|
|
3420
|
+
export interface DasarThemeButton {
|
|
3421
|
+
fontWeight?: string;
|
|
3422
|
+
gap?: string;
|
|
3423
|
+
heightXs?: string;
|
|
3424
|
+
paddingHorizontalXs?: string;
|
|
3425
|
+
iconSizeXs?: string;
|
|
3426
|
+
heightSm?: string;
|
|
3427
|
+
paddingHorizontalSm?: string;
|
|
3428
|
+
iconSizeSm?: string;
|
|
3429
|
+
heightMd?: string;
|
|
3430
|
+
paddingHorizontalMd?: string;
|
|
3431
|
+
iconSizeMd?: string;
|
|
3432
|
+
heightLg?: string;
|
|
3433
|
+
paddingHorizontalLg?: string;
|
|
3434
|
+
iconSizeLg?: string;
|
|
3435
|
+
heightXl?: string;
|
|
3436
|
+
paddingHorizontalXl?: string;
|
|
3437
|
+
iconSizeXl?: string;
|
|
3438
|
+
radiusNone?: string;
|
|
3439
|
+
radiusXs?: string;
|
|
3440
|
+
radiusSm?: string;
|
|
3441
|
+
radiusMd?: string;
|
|
3442
|
+
radiusLg?: string;
|
|
3443
|
+
radiusXl?: string;
|
|
3444
|
+
radiusFull?: string;
|
|
3445
|
+
disabledBg?: string;
|
|
3446
|
+
disabledBorder?: string;
|
|
3447
|
+
disabledColor?: string;
|
|
3448
|
+
primaryBg?: string;
|
|
3449
|
+
primaryBorder?: string;
|
|
3450
|
+
primaryColor?: string;
|
|
3451
|
+
primaryHoverBg?: string;
|
|
3452
|
+
primaryHoverBorder?: string;
|
|
3453
|
+
primaryFocusRing?: string;
|
|
3454
|
+
primarySubtleBg?: string;
|
|
3455
|
+
primarySubtleColor?: string;
|
|
3456
|
+
primarySubtleHoverBg?: string;
|
|
3457
|
+
primarySubtleHoverColor?: string;
|
|
3458
|
+
primaryOutlineBorder?: string;
|
|
3459
|
+
primaryOutlineColor?: string;
|
|
3460
|
+
primaryOutlineHoverBg?: string;
|
|
3461
|
+
successBg?: string;
|
|
3462
|
+
successBorder?: string;
|
|
3463
|
+
successColor?: string;
|
|
3464
|
+
successFocusRing?: string;
|
|
3465
|
+
successSubtleBg?: string;
|
|
3466
|
+
successSubtleColor?: string;
|
|
3467
|
+
successSubtleHoverBg?: string;
|
|
3468
|
+
successSubtleHoverColor?: string;
|
|
3469
|
+
successOutlineBorder?: string;
|
|
3470
|
+
successOutlineColor?: string;
|
|
3471
|
+
successOutlineHoverBg?: string;
|
|
3472
|
+
warningBg?: string;
|
|
3473
|
+
warningBorder?: string;
|
|
3474
|
+
warningColor?: string;
|
|
3475
|
+
warningFocusRing?: string;
|
|
3476
|
+
warningSubtleBg?: string;
|
|
3477
|
+
warningSubtleColor?: string;
|
|
3478
|
+
warningSubtleHoverBg?: string;
|
|
3479
|
+
warningSubtleHoverColor?: string;
|
|
3480
|
+
warningOutlineBorder?: string;
|
|
3481
|
+
warningOutlineColor?: string;
|
|
3482
|
+
warningOutlineHoverBg?: string;
|
|
3483
|
+
dangerBg?: string;
|
|
3484
|
+
dangerBorder?: string;
|
|
3485
|
+
dangerColor?: string;
|
|
3486
|
+
dangerFocusRing?: string;
|
|
3487
|
+
dangerSubtleBg?: string;
|
|
3488
|
+
dangerSubtleColor?: string;
|
|
3489
|
+
dangerSubtleHoverBg?: string;
|
|
3490
|
+
dangerSubtleHoverColor?: string;
|
|
3491
|
+
dangerOutlineBorder?: string;
|
|
3492
|
+
dangerOutlineColor?: string;
|
|
3493
|
+
dangerOutlineHoverBg?: string;
|
|
3494
|
+
secondaryBg?: string;
|
|
3495
|
+
secondaryBorder?: string;
|
|
3496
|
+
secondaryColor?: string;
|
|
3497
|
+
secondaryHoverBg?: string;
|
|
3498
|
+
secondaryFocusRing?: string;
|
|
3499
|
+
secondarySubtleBg?: string;
|
|
3500
|
+
secondarySubtleColor?: string;
|
|
3501
|
+
secondarySubtleHoverBg?: string;
|
|
3502
|
+
secondarySubtleHoverColor?: string;
|
|
3503
|
+
secondaryOutlineBorder?: string;
|
|
3504
|
+
secondaryOutlineColor?: string;
|
|
3505
|
+
secondaryOutlineHoverBg?: string;
|
|
3506
|
+
ghostColor?: string;
|
|
3507
|
+
ghostHoverBg?: string;
|
|
3508
|
+
ghostHoverColor?: string;
|
|
3509
|
+
ghostFocusRing?: string;
|
|
3510
|
+
}
|
|
3511
|
+
export interface DasarThemeButtonGroup {
|
|
3512
|
+
gap?: string;
|
|
3513
|
+
radius?: string;
|
|
3514
|
+
dividerColor?: string;
|
|
3515
|
+
focusZIndex?: string;
|
|
3516
|
+
}
|
|
3517
|
+
export interface DasarThemeDivider {
|
|
3518
|
+
color?: string;
|
|
3519
|
+
thickness?: string;
|
|
3520
|
+
spacing?: string;
|
|
3521
|
+
dashStyle?: string;
|
|
3522
|
+
labelColor?: string;
|
|
3523
|
+
labelFontSize?: string;
|
|
3524
|
+
labelGap?: string;
|
|
3525
|
+
labelOffset?: string;
|
|
3526
|
+
verticalMinHeight?: string;
|
|
3527
|
+
}
|
|
3528
|
+
export interface DasarThemeChip {
|
|
3529
|
+
closeMarginRight?: string;
|
|
3530
|
+
closeMarginLeft?: string;
|
|
3531
|
+
closePadding?: string;
|
|
3532
|
+
closeHoverBg?: string;
|
|
3533
|
+
innerGap?: string;
|
|
3534
|
+
}
|
|
3535
|
+
export interface DasarThemeInput {
|
|
3536
|
+
wrapperGap?: string;
|
|
3537
|
+
gap?: string;
|
|
3538
|
+
color?: string;
|
|
3539
|
+
labelFontsize?: string;
|
|
3540
|
+
labelFontWeight?: string;
|
|
3541
|
+
labelColor?: string;
|
|
3542
|
+
labelRightFontsize?: string;
|
|
3543
|
+
labelRightColor?: string;
|
|
3544
|
+
heightXs?: string;
|
|
3545
|
+
paddingHorizontalXs?: string;
|
|
3546
|
+
heightSm?: string;
|
|
3547
|
+
paddingHorizontalSm?: string;
|
|
3548
|
+
heightMd?: string;
|
|
3549
|
+
paddingHorizontalMd?: string;
|
|
3550
|
+
heightLg?: string;
|
|
3551
|
+
paddingHorizontalLg?: string;
|
|
3552
|
+
heightXl?: string;
|
|
3553
|
+
paddingHorizontalXl?: string;
|
|
3554
|
+
radiusNone?: string;
|
|
3555
|
+
radiusXs?: string;
|
|
3556
|
+
radiusSm?: string;
|
|
3557
|
+
radiusMd?: string;
|
|
3558
|
+
radiusLg?: string;
|
|
3559
|
+
radiusXl?: string;
|
|
3560
|
+
radiusFull?: string;
|
|
3561
|
+
outlineBg?: string;
|
|
3562
|
+
outlineBorder?: string;
|
|
3563
|
+
outlineHoverBorder?: string;
|
|
3564
|
+
outlineFocusBorder?: string;
|
|
3565
|
+
outlineFocusRing?: string;
|
|
3566
|
+
filledBg?: string;
|
|
3567
|
+
filledBorder?: string;
|
|
3568
|
+
filledHoverBg?: string;
|
|
3569
|
+
filledFocusBg?: string;
|
|
3570
|
+
filledFocusBorder?: string;
|
|
3571
|
+
filledFocusRing?: string;
|
|
3572
|
+
errorBorder?: string;
|
|
3573
|
+
errorFocusRing?: string;
|
|
3574
|
+
disabledBg?: string;
|
|
3575
|
+
disabledBorder?: string;
|
|
3576
|
+
disabledOpacity?: string;
|
|
3577
|
+
placeholderColor?: string;
|
|
3578
|
+
autofillBg?: string;
|
|
3579
|
+
autofillColor?: string;
|
|
3580
|
+
hintFontSize?: string;
|
|
3581
|
+
hintColor?: string;
|
|
3582
|
+
hintErrorColor?: string;
|
|
3583
|
+
}
|
|
3584
|
+
export interface DasarThemeCalendar {
|
|
3585
|
+
calendarBg?: string;
|
|
3586
|
+
outlineBorder?: string;
|
|
3587
|
+
outlineBg?: string;
|
|
3588
|
+
padding?: string;
|
|
3589
|
+
paddingMd?: string;
|
|
3590
|
+
radiusNone?: string;
|
|
3591
|
+
radiusXs?: string;
|
|
3592
|
+
radiusSm?: string;
|
|
3593
|
+
radiusMd?: string;
|
|
3594
|
+
radiusLg?: string;
|
|
3595
|
+
radiusXl?: string;
|
|
3596
|
+
radiusFull?: string;
|
|
3597
|
+
headerMarginBottom?: string;
|
|
3598
|
+
headerGap?: string;
|
|
3599
|
+
titleGap?: string;
|
|
3600
|
+
chevronColor?: string;
|
|
3601
|
+
titleFontWeight?: string;
|
|
3602
|
+
titleColor?: string;
|
|
3603
|
+
titleFontSize?: string;
|
|
3604
|
+
actionsGap?: string;
|
|
3605
|
+
gridBorder?: string;
|
|
3606
|
+
gridRadiusNone?: string;
|
|
3607
|
+
gridRadiusXs?: string;
|
|
3608
|
+
gridRadiusSm?: string;
|
|
3609
|
+
gridRadiusMd?: string;
|
|
3610
|
+
gridRadiusLg?: string;
|
|
3611
|
+
gridRadiusXl?: string;
|
|
3612
|
+
gridRadiusFull?: string;
|
|
3613
|
+
weekdayFontWeight?: string;
|
|
3614
|
+
weekdayColor?: string;
|
|
3615
|
+
weekdayPaddingBottom?: string;
|
|
3616
|
+
weekdayFontSize?: string;
|
|
3617
|
+
cellBg?: string;
|
|
3618
|
+
otherMonthBg?: string;
|
|
3619
|
+
dashboardCellPadding?: string;
|
|
3620
|
+
dashboardCellMinHeight?: string;
|
|
3621
|
+
dashboardCellPaddingSm?: string;
|
|
3622
|
+
dashboardCellMinHeightSm?: string;
|
|
3623
|
+
dashboardCellPaddingMd?: string;
|
|
3624
|
+
dashboardCellMinHeightMd?: string;
|
|
3625
|
+
dashboardCellHoverBg?: string;
|
|
3626
|
+
dashboardBoxSize?: string;
|
|
3627
|
+
todayColor?: string;
|
|
3628
|
+
todayBg?: string;
|
|
3629
|
+
selectedIndicator?: string;
|
|
3630
|
+
dashboardSelectedBg?: string;
|
|
3631
|
+
dropdownCellHeight?: string;
|
|
3632
|
+
dropdownCellHoverBg?: string;
|
|
3633
|
+
dropdownNumberFontWeight?: string;
|
|
3634
|
+
dropdownNumberColor?: string;
|
|
3635
|
+
dropdownNumberFontSize?: string;
|
|
3636
|
+
dropdownBoxSize?: string;
|
|
3637
|
+
dropdownOtherMonthColor?: string;
|
|
3638
|
+
dropdownSelectedBg?: string;
|
|
3639
|
+
dropdownSelectedColor?: string;
|
|
3640
|
+
dropdownSelectedFontWeight?: string;
|
|
3641
|
+
dropdownTodayBorder?: string;
|
|
3642
|
+
dropdownTodayColor?: string;
|
|
3643
|
+
pickerBorder?: string;
|
|
3644
|
+
pickerBg?: string;
|
|
3645
|
+
pickerRadius?: string;
|
|
3646
|
+
pickerMaxHeight?: string;
|
|
3647
|
+
pickerCellBorder?: string;
|
|
3648
|
+
pickerCellFontWeight?: string;
|
|
3649
|
+
pickerCellColor?: string;
|
|
3650
|
+
pickerCellBg?: string;
|
|
3651
|
+
pickerCellRadius?: string;
|
|
3652
|
+
pickerCellHeight?: string;
|
|
3653
|
+
pickerCellHoverBg?: string;
|
|
3654
|
+
pickerCellHoverBorder?: string;
|
|
3655
|
+
pickerSelectedBg?: string;
|
|
3656
|
+
pickerSelectedColor?: string;
|
|
3657
|
+
pickerSelectedBorder?: string;
|
|
3658
|
+
pickerSelectedFontWeight?: string;
|
|
3659
|
+
}
|
|
3660
|
+
export interface DasarThemeDatepicker {
|
|
3661
|
+
disabledOpacity?: string;
|
|
3662
|
+
disabledBg?: string;
|
|
3663
|
+
wrapperGap?: string;
|
|
3664
|
+
errorBorder?: string;
|
|
3665
|
+
errorFocusRing?: string;
|
|
3666
|
+
labelFontsize?: string;
|
|
3667
|
+
labelFontWeight?: string;
|
|
3668
|
+
labelColor?: string;
|
|
3669
|
+
labelMarginBottom?: string;
|
|
3670
|
+
labelRightFontsize?: string;
|
|
3671
|
+
labelRightFontWeight?: string;
|
|
3672
|
+
labelRightColor?: string;
|
|
3673
|
+
hintFontSize?: string;
|
|
3674
|
+
hintColor?: string;
|
|
3675
|
+
hintErrorColor?: string;
|
|
3676
|
+
triggerColor?: string;
|
|
3677
|
+
gap?: string;
|
|
3678
|
+
radiusSm?: string;
|
|
3679
|
+
triggerValueColor?: string;
|
|
3680
|
+
iconColor?: string;
|
|
3681
|
+
clearIconColor?: string;
|
|
3682
|
+
heightXs?: string;
|
|
3683
|
+
paddingHorizontalXs?: string;
|
|
3684
|
+
heightSm?: string;
|
|
3685
|
+
paddingHorizontalSm?: string;
|
|
3686
|
+
heightMd?: string;
|
|
3687
|
+
paddingHorizontalMd?: string;
|
|
3688
|
+
heightLg?: string;
|
|
3689
|
+
paddingHorizontalLg?: string;
|
|
3690
|
+
heightXl?: string;
|
|
3691
|
+
paddingHorizontalXl?: string;
|
|
3692
|
+
radiusNone?: string;
|
|
3693
|
+
radiusXs?: string;
|
|
3694
|
+
radiusMd?: string;
|
|
3695
|
+
radiusLg?: string;
|
|
3696
|
+
radiusXl?: string;
|
|
3697
|
+
radiusFull?: string;
|
|
3698
|
+
outlineBg?: string;
|
|
3699
|
+
outlineBorder?: string;
|
|
3700
|
+
outlineHoverBorder?: string;
|
|
3701
|
+
outlineFocusBorder?: string;
|
|
3702
|
+
outlineFocusRing?: string;
|
|
3703
|
+
filledBg?: string;
|
|
3704
|
+
filledBorder?: string;
|
|
3705
|
+
filledHoverBg?: string;
|
|
3706
|
+
filledFocusBg?: string;
|
|
3707
|
+
filledFocusBorder?: string;
|
|
3708
|
+
filledFocusRing?: string;
|
|
3709
|
+
subtleBg?: string;
|
|
3710
|
+
subtleBorder?: string;
|
|
3711
|
+
subtleHoverBg?: string;
|
|
3712
|
+
subtleFocusBg?: string;
|
|
3713
|
+
dropdownShadow?: string;
|
|
3714
|
+
dropdownBg?: string;
|
|
3715
|
+
dropdownBorder?: string;
|
|
3716
|
+
dropdownRadius?: string;
|
|
3717
|
+
dropdownZIndex?: string;
|
|
3718
|
+
dropdownWidth?: string;
|
|
3719
|
+
}
|
|
3720
|
+
export interface DasarThemeSelect {
|
|
3721
|
+
wrapperGap?: string;
|
|
3722
|
+
labelFontsize?: string;
|
|
3723
|
+
labelFontWeight?: string;
|
|
3724
|
+
labelColor?: string;
|
|
3725
|
+
labelRightFontsize?: string;
|
|
3726
|
+
labelRightColor?: string;
|
|
3727
|
+
paddingLeft?: string;
|
|
3728
|
+
radiusSm?: string;
|
|
3729
|
+
gap?: string;
|
|
3730
|
+
color?: string;
|
|
3731
|
+
outlineBg?: string;
|
|
3732
|
+
outlineBorder?: string;
|
|
3733
|
+
outlineHoverBorder?: string;
|
|
3734
|
+
outlineFocusBorder?: string;
|
|
3735
|
+
outlineFocusRing?: string;
|
|
3736
|
+
filledBg?: string;
|
|
3737
|
+
filledBorder?: string;
|
|
3738
|
+
filledHoverBg?: string;
|
|
3739
|
+
filledFocusBg?: string;
|
|
3740
|
+
filledFocusBorder?: string;
|
|
3741
|
+
filledFocusRing?: string;
|
|
3742
|
+
errorBorder?: string;
|
|
3743
|
+
errorFocusRing?: string;
|
|
3744
|
+
disabledBg?: string;
|
|
3745
|
+
disabledBorder?: string;
|
|
3746
|
+
disabledOpacity?: string;
|
|
3747
|
+
heightXs?: string;
|
|
3748
|
+
paddingHorizontalXs?: string;
|
|
3749
|
+
heightSm?: string;
|
|
3750
|
+
paddingHorizontalSm?: string;
|
|
3751
|
+
heightMd?: string;
|
|
3752
|
+
paddingHorizontalMd?: string;
|
|
3753
|
+
heightLg?: string;
|
|
3754
|
+
paddingHorizontalLg?: string;
|
|
3755
|
+
heightXl?: string;
|
|
3756
|
+
paddingHorizontalXl?: string;
|
|
3757
|
+
radiusNone?: string;
|
|
3758
|
+
radiusXs?: string;
|
|
3759
|
+
radiusMd?: string;
|
|
3760
|
+
radiusLg?: string;
|
|
3761
|
+
radiusXl?: string;
|
|
3762
|
+
radiusFull?: string;
|
|
3763
|
+
valueColor?: string;
|
|
3764
|
+
placeholderColor?: string;
|
|
3765
|
+
searchColor?: string;
|
|
3766
|
+
searchPlaceholderColor?: string;
|
|
3767
|
+
loaderColor?: string;
|
|
3768
|
+
arrowColor?: string;
|
|
3769
|
+
dropdownMaxHeight?: string;
|
|
3770
|
+
dropdownBg?: string;
|
|
3771
|
+
dropdownBorder?: string;
|
|
3772
|
+
dropdownRadius?: string;
|
|
3773
|
+
dropdownShadow?: string;
|
|
3774
|
+
dropdownZIndex?: string;
|
|
3775
|
+
optionPaddingY?: string;
|
|
3776
|
+
optionPaddingX?: string;
|
|
3777
|
+
optionFontSize?: string;
|
|
3778
|
+
optionColor?: string;
|
|
3779
|
+
optionHoverBg?: string;
|
|
3780
|
+
optionSelectedBg?: string;
|
|
3781
|
+
optionSelectedColor?: string;
|
|
3782
|
+
optionSelectedFontWeight?: string;
|
|
3783
|
+
optionDisabledColor?: string;
|
|
3784
|
+
stateColor?: string;
|
|
3785
|
+
hintFontSize?: string;
|
|
3786
|
+
hintColor?: string;
|
|
3787
|
+
hintErrorColor?: string;
|
|
3788
|
+
}
|
|
3789
|
+
export interface DasarThemeCard {
|
|
3790
|
+
background?: string;
|
|
3791
|
+
outlineBorder?: string;
|
|
3792
|
+
elevatedBorder?: string;
|
|
3793
|
+
elevatedShadow?: string;
|
|
3794
|
+
radiusNone?: string;
|
|
3795
|
+
radiusXs?: string;
|
|
3796
|
+
radiusSm?: string;
|
|
3797
|
+
radiusMd?: string;
|
|
3798
|
+
radiusLg?: string;
|
|
3799
|
+
radiusXl?: string;
|
|
3800
|
+
radiusFull?: string;
|
|
3801
|
+
normalHeaderPaddingVertical?: string;
|
|
3802
|
+
normalHeaderPaddingHorizontal?: string;
|
|
3803
|
+
normalBodyPaddingVertical?: string;
|
|
3804
|
+
normalBodyPaddingHorizontal?: string;
|
|
3805
|
+
normalActionsPadding?: string;
|
|
3806
|
+
compactHeaderPadding?: string;
|
|
3807
|
+
compactBodyPadding?: string;
|
|
3808
|
+
compactActionsPadding?: string;
|
|
3809
|
+
fontSizeSm?: string;
|
|
3810
|
+
fontSizeMd?: string;
|
|
3811
|
+
fontSizeLg?: string;
|
|
3812
|
+
headerBorder?: string;
|
|
3813
|
+
titleColor?: string;
|
|
3814
|
+
titleFontWeight?: string;
|
|
3815
|
+
bodyColor?: string;
|
|
3816
|
+
captionColor?: string;
|
|
3817
|
+
captionFontSize?: string;
|
|
3818
|
+
actionsBackground?: string;
|
|
3819
|
+
actionsGap?: string;
|
|
3820
|
+
}
|
|
3821
|
+
export interface DasarThemeTable {
|
|
3822
|
+
radius?: string;
|
|
3823
|
+
background?: string;
|
|
3824
|
+
outlineBorder?: string;
|
|
3825
|
+
filledBackground?: string;
|
|
3826
|
+
filledBorder?: string;
|
|
3827
|
+
filledRowBorder?: string;
|
|
3828
|
+
filledRowBackground?: string;
|
|
3829
|
+
elevatedBorder?: string;
|
|
3830
|
+
elevatedShadow?: string;
|
|
3831
|
+
radiusNone?: string;
|
|
3832
|
+
borderlessBackground?: string;
|
|
3833
|
+
fontSizeSm?: string;
|
|
3834
|
+
fontSizeMd?: string;
|
|
3835
|
+
fontSizeLg?: string;
|
|
3836
|
+
compactPaddingVertical?: string;
|
|
3837
|
+
compactPaddingHorizontal?: string;
|
|
3838
|
+
normalPaddingVertical?: string;
|
|
3839
|
+
normalPaddingHorizontal?: string;
|
|
3840
|
+
relaxedPaddingVertical?: string;
|
|
3841
|
+
relaxedPaddingHorizontal?: string;
|
|
3842
|
+
color?: string;
|
|
3843
|
+
headerBackground?: string;
|
|
3844
|
+
headerFontWeight?: string;
|
|
3845
|
+
headerColor?: string;
|
|
3846
|
+
headerHoverBackground?: string;
|
|
3847
|
+
headerContentGap?: string;
|
|
3848
|
+
sortIndicatorSize?: string;
|
|
3849
|
+
sortActiveColor?: string;
|
|
3850
|
+
rowBorder?: string;
|
|
3851
|
+
rowHoverBackground?: string;
|
|
3852
|
+
rowHoverIndicatorWidth?: string;
|
|
3853
|
+
rowHoverIndicatorColor?: string;
|
|
3854
|
+
stripeBackground?: string;
|
|
3855
|
+
expandBtnColor?: string;
|
|
3856
|
+
expandBtnRadius?: string;
|
|
3857
|
+
expandBtnHoverBackground?: string;
|
|
3858
|
+
expandBtnHoverColor?: string;
|
|
3859
|
+
stateCellPadding?: string;
|
|
3860
|
+
stateContentGap?: string;
|
|
3861
|
+
stateContentColor?: string;
|
|
3862
|
+
spinnerTrack?: string;
|
|
3863
|
+
spinnerColor?: string;
|
|
3864
|
+
emptyContentGap?: string;
|
|
3865
|
+
emptyTitleFontWeight?: string;
|
|
3866
|
+
emptyTitleColor?: string;
|
|
3867
|
+
emptyTitleFontSize?: string;
|
|
3868
|
+
emptyDescColor?: string;
|
|
3869
|
+
emptyDescFontSize?: string;
|
|
3870
|
+
paginationPaddingVertical?: string;
|
|
3871
|
+
paginationPaddingHorizontal?: string;
|
|
3872
|
+
paginationBorder?: string;
|
|
3873
|
+
paginationBackground?: string;
|
|
3874
|
+
}
|
|
3875
|
+
export interface DasarThemeMenu {
|
|
3876
|
+
triggerPaddingHorizontal?: string;
|
|
3877
|
+
triggerGap?: string;
|
|
3878
|
+
outlineBorder?: string;
|
|
3879
|
+
outlineBackground?: string;
|
|
3880
|
+
outlineHoverBorder?: string;
|
|
3881
|
+
outlineFocusBorder?: string;
|
|
3882
|
+
outlineFocusRing?: string;
|
|
3883
|
+
filledBorder?: string;
|
|
3884
|
+
filledBackground?: string;
|
|
3885
|
+
filledHoverBackground?: string;
|
|
3886
|
+
filledFocusBackground?: string;
|
|
3887
|
+
filledFocusBorder?: string;
|
|
3888
|
+
filledFocusRing?: string;
|
|
3889
|
+
disabledOpacity?: string;
|
|
3890
|
+
heightSm?: string;
|
|
3891
|
+
fontSizeSm?: string;
|
|
3892
|
+
heightMd?: string;
|
|
3893
|
+
fontSizeMd?: string;
|
|
3894
|
+
heightLg?: string;
|
|
3895
|
+
fontSizeLg?: string;
|
|
3896
|
+
radiusNone?: string;
|
|
3897
|
+
radiusXs?: string;
|
|
3898
|
+
radiusSm?: string;
|
|
3899
|
+
radiusMd?: string;
|
|
3900
|
+
radiusLg?: string;
|
|
3901
|
+
radiusXl?: string;
|
|
3902
|
+
radiusFull?: string;
|
|
3903
|
+
panelMinWidth?: string;
|
|
3904
|
+
panelBackground?: string;
|
|
3905
|
+
panelBorder?: string;
|
|
3906
|
+
panelRadius?: string;
|
|
3907
|
+
panelShadow?: string;
|
|
3908
|
+
panelPadding?: string;
|
|
3909
|
+
panelZIndex?: string;
|
|
3910
|
+
panelOffset?: string;
|
|
3911
|
+
itemGap?: string;
|
|
3912
|
+
itemPaddingVertical?: string;
|
|
3913
|
+
itemPaddingHorizontal?: string;
|
|
3914
|
+
itemFontSize?: string;
|
|
3915
|
+
itemColor?: string;
|
|
3916
|
+
itemRadius?: string;
|
|
3917
|
+
itemHoverBackground?: string;
|
|
3918
|
+
itemHoverColor?: string;
|
|
3919
|
+
itemDisabledColor?: string;
|
|
3920
|
+
dividerHeight?: string;
|
|
3921
|
+
dividerBackground?: string;
|
|
3922
|
+
dividerMarginVertical?: string;
|
|
3923
|
+
}
|
|
3924
|
+
export interface DasarThemeList {
|
|
3925
|
+
background?: string;
|
|
3926
|
+
color?: string;
|
|
3927
|
+
radius?: string;
|
|
3928
|
+
border?: string;
|
|
3929
|
+
fontSizeSm?: string;
|
|
3930
|
+
fontSizeMd?: string;
|
|
3931
|
+
fontSizeLg?: string;
|
|
3932
|
+
divider?: string;
|
|
3933
|
+
hoverBackground?: string;
|
|
3934
|
+
activeBackground?: string;
|
|
3935
|
+
headerPadding?: string;
|
|
3936
|
+
headerFontWeight?: string;
|
|
3937
|
+
headerBorder?: string;
|
|
3938
|
+
headerBackground?: string;
|
|
3939
|
+
footerPadding?: string;
|
|
3940
|
+
footerFontSize?: string;
|
|
3941
|
+
footerColor?: string;
|
|
3942
|
+
footerBorder?: string;
|
|
3943
|
+
footerBackground?: string;
|
|
3944
|
+
itemPadding?: string;
|
|
3945
|
+
prefixColor?: string;
|
|
3946
|
+
suffixColor?: string;
|
|
3947
|
+
}
|
|
3948
|
+
export interface DasarThemeTabs {
|
|
3949
|
+
listPaddingNormal?: string;
|
|
3950
|
+
listPaddingCompact?: string;
|
|
3951
|
+
gapNormal?: string;
|
|
3952
|
+
gapCompact?: string;
|
|
3953
|
+
contentGapNormal?: string;
|
|
3954
|
+
contentGapCompact?: string;
|
|
3955
|
+
listRadiusNone?: string;
|
|
3956
|
+
listRadiusXs?: string;
|
|
3957
|
+
listRadiusSm?: string;
|
|
3958
|
+
listRadiusMd?: string;
|
|
3959
|
+
listRadiusLg?: string;
|
|
3960
|
+
listRadiusXl?: string;
|
|
3961
|
+
listRadiusFull?: string;
|
|
3962
|
+
scrollGap?: string;
|
|
3963
|
+
scrollFade?: string;
|
|
3964
|
+
scrollBtnPaddingX?: string;
|
|
3965
|
+
}
|
|
3966
|
+
export interface DasarThemeOverlay {
|
|
3967
|
+
background?: string;
|
|
3968
|
+
blur?: string;
|
|
3969
|
+
}
|
|
3970
|
+
export interface DasarThemeModal {
|
|
3971
|
+
background?: string;
|
|
3972
|
+
bodyColor?: string;
|
|
3973
|
+
titleColor?: string;
|
|
3974
|
+
titleFontWeight?: string;
|
|
3975
|
+
headerBorder?: string;
|
|
3976
|
+
actionsBackground?: string;
|
|
3977
|
+
actionsBorder?: string;
|
|
3978
|
+
actionsGap?: string;
|
|
3979
|
+
outlineBorder?: string;
|
|
3980
|
+
elevatedBorder?: string;
|
|
3981
|
+
elevatedShadow?: string;
|
|
3982
|
+
widthSm?: string;
|
|
3983
|
+
widthMd?: string;
|
|
3984
|
+
widthLg?: string;
|
|
3985
|
+
fontSizeXs?: string;
|
|
3986
|
+
fontSizeSm?: string;
|
|
3987
|
+
fontSizeMd?: string;
|
|
3988
|
+
fontSizeLg?: string;
|
|
3989
|
+
fontSizeXl?: string;
|
|
3990
|
+
radiusNone?: string;
|
|
3991
|
+
radiusXs?: string;
|
|
3992
|
+
radiusSm?: string;
|
|
3993
|
+
radiusMd?: string;
|
|
3994
|
+
radiusLg?: string;
|
|
3995
|
+
radiusXl?: string;
|
|
3996
|
+
radiusFull?: string;
|
|
3997
|
+
compactHeaderPadding?: string;
|
|
3998
|
+
compactBodyPadding?: string;
|
|
3999
|
+
compactActionsPadding?: string;
|
|
4000
|
+
normalHeaderPaddingHorizontal?: string;
|
|
4001
|
+
normalHeaderPaddingVertical?: string;
|
|
4002
|
+
normalBodyPaddingHorizontal?: string;
|
|
4003
|
+
normalBodyPaddingVertical?: string;
|
|
4004
|
+
normalActionsPadding?: string;
|
|
4005
|
+
}
|
|
4006
|
+
export interface DasarComponentCommonConfig {
|
|
4007
|
+
size?: Extract<ScaleAttributeType$1, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
4008
|
+
radius?: ScaleAttributeType$1;
|
|
4009
|
+
}
|
|
4010
|
+
export type DasarComponentConfig = {
|
|
4011
|
+
common?: DasarComponentCommonConfig;
|
|
4012
|
+
} & {
|
|
4013
|
+
numberInput?: DasarNumberInputConfig;
|
|
4014
|
+
datepicker?: DasarDatepickerConfig;
|
|
4015
|
+
calendar?: DasarCalendarConfig;
|
|
4016
|
+
select?: DasarSelectConfig;
|
|
4017
|
+
button?: DasarButtonConfig;
|
|
4018
|
+
buttonGroup?: DasarButtonGroupConfig;
|
|
4019
|
+
input?: DasarInputConfig;
|
|
4020
|
+
card?: DasarCardConfig;
|
|
4021
|
+
chip?: DasarChipConfig;
|
|
4022
|
+
divider?: DasarDividerConfig;
|
|
4023
|
+
modal?: DasarModalConfig;
|
|
4024
|
+
overlay?: DasarOverlayConfig;
|
|
4025
|
+
icon?: DasarIconConfig;
|
|
4026
|
+
menu?: DasarMenuConfig;
|
|
4027
|
+
table?: DasarTableConfig;
|
|
4028
|
+
tabs?: DasarTabsConfig;
|
|
4029
|
+
list?: DasarListConfig$1;
|
|
4030
|
+
listItem?: DasarListItemConfig$1;
|
|
4031
|
+
};
|
|
4032
|
+
export interface DasarThemeConfig {
|
|
4033
|
+
mode: DasarThemeMode;
|
|
4034
|
+
colors?: DasarThemeColors;
|
|
4035
|
+
components?: DasarComponentConfig;
|
|
4036
|
+
tokens?: {
|
|
4037
|
+
light?: {
|
|
4038
|
+
common?: DasarThemeCommon;
|
|
4039
|
+
button?: DasarThemeButton;
|
|
4040
|
+
buttonGroup?: DasarThemeButtonGroup;
|
|
4041
|
+
input?: DasarThemeInput;
|
|
4042
|
+
calendar?: DasarThemeCalendar;
|
|
4043
|
+
datepicker?: DasarThemeDatepicker;
|
|
4044
|
+
chip?: DasarThemeChip;
|
|
4045
|
+
divider?: DasarThemeDivider;
|
|
4046
|
+
select?: DasarThemeSelect;
|
|
4047
|
+
card?: DasarThemeCard;
|
|
4048
|
+
menu?: DasarThemeMenu;
|
|
4049
|
+
table?: DasarThemeTable;
|
|
4050
|
+
list?: DasarThemeList;
|
|
4051
|
+
tabs?: DasarThemeTabs;
|
|
4052
|
+
overlay?: DasarThemeOverlay;
|
|
4053
|
+
modal?: DasarThemeModal;
|
|
4054
|
+
};
|
|
4055
|
+
dark?: {
|
|
4056
|
+
common?: DasarThemeCommon;
|
|
4057
|
+
button?: DasarThemeButton;
|
|
4058
|
+
buttonGroup?: DasarThemeButtonGroup;
|
|
4059
|
+
input?: DasarThemeInput;
|
|
4060
|
+
calendar?: DasarThemeCalendar;
|
|
4061
|
+
datepicker?: DasarThemeDatepicker;
|
|
4062
|
+
chip?: DasarThemeChip;
|
|
4063
|
+
divider?: DasarThemeDivider;
|
|
4064
|
+
select?: DasarThemeSelect;
|
|
4065
|
+
card?: DasarThemeCard;
|
|
4066
|
+
menu?: DasarThemeMenu;
|
|
4067
|
+
table?: DasarThemeTable;
|
|
4068
|
+
list?: DasarThemeList;
|
|
4069
|
+
tabs?: DasarThemeTabs;
|
|
4070
|
+
overlay?: DasarThemeOverlay;
|
|
4071
|
+
modal?: DasarThemeModal;
|
|
4072
|
+
};
|
|
4073
|
+
};
|
|
4074
|
+
}
|
|
4075
|
+
export {};
|