@omicronenergy/oscd-ui 0.1.1 → 0.1.3
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/CHANGELOG.md +15 -0
- package/README.md +43 -0
- package/custom-elements.json +2314 -1164
- package/dist/ace-editor/OscdAceEditor.d.ts +44 -4
- package/dist/ace-editor/OscdAceEditor.js +248 -4
- package/dist/ace-editor/OscdAceEditor.js.map +1 -1
- package/dist/ace-editor/OscdAceEditor.spec.js +114 -2
- package/dist/ace-editor/OscdAceEditor.spec.js.map +1 -1
- package/dist/ace-editor/OscdAceEditor.stories.d.ts +10 -28
- package/dist/ace-editor/OscdAceEditor.stories.js +76 -20
- package/dist/ace-editor/OscdAceEditor.stories.js.map +1 -1
- package/dist/ace-editor/internal/AceEditor.d.ts +5 -3
- package/dist/ace-editor/internal/AceEditor.js +22 -15
- package/dist/ace-editor/internal/AceEditor.js.map +1 -1
- package/dist/ace-editor/internal/ace-editor-base/AceEditorBase.js +10 -4
- package/dist/ace-editor/internal/ace-editor-base/AceEditorBase.js.map +1 -1
- package/dist/ace-editor/internal/ace-editor-base/AceEditorBase.spec.d.ts +1 -0
- package/dist/ace-editor/internal/ace-editor-base/AceEditorBase.spec.js +33 -0
- package/dist/ace-editor/internal/ace-editor-base/AceEditorBase.spec.js.map +1 -0
- package/dist/ace-editor/sample-scl.d.ts +9 -0
- package/dist/ace-editor/sample-scl.js +297 -0
- package/dist/ace-editor/sample-scl.js.map +1 -0
- package/dist/action-pane/oscd-action-pane.stories.d.ts +1 -1
- package/dist/action-tree/oscd-action-tree.stories.d.ts +1 -1
- package/dist/button/OscdElevatedButton.stories.d.ts +1 -1
- package/dist/button/OscdFilledButton.stories.d.ts +1 -1
- package/dist/button/OscdFilledTonalButton.stories.d.ts +1 -1
- package/dist/button/OscdOutlinedButton.stories.d.ts +1 -1
- package/dist/button/OscdTextButton.stories.d.ts +1 -1
- package/dist/checkbox/OscdCheckbox.stories.d.ts +1 -1
- package/dist/chips/OscdAssistChip.stories.d.ts +1 -1
- package/dist/chips/OscdChipSet.stories.d.ts +1 -1
- package/dist/chips/OscdFilterChip.stories.d.ts +1 -1
- package/dist/chips/OscdInputChip.stories.d.ts +1 -1
- package/dist/chips/OscdSuggestionChip.stories.d.ts +1 -1
- package/dist/dialog/OscdDialog.js +1 -1
- package/dist/dialog/OscdDialog.js.map +1 -1
- package/dist/dialog/OscdDialog.stories.d.ts +1 -1
- package/dist/dialog/OscdDialogStacking.stories.d.ts +5 -0
- package/dist/dialog/OscdDialogStacking.stories.js +112 -0
- package/dist/dialog/OscdDialogStacking.stories.js.map +1 -0
- package/dist/divider/OscdDivider.stories.d.ts +1 -1
- package/dist/elevation/OscdElevation.stories.d.ts +1 -1
- package/dist/fab/OscdBrandedFab.stories.d.ts +1 -1
- package/dist/fab/OscdFab.stories.d.ts +1 -1
- package/dist/field/OscdFilledField.stories.d.ts +1 -1
- package/dist/field/OscdOutlinedField.stories.d.ts +1 -1
- package/dist/focus/OscdFocusRing.stories.d.ts +1 -1
- package/dist/icon/OscdIcon.d.ts +1 -1
- package/dist/icon/OscdIcon.js +12 -1
- package/dist/icon/OscdIcon.js.map +1 -1
- package/dist/icon/OscdIcon.stories.d.ts +1 -1
- package/dist/icon/OscdIconRendering.spec.d.ts +1 -0
- package/dist/icon/OscdIconRendering.spec.js +66 -0
- package/dist/icon/OscdIconRendering.spec.js.map +1 -0
- package/dist/iconbutton/OscdFilledIconButton.stories.d.ts +1 -1
- package/dist/iconbutton/OscdFilledTonalIconButton.stories.d.ts +1 -1
- package/dist/iconbutton/OscdIconButton.stories.d.ts +1 -1
- package/dist/iconbutton/OscdOutlinedIconButton.stories.d.ts +1 -1
- package/dist/labs/badge/OscdBadge.stories.d.ts +1 -1
- package/dist/labs/card/OscdElevatedCard.stories.d.ts +1 -1
- package/dist/labs/card/OscdFilledCard.stories.d.ts +1 -1
- package/dist/labs/card/OscdOutlinedCard.stories.d.ts +1 -1
- package/dist/labs/item/OscdItem.stories.d.ts +1 -1
- package/dist/labs/navigationbar/OscdNavigationBar.stories.d.ts +1 -1
- package/dist/labs/navigationtab/OscdNavigationTab.stories.d.ts +1 -1
- package/dist/list/OscdList.stories.d.ts +1 -1
- package/dist/list/OscdListItem.stories.d.ts +1 -1
- package/dist/menu/OscdMenuItem.stories.d.ts +1 -1
- package/dist/progress/OscdLinearProgress.stories.d.ts +1 -1
- package/dist/ripple/OscdRipple.stories.d.ts +1 -1
- package/dist/scl-editor/OscdSclEditor.d.ts +22 -0
- package/dist/scl-editor/OscdSclEditor.js +62 -0
- package/dist/scl-editor/OscdSclEditor.js.map +1 -0
- package/dist/scl-editor/OscdSclEditor.spec.d.ts +1 -0
- package/dist/scl-editor/OscdSclEditor.spec.js +61 -0
- package/dist/scl-editor/OscdSclEditor.spec.js.map +1 -0
- package/dist/scl-editor/OscdSclEditor.stories.d.ts +13 -0
- package/dist/scl-editor/OscdSclEditor.stories.js +87 -0
- package/dist/scl-editor/OscdSclEditor.stories.js.map +1 -0
- package/dist/scl-editor/internal/namespace-utils.d.ts +13 -0
- package/dist/scl-editor/internal/namespace-utils.js +84 -0
- package/dist/scl-editor/internal/namespace-utils.js.map +1 -0
- package/dist/scl-editor/internal/namespace-utils.spec.d.ts +1 -0
- package/dist/scl-editor/internal/namespace-utils.spec.js +67 -0
- package/dist/scl-editor/internal/namespace-utils.spec.js.map +1 -0
- package/dist/scl-editor/oscd-scl-editor.d.ts +2 -0
- package/dist/scl-editor/oscd-scl-editor.js +4 -0
- package/dist/scl-editor/oscd-scl-editor.js.map +1 -0
- package/dist/scl-icon/internal/icons/icons.d.ts +1 -1
- package/dist/scl-icon/internal/icons/icons.js +1 -1
- package/dist/scl-icon/internal/icons/icons.js.map +1 -1
- package/dist/scl-icon/internal/scl-icons.d.ts +1 -1
- package/dist/scl-icon/internal/scl-icons.js +1 -1
- package/dist/scl-icon/internal/scl-icons.js.map +1 -1
- package/dist/scl-textfield/oscd-scl-text-field.stories.d.ts +1 -1
- package/dist/search-field/oscd-outlined-search-field.stories.d.ts +1 -1
- package/dist/selection-list/oscd-selection-list.stories.d.ts +1 -1
- package/dist/slider/OscdSlider.stories.d.ts +1 -1
- package/dist/switch/OscdSwitch.stories.d.ts +1 -1
- package/dist/tabs/OscdTabs.stories.d.ts +1 -1
- package/dist/textfield/OscdFilledTextField.stories.d.ts +1 -1
- package/dist/textfield/OscdOutlinedTextField.stories.d.ts +1 -1
- package/dist/utils/storybook/story-overrides/icon-overrides.d.ts +1 -0
- package/dist/utils/storybook/story-overrides/icon-overrides.js +61 -5
- package/dist/utils/storybook/story-overrides/icon-overrides.js.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../../../../scl-icon/internal/icons/icons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAqB,MAAM,KAAK,CAAC;AAE7C,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAA;;;;;;;;;;;OAWpB,CAAC;AAER,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,MAAM,EAAE,GAAG,CAAA;;;+FAGkF;IAC7F,MAAM,EAAE,GAAG,CAAA,kvBAAkvB;IAC7vB,MAAM,EAAE,GAAG,CAAA,m2BAAm2B;IAC92B,QAAQ,EAAE,GAAG,CAAA,iZAAiZ;IAC9Z,IAAI,EAAE,GAAG,CAAA,uOAAuO;IAChP,OAAO,EAAE,GAAG,CAAA,qIAAqI;IACjJ,KAAK,EAAE,GAAG,CAAA,qTAAqT;IAC/T,SAAS,EAAE,GAAG,CAAA,iQAAiQ;IAC/Q,MAAM,EAAE,GAAG,CAAA,yZAAyZ;IACpa,OAAO,EAAE,GAAG,CAAA,sMAAsM;IAClN,UAAU,EAAE,GAAG,CAAA,4RAA4R;IAC3S,WAAW,EAAE,GAAG,CAAA,sTAAsT;IACtU,OAAO,EAAE,GAAG,CAAA,sRAAsR;IAClS,KAAK,EAAE,GAAG,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;;;;;;;;;;;;;;;;;OAmBvB,CAAC;AAER,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;OAuBlC,CAAC","sourcesContent":["import { svg, SVGTemplateResult } from 'lit';\n\nexport const editIcon = svg`<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 25 25\"\n>\n <path\n 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\"\n stroke=\"currentColor\"\n fill=\"transparent\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n</svg>`;\n\nexport const pathsSVG = {\n action: svg`<path d=\"M0 0h24v24H0z\" fill=\"none\"></path><path d=\"M13 3c-4.97 0-9\n 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\n 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\n 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>`,\n 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 stroke=\"none\" 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 stroke=\"none\" 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\"/>`,\n 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 stroke=\"none\" fill=\"currentColor\" 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 stroke=\"none\" fill=\"currentColor\" 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\"/>`,\n 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\"/>`,\n 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>`,\n 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>`,\n 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>`,\n 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\" />`,\n 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\"/>`,\n 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\" />`,\n 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\" />`,\n dataSetIcon: svg`<path fill=\"currentColor\" d=\"M9,7H12.5A3.5,3.5 0 0,1 16,10.5V13.5A3.5,3.5 0 0,1 12.5,17H9V7M11,9V15H12.5A1.5,1.5 0 0,0 14,13.5V10.5A1.5,1.5 0 0,0 12.5,9H11M12,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\" />`,\n 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\" />`,\n reset: svg``,\n};\n\nexport const gooseIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">${pathsSVG['gooseIcon']}</svg>`;\n\nexport const reportIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">${pathsSVG['reportIcon']}</svg>`;\n\nexport const smvIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">${pathsSVG['smvIcon']}</svg>`;\n\nexport const dataSetIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">${pathsSVG['dataSetIcon']}</svg>`;\n\nexport const logIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">${pathsSVG['logIcon']}</svg>`;\n\nexport const controlBlockIcons: Partial<Record<string, SVGTemplateResult>> = {\n ReportControl: reportIcon,\n LogControl: logIcon,\n GSEControl: gooseIcon,\n SampledValueControl: smvIcon,\n};\n\nexport const inputIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">\n<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\" />\n</svg>`;\n\nexport const clientIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">\n<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\" />\n</svg>`;\n\nexport const disconnect = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">\n<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\" />\n</svg>`;\n\nexport const networkConfigIcon = svg`<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n slot=\"icon\"\n width=\"25px\"\n height=\"25px\"\n style=\"margin-bottom:0px;\"\n>\n <rect\n width=\"8\"\n height=\"8\"\n x=\"8.5\"\n y=\"2\"\n rx=\"1\"\n ry=\"1\"\n fill=\"transparent\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n />\n <rect\n width=\"8\"\n height=\"8\"\n x=\"2.5\"\n y=\"15\"\n rx=\"1\"\n ry=\"1\"\n fill=\"transparent\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n />\n <rect\n width=\"8\"\n height=\"8\"\n x=\"15\"\n y=\"15\"\n rx=\"1\"\n ry=\"1\"\n fill=\"transparent\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n />\n\n <line\n x1=\"2\"\n y1=\"12.5\"\n x2=\"23\"\n y2=\"12.5\"\n stroke=\"currentColor\"\n stroke-linecap=\"round\"\n stroke-width=\"1.5\"\n />\n <line\n x1=\"12.5\"\n y1=\"10\"\n x2=\"12.5\"\n y2=\"12.5\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n />\n <line\n x1=\"6.5\"\n y1=\"12.5\"\n x2=\"6.5\"\n y2=\"15\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n />\n <line\n x1=\"19\"\n y1=\"12.5\"\n x2=\"19\"\n y2=\"15\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n />\n</svg>`;\n\nexport const zeroLineIcon = svg`<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n slot=\"icon\"\n viewBox=\"0 0 25 25\"\n>\n <path\n d=\"M 2 9 L 12.5 2 L 23 9 L 21 9 L 21 21 L 4 21 L 4 9 Z\"\n fill=\"transparent\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linejoin=\"round\"\n />\n <path\n 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 \"\n fill=\"currentColor\"\n />\n</svg>`;\n\nexport const voltageLevelIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1,\n .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: currentColor;\n opacity: 0;\n }\n </style>\n </defs>\n <path\n class=\"cls-1\"\n 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\"\n />\n <rect class=\"cls-2\" width=\"24\" height=\"24\" />\n</svg>`;\n\nexport const bayIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n stroke-width: 0px;\n }\n </style>\n </defs>\n <path\n class=\"cls-1\"\n 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\"\n />\n <path\n class=\"cls-1\"\n 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\"\n />\n <path\n class=\"cls-1\"\n 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\"\n />\n <path\n class=\"cls-1\"\n 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\"\n />\n</svg>`;\n\nexport const disconnectorIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1,\n .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: #fff;\n opacity: 0;\n }\n </style>\n </defs>\n <g>\n <path\n class=\"cls-1\"\n 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\"\n />\n <path\n class=\"cls-1\"\n 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\"\n />\n </g>\n <rect class=\"cls-2\" width=\"24\" height=\"24\" />\n</svg>`;\n\nexport const circuitBreakerIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1,\n .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: #fff;\n opacity: 0;\n }\n </style>\n </defs>\n <g>\n <path\n class=\"cls-1\"\n 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\"\n />\n <path\n class=\"cls-1\"\n 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\"\n />\n </g>\n <rect class=\"cls-2\" width=\"24\" height=\"24\" />\n</svg>`;\n\nexport const currentTransformerIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1,\n .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: #fff;\n opacity: 0;\n }\n </style>\n </defs>\n <path\n class=\"cls-1\"\n 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\"\n />\n <rect class=\"cls-2\" width=\"24\" height=\"24\" />\n</svg>`;\n\nexport const voltageTransformerIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1,\n .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: #fff;\n opacity: 0;\n }\n </style>\n </defs>\n <path\n class=\"cls-1\"\n 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\"\n />\n <rect class=\"cls-2\" width=\"24\" height=\"24\" />\n</svg>`;\n\nexport const earthSwitchIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1,\n .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: #fff;\n opacity: 0;\n }\n </style>\n </defs>\n <g>\n <path\n class=\"cls-1\"\n d=\"M13,20h-2c-.55,0-1,.45-1,1s.45,1,1,1h2c.55,0,1-.45,1-1s-.45-1-1-1Z\"\n />\n <path\n class=\"cls-1\"\n 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\"\n />\n <path\n class=\"cls-1\"\n d=\"M10,4h4c.55,0,1-.45,1-1s-.45-1-1-1h-4c-.55,0-1,.45-1,1s.45,1,1,1Z\"\n />\n </g>\n <rect class=\"cls-2\" width=\"24\" height=\"24\" />\n</svg>`;\n\nexport const generalConductingEquipmentIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n stroke-width: 0px;\n }\n </style>\n </defs>\n <path\n class=\"cls-1\"\n 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\"\n />\n</svg>`;\n\nexport const connectivityNodeIcon = svg`<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n>\n <circle\n stroke=\"currentColor\"\n fill=\"currentColor\"\n stroke-width=\"1\"\n cx=\"12.5\"\n cy=\"12.5\"\n r=\"5\"\n />\n</svg>`;\n\nexport const powerTransformerTwoWindingIcon = svg`<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 25 25\"\n>\n <line\n x1=\"12.5\"\n y1=\"2\"\n x2=\"12.5\"\n y2=\"5\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <circle\n cx=\"12.5\"\n cy=\"10\"\n r=\"5\"\n stroke=\"currentColor\"\n fill=\"transparent\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <circle\n cx=\"12.5\"\n cy=\"15\"\n r=\"5\"\n stroke=\"currentColor\"\n fill=\"transparent\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <line\n x1=\"12.5\"\n y1=\"20\"\n x2=\"12.5\"\n y2=\"23\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n</svg>`;\n\nexport const openSCDIcon = svg` <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n style=\"width:100px;height:100px\"\n viewBox=\"0 0 25 25\"\n>\n <path\n d=\"M 2 9 L 12.5 2 L 23 9 L 21 9 L 21 21 L 4 21 L 4 9 Z\"\n fill=\"#eee8d5\"\n stroke=\"#6c71c4\"\n stroke-width=\"2\"\n stroke-linejoin=\"round\"\n />\n <path\n 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 \"\n fill=\"#2aa198\"\n />\n</svg>`;\n\nexport const sizableSmvIcon = svg`\n <svg viewBox=\"0 0 24 24\">\n <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\" />\n </svg>`;\n\nexport const sizableGooseIcon = svg`<svg viewBox=\"0 0 24 24\">\n<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\" />\n</svg>`;\n\nexport const substationIcon = svg`<svg id=\"Laag_1\" data-name=\"Laag 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n<defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1, .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: currentColor;\n opacity: 0;\n }\n </style>\n</defs>\n<g>\n <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\"/>\n <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\"/>\n</g>\n<rect class=\"cls-2\" y=\"0\" width=\"24\" height=\"24\"/>\n</svg>`;\n\nexport const lineIcon = svg`<svg id=\"Laag_1\" data-name=\"Laag 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n<defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1, .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: currentColor;\n opacity: 0;\n }\n </style>\n</defs>\n<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\"/>\n<rect class=\"cls-2\" width=\"24\" height=\"24\"/>\n</svg>`;\n\nexport const processIcon = svg`<svg id=\"Laag_1\" data-name=\"Laag 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n<defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1, .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: currentColor;\n opacity: 0;\n }\n </style>\n</defs>\n<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\"/>\n<rect class=\"cls-2\" y=\"0\" width=\"24\" height=\"24\"/>\n</svg>`;\n\nexport const transformerWindingIcon = svg`<svg id=\"Laag_1\" data-name=\"Laag 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n<defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1, .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: currentColor;\n opacity: 0;\n }\n </style>\n</defs>\n<g>\n <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\"/>\n <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\"/>\n <path class=\"cls-1\" d=\"M6.83,16h.17s-.03,0-.05-.01c-.04,0-.08.01-.12.01Z\"/>\n</g>\n<rect class=\"cls-2\" width=\"24\" height=\"24\"/>\n</svg>`;\n"]}
|
|
1
|
+
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../../../../scl-icon/internal/icons/icons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAqB,MAAM,KAAK,CAAC;AAE7C,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAA;;;;;;;;;;;OAWpB,CAAC;AAER,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,MAAM,EAAE,GAAG,CAAA;;;+FAGkF;IAC7F,MAAM,EAAE,GAAG,CAAA,kvBAAkvB;IAC7vB,MAAM,EAAE,GAAG,CAAA,m2BAAm2B;IAC92B,QAAQ,EAAE,GAAG,CAAA,iZAAiZ;IAC9Z,IAAI,EAAE,GAAG,CAAA,uOAAuO;IAChP,aAAa,EAAE,GAAG,CAAA,qIAAqI;IACvJ,KAAK,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AAC;AAEV,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;OAE5B,CAAC;AAER,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;OAsB1B,CAAC;AAER,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;OAmBpB,CAAC;AAER,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;OAmBvB,CAAC;AAER,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;OAuBlC,CAAC","sourcesContent":["import { svg, SVGTemplateResult } from 'lit';\n\nexport const editIcon = svg`<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 25 25\"\n>\n <path\n 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\"\n stroke=\"currentColor\"\n fill=\"transparent\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n</svg>`;\n\nexport const pathsSVG = {\n action: svg`<path d=\"M0 0h24v24H0z\" fill=\"none\"></path><path d=\"M13 3c-4.97 0-9\n 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\n 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\n 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>`,\n 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 stroke=\"none\" 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 stroke=\"none\" 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\"/>`,\n 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 stroke=\"none\" fill=\"currentColor\" 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 stroke=\"none\" fill=\"currentColor\" 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\"/>`,\n 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\"/>`,\n 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>`,\n 'scl-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>`,\n 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>`,\n 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\" />`,\n 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\"/>`,\n 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\" />`,\n 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\" />`,\n dataSetIcon: svg`<path fill=\"currentColor\" d=\"M9,7H12.5A3.5,3.5 0 0,1 16,10.5V13.5A3.5,3.5 0 0,1 12.5,17H9V7M11,9V15H12.5A1.5,1.5 0 0,0 14,13.5V10.5A1.5,1.5 0 0,0 12.5,9H11M12,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\" />`,\n 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\" />`,\n reset: svg``,\n};\n\nexport const gooseIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">${pathsSVG['gooseIcon']}</svg>`;\n\nexport const reportIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">${pathsSVG['reportIcon']}</svg>`;\n\nexport const smvIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">${pathsSVG['smvIcon']}</svg>`;\n\nexport const dataSetIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">${pathsSVG['dataSetIcon']}</svg>`;\n\nexport const logIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">${pathsSVG['logIcon']}</svg>`;\n\nexport const controlBlockIcons: Partial<Record<string, SVGTemplateResult>> = {\n ReportControl: reportIcon,\n LogControl: logIcon,\n GSEControl: gooseIcon,\n SampledValueControl: smvIcon,\n};\n\nexport const inputIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">\n<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\" />\n</svg>`;\n\nexport const clientIcon = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">\n<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\" />\n</svg>`;\n\nexport const disconnect = svg`<svg style=\"width:24px;height:24px\" viewBox=\"0 0 24 24\">\n<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\" />\n</svg>`;\n\nexport const networkConfigIcon = svg`<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n slot=\"icon\"\n width=\"25px\"\n height=\"25px\"\n style=\"margin-bottom:0px;\"\n>\n <rect\n width=\"8\"\n height=\"8\"\n x=\"8.5\"\n y=\"2\"\n rx=\"1\"\n ry=\"1\"\n fill=\"transparent\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n />\n <rect\n width=\"8\"\n height=\"8\"\n x=\"2.5\"\n y=\"15\"\n rx=\"1\"\n ry=\"1\"\n fill=\"transparent\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n />\n <rect\n width=\"8\"\n height=\"8\"\n x=\"15\"\n y=\"15\"\n rx=\"1\"\n ry=\"1\"\n fill=\"transparent\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n />\n\n <line\n x1=\"2\"\n y1=\"12.5\"\n x2=\"23\"\n y2=\"12.5\"\n stroke=\"currentColor\"\n stroke-linecap=\"round\"\n stroke-width=\"1.5\"\n />\n <line\n x1=\"12.5\"\n y1=\"10\"\n x2=\"12.5\"\n y2=\"12.5\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n />\n <line\n x1=\"6.5\"\n y1=\"12.5\"\n x2=\"6.5\"\n y2=\"15\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n />\n <line\n x1=\"19\"\n y1=\"12.5\"\n x2=\"19\"\n y2=\"15\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n />\n</svg>`;\n\nexport const zeroLineIcon = svg`<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n slot=\"icon\"\n viewBox=\"0 0 25 25\"\n>\n <path\n d=\"M 2 9 L 12.5 2 L 23 9 L 21 9 L 21 21 L 4 21 L 4 9 Z\"\n fill=\"transparent\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linejoin=\"round\"\n />\n <path\n 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 \"\n fill=\"currentColor\"\n />\n</svg>`;\n\nexport const voltageLevelIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1,\n .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: currentColor;\n opacity: 0;\n }\n </style>\n </defs>\n <path\n class=\"cls-1\"\n 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\"\n />\n <rect class=\"cls-2\" width=\"24\" height=\"24\" />\n</svg>`;\n\nexport const bayIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n stroke-width: 0px;\n }\n </style>\n </defs>\n <path\n class=\"cls-1\"\n 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\"\n />\n <path\n class=\"cls-1\"\n 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\"\n />\n <path\n class=\"cls-1\"\n 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\"\n />\n <path\n class=\"cls-1\"\n 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\"\n />\n</svg>`;\n\nexport const disconnectorIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1,\n .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: #fff;\n opacity: 0;\n }\n </style>\n </defs>\n <g>\n <path\n class=\"cls-1\"\n 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\"\n />\n <path\n class=\"cls-1\"\n 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\"\n />\n </g>\n <rect class=\"cls-2\" width=\"24\" height=\"24\" />\n</svg>`;\n\nexport const circuitBreakerIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1,\n .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: #fff;\n opacity: 0;\n }\n </style>\n </defs>\n <g>\n <path\n class=\"cls-1\"\n 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\"\n />\n <path\n class=\"cls-1\"\n 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\"\n />\n </g>\n <rect class=\"cls-2\" width=\"24\" height=\"24\" />\n</svg>`;\n\nexport const currentTransformerIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1,\n .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: #fff;\n opacity: 0;\n }\n </style>\n </defs>\n <path\n class=\"cls-1\"\n 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\"\n />\n <rect class=\"cls-2\" width=\"24\" height=\"24\" />\n</svg>`;\n\nexport const voltageTransformerIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1,\n .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: #fff;\n opacity: 0;\n }\n </style>\n </defs>\n <path\n class=\"cls-1\"\n 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\"\n />\n <rect class=\"cls-2\" width=\"24\" height=\"24\" />\n</svg>`;\n\nexport const earthSwitchIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1,\n .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: #fff;\n opacity: 0;\n }\n </style>\n </defs>\n <g>\n <path\n class=\"cls-1\"\n d=\"M13,20h-2c-.55,0-1,.45-1,1s.45,1,1,1h2c.55,0,1-.45,1-1s-.45-1-1-1Z\"\n />\n <path\n class=\"cls-1\"\n 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\"\n />\n <path\n class=\"cls-1\"\n d=\"M10,4h4c.55,0,1-.45,1-1s-.45-1-1-1h-4c-.55,0-1,.45-1,1s.45,1,1,1Z\"\n />\n </g>\n <rect class=\"cls-2\" width=\"24\" height=\"24\" />\n</svg>`;\n\nexport const generalConductingEquipmentIcon = svg`<svg\n id=\"Laag_1\"\n data-name=\"Laag 1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n>\n <defs>\n <style>\n .cls-1 {\n fill: currentColor;\n stroke-width: 0px;\n }\n </style>\n </defs>\n <path\n class=\"cls-1\"\n 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\"\n />\n</svg>`;\n\nexport const connectivityNodeIcon = svg`<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n>\n <circle\n stroke=\"currentColor\"\n fill=\"currentColor\"\n stroke-width=\"1\"\n cx=\"12.5\"\n cy=\"12.5\"\n r=\"5\"\n />\n</svg>`;\n\nexport const powerTransformerTwoWindingIcon = svg`<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 25 25\"\n>\n <line\n x1=\"12.5\"\n y1=\"2\"\n x2=\"12.5\"\n y2=\"5\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <circle\n cx=\"12.5\"\n cy=\"10\"\n r=\"5\"\n stroke=\"currentColor\"\n fill=\"transparent\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <circle\n cx=\"12.5\"\n cy=\"15\"\n r=\"5\"\n stroke=\"currentColor\"\n fill=\"transparent\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n <line\n x1=\"12.5\"\n y1=\"20\"\n x2=\"12.5\"\n y2=\"23\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n stroke-linecap=\"round\"\n />\n</svg>`;\n\nexport const openSCDIcon = svg` <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n style=\"width:100px;height:100px\"\n viewBox=\"0 0 25 25\"\n>\n <path\n d=\"M 2 9 L 12.5 2 L 23 9 L 21 9 L 21 21 L 4 21 L 4 9 Z\"\n fill=\"#eee8d5\"\n stroke=\"#6c71c4\"\n stroke-width=\"2\"\n stroke-linejoin=\"round\"\n />\n <path\n 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 \"\n fill=\"#2aa198\"\n />\n</svg>`;\n\nexport const sizableSmvIcon = svg`\n <svg viewBox=\"0 0 24 24\">\n <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\" />\n </svg>`;\n\nexport const sizableGooseIcon = svg`<svg viewBox=\"0 0 24 24\">\n<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\" />\n</svg>`;\n\nexport const substationIcon = svg`<svg id=\"Laag_1\" data-name=\"Laag 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n<defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1, .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: currentColor;\n opacity: 0;\n }\n </style>\n</defs>\n<g>\n <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\"/>\n <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\"/>\n</g>\n<rect class=\"cls-2\" y=\"0\" width=\"24\" height=\"24\"/>\n</svg>`;\n\nexport const lineIcon = svg`<svg id=\"Laag_1\" data-name=\"Laag 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n<defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1, .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: currentColor;\n opacity: 0;\n }\n </style>\n</defs>\n<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\"/>\n<rect class=\"cls-2\" width=\"24\" height=\"24\"/>\n</svg>`;\n\nexport const processIcon = svg`<svg id=\"Laag_1\" data-name=\"Laag 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n<defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1, .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: currentColor;\n opacity: 0;\n }\n </style>\n</defs>\n<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\"/>\n<rect class=\"cls-2\" y=\"0\" width=\"24\" height=\"24\"/>\n</svg>`;\n\nexport const transformerWindingIcon = svg`<svg id=\"Laag_1\" data-name=\"Laag 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n<defs>\n <style>\n .cls-1 {\n fill: currentColor;\n }\n\n .cls-1, .cls-2 {\n stroke-width: 0px;\n }\n\n .cls-2 {\n fill: currentColor;\n opacity: 0;\n }\n </style>\n</defs>\n<g>\n <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\"/>\n <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\"/>\n <path class=\"cls-1\" d=\"M6.83,16h.17s-.03,0-.05-.01c-.04,0-.08.01-.12.01Z\"/>\n</g>\n<rect class=\"cls-2\" width=\"24\" height=\"24\"/>\n</svg>`;\n"]}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
import { type SVGTemplateResult } from 'lit';
|
|
7
|
-
export type iconType = 'action' | 'dAIcon' | 'dOIcon' | 'enumIcon' | 'info' | 'warning' | 'error' | 'reset' | 'reportIcon' | 'smvIcon' | 'gooseIcon' | 'lNIcon' | 'logIcon';
|
|
7
|
+
export type iconType = 'action' | 'dAIcon' | 'dOIcon' | 'enumIcon' | 'info' | 'scl-warning' | 'error' | 'reset' | 'reportIcon' | 'smvIcon' | 'gooseIcon' | 'lNIcon' | 'logIcon';
|
|
8
8
|
export type iconProperty = {
|
|
9
9
|
width: number;
|
|
10
10
|
height: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scl-icons.js","sourceRoot":"","sources":["../../../scl-icon/internal/scl-icons.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAA0B,MAAM,KAAK,CAAC;AAElD,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAsB1C,MAAM,UAAU,SAAS,CAAC,IAAc;IACtC,OAAO,GAAG,CAAA;;;;;;MAMN,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;UAChB,CAAC;AACX,CAAC;AAED,MAAM,CAAC,MAAM,SAAS,GAAsC;IAC1D,WAAW,EAAE,OAAO,CAAC,WAAW;IAChC,aAAa,EAAE,OAAO,CAAC,aAAa;IACpC,WAAW,EAAE,OAAO,CAAC,WAAW;IAChC,QAAQ,EAAE,KAAK,CAAC,QAAQ;IACxB,SAAS,EAAE,KAAK,CAAC,SAAS;IAC1B,UAAU,EAAE,KAAK,CAAC,UAAU;IAC5B,OAAO,EAAE,KAAK,CAAC,OAAO;IACtB,WAAW,EAAE,KAAK,CAAC,WAAW;IAC9B,OAAO,EAAE,KAAK,CAAC,OAAO;IACtB,SAAS,EAAE,KAAK,CAAC,SAAS;IAC1B,UAAU,EAAE,KAAK,CAAC,UAAU;IAC5B,UAAU,EAAE,KAAK,CAAC,UAAU;IAC5B,iBAAiB,EAA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,UAAU,CAAC;IAC/B,SAAS,EAAE,SAAS,CAAC,QAAQ,CAAC;CAC/B,CAAC;AAEJ,MAAM,CAAC,MAAM,UAAU,GAA8B;IACnD,IAAI,EAAE,QAAQ;IACd,aAAa,EAAE,UAAU;IACzB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACjB,CAAC;AAEF,MAAM,UAAU,KAAK,CAAC,IAAY;IAChC,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2026 OMICRON electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { svg, type SVGTemplateResult } from 'lit';\n\nimport * as compare from './icons/compare.js';\nimport * as icons from './icons/icons.js';\nimport * as iedIcons from './icons/ied-icons.js';\nimport * as lnode from './icons/lnode.js';\n\nexport type iconType =\n | 'action'\n | 'dAIcon'\n | 'dOIcon'\n | 'enumIcon'\n | 'info'\n | 'scl-warning'\n | 'error'\n | 'reset'\n | 'reportIcon'\n | 'smvIcon'\n | 'gooseIcon'\n | 'lNIcon'\n | 'logIcon';\n\nexport type iconProperty = {\n width: number;\n height: number;\n};\n\nexport function pathToSvg(type: iconType): SVGTemplateResult {\n return svg`<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24\"\n viewBox=\"0 0 26.5 24\"\n width=\"24\"\n >\n ${icons.pathsSVG[type]}\n </svg> `;\n}\n\nexport const SCL_ICONS: Record<string, SVGTemplateResult> = {\n elementIcon: compare.elementIcon,\n attributeIcon: compare.attributeIcon,\n contentIcon: compare.contentIcon,\n editIcon: icons.editIcon,\n gooseIcon: icons.gooseIcon,\n reportIcon: icons.reportIcon,\n smvIcon: icons.smvIcon,\n dataSetIcon: icons.dataSetIcon,\n logIcon: icons.logIcon,\n inputIcon: icons.inputIcon,\n clientIcon: icons.clientIcon,\n disconnect: icons.disconnect,\n networkConfigIcon: icons.networkConfigIcon,\n zeroLineIcon: icons.zeroLineIcon,\n voltageLevelIcon: icons.voltageLevelIcon,\n bayIcon: icons.bayIcon,\n disconnectorIcon: icons.disconnectorIcon,\n circuitBreakerIcon: icons.circuitBreakerIcon,\n currentTransformerIcon: icons.currentTransformerIcon,\n voltageTransformerIcon: icons.voltageTransformerIcon,\n earthSwitchIcon: icons.earthSwitchIcon,\n generalConductingEquipmentIcon: icons.generalConductingEquipmentIcon,\n connectivityNodeIcon: icons.connectivityNodeIcon,\n powerTransformerTwoWindingIcon: icons.powerTransformerTwoWindingIcon,\n openSCDIcon: icons.openSCDIcon,\n sizableSmvIcon: icons.sizableSmvIcon,\n sizableGooseIcon: icons.sizableGooseIcon,\n substationIcon: icons.substationIcon,\n lineIcon: icons.lineIcon,\n processIcon: icons.processIcon,\n transformerWindingIcon: icons.transformerWindingIcon,\n accessPointIcon: iedIcons.accessPointIcon,\n serverIcon: iedIcons.serverIcon,\n logicalDeviceIcon: iedIcons.logicalDeviceIcon,\n systemLogicalNode: lnode.systemLogicalNode,\n automationLogicalNode: lnode.automationLogicalNode,\n controlLogicalNode: lnode.controlLogicalNode,\n functionalLogicalNode: lnode.functionalLogicalNode,\n generalLogicalNode: lnode.generalLogicalNode,\n interfacingLogicalNode: lnode.interfacingLogicalNode,\n nonElectricalLogicalNode: lnode.nonElectricalLogicalNode,\n measurementLogicalNode: lnode.measurementLogicalNode,\n protectionLogicalNode: lnode.protectionLogicalNode,\n qualityLogicalNode: lnode.qualityLogicalNode,\n protectionRelatedLogicalNode: lnode.protectionRelatedLogicalNode,\n supervisionLogicalNode: lnode.supervisionLogicalNode,\n transformerLogicalNode: lnode.transformerLogicalNode,\n switchgearLogicalNode: lnode.switchgearLogicalNode,\n powerTransformerLogicalNode: lnode.powerTransformerLogicalNode,\n furtherPowerSystemEquipmentLogicalNode:\n lnode.furtherPowerSystemEquipmentLogicalNode,\n ...Object.keys(icons.pathsSVG).reduce(\n (acc, key) => {\n acc[key] = pathToSvg(key as iconType);\n return acc;\n },\n {} as Record<string, SVGTemplateResult>,\n ),\n};\n\nexport const dataTypeTemplateIcons: Partial<Record<string, SVGTemplateResult>> =\n {\n DAType: pathToSvg('dAIcon'),\n DOType: pathToSvg('dOIcon'),\n EnumType: pathToSvg('enumIcon'),\n LNodeType: pathToSvg('lNIcon'),\n };\n\nexport const iconColors: { [key: string]: string } = {\n info: '--cyan',\n 'scl-warning': '--yellow',\n error: '--red',\n action: '--blue',\n};\n\nexport function toSVG(name: string): SVGTemplateResult | undefined {\n return SCL_ICONS[name];\n}\n"]}
|
|
@@ -21,7 +21,7 @@ declare const _default: {
|
|
|
21
21
|
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
22
22
|
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
23
23
|
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | undefined;
|
|
24
|
-
tags:
|
|
24
|
+
tags: string[];
|
|
25
25
|
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>) => () => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
26
26
|
};
|
|
27
27
|
export default _default;
|
|
@@ -23,7 +23,7 @@ declare const _default: {
|
|
|
23
23
|
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
24
24
|
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
25
25
|
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | undefined;
|
|
26
|
-
tags:
|
|
26
|
+
tags: string[];
|
|
27
27
|
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>) => () => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
28
28
|
};
|
|
29
29
|
export default _default;
|
|
@@ -28,7 +28,7 @@ declare const _default: {
|
|
|
28
28
|
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").LoaderFunction<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
29
29
|
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
30
30
|
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
31
|
-
tags:
|
|
31
|
+
tags: string[];
|
|
32
32
|
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>) => () => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
33
33
|
};
|
|
34
34
|
export default _default;
|
|
@@ -21,7 +21,7 @@ declare const _default: {
|
|
|
21
21
|
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
22
22
|
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
23
23
|
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | undefined;
|
|
24
|
-
tags:
|
|
24
|
+
tags: string[];
|
|
25
25
|
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>) => () => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
26
26
|
};
|
|
27
27
|
export default _default;
|
|
@@ -21,7 +21,7 @@ declare const _default: {
|
|
|
21
21
|
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
22
22
|
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
23
23
|
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | undefined;
|
|
24
|
-
tags:
|
|
24
|
+
tags: string[];
|
|
25
25
|
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>) => () => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
26
26
|
};
|
|
27
27
|
export default _default;
|
|
@@ -24,7 +24,7 @@ declare const _default: {
|
|
|
24
24
|
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
25
25
|
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
26
26
|
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | undefined;
|
|
27
|
-
tags:
|
|
27
|
+
tags: string[];
|
|
28
28
|
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>) => () => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
29
29
|
};
|
|
30
30
|
export default _default;
|
|
@@ -21,7 +21,7 @@ declare const _default: {
|
|
|
21
21
|
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
22
22
|
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
23
23
|
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | undefined;
|
|
24
|
-
tags:
|
|
24
|
+
tags: string[];
|
|
25
25
|
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>) => () => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
26
26
|
};
|
|
27
27
|
export default _default;
|
|
@@ -21,7 +21,7 @@ declare const _default: {
|
|
|
21
21
|
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").BeforeEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
22
22
|
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | import("storybook/internal/csf").AfterEach<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>[] | undefined;
|
|
23
23
|
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args> | undefined;
|
|
24
|
-
tags:
|
|
24
|
+
tags: string[];
|
|
25
25
|
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/web-components").WebComponentsRenderer, import("@storybook/web-components-vite").Args>) => () => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
26
26
|
};
|
|
27
27
|
export default _default;
|
|
@@ -1,21 +1,77 @@
|
|
|
1
1
|
import { html } from 'lit';
|
|
2
|
-
import {
|
|
2
|
+
import { styleMap } from 'lit/directives/style-map.js';
|
|
3
|
+
import '@/icon/oscd-icon.js';
|
|
4
|
+
const paletteOptions = [
|
|
5
|
+
'base03',
|
|
6
|
+
'base02',
|
|
7
|
+
'base01',
|
|
8
|
+
'base00',
|
|
9
|
+
'base0',
|
|
10
|
+
'base1',
|
|
11
|
+
'base2',
|
|
12
|
+
'base3',
|
|
13
|
+
'primary',
|
|
14
|
+
'secondary',
|
|
15
|
+
'error',
|
|
16
|
+
'warning',
|
|
17
|
+
];
|
|
3
18
|
export const iconOverrides = {
|
|
4
19
|
'oscd-icon': {
|
|
5
20
|
argTypes: {
|
|
6
21
|
textContent: {
|
|
7
|
-
name: '
|
|
22
|
+
name: 'Icon name',
|
|
8
23
|
control: { type: 'text' },
|
|
9
|
-
description: '
|
|
24
|
+
description: 'Material Symbols name or an SCL icon name such as gooseIcon',
|
|
25
|
+
},
|
|
26
|
+
'--md-icon-size': {
|
|
27
|
+
control: { type: 'number', min: 1, step: 1 },
|
|
28
|
+
description: 'Icon size in pixels, including automatically rendered SVGs',
|
|
29
|
+
table: { category: 'CSS Variables' },
|
|
30
|
+
},
|
|
31
|
+
color: {
|
|
32
|
+
name: 'Foreground',
|
|
33
|
+
control: { type: 'select' },
|
|
34
|
+
options: ['inherit', ...paletteOptions],
|
|
35
|
+
description: 'Palette slot used for the icon foreground, or inherit its text color',
|
|
36
|
+
table: { category: 'Styles' },
|
|
37
|
+
},
|
|
38
|
+
background: {
|
|
39
|
+
name: 'Background',
|
|
40
|
+
control: { type: 'select' },
|
|
41
|
+
options: ['transparent', ...paletteOptions],
|
|
42
|
+
description: 'Palette slot used for the icon preview background',
|
|
43
|
+
table: { category: 'Styles' },
|
|
10
44
|
},
|
|
11
45
|
},
|
|
12
46
|
args: {
|
|
13
47
|
textContent: 'edit',
|
|
48
|
+
'--md-icon-size': 24,
|
|
49
|
+
color: 'primary',
|
|
50
|
+
background: 'base3',
|
|
14
51
|
},
|
|
15
52
|
meta: {
|
|
16
53
|
render: args => {
|
|
17
|
-
|
|
18
|
-
|
|
54
|
+
return html `
|
|
55
|
+
<div
|
|
56
|
+
style=${styleMap({
|
|
57
|
+
padding: '16px',
|
|
58
|
+
display: 'inline-flex',
|
|
59
|
+
backgroundColor: paletteOptions.includes(args.background)
|
|
60
|
+
? `var(--oscd-theme-${args.background})`
|
|
61
|
+
: 'transparent',
|
|
62
|
+
})}
|
|
63
|
+
>
|
|
64
|
+
<oscd-icon
|
|
65
|
+
style=${styleMap({
|
|
66
|
+
'--md-icon-size': `${args['--md-icon-size']}px`,
|
|
67
|
+
color: paletteOptions.includes(args.color)
|
|
68
|
+
? `var(--oscd-theme-${args.color})`
|
|
69
|
+
: 'inherit',
|
|
70
|
+
})}
|
|
71
|
+
>${args.textContent}</oscd-icon
|
|
72
|
+
>
|
|
73
|
+
</div>
|
|
74
|
+
`;
|
|
19
75
|
},
|
|
20
76
|
},
|
|
21
77
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-overrides.js","sourceRoot":"","sources":["../../../../utils/storybook/story-overrides/icon-overrides.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"icon-overrides.js","sourceRoot":"","sources":["../../../../utils/storybook/story-overrides/icon-overrides.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,qBAAqB,CAAC;AAE7B,MAAM,cAAc,GAAG;IACrB,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,SAAS;IACT,WAAW;IACX,OAAO;IACP,SAAS;CACV,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAuB;IAC/C,WAAW,EAAE;QACX,QAAQ,EAAE;YACR,WAAW,EAAE;gBACX,IAAI,EAAE,WAAW;gBACjB,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;gBACzB,WAAW,EACT,6DAA6D;aAChE;YACD,gBAAgB,EAAE;gBAChB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE;gBAC5C,WAAW,EACT,4DAA4D;gBAC9D,KAAK,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE;aACrC;YACD,KAAK,EAA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.js';\n\nimport { html } from 'lit';\nimport { styleMap } from 'lit/directives/style-map.js';\nimport '@/icon/oscd-icon.js';\n\nconst paletteOptions = [\n 'base03',\n 'base02',\n 'base01',\n 'base00',\n 'base0',\n 'base1',\n 'base2',\n 'base3',\n 'primary',\n 'secondary',\n 'error',\n 'warning',\n];\n\nexport const iconOverrides: StorybookOverrides = {\n 'oscd-icon': {\n argTypes: {\n textContent: {\n name: 'Icon name',\n control: { type: 'text' },\n description:\n 'Material Symbols name or an SCL icon name such as gooseIcon',\n },\n '--md-icon-size': {\n control: { type: 'number', min: 1, step: 1 },\n description:\n 'Icon size in pixels, including automatically rendered SVGs',\n table: { category: 'CSS Variables' },\n },\n color: {\n name: 'Foreground',\n control: { type: 'select' },\n options: ['inherit', ...paletteOptions],\n description:\n 'Palette slot used for the icon foreground, or inherit its text color',\n table: { category: 'Styles' },\n },\n background: {\n name: 'Background',\n control: { type: 'select' },\n options: ['transparent', ...paletteOptions],\n description: 'Palette slot used for the icon preview background',\n table: { category: 'Styles' },\n },\n },\n args: {\n textContent: 'edit',\n '--md-icon-size': 24,\n color: 'primary',\n background: 'base3',\n },\n meta: {\n render: args => {\n return html`\n <div\n style=${styleMap({\n padding: '16px',\n display: 'inline-flex',\n backgroundColor: paletteOptions.includes(args.background)\n ? `var(--oscd-theme-${args.background})`\n : 'transparent',\n })}\n >\n <oscd-icon\n style=${styleMap({\n '--md-icon-size': `${args['--md-icon-size']}px`,\n color: paletteOptions.includes(args.color)\n ? `var(--oscd-theme-${args.color})`\n : 'inherit',\n })}\n >${args.textContent}</oscd-icon\n >\n </div>\n `;\n },\n },\n },\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omicronenergy/oscd-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "UI Web Components set for OpenSCD",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
"./ace-editor/OscdAceEditor.js": "./dist/ace-editor/OscdAceEditor.js",
|
|
90
90
|
"./ace-editor/oscd-ace-editor.js": "./dist/ace-editor/oscd-ace-editor.js",
|
|
91
91
|
"./ace-editor/ace/*": "./dist/ace-editor/ace/*",
|
|
92
|
-
"./
|
|
93
|
-
"./
|
|
92
|
+
"./scl-editor/OscdSclEditor.js": "./dist/scl-editor/OscdSclEditor.js",
|
|
93
|
+
"./scl-editor/oscd-scl-editor.js": "./dist/scl-editor/oscd-scl-editor.js",
|
|
94
94
|
"./elevation/OscdElevation.js": "./dist/elevation/OscdElevation.js",
|
|
95
95
|
"./elevation/oscd-elevation.js": "./dist/elevation/oscd-elevation.js",
|
|
96
96
|
"./fab/OscdBrandedFab.js": "./dist/fab/OscdBrandedFab.js",
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
"./tree-grid/oscd-tree-grid.js": "./dist/tree-grid/oscd-tree-grid.js"
|
|
196
196
|
},
|
|
197
197
|
"dependencies": {
|
|
198
|
-
"@omicronenergy/oscd-material-web-base": "^2.
|
|
198
|
+
"@omicronenergy/oscd-material-web-base": "^2.5.1",
|
|
199
199
|
"@open-wc/scoped-elements": "^3.0.6",
|
|
200
200
|
"@openscd/oscd-api": "^0.1.6",
|
|
201
201
|
"@webcomponents/scoped-custom-element-registry": "^0.0.10",
|