ku4web-components 6.7.13 → 6.7.14
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/LICENSE +7 -10
- package/angular/index.js +1 -3
- package/angular/index.mjs +1 -1
- package/dist/cjs/{index-d4518258.js → index-15875e65.js} +220 -202
- package/dist/cjs/ku4-carousel-controls.cjs.entry.js +1 -1
- package/dist/cjs/ku4-carousel-slide.cjs.entry.js +1 -1
- package/dist/cjs/ku4-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ku4-col.cjs.entry.js +1 -1
- package/dist/cjs/ku4-drawer.cjs.entry.js +1 -1
- package/dist/cjs/ku4-feature.cjs.entry.js +1 -1
- package/dist/cjs/ku4-focus-trap.cjs.entry.js +1 -1
- package/dist/cjs/ku4-form.cjs.entry.js +1 -1
- package/dist/cjs/ku4-grid.cjs.entry.js +1 -1
- package/dist/cjs/ku4-label.cjs.entry.js +1 -1
- package/dist/cjs/ku4-mask.cjs.entry.js +1 -1
- package/dist/cjs/ku4-modal.cjs.entry.js +1 -1
- package/dist/cjs/ku4-panel.cjs.entry.js +1 -1
- package/dist/cjs/ku4-preview.cjs.entry.js +1 -1
- package/dist/cjs/ku4-tab-list.cjs.entry.js +1 -1
- package/dist/cjs/ku4-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/ku4-tab.cjs.entry.js +1 -1
- package/dist/cjs/ku4-table.cjs.entry.js +1 -1
- package/dist/cjs/ku4-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ku4-validation.cjs.entry.js +1 -1
- package/dist/cjs/ku4web-components.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{shadow-css-a33dc836.js → shadow-css-346c0795.js} +1 -1
- package/dist/esm/{index-86df1782.js → index-906433aa.js} +220 -202
- package/dist/esm/ku4-carousel-controls.entry.js +1 -1
- package/dist/esm/ku4-carousel-slide.entry.js +1 -1
- package/dist/esm/ku4-carousel.entry.js +1 -1
- package/dist/esm/ku4-col.entry.js +1 -1
- package/dist/esm/ku4-drawer.entry.js +1 -1
- package/dist/esm/ku4-feature.entry.js +1 -1
- package/dist/esm/ku4-focus-trap.entry.js +1 -1
- package/dist/esm/ku4-form.entry.js +1 -1
- package/dist/esm/ku4-grid.entry.js +1 -1
- package/dist/esm/ku4-label.entry.js +1 -1
- package/dist/esm/ku4-mask.entry.js +1 -1
- package/dist/esm/ku4-modal.entry.js +1 -1
- package/dist/esm/ku4-panel.entry.js +1 -1
- package/dist/esm/ku4-preview.entry.js +1 -1
- package/dist/esm/ku4-tab-list.entry.js +1 -1
- package/dist/esm/ku4-tab-panel.entry.js +1 -1
- package/dist/esm/ku4-tab.entry.js +1 -1
- package/dist/esm/ku4-table.entry.js +1 -1
- package/dist/esm/ku4-tooltip.entry.js +1 -1
- package/dist/esm/ku4-validation.entry.js +1 -1
- package/dist/esm/ku4web-components.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{shadow-css-4261c637.js → shadow-css-b18e99d7.js} +1 -1
- package/dist/esm-es5/index-906433aa.js +2 -0
- package/dist/esm-es5/ku4-carousel-controls.entry.js +1 -1
- package/dist/esm-es5/ku4-carousel-slide.entry.js +1 -1
- package/dist/esm-es5/ku4-carousel.entry.js +1 -1
- package/dist/esm-es5/ku4-col.entry.js +1 -1
- package/dist/esm-es5/ku4-drawer.entry.js +1 -1
- package/dist/esm-es5/ku4-feature.entry.js +1 -1
- package/dist/esm-es5/ku4-focus-trap.entry.js +1 -1
- package/dist/esm-es5/ku4-form.entry.js +1 -1
- package/dist/esm-es5/ku4-grid.entry.js +1 -1
- package/dist/esm-es5/ku4-label.entry.js +1 -1
- package/dist/esm-es5/ku4-mask.entry.js +1 -1
- package/dist/esm-es5/ku4-modal.entry.js +1 -1
- package/dist/esm-es5/ku4-panel.entry.js +1 -1
- package/dist/esm-es5/ku4-preview.entry.js +1 -1
- package/dist/esm-es5/ku4-tab-list.entry.js +1 -1
- package/dist/esm-es5/ku4-tab-panel.entry.js +1 -1
- package/dist/esm-es5/ku4-tab.entry.js +1 -1
- package/dist/esm-es5/ku4-table.entry.js +1 -1
- package/dist/esm-es5/ku4-tooltip.entry.js +1 -1
- package/dist/esm-es5/ku4-validation.entry.js +1 -1
- package/dist/esm-es5/ku4web-components.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{shadow-css-4261c637.js → shadow-css-b18e99d7.js} +0 -0
- package/dist/ku4web-components/ku4web-components.esm.js +1 -1
- package/dist/ku4web-components/ku4web-components.js +1 -1
- package/dist/ku4web-components/{p-2a630678.system.entry.js → p-0c80849a.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-e4c836ca.system.entry.js → p-2e259be8.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-a84dd208.entry.js → p-2e8bdcac.entry.js} +1 -1
- package/dist/ku4web-components/p-321ff189.entry.js +1 -0
- package/dist/ku4web-components/{p-abb96c12.system.entry.js → p-3afb47cc.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-b9b65d90.system.entry.js → p-3ee2a2dd.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-2a510b37.system.entry.js → p-4038362a.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-517da8da.entry.js → p-4143d5d6.entry.js} +1 -1
- package/dist/ku4web-components/{p-42bd3225.entry.js → p-47690d76.entry.js} +1 -1
- package/dist/ku4web-components/{p-e1a494a4.system.entry.js → p-4ae67f1f.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-96b2c669.entry.js → p-4c41bbdd.entry.js} +1 -1
- package/dist/ku4web-components/{p-9d5d5758.system.entry.js → p-517fec9b.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-aac61317.entry.js → p-557f0053.entry.js} +1 -1
- package/dist/ku4web-components/{p-63b36bc5.system.entry.js → p-570177e8.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-f8eab33b.system.entry.js → p-608ec081.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-b0edddc6.system.entry.js → p-62691d31.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-bcbf1f48.entry.js → p-6343daaa.entry.js} +1 -1
- package/dist/ku4web-components/{p-80a59984.system.entry.js → p-667063a1.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-c2dc6f6d.system.entry.js → p-6a27b43f.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-8410b9b5.system.entry.js → p-6d14ef68.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-43a3b16a.entry.js → p-6fc8ef40.entry.js} +1 -1
- package/dist/ku4web-components/{p-a8de6293.system.js → p-88092d06.system.js} +0 -0
- package/dist/ku4web-components/p-8e03322a.system.js +2 -0
- package/dist/ku4web-components/{p-2f625567.system.entry.js → p-92c72bf8.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-0c2fe92e.system.entry.js → p-98f05ada.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-89fe8fa0.entry.js → p-990790af.entry.js} +1 -1
- package/dist/ku4web-components/{p-7a05df32.system.entry.js → p-9f434bd7.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-2a862665.entry.js → p-ae5e23b4.entry.js} +1 -1
- package/dist/ku4web-components/{p-0611607f.entry.js → p-bd8e14e8.entry.js} +1 -1
- package/dist/ku4web-components/{p-c3616b74.system.entry.js → p-c37c000c.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-722f1484.entry.js → p-ca08f742.entry.js} +1 -1
- package/dist/ku4web-components/{p-ad0e5cff.entry.js → p-cfa2430c.entry.js} +1 -1
- package/dist/ku4web-components/{p-a4f7342a.entry.js → p-d19c1792.entry.js} +1 -1
- package/dist/ku4web-components/{p-dadf46ab.entry.js → p-d21d1e0e.entry.js} +1 -1
- package/dist/ku4web-components/{p-e37a1d15.entry.js → p-d66a1733.entry.js} +1 -1
- package/dist/ku4web-components/{p-f03c5bf4.entry.js → p-ea728fd5.entry.js} +1 -1
- package/dist/ku4web-components/{p-33da409b.system.entry.js → p-eace27f8.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-1d80d5ea.entry.js → p-ebacc2e9.entry.js} +1 -1
- package/dist/ku4web-components/{p-a8ef8a26.system.entry.js → p-f0744d75.system.entry.js} +1 -1
- package/dist/ku4web-components/p-f134bec3.js +2 -0
- package/dist/ku4web-components/{p-168f206e.system.entry.js → p-f1b64863.system.entry.js} +1 -1
- package/dist/ku4web-components/p-f1df904f.entry.js +1 -0
- package/dist/ku4web-components/{p-ef5d4167.js → p-f26ed61d.js} +0 -0
- package/dist/ku4web-components/{p-69165a40.system.js → p-f7873ccb.system.js} +1 -1
- package/dist/ku4web-components/{p-728958cf.entry.js → p-feef17a2.entry.js} +1 -1
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/mask/index.js +1 -1
- package/package.json +28 -28
- package/react/index.js +1 -3
- package/react/index.mjs +1 -1
- package/vue/index.js +1 -3
- package/vue/index.mjs +1 -1
- package/vue3/index.js +1 -3
- package/vue3/index.mjs +1 -1
- package/dist/esm-es5/index-86df1782.js +0 -2
- package/dist/ku4web-components/p-0ced1fa7.system.js +0 -2
- package/dist/ku4web-components/p-d932f0d5.entry.js +0 -1
- package/dist/ku4web-components/p-dcb37faf.entry.js +0 -1
- package/dist/ku4web-components/p-fbee7bb3.js +0 -2
|
@@ -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-15875e65.js');
|
|
6
6
|
const index$1 = require('./index-3f6b12f6.js');
|
|
7
7
|
const uid = require('./uid-682bb993.js');
|
|
8
8
|
require('./index-69919a4f.js');
|
|
@@ -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-15875e65.js');
|
|
6
6
|
|
|
7
7
|
const ku4TableCss = "ku4-table{position:relative;display:block}@media only screen and (min-width: 1px) and (max-width: 767px){@supports (display: contents){ku4-table[stack-xs=column] table{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}ku4-table[stack-xs=column] thead,ku4-table[stack-xs=column] tbody,ku4-table[stack-xs=column] tfoot,ku4-table[stack-xs=column] tr{display:contents}ku4-table[stack-xs=column] thead .ku4-head-header{display:none}ku4-table[stack-xs=column] tbody th,ku4-table[stack-xs=column] tfoot th{position:absolute;display:block;width:0;height:0;margin:0;padding:0;line-height:0;font-size:0}ku4-table[stack-xs=column] tbody td,ku4-table[stack-xs=column] tfoot td{display:-ms-flexbox;display:flex}ku4-table[stack-xs=column] tbody td:before,ku4-table[stack-xs=column] tfoot td:before{content:attr(data-ku4-row-header)}}ku4-table[stack-xs=row] table{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}ku4-table[stack-xs=row] thead th,ku4-table[stack-xs=row] thead td{display:none}ku4-table[stack-xs=row] thead,ku4-table[stack-xs=row] tbody,ku4-table[stack-xs=row] tfoot,ku4-table[stack-xs=row] tr,ku4-table[stack-xs=row] th,ku4-table[stack-xs=row] td{display:block}ku4-table[stack-xs=row] tbody td:before,ku4-table[stack-xs=row] tfoot td:before{content:attr(data-ku4-column-header)}}@media only screen and (min-width: 768px) and (max-width: 991px){@supports (display: contents){ku4-table[stack-sm=column] table{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}ku4-table[stack-sm=column] thead,ku4-table[stack-sm=column] tbody,ku4-table[stack-sm=column] tfoot,ku4-table[stack-sm=column] tr{display:contents}ku4-table[stack-sm=column] thead .ku4-head-header{display:none}ku4-table[stack-sm=column] tbody th,ku4-table[stack-sm=column] tfoot th{position:absolute;display:block;width:0;height:0;margin:0;padding:0;line-height:0;font-size:0}ku4-table[stack-sm=column] tbody td,ku4-table[stack-sm=column] tfoot td{display:-ms-flexbox;display:flex}ku4-table[stack-sm=column] tbody td:before,ku4-table[stack-sm=column] tfoot td:before{content:attr(data-ku4-row-header)}}ku4-table[stack-sm=row] table{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}ku4-table[stack-sm=row] thead th,ku4-table[stack-sm=row] thead td{display:none}ku4-table[stack-sm=row] thead,ku4-table[stack-sm=row] tbody,ku4-table[stack-sm=row] tfoot,ku4-table[stack-sm=row] tr,ku4-table[stack-sm=row] th,ku4-table[stack-sm=row] td{display:block}ku4-table[stack-sm=row] tbody td:before,ku4-table[stack-sm=row] tfoot td:before{content:attr(data-ku4-column-header)}}";
|
|
8
8
|
|
|
@@ -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-15875e65.js');
|
|
6
6
|
const index$1 = require('./index-69919a4f.js');
|
|
7
7
|
|
|
8
8
|
const ku4TooltipCss = ":host{position:fixed;display:none;opacity:0;z-index:2;background-color:#fff;border:solid 1px #ccc}:host([visible]){display:block;opacity:1;-webkit-transition:opacity 0.4s;transition:opacity 0.4s}:host .arrow{position:absolute;width:var(--ku4-tooltip-arrow-size, 14px);height:var(--ku4-tooltip-arrow-size, 14px);background-color:inherit;-webkit-transform:rotate(45deg);transform:rotate(45deg);border:inherit;-webkit-box-shadow:var(--ku4-tooltip-arrow-box-shadow, none);box-shadow:var(--ku4-tooltip-arrow-box-shadow, none)}:host .content{position:relative}:host([top]) .arrow{top:calc(100% - var(--ku4-tooltip-arrow-offset, 7px));left:calc(50% - var(--ku4-tooltip-arrow-offset, 7px));border-top:none !important;border-left:none !important}:host([left]) .arrow{top:calc(50% - var(--ku4-tooltip-arrow-offset, 7px));left:calc(100% - var(--ku4-tooltip-arrow-offset, 7px));border-left:none !important;border-bottom:none !important}:host([bottom]) .arrow{left:calc(50% - var(--ku4-tooltip-arrow-offset, 7px));bottom:calc(100% - var(--ku4-tooltip-arrow-offset, 7px));border-bottom:none !important;border-right:none !important}:host([right]) .arrow{top:calc(50% - var(--ku4-tooltip-arrow-offset, 7px));right:calc(100% - var(--ku4-tooltip-arrow-offset, 7px));border-top:none !important;border-right:none !important}";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-15875e65.js');
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v2.18.
|
|
6
|
+
Stencil Client Patch Browser v2.18.1 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const patchBrowser = () => {
|
|
9
9
|
// @ts-ignore
|
package/dist/cjs/loader.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-15875e65.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v2.18.
|
|
8
|
+
Stencil Client Patch Esm v2.18.1 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
const NAMESPACE = 'ku4web-components';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Virtual DOM patching algorithm based on Snabbdom by
|
|
5
|
+
* Simon Friis Vindum (@paldepind)
|
|
6
|
+
* Licensed under the MIT License
|
|
7
|
+
* https://github.com/snabbdom/snabbdom/blob/master/LICENSE
|
|
8
|
+
*
|
|
9
|
+
* Modified for Stencil's renderer and slot projection
|
|
10
|
+
*/
|
|
3
11
|
let scopeId;
|
|
4
12
|
let contentRef;
|
|
5
13
|
let hostTagName;
|
|
@@ -8,64 +16,6 @@ let checkSlotFallbackVisibility = false;
|
|
|
8
16
|
let checkSlotRelocate = false;
|
|
9
17
|
let isSvgMode = false;
|
|
10
18
|
let queuePending = false;
|
|
11
|
-
const win = typeof window !== 'undefined' ? window : {};
|
|
12
|
-
const doc = win.document || { head: {} };
|
|
13
|
-
const plt = {
|
|
14
|
-
$flags$: 0,
|
|
15
|
-
$resourcesUrl$: '',
|
|
16
|
-
jmp: (h) => h(),
|
|
17
|
-
raf: (h) => requestAnimationFrame(h),
|
|
18
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
19
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
20
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
21
|
-
};
|
|
22
|
-
const supportsShadow = /*@__PURE__*/ (() => (doc.head.attachShadow + '').indexOf('[native') > -1)()
|
|
23
|
-
;
|
|
24
|
-
const promiseResolve = (v) => Promise.resolve(v);
|
|
25
|
-
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
26
|
-
try {
|
|
27
|
-
new CSSStyleSheet();
|
|
28
|
-
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
29
|
-
}
|
|
30
|
-
catch (e) { }
|
|
31
|
-
return false;
|
|
32
|
-
})()
|
|
33
|
-
;
|
|
34
|
-
const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
35
|
-
if (listeners) {
|
|
36
|
-
listeners.map(([flags, name, method]) => {
|
|
37
|
-
const target = getHostListenerTarget(elm, flags) ;
|
|
38
|
-
const handler = hostListenerProxy(hostRef, method);
|
|
39
|
-
const opts = hostListenerOpts(flags);
|
|
40
|
-
plt.ael(target, name, handler, opts);
|
|
41
|
-
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
46
|
-
try {
|
|
47
|
-
{
|
|
48
|
-
if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
|
|
49
|
-
// instance is ready, let's call it's member method for this event
|
|
50
|
-
hostRef.$lazyInstance$[methodName](ev);
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
catch (e) {
|
|
58
|
-
consoleError(e);
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
const getHostListenerTarget = (elm, flags) => {
|
|
62
|
-
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
63
|
-
return win;
|
|
64
|
-
return elm;
|
|
65
|
-
};
|
|
66
|
-
// prettier-ignore
|
|
67
|
-
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
68
|
-
const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
|
|
69
19
|
const createTime = (fnName, tagName = '') => {
|
|
70
20
|
{
|
|
71
21
|
return () => {
|
|
@@ -80,76 +30,7 @@ const uniqueTime = (key, measureText) => {
|
|
|
80
30
|
};
|
|
81
31
|
}
|
|
82
32
|
};
|
|
83
|
-
const
|
|
84
|
-
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
85
|
-
let style = styles.get(scopeId);
|
|
86
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
87
|
-
style = (style || new CSSStyleSheet());
|
|
88
|
-
if (typeof style === 'string') {
|
|
89
|
-
style = cssText;
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
style.replaceSync(cssText);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
style = cssText;
|
|
97
|
-
}
|
|
98
|
-
styles.set(scopeId, style);
|
|
99
|
-
};
|
|
100
|
-
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
101
|
-
let scopeId = getScopeId(cmpMeta);
|
|
102
|
-
const style = styles.get(scopeId);
|
|
103
|
-
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
104
|
-
// so the fallback is to always use the document for the root node in those cases
|
|
105
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
106
|
-
if (style) {
|
|
107
|
-
if (typeof style === 'string') {
|
|
108
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
109
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
110
|
-
let styleElm;
|
|
111
|
-
if (!appliedStyles) {
|
|
112
|
-
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
113
|
-
}
|
|
114
|
-
if (!appliedStyles.has(scopeId)) {
|
|
115
|
-
{
|
|
116
|
-
{
|
|
117
|
-
styleElm = doc.createElement('style');
|
|
118
|
-
styleElm.innerHTML = style;
|
|
119
|
-
}
|
|
120
|
-
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
121
|
-
}
|
|
122
|
-
if (appliedStyles) {
|
|
123
|
-
appliedStyles.add(scopeId);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
128
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
return scopeId;
|
|
132
|
-
};
|
|
133
|
-
const attachStyles = (hostRef) => {
|
|
134
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
135
|
-
const elm = hostRef.$hostElement$;
|
|
136
|
-
const flags = cmpMeta.$flags$;
|
|
137
|
-
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
138
|
-
const scopeId = addStyle(supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
139
|
-
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
140
|
-
// only required when we're NOT using native shadow dom (slot)
|
|
141
|
-
// or this browser doesn't support native shadow dom
|
|
142
|
-
// and this host element was NOT created with SSR
|
|
143
|
-
// let's pick out the inner content for slot projection
|
|
144
|
-
// create a node to represent where the original
|
|
145
|
-
// content was first placed, which is useful later on
|
|
146
|
-
// DOM WRITE!!
|
|
147
|
-
elm['s-sc'] = scopeId;
|
|
148
|
-
elm.classList.add(scopeId + '-h');
|
|
149
|
-
}
|
|
150
|
-
endAttachStyles();
|
|
151
|
-
};
|
|
152
|
-
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
33
|
+
const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
|
|
153
34
|
/**
|
|
154
35
|
* Default style mode id
|
|
155
36
|
*/
|
|
@@ -248,6 +129,149 @@ const newVNode = (tag, text) => {
|
|
|
248
129
|
};
|
|
249
130
|
const Host = {};
|
|
250
131
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
132
|
+
/**
|
|
133
|
+
* Parse a new property value for a given property type.
|
|
134
|
+
*
|
|
135
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
136
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
137
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
138
|
+
* 2. the type stored from `propType`.
|
|
139
|
+
*
|
|
140
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
141
|
+
*
|
|
142
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
143
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
144
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
145
|
+
* ```tsx
|
|
146
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
147
|
+
* ```
|
|
148
|
+
*
|
|
149
|
+
* HTML prop values on the other hand, will always a string
|
|
150
|
+
*
|
|
151
|
+
* @param propValue the new value to coerce to some type
|
|
152
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
153
|
+
* @returns the parsed/coerced value
|
|
154
|
+
*/
|
|
155
|
+
const parsePropertyValue = (propValue, propType) => {
|
|
156
|
+
// ensure this value is of the correct prop type
|
|
157
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
158
|
+
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
159
|
+
// per the HTML spec, any string value means it is a boolean true value
|
|
160
|
+
// but we'll cheat here and say that the string "false" is the boolean false
|
|
161
|
+
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
162
|
+
}
|
|
163
|
+
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
164
|
+
// force it to be a number
|
|
165
|
+
return parseFloat(propValue);
|
|
166
|
+
}
|
|
167
|
+
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
168
|
+
// could have been passed as a number or boolean
|
|
169
|
+
// but we still want it as a string
|
|
170
|
+
return String(propValue);
|
|
171
|
+
}
|
|
172
|
+
// redundant return here for better minification
|
|
173
|
+
return propValue;
|
|
174
|
+
}
|
|
175
|
+
// not sure exactly what type we want
|
|
176
|
+
// so no need to change to a different type
|
|
177
|
+
return propValue;
|
|
178
|
+
};
|
|
179
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
180
|
+
const createEvent = (ref, name, flags) => {
|
|
181
|
+
const elm = getElement(ref);
|
|
182
|
+
return {
|
|
183
|
+
emit: (detail) => {
|
|
184
|
+
return emitEvent(elm, name, {
|
|
185
|
+
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
186
|
+
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
187
|
+
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
188
|
+
detail,
|
|
189
|
+
});
|
|
190
|
+
},
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
195
|
+
* @param elm the target of the Event
|
|
196
|
+
* @param name the name to give the custom Event
|
|
197
|
+
* @param opts options for configuring a custom Event
|
|
198
|
+
* @returns the custom Event
|
|
199
|
+
*/
|
|
200
|
+
const emitEvent = (elm, name, opts) => {
|
|
201
|
+
const ev = plt.ce(name, opts);
|
|
202
|
+
elm.dispatchEvent(ev);
|
|
203
|
+
return ev;
|
|
204
|
+
};
|
|
205
|
+
const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
|
|
206
|
+
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
207
|
+
let style = styles.get(scopeId);
|
|
208
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
209
|
+
style = (style || new CSSStyleSheet());
|
|
210
|
+
if (typeof style === 'string') {
|
|
211
|
+
style = cssText;
|
|
212
|
+
}
|
|
213
|
+
else {
|
|
214
|
+
style.replaceSync(cssText);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
else {
|
|
218
|
+
style = cssText;
|
|
219
|
+
}
|
|
220
|
+
styles.set(scopeId, style);
|
|
221
|
+
};
|
|
222
|
+
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
223
|
+
let scopeId = getScopeId(cmpMeta);
|
|
224
|
+
const style = styles.get(scopeId);
|
|
225
|
+
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
226
|
+
// so the fallback is to always use the document for the root node in those cases
|
|
227
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
228
|
+
if (style) {
|
|
229
|
+
if (typeof style === 'string') {
|
|
230
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
231
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
232
|
+
let styleElm;
|
|
233
|
+
if (!appliedStyles) {
|
|
234
|
+
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
235
|
+
}
|
|
236
|
+
if (!appliedStyles.has(scopeId)) {
|
|
237
|
+
{
|
|
238
|
+
{
|
|
239
|
+
styleElm = doc.createElement('style');
|
|
240
|
+
styleElm.innerHTML = style;
|
|
241
|
+
}
|
|
242
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
243
|
+
}
|
|
244
|
+
if (appliedStyles) {
|
|
245
|
+
appliedStyles.add(scopeId);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
250
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
return scopeId;
|
|
254
|
+
};
|
|
255
|
+
const attachStyles = (hostRef) => {
|
|
256
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
257
|
+
const elm = hostRef.$hostElement$;
|
|
258
|
+
const flags = cmpMeta.$flags$;
|
|
259
|
+
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
260
|
+
const scopeId = addStyle(supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
261
|
+
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
262
|
+
// only required when we're NOT using native shadow dom (slot)
|
|
263
|
+
// or this browser doesn't support native shadow dom
|
|
264
|
+
// and this host element was NOT created with SSR
|
|
265
|
+
// let's pick out the inner content for slot projection
|
|
266
|
+
// create a node to represent where the original
|
|
267
|
+
// content was first placed, which is useful later on
|
|
268
|
+
// DOM WRITE!!
|
|
269
|
+
elm['s-sc'] = scopeId;
|
|
270
|
+
elm.classList.add(scopeId + '-h');
|
|
271
|
+
}
|
|
272
|
+
endAttachStyles();
|
|
273
|
+
};
|
|
274
|
+
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
251
275
|
/**
|
|
252
276
|
* Production setAccessor() function based on Preact by
|
|
253
277
|
* Jason Miller (@developit)
|
|
@@ -1072,32 +1096,6 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1072
1096
|
relocateNodes.length = 0;
|
|
1073
1097
|
}
|
|
1074
1098
|
};
|
|
1075
|
-
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
1076
|
-
const createEvent = (ref, name, flags) => {
|
|
1077
|
-
const elm = getElement(ref);
|
|
1078
|
-
return {
|
|
1079
|
-
emit: (detail) => {
|
|
1080
|
-
return emitEvent(elm, name, {
|
|
1081
|
-
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
1082
|
-
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
1083
|
-
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
1084
|
-
detail,
|
|
1085
|
-
});
|
|
1086
|
-
},
|
|
1087
|
-
};
|
|
1088
|
-
};
|
|
1089
|
-
/**
|
|
1090
|
-
* Helper function to create & dispatch a custom Event on a provided target
|
|
1091
|
-
* @param elm the target of the Event
|
|
1092
|
-
* @param name the name to give the custom Event
|
|
1093
|
-
* @param opts options for configuring a custom Event
|
|
1094
|
-
* @returns the custom Event
|
|
1095
|
-
*/
|
|
1096
|
-
const emitEvent = (elm, name, opts) => {
|
|
1097
|
-
const ev = plt.ce(name, opts);
|
|
1098
|
-
elm.dispatchEvent(ev);
|
|
1099
|
-
return ev;
|
|
1100
|
-
};
|
|
1101
1099
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1102
1100
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
1103
1101
|
ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
|
|
@@ -1269,53 +1267,6 @@ const then = (promise, thenFn) => {
|
|
|
1269
1267
|
};
|
|
1270
1268
|
const addHydratedFlag = (elm) => elm.setAttribute('hydrated', '')
|
|
1271
1269
|
;
|
|
1272
|
-
/**
|
|
1273
|
-
* Parse a new property value for a given property type.
|
|
1274
|
-
*
|
|
1275
|
-
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
1276
|
-
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
1277
|
-
* 1. `any`, the type given to `propValue` in the function signature
|
|
1278
|
-
* 2. the type stored from `propType`.
|
|
1279
|
-
*
|
|
1280
|
-
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
1281
|
-
*
|
|
1282
|
-
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
1283
|
-
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
1284
|
-
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
1285
|
-
* ```tsx
|
|
1286
|
-
* <my-cmp prop-val={0}></my-cmp>
|
|
1287
|
-
* ```
|
|
1288
|
-
*
|
|
1289
|
-
* HTML prop values on the other hand, will always a string
|
|
1290
|
-
*
|
|
1291
|
-
* @param propValue the new value to coerce to some type
|
|
1292
|
-
* @param propType the type of the prop, expressed as a binary number
|
|
1293
|
-
* @returns the parsed/coerced value
|
|
1294
|
-
*/
|
|
1295
|
-
const parsePropertyValue = (propValue, propType) => {
|
|
1296
|
-
// ensure this value is of the correct prop type
|
|
1297
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
1298
|
-
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
1299
|
-
// per the HTML spec, any string value means it is a boolean true value
|
|
1300
|
-
// but we'll cheat here and say that the string "false" is the boolean false
|
|
1301
|
-
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
1302
|
-
}
|
|
1303
|
-
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
1304
|
-
// force it to be a number
|
|
1305
|
-
return parseFloat(propValue);
|
|
1306
|
-
}
|
|
1307
|
-
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
1308
|
-
// could have been passed as a number or boolean
|
|
1309
|
-
// but we still want it as a string
|
|
1310
|
-
return String(propValue);
|
|
1311
|
-
}
|
|
1312
|
-
// redundant return here for better minification
|
|
1313
|
-
return propValue;
|
|
1314
|
-
}
|
|
1315
|
-
// not sure exactly what type we want
|
|
1316
|
-
// so no need to change to a different type
|
|
1317
|
-
return propValue;
|
|
1318
|
-
};
|
|
1319
1270
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1320
1271
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1321
1272
|
// check our new property value against our internal value
|
|
@@ -1359,6 +1310,16 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1359
1310
|
}
|
|
1360
1311
|
}
|
|
1361
1312
|
};
|
|
1313
|
+
/**
|
|
1314
|
+
* Attach a series of runtime constructs to a compiled Stencil component
|
|
1315
|
+
* constructor, including getters and setters for the `@Prop` and `@State`
|
|
1316
|
+
* decorators, callbacks for when attributes change, and so on.
|
|
1317
|
+
*
|
|
1318
|
+
* @param Cstr the constructor for a component that we need to process
|
|
1319
|
+
* @param cmpMeta metadata collected previously about the component
|
|
1320
|
+
* @param flags a number used to store a series of bit flags
|
|
1321
|
+
* @returns a reference to the same constructor passed in (but now mutated)
|
|
1322
|
+
*/
|
|
1362
1323
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1363
1324
|
if (cmpMeta.$members$) {
|
|
1364
1325
|
if (Cstr.watchers) {
|
|
@@ -1523,7 +1484,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1523
1484
|
if (!styles.has(scopeId)) {
|
|
1524
1485
|
const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
|
|
1525
1486
|
if (cmpMeta.$flags$ & 8 /* CMP_FLAGS.needsShadowDomShim */) {
|
|
1526
|
-
style = await import('./shadow-css-
|
|
1487
|
+
style = await import('./shadow-css-b18e99d7.js').then((m) => m.scopeCss(style, scopeId, false));
|
|
1527
1488
|
}
|
|
1528
1489
|
registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
|
|
1529
1490
|
endRegisterStyles();
|
|
@@ -1739,6 +1700,40 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1739
1700
|
// Fallback appLoad event
|
|
1740
1701
|
endBootstrap();
|
|
1741
1702
|
};
|
|
1703
|
+
const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
1704
|
+
if (listeners) {
|
|
1705
|
+
listeners.map(([flags, name, method]) => {
|
|
1706
|
+
const target = getHostListenerTarget(elm, flags) ;
|
|
1707
|
+
const handler = hostListenerProxy(hostRef, method);
|
|
1708
|
+
const opts = hostListenerOpts(flags);
|
|
1709
|
+
plt.ael(target, name, handler, opts);
|
|
1710
|
+
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
1711
|
+
});
|
|
1712
|
+
}
|
|
1713
|
+
};
|
|
1714
|
+
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
1715
|
+
try {
|
|
1716
|
+
{
|
|
1717
|
+
if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
|
|
1718
|
+
// instance is ready, let's call it's member method for this event
|
|
1719
|
+
hostRef.$lazyInstance$[methodName](ev);
|
|
1720
|
+
}
|
|
1721
|
+
else {
|
|
1722
|
+
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
}
|
|
1726
|
+
catch (e) {
|
|
1727
|
+
consoleError(e);
|
|
1728
|
+
}
|
|
1729
|
+
};
|
|
1730
|
+
const getHostListenerTarget = (elm, flags) => {
|
|
1731
|
+
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
1732
|
+
return win;
|
|
1733
|
+
return elm;
|
|
1734
|
+
};
|
|
1735
|
+
// prettier-ignore
|
|
1736
|
+
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
1742
1737
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1743
1738
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1744
1739
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
@@ -1785,6 +1780,29 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1785
1780
|
}, consoleError);
|
|
1786
1781
|
};
|
|
1787
1782
|
const styles = /*@__PURE__*/ new Map();
|
|
1783
|
+
const win = typeof window !== 'undefined' ? window : {};
|
|
1784
|
+
const doc = win.document || { head: {} };
|
|
1785
|
+
const plt = {
|
|
1786
|
+
$flags$: 0,
|
|
1787
|
+
$resourcesUrl$: '',
|
|
1788
|
+
jmp: (h) => h(),
|
|
1789
|
+
raf: (h) => requestAnimationFrame(h),
|
|
1790
|
+
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
1791
|
+
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
1792
|
+
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
1793
|
+
};
|
|
1794
|
+
const supportsShadow = /*@__PURE__*/ (() => (doc.head.attachShadow + '').indexOf('[native') > -1)()
|
|
1795
|
+
;
|
|
1796
|
+
const promiseResolve = (v) => Promise.resolve(v);
|
|
1797
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
1798
|
+
try {
|
|
1799
|
+
new CSSStyleSheet();
|
|
1800
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
1801
|
+
}
|
|
1802
|
+
catch (e) { }
|
|
1803
|
+
return false;
|
|
1804
|
+
})()
|
|
1805
|
+
;
|
|
1788
1806
|
const queueDomReads = [];
|
|
1789
1807
|
const queueDomWrites = [];
|
|
1790
1808
|
const queueTask = (queue, write) => (cb) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-906433aa.js';
|
|
2
2
|
import { t } from './index-adc31e97.js';
|
|
3
3
|
|
|
4
4
|
const ku4CarouselControlsCss = ":host{position:relative;display:block}input[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;width:20px;height:20px;margin:0;padding:0;border:solid 1px #888;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:middle}input[type=radio]:checked:after{content:\"\";position:absolute;top:2px;left:2px;width:14px;height:14px;margin:0;padding:0;border:solid 1px #888;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;background-color:#333}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-906433aa.js';
|
|
2
2
|
import { L, Y, c } from './index-adc31e97.js';
|
|
3
3
|
import { S as Swipe } from './index-b9d8468a.js';
|
|
4
4
|
|
|
@@ -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-906433aa.js';
|
|
2
2
|
|
|
3
3
|
const ku4ColCss = ":host{position:relative;display:block}@media only screen and (min-width: 1px){:host(.start-xs-0){grid-column-start:1}:host(.start-xs-1){grid-column-start:2}:host(.start-xs-2){grid-column-start:3}:host(.start-xs-3){grid-column-start:4}:host(.start-xs-4){grid-column-start:5}:host(.start-xs-5){grid-column-start:6}:host(.start-xs-6){grid-column-start:7}:host(.start-xs-7){grid-column-start:8}:host(.start-xs-8){grid-column-start:9}:host(.start-xs-9){grid-column-start:10}:host(.start-xs-10){grid-column-start:11}:host(.start-xs-11){grid-column-start:12}:host(.start-xs-12){grid-column-start:13}:host(.span-xs-1){grid-column-end:span 1}:host(.span-xs-2){grid-column-end:span 2}:host(.span-xs-3){grid-column-end:span 3}:host(.span-xs-4){grid-column-end:span 4}:host(.span-xs-5){grid-column-end:span 5}:host(.span-xs-6){grid-column-end:span 6}:host(.span-xs-7){grid-column-end:span 7}:host(.span-xs-8){grid-column-end:span 8}:host(.span-xs-9){grid-column-end:span 9}:host(.span-xs-10){grid-column-end:span 10}:host(.span-xs-11){grid-column-end:span 11}:host(.span-xs-12){grid-column-end:span 12}:host(.order-xs-1){-ms-flex-order:1;order:1}:host(.order-xs-2){-ms-flex-order:2;order:2}:host(.order-xs-3){-ms-flex-order:3;order:3}:host(.order-xs-4){-ms-flex-order:4;order:4}:host(.order-xs-5){-ms-flex-order:5;order:5}:host(.order-xs-6){-ms-flex-order:6;order:6}:host(.order-xs-7){-ms-flex-order:7;order:7}:host(.order-xs-8){-ms-flex-order:8;order:8}:host(.order-xs-9){-ms-flex-order:9;order:9}:host(.order-xs-10){-ms-flex-order:10;order:10}:host(.order-xs-11){-ms-flex-order:11;order:11}:host(.order-xs-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 768px){:host(.start-sm-0){grid-column-start:1}:host(.start-sm-1){grid-column-start:2}:host(.start-sm-2){grid-column-start:3}:host(.start-sm-3){grid-column-start:4}:host(.start-sm-4){grid-column-start:5}:host(.start-sm-5){grid-column-start:6}:host(.start-sm-6){grid-column-start:7}:host(.start-sm-7){grid-column-start:8}:host(.start-sm-8){grid-column-start:9}:host(.start-sm-9){grid-column-start:10}:host(.start-sm-10){grid-column-start:11}:host(.start-sm-11){grid-column-start:12}:host(.start-sm-12){grid-column-start:13}:host(.span-sm-1){grid-column-end:span 1}:host(.span-sm-2){grid-column-end:span 2}:host(.span-sm-3){grid-column-end:span 3}:host(.span-sm-4){grid-column-end:span 4}:host(.span-sm-5){grid-column-end:span 5}:host(.span-sm-6){grid-column-end:span 6}:host(.span-sm-7){grid-column-end:span 7}:host(.span-sm-8){grid-column-end:span 8}:host(.span-sm-9){grid-column-end:span 9}:host(.span-sm-10){grid-column-end:span 10}:host(.span-sm-11){grid-column-end:span 11}:host(.span-sm-12){grid-column-end:span 12}:host(.order-sm-1){-ms-flex-order:1;order:1}:host(.order-sm-2){-ms-flex-order:2;order:2}:host(.order-sm-3){-ms-flex-order:3;order:3}:host(.order-sm-4){-ms-flex-order:4;order:4}:host(.order-sm-5){-ms-flex-order:5;order:5}:host(.order-sm-6){-ms-flex-order:6;order:6}:host(.order-sm-7){-ms-flex-order:7;order:7}:host(.order-sm-8){-ms-flex-order:8;order:8}:host(.order-sm-9){-ms-flex-order:9;order:9}:host(.order-sm-10){-ms-flex-order:10;order:10}:host(.order-sm-11){-ms-flex-order:11;order:11}:host(.order-sm-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 992px){:host(.start-md-0){grid-column-start:1}:host(.start-md-1){grid-column-start:2}:host(.start-md-2){grid-column-start:3}:host(.start-md-3){grid-column-start:4}:host(.start-md-4){grid-column-start:5}:host(.start-md-5){grid-column-start:6}:host(.start-md-6){grid-column-start:7}:host(.start-md-7){grid-column-start:8}:host(.start-md-8){grid-column-start:9}:host(.start-md-9){grid-column-start:10}:host(.start-md-10){grid-column-start:11}:host(.start-md-11){grid-column-start:12}:host(.start-md-12){grid-column-start:13}:host(.span-md-1){grid-column-end:span 1}:host(.span-md-2){grid-column-end:span 2}:host(.span-md-3){grid-column-end:span 3}:host(.span-md-4){grid-column-end:span 4}:host(.span-md-5){grid-column-end:span 5}:host(.span-md-6){grid-column-end:span 6}:host(.span-md-7){grid-column-end:span 7}:host(.span-md-8){grid-column-end:span 8}:host(.span-md-9){grid-column-end:span 9}:host(.span-md-10){grid-column-end:span 10}:host(.span-md-11){grid-column-end:span 11}:host(.span-md-12){grid-column-end:span 12}:host(.order-md-1){-ms-flex-order:1;order:1}:host(.order-md-2){-ms-flex-order:2;order:2}:host(.order-md-3){-ms-flex-order:3;order:3}:host(.order-md-4){-ms-flex-order:4;order:4}:host(.order-md-5){-ms-flex-order:5;order:5}:host(.order-md-6){-ms-flex-order:6;order:6}:host(.order-md-7){-ms-flex-order:7;order:7}:host(.order-md-8){-ms-flex-order:8;order:8}:host(.order-md-9){-ms-flex-order:9;order:9}:host(.order-md-10){-ms-flex-order:10;order:10}:host(.order-md-11){-ms-flex-order:11;order:11}:host(.order-md-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 1200px){:host(.start-lg-0){grid-column-start:1}:host(.start-lg-1){grid-column-start:2}:host(.start-lg-2){grid-column-start:3}:host(.start-lg-3){grid-column-start:4}:host(.start-lg-4){grid-column-start:5}:host(.start-lg-5){grid-column-start:6}:host(.start-lg-6){grid-column-start:7}:host(.start-lg-7){grid-column-start:8}:host(.start-lg-8){grid-column-start:9}:host(.start-lg-9){grid-column-start:10}:host(.start-lg-10){grid-column-start:11}:host(.start-lg-11){grid-column-start:12}:host(.start-lg-12){grid-column-start:13}:host(.span-lg-1){grid-column-end:span 1}:host(.span-lg-2){grid-column-end:span 2}:host(.span-lg-3){grid-column-end:span 3}:host(.span-lg-4){grid-column-end:span 4}:host(.span-lg-5){grid-column-end:span 5}:host(.span-lg-6){grid-column-end:span 6}:host(.span-lg-7){grid-column-end:span 7}:host(.span-lg-8){grid-column-end:span 8}:host(.span-lg-9){grid-column-end:span 9}:host(.span-lg-10){grid-column-end:span 10}:host(.span-lg-11){grid-column-end:span 11}:host(.span-lg-12){grid-column-end:span 12}:host(.order-lg-1){-ms-flex-order:1;order:1}:host(.order-lg-2){-ms-flex-order:2;order:2}:host(.order-lg-3){-ms-flex-order:3;order:3}:host(.order-lg-4){-ms-flex-order:4;order:4}:host(.order-lg-5){-ms-flex-order:5;order:5}:host(.order-lg-6){-ms-flex-order:6;order:6}:host(.order-lg-7){-ms-flex-order:7;order:7}:host(.order-lg-8){-ms-flex-order:8;order:8}:host(.order-lg-9){-ms-flex-order:9;order:9}:host(.order-lg-10){-ms-flex-order:10;order:10}:host(.order-lg-11){-ms-flex-order:11;order:11}:host(.order-lg-12){-ms-flex-order:12;order:12}}";
|
|
4
4
|
|
|
@@ -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-906433aa.js';
|
|
2
2
|
|
|
3
3
|
const ku4DrawerCss = ":host{position:fixed;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;z-index:1}:host([top]),:host([bottom]){width:100%;height:0;-webkit-transition:height 0.4s;transition:height 0.4s}:host([left]),:host([right]){width:0;height:100%;-webkit-transition:width 0.4s;transition:width 0.4s}:host([top][open]),:host([bottom][open]){height:100%}:host([left][open]),:host([right][open]){width:100%}:host([top][open=false]),:host([bottom][open=false]){height:0}:host([left][open=false]),:host([right][open=false]){width:0}:host([top]),:host([left]){top:0;left:0}:host([bottom]){left:0;bottom:0}:host([right]){right:0;bottom:0}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-906433aa.js';
|
|
2
2
|
import { t, o } from './index-adc31e97.js';
|
|
3
3
|
import { E as Event, K as Key } from './index-b9d8468a.js';
|
|
4
4
|
|