@mhmo91/schmancy 0.4.96 → 0.4.98
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/area.cjs +1 -1
- package/dist/{area.component-DbHc6U3D.js → area.component-CFtPxjTB.js} +15 -15
- package/dist/{area.component-DbHc6U3D.js.map → area.component-CFtPxjTB.js.map} +1 -1
- package/dist/area.component-DSAxybsX.cjs +12 -0
- package/dist/{area.component-DA4tYUkZ.cjs.map → area.component-DSAxybsX.cjs.map} +1 -1
- package/dist/area.js +19 -17
- package/dist/{avatar-C-SwQh5Z.cjs → avatar-B51KRC34.cjs} +2 -2
- package/dist/{avatar-C-SwQh5Z.cjs.map → avatar-B51KRC34.cjs.map} +1 -1
- package/dist/{avatar-BGzMoyIf.js → avatar-BPrLAoG-.js} +2 -2
- package/dist/{avatar-BGzMoyIf.js.map → avatar-BPrLAoG-.js.map} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +213 -211
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{lazy-DObpkuL6.cjs → utils-C38P63L6.cjs} +2 -2
- package/dist/utils-C38P63L6.cjs.map +1 -0
- package/dist/{lazy-E2LCDm7n.js → utils-CYOVFxSx.js} +68 -60
- package/dist/{lazy-DObpkuL6.cjs.map → utils-CYOVFxSx.js.map} +1 -1
- package/package.json +1 -1
- package/types/src/area/index.d.ts +3 -2
- package/dist/area.component-DA4tYUkZ.cjs +0 -12
- package/dist/lazy-E2LCDm7n.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,242 +1,244 @@
|
|
|
1
1
|
import "./animated-text-B1DKGEyL.js";
|
|
2
|
-
import { F as
|
|
3
|
-
import {
|
|
2
|
+
import { F as C, H as g, c as u, S as D, b, a as w, r as T } from "./area.component-CFtPxjTB.js";
|
|
3
|
+
import { p as M, k as R, c as A, j as N, m as v, b as E, d as H, h as B, a as F, e as L, f as O, o as $, g as j, i as k, l as z, n as P, s as V } from "./utils-CYOVFxSx.js";
|
|
4
4
|
import "./autocomplete-DpZQqAGm.js";
|
|
5
|
-
import { $ as
|
|
6
|
-
import { S as
|
|
5
|
+
import { $ as G, H as W, a as K, r as _, S as q, g as Q, d as J, h as U, e as X, f as Z, i as aa, b as ea, c as ra, k as ta, m as oa, n as ca, o as sa, l as ma, p as na, q as Sa, W as ia, s as ha, j as ya, t as pa } from "./avatar-BPrLAoG-.js";
|
|
6
|
+
import { S as fa } from "./boat-C6oKTIlM.js";
|
|
7
7
|
import "./spinner-NR-WnRIj.js";
|
|
8
|
-
import { S as
|
|
8
|
+
import { S as da, a as Ca } from "./icon-button-B4fsinj2.js";
|
|
9
9
|
import "./media-BvEF-HzD.js";
|
|
10
|
-
import { S as
|
|
11
|
-
import { a as
|
|
12
|
-
import { S as
|
|
13
|
-
import { S as
|
|
14
|
-
import { S as
|
|
15
|
-
import { S as
|
|
16
|
-
import { S as
|
|
17
|
-
import { S as
|
|
18
|
-
import { C as
|
|
19
|
-
import { $ as
|
|
20
|
-
import { c as
|
|
21
|
-
import { guard as
|
|
10
|
+
import { S as ua } from "./checkbox-DSW62smU.js";
|
|
11
|
+
import { a as ba, S as wa, d as Ta, S as Ia, b as Ma, c as Ra } from "./chips-DIoIf1ND.js";
|
|
12
|
+
import { S as Na, S as va, a as Ea } from "./code-preview-8XQAR_rg.js";
|
|
13
|
+
import { S as Ba } from "./payment-card-form-D-MHQCM7.js";
|
|
14
|
+
import { S as La, v as Oa } from "./date-range-Bgr1ok1D.js";
|
|
15
|
+
import { S as ja } from "./date-range-inline-7g5AJrua.js";
|
|
16
|
+
import { S as za, d as Pa } from "./delay-CtF14hCc.js";
|
|
17
|
+
import { S as Ya } from "./details-DDhUTFpC.js";
|
|
18
|
+
import { C as Wa, S as Ka, a as _a } from "./dialog-content-DZ5VUwBo.js";
|
|
19
|
+
import { $ as Qa, D as Ja } from "./dialog-service-PQ9ssbsY.js";
|
|
20
|
+
import { c as Xa, f as Za, r as ae } from "./ripple-Cy-nvO8W.js";
|
|
21
|
+
import { guard as re } from "lit/directives/guard.js";
|
|
22
22
|
import "./divider-Dn6brh7T.js";
|
|
23
|
-
import { S as
|
|
24
|
-
import { S as
|
|
23
|
+
import { S as oe, a as ce } from "./dropdown-content-Cgj5pA_r.js";
|
|
24
|
+
import { S as me, a as ne } from "./timezone-B0JHFjXr.js";
|
|
25
25
|
import "./form-B1eDJoVW.js";
|
|
26
26
|
import "./icon-Bxm8o8R4.js";
|
|
27
|
-
import { S as
|
|
28
|
-
import { S as
|
|
29
|
-
import { L as
|
|
30
|
-
import { a as
|
|
31
|
-
import { S as
|
|
27
|
+
import { S as ie, a as he } from "./input-BrFENpX9.js";
|
|
28
|
+
import { S as pe, c as le, a as fe, b as xe } from "./flex-D7uKo3cp.js";
|
|
29
|
+
import { L as Ce, a as ge, S as ue } from "./list-B11MYVeT.js";
|
|
30
|
+
import { a as be, d as we, c as Te, b as Ie, S as Me } from "./email-recipients-DWMc4Kbm.js";
|
|
31
|
+
import { S as Ae } from "./map-CPaDh0fK.js";
|
|
32
32
|
import "./menu-BL-7oqJ9.js";
|
|
33
|
-
import { $ as
|
|
34
|
-
import { n as
|
|
33
|
+
import { $ as ve, N as Ee, S as He, a as Be } from "./notification-service-BwM5HMaj.js";
|
|
34
|
+
import { n as Le, a as Oe } from "./notify-BHmCE9I3.js";
|
|
35
35
|
import "./option-CRw6_dXY.js";
|
|
36
36
|
import "./progress-BuYkNiju.js";
|
|
37
|
-
import { a as
|
|
38
|
-
import { mutationObserver as
|
|
37
|
+
import { a as je, R as ke } from "./radio-button-CokLuIqN.js";
|
|
38
|
+
import { mutationObserver as Pe } from "./rxjs-utils.js";
|
|
39
39
|
import "rxjs";
|
|
40
40
|
import "./index-CW6PhEkx.js";
|
|
41
|
-
import { S as
|
|
41
|
+
import { S as Ye } from "./select-Dj-oLKFF.js";
|
|
42
42
|
import "./sheet-DHy5-DkZ.js";
|
|
43
|
-
import { S as
|
|
44
|
-
import { S as
|
|
45
|
-
import { S as
|
|
46
|
-
import { B as
|
|
47
|
-
import { p as
|
|
48
|
-
import { a as
|
|
49
|
-
import { a as
|
|
43
|
+
import { S as We, b as Ke, a as _e, s as qe } from "./sheet.service-lXqUf6n5.js";
|
|
44
|
+
import { S as Je, a as Ue } from "./slider-FixLgBPB.js";
|
|
45
|
+
import { S as Ze, a as ar, b as er, s as rr } from "./schmancy-steps-container-2gQqGQwB.js";
|
|
46
|
+
import { B as or, I as cr, L as sr, M as mr, S as nr, a as Sr, b as ir, d as hr, c as yr } from "./context-object-u5gBaozZ.js";
|
|
47
|
+
import { p as lr, a as fr, v as xr, G as dr, c as Cr, E as gr, z as ur, C as Dr, B as br, x as wr, w as Tr, y as Ir, D as Mr, F as Rr, u as Ar, A as Nr, b as vr, r as Er, d as Hr, q as Br, f as Fr, g as Lr, i as Or, j as $r, k as jr, l as kr, o as zr, h as Pr, n as Vr, m as Yr, e as Gr, s as Wr, t as Kr } from "./selector-hook-ChImS_JT.js";
|
|
48
|
+
import { a as qr, S as Qr } from "./surface-Bygc4Pkm.js";
|
|
49
|
+
import { a as Ur, S as Xr } from "./table--xC1C9bV.js";
|
|
50
50
|
import "./tabs-compatibility-Dj58Mdjp.js";
|
|
51
51
|
import "./textarea-8OzsuUGm.js";
|
|
52
|
-
import { S as
|
|
53
|
-
import { a as
|
|
54
|
-
import { S as
|
|
52
|
+
import { S as at, f as et, t as rt, a as tt } from "./theme.component-CMNPDwrg.js";
|
|
53
|
+
import { a as ct, T as st } from "./theme.events-CPSLaOlR.js";
|
|
54
|
+
import { S as nt } from "./theme.interface-C5Kj6WjD.js";
|
|
55
55
|
import "./theme-button-CKBPOL_F.js";
|
|
56
|
-
import { S as
|
|
57
|
-
import { S as
|
|
58
|
-
import { SchmancyEvents as
|
|
59
|
-
import { T as
|
|
60
|
-
import { S as
|
|
61
|
-
import { i as
|
|
62
|
-
import { N as
|
|
63
|
-
import { s as
|
|
56
|
+
import { S as it, t as ht } from "./tooltip-vzAPO65W.js";
|
|
57
|
+
import { S as pt } from "./tree--vE36pPQ.js";
|
|
58
|
+
import { SchmancyEvents as ft } from "./types.js";
|
|
59
|
+
import { T as dt } from "./typewriter-C0E8tuqP.js";
|
|
60
|
+
import { S as gt } from "./typography-6mMnwoRl.js";
|
|
61
|
+
import { i as Dt } from "./intersection-CJxzz8c-.js";
|
|
62
|
+
import { N as wt } from "./number-BhTiptLA.js";
|
|
63
|
+
import { s as It } from "./search-6Hr7K1gh.js";
|
|
64
64
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
65
|
+
Qa as $dialog,
|
|
66
|
+
G as $drawer,
|
|
67
|
+
ve as $notify,
|
|
68
|
+
or as BaseStore,
|
|
69
|
+
Wa as ConfirmDialog,
|
|
70
|
+
Ja as DialogService,
|
|
71
|
+
C as FINDING_MORTIES,
|
|
72
72
|
g as HERE_RICKY,
|
|
73
73
|
u as HISTORY_STRATEGY,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
74
|
+
W as HereMorty,
|
|
75
|
+
cr as IndexedDBStorageManager,
|
|
76
|
+
Ce as List,
|
|
77
|
+
sr as LocalStorageManager,
|
|
78
|
+
mr as MemoryStorageManager,
|
|
79
|
+
Ee as NotificationAudioService,
|
|
80
|
+
wt as Numbers,
|
|
81
|
+
je as RadioButton,
|
|
82
|
+
ke as RadioGroup,
|
|
83
|
+
K as ScBadgeV2,
|
|
84
84
|
D as SchmancyArea,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
85
|
+
nr as SchmancyArrayStore,
|
|
86
|
+
ba as SchmancyAssistChip,
|
|
87
|
+
_ as SchmancyAvatar,
|
|
88
|
+
q as SchmancyBadgeV2,
|
|
89
|
+
fa as SchmancyBoat,
|
|
90
|
+
da as SchmancyButton,
|
|
91
|
+
ua as SchmancyCheckbox,
|
|
92
|
+
wa as SchmancyChip,
|
|
93
|
+
Ta as SchmancyChips,
|
|
94
|
+
Na as SchmancyCode,
|
|
95
|
+
va as SchmancyCodeHighlight,
|
|
96
|
+
Ea as SchmancyCodePreview,
|
|
97
|
+
Q as SchmancyContentDrawer,
|
|
98
|
+
J as SchmancyContentDrawerID,
|
|
99
|
+
U as SchmancyContentDrawerMain,
|
|
100
|
+
X as SchmancyContentDrawerMaxHeight,
|
|
101
|
+
Z as SchmancyContentDrawerMinWidth,
|
|
102
|
+
aa as SchmancyContentDrawerSheet,
|
|
103
|
+
ea as SchmancyContentDrawerSheetMode,
|
|
104
|
+
ra as SchmancyContentDrawerSheetState,
|
|
105
|
+
me as SchmancyCountriesSelect,
|
|
106
|
+
Ur as SchmancyDataTable,
|
|
107
|
+
La as SchmancyDateRange,
|
|
108
|
+
ja as SchmancyDateRangeInline,
|
|
109
|
+
za as SchmancyDelay,
|
|
110
|
+
Ya as SchmancyDetails,
|
|
111
|
+
Ka as SchmancyDialog,
|
|
112
|
+
_a as SchmancyDialogContent,
|
|
113
|
+
ta as SchmancyDrawerAppbar,
|
|
114
|
+
oa as SchmancyDrawerNavbarMode,
|
|
115
|
+
ca as SchmancyDrawerNavbarState,
|
|
116
|
+
oe as SchmancyDropdown,
|
|
117
|
+
ce as SchmancyDropdownContent,
|
|
118
|
+
be as SchmancyEmailEditor,
|
|
119
|
+
we as SchmancyEmailLayoutSelector,
|
|
120
|
+
Te as SchmancyEmailRecipients,
|
|
121
|
+
Ie as SchmancyEmailViewer,
|
|
122
|
+
ft as SchmancyEvents,
|
|
123
|
+
Ia as SchmancyFilterChip,
|
|
124
|
+
pe as SchmancyFlex,
|
|
125
|
+
le as SchmancyFlexV2,
|
|
126
|
+
fe as SchmancyGrid,
|
|
127
|
+
ie as SchmancyInput,
|
|
128
|
+
Ma as SchmancyInputChip,
|
|
129
|
+
he as SchmancyInputCompat,
|
|
130
|
+
ge as SchmancyListItem,
|
|
131
|
+
ue as SchmancyListTypeContext,
|
|
132
|
+
Me as SchmancyMailbox,
|
|
133
|
+
Ae as SchmancyMap,
|
|
134
|
+
sa as SchmancyNavigationDrawer,
|
|
135
|
+
ma as SchmancyNavigationDrawerContent,
|
|
136
|
+
na as SchmancyNavigationDrawerSidebar,
|
|
137
|
+
He as SchmancyNotification,
|
|
138
|
+
Be as SchmancyNotificationContainer,
|
|
139
|
+
Ba as SchmancyPaymentCardForm,
|
|
140
140
|
b as SchmancyRoute,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
141
|
+
xe as SchmancyScroll,
|
|
142
|
+
Ye as SchmancySelect,
|
|
143
|
+
We as SchmancySheetPosition,
|
|
144
|
+
Je as SchmancySlide,
|
|
145
|
+
Ue as SchmancySlider,
|
|
146
|
+
Ze as SchmancyStep,
|
|
147
|
+
ar as SchmancyStepsContainer,
|
|
148
|
+
Sr as SchmancyStoreObject,
|
|
149
|
+
Ra as SchmancySuggestionChip,
|
|
150
|
+
qr as SchmancySurface,
|
|
151
|
+
Qr as SchmancySurfaceTypeContext,
|
|
152
|
+
Xr as SchmancyTableRow,
|
|
153
|
+
Sa as SchmancyTeleportation,
|
|
154
|
+
nt as SchmancyTheme,
|
|
155
|
+
at as SchmancyThemeComponent,
|
|
156
|
+
ne as SchmancyTimezonesSelect,
|
|
157
|
+
it as SchmancyTooltip,
|
|
158
|
+
pt as SchmancyTree,
|
|
159
|
+
gt as SchmancyTypography,
|
|
160
|
+
Ca as SchmnacyIconButton,
|
|
161
|
+
ir as SessionStorageManager,
|
|
162
|
+
Ke as SheetHereMorty,
|
|
163
|
+
_e as SheetWhereAreYouRicky,
|
|
164
|
+
er as StepsController,
|
|
165
|
+
hr as StoreError,
|
|
166
|
+
ct as ThemeHereIAm,
|
|
167
|
+
st as ThemeWhereAreYou,
|
|
168
|
+
dt as TypewriterElement,
|
|
169
|
+
ia as WhereAreYouRicky,
|
|
170
170
|
w as area,
|
|
171
171
|
M as buildQueryString,
|
|
172
|
-
|
|
172
|
+
Xa as color,
|
|
173
173
|
R as compareActiveRoutes,
|
|
174
174
|
A as compareCustomElementConstructors,
|
|
175
175
|
N as compareRouteActions,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
176
|
+
lr as compareValues,
|
|
177
|
+
fr as createArrayContext,
|
|
178
|
+
xr as createCollectionSelector,
|
|
179
|
+
dr as createCompoundSelector,
|
|
180
|
+
Cr as createContext,
|
|
181
|
+
gr as createCountSelector,
|
|
182
|
+
ur as createEntriesSelector,
|
|
183
|
+
Dr as createFilterSelector,
|
|
184
|
+
br as createFindSelector,
|
|
185
|
+
wr as createItemSelector,
|
|
186
|
+
Tr as createItemsSelector,
|
|
187
|
+
Ir as createKeysSelector,
|
|
188
|
+
Mr as createMapSelector,
|
|
189
|
+
Rr as createOptimizedSelector,
|
|
190
190
|
v as createRouteCacheKey,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
191
|
+
Ar as createSelector,
|
|
192
|
+
Nr as createSortSelector,
|
|
193
|
+
yr as createStorageManager,
|
|
194
|
+
vr as createTestArrayContext,
|
|
195
195
|
E as debounce,
|
|
196
|
-
H as
|
|
197
|
-
B as
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
L as
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
Er as
|
|
204
|
-
Hr as
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
Or as
|
|
214
|
-
$r as
|
|
215
|
-
jr as
|
|
216
|
-
kr as
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
Vr as
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
196
|
+
H as decodeData,
|
|
197
|
+
B as decodeRouteState,
|
|
198
|
+
F as deepMerge,
|
|
199
|
+
Pa as delayContext,
|
|
200
|
+
L as encodeData,
|
|
201
|
+
O as encodeRouteState,
|
|
202
|
+
$ as extractQueryParams,
|
|
203
|
+
Er as filterArray,
|
|
204
|
+
Hr as filterArrayItems,
|
|
205
|
+
Br as filterMap,
|
|
206
|
+
Fr as filterMapItems,
|
|
207
|
+
et as formateTheme,
|
|
208
|
+
Za as fullHeight,
|
|
209
|
+
Lr as getFieldValue,
|
|
210
|
+
j as getTagName,
|
|
211
|
+
re as guard,
|
|
212
|
+
Dt as intersection$,
|
|
213
|
+
Or as isArray,
|
|
214
|
+
$r as isDate,
|
|
215
|
+
jr as isIterable,
|
|
216
|
+
kr as isMap,
|
|
217
|
+
zr as isNil,
|
|
218
|
+
Pr as isNumber,
|
|
219
|
+
k as isObject,
|
|
220
|
+
Vr as isPlainObject,
|
|
221
|
+
Yr as isSet,
|
|
222
|
+
Gr as isString,
|
|
223
|
+
z as lazy,
|
|
224
|
+
Pe as mutationObserver,
|
|
225
|
+
P as normalizeTagName,
|
|
226
|
+
Le as notify,
|
|
227
|
+
Oe as notifyProgress,
|
|
228
|
+
ae as ripple,
|
|
227
229
|
T as routerHistory,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
230
|
+
V as sanitizeRouteState,
|
|
231
|
+
ha as schmancyContentDrawer,
|
|
232
|
+
ya as schmancyNavDrawer,
|
|
233
|
+
Wr as select,
|
|
234
|
+
Kr as selectItem,
|
|
235
|
+
qe as sheet,
|
|
236
|
+
It as similarity,
|
|
237
|
+
rr as stepsContext,
|
|
238
|
+
rt as tailwindStyles,
|
|
239
|
+
pa as teleport,
|
|
240
|
+
tt as theme,
|
|
241
|
+
ht as tooltip,
|
|
242
|
+
Oa as validateInitialDateRange
|
|
241
243
|
};
|
|
242
244
|
//# sourceMappingURL=index.js.map
|
package/dist/nav-drawer.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./avatar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./avatar-B51KRC34.cjs");exports.$drawer=e.$drawer,Object.defineProperty(exports,"SchmancyDrawerAppbar",{enumerable:!0,get:()=>e.SchmancyDrawerAppbar}),exports.SchmancyDrawerNavbarMode=e.SchmancyDrawerNavbarMode,exports.SchmancyDrawerNavbarState=e.SchmancyDrawerNavbarState,Object.defineProperty(exports,"SchmancyNavigationDrawer",{enumerable:!0,get:()=>e.SchmancyNavigationDrawer}),Object.defineProperty(exports,"SchmancyNavigationDrawerContent",{enumerable:!0,get:()=>e.SchmancyNavigationDrawerContent}),Object.defineProperty(exports,"SchmancyNavigationDrawerSidebar",{enumerable:!0,get:()=>e.SchmancyNavigationDrawerSidebar}),exports.schmancyNavDrawer=e.schmancyNavDrawer;
|
|
2
2
|
//# sourceMappingURL=nav-drawer.cjs.map
|
package/dist/nav-drawer.js
CHANGED
package/dist/teleport.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./avatar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./avatar-B51KRC34.cjs");exports.HereMorty=e.HereMorty,Object.defineProperty(exports,"SchmancyTeleportation",{enumerable:!0,get:()=>e.SchmancyTeleportation}),exports.WhereAreYouRicky=e.WhereAreYouRicky,exports.teleport=e.teleport;
|
|
2
2
|
//# sourceMappingURL=teleport.cjs.map
|
package/dist/teleport.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";function f(t,e){if(t===e)return!0;if(typeof t!="function"||typeof e!="function")return!1;if(t.name&&e.name&&t.name===e.name)return!0;const n=t.observedAttributes,o=e.observedAttributes;if(n&&o&&Array.isArray(n)&&Array.isArray(o))return n.length===o.length&&n.every((r,c)=>r===o[c]);try{const r=t.prototype,c=e.prototype;if(Object.getPrototypeOf(r)===Object.getPrototypeOf(c)){const i=Object.getOwnPropertyNames(r).sort(),u=Object.getOwnPropertyNames(c).sort();return i.length===u.length&&i.every((y,l)=>y===u[l])}}catch{}return!1}function s(t){return t.toLowerCase().replace(/[^a-z0-9]/g,"")}function p(t){if(typeof t=="string")return t.toLowerCase();if(t instanceof HTMLElement)return t.tagName.toLowerCase();if(typeof t=="function"){const e=t.name;if(e)return e.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,"")}return null}function a(t){return t!==null&&typeof t=="object"&&t.constructor===Object&&Object.prototype.toString.call(t)==="[object Object]"}function m(t){let e=0;for(let n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n),e&=e;return Math.abs(e).toString(36)}exports.buildQueryString=function(t){const e=new URLSearchParams;for(const o in t)if(t.hasOwnProperty(o)){const r=t[o];r!=null&&r!==""&&e.set(o,String(r))}const n=e.toString();return n?`?${n}`:""},exports.compareActiveRoutes=function(t,e){return t.area===e.area&&t.component===e.component&&JSON.stringify(t.state||{})===JSON.stringify(e.state||{})&&JSON.stringify(t.params||{})===JSON.stringify(e.params||{})},exports.compareCustomElementConstructors=f,exports.compareRouteActions=function(t,e){if(t.area!==e.area||typeof t.component!=typeof e.component)return!1;if(typeof t.component=="string"&&typeof e.component=="string"){if(s(t.component)!==s(e.component))return!1}else if(typeof t.component=="function"&&typeof e.component=="function"){if(!f(t.component,e.component))return!1}else if(t.component!==e.component)return!1;return JSON.stringify(t.state||{})===JSON.stringify(e.state||{})&&JSON.stringify(t.params||{})===JSON.stringify(e.params||{})},exports.createRouteCacheKey=function(t){const e=p(t.component)||"unknown",n=m(JSON.stringify(t.state||{})),o=m(JSON.stringify(t.params||{}));return`${t.area}:${e}:${n}:${o}`},exports.debounce=function(t,e){let n=null;return function(...o){const r=this;n!==null&&clearTimeout(n),n=setTimeout(()=>{t.apply(r,o),n=null},e)}},exports.decodeRouteState=function(t){if(!t)return{};try{const e=decodeURIComponent(t),n=JSON.parse(e);if(a(n))return n}catch{}return{}},exports.deepMerge=function t(e,n){const o={...e};for(const r in n)if(n.hasOwnProperty(r)){const c=n[r],i=o[r];a(c)&&a(i)?o[r]=t(i,c):o[r]=c}return o},exports.encodeRouteState=function(t){try{const e=JSON.stringify(t);return encodeURIComponent(e)}catch{return""}},exports.extractQueryParams=function(t){const e={};let n;return t instanceof URLSearchParams?n=t:typeof t=="string"?n=new URL(t,window.location.origin).searchParams:n=new URLSearchParams(window.location.search),n.forEach((o,r)=>{e[r]=o}),e},exports.getTagName=p,exports.isObject=a,exports.lazy=function(t){const e=function(){return e._promise?e._promise:e._module?Promise.resolve(e._module):(e._promise=t().then(n=>(e._module=n,n)).catch(n=>{throw e._promise=void 0,n}),e._promise)};return e.preload=async function(){try{await e()}catch{}},e},exports.normalizeTagName=s,exports.sanitizeRouteState=function t(e,n=["password","token","secret","apiKey"]){const o={};for(const r in e)if(e.hasOwnProperty(r)&&!n.includes(r)){const c=e[r];a(c)?o[r]=t(c,n):Array.isArray(c)?o[r]=c.map(i=>a(i)?t(i,n):i):o[r]=c}return o};
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
"use strict";function f(t,e){if(t===e)return!0;if(typeof t!="function"||typeof e!="function")return!1;if(t.name&&e.name&&t.name===e.name)return!0;const n=t.observedAttributes,o=e.observedAttributes;if(n&&o&&Array.isArray(n)&&Array.isArray(o))return n.length===o.length&&n.every((r,c)=>r===o[c]);try{const r=t.prototype,c=e.prototype;if(Object.getPrototypeOf(r)===Object.getPrototypeOf(c)){const i=Object.getOwnPropertyNames(r).sort(),u=Object.getOwnPropertyNames(c).sort();return i.length===u.length&&i.every((y,l)=>y===u[l])}}catch{}return!1}function s(t){return t.toLowerCase().replace(/[^a-z0-9]/g,"")}function p(t){if(typeof t=="string")return t.toLowerCase();if(t instanceof HTMLElement)return t.tagName.toLowerCase();if(typeof t=="function"){const e=t.name;if(e)return e.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,"")}return null}function a(t){return t!==null&&typeof t=="object"&&t.constructor===Object&&Object.prototype.toString.call(t)==="[object Object]"}function m(t){let e=0;for(let n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n),e&=e;return Math.abs(e).toString(36)}exports.buildQueryString=function(t){const e=new URLSearchParams;for(const o in t)if(t.hasOwnProperty(o)){const r=t[o];r!=null&&r!==""&&e.set(o,String(r))}const n=e.toString();return n?`?${n}`:""},exports.compareActiveRoutes=function(t,e){return t.area===e.area&&t.component===e.component&&JSON.stringify(t.state||{})===JSON.stringify(e.state||{})&&JSON.stringify(t.params||{})===JSON.stringify(e.params||{})},exports.compareCustomElementConstructors=f,exports.compareRouteActions=function(t,e){if(t.area!==e.area||typeof t.component!=typeof e.component)return!1;if(typeof t.component=="string"&&typeof e.component=="string"){if(s(t.component)!==s(e.component))return!1}else if(typeof t.component=="function"&&typeof e.component=="function"){if(!f(t.component,e.component))return!1}else if(t.component!==e.component)return!1;return JSON.stringify(t.state||{})===JSON.stringify(e.state||{})&&JSON.stringify(t.params||{})===JSON.stringify(e.params||{})},exports.createRouteCacheKey=function(t){const e=p(t.component)||"unknown",n=m(JSON.stringify(t.state||{})),o=m(JSON.stringify(t.params||{}));return`${t.area}:${e}:${n}:${o}`},exports.debounce=function(t,e){let n=null;return function(...o){const r=this;n!==null&&clearTimeout(n),n=setTimeout(()=>{t.apply(r,o),n=null},e)}},exports.decodeData=function(t){return atob(t)},exports.decodeRouteState=function(t){if(!t)return{};try{const e=decodeURIComponent(t),n=JSON.parse(e);if(a(n))return n}catch{}return{}},exports.deepMerge=function t(e,n){const o={...e};for(const r in n)if(n.hasOwnProperty(r)){const c=n[r],i=o[r];a(c)&&a(i)?o[r]=t(i,c):o[r]=c}return o},exports.encodeData=function(t){return btoa(t)},exports.encodeRouteState=function(t){try{const e=JSON.stringify(t);return encodeURIComponent(e)}catch{return""}},exports.extractQueryParams=function(t){const e={};let n;return t instanceof URLSearchParams?n=t:typeof t=="string"?n=new URL(t,window.location.origin).searchParams:n=new URLSearchParams(window.location.search),n.forEach((o,r)=>{e[r]=o}),e},exports.getTagName=p,exports.isObject=a,exports.lazy=function(t){const e=function(){return e._promise?e._promise:e._module?Promise.resolve(e._module):(e._promise=t().then(n=>(e._module=n,n)).catch(n=>{throw e._promise=void 0,n}),e._promise)};return e.preload=async function(){try{await e()}catch{}},e},exports.normalizeTagName=s,exports.sanitizeRouteState=function t(e,n=["password","token","secret","apiKey"]){const o={};for(const r in e)if(e.hasOwnProperty(r)&&!n.includes(r)){const c=e[r];a(c)?o[r]=t(c,n):Array.isArray(c)?o[r]=c.map(i=>a(i)?t(i,n):i):o[r]=c}return o};
|
|
2
|
+
//# sourceMappingURL=utils-C38P63L6.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils-C38P63L6.cjs","sources":["../src/area/utils.ts","../src/area/ecrypt.ts","../src/area/lazy.ts"],"sourcesContent":["import { ComponentType } from './area.component'\nimport { RouteAction, ActiveRoute } from './router.types'\n\n/**\n * Compare two custom element constructors for equality\n * @param constructor1 First constructor to compare\n * @param constructor2 Second constructor to compare\n * @returns true if constructors are functionally equivalent\n */\nexport function compareCustomElementConstructors(\n\tconstructor1: CustomElementConstructor | Function,\n\tconstructor2: CustomElementConstructor | Function,\n): boolean {\n\t// Quick reference check\n\tif (constructor1 === constructor2) {\n\t\treturn true\n\t}\n\n\t// Check if both are functions\n\tif (typeof constructor1 !== 'function' || typeof constructor2 !== 'function') {\n\t\treturn false\n\t}\n\n\t// Compare by name (handles minification)\n\tif (constructor1.name && constructor2.name && constructor1.name === constructor2.name) {\n\t\treturn true\n\t}\n\n\t// Compare observed attributes if available\n\tconst obs1 = (constructor1 as any).observedAttributes\n\tconst obs2 = (constructor2 as any).observedAttributes\n\n\tif (obs1 && obs2) {\n\t\tif (Array.isArray(obs1) && Array.isArray(obs2)) {\n\t\t\tif (obs1.length !== obs2.length) return false\n\t\t\treturn obs1.every((attr, i) => attr === obs2[i])\n\t\t}\n\t}\n\n\t// Try to compare prototypes\n\ttry {\n\t\tconst proto1 = constructor1.prototype\n\t\tconst proto2 = constructor2.prototype\n\n\t\t// Check if they have the same prototype chain\n\t\tif (Object.getPrototypeOf(proto1) === Object.getPrototypeOf(proto2)) {\n\t\t\t// Check if they have the same property names\n\t\t\tconst keys1 = Object.getOwnPropertyNames(proto1).sort()\n\t\t\tconst keys2 = Object.getOwnPropertyNames(proto2).sort()\n\n\t\t\treturn keys1.length === keys2.length && keys1.every((key, i) => key === keys2[i])\n\t\t}\n\t} catch {\n\t\t// Ignore prototype access errors\n\t}\n\n\treturn false\n}\n\n/**\n * Normalize a component tag name for comparison\n * @param tagName Tag name to normalize\n * @returns Normalized tag name\n */\nexport function normalizeTagName(tagName: string): string {\n\treturn tagName.toLowerCase().replace(/[^a-z0-9]/g, '') // Remove all non-alphanumeric characters\n}\n\n/**\n * Get tag name from a component\n * @param component Component to get tag name from\n * @returns Tag name or null if unable to determine\n */\nexport function getTagName(component: ComponentType): string | null {\n\tif (typeof component === 'string') {\n\t\treturn component.toLowerCase()\n\t}\n\n\tif (component instanceof HTMLElement) {\n\t\treturn component.tagName.toLowerCase()\n\t}\n\n\tif (typeof component === 'function') {\n\t\t// Try to get custom element name from constructor\n\t\tconst name = component.name\n\t\tif (name) {\n\t\t\t// Convert PascalCase to kebab-case\n\t\t\treturn name\n\t\t\t\t.replace(/([A-Z])/g, '-$1')\n\t\t\t\t.toLowerCase()\n\t\t\t\t.replace(/^-/, '')\n\t\t}\n\t}\n\n\treturn null\n}\n\n/**\n * Deep merge two objects\n * @param target Target object\n * @param source Source object to merge\n * @returns Merged object\n */\nexport function deepMerge<T extends Record<string, any>>(target: T, source: Partial<T>): T {\n\tconst output = { ...target }\n\n\tfor (const key in source) {\n\t\tif (source.hasOwnProperty(key)) {\n\t\t\tconst sourceValue = source[key]\n\t\t\tconst targetValue = output[key]\n\n\t\t\tif (isObject(sourceValue) && isObject(targetValue)) {\n\t\t\t\toutput[key] = deepMerge(targetValue, sourceValue)\n\t\t\t} else {\n\t\t\t\toutput[key] = sourceValue as T[Extract<keyof T, string>]\n\t\t\t}\n\t\t}\n\t}\n\n\treturn output\n}\n\n/**\n * Check if value is a plain object\n * @param obj Value to check\n * @returns true if value is a plain object\n */\nexport function isObject(obj: any): obj is Record<string, any> {\n\treturn (\n\t\tobj !== null &&\n\t\ttypeof obj === 'object' &&\n\t\tobj.constructor === Object &&\n\t\tObject.prototype.toString.call(obj) === '[object Object]'\n\t)\n}\n\n/**\n * Debounce a function\n * @param func Function to debounce\n * @param wait Wait time in milliseconds\n * @returns Debounced function\n */\nexport function debounce<T extends (...args: any[]) => any>(func: T, wait: number): (...args: Parameters<T>) => void {\n\tlet timeout: ReturnType<typeof setTimeout> | null = null\n\n\treturn function (this: any, ...args: Parameters<T>) {\n\t\tconst context = this\n\n\t\tif (timeout !== null) {\n\t\t\tclearTimeout(timeout)\n\t\t}\n\n\t\ttimeout = setTimeout(() => {\n\t\t\tfunc.apply(context, args)\n\t\t\ttimeout = null\n\t\t}, wait)\n\t}\n}\n\n/**\n * Create a URL-safe string from route state\n * @param state Route state object\n * @returns URL-safe encoded string\n */\nexport function encodeRouteState(state: Record<string, unknown>): string {\n\ttry {\n\t\tconst json = JSON.stringify(state)\n\t\treturn encodeURIComponent(json)\n\t} catch (error) {\n\t\tconsole.error('Failed to encode route state:', error)\n\t\treturn ''\n\t}\n}\n\n/**\n * Decode a URL-safe string to route state\n * @param encoded Encoded string\n * @returns Decoded route state or empty object\n */\nexport function decodeRouteState(encoded: string): Record<string, unknown> {\n\tif (!encoded) return {}\n\n\ttry {\n\t\tconst decoded = decodeURIComponent(encoded)\n\t\tconst parsed = JSON.parse(decoded)\n\n\t\tif (isObject(parsed)) {\n\t\t\treturn parsed\n\t\t}\n\t} catch (error) {\n\t\tconsole.error('Failed to decode route state:', error)\n\t}\n\n\treturn {}\n}\n\n/**\n * Compare two route actions for equality\n * @param a First route action\n * @param b Second route action\n * @returns true if route actions are equal\n */\nexport function compareRouteActions(a: RouteAction, b: RouteAction): boolean {\n\t// Compare areas\n\tif (a.area !== b.area) return false\n\n\t// Compare components\n\tif (typeof a.component !== typeof b.component) return false\n\n\tif (typeof a.component === 'string' && typeof b.component === 'string') {\n\t\tif (normalizeTagName(a.component) !== normalizeTagName(b.component)) {\n\t\t\treturn false\n\t\t}\n\t} else if (typeof a.component === 'function' && typeof b.component === 'function') {\n\t\tif (!compareCustomElementConstructors(a.component, b.component)) {\n\t\t\treturn false\n\t\t}\n\t} else if (a.component !== b.component) {\n\t\treturn false\n\t}\n\n\t// Compare state\n\tif (JSON.stringify(a.state || {}) !== JSON.stringify(b.state || {})) {\n\t\treturn false\n\t}\n\n\t// Compare params\n\tif (JSON.stringify(a.params || {}) !== JSON.stringify(b.params || {})) {\n\t\treturn false\n\t}\n\n\treturn true\n}\n\n/**\n * Compare two active routes for equality\n * @param a First active route\n * @param b Second active route\n * @returns true if active routes are equal\n */\nexport function compareActiveRoutes(a: ActiveRoute, b: ActiveRoute): boolean {\n\treturn (\n\t\ta.area === b.area &&\n\t\ta.component === b.component &&\n\t\tJSON.stringify(a.state || {}) === JSON.stringify(b.state || {}) &&\n\t\tJSON.stringify(a.params || {}) === JSON.stringify(b.params || {})\n\t)\n}\n\n/**\n * Create a cache key from a route action\n * @param route Route action\n * @returns Cache key string\n */\nexport function createRouteCacheKey(route: RouteAction): string {\n\tconst tagName = getTagName(route.component) || 'unknown'\n\tconst stateHash = simpleHash(JSON.stringify(route.state || {}))\n\tconst paramsHash = simpleHash(JSON.stringify(route.params || {}))\n\n\treturn `${route.area}:${tagName}:${stateHash}:${paramsHash}`\n}\n\n/**\n * Simple hash function for creating cache keys\n * @param str String to hash\n * @returns Hash string\n */\nfunction simpleHash(str: string): string {\n\tlet hash = 0\n\n\tfor (let i = 0; i < str.length; i++) {\n\t\tconst char = str.charCodeAt(i)\n\t\thash = (hash << 5) - hash + char\n\t\thash = hash & hash // Convert to 32-bit integer\n\t}\n\n\treturn Math.abs(hash).toString(36)\n}\n\n/**\n * Sanitize route state to remove sensitive data\n * @param state Route state\n * @param keysToRemove Keys to remove from state\n * @returns Sanitized state\n */\nexport function sanitizeRouteState(\n\tstate: Record<string, unknown>,\n\tkeysToRemove: string[] = ['password', 'token', 'secret', 'apiKey'],\n): Record<string, unknown> {\n\tconst sanitized: Record<string, unknown> = {}\n\n\tfor (const key in state) {\n\t\tif (state.hasOwnProperty(key) && !keysToRemove.includes(key)) {\n\t\t\tconst value = state[key]\n\n\t\t\tif (isObject(value)) {\n\t\t\t\tsanitized[key] = sanitizeRouteState(value, keysToRemove)\n\t\t\t} else if (Array.isArray(value)) {\n\t\t\t\tsanitized[key] = value.map(item => (isObject(item) ? sanitizeRouteState(item, keysToRemove) : item))\n\t\t\t} else {\n\t\t\t\tsanitized[key] = value\n\t\t\t}\n\t\t}\n\t}\n\n\treturn sanitized\n}\n\n/**\n * Extract query parameters from URL\n * @param url URL string or URLSearchParams\n * @returns Object with query parameters\n */\nexport function extractQueryParams(url?: string | URLSearchParams): Record<string, string> {\n\tconst params: Record<string, string> = {}\n\n\tlet searchParams: URLSearchParams\n\n\tif (url instanceof URLSearchParams) {\n\t\tsearchParams = url\n\t} else if (typeof url === 'string') {\n\t\tconst urlObj = new URL(url, window.location.origin)\n\t\tsearchParams = urlObj.searchParams\n\t} else {\n\t\tsearchParams = new URLSearchParams(window.location.search)\n\t}\n\n\tsearchParams.forEach((value, key) => {\n\t\tparams[key] = value\n\t})\n\n\treturn params\n}\n\n/**\n * Build query string from parameters object\n * @param params Parameters object\n * @returns Query string with leading '?'\n */\nexport function buildQueryString(params: Record<string, string | number | boolean>): string {\n\tconst searchParams = new URLSearchParams()\n\n\tfor (const key in params) {\n\t\tif (params.hasOwnProperty(key)) {\n\t\t\tconst value = params[key]\n\t\t\tif (value !== undefined && value !== null && value !== '') {\n\t\t\t\tsearchParams.set(key, String(value))\n\t\t\t}\n\t\t}\n\t}\n\n\tconst queryString = searchParams.toString()\n\treturn queryString ? `?${queryString}` : ''\n}\n","export function encodeData(data: string): string {\n\treturn btoa(data)\n}\n\nexport function decodeData(encodedData: string): string {\n\treturn atob(encodedData)\n}\n","/**\r\n * Lazy loading for Schmancy Area components\r\n * Similar to React.lazy() but adapted for Web Components\r\n */\r\n\r\n// Type definition for custom element constructors\r\ntype CustomElementConstructor = typeof HTMLElement\r\n\r\n/**\r\n * LazyComponent interface with preload capability\r\n */\r\nexport interface LazyComponent<T extends CustomElementConstructor = CustomElementConstructor> {\r\n (): Promise<{ default: T }>\r\n preload(): Promise<void>\r\n _promise?: Promise<{ default: T }>\r\n _module?: { default: T }\r\n}\r\n\r\n/**\r\n * Create a lazy-loaded component that will be imported on demand\r\n *\r\n * @example\r\n * ```typescript\r\n * const LazyProfile = lazy(() => import('./profile'))\r\n *\r\n * // Use with area.push\r\n * area.push({\r\n * component: LazyProfile,\r\n * area: 'main'\r\n * })\r\n *\r\n * // Preload on hover\r\n * element.addEventListener('mouseenter', () => LazyProfile.preload())\r\n * ```\r\n *\r\n * @param loader - Dynamic import function that returns a module with default export\r\n * @returns LazyComponent function compatible with area.push()\r\n */\r\nexport function lazy<T extends CustomElementConstructor>(\r\n loader: () => Promise<{ default: T }>\r\n): LazyComponent<T> {\r\n\r\n // Create the lazy component function\r\n const lazyComponent = function(): Promise<{ default: T }> {\r\n // Return cached promise if already loading/loaded\r\n if (lazyComponent._promise) {\r\n return lazyComponent._promise\r\n }\r\n\r\n // Return cached module if already loaded\r\n if (lazyComponent._module) {\r\n return Promise.resolve(lazyComponent._module)\r\n }\r\n\r\n // Start loading and cache the promise\r\n lazyComponent._promise = loader()\r\n .then(module => {\r\n // Cache the loaded module\r\n lazyComponent._module = module\r\n return module\r\n })\r\n .catch(error => {\r\n // Clear promise on error to allow retry\r\n lazyComponent._promise = undefined\r\n throw error\r\n })\r\n\r\n return lazyComponent._promise\r\n } as LazyComponent<T>\r\n\r\n // Add preload method for manual preloading\r\n lazyComponent.preload = async function(): Promise<void> {\r\n try {\r\n await lazyComponent()\r\n } catch (error) {\r\n console.error('Failed to preload component:', error)\r\n }\r\n }\r\n\r\n return lazyComponent\r\n}\r\n\r\n\r\n"],"names":["compareCustomElementConstructors","constructor1","constructor2","name","obs1","observedAttributes","obs2","Array","isArray","length","every","attr","i","proto1","prototype","proto2","Object","getPrototypeOf","keys1","getOwnPropertyNames","sort","keys2","key","normalizeTagName","tagName","toLowerCase","replace","getTagName","component","HTMLElement","isObject","obj","constructor","toString","call","simpleHash","str","hash","charCodeAt","Math","abs","params","searchParams","URLSearchParams","hasOwnProperty","value","set","String","queryString","a","b","area","JSON","stringify","state","route","stateHash","paramsHash","func","wait","timeout","args","context","this","clearTimeout","setTimeout","apply","encodedData","atob","encoded","decoded","decodeURIComponent","parsed","parse","error","deepMerge","target","source","output","sourceValue","targetValue","data","btoa","json","encodeURIComponent","url","URL","window","location","origin","search","forEach","loader","lazyComponent","_promise","_module","Promise","resolve","then","module","catch","preload","async","sanitizeRouteState","keysToRemove","sanitized","includes","map","item"],"mappings":"aASO,SAASA,EACfC,EACAC,GAGA,GAAID,IAAiBC,EACpB,MAAA,GAID,GAA4B,OAAjBD,GAAiB,YAAsC,OAAjBC,GAAiB,WACjE,SAID,GAAID,EAAaE,MAAQD,EAAaC,MAAQF,EAAaE,OAASD,EAAaC,KAChF,SAID,MAAMC,EAAQH,EAAqBI,mBAC7BC,EAAQJ,EAAqBG,mBAEnC,GAAID,GAAQE,GACPC,MAAMC,QAAQJ,IAASG,MAAMC,QAAQF,CAAAA,EACxC,OAAIF,EAAKK,SAAWH,EAAKG,QAClBL,EAAKM,MAAM,CAACC,EAAMC,IAAMD,IAASL,EAAKM,IAK/C,GAAA,CACC,MAAMC,EAASZ,EAAaa,UACtBC,EAASb,EAAaY,UAG5B,GAAIE,OAAOC,eAAeJ,CAAAA,IAAYG,OAAOC,eAAeF,CAAAA,EAAS,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