jky-component-lib 0.0.123 → 0.0.126
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/es/amap/style.css +13 -2
- package/dist/es/amap/style2.css +5 -12
- package/dist/es/amap/style3.css +2 -6
- package/dist/es/components.js +3 -1
- package/dist/es/form/Form.vue.js +12 -2
- package/dist/es/form/FormItem.vue.js +71 -17
- package/dist/es/form/LinkedSelect.vue.d.ts +34 -0
- package/dist/es/form/LinkedSelect.vue.js +146 -0
- package/dist/es/form/LinkedSelect.vue3.js +5 -0
- package/dist/es/form/index.d.ts +3 -1
- package/dist/es/form/index.js +4 -0
- package/dist/es/index.js +2 -1
- package/dist/es/package.json.js +1 -1
- package/dist/es/page-table/ActionColumn.vue.d.ts +1 -1
- package/dist/es/page-table/ActionColumn.vue.js +13 -7
- package/dist/es/page-table/PageTable.vue.d.ts +7 -1
- package/dist/es/page-table/PageTable.vue.js +11 -4
- package/dist/es/page-table-v2/PageTableV2.vue.d.ts +3 -1
- package/dist/es/style.css +36 -0
- package/dist/lib/amap/style.css +13 -2
- package/dist/lib/amap/style2.css +5 -12
- package/dist/lib/amap/style3.css +2 -6
- package/dist/lib/components.js +2 -0
- package/dist/lib/form/Form.vue.js +12 -2
- package/dist/lib/form/FormItem.vue.js +68 -14
- package/dist/lib/form/LinkedSelect.vue.d.ts +34 -0
- package/dist/lib/form/LinkedSelect.vue.js +146 -0
- package/dist/lib/form/LinkedSelect.vue3.js +5 -0
- package/dist/lib/form/index.d.ts +3 -1
- package/dist/lib/form/index.js +4 -0
- package/dist/lib/index.js +1 -0
- package/dist/lib/package.json.js +1 -1
- package/dist/lib/page-table/ActionColumn.vue.d.ts +1 -1
- package/dist/lib/page-table/ActionColumn.vue.js +13 -7
- package/dist/lib/page-table/PageTable.vue.d.ts +7 -1
- package/dist/lib/page-table/PageTable.vue.js +11 -4
- package/dist/lib/page-table-v2/PageTableV2.vue.d.ts +3 -1
- package/dist/lib/style.css +36 -0
- package/package.json +1 -1
|
@@ -63,6 +63,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
|
|
|
63
63
|
showSearchButton: { type: Boolean, default: true },
|
|
64
64
|
searchText: { default: "查询" },
|
|
65
65
|
resetText: { default: "重置" },
|
|
66
|
+
searchIcon: { default: "icon-[ant-design--search-outlined]" },
|
|
67
|
+
resetIcon: { default: "icon-[ant-design--sync-outlined]" },
|
|
66
68
|
selection: { type: Boolean, default: false },
|
|
67
69
|
selectionColumn: { default: () => ({}) },
|
|
68
70
|
selectable: {},
|
|
@@ -390,14 +392,18 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
|
|
|
390
392
|
vue.createVNode(vue.unref(index.JkyForm), vue.mergeProps({
|
|
391
393
|
ref_key: "formRef",
|
|
392
394
|
ref: formRef
|
|
393
|
-
}, __spreadValues({
|
|
395
|
+
}, __spreadValues({
|
|
396
|
+
inline: true,
|
|
397
|
+
submitText: props.searchText,
|
|
398
|
+
cancelText: props.resetText,
|
|
399
|
+
submitIcon: props.searchIcon,
|
|
400
|
+
cancelIcon: props.resetIcon
|
|
401
|
+
}, __props.formProps), {
|
|
394
402
|
modelValue: form.value,
|
|
395
403
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => form.value = $event),
|
|
396
404
|
"show-footer": true,
|
|
397
405
|
items: __props.filterItems,
|
|
398
406
|
disabled: isLoading.value,
|
|
399
|
-
"submit-text": "搜索",
|
|
400
|
-
"cancel-text": "重置",
|
|
401
407
|
onReset: handleReset,
|
|
402
408
|
onSubmit: handleSearch
|
|
403
409
|
}), null, 16, ["modelValue", "items", "disabled"])
|
|
@@ -507,7 +513,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValu
|
|
|
507
513
|
layout: ((_b2 = pagination.value) == null ? void 0 : _b2.layout) || "total, sizes, prev, pager, next, jumper",
|
|
508
514
|
"show-size-picker": (_d = (_c2 = pagination.value) == null ? void 0 : _c2.showSizePicker) != null ? _d : true,
|
|
509
515
|
"show-total": (_f = (_e = pagination.value) == null ? void 0 : _e.showTotal) != null ? _f : true,
|
|
510
|
-
"show-jumper": (_h = (_g = pagination.value) == null ? void 0 : _g.showJumper) != null ? _h : true
|
|
516
|
+
"show-jumper": (_h = (_g = pagination.value) == null ? void 0 : _g.showJumper) != null ? _h : true,
|
|
517
|
+
class: "justify-end"
|
|
511
518
|
}, __props.paginationProps, {
|
|
512
519
|
onSizeChange: handlePageSizeChange,
|
|
513
520
|
onCurrentChange: handlePageChange
|
|
@@ -37,13 +37,13 @@ declare const _default: import('vue').DefineComponent<PageTableV2Props, {
|
|
|
37
37
|
}>, {
|
|
38
38
|
title: string;
|
|
39
39
|
loading: boolean;
|
|
40
|
+
emptyText: string;
|
|
40
41
|
toolbarButtonLimit: number;
|
|
41
42
|
withCard: boolean;
|
|
42
43
|
filterItems: import('../form').FormProps["items"];
|
|
43
44
|
showSearchButton: boolean;
|
|
44
45
|
searchText: string;
|
|
45
46
|
resetText: string;
|
|
46
|
-
emptyText: string;
|
|
47
47
|
formProps: Partial<import('../form').FormProps>;
|
|
48
48
|
tableProps: Partial<import('element-plus').TableV2Props<any>>;
|
|
49
49
|
autoSearchDelay: number;
|
|
@@ -64,6 +64,8 @@ declare const _default: import('vue').DefineComponent<PageTableV2Props, {
|
|
|
64
64
|
readonly footerClass?: string | undefined;
|
|
65
65
|
readonly submitText?: string | undefined;
|
|
66
66
|
readonly cancelText?: string | undefined;
|
|
67
|
+
readonly submitIcon?: string | undefined;
|
|
68
|
+
readonly cancelIcon?: string | undefined;
|
|
67
69
|
readonly submitDisabled?: boolean | undefined;
|
|
68
70
|
readonly cancelDisabled?: boolean | undefined;
|
|
69
71
|
readonly showCount?: number | undefined;
|
package/dist/lib/style.css
CHANGED
|
@@ -682,6 +682,38 @@
|
|
|
682
682
|
mask-repeat: no-repeat;
|
|
683
683
|
}
|
|
684
684
|
|
|
685
|
+
.icon-\[ant-design--search-outlined\] {
|
|
686
|
+
width: 1em;
|
|
687
|
+
height: 1em;
|
|
688
|
+
-webkit-mask-image: var(--svg);
|
|
689
|
+
-webkit-mask-image: var(--svg);
|
|
690
|
+
-webkit-mask-image: var(--svg);
|
|
691
|
+
mask-image: var(--svg);
|
|
692
|
+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024' width='1024' height='1024'%3E%3Cpath fill='black' d='M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1S492.1 112 412 112s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6M570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4'/%3E%3C/svg%3E");
|
|
693
|
+
background-color: currentColor;
|
|
694
|
+
display: inline-block;
|
|
695
|
+
-webkit-mask-size: 100% 100%;
|
|
696
|
+
mask-size: 100% 100%;
|
|
697
|
+
-webkit-mask-repeat: no-repeat;
|
|
698
|
+
mask-repeat: no-repeat;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.icon-\[ant-design--sync-outlined\] {
|
|
702
|
+
width: 1em;
|
|
703
|
+
height: 1em;
|
|
704
|
+
-webkit-mask-image: var(--svg);
|
|
705
|
+
-webkit-mask-image: var(--svg);
|
|
706
|
+
-webkit-mask-image: var(--svg);
|
|
707
|
+
mask-image: var(--svg);
|
|
708
|
+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024' width='1024' height='1024'%3E%3Cpath fill='black' d='M168 504.2c1-43.7 10-86.1 26.9-126c17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 0 1 755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 0 0 3 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92C282.7 92 96.3 275.6 92 503.8a8 8 0 0 0 8 8.2h60c4.4 0 7.9-3.5 8-7.8m756 7.8h-60c-4.4 0-7.9 3.5-8 7.8c-1 43.7-10 86.1-26.9 126c-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 0 1 512.1 856a342.24 342.24 0 0 1-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 0 0-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 0 0-8-8.2'/%3E%3C/svg%3E");
|
|
709
|
+
background-color: currentColor;
|
|
710
|
+
display: inline-block;
|
|
711
|
+
-webkit-mask-size: 100% 100%;
|
|
712
|
+
mask-size: 100% 100%;
|
|
713
|
+
-webkit-mask-repeat: no-repeat;
|
|
714
|
+
mask-repeat: no-repeat;
|
|
715
|
+
}
|
|
716
|
+
|
|
685
717
|
.icon-\[carbon--apple\] {
|
|
686
718
|
width: 1em;
|
|
687
719
|
height: 1em;
|
|
@@ -1822,6 +1854,10 @@
|
|
|
1822
1854
|
min-width: calc(var(--spacing) * 25);
|
|
1823
1855
|
}
|
|
1824
1856
|
|
|
1857
|
+
.min-w-30 {
|
|
1858
|
+
min-width: calc(var(--spacing) * 30);
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1825
1861
|
.flex-1 {
|
|
1826
1862
|
flex: 1;
|
|
1827
1863
|
}
|