@maggioli-design-system/mds-table-row 2.0.2 → 3.1.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 (60) hide show
  1. package/dist/cjs/{index-516d954b.js → index-f0f000bc.js} +35 -4
  2. package/dist/cjs/loader.cjs.js +3 -2
  3. package/dist/cjs/mds-table-row.cjs.entry.js +2 -2
  4. package/dist/cjs/mds-table-row.cjs.js +6 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/components/mds-table-row/mds-table-row.css +1 -26
  7. package/dist/components/index.d.ts +9 -0
  8. package/dist/components/index.js +1 -1
  9. package/dist/components/mds-table-row.js +1 -1
  10. package/dist/esm/{index-e2bb9874.js → index-fa7f6909.js} +35 -5
  11. package/dist/esm/loader.js +3 -2
  12. package/dist/esm/mds-table-row.entry.js +2 -2
  13. package/dist/esm/mds-table-row.js +3 -2
  14. package/dist/esm/polyfills/css-shim.js +1 -1
  15. package/dist/esm-es5/index-fa7f6909.js +2 -0
  16. package/dist/esm-es5/loader.js +1 -1
  17. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  18. package/dist/esm-es5/mds-table-row.js +1 -1
  19. package/dist/mds-table-row/mds-table-row.esm.js +1 -1
  20. package/dist/mds-table-row/mds-table-row.js +1 -1
  21. package/dist/mds-table-row/p-4c63953c.entry.js +1 -0
  22. package/dist/mds-table-row/p-b0f4e920.system.js +2 -0
  23. package/dist/mds-table-row/p-e2b31e90.system.entry.js +1 -0
  24. package/dist/mds-table-row/p-e6313d30.system.js +1 -0
  25. package/dist/mds-table-row/p-f26de3ab.js +2 -0
  26. package/dist/stats.json +30 -51
  27. package/dist/types/stencil-public-runtime.d.ts +48 -3
  28. package/dist/types/types/autocomplete.d.ts +2 -2
  29. package/dist/types/types/button.d.ts +4 -4
  30. package/dist/types/types/floating-ui.d.ts +2 -2
  31. package/dist/types/types/form-rel.d.ts +1 -1
  32. package/dist/types/types/input-text-type.d.ts +1 -1
  33. package/dist/types/types/input-value-type.d.ts +1 -1
  34. package/dist/types/types/loading.d.ts +1 -1
  35. package/dist/types/types/typography.d.ts +8 -8
  36. package/dist/types/types/variant.d.ts +10 -10
  37. package/loader/index.d.ts +9 -0
  38. package/package.json +5 -5
  39. package/readme.md +0 -10
  40. package/src/components/mds-table-row/mds-table-row.css +2 -26
  41. package/src/components/mds-table-row/readme.md +0 -10
  42. package/src/fixtures/icons.json +3 -0
  43. package/www/build/mds-table-row.esm.js +1 -1
  44. package/www/build/mds-table-row.js +1 -1
  45. package/www/build/p-4c63953c.entry.js +1 -0
  46. package/www/build/p-b0f4e920.system.js +2 -0
  47. package/www/build/p-e2b31e90.system.entry.js +1 -0
  48. package/www/build/p-e6313d30.system.js +1 -0
  49. package/www/build/p-f26de3ab.js +2 -0
  50. package/dist/esm-es5/index-e2bb9874.js +0 -2
  51. package/dist/mds-table-row/p-2689570a.system.js +0 -2
  52. package/dist/mds-table-row/p-2a317845.system.entry.js +0 -1
  53. package/dist/mds-table-row/p-2ca79ad0.system.js +0 -1
  54. package/dist/mds-table-row/p-a14f9222.js +0 -2
  55. package/dist/mds-table-row/p-c9a97ed3.entry.js +0 -1
  56. package/www/build/p-2689570a.system.js +0 -2
  57. package/www/build/p-2a317845.system.entry.js +0 -1
  58. package/www/build/p-2ca79ad0.system.js +0 -1
  59. package/www/build/p-a14f9222.js +0 -2
  60. package/www/build/p-c9a97ed3.entry.js +0 -1
package/dist/stats.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2022-12-06T13:04:34",
2
+ "timestamp": "2023-01-20T18:28:46",
3
3
  "compiler": {
4
4
  "name": "node",
5
5
  "version": "18.3.0"
@@ -53,17 +53,17 @@
53
53
  "name": "dist-lazy",
54
54
  "files": 35,
55
55
  "generatedFiles": [
56
- "./dist/cjs/index-516d954b.js",
56
+ "./dist/cjs/index-f0f000bc.js",
57
57
  "./dist/cjs/index.cjs.js",
58
58
  "./dist/cjs/loader.cjs.js",
59
59
  "./dist/cjs/mds-table-row.cjs.entry.js",
60
60
  "./dist/cjs/mds-table-row.cjs.js",
61
- "./dist/esm-es5/index-e2bb9874.js",
61
+ "./dist/esm-es5/index-fa7f6909.js",
62
62
  "./dist/esm-es5/index.js",
63
63
  "./dist/esm-es5/loader.js",
64
64
  "./dist/esm-es5/mds-table-row.entry.js",
65
65
  "./dist/esm-es5/mds-table-row.js",
66
- "./dist/esm/index-e2bb9874.js",
66
+ "./dist/esm/index-fa7f6909.js",
67
67
  "./dist/esm/index.js",
68
68
  "./dist/esm/loader.js",
69
69
  "./dist/esm/mds-table-row.entry.js",
@@ -73,21 +73,21 @@
73
73
  "./dist/mds-table-row/index.esm.js",
74
74
  "./dist/mds-table-row/mds-table-row.esm.js",
75
75
  "./dist/mds-table-row/mds-table-row.js",
76
- "./dist/mds-table-row/p-2689570a.system.js",
77
- "./dist/mds-table-row/p-2a317845.system.entry.js",
78
- "./dist/mds-table-row/p-2ca79ad0.system.js",
76
+ "./dist/mds-table-row/p-4c63953c.entry.js",
79
77
  "./dist/mds-table-row/p-50ea2036.system.js",
80
- "./dist/mds-table-row/p-a14f9222.js",
81
- "./dist/mds-table-row/p-c9a97ed3.entry.js",
78
+ "./dist/mds-table-row/p-b0f4e920.system.js",
79
+ "./dist/mds-table-row/p-e2b31e90.system.entry.js",
80
+ "./dist/mds-table-row/p-e6313d30.system.js",
81
+ "./dist/mds-table-row/p-f26de3ab.js",
82
82
  "./www/build/index.esm.js",
83
83
  "./www/build/mds-table-row.esm.js",
84
84
  "./www/build/mds-table-row.js",
85
- "./www/build/p-2689570a.system.js",
86
- "./www/build/p-2a317845.system.entry.js",
87
- "./www/build/p-2ca79ad0.system.js",
85
+ "./www/build/p-4c63953c.entry.js",
88
86
  "./www/build/p-50ea2036.system.js",
89
- "./www/build/p-a14f9222.js",
90
- "./www/build/p-c9a97ed3.entry.js"
87
+ "./www/build/p-b0f4e920.system.js",
88
+ "./www/build/p-e2b31e90.system.entry.js",
89
+ "./www/build/p-e6313d30.system.js",
90
+ "./www/build/p-f26de3ab.js"
91
91
  ]
92
92
  },
93
93
  {
@@ -120,12 +120,12 @@
120
120
  "components": [
121
121
  "mds-table-row"
122
122
  ],
123
- "bundleId": "p-c9a97ed3",
124
- "fileName": "p-c9a97ed3.entry.js",
123
+ "bundleId": "p-4c63953c",
124
+ "fileName": "p-4c63953c.entry.js",
125
125
  "imports": [
126
- "p-a14f9222.js"
126
+ "p-f26de3ab.js"
127
127
  ],
128
- "originalByteSize": 1391
128
+ "originalByteSize": 1067
129
129
  }
130
130
  ],
131
131
  "esm": [
@@ -137,9 +137,9 @@
137
137
  "bundleId": "mds-table-row",
138
138
  "fileName": "mds-table-row.entry.js",
139
139
  "imports": [
140
- "index-e2bb9874.js"
140
+ "index-fa7f6909.js"
141
141
  ],
142
- "originalByteSize": 1395
142
+ "originalByteSize": 1071
143
143
  }
144
144
  ],
145
145
  "es5": [
@@ -151,9 +151,9 @@
151
151
  "bundleId": "mds-table-row",
152
152
  "fileName": "mds-table-row.entry.js",
153
153
  "imports": [
154
- "index-e2bb9874.js"
154
+ "index-fa7f6909.js"
155
155
  ],
156
- "originalByteSize": 1395
156
+ "originalByteSize": 1071
157
157
  }
158
158
  ],
159
159
  "system": [
@@ -162,12 +162,12 @@
162
162
  "components": [
163
163
  "mds-table-row"
164
164
  ],
165
- "bundleId": "p-2a317845.system",
166
- "fileName": "p-2a317845.system.entry.js",
165
+ "bundleId": "p-e2b31e90.system",
166
+ "fileName": "p-e2b31e90.system.entry.js",
167
167
  "imports": [
168
- "p-2689570a.system.js"
168
+ "p-b0f4e920.system.js"
169
169
  ],
170
- "originalByteSize": 1676
170
+ "originalByteSize": 1352
171
171
  }
172
172
  ],
173
173
  "commonjs": [
@@ -179,9 +179,9 @@
179
179
  "bundleId": "mds-table-row.cjs",
180
180
  "fileName": "mds-table-row.cjs.entry.js",
181
181
  "imports": [
182
- "index-516d954b.js"
182
+ "index-f0f000bc.js"
183
183
  ],
184
- "originalByteSize": 1465
184
+ "originalByteSize": 1141
185
185
  }
186
186
  ]
187
187
  },
@@ -308,28 +308,7 @@
308
308
  "legacyContext": [],
309
309
  "internal": false,
310
310
  "assetsDirs": [],
311
- "styleDocs": [
312
- {
313
- "name": "--background-row-hover",
314
- "docs": "The cell background-color when the mouse go over the table row element",
315
- "annotation": "prop"
316
- },
317
- {
318
- "name": "--border-color",
319
- "docs": "The border color between table rows",
320
- "annotation": "prop"
321
- },
322
- {
323
- "name": "--border-width",
324
- "docs": "The border width between table rows",
325
- "annotation": "prop"
326
- },
327
- {
328
- "name": "--radius",
329
- "docs": "The radius of the table (header and footer excluded)",
330
- "annotation": "prop"
331
- }
332
- ],
311
+ "styleDocs": [],
333
312
  "docs": {
334
313
  "tags": [],
335
314
  "text": ""
@@ -403,7 +382,7 @@
403
382
  ],
404
383
  "componentGraph": {
405
384
  "sc-mds-table-row": [
406
- "p-a14f9222.js"
385
+ "p-f26de3ab.js"
407
386
  ]
408
387
  },
409
388
  "sourceGraph": {
@@ -133,7 +133,7 @@ export interface ListenOptions {
133
133
  */
134
134
  passive?: boolean;
135
135
  }
136
- export declare type ListenTargetOptions = 'body' | 'document' | 'window';
136
+ export type ListenTargetOptions = 'body' | 'document' | 'window';
137
137
  export interface StateDecorator {
138
138
  (): PropertyDecorator;
139
139
  }
@@ -214,8 +214,8 @@ export declare const State: StateDecorator;
214
214
  * https://stenciljs.com/docs/reactive-data#watch-decorator
215
215
  */
216
216
  export declare const Watch: WatchDecorator;
217
- export declare type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
218
- export declare type ErrorHandler = (err: any, element?: HTMLElement) => void;
217
+ export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
218
+ export type ErrorHandler = (err: any, element?: HTMLElement) => void;
219
219
  /**
220
220
  * `setMode()` is used for libraries which provide multiple "modes" for styles.
221
221
  */
@@ -257,6 +257,15 @@ export declare function getAssetPath(path: string): string;
257
257
  * @returns the set path
258
258
  */
259
259
  export declare function setAssetPath(path: string): string;
260
+ /**
261
+ * Used to specify a nonce value that corresponds with an application's
262
+ * [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP).
263
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
264
+ * Alternatively, the nonce value can be set on a `meta` tag in the DOM head
265
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) and will result in the same behavior.
266
+ * @param nonce The value to be used for the nonce attribute.
267
+ */
268
+ export declare function setNonce(nonce: string): void;
260
269
  /**
261
270
  * Retrieve a Stencil element for a given reference
262
271
  * @param ref the ref to get the Stencil element for
@@ -433,8 +442,44 @@ interface HostAttributes {
433
442
  ref?: (el: HTMLElement | null) => void;
434
443
  [prop: string]: any;
435
444
  }
445
+ /**
446
+ * Utilities for working with functional Stencil components. An object
447
+ * conforming to this interface is passed by the Stencil runtime as the third
448
+ * argument to a functional component, allowing component authors to work with
449
+ * features like children.
450
+ *
451
+ * The children of a functional component will be passed as the second
452
+ * argument, so a functional component which uses these utils to transform its
453
+ * children might look like the following:
454
+ *
455
+ * ```ts
456
+ * export const AddClass: FunctionalComponent = (_, children, utils) => (
457
+ * utils.map(children, child => ({
458
+ * ...child,
459
+ * vattrs: {
460
+ * ...child.vattrs,
461
+ * class: `${child.vattrs.class} add-class`
462
+ * }
463
+ * }))
464
+ * );
465
+ * ```
466
+ *
467
+ * For more see the Stencil documentation, here:
468
+ * https://stenciljs.com/docs/functional-components
469
+ */
436
470
  export interface FunctionalUtilities {
471
+ /**
472
+ * Utility for reading the children of a functional component at runtime.
473
+ * Since the Stencil runtime uses a different interface for children it is
474
+ * not recommendeded to read the children directly, and is preferable to use
475
+ * this utility to, for instance, perform a side effect for each child.
476
+ */
437
477
  forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
478
+ /**
479
+ * Utility for transforming the children of a functional component. Given an
480
+ * array of children and a callback this will return a list of the results of
481
+ * passing each child to the supplied callback.
482
+ */
438
483
  map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
439
484
  }
440
485
  export interface FunctionalComponent<T = {}> {
@@ -1,2 +1,2 @@
1
- export declare type AutocompleteType = 'additional-name' | 'address' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'cc-additional-name' | 'cc-csc' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-family-name' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country' | 'country-name' | 'current-password' | 'email' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'impp' | 'language' | 'name' | 'new-password' | 'nickname' | 'off' | 'on' | 'one-time-code' | 'organization' | 'organization-title' | 'photo' | 'postal-code' | 'sex' | 'street-address' | 'tel' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-national' | 'transaction-amount' | 'transaction-currency' | 'url' | 'username';
2
- export declare type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
1
+ export type AutocompleteType = 'additional-name' | 'address' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'cc-additional-name' | 'cc-csc' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-family-name' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country' | 'country-name' | 'current-password' | 'email' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'impp' | 'language' | 'name' | 'new-password' | 'nickname' | 'off' | 'on' | 'one-time-code' | 'organization' | 'organization-title' | 'photo' | 'postal-code' | 'sex' | 'street-address' | 'tel' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-national' | 'transaction-amount' | 'transaction-currency' | 'url' | 'username';
2
+ export type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
@@ -1,4 +1,4 @@
1
- export declare type ButtonType = 'a' | 'button' | 'reset' | 'submit';
2
- export declare type ButtonSizeType = 'sm' | 'md' | 'lg' | 'xl';
3
- export declare type ButtonIconPositionType = 'left' | 'right';
4
- export declare type ButtonVariantType = 'primary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning';
1
+ export type ButtonType = 'a' | 'button' | 'reset' | 'submit';
2
+ export type ButtonSizeType = 'sm' | 'md' | 'lg' | 'xl';
3
+ export type ButtonIconPositionType = 'left' | 'right';
4
+ export type ButtonVariantType = 'primary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning';
@@ -1,2 +1,2 @@
1
- export declare type FloatingUIPlacement = 'bottom' | 'bottom-end' | 'bottom-start' | 'left' | 'left-end' | 'left-start' | 'right' | 'right-end' | 'right-start' | 'top' | 'top-end' | 'top-start';
2
- export declare type FloatingUIStrategy = 'absolute' | 'fixed';
1
+ export type FloatingUIPlacement = 'bottom' | 'bottom-end' | 'bottom-start' | 'left' | 'left-end' | 'left-start' | 'right' | 'right-end' | 'right-start' | 'top' | 'top-end' | 'top-start';
2
+ export type FloatingUIStrategy = 'absolute' | 'fixed';
@@ -1 +1 @@
1
- export declare type FormRelType = 'external' | 'help' | 'license' | 'next' | 'nofollow' | 'noopener' | 'noreferrer' | 'opener' | 'prev' | 'search';
1
+ export type FormRelType = 'external' | 'help' | 'license' | 'next' | 'nofollow' | 'noopener' | 'noreferrer' | 'opener' | 'prev' | 'search';
@@ -1 +1 @@
1
- export declare type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
1
+ export type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
@@ -1 +1 @@
1
- export declare type InputValueType = null | number | string | undefined;
1
+ export type InputValueType = null | number | string | undefined;
@@ -1 +1 @@
1
- export declare type LoadingType = 'eager' | 'lazy';
1
+ export type LoadingType = 'eager' | 'lazy';
@@ -1,8 +1,8 @@
1
- export declare type TypographyType = 'action' | 'caption' | 'snippet' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph' | 'tip';
2
- export declare type TypographyVariants = 'title' | 'info' | 'read' | 'code';
3
- export declare type TypographyTitleType = 'action' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
4
- export declare type TypographyInfoType = 'caption' | 'detail' | 'label' | 'option' | 'paragraph' | 'tip';
5
- export declare type TypographyReadType = 'caption' | 'detail' | 'paragraph';
6
- export declare type TypographySmallerType = 'tip' | 'option';
7
- export declare type TypographyMonoType = 'snippet' | 'hack';
8
- export declare type TypographyTooltipType = 'caption' | 'detail' | 'tip';
1
+ export type TypographyType = 'action' | 'caption' | 'snippet' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph' | 'tip';
2
+ export type TypographyVariants = 'title' | 'info' | 'read' | 'code';
3
+ export type TypographyTitleType = 'action' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
4
+ export type TypographyInfoType = 'caption' | 'detail' | 'label' | 'option' | 'paragraph' | 'tip';
5
+ export type TypographyReadType = 'caption' | 'detail' | 'paragraph';
6
+ export type TypographySmallerType = 'tip' | 'option';
7
+ export type TypographyMonoType = 'snippet' | 'hack';
8
+ export type TypographyTooltipType = 'caption' | 'detail' | 'tip';
@@ -1,10 +1,10 @@
1
- export declare type ThemeStatusVariantType = 'error' | 'info' | 'success' | 'warning';
2
- export declare type ThemeVariantType = 'dark' | 'error' | 'info' | 'light' | 'primary' | 'success' | 'warning';
3
- export declare type ThemeFullVariantType = 'amaranth' | 'aqua' | 'blue' | 'dark' | 'error' | 'green' | 'info' | 'light' | 'lime' | 'orange' | 'orchid' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
4
- export declare type ThemeLuminanceVariantType = 'dark' | 'light';
5
- export declare type LabelVariantType = 'amaranth' | 'aqua' | 'blue' | 'green' | 'lime' | 'orange' | 'orchid' | 'sky' | 'violet' | 'yellow';
6
- export declare type ActionVariantType = 'primary' | 'dark' | 'light';
7
- export declare type StateVariantType = 'disabled' | 'focused' | 'readonly';
8
- export declare type ToneVariantType = 'strong' | 'weak' | 'ghost' | 'quiet';
9
- export declare type ToneSimpleVariantType = 'strong' | 'weak' | 'quiet';
10
- export declare type ToneMinimalVariantType = 'strong' | 'weak';
1
+ export type ThemeStatusVariantType = 'error' | 'info' | 'success' | 'warning';
2
+ export type ThemeVariantType = 'dark' | 'error' | 'info' | 'light' | 'primary' | 'success' | 'warning';
3
+ export type ThemeFullVariantType = 'amaranth' | 'aqua' | 'blue' | 'dark' | 'error' | 'green' | 'info' | 'light' | 'lime' | 'orange' | 'orchid' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
4
+ export type ThemeLuminanceVariantType = 'dark' | 'light';
5
+ export type LabelVariantType = 'amaranth' | 'aqua' | 'blue' | 'green' | 'lime' | 'orange' | 'orchid' | 'sky' | 'violet' | 'yellow';
6
+ export type ActionVariantType = 'primary' | 'dark' | 'light';
7
+ export type StateVariantType = 'disabled' | 'focused' | 'readonly';
8
+ export type ToneVariantType = 'strong' | 'weak' | 'ghost' | 'quiet';
9
+ export type ToneSimpleVariantType = 'strong' | 'weak' | 'quiet';
10
+ export type ToneMinimalVariantType = 'strong' | 'weak';
package/loader/index.d.ts CHANGED
@@ -10,3 +10,12 @@ export interface CustomElementsDefineOptions {
10
10
  }
11
11
  export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
12
12
  export declare function applyPolyfills(): Promise<void>;
13
+
14
+ /**
15
+ * Used to specify a nonce value that corresponds with an application's CSP.
16
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
17
+ * Alternatively, the nonce value can be set on a meta tag in the DOM head
18
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) which
19
+ * will result in the same behavior.
20
+ */
21
+ export declare function setNonce(nonce: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/mds-table-row",
3
- "version": "2.0.2",
3
+ "version": "3.1.0",
4
4
  "description": "mds-table-row is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -22,15 +22,15 @@
22
22
  "prepublishOnly": "npm run build"
23
23
  },
24
24
  "dependencies": {
25
- "@maggioli-design-system/mds-table-cell": "^2.0.2",
26
- "@maggioli-design-system/styles": "^10.0.0",
27
- "@stencil/core": "^2.19.3"
25
+ "@maggioli-design-system/mds-table-cell": "^3.1.0",
26
+ "@maggioli-design-system/styles": "^10.0.1",
27
+ "@stencil/core": "^2.22.1"
28
28
  },
29
29
  "license": "MIT",
30
30
  "author": {
31
31
  "name": "Vittorio Vittori",
32
32
  "email": "vittorio.vittori@maggioli.it",
33
- "url": "http://vit.to"
33
+ "url": "https://vitto.github.io/vit.to/"
34
34
  },
35
35
  "contributors": [
36
36
  {
package/readme.md CHANGED
@@ -12,16 +12,6 @@
12
12
  | `interactive` | `interactive` | | `boolean` | `undefined` |
13
13
 
14
14
 
15
- ## CSS Custom Properties
16
-
17
- | Name | Description |
18
- | ------------------------ | ---------------------------------------------------------------------- |
19
- | `--background-row-hover` | The cell background-color when the mouse go over the table row element |
20
- | `--border-color` | The border color between table rows |
21
- | `--border-width` | The border width between table rows |
22
- | `--radius` | The radius of the table (header and footer excluded) |
23
-
24
-
25
15
  ----------------------------------------------
26
16
 
27
17
  Built with love @ **Maggioli Informatica / R&D Department**
@@ -1,34 +1,10 @@
1
1
  @tailwind utilities;
2
2
 
3
- /**
4
- * @prop --background-row-hover: The cell background-color when the mouse go over the table row element
5
- * @prop --border-color: The border color between table rows
6
- * @prop --border-width: The border width between table rows
7
- * @prop --radius: The radius of the table (header and footer excluded)
8
- */
9
-
10
3
  :host {
11
- @apply
12
- border-b
13
- table-row;
14
-
15
- border-bottom: var(--border-width, theme('borderWidth.2')) solid var(--border-color, theme('colors.tone-neutral-09'));
16
- }
17
-
18
- :host ( :first-child ) {
19
-
20
- --radius-top-left: var(--radius, theme('borderRadius.lg'));
21
- --radius-top-right: var(--radius, theme('borderRadius.lg'));
22
- }
23
-
24
- :host ( :last-child ) {
25
- @apply border-transparent;
26
-
27
- --radius-bottom-left: var(--radius, theme('borderRadius.lg'));
28
- --radius-bottom-right: var(--radius, theme('borderRadius.lg'));
4
+ @apply table-row;
29
5
  }
30
6
 
31
7
  :host ( [interactive]:hover ) {
32
8
 
33
- --background: var(--background-row-hover, theme('colors.tone-neutral'));
9
+ --mds-table-cell-background: var(--mds-table-cell-background-hover, theme('colors.tone-neutral'));
34
10
  }
@@ -12,16 +12,6 @@
12
12
  | `interactive` | `interactive` | | `boolean` | `undefined` |
13
13
 
14
14
 
15
- ## CSS Custom Properties
16
-
17
- | Name | Description |
18
- | ------------------------ | ---------------------------------------------------------------------- |
19
- | `--background-row-hover` | The cell background-color when the mouse go over the table row element |
20
- | `--border-color` | The border color between table rows |
21
- | `--border-width` | The border width between table rows |
22
- | `--radius` | The radius of the table (header and footer excluded) |
23
-
24
-
25
15
  ----------------------------------------------
26
16
 
27
17
  Built with love @ **Maggioli Informatica / R&D Department**
@@ -3,9 +3,12 @@
3
3
  "mdi/barley",
4
4
  "mdi/baseball",
5
5
  "mdi/crown",
6
+ "mdi/delete",
6
7
  "mdi/dots-vertical",
7
8
  "mdi/email",
8
9
  "mdi/harddisk",
10
+ "mdi/map-marker",
11
+ "mdi/replay",
9
12
  "mdi/vector-curve",
10
13
  "mi/baseline/account-balance",
11
14
  "mi/baseline/account-balance-wallet",
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-a14f9222.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t([["p-c9a97ed3",[[1,"mds-table-row",{interactive:[1540]},[[16,"tableInteractive","tableInteractiveHandler"]]]]]],e)));
1
+ import{p as e,b as t}from"./p-f26de3ab.js";export{s as setNonce}from"./p-f26de3ab.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t([["p-4c63953c",[[1,"mds-table-row",{interactive:[1540]},[[16,"tableInteractive","tableInteractiveHandler"]]]]]],e)));
@@ -115,7 +115,7 @@ DOMTokenList
115
115
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
116
116
  var start = function() {
117
117
  // if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
118
- var url = new URL('./p-2ca79ad0.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-e6313d30.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
119
119
  System.import(url.href);
120
120
  };
121
121
 
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as a}from"./p-f26de3ab.js";const t=class{constructor(r){o(this,r),this.interactive=void 0}tableInteractiveHandler(o){this.interactive=o.detail}render(){return r(a,{role:"row"},r("slot",null))}};t.style=".fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{display:table-row}:host([interactive]:hover){--mds-table-cell-background:var(--mds-table-cell-background-hover, rgb(var(--tone-neutral)))}";export{t as mds_table_row}
@@ -0,0 +1,2 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function o(e){try{u(r.next(e))}catch(e){i(e)}}function l(e){try{u(r["throw"](e))}catch(e){i(e)}}function u(e){e.done?n(e.value):a(e.value).then(o,l)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(t){return u([e,t])}}function u(l){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,l[0]&&(n=0)),n)try{if(r=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;a=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1];i=l;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(l);break}if(i[2])n.ops.pop();n.trys.pop();continue}l=t.call(e,n)}catch(e){l=[6,e];a=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,i;r<a;r++){if(i||!(r in t)){if(!i)i=Array.prototype.slice.call(t,0,r);i[r]=t[r]}}return e.concat(i||Array.prototype.slice.call(t))};System.register([],(function(e,t){"use strict";return{execute:function(){var n=this;var r="mds-table-row";var a;var i;var o=false;var l=false;var u=function(e,t){if(t===void 0){t=""}{return function(){return}}};var s=function(e,t){{return function(){return}}};var f="{visibility:hidden}[hydrated]{visibility:inherit}";var $={};var c=function(e){return e!=null};var v=function(e){e=typeof e;return e==="object"||e==="function"};function d(e){var t,n,r;return(r=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&r!==void 0?r:undefined}var p=e("h",(function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var i=false;var o=false;var l=[];var u=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){u(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!v(a)){a=String(a)}if(i&&o){l[l.length-1].$text$+=a}else{l.push(i?h(null,a):a)}o=i}}};u(n);var s=h(e,null);s.$attrs$=t;if(l.length>0){s.$children$=l}return s}));var h=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}return n};var m=e("H",{});var g=function(e){return e&&e.$tag$===m};var y=function(e,t){if(e!=null&&!v(e)){if(t&4){return e==="false"?false:e===""||!!e}return e}return e};var b=function(e,t,n){var r=de.ce(t,n);e.dispatchEvent(r);return r};var w=new WeakMap;var _=function(e,t,n){var r=$e.get(e);if(he&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}$e.set(e,r)};var S=function(e,t,n,r){var a;var i=N(t);var o=$e.get(i);e=e.nodeType===11?e:ve;if(o){if(typeof o==="string"){e=e.head||e;var l=w.get(e);var u=void 0;if(!l){w.set(e,l=new Set)}if(!l.has(i)){{{u=ve.createElement("style");u.innerHTML=o}var s=(a=de.$nonce$)!==null&&a!==void 0?a:d(ve);if(s!=null){u.setAttribute("nonce",s)}e.insertBefore(u,e.querySelector("link"))}if(l){l.add(i)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[o],false)}}return i};var R=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=u("attachStyles",t.$tagName$);var i=S(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}a()};var N=function(e,t){return"sc-"+e.$tagName$};var A=function(e,t,n,r,a,i){if(n!==r){var o=le(e,t);t.toLowerCase();{var l=v(r);if((o||l&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var u=r==null?"":r;if(t==="list"){o=false}else if(n==null||e[t]!=u){e[t]=u}}else{e[t]=r}}catch(e){}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!o||i&4||a)&&!l){r=r===true?"":r;{e.setAttribute(t,r)}}}}};var L=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||$;var o=t.$attrs$||$;{for(r in i){if(!(r in o)){A(a,r,i[r],undefined,n,t.$flags$)}}}for(r in o){A(a,r,i[r],o[r],n,t.$flags$)}};var C=function(e,t,n,r){var i=t.$children$[n];var l=0;var u;var s;{u=i.$elm$=ve.createElement(i.$tag$);{L(null,i,o)}if(c(a)&&u["s-si"]!==a){u.classList.add(u["s-si"]=a)}if(i.$children$){for(l=0;l<i.$children$.length;++l){s=C(e,i,l);if(s){u.appendChild(s)}}}}return u};var E=function(e,t,n,r,a,o){var l=e;var u;if(l.shadowRoot&&l.tagName===i){l=l.shadowRoot}for(;a<=o;++a){if(r[a]){u=C(null,n,a);if(u){r[a].$elm$=u;l.insertBefore(u,t)}}}};var x=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;a.remove()}}};var M=function(e,t,n,r){var a=0;var i=0;var o=t.length-1;var l=t[0];var u=t[o];var s=r.length-1;var f=r[0];var $=r[s];var c;while(a<=o&&i<=s){if(l==null){l=t[++a]}else if(u==null){u=t[--o]}else if(f==null){f=r[++i]}else if($==null){$=r[--s]}else if(P(l,f)){j(l,f);l=t[++a];f=r[++i]}else if(P(u,$)){j(u,$);u=t[--o];$=r[--s]}else if(P(l,$)){j(l,$);e.insertBefore(l.$elm$,u.$elm$.nextSibling);l=t[++a];$=r[--s]}else if(P(u,f)){j(u,f);e.insertBefore(u.$elm$,l.$elm$);u=t[--o];f=r[++i]}else{{c=C(t&&t[i],n,i);f=r[++i]}if(c){{l.$elm$.parentNode.insertBefore(c,l.$elm$)}}}}if(a>o){E(e,r[s+1]==null?null:r[s+1].$elm$,n,r,i,s)}else if(i>s){x(t,a,o)}};var P=function(e,t){if(e.$tag$===t.$tag$){return true}return false};var j=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var i=t.$tag$;{{if(i==="slot");else{L(e,t,o)}}if(r!==null&&a!==null){M(n,r,t,a)}else if(a!==null){E(n,null,t,a,0,a.length-1)}else if(r!==null){x(r,0,r.length-1)}}};var k=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var o=e.$vnode$||h(null,null);var l=g(t)?t:p(null,null,t);i=n.tagName;if(r.$attrsToReflect$){l.$attrs$=l.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return l.$attrs$[r]=n[t]}))}l.$tag$=null;l.$flags$|=4;e.$vnode$=l;l.$elm$=o.$elm$=n.shadowRoot||n;{a=n["s-sc"]}j(o,l)};var O=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var T=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}O(e,e.$ancestorComponent$);var n=function(){return q(e,t)};return Se(n)};var q=function(e,t){var n=u("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return H(r,t,n)}));e.$queuedListeners$=null}}}n();return V(a,(function(){return B(e,r,t)}))};var B=function(e,t,r){return __awaiter(n,void 0,void 0,(function(){var n,a,i,o,l,s;return __generator(this,(function(f){n=e.$hostElement$;a=u("update",e.$cmpMeta$.$tagName$);i=n["s-rc"];if(r){R(e)}o=u("render",e.$cmpMeta$.$tagName$);{I(e,t)}if(i){i.map((function(e){return e()}));n["s-rc"]=undefined}o();a();{l=n["s-p"];s=function(){return U(e)};if(l.length===0){s()}else{Promise.all(l).then(s);e.$flags$|=4;l.length=0}}return[2]}))}))};var I=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{k(e,t)}}}}catch(t){ue(t,e.$hostElement$)}return null};var U=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=u("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{W(n)}r();{e.$onReadyResolve$(n);if(!a){z()}}}else{r()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){_e((function(){return T(e,false)}))}e.$flags$&=~(4|512)}};var z=function(e){{W(ve.documentElement)}_e((function(){return b(ce,"appload",{detail:{namespace:r}})}))};var H=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){ue(e)}}return undefined};var V=function(e,t){return e&&e.then?e.then(t):t()};var W=function(e){return e.setAttribute("hydrated","")};var F=function(e,t){return ae(e).$instanceValues$.get(t)};var G=function(e,t,n,r){var a=ae(e);var i=a.$instanceValues$.get(t);var o=a.$flags$;var l=a.$lazyInstance$;n=y(n,r.$members$[t][0]);var u=Number.isNaN(i)&&Number.isNaN(n);var s=n!==i&&!u;if((!(o&8)||i===undefined)&&s){a.$instanceValues$.set(t,n);if(l){if((o&(2|16))===2){T(a,false)}}}};var D=function(e,t,n){if(t.$members$){var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],i=e[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,r,{get:function(){return F(this,r)},set:function(e){G(this,r,e,t)},configurable:true,enumerable:true})}}));if(n&1){var i=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;de.jmp((function(){var t=i.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;i.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var J=function(e,t,r,a,i){return __awaiter(n,void 0,void 0,(function(){var e,n,a,o,l,f,$;return __generator(this,(function(c){switch(c.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=fe(r);if(!i.then)return[3,2];e=s();return[4,i];case 1:i=c.sent();e();c.label=2;case 2:if(!i.isProxied){D(i,r,2);i.isProxied=true}n=u("createInstance",r.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){ue(e)}{t.$flags$&=~8}n();if(i.style){a=i.style;o=N(r);if(!$e.has(o)){l=u("registerStyles",r.$tagName$);_(o,a,!!(r.$flags$&1));l()}}c.label=3;case 3:f=t.$ancestorComponent$;$=function(){return T(t,true)};if(f&&f["s-rc"]){f["s-rc"].push($)}else{$()}return[2]}}))}))};var K=function(e){if((de.$flags$&1)===0){var t=ae(e);var n=t.$cmpMeta$;var r=u("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){O(t,t.$ancestorComponent$=a);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{J(e,t,n)}}else{Y(e,t,n.$listeners$)}r()}};var Q=function(e){if((de.$flags$&1)===0){var t=ae(e);{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}}};var X=e("b",(function(e,t){if(t===void 0){t={}}var n;var r=u();var a=[];var i=t.exclude||[];var o=ce.customElements;var l=ve.head;var s=l.querySelector("meta[charset]");var $=ve.createElement("style");var c=[];var v;var p=true;Object.assign(de,t);de.$resourcesUrl$=new URL(t.resourcesUrl||"./",ve.baseURI).href;e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}{n.$attrsToReflect$=[]}var r=n.$tagName$;var l=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;oe(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(p){c.push(this)}else{de.jmp((function(){return K(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;de.jmp((function(){return Q(e)}))};t.prototype.componentOnReady=function(){return ae(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!i.includes(r)&&!o.get(r)){a.push(r);o.define(r,D(l,n,1))}}))}));{$.innerHTML=a+f;$.setAttribute("data-styles","");var h=(n=de.$nonce$)!==null&&n!==void 0?n:d(ve);if(h!=null){$.setAttribute("nonce",h)}l.insertBefore($,s?s.nextSibling:l.firstChild)}p=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{de.jmp((function(){return v=setTimeout(z,30)}))}}r()}));var Y=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],i=n[2];var o=ee(e,r);var l=Z(t,i);var u=te(r);de.ael(o,a,l,u);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return de.rel(o,a,l,u)}))}))}};var Z=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(e){ue(e)}}};var ee=function(e,t){if(t&16)return ve.body;return e};var te=function(e){return(e&2)!==0};var ne=e("s",(function(e){return de.$nonce$=e}));var re=new WeakMap;var ae=function(e){return re.get(e)};var ie=e("r",(function(e,t){return re.set(t.$lazyInstance$=e,t)}));var oe=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}Y(e,n,t.$listeners$);return re.set(e,n)};var le=function(e,t){return t in e};var ue=function(e,t){return(0,console.error)(e,t)};var se=new Map;var fe=function(e,n,r){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var o=se.get(i);if(o){return o[a]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{se.set(i,e)}return e[a]}),ue)};var $e=new Map;var ce=typeof window!=="undefined"?window:{};var ve=ce.document||{head:{}};var de={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var pe=e("p",(function(e){return Promise.resolve(e)}));var he=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var me=[];var ge=[];var ye=function(e,t){return function(n){e.push(n);if(!l){l=true;if(t&&de.$flags$&4){_e(we)}else{de.raf(we)}}}};var be=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){ue(e)}}e.length=0};var we=function(){be(me);{be(ge);if(l=me.length>0){de.raf(we)}}};var _e=function(e){return pe().then(e)};var Se=ye(ge,true)}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-b0f4e920.system.js"],(function(t){"use strict";var r,o,e;return{setters:[function(t){r=t.r;o=t.h;e=t.H}],execute:function(){var a=".fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{display:table-row}:host([interactive]:hover){--mds-table-cell-background:var(--mds-table-cell-background-hover, rgb(var(--tone-neutral)))}";var s=t("mds_table_row",function(){function t(t){r(this,t);this.interactive=undefined}t.prototype.tableInteractiveHandler=function(t){this.interactive=t.detail};t.prototype.render=function(){return o(e,{role:"row"},o("slot",null))};return t}());s.style=a}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-b0f4e920.system.js"],(function(e,t){"use strict";var r,n;return{setters:[function(t){r=t.p;n=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var n={};if(e!==""){n.resourcesUrl=new URL(".",e).href}return r(n)};e().then((function(e){return n([["p-e2b31e90.system",[[1,"mds-table-row",{interactive:[1540]},[[16,"tableInteractive","tableInteractiveHandler"]]]]]],e)}))}}}));
@@ -0,0 +1,2 @@
1
+ let t,n,e=!1;const l={},o=t=>"object"==(t=typeof t)||"function"===t;function s(t){var n,e,l;return null!==(l=null===(e=null===(n=t.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const r=(t,n,...e)=>{let l=null,s=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)l=n[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof t&&!o(l))&&(l+=""),s&&r?c[c.length-1].t+=l:c.push(s?i(null,l):l),r=s)};u(e);const a=i(t,null);return a.l=n,c.length>0&&(a.o=c),a},i=(t,n)=>({i:0,u:t,t:n,h:null,o:null,l:null}),c={},u=new WeakMap,a=t=>"sc-"+t.$,f=(t,n,e,l,s,r)=>{if(e!==l){let i=q(t,n);n.toLowerCase();{const c=o(l);if((i||c&&null!==l)&&!s)try{if(t.tagName.includes("-"))t[n]=l;else{const o=null==l?"":l;"list"===n?i=!1:null!=e&&t[n]==o||(t[n]=o)}}catch(t){}null==l||!1===l?!1===l&&""!==t.getAttribute(n)||t.removeAttribute(n):(!i||4&r||s)&&!c&&t.setAttribute(n,l=!0===l?"":l)}}},d=(t,n,e,o)=>{const s=11===n.h.nodeType&&n.h.host?n.h.host:n.h,r=t&&t.l||l,i=n.l||l;for(o in r)o in i||f(s,o,r[o],void 0,e,n.i);for(o in i)f(s,o,r[o],i[o],e,n.i)},h=(n,e,l)=>{const o=e.o[l];let s,r,i=0;if(s=o.h=D.createElement(o.u),d(null,o,!1),null!=t&&s["s-si"]!==t&&s.classList.add(s["s-si"]=t),o.o)for(i=0;i<o.o.length;++i)r=h(n,o,i),r&&s.appendChild(r);return s},$=(t,e,l,o,s,r)=>{let i,c=t;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);s<=r;++s)o[s]&&(i=h(null,l,s),i&&(o[s].h=i,c.insertBefore(i,e)))},y=(t,n,e,l)=>{for(;n<=e;++n)(l=t[n])&&l.h.remove()},m=(t,n)=>t.u===n.u,p=(t,n)=>{const e=n.h=t.h,l=t.o,o=n.o;"slot"===n.u||d(t,n,!1),null!==l&&null!==o?((t,n,e,l)=>{let o,s=0,r=0,i=n.length-1,c=n[0],u=n[i],a=l.length-1,f=l[0],d=l[a];for(;s<=i&&r<=a;)null==c?c=n[++s]:null==u?u=n[--i]:null==f?f=l[++r]:null==d?d=l[--a]:m(c,f)?(p(c,f),c=n[++s],f=l[++r]):m(u,d)?(p(u,d),u=n[--i],d=l[--a]):m(c,d)?(p(c,d),t.insertBefore(c.h,u.h.nextSibling),c=n[++s],d=l[--a]):m(u,f)?(p(u,f),t.insertBefore(u.h,c.h),u=n[--i],f=l[++r]):(o=h(n&&n[r],e,r),f=l[++r],o&&c.h.parentNode.insertBefore(o,c.h));s>i?$(t,null==l[a+1]?null:l[a+1].h,e,l,r,a):r>a&&y(n,s,i)})(e,l,n,o):null!==o?$(e,null,n,o,0,o.length-1):null!==l&&y(l,0,l.length-1)},w=(t,n)=>{n&&!t.m&&n["s-p"]&&n["s-p"].push(new Promise((n=>t.m=n)))},b=(t,n)=>{if(t.i|=16,!(4&t.i))return w(t,t.p),nt((()=>v(t,n)));t.i|=512},v=(t,n)=>{const e=t.v;return n&&(t.i|=256,t.S&&(t.S.map((([t,n])=>k(e,t,n))),t.S=null)),C(void 0,(()=>S(t,e,n)))},S=async(t,n,e)=>{const l=t.g,o=l["s-rc"];e&&(t=>{const n=t.M,e=t.g,l=n.i,o=((t,n)=>{var e;let l=a(n);const o=z.get(l);if(t=11===t.nodeType?t:D,o)if("string"==typeof o){let n,r=u.get(t=t.head||t);if(r||u.set(t,r=new Set),!r.has(l)){{n=D.createElement("style"),n.innerHTML=o;const l=null!==(e=G.j)&&void 0!==e?e:s(D);null!=l&&n.setAttribute("nonce",l),t.insertBefore(n,t.querySelector("link"))}r&&r.add(l)}}else t.adoptedStyleSheets.includes(o)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]);return l})(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);10&l&&(e["s-sc"]=o,e.classList.add(o+"-h"))})(t);g(t,n),o&&(o.map((t=>t())),l["s-rc"]=void 0);{const n=l["s-p"],e=()=>M(t);0===n.length?e():(Promise.all(n).then(e),t.i|=4,n.length=0)}},g=(e,l)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l)=>{const o=e.g,s=e.M,u=e.k||i(null,null),a=(t=>t&&t.u===c)(l)?l:r(null,null,l);n=o.tagName,s.C&&(a.l=a.l||{},s.C.map((([t,n])=>a.l[n]=o[t]))),a.u=null,a.i|=4,e.k=a,a.h=u.h=o.shadowRoot||o,t=o["s-sc"],p(u,a)})(e,l)}catch(t){F(t,e.g)}return null},M=t=>{const n=t.g,e=t.p;64&t.i||(t.i|=64,O(n),t.O(n),e||j()),t.m&&(t.m(),t.m=void 0),512&t.i&&tt((()=>b(t,!1))),t.i&=-517},j=()=>{O(D.documentElement),tt((()=>(t=>{const n=G.ce("appload",{detail:{namespace:"mds-table-row"}});return t.dispatchEvent(n),n})(B)))},k=(t,n,e)=>{if(t&&t[n])try{return t[n](e)}catch(t){F(t)}},C=(t,n)=>t&&t.then?t.then(n):n(),O=t=>t.setAttribute("hydrated",""),P=(t,n,e)=>{if(n.P){const l=Object.entries(n.P),s=t.prototype;if(l.map((([t,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(s,t,{get(){return((t,n)=>R(this).N.get(n))(0,t)},set(e){((t,n,e,l)=>{const s=R(t),r=s.N.get(n),i=s.i,c=s.v;e=((t,n)=>null==t||o(t)?t:4&n?"false"!==t&&(""===t||!!t):t)(e,l.P[n][0]),8&i&&void 0!==r||e===r||Number.isNaN(r)&&Number.isNaN(e)||(s.N.set(n,e),c&&2==(18&i)&&b(s,!1))})(this,t,e,n)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;s.attributeChangedCallback=function(t,n,l){G.jmp((()=>{const n=e.get(t);if(this.hasOwnProperty(n))l=this[n],delete this[n];else if(s.hasOwnProperty(n)&&"number"==typeof this[n]&&this[n]==l)return;this[n]=(null!==l||"boolean"!=typeof this[n])&&l}))},t.observedAttributes=l.filter((([t,n])=>15&n[0])).map((([t,l])=>{const o=l[1]||t;return e.set(o,t),512&l[0]&&n.C.push([t,o]),o}))}}return t},x=(t,n={})=>{var e;const l=[],o=n.exclude||[],r=B.customElements,i=D.head,c=i.querySelector("meta[charset]"),u=D.createElement("style"),f=[];let d,h=!0;Object.assign(G,n),G.T=new URL(n.resourcesUrl||"./",D.baseURI).href,t.map((t=>{t[1].map((n=>{const e={i:n[0],$:n[1],P:n[2],A:n[3]};e.P=n[2],e.A=n[3],e.C=[];const s=e.$,i=class extends HTMLElement{constructor(t){super(t),W(t=this,e),1&e.i&&t.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),h?f.push(this):G.jmp((()=>(t=>{if(0==(1&G.i)){const n=R(t),e=n.M,l=()=>{};if(1&n.i)E(t,n,e.A);else{n.i|=1;{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){w(n,n.p=e);break}}e.P&&Object.entries(e.P).map((([n,[e]])=>{if(31&e&&t.hasOwnProperty(n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e,l,o)=>{if(0==(32&n.i)){{if(n.i|=32,(o=_(e)).then){const t=()=>{};o=await o,t()}o.isProxied||(P(o,e,2),o.isProxied=!0);const t=()=>{};n.i|=8;try{new o(n)}catch(t){F(t)}n.i&=-9,t()}if(o.style){let t=o.style;const n=a(e);if(!z.has(n)){const l=()=>{};((t,n,e)=>{let l=z.get(t);J&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,z.set(t,l)})(n,t,!!(1&e.i)),l()}}}const s=n.p,r=()=>b(n,!0);s&&s["s-rc"]?s["s-rc"].push(r):r()})(0,n,e)}l()}})(this)))}disconnectedCallback(){G.jmp((()=>(()=>{if(0==(1&G.i)){const t=R(this);t.H&&(t.H.map((t=>t())),t.H=void 0)}})()))}componentOnReady(){return R(this).L}};e.R=t[0],o.includes(s)||r.get(s)||(l.push(s),r.define(s,P(i,e,1)))}))}));{u.innerHTML=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const t=null!==(e=G.j)&&void 0!==e?e:s(D);null!=t&&u.setAttribute("nonce",t),i.insertBefore(u,c?c.nextSibling:i.firstChild)}h=!1,f.length?f.map((t=>t.connectedCallback())):G.jmp((()=>d=setTimeout(j,30)))},E=(t,n,e)=>{e&&e.map((([e,l,o])=>{const s=T(t,e),r=N(n,o),i=A(e);G.ael(s,l,r,i),(n.H=n.H||[]).push((()=>G.rel(s,l,r,i)))}))},N=(t,n)=>e=>{try{256&t.i?t.v[n](e):(t.S=t.S||[]).push([n,e])}catch(t){F(t)}},T=(t,n)=>16&n?D.body:t,A=t=>0!=(2&t),H=t=>G.j=t,L=new WeakMap,R=t=>L.get(t),U=(t,n)=>L.set(n.v=t,n),W=(t,n)=>{const e={i:0,g:t,M:n,N:new Map};return e.L=new Promise((t=>e.O=t)),t["s-p"]=[],t["s-rc"]=[],E(t,e,n.A),L.set(t,e)},q=(t,n)=>n in t,F=(t,n)=>(0,console.error)(t,n),V=new Map,_=t=>{const n=t.$.replace(/-/g,"_"),e=t.R,l=V.get(e);return l?l[n]:import(`./${e}.entry.js`).then((t=>(V.set(e,t),t[n])),F)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},z=new Map,B="undefined"!=typeof window?window:{},D=B.document||{head:{}},G={i:0,T:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,l)=>t.addEventListener(n,e,l),rel:(t,n,e,l)=>t.removeEventListener(n,e,l),ce:(t,n)=>new CustomEvent(t,n)},I=t=>Promise.resolve(t),J=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),K=[],Q=[],X=(t,n)=>l=>{t.push(l),e||(e=!0,n&&4&G.i?tt(Z):G.raf(Z))},Y=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){F(t)}t.length=0},Z=()=>{Y(K),Y(Q),(e=K.length>0)&&G.raf(Z)},tt=t=>I().then(t),nt=X(Q,!0);export{c as H,x as b,r as h,I as p,U as r,H as s}
@@ -1,2 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function i(e){try{l(n["throw"](e))}catch(e){o(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,i)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++){if(o||!(n in t)){if(!o)o=Array.prototype.slice.call(t,0,n);o[n]=t[n]}}return e.concat(o||Array.prototype.slice.call(t))};var NAMESPACE="mds-table-row";var scopeId;var hostTagName;var isSvgMode=false;var queuePending=false;var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var o=false;var s=false;var i=[];var l=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){l(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(o&&s){i[i.length-1].$text$+=a}else{i.push(o?newVNode(null,a):a)}s=o}}};l(r);var u=newVNode(e,null);u.$attrs$=t;if(i.length>0){u.$children$=i}return u};var newVNode=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}return r};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}return e}return e};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructableStylesheets&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r,n){var a=getScopeId(t);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var s=rootAppliedStyles.get(e);var i=void 0;if(!s){rootAppliedStyles.set(e,s=new Set)}if(!s.has(a)){{{i=doc.createElement("style");i.innerHTML=o}e.insertBefore(i,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[o],false)}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=o;r.classList.add(o+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var setAccessor=function(e,t,r,n,a,o){if(r!==n){var s=isMemberInElement(e,t);t.toLowerCase();{var i=isComplexType(n);if((s||i&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var l=n==null?"":n;if(t==="list"){s=false}else if(r==null||e[t]!=l){e[t]=l}}else{e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!s||o&4||a)&&!i){n=n===true?"":n;{e.setAttribute(t,n)}}}}};var updateElement=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var s=t.$attrs$||EMPTY_OBJ;{for(n in o){if(!(n in s)){setAccessor(a,n,o[n],undefined,r,t.$flags$)}}}for(n in s){setAccessor(a,n,o[n],s[n],r,t.$flags$)}};var createElm=function(e,t,r,n){var a=t.$children$[r];var o=0;var s;var i;{s=a.$elm$=doc.createElement(a.$tag$);{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o);if(i){s.appendChild(i)}}}}return s};var addVnodes=function(e,t,r,n,a,o){var s=e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(n[a]){i=createElm(null,r,a);if(i){n[a].$elm$=i;s.insertBefore(i,t)}}}};var removeVnodes=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;a.remove()}}};var updateChildren=function(e,t,r,n){var a=0;var o=0;var s=t.length-1;var i=t[0];var l=t[s];var u=n.length-1;var c=n[0];var f=n[u];var $;while(a<=s&&o<=u){if(i==null){i=t[++a]}else if(l==null){l=t[--s]}else if(c==null){c=n[++o]}else if(f==null){f=n[--u]}else if(isSameVnode(i,c)){patch(i,c);i=t[++a];c=n[++o]}else if(isSameVnode(l,f)){patch(l,f);l=t[--s];f=n[--u]}else if(isSameVnode(i,f)){patch(i,f);e.insertBefore(i.$elm$,l.$elm$.nextSibling);i=t[++a];f=n[--u]}else if(isSameVnode(l,c)){patch(l,c);e.insertBefore(l.$elm$,i.$elm$);l=t[--s];c=n[++o]}else{{$=createElm(t&&t[o],r,o);c=n[++o]}if($){{i.$elm$.parentNode.insertBefore($,i.$elm$)}}}}if(a>s){addVnodes(e,n[u+1]==null?null:n[u+1].$elm$,r,n,o,u)}else if(o>u){removeVnodes(t,a,s)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){return true}return false};var patch=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var o=t.$tag$;{{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(n!==null&&a!==null){updateChildren(r,n,t,a)}else if(a!==null){addVnodes(r,null,t,a,0,a.length-1)}else if(n!==null){removeVnodes(n,0,n.length-1)}}};var renderVdom=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=r.tagName;if(n.$attrsToReflect$){o.$attrs$=o.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return o.$attrs$[n]=r[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=a.$elm$=r.shadowRoot||r;{scopeId=r["s-sc"]}patch(a,o)};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return safeCall(n,t,r)}));e.$queuedListeners$=null}}}r();return then(a,(function(){return updateComponent(e,n,t)}))};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,o,s,i,l;return __generator(this,(function(u){n=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=n["s-rc"];if(r){attachStyles(e)}s=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));n["s-rc"]=undefined}s();a();{i=n["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(r)}n();{e.$onReadyResolve$(r);if(!a){appDidLoad()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var o=a.$instanceValues$.get(t);var s=a.$flags$;var i=a.$lazyInstance$;r=parsePropertyValue(r,n.$members$[t][0]);var l=Number.isNaN(o)&&Number.isNaN(r);var u=r!==o&&!l;if((!(s&8)||o===undefined)&&u){a.$instanceValues$.set(t,r);if(i){if((s&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){if(t.$members$){var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],o=e[1][0];if(o&31||r&2&&o&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;plt.jmp((function(){var t=o.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;o.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var initializeComponent=function(e,t,r,n,a){return __awaiter(void 0,void 0,void 0,(function(){var e,n,o,s,i,l,u;return __generator(this,(function(c){switch(c.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(r);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=c.sent();e();c.label=2;case 2:if(!a.isProxied){proxyComponent(a,r,2);a.isProxied=true}n=createTime("createInstance",r.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}n();if(a.style){o=a.style;s=getScopeId(r);if(!styles.has(s)){i=createTime("registerStyles",r.$tagName$);registerStyle(s,o,!!(r.$flags$&1));i()}}c.label=3;case 3:l=t.$ancestorComponent$;u=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(u)}else{u()}return[2]}}))}))};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var r=t.$cmpMeta$;var n=createTime("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.$listeners$)}n()}};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r=createTime();var n=[];var a=t.exclude||[];var o=win.customElements;var s=doc.head;var i=s.querySelector("meta[charset]");var l=doc.createElement("style");var u=[];var c;var f=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}var s=r.$tagName$;var i=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;registerHost(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(f){u.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(s)&&!o.get(s)){n.push(s);o.define(s,proxyComponent(i,r,1))}}))}));{l.innerHTML=n+HYDRATED_CSS;l.setAttribute("data-styles","");s.insertBefore(l,i?i.nextSibling:s.firstChild)}f=false;if(u.length){u.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}r()};var addHostEventListeners=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],o=r[2];var s=getHostListenerTarget(e,n);var i=hostListenerProxy(t,o);var l=hostListenerOpts(n);plt.ael(s,a,i,l);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(s,a,i,l)}))}))}};var hostListenerProxy=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&16)return doc.body;return e};var hostListenerOpts=function(e){return(e&2)!==0};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,t.$listeners$);return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[n]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,bootstrapLazy as b,h,promiseResolve as p,registerInstance as r};