@dazhicheng/ui 1.6.71 → 1.6.72
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/assets/svg/download.svg.js +1 -1
- package/dist/components/tt-api-component/index.js +4 -3
- package/dist/components/tt-api-component/index.vue2.js +3 -2
- package/dist/components/tt-area/TtArea.vue.js +1 -1
- package/dist/components/tt-area/TtArea.vue3.js +3 -2
- package/dist/components/tt-button/index.d.ts +28 -28
- package/dist/components/tt-button/index.js +5 -4
- package/dist/components/tt-button/index.vue.d.ts +16 -16
- package/dist/components/tt-button/index.vue2.js +18 -17
- package/dist/components/tt-checkbox/index.js +4 -3
- package/dist/components/tt-checkbox/index.vue.js +9 -8
- package/dist/components/tt-config-provider/index.js +4 -3
- package/dist/components/tt-custom-export-modal/index.js +4 -3
- package/dist/components/tt-custom-export-modal/src/assets/search.svg.js +5 -5
- package/dist/components/tt-custom-export-modal/src/assets/star.svg.js +3 -3
- package/dist/components/tt-custom-export-modal/src/assets/trash.svg.js +7 -7
- package/dist/components/tt-custom-export-modal/src/components/FieldGridSection.vue.js +1 -1
- package/dist/components/tt-custom-export-modal/src/components/FieldGridSection.vue2.js +3 -2
- package/dist/components/tt-custom-export-panel/index.js +4 -3
- package/dist/components/tt-custom-export-panel/src/TtCustomExportPanel.vue.js +3 -2
- package/dist/components/tt-drawer/index.d.ts +109 -109
- package/dist/components/tt-drawer/index.js +4 -3
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +60 -60
- package/dist/components/tt-drawer/src/RenderDrawer.vue.js +3 -2
- package/dist/components/tt-drawer/src/components/DrawerFooter.vue.js +3 -2
- package/dist/components/tt-drawer/src/components/DrawerHeader.vue.js +2 -2
- package/dist/components/tt-drawer/src/components/DrawerHeader.vue2.js +7 -6
- package/dist/components/tt-drawer/src/props.js +3 -2
- package/dist/components/tt-drawer/src/utils/drawer-api.js +3 -2
- package/dist/components/tt-empty/index.d.ts +4 -4
- package/dist/components/tt-empty/index.js +4 -3
- package/dist/components/tt-form/index.js +9 -8
- package/dist/components/tt-form/src/components/ExpandableArrow.vue2.js +8 -7
- package/dist/components/tt-form/src/components/FormActions.vue2.js +33 -32
- package/dist/components/tt-form/src/components/FormElInput.vue.d.ts +10 -10
- package/dist/components/tt-form/src/form/FormDescription.vue.js +3 -2
- package/dist/components/tt-form/src/form/FormItem.vue.js +3 -2
- package/dist/components/tt-form/src/form/FormLabel.vue.js +6 -5
- package/dist/components/tt-form/src/form/RenderContent.vue.js +7 -6
- package/dist/components/tt-form/src/form-render/FormField.vue2.js +3 -2
- package/dist/components/tt-form/src/form-render/FormLabel.vue2.js +3 -2
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.js +1 -0
- package/dist/components/tt-form/src/form-render/array-register/utils.js +3 -2
- package/dist/components/tt-form/src/form-render/dependencies.js +30 -29
- package/dist/components/tt-form/src/form-render/form.vue2.js +3 -2
- package/dist/components/tt-form/src/form-render/helper.js +3 -2
- package/dist/components/tt-form/src/form-render/rootWrapperClass.js +3 -2
- package/dist/components/tt-form/src/group-form/GroupForm.vue2.js +3 -2
- package/dist/components/tt-form/src/group-form/GroupSection.vue2.js +1 -0
- package/dist/components/tt-form/src/group-form/LazyFormField.vue.js +3 -2
- package/dist/components/tt-form/src/group-form/groupFormApi.js +3 -2
- package/dist/components/tt-form/src/hooks/useForwardPriorityValues.js +13 -12
- package/dist/components/tt-form/src/hooks/useSelectCollapse.js +3 -2
- package/dist/components/tt-form/src/index.vue2.js +3 -2
- package/dist/components/tt-form/src/useFormContext.js +10 -9
- package/dist/components/tt-form-item-error-tooltip/index.js +5 -4
- package/dist/components/tt-form-item-error-tooltip/index.vue.js +3 -2
- package/dist/components/tt-icon/index.js +6 -5
- package/dist/components/tt-icon/index.vue.js +2 -2
- package/dist/components/tt-image/index.d.ts +29 -29
- package/dist/components/tt-image/index.js +6 -5
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +20 -20
- package/dist/components/tt-image/src/components/ImageViewer.js +8 -7
- package/dist/components/tt-image/tt-image.d.ts +29 -29
- package/dist/components/tt-input-textarea/index.js +4 -3
- package/dist/components/tt-input-textarea/index.vue.d.ts +40 -40
- package/dist/components/tt-input-textarea/index.vue.js +3 -2
- package/dist/components/tt-loading/index.js +4 -3
- package/dist/components/tt-loading/src/directive.js +4 -3
- package/dist/components/tt-loading/src/loading.vue.js +2 -2
- package/dist/components/tt-log/index.js +4 -3
- package/dist/components/tt-log/index.vue.js +5 -4
- package/dist/components/tt-modal/index.d.ts +150 -150
- package/dist/components/tt-modal/index.js +8 -7
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +42 -42
- package/dist/components/tt-modal/src/RenderModal.vue.js +3 -2
- package/dist/components/tt-modal/src/components/ModalFooter.vue2.js +3 -2
- package/dist/components/tt-modal/src/components/ModalHeader.vue2.js +3 -2
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.js +3 -2
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +17 -17
- package/dist/components/tt-modal/src/props.js +3 -2
- package/dist/components/tt-modal/src/utils/modal-api.js +9 -8
- package/dist/components/tt-modal-form/index.vue.js +3 -2
- package/dist/components/tt-nav-anchor/index.js +4 -3
- package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.js +3 -2
- package/dist/components/tt-panel-select/index.js +4 -3
- package/dist/components/tt-panel-select/src/common.js +5 -4
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +5 -5
- package/dist/components/tt-panel-select/src/hooks/usePanelData.js +3 -2
- package/dist/components/tt-panel-select/src/index.vue.d.ts +5 -5
- package/dist/components/tt-panel-select/src/index.vue.js +3 -2
- package/dist/components/tt-radio-group/index.js +4 -3
- package/dist/components/tt-radio-group/index.vue.js +18 -17
- package/dist/components/tt-select/index.js +4 -3
- package/dist/components/tt-select/src/Select.vue.js +3 -2
- package/dist/components/tt-select/src/components/SelectTable.vue.js +3 -2
- package/dist/components/tt-select/src/components/Table.vue.js +3 -2
- package/dist/components/tt-select/src/hooks/useDataSource.js +3 -2
- package/dist/components/tt-select/src/hooks/useSelect.js +18 -17
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.js +3 -2
- package/dist/components/tt-table/index.js +6 -5
- package/dist/components/tt-table/src/Table.vue.js +3 -2
- package/dist/components/tt-table/src/TableForm.vue.js +3 -2
- package/dist/components/tt-table/src/components/TableAction.vue.js +8 -7
- package/dist/components/tt-table/src/components/TableButtons.js +3 -2
- package/dist/components/tt-table/src/components/TableColumnModal.vue2.js +3 -2
- package/dist/components/tt-table/src/components/TableToolbarTools.vue.js +3 -2
- package/dist/components/tt-table/src/hooks/useColumnPersistence.js +17 -16
- package/dist/components/tt-table/src/hooks/useColumns.js +3 -2
- package/dist/components/tt-table/src/hooks/useKeyboardNav.js +18 -17
- package/dist/components/tt-table/src/hooks/usePagination.js +20 -19
- package/dist/components/tt-table/src/hooks/useQuery.js +9 -8
- package/dist/components/tt-table/src/hooks/useRowIdentity.js +3 -2
- package/dist/components/tt-table/src/hooks/useRowSelection.js +25 -24
- package/dist/components/tt-table/src/hooks/useSideSlot.js +9 -8
- package/dist/components/tt-table/src/hooks/useSyncProps.js +11 -10
- package/dist/components/tt-table/src/hooks/useTableData.js +5 -4
- package/dist/components/tt-table/src/hooks/useTableFooter.js +13 -12
- package/dist/components/tt-table/src/hooks/useTableForm.js +20 -19
- package/dist/components/tt-table/src/props.js +7 -6
- package/dist/components/tt-table/src/table-mutation-events.js +12 -11
- package/dist/components/tt-table/src/utils/action-tab-index.js +5 -4
- package/dist/components/tt-table/src/utils/context.js +9 -8
- package/dist/components/tt-text/index.js +4 -3
- package/dist/components/tt-upload/index.d.ts +60 -60
- package/dist/components/tt-upload/index.js +6 -5
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +37 -37
- package/dist/components/tt-upload/src/TtUpload.vue.js +3 -2
- package/dist/components/tt-upload/src/typing.d.ts +17 -17
- package/dist/directives/disabled-tip/index.js +3 -2
- package/dist/hooks/useFormSchemasLink.js +3 -2
- package/dist/hooks/useFormat.js +3 -2
- package/dist/hooks/usePanelSelectSchemas.js +3 -2
- package/dist/hooks/useScreenshotOss.js +3 -2
- package/dist/packages/hooks/src/useDebounce.js +3 -2
- package/dist/packages/hooks/src/useElementScreenshot.js +3 -2
- package/dist/packages/hooks/src/usePriorityValue.js +9 -8
- package/dist/packages/utils/src/stateHandler.js +15 -9
- package/dist/plugins/default/renderCellContent.js +12 -11
- package/dist/plugins/vxeTable/switchStatus.js +13 -12
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -8,6 +8,7 @@ import "xe-utils";
|
|
|
8
8
|
import "dayjs/plugin/utc";
|
|
9
9
|
import "dayjs/plugin/timezone";
|
|
10
10
|
import "../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
|
|
11
|
+
import "../../packages/utils/src/stateHandler.js";
|
|
11
12
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
12
13
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
13
14
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
@@ -18,14 +19,14 @@ import t from "./src/RenderModal.vue.js";
|
|
|
18
19
|
import "@tanstack/vue-store";
|
|
19
20
|
import "vue-router";
|
|
20
21
|
import "@vueuse/core";
|
|
21
|
-
import { closeAllTtModal as
|
|
22
|
-
const r = o(t),
|
|
22
|
+
import { closeAllTtModal as k, closeTtModal as q, openTtModal as v, ttModal as y } from "./src/utils/modal-service.js";
|
|
23
|
+
const r = o(t), b = r;
|
|
23
24
|
export {
|
|
24
25
|
r as RenderModal,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
b as TtModal,
|
|
27
|
+
k as closeAllTtModal,
|
|
28
|
+
q as closeTtModal,
|
|
28
29
|
r as default,
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
v as openTtModal,
|
|
31
|
+
y as ttModal
|
|
31
32
|
};
|
|
@@ -453,7 +453,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
453
453
|
default: () => boolean | undefined;
|
|
454
454
|
};
|
|
455
455
|
appendToBody: BooleanConstructor;
|
|
456
|
-
appendTo: import('element-plus/es/utils/
|
|
456
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown, "body", boolean>;
|
|
457
457
|
beforeClose: {
|
|
458
458
|
readonly type: PropType<import('element-plus').DialogBeforeCloseFn>;
|
|
459
459
|
readonly required: false;
|
|
@@ -461,14 +461,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
461
461
|
__epPropKey: true;
|
|
462
462
|
};
|
|
463
463
|
destroyOnClose: BooleanConstructor;
|
|
464
|
-
closeOnClickModal: import('element-plus/es/utils/
|
|
465
|
-
closeOnPressEscape: import('element-plus/es/utils/
|
|
466
|
-
lockScroll: import('element-plus/es/utils/
|
|
464
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
465
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
466
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
467
467
|
modalPenetrable: BooleanConstructor;
|
|
468
|
-
openDelay: import('element-plus/es/utils/
|
|
469
|
-
closeDelay: import('element-plus/es/utils/
|
|
468
|
+
openDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
469
|
+
closeDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
470
470
|
modelValue: BooleanConstructor;
|
|
471
|
-
modalClass: import('element-plus/es/utils/
|
|
471
|
+
modalClass: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
472
472
|
zIndex: {
|
|
473
473
|
readonly type: PropType<number>;
|
|
474
474
|
readonly required: false;
|
|
@@ -476,22 +476,22 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
476
476
|
__epPropKey: true;
|
|
477
477
|
};
|
|
478
478
|
trapFocus: BooleanConstructor;
|
|
479
|
-
headerAriaLevel: import('element-plus/es/utils/
|
|
480
|
-
transition: import('element-plus/es/utils/
|
|
479
|
+
headerAriaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
480
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | (((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
481
481
|
center: BooleanConstructor;
|
|
482
|
-
alignCenter: import('element-plus/es/utils/
|
|
482
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
483
483
|
closeIcon: {
|
|
484
|
-
readonly type: PropType<import('element-plus/es/utils/
|
|
484
|
+
readonly type: PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | (((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component)) | null)[], unknown, unknown>>;
|
|
485
485
|
readonly required: false;
|
|
486
486
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
487
487
|
__epPropKey: true;
|
|
488
488
|
};
|
|
489
|
-
overflow: import('element-plus/es/utils/
|
|
490
|
-
headerClass: import('element-plus/es/utils/
|
|
491
|
-
bodyClass: import('element-plus/es/utils/
|
|
492
|
-
footerClass: import('element-plus/es/utils/
|
|
493
|
-
showClose: import('element-plus/es/utils/
|
|
494
|
-
ariaLevel: import('element-plus/es/utils/
|
|
489
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
490
|
+
headerClass: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
491
|
+
bodyClass: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
492
|
+
footerClass: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
493
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
494
|
+
ariaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
495
495
|
}>, {
|
|
496
496
|
modalApi: TtModalExtendedModalApi;
|
|
497
497
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -588,7 +588,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
588
588
|
default: () => boolean | undefined;
|
|
589
589
|
};
|
|
590
590
|
appendToBody: BooleanConstructor;
|
|
591
|
-
appendTo: import('element-plus/es/utils/
|
|
591
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown, "body", boolean>;
|
|
592
592
|
beforeClose: {
|
|
593
593
|
readonly type: PropType<import('element-plus').DialogBeforeCloseFn>;
|
|
594
594
|
readonly required: false;
|
|
@@ -596,14 +596,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
596
596
|
__epPropKey: true;
|
|
597
597
|
};
|
|
598
598
|
destroyOnClose: BooleanConstructor;
|
|
599
|
-
closeOnClickModal: import('element-plus/es/utils/
|
|
600
|
-
closeOnPressEscape: import('element-plus/es/utils/
|
|
601
|
-
lockScroll: import('element-plus/es/utils/
|
|
599
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
600
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
601
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
602
602
|
modalPenetrable: BooleanConstructor;
|
|
603
|
-
openDelay: import('element-plus/es/utils/
|
|
604
|
-
closeDelay: import('element-plus/es/utils/
|
|
603
|
+
openDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
604
|
+
closeDelay: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
605
605
|
modelValue: BooleanConstructor;
|
|
606
|
-
modalClass: import('element-plus/es/utils/
|
|
606
|
+
modalClass: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
607
607
|
zIndex: {
|
|
608
608
|
readonly type: PropType<number>;
|
|
609
609
|
readonly required: false;
|
|
@@ -611,22 +611,22 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
611
611
|
__epPropKey: true;
|
|
612
612
|
};
|
|
613
613
|
trapFocus: BooleanConstructor;
|
|
614
|
-
headerAriaLevel: import('element-plus/es/utils/
|
|
615
|
-
transition: import('element-plus/es/utils/
|
|
614
|
+
headerAriaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
615
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | (((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
616
616
|
center: BooleanConstructor;
|
|
617
|
-
alignCenter: import('element-plus/es/utils/
|
|
617
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
618
618
|
closeIcon: {
|
|
619
|
-
readonly type: PropType<import('element-plus/es/utils/
|
|
619
|
+
readonly type: PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | (((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component)) | null)[], unknown, unknown>>;
|
|
620
620
|
readonly required: false;
|
|
621
621
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
622
622
|
__epPropKey: true;
|
|
623
623
|
};
|
|
624
|
-
overflow: import('element-plus/es/utils/
|
|
625
|
-
headerClass: import('element-plus/es/utils/
|
|
626
|
-
bodyClass: import('element-plus/es/utils/
|
|
627
|
-
footerClass: import('element-plus/es/utils/
|
|
628
|
-
showClose: import('element-plus/es/utils/
|
|
629
|
-
ariaLevel: import('element-plus/es/utils/
|
|
624
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
625
|
+
headerClass: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
626
|
+
bodyClass: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
627
|
+
footerClass: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[]) | (() => import('element-plus/es/utils/typescript.mjs').ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
628
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
629
|
+
ariaLevel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
630
630
|
}>> & Readonly<{
|
|
631
631
|
"onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
632
632
|
"onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
@@ -634,21 +634,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
634
634
|
}>, {
|
|
635
635
|
title: any;
|
|
636
636
|
visible: boolean;
|
|
637
|
-
appendTo: import('element-plus/es/utils/
|
|
638
|
-
transition: import('element-plus/es/utils/
|
|
637
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | null)[], unknown, unknown>;
|
|
638
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
|
|
639
639
|
size: "small" | "medium" | "mini";
|
|
640
640
|
center: boolean;
|
|
641
641
|
height: any;
|
|
642
642
|
draggable: boolean;
|
|
643
|
-
showClose: import('element-plus/es/utils/
|
|
643
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
644
644
|
loading: boolean;
|
|
645
645
|
modelValue: boolean;
|
|
646
|
-
closeOnPressEscape: import('element-plus/es/utils/
|
|
646
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
647
647
|
scrollTop: boolean;
|
|
648
648
|
minHeight: any;
|
|
649
649
|
showFooter: boolean;
|
|
650
650
|
fullscreen: boolean;
|
|
651
|
-
overflow: import('element-plus/es/utils/
|
|
651
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
652
652
|
testId: any;
|
|
653
653
|
cancelText: string;
|
|
654
654
|
okText: string;
|
|
@@ -666,15 +666,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
666
666
|
modalApi: TtModalExtendedModalApi;
|
|
667
667
|
appendToBody: boolean;
|
|
668
668
|
destroyOnClose: boolean;
|
|
669
|
-
closeOnClickModal: import('element-plus/es/utils/
|
|
670
|
-
lockScroll: import('element-plus/es/utils/
|
|
669
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
670
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
671
671
|
modalPenetrable: boolean;
|
|
672
672
|
openDelay: number;
|
|
673
673
|
closeDelay: number;
|
|
674
674
|
modalClass: import('element-plus/es/utils/typescript.mjs').ClassValue;
|
|
675
675
|
trapFocus: boolean;
|
|
676
676
|
headerAriaLevel: string;
|
|
677
|
-
alignCenter: import('element-plus/es/utils/
|
|
677
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
678
678
|
headerClass: import('element-plus/es/utils/typescript.mjs').ClassValue;
|
|
679
679
|
bodyClass: import('element-plus/es/utils/typescript.mjs').ClassValue;
|
|
680
680
|
footerClass: import('element-plus/es/utils/typescript.mjs').ClassValue;
|
|
@@ -12,6 +12,7 @@ import "xe-utils";
|
|
|
12
12
|
import "dayjs/plugin/utc";
|
|
13
13
|
import "dayjs/plugin/timezone";
|
|
14
14
|
import "../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
|
|
15
|
+
import "../../../packages/utils/src/stateHandler.js";
|
|
15
16
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
16
17
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
17
18
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
@@ -31,7 +32,7 @@ import { MODAL_OWNER_ACTIVE_KEY as $o, getClientDocument as Do } from "./utils/m
|
|
|
31
32
|
import { pushModal as ve, removeModal as J } from "./utils/modal-stack.js";
|
|
32
33
|
import { emitModalCloseTransitionEnd as Lo } from "./utils/modal-close-transition.js";
|
|
33
34
|
import xo from "../../../assets/svg/close.svg.js";
|
|
34
|
-
const Eo = ["aria-tt-id", "data-testid"], _o = ["data-testid"],
|
|
35
|
+
const Eo = ["aria-tt-id", "data-testid"], _o = ["data-testid"], Tt = /* @__PURE__ */ Ye({
|
|
35
36
|
name: "TtModal",
|
|
36
37
|
__name: "RenderModal",
|
|
37
38
|
props: {
|
|
@@ -411,5 +412,5 @@ const Eo = ["aria-tt-id", "data-testid"], _o = ["data-testid"], Ct = /* @__PURE_
|
|
|
411
412
|
}
|
|
412
413
|
});
|
|
413
414
|
export {
|
|
414
|
-
|
|
415
|
+
Tt as default
|
|
415
416
|
};
|
|
@@ -9,13 +9,14 @@ import "xe-utils";
|
|
|
9
9
|
import "dayjs/plugin/utc";
|
|
10
10
|
import "dayjs/plugin/timezone";
|
|
11
11
|
import "../../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
|
|
12
|
+
import "../../../../packages/utils/src/stateHandler.js";
|
|
12
13
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
13
14
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
14
15
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
15
16
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
16
17
|
import { pick as y } from "lodash-es";
|
|
17
18
|
import { basicProps as I } from "../props.js";
|
|
18
|
-
const $ = { class: "flex" }, L = { class: "flex-1" },
|
|
19
|
+
const $ = { class: "flex" }, L = { class: "flex-1" }, Y = /* @__PURE__ */ h({
|
|
19
20
|
name: "TtModalFooter",
|
|
20
21
|
__name: "ModalFooter",
|
|
21
22
|
props: y(I, [
|
|
@@ -81,5 +82,5 @@ const $ = { class: "flex" }, L = { class: "flex-1" }, X = /* @__PURE__ */ h({
|
|
|
81
82
|
}
|
|
82
83
|
});
|
|
83
84
|
export {
|
|
84
|
-
|
|
85
|
+
Y as default
|
|
85
86
|
};
|
|
@@ -9,13 +9,14 @@ import "xe-utils";
|
|
|
9
9
|
import "dayjs/plugin/utc";
|
|
10
10
|
import "dayjs/plugin/timezone";
|
|
11
11
|
import "../../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
|
|
12
|
+
import "../../../../packages/utils/src/stateHandler.js";
|
|
12
13
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
13
14
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
14
15
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
15
16
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
16
17
|
import "lodash-es";
|
|
17
18
|
import "vue-router";
|
|
18
|
-
const
|
|
19
|
+
const M = /* @__PURE__ */ i({
|
|
19
20
|
__name: "ModalHeader",
|
|
20
21
|
props: {
|
|
21
22
|
/** 标题 */
|
|
@@ -33,5 +34,5 @@ const E = /* @__PURE__ */ i({
|
|
|
33
34
|
}
|
|
34
35
|
});
|
|
35
36
|
export {
|
|
36
|
-
|
|
37
|
+
M as default
|
|
37
38
|
};
|
|
@@ -9,6 +9,7 @@ import "xe-utils";
|
|
|
9
9
|
import "dayjs/plugin/utc";
|
|
10
10
|
import "dayjs/plugin/timezone";
|
|
11
11
|
import "../../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
|
|
12
|
+
import "../../../../packages/utils/src/stateHandler.js";
|
|
12
13
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
13
14
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
14
15
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
@@ -18,7 +19,7 @@ import { useIsScroll as $ } from "../../../../packages/hooks/src/useIsScroll.js"
|
|
|
18
19
|
import "vue-router";
|
|
19
20
|
import { basicProps as I } from "../props.js";
|
|
20
21
|
import { MODAL_OVERLAY_CONTAINED_CLASS as N } from "../utils/resolve-modal-target.js";
|
|
21
|
-
const
|
|
22
|
+
const le = /* @__PURE__ */ _({
|
|
22
23
|
name: "TtWrapper",
|
|
23
24
|
__name: "ModalWrapper",
|
|
24
25
|
props: {
|
|
@@ -90,5 +91,5 @@ const se = /* @__PURE__ */ _({
|
|
|
90
91
|
}
|
|
91
92
|
});
|
|
92
93
|
export {
|
|
93
|
-
|
|
94
|
+
le as default
|
|
94
95
|
};
|
|
@@ -7,21 +7,21 @@ export declare function setDefaultModalProps(props: Partial<ModalProps>): void;
|
|
|
7
7
|
export declare function useModalRender<TParentModalProps extends ModalProps = ModalProps>(options?: ModalApiOptions, MODAL_KEY?: symbol): readonly [import('vue').DefineSetupFnComponent<TParentModalProps, {}, {}, TParentModalProps & {}, import('vue').PublicProps>, TtModalExtendedModalApi] | readonly [import('vue').DefineSetupFnComponent<ModalProps, {}, {}, Partial<{
|
|
8
8
|
title: any;
|
|
9
9
|
visible: boolean;
|
|
10
|
-
appendTo: import('element-plus/es/utils/
|
|
11
|
-
transition: import('element-plus/es/utils/
|
|
10
|
+
appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | null)[], unknown, unknown>;
|
|
11
|
+
transition: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown>;
|
|
12
12
|
size: "small" | "medium" | "mini";
|
|
13
13
|
center: boolean;
|
|
14
14
|
height: any;
|
|
15
15
|
draggable: boolean;
|
|
16
|
-
showClose: import('element-plus/es/utils/
|
|
16
|
+
showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
17
17
|
loading: boolean;
|
|
18
18
|
modelValue: boolean;
|
|
19
|
-
closeOnPressEscape: import('element-plus/es/utils/
|
|
19
|
+
closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
20
20
|
scrollTop: boolean;
|
|
21
21
|
minHeight: any;
|
|
22
22
|
showFooter: boolean;
|
|
23
23
|
fullscreen: boolean;
|
|
24
|
-
overflow: import('element-plus/es/utils/
|
|
24
|
+
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
25
25
|
testId: any;
|
|
26
26
|
cancelText: string;
|
|
27
27
|
okText: string;
|
|
@@ -39,15 +39,15 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
39
39
|
modalApi: TtModalExtendedModalApi;
|
|
40
40
|
appendToBody: boolean;
|
|
41
41
|
destroyOnClose: boolean;
|
|
42
|
-
closeOnClickModal: import('element-plus/es/utils/
|
|
43
|
-
lockScroll: import('element-plus/es/utils/
|
|
42
|
+
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
43
|
+
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
44
44
|
modalPenetrable: boolean;
|
|
45
45
|
openDelay: number;
|
|
46
46
|
closeDelay: number;
|
|
47
47
|
modalClass: import('element-plus/es/utils/typescript.mjs').ClassValue;
|
|
48
48
|
trapFocus: boolean;
|
|
49
49
|
headerAriaLevel: string;
|
|
50
|
-
alignCenter: import('element-plus/es/utils/
|
|
50
|
+
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
51
51
|
headerClass: import('element-plus/es/utils/typescript.mjs').ClassValue;
|
|
52
52
|
bodyClass: import('element-plus/es/utils/typescript.mjs').ClassValue;
|
|
53
53
|
footerClass: import('element-plus/es/utils/typescript.mjs').ClassValue;
|
|
@@ -55,15 +55,15 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
55
55
|
}> & Omit<{
|
|
56
56
|
readonly title: any;
|
|
57
57
|
readonly visible: boolean;
|
|
58
|
-
readonly appendTo: import('element-plus/es/utils/
|
|
58
|
+
readonly appendTo: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | null)[], unknown, unknown>;
|
|
59
59
|
readonly size: "small" | "medium" | "mini";
|
|
60
60
|
readonly center: boolean;
|
|
61
61
|
readonly height: any;
|
|
62
62
|
readonly draggable: boolean;
|
|
63
|
-
readonly showClose: import('element-plus/es/utils/
|
|
63
|
+
readonly showClose: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
64
64
|
readonly loading: boolean;
|
|
65
65
|
readonly modelValue: boolean;
|
|
66
|
-
readonly closeOnPressEscape: import('element-plus/es/utils/
|
|
66
|
+
readonly closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
67
67
|
readonly scrollTop: boolean;
|
|
68
68
|
readonly minHeight: any;
|
|
69
69
|
readonly showFooter: boolean;
|
|
@@ -84,8 +84,8 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
84
84
|
readonly modal: boolean;
|
|
85
85
|
readonly appendToBody: boolean;
|
|
86
86
|
readonly destroyOnClose: boolean;
|
|
87
|
-
readonly closeOnClickModal: import('element-plus/es/utils/
|
|
88
|
-
readonly lockScroll: import('element-plus/es/utils/
|
|
87
|
+
readonly closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
88
|
+
readonly lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
89
89
|
readonly modalPenetrable: boolean;
|
|
90
90
|
readonly openDelay: number;
|
|
91
91
|
readonly closeDelay: number;
|
|
@@ -94,16 +94,16 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
94
94
|
readonly ariaLevel: string;
|
|
95
95
|
readonly top?: string | undefined;
|
|
96
96
|
readonly zIndex?: number | undefined;
|
|
97
|
-
readonly transition?: import('element-plus/es/utils/
|
|
97
|
+
readonly transition?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | ((new (...args: any[]) => string | import('vue').TransitionProps) | (() => import('element-plus').DialogTransition) | null)[], unknown, unknown> | undefined;
|
|
98
98
|
readonly width?: string | number | undefined;
|
|
99
|
-
readonly closeIcon?: import('element-plus/es/utils/
|
|
99
|
+
readonly closeIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | null)[], unknown, unknown> | undefined;
|
|
100
100
|
readonly beforeClose?: import('element-plus').DialogBeforeCloseFn | undefined;
|
|
101
|
-
readonly overflow?: import('element-plus/es/utils/
|
|
101
|
+
readonly overflow?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
102
102
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
103
103
|
readonly loadingTip?: string | undefined;
|
|
104
104
|
readonly modalApi?: TtModalExtendedModalApi | undefined;
|
|
105
105
|
readonly modalClass?: import('element-plus/es/utils/typescript.mjs').ClassValue;
|
|
106
|
-
readonly alignCenter?: import('element-plus/es/utils/
|
|
106
|
+
readonly alignCenter?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
107
107
|
readonly headerClass?: import('element-plus/es/utils/typescript.mjs').ClassValue;
|
|
108
108
|
readonly bodyClass?: import('element-plus/es/utils/typescript.mjs').ClassValue;
|
|
109
109
|
readonly footerClass?: import('element-plus/es/utils/typescript.mjs').ClassValue;
|
|
@@ -8,6 +8,7 @@ import "xe-utils";
|
|
|
8
8
|
import "dayjs/plugin/utc";
|
|
9
9
|
import "dayjs/plugin/timezone";
|
|
10
10
|
import "../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
|
|
11
|
+
import "../../../packages/utils/src/stateHandler.js";
|
|
11
12
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
12
13
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
13
14
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
@@ -40,7 +41,7 @@ const o = {
|
|
|
40
41
|
fullscreen: { type: Boolean, default: !1 },
|
|
41
42
|
/** 是否允许自定义大小 */
|
|
42
43
|
resizer: { type: Boolean, default: !1 }
|
|
43
|
-
},
|
|
44
|
+
}, w = Object.assign({}, o, {
|
|
44
45
|
/** 弹窗的loading */
|
|
45
46
|
loading: { type: Boolean, default: !1 },
|
|
46
47
|
/** 弹窗的loading提示 */
|
|
@@ -85,6 +86,6 @@ const o = {
|
|
|
85
86
|
}
|
|
86
87
|
});
|
|
87
88
|
export {
|
|
88
|
-
|
|
89
|
+
w as basicProps,
|
|
89
90
|
o as modalProps
|
|
90
91
|
};
|
|
@@ -10,6 +10,7 @@ import "numeral";
|
|
|
10
10
|
import { bindMethods as y } from "../../../../packages/utils/src/tool.js";
|
|
11
11
|
import { mergeWithArrayOverride as m } from "../../../../packages/utils/src/merge.js";
|
|
12
12
|
import "../../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
|
|
13
|
+
import "../../../../packages/utils/src/stateHandler.js";
|
|
13
14
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
14
15
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
15
16
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
@@ -19,7 +20,7 @@ import { Store as M } from "@tanstack/vue-store";
|
|
|
19
20
|
import { useDebounceFn as D } from "@vueuse/core";
|
|
20
21
|
import { GlobalConfig as R } from "../../../../hooks/useSetup.js";
|
|
21
22
|
import { closeAllModals as B } from "./modal-stack.js";
|
|
22
|
-
class
|
|
23
|
+
class N {
|
|
23
24
|
/** 构造函数,初始化弹窗的API接口和状态 */
|
|
24
25
|
constructor(t = {}) {
|
|
25
26
|
/** 共享数据对象,用于在组件间传递数据 */
|
|
@@ -56,7 +57,7 @@ class K {
|
|
|
56
57
|
connectedComponent: e,
|
|
57
58
|
onVisibleChange: i,
|
|
58
59
|
onClose: a,
|
|
59
|
-
onClosed:
|
|
60
|
+
onClosed: r,
|
|
60
61
|
onOk: p,
|
|
61
62
|
onReceiveSharedData: f,
|
|
62
63
|
...u
|
|
@@ -95,10 +96,10 @@ class K {
|
|
|
95
96
|
this.store = new M(m(u, v), {
|
|
96
97
|
onUpdate: () => {
|
|
97
98
|
var h, c, d;
|
|
98
|
-
const
|
|
99
|
-
this.state =
|
|
99
|
+
const l = this.store.state, g = (h = this.state) == null ? void 0 : h.visible;
|
|
100
|
+
this.state = l, l.visible !== g && (this.visibleRef.value = !!l.visible, (d = (c = this.api).onVisibleChange) == null || d.call(c, !!l.visible));
|
|
100
101
|
}
|
|
101
|
-
}), this.state = this.store.state, this.visibleRef.value = !!this.state.visible, this.api = { onVisibleChange: i, onClose: a, onClosed:
|
|
102
|
+
}), this.state = this.store.state, this.visibleRef.value = !!this.state.visible, this.api = { onVisibleChange: i, onClose: a, onClosed: r, onOk: p, onReceiveSharedData: f }, y(this);
|
|
102
103
|
}
|
|
103
104
|
/**
|
|
104
105
|
* 挂载弹窗实例和API接口
|
|
@@ -112,13 +113,13 @@ class K {
|
|
|
112
113
|
* 关闭弹窗
|
|
113
114
|
*/
|
|
114
115
|
async close() {
|
|
115
|
-
var a,
|
|
116
|
+
var a, r;
|
|
116
117
|
const t = document.querySelector('.viewer-container[aria-modal="true"]');
|
|
117
118
|
if (C(t))
|
|
118
119
|
return;
|
|
119
120
|
const { closeFunc: e } = this.state;
|
|
120
121
|
let i = !0;
|
|
121
|
-
e && n(e) && (i = await e()), this.setState({ visible: !i }), (
|
|
122
|
+
e && n(e) && (i = await e()), this.setState({ visible: !i }), (r = (a = this.api).onClosed) == null || r.call(a);
|
|
122
123
|
}
|
|
123
124
|
/**
|
|
124
125
|
* 取消操作
|
|
@@ -216,5 +217,5 @@ class K {
|
|
|
216
217
|
}
|
|
217
218
|
}
|
|
218
219
|
export {
|
|
219
|
-
|
|
220
|
+
N as ModalApi
|
|
220
221
|
};
|
|
@@ -8,6 +8,7 @@ import "xe-utils";
|
|
|
8
8
|
import "dayjs/plugin/utc";
|
|
9
9
|
import "dayjs/plugin/timezone";
|
|
10
10
|
import "../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
|
|
11
|
+
import "../../packages/utils/src/stateHandler.js";
|
|
11
12
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
12
13
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
13
14
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
@@ -32,7 +33,7 @@ import { useGroupForm as te } from "../tt-form/src/group-form/useGroupForm.js";
|
|
|
32
33
|
import "../tt-modal/index.js";
|
|
33
34
|
import { useModalFormSlot as ie } from "./hooks/useModalFormSlot.js";
|
|
34
35
|
import { useModalRender as se } from "../tt-modal/src/hooks/useModalRender.js";
|
|
35
|
-
const
|
|
36
|
+
const $e = /* @__PURE__ */ H({
|
|
36
37
|
name: "TtModalForm",
|
|
37
38
|
__name: "index",
|
|
38
39
|
props: {
|
|
@@ -212,5 +213,5 @@ const xe = /* @__PURE__ */ H({
|
|
|
212
213
|
}
|
|
213
214
|
});
|
|
214
215
|
export {
|
|
215
|
-
|
|
216
|
+
$e as default
|
|
216
217
|
};
|
|
@@ -8,6 +8,7 @@ import "xe-utils";
|
|
|
8
8
|
import "dayjs/plugin/utc";
|
|
9
9
|
import "dayjs/plugin/timezone";
|
|
10
10
|
import "../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
|
|
11
|
+
import "../../packages/utils/src/stateHandler.js";
|
|
11
12
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
12
13
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
13
14
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
@@ -15,8 +16,8 @@ import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs
|
|
|
15
16
|
import "lodash-es";
|
|
16
17
|
import o from "./src/TtNavAnchor.vue.js";
|
|
17
18
|
/* empty css */
|
|
18
|
-
const
|
|
19
|
+
const A = t(o);
|
|
19
20
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
A as TtNavAnchor,
|
|
22
|
+
A as default
|
|
22
23
|
};
|
|
@@ -13,6 +13,7 @@ import "xe-utils";
|
|
|
13
13
|
import "dayjs/plugin/utc";
|
|
14
14
|
import "dayjs/plugin/timezone";
|
|
15
15
|
import "../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
|
|
16
|
+
import "../../../packages/utils/src/stateHandler.js";
|
|
16
17
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
17
18
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
18
19
|
import "../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
@@ -21,7 +22,7 @@ import "lodash-es";
|
|
|
21
22
|
import "vue-router";
|
|
22
23
|
import { useElementSize as Le, useDraggable as We } from "@vueuse/core";
|
|
23
24
|
import { TT_NAV_ANCHOR_DRAG_VISIBLE_SIZE_PX as D, TT_NAV_ANCHOR_ROOT_WIDTH_PX as y } from "./constants.js";
|
|
24
|
-
const Ze = ["tabindex"], Ye = ["onClick"], Ue = ["title"],
|
|
25
|
+
const Ze = ["tabindex"], Ye = ["onClick"], Ue = ["title"], _t = /* @__PURE__ */ ye({
|
|
25
26
|
name: "TtNavAnchor",
|
|
26
27
|
__name: "TtNavAnchor",
|
|
27
28
|
props: {
|
|
@@ -312,5 +313,5 @@ const Ze = ["tabindex"], Ye = ["onClick"], Ue = ["title"], gt = /* @__PURE__ */
|
|
|
312
313
|
}
|
|
313
314
|
});
|
|
314
315
|
export {
|
|
315
|
-
|
|
316
|
+
_t as default
|
|
316
317
|
};
|
|
@@ -8,14 +8,15 @@ import "xe-utils";
|
|
|
8
8
|
import "dayjs/plugin/utc";
|
|
9
9
|
import "dayjs/plugin/timezone";
|
|
10
10
|
import "../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
|
|
11
|
+
import "../../packages/utils/src/stateHandler.js";
|
|
11
12
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
|
|
12
13
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
|
|
13
14
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
|
|
14
15
|
import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
15
16
|
import "lodash-es";
|
|
16
17
|
import o from "./src/index.vue.js";
|
|
17
|
-
const
|
|
18
|
+
const I = t(o);
|
|
18
19
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
I as TtPanelSelect,
|
|
21
|
+
I as default
|
|
21
22
|
};
|