@kodaris/krubble-app-components 1.0.49 → 1.0.51
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/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/krubble-app.bundled.js +229 -44
- package/dist/krubble-app.bundled.js.map +1 -1
- package/dist/krubble-app.bundled.min.js +16 -11
- package/dist/krubble-app.bundled.min.js.map +1 -1
- package/dist/krubble-app.umd.js +230 -43
- package/dist/krubble-app.umd.js.map +1 -1
- package/dist/krubble-app.umd.min.js +15 -10
- package/dist/krubble-app.umd.min.js.map +1 -1
- package/dist/router.d.ts +41 -0
- package/dist/router.d.ts.map +1 -0
- package/dist/router.js +188 -0
- package/dist/router.js.map +1 -0
- package/package.json +5 -1
package/dist/krubble-app.umd.js
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
69
69
|
*/const e=e$2(class extends i{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter(s=>t[s]).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return E}});
|
|
70
70
|
|
|
71
|
-
var __decorate$
|
|
71
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
72
72
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
73
73
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
74
74
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -264,23 +264,23 @@
|
|
|
264
264
|
background: #d4f472;
|
|
265
265
|
}
|
|
266
266
|
`;
|
|
267
|
-
__decorate$
|
|
267
|
+
__decorate$5([
|
|
268
268
|
r()
|
|
269
269
|
], KRNavItemEdit.prototype, "label", void 0);
|
|
270
|
-
__decorate$
|
|
270
|
+
__decorate$5([
|
|
271
271
|
r()
|
|
272
272
|
], KRNavItemEdit.prototype, "icon", void 0);
|
|
273
|
-
__decorate$
|
|
273
|
+
__decorate$5([
|
|
274
274
|
r()
|
|
275
275
|
], KRNavItemEdit.prototype, "url", void 0);
|
|
276
|
-
__decorate$
|
|
276
|
+
__decorate$5([
|
|
277
277
|
r()
|
|
278
278
|
], KRNavItemEdit.prototype, "active", void 0);
|
|
279
|
-
KRNavItemEdit = __decorate$
|
|
279
|
+
KRNavItemEdit = __decorate$5([
|
|
280
280
|
t$1('kr-nav-item-edit')
|
|
281
281
|
], KRNavItemEdit);
|
|
282
282
|
|
|
283
|
-
var __decorate$
|
|
283
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
284
284
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
285
285
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
286
286
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2123,77 +2123,77 @@
|
|
|
2123
2123
|
}
|
|
2124
2124
|
}
|
|
2125
2125
|
`;
|
|
2126
|
-
__decorate$
|
|
2126
|
+
__decorate$4([
|
|
2127
2127
|
r()
|
|
2128
2128
|
], exports.Scaffold.prototype, "navItemsExpanded", void 0);
|
|
2129
|
-
__decorate$
|
|
2129
|
+
__decorate$4([
|
|
2130
2130
|
r()
|
|
2131
2131
|
], exports.Scaffold.prototype, "navQuery", void 0);
|
|
2132
|
-
__decorate$
|
|
2132
|
+
__decorate$4([
|
|
2133
2133
|
r()
|
|
2134
2134
|
], exports.Scaffold.prototype, "activeNavItemId", void 0);
|
|
2135
|
-
__decorate$
|
|
2135
|
+
__decorate$4([
|
|
2136
2136
|
r()
|
|
2137
2137
|
], exports.Scaffold.prototype, "isNavScrolled", void 0);
|
|
2138
|
-
__decorate$
|
|
2138
|
+
__decorate$4([
|
|
2139
2139
|
r()
|
|
2140
2140
|
], exports.Scaffold.prototype, "isNavOpened", void 0);
|
|
2141
|
-
__decorate$
|
|
2141
|
+
__decorate$4([
|
|
2142
2142
|
r()
|
|
2143
2143
|
], exports.Scaffold.prototype, "isEditing", void 0);
|
|
2144
|
-
__decorate$
|
|
2144
|
+
__decorate$4([
|
|
2145
2145
|
r()
|
|
2146
2146
|
], exports.Scaffold.prototype, "isUserMenuOpen", void 0);
|
|
2147
|
-
__decorate$
|
|
2147
|
+
__decorate$4([
|
|
2148
2148
|
r()
|
|
2149
2149
|
], exports.Scaffold.prototype, "pref", void 0);
|
|
2150
|
-
__decorate$
|
|
2150
|
+
__decorate$4([
|
|
2151
2151
|
r()
|
|
2152
2152
|
], exports.Scaffold.prototype, "draggedNavItemId", void 0);
|
|
2153
|
-
__decorate$
|
|
2153
|
+
__decorate$4([
|
|
2154
2154
|
r()
|
|
2155
2155
|
], exports.Scaffold.prototype, "navItemDropTargetId", void 0);
|
|
2156
|
-
__decorate$
|
|
2156
|
+
__decorate$4([
|
|
2157
2157
|
r()
|
|
2158
2158
|
], exports.Scaffold.prototype, "navItemDropPosition", void 0);
|
|
2159
|
-
__decorate$
|
|
2159
|
+
__decorate$4([
|
|
2160
2160
|
r()
|
|
2161
2161
|
], exports.Scaffold.prototype, "pendingRequests", void 0);
|
|
2162
|
-
__decorate$
|
|
2162
|
+
__decorate$4([
|
|
2163
2163
|
n({ type: String })
|
|
2164
2164
|
], exports.Scaffold.prototype, "logo", void 0);
|
|
2165
|
-
__decorate$
|
|
2165
|
+
__decorate$4([
|
|
2166
2166
|
n({ type: String })
|
|
2167
2167
|
], exports.Scaffold.prototype, "label", void 0);
|
|
2168
|
-
__decorate$
|
|
2168
|
+
__decorate$4([
|
|
2169
2169
|
n({ type: String, attribute: 'home-url' })
|
|
2170
2170
|
], exports.Scaffold.prototype, "homeUrl", void 0);
|
|
2171
|
-
__decorate$
|
|
2171
|
+
__decorate$4([
|
|
2172
2172
|
n({ type: String, reflect: true })
|
|
2173
2173
|
], exports.Scaffold.prototype, "scheme", void 0);
|
|
2174
|
-
__decorate$
|
|
2174
|
+
__decorate$4([
|
|
2175
2175
|
n({ type: Array })
|
|
2176
2176
|
], exports.Scaffold.prototype, "nav", void 0);
|
|
2177
|
-
__decorate$
|
|
2177
|
+
__decorate$4([
|
|
2178
2178
|
n({ type: Boolean, attribute: 'nav-icons-displayed', reflect: true })
|
|
2179
2179
|
], exports.Scaffold.prototype, "navIconsDisplayed", void 0);
|
|
2180
|
-
__decorate$
|
|
2180
|
+
__decorate$4([
|
|
2181
2181
|
n({ type: Boolean, attribute: 'nav-expanded' })
|
|
2182
2182
|
], exports.Scaffold.prototype, "navExpanded", void 0);
|
|
2183
|
-
__decorate$
|
|
2183
|
+
__decorate$4([
|
|
2184
2184
|
n({ type: Object })
|
|
2185
2185
|
], exports.Scaffold.prototype, "user", void 0);
|
|
2186
|
-
__decorate$
|
|
2186
|
+
__decorate$4([
|
|
2187
2187
|
n({ type: Boolean })
|
|
2188
2188
|
], exports.Scaffold.prototype, "subbar", void 0);
|
|
2189
|
-
__decorate$
|
|
2189
|
+
__decorate$4([
|
|
2190
2190
|
n({ type: Array })
|
|
2191
2191
|
], exports.Scaffold.prototype, "breadcrumbs", void 0);
|
|
2192
|
-
exports.Scaffold = __decorate$
|
|
2192
|
+
exports.Scaffold = __decorate$4([
|
|
2193
2193
|
t$1('kr-scaffold')
|
|
2194
2194
|
], exports.Scaffold);
|
|
2195
2195
|
|
|
2196
|
-
var __decorate$
|
|
2196
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2197
2197
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2198
2198
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2199
2199
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2432,23 +2432,23 @@
|
|
|
2432
2432
|
overflow-y: auto;
|
|
2433
2433
|
}
|
|
2434
2434
|
`;
|
|
2435
|
-
__decorate$
|
|
2435
|
+
__decorate$3([
|
|
2436
2436
|
n({ type: String })
|
|
2437
2437
|
], exports.ScreenNav.prototype, "label", void 0);
|
|
2438
|
-
__decorate$
|
|
2438
|
+
__decorate$3([
|
|
2439
2439
|
n({ type: String })
|
|
2440
2440
|
], exports.ScreenNav.prototype, "subLabel", void 0);
|
|
2441
|
-
__decorate$
|
|
2441
|
+
__decorate$3([
|
|
2442
2442
|
n({ type: Array })
|
|
2443
2443
|
], exports.ScreenNav.prototype, "navItems", void 0);
|
|
2444
|
-
__decorate$
|
|
2444
|
+
__decorate$3([
|
|
2445
2445
|
n({ type: String })
|
|
2446
2446
|
], exports.ScreenNav.prototype, "activeId", void 0);
|
|
2447
|
-
exports.ScreenNav = __decorate$
|
|
2447
|
+
exports.ScreenNav = __decorate$3([
|
|
2448
2448
|
t$1('kr-screen-nav')
|
|
2449
2449
|
], exports.ScreenNav);
|
|
2450
2450
|
|
|
2451
|
-
var __decorate$
|
|
2451
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2452
2452
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2453
2453
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2454
2454
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2542,14 +2542,14 @@
|
|
|
2542
2542
|
max-width: 700px;
|
|
2543
2543
|
}
|
|
2544
2544
|
`;
|
|
2545
|
-
__decorate$
|
|
2545
|
+
__decorate$2([
|
|
2546
2546
|
n({ type: String })
|
|
2547
2547
|
], exports.ScreenDetail.prototype, "title", void 0);
|
|
2548
|
-
exports.ScreenDetail = __decorate$
|
|
2548
|
+
exports.ScreenDetail = __decorate$2([
|
|
2549
2549
|
t$1('kr-screen-detail')
|
|
2550
2550
|
], exports.ScreenDetail);
|
|
2551
2551
|
|
|
2552
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2552
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2553
2553
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2554
2554
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2555
2555
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2722,16 +2722,203 @@
|
|
|
2722
2722
|
height: 18px;
|
|
2723
2723
|
}
|
|
2724
2724
|
`;
|
|
2725
|
-
__decorate([
|
|
2725
|
+
__decorate$1([
|
|
2726
2726
|
n({ type: Array })
|
|
2727
2727
|
], exports.Subbar.prototype, "breadcrumbs", void 0);
|
|
2728
|
-
__decorate([
|
|
2728
|
+
__decorate$1([
|
|
2729
2729
|
n({ type: Boolean })
|
|
2730
2730
|
], exports.Subbar.prototype, "menu", void 0);
|
|
2731
|
-
exports.Subbar = __decorate([
|
|
2731
|
+
exports.Subbar = __decorate$1([
|
|
2732
2732
|
t$1('kr-subbar')
|
|
2733
2733
|
], exports.Subbar);
|
|
2734
2734
|
|
|
2735
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2736
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2737
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2738
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2739
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2740
|
+
};
|
|
2741
|
+
class KRRouter {
|
|
2742
|
+
static configure(config) {
|
|
2743
|
+
KRRouter.base = config.base;
|
|
2744
|
+
KRRouter.routes = config.routes;
|
|
2745
|
+
// Intercept <a> clicks for client-side navigation
|
|
2746
|
+
window.addEventListener('click', (e) => {
|
|
2747
|
+
const anchor = e.composedPath().find(el => el instanceof HTMLAnchorElement);
|
|
2748
|
+
if (!anchor) {
|
|
2749
|
+
return;
|
|
2750
|
+
}
|
|
2751
|
+
if (anchor.origin !== window.location.origin) {
|
|
2752
|
+
return;
|
|
2753
|
+
}
|
|
2754
|
+
if (!anchor.pathname.startsWith(KRRouter.base)) {
|
|
2755
|
+
return;
|
|
2756
|
+
}
|
|
2757
|
+
e.preventDefault();
|
|
2758
|
+
KRRouter.navigate(anchor.pathname);
|
|
2759
|
+
});
|
|
2760
|
+
}
|
|
2761
|
+
static navigate(path) {
|
|
2762
|
+
let fullPath = path;
|
|
2763
|
+
if (!path.startsWith('/')) {
|
|
2764
|
+
fullPath = KRRouter.base + '/' + path;
|
|
2765
|
+
}
|
|
2766
|
+
window.history.pushState({}, '', fullPath);
|
|
2767
|
+
window.dispatchEvent(new PopStateEvent('popstate'));
|
|
2768
|
+
}
|
|
2769
|
+
static getParams() {
|
|
2770
|
+
const matched = KRRouter.matchAll();
|
|
2771
|
+
const params = {};
|
|
2772
|
+
for (const match of matched) {
|
|
2773
|
+
for (const key in match.params) {
|
|
2774
|
+
params[key] = decodeURIComponent(match.params[key]);
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
return params;
|
|
2778
|
+
}
|
|
2779
|
+
static outlet(level) {
|
|
2780
|
+
const matched = KRRouter.matchAll();
|
|
2781
|
+
if (level >= matched.length) {
|
|
2782
|
+
return null;
|
|
2783
|
+
}
|
|
2784
|
+
const match = matched[level];
|
|
2785
|
+
const tag = match.route.component;
|
|
2786
|
+
const cached = KRRouter.elementCache.get(level + ':' + tag);
|
|
2787
|
+
if (cached) {
|
|
2788
|
+
return cached;
|
|
2789
|
+
}
|
|
2790
|
+
// Clear old cache entry for this level
|
|
2791
|
+
for (const key of KRRouter.elementCache.keys()) {
|
|
2792
|
+
if (key.startsWith(level + ':')) {
|
|
2793
|
+
KRRouter.elementCache.delete(key);
|
|
2794
|
+
}
|
|
2795
|
+
}
|
|
2796
|
+
const el = document.createElement(tag);
|
|
2797
|
+
KRRouter.elementCache.set(level + ':' + tag, el);
|
|
2798
|
+
return el;
|
|
2799
|
+
}
|
|
2800
|
+
static matchAll() {
|
|
2801
|
+
const path = window.location.pathname;
|
|
2802
|
+
let relative = path;
|
|
2803
|
+
if (path.startsWith(KRRouter.base)) {
|
|
2804
|
+
relative = path.slice(KRRouter.base.length);
|
|
2805
|
+
}
|
|
2806
|
+
const segments = relative.split('/').filter(s => s);
|
|
2807
|
+
return KRRouter.matchRoutes(KRRouter.routes, segments);
|
|
2808
|
+
}
|
|
2809
|
+
static matchRoutes(routes, segments) {
|
|
2810
|
+
for (const route of routes) {
|
|
2811
|
+
const routeSegments = route.path.split('/').filter(s => s);
|
|
2812
|
+
if (routeSegments.length === 0 && segments.length === 0) {
|
|
2813
|
+
return [{ route, params: {} }];
|
|
2814
|
+
}
|
|
2815
|
+
if (routeSegments.length === 0) {
|
|
2816
|
+
continue;
|
|
2817
|
+
}
|
|
2818
|
+
if (segments.length < routeSegments.length) {
|
|
2819
|
+
continue;
|
|
2820
|
+
}
|
|
2821
|
+
const params = {};
|
|
2822
|
+
let matched = true;
|
|
2823
|
+
for (let i = 0; i < routeSegments.length; i++) {
|
|
2824
|
+
if (routeSegments[i].startsWith(':')) {
|
|
2825
|
+
params[routeSegments[i].slice(1)] = segments[i];
|
|
2826
|
+
}
|
|
2827
|
+
else if (routeSegments[i] !== segments[i]) {
|
|
2828
|
+
matched = false;
|
|
2829
|
+
break;
|
|
2830
|
+
}
|
|
2831
|
+
}
|
|
2832
|
+
if (!matched) {
|
|
2833
|
+
continue;
|
|
2834
|
+
}
|
|
2835
|
+
const remaining = segments.slice(routeSegments.length);
|
|
2836
|
+
// If there are remaining segments but no children, this route doesn't fully match — try next route
|
|
2837
|
+
if (remaining.length > 0 && !route.children) {
|
|
2838
|
+
continue;
|
|
2839
|
+
}
|
|
2840
|
+
const result = [{ route, params }];
|
|
2841
|
+
if (route.children && remaining.length > 0) {
|
|
2842
|
+
const childMatches = KRRouter.matchRoutes(route.children, remaining);
|
|
2843
|
+
if (childMatches.length > 0) {
|
|
2844
|
+
result.push(...childMatches);
|
|
2845
|
+
return result;
|
|
2846
|
+
}
|
|
2847
|
+
}
|
|
2848
|
+
// No remaining segments + default child — redirect
|
|
2849
|
+
if (route.children && remaining.length === 0 && route.default) {
|
|
2850
|
+
window.history.replaceState({}, '', window.location.pathname + '/' + route.default);
|
|
2851
|
+
const childMatches = KRRouter.matchRoutes(route.children, [route.default]);
|
|
2852
|
+
if (childMatches.length > 0) {
|
|
2853
|
+
result.push(...childMatches);
|
|
2854
|
+
return result;
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
2857
|
+
return result;
|
|
2858
|
+
}
|
|
2859
|
+
return [];
|
|
2860
|
+
}
|
|
2861
|
+
}
|
|
2862
|
+
KRRouter.base = '';
|
|
2863
|
+
KRRouter.routes = [];
|
|
2864
|
+
KRRouter.elementCache = new Map();
|
|
2865
|
+
exports.RouterOutlet = class KRRouterOutlet extends i$1 {
|
|
2866
|
+
constructor() {
|
|
2867
|
+
super(...arguments);
|
|
2868
|
+
this.level = -1;
|
|
2869
|
+
this.handlePopState = () => {
|
|
2870
|
+
this.requestUpdate();
|
|
2871
|
+
};
|
|
2872
|
+
}
|
|
2873
|
+
connectedCallback() {
|
|
2874
|
+
super.connectedCallback();
|
|
2875
|
+
this.level = this.detectLevel();
|
|
2876
|
+
window.addEventListener('popstate', this.handlePopState);
|
|
2877
|
+
}
|
|
2878
|
+
disconnectedCallback() {
|
|
2879
|
+
super.disconnectedCallback();
|
|
2880
|
+
window.removeEventListener('popstate', this.handlePopState);
|
|
2881
|
+
}
|
|
2882
|
+
detectLevel() {
|
|
2883
|
+
let level = 0;
|
|
2884
|
+
let node = this;
|
|
2885
|
+
while (node) {
|
|
2886
|
+
if (node instanceof ShadowRoot) {
|
|
2887
|
+
node = node.host;
|
|
2888
|
+
continue;
|
|
2889
|
+
}
|
|
2890
|
+
if (node instanceof HTMLElement && node.tagName === 'KR-ROUTER-OUTLET' && node !== this) {
|
|
2891
|
+
level++;
|
|
2892
|
+
}
|
|
2893
|
+
if (node instanceof HTMLElement) {
|
|
2894
|
+
node = node.parentNode;
|
|
2895
|
+
}
|
|
2896
|
+
else {
|
|
2897
|
+
node = null;
|
|
2898
|
+
}
|
|
2899
|
+
}
|
|
2900
|
+
return level;
|
|
2901
|
+
}
|
|
2902
|
+
render() {
|
|
2903
|
+
const el = KRRouter.outlet(this.level);
|
|
2904
|
+
if (!el) {
|
|
2905
|
+
return b ``;
|
|
2906
|
+
}
|
|
2907
|
+
return b `${el}`;
|
|
2908
|
+
}
|
|
2909
|
+
};
|
|
2910
|
+
exports.RouterOutlet.styles = i$4 `
|
|
2911
|
+
:host {
|
|
2912
|
+
display: block;
|
|
2913
|
+
height: 100%;
|
|
2914
|
+
}
|
|
2915
|
+
`;
|
|
2916
|
+
exports.RouterOutlet = __decorate([
|
|
2917
|
+
t$1('kr-router-outlet')
|
|
2918
|
+
], exports.RouterOutlet);
|
|
2919
|
+
|
|
2920
|
+
exports.Router = KRRouter;
|
|
2921
|
+
|
|
2735
2922
|
}));
|
|
2736
2923
|
(function(e){Object.keys(e).forEach(function(k){if(k.startsWith('KR')&&typeof e[k]==='function'){e[k.slice(2)]=e[k];delete e[k];}});})(krApp);
|
|
2737
2924
|
//# sourceMappingURL=krubble-app.umd.js.map
|