@oicl/openbridge-webcomponents 2.2.0-next.2 → 2.2.0-next.4
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/bundle/openbridge-webcomponents.bundle.js +60 -46
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +57 -5
- package/dist/components/alert-button/alert-button.d.ts +11 -2
- package/dist/components/alert-button/alert-button.d.ts.map +1 -1
- package/dist/components/alert-button/alert-button.js +5 -1
- package/dist/components/alert-button/alert-button.js.map +1 -1
- package/dist/components/alert-button-item/alert-button-item.d.ts +11 -1
- package/dist/components/alert-button-item/alert-button-item.d.ts.map +1 -1
- package/dist/components/alert-button-item/alert-button-item.js +3 -1
- package/dist/components/alert-button-item/alert-button-item.js.map +1 -1
- package/dist/components/alert-counter-item/alert-counter-item.css.js +1 -1
- package/dist/components/alert-counter-item/alert-counter-item.css.js.map +1 -1
- package/dist/components/alert-counter-item/alert-counter-item.d.ts +8 -5
- package/dist/components/alert-counter-item/alert-counter-item.d.ts.map +1 -1
- package/dist/components/alert-counter-item/alert-counter-item.js +3 -5
- package/dist/components/alert-counter-item/alert-counter-item.js.map +1 -1
- package/dist/components/badge/badge.css.js +11 -0
- package/dist/components/badge/badge.css.js.map +1 -1
- package/package.json +1 -1
|
@@ -51263,6 +51263,10 @@ var badge_default = i$7`* {
|
|
|
51263
51263
|
-webkit-tap-highlight-color: transparent;
|
|
51264
51264
|
}
|
|
51265
51265
|
|
|
51266
|
+
:host {
|
|
51267
|
+
line-height: 0; /* in a flex row, the host's text line adds the font's descent under an icon-first badge */
|
|
51268
|
+
}
|
|
51269
|
+
|
|
51266
51270
|
.wrapper {
|
|
51267
51271
|
user-select: none;
|
|
51268
51272
|
display: flex;
|
|
@@ -51441,6 +51445,13 @@ var badge_default = i$7`* {
|
|
|
51441
51445
|
min-height: var(--ui-components-badge-icon-size);
|
|
51442
51446
|
}
|
|
51443
51447
|
|
|
51448
|
+
/* Figma binds the flat large icon frame to the badge height, not icon-size-large */
|
|
51449
|
+
|
|
51450
|
+
.wrapper.variant-flat.size-large .icon {
|
|
51451
|
+
width: var(--ui-components-badge-min-size-large);
|
|
51452
|
+
height: var(--ui-components-badge-min-size-large);
|
|
51453
|
+
}
|
|
51454
|
+
|
|
51444
51455
|
.wrapper.variant-flat .icon.type-alarm {
|
|
51445
51456
|
color: unset;
|
|
51446
51457
|
border-color: var(--alert-alarm-outline-color);
|
|
@@ -76305,13 +76316,53 @@ var alert_counter_item_default = i$7`* {
|
|
|
76305
76316
|
gap: var(--app-components-alert-counter-item-badge-spacing);
|
|
76306
76317
|
}
|
|
76307
76318
|
|
|
76308
|
-
obi-
|
|
76319
|
+
obi-timer-2 {
|
|
76309
76320
|
display: block; /* fills the badge icon box that sizes the badge-icon slot */
|
|
76310
76321
|
width: 100%;
|
|
76311
76322
|
height: 100%;
|
|
76312
76323
|
}
|
|
76313
76324
|
`;
|
|
76314
76325
|
//#endregion
|
|
76326
|
+
//#region src/icons/icon-timer-2.ts
|
|
76327
|
+
var ObiTimer2 = class ObiTimer2 extends i$4 {
|
|
76328
|
+
constructor(..._args) {
|
|
76329
|
+
super(..._args);
|
|
76330
|
+
this.useCssColor = false;
|
|
76331
|
+
this.icon = w`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
76332
|
+
<path d="M12 13L16.415 15.5488C16.5355 15.6184 16.5958 15.6532 16.6289 15.7068C16.6567 15.7517 16.6704 15.8116 16.6649 15.8642C16.6584 15.9268 16.6219 15.9805 16.5488 16.088C15.5595 17.5432 13.8923 18.5 12 18.5C8.96243 18.5 6.5 16.0376 6.5 13C6.5 10.097 8.74915 7.71925 11.6 7.51433C11.7298 7.50499 11.7948 7.50032 11.8522 7.52602C11.9004 7.54759 11.9453 7.58941 11.9703 7.63592C12 7.69131 12 7.76088 12 7.9V13Z" fill="currentColor"/>
|
|
76333
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 4C13.0332 4 14.0247 4.16675 14.9746 4.5C15.8443 4.80516 16.6646 5.23735 17.4365 5.79395L18.3281 4.90332C18.5261 4.70531 18.6261 4.60643 18.7402 4.56934C18.8405 4.53686 18.9486 4.53677 19.0488 4.56934C19.163 4.60642 19.2621 4.70542 19.46 4.90332L20.0967 5.54004C20.2946 5.73794 20.3936 5.83704 20.4307 5.95117C20.4632 6.05143 20.4631 6.15948 20.4307 6.25977C20.3936 6.37393 20.2947 6.47387 20.0967 6.67188L19.2051 7.5625C19.7621 8.33475 20.1947 9.15526 20.5 10.0254C20.8333 10.9753 21 11.9668 21 13C21 14.2333 20.7621 15.3956 20.2871 16.4873C19.8121 17.579 19.1663 18.5329 18.3496 19.3496C17.5329 20.1663 16.579 20.8121 15.4873 21.2871C14.3956 21.7621 13.2333 22 12 22C10.7667 22 9.60436 21.7621 8.5127 21.2871C7.42103 20.8121 6.46706 20.1663 5.65039 19.3496C4.83372 18.5329 4.18789 17.579 3.71289 16.4873C3.2379 15.3956 3 14.2333 3 13C3 11.7667 3.2379 10.6044 3.71289 9.5127C4.18789 8.42103 4.83372 7.46706 5.65039 6.65039C6.46706 5.83372 7.42103 5.18789 8.5127 4.71289C9.60436 4.2379 10.7667 4 12 4ZM12 6C10.0667 6 8.41647 6.68314 7.0498 8.0498C5.68314 9.41647 5 11.0667 5 13C5 14.9333 5.68314 16.5835 7.0498 17.9502C8.41647 19.3169 10.0667 20 12 20C13.9333 20 15.5835 19.3169 16.9502 17.9502C18.3169 16.5835 19 14.9333 19 13C19 11.0667 18.3169 9.41647 16.9502 8.0498C15.5835 6.68314 13.9333 6 12 6Z" fill="currentColor"/>
|
|
76334
|
+
<path d="M14.2002 1C14.4799 1 14.6197 1.00034 14.7266 1.05469C14.8206 1.10262 14.8974 1.17936 14.9453 1.27344C14.9997 1.38033 15 1.52014 15 1.7998V2.2002C15 2.47986 14.9997 2.61967 14.9453 2.72656C14.8974 2.82064 14.8206 2.89738 14.7266 2.94531C14.6197 2.99966 14.4799 3 14.2002 3H9.7998C9.52014 3 9.38033 2.99966 9.27344 2.94531C9.17936 2.89738 9.10262 2.82064 9.05469 2.72656C9.00034 2.61967 9 2.47986 9 2.2002V1.7998C9 1.52014 9.00034 1.38033 9.05469 1.27344C9.10262 1.17936 9.17936 1.10262 9.27344 1.05469C9.38033 1.00034 9.52014 1 9.7998 1H14.2002Z" fill="currentColor"/>
|
|
76335
|
+
</svg>
|
|
76336
|
+
`;
|
|
76337
|
+
this.iconCss = w`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
76338
|
+
<path d="M12 13L16.415 15.5488C16.5355 15.6184 16.5958 15.6532 16.6289 15.7068C16.6567 15.7517 16.6704 15.8116 16.6649 15.8642C16.6584 15.9268 16.6219 15.9805 16.5488 16.088C15.5595 17.5432 13.8923 18.5 12 18.5C8.96243 18.5 6.5 16.0376 6.5 13C6.5 10.097 8.74915 7.71925 11.6 7.51433C11.7298 7.50499 11.7948 7.50032 11.8522 7.52602C11.9004 7.54759 11.9453 7.58941 11.9703 7.63592C12 7.69131 12 7.76088 12 7.9V13Z" fill="currentColor"/>
|
|
76339
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 4C13.0332 4 14.0247 4.16675 14.9746 4.5C15.8443 4.80516 16.6646 5.23735 17.4365 5.79395L18.3281 4.90332C18.5261 4.70531 18.6261 4.60643 18.7402 4.56934C18.8405 4.53686 18.9486 4.53677 19.0488 4.56934C19.163 4.60642 19.2621 4.70542 19.46 4.90332L20.0967 5.54004C20.2946 5.73794 20.3936 5.83704 20.4307 5.95117C20.4632 6.05143 20.4631 6.15948 20.4307 6.25977C20.3936 6.37393 20.2947 6.47387 20.0967 6.67188L19.2051 7.5625C19.7621 8.33475 20.1947 9.15526 20.5 10.0254C20.8333 10.9753 21 11.9668 21 13C21 14.2333 20.7621 15.3956 20.2871 16.4873C19.8121 17.579 19.1663 18.5329 18.3496 19.3496C17.5329 20.1663 16.579 20.8121 15.4873 21.2871C14.3956 21.7621 13.2333 22 12 22C10.7667 22 9.60436 21.7621 8.5127 21.2871C7.42103 20.8121 6.46706 20.1663 5.65039 19.3496C4.83372 18.5329 4.18789 17.579 3.71289 16.4873C3.2379 15.3956 3 14.2333 3 13C3 11.7667 3.2379 10.6044 3.71289 9.5127C4.18789 8.42103 4.83372 7.46706 5.65039 6.65039C6.46706 5.83372 7.42103 5.18789 8.5127 4.71289C9.60436 4.2379 10.7667 4 12 4ZM12 6C10.0667 6 8.41647 6.68314 7.0498 8.0498C5.68314 9.41647 5 11.0667 5 13C5 14.9333 5.68314 16.5835 7.0498 17.9502C8.41647 19.3169 10.0667 20 12 20C13.9333 20 15.5835 19.3169 16.9502 17.9502C18.3169 16.5835 19 14.9333 19 13C19 11.0667 18.3169 9.41647 16.9502 8.0498C15.5835 6.68314 13.9333 6 12 6Z" fill="currentColor"/>
|
|
76340
|
+
<path d="M14.2002 1C14.4799 1 14.6197 1.00034 14.7266 1.05469C14.8206 1.10262 14.8974 1.17936 14.9453 1.27344C14.9997 1.38033 15 1.52014 15 1.7998V2.2002C15 2.47986 14.9997 2.61967 14.9453 2.72656C14.8974 2.82064 14.8206 2.89738 14.7266 2.94531C14.6197 2.99966 14.4799 3 14.2002 3H9.7998C9.52014 3 9.38033 2.99966 9.27344 2.94531C9.17936 2.89738 9.10262 2.82064 9.05469 2.72656C9.00034 2.61967 9 2.47986 9 2.2002V1.7998C9 1.52014 9.00034 1.38033 9.05469 1.27344C9.10262 1.17936 9.17936 1.10262 9.27344 1.05469C9.38033 1.00034 9.52014 1 9.7998 1H14.2002Z" fill="currentColor"/>
|
|
76341
|
+
</svg>
|
|
76342
|
+
`;
|
|
76343
|
+
}
|
|
76344
|
+
render() {
|
|
76345
|
+
return b`
|
|
76346
|
+
<div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
|
|
76347
|
+
`;
|
|
76348
|
+
}
|
|
76349
|
+
static {
|
|
76350
|
+
this.styles = i$7`
|
|
76351
|
+
.wrapper {
|
|
76352
|
+
height: 100%;
|
|
76353
|
+
width: 100%;
|
|
76354
|
+
line-height: 0;
|
|
76355
|
+
}
|
|
76356
|
+
.wrapper > * {
|
|
76357
|
+
height: 100%;
|
|
76358
|
+
width: 100%;
|
|
76359
|
+
}
|
|
76360
|
+
`;
|
|
76361
|
+
}
|
|
76362
|
+
};
|
|
76363
|
+
__decorate([n$4({ type: Boolean })], ObiTimer2.prototype, "useCssColor", void 0);
|
|
76364
|
+
ObiTimer2 = __decorate([customElement("obi-timer-2")], ObiTimer2);
|
|
76365
|
+
//#endregion
|
|
76315
76366
|
//#region src/components/alert-counter-item/alert-counter-item.ts
|
|
76316
76367
|
/**
|
|
76317
76368
|
* `ObcAlertCounterItemType` – How each count is drawn (Figma `Type`).
|
|
@@ -76353,12 +76404,10 @@ var ObcAlertCounterItem = class ObcAlertCounterItem extends i$4 {
|
|
|
76353
76404
|
size=${BadgeSize.large}
|
|
76354
76405
|
type=${BadgeType.regular}
|
|
76355
76406
|
.variant=${variant}
|
|
76356
|
-
|
|
76407
|
+
showIcon
|
|
76357
76408
|
.number=${this.shelvedCount}
|
|
76358
76409
|
>
|
|
76359
|
-
|
|
76360
|
-
slot="badge-icon"
|
|
76361
|
-
></obi-alerts-shelf>` : A}
|
|
76410
|
+
<obi-timer-2 slot="badge-icon"></obi-timer-2>
|
|
76362
76411
|
</obc-badge>` : A}
|
|
76363
76412
|
</div>
|
|
76364
76413
|
`;
|
|
@@ -76396,6 +76445,7 @@ var ObcAlertButtonItem = class ObcAlertButtonItem extends i$4 {
|
|
|
76396
76445
|
this.nAlerts = 0;
|
|
76397
76446
|
this.counter = false;
|
|
76398
76447
|
this.globalCounter = false;
|
|
76448
|
+
this.globalCounterType = ObcAlertCounterItemType.Badges;
|
|
76399
76449
|
this.counts = {};
|
|
76400
76450
|
this.shelvedCount = 0;
|
|
76401
76451
|
this.blinking = false;
|
|
@@ -76455,7 +76505,7 @@ var ObcAlertButtonItem = class ObcAlertButtonItem extends i$4 {
|
|
|
76455
76505
|
renderCounts() {
|
|
76456
76506
|
if (rankAlertCounts(this.counts).length === 0 && this.shelvedCount <= 0) return A;
|
|
76457
76507
|
return b`<obc-alert-counter-item
|
|
76458
|
-
.type=${
|
|
76508
|
+
.type=${this.globalCounterType}
|
|
76459
76509
|
.counts=${this.counts}
|
|
76460
76510
|
.shelvedCount=${this.shelvedCount}
|
|
76461
76511
|
></obc-alert-counter-item>`;
|
|
@@ -76505,6 +76555,7 @@ __decorate([n$4({ type: String })], ObcAlertButtonItem.prototype, "alertType", v
|
|
|
76505
76555
|
__decorate([n$4({ type: Number })], ObcAlertButtonItem.prototype, "nAlerts", void 0);
|
|
76506
76556
|
__decorate([n$4({ type: Boolean })], ObcAlertButtonItem.prototype, "counter", void 0);
|
|
76507
76557
|
__decorate([n$4({ type: Boolean })], ObcAlertButtonItem.prototype, "globalCounter", void 0);
|
|
76558
|
+
__decorate([n$4({ type: String })], ObcAlertButtonItem.prototype, "globalCounterType", void 0);
|
|
76508
76559
|
__decorate([n$4({
|
|
76509
76560
|
type: Object,
|
|
76510
76561
|
attribute: false
|
|
@@ -76745,6 +76796,7 @@ var ObcAlertButton = class ObcAlertButton extends i$4 {
|
|
|
76745
76796
|
this.silenceButtonDisabled = false;
|
|
76746
76797
|
this.counter = false;
|
|
76747
76798
|
this.globalCounter = false;
|
|
76799
|
+
this.globalCounterType = ObcAlertCounterItemType.Badges;
|
|
76748
76800
|
this.counts = {};
|
|
76749
76801
|
this.shelvedCount = 0;
|
|
76750
76802
|
this.blinking = false;
|
|
@@ -76788,6 +76840,7 @@ var ObcAlertButton = class ObcAlertButton extends i$4 {
|
|
|
76788
76840
|
.nAlerts=${this.nAlerts}
|
|
76789
76841
|
.counter=${this.counter}
|
|
76790
76842
|
.globalCounter=${this.globalCounter && this.activeType !== ObcAlertButtonType.Flat}
|
|
76843
|
+
.globalCounterType=${this.globalCounterType}
|
|
76791
76844
|
.counts=${this.counts}
|
|
76792
76845
|
.shelvedCount=${this.shelvedCount}
|
|
76793
76846
|
.blinking=${this.blinking}
|
|
@@ -76823,6 +76876,7 @@ __decorate([n$4({ type: Boolean })], ObcAlertButton.prototype, "showSilenceButto
|
|
|
76823
76876
|
__decorate([n$4({ type: Boolean })], ObcAlertButton.prototype, "silenceButtonDisabled", void 0);
|
|
76824
76877
|
__decorate([n$4({ type: Boolean })], ObcAlertButton.prototype, "counter", void 0);
|
|
76825
76878
|
__decorate([n$4({ type: Boolean })], ObcAlertButton.prototype, "globalCounter", void 0);
|
|
76879
|
+
__decorate([n$4({ type: String })], ObcAlertButton.prototype, "globalCounterType", void 0);
|
|
76826
76880
|
__decorate([n$4({
|
|
76827
76881
|
type: Object,
|
|
76828
76882
|
attribute: false
|
|
@@ -183415,46 +183469,6 @@ var ObiTimer = class ObiTimer extends i$4 {
|
|
|
183415
183469
|
__decorate([n$4({ type: Boolean })], ObiTimer.prototype, "useCssColor", void 0);
|
|
183416
183470
|
ObiTimer = __decorate([customElement("obi-timer")], ObiTimer);
|
|
183417
183471
|
//#endregion
|
|
183418
|
-
//#region src/icons/icon-timer-2.ts
|
|
183419
|
-
var ObiTimer2 = class ObiTimer2 extends i$4 {
|
|
183420
|
-
constructor(..._args) {
|
|
183421
|
-
super(..._args);
|
|
183422
|
-
this.useCssColor = false;
|
|
183423
|
-
this.icon = w`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
183424
|
-
<path d="M12 13L16.415 15.5488C16.5355 15.6184 16.5958 15.6532 16.6289 15.7068C16.6567 15.7517 16.6704 15.8116 16.6649 15.8642C16.6584 15.9268 16.6219 15.9805 16.5488 16.088C15.5595 17.5432 13.8923 18.5 12 18.5C8.96243 18.5 6.5 16.0376 6.5 13C6.5 10.097 8.74915 7.71925 11.6 7.51433C11.7298 7.50499 11.7948 7.50032 11.8522 7.52602C11.9004 7.54759 11.9453 7.58941 11.9703 7.63592C12 7.69131 12 7.76088 12 7.9V13Z" fill="currentColor"/>
|
|
183425
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 4C13.0332 4 14.0247 4.16675 14.9746 4.5C15.8443 4.80516 16.6646 5.23735 17.4365 5.79395L18.3281 4.90332C18.5261 4.70531 18.6261 4.60643 18.7402 4.56934C18.8405 4.53686 18.9486 4.53677 19.0488 4.56934C19.163 4.60642 19.2621 4.70542 19.46 4.90332L20.0967 5.54004C20.2946 5.73794 20.3936 5.83704 20.4307 5.95117C20.4632 6.05143 20.4631 6.15948 20.4307 6.25977C20.3936 6.37393 20.2947 6.47387 20.0967 6.67188L19.2051 7.5625C19.7621 8.33475 20.1947 9.15526 20.5 10.0254C20.8333 10.9753 21 11.9668 21 13C21 14.2333 20.7621 15.3956 20.2871 16.4873C19.8121 17.579 19.1663 18.5329 18.3496 19.3496C17.5329 20.1663 16.579 20.8121 15.4873 21.2871C14.3956 21.7621 13.2333 22 12 22C10.7667 22 9.60436 21.7621 8.5127 21.2871C7.42103 20.8121 6.46706 20.1663 5.65039 19.3496C4.83372 18.5329 4.18789 17.579 3.71289 16.4873C3.2379 15.3956 3 14.2333 3 13C3 11.7667 3.2379 10.6044 3.71289 9.5127C4.18789 8.42103 4.83372 7.46706 5.65039 6.65039C6.46706 5.83372 7.42103 5.18789 8.5127 4.71289C9.60436 4.2379 10.7667 4 12 4ZM12 6C10.0667 6 8.41647 6.68314 7.0498 8.0498C5.68314 9.41647 5 11.0667 5 13C5 14.9333 5.68314 16.5835 7.0498 17.9502C8.41647 19.3169 10.0667 20 12 20C13.9333 20 15.5835 19.3169 16.9502 17.9502C18.3169 16.5835 19 14.9333 19 13C19 11.0667 18.3169 9.41647 16.9502 8.0498C15.5835 6.68314 13.9333 6 12 6Z" fill="currentColor"/>
|
|
183426
|
-
<path d="M14.2002 1C14.4799 1 14.6197 1.00034 14.7266 1.05469C14.8206 1.10262 14.8974 1.17936 14.9453 1.27344C14.9997 1.38033 15 1.52014 15 1.7998V2.2002C15 2.47986 14.9997 2.61967 14.9453 2.72656C14.8974 2.82064 14.8206 2.89738 14.7266 2.94531C14.6197 2.99966 14.4799 3 14.2002 3H9.7998C9.52014 3 9.38033 2.99966 9.27344 2.94531C9.17936 2.89738 9.10262 2.82064 9.05469 2.72656C9.00034 2.61967 9 2.47986 9 2.2002V1.7998C9 1.52014 9.00034 1.38033 9.05469 1.27344C9.10262 1.17936 9.17936 1.10262 9.27344 1.05469C9.38033 1.00034 9.52014 1 9.7998 1H14.2002Z" fill="currentColor"/>
|
|
183427
|
-
</svg>
|
|
183428
|
-
`;
|
|
183429
|
-
this.iconCss = w`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
183430
|
-
<path d="M12 13L16.415 15.5488C16.5355 15.6184 16.5958 15.6532 16.6289 15.7068C16.6567 15.7517 16.6704 15.8116 16.6649 15.8642C16.6584 15.9268 16.6219 15.9805 16.5488 16.088C15.5595 17.5432 13.8923 18.5 12 18.5C8.96243 18.5 6.5 16.0376 6.5 13C6.5 10.097 8.74915 7.71925 11.6 7.51433C11.7298 7.50499 11.7948 7.50032 11.8522 7.52602C11.9004 7.54759 11.9453 7.58941 11.9703 7.63592C12 7.69131 12 7.76088 12 7.9V13Z" fill="currentColor"/>
|
|
183431
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 4C13.0332 4 14.0247 4.16675 14.9746 4.5C15.8443 4.80516 16.6646 5.23735 17.4365 5.79395L18.3281 4.90332C18.5261 4.70531 18.6261 4.60643 18.7402 4.56934C18.8405 4.53686 18.9486 4.53677 19.0488 4.56934C19.163 4.60642 19.2621 4.70542 19.46 4.90332L20.0967 5.54004C20.2946 5.73794 20.3936 5.83704 20.4307 5.95117C20.4632 6.05143 20.4631 6.15948 20.4307 6.25977C20.3936 6.37393 20.2947 6.47387 20.0967 6.67188L19.2051 7.5625C19.7621 8.33475 20.1947 9.15526 20.5 10.0254C20.8333 10.9753 21 11.9668 21 13C21 14.2333 20.7621 15.3956 20.2871 16.4873C19.8121 17.579 19.1663 18.5329 18.3496 19.3496C17.5329 20.1663 16.579 20.8121 15.4873 21.2871C14.3956 21.7621 13.2333 22 12 22C10.7667 22 9.60436 21.7621 8.5127 21.2871C7.42103 20.8121 6.46706 20.1663 5.65039 19.3496C4.83372 18.5329 4.18789 17.579 3.71289 16.4873C3.2379 15.3956 3 14.2333 3 13C3 11.7667 3.2379 10.6044 3.71289 9.5127C4.18789 8.42103 4.83372 7.46706 5.65039 6.65039C6.46706 5.83372 7.42103 5.18789 8.5127 4.71289C9.60436 4.2379 10.7667 4 12 4ZM12 6C10.0667 6 8.41647 6.68314 7.0498 8.0498C5.68314 9.41647 5 11.0667 5 13C5 14.9333 5.68314 16.5835 7.0498 17.9502C8.41647 19.3169 10.0667 20 12 20C13.9333 20 15.5835 19.3169 16.9502 17.9502C18.3169 16.5835 19 14.9333 19 13C19 11.0667 18.3169 9.41647 16.9502 8.0498C15.5835 6.68314 13.9333 6 12 6Z" fill="currentColor"/>
|
|
183432
|
-
<path d="M14.2002 1C14.4799 1 14.6197 1.00034 14.7266 1.05469C14.8206 1.10262 14.8974 1.17936 14.9453 1.27344C14.9997 1.38033 15 1.52014 15 1.7998V2.2002C15 2.47986 14.9997 2.61967 14.9453 2.72656C14.8974 2.82064 14.8206 2.89738 14.7266 2.94531C14.6197 2.99966 14.4799 3 14.2002 3H9.7998C9.52014 3 9.38033 2.99966 9.27344 2.94531C9.17936 2.89738 9.10262 2.82064 9.05469 2.72656C9.00034 2.61967 9 2.47986 9 2.2002V1.7998C9 1.52014 9.00034 1.38033 9.05469 1.27344C9.10262 1.17936 9.17936 1.10262 9.27344 1.05469C9.38033 1.00034 9.52014 1 9.7998 1H14.2002Z" fill="currentColor"/>
|
|
183433
|
-
</svg>
|
|
183434
|
-
`;
|
|
183435
|
-
}
|
|
183436
|
-
render() {
|
|
183437
|
-
return b`
|
|
183438
|
-
<div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
|
|
183439
|
-
`;
|
|
183440
|
-
}
|
|
183441
|
-
static {
|
|
183442
|
-
this.styles = i$7`
|
|
183443
|
-
.wrapper {
|
|
183444
|
-
height: 100%;
|
|
183445
|
-
width: 100%;
|
|
183446
|
-
line-height: 0;
|
|
183447
|
-
}
|
|
183448
|
-
.wrapper > * {
|
|
183449
|
-
height: 100%;
|
|
183450
|
-
width: 100%;
|
|
183451
|
-
}
|
|
183452
|
-
`;
|
|
183453
|
-
}
|
|
183454
|
-
};
|
|
183455
|
-
__decorate([n$4({ type: Boolean })], ObiTimer2.prototype, "useCssColor", void 0);
|
|
183456
|
-
ObiTimer2 = __decorate([customElement("obi-timer-2")], ObiTimer2);
|
|
183457
|
-
//#endregion
|
|
183458
183472
|
//#region src/icons/icon-timer-google.ts
|
|
183459
183473
|
var ObiTimerGoogle = class ObiTimerGoogle extends ObiTimer {};
|
|
183460
183474
|
ObiTimerGoogle = __decorate([customElement("obi-timer-google")], ObiTimerGoogle);
|