@compas-oscd/open-scd 0.34.0 → 0.34.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.
Files changed (142) hide show
  1. package/dist/WizardDivider.d.ts +8 -0
  2. package/dist/WizardDivider.js +37 -0
  3. package/dist/WizardDivider.js.map +1 -0
  4. package/dist/Wizarding.d.ts +10 -0
  5. package/dist/Wizarding.js +38 -0
  6. package/dist/Wizarding.js.map +1 -0
  7. package/dist/action-icon.d.ts +25 -0
  8. package/dist/action-icon.js +220 -0
  9. package/dist/action-icon.js.map +1 -0
  10. package/dist/action-pane.d.ts +25 -0
  11. package/dist/action-pane.js +176 -0
  12. package/dist/action-pane.js.map +1 -0
  13. package/dist/addons/Editor.d.ts +25 -0
  14. package/dist/addons/Editor.js +106 -0
  15. package/dist/addons/Editor.js.map +1 -0
  16. package/dist/addons/History.d.ts +86 -0
  17. package/dist/addons/History.js +490 -0
  18. package/dist/addons/History.js.map +1 -0
  19. package/dist/addons/Layout.d.ts +96 -0
  20. package/dist/addons/Layout.js +619 -0
  21. package/dist/addons/Layout.js.map +1 -0
  22. package/dist/addons/Settings.d.ts +68 -0
  23. package/dist/addons/Settings.js +465 -0
  24. package/dist/addons/Settings.js.map +1 -0
  25. package/dist/addons/Waiter.d.ts +14 -0
  26. package/dist/addons/Waiter.js +45 -0
  27. package/dist/addons/Waiter.js.map +1 -0
  28. package/dist/addons/Wizards.d.ts +15 -0
  29. package/dist/addons/Wizards.js +48 -0
  30. package/dist/addons/Wizards.js.map +1 -0
  31. package/dist/addons/editor/edit-action-to-v1-converter.d.ts +3 -0
  32. package/dist/addons/editor/edit-action-to-v1-converter.js +96 -0
  33. package/dist/addons/editor/edit-action-to-v1-converter.js.map +1 -0
  34. package/dist/addons/editor/edit-v1-to-v2-converter.d.ts +2 -0
  35. package/dist/addons/editor/edit-v1-to-v2-converter.js +37 -0
  36. package/dist/addons/editor/edit-v1-to-v2-converter.js.map +1 -0
  37. package/dist/addons/history/get-log-text.d.ts +5 -0
  38. package/dist/addons/history/get-log-text.js +26 -0
  39. package/dist/addons/history/get-log-text.js.map +1 -0
  40. package/dist/addons/menu-tabs/menu-tabs.d.ts +22 -0
  41. package/dist/addons/menu-tabs/menu-tabs.js +74 -0
  42. package/dist/addons/menu-tabs/menu-tabs.js.map +1 -0
  43. package/dist/addons/plugin-manager/custom-plugin-dialog.d.ts +28 -0
  44. package/dist/addons/plugin-manager/custom-plugin-dialog.js +177 -0
  45. package/dist/addons/plugin-manager/custom-plugin-dialog.js.map +1 -0
  46. package/dist/addons/plugin-manager/plugin-manager.d.ts +20 -0
  47. package/dist/addons/plugin-manager/plugin-manager.js +165 -0
  48. package/dist/addons/plugin-manager/plugin-manager.js.map +1 -0
  49. package/dist/filtered-list.d.ts +27 -0
  50. package/dist/filtered-list.js +168 -0
  51. package/dist/filtered-list.js.map +1 -0
  52. package/dist/finder-list.d.ts +37 -0
  53. package/dist/finder-list.js +207 -0
  54. package/dist/finder-list.js.map +1 -0
  55. package/dist/foundation/compare.d.ts +79 -0
  56. package/dist/foundation/compare.js +273 -0
  57. package/dist/foundation/compare.js.map +1 -0
  58. package/dist/foundation/dai.d.ts +30 -0
  59. package/dist/foundation/dai.js +127 -0
  60. package/dist/foundation/dai.js.map +1 -0
  61. package/dist/foundation/generators.d.ts +13 -0
  62. package/dist/foundation/generators.js +67 -0
  63. package/dist/foundation/generators.js.map +1 -0
  64. package/dist/foundation/ied.d.ts +22 -0
  65. package/dist/foundation/ied.js +84 -0
  66. package/dist/foundation/ied.js.map +1 -0
  67. package/dist/foundation/nsd.d.ts +4 -0
  68. package/dist/foundation/nsd.js +13 -0
  69. package/dist/foundation/nsd.js.map +1 -0
  70. package/dist/foundation/nsdoc.d.ts +14 -0
  71. package/dist/foundation/nsdoc.js +180 -0
  72. package/dist/foundation/nsdoc.js.map +1 -0
  73. package/dist/foundation/scl.d.ts +1 -0
  74. package/dist/foundation/scl.js +64 -0
  75. package/dist/foundation/scl.js.map +1 -0
  76. package/dist/foundation.d.ts +230 -0
  77. package/dist/foundation.js +1922 -0
  78. package/dist/foundation.js.map +1 -0
  79. package/dist/icons/compare.d.ts +3 -0
  80. package/dist/icons/compare.js +11 -0
  81. package/dist/icons/compare.js.map +1 -0
  82. package/dist/icons/icons.d.ts +41 -0
  83. package/dist/icons/icons.js +611 -0
  84. package/dist/icons/icons.js.map +1 -0
  85. package/dist/icons/ied-icons.d.ts +3 -0
  86. package/dist/icons/ied-icons.js +11 -0
  87. package/dist/icons/ied-icons.js.map +1 -0
  88. package/dist/icons/lnode.d.ts +16 -0
  89. package/dist/icons/lnode.js +50 -0
  90. package/dist/icons/lnode.js.map +1 -0
  91. package/dist/open-scd.d.ts +131 -0
  92. package/dist/open-scd.js +483 -0
  93. package/dist/open-scd.js.map +1 -0
  94. package/dist/oscd-filter-button.d.ts +27 -0
  95. package/dist/oscd-filter-button.js +89 -0
  96. package/dist/oscd-filter-button.js.map +1 -0
  97. package/dist/plain-compare-list.d.ts +36 -0
  98. package/dist/plain-compare-list.js +132 -0
  99. package/dist/plain-compare-list.js.map +1 -0
  100. package/dist/plugin-tag.d.ts +6 -0
  101. package/dist/plugin-tag.js +23 -0
  102. package/dist/plugin-tag.js.map +1 -0
  103. package/dist/plugin.d.ts +23 -0
  104. package/dist/plugin.events.d.ts +15 -0
  105. package/dist/plugin.events.js +12 -0
  106. package/dist/plugin.events.js.map +1 -0
  107. package/dist/plugin.js +2 -0
  108. package/dist/plugin.js.map +1 -0
  109. package/dist/plugins.d.ts +3 -0
  110. package/dist/plugins.js +256 -0
  111. package/dist/plugins.js.map +1 -0
  112. package/dist/schemas.d.ts +58 -0
  113. package/dist/schemas.js +9325 -0
  114. package/dist/schemas.js.map +1 -0
  115. package/dist/themes.d.ts +3 -0
  116. package/dist/themes.js +122 -0
  117. package/dist/themes.js.map +1 -0
  118. package/dist/translations/de.d.ts +2 -0
  119. package/dist/translations/de.js +954 -0
  120. package/dist/translations/de.js.map +1 -0
  121. package/dist/translations/en.d.ts +963 -0
  122. package/dist/translations/en.js +950 -0
  123. package/dist/translations/en.js.map +1 -0
  124. package/dist/translations/loader.d.ts +12 -0
  125. package/dist/translations/loader.js +10 -0
  126. package/dist/translations/loader.js.map +1 -0
  127. package/dist/wizard-checkbox.d.ts +37 -0
  128. package/dist/wizard-checkbox.js +152 -0
  129. package/dist/wizard-checkbox.js.map +1 -0
  130. package/dist/wizard-dialog.d.ts +45 -0
  131. package/dist/wizard-dialog.js +374 -0
  132. package/dist/wizard-dialog.js.map +1 -0
  133. package/dist/wizard-select.d.ts +31 -0
  134. package/dist/wizard-select.js +115 -0
  135. package/dist/wizard-select.js.map +1 -0
  136. package/dist/wizard-textfield.d.ts +50 -0
  137. package/dist/wizard-textfield.js +191 -0
  138. package/dist/wizard-textfield.js.map +1 -0
  139. package/dist/wizards.d.ts +23 -0
  140. package/dist/wizards.js +196 -0
  141. package/dist/wizards.js.map +1 -0
  142. package/package.json +99 -4
@@ -0,0 +1,611 @@
1
+ import { html, svg } from 'lit-element';
2
+ export const editIcon = html `<svg
3
+ xmlns="http://www.w3.org/2000/svg"
4
+ viewBox="0 0 25 25"
5
+ >
6
+ <path
7
+ d="M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"
8
+ stroke="currentColor"
9
+ fill="transparent"
10
+ stroke-width="1.5"
11
+ stroke-linecap="round"
12
+ />
13
+ </svg>`;
14
+ const pathsSVG = {
15
+ action: svg `<path d="M0 0h24v24H0z" fill="none"></path><path d="M13 3c-4.97 0-9
16
+ 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7
17
+ 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0
18
+ 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z" fill="currentColor"></path>`,
19
+ dAIcon: svg `<path fill="currentColor" d="m4.2 0c-2.31 0-4.2 1.89-4.2 4.2v11.6c0 2.31 1.89 4.2 4.2 4.2h18.1c2.31 0 4.2-1.89 4.2-4.2v-11.6c0-2.31-1.89-4.2-4.2-4.2zm0 1.89h18.1c1.29 0 2.3 1.01 2.3 2.3v11.6c0 1.29-1.01 2.31-2.3 2.31h-18.1c-1.29 0-2.3-1.01-2.3-2.31v-11.6c0-1.29 1.01-2.3 2.3-2.3z"/><path fill="currentColor" d="m12.5 9.94q0 1.55-0.509 2.71-0.503 1.15-1.43 1.76-0.923 0.611-2.12 0.611h-3.37v-10h3.02q2.11 0 3.26 1.28 1.15 1.27 1.15 3.65zm-1.76 0q0-1.61-0.698-2.46-0.698-0.852-1.99-0.852h-1.24v6.77h1.48q1.12 0 1.79-0.931 0.663-0.931 0.663-2.53z"/><path fill="currentColor" d="m19.7 15-0.74-2.56h-3.18l-0.74 2.56h-1.75l3.04-10h2.06l3.03 10zm-1.13-4.13-0.823-2.88-0.379-1.46q-0.0947 0.412-0.178 0.739-0.0829 0.327-1.02 3.59z"/>`,
20
+ dOIcon: svg `<path fill="none" stroke="currentColor" stroke-width="1.89" d="m4.2 0.945h18.1c1.8 0 3.25 1.45 3.25 3.25v11.6c0 1.8-1.45 3.25-3.25 3.25h-18.1c-1.8 0-3.25-1.45-3.25-3.25v-11.6c0-1.8 1.45-3.25 3.25-3.25z"/><path d="m12.1 9.94q0 1.55-0.509 2.71-0.503 1.15-1.43 1.76-0.923 0.611-2.12 0.611h-3.37v-10h3.02q2.11 0 3.26 1.28 1.15 1.27 1.15 3.65zm-1.76 0q0-1.61-0.698-2.46-0.698-0.852-1.99-0.852h-1.24v6.77h1.48q1.12 0 1.79-0.931 0.663-0.931 0.663-2.53z"/><path d="m21.6 9.97q0 1.56-0.515 2.75-0.515 1.19-1.47 1.82-0.959 0.625-2.24 0.625-1.97 0-3.08-1.39-1.11-1.39-1.11-3.81 0-2.41 1.11-3.76t3.1-1.35 3.1 1.36q1.12 1.36 1.12 3.74zm-1.78 0q0-1.62-0.639-2.54-0.639-0.923-1.79-0.923-1.17 0-1.81 0.916-0.639 0.909-0.639 2.54 0 1.65 0.651 2.6 0.657 0.945 1.79 0.945 1.17 0 1.81-0.923 0.639-0.923 0.639-2.62z"/>`,
21
+ enumIcon: svg `<path fill="none" stroke="currentColor" stroke-width="1.89" d="m4.2 0.945h18.1c1.8 0 3.25 1.45 3.25 3.25v11.6c0 1.8-1.45 3.25-3.25 3.25h-18.1c-1.8 0-3.25-1.45-3.25-3.25v-11.6c0-1.8 1.45-3.25 3.25-3.25z"/><path d="m5.37 15v-10h6.56v1.62h-4.81v2.51h4.45v1.62h-4.45v2.64h5.06v1.62z"/><path d="m18.5 15-3.63-7.71q0.107 1.12 0.107 1.8v5.9h-1.55v-10h1.99l3.69 7.77q-0.107-1.07-0.107-1.95v-5.82h1.55v10z"/>`,
22
+ info: svg `<path d="M0 0h24v24H0z" fill="none"></path><path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" fill="currentColor"></path>`,
23
+ warning: svg `<path d="M0 0h24v24H0z" fill="none"></path><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z" fill="currentColor"></path>`,
24
+ error: svg `<path d="M0 0h24v24H0V0z" fill="none"></path><path d="M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM19 14.9L14.9 19H9.1L5 14.9V9.1L9.1 5h5.8L19 9.1v5.8z" fill="currentColor"></path><path d="M11 7h2v7h-2z" fill="currentColor"></path><circle cx="12" cy="16" r="1" fill="currentColor"></circle>`,
25
+ gooseIcon: svg `<path fill="currentColor" d="M11,7H15V9H11V15H13V11H15V15A2,2 0 0,1 13,17H11A2,2 0 0,1 9,15V9A2,2 0 0,1 11,7M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z" />`,
26
+ lNIcon: svg `<path stroke="currentColor" stroke-width="1.89" fill="none" d="m4.2 0.945h18.1c1.8 0 3.25 1.45 3.25 3.25v11.6c0 1.8-1.45 3.25-3.25 3.25h-18.1c-1.8 0-3.25-1.45-3.25-3.25v-11.6c0-1.8 1.45-3.25 3.25-3.25z"/><path fill="currentColor" d="m5.71 15v-10h1.75v8.39h4.47v1.62z"/><path fill="currentColor" d="m18.2 15-3.63-7.71q0.107 1.12 0.107 1.8v5.9h-1.55v-10h1.99l3.69 7.77q-0.107-1.07-0.107-1.95v-5.82h1.55v10z"/>`,
27
+ logIcon: svg `<path fill="currentColor" d="M9,7H11V15H15V17H9V7M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z" />`,
28
+ reportIcon: svg `<path fill="currentColor" d="M9,7H13A2,2 0 0,1 15,9V11C15,11.84 14.5,12.55 13.76,12.85L15,17H13L11.8,13H11V17H9V7M11,9V11H13V9H11M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12C4,16.41 7.58,20 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z" />`,
29
+ smvIcon: svg `<path fill="currentColor" d="M11,7H15V9H11V11H13A2,2 0 0,1 15,13V15A2,2 0 0,1 13,17H9V15H13V13H11A2,2 0 0,1 9,11V9A2,2 0 0,1 11,7M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z" />`,
30
+ };
31
+ export const gooseIcon = svg `<svg style="width:24px;height:24px" viewBox="0 0 24 24">${pathsSVG['gooseIcon']}</svg>`;
32
+ export const reportIcon = svg `<svg style="width:24px;height:24px" viewBox="0 0 24 24">${pathsSVG['reportIcon']}</svg>`;
33
+ export const smvIcon = svg `<svg style="width:24px;height:24px" viewBox="0 0 24 24">${pathsSVG['smvIcon']}</svg>`;
34
+ export const logIcon = svg `<svg style="width:24px;height:24px" viewBox="0 0 24 24">${pathsSVG['logIcon']}</svg>`;
35
+ export const controlBlockIcons = {
36
+ ReportControl: reportIcon,
37
+ LogControl: logIcon,
38
+ GSEControl: gooseIcon,
39
+ SampledValueControl: smvIcon,
40
+ };
41
+ export const inputIcon = svg `<svg style="width:24px;height:24px" viewBox="0 0 24 24">
42
+ <path fill="currentColor" d="M14,12L10,8V11H2V13H10V16M20,18V6C20,4.89 19.1,4 18,4H6A2,2 0 0,0 4,6V9H6V6H18V18H6V15H4V18A2,2 0 0,0 6,20H18A2,2 0 0,0 20,18Z" />
43
+ </svg>`;
44
+ export const clientIcon = svg `<svg style="width:24px;height:24px" viewBox="0 0 24 24">
45
+ <path fill="currentColor" d="M21,14V4H3V14H21M21,2A2,2 0 0,1 23,4V16A2,2 0 0,1 21,18H14L16,21V22H8V21L10,18H3C1.89,18 1,17.1 1,16V4C1,2.89 1.89,2 3,2H21M4,5H15V10H4V5M16,5H20V7H16V5M20,8V13H16V8H20M4,11H9V13H4V11M10,11H15V13H10V11Z" />
46
+ </svg>`;
47
+ export const disconnect = svg `<svg style="width:24px;height:24px" viewBox="0 0 24 24">
48
+ <path fill="currentColor" d="M4,1C2.89,1 2,1.89 2,3V7C2,8.11 2.89,9 4,9H1V11H13V9H10C11.11,9 12,8.11 12,7V3C12,1.89 11.11,1 10,1H4M4,3H10V7H4V3M14,13C12.89,13 12,13.89 12,15V19C12,20.11 12.89,21 14,21H11V23H23V21H20C21.11,21 22,20.11 22,19V15C22,13.89 21.11,13 20,13H14M3.88,13.46L2.46,14.88L4.59,17L2.46,19.12L3.88,20.54L6,18.41L8.12,20.54L9.54,19.12L7.41,17L9.54,14.88L8.12,13.46L6,15.59L3.88,13.46M14,15H20V19H14V15Z" />
49
+ </svg>`;
50
+ export const iconProperties = {
51
+ dAIcon: {
52
+ width: 26.5,
53
+ height: 24,
54
+ },
55
+ dOIcon: {
56
+ width: 26.5,
57
+ height: 24,
58
+ },
59
+ enumIcon: {
60
+ width: 26.5,
61
+ height: 24,
62
+ },
63
+ lNIcon: {
64
+ width: 26.5,
65
+ height: 24,
66
+ },
67
+ };
68
+ export const dataTypeTemplateIcons = {
69
+ DAType: getIcon('dAIcon'),
70
+ DOType: getIcon('dOIcon'),
71
+ EnumType: getIcon('enumIcon'),
72
+ LNodeType: getIcon('lNIcon'),
73
+ };
74
+ export const iconColors = {
75
+ info: '--cyan',
76
+ warning: '--yellow',
77
+ error: '--red',
78
+ action: '--blue',
79
+ };
80
+ export function getIcon(type) {
81
+ if (type === 'reset')
82
+ return html ``;
83
+ const height = iconProperties[type]?.height ?? 24;
84
+ const width = iconProperties[type]?.width ?? 24;
85
+ return html `<svg
86
+ xmlns="http://www.w3.org/2000/svg"
87
+ height="${height}"
88
+ viewBox="0 0 ${width} ${height}"
89
+ width="${width}"
90
+ >
91
+ ${pathsSVG[type]}
92
+ </svg> `;
93
+ }
94
+ export function getFilterIcon(type, state) {
95
+ if (type === 'reset')
96
+ return html ``;
97
+ const height = iconProperties[type]?.height ?? 24;
98
+ const width = iconProperties[type]?.width ?? 24;
99
+ return html `<svg
100
+ slot="${state ? 'onIcon' : 'offIcon'}"
101
+ xmlns="http://www.w3.org/2000/svg"
102
+ height="${height}"
103
+ viewBox="0 0 ${width} ${height}"
104
+ width="${width}"
105
+ >
106
+ ${pathsSVG[type]}
107
+ </svg> `;
108
+ }
109
+ export const networkConfigIcon = html `<svg
110
+ xmlns="http://www.w3.org/2000/svg"
111
+ slot="icon"
112
+ width="25px"
113
+ height="25px"
114
+ style="margin-bottom:0px;"
115
+ >
116
+ <rect
117
+ width="8"
118
+ height="8"
119
+ x="8.5"
120
+ y="2"
121
+ rx="1"
122
+ ry="1"
123
+ fill="transparent"
124
+ stroke="currentColor"
125
+ stroke-width="1.5"
126
+ />
127
+ <rect
128
+ width="8"
129
+ height="8"
130
+ x="2.5"
131
+ y="15"
132
+ rx="1"
133
+ ry="1"
134
+ fill="transparent"
135
+ stroke="currentColor"
136
+ stroke-width="1.5"
137
+ />
138
+ <rect
139
+ width="8"
140
+ height="8"
141
+ x="15"
142
+ y="15"
143
+ rx="1"
144
+ ry="1"
145
+ fill="transparent"
146
+ stroke="currentColor"
147
+ stroke-width="1.5"
148
+ />
149
+
150
+ <line
151
+ x1="2"
152
+ y1="12.5"
153
+ x2="23"
154
+ y2="12.5"
155
+ stroke="currentColor"
156
+ stroke-linecap="round"
157
+ stroke-width="1.5"
158
+ />
159
+ <line
160
+ x1="12.5"
161
+ y1="10"
162
+ x2="12.5"
163
+ y2="12.5"
164
+ stroke="currentColor"
165
+ stroke-width="1.5"
166
+ />
167
+ <line
168
+ x1="6.5"
169
+ y1="12.5"
170
+ x2="6.5"
171
+ y2="15"
172
+ stroke="currentColor"
173
+ stroke-width="1.5"
174
+ />
175
+ <line
176
+ x1="19"
177
+ y1="12.5"
178
+ x2="19"
179
+ y2="15"
180
+ stroke="currentColor"
181
+ stroke-width="1.5"
182
+ />
183
+ </svg>`;
184
+ export const zeroLineIcon = html `<svg
185
+ xmlns="http://www.w3.org/2000/svg"
186
+ slot="icon"
187
+ viewBox="0 0 25 25"
188
+ >
189
+ <path
190
+ d="M 2 9 L 12.5 2 L 23 9 L 21 9 L 21 21 L 4 21 L 4 9 Z"
191
+ fill="transparent"
192
+ stroke="currentColor"
193
+ stroke-width="2"
194
+ stroke-linejoin="round"
195
+ />
196
+ <path
197
+ d="M 11 7 L 17.5 7 L 13.5 11 L 16.5 11 L 10 19 L 11.5 13 L 8.5 13 Z "
198
+ fill="currentColor"
199
+ />
200
+ </svg>`;
201
+ export const voltageLevelIcon = html `<svg
202
+ id="Laag_1"
203
+ data-name="Laag 1"
204
+ xmlns="http://www.w3.org/2000/svg"
205
+ viewBox="0 0 24 24"
206
+ >
207
+ <defs>
208
+ <style>
209
+ .cls-1 {
210
+ fill: currentColor;
211
+ }
212
+
213
+ .cls-1,
214
+ .cls-2 {
215
+ stroke-width: 0px;
216
+ }
217
+
218
+ .cls-2 {
219
+ fill: currentColor;
220
+ opacity: 0;
221
+ }
222
+ </style>
223
+ </defs>
224
+ <path
225
+ class="cls-1"
226
+ d="M11.13,20.06L3.63,6.93c-.27-.48-.11-1.09.37-1.36h0c.48-.27,1.09-.11,1.36.37l6.64,11.61,6.64-11.61c.27-.48.88-.65,1.36-.37h0c.48.27.65.88.37,1.36l-7.5,13.13c-.38.67-1.35.67-1.74,0Z"
227
+ />
228
+ <rect class="cls-2" width="24" height="24" />
229
+ </svg>`;
230
+ export const bayIcon = html `<svg
231
+ id="Laag_1"
232
+ data-name="Laag 1"
233
+ xmlns="http://www.w3.org/2000/svg"
234
+ viewBox="0 0 24 24"
235
+ >
236
+ <defs>
237
+ <style>
238
+ .cls-1 {
239
+ fill: currentColor;
240
+ stroke-width: 0px;
241
+ }
242
+ </style>
243
+ </defs>
244
+ <path
245
+ class="cls-1"
246
+ d="M7.75,8c0-.41-.34-.75-.75-.75s-.75.34-.75.75v1.5h-1.25c0,.84.52,1.55,1.25,1.85v8.65h1.5v-8.65c.73-.3,1.25-1.01,1.25-1.85h-1.25v-1.5Z"
247
+ />
248
+ <path
249
+ class="cls-1"
250
+ d="M12.75,8c0-.41-.34-.75-.75-.75s-.75.34-.75.75v1.5h-1.25c0,.84.52,1.55,1.25,1.85v8.65h1.5v-8.65c.73-.3,1.25-1.01,1.25-1.85h-1.25v-1.5Z"
251
+ />
252
+ <path
253
+ class="cls-1"
254
+ d="M17.75,8c0-.41-.34-.75-.75-.75s-.75.34-.75.75v1.5h-1.25c0,.84.52,1.55,1.25,1.85v8.65h1.5v-8.65c.73-.3,1.25-1.01,1.25-1.85h-1.25v-1.5Z"
255
+ />
256
+ <path
257
+ class="cls-1"
258
+ d="M20,4H4c-1.1,0-2,.9-2,2v4c0,1.1.9,2,2,2v-6h16v6c1.1,0,2-.9,2-2v-4c0-1.1-.9-2-2-2Z"
259
+ />
260
+ </svg>`;
261
+ export const disconnectorIcon = html `<svg
262
+ id="Laag_1"
263
+ data-name="Laag 1"
264
+ xmlns="http://www.w3.org/2000/svg"
265
+ viewBox="0 0 24 24"
266
+ >
267
+ <defs>
268
+ <style>
269
+ .cls-1 {
270
+ fill: currentColor;
271
+ }
272
+
273
+ .cls-1,
274
+ .cls-2 {
275
+ stroke-width: 0px;
276
+ }
277
+
278
+ .cls-2 {
279
+ fill: #fff;
280
+ opacity: 0;
281
+ }
282
+ </style>
283
+ </defs>
284
+ <g>
285
+ <path
286
+ class="cls-1"
287
+ d="M12.71,15.29l-6.79-6.79c-.39-.39-1.02-.39-1.41,0-.39.39-.39,1.02,0,1.41l6.5,6.5v4.59c0,.55.45,1,1,1s1-.45,1-1v-5c0-.13-.03-.26-.08-.38-.05-.12-.12-.23-.22-.33Z"
288
+ />
289
+ <path
290
+ class="cls-1"
291
+ d="M14,6h-1v-3c0-.55-.45-1-1-1s-1,.45-1,1v3h-1c-.55,0-1,.45-1,1s.45,1,1,1h4c.55,0,1-.45,1-1s-.45-1-1-1Z"
292
+ />
293
+ </g>
294
+ <rect class="cls-2" width="24" height="24" />
295
+ </svg>`;
296
+ export const circuitBreakerIcon = html `<svg
297
+ id="Laag_1"
298
+ data-name="Laag 1"
299
+ xmlns="http://www.w3.org/2000/svg"
300
+ viewBox="0 0 24 24"
301
+ >
302
+ <defs>
303
+ <style>
304
+ .cls-1 {
305
+ fill: currentColor;
306
+ }
307
+
308
+ .cls-1,
309
+ .cls-2 {
310
+ stroke-width: 0px;
311
+ }
312
+
313
+ .cls-2 {
314
+ fill: #fff;
315
+ opacity: 0;
316
+ }
317
+ </style>
318
+ </defs>
319
+ <g>
320
+ <path
321
+ class="cls-1"
322
+ d="M12.71,15.29l-6.79-6.79c-.39-.39-1.02-.39-1.41,0-.39.39-.39,1.02,0,1.41l6.5,6.5v4.59c0,.55.45,1,1,1s1-.45,1-1v-5c0-.13-.03-.26-.08-.38-.05-.12-.12-.23-.22-.33Z"
323
+ />
324
+ <path
325
+ class="cls-1"
326
+ d="M13.41,7l1.29-1.29c.39-.39.39-1.02,0-1.41s-1.02-.39-1.41,0l-1.29,1.29-1.29-1.29c-.39-.39-1.02-.39-1.41,0s-.39,1.02,0,1.41l1.29,1.29-1.29,1.29c-.39.39-.39,1.02,0,1.41.2.2.45.29.71.29s.51-.1.71-.29l1.29-1.29,1.29,1.29c.2.2.45.29.71.29s.51-.1.71-.29c.39-.39.39-1.02,0-1.41l-1.29-1.29Z"
327
+ />
328
+ </g>
329
+ <rect class="cls-2" width="24" height="24" />
330
+ </svg>`;
331
+ export const currentTransformerIcon = html `<svg
332
+ id="Laag_1"
333
+ data-name="Laag 1"
334
+ xmlns="http://www.w3.org/2000/svg"
335
+ viewBox="0 0 24 24"
336
+ >
337
+ <defs>
338
+ <style>
339
+ .cls-1 {
340
+ fill: currentColor;
341
+ }
342
+
343
+ .cls-1,
344
+ .cls-2 {
345
+ stroke-width: 0px;
346
+ }
347
+
348
+ .cls-2 {
349
+ fill: #fff;
350
+ opacity: 0;
351
+ }
352
+ </style>
353
+ </defs>
354
+ <path
355
+ class="cls-1"
356
+ d="M19,12c0-3.53-2.61-6.43-6-6.92v-2.08c0-.55-.45-1-1-1s-1,.45-1,1v2.08c-3.39.49-6,3.39-6,6.92s2.61,6.43,6,6.92v2.08c0,.55.45,1,1,1s1-.45,1-1v-2.08c3.39-.49,6-3.39,6-6.92ZM7,12c0-2.42,1.72-4.44,4-4.9v9.8c-2.28-.46-4-2.48-4-4.9ZM13,16.9V7.1c2.28.46,4,2.48,4,4.9s-1.72,4.44-4,4.9Z"
357
+ />
358
+ <rect class="cls-2" width="24" height="24" />
359
+ </svg>`;
360
+ export const voltageTransformerIcon = html `<svg
361
+ id="Laag_1"
362
+ data-name="Laag 1"
363
+ xmlns="http://www.w3.org/2000/svg"
364
+ viewBox="0 0 24 24"
365
+ >
366
+ <defs>
367
+ <style>
368
+ .cls-1 {
369
+ fill: currentColor;
370
+ }
371
+
372
+ .cls-1,
373
+ .cls-2 {
374
+ stroke-width: 0px;
375
+ }
376
+
377
+ .cls-2 {
378
+ fill: #fff;
379
+ opacity: 0;
380
+ }
381
+ </style>
382
+ </defs>
383
+ <path
384
+ class="cls-1"
385
+ d="M17,10c0-2.42-1.72-4.44-4-4.9v-2.1s0-1-1-1-1,1-1,1v2.1c-2.28.46-4,2.48-4,4.9,0,.71.15,1.39.42,2-.27.61-.42,1.29-.42,2,0,2.42,1.72,4.44,4,4.9v1.1h-1c-.55,0-1,.45-1,1s.45,1,1,1h4c.55,0,1-.45,1-1s-.45-1-1-1h-1v-1.1c2.28-.46,4-2.48,4-4.9,0-.71-.15-1.39-.42-2,.27-.61.42-1.29.42-2ZM12,7c1.66,0,3,1.34,3,3,0,0,0,.01,0,.02-.84-.63-1.87-1.02-3-1.02s-2.16.39-3,1.02c0,0,0-.01,0-.02,0-1.66,1.34-3,3-3ZM14.22,12c-.55.61-1.34,1-2.22,1s-1.67-.39-2.22-1c.55-.61,1.34-1,2.22-1s1.67.39,2.22,1ZM12,17c-1.66,0-3-1.34-3-3,0,0,0-.01,0-.02.84.63,1.87,1.02,3,1.02s2.16-.39,3-1.02c0,0,0,.01,0,.02,0,1.66-1.34,3-3,3Z"
386
+ />
387
+ <rect class="cls-2" width="24" height="24" />
388
+ </svg>`;
389
+ export const earthSwitchIcon = html `<svg
390
+ id="Laag_1"
391
+ data-name="Laag 1"
392
+ xmlns="http://www.w3.org/2000/svg"
393
+ viewBox="0 0 24 24"
394
+ >
395
+ <defs>
396
+ <style>
397
+ .cls-1 {
398
+ fill: currentColor;
399
+ }
400
+
401
+ .cls-1,
402
+ .cls-2 {
403
+ stroke-width: 0px;
404
+ }
405
+
406
+ .cls-2 {
407
+ fill: #fff;
408
+ opacity: 0;
409
+ }
410
+ </style>
411
+ </defs>
412
+ <g>
413
+ <path
414
+ class="cls-1"
415
+ d="M13,20h-2c-.55,0-1,.45-1,1s.45,1,1,1h2c.55,0,1-.45,1-1s-.45-1-1-1Z"
416
+ />
417
+ <path
418
+ class="cls-1"
419
+ d="M15,16h-2v-5c0-.13-.03-.26-.08-.38-.05-.12-.12-.23-.22-.33L5.91,3.5c-.39-.39-1.02-.39-1.41,0-.39.39-.39,1.02,0,1.41l6.5,6.5v4.59h-2c-.55,0-1,.45-1,1s.45,1,1,1h6c.55,0,1-.45,1-1s-.45-1-1-1Z"
420
+ />
421
+ <path
422
+ class="cls-1"
423
+ d="M10,4h4c.55,0,1-.45,1-1s-.45-1-1-1h-4c-.55,0-1,.45-1,1s.45,1,1,1Z"
424
+ />
425
+ </g>
426
+ <rect class="cls-2" width="24" height="24" />
427
+ </svg>`;
428
+ export const generalConductingEquipmentIcon = html `<svg
429
+ id="Laag_1"
430
+ data-name="Laag 1"
431
+ xmlns="http://www.w3.org/2000/svg"
432
+ viewBox="0 0 24 24"
433
+ >
434
+ <defs>
435
+ <style>
436
+ .cls-1 {
437
+ fill: currentColor;
438
+ stroke-width: 0px;
439
+ }
440
+ </style>
441
+ </defs>
442
+ <path
443
+ class="cls-1"
444
+ d="M20.41,3.59c-.78-.78-2.05-.78-2.83,0-.59.59-.73,1.47-.43,2.19l-1.49,1.49c-1.02-.79-2.29-1.27-3.67-1.27-3.31,0-6,2.69-6,6,0,1.38.48,2.66,1.27,3.67l-1.49,1.49c-.73-.31-1.6-.17-2.19.43-.78.78-.78,2.05,0,2.83.78.78,2.05.78,2.83,0,.59-.59.73-1.47.43-2.19l1.49-1.49c1.02.79,2.29,1.27,3.67,1.27,3.31,0,6-2.69,6-6,0-1.38-.48-2.66-1.27-3.67l1.49-1.49c.73.31,1.6.17,2.19-.43.78-.78.78-2.05,0-2.83ZM12,16c-2.21,0-4-1.79-4-4s1.79-4,4-4,4,1.79,4,4-1.79,4-4,4Z"
445
+ />
446
+ </svg>`;
447
+ export const connectivityNodeIcon = html `<svg
448
+ xmlns="http://www.w3.org/2000/svg"
449
+ >
450
+ <circle
451
+ stroke="currentColor"
452
+ fill="currentColor"
453
+ stroke-width="1"
454
+ cx="12.5"
455
+ cy="12.5"
456
+ r="5"
457
+ />
458
+ </svg>`;
459
+ export const powerTransformerTwoWindingIcon = html `<svg
460
+ xmlns="http://www.w3.org/2000/svg"
461
+ viewBox="0 0 25 25"
462
+ >
463
+ <line
464
+ x1="12.5"
465
+ y1="2"
466
+ x2="12.5"
467
+ y2="5"
468
+ stroke="currentColor"
469
+ stroke-width="1.5"
470
+ stroke-linecap="round"
471
+ />
472
+ <circle
473
+ cx="12.5"
474
+ cy="10"
475
+ r="5"
476
+ stroke="currentColor"
477
+ fill="transparent"
478
+ stroke-width="1.5"
479
+ stroke-linecap="round"
480
+ />
481
+ <circle
482
+ cx="12.5"
483
+ cy="15"
484
+ r="5"
485
+ stroke="currentColor"
486
+ fill="transparent"
487
+ stroke-width="1.5"
488
+ stroke-linecap="round"
489
+ />
490
+ <line
491
+ x1="12.5"
492
+ y1="20"
493
+ x2="12.5"
494
+ y2="23"
495
+ stroke="currentColor"
496
+ stroke-width="1.5"
497
+ stroke-linecap="round"
498
+ />
499
+ </svg>`;
500
+ export const openSCDIcon = html ` <svg
501
+ xmlns="http://www.w3.org/2000/svg"
502
+ style="width:100px;height:100px"
503
+ viewBox="0 0 25 25"
504
+ >
505
+ <path
506
+ d="M 2 9 L 12.5 2 L 23 9 L 21 9 L 21 21 L 4 21 L 4 9 Z"
507
+ fill="#eee8d5"
508
+ stroke="#6c71c4"
509
+ stroke-width="2"
510
+ stroke-linejoin="round"
511
+ />
512
+ <path
513
+ d="M 11 7 L 17.5 7 L 13.5 11 L 16.5 11 L 10 19 L 11.5 13 L 8.5 13 Z "
514
+ fill="#2aa198"
515
+ />
516
+ </svg>`;
517
+ export const sizableSmvIcon = svg `
518
+ <svg viewBox="0 0 24 24">
519
+ <path fill="currentColor" d="M11,7H15V9H11V11H13A2,2 0 0,1 15,13V15A2,2 0 0,1 13,17H9V15H13V13H11A2,2 0 0,1 9,11V9A2,2 0 0,1 11,7M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z" />
520
+ </svg>`;
521
+ export const sizableGooseIcon = svg `<svg viewBox="0 0 24 24">
522
+ <path fill="currentColor" d="M11,7H15V9H11V15H13V11H15V15A2,2 0 0,1 13,17H11A2,2 0 0,1 9,15V9A2,2 0 0,1 11,7M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z" />
523
+ </svg>`;
524
+ export const substationIcon = svg `<svg id="Laag_1" data-name="Laag 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
525
+ <defs>
526
+ <style>
527
+ .cls-1 {
528
+ fill: currentColor;
529
+ }
530
+
531
+ .cls-1, .cls-2 {
532
+ stroke-width: 0px;
533
+ }
534
+
535
+ .cls-2 {
536
+ fill: currentColor;
537
+ opacity: 0;
538
+ }
539
+ </style>
540
+ </defs>
541
+ <g>
542
+ <path class="cls-1" d="M19.3,7.94l-6-5.14c-.75-.64-1.85-.65-2.6,0l-6,5.14c-.44.38-.7.93-.7,1.52v9.54c0,1.1.9,2,2,2h12c1.1,0,2-.9,2-2v-9.54c0-.58-.25-1.14-.7-1.52ZM18,19H6v-9.54l6-5.14,6,5.14v9.54Z"/>
543
+ <path class="cls-1" d="M11.57,7.74l-3,5c-.09.15-.09.35,0,.5.09.16.26.25.44.25h2v3.5c0,.22.15.42.37.48.04.01.09.02.13.02.17,0,.34-.09.43-.24l3-5c.09-.15.09-.35,0-.5-.09-.16-.26-.25-.44-.25h-2v-3.5c0-.22-.15-.42-.37-.48-.22-.06-.45.03-.56.22Z"/>
544
+ </g>
545
+ <rect class="cls-2" y="0" width="24" height="24"/>
546
+ </svg>`;
547
+ export const lineIcon = svg `<svg id="Laag_1" data-name="Laag 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
548
+ <defs>
549
+ <style>
550
+ .cls-1 {
551
+ fill: currentColor;
552
+ }
553
+
554
+ .cls-1, .cls-2 {
555
+ stroke-width: 0px;
556
+ }
557
+
558
+ .cls-2 {
559
+ fill: currentColor;
560
+ opacity: 0;
561
+ }
562
+ </style>
563
+ </defs>
564
+ <path class="cls-1" d="M14.39,11.93l-1.39.58v-1.84l2.15-.89c.51-.21.75-.8.54-1.31-.21-.51-.8-.75-1.31-.54l-1.39.58V3c0-.55-.45-1-1-1s-1,.45-1,1v6.33l-2.15.89c-.51.21-.75.8-.54,1.31.21.51.8.75,1.31.54l1.39-.58v1.84l-2.15.89c-.51.21-.75.8-.54,1.31.21.51.8.75,1.31.54l1.39-.58v5.5c0,.55.45,1,1,1s1-.45,1-1v-6.33l2.15-.89c.51-.21.75-.8.54-1.31-.21-.51-.8-.75-1.31-.54Z"/>
565
+ <rect class="cls-2" width="24" height="24"/>
566
+ </svg>`;
567
+ export const processIcon = svg `<svg id="Laag_1" data-name="Laag 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
568
+ <defs>
569
+ <style>
570
+ .cls-1 {
571
+ fill: currentColor;
572
+ }
573
+
574
+ .cls-1, .cls-2 {
575
+ stroke-width: 0px;
576
+ }
577
+
578
+ .cls-2 {
579
+ fill: currentColor;
580
+ opacity: 0;
581
+ }
582
+ </style>
583
+ </defs>
584
+ <path class="cls-1" d="M18.71,15.29c-.39-.39-1.02-.39-1.41,0s-.39,1.02,0,1.41l.29.29h-5.59c0-1.1-.9-2-2-2h-2c-1.01,0-1.84.76-1.97,1.74-.61-.34-1.03-.99-1.03-1.74,0-1.1.9-2,2-2h5c0,1.1.9,2,2,2h2c1.1,0,2-.9,2-2v-.14c1.72-.45,3-2,3-3.86,0-2.21-1.79-4-4-4h-5c0-1.1-.9-2-2-2h-2c-1.1,0-2,.9-2,2h-2c-.55,0-1,.45-1,1s.45,1,1,1h2c0,1.1.9,2,2,2h2c1.1,0,2-.9,2-2h5c1.1,0,2,.9,2,2,0,.75-.42,1.39-1.03,1.74-.13-.98-.96-1.74-1.97-1.74h-2c-1.1,0-2,.9-2,2h-5c-2.21,0-4,1.79-4,4,0,1.86,1.28,3.41,3,3.86v.14c0,1.1.9,2,2,2h2c1.1,0,2-.9,2-2h5.59l-.29.29c-.39.39-.39,1.02,0,1.41.2.2.45.29.71.29s.51-.1.71-.29l2-2c.39-.39.39-1.02,0-1.41l-2-2ZM8,7v-2h2v2s-2,0-2,0ZM14,11h2v2s-2,0-2,0v-2ZM8,19v-2h2v2s-2,0-2,0Z"/>
585
+ <rect class="cls-2" y="0" width="24" height="24"/>
586
+ </svg>`;
587
+ export const transformerWindingIcon = svg `<svg id="Laag_1" data-name="Laag 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
588
+ <defs>
589
+ <style>
590
+ .cls-1 {
591
+ fill: currentColor;
592
+ }
593
+
594
+ .cls-1, .cls-2 {
595
+ stroke-width: 0px;
596
+ }
597
+
598
+ .cls-2 {
599
+ fill: currentColor;
600
+ opacity: 0;
601
+ }
602
+ </style>
603
+ </defs>
604
+ <g>
605
+ <path class="cls-1" d="M19,20h-2c-1.21,0-2.18-1.09-1.97-2.34.16-.98,1.09-1.66,2.08-1.66h-.11c.55,0,1-.45,1-1s-.42-.96-.95-.99c.04,0,.08-.01.12-.01h-.17c-1.21,0-2.18-1.09-1.97-2.34.16-.98,1.09-1.66,2.08-1.66h-.11c.55,0,1-.45,1-1s-.42-.96-.95-.99c.04,0,.08-.01.12-.01h-.17c-1.21,0-2.18-1.09-1.97-2.34.16-.98,1.09-1.66,2.08-1.66h1.89c.55,0,1-.45,1-1s-.45-1-1-1h-1.83c-2.09,0-3.95,1.53-4.15,3.61-.13,1.37.44,2.59,1.38,3.41-.76.64-1.28,1.55-1.38,2.59-.13,1.37.44,2.59,1.38,3.41-.76.64-1.28,1.55-1.38,2.59-.23,2.39,1.64,4.39,3.98,4.39h2c.55,0,1-.45,1-1s-.45-1-1-1Z"/>
606
+ <path class="cls-1" d="M10.98,6.39c.23-2.39-1.64-4.39-3.98-4.39h-2c-.55,0-1,.45-1,1s.45,1,1,1h2c1.21,0,2.18,1.09,1.97,2.34-.16.98-1.09,1.66-2.08,1.66h.11c-.55,0-1,.45-1,1s.42.96.95.99c-.04,0-.08.01-.12.01h.17c1.21,0,2.18,1.09,1.97,2.34-.16.98-1.09,1.66-2.08,1.66h.11c-.55,0-1,.45-1,1,0,.28.11.53.29.71.17.17.4.27.65.28h0s.03.01.05.01c1.21,0,2.18,1.09,1.97,2.34-.16.98-1.09,1.66-2.08,1.66h-1.89c-.55,0-1,.45-1,1s.45,1,1,1h1.83c2.09,0,3.95-1.53,4.15-3.61.13-1.37-.44-2.59-1.38-3.41.76-.64,1.28-1.55,1.38-2.59.13-1.37-.44-2.59-1.38-3.41.76-.64,1.28-1.55,1.38-2.59Z"/>
607
+ <path class="cls-1" d="M6.83,16h.17s-.03,0-.05-.01c-.04,0-.08.01-.12.01Z"/>
608
+ </g>
609
+ <rect class="cls-2" width="24" height="24"/>
610
+ </svg>`;
611
+ //# sourceMappingURL=icons.js.map