w-component-vue 2.1.57

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 (1005) hide show
  1. package/.editorconfig +9 -0
  2. package/.eslintignore +3 -0
  3. package/.eslintrc.js +54 -0
  4. package/.github/workflows/ci-test.yml +23 -0
  5. package/.jsdoc +25 -0
  6. package/LICENSE +21 -0
  7. package/README.md +108 -0
  8. package/babel.config.js +14 -0
  9. package/dist/w-component-vue.umd.js +16 -0
  10. package/dist/w-component-vue.umd.js.map +1 -0
  11. package/docs/binarySearch.mjs.html +160 -0
  12. package/docs/examples/app.html +79 -0
  13. package/docs/examples/app.umd.js +7 -0
  14. package/docs/examples/app.umd.js.map +1 -0
  15. package/docs/examples/w-aggrid-vue-dyn_defCellEditable.html +275 -0
  16. package/docs/examples/w-aggrid-vue-dyn_kpCellEditable_kpRowStyle.html +275 -0
  17. package/docs/examples/w-aggrid-vue-dyn_kpHeadTooltip_kpCellTooltip.html +275 -0
  18. package/docs/examples/w-aggrid-vue-dyn_large data (1,000,000 items).html +271 -0
  19. package/docs/examples/w-aggrid-vue-dyn_simple data.html +275 -0
  20. package/docs/examples/w-alert_backgroundColor.html +201 -0
  21. package/docs/examples/w-alert_borderColor.html +201 -0
  22. package/docs/examples/w-alert_borderRadius.html +201 -0
  23. package/docs/examples/w-alert_borderWidth.html +201 -0
  24. package/docs/examples/w-alert_default.html +199 -0
  25. package/docs/examples/w-alert_icon.html +201 -0
  26. package/docs/examples/w-alert_position.html +222 -0
  27. package/docs/examples/w-alert_recive closed event by promise.html +194 -0
  28. package/docs/examples/w-alert_shadowStyle.html +201 -0
  29. package/docs/examples/w-alert_textColor.html +201 -0
  30. package/docs/examples/w-alert_time (6s).html +201 -0
  31. package/docs/examples/w-alert_type error.html +199 -0
  32. package/docs/examples/w-alert_type infor.html +199 -0
  33. package/docs/examples/w-alert_type warning.html +199 -0
  34. package/docs/examples/w-badge_backgroundColor.html +182 -0
  35. package/docs/examples/w-badge_badgeAlign.html +202 -0
  36. package/docs/examples/w-badge_borderColor_textColor_backgroundColor.html +187 -0
  37. package/docs/examples/w-badge_borderRadius.html +182 -0
  38. package/docs/examples/w-badge_default.html +182 -0
  39. package/docs/examples/w-badge_textColor_backgroundColor.html +186 -0
  40. package/docs/examples/w-badge_textFontSize.html +182 -0
  41. package/docs/examples/w-button-chip_active_backgroundColorActive.html +259 -0
  42. package/docs/examples/w-button-chip_active_borderColorActive.html +259 -0
  43. package/docs/examples/w-button-chip_active_iconColorActive.html +259 -0
  44. package/docs/examples/w-button-chip_active_no shadow_no shadowActive.html +260 -0
  45. package/docs/examples/w-button-chip_active_shadowActiveStyle.html +259 -0
  46. package/docs/examples/w-button-chip_active_textColorActive.html +258 -0
  47. package/docs/examples/w-button-chip_backgroundColor_backgroundColorHover.html +259 -0
  48. package/docs/examples/w-button-chip_borderColor_borderColorHover.html +259 -0
  49. package/docs/examples/w-button-chip_borderRadius.html +258 -0
  50. package/docs/examples/w-button-chip_borderRadiusStyle.html +280 -0
  51. package/docs/examples/w-button-chip_borderRadiusStyle_borderWidth_borderColor_borderColorHover.html +284 -0
  52. package/docs/examples/w-button-chip_borderWidth.html +288 -0
  53. package/docs/examples/w-button-chip_close.html +259 -0
  54. package/docs/examples/w-button-chip_close_shiftRight.html +260 -0
  55. package/docs/examples/w-button-chip_default.html +254 -0
  56. package/docs/examples/w-button-chip_icon (fontawesome).html +257 -0
  57. package/docs/examples/w-button-chip_icon (material).html +257 -0
  58. package/docs/examples/w-button-chip_icon_iconColor_iconColorHover_close.html +262 -0
  59. package/docs/examples/w-button-chip_icon_no text.html +254 -0
  60. package/docs/examples/w-button-chip_loading.html +259 -0
  61. package/docs/examples/w-button-chip_loading_loadingColor.html +260 -0
  62. package/docs/examples/w-button-chip_loading_textColor_textColorHover.html +261 -0
  63. package/docs/examples/w-button-chip_modify loading by callback in click.html +259 -0
  64. package/docs/examples/w-button-chip_modify prog by callback in click.html +259 -0
  65. package/docs/examples/w-button-chip_no shadow.html +258 -0
  66. package/docs/examples/w-button-chip_not editable.html +262 -0
  67. package/docs/examples/w-button-chip_not editable_disabledColor.html +263 -0
  68. package/docs/examples/w-button-chip_paddingStyle (equal height to using icon).html +254 -0
  69. package/docs/examples/w-button-chip_paddingStyle (thin style).html +254 -0
  70. package/docs/examples/w-button-chip_paddingStyle_icon_iconSize_textFontSize.html +262 -0
  71. package/docs/examples/w-button-chip_prog.html +259 -0
  72. package/docs/examples/w-button-chip_prog_progColor_progBackgroundColor.html +261 -0
  73. package/docs/examples/w-button-chip_promiseUnlock.html +259 -0
  74. package/docs/examples/w-button-chip_rippleColor.html +258 -0
  75. package/docs/examples/w-button-chip_shadowStyle.html +258 -0
  76. package/docs/examples/w-button-chip_shiftLeft.html +258 -0
  77. package/docs/examples/w-button-chip_slot_close.html +288 -0
  78. package/docs/examples/w-button-chip_textColor.html +257 -0
  79. package/docs/examples/w-button-chip_textColor_textColorHover.html +258 -0
  80. package/docs/examples/w-button-chip_tooltip.html +258 -0
  81. package/docs/examples/w-button-circle_backgroundColor_backgroundColorHover_backgroundColorFocus.html +190 -0
  82. package/docs/examples/w-button-circle_icon (fontawesome).html +183 -0
  83. package/docs/examples/w-button-circle_icon (material).html +183 -0
  84. package/docs/examples/w-button-circle_iconColor_iconColorHover_iconColorFocus.html +190 -0
  85. package/docs/examples/w-button-circle_loading.html +186 -0
  86. package/docs/examples/w-button-circle_loading_loadingColor.html +187 -0
  87. package/docs/examples/w-button-circle_no shadow.html +183 -0
  88. package/docs/examples/w-button-circle_not editable.html +186 -0
  89. package/docs/examples/w-button-circle_not editable_disabledColor.html +187 -0
  90. package/docs/examples/w-button-circle_paddingStyle.html +186 -0
  91. package/docs/examples/w-button-circle_paddingStyle_iconSize.html +187 -0
  92. package/docs/examples/w-button-circle_promiseUnlock.html +187 -0
  93. package/docs/examples/w-button-circle_rippleColor.html +186 -0
  94. package/docs/examples/w-button-circle_shadowStyle.html +186 -0
  95. package/docs/examples/w-button-circle_tooltip.html +183 -0
  96. package/docs/examples/w-checkbox_checkedIconColor_uncheckedIconColor.html +177 -0
  97. package/docs/examples/w-checkbox_checkedIcon_uncheckedIcon.html +177 -0
  98. package/docs/examples/w-checkbox_default.html +173 -0
  99. package/docs/examples/w-checkbox_iconSize.html +173 -0
  100. package/docs/examples/w-checkbox_not editable.html +173 -0
  101. package/docs/examples/w-checkbox_not editable_checkedIconColorDisabled_uncheckedIconColorDisabled.html +180 -0
  102. package/docs/examples/w-checkbox_use string (y or n).html +173 -0
  103. package/docs/examples/w-ckeditor-vue-dyn_default.html +204 -0
  104. package/docs/examples/w-ckeditor-vue-dyn_height.html +205 -0
  105. package/docs/examples/w-ckeditor-vue-dyn_not editable.html +205 -0
  106. package/docs/examples/w-ckeditor-vue-dyn_settings.html +205 -0
  107. package/docs/examples/w-confirm_contentColor_contentIconColor_contentBackgroundColor.html +212 -0
  108. package/docs/examples/w-confirm_contentIcon (fontawesome).html +208 -0
  109. package/docs/examples/w-confirm_contentIconColor.html +208 -0
  110. package/docs/examples/w-confirm_contentIconSize.html +208 -0
  111. package/docs/examples/w-confirm_hasNoBtn_yesBtnText.html +208 -0
  112. package/docs/examples/w-confirm_maxWidth.html +208 -0
  113. package/docs/examples/w-confirm_noBtnTextColor_noBtnTextColorHover_noBtnBackgroundColor_noBtnBackgroundColorHover.html +217 -0
  114. package/docs/examples/w-confirm_noBtnText_yesBtnText.html +209 -0
  115. package/docs/examples/w-confirm_scrollable (slot content).html +236 -0
  116. package/docs/examples/w-confirm_scrollable.html +207 -0
  117. package/docs/examples/w-confirm_slot content.html +283 -0
  118. package/docs/examples/w-confirm_slot footer.html +226 -0
  119. package/docs/examples/w-confirm_slot header.html +220 -0
  120. package/docs/examples/w-confirm_titleColor_headerBackgroundColor_footerBackgroundColor.html +212 -0
  121. package/docs/examples/w-confirm_title_content.html +207 -0
  122. package/docs/examples/w-dialog_closeWithInterceptor.html +270 -0
  123. package/docs/examples/w-dialog_contentTextColor_contentBackgroundColor.html +277 -0
  124. package/docs/examples/w-dialog_fullscreen.html +277 -0
  125. package/docs/examples/w-dialog_hasSaveBtn and hasCloseBtn, no save and close button.html +273 -0
  126. package/docs/examples/w-dialog_hasSaveBtn, no save button.html +270 -0
  127. package/docs/examples/w-dialog_headerBackgroundColor.html +270 -0
  128. package/docs/examples/w-dialog_headerBtns.html +271 -0
  129. package/docs/examples/w-dialog_headerIconColor_headerTextColor_headerBackgroundColor.html +274 -0
  130. package/docs/examples/w-dialog_icon (fontawesome).html +270 -0
  131. package/docs/examples/w-dialog_maxWidth, for narrow width.html +270 -0
  132. package/docs/examples/w-dialog_multi dialogs.html +313 -0
  133. package/docs/examples/w-dialog_saveBtnTooltip_closeBtnTooltip.html +271 -0
  134. package/docs/examples/w-dialog_scrollable.html +270 -0
  135. package/docs/examples/w-dialog_separate for slot content.html +274 -0
  136. package/docs/examples/w-dialog_slot content.html +269 -0
  137. package/docs/examples/w-dialog_slot header-left_header-right.html +291 -0
  138. package/docs/examples/w-dialog_table in slot content.html +336 -0
  139. package/docs/examples/w-dialog_title.html +269 -0
  140. package/docs/examples/w-dropfiles_backgroundColor_backgroundColorDropIn_backgroundColorHover.html +209 -0
  141. package/docs/examples/w-dropfiles_borderColor_borderColorDropIn_borderColorHover_backgroundColorDropIn.html +211 -0
  142. package/docs/examples/w-dropfiles_borderRadius.html +205 -0
  143. package/docs/examples/w-dropfiles_borderWidth.html +205 -0
  144. package/docs/examples/w-dropfiles_default.html +204 -0
  145. package/docs/examples/w-dropfiles_timeTransition.html +205 -0
  146. package/docs/examples/w-dynamic-list_change rows.html +383 -0
  147. package/docs/examples/w-dynamic-list_change slot.html +397 -0
  148. package/docs/examples/w-dynamic-list_default.html +366 -0
  149. package/docs/examples/w-dynamic-list_filterKeywords_searchEmpty.html +378 -0
  150. package/docs/examples/w-dynamic-list_large data (1,000,000 items).html +383 -0
  151. package/docs/examples/w-dynamic-list_processItems.html +401 -0
  152. package/docs/examples/w-dynamic-list_render.html +367 -0
  153. package/docs/examples/w-dynamic-list_separatorColor.html +367 -0
  154. package/docs/examples/w-dynamic-list_separatorColor_separatorHeight.html +368 -0
  155. package/docs/examples/w-dynamic-list_slot item with image.html +383 -0
  156. package/docs/examples/w-dynamic-list_viewHeightMax.html +386 -0
  157. package/docs/examples/w-echarts-vue-dyn_area.html +1788 -0
  158. package/docs/examples/w-echarts-vue-dyn_bar3D.html +1788 -0
  159. package/docs/examples/w-echarts-vue-dyn_continuous.html +1788 -0
  160. package/docs/examples/w-echarts-vue-dyn_heatmap.html +1788 -0
  161. package/docs/examples/w-echarts-vue-dyn_line.html +1788 -0
  162. package/docs/examples/w-echarts-vue-dyn_line3D.html +1788 -0
  163. package/docs/examples/w-echarts-vue-dyn_parallel.html +1788 -0
  164. package/docs/examples/w-echarts-vue-dyn_polar heatmap.html +1788 -0
  165. package/docs/examples/w-echarts-vue-dyn_polar.html +1788 -0
  166. package/docs/examples/w-echarts-vue-dyn_radar.html +1788 -0
  167. package/docs/examples/w-echarts-vue-dyn_scatter.html +1788 -0
  168. package/docs/examples/w-echarts-vue-dyn_stack.html +1788 -0
  169. package/docs/examples/w-echarts-vue-dyn_surface.html +1788 -0
  170. package/docs/examples/w-echarts-vue-dyn_tree.html +1791 -0
  171. package/docs/examples/w-echarts-vue-dyn_treemap.html +1788 -0
  172. package/docs/examples/w-group-check_backgroundColorActive.html +313 -0
  173. package/docs/examples/w-group-check_backgroundColor_backgroundColorHover.html +314 -0
  174. package/docs/examples/w-group-check_borderColor_borderColorHover_borderColorActive.html +317 -0
  175. package/docs/examples/w-group-check_borderRadius.html +313 -0
  176. package/docs/examples/w-group-check_borderRadius_borderRadiusStyle_paddingStyle.html +317 -0
  177. package/docs/examples/w-group-check_borderWidth_borderColor_borderColorHover_borderColorActive.html +322 -0
  178. package/docs/examples/w-group-check_click (console.log).html +313 -0
  179. package/docs/examples/w-group-check_default.html +312 -0
  180. package/docs/examples/w-group-check_group (only one).html +320 -0
  181. package/docs/examples/w-group-check_group_borderColor_borderColorHover_borderColorActive.html +325 -0
  182. package/docs/examples/w-group-check_group_groupBorderRadiusStyle_groupShift_borderRadius.html +353 -0
  183. package/docs/examples/w-group-check_icon (fontawesome).html +312 -0
  184. package/docs/examples/w-group-check_icon (material).html +312 -0
  185. package/docs/examples/w-group-check_iconColorActive.html +313 -0
  186. package/docs/examples/w-group-check_iconColor_iconColorHover.html +314 -0
  187. package/docs/examples/w-group-check_loading.html +313 -0
  188. package/docs/examples/w-group-check_loading_loadingColor.html +314 -0
  189. package/docs/examples/w-group-check_marginStyle.html +313 -0
  190. package/docs/examples/w-group-check_no shadowActive.html +313 -0
  191. package/docs/examples/w-group-check_not editable.html +313 -0
  192. package/docs/examples/w-group-check_paddingStyle_borderRadius_textColor_iconColor.html +330 -0
  193. package/docs/examples/w-group-check_paddingStyle_iconSize_textFontSize.html +315 -0
  194. package/docs/examples/w-group-check_shadow.html +313 -0
  195. package/docs/examples/w-group-check_shadowActiveStyle.html +314 -0
  196. package/docs/examples/w-group-check_shadow_shadowStyle.html +315 -0
  197. package/docs/examples/w-group-check_shiftLeft.html +313 -0
  198. package/docs/examples/w-group-check_shiftLeft_shiftRight.html +314 -0
  199. package/docs/examples/w-group-check_slot_shadow.html +326 -0
  200. package/docs/examples/w-group-check_textColor.html +313 -0
  201. package/docs/examples/w-group-check_textColorActive.html +313 -0
  202. package/docs/examples/w-group-check_textColor_textColorHover.html +314 -0
  203. package/docs/examples/w-group-check_tooltip.html +313 -0
  204. package/docs/examples/w-group-dragdrop_default.html +238 -0
  205. package/docs/examples/w-group-dragdrop_event (dragdrop).html +241 -0
  206. package/docs/examples/w-group-dragdrop_items(string array).html +234 -0
  207. package/docs/examples/w-group-dragdrop_keyBinder.html +246 -0
  208. package/docs/examples/w-group-dragdrop_not draggable.html +241 -0
  209. package/docs/examples/w-group-dragdrop_not itemStyleInline (block).html +241 -0
  210. package/docs/examples/w-group-radio_backgroundColorActive.html +292 -0
  211. package/docs/examples/w-group-radio_backgroundColor_backgroundColorHover.html +293 -0
  212. package/docs/examples/w-group-radio_borderColor_borderColorHover_borderColorActive.html +296 -0
  213. package/docs/examples/w-group-radio_borderRadius.html +292 -0
  214. package/docs/examples/w-group-radio_borderRadius_borderRadiusStyle_paddingStyle.html +296 -0
  215. package/docs/examples/w-group-radio_borderWidth_borderColor_borderColorHover_borderColorActive.html +301 -0
  216. package/docs/examples/w-group-radio_click (console.log).html +292 -0
  217. package/docs/examples/w-group-radio_default.html +291 -0
  218. package/docs/examples/w-group-radio_group (only one).html +299 -0
  219. package/docs/examples/w-group-radio_group_borderColor_borderColorHover_borderColorActive.html +304 -0
  220. package/docs/examples/w-group-radio_group_groupBorderRadiusStyle_groupShift_borderRadius.html +330 -0
  221. package/docs/examples/w-group-radio_icon (fontawesome).html +291 -0
  222. package/docs/examples/w-group-radio_icon (material).html +291 -0
  223. package/docs/examples/w-group-radio_iconColorActive.html +292 -0
  224. package/docs/examples/w-group-radio_iconColor_iconColorHover.html +293 -0
  225. package/docs/examples/w-group-radio_loading.html +292 -0
  226. package/docs/examples/w-group-radio_loading_loadingColor.html +293 -0
  227. package/docs/examples/w-group-radio_marginStyle.html +292 -0
  228. package/docs/examples/w-group-radio_no shadowActive.html +292 -0
  229. package/docs/examples/w-group-radio_not editable.html +292 -0
  230. package/docs/examples/w-group-radio_paddingStyle_borderRadius_textColor_iconColor.html +309 -0
  231. package/docs/examples/w-group-radio_paddingStyle_iconSize_textFontSize.html +294 -0
  232. package/docs/examples/w-group-radio_shadow.html +292 -0
  233. package/docs/examples/w-group-radio_shadowActiveStyle.html +293 -0
  234. package/docs/examples/w-group-radio_shadow_shadowStyle.html +294 -0
  235. package/docs/examples/w-group-radio_shiftLeft.html +292 -0
  236. package/docs/examples/w-group-radio_shiftLeft_shiftRight.html +293 -0
  237. package/docs/examples/w-group-radio_slot_shadow.html +305 -0
  238. package/docs/examples/w-group-radio_textColor.html +292 -0
  239. package/docs/examples/w-group-radio_textColorActive.html +292 -0
  240. package/docs/examples/w-group-radio_textColor_textColorHover.html +293 -0
  241. package/docs/examples/w-group-radio_tooltip.html +292 -0
  242. package/docs/examples/w-group-tags_backgroundColor_backgroundColorHover.html +572 -0
  243. package/docs/examples/w-group-tags_borderColor_borderColorHover.html +572 -0
  244. package/docs/examples/w-group-tags_borderRadius.html +571 -0
  245. package/docs/examples/w-group-tags_closeWithInterceptor.html +572 -0
  246. package/docs/examples/w-group-tags_default.html +563 -0
  247. package/docs/examples/w-group-tags_editableClose(no close button).html +571 -0
  248. package/docs/examples/w-group-tags_editableInput(no slot input).html +571 -0
  249. package/docs/examples/w-group-tags_enableCloseEventOnly.html +567 -0
  250. package/docs/examples/w-group-tags_icon (fontawesome).html +566 -0
  251. package/docs/examples/w-group-tags_icon (material).html +566 -0
  252. package/docs/examples/w-group-tags_iconColor_iconColorHover_textColor_textColorHover.html +584 -0
  253. package/docs/examples/w-group-tags_icon_iconColor_iconColorHover.html +572 -0
  254. package/docs/examples/w-group-tags_inputTextButtonTooltip.html +566 -0
  255. package/docs/examples/w-group-tags_inputTextColor_inputTextBorderColor_inputTextBorderColorHover_inputTextBorderColorFocus.html +577 -0
  256. package/docs/examples/w-group-tags_inputTextWidth.html +563 -0
  257. package/docs/examples/w-group-tags_marginStyle.html +568 -0
  258. package/docs/examples/w-group-tags_modify loading by callback in click.html +567 -0
  259. package/docs/examples/w-group-tags_modify loading_textColor_textColorHover.html +574 -0
  260. package/docs/examples/w-group-tags_modify prog by callback in click.html +567 -0
  261. package/docs/examples/w-group-tags_no shadow_borderColor_borderColorHover.html +572 -0
  262. package/docs/examples/w-group-tags_not draggable.html +571 -0
  263. package/docs/examples/w-group-tags_not editable.html +571 -0
  264. package/docs/examples/w-group-tags_not editable_nodata.html +571 -0
  265. package/docs/examples/w-group-tags_object items.html +567 -0
  266. package/docs/examples/w-group-tags_object items_addButtonTextColor_addButtonTextColorHover_addButtonIconColor.html +578 -0
  267. package/docs/examples/w-group-tags_object items_addButtonText_addButtonTooltip.html +574 -0
  268. package/docs/examples/w-group-tags_object items_keyIcon.html +571 -0
  269. package/docs/examples/w-group-tags_object items_keyText.html +571 -0
  270. package/docs/examples/w-group-tags_object items_keyTooltip.html +571 -0
  271. package/docs/examples/w-group-tags_object items_slot item.html +603 -0
  272. package/docs/examples/w-group-tags_object items_slot item_editableInput(no slot input)_useActive.html +593 -0
  273. package/docs/examples/w-group-tags_object items_slot item_useColorsFromItem_editableInput(no slot input).html +590 -0
  274. package/docs/examples/w-group-tags_paddingStyle_icon_iconSize_textFontSize.html +575 -0
  275. package/docs/examples/w-group-tags_progColor_progBackgroundColor.html +572 -0
  276. package/docs/examples/w-group-tags_shadowStyle.html +570 -0
  277. package/docs/examples/w-group-tags_shiftLeft.html +567 -0
  278. package/docs/examples/w-group-tags_slot input.html +585 -0
  279. package/docs/examples/w-group-tags_slot item.html +602 -0
  280. package/docs/examples/w-group-tags_slot item_useActive_valueActive_paddingStyle.html +592 -0
  281. package/docs/examples/w-group-tags_suggests.html +566 -0
  282. package/docs/examples/w-group-tags_suggests_inputTextColor_inputExpansionIconColor.html +570 -0
  283. package/docs/examples/w-group-tags_suggests_placeholder_searchEmpty.html +568 -0
  284. package/docs/examples/w-group-tags_suggests_suggectItemFontSize_suggectItemTextColor_suggectItemTextColorHover.html +573 -0
  285. package/docs/examples/w-group-tags_textColor.html +570 -0
  286. package/docs/examples/w-group-tags_textColor_textColorHover.html +571 -0
  287. package/docs/examples/w-group-tags_useActive_valueActive.html +571 -0
  288. package/docs/examples/w-highcharts-bitmap-dyn_area.html +810 -0
  289. package/docs/examples/w-highcharts-bitmap-dyn_bar.html +810 -0
  290. package/docs/examples/w-highcharts-bitmap-dyn_change options.html +823 -0
  291. package/docs/examples/w-highcharts-bitmap-dyn_heatmap.html +810 -0
  292. package/docs/examples/w-highcharts-bitmap-dyn_large heatmap.html +810 -0
  293. package/docs/examples/w-highcharts-bitmap-dyn_line.html +810 -0
  294. package/docs/examples/w-highcharts-bitmap-dyn_pie.html +810 -0
  295. package/docs/examples/w-highcharts-bitmap-dyn_render (need w-hc2png-server) (line).html +811 -0
  296. package/docs/examples/w-highcharts-bitmap-dyn_scale (line).html +811 -0
  297. package/docs/examples/w-highcharts-vue-dyn_area.html +740 -0
  298. package/docs/examples/w-highcharts-vue-dyn_bar.html +740 -0
  299. package/docs/examples/w-highcharts-vue-dyn_heatmap.html +740 -0
  300. package/docs/examples/w-highcharts-vue-dyn_large heatmap.html +740 -0
  301. package/docs/examples/w-highcharts-vue-dyn_line.html +740 -0
  302. package/docs/examples/w-highcharts-vue-dyn_pie.html +740 -0
  303. package/docs/examples/w-highstock-vue-dyn_area.html +260 -0
  304. package/docs/examples/w-highstock-vue-dyn_line.html +260 -0
  305. package/docs/examples/w-icon-svg_path (mdi-access-point)_size.html +185 -0
  306. package/docs/examples/w-icon-svg_path (mdi-account-badge-horizontal)_timeTransition.html +190 -0
  307. package/docs/examples/w-icon-svg_path (mdi-fruit-cherries).html +185 -0
  308. package/docs/examples/w-icon-svg_path (mdi-graph-outline)_color_colorHover.html +191 -0
  309. package/docs/examples/w-icon-svg_path (use 3 paths)_sizeOriginal.html +185 -0
  310. package/docs/examples/w-icon-svg_path_sizeOriginal.html +185 -0
  311. package/docs/examples/w-image-cascading-dyn_arrangeWhenFinish.html +198 -0
  312. package/docs/examples/w-image-cascading-dyn_colNum.html +198 -0
  313. package/docs/examples/w-image-cascading-dyn_default(imageWidth=300).html +196 -0
  314. package/docs/examples/w-image-cascading-dyn_imageWidth.html +202 -0
  315. package/docs/examples/w-image-viewer-dyn_multiple image with navbar.html +202 -0
  316. package/docs/examples/w-image-viewer-dyn_one image.html +201 -0
  317. package/docs/examples/w-json-view_default.html +465 -0
  318. package/docs/examples/w-json-view_filterKeywords_searchEmpty.html +478 -0
  319. package/docs/examples/w-json-view_iconColor_keyColor_keyNumbersColor_numColor.html +477 -0
  320. package/docs/examples/w-json-view_large data (100,000 lines).html +465 -0
  321. package/docs/examples/w-json-view_valueStyleBreakAll.html +469 -0
  322. package/docs/examples/w-json-view_viewHeightMax.html +469 -0
  323. package/docs/examples/w-leaflet-vue-dyn_contourSet for rain data.html +417 -0
  324. package/docs/examples/w-leaflet-vue-dyn_contourSets.html +417 -0
  325. package/docs/examples/w-leaflet-vue-dyn_pointSets.html +417 -0
  326. package/docs/examples/w-leaflet-vue-dyn_polygonSets.html +417 -0
  327. package/docs/examples/w-list-vertical_auto scroll.html +308 -0
  328. package/docs/examples/w-list-vertical_default.html +296 -0
  329. package/docs/examples/w-list-vertical_itemActive.html +297 -0
  330. package/docs/examples/w-list-vertical_itemActive_itemBackgroundColor_itemBackgroundColorHover_itemBackgroundColorActive.html +304 -0
  331. package/docs/examples/w-list-vertical_itemActive_itemTextColor_itemTextColorHover_itemTextColorActive.html +310 -0
  332. package/docs/examples/w-list-vertical_keyText_keyIcon.html +298 -0
  333. package/docs/examples/w-list-vertical_paddingStyle.html +297 -0
  334. package/docs/examples/w-list-vertical_slot footer.html +310 -0
  335. package/docs/examples/w-list-vertical_slot header.html +309 -0
  336. package/docs/examples/w-list-vertical_slot item.html +331 -0
  337. package/docs/examples/w-list-vertical_string items.html +296 -0
  338. package/docs/examples/w-list-vertical_useActive (no active).html +297 -0
  339. package/docs/examples/w-list-vertical_useActive (no active)_itemRippleColor.html +298 -0
  340. package/docs/examples/w-panel-bulge_contentBackgroundColor.html +243 -0
  341. package/docs/examples/w-panel-bulge_contentBorderRadius.html +243 -0
  342. package/docs/examples/w-panel-bulge_default.html +242 -0
  343. package/docs/examples/w-panel-bulge_headerBorderRadius.html +243 -0
  344. package/docs/examples/w-panel-bulge_headerPadding.html +246 -0
  345. package/docs/examples/w-panel-bulge_headerTextColor_headerBackgroundColor.html +244 -0
  346. package/docs/examples/w-panel-bulge_no headerShadow_no contentShadow, with green outer.html +248 -0
  347. package/docs/examples/w-panel-bulge_slot for header_headerBorderRadius_headerBackgroundColor(linear-gradient).html +265 -0
  348. package/docs/examples/w-panel-bulge_with grey outer.html +244 -0
  349. package/docs/examples/w-panel-chart_cmpName (WEchartsVueDyn).html +322 -0
  350. package/docs/examples/w-panel-chart_cmpName (WHighchartsBitmapDyn).html +322 -0
  351. package/docs/examples/w-panel-chart_cmpName (WHighstockVueDyn).html +322 -0
  352. package/docs/examples/w-panel-chart_default (WHighchartsVueDyn).html +319 -0
  353. package/docs/examples/w-panel-chart_downloadPicture.html +322 -0
  354. package/docs/examples/w-panel-chart_downloadPicture_downloadPictureBtnIcon.html +323 -0
  355. package/docs/examples/w-panel-chart_downloadPicture_downloadPictureBtnIconColor_downloadPictureBtnIconColorHover_downloadPictureBtnIconColorFocus.html +330 -0
  356. package/docs/examples/w-panel-chart_downloadPicture_downloadPictureBtnTooltip.html +323 -0
  357. package/docs/examples/w-panel-chart_downloadPicture_downloadPictureFilenmae.html +323 -0
  358. package/docs/examples/w-panel-chart_scale.html +319 -0
  359. package/docs/examples/w-panel-chart_width_height.html +323 -0
  360. package/docs/examples/w-panel-divide-horizontal_barBorderSize_barBorderColor.html +202 -0
  361. package/docs/examples/w-panel-divide-horizontal_barColor.html +203 -0
  362. package/docs/examples/w-panel-divide-horizontal_barSize.html +201 -0
  363. package/docs/examples/w-panel-divide-horizontal_default.html +200 -0
  364. package/docs/examples/w-panel-divide-horizontal_min_max.html +204 -0
  365. package/docs/examples/w-panel-divide-horizontal_ratio.html +203 -0
  366. package/docs/examples/w-panel-divide-vertical_barBorderSize_barBorderColor.html +202 -0
  367. package/docs/examples/w-panel-divide-vertical_barColor.html +203 -0
  368. package/docs/examples/w-panel-divide-vertical_barSize.html +201 -0
  369. package/docs/examples/w-panel-divide-vertical_default.html +200 -0
  370. package/docs/examples/w-panel-divide-vertical_min_max.html +204 -0
  371. package/docs/examples/w-panel-divide-vertical_ratio.html +203 -0
  372. package/docs/examples/w-panel-scale_for select.html +232 -0
  373. package/docs/examples/w-panel-scale_for v-btn.html +241 -0
  374. package/docs/examples/w-panel-scale_for w-panel-bulge.html +230 -0
  375. package/docs/examples/w-panel-scale_for w-panel-scrolly.html +260 -0
  376. package/docs/examples/w-panel-scale_for w-text-suggest.html +238 -0
  377. package/docs/examples/w-panel-scrolly_barColor_barColorHover.html +222 -0
  378. package/docs/examples/w-panel-scrolly_barColor_barColorHover_barBackgroundColor_barBackgroundColorHover.html +226 -0
  379. package/docs/examples/w-panel-scrolly_barHeightMin.html +190 -0
  380. package/docs/examples/w-panel-scrolly_barWidth.html +218 -0
  381. package/docs/examples/w-panel-scrolly_default.html +221 -0
  382. package/docs/examples/w-panel-scrolly_ratio.html +226 -0
  383. package/docs/examples/w-panel-scrolly_scrollDelta.html +221 -0
  384. package/docs/examples/w-panel-stripe_borderRadius.html +194 -0
  385. package/docs/examples/w-panel-stripe_buttons in slot footer.html +203 -0
  386. package/docs/examples/w-panel-stripe_headerBackgroundColor_footerBackgroundColor.html +198 -0
  387. package/docs/examples/w-panel-stripe_no footer.html +194 -0
  388. package/docs/examples/w-panel-stripe_no header.html +194 -0
  389. package/docs/examples/w-panel-stripe_no shadow, with crimson outer.html +199 -0
  390. package/docs/examples/w-panel-stripe_only slot icon and slot title in header.html +190 -0
  391. package/docs/examples/w-panel-stripe_only slot title in header.html +186 -0
  392. package/docs/examples/w-panel-stripe_padding.html +196 -0
  393. package/docs/examples/w-panel-stripe_separate for slot content.html +204 -0
  394. package/docs/examples/w-panel-stripe_slot icon (fontawesome).html +197 -0
  395. package/docs/examples/w-panel-stripe_slot icon, slot title, slot description, slot content and slot footer.html +196 -0
  396. package/docs/examples/w-panel-stripe_table in slot content.html +261 -0
  397. package/docs/examples/w-panel-stripe_with grey outer.html +199 -0
  398. package/docs/examples/w-popup-edit-text_default.html +178 -0
  399. package/docs/examples/w-popup-edit-text_in table.html +191 -0
  400. package/docs/examples/w-popup-edit-text_minWidthForPopup.html +181 -0
  401. package/docs/examples/w-popup-edit-text_minWidthForValue.html +181 -0
  402. package/docs/examples/w-popup-edit-text_no title.html +178 -0
  403. package/docs/examples/w-popup-edit-text_title_contentIcon_contentIconColor_contentIconSize.html +186 -0
  404. package/docs/examples/w-popup-edit-text_title_footerBackgroundColor.html +182 -0
  405. package/docs/examples/w-popup-edit-text_title_inputTextColor_contentIconColor_contentBackgroundColor.html +189 -0
  406. package/docs/examples/w-popup-edit-text_title_saveBtnText_saveBtnTextColor_saveBtnTextColorHover.html +191 -0
  407. package/docs/examples/w-popup-edit-text_title_titleColor_titleFontSize_headerBackgroundColor.html +186 -0
  408. package/docs/examples/w-popup_auto flipping in scroll panel.html +295 -0
  409. package/docs/examples/w-popup_backgroundColor.html +279 -0
  410. package/docs/examples/w-popup_borderRadius.html +278 -0
  411. package/docs/examples/w-popup_click item by latency hiding.html +273 -0
  412. package/docs/examples/w-popup_default.html +273 -0
  413. package/docs/examples/w-popup_distY.html +278 -0
  414. package/docs/examples/w-popup_in dialog.html +304 -0
  415. package/docs/examples/w-popup_in popup.html +337 -0
  416. package/docs/examples/w-popup_in scroll panel.html +292 -0
  417. package/docs/examples/w-popup_isolated.html +281 -0
  418. package/docs/examples/w-popup_maxWidth.html +274 -0
  419. package/docs/examples/w-popup_minWidth.html +278 -0
  420. package/docs/examples/w-popup_no shadow_backgroundColor.html +280 -0
  421. package/docs/examples/w-popup_not editable.html +282 -0
  422. package/docs/examples/w-popup_shadowStyle.html +278 -0
  423. package/docs/examples/w-popup_slot for table_maxWidth.html +283 -0
  424. package/docs/examples/w-progress-bar_decimal.html +186 -0
  425. package/docs/examples/w-progress-bar_default.html +182 -0
  426. package/docs/examples/w-progress-bar_enableIconFinish (no iconFinish).html +186 -0
  427. package/docs/examples/w-progress-bar_enableIconWaiting (no iconWaiting).html +186 -0
  428. package/docs/examples/w-progress-bar_height.html +186 -0
  429. package/docs/examples/w-progress-bar_height_borderRadius.html +187 -0
  430. package/docs/examples/w-progress-bar_iconFinish (fontawesome).html +186 -0
  431. package/docs/examples/w-progress-bar_iconFinishColor.html +186 -0
  432. package/docs/examples/w-progress-bar_iconSize.html +186 -0
  433. package/docs/examples/w-progress-bar_iconWaiting (fontawesome).html +186 -0
  434. package/docs/examples/w-progress-bar_iconWaitingColor.html +186 -0
  435. package/docs/examples/w-progress-bar_progColor.html +186 -0
  436. package/docs/examples/w-progress-bar_progColor_progBackgroundColor.html +187 -0
  437. package/docs/examples/w-progress-bar_title.html +186 -0
  438. package/docs/examples/w-progress-bar_title_titleTextColor.html +187 -0
  439. package/docs/examples/w-progress-bar_title_titleTextFontSize.html +187 -0
  440. package/docs/examples/w-progress-bar_value=0 (waiting).html +185 -0
  441. package/docs/examples/w-progress-bar_value=100 (finish).html +185 -0
  442. package/docs/examples/w-progress-bar_valueTextColor.html +186 -0
  443. package/docs/examples/w-progress-bar_valueTextFontSize.html +186 -0
  444. package/docs/examples/w-progress-circle_color.html +182 -0
  445. package/docs/examples/w-progress-circle_default.html +181 -0
  446. package/docs/examples/w-progress-circle_small size.html +184 -0
  447. package/docs/examples/w-progress-circle_tooltip.html +183 -0
  448. package/docs/examples/w-progress-circle_very small size.html +183 -0
  449. package/docs/examples/w-progress-circle_width.html +178 -0
  450. package/docs/examples/w-progress-circle_/344/270/255/346/226/207text.html +178 -0
  451. package/docs/examples/w-quill-vue-dyn_default.html +201 -0
  452. package/docs/examples/w-quill-vue-dyn_height.html +202 -0
  453. package/docs/examples/w-quill-vue-dyn_not editable.html +202 -0
  454. package/docs/examples/w-quill-vue-dyn_settings.html +202 -0
  455. package/docs/examples/w-switch_default.html +173 -0
  456. package/docs/examples/w-switch_not editable.html +173 -0
  457. package/docs/examples/w-switch_text_color.html +177 -0
  458. package/docs/examples/w-switch_use string (y or n).html +173 -0
  459. package/docs/examples/w-table-dyn_default.html +517 -0
  460. package/docs/examples/w-table-dyn_editable.html +520 -0
  461. package/docs/examples/w-table-dyn_editable_checkId.html +521 -0
  462. package/docs/examples/w-table-dyn_editable_checkId_opt.modifyDataWhenSave_save(call cmp. method).html +533 -0
  463. package/docs/examples/w-table-dyn_editable_checkId_successMsgFromAddRow_errorMsgFromAddRow.html +531 -0
  464. package/docs/examples/w-table-dyn_editable_checkId_tooltipAddRow_tooltipDeleteSelectedRows.html +530 -0
  465. package/docs/examples/w-table-dyn_editable_inforPaddingStyle_menuBackgroundColor.html +526 -0
  466. package/docs/examples/w-table-dyn_editable_opt.beforeAddRow.html +520 -0
  467. package/docs/examples/w-table-dyn_editable_opt.kpConvertKeysWhenUploadData.html +520 -0
  468. package/docs/examples/w-table-dyn_editable_opt.optForUploadData.html +520 -0
  469. package/docs/examples/w-table-dyn_editable_slot btns.html +544 -0
  470. package/docs/examples/w-table-dyn_editable_textLabelDataName_textPlaceholderDataName_textLabelDataDescription.html +526 -0
  471. package/docs/examples/w-table-dyn_fixIds (fix id).html +521 -0
  472. package/docs/examples/w-table-dyn_hideIds (hide mappingId).html +521 -0
  473. package/docs/examples/w-table-dyn_name_description.html +519 -0
  474. package/docs/examples/w-table-dyn_opt.kpHead.html +519 -0
  475. package/docs/examples/w-table-dyn_removeIdsWhenDownload (remove id, mappingId, order, isActive).html +522 -0
  476. package/docs/examples/w-table-dyn_slot btns.html +543 -0
  477. package/docs/examples/w-table-dyn_slot infor (name_description).html +536 -0
  478. package/docs/examples/w-table-dyn_sortColIds (sort by order).html +520 -0
  479. package/docs/examples/w-text-int_borderRadius.html +193 -0
  480. package/docs/examples/w-text-int_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +205 -0
  481. package/docs/examples/w-text-int_border_borderRadius.html +201 -0
  482. package/docs/examples/w-text-int_border_buttonColor_buttonColorHover_buttonColorFocus.html +205 -0
  483. package/docs/examples/w-text-int_border_default.html +200 -0
  484. package/docs/examples/w-text-int_border_not editable.html +201 -0
  485. package/docs/examples/w-text-int_border_width.html +201 -0
  486. package/docs/examples/w-text-int_buttonColor_buttonColorHover_buttonColorFocus.html +200 -0
  487. package/docs/examples/w-text-int_buttonIconSize.html +193 -0
  488. package/docs/examples/w-text-int_default.html +193 -0
  489. package/docs/examples/w-text-int_not editable.html +193 -0
  490. package/docs/examples/w-text-int_textColor.html +193 -0
  491. package/docs/examples/w-text-int_textFontSize.html +193 -0
  492. package/docs/examples/w-text-int_width.html +193 -0
  493. package/docs/examples/w-text-select_a lot of items.html +270 -0
  494. package/docs/examples/w-text-select_borderRadius.html +271 -0
  495. package/docs/examples/w-text-select_border_a lot of items.html +275 -0
  496. package/docs/examples/w-text-select_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +280 -0
  497. package/docs/examples/w-text-select_border_borderRadius.html +276 -0
  498. package/docs/examples/w-text-select_border_default.html +274 -0
  499. package/docs/examples/w-text-select_border_events.html +284 -0
  500. package/docs/examples/w-text-select_border_expansionIconSize.html +275 -0
  501. package/docs/examples/w-text-select_border_fullwidth.html +275 -0
  502. package/docs/examples/w-text-select_border_itemPaddingStyle.html +276 -0
  503. package/docs/examples/w-text-select_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +281 -0
  504. package/docs/examples/w-text-select_border_itemTextFontSize_defItemHeight_width.html +280 -0
  505. package/docs/examples/w-text-select_border_items(string array).html +275 -0
  506. package/docs/examples/w-text-select_border_keyText.html +276 -0
  507. package/docs/examples/w-text-select_border_leftIcon (fontawesome).html +275 -0
  508. package/docs/examples/w-text-select_border_leftIcon (material).html +275 -0
  509. package/docs/examples/w-text-select_border_leftIcon_leftIconColor_leftIconColorHover.html +281 -0
  510. package/docs/examples/w-text-select_border_leftIcon_leftIconSize.html +276 -0
  511. package/docs/examples/w-text-select_border_not editable.html +276 -0
  512. package/docs/examples/w-text-select_border_paddingStyle (equal height to using icon).html +277 -0
  513. package/docs/examples/w-text-select_border_paddingStyle (thin style).html +275 -0
  514. package/docs/examples/w-text-select_border_rightIcon_rightIconColor_rightIconColorHover.html +281 -0
  515. package/docs/examples/w-text-select_border_rightIcon_rightIconSize.html +276 -0
  516. package/docs/examples/w-text-select_border_showExpansionIcon.html +276 -0
  517. package/docs/examples/w-text-select_border_slot item.html +282 -0
  518. package/docs/examples/w-text-select_border_slot select.html +283 -0
  519. package/docs/examples/w-text-select_border_textColor_expansionIconColor.html +276 -0
  520. package/docs/examples/w-text-select_border_textFontSize.html +275 -0
  521. package/docs/examples/w-text-select_border_with popup.html +284 -0
  522. package/docs/examples/w-text-select_default.html +269 -0
  523. package/docs/examples/w-text-select_events.html +279 -0
  524. package/docs/examples/w-text-select_expansionIconSize.html +270 -0
  525. package/docs/examples/w-text-select_fullwidth.html +270 -0
  526. package/docs/examples/w-text-select_itemPaddingStyle.html +271 -0
  527. package/docs/examples/w-text-select_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +276 -0
  528. package/docs/examples/w-text-select_itemTextFontSize_defItemHeight_width.html +273 -0
  529. package/docs/examples/w-text-select_items(string array).html +270 -0
  530. package/docs/examples/w-text-select_keyText.html +271 -0
  531. package/docs/examples/w-text-select_leftIcon (fontawesome).html +270 -0
  532. package/docs/examples/w-text-select_leftIcon (material).html +270 -0
  533. package/docs/examples/w-text-select_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +276 -0
  534. package/docs/examples/w-text-select_leftIcon_leftIconSize.html +271 -0
  535. package/docs/examples/w-text-select_not editable.html +271 -0
  536. package/docs/examples/w-text-select_paddingStyle (equal height to using icon).html +270 -0
  537. package/docs/examples/w-text-select_paddingStyle (thin style).html +270 -0
  538. package/docs/examples/w-text-select_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +276 -0
  539. package/docs/examples/w-text-select_rightIcon_rightIconSize.html +271 -0
  540. package/docs/examples/w-text-select_showExpansionIcon.html +271 -0
  541. package/docs/examples/w-text-select_slot item.html +277 -0
  542. package/docs/examples/w-text-select_slot select.html +278 -0
  543. package/docs/examples/w-text-select_textColor_expansionIconColor.html +271 -0
  544. package/docs/examples/w-text-select_textFontSize.html +270 -0
  545. package/docs/examples/w-text-select_with popup.html +304 -0
  546. package/docs/examples/w-text-suggest_a lot of items.html +296 -0
  547. package/docs/examples/w-text-suggest_borderRadius.html +296 -0
  548. package/docs/examples/w-text-suggest_border_a lot of items.html +301 -0
  549. package/docs/examples/w-text-suggest_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +305 -0
  550. package/docs/examples/w-text-suggest_border_borderRadius.html +301 -0
  551. package/docs/examples/w-text-suggest_border_default.html +299 -0
  552. package/docs/examples/w-text-suggest_border_events.html +309 -0
  553. package/docs/examples/w-text-suggest_border_expansionIconSize.html +300 -0
  554. package/docs/examples/w-text-suggest_border_fullwidth.html +300 -0
  555. package/docs/examples/w-text-suggest_border_itemPaddingStyle.html +301 -0
  556. package/docs/examples/w-text-suggest_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +306 -0
  557. package/docs/examples/w-text-suggest_border_itemTextFontSize_defItemHeight.html +302 -0
  558. package/docs/examples/w-text-suggest_border_items(string array).html +300 -0
  559. package/docs/examples/w-text-suggest_border_keyText.html +302 -0
  560. package/docs/examples/w-text-suggest_border_leftIcon (fontawesome).html +300 -0
  561. package/docs/examples/w-text-suggest_border_leftIcon (material).html +300 -0
  562. package/docs/examples/w-text-suggest_border_leftIcon_leftIconColor_leftIconColorHover.html +306 -0
  563. package/docs/examples/w-text-suggest_border_leftIcon_leftIconSize.html +301 -0
  564. package/docs/examples/w-text-suggest_border_not editable.html +301 -0
  565. package/docs/examples/w-text-suggest_border_paddingStyle (equal height to using icon).html +302 -0
  566. package/docs/examples/w-text-suggest_border_paddingStyle (thin style).html +300 -0
  567. package/docs/examples/w-text-suggest_border_placeholder.html +301 -0
  568. package/docs/examples/w-text-suggest_border_rightIcon_rightIconColor_rightIconColorHover.html +306 -0
  569. package/docs/examples/w-text-suggest_border_rightIcon_rightIconSize.html +301 -0
  570. package/docs/examples/w-text-suggest_border_searchEmpty.html +300 -0
  571. package/docs/examples/w-text-suggest_border_showExpansionIcon.html +301 -0
  572. package/docs/examples/w-text-suggest_border_showPanel(press enter to hide panel)_focused.html +322 -0
  573. package/docs/examples/w-text-suggest_border_slot item.html +307 -0
  574. package/docs/examples/w-text-suggest_border_textColor_expansionIconColor.html +301 -0
  575. package/docs/examples/w-text-suggest_border_textFontSize.html +300 -0
  576. package/docs/examples/w-text-suggest_border_with popup.html +309 -0
  577. package/docs/examples/w-text-suggest_default.html +294 -0
  578. package/docs/examples/w-text-suggest_events.html +304 -0
  579. package/docs/examples/w-text-suggest_expansionIconSize.html +295 -0
  580. package/docs/examples/w-text-suggest_fullwidth.html +295 -0
  581. package/docs/examples/w-text-suggest_itemPaddingStyle.html +296 -0
  582. package/docs/examples/w-text-suggest_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +301 -0
  583. package/docs/examples/w-text-suggest_itemTextFontSize_defItemHeight.html +297 -0
  584. package/docs/examples/w-text-suggest_items(string array).html +295 -0
  585. package/docs/examples/w-text-suggest_keyText.html +297 -0
  586. package/docs/examples/w-text-suggest_leftIcon (fontawesome).html +295 -0
  587. package/docs/examples/w-text-suggest_leftIcon (material).html +295 -0
  588. package/docs/examples/w-text-suggest_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +301 -0
  589. package/docs/examples/w-text-suggest_leftIcon_leftIconSize.html +296 -0
  590. package/docs/examples/w-text-suggest_not editable.html +296 -0
  591. package/docs/examples/w-text-suggest_paddingStyle (equal height to using icon).html +295 -0
  592. package/docs/examples/w-text-suggest_paddingStyle (thin style).html +295 -0
  593. package/docs/examples/w-text-suggest_placeholder.html +296 -0
  594. package/docs/examples/w-text-suggest_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +301 -0
  595. package/docs/examples/w-text-suggest_rightIcon_rightIconSize.html +296 -0
  596. package/docs/examples/w-text-suggest_searchEmpty.html +295 -0
  597. package/docs/examples/w-text-suggest_showExpansionIcon.html +296 -0
  598. package/docs/examples/w-text-suggest_showPanel(press enter to hide panel)_focused.html +315 -0
  599. package/docs/examples/w-text-suggest_slot item.html +302 -0
  600. package/docs/examples/w-text-suggest_textColor_expansionIconColor.html +296 -0
  601. package/docs/examples/w-text-suggest_textFontSize.html +295 -0
  602. package/docs/examples/w-text_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +228 -0
  603. package/docs/examples/w-text_border_borderRadius_paddingStyle.html +227 -0
  604. package/docs/examples/w-text_border_default.html +226 -0
  605. package/docs/examples/w-text_border_events.html +235 -0
  606. package/docs/examples/w-text_border_fullwidth.html +227 -0
  607. package/docs/examples/w-text_border_leftIcon (fontawesome).html +227 -0
  608. package/docs/examples/w-text_border_leftIcon (material).html +227 -0
  609. package/docs/examples/w-text_border_leftIcon_leftIconColor_leftIconColorHover.html +232 -0
  610. package/docs/examples/w-text_border_not editable.html +228 -0
  611. package/docs/examples/w-text_border_placeholder.html +227 -0
  612. package/docs/examples/w-text_border_rightIcon_rightIconColorHover_rightIconColorFocus.html +232 -0
  613. package/docs/examples/w-text_border_textAlign.html +265 -0
  614. package/docs/examples/w-text_border_textColor.html +227 -0
  615. package/docs/examples/w-text_bottomLineBorderColor_bottomLineBorderColorHover_bottomLineBorderColorFocus.html +219 -0
  616. package/docs/examples/w-text_default.html +212 -0
  617. package/docs/examples/w-text_events.html +223 -0
  618. package/docs/examples/w-text_fullwidth.html +215 -0
  619. package/docs/examples/w-text_leftIcon (fontawesome).html +212 -0
  620. package/docs/examples/w-text_leftIcon (material).html +215 -0
  621. package/docs/examples/w-text_leftIcon_leftIconColor_leftIconColorFocus.html +219 -0
  622. package/docs/examples/w-text_leftIcon_leftIconSize.html +216 -0
  623. package/docs/examples/w-text_leftIcon_leftIconTooltip.html +216 -0
  624. package/docs/examples/w-text_not editable.html +216 -0
  625. package/docs/examples/w-text_placeholder.html +216 -0
  626. package/docs/examples/w-text_rightIcon.html +212 -0
  627. package/docs/examples/w-text_rightIcon_rightIconColor_rightIconColorFocus.html +219 -0
  628. package/docs/examples/w-text_rightIcon_rightIconSize.html +216 -0
  629. package/docs/examples/w-text_rightIcon_rightIconTooltip.html +216 -0
  630. package/docs/examples/w-text_textAlign.html +220 -0
  631. package/docs/examples/w-text_textColor.html +212 -0
  632. package/docs/examples/w-text_textFontSize.html +212 -0
  633. package/docs/examples/w-textarea_borderColorFocus.html +195 -0
  634. package/docs/examples/w-textarea_default.html +192 -0
  635. package/docs/examples/w-textarea_fullwidth.html +192 -0
  636. package/docs/examples/w-textarea_not editable.html +192 -0
  637. package/docs/examples/w-textarea_placeholder.html +192 -0
  638. package/docs/examples/w-timeday-range_between.html +209 -0
  639. package/docs/examples/w-timeday-range_borderRadius.html +209 -0
  640. package/docs/examples/w-timeday-range_border_between.html +214 -0
  641. package/docs/examples/w-timeday-range_border_borderRadius.html +214 -0
  642. package/docs/examples/w-timeday-range_border_default.html +213 -0
  643. package/docs/examples/w-timeday-range_border_icon (fontawesome).html +214 -0
  644. package/docs/examples/w-timeday-range_border_icon (material).html +214 -0
  645. package/docs/examples/w-timeday-range_border_iconColor_iconColorFoucs_borderColor.html +216 -0
  646. package/docs/examples/w-timeday-range_border_iconTooltip.html +214 -0
  647. package/docs/examples/w-timeday-range_border_not editable.html +214 -0
  648. package/docs/examples/w-timeday-range_border_pickColor.html +214 -0
  649. package/docs/examples/w-timeday-range_border_textColor.html +214 -0
  650. package/docs/examples/w-timeday-range_default.html +208 -0
  651. package/docs/examples/w-timeday-range_icon (fontawesome).html +209 -0
  652. package/docs/examples/w-timeday-range_icon (material).html +209 -0
  653. package/docs/examples/w-timeday-range_iconColor_iconColorFoucs.html +210 -0
  654. package/docs/examples/w-timeday-range_iconTooltip.html +209 -0
  655. package/docs/examples/w-timeday-range_icon_iconSize.html +210 -0
  656. package/docs/examples/w-timeday-range_not editable.html +209 -0
  657. package/docs/examples/w-timeday-range_pickColor.html +209 -0
  658. package/docs/examples/w-timeday-range_textColor.html +209 -0
  659. package/docs/examples/w-timeday_borderRadius.html +188 -0
  660. package/docs/examples/w-timeday_border_borderRadius.html +196 -0
  661. package/docs/examples/w-timeday_border_default.html +195 -0
  662. package/docs/examples/w-timeday_border_icon (fontawesome).html +196 -0
  663. package/docs/examples/w-timeday_border_icon (material).html +196 -0
  664. package/docs/examples/w-timeday_border_iconColor_iconColorFoucs_borderColor.html +198 -0
  665. package/docs/examples/w-timeday_border_iconTooltip.html +197 -0
  666. package/docs/examples/w-timeday_border_not editable.html +196 -0
  667. package/docs/examples/w-timeday_border_pickColor.html +196 -0
  668. package/docs/examples/w-timeday_border_textColor.html +196 -0
  669. package/docs/examples/w-timeday_default.html +188 -0
  670. package/docs/examples/w-timeday_icon (fontawesome).html +188 -0
  671. package/docs/examples/w-timeday_icon (material).html +191 -0
  672. package/docs/examples/w-timeday_iconColor_iconColorFoucs.html +192 -0
  673. package/docs/examples/w-timeday_iconTooltip.html +192 -0
  674. package/docs/examples/w-timeday_icon_iconSize.html +192 -0
  675. package/docs/examples/w-timeday_not editable.html +188 -0
  676. package/docs/examples/w-timeday_pickColor.html +188 -0
  677. package/docs/examples/w-timeday_textColor.html +188 -0
  678. package/docs/examples/w-timeminute-range_between.html +233 -0
  679. package/docs/examples/w-timeminute-range_borderRadius.html +233 -0
  680. package/docs/examples/w-timeminute-range_border_between.html +238 -0
  681. package/docs/examples/w-timeminute-range_border_borderRadius.html +238 -0
  682. package/docs/examples/w-timeminute-range_border_default.html +237 -0
  683. package/docs/examples/w-timeminute-range_border_hourMin_hourMax.html +239 -0
  684. package/docs/examples/w-timeminute-range_border_icon (fontawesome).html +238 -0
  685. package/docs/examples/w-timeminute-range_border_icon (material).html +238 -0
  686. package/docs/examples/w-timeminute-range_border_iconColor_iconColorFoucs_borderColor.html +240 -0
  687. package/docs/examples/w-timeminute-range_border_iconTooltip.html +238 -0
  688. package/docs/examples/w-timeminute-range_border_minuteInter.html +238 -0
  689. package/docs/examples/w-timeminute-range_border_minutesCustom.html +238 -0
  690. package/docs/examples/w-timeminute-range_border_not editable.html +238 -0
  691. package/docs/examples/w-timeminute-range_border_pickColor.html +238 -0
  692. package/docs/examples/w-timeminute-range_border_textColor_expansionIconColor.html +239 -0
  693. package/docs/examples/w-timeminute-range_default.html +232 -0
  694. package/docs/examples/w-timeminute-range_hourMin_hourMax.html +234 -0
  695. package/docs/examples/w-timeminute-range_icon (fontawesome).html +233 -0
  696. package/docs/examples/w-timeminute-range_icon (material).html +233 -0
  697. package/docs/examples/w-timeminute-range_iconColor_iconColorFoucs.html +234 -0
  698. package/docs/examples/w-timeminute-range_iconTooltip.html +233 -0
  699. package/docs/examples/w-timeminute-range_icon_iconSize.html +234 -0
  700. package/docs/examples/w-timeminute-range_minuteInter.html +233 -0
  701. package/docs/examples/w-timeminute-range_minutesCustom.html +233 -0
  702. package/docs/examples/w-timeminute-range_not editable.html +233 -0
  703. package/docs/examples/w-timeminute-range_pickColor.html +233 -0
  704. package/docs/examples/w-timeminute-range_textColor_expansionIconColor.html +234 -0
  705. package/docs/examples/w-timeminute_borderRadius.html +201 -0
  706. package/docs/examples/w-timeminute_border_borderRadius.html +209 -0
  707. package/docs/examples/w-timeminute_border_default.html +208 -0
  708. package/docs/examples/w-timeminute_border_hourMin_hourMax.html +210 -0
  709. package/docs/examples/w-timeminute_border_icon (fontawesome).html +209 -0
  710. package/docs/examples/w-timeminute_border_icon (material).html +209 -0
  711. package/docs/examples/w-timeminute_border_iconColor_iconColorFoucs_borderColor.html +211 -0
  712. package/docs/examples/w-timeminute_border_iconTooltip.html +210 -0
  713. package/docs/examples/w-timeminute_border_minuteInter.html +209 -0
  714. package/docs/examples/w-timeminute_border_minutesCustom.html +209 -0
  715. package/docs/examples/w-timeminute_border_not editable.html +209 -0
  716. package/docs/examples/w-timeminute_border_pickColor.html +209 -0
  717. package/docs/examples/w-timeminute_border_textColor_expansionIconColor.html +210 -0
  718. package/docs/examples/w-timeminute_default.html +201 -0
  719. package/docs/examples/w-timeminute_hourMin_hourMax.html +205 -0
  720. package/docs/examples/w-timeminute_icon (fontawesome).html +204 -0
  721. package/docs/examples/w-timeminute_icon (material).html +204 -0
  722. package/docs/examples/w-timeminute_iconColor_iconColorFoucs.html +205 -0
  723. package/docs/examples/w-timeminute_iconTooltip.html +205 -0
  724. package/docs/examples/w-timeminute_icon_iconSize.html +205 -0
  725. package/docs/examples/w-timeminute_minuteInter.html +201 -0
  726. package/docs/examples/w-timeminute_minutesCustom.html +204 -0
  727. package/docs/examples/w-timeminute_not editable.html +201 -0
  728. package/docs/examples/w-timeminute_pickColor.html +201 -0
  729. package/docs/examples/w-timeminute_textColor_expansionIconColor.html +205 -0
  730. package/docs/examples/w-tinymce-vue-dyn_default.html +191 -0
  731. package/docs/examples/w-tinymce-vue-dyn_height.html +192 -0
  732. package/docs/examples/w-tinymce-vue-dyn_not editable.html +192 -0
  733. package/docs/examples/w-tinymce-vue-dyn_settings.html +192 -0
  734. package/docs/examples/w-tree_default.html +629 -0
  735. package/docs/examples/w-tree_defaultDisplayLevel.html +633 -0
  736. package/docs/examples/w-tree_draggable.html +637 -0
  737. package/docs/examples/w-tree_draggable_dgInsertLineColor_dgInsertBackgroundColor_dgBelongBackgroundColor.html +642 -0
  738. package/docs/examples/w-tree_draggable_dgPreviewOpacity_dgPreviewBorderWidth_dgBelongBackgroundColor.html +643 -0
  739. package/docs/examples/w-tree_draggable_dgTextDisabled_dgTextDisabledColor_dgTextDisabledPaddingLeft.html +644 -0
  740. package/docs/examples/w-tree_filterKeywords_searchEmpty_selectable.html +709 -0
  741. package/docs/examples/w-tree_iconToggleColor_iconToggleBackgroundColor_iconToggleBackgroundColorHover.html +637 -0
  742. package/docs/examples/w-tree_indent.html +633 -0
  743. package/docs/examples/w-tree_keyPrimary_keyText_keyChildren.html +635 -0
  744. package/docs/examples/w-tree_mouseenter_mouseleave_click_change-view-items.html +638 -0
  745. package/docs/examples/w-tree_operatable.html +638 -0
  746. package/docs/examples/w-tree_operatable_operateBtnBackgroundColor_operateBtnBackgroundColorHover_operateBtnBackgroundColorFocus.html +643 -0
  747. package/docs/examples/w-tree_operatable_operateBtnTooltip_operateItemTextForInsertBefore_perateItemTextForInsertChild.html +645 -0
  748. package/docs/examples/w-tree_operatable_operateItemBackgroundColor_operateItemBackgroundColorHover_operateItemTextColor.html +646 -0
  749. package/docs/examples/w-tree_operatable_operateItemIconSize_operateItemPaddingStyle_operatePanelWidth.html +644 -0
  750. package/docs/examples/w-tree_paddingStyle.html +633 -0
  751. package/docs/examples/w-tree_selectable.html +650 -0
  752. package/docs/examples/w-tree_selectable_draggable.html +655 -0
  753. package/docs/examples/w-tree_selectable_large data (100,000 items).html +663 -0
  754. package/docs/examples/w-tree_separatorColor.html +633 -0
  755. package/docs/examples/w-tree_separatorColor_separatorHeight.html +634 -0
  756. package/docs/examples/w-tree_slot.html +673 -0
  757. package/docs/examples/w-tree_slot_defItemHeight.html +643 -0
  758. package/docs/examples/w-tree_slot_iconUncheckedColor_iconUncheckedDisabledColor_iconCheckedColor.html +708 -0
  759. package/docs/examples/w-tree_slot_locked_selectable.html +700 -0
  760. package/docs/examples/w-tree_slot_operatable.html +649 -0
  761. package/docs/examples/w-tree_slot_selectable.html +699 -0
  762. package/docs/examples/w-tree_slot_selectable_draggable.html +704 -0
  763. package/docs/examples/w-tree_viewHeightMax.html +633 -0
  764. package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  765. package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  766. package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  767. package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  768. package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  769. package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  770. package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  771. package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  772. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  773. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +978 -0
  774. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  775. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  776. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  777. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  778. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +1049 -0
  779. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  780. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  781. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  782. package/docs/global.html +1036 -0
  783. package/docs/highchartsSetting.mjs.html +285 -0
  784. package/docs/index.html +81 -0
  785. package/docs/module-WAggridVueDyn.html +537 -0
  786. package/docs/module-WBadge.html +255 -0
  787. package/docs/module-WButtonChip.html +441 -0
  788. package/docs/module-WButtonCircle.html +321 -0
  789. package/docs/module-WCheckbox.html +249 -0
  790. package/docs/module-WCkeditorVueDyn.html +237 -0
  791. package/docs/module-WConfirm.html +345 -0
  792. package/docs/module-WDialog.html +297 -0
  793. package/docs/module-WDropfiles.html +261 -0
  794. package/docs/module-WDynamicList.html +261 -0
  795. package/docs/module-WEchartsVueDyn.html +219 -0
  796. package/docs/module-WGroupCheck.html +435 -0
  797. package/docs/module-WGroupDragdrop.html +231 -0
  798. package/docs/module-WGroupRadio.html +429 -0
  799. package/docs/module-WGroupTags.html +621 -0
  800. package/docs/module-WHighchartsBitmapDyn.html +219 -0
  801. package/docs/module-WHighchartsVueDyn.html +219 -0
  802. package/docs/module-WHighstockVueDyn.html +219 -0
  803. package/docs/module-WIcon.html +225 -0
  804. package/docs/module-WIconLoading.html +219 -0
  805. package/docs/module-WIconSvg.html +243 -0
  806. package/docs/module-WImageCascadingDyn.html +267 -0
  807. package/docs/module-WImageViewerDyn.html +237 -0
  808. package/docs/module-WJsonView.html +303 -0
  809. package/docs/module-WJsonViewCore.html +243 -0
  810. package/docs/module-WLeafletVueDyn.html +675 -0
  811. package/docs/module-WListVertical.html +315 -0
  812. package/docs/module-WListVerticalItem.html +303 -0
  813. package/docs/module-WPanelBulge.html +267 -0
  814. package/docs/module-WPanelDivideHorizontal.html +249 -0
  815. package/docs/module-WPanelDivideVertical.html +249 -0
  816. package/docs/module-WPanelScrolly.html +255 -0
  817. package/docs/module-WPanelScrollyCore.html +267 -0
  818. package/docs/module-WPanelStripe.html +255 -0
  819. package/docs/module-WPopup.html +267 -0
  820. package/docs/module-WPopupEditText.html +363 -0
  821. package/docs/module-WProgressBar.html +315 -0
  822. package/docs/module-WProgressCircle.html +243 -0
  823. package/docs/module-WQuillVueDyn.html +237 -0
  824. package/docs/module-WShellBottomLine.html +249 -0
  825. package/docs/module-WShellEllipse.html +369 -0
  826. package/docs/module-WShellMaterial.html +285 -0
  827. package/docs/module-WSwitch.html +231 -0
  828. package/docs/module-WTableDyn.html +697 -0
  829. package/docs/module-WText.html +435 -0
  830. package/docs/module-WTextCore.html +261 -0
  831. package/docs/module-WTextInt.html +387 -0
  832. package/docs/module-WTextIntCore.html +291 -0
  833. package/docs/module-WTextSelect.html +447 -0
  834. package/docs/module-WTextSuggest.html +465 -0
  835. package/docs/module-WTextSuggestCore.html +369 -0
  836. package/docs/module-WTextarea.html +231 -0
  837. package/docs/module-WTimeday.html +345 -0
  838. package/docs/module-WTimedayCore.html +243 -0
  839. package/docs/module-WTimedayRange.html +351 -0
  840. package/docs/module-WTimedayRangeCore.html +255 -0
  841. package/docs/module-WTimeminute.html +381 -0
  842. package/docs/module-WTimeminuteCore.html +285 -0
  843. package/docs/module-WTimeminuteRange.html +393 -0
  844. package/docs/module-WTimeminuteRangeCore.html +297 -0
  845. package/docs/module-WTinymceVueDyn.html +237 -0
  846. package/docs/module-WTree.html +573 -0
  847. package/docs/module-WTreeIconCheckbox.html +255 -0
  848. package/docs/module-WTreeIconToggle.html +231 -0
  849. package/docs/scripts/collapse.js +20 -0
  850. package/docs/scripts/linenumber.js +25 -0
  851. package/docs/scripts/nav.js +12 -0
  852. package/docs/scripts/polyfill.js +4 -0
  853. package/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
  854. package/docs/scripts/prettify/lang-css.js +2 -0
  855. package/docs/scripts/prettify/prettify.js +28 -0
  856. package/docs/scripts/search.js +83 -0
  857. package/docs/styles/jsdoc.css +765 -0
  858. package/docs/styles/prettify.css +79 -0
  859. package/docs/vuetifyColor.mjs.html +157 -0
  860. package/gUITest.mjs +30 -0
  861. package/package.json +68 -0
  862. package/public/index.html +48 -0
  863. package/src/App.vue +783 -0
  864. package/src/AppZoneWAggridVueDyn.vue +237 -0
  865. package/src/AppZoneWAlert.vue +246 -0
  866. package/src/AppZoneWBadge.vue +180 -0
  867. package/src/AppZoneWButtonChip.vue +871 -0
  868. package/src/AppZoneWButtonCircle.vue +274 -0
  869. package/src/AppZoneWCheckbox.vue +139 -0
  870. package/src/AppZoneWCkeditorVueDyn.vue +145 -0
  871. package/src/AppZoneWConfirm.vue +469 -0
  872. package/src/AppZoneWDialog.vue +929 -0
  873. package/src/AppZoneWDropfiles.vue +225 -0
  874. package/src/AppZoneWDynamicList.vue +536 -0
  875. package/src/AppZoneWEchartsVueDyn.vue +1180 -0
  876. package/src/AppZoneWGroupCheck.vue +780 -0
  877. package/src/AppZoneWGroupDragdrop.vue +291 -0
  878. package/src/AppZoneWGroupRadio.vue +756 -0
  879. package/src/AppZoneWGroupTags.vue +1302 -0
  880. package/src/AppZoneWHighchartsBitmapDyn.vue +635 -0
  881. package/src/AppZoneWHighchartsVueDyn.vue +517 -0
  882. package/src/AppZoneWHighstockVueDyn.vue +161 -0
  883. package/src/AppZoneWIconSvg.vue +140 -0
  884. package/src/AppZoneWImageCascadingDyn.vue +140 -0
  885. package/src/AppZoneWImageViewerDyn.vue +106 -0
  886. package/src/AppZoneWJsonView.vue +222 -0
  887. package/src/AppZoneWLeafletVueDyn.vue +299 -0
  888. package/src/AppZoneWListVertical.vue +480 -0
  889. package/src/AppZoneWPanelBulge.vue +284 -0
  890. package/src/AppZoneWPanelChart.vue +343 -0
  891. package/src/AppZoneWPanelDivideHorizontal.vue +223 -0
  892. package/src/AppZoneWPanelDivideVertical.vue +223 -0
  893. package/src/AppZoneWPanelScale.vue +283 -0
  894. package/src/AppZoneWPanelScrolly.vue +171 -0
  895. package/src/AppZoneWPanelStripe.vue +596 -0
  896. package/src/AppZoneWPopup.vue +629 -0
  897. package/src/AppZoneWPopupEditText.vue +249 -0
  898. package/src/AppZoneWProgressBar.vue +356 -0
  899. package/src/AppZoneWProgressCircle.vue +144 -0
  900. package/src/AppZoneWQuillVueDyn.vue +141 -0
  901. package/src/AppZoneWSwitch.vue +87 -0
  902. package/src/AppZoneWTableDyn.vue +610 -0
  903. package/src/AppZoneWText.vue +740 -0
  904. package/src/AppZoneWTextInt.vue +269 -0
  905. package/src/AppZoneWTextSelect.vue +1140 -0
  906. package/src/AppZoneWTextSuggest.vue +1242 -0
  907. package/src/AppZoneWTextarea.vue +114 -0
  908. package/src/AppZoneWTimeday.vue +346 -0
  909. package/src/AppZoneWTimedayRange.vue +421 -0
  910. package/src/AppZoneWTimeminute.vue +462 -0
  911. package/src/AppZoneWTimeminuteRange.vue +548 -0
  912. package/src/AppZoneWTinymceVueDyn.vue +130 -0
  913. package/src/AppZoneWTree.vue +1364 -0
  914. package/src/components/WAggridVueDyn.vue +136 -0
  915. package/src/components/WAlert.mjs +7 -0
  916. package/src/components/WBadge.vue +181 -0
  917. package/src/components/WButtonChip.vue +947 -0
  918. package/src/components/WButtonCircle.vue +459 -0
  919. package/src/components/WCheckbox.vue +154 -0
  920. package/src/components/WCkeditorVueDyn.vue +86 -0
  921. package/src/components/WComponentVue.vue +144 -0
  922. package/src/components/WConfirm.vue +320 -0
  923. package/src/components/WDialog.vue +547 -0
  924. package/src/components/WDropfiles.vue +146 -0
  925. package/src/components/WDynamicList.vue +898 -0
  926. package/src/components/WEchartsVueDyn.vue +77 -0
  927. package/src/components/WGroupCheck.vue +685 -0
  928. package/src/components/WGroupDragdrop.vue +223 -0
  929. package/src/components/WGroupRadio.vue +254 -0
  930. package/src/components/WGroupTags.vue +944 -0
  931. package/src/components/WHighchartsBitmapDyn.vue +216 -0
  932. package/src/components/WHighchartsVueDyn.vue +85 -0
  933. package/src/components/WHighstockVueDyn.vue +81 -0
  934. package/src/components/WIcon.vue +129 -0
  935. package/src/components/WIconLoading.vue +163 -0
  936. package/src/components/WIconSvg.vue +118 -0
  937. package/src/components/WImageCascadingDyn.vue +591 -0
  938. package/src/components/WImageViewerDyn.vue +148 -0
  939. package/src/components/WJsonView.vue +1176 -0
  940. package/src/components/WJsonViewCore.vue +163 -0
  941. package/src/components/WLeafletVueDyn.vue +146 -0
  942. package/src/components/WListVertical.vue +306 -0
  943. package/src/components/WListVerticalItem.vue +261 -0
  944. package/src/components/WPanelBulge.vue +193 -0
  945. package/src/components/WPanelChart.vue +219 -0
  946. package/src/components/WPanelDivideHorizontal.vue +198 -0
  947. package/src/components/WPanelDivideVertical.vue +198 -0
  948. package/src/components/WPanelScale.vue +114 -0
  949. package/src/components/WPanelScrolly.vue +189 -0
  950. package/src/components/WPanelScrollyCore.vue +768 -0
  951. package/src/components/WPanelStripe.vue +152 -0
  952. package/src/components/WPopup.vue +527 -0
  953. package/src/components/WPopupEditText.vue +326 -0
  954. package/src/components/WProgressBar.vue +236 -0
  955. package/src/components/WProgressCircle.vue +132 -0
  956. package/src/components/WQuillVueDyn.vue +87 -0
  957. package/src/components/WShellBottomLine.vue +139 -0
  958. package/src/components/WShellEllipse.vue +416 -0
  959. package/src/components/WShellMaterial.vue +250 -0
  960. package/src/components/WSwitch.vue +115 -0
  961. package/src/components/WTableDyn.vue +1095 -0
  962. package/src/components/WText.vue +323 -0
  963. package/src/components/WTextCore.vue +227 -0
  964. package/src/components/WTextInt.vue +275 -0
  965. package/src/components/WTextIntCore.vue +288 -0
  966. package/src/components/WTextSelect.vue +442 -0
  967. package/src/components/WTextSuggest.vue +456 -0
  968. package/src/components/WTextSuggestCore.vue +648 -0
  969. package/src/components/WTextarea.vue +89 -0
  970. package/src/components/WTimeday.vue +228 -0
  971. package/src/components/WTimedayCore.vue +197 -0
  972. package/src/components/WTimedayRange.vue +235 -0
  973. package/src/components/WTimedayRangeCore.vue +142 -0
  974. package/src/components/WTimeminute.vue +264 -0
  975. package/src/components/WTimeminuteCore.vue +294 -0
  976. package/src/components/WTimeminuteRange.vue +277 -0
  977. package/src/components/WTimeminuteRangeCore.vue +192 -0
  978. package/src/components/WTinymceVueDyn.vue +86 -0
  979. package/src/components/WTree.vue +2504 -0
  980. package/src/components/WTreeIconCheckbox.vue +170 -0
  981. package/src/components/WTreeIconToggle.vue +155 -0
  982. package/src/components/demolink.vue +103 -0
  983. package/src/js/binarySearch.mjs +91 -0
  984. package/src/js/domDragDrop.mjs +154 -0
  985. package/src/js/domMutation.mjs +76 -0
  986. package/src/js/domResize.mjs +71 -0
  987. package/src/js/domRipple.mjs +120 -0
  988. package/src/js/getVue.mjs +30 -0
  989. package/src/js/globalMemory.mjs +29 -0
  990. package/src/js/highchartsSetting.mjs +216 -0
  991. package/src/js/parseSpace.mjs +83 -0
  992. package/src/js/vuetifyColor.mjs +88 -0
  993. package/src/main.js +10 -0
  994. package/src/plugins/vuetify.mjs +13 -0
  995. package/test/all.test.mjs +10 -0
  996. package/toolg/addVersion.mjs +4 -0
  997. package/toolg/cleanFolder.mjs +4 -0
  998. package/toolg/cvCasename.mjs +90 -0
  999. package/toolg/gDistApp.mjs +55 -0
  1000. package/toolg/gDistRollupComps.mjs +23 -0
  1001. package/toolg/gDocExams.mjs +47 -0
  1002. package/toolg/gExtractHtml.mjs +279 -0
  1003. package/toolg/gMergeComps.mjs +75 -0
  1004. package/toolg/modifyReadme.mjs +4 -0
  1005. package/vue.config.js +21 -0
@@ -0,0 +1,1095 @@
1
+ <template>
2
+ <div
3
+ :changeParamsForInfor="changeParamsForInfor"
4
+ :changeParamsForTable="changeParamsForTable"
5
+ >
6
+ <template v-if="hasEffUseOpt">
7
+
8
+ <div
9
+ ref="menu"
10
+ v-domresize
11
+ @domresize="domresize"
12
+ >
13
+
14
+ <template v-if="editable">
15
+
16
+ <div :style="`${useInforPadding}`">
17
+ <table style="width:100%;">
18
+ <tbody>
19
+ <tr>
20
+ <td :style="`${hasEffLabelNameAndDesp?'padding-right:5px;':''} vertical-align:middle; opacity:0.8; font-size:0.8rem; white-space:nowrap;`">{{textLabelDataName}}</td>
21
+ <td style="width:100%; vertical-align:middle;">
22
+ <w-text
23
+ style="width:100%;"
24
+ :placeholder="textPlaceholderDataName"
25
+ v-model="nameTrans"
26
+ ></w-text>
27
+ </td>
28
+ </tr>
29
+ <tr>
30
+ <td :style="`${hasEffLabelNameAndDesp?'padding-right:5px;':''} vertical-align:middle; opacity:0.8; font-size:0.8rem; white-space:nowrap;`">{{textLabelDataDescription}}</td>
31
+ <td style="width:100%; vertical-align:middle;">
32
+ <w-text
33
+ style="width:100%;"
34
+ :placeholder="textPlaceholderDataDescription"
35
+ v-model="descriptionTrans"
36
+ ></w-text>
37
+ </td>
38
+ </tr>
39
+ </tbody>
40
+ </table>
41
+ </div>
42
+
43
+ <div :style="`${useMenuPaddingStyle} background:${useMenuBackgroundColor};`">
44
+ <div style="display:flex; align-items:center;">
45
+
46
+ <WButtonCircle
47
+ style="margin:5px;"
48
+ :icon="mdiTextBoxPlusOutline"
49
+ :backgroundColor="'white'"
50
+ :backgroundColorHover="'white'"
51
+ :tooltip="tooltipAddRow"
52
+ @click="addRow"
53
+ ></WButtonCircle>
54
+
55
+ <WButtonCircle
56
+ style="margin:5px;"
57
+ :icon="mdiDeleteForever"
58
+ :iconColor="'#f26'"
59
+ :backgroundColor="'white'"
60
+ :backgroundColorHover="'white'"
61
+ :tooltip="tooltipDeleteSelectedRows"
62
+ @click="removeRows"
63
+ v-if="rowsSelect.length>0"
64
+ ></WButtonCircle>
65
+
66
+ <WButtonCircle
67
+ style="margin:5px;"
68
+ :icon="mdiDownload"
69
+ :backgroundColor="'white'"
70
+ :backgroundColorHover="'white'"
71
+ :tooltip="tooltipDownloadExcelFile"
72
+ @click="downloadData"
73
+ v-if="hasEffRows"
74
+ ></WButtonCircle>
75
+
76
+ <WPopup
77
+ v-model="showPickUploadMode"
78
+ >
79
+
80
+ <template v-slot:trigger>
81
+ <WButtonCircle
82
+ style="margin:5px;"
83
+ :icon="mdiUpload"
84
+ :backgroundColor="'white'"
85
+ :backgroundColorHover="'white'"
86
+ :tooltip="tooltipUploadExcelFile"
87
+ @click="showPickUploadMode=true"
88
+ ></WButtonCircle>
89
+ </template>
90
+
91
+ <template v-slot:content>
92
+
93
+ <div style="padding:10px; font-size:0.8rem; color:#666; background:#eee;">
94
+ {{uploadModeTitle}}
95
+ </div>
96
+
97
+ <div style="padding:15px;">
98
+
99
+ <WButtonChip
100
+ style="margin-right:15px;"
101
+ :text="kpUploadModeItems['replace']"
102
+ :backgroundColor="'white'"
103
+ :backgroundColorHover="'#f6f6f6'"
104
+ @click="showPickUploadMode=false;uploadData('replace')"
105
+ ></WButtonChip>
106
+
107
+ <WButtonChip
108
+ _style="margin:5px;"
109
+ :text="kpUploadModeItems['append']"
110
+ :backgroundColor="'white'"
111
+ :backgroundColorHover="'#f6f6f6'"
112
+ @click="showPickUploadMode=false;uploadData('append')"
113
+ ></WButtonChip>
114
+
115
+ </div>
116
+
117
+ </template>
118
+
119
+ </WPopup>
120
+
121
+ <slot
122
+ name="btns"
123
+ :editable="editable"
124
+ ></slot>
125
+
126
+ </div>
127
+ </div>
128
+
129
+ </template>
130
+
131
+ <template v-else>
132
+
133
+ <div :style="`display:flex; align-items:center;`">
134
+
135
+ <div :style="`${useMenuPaddingStyle} background:${useMenuBackgroundColor};`">
136
+ <div style="display:flex; align-items:center;">
137
+
138
+ <WButtonCircle
139
+ style="margin:5px;"
140
+ :icon="mdiDownload"
141
+ :tooltip="tooltipDownloadExcelFile"
142
+ :backgroundColor="'white'"
143
+ :backgroundColorHover="'white'"
144
+ @click="downloadData"
145
+ v-if="hasEffRows"
146
+ ></WButtonCircle>
147
+
148
+ <slot
149
+ name="btns"
150
+ :editable="editable"
151
+ ></slot>
152
+
153
+ </div>
154
+ </div>
155
+
156
+ <div :style="`${useInforPadding}`">
157
+ <slot
158
+ name="infor"
159
+ :infor="{name:nameTrans,description:descriptionTrans}"
160
+ >
161
+
162
+ <div :style="`display:inline-block; ${hasEffNameAndDesp?'margin-left:5px;':''}`">
163
+ <div style="font-size:1.0rem;">
164
+ {{nameTrans}}
165
+ </div>
166
+ <div style="font-size:0.8rem; opacity:0.8;">
167
+ {{descriptionTrans}}
168
+ </div>
169
+ </div>
170
+
171
+ </slot>
172
+ </div>
173
+
174
+ </div>
175
+
176
+ </template>
177
+
178
+ </div>
179
+
180
+ <WAggridVueDyn
181
+ ref="cmp"
182
+ :pathItems="pathItems"
183
+ :height="tableHeight"
184
+ :opt="useOpt"
185
+ ></WAggridVueDyn>
186
+
187
+ </template>
188
+ </div>
189
+ </template>
190
+
191
+ <script>
192
+ import { mdiDownload, mdiUpload, mdiDeleteForever, mdiTextBoxPlusOutline } from '@mdi/js/mdi.js'
193
+ import get from 'lodash/get'
194
+ import map from 'lodash/map'
195
+ import each from 'lodash/each'
196
+ import keys from 'lodash/keys'
197
+ import sortBy from 'lodash/sortBy'
198
+ import pull from 'lodash/pull'
199
+ import pullAt from 'lodash/pullAt'
200
+ import size from 'lodash/size'
201
+ import every from 'lodash/every'
202
+ import trim from 'lodash/trim'
203
+ import isEqual from 'lodash/isEqual'
204
+ import cloneDeep from 'lodash/cloneDeep'
205
+ import isarr from 'wsemi/src/isarr.mjs'
206
+ import isfun from 'wsemi/src/isfun.mjs'
207
+ import isestr from 'wsemi/src/isestr.mjs'
208
+ import isearr from 'wsemi/src/isearr.mjs'
209
+ import isbol from 'wsemi/src/isbol.mjs'
210
+ import isobj from 'wsemi/src/isobj.mjs'
211
+ import iseobj from 'wsemi/src/iseobj.mjs'
212
+ import arr2dt from 'wsemi/src/arr2dt.mjs'
213
+ import ltdtmapping from 'wsemi/src/ltdtmapping.mjs'
214
+ import genID from 'wsemi/src/genID.mjs'
215
+ import WButtonCircle from './WButtonCircle.vue'
216
+ import WPopup from './WPopup.vue'
217
+ import WText from './WText.vue'
218
+ import WButtonChip from './WButtonChip.vue'
219
+ import WAggridVueDyn from './WAggridVueDyn.vue'
220
+ import domResize from '../js/domResize.mjs'
221
+ import parseSpace from '../js/parseSpace.mjs'
222
+ import color2hex from '../js/vuetifyColor.mjs'
223
+
224
+
225
+ /**
226
+ * @vue-prop {Array} [pathItems=['詳見原始碼']] 輸入w-aggrid-vue-dyn組件js檔案位置字串陣列,預設詳見原始碼處props->pathItems->default
227
+ * @vue-prop {String} [name=''] 輸入資料名稱字串,預設''
228
+ * @vue-prop {String} [description=''] 輸入資料描述字串,預設''
229
+ * @vue-prop {Object} [inforPaddingStyle={v:0,h:0}] 輸入資訊區(資料名稱name與資料描述description)內寬距離物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:0,h:0}
230
+ * @vue-prop {Object} [menuPaddingStyle={v:3,h:3}] 輸入選單按鈕區內寬距離物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:3,h:3}
231
+ * @vue-prop {String} [menuBackgroundColor='transparent'] 輸入選單按鈕區背景顏色字串,預設'transparent'
232
+ * @vue-prop {String|Array} [sortColIds=''] 輸入初始化時自動排序數據的欄位,為字串或陣列,若輸入陣列時則依照順序排序,故最末者代表最終排序。預設''
233
+ * @vue-prop {String|Array} [hideIds=''] 輸入欲隱藏欄位字串或陣列,可被opt.kpHeadHide複寫,預設''
234
+ * @vue-prop {String|Array} [fixIds=''] 輸入欲固定於左側欄位字串或陣列,可被opt.kpHeadFixLeft複寫,預設''
235
+ * @vue-prop {String} [checkId=''] 輸入欲使用核選方塊欄位字串,可被opt.kpHeadCheckBox複寫,預設''
236
+ * @vue-prop {String|Array} [removeIdsWhenDownload=''] 輸入當下載成Excel檔案時欲移除的欄位字串或陣列,預設''
237
+ * @vue-prop {Boolean} [checkNoDataWhenSave=false] 輸入於儲存時是否檢查無有效資料布林值,預設為false
238
+ * @vue-prop {Boolean} [editable=false] 輸入是否可編輯布林值,可被opt.defCellEditable複寫,預設為false
239
+ * @vue-prop {String} [textLabelDataName='Data name] 輸入數據名稱字串,預設'Data name'
240
+ * @vue-prop {String} [textPlaceholderDataName='Please enter data name'] 輸入數據名稱placeholder字串,預設'Please enter data name'
241
+ * @vue-prop {String} [textLabelDataDescription='Data description'] 輸入數據說明字串,預設'Data description'
242
+ * @vue-prop {String} [textPlaceholderDataDescription='Please enter data description'] 輸入數據說明placeholder字串,預設'Please enter data description'
243
+ * @vue-prop {String} [tooltipAddRow='add new row'] 輸入新增數據按鈕tooltip字串,預設'add new row'
244
+ * @vue-prop {String} [tooltipDeleteSelectedRows='delete selected rows'] 輸入刪除選擇數據按鈕tooltip字串,預設'delete selected rows'
245
+ * @vue-prop {String} [tooltipDownloadExcelFile='download data to Excel file'] 輸入下載Excel數據檔案按鈕tooltip字串,預設'download data to Excel file'
246
+ * @vue-prop {String} [tooltipUploadExcelFile='upload data to Excel file'] 輸入上傳Excel數據檔案按鈕tooltip字串,預設'upload data to Excel file'
247
+ * @vue-prop {String} [successMsgFromAddRow='add row successfully'] 輸入新增數據成功事件訊息字串,預設'add row successfully'
248
+ * @vue-prop {String} [errorMsgFromAddRow='can not add row'] 輸入無法新增數據事件訊息字串,預設'can not add row'
249
+ * @vue-prop {String} [errorMsgFromRemoveRow='can not remove selected rows'] 輸入移除數據失敗事件訊息字串,預設'can not remove selected rows'
250
+ * @vue-prop {String} [successMsgFromUploadData='upload data successfully'] 輸入上傳數據成功事件訊息字串,預設'upload data successfully'
251
+ * @vue-prop {String} [errorMsgFromUploadData='can not upload data'] 輸入無法上傳數據事件訊息字串,預設'can not upload data'
252
+ * @vue-prop {String} [errorMsgFromUploadEmptyData='no effective data'] 輸入上傳檔案中無有效數據事件訊息字串,預設'no effective data'
253
+ * @vue-prop {String} [successMsgFromDownloadData='download data successfully'] 輸入下載檔案成功事件訊息字串,預設'download data successfully'
254
+ * @vue-prop {String} [errorMsgFromDownloadData='can not download data'] 輸入無法下載檔案事件訊息字串,預設'can not download data'
255
+ * @vue-prop {String} [errorMsgFromNoName='no data name'] 輸入未輸入數據名稱事件訊息字串,預設'no data name'
256
+ * @vue-prop {String} [errorMsgFromNoData='no data'] 輸入未給予有效數據事件訊息字串,預設'no data'
257
+ * @vue-prop {String} [uploadModeTitle='Choose mode of upload:'] 輸入選擇上傳模式彈窗標題字串,預設'Choose mode of upload:'
258
+ * @vue-prop {String} [uploadModeTextForReplace='Replace'] 輸入取代上傳模式文字字串,預設'Replace'
259
+ * @vue-prop {String} [uploadModeTextForAppend='Append'] 輸入插入於最後上傳模式文字字串,預設'Append'
260
+ * @vue-event {Array} save 指調用組件的method,無輸入,會回傳當前的name、description、rows所構成的物件
261
+ * @vue-prop {Object} [opt={}] 輸入w-aggrid-vue設定物件,預設{}
262
+ * @vue-prop {Array} opt.keys 輸入資料各欄位keys
263
+ * @vue-prop {Array} opt.rows 輸入資料列,各列為物件,內含各欄位keys之值,例[{},{},...,{}]
264
+ * @vue-prop {Object} [opt.kpHead={}] 輸入key對應head物件,預設各key值為本身key值
265
+ * @vue-prop {Object} [opt.kpHeadTooltip={}] 輸入key對應需tooltip的html字串物件,於各head處滑鼠移入時觸發,預設各key值為undefined
266
+ * @vue-prop {String} [opt.defHeadAlighH='center'] 輸入head預設之左右對齊字串,預設為'center'
267
+ * @vue-prop {Object} [opt.kpHeadAlighH={}] 輸入key對應head之左右對齊字串物件,預設各key值為defHeadAlighH
268
+ * @vue-prop {Boolean} [opt.defHeadSort=true] 輸入head預設之是否允許排序布林值,預設為true
269
+ * @vue-prop {Object} [opt.kpHeadSort={}] 輸入key對應head之是否允許排序物件,預設各key值為defHeadSort
270
+ * @vue-prop {Function|String} [opt.defHeadSortMethod=null] 輸入head預設之排序方式函數或字串,若需自行定義則給予函數,若需使用內建的自動轉型判斷方式則給予'auto'字串,預設為null
271
+ * @vue-prop {Object} [opt.kpHeadSortMethod={}] 輸入key對應head之排序方式函數或字串,若需自行定義則給予函數,若需使用內建的自動轉型判斷方式則給予'auto'字串,預設各key值為defHeadSortMethod
272
+ * @vue-prop {Object} [opt.kpHeadFixLeft={}] 輸入key對應head之是否固定於左側物件,預設各key值為false
273
+ * @vue-prop {Boolean} [opt.defHeadFilter=true] 輸入head預設之是否允許過濾布林值,預設為true
274
+ * @vue-prop {Object} [opt.kpHeadFilter={}] 輸入key對應head之是否允許過濾物件,預設各key值為defHeadFilter
275
+ * @vue-prop {Boolean} [opt.defHeadDrag=true] 輸入head預設之是否允許拖曳布林值,預設為true
276
+ * @vue-prop {Object} [opt.kpHeadDrag={}] 輸入key對應head之是否允許拖曳物件,預設各key值為defHeadDrag
277
+ * @vue-prop {Object} [opt.kpHeadCheckBox={}] 輸入key對應head與key的各列是否使用核選方塊物件,預設各key值為false
278
+ * @vue-prop {Object} [opt.kpHeadHide={}] 輸入key對應head是否隱藏物件,預設各key值為false
279
+ * @vue-prop {Object} [opt.kpRowStyle={}] 輸入key對應row style之物件,可設定各key欄之函數,函數給予cell值需回傳之row style,預設各key值為undefined
280
+ * @vue-prop {Object} [opt.kpRowDrag={}] 輸入key對應col之是否能拖曳排序物件,預設各key值為false
281
+ * @vue-prop {Object} [opt.kpColStyle={}] 輸入key對應row style之物件,可設定各key欄之col style,預設各key值為undefined
282
+ * @vue-prop {Number} [opt.defCellMinWidth=null] 輸入cell預設最小寬度數字,預設為null
283
+ * @vue-prop {Object} [opt.kpCellWidth={}] 輸入key對應cell之寬度物件,預設各key值為undefined
284
+ * @vue-prop {Object} [opt.kpCellRender={}] 輸入key對應cell之渲染函數物件,預設各key值為undefined
285
+ * @vue-prop {Object} [opt.kpCellTooltip={}] 輸入key對應cell之tooltip的html字串物件,於各cell處滑鼠移入時觸發,預設各key值為undefined
286
+ * @vue-prop {String} [opt.defCellAlighH='center'] 輸入cell預設之左右對齊字串,預設為'center'
287
+ * @vue-prop {Object} [opt.kpCellAlighH={}] 輸入key對應cell之左右對齊字串物件,預設各key值為defCellAlighH
288
+ * @vue-prop {Boolean} [opt.defCellEditable=false] 輸入cell預設之是否可編輯布林值,預設為false
289
+ * @vue-prop {Object} [opt.kpCellEditable={}] 輸入key對應cell之是否可編輯物件,預設各key值為defCellEditable
290
+ * @vue-prop {Object} [opt.kpConvertKeysWhenUploadData={}] 輸入上傳Excel檔案時,當key轉會成對應新key值物件,預設{}
291
+ * @vue-prop {Function} [opt.rowClick=function(){}] 輸入row click之觸發事件,預設為function(){}
292
+ * @vue-prop {Function} [opt.rowDbClick=function(){}] 輸入row double click之觸發事件,預設為function(){}
293
+ * @vue-prop {Function} [opt.rowChange=function(){}] 輸入row change之觸發事件,預設為function(){}
294
+ * @vue-prop {Function} [opt.rowChecked=function(){}] 輸入row checked之觸發事件,需使用kpHeadCheckBox開啟指定key的head與對應rows使用checkbox,預設為function(){}
295
+ * @vue-prop {Function} [opt.rowMouseEnter=function(){}] 輸入row mouseenter之觸發事件,預設為function(){}
296
+ * @vue-prop {Function} [opt.rowMouseLeave=function(){}] 輸入row mouseleave之觸發事件,預設為function(){}
297
+ * @vue-prop {Function} [opt.cellClick=function(){}] 輸入cell click之觸發事件,預設為function(){}
298
+ * @vue-prop {Function} [opt.cellDbClick=function(){}] 輸入cell double click之觸發事件,預設為function(){}
299
+ * @vue-prop {Function} [opt.cellChange=function(){}] 輸入cell change之觸發事件,預設為function(){}
300
+ * @vue-prop {Function} [opt.cellMouseEnter=function(){}] 輸入cell mouseenter之觸發事件,預設為function(){}
301
+ * @vue-prop {Function} [opt.cellMouseLeave=function(){}] 輸入cell mouseleave之觸發事件,預設為function(){}
302
+ * @vue-prop {Boolean} [opt.autoFitColumn=false] 輸入當表格尺寸變更時自動調整欄寬布林值,預設false
303
+ * @vue-prop {Object} [opt.optForUploadData={}] 輸入呼叫組件uploadData上傳檔案時用的設定物件,物件可給予鍵值:pathItems代表調用wsemi的getDataFromExcelFileU8ArrDyn所傳入的xlsx的來源網址陣列,beforeUpload代表上傳前的處理數據函數,parseSheetInd代表提取Excel檔案的第幾個sheet整數(預設為0),optForUploadData預設{}
304
+ * @vue-prop {Function} [opt.modifyDataWhenSave=undefined] 輸入當儲存時修改儲存數據事件,輸入rows,輸出rows,預設為undefined
305
+ * @vue-prop {Boolean} [opt.checkNoDataWhenSave=false] 輸入當儲存時是否檢核無數據布林值,預設false
306
+ */
307
+ export default {
308
+ directives: {
309
+ domresize: domResize(),
310
+ },
311
+ components: {
312
+ WButtonCircle,
313
+ WPopup,
314
+ WText,
315
+ WButtonChip,
316
+ WAggridVueDyn,
317
+ },
318
+ props: {
319
+ pathItems: {
320
+ type: Array, //預設值見WAggridVueDyn
321
+ },
322
+ name: {
323
+ type: String,
324
+ default: '',
325
+ },
326
+ description: {
327
+ type: String,
328
+ default: '',
329
+ },
330
+ inforPaddingStyle: {
331
+ type: Object,
332
+ default: () => {
333
+ return {
334
+ v: 0,
335
+ h: 0,
336
+ }
337
+ },
338
+ },
339
+ menuPaddingStyle: {
340
+ type: Object,
341
+ default: () => {
342
+ return {
343
+ v: 3,
344
+ h: 3,
345
+ }
346
+ },
347
+ },
348
+ menuBackgroundColor: {
349
+ type: String,
350
+ default: 'transparent',
351
+ },
352
+ sortColIds: {
353
+ type: [String, Array],
354
+ default: '',
355
+ // default: 'order',
356
+ },
357
+ hideIds: {
358
+ type: [String, Array],
359
+ default: '',
360
+ // default: () => [
361
+ // 'id',
362
+ // 'mappingId',
363
+ // 'order',
364
+ // 'isActive',
365
+ // ],
366
+ },
367
+ fixIds: {
368
+ type: [String, Array],
369
+ default: '',
370
+ },
371
+ checkId: {
372
+ type: String,
373
+ default: '',
374
+ },
375
+ removeIdsWhenDownload: {
376
+ type: [String, Array],
377
+ default: '',
378
+ // default: () => [
379
+ // 'id',
380
+ // 'mappingId',
381
+ // 'order',
382
+ // 'isActive',
383
+ // ],
384
+ },
385
+ editable: {
386
+ type: Boolean,
387
+ default: false,
388
+ },
389
+ textLabelDataName: {
390
+ type: String,
391
+ default: 'Data name:', //數據名稱
392
+ },
393
+ textPlaceholderDataName: {
394
+ type: String,
395
+ default: 'Please enter data name', //請輸入數據名稱
396
+ },
397
+ textLabelDataDescription: {
398
+ type: String,
399
+ default: 'Data description:', //數據說明
400
+ },
401
+ textPlaceholderDataDescription: {
402
+ type: String,
403
+ default: 'Please enter data description', //請輸入數據說明
404
+ },
405
+ tooltipAddRow: {
406
+ type: String,
407
+ default: 'add new row', //新增數據
408
+ },
409
+ tooltipDeleteSelectedRows: {
410
+ type: String,
411
+ default: 'delete selected rows', //刪除選擇數據
412
+ },
413
+ tooltipDownloadExcelFile: {
414
+ type: String,
415
+ default: 'download data to Excel file', //下載 Excel 數據檔案
416
+ },
417
+ tooltipUploadExcelFile: {
418
+ type: String,
419
+ default: 'upload data to Excel file', //上傳 Excel 數據檔案
420
+ },
421
+ successMsgFromAddRow: {
422
+ type: String,
423
+ default: 'add row successfully', //新增數據成功
424
+ },
425
+ errorMsgFromAddRow: {
426
+ type: String,
427
+ default: 'can not add row', //無法新增數據
428
+ },
429
+ errorMsgFromRemoveRow: {
430
+ type: String,
431
+ default: 'can not remove selected rows', //移除數據失敗
432
+ },
433
+ successMsgFromUploadData: {
434
+ type: String,
435
+ default: 'upload data successfully', //上傳數據成功
436
+ },
437
+ errorMsgFromUploadData: {
438
+ type: String,
439
+ default: 'can not upload data', //無法上傳數據
440
+ },
441
+ errorMsgFromUploadEmptyData: {
442
+ type: String,
443
+ default: 'no effective data', //上傳檔案中無有效數據
444
+ },
445
+ successMsgFromDownloadData: {
446
+ type: String,
447
+ default: 'download data successfully', //下載檔案成功
448
+ },
449
+ errorMsgFromDownloadData: {
450
+ type: String,
451
+ default: 'can not download data', //無法下載檔案
452
+ },
453
+ errorMsgFromNoName: {
454
+ type: String,
455
+ default: 'no data name', //未輸入數據名稱
456
+ },
457
+ errorMsgFromNoData: {
458
+ type: String,
459
+ default: 'no data', //未給予有效數據
460
+ },
461
+ uploadModeTitle: {
462
+ type: String,
463
+ default: 'Choose mode of upload:',
464
+ },
465
+ uploadModeTextForReplace: {
466
+ type: String,
467
+ default: 'Replace',
468
+ },
469
+ uploadModeTextForAppend: {
470
+ type: String,
471
+ default: 'Append',
472
+ },
473
+ opt: {
474
+ type: Object,
475
+ default: null,
476
+ },
477
+ },
478
+ data: function() {
479
+ return {
480
+ mdiDownload,
481
+ mdiUpload,
482
+ mdiDeleteForever,
483
+ mdiTextBoxPlusOutline,
484
+
485
+ tableHeight: 1, //ag-grid需先給予最小高度供顯示, resize才會驅動
486
+
487
+ showPickUploadMode: false,
488
+
489
+ paramsTemp: null,
490
+
491
+ nameTrans: '',
492
+ descriptionTrans: '',
493
+ rowsSelect: [],
494
+ useOpt: null,
495
+
496
+ nameTemp: '',
497
+ descriptionTemp: '',
498
+ rowsTemp: [],
499
+
500
+ }
501
+ },
502
+ computed: {
503
+
504
+ changeParamsForInfor: function() {
505
+ // console.log('computed changeParamsForInfor')
506
+
507
+ let vo = this
508
+
509
+ //for trigger
510
+ let name = vo.name
511
+ let description = vo.description
512
+
513
+ //save
514
+ vo.nameTrans = trim(vo.name)
515
+ vo.descriptionTrans = trim(vo.description)
516
+
517
+ //backup, 不能使用vo.nameTrans與vo.descriptionTemp備份, 會導致computed掛勾記憶體無法觸發事件變更
518
+ vo.nameTemp = trim(vo.name)
519
+ vo.descriptionTemp = trim(vo.description)
520
+
521
+ vo.___changeParamsForInfor___ = { name, description }
522
+ return ''
523
+ },
524
+
525
+ changeParamsForTable: function() {
526
+ //console.log('computed changeParamsForTable')
527
+
528
+ let vo = this
529
+
530
+ //for trigger, rows通常是undefined變更為有效數據, 此時會驅動
531
+ let rows = get(vo, 'opt.rows')
532
+ let hideIds = vo.hideIds
533
+ let fixIds = vo.fixIds
534
+ let checkId = vo.checkId
535
+ let editable = vo.editable
536
+
537
+ //paramsTemp
538
+ let paramsTemp = {
539
+ rows, hideIds, fixIds, checkId, editable
540
+ }
541
+
542
+ //check, changeParamsForTable掛在dom上, 可能因為dom變更而被觸發, 或因數據為物件(例如rows)可能被修改, 於dom變更時被視為有變而觸發, 故需添加偵測外部數據是否有變才呼叫genOpt
543
+ if (!isEqual(vo.paramsTemp, paramsTemp)) {
544
+
545
+ //genOpt
546
+ vo.genOpt()
547
+
548
+ //save
549
+ vo.paramsTemp = cloneDeep(paramsTemp)
550
+
551
+ }
552
+
553
+ return ''
554
+ },
555
+
556
+ kpUploadModeItems: function() {
557
+ //console.log('computed kpUploadModeItems')
558
+
559
+ let vo = this
560
+
561
+ //kp
562
+ let kp = {
563
+ replace: vo.uploadModeTextForReplace,
564
+ append: vo.uploadModeTextForAppend,
565
+ }
566
+
567
+ return kp
568
+ },
569
+
570
+ useKeys: function() {
571
+ //console.log('computed useKeys')
572
+
573
+ let vo = this
574
+
575
+ //ks
576
+ let ks = []
577
+ if (isearr(get(vo, 'opt.keys'))) {
578
+ ks = get(vo, 'opt.keys')
579
+ }
580
+ else if (isearr(get(vo, 'opt.rows'))) {
581
+ ks = keys(get(vo, 'rows.0', {}))
582
+ }
583
+
584
+ return ks
585
+ },
586
+
587
+ useKpHead: function() {
588
+ //console.log('computed useKpHead')
589
+
590
+ let vo = this
591
+
592
+ //kpHeads
593
+ let kpHeads
594
+ if (iseobj(get(vo, 'opt.kpHead'))) {
595
+ kpHeads = get(vo, 'opt.kpHead')
596
+ }
597
+ else {
598
+ kpHeads = {}
599
+ each(vo.useKeys, (k) => {
600
+ kpHeads[k] = k
601
+ })
602
+ }
603
+
604
+ return kpHeads
605
+ },
606
+
607
+ hasEffRows: function() {
608
+ //console.log('computed hasEffRows')
609
+
610
+ let vo = this
611
+
612
+ return size(get(vo, 'useOpt.rows', [])) > 0
613
+ },
614
+
615
+ hasEffUseOpt: function() {
616
+ //console.log('computed hasEffUseOpt')
617
+
618
+ let vo = this
619
+
620
+ return vo.useOpt !== null
621
+ },
622
+
623
+ hasEffNameAndDesp: function() {
624
+ //console.log('computed hasEffNameAndDesp')
625
+
626
+ let vo = this
627
+
628
+ return vo.nameTrans !== '' || vo.descriptionTrans !== ''
629
+ },
630
+
631
+ hasEffLabelNameAndDesp: function() {
632
+ //console.log('computed hasEffLabelNameAndDesp')
633
+
634
+ let vo = this
635
+
636
+ return vo.textLabelDataName !== '' || vo.textLabelDataDescription !== ''
637
+ },
638
+
639
+ useInforPadding: function() {
640
+ //console.log('computed useInforPadding')
641
+
642
+ let vo = this
643
+
644
+ //parseSpace
645
+ let cs = parseSpace(vo.inforPaddingStyle)
646
+
647
+ //padding
648
+ let padding = `padding:${cs};`
649
+
650
+ return padding
651
+ },
652
+
653
+ useMenuPaddingStyle: function() {
654
+ //console.log('computed useMenuPaddingStyle')
655
+
656
+ let vo = this
657
+
658
+ //parseSpace
659
+ let cs = parseSpace(vo.menuPaddingStyle)
660
+
661
+ //padding
662
+ let padding = `padding:${cs};`
663
+
664
+ return padding
665
+ },
666
+
667
+ useMenuBackgroundColor: function() {
668
+ //console.log('computed useMenuBackgroundColor')
669
+
670
+ let vo = this
671
+
672
+ return color2hex(vo.menuBackgroundColor)
673
+ },
674
+
675
+ },
676
+ methods: {
677
+
678
+ domresize: function(msg) {
679
+ // console.log('methods domresize', msg)
680
+
681
+ let vo = this
682
+
683
+ //tableHeight
684
+ let minHeight = 200
685
+ let tableHeight = 0
686
+ let panelHeight = get(vo, '$el.offsetHeight', 0)
687
+ let menuHeight = get(vo, '$refs.menu.offsetHeight')
688
+ if (panelHeight > 0 && menuHeight > 0) {
689
+ tableHeight = panelHeight - menuHeight
690
+ }
691
+ tableHeight = Math.max(tableHeight, minHeight)
692
+ vo.tableHeight = tableHeight
693
+
694
+ },
695
+
696
+ default: function() {
697
+ // console.log('methods default')
698
+
699
+ let vo = this
700
+
701
+ vo.tableHeight = 200
702
+ vo.rowsSelect = []
703
+ vo.useOpt = null
704
+ vo.rowsTemp = []
705
+ //不能清空nameTrans與descriptionTrans, 因default可能會被genOpt觸發, 而若是name與description變更在前, opt.rows變更在後, nameTrans與descriptionTrans被清空就無法顯示, 故得獨立出來分開處理
706
+ // vo.nameTrans = ''
707
+ // vo.descriptionTrans = ''
708
+ // vo.nameTemp = ''
709
+ // vo.descriptionTemp = ''
710
+
711
+ },
712
+
713
+ genOpt: function() {
714
+ // console.log('methods genOpt')
715
+
716
+ let vo = this
717
+
718
+ //check
719
+ if (size(vo.useKeys) === 0) {
720
+ vo.default()
721
+ return
722
+ }
723
+
724
+ //rows
725
+ let rows = null
726
+ if (isarr(get(vo, 'opt.rows'))) { //若有rows則使用
727
+
728
+ //rows
729
+ //w-aggrid-vue組件內採取會自動更新外部opt.rows
730
+ //但這邊組件用於專案, 需用cloneDeep斷開與外面記憶體共用問題, 於組件內改變數據才不會影響外面, 另computed有偵測rows故外面改變內部可自動更新
731
+ rows = cloneDeep(get(vo, 'opt.rows'))
732
+
733
+ }
734
+ else {
735
+ //若沒有rows則使用useKeys產生空數據
736
+
737
+ //rows
738
+ rows = [arr2dt(vo.useKeys)]
739
+
740
+ }
741
+
742
+ //sortColIds
743
+ if (isestr(vo.sortColIds)) {
744
+ try {
745
+ rows = sortBy(rows, vo.sortColIds)
746
+ }
747
+ catch (err) {
748
+ console.log(err)
749
+ }
750
+ }
751
+ else if (isearr(vo.sortColIds)) {
752
+ each(vo.sortColIds, (id) => {
753
+ try {
754
+ rows = sortBy(rows, id)
755
+ }
756
+ catch (err) {
757
+ console.log(err)
758
+ }
759
+ })
760
+ }
761
+
762
+ //backup
763
+ vo.rowsTemp = cloneDeep(rows)
764
+
765
+ //useOpt
766
+ let useOpt = {
767
+ rows,
768
+ keys: vo.useKeys,
769
+ defCellEditable: vo.editable,
770
+ defCellAlighH: 'left',
771
+ kpHead: vo.useKpHead,
772
+ rowChecked: function(rs) {
773
+ //console.log('rowChecked rs', rs)
774
+ vo.rowsSelect = rs
775
+ },
776
+ }
777
+
778
+ //hideIds
779
+ if (isestr(vo.hideIds)) {
780
+ useOpt.kpHeadHide = arr2dt([vo.hideIds], true)
781
+ }
782
+ else if (isearr(vo.hideIds)) {
783
+ useOpt.kpHeadHide = arr2dt(vo.hideIds, true)
784
+ }
785
+
786
+ //fixIds
787
+ if (isestr(vo.fixIds)) {
788
+ useOpt.kpHeadFixLeft = arr2dt([vo.fixIds], true)
789
+ }
790
+ else if (isearr(vo.fixIds)) {
791
+ useOpt.kpHeadFixLeft = arr2dt(vo.fixIds, true)
792
+ }
793
+
794
+ //checkId
795
+ if (vo.editable) {
796
+ if (isestr(vo.checkId)) {
797
+ useOpt.kpHeadCheckBox = arr2dt([vo.checkId], true)
798
+ }
799
+ }
800
+
801
+ //modify by opt
802
+ if (iseobj(vo.opt)) {
803
+ let optTemp = cloneDeep(vo.opt)
804
+ each(optTemp, (v, k) => {
805
+ if (k !== 'keys' && k !== 'rows' && k !== 'kpHead' && k !== 'editable') { //已於前面使用過就不複寫, 例如rows會被重排序一定不能被複寫回原數據
806
+ useOpt[k] = v
807
+ }
808
+ })
809
+ }
810
+
811
+ //save
812
+ vo.useOpt = useOpt
813
+
814
+ },
815
+
816
+ addRow: function() {
817
+ //console.log('methods addRow')
818
+
819
+ let vo = this
820
+
821
+ //check
822
+ if (size(vo.useKeys) === 0) {
823
+ vo.default()
824
+ vo.$emit('error', vo.errorMsgFromAddRow)
825
+ return
826
+ }
827
+
828
+ //newRow
829
+ let newRow = arr2dt(vo.useKeys)
830
+
831
+ //id
832
+ newRow.id = genID()
833
+
834
+ //beforeAddRow
835
+ if (isfun(get(vo, 'opt.beforeAddRow'))) {
836
+ newRow = vo.opt.beforeAddRow(newRow)
837
+ }
838
+
839
+ try {
840
+
841
+ //push
842
+ vo.useOpt.rows.push(newRow)
843
+
844
+ //nextTick, 變更數據後頁面會先渲染, nextTick後才能調捲軸, 否則太快執行會被頁面渲染蓋掉
845
+ vo.$nextTick(() => {
846
+
847
+ //getInstance
848
+ let getInstance = get(vo, `$refs.cmp.$refs.$self.getInstance`)
849
+
850
+ //check
851
+ if (isfun(getInstance)) {
852
+
853
+ //ensureIndexVisible, scrollTo(index)
854
+ let o = getInstance()
855
+ o.api.ensureIndexVisible(vo.useOpt.rows.length - 1, 'bottom') //捲到最下
856
+
857
+ }
858
+
859
+ })
860
+
861
+ vo.$emit('success', vo.successMsgFromAddRow)
862
+ }
863
+ catch (err) {
864
+ console.log(err)
865
+ vo.$emit('error', vo.errorMsgFromAddRow)
866
+ }
867
+
868
+ },
869
+
870
+ removeRows: function() {
871
+ // console.log('methods removeRows')
872
+
873
+ let vo = this
874
+
875
+ //rows
876
+ let rows = get(vo, 'useOpt.rows', [])
877
+ rows = cloneDeep(rows)
878
+
879
+ //check
880
+ if (size(rows) === 0) {
881
+ return
882
+ }
883
+
884
+ //inds
885
+ let inds = map(vo.rowsSelect, 'rowInd')
886
+
887
+ //check
888
+ if (size(inds) === 0) {
889
+ return
890
+ }
891
+
892
+ //pullAt
893
+ pullAt(rows, inds)
894
+
895
+ //save
896
+ try {
897
+ vo.useOpt.rows = rows
898
+ }
899
+ catch (err) {
900
+ vo.$emit('error', vo.errorMsgFromRemoveRow)
901
+ }
902
+
903
+ //reset rowsSelect
904
+ vo.rowsSelect = []
905
+
906
+ },
907
+
908
+ downloadData: function() {
909
+ //console.log('methods downloadData')
910
+
911
+ let vo = this
912
+
913
+ try {
914
+
915
+ //fun
916
+ let fun = get(vo, `$refs.cmp.$refs.$self.downloadData`)
917
+
918
+ //check
919
+ if (!isfun(fun)) {
920
+ return
921
+ }
922
+
923
+ //downloadData
924
+ fun({
925
+ funGetKeysHook: (keys) => {
926
+ if (isestr(vo.removeIdsWhenDownload)) {
927
+ pull(keys, vo.removeIdsWhenDownload)
928
+ }
929
+ else if (isearr(vo.removeIdsWhenDownload)) {
930
+ pull(keys, ...vo.removeIdsWhenDownload)
931
+ }
932
+ return keys
933
+ }
934
+ })
935
+
936
+ vo.$emit('success', vo.successMsgFromDownloadData)
937
+ }
938
+ catch (err) {
939
+ vo.$emit('error', vo.errorMsgFromDownloadData)
940
+ }
941
+
942
+ },
943
+
944
+ uploadData: function(uploadModeSelect) {
945
+ //console.log('methods uploadData', uploadModeSelect)
946
+
947
+ let vo = this
948
+
949
+ //fun
950
+ let fun = get(vo, `$refs.cmp.$refs.$self.uploadData`)
951
+
952
+ //check
953
+ if (!isfun(fun)) {
954
+ return
955
+ }
956
+
957
+ //optForUploadData
958
+ let optForUploadData = get(vo, 'opt.optForUploadData')
959
+ if (!isobj(optForUploadData)) {
960
+ optForUploadData = {}
961
+ }
962
+
963
+ //uploadMode, 選擇上傳模式
964
+ let uploadMode = get(optForUploadData, 'uploadMode')
965
+ if (!isestr(uploadMode)) {
966
+ optForUploadData.uploadMode = uploadModeSelect
967
+ }
968
+
969
+ //beforeUpload, 自動去除無效數據
970
+ let beforeUpload = get(optForUploadData, 'beforeUpload')
971
+ if (!isfun(beforeUpload)) {
972
+ optForUploadData.beforeUpload = (rows) => {
973
+ // console.log('beforeUpload', rows)
974
+
975
+ //calc eff rows
976
+ let rs = []
977
+ each(rows, (row) => {
978
+ let b = every(row, (v) => {
979
+ return v === ''
980
+ })
981
+ if (!b) {
982
+ rs.push(row)
983
+ }
984
+ })
985
+ // console.log('rs', rs)
986
+
987
+ return rs
988
+ }
989
+ }
990
+ // console.log('optForUploadData', optForUploadData)
991
+
992
+ //upload
993
+ fun(optForUploadData)
994
+ .then((rows) => {
995
+ // console.log('upload then', rows)
996
+
997
+ // //save, w-aggrid-vue會自動更新vo.useOpt.rows, 需用cloneDeep斷開與外面記憶體共用問題
998
+ // vo.useOpt.rows=rows
999
+
1000
+ //check
1001
+ if (size(rows) === 0) {
1002
+ vo.$emit('error', vo.errorMsgFromUploadEmptyData)
1003
+ }
1004
+ else {
1005
+ vo.$emit('success', vo.successMsgFromUploadData)
1006
+ }
1007
+
1008
+ //reset rowsSelect
1009
+ vo.rowsSelect = []
1010
+
1011
+ })
1012
+ .catch((err) => {
1013
+ console.log('catch', err)
1014
+ vo.$emit('error', vo.errorMsgFromUploadData)
1015
+ })
1016
+
1017
+ },
1018
+
1019
+ save: function() {
1020
+ //console.log('methods save')
1021
+
1022
+ let vo = this
1023
+
1024
+ function core() {
1025
+
1026
+ //save
1027
+ let name = trim(vo.nameTrans)
1028
+ let description = trim(vo.descriptionTrans)
1029
+
1030
+ //check
1031
+ if (!isestr(name)) {
1032
+ return { err: vo.errorMsgFromNoName }
1033
+ }
1034
+
1035
+ //rows
1036
+ let rows = get(vo, 'useOpt.rows', [])
1037
+
1038
+ //ltdtmapping
1039
+ rows = ltdtmapping(rows, vo.useKeys)
1040
+
1041
+ //update fields
1042
+ if (isfun(get(vo, 'opt.modifyDataWhenSave'))) {
1043
+ rows = vo.opt.modifyDataWhenSave(rows)
1044
+ // rows = map(rows, (v, k) => {
1045
+ // if (!isestr(v.id)) {
1046
+ // v.id = genID()
1047
+ // }
1048
+ // v.mappingId = vo.mappingId
1049
+ // v.order = k
1050
+ // v.isActive = 'y'
1051
+ // return v
1052
+ // })
1053
+ }
1054
+
1055
+ //check
1056
+ let checkNoDataWhenSave = get(vo, 'opt.checkNoDataWhenSave')
1057
+ if (!isbol(checkNoDataWhenSave)) {
1058
+ checkNoDataWhenSave = false
1059
+ }
1060
+ if (checkNoDataWhenSave && rows.length === 0) {
1061
+ return { err: vo.errorMsgFromNoData }
1062
+ }
1063
+
1064
+ //res
1065
+ let res = {
1066
+ name,
1067
+ nameTemp: vo.nameTrans,
1068
+ description,
1069
+ descriptionTemp: vo.descriptionTemp,
1070
+ rows: cloneDeep(rows),
1071
+ rowsTemp: cloneDeep(vo.rowsTemp),
1072
+ }
1073
+ // console.log('res', res)
1074
+
1075
+ return res
1076
+ }
1077
+
1078
+ //res
1079
+ let res
1080
+ try {
1081
+ res = core()
1082
+ }
1083
+ catch (err) {
1084
+ res = { err }
1085
+ }
1086
+
1087
+ return res
1088
+ },
1089
+
1090
+ }
1091
+ }
1092
+ </script>
1093
+
1094
+ <style scoped>
1095
+ </style>