3h1-ui 1.0.128 → 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 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 StrengthMeter_vue_vue_type_style_index_0_scoped_eda28c94_lang = "";
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-eda28c94"]]);
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 SvgIcon_vue_vue_type_style_index_0_scoped_fa64fe87_lang = "";
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-fa64fe87"]]);
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 BasicArrow_vue_vue_type_style_index_0_scoped_03d87956_lang = "";
2955
- const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-03d87956"]]);
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 BasicTitle_vue_vue_type_style_index_0_scoped_c007dbdf_lang = "";
3064
- const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-c007dbdf"]]);
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
- expose({});
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), { key: 0 }, {
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), null, {
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
- }, 1024)
5427
+ }, 1032, ["rules", "name"])
5400
5428
  ]),
5401
5429
  _: 2
5402
- }, 1024)) : (openBlock(), createElementBlock("div", _hoisted_2$3, [
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 Table_vue_vue_type_style_index_0_scoped_21e4cb4e_lang = "";
5421
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-21e4cb4e"]]);
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);
@@ -6098,7 +6126,6 @@ const _sfc_main$H = defineComponent({
6098
6126
  );
6099
6127
  });
6100
6128
  const getPreIcon = computed(() => {
6101
- console.log("getSubmitBtnOptions.value", getSubmitBtnOptions.value);
6102
6129
  if (getSubmitBtnOptions.value.loading) {
6103
6130
  return void 0;
6104
6131
  } else {
@@ -6107,7 +6134,6 @@ const _sfc_main$H = defineComponent({
6107
6134
  });
6108
6135
  watchEffect(() => {
6109
6136
  getPreIcon.value;
6110
- console.log(" getPreIcon.value", getPreIcon.value);
6111
6137
  });
6112
6138
  return {
6113
6139
  actionColOpt,
@@ -7513,8 +7539,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
7513
7539
  };
7514
7540
  }
7515
7541
  });
7516
- const BasicTitle_vue_vue_type_style_index_0_scoped_a48f9d86_lang = "";
7517
- const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-a48f9d86"]]);
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"]]);
7518
7544
  const _sfc_main$A = defineComponent({
7519
7545
  name: "BasicModalHeader",
7520
7546
  components: { BasicTitle },
@@ -8709,8 +8735,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8709
8735
  };
8710
8736
  }
8711
8737
  });
8712
- const TreeHeader_vue_vue_type_style_index_0_scoped_a0f20f9d_lang = "";
8713
- const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-a0f20f9d"]]);
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"]]);
8714
8740
  process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
8715
8741
  process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
8716
8742
  const isString = (val) => typeof val === "string";
@@ -9597,7 +9623,7 @@ const _sfc_main$t = defineComponent({
9597
9623
  return { prefixCls: prefixCls2, getCalcContentWidth };
9598
9624
  }
9599
9625
  });
9600
- const PageFooter_vue_vue_type_style_index_0_scoped_b4695833_lang = "";
9626
+ const PageFooter_vue_vue_type_style_index_0_scoped_44a47dbd_lang = "";
9601
9627
  function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
9602
9628
  return openBlock(), createElementBlock("div", {
9603
9629
  class: normalizeClass(_ctx.prefixCls),
@@ -9616,7 +9642,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
9616
9642
  ], 2)
9617
9643
  ], 6);
9618
9644
  }
9619
- const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$m], ["__scopeId", "data-v-b4695833"]]);
9645
+ const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$m], ["__scopeId", "data-v-44a47dbd"]]);
9620
9646
  const _sfc_main$s = defineComponent({
9621
9647
  name: "PageWrapper",
9622
9648
  components: { PageFooter, PageHeader },
@@ -11325,7 +11351,7 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef, getDa
11325
11351
  !tableEl.classList.contains("hide-scrollbar-x") && tableEl.classList.add("hide-scrollbar-x");
11326
11352
  }
11327
11353
  bodyEl.style.height = "unset";
11328
- if (!unref(getCanResize) || !unref(tableData) || tableData.length === 0)
11354
+ if (!unref(getCanResize) || !unref(tableData))
11329
11355
  return;
11330
11356
  await nextTick();
11331
11357
  const headEl = tableEl.querySelector(".ant-table-thead ");
@@ -11333,7 +11359,7 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef, getDa
11333
11359
  return;
11334
11360
  let paddingHeight = 32;
11335
11361
  let paginationHeight = 2;
11336
- if (!isBoolean(pagination)) {
11362
+ if (!isBoolean(pagination) && tableData.length !== 0) {
11337
11363
  paginationEl = tableEl.querySelector(".ant-pagination");
11338
11364
  if (paginationEl) {
11339
11365
  const offsetHeight = paginationEl.offsetHeight;
@@ -12598,7 +12624,8 @@ const _sfc_main$h = defineComponent({
12598
12624
  components: {
12599
12625
  Table: Table$1,
12600
12626
  BasicForm,
12601
- HeaderCell
12627
+ HeaderCell,
12628
+ Empty
12602
12629
  },
12603
12630
  props: basicProps$1,
12604
12631
  emits: [
@@ -12746,8 +12773,13 @@ const _sfc_main$h = defineComponent({
12746
12773
  tableLayout: "fixed",
12747
12774
  rowSelection: unref(getRowSelectionRef),
12748
12775
  rowKey: unref(getRowKey),
12749
- columns: toRaw(unref(getViewColumns)).map((item) => {
12750
- item.resizable = true;
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
+ }
12751
12783
  return item;
12752
12784
  }),
12753
12785
  pagination: toRaw(unref(getPaginationInfo)),
@@ -12821,7 +12853,11 @@ const _sfc_main$h = defineComponent({
12821
12853
  emit("register", tableAction, formActions);
12822
12854
  const handleResizeColumn = (w, col) => {
12823
12855
  col.width = w;
12856
+ console.log(w);
12824
12857
  };
12858
+ const getHeight = computed(() => {
12859
+ return unref(getScrollRef);
12860
+ });
12825
12861
  return {
12826
12862
  formRef,
12827
12863
  tableElRef,
@@ -12840,7 +12876,8 @@ const _sfc_main$h = defineComponent({
12840
12876
  getFormSlotKeys,
12841
12877
  getWrapperClass,
12842
12878
  columns: getViewColumns,
12843
- handleResizeColumn
12879
+ handleResizeColumn,
12880
+ getHeight
12844
12881
  };
12845
12882
  }
12846
12883
  });
@@ -12848,6 +12885,7 @@ const _hoisted_1$8 = { class: "shy-page" };
12848
12885
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
12849
12886
  const _component_BasicForm = resolveComponent("BasicForm");
12850
12887
  const _component_HeaderCell = resolveComponent("HeaderCell");
12888
+ const _component_Empty = resolveComponent("Empty");
12851
12889
  const _component_Table = resolveComponent("Table");
12852
12890
  return openBlock(), createElementBlock("div", {
12853
12891
  ref: "wrapRef",
@@ -12882,6 +12920,14 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
12882
12920
  headerCell: withCtx(({ column }) => [
12883
12921
  createVNode(_component_HeaderCell, { column }, null, 8, ["column"])
12884
12922
  ]),
12923
+ emptyText: withCtx(() => [
12924
+ createElementVNode("div", {
12925
+ class: "flex justify-center items-center",
12926
+ style: normalizeStyle({ height: `${_ctx.getHeight.y - 40}px` })
12927
+ }, [
12928
+ createVNode(_component_Empty)
12929
+ ], 4)
12930
+ ]),
12885
12931
  bodyCell: withCtx((data) => [
12886
12932
  renderSlot(_ctx.$slots, "bodyCell", normalizeProps(guardReactiveProps(data || {})))
12887
12933
  ]),
@@ -13292,7 +13338,7 @@ const _sfc_main$d = defineComponent({
13292
13338
  setup() {
13293
13339
  }
13294
13340
  });
13295
- const TableDict_vue_vue_type_style_index_0_scoped_1ab38c8b_lang = "";
13341
+ const TableDict_vue_vue_type_style_index_0_scoped_b15bfa99_lang = "";
13296
13342
  function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
13297
13343
  var _a2;
13298
13344
  const _component_Icon = resolveComponent("Icon");
@@ -13321,7 +13367,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
13321
13367
  ]), 1032, ["color"])
13322
13368
  ]);
13323
13369
  }
13324
- const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$8], ["__scopeId", "data-v-1ab38c8b"]]);
13370
+ const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$8], ["__scopeId", "data-v-b15bfa99"]]);
13325
13371
  const index = "";
13326
13372
  function useTable(tableProps) {
13327
13373
  const tableRef = ref(null);
@@ -13553,8 +13599,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
13553
13599
  };
13554
13600
  }
13555
13601
  });
13556
- const Modal_vue_vue_type_style_index_0_scoped_3a86ddfa_lang = "";
13557
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-3a86ddfa"]]);
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"]]);
13558
13604
  const _hoisted_1$4 = { class: "api-modal-select" };
13559
13605
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
13560
13606
  __name: "ApiModalSelect",
@@ -13701,8 +13747,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
13701
13747
  };
13702
13748
  }
13703
13749
  });
13704
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_5427533c_lang = "";
13705
- const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-5427533c"]]);
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"]]);
13706
13752
  function _isSlot(s) {
13707
13753
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
13708
13754
  }
@@ -17455,7 +17501,7 @@ const _sfc_main$3 = defineComponent({
17455
17501
  };
17456
17502
  }
17457
17503
  });
17458
- const CropperAvatar_vue_vue_type_style_index_0_scoped_d163dca1_lang = "";
17504
+ const CropperAvatar_vue_vue_type_style_index_0_scoped_763b4191_lang = "";
17459
17505
  const _hoisted_1 = ["src"];
17460
17506
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
17461
17507
  const _component_Icon = resolveComponent("Icon");
@@ -17505,7 +17551,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
17505
17551
  }, null, 8, ["onRegister", "onUploadSuccess", "uploadApi", "src"])
17506
17552
  ], 6);
17507
17553
  }
17508
- const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$2], ["__scopeId", "data-v-d163dca1"]]);
17554
+ const CropperAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$2], ["__scopeId", "data-v-763b4191"]]);
17509
17555
  const props = {
17510
17556
  startVal: { type: Number, default: 0 },
17511
17557
  endVal: { type: Number, default: 2021 },
@@ -17655,7 +17701,7 @@ const _sfc_main = defineComponent({
17655
17701
  }
17656
17702
  }
17657
17703
  });
17658
- const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
17704
+ const Loading_vue_vue_type_style_index_0_scoped_ee545744_lang = "";
17659
17705
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
17660
17706
  const _component_Spin = resolveComponent("Spin");
17661
17707
  return withDirectives((openBlock(), createElementBlock("section", {
@@ -17671,7 +17717,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
17671
17717
  [vShow, _ctx.loading]
17672
17718
  ]);
17673
17719
  }
17674
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-33b23b82"]]);
17720
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ee545744"]]);
17675
17721
  function createLoading(props2, target, wait = false) {
17676
17722
  let vm = null;
17677
17723
  const data = reactive({