@sdcorejs/angular 21.3.2 → 21.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/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 +458 -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 +414 -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-MlNJ6DDc.mjs → sdcorejs-angular-modules-generic-generic-configuration.page-BR6jxyYd.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-configuration.page-MlNJ6DDc.mjs.map → sdcorejs-angular-modules-generic-generic-configuration.page-BR6jxyYd.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-form-host.page-_PcU75h9.mjs → sdcorejs-angular-modules-generic-generic-form-host.page-BsEL-y-M.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-form-host.page-_PcU75h9.mjs.map → sdcorejs-angular-modules-generic-generic-form-host.page-BsEL-y-M.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-list.page-qcvv7QK6.mjs → sdcorejs-angular-modules-generic-generic-list.page-qTFKh4UG.mjs} +3 -3
- package/fesm2022/{sdcorejs-angular-modules-generic-generic-list.page-qcvv7QK6.mjs.map → sdcorejs-angular-modules-generic-generic-list.page-qTFKh4UG.mjs.map} +1 -1
- package/fesm2022/{sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-B1fYY5yX.mjs → sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-Cq0GFfo1.mjs} +4 -4
- package/fesm2022/{sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-B1fYY5yX.mjs.map → sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-Cq0GFfo1.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-5uIBONB3.mjs +51 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-base-api.service-5uIBONB3.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-7d4hJjAo.mjs +144 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-7d4hJjAo.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CGkdzJ-A.mjs +145 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-CGkdzJ-A.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-B35CvNrI.mjs +460 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-B35CvNrI.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-CCHeD5tf.mjs +142 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-CCHeD5tf.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-Cvxx5s1o.mjs +113 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-Cvxx5s1o.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-5hBM9st3.mjs +66 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-customer.service-5hBM9st3.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-Bza4JOdZ.mjs +148 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-Bza4JOdZ.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-BcxxJCVt.mjs +484 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-BcxxJCVt.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-BuvAy1by.mjs +172 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-BuvAy1by.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-CX4WWzER.mjs +90 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-CX4WWzER.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-flow.component-BDixzOA6.mjs +514 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-flow.component-BDixzOA6.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-form-api-errors-DYyFPZUU.mjs +61 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-form-api-errors-DYyFPZUU.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-B9vCzIT6.mjs +232 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-B9vCzIT6.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-BnROr-Wg.mjs +87 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-BnROr-Wg.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-CxDQKd64.mjs +170 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-CxDQKd64.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-Cbwdhc0Z.mjs +70 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-view.component-Cbwdhc0Z.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-index.component-iRIG7WQo.mjs +100 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-index.component-iRIG7WQo.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-lines-table-form.component-BqKJDK9M.mjs +812 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-lines-table-form.component-BqKJDK9M.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-B6_x5N3F.mjs +164 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-B6_x5N3F.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BMpOXn7E.mjs +115 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-BMpOXn7E.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-Cj03DgF1.mjs +629 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-Cj03DgF1.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-D-pHPHFP.mjs +118 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-D-pHPHFP.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DH3CroK1.mjs +71 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DH3CroK1.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-mock-backend.factory-DnB5_C1D.mjs +1069 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-mock-backend.factory-DnB5_C1D.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-DZ3fY-yQ.mjs +48 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-product.service-DZ3fY-yQ.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-DVYnHOtn.mjs +293 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-DVYnHOtn.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-B8i5MUtz.mjs +165 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-B8i5MUtz.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-BGZzmwY2.mjs +50 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-BGZzmwY2.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-BPofy0Oq.mjs +99 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-BPofy0Oq.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CYeHFGl1.mjs +74 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CYeHFGl1.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-C_CLbNSs.mjs +45 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-C_CLbNSs.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CdSiqJCz.mjs +66 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CdSiqJCz.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-p7lQcGGX.mjs +43 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-p7lQcGGX.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-uRsy0zag.mjs +74 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-uRsy0zag.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-els-Wxch.mjs +406 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-els-Wxch.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-shell.component-5G4lKoLv.mjs +317 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-shell.component-5G4lKoLv.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-BF0hAVrv.mjs +132 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-BF0hAVrv.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-DJeQxfDA.mjs +143 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-DJeQxfDA.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-Bq_5H0xM.mjs +100 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-Bq_5H0xM.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-Bwsqvl4A.mjs +138 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-Bwsqvl4A.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-CpGbjd_m.mjs +359 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-CpGbjd_m.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/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/package.json +5 -1
- package/types/sdcorejs-angular-components-badge.d.ts +19 -1
- package/types/sdcorejs-angular-components-query-bar.d.ts +126 -11
- package/types/sdcorejs-angular-components-section.d.ts +13 -1
- package/types/sdcorejs-angular-components-splitter.d.ts +1 -1
- package/types/sdcorejs-angular-components-tab-router.d.ts +47 -5
- package/types/sdcorejs-angular-components-table.d.ts +300 -25
- package/types/sdcorejs-angular-components-upload-file.d.ts +181 -21
- package/types/sdcorejs-angular-forms-chip.d.ts +136 -26
- package/types/sdcorejs-angular-i18n.d.ts +70 -1
- package/types/sdcorejs-angular-modules-layout.d.ts +89 -6
- package/types/sdcorejs-angular-modules-pattern.d.ts +50 -0
- package/types/sdcorejs-angular-services-api.d.ts +5 -5
- package/types/sdcorejs-angular-services-cache.d.ts +4 -2
- package/types/sdcorejs-angular-services-storage.d.ts +3 -1
- package/types/sdcorejs-angular-services-unsaved-changes.d.ts +11 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import {
|
|
2
|
+
afterNextRender,
|
|
3
|
+
ChangeDetectionStrategy,
|
|
4
|
+
Component,
|
|
5
|
+
DestroyRef,
|
|
6
|
+
ElementRef,
|
|
7
|
+
inject,
|
|
8
|
+
Injector,
|
|
9
|
+
linkedSignal,
|
|
10
|
+
signal,
|
|
11
|
+
} from '@angular/core';
|
|
12
|
+
import { toSignal } from '@angular/core/rxjs-interop';
|
|
13
|
+
import { FormGroup } from '@angular/forms';
|
|
14
|
+
import { ActivatedRoute } from '@angular/router';
|
|
15
|
+
import { firstValueFrom, map } from 'rxjs';
|
|
16
|
+
import { SdButton } from '@sdcorejs/angular/components/button';
|
|
17
|
+
import { SdSection } from '@sdcorejs/angular/components/section';
|
|
18
|
+
import { SdInput } from '@sdcorejs/angular/forms/input';
|
|
19
|
+
import { SdInputNumber } from '@sdcorejs/angular/forms/input-number';
|
|
20
|
+
import { SdSelect } from '@sdcorejs/angular/forms/select';
|
|
21
|
+
import { SdSwitch } from '@sdcorejs/angular/forms/switch';
|
|
22
|
+
import { SdPageComponent } from '@sdcorejs/angular/modules/layout';
|
|
23
|
+
import { SdPermissionDirective, SdPermissionService } from '@sdcorejs/angular/modules/permission';
|
|
24
|
+
import { SdFormatDatetimePipe } from '@sdcorejs/angular/pipes';
|
|
25
|
+
import { SdNotifyService } from '@sdcorejs/angular/services/notify';
|
|
26
|
+
import { registerSdUnsavedChangesForm, SdUnsavedChangesService } from '@sdcorejs/angular/services/unsaved-changes';
|
|
27
|
+
import { apiErrorMessage } from '../../../../utils/api-error';
|
|
28
|
+
import { focusFirstInvalid } from '../../../../utils/focus-first-invalid';
|
|
29
|
+
import { formApiErrors } from '../../../../utils/form-api-errors';
|
|
30
|
+
import { SettingsService } from '../../services/settings.service';
|
|
31
|
+
import type { SettingsDto, SettingsSaveReq } from '../../services/settings.model';
|
|
32
|
+
|
|
33
|
+
const CURRENCIES = [
|
|
34
|
+
{ value: 'VND', label: 'Việt Nam đồng (VND)' },
|
|
35
|
+
{ value: 'USD', label: 'Đô la Mỹ (USD)' },
|
|
36
|
+
];
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Cài đặt một bản ghi: `sd-page-form` có mục lục, nhiều nhóm. Lưu xong vẫn ở trang; footer báo trạng thái lưu, rời
|
|
40
|
+
* trang khi còn thay đổi thì hỏi. Vai trò chỉ có quyền xem thấy form ở chế độ xem.
|
|
41
|
+
*/
|
|
42
|
+
@Component({
|
|
43
|
+
selector: 'update',
|
|
44
|
+
standalone: true,
|
|
45
|
+
imports: [SdPageComponent, SdButton, SdSection, SdInput, SdInputNumber, SdSelect, SdSwitch, SdPermissionDirective, SdFormatDatetimePipe],
|
|
46
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
47
|
+
template: `
|
|
48
|
+
@let value = entity();
|
|
49
|
+
@let errors = apiErrors.errors();
|
|
50
|
+
<sd-page-form title="Cài đặt cửa hàng" description="Áp dụng cho mọi chi nhánh." toc>
|
|
51
|
+
<sd-button
|
|
52
|
+
headerRight
|
|
53
|
+
*sdPermission="'PATTERN_SETTINGS_U_UPDATE'"
|
|
54
|
+
title="Lưu"
|
|
55
|
+
prefixIcon="save"
|
|
56
|
+
type="fill"
|
|
57
|
+
color="primary"
|
|
58
|
+
autoId="settings-save"
|
|
59
|
+
[loading]="saving()"
|
|
60
|
+
(click)="save()" />
|
|
61
|
+
<div class="d-flex flex-column gap-16 py-16">
|
|
62
|
+
<sd-section title="Thông tin cửa hàng">
|
|
63
|
+
<div class="row px-16 pt-16 pb-8">
|
|
64
|
+
<div class="col-12 col-md-6">
|
|
65
|
+
<sd-input
|
|
66
|
+
label="Tên cửa hàng"
|
|
67
|
+
name="storeName"
|
|
68
|
+
autoId="settings-store-name"
|
|
69
|
+
[form]="form"
|
|
70
|
+
[model]="value.storeName"
|
|
71
|
+
[viewed]="!canEdit"
|
|
72
|
+
[inlineError]="errors['storeName']"
|
|
73
|
+
required />
|
|
74
|
+
</div>
|
|
75
|
+
<div class="col-12 col-md-6">
|
|
76
|
+
<sd-input label="Hotline" name="hotline" [form]="form" [model]="value.hotline" [viewed]="!canEdit" />
|
|
77
|
+
</div>
|
|
78
|
+
<div class="col-12">
|
|
79
|
+
<sd-input label="Địa chỉ" name="address" [form]="form" [model]="value.address" [viewed]="!canEdit" />
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
</sd-section>
|
|
83
|
+
<sd-section title="Bán hàng">
|
|
84
|
+
<div class="row px-16 pt-16 pb-8">
|
|
85
|
+
<div class="col-12 col-md-6">
|
|
86
|
+
<sd-select
|
|
87
|
+
label="Tiền tệ"
|
|
88
|
+
name="currency"
|
|
89
|
+
[form]="form"
|
|
90
|
+
[model]="value.currency"
|
|
91
|
+
[items]="currencies"
|
|
92
|
+
valueField="value"
|
|
93
|
+
displayField="label"
|
|
94
|
+
[viewed]="!canEdit"
|
|
95
|
+
[clearable]="false" />
|
|
96
|
+
</div>
|
|
97
|
+
<div class="col-12 col-md-6">
|
|
98
|
+
<sd-input
|
|
99
|
+
label="Tiền tố mã đơn"
|
|
100
|
+
name="orderPrefix"
|
|
101
|
+
autoId="settings-order-prefix"
|
|
102
|
+
[form]="form"
|
|
103
|
+
[model]="value.orderPrefix"
|
|
104
|
+
[viewed]="!canEdit"
|
|
105
|
+
[inlineError]="errors['orderPrefix']"
|
|
106
|
+
maxlength="5"
|
|
107
|
+
required />
|
|
108
|
+
</div>
|
|
109
|
+
<div class="col-12 col-md-6">
|
|
110
|
+
<sd-input-number
|
|
111
|
+
label="Ngưỡng cảnh báo tồn kho"
|
|
112
|
+
name="lowStockThreshold"
|
|
113
|
+
type="positive"
|
|
114
|
+
[precision]="0"
|
|
115
|
+
[form]="form"
|
|
116
|
+
[model]="value.lowStockThreshold"
|
|
117
|
+
[viewed]="!canEdit" />
|
|
118
|
+
</div>
|
|
119
|
+
<div class="col-12 col-md-6 d-flex align-items-center">
|
|
120
|
+
<sd-switch
|
|
121
|
+
label="Tự xác nhận đơn online"
|
|
122
|
+
name="autoConfirm"
|
|
123
|
+
[form]="form"
|
|
124
|
+
[model]="value.autoConfirm"
|
|
125
|
+
[disabled]="!canEdit" />
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
</sd-section>
|
|
129
|
+
<sd-section title="Thông báo">
|
|
130
|
+
<div class="row px-16 pt-16 pb-8">
|
|
131
|
+
<div class="col-12 col-md-6 d-flex align-items-center">
|
|
132
|
+
<sd-switch
|
|
133
|
+
label="Gửi email"
|
|
134
|
+
name="emailNotify"
|
|
135
|
+
[form]="form"
|
|
136
|
+
[model]="value.emailNotify"
|
|
137
|
+
[disabled]="!canEdit"
|
|
138
|
+
(modelChange)="emailNotify.set(!!$event)" />
|
|
139
|
+
</div>
|
|
140
|
+
<div class="col-12 col-md-6 d-flex align-items-center">
|
|
141
|
+
<sd-switch label="Gửi SMS" name="smsNotify" [form]="form" [model]="value.smsNotify" [disabled]="!canEdit" />
|
|
142
|
+
</div>
|
|
143
|
+
<div class="col-12">
|
|
144
|
+
<sd-input
|
|
145
|
+
label="Email nhận thông báo"
|
|
146
|
+
name="notifyEmail"
|
|
147
|
+
[form]="form"
|
|
148
|
+
[model]="value.notifyEmail"
|
|
149
|
+
pattern="EMAIL"
|
|
150
|
+
[viewed]="!canEdit"
|
|
151
|
+
[required]="emailNotify()" />
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
</sd-section>
|
|
155
|
+
<sd-section title="Bảo mật">
|
|
156
|
+
<div class="row px-16 pt-16 pb-8">
|
|
157
|
+
<div class="col-12 col-md-6">
|
|
158
|
+
<sd-input-number
|
|
159
|
+
label="Hết phiên sau (phút)"
|
|
160
|
+
name="sessionMinutes"
|
|
161
|
+
autoId="settings-session"
|
|
162
|
+
type="positive"
|
|
163
|
+
[precision]="0"
|
|
164
|
+
[form]="form"
|
|
165
|
+
[model]="value.sessionMinutes"
|
|
166
|
+
[viewed]="!canEdit"
|
|
167
|
+
[inlineError]="errors['sessionMinutes']"
|
|
168
|
+
required />
|
|
169
|
+
</div>
|
|
170
|
+
<div class="col-12 col-md-6 d-flex align-items-center">
|
|
171
|
+
<sd-switch label="Xác thực hai bước" name="twoFactor" [form]="form" [model]="value.twoFactor" [disabled]="!canEdit" />
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
</sd-section>
|
|
175
|
+
</div>
|
|
176
|
+
<span sdFooterLeft class="T14R text-secondary" role="status" data-autoid="settings-save-state">
|
|
177
|
+
{{ unsaved.dirty() ? 'Có thay đổi chưa lưu' : 'Đã lưu lúc ' + (value.updatedAt | sdFormatDatetime) }}
|
|
178
|
+
</span>
|
|
179
|
+
</sd-page-form>
|
|
180
|
+
`,
|
|
181
|
+
})
|
|
182
|
+
export class UpdateComponent {
|
|
183
|
+
readonly #settingsService = inject(SettingsService);
|
|
184
|
+
readonly #notify = inject(SdNotifyService);
|
|
185
|
+
readonly #route = inject(ActivatedRoute);
|
|
186
|
+
readonly #host: HTMLElement = inject(ElementRef).nativeElement;
|
|
187
|
+
readonly #injector = inject(Injector);
|
|
188
|
+
protected readonly canEdit = inject(SdPermissionService).hasPermission('PATTERN_SETTINGS_U_UPDATE');
|
|
189
|
+
protected readonly currencies = CURRENCIES;
|
|
190
|
+
readonly #resolved = toSignal(this.#route.data.pipe(map(data => data['entity'] as SettingsDto)), { requireSync: true });
|
|
191
|
+
/** Bản ghi đã lưu gần nhất: sau khi lưu thay bằng bản API trả về. */
|
|
192
|
+
protected readonly entity = linkedSignal(() => this.#resolved());
|
|
193
|
+
protected readonly emailNotify = linkedSignal(() => this.entity().emailNotify);
|
|
194
|
+
protected readonly form = new FormGroup({});
|
|
195
|
+
protected readonly saving = signal(false);
|
|
196
|
+
protected readonly apiErrors = formApiErrors(this.form);
|
|
197
|
+
protected readonly unsaved = registerSdUnsavedChangesForm(inject(SdUnsavedChangesService), this.form, { id: 'settings', dirty: 'value' });
|
|
198
|
+
|
|
199
|
+
constructor() {
|
|
200
|
+
inject(DestroyRef).onDestroy(() => this.unsaved.destroy());
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
protected async save(): Promise<void> {
|
|
204
|
+
if (this.saving()) return;
|
|
205
|
+
this.form.markAllAsTouched();
|
|
206
|
+
if (this.form.invalid) {
|
|
207
|
+
this.#focusFirstInvalid();
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
210
|
+
this.saving.set(true);
|
|
211
|
+
try {
|
|
212
|
+
const saved = await firstValueFrom(this.#settingsService.update({ ...this.entity(), ...this.form.getRawValue() } as SettingsSaveReq));
|
|
213
|
+
this.entity.set(saved);
|
|
214
|
+
// Ở lại trang: giá trị vừa lưu là mốc so sánh mới (`markPristine()` ở chế độ value), sửa tiếp vẫn được bảo vệ khi rời trang.
|
|
215
|
+
this.unsaved.markPristine();
|
|
216
|
+
this.#notify.success('Đã lưu cài đặt.');
|
|
217
|
+
} catch (error) {
|
|
218
|
+
if (this.apiErrors.set(error)) this.#focusFirstInvalid();
|
|
219
|
+
else this.#notify.error(apiErrorMessage(error, 'Không thể lưu. Thay đổi vẫn được giữ.'));
|
|
220
|
+
} finally {
|
|
221
|
+
this.saving.set(false);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
#focusFirstInvalid(): void {
|
|
226
|
+
afterNextRender(() => focusFirstInvalid(this.#host), { injector: this.#injector });
|
|
227
|
+
}
|
|
228
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Routes } from '@angular/router';
|
|
2
|
+
import { sdPageFormLeaveGuard } from '@sdcorejs/angular/modules/layout';
|
|
3
|
+
import { SdPermissionGuard } from '@sdcorejs/angular/modules/permission';
|
|
4
|
+
import { SettingsService } from './services/settings.service';
|
|
5
|
+
import { settingsResolver } from './settings.resolver';
|
|
6
|
+
|
|
7
|
+
/** Một bản ghi: vào thẳng trang cập nhật; người chỉ có quyền xem thấy form ở chế độ xem. */
|
|
8
|
+
export const routes: Routes = [
|
|
9
|
+
{
|
|
10
|
+
path: '',
|
|
11
|
+
providers: [SettingsService],
|
|
12
|
+
canActivateChild: [SdPermissionGuard],
|
|
13
|
+
children: [
|
|
14
|
+
{
|
|
15
|
+
path: '',
|
|
16
|
+
title: 'Cài đặt',
|
|
17
|
+
data: { permission: 'PATTERN_SETTINGS_R_DETAIL' },
|
|
18
|
+
resolve: { entity: settingsResolver },
|
|
19
|
+
canDeactivate: [sdPageFormLeaveGuard],
|
|
20
|
+
loadComponent: () => import('./pages/update/update.component').then(module => module.UpdateComponent),
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
},
|
|
24
|
+
];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** Cài đặt cửa hàng: một bản ghi, không có danh sách. */
|
|
2
|
+
export interface SettingsDto {
|
|
3
|
+
readonly storeName: string;
|
|
4
|
+
readonly hotline: string;
|
|
5
|
+
readonly address: string;
|
|
6
|
+
readonly currency: string;
|
|
7
|
+
readonly orderPrefix: string;
|
|
8
|
+
readonly autoConfirm: boolean;
|
|
9
|
+
readonly lowStockThreshold: number;
|
|
10
|
+
readonly emailNotify: boolean;
|
|
11
|
+
readonly smsNotify: boolean;
|
|
12
|
+
readonly notifyEmail: string;
|
|
13
|
+
readonly sessionMinutes: number;
|
|
14
|
+
readonly twoFactor: boolean;
|
|
15
|
+
readonly updatedAt: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export type SettingsSaveReq = Omit<SettingsDto, 'updatedAt'>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import type { Observable } from 'rxjs';
|
|
3
|
+
import { BaseApiService } from '../../../services/base-api.service';
|
|
4
|
+
import type { SettingsDto, SettingsSaveReq } from './settings.model';
|
|
5
|
+
|
|
6
|
+
@Injectable()
|
|
7
|
+
export class SettingsService extends BaseApiService {
|
|
8
|
+
detail(): Observable<SettingsDto> {
|
|
9
|
+
return this.http.get<SettingsDto>(this.apiUrl('settings'));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
update(req: SettingsSaveReq): Observable<SettingsDto> {
|
|
13
|
+
return this.http.put<SettingsDto>(this.apiUrl('settings'), req);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { inject } from '@angular/core';
|
|
2
|
+
import type { ResolveFn } from '@angular/router';
|
|
3
|
+
import { timeout } from 'rxjs';
|
|
4
|
+
import { SettingsService } from './services/settings.service';
|
|
5
|
+
import type { SettingsDto } from './services/settings.model';
|
|
6
|
+
|
|
7
|
+
/** Tải cài đặt trước khi mở trang; lỗi đi tới navigation error handler của host. */
|
|
8
|
+
export const settingsResolver: ResolveFn<SettingsDto> = () => inject(SettingsService).detail().pipe(timeout(10_000));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdcorejs/angular",
|
|
3
|
-
"version": "21.3.
|
|
3
|
+
"version": "21.3.4",
|
|
4
4
|
"description": "Angular component library: data table, query bar/builder, 20+ signal-based form controls, layout, auth and workflow services. Standalone, OnPush, signals-first. Published in parallel lines for Angular 19, 20, 21 and 22.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -399,6 +399,10 @@
|
|
|
399
399
|
"types": "./types/sdcorejs-angular-modules-layout.d.ts",
|
|
400
400
|
"default": "./fesm2022/sdcorejs-angular-modules-layout.mjs"
|
|
401
401
|
},
|
|
402
|
+
"./modules/pattern": {
|
|
403
|
+
"types": "./types/sdcorejs-angular-modules-pattern.d.ts",
|
|
404
|
+
"default": "./fesm2022/sdcorejs-angular-modules-pattern.mjs"
|
|
405
|
+
},
|
|
402
406
|
"./modules/permission": {
|
|
403
407
|
"types": "./types/sdcorejs-angular-modules-permission.d.ts",
|
|
404
408
|
"default": "./fesm2022/sdcorejs-angular-modules-permission.mjs"
|
|
@@ -116,6 +116,24 @@ declare class SdBadge {
|
|
|
116
116
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdBadge, "sd-badge", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "primary": { "alias": "primary"; "required": false; "isSignal": true; }; "secondary": { "alias": "secondary"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "info": { "alias": "info"; "required": false; "isSignal": true; }; "warning": { "alias": "warning"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "fontSet": { "alias": "fontSet"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "pulse": { "alias": "pulse"; "required": false; "isSignal": true; }; }, { "click": "click"; }, never, never, true, never>;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
+
/**
|
|
120
|
+
* Dữ liệu của một badge truyền qua option thay vì viết thẻ `<sd-badge>`: `useBadge` của cột `sd-table`,
|
|
121
|
+
* `[badges]` của `sd-page`.
|
|
122
|
+
*
|
|
123
|
+
* Không có `size`, `description`, `pulse`, `fontSet`: nơi render tự quyết các input đó.
|
|
124
|
+
*/
|
|
125
|
+
interface SdBadgeData {
|
|
126
|
+
/** Chữ hoặc số hiển thị (giá trị của `pair`). */
|
|
127
|
+
title?: string | number | null;
|
|
128
|
+
/** Mặc định do nơi render quyết: `sd-table` và `sd-page` dùng `'round'`. */
|
|
129
|
+
type?: SdBadgeType;
|
|
130
|
+
color?: Color;
|
|
131
|
+
icon?: string | null;
|
|
132
|
+
/** Phần trái của `type: 'pair'`; các type khác bỏ qua. */
|
|
133
|
+
label?: string | null;
|
|
134
|
+
tooltip?: string | null;
|
|
135
|
+
}
|
|
136
|
+
|
|
119
137
|
/** Một lựa chọn type của `sd-badge`, với key i18n cho tên và mô tả. */
|
|
120
138
|
interface SdBadgeTypeOption {
|
|
121
139
|
value: SdBadgeType;
|
|
@@ -272,4 +290,4 @@ declare class SdBadgePicker {
|
|
|
272
290
|
}
|
|
273
291
|
|
|
274
292
|
export { SD_BADGE_ICON_PRESET, SD_BADGE_TYPE_OPTIONS, SdBadge, SdBadgePicker, ɵSdBadgePickerControlDirective };
|
|
275
|
-
export type { SdBadgePickerValue, SdBadgeType, SdBadgeTypeOption };
|
|
293
|
+
export type { SdBadgeData, SdBadgePickerValue, SdBadgeType, SdBadgeTypeOption };
|
|
@@ -29,6 +29,18 @@ interface SdQueryFieldBase<T = unknown> {
|
|
|
29
29
|
defaultOperator?: Operator;
|
|
30
30
|
/** Field is offered in picker but not interactive (read-only badge in chip). */
|
|
31
31
|
disabled?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* The chip is always on the bar: no remove button, left out of the field picker, and an empty
|
|
34
|
+
* chip reads "All". The host keeps one entry for the field in `filters`; the bar never adds it.
|
|
35
|
+
*/
|
|
36
|
+
pinned?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The field needs a value: its empty chip is marked invalid, the Search button is disabled and
|
|
39
|
+
* `SdQueryBar.invalidFields()` lists it. The explanation line belongs to the host.
|
|
40
|
+
*/
|
|
41
|
+
required?: boolean;
|
|
42
|
+
/** Field-picker group heading. Groups follow their first appearance; one group shows no heading. */
|
|
43
|
+
group?: string;
|
|
32
44
|
}
|
|
33
45
|
interface SdQueryFieldString<T = unknown> extends SdQueryFieldBase<T> {
|
|
34
46
|
type: 'string';
|
|
@@ -77,6 +89,11 @@ interface SdQueryFieldLazyValues<T = unknown, K = Record<string, any>> extends S
|
|
|
77
89
|
search: SdSearch<K>;
|
|
78
90
|
valueField: NestedKeyOf<K>;
|
|
79
91
|
displayField: NestedKeyOf<K>;
|
|
92
|
+
/**
|
|
93
|
+
* Resolves the items of values restored on a chip (cache, URL). Without it the bar asks
|
|
94
|
+
* `search({ type: 'VALUE', value })` once. Mirrors `SdTableColumnLazyValues.option.views`.
|
|
95
|
+
*/
|
|
96
|
+
views?: (values: any[]) => Promise<K[]>;
|
|
80
97
|
};
|
|
81
98
|
}
|
|
82
99
|
type SdQueryField<T = unknown> = SdQueryFieldString<T> | SdQueryFieldNumber<T> | SdQueryFieldBoolean<T> | SdQueryFieldDate<T> | SdQueryFieldValues<T> | SdQueryFieldLazyValues<T>;
|
|
@@ -106,9 +123,35 @@ interface SdQueryBarOption<T = unknown> {
|
|
|
106
123
|
savedFiltersKey?: string;
|
|
107
124
|
showLogicToggle?: boolean;
|
|
108
125
|
showClearAll?: boolean;
|
|
109
|
-
|
|
126
|
+
/**
|
|
127
|
+
* Operator symbol on the chip face. `'auto'` shows it when the field offers more than one
|
|
128
|
+
* operator, or when the chip's operator differs from `SD_QUERY_DEFAULT_OPERATOR_BY_TYPE[type]`.
|
|
129
|
+
*/
|
|
130
|
+
showOperatorOnChip?: boolean | 'auto';
|
|
110
131
|
onQueryChange?: (query: SdQuery<T>) => void;
|
|
111
132
|
onApply?: (query: SdQuery<T>) => void;
|
|
133
|
+
/**
|
|
134
|
+
* When chip edits fire `apply`.
|
|
135
|
+
* - `'search'` (default): edits stay a draft until the Search button or Enter in the search box.
|
|
136
|
+
* - `'commit'`: a popover that closes with a changed operator or value, an inline commit, removing
|
|
137
|
+
* a chip that had a value, and Enter in the search box apply at once; the Search button is hidden.
|
|
138
|
+
* An added chip that closes empty is dropped without applying.
|
|
139
|
+
* @defaultValue 'search'
|
|
140
|
+
*/
|
|
141
|
+
applyOn?: 'search' | 'commit';
|
|
142
|
+
/**
|
|
143
|
+
* `'flush'` drops the bar's own border, radius, shadow and background so it sits inside a host card.
|
|
144
|
+
* @defaultValue 'default'
|
|
145
|
+
*/
|
|
146
|
+
appearance?: 'default' | 'flush';
|
|
147
|
+
/** Replaces the built-in clear-all (which empties every chip and keeps pinned ones). */
|
|
148
|
+
onClearAll?: () => void;
|
|
149
|
+
/** Disables the clear-all button, for a host that knows nothing differs from its defaults. */
|
|
150
|
+
clearDisabled?: boolean;
|
|
151
|
+
/** Placeholder of the free-text search box; overrides `core.component.query-bar.search-placeholder`. */
|
|
152
|
+
searchPlaceholder?: string;
|
|
153
|
+
/** Id of the host element explaining missing required values; set as `aria-describedby` on empty required chips. */
|
|
154
|
+
invalidHintId?: string;
|
|
112
155
|
}
|
|
113
156
|
/** Persisted bookmark of a query (filters + logic + search) — managed by `[savedFiltersKey]`. */
|
|
114
157
|
interface SdSavedFilter<T = unknown> {
|
|
@@ -256,6 +299,16 @@ declare class SdQueryPopoverChip {
|
|
|
256
299
|
readonly showOperator: _angular_core.InputSignal<boolean>;
|
|
257
300
|
/** Rendered value text for the value slot. */
|
|
258
301
|
readonly valueText: _angular_core.InputSignal<string>;
|
|
302
|
+
/** Muted text shown after the label while the chip has no value ("All" on a pinned chip). */
|
|
303
|
+
readonly emptyText: _angular_core.InputSignal<string>;
|
|
304
|
+
/** Pinned chip — no remove button. */
|
|
305
|
+
readonly pinned: _angular_core.InputSignal<boolean>;
|
|
306
|
+
/** Read-only chip — does not open its popover. */
|
|
307
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
308
|
+
/** Required chip without a value — error look, `aria-invalid`. */
|
|
309
|
+
readonly invalid: _angular_core.InputSignal<boolean>;
|
|
310
|
+
/** Id set as `aria-describedby` (the host's required hint). */
|
|
311
|
+
readonly describedBy: _angular_core.InputSignal<string | undefined>;
|
|
259
312
|
/** Chip popover mat-menu instance supplied by the parent. */
|
|
260
313
|
readonly menu: _angular_core.InputSignal<MatMenu>;
|
|
261
314
|
/** Fired when the chip popover opens (parent seeds its editing state). */
|
|
@@ -266,10 +319,14 @@ declare class SdQueryPopoverChip {
|
|
|
266
319
|
filterField(): string;
|
|
267
320
|
filterOperator(): Operator;
|
|
268
321
|
private readonly trigger;
|
|
269
|
-
|
|
322
|
+
/**
|
|
323
|
+
* Opens the chip popover. With `returnFocusTo`, that element (e.g. the host control that asked
|
|
324
|
+
* for the chip) gets focus back when the popover closes, instead of the chip.
|
|
325
|
+
*/
|
|
326
|
+
openMenu(returnFocusTo?: HTMLElement): void;
|
|
270
327
|
closeMenu(): void;
|
|
271
328
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdQueryPopoverChip, never>;
|
|
272
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdQueryPopoverChip, "sd-query-popover-chip", never, { "field": { "alias": "field"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": true; "isSignal": true; }; "active": { "alias": "active"; "required": true; "isSignal": true; }; "showOperator": { "alias": "showOperator"; "required": false; "isSignal": true; }; "valueText": { "alias": "valueText"; "required": false; "isSignal": true; }; "menu": { "alias": "menu"; "required": true; "isSignal": true; }; }, { "open": "open"; "remove": "remove"; }, never, never, true, never>;
|
|
329
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdQueryPopoverChip, "sd-query-popover-chip", never, { "field": { "alias": "field"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": true; "isSignal": true; }; "active": { "alias": "active"; "required": true; "isSignal": true; }; "showOperator": { "alias": "showOperator"; "required": false; "isSignal": true; }; "valueText": { "alias": "valueText"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "pinned": { "alias": "pinned"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "describedBy": { "alias": "describedBy"; "required": false; "isSignal": true; }; "menu": { "alias": "menu"; "required": true; "isSignal": true; }; }, { "open": "open"; "remove": "remove"; }, never, never, true, never>;
|
|
273
330
|
}
|
|
274
331
|
|
|
275
332
|
type Density = 'compact' | 'comfortable';
|
|
@@ -330,14 +387,21 @@ declare class SdQueryBar {
|
|
|
330
387
|
readonly showLogicToggle: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
331
388
|
/** Show "Clear all" button when at least one filter is active. */
|
|
332
389
|
readonly showClearAll: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
333
|
-
/**
|
|
334
|
-
|
|
390
|
+
/**
|
|
391
|
+
* Render the operator label on the chip face (default: hidden — operator only visible in popover).
|
|
392
|
+
* `'auto'`: only on chips whose field offers a choice or whose operator is not the type default.
|
|
393
|
+
*/
|
|
394
|
+
readonly showOperatorOnChip: _angular_core.InputSignalWithTransform<boolean | "auto", string | boolean | null | undefined>;
|
|
335
395
|
/** Composite payload — emitted whenever filters / logic / search change. */
|
|
336
396
|
readonly queryChange: _angular_core.OutputEmitterRef<SdQuery<unknown>>;
|
|
337
397
|
/** Fires when the user presses "Áp dụng" inside a chip popover — host should reload data. */
|
|
338
398
|
readonly apply: _angular_core.OutputEmitterRef<SdQuery<unknown>>;
|
|
339
|
-
/** Placeholder của ô tìm kiếm tự do bên trái. */
|
|
399
|
+
/** Placeholder của ô tìm kiếm tự do bên trái; `option.searchPlaceholder` thắng i18n. */
|
|
340
400
|
readonly searchPlaceholder: _angular_core.Signal<string>;
|
|
401
|
+
/** Chữ trên chip ghim đang rỗng. */
|
|
402
|
+
readonly allLabel: _angular_core.Signal<string>;
|
|
403
|
+
/** Chữ trên chip bắt buộc đang rỗng — "Tất cả" sai nghĩa khi field không cho phép bỏ trống. */
|
|
404
|
+
readonly selectValueLabel: _angular_core.Signal<string>;
|
|
341
405
|
/** Tooltip nút "+" khi consumer chưa khai `fields`. */
|
|
342
406
|
readonly noFieldsLabel: _angular_core.Signal<string>;
|
|
343
407
|
/** Tooltip nút "+" ở trạng thái bình thường. */
|
|
@@ -352,14 +416,26 @@ declare class SdQueryBar {
|
|
|
352
416
|
readonly resolvedSavedFiltersKey: _angular_core.Signal<string | undefined>;
|
|
353
417
|
readonly resolvedShowLogicToggle: _angular_core.Signal<boolean>;
|
|
354
418
|
readonly resolvedShowClearAll: _angular_core.Signal<boolean>;
|
|
355
|
-
readonly resolvedShowOperatorOnChip: _angular_core.Signal<boolean>;
|
|
419
|
+
readonly resolvedShowOperatorOnChip: _angular_core.Signal<boolean | "auto">;
|
|
420
|
+
readonly resolvedApplyOn: _angular_core.Signal<"search" | "commit">;
|
|
421
|
+
readonly resolvedAppearance: _angular_core.Signal<"default" | "flush">;
|
|
422
|
+
readonly resolvedClearDisabled: _angular_core.Signal<boolean>;
|
|
423
|
+
readonly resolvedInvalidHintId: _angular_core.Signal<string | undefined>;
|
|
356
424
|
constructor();
|
|
357
425
|
readonly fieldByKey: _angular_core.Signal<Record<string, SdQueryField>>;
|
|
358
426
|
/** Field keys already chained on a chip — the picker greys these out. */
|
|
359
427
|
readonly usedFieldKeys: _angular_core.Signal<Set<string>>;
|
|
428
|
+
/** Fields the user can add: pinned fields always have their chip, so the picker leaves them out. */
|
|
429
|
+
readonly pickerFields: _angular_core.Signal<SdQueryField[]>;
|
|
430
|
+
/** "+" is disabled when nothing is left to add. */
|
|
431
|
+
readonly addDisabled: _angular_core.Signal<boolean>;
|
|
432
|
+
/** Required fields without a chip value. The host renders the explanation from this list. */
|
|
433
|
+
readonly invalidFields: _angular_core.Signal<SdQueryField[]>;
|
|
434
|
+
/** Chips holding a value — the number shown in the clear-all label. */
|
|
435
|
+
readonly activeCount: _angular_core.Signal<number>;
|
|
360
436
|
/** Render the global AND/OR connector text between chips when `logic === 'OR'`. */
|
|
361
437
|
readonly showOrConnector: _angular_core.Signal<boolean>;
|
|
362
|
-
/** Search button is actionable only when there is something to apply. */
|
|
438
|
+
/** Search button is actionable only when there is something to apply and no required field is empty. */
|
|
363
439
|
readonly canSearch: _angular_core.Signal<boolean>;
|
|
364
440
|
/** Index of the chip whose popover is open. Reset to null after commit / close. */
|
|
365
441
|
readonly editingIndex: _angular_core.WritableSignal<number | null>;
|
|
@@ -387,10 +463,26 @@ declare class SdQueryBar {
|
|
|
387
463
|
*/
|
|
388
464
|
rowId(filter: Filter): string;
|
|
389
465
|
readonly iconFor: typeof sdQueryFieldIcon;
|
|
390
|
-
/**
|
|
466
|
+
/**
|
|
467
|
+
* Chip is "active" when it has a non-empty value OR a no-data operator (NULL/NOT_NULL).
|
|
468
|
+
* A BETWEEN range is active when either end is set; `{ from: null, to: null }` is empty.
|
|
469
|
+
*/
|
|
391
470
|
isFilterActive(filter: Filter): boolean;
|
|
392
471
|
/** Rendered value text on a chip. */
|
|
393
472
|
chipValueText(filter: Filter): string;
|
|
473
|
+
/** The field of a chip, or `undefined` for a key the bar does not know. */
|
|
474
|
+
fieldOf(filter: Filter): SdQueryField | undefined;
|
|
475
|
+
/** Pinned chips have no remove button and survive removeFilter / clearAll. */
|
|
476
|
+
isPinned(filter: Filter): boolean;
|
|
477
|
+
/** Empty chip of a required field. */
|
|
478
|
+
isInvalid(filter: Filter): boolean;
|
|
479
|
+
/** Text of an empty chip: "All" on a pinned chip, "Select a value" on a required one, nothing otherwise. */
|
|
480
|
+
emptyTextFor(field: SdQueryField | undefined): string;
|
|
481
|
+
/**
|
|
482
|
+
* Whether a chip of `field` shows its operator. A boolean setting applies to every chip; `'auto'`
|
|
483
|
+
* shows it when the field offers a choice, or when the operator is not the default of the type.
|
|
484
|
+
*/
|
|
485
|
+
showOperatorFor(field: SdQueryField | undefined, operator: Operator | undefined): boolean;
|
|
394
486
|
isNoDataOperator(op: Operator | string): boolean;
|
|
395
487
|
readonly building: _angular_core.Signal<BuildingChip<unknown> | null>;
|
|
396
488
|
/**
|
|
@@ -401,6 +493,13 @@ declare class SdQueryBar {
|
|
|
401
493
|
*/
|
|
402
494
|
allowedOperatorsFor(field: SdQueryField): Operator[];
|
|
403
495
|
inlineAutoId(index: number, role: string): string;
|
|
496
|
+
/** Value committed by a completed inline chip (seamless input, picker, boolean toggle). */
|
|
497
|
+
onInlineCommit(index: number, data: unknown): void;
|
|
498
|
+
/** Range committed by a completed inline BETWEEN chip. */
|
|
499
|
+
onInlineRange(index: number, ev: {
|
|
500
|
+
from: unknown;
|
|
501
|
+
to: unknown;
|
|
502
|
+
} | null): void;
|
|
404
503
|
/** Entry point from the field picker — start building a chip for `field`. */
|
|
405
504
|
beginBuild(field: SdQueryField): void;
|
|
406
505
|
/** Operator chosen during build — finish (no-data) or advance to the value step. */
|
|
@@ -425,24 +524,40 @@ declare class SdQueryBar {
|
|
|
425
524
|
to: unknown;
|
|
426
525
|
} | null): void;
|
|
427
526
|
addFilter(field: SdQueryField): void;
|
|
527
|
+
/**
|
|
528
|
+
* Opens the editor of `key` — for a host control outside the bar, such as a table header icon.
|
|
529
|
+
* Popover mode opens the chip's popover, adding the chip first when the field has none; inline
|
|
530
|
+
* mode focuses the chip or starts building one. `returnFocusTo` receives focus when the popover
|
|
531
|
+
* closes, instead of the chip.
|
|
532
|
+
*/
|
|
533
|
+
openField(key: string, returnFocusTo?: HTMLElement | null): void;
|
|
534
|
+
/** Clear-all button: the host's `onClearAll` when given, else the built-in clearAll(). */
|
|
535
|
+
onClearClick(): void;
|
|
428
536
|
/** Swap the field of an existing chip — reset operator + value to the new field's defaults. */
|
|
429
537
|
changeFilterField(index: number, field: SdQueryField): void;
|
|
430
538
|
updateFilter(index: number, patch: Partial<Filter>): void;
|
|
431
539
|
updateFilterData(index: number, data: unknown): void;
|
|
432
540
|
removeFilter(index: number): void;
|
|
541
|
+
/** Empties the bar. Pinned chips stay, reset to their field's default operator and no value. */
|
|
433
542
|
clearAll(): void;
|
|
434
543
|
setLogic(value: SdQueryLogic): void;
|
|
435
544
|
setSearch(value: string): void;
|
|
545
|
+
/** Enter in the search box: applies the typed text too, unless a required field is still empty. */
|
|
546
|
+
applySearch(): void;
|
|
436
547
|
triggerApply(): void;
|
|
437
548
|
/**
|
|
438
549
|
* Called when a popover-mode chip is clicked — set editingIndex and seed the
|
|
439
550
|
* child popover's staging signals from the chip's Filter.
|
|
440
551
|
*/
|
|
441
552
|
openChipPopover(index: number): void;
|
|
442
|
-
/**
|
|
553
|
+
/**
|
|
554
|
+
* Receive `(commit)` from the child popover — splice into filters, null the index. With
|
|
555
|
+
* `applyOn: 'commit'` a changed chip applies at once, and an unpinned chip that closes empty is
|
|
556
|
+
* dropped (applying only when it had a value before).
|
|
557
|
+
*/
|
|
443
558
|
onChipPopoverCommit(next: Filter): void;
|
|
444
559
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdQueryBar, never>;
|
|
445
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdQueryBar, "sd-query-bar", never, { "option": { "alias": "option"; "required": false; "isSignal": true; }; "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "logic": { "alias": "logic"; "required": false; "isSignal": true; }; "search": { "alias": "search"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "showSearch": { "alias": "showSearch"; "required": false; "isSignal": true; }; "showSavedFilters": { "alias": "showSavedFilters"; "required": false; "isSignal": true; }; "savedFiltersKey": { "alias": "savedFiltersKey"; "required": false; "isSignal": true; }; "showLogicToggle": { "alias": "showLogicToggle"; "required": false; "isSignal": true; }; "showClearAll": { "alias": "showClearAll"; "required": false; "isSignal": true; }; "showOperatorOnChip": { "alias": "showOperatorOnChip"; "required": false; "isSignal": true; }; }, { "filters": "filtersChange"; "logic": "logicChange"; "search": "searchChange"; "queryChange": "queryChange"; "apply": "apply"; }, never,
|
|
560
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdQueryBar, "sd-query-bar", never, { "option": { "alias": "option"; "required": false; "isSignal": true; }; "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "logic": { "alias": "logic"; "required": false; "isSignal": true; }; "search": { "alias": "search"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "showSearch": { "alias": "showSearch"; "required": false; "isSignal": true; }; "showSavedFilters": { "alias": "showSavedFilters"; "required": false; "isSignal": true; }; "savedFiltersKey": { "alias": "savedFiltersKey"; "required": false; "isSignal": true; }; "showLogicToggle": { "alias": "showLogicToggle"; "required": false; "isSignal": true; }; "showClearAll": { "alias": "showClearAll"; "required": false; "isSignal": true; }; "showOperatorOnChip": { "alias": "showOperatorOnChip"; "required": false; "isSignal": true; }; }, { "filters": "filtersChange"; "logic": "logicChange"; "search": "searchChange"; "queryChange": "queryChange"; "apply": "apply"; }, never, ["[sdQueryBarEnd]"], true, never>;
|
|
446
561
|
}
|
|
447
562
|
|
|
448
563
|
export { SD_QUERY_DEFAULT_OPERATOR_BY_TYPE, SD_QUERY_MULTI_OPERATORS, SD_QUERY_NO_DATA_OPERATORS, SD_QUERY_OPERATORS_BY_TYPE, SD_QUERY_TYPE_ICON, SdQueryBar, sdQueryAllowedOperators, sdQueryDefaultOperator, sdQueryFieldIcon, sdQueryShowOperatorSelector };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
2
3
|
import { Color } from '@sdcorejs/utils/models';
|
|
3
4
|
import { SdIconShape } from '@sdcorejs/angular/modules/icon';
|
|
4
5
|
|
|
@@ -33,4 +34,15 @@ declare class SdSectionItem {
|
|
|
33
34
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdSectionItem, "sd-section-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelWidth": { "alias": "labelWidth"; "required": false; "isSignal": true; }; }, {}, never, ["[itemLeft]", "*"], true, never>;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
|
-
|
|
37
|
+
/**
|
|
38
|
+
* A container that lists the sections inside it, such as the table of contents of `sd-page`. Every outermost
|
|
39
|
+
* `sd-section` below the provider registers itself, also one inside a child component of the container.
|
|
40
|
+
*/
|
|
41
|
+
interface SdSectionRegistry {
|
|
42
|
+
/** Adds a section; returns the function that removes it. */
|
|
43
|
+
register(section: SdSection, element: HTMLElement): () => void;
|
|
44
|
+
}
|
|
45
|
+
declare const SD_SECTION_REGISTRY: InjectionToken<SdSectionRegistry>;
|
|
46
|
+
|
|
47
|
+
export { SD_SECTION_REGISTRY, SdSection, SdSectionItem };
|
|
48
|
+
export type { SdSectionRegistry };
|
|
@@ -74,4 +74,4 @@ declare class SdSplitterComponent {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
export { SdSplitterComponent, SdSplitterPanelComponent };
|
|
77
|
-
export type { SplitterLayoutState, SplitterOrientation, SplitterPanelState, SplitterPanelUnit };
|
|
77
|
+
export type { SdSplitterOption, SplitterLayoutState, SplitterOrientation, SplitterPanelState, SplitterPanelUnit };
|