w-component-vue 2.2.7 → 2.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/w-component-vue.umd.js +3 -3
- package/dist/w-component-vue.umd.js.map +1 -1
- package/docs/binarySearch.mjs.html +1 -1
- package/docs/examples/app.html +1 -1
- package/docs/examples/app.umd.js +2 -2
- package/docs/examples/app.umd.js.map +1 -1
- package/docs/examples/w-aggrid-vue-dyn_defCellEditable.html +2 -2
- package/docs/examples/w-aggrid-vue-dyn_kpCellEditable_kpRowStyle.html +2 -2
- package/docs/examples/w-aggrid-vue-dyn_kpHeadTooltip_kpCellTooltip.html +2 -2
- package/docs/examples/w-aggrid-vue-dyn_large data (1,000,000 items).html +2 -2
- package/docs/examples/w-aggrid-vue-dyn_simple data.html +2 -2
- package/docs/examples/w-alert_backgroundColor.html +2 -2
- package/docs/examples/w-alert_borderColor.html +2 -2
- package/docs/examples/w-alert_borderRadius.html +2 -2
- package/docs/examples/w-alert_borderWidth.html +2 -2
- package/docs/examples/w-alert_default.html +2 -2
- package/docs/examples/w-alert_icon.html +2 -2
- package/docs/examples/w-alert_position.html +2 -2
- package/docs/examples/w-alert_recive closed event by promise.html +2 -2
- package/docs/examples/w-alert_shadowStyle.html +2 -2
- package/docs/examples/w-alert_textColor.html +2 -2
- package/docs/examples/w-alert_time (6s).html +2 -2
- package/docs/examples/w-alert_type error.html +2 -2
- package/docs/examples/w-alert_type infor.html +2 -2
- package/docs/examples/w-alert_type warning.html +2 -2
- package/docs/examples/w-badge_backgroundColor.html +2 -2
- package/docs/examples/w-badge_badgeAlign.html +2 -2
- package/docs/examples/w-badge_borderColor_textColor_backgroundColor.html +2 -2
- package/docs/examples/w-badge_borderRadius.html +2 -2
- package/docs/examples/w-badge_default.html +2 -2
- package/docs/examples/w-badge_textColor_backgroundColor.html +2 -2
- package/docs/examples/w-badge_textFontSize.html +2 -2
- package/docs/examples/w-button-chip_active_backgroundColorActive.html +2 -2
- package/docs/examples/w-button-chip_active_borderColorActive.html +2 -2
- package/docs/examples/w-button-chip_active_iconColorActive.html +2 -2
- package/docs/examples/w-button-chip_active_no shadow_no shadowActive.html +2 -2
- package/docs/examples/w-button-chip_active_shadowActiveStyle.html +2 -2
- package/docs/examples/w-button-chip_active_textColorActive.html +2 -2
- package/docs/examples/w-button-chip_backgroundColor_backgroundColorHover.html +2 -2
- package/docs/examples/w-button-chip_borderColor_borderColorHover.html +2 -2
- package/docs/examples/w-button-chip_borderRadius.html +2 -2
- package/docs/examples/w-button-chip_borderRadiusStyle.html +2 -2
- package/docs/examples/w-button-chip_borderRadiusStyle_borderWidth_borderColor_borderColorHover.html +2 -2
- package/docs/examples/w-button-chip_borderWidth.html +2 -2
- package/docs/examples/w-button-chip_close.html +2 -2
- package/docs/examples/w-button-chip_close_shiftRight.html +2 -2
- package/docs/examples/w-button-chip_default.html +2 -2
- package/docs/examples/w-button-chip_icon (fontawesome).html +2 -2
- package/docs/examples/w-button-chip_icon (material).html +2 -2
- package/docs/examples/w-button-chip_icon_iconColor_iconColorHover_close.html +2 -2
- package/docs/examples/w-button-chip_icon_no text.html +2 -2
- package/docs/examples/w-button-chip_loading.html +2 -2
- package/docs/examples/w-button-chip_loading_loadingColor.html +2 -2
- package/docs/examples/w-button-chip_loading_textColor_textColorHover.html +2 -2
- package/docs/examples/w-button-chip_modify loading by callback in click.html +2 -2
- package/docs/examples/w-button-chip_modify prog by callback in click.html +2 -2
- package/docs/examples/w-button-chip_no shadow.html +2 -2
- package/docs/examples/w-button-chip_not editable.html +2 -2
- package/docs/examples/w-button-chip_not editable_disabledColor.html +2 -2
- package/docs/examples/w-button-chip_paddingStyle (equal height to using icon).html +2 -2
- package/docs/examples/w-button-chip_paddingStyle (thin style).html +2 -2
- package/docs/examples/w-button-chip_paddingStyle_icon_iconSize_textFontSize.html +2 -2
- package/docs/examples/w-button-chip_prog.html +2 -2
- package/docs/examples/w-button-chip_prog_progColor_progBackgroundColor.html +2 -2
- package/docs/examples/w-button-chip_promiseUnlock.html +2 -2
- package/docs/examples/w-button-chip_rippleColor.html +2 -2
- package/docs/examples/w-button-chip_shadowStyle.html +2 -2
- package/docs/examples/w-button-chip_shiftLeft.html +2 -2
- package/docs/examples/w-button-chip_slot_close.html +2 -2
- package/docs/examples/w-button-chip_textColor.html +2 -2
- package/docs/examples/w-button-chip_textColor_textColorHover.html +2 -2
- package/docs/examples/w-button-chip_tooltip.html +2 -2
- package/docs/examples/w-button-circle_backgroundColor_backgroundColorHover_backgroundColorFocus.html +2 -2
- package/docs/examples/w-button-circle_borderWidth_borderColor_borderColorHover_borderColorFocus.html +2 -2
- package/docs/examples/w-button-circle_icon (fontawesome).html +2 -2
- package/docs/examples/w-button-circle_icon (material).html +2 -2
- package/docs/examples/w-button-circle_iconColor_iconColorHover_iconColorFocus.html +2 -2
- package/docs/examples/w-button-circle_loading.html +2 -2
- package/docs/examples/w-button-circle_loading_loadingColor.html +2 -2
- package/docs/examples/w-button-circle_no shadow.html +2 -2
- package/docs/examples/w-button-circle_not editable.html +2 -2
- package/docs/examples/w-button-circle_not editable_disabledColor.html +2 -2
- package/docs/examples/w-button-circle_paddingStyle.html +2 -2
- package/docs/examples/w-button-circle_paddingStyle_iconSize.html +2 -2
- package/docs/examples/w-button-circle_promiseUnlock.html +2 -2
- package/docs/examples/w-button-circle_rippleColor.html +2 -2
- package/docs/examples/w-button-circle_shadowStyle.html +2 -2
- package/docs/examples/w-button-circle_tooltip.html +2 -2
- package/docs/examples/w-checkbox_checkedIconColor_checkedIconColorHover_uncheckedIconColor_uncheckedIconColorHover.html +2 -2
- package/docs/examples/w-checkbox_checkedIcon_uncheckedIcon.html +2 -2
- package/docs/examples/w-checkbox_default.html +2 -2
- package/docs/examples/w-checkbox_iconSize_textFontSize.html +2 -2
- package/docs/examples/w-checkbox_not editable.html +2 -2
- package/docs/examples/w-checkbox_not editable_checkedIconColorDisabled_uncheckedIconColorDisabled.html +2 -2
- package/docs/examples/w-checkbox_text.html +2 -2
- package/docs/examples/w-checkbox_text_textColor_textColorHover.html +2 -2
- package/docs/examples/w-checkbox_use string (y or n).html +2 -2
- package/docs/examples/w-ckeditor-vue-dyn_default.html +2 -2
- package/docs/examples/w-ckeditor-vue-dyn_height.html +2 -2
- package/docs/examples/w-ckeditor-vue-dyn_not editable.html +2 -2
- package/docs/examples/w-ckeditor-vue-dyn_settings.html +2 -2
- package/docs/examples/w-confirm_contentColor_contentIconColor_contentBackgroundColor.html +2 -2
- package/docs/examples/w-confirm_contentIcon (fontawesome).html +2 -2
- package/docs/examples/w-confirm_contentIconColor.html +2 -2
- package/docs/examples/w-confirm_contentIconSize.html +2 -2
- package/docs/examples/w-confirm_hasNoBtn_yesBtnText.html +2 -2
- package/docs/examples/w-confirm_maxWidth.html +2 -2
- package/docs/examples/w-confirm_noBtnTextColor_noBtnTextColorHover_noBtnBackgroundColor_noBtnBackgroundColorHover.html +2 -2
- package/docs/examples/w-confirm_noBtnText_yesBtnText.html +2 -2
- package/docs/examples/w-confirm_scrollable (slot content).html +2 -2
- package/docs/examples/w-confirm_scrollable.html +2 -2
- package/docs/examples/w-confirm_slot content.html +2 -2
- package/docs/examples/w-confirm_slot footer.html +2 -2
- package/docs/examples/w-confirm_slot header.html +2 -2
- package/docs/examples/w-confirm_titleColor_headerBackgroundColor_footerBackgroundColor.html +2 -2
- package/docs/examples/w-confirm_title_content.html +2 -2
- package/docs/examples/w-dialog_closeWithInterceptor.html +4 -3
- package/docs/examples/w-dialog_contentTextColor_contentBackgroundColor.html +4 -3
- package/docs/examples/w-dialog_fullscreen.html +18 -8
- package/docs/examples/w-dialog_hasSaveBtn and hasCloseBtn, no save and close button.html +4 -3
- package/docs/examples/w-dialog_hasSaveBtn, no save button.html +4 -3
- package/docs/examples/w-dialog_headerBackgroundColor.html +4 -3
- package/docs/examples/w-dialog_headerBtns.html +4 -3
- package/docs/examples/w-dialog_headerIconColor_headerTextColor_headerBackgroundColor.html +4 -3
- package/docs/examples/w-dialog_icon (fontawesome).html +4 -3
- package/docs/examples/w-dialog_maxWidth, for narrow width.html +4 -3
- package/docs/examples/w-dialog_multi dialogs.html +4 -3
- package/docs/examples/w-dialog_saveBtnTooltip_closeBtnTooltip.html +4 -3
- package/docs/examples/w-dialog_scrollable.html +4 -3
- package/docs/examples/w-dialog_separate for slot content.html +4 -3
- package/docs/examples/w-dialog_slot content.html +4 -3
- package/docs/examples/w-dialog_slot header-left_header-right.html +6 -5
- package/docs/examples/w-dialog_table in slot content.html +4 -3
- package/docs/examples/w-dialog_title.html +4 -3
- package/docs/examples/w-drawer_afloat.html +25 -15
- package/docs/examples/w-drawer_afloat_afloatByFix.html +25 -15
- package/docs/examples/w-drawer_afloat_afloatByFix_dragDrawerWidth.html +296 -0
- package/docs/examples/w-drawer_afloat_afloatByFix_mode.html +25 -15
- package/docs/examples/w-drawer_afloat_afloatByFix_mode_dragDrawerWidth.html +299 -0
- package/docs/examples/w-drawer_afloat_dragDrawerWidth.html +295 -0
- package/docs/examples/w-drawer_afloat_mode.html +25 -15
- package/docs/examples/w-drawer_afloat_mode_dragDrawerWidth.html +296 -0
- package/docs/examples/w-drawer_afloat_overlayOpacity.html +25 -15
- package/docs/examples/w-drawer_default.html +25 -15
- package/docs/examples/w-drawer_dragDrawerWidth_drawerBarBorderColor_drawerBarBorderSize.html +300 -0
- package/docs/examples/w-drawer_dragDrawerWidth_drawerBarColor_drawerBarSize.html +300 -0
- package/docs/examples/w-drawer_dragDrawerWidth_drawerWidth(sync).html +302 -0
- package/docs/examples/w-drawer_dragDrawerWidth_drawerWidthMin_drawerWidthMax.html +300 -0
- package/docs/examples/w-drawer_drawerWidth.html +25 -15
- package/docs/examples/w-drawer_mode.html +25 -15
- package/docs/examples/w-drawer_mode_dragDrawerWidth.html +296 -0
- package/docs/examples/{w-drawer_multiple.html → w-drawer_multiple_dragDrawerWidth_drawerWidthMin_drawerWidthMax.html} +41 -21
- package/docs/examples/w-dropfiles_backgroundColor_backgroundColorDropIn_backgroundColorHover.html +2 -2
- package/docs/examples/w-dropfiles_borderColor_borderColorDropIn_borderColorHover_backgroundColorDropIn.html +2 -2
- package/docs/examples/w-dropfiles_borderRadius.html +2 -2
- package/docs/examples/w-dropfiles_borderWidth.html +2 -2
- package/docs/examples/w-dropfiles_default.html +2 -2
- package/docs/examples/w-dropfiles_timeTransition.html +2 -2
- package/docs/examples/w-dynamic-list_change rows.html +2 -2
- package/docs/examples/w-dynamic-list_change slot.html +2 -2
- package/docs/examples/w-dynamic-list_default.html +2 -2
- package/docs/examples/w-dynamic-list_filterKeywords_noResultsText.html +2 -2
- package/docs/examples/w-dynamic-list_large data (1,000,000 items).html +3 -3
- package/docs/examples/w-dynamic-list_processItems.html +3 -3
- package/docs/examples/w-dynamic-list_render.html +2 -2
- package/docs/examples/w-dynamic-list_slot item with image.html +3 -3
- package/docs/examples/w-dynamic-list_viewHeightMax.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_area.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_bar3D.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_continuous.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_heatmap.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_line.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_line3D.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_parallel.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_polar heatmap.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_polar.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_radar.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_scatter.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_stack.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_surface.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_tree.html +2 -2
- package/docs/examples/w-echarts-vue-dyn_treemap.html +2 -2
- package/docs/examples/w-group-check_backgroundColorActive.html +2 -2
- package/docs/examples/w-group-check_backgroundColor_backgroundColorHover.html +2 -2
- package/docs/examples/w-group-check_borderColor_borderColorHover_borderColorActive.html +2 -2
- package/docs/examples/w-group-check_borderRadius.html +2 -2
- package/docs/examples/w-group-check_borderRadius_borderRadiusStyle_paddingStyle.html +2 -2
- package/docs/examples/w-group-check_borderWidth_borderColor_borderColorHover_borderColorActive.html +2 -2
- package/docs/examples/w-group-check_click (console.log).html +2 -2
- package/docs/examples/w-group-check_default.html +2 -2
- package/docs/examples/w-group-check_group (only one).html +2 -2
- package/docs/examples/w-group-check_group_borderColor_borderColorHover_borderColorActive.html +2 -2
- package/docs/examples/w-group-check_group_groupBorderRadiusStyle_groupShift_borderRadius.html +2 -2
- package/docs/examples/w-group-check_icon (fontawesome).html +2 -2
- package/docs/examples/w-group-check_icon (material).html +2 -2
- package/docs/examples/w-group-check_iconColorActive.html +2 -2
- package/docs/examples/w-group-check_iconColor_iconColorHover.html +2 -2
- package/docs/examples/w-group-check_loading.html +2 -2
- package/docs/examples/w-group-check_loading_loadingColor.html +2 -2
- package/docs/examples/w-group-check_marginStyle.html +2 -2
- package/docs/examples/w-group-check_no shadowActive.html +2 -2
- package/docs/examples/w-group-check_not editable.html +2 -2
- package/docs/examples/w-group-check_paddingStyle_borderRadius_textColor_iconColor.html +2 -2
- package/docs/examples/w-group-check_paddingStyle_iconSize_textFontSize.html +2 -2
- package/docs/examples/w-group-check_shadow.html +2 -2
- package/docs/examples/w-group-check_shadowActiveStyle.html +2 -2
- package/docs/examples/w-group-check_shadow_shadowStyle.html +2 -2
- package/docs/examples/w-group-check_shiftLeft.html +2 -2
- package/docs/examples/w-group-check_shiftLeft_shiftRight.html +2 -2
- package/docs/examples/w-group-check_slot_shadow.html +2 -2
- package/docs/examples/w-group-check_textColor.html +2 -2
- package/docs/examples/w-group-check_textColorActive.html +2 -2
- package/docs/examples/w-group-check_textColor_textColorHover.html +2 -2
- package/docs/examples/w-group-check_tooltip.html +2 -2
- package/docs/examples/w-group-dragdrop_default.html +2 -2
- package/docs/examples/w-group-dragdrop_event (dragdrop).html +2 -2
- package/docs/examples/w-group-dragdrop_items(string array).html +2 -2
- package/docs/examples/w-group-dragdrop_keyBinder.html +2 -2
- package/docs/examples/w-group-dragdrop_not draggable.html +2 -2
- package/docs/examples/w-group-dragdrop_not itemStyleInline (block).html +2 -2
- package/docs/examples/w-group-radio_backgroundColorActive.html +2 -2
- package/docs/examples/w-group-radio_backgroundColor_backgroundColorHover.html +2 -2
- package/docs/examples/w-group-radio_borderColor_borderColorHover_borderColorActive.html +2 -2
- package/docs/examples/w-group-radio_borderRadius.html +2 -2
- package/docs/examples/w-group-radio_borderRadius_borderRadiusStyle_paddingStyle.html +2 -2
- package/docs/examples/w-group-radio_borderWidth_borderColor_borderColorHover_borderColorActive.html +2 -2
- package/docs/examples/w-group-radio_click (console.log).html +2 -2
- package/docs/examples/w-group-radio_default.html +2 -2
- package/docs/examples/w-group-radio_group (only one).html +2 -2
- package/docs/examples/w-group-radio_group_borderColor_borderColorHover_borderColorActive.html +2 -2
- package/docs/examples/w-group-radio_group_groupBorderRadiusStyle_groupShift_borderRadius.html +2 -2
- package/docs/examples/w-group-radio_icon (fontawesome).html +2 -2
- package/docs/examples/w-group-radio_icon (material).html +2 -2
- package/docs/examples/w-group-radio_iconColorActive.html +2 -2
- package/docs/examples/w-group-radio_iconColor_iconColorHover.html +2 -2
- package/docs/examples/w-group-radio_loading.html +2 -2
- package/docs/examples/w-group-radio_loading_loadingColor.html +2 -2
- package/docs/examples/w-group-radio_marginStyle.html +2 -2
- package/docs/examples/w-group-radio_no shadowActive.html +2 -2
- package/docs/examples/w-group-radio_not editable.html +2 -2
- package/docs/examples/w-group-radio_paddingStyle_borderRadius_textColor_iconColor.html +2 -2
- package/docs/examples/w-group-radio_paddingStyle_iconSize_textFontSize.html +2 -2
- package/docs/examples/w-group-radio_shadow.html +2 -2
- package/docs/examples/w-group-radio_shadowActiveStyle.html +2 -2
- package/docs/examples/w-group-radio_shadow_shadowStyle.html +2 -2
- package/docs/examples/w-group-radio_shiftLeft.html +2 -2
- package/docs/examples/w-group-radio_shiftLeft_shiftRight.html +2 -2
- package/docs/examples/w-group-radio_slot_shadow.html +2 -2
- package/docs/examples/w-group-radio_textColor.html +2 -2
- package/docs/examples/w-group-radio_textColorActive.html +2 -2
- package/docs/examples/w-group-radio_textColor_textColorHover.html +2 -2
- package/docs/examples/w-group-radio_tooltip.html +2 -2
- package/docs/examples/w-group-tags_backgroundColor_backgroundColorHover.html +2 -2
- package/docs/examples/w-group-tags_borderColor_borderColorHover.html +2 -2
- package/docs/examples/w-group-tags_borderRadius.html +2 -2
- package/docs/examples/w-group-tags_closeWithInterceptor.html +2 -2
- package/docs/examples/w-group-tags_default.html +2 -2
- package/docs/examples/w-group-tags_editableClose(no close button).html +2 -2
- package/docs/examples/w-group-tags_editableInput(no slot input).html +2 -2
- package/docs/examples/w-group-tags_enableCloseEventOnly.html +2 -2
- package/docs/examples/w-group-tags_icon (fontawesome).html +2 -2
- package/docs/examples/w-group-tags_icon (material).html +2 -2
- package/docs/examples/w-group-tags_iconColor_iconColorHover_textColor_textColorHover.html +2 -2
- package/docs/examples/w-group-tags_icon_iconColor_iconColorHover.html +2 -2
- package/docs/examples/w-group-tags_inputTextButtonTooltip.html +2 -2
- package/docs/examples/w-group-tags_inputTextColor_inputTextBorderColor_inputTextBorderColorHover_inputTextBorderColorFocus.html +2 -2
- package/docs/examples/w-group-tags_inputTextWidth.html +2 -2
- package/docs/examples/w-group-tags_marginStyle.html +2 -2
- package/docs/examples/w-group-tags_modify loading by callback in click.html +2 -2
- package/docs/examples/w-group-tags_modify loading_textColor_textColorHover.html +2 -2
- package/docs/examples/w-group-tags_modify prog by callback in click.html +2 -2
- package/docs/examples/w-group-tags_no shadow_borderColor_borderColorHover.html +2 -2
- package/docs/examples/w-group-tags_not draggable.html +2 -2
- package/docs/examples/w-group-tags_not editable.html +2 -2
- package/docs/examples/w-group-tags_not editable_nodata.html +2 -2
- package/docs/examples/w-group-tags_object items.html +2 -2
- package/docs/examples/w-group-tags_object items_addButtonTextColor_addButtonTextColorHover_addButtonIconColor.html +2 -2
- package/docs/examples/w-group-tags_object items_addButtonText_addButtonTooltip.html +2 -2
- package/docs/examples/w-group-tags_object items_keyIcon.html +2 -2
- package/docs/examples/w-group-tags_object items_keyText.html +2 -2
- package/docs/examples/w-group-tags_object items_keyTooltip.html +2 -2
- package/docs/examples/w-group-tags_object items_slot item.html +2 -2
- package/docs/examples/w-group-tags_object items_slot item_editableInput(no slot input)_useActive.html +2 -2
- package/docs/examples/w-group-tags_object items_slot item_useColorsFromItem_editableInput(no slot input).html +2 -2
- package/docs/examples/w-group-tags_paddingStyle_icon_iconSize_textFontSize.html +2 -2
- package/docs/examples/w-group-tags_progColor_progBackgroundColor.html +2 -2
- package/docs/examples/w-group-tags_shadowStyle.html +2 -2
- package/docs/examples/w-group-tags_shiftLeft.html +2 -2
- package/docs/examples/w-group-tags_slot input.html +2 -2
- package/docs/examples/w-group-tags_slot item.html +2 -2
- package/docs/examples/w-group-tags_slot item_useActive_valueActive_paddingStyle.html +2 -2
- package/docs/examples/w-group-tags_suggests.html +2 -2
- package/docs/examples/w-group-tags_suggests_inputTextColor_inputExpansionIconColor.html +2 -2
- package/docs/examples/w-group-tags_suggests_placeholder_noResultsText.html +2 -2
- package/docs/examples/w-group-tags_suggests_suggectItemFontSize_suggectItemTextColor_suggectItemTextColorHover.html +2 -2
- package/docs/examples/w-group-tags_textColor.html +2 -2
- package/docs/examples/w-group-tags_textColor_textColorHover.html +2 -2
- package/docs/examples/w-group-tags_useActive_valueActive.html +2 -2
- package/docs/examples/w-highcharts-bitmap-dyn_render (need w-hc2png-server).html +2 -2
- package/docs/examples/w-highcharts-vue-dyn_area.html +2 -2
- package/docs/examples/w-highcharts-vue-dyn_bar.html +2 -2
- package/docs/examples/w-highcharts-vue-dyn_heatmap.html +2 -2
- package/docs/examples/w-highcharts-vue-dyn_large heatmap.html +2 -2
- package/docs/examples/w-highcharts-vue-dyn_line.html +2 -2
- package/docs/examples/w-highcharts-vue-dyn_pie.html +2 -2
- package/docs/examples/w-highstock-vue-dyn_area.html +2 -2
- package/docs/examples/w-highstock-vue-dyn_line.html +2 -2
- package/docs/examples/w-icon-svg_path (mdi-access-point)_size.html +2 -2
- package/docs/examples/w-icon-svg_path (mdi-account-badge-horizontal)_timeTransition.html +2 -2
- package/docs/examples/w-icon-svg_path (mdi-fruit-cherries).html +2 -2
- package/docs/examples/w-icon-svg_path (mdi-graph-outline)_color_colorHover.html +2 -2
- package/docs/examples/w-icon-svg_path (use 3 paths)_sizeOriginal.html +2 -2
- package/docs/examples/w-icon-svg_path_sizeOriginal.html +2 -2
- package/docs/examples/w-image-cascading-dyn_arrangeWhenFinish.html +2 -2
- package/docs/examples/w-image-cascading-dyn_colNum.html +2 -2
- package/docs/examples/w-image-cascading-dyn_default(imageWidth=300).html +2 -2
- package/docs/examples/w-image-cascading-dyn_imageWidth.html +2 -2
- package/docs/examples/w-image-cascading-dyn_imageWidthSoft.html +2 -2
- package/docs/examples/w-image-viewer-dyn_multiple image with navbar.html +2 -2
- package/docs/examples/w-image-viewer-dyn_one image.html +2 -2
- package/docs/examples/w-json-view_default.html +2 -2
- package/docs/examples/w-json-view_events.html +2 -2
- package/docs/examples/w-json-view_filterKeywords_noResultsText.html +2 -2
- package/docs/examples/w-json-view_iconColor_keyColor_keyNumbersColor_numColor.html +2 -2
- package/docs/examples/w-json-view_iconSize(24)_defItemHeight(32).html +2 -2
- package/docs/examples/w-json-view_large data (15,500 lines).html +2 -2
- package/docs/examples/w-json-view_no viewHeightMax.html +2 -2
- package/docs/examples/w-json-view_viewHeightMax.html +2 -2
- package/docs/examples/w-leaflet-vue-dyn_contourSet for rain data.html +2 -2
- package/docs/examples/w-leaflet-vue-dyn_contourSets.html +2 -2
- package/docs/examples/w-leaflet-vue-dyn_pointSets.html +2 -2
- package/docs/examples/w-leaflet-vue-dyn_polygonSets.html +2 -2
- package/docs/examples/w-list-expand_activeMode(multi).html +8 -8
- package/docs/examples/w-list-expand_auto scroll.html +8 -8
- package/docs/examples/w-list-expand_default.html +8 -8
- package/docs/examples/w-list-expand_itemBackgroundColor_itemBackgroundColorHover_itemBackgroundColorActive.html +8 -8
- package/docs/examples/{w-list-expand_keyText_keyIcon.html → w-list-expand_keyText_keyIcon_keyDsp.html} +10 -9
- package/docs/examples/w-list-expand_paddingStyle.html +8 -8
- package/docs/examples/w-list-expand_slot footer.html +8 -8
- package/docs/examples/w-list-expand_slot header.html +8 -8
- package/docs/examples/w-list-expand_slot item-content_itemTextColor_itemTextColorHover_itemTextColorActive.html +8 -8
- package/docs/examples/w-list-expand_slot item-header_item-content.html +8 -8
- package/docs/examples/w-list-vertical_auto scroll.html +2 -2
- package/docs/examples/w-list-vertical_default.html +2 -2
- package/docs/examples/w-list-vertical_itemActive.html +2 -2
- package/docs/examples/w-list-vertical_itemActive_itemBackgroundColor_itemBackgroundColorHover_itemBackgroundColorActive.html +2 -2
- package/docs/examples/w-list-vertical_itemActive_itemTextColor_itemTextColorHover_itemTextColorActive.html +2 -2
- package/docs/examples/w-list-vertical_keyText_keyIcon.html +2 -2
- package/docs/examples/w-list-vertical_paddingStyle.html +2 -2
- package/docs/examples/w-list-vertical_slot footer.html +2 -2
- package/docs/examples/w-list-vertical_slot header.html +2 -2
- package/docs/examples/w-list-vertical_slot item.html +2 -2
- package/docs/examples/w-list-vertical_string items.html +2 -2
- package/docs/examples/w-list-vertical_useActive (no active).html +2 -2
- package/docs/examples/w-list-vertical_useActive (no active)_itemRippleColor.html +2 -2
- package/docs/examples/w-panel-bulge_contentBackgroundColor.html +2 -2
- package/docs/examples/w-panel-bulge_contentBorderRadius.html +2 -2
- package/docs/examples/w-panel-bulge_default.html +2 -2
- package/docs/examples/w-panel-bulge_headerBorderRadius.html +2 -2
- package/docs/examples/w-panel-bulge_headerPadding.html +2 -2
- package/docs/examples/w-panel-bulge_headerTextColor_headerBackgroundColor.html +2 -2
- package/docs/examples/w-panel-bulge_no headerShadow_no contentShadow, with green outer.html +3 -3
- package/docs/examples/w-panel-bulge_slot for header_headerBorderRadius_headerBackgroundColor(linear-gradient).html +2 -2
- package/docs/examples/w-panel-bulge_with grey outer.html +3 -3
- package/docs/examples/w-panel-divide-horizontal_barBorderSize_barBorderColor.html +2 -2
- package/docs/examples/w-panel-divide-horizontal_barColor.html +2 -2
- package/docs/examples/w-panel-divide-horizontal_barSize.html +2 -2
- package/docs/examples/w-panel-divide-horizontal_default.html +2 -2
- package/docs/examples/w-panel-divide-horizontal_min_max.html +2 -2
- package/docs/examples/w-panel-divide-horizontal_ratio.html +2 -2
- package/docs/examples/w-panel-divide-vertical_barBorderSize_barBorderColor.html +2 -2
- package/docs/examples/w-panel-divide-vertical_barColor.html +2 -2
- package/docs/examples/w-panel-divide-vertical_barSize.html +2 -2
- package/docs/examples/w-panel-divide-vertical_default.html +2 -2
- package/docs/examples/w-panel-divide-vertical_min_max.html +2 -2
- package/docs/examples/w-panel-divide-vertical_ratio.html +2 -2
- package/docs/examples/w-panel-scale_for select.html +3 -3
- package/docs/examples/w-panel-scale_for v-btn.html +2 -2
- package/docs/examples/w-panel-scale_for w-panel-bulge.html +2 -2
- package/docs/examples/w-panel-scale_for w-panel-scrolly.html +2 -2
- package/docs/examples/w-panel-scale_for w-text-suggest.html +2 -2
- package/docs/examples/w-panel-scrolly_barOpacity_barOpacityHover.html +2 -2
- package/docs/examples/w-panel-scrolly_default.html +2 -2
- package/docs/examples/w-panel-scrolly_events.html +2 -2
- package/docs/examples/w-panel-scrolly_scrollTop.html +2 -2
- package/docs/examples/w-panel-stripe_borderRadius.html +2 -2
- package/docs/examples/w-panel-stripe_buttons in slot footer.html +4 -4
- package/docs/examples/w-panel-stripe_headerBackgroundColor_footerBackgroundColor.html +2 -2
- package/docs/examples/w-panel-stripe_no footer.html +2 -2
- package/docs/examples/w-panel-stripe_no header.html +2 -2
- package/docs/examples/w-panel-stripe_no shadow, with crimson outer.html +3 -3
- package/docs/examples/w-panel-stripe_only slot icon and slot title in header.html +2 -2
- package/docs/examples/w-panel-stripe_only slot title in header.html +2 -2
- package/docs/examples/w-panel-stripe_padding.html +2 -2
- package/docs/examples/w-panel-stripe_separate for slot content.html +2 -2
- package/docs/examples/w-panel-stripe_slot icon (fontawesome).html +2 -2
- package/docs/examples/w-panel-stripe_slot icon, slot title, slot description, slot content and slot footer.html +2 -2
- package/docs/examples/w-panel-stripe_table in slot content.html +2 -2
- package/docs/examples/w-panel-stripe_with grey outer.html +3 -3
- package/docs/examples/w-popup-edit-text_default.html +2 -2
- package/docs/examples/w-popup-edit-text_in table.html +2 -2
- package/docs/examples/w-popup-edit-text_minWidthForPopup.html +2 -2
- package/docs/examples/w-popup-edit-text_minWidthForValue.html +2 -2
- package/docs/examples/w-popup-edit-text_no title.html +2 -2
- package/docs/examples/w-popup-edit-text_title_contentIcon_contentIconColor_contentIconSize.html +2 -2
- package/docs/examples/w-popup-edit-text_title_footerBackgroundColor.html +2 -2
- package/docs/examples/w-popup-edit-text_title_inputTextColor_contentIconColor_contentBackgroundColor.html +2 -2
- package/docs/examples/w-popup-edit-text_title_saveBtnText_saveBtnTextColor_saveBtnTextColorHover.html +2 -2
- package/docs/examples/w-popup-edit-text_title_titleColor_titleFontSize_headerBackgroundColor.html +2 -2
- package/docs/examples/w-popup_auto flipping in scroll panel.html +2 -2
- package/docs/examples/w-popup_backgroundColor.html +2 -2
- package/docs/examples/w-popup_borderRadius.html +2 -2
- package/docs/examples/w-popup_click item by latency hiding.html +2 -2
- package/docs/examples/w-popup_default.html +2 -2
- package/docs/examples/w-popup_distY.html +2 -2
- package/docs/examples/w-popup_in dialog.html +2 -2
- package/docs/examples/w-popup_in popup.html +2 -2
- package/docs/examples/w-popup_in scroll panel.html +2 -2
- package/docs/examples/w-popup_isolated.html +2 -2
- package/docs/examples/w-popup_maxWidth.html +2 -2
- package/docs/examples/w-popup_minWidth.html +2 -2
- package/docs/examples/w-popup_no shadow_backgroundColor.html +2 -2
- package/docs/examples/w-popup_not editable.html +2 -2
- package/docs/examples/w-popup_shadowStyle.html +2 -2
- package/docs/examples/w-popup_slot for table_maxWidth.html +2 -2
- package/docs/examples/w-progress-bar_decimal.html +2 -2
- package/docs/examples/w-progress-bar_default.html +2 -2
- package/docs/examples/w-progress-bar_enableIconFinish (no iconFinish).html +2 -2
- package/docs/examples/w-progress-bar_enableIconWaiting (no iconWaiting).html +2 -2
- package/docs/examples/w-progress-bar_height.html +2 -2
- package/docs/examples/w-progress-bar_height_borderRadius.html +2 -2
- package/docs/examples/w-progress-bar_iconFinish (fontawesome).html +2 -2
- package/docs/examples/w-progress-bar_iconFinishColor.html +2 -2
- package/docs/examples/w-progress-bar_iconSize.html +2 -2
- package/docs/examples/w-progress-bar_iconWaiting (fontawesome).html +2 -2
- package/docs/examples/w-progress-bar_iconWaitingColor.html +2 -2
- package/docs/examples/w-progress-bar_progColor.html +2 -2
- package/docs/examples/w-progress-bar_progColor_progBackgroundColor.html +2 -2
- package/docs/examples/w-progress-bar_title.html +2 -2
- package/docs/examples/w-progress-bar_title_titleTextColor.html +2 -2
- package/docs/examples/w-progress-bar_title_titleTextFontSize.html +2 -2
- package/docs/examples/w-progress-bar_value=0 (waiting).html +2 -2
- package/docs/examples/w-progress-bar_value=100 (finish).html +2 -2
- package/docs/examples/w-progress-bar_valueTextColor.html +2 -2
- package/docs/examples/w-progress-bar_valueTextFontSize.html +2 -2
- package/docs/examples/w-progress-circle_color.html +2 -2
- package/docs/examples/w-progress-circle_default.html +2 -2
- package/docs/examples/w-progress-circle_small size.html +2 -2
- package/docs/examples/w-progress-circle_tooltip.html +2 -2
- package/docs/examples/w-progress-circle_very small size.html +2 -2
- package/docs/examples/w-progress-circle_width.html +2 -2
- package/docs/examples/w-progress-circle_/344/270/255/346/226/207text.html +2 -2
- package/docs/examples/w-quill-vue-dyn_default.html +2 -2
- package/docs/examples/w-quill-vue-dyn_height.html +2 -2
- package/docs/examples/w-quill-vue-dyn_not editable.html +2 -2
- package/docs/examples/w-quill-vue-dyn_settings.html +2 -2
- package/docs/examples/w-switch_checkedSwitchCircleColor_checkedSwitchCircleColorHover_checkedSwitchBarColor_checkedSwitchBarColorHover.html +2 -2
- package/docs/examples/w-switch_default.html +2 -2
- package/docs/examples/w-switch_not editable.html +2 -2
- package/docs/examples/w-switch_not editable_checkedSwitchCircleColorDisabled_checkedSwitchBarColorDisabled_uncheckedSwitchCircleColorDisabled.html +2 -2
- package/docs/examples/w-switch_switchSize_textFontSize.html +2 -2
- package/docs/examples/w-switch_text.html +2 -2
- package/docs/examples/w-switch_text_textColor_textColorHover.html +2 -2
- package/docs/examples/w-switch_uncheckedSwitchCircleColor_uncheckedSwitchCircleColorHover_uncheckedSwitchBarColor_uncheckedSwitchBarColorHover.html +2 -2
- package/docs/examples/w-switch_use string (y or n).html +2 -2
- package/docs/examples/w-table-dyn_default.html +2 -2
- package/docs/examples/w-table-dyn_editable.html +2 -2
- package/docs/examples/w-table-dyn_editable_checkId.html +2 -2
- package/docs/examples/w-table-dyn_editable_checkId_opt.modifyDataWhenSave_save(call cmp. method).html +2 -2
- package/docs/examples/w-table-dyn_editable_checkId_successMsgFromAddRow_errorMsgFromAddRow.html +2 -2
- package/docs/examples/w-table-dyn_editable_checkId_tooltipAddRow_tooltipDeleteSelectedRows.html +2 -2
- package/docs/examples/w-table-dyn_editable_inforPaddingStyle_menuBackgroundColor.html +2 -2
- package/docs/examples/w-table-dyn_editable_opt.beforeAddRow.html +2 -2
- package/docs/examples/w-table-dyn_editable_opt.kpConvertKeysWhenUploadData.html +2 -2
- package/docs/examples/w-table-dyn_editable_opt.optForUploadData.html +2 -2
- package/docs/examples/w-table-dyn_editable_slot btns.html +3 -3
- package/docs/examples/w-table-dyn_editable_textLabelDataName_textPlaceholderDataName_textLabelDataDescription.html +2 -2
- package/docs/examples/w-table-dyn_fixIds (fix id).html +2 -2
- package/docs/examples/w-table-dyn_hideIds (hide mappingId).html +2 -2
- package/docs/examples/w-table-dyn_name_description.html +2 -2
- package/docs/examples/w-table-dyn_opt.kpHead.html +2 -2
- package/docs/examples/w-table-dyn_removeIdsWhenDownload (remove id, mappingId, order, isActive).html +2 -2
- package/docs/examples/w-table-dyn_slot btns.html +3 -3
- package/docs/examples/w-table-dyn_slot infor (name_description).html +2 -2
- package/docs/examples/w-table-dyn_sortColIds (sort by order).html +2 -2
- package/docs/examples/w-text-int_borderRadius.html +2 -2
- package/docs/examples/w-text-int_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +2 -2
- package/docs/examples/w-text-int_border_borderRadius.html +2 -2
- package/docs/examples/w-text-int_border_buttonColor_buttonColorHover_buttonColorFocus.html +2 -2
- package/docs/examples/w-text-int_border_default.html +2 -2
- package/docs/examples/w-text-int_border_not editable.html +2 -2
- package/docs/examples/w-text-int_border_width.html +2 -2
- package/docs/examples/w-text-int_buttonColor_buttonColorHover_buttonColorFocus.html +2 -2
- package/docs/examples/w-text-int_buttonIconSize.html +2 -2
- package/docs/examples/w-text-int_default.html +2 -2
- package/docs/examples/w-text-int_not editable.html +2 -2
- package/docs/examples/w-text-int_textColor.html +2 -2
- package/docs/examples/w-text-int_textFontSize.html +2 -2
- package/docs/examples/w-text-int_width.html +2 -2
- package/docs/examples/w-text-select_a lot of items.html +2 -2
- package/docs/examples/w-text-select_borderRadius.html +2 -2
- package/docs/examples/w-text-select_border_a lot of items.html +2 -2
- package/docs/examples/w-text-select_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +2 -2
- package/docs/examples/w-text-select_border_borderRadius.html +2 -2
- package/docs/examples/w-text-select_border_default.html +2 -2
- package/docs/examples/w-text-select_border_events.html +2 -2
- package/docs/examples/w-text-select_border_expansionIconSize.html +2 -2
- package/docs/examples/w-text-select_border_fullwidth.html +2 -2
- package/docs/examples/w-text-select_border_itemPaddingStyle.html +2 -2
- package/docs/examples/w-text-select_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +2 -2
- package/docs/examples/w-text-select_border_itemTextFontSize_defItemHeight_width.html +2 -2
- package/docs/examples/w-text-select_border_items(string array).html +2 -2
- package/docs/examples/w-text-select_border_keyText.html +2 -2
- package/docs/examples/w-text-select_border_leftIcon (fontawesome).html +2 -2
- package/docs/examples/w-text-select_border_leftIcon (material).html +2 -2
- package/docs/examples/w-text-select_border_leftIcon_leftIconColor_leftIconColorHover.html +2 -2
- package/docs/examples/w-text-select_border_leftIcon_leftIconSize.html +2 -2
- package/docs/examples/w-text-select_border_not editable.html +2 -2
- package/docs/examples/w-text-select_border_paddingStyle (equal height to using icon).html +2 -2
- package/docs/examples/w-text-select_border_paddingStyle (thin style).html +2 -2
- package/docs/examples/w-text-select_border_rightIcon_rightIconColor_rightIconColorHover.html +2 -2
- package/docs/examples/w-text-select_border_rightIcon_rightIconSize.html +2 -2
- package/docs/examples/w-text-select_border_showExpansionIcon.html +2 -2
- package/docs/examples/w-text-select_border_slot item.html +2 -2
- package/docs/examples/w-text-select_border_slot select.html +2 -2
- package/docs/examples/w-text-select_border_textColor_expansionIconColor.html +2 -2
- package/docs/examples/w-text-select_border_textFontSize.html +2 -2
- package/docs/examples/w-text-select_border_with popup.html +2 -2
- package/docs/examples/w-text-select_default.html +2 -2
- package/docs/examples/w-text-select_events.html +2 -2
- package/docs/examples/w-text-select_expansionIconSize.html +2 -2
- package/docs/examples/w-text-select_fullwidth.html +2 -2
- package/docs/examples/w-text-select_itemPaddingStyle.html +2 -2
- package/docs/examples/w-text-select_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +2 -2
- package/docs/examples/w-text-select_itemTextFontSize_defItemHeight_width.html +2 -2
- package/docs/examples/w-text-select_items(string array).html +2 -2
- package/docs/examples/w-text-select_keyText.html +2 -2
- package/docs/examples/w-text-select_leftIcon (fontawesome).html +2 -2
- package/docs/examples/w-text-select_leftIcon (material).html +2 -2
- package/docs/examples/w-text-select_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +2 -2
- package/docs/examples/w-text-select_leftIcon_leftIconSize.html +2 -2
- package/docs/examples/w-text-select_not editable.html +2 -2
- package/docs/examples/w-text-select_paddingStyle (equal height to using icon).html +2 -2
- package/docs/examples/w-text-select_paddingStyle (thin style).html +2 -2
- package/docs/examples/w-text-select_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +2 -2
- package/docs/examples/w-text-select_rightIcon_rightIconSize.html +2 -2
- package/docs/examples/w-text-select_showExpansionIcon.html +2 -2
- package/docs/examples/w-text-select_slot item.html +2 -2
- package/docs/examples/w-text-select_slot select.html +2 -2
- package/docs/examples/w-text-select_textColor_expansionIconColor.html +2 -2
- package/docs/examples/w-text-select_textFontSize.html +2 -2
- package/docs/examples/w-text-select_with popup.html +2 -2
- package/docs/examples/w-text-suggest_a lot of items.html +2 -2
- package/docs/examples/w-text-suggest_borderRadius.html +2 -2
- package/docs/examples/w-text-suggest_border_a lot of items.html +2 -2
- package/docs/examples/w-text-suggest_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +2 -2
- package/docs/examples/w-text-suggest_border_borderRadius.html +2 -2
- package/docs/examples/w-text-suggest_border_default.html +2 -2
- package/docs/examples/w-text-suggest_border_events.html +2 -2
- package/docs/examples/w-text-suggest_border_expansionIconSize.html +2 -2
- package/docs/examples/w-text-suggest_border_fullwidth.html +2 -2
- package/docs/examples/w-text-suggest_border_itemPaddingStyle.html +2 -2
- package/docs/examples/w-text-suggest_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +2 -2
- package/docs/examples/w-text-suggest_border_itemTextFontSize_defItemHeight.html +2 -2
- package/docs/examples/w-text-suggest_border_items(string array).html +2 -2
- package/docs/examples/w-text-suggest_border_keyText.html +2 -2
- package/docs/examples/w-text-suggest_border_leftIcon (fontawesome).html +2 -2
- package/docs/examples/w-text-suggest_border_leftIcon (material).html +2 -2
- package/docs/examples/w-text-suggest_border_leftIcon_leftIconColor_leftIconColorHover.html +2 -2
- package/docs/examples/w-text-suggest_border_leftIcon_leftIconSize.html +2 -2
- package/docs/examples/w-text-suggest_border_noResultsText.html +2 -2
- package/docs/examples/w-text-suggest_border_not editable.html +2 -2
- package/docs/examples/w-text-suggest_border_paddingStyle (equal height to using icon).html +2 -2
- package/docs/examples/w-text-suggest_border_paddingStyle (thin style).html +2 -2
- package/docs/examples/w-text-suggest_border_placeholder.html +2 -2
- package/docs/examples/w-text-suggest_border_rightIcon_rightIconColor_rightIconColorHover.html +2 -2
- package/docs/examples/w-text-suggest_border_rightIcon_rightIconSize.html +2 -2
- package/docs/examples/w-text-suggest_border_showExpansionIcon.html +2 -2
- package/docs/examples/w-text-suggest_border_showPanel(press enter to hide panel)_focused.html +2 -2
- package/docs/examples/w-text-suggest_border_slot item.html +2 -2
- package/docs/examples/w-text-suggest_border_textColor_expansionIconColor.html +2 -2
- package/docs/examples/w-text-suggest_border_textFontSize.html +2 -2
- package/docs/examples/w-text-suggest_border_with popup.html +2 -2
- package/docs/examples/w-text-suggest_default.html +2 -2
- package/docs/examples/w-text-suggest_events.html +2 -2
- package/docs/examples/w-text-suggest_expansionIconSize.html +2 -2
- package/docs/examples/w-text-suggest_fullwidth.html +2 -2
- package/docs/examples/w-text-suggest_itemPaddingStyle.html +2 -2
- package/docs/examples/w-text-suggest_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +2 -2
- package/docs/examples/w-text-suggest_itemTextFontSize_defItemHeight.html +2 -2
- package/docs/examples/w-text-suggest_items(string array).html +2 -2
- package/docs/examples/w-text-suggest_keyText.html +2 -2
- package/docs/examples/w-text-suggest_leftIcon (fontawesome).html +2 -2
- package/docs/examples/w-text-suggest_leftIcon (material).html +2 -2
- package/docs/examples/w-text-suggest_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +2 -2
- package/docs/examples/w-text-suggest_leftIcon_leftIconSize.html +2 -2
- package/docs/examples/w-text-suggest_noResultsText.html +2 -2
- package/docs/examples/w-text-suggest_not editable.html +2 -2
- package/docs/examples/w-text-suggest_paddingStyle (equal height to using icon).html +2 -2
- package/docs/examples/w-text-suggest_paddingStyle (thin style).html +2 -2
- package/docs/examples/w-text-suggest_placeholder.html +2 -2
- package/docs/examples/w-text-suggest_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +2 -2
- package/docs/examples/w-text-suggest_rightIcon_rightIconSize.html +2 -2
- package/docs/examples/w-text-suggest_showExpansionIcon.html +2 -2
- package/docs/examples/w-text-suggest_showPanel(press enter to hide panel)_focused.html +2 -2
- package/docs/examples/w-text-suggest_slot item.html +2 -2
- package/docs/examples/w-text-suggest_textColor_expansionIconColor.html +2 -2
- package/docs/examples/w-text-suggest_textFontSize.html +2 -2
- package/docs/examples/w-text_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +2 -2
- package/docs/examples/w-text_border_borderRadius_paddingStyle.html +2 -2
- package/docs/examples/w-text_border_default.html +2 -2
- package/docs/examples/w-text_border_events.html +2 -2
- package/docs/examples/w-text_border_fullwidth.html +2 -2
- package/docs/examples/w-text_border_leftIcon (fontawesome).html +2 -2
- package/docs/examples/w-text_border_leftIcon (material).html +2 -2
- package/docs/examples/w-text_border_leftIcon_leftIconColor_leftIconColorHover.html +2 -2
- package/docs/examples/w-text_border_not editable.html +2 -2
- package/docs/examples/w-text_border_placeholder.html +2 -2
- package/docs/examples/w-text_border_rightIcon_rightIconColorHover_rightIconColorFocus.html +2 -2
- package/docs/examples/w-text_border_textAlign.html +2 -2
- package/docs/examples/w-text_border_textColor.html +2 -2
- package/docs/examples/w-text_bottomLineBorderColor_bottomLineBorderColorHover_bottomLineBorderColorFocus.html +2 -2
- package/docs/examples/w-text_default.html +2 -2
- package/docs/examples/w-text_events.html +2 -2
- package/docs/examples/w-text_fullwidth.html +2 -2
- package/docs/examples/w-text_leftIcon (fontawesome).html +2 -2
- package/docs/examples/w-text_leftIcon (material).html +2 -2
- package/docs/examples/w-text_leftIcon_leftIconColor_leftIconColorFocus.html +2 -2
- package/docs/examples/w-text_leftIcon_leftIconSize.html +2 -2
- package/docs/examples/w-text_leftIcon_leftIconTooltip.html +2 -2
- package/docs/examples/w-text_not editable.html +2 -2
- package/docs/examples/w-text_placeholder.html +2 -2
- package/docs/examples/w-text_rightIcon.html +2 -2
- package/docs/examples/w-text_rightIcon_rightIconColor_rightIconColorFocus.html +2 -2
- package/docs/examples/w-text_rightIcon_rightIconSize.html +2 -2
- package/docs/examples/w-text_rightIcon_rightIconTooltip.html +2 -2
- package/docs/examples/w-text_textAlign.html +2 -2
- package/docs/examples/w-text_textColor.html +2 -2
- package/docs/examples/w-text_textFontSize.html +2 -2
- package/docs/examples/w-textarea_borderColorFocus.html +2 -2
- package/docs/examples/w-textarea_default.html +2 -2
- package/docs/examples/w-textarea_fullwidth.html +2 -2
- package/docs/examples/w-textarea_not editable.html +2 -2
- package/docs/examples/w-textarea_placeholder.html +2 -2
- package/docs/examples/w-timeday-range_between.html +2 -2
- package/docs/examples/w-timeday-range_borderRadius.html +2 -2
- package/docs/examples/w-timeday-range_border_between.html +2 -2
- package/docs/examples/w-timeday-range_border_borderRadius.html +2 -2
- package/docs/examples/w-timeday-range_border_default.html +2 -2
- package/docs/examples/w-timeday-range_border_icon (fontawesome).html +2 -2
- package/docs/examples/w-timeday-range_border_icon (material).html +2 -2
- package/docs/examples/w-timeday-range_border_iconColor_iconColorFoucs_borderColor.html +2 -2
- package/docs/examples/w-timeday-range_border_iconTooltip.html +2 -2
- package/docs/examples/w-timeday-range_border_not editable.html +2 -2
- package/docs/examples/w-timeday-range_border_pickColor.html +2 -2
- package/docs/examples/w-timeday-range_border_textColor.html +2 -2
- package/docs/examples/w-timeday-range_default.html +2 -2
- package/docs/examples/w-timeday-range_icon (fontawesome).html +2 -2
- package/docs/examples/w-timeday-range_icon (material).html +2 -2
- package/docs/examples/w-timeday-range_iconColor_iconColorFoucs.html +2 -2
- package/docs/examples/w-timeday-range_iconTooltip.html +2 -2
- package/docs/examples/w-timeday-range_icon_iconSize.html +2 -2
- package/docs/examples/w-timeday-range_not editable.html +2 -2
- package/docs/examples/w-timeday-range_pickColor.html +2 -2
- package/docs/examples/w-timeday-range_textColor.html +2 -2
- package/docs/examples/w-timeday_borderRadius.html +2 -2
- package/docs/examples/w-timeday_border_borderRadius.html +2 -2
- package/docs/examples/w-timeday_border_default.html +2 -2
- package/docs/examples/w-timeday_border_icon (fontawesome).html +2 -2
- package/docs/examples/w-timeday_border_icon (material).html +2 -2
- package/docs/examples/w-timeday_border_iconColor_iconColorFoucs_borderColor.html +2 -2
- package/docs/examples/w-timeday_border_iconTooltip.html +2 -2
- package/docs/examples/w-timeday_border_not editable.html +2 -2
- package/docs/examples/w-timeday_border_pickColor.html +2 -2
- package/docs/examples/w-timeday_border_textColor.html +2 -2
- package/docs/examples/w-timeday_default.html +2 -2
- package/docs/examples/w-timeday_icon (fontawesome).html +2 -2
- package/docs/examples/w-timeday_icon (material).html +2 -2
- package/docs/examples/w-timeday_iconColor_iconColorFoucs.html +2 -2
- package/docs/examples/w-timeday_iconTooltip.html +2 -2
- package/docs/examples/w-timeday_icon_iconSize.html +2 -2
- package/docs/examples/w-timeday_not editable.html +2 -2
- package/docs/examples/w-timeday_pickColor.html +2 -2
- package/docs/examples/w-timeday_textColor.html +2 -2
- package/docs/examples/w-timeminute-range_between.html +2 -2
- package/docs/examples/w-timeminute-range_borderRadius.html +2 -2
- package/docs/examples/w-timeminute-range_border_between.html +2 -2
- package/docs/examples/w-timeminute-range_border_borderRadius.html +2 -2
- package/docs/examples/w-timeminute-range_border_default.html +2 -2
- package/docs/examples/w-timeminute-range_border_hourMin_hourMax.html +2 -2
- package/docs/examples/w-timeminute-range_border_icon (fontawesome).html +2 -2
- package/docs/examples/w-timeminute-range_border_icon (material).html +2 -2
- package/docs/examples/w-timeminute-range_border_iconColor_iconColorFoucs_borderColor.html +2 -2
- package/docs/examples/w-timeminute-range_border_iconTooltip.html +2 -2
- package/docs/examples/w-timeminute-range_border_minuteInter.html +2 -2
- package/docs/examples/w-timeminute-range_border_minutesCustom.html +2 -2
- package/docs/examples/w-timeminute-range_border_not editable.html +2 -2
- package/docs/examples/w-timeminute-range_border_pickColor.html +2 -2
- package/docs/examples/w-timeminute-range_border_textColor_expansionIconColor.html +2 -2
- package/docs/examples/w-timeminute-range_default.html +2 -2
- package/docs/examples/w-timeminute-range_hourMin_hourMax.html +2 -2
- package/docs/examples/w-timeminute-range_icon (fontawesome).html +2 -2
- package/docs/examples/w-timeminute-range_icon (material).html +2 -2
- package/docs/examples/w-timeminute-range_iconColor_iconColorFoucs.html +2 -2
- package/docs/examples/w-timeminute-range_iconTooltip.html +2 -2
- package/docs/examples/w-timeminute-range_icon_iconSize.html +2 -2
- package/docs/examples/w-timeminute-range_minuteInter.html +2 -2
- package/docs/examples/w-timeminute-range_minutesCustom.html +2 -2
- package/docs/examples/w-timeminute-range_not editable.html +2 -2
- package/docs/examples/w-timeminute-range_pickColor.html +2 -2
- package/docs/examples/w-timeminute-range_textColor_expansionIconColor.html +2 -2
- package/docs/examples/w-timeminute_borderRadius.html +2 -2
- package/docs/examples/w-timeminute_border_borderRadius.html +2 -2
- package/docs/examples/w-timeminute_border_default.html +2 -2
- package/docs/examples/w-timeminute_border_hourMin_hourMax.html +2 -2
- package/docs/examples/w-timeminute_border_icon (fontawesome).html +2 -2
- package/docs/examples/w-timeminute_border_icon (material).html +2 -2
- package/docs/examples/w-timeminute_border_iconColor_iconColorFoucs_borderColor.html +2 -2
- package/docs/examples/w-timeminute_border_iconTooltip.html +2 -2
- package/docs/examples/w-timeminute_border_minuteInter.html +2 -2
- package/docs/examples/w-timeminute_border_minutesCustom.html +2 -2
- package/docs/examples/w-timeminute_border_not editable.html +2 -2
- package/docs/examples/w-timeminute_border_pickColor.html +2 -2
- package/docs/examples/w-timeminute_border_textColor_expansionIconColor.html +2 -2
- package/docs/examples/w-timeminute_default.html +2 -2
- package/docs/examples/w-timeminute_hourMin_hourMax.html +2 -2
- package/docs/examples/w-timeminute_icon (fontawesome).html +2 -2
- package/docs/examples/w-timeminute_icon (material).html +2 -2
- package/docs/examples/w-timeminute_iconColor_iconColorFoucs.html +2 -2
- package/docs/examples/w-timeminute_iconTooltip.html +2 -2
- package/docs/examples/w-timeminute_icon_iconSize.html +2 -2
- package/docs/examples/w-timeminute_minuteInter.html +2 -2
- package/docs/examples/w-timeminute_minutesCustom.html +2 -2
- package/docs/examples/w-timeminute_not editable.html +2 -2
- package/docs/examples/w-timeminute_pickColor.html +2 -2
- package/docs/examples/w-timeminute_textColor_expansionIconColor.html +2 -2
- package/docs/examples/w-tinymce-vue-dyn_default.html +2 -2
- package/docs/examples/w-tinymce-vue-dyn_height.html +2 -2
- package/docs/examples/w-tinymce-vue-dyn_not editable.html +2 -2
- package/docs/examples/w-tinymce-vue-dyn_settings.html +2 -2
- package/docs/examples/w-tree_activable_activeItem.html +2 -2
- package/docs/examples/w-tree_activable_activeItem_funActive.html +2 -2
- package/docs/examples/w-tree_activable_activeItem_itemTextColor_itemTextColorHover.html +2 -2
- package/docs/examples/w-tree_default.html +2 -2
- package/docs/examples/w-tree_defaultDisplayLevel.html +2 -2
- package/docs/examples/w-tree_draggable.html +2 -2
- package/docs/examples/w-tree_draggable_dgInsertLineColor_dgInsertBackgroundColor_dgBelongBackgroundColor.html +2 -2
- package/docs/examples/w-tree_draggable_dgPreviewOpacity_dgPreviewBorderWidth_dgBelongBackgroundColor.html +2 -2
- package/docs/examples/w-tree_draggable_dgTextDisabled_dgTextDisabledColor_dgTextDisabledPaddingLeft.html +2 -2
- package/docs/examples/w-tree_events.html +2 -2
- package/docs/examples/w-tree_filterKeywords_noResultsText.html +2 -2
- package/docs/examples/w-tree_filterKeywords_noResultsText_selectable.html +2 -2
- package/docs/examples/w-tree_iconSize(24)_defItemHeight(24).html +2 -2
- package/docs/examples/w-tree_iconSize(30)_defItemHeight(36).html +2 -2
- package/docs/examples/w-tree_iconSize.html +2 -2
- package/docs/examples/w-tree_iconToggleColor_iconToggleBackgroundColor_iconToggleBackgroundColorHover.html +2 -2
- package/docs/examples/w-tree_indent.html +2 -2
- package/docs/examples/w-tree_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +2 -2
- package/docs/examples/w-tree_keyPrimary_keyText_keyChildren.html +2 -2
- package/docs/examples/w-tree_no viewHeightMax.html +2 -2
- package/docs/examples/w-tree_operatable.html +2 -2
- package/docs/examples/w-tree_operatable_operateBtnBackgroundColor_operateBtnBackgroundColorHover_operateBtnBackgroundColorFocus.html +2 -2
- package/docs/examples/w-tree_operatable_operateBtnTooltip_operateItemTextForInsertBefore_perateItemTextForInsertChild.html +2 -2
- package/docs/examples/w-tree_operatable_operateItemBackgroundColor_operateItemBackgroundColorHover_operateItemTextColor.html +2 -2
- package/docs/examples/w-tree_operatable_operateItemIconSize_operateItemPaddingStyle_operatePanelWidth.html +2 -2
- package/docs/examples/w-tree_paddingStyle.html +2 -2
- package/docs/examples/w-tree_selectable.html +2 -2
- package/docs/examples/w-tree_selectable_draggable.html +2 -2
- package/docs/examples/w-tree_slot.html +2 -2
- package/docs/examples/w-tree_slot_iconUncheckedColor_iconUncheckedDisabledColor_iconCheckedColor.html +2 -2
- package/docs/examples/w-tree_slot_locked_selectable.html +2 -2
- package/docs/examples/w-tree_slot_operatable.html +2 -2
- package/docs/examples/w-tree_slot_selectable.html +2 -2
- package/docs/examples/w-tree_slot_selectable_draggable.html +2 -2
- package/docs/examples/w-tree_slot_selectable_large data (100,000 items).html +2 -2
- package/docs/examples/w-tree_viewHeightMax.html +2 -2
- package/docs/global.html +1 -1
- package/docs/highchartsSetting.mjs.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 +43 -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-WGroupCheck.html +1 -1
- package/docs/module-WGroupDragdrop.html +1 -1
- package/docs/module-WGroupRadio.html +1 -1
- package/docs/module-WGroupTags.html +1 -1
- package/docs/module-WHighchartsBitmapDyn.html +1 -1
- package/docs/module-WHighchartsVueDyn.html +1 -1
- package/docs/module-WHighstockVueDyn.html +1 -1
- package/docs/module-WIcon.html +1 -1
- package/docs/module-WIconLoading.html +1 -1
- package/docs/module-WIconSvg.html +1 -1
- package/docs/module-WImageCascadingDyn.html +1 -1
- package/docs/module-WImageViewerDyn.html +1 -1
- package/docs/module-WJsonView.html +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-WListVertical.html +1 -1
- package/docs/module-WListVerticalItem.html +1 -1
- package/docs/module-WPanelBulge.html +1 -1
- package/docs/module-WPanelDivideHorizontal.html +7 -7
- package/docs/module-WPanelDivideVertical.html +1 -1
- package/docs/module-WPanelScrolly.html +1 -1
- package/docs/module-WPanelScrollyCore.html +1 -1
- package/docs/module-WPanelStripe.html +1 -1
- package/docs/module-WPopup.html +1 -1
- package/docs/module-WPopupEditText.html +1 -1
- package/docs/module-WProgressBar.html +1 -1
- package/docs/module-WProgressCircle.html +1 -1
- package/docs/module-WQuillVueDyn.html +1 -1
- package/docs/module-WShellBottomLine.html +1 -1
- package/docs/module-WShellEllipse.html +1 -1
- package/docs/module-WShellMaterial.html +1 -1
- package/docs/module-WSwitch.html +1 -1
- package/docs/module-WTableDyn.html +1 -1
- package/docs/module-WText.html +1 -1
- package/docs/module-WTextCore.html +1 -1
- package/docs/module-WTextInt.html +1 -1
- package/docs/module-WTextIntCore.html +1 -1
- package/docs/module-WTextSelect.html +1 -1
- package/docs/module-WTextSuggest.html +1 -1
- package/docs/module-WTextSuggestCore.html +1 -1
- package/docs/module-WTextarea.html +1 -1
- package/docs/module-WTimeday.html +1 -1
- package/docs/module-WTimedayCore.html +1 -1
- package/docs/module-WTimedayRange.html +1 -1
- package/docs/module-WTimedayRangeCore.html +1 -1
- package/docs/module-WTimeminute.html +1 -1
- package/docs/module-WTimeminuteCore.html +1 -1
- package/docs/module-WTimeminuteRange.html +1 -1
- package/docs/module-WTimeminuteRangeCore.html +1 -1
- package/docs/module-WTinymceVueDyn.html +1 -1
- package/docs/module-WTree.html +1 -1
- 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/App.vue +1 -1
- package/src/AppZoneWDialog.vue +10 -7
- package/src/AppZoneWDrawer.vue +405 -33
- package/src/AppZoneWDynamicList.vue +3 -3
- package/src/AppZoneWListExpand.vue +8 -7
- package/src/AppZoneWPanelBulge.vue +2 -2
- package/src/AppZoneWPanelScale.vue +1 -1
- package/src/AppZoneWPanelStripe.vue +4 -4
- package/src/AppZoneWTableDyn.vue +2 -2
- package/src/components/WDialog.vue +7 -0
- package/src/components/WDrawer.vue +347 -20
- package/src/components/WImageCascadingDyn.vue +1 -1
- package/src/components/WListExpandItem.vue +1 -1
- package/src/components/WListVerticalItem.vue +1 -1
- package/src/components/WPanelDivideHorizontal.vue +16 -7
- package/src/components/WPanelDivideVertical.vue +11 -2
- package/src/components/WPanelScrollyCore.vue +1 -1
- package/src/components/WTree.vue +4 -4
- package/toolg/gExtractHtml.mjs +1 -1
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
<div
|
|
3
3
|
style=""
|
|
4
4
|
:changeValue="changeValue"
|
|
5
|
+
:changeDrawerWidth="changeDrawerWidth"
|
|
6
|
+
v-domresize
|
|
7
|
+
@domresize="updatePanelSize"
|
|
5
8
|
>
|
|
6
9
|
|
|
7
|
-
<div style="position:relative; height:100%;">
|
|
10
|
+
<div ref="divPanel" style="position:relative; height:100%;">
|
|
8
11
|
|
|
9
|
-
<div style="width:100%; height:100%; display:flex;">
|
|
12
|
+
<div style="width:100%; height:100%; display:flex; overflow-x:hidden;">
|
|
10
13
|
|
|
11
14
|
<!-- 撐開區, 需使用min-width避免被壓縮 -->
|
|
12
15
|
<div
|
|
@@ -15,7 +18,7 @@
|
|
|
15
18
|
v-if="isAtLeft"
|
|
16
19
|
></div>
|
|
17
20
|
|
|
18
|
-
<div style="width:100%; height:100
|
|
21
|
+
<div :style="`width:100%; height:100%;`">
|
|
19
22
|
|
|
20
23
|
<slot name="content"></slot>
|
|
21
24
|
|
|
@@ -33,32 +36,48 @@
|
|
|
33
36
|
<!-- overlay半透明灰色層 -->
|
|
34
37
|
<div
|
|
35
38
|
class="ts"
|
|
36
|
-
:style="`position:${
|
|
39
|
+
:style="`position:${useOverlayPosition}; ${useDrawerDetectLoction} top:0px; bottom:0px; z-index:${useDrawerZIndex+1}; width:${useDrawerDetectWidth}; height:100%; opacity:${useOverlayOpacity}; background:${useOverlayColor};`"
|
|
37
40
|
v-if="showOverlay1Basic"
|
|
38
41
|
>
|
|
39
42
|
</div>
|
|
40
43
|
|
|
41
44
|
<!-- overlay關閉事件監聽層, 與隱藏內層之向外陰影 -->
|
|
42
45
|
<div
|
|
43
|
-
:style="`position:${
|
|
46
|
+
:style="`position:${useOverlayPosition}; ${useDrawerDetectLoction} top:0px; bottom:0px; z-index:${useDrawerZIndex+2}; width:${useDrawerDetectWidth}; height:100%; overflow:hidden;`"
|
|
44
47
|
@click="(ev)=>{ckToggle(ev,false)}"
|
|
45
48
|
v-show="showOverlay2Detect"
|
|
46
49
|
>
|
|
47
50
|
|
|
48
51
|
<!-- drawer平移層 -->
|
|
49
52
|
<div
|
|
50
|
-
_class="ts"
|
|
51
53
|
:style="`height:100%; display:flex; justify-content:${ isAtLeft ? 'start' : 'end' };`"
|
|
52
|
-
_v-show="showOverlay4Translate"
|
|
53
54
|
>
|
|
54
55
|
|
|
55
56
|
<div
|
|
56
57
|
ref="divDrawer"
|
|
57
|
-
:class="`ts ${
|
|
58
|
-
:style="`width:${
|
|
58
|
+
:class="`ts ${useDrawerClassShadow}`"
|
|
59
|
+
:style="`width:${useDrawerWidthTrans}px; height:100%; background:#fff; transform:translateX(${useDrawerTranslateX}%);`"
|
|
59
60
|
>
|
|
60
61
|
|
|
61
|
-
<
|
|
62
|
+
<div
|
|
63
|
+
class="ts"
|
|
64
|
+
:style="`width:${useDrawerWidthTrans}px; height:100%; display:flex;`"
|
|
65
|
+
>
|
|
66
|
+
|
|
67
|
+
<div :style="`padding-left:${drawerBarSize/2}px;`" v-if="dragDrawerWidth && !isAtLeft"></div>
|
|
68
|
+
|
|
69
|
+
<div
|
|
70
|
+
class="ts"
|
|
71
|
+
:style="`width:${useDrawerWidthTrans-drawerBarSize/2}px;`"
|
|
72
|
+
>
|
|
73
|
+
|
|
74
|
+
<slot name="drawer"></slot>
|
|
75
|
+
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
<div :style="`padding-left:${drawerBarSize/2}px;`" v-if="dragDrawerWidth && isAtLeft"></div>
|
|
79
|
+
|
|
80
|
+
</div>
|
|
62
81
|
|
|
63
82
|
</div>
|
|
64
83
|
|
|
@@ -66,12 +85,30 @@
|
|
|
66
85
|
|
|
67
86
|
</div>
|
|
68
87
|
|
|
88
|
+
<!-- 拖曳寬度bar, z-index需大於drawer區, 否則多層drawer開啟拖曳寬度bar時會被遮蔽 -->
|
|
89
|
+
<!-- 延遲至抽屜出現後才通過opacity=1顯示, 否則於浮動模式時會在外側陰影層馬上看到拖曳寬度bar, 使用者體驗不佳 -->
|
|
90
|
+
<div
|
|
91
|
+
ref="divBar"
|
|
92
|
+
:style="`position:${useOverlayPosition}; z-index:${useDrawerZIndex+3}; top:0px; ${isAtLeft?'left':'right'}:${useDrawerWidthTrans-bw/2}px; width:${bw}px; height:100%; border-left:${drawerBarBorderSize}px solid ${useDrawerBarBorderColor}; border-right:${drawerBarBorderSize}px solid ${useDrawerBarBorderColor}; opacity:${showOverlay5DragDrawerBar?1:0}; cursor:col-resize; user-select:none;`"
|
|
93
|
+
v-show="value && dragDrawerWidth"
|
|
94
|
+
>
|
|
95
|
+
<div :style="`width:${drawerBarSize}px; height:100%; background:${useDrawerBarColor};`"></div>
|
|
96
|
+
</div>
|
|
97
|
+
|
|
69
98
|
</div>
|
|
70
99
|
|
|
71
100
|
</div>
|
|
72
101
|
</template>
|
|
73
102
|
|
|
74
103
|
<script>
|
|
104
|
+
import get from 'lodash/get'
|
|
105
|
+
import isNumber from 'lodash/isNumber'
|
|
106
|
+
import isnum from 'wsemi/src/isnum.mjs'
|
|
107
|
+
import isfun from 'wsemi/src/isfun.mjs'
|
|
108
|
+
import cdbl from 'wsemi/src/cdbl.mjs'
|
|
109
|
+
import domGetWindowSize from 'wsemi/src/domGetWindowSize.mjs'
|
|
110
|
+
import domDragBarAndScroll from 'wsemi/src/domDragBarAndScroll.mjs'
|
|
111
|
+
import domResize from '../js/domResize.mjs'
|
|
75
112
|
import color2hex from '../js/vuetifyColor.mjs'
|
|
76
113
|
|
|
77
114
|
|
|
@@ -79,14 +116,22 @@ import color2hex from '../js/vuetifyColor.mjs'
|
|
|
79
116
|
* @vue-prop {Boolean} [value=false] 輸入是否顯示布林值,預設false
|
|
80
117
|
* @vue-prop {String} [mode='from-left'] 輸入抽屜顯示位置字串,可使用'from-left'與'from-right',預設'from-left'
|
|
81
118
|
* @vue-prop {Number} [drawerWidth=200] 輸入抽屜寬度數字,單位為px,預設200
|
|
119
|
+
* @vue-prop {Number} [drawerWidthMin=null] 輸入使用拖曳抽屜寬度分隔條(dragDrawerWidth=true)時,拖曳抽屜寬度分隔條最小值數字,預設null
|
|
120
|
+
* @vue-prop {Number} [drawerWidthMax=null] 輸入使用拖曳抽屜寬度分隔條(dragDrawerWidth=true)時,拖曳抽屜寬度分隔條最大值數字,預設null
|
|
82
121
|
* @vue-prop {Boolean} [afloat=false] 輸入是否為浮動顯示布林值,設為true時浮在內容區上故不壓縮內容區寬度,預設false
|
|
83
122
|
* @vue-prop {Boolean} [afloatByFix=false] 輸入浮動顯示時是否使用fixed使能具有滿版配置布林值,預設false
|
|
84
123
|
* @vue-prop {Number} [overlayOpacity=0.45] 輸入浮動顯示時抽屜外側陰影層之透明度數字,預設0.45
|
|
85
124
|
* @vue-prop {String} [overlayColor='grey darken-2'] 輸入浮動顯示時抽屜外側陰影層背景顏色字串,預設'grey darken-2'
|
|
86
125
|
* @vue-prop {Number} [drawerZIndex=1] 輸入浮動顯示時抽屜使用z-index數字,預設1
|
|
126
|
+
* @vue-prop {Boolean} [dragDrawerWidth=false] 輸入是否使用拖曳抽屜寬度分隔條布林值,預設false
|
|
127
|
+
* @vue-prop {String} [drawerBarColor='#ddd'] 輸入分隔條顏色字串,預設'#ddd'
|
|
128
|
+
* @vue-prop {Number} [drawerBarSize=2] 輸入分隔條尺寸數字,為分隔條寬度,單位為px,預設2
|
|
129
|
+
* @vue-prop {String} [drawerBarBorderColor='transparent'] 輸入分隔條框線顏色字串,預設'transparent'
|
|
130
|
+
* @vue-prop {Number} [drawerBarBorderSize=3] 輸入分隔條框線寬度數字,單位為px,預設3,通常配合barBorderColor='transparent'使可拖曳區加大又不遮蔽可視區
|
|
87
131
|
*/
|
|
88
132
|
export default {
|
|
89
133
|
directives: {
|
|
134
|
+
domresize: domResize(),
|
|
90
135
|
},
|
|
91
136
|
props: {
|
|
92
137
|
value: {
|
|
@@ -101,6 +146,14 @@ export default {
|
|
|
101
146
|
type: Number,
|
|
102
147
|
default: 200,
|
|
103
148
|
},
|
|
149
|
+
drawerWidthMin: {
|
|
150
|
+
type: Number,
|
|
151
|
+
default: null,
|
|
152
|
+
},
|
|
153
|
+
drawerWidthMax: {
|
|
154
|
+
type: Number,
|
|
155
|
+
default: null,
|
|
156
|
+
},
|
|
104
157
|
afloat: {
|
|
105
158
|
type: Boolean,
|
|
106
159
|
default: false,
|
|
@@ -121,10 +174,37 @@ export default {
|
|
|
121
174
|
type: Number,
|
|
122
175
|
default: 1,
|
|
123
176
|
},
|
|
177
|
+
dragDrawerWidth: {
|
|
178
|
+
type: Boolean,
|
|
179
|
+
default: false,
|
|
180
|
+
},
|
|
181
|
+
drawerBarColor: {
|
|
182
|
+
type: String,
|
|
183
|
+
default: '#ddd',
|
|
184
|
+
},
|
|
185
|
+
drawerBarSize: {
|
|
186
|
+
type: Number,
|
|
187
|
+
default: 2,
|
|
188
|
+
},
|
|
189
|
+
drawerBarBorderColor: {
|
|
190
|
+
type: String,
|
|
191
|
+
default: 'transparent',
|
|
192
|
+
},
|
|
193
|
+
drawerBarBorderSize: {
|
|
194
|
+
type: Number,
|
|
195
|
+
default: 3, //抽屜內捲軸通常是WPanelScrolly的捲軸故寬度是8px, 而拖曳寬度bar邊寬是雙向展開, 故不能超過此8px
|
|
196
|
+
},
|
|
124
197
|
},
|
|
125
198
|
data: function() {
|
|
126
199
|
return {
|
|
127
200
|
|
|
201
|
+
panelWidth: 0,
|
|
202
|
+
panelHeight: 0,
|
|
203
|
+
|
|
204
|
+
das: null,
|
|
205
|
+
|
|
206
|
+
drawerWidthTrans: 200,
|
|
207
|
+
|
|
128
208
|
timerOverlay1Basic: null,
|
|
129
209
|
showOverlay1Basic: false,
|
|
130
210
|
effOverlay1Basic: false,
|
|
@@ -141,8 +221,35 @@ export default {
|
|
|
141
221
|
// showOverlay4Translate: false,
|
|
142
222
|
effOverlay4Translate: false,
|
|
143
223
|
|
|
224
|
+
timerOverlay5DragDrawerBar: null,
|
|
225
|
+
showOverlay5DragDrawerBar: false,
|
|
226
|
+
|
|
144
227
|
}
|
|
145
228
|
},
|
|
229
|
+
mounted: function() {
|
|
230
|
+
//console.log('mounted')
|
|
231
|
+
|
|
232
|
+
let vo = this
|
|
233
|
+
|
|
234
|
+
//das
|
|
235
|
+
let das = domDragBarAndScroll(vo.$refs.divPanel, vo.$refs.divBar, { useTouchDragForPanel: false })
|
|
236
|
+
das.on('dragBar', vo.dragBar)
|
|
237
|
+
|
|
238
|
+
//save
|
|
239
|
+
vo.das = das
|
|
240
|
+
|
|
241
|
+
},
|
|
242
|
+
beforeDestroy: function() {
|
|
243
|
+
//console.log('beforeDestroy')
|
|
244
|
+
|
|
245
|
+
let vo = this
|
|
246
|
+
|
|
247
|
+
//clear
|
|
248
|
+
if (vo.das) {
|
|
249
|
+
vo.das.clear()
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
},
|
|
146
253
|
computed: {
|
|
147
254
|
|
|
148
255
|
changeValue: function () {
|
|
@@ -159,6 +266,36 @@ export default {
|
|
|
159
266
|
return ''
|
|
160
267
|
},
|
|
161
268
|
|
|
269
|
+
changeDrawerWidth: function() {
|
|
270
|
+
let vo = this
|
|
271
|
+
vo.drawerWidthTrans = vo.drawerWidth
|
|
272
|
+
return ''
|
|
273
|
+
},
|
|
274
|
+
|
|
275
|
+
useDrawerWidthTrans: function() {
|
|
276
|
+
let vo = this
|
|
277
|
+
|
|
278
|
+
//監聽drawerWidthTrans與panelWidth有變化則重算
|
|
279
|
+
|
|
280
|
+
//trigger
|
|
281
|
+
vo.___panelWidth___ = vo.panelWidth
|
|
282
|
+
|
|
283
|
+
//getPanelEffWidth
|
|
284
|
+
let dwMax = vo.getPanelEffWidth()
|
|
285
|
+
// console.log('vo.drawerWidthTrans', vo.drawerWidthTrans, 'dwMax', dwMax)
|
|
286
|
+
|
|
287
|
+
//check
|
|
288
|
+
if (isNumber(dwMax)) {
|
|
289
|
+
dwMax = Math.min(vo.drawerWidthTrans, dwMax)
|
|
290
|
+
}
|
|
291
|
+
else {
|
|
292
|
+
dwMax = vo.drawerWidthTrans
|
|
293
|
+
}
|
|
294
|
+
// console.log('dwMax', dwMax)
|
|
295
|
+
|
|
296
|
+
return dwMax
|
|
297
|
+
},
|
|
298
|
+
|
|
162
299
|
virtualZoneWidth: function() {
|
|
163
300
|
if (!this.value) {
|
|
164
301
|
return 0
|
|
@@ -166,14 +303,14 @@ export default {
|
|
|
166
303
|
if (this.afloat) {
|
|
167
304
|
return 0
|
|
168
305
|
}
|
|
169
|
-
return this.
|
|
306
|
+
return this.useDrawerWidthTrans
|
|
170
307
|
},
|
|
171
308
|
|
|
172
309
|
isAtLeft: function() {
|
|
173
310
|
return this.mode !== 'from-right'
|
|
174
311
|
},
|
|
175
312
|
|
|
176
|
-
|
|
313
|
+
useDrawerZIndex: function() {
|
|
177
314
|
let i = this.drawerZIndex
|
|
178
315
|
if (this.afloat) {
|
|
179
316
|
i += 1000
|
|
@@ -184,25 +321,25 @@ export default {
|
|
|
184
321
|
return i
|
|
185
322
|
},
|
|
186
323
|
|
|
187
|
-
|
|
324
|
+
useOverlayColor: function() {
|
|
188
325
|
if (!this.afloat) {
|
|
189
326
|
return 'transparent'
|
|
190
327
|
}
|
|
191
328
|
return color2hex(this.overlayColor)
|
|
192
329
|
},
|
|
193
330
|
|
|
194
|
-
|
|
331
|
+
useOverlayPosition: function() {
|
|
195
332
|
return this.afloatByFix ? 'fixed' : 'absolute'
|
|
196
333
|
},
|
|
197
334
|
|
|
198
|
-
|
|
335
|
+
useOverlayOpacity: function() {
|
|
199
336
|
if (!this.afloat) {
|
|
200
337
|
return 0
|
|
201
338
|
}
|
|
202
339
|
return this.effOverlay1Basic ? this.overlayOpacity : 0
|
|
203
340
|
},
|
|
204
341
|
|
|
205
|
-
|
|
342
|
+
useDrawerTranslateX: function() {
|
|
206
343
|
if (this.effOverlay4Translate) {
|
|
207
344
|
return 0
|
|
208
345
|
}
|
|
@@ -210,27 +347,74 @@ export default {
|
|
|
210
347
|
return s0
|
|
211
348
|
},
|
|
212
349
|
|
|
213
|
-
|
|
350
|
+
useDrawerDetectLoction: function() {
|
|
214
351
|
if (this.isAtLeft) {
|
|
215
352
|
return 'left:0px;'
|
|
216
353
|
}
|
|
217
354
|
return 'right:0px;'
|
|
218
355
|
},
|
|
219
356
|
|
|
220
|
-
|
|
357
|
+
useDrawerDetectWidth: function() {
|
|
221
358
|
if (this.afloat) {
|
|
222
359
|
return '100%'
|
|
223
360
|
}
|
|
224
|
-
return `${this.
|
|
361
|
+
return `${this.useDrawerWidthTrans}px`
|
|
225
362
|
},
|
|
226
363
|
|
|
227
|
-
|
|
364
|
+
useDrawerClassShadow: function() {
|
|
228
365
|
return this.afloat && this.showOverlay3Shadow ? 'bs' : ''
|
|
229
366
|
},
|
|
230
367
|
|
|
368
|
+
bw: function() {
|
|
369
|
+
//console.log('computed changeParam')
|
|
370
|
+
|
|
371
|
+
let vo = this
|
|
372
|
+
|
|
373
|
+
return vo.drawerBarSize + vo.drawerBarBorderSize * 2
|
|
374
|
+
},
|
|
375
|
+
|
|
376
|
+
useDrawerBarColor: function() {
|
|
377
|
+
return color2hex(this.drawerBarColor)
|
|
378
|
+
},
|
|
379
|
+
|
|
380
|
+
useDrawerBarBorderColor: function() {
|
|
381
|
+
return color2hex(this.drawerBarBorderColor)
|
|
382
|
+
},
|
|
383
|
+
|
|
231
384
|
},
|
|
232
385
|
methods: {
|
|
233
386
|
|
|
387
|
+
updatePanelSize: function(msg) {
|
|
388
|
+
// console.log('methods updatePanelSize', msg)
|
|
389
|
+
|
|
390
|
+
let vo = this
|
|
391
|
+
if (!vo.afloatByFix) {
|
|
392
|
+
//抽屜浮動於組件panel
|
|
393
|
+
|
|
394
|
+
//update
|
|
395
|
+
vo.panelWidth = msg.snew.offsetWidth
|
|
396
|
+
vo.panelHeight = msg.snew.offsetHeight
|
|
397
|
+
|
|
398
|
+
}
|
|
399
|
+
else {
|
|
400
|
+
//抽屜浮動於body
|
|
401
|
+
|
|
402
|
+
//domGetWindowSize
|
|
403
|
+
let ws = domGetWindowSize()
|
|
404
|
+
|
|
405
|
+
//update
|
|
406
|
+
vo.panelWidth = ws.width
|
|
407
|
+
vo.panelHeight = ws.height
|
|
408
|
+
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
// console.log('vo.panelWidth', vo.panelWidth)
|
|
412
|
+
|
|
413
|
+
//emit
|
|
414
|
+
vo.$emit('resize', msg)
|
|
415
|
+
|
|
416
|
+
},
|
|
417
|
+
|
|
234
418
|
ckToggle: function(ev, value) {
|
|
235
419
|
// console.log('methods ckToggle', ev, value)
|
|
236
420
|
|
|
@@ -276,11 +460,14 @@ export default {
|
|
|
276
460
|
clearTimeout(vo.timerOverlay2Detect)
|
|
277
461
|
clearTimeout(vo.timerOverlay3Shadow)
|
|
278
462
|
clearTimeout(vo.timerOverlay4Translate)
|
|
463
|
+
clearTimeout(vo.timerOverlay5DragDrawerBar)
|
|
279
464
|
|
|
280
465
|
let sec
|
|
281
466
|
|
|
282
467
|
//check
|
|
283
468
|
if (value) {
|
|
469
|
+
//顯示
|
|
470
|
+
|
|
284
471
|
// vo.fsmShowOverlay.showOverlay()
|
|
285
472
|
// vo.fsmShowStateOverlay.showOverlay()
|
|
286
473
|
sec = 20
|
|
@@ -307,8 +494,14 @@ export default {
|
|
|
307
494
|
vo.effOverlay4Translate = true
|
|
308
495
|
}, sec)
|
|
309
496
|
|
|
497
|
+
vo.timerOverlay5DragDrawerBar = setTimeout(() => {
|
|
498
|
+
vo.showOverlay5DragDrawerBar = true
|
|
499
|
+
}, 300)
|
|
500
|
+
|
|
310
501
|
}
|
|
311
502
|
else {
|
|
503
|
+
//隱藏
|
|
504
|
+
|
|
312
505
|
// vo.fsmShowOverlay.hideOverlay()
|
|
313
506
|
// vo.fsmShowStateOverlay.hideOverlay()
|
|
314
507
|
sec = 300
|
|
@@ -339,6 +532,8 @@ export default {
|
|
|
339
532
|
// vo.showOverlay4Translate = false
|
|
340
533
|
// }, sec)
|
|
341
534
|
|
|
535
|
+
vo.showOverlay5DragDrawerBar = false
|
|
536
|
+
|
|
342
537
|
}
|
|
343
538
|
|
|
344
539
|
//emit
|
|
@@ -346,6 +541,138 @@ export default {
|
|
|
346
541
|
|
|
347
542
|
},
|
|
348
543
|
|
|
544
|
+
getPanelBounding: function() {
|
|
545
|
+
// console.log('methods getPanelBounding')
|
|
546
|
+
|
|
547
|
+
let vo = this
|
|
548
|
+
|
|
549
|
+
//bd
|
|
550
|
+
let bd = null
|
|
551
|
+
if (!vo.afloatByFix) {
|
|
552
|
+
//抽屜浮動於組件panel
|
|
553
|
+
|
|
554
|
+
//getBoundingClientRect
|
|
555
|
+
let func = get(vo, '$el.getBoundingClientRect')
|
|
556
|
+
if (isfun(func)) {
|
|
557
|
+
// bd = func() //不能執行func, 會造成非法調用Illegal invocation
|
|
558
|
+
bd = vo.$el.getBoundingClientRect()
|
|
559
|
+
// console.log(vo.$el.getBoundingClientRect, isfun(vo.$el.getBoundingClientRect))
|
|
560
|
+
}
|
|
561
|
+
else {
|
|
562
|
+
// console.log('vo.$el.getBoundingClientRect is not a function')
|
|
563
|
+
bd = {
|
|
564
|
+
left: 0,
|
|
565
|
+
width: 0,
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
}
|
|
570
|
+
else {
|
|
571
|
+
//抽屜浮動於body
|
|
572
|
+
|
|
573
|
+
//getWindowWidth
|
|
574
|
+
let windowWidth = get(domGetWindowSize(), 'width')
|
|
575
|
+
|
|
576
|
+
bd = {
|
|
577
|
+
left: 0,
|
|
578
|
+
width: windowWidth,
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
return bd
|
|
584
|
+
},
|
|
585
|
+
|
|
586
|
+
getPanelEffWidth: function() {
|
|
587
|
+
// console.log('methods getPanelEffWidth')
|
|
588
|
+
|
|
589
|
+
let vo = this
|
|
590
|
+
|
|
591
|
+
//effWidth
|
|
592
|
+
let effWidth = null
|
|
593
|
+
if (!vo.afloatByFix) {
|
|
594
|
+
//抽屜浮動於組件panel
|
|
595
|
+
|
|
596
|
+
//offsetWidth, 若於mounted之前呼叫因無$el, 故會回傳null
|
|
597
|
+
effWidth = get(vo, '$el.offsetWidth', null)
|
|
598
|
+
// console.log('vo.$el.offsetWidth', vo.$el.offsetWidth, 'effWidth', effWidth)
|
|
599
|
+
|
|
600
|
+
}
|
|
601
|
+
else {
|
|
602
|
+
//抽屜浮動於body
|
|
603
|
+
|
|
604
|
+
//getWindowWidth
|
|
605
|
+
effWidth = get(domGetWindowSize(), 'width')
|
|
606
|
+
|
|
607
|
+
}
|
|
608
|
+
// console.log('effWidth', effWidth)
|
|
609
|
+
|
|
610
|
+
return effWidth
|
|
611
|
+
},
|
|
612
|
+
|
|
613
|
+
dragBar: function({ clientX }) {
|
|
614
|
+
// console.log('methods dragBar', clientX)
|
|
615
|
+
|
|
616
|
+
let vo = this
|
|
617
|
+
|
|
618
|
+
//check dragDrawerWidth
|
|
619
|
+
if (!vo.dragDrawerWidth) {
|
|
620
|
+
return
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
//check value
|
|
624
|
+
if (!vo.value) {
|
|
625
|
+
return
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
//bd
|
|
629
|
+
let bd = vo.getPanelBounding()
|
|
630
|
+
|
|
631
|
+
//x
|
|
632
|
+
let x = clientX
|
|
633
|
+
|
|
634
|
+
//dw
|
|
635
|
+
let dw = null
|
|
636
|
+
if (vo.isAtLeft) {
|
|
637
|
+
//抽屜在左
|
|
638
|
+
dw = x - bd.left
|
|
639
|
+
}
|
|
640
|
+
else {
|
|
641
|
+
//抽屜在右
|
|
642
|
+
dw = bd.width - (x - bd.left)
|
|
643
|
+
}
|
|
644
|
+
// console.log(bd, 'x', x, 'dw', dw)
|
|
645
|
+
|
|
646
|
+
//dwMax
|
|
647
|
+
let dwMax = vo.getPanelEffWidth()
|
|
648
|
+
if (isnum(vo.drawerWidthMax)) {
|
|
649
|
+
dwMax = cdbl(vo.drawerWidthMax)
|
|
650
|
+
}
|
|
651
|
+
// console.log('dwMax', dwMax)
|
|
652
|
+
|
|
653
|
+
//dwMin
|
|
654
|
+
let dwMin = 0
|
|
655
|
+
if (isnum(vo.drawerWidthMin)) {
|
|
656
|
+
dwMin = cdbl(vo.drawerWidthMin)
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
//min, max
|
|
660
|
+
if (isNumber(dwMax)) {
|
|
661
|
+
dw = Math.min(dw, dwMax)
|
|
662
|
+
}
|
|
663
|
+
if (isNumber(dwMin)) {
|
|
664
|
+
dw = Math.max(dw, dwMin)
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
//update
|
|
668
|
+
vo.drawerWidthTrans = dw
|
|
669
|
+
// console.log('dw', dw)
|
|
670
|
+
|
|
671
|
+
//emit
|
|
672
|
+
vo.$emit('update:drawerWidth', dw)
|
|
673
|
+
|
|
674
|
+
},
|
|
675
|
+
|
|
349
676
|
},
|
|
350
677
|
}
|
|
351
678
|
</script>
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
<div
|
|
23
23
|
ref="divBar"
|
|
24
|
-
:style="`position:absolute; z-index:1; left:${(r)*panelWidth-bw/2}px; width:${bw}px; height:${panelHeight}px; border-left:${barBorderSize}px solid ${
|
|
24
|
+
:style="`position:absolute; z-index:1; left:${(r)*panelWidth-bw/2}px; width:${bw}px; height:${panelHeight}px; border-left:${barBorderSize}px solid ${useBarBorderColor}; border-right:${barBorderSize}px solid ${useBarBorderColor}; cursor:col-resize; user-select:none;`"
|
|
25
25
|
>
|
|
26
|
-
<div :style="`width:${barSize}px; height:${panelHeight}px; background
|
|
26
|
+
<div :style="`width:${barSize}px; height:${panelHeight}px; background:${useBarColor};`"></div>
|
|
27
27
|
</div>
|
|
28
28
|
|
|
29
29
|
<div ref="right" :style="`width:${(1-r)*panelWidth}px; height:${panelHeight}px;`">
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
<script>
|
|
44
44
|
import domDragBarAndScroll from 'wsemi/src/domDragBarAndScroll.mjs'
|
|
45
45
|
import domResize from '../js/domResize.mjs'
|
|
46
|
+
import color2hex from '../js/vuetifyColor.mjs'
|
|
46
47
|
|
|
47
48
|
|
|
48
49
|
/**
|
|
@@ -50,8 +51,8 @@ import domResize from '../js/domResize.mjs'
|
|
|
50
51
|
* @vue-prop {Number} [min=0] 輸入分隔條位置最小比例數字,範圍為0~1,需小於max,若min大於max則由min主導,預設0
|
|
51
52
|
* @vue-prop {Number} [max=1] 輸入分隔條位置最大比例數字,範圍為0~1,需大於min,若min大於max則由min主導,預設1
|
|
52
53
|
* @vue-prop {String} [barColor='#ddd'] 輸入分隔條顏色字串,預設'#ddd'
|
|
53
|
-
* @vue-prop {String} [barBorderColor='transparent'] 輸入分隔條框線顏色字串,預設'transparent'
|
|
54
54
|
* @vue-prop {Number} [barSize=2] 輸入分隔條尺寸數字,為分隔條寬度,單位為px,預設2
|
|
55
|
+
* @vue-prop {String} [barBorderColor='transparent'] 輸入分隔條框線顏色字串,預設'transparent'
|
|
55
56
|
* @vue-prop {Number} [barBorderSize=3] 輸入分隔條框線寬度數字,單位為px,預設3,通常配合barBorderColor='transparent'使可拖曳區加大又不遮蔽可視區
|
|
56
57
|
*/
|
|
57
58
|
export default {
|
|
@@ -75,14 +76,14 @@ export default {
|
|
|
75
76
|
type: String,
|
|
76
77
|
default: '#ddd',
|
|
77
78
|
},
|
|
78
|
-
barBorderColor: {
|
|
79
|
-
type: String,
|
|
80
|
-
default: 'transparent',
|
|
81
|
-
},
|
|
82
79
|
barSize: {
|
|
83
80
|
type: Number,
|
|
84
81
|
default: 2,
|
|
85
82
|
},
|
|
83
|
+
barBorderColor: {
|
|
84
|
+
type: String,
|
|
85
|
+
default: 'transparent',
|
|
86
|
+
},
|
|
86
87
|
barBorderSize: {
|
|
87
88
|
type: Number,
|
|
88
89
|
default: 3,
|
|
@@ -148,6 +149,14 @@ export default {
|
|
|
148
149
|
return vo.barSize + vo.barBorderSize * 2
|
|
149
150
|
},
|
|
150
151
|
|
|
152
|
+
useBarColor: function() {
|
|
153
|
+
return color2hex(this.barColor)
|
|
154
|
+
},
|
|
155
|
+
|
|
156
|
+
useBarBorderColor: function() {
|
|
157
|
+
return color2hex(this.barBorderColor)
|
|
158
|
+
},
|
|
159
|
+
|
|
151
160
|
},
|
|
152
161
|
methods: {
|
|
153
162
|
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
<div
|
|
23
23
|
ref="divBar"
|
|
24
|
-
:style="`position:absolute; z-index:1; top:${(r)*panelHeight-bw/2}px; width:${panelWidth}px; height:${barSize}px; border-top:${barBorderSize}px solid ${
|
|
24
|
+
:style="`position:absolute; z-index:1; top:${(r)*panelHeight-bw/2}px; width:${panelWidth}px; height:${barSize}px; border-top:${barBorderSize}px solid ${useBarBorderColor}; border-bottom:${barBorderSize}px solid ${useBarBorderColor}; cursor:row-resize; user-select:none;`"
|
|
25
25
|
>
|
|
26
|
-
<div :style="`width:${panelWidth}px; height:${barSize}px; background
|
|
26
|
+
<div :style="`width:${panelWidth}px; height:${barSize}px; background:${useBarColor};`"></div>
|
|
27
27
|
</div>
|
|
28
28
|
|
|
29
29
|
<div ref="bottom" :style="`width:${panelWidth}px; height:${(1-r)*panelHeight}px;`">
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
<script>
|
|
44
44
|
import domDragBarAndScroll from 'wsemi/src/domDragBarAndScroll.mjs'
|
|
45
45
|
import domResize from '../js/domResize.mjs'
|
|
46
|
+
import color2hex from '../js/vuetifyColor.mjs'
|
|
46
47
|
|
|
47
48
|
|
|
48
49
|
/**
|
|
@@ -148,6 +149,14 @@ export default {
|
|
|
148
149
|
return vo.barSize + vo.barBorderSize * 2
|
|
149
150
|
},
|
|
150
151
|
|
|
152
|
+
useBarColor: function() {
|
|
153
|
+
return color2hex(this.barColor)
|
|
154
|
+
},
|
|
155
|
+
|
|
156
|
+
useBarBorderColor: function() {
|
|
157
|
+
return color2hex(this.barBorderColor)
|
|
158
|
+
},
|
|
159
|
+
|
|
151
160
|
},
|
|
152
161
|
methods: {
|
|
153
162
|
|