@sdcorejs/angular 20.3.2 → 20.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/THEME.md +58 -6
- package/assets/scss/core/form.scss +291 -3
- package/assets/scss/themes/_component-tokens.scss +35 -6
- package/components/badge/index.d.ts +19 -1
- package/components/query-bar/index.d.ts +126 -11
- package/components/section/index.d.ts +13 -1
- package/components/splitter/index.d.ts +1 -1
- package/components/tab-router/index.d.ts +47 -5
- package/components/table/index.d.ts +300 -25
- package/components/upload-file/index.d.ts +181 -21
- package/fesm2022/sdcorejs-angular-components-badge.mjs +2 -2
- package/fesm2022/sdcorejs-angular-components-badge.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-form-generic.mjs +3 -3
- package/fesm2022/sdcorejs-angular-components-form-generic.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-query-bar.mjs +460 -42
- package/fesm2022/sdcorejs-angular-components-query-bar.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-section.mjs +15 -3
- package/fesm2022/sdcorejs-angular-components-section.mjs.map +1 -1
- 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-splitter.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-tab-router.mjs +393 -78
- package/fesm2022/sdcorejs-angular-components-tab-router.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-table.mjs +1669 -126
- package/fesm2022/sdcorejs-angular-components-table.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-upload-file.mjs +887 -174
- package/fesm2022/sdcorejs-angular-components-upload-file.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-autocomplete.mjs +7 -2
- package/fesm2022/sdcorejs-angular-forms-autocomplete.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-chip-calendar.mjs +5 -2
- package/fesm2022/sdcorejs-angular-forms-chip-calendar.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-chip.mjs +422 -122
- package/fesm2022/sdcorejs-angular-forms-chip.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-date-range.mjs +4 -0
- package/fesm2022/sdcorejs-angular-forms-date-range.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-date.mjs +4 -0
- package/fesm2022/sdcorejs-angular-forms-date.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-datetime.mjs +4 -0
- package/fesm2022/sdcorejs-angular-forms-datetime.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-input-number.mjs +17 -2
- package/fesm2022/sdcorejs-angular-forms-input-number.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-input.mjs +4 -0
- package/fesm2022/sdcorejs-angular-forms-input.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-select.mjs +26 -20
- package/fesm2022/sdcorejs-angular-forms-select.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-textarea.mjs +14 -1
- package/fesm2022/sdcorejs-angular-forms-textarea.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-i18n.mjs +350 -5
- package/fesm2022/sdcorejs-angular-i18n.mjs.map +1 -1
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-configuration.page-DnbDCdcz.mjs → sdcorejs-angular-modules-generic-generic-configuration.page-D_1BxDC9.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-configuration.page-DnbDCdcz.mjs.map → sdcorejs-angular-modules-generic-generic-configuration.page-D_1BxDC9.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-form-host.page-EBHM4kx2.mjs → sdcorejs-angular-modules-generic-generic-form-host.page-CgH8Qi25.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-form-host.page-EBHM4kx2.mjs.map → sdcorejs-angular-modules-generic-generic-form-host.page-CgH8Qi25.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-list.page-BtHe8YIW.mjs → sdcorejs-angular-modules-generic-generic-list.page-CyCGqW9W.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-list.page-BtHe8YIW.mjs.map → sdcorejs-angular-modules-generic-generic-list.page-CyCGqW9W.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-eFshU7ew.mjs → sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-DTmU8Te4.mjs} +4 -4
- package/fesm2022/{sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-eFshU7ew.mjs.map → sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-DTmU8Te4.mjs.map} +1 -1
- package/fesm2022/sdcorejs-angular-modules-generic.mjs +1 -1
- package/fesm2022/sdcorejs-angular-modules-layout.mjs +348 -11
- package/fesm2022/sdcorejs-angular-modules-layout.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-modules-pattern-api-error-BBWwQ6h2.mjs +23 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-api-error-BBWwQ6h2.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-approval-inbox-BMwD6_FC.mjs +16 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-approval-inbox-BMwD6_FC.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-base-api.service-okZVmcd5.mjs +51 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-base-api.service-okZVmcd5.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CB4F9cBe.mjs +144 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CB4F9cBe.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CowdEzyv.mjs +145 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CowdEzyv.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-2-dyjvCH.mjs +113 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-2-dyjvCH.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-BCoG3bVV.mjs +142 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-BCoG3bVV.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-LPUj7MqG.mjs +460 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-LPUj7MqG.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs +18 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-customer.model-C3fr4yNw.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-customer.service-Caua6Xto.mjs +66 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-customer.service-Caua6Xto.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-Bu6E63bN.mjs +148 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-Bu6E63bN.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-B2Y0PbbC.mjs +484 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-B2Y0PbbC.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-_c_4slgf.mjs +172 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-_c_4slgf.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-awjgX7ph.mjs +90 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-awjgX7ph.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-flow.component-C_HziBQN.mjs +514 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-flow.component-C_HziBQN.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-form-api-errors-FwmYVkag.mjs +61 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-form-api-errors-FwmYVkag.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-BRsdOwWy.mjs +87 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-BRsdOwWy.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-BttbZ_yr.mjs +170 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-BttbZ_yr.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-DalxHa8D.mjs +232 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-DalxHa8D.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-kdEZ9s7K.mjs +70 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-kdEZ9s7K.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-index.component-B2dNqckm.mjs +100 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-index.component-B2dNqckm.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-lines-table-form.component-Dq8Q8Vfm.mjs +812 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-lines-table-form.component-Dq8Q8Vfm.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-B3-th1z4.mjs +164 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-B3-th1z4.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-Bs9hhMr7.mjs +115 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-Bs9hhMr7.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CRttQEXa.mjs +118 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CRttQEXa.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CeX57FPi.mjs +629 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CeX57FPi.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DS8A17mM.mjs +71 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DS8A17mM.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-mock-backend.factory-Dfil91qL.mjs +1069 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-mock-backend.factory-Dfil91qL.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-BqHwKfoc.mjs +193 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-BqHwKfoc.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-CIiLOizq.mjs +99 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-CIiLOizq.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-product.model-BoHLJ8vf.mjs +12 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-product.model-BoHLJ8vf.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-product.service-PaIGZ1ve.mjs +48 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-product.service-PaIGZ1ve.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-B8j8cieu.mjs +297 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-B8j8cieu.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-0Vh73aXL.mjs +45 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-0Vh73aXL.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-BoB2usST.mjs +43 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-BoB2usST.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CFLETqYK.mjs +66 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CFLETqYK.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CFT9DyKj.mjs +165 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CFT9DyKj.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CZusLcS3.mjs +74 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CZusLcS3.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-Cq4BqjE9.mjs +99 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-Cq4BqjE9.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-Cw9uJySU.mjs +50 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-Cw9uJySU.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-nrxSHE-O.mjs +74 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-nrxSHE-O.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-CJ6hUHjk.mjs +406 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-CJ6hUHjk.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-shell.component-C_AFK_9X.mjs +317 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-shell.component-C_AFK_9X.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-C74EEboR.mjs +143 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-C74EEboR.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-Dj9lvkCP.mjs +132 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-Dj9lvkCP.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-B7H9pp-R.mjs +100 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-B7H9pp-R.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-Dhfba-qx.mjs +138 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-Dhfba-qx.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-hRTu79uE.mjs +359 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-hRTu79uE.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern.mjs +2 -0
- package/fesm2022/sdcorejs-angular-modules-pattern.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-services-api.mjs +11 -11
- package/fesm2022/sdcorejs-angular-services-api.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-services-cache.mjs +7 -5
- package/fesm2022/sdcorejs-angular-services-cache.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-services-storage.mjs +6 -4
- package/fesm2022/sdcorejs-angular-services-storage.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-services-unsaved-changes.mjs +104 -4
- package/fesm2022/sdcorejs-angular-services-unsaved-changes.mjs.map +1 -1
- package/forms/chip/index.d.ts +136 -26
- package/i18n/index.d.ts +70 -1
- package/modules/layout/index.d.ts +89 -6
- package/modules/pattern/README.md +76 -0
- package/modules/pattern/docs/detail.md +237 -0
- package/modules/pattern/docs/drawer.md +484 -0
- package/modules/pattern/docs/flow.md +631 -0
- package/modules/pattern/docs/form.md +815 -0
- package/modules/pattern/docs/header-actions.md +344 -0
- package/modules/pattern/docs/list.md +247 -0
- package/modules/pattern/docs/relation.md +180 -0
- package/modules/pattern/docs/select.md +214 -0
- package/modules/pattern/docs/split.md +350 -0
- package/modules/pattern/docs/states.md +168 -0
- package/modules/pattern/features/approval/entity.resolver.ts +21 -0
- package/modules/pattern/features/approval/pages/detail/detail.component.ts +139 -0
- package/modules/pattern/features/approval/pages/list/approval-inbox.ts +7 -0
- package/modules/pattern/features/approval/pages/list/list.component.html +20 -0
- package/modules/pattern/features/approval/pages/list/list.component.ts +149 -0
- package/modules/pattern/features/approval/routes.ts +30 -0
- package/modules/pattern/features/approval/services/approval.model.ts +38 -0
- package/modules/pattern/features/approval/services/approval.service.ts +23 -0
- package/modules/pattern/features/category/components/create-side-drawer/create-side-drawer.component.ts +130 -0
- package/modules/pattern/features/category/components/general-information-form/general-information-form.component.ts +61 -0
- package/modules/pattern/features/category/components/update-side-drawer/update-side-drawer.component.ts +134 -0
- package/modules/pattern/features/category/entity.resolver.ts +27 -0
- package/modules/pattern/features/category/pages/list/list.component.html +20 -0
- package/modules/pattern/features/category/pages/list/list.component.ts +105 -0
- package/modules/pattern/features/category/routes.ts +42 -0
- package/modules/pattern/features/category/services/category.model.ts +39 -0
- package/modules/pattern/features/category/services/category.service.ts +36 -0
- package/modules/pattern/features/customer/components/create-side-drawer/create-side-drawer.component.ts +138 -0
- package/modules/pattern/features/customer/components/customer-select/customer-select.component.ts +72 -0
- package/modules/pattern/features/customer/components/customer-type-select/customer-type-select.component.ts +30 -0
- package/modules/pattern/features/customer/components/debts-view/debts-view.component.ts +28 -0
- package/modules/pattern/features/customer/components/detail-side-drawer/detail-side-drawer.component.ts +106 -0
- package/modules/pattern/features/customer/components/documents-view/documents-view.component.ts +50 -0
- package/modules/pattern/features/customer/components/general-information-form/general-information-form.component.ts +140 -0
- package/modules/pattern/features/customer/components/general-information-view/general-information-view.component.ts +39 -0
- package/modules/pattern/features/customer/components/orders-view/orders-view.component.ts +35 -0
- package/modules/pattern/features/customer/components/summary-cards/summary-cards.component.ts +101 -0
- package/modules/pattern/features/customer/components/update-side-drawer/update-side-drawer.component.ts +127 -0
- package/modules/pattern/features/customer/entity.resolver.ts +21 -0
- package/modules/pattern/features/customer/pages/list/list.component.html +22 -0
- package/modules/pattern/features/customer/pages/list/list.component.ts +113 -0
- package/modules/pattern/features/customer/pages/profile/profile.component.ts +120 -0
- package/modules/pattern/features/customer/pipes/customer-detail.pipe.ts +18 -0
- package/modules/pattern/features/customer/routes.ts +59 -0
- package/modules/pattern/features/customer/services/customer.model.ts +87 -0
- package/modules/pattern/features/customer/services/customer.service.ts +79 -0
- package/modules/pattern/features/import/components/mapping-form/mapping-form.component.ts +41 -0
- package/modules/pattern/features/import/components/preview-view/preview-view.component.ts +44 -0
- package/modules/pattern/features/import/pages/flow/flow.component.ts +269 -0
- package/modules/pattern/features/import/routes.ts +19 -0
- package/modules/pattern/features/import/services/import.model.ts +82 -0
- package/modules/pattern/features/import/services/import.service.ts +18 -0
- package/modules/pattern/features/order/components/approval-steps/approval-steps.component.ts +74 -0
- package/modules/pattern/features/order/components/bulk-result/bulk-result.component.ts +46 -0
- package/modules/pattern/features/order/components/general-information-form/general-information-form.component.ts +96 -0
- package/modules/pattern/features/order/components/lines-form/lines-form.component.ts +182 -0
- package/modules/pattern/features/order/components/lines-form/order-lines.ts +101 -0
- package/modules/pattern/features/order/components/lines-table-form/lines-table-form.component.ts +196 -0
- package/modules/pattern/features/order/components/lines-view/lines-view.component.ts +42 -0
- package/modules/pattern/features/order/components/summary-cards/summary-cards.component.ts +128 -0
- package/modules/pattern/features/order/entity.resolver.ts +37 -0
- package/modules/pattern/features/order/pages/create/create.component.ts +113 -0
- package/modules/pattern/features/order/pages/detail/detail.component.ts +224 -0
- package/modules/pattern/features/order/pages/list/list.component.html +38 -0
- package/modules/pattern/features/order/pages/list/list.component.ts +291 -0
- package/modules/pattern/features/order/pages/update/update.component.ts +126 -0
- package/modules/pattern/features/order/routes.ts +54 -0
- package/modules/pattern/features/order/services/order.model.ts +109 -0
- package/modules/pattern/features/order/services/order.service.ts +63 -0
- package/modules/pattern/features/partner/pages/create/create.component.ts +324 -0
- package/modules/pattern/features/partner/routes.ts +20 -0
- package/modules/pattern/features/partner/services/partner.model.ts +30 -0
- package/modules/pattern/features/partner/services/partner.service.ts +17 -0
- package/modules/pattern/features/product/components/general-information-form/general-information-form.component.ts +88 -0
- package/modules/pattern/features/product/components/product-select/product-select.component.ts +73 -0
- package/modules/pattern/features/product/components/product-status-select/product-status-select.component.ts +30 -0
- package/modules/pattern/features/product/entity.resolver.ts +21 -0
- package/modules/pattern/features/product/pages/create/create.component.ts +92 -0
- package/modules/pattern/features/product/pages/detail/detail.component.ts +53 -0
- package/modules/pattern/features/product/pages/list/list.component.html +30 -0
- package/modules/pattern/features/product/pages/list/list.component.ts +71 -0
- package/modules/pattern/features/product/pages/update/update.component.ts +86 -0
- package/modules/pattern/features/product/pipes/product-detail.pipe.ts +18 -0
- package/modules/pattern/features/product/routes.ts +48 -0
- package/modules/pattern/features/product/services/product.model.ts +38 -0
- package/modules/pattern/features/product/services/product.service.ts +48 -0
- package/modules/pattern/features/settings/pages/update/update.component.ts +228 -0
- package/modules/pattern/features/settings/routes.ts +24 -0
- package/modules/pattern/features/settings/services/settings.model.ts +18 -0
- package/modules/pattern/features/settings/services/settings.service.ts +15 -0
- package/modules/pattern/features/settings/settings.resolver.ts +8 -0
- package/modules/pattern/index.d.ts +50 -0
- package/package.json +5 -1
- package/services/api/index.d.ts +5 -5
- package/services/cache/index.d.ts +4 -2
- package/services/storage/index.d.ts +3 -1
- package/services/unsaved-changes/index.d.ts +11 -0
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, linkedSignal, computed, signal, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { toSignal } from '@angular/core/rxjs-interop';
|
|
4
|
+
import { Router, ActivatedRoute, RouterLink } from '@angular/router';
|
|
5
|
+
import { map, firstValueFrom } from 'rxjs';
|
|
6
|
+
import { SdBadge } from '@sdcorejs/angular/components/badge';
|
|
7
|
+
import { SdButton } from '@sdcorejs/angular/components/button';
|
|
8
|
+
import { SdSection, SdSectionItem } from '@sdcorejs/angular/components/section';
|
|
9
|
+
import { SdPermissionDirective } from '@sdcorejs/angular/modules/permission';
|
|
10
|
+
import { SdEmptyPipe, SdFormatDatetimePipe, SdFormatNumberPipe } from '@sdcorejs/angular/pipes';
|
|
11
|
+
import { SdConfirmService } from '@sdcorejs/angular/services/confirm';
|
|
12
|
+
import { SdNotifyService } from '@sdcorejs/angular/services/notify';
|
|
13
|
+
import { a as apiErrorMessage } from './sdcorejs-angular-modules-pattern-api-error-BBWwQ6h2.mjs';
|
|
14
|
+
import { A as ApprovalService } from './sdcorejs-angular-modules-pattern-routes-nrxSHE-O.mjs';
|
|
15
|
+
import { A as ApprovalInbox, b as approvalStatusBadge } from './sdcorejs-angular-modules-pattern-approval-inbox-BMwD6_FC.mjs';
|
|
16
|
+
|
|
17
|
+
/** Chi tiết một đề nghị trong panel phải của hộp duyệt (route con `:id`). */
|
|
18
|
+
class DetailComponent {
|
|
19
|
+
#approvalService = inject(ApprovalService);
|
|
20
|
+
#inbox = inject(ApprovalInbox);
|
|
21
|
+
#confirm = inject(SdConfirmService);
|
|
22
|
+
#notify = inject(SdNotifyService);
|
|
23
|
+
#router = inject(Router);
|
|
24
|
+
#route = inject(ActivatedRoute);
|
|
25
|
+
#resolved = toSignal(this.#route.data.pipe(map(data => data['entity'])), { requireSync: true });
|
|
26
|
+
entity = linkedSignal(() => this.#resolved(), ...(ngDevMode ? [{ debugName: "entity" }] : []));
|
|
27
|
+
badge = computed(() => approvalStatusBadge(this.entity().status), ...(ngDevMode ? [{ debugName: "badge" }] : []));
|
|
28
|
+
pending = signal(false, ...(ngDevMode ? [{ debugName: "pending" }] : []));
|
|
29
|
+
/** Hỏi xác nhận (Từ chối kèm lý do), xử lý, rồi tự mở mục kế trong danh sách đang lọc. */
|
|
30
|
+
async decide(action) {
|
|
31
|
+
const item = this.entity();
|
|
32
|
+
let reason;
|
|
33
|
+
try {
|
|
34
|
+
if (action === 'reject') {
|
|
35
|
+
reason = await this.#confirm.withInput(`Từ chối ${item.code}. Lý do được gửi cho ${item.requester}.`, {
|
|
36
|
+
title: 'Từ chối đề nghị',
|
|
37
|
+
label: 'Lý do từ chối',
|
|
38
|
+
required: true,
|
|
39
|
+
maxlength: 200,
|
|
40
|
+
yesTitle: 'Từ chối',
|
|
41
|
+
noTitle: 'Không',
|
|
42
|
+
yesButtonColor: 'warning',
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
await this.#confirm.confirm(`Duyệt ${item.code}: ${item.title}?`, { title: 'Duyệt đề nghị', yesTitle: 'Duyệt', noTitle: 'Không' });
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
catch {
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
this.pending.set(true);
|
|
53
|
+
try {
|
|
54
|
+
const next = this.#inbox.nextOf(item.id);
|
|
55
|
+
this.entity.set(await firstValueFrom(action === 'approve' ? this.#approvalService.approve({ id: item.id }) : this.#approvalService.reject({ id: item.id, reason })));
|
|
56
|
+
this.#notify.success(action === 'approve' ? `Đã duyệt ${item.code}.` : `Đã từ chối ${item.code}.`);
|
|
57
|
+
await this.#inbox.refresh();
|
|
58
|
+
await this.#router.navigate(next ? ['..', next] : ['..'], { relativeTo: this.#route });
|
|
59
|
+
}
|
|
60
|
+
catch (error) {
|
|
61
|
+
this.#notify.error(apiErrorMessage(error));
|
|
62
|
+
}
|
|
63
|
+
finally {
|
|
64
|
+
this.pending.set(false);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DetailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
68
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: DetailComponent, isStandalone: true, selector: "detail", ngImport: i0, template: `
|
|
69
|
+
@let item = entity();
|
|
70
|
+
<article class="d-flex flex-column gap-16 p-16" [attr.aria-label]="'Đề nghị ' + item.code">
|
|
71
|
+
<header class="d-flex align-items-start justify-content-between gap-16 flex-wrap">
|
|
72
|
+
<div class="d-flex flex-column gap-4">
|
|
73
|
+
<!-- Màn hẹp: chi tiết thay danh sách, quay lại bằng liên kết này. -->
|
|
74
|
+
<a class="approval-back" [routerLink]="['..']">← Danh sách</a>
|
|
75
|
+
<div class="d-flex align-items-center gap-8">
|
|
76
|
+
<h2 class="T18M m-0">{{ item.code }} · {{ item.title }}</h2>
|
|
77
|
+
<sd-badge size="md" type="round" [title]="badge().title" [color]="badge().color" />
|
|
78
|
+
</div>
|
|
79
|
+
<span class="T14R text-secondary">{{ item.requester }} · {{ item.department }}</span>
|
|
80
|
+
</div>
|
|
81
|
+
@if (item.status === 'pending') {
|
|
82
|
+
<div class="d-flex align-items-center gap-8">
|
|
83
|
+
<sd-button
|
|
84
|
+
*sdPermission="'PATTERN_APPROVAL_U_REJECT'"
|
|
85
|
+
title="Từ chối"
|
|
86
|
+
prefixIcon="close"
|
|
87
|
+
type="light"
|
|
88
|
+
color="warning"
|
|
89
|
+
autoId="approval-reject"
|
|
90
|
+
[disabled]="pending()"
|
|
91
|
+
(click)="decide('reject')" />
|
|
92
|
+
<sd-button
|
|
93
|
+
*sdPermission="'PATTERN_APPROVAL_U_APPROVE'"
|
|
94
|
+
title="Duyệt"
|
|
95
|
+
prefixIcon="check"
|
|
96
|
+
type="fill"
|
|
97
|
+
color="success"
|
|
98
|
+
autoId="approval-approve"
|
|
99
|
+
[disabled]="pending()"
|
|
100
|
+
(click)="decide('approve')" />
|
|
101
|
+
</div>
|
|
102
|
+
}
|
|
103
|
+
</header>
|
|
104
|
+
<sd-section title="Thông tin đề nghị">
|
|
105
|
+
<sd-section-item label="Số tiền (₫)">{{ item.amount | sdFormatNumber: 0 }}</sd-section-item>
|
|
106
|
+
<sd-section-item label="Ngày gửi">{{ item.submittedAt | sdFormatDatetime }}</sd-section-item>
|
|
107
|
+
<sd-section-item label="Ghi chú">{{ item.note | sdEmpty }}</sd-section-item>
|
|
108
|
+
<sd-section-item label="Lý do từ chối">{{ item.reason | sdEmpty }}</sd-section-item>
|
|
109
|
+
</sd-section>
|
|
110
|
+
</article>
|
|
111
|
+
`, isInline: true, styles: [".approval-back{display:none;font-size:13px}@media(max-width:767.98px){.approval-back{display:inline}}\n"], dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: SdBadge, selector: "sd-badge", inputs: ["type", "color", "primary", "secondary", "success", "info", "warning", "error", "fontSet", "title", "label", "description", "tooltip", "icon", "size", "pulse"], outputs: ["click"] }, { 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: SdSection, selector: "sd-section", inputs: ["title", "subTitle", "icon", "iconColor", "iconShape", "collapsed", "collapsible", "hideHeader"], outputs: ["collapsedChange"] }, { kind: "component", type: SdSectionItem, selector: "sd-section-item", inputs: ["label", "labelWidth"] }, { kind: "directive", type: SdPermissionDirective, selector: "[sdPermission]", inputs: ["sdPermission", "sdPermissionKey"] }, { kind: "pipe", type: SdEmptyPipe, name: "sdEmpty" }, { kind: "pipe", type: SdFormatDatetimePipe, name: "sdFormatDatetime" }, { kind: "pipe", type: SdFormatNumberPipe, name: "sdFormatNumber" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
112
|
+
}
|
|
113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DetailComponent, decorators: [{
|
|
114
|
+
type: Component,
|
|
115
|
+
args: [{ selector: 'detail', standalone: true, imports: [
|
|
116
|
+
RouterLink,
|
|
117
|
+
SdBadge,
|
|
118
|
+
SdButton,
|
|
119
|
+
SdSection,
|
|
120
|
+
SdSectionItem,
|
|
121
|
+
SdPermissionDirective,
|
|
122
|
+
SdEmptyPipe,
|
|
123
|
+
SdFormatDatetimePipe,
|
|
124
|
+
SdFormatNumberPipe,
|
|
125
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
126
|
+
@let item = entity();
|
|
127
|
+
<article class="d-flex flex-column gap-16 p-16" [attr.aria-label]="'Đề nghị ' + item.code">
|
|
128
|
+
<header class="d-flex align-items-start justify-content-between gap-16 flex-wrap">
|
|
129
|
+
<div class="d-flex flex-column gap-4">
|
|
130
|
+
<!-- Màn hẹp: chi tiết thay danh sách, quay lại bằng liên kết này. -->
|
|
131
|
+
<a class="approval-back" [routerLink]="['..']">← Danh sách</a>
|
|
132
|
+
<div class="d-flex align-items-center gap-8">
|
|
133
|
+
<h2 class="T18M m-0">{{ item.code }} · {{ item.title }}</h2>
|
|
134
|
+
<sd-badge size="md" type="round" [title]="badge().title" [color]="badge().color" />
|
|
135
|
+
</div>
|
|
136
|
+
<span class="T14R text-secondary">{{ item.requester }} · {{ item.department }}</span>
|
|
137
|
+
</div>
|
|
138
|
+
@if (item.status === 'pending') {
|
|
139
|
+
<div class="d-flex align-items-center gap-8">
|
|
140
|
+
<sd-button
|
|
141
|
+
*sdPermission="'PATTERN_APPROVAL_U_REJECT'"
|
|
142
|
+
title="Từ chối"
|
|
143
|
+
prefixIcon="close"
|
|
144
|
+
type="light"
|
|
145
|
+
color="warning"
|
|
146
|
+
autoId="approval-reject"
|
|
147
|
+
[disabled]="pending()"
|
|
148
|
+
(click)="decide('reject')" />
|
|
149
|
+
<sd-button
|
|
150
|
+
*sdPermission="'PATTERN_APPROVAL_U_APPROVE'"
|
|
151
|
+
title="Duyệt"
|
|
152
|
+
prefixIcon="check"
|
|
153
|
+
type="fill"
|
|
154
|
+
color="success"
|
|
155
|
+
autoId="approval-approve"
|
|
156
|
+
[disabled]="pending()"
|
|
157
|
+
(click)="decide('approve')" />
|
|
158
|
+
</div>
|
|
159
|
+
}
|
|
160
|
+
</header>
|
|
161
|
+
<sd-section title="Thông tin đề nghị">
|
|
162
|
+
<sd-section-item label="Số tiền (₫)">{{ item.amount | sdFormatNumber: 0 }}</sd-section-item>
|
|
163
|
+
<sd-section-item label="Ngày gửi">{{ item.submittedAt | sdFormatDatetime }}</sd-section-item>
|
|
164
|
+
<sd-section-item label="Ghi chú">{{ item.note | sdEmpty }}</sd-section-item>
|
|
165
|
+
<sd-section-item label="Lý do từ chối">{{ item.reason | sdEmpty }}</sd-section-item>
|
|
166
|
+
</sd-section>
|
|
167
|
+
</article>
|
|
168
|
+
`, styles: [".approval-back{display:none;font-size:13px}@media(max-width:767.98px){.approval-back{display:inline}}\n"] }]
|
|
169
|
+
}] });
|
|
170
|
+
|
|
171
|
+
export { DetailComponent };
|
|
172
|
+
//# sourceMappingURL=sdcorejs-angular-modules-pattern-detail.component-_c_4slgf.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdcorejs-angular-modules-pattern-detail.component-_c_4slgf.mjs","sources":["../../../projects/sdcorejs-angular/modules/pattern/features/approval/pages/detail/detail.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, inject, linkedSignal, signal } from '@angular/core';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport { ActivatedRoute, Router, RouterLink } from '@angular/router';\nimport { firstValueFrom, map } from 'rxjs';\nimport { SdBadge } from '@sdcorejs/angular/components/badge';\nimport { SdButton } from '@sdcorejs/angular/components/button';\nimport { SdSection, SdSectionItem } from '@sdcorejs/angular/components/section';\nimport { SdPermissionDirective } from '@sdcorejs/angular/modules/permission';\nimport { SdEmptyPipe, SdFormatDatetimePipe, SdFormatNumberPipe } from '@sdcorejs/angular/pipes';\nimport { SdConfirmService } from '@sdcorejs/angular/services/confirm';\nimport { SdNotifyService } from '@sdcorejs/angular/services/notify';\nimport { apiErrorMessage } from '../../../../utils/api-error';\nimport { ApprovalService } from '../../services/approval.service';\nimport { approvalStatusBadge, type ApprovalDto } from '../../services/approval.model';\nimport { ApprovalInbox } from '../list/approval-inbox';\n\n/** Chi tiết một đề nghị trong panel phải của hộp duyệt (route con `:id`). */\n@Component({\n selector: 'detail',\n standalone: true,\n imports: [\n RouterLink,\n SdBadge,\n SdButton,\n SdSection,\n SdSectionItem,\n SdPermissionDirective,\n SdEmptyPipe,\n SdFormatDatetimePipe,\n SdFormatNumberPipe,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n @let item = entity();\n <article class=\"d-flex flex-column gap-16 p-16\" [attr.aria-label]=\"'Đề nghị ' + item.code\">\n <header class=\"d-flex align-items-start justify-content-between gap-16 flex-wrap\">\n <div class=\"d-flex flex-column gap-4\">\n <!-- Màn hẹp: chi tiết thay danh sách, quay lại bằng liên kết này. -->\n <a class=\"approval-back\" [routerLink]=\"['..']\">← Danh sách</a>\n <div class=\"d-flex align-items-center gap-8\">\n <h2 class=\"T18M m-0\">{{ item.code }} · {{ item.title }}</h2>\n <sd-badge size=\"md\" type=\"round\" [title]=\"badge().title\" [color]=\"badge().color\" />\n </div>\n <span class=\"T14R text-secondary\">{{ item.requester }} · {{ item.department }}</span>\n </div>\n @if (item.status === 'pending') {\n <div class=\"d-flex align-items-center gap-8\">\n <sd-button\n *sdPermission=\"'PATTERN_APPROVAL_U_REJECT'\"\n title=\"Từ chối\"\n prefixIcon=\"close\"\n type=\"light\"\n color=\"warning\"\n autoId=\"approval-reject\"\n [disabled]=\"pending()\"\n (click)=\"decide('reject')\" />\n <sd-button\n *sdPermission=\"'PATTERN_APPROVAL_U_APPROVE'\"\n title=\"Duyệt\"\n prefixIcon=\"check\"\n type=\"fill\"\n color=\"success\"\n autoId=\"approval-approve\"\n [disabled]=\"pending()\"\n (click)=\"decide('approve')\" />\n </div>\n }\n </header>\n <sd-section title=\"Thông tin đề nghị\">\n <sd-section-item label=\"Số tiền (₫)\">{{ item.amount | sdFormatNumber: 0 }}</sd-section-item>\n <sd-section-item label=\"Ngày gửi\">{{ item.submittedAt | sdFormatDatetime }}</sd-section-item>\n <sd-section-item label=\"Ghi chú\">{{ item.note | sdEmpty }}</sd-section-item>\n <sd-section-item label=\"Lý do từ chối\">{{ item.reason | sdEmpty }}</sd-section-item>\n </sd-section>\n </article>\n `,\n styles: `\n .approval-back {\n display: none;\n font-size: 13px;\n }\n @media (max-width: 767.98px) {\n .approval-back {\n display: inline;\n }\n }\n `,\n})\nexport class DetailComponent {\n readonly #approvalService = inject(ApprovalService);\n readonly #inbox = inject(ApprovalInbox);\n readonly #confirm = inject(SdConfirmService);\n readonly #notify = inject(SdNotifyService);\n readonly #router = inject(Router);\n readonly #route = inject(ActivatedRoute);\n readonly #resolved = toSignal(this.#route.data.pipe(map(data => data['entity'] as ApprovalDto)), { requireSync: true });\n protected readonly entity = linkedSignal(() => this.#resolved());\n protected readonly badge = computed(() => approvalStatusBadge(this.entity().status));\n protected readonly pending = signal(false);\n\n /** Hỏi xác nhận (Từ chối kèm lý do), xử lý, rồi tự mở mục kế trong danh sách đang lọc. */\n protected async decide(action: 'approve' | 'reject'): Promise<void> {\n const item = this.entity();\n let reason: string | undefined;\n try {\n if (action === 'reject') {\n reason = await this.#confirm.withInput(`Từ chối ${item.code}. Lý do được gửi cho ${item.requester}.`, {\n title: 'Từ chối đề nghị',\n label: 'Lý do từ chối',\n required: true,\n maxlength: 200,\n yesTitle: 'Từ chối',\n noTitle: 'Không',\n yesButtonColor: 'warning',\n });\n } else {\n await this.#confirm.confirm(`Duyệt ${item.code}: ${item.title}?`, { title: 'Duyệt đề nghị', yesTitle: 'Duyệt', noTitle: 'Không' });\n }\n } catch {\n return;\n }\n this.pending.set(true);\n try {\n const next = this.#inbox.nextOf(item.id);\n this.entity.set(\n await firstValueFrom(\n action === 'approve' ? this.#approvalService.approve({ id: item.id }) : this.#approvalService.reject({ id: item.id, reason })\n )\n );\n this.#notify.success(action === 'approve' ? `Đã duyệt ${item.code}.` : `Đã từ chối ${item.code}.`);\n await this.#inbox.refresh();\n await this.#router.navigate(next ? ['..', next] : ['..'], { relativeTo: this.#route });\n } catch (error) {\n this.#notify.error(apiErrorMessage(error));\n } finally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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CT,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,yGAAA,CAAA,EAAA;;;;;"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { toSignal } from '@angular/core/rxjs-interop';
|
|
4
|
+
import { ActivatedRoute, RouterLink } from '@angular/router';
|
|
5
|
+
import { map } from 'rxjs';
|
|
6
|
+
import { SdButton } from '@sdcorejs/angular/components/button';
|
|
7
|
+
import { SdSection } from '@sdcorejs/angular/components/section';
|
|
8
|
+
import { SdView } from '@sdcorejs/angular/components/view';
|
|
9
|
+
import { SdPageComponent } from '@sdcorejs/angular/modules/layout';
|
|
10
|
+
import { SdPermissionDirective } from '@sdcorejs/angular/modules/permission';
|
|
11
|
+
import { SdFormatNumberPipe } from '@sdcorejs/angular/pipes';
|
|
12
|
+
import { p as productStatusBadge, P as PRODUCT_STATUS_OPTIONS } from './sdcorejs-angular-modules-pattern-product.model-BoHLJ8vf.mjs';
|
|
13
|
+
|
|
14
|
+
class DetailComponent {
|
|
15
|
+
/** Sản phẩm do resolver tải trước khi mở trang; đổi ID thì nhận bản ghi mới. */
|
|
16
|
+
entity = toSignal(inject(ActivatedRoute).data.pipe(map(data => data['entity'])), { requireSync: true });
|
|
17
|
+
badges = computed(() => [productStatusBadge(this.entity().status)], ...(ngDevMode ? [{ debugName: "badges" }] : []));
|
|
18
|
+
statusName = computed(() => PRODUCT_STATUS_OPTIONS.find(option => option.id === this.entity().status)?.name, ...(ngDevMode ? [{ debugName: "statusName" }] : []));
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DetailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: DetailComponent, isStandalone: true, selector: "detail", ngImport: i0, template: `
|
|
21
|
+
@let product = entity();
|
|
22
|
+
<sd-page-detail [title]="'Chi tiết sản phẩm #' + product.code" [description]="product.name" [badges]="badges()" [backLink]="['../..']">
|
|
23
|
+
<sd-button
|
|
24
|
+
headerRight
|
|
25
|
+
*sdPermission="'PATTERN_PRODUCT_U_UPDATE'"
|
|
26
|
+
title="Cập nhật sản phẩm"
|
|
27
|
+
prefixIcon="edit"
|
|
28
|
+
type="fill"
|
|
29
|
+
color="primary"
|
|
30
|
+
autoId="product-update"
|
|
31
|
+
[routerLink]="['../update']" />
|
|
32
|
+
<div class="d-flex flex-column gap-16 py-16">
|
|
33
|
+
<sd-section title="Thông tin chung">
|
|
34
|
+
<div class="row p-8">
|
|
35
|
+
<div class="col-12 col-md-6 p-8"><sd-view label="Mã sản phẩm" [display]="product.code" /></div>
|
|
36
|
+
<div class="col-12 col-md-6 p-8"><sd-view label="Tên sản phẩm" [display]="product.name" /></div>
|
|
37
|
+
<div class="col-12 col-md-6 p-8"><sd-view label="Trạng thái" [display]="statusName()" /></div>
|
|
38
|
+
</div>
|
|
39
|
+
</sd-section>
|
|
40
|
+
<sd-section title="Giá bán">
|
|
41
|
+
<div class="row p-8">
|
|
42
|
+
<div class="col-12 col-md-6 p-8"><sd-view label="Giá bán (₫)" [display]="product.price | sdFormatNumber: 0" /></div>
|
|
43
|
+
<div class="col-12 col-md-6 p-8"><sd-view label="Đơn vị tính" [display]="product.unit" /></div>
|
|
44
|
+
</div>
|
|
45
|
+
</sd-section>
|
|
46
|
+
</div>
|
|
47
|
+
</sd-page-detail>
|
|
48
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: SdPageComponent, selector: "sd-page, sd-page-detail, sd-page-form", inputs: ["title", "description", "noHeader", "backLink", "badges", "width", "aside", "toc"] }, { 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: SdSection, selector: "sd-section", inputs: ["title", "subTitle", "icon", "iconColor", "iconShape", "collapsed", "collapsible", "hideHeader"], outputs: ["collapsedChange"] }, { kind: "component", type: SdView, selector: "sd-view", inputs: ["label", "value", "display", "hyperlink", "labelTemplate", "valueTemplate", "selectedItems"] }, { kind: "directive", type: SdPermissionDirective, selector: "[sdPermission]", inputs: ["sdPermission", "sdPermissionKey"] }, { kind: "pipe", type: SdFormatNumberPipe, name: "sdFormatNumber" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
49
|
+
}
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DetailComponent, decorators: [{
|
|
51
|
+
type: Component,
|
|
52
|
+
args: [{
|
|
53
|
+
selector: 'detail',
|
|
54
|
+
standalone: true,
|
|
55
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
56
|
+
imports: [RouterLink, SdPageComponent, SdButton, SdSection, SdView, SdPermissionDirective, SdFormatNumberPipe],
|
|
57
|
+
template: `
|
|
58
|
+
@let product = entity();
|
|
59
|
+
<sd-page-detail [title]="'Chi tiết sản phẩm #' + product.code" [description]="product.name" [badges]="badges()" [backLink]="['../..']">
|
|
60
|
+
<sd-button
|
|
61
|
+
headerRight
|
|
62
|
+
*sdPermission="'PATTERN_PRODUCT_U_UPDATE'"
|
|
63
|
+
title="Cập nhật sản phẩm"
|
|
64
|
+
prefixIcon="edit"
|
|
65
|
+
type="fill"
|
|
66
|
+
color="primary"
|
|
67
|
+
autoId="product-update"
|
|
68
|
+
[routerLink]="['../update']" />
|
|
69
|
+
<div class="d-flex flex-column gap-16 py-16">
|
|
70
|
+
<sd-section title="Thông tin chung">
|
|
71
|
+
<div class="row p-8">
|
|
72
|
+
<div class="col-12 col-md-6 p-8"><sd-view label="Mã sản phẩm" [display]="product.code" /></div>
|
|
73
|
+
<div class="col-12 col-md-6 p-8"><sd-view label="Tên sản phẩm" [display]="product.name" /></div>
|
|
74
|
+
<div class="col-12 col-md-6 p-8"><sd-view label="Trạng thái" [display]="statusName()" /></div>
|
|
75
|
+
</div>
|
|
76
|
+
</sd-section>
|
|
77
|
+
<sd-section title="Giá bán">
|
|
78
|
+
<div class="row p-8">
|
|
79
|
+
<div class="col-12 col-md-6 p-8"><sd-view label="Giá bán (₫)" [display]="product.price | sdFormatNumber: 0" /></div>
|
|
80
|
+
<div class="col-12 col-md-6 p-8"><sd-view label="Đơn vị tính" [display]="product.unit" /></div>
|
|
81
|
+
</div>
|
|
82
|
+
</sd-section>
|
|
83
|
+
</div>
|
|
84
|
+
</sd-page-detail>
|
|
85
|
+
`,
|
|
86
|
+
}]
|
|
87
|
+
}] });
|
|
88
|
+
|
|
89
|
+
export { DetailComponent };
|
|
90
|
+
//# sourceMappingURL=sdcorejs-angular-modules-pattern-detail.component-awjgX7ph.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdcorejs-angular-modules-pattern-detail.component-awjgX7ph.mjs","sources":["../../../projects/sdcorejs-angular/modules/pattern/features/product/pages/detail/detail.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport { ActivatedRoute, RouterLink } from '@angular/router';\nimport { map } from 'rxjs';\nimport { SdButton } from '@sdcorejs/angular/components/button';\nimport { SdSection } from '@sdcorejs/angular/components/section';\nimport { SdView } from '@sdcorejs/angular/components/view';\nimport { SdPageComponent } from '@sdcorejs/angular/modules/layout';\nimport { SdPermissionDirective } from '@sdcorejs/angular/modules/permission';\nimport { SdFormatNumberPipe } from '@sdcorejs/angular/pipes';\nimport { PRODUCT_STATUS_OPTIONS, productStatusBadge, type ProductDto } from '../../services/product.model';\n\n@Component({\n selector: 'detail',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [RouterLink, SdPageComponent, SdButton, SdSection, SdView, SdPermissionDirective, SdFormatNumberPipe],\n template: `\n @let product = entity();\n <sd-page-detail [title]=\"'Chi tiết sản phẩm #' + product.code\" [description]=\"product.name\" [badges]=\"badges()\" [backLink]=\"['../..']\">\n <sd-button\n headerRight\n *sdPermission=\"'PATTERN_PRODUCT_U_UPDATE'\"\n title=\"Cập nhật sản phẩm\"\n prefixIcon=\"edit\"\n type=\"fill\"\n color=\"primary\"\n autoId=\"product-update\"\n [routerLink]=\"['../update']\" />\n <div class=\"d-flex flex-column gap-16 py-16\">\n <sd-section title=\"Thông tin chung\">\n <div class=\"row p-8\">\n <div class=\"col-12 col-md-6 p-8\"><sd-view label=\"Mã sản phẩm\" [display]=\"product.code\" /></div>\n <div class=\"col-12 col-md-6 p-8\"><sd-view label=\"Tên sản phẩm\" [display]=\"product.name\" /></div>\n <div class=\"col-12 col-md-6 p-8\"><sd-view label=\"Trạng thái\" [display]=\"statusName()\" /></div>\n </div>\n </sd-section>\n <sd-section title=\"Giá bán\">\n <div class=\"row p-8\">\n <div class=\"col-12 col-md-6 p-8\"><sd-view label=\"Giá bán (₫)\" [display]=\"product.price | sdFormatNumber: 0\" /></div>\n <div class=\"col-12 col-md-6 p-8\"><sd-view label=\"Đơn vị tính\" [display]=\"product.unit\" /></div>\n </div>\n </sd-section>\n </div>\n </sd-page-detail>\n `,\n})\nexport class DetailComponent {\n /** Sản phẩm do resolver tải trước khi mở trang; đổi ID thì nhận bản ghi mới. */\n protected readonly entity = toSignal(inject(ActivatedRoute).data.pipe(map(data => data['entity'] as ProductDto)), { requireSync: true });\n protected readonly badges = computed(() => [productStatusBadge(this.entity().status)]);\n protected readonly statusName = computed(() => PRODUCT_STATUS_OPTIONS.find(option => option.id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