ele-admin-plus 1.4.0 → 1.4.1-beta.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/es/ele-admin-layout/components/layout-skeleton.d.ts +9 -3
- package/es/ele-admin-layout/components/layout-skeleton.js +9 -3
- package/es/ele-admin-layout/components/layout-tabs.d.ts +7 -2
- package/es/ele-admin-layout/components/layout-tabs.js +9 -4
- package/es/ele-admin-layout/index.js +23 -18
- package/es/ele-alert/index.js +7 -8
- package/es/ele-app/el.d.ts +3 -1
- package/es/ele-app/plus.d.ts +12 -41
- package/es/ele-app/plusx.d.ts +40 -0
- package/es/ele-app/style/overwrite/date-picker/index.scss +1 -1
- package/es/ele-autocomplete/index.d.ts +265 -47
- package/es/ele-autocomplete/props.d.ts +124 -22
- package/es/ele-avatar-group/types.d.ts +1 -1
- package/es/ele-backtop/index.js +7 -8
- package/es/ele-basic-select/components/select-view.d.ts +129 -0
- package/es/ele-basic-select/components/select-view.js +272 -0
- package/es/ele-basic-select/index.d.ts +13 -23
- package/es/ele-basic-select/index.js +108 -247
- package/es/ele-basic-select/props.d.ts +8 -2
- package/es/ele-basic-select/props.js +7 -1
- package/es/ele-basic-select/types.d.ts +21 -0
- package/es/ele-basic-select/util.js +6 -1
- package/es/ele-bottom-bar/index.js +6 -6
- package/es/ele-breadcrumb/types.d.ts +1 -1
- package/es/ele-cascader/index.d.ts +17 -19
- package/es/ele-cascader/props.d.ts +4 -5
- package/es/ele-check-card/types.d.ts +1 -1
- package/es/ele-checkbox-group/index.d.ts +1 -1
- package/es/ele-config-provider/components/receiver-view.js +91 -80
- package/es/ele-config-provider/receiver.d.ts +2 -0
- package/es/ele-config-provider/receiver.js +8 -1
- package/es/ele-cropper/index.d.ts +1 -3
- package/es/ele-cropper-modal/index.d.ts +1 -1
- package/es/ele-crud/components/page-side.js +1 -4
- package/es/ele-crud/types.d.ts +1 -1
- package/es/ele-crud/util.d.ts +1 -1
- package/es/ele-crud-builder/components/body-header.d.ts +1 -1
- package/es/ele-crud-builder/components/code-generator.d.ts +1 -1
- package/es/ele-crud-builder/components/code-preview.d.ts +1 -1
- package/es/ele-crud-builder/components/form-design-modal.d.ts +1 -1
- package/es/ele-crud-builder/components/import-modal.d.ts +1 -1
- package/es/ele-crud-builder/components/page-config.d.ts +1 -1
- package/es/ele-crud-builder/components/template-list.d.ts +1 -1
- package/es/ele-crud-builder/index.d.ts +3 -3
- package/es/ele-crud-builder/index.js +1 -1
- package/es/ele-crud-builder/props.d.ts +2 -1
- package/es/ele-crud-builder/types.d.ts +1 -1
- package/es/ele-crud-builder/util.js +2 -2
- package/es/ele-data-table/index.d.ts +38 -44
- package/es/ele-data-table/index.js +6 -3
- package/es/ele-data-table/props.d.ts +39 -45
- package/es/ele-drawer/index.d.ts +2 -2
- package/es/ele-drawer/index.js +4 -3
- package/es/ele-drawer/props.d.ts +6 -0
- package/es/ele-drawer/props.js +5 -1
- package/es/ele-dropdown/components/pro-dropdown.d.ts +28 -28
- package/es/ele-dropdown/index.d.ts +30 -30
- package/es/ele-dropdown/props.d.ts +12 -12
- package/es/ele-dropdown/types.d.ts +1 -1
- package/es/ele-edit-tag/index.d.ts +1 -1
- package/es/ele-ellipsis/props.d.ts +1 -1
- package/es/ele-file-list/components/file-grid.d.ts +1 -1
- package/es/ele-file-list/components/file-table.d.ts +1 -1
- package/es/ele-file-list/icons.js +10 -1
- package/es/ele-file-list/types.d.ts +1 -1
- package/es/ele-icon-select/index.d.ts +5 -1
- package/es/ele-icon-select/index.js +3 -1
- package/es/ele-icon-select/props.d.ts +7 -2
- package/es/ele-icon-select/props.js +4 -0
- package/es/ele-image-viewer/index.d.ts +2 -16
- package/es/ele-image-viewer/index.js +13 -15
- package/es/ele-image-viewer/props.d.ts +1 -8
- package/es/ele-loading/index.js +6 -6
- package/es/ele-map-picker/index.d.ts +2 -4
- package/es/ele-mention/index.d.ts +29 -8
- package/es/ele-mention/props.d.ts +9 -0
- package/es/ele-menus/types.d.ts +2 -0
- package/es/ele-menus/util.js +1 -1
- package/es/ele-modal/index.d.ts +4 -4
- package/es/ele-modal/index.js +3 -2
- package/es/ele-popconfirm/index.d.ts +95 -96
- package/es/ele-popconfirm/index.js +6 -21
- package/es/ele-popconfirm/props.d.ts +32 -32
- package/es/ele-popover/index.d.ts +72 -72
- package/es/ele-printer/index.d.ts +2 -2
- package/es/ele-printer/index.js +7 -7
- package/es/ele-pro-form/components/render-util.d.ts +2 -2
- package/es/ele-pro-form/index.d.ts +7 -2
- package/es/ele-pro-form/props.d.ts +3 -1
- package/es/ele-pro-form-builder/components/body-form.d.ts +1 -1
- package/es/ele-pro-form-builder/components/body-header.d.ts +1 -1
- package/es/ele-pro-form-builder/components/code-generator.d.ts +1 -1
- package/es/ele-pro-form-builder/components/code-preview.d.ts +1 -1
- package/es/ele-pro-form-builder/components/config-form.d.ts +1 -1
- package/es/ele-pro-form-builder/components/import-modal.d.ts +1 -1
- package/es/ele-pro-form-builder/components/preview-modal.d.ts +1 -1
- package/es/ele-pro-form-builder/components/props-form.d.ts +1 -1
- package/es/ele-pro-form-builder/components/table-util.js +3 -0
- package/es/ele-pro-form-builder/components/template-list.d.ts +1 -1
- package/es/ele-pro-form-builder/index.d.ts +1 -1
- package/es/ele-pro-form-builder/props.d.ts +2 -1
- package/es/ele-pro-form-builder/types.d.ts +1 -1
- package/es/ele-pro-layout/index.d.ts +29 -29
- package/es/ele-pro-layout/props.d.ts +12 -12
- package/es/ele-pro-layout/style/index.scss +0 -2
- package/es/ele-pro-layout/types.d.ts +2 -0
- package/es/ele-pro-table/components/table-tools.d.ts +1 -1
- package/es/ele-pro-table/components/tool-export.d.ts +2 -2
- package/es/ele-pro-table/components/tool-print.d.ts +1 -1
- package/es/ele-pro-table/index.d.ts +40 -46
- package/es/ele-pro-table/index.js +11 -16
- package/es/ele-pro-table/props.d.ts +18 -21
- package/es/ele-pro-table/style/css-var.scss +4 -0
- package/es/ele-pro-table/style/index.scss +2 -2
- package/es/ele-radio-group/index.d.ts +2 -2
- package/es/ele-segmented/index.d.ts +2 -2
- package/es/ele-segmented/props.d.ts +1 -1
- package/es/ele-segmented/style/index.scss +1 -0
- package/es/ele-select/index.d.ts +12 -12
- package/es/ele-select/props.d.ts +2 -2
- package/es/ele-select/props.js +2 -2
- package/es/ele-select-tree/index.d.ts +10 -10
- package/es/ele-select-tree/props.d.ts +2 -2
- package/es/ele-select-tree/props.js +2 -2
- package/es/ele-steps/types.d.ts +1 -1
- package/es/ele-tab-bar/index.d.ts +4 -2
- package/es/ele-tab-bar/index.js +1 -0
- package/es/ele-tab-bar/props.d.ts +3 -1
- package/es/ele-tab-bar/props.js +4 -2
- package/es/ele-tab-bar/style/index.scss +1 -0
- package/es/ele-table-select/props.d.ts +2 -2
- package/es/ele-table-select/props.js +1 -1
- package/es/ele-tabs/index.d.ts +16 -12
- package/es/ele-tabs/style/index.scss +1 -0
- package/es/ele-tabs/types.d.ts +1 -1
- package/es/ele-timeline/types.d.ts +3 -3
- package/es/ele-tooltip/index.d.ts +53 -53
- package/es/ele-tour/index.js +7 -7
- package/es/ele-transfer/index.d.ts +1 -1
- package/es/ele-tree-select/index.d.ts +2 -2
- package/es/ele-tree-select/props.d.ts +1 -1
- package/es/ele-upload-list/components/list-item.d.ts +3 -0
- package/es/ele-upload-list/components/list-item.js +1 -0
- package/es/ele-upload-list/types.d.ts +1 -1
- package/es/ele-virtual-table/index.d.ts +38 -44
- package/es/ele-virtual-table/props.d.ts +19 -22
- package/es/ele-watermark/index.js +9 -6
- package/es/ele-watermark/util.d.ts +2 -0
- package/es/ele-watermark/util.js +10 -3
- package/es/style/themes/default.scss +6 -0
- package/es/style/themes/rounded.scss +3 -0
- package/es/style/themes/transparent.scss +3 -0
- package/es/utils/common.d.ts +10 -0
- package/es/utils/common.js +10 -0
- package/es/utils/core.d.ts +6 -0
- package/es/utils/core.js +10 -1
- package/es/utils/menu-util.js +1 -0
- package/lib/ele-admin-layout/components/layout-skeleton.cjs +9 -3
- package/lib/ele-admin-layout/components/layout-skeleton.d.ts +9 -3
- package/lib/ele-admin-layout/components/layout-tabs.cjs +9 -4
- package/lib/ele-admin-layout/components/layout-tabs.d.ts +7 -2
- package/lib/ele-admin-layout/index.cjs +23 -18
- package/lib/ele-alert/index.cjs +6 -7
- package/lib/ele-app/el.d.ts +3 -1
- package/lib/ele-app/plus.d.ts +12 -41
- package/lib/ele-app/plusx.d.ts +40 -0
- package/lib/ele-app/style/overwrite/date-picker/index.scss +1 -1
- package/lib/ele-autocomplete/index.d.ts +265 -47
- package/lib/ele-autocomplete/props.d.ts +124 -22
- package/lib/ele-avatar-group/types.d.ts +1 -1
- package/lib/ele-backtop/index.cjs +6 -7
- package/lib/ele-basic-select/components/select-view.cjs +271 -0
- package/lib/ele-basic-select/components/select-view.d.ts +129 -0
- package/lib/ele-basic-select/index.cjs +107 -246
- package/lib/ele-basic-select/index.d.ts +13 -23
- package/lib/ele-basic-select/props.cjs +7 -1
- package/lib/ele-basic-select/props.d.ts +8 -2
- package/lib/ele-basic-select/types.d.ts +21 -0
- package/lib/ele-basic-select/util.cjs +6 -1
- package/lib/ele-bottom-bar/index.cjs +5 -5
- package/lib/ele-breadcrumb/types.d.ts +1 -1
- package/lib/ele-cascader/index.d.ts +17 -19
- package/lib/ele-cascader/props.d.ts +4 -5
- package/lib/ele-check-card/types.d.ts +1 -1
- package/lib/ele-checkbox-group/index.d.ts +1 -1
- package/lib/ele-config-provider/components/receiver-view.cjs +2 -2
- package/lib/ele-config-provider/receiver.cjs +10 -1
- package/lib/ele-config-provider/receiver.d.ts +2 -0
- package/lib/ele-cropper/index.d.ts +1 -3
- package/lib/ele-cropper-modal/index.d.ts +1 -1
- package/lib/ele-crud/components/page-side.cjs +1 -4
- package/lib/ele-crud/types.d.ts +1 -1
- package/lib/ele-crud/util.d.ts +1 -1
- package/lib/ele-crud-builder/components/body-header.d.ts +1 -1
- package/lib/ele-crud-builder/components/code-generator.d.ts +1 -1
- package/lib/ele-crud-builder/components/code-preview.d.ts +1 -1
- package/lib/ele-crud-builder/components/form-design-modal.d.ts +1 -1
- package/lib/ele-crud-builder/components/import-modal.d.ts +1 -1
- package/lib/ele-crud-builder/components/page-config.d.ts +1 -1
- package/lib/ele-crud-builder/components/template-list.d.ts +1 -1
- package/lib/ele-crud-builder/index.cjs +1 -1
- package/lib/ele-crud-builder/index.d.ts +3 -3
- package/lib/ele-crud-builder/props.d.ts +2 -1
- package/lib/ele-crud-builder/types.d.ts +1 -1
- package/lib/ele-crud-builder/util.cjs +2 -2
- package/lib/ele-data-table/index.cjs +6 -3
- package/lib/ele-data-table/index.d.ts +38 -44
- package/lib/ele-data-table/props.d.ts +39 -45
- package/lib/ele-drawer/index.cjs +14 -13
- package/lib/ele-drawer/index.d.ts +2 -2
- package/lib/ele-drawer/props.cjs +4 -0
- package/lib/ele-drawer/props.d.ts +6 -0
- package/lib/ele-dropdown/components/pro-dropdown.d.ts +28 -28
- package/lib/ele-dropdown/index.d.ts +30 -30
- package/lib/ele-dropdown/props.d.ts +12 -12
- package/lib/ele-dropdown/types.d.ts +1 -1
- package/lib/ele-edit-tag/index.d.ts +1 -1
- package/lib/ele-ellipsis/props.d.ts +1 -1
- package/lib/ele-file-list/components/file-grid.d.ts +1 -1
- package/lib/ele-file-list/components/file-table.d.ts +1 -1
- package/lib/ele-file-list/icons.cjs +10 -1
- package/lib/ele-file-list/types.d.ts +1 -1
- package/lib/ele-icon-select/index.cjs +3 -1
- package/lib/ele-icon-select/index.d.ts +5 -1
- package/lib/ele-icon-select/props.cjs +4 -0
- package/lib/ele-icon-select/props.d.ts +7 -2
- package/lib/ele-image-viewer/index.cjs +12 -14
- package/lib/ele-image-viewer/index.d.ts +2 -16
- package/lib/ele-image-viewer/props.d.ts +1 -8
- package/lib/ele-loading/index.cjs +5 -5
- package/lib/ele-map-picker/index.d.ts +2 -4
- package/lib/ele-mention/index.d.ts +29 -8
- package/lib/ele-mention/props.d.ts +9 -0
- package/lib/ele-menus/types.d.ts +2 -0
- package/lib/ele-menus/util.cjs +1 -1
- package/lib/ele-modal/index.cjs +35 -34
- package/lib/ele-modal/index.d.ts +4 -4
- package/lib/ele-popconfirm/index.cjs +5 -20
- package/lib/ele-popconfirm/index.d.ts +95 -96
- package/lib/ele-popconfirm/props.d.ts +32 -32
- package/lib/ele-popover/index.d.ts +72 -72
- package/lib/ele-printer/index.cjs +6 -6
- package/lib/ele-printer/index.d.ts +2 -2
- package/lib/ele-pro-form/components/render-util.d.ts +2 -2
- package/lib/ele-pro-form/index.d.ts +7 -2
- package/lib/ele-pro-form/props.d.ts +3 -1
- package/lib/ele-pro-form-builder/components/body-form.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/body-header.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/code-generator.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/code-preview.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/config-form.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/import-modal.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/preview-modal.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/props-form.d.ts +1 -1
- package/lib/ele-pro-form-builder/components/table-util.cjs +3 -0
- package/lib/ele-pro-form-builder/components/template-list.d.ts +1 -1
- package/lib/ele-pro-form-builder/index.d.ts +1 -1
- package/lib/ele-pro-form-builder/props.d.ts +2 -1
- package/lib/ele-pro-form-builder/types.d.ts +1 -1
- package/lib/ele-pro-layout/index.d.ts +29 -29
- package/lib/ele-pro-layout/props.d.ts +12 -12
- package/lib/ele-pro-layout/style/index.scss +0 -2
- package/lib/ele-pro-layout/types.d.ts +2 -0
- package/lib/ele-pro-table/components/table-tools.d.ts +1 -1
- package/lib/ele-pro-table/components/tool-export.d.ts +2 -2
- package/lib/ele-pro-table/components/tool-print.d.ts +1 -1
- package/lib/ele-pro-table/index.cjs +10 -15
- package/lib/ele-pro-table/index.d.ts +40 -46
- package/lib/ele-pro-table/props.d.ts +18 -21
- package/lib/ele-pro-table/style/css-var.scss +4 -0
- package/lib/ele-pro-table/style/index.scss +2 -2
- package/lib/ele-radio-group/index.d.ts +2 -2
- package/lib/ele-segmented/index.d.ts +2 -2
- package/lib/ele-segmented/props.d.ts +1 -1
- package/lib/ele-segmented/style/index.scss +1 -0
- package/lib/ele-select/index.d.ts +12 -12
- package/lib/ele-select/props.cjs +1 -1
- package/lib/ele-select/props.d.ts +2 -2
- package/lib/ele-select-tree/index.d.ts +10 -10
- package/lib/ele-select-tree/props.cjs +1 -1
- package/lib/ele-select-tree/props.d.ts +2 -2
- package/lib/ele-steps/types.d.ts +1 -1
- package/lib/ele-tab-bar/index.cjs +1 -0
- package/lib/ele-tab-bar/index.d.ts +4 -2
- package/lib/ele-tab-bar/props.cjs +4 -2
- package/lib/ele-tab-bar/props.d.ts +3 -1
- package/lib/ele-tab-bar/style/index.scss +1 -0
- package/lib/ele-table-select/props.cjs +1 -1
- package/lib/ele-table-select/props.d.ts +2 -2
- package/lib/ele-tabs/index.d.ts +16 -12
- package/lib/ele-tabs/style/index.scss +1 -0
- package/lib/ele-tabs/types.d.ts +1 -1
- package/lib/ele-timeline/types.d.ts +3 -3
- package/lib/ele-tooltip/index.d.ts +53 -53
- package/lib/ele-tour/index.cjs +6 -6
- package/lib/ele-transfer/index.d.ts +1 -1
- package/lib/ele-tree-select/index.d.ts +2 -2
- package/lib/ele-tree-select/props.d.ts +1 -1
- package/lib/ele-upload-list/components/list-item.cjs +1 -0
- package/lib/ele-upload-list/components/list-item.d.ts +3 -0
- package/lib/ele-upload-list/types.d.ts +1 -1
- package/lib/ele-virtual-table/index.d.ts +38 -44
- package/lib/ele-virtual-table/props.d.ts +19 -22
- package/lib/ele-watermark/index.cjs +7 -4
- package/lib/ele-watermark/util.cjs +12 -3
- package/lib/ele-watermark/util.d.ts +2 -0
- package/lib/style/themes/default.scss +6 -0
- package/lib/style/themes/rounded.scss +3 -0
- package/lib/style/themes/transparent.scss +3 -0
- package/lib/utils/common.cjs +10 -0
- package/lib/utils/common.d.ts +10 -0
- package/lib/utils/core.cjs +10 -1
- package/lib/utils/core.d.ts +6 -0
- package/lib/utils/menu-util.cjs +1 -0
- package/package.json +3 -2
|
@@ -62,13 +62,12 @@ export declare const cascaderProps: {
|
|
|
62
62
|
} & {
|
|
63
63
|
readonly default: number;
|
|
64
64
|
};
|
|
65
|
-
collapseTagsTooltip:
|
|
66
|
-
|
|
65
|
+
collapseTagsTooltip: BooleanConstructor;
|
|
66
|
+
maxCollapseTagsTooltipHeight: {
|
|
67
|
+
readonly type: PropType<string | number>;
|
|
67
68
|
readonly required: false;
|
|
68
69
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
69
70
|
__epPropKey: true;
|
|
70
|
-
} & {
|
|
71
|
-
readonly default: boolean;
|
|
72
71
|
};
|
|
73
72
|
debounce: {
|
|
74
73
|
readonly type: PropType<number>;
|
|
@@ -120,7 +119,7 @@ export declare const cascaderProps: {
|
|
|
120
119
|
};
|
|
121
120
|
tagType: {
|
|
122
121
|
default: string;
|
|
123
|
-
type: PropType<"
|
|
122
|
+
type: PropType<"primary" | "success" | "warning" | "info" | "danger">;
|
|
124
123
|
required: false;
|
|
125
124
|
validator: ((val: unknown) => boolean) | undefined;
|
|
126
125
|
__epPropKey: true;
|
|
@@ -21,7 +21,7 @@ export type CheckedValue = SingleValue | MultipleValue | undefined | null;
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CheckCardItem extends Record<keyof any, any> {
|
|
23
23
|
/** 循环的 key */
|
|
24
|
-
key?:
|
|
24
|
+
key?: PropertyKey;
|
|
25
25
|
/** 值 */
|
|
26
26
|
value?: string | number | boolean;
|
|
27
27
|
/** 显示文本 */
|
|
@@ -92,8 +92,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
92
92
|
}>, {
|
|
93
93
|
modelValue: import('element-plus').CheckboxGroupValueType;
|
|
94
94
|
disabled: boolean;
|
|
95
|
-
tag: string;
|
|
96
95
|
validateEvent: boolean;
|
|
96
|
+
tag: string;
|
|
97
97
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
98
98
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
99
99
|
export default _default;
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { defineComponent as S, reactive as A, computed as G, provide as b, watch as z, createVNode as W } from "vue";
|
|
2
|
+
import { localize as j } from "../../utils/common";
|
|
3
|
+
import k from "../../ele-watermark/index";
|
|
4
|
+
import { useReceiver as B, ERROR_MESSAGE as M } from "../receiver";
|
|
5
|
+
const n = (v, u, s) => {
|
|
6
|
+
const Y = (p, D, E) => {
|
|
7
|
+
const l = ((g, R) => {
|
|
8
|
+
const O = g.length - R;
|
|
9
|
+
if (O <= 0)
|
|
10
|
+
return g;
|
|
11
|
+
const N = new Array(g.length);
|
|
12
|
+
for (let w = 0; w < g.length; w++)
|
|
13
|
+
w < R ? N[w] = g[O + w] : N[w] = g[w - R];
|
|
13
14
|
return N;
|
|
14
|
-
})(
|
|
15
|
-
let
|
|
16
|
-
for (;
|
|
17
|
-
let
|
|
18
|
-
|
|
19
|
-
const
|
|
20
|
-
|
|
15
|
+
})(p.split(""), E).join(""), I = [];
|
|
16
|
+
let m = 0;
|
|
17
|
+
for (; m < l.length; ) {
|
|
18
|
+
let g = m + D;
|
|
19
|
+
g > l.length && (g = l.length);
|
|
20
|
+
const R = l.substring(m, g);
|
|
21
|
+
I.push(R.split("").reverse().join("")), m = g;
|
|
21
22
|
}
|
|
22
|
-
return
|
|
23
|
-
},
|
|
24
|
-
let U = "",
|
|
25
|
-
for (;
|
|
26
|
-
|
|
27
|
-
return U = ((
|
|
28
|
-
let D = "",
|
|
29
|
-
for (;
|
|
30
|
-
l =
|
|
23
|
+
return I.join("");
|
|
24
|
+
}, r = u.indexOf("="), x = r === -1 ? u : u.substring(0, r), c = r === -1 ? "" : u.substring(r), T = (s == null ? x : Y(x, 12, 3) + c).replace(/[^A-Za-z0-9\+\/\=]/g, ""), J = Y(v, 3, 1) + "=";
|
|
25
|
+
let U = "", i, t, C, h, a, d, f, F = 0;
|
|
26
|
+
for (; F < T.length; )
|
|
27
|
+
h = J.indexOf(T.charAt(F++)), a = J.indexOf(T.charAt(F++)), d = J.indexOf(T.charAt(F++)), f = J.indexOf(T.charAt(F++)), i = h << 2 | a >> 4, t = (a & 15) << 4 | d >> 2, C = (d & 3) << 6 | f, U = U + String.fromCharCode(i), d != 64 && (U = U + String.fromCharCode(t)), f != 64 && (U = U + String.fromCharCode(C));
|
|
28
|
+
return U = ((p) => {
|
|
29
|
+
let D = "", E = 0, l = 0, I = 0, m = 0;
|
|
30
|
+
for (; E < p.length; )
|
|
31
|
+
l = p.charCodeAt(E), l < 128 ? (D += String.fromCharCode(l), E++) : l > 191 && l < 224 ? (I = p.charCodeAt(E + 1), D += String.fromCharCode((l & 31) << 6 | I & 63), E += 2) : (I = p.charCodeAt(E + 1), m = p.charCodeAt(E + 2), D += String.fromCharCode((l & 15) << 12 | (I & 63) << 6 | m & 63), E += 3);
|
|
31
32
|
return D;
|
|
32
|
-
})(U),
|
|
33
|
-
}, o = "BAFEDIHGLKJONMRQPUTSXWVaZYdcbgfejihmlkponsrqvutyxw10z432765+98/C",
|
|
33
|
+
})(U), s == null ? decodeURIComponent(U) : U;
|
|
34
|
+
}, o = "BAFEDIHGLKJONMRQPUTSXWVaZYdcbgfejihmlkponsrqvutyxw10z432765+98/C", $ = n(o, "RWxlQWRtaW5QbHVzJUU5JTlDJTgwJUU4JUE2JTgxJUU2JThFJTg4JUU2JTlEJTgzJUU0JUJEJUJGJUU3JTk0JUE4JTJDJUU4JUFGJUI3JUU1JTg5JThEJUU1JUJFJTgwZWxlYWRtaW4uY29tJUU4JUI0JUFEJUU0JUI5JUIwJUU2JThFJTg4JUU2JTlEJTgz="), P = n(o, "JUU4JUFGJUI3JUU1JTg1JTg4JUU5JTg1JThEJUU3JUJEJUFFJUU4JTg3JUFBJUU1JUI3JUIxJUU3JTlBJTg0JUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJTNC="), V = n(o, "JUU4JUFGJUI3JUU0JUJEJUJGJUU3JTk0JUE4JUU2JUFEJUEzJUU3JUExJUFFJUU2JUEwJUJDJUU1JUJDJThGJUU3JTlBJTg0JUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJTNC="), L = n(o, "JUU2JThFJTg4JUU2JTlEJTgzJUU3JTg5JTg4JUU2JTlDJUFDJUU1JThGJUI3JUU0JUI4JThEJUU1JThDJUI5JUU5JTg1JThEJTJDJTIwJUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJUU3JTg5JTg4JUU2JTlDJUFDJTNB="), Q = n(o, "JTJDJTIwJUU1JUFFJTg5JUU4JUEzJTg1JUU3JTg5JTg4JUU2JTlDJUFDJTNB="), y = n(o, "JUU2JThFJTg4JUU2JTlEJTgzJUU1JUI3JUIyJUU1JUE0JUIxJUU2JTk1JTg4JTJDJTIwJUU1JTg4JUIwJUU2JTlDJTlGJUU2JTk3JUI2JUU5JTk3JUI0JTNB="), H = n(o, "JUU1JTlGJTlGJUU1JTkwJThEJUU0JUI4JThEJUU1JThDJUI5JUU5JTg1JThEJTJDJTIwJUU4JUFGJUI3JUU5JTgzJUE4JUU3JUJEJUIyJUU1JTlDJUE4JTNB="), Z = n(o, "JUU0JUI4JThCJTJDJTIwJUU1JUJEJTkzJUU1JTg5JThEJUU1JTlGJTlGJUU1JTkwJThEJTNB="), X = n(o, "RWxlQWRtaW5QbHVz="), q = n(o, "bG9jYWxob3N0="), JJ = n(o, "MTI3LjAuMC4x="), UJ = n(o, "d3d3="), _ = n(o, "MS40="), K = n(o, "MDVmZA="), tJ = n(o, "RUxFJTIwQURNSU4lMjBQTFVT="), rJ = /* @__PURE__ */ S({
|
|
34
35
|
name: "ReceiverView",
|
|
35
36
|
props: {
|
|
36
37
|
wrapPosition: {
|
|
@@ -38,89 +39,99 @@ const n = (Y, h, i) => {
|
|
|
38
39
|
default: !0
|
|
39
40
|
}
|
|
40
41
|
},
|
|
41
|
-
setup(
|
|
42
|
-
slots:
|
|
42
|
+
setup(v, {
|
|
43
|
+
slots: u
|
|
43
44
|
}) {
|
|
44
|
-
const
|
|
45
|
-
const
|
|
46
|
-
if (
|
|
47
|
-
const
|
|
48
|
-
|
|
45
|
+
const s = (e, T, J, U) => {
|
|
46
|
+
const i = new Array(60).join("*"), t = [i];
|
|
47
|
+
if (t.push($), e == null && T == null && J == null && U == null && t.push(P), !e && T == null && !J && t.push(V), e && t.push(`${L} ${e}${Q} ${_};`), typeof T == "number") {
|
|
48
|
+
const C = new Date(T * 1e3).toLocaleString();
|
|
49
|
+
t.push(`${y} ${C};`);
|
|
49
50
|
}
|
|
50
|
-
|
|
51
|
+
J && t.push(`${H} ${J} ${Z} ${U};`), t.push(i), console.error(t.join(`
|
|
51
52
|
`));
|
|
52
|
-
},
|
|
53
|
-
const
|
|
54
|
-
return
|
|
53
|
+
}, Y = B(), r = A({}), x = G(() => {
|
|
54
|
+
const e = Y.license;
|
|
55
|
+
return e ? e.trim() : void 0;
|
|
55
56
|
});
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
b(M, r);
|
|
58
|
+
const c = (e, T) => {
|
|
59
|
+
const J = e.subject, U = K.slice(0, K.length - 2) + (J ?? "");
|
|
60
|
+
Object.keys(r).forEach((t) => r[t] = void 0);
|
|
61
|
+
const i = j(J == null ? void 0 : String(J));
|
|
62
|
+
Object.assign(r, {
|
|
63
|
+
text: i,
|
|
64
|
+
froined: !!(T && i),
|
|
65
|
+
viewId: U
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
return z(x, (e) => {
|
|
69
|
+
var T;
|
|
70
|
+
if (typeof e != "string" || !e) {
|
|
71
|
+
c({}), s();
|
|
60
72
|
return;
|
|
61
73
|
}
|
|
62
74
|
try {
|
|
63
|
-
const
|
|
64
|
-
version:
|
|
65
|
-
expiration:
|
|
66
|
-
domain:
|
|
67
|
-
product:
|
|
68
|
-
} =
|
|
69
|
-
if (
|
|
70
|
-
J
|
|
75
|
+
const J = JSON.parse(n(o, e, 0)), {
|
|
76
|
+
version: U,
|
|
77
|
+
expiration: i,
|
|
78
|
+
domain: t,
|
|
79
|
+
product: C
|
|
80
|
+
} = J;
|
|
81
|
+
if (U && U !== _) {
|
|
82
|
+
c(J), s(U);
|
|
71
83
|
return;
|
|
72
84
|
}
|
|
73
|
-
if (
|
|
74
|
-
J
|
|
85
|
+
if (X !== C) {
|
|
86
|
+
c(J), s("");
|
|
75
87
|
return;
|
|
76
88
|
}
|
|
77
|
-
if (
|
|
78
|
-
J
|
|
89
|
+
if (i && i < Date.now() / 1e3) {
|
|
90
|
+
c(J), s(void 0, i);
|
|
79
91
|
return;
|
|
80
92
|
}
|
|
81
|
-
if (
|
|
82
|
-
const
|
|
83
|
-
if (!
|
|
84
|
-
J
|
|
93
|
+
if (t) {
|
|
94
|
+
const h = (T = window == null ? void 0 : window.location) == null ? void 0 : T.hostname;
|
|
95
|
+
if (!h) {
|
|
96
|
+
c(J), s(void 0, void 0, t, "");
|
|
85
97
|
return;
|
|
86
98
|
}
|
|
87
|
-
if (
|
|
88
|
-
const
|
|
89
|
-
for (let
|
|
90
|
-
if (f
|
|
91
|
-
J
|
|
99
|
+
if (q !== h && JJ !== h) {
|
|
100
|
+
const a = t.split("."), d = h.split(".");
|
|
101
|
+
for (let f = a.length - 1; f >= 0; f--)
|
|
102
|
+
if (a[f] !== d[f]) {
|
|
103
|
+
c(J), s(void 0, void 0, t, h);
|
|
92
104
|
return;
|
|
93
105
|
}
|
|
94
|
-
if (
|
|
95
|
-
J
|
|
106
|
+
if (d.length > a.length && d[d.length - a.length - 1] !== UJ) {
|
|
107
|
+
c(J), s(void 0, void 0, t, h);
|
|
96
108
|
return;
|
|
97
109
|
}
|
|
98
110
|
}
|
|
99
111
|
}
|
|
100
|
-
|
|
101
|
-
J.value = !1, console.error(T), i("");
|
|
112
|
+
c(J, !0);
|
|
102
113
|
return;
|
|
114
|
+
} catch (J) {
|
|
115
|
+
console.error(J);
|
|
103
116
|
}
|
|
104
|
-
|
|
117
|
+
c({}), s("");
|
|
105
118
|
}, {
|
|
106
119
|
immediate: !0
|
|
107
|
-
}), () =>
|
|
120
|
+
}), () => W(k, {
|
|
108
121
|
wrapPosition: !1,
|
|
109
|
-
style: !
|
|
122
|
+
style: !v.wrapPosition || r.froined ? void 0 : {
|
|
110
123
|
position: "relative"
|
|
111
124
|
},
|
|
112
|
-
disabled:
|
|
113
|
-
content:
|
|
125
|
+
disabled: r.froined,
|
|
126
|
+
content: tJ
|
|
114
127
|
}, {
|
|
115
128
|
default: () => {
|
|
116
|
-
var
|
|
117
|
-
return [(
|
|
118
|
-
isDisabled: J.value
|
|
119
|
-
})];
|
|
129
|
+
var e;
|
|
130
|
+
return [(e = u.default) == null ? void 0 : e.call(u, r)];
|
|
120
131
|
}
|
|
121
132
|
});
|
|
122
133
|
}
|
|
123
134
|
});
|
|
124
135
|
export {
|
|
125
|
-
|
|
136
|
+
rJ as default
|
|
126
137
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { inject, computed } from "vue";
|
|
2
|
+
import { ERROR_MESSAGE_KEY } from "../utils/common";
|
|
3
|
+
import { ERROR_MESSAGE_KEY as ERROR_MESSAGE_KEY2 } from "../utils/common";
|
|
2
4
|
import { CONFIG_KEY } from "./props";
|
|
3
5
|
import defaultLocale from "../lang/zh_CN";
|
|
4
6
|
function useReceiver() {
|
|
@@ -13,13 +15,18 @@ function useLocale(name, props) {
|
|
|
13
15
|
const lang = computed(() => {
|
|
14
16
|
const temp = globalConfig.locale ?? defaultLocale;
|
|
15
17
|
if (name) {
|
|
16
|
-
|
|
18
|
+
try {
|
|
19
|
+
return Object.assign({}, temp[name] ?? {}, props == null ? void 0 : props.locale);
|
|
20
|
+
} catch (e) {
|
|
21
|
+
console.error(e, ERROR_MESSAGE_KEY);
|
|
22
|
+
}
|
|
17
23
|
}
|
|
18
24
|
return temp;
|
|
19
25
|
});
|
|
20
26
|
return { lang, globalConfig };
|
|
21
27
|
}
|
|
22
28
|
export {
|
|
29
|
+
ERROR_MESSAGE_KEY2 as ERROR_MESSAGE,
|
|
23
30
|
useGlobalProps,
|
|
24
31
|
useLocale,
|
|
25
32
|
useReceiver
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { CropperOptions } from './types';
|
|
2
|
-
import { default as PreviewType } from './components/cropper-preview';
|
|
3
2
|
|
|
4
|
-
export type PreviewInstance = InstanceType<typeof PreviewType> | null;
|
|
5
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
4
|
height: StringConstructor;
|
|
7
5
|
src: StringConstructor;
|
|
@@ -85,8 +83,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
85
83
|
responsive: boolean;
|
|
86
84
|
tools: string;
|
|
87
85
|
preview: boolean;
|
|
88
|
-
imageType: string;
|
|
89
86
|
accept: string;
|
|
87
|
+
imageType: string;
|
|
90
88
|
previewWidth: number;
|
|
91
89
|
toBlob: boolean;
|
|
92
90
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -99,8 +99,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
99
99
|
}>, {
|
|
100
100
|
modelValue: boolean;
|
|
101
101
|
tooltip: boolean;
|
|
102
|
-
preview: boolean;
|
|
103
102
|
responsive: boolean;
|
|
103
|
+
preview: boolean;
|
|
104
104
|
imageType: string;
|
|
105
105
|
accept: string;
|
|
106
106
|
tools: string;
|
|
@@ -34,10 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
if (!searchProps || searchProps === true) {
|
|
35
35
|
return {};
|
|
36
36
|
}
|
|
37
|
-
return
|
|
38
|
-
class: searchProps.class,
|
|
39
|
-
style: searchProps.style
|
|
40
|
-
};
|
|
37
|
+
return searchProps;
|
|
41
38
|
});
|
|
42
39
|
const setTreeCurrentKey = (key) => {
|
|
43
40
|
var _a, _b;
|
package/es/ele-crud/types.d.ts
CHANGED
|
@@ -10,13 +10,13 @@ import type {
|
|
|
10
10
|
ElePageProps,
|
|
11
11
|
EleCardProps,
|
|
12
12
|
EleProTableProps,
|
|
13
|
-
EleProFormProps,
|
|
14
13
|
EleSplitPanelProps,
|
|
15
14
|
EleLoadingProps,
|
|
16
15
|
EleModalProps,
|
|
17
16
|
ElePopconfirmProps,
|
|
18
17
|
EleMessageBoxOptions
|
|
19
18
|
} from '../ele-app/plus';
|
|
19
|
+
import type { EleProFormProps } from '../ele-app/plusx';
|
|
20
20
|
import type { ProFormItemProps } from '../ele-pro-form/types';
|
|
21
21
|
import type { DataItem, DataKey, Column } from '../ele-data-table/types';
|
|
22
22
|
|
package/es/ele-crud/util.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserComponent } from '../../ele-app/types';
|
|
2
|
-
import { EleCrudProps } from '../../ele-app/
|
|
2
|
+
import { EleCrudProps } from '../../ele-app/plusx';
|
|
3
3
|
import { ProFormItemTypeData, ScreenSize } from '../../ele-pro-form/types';
|
|
4
4
|
import { HeaderRightToolName } from '../types';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserComponent } from '../../ele-app/types';
|
|
2
|
-
import { EleCrudProps } from '../../ele-app/
|
|
2
|
+
import { EleCrudProps } from '../../ele-app/plusx';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
/** 弹窗是否打开 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { UserComponent } from '../../ele-app/types';
|
|
3
|
-
import { EleCrudProps, EleProFormBuilderProps, EleProFormProps } from '../../ele-app/
|
|
3
|
+
import { EleCrudProps, EleProFormBuilderProps, EleProFormProps } from '../../ele-app/plusx';
|
|
4
4
|
import { ProFormItemTypeData } from '../../ele-pro-form/types';
|
|
5
5
|
import { FormDesignType } from '../types';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserComponent } from '../../ele-app/types';
|
|
2
|
-
import { EleCrudProps } from '../../ele-app/
|
|
2
|
+
import { EleCrudProps } from '../../ele-app/plusx';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
/** 弹窗是否打开 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { UserComponent } from '../../ele-app/types';
|
|
3
|
-
import { EleCrudProps, EleProFormBuilderProps, EleProFormProps } from '../../ele-app/
|
|
3
|
+
import { EleCrudProps, EleProFormBuilderProps, EleProFormProps } from '../../ele-app/plusx';
|
|
4
4
|
import { ProFormItemTypeData, ProFormItemProps } from '../../ele-pro-form/types';
|
|
5
5
|
import { FormDesignType } from '../types';
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EleCrudProps } from '../ele-app/
|
|
1
|
+
import { EleCrudProps } from '../ele-app/plusx';
|
|
2
2
|
|
|
3
3
|
declare function __VLS_template(): Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>>;
|
|
4
4
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -14,7 +14,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
14
14
|
crudComponent: import('vue').PropType<import('../ele-app/types').UserComponent>;
|
|
15
15
|
proFormComponent: import('vue').PropType<import('../ele-app/types').UserComponent>;
|
|
16
16
|
proFormBuilderComponent: import('vue').PropType<import('../ele-app/types').UserComponent>;
|
|
17
|
-
proFormBuilderProps: import('vue').PropType<import('../ele-app/
|
|
17
|
+
proFormBuilderProps: import('vue').PropType<import('../ele-app/plusx').EleProFormBuilderProps>;
|
|
18
18
|
codeEditerComponent: import('vue').PropType<import('../ele-app/types').UserComponent>;
|
|
19
19
|
jsonEditerComponent: import('vue').PropType<import('../ele-app/types').UserComponent>;
|
|
20
20
|
codeViewerComponent: import('vue').PropType<import('../ele-app/types').UserComponent>;
|
|
@@ -35,7 +35,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
35
35
|
crudComponent: import('vue').PropType<import('../ele-app/types').UserComponent>;
|
|
36
36
|
proFormComponent: import('vue').PropType<import('../ele-app/types').UserComponent>;
|
|
37
37
|
proFormBuilderComponent: import('vue').PropType<import('../ele-app/types').UserComponent>;
|
|
38
|
-
proFormBuilderProps: import('vue').PropType<import('../ele-app/
|
|
38
|
+
proFormBuilderProps: import('vue').PropType<import('../ele-app/plusx').EleProFormBuilderProps>;
|
|
39
39
|
codeEditerComponent: import('vue').PropType<import('../ele-app/types').UserComponent>;
|
|
40
40
|
jsonEditerComponent: import('vue').PropType<import('../ele-app/types').UserComponent>;
|
|
41
41
|
codeViewerComponent: import('vue').PropType<import('../ele-app/types').UserComponent>;
|
|
@@ -209,7 +209,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
209
209
|
} else if (type === "add") {
|
|
210
210
|
handleUpdateConfigField("addConfig.formProps", data, false);
|
|
211
211
|
} else if (type === "edit") {
|
|
212
|
-
handleUpdateConfigField("editConfig
|
|
212
|
+
handleUpdateConfigField("editConfig.formProps", data, false);
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
const handleUndo = () => {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { UserComponent } from '../ele-app/types';
|
|
3
|
-
import {
|
|
3
|
+
import { EleSplitPanelProps } from '../ele-app/plus';
|
|
4
|
+
import { EleCrudProps, EleProFormBuilderProps } from '../ele-app/plusx';
|
|
4
5
|
import { ProFormItemProps, ProFormItemTypeData } from '../ele-pro-form/types';
|
|
5
6
|
import { HeaderRightToolName, TemplateItem } from './types';
|
|
6
7
|
|
|
@@ -804,7 +804,7 @@ const defaultPageConfigFormItems = [
|
|
|
804
804
|
children: [
|
|
805
805
|
{
|
|
806
806
|
label: "添加表单设计",
|
|
807
|
-
prop: "
|
|
807
|
+
prop: "addFormBuilder",
|
|
808
808
|
type: "crudBuilderFormDesign",
|
|
809
809
|
itemType: "view",
|
|
810
810
|
props: { type: "add" }
|
|
@@ -896,7 +896,7 @@ const defaultPageConfigFormItems = [
|
|
|
896
896
|
children: [
|
|
897
897
|
{
|
|
898
898
|
label: "修改表单设计",
|
|
899
|
-
prop: "
|
|
899
|
+
prop: "editFormBuilder",
|
|
900
900
|
type: "crudBuilderFormDesign",
|
|
901
901
|
itemType: "view",
|
|
902
902
|
props: { type: "edit" }
|