3h1-ui 1.0.129 → 1.0.130
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/global.d.ts +102 -102
- package/es/index.d.ts +28 -28
- package/es/index.js +67 -33
- package/es/style.css +54 -54
- package/lib/global.d.ts +102 -102
- package/lib/index.d.ts +28 -28
- package/lib/index.js +67 -33
- package/package.json +6 -4
- package/es/vue.d.ts +0 -8
- package/lib/vue.d.ts +0 -8
package/es/global.d.ts
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentRenderProxy,
|
|
3
|
-
VNode,
|
|
4
|
-
VNodeChild,
|
|
5
|
-
ComponentPublicInstance,
|
|
6
|
-
FunctionalComponent,
|
|
7
|
-
PropType as VuePropType
|
|
8
|
-
} from 'vue'
|
|
9
|
-
|
|
10
|
-
declare global {
|
|
11
|
-
const __APP_INFO__: {
|
|
12
|
-
pkg: {
|
|
13
|
-
name: string
|
|
14
|
-
version: string
|
|
15
|
-
dependencies: Recordable<string>
|
|
16
|
-
devDependencies: Recordable<string>
|
|
17
|
-
}
|
|
18
|
-
lastBuildTime: string
|
|
19
|
-
}
|
|
20
|
-
// declare interface Window {
|
|
21
|
-
// // Global vue app instance
|
|
22
|
-
// __APP__: App<Element>;
|
|
23
|
-
// }
|
|
24
|
-
|
|
25
|
-
// vue
|
|
26
|
-
declare type PropType<T> = VuePropType<T>
|
|
27
|
-
declare type VueNode = VNodeChild | JSX.Element
|
|
28
|
-
|
|
29
|
-
export type Writable<T> = {
|
|
30
|
-
-readonly [P in keyof T]: T[P]
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
declare type Nullable<T> = T | null
|
|
34
|
-
declare type NonNullable<T> = T extends null | undefined ? never : T
|
|
35
|
-
declare type Recordable<T = any> = Record<string, T>
|
|
36
|
-
declare type ReadonlyRecordable<T = any> = {
|
|
37
|
-
readonly [key: string]: T
|
|
38
|
-
}
|
|
39
|
-
declare type Indexable<T = any> = {
|
|
40
|
-
[key: string]: T
|
|
41
|
-
}
|
|
42
|
-
declare type DeepPartial<T> = {
|
|
43
|
-
[P in keyof T]?: DeepPartial<T[P]>
|
|
44
|
-
}
|
|
45
|
-
declare type TimeoutHandle = ReturnType<typeof setTimeout>
|
|
46
|
-
declare type IntervalHandle = ReturnType<typeof setInterval>
|
|
47
|
-
|
|
48
|
-
declare interface ChangeEvent extends Event {
|
|
49
|
-
target: HTMLInputElement
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
declare interface WheelEvent {
|
|
53
|
-
path?: EventTarget[]
|
|
54
|
-
}
|
|
55
|
-
interface ImportMetaEnv extends ViteEnv {
|
|
56
|
-
__: unknown
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
declare interface ViteEnv {
|
|
60
|
-
VITE_PORT: number
|
|
61
|
-
VITE_USE_MOCK: boolean
|
|
62
|
-
VITE_USE_PWA: boolean
|
|
63
|
-
VITE_PUBLIC_PATH: string
|
|
64
|
-
VITE_PROXY: [string, string][]
|
|
65
|
-
VITE_GLOB_APP_TITLE: string
|
|
66
|
-
VITE_GLOB_APP_SHORT_NAME: string
|
|
67
|
-
VITE_GLOB_COPY_RIGHT: string
|
|
68
|
-
VITE_USE_CDN: boolean
|
|
69
|
-
VITE_DROP_CONSOLE: boolean
|
|
70
|
-
VITE_BUILD_COMPRESS: 'gzip' | 'brotli' | 'none'
|
|
71
|
-
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE: boolean
|
|
72
|
-
VITE_LEGACY: boolean
|
|
73
|
-
VITE_USE_IMAGEMIN: boolean
|
|
74
|
-
VITE_GENERATE_UI: string
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
declare function parseInt(s: string | number, radix?: number): number
|
|
78
|
-
|
|
79
|
-
declare function parseFloat(string: string | number): number
|
|
80
|
-
|
|
81
|
-
namespace JSX {
|
|
82
|
-
// tslint:disable no-empty-interface
|
|
83
|
-
type Element = VNode
|
|
84
|
-
// tslint:disable no-empty-interface
|
|
85
|
-
type ElementClass = ComponentRenderProxy
|
|
86
|
-
interface ElementAttributesProperty {
|
|
87
|
-
$props: any
|
|
88
|
-
}
|
|
89
|
-
interface IntrinsicElements {
|
|
90
|
-
[elem: string]: any
|
|
91
|
-
}
|
|
92
|
-
interface IntrinsicAttributes {
|
|
93
|
-
[elem: string]: any
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
declare module 'vue' {
|
|
99
|
-
export type JSXComponent<Props = any> =
|
|
100
|
-
| { new (): ComponentPublicInstance<Props> }
|
|
101
|
-
| FunctionalComponent<Props>
|
|
102
|
-
}
|
|
1
|
+
import type {
|
|
2
|
+
ComponentRenderProxy,
|
|
3
|
+
VNode,
|
|
4
|
+
VNodeChild,
|
|
5
|
+
ComponentPublicInstance,
|
|
6
|
+
FunctionalComponent,
|
|
7
|
+
PropType as VuePropType
|
|
8
|
+
} from 'vue'
|
|
9
|
+
|
|
10
|
+
declare global {
|
|
11
|
+
const __APP_INFO__: {
|
|
12
|
+
pkg: {
|
|
13
|
+
name: string
|
|
14
|
+
version: string
|
|
15
|
+
dependencies: Recordable<string>
|
|
16
|
+
devDependencies: Recordable<string>
|
|
17
|
+
}
|
|
18
|
+
lastBuildTime: string
|
|
19
|
+
}
|
|
20
|
+
// declare interface Window {
|
|
21
|
+
// // Global vue app instance
|
|
22
|
+
// __APP__: App<Element>;
|
|
23
|
+
// }
|
|
24
|
+
|
|
25
|
+
// vue
|
|
26
|
+
declare type PropType<T> = VuePropType<T>
|
|
27
|
+
declare type VueNode = VNodeChild | JSX.Element
|
|
28
|
+
|
|
29
|
+
export type Writable<T> = {
|
|
30
|
+
-readonly [P in keyof T]: T[P]
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare type Nullable<T> = T | null
|
|
34
|
+
declare type NonNullable<T> = T extends null | undefined ? never : T
|
|
35
|
+
declare type Recordable<T = any> = Record<string, T>
|
|
36
|
+
declare type ReadonlyRecordable<T = any> = {
|
|
37
|
+
readonly [key: string]: T
|
|
38
|
+
}
|
|
39
|
+
declare type Indexable<T = any> = {
|
|
40
|
+
[key: string]: T
|
|
41
|
+
}
|
|
42
|
+
declare type DeepPartial<T> = {
|
|
43
|
+
[P in keyof T]?: DeepPartial<T[P]>
|
|
44
|
+
}
|
|
45
|
+
declare type TimeoutHandle = ReturnType<typeof setTimeout>
|
|
46
|
+
declare type IntervalHandle = ReturnType<typeof setInterval>
|
|
47
|
+
|
|
48
|
+
declare interface ChangeEvent extends Event {
|
|
49
|
+
target: HTMLInputElement
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
declare interface WheelEvent {
|
|
53
|
+
path?: EventTarget[]
|
|
54
|
+
}
|
|
55
|
+
interface ImportMetaEnv extends ViteEnv {
|
|
56
|
+
__: unknown
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare interface ViteEnv {
|
|
60
|
+
VITE_PORT: number
|
|
61
|
+
VITE_USE_MOCK: boolean
|
|
62
|
+
VITE_USE_PWA: boolean
|
|
63
|
+
VITE_PUBLIC_PATH: string
|
|
64
|
+
VITE_PROXY: [string, string][]
|
|
65
|
+
VITE_GLOB_APP_TITLE: string
|
|
66
|
+
VITE_GLOB_APP_SHORT_NAME: string
|
|
67
|
+
VITE_GLOB_COPY_RIGHT: string
|
|
68
|
+
VITE_USE_CDN: boolean
|
|
69
|
+
VITE_DROP_CONSOLE: boolean
|
|
70
|
+
VITE_BUILD_COMPRESS: 'gzip' | 'brotli' | 'none'
|
|
71
|
+
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE: boolean
|
|
72
|
+
VITE_LEGACY: boolean
|
|
73
|
+
VITE_USE_IMAGEMIN: boolean
|
|
74
|
+
VITE_GENERATE_UI: string
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
declare function parseInt(s: string | number, radix?: number): number
|
|
78
|
+
|
|
79
|
+
declare function parseFloat(string: string | number): number
|
|
80
|
+
|
|
81
|
+
namespace JSX {
|
|
82
|
+
// tslint:disable no-empty-interface
|
|
83
|
+
type Element = VNode
|
|
84
|
+
// tslint:disable no-empty-interface
|
|
85
|
+
type ElementClass = ComponentRenderProxy
|
|
86
|
+
interface ElementAttributesProperty {
|
|
87
|
+
$props: any
|
|
88
|
+
}
|
|
89
|
+
interface IntrinsicElements {
|
|
90
|
+
[elem: string]: any
|
|
91
|
+
}
|
|
92
|
+
interface IntrinsicAttributes {
|
|
93
|
+
[elem: string]: any
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
declare module 'vue' {
|
|
99
|
+
export type JSXComponent<Props = any> =
|
|
100
|
+
| { new (): ComponentPublicInstance<Props> }
|
|
101
|
+
| FunctionalComponent<Props>
|
|
102
|
+
}
|
package/es/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
declare interface Fn<T = any, R = T> {
|
|
2
|
-
(...arg: T[]): R
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
declare interface PromiseFn<T = any, R = T> {
|
|
6
|
-
(...arg: T[]): Promise<R>
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
declare type RefType<T> = T | null
|
|
10
|
-
|
|
11
|
-
declare type LabelValueOptions = {
|
|
12
|
-
label: string
|
|
13
|
-
value: any
|
|
14
|
-
[key: string]: string | number | boolean
|
|
15
|
-
}[]
|
|
16
|
-
|
|
17
|
-
declare type EmitType = (event: string, ...args: any[]) => void
|
|
18
|
-
|
|
19
|
-
declare type TargetContext = '_self' | '_blank'
|
|
20
|
-
|
|
21
|
-
declare interface ComponentElRef<T extends HTMLElement = HTMLDivElement> {
|
|
22
|
-
$el: T
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
declare type ComponentRef<T extends HTMLElement = HTMLDivElement> =
|
|
26
|
-
ComponentElRef<T> | null
|
|
27
|
-
|
|
28
|
-
declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>
|
|
1
|
+
declare interface Fn<T = any, R = T> {
|
|
2
|
+
(...arg: T[]): R
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
declare interface PromiseFn<T = any, R = T> {
|
|
6
|
+
(...arg: T[]): Promise<R>
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare type RefType<T> = T | null
|
|
10
|
+
|
|
11
|
+
declare type LabelValueOptions = {
|
|
12
|
+
label: string
|
|
13
|
+
value: any
|
|
14
|
+
[key: string]: string | number | boolean
|
|
15
|
+
}[]
|
|
16
|
+
|
|
17
|
+
declare type EmitType = (event: string, ...args: any[]) => void
|
|
18
|
+
|
|
19
|
+
declare type TargetContext = '_self' | '_blank'
|
|
20
|
+
|
|
21
|
+
declare interface ComponentElRef<T extends HTMLElement = HTMLDivElement> {
|
|
22
|
+
$el: T
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare type ComponentRef<T extends HTMLElement = HTMLDivElement> =
|
|
26
|
+
ComponentElRef<T> | null
|
|
27
|
+
|
|
28
|
+
declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>
|
package/es/index.js
CHANGED
|
@@ -2591,7 +2591,7 @@ const _sfc_main$_ = defineComponent({
|
|
|
2591
2591
|
};
|
|
2592
2592
|
}
|
|
2593
2593
|
});
|
|
2594
|
-
const
|
|
2594
|
+
const StrengthMeter_vue_vue_type_style_index_0_scoped_c3da4a85_lang = "";
|
|
2595
2595
|
const _hoisted_1$l = ["data-score"];
|
|
2596
2596
|
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2597
2597
|
const _component_InputPassword = resolveComponent("InputPassword");
|
|
@@ -2623,7 +2623,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2623
2623
|
], 2)
|
|
2624
2624
|
], 2);
|
|
2625
2625
|
}
|
|
2626
|
-
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$E], ["__scopeId", "data-v-
|
|
2626
|
+
const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$E], ["__scopeId", "data-v-c3da4a85"]]);
|
|
2627
2627
|
const _sfc_main$Z = defineComponent({
|
|
2628
2628
|
name: "SvgIcon",
|
|
2629
2629
|
props: {
|
|
@@ -2659,7 +2659,7 @@ const _sfc_main$Z = defineComponent({
|
|
|
2659
2659
|
return { symbolId, prefixCls: prefixCls2, getStyle };
|
|
2660
2660
|
}
|
|
2661
2661
|
});
|
|
2662
|
-
const
|
|
2662
|
+
const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
|
|
2663
2663
|
const _hoisted_1$k = ["xlink:href"];
|
|
2664
2664
|
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2665
2665
|
return openBlock(), createElementBlock("svg", {
|
|
@@ -2670,7 +2670,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2670
2670
|
createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$k)
|
|
2671
2671
|
], 6);
|
|
2672
2672
|
}
|
|
2673
|
-
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$D], ["__scopeId", "data-v-
|
|
2673
|
+
const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$D], ["__scopeId", "data-v-905fa4a6"]]);
|
|
2674
2674
|
const SVG_END_WITH_FLAG = "|svg";
|
|
2675
2675
|
const _sfc_main$Y = defineComponent({
|
|
2676
2676
|
name: "Icon",
|
|
@@ -2951,8 +2951,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
2951
2951
|
};
|
|
2952
2952
|
}
|
|
2953
2953
|
});
|
|
2954
|
-
const
|
|
2955
|
-
const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-
|
|
2954
|
+
const BasicArrow_vue_vue_type_style_index_0_scoped_fea26917_lang = "";
|
|
2955
|
+
const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-fea26917"]]);
|
|
2956
2956
|
const props$d = {
|
|
2957
2957
|
maxWidth: {
|
|
2958
2958
|
type: String,
|
|
@@ -3060,8 +3060,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
3060
3060
|
};
|
|
3061
3061
|
}
|
|
3062
3062
|
});
|
|
3063
|
-
const
|
|
3064
|
-
const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-
|
|
3063
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_59bc8f76_lang = "";
|
|
3064
|
+
const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-59bc8f76"]]);
|
|
3065
3065
|
const props$c = {
|
|
3066
3066
|
prefixCls: { type: String },
|
|
3067
3067
|
helpMessage: {
|
|
@@ -5302,6 +5302,14 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
5302
5302
|
emits: ["update:value"],
|
|
5303
5303
|
setup(__props, { expose, emit }) {
|
|
5304
5304
|
const props2 = __props;
|
|
5305
|
+
const listFormRefs = ref([]);
|
|
5306
|
+
onMounted(() => {
|
|
5307
|
+
listFormRefs.value.forEach((ref2) => {
|
|
5308
|
+
console.log(ref2);
|
|
5309
|
+
const res = ref2.getFieldsValue();
|
|
5310
|
+
console.log(res);
|
|
5311
|
+
});
|
|
5312
|
+
});
|
|
5305
5313
|
const emitData = ref([]);
|
|
5306
5314
|
const [state] = useRuleFormItem(props2, "value", "change", emitData);
|
|
5307
5315
|
const getColumns = computed(() => {
|
|
@@ -5341,7 +5349,17 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
5341
5349
|
emit("update:value", v);
|
|
5342
5350
|
}
|
|
5343
5351
|
);
|
|
5344
|
-
|
|
5352
|
+
const validate = async () => {
|
|
5353
|
+
try {
|
|
5354
|
+
listFormRefs.value.forEach((ref2) => {
|
|
5355
|
+
console.log(ref2);
|
|
5356
|
+
ref2.validate();
|
|
5357
|
+
});
|
|
5358
|
+
} catch {
|
|
5359
|
+
return new Error();
|
|
5360
|
+
}
|
|
5361
|
+
};
|
|
5362
|
+
expose({ validate });
|
|
5345
5363
|
return (_ctx, _cache) => {
|
|
5346
5364
|
return openBlock(), createBlock(unref(Table$1), {
|
|
5347
5365
|
columns: unref(getColumns),
|
|
@@ -5361,9 +5379,19 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
5361
5379
|
])) : createCommentVNode("", true)
|
|
5362
5380
|
]),
|
|
5363
5381
|
bodyCell: withCtx(({ column, record, index: index2 }) => [
|
|
5364
|
-
column.dataIndex !== "index" ? (openBlock(), createBlock(unref(Form), {
|
|
5382
|
+
column.dataIndex !== "index" ? (openBlock(), createBlock(unref(Form), {
|
|
5383
|
+
key: 0,
|
|
5384
|
+
model: record,
|
|
5385
|
+
ref: (el) => {
|
|
5386
|
+
if (el)
|
|
5387
|
+
listFormRefs.value.push(el);
|
|
5388
|
+
}
|
|
5389
|
+
}, {
|
|
5365
5390
|
default: withCtx(() => [
|
|
5366
|
-
createVNode(unref(FormItem),
|
|
5391
|
+
createVNode(unref(FormItem), {
|
|
5392
|
+
rules: (column == null ? void 0 : column.rules) || [],
|
|
5393
|
+
name: column.dataIndex
|
|
5394
|
+
}, {
|
|
5367
5395
|
default: withCtx(() => {
|
|
5368
5396
|
var _a2;
|
|
5369
5397
|
return [
|
|
@@ -5396,10 +5424,10 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
5396
5424
|
];
|
|
5397
5425
|
}),
|
|
5398
5426
|
_: 2
|
|
5399
|
-
},
|
|
5427
|
+
}, 1032, ["rules", "name"])
|
|
5400
5428
|
]),
|
|
5401
5429
|
_: 2
|
|
5402
|
-
},
|
|
5430
|
+
}, 1032, ["model"])) : (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
5403
5431
|
createElementVNode("span", _hoisted_3$1, toDisplayString(index2 + 1), 1),
|
|
5404
5432
|
createElementVNode("div", {
|
|
5405
5433
|
class: "delete-item",
|
|
@@ -5417,8 +5445,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
5417
5445
|
};
|
|
5418
5446
|
}
|
|
5419
5447
|
});
|
|
5420
|
-
const
|
|
5421
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-
|
|
5448
|
+
const Table_vue_vue_type_style_index_0_scoped_8777ed3e_lang = "";
|
|
5449
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-8777ed3e"]]);
|
|
5422
5450
|
const componentMap$1 = /* @__PURE__ */ new Map();
|
|
5423
5451
|
componentMap$1.set("Input", Input);
|
|
5424
5452
|
componentMap$1.set("InputGroup", Input.Group);
|
|
@@ -7511,8 +7539,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
7511
7539
|
};
|
|
7512
7540
|
}
|
|
7513
7541
|
});
|
|
7514
|
-
const
|
|
7515
|
-
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-
|
|
7542
|
+
const BasicTitle_vue_vue_type_style_index_0_scoped_fdc837af_lang = "";
|
|
7543
|
+
const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-fdc837af"]]);
|
|
7516
7544
|
const _sfc_main$A = defineComponent({
|
|
7517
7545
|
name: "BasicModalHeader",
|
|
7518
7546
|
components: { BasicTitle },
|
|
@@ -8707,8 +8735,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
8707
8735
|
};
|
|
8708
8736
|
}
|
|
8709
8737
|
});
|
|
8710
|
-
const
|
|
8711
|
-
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
8738
|
+
const TreeHeader_vue_vue_type_style_index_0_scoped_6d3f2554_lang = "";
|
|
8739
|
+
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-6d3f2554"]]);
|
|
8712
8740
|
process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
8713
8741
|
process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
|
|
8714
8742
|
const isString = (val) => typeof val === "string";
|
|
@@ -9595,7 +9623,7 @@ const _sfc_main$t = defineComponent({
|
|
|
9595
9623
|
return { prefixCls: prefixCls2, getCalcContentWidth };
|
|
9596
9624
|
}
|
|
9597
9625
|
});
|
|
9598
|
-
const
|
|
9626
|
+
const PageFooter_vue_vue_type_style_index_0_scoped_44a47dbd_lang = "";
|
|
9599
9627
|
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9600
9628
|
return openBlock(), createElementBlock("div", {
|
|
9601
9629
|
class: normalizeClass(_ctx.prefixCls),
|
|
@@ -9614,7 +9642,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9614
9642
|
], 2)
|
|
9615
9643
|
], 6);
|
|
9616
9644
|
}
|
|
9617
|
-
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$m], ["__scopeId", "data-v-
|
|
9645
|
+
const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$m], ["__scopeId", "data-v-44a47dbd"]]);
|
|
9618
9646
|
const _sfc_main$s = defineComponent({
|
|
9619
9647
|
name: "PageWrapper",
|
|
9620
9648
|
components: { PageFooter, PageHeader },
|
|
@@ -12745,8 +12773,13 @@ const _sfc_main$h = defineComponent({
|
|
|
12745
12773
|
tableLayout: "fixed",
|
|
12746
12774
|
rowSelection: unref(getRowSelectionRef),
|
|
12747
12775
|
rowKey: unref(getRowKey),
|
|
12748
|
-
columns: toRaw(unref(getViewColumns)).map((item) => {
|
|
12749
|
-
|
|
12776
|
+
columns: toRaw(unref(getViewColumns)).map((item, index2) => {
|
|
12777
|
+
if (index2 !== unref(getViewColumns).length - 1) {
|
|
12778
|
+
item.resizable = true;
|
|
12779
|
+
}
|
|
12780
|
+
if (!Object.prototype.hasOwnProperty.call(item, "width")) {
|
|
12781
|
+
item.width = 80;
|
|
12782
|
+
}
|
|
12750
12783
|
return item;
|
|
12751
12784
|
}),
|
|
12752
12785
|
pagination: toRaw(unref(getPaginationInfo)),
|
|
@@ -12820,6 +12853,7 @@ const _sfc_main$h = defineComponent({
|
|
|
12820
12853
|
emit("register", tableAction, formActions);
|
|
12821
12854
|
const handleResizeColumn = (w, col) => {
|
|
12822
12855
|
col.width = w;
|
|
12856
|
+
console.log(w);
|
|
12823
12857
|
};
|
|
12824
12858
|
const getHeight = computed(() => {
|
|
12825
12859
|
return unref(getScrollRef);
|
|
@@ -13304,7 +13338,7 @@ const _sfc_main$d = defineComponent({
|
|
|
13304
13338
|
setup() {
|
|
13305
13339
|
}
|
|
13306
13340
|
});
|
|
13307
|
-
const
|
|
13341
|
+
const TableDict_vue_vue_type_style_index_0_scoped_b15bfa99_lang = "";
|
|
13308
13342
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13309
13343
|
var _a2;
|
|
13310
13344
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -13333,7 +13367,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13333
13367
|
]), 1032, ["color"])
|
|
13334
13368
|
]);
|
|
13335
13369
|
}
|
|
13336
|
-
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$8], ["__scopeId", "data-v-
|
|
13370
|
+
const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$8], ["__scopeId", "data-v-b15bfa99"]]);
|
|
13337
13371
|
const index = "";
|
|
13338
13372
|
function useTable(tableProps) {
|
|
13339
13373
|
const tableRef = ref(null);
|
|
@@ -13565,8 +13599,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
13565
13599
|
};
|
|
13566
13600
|
}
|
|
13567
13601
|
});
|
|
13568
|
-
const
|
|
13569
|
-
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
13602
|
+
const Modal_vue_vue_type_style_index_0_scoped_dbd84c9c_lang = "";
|
|
13603
|
+
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-dbd84c9c"]]);
|
|
13570
13604
|
const _hoisted_1$4 = { class: "api-modal-select" };
|
|
13571
13605
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
13572
13606
|
__name: "ApiModalSelect",
|
|
@@ -13713,8 +13747,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
13713
13747
|
};
|
|
13714
13748
|
}
|
|
13715
13749
|
});
|
|
13716
|
-
const
|
|
13717
|
-
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
13750
|
+
const ApiModalSelect_vue_vue_type_style_index_0_scoped_fb4fe18d_lang = "";
|
|
13751
|
+
const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-fb4fe18d"]]);
|
|
13718
13752
|
function _isSlot(s) {
|
|
13719
13753
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
13720
13754
|
}
|
|
@@ -17467,7 +17501,7 @@ const _sfc_main$3 = defineComponent({
|
|
|
17467
17501
|
};
|
|
17468
17502
|
}
|
|
17469
17503
|
});
|
|
17470
|
-
const
|
|
17504
|
+
const CropperAvatar_vue_vue_type_style_index_0_scoped_763b4191_lang = "";
|
|
17471
17505
|
const _hoisted_1 = ["src"];
|
|
17472
17506
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17473
17507
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -17517,7 +17551,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17517
17551
|
}, null, 8, ["onRegister", "onUploadSuccess", "uploadApi", "src"])
|
|
17518
17552
|
], 6);
|
|
17519
17553
|
}
|
|
17520
|
-
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
17554
|
+
const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$2], ["__scopeId", "data-v-763b4191"]]);
|
|
17521
17555
|
const props = {
|
|
17522
17556
|
startVal: { type: Number, default: 0 },
|
|
17523
17557
|
endVal: { type: Number, default: 2021 },
|
|
@@ -17667,7 +17701,7 @@ const _sfc_main = defineComponent({
|
|
|
17667
17701
|
}
|
|
17668
17702
|
}
|
|
17669
17703
|
});
|
|
17670
|
-
const
|
|
17704
|
+
const Loading_vue_vue_type_style_index_0_scoped_ee545744_lang = "";
|
|
17671
17705
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17672
17706
|
const _component_Spin = resolveComponent("Spin");
|
|
17673
17707
|
return withDirectives((openBlock(), createElementBlock("section", {
|
|
@@ -17683,7 +17717,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17683
17717
|
[vShow, _ctx.loading]
|
|
17684
17718
|
]);
|
|
17685
17719
|
}
|
|
17686
|
-
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
17720
|
+
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ee545744"]]);
|
|
17687
17721
|
function createLoading(props2, target, wait = false) {
|
|
17688
17722
|
let vm = null;
|
|
17689
17723
|
const data = reactive({
|