@siemens/ix-aggrid 1.0.0-beta.3 → 1.0.0-beta.5

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.
@@ -1,30 +1,16 @@
1
1
  const NAMESPACE = 'ix-aggrid';
2
2
 
3
+ /**
4
+ * Virtual DOM patching algorithm based on Snabbdom by
5
+ * Simon Friis Vindum (@paldepind)
6
+ * Licensed under the MIT License
7
+ * https://github.com/snabbdom/snabbdom/blob/master/LICENSE
8
+ *
9
+ * Modified for Stencil's renderer and slot projection
10
+ */
3
11
  let scopeId;
4
12
  let isSvgMode = false;
5
13
  let queuePending = false;
6
- const win = typeof window !== 'undefined' ? window : {};
7
- const doc = win.document || { head: {} };
8
- const plt = {
9
- $flags$: 0,
10
- $resourcesUrl$: '',
11
- jmp: (h) => h(),
12
- raf: (h) => requestAnimationFrame(h),
13
- ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
14
- rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
15
- ce: (eventName, opts) => new CustomEvent(eventName, opts),
16
- };
17
- const promiseResolve = (v) => Promise.resolve(v);
18
- const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
19
- try {
20
- new CSSStyleSheet();
21
- return typeof new CSSStyleSheet().replaceSync === 'function';
22
- }
23
- catch (e) { }
24
- return false;
25
- })()
26
- ;
27
- const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
28
14
  const createTime = (fnName, tagName = '') => {
29
15
  {
30
16
  return () => {
@@ -39,79 +25,7 @@ const uniqueTime = (key, measureText) => {
39
25
  };
40
26
  }
41
27
  };
42
- const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
43
- const registerStyle = (scopeId, cssText, allowCS) => {
44
- let style = styles.get(scopeId);
45
- if (supportsConstructableStylesheets && allowCS) {
46
- style = (style || new CSSStyleSheet());
47
- if (typeof style === 'string') {
48
- style = cssText;
49
- }
50
- else {
51
- style.replaceSync(cssText);
52
- }
53
- }
54
- else {
55
- style = cssText;
56
- }
57
- styles.set(scopeId, style);
58
- };
59
- const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
60
- let scopeId = getScopeId(cmpMeta);
61
- const style = styles.get(scopeId);
62
- // if an element is NOT connected then getRootNode() will return the wrong root node
63
- // so the fallback is to always use the document for the root node in those cases
64
- styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
65
- if (style) {
66
- if (typeof style === 'string') {
67
- styleContainerNode = styleContainerNode.head || styleContainerNode;
68
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
69
- let styleElm;
70
- if (!appliedStyles) {
71
- rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
72
- }
73
- if (!appliedStyles.has(scopeId)) {
74
- {
75
- {
76
- styleElm = doc.createElement('style');
77
- styleElm.innerHTML = style;
78
- }
79
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
80
- }
81
- if (appliedStyles) {
82
- appliedStyles.add(scopeId);
83
- }
84
- }
85
- }
86
- else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
87
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
88
- }
89
- }
90
- return scopeId;
91
- };
92
- const attachStyles = (hostRef) => {
93
- const cmpMeta = hostRef.$cmpMeta$;
94
- const elm = hostRef.$hostElement$;
95
- const flags = cmpMeta.$flags$;
96
- const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
97
- const scopeId = addStyle(elm.getRootNode(), cmpMeta);
98
- if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
99
- // only required when we're NOT using native shadow dom (slot)
100
- // or this browser doesn't support native shadow dom
101
- // and this host element was NOT created with SSR
102
- // let's pick out the inner content for slot projection
103
- // create a node to represent where the original
104
- // content was first placed, which is useful later on
105
- // DOM WRITE!!
106
- elm['s-sc'] = scopeId;
107
- elm.classList.add(scopeId + '-h');
108
- if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
109
- elm.classList.add(scopeId + '-s');
110
- }
111
- }
112
- endAttachStyles();
113
- };
114
- const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
28
+ const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
115
29
  /**
116
30
  * Default style mode id
117
31
  */
@@ -200,6 +114,125 @@ const newVNode = (tag, text) => {
200
114
  };
201
115
  const Host = {};
202
116
  const isHost = (node) => node && node.$tag$ === Host;
117
+ /**
118
+ * Parse a new property value for a given property type.
119
+ *
120
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
121
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
122
+ * 1. `any`, the type given to `propValue` in the function signature
123
+ * 2. the type stored from `propType`.
124
+ *
125
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
126
+ *
127
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
128
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
129
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
130
+ * ```tsx
131
+ * <my-cmp prop-val={0}></my-cmp>
132
+ * ```
133
+ *
134
+ * HTML prop values on the other hand, will always a string
135
+ *
136
+ * @param propValue the new value to coerce to some type
137
+ * @param propType the type of the prop, expressed as a binary number
138
+ * @returns the parsed/coerced value
139
+ */
140
+ const parsePropertyValue = (propValue, propType) => {
141
+ // ensure this value is of the correct prop type
142
+ if (propValue != null && !isComplexType(propValue)) {
143
+ // redundant return here for better minification
144
+ return propValue;
145
+ }
146
+ // not sure exactly what type we want
147
+ // so no need to change to a different type
148
+ return propValue;
149
+ };
150
+ const getElement = (ref) => (getHostRef(ref).$hostElement$ );
151
+ /**
152
+ * Helper function to create & dispatch a custom Event on a provided target
153
+ * @param elm the target of the Event
154
+ * @param name the name to give the custom Event
155
+ * @param opts options for configuring a custom Event
156
+ * @returns the custom Event
157
+ */
158
+ const emitEvent = (elm, name, opts) => {
159
+ const ev = plt.ce(name, opts);
160
+ elm.dispatchEvent(ev);
161
+ return ev;
162
+ };
163
+ const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
164
+ const registerStyle = (scopeId, cssText, allowCS) => {
165
+ let style = styles.get(scopeId);
166
+ if (supportsConstructableStylesheets && allowCS) {
167
+ style = (style || new CSSStyleSheet());
168
+ if (typeof style === 'string') {
169
+ style = cssText;
170
+ }
171
+ else {
172
+ style.replaceSync(cssText);
173
+ }
174
+ }
175
+ else {
176
+ style = cssText;
177
+ }
178
+ styles.set(scopeId, style);
179
+ };
180
+ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
181
+ let scopeId = getScopeId(cmpMeta);
182
+ const style = styles.get(scopeId);
183
+ // if an element is NOT connected then getRootNode() will return the wrong root node
184
+ // so the fallback is to always use the document for the root node in those cases
185
+ styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
186
+ if (style) {
187
+ if (typeof style === 'string') {
188
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
189
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
190
+ let styleElm;
191
+ if (!appliedStyles) {
192
+ rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
193
+ }
194
+ if (!appliedStyles.has(scopeId)) {
195
+ {
196
+ {
197
+ styleElm = doc.createElement('style');
198
+ styleElm.innerHTML = style;
199
+ }
200
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
201
+ }
202
+ if (appliedStyles) {
203
+ appliedStyles.add(scopeId);
204
+ }
205
+ }
206
+ }
207
+ else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
208
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
209
+ }
210
+ }
211
+ return scopeId;
212
+ };
213
+ const attachStyles = (hostRef) => {
214
+ const cmpMeta = hostRef.$cmpMeta$;
215
+ const elm = hostRef.$hostElement$;
216
+ const flags = cmpMeta.$flags$;
217
+ const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
218
+ const scopeId = addStyle(elm.getRootNode(), cmpMeta);
219
+ if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
220
+ // only required when we're NOT using native shadow dom (slot)
221
+ // or this browser doesn't support native shadow dom
222
+ // and this host element was NOT created with SSR
223
+ // let's pick out the inner content for slot projection
224
+ // create a node to represent where the original
225
+ // content was first placed, which is useful later on
226
+ // DOM WRITE!!
227
+ elm['s-sc'] = scopeId;
228
+ elm.classList.add(scopeId + '-h');
229
+ if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
230
+ elm.classList.add(scopeId + '-s');
231
+ }
232
+ }
233
+ endAttachStyles();
234
+ };
235
+ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
203
236
  /**
204
237
  * Production setAccessor() function based on Preact by
205
238
  * Jason Miller (@developit)
@@ -615,19 +648,6 @@ const renderVdom = (hostRef, renderFnResults) => {
615
648
  // synchronous patch
616
649
  patch(oldVNode, rootVnode);
617
650
  };
618
- const getElement = (ref) => (getHostRef(ref).$hostElement$ );
619
- /**
620
- * Helper function to create & dispatch a custom Event on a provided target
621
- * @param elm the target of the Event
622
- * @param name the name to give the custom Event
623
- * @param opts options for configuring a custom Event
624
- * @returns the custom Event
625
- */
626
- const emitEvent = (elm, name, opts) => {
627
- const ev = plt.ce(name, opts);
628
- elm.dispatchEvent(ev);
629
- return ev;
630
- };
631
651
  const attachToAncestor = (hostRef, ancestorComponent) => {
632
652
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
633
653
  ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
@@ -781,39 +801,6 @@ const then = (promise, thenFn) => {
781
801
  };
782
802
  const addHydratedFlag = (elm) => elm.classList.add('hydrated')
783
803
  ;
784
- /**
785
- * Parse a new property value for a given property type.
786
- *
787
- * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
788
- * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
789
- * 1. `any`, the type given to `propValue` in the function signature
790
- * 2. the type stored from `propType`.
791
- *
792
- * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
793
- *
794
- * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
795
- * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
796
- * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
797
- * ```tsx
798
- * <my-cmp prop-val={0}></my-cmp>
799
- * ```
800
- *
801
- * HTML prop values on the other hand, will always a string
802
- *
803
- * @param propValue the new value to coerce to some type
804
- * @param propType the type of the prop, expressed as a binary number
805
- * @returns the parsed/coerced value
806
- */
807
- const parsePropertyValue = (propValue, propType) => {
808
- // ensure this value is of the correct prop type
809
- if (propValue != null && !isComplexType(propValue)) {
810
- // redundant return here for better minification
811
- return propValue;
812
- }
813
- // not sure exactly what type we want
814
- // so no need to change to a different type
815
- return propValue;
816
- };
817
804
  const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
818
805
  const setValue = (ref, propName, newVal, cmpMeta) => {
819
806
  // check our new property value against our internal value
@@ -857,6 +844,16 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
857
844
  }
858
845
  }
859
846
  };
847
+ /**
848
+ * Attach a series of runtime constructs to a compiled Stencil component
849
+ * constructor, including getters and setters for the `@Prop` and `@State`
850
+ * decorators, callbacks for when attributes change, and so on.
851
+ *
852
+ * @param Cstr the constructor for a component that we need to process
853
+ * @param cmpMeta metadata collected previously about the component
854
+ * @param flags a number used to store a series of bit flags
855
+ * @returns a reference to the same constructor passed in (but now mutated)
856
+ */
860
857
  const proxyComponent = (Cstr, cmpMeta, flags) => {
861
858
  if (cmpMeta.$members$) {
862
859
  if (Cstr.watchers) {
@@ -1137,6 +1134,27 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1137
1134
  }, consoleError);
1138
1135
  };
1139
1136
  const styles = /*@__PURE__*/ new Map();
1137
+ const win = typeof window !== 'undefined' ? window : {};
1138
+ const doc = win.document || { head: {} };
1139
+ const plt = {
1140
+ $flags$: 0,
1141
+ $resourcesUrl$: '',
1142
+ jmp: (h) => h(),
1143
+ raf: (h) => requestAnimationFrame(h),
1144
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
1145
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
1146
+ ce: (eventName, opts) => new CustomEvent(eventName, opts),
1147
+ };
1148
+ const promiseResolve = (v) => Promise.resolve(v);
1149
+ const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
1150
+ try {
1151
+ new CSSStyleSheet();
1152
+ return typeof new CSSStyleSheet().replaceSync === 'function';
1153
+ }
1154
+ catch (e) { }
1155
+ return false;
1156
+ })()
1157
+ ;
1140
1158
  const queueDomReads = [];
1141
1159
  const queueDomWrites = [];
1142
1160
  const queueTask = (queue, write) => (cb) => {
package/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- import './ag-grid-community.auto.esm-02be9483.js';
1
+ import './ag-grid-community.auto.esm-db7de02b.js';
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-bc7ead06.js';
2
- import { G as Grid } from './ag-grid-community.auto.esm-02be9483.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-f7e13ba2.js';
2
+ import { G as Grid } from './ag-grid-community.auto.esm-db7de02b.js';
3
3
 
4
4
  const IxAgGrid = class {
5
5
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-bc7ead06.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-f7e13ba2.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Browser v2.18.0 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Browser v2.18.1 | 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-bc7ead06.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-f7e13ba2.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Esm v2.18.0 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Esm v2.18.1 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchEsm = () => {
7
7
  return promiseResolve();
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
1
+ var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@",VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
@@ -1 +1 @@
1
- import"./p-8689a100.js";
1
+ import"./p-ea1225ae.js";
@@ -1 +1 @@
1
- import{p as o,b as p}from"./p-d40c6577.js";(()=>{const p=import.meta.url,r={};return""!==p&&(r.resourcesUrl=new URL(".",p).href),o(r)})().then((o=>p([["p-69c6cd58",[[2,"my-component"],[2,"ix-ag-grid",{gridOptions:[16]}]]]],o)));
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)));
@@ -0,0 +1,2 @@
1
+ let t,e=!1;const n={},l=t=>"object"==(t=typeof t)||"function"===t,s=(t,e,...n)=>{let s=null,c=!1,r=!1;const i=[],a=e=>{for(let n=0;n<e.length;n++)s=e[n],Array.isArray(s)?a(s):null!=s&&"boolean"!=typeof s&&((c="function"!=typeof t&&!l(s))&&(s+=""),c&&r?i[i.length-1].t+=s:i.push(c?o(null,s):s),r=c)};if(a(n),e){const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}const u=o(t,null);return u.l=e,i.length>0&&(u.o=i),u},o=(t,e)=>({i:0,u:t,t:e,$:null,o:null,l:null}),c={},r=t=>N(t).h,i=new WeakMap,a=t=>"sc-"+t.m,u=(t,e,n,s,o,c)=>{if(n!==s){let r=H(t,e);if(e.toLowerCase(),"class"===e){const e=t.classList,l=$(n),o=$(s);e.remove(...l.filter((t=>t&&!o.includes(t)))),e.add(...o.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)s&&null!=s[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in s)n&&s[e]===n[e]||(e.includes("-")?t.style.setProperty(e,s[e]):t.style[e]=s[e])}else{const i=l(s);if((r||i&&null!==s)&&!o)try{if(t.tagName.includes("-"))t[e]=s;else{const l=null==s?"":s;"list"===e?r=!1:null!=n&&t[e]==l||(t[e]=l)}}catch(t){}null==s||!1===s?!1===s&&""!==t.getAttribute(e)||t.removeAttribute(e):(!r||4&c||o)&&!i&&t.setAttribute(e,s=!0===s?"":s)}}},f=/\s/,$=t=>t?t.split(f):[],d=(t,e,l,s)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,c=t&&t.l||n,r=e.l||n;for(s in c)s in r||u(o,s,c[s],void 0,l,e.i);for(s in r)u(o,s,c[s],r[s],l,e.i)},y=(e,n,l)=>{const s=n.o[l];let o,c,r=0;if(o=s.$=F.createElement(s.u),d(null,s,!1),null!=t&&o["s-si"]!==t&&o.classList.add(o["s-si"]=t),s.o)for(r=0;r<s.o.length;++r)c=y(e,s,r),c&&o.appendChild(c);return o},h=(t,e,n,l,s,o)=>{let c,r=t;for(;s<=o;++s)l[s]&&(c=y(null,n,s),c&&(l[s].$=c,r.insertBefore(c,e)))},m=(t,e,n,l)=>{for(;e<=n;++e)(l=t[e])&&l.$.remove()},p=(t,e)=>t.u===e.u,b=(t,e)=>{const n=e.$=t.$,l=t.o,s=e.o;d(t,e,!1),null!==l&&null!==s?((t,e,n,l)=>{let s,o=0,c=0,r=e.length-1,i=e[0],a=e[r],u=l.length-1,f=l[0],$=l[u];for(;o<=r&&c<=u;)null==i?i=e[++o]:null==a?a=e[--r]:null==f?f=l[++c]:null==$?$=l[--u]:p(i,f)?(b(i,f),i=e[++o],f=l[++c]):p(a,$)?(b(a,$),a=e[--r],$=l[--u]):p(i,$)?(b(i,$),t.insertBefore(i.$,a.$.nextSibling),i=e[++o],$=l[--u]):p(a,f)?(b(a,f),t.insertBefore(a.$,i.$),a=e[--r],f=l[++c]):(s=y(e&&e[c],n,c),f=l[++c],s&&i.$.parentNode.insertBefore(s,i.$));o>r?h(t,null==l[u+1]?null:l[u+1].$,n,l,c,u):c>u&&m(e,o,r)})(n,l,e,s):null!==s?h(n,null,e,s,0,s.length-1):null!==l&&m(l,0,l.length-1)},w=(t,e)=>{e&&!t.p&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.p=e)))},g=(t,e)=>{if(t.i|=16,!(4&t.i))return w(t,t.g),X((()=>S(t,e)));t.i|=512},S=(t,e)=>{const n=t.S;return O(void 0,(()=>j(t,n,e)))},j=async(t,e,n)=>{const l=t.h,s=l["s-rc"];n&&(t=>{const e=t.j,n=t.h,l=e.i,s=((t,e)=>{let n=a(e);const l=q.get(n);if(t=11===t.nodeType?t:F,l)if("string"==typeof l){let e,s=i.get(t=t.head||t);s||i.set(t,s=new Set),s.has(n)||(e=F.createElement("style"),e.innerHTML=l,t.insertBefore(e,t.querySelector("link")),s&&s.add(n))}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return n})(n.getRootNode(),e);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&l&&n.classList.add(s+"-s"))})(t);v(t,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=l["s-p"],n=()=>k(t);0===e.length?n():(Promise.all(e).then(n),t.i|=4,e.length=0)}},v=(e,n)=>{try{n=n.render(),e.i&=-17,e.i|=2,((e,n)=>{const l=e.h,r=e.v||o(null,null),i=(t=>t&&t.u===c)(n)?n:s(null,null,n);i.u=null,i.i|=4,e.v=i,i.$=r.$=l,t=l["s-sc"],b(r,i)})(e,n)}catch(t){R(t,e.h)}return null},k=t=>{const e=t.h,n=t.S,l=t.g;64&t.i||(t.i|=64,x(e),M(n,"componentDidLoad"),t.k(e),l||C()),t.p&&(t.p(),t.p=void 0),512&t.i&&Q((()=>g(t,!1))),t.i&=-517},C=()=>{x(F.documentElement),Q((()=>(t=>{const e=V.ce("appload",{detail:{namespace:"ix-aggrid"}});return t.dispatchEvent(e),e})(D)))},M=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){R(t)}},O=(t,e)=>t&&t.then?t.then(e):e(),x=t=>t.classList.add("hydrated"),P=(t,e,n)=>{if(e.C){t.watchers&&(e.M=t.watchers);const s=Object.entries(e.C),o=t.prototype;s.map((([t,[s]])=>{(31&s||2&n&&32&s)&&Object.defineProperty(o,t,{get(){return((t,e)=>N(this).O.get(e))(0,t)},set(n){((t,e,n,s)=>{const o=N(t),c=o.h,r=o.O.get(e),i=o.i,a=o.S;if(n=(t=>(null==t||l(t),t))(n),(!(8&i)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(o.O.set(e,n),a)){if(s.M&&128&i){const t=s.M[e];t&&t.map((t=>{try{a[t](n,r,e)}catch(t){R(t,c)}}))}2==(18&i)&&g(o,!1)}})(this,t,n,e)},configurable:!0,enumerable:!0})}))}return t},E=(t,e={})=>{const n=[],l=e.exclude||[],s=D.customElements,o=F.head,c=o.querySelector("meta[charset]"),r=F.createElement("style"),i=[];let u,f=!0;Object.assign(V,e),V.P=new URL(e.resourcesUrl||"./",F.baseURI).href,t.map((t=>{t[1].map((e=>{const o={i:e[0],m:e[1],C:e[2],L:e[3]};o.C=e[2],o.M={};const c=o.m,r=class extends HTMLElement{constructor(t){super(t),A(t=this,o)}connectedCallback(){u&&(clearTimeout(u),u=null),f?i.push(this):V.jmp((()=>(t=>{if(0==(1&V.i)){const e=N(t),n=e.j,l=()=>{};if(!(1&e.i)){e.i|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){w(e,e.g=n);break}}n.C&&Object.entries(n.C).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n,l,s)=>{if(0==(32&e.i)){{if(e.i|=32,(s=W(n)).then){const t=()=>{};s=await s,t()}s.isProxied||(n.M=s.watchers,P(s,n,2),s.isProxied=!0);const t=()=>{};e.i|=8;try{new s(e)}catch(t){R(t)}e.i&=-9,e.i|=128,t()}if(s.style){let t=s.style;const e=a(n);if(!q.has(e)){const l=()=>{};((t,e,n)=>{let l=q.get(t);z&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,q.set(t,l)})(e,t,!!(1&n.i)),l()}}}const o=e.g,c=()=>g(e,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(0,e,n)}l()}})(this)))}disconnectedCallback(){V.jmp((()=>(()=>{0==(1&V.i)&&M(N(this).S,"disconnectedCallback")})()))}componentOnReady(){return N(this).N}};o.T=t[0],l.includes(c)||s.get(c)||(n.push(c),s.define(c,P(r,o,1)))}))})),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),o.insertBefore(r,c?c.nextSibling:o.firstChild),f=!1,i.length?i.map((t=>t.connectedCallback())):V.jmp((()=>u=setTimeout(C,30)))},L=new WeakMap,N=t=>L.get(t),T=(t,e)=>L.set(e.S=t,e),A=(t,e)=>{const n={i:0,h:t,j:e,O:new Map};return n.N=new Promise((t=>n.k=t)),t["s-p"]=[],t["s-rc"]=[],L.set(t,n)},H=(t,e)=>e in t,R=(t,e)=>(0,console.error)(t,e),U=new Map,W=t=>{const e=t.m.replace(/-/g,"_"),n=t.T,l=U.get(n);return l?l[e]:import(`./${n}.entry.js`).then((t=>(U.set(n,t),t[e])),R)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},q=new Map,D="undefined"!=typeof window?window:{},F=D.document||{head:{}},V={i:0,P:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},_=t=>Promise.resolve(t),z=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),B=[],G=[],I=(t,n)=>l=>{t.push(l),e||(e=!0,n&&4&V.i?Q(K):V.raf(K))},J=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){R(t)}t.length=0},K=()=>{J(B),J(G),(e=B.length>0)&&V.raf(K)},Q=t=>_().then(t),X=I(G,!0);export{c as H,E as b,r as g,s as h,_ as p,T as r}