cnhis-design-vue 3.0.5 → 3.0.6
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/CHANGELOG.md +8 -0
- package/es/big-table/index.js +104 -39
- package/es/button-print/index.css +1 -1
- package/es/button-print/index.js +3 -2
- package/es/drag-layout/index.css +1 -1
- package/es/field-set/index.css +1 -1
- package/es/grid/index.css +16 -16
- package/es/index.js +107 -41
- package/package.json +1 -1
- package/packages/big-table/src/BigTable.vue +8 -12
- package/packages/big-table/src/bigTableEmits.ts +1 -2
- package/packages/big-table/src/components/edit-form/edit-date.vue +42 -0
- package/packages/big-table/src/components/edit-form/edit-input.vue +2 -2
- package/packages/big-table/src/components/edit-form/edit-select.vue +12 -3
- package/packages/big-table/src/hooks/useEdit.ts +3 -3
- package/packages/button-print/src/ButtonPrint.vue +2 -1
package/es/button-print/index.js
CHANGED
|
@@ -7908,7 +7908,8 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
7908
7908
|
verifyUser: { type: Function, required: false, default: () => Promise.resolve() },
|
|
7909
7909
|
queryPrintFormatByNumber: { type: Function, required: true, default: () => Promise.resolve({}) },
|
|
7910
7910
|
queryTemplateParams: { type: Function, required: false, default: () => Promise.resolve({}) },
|
|
7911
|
-
strategy: { type: String, required: false, default: "MULTI" }
|
|
7911
|
+
strategy: { type: String, required: false, default: "MULTI" },
|
|
7912
|
+
printParams: { type: Array, required: false }
|
|
7912
7913
|
},
|
|
7913
7914
|
emits: ["success", "error"],
|
|
7914
7915
|
setup(__props, { emit }) {
|
|
@@ -7972,7 +7973,7 @@ var script = /* @__PURE__ */ defineComponent({
|
|
|
7972
7973
|
emit("error", error);
|
|
7973
7974
|
};
|
|
7974
7975
|
const getPrintParams = (index = 0) => {
|
|
7975
|
-
const params = state.printParams[index];
|
|
7976
|
+
const params = props.printParams?.length ? props.printParams[index] : state.printParams[index];
|
|
7976
7977
|
return JSON.stringify(params);
|
|
7977
7978
|
};
|
|
7978
7979
|
const getOnceParams = () => {
|