@sdcorejs/angular 19.3.4 → 19.3.6
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/assets/STYLE-GUIDE.md +78 -1
- package/assets/THEME.md +45 -3
- package/assets/scss/core/_popover-panel.scss +90 -0
- package/assets/scss/core/form.scss +5 -2
- package/assets/scss/core/utilities/_grid.scss +15 -0
- package/assets/scss/core/utilities/_sizing.scss +4 -0
- package/assets/scss/themes/_component-tokens.scss +9 -4
- package/assets/scss/themes/_semantic.scss +6 -5
- package/components/anchor/src/components/anchor/anchor.component.d.ts +6 -1
- package/components/button/src/button-item.component.d.ts +7 -1
- package/components/calendar/index.d.ts +12 -0
- package/components/calendar/src/calendar-edge-scroll.d.ts +27 -0
- package/components/calendar/src/calendar-format.d.ts +51 -0
- package/components/calendar/src/calendar-host.d.ts +33 -0
- package/components/calendar/src/calendar-loader.d.ts +18 -0
- package/components/calendar/src/calendar-move.d.ts +189 -0
- package/components/calendar/src/calendar.component.d.ts +325 -0
- package/components/calendar/src/calendar.configuration.d.ts +24 -0
- package/components/calendar/src/calendar.model.d.ts +121 -0
- package/components/calendar/src/calendar.templates.d.ts +65 -0
- package/components/calendar/src/calendar.utils.d.ts +242 -0
- package/components/card/index.d.ts +3 -0
- package/components/card/src/card-actions.directive.d.ts +13 -0
- package/components/card/src/card-group.component.d.ts +32 -1
- package/components/card/src/card.component.d.ts +71 -5
- package/components/card/src/card.configuration.d.ts +20 -0
- package/components/card/src/card.format.d.ts +50 -0
- package/components/card/src/card.model.d.ts +83 -0
- package/components/card/src/card.utils.d.ts +5 -0
- package/components/file-explorer/src/file-explorer.utils.d.ts +1 -4
- package/components/index.d.ts +3 -1
- package/components/kanban/src/kanban-card-outlet.d.ts +16 -0
- package/components/kanban/src/kanban-loader.d.ts +45 -0
- package/components/kanban/src/kanban.component.d.ts +97 -37
- package/components/kanban/src/kanban.model.d.ts +93 -37
- package/components/kanban/src/kanban.utils.d.ts +38 -5
- package/components/modal/src/modal.component.d.ts +15 -1
- package/components/query-bar/index.d.ts +1 -0
- package/components/query-bar/src/components/actions-bar/actions-bar.component.d.ts +6 -2
- package/components/query-bar/src/components/chip-popover/chip-popover.component.d.ts +26 -22
- package/components/query-bar/src/components/field-picker/field-picker.component.d.ts +52 -31
- package/components/query-bar/src/components/inline-chip/inline-chip.component.d.ts +20 -1
- package/components/query-bar/src/components/inline-value-chip/inline-value-chip.component.d.ts +5 -1
- package/components/query-bar/src/components/panel/query-panel.d.ts +110 -0
- package/components/query-bar/src/components/popover-chip/popover-chip.component.d.ts +15 -8
- package/components/query-bar/src/components/saved-filters-menu/saved-filters-menu.component.d.ts +35 -18
- package/components/query-bar/src/components/saved-filters-menu/saved-filters-storage.d.ts +13 -0
- package/components/query-bar/src/query-bar-chip-text.d.ts +27 -0
- package/components/query-bar/src/query-bar-filter.d.ts +8 -0
- package/components/query-bar/src/query-bar.component.d.ts +62 -7
- package/components/query-bar/src/query-bar.model.d.ts +2 -0
- package/components/quick-action/index.d.ts +2 -0
- package/components/quick-action/src/selection-bar/selection-bar.component.d.ts +39 -0
- package/components/quick-action/src/selection-bar/selection-bar.model.d.ts +24 -0
- package/components/scheduler/index.d.ts +4 -0
- package/components/scheduler/src/scheduler.component.d.ts +345 -0
- package/components/scheduler/src/scheduler.model.d.ts +123 -0
- package/components/scheduler/src/scheduler.templates.d.ts +76 -0
- package/components/scheduler/src/scheduler.utils.d.ts +99 -0
- package/components/tab/src/tab-group.component.d.ts +6 -1
- package/components/tab-router/src/utils/tab-activated-route.d.ts +17 -0
- package/components/table/src/components/config/config.component.d.ts +69 -1
- package/components/table/src/components/filter/mobile-filter/mobile-field-sheet.component.d.ts +35 -0
- package/components/table/src/components/filter/mobile-filter/mobile-filter-field.component.d.ts +64 -0
- package/components/table/src/components/filter/mobile-filter/mobile-filter-summary.d.ts +11 -0
- package/components/table/src/components/filter/mobile-filter/mobile-filter.component.d.ts +47 -15
- package/components/table/src/components/filter/quick-search/quick-search.component.d.ts +3 -1
- package/components/table/src/components/mobile-cards/mobile-card-data.component.d.ts +45 -0
- package/components/table/src/components/mobile-cards/mobile-cards.component.d.ts +13 -1
- package/components/table/src/components/mobile-sheet/mobile-sheet.d.ts +35 -0
- package/components/table/src/components/mobile-sort/mobile-sort-sheet.component.d.ts +36 -0
- package/components/table/src/components/mobile-toolbar/mobile-filter-chips.component.d.ts +49 -0
- package/components/table/src/components/mobile-toolbar/mobile-tools-sheet.component.d.ts +48 -0
- package/components/table/src/components/mobile-toolbar/pull-refresh.component.d.ts +21 -0
- package/components/table/src/components/selector-action/action-filter.pipe.d.ts +3 -24
- package/components/table/src/components/selector-action/selector-action.component.d.ts +0 -10
- package/components/table/src/configurations/table.configuration.d.ts +53 -2
- package/components/table/src/models/index.d.ts +1 -0
- package/components/table/src/models/table-mobile.model.d.ts +55 -0
- package/components/table/src/models/table-option.model.d.ts +17 -1
- package/components/table/src/services/config-custom.util.d.ts +11 -3
- package/components/table/src/services/config.service.d.ts +0 -2
- package/components/table/src/services/mobile/mobile-view.util.d.ts +77 -0
- package/components/table/src/services/table-export/table-export.service.d.ts +2 -0
- package/components/table/src/services/table-filter/table-filter-callbacks.util.d.ts +25 -0
- package/components/table/src/services/table-filter/table-filter.model.d.ts +21 -2
- package/components/table/src/services/table-filter/table-mobile-filter.util.d.ts +54 -0
- package/components/table/src/services/table-filter/table-query-bar.util.d.ts +21 -1
- package/components/table/src/services/table-query-params/table-query-params.util.d.ts +48 -0
- package/components/table/src/table.component.d.ts +78 -11
- package/components/timeline/index.d.ts +3 -0
- package/components/timeline/src/timeline.component.d.ts +95 -0
- package/components/timeline/src/timeline.model.d.ts +82 -0
- package/components/timeline/src/timeline.templates.d.ts +28 -0
- package/components/timeline/src/timeline.utils.d.ts +41 -0
- package/components/tree/index.d.ts +1 -0
- package/components/tree/src/tree-empty-def.directive.d.ts +13 -0
- package/components/tree/src/tree.component.d.ts +79 -5
- package/components/tree/src/tree.model.d.ts +29 -0
- package/directives/src/sd-scroll-pointer.service.d.ts +18 -0
- package/directives/src/sd-scroll.directive.d.ts +4 -2
- package/fesm2022/sdcorejs-angular-components-anchor.mjs +61 -2
- package/fesm2022/sdcorejs-angular-components-anchor.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-button.mjs +13 -5
- package/fesm2022/sdcorejs-angular-components-button.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-calendar.mjs +2481 -0
- package/fesm2022/sdcorejs-angular-components-calendar.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-components-card.mjs +485 -22
- package/fesm2022/sdcorejs-angular-components-card.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-editor-engine.mjs +1 -1
- package/fesm2022/sdcorejs-angular-components-editor-engine.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-file-explorer.mjs +4 -18
- package/fesm2022/sdcorejs-angular-components-file-explorer.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-form-generic.mjs +7 -7
- package/fesm2022/sdcorejs-angular-components-form-generic.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-import-excel.mjs +1 -1
- package/fesm2022/sdcorejs-angular-components-import-excel.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-kanban.mjs +832 -153
- package/fesm2022/sdcorejs-angular-components-kanban.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-modal.mjs +66 -13
- package/fesm2022/sdcorejs-angular-components-modal.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-query-bar.mjs +1469 -357
- package/fesm2022/sdcorejs-angular-components-query-bar.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-quick-action.mjs +68 -2
- package/fesm2022/sdcorejs-angular-components-quick-action.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-scheduler.mjs +1934 -0
- package/fesm2022/sdcorejs-angular-components-scheduler.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-components-side-drawer.mjs +2 -2
- package/fesm2022/sdcorejs-angular-components-side-drawer.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-tab-router.mjs +126 -26
- package/fesm2022/sdcorejs-angular-components-tab-router.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-tab.mjs +30 -1
- package/fesm2022/sdcorejs-angular-components-tab.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-table.mjs +5943 -3666
- package/fesm2022/sdcorejs-angular-components-table.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-timeline.mjs +473 -0
- package/fesm2022/sdcorejs-angular-components-timeline.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-components-tree.mjs +596 -35
- package/fesm2022/sdcorejs-angular-components-tree.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-upload-file.mjs +2 -4
- package/fesm2022/sdcorejs-angular-components-upload-file.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components.mjs +3 -1
- package/fesm2022/sdcorejs-angular-components.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-directives.mjs +109 -22
- package/fesm2022/sdcorejs-angular-directives.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-date.mjs +140 -42
- package/fesm2022/sdcorejs-angular-forms-date.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-datetime.mjs +70 -21
- package/fesm2022/sdcorejs-angular-forms-datetime.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-directives.mjs +4 -3
- package/fesm2022/sdcorejs-angular-forms-directives.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs +1 -1
- package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-select.mjs +23 -4
- package/fesm2022/sdcorejs-angular-forms-select.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-tree-select.mjs +1 -1
- package/fesm2022/sdcorejs-angular-forms-tree-select.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-i18n.mjs +812 -52
- package/fesm2022/sdcorejs-angular-i18n.mjs.map +1 -1
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-configuration.page-Bk3PrEf3.mjs → sdcorejs-angular-modules-generic-generic-configuration.page-DHrM12Z3.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-configuration.page-Bk3PrEf3.mjs.map → sdcorejs-angular-modules-generic-generic-configuration.page-DHrM12Z3.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-form-host.page-CwUegGgG.mjs → sdcorejs-angular-modules-generic-generic-form-host.page-f7ysKltl.mjs} +2 -2
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-form-host.page-CwUegGgG.mjs.map → sdcorejs-angular-modules-generic-generic-form-host.page-f7ysKltl.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-list.page-lF2trhfp.mjs → sdcorejs-angular-modules-generic-generic-list.page-BdGxuquq.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-list.page-lF2trhfp.mjs.map → sdcorejs-angular-modules-generic-generic-list.page-BdGxuquq.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-BbmeOduc.mjs → sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-DtPfIB97.mjs} +4 -4
- package/fesm2022/{sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-BbmeOduc.mjs.map → sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-DtPfIB97.mjs.map} +1 -1
- package/fesm2022/sdcorejs-angular-modules-generic.mjs +1 -1
- package/fesm2022/sdcorejs-angular-modules-layout.mjs +17 -8
- package/fesm2022/sdcorejs-angular-modules-layout.mjs.map +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-base-api.service-DK33LxHm.mjs → sdcorejs-angular-modules-pattern-base-api.service-Bj3iKGg_.mjs} +2 -2
- package/fesm2022/{sdcorejs-angular-modules-pattern-base-api.service-DK33LxHm.mjs.map → sdcorejs-angular-modules-pattern-base-api.service-Bj3iKGg_.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-CPwGkrNk.mjs → sdcorejs-angular-modules-pattern-create.component-C27vASfj.mjs} +11 -7
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-C27vASfj.mjs.map +1 -0
- package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-VCbA_FkZ.mjs → sdcorejs-angular-modules-pattern-create.component-C63mUjRM.mjs} +2 -2
- package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-VCbA_FkZ.mjs.map → sdcorejs-angular-modules-pattern-create.component-C63mUjRM.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-Bi2tMFHf.mjs → sdcorejs-angular-modules-pattern-create.component-DYn8jkTD.mjs} +2 -2
- package/fesm2022/{sdcorejs-angular-modules-pattern-create.component-Bi2tMFHf.mjs.map → sdcorejs-angular-modules-pattern-create.component-DYn8jkTD.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-customer.service-CehsdBRP.mjs → sdcorejs-angular-modules-pattern-customer.service-BNVk2VIb.mjs} +2 -2
- package/fesm2022/{sdcorejs-angular-modules-pattern-customer.service-CehsdBRP.mjs.map → sdcorejs-angular-modules-pattern-customer.service-BNVk2VIb.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-5kI7wGdX.mjs → sdcorejs-angular-modules-pattern-detail.component-Bh8UD7ft.mjs} +57 -54
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-Bh8UD7ft.mjs.map +1 -0
- package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-CjAy-B9K.mjs → sdcorejs-angular-modules-pattern-detail.component-S7x8j9i5.mjs} +2 -2
- package/fesm2022/{sdcorejs-angular-modules-pattern-detail.component-CjAy-B9K.mjs.map → sdcorejs-angular-modules-pattern-detail.component-S7x8j9i5.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-flow.component-DObN_wCR.mjs → sdcorejs-angular-modules-pattern-flow.component-CHtskh2X.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-pattern-flow.component-DObN_wCR.mjs.map → sdcorejs-angular-modules-pattern-flow.component-CHtskh2X.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-index.component-TTrWCXIT.mjs → sdcorejs-angular-modules-pattern-index.component-W8icBRPe.mjs} +2 -2
- package/fesm2022/{sdcorejs-angular-modules-pattern-index.component-TTrWCXIT.mjs.map → sdcorejs-angular-modules-pattern-index.component-W8icBRPe.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-lines-table-form.component-B1qePLfk.mjs → sdcorejs-angular-modules-pattern-lines-table-form.component-DEwUiNkq.mjs} +5 -5
- package/fesm2022/{sdcorejs-angular-modules-pattern-lines-table-form.component-B1qePLfk.mjs.map → sdcorejs-angular-modules-pattern-lines-table-form.component-DEwUiNkq.mjs.map} +1 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-8m-QmfUX.mjs +501 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-8m-QmfUX.mjs.map +1 -0
- package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-W9vY7HrT.mjs → sdcorejs-angular-modules-pattern-list.component-BDEm2v0W.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-W9vY7HrT.mjs.map → sdcorejs-angular-modules-pattern-list.component-BDEm2v0W.mjs.map} +1 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BgwTyRhE.mjs +506 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BgwTyRhE.mjs.map +1 -0
- package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-CJ38CJXg.mjs → sdcorejs-angular-modules-pattern-list.component-BhFkL7tX.mjs} +30 -39
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BhFkL7tX.mjs.map +1 -0
- package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-BY5gjtNS.mjs → sdcorejs-angular-modules-pattern-list.component-j7ZFxvlG.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-pattern-list.component-BY5gjtNS.mjs.map → sdcorejs-angular-modules-pattern-list.component-j7ZFxvlG.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-mock-backend.factory-CI0H_5a4.mjs → sdcorejs-angular-modules-pattern-mock-backend.factory-CPAV_J3j.mjs} +2 -2
- package/fesm2022/{sdcorejs-angular-modules-pattern-mock-backend.factory-CI0H_5a4.mjs.map → sdcorejs-angular-modules-pattern-mock-backend.factory-CPAV_J3j.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-pattern-source-viewer-BqHwKfoc.mjs → sdcorejs-angular-modules-pattern-pattern-source-viewer-DuhyXsGn.mjs} +4 -22
- package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-DuhyXsGn.mjs.map +1 -0
- package/fesm2022/{sdcorejs-angular-modules-pattern-pattern-source.generated-CIiLOizq.mjs → sdcorejs-angular-modules-pattern-pattern-source.generated-bfpj85ke.mjs} +26 -27
- package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-bfpj85ke.mjs.map +1 -0
- package/fesm2022/{sdcorejs-angular-modules-pattern-product.service-D829aEk5.mjs → sdcorejs-angular-modules-pattern-product.service-B9Dc2NUr.mjs} +2 -2
- package/fesm2022/{sdcorejs-angular-modules-pattern-product.service-D829aEk5.mjs.map → sdcorejs-angular-modules-pattern-product.service-B9Dc2NUr.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-profile.component-BEFVmSSj.mjs → sdcorejs-angular-modules-pattern-profile.component-097Hf7Bc.mjs} +24 -14
- package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-097Hf7Bc.mjs.map +1 -0
- package/fesm2022/{sdcorejs-angular-modules-pattern-routes-B-TJUSV_.mjs → sdcorejs-angular-modules-pattern-routes-CahNEP9-.mjs} +5 -5
- package/fesm2022/{sdcorejs-angular-modules-pattern-routes-B-TJUSV_.mjs.map → sdcorejs-angular-modules-pattern-routes-CahNEP9-.mjs.map} +1 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CjfWGMvJ.mjs +65 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CjfWGMvJ.mjs.map +1 -0
- package/fesm2022/{sdcorejs-angular-modules-pattern-routes-1kDb9T7_.mjs → sdcorejs-angular-modules-pattern-routes-DeE5hp5x.mjs} +4 -4
- package/fesm2022/{sdcorejs-angular-modules-pattern-routes-1kDb9T7_.mjs.map → sdcorejs-angular-modules-pattern-routes-DeE5hp5x.mjs.map} +1 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-Di2ceIlM.mjs +56 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-Di2ceIlM.mjs.map +1 -0
- package/fesm2022/{sdcorejs-angular-modules-pattern-routes-B6z7KO0P.mjs → sdcorejs-angular-modules-pattern-routes-MEcCUESx.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-pattern-routes-B6z7KO0P.mjs.map → sdcorejs-angular-modules-pattern-routes-MEcCUESx.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-routes-DVlcUUzh.mjs → sdcorejs-angular-modules-pattern-routes-hKorxavO.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-pattern-routes-DVlcUUzh.mjs.map → sdcorejs-angular-modules-pattern-routes-hKorxavO.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-routes-DS39vgzU.mjs → sdcorejs-angular-modules-pattern-routes-sJfnmrVg.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-pattern-routes-DS39vgzU.mjs.map → sdcorejs-angular-modules-pattern-routes-sJfnmrVg.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-routes-DxWDWUdo.mjs → sdcorejs-angular-modules-pattern-routes-ygWsDRk9.mjs} +8 -8
- package/fesm2022/{sdcorejs-angular-modules-pattern-routes-DxWDWUdo.mjs.map → sdcorejs-angular-modules-pattern-routes-ygWsDRk9.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-nV5dVFx2.mjs → sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-C5IG0tkk.mjs} +12 -12
- package/fesm2022/{sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-nV5dVFx2.mjs.map → sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-C5IG0tkk.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-shell.component-0rRaWsuo.mjs → sdcorejs-angular-modules-pattern-shell.component-BPgXiYkB.mjs} +4 -4
- package/fesm2022/{sdcorejs-angular-modules-pattern-shell.component-0rRaWsuo.mjs.map → sdcorejs-angular-modules-pattern-shell.component-BPgXiYkB.mjs.map} +1 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-DF0pm6_f.mjs +480 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-DF0pm6_f.mjs.map +1 -0
- package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-DkAcDmsZ.mjs → sdcorejs-angular-modules-pattern-update.component-BXBxoTdB.mjs} +2 -2
- package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-DkAcDmsZ.mjs.map → sdcorejs-angular-modules-pattern-update.component-BXBxoTdB.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-BmsOgENL.mjs → sdcorejs-angular-modules-pattern-update.component-DS253vcu.mjs} +2 -2
- package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-BmsOgENL.mjs.map → sdcorejs-angular-modules-pattern-update.component-DS253vcu.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-pattern-update.component-DPZ_ucNB.mjs → sdcorejs-angular-modules-pattern-update.component-OOYioclV.mjs} +9 -6
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-OOYioclV.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern.mjs +1 -1
- package/fesm2022/sdcorejs-angular-services-confirm.mjs +171 -158
- package/fesm2022/sdcorejs-angular-services-confirm.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-services-excel.mjs +34 -0
- package/fesm2022/sdcorejs-angular-services-excel.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-services-query-params.mjs +226 -0
- package/fesm2022/sdcorejs-angular-services-query-params.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-utilities-extensions.mjs +24 -1
- package/fesm2022/sdcorejs-angular-utilities-extensions.mjs.map +1 -1
- package/forms/date/src/date.component.d.ts +2 -0
- package/forms/directives/src/search-field.component.d.ts +1 -1
- package/i18n/src/en.d.ts +159 -9
- package/modules/layout/components/page-list/page-list.component.d.ts +2 -1
- package/modules/pattern/README.md +5 -4
- package/modules/pattern/docs/detail.md +18 -9
- package/modules/pattern/docs/drawer.md +185 -83
- package/modules/pattern/docs/header-actions.md +1 -1
- package/modules/pattern/docs/list.md +3 -3
- package/modules/pattern/docs/states.md +1 -1
- package/modules/pattern/features/category/components/create-side-drawer/create-side-drawer.component.d.ts +6 -4
- package/modules/pattern/features/category/components/create-side-drawer/create-side-drawer.component.ts +12 -16
- package/modules/pattern/features/category/components/update-side-drawer/update-side-drawer.component.d.ts +13 -5
- package/modules/pattern/features/category/components/update-side-drawer/update-side-drawer.component.ts +58 -29
- package/modules/pattern/features/category/pages/list/list.component.d.ts +15 -3
- package/modules/pattern/features/category/pages/list/list.component.html +11 -3
- package/modules/pattern/features/category/pages/list/list.component.ts +36 -10
- package/modules/pattern/features/category/routes.d.ts +4 -1
- package/modules/pattern/features/category/routes.ts +5 -22
- package/modules/pattern/features/customer/components/create-side-drawer/create-side-drawer.component.d.ts +6 -5
- package/modules/pattern/features/customer/components/create-side-drawer/create-side-drawer.component.ts +7 -11
- package/modules/pattern/features/customer/components/detail-side-drawer/detail-side-drawer.component.d.ts +20 -8
- package/modules/pattern/features/customer/components/detail-side-drawer/detail-side-drawer.component.ts +70 -27
- package/modules/pattern/features/customer/components/summary-cards/summary-cards.component.d.ts +5 -3
- package/modules/pattern/features/customer/components/summary-cards/summary-cards.component.ts +9 -53
- package/modules/pattern/features/customer/components/update-side-drawer/update-side-drawer.component.d.ts +18 -7
- package/modules/pattern/features/customer/components/update-side-drawer/update-side-drawer.component.ts +53 -19
- package/modules/pattern/features/customer/entity.resolver.d.ts +1 -1
- package/modules/pattern/features/customer/entity.resolver.ts +1 -1
- package/modules/pattern/features/customer/pages/list/list.component.d.ts +21 -3
- package/modules/pattern/features/customer/pages/list/list.component.html +18 -3
- package/modules/pattern/features/customer/pages/list/list.component.ts +43 -16
- package/modules/pattern/features/customer/pages/profile/profile.component.d.ts +5 -2
- package/modules/pattern/features/customer/pages/profile/profile.component.ts +17 -8
- package/modules/pattern/features/customer/routes.d.ts +3 -2
- package/modules/pattern/features/customer/routes.ts +6 -27
- package/modules/pattern/features/order/components/approval-steps/approval-steps.component.d.ts +11 -3
- package/modules/pattern/features/order/components/approval-steps/approval-steps.component.ts +37 -56
- package/modules/pattern/features/order/components/summary-cards/summary-cards.component.d.ts +7 -4
- package/modules/pattern/features/order/components/summary-cards/summary-cards.component.ts +14 -76
- package/modules/pattern/features/order/pages/create/create.component.d.ts +1 -1
- package/modules/pattern/features/order/pages/create/create.component.ts +7 -3
- package/modules/pattern/features/order/pages/detail/detail.component.ts +1 -1
- package/modules/pattern/features/order/pages/update/update.component.d.ts +1 -1
- package/modules/pattern/features/order/pages/update/update.component.ts +5 -2
- package/package.json +36 -24
- package/services/confirm/src/lib/components/dialog-confirm/dialog-confirm.component.d.ts +6 -1
- package/services/confirm/src/lib/confirm.service.d.ts +23 -12
- package/services/confirm/src/public-api.d.ts +0 -1
- package/services/excel/src/lib/excel.model.d.ts +29 -0
- package/services/excel/src/lib/excel.service.d.ts +30 -0
- package/services/query-params/index.d.ts +1 -0
- package/services/query-params/src/query-param-sync.d.ts +63 -0
- package/utilities/extensions/index.d.ts +1 -0
- package/utilities/extensions/src/format-bytes.d.ts +8 -0
- package/components/history/index.d.ts +0 -1
- package/components/history/models/history.model.d.ts +0 -13
- package/components/history/pipes/view-date.pipe.d.ts +0 -9
- package/components/history/src/history.component.d.ts +0 -7
- package/fesm2022/sdcorejs-angular-components-history.mjs +0 -54
- package/fesm2022/sdcorejs-angular-components-history.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-B1BUBiag.mjs +0 -145
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-B1BUBiag.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-B27ZX8Co.mjs +0 -144
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-B27ZX8Co.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-CPwGkrNk.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs +0 -18
- package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-CPhLTiyx.mjs +0 -148
- package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-CPhLTiyx.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-5kI7wGdX.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-D6eKR2cq.mjs +0 -87
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-D6eKR2cq.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-FcJS3Nbd.mjs +0 -232
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-FcJS3Nbd.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-BA-3FR1J.mjs +0 -70
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-BA-3FR1J.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CJ38CJXg.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CdgPtSjJ.mjs +0 -164
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CdgPtSjJ.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DKIwrluh.mjs +0 -118
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DKIwrluh.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-BqHwKfoc.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-CIiLOizq.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-BEFVmSSj.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-r9CTj-8C.mjs +0 -74
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-r9CTj-8C.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-xI1XYRo6.mjs +0 -99
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-xI1XYRo6.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-6uH7sDEg.mjs +0 -143
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-6uH7sDEg.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-DglN2sS_.mjs +0 -132
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-DglN2sS_.mjs.map +0 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-DPZ_ucNB.mjs.map +0 -1
- package/modules/pattern/features/category/entity.resolver.d.ts +0 -6
- package/modules/pattern/features/category/entity.resolver.ts +0 -27
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, booleanAttribute, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
+
import { input, booleanAttribute, ChangeDetectionStrategy, Component, inject, ElementRef, output, signal, computed, DestroyRef, afterNextRender } from '@angular/core';
|
|
3
|
+
import { SdButton, SdButtonItem, SdButtonItemDivider } from '@sdcorejs/angular/components/button';
|
|
4
|
+
import { I18nService } from '@sdcorejs/angular/i18n';
|
|
5
|
+
import { SdIcon } from '@sdcorejs/angular/modules/icon';
|
|
3
6
|
|
|
4
7
|
class SdQuickAction {
|
|
5
8
|
/**
|
|
@@ -16,9 +19,72 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImpo
|
|
|
16
19
|
args: [{ selector: 'sd-quick-action', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"c-quick-action d-flex align-items-center\" [class.active]=\"opened()\" [class.contained]=\"contained()\">\n <div class=\"c-quick-action-message T14R\">\n <ng-content select=\"[sdMessage]\"></ng-content>\n </div>\n <div class=\"c-quick-action-action\">\n <ng-content select=\"[sdAction]\"></ng-content>\n </div>\n</div>\n", styles: [".c-quick-action{box-shadow:0 .4px .8px #0000001a,0 3px 6px #0003;border-radius:var(--sd-radius-8, 8px);position:fixed;width:max-content;max-width:min(90vw,720px);background-color:var(--sd-quick-action-bg, #ffffff);bottom:90px;left:0;right:0;margin:auto;visibility:hidden;opacity:0;pointer-events:none;transition:transform var(--sd-duration-base, .2s) ease-in-out,opacity var(--sd-duration-base, .2s) ease-in-out,visibility var(--sd-duration-base, .2s) ease-in-out;transform:translate3d(0,100%,0);z-index:var(--sd-z-floating, 99);gap:16px}.c-quick-action.active{transform:translateZ(0);opacity:1;visibility:visible;pointer-events:all}.c-quick-action.contained{position:relative;inset:auto;width:100%;max-width:100%;flex-wrap:wrap;box-sizing:border-box;background:var(--sd-surface, #fff);color:var(--sd-text);transform:none;gap:8px;padding:8px}.c-quick-action.contained .c-quick-action-action{flex:1 1 100%;min-width:0}.c-quick-action-message{flex:1 1 auto;min-width:0}.c-quick-action-action{flex:0 0 auto;display:flex;align-items:center}.c-quick-action:has(.c-quick-action-action:empty){gap:0;padding-right:16px}.c-quick-action-action:empty{display:none}\n"] }]
|
|
17
20
|
}] });
|
|
18
21
|
|
|
22
|
+
/** Dưới bề rộng này (của chính thanh, không phải của màn hình) thanh chuyển sang bố cục xếp dọc. */
|
|
23
|
+
const NARROW_WIDTH = 600;
|
|
24
|
+
/** Số lệnh hiện thành nút; phần còn lại gom vào nút "Thêm". */
|
|
25
|
+
const DIRECT_ACTIONS = 2;
|
|
26
|
+
/**
|
|
27
|
+
* Thanh chọn nhiều nằm trong khung, dùng chung cho `sd-table` và `sd-tree`. Nội bộ thư viện (export `ɵ`):
|
|
28
|
+
* consumer dùng `selector.actions` của bảng hoặc cây, không dùng trực tiếp component này.
|
|
29
|
+
*
|
|
30
|
+
* why: bảng và cây từng có hai thanh khác nhau (cây dùng `sd-quick-action` nổi, đè lên nội dung). Thanh này
|
|
31
|
+
* không biết gì về hàng của bảng hay nút của cây: chủ sở hữu đưa vào message và danh sách lệnh đã lọc, rồi tự
|
|
32
|
+
* chạy lệnh khi nhận `action`.
|
|
33
|
+
*/
|
|
34
|
+
class SdSelectionBar {
|
|
35
|
+
#i18n = inject(I18nService);
|
|
36
|
+
#host = inject(ElementRef);
|
|
37
|
+
opened = input(false, { transform: booleanAttribute });
|
|
38
|
+
message = input('');
|
|
39
|
+
actions = input([]);
|
|
40
|
+
/** Gốc autoId của chủ sở hữu (`components-table-<x>`, `components-tree-<x>`). Trống: không sinh autoId. */
|
|
41
|
+
autoId = input(undefined);
|
|
42
|
+
/** Phần giữa autoId của từng lệnh: `<autoId>-<prefix>-<index>`. */
|
|
43
|
+
actionAutoIdPrefix = input('action');
|
|
44
|
+
/** Người dùng chọn một lệnh (nút trực tiếp, mục trong "Thêm" hoặc lệnh con). */
|
|
45
|
+
action = output();
|
|
46
|
+
clear = output();
|
|
47
|
+
/** Bề rộng của thanh nhỏ hơn 600px. */
|
|
48
|
+
narrow = signal(false);
|
|
49
|
+
#entries = computed(() => (this.actions() ?? []).map((action, index) => ({ action, index })));
|
|
50
|
+
directActions = computed(() => this.#entries().slice(0, DIRECT_ACTIONS));
|
|
51
|
+
overflowActions = computed(() => this.#entries().slice(DIRECT_ACTIONS));
|
|
52
|
+
// why: key thuộc bảng vì thanh sinh ra ở đó; cây dùng lại đúng chữ này, không thêm key trùng nghĩa.
|
|
53
|
+
moreLabel = computed(() => this.#i18n.t('core.component.table.selector-action.more'));
|
|
54
|
+
clearLabel = computed(() => this.#i18n.t('core.component.table.clear-selection'));
|
|
55
|
+
constructor() {
|
|
56
|
+
const destroyRef = inject(DestroyRef);
|
|
57
|
+
afterNextRender(() => {
|
|
58
|
+
// Thiếu ResizeObserver (trình duyệt cũ, một số môi trường test): giữ bố cục rộng.
|
|
59
|
+
if (typeof ResizeObserver === 'undefined')
|
|
60
|
+
return;
|
|
61
|
+
const observer = new ResizeObserver(entries => {
|
|
62
|
+
const width = entries[entries.length - 1]?.contentRect.width ?? 0;
|
|
63
|
+
// Bề rộng 0 là lúc thanh đang ẩn hoặc chưa gắn vào trang, không phải thanh hẹp.
|
|
64
|
+
this.narrow.set(width > 0 && width < NARROW_WIDTH);
|
|
65
|
+
});
|
|
66
|
+
observer.observe(this.#host.nativeElement);
|
|
67
|
+
destroyRef.onDestroy(() => observer.disconnect());
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
actionAutoId(index, child) {
|
|
71
|
+
const base = this.autoId();
|
|
72
|
+
if (!base)
|
|
73
|
+
return null;
|
|
74
|
+
const id = `${base}-${this.actionAutoIdPrefix()}-${index}`;
|
|
75
|
+
return child === undefined ? id : `${id}-${child}`;
|
|
76
|
+
}
|
|
77
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: SdSelectionBar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
78
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: SdSelectionBar, isStandalone: true, selector: "sd-selection-bar", inputs: { opened: { classPropertyName: "opened", publicName: "opened", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, autoId: { classPropertyName: "autoId", publicName: "autoId", isSignal: true, isRequired: false, transformFunction: null }, actionAutoIdPrefix: { classPropertyName: "actionAutoIdPrefix", publicName: "actionAutoIdPrefix", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { action: "action", clear: "clear" }, host: { properties: { "class.sd-selection-bar--narrow": "narrow()" } }, ngImport: i0, template: "@let _autoId = autoId();\n@let _moreLabel = moreLabel();\n@let _direct = directActions();\n@let _overflow = overflowActions();\n@if (opened()) {\n <sd-quick-action opened contained>\n <div class=\"sd-selection-message\" sdMessage role=\"status\">\n <span class=\"sd-selection-icon\" aria-hidden=\"true\"><sd-icon name=\"check_circle_outline\" /></span>\n <span>{{ message() }}</span>\n </div>\n <div class=\"sd-selection-actions\" sdAction>\n @for (entry of _direct; track entry.index) {\n @let action = entry.action;\n @if (action.variant === 'normal') {\n <sd-button\n class=\"sd-selection-direct\"\n size=\"sm\"\n [autoId]=\"actionAutoId(entry.index)\"\n [tooltip]=\"action.tooltip\"\n [prefixIcon]=\"action.icon\"\n [color]=\"action.color\"\n [type]=\"action.type || 'light'\"\n [fontSet]=\"action.fontSet\"\n [title]=\"action.title\"\n (click)=\"this.action.emit(action)\" />\n } @else {\n <sd-button\n class=\"sd-selection-direct\"\n size=\"sm\"\n [autoId]=\"actionAutoId(entry.index)\"\n [tooltip]=\"action.tooltip\"\n [prefixIcon]=\"action.icon || 'more_horiz'\"\n [color]=\"action.color || 'secondary'\"\n [type]=\"action.type || 'light'\"\n [fontSet]=\"action.fontSet\"\n [title]=\"action.title\">\n @for (child of action.children; track $index) {\n <sd-button-item\n [autoId]=\"actionAutoId(entry.index, $index)\"\n [prefixIcon]=\"child.icon\"\n [fontSet]=\"child.fontSet\"\n [color]=\"child.color\"\n [tooltip]=\"child.tooltip\"\n (click)=\"this.action.emit(child)\"\n >{{ child.title }}</sd-button-item\n >\n }\n </sd-button>\n }\n }\n @if (_overflow.length) {\n <sd-button\n class=\"sd-selection-more\"\n size=\"sm\"\n suffixIcon=\"more_horiz\"\n [title]=\"_moreLabel\"\n color=\"secondary\"\n type=\"light\"\n [autoId]=\"_autoId ? _autoId + '-more-actions' : null\">\n @for (entry of _overflow; track entry.index) {\n @let action = entry.action;\n @if (action.variant === 'normal') {\n <sd-button-item\n [autoId]=\"actionAutoId(entry.index)\"\n [prefixIcon]=\"action.icon\"\n [fontSet]=\"action.fontSet\"\n [color]=\"action.color\"\n [tooltip]=\"action.tooltip\"\n (click)=\"this.action.emit(action)\"\n >{{ action.title }}</sd-button-item\n >\n } @else {\n <sd-button-item-divider [title]=\"action.title\" />\n @for (child of action.children; track $index) {\n <sd-button-item\n [autoId]=\"actionAutoId(entry.index, $index)\"\n [prefixIcon]=\"child.icon\"\n [fontSet]=\"child.fontSet\"\n [color]=\"child.color\"\n [tooltip]=\"child.tooltip\"\n (click)=\"this.action.emit(child)\"\n >{{ child.title }}</sd-button-item\n >\n }\n }\n }\n </sd-button>\n }\n <button\n type=\"button\"\n class=\"sd-selection-clear\"\n [attr.aria-label]=\"clearLabel()\"\n [attr.data-autoid]=\"_autoId ? 'components-button-' + _autoId + '-clear-selection' : null\"\n (click)=\"clear.emit()\">\n <sd-icon name=\"close\" aria-hidden=\"true\" />\n </button>\n </div>\n </sd-quick-action>\n}\n", styles: [":host{display:block;min-width:0;box-sizing:border-box}.sd-selection-message{display:flex;align-items:center;gap:8px;min-width:0;font-size:var(--sd-font-size-13, 13px);line-height:var(--sd-line-height-20, 20px)}.sd-selection-message>span:last-child{overflow-wrap:anywhere}.sd-selection-icon{display:flex;align-items:center;justify-content:center;flex:0 0 28px;height:28px;border-radius:var(--sd-radius-8, 8px);background:var(--sd-primary-light);color:var(--sd-primary)}.sd-selection-icon sd-icon,.sd-selection-icon mat-icon{width:18px;height:18px;font-size:var(--sd-font-size-18, 18px)}.sd-selection-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.sd-selection-clear{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;height:32px;border:0;border-radius:var(--sd-radius-8, 8px);color:var(--sd-text-secondary, #62676d);background:transparent;cursor:pointer}.sd-selection-clear:hover{background:var(--sd-surface-variant, #eef0f3)}.sd-selection-clear:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary));outline-offset:2px}.sd-selection-clear sd-icon,.sd-selection-clear mat-icon{width:18px;height:18px;font-size:var(--sd-font-size-18, 18px)}:host ::ng-deep sd-quick-action .c-quick-action.contained{flex-wrap:nowrap;gap:16px;padding:10px 12px;margin:8px 0;border:1px solid var(--sd-border, #dfe2e7);border-radius:var(--sd-radius-10, 10px);box-shadow:none}:host ::ng-deep sd-quick-action .c-quick-action.contained .c-quick-action-action{flex:0 0 auto!important}:host(.sd-selection-bar--narrow) ::ng-deep sd-quick-action .c-quick-action.contained{flex-wrap:wrap;gap:8px}:host(.sd-selection-bar--narrow) ::ng-deep sd-quick-action .c-quick-action.contained .c-quick-action-action{flex:1 1 100%!important}:host(.sd-selection-bar--narrow) .sd-selection-actions{width:100%;gap:6px}:host(.sd-selection-bar--narrow) .sd-selection-message{padding-inline-end:36px}:host(.sd-selection-bar--narrow) .sd-selection-actions sd-button{flex:1 1 auto}:host(.sd-selection-bar--narrow) ::ng-deep .sd-selection-actions sd-button button{width:100%;min-height:40px}:host(.sd-selection-bar--narrow) .sd-selection-clear{position:absolute;top:4px;inset-inline-end:8px;width:40px;flex-basis:40px;height:40px}\n"], dependencies: [{ kind: "component", type: SdIcon, selector: "sd-icon", inputs: ["name", "fontIcon", "color", "set", "fontSet", "size", "strokeWidth", "absoluteStrokeWidth", "ariaLabel"] }, { kind: "component", type: SdButton, selector: "sd-button", inputs: ["autoId", "type", "color", "size", "fontSet", "title", "width", "tooltip", "prefixIcon", "suffixIcon", "disabled", "openOnHover", "loading", "block", "htmlType", "indicator", "indicatorColor", "indicatorMax", "indicatorLabel"], outputs: ["click"] }, { kind: "component", type: SdButtonItem, selector: "sd-button-item", inputs: ["color", "prefixIcon", "suffixIcon", "fontSet", "disabled", "checked", "tooltip", "autoId"], outputs: ["click"] }, { kind: "component", type: SdButtonItemDivider, selector: "sd-button-item-divider", inputs: ["title"] }, { kind: "component", type: SdQuickAction, selector: "sd-quick-action", inputs: ["opened", "contained"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
79
|
+
}
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: SdSelectionBar, decorators: [{
|
|
81
|
+
type: Component,
|
|
82
|
+
args: [{ selector: 'sd-selection-bar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [SdIcon, SdButton, SdButtonItem, SdButtonItemDivider, SdQuickAction], host: { '[class.sd-selection-bar--narrow]': 'narrow()' }, template: "@let _autoId = autoId();\n@let _moreLabel = moreLabel();\n@let _direct = directActions();\n@let _overflow = overflowActions();\n@if (opened()) {\n <sd-quick-action opened contained>\n <div class=\"sd-selection-message\" sdMessage role=\"status\">\n <span class=\"sd-selection-icon\" aria-hidden=\"true\"><sd-icon name=\"check_circle_outline\" /></span>\n <span>{{ message() }}</span>\n </div>\n <div class=\"sd-selection-actions\" sdAction>\n @for (entry of _direct; track entry.index) {\n @let action = entry.action;\n @if (action.variant === 'normal') {\n <sd-button\n class=\"sd-selection-direct\"\n size=\"sm\"\n [autoId]=\"actionAutoId(entry.index)\"\n [tooltip]=\"action.tooltip\"\n [prefixIcon]=\"action.icon\"\n [color]=\"action.color\"\n [type]=\"action.type || 'light'\"\n [fontSet]=\"action.fontSet\"\n [title]=\"action.title\"\n (click)=\"this.action.emit(action)\" />\n } @else {\n <sd-button\n class=\"sd-selection-direct\"\n size=\"sm\"\n [autoId]=\"actionAutoId(entry.index)\"\n [tooltip]=\"action.tooltip\"\n [prefixIcon]=\"action.icon || 'more_horiz'\"\n [color]=\"action.color || 'secondary'\"\n [type]=\"action.type || 'light'\"\n [fontSet]=\"action.fontSet\"\n [title]=\"action.title\">\n @for (child of action.children; track $index) {\n <sd-button-item\n [autoId]=\"actionAutoId(entry.index, $index)\"\n [prefixIcon]=\"child.icon\"\n [fontSet]=\"child.fontSet\"\n [color]=\"child.color\"\n [tooltip]=\"child.tooltip\"\n (click)=\"this.action.emit(child)\"\n >{{ child.title }}</sd-button-item\n >\n }\n </sd-button>\n }\n }\n @if (_overflow.length) {\n <sd-button\n class=\"sd-selection-more\"\n size=\"sm\"\n suffixIcon=\"more_horiz\"\n [title]=\"_moreLabel\"\n color=\"secondary\"\n type=\"light\"\n [autoId]=\"_autoId ? _autoId + '-more-actions' : null\">\n @for (entry of _overflow; track entry.index) {\n @let action = entry.action;\n @if (action.variant === 'normal') {\n <sd-button-item\n [autoId]=\"actionAutoId(entry.index)\"\n [prefixIcon]=\"action.icon\"\n [fontSet]=\"action.fontSet\"\n [color]=\"action.color\"\n [tooltip]=\"action.tooltip\"\n (click)=\"this.action.emit(action)\"\n >{{ action.title }}</sd-button-item\n >\n } @else {\n <sd-button-item-divider [title]=\"action.title\" />\n @for (child of action.children; track $index) {\n <sd-button-item\n [autoId]=\"actionAutoId(entry.index, $index)\"\n [prefixIcon]=\"child.icon\"\n [fontSet]=\"child.fontSet\"\n [color]=\"child.color\"\n [tooltip]=\"child.tooltip\"\n (click)=\"this.action.emit(child)\"\n >{{ child.title }}</sd-button-item\n >\n }\n }\n }\n </sd-button>\n }\n <button\n type=\"button\"\n class=\"sd-selection-clear\"\n [attr.aria-label]=\"clearLabel()\"\n [attr.data-autoid]=\"_autoId ? 'components-button-' + _autoId + '-clear-selection' : null\"\n (click)=\"clear.emit()\">\n <sd-icon name=\"close\" aria-hidden=\"true\" />\n </button>\n </div>\n </sd-quick-action>\n}\n", styles: [":host{display:block;min-width:0;box-sizing:border-box}.sd-selection-message{display:flex;align-items:center;gap:8px;min-width:0;font-size:var(--sd-font-size-13, 13px);line-height:var(--sd-line-height-20, 20px)}.sd-selection-message>span:last-child{overflow-wrap:anywhere}.sd-selection-icon{display:flex;align-items:center;justify-content:center;flex:0 0 28px;height:28px;border-radius:var(--sd-radius-8, 8px);background:var(--sd-primary-light);color:var(--sd-primary)}.sd-selection-icon sd-icon,.sd-selection-icon mat-icon{width:18px;height:18px;font-size:var(--sd-font-size-18, 18px)}.sd-selection-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.sd-selection-clear{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;height:32px;border:0;border-radius:var(--sd-radius-8, 8px);color:var(--sd-text-secondary, #62676d);background:transparent;cursor:pointer}.sd-selection-clear:hover{background:var(--sd-surface-variant, #eef0f3)}.sd-selection-clear:focus-visible{outline:var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color, var(--sd-primary));outline-offset:2px}.sd-selection-clear sd-icon,.sd-selection-clear mat-icon{width:18px;height:18px;font-size:var(--sd-font-size-18, 18px)}:host ::ng-deep sd-quick-action .c-quick-action.contained{flex-wrap:nowrap;gap:16px;padding:10px 12px;margin:8px 0;border:1px solid var(--sd-border, #dfe2e7);border-radius:var(--sd-radius-10, 10px);box-shadow:none}:host ::ng-deep sd-quick-action .c-quick-action.contained .c-quick-action-action{flex:0 0 auto!important}:host(.sd-selection-bar--narrow) ::ng-deep sd-quick-action .c-quick-action.contained{flex-wrap:wrap;gap:8px}:host(.sd-selection-bar--narrow) ::ng-deep sd-quick-action .c-quick-action.contained .c-quick-action-action{flex:1 1 100%!important}:host(.sd-selection-bar--narrow) .sd-selection-actions{width:100%;gap:6px}:host(.sd-selection-bar--narrow) .sd-selection-message{padding-inline-end:36px}:host(.sd-selection-bar--narrow) .sd-selection-actions sd-button{flex:1 1 auto}:host(.sd-selection-bar--narrow) ::ng-deep .sd-selection-actions sd-button button{width:100%;min-height:40px}:host(.sd-selection-bar--narrow) .sd-selection-clear{position:absolute;top:4px;inset-inline-end:8px;width:40px;flex-basis:40px;height:40px}\n"] }]
|
|
83
|
+
}], ctorParameters: () => [] });
|
|
84
|
+
|
|
19
85
|
/**
|
|
20
86
|
* Generated bundle index. Do not edit.
|
|
21
87
|
*/
|
|
22
88
|
|
|
23
|
-
export { SdQuickAction };
|
|
89
|
+
export { SdQuickAction, SdSelectionBar as ɵSdSelectionBar };
|
|
24
90
|
//# sourceMappingURL=sdcorejs-angular-components-quick-action.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdcorejs-angular-components-quick-action.mjs","sources":["../../../projects/sdcorejs-angular/components/quick-action/src/quick-action.component.ts","../../../projects/sdcorejs-angular/components/quick-action/src/quick-action.component.html","../../../projects/sdcorejs-angular/components/quick-action/sdcorejs-angular-components-quick-action.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, input } from '@angular/core';\n\n@Component({\n selector: 'sd-quick-action',\n templateUrl: './quick-action.component.html',\n styleUrl: './quick-action.component.scss',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SdQuickAction {\n /**\n * Toggle visibility of the floating toolbar. Bare attribute = true.\n */\n readonly opened = input(false, { transform: booleanAttribute });\n /** Keep the toolbar in its owner's layout (for a sticky table footer or a drawer). */\n readonly contained = input(false, { transform: booleanAttribute });\n}\n","<div class=\"c-quick-action d-flex align-items-center\" [class.active]=\"opened()\" [class.contained]=\"contained()\">\n <div class=\"c-quick-action-message T14R\">\n <ng-content select=\"[sdMessage]\"></ng-content>\n </div>\n <div class=\"c-quick-action-action\">\n <ng-content select=\"[sdAction]\"></ng-content>\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MASa,aAAa,CAAA;AACxB;;AAEG;IACM,MAAM,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;;IAEtD,SAAS,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;wGANvD,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,aAAa,sVCT1B,yVAQA,EAAA,MAAA,EAAA,CAAA,qoCAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDCa,aAAa,EAAA,UAAA,EAAA,CAAA;kBAPzB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,EAAA,UAAA,EAGf,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,yVAAA,EAAA,MAAA,EAAA,CAAA,qoCAAA,CAAA,EAAA;;;AEPjD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"sdcorejs-angular-components-quick-action.mjs","sources":["../../../projects/sdcorejs-angular/components/quick-action/src/quick-action.component.ts","../../../projects/sdcorejs-angular/components/quick-action/src/quick-action.component.html","../../../projects/sdcorejs-angular/components/quick-action/src/selection-bar/selection-bar.component.ts","../../../projects/sdcorejs-angular/components/quick-action/src/selection-bar/selection-bar.component.html","../../../projects/sdcorejs-angular/components/quick-action/sdcorejs-angular-components-quick-action.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, input } from '@angular/core';\n\n@Component({\n selector: 'sd-quick-action',\n templateUrl: './quick-action.component.html',\n styleUrl: './quick-action.component.scss',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SdQuickAction {\n /**\n * Toggle visibility of the floating toolbar. Bare attribute = true.\n */\n readonly opened = input(false, { transform: booleanAttribute });\n /** Keep the toolbar in its owner's layout (for a sticky table footer or a drawer). */\n readonly contained = input(false, { transform: booleanAttribute });\n}\n","<div class=\"c-quick-action d-flex align-items-center\" [class.active]=\"opened()\" [class.contained]=\"contained()\">\n <div class=\"c-quick-action-message T14R\">\n <ng-content select=\"[sdMessage]\"></ng-content>\n </div>\n <div class=\"c-quick-action-action\">\n <ng-content select=\"[sdAction]\"></ng-content>\n </div>\n</div>\n","import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n afterNextRender,\n booleanAttribute,\n computed,\n inject,\n input,\n output,\n signal,\n} from '@angular/core';\nimport { SdButton, SdButtonItem, SdButtonItemDivider } from '@sdcorejs/angular/components/button';\nimport { I18nService } from '@sdcorejs/angular/i18n';\nimport { SdIcon } from '@sdcorejs/angular/modules/icon';\nimport { SdQuickAction } from '../quick-action.component';\nimport { SdSelectionBarAction, SdSelectionBarActionNormal } from './selection-bar.model';\n\n/** Dưới bề rộng này (của chính thanh, không phải của màn hình) thanh chuyển sang bố cục xếp dọc. */\nconst NARROW_WIDTH = 600;\n/** Số lệnh hiện thành nút; phần còn lại gom vào nút \"Thêm\". */\nconst DIRECT_ACTIONS = 2;\n\n/**\n * Thanh chọn nhiều nằm trong khung, dùng chung cho `sd-table` và `sd-tree`. Nội bộ thư viện (export `ɵ`):\n * consumer dùng `selector.actions` của bảng hoặc cây, không dùng trực tiếp component này.\n *\n * why: bảng và cây từng có hai thanh khác nhau (cây dùng `sd-quick-action` nổi, đè lên nội dung). Thanh này\n * không biết gì về hàng của bảng hay nút của cây: chủ sở hữu đưa vào message và danh sách lệnh đã lọc, rồi tự\n * chạy lệnh khi nhận `action`.\n */\n@Component({\n selector: 'sd-selection-bar',\n standalone: true,\n templateUrl: './selection-bar.component.html',\n styleUrl: './selection-bar.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [SdIcon, SdButton, SdButtonItem, SdButtonItemDivider, SdQuickAction],\n host: { '[class.sd-selection-bar--narrow]': 'narrow()' },\n})\nexport class SdSelectionBar {\n readonly #i18n = inject(I18nService);\n readonly #host = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly opened = input(false, { transform: booleanAttribute });\n readonly message = input<string | null | undefined>('');\n readonly actions = input<readonly SdSelectionBarAction[] | null | undefined>([]);\n /** Gốc autoId của chủ sở hữu (`components-table-<x>`, `components-tree-<x>`). Trống: không sinh autoId. */\n readonly autoId = input<string | null | undefined>(undefined);\n /** Phần giữa autoId của từng lệnh: `<autoId>-<prefix>-<index>`. */\n readonly actionAutoIdPrefix = input('action');\n\n /** Người dùng chọn một lệnh (nút trực tiếp, mục trong \"Thêm\" hoặc lệnh con). */\n readonly action = output<SdSelectionBarActionNormal>();\n readonly clear = output<void>();\n\n /** Bề rộng của thanh nhỏ hơn 600px. */\n readonly narrow = signal(false);\n\n readonly #entries = computed(() => (this.actions() ?? []).map((action, index) => ({ action, index })));\n readonly directActions = computed(() => this.#entries().slice(0, DIRECT_ACTIONS));\n readonly overflowActions = computed(() => this.#entries().slice(DIRECT_ACTIONS));\n // why: key thuộc bảng vì thanh sinh ra ở đó; cây dùng lại đúng chữ này, không thêm key trùng nghĩa.\n readonly moreLabel = computed(() => this.#i18n.t('core.component.table.selector-action.more'));\n readonly clearLabel = computed(() => this.#i18n.t('core.component.table.clear-selection'));\n\n constructor() {\n const destroyRef = inject(DestroyRef);\n afterNextRender(() => {\n // Thiếu ResizeObserver (trình duyệt cũ, một số môi trường test): giữ bố cục rộng.\n if (typeof ResizeObserver === 'undefined') return;\n const observer = new ResizeObserver(entries => {\n const width = entries[entries.length - 1]?.contentRect.width ?? 0;\n // Bề rộng 0 là lúc thanh đang ẩn hoặc chưa gắn vào trang, không phải thanh hẹp.\n this.narrow.set(width > 0 && width < NARROW_WIDTH);\n });\n observer.observe(this.#host.nativeElement);\n destroyRef.onDestroy(() => observer.disconnect());\n });\n }\n\n actionAutoId(index: number, child?: number): string | null {\n const base = this.autoId();\n if (!base) return null;\n const id = `${base}-${this.actionAutoIdPrefix()}-${index}`;\n return child === undefined ? id : `${id}-${child}`;\n }\n}\n","@let _autoId = autoId();\n@let _moreLabel = moreLabel();\n@let _direct = directActions();\n@let _overflow = overflowActions();\n@if (opened()) {\n <sd-quick-action opened contained>\n <div class=\"sd-selection-message\" sdMessage role=\"status\">\n <span class=\"sd-selection-icon\" aria-hidden=\"true\"><sd-icon name=\"check_circle_outline\" /></span>\n <span>{{ message() }}</span>\n </div>\n <div class=\"sd-selection-actions\" sdAction>\n @for (entry of _direct; track entry.index) {\n @let action = entry.action;\n @if (action.variant === 'normal') {\n <sd-button\n class=\"sd-selection-direct\"\n size=\"sm\"\n [autoId]=\"actionAutoId(entry.index)\"\n [tooltip]=\"action.tooltip\"\n [prefixIcon]=\"action.icon\"\n [color]=\"action.color\"\n [type]=\"action.type || 'light'\"\n [fontSet]=\"action.fontSet\"\n [title]=\"action.title\"\n (click)=\"this.action.emit(action)\" />\n } @else {\n <sd-button\n class=\"sd-selection-direct\"\n size=\"sm\"\n [autoId]=\"actionAutoId(entry.index)\"\n [tooltip]=\"action.tooltip\"\n [prefixIcon]=\"action.icon || 'more_horiz'\"\n [color]=\"action.color || 'secondary'\"\n [type]=\"action.type || 'light'\"\n [fontSet]=\"action.fontSet\"\n [title]=\"action.title\">\n @for (child of action.children; track $index) {\n <sd-button-item\n [autoId]=\"actionAutoId(entry.index, $index)\"\n [prefixIcon]=\"child.icon\"\n [fontSet]=\"child.fontSet\"\n [color]=\"child.color\"\n [tooltip]=\"child.tooltip\"\n (click)=\"this.action.emit(child)\"\n >{{ child.title }}</sd-button-item\n >\n }\n </sd-button>\n }\n }\n @if (_overflow.length) {\n <sd-button\n class=\"sd-selection-more\"\n size=\"sm\"\n suffixIcon=\"more_horiz\"\n [title]=\"_moreLabel\"\n color=\"secondary\"\n type=\"light\"\n [autoId]=\"_autoId ? _autoId + '-more-actions' : null\">\n @for (entry of _overflow; track entry.index) {\n @let action = entry.action;\n @if (action.variant === 'normal') {\n <sd-button-item\n [autoId]=\"actionAutoId(entry.index)\"\n [prefixIcon]=\"action.icon\"\n [fontSet]=\"action.fontSet\"\n [color]=\"action.color\"\n [tooltip]=\"action.tooltip\"\n (click)=\"this.action.emit(action)\"\n >{{ action.title }}</sd-button-item\n >\n } @else {\n <sd-button-item-divider [title]=\"action.title\" />\n @for (child of action.children; track $index) {\n <sd-button-item\n [autoId]=\"actionAutoId(entry.index, $index)\"\n [prefixIcon]=\"child.icon\"\n [fontSet]=\"child.fontSet\"\n [color]=\"child.color\"\n [tooltip]=\"child.tooltip\"\n (click)=\"this.action.emit(child)\"\n >{{ child.title }}</sd-button-item\n >\n }\n }\n }\n </sd-button>\n }\n <button\n type=\"button\"\n class=\"sd-selection-clear\"\n [attr.aria-label]=\"clearLabel()\"\n [attr.data-autoid]=\"_autoId ? 'components-button-' + _autoId + '-clear-selection' : null\"\n (click)=\"clear.emit()\">\n <sd-icon name=\"close\" aria-hidden=\"true\" />\n </button>\n </div>\n </sd-quick-action>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MASa,aAAa,CAAA;AACxB;;AAEG;IACM,MAAM,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;;IAEtD,SAAS,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;wGANvD,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA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