@melodicdev/components 1.1.0 → 1.1.1
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.
|
@@ -977,7 +977,7 @@ var V = class {
|
|
|
977
977
|
};
|
|
978
978
|
this._resolversExecutedForPath = m;
|
|
979
979
|
}
|
|
980
|
-
if (a ? history.replaceState(l, "", m) : history.pushState(l, "", m), this._currentPath = m, c) {
|
|
980
|
+
if (this.setCurrentMatches(u), a ? history.replaceState(l, "", m) : history.pushState(l, "", m), this._currentPath = m, c) {
|
|
981
981
|
const h = m.includes("#") ? m.split("#")[1] : null;
|
|
982
982
|
if (h) {
|
|
983
983
|
const p = document.getElementById(h);
|
|
@@ -1083,8 +1083,10 @@ var V = class {
|
|
|
1083
1083
|
return;
|
|
1084
1084
|
}
|
|
1085
1085
|
this._currentPath = r;
|
|
1086
|
-
const a =
|
|
1087
|
-
|
|
1086
|
+
const a = this.matchPath(window.location.pathname);
|
|
1087
|
+
this.setCurrentMatches(a);
|
|
1088
|
+
const o = new CustomEvent("NavigationEvent", { detail: De("push", t.state, "", window.location.pathname) });
|
|
1089
|
+
window.dispatchEvent(o);
|
|
1088
1090
|
}
|
|
1089
1091
|
async executeResolver(t, r) {
|
|
1090
1092
|
const l = t.resolve(r);
|
|
@@ -16,7 +16,7 @@ export function dateTimePickerTemplate(c) {
|
|
|
16
16
|
|
|
17
17
|
<div class="ml-date-time-picker__row">
|
|
18
18
|
<ml-date-picker
|
|
19
|
-
value=${c.dateValue}
|
|
19
|
+
.value=${c.dateValue}
|
|
20
20
|
size=${c.size}
|
|
21
21
|
?disabled=${c.disabled}
|
|
22
22
|
?required=${c.required}
|
|
@@ -28,7 +28,7 @@ export function dateTimePickerTemplate(c) {
|
|
|
28
28
|
<span class="ml-date-time-picker__divider"></span>
|
|
29
29
|
|
|
30
30
|
<ml-time-picker
|
|
31
|
-
value=${c.timeValue}
|
|
31
|
+
.value=${c.timeValue}
|
|
32
32
|
size=${c.size}
|
|
33
33
|
?disabled=${c.disabled}
|
|
34
34
|
min=${c.minTime}
|