@qqt-product/ui 0.0.15 → 0.0.17
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/dist/index.es.js +54568 -57030
- package/dist/index.umd.js +138 -200
- package/dist/lib/components/audit-modal/index.d.ts +13 -2
- package/dist/lib/components/audit-modal/src/audit-modal-type.d.ts +4 -0
- package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +13 -2
- package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +9 -0
- package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +10 -1
- package/dist/lib/components/audit-modal/src/hook/list-slot-hook.d.ts +1 -1
- package/dist/lib/components/audit-modal/src/hook/use-field-select-modal-hook.d.ts +2 -2
- package/dist/lib/components/cascader/index.d.ts +1 -1
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +2 -1
- package/dist/lib/components/detail-form/index.d.ts +7 -5
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +8 -6
- package/dist/lib/components/detail-grid/index.d.ts +11 -2
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +11 -2
- package/dist/lib/components/detail-page-layout/index.d.ts +24 -6
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +23 -5
- package/dist/lib/components/edit-form/index.d.ts +10 -10
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +11 -11
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -6
- package/dist/lib/components/edit-grid/index.d.ts +12 -2
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +4 -0
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +12 -2
- package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +2 -2
- package/dist/lib/components/edit-page-layout/index.d.ts +23 -5
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +47 -35
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +23 -5
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
- package/dist/lib/components/empty/index.d.ts +103 -0
- package/dist/lib/components/field-select-modal/index.d.ts +5 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +5 -0
- package/dist/lib/components/index.d.ts +4 -1
- package/dist/lib/components/item-wrap/index.d.ts +2 -2
- package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +1 -1
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +2 -2
- package/dist/lib/components/ladder-price/index.d.ts +6 -2
- package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +7 -3
- package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +3 -1
- package/dist/lib/components/ladder-price/src/hook/use-type-hook.d.ts +9 -0
- package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +2 -2
- package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +6 -2
- package/dist/lib/components/layout-buttons/index.d.ts +4 -2
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +4 -2
- package/dist/lib/components/layout-pattern/index.d.ts +2 -2
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +17 -13
- package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +3 -2
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +2 -2
- package/dist/lib/components/list-page-layout/index.d.ts +9 -1
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +15 -3
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +4 -2
- package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/hooks/use-list-params-hook.d.ts +7 -0
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +9 -1
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +9 -2
- package/dist/lib/components/menu/index.d.ts +84 -0
- package/dist/lib/components/menu/src/index.d.ts +80 -0
- package/dist/lib/components/menu/src/menu-types.d.ts +47 -0
- package/dist/lib/components/menu/src/use-menu.d.ts +2 -0
- package/dist/lib/components/page-layout/index.d.ts +4 -4
- package/dist/lib/components/page-layout/src/constant/buttons.d.ts +6 -6
- package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +3 -3
- package/dist/lib/components/page-layout/src/hook/use-page-data-hook.d.ts +2 -2
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +5 -3
- package/dist/lib/components/page-layout/src/hook/use-ref-instance-hook.d.ts +3 -3
- package/dist/lib/components/page-layout/src/hook/use-remote-config-hook.d.ts +2 -2
- package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +4 -4
- package/dist/lib/components/page-layout/src/token.d.ts +4 -4
- package/dist/lib/components/relation-graph/src/relation-graph-types.d.ts +2 -2
- package/dist/lib/components/remote-select/index.d.ts +5 -5
- package/dist/lib/components/remote-select/src/remote-select-types.d.ts +6 -6
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +5 -5
- package/dist/lib/components/rich-editor-model/index.d.ts +52 -0
- package/dist/lib/components/rich-editor-model/src/rich-editor-model-type.d.ts +14 -0
- package/dist/lib/components/rich-editor-model/src/rich-editor-model.vue.d.ts +49 -0
- package/dist/lib/components/select-modal/index.d.ts +16 -7
- package/dist/lib/components/select-modal/src/select-modal-types.d.ts +6 -6
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +16 -7
- package/dist/lib/components/tree-select/index.d.ts +4 -4
- package/dist/lib/components/tree-select/src/tree-select-types.d.ts +2 -2
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +4 -4
- package/dist/lib/components/upload-file/index.d.ts +5 -5
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +2 -32
- package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +2 -2
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +6 -6
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +5 -5
- package/dist/lib/components/upload-file-vxe/index.d.ts +8 -6
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe-types.d.ts +2 -2
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +8 -6
- package/dist/lib/components/upload-image/index.d.ts +10 -0
- package/dist/lib/components/upload-image/src/upload-image-type.d.ts +4 -0
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +10 -0
- package/dist/lib/utils/event.d.ts +2 -2
- package/dist/style.css +1 -1
- package/package.json +8 -8
- package/dist/lib/components/edit-grid/src/components/empty/index.d.ts +0 -8
- package/dist/vite.svg +0 -1
|
@@ -25,6 +25,10 @@ export declare const uploadImageProps: {
|
|
|
25
25
|
readonly type: ObjectConstructor;
|
|
26
26
|
readonly default: () => {};
|
|
27
27
|
};
|
|
28
|
+
readonly actionRoutePath: {
|
|
29
|
+
readonly type: StringConstructor;
|
|
30
|
+
readonly default: "";
|
|
31
|
+
};
|
|
28
32
|
readonly accept: {
|
|
29
33
|
readonly type: StringConstructor;
|
|
30
34
|
readonly default: ".png, .jpg, .jpeg, .gif";
|
|
@@ -27,6 +27,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
27
27
|
readonly type: ObjectConstructor;
|
|
28
28
|
readonly default: () => {};
|
|
29
29
|
};
|
|
30
|
+
readonly actionRoutePath: {
|
|
31
|
+
readonly type: StringConstructor;
|
|
32
|
+
readonly default: "";
|
|
33
|
+
};
|
|
30
34
|
readonly accept: {
|
|
31
35
|
readonly type: StringConstructor;
|
|
32
36
|
readonly default: ".png, .jpg, .jpeg, .gif";
|
|
@@ -133,6 +137,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
133
137
|
handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
|
|
134
138
|
handleCancel: () => void;
|
|
135
139
|
handlePreview: (file: UploadFiles) => Promise<void>;
|
|
140
|
+
isImageUrlFun: (file: UploadFile) => boolean;
|
|
136
141
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
137
142
|
readonly value: {
|
|
138
143
|
readonly type: StringConstructor;
|
|
@@ -158,6 +163,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
158
163
|
readonly type: ObjectConstructor;
|
|
159
164
|
readonly default: () => {};
|
|
160
165
|
};
|
|
166
|
+
readonly actionRoutePath: {
|
|
167
|
+
readonly type: StringConstructor;
|
|
168
|
+
readonly default: "";
|
|
169
|
+
};
|
|
161
170
|
readonly accept: {
|
|
162
171
|
readonly type: StringConstructor;
|
|
163
172
|
readonly default: ".png, .jpg, .jpeg, .gif";
|
|
@@ -183,5 +192,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
183
192
|
readonly canRemove: boolean;
|
|
184
193
|
readonly limit: number;
|
|
185
194
|
readonly uploadImageData: Record<string, any>;
|
|
195
|
+
readonly actionRoutePath: string;
|
|
186
196
|
}, {}>;
|
|
187
197
|
export default _sfc_main;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Emitter } from '@qqt-product/utils';
|
|
2
2
|
import { VxeTableInstance } from 'vxe-table';
|
|
3
3
|
import { SYMBOL_BINDFUNCTION, SYMBOL_CUSTOM_BINDFUNCTION, SYMBOL_VXE_BINDFUNCTION, SYMBOL_CUSTOM_VXE_BINDFUNCTION, SYMBOL_ADD_ONE_ROW, SYMBOL_DELETE_ROWS, SYMBOL_CUSTOM_CLICK, SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK, SYMBOL_CACHE_BUTTON, SYMBOL_CACHE_PAGEDATA, SYMBOL_CACHE_REFRESH, SYMBOL_CACHE_SHOW_MESSAGE, SYMBOL_VALIDATE, SYMBOL_VALIDATE_RESULT, SYMBOL_VALIDATE_SUCCESS, SYMBOL_REFRESH, SYMBOL_BACK, SYMBOL_SAVE, SYMBOL_PUBLISH, SYMBOL_SUBMIT, SYMBOL_CONFIRM, SYMBOL_REJECT, SYMBOL_UPLOAD, SYMBOL_UPLOAD_GRID, SYMBOL_CANCELAUDIT, SYMBOL_DOWNLOAD_ALL, SYMBOL_REMOVE_ALL, SYMBOL_CHECKBOX_CHANGE, SYMBOL_CHECKBOX_ALL, SYMBOL_IMPORT_ROWS, SYMBOL_FLOW_VIEW, SYMBOL_AUDIT_AGREE, SYMBOL_AUDIT_REFUSE, SYMBOL_AUDIT_INFORMED, SYMBOL_AUDIT_TRANSFER, SYMBOL_AUDIT_BACK, SYMBOL_AUDIT_TRANSACTION, SYMBOL_AUDIT_INVALID, SYMBOL_AUDIT_REVOCATION, SYMBOL_AUDIT_REVOCATION_PRE_SIGN, SYMBOL_AUDIT_FLOW_IMAGE, SYMBOL_AUDIT_APPROVAL_COMMENT, SYMBOL_AUDIT_SIGN_NODE, SYMBOL_AUDIT_PRE_SIGN, SYMBOL_AUDIT_AFTER_SIGN, SYMBOL_AUDIT_PRINT, SYMBOL_AUDIT_ADD_NODE_HISTORY, SYMBOL_AUDIT_CHAT } from '../../lib/components/page-layout';
|
|
4
|
-
import type {
|
|
4
|
+
import type { RecordString, BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageButtonDownLoad, ValidateResult, FormFieldsItem, ColumnItem, PageButtonDeleteFileRow, GridCheckboxChangeParamsWithGroupCoe, GridCheckboxAllParamsWithGroupCoe } from '../../lib/components/edit-page-layout';
|
|
5
5
|
import type { ButtonItem, ObjectMap } from '../../lib/components/list-page-layout';
|
|
6
6
|
import type { VxeItemFileUpload } from '../../lib/components/upload-file';
|
|
7
7
|
import { SYMBOL_GRID_INSTANCE, SYMBOL_HANDLE_SETTING, SYMBOL_HANDLE_ADD, SYMBOL_HANDLE_EXPORT, SYMBOL_HANDLE_IMPORT, SYMBOL_HANDLE_QUICK_NAV, SYMBOL_HANDLE_RECORD, SYMBOL_HANDLE_HELP_TEXT, SYMBOL_HANDLE_ATTACHMENT_TEXT, SYMBOL_HANDLE_VIDEO_TEXT, SYMBOL_FETCH_NAV_DATA } from '../components/list-page-layout/src/symbol';
|
|
@@ -15,7 +15,7 @@ export type Events = {
|
|
|
15
15
|
[SYMBOL_CUSTOM_CLICK]: PageButtonWithGroupCode;
|
|
16
16
|
[SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK]: FormFieldsItem | ColumnItem;
|
|
17
17
|
[SYMBOL_CACHE_BUTTON]: PageButton;
|
|
18
|
-
[SYMBOL_CACHE_PAGEDATA]:
|
|
18
|
+
[SYMBOL_CACHE_PAGEDATA]: RecordString;
|
|
19
19
|
[SYMBOL_CACHE_REFRESH]: boolean;
|
|
20
20
|
[SYMBOL_CACHE_SHOW_MESSAGE]: boolean;
|
|
21
21
|
[SYMBOL_VALIDATE]: PageButton;
|