@aplus-frontend/ui 0.5.37 → 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/index.vue.mjs +97 -93
- package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +21 -16
- 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/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/index.vue.js +1 -1
- package/lib/src/ap-info-layout/ApInfoLayout.vue.js +1 -1
- 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/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 +28 -0
- 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 +340 -15
- 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 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./menu-list-content.vue2.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../config-provider/index.js");const B=require("../hooks/use-view-provide.js"),k=require("../utils/enum.js"),f=require("@aplus-frontend/antdv"),M=require("../icons/line-delete.vue.js");require("../../../ap-tag/index.js");require("../../../ap-form/ap-form.vue.js");const b=require("../../../ap-field/index.js"),T=require("../../../config-provider/hooks/use-namespace.js"),z=require("../../../config-provider/hooks/use-locale.js"),I=require("../../../config-provider/hooks/use-global-config.js"),Y=require("../../../ap-tag/ap-tag.vue.js"),y=require("../../../ap-form/ap-form.vue2.js"),F={class:"menu-list-content-name"},P=["title"],j={key:0,class:"menu-list-content-default"},G={class:"menu-list-content-action-delete"},O={class:"menu-list-content-edit"},W=e.defineComponent({__name:"menu-list-content",props:{view:{}},setup(E){const{b:c}=T.useNamespace("ap-view"),{t:i}=z.useLocale(),n=E,x={aplus:"#2ed1a3",admin:"#34b77c"},g=I.useGlobalConfig("uiMode"),{currentViewKey:s,viewListCRUD:t,tableKey:d,menuOpen:S}=B.useViewInject(),l=e.ref(!1),v=e.ref(),h=()=>{s.value!==n.view.viewKey&&(s.value=n.view.viewKey)},q=()=>{var a;(a=t==null?void 0:t.changeView)==null||a.call(t,{...n.view,tableKey:d,isDefault:!0})},C=()=>{var a;(a=t==null?void 0:t.removeView)==null||a.call(t,{tableKey:d,viewKey:n.view.viewKey})},K=async()=>{var o,r,u;const a=await((r=(o=v.value)==null?void 0:o.validate)==null?void 0:r.call(o));(u=t==null?void 0:t.changeView)==null||u.call(t,{...n.view,tableKey:d,viewName:(a==null?void 0:a.viewName)||n.view.viewName}),l.value=!1};return e.watch(()=>S.value,a=>{a&&(l.value=!1)}),(a,o)=>{var r,u,p,w,_,V,N;return l.value===!1?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({[e.unref(c)("menu-list-content")]:!0,[e.unref(c)("menu-list-content-active")]:((r=n.view)==null?void 0:r.viewKey)===e.unref(s)}),onClick:h},[e.createElementVNode("div",F,[e.createElementVNode("span",{title:(u=n.view)==null?void 0:u.viewName},e.toDisplayString((p=n.view)==null?void 0:p.viewName),9,P)]),((w=n.view)==null?void 0:w.viewKey)!==e.unref(k.SYSTEM_VIEW_KEY)&&((_=n.view)!=null&&_.isDefault)?(e.openBlock(),e.createElementBlock("div",j,[e.createVNode(e.unref(Y.default),{text:e.unref(i)("ap.apView.default"),size:"small",color:x[e.unref(g)??"aplus"]},null,8,["text","color"])])):e.createCommentVNode("",!0),((V=n.view)==null?void 0:V.viewKey)!==e.unref(k.SYSTEM_VIEW_KEY)?(e.openBlock(),e.createElementBlock("div",{key:1,class:"menu-list-content-action",onClick:o[1]||(o[1]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(e.unref(f.Space),{size:8},{default:e.withCtx(()=>{var m;return[e.createElementVNode("div",{class:"menu-list-content-action-text",onClick:o[0]||(o[0]=$=>l.value=!0)},e.toDisplayString(e.unref(i)("ap.apView.rename")),1),(m=n.view)!=null&&m.isDefault?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"menu-list-content-action-text",onClick:q},e.toDisplayString(e.unref(i)("ap.apView.setDefault")),1)),e.createElementVNode("div",G,[e.createVNode(e.unref(f.Popconfirm),{title:e.unref(i)("ap.apView.deleteTip"),"ok-text":e.unref(i)("ap.apView.ok"),onConfirm:C},{default:e.withCtx(()=>[e.createVNode(M.default)]),_:1},8,["title","ok-text"])])]}),_:1})])):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([e.unref(c)("menu-list-content"),e.unref(c)("menu-list-content-edit")])},[e.createVNode(y.default,{ref_key:"formRef",ref:v,"initial-values":{viewName:(N=n.view)==null?void 0:N.viewName}},{default:e.withCtx(()=>[e.createElementVNode("div",O,[e.createVNode(e.unref(f.Space),{size:8},{default:e.withCtx(()=>[e.createVNode(y.default.FormItem,{name:"viewName"},{default:e.withCtx(()=>[e.createVNode(e.unref(b.ApField).Text,{maxlength:20})]),_:1}),e.createElementVNode("div",{class:"menu-list-content-action-text",onClick:K},e.toDisplayString(e.unref(i)("ap.apView.save")),1),e.createElementVNode("div",{class:"menu-list-content-action-text",onClick:o[2]||(o[2]=m=>l.value=!1)},e.toDisplayString(e.unref(i)("ap.apView.cancel")),1)]),_:1})])]),_:1},8,["initial-values"])],2))}}});exports.default=W;
|
|
@@ -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 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),o=Symbol("provideKey"),i=e=>{t.provide(o,e)},r=()=>t.inject(o);exports.useViewInject=r;exports.useViewProvide=i;
|
|
@@ -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 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("../../../../_virtual/_plugin-vue_export-helper.js"),n={},o={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"none",version:"1.1",width:"14",height:"14",viewBox:"0 0 14 14"};function r(L,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",null,[e.createElementVNode("g",null,[e.createElementVNode("path",{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","fill-rule":"evenodd",fill:"currentColor","fill-opacity":"1"})])],-1)]))}const i=l.default(n,[["render",r]]);exports.default=i;
|
|
@@ -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 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("../../../../_virtual/_plugin-vue_export-helper.js"),n={},o={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"none",version:"1.1",width:"14",height:"14",viewBox:"0 0 14 14"};function r(u,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",null,[e.createElementVNode("g",null,[e.createElementVNode("path",{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","fill-rule":"evenodd",fill:"currentColor","fill-opacity":"1"})])],-1)]))}const i=l.default(n,[["render",r]]);exports.default=i;
|
|
@@ -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 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("../../../../_virtual/_plugin-vue_export-helper.js"),n={},o={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"none",version:"1.1",width:"16",height:"16",viewBox:"0 0 16 16"};function r(i,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",null,[e.createElementVNode("g",null,[e.createElementVNode("path",{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","fill-rule":"evenodd",fill:"currentColor","fill-opacity":"1"})])],-1)]))}const Q=l.default(n,[["render",r]]);exports.default=Q;
|
|
@@ -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 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/utils");require("./ap-view.vue.js");require("./interface.js");const t=require("./ap-view.vue2.js"),r=e.withInstall(t.default);exports.ApView=r;
|
|
@@ -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
|
+
"use strict";
|
|
@@ -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';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SYSTEM_VIEW_KEY = "SYS_VIEW_KEY";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E="SYS_VIEW_KEY";exports.SYSTEM_VIEW_KEY=E;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function n(){const t=new Uint8Array(16);if(typeof crypto<"u"&&crypto.getRandomValues)crypto.getRandomValues(t);else for(let r=0;r<t.length;r++)t[r]=Math.floor(Math.random()*256);t[6]=t[6]&15|64,t[8]=t[8]&63|128;const e=Array.from(t).map(r=>r.toString(16).padStart(2,"0")).join("");return[e.substr(0,8),e.substr(8,4),"4"+e.substr(13,3),(parseInt(e.substr(16,2),16)&63|128).toString(16)+e.substr(18,2),e.substr(20,12)].join("-")}exports.generateUniqueKey=n;
|
|
@@ -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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./ap-table-modal/index.js"),n=require("./ap-attachment/index.js"),i=require("./ap-batch-action/index.js"),o=require("./ap-batch-action-group/index.js"),A=require("./ap-button-group/index.js"),u=require("./ap-card/index.js"),c=require("./ap-expand-alert/index.js"),a=require("./ap-export-group/index.js"),d=require("./ap-image/index.js"),s=require("./ap-input-radio/index.js"),r=require("./ap-label/index.js"),x=require("./ap-ladder/index.js"),q=require("./ap-select-layout/index.js"),p=require("./ap-status/index.js"),l=require("./ap-title/index.js");require("./hooks/index.js");const $=require("./ap-summary/index.js"),S=require("./ap-appendix/index.js"),e=require("./ap-group-search/index.js");require("./ap-upload-file/index.js");require("./batch-input-group/index.js");const G=require("./ap-size-input/index.js"),m=require("./ap-product-info/index.js"),h=require("../utils/ap-trans-data/index.js");exports.ApTableModal=t.default;exports.ApAttachment=n.ApAttachment;exports.ApBatchAction=i.ApBatchAction;exports.ApBatchActionGroup=o.ApBatchActionGroup;exports.ApButtonGroup=A.ApButtonGroup;exports.ApCard=u.ApCard;exports.ApExpandAlert=c.ApExpandAlert;exports.ApExportGroup=a.ApExportGroup;exports.ApImage=d.ApImage;exports.ApInputRadio=s.ApInputRadio;exports.ApLabel=r.ApLabel;exports.ApLabelGroup=r.ApLabelGroup;exports.ApLadder=x.ApLadder;exports.ApSelectLayout=q.ApSelectLayout;exports.ApStatus=p.ApStatus;exports.ApStatusGroup=p.ApStatusGroup;exports.ApTitle=l.ApTitle;exports.ApSummary=$.ApSummary;exports.ApAppendix=S.ApAppendix;exports.ApExtensionSelect=e.ApExtensionSelect;exports.ApGroupSearch=e.ApGroupSearch;exports.ApPopoverSelect=e.ApPopoverSelect;exports.ApSizeInput=G.ApSizeInput;exports.ApProductInfo=m.ApProductInfo;exports.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./ap-table-modal/index.js"),n=require("./ap-attachment/index.js"),i=require("./ap-batch-action/index.js"),o=require("./ap-batch-action-group/index.js"),A=require("./ap-button-group/index.js"),u=require("./ap-card/index.js"),c=require("./ap-expand-alert/index.js"),a=require("./ap-export-group/index.js"),d=require("./ap-image/index.js"),s=require("./ap-input-radio/index.js"),r=require("./ap-label/index.js"),x=require("./ap-ladder/index.js"),q=require("./ap-select-layout/index.js"),p=require("./ap-status/index.js"),l=require("./ap-title/index.js");require("./hooks/index.js");const $=require("./ap-summary/index.js"),S=require("./ap-appendix/index.js"),e=require("./ap-group-search/index.js");require("./ap-upload-file/index.js");require("./batch-input-group/index.js");const G=require("./ap-size-input/index.js"),m=require("./ap-product-info/index.js"),h=require("./ap-view/index.js"),b=require("../utils/ap-trans-data/index.js");exports.ApTableModal=t.default;exports.ApAttachment=n.ApAttachment;exports.ApBatchAction=i.ApBatchAction;exports.ApBatchActionGroup=o.ApBatchActionGroup;exports.ApButtonGroup=A.ApButtonGroup;exports.ApCard=u.ApCard;exports.ApExpandAlert=c.ApExpandAlert;exports.ApExportGroup=a.ApExportGroup;exports.ApImage=d.ApImage;exports.ApInputRadio=s.ApInputRadio;exports.ApLabel=r.ApLabel;exports.ApLabelGroup=r.ApLabelGroup;exports.ApLadder=x.ApLadder;exports.ApSelectLayout=q.ApSelectLayout;exports.ApStatus=p.ApStatus;exports.ApStatusGroup=p.ApStatusGroup;exports.ApTitle=l.ApTitle;exports.ApSummary=$.ApSummary;exports.ApAppendix=S.ApAppendix;exports.ApExtensionSelect=e.ApExtensionSelect;exports.ApGroupSearch=e.ApGroupSearch;exports.ApPopoverSelect=e.ApPopoverSelect;exports.ApSizeInput=G.ApSizeInput;exports.ApProductInfo=m.ApProductInfo;exports.ApView=h.ApView;exports.ApTransformDataHelper=b.ApTransformDataHelper;
|
|
@@ -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>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/antdv/es/config-provider/context"),t=()=>({aplusLocale:{type:Object},namespace:{type:String},api:{type:Object,default:()=>({})},uiMode:{type:String},apUpload:{type:Object,default:()=>({})},apDescriptions:{type:Object,default:()=>({})},valueTypeMap:{type:Object,default:()=>({})},downloadCenterTriggerConfig:{type:Object,default:()=>({})},cssVar:{type:Object,default:()=>({})},exportField:{type:[Object,Boolean],default:!1},scrollYDomName:{type:String},...e.configProviderProps()});exports.configProviderProps=t;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/antdv/es/config-provider/context"),t=()=>({aplusLocale:{type:Object},namespace:{type:String},api:{type:Object,default:()=>({})},uiMode:{type:String},apUpload:{type:Object,default:()=>({})},apDescriptions:{type:Object,default:()=>({})},valueTypeMap:{type:Object,default:()=>({})},downloadCenterTriggerConfig:{type:Object,default:()=>({})},cssVar:{type:Object,default:()=>({})},exportField:{type:[Object,Boolean],default:!1},scrollYDomName:{type:String},viewCacheOption:{type:Object,default:()=>({})},...e.configProviderProps()});exports.configProviderProps=t;
|
|
@@ -11,6 +11,7 @@ import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
|
11
11
|
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
12
12
|
import { LocaleType } from '../locale';
|
|
13
13
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from './constants';
|
|
14
|
+
import { ViewCacheOption } from '..';
|
|
14
15
|
import { RecursivePartial } from '../type';
|
|
15
16
|
export declare const globalConfigCached: Ref<ConfigProviderProps>;
|
|
16
17
|
export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
@@ -166,6 +167,10 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
166
167
|
scrollYDomName: {
|
|
167
168
|
type: StringConstructor;
|
|
168
169
|
};
|
|
170
|
+
viewCacheOption: {
|
|
171
|
+
type: PropType<ViewCacheOption>;
|
|
172
|
+
default: () => {};
|
|
173
|
+
};
|
|
169
174
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
170
175
|
iconPrefixCls: StringConstructor;
|
|
171
176
|
getTargetContainer: {
|
|
@@ -319,6 +324,10 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
319
324
|
scrollYDomName: {
|
|
320
325
|
type: StringConstructor;
|
|
321
326
|
};
|
|
327
|
+
viewCacheOption: {
|
|
328
|
+
type: PropType<ViewCacheOption>;
|
|
329
|
+
default: () => {};
|
|
330
|
+
};
|
|
322
331
|
}>> & Readonly<{}>, {
|
|
323
332
|
input: {
|
|
324
333
|
autocomplete?: string;
|
|
@@ -338,6 +347,7 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
338
347
|
pagination: {
|
|
339
348
|
showSizeChanger?: boolean;
|
|
340
349
|
};
|
|
350
|
+
apUpload: ApUploadConfig;
|
|
341
351
|
csp: CSPConfig;
|
|
342
352
|
autoInsertSpaceInButton: boolean;
|
|
343
353
|
locale: Locale;
|
|
@@ -352,7 +362,6 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
352
362
|
disabled?: boolean;
|
|
353
363
|
};
|
|
354
364
|
api: ApiType;
|
|
355
|
-
apUpload: ApUploadConfig;
|
|
356
365
|
apDescriptions: ApDescriptionsConfig;
|
|
357
366
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
358
367
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
|
@@ -469,7 +478,22 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
469
478
|
};
|
|
470
479
|
};
|
|
471
480
|
};
|
|
481
|
+
'ap-view': {
|
|
482
|
+
icon: {
|
|
483
|
+
color: string;
|
|
484
|
+
};
|
|
485
|
+
bg: {
|
|
486
|
+
color: string;
|
|
487
|
+
};
|
|
488
|
+
message: {
|
|
489
|
+
color: string;
|
|
490
|
+
};
|
|
491
|
+
border: {
|
|
492
|
+
color: string;
|
|
493
|
+
};
|
|
494
|
+
};
|
|
472
495
|
}>;
|
|
473
496
|
exportField: ExportField;
|
|
497
|
+
viewCacheOption: ViewCacheOption;
|
|
474
498
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
475
499
|
export type ConfigProviderInstance = InstanceType<typeof ConfigProvider>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),P=require("@aplus-frontend/antdv"),a=require("./hooks/use-global-config.js"),b=require("./config-provider-props.js"),l=require("../utils/config-provider-preset.js"),o=require("./css-var.js"),d=require("./constants.js");function V(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!r.isVNode(e)}const t=r.ref({}),M=r.defineComponent({name:"AplusConfigProvider",props:b.configProviderProps(),setup(e,{slots:f}){const u=a.useGlobalConfig("namespace"),c=a.useGlobalConfig("uiMode"),g=r.computed(()=>e.namespace?e.namespace:r.unref(u)?r.unref(u):d.DEFAULT_NAMESPACE),s=r.computed(()=>e.uiMode?e.uiMode:r.unref(c)?r.unref(c):d.DEFAULT_UIMODE),C=r.computed(()=>({namespace:r.unref(g),aplusLocale:e.aplusLocale,api:e.api,uiMode:r.unref(s),apUpload:e.apUpload,apDescriptions:e.apDescriptions,valueTypeMap:e.valueTypeMap,downloadCenterTriggerConfig:e.downloadCenterTriggerConfig,exportField:e.exportField,scrollYDomName:e.scrollYDomName})),i=a.provideGlobalConfig(C);return r.watch(()=>e,n=>{t.value=l.mergeAntdProviderConfigWithCache(l.mergeAntdProvideConfig(n),t.value)},{deep:!0,immediate:!0}),typeof window<"u"&&r.watch(()=>[r.unref(s),e.cssVar],([n,m])=>{const v=o.generateCssVar(m),p={...n==="aplus"?o.aplusCssVar:o.adminCssVar,...v};o.setCSSVariables(p)},{immediate:!0}),()=>{let n;return r.createVNode(P.ConfigProvider,t.value,V(n=r.renderSlot(f,"default",{config:i==null?void 0:i.value}))?n:{default:()=>[n]})}}});exports.ConfigProvider=M;exports.globalConfigCached=t;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),P=require("@aplus-frontend/antdv"),a=require("./hooks/use-global-config.js"),b=require("./config-provider-props.js"),l=require("../utils/config-provider-preset.js"),o=require("./css-var.js"),d=require("./constants.js");function V(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!r.isVNode(e)}const t=r.ref({}),M=r.defineComponent({name:"AplusConfigProvider",props:b.configProviderProps(),setup(e,{slots:f}){const u=a.useGlobalConfig("namespace"),c=a.useGlobalConfig("uiMode"),g=r.computed(()=>e.namespace?e.namespace:r.unref(u)?r.unref(u):d.DEFAULT_NAMESPACE),s=r.computed(()=>e.uiMode?e.uiMode:r.unref(c)?r.unref(c):d.DEFAULT_UIMODE),C=r.computed(()=>({namespace:r.unref(g),aplusLocale:e.aplusLocale,api:e.api,uiMode:r.unref(s),apUpload:e.apUpload,apDescriptions:e.apDescriptions,valueTypeMap:e.valueTypeMap,downloadCenterTriggerConfig:e.downloadCenterTriggerConfig,exportField:e.exportField,scrollYDomName:e.scrollYDomName,viewCacheOption:e.viewCacheOption})),i=a.provideGlobalConfig(C);return r.watch(()=>e,n=>{t.value=l.mergeAntdProviderConfigWithCache(l.mergeAntdProvideConfig(n),t.value)},{deep:!0,immediate:!0}),typeof window<"u"&&r.watch(()=>[r.unref(s),e.cssVar],([n,m])=>{const v=o.generateCssVar(m),p={...n==="aplus"?o.aplusCssVar:o.adminCssVar,...v};o.setCSSVariables(p)},{immediate:!0}),()=>{let n;return r.createVNode(P.ConfigProvider,t.value,V(n=r.renderSlot(f,"default",{config:i==null?void 0:i.value}))?n:{default:()=>[n]})}}});exports.ConfigProvider=M;exports.globalConfigCached=t;
|
|
@@ -112,6 +112,20 @@ declare const aplusCssVarObj: {
|
|
|
112
112
|
};
|
|
113
113
|
};
|
|
114
114
|
};
|
|
115
|
+
'ap-view': {
|
|
116
|
+
icon: {
|
|
117
|
+
color: string;
|
|
118
|
+
};
|
|
119
|
+
bg: {
|
|
120
|
+
color: string;
|
|
121
|
+
};
|
|
122
|
+
message: {
|
|
123
|
+
color: string;
|
|
124
|
+
};
|
|
125
|
+
border: {
|
|
126
|
+
color: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
115
129
|
};
|
|
116
130
|
export type CssVarType = RecursivePartial<typeof aplusCssVarObj>;
|
|
117
131
|
export declare function generateCssVar(cssVarRawObj: CssVarType): Record<string, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b={"ap-form":{bordered:{"border-color":{base:"#DEE4ED",hover:"#66A9FF",active:"#66A9FF"},"shadow-color":"rgba(5, 155, 255, 0.1)"}},"ap-action":{color:{primary:{base:"#0070FF",hover:"#66A9FF"},success:"#2ED1A3",error:"#FF4D4F",warn:"#FFA940"}},"check-card":{outline:{color:"#E9EDF3"},hover:{outline:{color:"#0070FF"}},checked:{outline:{color:"#0070FF"},bg:"#0070FF"}},"ap-table":{header:{bg:"#F2F6F9"},pagination:{total:{color:"#526A90",count:{color:"#182948"}}},setting:{button:{color:"#8896B0"}}},"ap-batch-action":{color:{font:"#8896B0",active:"#0070FF",border:"#E9EDF3"}},basic:{color:{primary:"#0070ff"}},"ap-descriptions":{item:{"padding-bottom":"24px","label-width":"auto"},"last-row-item":{"padding-bottom":"0px"}},"ap-appendix":{area:{color:{border:"#DEE4ED",font:"#182948","font-hover":"#0070FF","font-disabled":"#ABB7CC",icon:"#ABB7CC"}}},"ap-upload-single":{color:{main:"#182948",sub:"#ABB7CC",border:"#DEE4ED",primary:"#0070FF"}},"batch-input-group":{trigger:{color:"#526a90","color-disabled":"rgba(24, 41, 72, 0.25)"}},"ap-text":{label:{color:"#8896b0"},content:{color:{major:"#182948",minor:"#8896B0"}}}},
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b={"ap-form":{bordered:{"border-color":{base:"#DEE4ED",hover:"#66A9FF",active:"#66A9FF"},"shadow-color":"rgba(5, 155, 255, 0.1)"}},"ap-action":{color:{primary:{base:"#0070FF",hover:"#66A9FF"},success:"#2ED1A3",error:"#FF4D4F",warn:"#FFA940"}},"check-card":{outline:{color:"#E9EDF3"},hover:{outline:{color:"#0070FF"}},checked:{outline:{color:"#0070FF"},bg:"#0070FF"}},"ap-table":{header:{bg:"#F2F6F9"},pagination:{total:{color:"#526A90",count:{color:"#182948"}}},setting:{button:{color:"#8896B0"}}},"ap-batch-action":{color:{font:"#8896B0",active:"#0070FF",border:"#E9EDF3"}},basic:{color:{primary:"#0070ff"}},"ap-descriptions":{item:{"padding-bottom":"24px","label-width":"auto"},"last-row-item":{"padding-bottom":"0px"}},"ap-appendix":{area:{color:{border:"#DEE4ED",font:"#182948","font-hover":"#0070FF","font-disabled":"#ABB7CC",icon:"#ABB7CC"}}},"ap-upload-single":{color:{main:"#182948",sub:"#ABB7CC",border:"#DEE4ED",primary:"#0070FF"}},"batch-input-group":{trigger:{color:"#526a90","color-disabled":"rgba(24, 41, 72, 0.25)"}},"ap-text":{label:{color:"#8896b0"},content:{color:{major:"#182948",minor:"#8896B0"}}},"ap-view":{icon:{color:"#8896B0"},bg:{color:"#F6F9FA"},message:{color:"#abb7cc"},border:{color:"#DEE4ED"}}},d={"ap-form":{bordered:{"border-color":{base:"#D9D9D9",hover:"#85D4B0",active:"#85D4B0"},"shadow-color":"rgba(11, 166, 66, 0.09)"}},"ap-action":{color:{primary:{base:"#1890FF",hover:"#5EB1FF"},success:"#52C41A",error:"#FF4D4F",warn:"#FAAD14"}},"check-card":{outline:{color:"#D9D9D9"},hover:{outline:{color:"#34B77C"}},checked:{outline:{color:"#34B77C"},bg:"#34B77C"}},"ap-table":{header:{bg:"#FAFAFA"},pagination:{total:{color:"#666666",count:{color:"#333333"}}},setting:{button:{color:"#999999"}}},"ap-batch-action":{color:{font:"#999999",active:"#34B77C",border:"#E9E9E9"}},basic:{color:{primary:"#34b77c"}},"ap-descriptions":{item:{"padding-bottom":"24px","label-width":"auto"},"last-row-item":{"padding-bottom":"0px"}},"ap-appendix":{area:{color:{border:"#D9D9D9",font:"#333333","font-hover":"#1890FF","font-disabled":"#BFBFBF",icon:"#BFBFBF"}}},"ap-upload-single":{color:{main:"#333333",sub:"#BFBFBF",border:"#D9D9D9",primary:"#34b77c"}},"batch-input-group":{trigger:{color:"#999999","color-disabled":"rgba(0, 0, 0, 0.25)"}},"ap-text":{label:{color:"#999999"},content:{color:{major:"#333333",minor:"#999999"}}},"ap-view":{icon:{color:"#999999"},bg:{color:"#fafafa"},message:{color:"#bfbfbf"},border:{color:"#d9d9d9"}}};function t(a){const o={};function r(c,i){const s=Object.keys(c);for(const l of s){const e=c[l],n=[...i,l];e!==null&&typeof e=="object"?r(e,n):o[`--${n.join("-")}`]=e}}return r(a,[]),o}const F=t(b),p=t(d);function u(a){Object.entries(a).forEach(([o,r])=>{document.documentElement.style.setProperty(o,r)})}exports.adminCssVar=p;exports.aplusCssVar=F;exports.generateCssVar=t;exports.setCSSVariables=u;
|
|
@@ -12,6 +12,7 @@ import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
|
12
12
|
import { LocaleType } from '../../locale';
|
|
13
13
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from '..';
|
|
14
14
|
import { CssVarType } from '../css-var';
|
|
15
|
+
import { ViewCacheOption } from '../..';
|
|
15
16
|
export declare const keysOf: <T extends Record<string, any>>(arr: T) => Array<keyof T>;
|
|
16
17
|
export declare function useGlobalConfig<K extends keyof ConfigProviderContext, D extends ConfigProviderContext[K]>(key: K, defaultValue?: D): Ref<Exclude<ConfigProviderContext[K], undefined> | D>;
|
|
17
18
|
export declare function useGlobalConfig(): Ref<ConfigProviderContext>;
|
|
@@ -168,4 +169,8 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
|
|
|
168
169
|
scrollYDomName: {
|
|
169
170
|
type: StringConstructor;
|
|
170
171
|
};
|
|
172
|
+
viewCacheOption: {
|
|
173
|
+
type: PropType<ViewCacheOption>;
|
|
174
|
+
default: () => {};
|
|
175
|
+
};
|
|
171
176
|
}>>>> | undefined;
|
|
@@ -10,6 +10,7 @@ import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
|
10
10
|
import { LocaleType } from '../locale';
|
|
11
11
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from './constants';
|
|
12
12
|
import { RecursivePartial } from '../type';
|
|
13
|
+
import { ViewCacheOption } from '..';
|
|
13
14
|
import { CssVarType } from './css-var';
|
|
14
15
|
export * from './config-provider-props';
|
|
15
16
|
export * from './constants';
|
|
@@ -274,6 +275,20 @@ export declare const APConfigProvider: {
|
|
|
274
275
|
};
|
|
275
276
|
};
|
|
276
277
|
};
|
|
278
|
+
'ap-view': {
|
|
279
|
+
icon: {
|
|
280
|
+
color: string;
|
|
281
|
+
};
|
|
282
|
+
bg: {
|
|
283
|
+
color: string;
|
|
284
|
+
};
|
|
285
|
+
message: {
|
|
286
|
+
color: string;
|
|
287
|
+
};
|
|
288
|
+
border: {
|
|
289
|
+
color: string;
|
|
290
|
+
};
|
|
291
|
+
};
|
|
277
292
|
}>>;
|
|
278
293
|
default: () => {};
|
|
279
294
|
};
|
|
@@ -284,6 +299,10 @@ export declare const APConfigProvider: {
|
|
|
284
299
|
scrollYDomName: {
|
|
285
300
|
type: StringConstructor;
|
|
286
301
|
};
|
|
302
|
+
viewCacheOption: {
|
|
303
|
+
type: PropType<ViewCacheOption>;
|
|
304
|
+
default: () => {};
|
|
305
|
+
};
|
|
287
306
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
288
307
|
input: {
|
|
289
308
|
autocomplete?: string;
|
|
@@ -303,6 +322,7 @@ export declare const APConfigProvider: {
|
|
|
303
322
|
pagination: {
|
|
304
323
|
showSizeChanger?: boolean;
|
|
305
324
|
};
|
|
325
|
+
apUpload: ApUploadConfig;
|
|
306
326
|
csp: CSPConfig;
|
|
307
327
|
autoInsertSpaceInButton: boolean;
|
|
308
328
|
locale: Locale;
|
|
@@ -317,7 +337,6 @@ export declare const APConfigProvider: {
|
|
|
317
337
|
disabled?: boolean;
|
|
318
338
|
};
|
|
319
339
|
api: ApiType;
|
|
320
|
-
apUpload: ApUploadConfig;
|
|
321
340
|
apDescriptions: ApDescriptionsConfig;
|
|
322
341
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
323
342
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
|
@@ -434,8 +453,23 @@ export declare const APConfigProvider: {
|
|
|
434
453
|
};
|
|
435
454
|
};
|
|
436
455
|
};
|
|
456
|
+
'ap-view': {
|
|
457
|
+
icon: {
|
|
458
|
+
color: string;
|
|
459
|
+
};
|
|
460
|
+
bg: {
|
|
461
|
+
color: string;
|
|
462
|
+
};
|
|
463
|
+
message: {
|
|
464
|
+
color: string;
|
|
465
|
+
};
|
|
466
|
+
border: {
|
|
467
|
+
color: string;
|
|
468
|
+
};
|
|
469
|
+
};
|
|
437
470
|
}>;
|
|
438
471
|
exportField: ExportField;
|
|
472
|
+
viewCacheOption: ViewCacheOption;
|
|
439
473
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
440
474
|
P: {};
|
|
441
475
|
B: {};
|
|
@@ -699,6 +733,20 @@ export declare const APConfigProvider: {
|
|
|
699
733
|
};
|
|
700
734
|
};
|
|
701
735
|
};
|
|
736
|
+
'ap-view': {
|
|
737
|
+
icon: {
|
|
738
|
+
color: string;
|
|
739
|
+
};
|
|
740
|
+
bg: {
|
|
741
|
+
color: string;
|
|
742
|
+
};
|
|
743
|
+
message: {
|
|
744
|
+
color: string;
|
|
745
|
+
};
|
|
746
|
+
border: {
|
|
747
|
+
color: string;
|
|
748
|
+
};
|
|
749
|
+
};
|
|
702
750
|
}>>;
|
|
703
751
|
default: () => {};
|
|
704
752
|
};
|
|
@@ -709,6 +757,10 @@ export declare const APConfigProvider: {
|
|
|
709
757
|
scrollYDomName: {
|
|
710
758
|
type: StringConstructor;
|
|
711
759
|
};
|
|
760
|
+
viewCacheOption: {
|
|
761
|
+
type: PropType<ViewCacheOption>;
|
|
762
|
+
default: () => {};
|
|
763
|
+
};
|
|
712
764
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
713
765
|
input: {
|
|
714
766
|
autocomplete?: string;
|
|
@@ -728,6 +780,7 @@ export declare const APConfigProvider: {
|
|
|
728
780
|
pagination: {
|
|
729
781
|
showSizeChanger?: boolean;
|
|
730
782
|
};
|
|
783
|
+
apUpload: ApUploadConfig;
|
|
731
784
|
csp: CSPConfig;
|
|
732
785
|
autoInsertSpaceInButton: boolean;
|
|
733
786
|
locale: Locale;
|
|
@@ -742,7 +795,6 @@ export declare const APConfigProvider: {
|
|
|
742
795
|
disabled?: boolean;
|
|
743
796
|
};
|
|
744
797
|
api: ApiType;
|
|
745
|
-
apUpload: ApUploadConfig;
|
|
746
798
|
apDescriptions: ApDescriptionsConfig;
|
|
747
799
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
748
800
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
|
@@ -859,8 +911,23 @@ export declare const APConfigProvider: {
|
|
|
859
911
|
};
|
|
860
912
|
};
|
|
861
913
|
};
|
|
914
|
+
'ap-view': {
|
|
915
|
+
icon: {
|
|
916
|
+
color: string;
|
|
917
|
+
};
|
|
918
|
+
bg: {
|
|
919
|
+
color: string;
|
|
920
|
+
};
|
|
921
|
+
message: {
|
|
922
|
+
color: string;
|
|
923
|
+
};
|
|
924
|
+
border: {
|
|
925
|
+
color: string;
|
|
926
|
+
};
|
|
927
|
+
};
|
|
862
928
|
}>;
|
|
863
929
|
exportField: ExportField;
|
|
930
|
+
viewCacheOption: ViewCacheOption;
|
|
864
931
|
}>;
|
|
865
932
|
__isFragment?: never;
|
|
866
933
|
__isTeleport?: never;
|
|
@@ -1018,6 +1085,10 @@ export declare const APConfigProvider: {
|
|
|
1018
1085
|
scrollYDomName: {
|
|
1019
1086
|
type: StringConstructor;
|
|
1020
1087
|
};
|
|
1088
|
+
viewCacheOption: {
|
|
1089
|
+
type: PropType<ViewCacheOption>;
|
|
1090
|
+
default: () => {};
|
|
1091
|
+
};
|
|
1021
1092
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1022
1093
|
input: {
|
|
1023
1094
|
autocomplete?: string;
|
|
@@ -1037,6 +1108,7 @@ export declare const APConfigProvider: {
|
|
|
1037
1108
|
pagination: {
|
|
1038
1109
|
showSizeChanger?: boolean;
|
|
1039
1110
|
};
|
|
1111
|
+
apUpload: ApUploadConfig;
|
|
1040
1112
|
csp: CSPConfig;
|
|
1041
1113
|
autoInsertSpaceInButton: boolean;
|
|
1042
1114
|
locale: Locale;
|
|
@@ -1051,7 +1123,6 @@ export declare const APConfigProvider: {
|
|
|
1051
1123
|
disabled?: boolean;
|
|
1052
1124
|
};
|
|
1053
1125
|
api: ApiType;
|
|
1054
|
-
apUpload: ApUploadConfig;
|
|
1055
1126
|
apDescriptions: ApDescriptionsConfig;
|
|
1056
1127
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
1057
1128
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
|
@@ -1168,8 +1239,23 @@ export declare const APConfigProvider: {
|
|
|
1168
1239
|
};
|
|
1169
1240
|
};
|
|
1170
1241
|
};
|
|
1242
|
+
'ap-view': {
|
|
1243
|
+
icon: {
|
|
1244
|
+
color: string;
|
|
1245
|
+
};
|
|
1246
|
+
bg: {
|
|
1247
|
+
color: string;
|
|
1248
|
+
};
|
|
1249
|
+
message: {
|
|
1250
|
+
color: string;
|
|
1251
|
+
};
|
|
1252
|
+
border: {
|
|
1253
|
+
color: string;
|
|
1254
|
+
};
|
|
1255
|
+
};
|
|
1171
1256
|
}>;
|
|
1172
1257
|
exportField: ExportField;
|
|
1258
|
+
viewCacheOption: ViewCacheOption;
|
|
1173
1259
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
1174
1260
|
$props: {
|
|
1175
1261
|
onClick?: () => void;
|