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.
- package/.editorconfig +9 -0
- package/.eslintignore +3 -0
- package/.eslintrc.js +54 -0
- package/.github/workflows/ci-test.yml +23 -0
- package/.jsdoc +25 -0
- package/LICENSE +21 -0
- package/README.md +108 -0
- package/babel.config.js +14 -0
- package/dist/w-component-vue.umd.js +16 -0
- package/dist/w-component-vue.umd.js.map +1 -0
- package/docs/binarySearch.mjs.html +160 -0
- package/docs/examples/app.html +79 -0
- package/docs/examples/app.umd.js +7 -0
- package/docs/examples/app.umd.js.map +1 -0
- package/docs/examples/w-aggrid-vue-dyn_defCellEditable.html +275 -0
- package/docs/examples/w-aggrid-vue-dyn_kpCellEditable_kpRowStyle.html +275 -0
- package/docs/examples/w-aggrid-vue-dyn_kpHeadTooltip_kpCellTooltip.html +275 -0
- package/docs/examples/w-aggrid-vue-dyn_large data (1,000,000 items).html +271 -0
- package/docs/examples/w-aggrid-vue-dyn_simple data.html +275 -0
- package/docs/examples/w-alert_backgroundColor.html +201 -0
- package/docs/examples/w-alert_borderColor.html +201 -0
- package/docs/examples/w-alert_borderRadius.html +201 -0
- package/docs/examples/w-alert_borderWidth.html +201 -0
- package/docs/examples/w-alert_default.html +199 -0
- package/docs/examples/w-alert_icon.html +201 -0
- package/docs/examples/w-alert_position.html +222 -0
- package/docs/examples/w-alert_recive closed event by promise.html +194 -0
- package/docs/examples/w-alert_shadowStyle.html +201 -0
- package/docs/examples/w-alert_textColor.html +201 -0
- package/docs/examples/w-alert_time (6s).html +201 -0
- package/docs/examples/w-alert_type error.html +199 -0
- package/docs/examples/w-alert_type infor.html +199 -0
- package/docs/examples/w-alert_type warning.html +199 -0
- package/docs/examples/w-badge_backgroundColor.html +182 -0
- package/docs/examples/w-badge_badgeAlign.html +202 -0
- package/docs/examples/w-badge_borderColor_textColor_backgroundColor.html +187 -0
- package/docs/examples/w-badge_borderRadius.html +182 -0
- package/docs/examples/w-badge_default.html +182 -0
- package/docs/examples/w-badge_textColor_backgroundColor.html +186 -0
- package/docs/examples/w-badge_textFontSize.html +182 -0
- package/docs/examples/w-button-chip_active_backgroundColorActive.html +259 -0
- package/docs/examples/w-button-chip_active_borderColorActive.html +259 -0
- package/docs/examples/w-button-chip_active_iconColorActive.html +259 -0
- package/docs/examples/w-button-chip_active_no shadow_no shadowActive.html +260 -0
- package/docs/examples/w-button-chip_active_shadowActiveStyle.html +259 -0
- package/docs/examples/w-button-chip_active_textColorActive.html +258 -0
- package/docs/examples/w-button-chip_backgroundColor_backgroundColorHover.html +259 -0
- package/docs/examples/w-button-chip_borderColor_borderColorHover.html +259 -0
- package/docs/examples/w-button-chip_borderRadius.html +258 -0
- package/docs/examples/w-button-chip_borderRadiusStyle.html +280 -0
- package/docs/examples/w-button-chip_borderRadiusStyle_borderWidth_borderColor_borderColorHover.html +284 -0
- package/docs/examples/w-button-chip_borderWidth.html +288 -0
- package/docs/examples/w-button-chip_close.html +259 -0
- package/docs/examples/w-button-chip_close_shiftRight.html +260 -0
- package/docs/examples/w-button-chip_default.html +254 -0
- package/docs/examples/w-button-chip_icon (fontawesome).html +257 -0
- package/docs/examples/w-button-chip_icon (material).html +257 -0
- package/docs/examples/w-button-chip_icon_iconColor_iconColorHover_close.html +262 -0
- package/docs/examples/w-button-chip_icon_no text.html +254 -0
- package/docs/examples/w-button-chip_loading.html +259 -0
- package/docs/examples/w-button-chip_loading_loadingColor.html +260 -0
- package/docs/examples/w-button-chip_loading_textColor_textColorHover.html +261 -0
- package/docs/examples/w-button-chip_modify loading by callback in click.html +259 -0
- package/docs/examples/w-button-chip_modify prog by callback in click.html +259 -0
- package/docs/examples/w-button-chip_no shadow.html +258 -0
- package/docs/examples/w-button-chip_not editable.html +262 -0
- package/docs/examples/w-button-chip_not editable_disabledColor.html +263 -0
- package/docs/examples/w-button-chip_paddingStyle (equal height to using icon).html +254 -0
- package/docs/examples/w-button-chip_paddingStyle (thin style).html +254 -0
- package/docs/examples/w-button-chip_paddingStyle_icon_iconSize_textFontSize.html +262 -0
- package/docs/examples/w-button-chip_prog.html +259 -0
- package/docs/examples/w-button-chip_prog_progColor_progBackgroundColor.html +261 -0
- package/docs/examples/w-button-chip_promiseUnlock.html +259 -0
- package/docs/examples/w-button-chip_rippleColor.html +258 -0
- package/docs/examples/w-button-chip_shadowStyle.html +258 -0
- package/docs/examples/w-button-chip_shiftLeft.html +258 -0
- package/docs/examples/w-button-chip_slot_close.html +288 -0
- package/docs/examples/w-button-chip_textColor.html +257 -0
- package/docs/examples/w-button-chip_textColor_textColorHover.html +258 -0
- package/docs/examples/w-button-chip_tooltip.html +258 -0
- package/docs/examples/w-button-circle_backgroundColor_backgroundColorHover_backgroundColorFocus.html +190 -0
- package/docs/examples/w-button-circle_icon (fontawesome).html +183 -0
- package/docs/examples/w-button-circle_icon (material).html +183 -0
- package/docs/examples/w-button-circle_iconColor_iconColorHover_iconColorFocus.html +190 -0
- package/docs/examples/w-button-circle_loading.html +186 -0
- package/docs/examples/w-button-circle_loading_loadingColor.html +187 -0
- package/docs/examples/w-button-circle_no shadow.html +183 -0
- package/docs/examples/w-button-circle_not editable.html +186 -0
- package/docs/examples/w-button-circle_not editable_disabledColor.html +187 -0
- package/docs/examples/w-button-circle_paddingStyle.html +186 -0
- package/docs/examples/w-button-circle_paddingStyle_iconSize.html +187 -0
- package/docs/examples/w-button-circle_promiseUnlock.html +187 -0
- package/docs/examples/w-button-circle_rippleColor.html +186 -0
- package/docs/examples/w-button-circle_shadowStyle.html +186 -0
- package/docs/examples/w-button-circle_tooltip.html +183 -0
- package/docs/examples/w-checkbox_checkedIconColor_uncheckedIconColor.html +177 -0
- package/docs/examples/w-checkbox_checkedIcon_uncheckedIcon.html +177 -0
- package/docs/examples/w-checkbox_default.html +173 -0
- package/docs/examples/w-checkbox_iconSize.html +173 -0
- package/docs/examples/w-checkbox_not editable.html +173 -0
- package/docs/examples/w-checkbox_not editable_checkedIconColorDisabled_uncheckedIconColorDisabled.html +180 -0
- package/docs/examples/w-checkbox_use string (y or n).html +173 -0
- package/docs/examples/w-ckeditor-vue-dyn_default.html +204 -0
- package/docs/examples/w-ckeditor-vue-dyn_height.html +205 -0
- package/docs/examples/w-ckeditor-vue-dyn_not editable.html +205 -0
- package/docs/examples/w-ckeditor-vue-dyn_settings.html +205 -0
- package/docs/examples/w-confirm_contentColor_contentIconColor_contentBackgroundColor.html +212 -0
- package/docs/examples/w-confirm_contentIcon (fontawesome).html +208 -0
- package/docs/examples/w-confirm_contentIconColor.html +208 -0
- package/docs/examples/w-confirm_contentIconSize.html +208 -0
- package/docs/examples/w-confirm_hasNoBtn_yesBtnText.html +208 -0
- package/docs/examples/w-confirm_maxWidth.html +208 -0
- package/docs/examples/w-confirm_noBtnTextColor_noBtnTextColorHover_noBtnBackgroundColor_noBtnBackgroundColorHover.html +217 -0
- package/docs/examples/w-confirm_noBtnText_yesBtnText.html +209 -0
- package/docs/examples/w-confirm_scrollable (slot content).html +236 -0
- package/docs/examples/w-confirm_scrollable.html +207 -0
- package/docs/examples/w-confirm_slot content.html +283 -0
- package/docs/examples/w-confirm_slot footer.html +226 -0
- package/docs/examples/w-confirm_slot header.html +220 -0
- package/docs/examples/w-confirm_titleColor_headerBackgroundColor_footerBackgroundColor.html +212 -0
- package/docs/examples/w-confirm_title_content.html +207 -0
- package/docs/examples/w-dialog_closeWithInterceptor.html +270 -0
- package/docs/examples/w-dialog_contentTextColor_contentBackgroundColor.html +277 -0
- package/docs/examples/w-dialog_fullscreen.html +277 -0
- package/docs/examples/w-dialog_hasSaveBtn and hasCloseBtn, no save and close button.html +273 -0
- package/docs/examples/w-dialog_hasSaveBtn, no save button.html +270 -0
- package/docs/examples/w-dialog_headerBackgroundColor.html +270 -0
- package/docs/examples/w-dialog_headerBtns.html +271 -0
- package/docs/examples/w-dialog_headerIconColor_headerTextColor_headerBackgroundColor.html +274 -0
- package/docs/examples/w-dialog_icon (fontawesome).html +270 -0
- package/docs/examples/w-dialog_maxWidth, for narrow width.html +270 -0
- package/docs/examples/w-dialog_multi dialogs.html +313 -0
- package/docs/examples/w-dialog_saveBtnTooltip_closeBtnTooltip.html +271 -0
- package/docs/examples/w-dialog_scrollable.html +270 -0
- package/docs/examples/w-dialog_separate for slot content.html +274 -0
- package/docs/examples/w-dialog_slot content.html +269 -0
- package/docs/examples/w-dialog_slot header-left_header-right.html +291 -0
- package/docs/examples/w-dialog_table in slot content.html +336 -0
- package/docs/examples/w-dialog_title.html +269 -0
- package/docs/examples/w-dropfiles_backgroundColor_backgroundColorDropIn_backgroundColorHover.html +209 -0
- package/docs/examples/w-dropfiles_borderColor_borderColorDropIn_borderColorHover_backgroundColorDropIn.html +211 -0
- package/docs/examples/w-dropfiles_borderRadius.html +205 -0
- package/docs/examples/w-dropfiles_borderWidth.html +205 -0
- package/docs/examples/w-dropfiles_default.html +204 -0
- package/docs/examples/w-dropfiles_timeTransition.html +205 -0
- package/docs/examples/w-dynamic-list_change rows.html +383 -0
- package/docs/examples/w-dynamic-list_change slot.html +397 -0
- package/docs/examples/w-dynamic-list_default.html +366 -0
- package/docs/examples/w-dynamic-list_filterKeywords_searchEmpty.html +378 -0
- package/docs/examples/w-dynamic-list_large data (1,000,000 items).html +383 -0
- package/docs/examples/w-dynamic-list_processItems.html +401 -0
- package/docs/examples/w-dynamic-list_render.html +367 -0
- package/docs/examples/w-dynamic-list_separatorColor.html +367 -0
- package/docs/examples/w-dynamic-list_separatorColor_separatorHeight.html +368 -0
- package/docs/examples/w-dynamic-list_slot item with image.html +383 -0
- package/docs/examples/w-dynamic-list_viewHeightMax.html +386 -0
- package/docs/examples/w-echarts-vue-dyn_area.html +1788 -0
- package/docs/examples/w-echarts-vue-dyn_bar3D.html +1788 -0
- package/docs/examples/w-echarts-vue-dyn_continuous.html +1788 -0
- package/docs/examples/w-echarts-vue-dyn_heatmap.html +1788 -0
- package/docs/examples/w-echarts-vue-dyn_line.html +1788 -0
- package/docs/examples/w-echarts-vue-dyn_line3D.html +1788 -0
- package/docs/examples/w-echarts-vue-dyn_parallel.html +1788 -0
- package/docs/examples/w-echarts-vue-dyn_polar heatmap.html +1788 -0
- package/docs/examples/w-echarts-vue-dyn_polar.html +1788 -0
- package/docs/examples/w-echarts-vue-dyn_radar.html +1788 -0
- package/docs/examples/w-echarts-vue-dyn_scatter.html +1788 -0
- package/docs/examples/w-echarts-vue-dyn_stack.html +1788 -0
- package/docs/examples/w-echarts-vue-dyn_surface.html +1788 -0
- package/docs/examples/w-echarts-vue-dyn_tree.html +1791 -0
- package/docs/examples/w-echarts-vue-dyn_treemap.html +1788 -0
- package/docs/examples/w-group-check_backgroundColorActive.html +313 -0
- package/docs/examples/w-group-check_backgroundColor_backgroundColorHover.html +314 -0
- package/docs/examples/w-group-check_borderColor_borderColorHover_borderColorActive.html +317 -0
- package/docs/examples/w-group-check_borderRadius.html +313 -0
- package/docs/examples/w-group-check_borderRadius_borderRadiusStyle_paddingStyle.html +317 -0
- package/docs/examples/w-group-check_borderWidth_borderColor_borderColorHover_borderColorActive.html +322 -0
- package/docs/examples/w-group-check_click (console.log).html +313 -0
- package/docs/examples/w-group-check_default.html +312 -0
- package/docs/examples/w-group-check_group (only one).html +320 -0
- package/docs/examples/w-group-check_group_borderColor_borderColorHover_borderColorActive.html +325 -0
- package/docs/examples/w-group-check_group_groupBorderRadiusStyle_groupShift_borderRadius.html +353 -0
- package/docs/examples/w-group-check_icon (fontawesome).html +312 -0
- package/docs/examples/w-group-check_icon (material).html +312 -0
- package/docs/examples/w-group-check_iconColorActive.html +313 -0
- package/docs/examples/w-group-check_iconColor_iconColorHover.html +314 -0
- package/docs/examples/w-group-check_loading.html +313 -0
- package/docs/examples/w-group-check_loading_loadingColor.html +314 -0
- package/docs/examples/w-group-check_marginStyle.html +313 -0
- package/docs/examples/w-group-check_no shadowActive.html +313 -0
- package/docs/examples/w-group-check_not editable.html +313 -0
- package/docs/examples/w-group-check_paddingStyle_borderRadius_textColor_iconColor.html +330 -0
- package/docs/examples/w-group-check_paddingStyle_iconSize_textFontSize.html +315 -0
- package/docs/examples/w-group-check_shadow.html +313 -0
- package/docs/examples/w-group-check_shadowActiveStyle.html +314 -0
- package/docs/examples/w-group-check_shadow_shadowStyle.html +315 -0
- package/docs/examples/w-group-check_shiftLeft.html +313 -0
- package/docs/examples/w-group-check_shiftLeft_shiftRight.html +314 -0
- package/docs/examples/w-group-check_slot_shadow.html +326 -0
- package/docs/examples/w-group-check_textColor.html +313 -0
- package/docs/examples/w-group-check_textColorActive.html +313 -0
- package/docs/examples/w-group-check_textColor_textColorHover.html +314 -0
- package/docs/examples/w-group-check_tooltip.html +313 -0
- package/docs/examples/w-group-dragdrop_default.html +238 -0
- package/docs/examples/w-group-dragdrop_event (dragdrop).html +241 -0
- package/docs/examples/w-group-dragdrop_items(string array).html +234 -0
- package/docs/examples/w-group-dragdrop_keyBinder.html +246 -0
- package/docs/examples/w-group-dragdrop_not draggable.html +241 -0
- package/docs/examples/w-group-dragdrop_not itemStyleInline (block).html +241 -0
- package/docs/examples/w-group-radio_backgroundColorActive.html +292 -0
- package/docs/examples/w-group-radio_backgroundColor_backgroundColorHover.html +293 -0
- package/docs/examples/w-group-radio_borderColor_borderColorHover_borderColorActive.html +296 -0
- package/docs/examples/w-group-radio_borderRadius.html +292 -0
- package/docs/examples/w-group-radio_borderRadius_borderRadiusStyle_paddingStyle.html +296 -0
- package/docs/examples/w-group-radio_borderWidth_borderColor_borderColorHover_borderColorActive.html +301 -0
- package/docs/examples/w-group-radio_click (console.log).html +292 -0
- package/docs/examples/w-group-radio_default.html +291 -0
- package/docs/examples/w-group-radio_group (only one).html +299 -0
- package/docs/examples/w-group-radio_group_borderColor_borderColorHover_borderColorActive.html +304 -0
- package/docs/examples/w-group-radio_group_groupBorderRadiusStyle_groupShift_borderRadius.html +330 -0
- package/docs/examples/w-group-radio_icon (fontawesome).html +291 -0
- package/docs/examples/w-group-radio_icon (material).html +291 -0
- package/docs/examples/w-group-radio_iconColorActive.html +292 -0
- package/docs/examples/w-group-radio_iconColor_iconColorHover.html +293 -0
- package/docs/examples/w-group-radio_loading.html +292 -0
- package/docs/examples/w-group-radio_loading_loadingColor.html +293 -0
- package/docs/examples/w-group-radio_marginStyle.html +292 -0
- package/docs/examples/w-group-radio_no shadowActive.html +292 -0
- package/docs/examples/w-group-radio_not editable.html +292 -0
- package/docs/examples/w-group-radio_paddingStyle_borderRadius_textColor_iconColor.html +309 -0
- package/docs/examples/w-group-radio_paddingStyle_iconSize_textFontSize.html +294 -0
- package/docs/examples/w-group-radio_shadow.html +292 -0
- package/docs/examples/w-group-radio_shadowActiveStyle.html +293 -0
- package/docs/examples/w-group-radio_shadow_shadowStyle.html +294 -0
- package/docs/examples/w-group-radio_shiftLeft.html +292 -0
- package/docs/examples/w-group-radio_shiftLeft_shiftRight.html +293 -0
- package/docs/examples/w-group-radio_slot_shadow.html +305 -0
- package/docs/examples/w-group-radio_textColor.html +292 -0
- package/docs/examples/w-group-radio_textColorActive.html +292 -0
- package/docs/examples/w-group-radio_textColor_textColorHover.html +293 -0
- package/docs/examples/w-group-radio_tooltip.html +292 -0
- package/docs/examples/w-group-tags_backgroundColor_backgroundColorHover.html +572 -0
- package/docs/examples/w-group-tags_borderColor_borderColorHover.html +572 -0
- package/docs/examples/w-group-tags_borderRadius.html +571 -0
- package/docs/examples/w-group-tags_closeWithInterceptor.html +572 -0
- package/docs/examples/w-group-tags_default.html +563 -0
- package/docs/examples/w-group-tags_editableClose(no close button).html +571 -0
- package/docs/examples/w-group-tags_editableInput(no slot input).html +571 -0
- package/docs/examples/w-group-tags_enableCloseEventOnly.html +567 -0
- package/docs/examples/w-group-tags_icon (fontawesome).html +566 -0
- package/docs/examples/w-group-tags_icon (material).html +566 -0
- package/docs/examples/w-group-tags_iconColor_iconColorHover_textColor_textColorHover.html +584 -0
- package/docs/examples/w-group-tags_icon_iconColor_iconColorHover.html +572 -0
- package/docs/examples/w-group-tags_inputTextButtonTooltip.html +566 -0
- package/docs/examples/w-group-tags_inputTextColor_inputTextBorderColor_inputTextBorderColorHover_inputTextBorderColorFocus.html +577 -0
- package/docs/examples/w-group-tags_inputTextWidth.html +563 -0
- package/docs/examples/w-group-tags_marginStyle.html +568 -0
- package/docs/examples/w-group-tags_modify loading by callback in click.html +567 -0
- package/docs/examples/w-group-tags_modify loading_textColor_textColorHover.html +574 -0
- package/docs/examples/w-group-tags_modify prog by callback in click.html +567 -0
- package/docs/examples/w-group-tags_no shadow_borderColor_borderColorHover.html +572 -0
- package/docs/examples/w-group-tags_not draggable.html +571 -0
- package/docs/examples/w-group-tags_not editable.html +571 -0
- package/docs/examples/w-group-tags_not editable_nodata.html +571 -0
- package/docs/examples/w-group-tags_object items.html +567 -0
- package/docs/examples/w-group-tags_object items_addButtonTextColor_addButtonTextColorHover_addButtonIconColor.html +578 -0
- package/docs/examples/w-group-tags_object items_addButtonText_addButtonTooltip.html +574 -0
- package/docs/examples/w-group-tags_object items_keyIcon.html +571 -0
- package/docs/examples/w-group-tags_object items_keyText.html +571 -0
- package/docs/examples/w-group-tags_object items_keyTooltip.html +571 -0
- package/docs/examples/w-group-tags_object items_slot item.html +603 -0
- package/docs/examples/w-group-tags_object items_slot item_editableInput(no slot input)_useActive.html +593 -0
- package/docs/examples/w-group-tags_object items_slot item_useColorsFromItem_editableInput(no slot input).html +590 -0
- package/docs/examples/w-group-tags_paddingStyle_icon_iconSize_textFontSize.html +575 -0
- package/docs/examples/w-group-tags_progColor_progBackgroundColor.html +572 -0
- package/docs/examples/w-group-tags_shadowStyle.html +570 -0
- package/docs/examples/w-group-tags_shiftLeft.html +567 -0
- package/docs/examples/w-group-tags_slot input.html +585 -0
- package/docs/examples/w-group-tags_slot item.html +602 -0
- package/docs/examples/w-group-tags_slot item_useActive_valueActive_paddingStyle.html +592 -0
- package/docs/examples/w-group-tags_suggests.html +566 -0
- package/docs/examples/w-group-tags_suggests_inputTextColor_inputExpansionIconColor.html +570 -0
- package/docs/examples/w-group-tags_suggests_placeholder_searchEmpty.html +568 -0
- package/docs/examples/w-group-tags_suggests_suggectItemFontSize_suggectItemTextColor_suggectItemTextColorHover.html +573 -0
- package/docs/examples/w-group-tags_textColor.html +570 -0
- package/docs/examples/w-group-tags_textColor_textColorHover.html +571 -0
- package/docs/examples/w-group-tags_useActive_valueActive.html +571 -0
- package/docs/examples/w-highcharts-bitmap-dyn_area.html +810 -0
- package/docs/examples/w-highcharts-bitmap-dyn_bar.html +810 -0
- package/docs/examples/w-highcharts-bitmap-dyn_change options.html +823 -0
- package/docs/examples/w-highcharts-bitmap-dyn_heatmap.html +810 -0
- package/docs/examples/w-highcharts-bitmap-dyn_large heatmap.html +810 -0
- package/docs/examples/w-highcharts-bitmap-dyn_line.html +810 -0
- package/docs/examples/w-highcharts-bitmap-dyn_pie.html +810 -0
- package/docs/examples/w-highcharts-bitmap-dyn_render (need w-hc2png-server) (line).html +811 -0
- package/docs/examples/w-highcharts-bitmap-dyn_scale (line).html +811 -0
- package/docs/examples/w-highcharts-vue-dyn_area.html +740 -0
- package/docs/examples/w-highcharts-vue-dyn_bar.html +740 -0
- package/docs/examples/w-highcharts-vue-dyn_heatmap.html +740 -0
- package/docs/examples/w-highcharts-vue-dyn_large heatmap.html +740 -0
- package/docs/examples/w-highcharts-vue-dyn_line.html +740 -0
- package/docs/examples/w-highcharts-vue-dyn_pie.html +740 -0
- package/docs/examples/w-highstock-vue-dyn_area.html +260 -0
- package/docs/examples/w-highstock-vue-dyn_line.html +260 -0
- package/docs/examples/w-icon-svg_path (mdi-access-point)_size.html +185 -0
- package/docs/examples/w-icon-svg_path (mdi-account-badge-horizontal)_timeTransition.html +190 -0
- package/docs/examples/w-icon-svg_path (mdi-fruit-cherries).html +185 -0
- package/docs/examples/w-icon-svg_path (mdi-graph-outline)_color_colorHover.html +191 -0
- package/docs/examples/w-icon-svg_path (use 3 paths)_sizeOriginal.html +185 -0
- package/docs/examples/w-icon-svg_path_sizeOriginal.html +185 -0
- package/docs/examples/w-image-cascading-dyn_arrangeWhenFinish.html +198 -0
- package/docs/examples/w-image-cascading-dyn_colNum.html +198 -0
- package/docs/examples/w-image-cascading-dyn_default(imageWidth=300).html +196 -0
- package/docs/examples/w-image-cascading-dyn_imageWidth.html +202 -0
- package/docs/examples/w-image-viewer-dyn_multiple image with navbar.html +202 -0
- package/docs/examples/w-image-viewer-dyn_one image.html +201 -0
- package/docs/examples/w-json-view_default.html +465 -0
- package/docs/examples/w-json-view_filterKeywords_searchEmpty.html +478 -0
- package/docs/examples/w-json-view_iconColor_keyColor_keyNumbersColor_numColor.html +477 -0
- package/docs/examples/w-json-view_large data (100,000 lines).html +465 -0
- package/docs/examples/w-json-view_valueStyleBreakAll.html +469 -0
- package/docs/examples/w-json-view_viewHeightMax.html +469 -0
- package/docs/examples/w-leaflet-vue-dyn_contourSet for rain data.html +417 -0
- package/docs/examples/w-leaflet-vue-dyn_contourSets.html +417 -0
- package/docs/examples/w-leaflet-vue-dyn_pointSets.html +417 -0
- package/docs/examples/w-leaflet-vue-dyn_polygonSets.html +417 -0
- package/docs/examples/w-list-vertical_auto scroll.html +308 -0
- package/docs/examples/w-list-vertical_default.html +296 -0
- package/docs/examples/w-list-vertical_itemActive.html +297 -0
- package/docs/examples/w-list-vertical_itemActive_itemBackgroundColor_itemBackgroundColorHover_itemBackgroundColorActive.html +304 -0
- package/docs/examples/w-list-vertical_itemActive_itemTextColor_itemTextColorHover_itemTextColorActive.html +310 -0
- package/docs/examples/w-list-vertical_keyText_keyIcon.html +298 -0
- package/docs/examples/w-list-vertical_paddingStyle.html +297 -0
- package/docs/examples/w-list-vertical_slot footer.html +310 -0
- package/docs/examples/w-list-vertical_slot header.html +309 -0
- package/docs/examples/w-list-vertical_slot item.html +331 -0
- package/docs/examples/w-list-vertical_string items.html +296 -0
- package/docs/examples/w-list-vertical_useActive (no active).html +297 -0
- package/docs/examples/w-list-vertical_useActive (no active)_itemRippleColor.html +298 -0
- package/docs/examples/w-panel-bulge_contentBackgroundColor.html +243 -0
- package/docs/examples/w-panel-bulge_contentBorderRadius.html +243 -0
- package/docs/examples/w-panel-bulge_default.html +242 -0
- package/docs/examples/w-panel-bulge_headerBorderRadius.html +243 -0
- package/docs/examples/w-panel-bulge_headerPadding.html +246 -0
- package/docs/examples/w-panel-bulge_headerTextColor_headerBackgroundColor.html +244 -0
- package/docs/examples/w-panel-bulge_no headerShadow_no contentShadow, with green outer.html +248 -0
- package/docs/examples/w-panel-bulge_slot for header_headerBorderRadius_headerBackgroundColor(linear-gradient).html +265 -0
- package/docs/examples/w-panel-bulge_with grey outer.html +244 -0
- package/docs/examples/w-panel-chart_cmpName (WEchartsVueDyn).html +322 -0
- package/docs/examples/w-panel-chart_cmpName (WHighchartsBitmapDyn).html +322 -0
- package/docs/examples/w-panel-chart_cmpName (WHighstockVueDyn).html +322 -0
- package/docs/examples/w-panel-chart_default (WHighchartsVueDyn).html +319 -0
- package/docs/examples/w-panel-chart_downloadPicture.html +322 -0
- package/docs/examples/w-panel-chart_downloadPicture_downloadPictureBtnIcon.html +323 -0
- package/docs/examples/w-panel-chart_downloadPicture_downloadPictureBtnIconColor_downloadPictureBtnIconColorHover_downloadPictureBtnIconColorFocus.html +330 -0
- package/docs/examples/w-panel-chart_downloadPicture_downloadPictureBtnTooltip.html +323 -0
- package/docs/examples/w-panel-chart_downloadPicture_downloadPictureFilenmae.html +323 -0
- package/docs/examples/w-panel-chart_scale.html +319 -0
- package/docs/examples/w-panel-chart_width_height.html +323 -0
- package/docs/examples/w-panel-divide-horizontal_barBorderSize_barBorderColor.html +202 -0
- package/docs/examples/w-panel-divide-horizontal_barColor.html +203 -0
- package/docs/examples/w-panel-divide-horizontal_barSize.html +201 -0
- package/docs/examples/w-panel-divide-horizontal_default.html +200 -0
- package/docs/examples/w-panel-divide-horizontal_min_max.html +204 -0
- package/docs/examples/w-panel-divide-horizontal_ratio.html +203 -0
- package/docs/examples/w-panel-divide-vertical_barBorderSize_barBorderColor.html +202 -0
- package/docs/examples/w-panel-divide-vertical_barColor.html +203 -0
- package/docs/examples/w-panel-divide-vertical_barSize.html +201 -0
- package/docs/examples/w-panel-divide-vertical_default.html +200 -0
- package/docs/examples/w-panel-divide-vertical_min_max.html +204 -0
- package/docs/examples/w-panel-divide-vertical_ratio.html +203 -0
- package/docs/examples/w-panel-scale_for select.html +232 -0
- package/docs/examples/w-panel-scale_for v-btn.html +241 -0
- package/docs/examples/w-panel-scale_for w-panel-bulge.html +230 -0
- package/docs/examples/w-panel-scale_for w-panel-scrolly.html +260 -0
- package/docs/examples/w-panel-scale_for w-text-suggest.html +238 -0
- package/docs/examples/w-panel-scrolly_barColor_barColorHover.html +222 -0
- package/docs/examples/w-panel-scrolly_barColor_barColorHover_barBackgroundColor_barBackgroundColorHover.html +226 -0
- package/docs/examples/w-panel-scrolly_barHeightMin.html +190 -0
- package/docs/examples/w-panel-scrolly_barWidth.html +218 -0
- package/docs/examples/w-panel-scrolly_default.html +221 -0
- package/docs/examples/w-panel-scrolly_ratio.html +226 -0
- package/docs/examples/w-panel-scrolly_scrollDelta.html +221 -0
- package/docs/examples/w-panel-stripe_borderRadius.html +194 -0
- package/docs/examples/w-panel-stripe_buttons in slot footer.html +203 -0
- package/docs/examples/w-panel-stripe_headerBackgroundColor_footerBackgroundColor.html +198 -0
- package/docs/examples/w-panel-stripe_no footer.html +194 -0
- package/docs/examples/w-panel-stripe_no header.html +194 -0
- package/docs/examples/w-panel-stripe_no shadow, with crimson outer.html +199 -0
- package/docs/examples/w-panel-stripe_only slot icon and slot title in header.html +190 -0
- package/docs/examples/w-panel-stripe_only slot title in header.html +186 -0
- package/docs/examples/w-panel-stripe_padding.html +196 -0
- package/docs/examples/w-panel-stripe_separate for slot content.html +204 -0
- package/docs/examples/w-panel-stripe_slot icon (fontawesome).html +197 -0
- package/docs/examples/w-panel-stripe_slot icon, slot title, slot description, slot content and slot footer.html +196 -0
- package/docs/examples/w-panel-stripe_table in slot content.html +261 -0
- package/docs/examples/w-panel-stripe_with grey outer.html +199 -0
- package/docs/examples/w-popup-edit-text_default.html +178 -0
- package/docs/examples/w-popup-edit-text_in table.html +191 -0
- package/docs/examples/w-popup-edit-text_minWidthForPopup.html +181 -0
- package/docs/examples/w-popup-edit-text_minWidthForValue.html +181 -0
- package/docs/examples/w-popup-edit-text_no title.html +178 -0
- package/docs/examples/w-popup-edit-text_title_contentIcon_contentIconColor_contentIconSize.html +186 -0
- package/docs/examples/w-popup-edit-text_title_footerBackgroundColor.html +182 -0
- package/docs/examples/w-popup-edit-text_title_inputTextColor_contentIconColor_contentBackgroundColor.html +189 -0
- package/docs/examples/w-popup-edit-text_title_saveBtnText_saveBtnTextColor_saveBtnTextColorHover.html +191 -0
- package/docs/examples/w-popup-edit-text_title_titleColor_titleFontSize_headerBackgroundColor.html +186 -0
- package/docs/examples/w-popup_auto flipping in scroll panel.html +295 -0
- package/docs/examples/w-popup_backgroundColor.html +279 -0
- package/docs/examples/w-popup_borderRadius.html +278 -0
- package/docs/examples/w-popup_click item by latency hiding.html +273 -0
- package/docs/examples/w-popup_default.html +273 -0
- package/docs/examples/w-popup_distY.html +278 -0
- package/docs/examples/w-popup_in dialog.html +304 -0
- package/docs/examples/w-popup_in popup.html +337 -0
- package/docs/examples/w-popup_in scroll panel.html +292 -0
- package/docs/examples/w-popup_isolated.html +281 -0
- package/docs/examples/w-popup_maxWidth.html +274 -0
- package/docs/examples/w-popup_minWidth.html +278 -0
- package/docs/examples/w-popup_no shadow_backgroundColor.html +280 -0
- package/docs/examples/w-popup_not editable.html +282 -0
- package/docs/examples/w-popup_shadowStyle.html +278 -0
- package/docs/examples/w-popup_slot for table_maxWidth.html +283 -0
- package/docs/examples/w-progress-bar_decimal.html +186 -0
- package/docs/examples/w-progress-bar_default.html +182 -0
- package/docs/examples/w-progress-bar_enableIconFinish (no iconFinish).html +186 -0
- package/docs/examples/w-progress-bar_enableIconWaiting (no iconWaiting).html +186 -0
- package/docs/examples/w-progress-bar_height.html +186 -0
- package/docs/examples/w-progress-bar_height_borderRadius.html +187 -0
- package/docs/examples/w-progress-bar_iconFinish (fontawesome).html +186 -0
- package/docs/examples/w-progress-bar_iconFinishColor.html +186 -0
- package/docs/examples/w-progress-bar_iconSize.html +186 -0
- package/docs/examples/w-progress-bar_iconWaiting (fontawesome).html +186 -0
- package/docs/examples/w-progress-bar_iconWaitingColor.html +186 -0
- package/docs/examples/w-progress-bar_progColor.html +186 -0
- package/docs/examples/w-progress-bar_progColor_progBackgroundColor.html +187 -0
- package/docs/examples/w-progress-bar_title.html +186 -0
- package/docs/examples/w-progress-bar_title_titleTextColor.html +187 -0
- package/docs/examples/w-progress-bar_title_titleTextFontSize.html +187 -0
- package/docs/examples/w-progress-bar_value=0 (waiting).html +185 -0
- package/docs/examples/w-progress-bar_value=100 (finish).html +185 -0
- package/docs/examples/w-progress-bar_valueTextColor.html +186 -0
- package/docs/examples/w-progress-bar_valueTextFontSize.html +186 -0
- package/docs/examples/w-progress-circle_color.html +182 -0
- package/docs/examples/w-progress-circle_default.html +181 -0
- package/docs/examples/w-progress-circle_small size.html +184 -0
- package/docs/examples/w-progress-circle_tooltip.html +183 -0
- package/docs/examples/w-progress-circle_very small size.html +183 -0
- package/docs/examples/w-progress-circle_width.html +178 -0
- package/docs/examples/w-progress-circle_/344/270/255/346/226/207text.html +178 -0
- package/docs/examples/w-quill-vue-dyn_default.html +201 -0
- package/docs/examples/w-quill-vue-dyn_height.html +202 -0
- package/docs/examples/w-quill-vue-dyn_not editable.html +202 -0
- package/docs/examples/w-quill-vue-dyn_settings.html +202 -0
- package/docs/examples/w-switch_default.html +173 -0
- package/docs/examples/w-switch_not editable.html +173 -0
- package/docs/examples/w-switch_text_color.html +177 -0
- package/docs/examples/w-switch_use string (y or n).html +173 -0
- package/docs/examples/w-table-dyn_default.html +517 -0
- package/docs/examples/w-table-dyn_editable.html +520 -0
- package/docs/examples/w-table-dyn_editable_checkId.html +521 -0
- package/docs/examples/w-table-dyn_editable_checkId_opt.modifyDataWhenSave_save(call cmp. method).html +533 -0
- package/docs/examples/w-table-dyn_editable_checkId_successMsgFromAddRow_errorMsgFromAddRow.html +531 -0
- package/docs/examples/w-table-dyn_editable_checkId_tooltipAddRow_tooltipDeleteSelectedRows.html +530 -0
- package/docs/examples/w-table-dyn_editable_inforPaddingStyle_menuBackgroundColor.html +526 -0
- package/docs/examples/w-table-dyn_editable_opt.beforeAddRow.html +520 -0
- package/docs/examples/w-table-dyn_editable_opt.kpConvertKeysWhenUploadData.html +520 -0
- package/docs/examples/w-table-dyn_editable_opt.optForUploadData.html +520 -0
- package/docs/examples/w-table-dyn_editable_slot btns.html +544 -0
- package/docs/examples/w-table-dyn_editable_textLabelDataName_textPlaceholderDataName_textLabelDataDescription.html +526 -0
- package/docs/examples/w-table-dyn_fixIds (fix id).html +521 -0
- package/docs/examples/w-table-dyn_hideIds (hide mappingId).html +521 -0
- package/docs/examples/w-table-dyn_name_description.html +519 -0
- package/docs/examples/w-table-dyn_opt.kpHead.html +519 -0
- package/docs/examples/w-table-dyn_removeIdsWhenDownload (remove id, mappingId, order, isActive).html +522 -0
- package/docs/examples/w-table-dyn_slot btns.html +543 -0
- package/docs/examples/w-table-dyn_slot infor (name_description).html +536 -0
- package/docs/examples/w-table-dyn_sortColIds (sort by order).html +520 -0
- package/docs/examples/w-text-int_borderRadius.html +193 -0
- package/docs/examples/w-text-int_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +205 -0
- package/docs/examples/w-text-int_border_borderRadius.html +201 -0
- package/docs/examples/w-text-int_border_buttonColor_buttonColorHover_buttonColorFocus.html +205 -0
- package/docs/examples/w-text-int_border_default.html +200 -0
- package/docs/examples/w-text-int_border_not editable.html +201 -0
- package/docs/examples/w-text-int_border_width.html +201 -0
- package/docs/examples/w-text-int_buttonColor_buttonColorHover_buttonColorFocus.html +200 -0
- package/docs/examples/w-text-int_buttonIconSize.html +193 -0
- package/docs/examples/w-text-int_default.html +193 -0
- package/docs/examples/w-text-int_not editable.html +193 -0
- package/docs/examples/w-text-int_textColor.html +193 -0
- package/docs/examples/w-text-int_textFontSize.html +193 -0
- package/docs/examples/w-text-int_width.html +193 -0
- package/docs/examples/w-text-select_a lot of items.html +270 -0
- package/docs/examples/w-text-select_borderRadius.html +271 -0
- package/docs/examples/w-text-select_border_a lot of items.html +275 -0
- package/docs/examples/w-text-select_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +280 -0
- package/docs/examples/w-text-select_border_borderRadius.html +276 -0
- package/docs/examples/w-text-select_border_default.html +274 -0
- package/docs/examples/w-text-select_border_events.html +284 -0
- package/docs/examples/w-text-select_border_expansionIconSize.html +275 -0
- package/docs/examples/w-text-select_border_fullwidth.html +275 -0
- package/docs/examples/w-text-select_border_itemPaddingStyle.html +276 -0
- package/docs/examples/w-text-select_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +281 -0
- package/docs/examples/w-text-select_border_itemTextFontSize_defItemHeight_width.html +280 -0
- package/docs/examples/w-text-select_border_items(string array).html +275 -0
- package/docs/examples/w-text-select_border_keyText.html +276 -0
- package/docs/examples/w-text-select_border_leftIcon (fontawesome).html +275 -0
- package/docs/examples/w-text-select_border_leftIcon (material).html +275 -0
- package/docs/examples/w-text-select_border_leftIcon_leftIconColor_leftIconColorHover.html +281 -0
- package/docs/examples/w-text-select_border_leftIcon_leftIconSize.html +276 -0
- package/docs/examples/w-text-select_border_not editable.html +276 -0
- package/docs/examples/w-text-select_border_paddingStyle (equal height to using icon).html +277 -0
- package/docs/examples/w-text-select_border_paddingStyle (thin style).html +275 -0
- package/docs/examples/w-text-select_border_rightIcon_rightIconColor_rightIconColorHover.html +281 -0
- package/docs/examples/w-text-select_border_rightIcon_rightIconSize.html +276 -0
- package/docs/examples/w-text-select_border_showExpansionIcon.html +276 -0
- package/docs/examples/w-text-select_border_slot item.html +282 -0
- package/docs/examples/w-text-select_border_slot select.html +283 -0
- package/docs/examples/w-text-select_border_textColor_expansionIconColor.html +276 -0
- package/docs/examples/w-text-select_border_textFontSize.html +275 -0
- package/docs/examples/w-text-select_border_with popup.html +284 -0
- package/docs/examples/w-text-select_default.html +269 -0
- package/docs/examples/w-text-select_events.html +279 -0
- package/docs/examples/w-text-select_expansionIconSize.html +270 -0
- package/docs/examples/w-text-select_fullwidth.html +270 -0
- package/docs/examples/w-text-select_itemPaddingStyle.html +271 -0
- package/docs/examples/w-text-select_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +276 -0
- package/docs/examples/w-text-select_itemTextFontSize_defItemHeight_width.html +273 -0
- package/docs/examples/w-text-select_items(string array).html +270 -0
- package/docs/examples/w-text-select_keyText.html +271 -0
- package/docs/examples/w-text-select_leftIcon (fontawesome).html +270 -0
- package/docs/examples/w-text-select_leftIcon (material).html +270 -0
- package/docs/examples/w-text-select_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +276 -0
- package/docs/examples/w-text-select_leftIcon_leftIconSize.html +271 -0
- package/docs/examples/w-text-select_not editable.html +271 -0
- package/docs/examples/w-text-select_paddingStyle (equal height to using icon).html +270 -0
- package/docs/examples/w-text-select_paddingStyle (thin style).html +270 -0
- package/docs/examples/w-text-select_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +276 -0
- package/docs/examples/w-text-select_rightIcon_rightIconSize.html +271 -0
- package/docs/examples/w-text-select_showExpansionIcon.html +271 -0
- package/docs/examples/w-text-select_slot item.html +277 -0
- package/docs/examples/w-text-select_slot select.html +278 -0
- package/docs/examples/w-text-select_textColor_expansionIconColor.html +271 -0
- package/docs/examples/w-text-select_textFontSize.html +270 -0
- package/docs/examples/w-text-select_with popup.html +304 -0
- package/docs/examples/w-text-suggest_a lot of items.html +296 -0
- package/docs/examples/w-text-suggest_borderRadius.html +296 -0
- package/docs/examples/w-text-suggest_border_a lot of items.html +301 -0
- package/docs/examples/w-text-suggest_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +305 -0
- package/docs/examples/w-text-suggest_border_borderRadius.html +301 -0
- package/docs/examples/w-text-suggest_border_default.html +299 -0
- package/docs/examples/w-text-suggest_border_events.html +309 -0
- package/docs/examples/w-text-suggest_border_expansionIconSize.html +300 -0
- package/docs/examples/w-text-suggest_border_fullwidth.html +300 -0
- package/docs/examples/w-text-suggest_border_itemPaddingStyle.html +301 -0
- package/docs/examples/w-text-suggest_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +306 -0
- package/docs/examples/w-text-suggest_border_itemTextFontSize_defItemHeight.html +302 -0
- package/docs/examples/w-text-suggest_border_items(string array).html +300 -0
- package/docs/examples/w-text-suggest_border_keyText.html +302 -0
- package/docs/examples/w-text-suggest_border_leftIcon (fontawesome).html +300 -0
- package/docs/examples/w-text-suggest_border_leftIcon (material).html +300 -0
- package/docs/examples/w-text-suggest_border_leftIcon_leftIconColor_leftIconColorHover.html +306 -0
- package/docs/examples/w-text-suggest_border_leftIcon_leftIconSize.html +301 -0
- package/docs/examples/w-text-suggest_border_not editable.html +301 -0
- package/docs/examples/w-text-suggest_border_paddingStyle (equal height to using icon).html +302 -0
- package/docs/examples/w-text-suggest_border_paddingStyle (thin style).html +300 -0
- package/docs/examples/w-text-suggest_border_placeholder.html +301 -0
- package/docs/examples/w-text-suggest_border_rightIcon_rightIconColor_rightIconColorHover.html +306 -0
- package/docs/examples/w-text-suggest_border_rightIcon_rightIconSize.html +301 -0
- package/docs/examples/w-text-suggest_border_searchEmpty.html +300 -0
- package/docs/examples/w-text-suggest_border_showExpansionIcon.html +301 -0
- package/docs/examples/w-text-suggest_border_showPanel(press enter to hide panel)_focused.html +322 -0
- package/docs/examples/w-text-suggest_border_slot item.html +307 -0
- package/docs/examples/w-text-suggest_border_textColor_expansionIconColor.html +301 -0
- package/docs/examples/w-text-suggest_border_textFontSize.html +300 -0
- package/docs/examples/w-text-suggest_border_with popup.html +309 -0
- package/docs/examples/w-text-suggest_default.html +294 -0
- package/docs/examples/w-text-suggest_events.html +304 -0
- package/docs/examples/w-text-suggest_expansionIconSize.html +295 -0
- package/docs/examples/w-text-suggest_fullwidth.html +295 -0
- package/docs/examples/w-text-suggest_itemPaddingStyle.html +296 -0
- package/docs/examples/w-text-suggest_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +301 -0
- package/docs/examples/w-text-suggest_itemTextFontSize_defItemHeight.html +297 -0
- package/docs/examples/w-text-suggest_items(string array).html +295 -0
- package/docs/examples/w-text-suggest_keyText.html +297 -0
- package/docs/examples/w-text-suggest_leftIcon (fontawesome).html +295 -0
- package/docs/examples/w-text-suggest_leftIcon (material).html +295 -0
- package/docs/examples/w-text-suggest_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +301 -0
- package/docs/examples/w-text-suggest_leftIcon_leftIconSize.html +296 -0
- package/docs/examples/w-text-suggest_not editable.html +296 -0
- package/docs/examples/w-text-suggest_paddingStyle (equal height to using icon).html +295 -0
- package/docs/examples/w-text-suggest_paddingStyle (thin style).html +295 -0
- package/docs/examples/w-text-suggest_placeholder.html +296 -0
- package/docs/examples/w-text-suggest_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +301 -0
- package/docs/examples/w-text-suggest_rightIcon_rightIconSize.html +296 -0
- package/docs/examples/w-text-suggest_searchEmpty.html +295 -0
- package/docs/examples/w-text-suggest_showExpansionIcon.html +296 -0
- package/docs/examples/w-text-suggest_showPanel(press enter to hide panel)_focused.html +315 -0
- package/docs/examples/w-text-suggest_slot item.html +302 -0
- package/docs/examples/w-text-suggest_textColor_expansionIconColor.html +296 -0
- package/docs/examples/w-text-suggest_textFontSize.html +295 -0
- package/docs/examples/w-text_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +228 -0
- package/docs/examples/w-text_border_borderRadius_paddingStyle.html +227 -0
- package/docs/examples/w-text_border_default.html +226 -0
- package/docs/examples/w-text_border_events.html +235 -0
- package/docs/examples/w-text_border_fullwidth.html +227 -0
- package/docs/examples/w-text_border_leftIcon (fontawesome).html +227 -0
- package/docs/examples/w-text_border_leftIcon (material).html +227 -0
- package/docs/examples/w-text_border_leftIcon_leftIconColor_leftIconColorHover.html +232 -0
- package/docs/examples/w-text_border_not editable.html +228 -0
- package/docs/examples/w-text_border_placeholder.html +227 -0
- package/docs/examples/w-text_border_rightIcon_rightIconColorHover_rightIconColorFocus.html +232 -0
- package/docs/examples/w-text_border_textAlign.html +265 -0
- package/docs/examples/w-text_border_textColor.html +227 -0
- package/docs/examples/w-text_bottomLineBorderColor_bottomLineBorderColorHover_bottomLineBorderColorFocus.html +219 -0
- package/docs/examples/w-text_default.html +212 -0
- package/docs/examples/w-text_events.html +223 -0
- package/docs/examples/w-text_fullwidth.html +215 -0
- package/docs/examples/w-text_leftIcon (fontawesome).html +212 -0
- package/docs/examples/w-text_leftIcon (material).html +215 -0
- package/docs/examples/w-text_leftIcon_leftIconColor_leftIconColorFocus.html +219 -0
- package/docs/examples/w-text_leftIcon_leftIconSize.html +216 -0
- package/docs/examples/w-text_leftIcon_leftIconTooltip.html +216 -0
- package/docs/examples/w-text_not editable.html +216 -0
- package/docs/examples/w-text_placeholder.html +216 -0
- package/docs/examples/w-text_rightIcon.html +212 -0
- package/docs/examples/w-text_rightIcon_rightIconColor_rightIconColorFocus.html +219 -0
- package/docs/examples/w-text_rightIcon_rightIconSize.html +216 -0
- package/docs/examples/w-text_rightIcon_rightIconTooltip.html +216 -0
- package/docs/examples/w-text_textAlign.html +220 -0
- package/docs/examples/w-text_textColor.html +212 -0
- package/docs/examples/w-text_textFontSize.html +212 -0
- package/docs/examples/w-textarea_borderColorFocus.html +195 -0
- package/docs/examples/w-textarea_default.html +192 -0
- package/docs/examples/w-textarea_fullwidth.html +192 -0
- package/docs/examples/w-textarea_not editable.html +192 -0
- package/docs/examples/w-textarea_placeholder.html +192 -0
- package/docs/examples/w-timeday-range_between.html +209 -0
- package/docs/examples/w-timeday-range_borderRadius.html +209 -0
- package/docs/examples/w-timeday-range_border_between.html +214 -0
- package/docs/examples/w-timeday-range_border_borderRadius.html +214 -0
- package/docs/examples/w-timeday-range_border_default.html +213 -0
- package/docs/examples/w-timeday-range_border_icon (fontawesome).html +214 -0
- package/docs/examples/w-timeday-range_border_icon (material).html +214 -0
- package/docs/examples/w-timeday-range_border_iconColor_iconColorFoucs_borderColor.html +216 -0
- package/docs/examples/w-timeday-range_border_iconTooltip.html +214 -0
- package/docs/examples/w-timeday-range_border_not editable.html +214 -0
- package/docs/examples/w-timeday-range_border_pickColor.html +214 -0
- package/docs/examples/w-timeday-range_border_textColor.html +214 -0
- package/docs/examples/w-timeday-range_default.html +208 -0
- package/docs/examples/w-timeday-range_icon (fontawesome).html +209 -0
- package/docs/examples/w-timeday-range_icon (material).html +209 -0
- package/docs/examples/w-timeday-range_iconColor_iconColorFoucs.html +210 -0
- package/docs/examples/w-timeday-range_iconTooltip.html +209 -0
- package/docs/examples/w-timeday-range_icon_iconSize.html +210 -0
- package/docs/examples/w-timeday-range_not editable.html +209 -0
- package/docs/examples/w-timeday-range_pickColor.html +209 -0
- package/docs/examples/w-timeday-range_textColor.html +209 -0
- package/docs/examples/w-timeday_borderRadius.html +188 -0
- package/docs/examples/w-timeday_border_borderRadius.html +196 -0
- package/docs/examples/w-timeday_border_default.html +195 -0
- package/docs/examples/w-timeday_border_icon (fontawesome).html +196 -0
- package/docs/examples/w-timeday_border_icon (material).html +196 -0
- package/docs/examples/w-timeday_border_iconColor_iconColorFoucs_borderColor.html +198 -0
- package/docs/examples/w-timeday_border_iconTooltip.html +197 -0
- package/docs/examples/w-timeday_border_not editable.html +196 -0
- package/docs/examples/w-timeday_border_pickColor.html +196 -0
- package/docs/examples/w-timeday_border_textColor.html +196 -0
- package/docs/examples/w-timeday_default.html +188 -0
- package/docs/examples/w-timeday_icon (fontawesome).html +188 -0
- package/docs/examples/w-timeday_icon (material).html +191 -0
- package/docs/examples/w-timeday_iconColor_iconColorFoucs.html +192 -0
- package/docs/examples/w-timeday_iconTooltip.html +192 -0
- package/docs/examples/w-timeday_icon_iconSize.html +192 -0
- package/docs/examples/w-timeday_not editable.html +188 -0
- package/docs/examples/w-timeday_pickColor.html +188 -0
- package/docs/examples/w-timeday_textColor.html +188 -0
- package/docs/examples/w-timeminute-range_between.html +233 -0
- package/docs/examples/w-timeminute-range_borderRadius.html +233 -0
- package/docs/examples/w-timeminute-range_border_between.html +238 -0
- package/docs/examples/w-timeminute-range_border_borderRadius.html +238 -0
- package/docs/examples/w-timeminute-range_border_default.html +237 -0
- package/docs/examples/w-timeminute-range_border_hourMin_hourMax.html +239 -0
- package/docs/examples/w-timeminute-range_border_icon (fontawesome).html +238 -0
- package/docs/examples/w-timeminute-range_border_icon (material).html +238 -0
- package/docs/examples/w-timeminute-range_border_iconColor_iconColorFoucs_borderColor.html +240 -0
- package/docs/examples/w-timeminute-range_border_iconTooltip.html +238 -0
- package/docs/examples/w-timeminute-range_border_minuteInter.html +238 -0
- package/docs/examples/w-timeminute-range_border_minutesCustom.html +238 -0
- package/docs/examples/w-timeminute-range_border_not editable.html +238 -0
- package/docs/examples/w-timeminute-range_border_pickColor.html +238 -0
- package/docs/examples/w-timeminute-range_border_textColor_expansionIconColor.html +239 -0
- package/docs/examples/w-timeminute-range_default.html +232 -0
- package/docs/examples/w-timeminute-range_hourMin_hourMax.html +234 -0
- package/docs/examples/w-timeminute-range_icon (fontawesome).html +233 -0
- package/docs/examples/w-timeminute-range_icon (material).html +233 -0
- package/docs/examples/w-timeminute-range_iconColor_iconColorFoucs.html +234 -0
- package/docs/examples/w-timeminute-range_iconTooltip.html +233 -0
- package/docs/examples/w-timeminute-range_icon_iconSize.html +234 -0
- package/docs/examples/w-timeminute-range_minuteInter.html +233 -0
- package/docs/examples/w-timeminute-range_minutesCustom.html +233 -0
- package/docs/examples/w-timeminute-range_not editable.html +233 -0
- package/docs/examples/w-timeminute-range_pickColor.html +233 -0
- package/docs/examples/w-timeminute-range_textColor_expansionIconColor.html +234 -0
- package/docs/examples/w-timeminute_borderRadius.html +201 -0
- package/docs/examples/w-timeminute_border_borderRadius.html +209 -0
- package/docs/examples/w-timeminute_border_default.html +208 -0
- package/docs/examples/w-timeminute_border_hourMin_hourMax.html +210 -0
- package/docs/examples/w-timeminute_border_icon (fontawesome).html +209 -0
- package/docs/examples/w-timeminute_border_icon (material).html +209 -0
- package/docs/examples/w-timeminute_border_iconColor_iconColorFoucs_borderColor.html +211 -0
- package/docs/examples/w-timeminute_border_iconTooltip.html +210 -0
- package/docs/examples/w-timeminute_border_minuteInter.html +209 -0
- package/docs/examples/w-timeminute_border_minutesCustom.html +209 -0
- package/docs/examples/w-timeminute_border_not editable.html +209 -0
- package/docs/examples/w-timeminute_border_pickColor.html +209 -0
- package/docs/examples/w-timeminute_border_textColor_expansionIconColor.html +210 -0
- package/docs/examples/w-timeminute_default.html +201 -0
- package/docs/examples/w-timeminute_hourMin_hourMax.html +205 -0
- package/docs/examples/w-timeminute_icon (fontawesome).html +204 -0
- package/docs/examples/w-timeminute_icon (material).html +204 -0
- package/docs/examples/w-timeminute_iconColor_iconColorFoucs.html +205 -0
- package/docs/examples/w-timeminute_iconTooltip.html +205 -0
- package/docs/examples/w-timeminute_icon_iconSize.html +205 -0
- package/docs/examples/w-timeminute_minuteInter.html +201 -0
- package/docs/examples/w-timeminute_minutesCustom.html +204 -0
- package/docs/examples/w-timeminute_not editable.html +201 -0
- package/docs/examples/w-timeminute_pickColor.html +201 -0
- package/docs/examples/w-timeminute_textColor_expansionIconColor.html +205 -0
- package/docs/examples/w-tinymce-vue-dyn_default.html +191 -0
- package/docs/examples/w-tinymce-vue-dyn_height.html +192 -0
- package/docs/examples/w-tinymce-vue-dyn_not editable.html +192 -0
- package/docs/examples/w-tinymce-vue-dyn_settings.html +192 -0
- package/docs/examples/w-tree_default.html +629 -0
- package/docs/examples/w-tree_defaultDisplayLevel.html +633 -0
- package/docs/examples/w-tree_draggable.html +637 -0
- package/docs/examples/w-tree_draggable_dgInsertLineColor_dgInsertBackgroundColor_dgBelongBackgroundColor.html +642 -0
- package/docs/examples/w-tree_draggable_dgPreviewOpacity_dgPreviewBorderWidth_dgBelongBackgroundColor.html +643 -0
- package/docs/examples/w-tree_draggable_dgTextDisabled_dgTextDisabledColor_dgTextDisabledPaddingLeft.html +644 -0
- package/docs/examples/w-tree_filterKeywords_searchEmpty_selectable.html +709 -0
- package/docs/examples/w-tree_iconToggleColor_iconToggleBackgroundColor_iconToggleBackgroundColorHover.html +637 -0
- package/docs/examples/w-tree_indent.html +633 -0
- package/docs/examples/w-tree_keyPrimary_keyText_keyChildren.html +635 -0
- package/docs/examples/w-tree_mouseenter_mouseleave_click_change-view-items.html +638 -0
- package/docs/examples/w-tree_operatable.html +638 -0
- package/docs/examples/w-tree_operatable_operateBtnBackgroundColor_operateBtnBackgroundColorHover_operateBtnBackgroundColorFocus.html +643 -0
- package/docs/examples/w-tree_operatable_operateBtnTooltip_operateItemTextForInsertBefore_perateItemTextForInsertChild.html +645 -0
- package/docs/examples/w-tree_operatable_operateItemBackgroundColor_operateItemBackgroundColorHover_operateItemTextColor.html +646 -0
- package/docs/examples/w-tree_operatable_operateItemIconSize_operateItemPaddingStyle_operatePanelWidth.html +644 -0
- package/docs/examples/w-tree_paddingStyle.html +633 -0
- package/docs/examples/w-tree_selectable.html +650 -0
- package/docs/examples/w-tree_selectable_draggable.html +655 -0
- package/docs/examples/w-tree_selectable_large data (100,000 items).html +663 -0
- package/docs/examples/w-tree_separatorColor.html +633 -0
- package/docs/examples/w-tree_separatorColor_separatorHeight.html +634 -0
- package/docs/examples/w-tree_slot.html +673 -0
- package/docs/examples/w-tree_slot_defItemHeight.html +643 -0
- package/docs/examples/w-tree_slot_iconUncheckedColor_iconUncheckedDisabledColor_iconCheckedColor.html +708 -0
- package/docs/examples/w-tree_slot_locked_selectable.html +700 -0
- package/docs/examples/w-tree_slot_operatable.html +649 -0
- package/docs/examples/w-tree_slot_selectable.html +699 -0
- package/docs/examples/w-tree_slot_selectable_draggable.html +704 -0
- package/docs/examples/w-tree_viewHeightMax.html +633 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +978 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +1049 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
- package/docs/global.html +1036 -0
- package/docs/highchartsSetting.mjs.html +285 -0
- package/docs/index.html +81 -0
- package/docs/module-WAggridVueDyn.html +537 -0
- package/docs/module-WBadge.html +255 -0
- package/docs/module-WButtonChip.html +441 -0
- package/docs/module-WButtonCircle.html +321 -0
- package/docs/module-WCheckbox.html +249 -0
- package/docs/module-WCkeditorVueDyn.html +237 -0
- package/docs/module-WConfirm.html +345 -0
- package/docs/module-WDialog.html +297 -0
- package/docs/module-WDropfiles.html +261 -0
- package/docs/module-WDynamicList.html +261 -0
- package/docs/module-WEchartsVueDyn.html +219 -0
- package/docs/module-WGroupCheck.html +435 -0
- package/docs/module-WGroupDragdrop.html +231 -0
- package/docs/module-WGroupRadio.html +429 -0
- package/docs/module-WGroupTags.html +621 -0
- package/docs/module-WHighchartsBitmapDyn.html +219 -0
- package/docs/module-WHighchartsVueDyn.html +219 -0
- package/docs/module-WHighstockVueDyn.html +219 -0
- package/docs/module-WIcon.html +225 -0
- package/docs/module-WIconLoading.html +219 -0
- package/docs/module-WIconSvg.html +243 -0
- package/docs/module-WImageCascadingDyn.html +267 -0
- package/docs/module-WImageViewerDyn.html +237 -0
- package/docs/module-WJsonView.html +303 -0
- package/docs/module-WJsonViewCore.html +243 -0
- package/docs/module-WLeafletVueDyn.html +675 -0
- package/docs/module-WListVertical.html +315 -0
- package/docs/module-WListVerticalItem.html +303 -0
- package/docs/module-WPanelBulge.html +267 -0
- package/docs/module-WPanelDivideHorizontal.html +249 -0
- package/docs/module-WPanelDivideVertical.html +249 -0
- package/docs/module-WPanelScrolly.html +255 -0
- package/docs/module-WPanelScrollyCore.html +267 -0
- package/docs/module-WPanelStripe.html +255 -0
- package/docs/module-WPopup.html +267 -0
- package/docs/module-WPopupEditText.html +363 -0
- package/docs/module-WProgressBar.html +315 -0
- package/docs/module-WProgressCircle.html +243 -0
- package/docs/module-WQuillVueDyn.html +237 -0
- package/docs/module-WShellBottomLine.html +249 -0
- package/docs/module-WShellEllipse.html +369 -0
- package/docs/module-WShellMaterial.html +285 -0
- package/docs/module-WSwitch.html +231 -0
- package/docs/module-WTableDyn.html +697 -0
- package/docs/module-WText.html +435 -0
- package/docs/module-WTextCore.html +261 -0
- package/docs/module-WTextInt.html +387 -0
- package/docs/module-WTextIntCore.html +291 -0
- package/docs/module-WTextSelect.html +447 -0
- package/docs/module-WTextSuggest.html +465 -0
- package/docs/module-WTextSuggestCore.html +369 -0
- package/docs/module-WTextarea.html +231 -0
- package/docs/module-WTimeday.html +345 -0
- package/docs/module-WTimedayCore.html +243 -0
- package/docs/module-WTimedayRange.html +351 -0
- package/docs/module-WTimedayRangeCore.html +255 -0
- package/docs/module-WTimeminute.html +381 -0
- package/docs/module-WTimeminuteCore.html +285 -0
- package/docs/module-WTimeminuteRange.html +393 -0
- package/docs/module-WTimeminuteRangeCore.html +297 -0
- package/docs/module-WTinymceVueDyn.html +237 -0
- package/docs/module-WTree.html +573 -0
- package/docs/module-WTreeIconCheckbox.html +255 -0
- package/docs/module-WTreeIconToggle.html +231 -0
- package/docs/scripts/collapse.js +20 -0
- package/docs/scripts/linenumber.js +25 -0
- package/docs/scripts/nav.js +12 -0
- package/docs/scripts/polyfill.js +4 -0
- package/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
- package/docs/scripts/prettify/lang-css.js +2 -0
- package/docs/scripts/prettify/prettify.js +28 -0
- package/docs/scripts/search.js +83 -0
- package/docs/styles/jsdoc.css +765 -0
- package/docs/styles/prettify.css +79 -0
- package/docs/vuetifyColor.mjs.html +157 -0
- package/gUITest.mjs +30 -0
- package/package.json +68 -0
- package/public/index.html +48 -0
- package/src/App.vue +783 -0
- package/src/AppZoneWAggridVueDyn.vue +237 -0
- package/src/AppZoneWAlert.vue +246 -0
- package/src/AppZoneWBadge.vue +180 -0
- package/src/AppZoneWButtonChip.vue +871 -0
- package/src/AppZoneWButtonCircle.vue +274 -0
- package/src/AppZoneWCheckbox.vue +139 -0
- package/src/AppZoneWCkeditorVueDyn.vue +145 -0
- package/src/AppZoneWConfirm.vue +469 -0
- package/src/AppZoneWDialog.vue +929 -0
- package/src/AppZoneWDropfiles.vue +225 -0
- package/src/AppZoneWDynamicList.vue +536 -0
- package/src/AppZoneWEchartsVueDyn.vue +1180 -0
- package/src/AppZoneWGroupCheck.vue +780 -0
- package/src/AppZoneWGroupDragdrop.vue +291 -0
- package/src/AppZoneWGroupRadio.vue +756 -0
- package/src/AppZoneWGroupTags.vue +1302 -0
- package/src/AppZoneWHighchartsBitmapDyn.vue +635 -0
- package/src/AppZoneWHighchartsVueDyn.vue +517 -0
- package/src/AppZoneWHighstockVueDyn.vue +161 -0
- package/src/AppZoneWIconSvg.vue +140 -0
- package/src/AppZoneWImageCascadingDyn.vue +140 -0
- package/src/AppZoneWImageViewerDyn.vue +106 -0
- package/src/AppZoneWJsonView.vue +222 -0
- package/src/AppZoneWLeafletVueDyn.vue +299 -0
- package/src/AppZoneWListVertical.vue +480 -0
- package/src/AppZoneWPanelBulge.vue +284 -0
- package/src/AppZoneWPanelChart.vue +343 -0
- package/src/AppZoneWPanelDivideHorizontal.vue +223 -0
- package/src/AppZoneWPanelDivideVertical.vue +223 -0
- package/src/AppZoneWPanelScale.vue +283 -0
- package/src/AppZoneWPanelScrolly.vue +171 -0
- package/src/AppZoneWPanelStripe.vue +596 -0
- package/src/AppZoneWPopup.vue +629 -0
- package/src/AppZoneWPopupEditText.vue +249 -0
- package/src/AppZoneWProgressBar.vue +356 -0
- package/src/AppZoneWProgressCircle.vue +144 -0
- package/src/AppZoneWQuillVueDyn.vue +141 -0
- package/src/AppZoneWSwitch.vue +87 -0
- package/src/AppZoneWTableDyn.vue +610 -0
- package/src/AppZoneWText.vue +740 -0
- package/src/AppZoneWTextInt.vue +269 -0
- package/src/AppZoneWTextSelect.vue +1140 -0
- package/src/AppZoneWTextSuggest.vue +1242 -0
- package/src/AppZoneWTextarea.vue +114 -0
- package/src/AppZoneWTimeday.vue +346 -0
- package/src/AppZoneWTimedayRange.vue +421 -0
- package/src/AppZoneWTimeminute.vue +462 -0
- package/src/AppZoneWTimeminuteRange.vue +548 -0
- package/src/AppZoneWTinymceVueDyn.vue +130 -0
- package/src/AppZoneWTree.vue +1364 -0
- package/src/components/WAggridVueDyn.vue +136 -0
- package/src/components/WAlert.mjs +7 -0
- package/src/components/WBadge.vue +181 -0
- package/src/components/WButtonChip.vue +947 -0
- package/src/components/WButtonCircle.vue +459 -0
- package/src/components/WCheckbox.vue +154 -0
- package/src/components/WCkeditorVueDyn.vue +86 -0
- package/src/components/WComponentVue.vue +144 -0
- package/src/components/WConfirm.vue +320 -0
- package/src/components/WDialog.vue +547 -0
- package/src/components/WDropfiles.vue +146 -0
- package/src/components/WDynamicList.vue +898 -0
- package/src/components/WEchartsVueDyn.vue +77 -0
- package/src/components/WGroupCheck.vue +685 -0
- package/src/components/WGroupDragdrop.vue +223 -0
- package/src/components/WGroupRadio.vue +254 -0
- package/src/components/WGroupTags.vue +944 -0
- package/src/components/WHighchartsBitmapDyn.vue +216 -0
- package/src/components/WHighchartsVueDyn.vue +85 -0
- package/src/components/WHighstockVueDyn.vue +81 -0
- package/src/components/WIcon.vue +129 -0
- package/src/components/WIconLoading.vue +163 -0
- package/src/components/WIconSvg.vue +118 -0
- package/src/components/WImageCascadingDyn.vue +591 -0
- package/src/components/WImageViewerDyn.vue +148 -0
- package/src/components/WJsonView.vue +1176 -0
- package/src/components/WJsonViewCore.vue +163 -0
- package/src/components/WLeafletVueDyn.vue +146 -0
- package/src/components/WListVertical.vue +306 -0
- package/src/components/WListVerticalItem.vue +261 -0
- package/src/components/WPanelBulge.vue +193 -0
- package/src/components/WPanelChart.vue +219 -0
- package/src/components/WPanelDivideHorizontal.vue +198 -0
- package/src/components/WPanelDivideVertical.vue +198 -0
- package/src/components/WPanelScale.vue +114 -0
- package/src/components/WPanelScrolly.vue +189 -0
- package/src/components/WPanelScrollyCore.vue +768 -0
- package/src/components/WPanelStripe.vue +152 -0
- package/src/components/WPopup.vue +527 -0
- package/src/components/WPopupEditText.vue +326 -0
- package/src/components/WProgressBar.vue +236 -0
- package/src/components/WProgressCircle.vue +132 -0
- package/src/components/WQuillVueDyn.vue +87 -0
- package/src/components/WShellBottomLine.vue +139 -0
- package/src/components/WShellEllipse.vue +416 -0
- package/src/components/WShellMaterial.vue +250 -0
- package/src/components/WSwitch.vue +115 -0
- package/src/components/WTableDyn.vue +1095 -0
- package/src/components/WText.vue +323 -0
- package/src/components/WTextCore.vue +227 -0
- package/src/components/WTextInt.vue +275 -0
- package/src/components/WTextIntCore.vue +288 -0
- package/src/components/WTextSelect.vue +442 -0
- package/src/components/WTextSuggest.vue +456 -0
- package/src/components/WTextSuggestCore.vue +648 -0
- package/src/components/WTextarea.vue +89 -0
- package/src/components/WTimeday.vue +228 -0
- package/src/components/WTimedayCore.vue +197 -0
- package/src/components/WTimedayRange.vue +235 -0
- package/src/components/WTimedayRangeCore.vue +142 -0
- package/src/components/WTimeminute.vue +264 -0
- package/src/components/WTimeminuteCore.vue +294 -0
- package/src/components/WTimeminuteRange.vue +277 -0
- package/src/components/WTimeminuteRangeCore.vue +192 -0
- package/src/components/WTinymceVueDyn.vue +86 -0
- package/src/components/WTree.vue +2504 -0
- package/src/components/WTreeIconCheckbox.vue +170 -0
- package/src/components/WTreeIconToggle.vue +155 -0
- package/src/components/demolink.vue +103 -0
- package/src/js/binarySearch.mjs +91 -0
- package/src/js/domDragDrop.mjs +154 -0
- package/src/js/domMutation.mjs +76 -0
- package/src/js/domResize.mjs +71 -0
- package/src/js/domRipple.mjs +120 -0
- package/src/js/getVue.mjs +30 -0
- package/src/js/globalMemory.mjs +29 -0
- package/src/js/highchartsSetting.mjs +216 -0
- package/src/js/parseSpace.mjs +83 -0
- package/src/js/vuetifyColor.mjs +88 -0
- package/src/main.js +10 -0
- package/src/plugins/vuetify.mjs +13 -0
- package/test/all.test.mjs +10 -0
- package/toolg/addVersion.mjs +4 -0
- package/toolg/cleanFolder.mjs +4 -0
- package/toolg/cvCasename.mjs +90 -0
- package/toolg/gDistApp.mjs +55 -0
- package/toolg/gDistRollupComps.mjs +23 -0
- package/toolg/gDocExams.mjs +47 -0
- package/toolg/gExtractHtml.mjs +279 -0
- package/toolg/gMergeComps.mjs +75 -0
- package/toolg/modifyReadme.mjs +4 -0
- package/vue.config.js +21 -0
|
@@ -0,0 +1,768 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
:style="`height:${panelHeight}px; box-sizing:content-box;`"
|
|
4
|
+
v-domresize
|
|
5
|
+
@domresize="resize"
|
|
6
|
+
@mouseenter="mouseEntering=true"
|
|
7
|
+
@mouseleave="mouseEntering=false"
|
|
8
|
+
:changeRatio="changeRatio"
|
|
9
|
+
:changeViewHeightMax="changeViewHeightMax"
|
|
10
|
+
>
|
|
11
|
+
|
|
12
|
+
<!-- 不能設定border-width=0, 瀏覽器會額外進行偵測渲染導致抖動 -->
|
|
13
|
+
<div :style="`position:relative; overflow:hidden; height:${viewHeightMax}px;`">
|
|
14
|
+
|
|
15
|
+
<!-- bar區 -->
|
|
16
|
+
<div :style="`position:absolute; top:0px; right:0px; z-index:1; height:${viewHeightMax}px;`" v-show="contentHeightEff>0">
|
|
17
|
+
<!-- 外層設定box-sizing=content-box也就是高度不包括border與padding, 內層高度就會是viewHeightMax不需減少, 此時bar的設定box-sizing=border-box才能自動考量padding影響 -->
|
|
18
|
+
<div :style="`box-sizing:border-box; padding:${barPanelPadding}px 1px; position:relative; width:${barWidth}px; height:100%; background:${useBarBackgroundColor}; transition:background 0.5s;`">
|
|
19
|
+
<div
|
|
20
|
+
ref="divBar"
|
|
21
|
+
:style="`transform:translateY(${barLoc}px); width:100%; height:${barSize}px; user-select:none; cursor:pointer; border-radius:15px; background:${useBarColor}; transition:background 0.5s;`"
|
|
22
|
+
></div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<!-- 內容區 -->
|
|
27
|
+
<div
|
|
28
|
+
ref="divPanel"
|
|
29
|
+
class="clsPanel"
|
|
30
|
+
:style="`position:relative; overflow-x:hidden; overflow-y:auto; width:calc( 100% + ${nativeBarWidth+extWidth}px ); height:${panelHeight}px;`"
|
|
31
|
+
@scroll="scroll"
|
|
32
|
+
>
|
|
33
|
+
|
|
34
|
+
<!-- 通過高度設定為viewHeightMax+extHeight使divPanel出現捲軸, 並強制設定scrollTop=extHeight/2可使保持監聽上下捲動與拖曳事件 -->
|
|
35
|
+
<div :style="`position:absolute; top:0px; left:0px; width:calc( 100% + ${extWidth}px ); height:${viewHeightMax+extHeight}px;`"></div>
|
|
36
|
+
|
|
37
|
+
<div
|
|
38
|
+
ref="divSlot"
|
|
39
|
+
:style="`position:absolute; top:${fakeScrollTop}px; left:0px; overflow:hidden; width:calc( 100% + ${extWidth}px ); height:${viewHeightMax}px;`"
|
|
40
|
+
v-dommutation
|
|
41
|
+
@dommutation="mutation"
|
|
42
|
+
>
|
|
43
|
+
<slot></slot>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
</div>
|
|
51
|
+
</template>
|
|
52
|
+
|
|
53
|
+
<script>
|
|
54
|
+
import get from 'lodash/get'
|
|
55
|
+
import cloneDeep from 'lodash/cloneDeep'
|
|
56
|
+
import isEle from 'wsemi/src/isEle.mjs'
|
|
57
|
+
import domDragBarAndScroll from 'wsemi/src/domDragBarAndScroll.mjs'
|
|
58
|
+
import color2hex from '../js/vuetifyColor.mjs'
|
|
59
|
+
import domResize from '../js/domResize.mjs'
|
|
60
|
+
import domMutation from '../js/domMutation.mjs'
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @vue-prop {Number} [viewHeightMax=400] 輸入顯示區最大高度,單位為px,預設400
|
|
65
|
+
* @vue-prop {Number} [contentHeight=10000] 輸入內容最大高度,單位為px,預設10000
|
|
66
|
+
* @vue-prop {Number} [scrollDelta=100] 輸入一次捲動高度,單位為px,預設100
|
|
67
|
+
* @vue-prop {String} [barColor='rgba(0,0,0,0.15)'] 輸入捲軸內區塊顏色字串,預設'rgba(0,0,0,0.15)'
|
|
68
|
+
* @vue-prop {String} [barColorHover='rgba(0,0,0,0.3)'] 輸入滑鼠移入時捲軸內區塊顏色字串,預設'rgba(0,0,0,0.3)'
|
|
69
|
+
* @vue-prop {String} [barBackgroundColor='transparent'] 輸入捲軸背景顏色字串,預設'transparent'
|
|
70
|
+
* @vue-prop {String} [barBackgroundColorHover='transparent'] 輸入滑鼠移入時捲軸背景顏色字串,預設'transparent'
|
|
71
|
+
* @vue-prop {Number} [barWidth=8] 輸入捲軸區寬度,單位為px,預設8
|
|
72
|
+
* @vue-prop {Number} [barHeightMin=50] 輸入捲軸內區塊最小高度,單位為px,預設50
|
|
73
|
+
* @vue-prop {Number} [ratio=0] 輸入目前捲動比例數字,預設0
|
|
74
|
+
*/
|
|
75
|
+
export default {
|
|
76
|
+
directives: {
|
|
77
|
+
domresize: domResize(),
|
|
78
|
+
dommutation: domMutation(),
|
|
79
|
+
},
|
|
80
|
+
props: {
|
|
81
|
+
viewHeightMax: {
|
|
82
|
+
type: Number,
|
|
83
|
+
default: 400,
|
|
84
|
+
},
|
|
85
|
+
contentHeight: {
|
|
86
|
+
type: Number,
|
|
87
|
+
default: 10000,
|
|
88
|
+
},
|
|
89
|
+
scrollDelta: {
|
|
90
|
+
type: Number,
|
|
91
|
+
default: 100,
|
|
92
|
+
},
|
|
93
|
+
barColor: {
|
|
94
|
+
type: String,
|
|
95
|
+
default: 'rgba(0,0,0,0.15)',
|
|
96
|
+
},
|
|
97
|
+
barColorHover: {
|
|
98
|
+
type: String,
|
|
99
|
+
default: 'rgba(0,0,0,0.3)',
|
|
100
|
+
},
|
|
101
|
+
barBackgroundColor: {
|
|
102
|
+
type: String,
|
|
103
|
+
default: 'transparent',
|
|
104
|
+
},
|
|
105
|
+
barBackgroundColorHover: {
|
|
106
|
+
type: String,
|
|
107
|
+
default: 'transparent',
|
|
108
|
+
},
|
|
109
|
+
barWidth: {
|
|
110
|
+
type: Number,
|
|
111
|
+
default: 8,
|
|
112
|
+
},
|
|
113
|
+
barHeightMin: {
|
|
114
|
+
type: Number,
|
|
115
|
+
default: 50,
|
|
116
|
+
},
|
|
117
|
+
ratio: {
|
|
118
|
+
type: Number,
|
|
119
|
+
default: 0,
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
data: function() {
|
|
123
|
+
return {
|
|
124
|
+
das: null,
|
|
125
|
+
|
|
126
|
+
mouseEntering: false, //滑鼠移入中
|
|
127
|
+
ratioTrans: 0, //捲動比例
|
|
128
|
+
barPressY: null, //bar按下準備拖曳前y座標
|
|
129
|
+
nativeBarWidth: 100, //原生捲軸寬度, 預設給超大值避免初始化時顯示捲軸出來
|
|
130
|
+
barPanelPadding: 1, //捲軸內與區塊的y向內間距
|
|
131
|
+
scrollInforLast: null, //上次算得的捲軸資訊
|
|
132
|
+
scrollInforTemp: null, //要恢復上次捲軸位置時用暫存的捲軸資訊
|
|
133
|
+
timerScrollTop: null, //偵測顯示區捲軸變動的timer
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
mounted: function() {
|
|
138
|
+
//console.log('mounted')
|
|
139
|
+
|
|
140
|
+
let vo = this
|
|
141
|
+
|
|
142
|
+
//das
|
|
143
|
+
let das = domDragBarAndScroll(vo.$refs.divPanel, vo.$refs.divBar, {
|
|
144
|
+
getHeighRatio: () => vo.heighRatio,
|
|
145
|
+
//stopScrollPropagationForPanel: true, //禁止滑鼠捲動事件傳遞至外, 現已強制原生捲軸再攔截相關事件, 故不需要停用傳遞
|
|
146
|
+
//stopTouchDragPropagationForPanel: true, //禁止觸控拖曳事件傳遞至外, 現已強制原生捲軸再攔截相關事件, 故不需要停用傳遞
|
|
147
|
+
})
|
|
148
|
+
das.on('scrollPanel', vo.dgScrollPanel)
|
|
149
|
+
das.on('pressBar', vo.dgPressBar)
|
|
150
|
+
das.on('dragBar', vo.dgDragBar)
|
|
151
|
+
das.on('freeBar', vo.dgFreeBar)
|
|
152
|
+
|
|
153
|
+
//save
|
|
154
|
+
vo.das = das
|
|
155
|
+
|
|
156
|
+
//detect
|
|
157
|
+
vo.timerScrollTop = setInterval(() => {
|
|
158
|
+
|
|
159
|
+
//resetScrollTop, 因vue切換組件時若為共用狀態則mounted只會觸發1次, 此導致顯示區塊的scrollTop會自動被歸0但又不觸發scroll事件, 故需通過timer偵測並重設scrollTop
|
|
160
|
+
vo.resetScrollTop()
|
|
161
|
+
|
|
162
|
+
}, 100)
|
|
163
|
+
|
|
164
|
+
},
|
|
165
|
+
beforeDestroy: function() {
|
|
166
|
+
//console.log('beforeDestroy')
|
|
167
|
+
|
|
168
|
+
let vo = this
|
|
169
|
+
|
|
170
|
+
//clear
|
|
171
|
+
if (vo.das) {
|
|
172
|
+
vo.das.clear()
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
//clearInterval
|
|
176
|
+
clearInterval(vo.timerScrollTop)
|
|
177
|
+
|
|
178
|
+
},
|
|
179
|
+
watch: {
|
|
180
|
+
|
|
181
|
+
viewHeightMax: function() {
|
|
182
|
+
//console.log('watch viewHeightMax')
|
|
183
|
+
|
|
184
|
+
let vo = this
|
|
185
|
+
|
|
186
|
+
//由watch處儲存捲軸資訊scrollInfor供後續恢復, 因放在computed會被vue偵測記憶體變動
|
|
187
|
+
vo.scrollInforTemp = cloneDeep(vo.scrollInforLast)
|
|
188
|
+
|
|
189
|
+
},
|
|
190
|
+
|
|
191
|
+
},
|
|
192
|
+
computed: {
|
|
193
|
+
|
|
194
|
+
changeRatio: function () {
|
|
195
|
+
//console.log('computed changeRatio')
|
|
196
|
+
|
|
197
|
+
let vo = this
|
|
198
|
+
|
|
199
|
+
//ratioTrans
|
|
200
|
+
let ratioTrans = vo.ratio
|
|
201
|
+
|
|
202
|
+
//limit
|
|
203
|
+
ratioTrans = Math.max(ratioTrans, 0)
|
|
204
|
+
ratioTrans = Math.min(ratioTrans, 1)
|
|
205
|
+
|
|
206
|
+
//save
|
|
207
|
+
vo.ratioTrans = ratioTrans
|
|
208
|
+
|
|
209
|
+
return ''
|
|
210
|
+
},
|
|
211
|
+
|
|
212
|
+
changeViewHeightMax: function() {
|
|
213
|
+
//console.log('computed changeViewHeightMax')
|
|
214
|
+
|
|
215
|
+
let vo = this
|
|
216
|
+
|
|
217
|
+
//viewHeightMax for trigger
|
|
218
|
+
let viewHeightMax = vo.viewHeightMax
|
|
219
|
+
|
|
220
|
+
//keepRatioByChangeViewHeightMax
|
|
221
|
+
vo.keepRatioByChangeViewHeightMax()
|
|
222
|
+
|
|
223
|
+
vo.___viewHeightMax___ = viewHeightMax
|
|
224
|
+
return ''
|
|
225
|
+
},
|
|
226
|
+
|
|
227
|
+
panelHeight: function () {
|
|
228
|
+
//console.log('computed panelHeight')
|
|
229
|
+
|
|
230
|
+
let vo = this
|
|
231
|
+
|
|
232
|
+
return Math.min(vo.contentHeight, vo.viewHeightMax)
|
|
233
|
+
},
|
|
234
|
+
|
|
235
|
+
extHeight: function() {
|
|
236
|
+
//console.log('computed extHeight')
|
|
237
|
+
|
|
238
|
+
let vo = this
|
|
239
|
+
|
|
240
|
+
//放大比率(依照viewHeightMax)與增量
|
|
241
|
+
let r = 10 //桌機需高放大比率, 於複雜dom中比較有緩衝能平滑拖曳, 不容易觸發拖曳外層document
|
|
242
|
+
let d = 0
|
|
243
|
+
if (vo.nativeBarWidth <= 0) {
|
|
244
|
+
r = 0.2 //手機需低放大比率, 大值時拖曳會出現回彈效果使用者體驗比較好, 但會常觸發回彈導致無法拖曳
|
|
245
|
+
d = 2
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
//額外撐開高度, 最小上下留1px也就是需為viewHeightMax+2
|
|
249
|
+
let h = vo.viewHeightMax * r + d
|
|
250
|
+
|
|
251
|
+
return h
|
|
252
|
+
},
|
|
253
|
+
|
|
254
|
+
useEntering: function() {
|
|
255
|
+
//console.log('computed useEntering')
|
|
256
|
+
|
|
257
|
+
let vo = this
|
|
258
|
+
|
|
259
|
+
//滑鼠移入以及對捲軸按下正在拖曳中時, 都視為滑鼠移入狀態
|
|
260
|
+
return vo.mouseEntering || vo.barPressY
|
|
261
|
+
},
|
|
262
|
+
|
|
263
|
+
useBarColor: function() {
|
|
264
|
+
//console.log('computed useBarColor')
|
|
265
|
+
|
|
266
|
+
let vo = this
|
|
267
|
+
|
|
268
|
+
if (vo.useEntering) {
|
|
269
|
+
return color2hex(vo.barColorHover)
|
|
270
|
+
}
|
|
271
|
+
return color2hex(vo.barColor)
|
|
272
|
+
},
|
|
273
|
+
|
|
274
|
+
useBarBackgroundColor: function() {
|
|
275
|
+
//console.log('computed useBarBackgroundColor')
|
|
276
|
+
|
|
277
|
+
let vo = this
|
|
278
|
+
|
|
279
|
+
if (vo.useEntering) {
|
|
280
|
+
return color2hex(vo.barBackgroundColorHover)
|
|
281
|
+
}
|
|
282
|
+
return color2hex(vo.barBackgroundColor)
|
|
283
|
+
},
|
|
284
|
+
|
|
285
|
+
heighRatio: function() {
|
|
286
|
+
//console.log('computed heighRatio')
|
|
287
|
+
|
|
288
|
+
let vo = this
|
|
289
|
+
|
|
290
|
+
//r, 顯示區與實際內容高度比, 此處只有domDragBarAndScroll會調用, 也就是使用者拖曳捲軸才觸發
|
|
291
|
+
let ch = vo.contentHeight
|
|
292
|
+
let r = vo.viewHeightMax / Math.max(ch, 1)
|
|
293
|
+
|
|
294
|
+
return r
|
|
295
|
+
},
|
|
296
|
+
|
|
297
|
+
barSize: function() {
|
|
298
|
+
//console.log('computed barSize')
|
|
299
|
+
|
|
300
|
+
let vo = this
|
|
301
|
+
|
|
302
|
+
//r size ratio
|
|
303
|
+
let r = vo.viewHeightMax / vo.contentHeight
|
|
304
|
+
|
|
305
|
+
//barSize
|
|
306
|
+
let barSize = Math.max(r * vo.viewHeightMax, vo.barHeightMin)
|
|
307
|
+
|
|
308
|
+
return barSize
|
|
309
|
+
},
|
|
310
|
+
|
|
311
|
+
barLoc: function() {
|
|
312
|
+
//console.log('computed barLoc')
|
|
313
|
+
|
|
314
|
+
let vo = this
|
|
315
|
+
|
|
316
|
+
return vo.ratioTrans * vo.viewHeightEff
|
|
317
|
+
},
|
|
318
|
+
|
|
319
|
+
contentHeightEff: function() {
|
|
320
|
+
//console.log('computed contentHeightEff')
|
|
321
|
+
|
|
322
|
+
let vo = this
|
|
323
|
+
|
|
324
|
+
//v
|
|
325
|
+
let v = vo.contentHeight - vo.viewHeightMax
|
|
326
|
+
v = Math.max(v, 0)
|
|
327
|
+
|
|
328
|
+
//triggerEvent, 若內容高度contentHeight或顯示區最大高度viewHeightMax變更則需要triggerEvent
|
|
329
|
+
vo.triggerEvent('changeHeight')
|
|
330
|
+
|
|
331
|
+
return v
|
|
332
|
+
},
|
|
333
|
+
|
|
334
|
+
viewHeightEff: function() {
|
|
335
|
+
//console.log('computed viewHeightEff')
|
|
336
|
+
|
|
337
|
+
let vo = this
|
|
338
|
+
|
|
339
|
+
//v
|
|
340
|
+
let v = vo.viewHeightMax - vo.barSize - vo.barPanelPadding * 2
|
|
341
|
+
v = Math.max(v, 0)
|
|
342
|
+
|
|
343
|
+
return v
|
|
344
|
+
},
|
|
345
|
+
|
|
346
|
+
viewTop: function() {
|
|
347
|
+
//console.log('computed viewTop')
|
|
348
|
+
|
|
349
|
+
let vo = this
|
|
350
|
+
return vo.ratioTrans * vo.contentHeightEff
|
|
351
|
+
},
|
|
352
|
+
|
|
353
|
+
viewBottom: function() {
|
|
354
|
+
//console.log('computed viewBottom')
|
|
355
|
+
|
|
356
|
+
let vo = this
|
|
357
|
+
|
|
358
|
+
return vo.viewTop + vo.viewHeightMax
|
|
359
|
+
},
|
|
360
|
+
|
|
361
|
+
isMobile: function() {
|
|
362
|
+
//console.log('computed isMobile')
|
|
363
|
+
|
|
364
|
+
let vo = this
|
|
365
|
+
|
|
366
|
+
return vo.nativeBarWidth <= 0
|
|
367
|
+
},
|
|
368
|
+
|
|
369
|
+
extWidth: function() {
|
|
370
|
+
//console.log('computed extWidth')
|
|
371
|
+
|
|
372
|
+
let vo = this
|
|
373
|
+
|
|
374
|
+
//額外撐開寬度, 當手機瀏覽時會沒有原生捲軸寬度, 此時需額外撐開使捲軸隱藏
|
|
375
|
+
if (vo.isMobile) {
|
|
376
|
+
return 20
|
|
377
|
+
}
|
|
378
|
+
return 0
|
|
379
|
+
},
|
|
380
|
+
|
|
381
|
+
fakeScrollTop: function() {
|
|
382
|
+
//console.log('computed fakeScrollTop')
|
|
383
|
+
|
|
384
|
+
let vo = this
|
|
385
|
+
|
|
386
|
+
let st
|
|
387
|
+
|
|
388
|
+
//依照ratioTrans調整scrollTop
|
|
389
|
+
// if (vo.isMobile) {
|
|
390
|
+
// st = vo.ratioTrans * vo.extHeight
|
|
391
|
+
// }
|
|
392
|
+
// else {
|
|
393
|
+
// st = vo.extHeight / 2
|
|
394
|
+
// }
|
|
395
|
+
|
|
396
|
+
// //resetScrollTopDelay
|
|
397
|
+
// vo.resetScrollTopDelay()
|
|
398
|
+
|
|
399
|
+
//固定scrollTop為extHeight/2, 支援桌機, 手機拖曳捲軸正常但拖曳內容較卡
|
|
400
|
+
st = vo.extHeight / 2
|
|
401
|
+
|
|
402
|
+
return st
|
|
403
|
+
},
|
|
404
|
+
|
|
405
|
+
},
|
|
406
|
+
methods: {
|
|
407
|
+
|
|
408
|
+
scroll: function(e) {
|
|
409
|
+
//console.log('scroll', e)
|
|
410
|
+
|
|
411
|
+
let vo = this
|
|
412
|
+
|
|
413
|
+
// //div
|
|
414
|
+
// let div = get(e, 'target')
|
|
415
|
+
|
|
416
|
+
//resetScrollTop
|
|
417
|
+
vo.resetScrollTop()
|
|
418
|
+
|
|
419
|
+
},
|
|
420
|
+
|
|
421
|
+
resetScrollTopDelay: function() {
|
|
422
|
+
//console.log('resetScrollTopDelay')
|
|
423
|
+
|
|
424
|
+
let vo = this
|
|
425
|
+
|
|
426
|
+
//nextTick
|
|
427
|
+
vo.$nextTick(() => {
|
|
428
|
+
vo.resetScrollTop()
|
|
429
|
+
})
|
|
430
|
+
|
|
431
|
+
},
|
|
432
|
+
|
|
433
|
+
resetScrollTop: function() {
|
|
434
|
+
//console.log('resetScrollTop')
|
|
435
|
+
|
|
436
|
+
let vo = this
|
|
437
|
+
|
|
438
|
+
//div
|
|
439
|
+
let div = get(vo, '$refs.divPanel', null)
|
|
440
|
+
|
|
441
|
+
//check
|
|
442
|
+
if (!isEle(div)) {
|
|
443
|
+
return
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
//check
|
|
447
|
+
if (div.scrollTop !== vo.fakeScrollTop) {
|
|
448
|
+
|
|
449
|
+
//修改scrollTop, 使內容物捲軸位置置中可持續接收上下捲動與拖曳事件
|
|
450
|
+
div.scrollTop = vo.fakeScrollTop
|
|
451
|
+
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
},
|
|
455
|
+
|
|
456
|
+
keepRatioByChangeViewHeightMax: function() {
|
|
457
|
+
//console.log('keepRatioByChangeViewHeightMax')
|
|
458
|
+
|
|
459
|
+
let vo = this
|
|
460
|
+
|
|
461
|
+
//resetScrollTop, 因變更viewHeightMax會影響extHeight, 故需重設ScrollTop
|
|
462
|
+
vo.resetScrollTop()
|
|
463
|
+
|
|
464
|
+
//nextTick
|
|
465
|
+
vo.$nextTick(() => {
|
|
466
|
+
|
|
467
|
+
//resumeRatio
|
|
468
|
+
vo.resumeRatio()
|
|
469
|
+
|
|
470
|
+
})
|
|
471
|
+
|
|
472
|
+
},
|
|
473
|
+
|
|
474
|
+
resumeRatio: function(si = null) {
|
|
475
|
+
// console.log('resumeRatio', si)
|
|
476
|
+
|
|
477
|
+
let vo = this
|
|
478
|
+
|
|
479
|
+
//si
|
|
480
|
+
if (si === null) {
|
|
481
|
+
//若非外部調用直接傳入, 則使用組件自己儲存的scrollInforTemp
|
|
482
|
+
si = vo.scrollInforTemp
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
//check, 因vue-cli編譯會重置組件導致scrollInforTemp恢復初始值null
|
|
486
|
+
if (si === null) {
|
|
487
|
+
return
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
//重算ratioTrans
|
|
491
|
+
let ratioTrans = 0
|
|
492
|
+
if (vo.contentHeight > 0 && si.ch > 0) { //已有內容資料
|
|
493
|
+
|
|
494
|
+
//內容高度變少
|
|
495
|
+
if (vo.contentHeight < si.ch) {
|
|
496
|
+
|
|
497
|
+
//內容高度小於等於當前視窗高度
|
|
498
|
+
if (vo.contentHeight <= vo.viewHeightMax) {
|
|
499
|
+
ratioTrans = 0
|
|
500
|
+
//console.log('內容高度變少, 內容高度小於當前視窗高度故改為置頂, ratioTrans=', ratioTrans)
|
|
501
|
+
}
|
|
502
|
+
// else if (si.r === 0) { //置底(si.r === 1)不需維持避免內容撐開過多時無法固定畫面於原本瀏覽處
|
|
503
|
+
// ratioTrans = si.r
|
|
504
|
+
// //console.log('內容高度變少, 原本為置頂故需維持, ratioTrans=', ratioTrans)
|
|
505
|
+
// }
|
|
506
|
+
//內容高度大於當前視窗高度
|
|
507
|
+
else {
|
|
508
|
+
ratioTrans = si.t / (vo.contentHeight - vo.viewHeightMax)
|
|
509
|
+
//console.log('內容高度變少, 內容高度大於當前視窗高度, ratioTrans=', ratioTrans, si.t, vo.contentHeight, vo.viewHeightMax)
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
}
|
|
513
|
+
//內容高度變高或不變
|
|
514
|
+
else {
|
|
515
|
+
|
|
516
|
+
//內容高度小於等於當前視窗高度
|
|
517
|
+
if (vo.contentHeight <= vo.viewHeightMax) {
|
|
518
|
+
ratioTrans = 0
|
|
519
|
+
//console.log('內容高度變高或不變, 內容高度小於當前視窗高度故改為置頂, ratioTrans=', ratioTrans)
|
|
520
|
+
}
|
|
521
|
+
// else if (si.r === 0) { //置底(si.r === 1)不需維持避免內容撐開過多時無法固定畫面於原本瀏覽處
|
|
522
|
+
// ratioTrans = si.r
|
|
523
|
+
// //console.log('內容高度變高或不變, 原本為置頂故需維持, ratioTrans=', ratioTrans)
|
|
524
|
+
// }
|
|
525
|
+
//內容高度大於當前視窗高度
|
|
526
|
+
else {
|
|
527
|
+
ratioTrans = si.t / (vo.contentHeight - vo.viewHeightMax)
|
|
528
|
+
//console.log('內容高度變高或不變, 內容高度大於當前視窗高度, ratioTrans=', ratioTrans, si.t, vo.contentHeight, vo.viewHeightMax)
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
//updateRatioTrans
|
|
536
|
+
vo.updateRatioTrans(ratioTrans)
|
|
537
|
+
|
|
538
|
+
},
|
|
539
|
+
|
|
540
|
+
resize: function(msg) {
|
|
541
|
+
//console.log('methods resize', msg)
|
|
542
|
+
|
|
543
|
+
let vo = this
|
|
544
|
+
|
|
545
|
+
//nativeBarWidth
|
|
546
|
+
let divPanel = get(vo, '$refs.divPanel')
|
|
547
|
+
if (divPanel) { //未顯示組件會無
|
|
548
|
+
|
|
549
|
+
//nativeBarWidth
|
|
550
|
+
let nativeBarWidth = vo.$refs.divPanel.offsetWidth - vo.$refs.divPanel.clientWidth
|
|
551
|
+
|
|
552
|
+
//save
|
|
553
|
+
vo.nativeBarWidth = nativeBarWidth
|
|
554
|
+
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
//resetScrollTop, 初始化、顯示、嵌入彈窗出現元素或resize時就需重設ScrollTop
|
|
558
|
+
vo.resetScrollTop()
|
|
559
|
+
|
|
560
|
+
//triggerEvent, resize觸發事件
|
|
561
|
+
vo.triggerEvent('resize')
|
|
562
|
+
|
|
563
|
+
// //emit, 有triggerEvent故取消emit
|
|
564
|
+
// vo.$emit('resize', msg)
|
|
565
|
+
|
|
566
|
+
},
|
|
567
|
+
|
|
568
|
+
mutation: function(msg) {
|
|
569
|
+
//console.log('methods mutation', msg)
|
|
570
|
+
|
|
571
|
+
let vo = this
|
|
572
|
+
|
|
573
|
+
//triggerEvent, 內容slot有dom變更時觸發事件
|
|
574
|
+
vo.triggerEvent('mutation')
|
|
575
|
+
|
|
576
|
+
},
|
|
577
|
+
|
|
578
|
+
updateRatioTrans: function(ratioTrans) {
|
|
579
|
+
//console.log('methods updateRatioTrans', ratioTrans)
|
|
580
|
+
|
|
581
|
+
let vo = this
|
|
582
|
+
|
|
583
|
+
//limit
|
|
584
|
+
ratioTrans = Math.max(ratioTrans, 0)
|
|
585
|
+
ratioTrans = Math.min(ratioTrans, 1)
|
|
586
|
+
|
|
587
|
+
//check
|
|
588
|
+
if (vo.contentHeightEff === 0) {
|
|
589
|
+
ratioTrans = 0
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
//changed
|
|
593
|
+
let changed = vo.ratioTrans !== ratioTrans
|
|
594
|
+
if (changed) {
|
|
595
|
+
|
|
596
|
+
//ratioTrans
|
|
597
|
+
vo.ratioTrans = ratioTrans
|
|
598
|
+
|
|
599
|
+
//triggerEvent, 捲動觸發事件
|
|
600
|
+
vo.triggerEvent('scroll')
|
|
601
|
+
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
return changed
|
|
605
|
+
},
|
|
606
|
+
|
|
607
|
+
dgPressBar: function({ clientY }) {
|
|
608
|
+
//console.log('methods dgPressBar', clientY)
|
|
609
|
+
|
|
610
|
+
let vo = this
|
|
611
|
+
|
|
612
|
+
//save clientY
|
|
613
|
+
if (clientY) {
|
|
614
|
+
|
|
615
|
+
//barPressY
|
|
616
|
+
vo.barPressY = clientY //e.clientY
|
|
617
|
+
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
},
|
|
621
|
+
|
|
622
|
+
dgDragBar: function({ clientY }) {
|
|
623
|
+
//console.log('methods dgDragBar', clientY)
|
|
624
|
+
|
|
625
|
+
let vo = this
|
|
626
|
+
|
|
627
|
+
//d
|
|
628
|
+
let d = clientY - vo.barPressY //e.clientY
|
|
629
|
+
|
|
630
|
+
//deltaRatio
|
|
631
|
+
let deltaRatio = d / vo.viewHeightEff
|
|
632
|
+
|
|
633
|
+
//scrollByDeltaRatio
|
|
634
|
+
vo.scrollByDeltaRatio(deltaRatio)
|
|
635
|
+
|
|
636
|
+
//update
|
|
637
|
+
vo.barPressY = clientY //e.clientY
|
|
638
|
+
|
|
639
|
+
},
|
|
640
|
+
|
|
641
|
+
dgFreeBar: function() {
|
|
642
|
+
//console.log('methods dgFreeBar')
|
|
643
|
+
|
|
644
|
+
let vo = this
|
|
645
|
+
|
|
646
|
+
//barPressY
|
|
647
|
+
vo.barPressY = null
|
|
648
|
+
|
|
649
|
+
//triggerEvent, 拖曳時有些外部組件處理過慢, 導致節點位置未更新完畢, 故於放掉滑鼠按鍵時triggerEvent, 使外部組件再次接收事件進行更新節點
|
|
650
|
+
vo.triggerEvent('dgFreeBar')
|
|
651
|
+
|
|
652
|
+
},
|
|
653
|
+
|
|
654
|
+
getScrollInfor: function(from) {
|
|
655
|
+
//console.log('methods getScrollInfor', from)
|
|
656
|
+
|
|
657
|
+
let vo = this
|
|
658
|
+
|
|
659
|
+
//scrollInfor
|
|
660
|
+
let scrollInfor = {
|
|
661
|
+
from,
|
|
662
|
+
r: vo.ratioTrans,
|
|
663
|
+
t: vo.viewTop,
|
|
664
|
+
b: vo.viewBottom,
|
|
665
|
+
ch: vo.contentHeight,
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
return scrollInfor
|
|
669
|
+
},
|
|
670
|
+
|
|
671
|
+
triggerEvent: function(from) {
|
|
672
|
+
// console.log('methods triggerEvent', from)
|
|
673
|
+
|
|
674
|
+
let vo = this
|
|
675
|
+
|
|
676
|
+
//nextTick, 因為外部可以因變更而呼叫triggerEvent, throttle第1次觸發是直接呼叫執行, 導致還沒收到外部傳入數據就由當前資訊emit出去
|
|
677
|
+
vo.$nextTick(() => {
|
|
678
|
+
|
|
679
|
+
//scrollInfor, 計算捲軸資訊
|
|
680
|
+
let scrollInfor = vo.getScrollInfor(from)
|
|
681
|
+
|
|
682
|
+
//emit ratio
|
|
683
|
+
vo.$emit('update:ratio', vo.ratioTrans)
|
|
684
|
+
|
|
685
|
+
//emit from
|
|
686
|
+
if (from) {
|
|
687
|
+
vo.$emit(from, scrollInfor)
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
//emit change
|
|
691
|
+
vo.$emit('change', scrollInfor)
|
|
692
|
+
|
|
693
|
+
//save scrollInforLast, 紀錄捲軸資訊, 供恢復捲軸資訊之用
|
|
694
|
+
vo.scrollInforLast = cloneDeep(scrollInfor)
|
|
695
|
+
|
|
696
|
+
})
|
|
697
|
+
|
|
698
|
+
},
|
|
699
|
+
|
|
700
|
+
scrollByDeltaRatio: function(deltaRatio) {
|
|
701
|
+
//console.log('methods scrollByDeltaRatio', deltaRatio)
|
|
702
|
+
|
|
703
|
+
let vo = this
|
|
704
|
+
|
|
705
|
+
//ratioTrans
|
|
706
|
+
let ratioTrans = vo.ratioTrans
|
|
707
|
+
|
|
708
|
+
//update
|
|
709
|
+
if (ratioTrans >= 0 && ratioTrans <= 1) {
|
|
710
|
+
ratioTrans += deltaRatio
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
//updateRatioTrans
|
|
714
|
+
vo.updateRatioTrans(ratioTrans)
|
|
715
|
+
|
|
716
|
+
},
|
|
717
|
+
|
|
718
|
+
scrollByDelta: function(delta) {
|
|
719
|
+
//console.log('methods scrollByDelta', delta)
|
|
720
|
+
|
|
721
|
+
let vo = this
|
|
722
|
+
|
|
723
|
+
//deltaRatio
|
|
724
|
+
let deltaRatio = delta / vo.contentHeight
|
|
725
|
+
|
|
726
|
+
//scrollByDeltaRatio
|
|
727
|
+
vo.scrollByDeltaRatio(deltaRatio)
|
|
728
|
+
|
|
729
|
+
},
|
|
730
|
+
|
|
731
|
+
dgScrollPanel: function({ ratioY }) {
|
|
732
|
+
//console.log('methods dgScrollPanel', ratioY)
|
|
733
|
+
|
|
734
|
+
let vo = this
|
|
735
|
+
|
|
736
|
+
//delta
|
|
737
|
+
let delta = ratioY * vo.scrollDelta
|
|
738
|
+
|
|
739
|
+
//scrollByDelta
|
|
740
|
+
vo.scrollByDelta(delta)
|
|
741
|
+
|
|
742
|
+
},
|
|
743
|
+
|
|
744
|
+
},
|
|
745
|
+
}
|
|
746
|
+
</script>
|
|
747
|
+
|
|
748
|
+
<style scoped>
|
|
749
|
+
|
|
750
|
+
/* 針對Chrome,Edge,Opera,Safari把捲軸顏色改透明, 避免有時渲染問題出現捲軸左側 */
|
|
751
|
+
.clsPanel::-webkit-scrollbar {
|
|
752
|
+
width: 1em;
|
|
753
|
+
}
|
|
754
|
+
.clsPanel::-webkit-scrollbar-thumb {
|
|
755
|
+
background-color: transparent;
|
|
756
|
+
}
|
|
757
|
+
.clsPanel::-webkit-scrollbar-track {
|
|
758
|
+
box-shadow: transparent;
|
|
759
|
+
}
|
|
760
|
+
.clsPanel::-webkit-scrollbar-track-piece{
|
|
761
|
+
background: transparent;
|
|
762
|
+
}
|
|
763
|
+
.clsPanel::-webkit-scrollbar-button{
|
|
764
|
+
background: transparent;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
</style>
|
|
768
|
+
|