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