@sd-angular/core 19.0.13 → 19.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +712 -712
- package/assets/STYLE-GUIDE.md +601 -601
- package/assets/images/coming-soon.svg +22 -22
- package/assets/images/data-empty.svg +20 -20
- package/assets/images/expired.svg +21 -21
- package/assets/images/file-error.svg +27 -27
- package/assets/images/filter-empty.svg +19 -19
- package/assets/images/filter-required.svg +20 -20
- package/assets/images/forbidden.svg +14 -14
- package/assets/images/image-error.svg +26 -26
- package/assets/images/maintenance.svg +22 -22
- package/assets/images/not-found.svg +19 -19
- package/assets/images/offline.svg +19 -19
- package/assets/images/submitted.svg +17 -17
- package/assets/images/success.svg +17 -17
- package/assets/images/unauthorized.svg +21 -21
- package/assets/images/unknown-error.svg +17 -17
- package/assets/scss/ckeditor5.scss +88 -88
- package/assets/scss/core/_inline-edit.scss +105 -105
- package/assets/scss/core/color.scss +73 -73
- package/assets/scss/core/form.scss +317 -317
- package/assets/scss/core/image.scss +35 -35
- package/assets/scss/core/utilities/_base.scss +333 -333
- package/assets/scss/core/utilities/_border.scss +22 -22
- package/assets/scss/core/utilities/_display.scss +10 -10
- package/assets/scss/core/utilities/_elevation.scss +80 -80
- package/assets/scss/core/utilities/_flexbox.scss +54 -54
- package/assets/scss/core/utilities/_gap.scss +9 -9
- package/assets/scss/core/utilities/_index.scss +17 -17
- package/assets/scss/core/utilities/_misc.scss +20 -20
- package/assets/scss/core/utilities/_overflow.scss +9 -9
- package/assets/scss/core/utilities/_position.scss +8 -8
- package/assets/scss/core/utilities/_sizing.scss +28 -28
- package/assets/scss/core/utilities/_spacing.scss +31 -31
- package/assets/scss/core/utilities/_typography.scss +99 -99
- package/assets/scss/sd-core.scss +16 -16
- package/assets/scss/themes/default.scss +45 -45
- package/assets/scss/themes/material-theme.scss +101 -101
- package/components/preview/src/preview-pdf/pdf-worker-inline.generated.d.ts +7 -0
- package/components/table/src/services/table-export/table-export.service.d.ts +3 -1
- package/components/table/src/table.component.d.ts +1 -1
- package/fesm2022/sd-angular-core-components-anchor.mjs +6 -6
- package/fesm2022/sd-angular-core-components-anchor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-autoid-inspector.mjs +2 -2
- package/fesm2022/sd-angular-core-components-autoid-inspector.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-badge.mjs +2 -2
- package/fesm2022/sd-angular-core-components-badge.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-base.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-button.mjs +2 -2
- package/fesm2022/sd-angular-core-components-button.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-chart.mjs +40 -40
- package/fesm2022/sd-angular-core-components-chart.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-ckeditor-styles.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-code-editor.mjs +2 -2
- package/fesm2022/sd-angular-core-components-code-editor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-document-builder.mjs +77 -77
- package/fesm2022/sd-angular-core-components-document-builder.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-editor.mjs +2 -2
- package/fesm2022/sd-angular-core-components-editor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-form-generic.mjs +106 -106
- package/fesm2022/sd-angular-core-components-form-generic.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-history.mjs +2 -2
- package/fesm2022/sd-angular-core-components-history.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-import-excel.mjs +2 -2
- package/fesm2022/sd-angular-core-components-import-excel.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-inform.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-mini-editor.mjs +2 -2
- package/fesm2022/sd-angular-core-components-mini-editor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-modal-resizable.mjs +2 -2
- package/fesm2022/sd-angular-core-components-modal-resizable.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-modal.mjs +2 -2
- package/fesm2022/sd-angular-core-components-modal.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-operator.mjs +2 -2
- package/fesm2022/sd-angular-core-components-operator.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-org-chart.mjs +2 -2
- package/fesm2022/sd-angular-core-components-org-chart.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-preview.mjs +32 -6
- package/fesm2022/sd-angular-core-components-preview.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-query-bar.mjs +10 -10
- package/fesm2022/sd-angular-core-components-query-bar.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-query-builder.mjs +2 -2
- package/fesm2022/sd-angular-core-components-query-builder.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-section.mjs +4 -4
- package/fesm2022/sd-angular-core-components-section.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-side-drawer.mjs +2 -2
- package/fesm2022/sd-angular-core-components-side-drawer.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-stepper.mjs +2 -2
- package/fesm2022/sd-angular-core-components-stepper.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-tab-router.mjs +6 -6
- package/fesm2022/sd-angular-core-components-tab-router.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-tab.mjs +2 -2
- package/fesm2022/sd-angular-core-components-tab.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-table.mjs +32 -17
- package/fesm2022/sd-angular-core-components-table.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-upload-file.mjs +4 -4
- package/fesm2022/sd-angular-core-components-upload-file.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-view.mjs +2 -2
- package/fesm2022/sd-angular-core-components-view.mjs.map +1 -1
- package/fesm2022/sd-angular-core-configurations.mjs.map +1 -1
- package/fesm2022/sd-angular-core-directives.mjs +20 -20
- package/fesm2022/sd-angular-core-directives.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-checkbox.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-chip-calendar.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-chip-calendar.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-chip.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-chip.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date-range.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-date-range.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date.mjs +114 -35
- package/fesm2022/sd-angular-core-forms-date.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-datetime.mjs +6 -6
- package/fesm2022/sd-angular-core-forms-datetime.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-directives.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-inline-text.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-inline-text.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input-color.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-input-color.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input-number.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-input.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-label.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-label.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-models.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-radio.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-radio.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-select.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-select.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-switch.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-switch.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-textarea.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-textarea.mjs.map +1 -1
- package/fesm2022/sd-angular-core-handlers.mjs.map +1 -1
- package/fesm2022/sd-angular-core-i18n.mjs +20 -0
- package/fesm2022/sd-angular-core-i18n.mjs.map +1 -1
- package/fesm2022/sd-angular-core-interceptors.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-auth.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-authom.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-keycloak.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-layout.mjs +130 -43
- package/fesm2022/sd-angular-core-modules-layout.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-permission.mjs.map +1 -1
- package/fesm2022/sd-angular-core-pipes.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-api.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-cache.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-confirm.mjs +2 -2
- package/fesm2022/sd-angular-core-services-confirm.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-docx.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-excel.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-license.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-loading.mjs +5 -5
- package/fesm2022/sd-angular-core-services-loading.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-notify.mjs +12 -12
- package/fesm2022/sd-angular-core-services-notify.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-storage.mjs.map +1 -1
- package/fesm2022/sd-angular-core-utilities-data-state.mjs.map +1 -1
- package/fesm2022/sd-angular-core-utilities-extensions.mjs.map +1 -1
- package/forms/date/src/date.component.d.ts +9 -1
- package/i18n/src/en.d.ts +4 -0
- package/modules/layout/index.d.ts +1 -0
- package/modules/layout/utils/index.d.ts +1 -0
- package/modules/layout/utils/tab-name.util.d.ts +8 -0
- package/package.json +73 -73
- package/sd-angular-core-19.0.13.tgz +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
-
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
3
|
-
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
<circle cx="96" cy="96" r="44" fill="#E4E4E7" stroke="#52525B" stroke-width="2"></circle>
|
|
7
|
-
<circle cx="96" cy="96" r="32" fill="#FFFFFF" stroke="#52525B" stroke-width="1.5" stroke-opacity="0.45"></circle>
|
|
8
|
-
|
|
9
|
-
<path d="M80 96 L92 108 L114 84" fill="none" stroke="#52525B" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
10
|
-
|
|
11
|
-
<circle cx="44" cy="50" r="3" fill="#71717A"></circle>
|
|
12
|
-
<rect x="148" y="44" width="6" height="6" rx="1.5" transform="rotate(20 151 47)" fill="#D4D4D8"></rect>
|
|
13
|
-
<circle cx="36" cy="118" r="2.5" fill="#D4D4D8"></circle>
|
|
14
|
-
<rect x="158" y="116" width="5" height="5" rx="1" transform="rotate(35 161 119)" fill="#71717A"></rect>
|
|
15
|
-
<path d="M50 84 l0 -6 M47 81 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
16
|
-
<path d="M150 90 l0 -5 M147.5 87.5 l5 0" stroke="#71717A" stroke-width="1.8" stroke-linecap="round"></path>
|
|
17
|
-
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
3
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<circle cx="96" cy="96" r="44" fill="#E4E4E7" stroke="#52525B" stroke-width="2"></circle>
|
|
7
|
+
<circle cx="96" cy="96" r="32" fill="#FFFFFF" stroke="#52525B" stroke-width="1.5" stroke-opacity="0.45"></circle>
|
|
8
|
+
|
|
9
|
+
<path d="M80 96 L92 108 L114 84" fill="none" stroke="#52525B" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
10
|
+
|
|
11
|
+
<circle cx="44" cy="50" r="3" fill="#71717A"></circle>
|
|
12
|
+
<rect x="148" y="44" width="6" height="6" rx="1.5" transform="rotate(20 151 47)" fill="#D4D4D8"></rect>
|
|
13
|
+
<circle cx="36" cy="118" r="2.5" fill="#D4D4D8"></circle>
|
|
14
|
+
<rect x="158" y="116" width="5" height="5" rx="1" transform="rotate(35 161 119)" fill="#71717A"></rect>
|
|
15
|
+
<path d="M50 84 l0 -6 M47 81 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
16
|
+
<path d="M150 90 l0 -5 M147.5 87.5 l5 0" stroke="#71717A" stroke-width="1.8" stroke-linecap="round"></path>
|
|
17
|
+
|
|
18
18
|
</svg>
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
-
|
|
3
|
-
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
4
|
-
|
|
5
|
-
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
6
|
-
|
|
7
|
-
<path d="M70 84 V64 a26 26 0 0 1 52 0 V84" fill="none" stroke="#52525B" stroke-width="6" stroke-linecap="round"></path>
|
|
8
|
-
<rect x="52" y="82" width="64" height="58" rx="8" fill="#E4E4E7" stroke="#52525B" stroke-width="2"></rect>
|
|
9
|
-
<circle cx="84" cy="106" r="6" fill="#52525B"></circle>
|
|
10
|
-
<path d="M84 108 L82 122 H86 Z" fill="#52525B"></path>
|
|
11
|
-
<g transform="translate(124 102) rotate(28)">
|
|
12
|
-
<circle cx="0" cy="0" r="10" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></circle>
|
|
13
|
-
<circle cx="0" cy="0" r="4" fill="#E4E4E7" stroke="#52525B" stroke-width="1.5"></circle>
|
|
14
|
-
<rect x="8" y="-3" width="28" height="6" rx="1" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></rect>
|
|
15
|
-
<rect x="26" y="3" width="4" height="6" fill="#52525B"></rect>
|
|
16
|
-
<rect x="32" y="3" width="4" height="6" fill="#52525B"></rect>
|
|
17
|
-
</g>
|
|
18
|
-
<circle cx="44" cy="50" r="2.5" fill="#71717A"></circle>
|
|
19
|
-
<circle cx="38" cy="118" r="2.2" fill="#D4D4D8"></circle>
|
|
20
|
-
<path d="M156 56 l0 -6 M153 53 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
21
|
-
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
|
|
3
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
4
|
+
|
|
5
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
6
|
+
|
|
7
|
+
<path d="M70 84 V64 a26 26 0 0 1 52 0 V84" fill="none" stroke="#52525B" stroke-width="6" stroke-linecap="round"></path>
|
|
8
|
+
<rect x="52" y="82" width="64" height="58" rx="8" fill="#E4E4E7" stroke="#52525B" stroke-width="2"></rect>
|
|
9
|
+
<circle cx="84" cy="106" r="6" fill="#52525B"></circle>
|
|
10
|
+
<path d="M84 108 L82 122 H86 Z" fill="#52525B"></path>
|
|
11
|
+
<g transform="translate(124 102) rotate(28)">
|
|
12
|
+
<circle cx="0" cy="0" r="10" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></circle>
|
|
13
|
+
<circle cx="0" cy="0" r="4" fill="#E4E4E7" stroke="#52525B" stroke-width="1.5"></circle>
|
|
14
|
+
<rect x="8" y="-3" width="28" height="6" rx="1" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></rect>
|
|
15
|
+
<rect x="26" y="3" width="4" height="6" fill="#52525B"></rect>
|
|
16
|
+
<rect x="32" y="3" width="4" height="6" fill="#52525B"></rect>
|
|
17
|
+
</g>
|
|
18
|
+
<circle cx="44" cy="50" r="2.5" fill="#71717A"></circle>
|
|
19
|
+
<circle cx="38" cy="118" r="2.2" fill="#D4D4D8"></circle>
|
|
20
|
+
<path d="M156 56 l0 -6 M153 53 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
21
|
+
|
|
22
22
|
</svg>
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
-
|
|
3
|
-
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
4
|
-
|
|
5
|
-
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
6
|
-
|
|
7
|
-
<path d="M96 44 L150 134 a6 6 0 0 1 -5 9 H51 a6 6 0 0 1 -5 -9 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
8
|
-
<path d="M96 60 L138 130 H54 Z" fill="#FFFFFF" fill-opacity="0.55"></path>
|
|
9
|
-
<path d="M96 80 L96 112" stroke="#52525B" stroke-width="6" stroke-linecap="round"></path>
|
|
10
|
-
<circle cx="96" cy="124" r="4" fill="#52525B"></circle>
|
|
11
|
-
<path d="M30 76 l8 4 l-4 8" stroke="#71717A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>
|
|
12
|
-
<path d="M162 90 l-8 4 l4 8" stroke="#71717A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>
|
|
13
|
-
<path d="M52 46 l0 -8 M48 42 l8 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
14
|
-
<circle cx="146" cy="46" r="2.8" fill="#71717A"></circle>
|
|
15
|
-
<circle cx="40" cy="128" r="2.2" fill="#D4D4D8"></circle>
|
|
16
|
-
<circle cx="158" cy="130" r="2.5" fill="#71717A"></circle>
|
|
17
|
-
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
|
|
3
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
4
|
+
|
|
5
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
6
|
+
|
|
7
|
+
<path d="M96 44 L150 134 a6 6 0 0 1 -5 9 H51 a6 6 0 0 1 -5 -9 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
8
|
+
<path d="M96 60 L138 130 H54 Z" fill="#FFFFFF" fill-opacity="0.55"></path>
|
|
9
|
+
<path d="M96 80 L96 112" stroke="#52525B" stroke-width="6" stroke-linecap="round"></path>
|
|
10
|
+
<circle cx="96" cy="124" r="4" fill="#52525B"></circle>
|
|
11
|
+
<path d="M30 76 l8 4 l-4 8" stroke="#71717A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>
|
|
12
|
+
<path d="M162 90 l-8 4 l4 8" stroke="#71717A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>
|
|
13
|
+
<path d="M52 46 l0 -8 M48 42 l8 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
14
|
+
<circle cx="146" cy="46" r="2.8" fill="#71717A"></circle>
|
|
15
|
+
<circle cx="40" cy="128" r="2.2" fill="#D4D4D8"></circle>
|
|
16
|
+
<circle cx="158" cy="130" r="2.5" fill="#71717A"></circle>
|
|
17
|
+
|
|
18
18
|
</svg>
|
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
// Import the core styles.
|
|
2
|
-
@import '@ckeditor/ckeditor5-ui/dist/index.css';
|
|
3
|
-
@import '@ckeditor/ckeditor5-clipboard/dist/index.css';
|
|
4
|
-
@import '@ckeditor/ckeditor5-core/dist/index.css';
|
|
5
|
-
@import '@ckeditor/ckeditor5-engine/dist/index.css';
|
|
6
|
-
@import '@ckeditor/ckeditor5-enter/dist/index.css';
|
|
7
|
-
@import '@ckeditor/ckeditor5-paragraph/dist/index.css';
|
|
8
|
-
@import '@ckeditor/ckeditor5-select-all/dist/index.css';
|
|
9
|
-
@import '@ckeditor/ckeditor5-typing/dist/index.css';
|
|
10
|
-
@import '@ckeditor/ckeditor5-undo/dist/index.css';
|
|
11
|
-
@import '@ckeditor/ckeditor5-upload/dist/index.css';
|
|
12
|
-
@import '@ckeditor/ckeditor5-utils/dist/index.css';
|
|
13
|
-
@import '@ckeditor/ckeditor5-watchdog/dist/index.css';
|
|
14
|
-
@import '@ckeditor/ckeditor5-widget/dist/index.css';
|
|
15
|
-
|
|
16
|
-
// Import the editor styles.
|
|
17
|
-
// @import '@ckeditor/ckeditor5-editor-classic/dist/index.css';
|
|
18
|
-
@import '@ckeditor/ckeditor5-essentials/dist/index.css';
|
|
19
|
-
@import '@ckeditor/ckeditor5-page-break/dist/index.css';
|
|
20
|
-
@import '@ckeditor/ckeditor5-autoformat/dist/index.css';
|
|
21
|
-
@import '@ckeditor/ckeditor5-basic-styles/dist/index.css';
|
|
22
|
-
// @import '@ckeditor/ckeditor5-block-quote/dist/index.css';
|
|
23
|
-
@import '@ckeditor/ckeditor5-heading/dist/index.css';
|
|
24
|
-
// @import '@ckeditor/ckeditor5-image/dist/index.css';
|
|
25
|
-
@import '@ckeditor/ckeditor5-image/dist/index-editor.css';
|
|
26
|
-
@import '@ckeditor/ckeditor5-indent/dist/index.css';
|
|
27
|
-
@import '@ckeditor/ckeditor5-link/dist/index.css';
|
|
28
|
-
@import '@ckeditor/ckeditor5-list/dist/index.css';
|
|
29
|
-
// @import '@ckeditor/ckeditor5-media-embed/dist/index.css';
|
|
30
|
-
@import '@ckeditor/ckeditor5-paste-from-office/dist/index.css';
|
|
31
|
-
|
|
32
|
-
// hung.pham16: không sử dụng default styles của ckeditor vì server không hỗ trợ
|
|
33
|
-
// @import '@ckeditor/ckeditor5-table/dist/index.css';
|
|
34
|
-
@import '@ckeditor/ckeditor5-table/dist/index-editor.css';
|
|
35
|
-
|
|
36
|
-
// @import '@ckeditor/ckeditor5-mention/dist/index.css';
|
|
37
|
-
|
|
38
|
-
// Custom toolbar
|
|
39
|
-
.ck-editor {
|
|
40
|
-
/* --- 1. GIẢM KÍCH THƯỚC ICON VÀ CHỮ --- */
|
|
41
|
-
/* Giảm cỡ chữ trong dropdown (mặc định khoảng 13px) */
|
|
42
|
-
--ck-font-size-base: 11px !important;
|
|
43
|
-
|
|
44
|
-
/* Giảm kích thước Icon (mặc định 20px) */
|
|
45
|
-
--ck-icon-size: 16px !important;
|
|
46
|
-
|
|
47
|
-
/* --- 2. TỐI ƯU KHOẢNG CÁCH (Padding/Margin) --- */
|
|
48
|
-
|
|
49
|
-
/* Giảm khoảng cách giữa các nút */
|
|
50
|
-
--ck-spacing-small: 2px !important;
|
|
51
|
-
--ck-spacing-standard: 6px !important;
|
|
52
|
-
--ck-spacing-large: 8px !important;
|
|
53
|
-
|
|
54
|
-
/* */
|
|
55
|
-
--ck-color-table-focused-cell-background: transparent !important;
|
|
56
|
-
--ck-table-content-default-border-color: transparent !important;
|
|
57
|
-
|
|
58
|
-
//
|
|
59
|
-
--ck-insert-table-dropdown-padding: 10px;
|
|
60
|
-
--ck-insert-table-dropdown-box-height: 16px;
|
|
61
|
-
--ck-insert-table-dropdown-box-width: 16px;
|
|
62
|
-
--ck-insert-table-dropdown-box-margin: 1px;
|
|
63
|
-
|
|
64
|
-
--ck-focus-ring: 1px solid var(--ck-color-base-border);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/* Giảm độ cao của thanh toolbar (cho gọn) */
|
|
68
|
-
.ck-toolbar {
|
|
69
|
-
min-height: 32px !important; /* Mặc định thường là 40px */
|
|
70
|
-
padding: 2px !important;
|
|
71
|
-
|
|
72
|
-
/* Làm màu nền toolbar nhạt hơn cho hiện đại */
|
|
73
|
-
background: #f8f9fa !important;
|
|
74
|
-
border-bottom: 1px solid #e0e0e0 !important;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.ck-toolbar__items {
|
|
78
|
-
/* Chỉnh nút bấm trong toolbar nhỏ lại */
|
|
79
|
-
> .ck-button {
|
|
80
|
-
padding: 2px 4px !important; /* Giảm padding trái phải của nút */
|
|
81
|
-
min-height: 24px !important;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/* Chỉnh lại dropdown (Heading, Font Size) cho khớp */
|
|
85
|
-
> .ck-dropdown {
|
|
86
|
-
min-height: 24px !important;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
1
|
+
// Import the core styles.
|
|
2
|
+
@import '@ckeditor/ckeditor5-ui/dist/index.css';
|
|
3
|
+
@import '@ckeditor/ckeditor5-clipboard/dist/index.css';
|
|
4
|
+
@import '@ckeditor/ckeditor5-core/dist/index.css';
|
|
5
|
+
@import '@ckeditor/ckeditor5-engine/dist/index.css';
|
|
6
|
+
@import '@ckeditor/ckeditor5-enter/dist/index.css';
|
|
7
|
+
@import '@ckeditor/ckeditor5-paragraph/dist/index.css';
|
|
8
|
+
@import '@ckeditor/ckeditor5-select-all/dist/index.css';
|
|
9
|
+
@import '@ckeditor/ckeditor5-typing/dist/index.css';
|
|
10
|
+
@import '@ckeditor/ckeditor5-undo/dist/index.css';
|
|
11
|
+
@import '@ckeditor/ckeditor5-upload/dist/index.css';
|
|
12
|
+
@import '@ckeditor/ckeditor5-utils/dist/index.css';
|
|
13
|
+
@import '@ckeditor/ckeditor5-watchdog/dist/index.css';
|
|
14
|
+
@import '@ckeditor/ckeditor5-widget/dist/index.css';
|
|
15
|
+
|
|
16
|
+
// Import the editor styles.
|
|
17
|
+
// @import '@ckeditor/ckeditor5-editor-classic/dist/index.css';
|
|
18
|
+
@import '@ckeditor/ckeditor5-essentials/dist/index.css';
|
|
19
|
+
@import '@ckeditor/ckeditor5-page-break/dist/index.css';
|
|
20
|
+
@import '@ckeditor/ckeditor5-autoformat/dist/index.css';
|
|
21
|
+
@import '@ckeditor/ckeditor5-basic-styles/dist/index.css';
|
|
22
|
+
// @import '@ckeditor/ckeditor5-block-quote/dist/index.css';
|
|
23
|
+
@import '@ckeditor/ckeditor5-heading/dist/index.css';
|
|
24
|
+
// @import '@ckeditor/ckeditor5-image/dist/index.css';
|
|
25
|
+
@import '@ckeditor/ckeditor5-image/dist/index-editor.css';
|
|
26
|
+
@import '@ckeditor/ckeditor5-indent/dist/index.css';
|
|
27
|
+
@import '@ckeditor/ckeditor5-link/dist/index.css';
|
|
28
|
+
@import '@ckeditor/ckeditor5-list/dist/index.css';
|
|
29
|
+
// @import '@ckeditor/ckeditor5-media-embed/dist/index.css';
|
|
30
|
+
@import '@ckeditor/ckeditor5-paste-from-office/dist/index.css';
|
|
31
|
+
|
|
32
|
+
// hung.pham16: không sử dụng default styles của ckeditor vì server không hỗ trợ
|
|
33
|
+
// @import '@ckeditor/ckeditor5-table/dist/index.css';
|
|
34
|
+
@import '@ckeditor/ckeditor5-table/dist/index-editor.css';
|
|
35
|
+
|
|
36
|
+
// @import '@ckeditor/ckeditor5-mention/dist/index.css';
|
|
37
|
+
|
|
38
|
+
// Custom toolbar
|
|
39
|
+
.ck-editor {
|
|
40
|
+
/* --- 1. GIẢM KÍCH THƯỚC ICON VÀ CHỮ --- */
|
|
41
|
+
/* Giảm cỡ chữ trong dropdown (mặc định khoảng 13px) */
|
|
42
|
+
--ck-font-size-base: 11px !important;
|
|
43
|
+
|
|
44
|
+
/* Giảm kích thước Icon (mặc định 20px) */
|
|
45
|
+
--ck-icon-size: 16px !important;
|
|
46
|
+
|
|
47
|
+
/* --- 2. TỐI ƯU KHOẢNG CÁCH (Padding/Margin) --- */
|
|
48
|
+
|
|
49
|
+
/* Giảm khoảng cách giữa các nút */
|
|
50
|
+
--ck-spacing-small: 2px !important;
|
|
51
|
+
--ck-spacing-standard: 6px !important;
|
|
52
|
+
--ck-spacing-large: 8px !important;
|
|
53
|
+
|
|
54
|
+
/* */
|
|
55
|
+
--ck-color-table-focused-cell-background: transparent !important;
|
|
56
|
+
--ck-table-content-default-border-color: transparent !important;
|
|
57
|
+
|
|
58
|
+
//
|
|
59
|
+
--ck-insert-table-dropdown-padding: 10px;
|
|
60
|
+
--ck-insert-table-dropdown-box-height: 16px;
|
|
61
|
+
--ck-insert-table-dropdown-box-width: 16px;
|
|
62
|
+
--ck-insert-table-dropdown-box-margin: 1px;
|
|
63
|
+
|
|
64
|
+
--ck-focus-ring: 1px solid var(--ck-color-base-border);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Giảm độ cao của thanh toolbar (cho gọn) */
|
|
68
|
+
.ck-toolbar {
|
|
69
|
+
min-height: 32px !important; /* Mặc định thường là 40px */
|
|
70
|
+
padding: 2px !important;
|
|
71
|
+
|
|
72
|
+
/* Làm màu nền toolbar nhạt hơn cho hiện đại */
|
|
73
|
+
background: #f8f9fa !important;
|
|
74
|
+
border-bottom: 1px solid #e0e0e0 !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ck-toolbar__items {
|
|
78
|
+
/* Chỉnh nút bấm trong toolbar nhỏ lại */
|
|
79
|
+
> .ck-button {
|
|
80
|
+
padding: 2px 4px !important; /* Giảm padding trái phải của nút */
|
|
81
|
+
min-height: 24px !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Chỉnh lại dropdown (Heading, Font Size) cho khớp */
|
|
85
|
+
> .ck-dropdown {
|
|
86
|
+
min-height: 24px !important;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
// Shared `viewed='inline'` styles for sd-form-controls.
|
|
2
|
-
// why: 1 nguồn cho text-face + editor ẩn (panel control) và input borderless, tránh lặp ~40 dòng/control.
|
|
3
|
-
// Bare-flatten (mat-* internals) KHÔNG nằm ở đây — khác nhau theo control, giữ trong scss riêng.
|
|
4
|
-
|
|
5
|
-
// Clear-× — hover-gated, đặt cuối "mặt". Include BÊN TRONG rule của phần tử hover (face/input).
|
|
6
|
-
@mixin _inline-clear {
|
|
7
|
-
.sd-inline-clear {
|
|
8
|
-
display: none;
|
|
9
|
-
align-items: center;
|
|
10
|
-
margin-left: 4px;
|
|
11
|
-
padding: 0;
|
|
12
|
-
border: 0;
|
|
13
|
-
background: transparent;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
line-height: 0;
|
|
16
|
-
color: var(--sd-text-secondary, #6b7280);
|
|
17
|
-
transition: color 0.15s ease;
|
|
18
|
-
|
|
19
|
-
mat-icon {
|
|
20
|
-
font-size: 16px;
|
|
21
|
-
width: 16px;
|
|
22
|
-
height: 16px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&:hover {
|
|
26
|
-
color: var(--sd-error, #b32626);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&:hover .sd-inline-clear {
|
|
31
|
-
display: inline-flex;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// Panel-based controls (select / date / datetime / date-range / autocomplete):
|
|
36
|
-
// `<sd-view>` text là "mặt" + trigger; editor render ẩn (overlay) chỉ để neo + mở panel.
|
|
37
|
-
@mixin sd-inline-panel {
|
|
38
|
-
// Neo cho .sd-inline-editor (absolute). Bare flatten + display nằm ở :host(.sd-bare) riêng của control.
|
|
39
|
-
:host(.sd-bare) {
|
|
40
|
-
position: relative;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.sd-inline-view {
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
display: inline-flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
width: 100%;
|
|
48
|
-
// why: nền nhẹ + đậm hơn khi hover → tín hiệu "viewed có thể bấm để sửa".
|
|
49
|
-
padding: 1px 6px;
|
|
50
|
-
border-radius: 4px;
|
|
51
|
-
background-color: rgba(0, 0, 0, 0.04);
|
|
52
|
-
transition: background-color 0.15s ease;
|
|
53
|
-
|
|
54
|
-
&:hover {
|
|
55
|
-
background-color: rgba(0, 0, 0, 0.08);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@include _inline-clear;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// why: editor vô hình phủ lên face. Tắt pointer-events CẢ cây con (mat-* tự bật lại ở trigger)
|
|
62
|
-
// để hover/click rơi xuống .sd-inline-view ở mọi chỗ. Panel mở qua enterInlineEdit() → open().
|
|
63
|
-
.sd-inline-editor {
|
|
64
|
-
position: absolute;
|
|
65
|
-
inset: 0;
|
|
66
|
-
opacity: 0;
|
|
67
|
-
pointer-events: none;
|
|
68
|
-
|
|
69
|
-
::ng-deep * {
|
|
70
|
-
pointer-events: none !important;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
// NOTE: the former `sd-inline-input` mixin (mat-form-field flatten for the input/input-number
|
|
76
|
-
// inline variant) was removed when those controls moved to the <sd-inline-text> primitive
|
|
77
|
-
// (forms/inline-text), which owns its own borderless styling. The panel mixin above stays.
|
|
78
|
-
|
|
79
|
-
// Multiline input (textarea): no panel, no single-line `<sd-inline-text>` — flatten the
|
|
80
|
-
// mat-form-field so the `<textarea>` reads like text, transparent with a hover/focus affordance.
|
|
81
|
-
@mixin sd-inline-textarea {
|
|
82
|
-
.sd-inline-textarea {
|
|
83
|
-
cursor: text;
|
|
84
|
-
border-radius: 4px;
|
|
85
|
-
background-color: rgba(0, 0, 0, 0.04);
|
|
86
|
-
transition: background-color 0.15s ease;
|
|
87
|
-
|
|
88
|
-
&:hover {
|
|
89
|
-
background-color: rgba(0, 0, 0, 0.08);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&:focus-within {
|
|
93
|
-
background-color: rgba(0, 0, 0, 0.06);
|
|
94
|
-
box-shadow: inset 0 0 0 1px var(--sd-primary, #1f6feb);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
::ng-deep {
|
|
98
|
-
.mat-mdc-text-field-wrapper { padding: 0 6px; background: transparent; }
|
|
99
|
-
.mat-mdc-form-field-flex { padding: 0; }
|
|
100
|
-
.mdc-notched-outline { display: none; }
|
|
101
|
-
.mat-mdc-form-field-subscript-wrapper { display: none; }
|
|
102
|
-
.mat-mdc-form-field-infix { padding: 4px 0; min-height: 0; border: 0; }
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
1
|
+
// Shared `viewed='inline'` styles for sd-form-controls.
|
|
2
|
+
// why: 1 nguồn cho text-face + editor ẩn (panel control) và input borderless, tránh lặp ~40 dòng/control.
|
|
3
|
+
// Bare-flatten (mat-* internals) KHÔNG nằm ở đây — khác nhau theo control, giữ trong scss riêng.
|
|
4
|
+
|
|
5
|
+
// Clear-× — hover-gated, đặt cuối "mặt". Include BÊN TRONG rule của phần tử hover (face/input).
|
|
6
|
+
@mixin _inline-clear {
|
|
7
|
+
.sd-inline-clear {
|
|
8
|
+
display: none;
|
|
9
|
+
align-items: center;
|
|
10
|
+
margin-left: 4px;
|
|
11
|
+
padding: 0;
|
|
12
|
+
border: 0;
|
|
13
|
+
background: transparent;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
line-height: 0;
|
|
16
|
+
color: var(--sd-text-secondary, #6b7280);
|
|
17
|
+
transition: color 0.15s ease;
|
|
18
|
+
|
|
19
|
+
mat-icon {
|
|
20
|
+
font-size: 16px;
|
|
21
|
+
width: 16px;
|
|
22
|
+
height: 16px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:hover {
|
|
26
|
+
color: var(--sd-error, #b32626);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:hover .sd-inline-clear {
|
|
31
|
+
display: inline-flex;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Panel-based controls (select / date / datetime / date-range / autocomplete):
|
|
36
|
+
// `<sd-view>` text là "mặt" + trigger; editor render ẩn (overlay) chỉ để neo + mở panel.
|
|
37
|
+
@mixin sd-inline-panel {
|
|
38
|
+
// Neo cho .sd-inline-editor (absolute). Bare flatten + display nằm ở :host(.sd-bare) riêng của control.
|
|
39
|
+
:host(.sd-bare) {
|
|
40
|
+
position: relative;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.sd-inline-view {
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
display: inline-flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
width: 100%;
|
|
48
|
+
// why: nền nhẹ + đậm hơn khi hover → tín hiệu "viewed có thể bấm để sửa".
|
|
49
|
+
padding: 1px 6px;
|
|
50
|
+
border-radius: 4px;
|
|
51
|
+
background-color: rgba(0, 0, 0, 0.04);
|
|
52
|
+
transition: background-color 0.15s ease;
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
background-color: rgba(0, 0, 0, 0.08);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@include _inline-clear;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// why: editor vô hình phủ lên face. Tắt pointer-events CẢ cây con (mat-* tự bật lại ở trigger)
|
|
62
|
+
// để hover/click rơi xuống .sd-inline-view ở mọi chỗ. Panel mở qua enterInlineEdit() → open().
|
|
63
|
+
.sd-inline-editor {
|
|
64
|
+
position: absolute;
|
|
65
|
+
inset: 0;
|
|
66
|
+
opacity: 0;
|
|
67
|
+
pointer-events: none;
|
|
68
|
+
|
|
69
|
+
::ng-deep * {
|
|
70
|
+
pointer-events: none !important;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// NOTE: the former `sd-inline-input` mixin (mat-form-field flatten for the input/input-number
|
|
76
|
+
// inline variant) was removed when those controls moved to the <sd-inline-text> primitive
|
|
77
|
+
// (forms/inline-text), which owns its own borderless styling. The panel mixin above stays.
|
|
78
|
+
|
|
79
|
+
// Multiline input (textarea): no panel, no single-line `<sd-inline-text>` — flatten the
|
|
80
|
+
// mat-form-field so the `<textarea>` reads like text, transparent with a hover/focus affordance.
|
|
81
|
+
@mixin sd-inline-textarea {
|
|
82
|
+
.sd-inline-textarea {
|
|
83
|
+
cursor: text;
|
|
84
|
+
border-radius: 4px;
|
|
85
|
+
background-color: rgba(0, 0, 0, 0.04);
|
|
86
|
+
transition: background-color 0.15s ease;
|
|
87
|
+
|
|
88
|
+
&:hover {
|
|
89
|
+
background-color: rgba(0, 0, 0, 0.08);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:focus-within {
|
|
93
|
+
background-color: rgba(0, 0, 0, 0.06);
|
|
94
|
+
box-shadow: inset 0 0 0 1px var(--sd-primary, #1f6feb);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
::ng-deep {
|
|
98
|
+
.mat-mdc-text-field-wrapper { padding: 0 6px; background: transparent; }
|
|
99
|
+
.mat-mdc-form-field-flex { padding: 0; }
|
|
100
|
+
.mdc-notched-outline { display: none; }
|
|
101
|
+
.mat-mdc-form-field-subscript-wrapper { display: none; }
|
|
102
|
+
.mat-mdc-form-field-infix { padding: 4px 0; min-height: 0; border: 0; }
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|