w-component-vue 2.2.33 → 2.2.36

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 (985) hide show
  1. package/README.md +1 -1
  2. package/dist/w-component-vue.umd.js +3 -3
  3. package/dist/w-component-vue.umd.js.map +1 -1
  4. package/docs/binarySearch.mjs.html +2 -2
  5. package/docs/examples/app.html +1 -1
  6. package/docs/examples/app.umd.js +2 -2
  7. package/docs/examples/app.umd.js.map +1 -1
  8. package/docs/examples/w-aggrid-vue-dyn_defCellEditable.html +2 -6
  9. package/docs/examples/w-aggrid-vue-dyn_kpCellEditable_kpRowStyle.html +2 -6
  10. package/docs/examples/w-aggrid-vue-dyn_kpHeadTooltip_kpCellTooltip.html +2 -6
  11. package/docs/examples/w-aggrid-vue-dyn_large data (1,000,000 items).html +3 -7
  12. package/docs/examples/w-aggrid-vue-dyn_simple data.html +2 -6
  13. package/docs/examples/w-alert_backgroundColor.html +2 -6
  14. package/docs/examples/w-alert_borderColor.html +2 -6
  15. package/docs/examples/w-alert_borderRadius.html +2 -6
  16. package/docs/examples/w-alert_borderWidth.html +2 -6
  17. package/docs/examples/w-alert_default.html +2 -6
  18. package/docs/examples/w-alert_icon.html +2 -6
  19. package/docs/examples/w-alert_position.html +2 -6
  20. package/docs/examples/w-alert_recive closed event by promise.html +2 -6
  21. package/docs/examples/w-alert_shadowStyle.html +2 -6
  22. package/docs/examples/w-alert_textColor.html +2 -6
  23. package/docs/examples/w-alert_time (6s).html +2 -6
  24. package/docs/examples/w-alert_type error.html +2 -6
  25. package/docs/examples/w-alert_type infor.html +2 -6
  26. package/docs/examples/w-alert_type warning.html +2 -6
  27. package/docs/examples/w-badge_backgroundColor.html +2 -6
  28. package/docs/examples/w-badge_badgeAlign.html +2 -6
  29. package/docs/examples/w-badge_borderColor_textColor_backgroundColor.html +2 -6
  30. package/docs/examples/w-badge_borderRadius.html +2 -6
  31. package/docs/examples/w-badge_default.html +2 -6
  32. package/docs/examples/w-badge_textColor_backgroundColor.html +2 -6
  33. package/docs/examples/w-badge_textFontSize.html +2 -6
  34. package/docs/examples/w-button-chip_active_backgroundColorActive.html +2 -6
  35. package/docs/examples/w-button-chip_active_borderColorActive.html +2 -6
  36. package/docs/examples/w-button-chip_active_iconColorActive.html +2 -6
  37. package/docs/examples/w-button-chip_active_no shadow_no shadowActive.html +2 -6
  38. package/docs/examples/w-button-chip_active_shadowActiveStyle.html +2 -6
  39. package/docs/examples/w-button-chip_active_textColorActive.html +2 -6
  40. package/docs/examples/w-button-chip_backgroundColor_backgroundColorHover.html +2 -6
  41. package/docs/examples/w-button-chip_borderColor_borderColorHover.html +2 -6
  42. package/docs/examples/w-button-chip_borderRadius.html +2 -6
  43. package/docs/examples/w-button-chip_borderRadiusStyle.html +2 -6
  44. package/docs/examples/w-button-chip_borderRadiusStyle_borderWidth_borderColor_borderColorHover.html +2 -6
  45. package/docs/examples/w-button-chip_borderWidth.html +2 -6
  46. package/docs/examples/w-button-chip_close.html +2 -6
  47. package/docs/examples/w-button-chip_close_shiftRight.html +2 -6
  48. package/docs/examples/w-button-chip_default.html +2 -6
  49. package/docs/examples/w-button-chip_icon (fontawesome).html +2 -6
  50. package/docs/examples/w-button-chip_icon (material).html +2 -6
  51. package/docs/examples/w-button-chip_icon_iconColor_iconColorHover_close.html +2 -6
  52. package/docs/examples/w-button-chip_icon_no text.html +2 -6
  53. package/docs/examples/w-button-chip_loading.html +2 -6
  54. package/docs/examples/w-button-chip_loading_loadingColor.html +2 -6
  55. package/docs/examples/w-button-chip_loading_textColor_textColorHover.html +2 -6
  56. package/docs/examples/w-button-chip_modify loading by callback in click.html +2 -6
  57. package/docs/examples/w-button-chip_modify prog by callback in click.html +2 -6
  58. package/docs/examples/w-button-chip_no shadow.html +2 -6
  59. package/docs/examples/w-button-chip_not editable.html +2 -6
  60. package/docs/examples/w-button-chip_not editable_disabledColor.html +2 -6
  61. package/docs/examples/w-button-chip_paddingStyle (equal height to using icon).html +2 -6
  62. package/docs/examples/w-button-chip_paddingStyle (thin style).html +2 -6
  63. package/docs/examples/w-button-chip_paddingStyle_icon_iconSize_textFontSize.html +2 -6
  64. package/docs/examples/w-button-chip_prog.html +2 -6
  65. package/docs/examples/w-button-chip_prog_progColor_progBackgroundColor.html +2 -6
  66. package/docs/examples/w-button-chip_promiseUnlock.html +2 -6
  67. package/docs/examples/w-button-chip_rippleColor.html +2 -6
  68. package/docs/examples/w-button-chip_shadowStyle.html +2 -6
  69. package/docs/examples/w-button-chip_shiftLeft.html +2 -6
  70. package/docs/examples/w-button-chip_slot_close.html +2 -6
  71. package/docs/examples/w-button-chip_textColor.html +2 -6
  72. package/docs/examples/w-button-chip_textColor_textColorHover.html +2 -6
  73. package/docs/examples/w-button-chip_tooltip.html +2 -6
  74. package/docs/examples/w-button-circle_backgroundColor_backgroundColorHover_backgroundColorFocus.html +2 -6
  75. package/docs/examples/w-button-circle_borderWidth_borderColor_borderColorHover_borderColorFocus.html +2 -6
  76. package/docs/examples/w-button-circle_icon (fontawesome).html +2 -6
  77. package/docs/examples/w-button-circle_icon (material).html +2 -6
  78. package/docs/examples/w-button-circle_iconColor_iconColorHover_iconColorFocus.html +2 -6
  79. package/docs/examples/w-button-circle_loading.html +2 -6
  80. package/docs/examples/w-button-circle_loading_loadingColor.html +2 -6
  81. package/docs/examples/w-button-circle_no shadow.html +2 -6
  82. package/docs/examples/w-button-circle_not editable.html +2 -6
  83. package/docs/examples/w-button-circle_not editable_disabledColor.html +2 -6
  84. package/docs/examples/w-button-circle_paddingStyle.html +2 -6
  85. package/docs/examples/w-button-circle_paddingStyle_iconSize.html +2 -6
  86. package/docs/examples/w-button-circle_promiseUnlock.html +2 -6
  87. package/docs/examples/w-button-circle_rippleColor.html +2 -6
  88. package/docs/examples/w-button-circle_shadowStyle.html +2 -6
  89. package/docs/examples/w-button-circle_tooltip.html +2 -6
  90. package/docs/examples/w-checkbox_checkedIconColor_checkedIconColorHover_uncheckedIconColor_uncheckedIconColorHover.html +2 -6
  91. package/docs/examples/w-checkbox_checkedIcon_uncheckedIcon.html +2 -6
  92. package/docs/examples/w-checkbox_default.html +2 -6
  93. package/docs/examples/w-checkbox_iconSize_textFontSize.html +2 -6
  94. package/docs/examples/w-checkbox_not editable.html +2 -6
  95. package/docs/examples/w-checkbox_not editable_checkedIconColorDisabled_uncheckedIconColorDisabled.html +2 -6
  96. package/docs/examples/w-checkbox_text.html +2 -6
  97. package/docs/examples/w-checkbox_text_textColor_textColorHover.html +2 -6
  98. package/docs/examples/w-checkbox_use string (y or n).html +2 -6
  99. package/docs/examples/w-ckeditor-vue-dyn_default.html +2 -6
  100. package/docs/examples/w-ckeditor-vue-dyn_height.html +2 -6
  101. package/docs/examples/w-ckeditor-vue-dyn_not editable.html +2 -6
  102. package/docs/examples/w-ckeditor-vue-dyn_settings.html +2 -6
  103. package/docs/examples/w-confirm_contentColor_contentIconColor_contentBackgroundColor.html +2 -6
  104. package/docs/examples/w-confirm_contentIcon (fontawesome).html +2 -6
  105. package/docs/examples/w-confirm_contentIconColor.html +2 -6
  106. package/docs/examples/w-confirm_contentIconSize.html +2 -6
  107. package/docs/examples/w-confirm_hasNoBtn_yesBtnText.html +2 -6
  108. package/docs/examples/w-confirm_maxWidth.html +2 -6
  109. package/docs/examples/w-confirm_noBtnTextColor_noBtnTextColorHover_noBtnBackgroundColor_noBtnBackgroundColorHover.html +2 -6
  110. package/docs/examples/w-confirm_noBtnText_yesBtnText.html +2 -6
  111. package/docs/examples/w-confirm_scrollable (slot content).html +2 -6
  112. package/docs/examples/w-confirm_scrollable.html +2 -6
  113. package/docs/examples/w-confirm_slot content.html +2 -6
  114. package/docs/examples/w-confirm_slot footer.html +2 -6
  115. package/docs/examples/w-confirm_slot header.html +2 -6
  116. package/docs/examples/w-confirm_titleColor_headerBackgroundColor_footerBackgroundColor.html +2 -6
  117. package/docs/examples/w-confirm_title_content.html +2 -6
  118. package/docs/examples/w-dialog_closeWithInterceptor.html +2 -6
  119. package/docs/examples/w-dialog_contentTextColor_contentBackgroundColor.html +2 -6
  120. package/docs/examples/w-dialog_fullscreen.html +2 -6
  121. package/docs/examples/w-dialog_hasSaveBtn and hasCloseBtn, no save and close button.html +2 -6
  122. package/docs/examples/w-dialog_hasSaveBtn, no save button.html +2 -6
  123. package/docs/examples/w-dialog_headerBackgroundColor.html +2 -6
  124. package/docs/examples/w-dialog_headerBtns.html +2 -6
  125. package/docs/examples/w-dialog_headerIconColor_headerTextColor_headerBackgroundColor.html +2 -6
  126. package/docs/examples/w-dialog_icon (fontawesome).html +2 -6
  127. package/docs/examples/w-dialog_maxWidth, for narrow width.html +2 -6
  128. package/docs/examples/w-dialog_multi dialogs.html +2 -6
  129. package/docs/examples/w-dialog_saveBtnTooltip_closeBtnTooltip.html +2 -6
  130. package/docs/examples/w-dialog_scrollable.html +2 -6
  131. package/docs/examples/w-dialog_separate for slot content.html +2 -6
  132. package/docs/examples/w-dialog_slot content.html +2 -6
  133. package/docs/examples/w-dialog_slot header-left_header-right.html +2 -6
  134. package/docs/examples/w-dialog_table in slot content.html +2 -6
  135. package/docs/examples/w-dialog_title.html +2 -6
  136. package/docs/examples/w-drawer_afloat.html +2 -6
  137. package/docs/examples/w-drawer_afloat_afloatByFix.html +2 -6
  138. package/docs/examples/w-drawer_afloat_afloatByFix_dragDrawerWidth.html +2 -6
  139. package/docs/examples/w-drawer_afloat_afloatByFix_mode.html +2 -6
  140. package/docs/examples/w-drawer_afloat_afloatByFix_mode_dragDrawerWidth.html +2 -6
  141. package/docs/examples/w-drawer_afloat_dragDrawerWidth.html +2 -6
  142. package/docs/examples/w-drawer_afloat_mode.html +2 -6
  143. package/docs/examples/w-drawer_afloat_mode_dragDrawerWidth.html +2 -6
  144. package/docs/examples/w-drawer_afloat_overlayOpacity.html +2 -6
  145. package/docs/examples/w-drawer_default.html +2 -6
  146. package/docs/examples/w-drawer_dragDrawerWidth_drawerBarBorderColor_drawerBarBorderSize.html +2 -6
  147. package/docs/examples/w-drawer_dragDrawerWidth_drawerBarColor_drawerBarSize.html +2 -6
  148. package/docs/examples/w-drawer_dragDrawerWidth_drawerWidth(sync).html +12 -10
  149. package/docs/examples/w-drawer_dragDrawerWidth_drawerWidthMin_drawerWidthMax.html +2 -6
  150. package/docs/examples/w-drawer_drawerWidth.html +2 -6
  151. package/docs/examples/w-drawer_mode.html +2 -6
  152. package/docs/examples/w-drawer_mode_dragDrawerWidth.html +2 -6
  153. package/docs/examples/w-drawer_multiple_dragDrawerWidth_drawerWidthMin_drawerWidthMax.html +2 -6
  154. package/docs/examples/w-dropfiles_backgroundColor_backgroundColorDropIn_backgroundColorHover.html +2 -6
  155. package/docs/examples/w-dropfiles_borderColor_borderColorDropIn_borderColorHover_backgroundColorDropIn.html +2 -6
  156. package/docs/examples/w-dropfiles_borderRadius.html +2 -6
  157. package/docs/examples/w-dropfiles_borderWidth.html +2 -6
  158. package/docs/examples/w-dropfiles_default.html +2 -6
  159. package/docs/examples/w-dropfiles_timeTransition.html +2 -6
  160. package/docs/examples/w-dynamic-list_change rows.html +4 -8
  161. package/docs/examples/w-dynamic-list_change slot.html +4 -8
  162. package/docs/examples/w-dynamic-list_default.html +4 -8
  163. package/docs/examples/w-dynamic-list_filterKeywords_noResultsText.html +4 -8
  164. package/docs/examples/w-dynamic-list_large data (1,000,000 items).html +3 -7
  165. package/docs/examples/w-dynamic-list_processItems.html +4 -8
  166. package/docs/examples/w-dynamic-list_render.html +4 -8
  167. package/docs/examples/w-dynamic-list_slot item with image.html +4 -8
  168. package/docs/examples/w-dynamic-list_viewHeightMax.html +4 -8
  169. package/docs/examples/w-echarts-vue-dyn_area.html +2 -6
  170. package/docs/examples/w-echarts-vue-dyn_bar3D.html +2 -6
  171. package/docs/examples/w-echarts-vue-dyn_continuous.html +2 -6
  172. package/docs/examples/w-echarts-vue-dyn_heatmap.html +2 -6
  173. package/docs/examples/w-echarts-vue-dyn_line.html +2 -6
  174. package/docs/examples/w-echarts-vue-dyn_line3D.html +2 -6
  175. package/docs/examples/w-echarts-vue-dyn_parallel.html +2 -6
  176. package/docs/examples/w-echarts-vue-dyn_polar heatmap.html +2 -6
  177. package/docs/examples/w-echarts-vue-dyn_polar.html +2 -6
  178. package/docs/examples/w-echarts-vue-dyn_radar.html +2 -6
  179. package/docs/examples/w-echarts-vue-dyn_scatter.html +2 -6
  180. package/docs/examples/w-echarts-vue-dyn_stack.html +2 -6
  181. package/docs/examples/w-echarts-vue-dyn_surface.html +2 -6
  182. package/docs/examples/w-echarts-vue-dyn_tree.html +4 -7
  183. package/docs/examples/w-echarts-vue-dyn_treemap.html +3 -6
  184. package/docs/examples/w-explorer_bindRoot.html +609 -0
  185. package/docs/examples/w-explorer_btnDisplayTreeBackgroundColor_btnDisplayTreeBackgroundColorHover_btnDisplayTreeBackgroundColorFocus.html +613 -0
  186. package/docs/examples/w-explorer_btnDisplayTreeIconColor_btnDisplayTreeIconColorHover_btnDisplayTreeIconColorFocus.html +613 -0
  187. package/docs/examples/w-explorer_btnDisplayTreeIconShow_btnDisplayTreeIconHide_btnDisplayTreeIconSize.html +613 -0
  188. package/docs/examples/w-explorer_dark mode.html +654 -0
  189. package/docs/examples/w-explorer_default.html +608 -0
  190. package/docs/examples/w-explorer_events.html +611 -0
  191. package/docs/examples/w-explorer_lineBetweenPathAndListWidth_lineBetweenPathAndListColor.html +612 -0
  192. package/docs/examples/w-explorer_listBackgroundColor.html +609 -0
  193. package/docs/examples/w-explorer_listFolderIcon_listFileIcon_listIconSize.html +613 -0
  194. package/docs/examples/w-explorer_listItemBackgroundColor_listItemBackgroundColorHover_listItemBackgroundColorActive.html +613 -0
  195. package/docs/examples/w-explorer_listItemIconColor_listItemIconColorHover_listItemIconColorActive.html +613 -0
  196. package/docs/examples/w-explorer_listItemRippleColor.html +609 -0
  197. package/docs/examples/w-explorer_listItemTextColor_listItemTextColorHover_listItemTextColorActive.html +613 -0
  198. package/docs/examples/w-explorer_listItemTextFontSize.html +609 -0
  199. package/docs/examples/w-explorer_listPaddingStyle.html +609 -0
  200. package/docs/examples/w-explorer_noSelectedText.html +609 -0
  201. package/docs/examples/w-explorer_pathBackgroundColor.html +609 -0
  202. package/docs/examples/w-explorer_pathBtnBackgroundColor_pathBtnBackgroundColorHover.html +612 -0
  203. package/docs/examples/w-explorer_pathBtnTextColor_pathBtnTextColorHover.html +610 -0
  204. package/docs/examples/w-explorer_pathBtnTextFontSize.html +609 -0
  205. package/docs/examples/w-explorer_pathSepIcon_pathSepIconColor_pathSepIconSize.html +613 -0
  206. package/docs/examples/w-explorer_showTree_treeAfloat.html +618 -0
  207. package/docs/examples/w-explorer_slot list-item-cover.html +643 -0
  208. package/docs/examples/w-explorer_slot list-item-sub.html +649 -0
  209. package/docs/examples/w-explorer_slot list-item_list-item-cover_list-head_list-foot.html +740 -0
  210. package/docs/examples/w-explorer_small text.html +611 -0
  211. package/docs/examples/w-explorer_toggleTreeFoldersAll.html +622 -0
  212. package/docs/examples/w-explorer_toggleTreeFoldersByFun.html +642 -0
  213. package/docs/examples/w-explorer_toggleTreeIconColor_toggleTreeIconBackgroundColor_toggleTreeIconBackgroundColorHover.html +613 -0
  214. package/docs/examples/w-explorer_toggleTreeIconSize.html +609 -0
  215. package/docs/examples/w-explorer_treeBackgroundColor.html +609 -0
  216. package/docs/examples/w-explorer_treeDefItemHeight_listDefItemHeight.html +610 -0
  217. package/docs/examples/w-explorer_treeDefaultDisplayLevel.html +609 -0
  218. package/docs/examples/w-explorer_treeDrawerBarSize_treeDrawerBarColor.html +610 -0
  219. package/docs/examples/w-explorer_treeFolderIconColor_treeFolderIconColorHover_treeFolderIconColorActive.html +613 -0
  220. package/docs/examples/w-explorer_treeFolderIcon_treeFolderIconSize.html +610 -0
  221. package/docs/examples/w-explorer_treeIndent.html +609 -0
  222. package/docs/examples/w-explorer_treeItemBackgroundColor_treeItemBackgroundColorHover_treeItemBackgroundColorActive.html +613 -0
  223. package/docs/examples/w-explorer_treeItemRippleColor.html +609 -0
  224. package/docs/examples/w-explorer_treeItemTextColor_treeItemTextColorHover_treeItemTextColorActive.html +613 -0
  225. package/docs/examples/w-explorer_treeItemTextFontSize.html +609 -0
  226. package/docs/examples/w-explorer_treePaddingStyle.html +609 -0
  227. package/docs/examples/w-explorer_treeWidthMin_treeWidthMax.html +610 -0
  228. package/docs/examples/w-explorer_triggerClickTreeFolderByFun.html +622 -0
  229. package/docs/examples/w-explorer_triggerClickTreeFolderById.html +622 -0
  230. package/docs/examples/w-group-check_backgroundColorActive.html +2 -6
  231. package/docs/examples/w-group-check_backgroundColor_backgroundColorHover.html +2 -6
  232. package/docs/examples/w-group-check_borderColor_borderColorHover_borderColorActive.html +2 -6
  233. package/docs/examples/w-group-check_borderRadius.html +2 -6
  234. package/docs/examples/w-group-check_borderRadius_borderRadiusStyle_paddingStyle.html +2 -6
  235. package/docs/examples/w-group-check_borderWidth_borderColor_borderColorHover_borderColorActive.html +2 -6
  236. package/docs/examples/w-group-check_click (console.log).html +2 -6
  237. package/docs/examples/w-group-check_default.html +2 -6
  238. package/docs/examples/w-group-check_group (only one).html +2 -6
  239. package/docs/examples/w-group-check_group_borderColor_borderColorHover_borderColorActive.html +2 -6
  240. package/docs/examples/w-group-check_group_groupBorderRadiusStyle_groupShift_borderRadius.html +2 -6
  241. package/docs/examples/w-group-check_icon (fontawesome).html +2 -6
  242. package/docs/examples/w-group-check_icon (material).html +2 -6
  243. package/docs/examples/w-group-check_iconColorActive.html +2 -6
  244. package/docs/examples/w-group-check_iconColor_iconColorHover.html +2 -6
  245. package/docs/examples/w-group-check_loading.html +2 -6
  246. package/docs/examples/w-group-check_loading_loadingColor.html +2 -6
  247. package/docs/examples/w-group-check_marginStyle.html +2 -6
  248. package/docs/examples/w-group-check_no shadowActive.html +2 -6
  249. package/docs/examples/w-group-check_not editable.html +2 -6
  250. package/docs/examples/w-group-check_paddingStyle_borderRadius_textColor_iconColor.html +2 -6
  251. package/docs/examples/w-group-check_paddingStyle_iconSize_textFontSize.html +2 -6
  252. package/docs/examples/w-group-check_shadow.html +2 -6
  253. package/docs/examples/w-group-check_shadowActiveStyle.html +2 -6
  254. package/docs/examples/w-group-check_shadow_shadowStyle.html +2 -6
  255. package/docs/examples/w-group-check_shiftLeft.html +2 -6
  256. package/docs/examples/w-group-check_shiftLeft_shiftRight.html +2 -6
  257. package/docs/examples/w-group-check_slot_shadow.html +2 -6
  258. package/docs/examples/w-group-check_textColor.html +2 -6
  259. package/docs/examples/w-group-check_textColorActive.html +2 -6
  260. package/docs/examples/w-group-check_textColor_textColorHover.html +2 -6
  261. package/docs/examples/w-group-check_tooltip.html +2 -6
  262. package/docs/examples/w-group-dragdrop_default.html +2 -6
  263. package/docs/examples/w-group-dragdrop_event (dragdrop).html +2 -6
  264. package/docs/examples/w-group-dragdrop_items(string array).html +2 -6
  265. package/docs/examples/w-group-dragdrop_keyBinder.html +2 -6
  266. package/docs/examples/w-group-dragdrop_not draggable.html +2 -6
  267. package/docs/examples/w-group-dragdrop_not itemStyleInline (block).html +2 -6
  268. package/docs/examples/w-group-radio_backgroundColorActive.html +2 -6
  269. package/docs/examples/w-group-radio_backgroundColor_backgroundColorHover.html +2 -6
  270. package/docs/examples/w-group-radio_borderColor_borderColorHover_borderColorActive.html +2 -6
  271. package/docs/examples/w-group-radio_borderRadius.html +2 -6
  272. package/docs/examples/w-group-radio_borderRadius_borderRadiusStyle_paddingStyle.html +2 -6
  273. package/docs/examples/w-group-radio_borderWidth_borderColor_borderColorHover_borderColorActive.html +2 -6
  274. package/docs/examples/w-group-radio_click (console.log).html +2 -6
  275. package/docs/examples/w-group-radio_default.html +2 -6
  276. package/docs/examples/w-group-radio_group (only one).html +2 -6
  277. package/docs/examples/w-group-radio_group_borderColor_borderColorHover_borderColorActive.html +2 -6
  278. package/docs/examples/w-group-radio_group_groupBorderRadiusStyle_groupShift_borderRadius.html +2 -6
  279. package/docs/examples/w-group-radio_icon (fontawesome).html +2 -6
  280. package/docs/examples/w-group-radio_icon (material).html +2 -6
  281. package/docs/examples/w-group-radio_iconColorActive.html +2 -6
  282. package/docs/examples/w-group-radio_iconColor_iconColorHover.html +2 -6
  283. package/docs/examples/w-group-radio_loading.html +2 -6
  284. package/docs/examples/w-group-radio_loading_loadingColor.html +2 -6
  285. package/docs/examples/w-group-radio_marginStyle.html +2 -6
  286. package/docs/examples/w-group-radio_no shadowActive.html +2 -6
  287. package/docs/examples/w-group-radio_not editable.html +2 -6
  288. package/docs/examples/w-group-radio_paddingStyle_borderRadius_textColor_iconColor.html +2 -6
  289. package/docs/examples/w-group-radio_paddingStyle_iconSize_textFontSize.html +2 -6
  290. package/docs/examples/w-group-radio_shadow.html +2 -6
  291. package/docs/examples/w-group-radio_shadowActiveStyle.html +2 -6
  292. package/docs/examples/w-group-radio_shadow_shadowStyle.html +2 -6
  293. package/docs/examples/w-group-radio_shiftLeft.html +2 -6
  294. package/docs/examples/w-group-radio_shiftLeft_shiftRight.html +2 -6
  295. package/docs/examples/w-group-radio_slot_shadow.html +2 -6
  296. package/docs/examples/w-group-radio_textColor.html +2 -6
  297. package/docs/examples/w-group-radio_textColorActive.html +2 -6
  298. package/docs/examples/w-group-radio_textColor_textColorHover.html +2 -6
  299. package/docs/examples/w-group-radio_tooltip.html +2 -6
  300. package/docs/examples/w-group-tags_backgroundColor_backgroundColorHover.html +2 -6
  301. package/docs/examples/w-group-tags_borderColor_borderColorHover.html +2 -6
  302. package/docs/examples/w-group-tags_borderRadius.html +2 -6
  303. package/docs/examples/w-group-tags_closeWithInterceptor.html +2 -6
  304. package/docs/examples/w-group-tags_default.html +2 -6
  305. package/docs/examples/w-group-tags_editableClose(no close button).html +2 -6
  306. package/docs/examples/w-group-tags_editableInput(no slot input).html +2 -6
  307. package/docs/examples/w-group-tags_enableCloseEventOnly.html +2 -6
  308. package/docs/examples/w-group-tags_icon (fontawesome).html +2 -6
  309. package/docs/examples/w-group-tags_icon (material).html +2 -6
  310. package/docs/examples/w-group-tags_iconColor_iconColorHover_textColor_textColorHover.html +2 -6
  311. package/docs/examples/w-group-tags_icon_iconColor_iconColorHover.html +2 -6
  312. package/docs/examples/w-group-tags_inputTextButtonTooltip.html +2 -6
  313. package/docs/examples/w-group-tags_inputTextColor_inputTextBorderColor_inputTextBorderColorHover_inputTextBorderColorFocus.html +2 -6
  314. package/docs/examples/w-group-tags_inputTextWidth.html +2 -6
  315. package/docs/examples/w-group-tags_marginStyle.html +2 -6
  316. package/docs/examples/w-group-tags_modify loading by callback in click.html +2 -6
  317. package/docs/examples/w-group-tags_modify loading_textColor_textColorHover.html +2 -6
  318. package/docs/examples/w-group-tags_modify prog by callback in click.html +2 -6
  319. package/docs/examples/w-group-tags_no shadow_borderColor_borderColorHover.html +2 -6
  320. package/docs/examples/w-group-tags_not draggable.html +2 -6
  321. package/docs/examples/w-group-tags_not editable.html +2 -6
  322. package/docs/examples/w-group-tags_not editable_nodata.html +2 -6
  323. package/docs/examples/w-group-tags_object items.html +2 -6
  324. package/docs/examples/w-group-tags_object items_addButtonTextColor_addButtonTextColorHover_addButtonIconColor.html +2 -6
  325. package/docs/examples/w-group-tags_object items_addButtonText_addButtonTooltip.html +2 -6
  326. package/docs/examples/w-group-tags_object items_keyIcon.html +2 -6
  327. package/docs/examples/w-group-tags_object items_keyText.html +2 -6
  328. package/docs/examples/w-group-tags_object items_keyTooltip.html +2 -6
  329. package/docs/examples/w-group-tags_object items_slot item.html +2 -6
  330. package/docs/examples/w-group-tags_object items_slot item_editableInput(no slot input)_useActive.html +2 -6
  331. package/docs/examples/w-group-tags_object items_slot item_useColorsFromItem_editableInput(no slot input).html +2 -6
  332. package/docs/examples/w-group-tags_paddingStyle_icon_iconSize_textFontSize.html +2 -6
  333. package/docs/examples/w-group-tags_progColor_progBackgroundColor.html +2 -6
  334. package/docs/examples/w-group-tags_shadowStyle.html +2 -6
  335. package/docs/examples/w-group-tags_shiftLeft.html +2 -6
  336. package/docs/examples/w-group-tags_slot input.html +2 -6
  337. package/docs/examples/w-group-tags_slot item.html +2 -6
  338. package/docs/examples/w-group-tags_slot item_useActive_valueActive_paddingStyle.html +2 -6
  339. package/docs/examples/w-group-tags_suggests.html +2 -6
  340. package/docs/examples/w-group-tags_suggests_inputTextColor_inputExpansionIconColor.html +2 -6
  341. package/docs/examples/w-group-tags_suggests_placeholder_noResultsText.html +2 -6
  342. package/docs/examples/w-group-tags_suggests_suggectItemFontSize_suggectItemTextColor_suggectItemTextColorHover.html +2 -6
  343. package/docs/examples/w-group-tags_textColor.html +2 -6
  344. package/docs/examples/w-group-tags_textColor_textColorHover.html +2 -6
  345. package/docs/examples/w-group-tags_useActive_valueActive.html +2 -6
  346. package/docs/examples/w-highcharts-bitmap-dyn_render (need w-hc2png-server).html +2 -6
  347. package/docs/examples/w-highcharts-vue-dyn_area.html +2 -6
  348. package/docs/examples/w-highcharts-vue-dyn_bar.html +2 -6
  349. package/docs/examples/w-highcharts-vue-dyn_heatmap.html +2 -6
  350. package/docs/examples/w-highcharts-vue-dyn_large heatmap.html +2 -6
  351. package/docs/examples/w-highcharts-vue-dyn_line.html +2 -6
  352. package/docs/examples/w-highcharts-vue-dyn_pie.html +2 -6
  353. package/docs/examples/w-highstock-vue-dyn_area.html +2 -6
  354. package/docs/examples/w-highstock-vue-dyn_line.html +2 -6
  355. package/docs/examples/w-icon-svg_path (mdi-access-point)_size.html +2 -6
  356. package/docs/examples/w-icon-svg_path (mdi-account-badge-horizontal)_timeTransition.html +2 -6
  357. package/docs/examples/w-icon-svg_path (mdi-fruit-cherries).html +2 -6
  358. package/docs/examples/w-icon-svg_path (mdi-graph-outline)_color_colorHover.html +2 -6
  359. package/docs/examples/w-icon-svg_path (use 3 paths)_sizeOriginal.html +2 -6
  360. package/docs/examples/w-icon-svg_path_sizeOriginal.html +2 -6
  361. package/docs/examples/w-image-cascading-dyn_arrangeWhenFinish.html +2 -6
  362. package/docs/examples/w-image-cascading-dyn_colNum.html +2 -6
  363. package/docs/examples/w-image-cascading-dyn_default(imageWidth=300).html +2 -6
  364. package/docs/examples/w-image-cascading-dyn_imageWidth.html +2 -6
  365. package/docs/examples/w-image-cascading-dyn_imageWidthSoft.html +2 -6
  366. package/docs/examples/w-image-viewer-dyn_multiple image with navbar.html +2 -6
  367. package/docs/examples/w-image-viewer-dyn_one image.html +2 -6
  368. package/docs/examples/w-json-view_default.html +18 -11
  369. package/docs/examples/w-json-view_events.html +16 -12
  370. package/docs/examples/w-json-view_filterKeywords_filterFunction.html +16 -12
  371. package/docs/examples/w-json-view_filterKeywords_noResultsText.html +16 -12
  372. package/docs/examples/w-json-view_iconColor_keyColor_keyNumbersColor_numColor.html +16 -12
  373. package/docs/examples/w-json-view_iconSize(24)_defItemHeight(32).html +16 -12
  374. package/docs/examples/w-json-view_large data (15,500 lines).html +14 -10
  375. package/docs/examples/w-json-view_no viewHeightMax.html +16 -12
  376. package/docs/examples/w-json-view_rippleColor.html +508 -0
  377. package/docs/examples/w-json-view_toggleItemsAll.html +521 -0
  378. package/docs/examples/w-json-view_toggleItemsByFun.html +31 -22
  379. package/docs/examples/w-json-view_viewHeightMax.html +16 -12
  380. package/docs/examples/w-leaflet-vue-dyn_contourSet for rain data.html +5 -8
  381. package/docs/examples/w-leaflet-vue-dyn_contourSets.html +5 -8
  382. package/docs/examples/w-leaflet-vue-dyn_pointSets.html +5 -8
  383. package/docs/examples/w-leaflet-vue-dyn_polygonSets.html +5 -8
  384. package/docs/examples/w-list-expand_activeMode(multi).html +2 -6
  385. package/docs/examples/w-list-expand_auto scroll.html +2 -6
  386. package/docs/examples/w-list-expand_default.html +2 -6
  387. package/docs/examples/w-list-expand_itemBackgroundColor_itemBackgroundColorHover_itemBackgroundColorActive.html +3 -7
  388. package/docs/examples/w-list-expand_keyText_keyIcon_keyDsp.html +2 -6
  389. package/docs/examples/w-list-expand_paddingStyle.html +2 -6
  390. package/docs/examples/w-list-expand_slot footer.html +2 -6
  391. package/docs/examples/w-list-expand_slot header.html +2 -6
  392. package/docs/examples/w-list-expand_slot item-content_itemTextColor_itemTextColorHover_itemTextColorActive.html +3 -7
  393. package/docs/examples/w-list-expand_slot item-header_item-content.html +2 -6
  394. package/docs/examples/w-list-horizontal_borderBottomSize.html +2 -6
  395. package/docs/examples/w-list-horizontal_default.html +2 -6
  396. package/docs/examples/w-list-horizontal_itemBackgroundColor_itemBackgroundColorHover_itemBackgroundColorActive.html +2 -6
  397. package/docs/examples/w-list-horizontal_itemBorderRadius.html +2 -6
  398. package/docs/examples/w-list-horizontal_itemBorderRadius_space.html +2 -6
  399. package/docs/examples/w-list-horizontal_itemRippleColor.html +2 -6
  400. package/docs/examples/w-list-horizontal_itemRippleColor_borderBottomColor_itemTextColorActive_itemIconColorActive.html +2 -6
  401. package/docs/examples/w-list-horizontal_itemTextFontSize_itemIconSize.html +2 -6
  402. package/docs/examples/w-list-horizontal_keyText_keyIcon.html +2 -6
  403. package/docs/examples/w-list-horizontal_no borderBottom.html +2 -6
  404. package/docs/examples/w-list-horizontal_paddingStyle.html +2 -6
  405. package/docs/examples/w-list-horizontal_paddingStyle_borderBottomColor_itemRippleColor_itemTextColor.html +2 -6
  406. package/docs/examples/w-list-horizontal_slot.html +2 -6
  407. package/docs/examples/w-list-horizontal_space.html +2 -6
  408. package/docs/examples/w-list-horizontal_string items.html +2 -6
  409. package/docs/examples/w-list-vertical_auto scroll.html +2 -6
  410. package/docs/examples/w-list-vertical_default.html +2 -6
  411. package/docs/examples/w-list-vertical_itemActive.html +2 -6
  412. package/docs/examples/w-list-vertical_itemActive_itemBackgroundColor_itemBackgroundColorHover_itemBackgroundColorActive.html +3 -7
  413. package/docs/examples/w-list-vertical_itemActive_itemTextColor_itemTextColorHover_itemTextColorActive.html +3 -7
  414. package/docs/examples/w-list-vertical_keyText_keyIcon.html +2 -6
  415. package/docs/examples/w-list-vertical_paddingStyle.html +2 -6
  416. package/docs/examples/w-list-vertical_slot footer.html +2 -6
  417. package/docs/examples/w-list-vertical_slot header.html +2 -6
  418. package/docs/examples/w-list-vertical_slot item.html +2 -6
  419. package/docs/examples/w-list-vertical_string items.html +2 -6
  420. package/docs/examples/w-list-vertical_useActive (no active).html +2 -6
  421. package/docs/examples/w-list-vertical_useActive (no active)_itemRippleColor.html +2 -6
  422. package/docs/examples/w-panel-avatar_avatarBackgroundColor.html +3 -7
  423. package/docs/examples/w-panel-avatar_avatarBorderRadius.html +3 -7
  424. package/docs/examples/w-panel-avatar_avatarBorderWidth_avatarBorderColor_avatarBackgroundColor.html +3 -7
  425. package/docs/examples/w-panel-avatar_avatarIcon (fontawesome).html +3 -7
  426. package/docs/examples/w-panel-avatar_avatarIcon (material).html +3 -7
  427. package/docs/examples/w-panel-avatar_avatarIcon_avatarIconSize_avatarIconColor_avatarBackgroundColor.html +3 -7
  428. package/docs/examples/w-panel-avatar_avatarOuterPadding_avatarInnerPadding.html +3 -7
  429. package/docs/examples/w-panel-avatar_contentBackgroundColor.html +3 -7
  430. package/docs/examples/w-panel-avatar_contentBorderRadius.html +3 -7
  431. package/docs/examples/w-panel-avatar_contentShadow.html +3 -7
  432. package/docs/examples/w-panel-avatar_default.html +3 -7
  433. package/docs/examples/w-panel-avatar_headerPadding_headerTextColor_headerTextSize_subHeaderTextColor.html +3 -7
  434. package/docs/examples/w-panel-avatar_headerVerticalAlign_spaceVBetweenHeaderAndContent.html +5 -7
  435. package/docs/examples/w-panel-avatar_no avatarShadow.html +3 -7
  436. package/docs/examples/w-panel-avatar_sepLineWidth_sepLineColor.html +3 -7
  437. package/docs/examples/w-panel-avatar_shiftVFromAvaterCenter.html +3 -7
  438. package/docs/examples/w-panel-avatar_slot avatar_avatarBackgroundColor.html +3 -7
  439. package/docs/examples/w-panel-avatar_spaceHBetweenAvatarAndHeader_spaceVBetweenHeaderAndContent.html +3 -7
  440. package/docs/examples/w-panel-bulge_contentBackgroundColor.html +2 -6
  441. package/docs/examples/w-panel-bulge_contentBorderRadius.html +2 -6
  442. package/docs/examples/w-panel-bulge_default.html +2 -6
  443. package/docs/examples/w-panel-bulge_headerBorderRadius.html +2 -6
  444. package/docs/examples/w-panel-bulge_headerTextColor_headerBackgroundColor.html +2 -6
  445. package/docs/examples/w-panel-bulge_no headerShadow_no contentShadow, with green outer.html +5 -7
  446. package/docs/examples/w-panel-bulge_paddingStyle.html +2 -6
  447. package/docs/examples/w-panel-bulge_slot for header_headerBorderRadius_headerBackgroundColor(linear-gradient).html +2 -6
  448. package/docs/examples/w-panel-bulge_with grey outer.html +3 -7
  449. package/docs/examples/w-panel-divide-horizontal_barBorderSize_barBorderColor.html +2 -6
  450. package/docs/examples/w-panel-divide-horizontal_barColor.html +4 -8
  451. package/docs/examples/w-panel-divide-horizontal_barSize.html +2 -6
  452. package/docs/examples/w-panel-divide-horizontal_default.html +4 -8
  453. package/docs/examples/w-panel-divide-horizontal_leftWidthMin_leftWidthMax.html +200 -0
  454. package/docs/examples/w-panel-divide-horizontal_ratio.html +4 -8
  455. package/docs/examples/{w-panel-divide-horizontal_min_max.html → w-panel-divide-horizontal_ratioMin_ratioMax.html} +7 -11
  456. package/docs/examples/w-panel-divide-horizontal_rightWidthMin_rightWidthMax.html +200 -0
  457. package/docs/examples/w-panel-divide-vertical_barBorderSize_barBorderColor.html +2 -6
  458. package/docs/examples/w-panel-divide-vertical_barColor.html +4 -8
  459. package/docs/examples/w-panel-divide-vertical_barSize.html +2 -6
  460. package/docs/examples/w-panel-divide-vertical_bottomHeightMin_bottomHeightMax.html +200 -0
  461. package/docs/examples/w-panel-divide-vertical_default.html +4 -8
  462. package/docs/examples/w-panel-divide-vertical_ratio.html +4 -8
  463. package/docs/examples/{w-panel-divide-vertical_min_max.html → w-panel-divide-vertical_ratioMin_ratioMax.html} +7 -11
  464. package/docs/examples/w-panel-divide-vertical_topHeightMin_topHeightMax.html +200 -0
  465. package/docs/examples/w-panel-scale_for select.html +2 -6
  466. package/docs/examples/w-panel-scale_for v-btn.html +2 -6
  467. package/docs/examples/w-panel-scale_for w-panel-bulge.html +2 -6
  468. package/docs/examples/w-panel-scale_for w-panel-scrolly.html +2 -6
  469. package/docs/examples/w-panel-scale_for w-text-suggest.html +2 -6
  470. package/docs/examples/w-panel-scrolly_barOpacity_barOpacityHover.html +2 -6
  471. package/docs/examples/w-panel-scrolly_default.html +2 -6
  472. package/docs/examples/w-panel-scrolly_events.html +2 -6
  473. package/docs/examples/w-panel-scrolly_scrollTop.html +2 -6
  474. package/docs/examples/w-panel-stripe_borderRadius.html +2 -6
  475. package/docs/examples/w-panel-stripe_buttons in slot footer.html +2 -6
  476. package/docs/examples/w-panel-stripe_headerBackgroundColor_footerBackgroundColor.html +2 -6
  477. package/docs/examples/w-panel-stripe_no footer.html +2 -6
  478. package/docs/examples/w-panel-stripe_no header.html +2 -6
  479. package/docs/examples/w-panel-stripe_no shadow, with crimson outer.html +3 -7
  480. package/docs/examples/w-panel-stripe_only slot icon and slot title in header.html +2 -6
  481. package/docs/examples/w-panel-stripe_only slot title in header.html +2 -6
  482. package/docs/examples/w-panel-stripe_padding.html +2 -6
  483. package/docs/examples/w-panel-stripe_separate for slot content.html +2 -6
  484. package/docs/examples/w-panel-stripe_slot icon (fontawesome).html +2 -6
  485. package/docs/examples/w-panel-stripe_slot icon, slot title, slot description, slot content and slot footer.html +2 -6
  486. package/docs/examples/w-panel-stripe_table in slot content.html +2 -6
  487. package/docs/examples/w-panel-stripe_with grey outer.html +3 -7
  488. package/docs/examples/w-popup-edit-text_default.html +2 -6
  489. package/docs/examples/w-popup-edit-text_in table.html +2 -6
  490. package/docs/examples/w-popup-edit-text_minWidthForPopup.html +2 -6
  491. package/docs/examples/w-popup-edit-text_minWidthForValue.html +2 -6
  492. package/docs/examples/w-popup-edit-text_no title.html +2 -6
  493. package/docs/examples/w-popup-edit-text_title_contentIcon_contentIconColor_contentIconSize.html +2 -6
  494. package/docs/examples/w-popup-edit-text_title_footerBackgroundColor.html +2 -6
  495. package/docs/examples/w-popup-edit-text_title_inputTextColor_contentIconColor_contentBackgroundColor.html +2 -6
  496. package/docs/examples/w-popup-edit-text_title_saveBtnText_saveBtnTextColor_saveBtnTextColorHover.html +2 -6
  497. package/docs/examples/w-popup-edit-text_title_titleColor_titleFontSize_headerBackgroundColor.html +2 -6
  498. package/docs/examples/w-popup_auto flipping in scroll panel.html +2 -6
  499. package/docs/examples/w-popup_backgroundColor.html +2 -6
  500. package/docs/examples/w-popup_borderRadius.html +2 -6
  501. package/docs/examples/w-popup_click item by latency hiding.html +2 -6
  502. package/docs/examples/w-popup_default.html +2 -6
  503. package/docs/examples/w-popup_distY.html +2 -6
  504. package/docs/examples/w-popup_in dialog.html +2 -6
  505. package/docs/examples/w-popup_in popup.html +2 -6
  506. package/docs/examples/w-popup_in scroll panel.html +2 -6
  507. package/docs/examples/w-popup_isolated.html +2 -6
  508. package/docs/examples/w-popup_maxWidth.html +2 -6
  509. package/docs/examples/w-popup_minWidth.html +2 -6
  510. package/docs/examples/w-popup_no shadow_backgroundColor.html +2 -6
  511. package/docs/examples/w-popup_not editable.html +2 -6
  512. package/docs/examples/w-popup_shadowStyle.html +2 -6
  513. package/docs/examples/w-popup_slot for table_maxWidth.html +2 -6
  514. package/docs/examples/w-progress-bar_decimal.html +2 -6
  515. package/docs/examples/w-progress-bar_default.html +2 -6
  516. package/docs/examples/w-progress-bar_enableIconFinish (no iconFinish).html +2 -6
  517. package/docs/examples/w-progress-bar_enableIconWaiting (no iconWaiting).html +2 -6
  518. package/docs/examples/w-progress-bar_height.html +2 -6
  519. package/docs/examples/w-progress-bar_height_borderRadius.html +2 -6
  520. package/docs/examples/w-progress-bar_iconFinish (fontawesome).html +2 -6
  521. package/docs/examples/w-progress-bar_iconFinishColor.html +2 -6
  522. package/docs/examples/w-progress-bar_iconSize.html +2 -6
  523. package/docs/examples/w-progress-bar_iconWaiting (fontawesome).html +2 -6
  524. package/docs/examples/w-progress-bar_iconWaitingColor.html +2 -6
  525. package/docs/examples/w-progress-bar_progColor.html +2 -6
  526. package/docs/examples/w-progress-bar_progColor_progBackgroundColor.html +2 -6
  527. package/docs/examples/w-progress-bar_title.html +2 -6
  528. package/docs/examples/w-progress-bar_title_titleTextColor.html +2 -6
  529. package/docs/examples/w-progress-bar_title_titleTextFontSize.html +2 -6
  530. package/docs/examples/w-progress-bar_value=0 (waiting).html +2 -6
  531. package/docs/examples/w-progress-bar_value=100 (finish).html +2 -6
  532. package/docs/examples/w-progress-bar_valueTextColor.html +2 -6
  533. package/docs/examples/w-progress-bar_valueTextFontSize.html +2 -6
  534. package/docs/examples/w-progress-circle_color.html +2 -6
  535. package/docs/examples/w-progress-circle_default.html +2 -6
  536. package/docs/examples/w-progress-circle_small size.html +2 -6
  537. package/docs/examples/w-progress-circle_tooltip.html +2 -6
  538. package/docs/examples/w-progress-circle_very small size.html +2 -6
  539. package/docs/examples/w-progress-circle_width.html +2 -6
  540. package/docs/examples/w-progress-circle_/344/270/255/346/226/207text.html +2 -6
  541. package/docs/examples/w-quill-vue-dyn_default.html +2 -6
  542. package/docs/examples/w-quill-vue-dyn_height.html +2 -6
  543. package/docs/examples/w-quill-vue-dyn_not editable.html +2 -6
  544. package/docs/examples/w-quill-vue-dyn_settings.html +2 -6
  545. package/docs/examples/w-switch_checkedSwitchCircleColor_checkedSwitchCircleColorHover_checkedSwitchBarColor_checkedSwitchBarColorHover.html +2 -6
  546. package/docs/examples/w-switch_default.html +2 -6
  547. package/docs/examples/w-switch_not editable.html +2 -6
  548. package/docs/examples/w-switch_not editable_checkedSwitchCircleColorDisabled_checkedSwitchBarColorDisabled_uncheckedSwitchCircleColorDisabled.html +2 -6
  549. package/docs/examples/w-switch_switchSize_textFontSize.html +2 -6
  550. package/docs/examples/w-switch_text.html +2 -6
  551. package/docs/examples/w-switch_text_textColor_textColorHover.html +2 -6
  552. package/docs/examples/w-switch_uncheckedSwitchCircleColor_uncheckedSwitchCircleColorHover_uncheckedSwitchBarColor_uncheckedSwitchBarColorHover.html +2 -6
  553. package/docs/examples/w-switch_use string (y or n).html +2 -6
  554. package/docs/examples/w-table-dyn_default.html +2 -6
  555. package/docs/examples/w-table-dyn_editable.html +2 -6
  556. package/docs/examples/w-table-dyn_editable_checkId.html +2 -6
  557. package/docs/examples/w-table-dyn_editable_checkId_opt.modifyDataWhenSave_save(call cmp. method).html +2 -6
  558. package/docs/examples/w-table-dyn_editable_checkId_successMsgFromAddRow_errorMsgFromAddRow.html +2 -6
  559. package/docs/examples/w-table-dyn_editable_checkId_tooltipAddRow_tooltipDeleteSelectedRows.html +2 -6
  560. package/docs/examples/w-table-dyn_editable_inforPaddingStyle_menuBackgroundColor.html +2 -6
  561. package/docs/examples/w-table-dyn_editable_opt.beforeAddRow.html +2 -6
  562. package/docs/examples/w-table-dyn_editable_opt.kpConvertKeysWhenUploadData.html +2 -6
  563. package/docs/examples/w-table-dyn_editable_opt.optForUploadData.html +2 -6
  564. package/docs/examples/w-table-dyn_editable_slot btns.html +2 -6
  565. package/docs/examples/w-table-dyn_editable_textLabelDataName_textPlaceholderDataName_textLabelDataDescription.html +2 -6
  566. package/docs/examples/w-table-dyn_fixIds (fix id).html +2 -6
  567. package/docs/examples/w-table-dyn_hideIds (hide mappingId).html +2 -6
  568. package/docs/examples/w-table-dyn_name_description.html +2 -6
  569. package/docs/examples/w-table-dyn_opt.kpHead.html +2 -6
  570. package/docs/examples/w-table-dyn_removeIdsWhenDownload (remove id, mappingId, order, isActive).html +2 -6
  571. package/docs/examples/w-table-dyn_slot btns.html +2 -6
  572. package/docs/examples/w-table-dyn_slot infor (name_description).html +2 -6
  573. package/docs/examples/w-table-dyn_sortColIds (sort by order).html +2 -6
  574. package/docs/examples/w-text-int_borderRadius.html +2 -6
  575. package/docs/examples/w-text-int_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +2 -6
  576. package/docs/examples/w-text-int_border_borderRadius.html +2 -6
  577. package/docs/examples/w-text-int_border_buttonColor_buttonColorHover_buttonColorFocus.html +2 -6
  578. package/docs/examples/w-text-int_border_default.html +2 -6
  579. package/docs/examples/w-text-int_border_not editable.html +2 -6
  580. package/docs/examples/w-text-int_border_width.html +2 -6
  581. package/docs/examples/w-text-int_buttonColor_buttonColorHover_buttonColorFocus.html +2 -6
  582. package/docs/examples/w-text-int_buttonIconSize.html +2 -6
  583. package/docs/examples/w-text-int_default.html +2 -6
  584. package/docs/examples/w-text-int_not editable.html +2 -6
  585. package/docs/examples/w-text-int_textColor.html +2 -6
  586. package/docs/examples/w-text-int_textFontSize.html +2 -6
  587. package/docs/examples/w-text-int_width.html +2 -6
  588. package/docs/examples/w-text-select_a lot of items.html +2 -6
  589. package/docs/examples/w-text-select_borderRadius.html +2 -6
  590. package/docs/examples/w-text-select_border_a lot of items.html +2 -6
  591. package/docs/examples/w-text-select_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +2 -6
  592. package/docs/examples/w-text-select_border_borderRadius.html +2 -6
  593. package/docs/examples/w-text-select_border_default.html +2 -6
  594. package/docs/examples/w-text-select_border_events.html +2 -6
  595. package/docs/examples/w-text-select_border_expansionIconSize.html +2 -6
  596. package/docs/examples/w-text-select_border_fullwidth.html +2 -6
  597. package/docs/examples/w-text-select_border_itemPaddingStyle.html +2 -6
  598. package/docs/examples/w-text-select_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +2 -6
  599. package/docs/examples/w-text-select_border_itemTextFontSize_defItemHeight_width.html +2 -6
  600. package/docs/examples/w-text-select_border_items(string array).html +2 -6
  601. package/docs/examples/w-text-select_border_keyText.html +2 -6
  602. package/docs/examples/w-text-select_border_leftIcon (fontawesome).html +2 -6
  603. package/docs/examples/w-text-select_border_leftIcon (material).html +2 -6
  604. package/docs/examples/w-text-select_border_leftIcon_leftIconColor_leftIconColorHover.html +2 -6
  605. package/docs/examples/w-text-select_border_leftIcon_leftIconSize.html +2 -6
  606. package/docs/examples/w-text-select_border_not editable.html +2 -6
  607. package/docs/examples/w-text-select_border_paddingStyle (equal height to using icon).html +2 -6
  608. package/docs/examples/w-text-select_border_paddingStyle (thin style).html +2 -6
  609. package/docs/examples/w-text-select_border_rightIcon_rightIconColor_rightIconColorHover.html +2 -6
  610. package/docs/examples/w-text-select_border_rightIcon_rightIconSize.html +2 -6
  611. package/docs/examples/w-text-select_border_showExpansionIcon.html +2 -6
  612. package/docs/examples/w-text-select_border_slot item.html +2 -6
  613. package/docs/examples/w-text-select_border_slot select.html +2 -6
  614. package/docs/examples/w-text-select_border_textColor_expansionIconColor.html +2 -6
  615. package/docs/examples/w-text-select_border_textFontSize.html +2 -6
  616. package/docs/examples/w-text-select_border_with popup.html +2 -6
  617. package/docs/examples/w-text-select_default.html +2 -6
  618. package/docs/examples/w-text-select_events.html +2 -6
  619. package/docs/examples/w-text-select_expansionIconSize.html +2 -6
  620. package/docs/examples/w-text-select_fullwidth.html +2 -6
  621. package/docs/examples/w-text-select_itemPaddingStyle.html +2 -6
  622. package/docs/examples/w-text-select_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +2 -6
  623. package/docs/examples/w-text-select_itemTextFontSize_defItemHeight_width.html +2 -6
  624. package/docs/examples/w-text-select_items(string array).html +2 -6
  625. package/docs/examples/w-text-select_keyText.html +2 -6
  626. package/docs/examples/w-text-select_leftIcon (fontawesome).html +2 -6
  627. package/docs/examples/w-text-select_leftIcon (material).html +2 -6
  628. package/docs/examples/w-text-select_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +2 -6
  629. package/docs/examples/w-text-select_leftIcon_leftIconSize.html +2 -6
  630. package/docs/examples/w-text-select_not editable.html +2 -6
  631. package/docs/examples/w-text-select_paddingStyle (equal height to using icon).html +2 -6
  632. package/docs/examples/w-text-select_paddingStyle (thin style).html +2 -6
  633. package/docs/examples/w-text-select_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +2 -6
  634. package/docs/examples/w-text-select_rightIcon_rightIconSize.html +2 -6
  635. package/docs/examples/w-text-select_showExpansionIcon.html +2 -6
  636. package/docs/examples/w-text-select_slot item.html +2 -6
  637. package/docs/examples/w-text-select_slot select.html +2 -6
  638. package/docs/examples/w-text-select_textColor_expansionIconColor.html +2 -6
  639. package/docs/examples/w-text-select_textFontSize.html +2 -6
  640. package/docs/examples/w-text-select_with popup.html +2 -6
  641. package/docs/examples/w-text-suggest_a lot of items.html +2 -6
  642. package/docs/examples/w-text-suggest_borderRadius.html +2 -6
  643. package/docs/examples/w-text-suggest_border_a lot of items.html +2 -6
  644. package/docs/examples/w-text-suggest_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +2 -6
  645. package/docs/examples/w-text-suggest_border_borderRadius.html +2 -6
  646. package/docs/examples/w-text-suggest_border_default.html +2 -6
  647. package/docs/examples/w-text-suggest_border_events.html +2 -6
  648. package/docs/examples/w-text-suggest_border_expansionIconSize.html +2 -6
  649. package/docs/examples/w-text-suggest_border_fullwidth.html +2 -6
  650. package/docs/examples/w-text-suggest_border_itemPaddingStyle.html +2 -6
  651. package/docs/examples/w-text-suggest_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +2 -6
  652. package/docs/examples/w-text-suggest_border_itemTextFontSize_defItemHeight.html +2 -6
  653. package/docs/examples/w-text-suggest_border_items(string array).html +2 -6
  654. package/docs/examples/w-text-suggest_border_keyText.html +2 -6
  655. package/docs/examples/w-text-suggest_border_leftIcon (fontawesome).html +2 -6
  656. package/docs/examples/w-text-suggest_border_leftIcon (material).html +2 -6
  657. package/docs/examples/w-text-suggest_border_leftIcon_leftIconColor_leftIconColorHover.html +2 -6
  658. package/docs/examples/w-text-suggest_border_leftIcon_leftIconSize.html +2 -6
  659. package/docs/examples/w-text-suggest_border_noResultsText.html +2 -6
  660. package/docs/examples/w-text-suggest_border_not editable.html +2 -6
  661. package/docs/examples/w-text-suggest_border_paddingStyle (equal height to using icon).html +2 -6
  662. package/docs/examples/w-text-suggest_border_paddingStyle (thin style).html +2 -6
  663. package/docs/examples/w-text-suggest_border_placeholder.html +2 -6
  664. package/docs/examples/w-text-suggest_border_rightIcon_rightIconColor_rightIconColorHover.html +2 -6
  665. package/docs/examples/w-text-suggest_border_rightIcon_rightIconSize.html +2 -6
  666. package/docs/examples/w-text-suggest_border_showExpansionIcon.html +2 -6
  667. package/docs/examples/w-text-suggest_border_showPanel(press enter to hide panel)_focused.html +2 -6
  668. package/docs/examples/w-text-suggest_border_slot item.html +2 -6
  669. package/docs/examples/w-text-suggest_border_textColor_expansionIconColor.html +2 -6
  670. package/docs/examples/w-text-suggest_border_textFontSize.html +2 -6
  671. package/docs/examples/w-text-suggest_border_with popup.html +2 -6
  672. package/docs/examples/w-text-suggest_default.html +2 -6
  673. package/docs/examples/w-text-suggest_events.html +2 -6
  674. package/docs/examples/w-text-suggest_expansionIconSize.html +2 -6
  675. package/docs/examples/w-text-suggest_fullwidth.html +2 -6
  676. package/docs/examples/w-text-suggest_itemPaddingStyle.html +2 -6
  677. package/docs/examples/w-text-suggest_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +2 -6
  678. package/docs/examples/w-text-suggest_itemTextFontSize_defItemHeight.html +2 -6
  679. package/docs/examples/w-text-suggest_items(string array).html +2 -6
  680. package/docs/examples/w-text-suggest_keyText.html +2 -6
  681. package/docs/examples/w-text-suggest_leftIcon (fontawesome).html +2 -6
  682. package/docs/examples/w-text-suggest_leftIcon (material).html +2 -6
  683. package/docs/examples/w-text-suggest_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +2 -6
  684. package/docs/examples/w-text-suggest_leftIcon_leftIconSize.html +2 -6
  685. package/docs/examples/w-text-suggest_noResultsText.html +2 -6
  686. package/docs/examples/w-text-suggest_not editable.html +2 -6
  687. package/docs/examples/w-text-suggest_paddingStyle (equal height to using icon).html +2 -6
  688. package/docs/examples/w-text-suggest_paddingStyle (thin style).html +2 -6
  689. package/docs/examples/w-text-suggest_placeholder.html +2 -6
  690. package/docs/examples/w-text-suggest_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +2 -6
  691. package/docs/examples/w-text-suggest_rightIcon_rightIconSize.html +2 -6
  692. package/docs/examples/w-text-suggest_showExpansionIcon.html +2 -6
  693. package/docs/examples/w-text-suggest_showPanel(press enter to hide panel)_focused.html +2 -6
  694. package/docs/examples/w-text-suggest_slot item.html +2 -6
  695. package/docs/examples/w-text-suggest_textColor_expansionIconColor.html +2 -6
  696. package/docs/examples/w-text-suggest_textFontSize.html +2 -6
  697. package/docs/examples/w-text_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +2 -6
  698. package/docs/examples/w-text_border_borderRadius_paddingStyle.html +2 -6
  699. package/docs/examples/w-text_border_default.html +2 -6
  700. package/docs/examples/w-text_border_events.html +2 -6
  701. package/docs/examples/w-text_border_fullwidth.html +2 -6
  702. package/docs/examples/w-text_border_leftIcon (fontawesome).html +2 -6
  703. package/docs/examples/w-text_border_leftIcon (material).html +2 -6
  704. package/docs/examples/w-text_border_leftIcon_leftIconColor_leftIconColorHover.html +2 -6
  705. package/docs/examples/w-text_border_not editable.html +2 -6
  706. package/docs/examples/w-text_border_placeholder.html +2 -6
  707. package/docs/examples/w-text_border_rightIcon_rightIconColor_rightIconColorHover.html +2 -6
  708. package/docs/examples/w-text_border_textAlign.html +2 -6
  709. package/docs/examples/w-text_border_textColor.html +2 -6
  710. package/docs/examples/w-text_bottomLineBorderColor_bottomLineBorderColorHover_bottomLineBorderColorFocus.html +2 -6
  711. package/docs/examples/w-text_default.html +2 -6
  712. package/docs/examples/w-text_events.html +2 -6
  713. package/docs/examples/w-text_fullwidth.html +2 -6
  714. package/docs/examples/w-text_leftIcon (fontawesome).html +2 -6
  715. package/docs/examples/w-text_leftIcon (material).html +2 -6
  716. package/docs/examples/w-text_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +2 -6
  717. package/docs/examples/w-text_leftIcon_leftIconSize.html +2 -6
  718. package/docs/examples/w-text_leftIcon_leftIconTooltip.html +2 -6
  719. package/docs/examples/w-text_not editable.html +2 -6
  720. package/docs/examples/w-text_placeholder.html +2 -6
  721. package/docs/examples/w-text_rightIcon.html +2 -6
  722. package/docs/examples/w-text_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +2 -6
  723. package/docs/examples/w-text_rightIcon_rightIconSize.html +2 -6
  724. package/docs/examples/w-text_rightIcon_rightIconTooltip.html +2 -6
  725. package/docs/examples/w-text_textAlign.html +2 -6
  726. package/docs/examples/w-text_textColor.html +2 -6
  727. package/docs/examples/w-text_textFontSize.html +2 -6
  728. package/docs/examples/w-textarea_borderColorFocus.html +3 -7
  729. package/docs/examples/w-textarea_default.html +3 -7
  730. package/docs/examples/w-textarea_fullwidth.html +3 -7
  731. package/docs/examples/w-textarea_not editable.html +3 -7
  732. package/docs/examples/w-textarea_placeholder.html +3 -7
  733. package/docs/examples/w-timeday-range_between.html +2 -6
  734. package/docs/examples/w-timeday-range_borderRadius.html +2 -6
  735. package/docs/examples/w-timeday-range_border_between.html +2 -6
  736. package/docs/examples/w-timeday-range_border_borderRadius.html +2 -6
  737. package/docs/examples/w-timeday-range_border_default.html +2 -6
  738. package/docs/examples/w-timeday-range_border_icon (fontawesome).html +2 -6
  739. package/docs/examples/w-timeday-range_border_icon (material).html +2 -6
  740. package/docs/examples/w-timeday-range_border_iconColor_iconColorFoucs_borderColor.html +2 -6
  741. package/docs/examples/w-timeday-range_border_iconTooltip.html +2 -6
  742. package/docs/examples/w-timeday-range_border_not editable.html +2 -6
  743. package/docs/examples/w-timeday-range_border_pickColor.html +2 -6
  744. package/docs/examples/w-timeday-range_border_textColor.html +2 -6
  745. package/docs/examples/w-timeday-range_default.html +2 -6
  746. package/docs/examples/w-timeday-range_icon (fontawesome).html +2 -6
  747. package/docs/examples/w-timeday-range_icon (material).html +2 -6
  748. package/docs/examples/w-timeday-range_iconColor_iconColorFoucs.html +2 -6
  749. package/docs/examples/w-timeday-range_iconTooltip.html +2 -6
  750. package/docs/examples/w-timeday-range_icon_iconSize_distY.html +2 -6
  751. package/docs/examples/w-timeday-range_not editable.html +2 -6
  752. package/docs/examples/w-timeday-range_paddingStyle (equal height to using icon).html +2 -6
  753. package/docs/examples/w-timeday-range_paddingStyle (thin style)_distY.html +2 -6
  754. package/docs/examples/w-timeday-range_pickColor.html +2 -6
  755. package/docs/examples/w-timeday-range_textColor.html +2 -6
  756. package/docs/examples/w-timeday_borderRadius.html +2 -6
  757. package/docs/examples/w-timeday_border_borderRadius.html +2 -6
  758. package/docs/examples/w-timeday_border_default.html +2 -6
  759. package/docs/examples/w-timeday_border_icon (fontawesome).html +2 -6
  760. package/docs/examples/w-timeday_border_icon (material).html +2 -6
  761. package/docs/examples/w-timeday_border_iconColor_iconColorFoucs_borderColor.html +2 -6
  762. package/docs/examples/w-timeday_border_iconTooltip.html +2 -6
  763. package/docs/examples/w-timeday_border_not editable.html +2 -6
  764. package/docs/examples/w-timeday_border_pickColor.html +2 -6
  765. package/docs/examples/w-timeday_border_textColor.html +2 -6
  766. package/docs/examples/w-timeday_default.html +2 -6
  767. package/docs/examples/w-timeday_icon (fontawesome).html +2 -6
  768. package/docs/examples/w-timeday_icon (material).html +2 -6
  769. package/docs/examples/w-timeday_iconColor_iconColorFoucs.html +2 -6
  770. package/docs/examples/w-timeday_iconTooltip.html +2 -6
  771. package/docs/examples/w-timeday_icon_iconSize_distY.html +2 -6
  772. package/docs/examples/w-timeday_not editable.html +2 -6
  773. package/docs/examples/w-timeday_paddingStyle (equal height to using icon).html +2 -6
  774. package/docs/examples/w-timeday_paddingStyle (thin style)_distY.html +2 -6
  775. package/docs/examples/w-timeday_pickColor.html +2 -6
  776. package/docs/examples/w-timeday_textColor.html +2 -6
  777. package/docs/examples/w-timeminute-range_between.html +2 -6
  778. package/docs/examples/w-timeminute-range_borderRadius.html +2 -6
  779. package/docs/examples/w-timeminute-range_border_between.html +2 -6
  780. package/docs/examples/w-timeminute-range_border_borderRadius.html +2 -6
  781. package/docs/examples/w-timeminute-range_border_default.html +2 -6
  782. package/docs/examples/w-timeminute-range_border_hourMin_hourMax.html +2 -6
  783. package/docs/examples/w-timeminute-range_border_icon (fontawesome).html +2 -6
  784. package/docs/examples/w-timeminute-range_border_icon (material).html +2 -6
  785. package/docs/examples/w-timeminute-range_border_iconColor_iconColorFoucs_borderColor.html +2 -6
  786. package/docs/examples/w-timeminute-range_border_iconTooltip.html +2 -6
  787. package/docs/examples/w-timeminute-range_border_minuteInter.html +2 -6
  788. package/docs/examples/w-timeminute-range_border_minutesCustom.html +2 -6
  789. package/docs/examples/w-timeminute-range_border_not editable.html +2 -6
  790. package/docs/examples/w-timeminute-range_border_pickColor.html +2 -6
  791. package/docs/examples/w-timeminute-range_border_textColor_expansionIconColor.html +2 -6
  792. package/docs/examples/w-timeminute-range_default.html +2 -6
  793. package/docs/examples/w-timeminute-range_hourMin_hourMax.html +2 -6
  794. package/docs/examples/w-timeminute-range_icon (fontawesome).html +2 -6
  795. package/docs/examples/w-timeminute-range_icon (material).html +2 -6
  796. package/docs/examples/w-timeminute-range_iconColor_iconColorFoucs.html +2 -6
  797. package/docs/examples/w-timeminute-range_iconTooltip.html +2 -6
  798. package/docs/examples/w-timeminute-range_icon_iconSize_distY.html +2 -6
  799. package/docs/examples/w-timeminute-range_minuteInter.html +2 -6
  800. package/docs/examples/w-timeminute-range_minutesCustom.html +2 -6
  801. package/docs/examples/w-timeminute-range_not editable.html +2 -6
  802. package/docs/examples/w-timeminute-range_paddingStyle (equal height to using icon).html +2 -6
  803. package/docs/examples/w-timeminute-range_paddingStyle (thin style)_distY.html +2 -6
  804. package/docs/examples/w-timeminute-range_pickColor.html +2 -6
  805. package/docs/examples/w-timeminute-range_textColor_expansionIconColor.html +2 -6
  806. package/docs/examples/w-timeminute_borderRadius.html +2 -6
  807. package/docs/examples/w-timeminute_border_borderRadius.html +2 -6
  808. package/docs/examples/w-timeminute_border_default.html +2 -6
  809. package/docs/examples/w-timeminute_border_hourMin_hourMax.html +2 -6
  810. package/docs/examples/w-timeminute_border_icon (fontawesome).html +2 -6
  811. package/docs/examples/w-timeminute_border_icon (material).html +2 -6
  812. package/docs/examples/w-timeminute_border_iconColor_iconColorFoucs_borderColor.html +2 -6
  813. package/docs/examples/w-timeminute_border_iconTooltip.html +2 -6
  814. package/docs/examples/w-timeminute_border_minuteInter.html +2 -6
  815. package/docs/examples/w-timeminute_border_minutesCustom.html +2 -6
  816. package/docs/examples/w-timeminute_border_not editable.html +2 -6
  817. package/docs/examples/w-timeminute_border_pickColor.html +2 -6
  818. package/docs/examples/w-timeminute_border_textColor_expansionIconColor.html +2 -6
  819. package/docs/examples/w-timeminute_default.html +2 -6
  820. package/docs/examples/w-timeminute_hourMin_hourMax.html +2 -6
  821. package/docs/examples/w-timeminute_icon (fontawesome).html +2 -6
  822. package/docs/examples/w-timeminute_icon (material).html +2 -6
  823. package/docs/examples/w-timeminute_iconColor_iconColorFoucs.html +2 -6
  824. package/docs/examples/w-timeminute_iconTooltip.html +2 -6
  825. package/docs/examples/w-timeminute_icon_iconSize_distY.html +2 -6
  826. package/docs/examples/w-timeminute_minuteInter.html +2 -6
  827. package/docs/examples/w-timeminute_minutesCustom.html +2 -6
  828. package/docs/examples/w-timeminute_not editable.html +2 -6
  829. package/docs/examples/w-timeminute_paddingStyle (equal height to using icon).html +2 -6
  830. package/docs/examples/w-timeminute_paddingStyle (thin style)_distY.html +2 -6
  831. package/docs/examples/w-timeminute_pickColor.html +2 -6
  832. package/docs/examples/w-timeminute_textColor_expansionIconColor.html +2 -6
  833. package/docs/examples/w-tinymce-vue-dyn_default.html +2 -6
  834. package/docs/examples/w-tinymce-vue-dyn_height.html +2 -6
  835. package/docs/examples/w-tinymce-vue-dyn_not editable.html +2 -6
  836. package/docs/examples/w-tinymce-vue-dyn_settings.html +2 -6
  837. package/docs/examples/w-tree_activable_itemActive.html +15 -11
  838. package/docs/examples/w-tree_activable_itemActive_funActive.html +15 -11
  839. package/docs/examples/w-tree_activable_itemActive_itemTextColor_itemTextColorHover.html +15 -11
  840. package/docs/examples/w-tree_default.html +18 -11
  841. package/docs/examples/w-tree_defaultDisplayLevel.html +16 -12
  842. package/docs/examples/w-tree_draggable.html +15 -11
  843. package/docs/examples/w-tree_draggable_dgInsertLineColor_dgInsertBackgroundColor_dgBelongBackgroundColor.html +15 -11
  844. package/docs/examples/w-tree_draggable_dgPreviewOpacity_dgPreviewBorderWidth_dgBelongBackgroundColor.html +15 -11
  845. package/docs/examples/w-tree_draggable_dgTextDisabled_dgTextDisabledColor_dgTextDisabledPaddingLeft.html +15 -11
  846. package/docs/examples/w-tree_events.html +16 -12
  847. package/docs/examples/w-tree_filterKeywords_filterFunction.html +16 -12
  848. package/docs/examples/w-tree_filterKeywords_noResultsText.html +16 -12
  849. package/docs/examples/w-tree_filterKeywords_noResultsText_selectable.html +15 -11
  850. package/docs/examples/w-tree_iconSize(20).html +16 -12
  851. package/docs/examples/w-tree_iconSize(20)_defItemHeight(24).html +16 -12
  852. package/docs/examples/w-tree_iconSize(30)_defItemHeight(36).html +16 -12
  853. package/docs/examples/w-tree_iconToggleColor_iconToggleBackgroundColor_iconToggleBackgroundColorHover.html +16 -12
  854. package/docs/examples/w-tree_indent.html +16 -12
  855. package/docs/examples/w-tree_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +15 -11
  856. package/docs/examples/w-tree_keyPrimary_keyText_keyChildren.html +16 -12
  857. package/docs/examples/w-tree_no viewHeightMax.html +16 -12
  858. package/docs/examples/w-tree_operatable.html +15 -11
  859. package/docs/examples/w-tree_operatable_operateBtnBackgroundColor_operateBtnBackgroundColorHover_operateBtnBackgroundColorFocus.html +15 -11
  860. package/docs/examples/w-tree_operatable_operateBtnTooltip_operateItemTextForInsertBefore_perateItemTextForInsertChild.html +15 -11
  861. package/docs/examples/w-tree_operatable_operateItemBackgroundColor_operateItemBackgroundColorHover_operateItemTextColor.html +15 -11
  862. package/docs/examples/w-tree_operatable_operateItemIconSize_operateItemPaddingStyle_operatePanelWidth.html +15 -11
  863. package/docs/examples/w-tree_paddingStyle.html +16 -12
  864. package/docs/examples/w-tree_rippleColor.html +678 -0
  865. package/docs/examples/w-tree_selectable.html +15 -11
  866. package/docs/examples/w-tree_selectable_draggable.html +15 -11
  867. package/docs/examples/w-tree_slot.html +18 -11
  868. package/docs/examples/w-tree_slot_iconUncheckedColor_iconUncheckedDisabledColor_iconCheckedColor.html +15 -11
  869. package/docs/examples/w-tree_slot_locked_selectable.html +15 -11
  870. package/docs/examples/w-tree_slot_operatable.html +15 -11
  871. package/docs/examples/w-tree_slot_selectable.html +15 -11
  872. package/docs/examples/w-tree_slot_selectable_draggable.html +15 -11
  873. package/docs/examples/w-tree_slot_selectable_iconSize(20)_defItemHeight(24).html +15 -11
  874. package/docs/examples/w-tree_slot_selectable_large data (100,000 items).html +15 -11
  875. package/docs/examples/w-tree_toggleItemsAll.html +692 -0
  876. package/docs/examples/w-tree_toggleItemsByFun.html +34 -20
  877. package/docs/examples/w-tree_viewHeightMax.html +16 -12
  878. package/docs/global.html +2 -2
  879. package/docs/highchartsSetting.mjs.html +2 -2
  880. package/docs/index.html +2 -2
  881. package/docs/module-WAggridVueDyn.html +2 -2
  882. package/docs/module-WBadge.html +2 -2
  883. package/docs/module-WButtonChip.html +3 -3
  884. package/docs/module-WButtonCircle.html +2 -2
  885. package/docs/module-WCheckbox.html +2 -2
  886. package/docs/module-WCkeditorVueDyn.html +2 -2
  887. package/docs/module-WConfirm.html +2 -2
  888. package/docs/module-WDialog.html +2 -2
  889. package/docs/module-WDrawer.html +2 -2
  890. package/docs/module-WDropfiles.html +2 -2
  891. package/docs/module-WDynamicList.html +2 -2
  892. package/docs/module-WEchartsVueDyn.html +2 -2
  893. package/docs/module-WExplorer.html +609 -0
  894. package/docs/module-WGroupCheck.html +2 -2
  895. package/docs/module-WGroupDragdrop.html +2 -2
  896. package/docs/module-WGroupRadio.html +2 -2
  897. package/docs/module-WGroupTags.html +2 -2
  898. package/docs/module-WHighchartsBitmapDyn.html +2 -2
  899. package/docs/module-WHighchartsVueDyn.html +2 -2
  900. package/docs/module-WHighstockVueDyn.html +2 -2
  901. package/docs/module-WIcon.html +2 -2
  902. package/docs/module-WIconLoading.html +2 -2
  903. package/docs/module-WIconSvg.html +2 -2
  904. package/docs/module-WImageCascadingDyn.html +2 -2
  905. package/docs/module-WImageViewerDyn.html +2 -2
  906. package/docs/module-WJsonView.html +8 -2
  907. package/docs/module-WLeafletVueDyn.html +2 -2
  908. package/docs/module-WListExpand.html +2 -2
  909. package/docs/module-WListExpandItem.html +3 -3
  910. package/docs/module-WListHorizontal.html +16 -4
  911. package/docs/module-WListItem.html +15 -3
  912. package/docs/module-WListVertical.html +16 -4
  913. package/docs/module-WPanelAvatar.html +2 -2
  914. package/docs/module-WPanelBulge.html +2 -2
  915. package/docs/module-WPanelDivideHorizontal.html +30 -6
  916. package/docs/module-WPanelDivideVertical.html +30 -6
  917. package/docs/module-WPanelScrolly.html +2 -2
  918. package/docs/module-WPanelScrollyCore.html +2 -2
  919. package/docs/module-WPanelStripe.html +2 -2
  920. package/docs/module-WPopup.html +2 -2
  921. package/docs/module-WPopupEditText.html +2 -2
  922. package/docs/module-WProgressBar.html +2 -2
  923. package/docs/module-WProgressCircle.html +2 -2
  924. package/docs/module-WQuillVueDyn.html +2 -2
  925. package/docs/module-WShellBottomLine.html +2 -2
  926. package/docs/module-WShellEllipse.html +2 -2
  927. package/docs/module-WShellMaterial.html +2 -2
  928. package/docs/module-WSwitch.html +2 -2
  929. package/docs/module-WTableDyn.html +2 -2
  930. package/docs/module-WText.html +2 -2
  931. package/docs/module-WTextCore.html +2 -2
  932. package/docs/module-WTextInt.html +2 -2
  933. package/docs/module-WTextIntCore.html +2 -2
  934. package/docs/module-WTextSelect.html +2 -2
  935. package/docs/module-WTextSuggest.html +2 -2
  936. package/docs/module-WTextSuggestCore.html +2 -2
  937. package/docs/module-WTextarea.html +2 -2
  938. package/docs/module-WTimeday.html +2 -2
  939. package/docs/module-WTimedayCore.html +2 -2
  940. package/docs/module-WTimedayRange.html +2 -2
  941. package/docs/module-WTimedayRangeCore.html +2 -2
  942. package/docs/module-WTimeminute.html +2 -2
  943. package/docs/module-WTimeminuteCore.html +2 -2
  944. package/docs/module-WTimeminuteRange.html +2 -2
  945. package/docs/module-WTimeminuteRangeCore.html +2 -2
  946. package/docs/module-WTinymceVueDyn.html +2 -2
  947. package/docs/module-WTree.html +45 -51
  948. package/docs/module-WTreeIconCheckbox.html +2 -2
  949. package/docs/module-WTreeIconToggle.html +2 -2
  950. package/docs/vuetifyColor.mjs.html +2 -2
  951. package/g.mjs +352 -0
  952. package/package.json +3 -3
  953. package/src/App.vue +20 -5
  954. package/src/AppZoneWAggridVueDyn.vue +1 -1
  955. package/src/AppZoneWDrawer.vue +6 -4
  956. package/src/AppZoneWDynamicList.vue +17 -17
  957. package/src/AppZoneWEchartsVueDyn.vue +3 -1
  958. package/src/AppZoneWExplorer.vue +1537 -0
  959. package/src/AppZoneWJsonView.vue +81 -34
  960. package/src/AppZoneWLeafletVueDyn.vue +12 -8
  961. package/src/AppZoneWListExpand.vue +2 -2
  962. package/src/AppZoneWListVertical.vue +2 -2
  963. package/src/AppZoneWPanelAvatar.vue +18 -18
  964. package/src/AppZoneWPanelBulge.vue +2 -2
  965. package/src/AppZoneWPanelDivideHorizontal.vue +75 -11
  966. package/src/AppZoneWPanelDivideVertical.vue +75 -11
  967. package/src/AppZoneWPanelStripe.vue +2 -2
  968. package/src/AppZoneWTextarea.vue +5 -5
  969. package/src/AppZoneWTree.vue +144 -97
  970. package/src/components/WButtonChip.vue +1 -1
  971. package/src/components/WComponentVue.vue +2 -0
  972. package/src/components/WDrawer.vue +13 -5
  973. package/src/components/WExplorer.vue +1158 -0
  974. package/src/components/WJsonView.vue +24 -3
  975. package/src/components/WLeafletVueDyn.vue +1 -1
  976. package/src/components/WListExpandItem.vue +3 -3
  977. package/src/components/WListHorizontal.vue +18 -12
  978. package/src/components/WListItem.vue +40 -22
  979. package/src/components/WListVertical.vue +21 -13
  980. package/src/components/WPanelDivideHorizontal.vue +85 -14
  981. package/src/components/WPanelDivideVertical.vue +83 -13
  982. package/src/components/WTree.vue +196 -57
  983. package/src/js/domMutation.mjs +2 -0
  984. package/src/js/domRipple.mjs +2 -1
  985. package/toolg/gExtractHtml.mjs +1 -5
@@ -0,0 +1,1158 @@
1
+ <template>
2
+ <div
3
+ style=""
4
+ :changeShowTree="changeShowTree"
5
+ :changeItems="changeItems"
6
+ v-domresize
7
+ @domresize="resizePanel"
8
+ >
9
+
10
+ <WDrawer
11
+ :style="`width:${panelWidth}px; height:${panelHeight}px;`"
12
+ :afloat="treeAfloat"
13
+ :drawerWidth.sync="treeWidth"
14
+ :drawerWidthMin="treeWidthMin"
15
+ :drawerWidthMax="treeWidthMax"
16
+ :dragDrawerWidth="true"
17
+ :drawerBarColor="treeDrawerBarColor"
18
+ :drawerBarSize="treeDrawerBarSize"
19
+ :value="showTreeTrans"
20
+ @input="emitShowTree"
21
+ >
22
+
23
+ <template v-slot:drawer="props">
24
+ <!-- tree高度是使用viewHeightMax為動態高度, 故外部封裝一層給予背景色 -->
25
+ <div :style="`height:100%; background:${effTreeBackgroundColor};`">
26
+
27
+ <WTree
28
+ ref="wt"
29
+ :style="`width:${props.width}px; min-width:${props.width}px;`"
30
+ :viewHeightMax="panelHeight"
31
+ :defItemHeight="treeDefItemHeight"
32
+ :defaultDisplayLevel="treeDefaultDisplayLevel"
33
+ :data="treeItemsFolder"
34
+ :activable="true"
35
+ :itemActive.sync="treeItemActive"
36
+ :paddingStyle="treePaddingStyle"
37
+ :indent="treeIndent"
38
+ :iconSize="toggleTreeIconSize"
39
+ :iconToggleColor="toggleTreeIconColor"
40
+ :iconToggleBackgroundColor="toggleTreeIconBackgroundColor"
41
+ :iconToggleBackgroundColorHover="toggleTreeIconBackgroundColorHover"
42
+ :itemTextColor="treeItemTextColor"
43
+ :itemTextColorHover="treeItemTextColorHover"
44
+ :itemTextColorActive="treeItemTextColorActive"
45
+ :itemBackgroundColor="treeItemBackgroundColor"
46
+ :itemBackgroundColorHover="treeItemBackgroundColorHover"
47
+ :itemBackgroundColorActive="treeItemBackgroundColorActive"
48
+ :itemRippleColor="treeItemRippleColor"
49
+ _render="render"
50
+ >
51
+ <template v-slot:item="props">
52
+ <div
53
+ :style="`display:flex; min-height:${treeDefItemHeight}px;`"
54
+ @click="ckTreeFolder(props)"
55
+ >
56
+
57
+ <div :style="`height:${treeDefItemHeight}px; padding-right:4px; display:flex; align-items:center;`">
58
+ <WIcon
59
+ :icon="treeFolderIcon"
60
+ :color="getTreeFolderIconColor(props)"
61
+ :size="treeFolderIconSize"
62
+ ></WIcon>
63
+ </div>
64
+
65
+ <!-- 文字一般、hover與active顏色可由tree組件由item殼設定提供, 故slot內可不用自行封裝取得文字顏色功能 -->
66
+ <div :style="`min-height:${treeDefItemHeight}px; line-height:${treeDefItemHeight}px; ${useTreeItemTextFontSize}`">
67
+ {{props.data.text}}
68
+ </div>
69
+
70
+ </div>
71
+ </template>
72
+ </WTree>
73
+
74
+ </div>
75
+ </template>
76
+
77
+ <template v-slot:content="props">
78
+ <!-- 較多組件時初始化偵測高度會較慢, 連帶造成高度超過容器, 故使用overflow:hidden避免顯示捲軸 -->
79
+ <div :style="`height:100%; overflow:hidden;`">
80
+
81
+ <div
82
+ :style="`width:${props.width}px; min-width:${props.width}px; border-bottom:${lineBetweenPathAndListWidth}px solid ${effLineBetweenPathAndListColor}; background:${effPathBackgroundColor};`"
83
+ v-domresize
84
+ @domresize="resizePath"
85
+ >
86
+
87
+ <div :style="`display:flex; align-items:flex-start;`">
88
+
89
+ <div :style="`min-height:${btnDisplayTreeIconSize+8}px; padding:0px 2px 0px 5px; display:flex; align-items:center;`">
90
+
91
+ <!-- 切換顯隱tree按鈕 -->
92
+ <WButtonCircle
93
+ :paddingStyle="{h:2,v:2}"
94
+ :icon="showTreeTrans?btnDisplayTreeIconHide:btnDisplayTreeIconShow"
95
+ :iconSize="btnDisplayTreeIconSize"
96
+ :iconColor="btnDisplayTreeIconColor"
97
+ :iconColorHover="btnDisplayTreeIconColorHover"
98
+ :iconColorFocus="btnDisplayTreeIconColorFocus"
99
+ :backgroundColor="btnDisplayTreeBackgroundColor"
100
+ :backgroundColorHover="btnDisplayTreeBackgroundColorHover"
101
+ :backgroundColorFocus="btnDisplayTreeBackgroundColorFocus"
102
+ :shadow="false"
103
+ @click="emitShowTree(!showTreeTrans)"
104
+ ></WButtonCircle>
105
+
106
+ </div>
107
+
108
+ <div
109
+ :style="`min-height:${btnDisplayTreeIconSize+8}px; padding-left:4px; color:${effPathBtnTextColor}; ${usePathBtnTextFontSize} display:flex; align-items:center;`"
110
+ v-if="parentInfors.length===0"
111
+ >
112
+ {{noSelectedText}}
113
+ </div>
114
+
115
+ <div :style="`display:flex; flex-wrap:wrap;`">
116
+ <div
117
+ :style="`min-height:${btnDisplayTreeIconSize+8}px;`"
118
+ :key="'kpi-'+kpi"
119
+ v-for="(pi,kpi) in parentInfors"
120
+ >
121
+
122
+ <!-- 因path區域預設有底線故-1px -->
123
+ <div :style="`min-height:${btnDisplayTreeIconSize+8}px; display:flex; align-items:center;`">
124
+
125
+ <WIcon
126
+ :icon="pathSepIcon"
127
+ :color="pathSepIconColor"
128
+ :size="pathSepIconSize"
129
+ ></WIcon>
130
+
131
+ <!-- 因會重刷path故textColorActive與backgroundColorActive會被清除, 也就不須提供外部設定 -->
132
+ <WButtonChip
133
+ :paddingStyle="{h:6,v:0}"
134
+ :borderWidth="{}"
135
+ :borderRadius="4"
136
+ :shadow="false"
137
+ :text="pi.name"
138
+ :textColor="pathBtnTextColor"
139
+ :textColorHover="pathBtnTextColorHover"
140
+ _textColorActive="pathBtnTextColorActive"
141
+ :textFontSize="pathBtnTextFontSize"
142
+ _icon="pathSepIcon"
143
+ _iconColor="pathSepIconColor"
144
+ _iconSize="pathSepIconSize"
145
+ :backgroundColor="pathBtnBackgroundColor"
146
+ :backgroundColorHover="pathBtnBackgroundColorHover"
147
+ _backgroundColorActive="pathBtnBackgroundColorActive"
148
+ @click="ckPathFolder(pi)"
149
+ >
150
+ </WButtonChip>
151
+
152
+ </div>
153
+
154
+ </div>
155
+ </div>
156
+
157
+ </div>
158
+
159
+ </div>
160
+
161
+ <div
162
+ :style="`height:${listHeight}px; background:${effListBackgroundColor};`"
163
+ >
164
+
165
+ <WListVertical
166
+ :style="`width:${props.width}px; min-width:${props.width}px; height:${listHeight}px;`"
167
+ :items="listItems"
168
+ :itemActive.sync="listItemActive"
169
+ :itemClickable="true"
170
+ :itemCursorPointer="false"
171
+ :paddingStyle="listPaddingStyle"
172
+ :itemBackgroundColor="listItemBackgroundColor"
173
+ :itemBackgroundColorHover="listItemBackgroundColorHover"
174
+ :itemBackgroundColorActive="listItemBackgroundColorActive"
175
+ :itemTextColor="listItemTextColor"
176
+ :itemTextColorHover="listItemTextColorHover"
177
+ :itemTextColorActive="listItemTextColorActive"
178
+ :itemIconSize="listItemIconSize"
179
+ _itemIconColor="listItemIconColor"
180
+ _itemIconColorHover="listItemIconColorHover"
181
+ _itemIconColorActive="listItemIconColorActive"
182
+ :itemRippleColor="listItemRippleColor"
183
+ _click="ckListItem"
184
+ v-if="listItems.length>0"
185
+ >
186
+
187
+ <template v-slot:header>
188
+ <slot
189
+ name="list-head"
190
+ :items="listItems"
191
+ >
192
+ </slot>
193
+ </template>
194
+
195
+ <template v-slot:item="props">
196
+ <div :style="`position:relative; min-height:${listDefItemHeight}px; line-height:${listDefItemHeight}px;`">
197
+
198
+ <!-- 由slot外側提供預設字型設定, 而字型顏色設定由更外側WListVertical組件提供 -->
199
+ <div :style="`${useListItemTextFontSize}`">
200
+ <slot
201
+ name="list-item"
202
+ :item="{
203
+ ...props.item,
204
+ iconColor:getListItemIconColor(props),
205
+ iconSize:listItemIconSize,
206
+ }"
207
+ :isHover="props.isHover"
208
+ :isActive="props.isActive"
209
+ :funClickListItem="()=>{ckListItem(props)}"
210
+ >
211
+
212
+ <div :style="`display:flex;`">
213
+
214
+ <div
215
+ :style="`height:${listDefItemHeight}px; padding-right:4px; display:flex; align-items:center; cursor:pointer;`"
216
+ @click="ckListItem(props)"
217
+ >
218
+ <WIcon
219
+ :icon="props.item.icon"
220
+ :color="getListItemIconColor(props)"
221
+ :size="listItemIconSize"
222
+ ></WIcon>
223
+ </div>
224
+
225
+ <div
226
+ :style="`${useListItemTextFontSize} cursor:pointer; user-select:none;`"
227
+ @click="ckListItem(props)"
228
+ >
229
+ {{props.item.text}}
230
+ </div>
231
+
232
+ </div>
233
+
234
+ </slot>
235
+ </div>
236
+
237
+ <div :style="`position:absolute; top:0px; right:0px; _width:100%; _height:100%;`">
238
+ <slot
239
+ name="list-item-cover"
240
+ :item="props.item"
241
+ :isHover="props.isHover"
242
+ :isActive="props.isActive"
243
+ >
244
+ </slot>
245
+ </div>
246
+
247
+ <slot
248
+ name="list-item-sub"
249
+ :item="props.item"
250
+ :isHover="props.isHover"
251
+ :isActive="props.isActive"
252
+ >
253
+ </slot>
254
+
255
+ </div>
256
+ </template>
257
+
258
+ <template v-slot:footer>
259
+ <slot
260
+ name="list-foot"
261
+ :items="listItems"
262
+ >
263
+ </slot>
264
+ </template>
265
+
266
+ </WListVertical>
267
+ </div>
268
+
269
+ </div>
270
+ </template>
271
+
272
+ </WDrawer>
273
+
274
+ </div>
275
+ </template>
276
+
277
+ <script>
278
+ import { mdiFolder, mdiFileOutline, mdiChevronRight, mdiArrowLeftBoldHexagonOutline, mdiArrowRightBoldHexagonOutline } from '@mdi/js'
279
+ import get from 'lodash/get'
280
+ import each from 'lodash/each'
281
+ import map from 'lodash/map'
282
+ import isbol from 'wsemi/src/isbol.mjs'
283
+ import isestr from 'wsemi/src/isestr.mjs'
284
+ import isfun from 'wsemi/src/isfun.mjs'
285
+ import ispm from 'wsemi/src/ispm.mjs'
286
+ import replace from 'wsemi/src/replace.mjs'
287
+ import filepathToTree from 'wsemi/src/filepathToTree.mjs'
288
+ import color2hex from '../js/vuetifyColor.mjs'
289
+ import domResize from '../js/domResize.mjs'
290
+ import WIcon from './WIcon.vue'
291
+ import WTree from './WTree.vue'
292
+ import WListVertical from './WListVertical.vue'
293
+ import WDrawer from './WDrawer.vue'
294
+ import WButtonChip from './WButtonChip.vue'
295
+ import WButtonCircle from './WButtonCircle.vue'
296
+
297
+
298
+ /**
299
+ * @vue-prop {Array} [items=[]] 輸入項目物件陣列,預設[]
300
+ * @vue-prop {String} [bindRoot='root'] 輸入建置根目錄名稱字串,預設'root'
301
+ * @vue-prop {Number} [treeWidthMin=null] 輸入使用拖曳抽屜寬度分隔條(dragDrawerWidth=true)時,拖曳抽屜寬度分隔條最小值數字,預設null
302
+ * @vue-prop {Number} [treeWidthMax=null] 輸入使用拖曳抽屜寬度分隔條(dragDrawerWidth=true)時,拖曳抽屜寬度分隔條最大值數字,預設null
303
+ * @vue-prop {Number} [toggleTreeIconSize=24] 輸入顯隱樹狀資料夾按鈕之圖標尺寸數字,單位為px,預設24
304
+ * @vue-prop {String} [toggleTreeIconColor='grey'] 輸入顯隱樹狀資料夾按鈕之圖標顏色字串,預設'grey'
305
+ * @vue-prop {String} [toggleTreeIconBackgroundColor='transparent'] 輸入顯隱樹狀資料夾按鈕之圖標背景顏色字串,預設'transparent'
306
+ * @vue-prop {String} [toggleTreeIconBackgroundColorHover='rgba(128,128,128,0.15)'] 輸入滑鼠移入時顯隱樹狀資料夾按鈕之圖標背景顏色字串,預設'rgba(128,128,128,0.15)'
307
+ * @vue-prop {Boolean} [showTree=false] 輸入是否顯示樹狀資料夾布林值,預設false
308
+ * @vue-prop {Boolean} [treeAfloat=false] 輸入是否樹狀資料夾為浮動顯示布林值,設為true時浮在內容區上故不壓縮內容區寬度,預設false
309
+ * @vue-prop {Number} [treeDefItemHeight=30] 輸入樹狀資料夾之按需顯示時各項目預設最小高度(min-height)值,給越準或給大部分項目的高度則渲染速度越快,單位為px,預設30
310
+ * @vue-prop {Number} [treeDefaultDisplayLevel=null] 輸入樹狀資料夾之初始展開層數數字,若輸入1就是預設展開至第1層,第2層(含)以下則都隱藏,若輸入null就是全展開,預設null
311
+ * @vue-prop {Object} [treePaddingStyle={v:0,h:0}] 輸入樹狀資料夾之內寬距離物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:0,h:0}
312
+ * @vue-prop {Number} [treeIndent=0.7] 輸入樹狀資料夾之縮排比率數字,若使用1就是1倍的圖標寬度(24px)+2*separation(3px),預設0.7
313
+ * @vue-prop {String} [treeItemTextColor='#444'] 輸入樹狀資料夾之文字顏色字串,預設'#444'
314
+ * @vue-prop {String} [treeItemTextColorHover='#222'] 輸入滑鼠移入時樹狀資料夾之文字顏色字串,預設'#222'
315
+ * @vue-prop {String} [treeItemTextColorActive='#000'] 輸入主動模式時樹狀資料夾之文字顏色字串,預設'#000'
316
+ * @vue-prop {String} [treeFolderIcon=mdiFolder] 輸入樹狀資料夾之資料夾圖標字串,預設mdiFolder
317
+ * @vue-prop {Number} [treeFolderIconSize=20] 輸入樹狀資料夾之資料夾圖標之尺寸數字,單位px,預設20
318
+ * @vue-prop {String} [treeFolderIconColor='#888'] 輸入樹狀資料夾之資料夾圖標顏色字串,預設'#888'
319
+ * @vue-prop {String} [treeFolderIconColorHover='#777'] 輸入滑鼠移入時樹狀資料夾之資料夾圖標顏色字串,預設'#777'
320
+ * @vue-prop {String} [treeFolderIconColorActive='#666'] 輸入主動模式時樹狀資料夾之資料夾圖標顏色字串,預設'#666'
321
+ * @vue-prop {String} [treeItemBackgroundColor='transparent'] 輸入樹狀資料夾之項目區背景顏色字串,預設'transparent'
322
+ * @vue-prop {String} [treeItemBackgroundColorHover='rgba(200,200,200,0.2)'] 輸入滑鼠移入時樹狀資料夾之項目區背景顏色字串,預設'rgba(200,200,200,0.2)'
323
+ * @vue-prop {String} [treeItemBackgroundColorActive='rgba(100,100,100,0.2)'] 輸入主動模式時樹狀資料夾之項目區背景顏色字串,預設'rgba(100,100,100,0.2)'
324
+ * @vue-prop {String} [treeItemRippleColor='rgba(200,200,200,0.4)'] 輸入樹狀資料夾之項目區ripple效果顏色字串,預設'rgba(200,200,200,0.4)'
325
+ * @vue-prop {String} [treeBackgroundColor='#fff'] 輸入樹狀資料夾背景顏色字串,預設'#fff'
326
+ * @vue-prop {Number} [treeDrawerBarSize=2] 輸入樹狀資料夾抽屜之分隔條尺寸數字,為分隔條寬度,單位為px,預設2
327
+ * @vue-prop {String} [treeDrawerBarColor='#ddd'] 輸入樹狀資料夾抽屜之分隔條顏色字串,預設'#ddd'
328
+ * @vue-prop {Number} [lineBetweenPathAndListWidth=1] 輸入路徑區與清單區之間分隔線寬度,單位為px,預設1
329
+ * @vue-prop {String} [lineBetweenPathAndListColor='#ddd'] 輸入路徑區與清單區之間分隔線顏色字串,預設'#ddd'
330
+ * @vue-prop {Number} [listDefItemHeight=30] 輸入清單區按需顯示時各項目預設最小高度(min-height)值,單位為px,預設30
331
+ * @vue-prop {Object} [listPaddingStyle={v:0,h:6}] 輸入清單區項目之內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:0,h:6}
332
+ * @vue-prop {String} [listItemTextFontSize='0.85rem'] 輸入清單區項目之文字字型大小字串,預設'0.85rem'
333
+ * @vue-prop {String} [listItemTextColor='#444'] 輸入清單區項目之文字顏色字串,預設'#444'
334
+ * @vue-prop {String} [listItemTextColorHover='#222'] 輸入滑鼠移入時清單區項目之文字顏色字串,預設'#222'
335
+ * @vue-prop {String} [listItemTextColorActive='#000'] 輸入主動模式時清單區項目之文字顏色字串,預設'#000'
336
+ * @vue-prop {String} [listFolderIcon=mdiFolder] 輸入清單區項目之資料夾圖標字串,預設mdiFolder
337
+ * @vue-prop {String} [listFileIcon=mdiFileOutline] 輸入清單區項目之檔案圖標字串,預設mdiFileOutline
338
+ * @vue-prop {Number} [listItemIconSize=22] 輸入清單區項目之圖標尺寸數字,單位px,預設22
339
+ * @vue-prop {String} [listItemIconColor='#888'] 輸入清單區項目之圖標顏色字串,預設'#888'
340
+ * @vue-prop {String} [listItemIconColorHover='#777'] 輸入滑鼠移入時清單區項目之圖標顏色字串,預設'#777'
341
+ * @vue-prop {String} [listItemIconColorActive='#666'] 輸入主動模式時清單區項目之圖標顏色字串,預設'#666'
342
+ * @vue-prop {String} [listItemBackgroundColor='transparent'] 輸入清單區項目之背景顏色字串,預設'transparent'
343
+ * @vue-prop {String} [listItemBackgroundColorHover='rgba(200,200,200,0.2)'] 輸入滑鼠移入時清單區項目之背景顏色字串,預設'rgba(200,200,200,0.2)'
344
+ * @vue-prop {String} [listItemBackgroundColorActive='rgba(100,100,100,0.2)'] 輸入主動模式時清單區項目之背景顏色字串,預設'rgba(100,100,100,0.2)'
345
+ * @vue-prop {String} [listItemRippleColor='rgba(255,255,255,0.4)'] 輸入清單區項目之ripple效果顏色字串,預設'rgba(255,255,255,0.4)'
346
+ * @vue-prop {String} [listBackgroundColor='#fff'] 輸入清單區背景顏色字串,預設'#fff'
347
+ * @vue-prop {String} [btnDisplayTreeIconShow=mdiArrowRightBoldHexagonOutline] 輸入顯示樹狀資料夾按鈕圖標字串,預設mdiArrowRightBoldHexagonOutline
348
+ * @vue-prop {String} [btnDisplayTreeIconShow=mdiArrowLeftBoldHexagonOutline] 輸入隱藏樹狀資料夾按鈕圖標字串,預設mdiArrowLeftBoldHexagonOutline
349
+ * @vue-prop {Number} [btnDisplayTreeIconSize=20] 輸入顯隱樹狀資料夾按鈕圖標之尺寸數字,單位px,預設20
350
+ * @vue-prop {String} [btnDisplayTreeIconColor='grey darken-1'] 輸入顯隱樹狀資料夾按鈕圖標顏色字串,預設'grey darken-1'
351
+ * @vue-prop {String} [btnDisplayTreeIconColorHover='grey darken-2'] 輸入滑鼠移入時顯隱樹狀資料夾按鈕圖標顏色字串,預設'grey darken-2'
352
+ * @vue-prop {String} [btnDisplayTreeIconColorFocus='grey darken-3'] 輸入取得焦點時顯隱樹狀資料夾按鈕圖標顏色字串,預設'grey darken-3'
353
+ * @vue-prop {String} [btnDisplayTreeBackgroundColor='transparent'] 輸入顯隱樹狀資料夾按鈕背景顏色字串,預設'transparent'
354
+ * @vue-prop {String} [btnDisplayTreeBackgroundColorHover='rgb(236,236,236)'] 輸入滑鼠移入時顯隱樹狀資料夾按鈕背景顏色字串,預設'rgb(236,236,236)'
355
+ * @vue-prop {String} [btnDisplayTreeBackgroundColorFocus='rgb(230,230,230)'] 輸入主動模式時顯隱樹狀資料夾按鈕背景顏色字串,預設'rgb(230,230,230)'
356
+ * @vue-prop {String} [pathBtnTextColor='#444'] 輸入路徑區按鈕之文字顏色字串,預設'#444'
357
+ * @vue-prop {String} [pathBtnTextColorHover='#222'] 輸入滑鼠移入時路徑區按鈕之文字顏色字串,預設'#222'
358
+ * @vue-prop {String} [pathBtnTextFontSize='0.85rem'] 輸入路徑區按鈕之文字字型大小字串,預設'0.85rem'
359
+ * @vue-prop {String} [pathBtnBackgroundColor='transparent'] 輸入路徑區按鈕之背景顏色字串,預設'transparent'
360
+ * @vue-prop {String} [pathBtnBackgroundColorHover='rgb(236,236,236)'] 輸入滑鼠移入時路徑區按鈕之背景顏色字串,預設'rgb(236,236,236)'
361
+ * @vue-prop {String} [pathSepIcon=mdiChevronRight] 輸入路徑區分隔符號之圖標字串,預設mdiChevronRight
362
+ * @vue-prop {String} [pathSepIconColor='#888'] 輸入路徑區分隔符號之圖標顏色字串,預設'#888'
363
+ * @vue-prop {Number} [pathSepIconSize=18] 輸入路徑區分隔符號之圖標尺寸數字,單位px,預設18
364
+ * @vue-prop {String} [pathBackgroundColor='transparent'] 輸入路徑區背景顏色字串,預設'#fff'
365
+ * @vue-prop {String} [noSelectedText='No selected folder'] 輸入尚未選擇資料夾文字字串,預設'No selected folder'
366
+ */
367
+ export default {
368
+ directives: {
369
+ domresize: domResize(),
370
+ },
371
+ components: {
372
+ WIcon,
373
+ WTree,
374
+ WListVertical,
375
+ WDrawer,
376
+ WButtonChip,
377
+ WButtonCircle,
378
+ },
379
+ props: {
380
+ items: {
381
+ type: Array,
382
+ default: () => [],
383
+ },
384
+ bindRoot: {
385
+ type: String,
386
+ default: 'root',
387
+ },
388
+ treeWidthMin: {
389
+ type: Number,
390
+ default: null,
391
+ },
392
+ treeWidthMax: {
393
+ type: Number,
394
+ default: null,
395
+ },
396
+ toggleTreeIconSize: {
397
+ type: Number,
398
+ default: 24,
399
+ },
400
+ toggleTreeIconColor: {
401
+ type: String,
402
+ default: 'grey',
403
+ },
404
+ toggleTreeIconBackgroundColor: {
405
+ type: String,
406
+ default: 'transparent',
407
+ },
408
+ toggleTreeIconBackgroundColorHover: {
409
+ type: String,
410
+ default: 'rgba(128,128,128,0.15)',
411
+ },
412
+ showTree: {
413
+ type: Boolean,
414
+ default: true,
415
+ },
416
+ treeAfloat: {
417
+ type: Boolean,
418
+ default: false,
419
+ },
420
+ treeDefItemHeight: {
421
+ type: Number,
422
+ default: 30,
423
+ },
424
+ treeDefaultDisplayLevel: {
425
+ type: Number,
426
+ default: null,
427
+ },
428
+ treePaddingStyle: {
429
+ type: Object,
430
+ default: () => {
431
+ return {
432
+ v: 0,
433
+ h: 0,
434
+ }
435
+ },
436
+ },
437
+ treeIndent: {
438
+ type: Number,
439
+ default: 0.7,
440
+ },
441
+ treeItemTextFontSize: {
442
+ type: String,
443
+ default: '0.85rem',
444
+ },
445
+ treeItemTextColor: {
446
+ type: String,
447
+ default: '#444',
448
+ },
449
+ treeItemTextColorHover: {
450
+ type: String,
451
+ default: '#222',
452
+ },
453
+ treeItemTextColorActive: {
454
+ type: String,
455
+ default: '#000',
456
+ },
457
+ treeFolderIcon: {
458
+ type: String,
459
+ default: mdiFolder,
460
+ },
461
+ treeFolderIconSize: {
462
+ type: Number,
463
+ default: 20,
464
+ },
465
+ treeFolderIconColor: {
466
+ type: String,
467
+ default: '#888',
468
+ },
469
+ treeFolderIconColorHover: {
470
+ type: String,
471
+ default: '#777',
472
+ },
473
+ treeFolderIconColorActive: {
474
+ type: String,
475
+ default: '#666',
476
+ },
477
+ treeItemBackgroundColor: {
478
+ type: String,
479
+ default: 'transparent',
480
+ },
481
+ treeItemBackgroundColorHover: {
482
+ type: String,
483
+ default: 'rgba(200,200,200,0.2)',
484
+ },
485
+ treeItemBackgroundColorActive: {
486
+ type: String,
487
+ default: 'rgba(100,100,100,0.2)',
488
+ },
489
+ treeItemRippleColor: {
490
+ type: String,
491
+ default: 'rgba(200,200,200,0.4)',
492
+ },
493
+ treeBackgroundColor: {
494
+ type: String,
495
+ default: '#fff',
496
+ },
497
+ treeDrawerBarSize: {
498
+ type: Number,
499
+ default: 2,
500
+ },
501
+ treeDrawerBarColor: {
502
+ type: String,
503
+ default: '#ddd',
504
+ },
505
+ lineBetweenPathAndListWidth: {
506
+ type: Number,
507
+ default: 1,
508
+ },
509
+ lineBetweenPathAndListColor: {
510
+ type: String,
511
+ default: '#ddd',
512
+ },
513
+ listDefItemHeight: {
514
+ type: Number,
515
+ default: 30,
516
+ },
517
+ listPaddingStyle: {
518
+ type: Object,
519
+ default: () => {
520
+ return {
521
+ v: 0,
522
+ h: 6,
523
+ }
524
+ },
525
+ },
526
+ listItemTextFontSize: {
527
+ type: String,
528
+ default: '0.85rem',
529
+ },
530
+ listItemTextColor: {
531
+ type: String,
532
+ default: '#444',
533
+ },
534
+ listItemTextColorHover: {
535
+ type: String,
536
+ default: '#222',
537
+ },
538
+ listItemTextColorActive: {
539
+ type: String,
540
+ default: '#000',
541
+ },
542
+ listFolderIcon: {
543
+ type: String,
544
+ default: mdiFolder,
545
+ },
546
+ listFileIcon: {
547
+ type: String,
548
+ default: mdiFileOutline,
549
+ },
550
+ listItemIconSize: {
551
+ type: Number,
552
+ default: 22,
553
+ },
554
+ listItemIconColor: {
555
+ type: String,
556
+ default: '#888',
557
+ },
558
+ listItemIconColorHover: {
559
+ type: String,
560
+ default: '#777',
561
+ },
562
+ listItemIconColorActive: {
563
+ type: String,
564
+ default: '#666',
565
+ },
566
+ listItemBackgroundColor: {
567
+ type: String,
568
+ default: 'transparent',
569
+ },
570
+ listItemBackgroundColorHover: {
571
+ type: String,
572
+ default: 'rgba(200,200,200,0.2)',
573
+ },
574
+ listItemBackgroundColorActive: {
575
+ type: String,
576
+ default: 'rgba(100,100,100,0.2)',
577
+ },
578
+ listItemRippleColor: {
579
+ type: String,
580
+ default: 'rgba(255,255,255,0.4)',
581
+ },
582
+ listBackgroundColor: {
583
+ type: String,
584
+ default: '#fff',
585
+ },
586
+ btnDisplayTreeIconShow: {
587
+ type: String,
588
+ default: mdiArrowRightBoldHexagonOutline,
589
+ },
590
+ btnDisplayTreeIconHide: {
591
+ type: String,
592
+ default: mdiArrowLeftBoldHexagonOutline,
593
+ },
594
+ btnDisplayTreeIconSize: {
595
+ type: Number,
596
+ default: 20,
597
+ },
598
+ btnDisplayTreeIconColor: {
599
+ type: String,
600
+ default: 'grey darken-1',
601
+ },
602
+ btnDisplayTreeIconColorHover: {
603
+ type: String,
604
+ default: 'grey darken-2',
605
+ },
606
+ btnDisplayTreeIconColorFocus: {
607
+ type: String,
608
+ default: 'grey darken-3',
609
+ },
610
+ btnDisplayTreeBackgroundColor: {
611
+ type: String,
612
+ default: 'transparent',
613
+ },
614
+ btnDisplayTreeBackgroundColorHover: {
615
+ type: String,
616
+ default: 'rgb(236,236,236)',
617
+ },
618
+ btnDisplayTreeBackgroundColorFocus: {
619
+ type: String,
620
+ default: 'rgb(230,230,230)',
621
+ },
622
+ pathBtnTextColor: {
623
+ type: String,
624
+ default: '#444',
625
+ },
626
+ pathBtnTextColorHover: {
627
+ type: String,
628
+ default: '#222',
629
+ },
630
+ pathBtnTextFontSize: {
631
+ type: String,
632
+ default: '0.85rem',
633
+ },
634
+ pathBtnBackgroundColor: {
635
+ type: String,
636
+ default: 'transparent',
637
+ },
638
+ pathBtnBackgroundColorHover: {
639
+ type: String,
640
+ default: 'rgb(236,236,236)',
641
+ },
642
+ pathSepIcon: {
643
+ type: String,
644
+ default: mdiChevronRight,
645
+ },
646
+ pathSepIconColor: {
647
+ type: String,
648
+ default: '#888',
649
+ },
650
+ pathSepIconSize: {
651
+ type: Number,
652
+ default: 18,
653
+ },
654
+ pathBackgroundColor: {
655
+ type: String,
656
+ default: '#fff',
657
+ },
658
+ noSelectedText: {
659
+ type: String,
660
+ default: 'No selected folder',
661
+ },
662
+ },
663
+ data: function() {
664
+ return {
665
+
666
+ panelWidth: 0,
667
+ panelHeight: 0,
668
+ pathHeight: 0,
669
+
670
+ showTreeTrans: true,
671
+ treeWidth: 200,
672
+
673
+ kpPath: null,
674
+ treeItemsFolder: null,
675
+ treeItems: null,
676
+ treeItemActive: null,
677
+
678
+ parentInfors: [],
679
+
680
+ listItems: [],
681
+ listItemActive: null,
682
+
683
+ }
684
+ },
685
+ computed: {
686
+
687
+ changeShowTree: function() {
688
+ // console.log('changeShowTree')
689
+
690
+ let vo = this
691
+
692
+ //save
693
+ vo.showTreeTrans = vo.showTree
694
+
695
+ return ''
696
+ },
697
+
698
+ changeItems: function() {
699
+ // console.log('changeItems')
700
+
701
+ let vo = this
702
+
703
+ //filepathToTree
704
+ let r = filepathToTree(vo.items, { bindRoot: vo.bindRoot })
705
+
706
+ //save
707
+ vo.treeItemsFolder = r.treeItemsFolder
708
+ vo.treeItems = r.treeItems
709
+ vo.kpPath = r.kpPath
710
+
711
+ //defaultShowFirst
712
+ vo.defaultShowFirst()
713
+
714
+ return ''
715
+ },
716
+
717
+ effTreeBackgroundColor: function() {
718
+ let vo = this
719
+ return color2hex(vo.treeBackgroundColor)
720
+ },
721
+
722
+ effListBackgroundColor: function() {
723
+ let vo = this
724
+ return color2hex(vo.listBackgroundColor)
725
+ },
726
+
727
+ effPathBackgroundColor: function() {
728
+ let vo = this
729
+ return color2hex(vo.pathBackgroundColor)
730
+ },
731
+
732
+ effLineBetweenPathAndListColor: function() {
733
+ let vo = this
734
+ return color2hex(vo.lineBetweenPathAndListColor)
735
+ },
736
+
737
+ effTreeFolderIconColor: function() {
738
+ let vo = this
739
+ return color2hex(vo.treeFolderIconColor)
740
+ },
741
+
742
+ effTreeFolderIconColorHover: function() {
743
+ let vo = this
744
+ return color2hex(vo.treeFolderIconColorHover)
745
+ },
746
+
747
+ effTreeFolderIconColorActive: function() {
748
+ let vo = this
749
+ return color2hex(vo.treeFolderIconColorActive)
750
+ },
751
+
752
+ useTreeItemTextFontSize: function() {
753
+ let vo = this
754
+ let s = vo.treeItemTextFontSize
755
+ s = replace(s, ';', '')
756
+ return `font-size:${s};`
757
+ },
758
+
759
+ useListItemTextFontSize: function() {
760
+ let vo = this
761
+ let s = vo.listItemTextFontSize
762
+ s = replace(s, ';', '')
763
+ return `font-size:${s};`
764
+ },
765
+
766
+ effListItemIconColor: function() {
767
+ let vo = this
768
+ return color2hex(vo.listItemIconColor)
769
+ },
770
+
771
+ effListItemIconColorHover: function() {
772
+ let vo = this
773
+ return color2hex(vo.listItemIconColorHover)
774
+ },
775
+
776
+ effListItemIconColorActive: function() {
777
+ let vo = this
778
+ return color2hex(vo.listItemIconColorActive)
779
+ },
780
+
781
+ usePathBtnTextFontSize: function() {
782
+ let vo = this
783
+ let s = vo.pathBtnTextFontSize
784
+ s = replace(s, ';', '')
785
+ return `font-size:${s};`
786
+ },
787
+
788
+ listHeight: function() {
789
+ let vo = this
790
+ return vo.panelHeight - vo.pathHeight
791
+ },
792
+
793
+ effPathBtnTextColor: function() {
794
+ let vo = this
795
+ return color2hex(vo.pathBtnTextColor)
796
+ },
797
+
798
+ },
799
+ methods: {
800
+
801
+ resizePanel: function(msg) {
802
+ // console.log('methods resizePanel', msg)
803
+
804
+ let vo = this
805
+
806
+ //update
807
+ vo.panelWidth = msg.snew.offsetWidth
808
+ vo.panelHeight = msg.snew.offsetHeight
809
+
810
+ },
811
+
812
+ resizePath: function(msg) {
813
+ // console.log('methods resizePath', msg)
814
+
815
+ let vo = this
816
+
817
+ //update
818
+ // vo.pathWidth = msg.snew.offsetWidth
819
+ vo.pathHeight = msg.snew.offsetHeight
820
+
821
+ },
822
+
823
+ defaultShowFirst: function() {
824
+ // console.log('methods defaultShowFirst')
825
+
826
+ let vo = this
827
+
828
+ //nextTick
829
+ vo.$nextTick(() => {
830
+
831
+ //triggerClickTreeFolderById
832
+ let id = vo.bindRoot
833
+ vo.triggerClickTreeFolderById(id)
834
+
835
+ })
836
+
837
+ },
838
+
839
+ emitShowTree: function(b) {
840
+ // console.log('methods emitShowTree', b)
841
+
842
+ let vo = this
843
+
844
+ //update
845
+ vo.showTreeTrans = b
846
+
847
+ //emit
848
+ vo.$emit('update:showTree', b)
849
+
850
+ },
851
+
852
+ getTreeFolderIconColor: function(props) {
853
+ // console.log('methods getTreeFolderIconColor', props)
854
+
855
+ let vo = this
856
+
857
+ //isHover
858
+ let isHover = get(props, 'isHover')
859
+ if (!isbol(isHover)) {
860
+ isHover = false
861
+ }
862
+ // console.log('isHover', isHover)
863
+
864
+ //isActive
865
+ let isActive = get(props, 'isActive')
866
+ if (!isbol(isActive)) {
867
+ isActive = false
868
+ }
869
+ // console.log('isActive', isActive)
870
+
871
+ if (isActive) {
872
+ return vo.effTreeFolderIconColorActive
873
+ }
874
+ else if (isHover) {
875
+ return vo.effTreeFolderIconColorHover
876
+ }
877
+ return vo.effTreeFolderIconColor
878
+ },
879
+
880
+ getListItemIconColor: function(props) {
881
+ // console.log('methods getListItemIconColor', props)
882
+
883
+ let vo = this
884
+
885
+ //isHover
886
+ let isHover = get(props, 'isHover')
887
+ if (!isbol(isHover)) {
888
+ isHover = false
889
+ }
890
+ // console.log('isHover', isHover)
891
+
892
+ //isActive
893
+ let isActive = get(props, 'isActive')
894
+ if (!isbol(isActive)) {
895
+ isActive = false
896
+ }
897
+ // console.log('isActive', isActive)
898
+
899
+ if (isActive) {
900
+ return vo.effListItemIconColorActive
901
+ }
902
+ else if (isHover) {
903
+ return vo.effListItemIconColorHover
904
+ }
905
+ return vo.effListItemIconColor
906
+ },
907
+
908
+ listFolder: function(children) {
909
+ // console.log('methods listFolder', children)
910
+
911
+ let vo = this
912
+
913
+ //重建物件陣列
914
+ let rs = map(children, (v) => {
915
+ let text = ''
916
+ let icon = ''
917
+ if (v._type === 'folder') {
918
+ text = v.text
919
+ icon = vo.listFolderIcon
920
+ }
921
+ else {
922
+ text = v.text
923
+ icon = vo.listFileIcon
924
+ }
925
+ return {
926
+ text,
927
+ icon,
928
+ data: v,
929
+ }
930
+ })
931
+ // console.log('rs', rs)
932
+
933
+ //save
934
+ vo.listItems = rs
935
+
936
+ },
937
+
938
+ displayFolderById: function(id) {
939
+ // console.log('methods displayFolderById', id)
940
+
941
+ let vo = this
942
+
943
+ //pt
944
+ let pt = vo.kpPath[id]
945
+ // console.log('id', id)
946
+ // console.log('vo.kpPath', vo.kpPath)
947
+ // console.log('pt', pt)
948
+
949
+ //self
950
+ let self = get(vo.treeItems, pt)
951
+ // console.log('vo.treeItems', vo.treeItems)
952
+ // console.log('self', self)
953
+
954
+ //chpt
955
+ let chpt = `${pt}.children`
956
+
957
+ //children
958
+ let children = get(vo.treeItems, chpt)
959
+ // console.log('children', children)
960
+
961
+ //listFolder
962
+ vo.listFolder(children)
963
+
964
+ //parentInfors
965
+ let parentInfors = get(self, 'parentInfors', [])
966
+ // console.log('parentInfors', parentInfors)
967
+
968
+ //save
969
+ vo.parentInfors = parentInfors
970
+
971
+ },
972
+
973
+ ckTreeFolder: function(props) {
974
+ // console.log('methods ckTreeFolder', props)
975
+
976
+ let vo = this
977
+
978
+ //item
979
+ let item = get(props, 'data', null)
980
+ // console.log('item', item)
981
+
982
+ //id
983
+ let id = get(props, 'data.id', '')
984
+ // console.log('id', id)
985
+
986
+ //displayFolderById
987
+ vo.displayFolderById(id)
988
+
989
+ //emit
990
+ vo.$emit('click-folder', { from: 'tree', item })
991
+ vo.$emit('click', { type: 'folder', from: 'tree', item })
992
+
993
+ //clear
994
+ vo.$nextTick(() => {
995
+ // vo.treeItemActive = null //tree點擊不能清除主動項目
996
+ vo.listItemActive = null
997
+ })
998
+
999
+ },
1000
+
1001
+ ckListItem: function(props) {
1002
+ // console.log('methods ckListItem', props)
1003
+
1004
+ let vo = this
1005
+
1006
+ //item
1007
+ let item = get(props, 'item.data', null)
1008
+ // console.log('item', item)
1009
+
1010
+ //id
1011
+ let id = get(props, 'item.data.id', '')
1012
+ // console.log('id', id)
1013
+
1014
+ //_type
1015
+ let _type = get(props, 'item.data._type', '')
1016
+
1017
+ //click folder
1018
+ if (_type === 'folder') {
1019
+
1020
+ //displayFolderById
1021
+ vo.displayFolderById(id)
1022
+
1023
+ //emit
1024
+ vo.$emit('click-folder', { from: 'list', item })
1025
+ vo.$emit('click', { type: 'folder', from: 'list', item })
1026
+
1027
+ //clear
1028
+ setTimeout(() => {
1029
+ vo.treeItemActive = null //點擊list則清除tree主動項目
1030
+ vo.listItemActive = null //因點擊之滑鼠放開會造成切換list內容後觸發對新項目的點擊, 故得要使用setTimeout給予更長延遲後才清除
1031
+ }, 300)
1032
+
1033
+ }
1034
+ else {
1035
+
1036
+ //emit
1037
+ vo.$emit('click-file', { from: 'list', item })
1038
+ vo.$emit('click', { type: 'file', from: 'list', item })
1039
+
1040
+ }
1041
+
1042
+ },
1043
+
1044
+ ckPathFolder: function(item) {
1045
+ // console.log('methods ckPathFolder', item)
1046
+
1047
+ let vo = this
1048
+
1049
+ //id
1050
+ let id = get(item, 'id', '')
1051
+ // console.log('id', id)
1052
+
1053
+ //displayFolderById
1054
+ vo.displayFolderById(id)
1055
+
1056
+ //emit
1057
+ vo.$emit('click-folder', { from: 'path', item })
1058
+ vo.$emit('click', { type: 'folder', from: 'path', item })
1059
+
1060
+ //clear
1061
+ vo.$nextTick(() => {
1062
+ vo.treeItemActive = null //點擊path則清除tree主動項目
1063
+ vo.listItemActive = null //點擊path則清除list主動項目
1064
+ })
1065
+
1066
+ },
1067
+
1068
+ toggleTreeFoldersByFun: function(cb) {
1069
+ // console.log('methods toggleTreeFoldersByFun', cb)
1070
+
1071
+ let vo = this
1072
+
1073
+ return vo.$refs.wt.toggleItemsByFun(cb)
1074
+ },
1075
+
1076
+ toggleTreeFoldersAll: function(toUnfolding) {
1077
+ // console.log('methods toggleTreeFoldersAll', toUnfolding)
1078
+
1079
+ let vo = this
1080
+
1081
+ return vo.$refs.wt.toggleItemsAll(toUnfolding)
1082
+ },
1083
+
1084
+ triggerClickTreeFolderById: function(id) {
1085
+ // console.log('methods triggerClickTreeFolderById', id)
1086
+
1087
+ let vo = this
1088
+
1089
+ //props
1090
+ let props = {
1091
+ data: {
1092
+ id,
1093
+ }
1094
+ }
1095
+
1096
+ //ckTreeFolder
1097
+ vo.ckTreeFolder(props)
1098
+
1099
+ //treeItemActive
1100
+ vo.treeItemActive = { id }
1101
+
1102
+ },
1103
+
1104
+ triggerClickTreeFolderByFun: async function(cb) {
1105
+ // console.log('methods triggerClickTreeFolderByFun', cb)
1106
+
1107
+ let vo = this
1108
+
1109
+ //check
1110
+ if (!isfun(cb)) {
1111
+ return
1112
+ }
1113
+
1114
+ //treeItemsSpread
1115
+ let treeItemsSpread = []
1116
+ each(vo.kpPath, (pt) => {
1117
+ let r = get(vo.treeItems, pt, '')
1118
+ treeItemsSpread.push(r)
1119
+ })
1120
+
1121
+ //msg
1122
+ let msg = {
1123
+ treeItemsFolder: vo.treeItemsFolder,
1124
+ treeItems: vo.treeItems,
1125
+ kpPath: vo.kpPath,
1126
+ treeItemsSpread,
1127
+ }
1128
+
1129
+ //r, 通過cb回傳操作物件, 包含欲顯隱之row與toUnfolding, 若toUnfolding不給則進行反向切換顯隱, cb亦支援使用async function使用resolve回傳操作物件
1130
+ let r = cb(msg)
1131
+
1132
+ //check
1133
+ if (ispm(r)) {
1134
+ r = await r
1135
+ }
1136
+ // console.log('r', r)
1137
+
1138
+ //id
1139
+ let id = get(r, 'id')
1140
+ // console.log('id', id)
1141
+
1142
+ //check
1143
+ if (!isestr(id)) {
1144
+ console.log('invalid id', id)
1145
+ return
1146
+ }
1147
+
1148
+ //triggerClickTreeFolderById
1149
+ vo.triggerClickTreeFolderById(id)
1150
+
1151
+ },
1152
+
1153
+ },
1154
+ }
1155
+ </script>
1156
+
1157
+ <style scoped>
1158
+ </style>