@sd-angular/core 19.0.0-beta.99 → 19.0.4
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 +9 -11
- package/assets/images/coming-soon.svg +23 -0
- package/assets/images/data-empty.svg +21 -0
- package/assets/images/expired.svg +22 -0
- package/assets/images/file-error.svg +28 -0
- package/assets/images/filter-empty.svg +20 -0
- package/assets/images/filter-required.svg +21 -0
- package/assets/images/forbidden.svg +15 -0
- package/assets/images/image-error.svg +27 -0
- package/assets/images/maintenance.svg +23 -0
- package/assets/images/not-found.svg +20 -0
- package/assets/images/offline.svg +20 -0
- package/assets/images/submitted.svg +18 -0
- package/assets/images/success.svg +18 -0
- package/assets/images/unauthorized.svg +22 -0
- package/assets/images/unknown-error.svg +18 -0
- package/assets/scss/README.md +433 -353
- package/assets/scss/core/_inline-edit.scss +105 -0
- package/assets/scss/core/form.scss +58 -1
- package/assets/scss/core/image.scss +35 -0
- package/assets/scss/core/utilities/_base.scss +6 -6
- package/assets/scss/core/utilities/_grid.scss +4 -3
- package/assets/scss/core/utilities/_index.scss +1 -1
- package/assets/scss/core/utilities/_sizing.scss +2 -2
- package/assets/scss/sd-core.scss +1 -2
- package/components/autoid-inspector/src/autoid-inspector.component.d.ts +18 -0
- package/components/autoid-inspector/src/models/autoid-element.model.d.ts +45 -1
- package/components/autoid-inspector/src/models/autoid-export-format.model.d.ts +19 -0
- package/components/autoid-inspector/src/services/autoid-export.service.d.ts +10 -2
- package/components/autoid-inspector/src/services/autoid-scanner.service.d.ts +26 -3
- package/components/badge/src/badge.component.d.ts +20 -3
- package/components/button/src/button.component.d.ts +3 -3
- package/components/ckeditor-styles/index.d.ts +1 -0
- package/components/ckeditor-styles/src/ckeditor-styles.component.d.ts +25 -0
- package/components/form-generic/src/components/form-builder/form-builder.component.d.ts +13 -15
- package/components/form-generic/src/components/form-render/form-render.component.d.ts +1 -2
- package/components/form-generic/src/components/sd-feel-expression/sd-feel-expression.component.d.ts +1 -2
- package/components/form-generic/src/models/form-generic-component.model.d.ts +5 -6
- package/components/form-generic/src/models/form-generic-expression.model.d.ts +1 -1
- package/components/history/models/history.model.d.ts +2 -2
- package/components/index.d.ts +2 -0
- package/components/inform/index.d.ts +2 -0
- package/components/inform/src/inform-action.directive.d.ts +9 -0
- package/components/inform/src/inform.component.d.ts +59 -0
- package/components/modal/src/modal.component.d.ts +2 -1
- package/components/modal-resizable/index.d.ts +1 -0
- package/components/modal-resizable/src/modal-resizable.component.d.ts +29 -0
- package/components/operator/index.d.ts +1 -0
- package/components/operator/src/operator.component.d.ts +34 -0
- package/components/query-bar/index.d.ts +2 -0
- package/components/query-bar/src/components/actions-bar/actions-bar.component.d.ts +28 -0
- package/components/query-bar/src/components/build-chip/build-chip.component.d.ts +67 -0
- package/components/query-bar/src/components/chip-popover/chip-popover.component.d.ts +73 -0
- package/components/query-bar/src/components/field-picker/field-picker.component.d.ts +37 -0
- package/components/query-bar/src/components/inline-chip/inline-chip.component.d.ts +76 -0
- package/components/query-bar/src/components/inline-value-chip/inline-value-chip.component.d.ts +67 -0
- package/components/query-bar/src/components/popover-chip/popover-chip.component.d.ts +35 -0
- package/components/query-bar/src/components/saved-filters-menu/saved-filters-menu.component.d.ts +39 -0
- package/components/query-bar/src/query-bar.component.d.ts +137 -0
- package/components/query-bar/src/query-bar.model.d.ts +136 -0
- package/components/query-builder/index.d.ts +2 -0
- package/components/query-builder/src/query-builder.component.d.ts +98 -22
- package/components/query-builder/src/query-builder.model.d.ts +118 -0
- package/components/query-builder/src/query-builder.serializer.d.ts +32 -0
- package/components/section/src/section.component.d.ts +3 -3
- package/components/side-drawer/src/side-drawer.component.d.ts +1 -2
- package/components/stepper/index.d.ts +2 -0
- package/components/stepper/src/step.component.d.ts +17 -0
- package/components/stepper/src/stepper.component.d.ts +32 -0
- package/components/tab/index.d.ts +2 -0
- package/components/tab/src/tab-group.component.d.ts +36 -0
- package/components/tab/src/tab.component.d.ts +13 -0
- package/components/tab-router/src/decorators/tab.decorator.d.ts +2 -2
- package/components/tab-router/src/models/tab-router.model.d.ts +2 -2
- package/components/table/index.d.ts +1 -0
- package/components/table/src/components/column-title/column-title.component.d.ts +1 -1
- package/components/table/src/components/config/config.component.d.ts +3 -1
- package/components/table/src/components/desktop-cell/desktop-cell.component.d.ts +3 -3
- package/components/table/src/components/filter/column-filter/column-filter.component.d.ts +3 -7
- package/components/table/src/components/selector-action/selector-action.component.d.ts +3 -1
- package/components/table/src/configurations/table.configuration.d.ts +3 -3
- package/components/table/src/directives/index.d.ts +1 -0
- package/components/table/src/directives/sd-table-cell-def.directive.d.ts +12 -4
- package/components/table/src/directives/sd-table-column-filter-def.directive.d.ts +12 -4
- package/components/table/src/directives/sd-table-expand-def.directive.d.ts +10 -4
- package/components/table/src/directives/sd-table-filter-def.directive.d.ts +3 -3
- package/components/table/src/directives/sd-table-footer-def.directive.d.ts +12 -4
- package/components/table/src/directives/sd-table-group-def.directive.d.ts +44 -0
- package/components/table/src/directives/sd-table-title-def.directive.d.ts +10 -4
- package/components/table/src/models/index.d.ts +1 -0
- package/components/table/src/models/table-column.model.d.ts +13 -13
- package/components/table/src/models/table-command.model.d.ts +3 -2
- package/components/table/src/models/table-item.model.d.ts +19 -4
- package/components/table/src/models/table-option-export.model.d.ts +3 -3
- package/components/table/src/models/table-option-group.model.d.ts +19 -2
- package/components/table/src/models/table-option-selector.model.d.ts +17 -1
- package/components/table/src/models/table-option-tree.model.d.ts +96 -8
- package/components/table/src/models/table-option.model.d.ts +11 -2
- package/components/table/src/pipes/sd-group.pipe.d.ts +15 -1
- package/components/table/src/services/table-filter/table-filter.model.d.ts +9 -9
- package/components/table/src/services/table-filter/table-filter.service.d.ts +2 -2
- package/components/table/src/services/tree/tree.util.d.ts +43 -2
- package/components/table/src/table.component.d.ts +37 -13
- package/components/upload-file/src/upload-file.component.d.ts +2 -0
- package/components/view/src/view.component.d.ts +35 -1
- package/directives/src/sd-desktop.directive.d.ts +2 -4
- package/directives/src/sd-mobile.directive.d.ts +2 -4
- package/fesm2022/sd-angular-core-components-anchor.mjs +75 -49
- package/fesm2022/sd-angular-core-components-anchor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-autoid-inspector.mjs +254 -29
- package/fesm2022/sd-angular-core-components-autoid-inspector.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-avatar.mjs +2 -2
- package/fesm2022/sd-angular-core-components-avatar.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-badge.mjs +18 -3
- package/fesm2022/sd-angular-core-components-badge.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-button.mjs +3 -5
- package/fesm2022/sd-angular-core-components-button.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-ckeditor-styles.mjs +38 -0
- package/fesm2022/sd-angular-core-components-ckeditor-styles.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-document-builder.mjs +10 -8
- package/fesm2022/sd-angular-core-components-document-builder.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-editor.mjs +3 -2
- package/fesm2022/sd-angular-core-components-editor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-form-generic.mjs +153 -243
- package/fesm2022/sd-angular-core-components-form-generic.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-history.mjs +3 -2
- package/fesm2022/sd-angular-core-components-history.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-inform.mjs +190 -0
- package/fesm2022/sd-angular-core-components-inform.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-mini-editor.mjs +4 -3
- package/fesm2022/sd-angular-core-components-mini-editor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-modal-resizable.mjs +158 -0
- package/fesm2022/sd-angular-core-components-modal-resizable.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-modal.mjs +2 -2
- package/fesm2022/sd-angular-core-components-modal.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-operator.mjs +77 -0
- package/fesm2022/sd-angular-core-components-operator.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-preview.mjs +4 -4
- package/fesm2022/sd-angular-core-components-preview.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-query-bar.mjs +1384 -0
- package/fesm2022/sd-angular-core-components-query-bar.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-query-builder.mjs +669 -57
- package/fesm2022/sd-angular-core-components-query-builder.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-quick-action.mjs +2 -2
- package/fesm2022/sd-angular-core-components-quick-action.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-section.mjs +2 -4
- package/fesm2022/sd-angular-core-components-section.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-side-drawer.mjs +3 -5
- package/fesm2022/sd-angular-core-components-side-drawer.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-splitter.mjs +5 -2
- package/fesm2022/sd-angular-core-components-splitter.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-stepper.mjs +138 -0
- package/fesm2022/sd-angular-core-components-stepper.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-tab-router.mjs +3 -3
- package/fesm2022/sd-angular-core-components-tab-router.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-tab.mjs +143 -0
- package/fesm2022/sd-angular-core-components-tab.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-table.mjs +577 -225
- package/fesm2022/sd-angular-core-components-table.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-upload-file.mjs +36 -25
- package/fesm2022/sd-angular-core-components-upload-file.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-view.mjs +44 -9
- package/fesm2022/sd-angular-core-components-view.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components.mjs +2 -0
- package/fesm2022/sd-angular-core-components.mjs.map +1 -1
- package/fesm2022/sd-angular-core-directives.mjs +19 -21
- package/fesm2022/sd-angular-core-directives.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs +45 -16
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-checkbox.mjs +97 -87
- package/fesm2022/sd-angular-core-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-chip-calendar.mjs +92 -61
- package/fesm2022/sd-angular-core-forms-chip-calendar.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-chip.mjs +89 -52
- package/fesm2022/sd-angular-core-forms-chip.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date-range.mjs +63 -10
- package/fesm2022/sd-angular-core-forms-date-range.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date.mjs +39 -15
- package/fesm2022/sd-angular-core-forms-date.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-datetime.mjs +33 -14
- package/fesm2022/sd-angular-core-forms-datetime.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-directives.mjs +18 -24
- package/fesm2022/sd-angular-core-forms-directives.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-inline-text.mjs +167 -0
- package/fesm2022/sd-angular-core-forms-inline-text.mjs.map +1 -0
- package/fesm2022/sd-angular-core-forms-input-color.mjs +119 -0
- package/fesm2022/sd-angular-core-forms-input-color.mjs.map +1 -0
- package/fesm2022/sd-angular-core-forms-input-number.mjs +73 -15
- package/fesm2022/sd-angular-core-forms-input-number.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input.mjs +86 -29
- package/fesm2022/sd-angular-core-forms-input.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-models.mjs +44 -2
- package/fesm2022/sd-angular-core-forms-models.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-radio.mjs +130 -175
- package/fesm2022/sd-angular-core-forms-radio.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-select.mjs +66 -23
- package/fesm2022/sd-angular-core-forms-select.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-switch.mjs +95 -98
- package/fesm2022/sd-angular-core-forms-switch.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-textarea.mjs +33 -12
- package/fesm2022/sd-angular-core-forms-textarea.mjs.map +1 -1
- package/fesm2022/sd-angular-core-i18n.mjs +65 -0
- package/fesm2022/sd-angular-core-i18n.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-auth.mjs +4 -4
- package/fesm2022/sd-angular-core-modules-auth.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-authom.mjs +1 -1
- package/fesm2022/sd-angular-core-modules-authom.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-layout.mjs +23 -23
- package/fesm2022/sd-angular-core-modules-layout.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-permission.mjs +3 -3
- package/fesm2022/sd-angular-core-modules-permission.mjs.map +1 -1
- package/fesm2022/sd-angular-core-pipes.mjs +2 -2
- package/fesm2022/sd-angular-core-pipes.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-api.mjs +3 -3
- package/fesm2022/sd-angular-core-services-api.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-cache.mjs +3 -2
- package/fesm2022/sd-angular-core-services-cache.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-confirm.mjs +1 -1
- package/fesm2022/sd-angular-core-services-confirm.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-excel.mjs +6 -5
- package/fesm2022/sd-angular-core-services-excel.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-notify.mjs +43 -12
- package/fesm2022/sd-angular-core-services-notify.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-storage.mjs +2 -2
- package/fesm2022/sd-angular-core-services-storage.mjs.map +1 -1
- package/fesm2022/sd-angular-core-utilities-models.mjs.map +1 -1
- package/forms/autocomplete/src/autocomplete.component.d.ts +24 -10
- package/forms/checkbox/src/checkbox.component.d.ts +21 -20
- package/forms/chip/src/chip.component.d.ts +25 -20
- package/forms/chip-calendar/src/chip-calendar.component.d.ts +27 -22
- package/forms/date/src/date.component.d.ts +23 -9
- package/forms/date-range/src/date-range.component.d.ts +28 -5
- package/forms/datetime/src/datetime.component.d.ts +21 -8
- package/forms/directives/src/item-def.directive.d.ts +10 -5
- package/forms/directives/src/label-def.directive.d.ts +3 -2
- package/forms/directives/src/suffix-def.directive.d.ts +3 -2
- package/forms/directives/src/view-def.directive.d.ts +9 -9
- package/forms/inline-text/index.d.ts +1 -0
- package/forms/inline-text/src/inline-text.component.d.ts +76 -0
- package/forms/input/src/input.component.d.ts +31 -13
- package/forms/input-color/index.d.ts +1 -0
- package/forms/input-color/src/input-color.component.d.ts +34 -0
- package/forms/input-number/src/input-number.component.d.ts +25 -9
- package/forms/models/index.d.ts +1 -0
- package/forms/models/src/sd-custom-validator.model.d.ts +13 -1
- package/forms/models/src/sd-viewed.d.ts +38 -0
- package/forms/radio/src/radio.component.d.ts +37 -38
- package/forms/select/src/select.component.d.ts +36 -14
- package/forms/switch/src/switch.component.d.ts +22 -23
- package/forms/textarea/src/textarea.component.d.ts +18 -8
- package/i18n/src/en.d.ts +11 -0
- package/modules/auth/configurations/auth.configuration.d.ts +4 -4
- package/modules/layout/configurations/layout.configuration.d.ts +3 -3
- package/modules/permission/src/configurations/permission.configuration.d.ts +3 -3
- package/package.json +77 -41
- package/sd-angular-core-19.0.4.tgz +0 -0
- package/services/confirm/src/lib/components/dialog-confirm/dialog-confirm.component.d.ts +3 -3
- package/services/confirm/src/lib/confirm.service.d.ts +9 -9
- package/services/notify/src/components/toast/toast.component.d.ts +16 -1
- package/services/notify/src/notify.model.d.ts +17 -0
- package/utilities/models/src/icon.model.d.ts +1 -1
- package/assets/scss/bootstrap-4.6.2/_alert.scss +0 -52
- package/assets/scss/bootstrap-4.6.2/_badge.scss +0 -54
- package/assets/scss/bootstrap-4.6.2/_breadcrumb.scss +0 -42
- package/assets/scss/bootstrap-4.6.2/_button-group.scss +0 -163
- package/assets/scss/bootstrap-4.6.2/_buttons.scss +0 -142
- package/assets/scss/bootstrap-4.6.2/_card.scss +0 -286
- package/assets/scss/bootstrap-4.6.2/_carousel.scss +0 -200
- package/assets/scss/bootstrap-4.6.2/_close.scss +0 -40
- package/assets/scss/bootstrap-4.6.2/_code.scss +0 -48
- package/assets/scss/bootstrap-4.6.2/_custom-forms.scss +0 -526
- package/assets/scss/bootstrap-4.6.2/_dropdown.scss +0 -192
- package/assets/scss/bootstrap-4.6.2/_forms.scss +0 -347
- package/assets/scss/bootstrap-4.6.2/_functions.scss +0 -190
- package/assets/scss/bootstrap-4.6.2/_grid.scss +0 -73
- package/assets/scss/bootstrap-4.6.2/_images.scss +0 -42
- package/assets/scss/bootstrap-4.6.2/_input-group.scss +0 -211
- package/assets/scss/bootstrap-4.6.2/_jumbotron.scss +0 -17
- package/assets/scss/bootstrap-4.6.2/_list-group.scss +0 -154
- package/assets/scss/bootstrap-4.6.2/_media.scss +0 -8
- package/assets/scss/bootstrap-4.6.2/_mixins.scss +0 -47
- package/assets/scss/bootstrap-4.6.2/_modal.scss +0 -240
- package/assets/scss/bootstrap-4.6.2/_nav.scss +0 -125
- package/assets/scss/bootstrap-4.6.2/_navbar.scss +0 -332
- package/assets/scss/bootstrap-4.6.2/_pagination.scss +0 -74
- package/assets/scss/bootstrap-4.6.2/_popover.scss +0 -170
- package/assets/scss/bootstrap-4.6.2/_print.scss +0 -132
- package/assets/scss/bootstrap-4.6.2/_progress.scss +0 -47
- package/assets/scss/bootstrap-4.6.2/_reboot.scss +0 -484
- package/assets/scss/bootstrap-4.6.2/_root.scss +0 -19
- package/assets/scss/bootstrap-4.6.2/_spinners.scss +0 -65
- package/assets/scss/bootstrap-4.6.2/_tables.scss +0 -185
- package/assets/scss/bootstrap-4.6.2/_toasts.scss +0 -46
- package/assets/scss/bootstrap-4.6.2/_tooltip.scss +0 -115
- package/assets/scss/bootstrap-4.6.2/_transitions.scss +0 -26
- package/assets/scss/bootstrap-4.6.2/_type.scss +0 -125
- package/assets/scss/bootstrap-4.6.2/_utilities.scss +0 -18
- package/assets/scss/bootstrap-4.6.2/_variables.scss +0 -1150
- package/assets/scss/bootstrap-4.6.2/bootstrap-grid.scss +0 -30
- package/assets/scss/bootstrap-4.6.2/bootstrap-reboot.scss +0 -12
- package/assets/scss/bootstrap-4.6.2/bootstrap.scss +0 -44
- package/assets/scss/bootstrap-4.6.2/mixins/_alert.scss +0 -13
- package/assets/scss/bootstrap-4.6.2/mixins/_background-variant.scss +0 -23
- package/assets/scss/bootstrap-4.6.2/mixins/_badge.scss +0 -17
- package/assets/scss/bootstrap-4.6.2/mixins/_border-radius.scss +0 -76
- package/assets/scss/bootstrap-4.6.2/mixins/_box-shadow.scss +0 -20
- package/assets/scss/bootstrap-4.6.2/mixins/_breakpoints.scss +0 -123
- package/assets/scss/bootstrap-4.6.2/mixins/_buttons.scss +0 -110
- package/assets/scss/bootstrap-4.6.2/mixins/_caret.scss +0 -62
- package/assets/scss/bootstrap-4.6.2/mixins/_clearfix.scss +0 -7
- package/assets/scss/bootstrap-4.6.2/mixins/_deprecate.scss +0 -10
- package/assets/scss/bootstrap-4.6.2/mixins/_float.scss +0 -14
- package/assets/scss/bootstrap-4.6.2/mixins/_forms.scss +0 -195
- package/assets/scss/bootstrap-4.6.2/mixins/_gradients.scss +0 -45
- package/assets/scss/bootstrap-4.6.2/mixins/_grid-framework.scss +0 -80
- package/assets/scss/bootstrap-4.6.2/mixins/_grid.scss +0 -69
- package/assets/scss/bootstrap-4.6.2/mixins/_hover.scss +0 -37
- package/assets/scss/bootstrap-4.6.2/mixins/_image.scss +0 -36
- package/assets/scss/bootstrap-4.6.2/mixins/_list-group.scss +0 -21
- package/assets/scss/bootstrap-4.6.2/mixins/_lists.scss +0 -7
- package/assets/scss/bootstrap-4.6.2/mixins/_nav-divider.scss +0 -11
- package/assets/scss/bootstrap-4.6.2/mixins/_pagination.scss +0 -22
- package/assets/scss/bootstrap-4.6.2/mixins/_reset-text.scss +0 -17
- package/assets/scss/bootstrap-4.6.2/mixins/_resize.scss +0 -6
- package/assets/scss/bootstrap-4.6.2/mixins/_screen-reader.scss +0 -34
- package/assets/scss/bootstrap-4.6.2/mixins/_size.scss +0 -7
- package/assets/scss/bootstrap-4.6.2/mixins/_table-row.scss +0 -39
- package/assets/scss/bootstrap-4.6.2/mixins/_text-emphasis.scss +0 -17
- package/assets/scss/bootstrap-4.6.2/mixins/_text-hide.scss +0 -11
- package/assets/scss/bootstrap-4.6.2/mixins/_text-truncate.scss +0 -8
- package/assets/scss/bootstrap-4.6.2/mixins/_transition.scss +0 -26
- package/assets/scss/bootstrap-4.6.2/mixins/_visibility.scss +0 -8
- package/assets/scss/bootstrap-4.6.2/utilities/_align.scss +0 -8
- package/assets/scss/bootstrap-4.6.2/utilities/_background.scss +0 -19
- package/assets/scss/bootstrap-4.6.2/utilities/_borders.scss +0 -75
- package/assets/scss/bootstrap-4.6.2/utilities/_clearfix.scss +0 -3
- package/assets/scss/bootstrap-4.6.2/utilities/_display.scss +0 -26
- package/assets/scss/bootstrap-4.6.2/utilities/_embed.scss +0 -39
- package/assets/scss/bootstrap-4.6.2/utilities/_flex.scss +0 -51
- package/assets/scss/bootstrap-4.6.2/utilities/_float.scss +0 -11
- package/assets/scss/bootstrap-4.6.2/utilities/_interactions.scss +0 -5
- package/assets/scss/bootstrap-4.6.2/utilities/_overflow.scss +0 -5
- package/assets/scss/bootstrap-4.6.2/utilities/_position.scss +0 -32
- package/assets/scss/bootstrap-4.6.2/utilities/_screenreaders.scss +0 -11
- package/assets/scss/bootstrap-4.6.2/utilities/_shadows.scss +0 -6
- package/assets/scss/bootstrap-4.6.2/utilities/_sizing.scss +0 -20
- package/assets/scss/bootstrap-4.6.2/utilities/_spacing.scss +0 -73
- package/assets/scss/bootstrap-4.6.2/utilities/_stretched-link.scss +0 -19
- package/assets/scss/bootstrap-4.6.2/utilities/_text.scss +0 -72
- package/assets/scss/bootstrap-4.6.2/utilities/_visibility.scss +0 -13
- package/assets/scss/bootstrap-4.6.2/vendor/_rfs.scss +0 -228
- package/assets/scss/core/bootstrap.scss +0 -13
- package/components/table/index.d.ts.map +0 -1
- package/components/table/sd-angular-core-components-table.d.ts.map +0 -1
- package/components/table/src/components/column-title/column-title.component.d.ts.map +0 -1
- package/components/table/src/components/command/desktop-command.component.d.ts.map +0 -1
- package/components/table/src/components/command/pipes/command.pipe.d.ts.map +0 -1
- package/components/table/src/components/command/pipes/filter.pipe.d.ts.map +0 -1
- package/components/table/src/components/config/config.component.d.ts.map +0 -1
- package/components/table/src/components/desktop-cell/desktop-cell.component.d.ts.map +0 -1
- package/components/table/src/components/desktop-cell/view/view.component.d.ts.map +0 -1
- package/components/table/src/components/filter/column-filter/column-filter.component.d.ts.map +0 -1
- package/components/table/src/components/filter/external-filter/external-filter.component.d.ts.map +0 -1
- package/components/table/src/components/filter/index.d.ts.map +0 -1
- package/components/table/src/components/filter/mobile-filter/mobile-filter.component.d.ts.map +0 -1
- package/components/table/src/components/index.d.ts.map +0 -1
- package/components/table/src/components/popup-export/popup-export.component.d.ts.map +0 -1
- package/components/table/src/components/selector-action/action-filter.pipe.d.ts.map +0 -1
- package/components/table/src/components/selector-action/selector-action.component.d.ts.map +0 -1
- package/components/table/src/configurations/index.d.ts.map +0 -1
- package/components/table/src/configurations/table.configuration.d.ts.map +0 -1
- package/components/table/src/directives/index.d.ts.map +0 -1
- package/components/table/src/directives/sd-column-resize.directive.d.ts.map +0 -1
- package/components/table/src/directives/sd-table-cell-def.directive.d.ts.map +0 -1
- package/components/table/src/directives/sd-table-column-filter-def.directive.d.ts.map +0 -1
- package/components/table/src/directives/sd-table-expand-def.directive.d.ts.map +0 -1
- package/components/table/src/directives/sd-table-filter-def.directive.d.ts.map +0 -1
- package/components/table/src/directives/sd-table-footer-def.directive.d.ts.map +0 -1
- package/components/table/src/directives/sd-table-title-def.directive.d.ts.map +0 -1
- package/components/table/src/directives/sticky-shadow.directive.d.ts.map +0 -1
- package/components/table/src/models/index.d.ts.map +0 -1
- package/components/table/src/models/table-column.model.d.ts.map +0 -1
- package/components/table/src/models/table-command.model.d.ts.map +0 -1
- package/components/table/src/models/table-item.model.d.ts.map +0 -1
- package/components/table/src/models/table-option-config.model.d.ts.map +0 -1
- package/components/table/src/models/table-option-expand.model.d.ts.map +0 -1
- package/components/table/src/models/table-option-export.model.d.ts.map +0 -1
- package/components/table/src/models/table-option-group.model.d.ts.map +0 -1
- package/components/table/src/models/table-option-paginate.model.d.ts.map +0 -1
- package/components/table/src/models/table-option-reload.model.d.ts.map +0 -1
- package/components/table/src/models/table-option-selector.model.d.ts.map +0 -1
- package/components/table/src/models/table-option-sort.model.d.ts.map +0 -1
- package/components/table/src/models/table-option-style.model.d.ts.map +0 -1
- package/components/table/src/models/table-option-tree.model.d.ts.map +0 -1
- package/components/table/src/models/table-option.model.d.ts.map +0 -1
- package/components/table/src/pipes/filter-values.pipe.d.ts.map +0 -1
- package/components/table/src/pipes/index.d.ts.map +0 -1
- package/components/table/src/pipes/sd-group.pipe.d.ts.map +0 -1
- package/components/table/src/pipes/sd-tree.pipe.d.ts.map +0 -1
- package/components/table/src/pipes/selection-disabled.pipe.d.ts.map +0 -1
- package/components/table/src/pipes/selection-visible-select-all.pipe.d.ts.map +0 -1
- package/components/table/src/pipes/selection-visible.pipe.d.ts.map +0 -1
- package/components/table/src/services/column-width.util.d.ts.map +0 -1
- package/components/table/src/services/config.service.d.ts.map +0 -1
- package/components/table/src/services/index.d.ts.map +0 -1
- package/components/table/src/services/table-export/table-export.service.d.ts.map +0 -1
- package/components/table/src/services/table-filter/table-filter.model.d.ts.map +0 -1
- package/components/table/src/services/table-filter/table-filter.service.d.ts.map +0 -1
- package/components/table/src/services/table-format/table-format.service.d.ts.map +0 -1
- package/components/table/src/services/tree/tree.util.d.ts.map +0 -1
- package/components/table/src/table.component.d.ts.map +0 -1
- package/sd-angular-core-19.0.0-beta.99.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import {
|
|
2
|
+
import { Color } from '@sdcorejs/utils/models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SdConfirmService {
|
|
5
5
|
#private;
|
|
@@ -9,8 +9,8 @@ export declare class SdConfirmService {
|
|
|
9
9
|
title?: string;
|
|
10
10
|
yesTitle?: string;
|
|
11
11
|
noTitle?: string;
|
|
12
|
-
yesButtonColor?:
|
|
13
|
-
noButtonColor?:
|
|
12
|
+
yesButtonColor?: Color;
|
|
13
|
+
noButtonColor?: Color;
|
|
14
14
|
width?: string;
|
|
15
15
|
disableBackdropClose?: boolean;
|
|
16
16
|
}) => Promise<unknown>;
|
|
@@ -20,8 +20,8 @@ export declare class SdConfirmService {
|
|
|
20
20
|
noTitle?: string;
|
|
21
21
|
required?: boolean;
|
|
22
22
|
maxlength?: number;
|
|
23
|
-
yesButtonColor?:
|
|
24
|
-
noButtonColor?:
|
|
23
|
+
yesButtonColor?: Color;
|
|
24
|
+
noButtonColor?: Color;
|
|
25
25
|
defaultValue?: string;
|
|
26
26
|
disableBackdropClose?: boolean;
|
|
27
27
|
}) => Promise<string>;
|
|
@@ -30,8 +30,8 @@ export declare class SdConfirmService {
|
|
|
30
30
|
yesTitle?: string;
|
|
31
31
|
noTitle?: string;
|
|
32
32
|
required?: boolean;
|
|
33
|
-
yesButtonColor?:
|
|
34
|
-
noButtonColor?:
|
|
33
|
+
yesButtonColor?: Color;
|
|
34
|
+
noButtonColor?: Color;
|
|
35
35
|
defaultValue?: string | number;
|
|
36
36
|
items: any[];
|
|
37
37
|
valueField: string;
|
|
@@ -44,8 +44,8 @@ export declare class SdConfirmService {
|
|
|
44
44
|
yesTitle?: string;
|
|
45
45
|
noTitle?: string;
|
|
46
46
|
required?: boolean;
|
|
47
|
-
yesButtonColor?:
|
|
48
|
-
noButtonColor?:
|
|
47
|
+
yesButtonColor?: Color;
|
|
48
|
+
noButtonColor?: Color;
|
|
49
49
|
defaultValue?: string | Date;
|
|
50
50
|
placeholder?: string;
|
|
51
51
|
disableBackdropClose?: boolean;
|
|
@@ -1,16 +1,27 @@
|
|
|
1
1
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
2
3
|
import { ToastData } from '../../notify.model';
|
|
3
4
|
import { SdNotifyService } from '../../notify.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ToastComponent implements OnInit, OnDestroy {
|
|
6
7
|
private notifyService;
|
|
8
|
+
private sanitizer;
|
|
7
9
|
data: ToastData;
|
|
8
10
|
isExpanded: import("@angular/core").WritableSignal<boolean>;
|
|
9
11
|
readonly MAX_SHOW = 2;
|
|
10
12
|
private timer;
|
|
11
13
|
private start;
|
|
12
14
|
private remaining;
|
|
13
|
-
constructor(notifyService: SdNotifyService);
|
|
15
|
+
constructor(notifyService: SdNotifyService, sanitizer: DomSanitizer);
|
|
16
|
+
/**
|
|
17
|
+
* Sanitize HTML tường minh trước khi render qua `[innerHTML]` — strip
|
|
18
|
+
* `<script>`, event handler (`on*`), `javascript:` URL. Chỉ chạy ở nhánh
|
|
19
|
+
* `data.html === true`; nhánh mặc định render text (auto-escape) nên không
|
|
20
|
+
* có sink này. // why: phơi rõ việc sanitize cho review/scanner bảo mật.
|
|
21
|
+
*/
|
|
22
|
+
sanitizeHtml(value: string): string;
|
|
23
|
+
/** Message ở dạng chuỗi đơn (chỉ dùng khi !isMultiMessage). */
|
|
24
|
+
get singleMessage(): string;
|
|
14
25
|
ngOnInit(): void;
|
|
15
26
|
ngOnDestroy(): void;
|
|
16
27
|
pauseTimer(): void;
|
|
@@ -23,6 +34,10 @@ export declare class ToastComponent implements OnInit, OnDestroy {
|
|
|
23
34
|
get displayMessages(): string[];
|
|
24
35
|
get restCount(): number;
|
|
25
36
|
get hasMore(): boolean;
|
|
37
|
+
/** autoid theo loại toast để E2E chọn trực tiếp, vd `services-notify-toast-success`. */
|
|
38
|
+
get autoId(): string;
|
|
39
|
+
/** Gộp message (mảng nối ' | ') để phơi ra data-message cho E2E. */
|
|
40
|
+
get dataMessage(): string;
|
|
26
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
27
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "toast", never, { "data": { "alias": "data"; "required": true; }; }, {}, never, never, true, never>;
|
|
28
43
|
}
|
|
@@ -7,10 +7,27 @@ export interface ToastData {
|
|
|
7
7
|
duration: number;
|
|
8
8
|
actionLabel?: string;
|
|
9
9
|
onAction?: () => void;
|
|
10
|
+
/**
|
|
11
|
+
* Render `message` dưới dạng HTML thay vì text.
|
|
12
|
+
* - `false` (mặc định): message render dạng TEXT (auto-escape) — an toàn tuyệt đối.
|
|
13
|
+
* - `true`: message render dạng HTML, đã được `DomSanitizer.sanitize(HTML)`
|
|
14
|
+
* (strip `<script>`, event handler, `javascript:` URL). CHỈ dùng cho markup
|
|
15
|
+
* TIN CẬY (do dev tự viết); KHÔNG truyền data người dùng vào đây.
|
|
16
|
+
*/
|
|
17
|
+
html?: boolean;
|
|
10
18
|
}
|
|
11
19
|
export interface NotifyOption {
|
|
12
20
|
duration?: number;
|
|
13
21
|
title?: string;
|
|
14
22
|
actionLabel?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Callback khi bấm nút action — do APP tự cung cấp (không phải input không tin cậy).
|
|
25
|
+
* Chỉ được gọi khi user bấm `actionLabel`.
|
|
26
|
+
*/
|
|
15
27
|
onAction?: () => void;
|
|
28
|
+
/**
|
|
29
|
+
* Render message dạng HTML đã sanitize (mặc định `false` = text an toàn).
|
|
30
|
+
* Chỉ dùng cho markup tin cậy. Xem `ToastData.html`.
|
|
31
|
+
*/
|
|
32
|
+
html?: boolean;
|
|
16
33
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type MaterialIconFontSet = 'material-icons' | 'material-icons-outlined' | 'material-icons-round' | 'material-icons-sharp'
|
|
1
|
+
export type MaterialIconFontSet = 'material-icons' | 'material-icons-outlined' | 'material-icons-round' | 'material-icons-sharp';
|
|
2
2
|
export declare const DefaultMaterialIconFontSet: MaterialIconFontSet;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Base styles
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
.alert {
|
|
6
|
-
position: relative;
|
|
7
|
-
padding: $alert-padding-y $alert-padding-x;
|
|
8
|
-
margin-bottom: $alert-margin-bottom;
|
|
9
|
-
border: $alert-border-width solid transparent;
|
|
10
|
-
@include border-radius($alert-border-radius);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// Headings for larger alerts
|
|
14
|
-
.alert-heading {
|
|
15
|
-
// Specified to prevent conflicts of changing $headings-color
|
|
16
|
-
color: inherit;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// Provide class for links that match alerts
|
|
20
|
-
.alert-link {
|
|
21
|
-
font-weight: $alert-link-font-weight;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
// Dismissible alerts
|
|
26
|
-
//
|
|
27
|
-
// Expand the right padding and account for the close button's positioning.
|
|
28
|
-
|
|
29
|
-
.alert-dismissible {
|
|
30
|
-
padding-right: $close-font-size + $alert-padding-x * 2;
|
|
31
|
-
|
|
32
|
-
// Adjust close link position
|
|
33
|
-
.close {
|
|
34
|
-
position: absolute;
|
|
35
|
-
top: 0;
|
|
36
|
-
right: 0;
|
|
37
|
-
z-index: 2;
|
|
38
|
-
padding: $alert-padding-y $alert-padding-x;
|
|
39
|
-
color: inherit;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
// Alternate styles
|
|
45
|
-
//
|
|
46
|
-
// Generate contextual modifier classes for colorizing the alert.
|
|
47
|
-
|
|
48
|
-
@each $color, $value in $theme-colors {
|
|
49
|
-
.alert-#{$color} {
|
|
50
|
-
@include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
|
|
51
|
-
}
|
|
52
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
// Base class
|
|
2
|
-
//
|
|
3
|
-
// Requires one of the contextual, color modifier classes for `color` and
|
|
4
|
-
// `background-color`.
|
|
5
|
-
|
|
6
|
-
.badge {
|
|
7
|
-
display: inline-block;
|
|
8
|
-
padding: $badge-padding-y $badge-padding-x;
|
|
9
|
-
@include font-size($badge-font-size);
|
|
10
|
-
font-weight: $badge-font-weight;
|
|
11
|
-
line-height: 1;
|
|
12
|
-
text-align: center;
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
vertical-align: baseline;
|
|
15
|
-
@include border-radius($badge-border-radius);
|
|
16
|
-
@include transition($badge-transition);
|
|
17
|
-
|
|
18
|
-
@at-root a#{&} {
|
|
19
|
-
@include hover-focus() {
|
|
20
|
-
text-decoration: none;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// Empty badges collapse automatically
|
|
25
|
-
&:empty {
|
|
26
|
-
display: none;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// Quick fix for badges in buttons
|
|
31
|
-
.btn .badge {
|
|
32
|
-
position: relative;
|
|
33
|
-
top: -1px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Pill badges
|
|
37
|
-
//
|
|
38
|
-
// Make them extra rounded with a modifier to replace v3's badges.
|
|
39
|
-
|
|
40
|
-
.badge-pill {
|
|
41
|
-
padding-right: $badge-pill-padding-x;
|
|
42
|
-
padding-left: $badge-pill-padding-x;
|
|
43
|
-
@include border-radius($badge-pill-border-radius);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// Colors
|
|
47
|
-
//
|
|
48
|
-
// Contextual variations (linked badges get dark on :hover).
|
|
49
|
-
|
|
50
|
-
@each $color, $value in $theme-colors {
|
|
51
|
-
.badge-#{$color} {
|
|
52
|
-
@include badge-variant($value);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
.breadcrumb {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-wrap: wrap;
|
|
4
|
-
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
|
|
5
|
-
margin-bottom: $breadcrumb-margin-bottom;
|
|
6
|
-
@include font-size($breadcrumb-font-size);
|
|
7
|
-
list-style: none;
|
|
8
|
-
background-color: $breadcrumb-bg;
|
|
9
|
-
@include border-radius($breadcrumb-border-radius);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.breadcrumb-item {
|
|
13
|
-
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
|
14
|
-
+ .breadcrumb-item {
|
|
15
|
-
padding-left: $breadcrumb-item-padding;
|
|
16
|
-
|
|
17
|
-
&::before {
|
|
18
|
-
float: left; // Suppress inline spacings and underlining of the separator
|
|
19
|
-
padding-right: $breadcrumb-item-padding;
|
|
20
|
-
color: $breadcrumb-divider-color;
|
|
21
|
-
content: escape-svg($breadcrumb-divider);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
|
|
26
|
-
// without `<ul>`s. The `::before` pseudo-element generates an element
|
|
27
|
-
// *within* the .breadcrumb-item and thereby inherits the `text-decoration`.
|
|
28
|
-
//
|
|
29
|
-
// To trick IE into suppressing the underline, we give the pseudo-element an
|
|
30
|
-
// underline and then immediately remove it.
|
|
31
|
-
+ .breadcrumb-item:hover::before {
|
|
32
|
-
text-decoration: underline;
|
|
33
|
-
}
|
|
34
|
-
// stylelint-disable-next-line no-duplicate-selectors
|
|
35
|
-
+ .breadcrumb-item:hover::before {
|
|
36
|
-
text-decoration: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&.active {
|
|
40
|
-
color: $breadcrumb-active-color;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
// stylelint-disable selector-no-qualifying-type
|
|
2
|
-
|
|
3
|
-
// Make the div behave like a button
|
|
4
|
-
.btn-group,
|
|
5
|
-
.btn-group-vertical {
|
|
6
|
-
position: relative;
|
|
7
|
-
display: inline-flex;
|
|
8
|
-
vertical-align: middle; // match .btn alignment given font-size hack above
|
|
9
|
-
|
|
10
|
-
> .btn {
|
|
11
|
-
position: relative;
|
|
12
|
-
flex: 1 1 auto;
|
|
13
|
-
|
|
14
|
-
// Bring the hover, focused, and "active" buttons to the front to overlay
|
|
15
|
-
// the borders properly
|
|
16
|
-
@include hover() {
|
|
17
|
-
z-index: 1;
|
|
18
|
-
}
|
|
19
|
-
&:focus,
|
|
20
|
-
&:active,
|
|
21
|
-
&.active {
|
|
22
|
-
z-index: 1;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Optional: Group multiple button groups together for a toolbar
|
|
28
|
-
.btn-toolbar {
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-wrap: wrap;
|
|
31
|
-
justify-content: flex-start;
|
|
32
|
-
|
|
33
|
-
.input-group {
|
|
34
|
-
width: auto;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.btn-group {
|
|
39
|
-
// Prevent double borders when buttons are next to each other
|
|
40
|
-
> .btn:not(:first-child),
|
|
41
|
-
> .btn-group:not(:first-child) {
|
|
42
|
-
margin-left: -$btn-border-width;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// Reset rounded corners
|
|
46
|
-
> .btn:not(:last-child):not(.dropdown-toggle),
|
|
47
|
-
> .btn-group:not(:last-child) > .btn {
|
|
48
|
-
@include border-right-radius(0);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
> .btn:not(:first-child),
|
|
52
|
-
> .btn-group:not(:first-child) > .btn {
|
|
53
|
-
@include border-left-radius(0);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// Sizing
|
|
58
|
-
//
|
|
59
|
-
// Remix the default button sizing classes into new ones for easier manipulation.
|
|
60
|
-
|
|
61
|
-
.btn-group-sm > .btn { @extend .btn-sm; }
|
|
62
|
-
.btn-group-lg > .btn { @extend .btn-lg; }
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
//
|
|
66
|
-
// Split button dropdowns
|
|
67
|
-
//
|
|
68
|
-
|
|
69
|
-
.dropdown-toggle-split {
|
|
70
|
-
padding-right: $btn-padding-x * .75;
|
|
71
|
-
padding-left: $btn-padding-x * .75;
|
|
72
|
-
|
|
73
|
-
&::after,
|
|
74
|
-
.dropup &::after,
|
|
75
|
-
.dropright &::after {
|
|
76
|
-
margin-left: 0;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.dropleft &::before {
|
|
80
|
-
margin-right: 0;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.btn-sm + .dropdown-toggle-split {
|
|
85
|
-
padding-right: $btn-padding-x-sm * .75;
|
|
86
|
-
padding-left: $btn-padding-x-sm * .75;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.btn-lg + .dropdown-toggle-split {
|
|
90
|
-
padding-right: $btn-padding-x-lg * .75;
|
|
91
|
-
padding-left: $btn-padding-x-lg * .75;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
// The clickable button for toggling the menu
|
|
96
|
-
// Set the same inset shadow as the :active state
|
|
97
|
-
.btn-group.show .dropdown-toggle {
|
|
98
|
-
@include box-shadow($btn-active-box-shadow);
|
|
99
|
-
|
|
100
|
-
// Show no shadow for `.btn-link` since it has no other button styles.
|
|
101
|
-
&.btn-link {
|
|
102
|
-
@include box-shadow(none);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
//
|
|
108
|
-
// Vertical button groups
|
|
109
|
-
//
|
|
110
|
-
|
|
111
|
-
.btn-group-vertical {
|
|
112
|
-
flex-direction: column;
|
|
113
|
-
align-items: flex-start;
|
|
114
|
-
justify-content: center;
|
|
115
|
-
|
|
116
|
-
> .btn,
|
|
117
|
-
> .btn-group {
|
|
118
|
-
width: 100%;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
> .btn:not(:first-child),
|
|
122
|
-
> .btn-group:not(:first-child) {
|
|
123
|
-
margin-top: -$btn-border-width;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// Reset rounded corners
|
|
127
|
-
> .btn:not(:last-child):not(.dropdown-toggle),
|
|
128
|
-
> .btn-group:not(:last-child) > .btn {
|
|
129
|
-
@include border-bottom-radius(0);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
> .btn:not(:first-child),
|
|
133
|
-
> .btn-group:not(:first-child) > .btn {
|
|
134
|
-
@include border-top-radius(0);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
// Checkbox and radio options
|
|
140
|
-
//
|
|
141
|
-
// In order to support the browser's form validation feedback, powered by the
|
|
142
|
-
// `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
|
|
143
|
-
// `display: none;` or `visibility: hidden;` as that also hides the popover.
|
|
144
|
-
// Simply visually hiding the inputs via `opacity` would leave them clickable in
|
|
145
|
-
// certain cases which is prevented by using `clip` and `pointer-events`.
|
|
146
|
-
// This way, we ensure a DOM element is visible to position the popover from.
|
|
147
|
-
//
|
|
148
|
-
// See https://github.com/twbs/bootstrap/pull/12794 and
|
|
149
|
-
// https://github.com/twbs/bootstrap/pull/14559 for more information.
|
|
150
|
-
|
|
151
|
-
.btn-group-toggle {
|
|
152
|
-
> .btn,
|
|
153
|
-
> .btn-group > .btn {
|
|
154
|
-
margin-bottom: 0; // Override default `<label>` value
|
|
155
|
-
|
|
156
|
-
input[type="radio"],
|
|
157
|
-
input[type="checkbox"] {
|
|
158
|
-
position: absolute;
|
|
159
|
-
clip: rect(0, 0, 0, 0);
|
|
160
|
-
pointer-events: none;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
// stylelint-disable selector-no-qualifying-type
|
|
2
|
-
|
|
3
|
-
//
|
|
4
|
-
// Base styles
|
|
5
|
-
//
|
|
6
|
-
|
|
7
|
-
.btn {
|
|
8
|
-
display: inline-block;
|
|
9
|
-
font-family: $btn-font-family;
|
|
10
|
-
font-weight: $btn-font-weight;
|
|
11
|
-
color: $body-color;
|
|
12
|
-
text-align: center;
|
|
13
|
-
text-decoration: if($link-decoration == none, null, none);
|
|
14
|
-
white-space: $btn-white-space;
|
|
15
|
-
vertical-align: middle;
|
|
16
|
-
user-select: none;
|
|
17
|
-
background-color: transparent;
|
|
18
|
-
border: $btn-border-width solid transparent;
|
|
19
|
-
@include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-line-height, $btn-border-radius);
|
|
20
|
-
@include transition($btn-transition);
|
|
21
|
-
|
|
22
|
-
@include hover() {
|
|
23
|
-
color: $body-color;
|
|
24
|
-
text-decoration: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&:focus,
|
|
28
|
-
&.focus {
|
|
29
|
-
outline: 0;
|
|
30
|
-
box-shadow: $btn-focus-box-shadow;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// Disabled comes first so active can properly restyle
|
|
34
|
-
&.disabled,
|
|
35
|
-
&:disabled {
|
|
36
|
-
opacity: $btn-disabled-opacity;
|
|
37
|
-
@include box-shadow(none);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&:not(:disabled):not(.disabled) {
|
|
41
|
-
cursor: if($enable-pointer-cursor-for-buttons, pointer, null);
|
|
42
|
-
|
|
43
|
-
&:active,
|
|
44
|
-
&.active {
|
|
45
|
-
@include box-shadow($btn-active-box-shadow);
|
|
46
|
-
|
|
47
|
-
&:focus {
|
|
48
|
-
@include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Future-proof disabling of clicks on `<a>` elements
|
|
55
|
-
a.btn.disabled,
|
|
56
|
-
fieldset:disabled a.btn {
|
|
57
|
-
pointer-events: none;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
//
|
|
62
|
-
// Alternate buttons
|
|
63
|
-
//
|
|
64
|
-
|
|
65
|
-
@each $color, $value in $theme-colors {
|
|
66
|
-
.btn-#{$color} {
|
|
67
|
-
@include button-variant($value, $value);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@each $color, $value in $theme-colors {
|
|
72
|
-
.btn-outline-#{$color} {
|
|
73
|
-
@include button-outline-variant($value);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
//
|
|
79
|
-
// Link buttons
|
|
80
|
-
//
|
|
81
|
-
|
|
82
|
-
// Make a button look and behave like a link
|
|
83
|
-
.btn-link {
|
|
84
|
-
font-weight: $font-weight-normal;
|
|
85
|
-
color: $link-color;
|
|
86
|
-
text-decoration: $link-decoration;
|
|
87
|
-
|
|
88
|
-
@include hover() {
|
|
89
|
-
color: $link-hover-color;
|
|
90
|
-
text-decoration: $link-hover-decoration;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&:focus,
|
|
94
|
-
&.focus {
|
|
95
|
-
text-decoration: $link-hover-decoration;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&:disabled,
|
|
99
|
-
&.disabled {
|
|
100
|
-
color: $btn-link-disabled-color;
|
|
101
|
-
pointer-events: none;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// No need for an active state here
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
//
|
|
109
|
-
// Button Sizes
|
|
110
|
-
//
|
|
111
|
-
|
|
112
|
-
.btn-lg {
|
|
113
|
-
@include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-line-height-lg, $btn-border-radius-lg);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.btn-sm {
|
|
117
|
-
@include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-line-height-sm, $btn-border-radius-sm);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
//
|
|
122
|
-
// Block button
|
|
123
|
-
//
|
|
124
|
-
|
|
125
|
-
.btn-block {
|
|
126
|
-
display: block;
|
|
127
|
-
width: 100%;
|
|
128
|
-
|
|
129
|
-
// Vertically space out multiple block buttons
|
|
130
|
-
+ .btn-block {
|
|
131
|
-
margin-top: $btn-block-spacing-y;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
// Specificity overrides
|
|
136
|
-
input[type="submit"],
|
|
137
|
-
input[type="reset"],
|
|
138
|
-
input[type="button"] {
|
|
139
|
-
&.btn-block {
|
|
140
|
-
width: 100%;
|
|
141
|
-
}
|
|
142
|
-
}
|