@geelato/gl-ui-web-arco 0.0.1
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/README.md +55 -0
- package/dist/GlPdf-CP236wBj.js +891 -0
- package/dist/GlPdf-CP236wBj.js.gz +0 -0
- package/dist/gl-ui-web-arco.css +1 -0
- package/dist/gl-ui-web-arco.css.gz +0 -0
- package/dist/gl-ui-web-arco.js +21 -0
- package/dist/gl-ui-web-arco.js.gz +0 -0
- package/dist/main-D7ErSddl.js +164000 -0
- package/dist/main-D7ErSddl.js.gz +0 -0
- package/dist/pdfjs-Cvb5nkrC.js +26706 -0
- package/dist/pdfjs-Cvb5nkrC.js.gz +0 -0
- package/dist/types/api/SelectOptions.d.ts +41 -0
- package/dist/types/components/MetaHelper.d.ts +6 -0
- package/dist/types/components/gl-alert/GlAlert.vue.d.ts +27 -0
- package/dist/types/components/gl-button/GlButton.vue.d.ts +117 -0
- package/dist/types/components/gl-card/index.vue.d.ts +134 -0
- package/dist/types/components/gl-checkbox/GlCheckbox.vue.d.ts +19 -0
- package/dist/types/components/gl-color/GlColor.vue.d.ts +143 -0
- package/dist/types/components/gl-color-clipboard/GlColorClipboard.vue.d.ts +19 -0
- package/dist/types/components/gl-color-input/GlColorInput.vue.d.ts +37 -0
- package/dist/types/components/gl-comment/GlComment.vue.d.ts +80 -0
- package/dist/types/components/gl-comment/comment.vue.d.ts +72 -0
- package/dist/types/components/gl-comment/type.d.ts +30 -0
- package/dist/types/components/gl-countdown/GlCountdown.vue.d.ts +43 -0
- package/dist/types/components/gl-crontab/GlCrontab.vue.d.ts +39 -0
- package/dist/types/components/gl-crontab/tabs/day.vue.d.ts +30 -0
- package/dist/types/components/gl-crontab/tabs/hour.vue.d.ts +21 -0
- package/dist/types/components/gl-crontab/tabs/minute.vue.d.ts +21 -0
- package/dist/types/components/gl-crontab/tabs/mixin.d.ts +100 -0
- package/dist/types/components/gl-crontab/tabs/month.vue.d.ts +21 -0
- package/dist/types/components/gl-crontab/tabs/second.vue.d.ts +21 -0
- package/dist/types/components/gl-crontab/tabs/week.vue.d.ts +30 -0
- package/dist/types/components/gl-crontab/tabs/year.vue.d.ts +21 -0
- package/dist/types/components/gl-descriptions/GlDescriptions.vue.d.ts +36 -0
- package/dist/types/components/gl-dict/GlDict.vue.d.ts +444 -0
- package/dist/types/components/gl-dict/locale/en-US.d.ts +10 -0
- package/dist/types/components/gl-dict/locale/zh-CN.d.ts +10 -0
- package/dist/types/components/gl-divider/GlDevider.vue.d.ts +7 -0
- package/dist/types/components/gl-drag-verify/GlDragVerify.vue.d.ts +161 -0
- package/dist/types/components/gl-dropdown/GlDropdown.vue.d.ts +93 -0
- package/dist/types/components/gl-dynamic-select/GlDynamicSelect.vue.d.ts +582 -0
- package/dist/types/components/gl-email/GlEmailPreview.vue.d.ts +20 -0
- package/dist/types/components/gl-email/GlEmailSelect.vue.d.ts +1364 -0
- package/dist/types/components/gl-email/composables/index.d.ts +8 -0
- package/dist/types/components/gl-email/composables/useEmailData.d.ts +19 -0
- package/dist/types/components/gl-email/composables/useEmailForm.d.ts +57 -0
- package/dist/types/components/gl-email/composables/useEmailOperations.d.ts +15 -0
- package/dist/types/components/gl-email/composables/useEmailPreview.d.ts +10 -0
- package/dist/types/components/gl-email/composables/useEmailSchedule.d.ts +19 -0
- package/dist/types/components/gl-email/composables/useEmailValidation.d.ts +8 -0
- package/dist/types/components/gl-email/composables/useUserInfo.d.ts +18 -0
- package/dist/types/components/gl-email/locale/en-US.d.ts +51 -0
- package/dist/types/components/gl-email/locale/zh-CN.d.ts +51 -0
- package/dist/types/components/gl-email/types/index.d.ts +51 -0
- package/dist/types/components/gl-empty/GlEmpty.vue.d.ts +13 -0
- package/dist/types/components/gl-encode/GlEncode.vue.d.ts +152 -0
- package/dist/types/components/gl-entity-cascader/GlEntityCascader.vue.d.ts +26 -0
- package/dist/types/components/gl-entity-form/GlEntityForm.vue.d.ts +918 -0
- package/dist/types/components/gl-entity-form/composables/index.d.ts +16 -0
- package/dist/types/components/gl-entity-form/composables/useEmpty.d.ts +9 -0
- package/dist/types/components/gl-entity-form/composables/useFormCore.d.ts +560 -0
- package/dist/types/components/gl-entity-form/composables/useFormParams.d.ts +30 -0
- package/dist/types/components/gl-entity-form/composables/useFormValidation.d.ts +77 -0
- package/dist/types/components/gl-entity-table-plus/FilterManager.vue.d.ts +34 -0
- package/dist/types/components/gl-entity-table-plus/GlEntityTable.vue.d.ts +2910 -0
- package/dist/types/components/gl-entity-table-plus/GlEntityTableEdit.vue.d.ts +1322 -0
- package/dist/types/components/gl-entity-table-plus/GlEntityTableToolbar.vue.d.ts +471 -0
- package/dist/types/components/gl-entity-table-plus/constants.d.ts +292 -0
- package/dist/types/components/gl-entity-table-plus/index.vue.d.ts +3720 -0
- package/dist/types/components/gl-entity-table-plus/locale/en-US.d.ts +94 -0
- package/dist/types/components/gl-entity-table-plus/locale/zh-CN.d.ts +94 -0
- package/dist/types/components/gl-entity-table-plus/querySignature.d.ts +7 -0
- package/dist/types/components/gl-entity-table-plus/table.d.ts +137 -0
- package/dist/types/components/gl-entity-table-plus/useCellEditing.d.ts +55 -0
- package/dist/types/components/gl-entity-table-plus/useColumns.d.ts +20 -0
- package/dist/types/components/gl-entity-table-plus/useConvert.d.ts +5 -0
- package/dist/types/components/gl-entity-table-plus/useExport.d.ts +43 -0
- package/dist/types/components/gl-entity-table-plus/useFilters.d.ts +37 -0
- package/dist/types/components/gl-entity-table-plus/useLayout.d.ts +34 -0
- package/dist/types/components/gl-entity-table-plus/useMatch.d.ts +22 -0
- package/dist/types/components/gl-entity-table-plus/usePushedRecords.d.ts +39 -0
- package/dist/types/components/gl-entity-table-plus/useRow.d.ts +8 -0
- package/dist/types/components/gl-entity-table-plus/useRowHighlight.d.ts +33 -0
- package/dist/types/components/gl-entity-table-plus/useSelectedRecords.d.ts +25 -0
- package/dist/types/components/gl-entity-table-plus/useStore.d.ts +119 -0
- package/dist/types/components/gl-entity-table-plus/useSummary.d.ts +47 -0
- package/dist/types/components/gl-entity-table-plus/useTableDataAnalysis.d.ts +63 -0
- package/dist/types/components/gl-entity-table-plus/useTableHeight.d.ts +63 -0
- package/dist/types/components/gl-entity-table-plus/views/GlEntityCardView.vue.d.ts +76 -0
- package/dist/types/components/gl-entity-table-plus/views/GlEntityGalleryView.vue.d.ts +62 -0
- package/dist/types/components/gl-entity-table-plus/views/GlEntityPivotView.vue.d.ts +90 -0
- package/dist/types/components/gl-entity-table-plus/views/GlEntityTableStatView.vue.d.ts +127 -0
- package/dist/types/components/gl-entity-table-plus/views/GlEntityTableView.vue.d.ts +1150 -0
- package/dist/types/components/gl-entity-tree/GlBaseTree.vue.d.ts +944 -0
- package/dist/types/components/gl-entity-tree/GlEntityTree.vue.d.ts +1407 -0
- package/dist/types/components/gl-entity-tree/types.d.ts +11 -0
- package/dist/types/components/gl-flex-layout/GlFlexLayout.vue.d.ts +246 -0
- package/dist/types/components/gl-hidden-area/GlHiddenArea.vue.d.ts +109 -0
- package/dist/types/components/gl-iconfont-select/GlIconfontSelect.vue.d.ts +58 -0
- package/dist/types/components/gl-image/GlImage.vue.d.ts +554 -0
- package/dist/types/components/gl-import/GlImport.vue.d.ts +33 -0
- package/dist/types/components/gl-inst-runtime/GlInstRuntime.vue.d.ts +119 -0
- package/dist/types/components/gl-inst-runtime/GlInstsRuntime.vue.d.ts +100 -0
- package/dist/types/components/gl-layout-page/GlLayoutPage.vue.d.ts +224 -0
- package/dist/types/components/gl-layout-site/GlLayout.d.ts +24 -0
- package/dist/types/components/gl-layout-site/GlLayoutModeCollapse.vue.d.ts +19 -0
- package/dist/types/components/gl-layout-site/GlLayoutModeSidebar.vue.d.ts +41 -0
- package/dist/types/components/gl-layout-site/GlLayoutModeTopNav.vue.d.ts +19 -0
- package/dist/types/components/gl-layout-site/GlLayoutSite.vue.d.ts +26 -0
- package/dist/types/components/gl-layout-site/LayoutStore.d.ts +86 -0
- package/dist/types/components/gl-layout-site/ThemeSetting.vue.d.ts +19 -0
- package/dist/types/components/gl-list/GlList.vue.d.ts +104 -0
- package/dist/types/components/gl-metric-comparison-table/GlMetricComparisonTable.vue.d.ts +302 -0
- package/dist/types/components/gl-multi-components/GlMultiComponents.vue.d.ts +183 -0
- package/dist/types/components/gl-multi-components/locale/en-US.d.ts +5 -0
- package/dist/types/components/gl-multi-components/locale/zh-CN.d.ts +5 -0
- package/dist/types/components/gl-op-record/GlOpRecord.vue.d.ts +19 -0
- package/dist/types/components/gl-org-select/choose.vue.d.ts +124 -0
- package/dist/types/components/gl-org-select/index.vue.d.ts +178 -0
- package/dist/types/components/gl-org-select/tree.vue.d.ts +125 -0
- package/dist/types/components/gl-org-user-select/choose.vue.d.ts +428 -0
- package/dist/types/components/gl-org-user-select/index.vue.d.ts +178 -0
- package/dist/types/components/gl-org-user-select/list.vue.d.ts +133 -0
- package/dist/types/components/gl-page/GlPage.vue.d.ts +372 -0
- package/dist/types/components/gl-page-help/GlPageHelp.vue.d.ts +13 -0
- package/dist/types/components/gl-page-template/GlPageTemplateFlow.vue.d.ts +197 -0
- package/dist/types/components/gl-page-template/GlPageTemplateFlowApprove.vue.d.ts +19 -0
- package/dist/types/components/gl-page-template/ItemsManager.d.ts +23 -0
- package/dist/types/components/gl-page-template/locale/en-US.d.ts +25 -0
- package/dist/types/components/gl-page-template/locale/zh-CN.d.ts +25 -0
- package/dist/types/components/gl-page-template/state-wf/StateWFApprove.vue.d.ts +293 -0
- package/dist/types/components/gl-page-template/state-wf/StateWFTransfer.vue.d.ts +30 -0
- package/dist/types/components/gl-page-template/state-wf/stateWfApi.d.ts +114 -0
- package/dist/types/components/gl-pagination/GlPagination.vue.d.ts +19 -0
- package/dist/types/components/gl-pdf/GlPdf.vue.d.ts +90 -0
- package/dist/types/components/gl-popover/GlPopover.vue.d.ts +138 -0
- package/dist/types/components/gl-query/index.vue.d.ts +243 -0
- package/dist/types/components/gl-query/query.d.ts +47 -0
- package/dist/types/components/gl-rate/GlRate.vue.d.ts +19 -0
- package/dist/types/components/gl-ref-page/GlRefPage.vue.d.ts +171 -0
- package/dist/types/components/gl-regular-expression/GlRegularExpression.vue.d.ts +134 -0
- package/dist/types/components/gl-regular-expression/common.vue.d.ts +248 -0
- package/dist/types/components/gl-regular-expression/select.vue.d.ts +352 -0
- package/dist/types/components/gl-regular-expression/type.d.ts +17 -0
- package/dist/types/components/gl-row-col-layout/GlRowColLayout.vue.d.ts +189 -0
- package/dist/types/components/gl-select/GlSelect.vue.d.ts +83 -0
- package/dist/types/components/gl-slot/GlSlot.vue.d.ts +105 -0
- package/dist/types/components/gl-space/GlSpace.vue.d.ts +121 -0
- package/dist/types/components/gl-static-dict/GlStaticDict.vue.d.ts +32 -0
- package/dist/types/components/gl-static-dict/list.vue.d.ts +86 -0
- package/dist/types/components/gl-static-dict/type.d.ts +4 -0
- package/dist/types/components/gl-statistic/GlStatistic.vue.d.ts +65 -0
- package/dist/types/components/gl-table-select/GlTableSelect.vue.d.ts +474 -0
- package/dist/types/components/gl-table-select/GlTableSelectList.vue.d.ts +87 -0
- package/dist/types/components/gl-table-select/index.d.ts +4 -0
- package/dist/types/components/gl-tabs/GlDynamicTabs.vue.d.ts +226 -0
- package/dist/types/components/gl-tabs/GlTabs.vue.d.ts +152 -0
- package/dist/types/components/gl-tag/GlTag.vue.d.ts +122 -0
- package/dist/types/components/gl-text/GlText.vue.d.ts +152 -0
- package/dist/types/components/gl-textarea/GlTextarea.vue.d.ts +37 -0
- package/dist/types/components/gl-timeline/GlTimeline.vue.d.ts +110 -0
- package/dist/types/components/gl-timeline/type.d.ts +16 -0
- package/dist/types/components/gl-toolbar/index.vue.d.ts +65 -0
- package/dist/types/components/gl-toolbar/locale/en-US.d.ts +4 -0
- package/dist/types/components/gl-toolbar/locale/zh-CN.d.ts +4 -0
- package/dist/types/components/gl-toolbar/toolbar.d.ts +10 -0
- package/dist/types/components/gl-tooltip/GlTooltip.vue.d.ts +100 -0
- package/dist/types/components/gl-tree-select/GlTreeSelect.vue.d.ts +163 -0
- package/dist/types/components/gl-trigger-select/GlTriggerSelect.vue.d.ts +129 -0
- package/dist/types/components/gl-upload/GlUpload.vue.d.ts +559 -0
- package/dist/types/components/gl-upload/clipboard.vue.d.ts +370 -0
- package/dist/types/components/gl-upload/composables/useExternalDropArea.d.ts +11 -0
- package/dist/types/components/gl-upload/composables/useFileManager.d.ts +19 -0
- package/dist/types/components/gl-upload/locale/en-US.d.ts +10 -0
- package/dist/types/components/gl-upload/locale/zh-CN.d.ts +10 -0
- package/dist/types/components/gl-user-select/GlUserSelect.vue.d.ts +239 -0
- package/dist/types/components/gl-user-select/GlUserSelectInline.vue.d.ts +189 -0
- package/dist/types/components/gl-user-select/GlUserSelectPanel.vue.d.ts +97 -0
- package/dist/types/components/gl-user-select/GlUserSelectWorkflow.vue.d.ts +186 -0
- package/dist/types/components/gl-user-select/locale/en-US.d.ts +32 -0
- package/dist/types/components/gl-user-select/locale/zh-CN.d.ts +32 -0
- package/dist/types/components/gl-user-select/types.d.ts +62 -0
- package/dist/types/components/gl-workflow/GlWorkflowApprove.vue.d.ts +395 -0
- package/dist/types/components/gl-workflow/GlWorkflowModal.vue.d.ts +2086 -0
- package/dist/types/components/gl-workflow/GlWorkflowStart.vue.d.ts +19 -0
- package/dist/types/components/gl-workflow/GlWorkflowStartForm.vue.d.ts +294 -0
- package/dist/types/components/gl-workflow/GlWorkflowTasks.vue.d.ts +17 -0
- package/dist/types/components/gl-workflow/composables/useWorkflow.d.ts +99 -0
- package/dist/types/components/gl-workflow/index.d.ts +1075 -0
- package/dist/types/components/gl-workflow/types.d.ts +232 -0
- package/dist/types/composables/index.d.ts +3 -0
- package/dist/types/composables/useDropdownTriggerProps.d.ts +12 -0
- package/dist/types/composables/useStatus.d.ts +17 -0
- package/dist/types/composables/useTree.d.ts +31 -0
- package/dist/types/hooks/useEntityQuery.d.ts +8 -0
- package/dist/types/locale/en-US.d.ts +203 -0
- package/dist/types/locale/zh-CN.d.ts +203 -0
- package/dist/types/main.d.ts +16 -0
- package/dist/types/types/global.d.ts +64 -0
- package/package.json +78 -0
- package/src/main.ts +231 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { useEmailForm } from './useEmailForm';
|
|
2
|
+
export { useEmailValidation } from './useEmailValidation';
|
|
3
|
+
export { useEmailOperations } from './useEmailOperations';
|
|
4
|
+
export { useEmailSchedule } from './useEmailSchedule';
|
|
5
|
+
export { useEmailPreview } from './useEmailPreview';
|
|
6
|
+
export { useEmailData } from './useEmailData';
|
|
7
|
+
export { useUserInfo } from './useUserInfo';
|
|
8
|
+
export * from '../types';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Ref } from '../../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
import { PageProvideProxy } from '@geelato/gl-runtime-core';
|
|
3
|
+
import { EmailData } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* 邮件数据加载组合式函数
|
|
6
|
+
*/
|
|
7
|
+
export declare function useEmailData(formData: Ref<EmailData>, normalizeEmailArray: (value: string | string[] | undefined) => string[], pageProvideProxy: PageProvideProxy, props: any, emits: any, ccVisible: Ref<boolean>, bccVisible: Ref<boolean>): {
|
|
8
|
+
entityRecordId: Ref<string, string>;
|
|
9
|
+
copyEntityRecordId: Ref<string, string>;
|
|
10
|
+
isLastFetchedDataEmpty: Ref<boolean, boolean>;
|
|
11
|
+
isCopyCreate: Ref<boolean, boolean>;
|
|
12
|
+
formParams: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
fetchData: (params?: {
|
|
16
|
+
id: string;
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}, reRender?: boolean) => Promise<void>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { EmailData } from '../types';
|
|
2
|
+
import { Ref, ComputedRef } from '../../../../vue/dist/vue.esm-bundler.js';
|
|
3
|
+
/**
|
|
4
|
+
* 邮件表单数据管理组合式函数
|
|
5
|
+
*/
|
|
6
|
+
export declare function useEmailForm(props: any, emits: any, isReadonly: any): {
|
|
7
|
+
formData: Ref<{
|
|
8
|
+
id?: string | undefined;
|
|
9
|
+
sender: string[];
|
|
10
|
+
receivers: string[];
|
|
11
|
+
cc: string[];
|
|
12
|
+
bcc: string[];
|
|
13
|
+
subject: string;
|
|
14
|
+
content: string;
|
|
15
|
+
templates?: string | undefined;
|
|
16
|
+
attachmentIds: string;
|
|
17
|
+
enableStatus: boolean;
|
|
18
|
+
specialTime: string;
|
|
19
|
+
bizRef?: string | undefined;
|
|
20
|
+
bizRefType?: string | undefined;
|
|
21
|
+
status?: string | undefined;
|
|
22
|
+
creator?: string | undefined;
|
|
23
|
+
}, EmailData | {
|
|
24
|
+
id?: string | undefined;
|
|
25
|
+
sender: string[];
|
|
26
|
+
receivers: string[];
|
|
27
|
+
cc: string[];
|
|
28
|
+
bcc: string[];
|
|
29
|
+
subject: string;
|
|
30
|
+
content: string;
|
|
31
|
+
templates?: string | undefined;
|
|
32
|
+
attachmentIds: string;
|
|
33
|
+
enableStatus: boolean;
|
|
34
|
+
specialTime: string;
|
|
35
|
+
bizRef?: string | undefined;
|
|
36
|
+
bizRefType?: string | undefined;
|
|
37
|
+
status?: string | undefined;
|
|
38
|
+
creator?: string | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
ccVisible: Ref<boolean, boolean>;
|
|
41
|
+
bccVisible: Ref<boolean, boolean>;
|
|
42
|
+
loading: Ref<boolean, boolean>;
|
|
43
|
+
emailStatus: ComputedRef<string>;
|
|
44
|
+
isNewEmail: ComputedRef<boolean>;
|
|
45
|
+
canEdit: ComputedRef<boolean>;
|
|
46
|
+
canSend: ComputedRef<boolean>;
|
|
47
|
+
canSave: ComputedRef<boolean>;
|
|
48
|
+
canDelete: ComputedRef<boolean>;
|
|
49
|
+
sendButtonVisible: ComputedRef<any>;
|
|
50
|
+
saveButtonVisible: ComputedRef<any>;
|
|
51
|
+
previewButtonVisible: ComputedRef<any>;
|
|
52
|
+
normalizeEmailArray: (value: string | string[] | undefined) => string[];
|
|
53
|
+
toggleCc: () => void;
|
|
54
|
+
toggleBcc: () => void;
|
|
55
|
+
clearForm: () => void;
|
|
56
|
+
watchOtherProps: () => void;
|
|
57
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Ref } from '../../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
import { EntitySaver } from '@geelato/gl-runtime-core';
|
|
3
|
+
import { EmailData, EmailOperationType } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* 邮件操作组合式函数
|
|
6
|
+
*/
|
|
7
|
+
export declare function useEmailOperations(formData: Ref<EmailData>, editorRef: Ref<any>, props: any, emits: any, global: any): {
|
|
8
|
+
loading: Ref<boolean, boolean>;
|
|
9
|
+
buildEmailRecord: (operation?: EmailOperationType, includeTimestamps?: boolean) => Record<string, any>;
|
|
10
|
+
buildEmailSaver: (operation?: EmailOperationType, includeTimestamps?: boolean) => EntitySaver;
|
|
11
|
+
handleEmailOperation: (operationType: EmailOperationType) => Promise<boolean>;
|
|
12
|
+
sendMail: () => Promise<boolean>;
|
|
13
|
+
saveMail: () => Promise<boolean>;
|
|
14
|
+
createEntitySaver: () => Promise<EntitySaver | string>;
|
|
15
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Ref, ComputedRef } from '../../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
import { EmailData, EmailPreviewData } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* 邮件预览组合式函数
|
|
5
|
+
*/
|
|
6
|
+
export declare function useEmailPreview(formData: Ref<EmailData>, editorRef: Ref<any>, buildEmailRecord: (operation?: 'send' | 'save', includeTimestamps?: boolean) => Record<string, any>): {
|
|
7
|
+
previewDrawerVisible: Ref<boolean, boolean>;
|
|
8
|
+
previewEmailData: ComputedRef<EmailPreviewData>;
|
|
9
|
+
previewMail: () => void;
|
|
10
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Ref } from '../../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
import { EmailData } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* 邮件定时发送组合式函数
|
|
5
|
+
*/
|
|
6
|
+
export declare function useEmailSchedule(formData: Ref<EmailData>): {
|
|
7
|
+
scheduleModalVisible: Ref<boolean, boolean>;
|
|
8
|
+
scheduleDateTime: Ref<string, string>;
|
|
9
|
+
handleScheduleSend: () => void;
|
|
10
|
+
handleCustomSchedule: () => void;
|
|
11
|
+
handleScheduleConfirm: () => void;
|
|
12
|
+
disabledDate: (current?: Date) => boolean;
|
|
13
|
+
formatScheduleTime: (timeStr: string) => string;
|
|
14
|
+
handleCancelSchedule: () => void;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* 独立导出:格式化时间文本,供其它组件(如预览)直接复用
|
|
18
|
+
*/
|
|
19
|
+
export declare function formatScheduleText(time?: string | Date): string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UserInfo } from '../types';
|
|
2
|
+
import { Ref } from '../../../../vue/dist/vue.esm-bundler.js';
|
|
3
|
+
/**
|
|
4
|
+
* 用户信息管理组合式函数
|
|
5
|
+
*/
|
|
6
|
+
export declare function useUserInfo(): {
|
|
7
|
+
currentUser: Ref<{
|
|
8
|
+
name: string;
|
|
9
|
+
email: string;
|
|
10
|
+
avatar: string;
|
|
11
|
+
}, UserInfo | {
|
|
12
|
+
name: string;
|
|
13
|
+
email: string;
|
|
14
|
+
avatar: string;
|
|
15
|
+
}>;
|
|
16
|
+
defaultAvatar: string;
|
|
17
|
+
getCurrentUser: () => void;
|
|
18
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
发送: string;
|
|
3
|
+
暂存: string;
|
|
4
|
+
预览: string;
|
|
5
|
+
复制源码: string;
|
|
6
|
+
发信设置: string;
|
|
7
|
+
'\u660E\u5929\u4E0A\u5348 9:00 \u53D1\u9001': string;
|
|
8
|
+
'\u81EA\u5B9A\u4E49\u65F6\u95F4\u53D1\u9001...': string;
|
|
9
|
+
删除: string;
|
|
10
|
+
邮件状态: string;
|
|
11
|
+
'\u53D1\u9001\u540E\uFF0C\u90AE\u4EF6\u5C06\u4E8E {0} \u53D1\u51FA': string;
|
|
12
|
+
取消: string;
|
|
13
|
+
发送人: string;
|
|
14
|
+
收件人: string;
|
|
15
|
+
抄送: string;
|
|
16
|
+
密送: string;
|
|
17
|
+
主题: string;
|
|
18
|
+
附件: string;
|
|
19
|
+
请选择发送人: string;
|
|
20
|
+
请选择收件人: string;
|
|
21
|
+
请选择抄送人: string;
|
|
22
|
+
请选择密送人: string;
|
|
23
|
+
请输入邮件标题: string;
|
|
24
|
+
当前用户: string;
|
|
25
|
+
未设置: string;
|
|
26
|
+
设置发送时间: string;
|
|
27
|
+
邮件预览: string;
|
|
28
|
+
关闭: string;
|
|
29
|
+
待发送: string;
|
|
30
|
+
发送成功: string;
|
|
31
|
+
发送失败: string;
|
|
32
|
+
部分成功: string;
|
|
33
|
+
草稿: string;
|
|
34
|
+
未知状态: string;
|
|
35
|
+
新建: string;
|
|
36
|
+
'\u5B9A\u65F6\u53D1\u9001\uFF1A{0}': string;
|
|
37
|
+
'(\u65E0\u4E3B\u9898)': string;
|
|
38
|
+
'\uFF08\u65E0\uFF09': string;
|
|
39
|
+
'(\u65E0\u5185\u5BB9)': string;
|
|
40
|
+
'\u53D1\u4EF6\u4EBA\uFF1A': string;
|
|
41
|
+
'\u6536\u4EF6\u4EBA\uFF1A': string;
|
|
42
|
+
'\u6284\u9001\uFF1A': string;
|
|
43
|
+
'\u5BC6\u9001\uFF1A': string;
|
|
44
|
+
无效时间: string;
|
|
45
|
+
'\u4ECA\u5929 {0}': string;
|
|
46
|
+
'\u660E\u5929 {0}': string;
|
|
47
|
+
'\u5468{0} {1}': string;
|
|
48
|
+
'{0}\u5E74{1}\u6708{2}\u65E5 {3}': string;
|
|
49
|
+
时间格式错误: string;
|
|
50
|
+
};
|
|
51
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
发送: string;
|
|
3
|
+
暂存: string;
|
|
4
|
+
预览: string;
|
|
5
|
+
复制源码: string;
|
|
6
|
+
发信设置: string;
|
|
7
|
+
'\u660E\u5929\u4E0A\u5348 9:00 \u53D1\u9001': string;
|
|
8
|
+
'\u81EA\u5B9A\u4E49\u65F6\u95F4\u53D1\u9001...': string;
|
|
9
|
+
删除: string;
|
|
10
|
+
邮件状态: string;
|
|
11
|
+
'\u53D1\u9001\u540E\uFF0C\u90AE\u4EF6\u5C06\u4E8E {0} \u53D1\u51FA': string;
|
|
12
|
+
取消: string;
|
|
13
|
+
发送人: string;
|
|
14
|
+
收件人: string;
|
|
15
|
+
抄送: string;
|
|
16
|
+
密送: string;
|
|
17
|
+
主题: string;
|
|
18
|
+
附件: string;
|
|
19
|
+
请选择发送人: string;
|
|
20
|
+
请选择收件人: string;
|
|
21
|
+
请选择抄送人: string;
|
|
22
|
+
请选择密送人: string;
|
|
23
|
+
请输入邮件标题: string;
|
|
24
|
+
当前用户: string;
|
|
25
|
+
未设置: string;
|
|
26
|
+
设置发送时间: string;
|
|
27
|
+
邮件预览: string;
|
|
28
|
+
关闭: string;
|
|
29
|
+
待发送: string;
|
|
30
|
+
发送成功: string;
|
|
31
|
+
发送失败: string;
|
|
32
|
+
部分成功: string;
|
|
33
|
+
草稿: string;
|
|
34
|
+
未知状态: string;
|
|
35
|
+
新建: string;
|
|
36
|
+
'\u5B9A\u65F6\u53D1\u9001\uFF1A{0}': string;
|
|
37
|
+
'(\u65E0\u4E3B\u9898)': string;
|
|
38
|
+
'\uFF08\u65E0\uFF09': string;
|
|
39
|
+
'(\u65E0\u5185\u5BB9)': string;
|
|
40
|
+
'\u53D1\u4EF6\u4EBA\uFF1A': string;
|
|
41
|
+
'\u6536\u4EF6\u4EBA\uFF1A': string;
|
|
42
|
+
'\u6284\u9001\uFF1A': string;
|
|
43
|
+
'\u5BC6\u9001\uFF1A': string;
|
|
44
|
+
无效时间: string;
|
|
45
|
+
'\u4ECA\u5929 {0}': string;
|
|
46
|
+
'\u660E\u5929 {0}': string;
|
|
47
|
+
'\u5468{0} {1}': string;
|
|
48
|
+
'{0}\u5E74{1}\u6708{2}\u65E5 {3}': string;
|
|
49
|
+
时间格式错误: string;
|
|
50
|
+
};
|
|
51
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 邮件数据接口
|
|
3
|
+
*/
|
|
4
|
+
export interface EmailData {
|
|
5
|
+
id?: string;
|
|
6
|
+
sender: string[];
|
|
7
|
+
receivers: string[];
|
|
8
|
+
cc: string[];
|
|
9
|
+
bcc: string[];
|
|
10
|
+
subject: string;
|
|
11
|
+
content: string;
|
|
12
|
+
templates?: string;
|
|
13
|
+
attachmentIds: string;
|
|
14
|
+
enableStatus: boolean;
|
|
15
|
+
specialTime: string;
|
|
16
|
+
bizRef?: string;
|
|
17
|
+
bizRefType?: string;
|
|
18
|
+
status?: string;
|
|
19
|
+
creator?: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* 邮件操作类型
|
|
23
|
+
*/
|
|
24
|
+
export type EmailOperationType = 'send' | 'save';
|
|
25
|
+
/**
|
|
26
|
+
* 邮件验证错误信息
|
|
27
|
+
*/
|
|
28
|
+
export interface EmailValidationError {
|
|
29
|
+
field: string;
|
|
30
|
+
message: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* 邮件预览数据
|
|
34
|
+
*/
|
|
35
|
+
export interface EmailPreviewData {
|
|
36
|
+
title: string;
|
|
37
|
+
sender: string;
|
|
38
|
+
receivers: string;
|
|
39
|
+
cc: string;
|
|
40
|
+
bcc: string;
|
|
41
|
+
content: string;
|
|
42
|
+
scheduleTime: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 用户信息
|
|
46
|
+
*/
|
|
47
|
+
export interface UserInfo {
|
|
48
|
+
name: string;
|
|
49
|
+
email: string;
|
|
50
|
+
avatar: string;
|
|
51
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
modelValue: StringConstructor;
|
|
4
|
+
description: StringConstructor;
|
|
5
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (...args: any[]) => void;
|
|
7
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
8
|
+
modelValue: StringConstructor;
|
|
9
|
+
description: StringConstructor;
|
|
10
|
+
}>> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
import { IComponentInstance } from '@geelato/gl-types';
|
|
3
|
+
import { ComponentInstance } from '@geelato/gl-ui-schema';
|
|
4
|
+
import { PageCustomType, PagePermission } from '@geelato/gl-runtime-core';
|
|
5
|
+
/**
|
|
6
|
+
* 编码控件
|
|
7
|
+
* 在页面创建状态时才会调用后台服务生成编码,编码规则在后台中定义
|
|
8
|
+
* 页面的其它状态下,只读,不生成编码
|
|
9
|
+
*/
|
|
10
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
11
|
+
parentId: {
|
|
12
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
13
|
+
};
|
|
14
|
+
glComponentInst: {
|
|
15
|
+
type: PropType< IComponentInstance>;
|
|
16
|
+
default(): ComponentInstance;
|
|
17
|
+
};
|
|
18
|
+
glChildren: {
|
|
19
|
+
type: PropType<Array< IComponentInstance>>;
|
|
20
|
+
default(): never[];
|
|
21
|
+
};
|
|
22
|
+
glCtx: {
|
|
23
|
+
type: ObjectConstructor;
|
|
24
|
+
default(): {};
|
|
25
|
+
};
|
|
26
|
+
glIsRuntime: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default(): boolean;
|
|
29
|
+
};
|
|
30
|
+
glRuntimeFlag: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default(): string;
|
|
33
|
+
};
|
|
34
|
+
glIndex: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
};
|
|
37
|
+
glLoopItem: ObjectConstructor;
|
|
38
|
+
glLoopIndex: NumberConstructor;
|
|
39
|
+
glIgnoreInjectPageProxy: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default(): boolean;
|
|
42
|
+
};
|
|
43
|
+
componentStoreId: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default(): string;
|
|
46
|
+
};
|
|
47
|
+
pageCustom: PropType< PageCustomType>;
|
|
48
|
+
pagePermission: PropType< PagePermission>;
|
|
49
|
+
glDoAction: {
|
|
50
|
+
type: FunctionConstructor;
|
|
51
|
+
required: boolean;
|
|
52
|
+
};
|
|
53
|
+
modelValue: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default(): string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* 编码ID
|
|
59
|
+
* 对应编码表中的ID
|
|
60
|
+
*/
|
|
61
|
+
codedId: StringConstructor;
|
|
62
|
+
/**
|
|
63
|
+
* 编码参数,编码时需要用到的参数,如:{key: 'CC', value:'SZ'},CC代表公司,SZ代表深圳公司
|
|
64
|
+
*/
|
|
65
|
+
params: {
|
|
66
|
+
type: PropType<Array<{
|
|
67
|
+
key: string;
|
|
68
|
+
value: any;
|
|
69
|
+
}>>;
|
|
70
|
+
default(): never[];
|
|
71
|
+
};
|
|
72
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
73
|
+
"update:modelValue": (...args: any[]) => void;
|
|
74
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
75
|
+
parentId: {
|
|
76
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
77
|
+
};
|
|
78
|
+
glComponentInst: {
|
|
79
|
+
type: PropType< IComponentInstance>;
|
|
80
|
+
default(): ComponentInstance;
|
|
81
|
+
};
|
|
82
|
+
glChildren: {
|
|
83
|
+
type: PropType<Array< IComponentInstance>>;
|
|
84
|
+
default(): never[];
|
|
85
|
+
};
|
|
86
|
+
glCtx: {
|
|
87
|
+
type: ObjectConstructor;
|
|
88
|
+
default(): {};
|
|
89
|
+
};
|
|
90
|
+
glIsRuntime: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default(): boolean;
|
|
93
|
+
};
|
|
94
|
+
glRuntimeFlag: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default(): string;
|
|
97
|
+
};
|
|
98
|
+
glIndex: {
|
|
99
|
+
type: NumberConstructor;
|
|
100
|
+
};
|
|
101
|
+
glLoopItem: ObjectConstructor;
|
|
102
|
+
glLoopIndex: NumberConstructor;
|
|
103
|
+
glIgnoreInjectPageProxy: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default(): boolean;
|
|
106
|
+
};
|
|
107
|
+
componentStoreId: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default(): string;
|
|
110
|
+
};
|
|
111
|
+
pageCustom: PropType< PageCustomType>;
|
|
112
|
+
pagePermission: PropType< PagePermission>;
|
|
113
|
+
glDoAction: {
|
|
114
|
+
type: FunctionConstructor;
|
|
115
|
+
required: boolean;
|
|
116
|
+
};
|
|
117
|
+
modelValue: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default(): string;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* 编码ID
|
|
123
|
+
* 对应编码表中的ID
|
|
124
|
+
*/
|
|
125
|
+
codedId: StringConstructor;
|
|
126
|
+
/**
|
|
127
|
+
* 编码参数,编码时需要用到的参数,如:{key: 'CC', value:'SZ'},CC代表公司,SZ代表深圳公司
|
|
128
|
+
*/
|
|
129
|
+
params: {
|
|
130
|
+
type: PropType<Array<{
|
|
131
|
+
key: string;
|
|
132
|
+
value: any;
|
|
133
|
+
}>>;
|
|
134
|
+
default(): never[];
|
|
135
|
+
};
|
|
136
|
+
}>> & Readonly<{
|
|
137
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
138
|
+
}>, {
|
|
139
|
+
modelValue: string;
|
|
140
|
+
params: {
|
|
141
|
+
key: string;
|
|
142
|
+
value: any;
|
|
143
|
+
}[];
|
|
144
|
+
glComponentInst: IComponentInstance;
|
|
145
|
+
glChildren: IComponentInstance[];
|
|
146
|
+
glCtx: Record<string, any>;
|
|
147
|
+
glIsRuntime: boolean;
|
|
148
|
+
glRuntimeFlag: string;
|
|
149
|
+
glIgnoreInjectPageProxy: boolean;
|
|
150
|
+
componentStoreId: string;
|
|
151
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
152
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
import { EntityReader } from '@geelato/gl-runtime-core';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
modelValue: (StringConstructor | ArrayConstructor)[];
|
|
5
|
+
/**
|
|
6
|
+
* 数据实体
|
|
7
|
+
*/
|
|
8
|
+
entityReader: {
|
|
9
|
+
type: PropType<EntityReader>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (...args: any[]) => void;
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
15
|
+
modelValue: (StringConstructor | ArrayConstructor)[];
|
|
16
|
+
/**
|
|
17
|
+
* 数据实体
|
|
18
|
+
*/
|
|
19
|
+
entityReader: {
|
|
20
|
+
type: PropType<EntityReader>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{
|
|
24
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
export default _default;
|