@siemens/ix-aggrid 1.1.0-beta.4 → 1.1.0-beta.6

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.
@@ -2,12 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5b0f17d6.js');
5
+ const index = require('./index-bbfdf33e.js');
6
6
  const agGridCommunity_auto_esm = require('./ag-grid-community.auto.esm-42c6bc63.js');
7
7
 
8
8
  const IxAgGrid = class {
9
9
  constructor(hostRef) {
10
10
  index.registerInstance(this, hostRef);
11
+ this.gridOptions = undefined;
11
12
  }
12
13
  componentDidLoad() {
13
14
  this.initializeGrid();
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-5b0f17d6.js');
3
+ const index = require('./index-bbfdf33e.js');
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v2.18.1 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v2.19.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  const patchBrowser = () => {
9
9
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('ix-aggrid.cjs.js', document.baseURI).href));
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5b0f17d6.js');
5
+ const index = require('./index-bbfdf33e.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Esm v2.18.1 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Esm v2.19.3 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchEsm = () => {
11
11
  return index.promiseResolve();
@@ -5,7 +5,7 @@
5
5
  ],
6
6
  "compiler": {
7
7
  "name": "@stencil/core",
8
- "version": "2.18.1",
8
+ "version": "2.19.3",
9
9
  "typescriptVersion": "4.7.4"
10
10
  },
11
11
  "collections": [],
@@ -9,6 +9,9 @@
9
9
  import { h, Host } from '@stencil/core';
10
10
  import { Grid } from 'ag-grid-community';
11
11
  export class IxAgGrid {
12
+ constructor() {
13
+ this.gridOptions = undefined;
14
+ }
12
15
  componentDidLoad() {
13
16
  this.initializeGrid();
14
17
  }
@@ -52605,6 +52605,7 @@ const IxAgGrid = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
52605
52605
  constructor() {
52606
52606
  super();
52607
52607
  this.__registerHost();
52608
+ this.gridOptions = undefined;
52608
52609
  }
52609
52610
  componentDidLoad() {
52610
52611
  this.initializeGrid();
@@ -1,9 +1,10 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-f7e13ba2.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-1ae27f1f.js';
2
2
  import { G as Grid } from './ag-grid-community.auto.esm-db7de02b.js';
3
3
 
4
4
  const IxAgGrid = class {
5
5
  constructor(hostRef) {
6
6
  registerInstance(this, hostRef);
7
+ this.gridOptions = undefined;
7
8
  }
8
9
  componentDidLoad() {
9
10
  this.initializeGrid();
@@ -1,7 +1,7 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-f7e13ba2.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-1ae27f1f.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Browser v2.18.1 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Browser v2.19.3 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchBrowser = () => {
7
7
  const importMeta = import.meta.url;
@@ -1,7 +1,7 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-f7e13ba2.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-1ae27f1f.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Esm v2.18.1 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Esm v2.19.3 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchEsm = () => {
7
7
  return promiseResolve();
@@ -1 +1 @@
1
- import{p as o,b as p}from"./p-c1b50b0f.js";(()=>{const p=import.meta.url,r={};return""!==p&&(r.resourcesUrl=new URL(".",p).href),o(r)})().then((o=>p([["p-f8f88b62",[[2,"my-component"],[2,"ix-ag-grid",{gridOptions:[16]}]]]],o)));
1
+ import{p as o,b as p}from"./p-5c9652cd.js";(()=>{const p=import.meta.url,r={};return""!==p&&(r.resourcesUrl=new URL(".",p).href),o(r)})().then((o=>p([["p-98f781bb",[[2,"my-component"],[2,"ix-ag-grid",{gridOptions:[16]}]]]],o)));
File without changes
@@ -0,0 +1 @@
1
+ import{r as e,h as i,H as t,g as s}from"./p-5c9652cd.js";import{G as r}from"./p-ea1225ae.js";const o=class{constructor(i){e(this,i),this.gridOptions=void 0}componentDidLoad(){this.initializeGrid()}initializeGrid(){if(this.gridOptions&&!this.grid){const e=this.host.querySelector("div.ag-theme-ix");this.grid=new r(e,this.gridOptions)}}disconnectedCallback(){var e;null===(e=this.grid)||void 0===e||e.destroy()}render(){return i(t,null,i("div",{style:{height:"100%",width:"100%"},class:"ag-theme-alpine-dark ag-theme-ix"}))}get host(){return s(this)}static get watchers(){return{gridOptions:["initializeGrid"]}}},a=[{field:"make",resizable:!0,checkboxSelection:!0},{field:"model",resizable:!0,sortable:!0,filter:!0},{field:"price",resizable:!0}],c=[{make:"Toyota",model:"Celica",price:35e3,checked:!1},{make:"Ford",model:"Mondeo",price:32e3,checked:!0},{make:"Porsche",model:"Boxster",price:72e3,checked:!1}],l=class{constructor(i){e(this,i),this.gridOptions={columnDefs:a,rowData:c,rowSelection:"multiple",suppressCellFocus:!0}}render(){return i(t,{style:{height:"100%",width:"100%"}},i("ix-ag-grid",{gridOptions:this.gridOptions}))}};l.style=".sc-my-component-h{display:block}";export{o as ix_ag_grid,l as my_component}
@@ -223,6 +223,7 @@ export declare const setMode: (handler: ResolutionHandler) => void;
223
223
  /**
224
224
  * `getMode()` is used for libraries which provide multiple "modes" for styles.
225
225
  * @param ref a reference to the node to get styles for
226
+ * @returns the current mode or undefined, if not found
226
227
  */
227
228
  export declare function getMode<T = string | undefined>(ref: any): T;
228
229
  export declare function setPlatformHelpers(helpers: {
@@ -237,6 +238,7 @@ export declare function setPlatformHelpers(helpers: {
237
238
  * if the path needs to be customized.
238
239
  * @param path the path to use in calculating the asset path. this value will be
239
240
  * used in conjunction with the base asset path
241
+ * @returns the base path
240
242
  */
241
243
  export declare function getAssetPath(path: string): string;
242
244
  /**
@@ -252,11 +254,13 @@ export declare function getAssetPath(path: string): string;
252
254
  * bundling, and where your assets can be loaded from. Additionally custom bundling
253
255
  * will have to ensure the static assets are copied to its build directory.
254
256
  * @param path the asset path to set
257
+ * @returns the set path
255
258
  */
256
259
  export declare function setAssetPath(path: string): string;
257
260
  /**
258
261
  * Retrieve a Stencil element for a given reference
259
262
  * @param ref the ref to get the Stencil element for
263
+ * @returns a reference to the element
260
264
  */
261
265
  export declare function getElement(ref: any): HTMLStencilElement;
262
266
  /**
@@ -269,6 +273,7 @@ export declare function getElement(ref: any): HTMLStencilElement;
269
273
  export declare function forceUpdate(ref: any): void;
270
274
  /**
271
275
  * getRenderingRef
276
+ * @returns the rendering ref
272
277
  */
273
278
  export declare function getRenderingRef(): any;
274
279
  export interface HTMLStencilElement extends HTMLElement {
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "directory": "packages/aggrid"
9
9
  },
10
10
  "description": "AG Grid theme based on ix theme variables",
11
- "version": "1.1.0-beta.4",
11
+ "version": "1.1.0-beta.6",
12
12
  "main": "dist/index.cjs.js",
13
13
  "module": "dist/index.js",
14
14
  "es2015": "dist/esm/index.mjs",
@@ -31,7 +31,7 @@
31
31
  "generate": "stencil generate"
32
32
  },
33
33
  "dependencies": {
34
- "@stencil/core": "^2.13.0"
34
+ "@stencil/core": "~2.19.2"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/jest": "^27.0.3",
@@ -39,11 +39,11 @@
39
39
  "jest-cli": "^27.4.5",
40
40
  "puppeteer": "^10.0.0",
41
41
  "ag-grid-community": "^28.0.2",
42
- "@stencil/sass": "~1.5.2",
43
- "@siemens/ix": "~1.1.0-beta.4"
42
+ "@siemens/ix": "~1.1.0-beta.6",
43
+ "@stencil/sass": "~2.0.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "ag-grid-community": "^28.0.2",
47
- "@siemens/ix": "~1.1.0-beta.4"
47
+ "@siemens/ix": "~1.1.0-beta.6"
48
48
  }
49
49
  }
@@ -1 +0,0 @@
1
- import{r as e,h as i,H as t,g as s}from"./p-c1b50b0f.js";import{G as r}from"./p-ea1225ae.js";const o=class{constructor(i){e(this,i)}componentDidLoad(){this.initializeGrid()}initializeGrid(){if(this.gridOptions&&!this.grid){const e=this.host.querySelector("div.ag-theme-ix");this.grid=new r(e,this.gridOptions)}}disconnectedCallback(){var e;null===(e=this.grid)||void 0===e||e.destroy()}render(){return i(t,null,i("div",{style:{height:"100%",width:"100%"},class:"ag-theme-alpine-dark ag-theme-ix"}))}get host(){return s(this)}static get watchers(){return{gridOptions:["initializeGrid"]}}},a=[{field:"make",resizable:!0,checkboxSelection:!0},{field:"model",resizable:!0,sortable:!0,filter:!0},{field:"price",resizable:!0}],c=[{make:"Toyota",model:"Celica",price:35e3,checked:!1},{make:"Ford",model:"Mondeo",price:32e3,checked:!0},{make:"Porsche",model:"Boxster",price:72e3,checked:!1}],l=class{constructor(i){e(this,i),this.gridOptions={columnDefs:a,rowData:c,rowSelection:"multiple",suppressCellFocus:!0}}render(){return i(t,{style:{height:"100%",width:"100%"}},i("ix-ag-grid",{gridOptions:this.gridOptions}))}};l.style=".sc-my-component-h{display:block}";export{o as ix_ag_grid,l as my_component}