@xiaou66/u-web-ui 0.0.25 → 0.0.26

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.
@@ -0,0 +1,46 @@
1
+ import { JSX } from 'vue/jsx-runtime';
2
+ export interface BackTopProps {
3
+ /**
4
+ * @zh 显示回到顶部按钮的触发滚动高度
5
+ * @en Display the trigger scroll height of the back to top button
6
+ */
7
+ visibleHeight?: number;
8
+ /**
9
+ * @zh 滚动事件的监听容器
10
+ * @en Scroll event listener container
11
+ */
12
+ targetContainer?: string | HTMLElement;
13
+ /**
14
+ * @zh 滚动动画的缓动方式,可选值参考 [BTween](https://github.com/PengJiyuan/b-tween)
15
+ * @en Easing mode of scrolling animation, refer to [BTween](https://github.com/PengJiyuan/b-tween) for optional values
16
+ */
17
+ easing?: string;
18
+ /**
19
+ * @zh 滚动动画的持续时间
20
+ * @en Duration of scroll animation
21
+ */
22
+ duration?: number;
23
+ /**
24
+ * @zh 按钮的位置
25
+ * @en Button position
26
+ */
27
+ position?: {
28
+ right?: number;
29
+ bottom?: number;
30
+ };
31
+ }
32
+ export interface BackTopSlots {
33
+ /**
34
+ * @zh 自定义回到顶部按钮内容
35
+ * @en Custom back to top button content
36
+ */
37
+ default?: () => JSX.Element;
38
+ }
39
+ export interface BackTopEmits {
40
+ /**
41
+ * @zh 点击回到顶部按钮时触发
42
+ * @en Triggered when clicking the back to top button
43
+ */
44
+ (e: 'click'): void;
45
+ }
46
+ //# sourceMappingURL=BackTop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackTop.d.ts","sourceRoot":"","sources":["../../../src/components/BackTop/BackTop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IACvC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE;QACT,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAA;CACF;AAED,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;CAC7B;AAED,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CACpB"}
@@ -0,0 +1,26 @@
1
+ import { BackTopProps, BackTopSlots } from './BackTop';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: Readonly<BackTopSlots> & BackTopSlots;
6
+ refs: {};
7
+ rootEl: any;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: DefineComponent<BackTopProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
11
+ click: () => any;
12
+ }, string, PublicProps, Readonly<BackTopProps> & Readonly<{
13
+ onClick?: (() => any) | undefined;
14
+ }>, {
15
+ visibleHeight: number;
16
+ easing: string;
17
+ duration: number;
18
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
+ export default _default;
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
26
+ //# sourceMappingURL=BackTop.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackTop.vue.d.ts","sourceRoot":"","sources":["../../../src/components/BackTop/BackTop.vue"],"names":[],"mappings":";AAqJA,OAAO,KAAK,EAAE,YAAY,EAAgB,YAAY,EAAE,MAAM,WAAW,CAAA;AAgIzE,iBAAS,cAAc;WAgDT,OAAO,IAA6B;;;;EAKjD;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;6EASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './BackTop';
2
+ export { default as BackTop } from './BackTop.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BackTop/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAA;AACjB,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC"}
@@ -12,8 +12,8 @@ declare const __VLS_component: DefineComponent<PageHeaderProps, {}, {}, {}, {},
12
12
  }, string, PublicProps, Readonly<PageHeaderProps> & Readonly<{
13
13
  onBack?: (() => any) | undefined;
14
14
  }>, {
15
- size: PageHeaderSize;
16
15
  title: string;
16
+ size: PageHeaderSize;
17
17
  subtitle: string;
18
18
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
19
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -0,0 +1,4 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
3
+ export default _default;
4
+ //# sourceMappingURL=403.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"403.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Result/403.vue"],"names":[],"mappings":";;AA8HA,wBAMG"}
@@ -0,0 +1,4 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
3
+ export default _default;
4
+ //# sourceMappingURL=404.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"404.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Result/404.vue"],"names":[],"mappings":";;AA4IA,wBAMG"}
@@ -0,0 +1,4 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
3
+ export default _default;
4
+ //# sourceMappingURL=500.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"500.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Result/500.vue"],"names":[],"mappings":";;AA8IA,wBAMG"}
@@ -0,0 +1,52 @@
1
+ declare const RESULT_STATUS: readonly ["info", "success", "warning", "error", "403", "404", "500", null];
2
+ export type ResultStatus = typeof RESULT_STATUS[number];
3
+ export interface ResultProps {
4
+ /**
5
+ * @zh 结果页显示的状态
6
+ * @en The status displayed on the result page
7
+ * @values 'info','success','warning','error','403','404','500', null
8
+ */
9
+ status?: ResultStatus;
10
+ /**
11
+ * @zh 标题内容
12
+ * @en Title
13
+ */
14
+ title?: string;
15
+ /**
16
+ * @zh 子标题内容
17
+ * @en Subtitle
18
+ */
19
+ subtitle?: string;
20
+ }
21
+ /**
22
+ * Result 组件的插槽类型
23
+ */
24
+ export interface ResultSlots {
25
+ /**
26
+ * @zh 图标
27
+ * @en Icon
28
+ */
29
+ icon?(): any;
30
+ /**
31
+ * @zh 标题
32
+ * @en Title
33
+ */
34
+ title?(): any;
35
+ /**
36
+ * @zh 副标题
37
+ * @en Subtitle
38
+ */
39
+ subtitle?(): any;
40
+ /**
41
+ * @zh 操作区
42
+ * @en Extra
43
+ */
44
+ extra?(): any;
45
+ /**
46
+ * @zh 默认插槽
47
+ * @en Default
48
+ */
49
+ default?(): any;
50
+ }
51
+ export {};
52
+ //# sourceMappingURL=Result.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Result.d.ts","sourceRoot":"","sources":["../../../src/components/Result/Result.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,aAAa,6EAST,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC;AAExD,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,IAAI,CAAC,IAAI,GAAG,CAAC;IACb;;;OAGG;IACH,KAAK,CAAC,IAAI,GAAG,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,IAAI,GAAG,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,IAAI,GAAG,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,IAAI,GAAG,CAAC;CACjB"}
@@ -0,0 +1,38 @@
1
+ import { ResultStatus, ResultSlots } from './Result.ts';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface Props {
4
+ /**
5
+ * @zh 结果页显示的状态
6
+ * @en The status displayed on the result page
7
+ * @values 'info','success','warning','error','403','404','500', null
8
+ */
9
+ status?: ResultStatus;
10
+ /**
11
+ * @zh 标题内容
12
+ * @en Title
13
+ */
14
+ title?: string;
15
+ /**
16
+ * @zh 子标题内容
17
+ * @en Subtitle
18
+ */
19
+ subtitle?: string;
20
+ }
21
+ declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
23
+ slots: Readonly<ResultSlots> & ResultSlots;
24
+ refs: {};
25
+ rootEl: HTMLDivElement;
26
+ };
27
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
28
+ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
29
+ status: ResultStatus;
30
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
+ export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
38
+ //# sourceMappingURL=Result.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Result.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Result/Result.vue"],"names":[],"mappings":";AA8HA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAa7D,UAAU,KAAK;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAkDD,iBAAS,cAAc;WA8GT,OAAO,IAA6B;;;;EAKjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YA9LV,YAAY;wFAsMrB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './Result';
2
+ export { default as Result } from './Result.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Result/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAA;AACjB,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC"}
@@ -1,6 +1,8 @@
1
+ export * from './BackTop';
1
2
  export * from './layout';
2
3
  export * from './Menu';
3
4
  export * from './PageHeader';
5
+ export * from './Result';
4
6
  export * from './Setting';
5
7
  export * from './switch';
6
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"UtoolsLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/UtoolsLayout/UtoolsLayout.vue"],"names":[],"mappings":";;;AAyEA,OAAO,EAAmC,KAAK,cAAc,EAAE,MAAM,YAAY,CAAA;AAEjF,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAiBJ,iBAAS,cAAc;WA0HT,OAAO,IAA6B;;+BAZd,GAAG;wBACV,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA6Du+f,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;EA7C5ngB;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WAhKT,MAAM;YAHL,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAiMo/f,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;kBArB3ngB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"UtoolsLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/UtoolsLayout/UtoolsLayout.vue"],"names":[],"mappings":";;;AAyEA,OAAO,EAAmC,KAAK,cAAc,EAAE,MAAM,YAAY,CAAA;AAEjF,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAiBJ,iBAAS,cAAc;WA0HT,OAAO,IAA6B;;+BAZd,GAAG;wBACV,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA6D6+f,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;EA7ClogB;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WAhKT,MAAM;YAHL,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAiM0/f,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;kBArBjogB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -24,8 +24,8 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
24
24
  "onUpdate:value"?: ((value: string | number | boolean) => any) | undefined;
25
25
  "onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
26
26
  }>, {
27
- size: "mini" | "small" | "medium" | "large";
28
27
  type: "circle" | "round" | "line";
28
+ size: "mini" | "small" | "medium" | "large";
29
29
  disabled: boolean;
30
30
  loading: boolean;
31
31
  defaultChecked: boolean;
@@ -9,8 +9,8 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
9
9
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
10
  "onUpdate:value"?: ((value: string | number | boolean) => any) | undefined;
11
11
  }>, {
12
- size: "mini" | "small" | "medium" | "large";
13
12
  type: "circle" | "round" | "line";
13
+ size: "mini" | "small" | "medium" | "large";
14
14
  disabled: boolean;
15
15
  loading: boolean;
16
16
  defaultChecked: boolean;