zzz-pc-view 0.0.13 → 0.0.15
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 +1 -1
- package/src/index.es.js +43 -48
- package/src/index.umd.js +2 -2
package/package.json
CHANGED
package/src/index.es.js
CHANGED
|
@@ -986,9 +986,7 @@ class ZDate extends Date {
|
|
|
986
986
|
)
|
|
987
987
|
);
|
|
988
988
|
const endIndex = lastEndIndex + 1;
|
|
989
|
-
|
|
990
|
-
const end = new ZUtils.ZDate(endTime).getTime();
|
|
991
|
-
let duration = end - begin;
|
|
989
|
+
let duration = new Date(endTime).getTime() - new Date(beginTime).getTime();
|
|
992
990
|
if (duration === 0) {
|
|
993
991
|
results.push([0, timeConfigs[lastEndIndex]]);
|
|
994
992
|
} else {
|
|
@@ -1741,7 +1739,7 @@ const index$c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
1741
1739
|
bindThenAjaxSource,
|
|
1742
1740
|
create
|
|
1743
1741
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1744
|
-
const ZUtils
|
|
1742
|
+
const ZUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1745
1743
|
__proto__: null,
|
|
1746
1744
|
WithNew,
|
|
1747
1745
|
WithPrototype,
|
|
@@ -9720,7 +9718,7 @@ class CurdViewHandler extends CurdHandler {
|
|
|
9720
9718
|
}
|
|
9721
9719
|
}
|
|
9722
9720
|
const _hoisted_1$4 = { class: "flex column wrapper data-wrapper" };
|
|
9723
|
-
const _hoisted_2$
|
|
9721
|
+
const _hoisted_2$2 = { class: "flex flex-wrap gap-10 data-wrapper-header" };
|
|
9724
9722
|
const _hoisted_3$1 = { class: "flex gap-10 data-wrapper-footer" };
|
|
9725
9723
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
9726
9724
|
__name: "DataWrapperView",
|
|
@@ -9731,7 +9729,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
9731
9729
|
return (_ctx, _cache) => {
|
|
9732
9730
|
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
9733
9731
|
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
9734
|
-
createElementVNode("div", _hoisted_2$
|
|
9732
|
+
createElementVNode("div", _hoisted_2$2, [
|
|
9735
9733
|
renderSlot(_ctx.$slots, "header")
|
|
9736
9734
|
]),
|
|
9737
9735
|
createVNode(_component_el_scrollbar, {
|
|
@@ -9929,11 +9927,13 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
9929
9927
|
};
|
|
9930
9928
|
}
|
|
9931
9929
|
});
|
|
9932
|
-
const _hoisted_1$2 = { class: "flex layout
|
|
9933
|
-
const _hoisted_2 = { class: "
|
|
9934
|
-
const _hoisted_3 = { class: "curd-list-
|
|
9935
|
-
const _hoisted_4 = {
|
|
9936
|
-
|
|
9930
|
+
const _hoisted_1$2 = { class: "flex gap-layout wrapper" };
|
|
9931
|
+
const _hoisted_2$1 = { class: "curd-list-aside" };
|
|
9932
|
+
const _hoisted_3 = { class: "flex-1 fit-size curd-list-content" };
|
|
9933
|
+
const _hoisted_4 = {
|
|
9934
|
+
key: 0,
|
|
9935
|
+
class: "curd-list-aside"
|
|
9936
|
+
};
|
|
9937
9937
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
9938
9938
|
__name: "CurdView",
|
|
9939
9939
|
props: {
|
|
@@ -9954,45 +9954,36 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
9954
9954
|
renderSlot(_ctx.$slots, "header-after")
|
|
9955
9955
|
]),
|
|
9956
9956
|
body: withCtx(() => [
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
|
|
9961
|
-
|
|
9962
|
-
|
|
9963
|
-
createElementVNode("div", _hoisted_1$2, [
|
|
9964
|
-
createElementVNode("div", _hoisted_2, toDisplayString(_ctx.viewHandler.label), 1)
|
|
9965
|
-
])
|
|
9957
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
9958
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
9959
|
+
createVNode(_sfc_main$8, {
|
|
9960
|
+
"view-handler": _ctx.viewHandler,
|
|
9961
|
+
position: unref(ZDecorators).FilterKey.PositionEnum.LEFT
|
|
9962
|
+
}, null, 8, ["view-handler", "position"])
|
|
9966
9963
|
]),
|
|
9967
|
-
|
|
9968
|
-
|
|
9964
|
+
withDirectives((openBlock(), createBlock(_component_el_card, {
|
|
9965
|
+
shadow: "hover",
|
|
9966
|
+
"body-class": "flex flex-1 fit-size",
|
|
9967
|
+
class: "flex column wrapper"
|
|
9968
|
+
}, {
|
|
9969
|
+
default: withCtx(() => [
|
|
9969
9970
|
createElementVNode("div", _hoisted_3, [
|
|
9970
|
-
|
|
9971
|
-
"view-handler": _ctx.viewHandler,
|
|
9972
|
-
|
|
9973
|
-
}, null, 8, ["view-handler", "position"])
|
|
9974
|
-
]),
|
|
9975
|
-
_cache[0] || (_cache[0] = createElementVNode("div", { class: "curd-list-divider" }, null, -1))
|
|
9976
|
-
], 64)) : createCommentVNode("", true),
|
|
9977
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_4, [
|
|
9978
|
-
renderSlot(_ctx.$slots, "content", {}, () => [
|
|
9979
|
-
createVNode(_sfc_main$9, { "view-handler": _ctx.viewHandler }, null, 8, ["view-handler"])
|
|
9971
|
+
renderSlot(_ctx.$slots, "content", {}, () => [
|
|
9972
|
+
createVNode(_sfc_main$9, { "view-handler": _ctx.viewHandler }, null, 8, ["view-handler"])
|
|
9973
|
+
])
|
|
9980
9974
|
])
|
|
9981
|
-
])), [
|
|
9982
|
-
[_directive_loading, _ctx.viewHandler.listLoadStatus]
|
|
9983
9975
|
]),
|
|
9984
|
-
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
createVNode(_sfc_main$8, {
|
|
9988
|
-
"view-handler": _ctx.viewHandler,
|
|
9989
|
-
position: unref(ZDecorators).FilterKey.PositionEnum.RIGHT
|
|
9990
|
-
}, null, 8, ["view-handler", "position"])
|
|
9991
|
-
])
|
|
9992
|
-
], 64)) : createCommentVNode("", true)
|
|
9976
|
+
_: 3
|
|
9977
|
+
})), [
|
|
9978
|
+
[_directive_loading, _ctx.viewHandler.listLoadStatus]
|
|
9993
9979
|
]),
|
|
9994
|
-
|
|
9995
|
-
|
|
9980
|
+
_ctx.viewHandler.displayFilterConfigMap[unref(ZDecorators).FilterKey.PositionEnum.RIGHT] ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
9981
|
+
createVNode(_sfc_main$8, {
|
|
9982
|
+
"view-handler": _ctx.viewHandler,
|
|
9983
|
+
position: unref(ZDecorators).FilterKey.PositionEnum.RIGHT
|
|
9984
|
+
}, null, 8, ["view-handler", "position"])
|
|
9985
|
+
])) : createCommentVNode("", true)
|
|
9986
|
+
])
|
|
9996
9987
|
]),
|
|
9997
9988
|
_: 3
|
|
9998
9989
|
});
|
|
@@ -10197,13 +10188,17 @@ function _sfc_render(_ctx, _cache) {
|
|
|
10197
10188
|
}
|
|
10198
10189
|
const LayoutHeader = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render]]);
|
|
10199
10190
|
const _hoisted_1 = { class: "flex column wrapper" };
|
|
10191
|
+
const _hoisted_2 = { class: "flex flex-1 fit-size" };
|
|
10200
10192
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10201
10193
|
__name: "LayoutMainView",
|
|
10202
10194
|
setup(__props) {
|
|
10203
10195
|
return (_ctx, _cache) => {
|
|
10196
|
+
const _component_router_view = resolveComponent("router-view");
|
|
10204
10197
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
10205
10198
|
createVNode(LayoutHeader),
|
|
10206
|
-
|
|
10199
|
+
createElementVNode("div", _hoisted_2, [
|
|
10200
|
+
createVNode(_component_router_view)
|
|
10201
|
+
])
|
|
10207
10202
|
]);
|
|
10208
10203
|
};
|
|
10209
10204
|
}
|
|
@@ -10228,7 +10223,7 @@ const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
10228
10223
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10229
10224
|
const indexPcViews = {
|
|
10230
10225
|
install(app, param) {
|
|
10231
|
-
app.config.globalProperties.$ZUtils = ZUtils
|
|
10226
|
+
app.config.globalProperties.$ZUtils = ZUtils;
|
|
10232
10227
|
app.config.globalProperties.$ZDecorators = ZDecorators;
|
|
10233
10228
|
setApi(param.api);
|
|
10234
10229
|
app.use(directiveInstaller);
|
|
@@ -10243,7 +10238,7 @@ const indexPcViews = {
|
|
|
10243
10238
|
export {
|
|
10244
10239
|
index as PcViews,
|
|
10245
10240
|
ZDecorators,
|
|
10246
|
-
ZUtils
|
|
10241
|
+
ZUtils,
|
|
10247
10242
|
index$b as ZWebUtils,
|
|
10248
10243
|
indexPcViews as default
|
|
10249
10244
|
};
|