w-component-vue 2.2.91 → 2.3.1
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 +11 -11
- package/dist/w-component-vue.umd.js.map +1 -1
- package/docs/binarySearch.mjs.html +1 -1
- package/docs/examples/app.html +1 -1
- package/docs/examples/app.umd.js +3 -3
- package/docs/examples/app.umd.js.map +1 -1
- package/docs/examples/w-aggrid-vue-dyn_defCellEditable.html +1 -1
- package/docs/examples/w-aggrid-vue-dyn_kpCellEditable_kpRowStyle.html +1 -1
- package/docs/examples/w-aggrid-vue-dyn_kpHeadTooltip_kpCellTooltip.html +1 -1
- package/docs/examples/w-aggrid-vue-dyn_large data (1,000,000 items).html +1 -1
- package/docs/examples/w-aggrid-vue-dyn_simple data.html +1 -1
- package/docs/examples/w-alert_backgroundColor.html +1 -1
- package/docs/examples/w-alert_borderColor.html +1 -1
- package/docs/examples/w-alert_borderRadius.html +1 -1
- package/docs/examples/w-alert_borderWidth.html +1 -1
- package/docs/examples/w-alert_default.html +1 -1
- package/docs/examples/w-alert_icon.html +1 -1
- package/docs/examples/w-alert_position.html +1 -1
- package/docs/examples/w-alert_recive closed event by promise.html +1 -1
- package/docs/examples/w-alert_shadowStyle.html +1 -1
- package/docs/examples/w-alert_textColor.html +1 -1
- package/docs/examples/w-alert_time (6s).html +1 -1
- package/docs/examples/w-alert_type error.html +1 -1
- package/docs/examples/w-alert_type infor.html +1 -1
- package/docs/examples/w-alert_type warning.html +1 -1
- package/docs/examples/w-badge_backgroundColor.html +1 -1
- package/docs/examples/w-badge_badgeAlign.html +1 -1
- package/docs/examples/w-badge_borderColor_textColor_backgroundColor.html +1 -1
- package/docs/examples/w-badge_borderRadius.html +1 -1
- package/docs/examples/w-badge_default.html +1 -1
- package/docs/examples/w-badge_textColor_backgroundColor.html +1 -1
- package/docs/examples/w-badge_textFontSize.html +1 -1
- package/docs/examples/w-button-chip_active_backgroundColorActive.html +1 -1
- package/docs/examples/w-button-chip_active_borderColorActive.html +1 -1
- package/docs/examples/w-button-chip_active_iconColorActive.html +1 -1
- package/docs/examples/w-button-chip_active_no shadow_no shadowActive.html +1 -1
- package/docs/examples/w-button-chip_active_shadowActiveStyle.html +1 -1
- package/docs/examples/w-button-chip_active_textColorActive.html +1 -1
- package/docs/examples/w-button-chip_backgroundColor_backgroundColorHover.html +1 -1
- package/docs/examples/w-button-chip_borderColor_borderColorHover.html +1 -1
- package/docs/examples/w-button-chip_borderRadius.html +1 -1
- package/docs/examples/w-button-chip_borderRadiusStyle.html +1 -1
- package/docs/examples/w-button-chip_borderRadiusStyle_borderWidth_borderColor_borderColorHover.html +1 -1
- package/docs/examples/w-button-chip_borderWidth.html +1 -1
- package/docs/examples/w-button-chip_close.html +1 -1
- package/docs/examples/w-button-chip_close_shiftRight.html +1 -1
- package/docs/examples/w-button-chip_default.html +1 -1
- package/docs/examples/w-button-chip_icon (fontawesome).html +1 -1
- package/docs/examples/w-button-chip_icon (material).html +1 -1
- package/docs/examples/w-button-chip_icon_iconColor_iconColorHover_close.html +1 -1
- package/docs/examples/w-button-chip_icon_no text.html +1 -1
- package/docs/examples/w-button-chip_loading.html +1 -1
- package/docs/examples/w-button-chip_loading_loadingColor.html +1 -1
- package/docs/examples/w-button-chip_loading_textColor_textColorHover.html +1 -1
- package/docs/examples/w-button-chip_modify loading by callback in click.html +1 -1
- package/docs/examples/w-button-chip_modify prog by callback in click.html +1 -1
- package/docs/examples/w-button-chip_no shadow.html +1 -1
- package/docs/examples/w-button-chip_not editable.html +1 -1
- package/docs/examples/w-button-chip_not editable_disabledColor.html +1 -1
- package/docs/examples/w-button-chip_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-button-chip_paddingStyle (thin style).html +1 -1
- package/docs/examples/w-button-chip_paddingStyle_icon_iconSize_textFontSize.html +1 -1
- package/docs/examples/w-button-chip_prog.html +1 -1
- package/docs/examples/w-button-chip_prog_progColor_progBackgroundColor.html +1 -1
- package/docs/examples/w-button-chip_promiseUnlock.html +1 -1
- package/docs/examples/w-button-chip_rippleColor.html +1 -1
- package/docs/examples/w-button-chip_shadowStyle.html +1 -1
- package/docs/examples/w-button-chip_shiftLeft.html +1 -1
- package/docs/examples/w-button-chip_slot_close.html +1 -1
- package/docs/examples/w-button-chip_textColor.html +1 -1
- package/docs/examples/w-button-chip_textColor_textColorHover.html +1 -1
- package/docs/examples/w-button-chip_tooltip.html +1 -1
- package/docs/examples/w-button-chip_tooltip_tooltipBorderRadius.html +1 -1
- package/docs/examples/w-button-chip_tooltip_tooltipPaddingStyle.html +1 -1
- package/docs/examples/w-button-chip_tooltip_tooltipTextColor_tooltipBackgroundColor.html +1 -1
- package/docs/examples/w-button-chip_tooltip_tooltipTextFontSize.html +1 -1
- package/docs/examples/w-button-circle_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
- package/docs/examples/w-button-circle_borderWidth_borderColor_borderColorHover_borderColorFocus.html +1 -1
- package/docs/examples/w-button-circle_icon (fontawesome).html +1 -1
- package/docs/examples/w-button-circle_icon (material).html +1 -1
- package/docs/examples/w-button-circle_iconColor_iconColorHover_iconColorFocus.html +1 -1
- package/docs/examples/w-button-circle_loading.html +1 -1
- package/docs/examples/w-button-circle_loading_loadingColor.html +1 -1
- package/docs/examples/w-button-circle_no shadow.html +1 -1
- package/docs/examples/w-button-circle_not editable.html +1 -1
- package/docs/examples/w-button-circle_not editable_disabledColor.html +1 -1
- package/docs/examples/w-button-circle_paddingStyle.html +1 -1
- package/docs/examples/w-button-circle_paddingStyle_iconSize.html +1 -1
- package/docs/examples/w-button-circle_promiseUnlock.html +1 -1
- package/docs/examples/w-button-circle_rippleColor.html +1 -1
- package/docs/examples/w-button-circle_shadowStyle.html +1 -1
- package/docs/examples/w-button-circle_tooltip.html +1 -1
- package/docs/examples/w-button-circle_tooltip_tooltipBorderRadius.html +1 -1
- package/docs/examples/w-button-circle_tooltip_tooltipPaddingStyle.html +1 -1
- package/docs/examples/w-button-circle_tooltip_tooltipTextColor_tooltipBackgroundColor.html +1 -1
- package/docs/examples/w-button-circle_tooltip_tooltipTextFontSize.html +1 -1
- package/docs/examples/w-checkbox_checkedIconColor_checkedIconColorHover_uncheckedIconColor_uncheckedIconColorHover.html +1 -1
- package/docs/examples/w-checkbox_checkedIcon_uncheckedIcon.html +1 -1
- package/docs/examples/w-checkbox_default.html +1 -1
- package/docs/examples/w-checkbox_iconSize_textFontSize.html +1 -1
- package/docs/examples/w-checkbox_not editable.html +1 -1
- package/docs/examples/w-checkbox_not editable_checkedIconColorDisabled_uncheckedIconColorDisabled.html +1 -1
- package/docs/examples/w-checkbox_text.html +1 -1
- package/docs/examples/w-checkbox_text_textColor_textColorHover.html +1 -1
- package/docs/examples/w-checkbox_use string (y or n).html +1 -1
- package/docs/examples/w-ckeditor-vue-dyn_default.html +1 -1
- package/docs/examples/w-ckeditor-vue-dyn_height.html +1 -1
- package/docs/examples/w-ckeditor-vue-dyn_not editable.html +1 -1
- package/docs/examples/w-ckeditor-vue-dyn_settings.html +1 -1
- package/docs/examples/w-confirm_contentColor_contentIconColor_contentBackgroundColor.html +1 -1
- package/docs/examples/w-confirm_contentIcon (fontawesome).html +1 -1
- package/docs/examples/w-confirm_contentIconColor.html +1 -1
- package/docs/examples/w-confirm_contentIconSize.html +1 -1
- package/docs/examples/w-confirm_hasNoBtn_yesBtnText.html +1 -1
- package/docs/examples/w-confirm_maxWidth.html +1 -1
- package/docs/examples/w-confirm_noBtnTextColor_noBtnTextColorHover_noBtnBackgroundColor_noBtnBackgroundColorHover.html +1 -1
- package/docs/examples/w-confirm_noBtnText_yesBtnText.html +1 -1
- package/docs/examples/w-confirm_scrollable (slot content).html +1 -1
- package/docs/examples/w-confirm_scrollable.html +1 -1
- package/docs/examples/w-confirm_slot content.html +1 -1
- package/docs/examples/w-confirm_slot footer.html +1 -1
- package/docs/examples/w-confirm_slot header.html +1 -1
- package/docs/examples/w-confirm_titleColor_headerBackgroundColor_footerBackgroundColor.html +1 -1
- package/docs/examples/w-confirm_title_content.html +1 -1
- package/docs/examples/w-dialog_closeWithInterceptor.html +1 -1
- package/docs/examples/w-dialog_contentTextColor_contentBackgroundColor.html +1 -1
- package/docs/examples/w-dialog_dialogZIndex.html +1 -1
- package/docs/examples/w-dialog_fullscreen.html +1 -1
- package/docs/examples/w-dialog_hasSaveBtn (no save button).html +1 -1
- package/docs/examples/w-dialog_hasSaveBtn_hasCloseBtn_isModal (no save and close button).html +1 -1
- package/docs/examples/w-dialog_headerBackgroundColor.html +1 -1
- package/docs/examples/w-dialog_headerBtns.html +1 -1
- package/docs/examples/w-dialog_headerShadow (no shadow).html +1 -1
- package/docs/examples/w-dialog_headerShadowStyle.html +1 -1
- package/docs/examples/w-dialog_icon (fontawesome).html +1 -1
- package/docs/examples/w-dialog_isModal (not persistent).html +1 -1
- package/docs/examples/w-dialog_long title.html +1 -1
- package/docs/examples/w-dialog_maxWidth (narrow width).html +1 -1
- package/docs/examples/w-dialog_multi dialogs.html +1 -1
- package/docs/examples/w-dialog_panelBorderRadius.html +1 -1
- package/docs/examples/w-dialog_panelShadow (no shadow).html +1 -1
- package/docs/examples/w-dialog_panelShadowStyle.html +1 -1
- package/docs/examples/w-dialog_saveBtnTooltip_closeBtnTooltip.html +1 -1
- package/docs/examples/w-dialog_scrollable.html +1 -1
- package/docs/examples/w-dialog_slot content (separate line).html +1 -1
- package/docs/examples/w-dialog_slot content (table).html +1 -1
- package/docs/examples/w-dialog_slot content.html +1 -1
- package/docs/examples/w-dialog_slot header-left_header-right.html +1 -1
- package/docs/examples/w-dialog_slot panel.html +1 -1
- package/docs/examples/w-dialog_title.html +1 -1
- package/docs/examples/w-dialog_titleColor_headerIconColor_headerBackgroundColor.html +1 -1
- package/docs/examples/w-drawer_afloat.html +1 -1
- package/docs/examples/w-drawer_afloat_afloatByFix.html +1 -1
- package/docs/examples/w-drawer_afloat_afloatByFix_dragDrawerWidth.html +1 -1
- package/docs/examples/w-drawer_afloat_afloatByFix_mode.html +1 -1
- package/docs/examples/w-drawer_afloat_afloatByFix_mode_dragDrawerWidth.html +1 -1
- package/docs/examples/w-drawer_afloat_dragDrawerWidth.html +1 -1
- package/docs/examples/w-drawer_afloat_dragDrawerWidth_drawerWidthMin_drawerWidthMax.html +1 -1
- package/docs/examples/w-drawer_afloat_mode.html +1 -1
- package/docs/examples/w-drawer_afloat_mode_dragDrawerWidth.html +1 -1
- package/docs/examples/w-drawer_afloat_mode_dragDrawerWidth_drawerWidthMin.html +1 -1
- package/docs/examples/w-drawer_afloat_overlayOpacity.html +1 -1
- package/docs/examples/w-drawer_default.html +1 -1
- package/docs/examples/w-drawer_dragDrawerWidth_drawerBarBorderColor_drawerBarBorderSize.html +1 -1
- package/docs/examples/w-drawer_dragDrawerWidth_drawerBarColor_drawerBarSize.html +1 -1
- package/docs/examples/w-drawer_dragDrawerWidth_drawerWidth(sync).html +1 -1
- package/docs/examples/w-drawer_dragDrawerWidth_drawerWidthMin_drawerWidthMax.html +1 -1
- package/docs/examples/w-drawer_drawerWidth.html +1 -1
- package/docs/examples/w-drawer_mode.html +1 -1
- package/docs/examples/w-drawer_mode_dragDrawerWidth.html +1 -1
- package/docs/examples/w-drawer_multiple_dragDrawerWidth_drawerWidthMin_drawerWidthMax.html +1 -1
- package/docs/examples/w-dropfiles_backgroundColor_backgroundColorDropIn_backgroundColorHover.html +1 -1
- package/docs/examples/w-dropfiles_borderColor_borderColorDropIn_borderColorHover_backgroundColorDropIn.html +1 -1
- package/docs/examples/w-dropfiles_borderRadius.html +1 -1
- package/docs/examples/w-dropfiles_borderWidth.html +1 -1
- package/docs/examples/w-dropfiles_default.html +1 -1
- package/docs/examples/w-dropfiles_timeTransition.html +1 -1
- package/docs/examples/w-dynamic-list_change rows.html +1 -1
- package/docs/examples/w-dynamic-list_change slot.html +1 -1
- package/docs/examples/w-dynamic-list_default.html +1 -1
- package/docs/examples/w-dynamic-list_filterKeywords_noResultsText.html +1 -1
- package/docs/examples/w-dynamic-list_large data (1,000,000 items).html +1 -1
- package/docs/examples/w-dynamic-list_processItems.html +1 -1
- package/docs/examples/w-dynamic-list_render.html +1 -1
- package/docs/examples/w-dynamic-list_slot item with image.html +1 -1
- package/docs/examples/w-dynamic-list_viewHeightMax.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_area.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_bar3D.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_continuous.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_heatmap.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_line.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_line3D.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_parallel.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_polar heatmap.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_polar.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_radar.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_scatter.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_stack.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_surface.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_tree.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_treemap.html +1 -1
- package/docs/examples/w-explorer_bindRoot.html +34 -4
- package/docs/examples/w-explorer_btnDisplayTreeBackgroundColor_btnDisplayTreeBackgroundColorHover_btnDisplayTreeBackgroundColorFocus.html +34 -4
- package/docs/examples/w-explorer_btnDisplayTreeIconColor_btnDisplayTreeIconColorHover_btnDisplayTreeIconColorFocus.html +34 -4
- package/docs/examples/w-explorer_btnDisplayTreeIconShow_btnDisplayTreeIconHide_btnDisplayTreeIconSize.html +34 -4
- package/docs/examples/w-explorer_dark mode.html +34 -4
- package/docs/examples/w-explorer_default.html +34 -4
- package/docs/examples/w-explorer_defaultShowTreeFirst.html +34 -4
- package/docs/examples/w-explorer_defaultShowTreeFirst_noSelectedText.html +34 -4
- package/docs/examples/w-explorer_draggable.html +679 -0
- package/docs/examples/w-explorer_draggable_dgInsertLineColor_dgInsertBackgroundColor_dgBelongBackgroundColor.html +684 -0
- package/docs/examples/w-explorer_draggable_dgPreviewOpacity_dgPreviewBorderWidth_dgBelongBackgroundColor.html +685 -0
- package/docs/examples/w-explorer_draggable_dgTextDisabled_dgTextDisabledColor_dgTextDisabledPaddingLeft.html +686 -0
- package/docs/examples/w-explorer_events.html +34 -4
- package/docs/examples/w-explorer_funSortTree.html +34 -4
- package/docs/examples/w-explorer_lineBetweenPathAndListWidth_lineBetweenPathAndListColor.html +34 -4
- package/docs/examples/w-explorer_listBackgroundColor.html +34 -4
- package/docs/examples/w-explorer_listFolderIcon_listFileIcon_listIconSize.html +34 -4
- package/docs/examples/w-explorer_listItemBackgroundColor_listItemBackgroundColorHover_listItemBackgroundColorActive.html +34 -4
- package/docs/examples/w-explorer_listItemIconColor_listItemIconColorHover_listItemIconColorActive.html +34 -4
- package/docs/examples/w-explorer_listItemRippleColor.html +34 -4
- package/docs/examples/w-explorer_listItemTextColor_listItemTextColorHover_listItemTextColorActive.html +34 -4
- package/docs/examples/w-explorer_listItemTextFontSize.html +34 -4
- package/docs/examples/w-explorer_listPaddingStyle.html +34 -4
- package/docs/examples/w-explorer_operatable.html +679 -0
- package/docs/examples/w-explorer_operatable_draggable.html +680 -0
- package/docs/examples/w-explorer_operatable_editorRenameCancelBtnBackgroundColor_editorRenameCancelBtnBackgroundColorHover.html +683 -0
- package/docs/examples/w-explorer_operatable_editorRenameCancelBtnIcon_editorRenameCancelBtnIconSize_editorRenameCancelBtnIconColor.html +686 -0
- package/docs/examples/w-explorer_operatable_editorRenameCancelBtnText_editorRenameCancelBtnTextColor_editorRenameCancelBtnTextColorHover.html +684 -0
- package/docs/examples/w-explorer_operatable_editorRenameContentBackgroundColor_editorRenameFooterBackgroundColor.html +683 -0
- package/docs/examples/w-explorer_operatable_editorRenameInputTextColor_editorRenameInputTextBottomLineBorderColor_editorRenameInputTextBottomLineBorderColorHover.html +685 -0
- package/docs/examples/w-explorer_operatable_editorRenameSaveBtnBackgroundColor_editorRenameSaveBtnBackgroundColorHover.html +683 -0
- package/docs/examples/w-explorer_operatable_editorRenameSaveBtnIcon_editorRenameSaveBtnIconSize_editorRenameSaveBtnIconColor.html +686 -0
- package/docs/examples/w-explorer_operatable_editorRenameSaveBtnText_editorRenameSaveBtnTextColor_editorRenameSaveBtnTextColorHover.html +684 -0
- package/docs/examples/w-explorer_operatable_operateBtnBackgroundColor_operateBtnBackgroundColorHover_operateBtnBackgroundColorFocus.html +684 -0
- package/docs/examples/w-explorer_operatable_operateBtnTooltip_operateItemTextForRename_perateItemTextForInsertChild.html +685 -0
- package/docs/examples/w-explorer_operatable_operateItemBackgroundColor_operateItemBackgroundColorHover_operateItemTextColor.html +687 -0
- package/docs/examples/w-explorer_operatable_operateItemHeight_operateItemIconSize_operateItemPaddingStyle.html +684 -0
- package/docs/examples/w-explorer_operatable_operateItemIconForRename_operateItemIconForInsertChild_operateItemIconForDelete.html +684 -0
- package/docs/examples/w-explorer_operatable_operatePanelWidth_operatePanelHeight_operateItemIconSize.html +685 -0
- package/docs/examples/w-explorer_pathBackgroundColor.html +34 -4
- package/docs/examples/w-explorer_pathBtnBackgroundColor_pathBtnBackgroundColorHover.html +34 -4
- package/docs/examples/w-explorer_pathBtnTextColor_pathBtnTextColorHover.html +34 -4
- package/docs/examples/w-explorer_pathBtnTextFontSize.html +34 -4
- package/docs/examples/w-explorer_pathSepIcon_pathSepIconColor_pathSepIconSize.html +34 -4
- package/docs/examples/w-explorer_showTree.html +34 -4
- package/docs/examples/w-explorer_slot list-item-cover.html +34 -4
- package/docs/examples/w-explorer_slot list-item-sub.html +34 -4
- package/docs/examples/w-explorer_slot list-item-text-left.html +34 -4
- package/docs/examples/w-explorer_slot list-item-text-right.html +34 -4
- package/docs/examples/w-explorer_slot list-item_list-item-cover_list-head_list-foot.html +34 -4
- package/docs/examples/w-explorer_small text.html +34 -4
- package/docs/examples/w-explorer_toggleTreeFoldersAll.html +34 -4
- package/docs/examples/w-explorer_toggleTreeFoldersByFun.html +34 -4
- package/docs/examples/w-explorer_treeAfloat.html +34 -4
- package/docs/examples/w-explorer_treeBackgroundColor.html +34 -4
- package/docs/examples/w-explorer_treeDefItemHeight_listDefItemHeight.html +34 -4
- package/docs/examples/w-explorer_treeDefaultDisplayLevel.html +34 -4
- package/docs/examples/w-explorer_treeDrawerBarSize_treeDrawerBarColor.html +34 -4
- package/docs/examples/w-explorer_treeFolderIconColor_treeFolderIconColorHover_treeFolderIconColorActive.html +34 -4
- package/docs/examples/w-explorer_treeFolderIcon_treeFolderIconSize.html +34 -4
- package/docs/examples/w-explorer_treeIndent.html +34 -4
- package/docs/examples/w-explorer_treeItemBackgroundColor_treeItemBackgroundColorHover_treeItemBackgroundColorActive.html +34 -4
- package/docs/examples/w-explorer_treeItemRippleColor.html +34 -4
- package/docs/examples/w-explorer_treeItemTextColor_treeItemTextColorHover_treeItemTextColorActive.html +34 -4
- package/docs/examples/w-explorer_treeItemTextFontSize.html +34 -4
- package/docs/examples/w-explorer_treePaddingStyle.html +34 -4
- package/docs/examples/w-explorer_treeToggleIconColor_treeToggleIconBackgroundColor_treeToggleIconBackgroundColorHover.html +34 -4
- package/docs/examples/w-explorer_treeToggleIconSize.html +34 -4
- package/docs/examples/w-explorer_treeWidth.html +34 -4
- package/docs/examples/w-explorer_treeWidthMin_treeWidthMax.html +34 -4
- package/docs/examples/w-explorer_triggerClickTreeFolderByFun.html +34 -4
- package/docs/examples/w-explorer_triggerClickTreeFolderById.html +34 -4
- package/docs/examples/w-group-baggage_connLineColor.html +1 -1
- package/docs/examples/w-group-baggage_connLineWidth.html +1 -1
- package/docs/examples/w-group-baggage_connLineZoneWidth.html +1 -1
- package/docs/examples/w-group-baggage_contentBackgroundColor_contentBackgroundColorHover.html +1 -1
- package/docs/examples/w-group-baggage_contentBorderColor_contentBorderColorHover.html +1 -1
- package/docs/examples/w-group-baggage_contentBorderRadius.html +1 -1
- package/docs/examples/w-group-baggage_contentBorderWidth.html +1 -1
- package/docs/examples/w-group-baggage_contentPaddingStyle.html +1 -1
- package/docs/examples/w-group-baggage_contentTextColor_contentTextColorHover.html +1 -1
- package/docs/examples/w-group-baggage_contentTextFontSize.html +1 -1
- package/docs/examples/w-group-baggage_default.html +1 -1
- package/docs/examples/w-group-baggage_keyTag_keyText.html +1 -1
- package/docs/examples/w-group-baggage_slot tag.html +1 -1
- package/docs/examples/w-group-baggage_slot text-sub.html +1 -1
- package/docs/examples/w-group-baggage_slot text_contentPaddingStyle.html +1 -1
- package/docs/examples/w-group-baggage_tagBackgroundColor_tagBackgroundColorHover.html +1 -1
- package/docs/examples/w-group-baggage_tagBorderColor_tagBorderColorHover.html +1 -1
- package/docs/examples/w-group-baggage_tagBorderRadius.html +1 -1
- package/docs/examples/w-group-baggage_tagBorderWidth.html +1 -1
- package/docs/examples/w-group-baggage_tagClickable_contentClickable_events.html +1 -1
- package/docs/examples/w-group-baggage_tagDistBetweenTopAndBaseline.html +1 -1
- package/docs/examples/w-group-baggage_tagPaddingStyle_contentShiftTopFromBaseline.html +1 -1
- package/docs/examples/w-group-baggage_tagTextColor_tagTextColorHover.html +1 -1
- package/docs/examples/w-group-baggage_tagTextFontSize_contentShiftTopFromBaseline.html +1 -1
- package/docs/examples/w-group-check_backgroundColorActive.html +1 -1
- package/docs/examples/w-group-check_backgroundColor_backgroundColorHover.html +1 -1
- package/docs/examples/w-group-check_borderColor_borderColorHover_borderColorActive.html +1 -1
- package/docs/examples/w-group-check_borderRadius.html +1 -1
- package/docs/examples/w-group-check_borderRadius_borderRadiusStyle_paddingStyle.html +1 -1
- package/docs/examples/w-group-check_borderWidth_borderColor_borderColorHover_borderColorActive.html +1 -1
- package/docs/examples/w-group-check_click (console.log).html +1 -1
- package/docs/examples/w-group-check_default.html +1 -1
- package/docs/examples/w-group-check_group (only one).html +1 -1
- package/docs/examples/w-group-check_group_borderColor_borderColorHover_borderColorActive.html +1 -1
- package/docs/examples/w-group-check_group_groupBorderRadiusStyle_groupShift_borderRadius.html +1 -1
- package/docs/examples/w-group-check_icon (fontawesome).html +1 -1
- package/docs/examples/w-group-check_icon (material).html +1 -1
- package/docs/examples/w-group-check_iconColorActive.html +1 -1
- package/docs/examples/w-group-check_iconColor_iconColorHover.html +1 -1
- package/docs/examples/w-group-check_loading.html +1 -1
- package/docs/examples/w-group-check_loading_loadingColor.html +1 -1
- package/docs/examples/w-group-check_marginStyle.html +1 -1
- package/docs/examples/w-group-check_no shadowActive.html +1 -1
- package/docs/examples/w-group-check_not editable.html +1 -1
- package/docs/examples/w-group-check_paddingStyle_borderRadius_textColor_iconColor.html +1 -1
- package/docs/examples/w-group-check_paddingStyle_iconSize_textFontSize.html +1 -1
- package/docs/examples/w-group-check_shadow.html +1 -1
- package/docs/examples/w-group-check_shadowActiveStyle.html +1 -1
- package/docs/examples/w-group-check_shadow_shadowStyle.html +1 -1
- package/docs/examples/w-group-check_shiftLeft.html +1 -1
- package/docs/examples/w-group-check_shiftLeft_shiftRight.html +1 -1
- package/docs/examples/w-group-check_slot_shadow.html +1 -1
- package/docs/examples/w-group-check_textColor.html +1 -1
- package/docs/examples/w-group-check_textColorActive.html +1 -1
- package/docs/examples/w-group-check_textColor_textColorHover.html +1 -1
- package/docs/examples/w-group-check_tooltip.html +1 -1
- package/docs/examples/w-group-dragdrop_default.html +1 -1
- package/docs/examples/w-group-dragdrop_event (dragdrop).html +1 -1
- package/docs/examples/w-group-dragdrop_items(string array).html +1 -1
- package/docs/examples/w-group-dragdrop_keyBinder.html +1 -1
- package/docs/examples/w-group-dragdrop_not draggable.html +1 -1
- package/docs/examples/w-group-dragdrop_not itemStyleInline (block).html +1 -1
- package/docs/examples/w-group-radio_backgroundColorActive.html +1 -1
- package/docs/examples/w-group-radio_backgroundColor_backgroundColorHover.html +1 -1
- package/docs/examples/w-group-radio_borderColor_borderColorHover_borderColorActive.html +1 -1
- package/docs/examples/w-group-radio_borderRadius.html +1 -1
- package/docs/examples/w-group-radio_borderRadius_borderRadiusStyle_paddingStyle.html +1 -1
- package/docs/examples/w-group-radio_borderWidth_borderColor_borderColorHover_borderColorActive.html +1 -1
- package/docs/examples/w-group-radio_click (console.log).html +1 -1
- package/docs/examples/w-group-radio_default.html +1 -1
- package/docs/examples/w-group-radio_group (only one).html +1 -1
- package/docs/examples/w-group-radio_group_borderColor_borderColorHover_borderColorActive.html +1 -1
- package/docs/examples/w-group-radio_group_groupBorderRadiusStyle_groupShift_borderRadius.html +1 -1
- package/docs/examples/w-group-radio_icon (fontawesome).html +1 -1
- package/docs/examples/w-group-radio_icon (material).html +1 -1
- package/docs/examples/w-group-radio_iconColorActive.html +1 -1
- package/docs/examples/w-group-radio_iconColor_iconColorHover.html +1 -1
- package/docs/examples/w-group-radio_loading.html +1 -1
- package/docs/examples/w-group-radio_loading_loadingColor.html +1 -1
- package/docs/examples/w-group-radio_marginStyle.html +1 -1
- package/docs/examples/w-group-radio_no shadowActive.html +1 -1
- package/docs/examples/w-group-radio_not editable.html +1 -1
- package/docs/examples/w-group-radio_paddingStyle_borderRadius_textColor_iconColor.html +1 -1
- package/docs/examples/w-group-radio_paddingStyle_iconSize_textFontSize.html +1 -1
- package/docs/examples/w-group-radio_shadow.html +1 -1
- package/docs/examples/w-group-radio_shadowActiveStyle.html +1 -1
- package/docs/examples/w-group-radio_shadow_shadowStyle.html +1 -1
- package/docs/examples/w-group-radio_shiftLeft.html +1 -1
- package/docs/examples/w-group-radio_shiftLeft_shiftRight.html +1 -1
- package/docs/examples/w-group-radio_slot_shadow.html +1 -1
- package/docs/examples/w-group-radio_textColor.html +1 -1
- package/docs/examples/w-group-radio_textColorActive.html +1 -1
- package/docs/examples/w-group-radio_textColor_textColorHover.html +1 -1
- package/docs/examples/w-group-radio_tooltip.html +1 -1
- package/docs/examples/w-group-tags_backgroundColor_backgroundColorHover.html +1 -1
- package/docs/examples/w-group-tags_borderColor_borderColorHover.html +1 -1
- package/docs/examples/w-group-tags_borderRadius.html +1 -1
- package/docs/examples/w-group-tags_closeWithInterceptor.html +1 -1
- package/docs/examples/w-group-tags_default.html +1 -1
- package/docs/examples/w-group-tags_editableClose(no close button).html +1 -1
- package/docs/examples/w-group-tags_editableInput(no slot input).html +1 -1
- package/docs/examples/w-group-tags_enableCloseEventOnly.html +1 -1
- package/docs/examples/w-group-tags_icon (fontawesome).html +1 -1
- package/docs/examples/w-group-tags_icon (material).html +1 -1
- package/docs/examples/w-group-tags_iconColor_iconColorHover_textColor_textColorHover.html +1 -1
- package/docs/examples/w-group-tags_icon_iconColor_iconColorHover.html +1 -1
- package/docs/examples/w-group-tags_inputTextButtonTooltip.html +1 -1
- package/docs/examples/w-group-tags_inputTextColor_inputTextBorderColor_inputTextBorderColorHover_inputTextBorderColorFocus.html +1 -1
- package/docs/examples/w-group-tags_inputTextWidth.html +1 -1
- package/docs/examples/w-group-tags_marginStyle.html +1 -1
- package/docs/examples/w-group-tags_modify loading by callback in click.html +1 -1
- package/docs/examples/w-group-tags_modify loading_textColor_textColorHover.html +1 -1
- package/docs/examples/w-group-tags_modify prog by callback in click.html +1 -1
- package/docs/examples/w-group-tags_no shadow_borderColor_borderColorHover.html +1 -1
- package/docs/examples/w-group-tags_not draggable.html +1 -1
- package/docs/examples/w-group-tags_not editable.html +1 -1
- package/docs/examples/w-group-tags_not editable_nodata.html +1 -1
- package/docs/examples/w-group-tags_object items.html +1 -1
- package/docs/examples/w-group-tags_object items_addButtonTextColor_addButtonTextColorHover_addButtonIconColor.html +1 -1
- package/docs/examples/w-group-tags_object items_addButtonText_addButtonTooltip.html +1 -1
- package/docs/examples/w-group-tags_object items_keyIcon.html +1 -1
- package/docs/examples/w-group-tags_object items_keyText.html +1 -1
- package/docs/examples/w-group-tags_object items_keyTooltip.html +1 -1
- package/docs/examples/w-group-tags_object items_slot item.html +1 -1
- package/docs/examples/w-group-tags_object items_slot item_editableInput(no slot input)_useActive.html +1 -1
- package/docs/examples/w-group-tags_object items_slot item_useColorsFromItem_editableInput(no slot input).html +1 -1
- package/docs/examples/w-group-tags_paddingStyle_icon_iconSize_textFontSize.html +1 -1
- package/docs/examples/w-group-tags_progColor_progBackgroundColor.html +1 -1
- package/docs/examples/w-group-tags_shadowStyle.html +1 -1
- package/docs/examples/w-group-tags_shiftLeft.html +1 -1
- package/docs/examples/w-group-tags_slot input.html +1 -1
- package/docs/examples/w-group-tags_slot item.html +1 -1
- package/docs/examples/w-group-tags_slot item_useActive_valueActive_paddingStyle.html +1 -1
- package/docs/examples/w-group-tags_suggests.html +1 -1
- package/docs/examples/w-group-tags_suggests_inputTextColor_inputExpansionIconColor.html +1 -1
- package/docs/examples/w-group-tags_suggests_placeholder_noResultsText.html +1 -1
- package/docs/examples/w-group-tags_suggests_suggectItemFontSize_suggectItemTextColor_suggectItemTextColorHover.html +1 -1
- package/docs/examples/w-group-tags_textColor.html +1 -1
- package/docs/examples/w-group-tags_textColor_textColorHover.html +1 -1
- package/docs/examples/w-group-tags_useActive_valueActive.html +1 -1
- package/docs/examples/w-highcharts-bitmap-dyn_render (need w-hc2png-server).html +1 -1
- package/docs/examples/w-highcharts-vue-dyn_area.html +1 -1
- package/docs/examples/w-highcharts-vue-dyn_bar.html +1 -1
- package/docs/examples/w-highcharts-vue-dyn_heatmap.html +1 -1
- package/docs/examples/w-highcharts-vue-dyn_large heatmap.html +1 -1
- package/docs/examples/w-highcharts-vue-dyn_line.html +1 -1
- package/docs/examples/w-highcharts-vue-dyn_pie.html +1 -1
- package/docs/examples/w-highstock-vue-dyn_area.html +1 -1
- package/docs/examples/w-highstock-vue-dyn_line.html +1 -1
- package/docs/examples/w-icon-svg_path (mdi-access-point)_size.html +1 -1
- package/docs/examples/w-icon-svg_path (mdi-account-badge-horizontal)_timeTransition.html +1 -1
- package/docs/examples/w-icon-svg_path (mdi-fruit-cherries).html +1 -1
- package/docs/examples/w-icon-svg_path (mdi-graph-outline)_color_colorHover.html +1 -1
- package/docs/examples/w-icon-svg_path (use 3 paths)_sizeOriginal.html +1 -1
- package/docs/examples/w-icon-svg_path_sizeOriginal.html +1 -1
- package/docs/examples/w-image-cascading-dyn_arrangeWhenFinish.html +1 -1
- package/docs/examples/w-image-cascading-dyn_colNum.html +1 -1
- package/docs/examples/w-image-cascading-dyn_default(imageWidth=300).html +1 -1
- package/docs/examples/w-image-cascading-dyn_imageWidth.html +1 -1
- package/docs/examples/w-image-cascading-dyn_imageWidthSoft.html +1 -1
- package/docs/examples/w-image-viewer-dyn_multiple image with navbar.html +1 -1
- package/docs/examples/w-image-viewer-dyn_one image.html +1 -1
- package/docs/examples/w-input-checkbox_arrange_marginStyle.html +1 -1
- package/docs/examples/w-input-checkbox_arrange_paddingStyle.html +1 -1
- package/docs/examples/w-input-checkbox_click (console.log).html +1 -1
- package/docs/examples/w-input-checkbox_default.html +1 -1
- package/docs/examples/w-input-checkbox_marginStyle.html +1 -1
- package/docs/examples/w-input-checkbox_not editable.html +1 -1
- package/docs/examples/w-input-checkbox_object items_keyText.html +1 -1
- package/docs/examples/w-input-checkbox_paddingStyle.html +1 -1
- package/docs/examples/w-input-checkbox_slot_paddingStyle_verticalAlign_inputHeight.html +1 -1
- package/docs/examples/w-input-checkbox_textColor_textColorHover_textColorActive.html +1 -1
- package/docs/examples/w-input-radio_arrange_marginStyle.html +1 -1
- package/docs/examples/w-input-radio_arrange_paddingStyle.html +1 -1
- package/docs/examples/w-input-radio_click (console.log).html +1 -1
- package/docs/examples/w-input-radio_default.html +1 -1
- package/docs/examples/w-input-radio_marginStyle.html +1 -1
- package/docs/examples/w-input-radio_not editable.html +1 -1
- package/docs/examples/w-input-radio_object items_keyText.html +1 -1
- package/docs/examples/w-input-radio_paddingStyle.html +1 -1
- package/docs/examples/w-input-radio_slot_paddingStyle_verticalAlign_inputHeight.html +1 -1
- package/docs/examples/w-input-radio_textColor_textColorHover_textColorActive.html +1 -1
- package/docs/examples/w-json-view_default.html +1 -1
- package/docs/examples/w-json-view_events.html +1 -1
- package/docs/examples/w-json-view_filterKeywords_filterFunction.html +1 -1
- package/docs/examples/w-json-view_filterKeywords_noResultsText.html +1 -1
- package/docs/examples/w-json-view_iconColor_keyColor_keyNumbersColor_numColor.html +1 -1
- package/docs/examples/w-json-view_iconSize(24)_defItemHeight(32).html +1 -1
- package/docs/examples/w-json-view_large data (15,500 lines).html +1 -1
- package/docs/examples/w-json-view_no viewHeightMax.html +1 -1
- package/docs/examples/w-json-view_rippleColor.html +1 -1
- package/docs/examples/w-json-view_toggleItemsAll.html +1 -1
- package/docs/examples/w-json-view_toggleItemsByFun.html +1 -1
- package/docs/examples/w-json-view_viewHeightMax.html +1 -1
- package/docs/examples/w-leaflet-vue-dyn_contourSet for rain data.html +1 -1
- package/docs/examples/w-leaflet-vue-dyn_contourSets.html +1 -1
- package/docs/examples/w-leaflet-vue-dyn_pointSets.html +1 -1
- package/docs/examples/w-leaflet-vue-dyn_polygonSets.html +1 -1
- package/docs/examples/w-list-expand_activeMode(multi).html +1 -1
- package/docs/examples/w-list-expand_auto scroll.html +1 -1
- package/docs/examples/w-list-expand_default.html +1 -1
- package/docs/examples/w-list-expand_itemBackgroundColor_itemBackgroundColorHover_itemBackgroundColorActive.html +1 -1
- package/docs/examples/w-list-expand_keyText_keyIcon_keyDsp.html +1 -1
- package/docs/examples/w-list-expand_paddingStyle.html +1 -1
- package/docs/examples/w-list-expand_slot footer.html +1 -1
- package/docs/examples/w-list-expand_slot header.html +1 -1
- package/docs/examples/w-list-expand_slot item-content_itemTextColor_itemTextColorHover_itemTextColorActive.html +1 -1
- package/docs/examples/w-list-expand_slot item-header_item-content.html +1 -1
- package/docs/examples/w-list-horizontal_borderBottomSize.html +1 -1
- package/docs/examples/w-list-horizontal_default.html +1 -1
- package/docs/examples/w-list-horizontal_itemBackgroundColor_itemBackgroundColorHover_itemBackgroundColorActive.html +1 -1
- package/docs/examples/w-list-horizontal_itemBorderRadius.html +1 -1
- package/docs/examples/w-list-horizontal_itemBorderRadius_space.html +1 -1
- package/docs/examples/w-list-horizontal_itemRippleColor.html +1 -1
- package/docs/examples/w-list-horizontal_itemRippleColor_borderBottomColor_itemTextColorActive_itemIconColorActive.html +1 -1
- package/docs/examples/w-list-horizontal_itemTextFontSize_itemIconSize.html +1 -1
- package/docs/examples/w-list-horizontal_keyText_keyIcon.html +1 -1
- package/docs/examples/w-list-horizontal_no borderBottom.html +1 -1
- package/docs/examples/w-list-horizontal_paddingStyle.html +1 -1
- package/docs/examples/w-list-horizontal_paddingStyle_borderBottomColor_itemRippleColor_itemTextColor.html +1 -1
- package/docs/examples/w-list-horizontal_slot.html +1 -1
- package/docs/examples/w-list-horizontal_space.html +1 -1
- package/docs/examples/w-list-horizontal_string items.html +1 -1
- package/docs/examples/w-list-vertical_auto scroll.html +1 -1
- package/docs/examples/w-list-vertical_default.html +1 -1
- package/docs/examples/w-list-vertical_itemActive.html +1 -1
- package/docs/examples/w-list-vertical_itemActive_itemBackgroundColor_itemBackgroundColorHover_itemBackgroundColorActive.html +1 -1
- package/docs/examples/w-list-vertical_itemActive_itemTextColor_itemTextColorHover_itemTextColorActive.html +1 -1
- package/docs/examples/w-list-vertical_keyText_keyIcon.html +1 -1
- package/docs/examples/w-list-vertical_paddingStyle.html +1 -1
- package/docs/examples/w-list-vertical_slot footer.html +1 -1
- package/docs/examples/w-list-vertical_slot header.html +1 -1
- package/docs/examples/w-list-vertical_slot item.html +1 -1
- package/docs/examples/w-list-vertical_string items.html +1 -1
- package/docs/examples/w-list-vertical_useActive (no active).html +1 -1
- package/docs/examples/w-list-vertical_useActive (no active)_itemRippleColor.html +1 -1
- package/docs/examples/w-panel-avatar_avatarBackgroundColor.html +1 -1
- package/docs/examples/w-panel-avatar_avatarBorderRadius.html +1 -1
- package/docs/examples/w-panel-avatar_avatarBorderWidth_avatarBorderColor_avatarBackgroundColor.html +1 -1
- package/docs/examples/w-panel-avatar_avatarIcon (fontawesome).html +1 -1
- package/docs/examples/w-panel-avatar_avatarIcon (material).html +1 -1
- package/docs/examples/w-panel-avatar_avatarIcon_avatarIconSize_avatarIconColor_avatarBackgroundColor.html +1 -1
- package/docs/examples/w-panel-avatar_avatarOuterPadding_avatarInnerPadding.html +1 -1
- package/docs/examples/w-panel-avatar_contentBackgroundColor.html +1 -1
- package/docs/examples/w-panel-avatar_contentBorderRadius.html +1 -1
- package/docs/examples/w-panel-avatar_contentShadow.html +1 -1
- package/docs/examples/w-panel-avatar_default.html +1 -1
- package/docs/examples/w-panel-avatar_headerPadding_headerTextColor_headerTextSize_subHeaderTextColor.html +1 -1
- package/docs/examples/w-panel-avatar_headerVerticalAlign_spaceVBetweenHeaderAndContent.html +1 -1
- package/docs/examples/w-panel-avatar_no avatarShadow.html +1 -1
- package/docs/examples/w-panel-avatar_sepLineWidth_sepLineColor.html +1 -1
- package/docs/examples/w-panel-avatar_shiftVFromAvaterCenter.html +1 -1
- package/docs/examples/w-panel-avatar_slot avatar_avatarBackgroundColor.html +1 -1
- package/docs/examples/w-panel-avatar_spaceHBetweenAvatarAndHeader_spaceVBetweenHeaderAndContent.html +1 -1
- package/docs/examples/w-panel-bulge_contentBackgroundColor.html +1 -1
- package/docs/examples/w-panel-bulge_contentBorderRadius.html +1 -1
- package/docs/examples/w-panel-bulge_default.html +1 -1
- package/docs/examples/w-panel-bulge_headerBorderRadius.html +1 -1
- package/docs/examples/w-panel-bulge_headerTextColor_headerBackgroundColor.html +1 -1
- package/docs/examples/w-panel-bulge_no headerShadow_no contentShadow, with green outer.html +1 -1
- package/docs/examples/w-panel-bulge_paddingStyle.html +1 -1
- package/docs/examples/w-panel-bulge_slot for header_headerBorderRadius_headerBackgroundColor(linear-gradient).html +1 -1
- package/docs/examples/w-panel-bulge_with grey outer.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_barBorderSize_barBorderColor.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_barColor.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_barSize.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_default.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_leftWidthMin_leftWidthMax.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_ratio.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_ratioMin_ratioMax.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_rightWidthMin_rightWidthMax.html +1 -1
- package/docs/examples/w-panel-divide-vertical_barBorderSize_barBorderColor.html +1 -1
- package/docs/examples/w-panel-divide-vertical_barColor.html +1 -1
- package/docs/examples/w-panel-divide-vertical_barSize.html +1 -1
- package/docs/examples/w-panel-divide-vertical_bottomHeightMin_bottomHeightMax.html +1 -1
- package/docs/examples/w-panel-divide-vertical_default.html +1 -1
- package/docs/examples/w-panel-divide-vertical_ratio.html +1 -1
- package/docs/examples/w-panel-divide-vertical_ratioMin_ratioMax.html +1 -1
- package/docs/examples/w-panel-divide-vertical_topHeightMin_topHeightMax.html +1 -1
- package/docs/examples/w-panel-scale_for select.html +1 -1
- package/docs/examples/w-panel-scale_for v-btn.html +1 -1
- package/docs/examples/w-panel-scale_for w-panel-bulge.html +1 -1
- package/docs/examples/w-panel-scale_for w-panel-scrolly.html +1 -1
- package/docs/examples/w-panel-scale_for w-text-suggest.html +1 -1
- package/docs/examples/w-panel-scrolly_barOpacity_barOpacityHover.html +1 -1
- package/docs/examples/w-panel-scrolly_default.html +1 -1
- package/docs/examples/w-panel-scrolly_events.html +1 -1
- package/docs/examples/w-panel-scrolly_scrollTop.html +1 -1
- package/docs/examples/w-panel-stripe_borderRadius.html +1 -1
- package/docs/examples/w-panel-stripe_buttons in slot footer.html +1 -1
- package/docs/examples/w-panel-stripe_headerBackgroundColor_footerBackgroundColor.html +1 -1
- package/docs/examples/w-panel-stripe_no footer.html +1 -1
- package/docs/examples/w-panel-stripe_no header.html +1 -1
- package/docs/examples/w-panel-stripe_no shadow, with crimson outer.html +1 -1
- package/docs/examples/w-panel-stripe_only slot icon and slot title in header.html +1 -1
- package/docs/examples/w-panel-stripe_only slot title in header.html +1 -1
- package/docs/examples/w-panel-stripe_padding.html +1 -1
- package/docs/examples/w-panel-stripe_separate for slot content.html +1 -1
- package/docs/examples/w-panel-stripe_slot icon (fontawesome).html +1 -1
- package/docs/examples/w-panel-stripe_slot icon, slot title, slot description, slot content and slot footer.html +1 -1
- package/docs/examples/w-panel-stripe_table in slot content.html +1 -1
- package/docs/examples/w-panel-stripe_with grey outer.html +1 -1
- package/docs/examples/w-popup-edit-text_default.html +1 -1
- package/docs/examples/w-popup-edit-text_in table.html +1 -1
- package/docs/examples/w-popup-edit-text_minWidthForPopup.html +1 -1
- package/docs/examples/w-popup-edit-text_minWidthForValue.html +1 -1
- package/docs/examples/w-popup-edit-text_no title.html +1 -1
- package/docs/examples/w-popup-edit-text_title_contentIcon_contentIconColor_contentIconSize.html +1 -1
- package/docs/examples/w-popup-edit-text_title_footerBackgroundColor.html +1 -1
- package/docs/examples/w-popup-edit-text_title_inputTextColor_contentIconColor_contentBackgroundColor.html +1 -1
- package/docs/examples/w-popup-edit-text_title_saveBtnText_saveBtnTextColor_saveBtnTextColorHover.html +3 -2
- package/docs/examples/w-popup-edit-text_title_titleColor_titleFontSize_headerBackgroundColor.html +1 -1
- package/docs/examples/w-popup_auto flipping in dialog.html +1 -1
- package/docs/examples/w-popup_auto flipping in scroll panel.html +1 -1
- package/docs/examples/w-popup_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-popup_autoFitMinWidth.html +1 -1
- package/docs/examples/w-popup_backgroundColor.html +1 -1
- package/docs/examples/w-popup_borderRadius.html +1 -1
- package/docs/examples/w-popup_click item by latency hiding.html +1 -1
- package/docs/examples/w-popup_default.html +1 -1
- package/docs/examples/w-popup_in popup.html +1 -1
- package/docs/examples/w-popup_in scroll panel.html +1 -1
- package/docs/examples/w-popup_isolated.html +1 -1
- package/docs/examples/w-popup_maxWidth.html +1 -1
- package/docs/examples/w-popup_minWidth.html +1 -1
- package/docs/examples/w-popup_no shadow_backgroundColor.html +1 -1
- package/docs/examples/w-popup_not editable.html +1 -1
- package/docs/examples/w-popup_paddingStyle.html +1 -1
- package/docs/examples/w-popup_placement.html +1 -1
- package/docs/examples/w-popup_placementDist.html +1 -1
- package/docs/examples/w-popup_shadowStyle.html +1 -1
- package/docs/examples/w-popup_slot for table_maxWidth.html +1 -1
- package/docs/examples/w-popup_textColor_backgroundColor.html +1 -1
- package/docs/examples/w-popup_textFontSize.html +1 -1
- package/docs/examples/w-popup_transitionTime.html +1 -1
- package/docs/examples/w-progress-bar_decimal.html +1 -1
- package/docs/examples/w-progress-bar_default.html +1 -1
- package/docs/examples/w-progress-bar_enableContinuous.html +1 -1
- package/docs/examples/w-progress-bar_enableContinuous_continuousIncrease_continuousPeriod.html +1 -1
- package/docs/examples/w-progress-bar_enableContinuous_progColor_progBackgroundColor.html +1 -1
- package/docs/examples/w-progress-bar_enableIconFinish (no iconFinish).html +1 -1
- package/docs/examples/w-progress-bar_enableIconWaiting (no iconWaiting).html +1 -1
- package/docs/examples/w-progress-bar_height.html +1 -1
- package/docs/examples/w-progress-bar_height_borderRadius.html +1 -1
- package/docs/examples/w-progress-bar_iconFinish (fontawesome).html +1 -1
- package/docs/examples/w-progress-bar_iconFinishColor.html +1 -1
- package/docs/examples/w-progress-bar_iconSize.html +1 -1
- package/docs/examples/w-progress-bar_iconWaiting (fontawesome).html +1 -1
- package/docs/examples/w-progress-bar_iconWaitingColor.html +1 -1
- package/docs/examples/w-progress-bar_progColor.html +1 -1
- package/docs/examples/w-progress-bar_progColor_progBackgroundColor.html +1 -1
- package/docs/examples/w-progress-bar_title.html +1 -1
- package/docs/examples/w-progress-bar_title_titleTextColor.html +1 -1
- package/docs/examples/w-progress-bar_title_titleTextFontSize.html +1 -1
- package/docs/examples/w-progress-bar_value=0 (waiting).html +1 -1
- package/docs/examples/w-progress-bar_value=100 (finish).html +1 -1
- package/docs/examples/w-progress-bar_valueTextColor.html +1 -1
- package/docs/examples/w-progress-bar_valueTextFontSize.html +1 -1
- package/docs/examples/w-progress-circle_color.html +1 -1
- package/docs/examples/w-progress-circle_color_trackColor.html +1 -1
- package/docs/examples/w-progress-circle_color_trackColor_textColor.html +1 -1
- package/docs/examples/w-progress-circle_default.html +1 -1
- package/docs/examples/w-progress-circle_small size.html +1 -1
- package/docs/examples/w-progress-circle_tooltip.html +1 -1
- package/docs/examples/w-progress-circle_tooltip_tooltipBorderRadius.html +1 -1
- package/docs/examples/w-progress-circle_tooltip_tooltipPaddingStyle.html +1 -1
- package/docs/examples/w-progress-circle_tooltip_tooltipTextColor_tooltipBackgroundColor.html +1 -1
- package/docs/examples/w-progress-circle_tooltip_tooltipTextFontSize.html +1 -1
- package/docs/examples/w-progress-circle_very small size.html +1 -1
- package/docs/examples/w-progress-circle_width.html +1 -1
- package/docs/examples/w-progress-circle_/344/270/255/346/226/207text.html +1 -1
- package/docs/examples/w-quill-vue-dyn_default.html +1 -1
- package/docs/examples/w-quill-vue-dyn_height.html +1 -1
- package/docs/examples/w-quill-vue-dyn_not editable.html +1 -1
- package/docs/examples/w-quill-vue-dyn_settings.html +1 -1
- package/docs/examples/w-switch_checkedSwitchCircleColor_checkedSwitchCircleColorHover_checkedSwitchBarColor_checkedSwitchBarColorHover.html +1 -1
- package/docs/examples/w-switch_default.html +1 -1
- package/docs/examples/w-switch_not editable.html +1 -1
- package/docs/examples/w-switch_not editable_checkedSwitchCircleColorDisabled_checkedSwitchBarColorDisabled_uncheckedSwitchCircleColorDisabled.html +1 -1
- package/docs/examples/w-switch_switchSize_textFontSize.html +1 -1
- package/docs/examples/w-switch_text.html +1 -1
- package/docs/examples/w-switch_text_textColor_textColorHover.html +1 -1
- package/docs/examples/w-switch_uncheckedSwitchCircleColor_uncheckedSwitchCircleColorHover_uncheckedSwitchBarColor_uncheckedSwitchBarColorHover.html +1 -1
- package/docs/examples/w-switch_use string (y or n).html +1 -1
- package/docs/examples/w-table-dyn_default.html +1 -1
- package/docs/examples/w-table-dyn_editable.html +1 -1
- package/docs/examples/w-table-dyn_editable_checkId.html +1 -1
- package/docs/examples/w-table-dyn_editable_checkId_opt.modifyDataWhenSave_save(call cmp. method).html +1 -1
- package/docs/examples/w-table-dyn_editable_checkId_successMsgFromAddRow_errorMsgFromAddRow.html +1 -1
- package/docs/examples/w-table-dyn_editable_checkId_tooltipAddRow_tooltipDeleteSelectedRows.html +1 -1
- package/docs/examples/w-table-dyn_editable_inforPaddingStyle_menuBackgroundColor.html +1 -1
- package/docs/examples/w-table-dyn_editable_opt.beforeAddRow.html +1 -1
- package/docs/examples/w-table-dyn_editable_opt.kpConvertKeysWhenUploadData.html +1 -1
- package/docs/examples/w-table-dyn_editable_opt.optForUploadData.html +1 -1
- package/docs/examples/w-table-dyn_editable_slot btns.html +1 -1
- package/docs/examples/w-table-dyn_editable_textLabelDataName_textPlaceholderDataName_textLabelDataDescription.html +1 -1
- package/docs/examples/w-table-dyn_fixIds (fix id).html +1 -1
- package/docs/examples/w-table-dyn_hideIds (hide mappingId).html +1 -1
- package/docs/examples/w-table-dyn_name_description.html +1 -1
- package/docs/examples/w-table-dyn_opt.kpHead.html +1 -1
- package/docs/examples/w-table-dyn_removeIdsWhenDownload (remove id, mappingId, order, isActive).html +1 -1
- package/docs/examples/w-table-dyn_slot btns.html +1 -1
- package/docs/examples/w-table-dyn_slot infor (name_description).html +1 -1
- package/docs/examples/w-table-dyn_sortColIds (sort by order).html +1 -1
- package/docs/examples/w-text-int_borderRadius.html +1 -1
- package/docs/examples/w-text-int_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
- package/docs/examples/w-text-int_border_borderRadius.html +1 -1
- package/docs/examples/w-text-int_border_buttonColor_buttonColorHover_buttonColorFocus.html +1 -1
- package/docs/examples/w-text-int_border_default.html +1 -1
- package/docs/examples/w-text-int_border_not editable.html +1 -1
- package/docs/examples/w-text-int_border_width.html +1 -1
- package/docs/examples/w-text-int_buttonColor_buttonColorHover_buttonColorFocus.html +1 -1
- package/docs/examples/w-text-int_buttonIconSize.html +1 -1
- package/docs/examples/w-text-int_default.html +1 -1
- package/docs/examples/w-text-int_not editable.html +1 -1
- package/docs/examples/w-text-int_textColor.html +1 -1
- package/docs/examples/w-text-int_textFontSize.html +1 -1
- package/docs/examples/w-text-int_width.html +1 -1
- package/docs/examples/w-text-select_a lot of items.html +1 -1
- package/docs/examples/w-text-select_borderRadius.html +1 -1
- package/docs/examples/w-text-select_border_a lot of items.html +1 -1
- package/docs/examples/w-text-select_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
- package/docs/examples/w-text-select_border_borderRadius.html +1 -1
- package/docs/examples/w-text-select_border_default.html +1 -1
- package/docs/examples/w-text-select_border_events.html +1 -1
- package/docs/examples/w-text-select_border_expansionIconSize.html +1 -1
- package/docs/examples/w-text-select_border_fullwidth.html +1 -1
- package/docs/examples/w-text-select_border_itemPaddingStyle.html +1 -1
- package/docs/examples/w-text-select_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +1 -1
- package/docs/examples/w-text-select_border_itemTextFontSize_defItemHeight.html +1 -1
- package/docs/examples/w-text-select_border_items(string array).html +1 -1
- package/docs/examples/w-text-select_border_keyText.html +1 -1
- package/docs/examples/w-text-select_border_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-text-select_border_leftIcon (material).html +1 -1
- package/docs/examples/w-text-select_border_leftIcon_leftIconColor_leftIconColorHover.html +1 -1
- package/docs/examples/w-text-select_border_leftIcon_leftIconSize.html +1 -1
- package/docs/examples/w-text-select_border_maxHeight.html +1 -1
- package/docs/examples/w-text-select_border_maxWidth_autoFitMinWidth_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-text-select_border_minWidth_autoFitMinWidth_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-text-select_border_not editable.html +1 -1
- package/docs/examples/w-text-select_border_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-text-select_border_paddingStyle (thin style).html +1 -1
- package/docs/examples/w-text-select_border_rightIcon_rightIconColor_rightIconColorHover.html +1 -1
- package/docs/examples/w-text-select_border_rightIcon_rightIconSize.html +1 -1
- package/docs/examples/w-text-select_border_showExpansionIcon.html +1 -1
- package/docs/examples/w-text-select_border_slot item.html +1 -1
- package/docs/examples/w-text-select_border_slot select.html +1 -1
- package/docs/examples/w-text-select_border_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-text-select_border_textFontSize.html +1 -1
- package/docs/examples/w-text-select_border_with popup.html +1 -1
- package/docs/examples/w-text-select_default.html +1 -1
- package/docs/examples/w-text-select_events.html +1 -1
- package/docs/examples/w-text-select_expansionIconSize.html +1 -1
- package/docs/examples/w-text-select_fullwidth.html +1 -1
- package/docs/examples/w-text-select_itemPaddingStyle.html +1 -1
- package/docs/examples/w-text-select_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +1 -1
- package/docs/examples/w-text-select_itemTextFontSize_defItemHeight.html +1 -1
- package/docs/examples/w-text-select_items(string array).html +1 -1
- package/docs/examples/w-text-select_keyText.html +1 -1
- package/docs/examples/w-text-select_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-text-select_leftIcon (material).html +1 -1
- package/docs/examples/w-text-select_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +1 -1
- package/docs/examples/w-text-select_leftIcon_leftIconSize.html +1 -1
- package/docs/examples/w-text-select_maxHeight.html +1 -1
- package/docs/examples/w-text-select_maxWidth_autoFitMinWidth_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-text-select_minWidth_autoFitMinWidth_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-text-select_not editable.html +1 -1
- package/docs/examples/w-text-select_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-text-select_paddingStyle (thin style).html +1 -1
- package/docs/examples/w-text-select_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +1 -1
- package/docs/examples/w-text-select_rightIcon_rightIconSize.html +1 -1
- package/docs/examples/w-text-select_showExpansionIcon.html +1 -1
- package/docs/examples/w-text-select_slot item.html +1 -1
- package/docs/examples/w-text-select_slot select.html +1 -1
- package/docs/examples/w-text-select_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-text-select_textFontSize.html +1 -1
- package/docs/examples/w-text-select_with popup.html +1 -1
- package/docs/examples/w-text-suggest_a lot of items.html +1 -1
- package/docs/examples/w-text-suggest_borderRadius.html +1 -1
- package/docs/examples/w-text-suggest_border_a lot of items.html +1 -1
- package/docs/examples/w-text-suggest_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
- package/docs/examples/w-text-suggest_border_borderRadius.html +1 -1
- package/docs/examples/w-text-suggest_border_default.html +1 -1
- package/docs/examples/w-text-suggest_border_events.html +1 -1
- package/docs/examples/w-text-suggest_border_expansionIconSize.html +1 -1
- package/docs/examples/w-text-suggest_border_fullwidth.html +1 -1
- package/docs/examples/w-text-suggest_border_itemPaddingStyle.html +1 -1
- package/docs/examples/w-text-suggest_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +1 -1
- package/docs/examples/w-text-suggest_border_itemTextFontSize_defItemHeight.html +1 -1
- package/docs/examples/w-text-suggest_border_items(string array).html +1 -1
- package/docs/examples/w-text-suggest_border_keyText.html +1 -1
- package/docs/examples/w-text-suggest_border_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-text-suggest_border_leftIcon (material).html +1 -1
- package/docs/examples/w-text-suggest_border_leftIcon_leftIconColor_leftIconColorHover.html +1 -1
- package/docs/examples/w-text-suggest_border_leftIcon_leftIconSize.html +1 -1
- package/docs/examples/w-text-suggest_border_noResultsText.html +1 -1
- package/docs/examples/w-text-suggest_border_not editable.html +1 -1
- package/docs/examples/w-text-suggest_border_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-text-suggest_border_paddingStyle (thin style).html +1 -1
- package/docs/examples/w-text-suggest_border_placeholder.html +1 -1
- package/docs/examples/w-text-suggest_border_rightIcon_rightIconColor_rightIconColorHover.html +1 -1
- package/docs/examples/w-text-suggest_border_rightIcon_rightIconSize.html +1 -1
- package/docs/examples/w-text-suggest_border_showExpansionIcon.html +1 -1
- package/docs/examples/w-text-suggest_border_showPanel(press enter to hide panel)_focused.html +1 -1
- package/docs/examples/w-text-suggest_border_slot item.html +1 -1
- package/docs/examples/w-text-suggest_border_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-text-suggest_border_textFontSize.html +1 -1
- package/docs/examples/w-text-suggest_border_with popup.html +1 -1
- package/docs/examples/w-text-suggest_default.html +1 -1
- package/docs/examples/w-text-suggest_events.html +1 -1
- package/docs/examples/w-text-suggest_expansionIconSize.html +1 -1
- package/docs/examples/w-text-suggest_fullwidth.html +1 -1
- package/docs/examples/w-text-suggest_itemPaddingStyle.html +1 -1
- package/docs/examples/w-text-suggest_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +1 -1
- package/docs/examples/w-text-suggest_itemTextFontSize_defItemHeight.html +1 -1
- package/docs/examples/w-text-suggest_items(string array).html +1 -1
- package/docs/examples/w-text-suggest_keyText.html +1 -1
- package/docs/examples/w-text-suggest_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-text-suggest_leftIcon (material).html +1 -1
- package/docs/examples/w-text-suggest_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +1 -1
- package/docs/examples/w-text-suggest_leftIcon_leftIconSize.html +1 -1
- package/docs/examples/w-text-suggest_maxHeight.html +1 -1
- package/docs/examples/w-text-suggest_maxWidth_autoFitMinWidth_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-text-suggest_minWidth_autoFitMinWidth_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-text-suggest_noResultsText.html +1 -1
- package/docs/examples/w-text-suggest_not editable.html +1 -1
- package/docs/examples/w-text-suggest_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-text-suggest_paddingStyle (thin style).html +1 -1
- package/docs/examples/w-text-suggest_placeholder.html +1 -1
- package/docs/examples/w-text-suggest_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +1 -1
- package/docs/examples/w-text-suggest_rightIcon_rightIconSize.html +1 -1
- package/docs/examples/w-text-suggest_showExpansionIcon.html +1 -1
- package/docs/examples/w-text-suggest_showPanel(press enter to hide panel)_focused.html +1 -1
- package/docs/examples/w-text-suggest_slot item.html +1 -1
- package/docs/examples/w-text-suggest_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-text-suggest_textFontSize.html +1 -1
- package/docs/examples/w-text-suggest_with popup.html +1 -1
- package/docs/examples/w-text_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
- package/docs/examples/w-text_border_borderRadius_paddingStyle.html +1 -1
- package/docs/examples/w-text_border_default.html +1 -1
- package/docs/examples/w-text_border_events.html +1 -1
- package/docs/examples/w-text_border_fullwidth.html +1 -1
- package/docs/examples/w-text_border_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-text_border_leftIcon (material).html +1 -1
- package/docs/examples/w-text_border_leftIcon_leftIconColor_leftIconColorHover.html +1 -1
- package/docs/examples/w-text_border_not editable.html +1 -1
- package/docs/examples/w-text_border_placeholder.html +1 -1
- package/docs/examples/w-text_border_rightIcon_rightIconColor_rightIconColorHover.html +1 -1
- package/docs/examples/w-text_border_textAlign.html +1 -1
- package/docs/examples/w-text_border_textColor.html +1 -1
- package/docs/examples/w-text_bottomLineBorderColor_bottomLineBorderColorHover_bottomLineBorderColorFocus.html +1 -1
- package/docs/examples/w-text_default.html +1 -1
- package/docs/examples/w-text_events.html +1 -1
- package/docs/examples/w-text_fullwidth.html +1 -1
- package/docs/examples/w-text_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-text_leftIcon (material).html +1 -1
- package/docs/examples/w-text_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +1 -1
- package/docs/examples/w-text_leftIcon_leftIconSize.html +1 -1
- package/docs/examples/w-text_leftIcon_leftIconTooltip.html +1 -1
- package/docs/examples/w-text_not editable.html +1 -1
- package/docs/examples/w-text_placeholder.html +1 -1
- package/docs/examples/w-text_rightIcon.html +1 -1
- package/docs/examples/w-text_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +1 -1
- package/docs/examples/w-text_rightIcon_rightIconSize.html +1 -1
- package/docs/examples/w-text_rightIcon_rightIconTooltip.html +1 -1
- package/docs/examples/w-text_textAlign.html +1 -1
- package/docs/examples/w-text_textColor.html +1 -1
- package/docs/examples/w-text_textFontSize.html +1 -1
- package/docs/examples/w-textarea_borderColorFocus.html +1 -1
- package/docs/examples/w-textarea_default.html +1 -1
- package/docs/examples/w-textarea_fullwidth.html +1 -1
- package/docs/examples/w-textarea_not editable.html +1 -1
- package/docs/examples/w-textarea_placeholder.html +1 -1
- package/docs/examples/w-timeday-range_between.html +1 -1
- package/docs/examples/w-timeday-range_borderRadius.html +1 -1
- package/docs/examples/w-timeday-range_border_between.html +1 -1
- package/docs/examples/w-timeday-range_border_borderRadius.html +1 -1
- package/docs/examples/w-timeday-range_border_default.html +1 -1
- package/docs/examples/w-timeday-range_border_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeday-range_border_icon (material).html +1 -1
- package/docs/examples/w-timeday-range_border_iconColor_iconColorFoucs_borderColor.html +1 -1
- package/docs/examples/w-timeday-range_border_iconTooltip.html +1 -1
- package/docs/examples/w-timeday-range_border_not editable.html +1 -1
- package/docs/examples/w-timeday-range_border_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeday-range_border_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeday-range_border_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeday-range_border_pickColor.html +1 -1
- package/docs/examples/w-timeday-range_border_textColor.html +1 -1
- package/docs/examples/w-timeday-range_default.html +1 -1
- package/docs/examples/w-timeday-range_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeday-range_icon (material).html +1 -1
- package/docs/examples/w-timeday-range_iconColor_iconColorFoucs.html +1 -1
- package/docs/examples/w-timeday-range_iconTooltip.html +1 -1
- package/docs/examples/w-timeday-range_icon_iconSize_placementDist.html +1 -1
- package/docs/examples/w-timeday-range_not editable.html +1 -1
- package/docs/examples/w-timeday-range_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeday-range_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeday-range_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeday-range_pickColor.html +1 -1
- package/docs/examples/w-timeday-range_textColor.html +1 -1
- package/docs/examples/w-timeday_borderRadius.html +1 -1
- package/docs/examples/w-timeday_border_borderRadius.html +1 -1
- package/docs/examples/w-timeday_border_default.html +1 -1
- package/docs/examples/w-timeday_border_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeday_border_icon (material).html +1 -1
- package/docs/examples/w-timeday_border_iconColor_iconColorFoucs_borderColor.html +1 -1
- package/docs/examples/w-timeday_border_iconTooltip.html +1 -1
- package/docs/examples/w-timeday_border_not editable.html +1 -1
- package/docs/examples/w-timeday_border_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeday_border_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeday_border_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeday_border_pickColor.html +1 -1
- package/docs/examples/w-timeday_border_textColor.html +1 -1
- package/docs/examples/w-timeday_default.html +1 -1
- package/docs/examples/w-timeday_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeday_icon (material).html +1 -1
- package/docs/examples/w-timeday_iconColor_iconColorFoucs.html +1 -1
- package/docs/examples/w-timeday_iconTooltip.html +1 -1
- package/docs/examples/w-timeday_icon_iconSize_placementDist.html +1 -1
- package/docs/examples/w-timeday_not editable.html +1 -1
- package/docs/examples/w-timeday_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeday_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeday_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeday_pickColor.html +1 -1
- package/docs/examples/w-timeday_textColor.html +1 -1
- package/docs/examples/w-timeminute-range_between.html +1 -1
- package/docs/examples/w-timeminute-range_borderRadius.html +1 -1
- package/docs/examples/w-timeminute-range_border_between.html +1 -1
- package/docs/examples/w-timeminute-range_border_borderRadius.html +1 -1
- package/docs/examples/w-timeminute-range_border_default.html +1 -1
- package/docs/examples/w-timeminute-range_border_hourMin_hourMax.html +1 -1
- package/docs/examples/w-timeminute-range_border_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeminute-range_border_icon (material).html +1 -1
- package/docs/examples/w-timeminute-range_border_iconColor_iconColorFoucs_borderColor.html +1 -1
- package/docs/examples/w-timeminute-range_border_iconTooltip.html +1 -1
- package/docs/examples/w-timeminute-range_border_minuteInter.html +1 -1
- package/docs/examples/w-timeminute-range_border_minutesCustom.html +1 -1
- package/docs/examples/w-timeminute-range_border_not editable.html +1 -1
- package/docs/examples/w-timeminute-range_border_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeminute-range_border_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeminute-range_border_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeminute-range_border_pickColor.html +1 -1
- package/docs/examples/w-timeminute-range_border_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-timeminute-range_default.html +1 -1
- package/docs/examples/w-timeminute-range_hourMin_hourMax.html +1 -1
- package/docs/examples/w-timeminute-range_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeminute-range_icon (material).html +1 -1
- package/docs/examples/w-timeminute-range_iconColor_iconColorFoucs.html +1 -1
- package/docs/examples/w-timeminute-range_iconTooltip.html +1 -1
- package/docs/examples/w-timeminute-range_icon_iconSize_placementDist.html +1 -1
- package/docs/examples/w-timeminute-range_minuteInter.html +1 -1
- package/docs/examples/w-timeminute-range_minutesCustom.html +1 -1
- package/docs/examples/w-timeminute-range_not editable.html +1 -1
- package/docs/examples/w-timeminute-range_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeminute-range_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeminute-range_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeminute-range_pickColor.html +1 -1
- package/docs/examples/w-timeminute-range_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-timeminute_borderRadius.html +1 -1
- package/docs/examples/w-timeminute_border_borderRadius.html +1 -1
- package/docs/examples/w-timeminute_border_default.html +1 -1
- package/docs/examples/w-timeminute_border_hourMin_hourMax.html +1 -1
- package/docs/examples/w-timeminute_border_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeminute_border_icon (material).html +1 -1
- package/docs/examples/w-timeminute_border_iconColor_iconColorFoucs_borderColor.html +1 -1
- package/docs/examples/w-timeminute_border_iconTooltip.html +1 -1
- package/docs/examples/w-timeminute_border_minuteInter.html +1 -1
- package/docs/examples/w-timeminute_border_minutesCustom.html +1 -1
- package/docs/examples/w-timeminute_border_not editable.html +1 -1
- package/docs/examples/w-timeminute_border_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeminute_border_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeminute_border_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeminute_border_pickColor.html +1 -1
- package/docs/examples/w-timeminute_border_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-timeminute_default.html +1 -1
- package/docs/examples/w-timeminute_hourMin_hourMax.html +1 -1
- package/docs/examples/w-timeminute_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeminute_icon (material).html +1 -1
- package/docs/examples/w-timeminute_iconColor_iconColorFoucs.html +1 -1
- package/docs/examples/w-timeminute_iconTooltip.html +1 -1
- package/docs/examples/w-timeminute_icon_iconSize_placementDist.html +1 -1
- package/docs/examples/w-timeminute_minuteInter.html +1 -1
- package/docs/examples/w-timeminute_minutesCustom.html +1 -1
- package/docs/examples/w-timeminute_not editable.html +1 -1
- package/docs/examples/w-timeminute_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeminute_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeminute_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeminute_pickColor.html +1 -1
- package/docs/examples/w-timeminute_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-tinymce-vue-dyn_default.html +1 -1
- package/docs/examples/w-tinymce-vue-dyn_height.html +1 -1
- package/docs/examples/w-tinymce-vue-dyn_not editable.html +1 -1
- package/docs/examples/w-tinymce-vue-dyn_settings.html +1 -1
- package/docs/examples/w-tooltip_auto flipping in dialog.html +1 -1
- package/docs/examples/w-tooltip_auto flipping in popup.html +1 -1
- package/docs/examples/w-tooltip_auto flipping in scroll panel.html +1 -1
- package/docs/examples/w-tooltip_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-tooltip_autoFitMinWidth.html +1 -1
- package/docs/examples/w-tooltip_backgroundColor.html +1 -1
- package/docs/examples/w-tooltip_borderRadius.html +1 -1
- package/docs/examples/w-tooltip_default.html +1 -1
- package/docs/examples/w-tooltip_in scroll panel.html +1 -1
- package/docs/examples/w-tooltip_maxWidth.html +1 -1
- package/docs/examples/w-tooltip_minWidth.html +1 -1
- package/docs/examples/w-tooltip_no shadow_backgroundColor.html +1 -1
- package/docs/examples/w-tooltip_not editable.html +1 -1
- package/docs/examples/w-tooltip_paddingStyle.html +1 -1
- package/docs/examples/w-tooltip_placement.html +1 -1
- package/docs/examples/w-tooltip_placementDist.html +1 -1
- package/docs/examples/w-tooltip_scroll in large zone.html +1 -1
- package/docs/examples/w-tooltip_shadowStyle.html +1 -1
- package/docs/examples/w-tooltip_slot for table_maxWidth.html +1 -1
- package/docs/examples/w-tooltip_textColor_backgroundColor.html +1 -1
- package/docs/examples/w-tooltip_textFontSize.html +1 -1
- package/docs/examples/w-tooltip_transitionTime.html +1 -1
- package/docs/examples/w-tree_activable_itemActive.html +12 -2
- package/docs/examples/w-tree_activable_itemActive_funActive.html +12 -2
- package/docs/examples/w-tree_activable_itemActive_itemTextColor_itemTextColorHover.html +12 -2
- package/docs/examples/w-tree_default.html +12 -2
- package/docs/examples/w-tree_defaultDisplayLevel.html +12 -2
- package/docs/examples/w-tree_draggable.html +15 -3
- package/docs/examples/w-tree_draggable_dgInsertLineColor_dgInsertBackgroundColor_dgBelongBackgroundColor.html +13 -3
- package/docs/examples/w-tree_draggable_dgPreviewOpacity_dgPreviewBorderWidth_dgBelongBackgroundColor.html +13 -3
- package/docs/examples/w-tree_draggable_dgTextDisabled_dgTextDisabledColor_dgTextDisabledPaddingLeft.html +13 -3
- package/docs/examples/w-tree_events.html +14 -2
- package/docs/examples/w-tree_filterKeywords_filterFunction.html +12 -2
- package/docs/examples/w-tree_filterKeywords_noResultsText.html +12 -2
- package/docs/examples/w-tree_filterKeywords_noResultsText_selectable.html +12 -2
- package/docs/examples/w-tree_iconSize(20).html +12 -2
- package/docs/examples/w-tree_iconSize(20)_defItemHeight(24).html +12 -2
- package/docs/examples/w-tree_iconSize(30)_defItemHeight(36).html +12 -2
- package/docs/examples/w-tree_iconToggleColor_iconToggleBackgroundColor_iconToggleBackgroundColorHover.html +12 -2
- package/docs/examples/w-tree_indent.html +12 -2
- package/docs/examples/w-tree_itemRippleColor.html +12 -2
- package/docs/examples/w-tree_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +12 -2
- package/docs/examples/w-tree_keyPrimary_keyText_keyChildren.html +12 -2
- package/docs/examples/w-tree_no viewHeightMax.html +12 -2
- package/docs/examples/w-tree_operatable.html +14 -2
- package/docs/examples/{w-tree_operatable_operateBtnTooltip_operateItemTextForInsertBefore_perateItemTextForInsertChild.html → w-tree_operatable_draggable.html} +17 -11
- package/docs/examples/w-tree_operatable_editorRenameCancelBtnBackgroundColor_editorRenameCancelBtnBackgroundColorHover.html +699 -0
- package/docs/examples/w-tree_operatable_editorRenameCancelBtnIcon_editorRenameCancelBtnIconSize_editorRenameCancelBtnIconColor.html +702 -0
- package/docs/examples/w-tree_operatable_editorRenameCancelBtnText_editorRenameCancelBtnTextColor_editorRenameCancelBtnTextColorHover.html +700 -0
- package/docs/examples/w-tree_operatable_editorRenameContentBackgroundColor_editorRenameFooterBackgroundColor.html +699 -0
- package/docs/examples/w-tree_operatable_editorRenameInputTextColor_editorRenameInputTextBottomLineBorderColor_editorRenameInputTextBottomLineBorderColorHover.html +701 -0
- package/docs/examples/w-tree_operatable_editorRenameSaveBtnBackgroundColor_editorRenameSaveBtnBackgroundColorHover.html +699 -0
- package/docs/examples/w-tree_operatable_editorRenameSaveBtnIcon_editorRenameSaveBtnIconSize_editorRenameSaveBtnIconColor.html +702 -0
- package/docs/examples/w-tree_operatable_editorRenameSaveBtnText_editorRenameSaveBtnTextColor_editorRenameSaveBtnTextColorHover.html +700 -0
- package/docs/examples/{w-tree_operatable_operateItemIconSize_operateItemPaddingStyle_operatePanelWidth.html → w-tree_operatable_funOperateItem.html} +14 -9
- package/docs/examples/w-tree_operatable_operateBtnBackgroundColor_operateBtnBackgroundColorHover_operateBtnBackgroundColorFocus.html +12 -2
- package/docs/examples/w-tree_operatable_operateBtnTooltip_operateItemTextForRename_operateItemTextForInsertBefore.html +701 -0
- package/docs/examples/w-tree_operatable_operateItemBackgroundColor_operateItemBackgroundColorHover_operateItemTextColor.html +12 -2
- package/docs/examples/w-tree_operatable_operateItemHeight_operateItemIconSize_operateItemPaddingStyle.html +698 -0
- package/docs/examples/w-tree_operatable_operateItemIconForRename_operateItemIconForInsertBefore_operateItemIconForInsertChild.html +700 -0
- package/docs/examples/w-tree_operatable_operatePanelWidth_operatePanelHeight_operateItemIconSize.html +699 -0
- package/docs/examples/w-tree_paddingStyle.html +12 -2
- package/docs/examples/w-tree_selectable.html +12 -2
- package/docs/examples/w-tree_selectable_draggable.html +13 -3
- package/docs/examples/w-tree_slot.html +12 -2
- package/docs/examples/w-tree_slot_edit-text.html +699 -0
- package/docs/examples/w-tree_slot_iconUncheckedColor_iconUncheckedDisabledColor_iconCheckedColor.html +12 -2
- package/docs/examples/w-tree_slot_locked_selectable.html +12 -2
- package/docs/examples/w-tree_slot_operatable.html +12 -2
- package/docs/examples/w-tree_slot_selectable.html +12 -2
- package/docs/examples/w-tree_slot_selectable_draggable.html +13 -3
- package/docs/examples/w-tree_slot_selectable_iconSize(20)_defItemHeight(24).html +12 -2
- package/docs/examples/w-tree_slot_selectable_large data (100,000 items).html +12 -2
- package/docs/examples/w-tree_toggleItemsAll.html +12 -2
- package/docs/examples/w-tree_toggleItemsByFun.html +12 -2
- package/docs/examples/w-tree_viewHeightMax.html +12 -2
- package/docs/global.html +1 -1
- 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 +749 -5
- package/docs/module-WGroupBaggage.html +1 -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-WInputCheckbox.html +1 -1
- package/docs/module-WInputRadio.html +1 -1
- package/docs/module-WJsonView.html +1 -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 +9 -9
- 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-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-WTooltip.html +1 -1
- package/docs/module-WTree.html +423 -15
- package/docs/module-WTreeIconCheckbox.html +1 -1
- package/docs/module-WTreeIconToggle.html +1 -1
- package/docs/vuetifyColor.mjs.html +1 -1
- package/package.json +2 -2
- package/src/AppZoneWExplorer.vue +551 -54
- package/src/AppZoneWPopupEditText.vue +2 -1
- package/src/AppZoneWTree.vue +330 -11
- package/src/components/Teleport.vue +73 -0
- package/src/components/WAggridVueDyn.vue +1 -1
- package/src/components/WComponentVue.vue +2 -0
- package/src/components/WDynamicList.vue +87 -71
- package/src/components/WExplorer.vue +709 -57
- package/src/components/WPopupEditText.vue +8 -6
- package/src/components/WTooltip.vue +100 -89
- package/src/components/WTree.vue +813 -120
- package/src/js/convertToTreeWk.wk.umd.js +1 -1
- package/src/js/filepathToTreeWk.mjs +7 -0
- package/src/js/filepathToTreeWk.wk.umd.js +1 -0
- package/src/js/flattenTreeWk.mjs +7 -0
- package/src/js/flattenTreeWk.wk.umd.js +1 -0
- package/toolg/gDistRollupWorkerFuncs.mjs +29 -0
package/src/components/WTree.vue
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
:searchingText="searchingText"
|
|
20
20
|
:show="show"
|
|
21
21
|
@render="(msg)=>{$emit('render',msg)}"
|
|
22
|
-
@change-view-items="(msg)=>{
|
|
22
|
+
@change-view-items="(msg)=>{updateOperateShow(false);$emit('change-view-items',msg)}"
|
|
23
23
|
@change-height-of-items="(msg)=>{updateViewHeightMaxTrans(msg);$emit('change-height-of-items',msg)}"
|
|
24
24
|
>
|
|
25
25
|
<template v-slot="props">
|
|
@@ -28,9 +28,14 @@
|
|
|
28
28
|
<!-- 要把原生拖曳功能關閉draggable=false -->
|
|
29
29
|
<div
|
|
30
30
|
:key="`wt-${props.index}`"
|
|
31
|
-
:style="`
|
|
31
|
+
:style="`
|
|
32
|
+
transition:all 0.3s; ${draggable?'user-select:none;':''}
|
|
33
|
+
${getUseActivable(props)?'cursor:pointer;':''}
|
|
34
|
+
color:${getTextColor(props.row.item)};
|
|
35
|
+
background:${getBackgroundColor(props.row.item)};
|
|
36
|
+
`"
|
|
32
37
|
:dragindex="props.index"
|
|
33
|
-
v-domdragdrop="
|
|
38
|
+
v-domdragdrop="useDraggable?getDgOpt():null"
|
|
34
39
|
v-domripple="{color:itemRippleColor}"
|
|
35
40
|
@domdragdrop="dragdrop"
|
|
36
41
|
draggable="false"
|
|
@@ -117,10 +122,18 @@
|
|
|
117
122
|
|
|
118
123
|
</div>
|
|
119
124
|
|
|
120
|
-
<div
|
|
125
|
+
<div
|
|
126
|
+
style="position:absolute; top:2px; right:8px;"
|
|
127
|
+
v-if="getUseOperatable(props)"
|
|
128
|
+
@mousedown="(ev)=>{operateDisableEvent(ev,'mousedown')}"
|
|
129
|
+
@touchstart="(ev)=>{operateDisableEvent(ev,'touchstart')}"
|
|
130
|
+
@click="(ev)=>{operateDisableEvent(ev,'click')}"
|
|
131
|
+
>
|
|
121
132
|
|
|
122
133
|
<WPopup
|
|
123
134
|
:isolated="true"
|
|
135
|
+
@show="operateDisplayEvent('show')"
|
|
136
|
+
@hide="operateDisplayEvent('hide')"
|
|
124
137
|
>
|
|
125
138
|
|
|
126
139
|
<template v-slot:trigger>
|
|
@@ -137,8 +150,8 @@
|
|
|
137
150
|
<template v-slot:content="propsOperate">
|
|
138
151
|
<!-- 因位於WDynamicList內位置太複雜popup.js無法順利計算寬高, 得由外部指定寬高 -->
|
|
139
152
|
<WListVertical
|
|
140
|
-
:style="
|
|
141
|
-
:items="
|
|
153
|
+
:style="`${getOperatePanelHeight(props)} width:${operatePanelWidth}px;`"
|
|
154
|
+
:items="getUseOperateItems(props)"
|
|
142
155
|
:itemTextFontSize="'0.8rem'"
|
|
143
156
|
:useActive="false"
|
|
144
157
|
:paddingStyle="operateItemPaddingStyle"
|
|
@@ -150,12 +163,12 @@
|
|
|
150
163
|
:itemIconColor="operateItemIconColor"
|
|
151
164
|
:itemIconColorHover="operateItemIconColorHover"
|
|
152
165
|
@click="(item)=>{propsOperate.funHide();clickOperateItem({opItem:item,rowItem:props})}"
|
|
166
|
+
@mousedown.stop=""
|
|
153
167
|
></WListVertical>
|
|
154
168
|
</template>
|
|
155
169
|
|
|
156
170
|
</WPopup>
|
|
157
171
|
|
|
158
|
-
|
|
159
172
|
</div>
|
|
160
173
|
|
|
161
174
|
</div>
|
|
@@ -189,11 +202,76 @@
|
|
|
189
202
|
</template>
|
|
190
203
|
</div>
|
|
191
204
|
|
|
205
|
+
<Teleport to="body">
|
|
206
|
+
<WDialog
|
|
207
|
+
:show.sync="editorShow"
|
|
208
|
+
:minWidth="300"
|
|
209
|
+
:maxWidth="300"
|
|
210
|
+
>
|
|
211
|
+
|
|
212
|
+
<template v-slot:panel>
|
|
213
|
+
|
|
214
|
+
<div :style="`padding:20px; border-bottom:1px solid #ddd; background:${useEditorContentBackgroundColor};`">
|
|
215
|
+
|
|
216
|
+
<div style="width:100%;">
|
|
217
|
+
<WText
|
|
218
|
+
:textColor="editorRenameInputTextColor"
|
|
219
|
+
:bottomLineBorderColor="editorRenameInputTextBottomLineBorderColor"
|
|
220
|
+
:bottomLineBorderColorHover="editorRenameInputTextBottomLineBorderColorHover"
|
|
221
|
+
:bottomLineBorderColorFocus="editorRenameInputTextBottomLineBorderColorFocus"
|
|
222
|
+
v-model="editorRenameInputText"
|
|
223
|
+
@enter="saveRename"
|
|
224
|
+
></WText>
|
|
225
|
+
</div>
|
|
226
|
+
|
|
227
|
+
</div>
|
|
228
|
+
|
|
229
|
+
<div :style="`padding:10px; background:${useEditorFooterBackgroundColor}; display:flex; justify-content:flex-end;`">
|
|
230
|
+
|
|
231
|
+
<WButtonChip
|
|
232
|
+
:shiftLeft="-5"
|
|
233
|
+
:icon="editorRenameCancelBtnIcon"
|
|
234
|
+
:iconColor="editorRenameCancelBtnIconColor"
|
|
235
|
+
:iconColorHover="editorRenameCancelBtnIconColorHover"
|
|
236
|
+
:iconSize="editorRenameCancelBtnIconSize"
|
|
237
|
+
:text="editorRenameCancelBtnText"
|
|
238
|
+
:textColor="editorRenameCancelBtnTextColor"
|
|
239
|
+
:textColorHover="editorRenameCancelBtnTextColorHover"
|
|
240
|
+
:backgroundColor="editorRenameCancelBtnBackgroundColor"
|
|
241
|
+
:backgroundColorHover="editorRenameCancelBtnBackgroundColorHover"
|
|
242
|
+
:rippleColor="editorRenameCancelBtnIconRippleColor"
|
|
243
|
+
@click="cancelEditor"
|
|
244
|
+
></WButtonChip>
|
|
245
|
+
|
|
246
|
+
<div style="padding-left:10px;"></div>
|
|
247
|
+
|
|
248
|
+
<WButtonChip
|
|
249
|
+
:shiftLeft="-5"
|
|
250
|
+
:icon="editorRenameSaveBtnIcon"
|
|
251
|
+
:iconColor="editorRenameSaveBtnIconColor"
|
|
252
|
+
:iconColorHover="editorRenameSaveBtnIconColorHover"
|
|
253
|
+
:iconSize="editorRenameSaveBtnIconSize"
|
|
254
|
+
:text="editorRenameSaveBtnText"
|
|
255
|
+
:textColor="editorRenameSaveBtnTextColor"
|
|
256
|
+
:textColorHover="editorRenameSaveBtnTextColorHover"
|
|
257
|
+
:backgroundColor="editorRenameSaveBtnBackgroundColor"
|
|
258
|
+
:backgroundColorHover="editorRenameSaveBtnBackgroundColorHover"
|
|
259
|
+
:rippleColor="editorRenameSaveBtnIconRippleColor"
|
|
260
|
+
@click="saveRename"
|
|
261
|
+
></WButtonChip>
|
|
262
|
+
|
|
263
|
+
</div>
|
|
264
|
+
|
|
265
|
+
</template>
|
|
266
|
+
|
|
267
|
+
</WDialog>
|
|
268
|
+
</Teleport>
|
|
269
|
+
|
|
192
270
|
</div>
|
|
193
271
|
</template>
|
|
194
272
|
|
|
195
273
|
<script>
|
|
196
|
-
import { mdiDotsVertical, mdiFormatVerticalAlignTop, mdiFormatHorizontalAlignRight, mdiFormatVerticalAlignBottom, mdiClose } from '@mdi/js/mdi.js'
|
|
274
|
+
import { mdiDotsVertical, mdiRenameOutline, mdiFormatVerticalAlignTop, mdiFormatHorizontalAlignRight, mdiFormatVerticalAlignBottom, mdiClose, mdiCloseCircleOutline, mdiCloudUploadOutline } from '@mdi/js/mdi.js'
|
|
197
275
|
import each from 'lodash/each'
|
|
198
276
|
import get from 'lodash/get'
|
|
199
277
|
import set from 'lodash/set'
|
|
@@ -213,6 +291,7 @@ import cloneDeep from 'lodash/cloneDeep'
|
|
|
213
291
|
import isInteger from 'lodash/isInteger'
|
|
214
292
|
import dropRight from 'lodash/dropRight'
|
|
215
293
|
import genID from 'wsemi/src/genID.mjs'
|
|
294
|
+
import genPm from 'wsemi/src/genPm.mjs'
|
|
216
295
|
import sep from 'wsemi/src/sep.mjs'
|
|
217
296
|
import isarr from 'wsemi/src/isarr.mjs'
|
|
218
297
|
import isobj from 'wsemi/src/isobj.mjs'
|
|
@@ -225,12 +304,10 @@ import ispm from 'wsemi/src/ispm.mjs'
|
|
|
225
304
|
import cint from 'wsemi/src/cint.mjs'
|
|
226
305
|
import cdbl from 'wsemi/src/cdbl.mjs'
|
|
227
306
|
import cstr from 'wsemi/src/cstr.mjs'
|
|
228
|
-
// import replace from 'wsemi/src/replace.mjs'
|
|
229
307
|
import haskey from 'wsemi/src/haskey.mjs'
|
|
230
|
-
import genPm from 'wsemi/src/genPm.mjs'
|
|
231
308
|
import waitFun from 'wsemi/src/waitFun.mjs'
|
|
232
309
|
import debounce from 'wsemi/src/debounce.mjs'
|
|
233
|
-
import
|
|
310
|
+
import flattenTreeWk from '../js/flattenTreeWk.wk.umd.js'
|
|
234
311
|
import globalMemory from '../js/globalMemory.mjs'
|
|
235
312
|
import parseSpace from '../js/parseSpace.mjs'
|
|
236
313
|
import color2hex from '../js/vuetifyColor.mjs'
|
|
@@ -238,10 +315,14 @@ import domDragDrop from '../js/domDragDrop.mjs'
|
|
|
238
315
|
import domRipple from '../js/domRipple.mjs'
|
|
239
316
|
import WDynamicList from './WDynamicList.vue'
|
|
240
317
|
import WButtonCircle from './WButtonCircle.vue'
|
|
318
|
+
import WButtonChip from './WButtonChip.vue'
|
|
319
|
+
import WText from './WText.vue'
|
|
241
320
|
import WPopup from './WPopup.vue'
|
|
321
|
+
import WDialog from './WDialog.vue'
|
|
242
322
|
import WListVertical from './WListVertical.vue'
|
|
243
323
|
import WTreeIconToggle from './WTreeIconToggle.vue'
|
|
244
324
|
import WTreeIconCheckbox from './WTreeIconCheckbox.vue'
|
|
325
|
+
import Teleport from './Teleport.vue'
|
|
245
326
|
|
|
246
327
|
|
|
247
328
|
//gm
|
|
@@ -253,7 +334,7 @@ let gm = globalMemory()
|
|
|
253
334
|
* @vue-prop {Number} [viewHeightMax=400] 輸入顯示區最大高度,單位為px,若給予非數字則自動依照當前顯隱最高內容調整,預設400
|
|
254
335
|
* @vue-prop {Number} [defaultDisplayLevel=null] 輸入初始展開層數數字,若輸入1就是預設展開至第1層,第2層(含)以下則都隱藏,若輸入null就是全展開,預設null
|
|
255
336
|
* @vue-prop {Boolean} [activable=false] 輸入是否使用主動模式布林值,預設false
|
|
256
|
-
* @vue-prop {Function} [funActive=null]
|
|
337
|
+
* @vue-prop {Function} [funActive=null] 輸入主動模式時處理點擊項目函數,回傳true時代表點擊項目給予主動模式,回傳false代表點擊項目不給予主動模式,可應用於資料夾與有效項目之區隔,預設null
|
|
257
338
|
* @vue-prop {Object} [itemActive={}] 輸入主動模式時外部給予主動模式項目物件,物件內至少要給予keyPrimary鍵值方能進行識別,預設{}
|
|
258
339
|
* @vue-prop {Boolean} [selectable=false] 輸入是否具有勾選模式布林值,預設false
|
|
259
340
|
* @vue-prop {Array} [selections=[]] 輸入勾選項目陣列,當selectable=true時才可使用,預設[]
|
|
@@ -298,28 +379,62 @@ let gm = globalMemory()
|
|
|
298
379
|
* @vue-prop {String} [dgBelongBackgroundColor='rgba(80,150,255,0.3)'] 輸入拖曳時顯示插入區域(成為目標的子節點)背景顏色字串,預設'rgba(80,150,255,0.3)'
|
|
299
380
|
* @vue-prop {Number} [dgPreviewOpacity=1] 輸入拖曳時預覽元素透明度數字,預設1
|
|
300
381
|
* @vue-prop {Number} [dgPreviewDisabledOpacity=1] 輸入無效時(位於非可拖曳元素內)拖曳時預覽元素透明度數字,預設1
|
|
301
|
-
* @vue-prop {Number} [dgPreviewBorderWidth=0]
|
|
382
|
+
* @vue-prop {Number} [dgPreviewBorderWidth=0] 輸入拖曳時預覽元素邊框寬度數字,單位px,預設0
|
|
302
383
|
* @vue-prop {String} [dgPreviewBorderColor='#f26'] 輸入拖曳時預覽元素邊框顏色字串,預設'#f26'
|
|
303
384
|
* @vue-prop {String} [dgPreviewBackground='transparent'] 輸入拖曳時預覽元素背景顏色字串,預設'transparent'
|
|
304
385
|
* @vue-prop {Boolean} [operatable=false] 輸入是否使用控制節點模式布林值,若operatable設定true,將於各項目右側顯示控制按鈕,點擊可彈出選單進行插入與刪除等項目,此時會觸發事件click-operate-item,而處理相應數據則需呼叫事件提供物件內operateItem函數,詳情請見範例。此時所有節點皆為展開顯示並且禁止顯隱節點功能,也就是defaultDisplayLevel強制設定為null,此外也不提供過濾功能,也就是filterKeywords強制清空。開啟operatable僅適用小規模數據。operatable預設false
|
|
386
|
+
* @vue-prop {String} [operateItemTextForRename='Rename'] 輸入控制選項變更文字之文字字串,預設'Rename'
|
|
305
387
|
* @vue-prop {String} [operateItemTextForInsertBefore='Insert before'] 輸入控制選項插入前項目之文字字串,預設'Insert before'
|
|
306
388
|
* @vue-prop {String} [operateItemTextForInsertChild='Insert child'] 輸入控制選項插入子項目之文字字串,預設'Insert child'
|
|
307
389
|
* @vue-prop {String} [operateItemTextForInsertAfter='Insert after'] 輸入控制選項插入後項目之文字字串,預設'Insert after'
|
|
308
|
-
* @vue-prop {String} [
|
|
390
|
+
* @vue-prop {String} [operateItemTextForDelete='Delete'] 輸入控制選項刪除項目之文字字串,預設'Delete'
|
|
391
|
+
* @vue-prop {String} [operateItemIconForRename=mdiRenameOutline] 輸入控制選項變更文字之圖標字串,預設mdiRenameOutline
|
|
392
|
+
* @vue-prop {String} [operateItemIconForInsertBefore=mdiFormatVerticalAlignTop] 輸入控制選項插入前項目之圖標字串,預設mdiFormatVerticalAlignTop
|
|
393
|
+
* @vue-prop {String} [operateItemIconForInsertChild=mdiFormatHorizontalAlignRight] 輸入控制選項插入子項目之圖標字串,預設mdiFormatHorizontalAlignRight
|
|
394
|
+
* @vue-prop {String} [operateItemIconForInsertAfter=mdiFormatVerticalAlignBottom] 輸入控制選項插入後項目之圖標字串,預設mdiFormatVerticalAlignBottom
|
|
395
|
+
* @vue-prop {String} [operateItemIconForDelete=mdiClose] 輸入控制選項刪除項目之圖標字串,預設mdiClose
|
|
309
396
|
* @vue-prop {Object} [operateItemPaddingStyle={v:10,h:12}] 輸入控制選項內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:10,h:12}
|
|
310
|
-
* @vue-prop {Number} [operatePanelWidth=150]
|
|
311
|
-
* @vue-prop {Number} [operatePanelHeight=
|
|
397
|
+
* @vue-prop {Number} [operatePanelWidth=150] 輸入控制選項寬度數字,單位px,預設150
|
|
398
|
+
* @vue-prop {Number} [operatePanelHeight=null] 輸入控制選項高度數字,若為null則使用選項數量*operateItemHeight,單位px,預設null
|
|
312
399
|
* @vue-prop {String} [operateBtnTooltip='Operations'] 輸入控制按鈕之提示文字字串,預設'Operations'
|
|
313
400
|
* @vue-prop {String} [operateBtnBackgroundColor='transparent'] 輸入控制按鈕背景顏色字串,預設'transparent'
|
|
314
401
|
* @vue-prop {String} [operateBtnBackgroundColorHover='rgba(230,230,230,0.7)'] 輸入滑鼠移入時控制按鈕背景顏色字串,預設'rgba(230,230,230,0.7)'
|
|
315
402
|
* @vue-prop {String} [operateBtnBackgroundColorFocus='rgba(230,230,230,0.9)'] 輸入取得焦點時控制按鈕背景顏色字串,預設'rgba(230,230,230,0.9)'
|
|
316
403
|
* @vue-prop {String} [operateItemBackgroundColor='transparent'] 輸入控制項目背景顏色字串,預設'transparent'
|
|
317
404
|
* @vue-prop {String} [operateItemBackgroundColorHover='rgba(200,200,200,0.2)'] 輸入滑鼠移入時控制項目背景顏色字串,預設'rgba(200,200,200,0.2)'
|
|
405
|
+
* @vue-prop {Number} [operateItemHeight=42] 輸入控制項目高度數字,單位px,預設42
|
|
318
406
|
* @vue-prop {String} [operateItemTextColor='#444'] 輸入控制項目文字顏色字串,預設'#444'
|
|
319
407
|
* @vue-prop {String} [operateItemTextColorHover='#222'] 輸入滑鼠移入時控制項目文字顏色字串,預設'#222'
|
|
320
|
-
* @vue-prop {Number} [operateItemIconSize=22]
|
|
408
|
+
* @vue-prop {Number} [operateItemIconSize=22] 輸入控制項目圖標尺寸數字,單位px,預設22
|
|
321
409
|
* @vue-prop {String} [operateItemIconColor='#444'] 輸入控制項目圖標顏色字串,預設'#444'
|
|
322
410
|
* @vue-prop {String} [operateItemIconColorHover='#222'] 輸入滑鼠移入時控制項目圖標顏色字串,預設'#222'
|
|
411
|
+
* @vue-prop {Function} [funOperateItem=null] 輸入使用控制節點模式時處理項目函數,回傳陣列代表該項目提供指定控制按鈕,回傳true代表提供全部控制按鈕,回傳false或空陣列代表不提供控制按鈕,可應用於檔案清單之根目錄禁用控制節點模式或特定項目採用控制節點模式,預設null
|
|
412
|
+
* @vue-prop {String} [editorRenameContentBackgroundColor='white'] 輸入變更文字彈窗之內容區塊背景顏色字串,預設'white'
|
|
413
|
+
* @vue-prop {String} [editorRenameFooterBackgroundColor='grey lighten-5'] 輸入變更文字彈窗之下方區背景顏色字串,預設'grey lighten-5'
|
|
414
|
+
* @vue-prop {String} [editorRenameInputTextColor='grey darken-3'] 輸入變更文字彈窗之輸入文字框之文字顏色字串,預設'grey darken-3'
|
|
415
|
+
* @vue-prop {String} [editorRenameInputTextBottomLineBorderColor='grey lighten-1'] 輸入變更文字彈窗之輸入文字框之底部線顏色字串,預設'grey lighten-1'
|
|
416
|
+
* @vue-prop {String} [editorRenameInputTextBottomLineBorderColorHover='grey'] 輸入變更文字彈窗之輸入文字框之滑鼠移入時底部線顏色字串,預設'grey'
|
|
417
|
+
* @vue-prop {String} [editorRenameInputTextBottomLineBorderColorFocus='blue darken-1'] 輸入變更文字彈窗之輸入文字框之取得焦點時底部線顏色字串,預設'blue darken-1'
|
|
418
|
+
* @vue-prop {String} [editorRenameCancelBtnText='Save'] 輸入變更文字彈窗之取消按鈕文字字串,預設'Save'
|
|
419
|
+
* @vue-prop {String} [editorRenameCancelBtnTextColor='grey darken-3'] 輸入變更文字彈窗之取消按鈕文字顏色字串,預設'grey darken-3'
|
|
420
|
+
* @vue-prop {String} [editorRenameCancelBtnTextColorHover='grey darken-2'] 輸入變更文字彈窗之滑鼠移入時取消按鈕文字顏色字串,預設'grey darken-2'
|
|
421
|
+
* @vue-prop {String} [editorRenameCancelBtnIcon=mdiCloseCircleOutline] 輸入變更文字彈窗之取消按鈕圖標字串,可為mdi,md,fa代號或mdi/js路徑,預設mdiCloseCircleOutline
|
|
422
|
+
* @vue-prop {Number} [editorRenameCancelBtnIconSize=22] 輸入變更文字彈窗之取消按鈕圖標大小,單位為px,預設22
|
|
423
|
+
* @vue-prop {String} [editorRenameCancelBtnIconColor='grey darken-1'] 輸入變更文字彈窗之取消按鈕圖標顏色字串,預設'grey darken-1'
|
|
424
|
+
* @vue-prop {String} [editorRenameCancelBtnIconColorHover='grey darken-2'] 輸入變更文字彈窗之滑鼠移入時取消按鈕圖標顏色字串,預設'grey darken-2'
|
|
425
|
+
* @vue-prop {String} [editorRenameCancelBtnIconRippleColor='rgba(200,200,200,0.4)'] 輸入變更文字彈窗之取消按鈕ripple效果顏色字串,預設'rgba(200,200,200,0.4)'
|
|
426
|
+
* @vue-prop {String} [editorRenameCancelBtnBackgroundColor='white'] 輸入變更文字彈窗之取消按鈕背景顏色字串,預設'white'
|
|
427
|
+
* @vue-prop {String} [editorRenameCancelBtnBackgroundColorHover='grey lighten-3'] 輸入變更文字彈窗之滑鼠移入時取消按鈕背景顏色字串,預設'grey lighten-3'
|
|
428
|
+
* @vue-prop {String} [editorRenameSaveBtnText='Save'] 輸入變更文字彈窗之儲存按鈕文字字串,預設'Save'
|
|
429
|
+
* @vue-prop {String} [editorRenameSaveBtnTextColor='grey darken-3'] 輸入變更文字彈窗之儲存按鈕文字顏色字串,預設'grey darken-3'
|
|
430
|
+
* @vue-prop {String} [editorRenameSaveBtnTextColorHover='grey darken-2'] 輸入變更文字彈窗之滑鼠移入時儲存按鈕文字顏色字串,預設'grey darken-2'
|
|
431
|
+
* @vue-prop {String} [editorRenameSaveBtnIcon=mdiCloudUploadOutline] 輸入變更文字彈窗之儲存按鈕圖標字串,可為mdi,md,fa代號或mdi/js路徑,預設mdiCheckboxMarkedCircle
|
|
432
|
+
* @vue-prop {Number} [editorRenameSaveBtnIconSize=22] 輸入變更文字彈窗之儲存按鈕圖標大小,單位為px,預設22
|
|
433
|
+
* @vue-prop {String} [editorRenameSaveBtnIconColor='grey darken-1'] 輸入變更文字彈窗之儲存按鈕圖標顏色字串,預設'grey darken-1'
|
|
434
|
+
* @vue-prop {String} [editorRenameSaveBtnIconColorHover='grey darken-2'] 輸入變更文字彈窗之滑鼠移入時儲存按鈕圖標顏色字串,預設'grey darken-2'
|
|
435
|
+
* @vue-prop {String} [editorRenameSaveBtnIconRippleColor='rgba(200,200,200,0.4)'] 輸入變更文字彈窗之儲存按鈕ripple效果顏色字串,預設'rgba(200,200,200,0.4)'
|
|
436
|
+
* @vue-prop {String} [editorRenameSaveBtnBackgroundColor='white'] 輸入變更文字彈窗之儲存按鈕背景顏色字串,預設'white'
|
|
437
|
+
* @vue-prop {String} [editorRenameSaveBtnBackgroundColorHover='grey lighten-3'] 輸入變更文字彈窗之滑鼠移入時儲存按鈕背景顏色字串,預設'grey lighten-3'
|
|
323
438
|
* @vue-prop {Boolean} [show=true] 輸入是否為顯示模式布林值,預設true,供組件嵌入popup時, 因先初始化但尚未顯示不需渲染, 可給予show=false避免無限偵測與重算高度問題
|
|
324
439
|
*/
|
|
325
440
|
export default {
|
|
@@ -330,10 +445,14 @@ export default {
|
|
|
330
445
|
components: {
|
|
331
446
|
WDynamicList,
|
|
332
447
|
WButtonCircle,
|
|
448
|
+
WButtonChip,
|
|
449
|
+
WText,
|
|
333
450
|
WPopup,
|
|
451
|
+
WDialog,
|
|
334
452
|
WListVertical,
|
|
335
453
|
WTreeIconToggle,
|
|
336
454
|
WTreeIconCheckbox,
|
|
455
|
+
Teleport,
|
|
337
456
|
},
|
|
338
457
|
props: {
|
|
339
458
|
data: {
|
|
@@ -553,6 +672,10 @@ export default {
|
|
|
553
672
|
type: Boolean,
|
|
554
673
|
default: false,
|
|
555
674
|
},
|
|
675
|
+
operateItemTextForRename: {
|
|
676
|
+
type: String,
|
|
677
|
+
default: 'Rename',
|
|
678
|
+
},
|
|
556
679
|
operateItemTextForInsertBefore: {
|
|
557
680
|
type: String,
|
|
558
681
|
default: 'Insert before',
|
|
@@ -565,10 +688,30 @@ export default {
|
|
|
565
688
|
type: String,
|
|
566
689
|
default: 'Insert after',
|
|
567
690
|
},
|
|
568
|
-
|
|
691
|
+
operateItemTextForDelete: {
|
|
569
692
|
type: String,
|
|
570
693
|
default: 'Delete',
|
|
571
694
|
},
|
|
695
|
+
operateItemIconForRename: {
|
|
696
|
+
type: String,
|
|
697
|
+
default: mdiRenameOutline,
|
|
698
|
+
},
|
|
699
|
+
operateItemIconForInsertBefore: {
|
|
700
|
+
type: String,
|
|
701
|
+
default: mdiFormatVerticalAlignTop,
|
|
702
|
+
},
|
|
703
|
+
operateItemIconForInsertChild: {
|
|
704
|
+
type: String,
|
|
705
|
+
default: mdiFormatHorizontalAlignRight,
|
|
706
|
+
},
|
|
707
|
+
operateItemIconForInsertAfter: {
|
|
708
|
+
type: String,
|
|
709
|
+
default: mdiFormatVerticalAlignBottom,
|
|
710
|
+
},
|
|
711
|
+
operateItemIconForDelete: {
|
|
712
|
+
type: String,
|
|
713
|
+
default: mdiClose,
|
|
714
|
+
},
|
|
572
715
|
operateItemPaddingStyle: {
|
|
573
716
|
type: Object,
|
|
574
717
|
default: () => {
|
|
@@ -584,7 +727,7 @@ export default {
|
|
|
584
727
|
},
|
|
585
728
|
operatePanelHeight: {
|
|
586
729
|
type: Number,
|
|
587
|
-
default:
|
|
730
|
+
default: null,
|
|
588
731
|
},
|
|
589
732
|
operateBtnTooltip: {
|
|
590
733
|
type: String,
|
|
@@ -610,6 +753,10 @@ export default {
|
|
|
610
753
|
type: String,
|
|
611
754
|
default: 'rgba(200,200,200,0.2)',
|
|
612
755
|
},
|
|
756
|
+
operateItemHeight: {
|
|
757
|
+
type: Number,
|
|
758
|
+
default: 42,
|
|
759
|
+
},
|
|
613
760
|
operateItemTextColor: {
|
|
614
761
|
type: String,
|
|
615
762
|
default: '#444',
|
|
@@ -630,6 +777,114 @@ export default {
|
|
|
630
777
|
type: String,
|
|
631
778
|
default: '#222',
|
|
632
779
|
},
|
|
780
|
+
funOperateItem: {
|
|
781
|
+
type: Function,
|
|
782
|
+
default: null,
|
|
783
|
+
},
|
|
784
|
+
editorRenameContentBackgroundColor: {
|
|
785
|
+
type: String,
|
|
786
|
+
default: 'white',
|
|
787
|
+
},
|
|
788
|
+
editorRenameFooterBackgroundColor: {
|
|
789
|
+
type: String,
|
|
790
|
+
default: 'grey lighten-5',
|
|
791
|
+
},
|
|
792
|
+
editorRenameInputTextColor: {
|
|
793
|
+
type: String,
|
|
794
|
+
default: 'grey darken-3',
|
|
795
|
+
},
|
|
796
|
+
editorRenameInputTextBottomLineBorderColor: {
|
|
797
|
+
type: String,
|
|
798
|
+
default: 'grey lighten-1',
|
|
799
|
+
},
|
|
800
|
+
editorRenameInputTextBottomLineBorderColorHover: {
|
|
801
|
+
type: String,
|
|
802
|
+
default: 'grey',
|
|
803
|
+
},
|
|
804
|
+
editorRenameInputTextBottomLineBorderColorFocus: {
|
|
805
|
+
type: String,
|
|
806
|
+
default: 'blue darken-1',
|
|
807
|
+
},
|
|
808
|
+
editorRenameCancelBtnText: {
|
|
809
|
+
type: String,
|
|
810
|
+
default: 'Cancel',
|
|
811
|
+
},
|
|
812
|
+
editorRenameCancelBtnTextColor: {
|
|
813
|
+
type: String,
|
|
814
|
+
default: 'grey darken-3',
|
|
815
|
+
},
|
|
816
|
+
editorRenameCancelBtnTextColorHover: {
|
|
817
|
+
type: String,
|
|
818
|
+
default: 'grey darken-2',
|
|
819
|
+
},
|
|
820
|
+
editorRenameCancelBtnIcon: {
|
|
821
|
+
type: String,
|
|
822
|
+
default: mdiCloseCircleOutline,
|
|
823
|
+
},
|
|
824
|
+
editorRenameCancelBtnIconSize: {
|
|
825
|
+
type: Number,
|
|
826
|
+
default: 22,
|
|
827
|
+
},
|
|
828
|
+
editorRenameCancelBtnIconColor: {
|
|
829
|
+
type: String,
|
|
830
|
+
default: 'grey darken-1',
|
|
831
|
+
},
|
|
832
|
+
editorRenameCancelBtnIconColorHover: {
|
|
833
|
+
type: String,
|
|
834
|
+
default: 'grey darken-2',
|
|
835
|
+
},
|
|
836
|
+
editorRenameCancelBtnIconRippleColor: {
|
|
837
|
+
type: String,
|
|
838
|
+
default: 'rgba(200,200,200,0.4)',
|
|
839
|
+
},
|
|
840
|
+
editorRenameCancelBtnBackgroundColor: {
|
|
841
|
+
type: String,
|
|
842
|
+
default: 'white',
|
|
843
|
+
},
|
|
844
|
+
editorRenameCancelBtnBackgroundColorHover: {
|
|
845
|
+
type: String,
|
|
846
|
+
default: 'grey lighten-3',
|
|
847
|
+
},
|
|
848
|
+
editorRenameSaveBtnText: {
|
|
849
|
+
type: String,
|
|
850
|
+
default: 'Save',
|
|
851
|
+
},
|
|
852
|
+
editorRenameSaveBtnTextColor: {
|
|
853
|
+
type: String,
|
|
854
|
+
default: 'grey darken-3',
|
|
855
|
+
},
|
|
856
|
+
editorRenameSaveBtnTextColorHover: {
|
|
857
|
+
type: String,
|
|
858
|
+
default: 'grey darken-2',
|
|
859
|
+
},
|
|
860
|
+
editorRenameSaveBtnIcon: {
|
|
861
|
+
type: String,
|
|
862
|
+
default: mdiCloudUploadOutline,
|
|
863
|
+
},
|
|
864
|
+
editorRenameSaveBtnIconSize: {
|
|
865
|
+
type: Number,
|
|
866
|
+
default: 22,
|
|
867
|
+
},
|
|
868
|
+
editorRenameSaveBtnIconColor: {
|
|
869
|
+
type: String,
|
|
870
|
+
default: 'grey darken-1',
|
|
871
|
+
},
|
|
872
|
+
editorRenameSaveBtnIconColorHover: {
|
|
873
|
+
type: String,
|
|
874
|
+
default: 'grey darken-2',
|
|
875
|
+
},
|
|
876
|
+
editorRenameSaveBtnIconRippleColor: {
|
|
877
|
+
type: String,
|
|
878
|
+
default: 'rgba(200,200,200,0.4)',
|
|
879
|
+
},
|
|
880
|
+
editorRenameSaveBtnBackgroundColor: {
|
|
881
|
+
type: String,
|
|
882
|
+
default: 'white',
|
|
883
|
+
},
|
|
884
|
+
editorRenameSaveBtnBackgroundColorHover: {
|
|
885
|
+
type: String,
|
|
886
|
+
default: 'grey lighten-3',
|
|
887
|
+
},
|
|
633
888
|
show: {
|
|
634
889
|
type: Boolean,
|
|
635
890
|
default: true,
|
|
@@ -672,6 +927,14 @@ export default {
|
|
|
672
927
|
pkActive: '',
|
|
673
928
|
pkHover: '',
|
|
674
929
|
|
|
930
|
+
operateShow: false,
|
|
931
|
+
|
|
932
|
+
editorShow: false,
|
|
933
|
+
editorPm: null,
|
|
934
|
+
editorRenameData: null,
|
|
935
|
+
editorRenameItem: {},
|
|
936
|
+
editorRenameInputText: '',
|
|
937
|
+
|
|
675
938
|
}
|
|
676
939
|
},
|
|
677
940
|
beforeDestroy: function() {
|
|
@@ -909,44 +1172,62 @@ export default {
|
|
|
909
1172
|
return color2hex(vo.dgBelongBackgroundColor)
|
|
910
1173
|
},
|
|
911
1174
|
|
|
912
|
-
|
|
913
|
-
//console.log('computed
|
|
1175
|
+
operateItems: function() {
|
|
1176
|
+
//console.log('computed operateItems')
|
|
914
1177
|
|
|
915
1178
|
let vo = this
|
|
916
1179
|
|
|
917
|
-
//
|
|
918
|
-
let
|
|
1180
|
+
//rs
|
|
1181
|
+
let rs = [
|
|
1182
|
+
{
|
|
1183
|
+
key: 'Rename',
|
|
1184
|
+
text: vo.operateItemTextForRename,
|
|
1185
|
+
icon: vo.operateItemIconForRename,
|
|
1186
|
+
},
|
|
919
1187
|
{
|
|
920
1188
|
key: 'InsertBefore',
|
|
921
1189
|
text: vo.operateItemTextForInsertBefore,
|
|
922
|
-
icon:
|
|
1190
|
+
icon: vo.operateItemIconForInsertBefore,
|
|
923
1191
|
},
|
|
924
1192
|
{
|
|
925
1193
|
key: 'InsertChild',
|
|
926
1194
|
text: vo.operateItemTextForInsertChild,
|
|
927
|
-
icon:
|
|
1195
|
+
icon: vo.operateItemIconForInsertChild,
|
|
928
1196
|
},
|
|
929
1197
|
{
|
|
930
1198
|
key: 'InsertAfter',
|
|
931
1199
|
text: vo.operateItemTextForInsertAfter,
|
|
932
|
-
icon:
|
|
1200
|
+
icon: vo.operateItemIconForInsertAfter,
|
|
933
1201
|
},
|
|
934
1202
|
{
|
|
935
1203
|
key: 'Delete',
|
|
936
|
-
text: vo.
|
|
937
|
-
icon:
|
|
1204
|
+
text: vo.operateItemTextForDelete,
|
|
1205
|
+
icon: vo.operateItemIconForDelete,
|
|
938
1206
|
},
|
|
939
1207
|
]
|
|
940
1208
|
|
|
941
|
-
return
|
|
1209
|
+
return rs
|
|
942
1210
|
},
|
|
943
1211
|
|
|
944
|
-
|
|
945
|
-
//console.log('computed
|
|
1212
|
+
useDraggable: function() {
|
|
1213
|
+
//console.log('computed useDraggable')
|
|
1214
|
+
|
|
1215
|
+
let vo = this
|
|
1216
|
+
|
|
1217
|
+
//b, 彈窗內點擊或拖曳項目亦會驅動drag, 故須使用operateShow偵測禁用拖曳功能
|
|
1218
|
+
let b = vo.draggable && !vo.operateShow
|
|
946
1219
|
|
|
1220
|
+
return b
|
|
1221
|
+
},
|
|
1222
|
+
|
|
1223
|
+
useEditorContentBackgroundColor: function() {
|
|
947
1224
|
let vo = this
|
|
1225
|
+
return color2hex(vo.editorRenameContentBackgroundColor)
|
|
1226
|
+
},
|
|
948
1227
|
|
|
949
|
-
|
|
1228
|
+
useEditorFooterBackgroundColor: function() {
|
|
1229
|
+
let vo = this
|
|
1230
|
+
return color2hex(vo.editorRenameFooterBackgroundColor)
|
|
950
1231
|
},
|
|
951
1232
|
|
|
952
1233
|
},
|
|
@@ -957,7 +1238,16 @@ export default {
|
|
|
957
1238
|
|
|
958
1239
|
// let vo = this
|
|
959
1240
|
|
|
960
|
-
|
|
1241
|
+
//r
|
|
1242
|
+
let r = {
|
|
1243
|
+
event: e,
|
|
1244
|
+
ele: get(e, 'currentTarget', null),
|
|
1245
|
+
row: props.row,
|
|
1246
|
+
item: props.row.item,
|
|
1247
|
+
index: props.index
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
return r
|
|
961
1251
|
},
|
|
962
1252
|
|
|
963
1253
|
updateViewHeightMaxTrans: function(msg) {
|
|
@@ -979,13 +1269,13 @@ export default {
|
|
|
979
1269
|
|
|
980
1270
|
},
|
|
981
1271
|
|
|
982
|
-
getRowsFromData: function(data) {
|
|
1272
|
+
getRowsFromData: async function(data) {
|
|
983
1273
|
//console.log('methods getRowsFromData', data)
|
|
984
1274
|
|
|
985
1275
|
let vo = this
|
|
986
1276
|
|
|
987
|
-
//
|
|
988
|
-
let ts =
|
|
1277
|
+
//flattenTreeWk
|
|
1278
|
+
let ts = await flattenTreeWk(data, { bindKey: vo.keyPrimary, bindChildren: vo.keyChildren })
|
|
989
1279
|
|
|
990
1280
|
//rows, lodash使用new Array建構比for+push快
|
|
991
1281
|
let rows = map(ts, (v, k) => {
|
|
@@ -1033,7 +1323,7 @@ export default {
|
|
|
1033
1323
|
// console.log('setData data', cloneDeep(data))
|
|
1034
1324
|
|
|
1035
1325
|
//getRowsFromData
|
|
1036
|
-
let rows = vo.getRowsFromData(data)
|
|
1326
|
+
let rows = await vo.getRowsFromData(data)
|
|
1037
1327
|
// console.log('setData getRowsFromData rows', cloneDeep(rows))
|
|
1038
1328
|
|
|
1039
1329
|
//save
|
|
@@ -1088,22 +1378,30 @@ export default {
|
|
|
1088
1378
|
return isestr(k) || isnum(k)
|
|
1089
1379
|
},
|
|
1090
1380
|
|
|
1091
|
-
|
|
1092
|
-
// console.log('
|
|
1381
|
+
getUseActivable: function(props) {
|
|
1382
|
+
// console.log('getUseActivable', props)
|
|
1093
1383
|
let vo = this
|
|
1094
1384
|
|
|
1095
1385
|
//activable
|
|
1096
1386
|
if (!vo.activable) {
|
|
1097
|
-
return
|
|
1387
|
+
return false
|
|
1098
1388
|
}
|
|
1099
1389
|
|
|
1100
|
-
//
|
|
1390
|
+
//ck
|
|
1101
1391
|
let ck = true
|
|
1102
1392
|
if (isfun(vo.funActive)) {
|
|
1103
|
-
|
|
1393
|
+
|
|
1394
|
+
//funActive
|
|
1395
|
+
ck = vo.funActive(vo.getEmitData({}, props))
|
|
1396
|
+
|
|
1397
|
+
//check
|
|
1398
|
+
if (!isbol(ck)) {
|
|
1399
|
+
throw new Error(`funActive return value is not a boolean`)
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1104
1402
|
}
|
|
1105
1403
|
|
|
1106
|
-
return ck
|
|
1404
|
+
return ck
|
|
1107
1405
|
},
|
|
1108
1406
|
|
|
1109
1407
|
getTextColor: function(item) {
|
|
@@ -2521,6 +2819,49 @@ export default {
|
|
|
2521
2819
|
|
|
2522
2820
|
},
|
|
2523
2821
|
|
|
2822
|
+
getPathInfors: function (data, nk) {
|
|
2823
|
+
//console.log('methods getPathInfors', data, nk)
|
|
2824
|
+
|
|
2825
|
+
let vo = this
|
|
2826
|
+
|
|
2827
|
+
//ps
|
|
2828
|
+
let ps = []
|
|
2829
|
+
for (let i = 0; i < size(nk); i++) {
|
|
2830
|
+
|
|
2831
|
+
//k
|
|
2832
|
+
let k = nk[i]
|
|
2833
|
+
|
|
2834
|
+
//check
|
|
2835
|
+
if (k === vo.keyChildren) {
|
|
2836
|
+
continue
|
|
2837
|
+
}
|
|
2838
|
+
|
|
2839
|
+
//tss
|
|
2840
|
+
let tss = []
|
|
2841
|
+
for (let j = 0; j <= i; j++) {
|
|
2842
|
+
tss.push(nk[j])
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2845
|
+
//p
|
|
2846
|
+
let p = get(data, tss)
|
|
2847
|
+
|
|
2848
|
+
//pt
|
|
2849
|
+
let pt = {}
|
|
2850
|
+
each(p, (vv, kk) => {
|
|
2851
|
+
if (kk === vo.keyChildren) {
|
|
2852
|
+
return true //跳出換下一個
|
|
2853
|
+
}
|
|
2854
|
+
pt[kk] = vv
|
|
2855
|
+
})
|
|
2856
|
+
|
|
2857
|
+
//push
|
|
2858
|
+
ps.push(pt)
|
|
2859
|
+
|
|
2860
|
+
}
|
|
2861
|
+
|
|
2862
|
+
return ps
|
|
2863
|
+
},
|
|
2864
|
+
|
|
2524
2865
|
dragItem: function(startInd, endInd, modeDir, modeInsert) {
|
|
2525
2866
|
//console.log('methods dragItem', startInd, endInd, modeDir, modeInsert)
|
|
2526
2867
|
|
|
@@ -2543,16 +2884,24 @@ export default {
|
|
|
2543
2884
|
//src, 來源節點
|
|
2544
2885
|
let nkSelf = itemSelf.item.nk
|
|
2545
2886
|
let nkEnter = itemEnter.item.nk
|
|
2546
|
-
let dataSelf = get(data,
|
|
2547
|
-
// let dataEnter = get(data,
|
|
2548
|
-
// console.log('
|
|
2549
|
-
// console.log('
|
|
2887
|
+
let dataSelf = cloneDeep(get(data, nkSelf))
|
|
2888
|
+
// let dataEnter = get(data, nkEnter)
|
|
2889
|
+
// console.log('nkSelf', nkSelf)
|
|
2890
|
+
// console.log('dataSelf', dataSelf)
|
|
2891
|
+
// console.log('nkEnter', nkEnter)
|
|
2892
|
+
// console.log('dataEnter', dataEnter)
|
|
2893
|
+
|
|
2894
|
+
//pathInforsOri, pathInforsNew, nkOri, nkNew
|
|
2895
|
+
let pathInforsOri = vo.getPathInfors(data, nkSelf) //要先取得, 否則modeDir=forward時會先刪除來源導致之後就無法取得
|
|
2896
|
+
let pathInforsNew = []
|
|
2897
|
+
let nkOri = nkSelf //可先取得
|
|
2898
|
+
let nkNew = []
|
|
2550
2899
|
|
|
2551
2900
|
//modeDir
|
|
2552
2901
|
if (modeDir === 'forward') {
|
|
2553
|
-
//若為由後往前移動,
|
|
2902
|
+
//若為由後往前移動, 則需先刪除來源節點, 否則同資料夾下節點先移動會導致來源節點指標+1無法刪除
|
|
2554
2903
|
vo.deleteItem(data, nkSelf)
|
|
2555
|
-
// console.log('
|
|
2904
|
+
// console.log('modeDir forward', 'deleteItem', JSON.parse(JSON.stringify(data)), 'nkSelf', nkSelf)
|
|
2556
2905
|
}
|
|
2557
2906
|
|
|
2558
2907
|
if (modeInsert === 'before' || modeInsert === 'after') {
|
|
@@ -2567,19 +2916,29 @@ export default {
|
|
|
2567
2916
|
}
|
|
2568
2917
|
else {
|
|
2569
2918
|
let ks = dropRight(nkEnter) //目標父節點的keys, dropRight後就是其上的keyChildren
|
|
2570
|
-
tar = get(data, ks, []) //取得要移入的父節點
|
|
2919
|
+
tar = get(data, ks, []) //取得要移入的父節點children
|
|
2571
2920
|
}
|
|
2572
2921
|
|
|
2922
|
+
//tar insert
|
|
2573
2923
|
if (modeInsert === 'before') {
|
|
2574
2924
|
// ind = ind
|
|
2575
2925
|
}
|
|
2576
2926
|
else if (modeInsert === 'after') {
|
|
2577
2927
|
ind += 1
|
|
2578
2928
|
}
|
|
2579
|
-
|
|
2580
|
-
//array insert
|
|
2581
2929
|
tar.splice(ind, 0, dataSelf)
|
|
2582
2930
|
|
|
2931
|
+
//nkTar
|
|
2932
|
+
let nkTar = dropRight(nkEnter)
|
|
2933
|
+
nkTar = [...nkTar, ind]
|
|
2934
|
+
|
|
2935
|
+
//nkNew
|
|
2936
|
+
nkNew = nkTar
|
|
2937
|
+
|
|
2938
|
+
//pathInforsNew
|
|
2939
|
+
pathInforsNew = vo.getPathInfors(data, nkTar)
|
|
2940
|
+
// console.log('before|after', 'pathInforsNew', cloneDeep(pathInforsNew))
|
|
2941
|
+
|
|
2583
2942
|
}
|
|
2584
2943
|
else if (modeInsert === 'belongto') {
|
|
2585
2944
|
|
|
@@ -2595,14 +2954,27 @@ export default {
|
|
|
2595
2954
|
//set
|
|
2596
2955
|
set(data, ks, tar)
|
|
2597
2956
|
|
|
2957
|
+
//nkTar
|
|
2958
|
+
let nkTar = [...ks, size(tar) - 1]
|
|
2959
|
+
// console.log('belongto', 'nkEnter', nkEnter)
|
|
2960
|
+
// console.log('belongto', 'ks', ks)
|
|
2961
|
+
// console.log('belongto', 'nkTar', nkTar)
|
|
2962
|
+
|
|
2963
|
+
//nkNew
|
|
2964
|
+
nkNew = nkTar
|
|
2965
|
+
|
|
2966
|
+
//pathInforsNew
|
|
2967
|
+
pathInforsNew = vo.getPathInfors(data, nkTar)
|
|
2968
|
+
// console.log('belongto', 'pathInforsNew', pathInforsNew)
|
|
2969
|
+
|
|
2598
2970
|
}
|
|
2599
|
-
// console.log('
|
|
2971
|
+
// console.log('data2', JSON.parse(JSON.stringify(data)))
|
|
2600
2972
|
|
|
2601
2973
|
//modeDir
|
|
2602
2974
|
if (modeDir === 'backward') {
|
|
2603
2975
|
//若為由前往後移動, 則需於來源節點複製進目標節點處後, 才能刪除來源節點
|
|
2604
2976
|
vo.deleteItem(data, nkSelf)
|
|
2605
|
-
// console.log('
|
|
2977
|
+
// console.log('modeDir backward', 'deleteItem', JSON.parse(JSON.stringify(data)), 'nkSelf', nkSelf)
|
|
2606
2978
|
}
|
|
2607
2979
|
|
|
2608
2980
|
//$nextTick
|
|
@@ -2611,12 +2983,118 @@ export default {
|
|
|
2611
2983
|
//emit
|
|
2612
2984
|
vo.$emit('update:data', cloneDeep(data))
|
|
2613
2985
|
|
|
2986
|
+
//emit
|
|
2987
|
+
vo.$emit('change-item', {
|
|
2988
|
+
from: 'drag',
|
|
2989
|
+
mode: 'move',
|
|
2990
|
+
dir: modeDir,
|
|
2991
|
+
kind: modeInsert,
|
|
2992
|
+
nkOri,
|
|
2993
|
+
pathInforsOri,
|
|
2994
|
+
nkNew,
|
|
2995
|
+
pathInforsNew,
|
|
2996
|
+
})
|
|
2997
|
+
|
|
2614
2998
|
})
|
|
2615
2999
|
|
|
2616
3000
|
},
|
|
2617
3001
|
|
|
2618
|
-
|
|
2619
|
-
//console.log('
|
|
3002
|
+
getUseOperateItems: function(props) {
|
|
3003
|
+
// console.log('getUseOperateItems', props)
|
|
3004
|
+
|
|
3005
|
+
let vo = this
|
|
3006
|
+
|
|
3007
|
+
//operatable
|
|
3008
|
+
if (!vo.operatable) {
|
|
3009
|
+
return []
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
//rs
|
|
3013
|
+
let rs = null
|
|
3014
|
+
if (isfun(vo.funOperateItem)) {
|
|
3015
|
+
|
|
3016
|
+
//funOperateItem
|
|
3017
|
+
let ck = vo.funOperateItem(vo.getEmitData({}, props))
|
|
3018
|
+
|
|
3019
|
+
//check
|
|
3020
|
+
if (!isbol(ck) && !isarr(ck)) {
|
|
3021
|
+
throw new Error(`funOperateItem return value is not a boolean or an array`)
|
|
3022
|
+
}
|
|
3023
|
+
|
|
3024
|
+
//rs
|
|
3025
|
+
if (ck === true) {
|
|
3026
|
+
rs = vo.operateItems
|
|
3027
|
+
// console.log('ck === true rs', rs)
|
|
3028
|
+
}
|
|
3029
|
+
else if (ck === false) {
|
|
3030
|
+
rs = []
|
|
3031
|
+
// console.log('ck === false rs', rs)
|
|
3032
|
+
}
|
|
3033
|
+
else {
|
|
3034
|
+
rs = []
|
|
3035
|
+
each(ck, (v) => {
|
|
3036
|
+
let r = find(vo.operateItems, { key: v })
|
|
3037
|
+
if (iseobj(r)) {
|
|
3038
|
+
rs.push(r)
|
|
3039
|
+
}
|
|
3040
|
+
})
|
|
3041
|
+
// console.log('ck isarr rs', rs)
|
|
3042
|
+
}
|
|
3043
|
+
|
|
3044
|
+
}
|
|
3045
|
+
else {
|
|
3046
|
+
rs = vo.operateItems
|
|
3047
|
+
// console.log('ck all rs', rs)
|
|
3048
|
+
}
|
|
3049
|
+
|
|
3050
|
+
return rs
|
|
3051
|
+
},
|
|
3052
|
+
|
|
3053
|
+
getUseOperatable: function(props) {
|
|
3054
|
+
// console.log('getUseOperatable', props)
|
|
3055
|
+
|
|
3056
|
+
let vo = this
|
|
3057
|
+
|
|
3058
|
+
//getUseOperateItems
|
|
3059
|
+
let rs = vo.getUseOperateItems(props)
|
|
3060
|
+
|
|
3061
|
+
//ck
|
|
3062
|
+
let ck = size(rs) > 0
|
|
3063
|
+
|
|
3064
|
+
return ck
|
|
3065
|
+
},
|
|
3066
|
+
|
|
3067
|
+
getOperatePanelHeight: function(props) {
|
|
3068
|
+
// console.log('getOperatePanelHeight', props)
|
|
3069
|
+
|
|
3070
|
+
let vo = this
|
|
3071
|
+
|
|
3072
|
+
//h
|
|
3073
|
+
let h = ''
|
|
3074
|
+
if (isnum(vo.operatePanelHeight)) {
|
|
3075
|
+
h = `height:${vo.operatePanelHeight}px;`
|
|
3076
|
+
}
|
|
3077
|
+
else if (isestr(vo.operatePanelHeight)) {
|
|
3078
|
+
h = `height:${vo.operatePanelHeight};`
|
|
3079
|
+
}
|
|
3080
|
+
else if (isnum(vo.operateItemHeight)) {
|
|
3081
|
+
|
|
3082
|
+
//operateItemHeight
|
|
3083
|
+
let operateItemHeight = cdbl(vo.operateItemHeight)
|
|
3084
|
+
|
|
3085
|
+
//getUseOperateItems
|
|
3086
|
+
let rs = vo.getUseOperateItems(props)
|
|
3087
|
+
|
|
3088
|
+
//h
|
|
3089
|
+
h = `height:${size(rs) * operateItemHeight}px;`
|
|
3090
|
+
|
|
3091
|
+
}
|
|
3092
|
+
|
|
3093
|
+
return h
|
|
3094
|
+
},
|
|
3095
|
+
|
|
3096
|
+
operateItem: async function(targetInd, mode, fun) {
|
|
3097
|
+
// console.log('methods operateItem', targetInd, mode, fun)
|
|
2620
3098
|
|
|
2621
3099
|
let vo = this
|
|
2622
3100
|
|
|
@@ -2638,109 +3116,226 @@ export default {
|
|
|
2638
3116
|
let nkTarget = itemTarget.item.nk
|
|
2639
3117
|
// console.log('dataEnter', nkTarget, itemTarget.item)
|
|
2640
3118
|
|
|
3119
|
+
//modeOperate, pathInforsOri, pathInforsNew, nkOri, nkNew
|
|
3120
|
+
let modeOperate = ''
|
|
3121
|
+
let pathInforsOri = []
|
|
3122
|
+
let pathInforsNew = []
|
|
3123
|
+
let nkOri = []
|
|
3124
|
+
let nkNew = []
|
|
3125
|
+
|
|
2641
3126
|
//mode for Delete
|
|
2642
3127
|
if (mode === 'Delete') {
|
|
2643
3128
|
|
|
3129
|
+
//modeOperate
|
|
3130
|
+
modeOperate = 'self'
|
|
3131
|
+
|
|
3132
|
+
//nkOri, 要於deleteItem之前處理
|
|
3133
|
+
nkOri = nkTarget
|
|
3134
|
+
|
|
3135
|
+
//pathInforsOri, 要於deleteItem之前處理
|
|
3136
|
+
pathInforsOri = vo.getPathInfors(data, nkTarget)
|
|
3137
|
+
// console.log('delete', 'pathInforsOri', pathInforsOri)
|
|
3138
|
+
|
|
2644
3139
|
//deleteItem
|
|
2645
3140
|
vo.deleteItem(data, nkTarget)
|
|
3141
|
+
// console.log('data', cloneDeep(data))
|
|
2646
3142
|
|
|
2647
|
-
|
|
2648
|
-
|
|
3143
|
+
//nkNew
|
|
3144
|
+
nkNew = []
|
|
3145
|
+
|
|
3146
|
+
//pathInforsNew
|
|
3147
|
+
pathInforsNew = []
|
|
3148
|
+
// console.log('delete', 'pathInforsNew', pathInforsNew)
|
|
2649
3149
|
|
|
2650
|
-
//check
|
|
2651
|
-
if (!isfun(fun)) {
|
|
2652
|
-
throw new Error('invalid fun')
|
|
2653
3150
|
}
|
|
3151
|
+
else if (mode === 'Rename') {
|
|
2654
3152
|
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
3153
|
+
//showEditor
|
|
3154
|
+
vo.editorRenameData = data
|
|
3155
|
+
vo.editorRenameItem = get(itemTarget, 'item', {})
|
|
3156
|
+
vo.editorRenameInputText = get(itemTarget, `item.${vo.keyText}`, '')
|
|
3157
|
+
let r = await vo.showEditor()
|
|
2658
3158
|
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
else if (modeInsert === 'InsertAfter') {
|
|
2665
|
-
modeInsert = 'after'
|
|
2666
|
-
}
|
|
2667
|
-
else if (modeInsert === 'InsertChild') {
|
|
2668
|
-
modeInsert = 'belongto'
|
|
2669
|
-
}
|
|
3159
|
+
//state
|
|
3160
|
+
if (r === 'save') {
|
|
3161
|
+
|
|
3162
|
+
//modeOperate
|
|
3163
|
+
modeOperate = 'self'
|
|
2670
3164
|
|
|
2671
|
-
|
|
3165
|
+
//nkOri
|
|
3166
|
+
nkOri = nkTarget
|
|
2672
3167
|
|
|
2673
|
-
|
|
2674
|
-
|
|
3168
|
+
//pathInforsOri
|
|
3169
|
+
pathInforsOri = vo.getPathInfors(vo.data, nkTarget)
|
|
3170
|
+
// console.log('rename', 'pathInforsOri', pathInforsOri)
|
|
3171
|
+
|
|
3172
|
+
//update data
|
|
3173
|
+
data = vo.editorRenameData
|
|
3174
|
+
|
|
3175
|
+
//nkNew
|
|
3176
|
+
nkNew = nkOri
|
|
3177
|
+
|
|
3178
|
+
//pathInforsNew
|
|
3179
|
+
pathInforsNew = vo.getPathInfors(data, nkTarget)
|
|
3180
|
+
// console.log('rename', 'pathInforsNew', pathInforsNew)
|
|
2675
3181
|
|
|
2676
|
-
//tar, 目標的父節點, 待移入對象
|
|
2677
|
-
let tar
|
|
2678
|
-
if (size(nkTarget) === 1) {
|
|
2679
|
-
tar = data //因目標是第1層內元素, 故要取得的父節點就是原本數據
|
|
2680
3182
|
}
|
|
2681
3183
|
else {
|
|
2682
|
-
|
|
2683
|
-
tar = get(data, ks, []) //取得要移入的父節點
|
|
3184
|
+
return //跳出
|
|
2684
3185
|
}
|
|
2685
3186
|
|
|
2686
|
-
|
|
2687
|
-
|
|
3187
|
+
}
|
|
3188
|
+
else { //InsertBefore, InsertAfter, InsertChild
|
|
3189
|
+
|
|
3190
|
+
//check
|
|
3191
|
+
if (!isfun(fun)) {
|
|
3192
|
+
throw new Error('invalid fun')
|
|
2688
3193
|
}
|
|
2689
|
-
|
|
2690
|
-
|
|
3194
|
+
|
|
3195
|
+
//dataNew
|
|
3196
|
+
let dataNew = fun() //外部fun僅用於提供新項目數據
|
|
3197
|
+
if (ispm(dataNew)) {
|
|
3198
|
+
dataNew = await dataNew
|
|
2691
3199
|
}
|
|
3200
|
+
// console.log('dataNew', dataNew)
|
|
2692
3201
|
|
|
2693
|
-
//
|
|
2694
|
-
|
|
3202
|
+
//modeOperate
|
|
3203
|
+
if (mode === 'InsertBefore') {
|
|
3204
|
+
modeOperate = 'before'
|
|
3205
|
+
}
|
|
3206
|
+
else if (mode === 'InsertAfter') {
|
|
3207
|
+
modeOperate = 'after'
|
|
3208
|
+
}
|
|
3209
|
+
else if (mode === 'InsertChild') {
|
|
3210
|
+
modeOperate = 'belongto'
|
|
3211
|
+
}
|
|
3212
|
+
else {
|
|
3213
|
+
throw new Error(`invalid mode[${mode}]`)
|
|
3214
|
+
}
|
|
2695
3215
|
|
|
2696
|
-
|
|
2697
|
-
|
|
3216
|
+
let modeInsert = modeOperate
|
|
3217
|
+
if (modeInsert === 'before' || modeInsert === 'after') {
|
|
2698
3218
|
|
|
2699
|
-
|
|
2700
|
-
|
|
3219
|
+
//nkOri
|
|
3220
|
+
nkOri = []
|
|
2701
3221
|
|
|
2702
|
-
|
|
2703
|
-
|
|
3222
|
+
//pathInforsOri
|
|
3223
|
+
pathInforsOri = []
|
|
3224
|
+
// console.log('before|after', 'pathInforsOri', pathInforsOri)
|
|
2704
3225
|
|
|
2705
|
-
|
|
2706
|
-
|
|
3226
|
+
//ind, 依照mode決定ind, before是直接splice對目標節點ind位置塞入, 就能把目標往後移動, after就需+1
|
|
3227
|
+
let ind = takeRight(nkTarget)[0]
|
|
2707
3228
|
|
|
2708
|
-
|
|
2709
|
-
|
|
3229
|
+
//tar, 目標的父節點, 待移入對象
|
|
3230
|
+
let tar
|
|
3231
|
+
if (size(nkTarget) === 1) {
|
|
3232
|
+
tar = data //因目標是第1層內元素, 故要取得的父節點就是原本數據
|
|
3233
|
+
}
|
|
3234
|
+
else {
|
|
3235
|
+
let ks = dropRight(nkTarget) //目標父節點的keys, dropRight後就是其上的keyChildren
|
|
3236
|
+
tar = get(data, ks, []) //取得要移入的父節點children
|
|
3237
|
+
}
|
|
2710
3238
|
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
3239
|
+
//tar insert
|
|
3240
|
+
if (modeInsert === 'before') {
|
|
3241
|
+
// ind = ind
|
|
3242
|
+
}
|
|
3243
|
+
else if (modeInsert === 'after') {
|
|
3244
|
+
ind += 1
|
|
3245
|
+
}
|
|
3246
|
+
tar.splice(ind, 0, dataNew)
|
|
2716
3247
|
|
|
2717
|
-
|
|
2718
|
-
|
|
3248
|
+
//nkTar
|
|
3249
|
+
let nkTar = dropRight(nkTarget)
|
|
3250
|
+
nkTar = [...nkTar, ind]
|
|
2719
3251
|
|
|
2720
|
-
|
|
2721
|
-
|
|
3252
|
+
//nkNew
|
|
3253
|
+
nkNew = nkTar
|
|
2722
3254
|
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
3255
|
+
//pathInforsNew
|
|
3256
|
+
pathInforsNew = vo.getPathInfors(data, nkTar)
|
|
3257
|
+
// console.log('before|after', 'pathInforsNew', pathInforsNew)
|
|
3258
|
+
|
|
3259
|
+
}
|
|
3260
|
+
else if (modeInsert === 'belongto') {
|
|
3261
|
+
|
|
3262
|
+
//nkOri
|
|
3263
|
+
nkOri = []
|
|
3264
|
+
|
|
3265
|
+
//pathInforsOri
|
|
3266
|
+
pathInforsOri = []
|
|
3267
|
+
// console.log('belongto', 'pathInforsOri', pathInforsOri)
|
|
3268
|
+
|
|
3269
|
+
//ks, 所屬儲存子節點欄位, 也就是keyChildren
|
|
3270
|
+
let ks = [...nkTarget, vo.keyChildren]
|
|
3271
|
+
|
|
3272
|
+
//tar, 取得子節點, 若無則預設空陣列[]
|
|
3273
|
+
let tar = get(data, ks, [])
|
|
3274
|
+
|
|
3275
|
+
//push
|
|
3276
|
+
tar.push(dataNew)
|
|
3277
|
+
|
|
3278
|
+
//set
|
|
3279
|
+
set(data, ks, tar)
|
|
3280
|
+
|
|
3281
|
+
//nkTar
|
|
3282
|
+
let nkTar = [...ks, size(tar) - 1]
|
|
3283
|
+
// console.log('belongto', 'nkEnter', nkEnter)
|
|
3284
|
+
// console.log('belongto', 'ks', ks)
|
|
3285
|
+
// console.log('belongto', 'nkTar', nkTar)
|
|
3286
|
+
|
|
3287
|
+
//nkNew
|
|
3288
|
+
nkNew = nkTar
|
|
3289
|
+
|
|
3290
|
+
//pathInforsNew
|
|
3291
|
+
pathInforsNew = vo.getPathInfors(data, nkTar)
|
|
3292
|
+
// console.log('belongto', 'pathInforsNew', pathInforsNew)
|
|
2726
3293
|
|
|
2727
|
-
|
|
2728
|
-
|
|
3294
|
+
}
|
|
3295
|
+
// console.log('data2', JSON.parse(JSON.stringify(data)))
|
|
2729
3296
|
|
|
2730
|
-
|
|
2731
|
-
vo.$emit('update:data', cloneDeep(data))
|
|
3297
|
+
}
|
|
2732
3298
|
|
|
2733
|
-
|
|
2734
|
-
|
|
3299
|
+
//$nextTick
|
|
3300
|
+
vo.$nextTick(() => {
|
|
2735
3301
|
|
|
3302
|
+
//emit
|
|
3303
|
+
vo.$emit('update:data', cloneDeep(data))
|
|
3304
|
+
|
|
3305
|
+
//modeMain
|
|
3306
|
+
let modeMain = ''
|
|
3307
|
+
if (mode === 'Delete') {
|
|
3308
|
+
modeMain = 'delete'
|
|
3309
|
+
}
|
|
3310
|
+
else if (mode === 'Rename') {
|
|
3311
|
+
modeMain = 'rename'
|
|
3312
|
+
}
|
|
3313
|
+
else {
|
|
3314
|
+
modeMain = 'add'
|
|
3315
|
+
}
|
|
3316
|
+
|
|
3317
|
+
//emit
|
|
3318
|
+
vo.$emit('change-item', {
|
|
3319
|
+
from: 'operate',
|
|
3320
|
+
mode: modeMain,
|
|
3321
|
+
dir: '',
|
|
3322
|
+
kind: modeOperate,
|
|
3323
|
+
nkOri,
|
|
3324
|
+
pathInforsOri,
|
|
3325
|
+
nkNew,
|
|
3326
|
+
pathInforsNew,
|
|
2736
3327
|
})
|
|
2737
3328
|
|
|
2738
3329
|
})
|
|
3330
|
+
|
|
3331
|
+
}
|
|
3332
|
+
|
|
3333
|
+
//core
|
|
3334
|
+
await core()
|
|
2739
3335
|
.catch((err) => {
|
|
2740
3336
|
console.log(err)
|
|
2741
3337
|
})
|
|
2742
3338
|
|
|
2743
|
-
return pm
|
|
2744
3339
|
},
|
|
2745
3340
|
|
|
2746
3341
|
getDgGroupKey: function() {
|
|
@@ -2925,7 +3520,7 @@ export default {
|
|
|
2925
3520
|
|
|
2926
3521
|
let vo = this
|
|
2927
3522
|
|
|
2928
|
-
|
|
3523
|
+
//改由operateItem複寫msg.operateItem
|
|
2929
3524
|
msg.operateItem = vo.operateItem
|
|
2930
3525
|
|
|
2931
3526
|
//emit
|
|
@@ -2946,6 +3541,104 @@ export default {
|
|
|
2946
3541
|
|
|
2947
3542
|
},
|
|
2948
3543
|
|
|
3544
|
+
saveRename: function() {
|
|
3545
|
+
// console.log('saveRename')
|
|
3546
|
+
|
|
3547
|
+
let vo = this
|
|
3548
|
+
|
|
3549
|
+
//nk
|
|
3550
|
+
let nk = get(vo.editorRenameItem, 'nk', [])
|
|
3551
|
+
// console.log('vo.editorRenameItem', cloneDeep(vo.editorRenameItem))
|
|
3552
|
+
// console.log('nk', nk)
|
|
3553
|
+
|
|
3554
|
+
//path
|
|
3555
|
+
let path = [...nk, vo.keyText]
|
|
3556
|
+
// console.log('path', path)
|
|
3557
|
+
|
|
3558
|
+
//value
|
|
3559
|
+
let value = vo.editorRenameInputText
|
|
3560
|
+
// console.log('value', value)
|
|
3561
|
+
|
|
3562
|
+
//set
|
|
3563
|
+
set(vo.editorRenameData, path, value)
|
|
3564
|
+
|
|
3565
|
+
//resolve
|
|
3566
|
+
vo.editorPm.resolve('save')
|
|
3567
|
+
|
|
3568
|
+
//hide
|
|
3569
|
+
vo.editorShow = false
|
|
3570
|
+
|
|
3571
|
+
},
|
|
3572
|
+
|
|
3573
|
+
cancelEditor: function() {
|
|
3574
|
+
// console.log('cancelEditor')
|
|
3575
|
+
|
|
3576
|
+
let vo = this
|
|
3577
|
+
|
|
3578
|
+
//resolve
|
|
3579
|
+
vo.editorPm.resolve('cancel')
|
|
3580
|
+
|
|
3581
|
+
//hide
|
|
3582
|
+
vo.editorShow = false
|
|
3583
|
+
|
|
3584
|
+
},
|
|
3585
|
+
|
|
3586
|
+
showEditor: async function() {
|
|
3587
|
+
// console.log('showEditor')
|
|
3588
|
+
|
|
3589
|
+
let vo = this
|
|
3590
|
+
|
|
3591
|
+
//pm
|
|
3592
|
+
let pm = genPm()
|
|
3593
|
+
|
|
3594
|
+
//show
|
|
3595
|
+
vo.editorShow = true
|
|
3596
|
+
|
|
3597
|
+
//save
|
|
3598
|
+
vo.editorPm = pm
|
|
3599
|
+
|
|
3600
|
+
return pm
|
|
3601
|
+
},
|
|
3602
|
+
|
|
3603
|
+
operateDisableEvent: function(ev, from) {
|
|
3604
|
+
// console.log('operateDisableEvent', from, this.operateShow)
|
|
3605
|
+
|
|
3606
|
+
let vo = this
|
|
3607
|
+
|
|
3608
|
+
//check, 當operate彈窗開啟時須跳出, 否則彈窗內點擊事件亦會被stopPropagation而禁用, 而彈窗內點擊或拖曳造成drag則通過operateShow連帶變更useDraggable禁用拖曳功能
|
|
3609
|
+
if (vo.operateShow) {
|
|
3610
|
+
return
|
|
3611
|
+
}
|
|
3612
|
+
|
|
3613
|
+
//stopPropagation, 用以停用拖曳或點擊事件, 但允許mouseenter可有hover效果
|
|
3614
|
+
ev.stopPropagation()
|
|
3615
|
+
|
|
3616
|
+
},
|
|
3617
|
+
|
|
3618
|
+
operateDisplayEvent: function(from) {
|
|
3619
|
+
// console.log('operateDisplayEvent', from)
|
|
3620
|
+
|
|
3621
|
+
let vo = this
|
|
3622
|
+
|
|
3623
|
+
if (from === 'show') {
|
|
3624
|
+
vo.operateShow = true
|
|
3625
|
+
}
|
|
3626
|
+
else {
|
|
3627
|
+
vo.operateShow = false //若開啟operate彈窗又於list捲動, 會造成原始驅動popup物件已消失但來不及接收hide事件, 導致operateShow無法變更為false, 故須於change-view-items事件變更operateShow為false
|
|
3628
|
+
}
|
|
3629
|
+
|
|
3630
|
+
},
|
|
3631
|
+
|
|
3632
|
+
updateOperateShow: function(b) {
|
|
3633
|
+
// console.log('updateOperateShow', b)
|
|
3634
|
+
|
|
3635
|
+
let vo = this
|
|
3636
|
+
|
|
3637
|
+
//save
|
|
3638
|
+
vo.operateShow = b
|
|
3639
|
+
|
|
3640
|
+
},
|
|
3641
|
+
|
|
2949
3642
|
},
|
|
2950
3643
|
}
|
|
2951
3644
|
</script>
|