@maggioli-design-system/mds-list 3.4.1 → 3.5.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.
- package/dist/cjs/{index-8b891baa.js → index-9c256f25.js} +62 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-list.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/common/keyboard-manager.js +2 -2
- package/dist/collection/dictionary/input.js +21 -0
- package/dist/collection/dictionary/typography.js +5 -1
- package/dist/documentation.json +3 -3
- package/dist/esm/{index-fc613209.js → index-91cc404a.js} +62 -7
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-list.js +3 -3
- package/dist/esm-es5/index-91cc404a.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-list.js +1 -1
- package/dist/mds-list/mds-list.esm.js +1 -1
- package/dist/mds-list/mds-list.js +1 -1
- package/dist/mds-list/p-5ca4f187.system.js +2 -0
- package/dist/mds-list/{p-0fa53149.entry.js → p-6405aac0.entry.js} +1 -1
- package/dist/mds-list/{p-141c9873.system.entry.js → p-8bf8e6ee.system.entry.js} +1 -1
- package/dist/mds-list/p-b6cf7a75.js +2 -0
- package/dist/mds-list/p-f85753c1.system.js +1 -0
- package/dist/stats.json +32 -32
- package/dist/types/dictionary/input.d.ts +4 -0
- package/dist/types/dictionary/typography.d.ts +2 -1
- package/dist/types/interface/input-value.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +21 -0
- package/dist/types/type/input.d.ts +4 -0
- package/dist/types/type/typography.d.ts +1 -0
- package/documentation.json +27 -12
- package/package.json +4 -4
- package/src/common/keyboard-manager.ts +2 -2
- package/src/dictionary/input.ts +30 -0
- package/src/dictionary/typography.ts +7 -1
- package/src/fixtures/icons.json +18 -0
- package/src/fixtures/iconsauce.json +16 -0
- package/src/interface/input-value.ts +1 -1
- package/src/type/input.ts +25 -0
- package/src/type/typography.ts +4 -0
- package/www/build/mds-list.esm.js +1 -1
- package/www/build/mds-list.js +1 -1
- package/www/build/p-5ca4f187.system.js +2 -0
- package/www/build/{p-0fa53149.entry.js → p-6405aac0.entry.js} +1 -1
- package/www/build/{p-141c9873.system.entry.js → p-8bf8e6ee.system.entry.js} +1 -1
- package/www/build/p-b6cf7a75.js +2 -0
- package/www/build/p-f85753c1.system.js +1 -0
- package/dist/collection/dictionary/input-text-type.js +0 -13
- package/dist/collection/type/input-value-type.js +0 -1
- package/dist/esm-es5/index-fc613209.js +0 -2
- package/dist/mds-list/p-21fac44b.js +0 -2
- package/dist/mds-list/p-39e961ff.system.js +0 -2
- package/dist/mds-list/p-6f7d2a18.system.js +0 -1
- package/dist/types/dictionary/input-text-type.d.ts +0 -2
- package/dist/types/type/input-text-type.d.ts +0 -1
- package/dist/types/type/input-value-type.d.ts +0 -1
- package/src/dictionary/input-text-type.ts +0 -17
- package/src/type/input-text-type.ts +0 -11
- package/src/type/input-value-type.ts +0 -5
- package/www/build/p-21fac44b.js +0 -2
- package/www/build/p-39e961ff.system.js +0 -2
- package/www/build/p-6f7d2a18.system.js +0 -1
- /package/dist/collection/type/{input-text-type.js → input.js} +0 -0
|
@@ -506,6 +506,10 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
506
506
|
*/
|
|
507
507
|
const callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
508
508
|
try {
|
|
509
|
+
/**
|
|
510
|
+
* minification optimization: `allRenderFn` is `true` if all components have a `render`
|
|
511
|
+
* method, so we can call the method immediately. If not, check before calling it.
|
|
512
|
+
*/
|
|
509
513
|
instance = instance.render() ;
|
|
510
514
|
{
|
|
511
515
|
hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
|
|
@@ -587,7 +591,18 @@ const addHydratedFlag = (elm) => elm.setAttribute('hydrated', '')
|
|
|
587
591
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
588
592
|
return Cstr;
|
|
589
593
|
};
|
|
590
|
-
|
|
594
|
+
/**
|
|
595
|
+
* Initialize a Stencil component given a reference to its host element, its
|
|
596
|
+
* runtime bookkeeping data structure, runtime metadata about the component,
|
|
597
|
+
* and (optionally) an HMR version ID.
|
|
598
|
+
*
|
|
599
|
+
* @param elm a host element
|
|
600
|
+
* @param hostRef the element's runtime bookkeeping object
|
|
601
|
+
* @param cmpMeta runtime metadata for the Stencil component
|
|
602
|
+
* @param hmrVersionId an (optional) HMR version ID
|
|
603
|
+
*/
|
|
604
|
+
const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
605
|
+
let Cstr;
|
|
591
606
|
// initializeComponent
|
|
592
607
|
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
593
608
|
// Let the runtime know that the component has been initialized
|
|
@@ -792,22 +807,49 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
792
807
|
* @returns void
|
|
793
808
|
*/
|
|
794
809
|
const setNonce = (nonce) => (plt.$nonce$ = nonce);
|
|
810
|
+
/**
|
|
811
|
+
* A WeakMap mapping runtime component references to their corresponding host reference
|
|
812
|
+
* instances.
|
|
813
|
+
*/
|
|
795
814
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
815
|
+
/**
|
|
816
|
+
* Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}
|
|
817
|
+
*
|
|
818
|
+
* @param ref the runtime ref of interest
|
|
819
|
+
* @returns the Host reference (if found) or undefined
|
|
820
|
+
*/
|
|
796
821
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
822
|
+
/**
|
|
823
|
+
* Register a lazy instance with the {@link hostRefs} object so it's
|
|
824
|
+
* corresponding {@link d.HostRef} can be retrieved later.
|
|
825
|
+
*
|
|
826
|
+
* @param lazyInstance the lazy instance of interest
|
|
827
|
+
* @param hostRef that instances `HostRef` object
|
|
828
|
+
* @returns a reference to the host ref WeakMap
|
|
829
|
+
*/
|
|
797
830
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
798
|
-
|
|
831
|
+
/**
|
|
832
|
+
* Register a host element for a Stencil component, setting up various metadata
|
|
833
|
+
* and callbacks based on {@link BUILD} flags as well as the component's runtime
|
|
834
|
+
* metadata.
|
|
835
|
+
*
|
|
836
|
+
* @param hostElement the host element to register
|
|
837
|
+
* @param cmpMeta runtime metadata for that component
|
|
838
|
+
* @returns a reference to the host ref WeakMap
|
|
839
|
+
*/
|
|
840
|
+
const registerHost = (hostElement, cmpMeta) => {
|
|
799
841
|
const hostRef = {
|
|
800
842
|
$flags$: 0,
|
|
801
|
-
$hostElement$:
|
|
843
|
+
$hostElement$: hostElement,
|
|
802
844
|
$cmpMeta$: cmpMeta,
|
|
803
845
|
$instanceValues$: new Map(),
|
|
804
846
|
};
|
|
805
847
|
{
|
|
806
848
|
hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
|
|
807
|
-
|
|
808
|
-
|
|
849
|
+
hostElement['s-p'] = [];
|
|
850
|
+
hostElement['s-rc'] = [];
|
|
809
851
|
}
|
|
810
|
-
return hostRefs.set(
|
|
852
|
+
return hostRefs.set(hostElement, hostRef);
|
|
811
853
|
};
|
|
812
854
|
const consoleError = (e, el) => (0, console.error)(e, el);
|
|
813
855
|
const cmpModules = /*@__PURE__*/ new Map();
|
|
@@ -819,7 +861,20 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
819
861
|
if (module) {
|
|
820
862
|
return module[exportName];
|
|
821
863
|
}
|
|
822
|
-
|
|
864
|
+
|
|
865
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
866
|
+
const processMod = importedModule => {
|
|
867
|
+
cmpModules.set(bundleId, importedModule);
|
|
868
|
+
return importedModule[exportName];
|
|
869
|
+
}
|
|
870
|
+
switch(bundleId) {
|
|
871
|
+
|
|
872
|
+
case 'mds-list.cjs':
|
|
873
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
874
|
+
/* webpackMode: "lazy" */
|
|
875
|
+
'./mds-list.cjs.entry.js')); }).then(processMod, consoleError);
|
|
876
|
+
}
|
|
877
|
+
}
|
|
823
878
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
824
879
|
/* @vite-ignore */
|
|
825
880
|
/* webpackInclude: /\.entry\.js$/ */
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-9c256f25.js');
|
|
6
6
|
|
|
7
7
|
const defineCustomElements = (win, options) => {
|
|
8
8
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-9c256f25.js');
|
|
6
6
|
|
|
7
7
|
const mdsListCss = ".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{gap:1rem;padding-left:1rem;display:grid}ul{margin:0px;padding:0px}";
|
|
8
8
|
|
package/dist/cjs/mds-list.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-9c256f25.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.
|
|
8
|
+
Stencil Client Patch Browser v4.7.1 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchBrowser = () => {
|
|
11
11
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-list.cjs.js', document.baseURI).href));
|
|
@@ -26,13 +26,13 @@ export class KeyboardManager {
|
|
|
26
26
|
};
|
|
27
27
|
this.attachEscapeBehavior = (callBack) => {
|
|
28
28
|
this.escapeCallback = callBack;
|
|
29
|
-
if (
|
|
29
|
+
if (window !== undefined) {
|
|
30
30
|
window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
this.detachEscapeBehavior = () => {
|
|
34
34
|
this.escapeCallback = () => { return; };
|
|
35
|
-
if (
|
|
35
|
+
if (window !== undefined) {
|
|
36
36
|
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const inputTextTypeDictionary = [
|
|
2
|
+
'date',
|
|
3
|
+
'email',
|
|
4
|
+
'number',
|
|
5
|
+
'password',
|
|
6
|
+
'search',
|
|
7
|
+
'tel',
|
|
8
|
+
'text',
|
|
9
|
+
'textarea',
|
|
10
|
+
'time',
|
|
11
|
+
'url',
|
|
12
|
+
];
|
|
13
|
+
const inputControlsLayoutDictionary = [
|
|
14
|
+
'horizontal',
|
|
15
|
+
'vertical',
|
|
16
|
+
];
|
|
17
|
+
const inputControlsIconDictionary = [
|
|
18
|
+
'arrow',
|
|
19
|
+
'arithmetic',
|
|
20
|
+
];
|
|
21
|
+
export { inputControlsIconDictionary, inputControlsLayoutDictionary, inputTextTypeDictionary, };
|
|
@@ -60,4 +60,8 @@ const typographyTooltipDictionary = [
|
|
|
60
60
|
'detail',
|
|
61
61
|
'tip',
|
|
62
62
|
];
|
|
63
|
-
|
|
63
|
+
const typographyInputDictionary = [
|
|
64
|
+
'snippet',
|
|
65
|
+
'detail',
|
|
66
|
+
];
|
|
67
|
+
export { typographyDictionary, typographyInfoDictionary, typographyInputDictionary, typographyMonoDictionary, typographyReadDictionary, typographyReadingVariationsDictionary, typographySmallerDictionary, typographyTitleDictionary, typographyTooltipDictionary, typographyVariationsDictionary, };
|
package/dist/documentation.json
CHANGED
|
@@ -484,6 +484,10 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
484
484
|
*/
|
|
485
485
|
const callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
486
486
|
try {
|
|
487
|
+
/**
|
|
488
|
+
* minification optimization: `allRenderFn` is `true` if all components have a `render`
|
|
489
|
+
* method, so we can call the method immediately. If not, check before calling it.
|
|
490
|
+
*/
|
|
487
491
|
instance = instance.render() ;
|
|
488
492
|
{
|
|
489
493
|
hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
|
|
@@ -565,7 +569,18 @@ const addHydratedFlag = (elm) => elm.setAttribute('hydrated', '')
|
|
|
565
569
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
566
570
|
return Cstr;
|
|
567
571
|
};
|
|
568
|
-
|
|
572
|
+
/**
|
|
573
|
+
* Initialize a Stencil component given a reference to its host element, its
|
|
574
|
+
* runtime bookkeeping data structure, runtime metadata about the component,
|
|
575
|
+
* and (optionally) an HMR version ID.
|
|
576
|
+
*
|
|
577
|
+
* @param elm a host element
|
|
578
|
+
* @param hostRef the element's runtime bookkeeping object
|
|
579
|
+
* @param cmpMeta runtime metadata for the Stencil component
|
|
580
|
+
* @param hmrVersionId an (optional) HMR version ID
|
|
581
|
+
*/
|
|
582
|
+
const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
583
|
+
let Cstr;
|
|
569
584
|
// initializeComponent
|
|
570
585
|
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
571
586
|
// Let the runtime know that the component has been initialized
|
|
@@ -770,22 +785,49 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
770
785
|
* @returns void
|
|
771
786
|
*/
|
|
772
787
|
const setNonce = (nonce) => (plt.$nonce$ = nonce);
|
|
788
|
+
/**
|
|
789
|
+
* A WeakMap mapping runtime component references to their corresponding host reference
|
|
790
|
+
* instances.
|
|
791
|
+
*/
|
|
773
792
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
793
|
+
/**
|
|
794
|
+
* Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}
|
|
795
|
+
*
|
|
796
|
+
* @param ref the runtime ref of interest
|
|
797
|
+
* @returns the Host reference (if found) or undefined
|
|
798
|
+
*/
|
|
774
799
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
800
|
+
/**
|
|
801
|
+
* Register a lazy instance with the {@link hostRefs} object so it's
|
|
802
|
+
* corresponding {@link d.HostRef} can be retrieved later.
|
|
803
|
+
*
|
|
804
|
+
* @param lazyInstance the lazy instance of interest
|
|
805
|
+
* @param hostRef that instances `HostRef` object
|
|
806
|
+
* @returns a reference to the host ref WeakMap
|
|
807
|
+
*/
|
|
775
808
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
776
|
-
|
|
809
|
+
/**
|
|
810
|
+
* Register a host element for a Stencil component, setting up various metadata
|
|
811
|
+
* and callbacks based on {@link BUILD} flags as well as the component's runtime
|
|
812
|
+
* metadata.
|
|
813
|
+
*
|
|
814
|
+
* @param hostElement the host element to register
|
|
815
|
+
* @param cmpMeta runtime metadata for that component
|
|
816
|
+
* @returns a reference to the host ref WeakMap
|
|
817
|
+
*/
|
|
818
|
+
const registerHost = (hostElement, cmpMeta) => {
|
|
777
819
|
const hostRef = {
|
|
778
820
|
$flags$: 0,
|
|
779
|
-
$hostElement$:
|
|
821
|
+
$hostElement$: hostElement,
|
|
780
822
|
$cmpMeta$: cmpMeta,
|
|
781
823
|
$instanceValues$: new Map(),
|
|
782
824
|
};
|
|
783
825
|
{
|
|
784
826
|
hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
|
|
785
|
-
|
|
786
|
-
|
|
827
|
+
hostElement['s-p'] = [];
|
|
828
|
+
hostElement['s-rc'] = [];
|
|
787
829
|
}
|
|
788
|
-
return hostRefs.set(
|
|
830
|
+
return hostRefs.set(hostElement, hostRef);
|
|
789
831
|
};
|
|
790
832
|
const consoleError = (e, el) => (0, console.error)(e, el);
|
|
791
833
|
const cmpModules = /*@__PURE__*/ new Map();
|
|
@@ -797,7 +839,20 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
797
839
|
if (module) {
|
|
798
840
|
return module[exportName];
|
|
799
841
|
}
|
|
800
|
-
|
|
842
|
+
|
|
843
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
844
|
+
const processMod = importedModule => {
|
|
845
|
+
cmpModules.set(bundleId, importedModule);
|
|
846
|
+
return importedModule[exportName];
|
|
847
|
+
}
|
|
848
|
+
switch(bundleId) {
|
|
849
|
+
|
|
850
|
+
case 'mds-list':
|
|
851
|
+
return import(
|
|
852
|
+
/* webpackMode: "lazy" */
|
|
853
|
+
'./mds-list.entry.js').then(processMod, consoleError);
|
|
854
|
+
}
|
|
855
|
+
}
|
|
801
856
|
return import(
|
|
802
857
|
/* @vite-ignore */
|
|
803
858
|
/* webpackInclude: /\.entry\.js$/ */
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-91cc404a.js';
|
|
2
|
+
export { s as setNonce } from './index-91cc404a.js';
|
|
3
3
|
|
|
4
4
|
const defineCustomElements = (win, options) => {
|
|
5
5
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-91cc404a.js';
|
|
2
2
|
|
|
3
3
|
const mdsListCss = ".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{gap:1rem;padding-left:1rem;display:grid}ul{margin:0px;padding:0px}";
|
|
4
4
|
|
package/dist/esm/mds-list.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-91cc404a.js';
|
|
2
|
+
export { s as setNonce } from './index-91cc404a.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser v4.
|
|
5
|
+
Stencil Client Patch Browser v4.7.1 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchBrowser = () => {
|
|
8
8
|
const importMeta = import.meta.url;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(n,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t))e[t]=n[t]};return e(n,t)};return function(n,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,n,t,r){function i(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function u(e){try{c(r["throw"](e))}catch(e){o(e)}}function c(e){e.done?t(e.value):i(e.value).then(a,u)}c((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(n){return c([e,n])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(t=0)),t)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:t.label++;return{value:u[1],done:false};case 5:t.label++;i=u[1];u=[0];continue;case 7:u=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){t.label=u[1];break}if(u[0]===6&&t.label<o[1]){t.label=o[1];o=u;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(u);break}if(o[2])t.ops.pop();t.trys.pop();continue}u=n.call(e,t)}catch(e){u=[6,e];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var r=0,i=n.length,o;r<i;r++){if(o||!(r in n)){if(!o)o=Array.prototype.slice.call(n,0,r);o[r]=n[r]}}return e.concat(o||Array.prototype.slice.call(n))};var NAMESPACE="mds-list";var scopeId;var hostTagName;var queuePending=false;var createTime=function(e,n){if(n===void 0){n=""}{return function(){return}}};var uniqueTime=function(e,n){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var n,t,r;return(r=(t=(n=e.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||t===void 0?void 0:t.getAttribute("content"))!==null&&r!==void 0?r:undefined}var h=function(e,n){var t=[];for(var r=2;r<arguments.length;r++){t[r-2]=arguments[r]}var i=null;var o=false;var a=false;var u=[];var c=function(n){for(var t=0;t<n.length;t++){i=n[t];if(Array.isArray(i)){c(i)}else if(i!=null&&typeof i!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(i)){i=String(i)}if(o&&a){u[u.length-1].t+=i}else{u.push(o?newVNode(null,i):i)}a=o}}};c(t);var s=newVNode(e,null);s.i=n;if(u.length>0){s.o=u}return s};var newVNode=function(e,n){var t={u:0,l:e,t:n,v:null,o:null};return t};var Host={};var isHost=function(e){return e&&e.l===Host};var emitEvent=function(e,n,t){var r=plt.ce(n,t);e.dispatchEvent(r);return r};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,n,t){var r=styles.get(e);if(supportsConstructableStylesheets&&t){r=r||new CSSStyleSheet;if(typeof r==="string"){r=n}else{r.replaceSync(n)}}else{r=n}styles.set(e,r)};var addStyle=function(e,n,t){var r;var i=getScopeId(n);var o=styles.get(i);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var a=rootAppliedStyles.get(e);var u=void 0;if(!a){rootAppliedStyles.set(e,a=new Set)}if(!a.has(i)){{u=doc.createElement("style");u.innerHTML=o;var c=(r=plt.p)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(c!=null){u.setAttribute("nonce",c)}e.insertBefore(u,e.querySelector("link"))}if(a){a.add(i)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[o],false)}}return i};var attachStyles=function(e){var n=e.m;var t=e.$hostElement$;var r=n.u;var i=createTime("attachStyles",n.h);var o=addStyle(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);if(r&10){t["s-sc"]=o;t.classList.add(o+"-h")}i()};var getScopeId=function(e,n){return"sc-"+e.h};var createElm=function(e,n,t,r){var i=n.o[t];var o=0;var a;var u;{a=i.v=doc.createElement(i.l);if(isDef(scopeId)&&a["s-si"]!==scopeId){a.classList.add(a["s-si"]=scopeId)}if(i.o){for(o=0;o<i.o.length;++o){u=createElm(e,i,o);if(u){a.appendChild(u)}}}}return a};var addVnodes=function(e,n,t,r,i,o){var a=e;var u;if(a.shadowRoot&&a.tagName===hostTagName){a=a.shadowRoot}for(;i<=o;++i){if(r[i]){u=createElm(null,t,i);if(u){r[i].v=u;a.insertBefore(u,n)}}}};var patch=function(e,n){var t=n.v=e.v;var r=n.o;{if(r!==null){addVnodes(t,null,n,r,0,r.length-1)}else;}};var renderVdom=function(e,n,t){if(t===void 0){t=false}var r=e.$hostElement$;var i=e.S||newVNode(null,null);var o=isHost(n)?n:h(null,null,n);hostTagName=r.tagName;if(t&&o.i){for(var a=0,u=Object.keys(o.i);a<u.length;a++){var c=u[a];if(r.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){o.i[c]=r[c]}}}o.l=null;o.u|=4;e.S=o;o.v=i.v=r.shadowRoot||r;{scopeId=r["s-sc"]}patch(i,o)};var attachToAncestor=function(e,n){if(n&&!e.T&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e.T=n})))}};var scheduleUpdate=function(e,n){if(e.u&4){e.u|=512;return}attachToAncestor(e,e.C);var t=function(){return dispatchHooks(e,n)};return writeTask(t)};var dispatchHooks=function(e,n){var t=createTime("scheduleUpdate",e.m.h);var r=e._;var i;t();return enqueue(i,(function(){return updateComponent(e,r,n)}))};var enqueue=function(e,n){return isPromisey(e)?e.then(n):n()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,n,t){return __awaiter(void 0,void 0,void 0,(function(){var r,i,o,a,u,c,s;return __generator(this,(function(f){i=e.$hostElement$;o=createTime("update",e.m.h);a=i["s-rc"];if(t){attachStyles(e)}u=createTime("render",e.m.h);{callRender(e,n,i,t)}if(a){a.map((function(e){return e()}));i["s-rc"]=undefined}u();o();{c=(r=i["s-p"])!==null&&r!==void 0?r:[];s=function(){return postUpdateComponent(e)};if(c.length===0){s()}else{Promise.all(c).then(s);e.u|=4;c.length=0}}return[2]}))}))};var callRender=function(e,n,t,r){try{n=n.render();{e.u|=2}{{{renderVdom(e,n,r)}}}}catch(n){consoleError(n,e.$hostElement$)}return null};var postUpdateComponent=function(e){var n=e.m.h;var t=e.$hostElement$;var r=createTime("postUpdate",n);var i=e.C;if(!(e.u&64)){e.u|=64;{addHydratedFlag(t)}r();{e.$(t);if(!i){appDidLoad()}}}else{r()}{if(e.T){e.T();e.T=undefined}if(e.u&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.u&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var addHydratedFlag=function(e){return e.setAttribute("hydrated","")};var proxyComponent=function(e,n,t){return e};var initializeComponent=function(e,n,t,r){return __awaiter(void 0,void 0,void 0,(function(){var e,r,i,o,a,u,c,s;return __generator(this,(function(f){switch(f.label){case 0:if(!((n.u&32)===0))return[3,3];n.u|=32;e=loadModule(t);if(!e.then)return[3,2];r=uniqueTime();return[4,e];case 1:e=f.sent();r();f.label=2;case 2:i=createTime("createInstance",t.h);try{new e(n)}catch(e){consoleError(e)}i();if(e.style){o=e.style;a=getScopeId(t);if(!styles.has(a)){u=createTime("registerStyles",t.h);registerStyle(a,o,!!(t.u&1));u()}}f.label=3;case 3:c=n.C;s=function(){return scheduleUpdate(n,true)};if(c&&c["s-rc"]){c["s-rc"].push(s)}else{s()}return[2]}}))}))};var fireConnectedCallback=function(e){};var connectedCallback=function(e){if((plt.u&1)===0){var n=getHostRef(e);var t=n.m;var r=createTime("connectedCallback",t.h);if(!(n.u&1)){n.u|=1;{var i=e;while(i=i.parentNode||i.host){if(i["s-p"]){attachToAncestor(n,n.C=i);break}}}{initializeComponent(e,n,t)}}else{if(n===null||n===void 0?void 0:n._);else if(n===null||n===void 0?void 0:n.k){n.k.then((function(){return fireConnectedCallback()}))}}r()}};var disconnectInstance=function(e){};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var n;return __generator(this,(function(t){if((plt.u&1)===0){n=getHostRef(e);if(n===null||n===void 0?void 0:n._);else if(n===null||n===void 0?void 0:n.k){n.k.then((function(){return disconnectInstance()}))}}return[2]}))}))};var bootstrapLazy=function(e,n){if(n===void 0){n={}}var t;var r=createTime();var i=[];var o=n.exclude||[];var a=win.customElements;var u=doc.head;var c=u.querySelector("meta[charset]");var s=doc.createElement("style");var f=[];var l;var v=true;Object.assign(plt,n);plt.q=new URL(n.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(n){var t={u:n[0],h:n[1],A:n[2],H:n[3]};var r=t.h;var u=function(e){__extends(n,e);function n(n){var r=e.call(this,n)||this;n=r;registerHost(n,t);if(t.u&1){{{n.attachShadow({mode:"open"})}}}return r}n.prototype.connectedCallback=function(){var e=this;if(l){clearTimeout(l);l=null}if(v){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};n.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};n.prototype.componentOnReady=function(){return getHostRef(this).k};return n}(HTMLElement);t.R=e[0];if(!o.includes(r)&&!a.get(r)){i.push(r);a.define(r,proxyComponent(u))}}))}));{s.innerHTML=i+HYDRATED_CSS;s.setAttribute("data-styles","");var d=(t=plt.p)!==null&&t!==void 0?t:queryNonceMetaTagContent(doc);if(d!=null){s.setAttribute("nonce",d)}u.insertBefore(s,c?c.nextSibling:u.firstChild)}v=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return l=setTimeout(appDidLoad,30)}))}}r()};var setNonce=function(e){return plt.p=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,n){return hostRefs.set(n._=e,n)};var registerHost=function(e,n){var t={u:0,$hostElement$:e,m:n,M:new Map};{t.k=new Promise((function(e){return t.$=e}));e["s-p"]=[];e["s-rc"]=[]}return hostRefs.set(e,t)};var consoleError=function(e,n){return(0,console.error)(e,n)};var cmpModules=new Map;var loadModule=function(e,n,t){var r=e.h.replace(/-/g,"_");var i=e.R;var o=cmpModules.get(i);if(o){return o[r]}if(!t||!BUILD.hotModuleReplacement){var a=function(e){cmpModules.set(i,e);return e[r]};switch(i){case"mds-list":return import("./mds-list.entry.js").then(a,consoleError)}}return import("./".concat(i,".entry.js").concat("")).then((function(e){{cmpModules.set(i,e)}return e[r]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={u:0,q:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,n,t,r){return e.addEventListener(n,t,r)},rel:function(e,n,t,r){return e.removeEventListener(n,t,r)},ce:function(e,n){return new CustomEvent(e,n)}};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,n){return function(t){e.push(t);if(!queuePending){queuePending=true;if(n&&plt.u&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var n=0;n<e.length;n++){try{e[n](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,setNonce as s};
|
package/dist/esm-es5/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as bootstrapLazy}from"./index-
|
|
1
|
+
import{b as bootstrapLazy}from"./index-91cc404a.js";export{s as setNonce}from"./index-91cc404a.js";var defineCustomElements=function(e,t){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-list",[[1,"mds-list"]]]],t)};export{defineCustomElements};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,H as Host}from"./index-
|
|
1
|
+
import{r as registerInstance,h,H as Host}from"./index-91cc404a.js";var mdsListCss=".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{gap:1rem;padding-left:1rem;display:grid}ul{margin:0px;padding:0px}";var MdsList=function(){function s(s){registerInstance(this,s)}s.prototype.render=function(){return h(Host,null,h("slot",null))};return s}();MdsList.style=mdsListCss;export{MdsList as mds_list};
|
package/dist/esm-es5/mds-list.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-91cc404a.js";export{s as setNonce}from"./index-91cc404a.js";var patchBrowser=function(){var r=import.meta.url;var s={};if(r!==""){s.resourcesUrl=new URL(".",r).href}return promiseResolve(s)};patchBrowser().then((function(r){return bootstrapLazy([["mds-list",[[1,"mds-list"]]]],r)}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as a,b as t}from"./p-b6cf7a75.js";export{s as setNonce}from"./p-b6cf7a75.js";(()=>{const s=import.meta.url,t={};return""!==s&&(t.resourcesUrl=new URL(".",s).href),a(t)})().then((s=>t([["p-6405aac0",[[1,"mds-list"]]]],s)));
|
|
@@ -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-
|
|
118
|
+
var url = new URL('./p-f85753c1.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,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var n=function(r,t){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))n[t]=r[t]};return n(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}}();var __awaiter=this&&this.__awaiter||function(n,r,t,e){function i(n){return n instanceof t?n:new t((function(r){r(n)}))}return new(t||(t=Promise))((function(t,a){function u(n){try{o(e.next(n))}catch(n){a(n)}}function f(n){try{o(e["throw"](n))}catch(n){a(n)}}function o(n){n.done?t(n.value):i(n.value).then(u,f)}o((e=e.apply(n,r||[])).next())}))};var __generator=this&&this.__generator||function(n,r){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},e,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(n){return function(r){return o([n,r])}}function o(f){if(e)throw new TypeError("Generator is already executing.");while(u&&(u=0,f[0]&&(t=0)),t)try{if(e=1,i&&(a=f[0]&2?i["return"]:f[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;if(i=0,a)f=[f[0]&2,a.value];switch(f[0]){case 0:case 1:a=f;break;case 4:t.label++;return{value:f[1],done:false};case 5:t.label++;i=f[1];f=[0];continue;case 7:f=t.ops.pop();t.trys.pop();continue;default:if(!(a=t.trys,a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){t.label=f[1];break}if(f[0]===6&&t.label<a[1]){t.label=a[1];a=f;break}if(a&&t.label<a[2]){t.label=a[2];t.ops.push(f);break}if(a[2])t.ops.pop();t.trys.pop();continue}f=r.call(n,t)}catch(n){f=[6,n];i=0}finally{e=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(n,r,t){if(t||arguments.length===2)for(var e=0,i=r.length,a;e<i;e++){if(a||!(e in r)){if(!a)a=Array.prototype.slice.call(r,0,e);a[e]=r[e]}}return n.concat(a||Array.prototype.slice.call(r))};System.register([],(function(n,r){"use strict";return{execute:function(){var t=this;var e="mds-list";var i;var a;var u=false;var f=function(n,r){if(r===void 0){r=""}{return function(){return}}};var o=function(n,r){{return function(){return}}};var c="{visibility:hidden}[hydrated]{visibility:inherit}";var v=function(n){return n!=null};var l=function(n){n=typeof n;return n==="object"||n==="function"};function s(n){var r,t,e;return(e=(t=(r=n.head)===null||r===void 0?void 0:r.querySelector('meta[name="csp-nonce"]'))===null||t===void 0?void 0:t.getAttribute("content"))!==null&&e!==void 0?e:undefined}var d=n("h",(function(n,r){var t=[];for(var e=2;e<arguments.length;e++){t[e-2]=arguments[e]}var i=null;var a=false;var u=false;var f=[];var o=function(r){for(var t=0;t<r.length;t++){i=r[t];if(Array.isArray(i)){o(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof n!=="function"&&!l(i)){i=String(i)}if(a&&u){f[f.length-1].t+=i}else{f.push(a?h(null,i):i)}u=a}}};o(t);var c=h(n,null);c.i=r;if(f.length>0){c.u=f}return c}));var h=function(n,r){var t={o:0,v:n,t:r,l:null,u:null};return t};var y=n("H",{});var w=function(n){return n&&n.v===y};var p=function(n,r,t){var e=rn.ce(r,t);n.dispatchEvent(e);return e};var _=new WeakMap;var $=function(n,r,t){var e=Y.get(n);if(en&&t){e=e||new CSSStyleSheet;if(typeof e==="string"){e=r}else{e.replaceSync(r)}}else{e=r}Y.set(n,e)};var m=function(n,r,t){var e;var i=S(r);var a=Y.get(i);n=n.nodeType===11?n:nn;if(a){if(typeof a==="string"){n=n.head||n;var u=_.get(n);var f=void 0;if(!u){_.set(n,u=new Set)}if(!u.has(i)){{f=nn.createElement("style");f.innerHTML=a;var o=(e=rn.h)!==null&&e!==void 0?e:s(nn);if(o!=null){f.setAttribute("nonce",o)}n.insertBefore(f,n.querySelector("link"))}if(u){u.add(i)}}}else if(!n.adoptedStyleSheets.includes(a)){n.adoptedStyleSheets=__spreadArray(__spreadArray([],n.adoptedStyleSheets,true),[a],false)}}return i};var b=function(n){var r=n.p;var t=n.$hostElement$;var e=r.o;var i=f("attachStyles",r._);var a=m(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(e&10){t["s-sc"]=a;t.classList.add(a+"-h")}i()};var S=function(n,r){return"sc-"+n._};var g=function(n,r,t,e){var a=r.u[t];var u=0;var f;var o;{f=a.l=nn.createElement(a.v);if(v(i)&&f["s-si"]!==i){f.classList.add(f["s-si"]=i)}if(a.u){for(u=0;u<a.u.length;++u){o=g(n,a,u);if(o){f.appendChild(o)}}}}return f};var k=function(n,r,t,e,i,u){var f=n;var o;if(f.shadowRoot&&f.tagName===a){f=f.shadowRoot}for(;i<=u;++i){if(e[i]){o=g(null,t,i);if(o){e[i].l=o;f.insertBefore(o,r)}}}};var j=function(n,r){var t=r.l=n.l;var e=r.u;{if(e!==null){k(t,null,r,e,0,e.length-1)}else;}};var A=function(n,r,t){if(t===void 0){t=false}var e=n.$hostElement$;var u=n.$||h(null,null);var f=w(r)?r:d(null,null,r);a=e.tagName;if(t&&f.i){for(var o=0,c=Object.keys(f.i);o<c.length;o++){var v=c[o];if(e.hasAttribute(v)&&!["key","ref","style","class"].includes(v)){f.i[v]=e[v]}}}f.v=null;f.o|=4;n.$=f;f.l=u.l=e.shadowRoot||e;{i=e["s-sc"]}j(u,f)};var x=function(n,r){if(r&&!n.m&&r["s-p"]){r["s-p"].push(new Promise((function(r){return n.m=r})))}};var M=function(n,r){if(n.o&4){n.o|=512;return}x(n,n.S);var t=function(){return C(n,r)};return ln(t)};var C=function(n,r){var t=f("scheduleUpdate",n.p._);var e=n.k;var i;t();return P(i,(function(){return O(n,e,r)}))};var P=function(n,r){return E(n)?n.then(r):r()};var E=function(n){return n instanceof Promise||n&&n.then&&typeof n.then==="function"};var O=function(n,r,e){return __awaiter(t,void 0,void 0,(function(){var t,i,a,u,o,c,v;return __generator(this,(function(l){i=n.$hostElement$;a=f("update",n.p._);u=i["s-rc"];if(e){b(n)}o=f("render",n.p._);{T(n,r,i,e)}if(u){u.map((function(n){return n()}));i["s-rc"]=undefined}o();a();{c=(t=i["s-p"])!==null&&t!==void 0?t:[];v=function(){return U(n)};if(c.length===0){v()}else{Promise.all(c).then(v);n.o|=4;c.length=0}}return[2]}))}))};var T=function(n,r,t,e){try{r=r.render();{n.o|=2}{{{A(n,r,e)}}}}catch(r){K(r,n.$hostElement$)}return null};var U=function(n){var r=n.p._;var t=n.$hostElement$;var e=f("postUpdate",r);var i=n.S;if(!(n.o&64)){n.o|=64;{L(t)}e();{n.j(t);if(!i){H()}}}else{e()}{if(n.m){n.m();n.m=undefined}if(n.o&512){vn((function(){return M(n,false)}))}n.o&=~(4|512)}};var H=function(n){{L(nn.documentElement)}vn((function(){return p(Z,"appload",{detail:{namespace:e}})}))};var L=function(n){return n.setAttribute("hydrated","")};var W=function(n,r,t){return n};var q=function(n,r,e,i){return __awaiter(t,void 0,void 0,(function(){var n,t,i,a,u,c,v,l;return __generator(this,(function(s){switch(s.label){case 0:if(!((r.o&32)===0))return[3,3];r.o|=32;n=X(e);if(!n.then)return[3,2];t=o();return[4,n];case 1:n=s.sent();t();s.label=2;case 2:i=f("createInstance",e._);try{new n(r)}catch(n){K(n)}i();if(n.style){a=n.style;u=S(e);if(!Y.has(u)){c=f("registerStyles",e._);$(u,a,!!(e.o&1));c()}}s.label=3;case 3:v=r.S;l=function(){return M(r,true)};if(v&&v["s-rc"]){v["s-rc"].push(l)}else{l()}return[2]}}))}))};var F=function(n){};var G=function(n){if((rn.o&1)===0){var r=B(n);var t=r.p;var e=f("connectedCallback",t._);if(!(r.o&1)){r.o|=1;{var i=n;while(i=i.parentNode||i.host){if(i["s-p"]){x(r,r.S=i);break}}}{q(n,r,t)}}else{if(r===null||r===void 0?void 0:r.k);else if(r===null||r===void 0?void 0:r.A){r.A.then((function(){return F()}))}}e()}};var I=function(n){};var N=function(n){return __awaiter(t,void 0,void 0,(function(){var r;return __generator(this,(function(t){if((rn.o&1)===0){r=B(n);if(r===null||r===void 0?void 0:r.k);else if(r===null||r===void 0?void 0:r.A){r.A.then((function(){return I()}))}}return[2]}))}))};var R=n("b",(function(n,r){if(r===void 0){r={}}var t;var e=f();var i=[];var a=r.exclude||[];var u=Z.customElements;var o=nn.head;var v=o.querySelector("meta[charset]");var l=nn.createElement("style");var d=[];var h;var y=true;Object.assign(rn,r);rn.M=new URL(r.resourcesUrl||"./",nn.baseURI).href;n.map((function(n){n[1].map((function(r){var t={o:r[0],_:r[1],C:r[2],P:r[3]};var e=t._;var f=function(n){__extends(r,n);function r(r){var e=n.call(this,r)||this;r=e;J(r,t);if(t.o&1){{{r.attachShadow({mode:"open"})}}}return e}r.prototype.connectedCallback=function(){var n=this;if(h){clearTimeout(h);h=null}if(y){d.push(this)}else{rn.jmp((function(){return G(n)}))}};r.prototype.disconnectedCallback=function(){var n=this;rn.jmp((function(){return N(n)}))};r.prototype.componentOnReady=function(){return B(this).A};return r}(HTMLElement);t.O=n[0];if(!a.includes(e)&&!u.get(e)){i.push(e);u.define(e,W(f))}}))}));{l.innerHTML=i+c;l.setAttribute("data-styles","");var w=(t=rn.h)!==null&&t!==void 0?t:s(nn);if(w!=null){l.setAttribute("nonce",w)}o.insertBefore(l,v?v.nextSibling:o.firstChild)}y=false;if(d.length){d.map((function(n){return n.connectedCallback()}))}else{{rn.jmp((function(){return h=setTimeout(H,30)}))}}e()}));var V=n("s",(function(n){return rn.h=n}));var z=new WeakMap;var B=function(n){return z.get(n)};var D=n("r",(function(n,r){return z.set(r.k=n,r)}));var J=function(n,r){var t={o:0,$hostElement$:n,p:r,T:new Map};{t.A=new Promise((function(n){return t.j=n}));n["s-p"]=[];n["s-rc"]=[]}return z.set(n,t)};var K=function(n,r){return(0,console.error)(n,r)};var Q=new Map;var X=function(n,t,e){var i=n._.replace(/-/g,"_");var a=n.O;var u=Q.get(a);if(u){return u[i]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return r.import("./".concat(a,".entry.js").concat("")).then((function(n){{Q.set(a,n)}return n[i]}),K)};var Y=new Map;var Z=typeof window!=="undefined"?window:{};var nn=Z.document||{head:{}};var rn={o:0,M:"",jmp:function(n){return n()},raf:function(n){return requestAnimationFrame(n)},ael:function(n,r,t,e){return n.addEventListener(r,t,e)},rel:function(n,r,t,e){return n.removeEventListener(r,t,e)},ce:function(n,r){return new CustomEvent(n,r)}};var tn=n("p",(function(n){return Promise.resolve(n)}));var en=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(n){}return false}();var an=[];var un=[];var fn=function(n,r){return function(t){n.push(t);if(!u){u=true;if(r&&rn.o&4){vn(cn)}else{rn.raf(cn)}}}};var on=function(n){for(var r=0;r<n.length;r++){try{n[r](performance.now())}catch(n){K(n)}}n.length=0};var cn=function(){on(an);{on(un);if(u=an.length>0){rn.raf(cn)}}};var vn=function(n){return tn().then(n)};var ln=fn(un,true)}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r,H as a}from"./p-
|
|
1
|
+
import{r as o,h as r,H as a}from"./p-b6cf7a75.js";const s=class{constructor(r){o(this,r)}render(){return r(a,null,r("slot",null))}};s.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{gap:1rem;padding-left:1rem;display:grid}ul{margin:0px;padding:0px}";export{s as mds_list}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-5ca4f187.system.js"],(function(o){"use strict";var t,r,s;return{setters:[function(o){t=o.r;r=o.h;s=o.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{gap:1rem;padding-left:1rem;display:grid}ul{margin:0px;padding:0px}";var d=o("mds_list",function(){function o(o){t(this,o)}o.prototype.render=function(){return r(s,null,r("slot",null))};return o}());d.style=a}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let e,n,t=!1;const l=e=>"object"==(e=typeof e)||"function"===e;function o(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const s=(e,n,...t)=>{let o=null,s=!1,i=!1;const r=[],a=n=>{for(let t=0;t<n.length;t++)o=n[t],Array.isArray(o)?a(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!l(o))&&(o+=""),s&&i?r[r.length-1].t+=o:r.push(s?c(null,o):o),i=s)};a(t);const u=c(e,null);return u.l=n,r.length>0&&(u.o=r),u},c=(e,n)=>({i:0,u:e,t:n,$:null,o:null}),i={},r=new WeakMap,a=e=>"sc-"+e.m,u=(n,t,l)=>{const o=t.o[l];let s,c,i=0;if(s=o.$=H.createElement(o.u),null!=e&&s["s-si"]!==e&&s.classList.add(s["s-si"]=e),o.o)for(i=0;i<o.o.length;++i)c=u(n,o,i),c&&s.appendChild(c);return s},f=(t,l,o=!1)=>{const r=t.$hostElement$,a=t.p||c(null,null),f=(e=>e&&e.u===i)(l)?l:s(null,null,l);if(n=r.tagName,o&&f.l)for(const e of Object.keys(f.l))r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(f.l[e]=r[e]);f.u=null,f.i|=4,t.p=f,f.$=a.$=r.shadowRoot||r,e=r["s-sc"],((e,t)=>{const l=t.$=e.$,o=t.o;null!==o&&((e,t,l,o,s,c)=>{let i,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);s<=c;++s)o[s]&&(i=u(null,l,s),i&&(o[s].$=i,r.insertBefore(i,null)))})(l,0,t,o,0,o.length-1)})(a,f)},d=(e,n)=>{n&&!e.v&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.v=n)))},$=(e,n)=>{if(!(4&e.i))return d(e,e.h),z((()=>y(e,n)));e.i|=512},y=(e,n)=>{const t=e.S;return m(void 0,(()=>v(e,t,n)))},m=(e,n)=>p(e)?e.then(n):n(),p=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,v=async(e,n,t)=>{var l;const s=e.$hostElement$,c=s["s-rc"];t&&(e=>{const n=e.k,t=e.$hostElement$,l=n.i,s=((e,n)=>{var t;const l=a(n),s=T.get(l);if(e=11===e.nodeType?e:H,s)if("string"==typeof s){let n,c=r.get(e=e.head||e);if(c||r.set(e,c=new Set),!c.has(l)){{n=H.createElement("style"),n.innerHTML=s;const l=null!==(t=L.M)&&void 0!==t?t:o(H);null!=l&&n.setAttribute("nonce",l),e.insertBefore(n,e.querySelector("link"))}c&&c.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&l&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(e);h(e,n,s,t),c&&(c.map((e=>e())),s["s-rc"]=void 0);{const n=null!==(l=s["s-p"])&&void 0!==l?l:[],t=()=>w(e);0===n.length?t():(Promise.all(n).then(t),e.i|=4,n.length=0)}},h=(e,n,t,l)=>{try{n=n.render(),e.i|=2,f(e,n,l)}catch(n){x(n,e.$hostElement$)}return null},w=e=>{const n=e.$hostElement$,t=e.h;64&e.i||(e.i|=64,b(n),e.C(n),t||S()),e.v&&(e.v(),e.v=void 0),512&e.i&&_((()=>$(e,!1))),e.i&=-517},S=()=>{b(H.documentElement),_((()=>(e=>{const n=L.ce("appload",{detail:{namespace:"mds-list"}});return e.dispatchEvent(n),n})(A)))},b=e=>e.setAttribute("hydrated",""),g=(e,n={})=>{var t;const l=[],s=n.exclude||[],c=A.customElements,i=H.head,r=i.querySelector("meta[charset]"),u=H.createElement("style"),f=[];let y,m=!0;Object.assign(L,n),L.j=new URL(n.resourcesUrl||"./",H.baseURI).href,e.map((e=>{e[1].map((n=>{const t={i:n[0],m:n[1],P:n[2],O:n[3]},o=t.m,i=class extends HTMLElement{constructor(e){super(e),P(e=this,t),1&t.i&&e.attachShadow({mode:"open"})}connectedCallback(){y&&(clearTimeout(y),y=null),m?f.push(this):L.jmp((()=>(e=>{if(0==(1&L.i)){const n=C(e),t=n.k,l=()=>{};if(1&n.i)(null==n?void 0:n.S)||(null==n?void 0:n.T)&&n.T.then((()=>{}));else{n.i|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){d(n,n.h=t);break}}(async(e,n,t)=>{let l;if(0==(32&n.i)){n.i|=32;{if(l=O(t),l.then){const e=()=>{};l=await l,e()}const e=()=>{};try{new l(n)}catch(e){x(e)}e()}if(l.style){let e=l.style;const n=a(t);if(!T.has(n)){const l=()=>{};((e,n,t)=>{let l=T.get(e);U&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,T.set(e,l)})(n,e,!!(1&t.i)),l()}}}const o=n.h,s=()=>$(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,n,t)}l()}})(this)))}disconnectedCallback(){L.jmp((()=>(async()=>{if(0==(1&L.i)){const e=C(this);(null==e?void 0:e.S)||(null==e?void 0:e.T)&&e.T.then((()=>{}))}})()))}componentOnReady(){return C(this).T}};t.A=e[0],s.includes(o)||c.get(o)||(l.push(o),c.define(o,i))}))}));{u.innerHTML=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const e=null!==(t=L.M)&&void 0!==t?t:o(H);null!=e&&u.setAttribute("nonce",e),i.insertBefore(u,r?r.nextSibling:i.firstChild)}m=!1,f.length?f.map((e=>e.connectedCallback())):L.jmp((()=>y=setTimeout(S,30)))},k=e=>L.M=e,M=new WeakMap,C=e=>M.get(e),j=(e,n)=>M.set(n.S=e,n),P=(e,n)=>{const t={i:0,$hostElement$:e,k:n,H:new Map};return t.T=new Promise((e=>t.C=e)),e["s-p"]=[],e["s-rc"]=[],M.set(e,t)},x=(e,n)=>(0,console.error)(e,n),E=new Map,O=e=>{const n=e.m.replace(/-/g,"_"),t=e.A,l=E.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(E.set(t,e),e[n])),x)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},T=new Map,A="undefined"!=typeof window?window:{},H=A.document||{head:{}},L={i:0,j:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},R=e=>Promise.resolve(e),U=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),W=[],q=[],F=(e,n)=>l=>{e.push(l),t||(t=!0,n&&4&L.i?_(V):L.raf(V))},N=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){x(e)}e.length=0},V=()=>{N(W),N(q),(t=W.length>0)&&L.raf(V)},_=e=>R().then(e),z=F(q,!0);export{i as H,g as b,s as h,R as p,j as r,k as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-5ca4f187.system.js"],(function(e,t){"use strict";var n,s;return{setters:[function(t){n=t.p;s=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var s={};if(e!==""){s.resourcesUrl=new URL(".",e).href}return n(s)};e().then((function(e){return s([["p-8bf8e6ee.system",[[1,"mds-list"]]]],e)}))}}}));
|