3h1-ui 3.0.0-next.217 → 3.0.0-next.218

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.
@@ -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
+ }
@@ -1,36 +1,36 @@
1
- type Nullable<T> = T | null
2
-
3
- declare interface Fn<T = any, R = T> {
4
- (...arg: T[]): R
5
- }
6
-
7
- declare interface PromiseFn<T = any, R = T> {
8
- (...arg: T[]): Promise<R>
9
- }
10
-
11
- declare type RefType<T> = T | null
12
-
13
- declare type LabelValueOptions = {
14
- label: string
15
- value: any
16
- [key: string]: string | number | boolean
17
- }[]
18
-
19
- declare type EmitType = (event: any, ...args: any[]) => void
20
-
21
- declare type TargetContext = '_self' | '_blank'
22
-
23
- declare interface ComponentElRef<T extends HTMLElement = HTMLDivElement> {
24
- $el: T
25
- }
26
-
27
- declare type ComponentRef<T extends HTMLElement = HTMLDivElement> =
28
- ComponentElRef<T> | null
29
-
30
- declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>
31
-
32
- declare type Recordable<T = any> = { [key: string]: T }
33
-
34
- // declare module 'vue-types' {
35
- // // 这里添加 vue-types 模块的类型声明
36
- // }
1
+ type Nullable<T> = T | null
2
+
3
+ declare interface Fn<T = any, R = T> {
4
+ (...arg: T[]): R
5
+ }
6
+
7
+ declare interface PromiseFn<T = any, R = T> {
8
+ (...arg: T[]): Promise<R>
9
+ }
10
+
11
+ declare type RefType<T> = T | null
12
+
13
+ declare type LabelValueOptions = {
14
+ label: string
15
+ value: any
16
+ [key: string]: string | number | boolean
17
+ }[]
18
+
19
+ declare type EmitType = (event: any, ...args: any[]) => void
20
+
21
+ declare type TargetContext = '_self' | '_blank'
22
+
23
+ declare interface ComponentElRef<T extends HTMLElement = HTMLDivElement> {
24
+ $el: T
25
+ }
26
+
27
+ declare type ComponentRef<T extends HTMLElement = HTMLDivElement> =
28
+ ComponentElRef<T> | null
29
+
30
+ declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>
31
+
32
+ declare type Recordable<T = any> = { [key: string]: T }
33
+
34
+ // declare module 'vue-types' {
35
+ // // 这里添加 vue-types 模块的类型声明
36
+ // }
package/lib/index.js CHANGED
@@ -2224,7 +2224,7 @@ const _sfc_main$_ = vue.defineComponent({
2224
2224
  return { symbolId, prefixCls: prefixCls2, getStyle: getStyle2 };
2225
2225
  }
2226
2226
  });
2227
- const SvgIcon_vue_vue_type_style_index_0_scoped_905fa4a6_lang = "";
2227
+ const SvgIcon_vue_vue_type_style_index_0_scoped_fa64fe87_lang = "";
2228
2228
  const _hoisted_1$o = ["xlink:href"];
2229
2229
  function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
2230
2230
  return vue.openBlock(), vue.createElementBlock("svg", {
@@ -2235,7 +2235,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
2235
2235
  vue.createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$o)
2236
2236
  ], 6);
2237
2237
  }
2238
- const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$B], ["__scopeId", "data-v-905fa4a6"]]);
2238
+ const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$B], ["__scopeId", "data-v-fa64fe87"]]);
2239
2239
  const SVG_END_WITH_FLAG = "|svg";
2240
2240
  const _sfc_main$Z = vue.defineComponent({
2241
2241
  name: "Icon",
@@ -4922,8 +4922,8 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
4922
4922
  };
4923
4923
  }
4924
4924
  });
4925
- const BasicArrow_vue_vue_type_style_index_0_scoped_fea26917_lang = "";
4926
- const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-fea26917"]]);
4925
+ const BasicArrow_vue_vue_type_style_index_0_scoped_03d87956_lang = "";
4926
+ const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-03d87956"]]);
4927
4927
  function bound01$1(n2, max) {
4928
4928
  if (isOnePointZero$1(n2)) {
4929
4929
  n2 = "100%";
@@ -7475,8 +7475,8 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
7475
7475
  };
7476
7476
  }
7477
7477
  });
7478
- const BasicTitle_vue_vue_type_style_index_0_scoped_97cf8edc_lang = "";
7479
- const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-97cf8edc"]]);
7478
+ const BasicTitle_vue_vue_type_style_index_0_scoped_3d04f680_lang = "";
7479
+ const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-3d04f680"]]);
7480
7480
  const props$a = {
7481
7481
  prefixCls: { type: String },
7482
7482
  helpMessage: {
@@ -9019,8 +9019,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
9019
9019
  };
9020
9020
  }
9021
9021
  });
9022
- const BasicTitle_vue_vue_type_style_index_0_scoped_5cd7267e_lang = "";
9023
- const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-5cd7267e"]]);
9022
+ const BasicTitle_vue_vue_type_style_index_0_scoped_c837219c_lang = "";
9023
+ const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-c837219c"]]);
9024
9024
  const _sfc_main$L = vue.defineComponent({
9025
9025
  name: "BasicModalHeader",
9026
9026
  components: { BasicTitle },
@@ -10811,7 +10811,7 @@ const _sfc_main$A = vue.defineComponent({
10811
10811
  };
10812
10812
  }
10813
10813
  });
10814
- const StrengthMeter_vue_vue_type_style_index_0_scoped_678d40fd_lang = "";
10814
+ const StrengthMeter_vue_vue_type_style_index_0_scoped_c8d77eaa_lang = "";
10815
10815
  const _hoisted_1$i = ["data-score"];
10816
10816
  function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
10817
10817
  const _component_InputPassword = vue.resolveComponent("InputPassword");
@@ -10843,7 +10843,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
10843
10843
  ], 2)
10844
10844
  ], 2);
10845
10845
  }
10846
- const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$g], ["__scopeId", "data-v-678d40fd"]]);
10846
+ const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$g], ["__scopeId", "data-v-c8d77eaa"]]);
10847
10847
  function useCountdown(count) {
10848
10848
  const currentCount = vue.ref(count);
10849
10849
  const isStart = vue.ref(false);
@@ -11803,7 +11803,7 @@ const FormItem$2 = /* @__PURE__ */ vue.defineComponent({
11803
11803
  }, [`${current.month() + 1}月`]);
11804
11804
  };
11805
11805
  }
11806
- if (schema2.component === "Input" || schema2.component === "InputTextArea") {
11806
+ if (schema2.component === "Input") {
11807
11807
  const maxlength = (componentProps == null ? void 0 : componentProps.maxlength) === void 0 ? 100 : componentProps.maxlength;
11808
11808
  componentProps = Object.assign({}, componentProps, {
11809
11809
  maxlength
@@ -27436,8 +27436,8 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
27436
27436
  };
27437
27437
  }
27438
27438
  });
27439
- const Modal_vue_vue_type_style_index_0_scoped_0ca4fd85_lang = "";
27440
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-0ca4fd85"]]);
27439
+ const Modal_vue_vue_type_style_index_0_scoped_15e2dcbb_lang = "";
27440
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-15e2dcbb"]]);
27441
27441
  const _hoisted_1$f = { class: "api-modal-select" };
27442
27442
  const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
27443
27443
  __name: "ApiModalSelect",
@@ -27585,8 +27585,8 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
27585
27585
  };
27586
27586
  }
27587
27587
  });
27588
- const ApiModalSelect_vue_vue_type_style_index_0_scoped_45845a8d_lang = "";
27589
- const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-45845a8d"]]);
27588
+ const ApiModalSelect_vue_vue_type_style_index_0_scoped_5019fbdf_lang = "";
27589
+ const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-5019fbdf"]]);
27590
27590
  const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
27591
27591
  __name: "FormWrapper",
27592
27592
  props: {
@@ -33956,7 +33956,7 @@ const styles = `.vue-colorful {
33956
33956
  border-color: transparent;
33957
33957
  border-bottom: 12px solid #000;
33958
33958
  border-radius: 8px 8px 0 0;
33959
- background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
33959
+ background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)),\r
33960
33960
  linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
33961
33961
  }
33962
33962
  .vue-colorful__pointer-fill, .vue-colorful__alpha-gradient {
@@ -33977,15 +33977,15 @@ const styles = `.vue-colorful {
33977
33977
  height: 24px;
33978
33978
  }
33979
33979
  .vue-colorful__hue {
33980
- background: linear-gradient(
33981
- to right,
33982
- #f00 0%,
33983
- #ff0 17%,
33984
- #0f0 33%,
33985
- #0ff 50%,
33986
- #00f 67%,
33987
- #f0f 83%,
33988
- #f00 100%
33980
+ background: linear-gradient(\r
33981
+ to right,\r
33982
+ #f00 0%,\r
33983
+ #ff0 17%,\r
33984
+ #0f0 33%,\r
33985
+ #0ff 50%,\r
33986
+ #00f 67%,\r
33987
+ #f0f 83%,\r
33988
+ #f00 100%\r
33989
33989
  );
33990
33990
  }
33991
33991
  .vue-colorful__last-control {
@@ -40332,7 +40332,7 @@ const _sfc_main$8 = vue.defineComponent({
40332
40332
  }
40333
40333
  }
40334
40334
  });
40335
- const Loading_vue_vue_type_style_index_0_scoped_ee545744_lang = "";
40335
+ const Loading_vue_vue_type_style_index_0_scoped_33b23b82_lang = "";
40336
40336
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
40337
40337
  const _component_Spin = vue.resolveComponent("Spin");
40338
40338
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("section", {
@@ -40348,7 +40348,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
40348
40348
  [vue.vShow, _ctx.loading]
40349
40349
  ]);
40350
40350
  }
40351
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$3], ["__scopeId", "data-v-ee545744"]]);
40351
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$3], ["__scopeId", "data-v-33b23b82"]]);
40352
40352
  function createLoading(props2, target, wait = false) {
40353
40353
  let vm = null;
40354
40354
  const data = vue.reactive({
@@ -42079,7 +42079,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
42079
42079
  },
42080
42080
  setup(__props, { expose: __expose }) {
42081
42081
  vue.useCssVars((_ctx) => ({
42082
- "989efb00": props2.labelWidth
42082
+ "7210fae1": props2.labelWidth
42083
42083
  }));
42084
42084
  const props2 = __props;
42085
42085
  const form = vue.ref({});
@@ -42251,8 +42251,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
42251
42251
  };
42252
42252
  }
42253
42253
  });
42254
- const DescriptionsForm_vue_vue_type_style_index_0_scoped_2d2eda80_lang = "";
42255
- const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2d2eda80"]]);
42254
+ const DescriptionsForm_vue_vue_type_style_index_0_scoped_b1ced086_lang = "";
42255
+ const descriptionsForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b1ced086"]]);
42256
42256
  const DescriptionsForm = utils$1.withInstall(descriptionsForm);
42257
42257
  const basicResizeWrapperProps = vue.reactive({
42258
42258
  designWidth: {