@maxax/ui 1.1.26 → 1.1.28
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/components/basic-button-import-preview/BasicButtonImportPreview.vue.d.ts.map +1 -1
- package/dist/components/basic-button-import-preview/BasicButtonImportPreviewModal.vue.d.ts.map +1 -1
- package/dist/components/basic-table/index.d.ts.map +1 -1
- package/dist/index.cjs +11 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +11 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicButtonImportPreview.vue.d.ts","sourceRoot":"","sources":["../../../src/components/basic-button-import-preview/BasicButtonImportPreview.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BasicButtonImportPreview.vue.d.ts","sourceRoot":"","sources":["../../../src/components/basic-button-import-preview/BasicButtonImportPreview.vue"],"names":[],"mappings":"AA2KA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAS9C,OAAO,KAAK,EAAiC,6BAA6B,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0S/F,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
package/dist/components/basic-button-import-preview/BasicButtonImportPreviewModal.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicButtonImportPreviewModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/basic-button-import-preview/BasicButtonImportPreviewModal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BasicButtonImportPreviewModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/basic-button-import-preview/BasicButtonImportPreviewModal.vue"],"names":[],"mappings":"AAuFA,OAAO,EAAY,QAAQ,EAAuB,MAAM,KAAK,CAAA;AAI7D,OAAO,KAAK,EAAE,eAAe,EAAmB,MAAM,gBAAgB,CAAA;AAEtE,OAAO,KAAK,EAAsC,kCAAkC,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkNzG,wBAUG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/basic-table/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAElD,OAAO,UAAU,MAAM,kBAAkB,CAAA;AAEzC,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AACjE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/basic-table/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAElD,OAAO,UAAU,MAAM,kBAAkB,CAAA;AAEzC,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AACjE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAOtE,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,OAAO,UAAU,CAA2B,CAAA;AACrF,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAA;AAEhE,eAAe,WAAW,CAAA;AAE1B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAE3B,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
package/dist/index.cjs
CHANGED
|
@@ -6453,6 +6453,9 @@ const vxeTableFormatter = {
|
|
|
6453
6453
|
}
|
|
6454
6454
|
};
|
|
6455
6455
|
vxeTable.VxeUI.formats.mixin(vxeTableFormatter);
|
|
6456
|
+
vxeTable.VxeUI.setConfig({
|
|
6457
|
+
zIndex: 2e3
|
|
6458
|
+
});
|
|
6456
6459
|
const XBasicTable = utils.withInstall(_sfc_main$F);
|
|
6457
6460
|
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
6458
6461
|
__name: "BasicButtonImportPreviewModal",
|
|
@@ -6501,7 +6504,6 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
6501
6504
|
const data = ((_a = basicTableRef.value) == null ? void 0 : _a.getDataSource()) || [];
|
|
6502
6505
|
const records = ((_b = basicTableRef.value) == null ? void 0 : _b.getSelectRows()) || [];
|
|
6503
6506
|
emit("confirm", { data, records });
|
|
6504
|
-
hide();
|
|
6505
6507
|
}
|
|
6506
6508
|
__expose({
|
|
6507
6509
|
show,
|
|
@@ -8487,14 +8489,15 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
8487
8489
|
});
|
|
8488
8490
|
}
|
|
8489
8491
|
async function onPreviewConfirm({ data, records }) {
|
|
8490
|
-
var _a, _b;
|
|
8491
|
-
if (!currentFile.value) return;
|
|
8492
|
+
var _a, _b, _c, _d;
|
|
8493
|
+
if (!currentFile.value) return false;
|
|
8492
8494
|
const canSave = await runBeforeSaveGuard({ data, records, checked: currentChecked.value, file: currentFile.value });
|
|
8493
|
-
if (!canSave) return;
|
|
8495
|
+
if (!canSave) return false;
|
|
8494
8496
|
if (!props.saveApi) {
|
|
8495
8497
|
emit("preview", { data, checked: currentChecked.value, file: currentFile.value, records });
|
|
8496
|
-
(_a =
|
|
8497
|
-
|
|
8498
|
+
(_a = previewModalRef.value) == null ? void 0 : _a.hide();
|
|
8499
|
+
(_b = uploadModalRef.value) == null ? void 0 : _b.hide();
|
|
8500
|
+
return false;
|
|
8498
8501
|
}
|
|
8499
8502
|
try {
|
|
8500
8503
|
const params = props.beforeFetchSave ? props.beforeFetchSave({ data, records }) : { dtoList: data };
|
|
@@ -8503,7 +8506,8 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
8503
8506
|
} catch (error) {
|
|
8504
8507
|
console.error(error);
|
|
8505
8508
|
} finally {
|
|
8506
|
-
(
|
|
8509
|
+
(_c = previewModalRef.value) == null ? void 0 : _c.hide();
|
|
8510
|
+
(_d = uploadModalRef.value) == null ? void 0 : _d.hide();
|
|
8507
8511
|
}
|
|
8508
8512
|
}
|
|
8509
8513
|
function onClickHandler() {
|