jb-mobile-ui 1.0.7 → 1.0.9

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/README.md CHANGED
@@ -1,61 +1,61 @@
1
- <h1 align="center">Jb Mobile Ui</h1>
2
-
3
- <p align="center">A public Vue UI library for JinBiWuYe mobile web apps(Vue 3).</p>
4
-
5
- ## Install
6
-
7
- Using `npm` to install:
8
-
9
- ```bash
10
- npm i jb-mobile-ui
11
- ```
12
-
13
- Using `yarn`, `pnpm`, or `bun`:
14
-
15
- ```bash
16
- # with yarn
17
- yarn add jb-mobile-ui
18
-
19
- # with pnpm
20
- pnpm add jb-mobile-ui
21
-
22
- # with Bun
23
- bun add jb-mobile-ui
24
- ```
25
-
26
- ## Usage
27
-
28
- 在 vite.config.ts 中添加配置:
29
-
30
- ```javascript
31
- resolve: {
32
- alias: {
33
- 'jb-mobile-ui': '/node_modules/jb-mobile-ui'
34
- }
35
- }
36
- ```
37
-
38
- 在 main.ts 中引入 css:
39
-
40
- ```javascript
41
- import 'jb-mobile-ui/dist/index.css'
42
- ```
43
-
44
- 如果需要更换主题色,则需要在引入 jb-mobile-ui/dist/index.css 后通过 css 变量 --theme-color 进行修改:
45
-
46
- ```css
47
- :root {
48
- --theme-color: #7B52FE;
49
- }
50
- ```
51
-
52
- 按需引入组件:
53
-
54
- ```javascript
55
- import { JbMobileButton } from 'jb-mobile-ui'
56
- ```
57
-
58
- ## Links
59
-
60
- - [Documentation]()
61
- - [Changelog](https://jinbicloud.coding.net/p/P8/d/jb-mobile-ui/git/tree/main/CHANGELOG.md)
1
+ <h1 align="center">Jb Mobile Ui</h1>
2
+
3
+ <p align="center">A public Vue UI library for JinBiWuYe mobile web apps(Vue 3).</p>
4
+
5
+ ## Install
6
+
7
+ Using `npm` to install:
8
+
9
+ ```bash
10
+ npm i jb-mobile-ui
11
+ ```
12
+
13
+ Using `yarn`, `pnpm`, or `bun`:
14
+
15
+ ```bash
16
+ # with yarn
17
+ yarn add jb-mobile-ui
18
+
19
+ # with pnpm
20
+ pnpm add jb-mobile-ui
21
+
22
+ # with Bun
23
+ bun add jb-mobile-ui
24
+ ```
25
+
26
+ ## Usage
27
+
28
+ 在 vite.config.ts 中添加配置:
29
+
30
+ ```javascript
31
+ resolve: {
32
+ alias: {
33
+ 'jb-mobile-ui': '/node_modules/jb-mobile-ui'
34
+ }
35
+ }
36
+ ```
37
+
38
+ 在 main.ts 中引入 css:
39
+
40
+ ```javascript
41
+ import 'jb-mobile-ui/dist/index.css'
42
+ ```
43
+
44
+ 如果需要更换主题色,则需要在引入 jb-mobile-ui/dist/index.css 后通过 css 变量 --theme-color 进行修改:
45
+
46
+ ```css
47
+ :root {
48
+ --theme-color: #7B52FE;
49
+ }
50
+ ```
51
+
52
+ 按需引入组件:
53
+
54
+ ```javascript
55
+ import { JbMobileButton } from 'jb-mobile-ui'
56
+ ```
57
+
58
+ ## Links
59
+
60
+ - [Documentation]()
61
+ - [Changelog](https://jinbicloud.coding.net/p/P8/d/jb-mobile-ui/git/tree/main/CHANGELOG.md)
@@ -34,6 +34,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
34
34
  type: BooleanConstructor;
35
35
  default: boolean;
36
36
  };
37
+ showDatePickerType: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
37
41
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
42
  confirm: (...args: any[]) => void;
39
43
  changeDateFail: (...args: any[]) => void;
@@ -75,6 +79,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
75
79
  type: BooleanConstructor;
76
80
  default: boolean;
77
81
  };
82
+ showDatePickerType: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ };
78
86
  }>> & Readonly<{
79
87
  onConfirm?: ((...args: any[]) => any) | undefined;
80
88
  onChangeDateFail?: ((...args: any[]) => any) | undefined;
@@ -86,6 +94,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
86
94
  datePickerTypeList: unknown[];
87
95
  dateFormatValue: string;
88
96
  datePickerType: string;
97
+ showDatePickerType: boolean;
89
98
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
90
99
  timePickerPopupRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
91
100
  visible: {
@@ -13,8 +13,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
13
13
  default: boolean;
14
14
  };
15
15
  contentHeight: {
16
- type: NumberConstructor;
17
- default: number;
16
+ type: (StringConstructor | NumberConstructor)[];
17
+ default: string;
18
18
  };
19
19
  title: {
20
20
  type: StringConstructor;
@@ -42,8 +42,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
42
42
  default: boolean;
43
43
  };
44
44
  contentHeight: {
45
- type: NumberConstructor;
46
- default: number;
45
+ type: (StringConstructor | NumberConstructor)[];
46
+ default: string;
47
47
  };
48
48
  title: {
49
49
  type: StringConstructor;
@@ -68,7 +68,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
68
68
  }>, {
69
69
  title: string;
70
70
  visible: boolean;
71
- contentHeight: number;
71
+ contentHeight: string | number;
72
72
  greyBg: boolean;
73
73
  footButton: boolean;
74
74
  beforeConfirm: Function;