@telia-ace/widget-components-copyright-flamingo 1.0.63 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,458 +0,0 @@
1
- import { p as y, P as w, h as P, i as _, n as x, t as p, E as f, m as z, x as M, s as L } from "./index-99df504d.mjs";
2
- /**
3
- * @license
4
- * Copyright 2017 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
- const V = (o) => (t) => typeof t == "function" ? ((c, e) => (customElements.define(c, e), e))(o, t) : ((c, e) => {
8
- const { kind: s, elements: i } = e;
9
- return { kind: s, elements: i, finisher(n) {
10
- customElements.define(c, n);
11
- } };
12
- })(o, t);
13
- /**
14
- * @license
15
- * Copyright 2017 Google LLC
16
- * SPDX-License-Identifier: BSD-3-Clause
17
- */
18
- const H = ({ finisher: o, descriptor: t }) => (c, e) => {
19
- var s;
20
- if (e === void 0) {
21
- const i = (s = c.originalKey) !== null && s !== void 0 ? s : c.key, n = t != null ? { kind: "method", placement: "prototype", key: i, descriptor: t(c.key) } : { ...c, key: i };
22
- return o != null && (n.finisher = function(r) {
23
- o(r, i);
24
- }), n;
25
- }
26
- {
27
- const i = c.constructor;
28
- t !== void 0 && Object.defineProperty(c, e, t(e)), o == null || o(i, e);
29
- }
30
- };
31
- /**
32
- * @license
33
- * Copyright 2021 Google LLC
34
- * SPDX-License-Identifier: BSD-3-Clause
35
- */
36
- let g = class extends Event {
37
- constructor(t, c, e) {
38
- super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = c, this.subscribe = e != null && e;
39
- }
40
- };
41
- /**
42
- * @license
43
- * Copyright 2021 Google LLC
44
- * SPDX-License-Identifier: BSD-3-Clause
45
- */
46
- /**
47
- * @license
48
- * Copyright 2021 Google LLC
49
- * SPDX-License-Identifier: BSD-3-Clause
50
- */
51
- let k = class {
52
- constructor(t, c, e, s) {
53
- var i;
54
- if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (n, r) => {
55
- this.unsubscribe && (this.unsubscribe !== r && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = n, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(n, r)), this.unsubscribe = r;
56
- }, this.host = t, c.context !== void 0) {
57
- const n = c;
58
- this.context = n.context, this.callback = n.callback, this.subscribe = (i = n.subscribe) !== null && i !== void 0 && i;
59
- } else
60
- this.context = c, this.callback = e, this.subscribe = s != null && s;
61
- this.host.addController(this);
62
- }
63
- hostConnected() {
64
- this.dispatchRequest();
65
- }
66
- hostDisconnected() {
67
- this.unsubscribe && (this.unsubscribe(), this.unsubscribe = void 0);
68
- }
69
- dispatchRequest() {
70
- this.host.dispatchEvent(new g(this.context, this.t, this.subscribe));
71
- }
72
- };
73
- /**
74
- * @license
75
- * Copyright 2021 Google LLC
76
- * SPDX-License-Identifier: BSD-3-Clause
77
- */
78
- class D {
79
- constructor(t) {
80
- this.subscriptions = /* @__PURE__ */ new Map(), this.updateObservers = () => {
81
- for (const [c, { disposer: e }] of this.subscriptions)
82
- c(this.o, e);
83
- }, t !== void 0 && (this.value = t);
84
- }
85
- get value() {
86
- return this.o;
87
- }
88
- set value(t) {
89
- this.setValue(t);
90
- }
91
- setValue(t, c = !1) {
92
- const e = c || !Object.is(t, this.o);
93
- this.o = t, e && this.updateObservers();
94
- }
95
- addCallback(t, c, e) {
96
- if (!e)
97
- return void t(this.value);
98
- this.subscriptions.has(t) || this.subscriptions.set(t, { disposer: () => {
99
- this.subscriptions.delete(t);
100
- }, consumerHost: c });
101
- const { disposer: s } = this.subscriptions.get(t);
102
- t(this.value, s);
103
- }
104
- clearCallbacks() {
105
- this.subscriptions.clear();
106
- }
107
- }
108
- /**
109
- * @license
110
- * Copyright 2021 Google LLC
111
- * SPDX-License-Identifier: BSD-3-Clause
112
- */
113
- class E extends Event {
114
- constructor(t) {
115
- super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
116
- }
117
- }
118
- class d extends D {
119
- constructor(t, c, e) {
120
- super(c.context !== void 0 ? c.initialValue : e), this.onContextRequest = (s) => {
121
- const i = s.composedPath()[0];
122
- s.context === this.context && i !== this.host && (s.stopPropagation(), this.addCallback(s.callback, i, s.subscribe));
123
- }, this.onProviderRequest = (s) => {
124
- const i = s.composedPath()[0];
125
- if (s.context !== this.context || i === this.host)
126
- return;
127
- const n = /* @__PURE__ */ new Set();
128
- for (const [r, { consumerHost: v }] of this.subscriptions)
129
- n.has(r) || (n.add(r), v.dispatchEvent(new g(this.context, r, !0)));
130
- s.stopPropagation();
131
- }, this.host = t, c.context !== void 0 ? this.context = c.context : this.context = c, this.attachListeners(), this.host.addController(this);
132
- }
133
- attachListeners() {
134
- this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
135
- }
136
- hostConnected() {
137
- this.host.dispatchEvent(new E(this.context));
138
- }
139
- }
140
- /**
141
- * @license
142
- * Copyright 2022 Google LLC
143
- * SPDX-License-Identifier: BSD-3-Clause
144
- */
145
- function O({ context: o, subscribe: t }) {
146
- return H({ finisher: (c, e) => {
147
- c.addInitializer((s) => {
148
- new k(s, { context: o, callback: (i) => {
149
- s[e] = i;
150
- }, subscribe: t });
151
- });
152
- } });
153
- }
154
- const $ = "children", R = "descriptor", q = "container", j = "context", F = "layout", I = "properties";
155
- class N {
156
- constructor(t) {
157
- (this.host = t).addController(this);
158
- }
159
- hostConnected() {
160
- }
161
- hostDisconnected() {
162
- }
163
- setDescriptor(t) {
164
- this._descriptor = t;
165
- }
166
- setContainer(t) {
167
- this._container = t;
168
- }
169
- async dispatch(t, c) {
170
- if (!this._container || !this._descriptor)
171
- return;
172
- const e = await y.getInstance(
173
- this._container
174
- ), s = new w(e).withId(
175
- this._descriptor.id
176
- );
177
- await e.actions(
178
- s,
179
- this._descriptor.type || P()
180
- ).dispatch(t, c);
181
- }
182
- }
183
- const A = (o) => {
184
- const t = {};
185
- return Object.keys(o).forEach((c) => {
186
- c.indexOf("css-") > -1 && (t[c] = o[c]);
187
- }), t;
188
- }, S = (o, t) => {
189
- const c = A(t);
190
- Object.entries(c).forEach(([e, s]) => {
191
- o.style.setProperty(e.replace("css-", ""), s);
192
- });
193
- };
194
- var W = Object.defineProperty, B = Object.getOwnPropertyDescriptor, a = (o, t, c, e) => {
195
- for (var s = e > 1 ? void 0 : e ? B(t, c) : t, i = o.length - 1, n; i >= 0; i--)
196
- (n = o[i]) && (s = (e ? n(t, c, s) : n(s)) || s);
197
- return e && s && W(t, c, s), s;
198
- };
199
- const K = (o) => {
200
- class t extends o {
201
- constructor() {
202
- super(...arguments), this.entry = "", this._descriptorProvider = new d(
203
- this,
204
- R,
205
- void 0
206
- ), this._childrenProvider = new d(this, $, []), this._propertiesProvider = new d(this, I, {}), this._contextProvider = new d(this, j, {}), this._layoutProvider = new d(this, F, {}), this.actions = new N(this), this.context = {}, this.layout = {}, this.properties = {};
207
- }
208
- connectedCallback() {
209
- super.connectedCallback(), this.container && (this.actions.setContainer(this.container), y.getInstance(this.container).then(
210
- async (e) => {
211
- var i, n;
212
- const s = e.nodes.get(this.entry);
213
- if (s) {
214
- this._propertyChangeListener = e.events.subscribe(
215
- "components:properties-changed",
216
- (l, h) => {
217
- s.id === h.node.id && this._setProperties(h.node.attributes.properties);
218
- }
219
- ), this._contextChangeListener = e.events.subscribe(
220
- "components:context-changed",
221
- (l, h) => {
222
- s.id === h.node.id && this._setContext(h.node.attributes.context);
223
- }
224
- ), this._layoutChangeListener = e.events.subscribe(
225
- "components:layout-changed",
226
- (l, h) => {
227
- s.id === h.node.id && this._setLayout(h.node.attributes.layout);
228
- }
229
- );
230
- const r = "default";
231
- this._unmountNode = s.mount(this.container), this._setDescriptor(f(s, r)), this._setProperties(s.attributes.properties), this._setContext(s.attributes.context), this._setLayout(this.layout);
232
- const v = s.getChildren(r).map((l) => f(l));
233
- this._childrenProvider.setValue(v);
234
- const m = await this.container.getAsync("componentResolver");
235
- if (((i = this.descriptor) == null ? void 0 : i.type) === "area")
236
- return;
237
- const b = m.getComponent(
238
- ((n = this.descriptor) == null ? void 0 : n.type) || ""
239
- );
240
- b.then && b.then((l) => {
241
- this.component = l.default;
242
- });
243
- }
244
- }
245
- ));
246
- }
247
- disconnectedCallback() {
248
- super.disconnectedCallback(), this._propertyChangeListener && this._propertyChangeListener(), this._contextChangeListener && this._contextChangeListener(), this._layoutChangeListener && this._layoutChangeListener(), this._unmountNode && this._unmountNode();
249
- }
250
- updated() {
251
- this.container && this.actions.setContainer(this.container), z(this.context, this.renderRoot.host), this.renderRoot.host.style.setProperty(
252
- "--width",
253
- this.layout.size === "full" ? "var(--columns, 1)" : `min(${this.layout.size || "var(--columns)"}, var(--columns))`
254
- ), S(this.renderRoot.host, this.properties);
255
- }
256
- _setProperties(e) {
257
- this._propertiesProvider.setValue(e), this.properties = e;
258
- }
259
- _setContext(e) {
260
- this._contextProvider.setValue(e), this.context = e;
261
- }
262
- _setLayout(e) {
263
- this._layoutProvider.setValue(e), this.layout = e;
264
- }
265
- _setDescriptor(e) {
266
- this.descriptor = e, this._descriptorProvider.setValue(e), this.actions.setDescriptor(e);
267
- }
268
- }
269
- return t.styles = [
270
- o.styles ?? [],
271
- _`
272
- :host {
273
- font-family: var(--font-family);
274
- grid-column: span var(--width);
275
- max-width: 100%;
276
- overflow: hidden;
277
- box-sizing: border-box;
278
- display: block;
279
- }
280
- * {
281
- box-sizing: border-box;
282
- }
283
- `
284
- ], a([
285
- O({ context: q }),
286
- x({ attribute: !1 })
287
- ], t.prototype, "container", 2), a([
288
- x()
289
- ], t.prototype, "entry", 2), a([
290
- p()
291
- ], t.prototype, "descriptor", 2), a([
292
- p()
293
- ], t.prototype, "component", 2), a([
294
- p()
295
- ], t.prototype, "context", 2), a([
296
- p()
297
- ], t.prototype, "layout", 2), a([
298
- p()
299
- ], t.prototype, "properties", 2), t;
300
- };
301
- var T = Object.defineProperty, U = Object.getOwnPropertyDescriptor, G = (o, t, c, e) => {
302
- for (var s = e > 1 ? void 0 : e ? U(t, c) : t, i = o.length - 1, n; i >= 0; i--)
303
- (n = o[i]) && (s = (e ? n(t, c, s) : n(s)) || s);
304
- return e && s && T(t, c, s), s;
305
- };
306
- const C = K(L);
307
- let u = class extends C {
308
- render() {
309
- return M` <div class="copyright">
310
- <a
311
- aria-label="Powered by Telia ACE"
312
- href="https://ace-showcase.com/marketplace/ace-knowledge/"
313
- target="_blank"
314
- rel="noopener noreferrer"
315
- >
316
- <svg
317
- version="1.1"
318
- xmlns="http://www.w3.org/2000/svg"
319
- xlink:href="http://www.w3.org/1999/xlink"
320
- viewBox="0 0 1000 150"
321
- class="compact"
322
- >
323
- <g>
324
- <path
325
- d="M107.5,47.9c5.3,0,9.3,1.4,12,4.1s4.1,6.5,4.1,11.4c0,4.9-1.4,8.7-4.1,11.5c-2.7,2.7-6.7,4.1-12,4h-16v21.5h-7V47.9H107.5z
326
- M105.2,73.1c4,0,6.9-0.8,8.7-2.4c1.8-1.7,2.8-4.1,2.8-7.2c0-3.1-0.9-5.5-2.8-7.2c-1.8-1.6-4.7-2.5-8.7-2.5H91.5v19.3H105.2z"
327
- />
328
- <path
329
- d="M130.8,63.9c1.1-3.3,2.6-6.2,4.7-8.8c2.1-2.5,4.7-4.6,7.9-6.1c3.1-1.5,6.8-2.3,11-2.3c4.2,0,7.8,0.8,11,2.3
330
- c3.1,1.5,5.8,3.6,7.9,6.1c2.1,2.6,3.7,5.5,4.7,8.8c1.1,3.3,1.6,6.8,1.6,10.3c0,3.6-0.5,7-1.6,10.3c-1.1,3.3-2.6,6.2-4.7,8.8
331
- c-2.1,2.6-4.7,4.6-7.9,6.1c-3.1,1.5-6.8,2.2-11,2.2c-4.2,0-7.8-0.7-11-2.2c-3.1-1.5-5.8-3.5-7.9-6.1c-2.1-2.5-3.7-5.5-4.7-8.8
332
- c-1.1-3.3-1.6-6.8-1.6-10.3C129.2,70.6,129.8,67.2,130.8,63.9z M137.2,82c0.7,2.6,1.8,4.9,3.2,7c1.5,2.1,3.4,3.7,5.7,5
333
- c2.3,1.3,5.1,1.9,8.2,1.9c3.2,0,5.9-0.6,8.2-1.9c2.3-1.2,4.2-2.9,5.7-5c1.5-2.1,2.5-4.4,3.2-7c0.7-2.6,1-5.2,1-7.8s-0.3-5.3-1-7.8
334
- c-0.7-2.6-1.8-4.9-3.2-7s-3.4-3.7-5.7-5c-2.3-1.3-5.1-1.9-8.2-1.9c-3.2,0-5.9,0.6-8.2,1.9c-2.3,1.3-4.2,2.9-5.7,5s-2.6,4.4-3.2,7
335
- c-0.7,2.6-1,5.2-1,7.8S136.6,79.5,137.2,82z"
336
- />
337
- <path
338
- d="M228.2,100.5l-12-44.1h-0.1L204,100.5h-7.3l-13.5-52.5h7.1l10.3,43.7h0.1l11.8-43.7h7.6l11.6,43.7h0.1l10.7-43.7h7
339
- l-14,52.5H228.2z"
340
- />
341
- <path
342
- d="M292.5,47.9v5.9h-29.3v16.7h27.3v5.9h-27.3v18.2h29.5v5.9h-36.5V47.9H292.5z"
343
- />
344
- <path
345
- d="M325.8,47.9c5,0,8.9,1.2,11.7,3.7c2.8,2.5,4.2,5.8,4.2,10.1c0,3.2-0.7,6-2.2,8.4c-1.4,2.4-3.8,4-7,4.9v0.1
346
- c1.5,0.3,2.8,0.8,3.7,1.5c1,0.7,1.7,1.5,2.3,2.5c0.6,1,1,2,1.3,3.2c0.3,1.2,0.5,2.4,0.6,3.7c0.1,1.3,0.2,2.6,0.2,3.9
347
- c0,1.3,0.2,2.6,0.4,3.9c0.2,1.3,0.5,2.5,0.8,3.6c0.4,1.2,0.9,2.2,1.7,3.1h-7.8c-0.5-0.5-0.8-1.3-1-2.2c-0.2-0.9-0.3-2-0.3-3.1
348
- c0-1.2-0.1-2.4-0.1-3.7c0-1.3-0.2-2.6-0.4-3.9c-0.2-1.3-0.4-2.5-0.7-3.6c-0.3-1.2-0.8-2.2-1.4-3c-0.6-0.9-1.5-1.5-2.5-2.1
349
- c-1-0.5-2.4-0.8-4.1-0.8h-17.1v22.4h-7V47.9H325.8z M327.3,71.8c1.5-0.2,2.8-0.7,3.9-1.4c1.1-0.7,2-1.7,2.6-2.9
350
- c0.7-1.2,1-2.8,1-4.7c0-2.6-0.7-4.8-2.2-6.5c-1.5-1.7-3.9-2.5-7.1-2.5h-17.4v18.3h14.6C324.3,72.2,325.8,72,327.3,71.8z"
351
- />
352
- <path
353
- d="M387.8,47.9v5.9h-29.3v16.7h27.3v5.9h-27.3v18.2H388v5.9h-36.5V47.9H387.8z"
354
- />
355
- <path
356
- d="M414.5,47.9c8.1,0,14.3,2.1,18.7,6.2c4.4,4.1,6.5,10.4,6.5,18.8c0,4.4-0.5,8.3-1.5,11.7c-1,3.4-2.5,6.3-4.6,8.6
357
- s-4.7,4.1-7.9,5.3c-3.2,1.2-7,1.8-11.3,1.8h-18V47.9H414.5z M415.1,94.6c0.8,0,1.8-0.1,2.9-0.2c1.2-0.1,2.4-0.4,3.8-0.9
358
- c1.3-0.5,2.6-1.1,3.9-2c1.3-0.9,2.5-2.1,3.5-3.6c1-1.5,1.9-3.4,2.5-5.7c0.7-2.3,1-5,1-8.3c0-3.1-0.3-5.9-0.9-8.4
359
- c-0.6-2.5-1.6-4.6-3-6.3c-1.4-1.7-3.2-3.1-5.4-4c-2.2-0.9-4.9-1.4-8.2-1.4h-11.8v40.8H415.1z"
360
- />
361
- <path
362
- d="M487.8,47.9c1.1,0,2.3,0,3.6,0c1.3,0,2.6,0.1,3.9,0.2c1.3,0.1,2.5,0.3,3.6,0.6c1.1,0.2,2,0.6,2.8,1.1
363
- c1.7,1,3.2,2.5,4.4,4.3c1.2,1.8,1.8,4,1.8,6.7c0,2.8-0.7,5.2-2,7.2c-1.3,2-3.3,3.5-5.8,4.5v0.1c3.2,0.7,5.7,2.2,7.4,4.4
364
- c1.7,2.3,2.6,5,2.6,8.2c0,1.9-0.3,3.8-1,5.6c-0.7,1.8-1.7,3.4-3.1,4.8c-1.3,1.4-3,2.5-5,3.4c-2,0.9-4.3,1.3-6.9,1.3h-25.4V47.9
365
- H487.8z M489.7,70.5c4,0,6.8-0.7,8.6-2.1c1.7-1.4,2.6-3.5,2.6-6.3c0-1.9-0.3-3.3-0.9-4.4c-0.6-1.1-1.4-1.9-2.4-2.5
366
- c-1-0.6-2.2-1-3.6-1.1c-1.3-0.2-2.8-0.3-4.3-0.3h-14v16.7H489.7z M493.2,94.6c3.1,0,5.5-0.8,7.2-2.5c1.7-1.7,2.6-4,2.6-6.9
367
- c0-1.7-0.3-3.1-1-4.3c-0.6-1.1-1.5-2-2.5-2.7c-1.1-0.7-2.3-1.1-3.6-1.4c-1.4-0.3-2.8-0.4-4.3-0.4h-16v18.2H493.2z"
368
- />
369
- <path
370
- d="M540.8,100.5h-7V79l-20.3-31h8.3l15.7,25l15.4-25h7.9l-20.1,31V100.5z"
371
- />
372
- </g>
373
- <g>
374
- <path
375
- fill="#9924DF"
376
- d="M597.5,59.6h-10.1c-2.6,0-5.1-4.5-5.1-5.9c0-2.4,3.8-4.8,7.4-4.8h30.1c1.9,0,2.9,0.9,2.9,2.6c0,4-2.6,8-5.1,8
377
- h-9.8v33.2c0,4-2.6,8-5.2,8c-2.6,0-5.1-4.5-5.1-5.9V59.6z"
378
- />
379
- <path
380
- fill="#9924DF"
381
- d="M633.6,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.8c0-2.4,3.8-4.8,7.4-4.8h24.2c1.8,0,2.7,0.9,2.7,2.6
382
- c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1h-19.1v10.4h18c1.7,0,2.6,0.8,2.6,2.4c0,3.6-2.3,7.1-4.6,7.1h-16v11h22
383
- c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H633.6z"
384
- />
385
- <path
386
- fill="#9924DF"
387
- d="M675.6,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.3c0-2.4,3.8-4.8,7.4-4.8c1.9,0,2.9,0.9,2.9,2.6v39h19.1
388
- c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H675.6z"
389
- />
390
- <path
391
- fill="#9924DF"
392
- d="M708.4,53.3c0-2.4,3.8-4.8,7.4-4.8c1.9,0,2.9,0.9,2.9,2.6v41.7c0,4-2.6,8-5.2,8c-2.6,0-5.1-4.5-5.1-5.9V53.3z"
393
- />
394
- <path
395
- fill="#9924DF"
396
- d="M756.9,90.2h-21l-2.2,6.3c-0.9,2.6-2.7,4.4-4.5,4.4c-2.6,0-5.1-4.5-5.1-5.9c0-0.3,0.1-0.7,0.3-1.3l15.1-40.9
397
- c0.5-1.4,2.1-2.6,4.2-3.3c1-0.4,2-0.5,2.9-0.5h4.6c1.5,0,2.4,0.5,2.7,1.6l14.7,40.8c0.2,0.4,0.3,1,0.3,1.5c0,4-2.6,8-5.1,8
398
- c-1.3,0-2.6-1-3.8-2.9c-0.5-0.7-0.9-1.5-1.1-2.1L756.9,90.2z M753.9,81.4l-7.4-21.3L739,81.4H753.9z"
399
- />
400
- <path
401
- fill="#9924DF"
402
- d="M820.5,90.2h-21l-2.2,6.3c-0.9,2.6-2.7,4.4-4.5,4.4c-2.6,0-5.1-4.5-5.1-5.9c0-0.3,0.1-0.7,0.3-1.3L803,52.8
403
- c0.5-1.4,2.1-2.6,4.2-3.3c1-0.4,2-0.5,2.9-0.5h4.6c1.5,0,2.4,0.5,2.7,1.6l14.7,40.8c0.2,0.4,0.3,1,0.3,1.5c0,4-2.6,8-5.1,8
404
- c-1.2,0-2.6-1-3.8-2.9c-0.5-0.7-0.9-1.5-1.1-2.1L820.5,90.2z M817.4,81.4l-7.4-21.3l-7.5,21.3H817.4z"
405
- />
406
- <path
407
- fill="#9924DF"
408
- d="M860.4,101.6c-9.6,0-17.8-5.4-22.1-13.4c-2.1-4-3.2-8.3-3.2-12.9c0-10.2,5.5-19.1,13.7-23.8
409
- c4-2.4,8.5-3.5,13.1-3.5c5.1,0,9.7,1.3,13.8,3.8c0.7,0.4,1.1,1.2,1.1,2.2c0,3.6-2.4,7.4-4.6,7.4c-0.5,0-1.1-0.1-1.8-0.5
410
- c-3-1.5-5.9-2.3-8.7-2.3c-6.2,0-11.3,3.2-13.8,8.1c-1.3,2.5-2,5.2-2,8.2c0,6.3,3,11.5,7.7,14.1c2.3,1.4,4.9,2.1,7.7,2.1
411
- c3.2,0,6.4-0.7,9.6-2.1c1.7-0.7,3-1.1,4-1.1c1.8,0,2.6,0.9,2.6,2.6c0,2.6-1.2,5.3-2.9,6.8C871.4,99.7,865.6,101.6,860.4,101.6z"
412
- />
413
- <path
414
- fill="#9924DF"
415
- d="M889.3,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.8c0-2.4,3.8-4.8,7.4-4.8h24.2c1.8,0,2.7,0.9,2.7,2.6
416
- c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1h-19.1v10.4h18c1.7,0,2.6,0.8,2.6,2.4c0,3.6-2.3,7.1-4.6,7.1h-16v11h22
417
- c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H889.3z"
418
- />
419
- </g>
420
- </svg>
421
- </a>
422
- </div>`;
423
- }
424
- };
425
- u.styles = [
426
- C.styles || [],
427
- _`
428
- .copyright {
429
- padding: var(--spacing-md);
430
- box-shadow: 1px 0px 10px rgba(0, 0, 0, 0.1);
431
- z-index: 6;
432
- background-color: #fff;
433
- }
434
-
435
- a {
436
- display: flex;
437
- justify-content: center;
438
- align-items: center;
439
- outline: none;
440
- }
441
-
442
- svg {
443
- width: 145px;
444
- }
445
-
446
- svg.compact {
447
- width: 130px;
448
- }
449
- `
450
- ];
451
- u = G([
452
- V("ace-copyright")
453
- ], u);
454
- const Y = u;
455
- export {
456
- u as CopyrightComponent,
457
- Y as default
458
- };
package/copyright.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { LitElement } from 'lit';
2
- declare const WidgetElement: (new (...args: any[]) => import("libs/runtime/src/mixins/widget-component.mixin").WidgetComponentInterface) & typeof LitElement;
3
- export declare class CopyrightComponent extends WidgetElement {
4
- static styles: import("lit").CSSResultGroup[];
5
- render(): import("lit").TemplateResult<1>;
6
- }
7
- export default CopyrightComponent;