@sdcorejs/angular 20.3.1 → 20.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/STYLE-GUIDE.md +25 -5
- package/assets/THEME.md +289 -5
- package/assets/licenses/tiptap-oss-NOTICES.txt +332 -0
- package/assets/scss/ckeditor5.scss +2 -88
- package/assets/scss/core/_control.scss +39 -0
- package/assets/scss/core/form.scss +444 -45
- package/assets/scss/core/view.scss +24 -0
- package/assets/scss/editor-content.scss +173 -0
- package/assets/scss/sd-core.scss +1 -0
- package/assets/scss/themes/_component-tokens.scss +123 -32
- package/assets/scss/themes/_material-tokens.scss +112 -0
- package/assets/scss/themes/_presets.scss +25 -0
- package/assets/scss/themes/_scales.scss +10 -0
- package/assets/scss/themes/_semantic.scss +13 -0
- package/assets/scss/themes/default.scss +8 -2
- package/components/avatar/index.d.ts +67 -2
- package/components/badge/index.d.ts +206 -6
- package/components/button/index.d.ts +20 -1
- package/components/ckeditor-styles/index.d.ts +3 -18
- package/components/editor/index.d.ts +20 -17
- package/components/editor-engine/index.d.ts +246 -0
- package/components/file-explorer/index.d.ts +4 -2
- package/components/form-generic/index.d.ts +246 -35
- package/components/index.d.ts +1 -0
- package/components/mini-editor/index.d.ts +33 -70
- package/components/modal-resizable/index.d.ts +1 -124
- package/components/operator/index.d.ts +137 -8
- package/components/section/index.d.ts +13 -1
- package/components/splitter/index.d.ts +1 -1
- package/components/tab-router/index.d.ts +74 -19
- package/components/table/index.d.ts +210 -18
- package/components/upload-file/index.d.ts +181 -21
- package/components/window/index.d.ts +81 -0
- package/configurations/index.d.ts +8 -1
- package/fesm2022/sdcorejs-angular-components-api-contract-builder.mjs +5 -5
- package/fesm2022/sdcorejs-angular-components-api-contract-builder.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-avatar.mjs +142 -11
- package/fesm2022/sdcorejs-angular-components-avatar.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-badge.mjs +548 -24
- package/fesm2022/sdcorejs-angular-components-badge.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-button.mjs +33 -3
- package/fesm2022/sdcorejs-angular-components-button.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-ckeditor-styles.mjs +5 -20
- package/fesm2022/sdcorejs-angular-components-ckeditor-styles.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-data-state.mjs +1 -1
- package/fesm2022/sdcorejs-angular-components-data-state.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-editor-engine.mjs +1872 -0
- package/fesm2022/sdcorejs-angular-components-editor-engine.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-components-editor.mjs +457 -756
- package/fesm2022/sdcorejs-angular-components-editor.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-file-explorer.mjs +68 -37
- package/fesm2022/sdcorejs-angular-components-file-explorer.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-form-generic.mjs +2118 -1159
- package/fesm2022/sdcorejs-angular-components-form-generic.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-history.mjs +5 -2
- package/fesm2022/sdcorejs-angular-components-history.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-image-editor.mjs +1 -1
- package/fesm2022/sdcorejs-angular-components-image-editor.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-import-excel.mjs +21 -6
- package/fesm2022/sdcorejs-angular-components-import-excel.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-inform.mjs +1 -1
- package/fesm2022/sdcorejs-angular-components-inform.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-kanban.mjs +12 -2
- package/fesm2022/sdcorejs-angular-components-kanban.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-mini-editor.mjs +177 -283
- package/fesm2022/sdcorejs-angular-components-mini-editor.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-modal-resizable.mjs +1 -308
- package/fesm2022/sdcorejs-angular-components-modal-resizable.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-modal.mjs +2 -2
- package/fesm2022/sdcorejs-angular-components-modal.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-operator.mjs +262 -43
- package/fesm2022/sdcorejs-angular-components-operator.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-query-bar.mjs +12 -12
- package/fesm2022/sdcorejs-angular-components-query-bar.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-query-builder.mjs +1 -1
- package/fesm2022/sdcorejs-angular-components-query-builder.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-section.mjs +17 -5
- 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 +559 -94
- package/fesm2022/sdcorejs-angular-components-tab-router.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-table.mjs +1001 -119
- package/fesm2022/sdcorejs-angular-components-table.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-tree.mjs +1 -1
- package/fesm2022/sdcorejs-angular-components-tree.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-components-view.mjs +2 -2
- package/fesm2022/sdcorejs-angular-components-view.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-window.mjs +486 -0
- package/fesm2022/sdcorejs-angular-components-window.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-components.mjs +1 -0
- package/fesm2022/sdcorejs-angular-components.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-configurations.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-directives.mjs +18 -1
- package/fesm2022/sdcorejs-angular-directives.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-autocomplete.mjs +20 -2
- package/fesm2022/sdcorejs-angular-forms-autocomplete.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-checkbox.mjs +2 -2
- package/fesm2022/sdcorejs-angular-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-chip-calendar.mjs +463 -125
- 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 +79 -13
- package/fesm2022/sdcorejs-angular-forms-date-range.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-date.mjs +75 -18
- package/fesm2022/sdcorejs-angular-forms-date.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-datetime.mjs +79 -16
- package/fesm2022/sdcorejs-angular-forms-datetime.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-directives.mjs +82 -2
- package/fesm2022/sdcorejs-angular-forms-directives.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs +2 -2
- package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-input-color.mjs +1 -1
- package/fesm2022/sdcorejs-angular-forms-input-color.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-input-number.mjs +56 -6
- package/fesm2022/sdcorejs-angular-forms-input-number.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-input.mjs +54 -7
- package/fesm2022/sdcorejs-angular-forms-input.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-models.mjs +88 -5
- package/fesm2022/sdcorejs-angular-forms-models.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-radio.mjs +2 -2
- package/fesm2022/sdcorejs-angular-forms-radio.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-segmented.mjs +5 -4
- package/fesm2022/sdcorejs-angular-forms-segmented.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-select.mjs +87 -33
- package/fesm2022/sdcorejs-angular-forms-select.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-switch.mjs +2 -2
- package/fesm2022/sdcorejs-angular-forms-switch.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-textarea.mjs +16 -3
- package/fesm2022/sdcorejs-angular-forms-textarea.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-time.mjs +2 -2
- package/fesm2022/sdcorejs-angular-forms-time.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-tree-select.mjs +1 -1
- package/fesm2022/sdcorejs-angular-forms-tree-select.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-i18n.mjs +1745 -22
- package/fesm2022/sdcorejs-angular-i18n.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-interceptors.mjs +1 -1
- package/fesm2022/sdcorejs-angular-interceptors.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-modules-generic-generic-configuration.page-D_1BxDC9.mjs +478 -0
- package/fesm2022/sdcorejs-angular-modules-generic-generic-configuration.page-D_1BxDC9.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-generic-generic-form-host.page-CgH8Qi25.mjs +214 -0
- package/fesm2022/sdcorejs-angular-modules-generic-generic-form-host.page-CgH8Qi25.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-generic-generic-list.page-CyCGqW9W.mjs +277 -0
- package/fesm2022/sdcorejs-angular-modules-generic-generic-list.page-CyCGqW9W.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-DTmU8Te4.mjs +1556 -0
- package/fesm2022/sdcorejs-angular-modules-generic-sdcorejs-angular-modules-generic-DTmU8Te4.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-generic.mjs +2 -0
- package/fesm2022/sdcorejs-angular-modules-generic.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-icon.mjs +96 -3
- package/fesm2022/sdcorejs-angular-modules-icon.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-modules-layout.mjs +2055 -37
- 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-BubUwgBK.mjs +51 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-base-api.service-BubUwgBK.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-C9WQdsEi.mjs +131 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-C9WQdsEi.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-s7ZXoakT.mjs +130 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create-side-drawer.component-s7ZXoakT.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-BxfQux1Q.mjs +99 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-BxfQux1Q.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-D4GrcahQ.mjs +460 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-D4GrcahQ.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-DlYVJqHo.mjs +118 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-create.component-DlYVJqHo.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-Bfx6_CmA.mjs +66 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-customer.service-Bfx6_CmA.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-3PUIy1Vi.mjs +148 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail-side-drawer.component-3PUIy1Vi.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-CbYMo3D1.mjs +172 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-CbYMo3D1.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-detail.component-c__NdSt3.mjs +467 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-detail.component-c__NdSt3.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-flow.component-Bjvq6wJz.mjs +514 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-flow.component-Bjvq6wJz.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-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-form.component-pqT7lnS6.mjs +170 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-general-information-form.component-pqT7lnS6.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-DZXPZuM4.mjs +100 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-index.component-DZXPZuM4.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-lines-form.component-BjMOON6K.mjs +522 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-lines-form.component-BjMOON6K.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-Bf9QWXBp.mjs +115 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-Bf9QWXBp.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CuDjsIzi.mjs +118 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-CuDjsIzi.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DkVrMSPZ.mjs +164 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DkVrMSPZ.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DkxheDVz.mjs +629 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-DkxheDVz.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-E8rkFCkK.mjs +71 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-list.component-E8rkFCkK.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-mock-backend.factory-DgmM-wTI.mjs +1069 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-mock-backend.factory-DgmM-wTI.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-BpLQaYP5.mjs +186 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source-viewer-BpLQaYP5.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-BrejHvB2.mjs +97 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-pattern-source.generated-BrejHvB2.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-C3coYwmZ.mjs +48 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-product.service-C3coYwmZ.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-YsWsrKWJ.mjs +297 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-profile.component-YsWsrKWJ.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-9ujH01cX.mjs +74 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-9ujH01cX.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-BfpsCkim.mjs +45 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-BfpsCkim.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-C7b5dRrJ.mjs +165 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-C7b5dRrJ.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CGeqkySv.mjs +66 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-CGeqkySv.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-DoBxGoRE.mjs +74 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-DoBxGoRE.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-dBuQqYkO.mjs +43 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-dBuQqYkO.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-quSIwMOx.mjs +50 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-quSIwMOx.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-rR-MpQFh.mjs +99 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-routes-rR-MpQFh.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-LQNpFSmN.mjs +406 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-sdcorejs-angular-modules-pattern-LQNpFSmN.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-shell.component-CcmrUIvP.mjs +317 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-shell.component-CcmrUIvP.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-Cq72tG9h.mjs +143 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-Cq72tG9h.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-xFbutFLY.mjs +132 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update-side-drawer.component-xFbutFLY.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-CsfGgGJb.mjs +128 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-CsfGgGJb.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-DYPI_CRD.mjs +100 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-DYPI_CRD.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-lHmdUXWT.mjs +357 -0
- package/fesm2022/sdcorejs-angular-modules-pattern-update.component-lHmdUXWT.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-modules.mjs +1 -0
- package/fesm2022/sdcorejs-angular-modules.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-pipes.mjs +27 -7
- package/fesm2022/sdcorejs-angular-pipes.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-services-confirm.mjs +1 -1
- package/fesm2022/sdcorejs-angular-services-confirm.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-services-date-time.mjs +143 -0
- package/fesm2022/sdcorejs-angular-services-date-time.mjs.map +1 -0
- package/fesm2022/sdcorejs-angular-services-storage.mjs +44 -8
- 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/fesm2022/sdcorejs-angular-services.mjs +1 -0
- package/fesm2022/sdcorejs-angular-services.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-utilities-read-state.mjs +4 -0
- package/fesm2022/sdcorejs-angular-utilities-read-state.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-utilities-theme.mjs +10 -0
- package/fesm2022/sdcorejs-angular-utilities-theme.mjs.map +1 -1
- package/forms/autocomplete/index.d.ts +5 -0
- package/forms/chip/index.d.ts +136 -26
- package/forms/chip-calendar/index.d.ts +163 -18
- package/forms/date/index.d.ts +23 -2
- package/forms/date-range/index.d.ts +24 -2
- package/forms/directives/index.d.ts +47 -2
- package/forms/input/index.d.ts +23 -2
- package/forms/input-number/index.d.ts +23 -2
- package/forms/models/index.d.ts +38 -3
- package/forms/select/index.d.ts +32 -2
- package/i18n/index.d.ts +344 -2
- package/modules/generic/index.d.ts +316 -0
- package/modules/icon/index.d.ts +37 -6
- package/modules/index.d.ts +1 -0
- package/modules/layout/index.d.ts +622 -89
- 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 +518 -0
- package/modules/pattern/docs/header-actions.md +342 -0
- package/modules/pattern/docs/list.md +247 -0
- package/modules/pattern/docs/relation.md +180 -0
- package/modules/pattern/docs/select.md +206 -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 +123 -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 +131 -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 +205 -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 +99 -0
- package/modules/pattern/features/order/pages/detail/detail.component.ts +222 -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 +119 -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 +65 -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 +85 -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 +227 -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 +45 -8
- package/pipes/index.d.ts +2 -0
- package/services/date-time/index.d.ts +57 -0
- package/services/index.d.ts +1 -0
- package/services/storage/index.d.ts +8 -1
- package/services/unsaved-changes/index.d.ts +11 -0
- package/utilities/read-state/index.d.ts +2 -0
- package/utilities/theme/index.d.ts +1 -1
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
font-size: var(--sd-font-size-16, 16px);
|
|
7
7
|
width: 100%;
|
|
8
8
|
|
|
9
|
+
// Màu viền / label / caret theo trạng thái (thường, focus, lỗi): token Material ánh xạ sang palette
|
|
10
|
+
// Core trong sd.theme() — xem themes/_material-tokens.scss.
|
|
11
|
+
|
|
9
12
|
.sd-form-field-label {
|
|
10
13
|
display: inline-flex;
|
|
11
14
|
align-items: center;
|
|
@@ -23,20 +26,6 @@
|
|
|
23
26
|
color: map.get(color.$color_map, 'error');
|
|
24
27
|
}
|
|
25
28
|
|
|
26
|
-
// Xử lý màu border nhạt bớt
|
|
27
|
-
.mat-mdc-notch-piece {
|
|
28
|
-
&.mdc-notched-outline__leading {
|
|
29
|
-
border-color: map.get(color.$color_map, 'border') !important;
|
|
30
|
-
}
|
|
31
|
-
&.mdc-notched-outline__notch {
|
|
32
|
-
border-top-color: map.get(color.$color_map, 'border') !important;
|
|
33
|
-
border-bottom-color: map.get(color.$color_map, 'border') !important;
|
|
34
|
-
}
|
|
35
|
-
&.mdc-notched-outline__trailing {
|
|
36
|
-
border-color: map.get(color.$color_map, 'border') !important;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
29
|
// Xử lý icon
|
|
41
30
|
.sd-suffix-icon {
|
|
42
31
|
color: map.get(color.$color_map, 'text-secondary');
|
|
@@ -136,35 +125,75 @@
|
|
|
136
125
|
}
|
|
137
126
|
}
|
|
138
127
|
|
|
139
|
-
//
|
|
128
|
+
// Token control (thiết kế đợt 2 · D): viền 1px ở mọi trạng thái, focus là viền primary 1px cộng vòng
|
|
129
|
+
// `--sd-control-ring` bên ngoài. Bo góc và màu viền nằm ở themes/_material-tokens.scss; độ dày đặt ở đây
|
|
130
|
+
// vì tầng Material chỉ trỏ token Material sang token Core. Khai báo cả tên Material 19 và 20+.
|
|
131
|
+
&.mat-form-field-appearance-outline {
|
|
132
|
+
--mdc-outlined-text-field-outline-width: 1px;
|
|
133
|
+
--mdc-outlined-text-field-focus-outline-width: 1px;
|
|
134
|
+
--mat-form-field-outlined-outline-width: 1px;
|
|
135
|
+
--mat-form-field-outlined-focus-outline-width: 1px;
|
|
136
|
+
|
|
137
|
+
// why: wrapper mang nền của ô (nền bảng ở hàng filter, nền disabled) và vòng focus; Material bo nó 4px ở trên,
|
|
138
|
+
// 0px ở dưới nên nền tràn ra ngoài cung 8px của viền thành góc vuông trên nền khác. Bo theo viền ở mọi trạng thái.
|
|
139
|
+
.mat-mdc-text-field-wrapper {
|
|
140
|
+
border-radius: var(--sd-control-radius, 8px);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&.mat-focused .mat-mdc-text-field-wrapper {
|
|
144
|
+
box-shadow: var(--sd-control-ring, none);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&.mat-focused.mat-form-field-invalid .mat-mdc-text-field-wrapper {
|
|
148
|
+
box-shadow: var(--sd-control-ring-error, none);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// why: label float nằm đè lên vòng focus ở chỗ notch, nên cần nền để cắt vòng. Chỉ khi focus — lúc
|
|
152
|
+
// nghỉ không có vòng, và một field đặt trên nền khác surface sẽ lộ mảng nền. Context có nền khác (ô
|
|
153
|
+
// filter của bảng) đặt lại `--sd-control-label-bg`.
|
|
154
|
+
&.mat-focused .mdc-floating-label--float-above {
|
|
155
|
+
background: var(--sd-control-label-bg, var(--sd-surface));
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
// Nền disabled chung cho mọi control dạng ô, để ô vô hiệu không nhầm với ô trống.
|
|
159
|
+
&.mat-form-field-disabled .mat-mdc-text-field-wrapper {
|
|
160
|
+
background: var(--sd-control-bg-disabled, #{color.$disabled-bg});
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// why: box-shadow không hiện trong forced colors, nên vòng focus phải là outline hệ thống.
|
|
164
|
+
@media (forced-colors: active) {
|
|
165
|
+
&.mat-focused .mat-mdc-text-field-wrapper {
|
|
166
|
+
outline: 2px solid Highlight;
|
|
167
|
+
outline-offset: 2px;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
// Bỏ padding nếu hideInlineError. Viền đỏ khi lỗi đến từ token `error-outline-color` ở trên, như
|
|
173
|
+
// mọi field khác.
|
|
140
174
|
&.hide-inline-error {
|
|
141
175
|
.mat-mdc-form-field-subscript-wrapper {
|
|
142
176
|
display: none;
|
|
143
177
|
}
|
|
178
|
+
}
|
|
144
179
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
border-bottom-color: map.get(color.$color_map, 'error') !important;
|
|
153
|
-
}
|
|
154
|
-
&.mdc-notched-outline__trailing {
|
|
155
|
-
border-color: map.get(color.$color_map, 'error') !important;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
180
|
+
// Size lg = số đo mặc định của Material (không có class size). why: Material chỉ đệm `mat-icon` trong suffix, nên
|
|
181
|
+
// sd-icon / nút icon của suffix (mũi tên, xoá, lịch…) nằm sát viền phải. Đệm và khoảng cách như sd-md.
|
|
182
|
+
&:not(.sd-sm):not(.sd-md).mat-form-field-appearance-outline .mat-mdc-form-field-icon-suffix {
|
|
183
|
+
padding: 0 12px;
|
|
184
|
+
display: flex;
|
|
185
|
+
align-items: center;
|
|
186
|
+
gap: 8px;
|
|
159
187
|
}
|
|
160
188
|
|
|
161
189
|
// Size normal`
|
|
162
190
|
&.sd-md {
|
|
163
|
-
--mat-form-field-container-height: 40px;
|
|
191
|
+
--mat-form-field-container-height: var(--sd-control-height-md, 40px);
|
|
164
192
|
--mat-form-field-container-vertical-padding: 3px;
|
|
165
193
|
|
|
166
194
|
&.mat-form-field-appearance-outline {
|
|
167
|
-
|
|
195
|
+
// why: field chip (sd-chip, sd-chip-calendar) tự đặt padding / chiều cao infix theo thang chip, xem sd-chip-row().
|
|
196
|
+
&:not(.sd-chip-calendar-field):not(.sd-chip-field) .mat-mdc-form-field-infix {
|
|
168
197
|
padding: 0 0 8px 0 !important;
|
|
169
198
|
border-top-width: 11.5px;
|
|
170
199
|
min-height: 43.5px;
|
|
@@ -221,7 +250,7 @@
|
|
|
221
250
|
|
|
222
251
|
// Size small
|
|
223
252
|
&.sd-sm {
|
|
224
|
-
--mat-form-field-container-height: 32px;
|
|
253
|
+
--mat-form-field-container-height: var(--sd-control-height-sm, 32px);
|
|
225
254
|
--mat-form-field-container-vertical-padding: 3px;
|
|
226
255
|
|
|
227
256
|
// why: Material renders the required marker beside mat-label. Keep the complete
|
|
@@ -247,9 +276,9 @@
|
|
|
247
276
|
}
|
|
248
277
|
|
|
249
278
|
&.mat-form-field-appearance-outline {
|
|
250
|
-
.mat-mdc-form-field-infix {
|
|
279
|
+
&:not(.sd-chip-calendar-field):not(.sd-chip-field) .mat-mdc-form-field-infix {
|
|
251
280
|
border-top-width: 6px;
|
|
252
|
-
min-height: 32px;
|
|
281
|
+
min-height: var(--sd-control-height-sm, 32px);
|
|
253
282
|
width: auto;
|
|
254
283
|
|
|
255
284
|
mat-select.mat-mdc-select,
|
|
@@ -299,17 +328,16 @@
|
|
|
299
328
|
}
|
|
300
329
|
}
|
|
301
330
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}
|
|
331
|
+
// why: chữ giá trị/placeholder nằm trong line box 24px của control, nên Chrome đặt glyph ở
|
|
332
|
+
// `floor((24 - cao_font) / 2)` — cao_font theo metrics của OS (Roboto: 17px trên Windows, 16px trên
|
|
333
|
+
// Linux/macOS). Label nghỉ dùng `line-height: normal` và căn tâm bằng translateY(-50%), không bị làm
|
|
334
|
+
// tròn như vậy, nên trên Windows nó thấp hơn chữ 1px (đo pixel ở DPR 1 và 1.25) còn Linux thì khớp.
|
|
335
|
+
// Cho label nghỉ cùng line-height với control: line box của label trùng line box của chữ (cùng top
|
|
336
|
+
// 5px trong khung 32px), glyph trùng nhau trên mọi OS. Chỉ trạng thái nghỉ — label đã float giữ
|
|
337
|
+
// `normal` để vị trí trên viền không đổi. (Rule `top` cũ trỏ vào class M2
|
|
338
|
+
// `.mat-mdc-form-field-label` không còn tồn tại nên chưa từng có hiệu lực.)
|
|
339
|
+
.mdc-floating-label:not(.mdc-floating-label--float-above) {
|
|
340
|
+
line-height: var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height, 24px));
|
|
313
341
|
}
|
|
314
342
|
|
|
315
343
|
// Fix for date range and datetime inputs with small size
|
|
@@ -323,6 +351,80 @@
|
|
|
323
351
|
}
|
|
324
352
|
}
|
|
325
353
|
|
|
354
|
+
// why: chữ option của sd-select / sd-autocomplete 14px, bằng chữ hiển thị trong ô. Option single của
|
|
355
|
+
// Material mặc định là body-large (16px) trong khi trigger/input là 14px.
|
|
356
|
+
//
|
|
357
|
+
// Panel control (thiết kế đợt 2 · D): bo `--sd-panel-radius` đủ bốn góc, viền mảnh, bóng shadow-md. Option
|
|
358
|
+
// giữ cao 36px, chỉ thụt ngang 4px — virtual scroll tính theo chiều cao cố định nên không thêm khoảng cách
|
|
359
|
+
// dọc. Màu option đang chọn đặt trong phạm vi panel, token global ở themes/_material-tokens.scss giữ nguyên.
|
|
360
|
+
.mat-mdc-select-panel.sd-select-panel,
|
|
361
|
+
.mat-mdc-autocomplete-panel.sd-autocomplete-panel {
|
|
362
|
+
--mat-option-label-text-size: var(--sd-font-size-14, 14px);
|
|
363
|
+
--mat-option-selected-state-label-text-color: var(--sd-primary-dark);
|
|
364
|
+
--mat-option-selected-state-layer-color: var(--sd-primary-light);
|
|
365
|
+
// why: trộn 5% chữ với transparent thay vì với surface — hover luôn đậm hơn đúng nền panel bên dưới, kể cả
|
|
366
|
+
// khi consumer đổi --sd-select-panel-bg, ở cả light lẫn dark.
|
|
367
|
+
--mat-option-hover-state-layer-color: color-mix(in srgb, var(--sd-text) 5%, transparent);
|
|
368
|
+
--mat-select-container-elevation-shadow: var(--sd-shadow-md);
|
|
369
|
+
--mat-autocomplete-container-elevation-shadow: var(--sd-shadow-md);
|
|
370
|
+
// why: Material làm phẳng góc ở phía sát trigger (v19/20 bằng rule `.cdk-overlay-pane:not(...)`, v21+
|
|
371
|
+
// bằng `border-radius: 0 0 4px 4px`) với độ ưu tiên cao hơn class panel, nên cần !important.
|
|
372
|
+
border-radius: var(--sd-panel-radius, 10px) !important;
|
|
373
|
+
// why: tách longhand — nếu theme thiếu token, chỉ màu rơi về mặc định chứ viền 1px không mất.
|
|
374
|
+
border-width: 1px;
|
|
375
|
+
border-style: solid;
|
|
376
|
+
border-color: color-mix(in srgb, var(--sd-border) 60%, var(--sd-surface));
|
|
377
|
+
// Nền panel trắng như thiết kế (góp ý review): token panel sẵn có thay cho surface-container ánh tím của
|
|
378
|
+
// Material; ô lọc và footer sticky của sd-select cũng dùng token này nên không lộ mảng lệch màu.
|
|
379
|
+
background-color: var(--sd-select-panel-bg, var(--sd-surface));
|
|
380
|
+
// 4px trên/dưới để option đầu và cuối không sát mép panel; option chỉ thụt ngang.
|
|
381
|
+
padding-top: 4px;
|
|
382
|
+
padding-bottom: 4px;
|
|
383
|
+
|
|
384
|
+
.mat-mdc-option {
|
|
385
|
+
margin: 0 4px;
|
|
386
|
+
border-radius: var(--sd-radius-6, 6px);
|
|
387
|
+
// why: thiết kế có khe 2px giữa hai option. Virtual scroll tính theo chiều cao cố định nên không thêm
|
|
388
|
+
// margin dọc: viền trong suốt 1px trên/dưới nằm TRONG 36px và nền (hover, đang chọn) chỉ tô tới padding.
|
|
389
|
+
border-top: 1px solid transparent;
|
|
390
|
+
border-bottom: 1px solid transparent;
|
|
391
|
+
background-clip: padding-box;
|
|
392
|
+
|
|
393
|
+
// why: forced colors vẽ cả viền trong suốt bằng màu hệ thống, thành vạch trên/dưới mỗi option. Màu hệ thống do
|
|
394
|
+
// tác giả đặt thì được giữ: viền lấy Canvas (nền panel lúc đó) nên khe vẫn vô hình, option vẫn cao 36px.
|
|
395
|
+
@media (forced-colors: active) {
|
|
396
|
+
border-top-color: Canvas;
|
|
397
|
+
border-bottom-color: Canvas;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
&.mdc-list-item--selected .mdc-list-item__primary-text {
|
|
401
|
+
font-weight: var(--sd-font-weight-medium, 500);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
// Autocomplete không có selection model: option khớp giá trị đang có mang class này để mở lại vẫn thấy
|
|
405
|
+
// giá trị đã chọn, cùng màu với option đang chọn của sd-select.
|
|
406
|
+
&.sd-option--selected:not(.mdc-list-item--disabled) {
|
|
407
|
+
background-color: var(--mat-option-selected-state-layer-color);
|
|
408
|
+
|
|
409
|
+
.mdc-list-item__primary-text {
|
|
410
|
+
color: var(--mat-option-selected-state-label-text-color);
|
|
411
|
+
font-weight: var(--sd-font-weight-medium, 500);
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
// Panel cách control 6px như thiết kế. Material đặt class `-panel-above` lên overlay pane khi panel lật lên
|
|
418
|
+
// trên (v19–v22), nên khoảng hở luôn nằm ở phía sát control.
|
|
419
|
+
.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mat-mdc-select-panel.sd-select-panel,
|
|
420
|
+
.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mat-mdc-autocomplete-panel.sd-autocomplete-panel {
|
|
421
|
+
margin-top: 6px;
|
|
422
|
+
}
|
|
423
|
+
.mat-mdc-select-panel-above .mat-mdc-select-panel.sd-select-panel,
|
|
424
|
+
.mat-mdc-autocomplete-panel-above .mat-mdc-autocomplete-panel.sd-autocomplete-panel {
|
|
425
|
+
margin-bottom: 6px;
|
|
426
|
+
}
|
|
427
|
+
|
|
326
428
|
// Override reboot rule `label { margin-bottom: 0.5rem }` cho mat-checkbox layout
|
|
327
429
|
mat-checkbox {
|
|
328
430
|
label.mat-mdc-checkbox-layout {
|
|
@@ -330,6 +432,15 @@ mat-checkbox {
|
|
|
330
432
|
}
|
|
331
433
|
}
|
|
332
434
|
|
|
435
|
+
// Bo góc checkbox (thiết kế đợt 2 · E): Material cố định 2px và không có token. sd-checkbox bo theo cỡ
|
|
436
|
+
// (3/4/5px); mat-checkbox dùng trực tiếp (cột chọn của sd-table…) và pseudo-checkbox của select nhiều lựa
|
|
437
|
+
// chọn (cả hàng "Tất cả", vốn không phải mat-option) lấy cỡ md. Hai class để thắng `.mat-pseudo-checkbox`
|
|
438
|
+
// 2px của Material. Màu viền chưa chọn nằm ở themes/_material-tokens.scss.
|
|
439
|
+
.mat-mdc-checkbox .mdc-checkbox__background,
|
|
440
|
+
.mat-pseudo-checkbox.mat-pseudo-checkbox-full {
|
|
441
|
+
border-radius: var(--sd-radius-4, 4px);
|
|
442
|
+
}
|
|
443
|
+
|
|
333
444
|
// why: selector radio của <sd-table> (.c-selection, single mode) hiện một dấu chấm tối thừa
|
|
334
445
|
// nằm cạnh vòng radio. Nguồn gốc THẬT là state-layer padding của Material trên `.mdc-radio`
|
|
335
446
|
// (`padding: calc((var(--mdc-radio-state-layer-size) - 20px) / 2)`): trong cột selector, .c-selection
|
|
@@ -372,3 +483,291 @@ mat-checkbox {
|
|
|
372
483
|
font-size: var(--sd-font-size-12, 12px);
|
|
373
484
|
line-height: var(--sd-line-height-16, 16px);
|
|
374
485
|
}
|
|
486
|
+
|
|
487
|
+
// --------------------------------------------------------------------------
|
|
488
|
+
// Field chip — sd-chip và sd-chip-calendar dùng chung thang và dáng chip (handoff design-icon-chip-table · C1 C2 C3).
|
|
489
|
+
// why: mixin được include ở đây, không trong SCSS của component: style của component muốn chạm vào phần trong của
|
|
490
|
+
// mat-chip-row (ô primary / trailing, nút ✕ của Material) thì phải dùng ::ng-deep, còn `@use` file này từ component sẽ
|
|
491
|
+
// chép lại toàn bộ CSS global. Logic aria và khoá vẫn nằm trong từng component.
|
|
492
|
+
// --------------------------------------------------------------------------
|
|
493
|
+
|
|
494
|
+
// Material 19 đọc `--mdc-chip-*` / `--mdc-outlined-text-field-*`, Material 20+ đọc `--mat-chip-*` /
|
|
495
|
+
// `--mat-form-field-outlined-*`; gán cả hai.
|
|
496
|
+
@mixin chip-token($name, $value) {
|
|
497
|
+
--mdc-chip-#{$name}: #{$value};
|
|
498
|
+
--mat-chip-#{$name}: #{$value};
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
@mixin outline-token($name, $value) {
|
|
502
|
+
--mdc-outlined-text-field-#{$name}: #{$value};
|
|
503
|
+
--mat-form-field-outlined-#{$name}: #{$value};
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
// Thang theo cỡ: field một dòng = --sd-control-height-*; chip 20 / 24 / 28 nằm giữa (padding block = (field − chip) / 2;
|
|
507
|
+
// viền outline vẽ chồng lên nên không trừ 2px như công thức của handoff); nút suffix vuông 24 / 28 / 32.
|
|
508
|
+
//
|
|
509
|
+
// $block: khối BEM của class trong template — `__chip`, `__chip--locked`, `__chip--duplicate`, `__chip-text`, `__lock`,
|
|
510
|
+
// `__more`, `__suffix`; trên field: `<block>-field--folded` khi chip đang gộp vào “+N”, `<block>-field--open` khi popup
|
|
511
|
+
// của field đang mở. $locked-bg / $more-hover-bg /
|
|
512
|
+
// $duplicate-bg: token màu của component. $fill-input: ô nhập chỉ lấp phần còn lại của dòng và co về 0 (ô readonly chỉ để
|
|
513
|
+
// mở popup); không thì giữ vùng gõ tối thiểu 80px rồi xuống dòng.
|
|
514
|
+
@mixin sd-chip-row($block, $locked-bg, $more-hover-bg, $duplicate-bg: null, $fill-input: false) {
|
|
515
|
+
--sd-chip-row-field-height: var(--sd-control-height-md, 40px);
|
|
516
|
+
--sd-chip-row-height: 24px;
|
|
517
|
+
--sd-chip-row-font-size: var(--sd-font-size-13, 13px);
|
|
518
|
+
--sd-chip-row-padding: 8px;
|
|
519
|
+
--sd-chip-row-suffix-size: 28px;
|
|
520
|
+
--mat-form-field-container-height: var(--sd-chip-row-field-height);
|
|
521
|
+
|
|
522
|
+
&.sd-sm {
|
|
523
|
+
--sd-chip-row-field-height: var(--sd-control-height-sm, 32px);
|
|
524
|
+
--sd-chip-row-height: 20px;
|
|
525
|
+
--sd-chip-row-font-size: var(--sd-font-size-12, 12px);
|
|
526
|
+
--sd-chip-row-suffix-size: 24px;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
&.sd-lg {
|
|
530
|
+
--sd-chip-row-field-height: var(--sd-control-height-lg, 48px);
|
|
531
|
+
--sd-chip-row-height: 28px;
|
|
532
|
+
--sd-chip-row-font-size: var(--sd-font-size-14, 14px);
|
|
533
|
+
--sd-chip-row-padding: 10px;
|
|
534
|
+
--sd-chip-row-suffix-size: 32px;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix {
|
|
538
|
+
min-height: var(--sd-chip-row-field-height);
|
|
539
|
+
padding-top: calc((var(--sd-chip-row-field-height) - var(--sd-chip-row-height)) / 2);
|
|
540
|
+
padding-bottom: calc((var(--sd-chip-row-field-height) - var(--sd-chip-row-height)) / 2);
|
|
541
|
+
border-top-width: 0;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
// Chip wrap nhiều dòng, cách nhau 4px cả hai chiều (Material dùng margin âm và margin 4px 0 4px 8px).
|
|
545
|
+
.mdc-evolution-chip-set__chips {
|
|
546
|
+
gap: 4px;
|
|
547
|
+
margin: 0;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.mat-mdc-chip-set .mdc-evolution-chip {
|
|
551
|
+
margin: 0;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
// why: rule chung cho input trong infix (margin-top 10px, 0,4,1) phải thua ở đây; ô nhập cao bằng chip để nằm trên
|
|
555
|
+
// cùng dòng. Khe 4px đã có từ `gap`.
|
|
556
|
+
// why: Material cho ô nhập `flex: 1 0 150px` nên nó rớt xuống dòng mới dù chip còn vừa một dòng.
|
|
557
|
+
.mat-mdc-form-field-infix input.mat-mdc-chip-input.mat-mdc-input-element {
|
|
558
|
+
@if $fill-input {
|
|
559
|
+
flex: 1 1 0;
|
|
560
|
+
min-width: 0;
|
|
561
|
+
} @else {
|
|
562
|
+
// Vùng gõ tối thiểu 80px (khoảng 10 ký tự) trước khi xuống dòng.
|
|
563
|
+
flex: 1 0 80px;
|
|
564
|
+
min-width: 80px;
|
|
565
|
+
}
|
|
566
|
+
height: var(--sd-chip-row-height);
|
|
567
|
+
margin: 0;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
@if not $fill-input {
|
|
571
|
+
// why: khi chip đang gộp vào “+N” (field không focus) thì không ai gõ; ô nhập chỉ lấp phần còn lại của dòng để ô bảng
|
|
572
|
+
// không cao lên (B7). Focus vào là mọi chip hiện lại và vùng gõ về 80px.
|
|
573
|
+
&.#{$block}-field--folded .mat-mdc-form-field-infix input.mat-mdc-chip-input.mat-mdc-input-element {
|
|
574
|
+
flex: 1 1 0;
|
|
575
|
+
min-width: 0;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
// Chip: bo 6px, viền --sd-border, nền surface, chữ 400 tabular-nums một dòng; khe chữ–icon 2px, đệm cuối 3px.
|
|
580
|
+
.#{$block}__chip.mat-mdc-chip-row {
|
|
581
|
+
@include chip-token(container-height, var(--sd-chip-row-height));
|
|
582
|
+
@include chip-token(container-shape-radius, var(--sd-radius-6, 6px));
|
|
583
|
+
@include chip-token(outline-width, 1px);
|
|
584
|
+
@include chip-token(outline-color, var(--sd-border));
|
|
585
|
+
@include chip-token(elevated-container-color, var(--sd-surface));
|
|
586
|
+
@include chip-token(label-text-color, var(--sd-text));
|
|
587
|
+
@include chip-token(label-text-size, var(--sd-chip-row-font-size));
|
|
588
|
+
@include chip-token(label-text-weight, var(--sd-font-weight-regular, 400));
|
|
589
|
+
@include chip-token(with-trailing-icon-trailing-icon-color, var(--sd-text-secondary));
|
|
590
|
+
// why: lớp hover / focus của Material là `::after` có hộp không vuông với `border-radius: 50%`, thành hình bầu dục
|
|
591
|
+
// chồng lên nền tròn của nút ✕. Chỉ làm trong suốt màu của nó: `::after` vẫn là vùng bấm 24×24 khi pointer: coarse.
|
|
592
|
+
@include chip-token(trailing-action-state-layer-color, transparent);
|
|
593
|
+
@include chip-token(selected-trailing-action-state-layer-color, transparent);
|
|
594
|
+
|
|
595
|
+
.mdc-evolution-chip__action--primary {
|
|
596
|
+
padding-left: var(--sd-chip-row-padding);
|
|
597
|
+
padding-right: 2px;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.mdc-evolution-chip__action--trailing {
|
|
601
|
+
padding-left: 0;
|
|
602
|
+
padding-right: 3px;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
// why: Material ép icon trailing của chip thành 18px (`.mat-mdc-chip-remove .mat-icon`) bất kể `--sd-icon-size`, nên ✕
|
|
606
|
+
// to hơn icon khoá. Trả cỡ về `--sd-icon-size` mà sd-icon đặt trên chính host của nút.
|
|
607
|
+
.mat-mdc-chip-remove,
|
|
608
|
+
.mat-mdc-chip-remove .mat-icon {
|
|
609
|
+
width: var(--sd-icon-size);
|
|
610
|
+
height: var(--sd-icon-size);
|
|
611
|
+
font-size: var(--sd-icon-size);
|
|
612
|
+
line-height: var(--sd-icon-size);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
// Nút ✕: nền hover tròn, rộng hơn icon 2px mỗi bên.
|
|
616
|
+
// why: nút ✕ chính là phần tử trailing action của Material, nên `padding: 2px` đè mất đệm cuối 3px ở rule trên —
|
|
617
|
+
// đặt lại bằng margin để vòng hover cách mép chip 3px.
|
|
618
|
+
.mat-mdc-chip-remove {
|
|
619
|
+
position: relative;
|
|
620
|
+
box-sizing: content-box;
|
|
621
|
+
margin-right: 3px;
|
|
622
|
+
padding: 2px;
|
|
623
|
+
border-radius: 50%;
|
|
624
|
+
color: var(--sd-text-secondary);
|
|
625
|
+
opacity: 1;
|
|
626
|
+
|
|
627
|
+
&:hover {
|
|
628
|
+
background-color: var(--sd-surface-muted);
|
|
629
|
+
color: var(--sd-text);
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.#{$block}__chip-text {
|
|
635
|
+
font-variant-numeric: tabular-nums;
|
|
636
|
+
white-space: nowrap;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
// Chip không bỏ được: nền nhạt hơn, icon khoá thay cho ✕ (tooltip nói lý do).
|
|
640
|
+
.#{$block}__chip--locked.mat-mdc-chip-row {
|
|
641
|
+
@include chip-token(elevated-container-color, $locked-bg);
|
|
642
|
+
|
|
643
|
+
// why: khoá nằm trong nhãn (chip khoá không có ô trailing), nên nhãn xếp flex để khoá canh giữa theo chiều cao chip
|
|
644
|
+
// thay vì theo baseline của chữ.
|
|
645
|
+
.mdc-evolution-chip__text-label {
|
|
646
|
+
display: inline-flex;
|
|
647
|
+
align-items: center;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
// Đệm cuối 3px như chip có nút ✕.
|
|
651
|
+
.mdc-evolution-chip__action--primary {
|
|
652
|
+
padding-right: 3px;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
// Khoá chiếm đúng chỗ của nút ✕ trên chip bỏ được: cùng hộp đệm 2px, cùng khoảng cách tới chữ và tới mép phải chip.
|
|
657
|
+
.#{$block}__lock {
|
|
658
|
+
box-sizing: content-box;
|
|
659
|
+
margin-left: 2px;
|
|
660
|
+
padding: 2px;
|
|
661
|
+
color: var(--sd-text-muted);
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
// Giá trị trùng: chip đã có sáng nền và viền warning (component bỏ class sau 1,4 giây).
|
|
665
|
+
@if $duplicate-bg {
|
|
666
|
+
.#{$block}__chip--duplicate.mat-mdc-chip-row {
|
|
667
|
+
@include chip-token(elevated-container-color, $duplicate-bg);
|
|
668
|
+
@include chip-token(outline-color, var(--sd-warning));
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
// “+N”: nút cao bằng chip, không viền, nền surface-muted, chữ phụ 500.
|
|
673
|
+
.#{$block}__more {
|
|
674
|
+
display: inline-flex;
|
|
675
|
+
align-items: center;
|
|
676
|
+
box-sizing: border-box;
|
|
677
|
+
height: var(--sd-chip-row-height);
|
|
678
|
+
padding: 0 8px;
|
|
679
|
+
border: 0;
|
|
680
|
+
border-radius: var(--sd-radius-6, 6px);
|
|
681
|
+
background-color: var(--sd-surface-muted);
|
|
682
|
+
color: var(--sd-text-secondary);
|
|
683
|
+
font: inherit;
|
|
684
|
+
font-size: var(--sd-chip-row-font-size);
|
|
685
|
+
font-weight: var(--sd-font-weight-medium, 500);
|
|
686
|
+
cursor: pointer;
|
|
687
|
+
|
|
688
|
+
&:hover {
|
|
689
|
+
background-color: $more-hover-bg;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
&:focus-visible {
|
|
693
|
+
outline: var(--sd-focus-ring-width, 2px) solid var(--sd-focus-ring-color);
|
|
694
|
+
outline-offset: 1px;
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
// Nút suffix vuông theo cỡ (nút bỏ hết).
|
|
699
|
+
.#{$block}__suffix.sd-clear-btn {
|
|
700
|
+
width: var(--sd-chip-row-suffix-size);
|
|
701
|
+
height: var(--sd-chip-row-suffix-size);
|
|
702
|
+
|
|
703
|
+
// why: `.sd-clear-btn sd-icon` ở trên ép icon 16px (0,2,1) đè cỡ mà sd-icon đặt bằng `--sd-icon-size`, nên icon 18 / 20px
|
|
704
|
+
// của md / lg chưa từng hiện.
|
|
705
|
+
sd-icon {
|
|
706
|
+
width: var(--sd-icon-size);
|
|
707
|
+
height: var(--sd-icon-size);
|
|
708
|
+
font-size: var(--sd-icon-size);
|
|
709
|
+
line-height: var(--sd-icon-size);
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
// Popup mở: field ở trạng thái focus (viền primary, vòng control, label primary) dù focus đang trong popup.
|
|
714
|
+
&.#{$block}-field--open {
|
|
715
|
+
@include outline-token(outline-color, var(--sd-primary));
|
|
716
|
+
@include outline-token(hover-outline-color, var(--sd-primary));
|
|
717
|
+
@include outline-token(label-text-color, var(--sd-primary));
|
|
718
|
+
@include outline-token(hover-label-text-color, var(--sd-primary));
|
|
719
|
+
|
|
720
|
+
.mat-mdc-text-field-wrapper {
|
|
721
|
+
box-shadow: var(--sd-control-ring, none);
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
// why: vùng bấm tối thiểu 24×24 khi pointer: coarse mà không đổi kích thước chip.
|
|
726
|
+
@media (pointer: coarse) {
|
|
727
|
+
.mat-mdc-chip-remove::after {
|
|
728
|
+
content: '';
|
|
729
|
+
position: absolute;
|
|
730
|
+
inset: 50% auto auto 50%;
|
|
731
|
+
width: 24px;
|
|
732
|
+
height: 24px;
|
|
733
|
+
transform: translate(-50%, -50%);
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
// why: hiệu ứng chuyển màu chỉ chạy khi người dùng không yêu cầu giảm chuyển động; khi giảm thì màu đổi tức thì.
|
|
738
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
739
|
+
.#{$block}__chip.mat-mdc-chip-row,
|
|
740
|
+
.#{$block}__more,
|
|
741
|
+
.mat-mdc-chip-remove {
|
|
742
|
+
transition: background-color var(--sd-duration-fast, 120ms) ease;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.mat-mdc-form-field.sd-chip-field {
|
|
748
|
+
@include sd-chip-row('sd-chip', var(--sd-chip-locked-bg), var(--sd-chip-more-hover-bg), $duplicate-bg: var(--sd-chip-duplicate-bg));
|
|
749
|
+
|
|
750
|
+
// why: Material để các ô của chip `min-width: auto`, nên chữ dài (tới 240px) giữ nguyên bề rộng khi field hẹp hơn chip:
|
|
751
|
+
// chip co theo `max-width: 100%` còn ✕ (hoặc khoá) bị đẩy ra ngoài viền. Cho các ô co tới 0 để chữ cắt "…" trong nhãn;
|
|
752
|
+
// khoá nằm trong nhãn nên không được co theo chữ. Chỉ sd-chip có chữ tự do dài; chip ngày của sd-chip-calendar thì không.
|
|
753
|
+
.sd-chip__chip.mat-mdc-chip-row {
|
|
754
|
+
.mdc-evolution-chip__cell--primary,
|
|
755
|
+
.mdc-evolution-chip__action--primary,
|
|
756
|
+
.mdc-evolution-chip__text-label {
|
|
757
|
+
min-width: 0;
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
.sd-chip__lock {
|
|
762
|
+
flex-shrink: 0;
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
.mat-mdc-form-field.sd-chip-calendar-field {
|
|
767
|
+
@include sd-chip-row(
|
|
768
|
+
'sd-chip-calendar',
|
|
769
|
+
var(--sd-chip-calendar-chip-locked-bg),
|
|
770
|
+
var(--sd-chip-calendar-more-hover-bg),
|
|
771
|
+
$fill-input: true
|
|
772
|
+
);
|
|
773
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Read-only label/value pair — <sd-view>, every form control in `viewed` mode and the label of
|
|
2
|
+
// <sd-section-item>. Public classes, so a custom detail layout reads the same as the library:
|
|
3
|
+
//
|
|
4
|
+
// <div class="sd-view-label">Mã hợp đồng</div>
|
|
5
|
+
// <div class="sd-view-value">HD-001</div>
|
|
6
|
+
//
|
|
7
|
+
// why: label and value used to differ only by weight (#44474f regular vs #1a1b1f medium), so a detail
|
|
8
|
+
// screen read as one block of dark text. The label now takes --sd-view-label-color (the text colour
|
|
9
|
+
// mixed 70% into the surface) and the value --sd-view-value-color (the text colour). Both are component
|
|
10
|
+
// tokens of sd.theme(); override them on any scope to restyle every read-only field below it.
|
|
11
|
+
|
|
12
|
+
.sd-view-label {
|
|
13
|
+
color: var(--sd-view-label-color, var(--sd-text-secondary, #44474f));
|
|
14
|
+
font-size: var(--sd-font-size-14, 14px);
|
|
15
|
+
font-weight: var(--sd-font-weight-regular, 400);
|
|
16
|
+
line-height: var(--sd-line-height-20, 20px);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.sd-view-value {
|
|
20
|
+
color: var(--sd-view-value-color, var(--sd-text, #1a1b1f));
|
|
21
|
+
font-size: var(--sd-font-size-14, 14px);
|
|
22
|
+
font-weight: var(--sd-font-weight-medium, 500);
|
|
23
|
+
line-height: var(--sd-line-height-20, 20px);
|
|
24
|
+
}
|