@telia-ace/widget-types-grid 1.0.8 → 1.0.11

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.
Files changed (98) hide show
  1. package/LICENSE.txt +5 -5
  2. package/README.md +3 -3
  3. package/{lib-esm → dist}/component-platform-factory.d.ts +13 -13
  4. package/{lib → dist}/index.d.ts +5 -4
  5. package/dist/index.js +1416 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/render.js +95 -0
  8. package/dist/render.js.map +1 -0
  9. package/{lib-esm → dist}/services.d.ts +7 -7
  10. package/{lib-esm → dist}/site-provider.d.ts +5 -5
  11. package/{lib → dist}/ui/animated-view.d.ts +6 -6
  12. package/{lib-esm → dist}/ui/component.d.ts +16 -21
  13. package/{lib → dist}/ui/detached-component.d.ts +7 -7
  14. package/{lib → dist}/ui/determine-slide-direction.d.ts +26 -26
  15. package/{lib → dist}/ui/html-element-handlers.d.ts +18 -18
  16. package/{lib-esm → dist}/ui/index.d.ts +6 -6
  17. package/{lib → dist}/ui/not-found.d.ts +6 -6
  18. package/{lib-esm → dist}/ui/prepare-dom.d.ts +20 -20
  19. package/{lib-esm → dist}/ui/render.d.ts +3 -3
  20. package/{lib-esm → dist}/ui/resolvable-component.d.ts +7 -7
  21. package/dist/ui/styles.d.ts +17 -0
  22. package/{lib-esm → dist}/ui/switch.d.ts +11 -11
  23. package/{lib → dist}/ui/unmount.d.ts +2 -2
  24. package/{lib-esm → dist}/ui/use-component-node-properties.d.ts +3 -3
  25. package/{lib-esm → dist}/ui/use-router.d.ts +4 -4
  26. package/{lib-esm → dist}/ui/view-outlet.d.ts +32 -32
  27. package/{lib → dist}/ui/view.d.ts +6 -6
  28. package/{lib-esm → dist}/ui/wrapper.d.ts +7 -7
  29. package/dist/unmount.js +4 -0
  30. package/dist/unmount.js.map +1 -0
  31. package/{lib-esm → dist}/widget.d.ts +54 -54
  32. package/package.json +18 -17
  33. package/lib/component-platform-factory.d.ts +0 -13
  34. package/lib/component-platform-factory.js +0 -105
  35. package/lib/index.js +0 -16
  36. package/lib/services.d.ts +0 -7
  37. package/lib/services.js +0 -99
  38. package/lib/site-provider.d.ts +0 -5
  39. package/lib/site-provider.js +0 -18
  40. package/lib/ui/animated-view.js +0 -142
  41. package/lib/ui/component.d.ts +0 -21
  42. package/lib/ui/component.js +0 -180
  43. package/lib/ui/detached-component.js +0 -73
  44. package/lib/ui/determine-slide-direction.js +0 -51
  45. package/lib/ui/html-element-handlers.js +0 -128
  46. package/lib/ui/index.d.ts +0 -6
  47. package/lib/ui/index.js +0 -19
  48. package/lib/ui/not-found.js +0 -83
  49. package/lib/ui/prepare-dom.d.ts +0 -20
  50. package/lib/ui/prepare-dom.js +0 -122
  51. package/lib/ui/render.d.ts +0 -3
  52. package/lib/ui/render.js +0 -11
  53. package/lib/ui/resolvable-component.d.ts +0 -7
  54. package/lib/ui/resolvable-component.js +0 -87
  55. package/lib/ui/switch.d.ts +0 -11
  56. package/lib/ui/switch.js +0 -58
  57. package/lib/ui/unmount.js +0 -4
  58. package/lib/ui/use-component-node-properties.d.ts +0 -3
  59. package/lib/ui/use-component-node-properties.js +0 -44
  60. package/lib/ui/use-router.d.ts +0 -4
  61. package/lib/ui/use-router.js +0 -32
  62. package/lib/ui/view-outlet.d.ts +0 -32
  63. package/lib/ui/view-outlet.js +0 -151
  64. package/lib/ui/view.js +0 -75
  65. package/lib/ui/wrapper.d.ts +0 -7
  66. package/lib/ui/wrapper.js +0 -108
  67. package/lib/widget.d.ts +0 -54
  68. package/lib/widget.js +0 -554
  69. package/lib-esm/component-platform-factory.js +0 -101
  70. package/lib-esm/index.d.ts +0 -4
  71. package/lib-esm/index.js +0 -4
  72. package/lib-esm/services.js +0 -67
  73. package/lib-esm/site-provider.js +0 -14
  74. package/lib-esm/ui/animated-view.d.ts +0 -6
  75. package/lib-esm/ui/animated-view.js +0 -114
  76. package/lib-esm/ui/component.js +0 -151
  77. package/lib-esm/ui/detached-component.d.ts +0 -7
  78. package/lib-esm/ui/detached-component.js +0 -45
  79. package/lib-esm/ui/determine-slide-direction.d.ts +0 -26
  80. package/lib-esm/ui/determine-slide-direction.js +0 -46
  81. package/lib-esm/ui/html-element-handlers.d.ts +0 -18
  82. package/lib-esm/ui/html-element-handlers.js +0 -120
  83. package/lib-esm/ui/index.js +0 -6
  84. package/lib-esm/ui/not-found.d.ts +0 -6
  85. package/lib-esm/ui/not-found.js +0 -58
  86. package/lib-esm/ui/prepare-dom.js +0 -116
  87. package/lib-esm/ui/render.js +0 -6
  88. package/lib-esm/ui/resolvable-component.js +0 -62
  89. package/lib-esm/ui/switch.js +0 -53
  90. package/lib-esm/ui/unmount.d.ts +0 -2
  91. package/lib-esm/ui/unmount.js +0 -2
  92. package/lib-esm/ui/use-component-node-properties.js +0 -42
  93. package/lib-esm/ui/use-router.js +0 -30
  94. package/lib-esm/ui/view-outlet.js +0 -126
  95. package/lib-esm/ui/view.d.ts +0 -6
  96. package/lib-esm/ui/view.js +0 -70
  97. package/lib-esm/ui/wrapper.js +0 -80
  98. package/lib-esm/widget.js +0 -551
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>;
@@ -1,4 +1,5 @@
1
- export { default as Component, styling as genericComponentStyling } from './ui/component';
2
- export { default as DetachedComponent } from './ui/detached-component';
3
- export { default as NotFound } from './ui/not-found';
4
- 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';