jb-mobile-ui 1.0.9 → 1.3.0

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)
@@ -3,6 +3,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3
3
  type: (StringConstructor | NumberConstructor)[];
4
4
  default: string;
5
5
  };
6
+ placeholder: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
6
10
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
11
  "update:modelValue": (...args: any[]) => void;
8
12
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -10,9 +14,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
10
14
  type: (StringConstructor | NumberConstructor)[];
11
15
  default: string;
12
16
  };
17
+ placeholder: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
13
21
  }>> & Readonly<{
14
22
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
23
  }>, {
24
+ placeholder: string;
16
25
  modelValue: string | number;
17
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
18
27
  export default _default;
@@ -46,6 +46,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
46
46
  type: BooleanConstructor;
47
47
  default: boolean;
48
48
  };
49
+ placeholder: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
49
53
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
50
54
  "update:visible": (...args: any[]) => void;
51
55
  confirm: (...args: any[]) => void;
@@ -98,6 +102,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
98
102
  type: BooleanConstructor;
99
103
  default: boolean;
100
104
  };
105
+ placeholder: {
106
+ type: StringConstructor;
107
+ default: string;
108
+ };
101
109
  }>> & Readonly<{
102
110
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
103
111
  onConfirm?: ((...args: any[]) => any) | undefined;
@@ -105,6 +113,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
105
113
  }>, {
106
114
  visible: boolean;
107
115
  height: number;
116
+ placeholder: string;
108
117
  fieldNames: Record<string, any>;
109
118
  paddingTop: number;
110
119
  dataList: Record<string, any>[];