w-component-vue 2.1.76 → 2.1.79

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 (843) 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 +1 -1
  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 +1 -1
  9. package/docs/examples/w-aggrid-vue-dyn_kpCellEditable_kpRowStyle.html +1 -1
  10. package/docs/examples/w-aggrid-vue-dyn_kpHeadTooltip_kpCellTooltip.html +1 -1
  11. package/docs/examples/w-aggrid-vue-dyn_large data (1,000,000 items).html +1 -1
  12. package/docs/examples/w-aggrid-vue-dyn_simple data.html +1 -1
  13. package/docs/examples/w-alert_backgroundColor.html +1 -1
  14. package/docs/examples/w-alert_borderColor.html +1 -1
  15. package/docs/examples/w-alert_borderRadius.html +1 -1
  16. package/docs/examples/w-alert_borderWidth.html +1 -1
  17. package/docs/examples/w-alert_default.html +1 -1
  18. package/docs/examples/w-alert_icon.html +1 -1
  19. package/docs/examples/w-alert_position.html +1 -1
  20. package/docs/examples/w-alert_recive closed event by promise.html +1 -1
  21. package/docs/examples/w-alert_shadowStyle.html +1 -1
  22. package/docs/examples/w-alert_textColor.html +1 -1
  23. package/docs/examples/w-alert_time (6s).html +1 -1
  24. package/docs/examples/w-alert_type error.html +1 -1
  25. package/docs/examples/w-alert_type infor.html +1 -1
  26. package/docs/examples/w-alert_type warning.html +1 -1
  27. package/docs/examples/w-badge_backgroundColor.html +1 -1
  28. package/docs/examples/w-badge_badgeAlign.html +1 -1
  29. package/docs/examples/w-badge_borderColor_textColor_backgroundColor.html +1 -1
  30. package/docs/examples/w-badge_borderRadius.html +1 -1
  31. package/docs/examples/w-badge_default.html +1 -1
  32. package/docs/examples/w-badge_textColor_backgroundColor.html +1 -1
  33. package/docs/examples/w-badge_textFontSize.html +1 -1
  34. package/docs/examples/w-button-chip_active_backgroundColorActive.html +1 -1
  35. package/docs/examples/w-button-chip_active_borderColorActive.html +1 -1
  36. package/docs/examples/w-button-chip_active_iconColorActive.html +1 -1
  37. package/docs/examples/w-button-chip_active_no shadow_no shadowActive.html +1 -1
  38. package/docs/examples/w-button-chip_active_shadowActiveStyle.html +1 -1
  39. package/docs/examples/w-button-chip_active_textColorActive.html +1 -1
  40. package/docs/examples/w-button-chip_backgroundColor_backgroundColorHover.html +1 -1
  41. package/docs/examples/w-button-chip_borderColor_borderColorHover.html +1 -1
  42. package/docs/examples/w-button-chip_borderRadius.html +1 -1
  43. package/docs/examples/w-button-chip_borderRadiusStyle.html +1 -1
  44. package/docs/examples/w-button-chip_borderRadiusStyle_borderWidth_borderColor_borderColorHover.html +1 -1
  45. package/docs/examples/w-button-chip_borderWidth.html +1 -1
  46. package/docs/examples/w-button-chip_close.html +1 -1
  47. package/docs/examples/w-button-chip_close_shiftRight.html +1 -1
  48. package/docs/examples/w-button-chip_default.html +1 -1
  49. package/docs/examples/w-button-chip_icon (fontawesome).html +1 -1
  50. package/docs/examples/w-button-chip_icon (material).html +1 -1
  51. package/docs/examples/w-button-chip_icon_iconColor_iconColorHover_close.html +1 -1
  52. package/docs/examples/w-button-chip_icon_no text.html +1 -1
  53. package/docs/examples/w-button-chip_loading.html +1 -1
  54. package/docs/examples/w-button-chip_loading_loadingColor.html +1 -1
  55. package/docs/examples/w-button-chip_loading_textColor_textColorHover.html +1 -1
  56. package/docs/examples/w-button-chip_modify loading by callback in click.html +1 -1
  57. package/docs/examples/w-button-chip_modify prog by callback in click.html +1 -1
  58. package/docs/examples/w-button-chip_no shadow.html +1 -1
  59. package/docs/examples/w-button-chip_not editable.html +1 -1
  60. package/docs/examples/w-button-chip_not editable_disabledColor.html +1 -1
  61. package/docs/examples/w-button-chip_paddingStyle (equal height to using icon).html +1 -1
  62. package/docs/examples/w-button-chip_paddingStyle (thin style).html +1 -1
  63. package/docs/examples/w-button-chip_paddingStyle_icon_iconSize_textFontSize.html +1 -1
  64. package/docs/examples/w-button-chip_prog.html +1 -1
  65. package/docs/examples/w-button-chip_prog_progColor_progBackgroundColor.html +1 -1
  66. package/docs/examples/w-button-chip_promiseUnlock.html +1 -1
  67. package/docs/examples/w-button-chip_rippleColor.html +1 -1
  68. package/docs/examples/w-button-chip_shadowStyle.html +1 -1
  69. package/docs/examples/w-button-chip_shiftLeft.html +1 -1
  70. package/docs/examples/w-button-chip_slot_close.html +1 -1
  71. package/docs/examples/w-button-chip_textColor.html +1 -1
  72. package/docs/examples/w-button-chip_textColor_textColorHover.html +1 -1
  73. package/docs/examples/w-button-chip_tooltip.html +1 -1
  74. package/docs/examples/w-button-circle_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
  75. package/docs/examples/w-button-circle_borderWidth_borderColor_borderColorHover_borderColorFocus.html +1 -1
  76. package/docs/examples/w-button-circle_icon (fontawesome).html +1 -1
  77. package/docs/examples/w-button-circle_icon (material).html +1 -1
  78. package/docs/examples/w-button-circle_iconColor_iconColorHover_iconColorFocus.html +1 -1
  79. package/docs/examples/w-button-circle_loading.html +1 -1
  80. package/docs/examples/w-button-circle_loading_loadingColor.html +1 -1
  81. package/docs/examples/w-button-circle_no shadow.html +1 -1
  82. package/docs/examples/w-button-circle_not editable.html +1 -1
  83. package/docs/examples/w-button-circle_not editable_disabledColor.html +1 -1
  84. package/docs/examples/w-button-circle_paddingStyle.html +1 -1
  85. package/docs/examples/w-button-circle_paddingStyle_iconSize.html +1 -1
  86. package/docs/examples/w-button-circle_promiseUnlock.html +1 -1
  87. package/docs/examples/w-button-circle_rippleColor.html +1 -1
  88. package/docs/examples/w-button-circle_shadowStyle.html +1 -1
  89. package/docs/examples/w-button-circle_tooltip.html +1 -1
  90. package/docs/examples/w-checkbox_checkedIconColor_checkedIconColorHover_uncheckedIconColor_uncheckedIconColorHover.html +181 -0
  91. package/docs/examples/w-checkbox_checkedIcon_uncheckedIcon.html +1 -1
  92. package/docs/examples/w-checkbox_default.html +1 -1
  93. package/docs/examples/{w-checkbox_checkedIconColor_uncheckedIconColor.html → w-checkbox_iconSize_textFontSize.html} +5 -4
  94. package/docs/examples/w-checkbox_not editable.html +1 -1
  95. package/docs/examples/w-checkbox_not editable_checkedIconColorDisabled_uncheckedIconColorDisabled.html +3 -3
  96. package/docs/examples/{w-checkbox_iconSize.html → w-checkbox_text.html} +3 -3
  97. package/docs/examples/w-checkbox_text_textColor_textColorHover.html +178 -0
  98. package/docs/examples/w-checkbox_use string (y or n).html +1 -1
  99. package/docs/examples/w-ckeditor-vue-dyn_default.html +1 -1
  100. package/docs/examples/w-ckeditor-vue-dyn_height.html +1 -1
  101. package/docs/examples/w-ckeditor-vue-dyn_not editable.html +1 -1
  102. package/docs/examples/w-ckeditor-vue-dyn_settings.html +1 -1
  103. package/docs/examples/w-confirm_contentColor_contentIconColor_contentBackgroundColor.html +1 -1
  104. package/docs/examples/w-confirm_contentIcon (fontawesome).html +1 -1
  105. package/docs/examples/w-confirm_contentIconColor.html +1 -1
  106. package/docs/examples/w-confirm_contentIconSize.html +1 -1
  107. package/docs/examples/w-confirm_hasNoBtn_yesBtnText.html +1 -1
  108. package/docs/examples/w-confirm_maxWidth.html +1 -1
  109. package/docs/examples/w-confirm_noBtnTextColor_noBtnTextColorHover_noBtnBackgroundColor_noBtnBackgroundColorHover.html +1 -1
  110. package/docs/examples/w-confirm_noBtnText_yesBtnText.html +1 -1
  111. package/docs/examples/w-confirm_scrollable (slot content).html +1 -1
  112. package/docs/examples/w-confirm_scrollable.html +1 -1
  113. package/docs/examples/w-confirm_slot content.html +1 -1
  114. package/docs/examples/w-confirm_slot footer.html +1 -1
  115. package/docs/examples/w-confirm_slot header.html +1 -1
  116. package/docs/examples/w-confirm_titleColor_headerBackgroundColor_footerBackgroundColor.html +1 -1
  117. package/docs/examples/w-confirm_title_content.html +1 -1
  118. package/docs/examples/w-dialog_closeWithInterceptor.html +1 -1
  119. package/docs/examples/w-dialog_contentTextColor_contentBackgroundColor.html +1 -1
  120. package/docs/examples/w-dialog_fullscreen.html +1 -1
  121. package/docs/examples/w-dialog_hasSaveBtn and hasCloseBtn, no save and close button.html +1 -1
  122. package/docs/examples/w-dialog_hasSaveBtn, no save button.html +1 -1
  123. package/docs/examples/w-dialog_headerBackgroundColor.html +1 -1
  124. package/docs/examples/w-dialog_headerBtns.html +1 -1
  125. package/docs/examples/w-dialog_headerIconColor_headerTextColor_headerBackgroundColor.html +1 -1
  126. package/docs/examples/w-dialog_icon (fontawesome).html +1 -1
  127. package/docs/examples/w-dialog_maxWidth, for narrow width.html +1 -1
  128. package/docs/examples/w-dialog_multi dialogs.html +1 -1
  129. package/docs/examples/w-dialog_saveBtnTooltip_closeBtnTooltip.html +1 -1
  130. package/docs/examples/w-dialog_scrollable.html +1 -1
  131. package/docs/examples/w-dialog_separate for slot content.html +1 -1
  132. package/docs/examples/w-dialog_slot content.html +1 -1
  133. package/docs/examples/w-dialog_slot header-left_header-right.html +1 -1
  134. package/docs/examples/w-dialog_table in slot content.html +1 -1
  135. package/docs/examples/w-dialog_title.html +1 -1
  136. package/docs/examples/w-drawer_afloat.html +1 -1
  137. package/docs/examples/w-drawer_afloat_afloatByFix.html +1 -1
  138. package/docs/examples/w-drawer_afloat_afloatByFix_mode.html +1 -1
  139. package/docs/examples/w-drawer_afloat_mode.html +1 -1
  140. package/docs/examples/w-drawer_afloat_overlayOpacity.html +1 -1
  141. package/docs/examples/w-drawer_default.html +1 -1
  142. package/docs/examples/w-drawer_drawerWidth.html +1 -1
  143. package/docs/examples/w-drawer_mode.html +1 -1
  144. package/docs/examples/w-drawer_multiple.html +1 -1
  145. package/docs/examples/w-dropfiles_backgroundColor_backgroundColorDropIn_backgroundColorHover.html +1 -1
  146. package/docs/examples/w-dropfiles_borderColor_borderColorDropIn_borderColorHover_backgroundColorDropIn.html +1 -1
  147. package/docs/examples/w-dropfiles_borderRadius.html +1 -1
  148. package/docs/examples/w-dropfiles_borderWidth.html +1 -1
  149. package/docs/examples/w-dropfiles_default.html +1 -1
  150. package/docs/examples/w-dropfiles_timeTransition.html +1 -1
  151. package/docs/examples/w-dynamic-list_change rows.html +1 -1
  152. package/docs/examples/w-dynamic-list_change slot.html +1 -1
  153. package/docs/examples/w-dynamic-list_default.html +1 -1
  154. package/docs/examples/w-dynamic-list_filterKeywords_noResultsText.html +1 -1
  155. package/docs/examples/w-dynamic-list_large data (1,000,000 items).html +1 -1
  156. package/docs/examples/w-dynamic-list_processItems.html +1 -1
  157. package/docs/examples/w-dynamic-list_render.html +1 -1
  158. package/docs/examples/w-dynamic-list_slot item with image.html +1 -1
  159. package/docs/examples/w-dynamic-list_viewHeightMax.html +1 -1
  160. package/docs/examples/w-echarts-vue-dyn_area.html +1 -1
  161. package/docs/examples/w-echarts-vue-dyn_bar3D.html +1 -1
  162. package/docs/examples/w-echarts-vue-dyn_continuous.html +1 -1
  163. package/docs/examples/w-echarts-vue-dyn_heatmap.html +1 -1
  164. package/docs/examples/w-echarts-vue-dyn_line.html +1 -1
  165. package/docs/examples/w-echarts-vue-dyn_line3D.html +1 -1
  166. package/docs/examples/w-echarts-vue-dyn_parallel.html +1 -1
  167. package/docs/examples/w-echarts-vue-dyn_polar heatmap.html +1 -1
  168. package/docs/examples/w-echarts-vue-dyn_polar.html +1 -1
  169. package/docs/examples/w-echarts-vue-dyn_radar.html +1 -1
  170. package/docs/examples/w-echarts-vue-dyn_scatter.html +1 -1
  171. package/docs/examples/w-echarts-vue-dyn_stack.html +1 -1
  172. package/docs/examples/w-echarts-vue-dyn_surface.html +1 -1
  173. package/docs/examples/w-echarts-vue-dyn_tree.html +1 -1
  174. package/docs/examples/w-echarts-vue-dyn_treemap.html +1 -1
  175. package/docs/examples/w-group-check_backgroundColorActive.html +1 -1
  176. package/docs/examples/w-group-check_backgroundColor_backgroundColorHover.html +1 -1
  177. package/docs/examples/w-group-check_borderColor_borderColorHover_borderColorActive.html +1 -1
  178. package/docs/examples/w-group-check_borderRadius.html +1 -1
  179. package/docs/examples/w-group-check_borderRadius_borderRadiusStyle_paddingStyle.html +1 -1
  180. package/docs/examples/w-group-check_borderWidth_borderColor_borderColorHover_borderColorActive.html +1 -1
  181. package/docs/examples/w-group-check_click (console.log).html +1 -1
  182. package/docs/examples/w-group-check_default.html +1 -1
  183. package/docs/examples/w-group-check_group (only one).html +1 -1
  184. package/docs/examples/w-group-check_group_borderColor_borderColorHover_borderColorActive.html +1 -1
  185. package/docs/examples/w-group-check_group_groupBorderRadiusStyle_groupShift_borderRadius.html +1 -1
  186. package/docs/examples/w-group-check_icon (fontawesome).html +1 -1
  187. package/docs/examples/w-group-check_icon (material).html +1 -1
  188. package/docs/examples/w-group-check_iconColorActive.html +1 -1
  189. package/docs/examples/w-group-check_iconColor_iconColorHover.html +1 -1
  190. package/docs/examples/w-group-check_loading.html +1 -1
  191. package/docs/examples/w-group-check_loading_loadingColor.html +1 -1
  192. package/docs/examples/w-group-check_marginStyle.html +1 -1
  193. package/docs/examples/w-group-check_no shadowActive.html +1 -1
  194. package/docs/examples/w-group-check_not editable.html +1 -1
  195. package/docs/examples/w-group-check_paddingStyle_borderRadius_textColor_iconColor.html +1 -1
  196. package/docs/examples/w-group-check_paddingStyle_iconSize_textFontSize.html +1 -1
  197. package/docs/examples/w-group-check_shadow.html +1 -1
  198. package/docs/examples/w-group-check_shadowActiveStyle.html +1 -1
  199. package/docs/examples/w-group-check_shadow_shadowStyle.html +1 -1
  200. package/docs/examples/w-group-check_shiftLeft.html +1 -1
  201. package/docs/examples/w-group-check_shiftLeft_shiftRight.html +1 -1
  202. package/docs/examples/w-group-check_slot_shadow.html +1 -1
  203. package/docs/examples/w-group-check_textColor.html +1 -1
  204. package/docs/examples/w-group-check_textColorActive.html +1 -1
  205. package/docs/examples/w-group-check_textColor_textColorHover.html +1 -1
  206. package/docs/examples/w-group-check_tooltip.html +1 -1
  207. package/docs/examples/w-group-dragdrop_default.html +1 -1
  208. package/docs/examples/w-group-dragdrop_event (dragdrop).html +1 -1
  209. package/docs/examples/w-group-dragdrop_items(string array).html +1 -1
  210. package/docs/examples/w-group-dragdrop_keyBinder.html +1 -1
  211. package/docs/examples/w-group-dragdrop_not draggable.html +1 -1
  212. package/docs/examples/w-group-dragdrop_not itemStyleInline (block).html +1 -1
  213. package/docs/examples/w-group-radio_backgroundColorActive.html +1 -1
  214. package/docs/examples/w-group-radio_backgroundColor_backgroundColorHover.html +1 -1
  215. package/docs/examples/w-group-radio_borderColor_borderColorHover_borderColorActive.html +1 -1
  216. package/docs/examples/w-group-radio_borderRadius.html +1 -1
  217. package/docs/examples/w-group-radio_borderRadius_borderRadiusStyle_paddingStyle.html +1 -1
  218. package/docs/examples/w-group-radio_borderWidth_borderColor_borderColorHover_borderColorActive.html +1 -1
  219. package/docs/examples/w-group-radio_click (console.log).html +1 -1
  220. package/docs/examples/w-group-radio_default.html +1 -1
  221. package/docs/examples/w-group-radio_group (only one).html +1 -1
  222. package/docs/examples/w-group-radio_group_borderColor_borderColorHover_borderColorActive.html +1 -1
  223. package/docs/examples/w-group-radio_group_groupBorderRadiusStyle_groupShift_borderRadius.html +1 -1
  224. package/docs/examples/w-group-radio_icon (fontawesome).html +1 -1
  225. package/docs/examples/w-group-radio_icon (material).html +1 -1
  226. package/docs/examples/w-group-radio_iconColorActive.html +1 -1
  227. package/docs/examples/w-group-radio_iconColor_iconColorHover.html +1 -1
  228. package/docs/examples/w-group-radio_loading.html +1 -1
  229. package/docs/examples/w-group-radio_loading_loadingColor.html +1 -1
  230. package/docs/examples/w-group-radio_marginStyle.html +1 -1
  231. package/docs/examples/w-group-radio_no shadowActive.html +1 -1
  232. package/docs/examples/w-group-radio_not editable.html +1 -1
  233. package/docs/examples/w-group-radio_paddingStyle_borderRadius_textColor_iconColor.html +1 -1
  234. package/docs/examples/w-group-radio_paddingStyle_iconSize_textFontSize.html +1 -1
  235. package/docs/examples/w-group-radio_shadow.html +1 -1
  236. package/docs/examples/w-group-radio_shadowActiveStyle.html +1 -1
  237. package/docs/examples/w-group-radio_shadow_shadowStyle.html +1 -1
  238. package/docs/examples/w-group-radio_shiftLeft.html +1 -1
  239. package/docs/examples/w-group-radio_shiftLeft_shiftRight.html +1 -1
  240. package/docs/examples/w-group-radio_slot_shadow.html +1 -1
  241. package/docs/examples/w-group-radio_textColor.html +1 -1
  242. package/docs/examples/w-group-radio_textColorActive.html +1 -1
  243. package/docs/examples/w-group-radio_textColor_textColorHover.html +1 -1
  244. package/docs/examples/w-group-radio_tooltip.html +1 -1
  245. package/docs/examples/w-group-tags_backgroundColor_backgroundColorHover.html +1 -1
  246. package/docs/examples/w-group-tags_borderColor_borderColorHover.html +1 -1
  247. package/docs/examples/w-group-tags_borderRadius.html +1 -1
  248. package/docs/examples/w-group-tags_closeWithInterceptor.html +1 -1
  249. package/docs/examples/w-group-tags_default.html +1 -1
  250. package/docs/examples/w-group-tags_editableClose(no close button).html +1 -1
  251. package/docs/examples/w-group-tags_editableInput(no slot input).html +1 -1
  252. package/docs/examples/w-group-tags_enableCloseEventOnly.html +1 -1
  253. package/docs/examples/w-group-tags_icon (fontawesome).html +1 -1
  254. package/docs/examples/w-group-tags_icon (material).html +1 -1
  255. package/docs/examples/w-group-tags_iconColor_iconColorHover_textColor_textColorHover.html +1 -1
  256. package/docs/examples/w-group-tags_icon_iconColor_iconColorHover.html +1 -1
  257. package/docs/examples/w-group-tags_inputTextButtonTooltip.html +1 -1
  258. package/docs/examples/w-group-tags_inputTextColor_inputTextBorderColor_inputTextBorderColorHover_inputTextBorderColorFocus.html +1 -1
  259. package/docs/examples/w-group-tags_inputTextWidth.html +1 -1
  260. package/docs/examples/w-group-tags_marginStyle.html +1 -1
  261. package/docs/examples/w-group-tags_modify loading by callback in click.html +1 -1
  262. package/docs/examples/w-group-tags_modify loading_textColor_textColorHover.html +1 -1
  263. package/docs/examples/w-group-tags_modify prog by callback in click.html +1 -1
  264. package/docs/examples/w-group-tags_no shadow_borderColor_borderColorHover.html +1 -1
  265. package/docs/examples/w-group-tags_not draggable.html +1 -1
  266. package/docs/examples/w-group-tags_not editable.html +1 -1
  267. package/docs/examples/w-group-tags_not editable_nodata.html +1 -1
  268. package/docs/examples/w-group-tags_object items.html +1 -1
  269. package/docs/examples/w-group-tags_object items_addButtonTextColor_addButtonTextColorHover_addButtonIconColor.html +1 -1
  270. package/docs/examples/w-group-tags_object items_addButtonText_addButtonTooltip.html +1 -1
  271. package/docs/examples/w-group-tags_object items_keyIcon.html +1 -1
  272. package/docs/examples/w-group-tags_object items_keyText.html +1 -1
  273. package/docs/examples/w-group-tags_object items_keyTooltip.html +1 -1
  274. package/docs/examples/w-group-tags_object items_slot item.html +1 -1
  275. package/docs/examples/w-group-tags_object items_slot item_editableInput(no slot input)_useActive.html +1 -1
  276. package/docs/examples/w-group-tags_object items_slot item_useColorsFromItem_editableInput(no slot input).html +1 -1
  277. package/docs/examples/w-group-tags_paddingStyle_icon_iconSize_textFontSize.html +1 -1
  278. package/docs/examples/w-group-tags_progColor_progBackgroundColor.html +1 -1
  279. package/docs/examples/w-group-tags_shadowStyle.html +1 -1
  280. package/docs/examples/w-group-tags_shiftLeft.html +1 -1
  281. package/docs/examples/w-group-tags_slot input.html +1 -1
  282. package/docs/examples/w-group-tags_slot item.html +1 -1
  283. package/docs/examples/w-group-tags_slot item_useActive_valueActive_paddingStyle.html +1 -1
  284. package/docs/examples/w-group-tags_suggests.html +1 -1
  285. package/docs/examples/w-group-tags_suggests_inputTextColor_inputExpansionIconColor.html +1 -1
  286. package/docs/examples/w-group-tags_suggests_placeholder_noResultsText.html +1 -1
  287. package/docs/examples/w-group-tags_suggests_suggectItemFontSize_suggectItemTextColor_suggectItemTextColorHover.html +1 -1
  288. package/docs/examples/w-group-tags_textColor.html +1 -1
  289. package/docs/examples/w-group-tags_textColor_textColorHover.html +1 -1
  290. package/docs/examples/w-group-tags_useActive_valueActive.html +1 -1
  291. package/docs/examples/w-highcharts-bitmap-dyn_area.html +1 -1
  292. package/docs/examples/w-highcharts-bitmap-dyn_bar.html +1 -1
  293. package/docs/examples/w-highcharts-bitmap-dyn_change options.html +1 -1
  294. package/docs/examples/w-highcharts-bitmap-dyn_heatmap.html +1 -1
  295. package/docs/examples/w-highcharts-bitmap-dyn_large heatmap.html +1 -1
  296. package/docs/examples/w-highcharts-bitmap-dyn_line.html +1 -1
  297. package/docs/examples/w-highcharts-bitmap-dyn_pie.html +1 -1
  298. package/docs/examples/w-highcharts-bitmap-dyn_render (need w-hc2png-server) (line).html +1 -1
  299. package/docs/examples/w-highcharts-bitmap-dyn_scale (line).html +1 -1
  300. package/docs/examples/w-highcharts-vue-dyn_area.html +1 -1
  301. package/docs/examples/w-highcharts-vue-dyn_bar.html +1 -1
  302. package/docs/examples/w-highcharts-vue-dyn_heatmap.html +1 -1
  303. package/docs/examples/w-highcharts-vue-dyn_large heatmap.html +1 -1
  304. package/docs/examples/w-highcharts-vue-dyn_line.html +1 -1
  305. package/docs/examples/w-highcharts-vue-dyn_pie.html +1 -1
  306. package/docs/examples/w-highstock-vue-dyn_area.html +1 -1
  307. package/docs/examples/w-highstock-vue-dyn_line.html +1 -1
  308. package/docs/examples/w-icon-svg_path (mdi-access-point)_size.html +1 -1
  309. package/docs/examples/w-icon-svg_path (mdi-account-badge-horizontal)_timeTransition.html +1 -1
  310. package/docs/examples/w-icon-svg_path (mdi-fruit-cherries).html +1 -1
  311. package/docs/examples/w-icon-svg_path (mdi-graph-outline)_color_colorHover.html +1 -1
  312. package/docs/examples/w-icon-svg_path (use 3 paths)_sizeOriginal.html +1 -1
  313. package/docs/examples/w-icon-svg_path_sizeOriginal.html +1 -1
  314. package/docs/examples/w-image-cascading-dyn_arrangeWhenFinish.html +1 -1
  315. package/docs/examples/w-image-cascading-dyn_colNum.html +1 -1
  316. package/docs/examples/w-image-cascading-dyn_default(imageWidth=300).html +1 -1
  317. package/docs/examples/w-image-cascading-dyn_imageWidth.html +1 -1
  318. package/docs/examples/w-image-viewer-dyn_multiple image with navbar.html +1 -1
  319. package/docs/examples/w-image-viewer-dyn_one image.html +1 -1
  320. package/docs/examples/w-json-view_default.html +1 -1
  321. package/docs/examples/w-json-view_filterKeywords_noResultsText.html +1 -1
  322. package/docs/examples/w-json-view_iconColor_keyColor_keyNumbersColor_numColor.html +1 -1
  323. package/docs/examples/w-json-view_large data (15,500 lines).html +1 -1
  324. package/docs/examples/w-json-view_sync viewHeightMax(change-height-of-items).html +1 -1
  325. package/docs/examples/w-json-view_viewHeightMax.html +1 -1
  326. package/docs/examples/w-leaflet-vue-dyn_contourSet for rain data.html +1 -1
  327. package/docs/examples/w-leaflet-vue-dyn_contourSets.html +1 -1
  328. package/docs/examples/w-leaflet-vue-dyn_pointSets.html +1 -1
  329. package/docs/examples/w-leaflet-vue-dyn_polygonSets.html +1 -1
  330. package/docs/examples/w-list-vertical_auto scroll.html +1 -1
  331. package/docs/examples/w-list-vertical_default.html +1 -1
  332. package/docs/examples/w-list-vertical_itemActive.html +1 -1
  333. package/docs/examples/w-list-vertical_itemActive_itemBackgroundColor_itemBackgroundColorHover_itemBackgroundColorActive.html +1 -1
  334. package/docs/examples/w-list-vertical_itemActive_itemTextColor_itemTextColorHover_itemTextColorActive.html +1 -1
  335. package/docs/examples/w-list-vertical_keyText_keyIcon.html +1 -1
  336. package/docs/examples/w-list-vertical_paddingStyle.html +1 -1
  337. package/docs/examples/w-list-vertical_slot footer.html +1 -1
  338. package/docs/examples/w-list-vertical_slot header.html +1 -1
  339. package/docs/examples/w-list-vertical_slot item.html +1 -1
  340. package/docs/examples/w-list-vertical_string items.html +1 -1
  341. package/docs/examples/w-list-vertical_useActive (no active).html +1 -1
  342. package/docs/examples/w-list-vertical_useActive (no active)_itemRippleColor.html +1 -1
  343. package/docs/examples/w-panel-bulge_contentBackgroundColor.html +1 -1
  344. package/docs/examples/w-panel-bulge_contentBorderRadius.html +1 -1
  345. package/docs/examples/w-panel-bulge_default.html +1 -1
  346. package/docs/examples/w-panel-bulge_headerBorderRadius.html +1 -1
  347. package/docs/examples/w-panel-bulge_headerPadding.html +1 -1
  348. package/docs/examples/w-panel-bulge_headerTextColor_headerBackgroundColor.html +1 -1
  349. package/docs/examples/w-panel-bulge_no headerShadow_no contentShadow, with green outer.html +1 -1
  350. package/docs/examples/w-panel-bulge_slot for header_headerBorderRadius_headerBackgroundColor(linear-gradient).html +1 -1
  351. package/docs/examples/w-panel-bulge_with grey outer.html +1 -1
  352. package/docs/examples/w-panel-chart_cmpName (WEchartsVueDyn).html +1 -1
  353. package/docs/examples/w-panel-chart_cmpName (WHighchartsBitmapDyn).html +1 -1
  354. package/docs/examples/w-panel-chart_cmpName (WHighstockVueDyn).html +1 -1
  355. package/docs/examples/w-panel-chart_default (WHighchartsVueDyn).html +1 -1
  356. package/docs/examples/w-panel-chart_downloadPicture.html +1 -1
  357. package/docs/examples/w-panel-chart_downloadPicture_downloadPictureBtnIcon.html +1 -1
  358. package/docs/examples/w-panel-chart_downloadPicture_downloadPictureBtnIconColor_downloadPictureBtnIconColorHover_downloadPictureBtnIconColorFocus.html +1 -1
  359. package/docs/examples/w-panel-chart_downloadPicture_downloadPictureBtnTooltip.html +1 -1
  360. package/docs/examples/w-panel-chart_downloadPicture_downloadPictureFilenmae.html +1 -1
  361. package/docs/examples/w-panel-chart_scale.html +1 -1
  362. package/docs/examples/w-panel-chart_width_height.html +1 -1
  363. package/docs/examples/w-panel-divide-horizontal_barBorderSize_barBorderColor.html +1 -1
  364. package/docs/examples/w-panel-divide-horizontal_barColor.html +1 -1
  365. package/docs/examples/w-panel-divide-horizontal_barSize.html +1 -1
  366. package/docs/examples/w-panel-divide-horizontal_default.html +1 -1
  367. package/docs/examples/w-panel-divide-horizontal_min_max.html +1 -1
  368. package/docs/examples/w-panel-divide-horizontal_ratio.html +1 -1
  369. package/docs/examples/w-panel-divide-vertical_barBorderSize_barBorderColor.html +1 -1
  370. package/docs/examples/w-panel-divide-vertical_barColor.html +1 -1
  371. package/docs/examples/w-panel-divide-vertical_barSize.html +1 -1
  372. package/docs/examples/w-panel-divide-vertical_default.html +1 -1
  373. package/docs/examples/w-panel-divide-vertical_min_max.html +1 -1
  374. package/docs/examples/w-panel-divide-vertical_ratio.html +1 -1
  375. package/docs/examples/w-panel-scale_for select.html +1 -1
  376. package/docs/examples/w-panel-scale_for v-btn.html +1 -1
  377. package/docs/examples/w-panel-scale_for w-panel-bulge.html +1 -1
  378. package/docs/examples/w-panel-scale_for w-panel-scrolly.html +1 -1
  379. package/docs/examples/w-panel-scale_for w-text-suggest.html +1 -1
  380. package/docs/examples/w-panel-scrolly_barOpacity_barOpacityHover.html +1 -1
  381. package/docs/examples/w-panel-scrolly_default.html +1 -1
  382. package/docs/examples/w-panel-scrolly_events.html +1 -1
  383. package/docs/examples/w-panel-scrolly_scrollTop.html +1 -1
  384. package/docs/examples/w-panel-stripe_borderRadius.html +1 -1
  385. package/docs/examples/w-panel-stripe_buttons in slot footer.html +1 -1
  386. package/docs/examples/w-panel-stripe_headerBackgroundColor_footerBackgroundColor.html +1 -1
  387. package/docs/examples/w-panel-stripe_no footer.html +1 -1
  388. package/docs/examples/w-panel-stripe_no header.html +1 -1
  389. package/docs/examples/w-panel-stripe_no shadow, with crimson outer.html +1 -1
  390. package/docs/examples/w-panel-stripe_only slot icon and slot title in header.html +1 -1
  391. package/docs/examples/w-panel-stripe_only slot title in header.html +1 -1
  392. package/docs/examples/w-panel-stripe_padding.html +1 -1
  393. package/docs/examples/w-panel-stripe_separate for slot content.html +1 -1
  394. package/docs/examples/w-panel-stripe_slot icon (fontawesome).html +1 -1
  395. package/docs/examples/w-panel-stripe_slot icon, slot title, slot description, slot content and slot footer.html +1 -1
  396. package/docs/examples/w-panel-stripe_table in slot content.html +1 -1
  397. package/docs/examples/w-panel-stripe_with grey outer.html +1 -1
  398. package/docs/examples/w-popup-edit-text_default.html +1 -1
  399. package/docs/examples/w-popup-edit-text_in table.html +1 -1
  400. package/docs/examples/w-popup-edit-text_minWidthForPopup.html +1 -1
  401. package/docs/examples/w-popup-edit-text_minWidthForValue.html +1 -1
  402. package/docs/examples/w-popup-edit-text_no title.html +1 -1
  403. package/docs/examples/w-popup-edit-text_title_contentIcon_contentIconColor_contentIconSize.html +1 -1
  404. package/docs/examples/w-popup-edit-text_title_footerBackgroundColor.html +1 -1
  405. package/docs/examples/w-popup-edit-text_title_inputTextColor_contentIconColor_contentBackgroundColor.html +1 -1
  406. package/docs/examples/w-popup-edit-text_title_saveBtnText_saveBtnTextColor_saveBtnTextColorHover.html +1 -1
  407. package/docs/examples/w-popup-edit-text_title_titleColor_titleFontSize_headerBackgroundColor.html +1 -1
  408. package/docs/examples/w-popup_auto flipping in scroll panel.html +1 -1
  409. package/docs/examples/w-popup_backgroundColor.html +1 -1
  410. package/docs/examples/w-popup_borderRadius.html +1 -1
  411. package/docs/examples/w-popup_click item by latency hiding.html +1 -1
  412. package/docs/examples/w-popup_default.html +1 -1
  413. package/docs/examples/w-popup_distY.html +1 -1
  414. package/docs/examples/w-popup_in dialog.html +1 -1
  415. package/docs/examples/w-popup_in popup.html +1 -1
  416. package/docs/examples/w-popup_in scroll panel.html +1 -1
  417. package/docs/examples/w-popup_isolated.html +1 -1
  418. package/docs/examples/w-popup_maxWidth.html +1 -1
  419. package/docs/examples/w-popup_minWidth.html +1 -1
  420. package/docs/examples/w-popup_no shadow_backgroundColor.html +1 -1
  421. package/docs/examples/w-popup_not editable.html +1 -1
  422. package/docs/examples/w-popup_shadowStyle.html +1 -1
  423. package/docs/examples/w-popup_slot for table_maxWidth.html +1 -1
  424. package/docs/examples/w-progress-bar_decimal.html +1 -1
  425. package/docs/examples/w-progress-bar_default.html +1 -1
  426. package/docs/examples/w-progress-bar_enableIconFinish (no iconFinish).html +1 -1
  427. package/docs/examples/w-progress-bar_enableIconWaiting (no iconWaiting).html +1 -1
  428. package/docs/examples/w-progress-bar_height.html +1 -1
  429. package/docs/examples/w-progress-bar_height_borderRadius.html +1 -1
  430. package/docs/examples/w-progress-bar_iconFinish (fontawesome).html +1 -1
  431. package/docs/examples/w-progress-bar_iconFinishColor.html +1 -1
  432. package/docs/examples/w-progress-bar_iconSize.html +1 -1
  433. package/docs/examples/w-progress-bar_iconWaiting (fontawesome).html +1 -1
  434. package/docs/examples/w-progress-bar_iconWaitingColor.html +1 -1
  435. package/docs/examples/w-progress-bar_progColor.html +1 -1
  436. package/docs/examples/w-progress-bar_progColor_progBackgroundColor.html +1 -1
  437. package/docs/examples/w-progress-bar_title.html +1 -1
  438. package/docs/examples/w-progress-bar_title_titleTextColor.html +1 -1
  439. package/docs/examples/w-progress-bar_title_titleTextFontSize.html +1 -1
  440. package/docs/examples/w-progress-bar_value=0 (waiting).html +1 -1
  441. package/docs/examples/w-progress-bar_value=100 (finish).html +1 -1
  442. package/docs/examples/w-progress-bar_valueTextColor.html +1 -1
  443. package/docs/examples/w-progress-bar_valueTextFontSize.html +1 -1
  444. package/docs/examples/w-progress-circle_color.html +1 -1
  445. package/docs/examples/w-progress-circle_default.html +1 -1
  446. package/docs/examples/w-progress-circle_small size.html +1 -1
  447. package/docs/examples/w-progress-circle_tooltip.html +1 -1
  448. package/docs/examples/w-progress-circle_very small size.html +1 -1
  449. package/docs/examples/w-progress-circle_width.html +1 -1
  450. package/docs/examples/w-progress-circle_/344/270/255/346/226/207text.html +1 -1
  451. package/docs/examples/w-quill-vue-dyn_default.html +1 -1
  452. package/docs/examples/w-quill-vue-dyn_height.html +1 -1
  453. package/docs/examples/w-quill-vue-dyn_not editable.html +1 -1
  454. package/docs/examples/w-quill-vue-dyn_settings.html +1 -1
  455. package/docs/examples/w-switch_checkedSwitchCircleColor_checkedSwitchCircleColorHover_checkedSwitchBarColor_checkedSwitchBarColorHover.html +181 -0
  456. package/docs/examples/w-switch_default.html +1 -1
  457. package/docs/examples/w-switch_not editable.html +1 -1
  458. package/docs/examples/w-switch_not editable_checkedSwitchCircleColorDisabled_checkedSwitchBarColorDisabled_uncheckedSwitchCircleColorDisabled.html +182 -0
  459. package/docs/examples/{w-switch_text_color.html → w-switch_switchSize_textFontSize.html} +5 -4
  460. package/docs/examples/w-switch_text.html +173 -0
  461. package/docs/examples/w-switch_text_textColor_textColorHover.html +178 -0
  462. package/docs/examples/w-switch_uncheckedSwitchCircleColor_uncheckedSwitchCircleColorHover_uncheckedSwitchBarColor_uncheckedSwitchBarColorHover.html +181 -0
  463. package/docs/examples/w-switch_use string (y or n).html +1 -1
  464. package/docs/examples/w-table-dyn_default.html +1 -1
  465. package/docs/examples/w-table-dyn_editable.html +1 -1
  466. package/docs/examples/w-table-dyn_editable_checkId.html +1 -1
  467. package/docs/examples/w-table-dyn_editable_checkId_opt.modifyDataWhenSave_save(call cmp. method).html +1 -1
  468. package/docs/examples/w-table-dyn_editable_checkId_successMsgFromAddRow_errorMsgFromAddRow.html +1 -1
  469. package/docs/examples/w-table-dyn_editable_checkId_tooltipAddRow_tooltipDeleteSelectedRows.html +1 -1
  470. package/docs/examples/w-table-dyn_editable_inforPaddingStyle_menuBackgroundColor.html +1 -1
  471. package/docs/examples/w-table-dyn_editable_opt.beforeAddRow.html +1 -1
  472. package/docs/examples/w-table-dyn_editable_opt.kpConvertKeysWhenUploadData.html +1 -1
  473. package/docs/examples/w-table-dyn_editable_opt.optForUploadData.html +1 -1
  474. package/docs/examples/w-table-dyn_editable_slot btns.html +1 -1
  475. package/docs/examples/w-table-dyn_editable_textLabelDataName_textPlaceholderDataName_textLabelDataDescription.html +1 -1
  476. package/docs/examples/w-table-dyn_fixIds (fix id).html +1 -1
  477. package/docs/examples/w-table-dyn_hideIds (hide mappingId).html +1 -1
  478. package/docs/examples/w-table-dyn_name_description.html +1 -1
  479. package/docs/examples/w-table-dyn_opt.kpHead.html +1 -1
  480. package/docs/examples/w-table-dyn_removeIdsWhenDownload (remove id, mappingId, order, isActive).html +1 -1
  481. package/docs/examples/w-table-dyn_slot btns.html +1 -1
  482. package/docs/examples/w-table-dyn_slot infor (name_description).html +1 -1
  483. package/docs/examples/w-table-dyn_sortColIds (sort by order).html +1 -1
  484. package/docs/examples/w-text-int_borderRadius.html +1 -1
  485. package/docs/examples/w-text-int_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
  486. package/docs/examples/w-text-int_border_borderRadius.html +1 -1
  487. package/docs/examples/w-text-int_border_buttonColor_buttonColorHover_buttonColorFocus.html +1 -1
  488. package/docs/examples/w-text-int_border_default.html +1 -1
  489. package/docs/examples/w-text-int_border_not editable.html +1 -1
  490. package/docs/examples/w-text-int_border_width.html +1 -1
  491. package/docs/examples/w-text-int_buttonColor_buttonColorHover_buttonColorFocus.html +1 -1
  492. package/docs/examples/w-text-int_buttonIconSize.html +1 -1
  493. package/docs/examples/w-text-int_default.html +1 -1
  494. package/docs/examples/w-text-int_not editable.html +1 -1
  495. package/docs/examples/w-text-int_textColor.html +1 -1
  496. package/docs/examples/w-text-int_textFontSize.html +1 -1
  497. package/docs/examples/w-text-int_width.html +1 -1
  498. package/docs/examples/w-text-select_a lot of items.html +1 -1
  499. package/docs/examples/w-text-select_borderRadius.html +1 -1
  500. package/docs/examples/w-text-select_border_a lot of items.html +1 -1
  501. package/docs/examples/w-text-select_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
  502. package/docs/examples/w-text-select_border_borderRadius.html +1 -1
  503. package/docs/examples/w-text-select_border_default.html +1 -1
  504. package/docs/examples/w-text-select_border_events.html +1 -1
  505. package/docs/examples/w-text-select_border_expansionIconSize.html +1 -1
  506. package/docs/examples/w-text-select_border_fullwidth.html +1 -1
  507. package/docs/examples/w-text-select_border_itemPaddingStyle.html +1 -1
  508. package/docs/examples/w-text-select_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +1 -1
  509. package/docs/examples/w-text-select_border_itemTextFontSize_defItemHeight_width.html +1 -1
  510. package/docs/examples/w-text-select_border_items(string array).html +1 -1
  511. package/docs/examples/w-text-select_border_keyText.html +1 -1
  512. package/docs/examples/w-text-select_border_leftIcon (fontawesome).html +1 -1
  513. package/docs/examples/w-text-select_border_leftIcon (material).html +1 -1
  514. package/docs/examples/w-text-select_border_leftIcon_leftIconColor_leftIconColorHover.html +1 -1
  515. package/docs/examples/w-text-select_border_leftIcon_leftIconSize.html +1 -1
  516. package/docs/examples/w-text-select_border_not editable.html +1 -1
  517. package/docs/examples/w-text-select_border_paddingStyle (equal height to using icon).html +1 -1
  518. package/docs/examples/w-text-select_border_paddingStyle (thin style).html +1 -1
  519. package/docs/examples/w-text-select_border_rightIcon_rightIconColor_rightIconColorHover.html +1 -1
  520. package/docs/examples/w-text-select_border_rightIcon_rightIconSize.html +1 -1
  521. package/docs/examples/w-text-select_border_showExpansionIcon.html +1 -1
  522. package/docs/examples/w-text-select_border_slot item.html +1 -1
  523. package/docs/examples/w-text-select_border_slot select.html +1 -1
  524. package/docs/examples/w-text-select_border_textColor_expansionIconColor.html +1 -1
  525. package/docs/examples/w-text-select_border_textFontSize.html +1 -1
  526. package/docs/examples/w-text-select_border_with popup.html +1 -1
  527. package/docs/examples/w-text-select_default.html +1 -1
  528. package/docs/examples/w-text-select_events.html +1 -1
  529. package/docs/examples/w-text-select_expansionIconSize.html +1 -1
  530. package/docs/examples/w-text-select_fullwidth.html +1 -1
  531. package/docs/examples/w-text-select_itemPaddingStyle.html +1 -1
  532. package/docs/examples/w-text-select_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +1 -1
  533. package/docs/examples/w-text-select_itemTextFontSize_defItemHeight_width.html +1 -1
  534. package/docs/examples/w-text-select_items(string array).html +1 -1
  535. package/docs/examples/w-text-select_keyText.html +1 -1
  536. package/docs/examples/w-text-select_leftIcon (fontawesome).html +1 -1
  537. package/docs/examples/w-text-select_leftIcon (material).html +1 -1
  538. package/docs/examples/w-text-select_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +1 -1
  539. package/docs/examples/w-text-select_leftIcon_leftIconSize.html +1 -1
  540. package/docs/examples/w-text-select_not editable.html +1 -1
  541. package/docs/examples/w-text-select_paddingStyle (equal height to using icon).html +1 -1
  542. package/docs/examples/w-text-select_paddingStyle (thin style).html +1 -1
  543. package/docs/examples/w-text-select_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +1 -1
  544. package/docs/examples/w-text-select_rightIcon_rightIconSize.html +1 -1
  545. package/docs/examples/w-text-select_showExpansionIcon.html +1 -1
  546. package/docs/examples/w-text-select_slot item.html +1 -1
  547. package/docs/examples/w-text-select_slot select.html +1 -1
  548. package/docs/examples/w-text-select_textColor_expansionIconColor.html +1 -1
  549. package/docs/examples/w-text-select_textFontSize.html +1 -1
  550. package/docs/examples/w-text-select_with popup.html +1 -1
  551. package/docs/examples/w-text-suggest_a lot of items.html +1 -1
  552. package/docs/examples/w-text-suggest_borderRadius.html +1 -1
  553. package/docs/examples/w-text-suggest_border_a lot of items.html +1 -1
  554. package/docs/examples/w-text-suggest_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
  555. package/docs/examples/w-text-suggest_border_borderRadius.html +1 -1
  556. package/docs/examples/w-text-suggest_border_default.html +1 -1
  557. package/docs/examples/w-text-suggest_border_events.html +1 -1
  558. package/docs/examples/w-text-suggest_border_expansionIconSize.html +1 -1
  559. package/docs/examples/w-text-suggest_border_fullwidth.html +1 -1
  560. package/docs/examples/w-text-suggest_border_itemPaddingStyle.html +1 -1
  561. package/docs/examples/w-text-suggest_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +1 -1
  562. package/docs/examples/w-text-suggest_border_itemTextFontSize_defItemHeight.html +1 -1
  563. package/docs/examples/w-text-suggest_border_items(string array).html +1 -1
  564. package/docs/examples/w-text-suggest_border_keyText.html +1 -1
  565. package/docs/examples/w-text-suggest_border_leftIcon (fontawesome).html +1 -1
  566. package/docs/examples/w-text-suggest_border_leftIcon (material).html +1 -1
  567. package/docs/examples/w-text-suggest_border_leftIcon_leftIconColor_leftIconColorHover.html +1 -1
  568. package/docs/examples/w-text-suggest_border_leftIcon_leftIconSize.html +1 -1
  569. package/docs/examples/w-text-suggest_border_noResultsText.html +1 -1
  570. package/docs/examples/w-text-suggest_border_not editable.html +1 -1
  571. package/docs/examples/w-text-suggest_border_paddingStyle (equal height to using icon).html +1 -1
  572. package/docs/examples/w-text-suggest_border_paddingStyle (thin style).html +1 -1
  573. package/docs/examples/w-text-suggest_border_placeholder.html +1 -1
  574. package/docs/examples/w-text-suggest_border_rightIcon_rightIconColor_rightIconColorHover.html +1 -1
  575. package/docs/examples/w-text-suggest_border_rightIcon_rightIconSize.html +1 -1
  576. package/docs/examples/w-text-suggest_border_showExpansionIcon.html +1 -1
  577. package/docs/examples/w-text-suggest_border_showPanel(press enter to hide panel)_focused.html +1 -1
  578. package/docs/examples/w-text-suggest_border_slot item.html +1 -1
  579. package/docs/examples/w-text-suggest_border_textColor_expansionIconColor.html +1 -1
  580. package/docs/examples/w-text-suggest_border_textFontSize.html +1 -1
  581. package/docs/examples/w-text-suggest_border_with popup.html +1 -1
  582. package/docs/examples/w-text-suggest_default.html +1 -1
  583. package/docs/examples/w-text-suggest_events.html +1 -1
  584. package/docs/examples/w-text-suggest_expansionIconSize.html +1 -1
  585. package/docs/examples/w-text-suggest_fullwidth.html +1 -1
  586. package/docs/examples/w-text-suggest_itemPaddingStyle.html +1 -1
  587. package/docs/examples/w-text-suggest_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +1 -1
  588. package/docs/examples/w-text-suggest_itemTextFontSize_defItemHeight.html +1 -1
  589. package/docs/examples/w-text-suggest_items(string array).html +1 -1
  590. package/docs/examples/w-text-suggest_keyText.html +1 -1
  591. package/docs/examples/w-text-suggest_leftIcon (fontawesome).html +1 -1
  592. package/docs/examples/w-text-suggest_leftIcon (material).html +1 -1
  593. package/docs/examples/w-text-suggest_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +1 -1
  594. package/docs/examples/w-text-suggest_leftIcon_leftIconSize.html +1 -1
  595. package/docs/examples/w-text-suggest_noResultsText.html +1 -1
  596. package/docs/examples/w-text-suggest_not editable.html +1 -1
  597. package/docs/examples/w-text-suggest_paddingStyle (equal height to using icon).html +1 -1
  598. package/docs/examples/w-text-suggest_paddingStyle (thin style).html +1 -1
  599. package/docs/examples/w-text-suggest_placeholder.html +1 -1
  600. package/docs/examples/w-text-suggest_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +1 -1
  601. package/docs/examples/w-text-suggest_rightIcon_rightIconSize.html +1 -1
  602. package/docs/examples/w-text-suggest_showExpansionIcon.html +1 -1
  603. package/docs/examples/w-text-suggest_showPanel(press enter to hide panel)_focused.html +1 -1
  604. package/docs/examples/w-text-suggest_slot item.html +1 -1
  605. package/docs/examples/w-text-suggest_textColor_expansionIconColor.html +1 -1
  606. package/docs/examples/w-text-suggest_textFontSize.html +1 -1
  607. package/docs/examples/w-text_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
  608. package/docs/examples/w-text_border_borderRadius_paddingStyle.html +1 -1
  609. package/docs/examples/w-text_border_default.html +1 -1
  610. package/docs/examples/w-text_border_events.html +1 -1
  611. package/docs/examples/w-text_border_fullwidth.html +1 -1
  612. package/docs/examples/w-text_border_leftIcon (fontawesome).html +1 -1
  613. package/docs/examples/w-text_border_leftIcon (material).html +1 -1
  614. package/docs/examples/w-text_border_leftIcon_leftIconColor_leftIconColorHover.html +1 -1
  615. package/docs/examples/w-text_border_not editable.html +1 -1
  616. package/docs/examples/w-text_border_placeholder.html +1 -1
  617. package/docs/examples/w-text_border_rightIcon_rightIconColorHover_rightIconColorFocus.html +1 -1
  618. package/docs/examples/w-text_border_textAlign.html +1 -1
  619. package/docs/examples/w-text_border_textColor.html +1 -1
  620. package/docs/examples/w-text_bottomLineBorderColor_bottomLineBorderColorHover_bottomLineBorderColorFocus.html +1 -1
  621. package/docs/examples/w-text_default.html +1 -1
  622. package/docs/examples/w-text_events.html +1 -1
  623. package/docs/examples/w-text_fullwidth.html +1 -1
  624. package/docs/examples/w-text_leftIcon (fontawesome).html +1 -1
  625. package/docs/examples/w-text_leftIcon (material).html +1 -1
  626. package/docs/examples/w-text_leftIcon_leftIconColor_leftIconColorFocus.html +1 -1
  627. package/docs/examples/w-text_leftIcon_leftIconSize.html +1 -1
  628. package/docs/examples/w-text_leftIcon_leftIconTooltip.html +1 -1
  629. package/docs/examples/w-text_not editable.html +1 -1
  630. package/docs/examples/w-text_placeholder.html +1 -1
  631. package/docs/examples/w-text_rightIcon.html +1 -1
  632. package/docs/examples/w-text_rightIcon_rightIconColor_rightIconColorFocus.html +1 -1
  633. package/docs/examples/w-text_rightIcon_rightIconSize.html +1 -1
  634. package/docs/examples/w-text_rightIcon_rightIconTooltip.html +1 -1
  635. package/docs/examples/w-text_textAlign.html +1 -1
  636. package/docs/examples/w-text_textColor.html +1 -1
  637. package/docs/examples/w-text_textFontSize.html +1 -1
  638. package/docs/examples/w-textarea_borderColorFocus.html +1 -1
  639. package/docs/examples/w-textarea_default.html +1 -1
  640. package/docs/examples/w-textarea_fullwidth.html +1 -1
  641. package/docs/examples/w-textarea_not editable.html +1 -1
  642. package/docs/examples/w-textarea_placeholder.html +1 -1
  643. package/docs/examples/w-timeday-range_between.html +1 -1
  644. package/docs/examples/w-timeday-range_borderRadius.html +1 -1
  645. package/docs/examples/w-timeday-range_border_between.html +1 -1
  646. package/docs/examples/w-timeday-range_border_borderRadius.html +1 -1
  647. package/docs/examples/w-timeday-range_border_default.html +1 -1
  648. package/docs/examples/w-timeday-range_border_icon (fontawesome).html +1 -1
  649. package/docs/examples/w-timeday-range_border_icon (material).html +1 -1
  650. package/docs/examples/w-timeday-range_border_iconColor_iconColorFoucs_borderColor.html +1 -1
  651. package/docs/examples/w-timeday-range_border_iconTooltip.html +1 -1
  652. package/docs/examples/w-timeday-range_border_not editable.html +1 -1
  653. package/docs/examples/w-timeday-range_border_pickColor.html +1 -1
  654. package/docs/examples/w-timeday-range_border_textColor.html +1 -1
  655. package/docs/examples/w-timeday-range_default.html +1 -1
  656. package/docs/examples/w-timeday-range_icon (fontawesome).html +1 -1
  657. package/docs/examples/w-timeday-range_icon (material).html +1 -1
  658. package/docs/examples/w-timeday-range_iconColor_iconColorFoucs.html +1 -1
  659. package/docs/examples/w-timeday-range_iconTooltip.html +1 -1
  660. package/docs/examples/w-timeday-range_icon_iconSize.html +1 -1
  661. package/docs/examples/w-timeday-range_not editable.html +1 -1
  662. package/docs/examples/w-timeday-range_pickColor.html +1 -1
  663. package/docs/examples/w-timeday-range_textColor.html +1 -1
  664. package/docs/examples/w-timeday_borderRadius.html +1 -1
  665. package/docs/examples/w-timeday_border_borderRadius.html +1 -1
  666. package/docs/examples/w-timeday_border_default.html +1 -1
  667. package/docs/examples/w-timeday_border_icon (fontawesome).html +1 -1
  668. package/docs/examples/w-timeday_border_icon (material).html +1 -1
  669. package/docs/examples/w-timeday_border_iconColor_iconColorFoucs_borderColor.html +1 -1
  670. package/docs/examples/w-timeday_border_iconTooltip.html +1 -1
  671. package/docs/examples/w-timeday_border_not editable.html +1 -1
  672. package/docs/examples/w-timeday_border_pickColor.html +1 -1
  673. package/docs/examples/w-timeday_border_textColor.html +1 -1
  674. package/docs/examples/w-timeday_default.html +1 -1
  675. package/docs/examples/w-timeday_icon (fontawesome).html +1 -1
  676. package/docs/examples/w-timeday_icon (material).html +1 -1
  677. package/docs/examples/w-timeday_iconColor_iconColorFoucs.html +1 -1
  678. package/docs/examples/w-timeday_iconTooltip.html +1 -1
  679. package/docs/examples/w-timeday_icon_iconSize.html +1 -1
  680. package/docs/examples/w-timeday_not editable.html +1 -1
  681. package/docs/examples/w-timeday_pickColor.html +1 -1
  682. package/docs/examples/w-timeday_textColor.html +1 -1
  683. package/docs/examples/w-timeminute-range_between.html +1 -1
  684. package/docs/examples/w-timeminute-range_borderRadius.html +1 -1
  685. package/docs/examples/w-timeminute-range_border_between.html +1 -1
  686. package/docs/examples/w-timeminute-range_border_borderRadius.html +1 -1
  687. package/docs/examples/w-timeminute-range_border_default.html +1 -1
  688. package/docs/examples/w-timeminute-range_border_hourMin_hourMax.html +1 -1
  689. package/docs/examples/w-timeminute-range_border_icon (fontawesome).html +1 -1
  690. package/docs/examples/w-timeminute-range_border_icon (material).html +1 -1
  691. package/docs/examples/w-timeminute-range_border_iconColor_iconColorFoucs_borderColor.html +1 -1
  692. package/docs/examples/w-timeminute-range_border_iconTooltip.html +1 -1
  693. package/docs/examples/w-timeminute-range_border_minuteInter.html +1 -1
  694. package/docs/examples/w-timeminute-range_border_minutesCustom.html +1 -1
  695. package/docs/examples/w-timeminute-range_border_not editable.html +1 -1
  696. package/docs/examples/w-timeminute-range_border_pickColor.html +1 -1
  697. package/docs/examples/w-timeminute-range_border_textColor_expansionIconColor.html +1 -1
  698. package/docs/examples/w-timeminute-range_default.html +1 -1
  699. package/docs/examples/w-timeminute-range_hourMin_hourMax.html +1 -1
  700. package/docs/examples/w-timeminute-range_icon (fontawesome).html +1 -1
  701. package/docs/examples/w-timeminute-range_icon (material).html +1 -1
  702. package/docs/examples/w-timeminute-range_iconColor_iconColorFoucs.html +1 -1
  703. package/docs/examples/w-timeminute-range_iconTooltip.html +1 -1
  704. package/docs/examples/w-timeminute-range_icon_iconSize.html +1 -1
  705. package/docs/examples/w-timeminute-range_minuteInter.html +1 -1
  706. package/docs/examples/w-timeminute-range_minutesCustom.html +1 -1
  707. package/docs/examples/w-timeminute-range_not editable.html +1 -1
  708. package/docs/examples/w-timeminute-range_pickColor.html +1 -1
  709. package/docs/examples/w-timeminute-range_textColor_expansionIconColor.html +1 -1
  710. package/docs/examples/w-timeminute_borderRadius.html +1 -1
  711. package/docs/examples/w-timeminute_border_borderRadius.html +1 -1
  712. package/docs/examples/w-timeminute_border_default.html +1 -1
  713. package/docs/examples/w-timeminute_border_hourMin_hourMax.html +1 -1
  714. package/docs/examples/w-timeminute_border_icon (fontawesome).html +1 -1
  715. package/docs/examples/w-timeminute_border_icon (material).html +1 -1
  716. package/docs/examples/w-timeminute_border_iconColor_iconColorFoucs_borderColor.html +1 -1
  717. package/docs/examples/w-timeminute_border_iconTooltip.html +1 -1
  718. package/docs/examples/w-timeminute_border_minuteInter.html +1 -1
  719. package/docs/examples/w-timeminute_border_minutesCustom.html +1 -1
  720. package/docs/examples/w-timeminute_border_not editable.html +1 -1
  721. package/docs/examples/w-timeminute_border_pickColor.html +1 -1
  722. package/docs/examples/w-timeminute_border_textColor_expansionIconColor.html +1 -1
  723. package/docs/examples/w-timeminute_default.html +1 -1
  724. package/docs/examples/w-timeminute_hourMin_hourMax.html +1 -1
  725. package/docs/examples/w-timeminute_icon (fontawesome).html +1 -1
  726. package/docs/examples/w-timeminute_icon (material).html +1 -1
  727. package/docs/examples/w-timeminute_iconColor_iconColorFoucs.html +1 -1
  728. package/docs/examples/w-timeminute_iconTooltip.html +1 -1
  729. package/docs/examples/w-timeminute_icon_iconSize.html +1 -1
  730. package/docs/examples/w-timeminute_minuteInter.html +1 -1
  731. package/docs/examples/w-timeminute_minutesCustom.html +1 -1
  732. package/docs/examples/w-timeminute_not editable.html +1 -1
  733. package/docs/examples/w-timeminute_pickColor.html +1 -1
  734. package/docs/examples/w-timeminute_textColor_expansionIconColor.html +1 -1
  735. package/docs/examples/w-tinymce-vue-dyn_default.html +1 -1
  736. package/docs/examples/w-tinymce-vue-dyn_height.html +1 -1
  737. package/docs/examples/w-tinymce-vue-dyn_not editable.html +1 -1
  738. package/docs/examples/w-tinymce-vue-dyn_settings.html +1 -1
  739. package/docs/examples/w-tree_default.html +1 -1
  740. package/docs/examples/w-tree_defaultDisplayLevel.html +1 -1
  741. package/docs/examples/w-tree_draggable.html +1 -1
  742. package/docs/examples/w-tree_draggable_dgInsertLineColor_dgInsertBackgroundColor_dgBelongBackgroundColor.html +1 -1
  743. package/docs/examples/w-tree_draggable_dgPreviewOpacity_dgPreviewBorderWidth_dgBelongBackgroundColor.html +1 -1
  744. package/docs/examples/w-tree_draggable_dgTextDisabled_dgTextDisabledColor_dgTextDisabledPaddingLeft.html +1 -1
  745. package/docs/examples/w-tree_filterKeywords_noResultsText.html +1 -1
  746. package/docs/examples/w-tree_filterKeywords_noResultsText_selectable.html +1 -1
  747. package/docs/examples/w-tree_iconHeight.html +1 -1
  748. package/docs/examples/w-tree_iconHeight_defItemHeight.html +1 -1
  749. package/docs/examples/w-tree_iconToggleColor_iconToggleBackgroundColor_iconToggleBackgroundColorHover.html +1 -1
  750. package/docs/examples/w-tree_indent.html +1 -1
  751. package/docs/examples/w-tree_keyPrimary_keyText_keyChildren.html +1 -1
  752. package/docs/examples/w-tree_mouseenter_mouseleave_click_change-view-items.html +1 -1
  753. package/docs/examples/w-tree_operatable.html +1 -1
  754. package/docs/examples/w-tree_operatable_operateBtnBackgroundColor_operateBtnBackgroundColorHover_operateBtnBackgroundColorFocus.html +1 -1
  755. package/docs/examples/w-tree_operatable_operateBtnTooltip_operateItemTextForInsertBefore_perateItemTextForInsertChild.html +1 -1
  756. package/docs/examples/w-tree_operatable_operateItemBackgroundColor_operateItemBackgroundColorHover_operateItemTextColor.html +1 -1
  757. package/docs/examples/w-tree_operatable_operateItemIconSize_operateItemPaddingStyle_operatePanelWidth.html +1 -1
  758. package/docs/examples/w-tree_paddingStyle.html +1 -1
  759. package/docs/examples/w-tree_selectable.html +1 -1
  760. package/docs/examples/w-tree_selectable_draggable.html +1 -1
  761. package/docs/examples/w-tree_slot.html +1 -1
  762. package/docs/examples/w-tree_slot_iconUncheckedColor_iconUncheckedDisabledColor_iconCheckedColor.html +1 -1
  763. package/docs/examples/w-tree_slot_locked_selectable.html +1 -1
  764. package/docs/examples/w-tree_slot_operatable.html +1 -1
  765. package/docs/examples/w-tree_slot_selectable.html +1 -1
  766. package/docs/examples/w-tree_slot_selectable_draggable.html +1 -1
  767. package/docs/examples/w-tree_slot_selectable_large data (100,000 items).html +1 -1
  768. package/docs/examples/w-tree_sync viewHeightMax(change-height-of-items).html +1 -1
  769. package/docs/examples/w-tree_viewHeightMax.html +1 -1
  770. package/docs/global.html +1 -1
  771. package/docs/highchartsSetting.mjs.html +1 -1
  772. package/docs/index.html +1 -1
  773. package/docs/module-WAggridVueDyn.html +1 -1
  774. package/docs/module-WBadge.html +1 -1
  775. package/docs/module-WButtonChip.html +1 -1
  776. package/docs/module-WButtonCircle.html +1 -1
  777. package/docs/module-WCheckbox.html +37 -1
  778. package/docs/module-WCkeditorVueDyn.html +1 -1
  779. package/docs/module-WConfirm.html +1 -1
  780. package/docs/module-WDialog.html +1 -1
  781. package/docs/module-WDrawer.html +1 -1
  782. package/docs/module-WDropfiles.html +1 -1
  783. package/docs/module-WDynamicList.html +1 -1
  784. package/docs/module-WEchartsVueDyn.html +1 -1
  785. package/docs/module-WGroupCheck.html +1 -1
  786. package/docs/module-WGroupDragdrop.html +1 -1
  787. package/docs/module-WGroupRadio.html +1 -1
  788. package/docs/module-WGroupTags.html +1 -1
  789. package/docs/module-WHighchartsBitmapDyn.html +1 -1
  790. package/docs/module-WHighchartsVueDyn.html +1 -1
  791. package/docs/module-WHighstockVueDyn.html +1 -1
  792. package/docs/module-WIcon.html +1 -1
  793. package/docs/module-WIconLoading.html +1 -1
  794. package/docs/module-WIconSvg.html +1 -1
  795. package/docs/module-WImageCascadingDyn.html +1 -1
  796. package/docs/module-WImageViewerDyn.html +1 -1
  797. package/docs/module-WJsonView.html +1 -1
  798. package/docs/module-WLeafletVueDyn.html +1 -1
  799. package/docs/module-WListVertical.html +1 -1
  800. package/docs/module-WListVerticalItem.html +1 -1
  801. package/docs/module-WPanelBulge.html +1 -1
  802. package/docs/module-WPanelChart.html +1 -1
  803. package/docs/module-WPanelDivideHorizontal.html +1 -1
  804. package/docs/module-WPanelDivideVertical.html +1 -1
  805. package/docs/module-WPanelScrolly.html +1 -1
  806. package/docs/module-WPanelScrollyCore.html +1 -1
  807. package/docs/module-WPanelStripe.html +1 -1
  808. package/docs/module-WPopup.html +1 -1
  809. package/docs/module-WPopupEditText.html +1 -1
  810. package/docs/module-WProgressBar.html +1 -1
  811. package/docs/module-WProgressCircle.html +1 -1
  812. package/docs/module-WQuillVueDyn.html +1 -1
  813. package/docs/module-WShellBottomLine.html +1 -1
  814. package/docs/module-WShellEllipse.html +1 -1
  815. package/docs/module-WShellMaterial.html +1 -1
  816. package/docs/module-WSwitch.html +92 -8
  817. package/docs/module-WTableDyn.html +1 -1
  818. package/docs/module-WText.html +1 -1
  819. package/docs/module-WTextCore.html +1 -1
  820. package/docs/module-WTextInt.html +1 -1
  821. package/docs/module-WTextIntCore.html +1 -1
  822. package/docs/module-WTextSelect.html +1 -1
  823. package/docs/module-WTextSuggest.html +1 -1
  824. package/docs/module-WTextSuggestCore.html +1 -1
  825. package/docs/module-WTextarea.html +1 -1
  826. package/docs/module-WTimeday.html +1 -1
  827. package/docs/module-WTimedayCore.html +1 -1
  828. package/docs/module-WTimedayRange.html +1 -1
  829. package/docs/module-WTimedayRangeCore.html +1 -1
  830. package/docs/module-WTimeminute.html +1 -1
  831. package/docs/module-WTimeminuteCore.html +1 -1
  832. package/docs/module-WTimeminuteRange.html +1 -1
  833. package/docs/module-WTimeminuteRangeCore.html +1 -1
  834. package/docs/module-WTinymceVueDyn.html +1 -1
  835. package/docs/module-WTree.html +1 -1
  836. package/docs/module-WTreeIconCheckbox.html +1 -1
  837. package/docs/module-WTreeIconToggle.html +1 -1
  838. package/docs/vuetifyColor.mjs.html +1 -1
  839. package/package.json +1 -1
  840. package/src/AppZoneWCheckbox.vue +39 -7
  841. package/src/AppZoneWSwitch.vue +91 -6
  842. package/src/components/WCheckbox.vue +134 -12
  843. package/src/components/WSwitch.vue +281 -22
@@ -1,38 +1,59 @@
1
1
  <template>
2
2
  <div
3
3
  :style="`display:inline-block; ${editable?'cursor:pointer;':''}`"
4
+ tabindex="0"
4
5
  :changeParam="changeParam"
5
6
  @click="toogleValue"
7
+ @mouseenter="hoverTrans=true;$emit('mouseenter',$event)"
8
+ @mouseleave="hoverTrans=false;$emit('mouseleave',$event)"
6
9
  >
7
- <WIcon
8
- :icon="checkedIcon"
9
- :color="editable?checkedIconColor:checkedIconColorDisabled"
10
- :size="iconSize"
11
- v-if="b"
12
- ></WIcon>
13
- <WIcon
14
- :icon="uncheckedIcon"
15
- :color="editable?uncheckedIconColor:uncheckedIconColorDisabled"
16
- :size="iconSize"
17
- v-else
18
- ></WIcon>
10
+
11
+ <div style="display:flex; align-items:center;">
12
+
13
+ <WIcon
14
+ :icon="checkedIcon"
15
+ :color="useCheckedIconColor"
16
+ :size="iconSize"
17
+ v-if="b"
18
+ ></WIcon>
19
+ <WIcon
20
+ :icon="uncheckedIcon"
21
+ :color="useUncheckedIconColor"
22
+ :size="iconSize"
23
+ v-else
24
+ ></WIcon>
25
+
26
+ <div :style="`transition:all 0.3s; text-transform:none; padding-left:5px; color:${useTextColor}; ${useTextFontSize}`" v-if="text!==''">
27
+ {{text}}
28
+ </div>
29
+
30
+ </div>
31
+
19
32
  </div>
20
33
  </template>
21
34
 
22
35
  <script>
23
36
  import { mdiCheckboxMarked, mdiCheckboxBlankOutline } from '@mdi/js/mdi.js'
24
37
  import isbol from 'wsemi/src/isbol.mjs'
38
+ import replace from 'wsemi/src/replace.mjs'
39
+ import color2hex from '../js/vuetifyColor.mjs'
25
40
  import WIcon from './WIcon.vue'
26
41
 
27
42
 
28
43
  /**
29
44
  * @vue-prop {Boolean|String} [value=false] 輸入是否狀態的布林值或字串,可接受true或false,或是'y'或'n',預設false
45
+ * @vue-prop {String} [text=''] 輸入文字字串,預設''
46
+ * @vue-prop {String} [textColor='black'] 輸入文字顏色字串,預設'black'
47
+ * @vue-prop {String} [textColorHover='grey darken-3'] 輸入滑鼠移入時文字顏色字串,預設'grey darken-3'
48
+ * @vue-prop {String} [textFontSize='0.85rem'] 輸入文字字型大小字串,預設'0.85rem'
30
49
  * @vue-prop {Number} [iconSize=24] 輸入圖標大小,單位為px,預設24
31
50
  * @vue-prop {String} [checkedIcon=mdiCheckboxMarked] 輸入有效(true|'y')圖標字串,可為mdi,md,fa代號或mdi/js路徑,預設mdiCheckboxMarked
32
51
  * @vue-prop {String} [checkedIconColor='blue darken-3'] 輸入可編輯時,有效(true|'y')圖標顏色字串,預設'blue darken-3'
52
+ * @vue-prop {String} [checkedIconColorHover='blue darken-2'] 輸入滑鼠移入時可編輯時,有效(true|'y')圖標顏色字串,預設'blue darken-2'
33
53
  * @@vue-prop {String} [checkedIconColorDisabled='grey'] 輸入不可編輯時,有效(true|'y')圖標顏色字串,預設'grey'
34
54
  * @vue-prop {String} [uncheckedIcon=mdiCheckboxBlankOutline] 輸入無效(false|'n')圖標字串,可為mdi,md,fa代號或mdi/js路徑,預設mdiCheckboxBlankOutline
35
55
  * @vue-prop {String} [uncheckedIconColor='blue darken-3'] 輸入可編輯時,無效(false|'n')圖標顏色字串,預設'blue darken-3'
56
+ * @vue-prop {String} [uncheckedIconColorHover='blue darken-2'] 輸入滑鼠移入時可編輯時,無效(false|'n')圖標顏色字串,預設'blue darken-2'
36
57
  * @@vue-prop {String} [uncheckedIconColorDisabled='grey'] 輸入不可編輯時,無效(false|'n')圖標顏色字串,預設'grey'
37
58
  * @vue-prop {Boolean} [editable=true] 輸入是否為編輯模式,預設true
38
59
  */
@@ -45,6 +66,22 @@ export default {
45
66
  type: [Boolean, String],
46
67
  default: false,
47
68
  },
69
+ text: {
70
+ type: String,
71
+ default: '',
72
+ },
73
+ textColor: {
74
+ type: String,
75
+ default: 'black',
76
+ },
77
+ textColorHover: {
78
+ type: String,
79
+ default: 'grey darken-3',
80
+ },
81
+ textFontSize: {
82
+ type: String,
83
+ default: '0.85rem',
84
+ },
48
85
  iconSize: {
49
86
  type: Number,
50
87
  default: 24,
@@ -57,6 +94,10 @@ export default {
57
94
  type: String,
58
95
  default: 'blue darken-3',
59
96
  },
97
+ checkedIconColorHover: {
98
+ type: String,
99
+ default: 'blue darken-2',
100
+ },
60
101
  checkedIconColorDisabled: {
61
102
  type: String,
62
103
  default: 'grey',
@@ -69,6 +110,10 @@ export default {
69
110
  type: String,
70
111
  default: 'blue darken-3',
71
112
  },
113
+ uncheckedIconColorHover: {
114
+ type: String,
115
+ default: 'blue darken-2',
116
+ },
72
117
  uncheckedIconColorDisabled: {
73
118
  type: String,
74
119
  default: 'grey',
@@ -80,7 +125,11 @@ export default {
80
125
  },
81
126
  data: function() {
82
127
  return {
128
+
129
+ hoverTrans: false,
130
+
83
131
  b: false,
132
+
84
133
  }
85
134
  },
86
135
  computed: {
@@ -104,6 +153,79 @@ export default {
104
153
  return ''
105
154
  },
106
155
 
156
+ effTextColor: function() {
157
+ let vo = this
158
+ return color2hex(vo.textColor)
159
+ },
160
+
161
+ effTextColorHover: function() {
162
+ let vo = this
163
+ return color2hex(vo.textColorHover)
164
+ },
165
+
166
+ useTextColor: function() {
167
+ let vo = this
168
+ let r
169
+ if (!vo.editable) {
170
+ return vo.effTextColor
171
+ }
172
+ r = vo.hoverTrans ? vo.effTextColorHover : vo.effTextColor
173
+ return r
174
+ },
175
+
176
+ useTextFontSize: function() {
177
+ let vo = this
178
+ let s = vo.textFontSize
179
+ s = replace(s, ';', '')
180
+ return `font-size:${s};`
181
+ },
182
+
183
+ effCheckedIconColor: function() {
184
+ let vo = this
185
+ return color2hex(vo.checkedIconColor)
186
+ },
187
+
188
+ effCheckedIconColorHover: function() {
189
+ let vo = this
190
+ return color2hex(vo.checkedIconColorHover)
191
+ },
192
+
193
+ effCheckedIconColorDisabled: function() {
194
+ let vo = this
195
+ return color2hex(vo.checkedIconColorDisabled)
196
+ },
197
+
198
+ useCheckedIconColor: function() {
199
+ let vo = this
200
+ if (!vo.editable) {
201
+ return vo.effCheckedIconColorDisabled
202
+ }
203
+ return vo.hoverTrans ? vo.effCheckedIconColorHover : vo.effCheckedIconColor
204
+ },
205
+
206
+ effUncheckedIconColor: function() {
207
+ let vo = this
208
+ return color2hex(vo.uncheckedIconColor)
209
+ },
210
+
211
+ effUncheckedIconColorHover: function() {
212
+ let vo = this
213
+ return color2hex(vo.uncheckedIconColorHover)
214
+ },
215
+
216
+ effUncheckedIconColorDisabled: function() {
217
+ let vo = this
218
+ return color2hex(vo.uncheckedIconColorDisabled)
219
+ },
220
+
221
+ useUncheckedIconColor: function() {
222
+ let vo = this
223
+ if (!vo.editable) {
224
+ return vo.effUncheckedIconColorDisabled
225
+ }
226
+ return vo.hoverTrans ? vo.effUncheckedIconColorHover : vo.effUncheckedIconColor
227
+ },
228
+
107
229
  },
108
230
  methods: {
109
231
 
@@ -1,45 +1,136 @@
1
1
  <template>
2
2
  <div
3
- style="display:inline-block;"
3
+ :style="`display:inline-block; ${editable?'cursor:pointer;':''}`"
4
4
  :changeParam="changeParam"
5
+ @click="toogleValue"
6
+ @mouseenter="hoverTrans=true;$emit('mouseenter',$event)"
7
+ @mouseleave="hoverTrans=false;$emit('mouseleave',$event)"
5
8
  >
6
9
 
7
- <v-switch
8
- style="margin:0px; padding:0px;"
9
- hide-details
10
- :label="text"
11
- :color="color"
12
- :disabled="!editable"
13
- v-model="b"
14
- @change="toogleValue"
15
- ></v-switch>
10
+ <div style="display:flex; align-items:center;">
11
+
12
+ <!-- 用padding:2px 0px與height+4撐開至預設高度24px -->
13
+ <div :style="`padding:2px 0px; height:${4+Math.max(heightCir,heightBar)}px;`">
14
+ <div :style="`position:relative; padding-top:${(heightCir-heightBar)/2}px;`">
15
+
16
+ <div class="ts" :style="`width:${widthBar}px; height:${heightBar}px; border-radius:8px; background:${useSwitchBarColor};`">
17
+ </div>
18
+
19
+ <div class="ts bs" :style="`position:absolute; top:0px; left:${ b ? widthBar-widthCir : 0 }px; width:${widthCir}px; height:${heightCir}px; border-radius:50%; background:${useSwitchCircleColor};`">
20
+ </div>
21
+
22
+ </div>
23
+ </div>
24
+
25
+ <div class="ts" :style="`text-transform:none; padding-left:5px; color:${useTextColor}; ${useTextFontSize}`" v-if="text!==''">
26
+ {{text}}
27
+ </div>
28
+
29
+ </div>
16
30
 
17
31
  </div>
18
32
  </template>
19
33
 
20
34
  <script>
21
35
  import isbol from 'wsemi/src/isbol.mjs'
36
+ import replace from 'wsemi/src/replace.mjs'
37
+ import color2hex from '../js/vuetifyColor.mjs'
22
38
 
23
39
 
24
40
  /**
25
- * @vue-prop {String} [text=''] 輸入文字字串,預設''
26
41
  * @vue-prop {Boolean|String} [value=false] 輸入是否狀態的布林值或字串,可接受true或false,或是'y'或'n',預設false
27
- * @vue-prop {String} [color='pink accent-3'] 輸入切換開關開啟狀態(yes或true)的顏色字串,預設'pink accent-3'
42
+ * @vue-prop {String} [text=''] 輸入文字字串,預設''
43
+ * @vue-prop {String} [textColor='black'] 輸入文字顏色字串,預設'black'
44
+ * @vue-prop {String} [textColorHover='grey darken-3'] 輸入滑鼠移入時文字顏色字串,預設'grey darken-3'
45
+ * @vue-prop {String} [textFontSize='0.85rem'] 輸入文字字型大小字串,預設'0.85rem'
46
+ * @vue-prop {Number} [switchSize=24] 輸入切換器大小,單位為px,預設24
47
+ * @vue-prop {String} [checkedSwitchCircleColor='blue darken-3'] 輸入可編輯時,有效(true|'y')切換器鈕扣區顏色字串,預設'blue darken-3'
48
+ * @vue-prop {String} [checkedSwitchCircleColorHover='blue darken-2'] 輸入滑鼠移入時可編輯時,有效(true|'y')切換器鈕扣區顏色字串,預設'blue darken-2'
49
+ * @vue-prop {String} [checkedSwitchCircleColorDisabled='grey'] 輸入不可編輯時,有效(true|'y')切換器鈕扣區顏色字串,預設'grey'
50
+ * @vue-prop {String} [uncheckedSwitchCircleColor='#8ad'] 輸入可編輯時,無效(false|'n')切換器鈕扣區顏色字串,預設'#8ad'
51
+ * @vue-prop {String} [uncheckedSwitchCircleColorHover='#9bd'] 輸入滑鼠移入時可編輯時,無效(false|'n')切換器鈕扣區顏色字串,預設'#9bd'
52
+ * @vue-prop {String} [uncheckedSwitchCircleColorDisabled='#bbb'] 輸入不可編輯時,無效(false|'n')切換器鈕扣區顏色字串,預設'#bbb'
53
+ * @vue-prop {String} [checkedSwitchBarColor='blue darken-3'] 輸入可編輯時,有效(true|'y')切換器滑動區顏色字串,預設'blue darken-3'
54
+ * @vue-prop {String} [checkedSwitchBarColorHover='blue darken-2'] 輸入滑鼠移入時可編輯時,有效(true|'y')切換器滑動區顏色字串,預設'blue darken-2'
55
+ * @@vue-prop {String} [checkedSwitchBarColorDisabled='grey'] 輸入不可編輯時,有效(true|'y')切換器滑動區顏色字串,預設'grey'
56
+ * @vue-prop {String} [uncheckedSwitchBarColor='#8ad'] 輸入可編輯時,無效(false|'n')切換器滑動區顏色字串,預設'#8ad'
57
+ * @vue-prop {String} [uncheckedSwitchBarColorHover='#9bd'] 輸入滑鼠移入時可編輯時,無效(false|'n')切換器滑動區顏色字串,預設'#9bd'
58
+ * @vue-prop {String} [uncheckedSwitchBarColorDisabled='#bbb'] 輸入不可編輯時,無效(false|'n')切換器滑動區顏色字串,預設'#bbb'
28
59
  * @vue-prop {Boolean} [editable=true] 輸入是否為編輯模式,預設true
29
60
  */
30
61
  export default {
31
62
  props: {
63
+ value: {
64
+ type: [Boolean, String],
65
+ default: false,
66
+ },
32
67
  text: {
33
68
  type: String,
34
69
  default: '',
35
70
  },
36
- value: {
37
- type: [Boolean, String],
38
- default: false,
71
+ textColor: {
72
+ type: String,
73
+ default: 'black',
74
+ },
75
+ textColorHover: {
76
+ type: String,
77
+ default: 'grey darken-3',
78
+ },
79
+ textFontSize: {
80
+ type: String,
81
+ default: '0.85rem',
82
+ },
83
+ switchSize: {
84
+ type: Number,
85
+ default: 24,
86
+ },
87
+ checkedSwitchCircleColor: {
88
+ type: String,
89
+ default: 'blue darken-3',
90
+ },
91
+ checkedSwitchCircleColorHover: {
92
+ type: String,
93
+ default: 'blue darken-2',
94
+ },
95
+ checkedSwitchCircleColorDisabled: {
96
+ type: String,
97
+ default: 'grey',
98
+ },
99
+ uncheckedSwitchCircleColor: {
100
+ type: String,
101
+ default: '#fafafa',
102
+ },
103
+ uncheckedSwitchCircleColorHover: {
104
+ type: String,
105
+ default: '#fff',
106
+ },
107
+ uncheckedSwitchCircleColorDisabled: {
108
+ type: String,
109
+ default: '#bbb',
110
+ },
111
+ checkedSwitchBarColor: {
112
+ type: String,
113
+ default: 'rgba(24, 103, 192, 0.6)',
114
+ },
115
+ checkedSwitchBarColorHover: {
116
+ type: String,
117
+ default: 'rgba(24, 103, 192, 0.5)',
118
+ },
119
+ checkedSwitchBarColorDisabled: {
120
+ type: String,
121
+ default: '#ececec',
122
+ },
123
+ uncheckedSwitchBarColor: {
124
+ type: String,
125
+ default: '#c5c5c5',
126
+ },
127
+ uncheckedSwitchBarColorHover: {
128
+ type: String,
129
+ default: '#ccc',
39
130
  },
40
- color: {
131
+ uncheckedSwitchBarColorDisabled: {
41
132
  type: String,
42
- default: 'pink accent-3',
133
+ default: '#ececec',
43
134
  },
44
135
  editable: {
45
136
  type: Boolean,
@@ -48,11 +139,15 @@ export default {
48
139
  },
49
140
  data: function() {
50
141
  return {
142
+
143
+ hoverTrans: false,
144
+
145
+ dh: 4,
146
+
51
147
  b: false,
148
+
52
149
  }
53
150
  },
54
- mounted: function() {
55
- },
56
151
  computed: {
57
152
 
58
153
  changeParam: function () {
@@ -74,14 +169,172 @@ export default {
74
169
  return ''
75
170
  },
76
171
 
172
+ heightCir: function() { // heightCir: 20,
173
+ let vo = this
174
+ return vo.switchSize - vo.dh
175
+ },
176
+
177
+ widthCir: function() { // widthCir: 20,
178
+ let vo = this
179
+ return vo.heightCir
180
+ },
181
+
182
+ heightBar: function() { // heightBar: 14,
183
+ let vo = this
184
+ return vo.switchSize / 24 * 14
185
+ },
186
+
187
+ widthBar: function() { // widthBar: 36,
188
+ let vo = this
189
+ return vo.switchSize / 24 * 36
190
+ },
191
+
192
+ effTextColor: function() {
193
+ let vo = this
194
+ return color2hex(vo.textColor)
195
+ },
196
+
197
+ effTextColorHover: function() {
198
+ let vo = this
199
+ return color2hex(vo.textColorHover)
200
+ },
201
+
202
+ useTextColor: function() {
203
+ let vo = this
204
+ let r
205
+ if (!vo.editable) {
206
+ return vo.effTextColor
207
+ }
208
+ r = vo.hoverTrans ? vo.effTextColorHover : vo.effTextColor
209
+ return r
210
+ },
211
+
212
+ useTextFontSize: function() {
213
+ let vo = this
214
+ let s = vo.textFontSize
215
+ s = replace(s, ';', '')
216
+ return `font-size:${s};`
217
+ },
218
+
219
+ effCheckedSwitchCircleColor: function() {
220
+ let vo = this
221
+ return color2hex(vo.checkedSwitchCircleColor)
222
+ },
223
+
224
+ effCheckedSwitchCircleColorHover: function() {
225
+ let vo = this
226
+ return color2hex(vo.checkedSwitchCircleColorHover)
227
+ },
228
+
229
+ effCheckedSwitchCircleColorDisabled: function() {
230
+ let vo = this
231
+ return color2hex(vo.checkedSwitchCircleColorDisabled)
232
+ },
233
+
234
+ useCheckedSwitchCircleColor: function() {
235
+ let vo = this
236
+ if (!vo.editable) {
237
+ return vo.effCheckedSwitchCircleColorDisabled
238
+ }
239
+ return vo.hoverTrans ? vo.effCheckedSwitchCircleColorHover : vo.effCheckedSwitchCircleColor
240
+ },
241
+
242
+ effUncheckedSwitchCircleColor: function() {
243
+ let vo = this
244
+ return color2hex(vo.uncheckedSwitchCircleColor)
245
+ },
246
+
247
+ effUncheckedSwitchCircleColorHover: function() {
248
+ let vo = this
249
+ return color2hex(vo.uncheckedSwitchCircleColorHover)
250
+ },
251
+
252
+ effUncheckedSwitchCircleColorDisabled: function() {
253
+ let vo = this
254
+ return color2hex(vo.uncheckedSwitchCircleColorDisabled)
255
+ },
256
+
257
+ useUncheckedSwitchCircleColor: function() {
258
+ let vo = this
259
+ if (!vo.editable) {
260
+ return vo.effUncheckedSwitchCircleColorDisabled
261
+ }
262
+ return vo.hoverTrans ? vo.effUncheckedSwitchCircleColorHover : vo.effUncheckedSwitchCircleColor
263
+ },
264
+
265
+ useSwitchCircleColor: function() {
266
+ let vo = this
267
+ return vo.b ? vo.useCheckedSwitchCircleColor : vo.useUncheckedSwitchCircleColor
268
+ },
269
+
270
+ effCheckedSwitchBarColor: function() {
271
+ let vo = this
272
+ return color2hex(vo.checkedSwitchBarColor)
273
+ },
274
+
275
+ effCheckedSwitchBarColorHover: function() {
276
+ let vo = this
277
+ return color2hex(vo.checkedSwitchBarColorHover)
278
+ },
279
+
280
+ effCheckedSwitchBarColorDisabled: function() {
281
+ let vo = this
282
+ return color2hex(vo.checkedSwitchBarColorDisabled)
283
+ },
284
+
285
+ useCheckedSwitchBarColor: function() {
286
+ let vo = this
287
+ if (!vo.editable) {
288
+ return vo.effCheckedSwitchBarColorDisabled
289
+ }
290
+ return vo.hoverTrans ? vo.effCheckedSwitchBarColorHover : vo.effCheckedSwitchBarColor
291
+ },
292
+
293
+ effUncheckedSwitchBarColor: function() {
294
+ let vo = this
295
+ return color2hex(vo.uncheckedSwitchBarColor)
296
+ },
297
+
298
+ effUncheckedSwitchBarColorHover: function() {
299
+ let vo = this
300
+ return color2hex(vo.uncheckedSwitchBarColorHover)
301
+ },
302
+
303
+ effUncheckedSwitchBarColorDisabled: function() {
304
+ let vo = this
305
+ return color2hex(vo.uncheckedSwitchBarColorDisabled)
306
+ },
307
+
308
+ useUncheckedSwitchBarColor: function() {
309
+ let vo = this
310
+ if (!vo.editable) {
311
+ return vo.effUncheckedSwitchBarColorDisabled
312
+ }
313
+ return vo.hoverTrans ? vo.effUncheckedSwitchBarColorHover : vo.effUncheckedSwitchBarColor
314
+ },
315
+
316
+ useSwitchBarColor: function() {
317
+ let vo = this
318
+ return vo.b ? vo.useCheckedSwitchBarColor : vo.useUncheckedSwitchBarColor
319
+ },
320
+
77
321
  },
78
322
  methods: {
79
323
 
80
- toogleValue: function (b) {
81
- //console.log('methods toogleValue', b)
324
+ toogleValue: function () {
325
+ // console.log('methods toogleValue')
82
326
 
83
327
  let vo = this
84
328
 
329
+ //check
330
+ if (!vo.editable) {
331
+ return
332
+ }
333
+
334
+ //toogle
335
+ let b = vo.b
336
+ b = !b
337
+
85
338
  //value
86
339
  let value = null
87
340
  if (isbol(vo.value)) {
@@ -97,7 +350,7 @@ export default {
97
350
  }
98
351
  }
99
352
 
100
- //$nextTick
353
+ //nextTick
101
354
  vo.$nextTick(() => {
102
355
 
103
356
  //emit
@@ -112,4 +365,10 @@ export default {
112
365
  </script>
113
366
 
114
367
  <style scoped>
368
+ .ts {
369
+ transition:all 0.3s;
370
+ }
371
+ .bs {
372
+ box-shadow: 0px 2px 4px -1px rgb(0 0 0 / 20%), 0px 4px 5px 0px rgb(0 0 0 / 14%), 0px 1px 10px 0px rgb(0 0 0 / 12%);
373
+ }
115
374
  </style>