raise-common-lib-new 0.0.37 → 0.0.38
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 +24 -24
- package/esm2022/lib/actions/toolbar/constants.mjs +2 -0
- package/esm2022/lib/{layout → actions}/toolbar/index.component.mjs +3 -3
- package/esm2022/lib/actions/toolbar-item/index.component.mjs +82 -0
- package/esm2022/lib/commentary/index.component.mjs +19 -10
- package/esm2022/lib/common-grid/grid-action/grid-action-item/grid-action-item.component.mjs +42 -3
- package/esm2022/lib/common-grid/grid-action/grid-action.component.mjs +2 -2
- package/esm2022/lib/common-grid/index.component.mjs +30 -3
- package/esm2022/lib/dialog/common-delete-dialog/index.component.mjs +11 -7
- package/esm2022/lib/dialog/common-dialog/index.component.mjs +45 -12
- package/esm2022/lib/float-box/index.component.mjs +3 -1
- package/esm2022/lib/form/confirm-select/index.component.mjs +78 -0
- package/esm2022/lib/form/drawer-form/constants.mjs +1 -1
- package/esm2022/lib/form/drawer-form/drawer-form.component.mjs +52 -24
- package/esm2022/lib/form/richtexteditor/ai-config.mjs +35 -0
- package/esm2022/lib/form/richtexteditor/data-config.mjs +222 -0
- package/esm2022/lib/form/richtexteditor/index.component.mjs +425 -0
- package/esm2022/lib/form/richtexteditor/openapi.mjs +121 -0
- package/esm2022/lib/form/search-input/index.component.mjs +45 -0
- package/esm2022/lib/form/tag-input/index.component.mjs +1 -1
- package/esm2022/lib/layout/drawer/index.component.mjs +28 -18
- package/esm2022/lib/layout/grid-box/index.component.mjs +28 -19
- package/esm2022/lib/layout/main-container/index.component.mjs +3 -3
- package/esm2022/lib/layout/multi-tab/index.component.mjs +72 -54
- package/esm2022/lib/layout/page-list/index.component.mjs +28 -19
- package/esm2022/lib/layout/rs-aside/index.component.mjs +12 -9
- package/esm2022/lib/layout/rs-footer/index.component.mjs +2 -2
- package/esm2022/lib/layout/rs-header/index.component.mjs +6 -3
- package/esm2022/lib/raise-common-lib.module.mjs +43 -15
- package/esm2022/lib/service/dialog.service.mjs +9 -6
- package/esm2022/lib/service/drawer.service.mjs +8 -6
- package/esm2022/lib/truncated-text-toggle/index.component.mjs +41 -0
- package/esm2022/public-api.mjs +7 -4
- package/fesm2022/raise-common-lib-new.mjs +1425 -233
- package/fesm2022/raise-common-lib-new.mjs.map +1 -1
- package/lib/{form → actions}/toolbar-item/index.component.d.ts +2 -1
- package/lib/commentary/index.component.d.ts +2 -2
- package/lib/common-grid/grid-action/grid-action-item/grid-action-item.component.d.ts +6 -1
- package/lib/common-grid/index.component.d.ts +10 -1
- package/lib/dialog/common-delete-dialog/index.component.d.ts +8 -2
- package/lib/dialog/common-dialog/index.component.d.ts +10 -2
- package/lib/float-box/index.component.d.ts +2 -2
- package/lib/form/confirm-select/index.component.d.ts +28 -0
- package/lib/form/drawer-form/constants.d.ts +2 -0
- package/lib/form/drawer-form/drawer-form.component.d.ts +8 -5
- package/lib/form/richtexteditor/ai-config.d.ts +10 -0
- package/lib/form/richtexteditor/data-config.d.ts +14 -0
- package/lib/form/richtexteditor/index.component.d.ts +83 -0
- package/lib/form/richtexteditor/openapi.d.ts +3 -0
- package/lib/form/search-input/index.component.d.ts +17 -0
- package/lib/layout/drawer/index.component.d.ts +8 -7
- package/lib/layout/grid-box/index.component.d.ts +9 -6
- package/lib/layout/multi-tab/index.component.d.ts +7 -3
- package/lib/layout/page-list/index.component.d.ts +9 -6
- package/lib/layout/rs-aside/index.component.d.ts +3 -1
- package/lib/layout/rs-header/index.component.d.ts +2 -1
- package/lib/raise-common-lib.module.d.ts +37 -32
- package/lib/service/dialog.service.d.ts +3 -1
- package/lib/service/drawer.service.d.ts +1 -1
- package/lib/truncated-text-toggle/index.component.d.ts +15 -0
- package/package.json +2 -2
- package/public-api.d.ts +6 -3
- package/src/assets/img/arrow_right.svg +4 -4
- package/src/assets/img/calendar-disabled.svg +6 -6
- package/src/assets/img/calendar.svg +6 -6
- package/src/assets/img/calendar_arrow_left.svg +3 -3
- package/src/assets/img/calendar_arrow_right.svg +3 -3
- package/src/assets/img/checked-vector.svg +3 -3
- package/src/assets/img/click_show_more_icon.svg +3 -0
- package/src/assets/img/dialog-close.svg +4 -0
- package/src/assets/img/dialog-grow.svg +6 -0
- package/src/assets/img/dialog-shrink.svg +6 -0
- package/src/assets/img/editor-copy.svg +5 -0
- package/src/assets/img/grid-action-detail.svg +4 -5
- package/src/assets/img/grid-action-duplicate.svg +6 -0
- package/src/assets/img/grid-action-export.svg +4 -11
- package/src/assets/img/grid-action-preview.svg +7 -0
- package/src/assets/img/grid-action-refresh.svg +4 -0
- package/src/assets/img/grid-action-verify.svg +7 -0
- package/src/assets/img/grid-action-viewStatus.svg +3 -0
- package/src/assets/img/grid-menu-arrow-up.svg +4 -0
- package/src/assets/img/grid-menu-filter.svg +6 -0
- package/src/assets/img/info.svg +5 -0
- package/src/assets/img/plus.svg +4 -4
- package/src/assets/img/search.svg +4 -4
- package/src/assets/img/shrink-icon.svg +6 -0
- package/src/assets/img/time-disabled.svg +4 -4
- package/src/assets/img/time.svg +4 -4
- package/src/assets/img/toolbar-action-addFolder.svg +17 -0
- package/src/assets/img/toolbar-action-calculator.svg +11 -0
- package/src/assets/img/toolbar-action-collapse.svg +7 -0
- package/src/assets/img/toolbar-action-combine.svg +4 -0
- package/src/assets/img/toolbar-action-edit.svg +4 -0
- package/src/assets/img/toolbar-action-expand.svg +7 -0
- package/src/assets/img/toolbar-action-fetchData.svg +3 -0
- package/src/assets/img/toolbar-action-folderMove.svg +8 -0
- package/src/assets/img/toolbar-action-lock.svg +6 -0
- package/src/assets/img/toolbar-action-preview.svg +7 -0
- package/src/assets/img/toolbar-action-publish.svg +5 -0
- package/src/assets/img/toolbar-action-refresh.svg +3 -13
- package/src/assets/img/toolbar-action-reminders.svg +10 -0
- package/src/assets/img/toolbar-action-rename.svg +7 -0
- package/src/assets/img/toolbar-action-saveSequence.svg +5 -0
- package/src/assets/img/toolbar-action-send-file.svg +5 -0
- package/src/assets/img/toolbar-action-settle.svg +7 -0
- package/src/assets/img/toolbar-action-share.svg +5 -0
- package/src/assets/img/toolbar-action-submitForApproval.svg +4 -0
- package/src/assets/img/toolbar-action-sync.svg +4 -0
- package/src/assets/img/toolbar-action-template.svg +6 -0
- package/src/assets/img/toolbar-action-update.svg +11 -0
- package/src/assets/img/toolbar-action-workflow.svg +9 -0
- package/src/assets/style/reset/button.scss +3 -3
- package/src/assets/style/reset/checkbox.scss +15 -9
- package/src/assets/style/reset/dropdown.scss +56 -14
- package/src/assets/style/reset/grid.scss +134 -2
- package/src/assets/style/reset/mat-dialog.scss +1 -2
- package/src/assets/style/reset/radio.scss +33 -35
- package/src/assets/style/style.scss +0 -1
- package/esm2022/lib/form/toolbar-item/index.component.mjs +0 -56
- package/esm2022/lib/layout/toolbar/constants.mjs +0 -2
- /package/lib/{layout → actions}/toolbar/constants.d.ts +0 -0
- /package/lib/{layout → actions}/toolbar/index.component.d.ts +0 -0
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
<svg width="16" height="
|
|
2
|
-
<
|
|
3
|
-
<path d="
|
|
4
|
-
<path d="M4.72754 7.45459H6.54572" stroke="#6C7C90" stroke-linecap="round"/>
|
|
5
|
-
<path d="M4.72754 5.27271H7.45481" stroke="#6C7C90" stroke-linecap="round"/>
|
|
6
|
-
<path d="M11.8168 8.69026C11.4235 8.58488 11.0133 8.55799 10.6096 8.61114C10.206 8.66428 9.81671 8.79642 9.4641 9C9.11149 9.20358 8.80243 9.47462 8.55457 9.79764C8.3067 10.1207 8.12489 10.4893 8.01951 10.8826C7.91413 11.2759 7.88724 11.6861 7.94039 12.0898C7.99353 12.4935 8.12567 12.8827 8.32925 13.2353L6.87031 12.5074" stroke="#6C7C90" stroke-linecap="round"/>
|
|
7
|
-
<path d="M10.212 14.6798C10.6053 14.7852 11.0155 14.8121 11.4192 14.759C11.8229 14.7058 12.2121 14.5737 12.5647 14.3701C12.9173 14.1665 13.2264 13.8955 13.4743 13.5725C13.7221 13.2494 13.9039 12.8808 14.0093 12.4875C14.1147 12.0942 14.1416 11.684 14.0884 11.2803C14.0353 10.8766 13.9032 10.4874 13.6996 10.1348L15.2159 10.9622" stroke="#6C7C90" stroke-linecap="round"/>
|
|
8
|
-
</g>
|
|
9
|
-
<defs>
|
|
10
|
-
<clipPath id="clip0_12438_2348">
|
|
11
|
-
<rect width="16" height="16" fill="white"/>
|
|
12
|
-
</clipPath>
|
|
13
|
-
</defs>
|
|
1
|
+
<svg width="16" height="15" viewBox="0 0 16 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.91304 2.58996C8.31041 2.42848 7.68188 2.38728 7.06333 2.46872C6.44477 2.55015 5.84832 2.75262 5.30801 3.06457C4.76771 3.37651 4.29414 3.79182 3.91434 4.28679C3.53454 4.78175 3.25595 5.34668 3.09448 5.94931C2.933 6.55194 2.89181 7.18047 2.97324 7.79902C3.05467 8.41757 3.25714 9.01403 3.56909 9.55433L1.33357 8.43896" stroke="#6C7C90" stroke-linecap="round"/>
|
|
3
|
+
<path d="M6.45369 11.7677C7.05632 11.9292 7.68486 11.9704 8.30341 11.8889C8.92196 11.8075 9.51842 11.605 10.0587 11.2931C10.599 10.9811 11.0726 10.5658 11.4524 10.0709C11.8322 9.5759 12.1108 9.01097 12.2723 8.40834C12.4337 7.80571 12.4749 7.17718 12.3935 6.55862C12.3121 5.94007 12.1096 5.34362 11.7976 4.80331L14.1211 6.07111" stroke="#6C7C90" stroke-linecap="round"/>
|
|
14
4
|
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="13" height="14" viewBox="0 0 13 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="path-1-inside-1_14533_32243" fill="white">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.66195 5.12714C1.66195 2.57164 3.73359 0.5 6.28909 0.5C8.84458 0.5 10.9162 2.57164 10.9162 5.12714V7.10408V7.55356L12.3504 9.29947C12.8864 9.95206 12.4222 10.9342 11.5776 10.9342H1.0019C0.157367 10.9342 -0.306885 9.95206 0.229173 9.29947L1.66195 7.55522V7.10408V5.12714Z"/>
|
|
4
|
+
</mask>
|
|
5
|
+
<path d="M10.9162 7.55356H9.91622V7.91162L10.1435 8.1883L10.9162 7.55356ZM12.3504 9.29947L11.5776 9.93421V9.93421L12.3504 9.29947ZM0.229173 9.29947L1.0019 9.93421L1.0019 9.93421L0.229173 9.29947ZM1.66195 7.55522L2.43468 8.18996L2.66195 7.91327V7.55522H1.66195ZM1.66195 5.12714H2.66195C2.66195 3.12392 4.28587 1.5 6.28909 1.5V0.5V-0.5C3.1813 -0.5 0.661951 2.01936 0.661951 5.12714H1.66195ZM6.28909 0.5V1.5C8.2923 1.5 9.91622 3.12392 9.91622 5.12714H10.9162H11.9162C11.9162 2.01935 9.39687 -0.5 6.28909 -0.5V0.5ZM10.9162 5.12714H9.91622V7.10408H10.9162H11.9162V5.12714H10.9162ZM10.9162 7.10408H9.91622V7.55356H10.9162H11.9162V7.10408H10.9162ZM10.9162 7.55356L10.1435 8.1883L11.5776 9.93421L12.3504 9.29947L13.1231 8.66473L11.6889 6.91882L10.9162 7.55356ZM12.3504 9.29947L11.5776 9.93421V9.93421V10.9342V11.9342C13.2667 11.9342 14.1952 9.96991 13.1231 8.66473L12.3504 9.29947ZM11.5776 10.9342V9.93421H1.0019V10.9342V11.9342H11.5776V10.9342ZM1.0019 10.9342V9.93421L1.0019 9.93421L0.229173 9.29947L-0.543553 8.66473C-1.61567 9.96992 -0.687163 11.9342 1.0019 11.9342V10.9342ZM0.229173 9.29947L1.0019 9.93421L2.43468 8.18996L1.66195 7.55522L0.889225 6.92048L-0.543553 8.66473L0.229173 9.29947ZM1.66195 7.55522H2.66195V7.10408H1.66195H0.661951V7.55522H1.66195ZM1.66195 7.10408H2.66195V5.12714H1.66195H0.661951V7.10408H1.66195Z" fill="#6C7C90" mask="url(#path-1-inside-1_14533_32243)"/>
|
|
6
|
+
<mask id="path-3-inside-2_14533_32243" fill="white">
|
|
7
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.00098 11.7104L4.01267 11.9336C4.11702 12.9599 4.93258 13.7756 5.95896 13.8798L6.18161 13.8916C7.31083 13.8916 8.23973 13.0333 8.35153 11.9336L8.36323 11.7104H7.36325C7.36297 12.3625 6.83374 12.8916 6.18161 12.8916C5.52969 12.8913 5.00123 12.3624 5.00095 11.7104H4.00098Z"/>
|
|
8
|
+
</mask>
|
|
9
|
+
<path d="M4.00098 11.7104V10.7104H2.9472L3.00235 11.7628L4.00098 11.7104ZM4.01267 11.9336L3.01404 11.9859L3.01532 12.0103L3.0178 12.0347L4.01267 11.9336ZM5.95896 13.8798L5.85787 14.8747L5.88209 14.8772L5.9064 14.8785L5.95896 13.8798ZM6.18161 13.8916L6.12905 14.8902L6.15532 14.8916H6.18161V13.8916ZM8.35153 11.9336L9.34641 12.0347L9.34888 12.0103L9.35016 11.9859L8.35153 11.9336ZM8.36323 11.7104L9.36186 11.7628L9.417 10.7104H8.36323V11.7104ZM7.36325 11.7104V10.7104H6.36369L6.36325 11.71L7.36325 11.7104ZM6.18161 12.8916L6.18126 13.8916H6.18161V12.8916ZM5.00095 11.7104L6.00095 11.71L6.00051 10.7104H5.00095V11.7104ZM4.00098 11.7104L3.00235 11.7628L3.01404 11.9859L4.01267 11.9336L5.0113 11.8812L4.99961 11.6581L4.00098 11.7104ZM4.01267 11.9336L3.0178 12.0347C3.17015 13.5333 4.35912 14.7224 5.85787 14.8747L5.95896 13.8798L6.06005 12.885C5.50605 12.8287 5.06388 12.3865 5.00754 11.8324L4.01267 11.9336ZM5.95896 13.8798L5.9064 14.8785L6.12905 14.8902L6.18161 13.8916L6.23417 12.8929L6.01152 12.8812L5.95896 13.8798ZM6.18161 13.8916V14.8916C7.82921 14.8916 9.18324 13.6397 9.34641 12.0347L8.35153 11.9336L7.35666 11.8324C7.29623 12.4269 6.79245 12.8916 6.18161 12.8916V13.8916ZM8.35153 11.9336L9.35016 11.9859L9.36186 11.7628L8.36323 11.7104L7.3646 11.6581L7.35291 11.8812L8.35153 11.9336ZM8.36323 11.7104V10.7104H7.36325V11.7104V12.7104H8.36323V11.7104ZM7.36325 11.7104L6.36325 11.71C6.36321 11.81 6.2816 11.8916 6.18161 11.8916V12.8916V13.8916C7.38588 13.8916 8.36273 12.915 8.36325 11.7109L7.36325 11.7104ZM6.18161 12.8916L6.18197 11.8916C6.08262 11.8915 6.00099 11.8106 6.00095 11.71L5.00095 11.7104L4.00095 11.7109C4.00147 12.9142 4.97675 13.8911 6.18126 13.8916L6.18161 12.8916ZM5.00095 11.7104V10.7104H4.00098V11.7104V12.7104H5.00095V11.7104Z" fill="#6C7C90" mask="url(#path-3-inside-2_14533_32243)"/>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<line x1="8" y1="3.5" x2="11" y2="3.5" stroke="#6C7C90"/>
|
|
3
|
+
<line x1="8" y1="13.5" x2="11" y2="13.5" stroke="#6C7C90"/>
|
|
4
|
+
<line x1="9.5" y1="4" x2="9.5" y2="14" stroke="#6C7C90"/>
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 5H4L3.7959 5.01074C2.78722 5.113 2 5.96435 2 7V10L2.01074 10.2041C2.1062 11.1457 2.85435 11.8938 3.7959 11.9893L4 12H8V11H4C3.44772 11 3 10.5523 3 10V7L3.00488 6.89746C3.05621 6.39333 3.48232 6 4 6H8V5ZM11 11H12C12.5523 11 13 10.5523 13 10V7C13 6.48232 12.6067 6.05621 12.1025 6.00488L12 6H11V5H12L12.2041 5.01074C13.2128 5.113 14 5.96435 14 7V10L13.9893 10.2041C13.8938 11.1457 13.1457 11.8938 12.2041 11.9893L12 12H11V11Z" fill="#6C7C90"/>
|
|
6
|
+
<line x1="5" y1="8.5" x2="8" y2="8.5" stroke="#6C7C90"/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="14" height="13" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="4.5" y="8.5" width="5" height="4" stroke="#6C7C90"/>
|
|
3
|
+
<path d="M2.5 0.5H9.42188C9.76986 0.50007 10.1052 0.621212 10.3721 0.839844L10.4824 0.939453L12.5605 3.01758C12.8418 3.29881 12.9999 3.68041 13 4.07812V11C13 11.8284 12.3284 12.5 11.5 12.5H2.5C1.67157 12.5 1 11.8284 1 11V2C1 1.17157 1.67157 0.5 2.5 0.5Z" stroke="#6C7C90"/>
|
|
4
|
+
<rect x="5.5" y="0.5" width="3" height="2" stroke="#6C7C90"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M13 5.64941L13 12C13 13.3807 11.8807 14.5 10.5 14.5L5.5 14.5C4.11929 14.5 3 13.3807 3 12L3 4C3 2.61929 4.11929 1.5 5.5 1.5L9.01855 1.5C9.63962 1.5 10.2356 1.73099 10.6924 2.14258L10.8789 2.33008L12.3604 3.97852C12.7723 4.43732 13 5.03278 13 5.64941Z" stroke="#6C7C90"/>
|
|
3
|
+
<path d="M8.14782 11.118L10.2473 8.9751L8.14782 6.83216" stroke="#6C7C90" stroke-linecap="round"/>
|
|
4
|
+
<line x1="0.5" y1="-0.5" x2="4.5" y2="-0.5" transform="matrix(-1 8.42937e-08 8.42937e-08 1 10.2095 9.4751)" stroke="#6C7C90" stroke-linecap="round"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M9.5 11L10.4105 12L12.5 10" stroke="#6C7C90" stroke-linecap="round"/>
|
|
3
|
+
<path d="M12 5.79412V3.5C12 2.39543 11.1046 1.5 10 1.5H7.5H5C3.89543 1.5 3 2.39543 3 3.5V11.5C3 12.6046 3.89543 13.5 5 13.5H6.5" stroke="#6C7C90" stroke-linecap="round"/>
|
|
4
|
+
<line x1="4.5" y1="4.5" x2="8.5" y2="4.5" stroke="#6C7C90"/>
|
|
5
|
+
<path d="M4.5 7H7.5" stroke="#6C7C90"/>
|
|
6
|
+
<circle cx="11" cy="11" r="3.5" stroke="#6C7C90"/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M11 9V11C11 12.1046 10.1046 13 9 13H5C3.89543 13 3 12.1046 3 11V7C3 5.89543 3.89543 5 5 5H7" stroke="#6C7C90"/>
|
|
3
|
+
<path d="M12.876 3.93241C13.0713 3.73715 13.0713 3.42057 12.876 3.2253C12.6808 3.03004 12.3642 3.03004 12.1689 3.2253L12.876 3.93241ZM12.5225 3.57886L12.1689 3.2253L6.64623 8.74798L6.99978 9.10154L7.35333 9.45509L12.876 3.93241L12.5225 3.57886Z" fill="#6C7C90"/>
|
|
4
|
+
<path d="M9.1416 3L13.1416 3L13.1416 7" stroke="#6C7C90"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12.4172 2.97381C12.7998 2.85734 13.1579 3.21538 13.0414 3.59805L9.94989 13.7551C9.82085 14.1791 9.24508 14.2381 9.03286 13.849L6.67883 9.53526L6.60908 9.40613L6.47995 9.33639L2.16619 6.98236C1.77711 6.77014 1.83611 6.19437 2.2601 6.06533L12.4172 2.97381Z" stroke="#6C7C90"/>
|
|
3
|
+
<line x1="8.74121" y1="7.36226" x2="7.0384" y2="9.06507" stroke="#6C7C90" stroke-linecap="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="16" height="15" viewBox="0 0 16 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.91304 2.58996C8.31041 2.42848 7.68188 2.38728 7.06333 2.46872C6.44477 2.55015 5.84832 2.75262 5.30801 3.06457C4.76771 3.37651 4.29414 3.79182 3.91434 4.28679C3.53454 4.78175 3.25595 5.34668 3.09448 5.94931C2.933 6.55194 2.89181 7.18047 2.97324 7.79902C3.05467 8.41757 3.25714 9.01403 3.56909 9.55433L1.33357 8.43896" stroke="#6C7C90" stroke-linecap="round"/>
|
|
3
|
+
<path d="M6.45369 11.7677C7.05632 11.9292 7.68486 11.9704 8.30341 11.8889C8.92196 11.8075 9.51842 11.605 10.0587 11.2931C10.599 10.9811 11.0726 10.5658 11.4524 10.0709C11.8322 9.5759 12.1108 9.01097 12.2723 8.40834C12.4337 7.80571 12.4749 7.17718 12.3935 6.55862C12.3121 5.94007 12.1096 5.34362 11.7976 4.80331L14.1211 6.07111" stroke="#6C7C90" stroke-linecap="round"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2.5 4.17116C2.5 3.71229 2.8123 3.31231 3.25746 3.20101L8.25746 1.95101C8.88861 1.79323 9.5 2.27059 9.5 2.92116V13.0788C9.5 13.7294 8.88861 14.2067 8.25746 14.049L3.25746 12.799C2.8123 12.6877 2.5 12.2877 2.5 11.8288V4.17116Z" stroke="#6C7C90"/>
|
|
3
|
+
<path d="M6.81335 5.0751C7.19731 5.04591 7.58052 5.02062 7.96299 5C7.51134 5.9904 7.05709 6.97951 6.60024 7.96732C7.06384 8.97938 7.54014 9.98054 8 11L6.77521 10.9175C6.48846 10.1619 6.13852 9.43346 5.93177 8.6428C5.70259 9.37471 5.37359 10.072 5.10926 10.7914C4.74026 10.7914 4.36901 10.7693 4 10.7525C4.43406 9.83813 4.85391 8.92257 5.3018 8.02023C4.92046 7.08872 4.50397 6.17588 4.11216 5.24747L5.22666 5.17977C5.47864 5.88794 5.75157 6.5856 5.96168 7.31206C6.19609 6.54163 6.53146 5.81829 6.81335 5.0751Z" fill="#6C7C90"/>
|
|
4
|
+
<path d="M11.5 14V2" stroke="#6C7C90"/>
|
|
5
|
+
<path d="M13.5 13V3" stroke="#6C7C90"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g id="twenty-four">
|
|
3
|
+
<path id="Rectangle 976" d="M11.5 6.5V4.42647V3.33333C11.5 2.59695 10.903 2 10.1667 2H9.25H7H3.83333C3.09695 2 2.5 2.59695 2.5 3.33333V11.6667C2.5 12.403 3.09695 13 3.83333 13H6.48076" stroke="#6B6B6B"/>
|
|
4
|
+
<line id="Line 220" x1="4.20001" y1="4.5" x2="7.20001" y2="4.5" stroke="#6B6B6B"/>
|
|
5
|
+
<line id="Line 222" x1="4.20001" y1="7.5" x2="7.20001" y2="7.5" stroke="#6B6B6B"/>
|
|
6
|
+
<g id="Group 1000004333">
|
|
7
|
+
<path id="Vector (Stroke)" fill-rule="evenodd" clip-rule="evenodd" d="M13.7067 11.2061L13.5569 11.6832C13.196 12.8322 12.1228 13.6667 10.8534 13.6667C10.2033 13.6667 9.60471 13.4478 9.12686 13.08L8.12686 13.4333V11.5333L9.10388 11.3835C9.33765 12.1278 10.0332 12.6667 10.8534 12.6667C11.6735 12.6667 12.3691 12.1278 12.6029 11.3835L13.7067 11.2061Z" fill="#6B6B6B"/>
|
|
8
|
+
<path id="Vector (Stroke)_2" fill-rule="evenodd" clip-rule="evenodd" d="M8.14983 9.9835C8.51074 8.83445 9.58395 8 10.8534 8C11.5034 8 12.102 8.21883 12.5799 8.58667L13.5799 8.23333V10.1047L12.6029 10.2832C12.3691 9.5389 11.6735 9 10.8534 9C10.0332 9 9.33764 9.5389 9.10388 10.2832L8 10.4605L8.14983 9.9835Z" fill="#6B6B6B"/>
|
|
9
|
+
</g>
|
|
10
|
+
</g>
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="2.5" y="2" width="4" height="4" rx="2" stroke="#6C7C90"/>
|
|
3
|
+
<rect x="10" y="10" width="4" height="4" rx="2" stroke="#6C7C90"/>
|
|
4
|
+
<path d="M6 10.25V13.75H2.5V10.25H6Z" stroke="#6C7C90"/>
|
|
5
|
+
<path d="M6 4L10 4" stroke="#6C7C90"/>
|
|
6
|
+
<path d="M12 6L12 10" stroke="#6C7C90"/>
|
|
7
|
+
<path d="M10 12.25L6 12.25" stroke="#6C7C90"/>
|
|
8
|
+
<rect x="12" y="1.70711" width="3.35355" height="3.35355" transform="rotate(45 12 1.70711)" stroke="#6C7C90"/>
|
|
9
|
+
</svg>
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
border: 1px solid #adb5bd !important;
|
|
12
12
|
background: transparent !important;
|
|
13
13
|
color: var(--rs-cancel-btn-color) !important;
|
|
14
|
-
height:
|
|
14
|
+
height: 28px;
|
|
15
15
|
min-width: 80px;
|
|
16
16
|
padding: 0 8px;
|
|
17
17
|
font-size: 12px;
|
|
18
18
|
border-radius: 4px;
|
|
19
19
|
box-shadow: none !important;
|
|
20
|
-
line-height:
|
|
20
|
+
line-height: 1;
|
|
21
21
|
&.small {
|
|
22
22
|
height: 26px;
|
|
23
23
|
min-width: 64px;
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
background: transparent !important;
|
|
87
87
|
color: var(--rs-cancel-btn-color) !important;
|
|
88
88
|
border-color: transparent !important;
|
|
89
|
-
height:
|
|
89
|
+
height: 28px;
|
|
90
90
|
min-width: 80px;
|
|
91
91
|
padding: 0 10px;
|
|
92
92
|
font-size: 12px;
|
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
.e-checkbox-wrapper {
|
|
2
2
|
.e-label {
|
|
3
|
-
color: var(--rs-label-color)
|
|
4
|
-
font-family: var(--rs-font-family)
|
|
5
|
-
font-size: var(--rs-font-size)
|
|
3
|
+
color: var(--rs-label-color);
|
|
4
|
+
font-family: var(--rs-font-family);
|
|
5
|
+
font-size: var(--rs-font-size);
|
|
6
6
|
font-weight: 400;
|
|
7
7
|
line-height: 14px;
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
// }
|
|
9
|
+
.e-checkbox-wrapper.e-checkbox-disabled {
|
|
10
|
+
.e-icons {
|
|
11
|
+
border-color: rgba(209, 209, 209, 0.5);
|
|
12
|
+
background-color: rgba(234, 237, 240, 0.35);
|
|
13
|
+
}
|
|
15
14
|
}
|
|
16
15
|
.e-icons {
|
|
17
16
|
box-shadow: none !important;
|
|
17
|
+
&.e-stop{
|
|
18
|
+
background-color: var(--rs-active-color) !important;
|
|
19
|
+
border-color: var(--rs-active-color) !important;
|
|
20
|
+
&::before {
|
|
21
|
+
display: block;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
18
24
|
&.e-check {
|
|
19
25
|
background-color: var(--rs-active-color) !important;
|
|
20
26
|
border-color: var(--rs-active-color) !important;
|
|
@@ -153,18 +153,7 @@
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
|
|
157
|
-
> .e-input-group {
|
|
158
|
-
&.e-icon-anim {
|
|
159
|
-
.e-input-group-icon {
|
|
160
|
-
&::before {
|
|
161
|
-
transform: none;
|
|
162
|
-
transition: none;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
156
|
+
|
|
168
157
|
// 下拉弹窗
|
|
169
158
|
.e-popup.e-ddl {
|
|
170
159
|
font-family: var(--rs-font-family);
|
|
@@ -198,6 +187,15 @@
|
|
|
198
187
|
}
|
|
199
188
|
}
|
|
200
189
|
}
|
|
190
|
+
.e-selectall-parent {
|
|
191
|
+
text-indent: 17px;
|
|
192
|
+
.e-all-text {
|
|
193
|
+
font-family: Arial;
|
|
194
|
+
font-size: var(--rs-input-font-size);
|
|
195
|
+
min-height: var(--rs-input-line-height);
|
|
196
|
+
line-height: var(--rs-input-line-height);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
201
199
|
|
|
202
200
|
.e-dropdownbase {
|
|
203
201
|
min-height: 28px;
|
|
@@ -224,13 +222,15 @@
|
|
|
224
222
|
font-family: Arial;
|
|
225
223
|
font-size: var(--rs-input-font-size);
|
|
226
224
|
min-height: var(--rs-input-line-height);
|
|
227
|
-
line-height:
|
|
225
|
+
line-height: 16px;
|
|
228
226
|
// 下拉选项超出正常显示,不显示缩略号
|
|
229
227
|
white-space: normal;
|
|
230
228
|
text-indent: 0;
|
|
231
|
-
padding:
|
|
229
|
+
padding: 6px 12px;
|
|
232
230
|
color: #44566c;
|
|
233
231
|
border-radius: 4px;
|
|
232
|
+
display: flex;
|
|
233
|
+
align-items: center;
|
|
234
234
|
&.e-item-focus {
|
|
235
235
|
background: transparent !important;
|
|
236
236
|
box-shadow: none !important;
|
|
@@ -266,6 +266,26 @@
|
|
|
266
266
|
color: #929dab !important;
|
|
267
267
|
font-size: var(--rs-input-font-size) !important;
|
|
268
268
|
}
|
|
269
|
+
|
|
270
|
+
&.e-multi-select-list-wrapper {
|
|
271
|
+
.e-dropdownbase {
|
|
272
|
+
.e-list-item {
|
|
273
|
+
padding-left: 34px;
|
|
274
|
+
.e-checkbox-wrapper {
|
|
275
|
+
position: absolute;
|
|
276
|
+
top: 6px;
|
|
277
|
+
left: 12px;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
&.e-multiselect-group {
|
|
282
|
+
.e-dropdownbase {
|
|
283
|
+
.e-list-item {
|
|
284
|
+
padding-left: 46px;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
269
289
|
}
|
|
270
290
|
|
|
271
291
|
// dropdowntree 独有
|
|
@@ -405,6 +425,7 @@
|
|
|
405
425
|
}
|
|
406
426
|
}
|
|
407
427
|
}
|
|
428
|
+
|
|
408
429
|
.e-daterangepicker.e-popup,
|
|
409
430
|
.e-datepicker.e-popup {
|
|
410
431
|
height: auto;
|
|
@@ -511,6 +532,7 @@
|
|
|
511
532
|
font-size: var(--rs-font-size);
|
|
512
533
|
}
|
|
513
534
|
}
|
|
535
|
+
|
|
514
536
|
&.e-month {
|
|
515
537
|
.e-cell {
|
|
516
538
|
.e-day {
|
|
@@ -534,6 +556,14 @@
|
|
|
534
556
|
}
|
|
535
557
|
}
|
|
536
558
|
}
|
|
559
|
+
&.e-year {
|
|
560
|
+
.e-cell.e-focused-date {
|
|
561
|
+
.e-day {
|
|
562
|
+
background-color: #1f7bff !important;
|
|
563
|
+
color: #fff !important;
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
}
|
|
537
567
|
.e-today {
|
|
538
568
|
.e-day {
|
|
539
569
|
color: var(--rs-active-color) !important;
|
|
@@ -589,6 +619,18 @@
|
|
|
589
619
|
}
|
|
590
620
|
}
|
|
591
621
|
}
|
|
622
|
+
.e-footer-container {
|
|
623
|
+
justify-content: center !important;
|
|
624
|
+
.e-btn.e-today {
|
|
625
|
+
border: 0 !important;
|
|
626
|
+
background-color: #fff !important;
|
|
627
|
+
color: #44566c !important;
|
|
628
|
+
&:hover {
|
|
629
|
+
background-color: #fff !important;
|
|
630
|
+
color: #1f7bff !important;
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
}
|
|
592
634
|
}
|
|
593
635
|
|
|
594
636
|
.e-datetimepicker.e-popup {
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
.e-spinner-pane {
|
|
9
9
|
display: none !important; // 隐藏默认的loading spinner
|
|
10
10
|
}
|
|
11
|
+
.e-summarycell {
|
|
12
|
+
padding-right: 36px !important;
|
|
13
|
+
}
|
|
11
14
|
.e-gridheader {
|
|
12
15
|
height: auto;
|
|
13
16
|
border-top: none;
|
|
@@ -206,6 +209,10 @@
|
|
|
206
209
|
width: 16px;
|
|
207
210
|
height: 16px;
|
|
208
211
|
}
|
|
212
|
+
|
|
213
|
+
&.e-filtered {
|
|
214
|
+
background-color: rgba(31, 123, 255, 0.1);
|
|
215
|
+
}
|
|
209
216
|
}
|
|
210
217
|
|
|
211
218
|
&:not(.e-rcursor):hover .e-rhandler {
|
|
@@ -218,6 +225,10 @@
|
|
|
218
225
|
}
|
|
219
226
|
}
|
|
220
227
|
}
|
|
228
|
+
.e-rowdragdrop {
|
|
229
|
+
border-bottom: 1px solid #eaedf0;
|
|
230
|
+
border-top: 0;
|
|
231
|
+
}
|
|
221
232
|
.e-rowcell {
|
|
222
233
|
padding: 2px 12px;
|
|
223
234
|
border-top: 0;
|
|
@@ -510,10 +521,12 @@
|
|
|
510
521
|
}
|
|
511
522
|
}
|
|
512
523
|
}
|
|
513
|
-
|
|
524
|
+
.e-numericitem {
|
|
525
|
+
color: #44566c;
|
|
526
|
+
}
|
|
514
527
|
.e-pagercontainer {
|
|
515
528
|
border: 0;
|
|
516
|
-
vertical-align:
|
|
529
|
+
vertical-align: top;
|
|
517
530
|
|
|
518
531
|
.e-icons,
|
|
519
532
|
.e-spacing {
|
|
@@ -844,3 +857,122 @@
|
|
|
844
857
|
):not(.e-indentcell) {
|
|
845
858
|
background-color: var(--rs-grid-row-hover-bg); // hover bg
|
|
846
859
|
}
|
|
860
|
+
|
|
861
|
+
.e-contextmenu-wrapper .e-contextmenu.e-colmenu,
|
|
862
|
+
.e-contextmenu-container .e-contextmenu.e-colmenu {
|
|
863
|
+
padding: 8px 0;
|
|
864
|
+
border: none;
|
|
865
|
+
|
|
866
|
+
border-radius: 8px;
|
|
867
|
+
background-color: #fff;
|
|
868
|
+
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
|
|
869
|
+
|
|
870
|
+
.e-menu-item {
|
|
871
|
+
height: 28px;
|
|
872
|
+
padding: 6px 48px 6px 16px;
|
|
873
|
+
|
|
874
|
+
color: #44566c;
|
|
875
|
+
font-family: Arial;
|
|
876
|
+
font-size: 11px;
|
|
877
|
+
font-style: normal;
|
|
878
|
+
font-weight: 400;
|
|
879
|
+
line-height: 14px;
|
|
880
|
+
|
|
881
|
+
display: flex;
|
|
882
|
+
flex-flow: row nowrap;
|
|
883
|
+
align-items: center;
|
|
884
|
+
gap: 8px;
|
|
885
|
+
|
|
886
|
+
&.e-blankicon {
|
|
887
|
+
padding-left: 40px !important;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
&.e-selected,
|
|
891
|
+
&.e-focused {
|
|
892
|
+
background-color: rgba(31, 123, 255, 0.08);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
.e-icons {
|
|
896
|
+
width: 16px;
|
|
897
|
+
height: 16px;
|
|
898
|
+
margin: 0;
|
|
899
|
+
padding: 0;
|
|
900
|
+
|
|
901
|
+
display: flex;
|
|
902
|
+
flex-flow: row nowrap;
|
|
903
|
+
justify-content: center;
|
|
904
|
+
align-items: center;
|
|
905
|
+
|
|
906
|
+
&::before {
|
|
907
|
+
width: 16px;
|
|
908
|
+
height: 16px;
|
|
909
|
+
line-height: 16px;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
&.e-icon-ascending::before {
|
|
913
|
+
content: url("/assets/img/grid-menu-arrow-up.svg");
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
&.e-icon-descending::before {
|
|
917
|
+
content: url("/assets/img/grid-menu-arrow-up.svg");
|
|
918
|
+
transform: rotate(180deg);
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
&.e-icon-filter::before {
|
|
922
|
+
content: url("/assets/img/grid-menu-filter.svg");
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
&.e-caret {
|
|
926
|
+
position: absolute;
|
|
927
|
+
top: 6px;
|
|
928
|
+
right: 16px;
|
|
929
|
+
|
|
930
|
+
&::before {
|
|
931
|
+
content: url("/assets/img/grid-menu-arrow-right.svg");
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
& + .e-menu-parent {
|
|
938
|
+
padding: 8px 0;
|
|
939
|
+
|
|
940
|
+
border-radius: 8px;
|
|
941
|
+
background-color: #fff;
|
|
942
|
+
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
|
|
943
|
+
|
|
944
|
+
.e-menu-item {
|
|
945
|
+
height: 28px;
|
|
946
|
+
padding: 0 8px;
|
|
947
|
+
|
|
948
|
+
&.e-focused {
|
|
949
|
+
background-color: rgba(31, 123, 255, 0.08);
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
.e-checkbox-wrapper {
|
|
953
|
+
height: 100%;
|
|
954
|
+
|
|
955
|
+
display: flex;
|
|
956
|
+
flex-flow: row nowrap;
|
|
957
|
+
align-items: center;
|
|
958
|
+
|
|
959
|
+
.e-frame {
|
|
960
|
+
flex: none;
|
|
961
|
+
margin: 5px;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.e-label {
|
|
965
|
+
margin: 0;
|
|
966
|
+
padding: 0 6px;
|
|
967
|
+
|
|
968
|
+
color: #44566c !important;
|
|
969
|
+
font-family: Arial;
|
|
970
|
+
font-size: 11px !important;
|
|
971
|
+
font-style: normal;
|
|
972
|
+
font-weight: 400;
|
|
973
|
+
line-height: 14px;
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
}
|
|
@@ -1,39 +1,37 @@
|
|
|
1
1
|
.e-radio-wrapper {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
color: #6c757d;
|
|
2
|
+
.e-radio:disabled + label {
|
|
3
|
+
&::before {
|
|
4
|
+
border-color: rgba(209, 209, 209, 0.5);
|
|
5
|
+
background-color: rgba(234, 237, 240, 0.35);
|
|
6
|
+
}
|
|
8
7
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
.e-radio:checked + label {
|
|
9
|
+
&::before {
|
|
10
|
+
background-color: var(--rs-active-color);
|
|
11
|
+
border-color: var(--rs-active-color);
|
|
12
|
+
box-shadow: none;
|
|
13
|
+
}
|
|
14
|
+
&::after {
|
|
15
|
+
content: "" !important;
|
|
16
|
+
display: block;
|
|
17
|
+
width: 11px;
|
|
18
|
+
height: 8px;
|
|
19
|
+
background-image: url("/assets/img/checked-vector.svg");
|
|
20
|
+
background-size: cover;
|
|
21
|
+
background-position: center;
|
|
22
|
+
background-color: transparent;
|
|
23
|
+
transform: scale(1);
|
|
24
|
+
left: 2px;
|
|
25
|
+
top: 3px;
|
|
26
|
+
border: 0;
|
|
27
|
+
border-radius: 0;
|
|
28
|
+
}
|
|
15
29
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
background-size: cover;
|
|
23
|
-
background-position: center;
|
|
24
|
-
background-color: transparent;
|
|
25
|
-
transform: scale(1);
|
|
26
|
-
left: 2px;
|
|
27
|
-
top: 3px;
|
|
28
|
-
border: 0;
|
|
29
|
-
border-radius: 0;
|
|
30
|
+
.e-label {
|
|
31
|
+
color: var(--rs-label-color);
|
|
32
|
+
font-family: var(--rs-font-family);
|
|
33
|
+
font-size: var(--rs-font-size);
|
|
34
|
+
font-weight: 400;
|
|
35
|
+
line-height: 14px;
|
|
30
36
|
}
|
|
31
|
-
}
|
|
32
|
-
.e-label {
|
|
33
|
-
color: var(--rs-label-color) !important;
|
|
34
|
-
font-family: var(--rs-font-family) !important;
|
|
35
|
-
font-size: var(--rs-font-size) !important;
|
|
36
|
-
font-weight: 400 !important;
|
|
37
|
-
line-height: 14px !important;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
37
|
+
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { Component, HostBinding, Input, ViewChild, } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@angular/material/menu";
|
|
5
|
-
export class ToolbarItemComponent {
|
|
6
|
-
image;
|
|
7
|
-
text;
|
|
8
|
-
disabled;
|
|
9
|
-
children = [];
|
|
10
|
-
disabledOptions = {};
|
|
11
|
-
buttonElement;
|
|
12
|
-
get hostDisabled() {
|
|
13
|
-
return !!this.disabled;
|
|
14
|
-
}
|
|
15
|
-
// 暴露方法供父组件调用
|
|
16
|
-
getWidth() {
|
|
17
|
-
return this.buttonElement.nativeElement.offsetWidth;
|
|
18
|
-
}
|
|
19
|
-
ImageType = [
|
|
20
|
-
"Add",
|
|
21
|
-
"Delete",
|
|
22
|
-
"Import",
|
|
23
|
-
"Export",
|
|
24
|
-
"Upload",
|
|
25
|
-
"Download",
|
|
26
|
-
"Duplicate",
|
|
27
|
-
"Refresh",
|
|
28
|
-
];
|
|
29
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarItemComponent, selector: "rs-toolbar-item", inputs: { image: "image", text: "text", disabled: "disabled", children: "children", disabledOptions: "disabledOptions" }, host: { properties: { "class.disabled": "this.hostDisabled" } }, viewQueries: [{ propertyName: "buttonElement", first: true, predicate: ["buttonElement"], descendants: true }], ngImport: i0, template: "<button\r\n *ngIf=\"!children.length\"\r\n class=\"toolbar-action-item e-btn text\"\r\n #buttonElement\r\n [disabled]=\"!!disabled\"\r\n>\r\n <span class=\"toolbar-action-image\" [attr.data-type]=\"image\">\r\n <img *ngIf=\"!ImageType.includes(image)\" [src]=\"image\" />\r\n </span>\r\n <span>{{ text }}</span>\r\n</button>\r\n\r\n<button\r\n *ngIf=\"children.length\"\r\n class=\"toolbar-action-item e-btn text\"\r\n #buttonElement\r\n mat-menu-item\r\n [matMenuTriggerFor]=\"menu\"\r\n [disabled]=\"!!disabled\"\r\n>\r\n <span class=\"toolbar-action-image\" [attr.data-type]=\"image\">\r\n <img *ngIf=\"!ImageType.includes(image)\" [src]=\"image\" />\r\n </span>\r\n <span>{{ text }}</span>\r\n</button>\r\n<mat-menu #menu=\"matMenu\">\r\n <ng-container *ngFor=\"let button of children\">\r\n <button\r\n class=\"toolbar-action-item e-btn text\"\r\n [disabled]=\"(button.key && disabledOptions[button.key]) || false\"\r\n (click)=\"button.action()\"\r\n >\r\n <span class=\"toolbar-action-image\" [attr.data-type]=\"button.image\">\r\n <img *ngIf=\"!ImageType.includes(button.image)\" [src]=\"button.image\" />\r\n </span>\r\n <span>{{ button.text }}</span>\r\n </button>\r\n </ng-container>\r\n</mat-menu>\r\n", styles: ["rs-toolbar-item.disabled{pointer-events:none}.toolbar-action-item{min-width:auto;padding:4px 8px}.toolbar-action-item .toolbar-action-image{height:16px;display:flex;flex-flow:row nowrap;justify-content:center;align-items:center}.toolbar-action-item .toolbar-action-image:before{display:block;width:16px;height:16px;line-height:16px}.toolbar-action-item .toolbar-action-image[data-type=Add]:before{content:url(/assets/img/toolbar-action-add.svg)}.toolbar-action-item .toolbar-action-image[data-type=Delete]:before{content:url(/assets/img/toolbar-action-delete.svg)}.toolbar-action-item .toolbar-action-image[data-type=Import]:before{content:url(/assets/img/toolbar-action-import.svg)}.toolbar-action-item .toolbar-action-image[data-type=Upload]:before{content:url(/assets/img/toolbar-action-upload.svg)}.toolbar-action-item .toolbar-action-image[data-type=Download]:before{content:url(/assets/img/toolbar-action-download.svg)}.toolbar-action-item .toolbar-action-image[data-type=Export]:before{content:url(/assets/img/toolbar-action-export.svg)}.toolbar-action-item .toolbar-action-image[data-type=Duplicate]:before{content:url(/assets/img/toolbar-action-duplicate.svg)}.toolbar-action-item .toolbar-action-image[data-type=Refresh]:before{content:url(/assets/img/toolbar-action-refresh.svg)}.toolbar-action-item .toolbar-action-image img{height:16px;display:block}.toolbar-action-item.e-btn{width:100%;justify-content:flex-start}.toolbar-action-item ::ng-deep .mat-mdc-menu-item-text{display:flex;gap:6px;align-items:center}.toolbar-action-item.mat-mdc-menu-item{min-height:24px}.toolbar-action-item.mat-menu-item:after{display:none}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }] });
|
|
31
|
-
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarItemComponent, decorators: [{
|
|
33
|
-
type: Component,
|
|
34
|
-
args: [{ selector: "rs-toolbar-item", template: "<button\r\n *ngIf=\"!children.length\"\r\n class=\"toolbar-action-item e-btn text\"\r\n #buttonElement\r\n [disabled]=\"!!disabled\"\r\n>\r\n <span class=\"toolbar-action-image\" [attr.data-type]=\"image\">\r\n <img *ngIf=\"!ImageType.includes(image)\" [src]=\"image\" />\r\n </span>\r\n <span>{{ text }}</span>\r\n</button>\r\n\r\n<button\r\n *ngIf=\"children.length\"\r\n class=\"toolbar-action-item e-btn text\"\r\n #buttonElement\r\n mat-menu-item\r\n [matMenuTriggerFor]=\"menu\"\r\n [disabled]=\"!!disabled\"\r\n>\r\n <span class=\"toolbar-action-image\" [attr.data-type]=\"image\">\r\n <img *ngIf=\"!ImageType.includes(image)\" [src]=\"image\" />\r\n </span>\r\n <span>{{ text }}</span>\r\n</button>\r\n<mat-menu #menu=\"matMenu\">\r\n <ng-container *ngFor=\"let button of children\">\r\n <button\r\n class=\"toolbar-action-item e-btn text\"\r\n [disabled]=\"(button.key && disabledOptions[button.key]) || false\"\r\n (click)=\"button.action()\"\r\n >\r\n <span class=\"toolbar-action-image\" [attr.data-type]=\"button.image\">\r\n <img *ngIf=\"!ImageType.includes(button.image)\" [src]=\"button.image\" />\r\n </span>\r\n <span>{{ button.text }}</span>\r\n </button>\r\n </ng-container>\r\n</mat-menu>\r\n", styles: ["rs-toolbar-item.disabled{pointer-events:none}.toolbar-action-item{min-width:auto;padding:4px 8px}.toolbar-action-item .toolbar-action-image{height:16px;display:flex;flex-flow:row nowrap;justify-content:center;align-items:center}.toolbar-action-item .toolbar-action-image:before{display:block;width:16px;height:16px;line-height:16px}.toolbar-action-item .toolbar-action-image[data-type=Add]:before{content:url(/assets/img/toolbar-action-add.svg)}.toolbar-action-item .toolbar-action-image[data-type=Delete]:before{content:url(/assets/img/toolbar-action-delete.svg)}.toolbar-action-item .toolbar-action-image[data-type=Import]:before{content:url(/assets/img/toolbar-action-import.svg)}.toolbar-action-item .toolbar-action-image[data-type=Upload]:before{content:url(/assets/img/toolbar-action-upload.svg)}.toolbar-action-item .toolbar-action-image[data-type=Download]:before{content:url(/assets/img/toolbar-action-download.svg)}.toolbar-action-item .toolbar-action-image[data-type=Export]:before{content:url(/assets/img/toolbar-action-export.svg)}.toolbar-action-item .toolbar-action-image[data-type=Duplicate]:before{content:url(/assets/img/toolbar-action-duplicate.svg)}.toolbar-action-item .toolbar-action-image[data-type=Refresh]:before{content:url(/assets/img/toolbar-action-refresh.svg)}.toolbar-action-item .toolbar-action-image img{height:16px;display:block}.toolbar-action-item.e-btn{width:100%;justify-content:flex-start}.toolbar-action-item ::ng-deep .mat-mdc-menu-item-text{display:flex;gap:6px;align-items:center}.toolbar-action-item.mat-mdc-menu-item{min-height:24px}.toolbar-action-item.mat-menu-item:after{display:none}\n"] }]
|
|
35
|
-
}], propDecorators: { image: [{
|
|
36
|
-
type: Input,
|
|
37
|
-
args: ["image"]
|
|
38
|
-
}], text: [{
|
|
39
|
-
type: Input,
|
|
40
|
-
args: ["text"]
|
|
41
|
-
}], disabled: [{
|
|
42
|
-
type: Input,
|
|
43
|
-
args: ["disabled"]
|
|
44
|
-
}], children: [{
|
|
45
|
-
type: Input,
|
|
46
|
-
args: ["children"]
|
|
47
|
-
}], disabledOptions: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}], buttonElement: [{
|
|
50
|
-
type: ViewChild,
|
|
51
|
-
args: ["buttonElement", { static: false }]
|
|
52
|
-
}], hostDisabled: [{
|
|
53
|
-
type: HostBinding,
|
|
54
|
-
args: ["class.disabled"]
|
|
55
|
-
}] } });
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcmFpc2UtY29tbW9uLWxpYi9zcmMvbGliL2Zvcm0vdG9vbGJhci1pdGVtL2luZGV4LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3JhaXNlLWNvbW1vbi1saWIvc3JjL2xpYi9mb3JtL3Rvb2xiYXItaXRlbS9pbmRleC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUVULFdBQVcsRUFDWCxLQUFLLEVBQ0wsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDOzs7O0FBT3ZCLE1BQU0sT0F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