w-component-vue 2.1.71 → 2.1.74
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 +2 -2
- package/dist/w-component-vue.umd.js +3 -3
- package/dist/w-component-vue.umd.js.map +1 -1
- package/docs/binarySearch.mjs.html +2 -2
- package/docs/examples/app.html +2 -2
- 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_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_uncheckedIconColor.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.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_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 +2 -2
- package/docs/examples/w-dialog_contentTextColor_contentBackgroundColor.html +2 -2
- package/docs/examples/w-dialog_fullscreen.html +2 -2
- package/docs/examples/w-dialog_hasSaveBtn and hasCloseBtn, no save and close button.html +2 -2
- package/docs/examples/w-dialog_hasSaveBtn, no save button.html +2 -2
- package/docs/examples/w-dialog_headerBackgroundColor.html +2 -2
- package/docs/examples/w-dialog_headerBtns.html +2 -2
- package/docs/examples/w-dialog_headerIconColor_headerTextColor_headerBackgroundColor.html +2 -2
- package/docs/examples/w-dialog_icon (fontawesome).html +2 -2
- package/docs/examples/w-dialog_maxWidth, for narrow width.html +2 -2
- package/docs/examples/w-dialog_multi dialogs.html +2 -2
- package/docs/examples/w-dialog_saveBtnTooltip_closeBtnTooltip.html +2 -2
- package/docs/examples/w-dialog_scrollable.html +2 -2
- package/docs/examples/w-dialog_separate for slot content.html +2 -2
- package/docs/examples/w-dialog_slot content.html +2 -2
- package/docs/examples/w-dialog_slot header-left_header-right.html +2 -2
- package/docs/examples/w-dialog_table in slot content.html +2 -2
- package/docs/examples/w-dialog_title.html +2 -2
- package/docs/examples/w-drawer_afloat.html +252 -0
- package/docs/examples/w-drawer_afloat_afloatByFix.html +253 -0
- package/docs/examples/w-drawer_afloat_afloatByFix_mode.html +254 -0
- package/docs/examples/w-drawer_afloat_mode.html +253 -0
- package/docs/examples/w-drawer_afloat_overlayOpacity.html +255 -0
- package/docs/examples/w-drawer_default.html +253 -0
- package/docs/examples/w-drawer_drawerWidth.html +254 -0
- package/docs/examples/w-drawer_mode.html +254 -0
- 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 +2 -2
- package/docs/examples/w-dynamic-list_processItems.html +2 -2
- package/docs/examples/w-dynamic-list_render.html +2 -2
- package/docs/examples/w-dynamic-list_slot item with image.html +2 -2
- 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_area.html +2 -2
- package/docs/examples/w-highcharts-bitmap-dyn_bar.html +2 -2
- package/docs/examples/w-highcharts-bitmap-dyn_change options.html +2 -2
- package/docs/examples/w-highcharts-bitmap-dyn_heatmap.html +2 -2
- package/docs/examples/w-highcharts-bitmap-dyn_large heatmap.html +2 -2
- package/docs/examples/w-highcharts-bitmap-dyn_line.html +2 -2
- package/docs/examples/w-highcharts-bitmap-dyn_pie.html +2 -2
- package/docs/examples/w-highcharts-bitmap-dyn_render (need w-hc2png-server) (line).html +2 -2
- package/docs/examples/w-highcharts-bitmap-dyn_scale (line).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-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_filterKeywords_noResultsText.html +2 -2
- package/docs/examples/w-json-view_iconColor_keyColor_keyNumbersColor_numColor.html +2 -2
- package/docs/examples/w-json-view_large data (15,500 lines).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-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 +2 -2
- 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 +2 -2
- package/docs/examples/w-panel-chart_cmpName (WEchartsVueDyn).html +2 -2
- package/docs/examples/w-panel-chart_cmpName (WHighchartsBitmapDyn).html +2 -2
- package/docs/examples/w-panel-chart_cmpName (WHighstockVueDyn).html +2 -2
- package/docs/examples/w-panel-chart_default (WHighchartsVueDyn).html +2 -2
- package/docs/examples/w-panel-chart_downloadPicture.html +2 -2
- package/docs/examples/w-panel-chart_downloadPicture_downloadPictureBtnIcon.html +2 -2
- package/docs/examples/w-panel-chart_downloadPicture_downloadPictureBtnIconColor_downloadPictureBtnIconColorHover_downloadPictureBtnIconColorFocus.html +2 -2
- package/docs/examples/w-panel-chart_downloadPicture_downloadPictureBtnTooltip.html +2 -2
- package/docs/examples/w-panel-chart_downloadPicture_downloadPictureFilenmae.html +2 -2
- package/docs/examples/w-panel-chart_scale.html +2 -2
- package/docs/examples/w-panel-chart_width_height.html +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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_default.html +2 -2
- package/docs/examples/w-switch_not editable.html +2 -2
- package/docs/examples/w-switch_text_color.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 +2 -2
- 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 +2 -2
- 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_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_filterKeywords_noResultsText.html +2 -2
- package/docs/examples/w-tree_filterKeywords_noResultsText_selectable.html +2 -2
- package/docs/examples/w-tree_iconHeight.html +2 -2
- package/docs/examples/w-tree_iconHeight_defItemHeight.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_keyPrimary_keyText_keyChildren.html +2 -2
- package/docs/examples/w-tree_mouseenter_mouseleave_click_change-view-items.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 +2 -2
- package/docs/highchartsSetting.mjs.html +2 -2
- package/docs/index.html +2 -2
- package/docs/module-WAggridVueDyn.html +2 -2
- package/docs/module-WBadge.html +2 -2
- package/docs/module-WButtonChip.html +2 -2
- package/docs/module-WButtonCircle.html +2 -2
- package/docs/module-WCheckbox.html +2 -2
- package/docs/module-WCkeditorVueDyn.html +2 -2
- package/docs/module-WConfirm.html +2 -2
- package/docs/module-WDialog.html +2 -2
- package/docs/module-WDrawer.html +255 -0
- package/docs/module-WDropfiles.html +2 -2
- package/docs/module-WDynamicList.html +2 -2
- package/docs/module-WEchartsVueDyn.html +2 -2
- package/docs/module-WGroupCheck.html +2 -2
- package/docs/module-WGroupDragdrop.html +2 -2
- package/docs/module-WGroupRadio.html +2 -2
- package/docs/module-WGroupTags.html +2 -2
- package/docs/module-WHighchartsBitmapDyn.html +2 -2
- package/docs/module-WHighchartsVueDyn.html +2 -2
- package/docs/module-WHighstockVueDyn.html +2 -2
- package/docs/module-WIcon.html +2 -2
- package/docs/module-WIconLoading.html +2 -2
- package/docs/module-WIconSvg.html +2 -2
- package/docs/module-WImageCascadingDyn.html +2 -2
- package/docs/module-WImageViewerDyn.html +2 -2
- package/docs/module-WJsonView.html +14 -2
- package/docs/module-WLeafletVueDyn.html +2 -2
- package/docs/module-WListVertical.html +2 -2
- package/docs/module-WListVerticalItem.html +2 -2
- package/docs/module-WPanelBulge.html +2 -2
- package/docs/module-WPanelChart.html +2 -2
- package/docs/module-WPanelDivideHorizontal.html +2 -2
- package/docs/module-WPanelDivideVertical.html +2 -2
- package/docs/module-WPanelScrolly.html +2 -2
- package/docs/module-WPanelScrollyCore.html +2 -2
- package/docs/module-WPanelStripe.html +2 -2
- package/docs/module-WPopup.html +2 -2
- package/docs/module-WPopupEditText.html +2 -2
- package/docs/module-WProgressBar.html +2 -2
- package/docs/module-WProgressCircle.html +2 -2
- package/docs/module-WQuillVueDyn.html +2 -2
- package/docs/module-WShellBottomLine.html +2 -2
- package/docs/module-WShellEllipse.html +2 -2
- package/docs/module-WShellMaterial.html +2 -2
- package/docs/module-WSwitch.html +2 -2
- package/docs/module-WTableDyn.html +2 -2
- package/docs/module-WText.html +2 -2
- package/docs/module-WTextCore.html +2 -2
- package/docs/module-WTextInt.html +2 -2
- package/docs/module-WTextIntCore.html +2 -2
- package/docs/module-WTextSelect.html +2 -2
- package/docs/module-WTextSuggest.html +14 -2
- package/docs/module-WTextSuggestCore.html +14 -2
- package/docs/module-WTextarea.html +2 -2
- package/docs/module-WTimeday.html +2 -2
- package/docs/module-WTimedayCore.html +2 -2
- package/docs/module-WTimedayRange.html +2 -2
- package/docs/module-WTimedayRangeCore.html +2 -2
- package/docs/module-WTimeminute.html +2 -2
- package/docs/module-WTimeminuteCore.html +2 -2
- package/docs/module-WTimeminuteRange.html +2 -2
- package/docs/module-WTimeminuteRangeCore.html +2 -2
- package/docs/module-WTinymceVueDyn.html +2 -2
- package/docs/module-WTree.html +14 -2
- package/docs/module-WTreeIconCheckbox.html +2 -2
- package/docs/module-WTreeIconToggle.html +2 -2
- package/docs/vuetifyColor.mjs.html +2 -2
- package/package.json +1 -1
- package/public/index.html +1 -1
- package/src/App.vue +8 -0
- package/src/AppZoneWDrawer.vue +343 -0
- package/src/AppZoneWListVertical.vue +0 -2
- package/src/components/WComponentVue.vue +2 -0
- package/src/components/WDrawer.vue +361 -0
- package/src/components/WJsonView.vue +8 -0
- package/src/components/WPanelScrollyCore.vue +8 -6
- package/src/components/WTextSuggest.vue +12 -0
- package/src/components/WTextSuggestCore.vue +12 -0
- package/src/components/WTree.vue +13 -1
- package/src/js/statesRela.mjs +125 -0
- package/toolg/gDistApp.mjs +1 -1
- package/toolg/gExtractHtml.mjs +1 -1
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
style=""
|
|
4
|
+
:changeValue="changeValue"
|
|
5
|
+
>
|
|
6
|
+
|
|
7
|
+
<div style="position:relative; height:100%;">
|
|
8
|
+
|
|
9
|
+
<div style="width:100%; height:100%; display:flex;">
|
|
10
|
+
|
|
11
|
+
<!-- 撐開區, 需使用min-width避免被壓縮 -->
|
|
12
|
+
<div
|
|
13
|
+
class="ts"
|
|
14
|
+
:style="`width:${virtualZoneWidth}px; min-width:${virtualZoneWidth}px;`"
|
|
15
|
+
v-if="isAtLeft"
|
|
16
|
+
></div>
|
|
17
|
+
|
|
18
|
+
<div style="width:100%; height:100%;">
|
|
19
|
+
|
|
20
|
+
<slot name="content"></slot>
|
|
21
|
+
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<!-- 撐開區, 需使用min-width避免被壓縮 -->
|
|
25
|
+
<div
|
|
26
|
+
class="ts"
|
|
27
|
+
:style="`width:${virtualZoneWidth}px; min-width:${virtualZoneWidth}px;`"
|
|
28
|
+
v-if="!isAtLeft"
|
|
29
|
+
></div>
|
|
30
|
+
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<!-- overlay半透明灰色層 -->
|
|
34
|
+
<div
|
|
35
|
+
class="ts"
|
|
36
|
+
:style="`position:${effOverlayPosition}; ${effDrawerDetectLoction} top:0px; right:0px; bottom:0px; z-index:${effDrawerZIndex}; width:${effDrawerDetectWidth}; height:100%; opacity:${effOverlayOpacity}; background:${effOverlayColor};`"
|
|
37
|
+
v-if="showOverlay1Basic"
|
|
38
|
+
>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<!-- overlay關閉事件監聽層, 與隱藏內層之向外陰影 -->
|
|
42
|
+
<div
|
|
43
|
+
:style="`position:${effOverlayPosition}; ${effDrawerDetectLoction} top:0px; right:0px; bottom:0px; z-index:${effDrawerZIndex+1}; width:${effDrawerDetectWidth}; height:100%; overflow:hidden;`"
|
|
44
|
+
@click="(ev)=>{ckToggle(ev,false)}"
|
|
45
|
+
v-if="showOverlay2Detect"
|
|
46
|
+
>
|
|
47
|
+
|
|
48
|
+
<!-- drawer平移層 -->
|
|
49
|
+
<div
|
|
50
|
+
class="ts"
|
|
51
|
+
:style="`height:100%; display:flex; justify-content:${ isAtLeft ? 'start' : 'end' };`"
|
|
52
|
+
v-if="showOverlay4Translate"
|
|
53
|
+
>
|
|
54
|
+
|
|
55
|
+
<div
|
|
56
|
+
ref="divDrawer"
|
|
57
|
+
:class="`ts ${effDrawerClassShadow}`"
|
|
58
|
+
:style="`width:${drawerWidth}px; height:100%; background:#fff; transform:translateX(${effDrawerTranslateX}%);`"
|
|
59
|
+
>
|
|
60
|
+
|
|
61
|
+
<slot name="drawer"></slot>
|
|
62
|
+
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
</div>
|
|
66
|
+
|
|
67
|
+
</div>
|
|
68
|
+
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
</div>
|
|
72
|
+
</template>
|
|
73
|
+
|
|
74
|
+
<script>
|
|
75
|
+
import color2hex from '../js/vuetifyColor.mjs'
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @vue-prop {Boolean} [value=false] 輸入是否顯示布林值,預設false
|
|
80
|
+
* @vue-prop {String} [mode='from-left'] 輸入抽屜顯示位置字串,可使用'from-left'與'from-right',預設'from-left'
|
|
81
|
+
* @vue-prop {Number} [drawerWidth=200] 輸入抽屜寬度數字,單位為px,預設200
|
|
82
|
+
* @vue-prop {Boolean} [afloat=false] 輸入是否為浮動顯示布林值,設為true時浮在內容區上故不壓縮內容區寬度,預設false
|
|
83
|
+
* @vue-prop {Boolean} [afloatByFix=false] 輸入浮動顯示時是否使用fixed使能具有滿版配置布林值,預設false
|
|
84
|
+
* @vue-prop {Number} [overlayOpacity=0.45] 輸入浮動顯示時抽屜外側陰影層之透明度數字,預設0.45
|
|
85
|
+
* @vue-prop {String} [overlayColor='grey darken-2'] 輸入浮動顯示時抽屜外側陰影層背景顏色字串,預設'grey darken-2'
|
|
86
|
+
* @vue-prop {Number} [drawerZIndex=1] 輸入浮動顯示時抽屜使用z-index數字,預設1
|
|
87
|
+
*/
|
|
88
|
+
export default {
|
|
89
|
+
directives: {
|
|
90
|
+
},
|
|
91
|
+
props: {
|
|
92
|
+
value: {
|
|
93
|
+
type: Boolean,
|
|
94
|
+
default: false,
|
|
95
|
+
},
|
|
96
|
+
mode: {
|
|
97
|
+
type: String,
|
|
98
|
+
default: 'from-left', //from-left, from-right
|
|
99
|
+
},
|
|
100
|
+
drawerWidth: {
|
|
101
|
+
type: Number,
|
|
102
|
+
default: 200,
|
|
103
|
+
},
|
|
104
|
+
afloat: {
|
|
105
|
+
type: Boolean,
|
|
106
|
+
default: false,
|
|
107
|
+
},
|
|
108
|
+
afloatByFix: {
|
|
109
|
+
type: Boolean,
|
|
110
|
+
default: false,
|
|
111
|
+
},
|
|
112
|
+
overlayOpacity: {
|
|
113
|
+
type: Number,
|
|
114
|
+
default: 0.45,
|
|
115
|
+
},
|
|
116
|
+
overlayColor: {
|
|
117
|
+
type: String,
|
|
118
|
+
default: 'grey darken-2',
|
|
119
|
+
},
|
|
120
|
+
drawerZIndex: {
|
|
121
|
+
type: Number,
|
|
122
|
+
default: 1,
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
data: function() {
|
|
126
|
+
return {
|
|
127
|
+
|
|
128
|
+
timerOverlay1Basic: null,
|
|
129
|
+
showOverlay1Basic: false,
|
|
130
|
+
effOverlay1Basic: false,
|
|
131
|
+
|
|
132
|
+
timerOverlay2Detect: null,
|
|
133
|
+
showOverlay2Detect: false,
|
|
134
|
+
// effOverlay2Detect: false,
|
|
135
|
+
|
|
136
|
+
timerOverlay3Shadow: null,
|
|
137
|
+
showOverlay3Shadow: false,
|
|
138
|
+
// effOverlay3Shadow: false,
|
|
139
|
+
|
|
140
|
+
timerOverlay4Translate: null,
|
|
141
|
+
showOverlay4Translate: false,
|
|
142
|
+
effOverlay4Translate: false,
|
|
143
|
+
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
computed: {
|
|
147
|
+
|
|
148
|
+
changeValue: function () {
|
|
149
|
+
// console.log('computed changeValue')
|
|
150
|
+
|
|
151
|
+
let vo = this
|
|
152
|
+
|
|
153
|
+
//trigger
|
|
154
|
+
let value = vo.value
|
|
155
|
+
|
|
156
|
+
//toggleValue
|
|
157
|
+
vo.toggleValue(value)
|
|
158
|
+
|
|
159
|
+
return ''
|
|
160
|
+
},
|
|
161
|
+
|
|
162
|
+
virtualZoneWidth: function() {
|
|
163
|
+
if (!this.value) {
|
|
164
|
+
return 0
|
|
165
|
+
}
|
|
166
|
+
if (this.afloat) {
|
|
167
|
+
return 0
|
|
168
|
+
}
|
|
169
|
+
return this.drawerWidth
|
|
170
|
+
},
|
|
171
|
+
|
|
172
|
+
isAtLeft: function() {
|
|
173
|
+
return this.mode !== 'from-right'
|
|
174
|
+
},
|
|
175
|
+
|
|
176
|
+
effDrawerZIndex: function() {
|
|
177
|
+
let i = this.drawerZIndex
|
|
178
|
+
if (this.afloat) {
|
|
179
|
+
i += 1000
|
|
180
|
+
}
|
|
181
|
+
if (this.afloatByFix) {
|
|
182
|
+
i += 10000
|
|
183
|
+
}
|
|
184
|
+
return i
|
|
185
|
+
},
|
|
186
|
+
|
|
187
|
+
effOverlayColor: function() {
|
|
188
|
+
if (!this.afloat) {
|
|
189
|
+
return 'transparent'
|
|
190
|
+
}
|
|
191
|
+
return color2hex(this.overlayColor)
|
|
192
|
+
},
|
|
193
|
+
|
|
194
|
+
effOverlayPosition: function() {
|
|
195
|
+
return this.afloatByFix ? 'fixed' : 'absolute'
|
|
196
|
+
},
|
|
197
|
+
|
|
198
|
+
effOverlayOpacity: function() {
|
|
199
|
+
if (!this.afloat) {
|
|
200
|
+
return 0
|
|
201
|
+
}
|
|
202
|
+
return this.effOverlay1Basic ? this.overlayOpacity : 0
|
|
203
|
+
},
|
|
204
|
+
|
|
205
|
+
effDrawerTranslateX: function() {
|
|
206
|
+
if (this.effOverlay4Translate) {
|
|
207
|
+
return 0
|
|
208
|
+
}
|
|
209
|
+
let s0 = this.isAtLeft ? -100 : 100
|
|
210
|
+
return s0
|
|
211
|
+
},
|
|
212
|
+
|
|
213
|
+
effDrawerDetectLoction: function() {
|
|
214
|
+
if (this.isAtLeft) {
|
|
215
|
+
return 'left:0px;'
|
|
216
|
+
}
|
|
217
|
+
return 'right:0px;'
|
|
218
|
+
},
|
|
219
|
+
|
|
220
|
+
effDrawerDetectWidth: function() {
|
|
221
|
+
if (this.afloat) {
|
|
222
|
+
return '100%'
|
|
223
|
+
}
|
|
224
|
+
return `${this.drawerWidth}px`
|
|
225
|
+
},
|
|
226
|
+
|
|
227
|
+
effDrawerClassShadow: function() {
|
|
228
|
+
return this.afloat && this.showOverlay3Shadow ? 'bs' : ''
|
|
229
|
+
},
|
|
230
|
+
|
|
231
|
+
},
|
|
232
|
+
methods: {
|
|
233
|
+
|
|
234
|
+
ckToggle: function(ev, value) {
|
|
235
|
+
// console.log('methods ckToggle', ev, value)
|
|
236
|
+
|
|
237
|
+
let vo = this
|
|
238
|
+
|
|
239
|
+
//check, 固定時(非浮動)禁止關閉
|
|
240
|
+
if (!vo.afloat) {
|
|
241
|
+
return
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
//偵測點擊為抽屜slot區之外
|
|
245
|
+
let b = false
|
|
246
|
+
try {
|
|
247
|
+
b = !vo.$refs.divDrawer.contains(ev.target)
|
|
248
|
+
}
|
|
249
|
+
catch (err) {}
|
|
250
|
+
// console.log('vo.$refs.divDrawer', vo.$refs.divDrawer)
|
|
251
|
+
// console.log('ev.target', ev.target)
|
|
252
|
+
// console.log(vo.$refs.divDrawer.contains(ev.target))
|
|
253
|
+
|
|
254
|
+
//check
|
|
255
|
+
if (b) {
|
|
256
|
+
|
|
257
|
+
//toggleValue
|
|
258
|
+
vo.toggleValue(value)
|
|
259
|
+
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
},
|
|
263
|
+
|
|
264
|
+
toggleValue: function (value) {
|
|
265
|
+
// console.log('methods toggleValue', value)
|
|
266
|
+
|
|
267
|
+
let vo = this
|
|
268
|
+
|
|
269
|
+
// //check, 不可編輯時跳出
|
|
270
|
+
// if (!vo.editable) {
|
|
271
|
+
// return
|
|
272
|
+
// }
|
|
273
|
+
|
|
274
|
+
//clearTimeout
|
|
275
|
+
clearTimeout(vo.timerOverlay1Basic)
|
|
276
|
+
clearTimeout(vo.timerOverlay2Detect)
|
|
277
|
+
clearTimeout(vo.timerOverlay3Shadow)
|
|
278
|
+
clearTimeout(vo.timerOverlay4Translate)
|
|
279
|
+
|
|
280
|
+
let sec
|
|
281
|
+
|
|
282
|
+
//fsm
|
|
283
|
+
if (value) {
|
|
284
|
+
// vo.fsmShowOverlay.showOverlay()
|
|
285
|
+
// vo.fsmShowStateOverlay.showOverlay()
|
|
286
|
+
sec = 20
|
|
287
|
+
|
|
288
|
+
// showOverlay1Basic: false,
|
|
289
|
+
// effOverlay1Basic: false,
|
|
290
|
+
vo.showOverlay1Basic = true
|
|
291
|
+
vo.timerOverlay1Basic = setTimeout(() => {
|
|
292
|
+
vo.effOverlay1Basic = true
|
|
293
|
+
}, sec)
|
|
294
|
+
|
|
295
|
+
// showOverlay2Detect: false,
|
|
296
|
+
// effOverlay2Detect: false,
|
|
297
|
+
vo.showOverlay2Detect = true
|
|
298
|
+
|
|
299
|
+
// showOverlay3Shadow: false,
|
|
300
|
+
// effOverlay3Shadow: false,
|
|
301
|
+
vo.showOverlay3Shadow = true
|
|
302
|
+
|
|
303
|
+
// showOverlay4Translate: false,
|
|
304
|
+
// effOverlay4Translate: false,
|
|
305
|
+
vo.showOverlay4Translate = true
|
|
306
|
+
vo.timerOverlay4Translate = setTimeout(() => {
|
|
307
|
+
vo.effOverlay4Translate = true
|
|
308
|
+
}, sec)
|
|
309
|
+
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
// vo.fsmShowOverlay.hideOverlay()
|
|
313
|
+
// vo.fsmShowStateOverlay.hideOverlay()
|
|
314
|
+
sec = 300
|
|
315
|
+
|
|
316
|
+
// showOverlay1Basic: false,
|
|
317
|
+
// effOverlay1Basic: false,
|
|
318
|
+
vo.effOverlay1Basic = false
|
|
319
|
+
vo.timerOverlay1Basic = setTimeout(() => {
|
|
320
|
+
vo.showOverlay1Basic = false
|
|
321
|
+
}, sec)
|
|
322
|
+
|
|
323
|
+
// showOverlay2Detect: false,
|
|
324
|
+
// effOverlay2Detect: false,
|
|
325
|
+
vo.timerOverlay2Detect = setTimeout(() => {
|
|
326
|
+
vo.showOverlay2Detect = false
|
|
327
|
+
}, sec)
|
|
328
|
+
|
|
329
|
+
// showOverlay3Shadow: false,
|
|
330
|
+
// effOverlay3Shadow: false,
|
|
331
|
+
vo.timerOverlay3Shadow = setTimeout(() => {
|
|
332
|
+
vo.showOverlay3Shadow = false
|
|
333
|
+
}, sec / 2) //提前隱藏陰影
|
|
334
|
+
|
|
335
|
+
// showOverlay4Translate: false,
|
|
336
|
+
// effOverlay4Translate: false,
|
|
337
|
+
vo.effOverlay4Translate = false
|
|
338
|
+
vo.timerOverlay4Translate = setTimeout(() => {
|
|
339
|
+
vo.showOverlay4Translate = false
|
|
340
|
+
}, sec)
|
|
341
|
+
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
//emit
|
|
345
|
+
vo.$emit('input', value)
|
|
346
|
+
|
|
347
|
+
},
|
|
348
|
+
|
|
349
|
+
},
|
|
350
|
+
}
|
|
351
|
+
</script>
|
|
352
|
+
|
|
353
|
+
<style scoped>
|
|
354
|
+
.ts {
|
|
355
|
+
transition:all 0.3s cubic-bezier(.25,.8,.5,1);
|
|
356
|
+
}
|
|
357
|
+
.bs {
|
|
358
|
+
box-shadow:rgba(0, 0, 0, 0.3) 0px 8px 2px -8px, rgba(0, 0, 0, 0.3) 0px 16px 24px 2px, rgba(0, 0, 0, 0.3) 0px 6px 30px 5px;
|
|
359
|
+
}
|
|
360
|
+
</style>
|
|
361
|
+
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
:iconToggleBackgroundColorHover="iconToggleBackgroundColorHover"
|
|
13
13
|
:filterKeywords="filterKeywords"
|
|
14
14
|
:filterFunction="filterFunction"
|
|
15
|
+
:loadingText="loadingText"
|
|
15
16
|
:noResultsText="lockFromSetData?'':noResultsText"
|
|
17
|
+
:searchingText="searchingText"
|
|
16
18
|
:defItemHeight="defItemHeight"
|
|
17
19
|
:itemsPreload="itemsPreload"
|
|
18
20
|
:show="show"
|
|
@@ -111,7 +113,9 @@ import WTree from './WTree.vue'
|
|
|
111
113
|
* @vue-prop {String} [iconToggleBackgroundColorHover='rgba(128,128,128,0.15)'] 輸入滑鼠移入時顯隱icon按鈕背景顏色字串,預設'rgba(128,128,128,0.15)'
|
|
112
114
|
* @vue-prop {String} [filterKeywords=''] 輸入過濾關鍵字字串,多關鍵字用空白分隔,預設''
|
|
113
115
|
* @vue-prop {Function} [filterFunction=null] 輸入過濾時呼叫處理函數,傳入為各項目物件資料,回傳布林值代表項目內是否含有關鍵字,預設null
|
|
116
|
+
* @vue-prop {String} [loadingText='Loading...'] 輸入載入中字串,預設'Loading...'
|
|
114
117
|
* @vue-prop {String} [noResultsText='No results'] 輸入無過濾結果字串,預設'No results'
|
|
118
|
+
* @vue-prop {String} [searchingText='Searching...'] 輸入搜索中字串,預設'Searching...'
|
|
115
119
|
* @vue-prop {Number} [defItemHeight=24] 輸入按需顯示時各項目預設高度值,給越準或給大部分項目的高度則渲染速度越快,單位為px,預設24
|
|
116
120
|
* @vue-prop {Number} [itemsPreload=5] 輸入上下方預先載入元素數量,預設5
|
|
117
121
|
* @vue-prop {String} [keyColor='grey darken-2'] 輸入鍵值顏色字串,預設'grey darken-2'
|
|
@@ -178,6 +182,10 @@ export default {
|
|
|
178
182
|
type: String,
|
|
179
183
|
default: 'No results',
|
|
180
184
|
},
|
|
185
|
+
searchingText: {
|
|
186
|
+
type: String,
|
|
187
|
+
default: 'Searching...',
|
|
188
|
+
},
|
|
181
189
|
defItemHeight: {
|
|
182
190
|
type: Number,
|
|
183
191
|
default: 24,
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
:changeScrollTop="changeScrollTop"
|
|
9
9
|
>
|
|
10
10
|
|
|
11
|
-
<!-- 計算nativeBarWidth -->
|
|
11
|
+
<!-- 計算nativeBarWidth, 需使用overflow:scroll否則firefox無法順利顯示右側捲軸 -->
|
|
12
12
|
<div style="position:relative; width:0px; height:0px; opacity:0;">
|
|
13
13
|
<div style="position:absolute; left:0; top:0;">
|
|
14
|
-
<div ref="divDetect" style="width:50px; height:50px; overflow:
|
|
14
|
+
<div ref="divDetect" style="width:50px; height:50px; overflow:scroll;">
|
|
15
15
|
<div style="width:100px; height:100px;"></div>
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
|
@@ -21,10 +21,11 @@
|
|
|
21
21
|
:style="`position:relative; width:100%; overflow-x:hidden;`"
|
|
22
22
|
>
|
|
23
23
|
|
|
24
|
+
<!-- 因瀏覽器計算誤差100%+nativeBarWidth仍會出現捲軸邊界, 故需+1px使捲軸能完全隱藏 -->
|
|
24
25
|
<div
|
|
25
26
|
ref="divShell"
|
|
26
27
|
_class="sb"
|
|
27
|
-
:style="`position:relative; width:calc( 100% + ${nativeBarWidth}px ); height:${panelHeight}px; box-sizing:content-box; overflow-x:hidden; overflow-y:scroll;`"
|
|
28
|
+
:style="`position:relative; width:calc( 100% + ${nativeBarWidth+1}px ); height:${panelHeight}px; box-sizing:content-box; overflow-x:hidden; overflow-y:scroll;`"
|
|
28
29
|
v-domresize
|
|
29
30
|
@domresize="resizeShell"
|
|
30
31
|
@scroll="scrollShell"
|
|
@@ -178,9 +179,10 @@ export default {
|
|
|
178
179
|
if (divDetect) {
|
|
179
180
|
|
|
180
181
|
//save nativeBarWidth
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
182
|
+
let w = divDetect.offsetWidth - divDetect.clientWidth
|
|
183
|
+
if (vo.nativeBarWidth !== w) {
|
|
184
|
+
// console.log('resizePanel 需更新nativeBarWidth', w, '<-', vo.nativeBarWidth)
|
|
185
|
+
vo.nativeBarWidth = w
|
|
184
186
|
}
|
|
185
187
|
|
|
186
188
|
}
|
|
@@ -55,7 +55,9 @@
|
|
|
55
55
|
:expansionIconSize="expansionIconSize"
|
|
56
56
|
:expansionIconColor="expansionIconColor"
|
|
57
57
|
:placeholder="placeholder"
|
|
58
|
+
:loadingText="loadingText"
|
|
58
59
|
:noResultsText="noResultsText"
|
|
60
|
+
:searchingText="searchingText"
|
|
59
61
|
:distY="useDistY"
|
|
60
62
|
:defItemHeight="defItemHeight"
|
|
61
63
|
:editable="editable"
|
|
@@ -136,7 +138,9 @@ import WTextSuggestCore from './WTextSuggestCore.vue'
|
|
|
136
138
|
* @vue-prop {Number} [expansionIconSize=18] 輸入右側圖標尺寸數字,單位為px,預設18
|
|
137
139
|
* @vue-prop {String} [expansionIconColor='grey'] 輸入右側圖標顏色字串,預設'grey'
|
|
138
140
|
* @vue-prop {String} [placeholder=''] 輸入無文字時的替代字符字串,預設''
|
|
141
|
+
* @vue-prop {String} [loadingText='Loading...'] 輸入載入中字串,預設'Loading...'
|
|
139
142
|
* @vue-prop {String} [noResultsText='No results'] 輸入無過濾結果字串,預設'No results'
|
|
143
|
+
* @vue-prop {String} [searchingText='Searching...'] 輸入搜索中字串,預設'Searching...'
|
|
140
144
|
* @vue-prop {Number} [defItemHeight=43] 輸入按需顯示時各項目預設高度值數字,給越準或給大部分項目的高度則渲染速度越快,單位為px,預設43
|
|
141
145
|
* @vue-prop {Boolean} [editable=true] 輸入是否為編輯模式布林值,預設true
|
|
142
146
|
* @vue-prop {Boolean} [focused=false] 輸入是否為取得焦點狀態布林值,預設false
|
|
@@ -313,10 +317,18 @@ export default {
|
|
|
313
317
|
type: String,
|
|
314
318
|
default: '',
|
|
315
319
|
},
|
|
320
|
+
loadingText: {
|
|
321
|
+
type: String,
|
|
322
|
+
default: 'Loading...',
|
|
323
|
+
},
|
|
316
324
|
noResultsText: {
|
|
317
325
|
type: String,
|
|
318
326
|
default: 'No results',
|
|
319
327
|
},
|
|
328
|
+
searchingText: {
|
|
329
|
+
type: String,
|
|
330
|
+
default: 'Searching...',
|
|
331
|
+
},
|
|
320
332
|
defItemHeight: {
|
|
321
333
|
type: Number,
|
|
322
334
|
default: 43,
|
|
@@ -75,7 +75,9 @@
|
|
|
75
75
|
:filterKeywords="mode==='suggest'?valueTrans:''"
|
|
76
76
|
:viewHeightMax="maxHeight"
|
|
77
77
|
:itemMinHeight="defItemHeight"
|
|
78
|
+
:loadingText="loadingText"
|
|
78
79
|
:noResultsText="noResultsText"
|
|
80
|
+
:searchingText="searchingText"
|
|
79
81
|
:show="showPanelTrans"
|
|
80
82
|
>
|
|
81
83
|
<template v-slot="props">
|
|
@@ -148,7 +150,9 @@ import WIcon from './WIcon.vue'
|
|
|
148
150
|
* @vue-prop {Number} [maxWidth=null] 輸入最大寬度,單位為px,預設null
|
|
149
151
|
* @vue-prop {Number} [distY=5] 輸入彈窗距離觸發元素底部的距離數字,單位為px,預設5
|
|
150
152
|
* @vue-prop {String} [placeholder=''] 輸入無文字時的替代字符字串,預設''
|
|
153
|
+
* @vue-prop {String} [loadingText='Loading...'] 輸入載入中字串,預設'Loading...'
|
|
151
154
|
* @vue-prop {String} [noResultsText='No results'] 輸入無過濾結果字串,預設'No results'
|
|
155
|
+
* @vue-prop {String} [searchingText='Searching...'] 輸入搜索中字串,預設'Searching...'
|
|
152
156
|
* @vue-prop {Number} [defItemHeight=43] 輸入按需顯示時各項目預設高度數字,給越準或給大部分項目的高度則渲染速度越快,單位為px,預設43
|
|
153
157
|
* @vue-prop {Boolean} [editable=true] 輸入是否為編輯模式布林值,預設true
|
|
154
158
|
* @vue-prop {Boolean} [focused=false] 輸入是否為取得焦點狀態布林值,預設false
|
|
@@ -255,10 +259,18 @@ export default {
|
|
|
255
259
|
type: String,
|
|
256
260
|
default: '',
|
|
257
261
|
},
|
|
262
|
+
loadingText: {
|
|
263
|
+
type: String,
|
|
264
|
+
default: 'Loading...',
|
|
265
|
+
},
|
|
258
266
|
noResultsText: {
|
|
259
267
|
type: String,
|
|
260
268
|
default: 'No results',
|
|
261
269
|
},
|
|
270
|
+
searchingText: {
|
|
271
|
+
type: String,
|
|
272
|
+
default: 'Searching...',
|
|
273
|
+
},
|
|
262
274
|
defItemHeight: {
|
|
263
275
|
type: Number,
|
|
264
276
|
default: 43,
|
package/src/components/WTree.vue
CHANGED
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
:viewHeightMax="viewHeightMax"
|
|
13
13
|
:itemMinHeight="defItemHeight"
|
|
14
14
|
:itemsPreload="itemsPreload"
|
|
15
|
+
:loadingText="loadingText"
|
|
15
16
|
:noResultsText="noResultsText"
|
|
17
|
+
:searchingText="searchingText"
|
|
16
18
|
:show="show"
|
|
17
19
|
@change-view-items="changeViewItems"
|
|
18
20
|
>
|
|
@@ -154,9 +156,9 @@
|
|
|
154
156
|
</template>
|
|
155
157
|
</WDynamicList>
|
|
156
158
|
|
|
159
|
+
<!-- 需使用pointer-events:none;禁用事件, 避免拖曳時因接觸此元素時出現enter與leave -->
|
|
157
160
|
<div
|
|
158
161
|
:style="`position:absolute; z-index:1; pointer-events:none; left:${dgTipLeft}px; top:${dgTipTop}px;`"
|
|
159
|
-
:msg="`需使用pointer-events:none;禁用事件, 避免拖曳時因接觸此元素時出現enter與leave`"
|
|
160
162
|
v-if="dgTipMode!==''"
|
|
161
163
|
>
|
|
162
164
|
<template v-if="dgTipMode==='lineTop'">
|
|
@@ -256,7 +258,9 @@ let gm = globalMemory()
|
|
|
256
258
|
* @vue-prop {String} [iconCheckedPartiallyDisabledColor='grey'] 輸入禁用部份勾選時(子節點任一有勾選但非全部勾選)顏色字串,預設'grey'
|
|
257
259
|
* @vue-prop {String} [filterKeywords=''] 輸入過濾關鍵字字串,多關鍵字用空白分隔,預設''
|
|
258
260
|
* @vue-prop {Function} [filterFunction=null] 輸入過濾時呼叫處理函數,傳入為各項目物件資料,回傳布林值代表項目內是否含有關鍵字,預設null
|
|
261
|
+
* @vue-prop {String} [loadingText='Loading...'] 輸入載入中字串,預設'Loading...'
|
|
259
262
|
* @vue-prop {String} [noResultsText='No results'] 輸入無過濾結果字串,預設'No results'
|
|
263
|
+
* @vue-prop {String} [searchingText='Searching...'] 輸入搜索中字串,預設'Searching...'
|
|
260
264
|
* @vue-prop {Number} [defItemHeight=34] 輸入按需顯示時各項目預設高度值,給越準或給大部分項目的高度則渲染速度越快,單位為px,預設34
|
|
261
265
|
* @vue-prop {Number} [itemsPreload=5] 輸入上下方預先載入元素數量,預設5
|
|
262
266
|
* @vue-prop {Boolean} [draggable=false] 輸入是否為可拖曳編輯模式,若draggable設定true,此時所有節點皆為展開顯示並且禁止顯隱節點功能,也就是defaultDisplayLevel強制設定為null,此外也不提供過濾功能,也就是filterKeywords強制清空。開啟draggable僅適用小規模數據。draggable預設false
|
|
@@ -404,10 +408,18 @@ export default {
|
|
|
404
408
|
type: Function,
|
|
405
409
|
default: null,
|
|
406
410
|
},
|
|
411
|
+
loadingText: {
|
|
412
|
+
type: String,
|
|
413
|
+
default: 'Loading...',
|
|
414
|
+
},
|
|
407
415
|
noResultsText: {
|
|
408
416
|
type: String,
|
|
409
417
|
default: 'No results',
|
|
410
418
|
},
|
|
419
|
+
searchingText: {
|
|
420
|
+
type: String,
|
|
421
|
+
default: 'Searching...',
|
|
422
|
+
},
|
|
411
423
|
defItemHeight: {
|
|
412
424
|
type: Number,
|
|
413
425
|
default: 34,
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
// import get from 'lodash/get'
|
|
2
|
+
// import each from 'lodash/each'
|
|
3
|
+
// import isestr from 'wsemi/src/isestr.mjs'
|
|
4
|
+
// import isearr from 'wsemi/src/isearr.mjs'
|
|
5
|
+
// import isfun from 'wsemi/src/isfun.mjs'
|
|
6
|
+
// import ispm from 'wsemi/src/ispm.mjs'
|
|
7
|
+
// import evem from 'wsemi/src/evem.mjs'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
// function fsm(opt) {
|
|
11
|
+
|
|
12
|
+
// //ev
|
|
13
|
+
// let ev = evem()
|
|
14
|
+
|
|
15
|
+
// //emit
|
|
16
|
+
// let emit = (name, msg) => {
|
|
17
|
+
// setTimeout(() => {
|
|
18
|
+
// ev.emit(name, msg)
|
|
19
|
+
// }, 1)
|
|
20
|
+
// }
|
|
21
|
+
|
|
22
|
+
// //state
|
|
23
|
+
// let state = get(opt, 'initial', '')
|
|
24
|
+
|
|
25
|
+
// // //check
|
|
26
|
+
// // if (!isestr(state)) {
|
|
27
|
+
// // throw new Error(`opt.initial is not an effective string`)
|
|
28
|
+
// // }
|
|
29
|
+
|
|
30
|
+
// //update state
|
|
31
|
+
// emit('initial', {
|
|
32
|
+
// state,
|
|
33
|
+
// })
|
|
34
|
+
|
|
35
|
+
// //transitions
|
|
36
|
+
// let transitions = get(opt, 'transitions', [])
|
|
37
|
+
|
|
38
|
+
// //check
|
|
39
|
+
// if (!isearr(transitions)) {
|
|
40
|
+
// throw new Error(`opt.transitions is not an effective array`)
|
|
41
|
+
// }
|
|
42
|
+
|
|
43
|
+
// //transitions
|
|
44
|
+
// each(transitions, (v) => {
|
|
45
|
+
|
|
46
|
+
// //action
|
|
47
|
+
// let action = get(v, 'action', '')
|
|
48
|
+
// if (!isestr(action)) {
|
|
49
|
+
// return true //跳出換下一個
|
|
50
|
+
// }
|
|
51
|
+
|
|
52
|
+
// //from
|
|
53
|
+
// let from = get(v, 'from', '')
|
|
54
|
+
// // if (!isestr(from)) {
|
|
55
|
+
// // return true //跳出換下一個
|
|
56
|
+
// // }
|
|
57
|
+
|
|
58
|
+
// //to
|
|
59
|
+
// let to = get(v, 'to', '')
|
|
60
|
+
// // if (!isestr(to)) {
|
|
61
|
+
// // return true //跳出換下一個
|
|
62
|
+
// // }
|
|
63
|
+
|
|
64
|
+
// //fun
|
|
65
|
+
// let fun = get(v, 'fun')
|
|
66
|
+
|
|
67
|
+
// //transit
|
|
68
|
+
// let transit = async () => {
|
|
69
|
+
|
|
70
|
+
// //check state
|
|
71
|
+
// if (state !== from) {
|
|
72
|
+
// emit('error', {
|
|
73
|
+
// action,
|
|
74
|
+
// state,
|
|
75
|
+
// from,
|
|
76
|
+
// to,
|
|
77
|
+
// msg: `transit error: state[${state}] !== from[${from}]`,
|
|
78
|
+
// })
|
|
79
|
+
// }
|
|
80
|
+
|
|
81
|
+
// emit('before', {
|
|
82
|
+
// action,
|
|
83
|
+
// state,
|
|
84
|
+
// from,
|
|
85
|
+
// to,
|
|
86
|
+
// })
|
|
87
|
+
|
|
88
|
+
// //fun
|
|
89
|
+
// if (isfun(fun)) {
|
|
90
|
+
|
|
91
|
+
// //toTemp by fun
|
|
92
|
+
// let toTemp = fun(state, action, from, to)
|
|
93
|
+
|
|
94
|
+
// //check promise
|
|
95
|
+
// if (ispm(toTemp)) {
|
|
96
|
+
// toTemp = await toTemp
|
|
97
|
+
// }
|
|
98
|
+
|
|
99
|
+
// //update
|
|
100
|
+
// state = toTemp
|
|
101
|
+
|
|
102
|
+
// }
|
|
103
|
+
// else {
|
|
104
|
+
|
|
105
|
+
// //update
|
|
106
|
+
// state = to
|
|
107
|
+
|
|
108
|
+
// }
|
|
109
|
+
|
|
110
|
+
// emit('after', {
|
|
111
|
+
// action,
|
|
112
|
+
// state,
|
|
113
|
+
// from,
|
|
114
|
+
// to,
|
|
115
|
+
// })
|
|
116
|
+
|
|
117
|
+
// }
|
|
118
|
+
|
|
119
|
+
// //save
|
|
120
|
+
// ev[action] = transit
|
|
121
|
+
|
|
122
|
+
// })
|
|
123
|
+
|
|
124
|
+
// return ev
|
|
125
|
+
// }
|