fast-element-plus 1.0.0-alpha.10 → 1.0.0-alpha.12
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.full.js +7 -3
- package/dist/index.full.js.map +1 -1
- package/dist/index.full.min.js +5 -5
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +5 -5
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +7 -3
- package/dist/index.full.mjs.map +1 -1
- package/es/components/iconSelector/src/iconSelector.mjs +2 -2
- package/es/components/iconSelector/src/iconSelector.mjs.map +1 -1
- package/es/element-plus.mjs +1 -1
- package/es/element-plus.mjs.map +1 -1
- package/es/make-installer.mjs +4 -0
- package/es/make-installer.mjs.map +1 -1
- package/lib/element-plus.js +1 -1
- package/lib/element-plus.js.map +1 -1
- package/lib/make-installer.js +1 -1
- package/lib/make-installer.js.map +1 -1
- package/package.json +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(global2, factory) {
|
|
2
|
-
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("@fast-china/utils"), require("vue"), require("@element-plus/icons-vue"), require("element-plus")
|
|
3
|
-
})(this, (function(exports2, utils, vue, ElementPlusIconsVue, ElementPlus
|
|
2
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("@fast-element-plus/icons-vue"), require("@fast-china/utils"), require("vue"), require("@element-plus/icons-vue"), require("element-plus")) : typeof define === "function" && define.amd ? define(["exports", "@fast-element-plus/icons-vue", "@fast-china/utils", "vue", "@element-plus/icons-vue", "element-plus"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.FastElementPlus = {}, global2.FastElementPlusIconsVue, global2.FastUtils, global2.Vue, global2.ElementPlusIconsVue, global2.ElementPlus));
|
|
3
|
+
})(this, (function(exports2, FastElementPlusIconsVue, utils, vue, ElementPlusIconsVue, ElementPlus) {
|
|
4
4
|
"use strict";
|
|
5
5
|
function _interopNamespaceDefault(e) {
|
|
6
6
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
n.default = e;
|
|
19
19
|
return Object.freeze(n);
|
|
20
20
|
}
|
|
21
|
+
const FastElementPlusIconsVue__namespace = /* @__PURE__ */ _interopNamespaceDefault(FastElementPlusIconsVue);
|
|
21
22
|
const ElementPlusIconsVue__namespace = /* @__PURE__ */ _interopNamespaceDefault(ElementPlusIconsVue);
|
|
22
23
|
const faAvatarProps = {
|
|
23
24
|
...ElementPlus.avatarProps,
|
|
@@ -29620,7 +29621,7 @@
|
|
|
29620
29621
|
if (isNil(options?.closeOnPressEscape)) {
|
|
29621
29622
|
options.closeOnPressEscape = false;
|
|
29622
29623
|
}
|
|
29623
|
-
if (isNil(options?.beforeClose)) {
|
|
29624
|
+
if (!isNil(options?.beforeClose)) {
|
|
29624
29625
|
const localBeforeClose = options.beforeClose;
|
|
29625
29626
|
const localConfirmButtonText = options?.confirmButtonText;
|
|
29626
29627
|
const localShowCancelButton = options?.showCancelButton;
|
|
@@ -29699,6 +29700,9 @@
|
|
|
29699
29700
|
if (app[INSTALLED_KEY]) return;
|
|
29700
29701
|
app[INSTALLED_KEY] = true;
|
|
29701
29702
|
installElementPlus(app);
|
|
29703
|
+
for (const [key, component] of Object.entries(FastElementPlusIconsVue__namespace)) {
|
|
29704
|
+
app.component(`fa-icon-${key}`, component);
|
|
29705
|
+
}
|
|
29702
29706
|
FastElementPlusComponents.forEach((c) => app.use(c));
|
|
29703
29707
|
FastElementPlusDirectives.forEach((d) => app.use(d));
|
|
29704
29708
|
};
|