@sd-angular/core 19.0.0-beta.8 → 19.0.0-beta.80
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 +686 -33
- package/assets/scss/ckeditor5.scss +61 -4
- package/assets/scss/core/bootstrap.scss +17 -0
- package/assets/scss/core/form.scss +32 -6
- package/assets/scss/core/grid.scss +40 -0
- package/assets/scss/sd-core.scss +5 -0
- package/assets/scss/themes/material-theme.scss +82 -40
- package/components/anchor-v2/src/components/anchor-item-v2/anchor-item-v2.component.d.ts +5 -5
- package/components/anchor-v2/src/components/anchor-v2/anchor-v2.component.d.ts +12 -18
- package/components/anchor-v2/src/components/anchor-vertical-v2/anchor-vertical-list-v2.component.d.ts +9 -10
- package/components/anchor-v2/src/models/sd-anchor-v2.model.d.ts +3 -3
- package/components/avatar/index.d.ts +1 -0
- package/components/avatar/src/avatar.component.d.ts +19 -0
- package/components/badge/src/badge.component.d.ts +77 -19
- package/components/button/src/button.component.d.ts +30 -28
- package/components/chart/index.d.ts +4 -0
- package/components/chart/src/bar-chart.component.d.ts +18 -0
- package/components/chart/src/doughnut-chart.component.d.ts +16 -0
- package/components/chart/src/line-chart.component.d.ts +18 -0
- package/components/chart/src/pie-chart.component.d.ts +16 -0
- package/components/code-editor/index.d.ts +1 -0
- package/components/code-editor/src/code-editor.component.d.ts +25 -0
- package/components/document-builder/index.d.ts +1 -0
- package/components/document-builder/src/document-builder.component.d.ts +12 -41
- package/components/document-builder/src/document-builder.model.d.ts +14 -11
- package/components/document-builder/src/plugins/block-space/block-space.plugin.d.ts +9 -0
- package/components/document-builder/src/plugins/ck-comment/ck-comment.plugin.d.ts +44 -0
- package/components/document-builder/src/plugins/ck-comment/ck-comment.plugin.model.d.ts +57 -0
- package/components/document-builder/src/plugins/heading/heading.plugin.d.ts +1 -0
- package/components/document-builder/src/plugins/highlight-range/highlight-range.plugin.d.ts +4 -0
- package/components/document-builder/src/plugins/image-custom/image-custom.plugin.d.ts +31 -0
- package/components/document-builder/src/plugins/index.d.ts +7 -2
- package/components/document-builder/src/plugins/page-orientation/page-orientation.plugin.d.ts +2 -2
- package/components/document-builder/src/plugins/paste-handler/filters/bookmark.d.ts +14 -0
- package/components/document-builder/src/plugins/paste-handler/filters/br.d.ts +15 -0
- package/components/document-builder/src/plugins/paste-handler/filters/image.d.ts +25 -0
- package/components/document-builder/src/plugins/paste-handler/filters/list.d.ts +29 -0
- package/components/document-builder/src/plugins/paste-handler/filters/parse.d.ts +35 -0
- package/components/document-builder/src/plugins/paste-handler/filters/removeboldwrapper.d.ts +15 -0
- package/components/document-builder/src/plugins/paste-handler/filters/removegooglesheetstag.d.ts +15 -0
- package/components/document-builder/src/plugins/paste-handler/filters/removeinvalidtablewidth.d.ts +15 -0
- package/components/document-builder/src/plugins/paste-handler/filters/removemsattributes.d.ts +15 -0
- package/components/document-builder/src/plugins/paste-handler/filters/removestyleblock.d.ts +15 -0
- package/components/document-builder/src/plugins/paste-handler/filters/removexmlns.d.ts +15 -0
- package/components/document-builder/src/plugins/paste-handler/filters/replacemsfootnotes.d.ts +54 -0
- package/components/document-builder/src/plugins/paste-handler/filters/replacetabswithinprewithspaces.d.ts +24 -0
- package/components/document-builder/src/plugins/paste-handler/filters/space.d.ts +27 -0
- package/components/document-builder/src/plugins/paste-handler/filters/table.d.ts +16 -0
- package/components/document-builder/src/plugins/paste-handler/filters/utils.d.ts +25 -0
- package/components/document-builder/src/plugins/paste-handler/index.d.ts +35 -0
- package/components/document-builder/src/plugins/paste-handler/normalizers/googledocsnormalizer.d.ts +31 -0
- package/components/document-builder/src/plugins/paste-handler/normalizers/googlesheetsnormalizer.d.ts +31 -0
- package/components/document-builder/src/plugins/paste-handler/normalizers/mswordnormalizer.d.ts +29 -0
- package/components/document-builder/src/plugins/paste-handler/types.d.ts +30 -0
- package/components/document-builder/src/plugins/table-custom/index.d.ts +34 -0
- package/components/document-builder/src/plugins/variable/variable.plugin.d.ts +39 -0
- package/components/index.d.ts +5 -0
- package/components/mini-editor/index.d.ts +2 -0
- package/components/mini-editor/src/mini-editor.component.d.ts +91 -0
- package/components/mini-editor/src/mini-editor.model.d.ts +44 -0
- package/components/modal/index.d.ts +1 -1
- package/components/modal/src/modal.component.d.ts +26 -0
- package/components/section/index.d.ts +1 -0
- package/components/section/src/section-item/section-item.component.d.ts +7 -0
- package/components/section/src/section.component.d.ts +11 -11
- package/components/side-drawer/src/side-drawer.component.d.ts +11 -24
- package/components/tab-router/src/components/tab-router-item/tab-router-item.component.d.ts +4 -1
- package/components/tab-router/src/components/tab-router-outlet/tab-router-outlet.component.d.ts +3 -15
- package/components/table/index.d.ts +2 -0
- package/components/table/src/components/column-filter/column-filter.component.d.ts +3 -3
- package/components/table/src/components/column-title/column-title.component.d.ts +10 -0
- package/components/table/src/components/desktop-cell/desktop-cell.component.d.ts +18 -11
- package/components/table/src/components/desktop-cell/view/view.component.d.ts +24 -0
- package/components/table/src/components/external-filter/external-filter.component.d.ts +1 -1
- package/components/table/src/components/index.d.ts +1 -0
- package/components/table/src/components/selector-action/action-filter.pipe.d.ts +11 -10
- package/components/table/src/components/selector-action/selector-action.component.d.ts +5 -3
- package/components/table/src/directives/index.d.ts +4 -0
- package/components/table/src/directives/sd-table-cell-def.directive.d.ts +2 -3
- package/components/table/src/directives/sd-table-column-filter-def.directive.d.ts +8 -0
- package/components/table/src/directives/sd-table-expand-def.directive.d.ts +0 -1
- package/components/table/src/directives/sd-table-filter-def.directive.d.ts +4 -6
- package/components/table/src/directives/sd-table-footer-def.directive.d.ts +2 -3
- package/components/table/src/directives/sd-table-title-def.directive.d.ts +8 -0
- package/components/table/src/directives/sticky-shadow.directive.d.ts +17 -0
- package/components/table/src/models/table-column.model.d.ts +49 -40
- package/components/table/src/models/table-command.model.d.ts +7 -3
- package/components/table/src/models/table-item.model.d.ts +5 -4
- package/components/table/src/models/table-option-config.model.d.ts +3 -0
- package/components/table/src/models/table-option-export.model.d.ts +3 -2
- package/components/table/src/models/table-option-selector.model.d.ts +17 -10
- package/components/table/src/models/table-option.model.d.ts +15 -8
- package/components/table/src/services/index.d.ts +3 -0
- package/components/table/src/services/table-export/table-export.service.d.ts +26 -0
- package/components/table/src/services/table-filter/table-filter.model.d.ts +6 -5
- package/components/table/src/services/table-format/table-format.service.d.ts +16 -0
- package/components/table/src/table.component.d.ts +46 -53
- package/components/upload-file/src/configurations/upload-file.configuration.d.ts +34 -1
- package/components/upload-file/src/services/upload-file.service.d.ts +0 -1
- package/components/upload-file/src/upload-file.component.d.ts +52 -54
- package/components/view/index.d.ts +1 -0
- package/components/view/src/view.component.d.ts +16 -0
- package/components/workflow/src/models/form-generic-component.model.d.ts +5 -4
- package/components/workflow/src/models/form-generic-expression.model.d.ts +1 -0
- package/components/workflow/src/models/index.d.ts +1 -0
- package/components/workflow/src/pipes/html.pipe.d.ts +4 -4
- package/directives/index.d.ts +2 -0
- package/directives/src/sd-href.directive.d.ts +9 -0
- package/directives/src/sd-tooltip.directive.d.ts +26 -0
- package/fesm2022/sd-angular-core-components-anchor-v2.mjs +79 -154
- package/fesm2022/sd-angular-core-components-anchor-v2.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-avatar.mjs +103 -0
- package/fesm2022/sd-angular-core-components-avatar.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-badge.mjs +101 -91
- package/fesm2022/sd-angular-core-components-badge.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-button.mjs +70 -96
- package/fesm2022/sd-angular-core-components-button.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-chart.mjs +290 -0
- package/fesm2022/sd-angular-core-components-chart.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-code-editor.mjs +127 -0
- package/fesm2022/sd-angular-core-components-code-editor.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-document-builder.mjs +4006 -611
- package/fesm2022/sd-angular-core-components-document-builder.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-history.mjs +1 -1
- package/fesm2022/sd-angular-core-components-history.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-import-excel.mjs +1 -1
- package/fesm2022/sd-angular-core-components-import-excel.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-mini-editor.mjs +332 -0
- package/fesm2022/sd-angular-core-components-mini-editor.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-modal.mjs +63 -92
- package/fesm2022/sd-angular-core-components-modal.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-preview.mjs +1 -1
- package/fesm2022/sd-angular-core-components-preview.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 +41 -43
- package/fesm2022/sd-angular-core-components-section.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-side-drawer.mjs +78 -84
- package/fesm2022/sd-angular-core-components-side-drawer.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-tab-router.mjs +151 -241
- package/fesm2022/sd-angular-core-components-tab-router.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-table.mjs +1394 -1254
- package/fesm2022/sd-angular-core-components-table.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-upload-file.mjs +390 -443
- package/fesm2022/sd-angular-core-components-upload-file.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-view.mjs +45 -0
- package/fesm2022/sd-angular-core-components-view.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-workflow.mjs +165 -168
- package/fesm2022/sd-angular-core-components-workflow.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components.mjs +5 -0
- package/fesm2022/sd-angular-core-components.mjs.map +1 -1
- package/fesm2022/sd-angular-core-directives.mjs +286 -27
- package/fesm2022/sd-angular-core-directives.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs +289 -363
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-chip-calendar.mjs +170 -189
- package/fesm2022/sd-angular-core-forms-chip-calendar.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-chip.mjs +184 -194
- package/fesm2022/sd-angular-core-forms-chip.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date-range.mjs +180 -242
- package/fesm2022/sd-angular-core-forms-date-range.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date.mjs +178 -270
- package/fesm2022/sd-angular-core-forms-date.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-datetime.mjs +177 -285
- package/fesm2022/sd-angular-core-forms-datetime.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input-number.mjs +210 -337
- package/fesm2022/sd-angular-core-forms-input-number.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input.mjs +169 -286
- package/fesm2022/sd-angular-core-forms-input.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-radio.mjs +3 -2
- package/fesm2022/sd-angular-core-forms-radio.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-select.mjs +390 -447
- package/fesm2022/sd-angular-core-forms-select.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-textarea.mjs +167 -226
- package/fesm2022/sd-angular-core-forms-textarea.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-authom.mjs +359 -0
- package/fesm2022/sd-angular-core-modules-authom.mjs.map +1 -0
- package/fesm2022/sd-angular-core-modules-keycloak.mjs +126 -0
- package/fesm2022/sd-angular-core-modules-keycloak.mjs.map +1 -0
- package/fesm2022/sd-angular-core-modules-layout.mjs +709 -456
- package/fesm2022/sd-angular-core-modules-layout.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-permission.mjs +160 -74
- package/fesm2022/sd-angular-core-modules-permission.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules.mjs +2 -1
- package/fesm2022/sd-angular-core-modules.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-api.mjs +5 -10
- package/fesm2022/sd-angular-core-services-api.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-confirm.mjs +9 -7
- package/fesm2022/sd-angular-core-services-confirm.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-docx.mjs +173 -0
- package/fesm2022/sd-angular-core-services-docx.mjs.map +1 -0
- package/fesm2022/sd-angular-core-services-notify.mjs +2 -2
- package/fesm2022/sd-angular-core-services-notify.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services.mjs +1 -0
- package/fesm2022/sd-angular-core-services.mjs.map +1 -1
- package/fesm2022/sd-angular-core-utilities-extensions.mjs +58 -80
- package/fesm2022/sd-angular-core-utilities-extensions.mjs.map +1 -1
- package/fesm2022/sd-angular-core-utilities-models.mjs +15 -1
- package/fesm2022/sd-angular-core-utilities-models.mjs.map +1 -1
- package/fesm2022/sd-angular-core.mjs +0 -1
- package/fesm2022/sd-angular-core.mjs.map +1 -1
- package/forms/autocomplete/src/autocomplete.component.d.ts +55 -55
- package/forms/chip/src/chip.component.d.ts +37 -40
- package/forms/chip-calendar/src/chip-calendar.component.d.ts +37 -38
- package/forms/date/src/date.component.d.ts +48 -46
- package/forms/date-range/src/date-range.component.d.ts +35 -34
- package/forms/datetime/src/datetime.component.d.ts +48 -49
- package/forms/input/src/input.component.d.ts +54 -57
- package/forms/input-number/src/input-number.component.d.ts +53 -54
- package/forms/select/src/select.component.d.ts +67 -64
- package/forms/textarea/src/textarea.component.d.ts +40 -43
- package/modules/authom/authom.configuration.d.ts +17 -0
- package/modules/authom/authom.interceptor.d.ts +3 -0
- package/modules/authom/authom.module.d.ts +16 -0
- package/modules/authom/authom.service.d.ts +32 -0
- package/modules/authom/index.d.ts +35 -0
- package/modules/index.d.ts +2 -1
- package/modules/keycloak/index.d.ts +4 -0
- package/modules/keycloak/keycloak.configuration.d.ts +11 -0
- package/modules/keycloak/keycloak.interceptor.d.ts +2 -0
- package/modules/keycloak/keycloak.module.d.ts +18 -0
- package/modules/keycloak/keycloak.service.d.ts +14 -0
- package/modules/layout/components/index.d.ts +2 -0
- package/modules/layout/components/layout-main/layout-main.component.d.ts +8 -12
- package/modules/layout/components/page/page.component.d.ts +5 -7
- package/modules/layout/components/sidebar-mobile-v1/components/sidebar/sidebar.component.d.ts +35 -0
- package/modules/layout/components/sidebar-mobile-v1/components/user/user.component.d.ts +24 -0
- package/modules/layout/components/sidebar-mobile-v1/main.component.d.ts +21 -0
- package/modules/layout/components/sidebar-v1/components/sidebar/sidebar.component.d.ts +22 -29
- package/modules/layout/components/sidebar-v1/components/user/user.component.d.ts +11 -17
- package/modules/layout/components/sidebar-v1/main.component.d.ts +14 -14
- package/modules/layout/configurations/layout.configuration.d.ts +46 -3
- package/modules/layout/modules/forbidden/pages/root/root.component.d.ts +3 -8
- package/modules/layout/modules/home/components/home-page/home-page.component.d.ts +2 -5
- package/modules/layout/modules/not-found/pages/root/root.component.d.ts +3 -8
- package/modules/layout/pipes/high-light-search.pipe.d.ts +1 -1
- package/modules/layout/services/index.d.ts +1 -0
- package/modules/layout/services/layout.service.d.ts +10 -0
- package/modules/layout/services/menu/menu.model.d.ts +4 -1
- package/modules/layout/services/storage/storage.service.d.ts +0 -3
- package/modules/permission/src/configurations/permission.configuration.d.ts +56 -2
- package/modules/permission/src/directives/permission.directive.d.ts +5 -8
- package/modules/permission/src/guards/permission.guard.d.ts +2 -1
- package/modules/permission/src/services/permission.service.d.ts +6 -9
- package/package.json +93 -69
- package/public-api.d.ts +0 -1
- package/sd-angular-core-19.0.0-beta.80.tgz +0 -0
- package/services/api/src/api.model.d.ts +6 -1
- package/services/confirm/src/lib/confirm.service.d.ts +5 -0
- package/services/docx/index.d.ts +1 -0
- package/services/docx/src/lib/docx.model.d.ts +9 -0
- package/services/docx/src/lib/docx.service.d.ts +13 -0
- package/services/docx/src/public-api.d.ts +2 -0
- package/services/index.d.ts +1 -0
- package/services/notify/index.d.ts +1 -0
- package/services/notify/src/notify.model.d.ts +1 -1
- package/services/notify/src/notify.service.d.ts +5 -5
- package/utilities/extensions/src/string.extension.d.ts +3 -0
- package/utilities/extensions/src/utility.extension.d.ts +1 -0
- package/utilities/models/index.d.ts +3 -0
- package/utilities/models/src/filter.model.d.ts +17 -4
- package/utilities/models/src/icon.model.d.ts +2 -0
- package/utilities/models/src/nested-key-of.model.d.ts +5 -0
- package/utilities/models/src/order.model.d.ts +2 -1
- package/utilities/models/src/paging.model.d.ts +2 -1
- package/utilities/models/src/pattern.model.d.ts +1 -1
- package/utilities/models/src/unwrap-signal.model.d.ts +6 -0
- package/components/document-builder/src/plugins/comment/comment.plugin.d.ts +0 -4
- package/components/document-builder/src/plugins/table-fit/table-fit.plugin.d.ts +0 -4
- package/components/modal/src/modal/modal.component.d.ts +0 -31
- package/components/table/src/components/desktop-cell-view/desktop-cell-view.component.d.ts +0 -14
- package/fesm2022/sd-angular-core-guards-permission.mjs +0 -155
- package/fesm2022/sd-angular-core-guards-permission.mjs.map +0 -1
- package/fesm2022/sd-angular-core-guards.mjs +0 -6
- package/fesm2022/sd-angular-core-guards.mjs.map +0 -1
- package/fesm2022/sd-angular-core-modules-oidc.mjs +0 -127
- package/fesm2022/sd-angular-core-modules-oidc.mjs.map +0 -1
- package/guards/index.d.ts +0 -1
- package/guards/permission/index.d.ts +0 -4
- package/guards/permission/src/configurations/index.d.ts +0 -1
- package/guards/permission/src/configurations/permission.configuration.d.ts +0 -8
- package/guards/permission/src/directives/index.d.ts +0 -1
- package/guards/permission/src/directives/permission.directive.d.ts +0 -12
- package/guards/permission/src/guards/index.d.ts +0 -1
- package/guards/permission/src/guards/permission.guard.d.ts +0 -13
- package/guards/permission/src/services/index.d.ts +0 -1
- package/guards/permission/src/services/permission.service.d.ts +0 -15
- package/modules/oidc/dynamic-sts.loader.d.ts +0 -11
- package/modules/oidc/index.d.ts +0 -2
- package/modules/oidc/oidc.configuration.d.ts +0 -11
- package/modules/oidc/oidc.module.d.ts +0 -14
- package/sd-angular-core-19.0.0-beta.8.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Import the core styles.
|
|
2
|
-
@import '@ckeditor/ckeditor5-
|
|
2
|
+
@import '@ckeditor/ckeditor5-ui/dist/index.css';
|
|
3
3
|
@import '@ckeditor/ckeditor5-clipboard/dist/index.css';
|
|
4
4
|
@import '@ckeditor/ckeditor5-core/dist/index.css';
|
|
5
5
|
@import '@ckeditor/ckeditor5-engine/dist/index.css';
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
@import '@ckeditor/ckeditor5-paragraph/dist/index.css';
|
|
8
8
|
@import '@ckeditor/ckeditor5-select-all/dist/index.css';
|
|
9
9
|
@import '@ckeditor/ckeditor5-typing/dist/index.css';
|
|
10
|
-
@import '@ckeditor/ckeditor5-ui/dist/index.css';
|
|
11
10
|
@import '@ckeditor/ckeditor5-undo/dist/index.css';
|
|
12
11
|
@import '@ckeditor/ckeditor5-upload/dist/index.css';
|
|
13
12
|
@import '@ckeditor/ckeditor5-utils/dist/index.css';
|
|
@@ -17,15 +16,73 @@
|
|
|
17
16
|
// Import the editor styles.
|
|
18
17
|
// @import '@ckeditor/ckeditor5-editor-classic/dist/index.css';
|
|
19
18
|
@import '@ckeditor/ckeditor5-essentials/dist/index.css';
|
|
19
|
+
@import '@ckeditor/ckeditor5-page-break/dist/index.css';
|
|
20
20
|
@import '@ckeditor/ckeditor5-autoformat/dist/index.css';
|
|
21
21
|
@import '@ckeditor/ckeditor5-basic-styles/dist/index.css';
|
|
22
22
|
// @import '@ckeditor/ckeditor5-block-quote/dist/index.css';
|
|
23
23
|
@import '@ckeditor/ckeditor5-heading/dist/index.css';
|
|
24
|
-
@import '@ckeditor/ckeditor5-image/dist/index.css';
|
|
24
|
+
// @import '@ckeditor/ckeditor5-image/dist/index.css';
|
|
25
|
+
@import '@ckeditor/ckeditor5-image/dist/index-editor.css';
|
|
25
26
|
@import '@ckeditor/ckeditor5-indent/dist/index.css';
|
|
26
27
|
@import '@ckeditor/ckeditor5-link/dist/index.css';
|
|
27
28
|
@import '@ckeditor/ckeditor5-list/dist/index.css';
|
|
28
29
|
// @import '@ckeditor/ckeditor5-media-embed/dist/index.css';
|
|
29
30
|
@import '@ckeditor/ckeditor5-paste-from-office/dist/index.css';
|
|
30
|
-
|
|
31
|
+
|
|
32
|
+
// hung.pham16: không sử dụng default styles của ckeditor vì server không hỗ trợ
|
|
33
|
+
// @import '@ckeditor/ckeditor5-table/dist/index.css';
|
|
34
|
+
@import '@ckeditor/ckeditor5-table/dist/index-editor.css';
|
|
35
|
+
|
|
31
36
|
// @import '@ckeditor/ckeditor5-mention/dist/index.css';
|
|
37
|
+
|
|
38
|
+
// Custom toolbar
|
|
39
|
+
.ck-editor {
|
|
40
|
+
/* --- 1. GIẢM KÍCH THƯỚC ICON VÀ CHỮ --- */
|
|
41
|
+
/* Giảm cỡ chữ trong dropdown (mặc định khoảng 13px) */
|
|
42
|
+
--ck-font-size-base: 11px !important;
|
|
43
|
+
|
|
44
|
+
/* Giảm kích thước Icon (mặc định 20px) */
|
|
45
|
+
--ck-icon-size: 16px !important;
|
|
46
|
+
|
|
47
|
+
/* --- 2. TỐI ƯU KHOẢNG CÁCH (Padding/Margin) --- */
|
|
48
|
+
|
|
49
|
+
/* Giảm khoảng cách giữa các nút */
|
|
50
|
+
--ck-spacing-small: 2px !important;
|
|
51
|
+
--ck-spacing-standard: 6px !important;
|
|
52
|
+
--ck-spacing-large: 8px !important;
|
|
53
|
+
|
|
54
|
+
/* */
|
|
55
|
+
--ck-color-table-focused-cell-background: transparent !important;
|
|
56
|
+
--ck-table-content-default-border-color: transparent !important;
|
|
57
|
+
|
|
58
|
+
//
|
|
59
|
+
--ck-insert-table-dropdown-padding: 10px;
|
|
60
|
+
--ck-insert-table-dropdown-box-height: 16px;
|
|
61
|
+
--ck-insert-table-dropdown-box-width: 16px;
|
|
62
|
+
--ck-insert-table-dropdown-box-margin: 1px;
|
|
63
|
+
|
|
64
|
+
--ck-focus-ring: 1px solid var(--ck-color-base-border);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Giảm độ cao của thanh toolbar (cho gọn) */
|
|
68
|
+
.ck-toolbar {
|
|
69
|
+
min-height: 32px !important; /* Mặc định thường là 40px */
|
|
70
|
+
padding: 2px !important;
|
|
71
|
+
|
|
72
|
+
/* Làm màu nền toolbar nhạt hơn cho hiện đại */
|
|
73
|
+
background: #f8f9fa !important;
|
|
74
|
+
border-bottom: 1px solid #e0e0e0 !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ck-toolbar__items {
|
|
78
|
+
/* Chỉnh nút bấm trong toolbar nhỏ lại */
|
|
79
|
+
> .ck-button {
|
|
80
|
+
padding: 2px 4px !important; /* Giảm padding trái phải của nút */
|
|
81
|
+
min-height: 24px !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Chỉnh lại dropdown (Heading, Font Size) cho khớp */
|
|
85
|
+
> .ck-dropdown {
|
|
86
|
+
min-height: 24px !important;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -81,6 +81,23 @@
|
|
|
81
81
|
.fs-#{$i} {
|
|
82
82
|
font-size: #{$i}px !important;
|
|
83
83
|
}
|
|
84
|
+
|
|
85
|
+
// Gap
|
|
86
|
+
.gap-#{$i} {
|
|
87
|
+
gap: #{$i}px !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.gap-y-#{$i} {
|
|
91
|
+
row-gap: #{$i}px !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.gap-x-#{$i} {
|
|
95
|
+
column-gap: #{$i}px !important;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.flex-1 {
|
|
100
|
+
flex: 1;
|
|
84
101
|
}
|
|
85
102
|
|
|
86
103
|
.w-full {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
// Xử lý icon
|
|
29
29
|
.sd-suffix-icon {
|
|
30
|
-
color: #
|
|
30
|
+
color: #757575;
|
|
31
31
|
&:hover {
|
|
32
32
|
color: #616161;
|
|
33
33
|
}
|
|
@@ -87,10 +87,28 @@
|
|
|
87
87
|
.mat-mdc-form-field-subscript-wrapper {
|
|
88
88
|
display: none;
|
|
89
89
|
}
|
|
90
|
+
|
|
91
|
+
&.mat-form-field-invalid {
|
|
92
|
+
.mat-mdc-notch-piece {
|
|
93
|
+
&.mdc-notched-outline__leading {
|
|
94
|
+
border-color: map.get(color.$color_map, 'error') !important;
|
|
95
|
+
}
|
|
96
|
+
&.mdc-notched-outline__notch {
|
|
97
|
+
border-top-color: map.get(color.$color_map, 'error') !important;
|
|
98
|
+
border-bottom-color: map.get(color.$color_map, 'error') !important;
|
|
99
|
+
}
|
|
100
|
+
&.mdc-notched-outline__trailing {
|
|
101
|
+
border-color: map.get(color.$color_map, 'error') !important;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
90
105
|
}
|
|
91
106
|
|
|
92
|
-
// Size normal
|
|
107
|
+
// Size normal`
|
|
93
108
|
&.sd-md {
|
|
109
|
+
--mat-form-field-container-height: 40px;
|
|
110
|
+
--mat-form-field-container-vertical-padding: 3px;
|
|
111
|
+
|
|
94
112
|
&.mat-form-field-appearance-outline {
|
|
95
113
|
.mat-mdc-form-field-infix {
|
|
96
114
|
padding: 0 0 8px 0 !important;
|
|
@@ -108,9 +126,13 @@
|
|
|
108
126
|
.mat-mdc-form-field-icon-suffix {
|
|
109
127
|
top: 0;
|
|
110
128
|
right: 0;
|
|
111
|
-
padding: 0
|
|
129
|
+
padding: 0 12px;
|
|
130
|
+
display: flex;
|
|
131
|
+
align-items: center;
|
|
132
|
+
gap: 8px;
|
|
112
133
|
|
|
113
|
-
.sd-suffix-icon
|
|
134
|
+
.sd-suffix-icon,
|
|
135
|
+
.sd-error-icon {
|
|
114
136
|
height: 20px;
|
|
115
137
|
width: 20px;
|
|
116
138
|
font-size: 20px;
|
|
@@ -172,9 +194,13 @@
|
|
|
172
194
|
.mat-mdc-form-field-icon-suffix {
|
|
173
195
|
top: 0;
|
|
174
196
|
right: 0;
|
|
175
|
-
padding: 0
|
|
197
|
+
padding: 0 8px;
|
|
198
|
+
display: flex;
|
|
199
|
+
align-items: center;
|
|
200
|
+
gap: 4px;
|
|
176
201
|
|
|
177
|
-
.sd-suffix-icon
|
|
202
|
+
.sd-suffix-icon,
|
|
203
|
+
.sd-error-icon {
|
|
178
204
|
height: 16px;
|
|
179
205
|
width: 16px;
|
|
180
206
|
font-size: 16px;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
CSS GRID UTILITIES
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
/* 1. Kích hoạt Grid cơ bản */
|
|
6
|
+
.sd-grid-container {
|
|
7
|
+
display: grid;
|
|
8
|
+
column-gap: 8px;
|
|
9
|
+
row-gap: 0px;
|
|
10
|
+
|
|
11
|
+
/* 2. Định nghĩa tổng số cột của Grid Cha (từ 1 đến 12 cột) */
|
|
12
|
+
@for $i from 1 through 12 {
|
|
13
|
+
&.grid-cols-#{$i} {
|
|
14
|
+
/* Dùng minmax(0, 1fr) thay vì 1fr để chống vỡ layout khi nội dung text quá dài */
|
|
15
|
+
grid-template-columns: repeat($i, minmax(0, 1fr));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* 3. Tiện ích chiếm CỘT (Column Spanning) cho phần tử con */
|
|
20
|
+
@for $i from 1 through 12 {
|
|
21
|
+
.col-span-#{$i} {
|
|
22
|
+
grid-column: span #{$i} / span #{$i};
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
/* Chiếm toàn bộ số cột hiện có (Full width) */
|
|
26
|
+
.col-span-full {
|
|
27
|
+
grid-column: 1 / -1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* 4. Tiện ích chiếm HÀNG (Row Spanning) cho phần tử con */
|
|
31
|
+
@for $i from 1 through 12 {
|
|
32
|
+
.row-span-#{$i} {
|
|
33
|
+
grid-row: span #{$i} / span #{$i};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/* Chiếm toàn bộ hàng (Full height) */
|
|
37
|
+
.row-span-full {
|
|
38
|
+
grid-row: 1 / -1;
|
|
39
|
+
}
|
|
40
|
+
}
|
package/assets/scss/sd-core.scss
CHANGED
|
@@ -7,9 +7,14 @@
|
|
|
7
7
|
@use './core/typography.scss';
|
|
8
8
|
@use './core/print.scss';
|
|
9
9
|
@use './core/elevation.scss';
|
|
10
|
+
@use './core/grid.scss';
|
|
10
11
|
@use './themes/default.scss';
|
|
11
12
|
@use './themes/material-theme.scss';
|
|
12
13
|
|
|
13
14
|
html {
|
|
14
15
|
@include default.theme(default.$default-theme);
|
|
15
16
|
}
|
|
17
|
+
|
|
18
|
+
html, body {
|
|
19
|
+
font-family: Roboto, 'Helvetica Neue', sans-serif;
|
|
20
|
+
}
|
|
@@ -2,58 +2,100 @@
|
|
|
2
2
|
@use './default.scss' as default;
|
|
3
3
|
@use 'sass:map';
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
5
|
+
// --------------------------------------------------
|
|
6
|
+
// Palette M2 — generated từ hex color
|
|
7
|
+
// --------------------------------------------------
|
|
8
|
+
$custom-primary-palette: mat.m2-define-palette(
|
|
9
|
+
(
|
|
10
|
+
50: #f0f1f5,
|
|
11
|
+
100: #d7dcea,
|
|
12
|
+
200: #abbce3,
|
|
13
|
+
300: #6e90e3,
|
|
14
|
+
400: #346aea,
|
|
15
|
+
500: #2a66f4,
|
|
16
|
+
600: #0645db,
|
|
17
|
+
700: #0131a3,
|
|
18
|
+
800: #00216d,
|
|
19
|
+
900: #001546,
|
|
20
|
+
contrast: (
|
|
21
|
+
400: white,
|
|
22
|
+
500: white,
|
|
23
|
+
600: white,
|
|
24
|
+
700: white,
|
|
25
|
+
800: white,
|
|
26
|
+
900: white,
|
|
27
|
+
),
|
|
23
28
|
)
|
|
24
|
-
)
|
|
29
|
+
);
|
|
25
30
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
31
|
+
$custom-accent-palette: mat.m2-define-palette(
|
|
32
|
+
(
|
|
33
|
+
50: #f1f3f1,
|
|
34
|
+
100: #dce5dd,
|
|
35
|
+
200: #bbd3bc,
|
|
36
|
+
300: #8fc291,
|
|
37
|
+
400: #67b76a,
|
|
38
|
+
500: #4caf50,
|
|
39
|
+
600: #3a8c3d,
|
|
40
|
+
700: #29692c,
|
|
41
|
+
800: #1c471e,
|
|
42
|
+
900: #132f14,
|
|
43
|
+
contrast: (
|
|
44
|
+
700: white,
|
|
45
|
+
800: white,
|
|
46
|
+
900: white,
|
|
47
|
+
),
|
|
41
48
|
)
|
|
42
|
-
)
|
|
49
|
+
);
|
|
43
50
|
|
|
44
|
-
|
|
51
|
+
$custom-warn-palette: mat.m2-define-palette(
|
|
52
|
+
(
|
|
53
|
+
50: #f5f0f0,
|
|
54
|
+
100: #ead9d6,
|
|
55
|
+
200: #e4b0aa,
|
|
56
|
+
300: #e6786b,
|
|
57
|
+
400: #ee4430,
|
|
58
|
+
500: #f82c13,
|
|
59
|
+
600: #d11801,
|
|
60
|
+
700: #9a1100,
|
|
61
|
+
800: #680b00,
|
|
62
|
+
900: #440700,
|
|
63
|
+
contrast: (
|
|
64
|
+
600: white,
|
|
65
|
+
700: white,
|
|
66
|
+
800: white,
|
|
67
|
+
900: white,
|
|
68
|
+
),
|
|
69
|
+
)
|
|
70
|
+
);
|
|
71
|
+
|
|
72
|
+
// --------------------------------------------------
|
|
73
|
+
// Theme
|
|
74
|
+
// --------------------------------------------------
|
|
45
75
|
$custom-theme: mat.m2-define-light-theme(
|
|
46
76
|
(
|
|
47
77
|
color: (
|
|
48
78
|
primary: $custom-primary-palette,
|
|
49
|
-
accent:
|
|
79
|
+
accent: $custom-accent-palette,
|
|
50
80
|
warn: $custom-warn-palette,
|
|
51
81
|
),
|
|
52
82
|
density: -3,
|
|
53
|
-
// typography: Roboto,
|
|
54
83
|
)
|
|
55
84
|
);
|
|
56
85
|
|
|
57
|
-
|
|
58
|
-
// Apply theme
|
|
59
86
|
@include mat.all-component-themes($custom-theme);
|
|
87
|
+
|
|
88
|
+
// Fix paginator density riêng về 0 để không bị lệch
|
|
89
|
+
html {
|
|
90
|
+
@include mat.theme(
|
|
91
|
+
(
|
|
92
|
+
color: (
|
|
93
|
+
theme-type: light,
|
|
94
|
+
primary: mat.$azure-palette,
|
|
95
|
+
tertiary: mat.$blue-palette,
|
|
96
|
+
),
|
|
97
|
+
typography: Roboto,
|
|
98
|
+
density: 0,
|
|
99
|
+
)
|
|
100
|
+
);
|
|
101
|
+
}
|
|
@@ -2,11 +2,11 @@ import { ElementRef } from '@angular/core';
|
|
|
2
2
|
import { IAnchorItemV2 } from '../../models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SdAnchorItemV2 implements IAnchorItemV2 {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
icon?: string;
|
|
5
|
+
title: import("@angular/core").InputSignal<string>;
|
|
6
|
+
icon: import("@angular/core").InputSignal<string | undefined>;
|
|
8
7
|
id: string;
|
|
9
|
-
|
|
8
|
+
elementRef: ElementRef<any>;
|
|
9
|
+
constructor();
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdAnchorItemV2, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdAnchorItemV2, "sd-anchor-item-v2", never, { "title": { "alias": "title"; "required":
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdAnchorItemV2, "sd-anchor-item-v2", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
12
12
|
}
|
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { SdAnchorItemV2 } from '../anchor-item-v2/anchor-item-v2.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SdAnchorV2 implements
|
|
4
|
+
export declare class SdAnchorV2 implements OnDestroy {
|
|
5
5
|
#private;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
isOverscroll: boolean;
|
|
16
|
-
set _isOverscroll(value: '' | boolean | undefined | null);
|
|
17
|
-
isHiddenAnchorList: boolean;
|
|
18
|
-
set _isHiddenAnchorList(value: '' | boolean | undefined | null);
|
|
19
|
-
activeSectionId: string;
|
|
20
|
-
ngAfterViewInit(): void;
|
|
6
|
+
wrapper: import("@angular/core").Signal<ElementRef<any>>;
|
|
7
|
+
sections: import("@angular/core").Signal<readonly SdAnchorItemV2[]>;
|
|
8
|
+
type: import("@angular/core").InputSignal<"vertical" | "horizontal">;
|
|
9
|
+
sidebarWidth: import("@angular/core").InputSignal<string>;
|
|
10
|
+
ellipsis: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
isOverscroll: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
isHiddenAnchorList: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13
|
+
activeSectionId: import("@angular/core").WritableSignal<string>;
|
|
14
|
+
constructor();
|
|
21
15
|
scrollSectionByClick(idSectionTarget: string): void;
|
|
22
16
|
ngOnDestroy(): void;
|
|
23
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdAnchorV2, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdAnchorV2, "sd-anchor-v2", never, { "type": { "alias": "type"; "required": false; }; "sidebarWidth": { "alias": "sidebarWidth"; "required": false; }; "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdAnchorV2, "sd-anchor-v2", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "sidebarWidth": { "alias": "sidebarWidth"; "required": false; "isSignal": true; }; "ellipsis": { "alias": "ellipsis"; "required": false; "isSignal": true; }; "isOverscroll": { "alias": "isOverscroll"; "required": false; "isSignal": true; }; "isHiddenAnchorList": { "alias": "isHiddenAnchorList"; "required": false; "isSignal": true; }; }, {}, ["sections"], ["*"], true, never>;
|
|
25
19
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { SdAnchorItemV2 } from '../anchor-item-v2/anchor-item-v2.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SdAnchorVerticalListV2 implements
|
|
4
|
+
export declare class SdAnchorVerticalListV2 implements OnDestroy {
|
|
5
5
|
#private;
|
|
6
|
+
sections: import("@angular/core").InputSignal<readonly SdAnchorItemV2[]>;
|
|
7
|
+
activeSectionId: import("@angular/core").InputSignal<string>;
|
|
8
|
+
ellipsis: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
sidebarWidth: import("@angular/core").InputSignal<string>;
|
|
10
|
+
sdClickSection: import("@angular/core").OutputEmitterRef<string>;
|
|
6
11
|
constructor();
|
|
7
|
-
|
|
8
|
-
activeSectionId: string;
|
|
9
|
-
ellipsis: boolean;
|
|
10
|
-
sidebarWidth: string;
|
|
11
|
-
sdClickSection: EventEmitter<string>;
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
onClickSection: (idSectionTarget: string) => void;
|
|
12
|
+
onClickSection: (id: string) => void;
|
|
14
13
|
ngOnDestroy(): void;
|
|
15
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdAnchorVerticalListV2, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdAnchorVerticalListV2, "sd-anchor-vertical-list-v2", never, { "sections": { "alias": "sections"; "required":
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdAnchorVerticalListV2, "sd-anchor-vertical-list-v2", never, { "sections": { "alias": "sections"; "required": true; "isSignal": true; }; "activeSectionId": { "alias": "activeSectionId"; "required": false; "isSignal": true; }; "ellipsis": { "alias": "ellipsis"; "required": false; "isSignal": true; }; "sidebarWidth": { "alias": "sidebarWidth"; "required": false; "isSignal": true; }; }, { "sdClickSection": "sdClickSection"; }, never, never, true, never>;
|
|
17
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
1
|
+
import { ElementRef, InputSignal } from "@angular/core";
|
|
2
2
|
export interface IAnchorItemV2 {
|
|
3
3
|
id: string;
|
|
4
|
-
title: string
|
|
5
|
-
icon
|
|
4
|
+
title: InputSignal<string>;
|
|
5
|
+
icon: InputSignal<string | undefined>;
|
|
6
6
|
elementRef: ElementRef;
|
|
7
7
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/avatar.component';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SdAvatar {
|
|
3
|
+
#private;
|
|
4
|
+
/**
|
|
5
|
+
* The source string to be used for the avatar.
|
|
6
|
+
* - If it matches a URL pattern, an image is displayed.
|
|
7
|
+
* - If it is a string representing a name, initials and a colored background are generated.
|
|
8
|
+
* - If undefined, it falls back to a neutral ? initial.
|
|
9
|
+
*/
|
|
10
|
+
readonly src: import("@angular/core").InputSignal<string | null | undefined>;
|
|
11
|
+
readonly size: import("@angular/core").InputSignal<number>;
|
|
12
|
+
constructor();
|
|
13
|
+
readonly isUrl: import("@angular/core").Signal<boolean>;
|
|
14
|
+
readonly bgColor: import("@angular/core").Signal<string>;
|
|
15
|
+
readonly initials: import("@angular/core").Signal<string>;
|
|
16
|
+
handleError(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdAvatar, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdAvatar, "sd-avatar", never, { "src": { "alias": "src"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -1,27 +1,85 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { SdColor, SdSize } from '@sd-angular/core/utilities/models';
|
|
3
|
+
import { MaterialIconFontSet } from '@sd-angular/core/utilities/models';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
export type SdBadgeType = 'tag' | 'round' | 'icon';
|
|
4
6
|
export declare class SdBadge {
|
|
5
7
|
defaultIcon: string;
|
|
6
|
-
type:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
icon: string | undefined | null;
|
|
22
|
-
size: SdSize;
|
|
23
|
-
sdClick: EventEmitter<any>;
|
|
8
|
+
type: import("@angular/core").InputSignalWithTransform<SdBadgeType, SdBadgeType | null | undefined>;
|
|
9
|
+
color: import("@angular/core").InputSignalWithTransform<SdColor, SdColor | null | undefined>;
|
|
10
|
+
primary: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
secondary: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
success: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13
|
+
info: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14
|
+
warning: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
15
|
+
error: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
|
+
fontSet: import("@angular/core").InputSignalWithTransform<MaterialIconFontSet, MaterialIconFontSet | null | undefined>;
|
|
17
|
+
title: import("@angular/core").InputSignal<string | number | null | undefined>;
|
|
18
|
+
description: import("@angular/core").InputSignal<string | null | undefined>;
|
|
19
|
+
tooltip: import("@angular/core").InputSignal<string | null | undefined>;
|
|
20
|
+
icon: import("@angular/core").InputSignal<string | null | undefined>;
|
|
21
|
+
size: import("@angular/core").InputSignalWithTransform<SdSize, SdSize | null | undefined>;
|
|
22
|
+
click: EventEmitter<Event>;
|
|
24
23
|
onClick: (event: Event) => void;
|
|
24
|
+
effectiveColor: import("@angular/core").Signal<SdColor>;
|
|
25
|
+
baseColorClasses: import("@angular/core").Signal<{
|
|
26
|
+
'c-primary': boolean;
|
|
27
|
+
'c-secondary': boolean;
|
|
28
|
+
'c-info': boolean;
|
|
29
|
+
'c-success': boolean;
|
|
30
|
+
'c-warning': boolean;
|
|
31
|
+
'c-error': boolean;
|
|
32
|
+
}>;
|
|
33
|
+
iconColorClasses: import("@angular/core").Signal<{
|
|
34
|
+
'c-primary': boolean;
|
|
35
|
+
'c-black400': boolean;
|
|
36
|
+
'c-info': boolean;
|
|
37
|
+
'c-success': boolean;
|
|
38
|
+
'c-warning': boolean;
|
|
39
|
+
'c-error': boolean;
|
|
40
|
+
}>;
|
|
41
|
+
iconSizeAndFontClasses: import("@angular/core").Signal<{
|
|
42
|
+
'c-xs': boolean;
|
|
43
|
+
'c-sm': boolean;
|
|
44
|
+
'c-md': boolean;
|
|
45
|
+
'c-lg': boolean;
|
|
46
|
+
'material-icons': boolean;
|
|
47
|
+
'material-icons-outlined': boolean;
|
|
48
|
+
'material-icons-round': boolean;
|
|
49
|
+
'material-icons-sharp': boolean;
|
|
50
|
+
}>;
|
|
51
|
+
tagIconCombinedClasses: import("@angular/core").Signal<{
|
|
52
|
+
'c-primary': boolean;
|
|
53
|
+
'c-secondary': boolean;
|
|
54
|
+
'c-info': boolean;
|
|
55
|
+
'c-success': boolean;
|
|
56
|
+
'c-warning': boolean;
|
|
57
|
+
'c-error': boolean;
|
|
58
|
+
'c-xs': boolean;
|
|
59
|
+
'c-sm': boolean;
|
|
60
|
+
'c-md': boolean;
|
|
61
|
+
'c-lg': boolean;
|
|
62
|
+
'material-icons': boolean;
|
|
63
|
+
'material-icons-outlined': boolean;
|
|
64
|
+
'material-icons-round': boolean;
|
|
65
|
+
'material-icons-sharp': boolean;
|
|
66
|
+
}>;
|
|
67
|
+
iconCombinedClasses: import("@angular/core").Signal<{
|
|
68
|
+
'c-primary': boolean;
|
|
69
|
+
'c-black400': boolean;
|
|
70
|
+
'c-info': boolean;
|
|
71
|
+
'c-success': boolean;
|
|
72
|
+
'c-warning': boolean;
|
|
73
|
+
'c-error': boolean;
|
|
74
|
+
'c-xs': boolean;
|
|
75
|
+
'c-sm': boolean;
|
|
76
|
+
'c-md': boolean;
|
|
77
|
+
'c-lg': boolean;
|
|
78
|
+
'material-icons': boolean;
|
|
79
|
+
'material-icons-outlined': boolean;
|
|
80
|
+
'material-icons-round': boolean;
|
|
81
|
+
'material-icons-sharp': boolean;
|
|
82
|
+
}>;
|
|
25
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdBadge, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdBadge, "sd-badge", never, { "
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdBadge, "sd-badge", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "primary": { "alias": "primary"; "required": false; "isSignal": true; }; "secondary": { "alias": "secondary"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "info": { "alias": "info"; "required": false; "isSignal": true; }; "warning": { "alias": "warning"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "fontSet": { "alias": "fontSet"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "click": "click"; }, never, never, true, never>;
|
|
27
85
|
}
|