@oicl/openbridge-webcomponents 0.0.6 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/.storybook/main.ts +2 -0
- package/.storybook/preview.ts +11 -0
- package/.vscode/launch.json +16 -0
- package/README.md +8 -0
- package/__snapshots__/alert-icon--primary.png +0 -0
- package/__snapshots__/application-alert-button--notification.png +0 -0
- package/__snapshots__/application-alert-button--running.png +0 -0
- package/__snapshots__/application-notification-message--large-single-message.png +0 -0
- package/__snapshots__/application-notification-message--large.png +0 -0
- package/__snapshots__/application-notification-message--primary.png +0 -0
- package/__snapshots__/button-rich-button--bottom-with-boarder.png +0 -0
- package/__snapshots__/button-rich-button--bottom.png +0 -0
- package/__snapshots__/button-rich-button--center.png +0 -0
- package/__snapshots__/button-rich-button--double-line.png +0 -0
- package/__snapshots__/button-rich-button--multi-line.png +0 -0
- package/__snapshots__/button-rich-button--regular-no-icons.png +0 -0
- package/__snapshots__/button-rich-button--regular.png +0 -0
- package/__snapshots__/button-rich-button--single-line.png +0 -0
- package/__snapshots__/button-rich-button--top-with-boarder.png +0 -0
- package/__snapshots__/button-rich-button--top.png +0 -0
- package/__snapshots__/button-rich-button--with-graphic-border.png +0 -0
- package/__snapshots__/button-rich-button--with-graphic.png +0 -0
- package/__snapshots__/button-rich-button--with-status.png +0 -0
- package/__snapshots__/button-vendor-button--primary.png +0 -0
- package/__snapshots__/icons-icon--list.png +0 -0
- package/__snapshots__/icons-icon--use-font-color.png +0 -0
- package/custom-elements.json +2177 -591
- package/dist/components/alert-button/alert-button.css.js +4 -12
- package/dist/components/alert-button/alert-button.css.js.map +1 -1
- package/dist/components/alert-button/alert-button.d.ts +11 -1
- package/dist/components/alert-button/alert-button.d.ts.map +1 -1
- package/dist/components/alert-button/alert-button.js +21 -1
- package/dist/components/alert-button/alert-button.js.map +1 -1
- package/dist/components/alert-icon/alert-icon.d.ts +36 -0
- package/dist/components/alert-icon/alert-icon.d.ts.map +1 -0
- package/dist/components/alert-icon/alert-icon.js +84 -0
- package/dist/components/alert-icon/alert-icon.js.map +1 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-silenced-a.d.ts +2 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-silenced-a.d.ts.map +1 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-silenced-a.js +13 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-silenced-a.js.map +1 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-silenced-b.d.ts +2 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-silenced-b.d.ts.map +1 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-silenced-b.js +20 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-silenced-b.js.map +1 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-unack-a.d.ts +2 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-unack-a.d.ts.map +1 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-unack-a.js +12 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-unack-a.js.map +1 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-unack-b.d.ts +2 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-unack-b.d.ts.map +1 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-unack-b.js +19 -0
- package/dist/components/alert-icon/icons/icon-14-alarm-unack-b.js.map +1 -0
- package/dist/components/alert-icon/icons/icon-14-warning-unack-a.d.ts +2 -0
- package/dist/components/alert-icon/icons/icon-14-warning-unack-a.d.ts.map +1 -0
- package/dist/components/alert-icon/icons/icon-14-warning-unack-a.js +12 -0
- package/dist/components/alert-icon/icons/icon-14-warning-unack-a.js.map +1 -0
- package/dist/components/alert-icon/icons/icon-14-warning-unack-b.d.ts +2 -0
- package/dist/components/alert-icon/icons/icon-14-warning-unack-b.d.ts.map +1 -0
- package/dist/components/alert-icon/icons/icon-14-warning-unack-b.js +12 -0
- package/dist/components/alert-icon/icons/icon-14-warning-unack-b.js.map +1 -0
- package/dist/components/alert-topbar-element/alert-topbar-element.d.ts +13 -0
- package/dist/components/alert-topbar-element/alert-topbar-element.d.ts.map +1 -1
- package/dist/components/alert-topbar-element/alert-topbar-element.js +10 -0
- package/dist/components/alert-topbar-element/alert-topbar-element.js.map +1 -1
- package/dist/components/rich-button/rich-button.css.js +182 -0
- package/dist/components/rich-button/rich-button.css.js.map +1 -0
- package/dist/components/rich-button/rich-button.d.ts +32 -0
- package/dist/components/rich-button/rich-button.d.ts.map +1 -0
- package/dist/components/rich-button/rich-button.js +113 -0
- package/dist/components/rich-button/rich-button.js.map +1 -0
- package/dist/components/vendor-button/vendor-button.css.js +48 -0
- package/dist/components/vendor-button/vendor-button.css.js.map +1 -0
- package/dist/components/vendor-button/vendor-button.d.ts +13 -0
- package/dist/components/vendor-button/vendor-button.d.ts.map +1 -0
- package/dist/components/vendor-button/vendor-button.js +42 -0
- package/dist/components/vendor-button/vendor-button.js.map +1 -0
- package/dist/icons/{icon-07-target-radar.d.ts → icon-01-content-copy.d.ts} +3 -3
- package/dist/icons/{icon-07-target-radar.d.ts.map → icon-01-content-copy.d.ts.map} +1 -1
- package/dist/icons/{icon-07-target-radar.js → icon-01-content-copy.js} +10 -10
- package/dist/icons/icon-01-content-copy.js.map +1 -0
- package/dist/icons/{icon-07-target-ias-selected.d.ts → icon-01-content-cut.d.ts} +3 -3
- package/dist/icons/icon-01-content-cut.d.ts.map +1 -0
- package/dist/icons/icon-01-content-cut.js +52 -0
- package/dist/icons/icon-01-content-cut.js.map +1 -0
- package/dist/icons/{icon-07-target-radar-selected.d.ts → icon-01-content-paste.d.ts} +3 -3
- package/dist/icons/icon-01-content-paste.d.ts.map +1 -0
- package/dist/icons/icon-01-content-paste.js +52 -0
- package/dist/icons/icon-01-content-paste.js.map +1 -0
- package/dist/icons/icon-02-dock-bottom.d.ts +14 -0
- package/dist/icons/icon-02-dock-bottom.d.ts.map +1 -0
- package/dist/icons/icon-02-dock-bottom.js +52 -0
- package/dist/icons/icon-02-dock-bottom.js.map +1 -0
- package/dist/icons/{icon-07-target-ias.d.ts → icon-02-dock-left.d.ts} +3 -3
- package/dist/icons/icon-02-dock-left.d.ts.map +1 -0
- package/dist/icons/{icon-07-target-ias.js → icon-02-dock-left.js} +10 -24
- package/dist/icons/icon-02-dock-left.js.map +1 -0
- package/dist/icons/icon-02-dock-right.d.ts +14 -0
- package/dist/icons/icon-02-dock-right.d.ts.map +1 -0
- package/dist/icons/icon-02-dock-right.js +52 -0
- package/dist/icons/icon-02-dock-right.js.map +1 -0
- package/dist/icons/icon-03-license.d.ts +14 -0
- package/dist/icons/icon-03-license.d.ts.map +1 -0
- package/dist/icons/icon-03-license.js +52 -0
- package/dist/icons/icon-03-license.js.map +1 -0
- package/dist/icons/icon-03-star-unchecked.js +1 -1
- package/dist/icons/icon-03-star-unchecked.js.map +1 -1
- package/dist/icons/icon-04-colorcalibrated.d.ts.map +1 -1
- package/dist/icons/icon-04-colorcalibrated.js +2 -14
- package/dist/icons/icon-04-colorcalibrated.js.map +1 -1
- package/dist/icons/icon-07-target-associated-ais-camera.d.ts +14 -0
- package/dist/icons/icon-07-target-associated-ais-camera.d.ts.map +1 -0
- package/dist/icons/icon-07-target-associated-ais-camera.js +54 -0
- package/dist/icons/icon-07-target-associated-ais-camera.js.map +1 -0
- package/dist/icons/icon-07-target-associated-camera-radar.d.ts +14 -0
- package/dist/icons/icon-07-target-associated-camera-radar.d.ts.map +1 -0
- package/dist/icons/icon-07-target-associated-camera-radar.js +52 -0
- package/dist/icons/icon-07-target-associated-camera-radar.js.map +1 -0
- package/dist/icons/icon-07-target-associated-radar-camera.d.ts +14 -0
- package/dist/icons/icon-07-target-associated-radar-camera.d.ts.map +1 -0
- package/dist/icons/icon-07-target-associated-radar-camera.js +54 -0
- package/dist/icons/icon-07-target-associated-radar-camera.js.map +1 -0
- package/dist/icons/icon-07-target-camera.d.ts +14 -0
- package/dist/icons/icon-07-target-camera.d.ts.map +1 -0
- package/dist/icons/icon-07-target-camera.js +52 -0
- package/dist/icons/icon-07-target-camera.js.map +1 -0
- package/dist/icons/icon-08-backward-fast.js +1 -1
- package/dist/icons/icon-08-backward-fast.js.map +1 -1
- package/dist/icons/icon-08-backward-stopped.js +1 -1
- package/dist/icons/icon-08-backward-stopped.js.map +1 -1
- package/dist/icons/icon-08-forward-fast.js +1 -1
- package/dist/icons/icon-08-forward-fast.js.map +1 -1
- package/dist/icons/icon-08-forward-stopped.js +1 -1
- package/dist/icons/icon-08-forward-stopped.js.map +1 -1
- package/dist/icons/icon-08-motor-off-horisontal.js +1 -1
- package/dist/icons/icon-08-motor-off-horisontal.js.map +1 -1
- package/dist/icons/icon-09-switch-horizontal-off-large.js +1 -1
- package/dist/icons/icon-09-switch-horizontal-off-large.js.map +1 -1
- package/dist/icons/icon-09-switch-horizontal-off.js +1 -1
- package/dist/icons/icon-09-switch-horizontal-off.js.map +1 -1
- package/dist/icons/icon-10-autonomous.js +3 -3
- package/dist/icons/icon-10-autonomous.js.map +1 -1
- package/dist/icons/icon-14-alert-rectified.js +1 -1
- package/dist/icons/icon-14-alert-rectified.js.map +1 -1
- package/dist/icons/icon-14-alertheader-aggregated-large.d.ts +14 -0
- package/dist/icons/icon-14-alertheader-aggregated-large.d.ts.map +1 -0
- package/dist/icons/icon-14-alertheader-aggregated-large.js +52 -0
- package/dist/icons/icon-14-alertheader-aggregated-large.js.map +1 -0
- package/dist/icons/icon-14-alertheader-group-large.d.ts +14 -0
- package/dist/icons/icon-14-alertheader-group-large.d.ts.map +1 -0
- package/dist/icons/icon-14-alertheader-group-large.js +54 -0
- package/dist/icons/icon-14-alertheader-group-large.js.map +1 -0
- package/dist/icons/icon-14-exclamationmark.js +4 -4
- package/dist/icons/icon-14-exclamationmark.js.map +1 -1
- package/dist/icons/icon-14-rectified.js +1 -1
- package/dist/icons/icon-14-rectified.js.map +1 -1
- package/dist/icons/icon-18-ais-anchored.js +4 -4
- package/dist/icons/icon-18-ais-anchored.js.map +1 -1
- package/dist/icons/icon-18-ais-notunderway.js +1 -1
- package/dist/icons/icon-18-ais-notunderway.js.map +1 -1
- package/dist/icons/icon-iec-02-ais-target-activated-selected.d.ts +14 -0
- package/dist/icons/icon-iec-02-ais-target-activated-selected.d.ts.map +1 -0
- package/dist/icons/icon-iec-02-ais-target-activated-selected.js +52 -0
- package/dist/icons/icon-iec-02-ais-target-activated-selected.js.map +1 -0
- package/dist/icons/icon-iec-02-ais-target-activated.d.ts +14 -0
- package/dist/icons/icon-iec-02-ais-target-activated.d.ts.map +1 -0
- package/dist/icons/icon-iec-02-ais-target-activated.js +52 -0
- package/dist/icons/icon-iec-02-ais-target-activated.js.map +1 -0
- package/dist/icons/icon-iec-02-associated-target-ais.d.ts +14 -0
- package/dist/icons/icon-iec-02-associated-target-ais.d.ts.map +1 -0
- package/dist/icons/icon-iec-02-associated-target-ais.js +52 -0
- package/dist/icons/icon-iec-02-associated-target-ais.js.map +1 -0
- package/dist/icons/icon-iec-02-associated-target-radar.d.ts +14 -0
- package/dist/icons/icon-iec-02-associated-target-radar.d.ts.map +1 -0
- package/dist/icons/icon-iec-02-associated-target-radar.js +52 -0
- package/dist/icons/icon-iec-02-associated-target-radar.js.map +1 -0
- package/dist/icons/icon-iec-02-radar-target-tracked-selected.d.ts +14 -0
- package/dist/icons/icon-iec-02-radar-target-tracked-selected.d.ts.map +1 -0
- package/dist/icons/icon-iec-02-radar-target-tracked-selected.js +60 -0
- package/dist/icons/icon-iec-02-radar-target-tracked-selected.js.map +1 -0
- package/dist/icons/icon-iec-02-radar-target-tracked.d.ts +14 -0
- package/dist/icons/icon-iec-02-radar-target-tracked.d.ts.map +1 -0
- package/dist/icons/icon-iec-02-radar-target-tracked.js +52 -0
- package/dist/icons/icon-iec-02-radar-target-tracked.js.map +1 -0
- package/dist/icons/index.d.ts +19 -4
- package/dist/icons/index.d.ts.map +1 -1
- package/dist/icons/index.js +19 -4
- package/dist/icons/index.js.map +1 -1
- package/dist/icons/names.d.ts.map +1 -1
- package/dist/icons/names.js +19 -4
- package/dist/icons/names.js.map +1 -1
- package/dist/navigation-instruments/thruster/thruster.d.ts +2 -1
- package/dist/navigation-instruments/thruster/thruster.d.ts.map +1 -1
- package/dist/navigation-instruments/thruster/thruster.js +45 -25
- package/dist/navigation-instruments/thruster/thruster.js.map +1 -1
- package/fix-generated.cjs +3 -0
- package/new-component.ts +7 -8
- package/package.json +6 -3
- package/script/convert-icons.ts +177 -0
- package/script/download-alert-icons.ts +180 -0
- package/script/download-icons.ts +7 -141
- package/src/components/alert-button/alert-button.css +1 -12
- package/src/components/alert-button/alert-button.stories.ts +2 -0
- package/src/components/alert-button/alert-button.ts +29 -4
- package/src/components/alert-icon/alert-icon.stories.ts +35 -0
- package/src/components/alert-icon/alert-icon.ts +75 -0
- package/src/components/alert-icon/icons/icon-14-alarm-silenced-a.ts +9 -0
- package/src/components/alert-icon/icons/icon-14-alarm-silenced-b.ts +16 -0
- package/src/components/alert-icon/icons/icon-14-alarm-unack-a.ts +8 -0
- package/src/components/alert-icon/icons/icon-14-alarm-unack-b.ts +15 -0
- package/src/components/alert-icon/icons/icon-14-warning-unack-a.ts +8 -0
- package/src/components/alert-icon/icons/icon-14-warning-unack-b.ts +8 -0
- package/src/components/alert-topbar-element/alert-topbar-element.stories.ts +4 -0
- package/src/components/alert-topbar-element/alert-topbar-element.ts +17 -0
- package/src/components/notification-message/notification-message.stories.ts +26 -10
- package/src/components/rich-button/rich-button.css +118 -0
- package/src/components/rich-button/rich-button.stories.ts +196 -0
- package/src/components/rich-button/rich-button.ts +95 -0
- package/src/components/vendor-button/vendor-button.css +10 -0
- package/src/components/vendor-button/vendor-button.stories.ts +19 -0
- package/src/components/vendor-button/vendor-button.ts +25 -0
- package/src/icons/icon-01-content-copy.ts +40 -0
- package/src/icons/icon-01-content-cut.ts +40 -0
- package/src/icons/icon-01-content-paste.ts +40 -0
- package/src/icons/icon-02-dock-bottom.ts +40 -0
- package/src/icons/icon-02-dock-left.ts +40 -0
- package/src/icons/icon-02-dock-right.ts +40 -0
- package/src/icons/icon-03-license.ts +40 -0
- package/src/icons/icon-03-star-unchecked.ts +1 -1
- package/src/icons/icon-04-colorcalibrated.ts +2 -14
- package/src/icons/icon-07-target-associated-ais-camera.ts +42 -0
- package/src/icons/icon-07-target-associated-camera-radar.ts +40 -0
- package/src/icons/icon-07-target-associated-radar-camera.ts +42 -0
- package/src/icons/icon-07-target-camera.ts +40 -0
- package/src/icons/icon-08-backward-fast.ts +1 -1
- package/src/icons/icon-08-backward-stopped.ts +1 -1
- package/src/icons/icon-08-forward-fast.ts +1 -1
- package/src/icons/icon-08-forward-stopped.ts +1 -1
- package/src/icons/icon-08-motor-off-horisontal.ts +1 -1
- package/src/icons/icon-09-switch-horizontal-off-large.ts +1 -1
- package/src/icons/icon-09-switch-horizontal-off.ts +1 -1
- package/src/icons/icon-10-autonomous.ts +3 -3
- package/src/icons/icon-14-alert-rectified.ts +1 -1
- package/src/icons/icon-14-alertheader-aggregated-large.ts +40 -0
- package/src/icons/icon-14-alertheader-group-large.ts +42 -0
- package/src/icons/icon-14-exclamationmark.ts +4 -4
- package/src/icons/icon-14-rectified.ts +1 -1
- package/src/icons/icon-18-ais-anchored.ts +4 -4
- package/src/icons/icon-18-ais-notunderway.ts +1 -1
- package/src/icons/icon-iec-02-ais-target-activated-selected.ts +40 -0
- package/src/icons/icon-iec-02-ais-target-activated.ts +40 -0
- package/src/icons/icon-iec-02-associated-target-ais.ts +40 -0
- package/src/icons/icon-iec-02-associated-target-radar.ts +40 -0
- package/src/icons/icon-iec-02-radar-target-tracked-selected.ts +48 -0
- package/src/icons/icon-iec-02-radar-target-tracked.ts +40 -0
- package/src/icons/index.ts +19 -4
- package/src/icons/names.ts +19 -4
- package/src/icons.stories.ts +78 -0
- package/src/navigation-instruments/thruster/thruster.stories.ts +18 -1
- package/src/navigation-instruments/thruster/thruster.ts +43 -27
- package/dist/icons/icon-07-target-ias-selected.d.ts.map +0 -1
- package/dist/icons/icon-07-target-ias-selected.js +0 -60
- package/dist/icons/icon-07-target-ias-selected.js.map +0 -1
- package/dist/icons/icon-07-target-ias.d.ts.map +0 -1
- package/dist/icons/icon-07-target-ias.js.map +0 -1
- package/dist/icons/icon-07-target-radar-selected.d.ts.map +0 -1
- package/dist/icons/icon-07-target-radar-selected.js +0 -60
- package/dist/icons/icon-07-target-radar-selected.js.map +0 -1
- package/dist/icons/icon-07-target-radar.js.map +0 -1
- package/src/icons/icon-07-target-ias-selected.ts +0 -48
- package/src/icons/icon-07-target-ias.ts +0 -54
- package/src/icons/icon-07-target-radar-selected.ts +0 -48
- package/src/icons/icon-07-target-radar.ts +0 -40
@@ -0,0 +1,182 @@
|
|
1
|
+
import { css } from "lit";
|
2
|
+
const compentStyle = css`* {
|
3
|
+
box-sizing: border-box;
|
4
|
+
}
|
5
|
+
|
6
|
+
.wrapper {
|
7
|
+
position: relative;
|
8
|
+
background-color: var(--container-background-color);
|
9
|
+
box-shadow: var(--shadow-flat);
|
10
|
+
overflow: hidden;
|
11
|
+
}
|
12
|
+
|
13
|
+
.wrapper.top, .wrapper.regular {
|
14
|
+
border-top-left-radius: 6px;
|
15
|
+
border-top-right-radius: 6px;
|
16
|
+
}
|
17
|
+
|
18
|
+
.wrapper.bottom, .wrapper.regular {
|
19
|
+
border-bottom-left-radius: 6px;
|
20
|
+
border-bottom-right-radius: 6px;
|
21
|
+
}
|
22
|
+
|
23
|
+
button {
|
24
|
+
width: 100%;
|
25
|
+
appearance: none;
|
26
|
+
border-width: 0 !important;
|
27
|
+
display: flex;
|
28
|
+
flex-direction: column;
|
29
|
+
text-align: left;
|
30
|
+
padding: 0;
|
31
|
+
}
|
32
|
+
|
33
|
+
button {
|
34
|
+
border-color: var(--flat-enabled-border-color);
|
35
|
+
background-color: var(--flat-enabled-background-color);
|
36
|
+
border-width: 1px;
|
37
|
+
border-style: solid;
|
38
|
+
cursor: pointer;
|
39
|
+
}
|
40
|
+
|
41
|
+
button:focus {
|
42
|
+
outline: none;
|
43
|
+
}
|
44
|
+
|
45
|
+
button.activated {
|
46
|
+
border-color: var(--flat-activated-border-color);
|
47
|
+
background-color: var(--flat-activated-background-color);
|
48
|
+
}
|
49
|
+
|
50
|
+
button:focus-visible {
|
51
|
+
outline-color: hsla(211, 100%, 44%, 0.3);
|
52
|
+
outline-width: 4px;
|
53
|
+
outline-style: solid;
|
54
|
+
}
|
55
|
+
|
56
|
+
button:hover {
|
57
|
+
border-color: var(--flat-hover-border-color);
|
58
|
+
background-color: var(--flat-hover-background-color);
|
59
|
+
}
|
60
|
+
|
61
|
+
button:active {
|
62
|
+
border-color: var(--flat-pressed-border-color);
|
63
|
+
background-color: var(--flat-pressed-background-color);
|
64
|
+
}
|
65
|
+
|
66
|
+
button:disabled {
|
67
|
+
border-color: var(--flat-disabled-border-color);
|
68
|
+
background-color: var(--flat-disabled-background-color);
|
69
|
+
cursor: not-allowed;
|
70
|
+
color: var(--on-flat-disabled-color);
|
71
|
+
}
|
72
|
+
|
73
|
+
.top.border button, .center.border button {
|
74
|
+
border-bottom: 1px solid var(--border-outline-color) !important;
|
75
|
+
}
|
76
|
+
|
77
|
+
.bottom.border button{
|
78
|
+
border-top: 1px solid var(--border-outline-color) !important;
|
79
|
+
}
|
80
|
+
|
81
|
+
.container {
|
82
|
+
width: 100%;
|
83
|
+
display: flex;
|
84
|
+
align-items: center;
|
85
|
+
gap: 8px;
|
86
|
+
padding: 8px;
|
87
|
+
}
|
88
|
+
|
89
|
+
.wrapper.single-line .container {
|
90
|
+
padding-top: 4px;
|
91
|
+
padding-bottom: 4px;
|
92
|
+
}
|
93
|
+
|
94
|
+
.container-content {
|
95
|
+
display: flex;
|
96
|
+
align-items: center;
|
97
|
+
flex-grow: 1;
|
98
|
+
gap: 8px;
|
99
|
+
padding: 8px;
|
100
|
+
min-width: 0;
|
101
|
+
}
|
102
|
+
|
103
|
+
.content {
|
104
|
+
display: flex;
|
105
|
+
flex-direction: column;
|
106
|
+
min-width: 0;
|
107
|
+
}
|
108
|
+
|
109
|
+
.leading-icon {
|
110
|
+
display: block;
|
111
|
+
width: 32px;
|
112
|
+
height: 24px;
|
113
|
+
padding-right: 8px;
|
114
|
+
color: var(--element-neutral-color);
|
115
|
+
flex-shrink: 0;
|
116
|
+
flex-grow: 0;
|
117
|
+
}
|
118
|
+
|
119
|
+
.trailing-icon {
|
120
|
+
width: 40px;
|
121
|
+
height: 24px;
|
122
|
+
padding-left: 8px;
|
123
|
+
padding-right: 8px;
|
124
|
+
color: var(--element-neutral-color);
|
125
|
+
flex-shrink: 0;
|
126
|
+
flex-grow: 0;
|
127
|
+
|
128
|
+
}
|
129
|
+
|
130
|
+
::slotted([slot="label"]) {
|
131
|
+
/* UI/Body */
|
132
|
+
font-family: 'Noto Sans';
|
133
|
+
font-size: 16px;
|
134
|
+
font-style: normal;
|
135
|
+
font-weight: 370;
|
136
|
+
line-height: 24px;
|
137
|
+
/* 150% */
|
138
|
+
text-decoration: none;
|
139
|
+
color: var(--element-active-color);
|
140
|
+
}
|
141
|
+
|
142
|
+
::slotted([slot="description"]) {
|
143
|
+
font-family: 'Noto Sans';
|
144
|
+
font-size: 12px;
|
145
|
+
font-style: normal;
|
146
|
+
font-weight: 370;
|
147
|
+
line-height: 16px;
|
148
|
+
/* 133.333% */
|
149
|
+
color: var(--element-neutral-color);
|
150
|
+
}
|
151
|
+
|
152
|
+
.double-line ::slotted([slot="description"]) {
|
153
|
+
white-space: nowrap;
|
154
|
+
overflow: hidden;
|
155
|
+
text-overflow: ellipsis;
|
156
|
+
}
|
157
|
+
|
158
|
+
.status {
|
159
|
+
/* UI/Body */
|
160
|
+
font-family: 'Noto Sans';
|
161
|
+
font-size: 16px;
|
162
|
+
font-style: normal;
|
163
|
+
font-weight: 370;
|
164
|
+
line-height: 24px;
|
165
|
+
/* 150% */
|
166
|
+
text-decoration: none;
|
167
|
+
color: var(--element-neutral-color);
|
168
|
+
}
|
169
|
+
|
170
|
+
.graphic {
|
171
|
+
width: 100%;
|
172
|
+
}
|
173
|
+
|
174
|
+
.graphic-border .graphic {
|
175
|
+
border-bottom: 1px solid var(--border-outline-color);
|
176
|
+
margin-bottom: -1px;
|
177
|
+
}
|
178
|
+
`;
|
179
|
+
export {
|
180
|
+
compentStyle as default
|
181
|
+
};
|
182
|
+
//# sourceMappingURL=rich-button.css.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rich-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
export declare enum ObcRichButtonPosition {
|
3
|
+
Regular = "regular",
|
4
|
+
Top = "top",
|
5
|
+
Bottom = "bottom",
|
6
|
+
Center = "center"
|
7
|
+
}
|
8
|
+
export type ObcRichButtonPositionType = 'regular' | 'top' | 'bottom' | 'center';
|
9
|
+
export declare enum ObcRichButtonSize {
|
10
|
+
SingleLine = "single-line",
|
11
|
+
DoubleLine = "double-line",
|
12
|
+
MultiLine = "multi-line"
|
13
|
+
}
|
14
|
+
export type ObcRichButtonSizeType = 'single-line' | 'double-line' | 'multi-line';
|
15
|
+
export declare class ObcRichButton extends LitElement {
|
16
|
+
position: ObcRichButtonPositionType;
|
17
|
+
size: ObcRichButtonSizeType;
|
18
|
+
hasLeadingIcon: boolean;
|
19
|
+
hasTrailingIcon: boolean;
|
20
|
+
hasStatus: boolean;
|
21
|
+
hasGraphic: boolean;
|
22
|
+
graphicBorder: boolean;
|
23
|
+
border: boolean;
|
24
|
+
render(): import("lit-html").TemplateResult<1>;
|
25
|
+
static styles: import("lit").CSSResult;
|
26
|
+
}
|
27
|
+
declare global {
|
28
|
+
interface HTMLElementTagNameMap {
|
29
|
+
'obc-rich-button': ObcRichButton;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=rich-button.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rich-button.d.ts","sourceRoot":"","sources":["../../../src/components/rich-button/rich-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAA2B,MAAM,KAAK,CAAC;AAKzD,oBAAY,qBAAqB;IAC/B,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AACD,MAAM,MAAM,yBAAyB,GAAG,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEhF,oBAAY,iBAAiB;IAC3B,UAAU,gBAAgB;IAC1B,UAAU,gBAAgB;IAC1B,SAAS,eAAe;CACzB;AACD,MAAM,MAAM,qBAAqB,GAC7B,aAAa,GACb,aAAa,GACb,YAAY,CAAC;AAEjB,qBACa,aAAc,SAAQ,UAAU;IACjB,QAAQ,EAAE,yBAAyB,CAC7B;IACN,IAAI,EAAE,qBAAqB,CACtB;IAC2B,cAAc,UAChE;IACmD,eAAe,UAClE;IAC4C,SAAS,UAAS;IACjB,UAAU,UAAS;IAChB,aAAa,UAAS;IACnD,MAAM,UAAS;IAEjC,MAAM;IAiDf,OAAgB,MAAM,0BAA2B;CAClD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,aAAa,CAAC;KAClC;CACF"}
|
@@ -0,0 +1,113 @@
|
|
1
|
+
import { unsafeCSS, LitElement, html, nothing } from "lit";
|
2
|
+
import { property, customElement } from "lit/decorators.js";
|
3
|
+
import compentStyle from "./rich-button.css.js";
|
4
|
+
import { classMap } from "lit/directives/class-map.js";
|
5
|
+
var __defProp = Object.defineProperty;
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
7
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
8
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
9
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
10
|
+
if (decorator = decorators[i])
|
11
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
12
|
+
if (kind && result)
|
13
|
+
__defProp(target, key, result);
|
14
|
+
return result;
|
15
|
+
};
|
16
|
+
var ObcRichButtonPosition = /* @__PURE__ */ ((ObcRichButtonPosition2) => {
|
17
|
+
ObcRichButtonPosition2["Regular"] = "regular";
|
18
|
+
ObcRichButtonPosition2["Top"] = "top";
|
19
|
+
ObcRichButtonPosition2["Bottom"] = "bottom";
|
20
|
+
ObcRichButtonPosition2["Center"] = "center";
|
21
|
+
return ObcRichButtonPosition2;
|
22
|
+
})(ObcRichButtonPosition || {});
|
23
|
+
var ObcRichButtonSize = /* @__PURE__ */ ((ObcRichButtonSize2) => {
|
24
|
+
ObcRichButtonSize2["SingleLine"] = "single-line";
|
25
|
+
ObcRichButtonSize2["DoubleLine"] = "double-line";
|
26
|
+
ObcRichButtonSize2["MultiLine"] = "multi-line";
|
27
|
+
return ObcRichButtonSize2;
|
28
|
+
})(ObcRichButtonSize || {});
|
29
|
+
let ObcRichButton = class extends LitElement {
|
30
|
+
constructor() {
|
31
|
+
super(...arguments);
|
32
|
+
this.position = "regular";
|
33
|
+
this.size = "single-line";
|
34
|
+
this.hasLeadingIcon = false;
|
35
|
+
this.hasTrailingIcon = false;
|
36
|
+
this.hasStatus = false;
|
37
|
+
this.hasGraphic = false;
|
38
|
+
this.graphicBorder = false;
|
39
|
+
this.border = false;
|
40
|
+
}
|
41
|
+
render() {
|
42
|
+
return html`
|
43
|
+
<div
|
44
|
+
class=${classMap({
|
45
|
+
wrapper: true,
|
46
|
+
[this.position]: true,
|
47
|
+
[this.size]: true,
|
48
|
+
"graphic-border": this.graphicBorder,
|
49
|
+
border: this.border
|
50
|
+
})}
|
51
|
+
>
|
52
|
+
<button>
|
53
|
+
${this.hasGraphic ? html`<div class="graphic"><slot name="graphic"></slot></div>` : nothing}
|
54
|
+
<div class="container">
|
55
|
+
<div class="container-content">
|
56
|
+
${this.hasLeadingIcon ? html`<div class="leading-icon">
|
57
|
+
<slot name="leading-icon"></slot>
|
58
|
+
</div>` : nothing}
|
59
|
+
<div class="content">
|
60
|
+
<slot name="label"></slot>
|
61
|
+
${this.size === "single-line" ? nothing : html`<slot name="description"></slot>`}
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
${this.hasStatus ? html`
|
65
|
+
<div class="status">
|
66
|
+
<slot name="status"></slot>
|
67
|
+
</div>
|
68
|
+
` : nothing}
|
69
|
+
${this.hasTrailingIcon ? html`
|
70
|
+
<div class="trailing-icon">
|
71
|
+
<slot name="trailing-icon"></slot>
|
72
|
+
</div>
|
73
|
+
` : nothing}
|
74
|
+
</div>
|
75
|
+
</button>
|
76
|
+
</div>
|
77
|
+
`;
|
78
|
+
}
|
79
|
+
};
|
80
|
+
ObcRichButton.styles = unsafeCSS(compentStyle);
|
81
|
+
__decorateClass([
|
82
|
+
property({ type: String })
|
83
|
+
], ObcRichButton.prototype, "position", 2);
|
84
|
+
__decorateClass([
|
85
|
+
property({ type: String })
|
86
|
+
], ObcRichButton.prototype, "size", 2);
|
87
|
+
__decorateClass([
|
88
|
+
property({ type: Boolean, attribute: "has-leading-icon" })
|
89
|
+
], ObcRichButton.prototype, "hasLeadingIcon", 2);
|
90
|
+
__decorateClass([
|
91
|
+
property({ type: Boolean, attribute: "has-trailing-icon" })
|
92
|
+
], ObcRichButton.prototype, "hasTrailingIcon", 2);
|
93
|
+
__decorateClass([
|
94
|
+
property({ type: Boolean, attribute: "has-status" })
|
95
|
+
], ObcRichButton.prototype, "hasStatus", 2);
|
96
|
+
__decorateClass([
|
97
|
+
property({ type: Boolean, attribute: "has-graphic" })
|
98
|
+
], ObcRichButton.prototype, "hasGraphic", 2);
|
99
|
+
__decorateClass([
|
100
|
+
property({ type: Boolean, attribute: "graphic-border" })
|
101
|
+
], ObcRichButton.prototype, "graphicBorder", 2);
|
102
|
+
__decorateClass([
|
103
|
+
property({ type: Boolean })
|
104
|
+
], ObcRichButton.prototype, "border", 2);
|
105
|
+
ObcRichButton = __decorateClass([
|
106
|
+
customElement("obc-rich-button")
|
107
|
+
], ObcRichButton);
|
108
|
+
export {
|
109
|
+
ObcRichButton,
|
110
|
+
ObcRichButtonPosition,
|
111
|
+
ObcRichButtonSize
|
112
|
+
};
|
113
|
+
//# sourceMappingURL=rich-button.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rich-button.js","sources":["../../../src/components/rich-button/rich-button.ts"],"sourcesContent":["import {LitElement, html, nothing, unsafeCSS} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport compentStyle from './rich-button.css?inline';\nimport {classMap} from 'lit/directives/class-map.js';\n\nexport enum ObcRichButtonPosition {\n Regular = 'regular',\n Top = 'top',\n Bottom = 'bottom',\n Center = 'center',\n}\nexport type ObcRichButtonPositionType = 'regular' | 'top' | 'bottom' | 'center';\n\nexport enum ObcRichButtonSize {\n SingleLine = 'single-line',\n DoubleLine = 'double-line',\n MultiLine = 'multi-line',\n}\nexport type ObcRichButtonSizeType =\n | 'single-line'\n | 'double-line'\n | 'multi-line';\n\n@customElement('obc-rich-button')\nexport class ObcRichButton extends LitElement {\n @property({type: String}) position: ObcRichButtonPositionType =\n ObcRichButtonPosition.Regular;\n @property({type: String}) size: ObcRichButtonSizeType =\n ObcRichButtonSize.SingleLine;\n @property({type: Boolean, attribute: 'has-leading-icon'}) hasLeadingIcon =\n false;\n @property({type: Boolean, attribute: 'has-trailing-icon'}) hasTrailingIcon =\n false;\n @property({type: Boolean, attribute: 'has-status'}) hasStatus = false;\n @property({type: Boolean, attribute: 'has-graphic'}) hasGraphic = false;\n @property({type: Boolean, attribute: 'graphic-border'}) graphicBorder = false;\n @property({type: Boolean}) border = false;\n\n override render() {\n return html`\n <div\n class=${classMap({\n wrapper: true,\n [this.position]: true,\n [this.size]: true,\n 'graphic-border': this.graphicBorder,\n border: this.border,\n })}\n >\n <button>\n ${this.hasGraphic\n ? html`<div class=\"graphic\"><slot name=\"graphic\"></slot></div>`\n : nothing}\n <div class=\"container\">\n <div class=\"container-content\">\n ${this.hasLeadingIcon\n ? html`<div class=\"leading-icon\">\n <slot name=\"leading-icon\"></slot>\n </div>`\n : nothing}\n <div class=\"content\">\n <slot name=\"label\"></slot>\n ${this.size === ObcRichButtonSize.SingleLine\n ? nothing\n : html`<slot name=\"description\"></slot>`}\n </div>\n </div>\n ${this.hasStatus\n ? html`\n <div class=\"status\">\n <slot name=\"status\"></slot>\n </div>\n `\n : nothing}\n ${this.hasTrailingIcon\n ? html`\n <div class=\"trailing-icon\">\n <slot name=\"trailing-icon\"></slot>\n </div>\n `\n : nothing}\n </div>\n </button>\n </div>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-rich-button': ObcRichButton;\n }\n}\n"],"names":["ObcRichButtonPosition","ObcRichButtonSize"],"mappings":";;;;;;;;;;;;;;;AAKY,IAAA,0CAAAA,2BAAL;AACLA,yBAAA,SAAU,IAAA;AACVA,yBAAA,KAAM,IAAA;AACNA,yBAAA,QAAS,IAAA;AACTA,yBAAA,QAAS,IAAA;AAJCA,SAAAA;AAAA,GAAA,yBAAA,CAAA,CAAA;AAQA,IAAA,sCAAAC,uBAAL;AACLA,qBAAA,YAAa,IAAA;AACbA,qBAAA,YAAa,IAAA;AACbA,qBAAA,WAAY,IAAA;AAHFA,SAAAA;AAAA,GAAA,qBAAA,CAAA,CAAA;AAWC,IAAA,gBAAN,cAA4B,WAAW;AAAA,EAAvC,cAAA;AAAA,UAAA,GAAA,SAAA;AAEH,SAAA,WAAA;AAEA,SAAA,OAAA;AAEA,SAAA,iBAAA;AAEA,SAAA,kBAAA;AAC8D,SAAA,YAAA;AACE,SAAA,aAAA;AACM,SAAA,gBAAA;AACpC,SAAA,SAAA;AAAA,EAAA;AAAA,EAE3B,SAAS;AACT,WAAA;AAAA;AAAA,gBAEK,SAAS;AAAA,MACf,SAAS;AAAA,MACT,CAAC,KAAK,QAAQ,GAAG;AAAA,MACjB,CAAC,KAAK,IAAI,GAAG;AAAA,MACb,kBAAkB,KAAK;AAAA,MACvB,QAAQ,KAAK;AAAA,IAAA,CACd,CAAC;AAAA;AAAA;AAAA,YAGE,KAAK,aACH,gEACA,OAAO;AAAA;AAAA;AAAA,gBAGL,KAAK,iBACH;AAAA;AAAA,4BAGA,OAAO;AAAA;AAAA;AAAA,kBAGP,KAAK,SAAS,gBACZ,UACA,sCAAsC;AAAA;AAAA;AAAA,cAG5C,KAAK,YACH;AAAA;AAAA;AAAA;AAAA,oBAKA,OAAO;AAAA,cACT,KAAK,kBACH;AAAA;AAAA;AAAA;AAAA,oBAKA,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,EAKrB;AAGF;AAhEa,cA+DK,SAAS,UAAU,YAAY;AA9DrB,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GADb,cACe,WAAA,YAAA,CAAA;AAEA,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAHb,cAGe,WAAA,QAAA,CAAA;AAEgC,gBAAA;AAAA,EAAzD,SAAS,EAAC,MAAM,SAAS,WAAW,oBAAmB;AAAA,GAL7C,cAK+C,WAAA,kBAAA,CAAA;AAEC,gBAAA;AAAA,EAA1D,SAAS,EAAC,MAAM,SAAS,WAAW,qBAAoB;AAAA,GAP9C,cAOgD,WAAA,mBAAA,CAAA;AAEP,gBAAA;AAAA,EAAnD,SAAS,EAAC,MAAM,SAAS,WAAW,cAAa;AAAA,GATvC,cASyC,WAAA,aAAA,CAAA;AACC,gBAAA;AAAA,EAApD,SAAS,EAAC,MAAM,SAAS,WAAW,eAAc;AAAA,GAVxC,cAU0C,WAAA,cAAA,CAAA;AACG,gBAAA;AAAA,EAAvD,SAAS,EAAC,MAAM,SAAS,WAAW,kBAAiB;AAAA,GAX3C,cAW6C,WAAA,iBAAA,CAAA;AAC7B,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,SAAQ;AAAA,GAZd,cAYgB,WAAA,UAAA,CAAA;AAZhB,gBAAN,gBAAA;AAAA,EADN,cAAc,iBAAiB;AAAA,GACnB,aAAA;"}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import { css } from "lit";
|
2
|
+
const compentStyle = css`.wrapper {
|
3
|
+
width: 100%;
|
4
|
+
}
|
5
|
+
.wrapper {
|
6
|
+
border-color: var(--flat-enabled-border-color);
|
7
|
+
background-color: var(--flat-enabled-background-color);
|
8
|
+
border-width: 1px;
|
9
|
+
border-style: solid;
|
10
|
+
cursor: pointer;
|
11
|
+
}
|
12
|
+
.wrapper:focus {
|
13
|
+
outline: none;
|
14
|
+
}
|
15
|
+
.wrapper.activated {
|
16
|
+
border-color: var(--flat-activated-border-color);
|
17
|
+
background-color: var(--flat-activated-background-color);
|
18
|
+
}
|
19
|
+
.wrapper:focus-visible {
|
20
|
+
outline-color: hsla(211, 100%, 44%, 0.3);
|
21
|
+
outline-width: 4px;
|
22
|
+
outline-style: solid;
|
23
|
+
}
|
24
|
+
.wrapper:hover {
|
25
|
+
border-color: var(--flat-hover-border-color);
|
26
|
+
background-color: var(--flat-hover-background-color);
|
27
|
+
}
|
28
|
+
.wrapper:active {
|
29
|
+
border-color: var(--flat-pressed-border-color);
|
30
|
+
background-color: var(--flat-pressed-background-color);
|
31
|
+
}
|
32
|
+
.wrapper:disabled {
|
33
|
+
border-color: var(--flat-disabled-border-color);
|
34
|
+
background-color: var(--flat-disabled-background-color);
|
35
|
+
cursor: not-allowed;
|
36
|
+
color: var(--on-flat-disabled-color);
|
37
|
+
}
|
38
|
+
.wrapper:focus-visible {
|
39
|
+
outline-offset: -4px;
|
40
|
+
}
|
41
|
+
.wrapper img {
|
42
|
+
width: 100%;
|
43
|
+
height: 100%;
|
44
|
+
}`;
|
45
|
+
export {
|
46
|
+
compentStyle as default
|
47
|
+
};
|
48
|
+
//# sourceMappingURL=vendor-button.css.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"vendor-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
export declare class ObcVendorButton extends LitElement {
|
3
|
+
imageSrc: string;
|
4
|
+
alt: string;
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
6
|
+
static styles: import("lit").CSSResult;
|
7
|
+
}
|
8
|
+
declare global {
|
9
|
+
interface HTMLElementTagNameMap {
|
10
|
+
'obc-vendor-button': ObcVendorButton;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
//# sourceMappingURL=vendor-button.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"vendor-button.d.ts","sourceRoot":"","sources":["../../../src/components/vendor-button/vendor-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAkB,MAAM,KAAK,CAAC;AAIhD,qBACa,eAAgB,SAAQ,UAAU;IACK,QAAQ,SAAM;IACtC,GAAG,SAAU;IAE9B,MAAM;IAQf,OAAgB,MAAM,0BAA2B;CAClD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,eAAe,CAAC;KACtC;CACF"}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { unsafeCSS, LitElement, html } from "lit";
|
2
|
+
import { property, customElement } from "lit/decorators.js";
|
3
|
+
import compentStyle from "./vendor-button.css.js";
|
4
|
+
var __defProp = Object.defineProperty;
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
6
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
7
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
8
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
9
|
+
if (decorator = decorators[i])
|
10
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
11
|
+
if (kind && result)
|
12
|
+
__defProp(target, key, result);
|
13
|
+
return result;
|
14
|
+
};
|
15
|
+
let ObcVendorButton = class extends LitElement {
|
16
|
+
constructor() {
|
17
|
+
super(...arguments);
|
18
|
+
this.imageSrc = "";
|
19
|
+
this.alt = "logo";
|
20
|
+
}
|
21
|
+
render() {
|
22
|
+
return html`
|
23
|
+
<button class="wrapper">
|
24
|
+
<img src=${this.imageSrc} alt=${this.alt} />
|
25
|
+
</button>
|
26
|
+
`;
|
27
|
+
}
|
28
|
+
};
|
29
|
+
ObcVendorButton.styles = unsafeCSS(compentStyle);
|
30
|
+
__decorateClass([
|
31
|
+
property({ type: String, attribute: "image-src" })
|
32
|
+
], ObcVendorButton.prototype, "imageSrc", 2);
|
33
|
+
__decorateClass([
|
34
|
+
property({ type: String })
|
35
|
+
], ObcVendorButton.prototype, "alt", 2);
|
36
|
+
ObcVendorButton = __decorateClass([
|
37
|
+
customElement("obc-vendor-button")
|
38
|
+
], ObcVendorButton);
|
39
|
+
export {
|
40
|
+
ObcVendorButton
|
41
|
+
};
|
42
|
+
//# sourceMappingURL=vendor-button.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"vendor-button.js","sources":["../../../src/components/vendor-button/vendor-button.ts"],"sourcesContent":["import {LitElement, html, unsafeCSS} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\nimport compentStyle from './vendor-button.css?inline';\n\n@customElement('obc-vendor-button')\nexport class ObcVendorButton extends LitElement {\n @property({type: String, attribute: 'image-src'}) imageSrc = '';\n @property({type: String}) alt = 'logo';\n\n override render() {\n return html`\n <button class=\"wrapper\">\n <img src=${this.imageSrc} alt=${this.alt} />\n </button>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-vendor-button': ObcVendorButton;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAKa,IAAA,kBAAN,cAA8B,WAAW;AAAA,EAAzC,cAAA;AAAA,UAAA,GAAA,SAAA;AACwD,SAAA,WAAA;AAC7B,SAAA,MAAA;AAAA,EAAA;AAAA,EAEvB,SAAS;AACT,WAAA;AAAA;AAAA,mBAEQ,KAAK,QAAQ,QAAQ,KAAK,GAAG;AAAA;AAAA;AAAA,EAG9C;AAGF;AAba,gBAYK,SAAS,UAAU,YAAY;AAXG,gBAAA;AAAA,EAAjD,SAAS,EAAC,MAAM,QAAQ,WAAW,aAAY;AAAA,GADrC,gBACuC,WAAA,YAAA,CAAA;AACxB,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,QAAO;AAAA,GAFb,gBAEe,WAAA,OAAA,CAAA;AAFf,kBAAN,gBAAA;AAAA,EADN,cAAc,mBAAmB;AAAA,GACrB,eAAA;"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
-
export declare class
|
2
|
+
export declare class Obi01ContentCopy extends LitElement {
|
3
3
|
useCssColor: boolean;
|
4
4
|
private icon;
|
5
5
|
private iconCss;
|
@@ -8,7 +8,7 @@ export declare class Obi07TargetRadar extends LitElement {
|
|
8
8
|
}
|
9
9
|
declare global {
|
10
10
|
interface HTMLElementTagNameMap {
|
11
|
-
'obi-
|
11
|
+
'obi-01-content-copy': Obi01ContentCopy;
|
12
12
|
}
|
13
13
|
}
|
14
|
-
//# sourceMappingURL=icon-
|
14
|
+
//# sourceMappingURL=icon-01-content-copy.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"icon-
|
1
|
+
{"version":3,"file":"icon-01-content-copy.d.ts","sourceRoot":"","sources":["../../src/icons/icon-01-content-copy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAiB,MAAM,KAAK,CAAC;AAG/C,qBACa,gBAAiB,SAAQ,UAAU;IACS,WAAW,UAAS;IAE3E,OAAO,CAAC,IAAI,CAGZ;IAEA,OAAO,CAAC,OAAO,CAGf;IAES,MAAM;IAMf,OAAgB,MAAM,0BASpB;CACH;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,qBAAqB,EAAE,gBAAgB,CAAC;KACzC;CACF"}
|
@@ -11,16 +11,16 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
11
11
|
__defProp(target, key, result);
|
12
12
|
return result;
|
13
13
|
};
|
14
|
-
let
|
14
|
+
let Obi01ContentCopy = class extends LitElement {
|
15
15
|
constructor() {
|
16
16
|
super(...arguments);
|
17
17
|
this.useCssColor = false;
|
18
18
|
this.icon = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
19
|
-
<path
|
19
|
+
<path d="M9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16ZM5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5Z" fill="currentColor"/>
|
20
20
|
</svg>
|
21
21
|
`;
|
22
22
|
this.iconCss = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
23
|
-
<path
|
23
|
+
<path d="M9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16ZM5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5Z" style="fill: var(--element-active-color)"/>
|
24
24
|
</svg>
|
25
25
|
`;
|
26
26
|
}
|
@@ -30,7 +30,7 @@ let Obi07TargetRadar = class extends LitElement {
|
|
30
30
|
`;
|
31
31
|
}
|
32
32
|
};
|
33
|
-
|
33
|
+
Obi01ContentCopy.styles = css`
|
34
34
|
.wrapper {
|
35
35
|
height: 100%;
|
36
36
|
width: 100%;
|
@@ -42,11 +42,11 @@ Obi07TargetRadar.styles = css`
|
|
42
42
|
`;
|
43
43
|
__decorateClass([
|
44
44
|
property({ type: Boolean, attribute: "use-css-color" })
|
45
|
-
],
|
46
|
-
|
47
|
-
customElement("obi-
|
48
|
-
],
|
45
|
+
], Obi01ContentCopy.prototype, "useCssColor", 2);
|
46
|
+
Obi01ContentCopy = __decorateClass([
|
47
|
+
customElement("obi-01-content-copy")
|
48
|
+
], Obi01ContentCopy);
|
49
49
|
export {
|
50
|
-
|
50
|
+
Obi01ContentCopy
|
51
51
|
};
|
52
|
-
//# sourceMappingURL=icon-
|
52
|
+
//# sourceMappingURL=icon-01-content-copy.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"icon-01-content-copy.js","sources":["../../src/icons/icon-01-content-copy.ts"],"sourcesContent":["import {LitElement, html, css, svg} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\n\n@customElement('obi-01-content-copy')\nexport class Obi01ContentCopy extends LitElement {\n @property({type: Boolean, attribute: 'use-css-color'}) useCssColor = false;\n\n private icon = svg`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16ZM5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5Z\" fill=\"currentColor\"/>\n</svg>\n`;\n\n private iconCss = svg`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16ZM5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5Z\" style=\"fill: var(--element-active-color)\"/>\n</svg>\n`;\n\n override render() {\n return html`\n <div class=\"wrapper\">${this.useCssColor ? this.iconCss : this.icon}</div>\n `;\n }\n\n static override styles = css`\n .wrapper {\n height: 100%;\n width: 100%;\n }\n .wrapper > * {\n height: 100%;\n width: 100%;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obi-01-content-copy': Obi01ContentCopy;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;AAIa,IAAA,mBAAN,cAA+B,WAAW;AAAA,EAA1C,cAAA;AAAA,UAAA,GAAA,SAAA;AACgE,SAAA,cAAA;AAErE,SAAQ,OAAO;AAAA;AAAA;AAAA;AAKf,SAAQ,UAAU;AAAA;AAAA;AAAA;AAAA,EAAA;AAAA,EAKT,SAAS;AACT,WAAA;AAAA,6BACkB,KAAK,cAAc,KAAK,UAAU,KAAK,IAAI;AAAA;AAAA,EAEtE;AAYF;AA7Ba,iBAmBK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAlB8B,gBAAA;AAAA,EAAtD,SAAS,EAAC,MAAM,SAAS,WAAW,iBAAgB;AAAA,GAD1C,iBAC4C,WAAA,eAAA,CAAA;AAD5C,mBAAN,gBAAA;AAAA,EADN,cAAc,qBAAqB;AAAA,GACvB,gBAAA;"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
-
export declare class
|
2
|
+
export declare class Obi01ContentCut extends LitElement {
|
3
3
|
useCssColor: boolean;
|
4
4
|
private icon;
|
5
5
|
private iconCss;
|
@@ -8,7 +8,7 @@ export declare class Obi07TargetIasSelected extends LitElement {
|
|
8
8
|
}
|
9
9
|
declare global {
|
10
10
|
interface HTMLElementTagNameMap {
|
11
|
-
'obi-
|
11
|
+
'obi-01-content-cut': Obi01ContentCut;
|
12
12
|
}
|
13
13
|
}
|
14
|
-
//# sourceMappingURL=icon-
|
14
|
+
//# sourceMappingURL=icon-01-content-cut.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"icon-01-content-cut.d.ts","sourceRoot":"","sources":["../../src/icons/icon-01-content-cut.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAiB,MAAM,KAAK,CAAC;AAG/C,qBACa,eAAgB,SAAQ,UAAU;IACU,WAAW,UAAS;IAE3E,OAAO,CAAC,IAAI,CAGZ;IAEA,OAAO,CAAC,OAAO,CAGf;IAES,MAAM;IAMf,OAAgB,MAAM,0BASpB;CACH;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,oBAAoB,EAAE,eAAe,CAAC;KACvC;CACF"}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { css, LitElement, svg, html } from "lit";
|
2
|
+
import { property, customElement } from "lit/decorators.js";
|
3
|
+
var __defProp = Object.defineProperty;
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
6
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
7
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
8
|
+
if (decorator = decorators[i])
|
9
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
10
|
+
if (kind && result)
|
11
|
+
__defProp(target, key, result);
|
12
|
+
return result;
|
13
|
+
};
|
14
|
+
let Obi01ContentCut = class extends LitElement {
|
15
|
+
constructor() {
|
16
|
+
super(...arguments);
|
17
|
+
this.useCssColor = false;
|
18
|
+
this.icon = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
19
|
+
<path d="M19 21L12 14L9.65 16.35C9.78333 16.6 9.875 16.8667 9.925 17.15C9.975 17.4333 10 17.7167 10 18C10 19.1 9.60833 20.0417 8.825 20.825C8.04167 21.6083 7.1 22 6 22C4.9 22 3.95833 21.6083 3.175 20.825C2.39167 20.0417 2 19.1 2 18C2 16.9 2.39167 15.9583 3.175 15.175C3.95833 14.3917 4.9 14 6 14C6.28333 14 6.56667 14.025 6.85 14.075C7.13333 14.125 7.4 14.2167 7.65 14.35L10 12L7.65 9.65C7.4 9.78333 7.13333 9.875 6.85 9.925C6.56667 9.975 6.28333 10 6 10C4.9 10 3.95833 9.60833 3.175 8.825C2.39167 8.04167 2 7.1 2 6C2 4.9 2.39167 3.95833 3.175 3.175C3.95833 2.39167 4.9 2 6 2C7.1 2 8.04167 2.39167 8.825 3.175C9.60833 3.95833 10 4.9 10 6C10 6.28333 9.975 6.56667 9.925 6.85C9.875 7.13333 9.78333 7.4 9.65 7.65L22 20V21H19ZM15 11L13 9L19 3H22V4L15 11ZM6 8C6.55 8 7.02083 7.80417 7.4125 7.4125C7.80417 7.02083 8 6.55 8 6C8 5.45 7.80417 4.97917 7.4125 4.5875C7.02083 4.19583 6.55 4 6 4C5.45 4 4.97917 4.19583 4.5875 4.5875C4.19583 4.97917 4 5.45 4 6C4 6.55 4.19583 7.02083 4.5875 7.4125C4.97917 7.80417 5.45 8 6 8ZM12 12.5C12.1333 12.5 12.25 12.45 12.35 12.35C12.45 12.25 12.5 12.1333 12.5 12C12.5 11.8667 12.45 11.75 12.35 11.65C12.25 11.55 12.1333 11.5 12 11.5C11.8667 11.5 11.75 11.55 11.65 11.65C11.55 11.75 11.5 11.8667 11.5 12C11.5 12.1333 11.55 12.25 11.65 12.35C11.75 12.45 11.8667 12.5 12 12.5ZM6 20C6.55 20 7.02083 19.8042 7.4125 19.4125C7.80417 19.0208 8 18.55 8 18C8 17.45 7.80417 16.9792 7.4125 16.5875C7.02083 16.1958 6.55 16 6 16C5.45 16 4.97917 16.1958 4.5875 16.5875C4.19583 16.9792 4 17.45 4 18C4 18.55 4.19583 19.0208 4.5875 19.4125C4.97917 19.8042 5.45 20 6 20Z" fill="currentColor"/>
|
20
|
+
</svg>
|
21
|
+
`;
|
22
|
+
this.iconCss = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
23
|
+
<path d="M19 21L12 14L9.65 16.35C9.78333 16.6 9.875 16.8667 9.925 17.15C9.975 17.4333 10 17.7167 10 18C10 19.1 9.60833 20.0417 8.825 20.825C8.04167 21.6083 7.1 22 6 22C4.9 22 3.95833 21.6083 3.175 20.825C2.39167 20.0417 2 19.1 2 18C2 16.9 2.39167 15.9583 3.175 15.175C3.95833 14.3917 4.9 14 6 14C6.28333 14 6.56667 14.025 6.85 14.075C7.13333 14.125 7.4 14.2167 7.65 14.35L10 12L7.65 9.65C7.4 9.78333 7.13333 9.875 6.85 9.925C6.56667 9.975 6.28333 10 6 10C4.9 10 3.95833 9.60833 3.175 8.825C2.39167 8.04167 2 7.1 2 6C2 4.9 2.39167 3.95833 3.175 3.175C3.95833 2.39167 4.9 2 6 2C7.1 2 8.04167 2.39167 8.825 3.175C9.60833 3.95833 10 4.9 10 6C10 6.28333 9.975 6.56667 9.925 6.85C9.875 7.13333 9.78333 7.4 9.65 7.65L22 20V21H19ZM15 11L13 9L19 3H22V4L15 11ZM6 8C6.55 8 7.02083 7.80417 7.4125 7.4125C7.80417 7.02083 8 6.55 8 6C8 5.45 7.80417 4.97917 7.4125 4.5875C7.02083 4.19583 6.55 4 6 4C5.45 4 4.97917 4.19583 4.5875 4.5875C4.19583 4.97917 4 5.45 4 6C4 6.55 4.19583 7.02083 4.5875 7.4125C4.97917 7.80417 5.45 8 6 8ZM12 12.5C12.1333 12.5 12.25 12.45 12.35 12.35C12.45 12.25 12.5 12.1333 12.5 12C12.5 11.8667 12.45 11.75 12.35 11.65C12.25 11.55 12.1333 11.5 12 11.5C11.8667 11.5 11.75 11.55 11.65 11.65C11.55 11.75 11.5 11.8667 11.5 12C11.5 12.1333 11.55 12.25 11.65 12.35C11.75 12.45 11.8667 12.5 12 12.5ZM6 20C6.55 20 7.02083 19.8042 7.4125 19.4125C7.80417 19.0208 8 18.55 8 18C8 17.45 7.80417 16.9792 7.4125 16.5875C7.02083 16.1958 6.55 16 6 16C5.45 16 4.97917 16.1958 4.5875 16.5875C4.19583 16.9792 4 17.45 4 18C4 18.55 4.19583 19.0208 4.5875 19.4125C4.97917 19.8042 5.45 20 6 20Z" style="fill: var(--element-active-color)"/>
|
24
|
+
</svg>
|
25
|
+
`;
|
26
|
+
}
|
27
|
+
render() {
|
28
|
+
return html`
|
29
|
+
<div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
|
30
|
+
`;
|
31
|
+
}
|
32
|
+
};
|
33
|
+
Obi01ContentCut.styles = css`
|
34
|
+
.wrapper {
|
35
|
+
height: 100%;
|
36
|
+
width: 100%;
|
37
|
+
}
|
38
|
+
.wrapper > * {
|
39
|
+
height: 100%;
|
40
|
+
width: 100%;
|
41
|
+
}
|
42
|
+
`;
|
43
|
+
__decorateClass([
|
44
|
+
property({ type: Boolean, attribute: "use-css-color" })
|
45
|
+
], Obi01ContentCut.prototype, "useCssColor", 2);
|
46
|
+
Obi01ContentCut = __decorateClass([
|
47
|
+
customElement("obi-01-content-cut")
|
48
|
+
], Obi01ContentCut);
|
49
|
+
export {
|
50
|
+
Obi01ContentCut
|
51
|
+
};
|
52
|
+
//# sourceMappingURL=icon-01-content-cut.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"icon-01-content-cut.js","sources":["../../src/icons/icon-01-content-cut.ts"],"sourcesContent":["import {LitElement, html, css, svg} from 'lit';\nimport {customElement, property} from 'lit/decorators.js';\n\n@customElement('obi-01-content-cut')\nexport class Obi01ContentCut extends LitElement {\n @property({type: Boolean, attribute: 'use-css-color'}) useCssColor = false;\n\n private icon = svg`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M19 21L12 14L9.65 16.35C9.78333 16.6 9.875 16.8667 9.925 17.15C9.975 17.4333 10 17.7167 10 18C10 19.1 9.60833 20.0417 8.825 20.825C8.04167 21.6083 7.1 22 6 22C4.9 22 3.95833 21.6083 3.175 20.825C2.39167 20.0417 2 19.1 2 18C2 16.9 2.39167 15.9583 3.175 15.175C3.95833 14.3917 4.9 14 6 14C6.28333 14 6.56667 14.025 6.85 14.075C7.13333 14.125 7.4 14.2167 7.65 14.35L10 12L7.65 9.65C7.4 9.78333 7.13333 9.875 6.85 9.925C6.56667 9.975 6.28333 10 6 10C4.9 10 3.95833 9.60833 3.175 8.825C2.39167 8.04167 2 7.1 2 6C2 4.9 2.39167 3.95833 3.175 3.175C3.95833 2.39167 4.9 2 6 2C7.1 2 8.04167 2.39167 8.825 3.175C9.60833 3.95833 10 4.9 10 6C10 6.28333 9.975 6.56667 9.925 6.85C9.875 7.13333 9.78333 7.4 9.65 7.65L22 20V21H19ZM15 11L13 9L19 3H22V4L15 11ZM6 8C6.55 8 7.02083 7.80417 7.4125 7.4125C7.80417 7.02083 8 6.55 8 6C8 5.45 7.80417 4.97917 7.4125 4.5875C7.02083 4.19583 6.55 4 6 4C5.45 4 4.97917 4.19583 4.5875 4.5875C4.19583 4.97917 4 5.45 4 6C4 6.55 4.19583 7.02083 4.5875 7.4125C4.97917 7.80417 5.45 8 6 8ZM12 12.5C12.1333 12.5 12.25 12.45 12.35 12.35C12.45 12.25 12.5 12.1333 12.5 12C12.5 11.8667 12.45 11.75 12.35 11.65C12.25 11.55 12.1333 11.5 12 11.5C11.8667 11.5 11.75 11.55 11.65 11.65C11.55 11.75 11.5 11.8667 11.5 12C11.5 12.1333 11.55 12.25 11.65 12.35C11.75 12.45 11.8667 12.5 12 12.5ZM6 20C6.55 20 7.02083 19.8042 7.4125 19.4125C7.80417 19.0208 8 18.55 8 18C8 17.45 7.80417 16.9792 7.4125 16.5875C7.02083 16.1958 6.55 16 6 16C5.45 16 4.97917 16.1958 4.5875 16.5875C4.19583 16.9792 4 17.45 4 18C4 18.55 4.19583 19.0208 4.5875 19.4125C4.97917 19.8042 5.45 20 6 20Z\" fill=\"currentColor\"/>\n</svg>\n`;\n\n private iconCss = svg`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M19 21L12 14L9.65 16.35C9.78333 16.6 9.875 16.8667 9.925 17.15C9.975 17.4333 10 17.7167 10 18C10 19.1 9.60833 20.0417 8.825 20.825C8.04167 21.6083 7.1 22 6 22C4.9 22 3.95833 21.6083 3.175 20.825C2.39167 20.0417 2 19.1 2 18C2 16.9 2.39167 15.9583 3.175 15.175C3.95833 14.3917 4.9 14 6 14C6.28333 14 6.56667 14.025 6.85 14.075C7.13333 14.125 7.4 14.2167 7.65 14.35L10 12L7.65 9.65C7.4 9.78333 7.13333 9.875 6.85 9.925C6.56667 9.975 6.28333 10 6 10C4.9 10 3.95833 9.60833 3.175 8.825C2.39167 8.04167 2 7.1 2 6C2 4.9 2.39167 3.95833 3.175 3.175C3.95833 2.39167 4.9 2 6 2C7.1 2 8.04167 2.39167 8.825 3.175C9.60833 3.95833 10 4.9 10 6C10 6.28333 9.975 6.56667 9.925 6.85C9.875 7.13333 9.78333 7.4 9.65 7.65L22 20V21H19ZM15 11L13 9L19 3H22V4L15 11ZM6 8C6.55 8 7.02083 7.80417 7.4125 7.4125C7.80417 7.02083 8 6.55 8 6C8 5.45 7.80417 4.97917 7.4125 4.5875C7.02083 4.19583 6.55 4 6 4C5.45 4 4.97917 4.19583 4.5875 4.5875C4.19583 4.97917 4 5.45 4 6C4 6.55 4.19583 7.02083 4.5875 7.4125C4.97917 7.80417 5.45 8 6 8ZM12 12.5C12.1333 12.5 12.25 12.45 12.35 12.35C12.45 12.25 12.5 12.1333 12.5 12C12.5 11.8667 12.45 11.75 12.35 11.65C12.25 11.55 12.1333 11.5 12 11.5C11.8667 11.5 11.75 11.55 11.65 11.65C11.55 11.75 11.5 11.8667 11.5 12C11.5 12.1333 11.55 12.25 11.65 12.35C11.75 12.45 11.8667 12.5 12 12.5ZM6 20C6.55 20 7.02083 19.8042 7.4125 19.4125C7.80417 19.0208 8 18.55 8 18C8 17.45 7.80417 16.9792 7.4125 16.5875C7.02083 16.1958 6.55 16 6 16C5.45 16 4.97917 16.1958 4.5875 16.5875C4.19583 16.9792 4 17.45 4 18C4 18.55 4.19583 19.0208 4.5875 19.4125C4.97917 19.8042 5.45 20 6 20Z\" style=\"fill: var(--element-active-color)\"/>\n</svg>\n`;\n\n override render() {\n return html`\n <div class=\"wrapper\">${this.useCssColor ? this.iconCss : this.icon}</div>\n `;\n }\n\n static override styles = css`\n .wrapper {\n height: 100%;\n width: 100%;\n }\n .wrapper > * {\n height: 100%;\n width: 100%;\n }\n `;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obi-01-content-cut': Obi01ContentCut;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;AAIa,IAAA,kBAAN,cAA8B,WAAW;AAAA,EAAzC,cAAA;AAAA,UAAA,GAAA,SAAA;AACgE,SAAA,cAAA;AAErE,SAAQ,OAAO;AAAA;AAAA;AAAA;AAKf,SAAQ,UAAU;AAAA;AAAA;AAAA;AAAA,EAAA;AAAA,EAKT,SAAS;AACT,WAAA;AAAA,6BACkB,KAAK,cAAc,KAAK,UAAU,KAAK,IAAI;AAAA;AAAA,EAEtE;AAYF;AA7Ba,gBAmBK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAlB8B,gBAAA;AAAA,EAAtD,SAAS,EAAC,MAAM,SAAS,WAAW,iBAAgB;AAAA,GAD1C,gBAC4C,WAAA,eAAA,CAAA;AAD5C,kBAAN,gBAAA;AAAA,EADN,cAAc,oBAAoB;AAAA,GACtB,eAAA;"}
|