@qin-ui/antd-vue-pro 1.0.34 → 1.0.35
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/es/index.d.ts +6 -0
- package/es/style.css +2 -2
- package/es/table/index.js +4 -3
- package/package.json +5 -5
- package/LICENSE +0 -9
package/es/index.d.ts
CHANGED
|
@@ -718,6 +718,7 @@ declare const _default_3: <D extends Record<string, any>>(__VLS_props: {
|
|
|
718
718
|
controlContainer?: ContainerComponent | any;
|
|
719
719
|
tableContainer?: ContainerComponent | any;
|
|
720
720
|
paramCache?: ParamCache | undefined;
|
|
721
|
+
disabledParamCache?: boolean | undefined;
|
|
721
722
|
immediateSearch?: boolean | undefined;
|
|
722
723
|
onResizeColumn?: ((w: number, col: ColumnType_2<any>) => void) | undefined;
|
|
723
724
|
rowSelection?: TableRowSelection<any> | undefined;
|
|
@@ -1161,6 +1162,7 @@ declare const _default_3: <D extends Record<string, any>>(__VLS_props: {
|
|
|
1161
1162
|
controlContainer?: ContainerComponent | any;
|
|
1162
1163
|
tableContainer?: ContainerComponent | any;
|
|
1163
1164
|
paramCache?: ParamCache | undefined;
|
|
1165
|
+
disabledParamCache?: boolean | undefined;
|
|
1164
1166
|
immediateSearch?: boolean | undefined;
|
|
1165
1167
|
onResizeColumn?: ((w: number, col: ColumnType_2<any>) => void) | undefined;
|
|
1166
1168
|
rowSelection?: TableRowSelection<any> | undefined;
|
|
@@ -1608,6 +1610,7 @@ declare const _default_3: <D extends Record<string, any>>(__VLS_props: {
|
|
|
1608
1610
|
controlContainer?: ContainerComponent | any;
|
|
1609
1611
|
tableContainer?: ContainerComponent | any;
|
|
1610
1612
|
paramCache?: ParamCache | undefined;
|
|
1613
|
+
disabledParamCache?: boolean | undefined;
|
|
1611
1614
|
immediateSearch?: boolean | undefined;
|
|
1612
1615
|
onResizeColumn?: ((w: number, col: ColumnType_2<any>) => void) | undefined;
|
|
1613
1616
|
rowSelection?: TableRowSelection<any> | undefined;
|
|
@@ -3326,6 +3329,7 @@ export declare const ProTable: SFCWithInstall<(<D extends Record<string, any>>(_
|
|
|
3326
3329
|
controlContainer?: any;
|
|
3327
3330
|
tableContainer?: any;
|
|
3328
3331
|
paramCache?: ParamCache | undefined;
|
|
3332
|
+
disabledParamCache?: boolean | undefined;
|
|
3329
3333
|
immediateSearch?: boolean | undefined;
|
|
3330
3334
|
onResizeColumn?: ((w: number, col: TableColumnType<any>) => void) | undefined;
|
|
3331
3335
|
rowSelection?: TableRowSelection<any> | undefined;
|
|
@@ -3769,6 +3773,7 @@ export declare const ProTable: SFCWithInstall<(<D extends Record<string, any>>(_
|
|
|
3769
3773
|
controlContainer?: any;
|
|
3770
3774
|
tableContainer?: any;
|
|
3771
3775
|
paramCache?: ParamCache | undefined;
|
|
3776
|
+
disabledParamCache?: boolean | undefined;
|
|
3772
3777
|
immediateSearch?: boolean | undefined;
|
|
3773
3778
|
onResizeColumn?: ((w: number, col: TableColumnType<any>) => void) | undefined;
|
|
3774
3779
|
rowSelection?: TableRowSelection<any> | undefined;
|
|
@@ -4216,6 +4221,7 @@ export declare const ProTable: SFCWithInstall<(<D extends Record<string, any>>(_
|
|
|
4216
4221
|
controlContainer?: any;
|
|
4217
4222
|
tableContainer?: any;
|
|
4218
4223
|
paramCache?: ParamCache | undefined;
|
|
4224
|
+
disabledParamCache?: boolean | undefined;
|
|
4219
4225
|
immediateSearch?: boolean | undefined;
|
|
4220
4226
|
onResizeColumn?: ((w: number, col: TableColumnType<any>) => void) | undefined;
|
|
4221
4227
|
rowSelection?: TableRowSelection<any> | undefined;
|
package/es/style.css
CHANGED
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
padding: 24px 24px 16px;
|
|
42
42
|
background-color: #fff;
|
|
43
43
|
}
|
|
44
|
-
.pro-table[data-v-
|
|
44
|
+
.pro-table[data-v-1a65329a] {
|
|
45
45
|
display: flex;
|
|
46
46
|
flex-direction: column;
|
|
47
47
|
min-width: 800px;
|
|
48
48
|
}
|
|
49
|
-
.pro-table[data-v-
|
|
49
|
+
.pro-table[data-v-1a65329a] .ant-pagination .ant-pagination-total-text {
|
|
50
50
|
flex: 1;
|
|
51
51
|
}
|
package/es/table/index.js
CHANGED
|
@@ -400,6 +400,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
400
400
|
controlContainer: { default: DefaultControlContainer },
|
|
401
401
|
tableContainer: { default: DefaultTableContainer },
|
|
402
402
|
paramCache: { default: void 0 },
|
|
403
|
+
disabledParamCache: { type: Boolean, default: false },
|
|
403
404
|
immediateSearch: { type: Boolean, default: false }
|
|
404
405
|
},
|
|
405
406
|
emits: ["search"],
|
|
@@ -409,7 +410,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
409
410
|
const injectProps = inject(
|
|
410
411
|
PRO_TABLE_INJECT_COMPONENT_PROPS_KEYS.table
|
|
411
412
|
);
|
|
412
|
-
const cache = props.paramCache ?? (injectProps == null ? void 0 : injectProps.paramCache);
|
|
413
|
+
const cache = props.disabledParamCache ? void 0 : props.paramCache ?? (injectProps == null ? void 0 : injectProps.paramCache);
|
|
413
414
|
const size = ref(unref(props.size));
|
|
414
415
|
const attrs = useAttrs();
|
|
415
416
|
const { table = {} } = props;
|
|
@@ -586,8 +587,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
586
587
|
};
|
|
587
588
|
}
|
|
588
589
|
});
|
|
589
|
-
const
|
|
590
|
-
const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
590
|
+
const Table_vue_vue_type_style_index_0_scoped_1a65329a_lang = "";
|
|
591
|
+
const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1a65329a"]]);
|
|
591
592
|
const getDefaultPagination = () => ({ current: 1, pageSize: 10, total: 0 });
|
|
592
593
|
const useTable = ({
|
|
593
594
|
columns: initColumns = [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qin-ui/antd-vue-pro",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.35",
|
|
4
4
|
"description": "二次封装antd vue组件",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "",
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "git+https://github.com/dufan3715/pro-components.git"
|
|
16
16
|
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "vue-tsc && vite build"
|
|
19
|
+
},
|
|
17
20
|
"keywords": [
|
|
18
21
|
"vue",
|
|
19
22
|
"ant-design-vue",
|
|
@@ -35,8 +38,5 @@
|
|
|
35
38
|
},
|
|
36
39
|
"dependencies": {
|
|
37
40
|
"@ant-design/icons-vue": "^7.0.1"
|
|
38
|
-
},
|
|
39
|
-
"scripts": {
|
|
40
|
-
"build": "vue-tsc && vite build"
|
|
41
41
|
}
|
|
42
|
-
}
|
|
42
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023-present pro-components
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|