|
8 | 8 | ╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ |
9 | 9 |
|
10 | 10 | * Metro UI v5.1.20 Components Library (https://metroui.org.ua) |
11 | | - * Build: 18.10.2025, 19:16:45 |
| 11 | + * Build: 19.10.2025, 14:27:19 |
12 | 12 | * Copyright 2012-2025 by Serhii Pimenov |
13 | 13 | * Licensed under MIT |
14 | 14 | */ |
|
11497 | 11497 | (($7) => { |
11498 | 11498 | "use strict"; |
11499 | 11499 | globalThis["__version__"] = "5.1.20"; |
11500 | | - globalThis["__build_time__"] = "18.10.2025, 19:16:45"; |
| 11500 | + globalThis["__build_time__"] = "19.10.2025, 14:27:19"; |
11501 | 11501 | const meta_init = $7.meta("metro:init").attr("content"); |
11502 | 11502 | const meta_cloak = $7.meta("metro:cloak").attr("content"); |
11503 | 11503 | const meta_cloak_duration = $7.meta("metro:cloak_duration").attr("content"); |
|
11844 | 11844 | const normalizeComponentName2 = (name2) => typeof name2 !== "string" ? void 0 : name2.replace(/-/g, "").toLowerCase(); |
11845 | 11845 | const Metro2 = { |
11846 | 11846 | version: "5.1.20", |
11847 | | - build_time: "18.10.2025, 19:16:45", |
| 11847 | + build_time: "19.10.2025, 14:27:19", |
11848 | 11848 | buildNumber: 0, |
11849 | 11849 | isTouchable: isTouch3, |
11850 | 11850 | fullScreenEnabled: document.fullscreenEnabled, |
|
22952 | 22952 | return this; |
22953 | 22953 | }, |
22954 | 22954 | addOptions: function(values) { |
| 22955 | + const element2 = this.element; |
22955 | 22956 | const that = this; |
22956 | 22957 | if (!values) { |
22957 | 22958 | return this; |
|
22971 | 22972 | }); |
22972 | 22973 | } |
22973 | 22974 | this._createOptions(); |
22974 | | - this.observer.observe(element[0], { |
| 22975 | + this.observer.observe(element2[0], { |
22975 | 22976 | childList: true, |
22976 | 22977 | subtree: true |
22977 | 22978 | }); |
@@ -26460,6 +26461,8 @@ ${err.message}`); |
26460 | 26461 | info: info_icon, |
26461 | 26462 | warning: warning_icon, |
26462 | 26463 | caution: caution_icon, |
| 26464 | + alert: caution_icon, |
| 26465 | + error: caution_icon, |
26463 | 26466 | tip: tip_icon, |
26464 | 26467 | success: success_icon |
26465 | 26468 | }; |
@@ -44650,7 +44653,7 @@ ${err.message}`); |
44650 | 44653 | const o2 = this.options; |
44651 | 44654 | const nodes = element2.find("li[data-caption]"); |
44652 | 44655 | element2.addClass("treeview"); |
44653 | | - $7.each(nodes, (i3, _el) => { |
| 44656 | + $7.each(nodes, (_5, _el) => { |
44654 | 44657 | const el = $7(_el); |
44655 | 44658 | if (el.data("type") === "checkbox" || el.data("type") === "radio") { |
44656 | 44659 | this._createCheckNode( |
@@ -44679,7 +44682,6 @@ ${err.message}`); |
44679 | 44682 | }, |
44680 | 44683 | el |
44681 | 44684 | ); |
44682 | | - } else if (el.children().length > 0) { |
44683 | 44685 | } else { |
44684 | 44686 | this._createNode( |
44685 | 44687 | { |
|
0 commit comments