zzz-pc-view 0.0.3 → 0.0.5
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/package.json
CHANGED
package/src/index.es.js
CHANGED
|
@@ -2105,7 +2105,6 @@ const response = {
|
|
|
2105
2105
|
ROOT_ROUTE_NAME,
|
|
2106
2106
|
setNavs,
|
|
2107
2107
|
clear,
|
|
2108
|
-
getPageViewMap,
|
|
2109
2108
|
get navTree() {
|
|
2110
2109
|
return navTreeRef.value;
|
|
2111
2110
|
},
|
|
@@ -2125,6 +2124,7 @@ const index$b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
2125
2124
|
ZNavLink,
|
|
2126
2125
|
ZNavMenu,
|
|
2127
2126
|
ZNavTypeEnum,
|
|
2127
|
+
getPageViewMap,
|
|
2128
2128
|
useNavStore
|
|
2129
2129
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2130
2130
|
const useLoadUtil = () => {
|
|
@@ -9530,6 +9530,16 @@ const ElementPlusIconsVue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object
|
|
|
9530
9530
|
ZoomIn: zoom_in_default,
|
|
9531
9531
|
ZoomOut: zoom_out_default
|
|
9532
9532
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9533
|
+
const directiveInstaller = {
|
|
9534
|
+
install(app) {
|
|
9535
|
+
app.directive("focus", {
|
|
9536
|
+
mounted: (el) => {
|
|
9537
|
+
var _a2;
|
|
9538
|
+
return el.tagName === "INPUT" ? el.focus() : (_a2 = el.querySelector("input")) == null ? void 0 : _a2.focus();
|
|
9539
|
+
}
|
|
9540
|
+
});
|
|
9541
|
+
}
|
|
9542
|
+
};
|
|
9533
9543
|
class CurdViewHandler extends CurdHandler {
|
|
9534
9544
|
constructor(...args) {
|
|
9535
9545
|
super(...args);
|
|
@@ -10019,6 +10029,7 @@ const indexPcViews = {
|
|
|
10019
10029
|
app.config.globalProperties.$ZUtils = ZUtils;
|
|
10020
10030
|
app.config.globalProperties.$ZDecorators = ZDecorators;
|
|
10021
10031
|
setApi(param.api);
|
|
10032
|
+
app.use(directiveInstaller);
|
|
10022
10033
|
app.use(ElementPlus, {
|
|
10023
10034
|
locale: zhCn
|
|
10024
10035
|
});
|