zzz-pc-view 0.0.13 → 0.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/package.json +1 -1
- package/src/index.es.js +4 -6
- package/src/index.umd.js +1 -1
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,
|
|
@@ -10228,7 +10226,7 @@ const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
10228
10226
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10229
10227
|
const indexPcViews = {
|
|
10230
10228
|
install(app, param) {
|
|
10231
|
-
app.config.globalProperties.$ZUtils = ZUtils
|
|
10229
|
+
app.config.globalProperties.$ZUtils = ZUtils;
|
|
10232
10230
|
app.config.globalProperties.$ZDecorators = ZDecorators;
|
|
10233
10231
|
setApi(param.api);
|
|
10234
10232
|
app.use(directiveInstaller);
|
|
@@ -10243,7 +10241,7 @@ const indexPcViews = {
|
|
|
10243
10241
|
export {
|
|
10244
10242
|
index as PcViews,
|
|
10245
10243
|
ZDecorators,
|
|
10246
|
-
ZUtils
|
|
10244
|
+
ZUtils,
|
|
10247
10245
|
index$b as ZWebUtils,
|
|
10248
10246
|
indexPcViews as default
|
|
10249
10247
|
};
|