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,170 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
:style="`position:relative; display:inline-block; user-select:none; ${editable?'cursor:pointer;':''} outline:none;`"
|
|
4
|
+
tabindex="0"
|
|
5
|
+
@keyup.enter="emitClick"
|
|
6
|
+
@click="emitClick"
|
|
7
|
+
>
|
|
8
|
+
|
|
9
|
+
<div style="display:inline-block; height:100%; display:flex; align-items:center; justify-content:center;" v-if="mode==='unchecked'">
|
|
10
|
+
<span style="display:flex;">
|
|
11
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" :fill="useUncheckedColor" width="24px" height="24px" viewBox="0 0 24 24">
|
|
12
|
+
<path d="M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z"></path>
|
|
13
|
+
</svg>
|
|
14
|
+
</span>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<div style="display:inline-block; height:100%; display:flex; align-items:center; justify-content:center;" v-if="mode==='checked'">
|
|
18
|
+
<span style="display:flex;">
|
|
19
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" :fill="useCheckedColor" width="24px" height="24px" viewBox="0 0 24 24">
|
|
20
|
+
<path v-if="false" d="M19,19H5V5H15V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V11H19M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"></path>
|
|
21
|
+
<path d="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"></path>
|
|
22
|
+
</svg>
|
|
23
|
+
</span>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<div style="display:inline-block; height:100%; display:flex; align-items:center; justify-content:center;" v-if="mode==='checkedPartially'">
|
|
27
|
+
<span style="display:flex;">
|
|
28
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" :fill="useCheckedPartiallyColor" width="24px" height="24px" viewBox="0 0 24 24">
|
|
29
|
+
<path v-if="false" d="M19,19V5H5V19H19M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5C3,3.89 3.9,3 5,3H19M17,11V13H7V11H17Z"></path>
|
|
30
|
+
<path d="M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"></path>
|
|
31
|
+
</svg>
|
|
32
|
+
</span>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div style="position:absolute; z-index:1; left:0; top:0; bottom:0; right:0; margin:auto;">
|
|
36
|
+
<div style="height:100%; display:flex; align-items:center; justify-content:center;" v-if="!editable">
|
|
37
|
+
<div :style="`display:inline-block; width:30px; height:2px; border-top:2px solid #fff; transform:translateY(-1px) rotate(45deg);`"></div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<div style="position:absolute; z-index:1; left:0; top:0; bottom:0; right:0; margin:auto;">
|
|
42
|
+
<div style="height:100%; display:flex; align-items:center; justify-content:center;" v-if="!editable">
|
|
43
|
+
<div :style="`display:inline-block; width:30px; height:2px; border-top:2px solid ${useDisabledColor}; transform:translateY(1px)rotate(45deg);`"></div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
</div>
|
|
48
|
+
</template>
|
|
49
|
+
|
|
50
|
+
<script>
|
|
51
|
+
import color2hex from '../js/vuetifyColor.mjs'
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @vue-prop {String} [mode='unchecked'] 輸入勾選模式字串,可選'unchecked'、'checked'、'checkedPartially',預設'unchecked'
|
|
56
|
+
* @vue-prop {Boolean} [editable=true] 輸入是否為編輯模式,預設true
|
|
57
|
+
* @vue-prop {String} [uncheckedColor='grey darken-2'] 輸入未勾選時顏色字串,預設'grey darken-2'
|
|
58
|
+
* @vue-prop {String} [uncheckedDisabledColor='grey'] 輸入禁用時未勾選時顏色字串,預設'grey'
|
|
59
|
+
* @vue-prop {String} [checkedColor='blue darken-3'] 輸入勾選時顏色字串,預設'blue darken-3'
|
|
60
|
+
* @vue-prop {String} [checkedDisabledColor='grey'] 輸入禁用時勾選時顏色字串,預設'grey'
|
|
61
|
+
* @vue-prop {String} [checkedPartiallyColor='blue darken-3'] 輸入部份勾選時(子節點任一有勾選但非全部勾選)顏色字串,預設'blue darken-3'
|
|
62
|
+
* @vue-prop {String} [checkedPartiallyDisabledColor='grey'] 輸入禁用部份勾選時(子節點任一有勾選但非全部勾選)顏色字串,預設'grey'
|
|
63
|
+
*/
|
|
64
|
+
export default {
|
|
65
|
+
components: {
|
|
66
|
+
},
|
|
67
|
+
props: {
|
|
68
|
+
mode: {
|
|
69
|
+
type: String,
|
|
70
|
+
default: 'unchecked',
|
|
71
|
+
},
|
|
72
|
+
editable: {
|
|
73
|
+
type: Boolean,
|
|
74
|
+
default: true,
|
|
75
|
+
},
|
|
76
|
+
uncheckedColor: {
|
|
77
|
+
type: String,
|
|
78
|
+
default: 'grey darken-2',
|
|
79
|
+
},
|
|
80
|
+
uncheckedDisabledColor: {
|
|
81
|
+
type: String,
|
|
82
|
+
default: 'grey',
|
|
83
|
+
},
|
|
84
|
+
checkedColor: {
|
|
85
|
+
type: String,
|
|
86
|
+
default: 'blue darken-3',
|
|
87
|
+
},
|
|
88
|
+
checkedDisabledColor: {
|
|
89
|
+
type: String,
|
|
90
|
+
default: 'grey',
|
|
91
|
+
},
|
|
92
|
+
checkedPartiallyColor: {
|
|
93
|
+
type: String,
|
|
94
|
+
default: 'blue darken-3',
|
|
95
|
+
},
|
|
96
|
+
checkedPartiallyDisabledColor: {
|
|
97
|
+
type: String,
|
|
98
|
+
default: 'grey',
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
data: function() {
|
|
102
|
+
return {
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
computed: {
|
|
106
|
+
|
|
107
|
+
useDisabledColor: function() {
|
|
108
|
+
//console.log('computed useDisabledColor')
|
|
109
|
+
|
|
110
|
+
let vo = this
|
|
111
|
+
|
|
112
|
+
if (vo.mode === 'checked') {
|
|
113
|
+
return color2hex(vo.checkedDisabledColor)
|
|
114
|
+
}
|
|
115
|
+
else if (vo.mode === 'unchecked') {
|
|
116
|
+
return color2hex(vo.uncheckedDisabledColor)
|
|
117
|
+
}
|
|
118
|
+
return color2hex(vo.checkedPartiallyDisabledColor)
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
useUncheckedColor: function() {
|
|
122
|
+
//console.log('computed useUncheckedColor')
|
|
123
|
+
|
|
124
|
+
let vo = this
|
|
125
|
+
|
|
126
|
+
if (vo.editable) {
|
|
127
|
+
return color2hex(vo.uncheckedColor)
|
|
128
|
+
}
|
|
129
|
+
return color2hex(vo.uncheckedDisabledColor)
|
|
130
|
+
},
|
|
131
|
+
|
|
132
|
+
useCheckedColor: function() {
|
|
133
|
+
//console.log('computed useCheckedColor')
|
|
134
|
+
|
|
135
|
+
let vo = this
|
|
136
|
+
|
|
137
|
+
if (vo.editable) {
|
|
138
|
+
return color2hex(vo.checkedColor)
|
|
139
|
+
}
|
|
140
|
+
return color2hex(vo.checkedDisabledColor)
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
useCheckedPartiallyColor: function() {
|
|
144
|
+
//console.log('computed useCheckedPartiallyColor')
|
|
145
|
+
|
|
146
|
+
let vo = this
|
|
147
|
+
|
|
148
|
+
if (vo.editable) {
|
|
149
|
+
return color2hex(vo.checkedPartiallyColor)
|
|
150
|
+
}
|
|
151
|
+
return color2hex(vo.checkedPartiallyDisabledColor)
|
|
152
|
+
},
|
|
153
|
+
|
|
154
|
+
},
|
|
155
|
+
methods: {
|
|
156
|
+
|
|
157
|
+
emitClick: function(v) {
|
|
158
|
+
if (!this.editable) {
|
|
159
|
+
return
|
|
160
|
+
}
|
|
161
|
+
this.$emit('click', v)
|
|
162
|
+
},
|
|
163
|
+
|
|
164
|
+
},
|
|
165
|
+
}
|
|
166
|
+
</script>
|
|
167
|
+
|
|
168
|
+
<style scoped>
|
|
169
|
+
</style>
|
|
170
|
+
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
style="display:inline-block; user-select:none; cursor:pointer; outline:none;"
|
|
4
|
+
tabindex="0"
|
|
5
|
+
@keyup.enter="(v)=>{$emit('click',v)}"
|
|
6
|
+
@click="(v)=>{$emit('click',v)}"
|
|
7
|
+
>
|
|
8
|
+
<div
|
|
9
|
+
class="cc"
|
|
10
|
+
style="height:100%;"
|
|
11
|
+
>
|
|
12
|
+
<div
|
|
13
|
+
:style="`transition:all 0.1s; transform:rotate(${useRotate}deg)`"
|
|
14
|
+
>
|
|
15
|
+
|
|
16
|
+
<div
|
|
17
|
+
class="cc circle"
|
|
18
|
+
:style="`transition: all 0.5s; background:${useIconBackgroundColor};`"
|
|
19
|
+
@mouseenter="mouseenter"
|
|
20
|
+
@mouseleave="mouseleave"
|
|
21
|
+
>
|
|
22
|
+
<!-- 圖標稍微偏左1px得強制移動 -->
|
|
23
|
+
<div
|
|
24
|
+
class="caretRight"
|
|
25
|
+
style="transform:translateX(1px);"
|
|
26
|
+
>
|
|
27
|
+
<span style="display:flex;">
|
|
28
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" :fill="useIconColor" width="11px" height="11px" x="0px" y="0px" viewBox="0 0 415.346 415.346" xml:space="preserve"><g><path d="M41.712,415.346c-11.763,0-21.3-9.537-21.3-21.3V21.299C20.412,9.536,29.949,0,41.712,0l346.122,191.697 c0,0,15.975,15.975,0,31.951C371.859,239.622,41.712,415.346,41.712,415.346z"/></g></svg>
|
|
29
|
+
</span>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</template>
|
|
36
|
+
|
|
37
|
+
<script>
|
|
38
|
+
import get from 'lodash/get'
|
|
39
|
+
import color2hex from '../js/vuetifyColor.mjs'
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @vue-prop {String} [mode='right'] 輸入圖標朝向字串,可選'right'、'bottom'、'left'、'top',預設'right'
|
|
44
|
+
* @vue-prop {String} [iconColor='grey'] 輸入顯隱icon按鈕顏色字串,預設'grey'
|
|
45
|
+
* @vue-prop {String} [iconBackgroundColor='transparent'] 輸入顯隱icon按鈕背景顏色字串,預設'transparent'
|
|
46
|
+
* @vue-prop {String} [iconBackgroundColorHover='rgba(128,128,128,0.15)'] 輸入滑鼠移入時顯隱icon按鈕背景顏色字串,預設'rgba(128,128,128,0.15)'
|
|
47
|
+
*/
|
|
48
|
+
export default {
|
|
49
|
+
components: {
|
|
50
|
+
},
|
|
51
|
+
props: {
|
|
52
|
+
dir: {
|
|
53
|
+
type: String,
|
|
54
|
+
default: 'right',
|
|
55
|
+
},
|
|
56
|
+
iconColor: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: 'grey',
|
|
59
|
+
},
|
|
60
|
+
iconBackgroundColor: {
|
|
61
|
+
type: String,
|
|
62
|
+
default: 'transparent',
|
|
63
|
+
},
|
|
64
|
+
iconBackgroundColorHover: {
|
|
65
|
+
type: String,
|
|
66
|
+
default: 'rgba(128,128,128,0.15)',
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
data: function() {
|
|
70
|
+
return {
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
computed: {
|
|
74
|
+
|
|
75
|
+
useRotate: function() {
|
|
76
|
+
//console.log('computed useRotate')
|
|
77
|
+
|
|
78
|
+
let vo = this
|
|
79
|
+
|
|
80
|
+
let kp = {
|
|
81
|
+
left: 180,
|
|
82
|
+
right: 0,
|
|
83
|
+
top: 270,
|
|
84
|
+
bottom: 90,
|
|
85
|
+
}
|
|
86
|
+
return get(kp, vo.dir, 0)
|
|
87
|
+
},
|
|
88
|
+
|
|
89
|
+
useIconColor: function() {
|
|
90
|
+
//console.log('computed useIconColor')
|
|
91
|
+
|
|
92
|
+
let vo = this
|
|
93
|
+
|
|
94
|
+
return color2hex(vo.iconColor)
|
|
95
|
+
},
|
|
96
|
+
|
|
97
|
+
useIconBackgroundColor: function() {
|
|
98
|
+
//console.log('computed useIconBackgroundColor')
|
|
99
|
+
|
|
100
|
+
let vo = this
|
|
101
|
+
|
|
102
|
+
return color2hex(vo.iconBackgroundColor)
|
|
103
|
+
},
|
|
104
|
+
|
|
105
|
+
useIconBackgroundColorHover: function() {
|
|
106
|
+
//console.log('computed useIconBackgroundColorHover')
|
|
107
|
+
|
|
108
|
+
let vo = this
|
|
109
|
+
|
|
110
|
+
return color2hex(vo.iconBackgroundColorHover)
|
|
111
|
+
},
|
|
112
|
+
|
|
113
|
+
},
|
|
114
|
+
methods: {
|
|
115
|
+
|
|
116
|
+
mouseenter: function(e) {
|
|
117
|
+
//console.log('mouseenter', e)
|
|
118
|
+
|
|
119
|
+
let vo = this
|
|
120
|
+
|
|
121
|
+
e.currentTarget.style.background = vo.useIconBackgroundColorHover
|
|
122
|
+
|
|
123
|
+
},
|
|
124
|
+
|
|
125
|
+
mouseleave: function(e) {
|
|
126
|
+
//console.log('mouseleave', e)
|
|
127
|
+
|
|
128
|
+
let vo = this
|
|
129
|
+
|
|
130
|
+
e.currentTarget.style.background = vo.useIconBackgroundColor
|
|
131
|
+
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
},
|
|
135
|
+
}
|
|
136
|
+
</script>
|
|
137
|
+
|
|
138
|
+
<style scoped>
|
|
139
|
+
.caretRight {
|
|
140
|
+
cursor: pointer;
|
|
141
|
+
user-select: none;
|
|
142
|
+
display: inline-block;
|
|
143
|
+
}
|
|
144
|
+
.cc {
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
justify-content: center;
|
|
148
|
+
}
|
|
149
|
+
.circle {
|
|
150
|
+
width: 24px;
|
|
151
|
+
height: 24px;
|
|
152
|
+
border-radius: 24px;
|
|
153
|
+
}
|
|
154
|
+
</style>
|
|
155
|
+
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="item">
|
|
3
|
+
<!-- 因v-btn的icon與elevation屬性衝突, 使用elevation會導致color變成背景色, 故改由class設定按鈕陰影 -->
|
|
4
|
+
|
|
5
|
+
<div style="display:inline-block;">
|
|
6
|
+
{{casename}}
|
|
7
|
+
</div>
|
|
8
|
+
|
|
9
|
+
<v-tooltip bottom transition="slide-y-transition">
|
|
10
|
+
<template v-slot:activator="{ on }">
|
|
11
|
+
<v-btn
|
|
12
|
+
class="bx"
|
|
13
|
+
style="margin-left:10px;"
|
|
14
|
+
v-on="on"
|
|
15
|
+
x-small
|
|
16
|
+
icon
|
|
17
|
+
color="red darken-1"
|
|
18
|
+
target="_blank"
|
|
19
|
+
rel="noreferrer noopener"
|
|
20
|
+
:href="web"
|
|
21
|
+
>
|
|
22
|
+
<v-icon small>{{mdiLaunch}}</v-icon>
|
|
23
|
+
</v-btn>
|
|
24
|
+
</template>
|
|
25
|
+
<span>example</span>
|
|
26
|
+
</v-tooltip>
|
|
27
|
+
|
|
28
|
+
<v-tooltip bottom transition="slide-y-transition">
|
|
29
|
+
<template v-slot:activator="{ on }">
|
|
30
|
+
<v-btn
|
|
31
|
+
class="bx"
|
|
32
|
+
style="margin-left:10px;"
|
|
33
|
+
v-on="on"
|
|
34
|
+
x-small
|
|
35
|
+
icon
|
|
36
|
+
color="red darken-1"
|
|
37
|
+
target="_blank" rel="noreferrer noopener"
|
|
38
|
+
:href="src"
|
|
39
|
+
>
|
|
40
|
+
<v-icon small>{{mdiUnfoldMoreVertical}}</v-icon>
|
|
41
|
+
</v-btn>
|
|
42
|
+
</template>
|
|
43
|
+
<span>code</span>
|
|
44
|
+
</v-tooltip>
|
|
45
|
+
|
|
46
|
+
</div>
|
|
47
|
+
</template>
|
|
48
|
+
|
|
49
|
+
<script>
|
|
50
|
+
import { mdiLaunch, mdiUnfoldMoreVertical } from '@mdi/js'
|
|
51
|
+
import cvCasename from '../../toolg/cvCasename.mjs'
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
export default {
|
|
55
|
+
props: {
|
|
56
|
+
kbname: {
|
|
57
|
+
type: String,
|
|
58
|
+
},
|
|
59
|
+
casename: {
|
|
60
|
+
type: String,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
data: function() {
|
|
64
|
+
return {
|
|
65
|
+
mdiLaunch,
|
|
66
|
+
mdiUnfoldMoreVertical
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
mounted: function() {
|
|
70
|
+
},
|
|
71
|
+
computed: {
|
|
72
|
+
|
|
73
|
+
fn: function() {
|
|
74
|
+
let fnc = `${this.casename}`
|
|
75
|
+
return `${this.kbname}_${cvCasename(fnc)}`
|
|
76
|
+
},
|
|
77
|
+
|
|
78
|
+
web: function() {
|
|
79
|
+
return 'https://yuda-lyu.github.io/w-component-vue/examples/' + this.fn + '.html'
|
|
80
|
+
},
|
|
81
|
+
|
|
82
|
+
src: function() {
|
|
83
|
+
return 'https://github.com/yuda-lyu/w-component-vue/blob/master/docs/examples/' + this.fn + '.html'
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
},
|
|
87
|
+
}
|
|
88
|
+
</script>
|
|
89
|
+
|
|
90
|
+
<style scoped>
|
|
91
|
+
.item {
|
|
92
|
+
border-left: 3px solid #ffba75;
|
|
93
|
+
margin: 5px 5px 8px 0px;
|
|
94
|
+
padding: 3px 3px 5px 10px;
|
|
95
|
+
font-size: 0.9rem;
|
|
96
|
+
display: flex;
|
|
97
|
+
justify-content: flex-start;
|
|
98
|
+
align-items: center;
|
|
99
|
+
}
|
|
100
|
+
.bx {
|
|
101
|
+
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
102
|
+
}
|
|
103
|
+
</style>
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import size from 'lodash/size'
|
|
2
|
+
import filter from 'lodash/filter'
|
|
3
|
+
import maxBy from 'lodash/maxBy'
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 二元搜索法(Binary Search),通過fGetValue(index)取值,求最靠近0但小於0的值,並回傳值與所在的index與所查得的數據items[index]
|
|
8
|
+
*
|
|
9
|
+
* @param {Array} items 輸入欲搜尋陣列
|
|
10
|
+
* @param {Function} fGetValue 輸入取值函數,傳入index
|
|
11
|
+
* @returns {Object} 回傳物件index,最靠近0但小於0的值、所在的index與所查得的數據items[index]
|
|
12
|
+
*/
|
|
13
|
+
function binarySearch(items, fGetValue) {
|
|
14
|
+
let n = size(items)
|
|
15
|
+
let iStart = 0
|
|
16
|
+
let vStart = fGetValue(iStart)
|
|
17
|
+
let iEnd = n - 1
|
|
18
|
+
let vEnd = fGetValue(iEnd)
|
|
19
|
+
|
|
20
|
+
let run = true
|
|
21
|
+
let index = null
|
|
22
|
+
while (run) {
|
|
23
|
+
let iMiddle = Math.floor((iEnd + iStart) / 2)
|
|
24
|
+
let vMiddle = fGetValue(iMiddle)
|
|
25
|
+
//console.log(`iStart=${iStart}, vStart=${vStart}, iMiddle=${iMiddle}, vMiddle=${vMiddle}, iEnd=${iEnd}, vEnd=${vEnd}`)
|
|
26
|
+
|
|
27
|
+
//check
|
|
28
|
+
if (vStart < 0 && vMiddle < 0 && vEnd < 0) {
|
|
29
|
+
index = null
|
|
30
|
+
run = false
|
|
31
|
+
break
|
|
32
|
+
}
|
|
33
|
+
else if (vStart > 0 && vMiddle > 0 && vEnd > 0) {
|
|
34
|
+
index = null
|
|
35
|
+
run = false
|
|
36
|
+
break
|
|
37
|
+
}
|
|
38
|
+
else if (vStart === 0) {
|
|
39
|
+
index = iStart
|
|
40
|
+
run = false
|
|
41
|
+
break
|
|
42
|
+
}
|
|
43
|
+
else if (vMiddle === 0) {
|
|
44
|
+
index = iMiddle
|
|
45
|
+
run = false
|
|
46
|
+
break
|
|
47
|
+
}
|
|
48
|
+
else if (vEnd === 0) {
|
|
49
|
+
index = iEnd
|
|
50
|
+
run = false
|
|
51
|
+
break
|
|
52
|
+
}
|
|
53
|
+
else if (iMiddle === iStart || iMiddle === iEnd) {
|
|
54
|
+
let rs = [{
|
|
55
|
+
i: iStart,
|
|
56
|
+
v: vStart,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
i: iMiddle,
|
|
60
|
+
v: vMiddle,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
i: iEnd,
|
|
64
|
+
v: vEnd,
|
|
65
|
+
}]
|
|
66
|
+
rs = filter(rs, (v) => {
|
|
67
|
+
return v.v <= 0
|
|
68
|
+
})
|
|
69
|
+
let r = maxBy(rs, 'v')
|
|
70
|
+
index = r.i
|
|
71
|
+
run = false
|
|
72
|
+
break
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
//update
|
|
76
|
+
if (vStart * vMiddle > 0) {
|
|
77
|
+
iStart = iMiddle
|
|
78
|
+
vStart = vMiddle
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
iEnd = iMiddle
|
|
82
|
+
vEnd = vMiddle
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return index
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
export default binarySearch
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import get from 'lodash/get'
|
|
2
|
+
import isestr from 'wsemi/src/isestr.mjs'
|
|
3
|
+
import iseobj from 'wsemi/src/iseobj.mjs'
|
|
4
|
+
import genID from 'wsemi/src/genID.mjs'
|
|
5
|
+
import domDrag from 'wsemi/src/domDrag.mjs'
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
function domDragDrop() {
|
|
9
|
+
let kbEv = {}
|
|
10
|
+
|
|
11
|
+
function emit(vnode, name, data) {
|
|
12
|
+
let handlers = (vnode.data && vnode.data.on) || (vnode.componentOptions && vnode.componentOptions.listeners)
|
|
13
|
+
if (handlers && handlers[name]) {
|
|
14
|
+
handlers[name].fns(data)
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function bind(el, binding, vnode) {
|
|
19
|
+
// console.log('bind', 'el', el, 'binding', binding, 'vnode', vnode)
|
|
20
|
+
|
|
21
|
+
//id
|
|
22
|
+
let id = `r${genID()}`
|
|
23
|
+
el.setAttribute('ev-dragdrop', id)
|
|
24
|
+
|
|
25
|
+
//init
|
|
26
|
+
init(el, binding, vnode)
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function update(el, binding, vnode) {
|
|
31
|
+
// console.log('update', 'el', el, 'binding', binding)
|
|
32
|
+
|
|
33
|
+
//clear
|
|
34
|
+
clear(el)
|
|
35
|
+
|
|
36
|
+
//init
|
|
37
|
+
init(el, binding, vnode)
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function unbind(el) {
|
|
42
|
+
// console.log('unbind', 'el', el)
|
|
43
|
+
|
|
44
|
+
//clear
|
|
45
|
+
clear(el)
|
|
46
|
+
|
|
47
|
+
//remove attr
|
|
48
|
+
el.setAttribute('ev-dragdrop', null)
|
|
49
|
+
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function init(el, binding, vnode) {
|
|
53
|
+
|
|
54
|
+
//id
|
|
55
|
+
let id = el.getAttribute('ev-dragdrop')
|
|
56
|
+
|
|
57
|
+
//eff
|
|
58
|
+
let eff = get(binding, 'value')
|
|
59
|
+
eff = iseobj(eff)
|
|
60
|
+
|
|
61
|
+
//check
|
|
62
|
+
if (!eff) {
|
|
63
|
+
return
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
//group
|
|
67
|
+
let group = get(binding, 'value.group')
|
|
68
|
+
if (!isestr(group)) {
|
|
69
|
+
throw new Error(`invalid group: v-domdragdrop="{group:'need to input key for group'}"`)
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
//params
|
|
73
|
+
let attIdentify = get(binding, 'value.attIdentify')
|
|
74
|
+
let attGroup = get(binding, 'value.attGroup')
|
|
75
|
+
let attIndex = get(binding, 'value.attIndex')
|
|
76
|
+
let previewOpacity = get(binding, 'value.previewOpacity')
|
|
77
|
+
let previewDisabledOpacity = get(binding, 'value.previewDisabledOpacity')
|
|
78
|
+
let previewBackground = get(binding, 'value.previewBackground')
|
|
79
|
+
let previewBorderWidth = get(binding, 'value.previewBorderWidth')
|
|
80
|
+
let previewBorderColor = get(binding, 'value.previewBorderColor')
|
|
81
|
+
let timeDragStartDelay = get(binding, 'value.timeDragStartDelay')
|
|
82
|
+
|
|
83
|
+
//domDrag
|
|
84
|
+
let ev = domDrag(el, { group, attIdentify, attGroup, attIndex, previewOpacity, previewDisabledOpacity, previewBackground, previewBorderWidth, previewBorderColor, timeDragStartDelay })
|
|
85
|
+
// ev.on('change', (msg) => {
|
|
86
|
+
// console.log('change', msg)
|
|
87
|
+
// })
|
|
88
|
+
ev.on('start', (msg) => {
|
|
89
|
+
// console.log('start', msg)
|
|
90
|
+
emit(vnode, 'domdragdrop', {
|
|
91
|
+
evName: 'start',
|
|
92
|
+
...msg,
|
|
93
|
+
})
|
|
94
|
+
})
|
|
95
|
+
ev.on('move', (msg) => {
|
|
96
|
+
// console.log('move', msg)
|
|
97
|
+
emit(vnode, 'domdragdrop', {
|
|
98
|
+
evName: 'move',
|
|
99
|
+
...msg,
|
|
100
|
+
})
|
|
101
|
+
})
|
|
102
|
+
ev.on('enter', (msg) => {
|
|
103
|
+
// console.log('enter', msg)
|
|
104
|
+
emit(vnode, 'domdragdrop', {
|
|
105
|
+
evName: 'enter',
|
|
106
|
+
...msg,
|
|
107
|
+
})
|
|
108
|
+
})
|
|
109
|
+
ev.on('leave', (msg) => {
|
|
110
|
+
// console.log('leave', msg)
|
|
111
|
+
emit(vnode, 'domdragdrop', {
|
|
112
|
+
evName: 'leave',
|
|
113
|
+
...msg,
|
|
114
|
+
})
|
|
115
|
+
})
|
|
116
|
+
ev.on('drop', (msg) => {
|
|
117
|
+
// console.log('drop', msg)
|
|
118
|
+
emit(vnode, 'domdragdrop', {
|
|
119
|
+
evName: 'drop',
|
|
120
|
+
...msg,
|
|
121
|
+
})
|
|
122
|
+
})
|
|
123
|
+
|
|
124
|
+
//save ev
|
|
125
|
+
kbEv[id] = ev
|
|
126
|
+
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
function clear(el) {
|
|
130
|
+
|
|
131
|
+
//id
|
|
132
|
+
let id = el.getAttribute('ev-dragdrop')
|
|
133
|
+
|
|
134
|
+
if (kbEv[id]) {
|
|
135
|
+
|
|
136
|
+
//unbind
|
|
137
|
+
kbEv[id].unbind()
|
|
138
|
+
|
|
139
|
+
//delete
|
|
140
|
+
delete kbEv[id]
|
|
141
|
+
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
return {
|
|
147
|
+
bind,
|
|
148
|
+
update,
|
|
149
|
+
unbind,
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
export default domDragDrop
|