jobdone-shared-files 1.0.31 → 1.0.33

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.
Files changed (2) hide show
  1. package/README.md +7 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -260,11 +260,11 @@ import OOXX from '../../node_modules/jobdone-shared-files/OOXX.vue';
260
260
  <autocomplete-select
261
261
  :selected-data="selected"
262
262
  :opts="members"
263
- :filter-keys="['firstName','lastName','enName']"
263
+ :filter-keys="['firstName','lastName','enName']"
264
+ preview-key="enName + ' ( ' + lastName + ' ' + firstName + ' ) '"
264
265
  binding-key="id"
265
266
  @select="(v) => selected = v.id"
266
267
  :html-option='true'
267
- opt-class='border-bottom'
268
268
  >
269
269
  <template #option = "{ optData }">
270
270
  <div>我全要喵喵喵喵!!</div>
@@ -303,12 +303,11 @@ import OOXX from '../../node_modules/jobdone-shared-files/OOXX.vue';
303
303
  | # | 參數 Attribute | 型別 Type | 預設值 Default | 選項 Option | 說明 Description |
304
304
  | --- | ----------------- | --------- | -------------- | ----------------------------------------- | --------------- |
305
305
  | 1 | `selected-data` | `String` `Number` `Object` | `none` | | 當前選擇的值(類似平常`vModel`的用法) |
306
- | 2 | `opts` | `Array` | `[]` | | 選項列表,只接受`StringArray` `NumberArray` `ObjectArray`,且請陣列內容格式統一 |
307
- | 3 | `opt-class` | `String` | `[]` | `''`| 選項列表客製化樣式
308
- | 4 | `placeholder` | `String` | `'請選擇'` | | 未選擇內容時的提示文字 |
309
- | 5 | `search-placeholder` | `String` | `''` | | 自定義搜尋框的提示文字。如未設定,有選擇內容時會將選擇的內容當成提示文字,而未選擇時則顯示placeholder(參數3)的值 |
310
- | 6 | `trigger-class` | `String` | `''` | | 預覽框與輸入框的樣式CLSS,可用於驗證提示 |
311
- | 7 | `list-put` | `String`| `'body'` | | 列表Dom放置位置 |
306
+ | 2 | `opts` | `Array` | `[]` | | 選項列表,只接受`StringArray` `NumberArray` `ObjectArray`,且請陣列內容格
307
+ | 3 | `placeholder` | `String` | `'請選擇'` | | 未選擇內容時的提示文字 |
308
+ | 4 | `search-placeholder` | `String` | `''` | | 自定義搜尋框的提示文字。如未設定,有選擇內容時會將選擇的內容當成提示文字,而未選擇時則顯示placeholder(參數3)的值 |
309
+ | 5 | `trigger-class` | `String` | `''` | | 預覽框與輸入框的樣式CLSS,可用於驗證提示 |
310
+ | 6 | `list-put` | `String`| `'body'` | | 列表Dom放置位置 |
312
311
 
313
312
  ### 清除按鈕參數
314
313
  | # | 參數 Attribute | 型別 Type | 預設值 Default | 選項 Option | 說明 Description |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jobdone-shared-files",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "description": "Shared JS and SCSS for Jobdone Enterprise.",
5
5
  "main": "index.js",
6
6
  "scripts": {