@oix1987/yjd 1.0.0 → 1.0.2
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 +73 -22
- package/dist/rich-editor.esm.js +2 -0
- package/dist/rich-editor.esm.js.map +1 -0
- package/dist/rich-editor.min.js +2 -0
- package/dist/rich-editor.min.js.map +1 -0
- package/package.json +12 -7
- package/index.js +0 -221
- package/lib/core/editor.js +0 -1175
- package/lib/core/format.js +0 -542
- package/lib/core/module.js +0 -81
- package/lib/core/registry.js +0 -152
- package/lib/formats/background.js +0 -212
- package/lib/formats/bold.js +0 -67
- package/lib/formats/capitalization.js +0 -563
- package/lib/formats/color.js +0 -165
- package/lib/formats/emoji.js +0 -282
- package/lib/formats/font-family.js +0 -547
- package/lib/formats/heading.js +0 -502
- package/lib/formats/image.js +0 -344
- package/lib/formats/import.js +0 -385
- package/lib/formats/indent.js +0 -297
- package/lib/formats/italic.js +0 -27
- package/lib/formats/line-height.js +0 -558
- package/lib/formats/link.js +0 -251
- package/lib/formats/list.js +0 -635
- package/lib/formats/strike.js +0 -31
- package/lib/formats/subscript.js +0 -36
- package/lib/formats/superscript.js +0 -35
- package/lib/formats/table.js +0 -288
- package/lib/formats/tag.js +0 -304
- package/lib/formats/text-align.js +0 -421
- package/lib/formats/text-size.js +0 -497
- package/lib/formats/underline.js +0 -30
- package/lib/formats/video.js +0 -372
- package/lib/modules/block-toolbar.js +0 -628
- package/lib/modules/code-view.js +0 -434
- package/lib/modules/history.js +0 -410
- package/lib/modules/resize-handles.js +0 -677
- package/lib/modules/table-toolbar.js +0 -618
- package/lib/modules/toolbar.js +0 -424
- package/lib/styles-loader.js +0 -144
- package/lib/styles.css +0 -2123
- package/lib/ui/color-picker.js +0 -296
- package/lib/ui/customselect.js +0 -319
- package/lib/ui/emoji-picker.js +0 -196
- package/lib/ui/icons.js +0 -413
- package/lib/ui/image-popup.js +0 -444
- package/lib/ui/import-popup.js +0 -288
- package/lib/ui/link-popup.js +0 -191
- package/lib/ui/list-picker.js +0 -307
- package/lib/ui/select-button.js +0 -61
- package/lib/ui/table-popup.js +0 -171
- package/lib/ui/tag-popup.js +0 -249
- package/lib/ui/text-align-picker.js +0 -281
- package/lib/ui/video-popup.js +0 -422
- package/lib/utils/history-helper.js +0 -50
- package/lib/utils/popup-helper.js +0 -219
- package/lib/utils/popup-positioning.js +0 -231
package/lib/ui/icons.js
DELETED
|
@@ -1,413 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Inline Icons - All SVG icons as inline strings
|
|
3
|
-
*/
|
|
4
|
-
export const Icons = {
|
|
5
|
-
// Text formatting
|
|
6
|
-
bold: `<svg xmlns="http://www.w3.org/2000/svg" width="11" height="14" viewBox="0 0 11 14" fill="none">
|
|
7
|
-
<path d="M0 1.72875C0 1.24281 0.407135 0.85022 0.911072 0.85022H2.27768H2.73322H6.3775C8.3904 0.85022 10.0218 2.42334 10.0218 4.36435C10.0218 5.22367 9.70007 6.01435 9.16766 6.62383C10.2239 7.23881 10.9329 8.35619 10.9329 9.63556C10.9329 11.5766 9.30147 13.1497 7.28857 13.1497H2.73322H2.27768H0.911072C0.407135 13.1497 0 12.7571 0 12.2712C0 11.7852 0.407135 11.3926 0.911072 11.3926H1.36661V6.99995V2.60729H0.911072C0.407135 2.60729 0 2.21469 0 1.72875ZM6.3775 6.12142C7.38253 6.12142 8.19965 5.33349 8.19965 4.36435C8.19965 3.39522 7.38253 2.60729 6.3775 2.60729H3.18875V6.12142H6.3775ZM3.18875 7.87849V11.3926H7.28857C8.2936 11.3926 9.11072 10.6047 9.11072 9.63556C9.11072 8.66642 8.2936 7.87849 7.28857 7.87849H6.3775H3.18875Z" fill="#454545"/>
|
|
8
|
-
</svg>`,
|
|
9
|
-
|
|
10
|
-
italic: `<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
|
|
11
|
-
<path d="M4.31684 1.02168C4.31684 0.562739 4.6949 0.191956 5.16284 0.191956H10.2388C10.7067 0.191956 11.0848 0.562739 11.0848 1.02168C11.0848 1.48062 10.7067 1.85141 10.2388 1.85141H8.68694L5.16284 10.1487H6.85483C7.32277 10.1487 7.70082 10.5195 7.70082 10.9784C7.70082 11.4373 7.32277 11.8081 6.85483 11.8081H1.77886C1.31092 11.8081 0.932861 11.4373 0.932861 10.9784C0.932861 10.5195 1.31092 10.1487 1.77886 10.1487H3.33073L6.85483 1.85141H5.16284C4.6949 1.85141 4.31684 1.48062 4.31684 1.02168Z" fill="#454545"/>
|
|
12
|
-
</svg>`,
|
|
13
|
-
|
|
14
|
-
underline: `<!-- Underline icon SVG - to be filled by user -->
|
|
15
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
|
|
16
|
-
<path d="M0.475176 1.02168C0.475176 0.562739 0.824149 0.191956 1.25609 0.191956H3.59885C4.0308 0.191956 4.37977 0.562739 4.37977 1.02168C4.37977 1.48062 4.0308 1.85141 3.59885 1.85141H3.20839V5.17031C3.20839 6.54455 4.25775 7.65949 5.55115 7.65949C6.84454 7.65949 7.8939 6.54455 7.8939 5.17031V1.85141H7.50344C7.0715 1.85141 6.72253 1.48062 6.72253 1.02168C6.72253 0.562739 7.0715 0.191956 7.50344 0.191956H9.8462C10.2781 0.191956 10.6271 0.562739 10.6271 1.02168C10.6271 1.48062 10.2781 1.85141 9.8462 1.85141H9.45574V5.17031C9.45574 7.46243 7.70844 9.31894 5.55115 9.31894C3.39386 9.31894 1.64655 7.46243 1.64655 5.17031V1.85141H1.25609C0.824149 1.85141 0.475176 1.48062 0.475176 1.02168ZM0.0847168 10.9784C0.0847168 10.5195 0.43369 10.1487 0.865636 10.1487H10.2367C10.6686 10.1487 11.0176 10.5195 11.0176 10.9784C11.0176 11.4373 10.6686 11.8081 10.2367 11.8081H0.865636C0.43369 11.8081 0.0847168 11.4373 0.0847168 10.9784Z" fill="#454545"/>
|
|
17
|
-
</svg>`,
|
|
18
|
-
|
|
19
|
-
strike: `<!-- Strike icon SVG - to be filled by user -->
|
|
20
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16" viewBox="0 0 15 16" fill="none">
|
|
21
|
-
<g clip-path="url(#clip0_3_45)">
|
|
22
|
-
<path d="M5.28358 4.92512C5.37144 4.4529 5.66794 4.09874 6.20879 3.86538C6.78807 3.6183 7.63091 3.5277 8.64123 3.68693C8.96793 3.73909 9.98099 3.93676 10.2912 4.01638C10.7607 4.13993 11.2411 3.86264 11.3674 3.39317C11.4937 2.92371 11.2137 2.44326 10.7442 2.31697C10.3516 2.21264 9.27267 2.00399 8.91577 1.94908C7.68857 1.7569 6.49157 1.83378 5.51969 2.24833C4.51761 2.67662 3.75164 3.47828 3.54848 4.64508C3.54573 4.66156 3.54299 4.67528 3.54299 4.69175C3.46612 5.34791 3.55672 5.94367 3.82028 6.46529C3.94382 6.71238 4.10031 6.92927 4.27876 7.12145H1.73376C1.24782 7.12145 0.855225 7.51404 0.855225 7.99998C0.855225 8.48592 1.24782 8.87852 1.73376 8.87852H14.0332C14.5192 8.87852 14.9118 8.48592 14.9118 7.99998C14.9118 7.51404 14.5192 7.12145 14.0332 7.12145H8.2706L8.25962 7.1187L8.22942 7.11047C7.24107 6.81396 6.4394 6.57237 5.89032 6.20173C5.635 6.02877 5.47851 5.85581 5.39065 5.67736C5.30555 5.50989 5.24789 5.27653 5.28633 4.92512H5.28358ZM10.434 10.2293C10.5081 10.4077 10.5548 10.663 10.4861 11.0556C10.4038 11.5388 10.1073 11.9012 9.55545 12.1373C8.97617 12.3844 8.13607 12.475 7.12576 12.3158C6.63158 12.2362 5.77776 11.9451 5.08317 11.709C4.92942 11.6569 4.78117 11.6075 4.64665 11.5608C4.18542 11.407 3.6885 11.6569 3.53475 12.1181C3.38101 12.5793 3.63084 13.0763 4.09207 13.23C4.19091 13.2629 4.30896 13.3041 4.44074 13.3481C5.12435 13.5814 6.18682 13.9438 6.84573 14.0509H6.85122C8.07842 14.2431 9.27542 14.1662 10.2473 13.7516C11.2494 13.3233 12.0153 12.5217 12.2185 11.3549C12.3173 10.7783 12.2926 10.2457 12.1334 9.75979H10.0551C10.2473 9.91354 10.3681 10.0673 10.4367 10.232L10.434 10.2293Z" fill="#454545"/>
|
|
23
|
-
</g>
|
|
24
|
-
<defs>
|
|
25
|
-
<clipPath id="clip0_3_45">
|
|
26
|
-
<rect width="14.0565" height="14.0565" fill="white" transform="translate(0.855225 0.971741)"/>
|
|
27
|
-
</clipPath>
|
|
28
|
-
</defs>
|
|
29
|
-
</svg>`,
|
|
30
|
-
|
|
31
|
-
subscript: `<!-- Subscript icon SVG - to be filled by user -->
|
|
32
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="14" viewBox="0 0 15 14" fill="none">
|
|
33
|
-
<g clip-path="url(#clip0_26_737)">
|
|
34
|
-
<path d="M1.50049 1.75C1.0165 1.75 0.625488 2.14102 0.625488 2.625C0.625488 3.10898 1.0165 3.5 1.50049 3.5H1.91885L4.36885 7L1.91885 10.5H1.50049C1.0165 10.5 0.625488 10.891 0.625488 11.375C0.625488 11.859 1.0165 12.25 1.50049 12.25H2.37549C2.65986 12.25 2.92783 12.1105 3.09189 11.8781L5.43799 8.52578L7.78408 11.8781C7.94814 12.1133 8.21611 12.25 8.50049 12.25H9.37549C9.85947 12.25 10.2505 11.859 10.2505 11.375C10.2505 10.891 9.85947 10.5 9.37549 10.5H8.95713L6.50713 7L8.95713 3.5H9.37549C9.85947 3.5 10.2505 3.10898 10.2505 2.625C10.2505 2.14102 9.85947 1.75 9.37549 1.75H8.50049C8.21611 1.75 7.94814 1.88945 7.78408 2.12187L5.43799 5.47422L3.09189 2.12187C2.92783 1.88945 2.65986 1.75 2.37549 1.75H1.50049ZM13.7505 8.75C13.7505 8.44648 13.5946 8.16484 13.3349 8.00625C13.0751 7.84766 12.7552 7.83125 12.4845 7.96797L11.6095 8.40547C11.1774 8.62148 11.0024 9.14648 11.2185 9.57852C11.3716 9.88477 11.6806 10.0625 12.0005 10.0625V12.25C11.5165 12.25 11.1255 12.641 11.1255 13.125C11.1255 13.609 11.5165 14 12.0005 14H12.8755H13.7505C14.2345 14 14.6255 13.609 14.6255 13.125C14.6255 12.641 14.2345 12.25 13.7505 12.25V8.75Z" fill="#454545"/>
|
|
35
|
-
</g>
|
|
36
|
-
<defs>
|
|
37
|
-
<clipPath id="clip0_26_737">
|
|
38
|
-
<rect width="14" height="14" fill="white" transform="translate(0.625488)"/>
|
|
39
|
-
</clipPath>
|
|
40
|
-
</defs>
|
|
41
|
-
</svg>`,
|
|
42
|
-
|
|
43
|
-
superscript: `<!-- Superscript icon SVG - to be filled by user -->
|
|
44
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="14" viewBox="0 0 15 14" fill="none">
|
|
45
|
-
<g clip-path="url(#clip0_26_735)">
|
|
46
|
-
<path d="M13.7505 0.874642C13.7505 0.571127 13.5946 0.289486 13.3349 0.130892C13.0751 -0.0277016 12.7552 -0.0441078 12.4845 0.092611L11.6095 0.530111C11.1774 0.746127 11.0024 1.27113 11.2185 1.70316C11.3716 2.00941 11.6806 2.18714 12.0005 2.18714V4.37464C11.5165 4.37464 11.1255 4.76566 11.1255 5.24964C11.1255 5.73363 11.5165 6.12464 12.0005 6.12464H12.8755H13.7505C14.2345 6.12464 14.6255 5.73363 14.6255 5.24964C14.6255 4.76566 14.2345 4.37464 13.7505 4.37464V0.874642ZM1.50049 1.74964C1.0165 1.74964 0.625488 2.14066 0.625488 2.62464C0.625488 3.10863 1.0165 3.49964 1.50049 3.49964H1.91885L4.36885 6.99964L1.91885 10.4996H1.50049C1.0165 10.4996 0.625488 10.8907 0.625488 11.3746C0.625488 11.8586 1.0165 12.2496 1.50049 12.2496H2.37549C2.65986 12.2496 2.92783 12.1102 3.09189 11.8778L5.43799 8.52542L7.78408 11.8778C7.94814 12.1129 8.21611 12.2496 8.50049 12.2496H9.37549C9.85947 12.2496 10.2505 11.8586 10.2505 11.3746C10.2505 10.8907 9.85947 10.4996 9.37549 10.4996H8.95713L6.50713 6.99964L8.95713 3.49964H9.37549C9.85947 3.49964 10.2505 3.10863 10.2505 2.62464C10.2505 2.14066 9.85947 1.74964 9.37549 1.74964H8.50049C8.21611 1.74964 7.94814 1.8891 7.78408 2.12152L5.43799 5.47386L3.09189 2.12152C2.92783 1.8891 2.65986 1.74964 2.37549 1.74964H1.50049Z" fill="#454545"/>
|
|
47
|
-
</g>
|
|
48
|
-
<defs>
|
|
49
|
-
<clipPath id="clip0_26_735">
|
|
50
|
-
<rect width="14" height="14" fill="white" transform="translate(0.625488)"/>
|
|
51
|
-
</clipPath>
|
|
52
|
-
</defs>
|
|
53
|
-
</svg>`,
|
|
54
|
-
|
|
55
|
-
// Alignment
|
|
56
|
-
'align-left': `<svg xmlns="http://www.w3.org/2000/svg" width="13" height="16" viewBox="0 0 13 16" fill="none">
|
|
57
|
-
<path d="M8.35714 2C8.35714 2.55313 7.94219 3 7.42857 3H0.928571C0.414955 3 0 2.55313 0 2C0 1.44687 0.414955 1 0.928571 1H7.42857C7.94219 1 8.35714 1.44687 8.35714 2ZM8.35714 10C8.35714 10.5531 7.94219 11 7.42857 11H0.928571C0.414955 11 0 10.5531 0 10C0 9.44687 0.414955 9 0.928571 9H7.42857C7.94219 9 8.35714 9.44687 8.35714 10ZM0 6C0 5.44688 0.414955 5 0.928571 5H12.0714C12.585 5 13 5.44688 13 6C13 6.55312 12.585 7 12.0714 7H0.928571C0.414955 7 0 6.55312 0 6ZM13 14C13 14.5531 12.585 15 12.0714 15H0.928571C0.414955 15 0 14.5531 0 14C0 13.4469 0.414955 13 0.928571 13H12.0714C12.585 13 13 13.4469 13 14Z" fill="#454545"/>
|
|
58
|
-
</svg>`,
|
|
59
|
-
|
|
60
|
-
'align-center': `<svg xmlns="http://www.w3.org/2000/svg" width="14" height="15" viewBox="0 0 14 15" fill="none">
|
|
61
|
-
<g clip-path="url(#clip0_12_238)">
|
|
62
|
-
<path d="M11 1.875C11 1.35645 10.5531 0.9375 10 0.9375H4C3.44688 0.9375 3 1.35645 3 1.875C3 2.39355 3.44688 2.8125 4 2.8125H10C10.5531 2.8125 11 2.39355 11 1.875ZM14 5.625C14 5.10645 13.5531 4.6875 13 4.6875H1C0.446875 4.6875 0 5.10645 0 5.625C0 6.14355 0.446875 6.5625 1 6.5625H13C13.5531 6.5625 14 6.14355 14 5.625ZM0 13.125C0 13.6436 0.446875 14.0625 1 14.0625H13C13.5531 14.0625 14 13.6436 14 13.125C14 12.6064 13.5531 12.1875 13 12.1875H1C0.446875 12.1875 0 12.6064 0 13.125ZM11 9.375C11 8.85645 10.5531 8.4375 10 8.4375H4C3.44688 8.4375 3 8.85645 3 9.375C3 9.89355 3.44688 10.3125 4 10.3125H10C10.5531 10.3125 11 9.89355 11 9.375Z" fill="#454545"/>
|
|
63
|
-
</g>
|
|
64
|
-
<defs>
|
|
65
|
-
<clipPath id="clip0_12_238">
|
|
66
|
-
<rect width="14" height="15" fill="white"/>
|
|
67
|
-
</clipPath>
|
|
68
|
-
</defs>
|
|
69
|
-
</svg>`,
|
|
70
|
-
|
|
71
|
-
'align-right': `<svg xmlns="http://www.w3.org/2000/svg" width="14" height="15" viewBox="0 0 14 15" fill="none">
|
|
72
|
-
<g clip-path="url(#clip0_12_244)">
|
|
73
|
-
<path d="M14 1.875C14 2.39355 13.5531 2.8125 13 2.8125H6C5.44688 2.8125 5 2.39355 5 1.875C5 1.35645 5.44688 0.9375 6 0.9375H13C13.5531 0.9375 14 1.35645 14 1.875ZM14 9.375C14 9.89355 13.5531 10.3125 13 10.3125H6C5.44688 10.3125 5 9.89355 5 9.375C5 8.85645 5.44688 8.4375 6 8.4375H13C13.5531 8.4375 14 8.85645 14 9.375ZM0 5.625C0 5.10645 0.446875 4.6875 1 4.6875H13C13.5531 4.6875 14 5.10645 14 5.625C14 6.14355 13.5531 6.5625 13 6.5625H1C0.446875 6.5625 0 6.14355 0 5.625ZM14 13.125C14 13.6436 13.5531 14.0625 13 14.0625H1C0.446875 14.0625 0 13.6436 0 13.125C0 12.6064 0.446875 12.1875 1 12.1875H13C13.5531 12.1875 14 12.6064 14 13.125Z" fill="#454545"/>
|
|
74
|
-
</g>
|
|
75
|
-
<defs>
|
|
76
|
-
<clipPath id="clip0_12_244">
|
|
77
|
-
<rect width="14" height="15" fill="white"/>
|
|
78
|
-
</clipPath>
|
|
79
|
-
</defs>
|
|
80
|
-
</svg>`,
|
|
81
|
-
|
|
82
|
-
'align-justify': `<svg xmlns="http://www.w3.org/2000/svg" width="14" height="15" viewBox="0 0 14 15" fill="none">
|
|
83
|
-
<g clip-path="url(#clip0_12_240)">
|
|
84
|
-
<path d="M14 1.875C14 1.35645 13.5531 0.9375 13 0.9375H1C0.446875 0.9375 0 1.35645 0 1.875C0 2.39355 0.446875 2.8125 1 2.8125H13C13.5531 2.8125 14 2.39355 14 1.875ZM14 9.375C14 8.85645 13.5531 8.4375 13 8.4375H1C0.446875 8.4375 0 8.85645 0 9.375C0 9.89355 0.446875 10.3125 1 10.3125H13C13.5531 10.3125 14 9.89355 14 9.375ZM0 5.625C0 6.14355 0.446875 6.5625 1 6.5625H13C13.5531 6.5625 14 6.14355 14 5.625C14 5.10645 13.5531 4.6875 13 4.6875H1C0.446875 4.6875 0 5.10645 0 5.625ZM14 13.125C14 12.6064 13.5531 12.1875 13 12.1875H1C0.446875 12.1875 0 12.6064 0 13.125C0 13.6436 0.446875 14.0625 1 14.0625H13C13.5531 14.0625 14 13.6436 14 13.125Z" fill="#454545"/>
|
|
85
|
-
</g>
|
|
86
|
-
<defs>
|
|
87
|
-
<clipPath id="clip0_12_240">
|
|
88
|
-
<rect width="14" height="15" fill="white"/>
|
|
89
|
-
</clipPath>
|
|
90
|
-
</defs>
|
|
91
|
-
</svg>`,
|
|
92
|
-
|
|
93
|
-
// Lists
|
|
94
|
-
'list-bullet': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M64 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM64 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm48-208a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z"/></svg>`,
|
|
95
|
-
|
|
96
|
-
'list-ordered': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M24 56c0-13.3 10.7-24 24-24l32 0c13.3 0 24 10.7 24 24l0 120 16 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l16 0 0-96-8 0C34.7 80 24 69.3 24 56zM86.7 341.2c-6.5-7.4-18.3-6.9-24 1.2L51.5 357.9c-7.7 10.8-22.7 13.3-33.5 5.6s-13.3-22.7-5.6-33.5l11.1-15.6c23.7-33.2 72.3-35.6 99.2-4.9c21.3 24.4 20.8 60.9-1.1 84.7L86.8 432l33.2 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-88 0c-9.5 0-18.2-5.6-22-14.4s-2.1-18.9 4.3-25.9l72-78c5.3-5.8 5.4-14.6 .3-20.5zM224 64l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"/></svg>`,
|
|
97
|
-
|
|
98
|
-
'list-check': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M152.1 38.2c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L7 113C-2.3 103.6-2.3 88.4 7 79s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zm0 160c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L7 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zM224 96c0-17.7 14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32zM160 416c0-17.7 14.3-32 32-32l288 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-288 0c-17.7 0-32-14.3-32-32zM48 368a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"/></svg>`,
|
|
99
|
-
|
|
100
|
-
'list-alpha': `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="14" viewBox="0 0 20 14" fill="none">
|
|
101
|
-
<g clip-path="url(#clip0_28_112)">
|
|
102
|
-
<path d="M9.6648 0.278534H18.8487C19.4853 0.278534 20.0001 0.78256 20.0001 1.40596C20.0001 2.02936 19.4853 2.53339 18.8487 2.53339H9.6648C9.02816 2.53339 8.51343 2.02936 8.51343 1.40596C8.51343 0.78256 9.02816 0.278534 9.6648 0.278534ZM9.6648 5.90241H18.8487C19.4853 5.90241 20.0001 6.40644 20.0001 7.02984C20.0001 7.65324 19.4853 8.15726 18.8487 8.15726H9.6648C9.02816 8.15726 8.51343 7.65324 8.51343 7.02984C8.51343 6.40644 9.02816 5.90241 9.6648 5.90241ZM9.6648 11.5197H18.8487C19.4853 11.5197 20.0001 12.0237 20.0001 12.6471C20.0001 13.2705 19.4853 13.7745 18.8487 13.7745H9.6648C9.02816 13.7745 8.51343 13.2705 8.51343 12.6471C8.51343 12.0237 9.02816 11.5197 9.6648 11.5197Z" fill="#010101"/>
|
|
103
|
-
<path d="M1.80823 9.37091C2.07914 9.04595 2.60742 8.88678 3.18988 8.88678C4.6257 8.88678 5.51294 9.99431 5.51294 11.4401C5.51294 12.8858 4.61216 13.9934 3.18988 13.9934C2.56001 13.9934 1.97078 13.7215 1.76759 13.4164C1.67278 13.7811 1.46959 13.9536 1.1445 13.9536C0.663632 13.9536 0.460449 13.7016 0.460449 13.2307V7.30175C0.460449 6.81762 0.683951 6.59213 1.13095 6.59213C1.57796 6.59213 1.80823 6.82425 1.80823 7.30175V9.36428V9.37091ZM1.80823 11.4467C1.80823 12.1364 2.30264 12.6802 2.98669 12.6802C3.67074 12.6802 4.16516 12.1364 4.16516 11.4467C4.16516 10.757 3.67074 10.2132 2.98669 10.2132C2.30264 10.2132 1.80823 10.7769 1.80823 11.4467Z" fill="#231F20"/>
|
|
104
|
-
<path d="M3.77237 0.58361C3.84687 0.258645 4.04328 0.092847 4.38192 0.092847C4.82215 0.092847 5.04565 0.311701 5.04565 0.762672V4.34391C5.04565 4.82804 4.82215 5.06679 4.3616 5.06679C4.04328 5.06679 3.8401 4.88773 3.73851 4.52961C3.53532 4.83468 2.94609 5.10658 2.31623 5.10658C0.893943 5.10658 -0.00683594 3.97252 -0.00683594 2.55329C-0.00683594 1.13406 0.88717 0 2.323 0C2.96641 0 3.52855 0.179062 3.77914 0.58361H3.77237ZM1.34772 2.55329C1.34772 3.25628 1.84213 3.78683 2.52618 3.78683C3.21023 3.78683 3.70464 3.24964 3.70464 2.55329C3.70464 1.85694 3.21023 1.31975 2.52618 1.31975C1.84213 1.31975 1.34772 1.88347 1.34772 2.55329Z" fill="#231F20"/>
|
|
105
|
-
</g>
|
|
106
|
-
<defs>
|
|
107
|
-
<clipPath id="clip0_28_112">
|
|
108
|
-
<rect width="20" height="14" fill="white"/>
|
|
109
|
-
</clipPath>
|
|
110
|
-
</defs>
|
|
111
|
-
</svg>`,
|
|
112
|
-
|
|
113
|
-
'list-roman': `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="13" viewBox="0 0 19 13" fill="none">
|
|
114
|
-
<g clip-path="url(#clip0_28_165)">
|
|
115
|
-
<path d="M9.89384 0.533844H17.9855C18.5465 0.533844 19 0.979692 19 1.53114C19 2.08258 18.5465 2.52843 17.9855 2.52843H9.89384C9.33291 2.52843 8.87939 2.08258 8.87939 1.53114C8.87939 0.979692 9.33291 0.533844 9.89384 0.533844ZM9.89384 5.50271H17.9855C18.5465 5.50271 19 5.94856 19 6.5C19 7.05144 18.5465 7.49729 17.9855 7.49729H9.89384C9.33291 7.49729 8.87939 7.05144 8.87939 6.5C8.87939 5.94856 9.33291 5.50271 9.89384 5.50271ZM9.89384 10.4774H17.9855C18.5465 10.4774 19 10.9233 19 11.4747C19 12.0262 18.5465 12.472 17.9855 12.472H9.89384C9.33291 12.472 8.87939 12.0262 8.87939 11.4747C8.87939 10.9233 9.33291 10.4774 9.89384 10.4774Z" fill="#010101"/>
|
|
116
|
-
<path d="M2.6495 7.15703C3.06124 7.15703 3.27607 7.35062 3.27607 7.7202C3.27607 8.08979 3.06124 8.28338 2.6495 8.28338H2.23178V11.8678H2.6495C3.06124 11.8678 3.27607 12.0614 3.27607 12.4309C3.27607 12.8005 3.06124 12.9941 2.6495 12.9941H0.62657C0.208857 12.9941 0 12.8064 0 12.4192C0 12.032 0.202889 11.8619 0.62657 11.8619H1.07412V8.27751H0.62657C0.208857 8.27751 0 8.08979 0 7.7026C0 7.31542 0.202889 7.14529 0.62657 7.14529H2.6495V7.15703Z" fill="#231F20"/>
|
|
117
|
-
<path d="M6.33724 7.15703C6.74899 7.15703 6.96381 7.35062 6.96381 7.7202C6.96381 8.08979 6.74899 8.28338 6.33724 8.28338H5.91953V11.8678H6.33724C6.74899 11.8678 6.96381 12.0614 6.96381 12.4309C6.96381 12.8005 6.74899 12.9941 6.33724 12.9941H4.31431C3.8966 12.9941 3.68774 12.8064 3.68774 12.4192C3.68774 12.032 3.89063 11.8619 4.31431 11.8619H4.76186V8.27751H4.31431C3.8966 8.27751 3.68774 8.08979 3.68774 7.7026C3.68774 7.31542 3.89063 7.14529 4.31431 7.14529H6.33724V7.15703Z" fill="#231F20"/>
|
|
118
|
-
<path d="M4.49349 0C4.90524 0 5.12006 0.193592 5.12006 0.563177C5.12006 0.932762 4.90524 1.12635 4.49349 1.12635H4.07578V4.71074H4.49349C4.90524 4.71074 5.12006 4.90433 5.12006 5.27392C5.12006 5.6435 4.90524 5.83709 4.49349 5.83709H2.47056C2.05285 5.83709 1.84399 5.64937 1.84399 5.26218C1.84399 4.875 2.04688 4.70487 2.47056 4.70487H2.91811V1.13222H2.47056C2.05285 1.13222 1.84399 0.944495 1.84399 0.55731C1.84399 0.170126 2.04688 0 2.47056 0H4.49349Z" fill="#231F20"/>
|
|
119
|
-
</g>
|
|
120
|
-
<defs>
|
|
121
|
-
<clipPath id="clip0_28_165">
|
|
122
|
-
<rect width="19" height="13" fill="white"/>
|
|
123
|
-
</clipPath>
|
|
124
|
-
</defs>
|
|
125
|
-
</svg>`,
|
|
126
|
-
|
|
127
|
-
list: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M40 48C26.7 48 16 58.7 16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM16 232l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0z"/></svg>`,
|
|
128
|
-
|
|
129
|
-
// Indentation
|
|
130
|
-
'indent-increase': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M0 64C0 46.3 14.3 32 32 32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64zM192 192c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 96l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zM0 448c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32zM127.8 268.6L25.8 347.9C15.3 356.1 0 348.6 0 335.3L0 176.7c0-13.3 15.3-20.8 25.8-12.6l101.9 79.3c8.2 6.4 8.2 18.9 0 25.3z"/></svg>`,
|
|
131
|
-
|
|
132
|
-
'indent-decrease': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M0 64C0 46.3 14.3 32 32 32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64zM192 192c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 96l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zM0 448c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32zM.2 268.6c-8.2-6.4-8.2-18.9 0-25.3l101.9-79.3c10.5-8.2 25.8-.7 25.8 12.6l0 158.6c0 13.3-15.3 20.8-25.8 12.6L.2 268.6z"/></svg>`,
|
|
133
|
-
|
|
134
|
-
// Media
|
|
135
|
-
image: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M448 80c8.8 0 16 7.2 16 16l0 319.8-5-6.5-136-176c-4.5-5.9-11.6-9.3-19-9.3s-14.4 3.4-19 9.3L202 340.7l-30.5-42.7C167 291.7 159.8 288 152 288s-15 3.7-19.5 10.1l-80 112L48 416.3l0-.3L48 96c0-8.8 7.2-16 16-16l384 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm80 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"/></svg>`,
|
|
136
|
-
|
|
137
|
-
video: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM48 368l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm368-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM48 240l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm368-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM48 112l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16L64 96c-8.8 0-16 7.2-16 16zM416 96c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM160 128l0 64c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-64c0-17.7-14.3-32-32-32L192 96c-17.7 0-32 14.3-32 32zm32 160c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-64c0-17.7-14.3-32-32-32l-128 0z"/></svg>`,
|
|
138
|
-
|
|
139
|
-
// Table
|
|
140
|
-
table: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
141
|
-
<g clip-path="url(#clip0_26_744)">
|
|
142
|
-
<path d="M2.50049 8V5.1875H7.18799V8H2.50049ZM2.50049 9.875H7.18799V12.6875H2.50049V9.875ZM9.06299 12.6875V9.875H13.7505V12.6875H9.06299ZM13.7505 8H9.06299V5.1875H13.7505V8ZM2.50049 1.4375C1.46631 1.4375 0.625488 2.27832 0.625488 3.3125V12.6875C0.625488 13.7217 1.46631 14.5625 2.50049 14.5625H13.7505C14.7847 14.5625 15.6255 13.7217 15.6255 12.6875V3.3125C15.6255 2.27832 14.7847 1.4375 13.7505 1.4375H2.50049Z" fill="#454545"/>
|
|
143
|
-
</g>
|
|
144
|
-
<defs>
|
|
145
|
-
<clipPath id="clip0_26_744">
|
|
146
|
-
<rect width="15" height="15" fill="white" transform="translate(0.625488 0.5)"/>
|
|
147
|
-
</clipPath>
|
|
148
|
-
</defs>
|
|
149
|
-
</svg>`,
|
|
150
|
-
|
|
151
|
-
'table-profile': `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="14" viewBox="0 0 18 14" fill="none">
|
|
152
|
-
<g clip-path="url(#clip0_23_620)">
|
|
153
|
-
<path d="M17.2744 10.9348V2.16365C17.2744 0.994844 16.3413 0.0475311 15.1901 0.0475311H2.35536C1.20413 0.0475311 0.274414 0.991437 0.274414 2.16024V10.9382C0.274414 12.1036 1.20413 13.0509 2.35536 13.0509H15.1935C16.3447 13.0509 17.2744 12.1036 17.2744 10.9382V10.9348ZM2.31844 7.60218H7.66178V10.8803H2.31844V7.60218ZM15.0827 10.8803H9.74273V7.60218H15.0827V10.8803ZM15.0827 5.48947H9.74273V2.21477H15.0827V5.48947ZM2.31844 2.21477H7.66178V5.48947H2.31844V2.21477Z" fill="#454545"/>
|
|
154
|
-
</g>
|
|
155
|
-
<defs>
|
|
156
|
-
<clipPath id="clip0_23_620">
|
|
157
|
-
<rect width="17" height="13" fill="white" transform="translate(0.274414 0.0475311)"/>
|
|
158
|
-
</clipPath>
|
|
159
|
-
</defs>
|
|
160
|
-
</svg>`,
|
|
161
|
-
|
|
162
|
-
'add-row-above': `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="16" viewBox="0 0 18 16" fill="none">
|
|
163
|
-
<path d="M15.6134 2.02472H13.216C13.3691 2.47353 13.4541 2.9566 13.4541 3.4568C13.4541 3.71033 13.4337 3.96043 13.3895 4.20368H15.6508V7.49953H10.7847C10.2678 7.71537 9.70328 7.83528 9.10819 7.83528C8.5131 7.83528 7.94861 7.71537 7.43173 7.49953H2.71859V4.20368H4.82692C4.78271 3.96043 4.76231 3.71033 4.76231 3.4568C4.76231 2.9566 4.84732 2.47353 5.00035 2.02472H2.60637C1.43999 2.02472 0.498047 2.97716 0.498047 4.15229V12.9709C0.498047 14.146 1.43999 15.0951 2.60637 15.0951H15.6134C16.7764 15.0951 17.7217 14.146 17.7217 12.9743V4.14886C17.7217 2.97716 16.7764 2.02472 15.6134 2.02472ZM8.12884 12.9161H2.71859V9.62367H8.12884V12.9161ZM15.6508 12.9161H10.2372V9.62367H15.6508V12.9161Z" fill="#454545"/>
|
|
164
|
-
<path d="M12.2335 2.02479C11.6962 0.832527 10.4992 0 9.1118 0C7.72438 0 6.52739 0.832527 5.99011 2.02479C5.78948 2.4599 5.68066 2.94639 5.68066 3.45687C5.68066 3.71383 5.70787 3.96393 5.76228 4.20375C6.02752 5.4337 6.94566 6.41697 8.13245 6.77328C8.44189 6.86578 8.77174 6.91717 9.1118 6.91717C9.50626 6.91717 9.88712 6.84865 10.2408 6.72531C11.3527 6.33474 12.2063 5.38231 12.4613 4.20375C12.5157 3.96393 12.5429 3.71383 12.5429 3.45687C12.5429 2.94639 12.4341 2.4599 12.2335 2.02479ZM10.8393 3.77549H9.42465V5.1973C9.42465 5.37203 9.28522 5.5125 9.1118 5.5125C8.93837 5.5125 8.79895 5.37203 8.79895 5.1973V3.77549H7.38433C7.2109 3.77549 7.07148 3.6316 7.07148 3.45687C7.07148 3.28214 7.2109 3.14168 7.38433 3.14168H8.79895V1.71987C8.79895 1.54514 8.93837 1.40125 9.1118 1.40125C9.28522 1.40125 9.42465 1.54514 9.42465 1.71987V3.14168H10.8393C11.0127 3.14168 11.1521 3.28214 11.1521 3.45687C11.1521 3.6316 11.0127 3.77549 10.8393 3.77549Z" fill="#454545"/>
|
|
165
|
-
</svg>`,
|
|
166
|
-
|
|
167
|
-
'add-row-below': `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="16" viewBox="0 0 18 16" fill="none">
|
|
168
|
-
<path d="M2.83001 13.0703H5.22738C5.07436 12.6215 4.98935 12.1385 4.98935 11.6383C4.98935 11.3847 5.00975 11.1346 5.05396 10.8914H2.79261V7.59554H7.65876C8.17564 7.3797 8.74013 7.25979 9.33522 7.25979C9.93032 7.25979 10.4948 7.3797 11.0117 7.59554H15.7248V10.8914H13.6165C13.6607 11.1346 13.6811 11.3847 13.6811 11.6383C13.6811 12.1385 13.5961 12.6215 13.4431 13.0703H15.837C17.0034 13.0703 17.9454 12.1179 17.9454 10.9428V2.12416C17.9454 0.949028 17.0034 1.52588e-05 15.837 1.52588e-05H2.83001C1.66703 1.52588e-05 0.72168 0.949028 0.72168 2.12073V10.9462C0.72168 12.1179 1.66703 13.0703 2.83001 13.0703ZM10.3146 2.17898H15.7248V5.4714H10.3146V2.17898ZM2.79261 2.17898H8.20625V5.4714H2.79261V2.17898Z" fill="#454545"/>
|
|
169
|
-
<path d="M6.2135 13.0703C6.75079 14.2625 7.94777 15.095 9.33519 15.095C10.7226 15.095 11.9196 14.2625 12.4569 13.0703C12.6575 12.6351 12.7663 12.1486 12.7663 11.6382C12.7663 11.3812 12.7391 11.1311 12.6847 10.8913C12.4195 9.66135 11.5013 8.67807 10.3145 8.32177C10.0051 8.22926 9.67524 8.17787 9.33519 8.17787C8.94072 8.17787 8.55987 8.24639 8.20621 8.36973C7.09424 8.7603 6.24071 9.71274 5.98567 10.8913C5.93126 11.1311 5.90405 11.3812 5.90405 11.6382C5.90405 12.1486 6.01287 12.6351 6.2135 13.0703ZM7.60772 11.3195H9.02234V9.89774C9.02234 9.72302 9.16176 9.58255 9.33519 9.58255C9.50861 9.58255 9.64803 9.72302 9.64803 9.89774V11.3195H11.0627C11.2361 11.3195 11.3755 11.4634 11.3755 11.6382C11.3755 11.8129 11.2361 11.9534 11.0627 11.9534H9.64803V13.3752C9.64803 13.5499 9.50861 13.6938 9.33519 13.6938C9.16176 13.6938 9.02234 13.5499 9.02234 13.3752V11.9534H7.60772C7.43429 11.9534 7.29487 11.8129 7.29487 11.6382C7.29487 11.4634 7.43429 11.3195 7.60772 11.3195Z" fill="#454545"/>
|
|
170
|
-
</svg>`,
|
|
171
|
-
|
|
172
|
-
'add-col-left': `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="14" viewBox="0 0 19 14" fill="none">
|
|
173
|
-
<path d="M16.4982 0.0123596H3.49115C2.32476 0.0123596 1.38281 0.964798 1.38281 2.1365V2.78402C2.03231 2.39346 2.79063 2.17076 3.60336 2.17076C3.73938 2.17076 3.872 2.17762 4.00462 2.19132H9.0136V5.48717H7.82001C7.90503 5.82977 7.94924 6.18265 7.94924 6.54924C7.94924 6.91583 7.90503 7.27213 7.82001 7.61131H9.0136V10.9037H4.04883C3.9026 10.9209 3.75298 10.9277 3.60336 10.9277C2.79063 10.9277 2.03231 10.705 1.38281 10.3145V10.9586C1.38281 12.1303 2.32476 13.0827 3.49115 13.0827H16.4982C17.6612 13.0827 18.6065 12.1337 18.6065 10.962V2.1365C18.6065 0.964798 17.6612 0.0123596 16.4982 0.0123596ZM16.5356 10.9037H11.1219V7.61131H16.5356V10.9037ZM16.5356 5.48717H11.1219V2.19132H16.5356V5.48717Z" fill="#454545"/>
|
|
174
|
-
<path d="M6.87164 5.48725C6.42617 4.09627 5.13057 3.08902 3.60373 3.08902C2.75699 3.08902 1.98167 3.39736 1.38318 3.91469C0.638465 4.54509 0.169189 5.49067 0.169189 6.54932C0.169189 7.60796 0.638465 8.55012 1.38318 9.18052C1.98167 9.69785 2.75699 10.0062 3.60373 10.0062C5.13057 10.0062 6.42617 8.99894 6.87164 7.61139C6.97706 7.27906 7.03486 6.91933 7.03486 6.54932C7.03486 6.17931 6.97706 5.81957 6.87164 5.48725ZM5.3278 6.86451H3.91658V8.28632C3.91658 8.46105 3.77715 8.60494 3.60373 8.60494C3.4303 8.60494 3.28748 8.46105 3.28748 8.28632V6.86451H1.87626C1.70284 6.86451 1.56341 6.72405 1.56341 6.54932C1.56341 6.37459 1.70284 6.2307 1.87626 6.2307H3.28748V4.80889C3.28748 4.63416 3.4303 4.4937 3.60373 4.4937C3.77715 4.4937 3.91658 4.63416 3.91658 4.80889V6.2307H5.3278C5.50123 6.2307 5.64405 6.37459 5.64405 6.54932C5.64405 6.72405 5.50123 6.86451 5.3278 6.86451Z" fill="#454545"/>
|
|
175
|
-
</svg>`,
|
|
176
|
-
|
|
177
|
-
'add-col-right': `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="14" viewBox="0 0 20 14" fill="none">
|
|
178
|
-
<path d="M2.71478 13.0827H15.7218C16.8882 13.0827 17.8301 12.1303 17.8301 10.9586V10.311C17.1806 10.7016 16.4223 10.9243 15.6096 10.9243C15.4736 10.9243 15.3409 10.9174 15.2083 10.9037H10.1993V7.60789H11.3929C11.3079 7.26528 11.2637 6.9124 11.2637 6.54581C11.2637 6.17923 11.3079 5.82292 11.3929 5.48374H10.1993V2.19132H15.1641C15.3103 2.17419 15.46 2.16734 15.6096 2.16734C16.4223 2.16734 17.1806 2.39003 17.8301 2.7806V2.1365C17.8301 0.964798 16.8882 0.0123596 15.7218 0.0123596H2.71478C1.5518 0.0123596 0.606445 0.961372 0.606445 2.13308V10.9586C0.606445 12.1303 1.5518 13.0827 2.71478 13.0827ZM2.67737 2.19132H8.09102V5.48374H2.67737V2.19132ZM2.67737 7.60789H8.09102V10.9037H2.67737V7.60789Z" fill="#454545"/>
|
|
179
|
-
<path d="M12.3419 7.60796C12.7874 8.99894 14.083 10.0062 15.6098 10.0062C16.4566 10.0062 17.2319 9.69785 17.8304 9.18052C18.5751 8.55012 19.0444 7.60454 19.0444 6.54589C19.0444 5.48725 18.5751 4.54509 17.8304 3.91469C17.2319 3.39736 16.4566 3.08902 15.6098 3.08902C14.083 3.08902 12.7874 4.09627 12.3419 5.48382C12.2365 5.81615 12.1787 6.17588 12.1787 6.54589C12.1787 6.9159 12.2365 7.27564 12.3419 7.60796ZM13.8858 6.2307H15.297V4.80889C15.297 4.63416 15.4364 4.49027 15.6098 4.49027C15.7833 4.49027 15.9261 4.63416 15.9261 4.80889V6.2307H17.3373C17.5107 6.2307 17.6502 6.37116 17.6502 6.54589C17.6502 6.72062 17.5107 6.86451 17.3373 6.86451H15.9261V8.28632C15.9261 8.46105 15.7833 8.60152 15.6098 8.60152C15.4364 8.60152 15.297 8.46105 15.297 8.28632V6.86451H13.8858C13.7124 6.86451 13.5695 6.72062 13.5695 6.54589C13.5695 6.37116 13.7124 6.2307 13.8858 6.2307Z" fill="#454545"/>
|
|
180
|
-
</svg>`,
|
|
181
|
-
|
|
182
|
-
'delete-row': `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="14" viewBox="0 0 19 14" fill="none">
|
|
183
|
-
<path d="M18.169 2.13993V10.9586C18.169 12.1337 17.2271 13.0827 16.0607 13.0827H3.05365C1.89066 13.0827 0.945312 12.1337 0.945312 10.962V2.1365C0.945312 0.964798 1.89066 0.0123596 3.05365 0.0123596H7.45053C7.10367 0.204218 6.77723 0.450893 6.48478 0.745532C6.06311 1.17036 5.74346 1.66371 5.53263 2.19132H3.01624V5.48374H5.53263C5.74346 6.01135 6.05971 6.50813 6.48478 6.93638C6.74662 7.20019 7.03226 7.42288 7.33831 7.60789H3.01624V10.9037H8.42988V8.0704C9.12019 8.25541 9.8445 8.26911 10.5382 8.10466V10.9037H15.9485V7.60789H11.7794C12.0855 7.42288 12.3711 7.20019 12.6329 6.93638C13.058 6.50813 13.3743 6.01135 13.5851 5.48374H15.9485V2.19132H13.5851C13.3743 1.66371 13.0546 1.17036 12.6329 0.745532C12.3405 0.450893 12.014 0.204218 11.6672 0.0123596H16.0607C17.2271 0.0123596 18.169 0.964798 18.169 2.13993Z" fill="#454545"/>
|
|
184
|
-
<path d="M12.5751 2.19137C12.4221 1.90701 12.2249 1.63635 11.9869 1.39653C10.6436 0.04324 8.4707 0.04324 7.1309 1.39653C6.89286 1.63635 6.69563 1.90701 6.5426 2.19137C5.98832 3.21575 5.98832 4.4594 6.53921 5.48379C6.69223 5.77158 6.88946 6.04223 7.1309 6.28548C8.4707 7.63534 10.6436 7.63534 11.9869 6.28548C12.2283 6.04223 12.4255 5.77158 12.5785 5.48379C13.1294 4.4594 13.1294 3.21575 12.5751 2.19137ZM10.5382 4.3806L11.0007 4.84655C11.1231 4.96988 11.1231 5.16859 11.0007 5.29536C10.8783 5.41869 10.681 5.41869 10.5586 5.29536L9.55887 4.2881L8.55912 5.29536C8.52171 5.33304 8.47751 5.36045 8.4299 5.37073C8.32108 5.40842 8.20207 5.38101 8.11705 5.29536C7.99463 5.16859 7.99463 4.96988 8.11705 4.84655L8.4299 4.53135L9.1134 3.83929L8.11705 2.83546C7.99463 2.71212 7.99463 2.50999 8.11705 2.38665C8.20207 2.301 8.32108 2.27359 8.4299 2.31128C8.47751 2.32156 8.52171 2.34896 8.55912 2.38665L9.55887 3.39391L10.5586 2.38665C10.681 2.26331 10.8783 2.26331 11.0007 2.38665C11.1231 2.50999 11.1231 2.71212 11.0007 2.83546L10.5382 3.3014L10.0009 3.83929L10.5382 4.3806Z" fill="#454545"/>
|
|
185
|
-
</svg>`,
|
|
186
|
-
|
|
187
|
-
'delete-col': `<svg xmlns="http://www.w3.org/2000/svg" width="19" height="14" viewBox="0 0 19 14" fill="none">
|
|
188
|
-
<path d="M16.5185 0.0123596H3.51142C2.34844 0.0123596 1.40649 0.964798 1.40649 2.1365V2.69495C2.18522 2.27012 3.06596 2.10224 3.92289 2.19132H8.89106V5.48374H7.69069C7.86412 6.17923 7.86412 6.9124 7.69069 7.60789H8.89106V10.9037H3.89228C3.04215 10.986 2.17501 10.8181 1.40649 10.3967V10.962C1.40649 12.1337 2.34844 13.0827 3.51142 13.0827H16.5185C17.6848 13.0827 18.6302 12.1303 18.6302 10.9586V2.13993C18.6302 0.964798 17.6848 0.0123596 16.5185 0.0123596ZM16.4096 10.9037H10.9994V7.60789H16.4096V10.9037ZM16.4096 5.48374H10.9994V2.19132H16.4096V5.48374Z" fill="#454545"/>
|
|
189
|
-
<path d="M6.74518 5.48377C6.58195 4.97671 6.30312 4.50049 5.90185 4.09965C5.23195 3.42472 4.35801 3.08554 3.47727 3.08554C2.74616 3.08554 2.01504 3.31851 1.40634 3.78788C1.28052 3.88038 1.16151 3.98659 1.04929 4.09965C-0.290519 5.44951 -0.290519 7.64217 1.04929 8.99203C1.16151 9.10509 1.28052 9.2113 1.40634 9.3038C2.01504 9.77317 2.74616 10.0061 3.47727 10.0061C4.35801 10.0061 5.23195 9.66696 5.90185 8.99203C6.30312 8.59119 6.58195 8.11496 6.74518 7.60791C6.96281 6.91928 6.96281 6.1724 6.74518 5.48377ZM4.9191 7.55309C4.9191 7.55309 4.9497 7.58736 4.9633 7.60791C5.03812 7.72782 5.02451 7.89227 4.9191 7.99848C4.79668 8.12182 4.59605 8.12182 4.47363 7.99848L4.08596 7.60791L3.47727 6.99465L2.47752 7.99848C2.3551 8.12182 2.15787 8.12182 2.03205 7.99848C1.90963 7.87514 1.90963 7.67643 2.03205 7.55309L3.0318 6.54584L2.03205 5.53858C1.90963 5.41525 1.90963 5.21654 2.03205 5.0932C2.15787 4.96986 2.3551 4.96986 2.47752 5.0932L3.47727 6.09703L4.47363 5.0932C4.59605 4.96986 4.79668 4.96986 4.9191 5.0932C5.02451 5.19941 5.03812 5.36386 4.9633 5.48377C4.9497 5.50432 4.9361 5.52145 4.9191 5.53858L3.91934 6.54584L4.9191 7.55309Z" fill="#454545"/>
|
|
190
|
-
</svg>`,
|
|
191
|
-
|
|
192
|
-
'delete-table': `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="14" viewBox="0 0 18 14" fill="none">
|
|
193
|
-
<path d="M15.3864 0.0123596H2.37934C1.21636 0.0123596 0.274414 0.964798 0.274414 2.1365V10.962C0.274414 12.1337 1.21636 13.0827 2.37934 13.0827H15.3864C16.5528 13.0827 17.4981 12.1337 17.4981 10.9586V2.13993C17.4981 0.964798 16.5528 0.0123596 15.3864 0.0123596ZM15.2776 5.48374H13.2542C13.4209 6.18265 13.4209 6.9124 13.2542 7.60789H15.2776V10.9037H10.1257C9.31642 11.1367 8.45609 11.1367 7.64676 10.9037H2.34534V7.60789H4.51488C4.34825 6.9124 4.34825 6.18265 4.51488 5.48374H2.34534V2.19132H7.66037C8.46289 1.96178 9.31302 1.96178 10.1155 2.19132H15.2776V5.48374Z" fill="#454545"/>
|
|
194
|
-
<path d="M12.2715 5.48376C12.1083 4.9493 11.8158 4.44567 11.3942 4.02084C10.9521 3.57546 10.4284 3.27396 9.86732 3.11294C9.18041 2.9108 8.4425 2.92793 7.75899 3.15748C7.25231 3.32535 6.77624 3.61657 6.37497 4.02084C5.95331 4.44567 5.66086 4.9493 5.49764 5.48376C5.28 6.17239 5.28 6.91927 5.49424 7.6079C5.65746 8.14579 5.95331 8.65284 6.37497 9.07767C6.79664 9.5025 7.25231 9.77316 7.75899 9.94103C8.4425 10.1706 9.18041 10.1877 9.86732 9.98557C10.4284 9.82455 10.9521 9.52306 11.3942 9.07767C11.8362 8.63229 12.1117 8.14579 12.2749 7.6079C12.4891 6.91927 12.4891 6.17239 12.2715 5.48376ZM10.3774 7.59077C10.3774 7.59077 10.3876 7.60105 10.391 7.6079C10.5032 7.73467 10.4964 7.92995 10.3774 8.05329C10.2516 8.18005 10.0441 8.18005 9.91833 8.05329L9.86732 8.0019L8.88457 7.01177L7.8508 8.05329C7.8236 8.0807 7.793 8.10468 7.75899 8.11838C7.63997 8.1732 7.49375 8.15264 7.39173 8.05329C7.27271 7.92995 7.26591 7.73467 7.37813 7.6079C7.38153 7.60105 7.38493 7.59762 7.39173 7.59077L8.42549 6.54926L7.39173 5.50774C7.39173 5.50774 7.37813 5.49404 7.37133 5.48376C7.26591 5.357 7.27271 5.16514 7.39173 5.04523C7.49375 4.94587 7.63997 4.92531 7.75899 4.98013C7.793 4.99384 7.8236 5.01782 7.8508 5.04523L8.88457 6.08674L9.86732 5.09662L9.91833 5.04523C10.0441 4.91846 10.2516 4.91846 10.3774 5.04523C10.4964 5.16514 10.5032 5.357 10.3978 5.48376C10.391 5.49404 10.3842 5.50089 10.3774 5.50774L9.34364 6.54926L10.3774 7.59077Z" fill="#454545"/>
|
|
195
|
-
</svg>`,
|
|
196
|
-
|
|
197
|
-
// Colors
|
|
198
|
-
color: `<svg xmlns="http://www.w3.org/2000/svg" width="13" height="14" viewBox="0 0 13 14" fill="none">
|
|
199
|
-
<g clip-path="url(#clip0_26_733)">
|
|
200
|
-
<path d="M7.55292 1.73122C7.43003 1.4071 7.11626 1.19189 6.76851 1.19189C6.42076 1.19189 6.107 1.4071 5.98411 1.73122L2.42291 11.1486H1.74832C1.28552 11.1486 0.911621 11.5194 0.911621 11.9783C0.911621 12.4373 1.28552 12.8081 1.74832 12.8081H4.25842C4.72121 12.8081 5.09511 12.4373 5.09511 11.9783C5.09511 11.5194 4.72121 11.1486 4.25842 11.1486H4.21135L4.68199 9.90402H8.85503L9.32567 11.1486H9.27861C8.81581 11.1486 8.44191 11.5194 8.44191 11.9783C8.44191 12.4373 8.81581 12.8081 9.27861 12.8081H11.7887C12.2515 12.8081 12.6254 12.4373 12.6254 11.9783C12.6254 11.5194 12.2515 11.1486 11.7887 11.1486H11.1141L7.55292 1.73122ZM8.2275 8.24457H5.30952L6.76851 4.38375L8.2275 8.24457Z" fill="#454545"/>
|
|
201
|
-
</g>
|
|
202
|
-
<defs>
|
|
203
|
-
<clipPath id="clip0_26_733">
|
|
204
|
-
<rect width="11.7138" height="13.2756" fill="white" transform="translate(0.911621 0.362183)"/>
|
|
205
|
-
</clipPath>
|
|
206
|
-
</defs>
|
|
207
|
-
</svg>`,
|
|
208
|
-
|
|
209
|
-
background: `<svg xmlns="http://www.w3.org/2000/svg" width="15" height="14" viewBox="0 0 15 14" fill="none">
|
|
210
|
-
<g clip-path="url(#clip0_3_40)">
|
|
211
|
-
<path d="M1.08399 0.605877C1.40598 0.281765 1.92632 0.281765 2.24831 0.605877L4.34514 2.7139L5.71296 1.33707C6.4368 0.60847 7.61144 0.60847 8.33528 1.33707L12.2353 5.26531C12.9591 5.99391 12.9591 7.17627 12.2353 7.90487L7.33066 12.8443C6.36468 13.8167 4.7985 13.8167 3.83252 12.8443L0.805784 9.79769C-0.160196 8.82535 -0.160196 7.24887 0.805784 6.27654L3.17823 3.88848L1.08399 1.77786C0.761993 1.45375 0.761993 0.927396 1.08399 0.603284V0.605877ZM5.61765 6.34395L4.34514 5.06306L1.97269 7.45112C1.8645 7.56002 1.79237 7.69226 1.75631 7.82968H9.97873L11.0684 6.73289C11.1482 6.65251 11.1482 6.52027 11.0684 6.43989L7.17095 2.51165C7.09109 2.43127 6.95972 2.43127 6.87987 2.51165L5.51204 3.88848L6.78456 5.16937C7.10655 5.49348 7.10655 6.01984 6.78456 6.34395C6.46256 6.66806 5.93965 6.66806 5.61765 6.34395ZM13.2064 13.6378C12.2971 13.6378 11.5578 12.8936 11.5578 11.9783C11.5578 11.3249 12.3975 9.91437 12.8767 9.15983C13.0312 8.9161 13.379 8.9161 13.5335 9.15983C14.0152 9.91437 14.855 11.3249 14.855 11.9783C14.855 12.8936 14.1157 13.6378 13.2064 13.6378Z" fill="#454545"/>
|
|
212
|
-
</g>
|
|
213
|
-
<defs>
|
|
214
|
-
<clipPath id="clip0_3_40">
|
|
215
|
-
<rect width="14.8375" height="13.2756" fill="white" transform="translate(0.0175781 0.362183)"/>
|
|
216
|
-
</clipPath>
|
|
217
|
-
</defs>
|
|
218
|
-
</svg>`,
|
|
219
|
-
|
|
220
|
-
'no-color': `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
221
|
-
<line x1="1.24715" y1="6.41398" x2="21.5343" y2="18.1268" stroke="#EA6666" stroke-width="0.842105"/>
|
|
222
|
-
<circle cx="11.7127" cy="11.7128" r="11.2918" transform="rotate(90 11.7127 11.7128)" stroke="#D7D7D7" stroke-width="0.842105"/>
|
|
223
|
-
</svg> `,
|
|
224
|
-
|
|
225
|
-
'custom-color': `<svg xmlns="http://www.w3.org/2000/svg" width="17" height="16" viewBox="0 0 17 16" fill="none">
|
|
226
|
-
<g clip-path="url(#clip0_6_132)">
|
|
227
|
-
<path d="M16.07 7.7128C16.07 7.73944 16.07 7.76609 16.07 7.79273C16.0582 8.87332 15.0753 9.60753 13.9947 9.60753H11.0963C10.3118 9.60753 9.67527 10.244 9.67527 11.0286C9.67527 11.1292 9.68711 11.2269 9.70487 11.3217C9.76704 11.6237 9.89731 11.9138 10.0246 12.2069C10.2052 12.6154 10.3828 13.021 10.3828 13.4503C10.3828 14.3917 9.74336 15.2473 8.80191 15.2858C8.69829 15.2888 8.59468 15.2917 8.4881 15.2917C4.30487 15.2917 0.912109 11.899 0.912109 7.7128C0.912109 3.52661 4.30487 0.13385 8.49106 0.13385C12.6772 0.13385 16.07 3.52661 16.07 7.7128ZM4.70158 8.66017C4.70158 8.40891 4.60177 8.16794 4.42411 7.99028C4.24644 7.81261 4.00547 7.7128 3.75421 7.7128C3.50296 7.7128 3.26199 7.81261 3.08432 7.99028C2.90666 8.16794 2.80685 8.40891 2.80685 8.66017C2.80685 8.91142 2.90666 9.15239 3.08432 9.33006C3.26199 9.50772 3.50296 9.60753 3.75421 9.60753C4.00547 9.60753 4.24644 9.50772 4.42411 9.33006C4.60177 9.15239 4.70158 8.91142 4.70158 8.66017ZM4.70158 5.81806C4.95284 5.81806 5.19381 5.71825 5.37147 5.54058C5.54914 5.36292 5.64895 5.12195 5.64895 4.87069C5.64895 4.61943 5.54914 4.37847 5.37147 4.2008C5.19381 4.02314 4.95284 3.92332 4.70158 3.92332C4.45033 3.92332 4.20936 4.02314 4.03169 4.2008C3.85403 4.37847 3.75421 4.61943 3.75421 4.87069C3.75421 5.12195 3.85403 5.36292 4.03169 5.54058C4.20936 5.71825 4.45033 5.81806 4.70158 5.81806ZM9.43843 2.97596C9.43843 2.7247 9.33861 2.48373 9.16095 2.30606C8.98328 2.1284 8.74231 2.02859 8.49106 2.02859C8.2398 2.02859 7.99883 2.1284 7.82117 2.30606C7.6435 2.48373 7.54369 2.7247 7.54369 2.97596C7.54369 3.22721 7.6435 3.46818 7.82117 3.64585C7.99883 3.82351 8.2398 3.92332 8.49106 3.92332C8.74231 3.92332 8.98328 3.82351 9.16095 3.64585C9.33861 3.46818 9.43843 3.22721 9.43843 2.97596ZM12.2805 5.81806C12.5318 5.81806 12.7728 5.71825 12.9504 5.54058C13.1281 5.36292 13.2279 5.12195 13.2279 4.87069C13.2279 4.61943 13.1281 4.37847 12.9504 4.2008C12.7728 4.02314 12.5318 3.92332 12.2805 3.92332C12.0293 3.92332 11.7883 4.02314 11.6106 4.2008C11.433 4.37847 11.3332 4.61943 11.3332 4.87069C11.3332 5.12195 11.433 5.36292 11.6106 5.54058C11.7883 5.71825 12.0293 5.81806 12.2805 5.81806Z" fill="#454545"/>
|
|
228
|
-
</g>
|
|
229
|
-
<defs>
|
|
230
|
-
<clipPath id="clip0_6_132">
|
|
231
|
-
<rect width="15.1579" height="15.1579" fill="white" transform="translate(0.912109 0.13385)"/>
|
|
232
|
-
</clipPath>
|
|
233
|
-
</defs>
|
|
234
|
-
</svg>`,
|
|
235
|
-
|
|
236
|
-
// Actions
|
|
237
|
-
undo: `<!-- Undo icon SVG - to be filled by user -->
|
|
238
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="14" viewBox="0 0 15 14" fill="none">
|
|
239
|
-
<path d="M1.95166 6.12501H1.71924C1.35557 6.12501 1.06299 5.83243 1.06299 5.46876V1.96876C1.06299 1.70353 1.22158 1.4629 1.46768 1.36173C1.71377 1.26056 1.99541 1.31525 2.18408 1.50392L3.32158 2.64142C5.7169 0.276185 9.5751 0.284388 11.9567 2.66876C14.3493 5.06134 14.3493 8.93869 11.9567 11.3313C9.56416 13.7238 5.68682 13.7238 3.29424 11.3313C2.95244 10.9895 2.95244 10.4344 3.29424 10.0926C3.63604 9.7508 4.19111 9.7508 4.53291 10.0926C6.2419 11.8016 9.01182 11.8016 10.7208 10.0926C12.4298 8.38361 12.4298 5.61369 10.7208 3.9047C9.02002 2.20392 6.27197 2.19572 4.56025 3.87736L5.68408 5.00392C5.87275 5.19259 5.92744 5.47423 5.82627 5.72033C5.7251 5.96642 5.48447 6.12501 5.21924 6.12501H1.95166Z" fill="#454545"/>
|
|
240
|
-
</svg>`,
|
|
241
|
-
|
|
242
|
-
redo: `<!-- Redo icon SVG - to be filled by user -->
|
|
243
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="14" viewBox="0 0 15 14" fill="none">
|
|
244
|
-
<g clip-path="url(#clip0_26_755)">
|
|
245
|
-
<path d="M11.1883 4.37501H9.81294C9.32896 4.37501 8.93794 4.76603 8.93794 5.25001C8.93794 5.734 9.32896 6.12501 9.81294 6.12501H13.3129C13.7969 6.12501 14.1879 5.734 14.1879 5.25001V1.75001C14.1879 1.26603 13.7969 0.875012 13.3129 0.875012C12.829 0.875012 12.4379 1.26603 12.4379 1.75001V3.15001L11.9567 2.66876C9.56411 0.276184 5.68677 0.276184 3.29419 2.66876C0.901611 5.06134 0.901611 8.93868 3.29419 11.3313C5.68677 13.7238 9.56411 13.7238 11.9567 11.3313C12.2985 10.9895 12.2985 10.4344 11.9567 10.0926C11.6149 9.75079 11.0598 9.75079 10.718 10.0926C9.00903 11.8016 6.23911 11.8016 4.53013 10.0926C2.82114 8.38361 2.82114 5.61368 4.53013 3.9047C6.23911 2.19572 9.00903 2.19572 10.718 3.9047L11.1883 4.37501Z" fill="#454545"/>
|
|
246
|
-
</g>
|
|
247
|
-
<defs>
|
|
248
|
-
<clipPath id="clip0_26_755">
|
|
249
|
-
<rect width="14" height="14" fill="white" transform="translate(0.625488)"/>
|
|
250
|
-
</clipPath>
|
|
251
|
-
</defs>
|
|
252
|
-
</svg>`,
|
|
253
|
-
|
|
254
|
-
link: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="12" viewBox="0 0 16 12" fill="none">
|
|
255
|
-
<path d="M14.5737 6.29853C15.9761 4.85693 15.9761 2.5223 14.5737 1.0807C13.3327 -0.195058 11.3769 -0.360906 9.94976 0.687763L9.91005 0.71583C9.55264 0.978635 9.47074 1.48894 9.72638 1.8538C9.98203 2.21867 10.4784 2.30542 10.8334 2.04261L10.8731 2.01455C11.6698 1.43025 12.7594 1.52211 13.4494 2.23398C14.2312 3.0377 14.2312 4.33897 13.4494 5.14269L10.6646 8.01059C9.88275 8.81431 8.61693 8.81431 7.83509 8.01059C7.14261 7.29872 7.05326 6.17861 7.62164 5.36212L7.64894 5.3213C7.90459 4.95388 7.8202 4.44358 7.46527 4.18333C7.11035 3.92307 6.61147 4.00727 6.3583 4.37214L6.331 4.41296C5.30841 5.87753 5.46974 7.88811 6.71075 9.16387C8.11308 10.6055 10.3841 10.6055 11.7864 9.16387L14.5737 6.29853ZM1.67724 5.70147C0.274905 7.14307 0.274905 9.4777 1.67724 10.9193C2.91824 12.1951 4.87406 12.3609 6.30121 11.3122L6.34093 11.2842C6.69834 11.0214 6.78024 10.5111 6.5246 10.1462C6.26895 9.78133 5.77255 9.69458 5.41762 9.95739L5.37791 9.98545C4.58118 10.5697 3.49158 10.4779 2.80159 9.76602C2.01976 8.95975 2.01976 7.65848 2.80159 6.85475L5.5864 3.98941C6.36823 3.18569 7.63405 3.18569 8.41588 3.98941C9.10836 4.70128 9.19771 5.82139 8.62934 6.64043L8.60203 6.68125C8.34639 7.04867 8.43078 7.55897 8.7857 7.81922C9.14063 8.07948 9.63951 7.99528 9.89268 7.63041L9.91998 7.58959C10.9426 6.12247 10.7812 4.11189 9.54023 2.83613C8.1379 1.39453 5.86686 1.39453 4.46453 2.83613L1.67724 5.70147Z" fill="#454545"/>
|
|
256
|
-
</svg>`,
|
|
257
|
-
|
|
258
|
-
emoji: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm177.6 62.1C192.8 334.5 218.8 352 256 352s63.2-17.5 78.4-33.9c9-9.7 24.2-10.4 33.9-1.4s10.4 24.2 1.4 33.9c-22 23.8-60 49.4-113.6 49.4s-91.7-25.5-113.6-49.4c-9-9.7-8.4-24.9 1.4-33.9s24.9-8.4 33.9 1.4zM144.4 208a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>`,
|
|
259
|
-
|
|
260
|
-
tag: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M0 80L0 229.5c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7L48 32C21.5 32 0 53.5 0 80zm112 32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>`,
|
|
261
|
-
|
|
262
|
-
import: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M128 64c0-35.3 28.7-64 64-64L352 0l0 128c0 17.7 14.3 32 32 32l128 0 0 288c0 35.3-28.7 64-64 64l-256 0c-35.3 0-64-28.7-64-64l0-112 174.1 0-39 39c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l39 39L128 288l0-224zm0 224l0 48L24 336c-13.3 0-24-10.7-24-24s10.7-24 24-24l104 0zM512 128l-128 0L384 0 512 128z"/></svg>`,
|
|
263
|
-
|
|
264
|
-
// Code
|
|
265
|
-
code: `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="14" viewBox="0 0 18 14" fill="none">
|
|
266
|
-
<g clip-path="url(#clip0_131_130)">
|
|
267
|
-
<path d="M10.6186 0.421434C10.1623 0.294382 9.68715 0.551079 9.55561 0.991871L6.11957 12.608C5.98803 13.0488 6.25379 13.5078 6.71014 13.6348C7.16649 13.7619 7.64163 13.5052 7.77316 13.0644L11.2092 1.44822C11.3407 1.00743 11.075 0.548486 10.6186 0.421434ZM12.7823 3.5355C12.4467 3.85961 12.4467 4.38597 12.7823 4.71008L15.1794 7.02813L12.7796 9.34618C12.444 9.67029 12.444 10.1966 12.7796 10.5208C13.1151 10.8449 13.6601 10.8449 13.9956 10.5208L17.0022 7.61672C17.3377 7.2926 17.3377 6.76625 17.0022 6.44213L13.9956 3.53809C13.6601 3.21398 13.1151 3.21398 12.7796 3.53809L12.7823 3.5355ZM4.54919 3.5355C4.21364 3.21139 3.6687 3.21139 3.33315 3.5355L0.326614 6.43954C-0.00893658 6.76365 -0.00893658 7.29001 0.326614 7.61412L3.33315 10.5182C3.6687 10.8423 4.21364 10.8423 4.54919 10.5182C4.88474 10.1941 4.88474 9.66769 4.54919 9.34358L2.14933 7.02813L4.54919 4.71008C4.88474 4.38597 4.88474 3.85961 4.54919 3.5355Z" fill="#454545"/>
|
|
268
|
-
</g>
|
|
269
|
-
<defs>
|
|
270
|
-
<clipPath id="clip0_131_130">
|
|
271
|
-
<rect width="17.1802" height="13.2756" fill="white" transform="translate(0.0742188 0.390442)"/>
|
|
272
|
-
</clipPath>
|
|
273
|
-
</defs>
|
|
274
|
-
</svg>`,
|
|
275
|
-
|
|
276
|
-
'code-view': `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="14" viewBox="0 0 18 14" fill="none">
|
|
277
|
-
<g clip-path="url(#clip0_131_130)">
|
|
278
|
-
<path d="M10.6186 0.421434C10.1623 0.294382 9.68715 0.551079 9.55561 0.991871L6.11957 12.608C5.98803 13.0488 6.25379 13.5078 6.71014 13.6348C7.16649 13.7619 7.64163 13.5052 7.77316 13.0644L11.2092 1.44822C11.3407 1.00743 11.075 0.548486 10.6186 0.421434ZM12.7823 3.5355C12.4467 3.85961 12.4467 4.38597 12.7823 4.71008L15.1794 7.02813L12.7796 9.34618C12.444 9.67029 12.444 10.1966 12.7796 10.5208C13.1151 10.8449 13.6601 10.8449 13.9956 10.5208L17.0022 7.61672C17.3377 7.2926 17.3377 6.76625 17.0022 6.44213L13.9956 3.53809C13.6601 3.21398 13.1151 3.21398 12.7796 3.53809L12.7823 3.5355ZM4.54919 3.5355C4.21364 3.21139 3.6687 3.21139 3.33315 3.5355L0.326614 6.43954C-0.00893658 6.76365 -0.00893658 7.29001 0.326614 7.61412L3.33315 10.5182C3.6687 10.8423 4.21364 10.8423 4.54919 10.5182C4.88474 10.1941 4.88474 9.66769 4.54919 9.34358L2.14933 7.02813L4.54919 4.71008C4.88474 4.38597 4.88474 3.85961 4.54919 3.5355Z" fill="#454545"/>
|
|
279
|
-
</g>
|
|
280
|
-
<defs>
|
|
281
|
-
<clipPath id="clip0_131_130">
|
|
282
|
-
<rect width="17.1802" height="13.2756" fill="white" transform="translate(0.0742188 0.390442)"/>
|
|
283
|
-
</clipPath>
|
|
284
|
-
</defs>
|
|
285
|
-
</svg>`,
|
|
286
|
-
|
|
287
|
-
// UI
|
|
288
|
-
check: `<svg xmlns="http://www.w3.org/2000/svg" width="10" height="11" viewBox="0 0 10 11" fill="none">
|
|
289
|
-
<g clip-path="url(#clip0_4_79)">
|
|
290
|
-
<path d="M9.68012 2.27338C9.93724 2.52649 9.93724 2.93753 9.68012 3.19063L4.41429 8.37417C4.15717 8.62728 3.73961 8.62728 3.48249 8.37417L0.849578 5.7824C0.592458 5.5293 0.592458 5.11826 0.849578 4.86516C1.1067 4.61205 1.52426 4.61205 1.78138 4.86516L3.94942 6.99729L8.75037 2.27338C9.00749 2.02028 9.42505 2.02028 9.68217 2.27338H9.68012Z" fill="currentColor"/>
|
|
291
|
-
</g>
|
|
292
|
-
<defs>
|
|
293
|
-
<clipPath id="clip0_4_79">
|
|
294
|
-
<rect width="9.21519" height="10.3671" fill="white" transform="translate(0.658203 0.139252)"/>
|
|
295
|
-
</clipPath>
|
|
296
|
-
</defs>
|
|
297
|
-
</svg> `,
|
|
298
|
-
|
|
299
|
-
dropdown: `<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 8 7" fill="none">
|
|
300
|
-
<g clip-path="url(#clip0_4_66)">
|
|
301
|
-
<path d="M3.81655 5.55897C3.98745 5.72987 4.26499 5.72987 4.43589 5.55897L7.06089 2.93397C7.23179 2.76307 7.23179 2.48553 7.06089 2.31464C6.88999 2.14374 6.61245 2.14374 6.44155 2.31464L4.12554 4.63065L1.80952 2.316C1.63862 2.1451 1.36108 2.1451 1.19019 2.316C1.01929 2.4869 1.01929 2.76444 1.19019 2.93534L3.81519 5.56034L3.81655 5.55897Z" fill="#CCCCCC"/>
|
|
302
|
-
</g>
|
|
303
|
-
<defs>
|
|
304
|
-
<clipPath id="clip0_4_66">
|
|
305
|
-
<rect width="12" height="12" fill="white" transform="translate(0.625488)"/>
|
|
306
|
-
</clipPath>
|
|
307
|
-
</defs>
|
|
308
|
-
</svg> `,
|
|
309
|
-
|
|
310
|
-
more: `<!-- More options icon SVG - to be filled by user -->
|
|
311
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16" viewBox="0 0 15 16" fill="none">
|
|
312
|
-
<g clip-path="url(#clip0_26_758)">
|
|
313
|
-
<path d="M0.875488 8C0.875488 7.53587 1.05986 7.09075 1.38805 6.76256C1.71624 6.43437 2.16136 6.25 2.62549 6.25C3.08962 6.25 3.53474 6.43437 3.86293 6.76256C4.19111 7.09075 4.37549 7.53587 4.37549 8C4.37549 8.46413 4.19111 8.90925 3.86293 9.23744C3.53474 9.56563 3.08962 9.75 2.62549 9.75C2.16136 9.75 1.71624 9.56563 1.38805 9.23744C1.05986 8.90925 0.875488 8.46413 0.875488 8ZM5.87549 8C5.87549 7.53587 6.05986 7.09075 6.38805 6.76256C6.71624 6.43437 7.16136 6.25 7.62549 6.25C8.08962 6.25 8.53474 6.43437 8.86293 6.76256C9.19111 7.09075 9.37549 7.53587 9.37549 8C9.37549 8.46413 9.19111 8.90925 8.86293 9.23744C8.53474 9.56563 8.08962 9.75 7.62549 9.75C7.16136 9.75 6.71624 9.56563 6.38805 9.23744C6.05986 8.90925 5.87549 8.46413 5.87549 8ZM12.6255 6.25C13.0896 6.25 13.5347 6.43437 13.8629 6.76256C14.1911 7.09075 14.3755 7.53587 14.3755 8C14.3755 8.46413 14.1911 8.90925 13.8629 9.23744C13.5347 9.56563 13.0896 9.75 12.6255 9.75C12.1614 9.75 11.7162 9.56563 11.3881 9.23744C11.0599 8.90925 10.8755 8.46413 10.8755 8C10.8755 7.53587 11.0599 7.09075 11.3881 6.76256C11.7162 6.43437 12.1614 6.25 12.6255 6.25Z" fill="#454545"/>
|
|
314
|
-
</g>
|
|
315
|
-
<defs>
|
|
316
|
-
<clipPath id="clip0_26_758">
|
|
317
|
-
<rect width="14" height="16" fill="white" transform="translate(0.625488)"/>
|
|
318
|
-
</clipPath>
|
|
319
|
-
</defs>
|
|
320
|
-
</svg>`,
|
|
321
|
-
|
|
322
|
-
theme: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
323
|
-
<circle cx="8" cy="8" r="3" stroke="#454545" stroke-width="1.5" fill="none"/>
|
|
324
|
-
<path d="M8 1V2M8 14V15M15 8H14M2 8H1M12.5 3.5L11.8 4.2M4.2 11.8L3.5 12.5M12.5 12.5L11.8 11.8M4.2 4.2L3.5 3.5" stroke="#454545" stroke-width="1.5" stroke-linecap="round"/>
|
|
325
|
-
</svg> `,
|
|
326
|
-
|
|
327
|
-
heading: `<svg xmlns="http://www.w3.org/2000/svg" width="12" height="14" viewBox="0 0 12 14" fill="none">
|
|
328
|
-
<g clip-path="url(#clip0_17_399)">
|
|
329
|
-
<path d="M6.89569 1.75949C6.7728 1.43538 6.45904 1.22017 6.11129 1.22017C5.76353 1.22017 5.44977 1.43538 5.32688 1.75949L1.76568 11.1769H1.09109C0.628294 11.1769 0.254395 11.5477 0.254395 12.0066C0.254395 12.4656 0.628294 12.8363 1.09109 12.8363H3.60119C4.06399 12.8363 4.43789 12.4656 4.43789 12.0066C4.43789 11.5477 4.06399 11.1769 3.60119 11.1769H3.55412L4.02477 9.93229H8.1978L8.66844 11.1769H8.62138C8.15858 11.1769 7.78468 11.5477 7.78468 12.0066C7.78468 12.4656 8.15858 12.8363 8.62138 12.8363H11.1315C11.5943 12.8363 11.9682 12.4656 11.9682 12.0066C11.9682 11.5477 11.5943 11.1769 11.1315 11.1769H10.4569L6.89569 1.75949ZM7.57028 8.27284H4.65229L6.11129 4.41202L7.57028 8.27284Z" fill="#454545"/>
|
|
330
|
-
</g>
|
|
331
|
-
<defs>
|
|
332
|
-
<clipPath id="clip0_17_399">
|
|
333
|
-
<rect width="11.7138" height="13.2756" fill="white" transform="translate(0.254395 0.390457)"/>
|
|
334
|
-
</clipPath>
|
|
335
|
-
</defs>
|
|
336
|
-
</svg>`,
|
|
337
|
-
|
|
338
|
-
'font-family': `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
339
|
-
<path d="M2 2h12v2H2V2zm0 4h8v2H2V6zm0 4h10v2H2v-2zm0 4h6v2H2v-2z" fill="currentColor"/>
|
|
340
|
-
<path d="M4 4h8v1H4V4zm0 2h6v1H4V6zm0 2h8v1H4V8z" fill="currentColor"/>
|
|
341
|
-
</svg>`,
|
|
342
|
-
|
|
343
|
-
'line-height': `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
344
|
-
<path d="M2 2h12v2H2V2zm0 4h12v2H2V6zm0 4h12v2H2v-2zm0 4h12v2H2v-2z" fill="currentColor"/>
|
|
345
|
-
<path d="M4 3h8v1H4V3zm0 2h8v1H4V5zm0 2h8v1H4V7zm0 2h8v1H4V9z" fill="currentColor"/>
|
|
346
|
-
</svg>`,
|
|
347
|
-
|
|
348
|
-
capitalization: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
349
|
-
<path d="M2 2h12v2H2V2zm0 4h8v2H2V6zm0 4h10v2H2v-2zm0 4h6v2H2v-2z" fill="currentColor"/>
|
|
350
|
-
<path d="M4 4h8v1H4V4zm0 2h6v1H4V6zm0 2h8v1H4V8z" fill="currentColor"/>
|
|
351
|
-
</svg>`,
|
|
352
|
-
|
|
353
|
-
'text-size': `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
354
|
-
<path d="M2 2h12v2H2V2zm0 4h8v2H2V6zm0 4h10v2H2v-2zm0 4h6v2H2v-2z" fill="currentColor"/>
|
|
355
|
-
<path d="M4 4h8v1H4V4zm0 2h6v1H4V6zm0 2h8v1H4V8z" fill="currentColor"/>
|
|
356
|
-
</svg>`
|
|
357
|
-
};
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* Icon utility functions
|
|
361
|
-
*/
|
|
362
|
-
export class IconUtils {
|
|
363
|
-
/**
|
|
364
|
-
* Get icon SVG content by name
|
|
365
|
-
* @param {string} iconName - Name of the icon
|
|
366
|
-
* @returns {string} SVG content or empty string if not found
|
|
367
|
-
*/
|
|
368
|
-
static getIcon(iconName) {
|
|
369
|
-
return Icons[iconName] || '';
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
/**
|
|
373
|
-
* Create icon element with proper styling
|
|
374
|
-
* @param {string} iconName - Name of the icon
|
|
375
|
-
* @param {Object} options - Options for icon styling
|
|
376
|
-
* @returns {HTMLElement} Icon element
|
|
377
|
-
*/
|
|
378
|
-
static createIconElement(iconName, options = {}) {
|
|
379
|
-
const iconElement = document.createElement('span');
|
|
380
|
-
iconElement.className = `icon icon-${iconName}`;
|
|
381
|
-
|
|
382
|
-
// Apply default styles
|
|
383
|
-
iconElement.style.display = 'inline-block';
|
|
384
|
-
iconElement.style.width = options.width || '16px';
|
|
385
|
-
iconElement.style.height = options.height || '16px';
|
|
386
|
-
iconElement.style.verticalAlign = 'middle';
|
|
387
|
-
|
|
388
|
-
// Set SVG content
|
|
389
|
-
iconElement.innerHTML = this.getIcon(iconName);
|
|
390
|
-
|
|
391
|
-
return iconElement;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* Check if icon exists
|
|
396
|
-
* @param {string} iconName - Name of the icon
|
|
397
|
-
* @returns {boolean} True if icon exists
|
|
398
|
-
*/
|
|
399
|
-
static hasIcon(iconName) {
|
|
400
|
-
return iconName in Icons;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* Get all available icon names
|
|
405
|
-
* @returns {string[]} Array of icon names
|
|
406
|
-
*/
|
|
407
|
-
static getIconNames() {
|
|
408
|
-
return Object.keys(Icons);
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
// Export default for backward compatibility
|
|
413
|
-
export default IconUtils;
|