w-component-vue 2.2.2 → 2.2.5
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 +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-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-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_fullscreen.html +1 -1
- package/docs/examples/w-dialog_hasSaveBtn and hasCloseBtn, no save and close button.html +1 -1
- package/docs/examples/w-dialog_hasSaveBtn, no save 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_headerIconColor_headerTextColor_headerBackgroundColor.html +1 -1
- package/docs/examples/w-dialog_icon (fontawesome).html +1 -1
- package/docs/examples/w-dialog_maxWidth, for narrow width.html +1 -1
- package/docs/examples/w-dialog_multi dialogs.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_separate for slot content.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_table in slot content.html +1 -1
- package/docs/examples/w-dialog_title.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_mode.html +1 -1
- package/docs/examples/w-drawer_afloat_mode.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_drawerWidth.html +1 -1
- package/docs/examples/w-drawer_mode.html +1 -1
- package/docs/examples/w-drawer_multiple.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-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-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-json-view_default.html +1 -1
- package/docs/examples/w-json-view_events.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 +476 -0
- 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_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-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-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_headerPadding.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_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_min_max.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_ratio.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_default.html +1 -1
- package/docs/examples/w-panel-divide-vertical_min_max.html +1 -1
- package/docs/examples/w-panel-divide-vertical_ratio.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 +1 -1
- package/docs/examples/w-popup-edit-text_title_titleColor_titleFontSize_headerBackgroundColor.html +1 -1
- package/docs/examples/w-popup_auto flipping in scroll panel.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_distY.html +1 -1
- package/docs/examples/w-popup_in dialog.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_shadowStyle.html +1 -1
- package/docs/examples/w-popup_slot for table_maxWidth.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_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_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_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_width.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_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_width.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_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_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_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_rightIconColorHover_rightIconColorFocus.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_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_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_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.html +1 -1
- package/docs/examples/w-timeday-range_not editable.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_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.html +1 -1
- package/docs/examples/w-timeday_not editable.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_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.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_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_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.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_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-tree_activable_activeItem.html +656 -0
- package/docs/examples/w-tree_activable_activeItem_funActive.html +657 -0
- package/docs/examples/w-tree_activable_activeItem_itemTextColor_itemTextColorHover.html +664 -0
- package/docs/examples/w-tree_default.html +26 -13
- package/docs/examples/w-tree_defaultDisplayLevel.html +26 -13
- package/docs/examples/w-tree_draggable.html +26 -13
- package/docs/examples/w-tree_draggable_dgInsertLineColor_dgInsertBackgroundColor_dgBelongBackgroundColor.html +26 -13
- package/docs/examples/w-tree_draggable_dgPreviewOpacity_dgPreviewBorderWidth_dgBelongBackgroundColor.html +26 -13
- package/docs/examples/w-tree_draggable_dgTextDisabled_dgTextDisabledColor_dgTextDisabledPaddingLeft.html +26 -13
- package/docs/examples/w-tree_events.html +30 -13
- package/docs/examples/w-tree_filterKeywords_noResultsText.html +26 -13
- package/docs/examples/w-tree_filterKeywords_noResultsText_selectable.html +27 -14
- package/docs/examples/{w-tree_iconHeight_defItemHeight.html → w-tree_iconSize(24)_defItemHeight(24).html} +28 -15
- package/docs/examples/{w-tree_mouseenter_mouseleave_click_change-view-items.html → w-tree_iconSize(30)_defItemHeight(36).html} +29 -20
- package/docs/examples/{w-tree_iconHeight.html → w-tree_iconSize.html} +28 -15
- package/docs/examples/w-tree_iconToggleColor_iconToggleBackgroundColor_iconToggleBackgroundColorHover.html +26 -13
- package/docs/examples/w-tree_indent.html +26 -13
- package/docs/examples/w-tree_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +655 -0
- package/docs/examples/w-tree_keyPrimary_keyText_keyChildren.html +26 -13
- package/docs/examples/w-tree_no viewHeightMax.html +26 -13
- package/docs/examples/w-tree_operatable.html +26 -13
- package/docs/examples/w-tree_operatable_operateBtnBackgroundColor_operateBtnBackgroundColorHover_operateBtnBackgroundColorFocus.html +26 -13
- package/docs/examples/w-tree_operatable_operateBtnTooltip_operateItemTextForInsertBefore_perateItemTextForInsertChild.html +26 -13
- package/docs/examples/w-tree_operatable_operateItemBackgroundColor_operateItemBackgroundColorHover_operateItemTextColor.html +26 -13
- package/docs/examples/w-tree_operatable_operateItemIconSize_operateItemPaddingStyle_operatePanelWidth.html +26 -13
- package/docs/examples/w-tree_paddingStyle.html +26 -13
- package/docs/examples/w-tree_selectable.html +27 -14
- package/docs/examples/w-tree_selectable_draggable.html +27 -14
- package/docs/examples/w-tree_slot.html +26 -13
- package/docs/examples/w-tree_slot_iconUncheckedColor_iconUncheckedDisabledColor_iconCheckedColor.html +27 -14
- package/docs/examples/w-tree_slot_locked_selectable.html +27 -14
- package/docs/examples/w-tree_slot_operatable.html +26 -13
- package/docs/examples/w-tree_slot_selectable.html +27 -14
- package/docs/examples/w-tree_slot_selectable_draggable.html +27 -14
- package/docs/examples/w-tree_slot_selectable_large data (100,000 items).html +27 -14
- package/docs/examples/w-tree_viewHeightMax.html +26 -13
- 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 +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-WGroupCheck.html +8 -8
- package/docs/module-WGroupDragdrop.html +1 -1
- package/docs/module-WGroupRadio.html +7 -7
- package/docs/module-WGroupTags.html +10 -10
- 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 +2 -2
- package/docs/module-WLeafletVueDyn.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 +1 -1
- package/docs/module-WPanelDivideVertical.html +1 -1
- package/docs/module-WPanelScrolly.html +1 -1
- package/docs/module-WPanelScrollyCore.html +1 -1
- package/docs/module-WPanelStripe.html +1 -1
- package/docs/module-WPopup.html +1 -1
- package/docs/module-WPopupEditText.html +1 -1
- package/docs/module-WProgressBar.html +1 -1
- package/docs/module-WProgressCircle.html +1 -1
- package/docs/module-WQuillVueDyn.html +1 -1
- package/docs/module-WShellBottomLine.html +1 -1
- package/docs/module-WShellEllipse.html +1 -1
- package/docs/module-WShellMaterial.html +1 -1
- package/docs/module-WSwitch.html +1 -1
- package/docs/module-WTableDyn.html +1 -1
- package/docs/module-WText.html +1 -1
- package/docs/module-WTextCore.html +1 -1
- package/docs/module-WTextInt.html +1 -1
- package/docs/module-WTextIntCore.html +1 -1
- package/docs/module-WTextSelect.html +1 -1
- package/docs/module-WTextSuggest.html +1 -1
- package/docs/module-WTextSuggestCore.html +1 -1
- package/docs/module-WTextarea.html +1 -1
- package/docs/module-WTimeday.html +1 -1
- package/docs/module-WTimedayCore.html +1 -1
- package/docs/module-WTimedayRange.html +1 -1
- package/docs/module-WTimedayRangeCore.html +1 -1
- package/docs/module-WTimeminute.html +1 -1
- package/docs/module-WTimeminuteCore.html +1 -1
- package/docs/module-WTimeminuteRange.html +1 -1
- package/docs/module-WTimeminuteRangeCore.html +1 -1
- package/docs/module-WTinymceVueDyn.html +1 -1
- package/docs/module-WTree.html +74 -14
- package/docs/module-WTreeIconCheckbox.html +7 -1
- package/docs/module-WTreeIconToggle.html +7 -1
- package/docs/vuetifyColor.mjs.html +1 -1
- package/package.json +1 -1
- package/src/AppZoneWJsonView.vue +16 -0
- package/src/AppZoneWTree.vue +139 -42
- package/src/components/WGroupCheck.vue +7 -7
- package/src/components/WGroupRadio.vue +6 -6
- package/src/components/WGroupTags.vue +9 -9
- package/src/components/WImageCascadingDyn.vue +16 -10
- package/src/components/WJsonView.vue +6 -5
- package/src/components/WTree.vue +341 -49
- package/src/components/WTreeIconCheckbox.vue +56 -42
- package/src/components/WTreeIconToggle.vue +45 -25
package/src/components/WTree.vue
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
<div
|
|
4
4
|
style="position:relative; overflow:hidden;"
|
|
5
5
|
:changeViewHeightMax="changeViewHeightMax"
|
|
6
|
+
:changeActiveItem="changeActiveItem"
|
|
6
7
|
:changeDefaultDisplayLevel="changeDefaultDisplayLevel"
|
|
7
8
|
:changeDraggableAndOperatable="changeDraggableAndOperatable"
|
|
8
9
|
:changeFilterKeyWords="changeFilterKeyWords"
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
:noResultsText="noResultsText"
|
|
18
19
|
:searchingText="searchingText"
|
|
19
20
|
:show="show"
|
|
21
|
+
@render="(msg)=>{$emit('render',msg)}"
|
|
20
22
|
@change-view-items="(msg)=>{$emit('change-view-items',msg)}"
|
|
21
23
|
@change-height-of-items="(msg)=>{updateViewHeightMaxTrans(msg);$emit('change-height-of-items',msg)}"
|
|
22
24
|
>
|
|
@@ -26,14 +28,14 @@
|
|
|
26
28
|
<!-- 要把原生拖曳功能關閉draggable=false -->
|
|
27
29
|
<div
|
|
28
30
|
:key="`wt-${props.index}`"
|
|
29
|
-
:style="
|
|
31
|
+
:style="`transition:all 0.3s; ${draggable?'user-select:none;':''} ${getCursor({},props)} color:${getTextColor(props.row.item)}; background:${getBackgroundColor(props.row.item)};`"
|
|
30
32
|
:dragindex="props.index"
|
|
31
33
|
v-domdragdrop="isDraggable?getDgOpt():null"
|
|
32
34
|
@domdragdrop="dragdrop"
|
|
33
35
|
draggable="false"
|
|
34
|
-
@mouseenter="(e)=>{
|
|
35
|
-
@mouseleave="(e)=>{
|
|
36
|
-
@click="(e)=>{
|
|
36
|
+
@mouseenter="(e)=>{mouseenterItem(e,props)}"
|
|
37
|
+
@mouseleave="(e)=>{mouseleaveItem(e,props)}"
|
|
38
|
+
@click="(e)=>{clickItem(e,props)}"
|
|
37
39
|
>
|
|
38
40
|
<div :style="`position:relative; display:table; ${usePadding}`">
|
|
39
41
|
|
|
@@ -54,39 +56,34 @@
|
|
|
54
56
|
<div :style="`display:table-cell; vertical-align:top; padding-right:${separation}px;`"></div>
|
|
55
57
|
|
|
56
58
|
<div :style="`display:table-cell; vertical-align:top; padding:0px ${separation}px;`">
|
|
57
|
-
<div :style="`display:flex; align-items
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
<div :style="`padding-right:${defIconWidth}px;`" v-else></div>
|
|
69
|
-
</div>
|
|
59
|
+
<div :style="`display:flex; align-items:${useIconVerticalAlign}; justify-content:center; height:${defItemHeight}px; overflow:hidden;`">
|
|
60
|
+
<WTreeIconToggle
|
|
61
|
+
:dir="`${props.row.unfolding?'bottom':'right'}`"
|
|
62
|
+
:iconSize="iconSize"
|
|
63
|
+
:iconColor="iconToggleColor"
|
|
64
|
+
:iconBackgroundColor="iconToggleBackgroundColor"
|
|
65
|
+
:iconBackgroundColorHover="iconToggleBackgroundColorHover"
|
|
66
|
+
@click.stop="toggleItems(props.row)"
|
|
67
|
+
v-if="hasChildren(props.index)"
|
|
68
|
+
></WTreeIconToggle>
|
|
69
|
+
<div :style="`padding-right:${iconSize}px;`" v-else></div>
|
|
70
70
|
</div>
|
|
71
71
|
</div>
|
|
72
72
|
|
|
73
73
|
<!-- 因顯隱圖標比較小而勾選圖標比較大, 讓separation全灌到padding-right處使排版比較均勻 -->
|
|
74
74
|
<div :style="`display:table-cell; vertical-align:top; padding:0px ${2*separation}px 0px 0px;`" v-if="selectable">
|
|
75
|
-
<div :style="`display:flex; align-items
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
@click="checkItems(props.row)"
|
|
88
|
-
></WTreeIconCheckbox>
|
|
89
|
-
</div>
|
|
75
|
+
<div :style="`display:flex; align-items:${useIconVerticalAlign}; justify-content:center; width:${defIconSize*(iconSize/defIconSize)}px; height:${defItemHeight}px; overflow:hidden;`">
|
|
76
|
+
<WTreeIconCheckbox
|
|
77
|
+
:mode="props.row.checked"
|
|
78
|
+
:editable="getEditable(props.row.item)"
|
|
79
|
+
:uncheckedColor="iconUncheckedColor"
|
|
80
|
+
:uncheckedDisabledColor="iconUncheckedDisabledColor"
|
|
81
|
+
:checkedColor="iconCheckedColor"
|
|
82
|
+
:checkedDisabledColor="iconCheckedDisabledColor"
|
|
83
|
+
:checkedPartiallyColor="iconCheckedPartiallyColor"
|
|
84
|
+
:checkedPartiallyDisabledColor="iconCheckedPartiallyDisabledColor"
|
|
85
|
+
@click="checkItems(props.row)"
|
|
86
|
+
></WTreeIconCheckbox>
|
|
90
87
|
</div>
|
|
91
88
|
</div>
|
|
92
89
|
|
|
@@ -104,7 +101,7 @@
|
|
|
104
101
|
:setDataByPathAndValue="setDataByPathAndValue"
|
|
105
102
|
>
|
|
106
103
|
<!-- 得使用min-height否則無法撐開高度 -->
|
|
107
|
-
<div :style="`min-height:${Math.max(
|
|
104
|
+
<div :style="`min-height:${Math.max(iconSize,defItemHeight)}px; display:flex; align-items:center;`">
|
|
108
105
|
{{getText(props.row.item)}}
|
|
109
106
|
</div>
|
|
110
107
|
</slot>
|
|
@@ -211,6 +208,8 @@ import sep from 'wsemi/src/sep.mjs'
|
|
|
211
208
|
import isarr from 'wsemi/src/isarr.mjs'
|
|
212
209
|
import isobj from 'wsemi/src/isobj.mjs'
|
|
213
210
|
import isfun from 'wsemi/src/isfun.mjs'
|
|
211
|
+
import isestr from 'wsemi/src/isestr.mjs'
|
|
212
|
+
import isnum from 'wsemi/src/isnum.mjs'
|
|
214
213
|
import cint from 'wsemi/src/cint.mjs'
|
|
215
214
|
import cdbl from 'wsemi/src/cdbl.mjs'
|
|
216
215
|
import cstr from 'wsemi/src/cstr.mjs'
|
|
@@ -240,7 +239,16 @@ let gm = globalMemory()
|
|
|
240
239
|
* @vue-prop {Array|Object} [data=[]] 輸入資料陣列,預設[],各元素配合slot顯示即可,slot內提供row與irow,對應原始rows內各元素與指標,另外各元素slot時不要用margin避免計算高度有誤差
|
|
241
240
|
* @vue-prop {Number} [viewHeightMax=400] 輸入顯示區最大高度,單位為px,若給予非數字則自動依照當前顯隱最高內容調整,預設400
|
|
242
241
|
* @vue-prop {Number} [defaultDisplayLevel=null] 輸入初始展開層數數字,若輸入1就是預設展開至第1層,第2層(含)以下則都隱藏,若輸入null就是全展開,預設null
|
|
243
|
-
* @vue-prop {Boolean} [
|
|
242
|
+
* @vue-prop {Boolean} [activable=false] 輸入是否使用主動模式布林值,預設false
|
|
243
|
+
* @vue-prop {Function} [funActive=null] 輸入主動模式時處理點擊項目函數,給予並回傳true時代表點擊項目給予主動模式,回傳false代表點擊項目不給予主動模式,可應用於資料夾與有效項目之區隔,預設null
|
|
244
|
+
* @vue-prop {Object} [activeItem={}] 輸入主動模式時外部給予主動模式項目物件,物件內至少要給予keyPrimary鍵值方能進行識別,預設{}
|
|
245
|
+
* @vue-prop {String} [itemTextColor='#444'] 輸入文字顏色字串,預設'#444'
|
|
246
|
+
* @vue-prop {String} [itemTextColorHover='#222'] 輸入滑鼠移入時文字顏色字串,預設'#222'
|
|
247
|
+
* @vue-prop {String} [itemTextColorActive='#d72'] 輸入主動模式時文字顏色字串,預設'#d72'
|
|
248
|
+
* @vue-prop {String} [itemBackgroundColor='transparent'] 輸入背景顏色字串,預設'transparent'
|
|
249
|
+
* @vue-prop {String} [itemBackgroundColorHover='rgba(200,200,200,0.2)'] 輸入滑鼠移入時背景顏色字串,預設'rgba(200,200,200,0.2)'
|
|
250
|
+
* @vue-prop {String} [itemBackgroundColorActive='rgba(255,167,38,0.2)'] 輸入主動模式時背景顏色字串,預設'rgba(255,167,38,0.2)'
|
|
251
|
+
* @vue-prop {Boolean} [selectable=false] 輸入是否具有勾選模式布林值,預設false
|
|
244
252
|
* @vue-prop {Array} [selections=[]] 輸入勾選項目陣列,當selectable=true時才可使用,預設[]
|
|
245
253
|
* @vue-prop {String} [keyPrimary='id'] 輸入可選項目為物件時,主鍵之欄位字串,預設'id'
|
|
246
254
|
* @vue-prop {String} [keyText='text'] 輸入可選項目為物件時,顯示文字之欄位字串,預設'text'
|
|
@@ -248,16 +256,17 @@ let gm = globalMemory()
|
|
|
248
256
|
* @vue-prop {String} [keyLock='locked'] 輸入可選項目為物件時,禁止勾選之欄位字串,物件給予此欄位需為布林值,預設'locked'
|
|
249
257
|
* @vue-prop {Object} [paddingStyle={v:0,h:0}] 輸入內寬距離物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:0,h:0}
|
|
250
258
|
* @vue-prop {Number} [indent=1] 輸入縮排比率數字,若使用1就是1倍的圖標寬度(24px)+2*separation(3px),預設1
|
|
251
|
-
* @vue-prop {Number} [
|
|
259
|
+
* @vue-prop {Number} [iconSize=24] 輸入顯隱icon按鈕高度數字,單位為px,預設24
|
|
252
260
|
* @vue-prop {String} [iconToggleColor='grey'] 輸入顯隱icon按鈕顏色字串,預設'grey'
|
|
253
261
|
* @vue-prop {String} [iconToggleBackgroundColor='transparent'] 輸入顯隱icon按鈕背景顏色字串,預設'transparent'
|
|
254
262
|
* @vue-prop {String} [iconToggleBackgroundColorHover='rgba(128,128,128,0.15)'] 輸入滑鼠移入時顯隱icon按鈕背景顏色字串,預設'rgba(128,128,128,0.15)'
|
|
255
|
-
* @vue-prop {String} [iconUncheckedColor='grey darken-2']
|
|
256
|
-
* @vue-prop {String} [iconUncheckedDisabledColor='grey']
|
|
257
|
-
* @vue-prop {String} [iconCheckedColor='blue darken-3']
|
|
258
|
-
* @vue-prop {String} [iconCheckedDisabledColor='grey']
|
|
259
|
-
* @vue-prop {String} [iconCheckedPartiallyColor='blue darken-3']
|
|
260
|
-
* @vue-prop {String} [iconCheckedPartiallyDisabledColor='grey']
|
|
263
|
+
* @vue-prop {String} [iconUncheckedColor='grey darken-2'] 輸入核選icon未勾選時顏色字串,預設'grey darken-2'
|
|
264
|
+
* @vue-prop {String} [iconUncheckedDisabledColor='grey'] 輸入核選icon禁用時未勾選時顏色字串,預設'grey'
|
|
265
|
+
* @vue-prop {String} [iconCheckedColor='blue darken-3'] 輸入核選icon勾選時顏色字串,預設'blue darken-3'
|
|
266
|
+
* @vue-prop {String} [iconCheckedDisabledColor='grey'] 輸入核選icon禁用時勾選時顏色字串,預設'grey'
|
|
267
|
+
* @vue-prop {String} [iconCheckedPartiallyColor='blue darken-3'] 輸入核選icon部份勾選時(子節點任一有勾選但非全部勾選)顏色字串,預設'blue darken-3'
|
|
268
|
+
* @vue-prop {String} [iconCheckedPartiallyDisabledColor='grey'] 輸入核選icon禁用時部份勾選時顏色字串,預設'grey'
|
|
269
|
+
* @vue-prop {String} [iconVerticalAlign='middle'] 輸入icon垂直對齊字串,預設'middle'
|
|
261
270
|
* @vue-prop {String} [filterKeywords=''] 輸入過濾關鍵字字串,多關鍵字用空白分隔,預設''
|
|
262
271
|
* @vue-prop {Function} [filterFunction=null] 輸入過濾時呼叫處理函數,傳入為各項目物件資料,回傳布林值代表項目內是否含有關鍵字,預設null
|
|
263
272
|
* @vue-prop {String} [loadingText='Loading...'] 輸入載入中字串,預設'Loading...'
|
|
@@ -265,7 +274,7 @@ let gm = globalMemory()
|
|
|
265
274
|
* @vue-prop {String} [searchingText='Searching...'] 輸入搜索中字串,預設'Searching...'
|
|
266
275
|
* @vue-prop {Number} [defItemHeight=34] 輸入按需顯示時各項目預設高度值,給越準或給大部分項目的高度則渲染速度越快,單位為px,預設34
|
|
267
276
|
* @vue-prop {Number} [itemsPreload=5] 輸入上下方預先載入元素數量,預設5
|
|
268
|
-
* @vue-prop {Boolean} [draggable=false]
|
|
277
|
+
* @vue-prop {Boolean} [draggable=false] 輸入是否為可拖曳編輯模式布林值,若draggable設定true,此時所有節點皆為展開顯示並且禁止顯隱節點功能,也就是defaultDisplayLevel強制設定為null,此外也不提供過濾功能,也就是filterKeywords強制清空。開啟draggable僅適用小規模數據。draggable預設false
|
|
269
278
|
* @vue-prop {String} [dgTextDisabled='Can not drop here'] 輸入禁止拖曳文字字串,預設'Can not drop here'
|
|
270
279
|
* @vue-prop {String} [dgTextDisabledColor='#812'] 輸入禁止拖曳文字顏色字串,預設'#812'
|
|
271
280
|
* @vue-prop {Number} [dgTextDisabledPaddingLeft=15] 輸入禁止拖曳padding-left數字,單位px,預設15
|
|
@@ -279,7 +288,7 @@ let gm = globalMemory()
|
|
|
279
288
|
* @vue-prop {Number} [dgPreviewBorderWidth=0] 輸入拖曳時預覽元素邊框寬度數字,預設0
|
|
280
289
|
* @vue-prop {String} [dgPreviewBorderColor='#f26'] 輸入拖曳時預覽元素邊框顏色字串,預設'#f26'
|
|
281
290
|
* @vue-prop {String} [dgPreviewBackground='transparent'] 輸入拖曳時預覽元素背景顏色字串,預設'transparent'
|
|
282
|
-
* @vue-prop {Boolean} [operatable=false]
|
|
291
|
+
* @vue-prop {Boolean} [operatable=false] 輸入是否使用控制節點模式布林值,若operatable設定true,將於各項目右側顯示控制按鈕,點擊可彈出選單進行插入與刪除等項目,此時會觸發事件click-operate-item,而處理相應數據則需呼叫事件提供物件內operateItem函數,詳情請見範例。此時所有節點皆為展開顯示並且禁止顯隱節點功能,也就是defaultDisplayLevel強制設定為null,此外也不提供過濾功能,也就是filterKeywords強制清空。開啟operatable僅適用小規模數據。operatable預設false
|
|
283
292
|
* @vue-prop {String} [operateItemTextForInsertBefore='Insert before'] 輸入控制選項插入前項目之文字字串,預設'Insert before'
|
|
284
293
|
* @vue-prop {String} [operateItemTextForInsertChild='Insert child'] 輸入控制選項插入子項目之文字字串,預設'Insert child'
|
|
285
294
|
* @vue-prop {String} [operateItemTextForInsertAfter='Insert after'] 輸入控制選項插入後項目之文字字串,預設'Insert after'
|
|
@@ -298,7 +307,7 @@ let gm = globalMemory()
|
|
|
298
307
|
* @vue-prop {Number} [operateItemIconSize=22] 輸入控制項目圖標尺寸數字,預設22
|
|
299
308
|
* @vue-prop {String} [operateItemIconColor='#444'] 輸入控制項目圖標顏色字串,預設'#444'
|
|
300
309
|
* @vue-prop {String} [operateItemIconColorHover='#222'] 輸入滑鼠移入時控制項目圖標顏色字串,預設'#222'
|
|
301
|
-
* @vue-prop {Boolean} [show=true]
|
|
310
|
+
* @vue-prop {Boolean} [show=true] 輸入是否為顯示模式布林值,預設true,供組件嵌入popup時, 因先初始化但尚未顯示不需渲染, 可給予show=false避免無限偵測與重算高度問題
|
|
302
311
|
*/
|
|
303
312
|
export default {
|
|
304
313
|
directives: {
|
|
@@ -325,6 +334,18 @@ export default {
|
|
|
325
334
|
type: Number,
|
|
326
335
|
default: null,
|
|
327
336
|
},
|
|
337
|
+
activable: {
|
|
338
|
+
type: Boolean,
|
|
339
|
+
default: false,
|
|
340
|
+
},
|
|
341
|
+
funActive: {
|
|
342
|
+
type: Function,
|
|
343
|
+
default: null
|
|
344
|
+
},
|
|
345
|
+
activeItem: {
|
|
346
|
+
type: Object,
|
|
347
|
+
default: () => {},
|
|
348
|
+
},
|
|
328
349
|
selectable: {
|
|
329
350
|
type: Boolean,
|
|
330
351
|
default: false,
|
|
@@ -362,9 +383,9 @@ export default {
|
|
|
362
383
|
type: Number,
|
|
363
384
|
default: 1,
|
|
364
385
|
},
|
|
365
|
-
|
|
386
|
+
iconSize: {
|
|
366
387
|
type: Number,
|
|
367
|
-
default:
|
|
388
|
+
default: 24,
|
|
368
389
|
},
|
|
369
390
|
iconToggleColor: {
|
|
370
391
|
type: String,
|
|
@@ -402,6 +423,10 @@ export default {
|
|
|
402
423
|
type: String,
|
|
403
424
|
default: 'grey',
|
|
404
425
|
},
|
|
426
|
+
iconVerticalAlign: {
|
|
427
|
+
type: String,
|
|
428
|
+
default: 'middle', //middle, top
|
|
429
|
+
},
|
|
405
430
|
filterKeywords: {
|
|
406
431
|
type: String,
|
|
407
432
|
default: '',
|
|
@@ -430,6 +455,30 @@ export default {
|
|
|
430
455
|
type: Number,
|
|
431
456
|
default: 5,
|
|
432
457
|
},
|
|
458
|
+
itemTextColor: {
|
|
459
|
+
type: String,
|
|
460
|
+
default: '#444',
|
|
461
|
+
},
|
|
462
|
+
itemTextColorHover: {
|
|
463
|
+
type: String,
|
|
464
|
+
default: '#222',
|
|
465
|
+
},
|
|
466
|
+
itemTextColorActive: {
|
|
467
|
+
type: String,
|
|
468
|
+
default: '#d72',
|
|
469
|
+
},
|
|
470
|
+
itemBackgroundColor: {
|
|
471
|
+
type: String,
|
|
472
|
+
default: 'transparent',
|
|
473
|
+
},
|
|
474
|
+
itemBackgroundColorHover: {
|
|
475
|
+
type: String,
|
|
476
|
+
default: 'rgba(200,200,200,0.2)',
|
|
477
|
+
},
|
|
478
|
+
itemBackgroundColorActive: {
|
|
479
|
+
type: String,
|
|
480
|
+
default: 'rgba(255,167,38,0.2)',
|
|
481
|
+
},
|
|
433
482
|
draggable: {
|
|
434
483
|
type: Boolean,
|
|
435
484
|
default: false,
|
|
@@ -583,8 +632,7 @@ export default {
|
|
|
583
632
|
viewHeightMaxTrans: 2, //預設給予>=2最小內容區高度, 使能觸發顯示渲染連動機制
|
|
584
633
|
|
|
585
634
|
separation: 3,
|
|
586
|
-
|
|
587
|
-
defIconHeight: 34,
|
|
635
|
+
defIconSize: 24,
|
|
588
636
|
selectionsTrans: [],
|
|
589
637
|
|
|
590
638
|
filterKeywordsTrans: '',
|
|
@@ -601,6 +649,9 @@ export default {
|
|
|
601
649
|
dgTipWidth: 0,
|
|
602
650
|
dgTipHeight: 0,
|
|
603
651
|
|
|
652
|
+
pkActive: '',
|
|
653
|
+
pkHover: '',
|
|
654
|
+
|
|
604
655
|
}
|
|
605
656
|
},
|
|
606
657
|
beforeDestroy: function() {
|
|
@@ -648,6 +699,24 @@ export default {
|
|
|
648
699
|
return ''
|
|
649
700
|
},
|
|
650
701
|
|
|
702
|
+
changeActiveItem: function() {
|
|
703
|
+
let vo = this
|
|
704
|
+
|
|
705
|
+
//pk
|
|
706
|
+
let pk = get(vo.activeItem, vo.keyPrimary)
|
|
707
|
+
// console.log('clickItem pk', pk)
|
|
708
|
+
|
|
709
|
+
//save pkActive
|
|
710
|
+
if (vo.isKey(pk)) {
|
|
711
|
+
vo.pkActive = pk
|
|
712
|
+
}
|
|
713
|
+
else {
|
|
714
|
+
vo.pkActive = ''
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
return ''
|
|
718
|
+
},
|
|
719
|
+
|
|
651
720
|
changeDefaultDisplayLevel: function() {
|
|
652
721
|
//console.log('computed changeDefaultDisplayLevel')
|
|
653
722
|
|
|
@@ -696,7 +765,7 @@ export default {
|
|
|
696
765
|
|
|
697
766
|
let vo = this
|
|
698
767
|
|
|
699
|
-
return vo.indent * (vo.
|
|
768
|
+
return vo.indent * (vo.defIconSize + 2 * vo.separation)
|
|
700
769
|
},
|
|
701
770
|
|
|
702
771
|
usePadding: function() {
|
|
@@ -713,6 +782,62 @@ export default {
|
|
|
713
782
|
return padding
|
|
714
783
|
},
|
|
715
784
|
|
|
785
|
+
useIconVerticalAlign: function() {
|
|
786
|
+
//console.log('computed useIconVerticalAlign')
|
|
787
|
+
|
|
788
|
+
let vo = this
|
|
789
|
+
|
|
790
|
+
return vo.iconVerticalAlign === 'top' ? 'flex-start' : 'center'
|
|
791
|
+
},
|
|
792
|
+
|
|
793
|
+
useItemTextColor: function() {
|
|
794
|
+
//console.log('computed useItemTextColor')
|
|
795
|
+
|
|
796
|
+
let vo = this
|
|
797
|
+
|
|
798
|
+
return color2hex(vo.itemTextColor)
|
|
799
|
+
},
|
|
800
|
+
|
|
801
|
+
useItemBackgroundColor: function() {
|
|
802
|
+
//console.log('computed useItemBackgroundColor')
|
|
803
|
+
|
|
804
|
+
let vo = this
|
|
805
|
+
|
|
806
|
+
return color2hex(vo.itemBackgroundColor)
|
|
807
|
+
},
|
|
808
|
+
|
|
809
|
+
useItemTextColorHover: function() {
|
|
810
|
+
//console.log('computed useItemTextColorHover')
|
|
811
|
+
|
|
812
|
+
let vo = this
|
|
813
|
+
|
|
814
|
+
return color2hex(vo.itemTextColorHover)
|
|
815
|
+
},
|
|
816
|
+
|
|
817
|
+
useItemBackgroundColorHover: function() {
|
|
818
|
+
//console.log('computed useItemBackgroundColorHover')
|
|
819
|
+
|
|
820
|
+
let vo = this
|
|
821
|
+
|
|
822
|
+
return color2hex(vo.itemBackgroundColorHover)
|
|
823
|
+
},
|
|
824
|
+
|
|
825
|
+
useItemTextColorActive: function() {
|
|
826
|
+
//console.log('computed useItemTextColorActive')
|
|
827
|
+
|
|
828
|
+
let vo = this
|
|
829
|
+
|
|
830
|
+
return color2hex(vo.itemTextColorActive)
|
|
831
|
+
},
|
|
832
|
+
|
|
833
|
+
useItemBackgroundColorActive: function() {
|
|
834
|
+
//console.log('computed useItemBackgroundColorActive')
|
|
835
|
+
|
|
836
|
+
let vo = this
|
|
837
|
+
|
|
838
|
+
return color2hex(vo.itemBackgroundColorActive)
|
|
839
|
+
},
|
|
840
|
+
|
|
716
841
|
useDgTextDisabledColor: function() {
|
|
717
842
|
//console.log('computed useDgTextDisabledColor')
|
|
718
843
|
|
|
@@ -928,6 +1053,173 @@ export default {
|
|
|
928
1053
|
return !get(item, vo.keyLocked, false)
|
|
929
1054
|
},
|
|
930
1055
|
|
|
1056
|
+
isKey: function(k) {
|
|
1057
|
+
return isestr(k) || isnum(k)
|
|
1058
|
+
},
|
|
1059
|
+
|
|
1060
|
+
getCursor: function(e, props) {
|
|
1061
|
+
// console.log('getCursor', e, props)
|
|
1062
|
+
let vo = this
|
|
1063
|
+
|
|
1064
|
+
//activable
|
|
1065
|
+
if (!vo.activable) {
|
|
1066
|
+
return ''
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
//funActive
|
|
1070
|
+
let ck = true
|
|
1071
|
+
if (isfun(vo.funActive)) {
|
|
1072
|
+
ck = vo.funActive(vo.getEmitData(e, props))
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
return ck ? 'cursor:pointer;' : ''
|
|
1076
|
+
},
|
|
1077
|
+
|
|
1078
|
+
getTextColor: function(item) {
|
|
1079
|
+
// console.log('getTextColor', item)
|
|
1080
|
+
let vo = this
|
|
1081
|
+
|
|
1082
|
+
//pk
|
|
1083
|
+
let pk = get(item, vo.keyPrimary)
|
|
1084
|
+
// console.log('getTextColor pk', pk)
|
|
1085
|
+
|
|
1086
|
+
//check
|
|
1087
|
+
if (!vo.isKey(pk)) {
|
|
1088
|
+
return vo.useItemTextColor
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
//active
|
|
1092
|
+
if (vo.isKey(vo.pkActive) && pk === vo.pkActive) {
|
|
1093
|
+
// console.log('getTextColor vo.useItemTextColorActive', vo.useItemTextColorActive)
|
|
1094
|
+
return vo.useItemTextColorActive
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
//hover
|
|
1098
|
+
if (vo.isKey(vo.pkHover) && pk === vo.pkHover) {
|
|
1099
|
+
// console.log('getTextColor vo.useItemTextColorHover', vo.useItemTextColorHover)
|
|
1100
|
+
return vo.useItemTextColorHover
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
return vo.useItemTextColor
|
|
1104
|
+
},
|
|
1105
|
+
|
|
1106
|
+
getBackgroundColor: function(item) {
|
|
1107
|
+
// console.log('getBackgroundColor', item)
|
|
1108
|
+
let vo = this
|
|
1109
|
+
|
|
1110
|
+
//pk
|
|
1111
|
+
let pk = get(item, vo.keyPrimary)
|
|
1112
|
+
// console.log('getBackgroundColor pk', pk)
|
|
1113
|
+
|
|
1114
|
+
//check
|
|
1115
|
+
if (!vo.isKey(pk)) {
|
|
1116
|
+
return vo.useItemBackgroundColor
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
//active
|
|
1120
|
+
if (vo.isKey(vo.pkActive) && pk === vo.pkActive) {
|
|
1121
|
+
// console.log('getBackgroundColor vo.useItemBackgroundColorActive', vo.useItemBackgroundColorActive)
|
|
1122
|
+
return vo.useItemBackgroundColorActive
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
//hover
|
|
1126
|
+
if (vo.isKey(vo.pkHover) && pk === vo.pkHover) {
|
|
1127
|
+
// console.log('getBackgroundColor vo.useItemBackgroundColorHover', vo.useItemBackgroundColorHover)
|
|
1128
|
+
return vo.useItemBackgroundColorHover
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
return vo.useItemBackgroundColor
|
|
1132
|
+
},
|
|
1133
|
+
|
|
1134
|
+
mouseenterItem: function(e, props) {
|
|
1135
|
+
// console.log('mouseenterItem', e, props)
|
|
1136
|
+
|
|
1137
|
+
let vo = this
|
|
1138
|
+
|
|
1139
|
+
//item
|
|
1140
|
+
let item = get(props, 'row.item')
|
|
1141
|
+
|
|
1142
|
+
//pk
|
|
1143
|
+
let pk = get(item, vo.keyPrimary)
|
|
1144
|
+
|
|
1145
|
+
//check
|
|
1146
|
+
if (vo.isKey(pk)) {
|
|
1147
|
+
|
|
1148
|
+
//save pkHover
|
|
1149
|
+
vo.pkHover = pk
|
|
1150
|
+
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
//emit
|
|
1154
|
+
vo.$emit('mouseenter', vo.getEmitData(e, props))
|
|
1155
|
+
|
|
1156
|
+
},
|
|
1157
|
+
|
|
1158
|
+
mouseleaveItem: function(e, props) {
|
|
1159
|
+
// console.log('mouseleaveItem', e, props)
|
|
1160
|
+
|
|
1161
|
+
let vo = this
|
|
1162
|
+
|
|
1163
|
+
//clear pkHover
|
|
1164
|
+
vo.pkHover = ''
|
|
1165
|
+
|
|
1166
|
+
//emit
|
|
1167
|
+
vo.$emit('mouseleave', vo.getEmitData(e, props))
|
|
1168
|
+
|
|
1169
|
+
},
|
|
1170
|
+
|
|
1171
|
+
clickItem: function(e, props) {
|
|
1172
|
+
// console.log('clickItem', e, props)
|
|
1173
|
+
|
|
1174
|
+
let vo = this
|
|
1175
|
+
|
|
1176
|
+
//activable
|
|
1177
|
+
if (vo.activable) {
|
|
1178
|
+
while (true) {
|
|
1179
|
+
|
|
1180
|
+
//item
|
|
1181
|
+
let item = get(props, 'row.item')
|
|
1182
|
+
// console.log('clickItem item', item)
|
|
1183
|
+
|
|
1184
|
+
//funActive
|
|
1185
|
+
let ck = true
|
|
1186
|
+
if (isfun(vo.funActive)) {
|
|
1187
|
+
ck = vo.funActive(vo.getEmitData(e, props))
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
//check
|
|
1191
|
+
if (!ck) {
|
|
1192
|
+
break
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
//pk
|
|
1196
|
+
let pk = get(item, vo.keyPrimary)
|
|
1197
|
+
// console.log('clickItem pk', pk)
|
|
1198
|
+
|
|
1199
|
+
//check
|
|
1200
|
+
if (!vo.isKey(pk)) {
|
|
1201
|
+
break
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
//save pkActive
|
|
1205
|
+
vo.pkActive = pk
|
|
1206
|
+
|
|
1207
|
+
//activeItem
|
|
1208
|
+
let activeItem = { [vo.keyPrimary]: pk }
|
|
1209
|
+
// console.log('clickItem activeItem', activeItem)
|
|
1210
|
+
|
|
1211
|
+
//emit
|
|
1212
|
+
vo.$emit('update:activeItem', activeItem)
|
|
1213
|
+
|
|
1214
|
+
break
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
//emit
|
|
1219
|
+
vo.$emit('click', vo.getEmitData(e, props))
|
|
1220
|
+
|
|
1221
|
+
},
|
|
1222
|
+
|
|
931
1223
|
updateSelections: function() {
|
|
932
1224
|
// console.log('methods updateSelections')
|
|
933
1225
|
|