@aplus-frontend/ui 0.6.0-beta.20 → 0.6.0-beta.22
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 +172 -168
- package/es/src/ap-drawer/ApDrawer.vue.d.ts +26 -0
- package/es/src/ap-drawer/ApDrawer.vue.mjs +78 -0
- package/es/src/ap-drawer/ApDrawer.vue2.mjs +4 -0
- package/es/src/ap-drawer/components/ApDrawerClose.vue.d.ts +8 -0
- package/es/src/ap-drawer/components/ApDrawerClose.vue.mjs +25 -0
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +4 -0
- package/es/src/ap-drawer/index.d.ts +3 -7
- package/es/src/ap-drawer/index.mjs +10 -5
- package/es/src/ap-drawer/interface.d.ts +3 -0
- package/es/src/ap-drawer/style/css.d.ts +0 -1
- package/es/src/ap-drawer/style/css.js +1 -1
- package/es/src/ap-drawer/style/index.d.ts +0 -1
- package/es/src/ap-drawer/style/index.js +1 -1
- package/es/src/ap-drawer/utils/createDrawer.mjs +36 -31
- package/es/src/ap-form/item/index.vue.mjs +75 -83
- package/es/src/ap-form/item-group/index.vue.mjs +34 -35
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +18 -20
- package/es/src/ap-grid/index.vue.mjs +46 -46
- package/es/src/ap-grid/interface.d.ts +3 -3
- package/es/src/ap-list/index.vue.mjs +34 -34
- package/es/src/ap-list/interface.d.ts +4 -3
- package/es/src/ap-table/ap-table.vue2.mjs +57 -57
- package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +3 -3
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +15 -15
- package/es/src/ap-table/interface.d.ts +3 -3
- package/es/src/business/ap-keep-alive/index.d.ts +2 -1
- package/es/src/business/ap-keep-alive/index.mjs +11 -9
- package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.mjs +7 -7
- package/es/src/business/ap-keep-alive/utils.d.ts +1 -0
- package/es/src/business/ap-keep-alive/utils.mjs +10 -9
- package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +36 -30
- package/es/src/business/ap-radio-group/index.d.ts +6 -0
- package/es/src/business/hooks/usePageListApGrid.mjs +1 -1
- package/es/src/index.mjs +277 -272
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ap-drawer/ApDrawer.vue.d.ts +26 -0
- package/lib/src/ap-drawer/ApDrawer.vue.js +1 -0
- package/lib/src/ap-drawer/ApDrawer.vue2.js +1 -0
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.d.ts +8 -0
- package/lib/src/ap-drawer/components/ApDrawerClose.vue.js +1 -0
- package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -0
- package/lib/src/ap-drawer/index.d.ts +3 -7
- package/lib/src/ap-drawer/index.js +1 -1
- package/lib/src/ap-drawer/interface.d.ts +3 -0
- package/lib/src/ap-drawer/style/css.cjs +1 -1
- package/lib/src/ap-drawer/style/css.d.ts +0 -1
- package/lib/src/ap-drawer/style/index.cjs +1 -1
- package/lib/src/ap-drawer/style/index.d.ts +0 -1
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +3 -3
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +4 -3
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +3 -3
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/interface.d.ts +3 -3
- package/lib/src/business/ap-keep-alive/index.d.ts +2 -1
- package/lib/src/business/ap-keep-alive/index.js +1 -1
- package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.js +1 -1
- package/lib/src/business/ap-keep-alive/utils.d.ts +1 -0
- package/lib/src/business/ap-keep-alive/utils.js +1 -1
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
- package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
- package/lib/src/business/ap-radio-group/index.d.ts +6 -0
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +11 -8
- package/theme/antd-global-overwrite/admin/alert.css +1 -1
- package/theme/antd-global-overwrite/admin/field.css +3 -0
- package/theme/antd-global-overwrite/admin/field.less +4 -0
- package/theme/antd-global-overwrite/admin/index.css +10 -1
- package/theme/antd-global-overwrite/admin/modal.css +6 -0
- package/theme/antd-global-overwrite/admin/modal.less +8 -0
- package/theme/antd-global-overwrite/aplus/alert.css +1 -1
- package/theme/antd-global-overwrite/aplus/field.css +3 -0
- package/theme/antd-global-overwrite/aplus/field.less +4 -0
- package/theme/antd-global-overwrite/aplus/index.css +11 -2
- package/theme/antd-global-overwrite/aplus/modal.css +7 -1
- package/theme/antd-global-overwrite/aplus/modal.less +9 -1
- package/theme/ap-action/item-dropdown.css +1 -1
- package/theme/ap-action/item.css +2 -2
- package/theme/ap-appendix/ap-appendix.css +2 -2
- package/theme/ap-attachment/ap-attachment.css +2 -2
- package/theme/ap-batch-action/ap-batch-action.css +1 -1
- package/theme/ap-button/ap-button.css +1 -1
- package/theme/ap-card/ap-card.css +1 -1
- package/theme/ap-copy/ap-copy.css +1 -1
- package/theme/ap-descriptions/ap-descriptions.css +1 -1
- package/theme/ap-download/ap-download.css +4 -4
- package/theme/ap-drawer/ap-drawer.css +74 -0
- package/theme/ap-drawer/ap-drawer.less +39 -0
- package/theme/ap-expand-alert/ap-expand-alert.css +2 -2
- package/theme/ap-field/checkbox.css +1 -1
- package/theme/ap-field/index.css +1 -1
- package/theme/ap-field/number.css +1 -1
- package/theme/ap-field/radio.css +1 -1
- package/theme/ap-field/text-area.css +1 -1
- package/theme/ap-form/ap-form-item-group.css +1 -1
- package/theme/ap-form/ap-form-item.css +4 -1
- package/theme/ap-form/ap-form-item.less +3 -0
- package/theme/ap-form/drawer-form.css +1 -1
- package/theme/ap-form/index.css +8 -5
- package/theme/ap-form/item-text-group.css +1 -1
- package/theme/ap-form/item-text.css +1 -1
- package/theme/ap-form/modal-form.css +1 -1
- package/theme/ap-form/search-form-sorter.css +5 -5
- package/theme/ap-form/search-form.css +8 -5
- package/theme/ap-grid/editable.css +1 -1
- package/theme/ap-grid/index.css +18 -13
- package/theme/ap-grid/index.less +4 -4
- package/theme/ap-group-search/ap-extension-select.css +1 -1
- package/theme/ap-group-search/ap-group-search.css +1 -1
- package/theme/ap-group-search/ap-popover-select.css +1 -1
- package/theme/ap-image/ap-image.css +1 -1
- package/theme/ap-input-radio/ap-input-radio.css +1 -1
- package/theme/ap-label/ap-label.css +1 -1
- package/theme/ap-ladder/ap-ladder.css +4 -4
- package/theme/ap-layout/ap-info-layout.css +1 -1
- package/theme/ap-list/index.css +1 -1
- package/theme/ap-product-info/ap-product-info.css +1 -1
- package/theme/ap-radio-group/ap-radio-group.css +2 -1
- package/theme/ap-radio-group/ap-radio-group.less +1 -0
- package/theme/ap-select-layout/ap-select-layout.css +3 -3
- package/theme/ap-size-input/ap-size-input.css +1 -1
- package/theme/ap-status/ap-status.css +1 -1
- package/theme/ap-summary/index.css +1 -1
- package/theme/ap-table/ap-table-index.css +1 -1
- package/theme/ap-table/ap-table-paragraph-ellipsis.css +1 -1
- package/theme/ap-table/ap-table.css +12 -9
- package/theme/ap-table/setting/index.css +3 -3
- package/theme/ap-table/setting/modal.css +2 -2
- package/theme/ap-table/setting/select-group.css +1 -1
- package/theme/ap-table/setting/sortable-item-meta.css +1 -1
- package/theme/ap-table/setting/sortable-item.css +1 -1
- package/theme/ap-table/setting/sorter.css +2 -2
- package/theme/ap-table-modal/index.css +12 -9
- package/theme/ap-tag/ap-tag-group.css +1 -1
- package/theme/ap-tag/ap-tag.css +4 -4
- package/theme/ap-title/ap-title.css +1 -1
- package/theme/ap-upload/index.css +2 -2
- package/theme/ap-upload/multiple-file.css +1 -1
- package/theme/ap-upload/picture.css +1 -1
- package/theme/ap-upload/single-file.css +2 -2
- package/theme/ap-upload/upload.css +1 -1
- package/theme/ap-upload-single/index.css +1 -1
- package/theme/ap-view/ap-view.css +1 -1
- package/theme/batch-input-group/index.css +1 -1
- package/theme/batch-input-group/popover-input.css +1 -1
- package/theme/check-card/index.css +4 -4
- package/theme/editable-table/index.css +9 -6
- package/theme/full-screen/index.css +1 -1
- package/theme/index.css +72 -36
- package/theme/index.less +1 -0
- package/theme/mask/index.css +1 -1
- package/theme/mixins/config.less +3 -3
- package/theme/mixins/mixins.css +1 -1
- package/theme/scroll-bar/index.css +1 -1
- package/theme/scroll-view/index.css +1 -1
- package/theme/splitter/index.css +2 -2
- package/theme/text/group.css +1 -1
- package/theme/text/index.css +2 -2
- package/theme/ui-mode.css +2 -0
- package/theme/ui-mode.less +2 -0
- package/theme/work-order-modal/index.css +1 -1
package/es/index.mjs
CHANGED
|
@@ -5,9 +5,9 @@ import "./src/hooks/index.mjs";
|
|
|
5
5
|
import { configProviderProps as A } from "./src/config-provider/config-provider-props.mjs";
|
|
6
6
|
import { DEFAULT_NAMESPACE as n, DEFAULT_UIMODE as c, configProviderContextKey as F } from "./src/config-provider/constants.mjs";
|
|
7
7
|
import { keysOf as T, provideGlobalConfig as S, useGlobalConfig as b } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
8
|
-
import { buildLocaleContext as g, buildTranslator as D, localeContextKey as
|
|
9
|
-
import { defaultNamespace as R, namespaceContextKey as L, useGetDerivedNamespace as
|
|
10
|
-
import { ConfigProvider as
|
|
8
|
+
import { buildLocaleContext as g, buildTranslator as D, localeContextKey as h, translate as G, useLocale as P } from "./src/config-provider/hooks/use-locale.mjs";
|
|
9
|
+
import { defaultNamespace as R, namespaceContextKey as L, useGetDerivedNamespace as M, useNamespace as v } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
import { ConfigProvider as w, globalConfigCached as y } from "./src/config-provider/config-provider.mjs";
|
|
11
11
|
import { APConfigProvider as B } from "./src/config-provider/index.mjs";
|
|
12
12
|
import { ApFormItemText as O } from "./src/ap-form/items/text/index.mjs";
|
|
13
13
|
import { default as V } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
@@ -29,12 +29,12 @@ import { default as Fe } from "./src/ap-form/modal-form/index.vue.mjs";
|
|
|
29
29
|
import { default as Te } from "./src/ap-form/dependency/index.vue.mjs";
|
|
30
30
|
import { default as be } from "./src/ap-form/set/index.vue.mjs";
|
|
31
31
|
import { default as ge } from "./src/ap-form/drawer-form/index.vue.mjs";
|
|
32
|
-
import { default as
|
|
32
|
+
import { default as he } from "./src/ap-form/render/control.vue.mjs";
|
|
33
33
|
import { default as Pe } from "./src/ap-form/render/item.vue.mjs";
|
|
34
34
|
import { default as Re } from "./src/ap-form/provider/index.vue.mjs";
|
|
35
|
-
import { ApField as
|
|
35
|
+
import { ApField as Me } from "./src/ap-field/index.mjs";
|
|
36
36
|
import { ApFieldText as Ne } from "./src/ap-field/text/index.mjs";
|
|
37
|
-
import { default as
|
|
37
|
+
import { default as ye } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
38
38
|
import { default as Be } from "./src/ap-field/date/index.vue.mjs";
|
|
39
39
|
import { default as Oe } from "./src/ap-field/number/index.vue.mjs";
|
|
40
40
|
import { default as Ve } from "./src/ap-field/radio/index.vue.mjs";
|
|
@@ -55,11 +55,11 @@ import { default as Fo } from "./src/ap-action/item-dropdown/index.vue.mjs";
|
|
|
55
55
|
import { default as To } from "./src/ap-action/group/index.vue.mjs";
|
|
56
56
|
import { DictCode as bo, langMap as Co } from "./src/work-order-modal/interfaces.mjs";
|
|
57
57
|
import { createWorkOrderModal as Do } from "./src/work-order-modal/createWorkOrder.mjs";
|
|
58
|
-
import { default as
|
|
58
|
+
import { default as Go } from "./src/work-order-modal/work-order-modal.vue.mjs";
|
|
59
59
|
import { default as Eo } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
60
60
|
import { default as Lo } from "./src/ap-tag/ap-tag-group.vue.mjs";
|
|
61
|
-
import { default as
|
|
62
|
-
import { NeedNameKeyDefault as
|
|
61
|
+
import { default as vo } from "./src/ap-info-layout/ApInfoLayout.vue.mjs";
|
|
62
|
+
import { NeedNameKeyDefault as wo } from "./src/ap-upload/apUploadTypes.mjs";
|
|
63
63
|
import { default as ko } from "./src/ap-upload/apUpload.vue.mjs";
|
|
64
64
|
import { ApDownLoadNeedNameKeyDefault as Ko } from "./src/ap-download/interface.mjs";
|
|
65
65
|
import { default as Uo } from "./src/ap-download/ap-download.vue.mjs";
|
|
@@ -70,76 +70,78 @@ import { default as qo } from "./src/ap-list/index.vue.mjs";
|
|
|
70
70
|
import { default as Qo } from "./src/ap-button/ap-button.vue.mjs";
|
|
71
71
|
import { default as Yo } from "./src/ap-button/ap-action-button.vue.mjs";
|
|
72
72
|
import { default as er } from "./src/ap-button/ap-confirm-button.vue.mjs";
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import { default as bt } from "./src/business/
|
|
107
|
-
import { default as gt } from "./src/business/batch-input-group/
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import { default as Yt } from "./src/
|
|
122
|
-
import {
|
|
123
|
-
import { default as rp } from "./src/
|
|
124
|
-
import {
|
|
125
|
-
import { default as fp } from "./src/scroll-
|
|
126
|
-
import { default as lp } from "./src/
|
|
127
|
-
import { default as dp } from "./src/
|
|
128
|
-
import { default as up } from "./src/
|
|
129
|
-
import {
|
|
130
|
-
import { default as cp } from "./src/
|
|
131
|
-
import {
|
|
132
|
-
import { default as Sp } from "./src/ap-grid/
|
|
133
|
-
import { default as Cp } from "./src/
|
|
134
|
-
import { default as Dp } from "./src/
|
|
135
|
-
import { default as
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
73
|
+
import { default as rr } from "./src/ap-drawer/ApDrawer.vue.mjs";
|
|
74
|
+
import { default as pr } from "./src/ap-drawer/components/ApDrawerClose.vue.mjs";
|
|
75
|
+
import { ApTransformDataHelper as fr } from "./src/utils/ap-trans-data/index.mjs";
|
|
76
|
+
import { default as lr } from "./src/business/ap-table-modal/index.mjs";
|
|
77
|
+
import { useTableModal as dr } from "./src/business/ap-table-modal/hooks/use-table-modal.mjs";
|
|
78
|
+
import { useTableSelectModal as ur } from "./src/business/ap-table-modal/hooks/use-table-select-modal.mjs";
|
|
79
|
+
import { ApAttachment as ir } from "./src/business/ap-attachment/index.mjs";
|
|
80
|
+
import { ApBatchAction as cr } from "./src/business/ap-batch-action/index.mjs";
|
|
81
|
+
import { ApBatchActionGroup as Ir } from "./src/business/ap-batch-action-group/index.mjs";
|
|
82
|
+
import { ApButtonGroup as Sr } from "./src/business/ap-button-group/index.mjs";
|
|
83
|
+
import { ApCard as Cr } from "./src/business/ap-card/index.mjs";
|
|
84
|
+
import { ApExpandAlert as Dr } from "./src/business/ap-expand-alert/index.mjs";
|
|
85
|
+
import { ApExportGroupActionType as Gr } from "./src/business/ap-export-group/interface.mjs";
|
|
86
|
+
import { ApExportGroup as Er } from "./src/business/ap-export-group/index.mjs";
|
|
87
|
+
import { handleExportDownload as Lr } from "./src/business/ap-export-group/handleExportDownload.mjs";
|
|
88
|
+
import { convertExportField as vr } from "./src/business/ap-export-group/convertExportField.mjs";
|
|
89
|
+
import { ApImage as wr } from "./src/business/ap-image/index.mjs";
|
|
90
|
+
import { ApInputRadio as kr } from "./src/business/ap-input-radio/index.mjs";
|
|
91
|
+
import { ApLabel as Kr, ApLabelGroup as Or } from "./src/business/ap-label/index.mjs";
|
|
92
|
+
import { locales as Vr } from "./src/business/ap-ladder/interface.mjs";
|
|
93
|
+
import { ApLadder as zr } from "./src/business/ap-ladder/index.mjs";
|
|
94
|
+
import { ApSelectLayout as $r } from "./src/business/ap-select-layout/index.mjs";
|
|
95
|
+
import { ApStatus as Hr, ApStatusGroup as qr } from "./src/business/ap-status/index.mjs";
|
|
96
|
+
import { ApTitle as Qr } from "./src/business/ap-title/index.mjs";
|
|
97
|
+
import { usePageListApTable as Yr } from "./src/business/hooks/usePageListApTable.mjs";
|
|
98
|
+
import { useTableRefresh as et } from "./src/business/hooks/useTableRefresh.mjs";
|
|
99
|
+
import { usePageListApGrid as rt } from "./src/business/hooks/usePageListApGrid.mjs";
|
|
100
|
+
import { useGridRefresh as pt } from "./src/business/hooks/useGridRefresh.mjs";
|
|
101
|
+
import { computedRecords as ft, flattenColumns as mt, formatDataIndex as lt, formatNumber as xt } from "./src/business/ap-summary/utils.mjs";
|
|
102
|
+
import { ApSummary as st } from "./src/business/ap-summary/index.mjs";
|
|
103
|
+
import { ApNeedNameKeyDefault as At } from "./src/business/ap-appendix/interface.mjs";
|
|
104
|
+
import { ApAppendix as nt } from "./src/business/ap-appendix/index.mjs";
|
|
105
|
+
import { ApExtensionSelect as Ft, ApGroupSearch as It, ApPopoverSelect as Tt } from "./src/business/ap-group-search/index.mjs";
|
|
106
|
+
import { default as bt } from "./src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
|
|
107
|
+
import { default as gt } from "./src/business/batch-input-group/index.vue.mjs";
|
|
108
|
+
import { default as ht } from "./src/business/batch-input-group/form-item.vue.mjs";
|
|
109
|
+
import { ApSizeInput as Pt } from "./src/business/ap-size-input/index.mjs";
|
|
110
|
+
import { ApProductInfo as Rt } from "./src/business/ap-product-info/index.mjs";
|
|
111
|
+
import { ApCopy as Mt } from "./src/business/ap-copy/index.mjs";
|
|
112
|
+
import { ApView as Nt } from "./src/business/ap-view/index.mjs";
|
|
113
|
+
import { ApRadioGroup as yt } from "./src/business/ap-radio-group/index.mjs";
|
|
114
|
+
import { ApKeepAliveProps as Bt, forceStopTags as Kt } from "./src/business/ap-keep-alive/interface.mjs";
|
|
115
|
+
import { ApKeepAlive as Ut } from "./src/business/ap-keep-alive/index.mjs";
|
|
116
|
+
import { LruCacher as _t } from "./src/business/ap-keep-alive/cacher/lru-cacher.mjs";
|
|
117
|
+
import { useApKeepAliveInject as Wt } from "./src/business/ap-keep-alive/hook.mjs";
|
|
118
|
+
import { matches as jt } from "./src/business/ap-keep-alive/utils.mjs";
|
|
119
|
+
import { useTablePaging as qt } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
120
|
+
import { ApTable as Qt } from "./src/ap-table/index.mjs";
|
|
121
|
+
import { default as Yt } from "./src/editable-table/index.vue.mjs";
|
|
122
|
+
import { default as ep } from "./src/editable-table/form-item.vue.mjs";
|
|
123
|
+
import { default as rp } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
124
|
+
import { ensureRangeValue as pp } from "./src/scroll-bar/utils/index.mjs";
|
|
125
|
+
import { default as fp } from "./src/scroll-bar/index.vue.mjs";
|
|
126
|
+
import { default as lp } from "./src/scroll-bar/internal.vue.mjs";
|
|
127
|
+
import { default as dp } from "./src/scroll-view/index.vue.mjs";
|
|
128
|
+
import { default as up } from "./src/portal/index.vue.mjs";
|
|
129
|
+
import { default as ip } from "./src/full-screen/index.vue.mjs";
|
|
130
|
+
import { default as cp } from "./src/resize-observer/index.vue.mjs";
|
|
131
|
+
import { ROW_SELECTION_FIELD as Ip } from "./src/ap-grid/constants.mjs";
|
|
132
|
+
import { default as Sp } from "./src/ap-grid/index.vue.mjs";
|
|
133
|
+
import { default as Cp } from "./src/ap-grid/editable/index.vue.mjs";
|
|
134
|
+
import { default as Dp } from "./src/ap-grid/editable/form-item.vue.mjs";
|
|
135
|
+
import { default as Gp } from "./src/text/index.vue.mjs";
|
|
136
|
+
import { default as Ep } from "./src/text/group.vue.mjs";
|
|
137
|
+
import { default as Lp } from "./src/mask/index.vue.mjs";
|
|
138
|
+
import { Splitter as vp } from "./src/splitter/index.mjs";
|
|
139
|
+
import { useMessage as wp } from "./src/hooks/useMessage.mjs";
|
|
140
|
+
import { useControllableValue as kp } from "./src/hooks/useControllableValue.mjs";
|
|
141
|
+
import { useManualRef as Kp } from "./src/hooks/useManualRef.mjs";
|
|
142
|
+
import { useThrottleRef as Up } from "./src/hooks/useThrottleRef.mjs";
|
|
143
|
+
import { useFullScreen as _p } from "./src/hooks/useFullScreen.mjs";
|
|
144
|
+
import { useResize as Wp } from "./src/hooks/useResize.mjs";
|
|
143
145
|
const a = console.log;
|
|
144
146
|
a(`APlus-UI version ${p}`);
|
|
145
147
|
const l = {
|
|
@@ -158,25 +160,26 @@ export {
|
|
|
158
160
|
Fo as ApActionItemDropdown,
|
|
159
161
|
Ao as ApActionItemModal,
|
|
160
162
|
no as ApActionItemPopconfirm,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
nt as ApAppendix,
|
|
164
|
+
ir as ApAttachment,
|
|
165
|
+
cr as ApBatchAction,
|
|
166
|
+
Ir as ApBatchActionGroup,
|
|
165
167
|
Qo as ApButton,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
+
Sr as ApButtonGroup,
|
|
169
|
+
Cr as ApCard,
|
|
168
170
|
er as ApConfirmButton,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
+
Mt as ApCopy,
|
|
172
|
+
rp as ApDescriptions,
|
|
171
173
|
Ko as ApDownLoadNeedNameKeyDefault,
|
|
172
174
|
Uo as ApDownload,
|
|
173
175
|
rr as ApDrawer,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
176
|
+
pr as ApDrawerClose,
|
|
177
|
+
Dr as ApExpandAlert,
|
|
178
|
+
Er as ApExportGroup,
|
|
179
|
+
Gr as ApExportGroupActionType,
|
|
180
|
+
Ft as ApExtensionSelect,
|
|
181
|
+
Me as ApField,
|
|
182
|
+
ye as ApFieldCheckbox,
|
|
180
183
|
Be as ApFieldDate,
|
|
181
184
|
He as ApFieldDateRange,
|
|
182
185
|
Oe as ApFieldNumber,
|
|
@@ -191,11 +194,11 @@ export {
|
|
|
191
194
|
$e as ApFieldTextArea,
|
|
192
195
|
ao as ApFieldTreeSelect,
|
|
193
196
|
me as ApForm,
|
|
194
|
-
|
|
197
|
+
he as ApFormControlRender,
|
|
195
198
|
Te as ApFormDependency,
|
|
196
199
|
ge as ApFormDrawerForm,
|
|
197
200
|
xe as ApFormItem,
|
|
198
|
-
|
|
201
|
+
ht as ApFormItemBatchInput,
|
|
199
202
|
oe as ApFormItemCheckbox,
|
|
200
203
|
$ as ApFormItemDate,
|
|
201
204
|
H as ApFormItemDateRange,
|
|
@@ -214,103 +217,104 @@ export {
|
|
|
214
217
|
Re as ApFormProvider,
|
|
215
218
|
ne as ApFormSearchForm,
|
|
216
219
|
be as ApFormSet,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
220
|
+
Sp as ApGrid,
|
|
221
|
+
It as ApGroupSearch,
|
|
222
|
+
wr as ApImage,
|
|
223
|
+
vo as ApInfoLayout,
|
|
224
|
+
kr as ApInputRadio,
|
|
225
|
+
Ut as ApKeepAlive,
|
|
226
|
+
Bt as ApKeepAliveProps,
|
|
227
|
+
Kr as ApLabel,
|
|
228
|
+
Or as ApLabelGroup,
|
|
229
|
+
zr as ApLadder,
|
|
227
230
|
qo as ApList,
|
|
228
231
|
jo as ApModal,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
232
|
+
At as ApNeedNameKeyDefault,
|
|
233
|
+
Tt as ApPopoverSelect,
|
|
234
|
+
Rt as ApProductInfo,
|
|
235
|
+
yt as ApRadioGroup,
|
|
236
|
+
$r as ApSelectLayout,
|
|
237
|
+
Pt as ApSizeInput,
|
|
238
|
+
Hr as ApStatus,
|
|
239
|
+
qr as ApStatusGroup,
|
|
240
|
+
st as ApSummary,
|
|
241
|
+
Qt as ApTable,
|
|
242
|
+
lr as ApTableModal,
|
|
240
243
|
Eo as ApTag,
|
|
241
244
|
Lo as ApTagGroup,
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
245
|
+
Gp as ApText,
|
|
246
|
+
Ep as ApTextGroup,
|
|
247
|
+
Qr as ApTitle,
|
|
248
|
+
fr as ApTransformDataHelper,
|
|
246
249
|
ko as ApUpload,
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
+
bt as ApUploadSingle,
|
|
251
|
+
Nt as ApView,
|
|
252
|
+
gt as BatchInputGroup,
|
|
250
253
|
_o as CheckCard,
|
|
251
254
|
Wo as CheckCardGroup,
|
|
252
|
-
|
|
255
|
+
w as ConfigProvider,
|
|
253
256
|
n as DEFAULT_NAMESPACE,
|
|
254
257
|
c as DEFAULT_UIMODE,
|
|
255
258
|
bo as DictCode,
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
259
|
+
Cp as EditableGrid,
|
|
260
|
+
Dp as EditableGridFormItem,
|
|
261
|
+
Yt as EditableTable,
|
|
262
|
+
ep as EditableTableFormItem,
|
|
263
|
+
ip as FullScreen,
|
|
264
|
+
lp as InternalScrollBar,
|
|
265
|
+
_t as LruCacher,
|
|
266
|
+
Lp as Mask,
|
|
267
|
+
wo as NeedNameKeyDefault,
|
|
268
|
+
up as Portal,
|
|
269
|
+
Ip as ROW_SELECTION_FIELD,
|
|
270
|
+
cp as ResizeObserver,
|
|
271
|
+
fp as ScrollBar,
|
|
272
|
+
dp as ScrollView,
|
|
273
|
+
vp as Splitter,
|
|
274
|
+
Go as WorkOrderModal,
|
|
272
275
|
mo as adminToken,
|
|
273
276
|
lo as aplusToken,
|
|
274
277
|
g as buildLocaleContext,
|
|
275
278
|
D as buildTranslator,
|
|
276
|
-
|
|
279
|
+
ft as computedRecords,
|
|
277
280
|
F as configProviderContextKey,
|
|
278
281
|
A as configProviderProps,
|
|
279
|
-
|
|
282
|
+
vr as convertExportField,
|
|
280
283
|
Do as createWorkOrderModal,
|
|
281
284
|
l as default,
|
|
282
285
|
R as defaultNamespace,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
286
|
+
pp as ensureRangeValue,
|
|
287
|
+
mt as flattenColumns,
|
|
288
|
+
Kt as forceStopTags,
|
|
289
|
+
lt as formatDataIndex,
|
|
290
|
+
xt as formatNumber,
|
|
291
|
+
y as globalConfigCached,
|
|
292
|
+
Lr as handleExportDownload,
|
|
293
|
+
jt as isNameMatches,
|
|
290
294
|
T as keysOf,
|
|
291
295
|
Co as langMap,
|
|
292
|
-
|
|
293
|
-
|
|
296
|
+
h as localeContextKey,
|
|
297
|
+
Vr as locales,
|
|
294
298
|
L as namespaceContextKey,
|
|
295
299
|
s as pathMap,
|
|
296
300
|
S as provideGlobalConfig,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
301
|
+
G as translate,
|
|
302
|
+
Wt as useApKeepAliveInject,
|
|
303
|
+
kp as useControllableValue,
|
|
304
|
+
_p as useFullScreen,
|
|
305
|
+
M as useGetDerivedNamespace,
|
|
302
306
|
b as useGlobalConfig,
|
|
303
|
-
|
|
307
|
+
pt as useGridRefresh,
|
|
304
308
|
P as useLocale,
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
309
|
+
Kp as useManualRef,
|
|
310
|
+
wp as useMessage,
|
|
311
|
+
v as useNamespace,
|
|
312
|
+
rt as usePageListApGrid,
|
|
313
|
+
Yr as usePageListApTable,
|
|
314
|
+
Wp as useResize,
|
|
315
|
+
dr as useTableModal,
|
|
316
|
+
qt as useTablePaging,
|
|
317
|
+
et as useTableRefresh,
|
|
318
|
+
ur as useTableSelectModal,
|
|
319
|
+
Up as useThrottleRef
|
|
316
320
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ApDrawerMixedProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: DefineComponent<ApDrawerMixedProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
11
|
+
"update:open": (value: boolean) => any;
|
|
12
|
+
}, string, PublicProps, Readonly<ApDrawerMixedProps> & Readonly<{
|
|
13
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
mask: boolean;
|
|
16
|
+
closable: boolean;
|
|
17
|
+
getContainer: string | false | HTMLElement | (() => HTMLElement);
|
|
18
|
+
rootStyle: CSSProperties;
|
|
19
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { defineComponent as m, useSlots as d, h as f, createBlock as u, openBlock as y, unref as e, mergeProps as C, createSlots as h, renderList as B, withCtx as S, renderSlot as x, normalizeProps as b, guardReactiveProps as _ } from "vue";
|
|
2
|
+
import { Drawer as g } from "@aplus-frontend/antdv";
|
|
3
|
+
import "../config-provider/index.mjs";
|
|
4
|
+
import "./components/ApDrawerClose.vue2.mjs";
|
|
5
|
+
import { omit as w } from "lodash-unified";
|
|
6
|
+
import { useNamespace as k } from "../config-provider/hooks/use-namespace.mjs";
|
|
7
|
+
import v from "./components/ApDrawerClose.vue.mjs";
|
|
8
|
+
const V = /* @__PURE__ */ m({
|
|
9
|
+
name: "ApDrawer",
|
|
10
|
+
__name: "ApDrawer",
|
|
11
|
+
props: {
|
|
12
|
+
autofocus: { type: Boolean },
|
|
13
|
+
closable: { type: Boolean, default: !1 },
|
|
14
|
+
closeIcon: {},
|
|
15
|
+
destroyOnClose: { type: Boolean },
|
|
16
|
+
forceRender: { type: Boolean },
|
|
17
|
+
getContainer: { type: [String, Boolean, Function], default: () => document.body },
|
|
18
|
+
maskClosable: { type: Boolean },
|
|
19
|
+
mask: { type: Boolean, default: !1 },
|
|
20
|
+
maskStyle: {},
|
|
21
|
+
rootClassName: {},
|
|
22
|
+
rootStyle: { default: () => ({
|
|
23
|
+
top: "0px"
|
|
24
|
+
}) },
|
|
25
|
+
size: {},
|
|
26
|
+
drawerStyle: {},
|
|
27
|
+
headerStyle: {},
|
|
28
|
+
bodyStyle: {},
|
|
29
|
+
contentWrapperStyle: {},
|
|
30
|
+
title: {},
|
|
31
|
+
visible: { type: Boolean },
|
|
32
|
+
open: { type: Boolean },
|
|
33
|
+
width: {},
|
|
34
|
+
height: {},
|
|
35
|
+
zIndex: {},
|
|
36
|
+
prefixCls: {},
|
|
37
|
+
push: {},
|
|
38
|
+
placement: {},
|
|
39
|
+
keyboard: { type: Boolean },
|
|
40
|
+
extra: {},
|
|
41
|
+
footer: {},
|
|
42
|
+
footerStyle: {},
|
|
43
|
+
level: {},
|
|
44
|
+
levelMove: {},
|
|
45
|
+
handle: {},
|
|
46
|
+
afterVisibleChange: {},
|
|
47
|
+
onAfterVisibleChange: {},
|
|
48
|
+
onAfterOpenChange: {},
|
|
49
|
+
"onUpdate:visible": {},
|
|
50
|
+
"onUpdate:open": {},
|
|
51
|
+
onClose: {},
|
|
52
|
+
createDrawer: {}
|
|
53
|
+
},
|
|
54
|
+
emits: ["update:open"],
|
|
55
|
+
setup(a, { emit: r }) {
|
|
56
|
+
const n = d(), l = r, { b: s } = k("ap-drawer"), p = f(v, {
|
|
57
|
+
onClose: () => {
|
|
58
|
+
l("update:open", !1);
|
|
59
|
+
}
|
|
60
|
+
}), o = a;
|
|
61
|
+
return (i, A) => (y(), u(e(g), C({
|
|
62
|
+
...e(w)(o, ["class", "extra", "outSideClick"])
|
|
63
|
+
}, {
|
|
64
|
+
class: e(s)(),
|
|
65
|
+
extra: o.extra ? o.extra : e(p)
|
|
66
|
+
}), h({ _: 2 }, [
|
|
67
|
+
B(n, (D, t) => ({
|
|
68
|
+
name: t,
|
|
69
|
+
fn: S((c) => [
|
|
70
|
+
x(i.$slots, t, b(_(c || {})))
|
|
71
|
+
])
|
|
72
|
+
}))
|
|
73
|
+
]), 1040, ["class", "extra"]));
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
export {
|
|
77
|
+
V as default
|
|
78
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent as p, createElementBlock as a, openBlock as l, normalizeClass as m, unref as r, createVNode as c } from "vue";
|
|
2
|
+
import "../../config-provider/index.mjs";
|
|
3
|
+
import { IconApAdLineCloseDrawer as i } from "@aplus-frontend/icon";
|
|
4
|
+
import { useNamespace as C } from "../../config-provider/hooks/use-namespace.mjs";
|
|
5
|
+
const _ = /* @__PURE__ */ p({
|
|
6
|
+
name: "ApDrawerClose",
|
|
7
|
+
__name: "ApDrawerClose",
|
|
8
|
+
props: {
|
|
9
|
+
onClose: { type: Function, default: () => {
|
|
10
|
+
} }
|
|
11
|
+
},
|
|
12
|
+
setup(n) {
|
|
13
|
+
const { b: s } = C("ap-drawer"), e = n;
|
|
14
|
+
return (f, o) => (l(), a("div", {
|
|
15
|
+
class: m([r(s)("close")]),
|
|
16
|
+
onClick: o[0] || (o[0] = //@ts-ignore
|
|
17
|
+
(...t) => e.onClose && e.onClose(...t))
|
|
18
|
+
}, [
|
|
19
|
+
c(r(i))
|
|
20
|
+
], 2));
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
_ as default
|
|
25
|
+
};
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { default as ApDrawer } from './ApDrawer.vue';
|
|
2
|
+
import { default as ApDrawerClose } from './components/ApDrawerClose.vue';
|
|
3
3
|
export * from './interface';
|
|
4
|
-
|
|
5
|
-
createDrawer: CreateDrawerFunc;
|
|
6
|
-
};
|
|
7
|
-
declare const ApDrawer: ApDrawerMixedProps;
|
|
8
|
-
export { ApDrawer };
|
|
4
|
+
export { ApDrawer, ApDrawerClose };
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
import { Drawer as e } from "@aplus-frontend/antdv";
|
|
2
1
|
import "./utils/index.mjs";
|
|
2
|
+
import "./ApDrawer.vue2.mjs";
|
|
3
|
+
import "./components/ApDrawerClose.vue2.mjs";
|
|
3
4
|
import "./interface.mjs";
|
|
4
|
-
import { createDrawer as
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
import { createDrawer as e } from "./utils/createDrawer.mjs";
|
|
6
|
+
import r from "./ApDrawer.vue.mjs";
|
|
7
|
+
import o from "./components/ApDrawerClose.vue.mjs";
|
|
8
|
+
r.createDrawer = e;
|
|
7
9
|
r.name = "ApDrawer";
|
|
10
|
+
r.Close = o;
|
|
11
|
+
r.Close.name = "ApDrawerClose";
|
|
8
12
|
export {
|
|
9
|
-
r as ApDrawer
|
|
13
|
+
r as ApDrawer,
|
|
14
|
+
o as ApDrawerClose
|
|
10
15
|
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import '@aplus-frontend/ui/theme/ap-drawer/ap-drawer.css';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|