@telia-ace/widget-runtime-flamingo 1.0.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.
- package/LICENSE.txt +6 -0
- package/README.md +3 -0
- package/dist/area-65adc6a5.js +50 -0
- package/dist/area-65adc6a5.js.map +1 -0
- package/dist/component-platform-factory.d.ts +14 -0
- package/dist/component-platform-factory.d.ts.map +1 -0
- package/dist/components/area/area-component.d.ts +28 -0
- package/dist/components/area/area-component.d.ts.map +1 -0
- package/dist/components/area/area.d.ts +10 -0
- package/dist/components/area/area.d.ts.map +1 -0
- package/dist/components/copyright/copyright-component.d.ts +4 -0
- package/dist/components/copyright/copyright-component.d.ts.map +1 -0
- package/dist/components/copyright/copyright.d.ts +8 -0
- package/dist/components/copyright/copyright.d.ts.map +1 -0
- package/dist/components/widget-header/widget-header-component.d.ts +4 -0
- package/dist/components/widget-header/widget-header-component.d.ts.map +1 -0
- package/dist/components/widget-header/widget-header.d.ts +8 -0
- package/dist/components/widget-header/widget-header.d.ts.map +1 -0
- package/dist/context/children.context.d.ts +5 -0
- package/dist/context/children.context.d.ts.map +1 -0
- package/dist/context/component-node.context.d.ts +5 -0
- package/dist/context/component-node.context.d.ts.map +1 -0
- package/dist/context/container.context.d.ts +5 -0
- package/dist/context/container.context.d.ts.map +1 -0
- package/dist/context/context.context.d.ts +4 -0
- package/dist/context/context.context.d.ts.map +1 -0
- package/dist/context/layout.context.d.ts +4 -0
- package/dist/context/layout.context.d.ts.map +1 -0
- package/dist/context/properties.context.d.ts +4 -0
- package/dist/context/properties.context.d.ts.map +1 -0
- package/dist/controllers/actions-controller.d.ts +11 -0
- package/dist/controllers/actions-controller.d.ts.map +1 -0
- package/dist/copyright-ef48bb60.js +171 -0
- package/dist/copyright-ef48bb60.js.map +1 -0
- package/dist/core/create-lit-component.d.ts +12 -0
- package/dist/core/create-lit-component.d.ts.map +1 -0
- package/dist/core/lock.d.ts +10 -0
- package/dist/core/lock.d.ts.map +1 -0
- package/dist/index-d589d5e4.js +3834 -0
- package/dist/index-d589d5e4.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/query-assigned-elements-a9b1c83a.js +668 -0
- package/dist/query-assigned-elements-a9b1c83a.js.map +1 -0
- package/dist/render-8726e104.js +255 -0
- package/dist/render-8726e104.js.map +1 -0
- package/dist/services.d.ts +7 -0
- package/dist/services.d.ts.map +1 -0
- package/dist/ui/branding.d.ts +2 -0
- package/dist/ui/branding.d.ts.map +1 -0
- package/dist/ui/component.d.ts +22 -0
- package/dist/ui/component.d.ts.map +1 -0
- package/dist/ui/determine-slide-direction.d.ts +27 -0
- package/dist/ui/determine-slide-direction.d.ts.map +1 -0
- package/dist/ui/html-element-handlers.d.ts +19 -0
- package/dist/ui/html-element-handlers.d.ts.map +1 -0
- package/dist/ui/index.d.ts +2 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/prepare-dom.d.ts +21 -0
- package/dist/ui/prepare-dom.d.ts.map +1 -0
- package/dist/ui/render.d.ts +5 -0
- package/dist/ui/render.d.ts.map +1 -0
- package/dist/ui/view-outlet.d.ts +33 -0
- package/dist/ui/view-outlet.d.ts.map +1 -0
- package/dist/ui/wrapper.d.ts +14 -0
- package/dist/ui/wrapper.d.ts.map +1 -0
- package/dist/widget-header-f222904a.js +55 -0
- package/dist/widget-header-f222904a.js.map +1 -0
- package/dist/widget.d.ts +55 -0
- package/dist/widget.d.ts.map +1 -0
- package/package.json +53 -0
package/LICENSE.txt
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { s as d, x as a, i as u, t as l, n as m, e as f } from "./query-assigned-elements-a9b1c83a.js";
|
|
2
|
+
import { c as g, p as h } from "./index-d589d5e4.js";
|
|
3
|
+
var v = Object.defineProperty, x = Object.getOwnPropertyDescriptor, c = (o, t, s, n) => {
|
|
4
|
+
for (var e = n > 1 ? void 0 : n ? x(t, s) : t, p = o.length - 1, i; p >= 0; p--)
|
|
5
|
+
(i = o[p]) && (e = (n ? i(t, s, e) : i(e)) || e);
|
|
6
|
+
return n && e && v(t, s, e), e;
|
|
7
|
+
};
|
|
8
|
+
let r = class extends d {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments), this.componentChildren = [], this.properties = {};
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
var o;
|
|
14
|
+
return a` <div
|
|
15
|
+
class="grid"
|
|
16
|
+
style=${`--columns: ${((o = this.properties.columns) == null ? void 0 : o.toString()) || "1"};`}
|
|
17
|
+
>
|
|
18
|
+
${this.componentChildren.map(
|
|
19
|
+
(t) => a`
|
|
20
|
+
<widget-component entry=${t.id}></widget-component>
|
|
21
|
+
`
|
|
22
|
+
)}
|
|
23
|
+
</div>`;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
r.styles = u`
|
|
27
|
+
.grid {
|
|
28
|
+
display: grid;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
grid-auto-rows: max-content;
|
|
31
|
+
grid-template-columns: repeat(var(--columns), 1fr);
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
34
|
+
c([
|
|
35
|
+
l({ context: g }),
|
|
36
|
+
m({ attribute: !1 })
|
|
37
|
+
], r.prototype, "componentChildren", 2);
|
|
38
|
+
c([
|
|
39
|
+
l({ context: h }),
|
|
40
|
+
m({ attribute: !1 })
|
|
41
|
+
], r.prototype, "properties", 2);
|
|
42
|
+
r = c([
|
|
43
|
+
f("area-component")
|
|
44
|
+
], r);
|
|
45
|
+
const _ = r;
|
|
46
|
+
export {
|
|
47
|
+
r as AreaComponent,
|
|
48
|
+
_ as default
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=area-65adc6a5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"area-65adc6a5.js","sources":["../src/components/area/area.ts"],"sourcesContent":["import { consume } from '@lit-labs/context';\r\nimport { LitElement, css, html } from 'lit';\r\nimport { customElement, property } from 'lit/decorators.js';\r\nimport { childrenContext } from '../../context/children.context';\r\nimport { ComponentDescriptor } from '@telia-ace/widget-core';\r\nimport { propertiesCtx } from '../../context/properties.context';\r\n\r\n@customElement('area-component')\r\nexport class AreaComponent extends LitElement {\r\n static override styles = css`\r\n .grid {\r\n display: grid;\r\n justify-content: center;\r\n grid-auto-rows: max-content;\r\n grid-template-columns: repeat(var(--columns), 1fr);\r\n }\r\n `;\r\n\r\n @consume({ context: childrenContext })\r\n @property({ attribute: false })\r\n public componentChildren: ComponentDescriptor[] = [];\r\n\r\n @consume({ context: propertiesCtx })\r\n @property({ attribute: false })\r\n public properties: Record<string, any> = {};\r\n\r\n override render() {\r\n return html` <div\r\n class=\"grid\"\r\n style=${`--columns: ${this.properties.columns?.toString() || '1'};`}\r\n >\r\n ${this.componentChildren.map(\r\n (child) => html`\r\n <widget-component entry=${child.id}></widget-component>\r\n `\r\n )}\r\n </div>`;\r\n }\r\n}\r\n\r\nexport default AreaComponent;\r\n"],"names":["AreaComponent","LitElement","html","_a","child","css","__decorateClass","consume","childrenContext","property","propertiesCtx","customElement","AreaComponent$1"],"mappings":";;;;;;;AAQa,IAAAA,IAAN,cAA4BC,EAAW;AAAA,EAAvC,cAAA;AAAA,UAAA,GAAA,SAAA,GAYL,KAAO,oBAA2C,IAIlD,KAAO,aAAkC;EAAC;AAAA,EAEjC,SAAS;;AACT,WAAAC;AAAAA;AAAAA,cAEG,gBAAcC,IAAA,KAAK,WAAW,YAAhB,gBAAAA,EAAyB,eAAc,GAAG,GAAG;AAAA;AAAA,QAEjE,KAAK,kBAAkB;AAAA,MACvB,CAACC,MAAUF;AAAAA,oCACiBE,EAAM,EAAE;AAAA;AAAA,IAAA,CAErC;AAAA;AAAA,EAEL;AACF;AA9BaJ,EACK,SAASK;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAWlBC,EAAA;AAAA,EAFNC,EAAQ,EAAE,SAASC,GAAiB;AAAA,EACpCC,EAAS,EAAE,WAAW,IAAO;AAAA,GAXnBT,EAYJ,WAAA,qBAAA,CAAA;AAIAM,EAAA;AAAA,EAFNC,EAAQ,EAAE,SAASG,GAAe;AAAA,EAClCD,EAAS,EAAE,WAAW,IAAO;AAAA,GAfnBT,EAgBJ,WAAA,cAAA,CAAA;AAhBIA,IAANM,EAAA;AAAA,EADNK,EAAc,gBAAgB;AAAA,GAClBX,CAAA;AAgCb,MAAAY,IAAeZ;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ChangesetOptions, ChangesetProvider, ComponentNodeSettings, ComponentPlatform, ComponentQuery } from '@telia-ace/widget-core';
|
|
2
|
+
import { StorageWriter } from '@telia-ace/widget-services';
|
|
3
|
+
import { Container, Widget } from '@webprovisions/platform';
|
|
4
|
+
export declare class LocalStorageChangesetProvider implements ChangesetProvider {
|
|
5
|
+
private container;
|
|
6
|
+
private storageWriter;
|
|
7
|
+
constructor(container: Container, storageWriter: StorageWriter);
|
|
8
|
+
static create(container: Container): Promise<LocalStorageChangesetProvider>;
|
|
9
|
+
write(key: string, target: ComponentQuery, attributes: Partial<ComponentNodeSettings>, options: ChangesetOptions): Promise<any>;
|
|
10
|
+
remove(key: string): Promise<any>;
|
|
11
|
+
load(platform: ComponentPlatform): Promise<any>;
|
|
12
|
+
}
|
|
13
|
+
export declare const createPlatform: (widget: Widget) => Promise<ComponentPlatform>;
|
|
14
|
+
//# sourceMappingURL=component-platform-factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-platform-factory.d.ts","sourceRoot":"","sources":["../src/component-platform-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EAEjB,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EAIf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAKL,aAAa,EACd,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAe,MAAM,yBAAyB,CAAC;AAgCzE,qBAAa,6BAA8B,YAAW,iBAAiB;IAEnE,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,aAAa;gBADb,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa;IAGtC,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,6BAA6B,CAAC;IAc3E,KAAK,CACH,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,cAAc,EACtB,UAAU,EAAE,OAAO,CAAC,qBAAqB,CAAC,EAC1C,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,GAAG,CAAC;IAuBf,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAkBjC,IAAI,CAAC,QAAQ,EAAE,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC;CAsBhD;AAED,eAAO,MAAM,cAAc,WAAY,MAAM,KAAG,QAAQ,iBAAiB,CAqBxE,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Container } from '@webprovisions/platform';
|
|
2
|
+
type Symbol = {
|
|
3
|
+
type: 'Uri' | 'Svg' | 'FontAwesome' | 'Text' | string;
|
|
4
|
+
content: string;
|
|
5
|
+
};
|
|
6
|
+
export declare enum AreaMode {
|
|
7
|
+
Static = "static",
|
|
8
|
+
Drawer = "drawer",
|
|
9
|
+
Dropdown = "dropdown",
|
|
10
|
+
Modal = "modal"
|
|
11
|
+
}
|
|
12
|
+
export type AreaComponentProps = {
|
|
13
|
+
mode: AreaMode;
|
|
14
|
+
animation?: string;
|
|
15
|
+
fullScreen?: boolean;
|
|
16
|
+
columns?: number;
|
|
17
|
+
scrollable?: boolean;
|
|
18
|
+
header?: string;
|
|
19
|
+
trigger?: {
|
|
20
|
+
symbol?: Symbol;
|
|
21
|
+
label?: string;
|
|
22
|
+
size?: number;
|
|
23
|
+
ariaLabel?: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const AreaComponent: (container: Container) => Promise<void>;
|
|
27
|
+
export default AreaComponent;
|
|
28
|
+
//# sourceMappingURL=area-component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"area-component.d.ts","sourceRoot":"","sources":["../../../src/components/area/area-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,KAAK,MAAM,GAAG;IACZ,IAAI,EAAE,KAAK,GAAG,KAAK,GAAG,aAAa,GAAG,MAAM,GAAG,MAAM,CAAC;IACtD,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,QAAQ;IAClB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE;QACR,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,aAAa,cAAe,SAAS,kBAOjD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { ComponentDescriptor } from '@telia-ace/widget-core';
|
|
3
|
+
export declare class AreaComponent extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
componentChildren: ComponentDescriptor[];
|
|
6
|
+
properties: Record<string, any>;
|
|
7
|
+
render(): import("lit").TemplateResult<1>;
|
|
8
|
+
}
|
|
9
|
+
export default AreaComponent;
|
|
10
|
+
//# sourceMappingURL=area.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"area.d.ts","sourceRoot":"","sources":["../../../src/components/area/area.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAG7D,qBACa,aAAc,SAAQ,UAAU;IAC3C,OAAgB,MAAM,0BAOpB;IAIK,iBAAiB,EAAE,mBAAmB,EAAE,CAAM;IAI9C,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAEnC,MAAM;CAYhB;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copyright-component.d.ts","sourceRoot":"","sources":["../../../src/components/copyright/copyright-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,eAAO,MAAM,kBAAkB,cAAe,SAAS,kBAOtD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class CopyrightComponent extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult;
|
|
4
|
+
properties: Record<string, any>;
|
|
5
|
+
render(): import("lit").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
export default CopyrightComponent;
|
|
8
|
+
//# sourceMappingURL=copyright.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copyright.d.ts","sourceRoot":"","sources":["../../../src/components/copyright/copyright.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAK5C,qBACa,kBAAmB,SAAQ,UAAU;IAChD,OAAgB,MAAM,0BA6BpB;IAIK,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAEnC,MAAM;CAyHhB;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-header-component.d.ts","sourceRoot":"","sources":["../../../src/components/widget-header/widget-header-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,eAAO,MAAM,qBAAqB,cAAe,SAAS,kBAOzD,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class WidgetHeaderComponent extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult;
|
|
4
|
+
properties: Record<string, any>;
|
|
5
|
+
render(): import("lit").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
export default WidgetHeaderComponent;
|
|
8
|
+
//# sourceMappingURL=widget-header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-header.d.ts","sourceRoot":"","sources":["../../../src/components/widget-header/widget-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAKrD,qBACa,qBAAsB,SAAQ,UAAU;IACnD,OAAgB,MAAM,0BAoBpB;IAIK,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAEnC,MAAM;CAWhB;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"children.context.d.ts","sourceRoot":"","sources":["../../src/context/children.context.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,eAAO,MAAM,eAAe;;CAAmD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-node.context.d.ts","sourceRoot":"","sources":["../../src/context/component-node.context.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,eAAO,MAAM,iBAAiB;;CAE7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"container.context.d.ts","sourceRoot":"","sources":["../../src/context/container.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,eAAO,MAAM,gBAAgB;;CAE5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.context.d.ts","sourceRoot":"","sources":["../../src/context/context.context.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;CAAgD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.context.d.ts","sourceRoot":"","sources":["../../src/context/layout.context.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;CAA+C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"properties.context.d.ts","sourceRoot":"","sources":["../../src/context/properties.context.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;CAAmD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactiveController, ReactiveControllerHost, ReactiveElement } from 'lit';
|
|
2
|
+
export declare class ActionsController implements ReactiveController {
|
|
3
|
+
host: ReactiveControllerHost;
|
|
4
|
+
private _container?;
|
|
5
|
+
private _descriptor?;
|
|
6
|
+
constructor(host: ReactiveElement);
|
|
7
|
+
hostConnected(): void;
|
|
8
|
+
hostDisconnected(): void;
|
|
9
|
+
dispatch(key: string, value: Record<string, any> | string): Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=actions-controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions-controller.d.ts","sourceRoot":"","sources":["../../src/controllers/actions-controller.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EAChB,MAAM,KAAK,CAAC;AAWb,qBAAa,iBAAkB,YAAW,kBAAkB;IAC1D,IAAI,EAAE,sBAAsB,CAAC;IAE7B,OAAO,CAAC,UAAU,CAAC,CAAY;IAE/B,OAAO,CAAC,WAAW,CAAC,CAAsB;gBAE9B,IAAI,EAAE,eAAe;IA0BjC,aAAa;IACb,gBAAgB;IAEV,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM;CAmBhE"}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { s, x as v, i, t as n, n as d, e as f } from "./query-assigned-elements-a9b1c83a.js";
|
|
2
|
+
import { p as z } from "./index-d589d5e4.js";
|
|
3
|
+
var g = Object.defineProperty, M = Object.getOwnPropertyDescriptor, o = (a, t, l, e) => {
|
|
4
|
+
for (var c = e > 1 ? void 0 : e ? M(t, l) : t, p = a.length - 1, r; p >= 0; p--)
|
|
5
|
+
(r = a[p]) && (c = (e ? r(t, l, c) : r(c)) || c);
|
|
6
|
+
return e && c && g(t, l, c), c;
|
|
7
|
+
};
|
|
8
|
+
let h = class extends s {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments), this.properties = {};
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return v` <div class="copyright">
|
|
14
|
+
<a
|
|
15
|
+
aria-label="Powered by Telia ACE"
|
|
16
|
+
href="https://ace-showcase.com/marketplace/ace-knowledge/"
|
|
17
|
+
target="_blank"
|
|
18
|
+
rel="noopener noreferrer"
|
|
19
|
+
>
|
|
20
|
+
<svg
|
|
21
|
+
version="1.1"
|
|
22
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
23
|
+
xlink:href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,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"
|
|
88
|
+
/>
|
|
89
|
+
<path
|
|
90
|
+
fill="#9924DF"
|
|
91
|
+
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
|
|
92
|
+
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"
|
|
93
|
+
/>
|
|
94
|
+
<path
|
|
95
|
+
fill="#9924DF"
|
|
96
|
+
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"
|
|
97
|
+
/>
|
|
98
|
+
<path
|
|
99
|
+
fill="#9924DF"
|
|
100
|
+
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
|
|
101
|
+
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
|
|
102
|
+
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"
|
|
103
|
+
/>
|
|
104
|
+
<path
|
|
105
|
+
fill="#9924DF"
|
|
106
|
+
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
|
|
107
|
+
c0.5-1.4,2.1-2.6,4.2-3.3c1-0.4,2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z"
|
|
122
|
+
/>
|
|
123
|
+
</g>
|
|
124
|
+
</svg>
|
|
125
|
+
</a>
|
|
126
|
+
</div>`;
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
h.styles = i`
|
|
130
|
+
:host {
|
|
131
|
+
font-family: var(--font-family);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.copyright {
|
|
135
|
+
padding: var(--spacing-md);
|
|
136
|
+
box-shadow: 1px 0px 10px rgba(0, 0, 0, 0.1);
|
|
137
|
+
z-index: 6;
|
|
138
|
+
background-color: #fff;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
a {
|
|
142
|
+
display: flex;
|
|
143
|
+
justify-content: center;
|
|
144
|
+
align-items: center;
|
|
145
|
+
outline: none;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
a:focus-visible svg {
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
svg {
|
|
152
|
+
width: 145px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
svg.compact {
|
|
156
|
+
width: 130px;
|
|
157
|
+
}
|
|
158
|
+
`;
|
|
159
|
+
o([
|
|
160
|
+
n({ context: z }),
|
|
161
|
+
d({ attribute: !1 })
|
|
162
|
+
], h.prototype, "properties", 2);
|
|
163
|
+
h = o([
|
|
164
|
+
f("copyright-component")
|
|
165
|
+
], h);
|
|
166
|
+
const w = h;
|
|
167
|
+
export {
|
|
168
|
+
h as CopyrightComponent,
|
|
169
|
+
w as default
|
|
170
|
+
};
|
|
171
|
+
//# sourceMappingURL=copyright-ef48bb60.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copyright-ef48bb60.js","sources":["../src/components/copyright/copyright.ts"],"sourcesContent":["import { consume } from '@lit-labs/context';\r\nimport { LitElement, css, html } from 'lit';\r\nimport { customElement, property } from 'lit/decorators.js';\r\n// import { classMap } from 'lit/directives/class-map.js';\r\nimport { propertiesCtx } from '../../context/properties.context';\r\n\r\n@customElement('copyright-component')\r\nexport class CopyrightComponent extends LitElement {\r\n static override styles = css`\r\n :host {\r\n font-family: var(--font-family);\r\n }\r\n\r\n .copyright {\r\n padding: var(--spacing-md);\r\n box-shadow: 1px 0px 10px rgba(0, 0, 0, 0.1);\r\n z-index: 6;\r\n background-color: #fff;\r\n }\r\n\r\n a {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n outline: none;\r\n }\r\n\r\n a:focus-visible svg {\r\n }\r\n\r\n svg {\r\n width: 145px;\r\n }\r\n\r\n svg.compact {\r\n width: 130px;\r\n }\r\n `;\r\n\r\n @consume({ context: propertiesCtx })\r\n @property({ attribute: false })\r\n public properties: Record<string, any> = {};\r\n\r\n override render() {\r\n /**\r\n * class=${classMap({\r\n compact: this.properties.mode === 'compact',\r\n })}\r\n */\r\n return html` <div class=\"copyright\">\r\n <a\r\n aria-label=\"Powered by Telia ACE\"\r\n href=\"https://ace-showcase.com/marketplace/ace-knowledge/\"\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n >\r\n <svg\r\n version=\"1.1\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n xlink:href=\"http://www.w3.org/1999/xlink\"\r\n viewBox=\"0 0 1000 150\"\r\n class=\"compact\"\r\n >\r\n <g>\r\n <path\r\n 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\r\n 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\"\r\n />\r\n <path\r\n 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\r\n c3.1,1.5,5.8,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\n </div>`;\r\n }\r\n}\r\n\r\nexport default CopyrightComponent;\r\n"],"names":["CopyrightComponent","LitElement","html","css","__decorateClass","consume","propertiesCtx","property","customElement","CopyrightComponent$1"],"mappings":";;;;;;;AAOa,IAAAA,IAAN,cAAiCC,EAAW;AAAA,EAA5C,cAAA;AAAA,UAAA,GAAA,SAAA,GAkCL,KAAO,aAAkC;EAAC;AAAA,EAEjC,SAAS;AAMT,WAAAC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,EAkHT;AACF;AA7JaF,EACK,SAASG;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAiClBC,EAAA;AAAA,EAFNC,EAAQ,EAAE,SAASC,GAAe;AAAA,EAClCC,EAAS,EAAE,WAAW,IAAO;AAAA,GAjCnBP,EAkCJ,WAAA,cAAA,CAAA;AAlCIA,IAANI,EAAA;AAAA,EADNI,EAAc,qBAAqB;AAAA,GACvBR,CAAA;AA+Jb,MAAAS,IAAeT;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ExtendComponentHandler, ExtendComponentOptions } from '@telia-ace/widget-core';
|
|
2
|
+
import { Container } from '@webprovisions/platform';
|
|
3
|
+
/**
|
|
4
|
+
* Registers a Lit component on the component platform.
|
|
5
|
+
* @param container Container to register the component on.
|
|
6
|
+
* @param type Type name to resolve the component from configuration.
|
|
7
|
+
* @param component Promise resolving to the Lit component for rendering.
|
|
8
|
+
* @param fn Handler for controlling the component.
|
|
9
|
+
*/
|
|
10
|
+
declare const createLitComponent: (container: Container, type: string, component: any, fn?: ExtendComponentHandler, options?: ExtendComponentOptions) => Promise<void>;
|
|
11
|
+
export default createLitComponent;
|
|
12
|
+
//# sourceMappingURL=create-lit-component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-lit-component.d.ts","sourceRoot":"","sources":["../../src/core/create-lit-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD;;;;;;GAMG;AACH,QAAA,MAAM,kBAAkB,cACX,SAAS,QACd,MAAM,aACD,GAAG,OACT,sBAAsB,YACjB,sBAAsB,kBAQjC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type Task = () => Promise<any> | any;
|
|
2
|
+
export type AddTask = (task: Task) => Promise<any>;
|
|
3
|
+
/**
|
|
4
|
+
* Creates a lock for the specified owner that allows only one executing
|
|
5
|
+
* task simultaneously.
|
|
6
|
+
* @param key Lock owner.
|
|
7
|
+
*/
|
|
8
|
+
export default function lock(key: object, lockWarningTime?: number, lockErrorTime?: number): AddTask;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=lock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lock.d.ts","sourceRoot":"","sources":["../../src/core/lock.ts"],"names":[],"mappings":"AAEA,KAAK,IAAI,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;AAqErC,MAAM,MAAM,OAAO,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAInD;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,IAAI,CAC1B,GAAG,EAAE,MAAM,EACX,eAAe,SAAO,EACtB,aAAa,SAAO,GACnB,OAAO,CAcT"}
|