@aplus-frontend/ui 0.6.0-beta.1 → 0.6.0-beta.10
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.d.ts +1 -1
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/es/src/ap-button/ap-button.vue.mjs +1 -1
- package/es/src/ap-field/date/helper.mjs +12 -12
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-field/number/index.vue.d.ts +1 -1
- package/es/src/ap-field/rate/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +1 -1
- package/es/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-form/interface.d.ts +4 -0
- package/es/src/ap-form/item/index.vue.d.ts +1 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
- package/es/src/ap-form/render/item.vue.d.ts +1 -1
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +40 -36
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +88 -69
- package/es/src/ap-form/search-form/index.vue.d.ts +6 -2
- package/es/src/ap-form/search-form/index.vue.mjs +77 -76
- package/es/src/ap-grid/constants.d.ts +3 -3
- package/es/src/ap-grid/constants.mjs +9 -9
- package/es/src/ap-grid/editable/form-item.vue.mjs +94 -83
- package/es/src/ap-grid/editable/index.vue.mjs +89 -78
- package/es/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
- package/es/src/ap-grid/hooks/use-inner-params.mjs +24 -35
- package/es/src/ap-grid/index.vue.mjs +161 -139
- package/es/src/ap-grid/interface.d.ts +2 -2
- package/es/src/ap-grid/utils/table.mjs +32 -32
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue2.mjs +209 -198
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +30 -30
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +147 -130
- package/es/src/ap-table/utils.d.ts +14 -14
- package/es/src/ap-tag/ap-tag-group.vue.mjs +32 -28
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/es/src/ap-tag/ap-tag.vue.mjs +18 -12
- package/es/src/ap-tag/interface.d.ts +4 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +93 -73
- package/es/src/business/ap-expand-alert/index.d.ts +4 -4
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +109 -99
- package/es/src/business/ap-export-group/index.d.ts +3 -0
- package/es/src/business/ap-export-group/interface.d.ts +7 -2
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +27 -25
- package/es/src/business/ap-label/ApLabel.d.ts +1 -1
- package/es/src/business/ap-label/constans.mjs +1 -1
- package/es/src/business/ap-label/index.d.ts +3 -3
- package/es/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +3 -3
- package/es/src/business/ap-status/interface.d.ts +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-view/ap-view.vue.d.ts +1 -0
- package/es/src/business/ap-view/ap-view.vue2.mjs +128 -112
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +64 -54
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +79 -73
- package/es/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/es/src/business/ap-view/index.d.ts +3 -0
- package/es/src/business/ap-view/interface.d.ts +8 -0
- package/es/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/business/hooks/usePageListApGrid.mjs +3 -5
- package/es/src/check-card/group.vue.d.ts +1 -1
- package/es/src/config-provider/config-provider-props.d.ts +0 -5
- package/es/src/config-provider/config-provider-props.mjs +0 -4
- package/es/src/config-provider/config-provider.d.ts +0 -138
- package/es/src/config-provider/config-provider.mjs +21 -26
- package/es/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/es/src/config-provider/index.d.ts +0 -652
- package/es/src/editable-table/form-item.vue.d.ts +2 -14
- package/es/src/editable-table/form-item.vue.mjs +84 -76
- package/es/src/editable-table/index.vue.d.ts +2 -16
- package/es/src/editable-table/index.vue.mjs +91 -83
- package/es/src/editable-table/interface.d.ts +7 -0
- package/es/src/locale/lang/en.mjs +1 -1
- package/es/src/locale/lang/zh-cn.mjs +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-field/date/helper.js +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-form/interface.d.ts +4 -0
- package/lib/src/ap-form/item/index.vue.d.ts +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/render/item.vue.d.ts +1 -1
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +6 -2
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-grid/constants.d.ts +3 -3
- package/lib/src/ap-grid/constants.js +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
- package/lib/src/ap-grid/hooks/use-inner-params.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +2 -2
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +30 -30
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/utils.d.ts +14 -14
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +4 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -4
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +3 -0
- package/lib/src/business/ap-export-group/interface.d.ts +7 -2
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
- package/lib/src/business/ap-label/constans.js +1 -1
- package/lib/src/business/ap-label/index.d.ts +3 -3
- package/lib/src/business/ap-ladder/ApLadder.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +3 -3
- package/lib/src/business/ap-status/interface.d.ts +1 -1
- package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue.d.ts +1 -0
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
- package/lib/src/business/ap-view/index.d.ts +3 -0
- package/lib/src/business/ap-view/interface.d.ts +8 -0
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/check-card/group.vue.d.ts +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +0 -5
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +0 -138
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -5
- package/lib/src/config-provider/index.d.ts +0 -652
- package/lib/src/editable-table/form-item.vue.d.ts +2 -14
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +2 -16
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +7 -0
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/package.json +4 -4
- package/theme/antd-global-overwrite/admin/index.css +14 -27
- package/theme/antd-global-overwrite/admin/index.less +1 -0
- package/theme/antd-global-overwrite/admin/modal.css +8 -24
- package/theme/antd-global-overwrite/admin/modal.less +9 -24
- package/theme/antd-global-overwrite/admin/table.css +3 -3
- package/theme/antd-global-overwrite/admin/table.less +3 -3
- package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
- package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
- package/theme/antd-global-overwrite/aplus/index.css +13 -20
- package/theme/antd-global-overwrite/aplus/index.less +1 -0
- package/theme/antd-global-overwrite/aplus/modal.css +7 -17
- package/theme/antd-global-overwrite/aplus/modal.less +8 -18
- package/theme/antd-global-overwrite/aplus/table.css +3 -3
- package/theme/antd-global-overwrite/aplus/table.less +3 -3
- package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
- package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
- package/theme/ap-action/item-dropdown.css +19 -1
- package/theme/ap-action/item.css +20 -2
- package/theme/ap-appendix/ap-appendix.css +25 -5
- package/theme/ap-appendix/ap-appendix.less +6 -4
- package/theme/ap-attachment/ap-attachment.css +25 -6
- package/theme/ap-attachment/ap-attachment.less +6 -6
- package/theme/ap-batch-action/ap-batch-action.css +25 -4
- package/theme/ap-batch-action/ap-batch-action.less +6 -3
- package/theme/ap-button/ap-button.css +19 -1
- package/theme/ap-card/ap-card.css +19 -1
- package/theme/ap-descriptions/ap-descriptions.css +24 -6
- package/theme/ap-descriptions/ap-descriptions.less +5 -5
- package/theme/ap-download/ap-download.css +26 -11
- package/theme/ap-download/ap-download.less +8 -11
- package/theme/ap-expand-alert/ap-expand-alert.css +21 -3
- package/theme/ap-expand-alert/ap-expand-alert.less +5 -5
- package/theme/ap-field/checkbox.css +19 -1
- package/theme/ap-field/index.css +19 -1
- package/theme/ap-field/number.css +19 -1
- package/theme/ap-field/radio.css +19 -1
- package/theme/ap-field/text-area.css +19 -1
- package/theme/ap-form/ap-form-item-group.css +19 -1
- package/theme/ap-form/ap-form-item.css +26 -5
- package/theme/ap-form/ap-form-item.less +11 -5
- package/theme/ap-form/drawer-form.css +19 -1
- package/theme/ap-form/index.css +43 -10
- package/theme/ap-form/item-text-group.css +19 -1
- package/theme/ap-form/item-text.css +19 -1
- package/theme/ap-form/modal-form.css +19 -1
- package/theme/ap-form/search-form-sorter.css +24 -5
- package/theme/ap-form/search-form-sorter.less +1 -0
- package/theme/ap-form/search-form.css +43 -10
- package/theme/ap-form/search-form.less +12 -1
- package/theme/ap-grid/editable.css +19 -1
- package/theme/ap-grid/editable.less +3 -2
- package/theme/ap-grid/index.css +78 -15
- package/theme/ap-grid/index.less +21 -6
- package/theme/ap-group-search/ap-extension-select.css +19 -1
- package/theme/ap-group-search/ap-group-search.css +19 -1
- package/theme/ap-group-search/ap-popover-select.css +19 -1
- package/theme/ap-image/ap-image.css +19 -1
- package/theme/ap-input-radio/ap-input-radio.css +19 -1
- package/theme/ap-label/ap-label.css +19 -1
- package/theme/ap-ladder/ap-ladder.css +23 -4
- package/theme/ap-ladder/ap-ladder.less +4 -3
- package/theme/ap-layout/ap-info-layout.css +19 -1
- package/theme/ap-list/index.css +19 -1
- package/theme/ap-product-info/ap-product-info.css +19 -1
- package/theme/ap-select-layout/ap-select-layout.css +27 -9
- package/theme/ap-select-layout/ap-select-layout.less +8 -8
- package/theme/ap-size-input/ap-size-input.css +19 -1
- package/theme/ap-status/ap-status.css +21 -4
- package/theme/ap-status/ap-status.less +2 -4
- package/theme/ap-summary/index.css +22 -4
- package/theme/ap-summary/index.less +3 -3
- package/theme/ap-table/ap-table-index.css +24 -6
- package/theme/ap-table/ap-table-index.less +5 -5
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +19 -1
- package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
- package/theme/ap-table/ap-table.css +77 -29
- package/theme/ap-table/ap-table.less +7 -9
- package/theme/ap-table/setting/index.css +23 -6
- package/theme/ap-table/setting/modal.css +21 -4
- package/theme/ap-table/setting/modal.less +1 -2
- package/theme/ap-table/setting/select-group.css +21 -2
- package/theme/ap-table/setting/select-group.less +2 -1
- package/theme/ap-table/setting/sortable-item-meta.css +19 -1
- package/theme/ap-table/setting/sortable-item.css +19 -1
- package/theme/ap-table/setting/sorter.css +19 -2
- package/theme/ap-table-modal/index.css +77 -29
- package/theme/ap-tag/ap-tag-group.css +21 -3
- package/theme/ap-tag/ap-tag-group.less +4 -5
- package/theme/ap-tag/ap-tag.css +42 -15
- package/theme/ap-tag/ap-tag.less +37 -24
- package/theme/ap-title/ap-title.css +26 -6
- package/theme/ap-title/ap-title.less +7 -5
- package/theme/ap-upload/index.css +27 -9
- package/theme/ap-upload/multiple-file.css +21 -3
- package/theme/ap-upload/multiple-file.less +2 -2
- package/theme/ap-upload/picture.css +23 -5
- package/theme/ap-upload/picture.less +4 -4
- package/theme/ap-upload/single-file.css +21 -3
- package/theme/ap-upload/single-file.less +2 -2
- package/theme/ap-upload/upload.css +19 -1
- package/theme/ap-upload-single/index.css +19 -1
- package/theme/ap-view/ap-view.css +23 -1
- package/theme/ap-view/ap-view.less +4 -0
- package/theme/batch-input-group/index.css +20 -1
- package/theme/batch-input-group/popover-input.css +20 -1
- package/theme/batch-input-group/popover-input.less +1 -0
- package/theme/check-card/index.css +22 -4
- package/theme/editable-table/index.css +44 -11
- package/theme/full-screen/index.css +19 -1
- package/theme/index.css +305 -114
- package/theme/index.less +1 -0
- package/theme/mask/index.css +19 -1
- package/theme/mixins/config.less +1 -1
- package/theme/mixins/mixins.css +19 -1
- package/theme/mixins/mixins.less +25 -0
- package/theme/scroll-bar/index.css +19 -1
- package/theme/scroll-view/index.css +19 -1
- package/theme/splitter/index.css +21 -3
- package/theme/text/group.css +19 -1
- package/theme/text/index.css +20 -2
- package/theme/ui-mode.css +94 -0
- package/theme/ui-mode.less +95 -0
- package/theme/work-order-modal/index.css +19 -1
- package/es/src/config-provider/css-var.d.ts +0 -139
- package/es/src/config-provider/css-var.mjs +0 -278
- package/lib/src/config-provider/css-var.d.ts +0 -139
- package/lib/src/config-provider/css-var.js +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Popover as
|
|
3
|
-
import { IconApFilterOutlined as
|
|
1
|
+
import { defineComponent as C, ref as d, createBlock as c, openBlock as i, unref as e, withCtx as o, createVNode as t, normalizeClass as s, createElementVNode as g, createElementBlock as F, Fragment as _, renderList as B, resolveDynamicComponent as x, createTextVNode as v, toDisplayString as y } from "vue";
|
|
2
|
+
import { Popover as h, Tooltip as L, Button as u, Row as N, Col as S, Divider as w, Flex as D } from "@aplus-frontend/antdv";
|
|
3
|
+
import { IconApFilterOutlined as P } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../../config-provider/index.mjs";
|
|
5
|
-
import { useNamespace as
|
|
6
|
-
import { useLocale as
|
|
7
|
-
const
|
|
5
|
+
import { useNamespace as R } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
6
|
+
import { useLocale as T } from "../../../config-provider/hooks/use-locale.mjs";
|
|
7
|
+
const U = /* @__PURE__ */ C({
|
|
8
8
|
name: "ApFormSearchFormPopoverFilter",
|
|
9
9
|
__name: "popover-filter",
|
|
10
10
|
props: {
|
|
@@ -12,34 +12,34 @@ const O = /* @__PURE__ */ y({
|
|
|
12
12
|
onSubmit: { type: Function },
|
|
13
13
|
submitLoading: { type: Boolean }
|
|
14
14
|
},
|
|
15
|
-
setup(
|
|
16
|
-
const { e: a } =
|
|
17
|
-
function
|
|
18
|
-
return
|
|
15
|
+
setup(V) {
|
|
16
|
+
const k = d(), { e: a, b: f } = R("ap-form-search-form"), { t: m } = T(), l = d(!1);
|
|
17
|
+
function b(r) {
|
|
18
|
+
return r.closest(".ant-form") || document.body;
|
|
19
19
|
}
|
|
20
|
-
return (
|
|
21
|
-
open:
|
|
22
|
-
"onUpdate:open": p[1] || (p[1] = (
|
|
20
|
+
return (r, p) => (i(), c(e(h), {
|
|
21
|
+
open: l.value,
|
|
22
|
+
"onUpdate:open": p[1] || (p[1] = (n) => l.value = n),
|
|
23
23
|
"overlay-class-name": e(a)("popover"),
|
|
24
24
|
trigger: "click",
|
|
25
25
|
placement: "bottom",
|
|
26
26
|
mask: "",
|
|
27
27
|
"mask-style": { backgroundColor: "transparent" },
|
|
28
|
-
"get-popup-container":
|
|
28
|
+
"get-popup-container": b
|
|
29
29
|
}, {
|
|
30
30
|
content: o(() => [
|
|
31
|
-
|
|
32
|
-
class:
|
|
31
|
+
g("div", {
|
|
32
|
+
class: s([e(a)("popover-content")]),
|
|
33
33
|
style: { paddingBottom: "4px", width: "825px" }
|
|
34
34
|
}, [
|
|
35
|
-
t(e(
|
|
35
|
+
t(e(N), { gutter: 8 }, {
|
|
36
36
|
default: o(() => [
|
|
37
|
-
(
|
|
38
|
-
key:
|
|
37
|
+
(i(!0), F(_, null, B(r.config, (n) => (i(), c(e(S), {
|
|
38
|
+
key: n.key,
|
|
39
39
|
span: 8
|
|
40
40
|
}, {
|
|
41
41
|
default: o(() => [
|
|
42
|
-
(
|
|
42
|
+
(i(), c(x(n.node)))
|
|
43
43
|
]),
|
|
44
44
|
_: 2
|
|
45
45
|
}, 1024))), 128))
|
|
@@ -47,28 +47,28 @@ const O = /* @__PURE__ */ y({
|
|
|
47
47
|
_: 1
|
|
48
48
|
})
|
|
49
49
|
], 2),
|
|
50
|
-
t(e(
|
|
51
|
-
|
|
52
|
-
class:
|
|
50
|
+
t(e(w), { style: { margin: "0" } }),
|
|
51
|
+
g("div", {
|
|
52
|
+
class: s(e(a)("popover-footer"))
|
|
53
53
|
}, [
|
|
54
|
-
t(e(
|
|
54
|
+
t(e(D), { justify: "end" }, {
|
|
55
55
|
default: o(() => [
|
|
56
56
|
t(e(u), {
|
|
57
|
-
onClick: p[0] || (p[0] = (
|
|
57
|
+
onClick: p[0] || (p[0] = (n) => l.value = !1)
|
|
58
58
|
}, {
|
|
59
59
|
default: o(() => [
|
|
60
|
-
|
|
60
|
+
v(y(e(m)("ap.common.cancelText")), 1)
|
|
61
61
|
]),
|
|
62
62
|
_: 1
|
|
63
63
|
}),
|
|
64
64
|
t(e(u), {
|
|
65
|
-
class:
|
|
65
|
+
class: s(e(a)("popover-footer-confirm-btn")),
|
|
66
66
|
type: "primary",
|
|
67
|
-
loading:
|
|
68
|
-
onClick:
|
|
67
|
+
loading: r.submitLoading,
|
|
68
|
+
onClick: r.onSubmit
|
|
69
69
|
}, {
|
|
70
70
|
default: o(() => [
|
|
71
|
-
|
|
71
|
+
v(y(e(m)("ap.apForm.search.search")), 1)
|
|
72
72
|
]),
|
|
73
73
|
_: 1
|
|
74
74
|
}, 8, ["class", "loading", "onClick"])
|
|
@@ -78,17 +78,21 @@ const O = /* @__PURE__ */ y({
|
|
|
78
78
|
], 2)
|
|
79
79
|
]),
|
|
80
80
|
default: o(() => [
|
|
81
|
-
t(e(
|
|
82
|
-
title: e(
|
|
81
|
+
t(e(L), {
|
|
82
|
+
title: e(m)("ap.apForm.search.moreFilter"),
|
|
83
83
|
placement: "top"
|
|
84
84
|
}, {
|
|
85
85
|
default: o(() => [
|
|
86
|
-
t(e(u),
|
|
86
|
+
t(e(u), {
|
|
87
|
+
ref_key: "triggerBtnRef",
|
|
88
|
+
ref: k,
|
|
89
|
+
class: s([e(f)("trigger-btn"), { [e(f)("trigger-btn-active")]: l.value }])
|
|
90
|
+
}, {
|
|
87
91
|
icon: o(() => [
|
|
88
|
-
t(e(
|
|
92
|
+
t(e(P), { size: 14 })
|
|
89
93
|
]),
|
|
90
94
|
_: 1
|
|
91
|
-
})
|
|
95
|
+
}, 8, ["class"])
|
|
92
96
|
]),
|
|
93
97
|
_: 1
|
|
94
98
|
}, 8, ["title"])
|
|
@@ -98,5 +102,5 @@ const O = /* @__PURE__ */ y({
|
|
|
98
102
|
}
|
|
99
103
|
});
|
|
100
104
|
export {
|
|
101
|
-
|
|
105
|
+
U as default
|
|
102
106
|
};
|
|
@@ -1,100 +1,117 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Popover as
|
|
3
|
-
import { IconApLayoutOutlined as
|
|
1
|
+
import { defineComponent as S, ref as C, watch as k, unref as e, createBlock as D, openBlock as P, withCtx as a, createVNode as o, normalizeClass as r, createElementVNode as s, toDisplayString as m, createTextVNode as b } from "vue";
|
|
2
|
+
import { Popover as V, Tooltip as j, Button as h, Flex as _, Divider as z } from "@aplus-frontend/antdv";
|
|
3
|
+
import { IconApLayoutOutlined as A } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../../../config-provider/index.mjs";
|
|
5
|
-
import
|
|
5
|
+
import I from "vuedraggable";
|
|
6
6
|
import "./sortable-item.vue.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
|
|
7
|
+
import { getStringName as L } from "../../../item-group/helper.mjs";
|
|
8
|
+
import { useNamespace as F } from "../../../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
import { useLocale as R } from "../../../../config-provider/hooks/use-locale.mjs";
|
|
10
|
+
import $ from "./sortable-item.vue2.mjs";
|
|
11
|
+
const W = /* @__PURE__ */ S({
|
|
11
12
|
name: "ApFormSearchFormPopoverSorter",
|
|
12
13
|
__name: "index",
|
|
13
14
|
props: {
|
|
14
15
|
children: {},
|
|
15
|
-
onClickConfirm: { type: Function }
|
|
16
|
+
onClickConfirm: { type: Function },
|
|
17
|
+
sorted: { type: Boolean }
|
|
16
18
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
19
|
-
let g = [...
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
setup(w) {
|
|
20
|
+
const l = w, c = C(l.children);
|
|
21
|
+
let v = [...l.children], g = [...l.children];
|
|
22
|
+
k(
|
|
23
|
+
() => l.children,
|
|
24
|
+
(t) => {
|
|
25
|
+
l.sorted || (c.value = t, g = t, v = t);
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
const { e: f, b: y } = F("ap-form-search-form"), { b: n } = F("search-form-sorter"), { t: i } = R(), p = C(!1);
|
|
29
|
+
function x(t) {
|
|
30
|
+
return t.closest(".ant-form") || document.body;
|
|
23
31
|
}
|
|
24
|
-
function
|
|
25
|
-
|
|
32
|
+
function B() {
|
|
33
|
+
p.value = !1, v = [...e(c)], l.onClickConfirm(e(c));
|
|
26
34
|
}
|
|
27
|
-
function
|
|
35
|
+
function N() {
|
|
28
36
|
c.value = [...g];
|
|
29
37
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
38
|
+
function T(t) {
|
|
39
|
+
return L(t.props.name);
|
|
40
|
+
}
|
|
41
|
+
return k(
|
|
42
|
+
() => p.value,
|
|
43
|
+
(t) => {
|
|
44
|
+
t && (c.value = [...v]);
|
|
45
|
+
}
|
|
46
|
+
), (t, u) => (P(), D(e(V), {
|
|
47
|
+
open: p.value,
|
|
48
|
+
"onUpdate:open": u[1] || (u[1] = (d) => p.value = d),
|
|
49
|
+
"overlay-class-name": e(f)("popover"),
|
|
34
50
|
trigger: "click",
|
|
35
51
|
placement: "bottom",
|
|
36
52
|
mask: "",
|
|
37
53
|
"mask-style": { backgroundColor: "transparent" },
|
|
38
|
-
"get-popup-container":
|
|
54
|
+
"get-popup-container": x
|
|
39
55
|
}, {
|
|
40
|
-
content:
|
|
41
|
-
|
|
42
|
-
class: r(e(
|
|
56
|
+
content: a(() => [
|
|
57
|
+
s("div", {
|
|
58
|
+
class: r(e(n)("header"))
|
|
43
59
|
}, [
|
|
44
|
-
|
|
45
|
-
class: r(e(
|
|
46
|
-
},
|
|
47
|
-
o(e(
|
|
48
|
-
default:
|
|
49
|
-
|
|
50
|
-
class: r(e(
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
class: r(e(
|
|
54
|
-
onClick:
|
|
60
|
+
s("span", {
|
|
61
|
+
class: r(e(n)("header-title"))
|
|
62
|
+
}, m(e(i)("ap.apForm.search.sorterTitle")), 3),
|
|
63
|
+
o(e(_), { justify: "space-between" }, {
|
|
64
|
+
default: a(() => [
|
|
65
|
+
s("span", {
|
|
66
|
+
class: r(e(n)("header-desc"))
|
|
67
|
+
}, m(e(i)("ap.apForm.search.sorterDesc")), 3),
|
|
68
|
+
s("div", {
|
|
69
|
+
class: r(e(n)("header-action-wrapper")),
|
|
70
|
+
onClick: N
|
|
55
71
|
}, [
|
|
56
|
-
|
|
57
|
-
class: r(e(
|
|
58
|
-
},
|
|
72
|
+
s("span", {
|
|
73
|
+
class: r(e(n)("header-reset-btn"))
|
|
74
|
+
}, m(e(i)("ap.apForm.search.sorterReset")), 3)
|
|
59
75
|
], 2)
|
|
60
76
|
]),
|
|
61
77
|
_: 1
|
|
62
78
|
})
|
|
63
79
|
], 2),
|
|
64
|
-
|
|
65
|
-
class: r([e(
|
|
80
|
+
s("div", {
|
|
81
|
+
class: r([e(f)("popover-content"), e(n)("content")])
|
|
66
82
|
}, [
|
|
67
|
-
o(e(
|
|
83
|
+
o(e(I), {
|
|
68
84
|
list: c.value,
|
|
69
|
-
class: r(e(
|
|
85
|
+
class: r(e(n)("sorter-wrapper")),
|
|
86
|
+
"item-key": T
|
|
70
87
|
}, {
|
|
71
|
-
item:
|
|
72
|
-
o(
|
|
88
|
+
item: a(({ element: d }) => [
|
|
89
|
+
o($, { item: d }, null, 8, ["item"])
|
|
73
90
|
]),
|
|
74
91
|
_: 1
|
|
75
92
|
}, 8, ["list", "class"])
|
|
76
93
|
], 2),
|
|
77
|
-
o(e(
|
|
78
|
-
|
|
79
|
-
class: r(e(
|
|
94
|
+
o(e(z), { style: { margin: "0" } }),
|
|
95
|
+
s("div", {
|
|
96
|
+
class: r(e(f)("popover-footer"))
|
|
80
97
|
}, [
|
|
81
|
-
o(e(
|
|
82
|
-
default:
|
|
83
|
-
o(e(
|
|
84
|
-
onClick:
|
|
98
|
+
o(e(_), { justify: "end" }, {
|
|
99
|
+
default: a(() => [
|
|
100
|
+
o(e(h), {
|
|
101
|
+
onClick: u[0] || (u[0] = (d) => p.value = !1)
|
|
85
102
|
}, {
|
|
86
|
-
default:
|
|
87
|
-
|
|
103
|
+
default: a(() => [
|
|
104
|
+
b(m(e(i)("ap.common.cancelText")), 1)
|
|
88
105
|
]),
|
|
89
106
|
_: 1
|
|
90
107
|
}),
|
|
91
|
-
o(e(
|
|
92
|
-
class: r(e(
|
|
108
|
+
o(e(h), {
|
|
109
|
+
class: r(e(f)("popover-footer-confirm-btn")),
|
|
93
110
|
type: "primary",
|
|
94
|
-
onClick:
|
|
111
|
+
onClick: B
|
|
95
112
|
}, {
|
|
96
|
-
default:
|
|
97
|
-
|
|
113
|
+
default: a(() => [
|
|
114
|
+
b(m(e(i)("ap.apForm.search.sorterConfirmBtn")), 1)
|
|
98
115
|
]),
|
|
99
116
|
_: 1
|
|
100
117
|
}, 8, ["class"])
|
|
@@ -103,18 +120,20 @@ const G = /* @__PURE__ */ T({
|
|
|
103
120
|
})
|
|
104
121
|
], 2)
|
|
105
122
|
]),
|
|
106
|
-
default:
|
|
107
|
-
o(e(
|
|
108
|
-
title: e(
|
|
123
|
+
default: a(() => [
|
|
124
|
+
o(e(j), {
|
|
125
|
+
title: e(i)("ap.apForm.search.sorterTitle"),
|
|
109
126
|
placement: "top"
|
|
110
127
|
}, {
|
|
111
|
-
default:
|
|
112
|
-
o(e(
|
|
113
|
-
|
|
114
|
-
|
|
128
|
+
default: a(() => [
|
|
129
|
+
o(e(h), {
|
|
130
|
+
class: r([e(y)("trigger-btn"), { [e(y)("trigger-btn-active")]: p.value }])
|
|
131
|
+
}, {
|
|
132
|
+
icon: a(() => [
|
|
133
|
+
o(e(A), { size: 14 })
|
|
115
134
|
]),
|
|
116
135
|
_: 1
|
|
117
|
-
})
|
|
136
|
+
}, 8, ["class"])
|
|
118
137
|
]),
|
|
119
138
|
_: 1
|
|
120
139
|
}, 8, ["title"])
|
|
@@ -124,5 +143,5 @@ const G = /* @__PURE__ */ T({
|
|
|
124
143
|
}
|
|
125
144
|
});
|
|
126
145
|
export {
|
|
127
|
-
|
|
146
|
+
W as default
|
|
128
147
|
};
|
|
@@ -383,7 +383,9 @@ declare function __VLS_template(): {
|
|
|
383
383
|
default: string | number | ColSize;
|
|
384
384
|
};
|
|
385
385
|
xxl: {
|
|
386
|
-
type: PropType<string | number |
|
|
386
|
+
type: PropType<string | number | **
|
|
387
|
+
* extra区域展开占据的span数(占据剩余所有空间)
|
|
388
|
+
*/).ColSize>;
|
|
387
389
|
default: string | number | ColSize;
|
|
388
390
|
};
|
|
389
391
|
prefixCls: StringConstructor;
|
|
@@ -1218,7 +1220,9 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
1218
1220
|
default: string | number | ColSize;
|
|
1219
1221
|
};
|
|
1220
1222
|
xxl: {
|
|
1221
|
-
type: PropType<string | number |
|
|
1223
|
+
type: PropType<string | number | **
|
|
1224
|
+
* extra区域展开占据的span数(占据剩余所有空间)
|
|
1225
|
+
*/).ColSize>;
|
|
1222
1226
|
default: string | number | ColSize;
|
|
1223
1227
|
};
|
|
1224
1228
|
prefixCls: StringConstructor;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { isVNode as
|
|
2
|
-
import { Col as R, Flex as
|
|
1
|
+
import { isVNode as oe, defineComponent as ae, useSlots as ne, ref as L, shallowRef as U, computed as _, unref as n, watch as V, createVNode as t, Fragment as w, createBlock as x, openBlock as d, mergeProps as le, withCtx as A, resolveDynamicComponent as B, createElementBlock as re, renderList as se } from "vue";
|
|
2
|
+
import { Col as R, Flex as N, Button as M, Row as ie } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../ap-form.vue.mjs";
|
|
4
4
|
import "../item/index.vue2.mjs";
|
|
5
|
-
import { genRealChildren as
|
|
5
|
+
import { genRealChildren as W } from "../item-group/helper.mjs";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
|
-
import { isArray as
|
|
8
|
-
import { isDef as
|
|
9
|
-
import { execFunc as
|
|
7
|
+
import { isArray as ue, isBoolean as ce, omit as pe } from "lodash-unified";
|
|
8
|
+
import { isDef as D } from "../../utils/index.mjs";
|
|
9
|
+
import { execFunc as q, diffFormItem as de } from "./utils.mjs";
|
|
10
10
|
import "./components/popover-filter.vue.mjs";
|
|
11
|
-
import { useCountPerRow as
|
|
11
|
+
import { useCountPerRow as fe } from "./hooks/use-count-per-row.mjs";
|
|
12
12
|
import "./components/popover-sorter/index.vue.mjs";
|
|
13
|
-
import { useNamespace as
|
|
14
|
-
import { useLocale as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
function
|
|
20
|
-
return typeof f == "function" || Object.prototype.toString.call(f) === "[object Object]" && !
|
|
13
|
+
import { useNamespace as me } from "../../config-provider/hooks/use-namespace.mjs";
|
|
14
|
+
import { useLocale as he } from "../../config-provider/hooks/use-locale.mjs";
|
|
15
|
+
import z from "../item/index.vue.mjs";
|
|
16
|
+
import xe from "./components/popover-filter.vue2.mjs";
|
|
17
|
+
import ye from "./components/popover-sorter/index.vue2.mjs";
|
|
18
|
+
import ge from "../ap-form.vue2.mjs";
|
|
19
|
+
function ve(f) {
|
|
20
|
+
return typeof f == "function" || Object.prototype.toString.call(f) === "[object Object]" && !oe(f);
|
|
21
21
|
}
|
|
22
|
-
const s = 24,
|
|
22
|
+
const s = 24, Ue = /* @__PURE__ */ ae({
|
|
23
23
|
name: "ApFormSearchForm",
|
|
24
24
|
__name: "index",
|
|
25
25
|
props: {
|
|
@@ -111,102 +111,103 @@ const s = 24, Le = /* @__PURE__ */ te({
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
setup(f, {
|
|
114
|
-
expose:
|
|
114
|
+
expose: H
|
|
115
115
|
}) {
|
|
116
|
-
var
|
|
117
|
-
const i =
|
|
116
|
+
var P;
|
|
117
|
+
const i = ne(), o = f, {
|
|
118
118
|
b: m
|
|
119
|
-
} =
|
|
120
|
-
t:
|
|
121
|
-
} =
|
|
122
|
-
function
|
|
119
|
+
} = me("ap-form-search-form"), {
|
|
120
|
+
t: k
|
|
121
|
+
} = he(), G = fe(o), y = L();
|
|
122
|
+
function I() {
|
|
123
123
|
var a;
|
|
124
124
|
const e = (a = y.value) == null ? void 0 : a.getFieldsValueTransformed(!0);
|
|
125
|
-
|
|
125
|
+
q(o.onSubmit, e);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function J() {
|
|
128
128
|
var e, a;
|
|
129
|
-
o.customReset || (a = (e = y.value) == null ? void 0 : e.resetFields) == null || a.call(e),
|
|
129
|
+
o.customReset || (a = (e = y.value) == null ? void 0 : e.resetFields) == null || a.call(e), q(o.onReset);
|
|
130
130
|
}
|
|
131
|
-
const
|
|
132
|
-
let
|
|
133
|
-
const u =
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}),
|
|
131
|
+
const K = (e) => D(e) ? (ue(e) ? e : [e]).join("") : Date.now();
|
|
132
|
+
let T = [];
|
|
133
|
+
const u = U(W(i.default())), b = L(!1), c = U((P = i.extra) == null ? void 0 : P.call(i)), E = _(() => Math.floor(s / n(G)));
|
|
134
|
+
V(() => i.default(), (e) => {
|
|
135
|
+
T = u.value, u.value = de(T, W(e)), b.value = !1;
|
|
136
|
+
}), V(() => {
|
|
137
137
|
var e;
|
|
138
138
|
return (e = i.extra) == null ? void 0 : e.call(i);
|
|
139
139
|
}, (e) => {
|
|
140
140
|
c.value = e;
|
|
141
141
|
});
|
|
142
142
|
const l = _(() => {
|
|
143
|
-
const e = u.value, a = [], r = [], g = [], h = n(
|
|
144
|
-
let v = 0,
|
|
145
|
-
const
|
|
146
|
-
e.forEach((
|
|
147
|
-
const p =
|
|
148
|
-
if (
|
|
149
|
-
a.push(
|
|
143
|
+
const e = u.value, a = [], r = [], g = [], h = n(E);
|
|
144
|
+
let v = 0, S = 0;
|
|
145
|
+
const Y = s * o.maxRows - h * (n(c) && !o.extraInAction ? 2 : 1);
|
|
146
|
+
e.forEach((F, te) => {
|
|
147
|
+
const p = F.props;
|
|
148
|
+
if (ce(p.hidden) ? !!p.hidden : D(p.hidden))
|
|
149
|
+
a.push(F);
|
|
150
150
|
else {
|
|
151
151
|
let C = p.span || h;
|
|
152
|
-
const
|
|
153
|
-
node:
|
|
152
|
+
const $ = {
|
|
153
|
+
node: F,
|
|
154
154
|
span: C,
|
|
155
|
-
key: `ApFormSearchFormItem-${
|
|
156
|
-
},
|
|
157
|
-
|
|
155
|
+
key: `ApFormSearchFormItem-${te}-${K(p.name)}-${p._signal}`
|
|
156
|
+
}, j = s - v % s;
|
|
157
|
+
j < C && (C += j), v += C, v > Y ? r.push($) : (S = v, g.push($));
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
|
-
const
|
|
160
|
+
const O = s - (S + h) % s, Z = S % s < h, ee = O < h ? s : O;
|
|
161
161
|
return {
|
|
162
162
|
hideNode: t(w, null, [a]),
|
|
163
163
|
nodes: g,
|
|
164
164
|
collapseNodes: r,
|
|
165
|
-
extraSpan:
|
|
166
|
-
lastRowOnlyIncludeActionAndExtra:
|
|
165
|
+
extraSpan: ee,
|
|
166
|
+
lastRowOnlyIncludeActionAndExtra: Z
|
|
167
167
|
};
|
|
168
168
|
});
|
|
169
|
-
function
|
|
170
|
-
u.value = [...e];
|
|
169
|
+
function Q(e) {
|
|
170
|
+
u.value = [...e], b.value = !0;
|
|
171
171
|
}
|
|
172
|
-
const
|
|
172
|
+
const X = _(() => {
|
|
173
173
|
let e;
|
|
174
174
|
const a = t(R, {
|
|
175
|
-
span: n(
|
|
175
|
+
span: n(E),
|
|
176
176
|
key: "actionWrapper"
|
|
177
177
|
}, {
|
|
178
|
-
default: () => [t(
|
|
179
|
-
default: () => [t(
|
|
178
|
+
default: () => [t(z, null, {
|
|
179
|
+
default: () => [t(N, {
|
|
180
180
|
wrap: "wrap",
|
|
181
181
|
justify: l.value.lastRowOnlyIncludeActionAndExtra && !(n(c) && o.extraInAction) ? "flex-end" : "space-between"
|
|
182
182
|
}, {
|
|
183
|
-
default: () => [t(
|
|
183
|
+
default: () => [t(N, {
|
|
184
184
|
gap: 8,
|
|
185
185
|
wrap: "wrap"
|
|
186
186
|
}, {
|
|
187
187
|
default: () => [t("div", {
|
|
188
188
|
class: m("column-setting-trigger-wrapper")
|
|
189
|
-
}, [l.value.collapseNodes.length ? t(
|
|
190
|
-
onSubmit:
|
|
189
|
+
}, [l.value.collapseNodes.length ? t(xe, {
|
|
190
|
+
onSubmit: I,
|
|
191
191
|
config: l.value.collapseNodes,
|
|
192
192
|
submitLoading: o.submitLoading
|
|
193
|
-
}, null) : null, o.sortable && u.value.length ? t(
|
|
193
|
+
}, null) : null, o.sortable && u.value.length ? t(ye, {
|
|
194
194
|
children: u.value,
|
|
195
|
-
onClickConfirm:
|
|
196
|
-
|
|
195
|
+
onClickConfirm: Q,
|
|
196
|
+
sorted: b.value
|
|
197
|
+
}, null) : null]), t(M, {
|
|
197
198
|
type: "primary",
|
|
198
|
-
onClick:
|
|
199
|
+
onClick: I,
|
|
199
200
|
loading: o.submitLoading,
|
|
200
201
|
htmlType: "submit",
|
|
201
202
|
class: m("action-btn")
|
|
202
203
|
}, {
|
|
203
|
-
default: () => [o.searchText ||
|
|
204
|
-
}), t(
|
|
205
|
-
onClick:
|
|
204
|
+
default: () => [o.searchText || k("ap.apForm.search.search")]
|
|
205
|
+
}), t(M, {
|
|
206
|
+
onClick: J,
|
|
206
207
|
type: "text",
|
|
207
208
|
class: [m("action-btn"), m("action-btn-reset")]
|
|
208
209
|
}, {
|
|
209
|
-
default: () => [o.resetText ||
|
|
210
|
+
default: () => [o.resetText || k("ap.apForm.search.reset")]
|
|
210
211
|
})]
|
|
211
212
|
}), o.extraInAction ? n(c) : null]
|
|
212
213
|
})]
|
|
@@ -215,10 +216,10 @@ const s = 24, Le = /* @__PURE__ */ te({
|
|
|
215
216
|
span: l.value.extraSpan,
|
|
216
217
|
key: "extraNode"
|
|
217
218
|
}, {
|
|
218
|
-
default: () => [t(
|
|
219
|
-
default: () => [t(
|
|
219
|
+
default: () => [t(z, null, {
|
|
220
|
+
default: () => [t(N, {
|
|
220
221
|
justify: l.value.extraSpan === s || l.value.lastRowOnlyIncludeActionAndExtra ? "start" : "flex-end"
|
|
221
|
-
},
|
|
222
|
+
}, ve(e = n(c)) ? e : {
|
|
222
223
|
default: () => [e]
|
|
223
224
|
})]
|
|
224
225
|
})]
|
|
@@ -227,23 +228,23 @@ const s = 24, Le = /* @__PURE__ */ te({
|
|
|
227
228
|
}, null);
|
|
228
229
|
return l.value.lastRowOnlyIncludeActionAndExtra ? t(w, null, [r || g, a]) : t(w, null, [a, r]);
|
|
229
230
|
});
|
|
230
|
-
return
|
|
231
|
+
return H({
|
|
231
232
|
apForm: _(() => n(y))
|
|
232
|
-
}), (e, a) => (d(), x(
|
|
233
|
+
}), (e, a) => (d(), x(ge, le({
|
|
233
234
|
ref_key: "apForm",
|
|
234
235
|
ref: y,
|
|
235
236
|
class: n(m)()
|
|
236
|
-
}, n(
|
|
237
|
-
default:
|
|
238
|
-
gutter:
|
|
237
|
+
}, n(pe)(o, ["collapse", "defaultCollapse", "onUpdate:collapse", "searchText", "resetText", "onSubmit", "onReset", "extraInAction", "forceExpand", "countPerRow"])), {
|
|
238
|
+
default: A(() => [(d(), x(B(l.value.hideNode))), t(n(ie), {
|
|
239
|
+
gutter: 8
|
|
239
240
|
}, {
|
|
240
|
-
default:
|
|
241
|
+
default: A(() => [(d(!0), re(w, null, se(l.value.nodes, (r) => (d(), x(n(R), {
|
|
241
242
|
key: r.key,
|
|
242
243
|
span: r.span
|
|
243
244
|
}, {
|
|
244
|
-
default:
|
|
245
|
+
default: A(() => [(d(), x(B(r.node)))]),
|
|
245
246
|
_: 2
|
|
246
|
-
}, 1032, ["span"]))), 128)), (d(), x(
|
|
247
|
+
}, 1032, ["span"]))), 128)), (d(), x(B(X.value)))]),
|
|
247
248
|
_: 1
|
|
248
249
|
})]),
|
|
249
250
|
_: 1
|
|
@@ -251,5 +252,5 @@ const s = 24, Le = /* @__PURE__ */ te({
|
|
|
251
252
|
}
|
|
252
253
|
});
|
|
253
254
|
export {
|
|
254
|
-
|
|
255
|
+
Ue as default
|
|
255
256
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const sizeMap: {
|
|
2
2
|
readonly mini: "small";
|
|
3
3
|
readonly small: "small";
|
|
4
|
-
readonly medium: "
|
|
4
|
+
readonly medium: "middle";
|
|
5
5
|
};
|
|
6
6
|
export declare const sizeReverseMap: {
|
|
7
|
-
readonly small: "
|
|
8
|
-
readonly middle:
|
|
7
|
+
readonly small: "mini";
|
|
8
|
+
readonly middle: "medium";
|
|
9
9
|
};
|
|
10
10
|
export declare const ROW_SELECTION_FIELD = "_ap-grid-row-selection-field";
|