@worktile/theia 14.2.21 → 14.2.22
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/components/plugin-menu/plugin-menu.component.scss +2 -5
- package/esm2020/components/plugin-menu/plugin-menu.component.mjs +3 -3
- package/esm2020/constants/plugin-menu.mjs +200 -166
- package/fesm2015/worktile-theia.mjs +201 -167
- package/fesm2015/worktile-theia.mjs.map +1 -1
- package/fesm2020/worktile-theia.mjs +201 -167
- package/fesm2020/worktile-theia.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -432,34 +432,38 @@ var PluginMenuIcons;
|
|
|
432
432
|
const PluginMenuSvgs = [
|
|
433
433
|
{
|
|
434
434
|
key: PluginMenuIcons.image,
|
|
435
|
-
svg:
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
435
|
+
svg: `
|
|
436
|
+
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
437
|
+
<title>图片</title>
|
|
438
|
+
<g id="图片" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
439
|
+
<g id="icon">
|
|
440
|
+
<rect id="矩形" fill="#FFFFFF" x="0" y="0" width="28" height="28" rx="4"></rect>
|
|
441
|
+
<path d="M24,0 C26.209139,0 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 0,26.209139 0,24 L0,4 C0,1.790861 1.790861,0 4,0 L24,0 Z M24,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,24 C1,25.6568542 2.34314575,27 4,27 L24,27 C25.6568542,27 27,25.6568542 27,24 L27,4 C27,2.34314575 25.6568542,1 24,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
442
|
+
<g id="编组" transform="translate(6.611111, 7.777778)">
|
|
443
|
+
<path d="M0,0.777777778 C0,0.348222778 0.348222778,0 0.777777778,0 L14,0 C14.4295667,0 14.7777778,0.348222778 14.7777778,0.777777778 L14.7777778,11.6666667 C14.7777778,12.0962333 14.4295667,12.4444444 14,12.4444444 L0.777777778,12.4444444 C0.348222778,12.4444444 0,12.0962333 0,11.6666667 L0,0.777777778 Z" id="路径" fill="#EEEEEE"></path>
|
|
444
|
+
<path d="M3.5,5.44444444 C4.35908148,5.44444444 5.05555556,4.74797037 5.05555556,3.88888889 C5.05555556,3.02980741 4.35908148,2.33333333 3.5,2.33333333 C2.64091852,2.33333333 1.94444444,3.02980741 1.94444444,3.88888889 C1.94444444,4.74797037 2.64091852,5.44444444 3.5,5.44444444 Z" id="路径" fill="#F6C659"></path>
|
|
445
|
+
<path d="M3.88888889,7 L5.83333333,8.55555556 L8.16666667,5.83333333 L14.7777778,10.1111111 L14.7777778,11.6666667 C14.7777778,12.0962333 14.4295667,12.4444444 14,12.4444444 L0.777777778,12.4444444 C0.348222778,12.4444444 0,12.0962333 0,11.6666667 L0,10.1111111 L3.88888889,7 Z" id="路径" fill="#6698FF"></path>
|
|
446
|
+
<path d="M3.88888889,7 L5.824,8.548 L2.462,12.444 L0.777777778,12.4444444 C0.348222778,12.4444444 0,12.0962333 0,11.6666667 L0,10.1111111 L3.88888889,7 Z" id="形状结合" fill="#CAD9F8"></path>
|
|
447
|
+
</g>
|
|
448
|
+
</g>
|
|
446
449
|
</g>
|
|
447
|
-
</
|
|
448
|
-
|
|
449
|
-
</svg>`
|
|
450
|
+
</svg>
|
|
451
|
+
`
|
|
450
452
|
},
|
|
451
453
|
{
|
|
452
454
|
key: PluginMenuIcons.blockquote,
|
|
453
455
|
svg: `
|
|
454
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
456
|
+
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
455
457
|
<title>引用</title>
|
|
456
458
|
<g id="引用" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
457
459
|
<g id="矩形">
|
|
458
|
-
<
|
|
459
|
-
<path d="
|
|
460
|
-
<g id="编组-34" transform="translate(
|
|
461
|
-
<path d="M-
|
|
462
|
-
<path d="
|
|
460
|
+
<rect id="蒙版" fill="#FFFFFF" x="0" y="0" width="28" height="28" rx="4"></rect>
|
|
461
|
+
<path d="M24,0 C26.209139,0 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 0,26.209139 0,24 L0,4 C0,1.790861 1.790861,0 4,0 L24,0 Z M24,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,24 C1,25.6568542 2.34314575,27 4,27 L24,27 C25.6568542,27 27,25.6568542 27,24 L27,4 C27,2.34314575 25.6568542,1 24,1 Z" id="蒙版" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
462
|
+
<g id="编组-34" transform="translate(5.444444, 5.911111)">
|
|
463
|
+
<path d="M-7.23333333,7.7 L8.16666667,7.7 C8.42439955,7.7 8.63333333,7.90893378 8.63333333,8.16666667 C8.63333333,8.42439955 8.42439955,8.63333333 8.16666667,8.63333333 L-7.23333333,8.63333333 C-7.49106622,8.63333333 -7.7,8.42439955 -7.7,8.16666667 C-7.7,7.90893378 -7.49106622,7.7 -7.23333333,7.7 Z" id="矩形备份-86" fill="#AAAAAA" transform="translate(0.466667, 8.166667) rotate(-270.000000) translate(-0.466667, -8.166667) "></path>
|
|
464
|
+
<path d="M9.3776274,0.0835189584 C7.04153911,1.62598565 5.74374227,3.42129833 5.48422757,5.46943466 C5.08022197,8.6579087 7.85358308,10.2185773 9.25881591,8.81632614 C10.6640487,7.414075 9.82169699,5.63423091 8.80416808,5.14771999 C7.78663917,4.66117718 7.16438337,4.83062994 7.27292682,4.18047096 C7.38147027,3.53034388 8.82910918,1.72775937 10.1009195,0.888277673 C10.1852974,0.814506875 10.2174044,0.671366649 10.1361597,0.562767615 C10.08271,0.491356972 9.97788912,0.351294516 9.82169699,0.14257068 C9.6851103,-0.0399490543 9.55426256,-0.0331173617 9.3776274,0.0835189584 Z M15.5277817,0.0835189584 C13.1917244,1.62598565 11.8939183,3.42129833 11.6343943,5.46943466 C11.2304042,8.6579087 14.0037684,10.2185773 15.4090012,8.81632614 C16.8142341,7.414075 15.9718823,5.63423091 14.9543534,5.14771999 C13.9368245,4.66117718 13.3145377,4.83062994 13.4231122,4.18047096 C13.5316556,3.53034388 14.9792945,1.72775937 16.2511048,0.888277673 C16.3354827,0.814506875 16.3675897,0.671366649 16.286314,0.562767615 C16.2328953,0.491356972 16.1280745,0.351294516 15.9718823,0.14257068 C15.8352956,-0.0399490543 15.7044479,-0.0331173617 15.5277817,0.0835189584 Z" id="形状结合" fill="#CACACA" transform="translate(10.888889, 4.666667) rotate(-180.000000) translate(-10.888889, -4.666667) "></path>
|
|
465
|
+
<path d="M5.13333333,15.8666667 L12.25134,15.8666667 C12.5090729,15.8666667 12.7180066,16.0756005 12.7180066,16.3333333 C12.7180066,16.5910662 12.5090729,16.8 12.25134,16.8 L5.13333333,16.8 C4.87560045,16.8 4.66666667,16.5910662 4.66666667,16.3333333 C4.66666667,16.0756005 4.87560045,15.8666667 5.13333333,15.8666667 Z" id="矩形备份-88" fill="#CACACA"></path>
|
|
466
|
+
<rect id="矩形备份-87" fill="#CACACA" x="4.66666667" y="11.9777778" width="12.4444444" height="1" rx="0.5"></rect>
|
|
463
467
|
</g>
|
|
464
468
|
</g>
|
|
465
469
|
</g>
|
|
@@ -469,20 +473,29 @@ const PluginMenuSvgs = [
|
|
|
469
473
|
{
|
|
470
474
|
key: PluginMenuIcons.code,
|
|
471
475
|
svg: `
|
|
472
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
476
|
+
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
473
477
|
<title>代码块</title>
|
|
478
|
+
<defs>
|
|
479
|
+
<rect id="path-1" x="1" y="1" width="26" height="26" rx="4"></rect>
|
|
480
|
+
</defs>
|
|
474
481
|
<g id="代码块" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
475
482
|
<g id="icon">
|
|
476
|
-
<
|
|
477
|
-
<path d="
|
|
478
|
-
<
|
|
479
|
-
<
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
<
|
|
484
|
-
|
|
485
|
-
|
|
483
|
+
<rect id="蒙版" fill="#FFFFFF" x="0" y="0" width="28" height="28" rx="3.2"></rect>
|
|
484
|
+
<path d="M24.8,0 C26.5673112,0 28,1.4326888 28,3.2 L28,24.8 C28,26.5673112 26.5673112,28 24.8,28 L3.2,28 C1.4326888,28 0,26.5673112 0,24.8 L0,3.2 C0,1.4326888 1.4326888,0 3.2,0 L24.8,0 Z M24.8,1 L3.2,1 C1.98497355,1 1,1.98497355 1,3.2 L1,24.8 C1,26.0150264 1.98497355,27 3.2,27 L24.8,27 C26.0150264,27 27,26.0150264 27,24.8 L27,3.2 C27,1.98497355 26.0150264,1 24.8,1 Z" id="蒙版" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
485
|
+
<mask id="mask-2" fill="white">
|
|
486
|
+
<use xlink:href="#path-1"></use>
|
|
487
|
+
</mask>
|
|
488
|
+
<use id="蒙版" fill="#FFFFFF" xlink:href="#path-1"></use>
|
|
489
|
+
<g id="编组-24" mask="url(#mask-2)">
|
|
490
|
+
<g transform="translate(4.666667, 4.666667)">
|
|
491
|
+
<rect id="矩形备份-60" fill="#F5F5F5" x="0" y="0" width="33.4444444" height="18.6666667" rx="1.6"></rect>
|
|
492
|
+
<path d="M1.6,0 L4.66666667,0 L4.66666667,0 L4.66666667,18.6666667 L1.6,18.6666667 C0.7163444,18.6666667 1.082166e-16,17.9503223 0,17.0666667 L0,1.6 C1.13828005e-16,0.7163444 0.7163444,-2.8176431e-16 1.6,0 Z" id="矩形备份-60" fill="#EEEEEE"></path>
|
|
493
|
+
<path d="M2.02222222,3.11111111 L2.64444444,3.11111111 C2.90217733,3.11111111 3.11111111,3.32004489 3.11111111,3.57777778 C3.11111111,3.83551066 2.90217733,4.04444444 2.64444444,4.04444444 L2.02222222,4.04444444 C1.76448934,4.04444444 1.55555556,3.83551066 1.55555556,3.57777778 C1.55555556,3.32004489 1.76448934,3.11111111 2.02222222,3.11111111 Z M2.02222222,7 L2.64444444,7 C2.90217733,7 3.11111111,7.20893378 3.11111111,7.46666667 C3.11111111,7.72439955 2.90217733,7.93333333 2.64444444,7.93333333 L2.02222222,7.93333333 C1.76448934,7.93333333 1.55555556,7.72439955 1.55555556,7.46666667 C1.55555556,7.20893378 1.76448934,7 2.02222222,7 Z M2.02222222,10.8888889 L2.64444444,10.8888889 C2.90217733,10.8888889 3.11111111,11.0978227 3.11111111,11.3555556 C3.11111111,11.6132884 2.90217733,11.8222222 2.64444444,11.8222222 L2.02222222,11.8222222 C1.76448934,11.8222222 1.55555556,11.6132884 1.55555556,11.3555556 C1.55555556,11.0978227 1.76448934,10.8888889 2.02222222,10.8888889 Z M2.02222222,14.7777778 L2.64444444,14.7777778 C2.90217733,14.7777778 3.11111111,14.9867116 3.11111111,15.2444444 C3.11111111,15.5021773 2.90217733,15.7111111 2.64444444,15.7111111 L2.02222222,15.7111111 C1.76448934,15.7111111 1.55555556,15.5021773 1.55555556,15.2444444 C1.55555556,14.9867116 1.76448934,14.7777778 2.02222222,14.7777778 Z" id="形状结合" fill="#CACACA"></path>
|
|
494
|
+
<path d="M8.24444444,3.11111111 L18.5279071,3.11111111 C18.7856399,3.11111111 18.9945737,3.32004489 18.9945737,3.57777778 C18.9945737,3.83551066 18.7856399,4.04444444 18.5279071,4.04444444 L8.24444444,4.04444444 C7.98671156,4.04444444 7.77777778,3.83551066 7.77777778,3.57777778 C7.77777778,3.32004489 7.98671156,3.11111111 8.24444444,3.11111111 Z" id="矩形备份-61" fill="#CACACA"></path>
|
|
495
|
+
<path d="M12.1333333,7 L18.626887,7 C18.8846199,7 19.0935537,7.20893378 19.0935537,7.46666667 C19.0935537,7.72439955 18.8846199,7.93333333 18.626887,7.93333333 L12.1333333,7.93333333 C11.8756005,7.93333333 11.6666667,7.72439955 11.6666667,7.46666667 C11.6666667,7.20893378 11.8756005,7 12.1333333,7 Z" id="矩形备份-63" fill="#FF7575"></path>
|
|
496
|
+
<path d="M8.24444444,10.8888889 L16.8888488,10.8888889 C17.1465817,10.8888889 17.3555155,11.0978227 17.3555155,11.3555556 C17.3555155,11.6132884 17.1465817,11.8222222 16.8888488,11.8222222 L8.24444444,11.8222222 C7.98671156,11.8222222 7.77777778,11.6132884 7.77777778,11.3555556 C7.77777778,11.0978227 7.98671156,10.8888889 8.24444444,10.8888889 Z" id="矩形备份-65" fill="#CACACA"></path>
|
|
497
|
+
<path d="M10.5777778,14.7777778 L22.6368137,14.7777778 C22.8945466,14.7777778 23.1034804,14.9867116 23.1034804,15.2444444 C23.1034804,15.5021773 22.8945466,15.7111111 22.6368137,15.7111111 L10.5777778,15.7111111 C10.3200449,15.7111111 10.1111111,15.5021773 10.1111111,15.2444444 C10.1111111,14.9867116 10.3200449,14.7777778 10.5777778,14.7777778 Z" id="矩形备份-66" fill="#6698FF"></path>
|
|
498
|
+
</g>
|
|
486
499
|
</g>
|
|
487
500
|
</g>
|
|
488
501
|
</g>
|
|
@@ -491,35 +504,40 @@ const PluginMenuSvgs = [
|
|
|
491
504
|
},
|
|
492
505
|
{
|
|
493
506
|
key: PluginMenuIcons.table,
|
|
494
|
-
svg:
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
507
|
+
svg: `
|
|
508
|
+
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
509
|
+
<title>表格</title>
|
|
510
|
+
<g id="表格" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
511
|
+
<g id="icon">
|
|
512
|
+
<rect id="矩形" fill="#FFFFFF" x="0" y="0" width="28" height="28" rx="4"></rect>
|
|
513
|
+
<path d="M24,0 C26.209139,0 28,1.790861 28,4 L28,24 C28,26.209139 26.209139,28 24,28 L4,28 C1.790861,28 0,26.209139 0,24 L0,4 C0,1.790861 1.790861,0 4,0 L24,0 Z M24,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,24 C1,25.6568542 2.34314575,27 4,27 L24,27 C25.6568542,27 27,25.6568542 27,24 L27,4 C27,2.34314575 25.6568542,1 24,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
514
|
+
<g id="编组-36" transform="translate(5.288889, 6.844444)">
|
|
515
|
+
<path d="M15.7111111,0 L1.71111111,0 C0.766090539,0 0,0.766090539 0,1.71111111 L0,12.6 C0,13.5450206 0.766090539,14.3111111 1.71111111,14.3111111 L15.7111111,14.3111111 C16.6561317,14.3111111 17.4222222,13.5450206 17.4222222,12.6 L17.4222222,1.71111111 C17.4222222,0.766090539 16.6561317,0 15.7111111,0 Z M15.7111111,0.933333333 C16.1406659,0.933333333 16.4888889,1.28155631 16.4888889,1.71111111 L16.4888889,12.6 C16.4888889,13.0295548 16.1406659,13.3777778 15.7111111,13.3777778 L1.71111111,13.3777778 C1.28155631,13.3777778 0.933333333,13.0295548 0.933333333,12.6 L0.933333333,1.71111111 C0.933333333,1.28155631 1.28155631,0.933333333 1.71111111,0.933333333 L15.7111111,0.933333333 Z" id="矩形" fill="#D8D8D8" fill-rule="nonzero"></path>
|
|
516
|
+
<path d="M1.73333333,0.933333333 L15.6888889,0.933333333 C16.1307167,0.933333333 16.4888889,1.29150553 16.4888889,1.73333333 L16.4888889,4.43333333 L16.4888889,4.43333333 L0.933333333,4.43333333 L0.933333333,1.73333333 C0.933333333,1.29150553 1.29150553,0.933333333 1.73333333,0.933333333 Z" id="矩形" fill="#EEEEEE"></path>
|
|
517
|
+
<path d="M16.4888889,4.04444444 L16.4888889,4.97777778 L11.8993333,4.97744444 L11.8993333,8.71044444 L16.4888889,8.71111111 L16.4888889,9.64444444 L11.8993333,9.64344444 L11.9,13.4555556 L10.9666667,13.4555556 L10.9663333,9.64344444 L6.45533333,9.64344444 L6.45555556,13.4555556 L5.52222222,13.4555556 L5.52133333,9.64344444 L0.933333333,9.64444444 L0.933333333,8.71111111 L5.52133333,8.71044444 L5.52133333,4.97744444 L0.933333333,4.97777778 L0.933333333,4.04444444 L16.4888889,4.04444444 Z M10.9663333,4.97744444 L6.45533333,4.97744444 L6.45533333,8.71044444 L10.9663333,8.71044444 L10.9663333,4.97744444 Z" id="形状结合" fill="#D8D8D8"></path>
|
|
518
|
+
<path d="M7.62222222,6.30931634 L9.8,6.30931634 C10.0577329,6.30931634 10.2666667,6.51825012 10.2666667,6.77598301 C10.2666667,7.03371589 10.0577329,7.24264967 9.8,7.24264967 L7.62222222,7.24264967 C7.36448934,7.24264967 7.15555556,7.03371589 7.15555556,6.77598301 C7.15555556,6.51825012 7.36448934,6.30931634 7.62222222,6.30931634 Z" id="矩形" fill="#6698FF"></path>
|
|
519
|
+
<path d="M13.0666667,10.977142 L15.2444444,10.977142 C15.5021773,10.977142 15.7111111,11.1860758 15.7111111,11.4438086 C15.7111111,11.7015415 15.5021773,11.9104753 15.2444444,11.9104753 L13.0666667,11.9104753 C12.8089338,11.9104753 12.6,11.7015415 12.6,11.4438086 C12.6,11.1860758 12.8089338,10.977142 13.0666667,10.977142 Z" id="矩形备份-71" fill="#FF7575"></path>
|
|
520
|
+
</g>
|
|
521
|
+
</g>
|
|
506
522
|
</g>
|
|
507
|
-
</
|
|
508
|
-
|
|
509
|
-
</svg>`
|
|
523
|
+
</svg>
|
|
524
|
+
`
|
|
510
525
|
},
|
|
511
526
|
{
|
|
512
527
|
key: PluginMenuIcons.hr,
|
|
513
528
|
svg: `
|
|
514
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
529
|
+
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
515
530
|
<title>分割线</title>
|
|
516
531
|
<g id="分割线" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
517
532
|
<g id="矩形备份-60">
|
|
518
|
-
<
|
|
519
|
-
<path d="
|
|
520
|
-
<g id="编组-33" transform="translate(
|
|
521
|
-
<path d="
|
|
522
|
-
<path d="
|
|
533
|
+
<rect id="蒙版" fill="#FFFFFF" x="0" y="0" width="28" height="28" rx="3.2"></rect>
|
|
534
|
+
<path d="M24.8,0 C26.5673112,0 28,1.4326888 28,3.2 L28,24.8 C28,26.5673112 26.5673112,28 24.8,28 L3.2,28 C1.4326888,28 0,26.5673112 0,24.8 L0,3.2 C0,1.4326888 1.4326888,0 3.2,0 L24.8,0 Z M24.8,1 L3.2,1 C1.98497355,1 1,1.98497355 1,3.2 L1,24.8 C1,26.0150264 1.98497355,27 3.2,27 L24.8,27 C26.0150264,27 27,26.0150264 27,24.8 L27,3.2 C27,1.98497355 26.0150264,1 24.8,1 Z" id="蒙版" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
535
|
+
<g id="编组-33" transform="translate(5.444444, 5.833333)">
|
|
536
|
+
<path d="M2.8,0 L13.6296746,0 C13.8874075,-9.63561613e-16 14.0963413,0.208933783 14.0963413,0.466666667 C14.0963413,0.72439955 13.8874075,0.933333333 13.6296746,0.933333333 L2.8,0.933333333 C2.54226712,0.933333333 2.33333333,0.72439955 2.33333333,0.466666667 C2.33333333,0.208933783 2.54226712,4.73447626e-17 2.8,0 Z" id="矩形备份-81" fill="#CACACA"></path>
|
|
537
|
+
<path d="M5.03699206,11.6666667 L15.8666667,11.6666667 C16.1243995,11.6666667 16.3333333,11.8756005 16.3333333,12.1333333 C16.3333333,12.3910662 16.1243995,12.6 15.8666667,12.6 L5.03699206,12.6 C4.77925918,12.6 4.5703254,12.3910662 4.5703254,12.1333333 C4.5703254,11.8756005 4.77925918,11.6666667 5.03699206,11.6666667 Z" id="矩形备份-84" fill="#CACACA"></path>
|
|
538
|
+
<path d="M4.27527116,3.88888889 L11.3932778,3.88888889 C11.6510107,3.88888889 11.8599445,4.09782267 11.8599445,4.35555556 C11.8599445,4.61328844 11.6510107,4.82222222 11.3932778,4.82222222 L4.27527116,4.82222222 C4.01753828,4.82222222 3.8086045,4.61328844 3.8086045,4.35555556 C3.8086045,4.09782267 4.01753828,3.88888889 4.27527116,3.88888889 Z" id="矩形备份-82" fill="#CACACA"></path>
|
|
539
|
+
<path d="M1.99010847,15.5555556 L9.10811511,15.5555556 C9.36584799,15.5555556 9.57478178,15.7644893 9.57478178,16.0222222 C9.57478178,16.2799551 9.36584799,16.4888889 9.10811511,16.4888889 L1.99010847,16.4888889 C1.73237558,16.4888889 1.5234418,16.2799551 1.5234418,16.0222222 C1.5234418,15.7644893 1.73237558,15.5555556 1.99010847,15.5555556 Z" id="矩形备份-85" fill="#CACACA"></path>
|
|
540
|
+
<path d="M0.466666667,7.77777778 L15.8666667,7.77777778 C16.1243995,7.77777778 16.3333333,7.98671156 16.3333333,8.24444444 C16.3333333,8.50217733 16.1243995,8.71111111 15.8666667,8.71111111 L0.466666667,8.71111111 C0.208933783,8.71111111 3.15631751e-17,8.50217733 0,8.24444444 C-3.15631751e-17,7.98671156 0.208933783,7.77777778 0.466666667,7.77777778 Z" id="矩形备份-83" fill="#AAAAAA"></path>
|
|
523
541
|
</g>
|
|
524
542
|
</g>
|
|
525
543
|
</g>
|
|
@@ -528,152 +546,168 @@ const PluginMenuSvgs = [
|
|
|
528
546
|
},
|
|
529
547
|
{
|
|
530
548
|
key: PluginMenuIcons.heading_1,
|
|
531
|
-
svg:
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
549
|
+
svg: `
|
|
550
|
+
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
551
|
+
<title>H1</title>
|
|
552
|
+
<g id="H1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
553
|
+
<g id="icon">
|
|
554
|
+
<rect id="矩形" fill="#FFFFFF" x="0" y="0" width="29" height="29" rx="4"></rect>
|
|
555
|
+
<path d="M25,0 C27.209139,0 29,1.790861 29,4 L29,25 C29,27.209139 27.209139,29 25,29 L4,29 C1.790861,29 0,27.209139 0,25 L0,4 C0,1.790861 1.790861,0 4,0 L25,0 Z M25,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,25 C1,26.6568542 2.34314575,28 4,28 L25,28 C26.6568542,28 28,26.6568542 28,25 L28,4 C28,2.34314575 26.6568542,1 25,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
556
|
+
<g id="1.Base基础/1.icon图标/11.editor/header-1" transform="translate(7.250000, 5.638889)" fill="#666666">
|
|
557
|
+
<path d="M0.486666667,8.8817842e-16 C0.751763347,9.50503252e-16 0.966666667,0.21490332 0.966666667,0.48 L0.966,4.188 L5.638,4.188 L5.63888889,0.48 C5.63888889,0.21490332 5.85379221,4.37275529e-16 6.11888889,8.8817842e-16 C6.39065224,8.3948095e-16 6.60555556,0.21490332 6.60555556,0.48 L6.60555556,9.18666667 C6.60555556,9.45176335 6.39065224,9.66666667 6.12555556,9.66666667 C5.85379221,9.66666667 5.63888889,9.45176335 5.63888889,9.18666667 L5.638,5.155 L0.966,5.155 L0.966666667,9.18666667 C0.966666667,9.45176335 0.751763347,9.66666667 0.486666667,9.66666667 C0.21490332,9.66666667 -8.5571344e-16,9.45176335 -8.8817842e-16,9.18666667 L-8.8817842e-16,0.48 C-9.206434e-16,0.21490332 0.21490332,5.48297831e-16 0.48,8.8817842e-16 Z M10.1533333,3.25323092 C10.41843,3.25323092 10.6333333,3.46813424 10.6333333,3.73323092 L10.6332222,8.69923092 L11.5222222,8.7 C11.7431361,8.7 11.9222222,8.8790861 11.9222222,9.1 L11.9222222,9.26666667 C11.9222222,9.48758057 11.7431361,9.66666667 11.5222222,9.66666667 L8.69722222,9.66666667 C8.47630832,9.66666667 8.29722222,9.48758057 8.29722222,9.26666667 L8.29722222,9.1 C8.29722222,8.8790861 8.47630832,8.7 8.69722222,8.7 L9.66622222,8.69923092 L9.66661166,4.83023092 L9.22952121,5.2392987 C9.05879467,5.39859668 8.80335832,5.41040234 8.62020432,5.28015221 L8.54649699,5.21554647 C8.36443045,5.02030401 8.37506666,4.7144468 8.57025613,4.53232345 L9.78398904,3.39983871 C9.81813435,3.36797911 9.85566805,3.3420192 9.8953342,3.3219155 C9.96893129,3.27904764 10.0547841,3.25323092 10.1466667,3.25323092 Z" id="形状结合"></path>
|
|
558
|
+
</g>
|
|
559
|
+
<path d="M6.92777778,22.5555556 L14.8222222,22.5555556 C15.0891599,22.5555556 15.3055556,22.7719513 15.3055556,23.0388889 C15.3055556,23.3058265 15.0891599,23.5222222 14.8222222,23.5222222 L6.92777778,23.5222222 C6.66084015,23.5222222 6.44444444,23.3058265 6.44444444,23.0388889 C6.44444444,22.7719513 6.66084015,22.5555556 6.92777778,22.5555556 Z M6.92777778,19.3333333 L22.0722222,19.3333333 C22.3391599,19.3333333 22.5555556,19.549729 22.5555556,19.8166667 C22.5555556,20.0836043 22.3391599,20.3 22.0722222,20.3 L6.92777778,20.3 C6.66084015,20.3 6.44444444,20.0836043 6.44444444,19.8166667 C6.44444444,19.549729 6.66084015,19.3333333 6.92777778,19.3333333 Z" id="形状结合" fill="#CACACA"></path>
|
|
560
|
+
</g>
|
|
539
561
|
</g>
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
</g>
|
|
543
|
-
</svg>`
|
|
562
|
+
</svg>
|
|
563
|
+
`
|
|
544
564
|
},
|
|
545
565
|
{
|
|
546
566
|
key: PluginMenuIcons.heading_2,
|
|
547
|
-
svg:
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
567
|
+
svg: `
|
|
568
|
+
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
569
|
+
<title>H2</title>
|
|
570
|
+
<g id="H2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
571
|
+
<g id="icon">
|
|
572
|
+
<rect id="矩形" fill="#FFFFFF" x="0" y="0" width="29" height="29" rx="4"></rect>
|
|
573
|
+
<path d="M25,0 C27.209139,0 29,1.790861 29,4 L29,25 C29,27.209139 27.209139,29 25,29 L4,29 C1.790861,29 0,27.209139 0,25 L0,4 C0,1.790861 1.790861,0 4,0 L25,0 Z M25,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,25 C1,26.6568542 2.34314575,28 4,28 L25,28 C26.6568542,28 28,26.6568542 28,25 L28,4 C28,2.34314575 26.6568542,1 25,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
574
|
+
<g id="1.Base基础/1.icon图标/11.editor/header-1" transform="translate(6.444444, 4.027778)" fill="#666666">
|
|
575
|
+
<path d="M1.29222222,1.61111111 C1.5573189,1.61111111 1.77222222,1.82601443 1.77222222,2.09111111 L1.77155556,5.79911111 L6.44355556,5.79911111 L6.44444444,2.09111111 C6.44444444,1.82601443 6.65934776,1.61111111 6.92444444,1.61111111 C7.19620779,1.61111111 7.41111111,1.82601443 7.41111111,2.09111111 L7.41111111,10.7977778 C7.41111111,11.0628745 7.19620779,11.2777778 6.93111111,11.2777778 C6.65934776,11.2777778 6.44444444,11.0628745 6.44444444,10.7977778 L6.44355556,6.76611111 L1.77155556,6.76611111 L1.77222222,10.7977778 C1.77222222,11.0628745 1.5573189,11.2777778 1.29222222,11.2777778 C1.02045888,11.2777778 0.805555556,11.0628745 0.805555556,10.7977778 L0.805555556,2.09111111 C0.805555556,1.82601443 1.02045888,1.61111111 1.28555556,1.61111111 Z M8.54294866,10.4032326 C8.46549728,10.9453191 8.88653734,11.2093734 9.4040306,11.163087 L11.8695555,11.1650088 C12.1364932,11.1650088 12.3528889,10.9486131 12.3528889,10.6816755 C12.3528889,10.4147378 12.1364932,10.1983421 11.8695555,10.1983421 L9.55217211,10.1983421 C9.60918772,9.92829744 9.70569542,9.74900596 9.9446738,9.49220573 C9.97197905,9.46286418 10.0006812,9.4338407 10.0308266,9.40514925 C10.0679212,9.3698437 10.1057089,9.33674814 10.1448148,9.30516195 C10.2581667,9.2136064 10.3681121,9.14331129 10.5709549,9.02767503 C11.2068418,8.66516981 11.4676596,8.47753842 11.8884967,7.99593234 C12.6911804,7.07734092 12.3931352,5.55838894 11.128364,5.0741833 C10.5598979,4.85655145 9.85150899,4.9436238 9.27174711,5.27959293 C9.01795716,5.42666295 8.80133283,5.6322987 8.62349658,5.89139752 C8.47243845,6.11148191 8.52839529,6.41235237 8.74847967,6.5634105 C8.96856406,6.71446863 9.26943452,6.6585118 9.42049266,6.43842741 C9.51915996,6.29467392 9.63059666,6.18889 9.7564252,6.11597299 C10.0954248,5.91952439 10.5021542,5.86953083 10.7827471,5.97695316 C11.3954703,6.21152839 11.5364026,6.92977344 11.1605804,7.35986444 C10.8276846,7.74083056 10.6416645,7.87465269 10.0922091,8.18788523 C9.84765548,8.32729991 9.70077752,8.42120842 9.53741414,8.55315866 C9.47812108,8.60105026 9.42063041,8.65140227 9.36438446,8.70493545 C9.32009556,8.74708828 9.2776503,8.79000875 9.23702309,8.83366574 C8.95040764,9.14165557 8.76259006,9.47514822 8.65373667,9.8216451 C8.61323435,9.95057013 8.58575819,10.0744594 8.56723778,10.1981068 C8.55807029,10.2593115 8.54386212,10.3912347 8.54294866,10.4032326 Z" id="形状结合"></path>
|
|
576
|
+
</g>
|
|
577
|
+
<path d="M6.92777778,22.5555556 L14.8222222,22.5555556 C15.0891599,22.5555556 15.3055556,22.7719513 15.3055556,23.0388889 C15.3055556,23.3058265 15.0891599,23.5222222 14.8222222,23.5222222 L6.92777778,23.5222222 C6.66084015,23.5222222 6.44444444,23.3058265 6.44444444,23.0388889 C6.44444444,22.7719513 6.66084015,22.5555556 6.92777778,22.5555556 Z M6.92777778,19.3333333 L22.0722222,19.3333333 C22.3391599,19.3333333 22.5555556,19.549729 22.5555556,19.8166667 C22.5555556,20.0836043 22.3391599,20.3 22.0722222,20.3 L6.92777778,20.3 C6.66084015,20.3 6.44444444,20.0836043 6.44444444,19.8166667 C6.44444444,19.549729 6.66084015,19.3333333 6.92777778,19.3333333 Z" id="形状结合" fill="#CACACA"></path>
|
|
578
|
+
</g>
|
|
555
579
|
</g>
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
</g>
|
|
559
|
-
</svg>`
|
|
580
|
+
</svg>
|
|
581
|
+
`
|
|
560
582
|
},
|
|
561
583
|
{
|
|
562
584
|
key: PluginMenuIcons.heading_3,
|
|
563
|
-
svg:
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
585
|
+
svg: `
|
|
586
|
+
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
587
|
+
<title>H3</title>
|
|
588
|
+
<g id="H3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
589
|
+
<g id="icon">
|
|
590
|
+
<rect id="矩形" fill="#FFFFFF" x="0" y="0" width="29" height="29" rx="4"></rect>
|
|
591
|
+
<path d="M25,0 C27.209139,0 29,1.790861 29,4 L29,25 C29,27.209139 27.209139,29 25,29 L4,29 C1.790861,29 0,27.209139 0,25 L0,4 C0,1.790861 1.790861,0 4,0 L25,0 Z M25,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,25 C1,26.6568542 2.34314575,28 4,28 L25,28 C26.6568542,28 28,26.6568542 28,25 L28,4 C28,2.34314575 26.6568542,1 25,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
592
|
+
<g id="1.Base基础/1.icon图标/11.editor/header-1" transform="translate(6.444444, 4.027778)" fill="#666666">
|
|
593
|
+
<path d="M1.29222222,1.61111111 C1.5573189,1.61111111 1.77222222,1.82601443 1.77222222,2.09111111 L1.77155556,5.79911111 L6.44355556,5.79911111 L6.44444444,2.09111111 C6.44444444,1.82601443 6.65934776,1.61111111 6.92444444,1.61111111 C7.19620779,1.61111111 7.41111111,1.82601443 7.41111111,2.09111111 L7.41111111,10.7977778 C7.41111111,11.0628745 7.19620779,11.2777778 6.93111111,11.2777778 C6.65934776,11.2777778 6.44444444,11.0628745 6.44444444,10.7977778 L6.44355556,6.76611111 L1.77155556,6.76611111 L1.77222222,10.7977778 C1.77222222,11.0628745 1.5573189,11.2777778 1.29222222,11.2777778 C1.02045888,11.2777778 0.805555556,11.0628745 0.805555556,10.7977778 L0.805555556,2.09111111 C0.805555556,1.82601443 1.02045888,1.61111111 1.28555556,1.61111111 Z M11.948143,5.79180879 C12.192703,5.47396858 11.9661194,5.01373083 11.5650807,5.01373083 L8.88060052,5.01373083 C8.61366289,5.01373083 8.39726719,5.23012653 8.39726719,5.49706416 C8.39726719,5.76400179 8.61366289,5.98039749 8.88060052,5.98039749 L10.5833317,5.98039749 L9.54636273,7.32808515 C9.48134505,7.4125848 9.44609168,7.51621136 9.44609168,7.62282979 L9.44609168,7.91799037 C9.44609168,8.18980116 9.670148,8.40816141 9.94186869,8.4011635 C10.2134677,8.39416871 10.4585479,8.42132967 10.6774338,8.48206912 C11.0681589,8.59049288 11.2956745,9.04295787 11.144216,9.57106622 C11.0337145,9.95636505 10.6647495,10.1691949 10.1647748,10.1691949 C9.70164909,10.1691949 9.23540718,9.99918387 8.75794251,9.65224072 C8.54199506,9.49532547 8.23973012,9.54318053 8.08281487,9.75912798 C7.92589961,9.97507543 7.97375467,10.2773404 8.18970212,10.4342556 C8.83030566,10.8997414 9.49159006,11.1358616 10.1647748,11.1358616 C11.0993241,11.1358616 11.830095,10.6860003 12.0734236,9.83755774 C12.3756837,8.78363144 11.8418254,7.80198592 10.9359105,7.55060026 C10.8414661,7.52439254 10.7445514,7.50259363 10.6451818,7.48519091 L11.948143,5.79180879 Z" id="形状结合"></path>
|
|
594
|
+
</g>
|
|
595
|
+
<path d="M6.92777778,22.5555556 L14.8222222,22.5555556 C15.0891599,22.5555556 15.3055556,22.7719513 15.3055556,23.0388889 C15.3055556,23.3058265 15.0891599,23.5222222 14.8222222,23.5222222 L6.92777778,23.5222222 C6.66084015,23.5222222 6.44444444,23.3058265 6.44444444,23.0388889 C6.44444444,22.7719513 6.66084015,22.5555556 6.92777778,22.5555556 Z M6.92777778,19.3333333 L22.0722222,19.3333333 C22.3391599,19.3333333 22.5555556,19.549729 22.5555556,19.8166667 C22.5555556,20.0836043 22.3391599,20.3 22.0722222,20.3 L6.92777778,20.3 C6.66084015,20.3 6.44444444,20.0836043 6.44444444,19.8166667 C6.44444444,19.549729 6.66084015,19.3333333 6.92777778,19.3333333 Z" id="形状结合" fill="#CACACA"></path>
|
|
596
|
+
</g>
|
|
571
597
|
</g>
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
</g>
|
|
575
|
-
</svg>`
|
|
598
|
+
</svg>
|
|
599
|
+
`
|
|
576
600
|
},
|
|
577
601
|
{
|
|
578
602
|
key: PluginMenuIcons.heading_4,
|
|
579
|
-
svg:
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
603
|
+
svg: `
|
|
604
|
+
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
605
|
+
<title>H4</title>
|
|
606
|
+
<g id="H4" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
607
|
+
<g id="icon">
|
|
608
|
+
<rect id="矩形" fill="#FFFFFF" x="0" y="0" width="29" height="29" rx="4"></rect>
|
|
609
|
+
<path d="M25,0 C27.209139,0 29,1.790861 29,4 L29,25 C29,27.209139 27.209139,29 25,29 L4,29 C1.790861,29 0,27.209139 0,25 L0,4 C0,1.790861 1.790861,0 4,0 L25,0 Z M25,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,25 C1,26.6568542 2.34314575,28 4,28 L25,28 C26.6568542,28 28,26.6568542 28,25 L28,4 C28,2.34314575 26.6568542,1 25,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
610
|
+
<g id="1.Base基础/1.icon图标/11.editor/header-1" transform="translate(6.444444, 4.027778)" fill="#666666">
|
|
611
|
+
<path d="M1.29222222,1.61111111 C1.5573189,1.61111111 1.77222222,1.82601443 1.77222222,2.09111111 L1.77155556,5.79911111 L6.44355556,5.79911111 L6.44444444,2.09111111 C6.44444444,1.82601443 6.65934776,1.61111111 6.92444444,1.61111111 C7.19620779,1.61111111 7.41111111,1.82601443 7.41111111,2.09111111 L7.41111111,10.7977778 C7.41111111,11.0628745 7.19620779,11.2777778 6.93111111,11.2777778 C6.65934776,11.2777778 6.44444444,11.0628745 6.44444444,10.7977778 L6.44355556,6.76611111 L1.77155556,6.76611111 L1.77222222,10.7977778 C1.77222222,11.0628745 1.5573189,11.2777778 1.29222222,11.2777778 C1.02045888,11.2777778 0.805555556,11.0628745 0.805555556,10.7977778 L0.805555556,2.09111111 C0.805555556,1.82601443 1.02045888,1.61111111 1.28555556,1.61111111 Z M10.8019545,4.76358802 C11.0688522,4.76820431 11.2814733,4.98830989 11.276857,5.2552076 L11.227722,8.04846189 L11.9367156,8.04858418 C12.1739935,8.04858418 12.371337,8.2195635 12.4122617,8.44503773 L12.4200489,8.53191751 C12.4200489,8.79885514 12.2036532,9.01525084 11.9367156,9.01525084 L11.210722,9.01446189 L11.1806618,10.8168794 C11.1765584,11.0541218 11.0021919,11.248479 10.7760437,11.2854984 L10.6890422,11.2917819 C10.4221445,11.2871657 10.2095234,11.0670601 10.2141397,10.8001624 L10.244722,9.01446189 L8.53186071,9.01525084 C8.17452736,9.01525084 7.95025766,8.64635821 8.08952304,8.3363514 L8.12821939,8.26605139 L10.2919929,4.98098295 C10.3949928,4.82460722 10.5732365,4.74757228 10.7474255,4.7661967 Z M10.260722,8.04846189 L10.283722,6.75046189 L9.42897666,8.04858418 L10.260722,8.04846189 Z" id="形状结合"></path>
|
|
612
|
+
</g>
|
|
613
|
+
<path d="M6.92777778,22.5555556 L14.8222222,22.5555556 C15.0891599,22.5555556 15.3055556,22.7719513 15.3055556,23.0388889 C15.3055556,23.3058265 15.0891599,23.5222222 14.8222222,23.5222222 L6.92777778,23.5222222 C6.66084015,23.5222222 6.44444444,23.3058265 6.44444444,23.0388889 C6.44444444,22.7719513 6.66084015,22.5555556 6.92777778,22.5555556 Z M6.92777778,19.3333333 L22.0722222,19.3333333 C22.3391599,19.3333333 22.5555556,19.549729 22.5555556,19.8166667 C22.5555556,20.0836043 22.3391599,20.3 22.0722222,20.3 L6.92777778,20.3 C6.66084015,20.3 6.44444444,20.0836043 6.44444444,19.8166667 C6.44444444,19.549729 6.66084015,19.3333333 6.92777778,19.3333333 Z" id="形状结合" fill="#CACACA"></path>
|
|
614
|
+
</g>
|
|
587
615
|
</g>
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
</g>
|
|
591
|
-
</svg>`
|
|
616
|
+
</svg>
|
|
617
|
+
`
|
|
592
618
|
},
|
|
593
619
|
{
|
|
594
620
|
key: PluginMenuIcons.bulletedList,
|
|
595
|
-
svg:
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
621
|
+
svg: `
|
|
622
|
+
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
623
|
+
<title>无序列表</title>
|
|
624
|
+
<g id="无序列表" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
625
|
+
<g id="icon">
|
|
626
|
+
<rect id="矩形" fill="#FFFFFF" x="0" y="0" width="29" height="29" rx="4"></rect>
|
|
627
|
+
<path d="M25,0 C27.209139,0 29,1.790861 29,4 L29,25 C29,27.209139 27.209139,29 25,29 L4,29 C1.790861,29 0,27.209139 0,25 L0,4 C0,1.790861 1.790861,0 4,0 L25,0 Z M25,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,25 C1,26.6568542 2.34314575,28 4,28 L25,28 C26.6568542,28 28,26.6568542 28,25 L28,4 C28,2.34314575 26.6568542,1 25,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
628
|
+
<g id="1.icon图标/11.editor/-save备份-32" transform="translate(6.444444, 7.250000)">
|
|
629
|
+
<circle id="椭圆形" fill="#666666" cx="1.20833333" cy="1.20833333" r="1.20833333"></circle>
|
|
630
|
+
<circle id="椭圆形备份" fill="#666666" cx="1.20833333" cy="7.25" r="1.20833333"></circle>
|
|
631
|
+
<circle id="椭圆形备份-2" fill="#666666" cx="1.20833333" cy="13.2916667" r="1.20833333"></circle>
|
|
632
|
+
<g id="编组-2" transform="translate(5.638889, 0.805556)" fill="#CACACA">
|
|
633
|
+
<path d="M0.483185877,6.0896638 L6.76681412,6.0896638 C7.03367031,6.0896638 7.25,6.30599348 7.25,6.57284968 C7.25,6.83970587 7.03367031,7.05603555 6.76681412,7.05603555 L0.483185877,7.05603555 C0.216329686,7.05603555 3.2680458e-17,6.83970587 0,6.57284968 C-3.2680458e-17,6.30599348 0.216329686,6.0896638 0.483185877,6.0896638 Z" id="矩形备份-74"></path>
|
|
634
|
+
<path d="M0.483185877,0 L9.98903635,0 C10.2558925,5.01716756e-16 10.4722222,0.216329686 10.4722222,0.483185877 C10.4722222,0.750042068 10.2558925,0.966371753 9.98903635,0.966371753 L0.483185877,0.966371753 C0.216329686,0.966371753 3.2680458e-17,0.750042068 0,0.483185877 C-3.2680458e-17,0.216329686 0.216329686,1.04531838e-16 0.483185877,0 Z" id="矩形备份-75"></path>
|
|
635
|
+
<path d="M0.483185877,12.0833333 L9.98903635,12.0833333 C10.2558925,12.0833333 10.4722222,12.299663 10.4722222,12.5665192 C10.4722222,12.8333754 10.2558925,13.0497051 9.98903635,13.0497051 L0.483185877,13.0497051 C0.216329686,13.0497051 3.2680458e-17,12.8333754 0,12.5665192 C-3.2680458e-17,12.299663 0.216329686,12.0833333 0.483185877,12.0833333 Z" id="矩形备份-77"></path>
|
|
636
|
+
</g>
|
|
637
|
+
</g>
|
|
609
638
|
</g>
|
|
610
639
|
</g>
|
|
611
|
-
</
|
|
612
|
-
|
|
613
|
-
</svg>`
|
|
640
|
+
</svg>
|
|
641
|
+
`
|
|
614
642
|
},
|
|
615
643
|
{
|
|
616
644
|
key: PluginMenuIcons.numberedList,
|
|
617
|
-
svg:
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
645
|
+
svg: `
|
|
646
|
+
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
647
|
+
<title>有序列表</title>
|
|
648
|
+
<g id="有序列表" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
649
|
+
<g id="icon">
|
|
650
|
+
<rect id="矩形" fill="#FFFFFF" x="0" y="0" width="29" height="29" rx="4"></rect>
|
|
651
|
+
<path d="M25,0 C27.209139,0 29,1.790861 29,4 L29,25 C29,27.209139 27.209139,29 25,29 L4,29 C1.790861,29 0,27.209139 0,25 L0,4 C0,1.790861 1.790861,0 4,0 L25,0 Z M25,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,25 C1,26.6568542 2.34314575,28 4,28 L25,28 C26.6568542,28 28,26.6568542 28,25 L28,4 C28,2.34314575 26.6568542,1 25,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
652
|
+
<g id="1.icon图标/11.editor/-save备份-32" transform="translate(6.444444, 6.444444)">
|
|
653
|
+
<path d="M1.04017606,1.15763283 L1.04017606,3.82018834 L2.08035212,3.82018834 L2.08035212,0 L1.27132629,0 L0,0.810342981 L0.462300471,1.62068596 L1.04017606,1.15763283 Z M0.115575118,6.83003369 L0.809025824,7.40885011 C0.924600942,7.17732354 1.15575118,7.06156026 1.27132629,7.06156026 C1.38690141,7.06156026 1.38690141,7.06156026 1.50247653,7.17732354 C1.61805165,7.29308683 1.61805165,7.29308683 1.61805165,7.40885011 C1.61805165,7.52461339 1.61805165,7.64037668 1.50247653,7.75613996 C1.38690141,7.87190324 1.27132629,7.98766652 1.15575118,8.21919309 L0.115575118,9.37682592 L0.115575118,10.0714056 L2.65822771,10.0714056 L2.65822771,9.14529935 L1.50247653,9.14529935 L1.964777,8.68224622 C2.31150235,8.33495637 2.54265259,8.10342981 2.54265259,7.87190324 C2.65822771,7.64037668 2.65822771,7.52461339 2.65822771,7.29308683 C2.65822771,6.94579698 2.54265259,6.71427041 2.31150235,6.48274385 C2.08035212,6.25121728 1.73362677,6.135454 1.38690141,6.135454 C0.809025824,6.135454 0.346725353,6.36698056 0.115575118,6.83003369 Z M2.19592724,14.2388838 C2.54265259,14.0073572 2.65822771,13.7758307 2.65822771,13.3127775 C2.65822771,12.9654877 2.54265259,12.7339611 2.31150235,12.5024346 C2.08035212,12.270908 1.73362677,12.270908 1.38690141,12.270908 C1.15575118,12.270908 0.809025824,12.3866713 0.577875589,12.5024346 C0.346725353,12.6181978 0.231150235,12.8497244 0.115575118,13.081251 L0.924600942,13.5443041 C1.04017606,13.3127775 1.15575118,13.1970143 1.38690141,13.1970143 C1.50247653,13.1970143 1.61805165,13.1970143 1.61805165,13.3127775 C1.73362677,13.3127775 1.73362677,13.4285408 1.73362677,13.5443041 C1.73362677,13.6600674 1.73362677,13.6600674 1.61805165,13.7758307 C1.50247653,13.7758307 1.50247653,13.891594 1.38690141,13.891594 L1.04017606,13.891594 L1.04017606,14.7019369 L1.27132629,14.7019369 C1.38690141,14.7019369 1.50247653,14.7019369 1.61805165,14.8177002 C1.73362677,14.9334635 1.73362677,14.9334635 1.73362677,15.0492268 C1.73362677,15.1649901 1.73362677,15.2807534 1.61805165,15.2807534 C1.50247653,15.3965166 1.50247653,15.3965166 1.38690141,15.3965166 C1.15575118,15.3965166 1.04017606,15.2807534 0.924600942,15.0492268 L0,15.2807534 C0.115575118,15.5122799 0.231150235,15.7438065 0.577875589,15.975333 C0.809025824,16.0910963 1.15575118,16.2068596 1.50247653,16.2068596 C1.84920188,16.2068596 2.19592724,16.0910963 2.42707747,15.8595698 C2.65822771,15.6280432 2.77380283,15.3965166 2.77380283,15.0492268 C2.77380283,14.7019369 2.54265259,14.3546471 2.19592724,14.2388838 Z" id="合并形状" fill="#666666" fill-rule="nonzero"></path>
|
|
654
|
+
<g id="编组-2" transform="translate(5.638889, 1.611111)" fill="#CACACA">
|
|
655
|
+
<path d="M0.483185877,6.0896638 L6.76681412,6.0896638 C7.03367031,6.0896638 7.25,6.30599348 7.25,6.57284968 C7.25,6.83970587 7.03367031,7.05603555 6.76681412,7.05603555 L0.483185877,7.05603555 C0.216329686,7.05603555 3.2680458e-17,6.83970587 0,6.57284968 C-3.2680458e-17,6.30599348 0.216329686,6.0896638 0.483185877,6.0896638 Z" id="矩形备份-74"></path>
|
|
656
|
+
<path d="M0.483185877,0 L9.98903635,0 C10.2558925,5.01716756e-16 10.4722222,0.216329686 10.4722222,0.483185877 C10.4722222,0.750042068 10.2558925,0.966371753 9.98903635,0.966371753 L0.483185877,0.966371753 C0.216329686,0.966371753 3.2680458e-17,0.750042068 0,0.483185877 C-3.2680458e-17,0.216329686 0.216329686,1.04531838e-16 0.483185877,0 Z" id="矩形备份-75"></path>
|
|
657
|
+
<path d="M0.483185877,12.0833333 L9.98903635,12.0833333 C10.2558925,12.0833333 10.4722222,12.299663 10.4722222,12.5665192 C10.4722222,12.8333754 10.2558925,13.0497051 9.98903635,13.0497051 L0.483185877,13.0497051 C0.216329686,13.0497051 3.2680458e-17,12.8333754 0,12.5665192 C-3.2680458e-17,12.299663 0.216329686,12.0833333 0.483185877,12.0833333 Z" id="矩形备份-77"></path>
|
|
658
|
+
</g>
|
|
659
|
+
</g>
|
|
629
660
|
</g>
|
|
630
661
|
</g>
|
|
631
|
-
</
|
|
632
|
-
|
|
633
|
-
</svg>`
|
|
662
|
+
</svg>
|
|
663
|
+
`
|
|
634
664
|
},
|
|
635
665
|
{
|
|
636
666
|
key: PluginMenuIcons.link,
|
|
637
|
-
svg:
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
667
|
+
svg: `
|
|
668
|
+
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
669
|
+
<title>链接</title>
|
|
670
|
+
<g id="链接" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
671
|
+
<g id="icon">
|
|
672
|
+
<rect id="矩形" fill="#FFFFFF" x="0" y="0" width="29" height="29" rx="4"></rect>
|
|
673
|
+
<path d="M25,0 C27.209139,0 29,1.790861 29,4 L29,25 C29,27.209139 27.209139,29 25,29 L4,29 C1.790861,29 0,27.209139 0,25 L0,4 C0,1.790861 1.790861,0 4,0 L25,0 Z M25,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,25 C1,26.6568542 2.34314575,28 4,28 L25,28 C26.6568542,28 28,26.6568542 28,25 L28,4 C28,2.34314575 26.6568542,1 25,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
674
|
+
<g id="编组-5" transform="translate(4.027778, 8.055556)">
|
|
675
|
+
<path d="M15.0350681,6.34736082 L17.4060977,6.34736082 C17.6730353,6.34736082 17.889431,6.56375652 17.889431,6.83069415 C17.889431,7.09763178 17.6730353,7.31402748 17.4060977,7.31402748 L15.0350681,7.31402748 C14.7681305,7.31402748 14.5517348,7.09763178 14.5517348,6.83069415 C14.5517348,6.56375652 14.7681305,6.34736082 15.0350681,6.34736082 Z" id="矩形备份-76" fill="#73D897"></path>
|
|
676
|
+
<path d="M15.0350681,1.84691117 L19.6555556,1.84691117 C19.9224932,1.84691117 20.1388889,2.06330687 20.1388889,2.3302445 C20.1388889,2.59718213 19.9224932,2.81357784 19.6555556,2.81357784 L15.0350681,2.81357784 C14.7681305,2.81357784 14.5517348,2.59718213 14.5517348,2.3302445 C14.5517348,2.06330687 14.7681305,1.84691117 15.0350681,1.84691117 Z" id="矩形备份-89" fill="#6698FF"></path>
|
|
677
|
+
<path d="M15.0350681,10.8478105 L19.6555556,10.8478105 C19.9224932,10.8478105 20.1388889,11.0642062 20.1388889,11.3311438 C20.1388889,11.5980814 19.9224932,11.8144771 19.6555556,11.8144771 L15.0350681,11.8144771 C14.7681305,11.8144771 14.5517348,11.5980814 14.5517348,11.3311438 C14.5517348,11.0642062 14.7681305,10.8478105 15.0350681,10.8478105 Z" id="矩形备份-91" fill="#FF7575"></path>
|
|
678
|
+
<g id="1.Base基础/1.icon图标/11.editor/link-insert" transform="translate(-0.805556, -0.805556)" fill="#DDDDDD">
|
|
679
|
+
<path d="M7.45355719,4.93747921 C9.23314138,4.93747921 10.6757794,6.38011724 10.6757794,8.15970143 L10.6757794,11.3819237 C10.6757794,13.1615078 9.23314138,14.6041459 7.45355719,14.6041459 C5.673973,14.6041459 4.23133497,13.1615078 4.23133497,11.3819237 L4.23177941,10.5771459 L5.19877941,10.5771459 L5.19800164,11.3819237 C5.19800164,12.6276326 6.20784825,13.6374792 7.45355719,13.6374792 C8.69926613,13.6374792 9.70911275,12.6276326 9.70911275,11.3819237 L9.70911275,8.15970143 C9.70911275,6.9139925 8.69926613,5.90414588 7.45355719,5.90414588 L7.45355719,4.93747921 Z M7.45355719,0.104145876 C9.23314138,0.104145876 10.6757794,1.5467839 10.6757794,3.3263681 L10.675335,4.13114588 L9.70833497,4.13114588 L9.70911275,3.3263681 C9.70911275,2.08065916 8.69926613,1.07081254 7.45355719,1.07081254 C6.20784825,1.07081254 5.19800164,2.08065916 5.19800164,3.3263681 L5.19800164,6.54859032 C5.19800164,7.79429926 6.20784825,8.80414588 7.45355719,8.80414588 L7.45355719,9.77081254 C5.673973,9.77081254 4.23133497,8.32817451 4.23133497,6.54859032 L4.23133497,3.3263681 C4.23133497,1.5467839 5.673973,0.104145876 7.45355719,0.104145876 Z" id="形状结合" transform="translate(7.453557, 7.354146) rotate(46.000000) translate(-7.453557, -7.354146) "></path>
|
|
680
|
+
</g>
|
|
681
|
+
</g>
|
|
649
682
|
</g>
|
|
650
683
|
</g>
|
|
651
|
-
</
|
|
652
|
-
|
|
653
|
-
</svg>`
|
|
684
|
+
</svg>
|
|
685
|
+
`
|
|
654
686
|
},
|
|
655
687
|
{
|
|
656
688
|
key: PluginMenuIcons.checkItem,
|
|
657
|
-
svg:
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
689
|
+
svg: `
|
|
690
|
+
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
691
|
+
<title>待办事项</title>
|
|
692
|
+
<g id="待办事项" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
693
|
+
<g id="icon备份-2">
|
|
694
|
+
<rect id="矩形" fill="#FFFFFF" x="0" y="0" width="29" height="29" rx="4"></rect>
|
|
695
|
+
<path d="M25,0 C27.209139,0 29,1.790861 29,4 L29,25 C29,27.209139 27.209139,29 25,29 L4,29 C1.790861,29 0,27.209139 0,25 L0,4 C0,1.790861 1.790861,0 4,0 L25,0 Z M25,1 L4,1 C2.34314575,1 1,2.34314575 1,4 L1,25 C1,26.6568542 2.34314575,28 4,28 L25,28 C26.6568542,28 28,26.6568542 28,25 L28,4 C28,2.34314575 26.6568542,1 25,1 Z" id="矩形" fill="#EEEEEE" fill-rule="nonzero"></path>
|
|
696
|
+
<g id="编组-4" transform="translate(4.027778, 9.666667)">
|
|
697
|
+
<g id="编组-3" transform="translate(12.808333, 0.000000)" fill="#CACACA">
|
|
698
|
+
<path d="M0.483333333,4.50044965 L2.85436291,4.50044965 C3.12130054,4.50044965 3.33769625,4.71684535 3.33769625,4.98378298 C3.33769625,5.25072061 3.12130054,5.46711632 2.85436291,5.46711632 L0.483333333,5.46711632 C0.216395704,5.46711632 1.46532971e-12,5.25072061 1.46529702e-12,4.98378298 C1.46526433e-12,4.71684535 0.216395704,4.50044965 0.483333333,4.50044965 Z" id="矩形备份-74"></path>
|
|
699
|
+
<path d="M0.483333333,0 L5.1038208,0 C5.37075843,3.6496629e-16 5.58715414,0.216395704 5.58715414,0.483333333 C5.58715414,0.750270962 5.37075843,0.966666667 5.1038208,0.966666667 L0.483333333,0.966666667 C0.216395704,0.966666667 3.26904313e-17,0.750270962 0,0.483333333 C-3.26904313e-17,0.216395704 0.216395704,4.9035647e-17 0.483333333,0 Z" id="矩形备份-75"></path>
|
|
700
|
+
<path d="M0.483333333,9.0008993 L5.1038208,9.0008993 C5.37075843,9.0008993 5.58715414,9.217295 5.58715414,9.48423263 C5.58715414,9.75117026 5.37075843,9.96756596 5.1038208,9.96756596 L0.483333333,9.96756596 C0.216395704,9.96756596 3.26904313e-17,9.75117026 0,9.48423263 C-3.26904313e-17,9.217295 0.216395704,9.0008993 0.483333333,9.0008993 Z" id="矩形备份-77"></path>
|
|
701
|
+
</g>
|
|
702
|
+
<g id="3.Data-Input-数据输入/-3.Checkbox-多选框-/-3.Select" stroke="#6698FF">
|
|
703
|
+
<path d="M8.45833575,0.4 C8.68155193,0.4 8.88363194,0.49047157 9.02990764,0.636748731 C9.17618616,0.783028715 9.266657,0.985114583 9.266657,1.20833333 L9.266657,8.4583575 C9.266657,8.68157335 9.17618423,8.88365952 9.02990467,9.02994054 C8.88362938,9.17621729 8.68155079,9.26669083 8.45833575,9.26669083 L1.20831037,9.26669083 C0.985115594,9.26669083 0.783038483,9.17620636 0.63675948,9.02992458 C0.490483285,8.88364561 0.4,8.68156715 0.4,8.4583575 L0.4,1.20833333 C0.4,0.985120782 0.490481351,0.783042629 0.63675651,0.636764691 C0.783035922,0.4904825 0.985114455,0.4 1.20831037,0.4 L8.45833575,0.4 Z" id="圆角矩形-12-拷贝-12" stroke-width="0.8" fill="#6698FF" opacity="0.300000012"></path>
|
|
704
|
+
<polyline id="路径" stroke-width="1.2" points="2.41667271 4.30160205 4.22917271 6.11410205 7.12315464 3.02084542"></polyline>
|
|
705
|
+
</g>
|
|
706
|
+
</g>
|
|
672
707
|
</g>
|
|
673
708
|
</g>
|
|
674
|
-
</
|
|
675
|
-
|
|
676
|
-
</svg>`
|
|
709
|
+
</svg>
|
|
710
|
+
`
|
|
677
711
|
}
|
|
678
712
|
];
|
|
679
713
|
let THE_DEFAULT_MENU_ICONS_HAS_INITIALIZED = false;
|
|
@@ -10395,10 +10429,10 @@ class ThePluginMenuComponent extends mixinUnsubscribe(MixinBase) {
|
|
|
10395
10429
|
}
|
|
10396
10430
|
}
|
|
10397
10431
|
ThePluginMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: ThePluginMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$1.ThyPopoverRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10398
|
-
ThePluginMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: ThePluginMenuComponent, selector: "the-plugin-menu", inputs: { editor: "editor", theDisplaySearch: "theDisplaySearch", thePluginMenu: "thePluginMenu" }, host: { properties: { "class": "this.containerClassName" } }, viewQueries: [{ propertyName: "dropdownTriggers", predicate: ["dropdownTriggers"], descendants: true, read: ThyDropdownDirective }], usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"theDisplaySearch\" class=\"menu-search px-5 pt-5 pb-2\">\n <thy-input-search [(ngModel)]=\"keyWords\" placeholder=\"\u641C\u7D22\" thyIconPosition=\"after\" (ngModelChange)=\"updateKeywords(keyWords)\">\n </thy-input-search>\n</div>\n\n<div\n *ngIf=\"groupMenu.length > 0; else thyEmpty\"\n theListBox\n [keyboardContainer]=\"keyboardContainer\"\n (theListboxChange)=\"theListboxChange($event)\"\n class=\"thy-dropdown-menu the-plugin-menu-scroll-container pb-2 pt-0\"\n>\n <div *ngIf=\"iconMenu?.length > 0\" theListboxGroup [horizontalColumn]=\"6\" class=\"icon-menu d-flex pl-5 py-1\">\n <ng-container *ngFor=\"let item of iconMenu; trackBy: trackByFn\">\n <a\n *ngIf=\"item.type === ThePluginMenuItemType.icon\"\n href=\"javascript:;\"\n class=\"mt-2\"\n thyAction\n theListboxOption\n [theOptionValue]=\"item\"\n [thyActionIcon]=\"item.icon\"\n [thyTooltip]=\"item?.name\"\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n ></a>\n </ng-container>\n </div>\n\n <thy-divider *ngIf=\"this.iconMenu?.length\" class=\"my-2\"></thy-divider>\n <div theListboxGroup>\n <ng-container *ngFor=\"let item of groupMenu; trackBy: trackByFn\">\n <ng-container *ngIf=\"item.isMenuItem && !(item.children?.length > 0) && item.key !== 'table'\">\n <div\n thyDropdownMenuItem\n theListboxOption\n [theOptionValue]=\"item\"\n class=\"py-0\"\n thePreventDefault\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n (click)=\"handleItemSelection(item)\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n <span *ngIf=\"!(item.children?.length > 0)\" class=\"menu-item-display-key font-size-sm text-placeholder\">\n {{ item.displayKey }}</span\n >\n {{ item.name }}\n </div>\n <div class=\"text-muted font-size-sm\">{{ item.description }}</div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.isMenuItem && item.children?.length > 0\" #hasExpanded>\n <div\n #dropdownTriggers\n [thyDropdown]=\"expand\"\n thyTrigger=\"hover\"\n thyDropdownMenuItem\n [thyDisabled]=\"item.disabled\"\n theListboxOption\n [theOptionValue]=\"item\"\n [theOptionDisabled]=\"item.disabled\"\n [thyPopoverOptions]=\"expandPopoverOptions\"\n class=\"py-0\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n <span *ngIf=\"!(item.children?.length > 0)\" class=\"menu-item-display-key font-size-sm text-placeholder\">\n {{ item.displayKey }}</span\n >\n {{ item.name }}\n </div>\n <div class=\"text-muted font-size-sm\">{{ item.description }}</div>\n </div>\n <div *ngIf=\"item.children?.length > 0\">\n <thy-icon class=\"text-muted\" thyIconName=\"angle-right\"></thy-icon>\n </div>\n <thy-dropdown-menu #expand>\n <div class=\"the-plugin-menu-container expand-menu\" theListboxGroup>\n <div\n *ngFor=\"let child of item.children\"\n thyDropdownMenuItem\n theListboxOption\n class=\"py-0\"\n thePreventDefault\n [theOptionDisabled]=\"item.disabled\"\n [thyDisabled]=\"child.disabled\"\n (click)=\"handleItemSelection(child)\"\n [theOptionValue]=\"child\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"child.menuIcon\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n <span class=\"menu-item-display-key font-size-sm text-placeholder\"> {{ child.displayKey }}</span>\n {{ child.name }}\n </div>\n <div class=\"text-muted font-size-sm\">{{ child.description }}</div>\n </div>\n </div>\n </div>\n </thy-dropdown-menu>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.isMenuItem && item.key === 'table'\">\n <div\n #dropdownTriggers\n [thyPopover]=\"tableSelect\"\n thyPlacement=\"rightTop\"\n thyTrigger=\"hover\"\n thyDropdownMenuItem\n theListboxOption\n [thyConfig]=\"tableSelectPopoverConfig\"\n [theOptionValue]=\"item\"\n [theOptionDisabled]=\"item.disabled\"\n [thyDisabled]=\"item.disabled\"\n class=\"py-0\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n <div class=\"text-muted font-size-sm\">{{ item.description }}</div>\n </div>\n <div>\n <thy-icon class=\"text-muted\" thyIconName=\"angle-right\"></thy-icon>\n </div>\n\n <ng-template #tableSelect>\n <table-select\n class=\"plugin-menu-table the-table-selector-panel\"\n [editor]=\"editor\"\n [beforeInsert]=\"removeKeywords\"\n ></table-select>\n </ng-template>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.isMenuItem\" #menuGroup>\n <thy-dropdown-menu-group class=\"font-size-sm\" [thyTitle]=\"item.groupName\"></thy-dropdown-menu-group>\n </ng-container>\n </ng-container>\n </div>\n</div>\n\n<ng-template #thyEmpty>\n <div class=\"empty d-flex align-items-center justify-content-center\">\n <thy-empty [thyMessage]=\"thyMessage\"></thy-empty>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i5$1.ThyInputSearchComponent, selector: "thy-input-search", inputs: ["name", "placeholder", "thyTheme", "thySearchFocus", "thyIconPosition", "thySize"], outputs: ["clear", "thyClear"] }, { kind: "component", type: i5.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i12.ThyDividerComponent, selector: "thy-divider", inputs: ["thyVertical", "thyStyle", "thyColor", "thyText", "thyTextDirection", "thyDeeper"] }, { kind: "directive", type: i6.ThyDropdownDirective, selector: "[thyDropdown]", inputs: ["thyDropdownMenu", "thyDropdown", "thyTrigger", "thyActiveClass", "thyPopoverOptions"], outputs: ["thyActiveChange"] }, { kind: "component", type: i6.ThyDropdownMenuComponent, selector: "thy-dropdown-menu", inputs: ["thyWidth"] }, { kind: "component", type: i6.ThyDropdownMenuGroupComponent, selector: "thy-dropdown-menu-group", inputs: ["thyTitle"] }, { kind: "directive", type: i6.ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "component", type: i10$1.ThyEmptyComponent, selector: "thy-empty", inputs: ["thyMessage", "thyTranslationKey", "thyTranslationValues", "thyEntityName", "thyEntityNameTranslateKey", "thyIconName", "thySize", "thyMarginTop", "thyTopAuto", "thyContainer", "thyImageUrl", "thyImageLoading", "thyImageFetchPriority", "thyDescription"] }, { kind: "directive", type: i1$1.ThyPopoverDirective, selector: "[thyPopover]", inputs: ["thyPopover", "thyTrigger", "thyPlacement", "thyOffset", "thyConfig", "thyShowDelay", "thyHideDelay", "thyAutoAdaptive", "thyDisabled"] }, { kind: "component", type: TheTableSelectComponent, selector: "table-select", inputs: ["optionsParam", "editor", "beforeInsert"] }, { kind: "directive", type: TheListboxOptionDirective, selector: "[theListboxOption]", inputs: ["theOptionValue", "theOptionDisabled"], exportAs: ["theListboxOption"] }, { kind: "directive", type: TheListboxGroupDirective, selector: "[theListboxGroup]", inputs: ["horizontalColumn"], exportAs: ["theListboxGroup"] }, { kind: "directive", type: TheListboxDirective, selector: "[theListBox]", inputs: ["keyboardContainer"], outputs: ["theListboxChange"], exportAs: ["theListBox"] }, { kind: "directive", type: ThePreventDefaultDirective, selector: "[thePreventDefault]", exportAs: ["thePreventDefault"] }] });
|
|
10432
|
+
ThePluginMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: ThePluginMenuComponent, selector: "the-plugin-menu", inputs: { editor: "editor", theDisplaySearch: "theDisplaySearch", thePluginMenu: "thePluginMenu" }, host: { properties: { "class": "this.containerClassName" } }, viewQueries: [{ propertyName: "dropdownTriggers", predicate: ["dropdownTriggers"], descendants: true, read: ThyDropdownDirective }], usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"theDisplaySearch\" class=\"menu-search px-5 pt-5 pb-2\">\n <thy-input-search [(ngModel)]=\"keyWords\" placeholder=\"\u641C\u7D22\" thyIconPosition=\"after\" (ngModelChange)=\"updateKeywords(keyWords)\">\n </thy-input-search>\n</div>\n\n<div\n *ngIf=\"groupMenu.length > 0; else thyEmpty\"\n theListBox\n [keyboardContainer]=\"keyboardContainer\"\n (theListboxChange)=\"theListboxChange($event)\"\n class=\"thy-dropdown-menu the-plugin-menu-scroll-container pb-2 pt-0\"\n>\n <div *ngIf=\"iconMenu?.length > 0\" theListboxGroup [horizontalColumn]=\"6\" class=\"icon-menu d-flex pl-5 py-1\">\n <ng-container *ngFor=\"let item of iconMenu; trackBy: trackByFn\">\n <a\n *ngIf=\"item.type === ThePluginMenuItemType.icon\"\n href=\"javascript:;\"\n class=\"mt-2\"\n thyAction\n theListboxOption\n [theOptionValue]=\"item\"\n [thyActionIcon]=\"item.icon\"\n [thyTooltip]=\"item?.name\"\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n ></a>\n </ng-container>\n </div>\n\n <thy-divider *ngIf=\"this.iconMenu?.length\" class=\"my-2\"></thy-divider>\n <div theListboxGroup>\n <ng-container *ngFor=\"let item of groupMenu; trackBy: trackByFn\">\n <ng-container *ngIf=\"item.isMenuItem && !(item.children?.length > 0) && item.key !== 'table'\">\n <div\n thyDropdownMenuItem\n theListboxOption\n [theOptionValue]=\"item\"\n class=\"py-0\"\n thePreventDefault\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n (click)=\"handleItemSelection(item)\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.isMenuItem && item.children?.length > 0\" #hasExpanded>\n <div\n #dropdownTriggers\n [thyDropdown]=\"expand\"\n thyTrigger=\"hover\"\n thyDropdownMenuItem\n [thyDisabled]=\"item.disabled\"\n theListboxOption\n [theOptionValue]=\"item\"\n [theOptionDisabled]=\"item.disabled\"\n [thyPopoverOptions]=\"expandPopoverOptions\"\n class=\"py-0\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n <div *ngIf=\"item.children?.length > 0\">\n <thy-icon class=\"text-muted\" thyIconName=\"angle-right\"></thy-icon>\n </div>\n <thy-dropdown-menu #expand>\n <div class=\"the-plugin-menu-container expand-menu\" theListboxGroup>\n <div\n *ngFor=\"let child of item.children\"\n thyDropdownMenuItem\n theListboxOption\n class=\"py-0\"\n thePreventDefault\n [theOptionDisabled]=\"item.disabled\"\n [thyDisabled]=\"child.disabled\"\n (click)=\"handleItemSelection(child)\"\n [theOptionValue]=\"child\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"child.menuIcon\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ child.name }}\n </div>\n </div>\n </div>\n </div>\n </thy-dropdown-menu>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.isMenuItem && item.key === 'table'\">\n <div\n #dropdownTriggers\n [thyPopover]=\"tableSelect\"\n thyPlacement=\"rightTop\"\n thyTrigger=\"hover\"\n thyDropdownMenuItem\n theListboxOption\n [thyConfig]=\"tableSelectPopoverConfig\"\n [theOptionValue]=\"item\"\n [theOptionDisabled]=\"item.disabled\"\n [thyDisabled]=\"item.disabled\"\n class=\"py-0\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n <div>\n <thy-icon class=\"text-muted\" thyIconName=\"angle-right\"></thy-icon>\n </div>\n\n <ng-template #tableSelect>\n <table-select\n class=\"plugin-menu-table the-table-selector-panel\"\n [editor]=\"editor\"\n [beforeInsert]=\"removeKeywords\"\n ></table-select>\n </ng-template>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.isMenuItem\" #menuGroup>\n <thy-dropdown-menu-group class=\"font-size-sm\" [thyTitle]=\"item.groupName\"></thy-dropdown-menu-group>\n </ng-container>\n </ng-container>\n </div>\n</div>\n\n<ng-template #thyEmpty>\n <div class=\"empty d-flex align-items-center justify-content-center\">\n <thy-empty [thyMessage]=\"thyMessage\"></thy-empty>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.ThyIconComponent, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: i8.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { kind: "component", type: i5$1.ThyInputSearchComponent, selector: "thy-input-search", inputs: ["name", "placeholder", "thyTheme", "thySearchFocus", "thyIconPosition", "thySize"], outputs: ["clear", "thyClear"] }, { kind: "component", type: i5.ThyActionComponent, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: i12.ThyDividerComponent, selector: "thy-divider", inputs: ["thyVertical", "thyStyle", "thyColor", "thyText", "thyTextDirection", "thyDeeper"] }, { kind: "directive", type: i6.ThyDropdownDirective, selector: "[thyDropdown]", inputs: ["thyDropdownMenu", "thyDropdown", "thyTrigger", "thyActiveClass", "thyPopoverOptions"], outputs: ["thyActiveChange"] }, { kind: "component", type: i6.ThyDropdownMenuComponent, selector: "thy-dropdown-menu", inputs: ["thyWidth"] }, { kind: "component", type: i6.ThyDropdownMenuGroupComponent, selector: "thy-dropdown-menu-group", inputs: ["thyTitle"] }, { kind: "directive", type: i6.ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "component", type: i10$1.ThyEmptyComponent, selector: "thy-empty", inputs: ["thyMessage", "thyTranslationKey", "thyTranslationValues", "thyEntityName", "thyEntityNameTranslateKey", "thyIconName", "thySize", "thyMarginTop", "thyTopAuto", "thyContainer", "thyImageUrl", "thyImageLoading", "thyImageFetchPriority", "thyDescription"] }, { kind: "directive", type: i1$1.ThyPopoverDirective, selector: "[thyPopover]", inputs: ["thyPopover", "thyTrigger", "thyPlacement", "thyOffset", "thyConfig", "thyShowDelay", "thyHideDelay", "thyAutoAdaptive", "thyDisabled"] }, { kind: "component", type: TheTableSelectComponent, selector: "table-select", inputs: ["optionsParam", "editor", "beforeInsert"] }, { kind: "directive", type: TheListboxOptionDirective, selector: "[theListboxOption]", inputs: ["theOptionValue", "theOptionDisabled"], exportAs: ["theListboxOption"] }, { kind: "directive", type: TheListboxGroupDirective, selector: "[theListboxGroup]", inputs: ["horizontalColumn"], exportAs: ["theListboxGroup"] }, { kind: "directive", type: TheListboxDirective, selector: "[theListBox]", inputs: ["keyboardContainer"], outputs: ["theListboxChange"], exportAs: ["theListBox"] }, { kind: "directive", type: ThePreventDefaultDirective, selector: "[thePreventDefault]", exportAs: ["thePreventDefault"] }] });
|
|
10399
10433
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: ThePluginMenuComponent, decorators: [{
|
|
10400
10434
|
type: Component,
|
|
10401
|
-
args: [{ selector: 'the-plugin-menu', template: "<div *ngIf=\"theDisplaySearch\" class=\"menu-search px-5 pt-5 pb-2\">\n <thy-input-search [(ngModel)]=\"keyWords\" placeholder=\"\u641C\u7D22\" thyIconPosition=\"after\" (ngModelChange)=\"updateKeywords(keyWords)\">\n </thy-input-search>\n</div>\n\n<div\n *ngIf=\"groupMenu.length > 0; else thyEmpty\"\n theListBox\n [keyboardContainer]=\"keyboardContainer\"\n (theListboxChange)=\"theListboxChange($event)\"\n class=\"thy-dropdown-menu the-plugin-menu-scroll-container pb-2 pt-0\"\n>\n <div *ngIf=\"iconMenu?.length > 0\" theListboxGroup [horizontalColumn]=\"6\" class=\"icon-menu d-flex pl-5 py-1\">\n <ng-container *ngFor=\"let item of iconMenu; trackBy: trackByFn\">\n <a\n *ngIf=\"item.type === ThePluginMenuItemType.icon\"\n href=\"javascript:;\"\n class=\"mt-2\"\n thyAction\n theListboxOption\n [theOptionValue]=\"item\"\n [thyActionIcon]=\"item.icon\"\n [thyTooltip]=\"item?.name\"\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n ></a>\n </ng-container>\n </div>\n\n <thy-divider *ngIf=\"this.iconMenu?.length\" class=\"my-2\"></thy-divider>\n <div theListboxGroup>\n <ng-container *ngFor=\"let item of groupMenu; trackBy: trackByFn\">\n <ng-container *ngIf=\"item.isMenuItem && !(item.children?.length > 0) && item.key !== 'table'\">\n <div\n thyDropdownMenuItem\n theListboxOption\n [theOptionValue]=\"item\"\n class=\"py-0\"\n thePreventDefault\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n (click)=\"handleItemSelection(item)\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n
|
|
10435
|
+
args: [{ selector: 'the-plugin-menu', template: "<div *ngIf=\"theDisplaySearch\" class=\"menu-search px-5 pt-5 pb-2\">\n <thy-input-search [(ngModel)]=\"keyWords\" placeholder=\"\u641C\u7D22\" thyIconPosition=\"after\" (ngModelChange)=\"updateKeywords(keyWords)\">\n </thy-input-search>\n</div>\n\n<div\n *ngIf=\"groupMenu.length > 0; else thyEmpty\"\n theListBox\n [keyboardContainer]=\"keyboardContainer\"\n (theListboxChange)=\"theListboxChange($event)\"\n class=\"thy-dropdown-menu the-plugin-menu-scroll-container pb-2 pt-0\"\n>\n <div *ngIf=\"iconMenu?.length > 0\" theListboxGroup [horizontalColumn]=\"6\" class=\"icon-menu d-flex pl-5 py-1\">\n <ng-container *ngFor=\"let item of iconMenu; trackBy: trackByFn\">\n <a\n *ngIf=\"item.type === ThePluginMenuItemType.icon\"\n href=\"javascript:;\"\n class=\"mt-2\"\n thyAction\n theListboxOption\n [theOptionValue]=\"item\"\n [thyActionIcon]=\"item.icon\"\n [thyTooltip]=\"item?.name\"\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n ></a>\n </ng-container>\n </div>\n\n <thy-divider *ngIf=\"this.iconMenu?.length\" class=\"my-2\"></thy-divider>\n <div theListboxGroup>\n <ng-container *ngFor=\"let item of groupMenu; trackBy: trackByFn\">\n <ng-container *ngIf=\"item.isMenuItem && !(item.children?.length > 0) && item.key !== 'table'\">\n <div\n thyDropdownMenuItem\n theListboxOption\n [theOptionValue]=\"item\"\n class=\"py-0\"\n thePreventDefault\n [thyDisabled]=\"item.disabled\"\n [theOptionDisabled]=\"item.disabled\"\n (click)=\"handleItemSelection(item)\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.isMenuItem && item.children?.length > 0\" #hasExpanded>\n <div\n #dropdownTriggers\n [thyDropdown]=\"expand\"\n thyTrigger=\"hover\"\n thyDropdownMenuItem\n [thyDisabled]=\"item.disabled\"\n theListboxOption\n [theOptionValue]=\"item\"\n [theOptionDisabled]=\"item.disabled\"\n [thyPopoverOptions]=\"expandPopoverOptions\"\n class=\"py-0\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n <div *ngIf=\"item.children?.length > 0\">\n <thy-icon class=\"text-muted\" thyIconName=\"angle-right\"></thy-icon>\n </div>\n <thy-dropdown-menu #expand>\n <div class=\"the-plugin-menu-container expand-menu\" theListboxGroup>\n <div\n *ngFor=\"let child of item.children\"\n thyDropdownMenuItem\n theListboxOption\n class=\"py-0\"\n thePreventDefault\n [theOptionDisabled]=\"item.disabled\"\n [thyDisabled]=\"child.disabled\"\n (click)=\"handleItemSelection(child)\"\n [theOptionValue]=\"child\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"child.menuIcon\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ child.name }}\n </div>\n </div>\n </div>\n </div>\n </thy-dropdown-menu>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.isMenuItem && item.key === 'table'\">\n <div\n #dropdownTriggers\n [thyPopover]=\"tableSelect\"\n thyPlacement=\"rightTop\"\n thyTrigger=\"hover\"\n thyDropdownMenuItem\n theListboxOption\n [thyConfig]=\"tableSelectPopoverConfig\"\n [theOptionValue]=\"item\"\n [theOptionDisabled]=\"item.disabled\"\n [thyDisabled]=\"item.disabled\"\n class=\"py-0\"\n thePreventDefault\n (click)=\"handleItemSelection(item)\"\n >\n <div class=\"menu-icon mr-2\">\n <thy-icon [thyIconName]=\"item.menuIcon\"></thy-icon>\n </div>\n <div class=\"menu-content d-flex align-items-center\">\n <div class=\"menu-item-title w-100\">\n {{ item.name }}\n </div>\n </div>\n <div>\n <thy-icon class=\"text-muted\" thyIconName=\"angle-right\"></thy-icon>\n </div>\n\n <ng-template #tableSelect>\n <table-select\n class=\"plugin-menu-table the-table-selector-panel\"\n [editor]=\"editor\"\n [beforeInsert]=\"removeKeywords\"\n ></table-select>\n </ng-template>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.isMenuItem\" #menuGroup>\n <thy-dropdown-menu-group class=\"font-size-sm\" [thyTitle]=\"item.groupName\"></thy-dropdown-menu-group>\n </ng-container>\n </ng-container>\n </div>\n</div>\n\n<ng-template #thyEmpty>\n <div class=\"empty d-flex align-items-center justify-content-center\">\n <thy-empty [thyMessage]=\"thyMessage\"></thy-empty>\n </div>\n</ng-template>\n" }]
|
|
10402
10436
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$1.ThyPopoverRef }]; }, propDecorators: { dropdownTriggers: [{
|
|
10403
10437
|
type: ViewChildren,
|
|
10404
10438
|
args: ['dropdownTriggers', { read: ThyDropdownDirective }]
|