@aplus-frontend/ui 0.5.36 → 0.6.0-beta.0
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.mjs +74 -72
- package/es/src/ap-field/select/index.vue.d.ts +2 -2
- package/es/src/ap-field/tree-select/index.vue.d.ts +3 -3
- package/es/src/ap-form/drawer-form/index.vue.d.ts +10 -10
- package/es/src/ap-form/interface.d.ts +31 -1
- package/es/src/ap-form/item/index.vue.d.ts +22 -22
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/date/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/date-range/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/number/index.vue.d.ts +13 -13
- package/es/src/ap-form/items/radio/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/select/index.vue.d.ts +31 -31
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/index.vue.d.ts +15 -15
- package/es/src/ap-form/items/text/password.vue.d.ts +15 -15
- package/es/src/ap-form/items/text-area/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/es/src/ap-form/modal-form/index.vue.d.ts +10 -10
- package/es/src/ap-form/render/item.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +4 -0
- package/es/src/ap-form/search-form/components/popover-filter.vue.mjs +4 -0
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +102 -0
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue.d.ts +4 -0
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue.mjs +4 -0
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +128 -0
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.d.ts +6 -0
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.mjs +4 -0
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +39 -0
- package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +3 -0
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +17 -0
- package/es/src/ap-form/search-form/index.vue.d.ts +14 -16
- package/es/src/ap-form/search-form/index.vue.mjs +127 -127
- package/es/src/ap-grid/editable/form-item.vue.mjs +62 -56
- package/es/src/ap-grid/editable/index.vue.mjs +82 -76
- package/es/src/ap-grid/index.vue.mjs +97 -93
- package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +21 -16
- package/es/src/ap-list/index.vue.mjs +145 -138
- package/es/src/ap-list/interface.d.ts +4 -0
- package/es/src/ap-table/ap-table.vue2.mjs +108 -104
- package/es/src/ap-table/constants.d.ts +161 -161
- package/es/src/ap-table/context.d.ts +5 -0
- package/es/src/ap-table/context.mjs +13 -5
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +28 -30
- package/es/src/ap-table/utils.d.ts +147 -147
- package/es/src/ap-upload/apUpload.vue.d.ts +8 -8
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +14 -1
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +65 -51
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -1
- package/es/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
- package/es/src/business/ap-size-input/index.d.ts +3 -3
- package/es/src/business/ap-table-modal/index.d.ts +15 -15
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +5 -5
- package/es/src/business/ap-view/ap-view.vue.d.ts +6 -0
- package/es/src/business/ap-view/ap-view.vue.mjs +4 -0
- package/es/src/business/ap-view/ap-view.vue2.mjs +171 -0
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +831 -0
- package/es/src/business/ap-view/components/main-button-content.vue.mjs +4 -0
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +175 -0
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +832 -0
- package/es/src/business/ap-view/components/menu-list-content.vue.mjs +4 -0
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +156 -0
- package/es/src/business/ap-view/hooks/use-view-provide.d.ts +14 -0
- package/es/src/business/ap-view/hooks/use-view-provide.mjs +8 -0
- package/es/src/business/ap-view/icons/line-delete.vue.d.ts +3 -0
- package/es/src/business/ap-view/icons/line-delete.vue.mjs +29 -0
- package/es/src/business/ap-view/icons/line-down.vue.d.ts +3 -0
- package/es/src/business/ap-view/icons/line-down.vue.mjs +29 -0
- package/es/src/business/ap-view/icons/line-eye.vue.d.ts +3 -0
- package/es/src/business/ap-view/icons/line-eye.vue.mjs +29 -0
- package/es/src/business/ap-view/index.d.ts +27 -0
- package/es/src/business/ap-view/index.mjs +8 -0
- package/es/src/business/ap-view/interface.d.ts +54 -0
- package/es/src/business/ap-view/interface.mjs +1 -0
- package/es/src/business/ap-view/style/css.d.ts +0 -0
- package/es/src/business/ap-view/style/css.js +1 -0
- package/es/src/business/ap-view/style/index.d.ts +0 -0
- package/es/src/business/ap-view/style/index.js +1 -0
- package/es/src/business/ap-view/utils/enum.d.ts +1 -0
- package/es/src/business/ap-view/utils/enum.mjs +4 -0
- package/es/src/business/ap-view/utils/uuid.d.ts +5 -0
- package/es/src/business/ap-view/utils/uuid.mjs +22 -0
- package/es/src/business/batch-input-group/form-item.vue.d.ts +3 -3
- package/es/src/business/batch-input-group/index.vue.d.ts +6 -6
- package/es/src/business/index.d.ts +1 -0
- package/es/src/business/index.mjs +25 -23
- package/es/src/config-provider/config-provider-props.d.ts +5 -0
- package/es/src/config-provider/config-provider-props.mjs +4 -0
- package/es/src/config-provider/config-provider.d.ts +25 -1
- package/es/src/config-provider/config-provider.mjs +21 -20
- package/es/src/config-provider/css-var.d.ts +14 -0
- package/es/src/config-provider/css-var.mjs +40 -12
- package/es/src/config-provider/hooks/use-global-config.d.ts +5 -0
- package/es/src/config-provider/index.d.ts +89 -3
- package/es/src/full-screen/interface.d.ts +1 -1
- package/es/src/index.mjs +61 -59
- package/es/src/locale/lang/en.mjs +22 -1
- package/es/src/locale/lang/zh-cn.mjs +22 -1
- package/es/src/path-map.mjs +2 -1
- package/es/src/utils/config-provider-preset.d.ts +4 -4
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -6
- package/lib/index.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +2 -2
- package/lib/src/ap-field/tree-select/index.vue.d.ts +3 -3
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +10 -10
- package/lib/src/ap-form/interface.d.ts +31 -1
- package/lib/src/ap-form/item/index.vue.d.ts +22 -22
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/date/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/number/index.vue.d.ts +13 -13
- package/lib/src/ap-form/items/radio/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/select/index.vue.d.ts +31 -31
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/index.vue.d.ts +15 -15
- package/lib/src/ap-form/items/text/password.vue.d.ts +15 -15
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
- package/lib/src/ap-form/modal-form/index.vue.d.ts +10 -10
- package/lib/src/ap-form/render/item.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +4 -0
- package/lib/src/ap-form/search-form/components/popover-filter.vue.js +1 -0
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -0
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue.d.ts +4 -0
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue.js +1 -0
- package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -0
- package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.d.ts +6 -0
- package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.js +1 -0
- package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -0
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +3 -0
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -0
- package/lib/src/ap-form/search-form/index.vue.d.ts +14 -16
- package/lib/src/ap-form/search-form/index.vue.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/index.vue.js +1 -1
- package/lib/src/ap-info-layout/ApInfoLayout.vue.js +1 -1
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +4 -0
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +161 -161
- package/lib/src/ap-table/context.d.ts +5 -0
- package/lib/src/ap-table/context.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/utils.d.ts +147 -147
- package/lib/src/ap-upload/apUpload.vue.d.ts +8 -8
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +14 -1
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -1
- package/lib/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
- package/lib/src/business/ap-size-input/index.d.ts +3 -3
- package/lib/src/business/ap-table-modal/index.d.ts +15 -15
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +5 -5
- package/lib/src/business/ap-view/ap-view.vue.d.ts +6 -0
- package/lib/src/business/ap-view/ap-view.vue.js +1 -0
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -0
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +831 -0
- package/lib/src/business/ap-view/components/main-button-content.vue.js +1 -0
- package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -0
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +832 -0
- package/lib/src/business/ap-view/components/menu-list-content.vue.js +1 -0
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -0
- package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +14 -0
- package/lib/src/business/ap-view/hooks/use-view-provide.js +1 -0
- package/lib/src/business/ap-view/icons/line-delete.vue.d.ts +3 -0
- package/lib/src/business/ap-view/icons/line-delete.vue.js +1 -0
- package/lib/src/business/ap-view/icons/line-down.vue.d.ts +3 -0
- package/lib/src/business/ap-view/icons/line-down.vue.js +1 -0
- package/lib/src/business/ap-view/icons/line-eye.vue.d.ts +3 -0
- package/lib/src/business/ap-view/icons/line-eye.vue.js +1 -0
- package/lib/src/business/ap-view/index.d.ts +27 -0
- package/lib/src/business/ap-view/index.js +1 -0
- package/lib/src/business/ap-view/interface.d.ts +54 -0
- package/lib/src/business/ap-view/interface.js +1 -0
- package/lib/src/business/ap-view/style/css.cjs +1 -0
- package/lib/src/business/ap-view/style/css.d.ts +0 -0
- package/lib/src/business/ap-view/style/index.cjs +1 -0
- package/lib/src/business/ap-view/style/index.d.ts +0 -0
- package/lib/src/business/ap-view/utils/enum.d.ts +1 -0
- package/lib/src/business/ap-view/utils/enum.js +1 -0
- package/lib/src/business/ap-view/utils/uuid.d.ts +5 -0
- package/lib/src/business/ap-view/utils/uuid.js +1 -0
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +3 -3
- package/lib/src/business/batch-input-group/index.vue.d.ts +6 -6
- package/lib/src/business/index.d.ts +1 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +5 -0
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +25 -1
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/css-var.d.ts +14 -0
- package/lib/src/config-provider/css-var.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -0
- package/lib/src/config-provider/index.d.ts +89 -3
- package/lib/src/full-screen/interface.d.ts +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +4 -4
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -6
- package/package.json +7 -7
- package/theme/ap-action/item-dropdown.css +28 -0
- package/theme/ap-action/item-dropdown.less +1 -1
- package/theme/ap-action/item.css +35 -1
- package/theme/ap-action/item.less +1 -2
- package/theme/ap-appendix/ap-appendix.css +28 -0
- package/theme/ap-attachment/ap-attachment.css +28 -0
- package/theme/ap-batch-action/ap-batch-action.css +28 -0
- package/theme/ap-button/ap-button.css +28 -0
- package/theme/ap-card/ap-card.css +28 -0
- package/theme/ap-descriptions/ap-descriptions.css +28 -0
- package/theme/ap-download/ap-download.css +28 -0
- package/theme/ap-expand-alert/ap-expand-alert.css +28 -0
- package/theme/ap-field/checkbox.css +28 -0
- package/theme/ap-field/index.css +28 -0
- package/theme/ap-field/number.css +28 -0
- package/theme/ap-field/radio.css +28 -0
- package/theme/ap-field/text-area.css +28 -0
- package/theme/ap-form/ap-form-item-group.css +28 -0
- package/theme/ap-form/ap-form-item.css +28 -0
- package/theme/ap-form/drawer-form.css +28 -0
- package/theme/ap-form/index.css +169 -0
- package/theme/ap-form/item-text-group.css +28 -0
- package/theme/ap-form/item-text.css +28 -0
- package/theme/ap-form/modal-form.css +28 -0
- package/theme/ap-form/search-form-sorter.css +120 -0
- package/theme/ap-form/search-form-sorter.less +71 -0
- package/theme/ap-form/search-form.css +169 -0
- package/theme/ap-form/search-form.less +56 -0
- package/theme/ap-grid/editable.css +28 -0
- package/theme/ap-grid/index.css +176 -1
- package/theme/ap-group-search/ap-extension-select.css +28 -0
- package/theme/ap-group-search/ap-group-search.css +28 -0
- package/theme/ap-group-search/ap-popover-select.css +28 -0
- package/theme/ap-image/ap-image.css +28 -0
- package/theme/ap-input-radio/ap-input-radio.css +28 -0
- package/theme/ap-label/ap-label.css +28 -0
- package/theme/ap-ladder/ap-ladder.css +28 -0
- package/theme/ap-layout/ap-info-layout.css +28 -0
- package/theme/ap-list/index.css +66 -4
- package/theme/ap-list/index.less +41 -3
- package/theme/ap-product-info/ap-product-info.css +28 -0
- package/theme/ap-select-layout/ap-select-layout.css +28 -0
- package/theme/ap-size-input/ap-size-input.css +28 -0
- package/theme/ap-status/ap-status.css +28 -0
- package/theme/ap-summary/index.css +28 -0
- package/theme/ap-table/ap-table-index.css +28 -0
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +28 -0
- package/theme/ap-table/ap-table.css +190 -13
- package/theme/ap-table/ap-table.less +0 -1
- package/theme/ap-table/setting/index.css +42 -0
- package/theme/ap-table/setting/modal.css +36 -0
- package/theme/ap-table/setting/modal.less +1 -0
- package/theme/ap-table/setting/select-group.css +28 -0
- package/theme/ap-table/setting/sortable-item-meta.css +28 -0
- package/theme/ap-table/setting/sortable-item.css +28 -0
- package/theme/ap-table/setting/sorter.css +34 -0
- package/theme/ap-table/setting/sorter.less +1 -2
- package/theme/ap-table-modal/index.css +190 -13
- package/theme/ap-tag/ap-tag-group.css +28 -0
- package/theme/ap-tag/ap-tag.css +28 -0
- package/theme/ap-title/ap-title.css +28 -0
- package/theme/ap-upload/index.css +28 -0
- package/theme/ap-upload/multiple-file.css +28 -0
- package/theme/ap-upload/picture.css +28 -0
- package/theme/ap-upload/single-file.css +28 -0
- package/theme/ap-upload/upload.css +28 -0
- package/theme/ap-upload-single/index.css +28 -0
- package/theme/ap-view/ap-view.css +149 -0
- package/theme/ap-view/ap-view.less +128 -0
- package/theme/batch-input-group/index.css +28 -0
- package/theme/batch-input-group/popover-input.css +28 -0
- package/theme/check-card/index.css +49 -1
- package/theme/check-card/index.less +3 -4
- package/theme/editable-table/index.css +176 -1
- package/theme/full-screen/index.css +28 -0
- package/theme/index.css +378 -19
- package/theme/index.less +1 -0
- package/theme/mask/index.css +28 -0
- package/theme/mixins/config.less +1 -0
- package/theme/mixins/mixins.css +28 -0
- package/theme/mixins/mixins.less +35 -0
- package/theme/scroll-bar/index.css +28 -0
- package/theme/scroll-view/index.css +28 -0
- package/theme/splitter/index.css +28 -0
- package/theme/text/group.css +28 -0
- package/theme/text/index.css +36 -1
- package/theme/text/index.less +1 -1
- package/theme/work-order-modal/index.css +28 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { defineComponent as A, ref as g, watch as G, createElementBlock as u, openBlock as v, normalizeClass as E, unref as e, createElementVNode as s, createCommentVNode as y, toDisplayString as p, createVNode as a, withModifiers as O, withCtx as f } from "vue";
|
|
2
|
+
import "../../../config-provider/index.mjs";
|
|
3
|
+
import { useViewInject as P } from "../hooks/use-view-provide.mjs";
|
|
4
|
+
import { SYSTEM_VIEW_KEY as M } from "../utils/enum.mjs";
|
|
5
|
+
import { Space as b, Popconfirm as W } from "@aplus-frontend/antdv";
|
|
6
|
+
import q from "../icons/line-delete.vue.mjs";
|
|
7
|
+
import "../../../ap-tag/index.mjs";
|
|
8
|
+
import "../../../ap-form/ap-form.vue.mjs";
|
|
9
|
+
import { ApField as H } from "../../../ap-field/index.mjs";
|
|
10
|
+
import { useNamespace as J } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
11
|
+
import { useLocale as Q } from "../../../config-provider/hooks/use-locale.mjs";
|
|
12
|
+
import { useGlobalConfig as X } from "../../../config-provider/hooks/use-global-config.mjs";
|
|
13
|
+
import Z from "../../../ap-tag/ap-tag.vue.mjs";
|
|
14
|
+
import z from "../../../ap-form/ap-form.vue2.mjs";
|
|
15
|
+
const D = { class: "menu-list-content-name" }, R = ["title"], L = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "menu-list-content-default"
|
|
18
|
+
}, U = { class: "menu-list-content-action-delete" }, ee = { class: "menu-list-content-edit" }, we = /* @__PURE__ */ A({
|
|
19
|
+
__name: "menu-list-content",
|
|
20
|
+
props: {
|
|
21
|
+
view: {}
|
|
22
|
+
},
|
|
23
|
+
setup(C) {
|
|
24
|
+
const { b: d } = J("ap-view"), { t: l } = Q(), i = C, $ = {
|
|
25
|
+
aplus: "#2ed1a3",
|
|
26
|
+
admin: "#34b77c"
|
|
27
|
+
}, I = X("uiMode"), { currentViewKey: w, viewListCRUD: t, tableKey: _, menuOpen: T } = P(), c = g(!1), V = g(), B = () => {
|
|
28
|
+
w.value !== i.view.viewKey && (w.value = i.view.viewKey);
|
|
29
|
+
}, F = () => {
|
|
30
|
+
var n;
|
|
31
|
+
(n = t == null ? void 0 : t.changeView) == null || n.call(t, {
|
|
32
|
+
...i.view,
|
|
33
|
+
tableKey: _,
|
|
34
|
+
isDefault: !0
|
|
35
|
+
});
|
|
36
|
+
}, Y = () => {
|
|
37
|
+
var n;
|
|
38
|
+
(n = t == null ? void 0 : t.removeView) == null || n.call(t, {
|
|
39
|
+
tableKey: _,
|
|
40
|
+
viewKey: i.view.viewKey
|
|
41
|
+
});
|
|
42
|
+
}, j = async () => {
|
|
43
|
+
var o, m, r;
|
|
44
|
+
const n = await ((m = (o = V.value) == null ? void 0 : o.validate) == null ? void 0 : m.call(o));
|
|
45
|
+
(r = t == null ? void 0 : t.changeView) == null || r.call(t, {
|
|
46
|
+
...i.view,
|
|
47
|
+
tableKey: _,
|
|
48
|
+
viewName: (n == null ? void 0 : n.viewName) || i.view.viewName
|
|
49
|
+
}), c.value = !1;
|
|
50
|
+
};
|
|
51
|
+
return G(
|
|
52
|
+
() => T.value,
|
|
53
|
+
(n) => {
|
|
54
|
+
n && (c.value = !1);
|
|
55
|
+
}
|
|
56
|
+
), (n, o) => {
|
|
57
|
+
var m, r, x, N, h, K, S;
|
|
58
|
+
return c.value === !1 ? (v(), u("div", {
|
|
59
|
+
key: 0,
|
|
60
|
+
class: E({
|
|
61
|
+
[e(d)("menu-list-content")]: !0,
|
|
62
|
+
[e(d)("menu-list-content-active")]: ((m = i.view) == null ? void 0 : m.viewKey) === e(w)
|
|
63
|
+
}),
|
|
64
|
+
onClick: B
|
|
65
|
+
}, [
|
|
66
|
+
s("div", D, [
|
|
67
|
+
s("span", {
|
|
68
|
+
title: (r = i.view) == null ? void 0 : r.viewName
|
|
69
|
+
}, p((x = i.view) == null ? void 0 : x.viewName), 9, R)
|
|
70
|
+
]),
|
|
71
|
+
((N = i.view) == null ? void 0 : N.viewKey) !== e(M) && ((h = i.view) != null && h.isDefault) ? (v(), u("div", L, [
|
|
72
|
+
a(e(Z), {
|
|
73
|
+
text: e(l)("ap.apView.default"),
|
|
74
|
+
size: "small",
|
|
75
|
+
color: $[e(I) ?? "aplus"]
|
|
76
|
+
}, null, 8, ["text", "color"])
|
|
77
|
+
])) : y("", !0),
|
|
78
|
+
((K = i.view) == null ? void 0 : K.viewKey) !== e(M) ? (v(), u("div", {
|
|
79
|
+
key: 1,
|
|
80
|
+
class: "menu-list-content-action",
|
|
81
|
+
onClick: o[1] || (o[1] = O(() => {
|
|
82
|
+
}, ["stop"]))
|
|
83
|
+
}, [
|
|
84
|
+
a(e(b), { size: 8 }, {
|
|
85
|
+
default: f(() => {
|
|
86
|
+
var k;
|
|
87
|
+
return [
|
|
88
|
+
s("div", {
|
|
89
|
+
class: "menu-list-content-action-text",
|
|
90
|
+
onClick: o[0] || (o[0] = (te) => c.value = !0)
|
|
91
|
+
}, p(e(l)("ap.apView.rename")), 1),
|
|
92
|
+
(k = i.view) != null && k.isDefault ? y("", !0) : (v(), u("div", {
|
|
93
|
+
key: 0,
|
|
94
|
+
class: "menu-list-content-action-text",
|
|
95
|
+
onClick: F
|
|
96
|
+
}, p(e(l)("ap.apView.setDefault")), 1)),
|
|
97
|
+
s("div", U, [
|
|
98
|
+
a(e(W), {
|
|
99
|
+
title: e(l)("ap.apView.deleteTip"),
|
|
100
|
+
"ok-text": e(l)("ap.apView.ok"),
|
|
101
|
+
onConfirm: Y
|
|
102
|
+
}, {
|
|
103
|
+
default: f(() => [
|
|
104
|
+
a(q)
|
|
105
|
+
]),
|
|
106
|
+
_: 1
|
|
107
|
+
}, 8, ["title", "ok-text"])
|
|
108
|
+
])
|
|
109
|
+
];
|
|
110
|
+
}),
|
|
111
|
+
_: 1
|
|
112
|
+
})
|
|
113
|
+
])) : y("", !0)
|
|
114
|
+
], 2)) : (v(), u("div", {
|
|
115
|
+
key: 1,
|
|
116
|
+
class: E([e(d)("menu-list-content"), e(d)("menu-list-content-edit")])
|
|
117
|
+
}, [
|
|
118
|
+
a(z, {
|
|
119
|
+
ref_key: "formRef",
|
|
120
|
+
ref: V,
|
|
121
|
+
"initial-values": {
|
|
122
|
+
viewName: (S = i.view) == null ? void 0 : S.viewName
|
|
123
|
+
}
|
|
124
|
+
}, {
|
|
125
|
+
default: f(() => [
|
|
126
|
+
s("div", ee, [
|
|
127
|
+
a(e(b), { size: 8 }, {
|
|
128
|
+
default: f(() => [
|
|
129
|
+
a(z.FormItem, { name: "viewName" }, {
|
|
130
|
+
default: f(() => [
|
|
131
|
+
a(e(H).Text, { maxlength: 20 })
|
|
132
|
+
]),
|
|
133
|
+
_: 1
|
|
134
|
+
}),
|
|
135
|
+
s("div", {
|
|
136
|
+
class: "menu-list-content-action-text",
|
|
137
|
+
onClick: j
|
|
138
|
+
}, p(e(l)("ap.apView.save")), 1),
|
|
139
|
+
s("div", {
|
|
140
|
+
class: "menu-list-content-action-text",
|
|
141
|
+
onClick: o[2] || (o[2] = (k) => c.value = !1)
|
|
142
|
+
}, p(e(l)("ap.apView.cancel")), 1)
|
|
143
|
+
]),
|
|
144
|
+
_: 1
|
|
145
|
+
})
|
|
146
|
+
])
|
|
147
|
+
]),
|
|
148
|
+
_: 1
|
|
149
|
+
}, 8, ["initial-values"])
|
|
150
|
+
], 2));
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
export {
|
|
155
|
+
we as default
|
|
156
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { SaveDataSource, ViewCacheOption, ViewListModel } from '../interface';
|
|
3
|
+
type DataModel = {
|
|
4
|
+
tableKey: string;
|
|
5
|
+
currentViewKey: Ref<string>;
|
|
6
|
+
popoverOpen: Ref<boolean>;
|
|
7
|
+
menuOpen: Ref<boolean>;
|
|
8
|
+
viewList: Ref<ViewListModel[]>;
|
|
9
|
+
viewListCRUD: ViewCacheOption;
|
|
10
|
+
saveDataSource: SaveDataSource;
|
|
11
|
+
};
|
|
12
|
+
export declare const useViewProvide: (data: DataModel) => void;
|
|
13
|
+
export declare const useViewInject: () => DataModel;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createElementBlock as l, openBlock as n, createElementVNode as e } from "vue";
|
|
2
|
+
import o from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
3
|
+
const r = {}, L = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
6
|
+
fill: "none",
|
|
7
|
+
version: "1.1",
|
|
8
|
+
width: "14",
|
|
9
|
+
height: "14",
|
|
10
|
+
viewBox: "0 0 14 14"
|
|
11
|
+
};
|
|
12
|
+
function i(s, t) {
|
|
13
|
+
return n(), l("svg", L, t[0] || (t[0] = [
|
|
14
|
+
e("g", null, [
|
|
15
|
+
e("g", null, [
|
|
16
|
+
e("path", {
|
|
17
|
+
d: "M10.00388,3.0625L11.8125,3.0625C12.0541,3.0625,12.25,3.25838,12.25,3.5C12.25,3.74162,12.0541,3.9375,11.8125,3.9375L11.15625,3.9375L11.15625,10.9375Q11.15625,11.4812,10.77183,11.8656Q10.38741,12.25,9.84375,12.25L4.15625,12.25Q3.61259,12.25,3.22817,11.8656Q2.84375,11.4812,2.84375,10.9375L2.84375,3.9375L2.1875,3.9375C1.945875,3.9375,1.75,3.74162,1.75,3.5C1.75,3.25838,1.945875,3.0625,2.1875,3.0625L3.99611,3.0625C3.99858,3.05823,4.00112,3.0540000000000003,4.00373,3.04981L4.70137,1.930677Q5.08673,1.3125,5.81518,1.3125L8.18482,1.3125Q8.91327,1.3125,9.29863,1.930677L9.99611,3.04955C9.99877,3.05383,10.00136,3.05814,10.00388,3.0625ZM8.97309,3.0625L8.556090000000001,2.39356Q8.42764,2.1875,8.18482,2.1875L5.81518,2.1875Q5.57236,2.1875,5.44391,2.39356L5.02691,3.0625L8.97309,3.0625ZM3.71875,3.9375L10.28125,3.9375L10.28125,10.9375Q10.28125,11.11872,10.15311,11.24686Q10.02497,11.375,9.84375,11.375L4.15625,11.375Q3.97503,11.375,3.84689,11.24686Q3.71875,11.11872,3.71875,10.9375L3.71875,3.9375ZM6.5625,6.125C6.5625,5.88338,6.75838,5.6875,7,5.6875C7.24162,5.6875,7.4375,5.88338,7.4375,6.125L7.4375,9.1875C7.4375,9.42912,7.24162,9.625,7,9.625C6.75838,9.625,6.5625,9.42912,6.5625,9.1875L6.5625,6.125Z",
|
|
18
|
+
"fill-rule": "evenodd",
|
|
19
|
+
fill: "currentColor",
|
|
20
|
+
"fill-opacity": "1"
|
|
21
|
+
})
|
|
22
|
+
])
|
|
23
|
+
], -1)
|
|
24
|
+
]));
|
|
25
|
+
}
|
|
26
|
+
const f = /* @__PURE__ */ o(r, [["render", i]]);
|
|
27
|
+
export {
|
|
28
|
+
f as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as e } from "vue";
|
|
2
|
+
import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
3
|
+
const r = {}, i = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
6
|
+
fill: "none",
|
|
7
|
+
version: "1.1",
|
|
8
|
+
width: "14",
|
|
9
|
+
height: "14",
|
|
10
|
+
viewBox: "0 0 14 14"
|
|
11
|
+
};
|
|
12
|
+
function s(c, n) {
|
|
13
|
+
return t(), o("svg", i, n[0] || (n[0] = [
|
|
14
|
+
e("g", null, [
|
|
15
|
+
e("g", null, [
|
|
16
|
+
e("path", {
|
|
17
|
+
d: "M7.0875,8.532540000000001L3.083731,4.528769C2.985275,4.4303124,2.8517390000000002,4.375,2.7125,4.375C2.422551,4.375,2.1875,4.61005,2.1875,4.9C2.1875,5.039239,2.2428124,5.172774,2.341269,5.271231L6.71627,9.64623C6.92129,9.85126,7.25371,9.85126,7.45873,9.64623L11.83337,5.271589L11.83337,5.271589C11.93219,5.172775,11.9875,5.039239,11.9875,4.9C11.9875,4.61005,11.75245,4.375,11.4625,4.375C11.32326,4.375,11.18973,4.4303124,11.09127,4.528769L11.09127,4.528769L7.0875,8.532540000000001Z",
|
|
18
|
+
"fill-rule": "evenodd",
|
|
19
|
+
fill: "currentColor",
|
|
20
|
+
"fill-opacity": "1"
|
|
21
|
+
})
|
|
22
|
+
])
|
|
23
|
+
], -1)
|
|
24
|
+
]));
|
|
25
|
+
}
|
|
26
|
+
const d = /* @__PURE__ */ l(r, [["render", s]]);
|
|
27
|
+
export {
|
|
28
|
+
d as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createElementBlock as n, openBlock as o, createElementVNode as e } from "vue";
|
|
2
|
+
import Q from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
3
|
+
const l = {}, r = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
6
|
+
fill: "none",
|
|
7
|
+
version: "1.1",
|
|
8
|
+
width: "16",
|
|
9
|
+
height: "16",
|
|
10
|
+
viewBox: "0 0 16 16"
|
|
11
|
+
};
|
|
12
|
+
function i(s, t) {
|
|
13
|
+
return o(), n("svg", r, t[0] || (t[0] = [
|
|
14
|
+
e("g", null, [
|
|
15
|
+
e("g", null, [
|
|
16
|
+
e("path", {
|
|
17
|
+
d: "M1.0956827,7.70584C0.9681057,7.8812,0.9681057,8.1188,1.0956827,8.29416Q4.15559,12.5,8,12.5Q11.8444,12.5,14.9043,8.29416C15.0319,8.1188,15.0319,7.8812,14.9043,7.70584Q11.8444,3.5,8,3.5Q4.15559,3.5,1.0956827,7.70584ZM2.12354,8Q4.7966,11.5,8,11.5Q11.2034,11.5,13.8765,8Q11.2034,4.5,8,4.5Q4.7966,4.5,2.12354,8ZM6.42372,6.37412Q5.75,7.047969999999999,5.75,8.000720000000001Q5.75,8.95349,6.42386,9.62695Q7.09752,10.3002,8.05026,10.3002Q9.00301,10.30019,9.67657,9.626909999999999Q10.35026,8.95349,10.35026,8.000720000000001Q10.35026,7.047969999999999,9.67671,6.37415Q9.00303,5.700200000000001,8.05026,5.700200000000001Q7.0975,5.700200000000001,6.42372,6.37412ZM7.13075,8.91962Q6.75,8.539100000000001,6.75,8.000720000000001Q6.75,7.4621200000000005,7.1309,7.08115Q7.51177,6.700200000000001,8.05026,6.700200000000001Q8.5887,6.700200000000001,8.96946,7.08112Q9.35026,7.462070000000001,9.35026,8.000720000000001Q9.35026,8.539159999999999,8.96961,8.91966Q8.58892,9.3002,8.05026,9.3002Q7.51155,9.3002,7.13075,8.91962Z",
|
|
18
|
+
"fill-rule": "evenodd",
|
|
19
|
+
fill: "currentColor",
|
|
20
|
+
"fill-opacity": "1"
|
|
21
|
+
})
|
|
22
|
+
])
|
|
23
|
+
], -1)
|
|
24
|
+
]));
|
|
25
|
+
}
|
|
26
|
+
const w = /* @__PURE__ */ Q(l, [["render", i]]);
|
|
27
|
+
export {
|
|
28
|
+
w as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
|
+
import { ApViewProps } from './interface';
|
|
3
|
+
export * from './interface';
|
|
4
|
+
declare const ApView: {
|
|
5
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApViewProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
6
|
+
maxViewNum: number;
|
|
7
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
8
|
+
P: {};
|
|
9
|
+
B: {};
|
|
10
|
+
D: {};
|
|
11
|
+
C: {};
|
|
12
|
+
M: {};
|
|
13
|
+
Defaults: {};
|
|
14
|
+
}, Readonly< ApViewProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
15
|
+
maxViewNum: number;
|
|
16
|
+
}>;
|
|
17
|
+
__isFragment?: never;
|
|
18
|
+
__isTeleport?: never;
|
|
19
|
+
__isSuspense?: never;
|
|
20
|
+
} & ComponentOptionsBase<Readonly< ApViewProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
21
|
+
maxViewNum: number;
|
|
22
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
23
|
+
$props: {
|
|
24
|
+
onClick?: () => void;
|
|
25
|
+
};
|
|
26
|
+
}));
|
|
27
|
+
export { ApView };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Recordable } from '../../type';
|
|
2
|
+
export interface SaveDataSource {
|
|
3
|
+
getSearchFormValues?: (transform?: boolean) => (Partial<Recordable> & Recordable<any>) | undefined;
|
|
4
|
+
setSearchFormValues?: (values: Partial<Recordable>) => void;
|
|
5
|
+
submit?: () => void;
|
|
6
|
+
reset?: () => void;
|
|
7
|
+
}
|
|
8
|
+
export interface ViewCacheOption {
|
|
9
|
+
getViewList?: (option: {
|
|
10
|
+
tableKey: string;
|
|
11
|
+
}) => Promise<ViewListModel[]>;
|
|
12
|
+
addView?: (option: {
|
|
13
|
+
tableKey: string;
|
|
14
|
+
viewName: string;
|
|
15
|
+
viewKey: string;
|
|
16
|
+
viewConfig?: Recordable;
|
|
17
|
+
isDefault?: boolean;
|
|
18
|
+
}) => Promise<void>;
|
|
19
|
+
changeView?: (option: {
|
|
20
|
+
tableKey: string;
|
|
21
|
+
viewName: string;
|
|
22
|
+
viewKey: string;
|
|
23
|
+
viewConfig?: Recordable;
|
|
24
|
+
isDefault?: boolean;
|
|
25
|
+
}) => Promise<void>;
|
|
26
|
+
removeView?: (option: {
|
|
27
|
+
tableKey: string;
|
|
28
|
+
viewKey: string;
|
|
29
|
+
}) => Promise<void>;
|
|
30
|
+
}
|
|
31
|
+
export interface ViewListModel {
|
|
32
|
+
viewKey: string;
|
|
33
|
+
viewName: string;
|
|
34
|
+
viewConfig?: Recordable;
|
|
35
|
+
isDefault?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface ApViewProps {
|
|
38
|
+
/**
|
|
39
|
+
* 表格唯一标识
|
|
40
|
+
*/
|
|
41
|
+
tableKey: string;
|
|
42
|
+
/**
|
|
43
|
+
* 表格数据来源
|
|
44
|
+
*/
|
|
45
|
+
saveDataSource?: SaveDataSource;
|
|
46
|
+
/**
|
|
47
|
+
* 视图缓存配置
|
|
48
|
+
*/
|
|
49
|
+
viewCacheOption?: ViewCacheOption;
|
|
50
|
+
/**
|
|
51
|
+
* 视图最大保存数
|
|
52
|
+
*/
|
|
53
|
+
maxViewNum?: number;
|
|
54
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@aplus-frontend/ui/theme/ap-view/ap-view.css';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@aplus-frontend/ui/theme/ap-view/ap-view.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SYSTEM_VIEW_KEY = "SYS_VIEW_KEY";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
function n() {
|
|
2
|
+
const t = new Uint8Array(16);
|
|
3
|
+
if (typeof crypto < "u" && crypto.getRandomValues)
|
|
4
|
+
crypto.getRandomValues(t);
|
|
5
|
+
else
|
|
6
|
+
for (let e = 0; e < t.length; e++)
|
|
7
|
+
t[e] = Math.floor(Math.random() * 256);
|
|
8
|
+
t[6] = t[6] & 15 | 64, t[8] = t[8] & 63 | 128;
|
|
9
|
+
const r = Array.from(t).map((e) => e.toString(16).padStart(2, "0")).join("");
|
|
10
|
+
return [
|
|
11
|
+
r.substr(0, 8),
|
|
12
|
+
r.substr(8, 4),
|
|
13
|
+
"4" + r.substr(13, 3),
|
|
14
|
+
// 版本标识
|
|
15
|
+
(parseInt(r.substr(16, 2), 16) & 63 | 128).toString(16) + r.substr(18, 2),
|
|
16
|
+
// 变体标识
|
|
17
|
+
r.substr(20, 12)
|
|
18
|
+
].join("-");
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
n as generateUniqueKey
|
|
22
|
+
};
|
|
@@ -4,11 +4,11 @@ declare const _default: DefineComponent<ApFormItemBatchInputProps, {}, {}, {}, {
|
|
|
4
4
|
trim: boolean;
|
|
5
5
|
disabled: boolean;
|
|
6
6
|
bordered: boolean;
|
|
7
|
-
field: Omit< BatchInputGroupProps, "value" | "onUpdate:value">;
|
|
8
|
-
colon: boolean;
|
|
9
|
-
required: boolean;
|
|
10
7
|
hasFeedback: boolean;
|
|
8
|
+
colon: boolean;
|
|
11
9
|
autoLink: boolean;
|
|
10
|
+
required: boolean;
|
|
12
11
|
validateFirst: boolean;
|
|
12
|
+
field: Omit< BatchInputGroupProps, "value" | "onUpdate:value">;
|
|
13
13
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
export default _default;
|
|
@@ -46,17 +46,16 @@ declare const _default: DefineComponent<BatchInputGroupProps, {}, {}, {}, {}, Co
|
|
|
46
46
|
readonly bordered?: boolean | undefined;
|
|
47
47
|
readonly prefixCls?: string | undefined;
|
|
48
48
|
readonly name?: string | undefined;
|
|
49
|
-
readonly autocomplete?: string | undefined;
|
|
50
|
-
readonly status?: "" | "error" | "warning" | undefined;
|
|
51
|
-
readonly id?: string | undefined;
|
|
52
|
-
readonly placeholder?: string | number | undefined;
|
|
53
|
-
readonly prefix?: any;
|
|
54
49
|
readonly loading?: boolean | undefined;
|
|
55
50
|
readonly autofocus?: boolean | undefined;
|
|
56
51
|
readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
57
52
|
readonly suffix?: any;
|
|
58
53
|
readonly focused?: boolean | undefined;
|
|
54
|
+
readonly placeholder?: string | number | undefined;
|
|
55
|
+
readonly handleReset?: MouseEventHandler | undefined;
|
|
59
56
|
readonly defaultValue?: string | number | undefined;
|
|
57
|
+
readonly id?: string | undefined;
|
|
58
|
+
readonly autocomplete?: string | undefined;
|
|
60
59
|
readonly maxlength?: number | undefined;
|
|
61
60
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
62
61
|
readonly htmlSize?: number | undefined;
|
|
@@ -64,12 +63,13 @@ declare const _default: DefineComponent<BatchInputGroupProps, {}, {}, {}, {}, Co
|
|
|
64
63
|
readonly onMouseUp?: MouseEventHandler | undefined;
|
|
65
64
|
readonly onRawInput?: ChangeEventHandler | undefined;
|
|
66
65
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
66
|
+
readonly status?: "" | "error" | "warning" | undefined;
|
|
67
67
|
readonly inputElement?: any;
|
|
68
68
|
readonly triggerFocus?: (() => void) | undefined;
|
|
69
69
|
readonly readonly?: boolean | undefined;
|
|
70
|
-
readonly handleReset?: MouseEventHandler | undefined;
|
|
71
70
|
readonly addonBefore?: any;
|
|
72
71
|
readonly addonAfter?: any;
|
|
72
|
+
readonly prefix?: any;
|
|
73
73
|
readonly clearIcon?: any;
|
|
74
74
|
readonly allowClear?: boolean | undefined;
|
|
75
75
|
readonly emptyText?: string | undefined;
|
|
@@ -2,7 +2,7 @@ import { default as A } from "./ap-table-modal/index.mjs";
|
|
|
2
2
|
import { ApAttachment as x } from "./ap-attachment/index.mjs";
|
|
3
3
|
import { ApBatchAction as a } from "./ap-batch-action/index.mjs";
|
|
4
4
|
import { ApBatchActionGroup as n } from "./ap-batch-action-group/index.mjs";
|
|
5
|
-
import { ApButtonGroup as
|
|
5
|
+
import { ApButtonGroup as l } from "./ap-button-group/index.mjs";
|
|
6
6
|
import { ApCard as d } from "./ap-card/index.mjs";
|
|
7
7
|
import { ApExpandAlert as G } from "./ap-expand-alert/index.mjs";
|
|
8
8
|
import { ApExportGroup as h } from "./ap-export-group/index.mjs";
|
|
@@ -10,42 +10,44 @@ import { ApImage as L } from "./ap-image/index.mjs";
|
|
|
10
10
|
import { ApInputRadio as B } from "./ap-input-radio/index.mjs";
|
|
11
11
|
import { ApLabel as T, ApLabelGroup as y } from "./ap-label/index.mjs";
|
|
12
12
|
import { ApLadder as g } from "./ap-ladder/index.mjs";
|
|
13
|
-
import { ApSelectLayout as
|
|
14
|
-
import { ApStatus as
|
|
15
|
-
import { ApTitle as
|
|
13
|
+
import { ApSelectLayout as w } from "./ap-select-layout/index.mjs";
|
|
14
|
+
import { ApStatus as C, ApStatusGroup as D } from "./ap-status/index.mjs";
|
|
15
|
+
import { ApTitle as M } from "./ap-title/index.mjs";
|
|
16
16
|
import "./hooks/index.mjs";
|
|
17
|
-
import { ApSummary as
|
|
18
|
-
import { ApAppendix as
|
|
19
|
-
import { ApExtensionSelect as
|
|
17
|
+
import { ApSummary as V } from "./ap-summary/index.mjs";
|
|
18
|
+
import { ApAppendix as k } from "./ap-appendix/index.mjs";
|
|
19
|
+
import { ApExtensionSelect as F, ApGroupSearch as J, ApPopoverSelect as K } from "./ap-group-search/index.mjs";
|
|
20
20
|
import "./ap-upload-file/index.mjs";
|
|
21
21
|
import "./batch-input-group/index.mjs";
|
|
22
|
-
import { ApSizeInput as
|
|
23
|
-
import { ApProductInfo as
|
|
24
|
-
import {
|
|
22
|
+
import { ApSizeInput as O } from "./ap-size-input/index.mjs";
|
|
23
|
+
import { ApProductInfo as U } from "./ap-product-info/index.mjs";
|
|
24
|
+
import { ApView as X } from "./ap-view/index.mjs";
|
|
25
|
+
import { ApTransformDataHelper as Z } from "../utils/ap-trans-data/index.mjs";
|
|
25
26
|
export {
|
|
26
|
-
|
|
27
|
+
k as ApAppendix,
|
|
27
28
|
x as ApAttachment,
|
|
28
29
|
a as ApBatchAction,
|
|
29
30
|
n as ApBatchActionGroup,
|
|
30
|
-
|
|
31
|
+
l as ApButtonGroup,
|
|
31
32
|
d as ApCard,
|
|
32
33
|
G as ApExpandAlert,
|
|
33
34
|
h as ApExportGroup,
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
F as ApExtensionSelect,
|
|
36
|
+
J as ApGroupSearch,
|
|
36
37
|
L as ApImage,
|
|
37
38
|
B as ApInputRadio,
|
|
38
39
|
T as ApLabel,
|
|
39
40
|
y as ApLabelGroup,
|
|
40
41
|
g as ApLadder,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
K as ApPopoverSelect,
|
|
43
|
+
U as ApProductInfo,
|
|
44
|
+
w as ApSelectLayout,
|
|
45
|
+
O as ApSizeInput,
|
|
46
|
+
C as ApStatus,
|
|
47
|
+
D as ApStatusGroup,
|
|
48
|
+
V as ApSummary,
|
|
48
49
|
A as ApTableModal,
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
M as ApTitle,
|
|
51
|
+
Z as ApTransformDataHelper,
|
|
52
|
+
X as ApView
|
|
51
53
|
};
|
|
@@ -2,6 +2,7 @@ import { ExtractPropTypes, PropType } from 'vue';
|
|
|
2
2
|
import { LocaleType } from '../locale/interface';
|
|
3
3
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from './constants';
|
|
4
4
|
import { CssVarType } from './css-var';
|
|
5
|
+
import { ViewCacheOption } from '../business';
|
|
5
6
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
6
7
|
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
7
8
|
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
@@ -166,5 +167,9 @@ export declare const configProviderProps: () => {
|
|
|
166
167
|
scrollYDomName: {
|
|
167
168
|
type: StringConstructor;
|
|
168
169
|
};
|
|
170
|
+
viewCacheOption: {
|
|
171
|
+
type: PropType<ViewCacheOption>;
|
|
172
|
+
default: () => {};
|
|
173
|
+
};
|
|
169
174
|
};
|
|
170
175
|
export type ConfigProviderProps = Partial<ExtractPropTypes<ReturnType<typeof configProviderProps>>>;
|