@siemens/ix-aggrid 2.0.3 → 2.0.4-beta.0

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 (88) hide show
  1. package/README.md +1 -1
  2. package/dist/ix-aggrid/ix-aggrid.css +1 -1
  3. package/package.json +20 -25
  4. package/dist/cjs/ag-grid-community.auto.esm-9ea84b71.js +0 -50824
  5. package/dist/cjs/ag-grid-community.auto.esm-9ea84b71.js.map +0 -1
  6. package/dist/cjs/index-955a464c.js +0 -1324
  7. package/dist/cjs/index-955a464c.js.map +0 -1
  8. package/dist/cjs/index.cjs.js +0 -6
  9. package/dist/cjs/index.cjs.js.map +0 -1
  10. package/dist/cjs/ix-ag-grid.cjs.entry.js +0 -43
  11. package/dist/cjs/ix-ag-grid.cjs.entry.js.map +0 -1
  12. package/dist/cjs/ix-aggrid.cjs.js +0 -28
  13. package/dist/cjs/ix-aggrid.cjs.js.map +0 -1
  14. package/dist/cjs/loader.cjs.js +0 -24
  15. package/dist/cjs/loader.cjs.js.map +0 -1
  16. package/dist/cjs/my-component.cjs.entry.js +0 -21
  17. package/dist/cjs/my-component.cjs.entry.js.map +0 -1
  18. package/dist/collection/collection-manifest.json +0 -13
  19. package/dist/collection/components/ix-ag-grid/ix-ag-grid.js +0 -71
  20. package/dist/collection/components/ix-ag-grid/ix-ag-grid.js.map +0 -1
  21. package/dist/collection/components/my-component/my-component.css +0 -11
  22. package/dist/collection/components/my-component/my-component.js +0 -27
  23. package/dist/collection/components/my-component/my-component.js.map +0 -1
  24. package/dist/collection/components/tests/utils/test/index.js +0 -11
  25. package/dist/collection/components/tests/utils/test/index.js.map +0 -1
  26. package/dist/collection/components/tests/utils/test/page.js +0 -35
  27. package/dist/collection/components/tests/utils/test/page.js.map +0 -1
  28. package/dist/collection/components/tests/utils/test/theme-switcher.js +0 -15
  29. package/dist/collection/index.js +0 -10
  30. package/dist/collection/index.js.map +0 -1
  31. package/dist/components/ag-grid-community.auto.esm.js +0 -50822
  32. package/dist/components/ag-grid-community.auto.esm.js.map +0 -1
  33. package/dist/components/index.d.ts +0 -27
  34. package/dist/components/index.js +0 -4
  35. package/dist/components/index.js.map +0 -1
  36. package/dist/components/ix-ag-grid.d.ts +0 -11
  37. package/dist/components/ix-ag-grid.js +0 -58
  38. package/dist/components/ix-ag-grid.js.map +0 -1
  39. package/dist/components/my-component.d.ts +0 -11
  40. package/dist/components/my-component.js +0 -34
  41. package/dist/components/my-component.js.map +0 -1
  42. package/dist/esm/ag-grid-community.auto.esm-c5d0b4c8.js +0 -50822
  43. package/dist/esm/ag-grid-community.auto.esm-c5d0b4c8.js.map +0 -1
  44. package/dist/esm/index-6b38d2c8.js +0 -1296
  45. package/dist/esm/index-6b38d2c8.js.map +0 -1
  46. package/dist/esm/index.js +0 -3
  47. package/dist/esm/index.js.map +0 -1
  48. package/dist/esm/ix-ag-grid.entry.js +0 -39
  49. package/dist/esm/ix-ag-grid.entry.js.map +0 -1
  50. package/dist/esm/ix-aggrid.js +0 -23
  51. package/dist/esm/ix-aggrid.js.map +0 -1
  52. package/dist/esm/loader.js +0 -20
  53. package/dist/esm/loader.js.map +0 -1
  54. package/dist/esm/my-component.entry.js +0 -17
  55. package/dist/esm/my-component.entry.js.map +0 -1
  56. package/dist/esm/polyfills/core-js.js +0 -11
  57. package/dist/esm/polyfills/css-shim.js +0 -1
  58. package/dist/esm/polyfills/dom.js +0 -79
  59. package/dist/esm/polyfills/es5-html-element.js +0 -1
  60. package/dist/esm/polyfills/index.js +0 -34
  61. package/dist/esm/polyfills/system.js +0 -6
  62. package/dist/index.cjs.js +0 -1
  63. package/dist/index.js +0 -1
  64. package/dist/ix-aggrid/index.esm.js +0 -2
  65. package/dist/ix-aggrid/index.esm.js.map +0 -1
  66. package/dist/ix-aggrid/ix-aggrid.esm.js +0 -2
  67. package/dist/ix-aggrid/ix-aggrid.esm.js.map +0 -1
  68. package/dist/ix-aggrid/p-24ecd71e.entry.js +0 -2
  69. package/dist/ix-aggrid/p-24ecd71e.entry.js.map +0 -1
  70. package/dist/ix-aggrid/p-28090eb7.js +0 -3
  71. package/dist/ix-aggrid/p-28090eb7.js.map +0 -1
  72. package/dist/ix-aggrid/p-38388e1b.js +0 -1429
  73. package/dist/ix-aggrid/p-38388e1b.js.map +0 -1
  74. package/dist/ix-aggrid/p-618d1bd4.entry.js +0 -2
  75. package/dist/ix-aggrid/p-618d1bd4.entry.js.map +0 -1
  76. package/dist/types/components/ix-ag-grid/ix-ag-grid.d.ts +0 -10
  77. package/dist/types/components/my-component/my-component.d.ts +0 -3
  78. package/dist/types/components/tests/utils/test/index.d.ts +0 -2
  79. package/dist/types/components/tests/utils/test/page.d.ts +0 -3
  80. package/dist/types/components.d.ts +0 -54
  81. package/dist/types/index.d.ts +0 -2
  82. package/dist/types/stencil-public-runtime.d.ts +0 -1638
  83. package/loader/cdn.js +0 -3
  84. package/loader/index.cjs.js +0 -3
  85. package/loader/index.d.ts +0 -21
  86. package/loader/index.es2017.js +0 -3
  87. package/loader/index.js +0 -4
  88. package/loader/package.json +0 -11
@@ -1,27 +0,0 @@
1
- /**
2
- * Used to manually set the base path where assets can be found.
3
- * If the script is used as "module", it's recommended to use "import.meta.url",
4
- * such as "setAssetPath(import.meta.url)". Other options include
5
- * "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
6
- * dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
7
- * But do note that this configuration depends on how your script is bundled, or lack of
8
- * bundling, and where your assets can be loaded from. Additionally custom bundling
9
- * will have to ensure the static assets are copied to its build directory.
10
- */
11
- export declare const setAssetPath: (path: string) => void;
12
-
13
- /**
14
- * Used to specify a nonce value that corresponds with an application's CSP.
15
- * When set, the nonce will be added to all dynamically created script and style tags at runtime.
16
- * Alternatively, the nonce value can be set on a meta tag in the DOM head
17
- * (<meta name="csp-nonce" content="{ nonce value here }" />) which
18
- * will result in the same behavior.
19
- */
20
- export declare const setNonce: (nonce: string) => void
21
-
22
- export interface SetPlatformOptions {
23
- raf?: (c: FrameRequestCallback) => number;
24
- ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
25
- rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
26
- }
27
- export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
@@ -1,4 +0,0 @@
1
- export { setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
2
- import './ag-grid-community.auto.esm.js';
3
-
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"file":"index.js","mappings":";","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface IxAgGrid extends Components.IxAgGrid, HTMLElement {}
4
- export const IxAgGrid: {
5
- prototype: IxAgGrid;
6
- new (): IxAgGrid;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,58 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { G as Grid } from './ag-grid-community.auto.esm.js';
3
-
4
- const IxAgGrid$1 = /*@__PURE__*/ proxyCustomElement(class IxAgGrid extends HTMLElement {
5
- constructor() {
6
- super();
7
- this.__registerHost();
8
- this.gridOptions = undefined;
9
- }
10
- componentDidLoad() {
11
- this.initializeGrid();
12
- }
13
- initializeGrid() {
14
- if (!this.gridOptions) {
15
- return;
16
- }
17
- if (!this.grid) {
18
- const gridDiv = this.host.querySelector('div.ag-theme-ix');
19
- this.grid = new Grid(gridDiv, this.gridOptions);
20
- }
21
- }
22
- disconnectedCallback() {
23
- var _a;
24
- (_a = this.grid) === null || _a === void 0 ? void 0 : _a.destroy();
25
- }
26
- render() {
27
- return (h(Host, null, h("div", { style: {
28
- height: '100%',
29
- width: '100%',
30
- }, class: "ag-theme-alpine-dark ag-theme-ix" })));
31
- }
32
- get host() { return this; }
33
- static get watchers() { return {
34
- "gridOptions": ["initializeGrid"]
35
- }; }
36
- }, [2, "ix-ag-grid", {
37
- "gridOptions": [16]
38
- }]);
39
- function defineCustomElement$1() {
40
- if (typeof customElements === "undefined") {
41
- return;
42
- }
43
- const components = ["ix-ag-grid"];
44
- components.forEach(tagName => { switch (tagName) {
45
- case "ix-ag-grid":
46
- if (!customElements.get(tagName)) {
47
- customElements.define(tagName, IxAgGrid$1);
48
- }
49
- break;
50
- } });
51
- }
52
-
53
- const IxAgGrid = IxAgGrid$1;
54
- const defineCustomElement = defineCustomElement$1;
55
-
56
- export { IxAgGrid, defineCustomElement };
57
-
58
- //# sourceMappingURL=ix-ag-grid.js.map
@@ -1 +0,0 @@
1
- {"file":"ix-ag-grid.js","mappings":";;;MAgBaA,UAAQ;;;;;;EAQnB,gBAAgB;IACd,IAAI,CAAC,cAAc,EAAE,CAAC;GACvB;EAGO,cAAc;IACpB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;MACrB,OAAO;KACR;IAED,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;MACd,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAgB,CAAC;MAC1E,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;KACjD;GACF;EAED,oBAAoB;;IAClB,MAAA,IAAI,CAAC,IAAI,0CAAE,OAAO,EAAE,CAAC;GACtB;EAED,MAAM;IACJ,QACE,EAAC,IAAI,QACH,WACE,KAAK,EAAE;QACL,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,MAAM;OACd,EACD,KAAK,EAAC,kCAAkC,GACnC,CACF,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["IxAgGrid"],"sources":["./src/components/ix-ag-grid/ix-ag-grid.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop, Watch } from '@stencil/core';\nimport { Grid, GridOptions } from 'ag-grid-community';\n\n@Component({\n tag: 'ix-ag-grid',\n scoped: true,\n})\nexport class IxAgGrid {\n @Element() host: HTMLIxAgGridElement;\n\n @Prop()\n gridOptions: GridOptions;\n\n grid: Grid;\n\n componentDidLoad() {\n this.initializeGrid();\n }\n\n @Watch('gridOptions')\n private initializeGrid() {\n if (!this.gridOptions) {\n return;\n }\n\n if (!this.grid) {\n const gridDiv = this.host.querySelector('div.ag-theme-ix') as HTMLElement;\n this.grid = new Grid(gridDiv, this.gridOptions);\n }\n }\n\n disconnectedCallback() {\n this.grid?.destroy();\n }\n\n render() {\n return (\n <Host>\n <div\n style={{\n height: '100%',\n width: '100%',\n }}\n class=\"ag-theme-alpine-dark ag-theme-ix\"\n ></div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface MyComponent extends Components.MyComponent, HTMLElement {}
4
- export const MyComponent: {
5
- prototype: MyComponent;
6
- new (): MyComponent;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,34 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
-
3
- const myComponentCss = ".sc-my-component-h{display:block}";
4
-
5
- const MyComponent$1 = /*@__PURE__*/ proxyCustomElement(class MyComponent extends HTMLElement {
6
- constructor() {
7
- super();
8
- this.__registerHost();
9
- }
10
- render() {
11
- return h(Host, null);
12
- }
13
- static get style() { return myComponentCss; }
14
- }, [2, "my-component"]);
15
- function defineCustomElement$1() {
16
- if (typeof customElements === "undefined") {
17
- return;
18
- }
19
- const components = ["my-component"];
20
- components.forEach(tagName => { switch (tagName) {
21
- case "my-component":
22
- if (!customElements.get(tagName)) {
23
- customElements.define(tagName, MyComponent$1);
24
- }
25
- break;
26
- } });
27
- }
28
-
29
- const MyComponent = MyComponent$1;
30
- const defineCustomElement = defineCustomElement$1;
31
-
32
- export { MyComponent, defineCustomElement };
33
-
34
- //# sourceMappingURL=my-component.js.map
@@ -1 +0,0 @@
1
- {"file":"my-component.js","mappings":";;AAAA,MAAM,cAAc,GAAG,mCAAmC;;MCgB7CA,aAAW;;;;;EACtB,MAAM;IACJ,OAAO,EAAC,IAAI,OAAQ,CAAC;GACtB;;;;;;;;;;;;;;;;;;;;;;","names":["MyComponent"],"sources":["./src/components/my-component/my-component.scss?tag=my-component&encapsulation=scoped","./src/components/my-component/my-component.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'my-component',\n styleUrl: 'my-component.scss',\n scoped: true,\n})\nexport class MyComponent {\n render() {\n return <Host></Host>;\n }\n}\n"],"version":3}