@whitesev/pops 2.0.13 → 2.0.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/dist/index.amd.js +1 -1
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +1 -1
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +1 -1
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/src/components/rightClickMenu/indexType.d.ts +5 -3
- package/package.json +1 -1
- package/src/components/rightClickMenu/index.ts +3 -1
- package/src/components/rightClickMenu/indexType.ts +5 -3
package/dist/index.iife.js
CHANGED
|
@@ -10257,7 +10257,7 @@ var pops = (function () {
|
|
|
10257
10257
|
if (typeof item.icon === "string" && item.icon.trim() !== "") {
|
|
10258
10258
|
let iconSVGHTML = PopsIcon.getIcon(item.icon) ?? item.icon;
|
|
10259
10259
|
let iconElement = popsDOMUtils.parseTextToDOM(
|
|
10260
|
-
/*html*/ `<i class="pops-${PopsType}-icon" is-loading="${item.iconIsLoading}">${iconSVGHTML}</i>`);
|
|
10260
|
+
/*html*/ `<i class="pops-${PopsType}-icon" is-loading="${item.iconIsLoading ?? false}">${iconSVGHTML}</i>`);
|
|
10261
10261
|
menuLiElement.appendChild(iconElement);
|
|
10262
10262
|
}
|
|
10263
10263
|
/* 插入文字 */
|