im-ui-mobile 0.0.47 → 0.0.48

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,5 +1,5 @@
1
1
  <template>
2
- <view v-if="visible" class="u-upload-wrapper">
2
+ <view v-if="visible" class="file-upload">
3
3
  <u-upload ref="uploadRef" :max-count="props.maxCount" :max-size="props.maxSize" :size-type="props.sizeType"
4
4
  :source-type="props.sourceType" :deletable="props.deletable" :preview-full-image="props.previewFullImage"
5
5
  :multiple="props.multiple" :disabled="props.disabled" :custom-btn="props.customBtn"
package/index.js CHANGED
@@ -1,13 +1,5 @@
1
1
  import { Pinia } from './plugins/pinia.js'
2
2
  import { UViewPlusPlugin } from './plugins/uview-plus.js'
3
- // import ImSample from './components/im-sample/im-sample.vue'
4
-
5
- // // 重要:为组件添加名称,以支持开发环境
6
- // ImSample.name = 'ImSample'
7
-
8
- // const components = [
9
- // ImSample
10
- // ]
11
3
 
12
4
  const importFn = import.meta.glob('./components/im-*/im-*.vue', { eager: true })
13
5
  const components = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "im-ui-mobile",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "description": "A Vue3.0 + typescript instant messaging component library for Uniapp",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -8,7 +8,7 @@ declare module 'vue' {
8
8
  ['im-chat-item']: typeof import('./components/chat-item')['ChatItem']
9
9
  ['im-chat-message-item']: typeof import('./components/chat-message-item')['ChatMessageItem']
10
10
  ['im-chat-record']: typeof import('./components/chat-record')['ChatRecord']
11
- ['im-chat-upload']: typeof import('./components/chat-upload')['ChatUpload']
11
+ ['im-file-upload']: typeof import('./components/file-upload')['FileUpload']
12
12
  ['im-friend-item']: typeof import('./components/friend-item')['FriendItem']
13
13
  ['im-group-item']: typeof import('./components/group-item')['GroupItem']
14
14
  ['im-group-member-selector']: typeof import('./components/group-member-selector')['GroupMemberSelector']