@telia-ace/widget-types-grid 1.0.21 → 1.0.22
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 +5 -5
- package/README.md +3 -3
- package/dist/component-platform-factory.d.ts +13 -13
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{render.7937414f.js → render.20e0f363.js} +1 -1
- package/dist/render.20e0f363.js.map +1 -0
- package/dist/services.d.ts +7 -7
- package/dist/site-provider.d.ts +5 -5
- package/dist/ui/animated-view.d.ts +6 -6
- package/dist/ui/component.d.ts +16 -16
- package/dist/ui/detached-component.d.ts +7 -7
- package/dist/ui/determine-slide-direction.d.ts +26 -26
- package/dist/ui/html-element-handlers.d.ts +18 -18
- package/dist/ui/index.d.ts +6 -6
- package/dist/ui/not-found.d.ts +6 -6
- package/dist/ui/prepare-dom.d.ts +20 -20
- package/dist/ui/render.d.ts +3 -3
- package/dist/ui/resolvable-component.d.ts +7 -7
- package/dist/ui/styles.d.ts +17 -17
- package/dist/ui/switch.d.ts +11 -11
- package/dist/ui/unmount.d.ts +2 -2
- package/dist/ui/use-component-node-properties.d.ts +3 -3
- package/dist/ui/use-router.d.ts +4 -4
- package/dist/ui/view-outlet.d.ts +32 -32
- package/dist/ui/view.d.ts +6 -6
- package/dist/ui/wrapper.d.ts +7 -7
- package/dist/unmount.b0816844.js.map +1 -1
- package/dist/widget.d.ts +54 -54
- package/package.json +2 -2
- package/dist/render.7937414f.js.map +0 -1
package/LICENSE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Copyright © 2021, Telia Company AB. All rights reserved.
|
|
2
|
-
|
|
3
|
-
THIS PACKAGE AND CONTAINING SOFTWARE IS PART OF
|
|
4
|
-
THE HUMANY SERVICE. BY USING THIS SOFTWARE YOU
|
|
5
|
-
AGREE TO THE FOLLOWING TERMS AND CONDITIONS:
|
|
1
|
+
Copyright © 2021, Telia Company AB. All rights reserved.
|
|
2
|
+
|
|
3
|
+
THIS PACKAGE AND CONTAINING SOFTWARE IS PART OF
|
|
4
|
+
THE HUMANY SERVICE. BY USING THIS SOFTWARE YOU
|
|
5
|
+
AGREE TO THE FOLLOWING TERMS AND CONDITIONS:
|
|
6
6
|
http://www.humany.com/legal
|
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# `@telia-ace/widget-types-grid`
|
|
2
|
-
|
|
3
|
-
The type definition for ACE One Widget (exported as `GridWidget`).
|
|
1
|
+
# `@telia-ace/widget-types-grid`
|
|
2
|
+
|
|
3
|
+
The type definition for ACE One Widget (exported as `GridWidget`).
|
|
@@ -1,13 +1,13 @@
|
|
|
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>;
|
|
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>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { default as Component } from './ui/component';
|
|
2
|
-
export { default as DetachedComponent } from './ui/detached-component';
|
|
3
|
-
export { default as NotFound } from './ui/not-found';
|
|
4
|
-
export { styling as genericComponentStyling } from './ui/styles';
|
|
5
|
-
export { default as GridWidget, default as Widget } from './widget';
|
|
1
|
+
export { default as Component } from './ui/component';
|
|
2
|
+
export { default as DetachedComponent } from './ui/detached-component';
|
|
3
|
+
export { default as NotFound } from './ui/not-found';
|
|
4
|
+
export { styling as genericComponentStyling } from './ui/styles';
|
|
5
|
+
export { default as GridWidget, default as Widget } from './widget';
|
package/dist/index.js
CHANGED
|
@@ -487,7 +487,7 @@ class Dt {
|
|
|
487
487
|
}
|
|
488
488
|
render() {
|
|
489
489
|
const { widgetDOMElement: e, triggerDOMElement: n } = this.options, i = this.container.get("$widget");
|
|
490
|
-
return e.getAttribute("data-rendered") === "true" ? Promise.resolve() : (n && this.options.triggerType === P.Badge && Ot(n), import("./render.
|
|
490
|
+
return e.getAttribute("data-rendered") === "true" ? Promise.resolve() : (n && this.options.triggerType === P.Badge && Ot(n), import("./render.20e0f363.js").then((s) => s.default(this.container, e)).then(() => {
|
|
491
491
|
if (e.setAttribute("data-rendered", "true"), n && this.options.triggerType === P.Badge) {
|
|
492
492
|
const o = this.options.triggerOptions.openTooltip;
|
|
493
493
|
Ee(n, o);
|
|
@@ -609,7 +609,7 @@ const Nt = (t) => {
|
|
|
609
609
|
} = i, l = new n(r, { credentials: "same-origin" }), h = new e(l, {
|
|
610
610
|
funnel: s.replace("_contact-method", "").replace("_contact", ""),
|
|
611
611
|
site: Lt(c, a)
|
|
612
|
-
});
|
|
612
|
+
}, null, t);
|
|
613
613
|
return o.subscribe("widget:settings-updated", (u, { data: p }) => {
|
|
614
614
|
p && p.projection !== r && h.proxy.setBaseUrl(p.projection);
|
|
615
615
|
}), h;
|