@aplus-frontend/ui 0.4.31 → 0.4.33
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/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-button.vue.mjs +2 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +3 -3
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- package/es/src/ap-field/index.mjs +30 -30
- package/es/src/ap-field/interface.d.ts +4 -0
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +1 -1
- package/es/src/ap-field/select/index.vue.mjs +112 -93
- package/es/src/ap-field/select/use-select-options.d.ts +21 -0
- package/es/src/ap-field/select/use-select-options.mjs +43 -0
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.mjs +3 -3
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +3 -3
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
- package/es/src/ap-list/index.vue.mjs +4 -4
- package/es/src/ap-modal/utils/createModal.mjs +36 -26
- package/es/src/ap-table/ap-table.vue2.mjs +28 -28
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +52 -33
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.mjs +40 -40
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
- package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
- package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +1 -1
- package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +1 -1
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -0
- package/es/src/business/batch-input-group/index.vue.mjs +70 -60
- package/es/src/business/batch-input-group/interface.d.ts +5 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/business/hooks/useTableRefresh.mjs +39 -32
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.mjs +2 -2
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/locale/lang/en.mjs +2 -2
- package/es/src/locale/lang/zh-cn.mjs +2 -2
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/interface.d.ts +4 -0
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +21 -0
- package/lib/src/ap-field/select/use-select-options.js +1 -0
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -0
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +5 -1
- package/lib/src/business/hooks/useTableRefresh.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/package.json +1 -1
- package/theme/antd-global-overwrite/admin/index.css +1 -1
- package/theme/antd-global-overwrite/admin/modal.css +1 -1
- package/theme/antd-global-overwrite/admin/modal.less +1 -1
- package/theme/antd-global-overwrite/aplus/index.css +1 -1
- package/theme/antd-global-overwrite/aplus/modal.css +1 -1
- package/theme/antd-global-overwrite/aplus/modal.less +1 -1
- package/theme/ap-form/ap-form-item.css +3 -0
- package/theme/ap-form/ap-form-item.less +9 -0
- package/theme/ap-form/index.css +3 -0
- package/theme/ap-form/search-form.css +3 -0
- package/theme/ap-table/ap-table.css +3 -0
- package/theme/ap-table-modal/index.css +3 -0
- package/theme/batch-input-group/index.css +5 -1
- package/theme/batch-input-group/index.less +1 -0
- package/theme/batch-input-group/popover-input.css +2 -1
- package/theme/batch-input-group/popover-input.less +5 -1
- package/theme/editable-table/index.css +3 -0
- package/theme/index.css +8 -1
- package/theme/ap-scroll-bar/index.css +0 -31
- package/theme/ap-scroll-bar/index.less +0 -39
|
@@ -211,6 +211,9 @@
|
|
|
211
211
|
.aplus-ap-form-item--bordered .ant-picker {
|
|
212
212
|
padding: 0;
|
|
213
213
|
}
|
|
214
|
+
.aplus-ap-form-item--bordered .ant-form-item-control-input-content > .ant-input-group > .ant-picker-range:nth-child(1) .ant-picker-clear {
|
|
215
|
+
inset-inline-end: 0;
|
|
216
|
+
}
|
|
214
217
|
.aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
|
|
215
218
|
padding-left: 11px;
|
|
216
219
|
}
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
}
|
|
43
43
|
.aplus-batch-input-group-popover-input__popover {
|
|
44
44
|
width: 100%;
|
|
45
|
-
left:
|
|
45
|
+
left: var(--aplus-batch-input-group-popover-left) !important;
|
|
46
|
+
right: var(--aplus-batch-input-group-popover-right) !important;
|
|
46
47
|
min-width: 300px;
|
|
47
48
|
}
|
|
48
49
|
.aplus-batch-input-group-popover-input__popover .ant-popover-arrow {
|
|
@@ -57,3 +58,6 @@
|
|
|
57
58
|
.aplus-batch-input-group-popover-input__popover--content textarea {
|
|
58
59
|
padding: 0;
|
|
59
60
|
}
|
|
61
|
+
.aplus-batch-input-group {
|
|
62
|
+
position: relative;
|
|
63
|
+
}
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
}
|
|
21
21
|
.aplus-batch-input-group-popover-input__popover {
|
|
22
22
|
width: 100%;
|
|
23
|
-
left:
|
|
23
|
+
left: var(--aplus-batch-input-group-popover-left) !important;
|
|
24
|
+
right: var(--aplus-batch-input-group-popover-right) !important;
|
|
24
25
|
min-width: 300px;
|
|
25
26
|
}
|
|
26
27
|
.aplus-batch-input-group-popover-input__popover .ant-popover-arrow {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
@import '../mixins/mixins.less';
|
|
2
2
|
@import '../mixins/config.less';
|
|
3
3
|
|
|
4
|
+
@left: ~'--@{ns}-batch-input-group-popover-left';
|
|
5
|
+
@right: ~'--@{ns}-batch-input-group-popover-right';
|
|
6
|
+
|
|
4
7
|
.b(batch-input-group-popover-input, {
|
|
5
8
|
display: inline-flex;
|
|
6
9
|
align-items: center;
|
|
@@ -22,7 +25,8 @@
|
|
|
22
25
|
}
|
|
23
26
|
&__popover {
|
|
24
27
|
width: 100%;
|
|
25
|
-
left:
|
|
28
|
+
left: var(@left) !important;
|
|
29
|
+
right: var(@right) !important;
|
|
26
30
|
min-width: 300px;
|
|
27
31
|
|
|
28
32
|
& .ant-popover-arrow {
|
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
.aplus-ap-form-item--bordered .ant-picker {
|
|
26
26
|
padding: 0;
|
|
27
27
|
}
|
|
28
|
+
.aplus-ap-form-item--bordered .ant-form-item-control-input-content > .ant-input-group > .ant-picker-range:nth-child(1) .ant-picker-clear {
|
|
29
|
+
inset-inline-end: 0;
|
|
30
|
+
}
|
|
28
31
|
.aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
|
|
29
32
|
padding-left: 11px;
|
|
30
33
|
}
|
package/theme/index.css
CHANGED
|
@@ -378,6 +378,9 @@
|
|
|
378
378
|
.aplus-ap-form-item--bordered .ant-picker {
|
|
379
379
|
padding: 0;
|
|
380
380
|
}
|
|
381
|
+
.aplus-ap-form-item--bordered .ant-form-item-control-input-content > .ant-input-group > .ant-picker-range:nth-child(1) .ant-picker-clear {
|
|
382
|
+
inset-inline-end: 0;
|
|
383
|
+
}
|
|
381
384
|
.aplus-ap-form-item--bordered .ant-space-compact-block .ant-input {
|
|
382
385
|
padding-left: 11px;
|
|
383
386
|
}
|
|
@@ -2111,7 +2114,8 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
2111
2114
|
}
|
|
2112
2115
|
.aplus-batch-input-group-popover-input__popover {
|
|
2113
2116
|
width: 100%;
|
|
2114
|
-
left:
|
|
2117
|
+
left: var(--aplus-batch-input-group-popover-left) !important;
|
|
2118
|
+
right: var(--aplus-batch-input-group-popover-right) !important;
|
|
2115
2119
|
min-width: 300px;
|
|
2116
2120
|
}
|
|
2117
2121
|
.aplus-batch-input-group-popover-input__popover .ant-popover-arrow {
|
|
@@ -2126,6 +2130,9 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
2126
2130
|
.aplus-batch-input-group-popover-input__popover--content textarea {
|
|
2127
2131
|
padding: 0;
|
|
2128
2132
|
}
|
|
2133
|
+
.aplus-batch-input-group {
|
|
2134
|
+
position: relative;
|
|
2135
|
+
}
|
|
2129
2136
|
.aplus-scroll-view {
|
|
2130
2137
|
position: relative;
|
|
2131
2138
|
overflow: hidden;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
.aplus-ap-scroll-bar {
|
|
2
|
-
position: relative;
|
|
3
|
-
background-color: var(--ap-scroll-bar-background, rgba(0, 0, 0, 0.05));
|
|
4
|
-
}
|
|
5
|
-
.aplus-ap-scroll-bar--horizontal {
|
|
6
|
-
height: 10px;
|
|
7
|
-
}
|
|
8
|
-
.aplus-ap-scroll-bar--vertical {
|
|
9
|
-
width: 10px;
|
|
10
|
-
height: 100%;
|
|
11
|
-
}
|
|
12
|
-
.aplus-ap-scroll-bar__bar {
|
|
13
|
-
position: absolute;
|
|
14
|
-
border-radius: 8px;
|
|
15
|
-
background-color: rgba(144, 147, 153, 0.3);
|
|
16
|
-
background-color: var(--ap-scroll-bar-bar, rgba(144, 147, 153, 0.3));
|
|
17
|
-
box-shadow: var(--ap-scroll-bar-bar-shadow, inset 0 0 6px rgba(0, 0, 0, 0.2));
|
|
18
|
-
}
|
|
19
|
-
.aplus-ap-scroll-bar__bar--horizontal {
|
|
20
|
-
height: 8px;
|
|
21
|
-
top: 1px;
|
|
22
|
-
}
|
|
23
|
-
.aplus-ap-scroll-bar__bar--vertical {
|
|
24
|
-
width: 8px;
|
|
25
|
-
left: 1px;
|
|
26
|
-
}
|
|
27
|
-
.aplus-ap-scroll-bar__bar:hover,
|
|
28
|
-
.aplus-ap-scroll-bar__bar:focus,
|
|
29
|
-
.aplus-ap-scroll-bar__bar:active {
|
|
30
|
-
background-color: var(--ap-scroll-bar-bar-active, rgba(144, 147, 153, 0.5));
|
|
31
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
@import '../mixins/mixins.less';
|
|
2
|
-
@import '../mixins/config.less';
|
|
3
|
-
|
|
4
|
-
.b('ap-scroll-bar', {
|
|
5
|
-
position: relative;
|
|
6
|
-
// z-index: 999;
|
|
7
|
-
background-color: var(--ap-scroll-bar-background, rgb(0 0 0 / 5%));
|
|
8
|
-
|
|
9
|
-
&--horizontal {
|
|
10
|
-
height: 10px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&--vertical {
|
|
14
|
-
width: 10px;
|
|
15
|
-
height: 100%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&__bar {
|
|
19
|
-
position: absolute;
|
|
20
|
-
border-radius: 8px;
|
|
21
|
-
background-color: rgb(144 147 153 / 30%);
|
|
22
|
-
background-color: var(--ap-scroll-bar-bar, rgb(144 147 153 / 30%));
|
|
23
|
-
box-shadow: var(--ap-scroll-bar-bar-shadow, inset 0 0 6px rgb(0 0 0 / 20%)); ;
|
|
24
|
-
|
|
25
|
-
&--horizontal {
|
|
26
|
-
height: 8px;
|
|
27
|
-
top: 1px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&--vertical {
|
|
31
|
-
width: 8px;
|
|
32
|
-
left: 1px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&:hover, &:focus, &:active {
|
|
36
|
-
background-color: var(--ap-scroll-bar-bar-active, rgb(144 147 153 / 50%));
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
});
|