w-component-vue 2.3.49 → 2.3.50
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 +2 -2
- 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/w-aggrid-vue-dyn_defCellEditable.html +1 -1
- package/docs/examples/w-aggrid-vue-dyn_kpCellEditable_kpRowStyle.html +1 -1
- package/docs/examples/w-aggrid-vue-dyn_kpHeadTooltip_kpCellTooltip.html +1 -1
- package/docs/examples/w-aggrid-vue-dyn_large data (1,000,000 items).html +1 -1
- package/docs/examples/w-aggrid-vue-dyn_simple data.html +1 -1
- package/docs/examples/w-alert_backgroundColor.html +1 -1
- package/docs/examples/w-alert_borderColor.html +1 -1
- package/docs/examples/w-alert_borderRadius.html +1 -1
- package/docs/examples/w-alert_borderWidth.html +1 -1
- package/docs/examples/w-alert_default.html +1 -1
- package/docs/examples/w-alert_icon.html +1 -1
- package/docs/examples/w-alert_position.html +1 -1
- package/docs/examples/w-alert_recive closed event by promise.html +1 -1
- package/docs/examples/w-alert_shadowStyle.html +1 -1
- package/docs/examples/w-alert_textColor.html +1 -1
- package/docs/examples/w-alert_time (6s).html +1 -1
- package/docs/examples/w-alert_type error.html +1 -1
- package/docs/examples/w-alert_type infor.html +1 -1
- package/docs/examples/w-alert_type warning.html +1 -1
- package/docs/examples/w-badge_backgroundColor.html +1 -1
- package/docs/examples/w-badge_badgeAlign.html +1 -1
- package/docs/examples/w-badge_borderColor_textColor_backgroundColor.html +1 -1
- package/docs/examples/w-badge_borderRadius.html +1 -1
- package/docs/examples/w-badge_default.html +1 -1
- package/docs/examples/w-badge_textColor_backgroundColor.html +1 -1
- package/docs/examples/w-badge_textFontSize.html +1 -1
- package/docs/examples/w-button-chip_active_backgroundColorActive.html +1 -1
- package/docs/examples/w-button-chip_active_borderColorActive.html +1 -1
- package/docs/examples/w-button-chip_active_iconColorActive.html +1 -1
- package/docs/examples/w-button-chip_active_no shadow_no shadowActive.html +1 -1
- package/docs/examples/w-button-chip_active_shadowActiveStyle.html +1 -1
- package/docs/examples/w-button-chip_active_textColorActive.html +1 -1
- package/docs/examples/w-button-chip_backgroundColor_backgroundColorHover.html +1 -1
- package/docs/examples/w-button-chip_borderColor_borderColorHover.html +1 -1
- package/docs/examples/w-button-chip_borderRadius.html +1 -1
- package/docs/examples/w-button-chip_borderRadiusStyle.html +1 -1
- package/docs/examples/w-button-chip_borderRadiusStyle_borderWidth_borderColor_borderColorHover.html +1 -1
- package/docs/examples/w-button-chip_borderWidth.html +1 -1
- package/docs/examples/w-button-chip_close.html +1 -1
- package/docs/examples/w-button-chip_close_shiftRight.html +1 -1
- package/docs/examples/w-button-chip_default.html +1 -1
- package/docs/examples/w-button-chip_icon (fontawesome).html +1 -1
- package/docs/examples/w-button-chip_icon (material).html +1 -1
- package/docs/examples/w-button-chip_icon_iconColor_iconColorHover_close.html +1 -1
- package/docs/examples/w-button-chip_icon_no text.html +1 -1
- package/docs/examples/w-button-chip_loading.html +1 -1
- package/docs/examples/w-button-chip_loading_loadingColor.html +1 -1
- package/docs/examples/w-button-chip_loading_textColor_textColorHover.html +1 -1
- package/docs/examples/w-button-chip_modify loading by callback in click.html +1 -1
- package/docs/examples/w-button-chip_modify prog by callback in click.html +1 -1
- package/docs/examples/w-button-chip_no shadow.html +1 -1
- package/docs/examples/w-button-chip_not editable.html +1 -1
- package/docs/examples/w-button-chip_not editable_disabledColor.html +1 -1
- package/docs/examples/w-button-chip_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-button-chip_paddingStyle (thin style).html +1 -1
- package/docs/examples/w-button-chip_paddingStyle_icon_iconSize_textFontSize.html +1 -1
- package/docs/examples/w-button-chip_prog.html +1 -1
- package/docs/examples/w-button-chip_prog_progColor_progBackgroundColor.html +1 -1
- package/docs/examples/w-button-chip_promiseUnlock.html +1 -1
- package/docs/examples/w-button-chip_rippleColor.html +1 -1
- package/docs/examples/w-button-chip_shadowStyle.html +1 -1
- package/docs/examples/w-button-chip_shiftLeft.html +1 -1
- package/docs/examples/w-button-chip_slot_close.html +1 -1
- package/docs/examples/w-button-chip_textColor.html +1 -1
- package/docs/examples/w-button-chip_textColor_textColorHover.html +1 -1
- package/docs/examples/w-button-chip_tooltip.html +1 -1
- package/docs/examples/w-button-chip_tooltip_tooltipBorderRadius.html +1 -1
- package/docs/examples/w-button-chip_tooltip_tooltipPaddingStyle.html +1 -1
- package/docs/examples/w-button-chip_tooltip_tooltipTextColor_tooltipBackgroundColor.html +1 -1
- package/docs/examples/w-button-chip_tooltip_tooltipTextFontSize.html +1 -1
- package/docs/examples/w-button-circle_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
- package/docs/examples/w-button-circle_borderWidth_borderColor_borderColorHover_borderColorFocus.html +1 -1
- package/docs/examples/w-button-circle_icon (fontawesome).html +1 -1
- package/docs/examples/w-button-circle_icon (material).html +1 -1
- package/docs/examples/w-button-circle_iconColor_iconColorHover_iconColorFocus.html +1 -1
- package/docs/examples/w-button-circle_loading.html +1 -1
- package/docs/examples/w-button-circle_loading_loadingColor.html +1 -1
- package/docs/examples/w-button-circle_no shadow.html +1 -1
- package/docs/examples/w-button-circle_not editable.html +1 -1
- package/docs/examples/w-button-circle_not editable_disabledColor.html +1 -1
- package/docs/examples/w-button-circle_paddingStyle.html +1 -1
- package/docs/examples/w-button-circle_paddingStyle_iconSize.html +1 -1
- package/docs/examples/w-button-circle_promiseUnlock.html +1 -1
- package/docs/examples/w-button-circle_rippleColor.html +1 -1
- package/docs/examples/w-button-circle_shadowStyle.html +1 -1
- package/docs/examples/w-button-circle_tooltip.html +1 -1
- package/docs/examples/w-button-circle_tooltip_tooltipBorderRadius.html +1 -1
- package/docs/examples/w-button-circle_tooltip_tooltipPaddingStyle.html +1 -1
- package/docs/examples/w-button-circle_tooltip_tooltipTextColor_tooltipBackgroundColor.html +1 -1
- package/docs/examples/w-button-circle_tooltip_tooltipTextFontSize.html +1 -1
- package/docs/examples/w-checkbox_checkedIconColor_checkedIconColorHover_uncheckedIconColor_uncheckedIconColorHover.html +1 -1
- package/docs/examples/w-checkbox_checkedIcon_uncheckedIcon.html +1 -1
- package/docs/examples/w-checkbox_default.html +1 -1
- package/docs/examples/w-checkbox_iconSize_textFontSize.html +1 -1
- package/docs/examples/w-checkbox_not editable.html +1 -1
- package/docs/examples/w-checkbox_not editable_checkedIconColorDisabled_uncheckedIconColorDisabled.html +1 -1
- package/docs/examples/w-checkbox_text.html +1 -1
- package/docs/examples/w-checkbox_text_textColor_textColorHover.html +1 -1
- package/docs/examples/w-checkbox_use string (y or n).html +1 -1
- package/docs/examples/w-ckeditor-vue-dyn_default.html +1 -1
- package/docs/examples/w-ckeditor-vue-dyn_height.html +1 -1
- package/docs/examples/w-ckeditor-vue-dyn_not editable.html +1 -1
- package/docs/examples/w-ckeditor-vue-dyn_settings.html +1 -1
- package/docs/examples/w-confirm_contentColor_contentIconColor_contentBackgroundColor.html +1 -1
- package/docs/examples/w-confirm_contentIcon (fontawesome).html +1 -1
- package/docs/examples/w-confirm_contentIconColor.html +1 -1
- package/docs/examples/w-confirm_contentIconSize.html +1 -1
- package/docs/examples/w-confirm_hasNoBtn_yesBtnText.html +1 -1
- package/docs/examples/w-confirm_maxWidth.html +1 -1
- package/docs/examples/w-confirm_noBtnTextColor_noBtnTextColorHover_noBtnBackgroundColor_noBtnBackgroundColorHover.html +1 -1
- package/docs/examples/w-confirm_noBtnText_yesBtnText.html +1 -1
- package/docs/examples/w-confirm_scrollable (slot content).html +1 -1
- package/docs/examples/w-confirm_scrollable.html +1 -1
- package/docs/examples/w-confirm_slot content.html +1 -1
- package/docs/examples/w-confirm_slot footer.html +1 -1
- package/docs/examples/w-confirm_slot header.html +1 -1
- package/docs/examples/w-confirm_titleColor_headerBackgroundColor_footerBackgroundColor.html +1 -1
- package/docs/examples/w-confirm_title_content.html +1 -1
- package/docs/examples/w-dialog_closeWithInterceptor.html +1 -1
- package/docs/examples/w-dialog_contentTextColor_contentBackgroundColor.html +1 -1
- package/docs/examples/w-dialog_dialogZIndex.html +1 -1
- package/docs/examples/w-dialog_fullscreen.html +1 -1
- package/docs/examples/w-dialog_hasSaveBtn (no save button).html +1 -1
- package/docs/examples/w-dialog_hasSaveBtn_hasCloseBtn_isModal (no save and close button).html +1 -1
- package/docs/examples/w-dialog_headerBackgroundColor.html +1 -1
- package/docs/examples/w-dialog_headerBtns.html +1 -1
- package/docs/examples/w-dialog_headerShadow (no shadow).html +1 -1
- package/docs/examples/w-dialog_headerShadowStyle.html +1 -1
- package/docs/examples/w-dialog_icon (fontawesome).html +1 -1
- package/docs/examples/w-dialog_isModal (not persistent).html +1 -1
- package/docs/examples/w-dialog_long title.html +1 -1
- package/docs/examples/w-dialog_maxWidth (narrow width).html +1 -1
- package/docs/examples/w-dialog_multi dialogs.html +1 -1
- package/docs/examples/w-dialog_panelBorderRadius.html +1 -1
- package/docs/examples/w-dialog_panelShadow (no shadow).html +1 -1
- package/docs/examples/w-dialog_panelShadowStyle.html +1 -1
- package/docs/examples/w-dialog_saveBtnTooltip_closeBtnTooltip.html +1 -1
- package/docs/examples/w-dialog_scrollable.html +1 -1
- package/docs/examples/w-dialog_slot content (separate line).html +1 -1
- package/docs/examples/w-dialog_slot content (table).html +1 -1
- package/docs/examples/w-dialog_slot content.html +1 -1
- package/docs/examples/w-dialog_slot header-left_header-right.html +1 -1
- package/docs/examples/w-dialog_slot panel.html +1 -1
- package/docs/examples/w-dialog_title.html +1 -1
- package/docs/examples/w-dialog_titleColor_headerIconColor_headerBackgroundColor.html +1 -1
- package/docs/examples/w-drawer_afloat.html +1 -1
- package/docs/examples/w-drawer_afloat_afloatByFix.html +1 -1
- package/docs/examples/w-drawer_afloat_afloatByFix_dragDrawerWidth.html +1 -1
- package/docs/examples/w-drawer_afloat_afloatByFix_mode.html +1 -1
- package/docs/examples/w-drawer_afloat_afloatByFix_mode_dragDrawerWidth.html +1 -1
- package/docs/examples/w-drawer_afloat_dragDrawerWidth.html +1 -1
- package/docs/examples/w-drawer_afloat_dragDrawerWidth_drawerWidthMin_drawerWidthMax.html +1 -1
- package/docs/examples/w-drawer_afloat_mode.html +1 -1
- package/docs/examples/w-drawer_afloat_mode_dragDrawerWidth.html +1 -1
- package/docs/examples/w-drawer_afloat_mode_dragDrawerWidth_drawerWidthMin.html +1 -1
- package/docs/examples/w-drawer_afloat_overlayOpacity.html +1 -1
- package/docs/examples/w-drawer_autoSwitch_switchWidth.html +1 -1
- package/docs/examples/w-drawer_default.html +1 -1
- package/docs/examples/w-drawer_dragDrawerWidth_drawerBarBorderColor_drawerBarBorderSize.html +1 -1
- package/docs/examples/w-drawer_dragDrawerWidth_drawerBarColor_drawerBarSize.html +1 -1
- package/docs/examples/w-drawer_dragDrawerWidth_drawerWidth(sync).html +1 -1
- package/docs/examples/w-drawer_dragDrawerWidth_drawerWidthMin_drawerWidthMax.html +1 -1
- package/docs/examples/w-drawer_drawerWidth.html +1 -1
- package/docs/examples/w-drawer_mode.html +1 -1
- package/docs/examples/w-drawer_mode_dragDrawerWidth.html +1 -1
- package/docs/examples/w-drawer_multiple_dragDrawerWidth_drawerWidthMin_drawerWidthMax.html +1 -1
- package/docs/examples/w-dropfiles_backgroundColor_backgroundColorDropIn_backgroundColorHover.html +1 -1
- package/docs/examples/w-dropfiles_borderColor_borderColorDropIn_borderColorHover_backgroundColorDropIn.html +1 -1
- package/docs/examples/w-dropfiles_borderRadius.html +1 -1
- package/docs/examples/w-dropfiles_borderWidth.html +1 -1
- package/docs/examples/w-dropfiles_default.html +1 -1
- package/docs/examples/w-dropfiles_timeTransition.html +1 -1
- package/docs/examples/w-dynamic-list_change rows.html +1 -1
- package/docs/examples/w-dynamic-list_change slot.html +1 -1
- package/docs/examples/w-dynamic-list_default.html +1 -1
- package/docs/examples/w-dynamic-list_filterKeywords_noResultsText.html +1 -1
- package/docs/examples/w-dynamic-list_large data (1,000,000 items).html +1 -1
- package/docs/examples/w-dynamic-list_processItems.html +1 -1
- package/docs/examples/w-dynamic-list_render.html +1 -1
- package/docs/examples/w-dynamic-list_slot item with image.html +1 -1
- package/docs/examples/w-dynamic-list_viewHeightMax.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_area.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_bar3D.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_continuous.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_heatmap.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_line.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_line3D.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_parallel.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_polar heatmap.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_polar.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_radar.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_scatter.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_stack.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_surface.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_tree.html +1 -1
- package/docs/examples/w-echarts-vue-dyn_treemap.html +1 -1
- package/docs/examples/w-explorer_bindRoot.html +1 -1
- package/docs/examples/w-explorer_btnDisplayTreeBackgroundColor_btnDisplayTreeBackgroundColorHover_btnDisplayTreeBackgroundColorFocus.html +1 -1
- package/docs/examples/w-explorer_btnDisplayTreeIconColor_btnDisplayTreeIconColorHover_btnDisplayTreeIconColorFocus.html +1 -1
- package/docs/examples/w-explorer_btnDisplayTreeIconShow_btnDisplayTreeIconHide_btnDisplayTreeIconSize.html +1 -1
- package/docs/examples/w-explorer_dark mode.html +1 -1
- package/docs/examples/w-explorer_default.html +1 -1
- package/docs/examples/w-explorer_defaultShowTreeFirst.html +1 -1
- package/docs/examples/w-explorer_defaultShowTreeFirst_noSelectedText.html +1 -1
- package/docs/examples/w-explorer_draggable.html +1 -1
- package/docs/examples/w-explorer_draggable_dgInsertLineColor_dgInsertBackgroundColor_dgBelongBackgroundColor.html +1 -1
- package/docs/examples/w-explorer_draggable_dgPreviewOpacity_dgPreviewBorderWidth_dgBelongBackgroundColor.html +1 -1
- package/docs/examples/w-explorer_draggable_dgTextDisabled_dgTextDisabledColor_dgTextDisabledPaddingLeft.html +1 -1
- package/docs/examples/w-explorer_events.html +1 -1
- package/docs/examples/w-explorer_funSortTree.html +1 -1
- package/docs/examples/w-explorer_lineBetweenPathAndListWidth_lineBetweenPathAndListColor.html +1 -1
- package/docs/examples/w-explorer_listBackgroundColor.html +1 -1
- package/docs/examples/w-explorer_listFolderIcon_listFileIcon_listIconSize.html +1 -1
- package/docs/examples/w-explorer_listItemBackgroundColor_listItemBackgroundColorHover_listItemBackgroundColorActive.html +1 -1
- package/docs/examples/w-explorer_listItemIconColor_listItemIconColorHover_listItemIconColorActive.html +1 -1
- package/docs/examples/w-explorer_listItemRippleColor.html +1 -1
- package/docs/examples/w-explorer_listItemTextColor_listItemTextColorHover_listItemTextColorActive.html +1 -1
- package/docs/examples/w-explorer_listItemTextFontSize.html +1 -1
- package/docs/examples/w-explorer_listPaddingStyle.html +1 -1
- package/docs/examples/w-explorer_operatable.html +1 -1
- package/docs/examples/w-explorer_operatable_draggable.html +1 -1
- package/docs/examples/w-explorer_operatable_editorRenameCancelBtnBackgroundColor_editorRenameCancelBtnBackgroundColorHover.html +1 -1
- package/docs/examples/w-explorer_operatable_editorRenameCancelBtnIcon_editorRenameCancelBtnIconSize_editorRenameCancelBtnIconColor.html +1 -1
- package/docs/examples/w-explorer_operatable_editorRenameCancelBtnText_editorRenameCancelBtnTextColor_editorRenameCancelBtnTextColorHover.html +1 -1
- package/docs/examples/w-explorer_operatable_editorRenameContentBackgroundColor_editorRenameFooterBackgroundColor.html +1 -1
- package/docs/examples/w-explorer_operatable_editorRenameInputTextColor_editorRenameInputTextBottomLineBorderColor_editorRenameInputTextBottomLineBorderColorHover.html +1 -1
- package/docs/examples/w-explorer_operatable_editorRenameSaveBtnBackgroundColor_editorRenameSaveBtnBackgroundColorHover.html +1 -1
- package/docs/examples/w-explorer_operatable_editorRenameSaveBtnIcon_editorRenameSaveBtnIconSize_editorRenameSaveBtnIconColor.html +1 -1
- package/docs/examples/w-explorer_operatable_editorRenameSaveBtnText_editorRenameSaveBtnTextColor_editorRenameSaveBtnTextColorHover.html +1 -1
- package/docs/examples/w-explorer_operatable_operateBtnBackgroundColor_operateBtnBackgroundColorHover_operateBtnBackgroundColorFocus.html +1 -1
- package/docs/examples/w-explorer_operatable_operateBtnTooltip_operateItemTextForRename_perateItemTextForInsertChild.html +1 -1
- package/docs/examples/w-explorer_operatable_operateItemBackgroundColor_operateItemBackgroundColorHover_operateItemTextColor.html +1 -1
- package/docs/examples/w-explorer_operatable_operateItemHeight_operateItemIconSize_operateItemPaddingStyle.html +1 -1
- package/docs/examples/w-explorer_operatable_operateItemIconForRename_operateItemIconForInsertChild_operateItemIconForDelete.html +1 -1
- package/docs/examples/w-explorer_operatable_operatePanelWidth_operatePanelHeight_operateItemIconSize.html +1 -1
- package/docs/examples/w-explorer_pathBackgroundColor.html +1 -1
- package/docs/examples/w-explorer_pathBtnBackgroundColor_pathBtnBackgroundColorHover.html +1 -1
- package/docs/examples/w-explorer_pathBtnTextColor_pathBtnTextColorHover.html +1 -1
- package/docs/examples/w-explorer_pathBtnTextFontSize.html +1 -1
- package/docs/examples/w-explorer_pathSepIcon_pathSepIconColor_pathSepIconSize.html +1 -1
- package/docs/examples/w-explorer_showTree.html +1 -1
- package/docs/examples/w-explorer_slot list-item-cover.html +1 -1
- package/docs/examples/w-explorer_slot list-item-sub.html +1 -1
- package/docs/examples/w-explorer_slot list-item-text-left.html +1 -1
- package/docs/examples/w-explorer_slot list-item-text-right.html +1 -1
- package/docs/examples/w-explorer_slot list-item_list-item-cover_list-head_list-foot.html +1 -1
- package/docs/examples/w-explorer_small text.html +1 -1
- package/docs/examples/w-explorer_toggleTreeFoldersAll.html +1 -1
- package/docs/examples/w-explorer_toggleTreeFoldersByFun.html +1 -1
- package/docs/examples/w-explorer_treeAfloat.html +1 -1
- package/docs/examples/w-explorer_treeBackgroundColor.html +1 -1
- package/docs/examples/w-explorer_treeDefItemHeight_listDefItemHeight.html +1 -1
- package/docs/examples/w-explorer_treeDefaultDisplayLevel.html +1 -1
- package/docs/examples/w-explorer_treeDrawerBarSize_treeDrawerBarColor.html +1 -1
- package/docs/examples/w-explorer_treeFolderIconColor_treeFolderIconColorHover_treeFolderIconColorActive.html +1 -1
- package/docs/examples/w-explorer_treeFolderIcon_treeFolderIconSize.html +1 -1
- package/docs/examples/w-explorer_treeIndent.html +1 -1
- package/docs/examples/w-explorer_treeItemBackgroundColor_treeItemBackgroundColorHover_treeItemBackgroundColorActive.html +1 -1
- package/docs/examples/w-explorer_treeItemRippleColor.html +1 -1
- package/docs/examples/w-explorer_treeItemTextColor_treeItemTextColorHover_treeItemTextColorActive.html +1 -1
- package/docs/examples/w-explorer_treeItemTextFontSize.html +1 -1
- package/docs/examples/w-explorer_treePaddingStyle.html +1 -1
- package/docs/examples/w-explorer_treeToggleIconColor_treeToggleIconBackgroundColor_treeToggleIconBackgroundColorHover.html +1 -1
- package/docs/examples/w-explorer_treeToggleIconSize.html +1 -1
- package/docs/examples/w-explorer_treeWidth.html +1 -1
- package/docs/examples/w-explorer_treeWidthMin_treeWidthMax.html +1 -1
- package/docs/examples/w-explorer_triggerClickTreeFolderByFun.html +1 -1
- package/docs/examples/w-explorer_triggerClickTreeFolderById.html +1 -1
- package/docs/examples/w-group-baggage_connLineColor.html +1 -1
- package/docs/examples/w-group-baggage_connLineWidth.html +1 -1
- package/docs/examples/w-group-baggage_connLineZoneWidth.html +1 -1
- package/docs/examples/w-group-baggage_contentBackgroundColor_contentBackgroundColorHover.html +1 -1
- package/docs/examples/w-group-baggage_contentBorderColor_contentBorderColorHover.html +1 -1
- package/docs/examples/w-group-baggage_contentBorderRadius.html +1 -1
- package/docs/examples/w-group-baggage_contentBorderWidth.html +1 -1
- package/docs/examples/w-group-baggage_contentPaddingStyle.html +1 -1
- package/docs/examples/w-group-baggage_contentTextColor_contentTextColorHover.html +1 -1
- package/docs/examples/w-group-baggage_contentTextFontSize.html +1 -1
- package/docs/examples/w-group-baggage_default.html +1 -1
- package/docs/examples/w-group-baggage_keyTag_keyText.html +1 -1
- package/docs/examples/w-group-baggage_slot tag.html +1 -1
- package/docs/examples/w-group-baggage_slot text-sub.html +1 -1
- package/docs/examples/w-group-baggage_slot text_contentPaddingStyle.html +1 -1
- package/docs/examples/w-group-baggage_tagBackgroundColor_tagBackgroundColorHover.html +1 -1
- package/docs/examples/w-group-baggage_tagBorderColor_tagBorderColorHover.html +1 -1
- package/docs/examples/w-group-baggage_tagBorderRadius.html +1 -1
- package/docs/examples/w-group-baggage_tagBorderWidth.html +1 -1
- package/docs/examples/w-group-baggage_tagClickable_contentClickable_events.html +1 -1
- package/docs/examples/w-group-baggage_tagDistBetweenTopAndBaseline.html +1 -1
- package/docs/examples/w-group-baggage_tagPaddingStyle_contentShiftTopFromBaseline.html +1 -1
- package/docs/examples/w-group-baggage_tagTextColor_tagTextColorHover.html +1 -1
- package/docs/examples/w-group-baggage_tagTextFontSize_contentShiftTopFromBaseline.html +1 -1
- package/docs/examples/w-group-check_backgroundColorActive.html +1 -1
- package/docs/examples/w-group-check_backgroundColor_backgroundColorHover.html +1 -1
- package/docs/examples/w-group-check_borderColor_borderColorHover_borderColorActive.html +1 -1
- package/docs/examples/w-group-check_borderRadius.html +1 -1
- package/docs/examples/w-group-check_borderRadius_borderRadiusStyle_paddingStyle.html +1 -1
- package/docs/examples/w-group-check_borderWidth_borderColor_borderColorHover_borderColorActive.html +1 -1
- package/docs/examples/w-group-check_click (console.log).html +1 -1
- package/docs/examples/w-group-check_default.html +1 -1
- package/docs/examples/w-group-check_group (only one).html +1 -1
- package/docs/examples/w-group-check_group_borderColor_borderColorHover_borderColorActive.html +1 -1
- package/docs/examples/w-group-check_group_groupBorderRadiusStyle_groupShift_borderRadius.html +1 -1
- package/docs/examples/w-group-check_icon (fontawesome).html +1 -1
- package/docs/examples/w-group-check_icon (material).html +1 -1
- package/docs/examples/w-group-check_iconColorActive.html +1 -1
- package/docs/examples/w-group-check_iconColor_iconColorHover.html +1 -1
- package/docs/examples/w-group-check_loading.html +1 -1
- package/docs/examples/w-group-check_loading_loadingColor.html +1 -1
- package/docs/examples/w-group-check_marginStyle.html +1 -1
- package/docs/examples/w-group-check_no shadowActive.html +1 -1
- package/docs/examples/w-group-check_not editable.html +1 -1
- package/docs/examples/w-group-check_paddingStyle_borderRadius_textColor_iconColor.html +1 -1
- package/docs/examples/w-group-check_paddingStyle_iconSize_textFontSize.html +1 -1
- package/docs/examples/w-group-check_shadow.html +1 -1
- package/docs/examples/w-group-check_shadowActiveStyle.html +1 -1
- package/docs/examples/w-group-check_shadow_shadowStyle.html +1 -1
- package/docs/examples/w-group-check_shiftLeft.html +1 -1
- package/docs/examples/w-group-check_shiftLeft_shiftRight.html +1 -1
- package/docs/examples/w-group-check_slot_shadow.html +1 -1
- package/docs/examples/w-group-check_textColor.html +1 -1
- package/docs/examples/w-group-check_textColorActive.html +1 -1
- package/docs/examples/w-group-check_textColor_textColorHover.html +1 -1
- package/docs/examples/w-group-check_tooltip.html +1 -1
- package/docs/examples/w-group-dragdrop_default.html +1 -1
- package/docs/examples/w-group-dragdrop_event (dragdrop).html +1 -1
- package/docs/examples/w-group-dragdrop_items(string array).html +1 -1
- package/docs/examples/w-group-dragdrop_keyBinder.html +1 -1
- package/docs/examples/w-group-dragdrop_not draggable.html +1 -1
- package/docs/examples/w-group-dragdrop_not itemStyleInline (block).html +1 -1
- package/docs/examples/w-group-radio_backgroundColorActive.html +1 -1
- package/docs/examples/w-group-radio_backgroundColor_backgroundColorHover.html +1 -1
- package/docs/examples/w-group-radio_borderColor_borderColorHover_borderColorActive.html +1 -1
- package/docs/examples/w-group-radio_borderRadius.html +1 -1
- package/docs/examples/w-group-radio_borderRadius_borderRadiusStyle_paddingStyle.html +1 -1
- package/docs/examples/w-group-radio_borderWidth_borderColor_borderColorHover_borderColorActive.html +1 -1
- package/docs/examples/w-group-radio_click (console.log).html +1 -1
- package/docs/examples/w-group-radio_default.html +1 -1
- package/docs/examples/w-group-radio_group (only one).html +1 -1
- package/docs/examples/w-group-radio_group_borderColor_borderColorHover_borderColorActive.html +1 -1
- package/docs/examples/w-group-radio_group_groupBorderRadiusStyle_groupShift_borderRadius.html +1 -1
- package/docs/examples/w-group-radio_icon (fontawesome).html +1 -1
- package/docs/examples/w-group-radio_icon (material).html +1 -1
- package/docs/examples/w-group-radio_iconColorActive.html +1 -1
- package/docs/examples/w-group-radio_iconColor_iconColorHover.html +1 -1
- package/docs/examples/w-group-radio_loading.html +1 -1
- package/docs/examples/w-group-radio_loading_loadingColor.html +1 -1
- package/docs/examples/w-group-radio_marginStyle.html +1 -1
- package/docs/examples/w-group-radio_no shadowActive.html +1 -1
- package/docs/examples/w-group-radio_not editable.html +1 -1
- package/docs/examples/w-group-radio_paddingStyle_borderRadius_textColor_iconColor.html +1 -1
- package/docs/examples/w-group-radio_paddingStyle_iconSize_textFontSize.html +1 -1
- package/docs/examples/w-group-radio_shadow.html +1 -1
- package/docs/examples/w-group-radio_shadowActiveStyle.html +1 -1
- package/docs/examples/w-group-radio_shadow_shadowStyle.html +1 -1
- package/docs/examples/w-group-radio_shiftLeft.html +1 -1
- package/docs/examples/w-group-radio_shiftLeft_shiftRight.html +1 -1
- package/docs/examples/w-group-radio_slot_shadow.html +1 -1
- package/docs/examples/w-group-radio_textColor.html +1 -1
- package/docs/examples/w-group-radio_textColorActive.html +1 -1
- package/docs/examples/w-group-radio_textColor_textColorHover.html +1 -1
- package/docs/examples/w-group-radio_tooltip.html +1 -1
- package/docs/examples/w-group-tags_backgroundColor_backgroundColorHover.html +1 -1
- package/docs/examples/w-group-tags_borderColor_borderColorHover.html +1 -1
- package/docs/examples/w-group-tags_borderRadius.html +1 -1
- package/docs/examples/w-group-tags_closeWithInterceptor.html +1 -1
- package/docs/examples/w-group-tags_default.html +1 -1
- package/docs/examples/w-group-tags_editableClose(no close button).html +1 -1
- package/docs/examples/w-group-tags_editableClose(no close button)_editableInput(no input text).html +1 -1
- package/docs/examples/w-group-tags_editableInput(no input text).html +1 -1
- package/docs/examples/w-group-tags_enableActive_valueActive.html +1 -1
- package/docs/examples/w-group-tags_enableCloseEventOnly.html +1 -1
- package/docs/examples/w-group-tags_enableNodata.html +1 -1
- package/docs/examples/w-group-tags_enableNodata_nodata_editableClose(no close button)_editableInput(no input text).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 prog by callback in click.html +1 -1
- package/docs/examples/w-group-tags_no enableNodata.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_object items.html +1 -1
- package/docs/examples/w-group-tags_object items_addButtonIcon_addButtonTextColor_addButtonTextColorHover.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 items.html +1 -1
- package/docs/examples/w-group-tags_object items_slot items_editableInput(no input button)_enableActive.html +1 -1
- package/docs/examples/w-group-tags_object items_slot items_enableColorsFromItem_editableInput(no input button).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 items.html +1 -1
- package/docs/examples/w-group-tags_slot items_enableActive_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-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_icon (fontawesome).html +1 -1
- package/docs/examples/w-icon_icon (fontawesome)_color_colorHover.html +1 -1
- package/docs/examples/w-icon_icon (fontawesome)_size.html +1 -1
- package/docs/examples/w-icon_icon (fontawesome)_timeTransition.html +1 -1
- package/docs/examples/w-icon_icon (material).html +1 -1
- package/docs/examples/w-icon_icon (material)_color_colorHover.html +1 -1
- package/docs/examples/w-icon_icon (material)_size.html +1 -1
- package/docs/examples/w-icon_icon (material)_timeTransition.html +1 -1
- package/docs/examples/w-image-cascading-dyn_arrangeWhenFinish.html +1 -1
- package/docs/examples/w-image-cascading-dyn_colNum.html +1 -1
- package/docs/examples/w-image-cascading-dyn_default(imageWidth=300).html +1 -1
- package/docs/examples/w-image-cascading-dyn_imageWidth.html +1 -1
- package/docs/examples/w-image-cascading-dyn_imageWidthSoft.html +1 -1
- package/docs/examples/w-image-viewer-dyn_multiple image with navbar.html +1 -1
- package/docs/examples/w-image-viewer-dyn_one image.html +1 -1
- package/docs/examples/w-input-checkbox_arrange_paddingStyle.html +1 -1
- package/docs/examples/w-input-checkbox_click (console.log).html +1 -1
- package/docs/examples/w-input-checkbox_default.html +1 -1
- package/docs/examples/w-input-checkbox_not editable.html +1 -1
- package/docs/examples/w-input-checkbox_not editable_textColorDisabled.html +1 -1
- package/docs/examples/w-input-checkbox_object items_keyText.html +1 -1
- package/docs/examples/w-input-checkbox_paddingStyle.html +1 -1
- package/docs/examples/w-input-checkbox_slot_paddingStyle_verticalAlign_inputSize.html +1 -1
- package/docs/examples/w-input-checkbox_textColor_textColorHover_textColorActive.html +1 -1
- package/docs/examples/w-input-checkbox_textFontSize_paddingStyle.html +1 -1
- package/docs/examples/w-input-radio_arrange_paddingStyle.html +1 -1
- package/docs/examples/w-input-radio_click (console.log).html +1 -1
- package/docs/examples/w-input-radio_default.html +1 -1
- package/docs/examples/w-input-radio_not editable.html +1 -1
- package/docs/examples/w-input-radio_not editable_textColorDisabled.html +1 -1
- package/docs/examples/w-input-radio_object items_keyText.html +1 -1
- package/docs/examples/w-input-radio_paddingStyle.html +1 -1
- package/docs/examples/w-input-radio_slot_paddingStyle_verticalAlign_inputSize.html +1 -1
- package/docs/examples/w-input-radio_textColor_textColorHover_textColorActive.html +1 -1
- package/docs/examples/w-input-radio_textFontSize_paddingStyle.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_funFilter.html +1 -1
- package/docs/examples/w-json-view_filterKeywords_noResultsText.html +1 -1
- package/docs/examples/w-json-view_iconColor_keyColor_keyNumbersColor_numColor.html +1 -1
- package/docs/examples/w-json-view_iconSize(24)_defItemHeight(32).html +1 -1
- package/docs/examples/w-json-view_large data (15,500 lines).html +1 -1
- package/docs/examples/w-json-view_no viewHeightMax.html +1 -1
- package/docs/examples/w-json-view_rippleColor.html +1 -1
- package/docs/examples/w-json-view_toggleItemsAll.html +1 -1
- package/docs/examples/w-json-view_toggleItemsByFun.html +1 -1
- package/docs/examples/w-json-view_viewHeightMax.html +1 -1
- package/docs/examples/w-leaflet-vue-dyn_contourSet for rain data.html +1 -1
- package/docs/examples/w-leaflet-vue-dyn_contourSets.html +1 -1
- package/docs/examples/w-leaflet-vue-dyn_pointSets.html +1 -1
- package/docs/examples/w-leaflet-vue-dyn_polygonSets.html +1 -1
- package/docs/examples/w-list-check_auto scroll.html +1 -1
- package/docs/examples/w-list-check_default.html +1 -1
- package/docs/examples/w-list-check_enableQuery.html +1 -1
- package/docs/examples/w-list-check_enableQuery_border.html +1 -1
- package/docs/examples/w-list-check_enableQuery_queryKeysPickForObjItem.html +1 -1
- package/docs/examples/w-list-check_enableQuery_querySepLineColor_querySepLineWidth.html +1 -1
- package/docs/examples/w-list-check_enableQuery_queryTextFontSize_queryTextColor_queryPlaceholder.html +1 -1
- package/docs/examples/w-list-check_enableQuery_slot item-content_itemBackgroundColorActive_itemCheckIconCheckedIconColorActive.html +1 -1
- package/docs/examples/w-list-check_item with no editable.html +1 -1
- package/docs/examples/w-list-check_item with no editable__itemCheckIconCheckedIconColorDisabled_itemCheckIconUncheckedIconColorDisabled.html +1 -1
- package/docs/examples/w-list-check_item with no editable_itemDisabledColor.html +1 -1
- package/docs/examples/w-list-check_item with no editable_itemTextColorDisabled_itemIconColorDisabled_itemBackgroundColorDisabled.html +1 -1
- package/docs/examples/w-list-check_itemCheckIconCheckedIconColor_itemCheckIconCheckedIconColorHover_itemCheckIconCheckedIconColorActive_itemCheckIconUncheckedIconColor.html +1 -1
- package/docs/examples/w-list-check_itemCheckIconCheckedIcon_itemCheckIconUncheckedIcon.html +1 -1
- package/docs/examples/w-list-check_itemCheckIconIconSize_itemIconSize_itemTextFontSize.html +1 -1
- package/docs/examples/w-list-check_itemRippleColor.html +1 -1
- package/docs/examples/w-list-check_itemTextColor_itemTextColorHover_itemTextColorActive_itemIconColor.html +1 -1
- package/docs/examples/w-list-check_keyPickForObjItem.html +1 -1
- package/docs/examples/w-list-check_keyText_keyIcon.html +1 -1
- package/docs/examples/w-list-check_paddingStyle_spaceBetweenCheckboxAndContent.html +1 -1
- package/docs/examples/w-list-check_slot footer.html +1 -1
- package/docs/examples/w-list-check_slot header.html +1 -1
- package/docs/examples/w-list-check_string items.html +1 -1
- package/docs/examples/w-list-expand_activeMode(multi).html +1 -1
- package/docs/examples/w-list-expand_auto scroll.html +1 -1
- package/docs/examples/w-list-expand_default.html +1 -1
- package/docs/examples/w-list-expand_itemBackgroundColor_itemBackgroundColorHover_itemBackgroundColorActive.html +1 -1
- package/docs/examples/w-list-expand_keyText_keyIcon_keyDsp.html +1 -1
- package/docs/examples/w-list-expand_paddingStyle.html +1 -1
- package/docs/examples/w-list-expand_slot footer.html +1 -1
- package/docs/examples/w-list-expand_slot header.html +1 -1
- package/docs/examples/w-list-expand_slot item-content_itemTextColor_itemTextColorHover_itemTextColorActive.html +1 -1
- package/docs/examples/w-list-expand_slot item-header_item-content.html +1 -1
- package/docs/examples/w-list-expand_string items_slot item-content.html +1 -1
- package/docs/examples/w-list-horizontal_borderBottomSize.html +1 -1
- package/docs/examples/w-list-horizontal_default.html +1 -1
- package/docs/examples/w-list-horizontal_item with no editable.html +1 -1
- package/docs/examples/w-list-horizontal_item with no editable_itemDisabledColor.html +1 -1
- package/docs/examples/w-list-horizontal_item with no editable_itemTextColorDisabled_itemIconColorDisabled_itemBackgroundColorDisabled.html +1 -1
- package/docs/examples/w-list-horizontal_itemBackgroundColor_itemBackgroundColorHover_itemBackgroundColorActive.html +1 -1
- package/docs/examples/w-list-horizontal_itemBorderRadius.html +1 -1
- package/docs/examples/w-list-horizontal_itemBorderRadius_space.html +1 -1
- package/docs/examples/w-list-horizontal_itemRippleColor.html +1 -1
- package/docs/examples/w-list-horizontal_itemRippleColor_borderBottomColor_itemTextColorActive_itemIconColorActive.html +1 -1
- package/docs/examples/w-list-horizontal_itemTextFontSize_itemIconSize.html +1 -1
- package/docs/examples/w-list-horizontal_keyText_keyIcon.html +1 -1
- package/docs/examples/w-list-horizontal_no borderBottom.html +1 -1
- package/docs/examples/w-list-horizontal_paddingStyle.html +1 -1
- package/docs/examples/w-list-horizontal_paddingStyle_borderBottomColor_itemRippleColor_itemTextColor.html +1 -1
- package/docs/examples/w-list-horizontal_slot item.html +1 -1
- package/docs/examples/w-list-horizontal_space.html +1 -1
- package/docs/examples/w-list-horizontal_string items.html +1 -1
- package/docs/examples/w-list-horizontal_string items_itemActive.html +1 -1
- package/docs/examples/w-list-radio_auto scroll.html +1 -1
- package/docs/examples/w-list-radio_default.html +1 -1
- package/docs/examples/w-list-radio_enableQuery.html +1 -1
- package/docs/examples/w-list-radio_enableQuery_border.html +1 -1
- package/docs/examples/w-list-radio_enableQuery_queryKeysPickForObjItem.html +1 -1
- package/docs/examples/w-list-radio_enableQuery_querySepLineColor_querySepLineWidth.html +1 -1
- package/docs/examples/w-list-radio_enableQuery_queryTextFontSize_queryTextColor_queryPlaceholder.html +1 -1
- package/docs/examples/w-list-radio_enableQuery_slot item-content_itemBackgroundColorActive_itemCheckIconCheckedIconColorActive.html +1 -1
- package/docs/examples/w-list-radio_item with no editable.html +1 -1
- package/docs/examples/w-list-radio_item with no editable__itemCheckIconCheckedIconColorDisabled_itemCheckIconUncheckedIconColorDisabled.html +1 -1
- package/docs/examples/w-list-radio_item with no editable_itemDisabledColor.html +1 -1
- package/docs/examples/w-list-radio_item with no editable_itemTextColorDisabled_itemIconColorDisabled_itemBackgroundColorDisabled.html +1 -1
- package/docs/examples/w-list-radio_itemCheckIconCheckedIconColor_itemCheckIconCheckedIconColorHover_itemCheckIconCheckedIconColorActive_itemCheckIconUncheckedIconColor.html +1 -1
- package/docs/examples/w-list-radio_itemCheckIconCheckedIcon_itemCheckIconUncheckedIcon.html +1 -1
- package/docs/examples/w-list-radio_itemCheckIconIconSize_itemIconSize_itemTextFontSize.html +1 -1
- package/docs/examples/w-list-radio_itemRippleColor.html +1 -1
- package/docs/examples/w-list-radio_itemTextColor_itemTextColorHover_itemTextColorActive_itemIconColor.html +1 -1
- package/docs/examples/w-list-radio_keyPickForObjItem.html +1 -1
- package/docs/examples/w-list-radio_keyText_keyIcon.html +1 -1
- package/docs/examples/w-list-radio_paddingStyle_spaceBetweenCheckboxAndContent.html +1 -1
- package/docs/examples/w-list-radio_slot footer.html +1 -1
- package/docs/examples/w-list-radio_slot header.html +1 -1
- package/docs/examples/w-list-radio_string items.html +1 -1
- package/docs/examples/w-list-vertical_auto scroll.html +1 -1
- package/docs/examples/w-list-vertical_default.html +1 -1
- package/docs/examples/w-list-vertical_enableActive (no active).html +1 -1
- package/docs/examples/w-list-vertical_enableActive (no active)_itemRippleColor.html +1 -1
- package/docs/examples/w-list-vertical_item with no editable.html +1 -1
- package/docs/examples/w-list-vertical_item with no editable_itemDisabledColor.html +1 -1
- package/docs/examples/w-list-vertical_item with no editable_itemTextColorDisabled_itemIconColorDisabled_itemBackgroundColorDisabled.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_itemBackgroundColorActive.html +1 -1
- package/docs/examples/w-list-vertical_string items.html +1 -1
- package/docs/examples/w-list-vertical_string items_itemActive.html +1 -1
- package/docs/examples/w-panel-avatar_avatarBackgroundColor.html +1 -1
- package/docs/examples/w-panel-avatar_avatarBorderRadius.html +1 -1
- package/docs/examples/w-panel-avatar_avatarBorderWidth_avatarBorderColor_avatarBackgroundColor.html +1 -1
- package/docs/examples/w-panel-avatar_avatarIcon (fontawesome).html +1 -1
- package/docs/examples/w-panel-avatar_avatarIcon (material).html +1 -1
- package/docs/examples/w-panel-avatar_avatarIcon_avatarIconSize_avatarIconColor_avatarBackgroundColor.html +1 -1
- package/docs/examples/w-panel-avatar_avatarOuterPadding_avatarInnerPadding.html +1 -1
- package/docs/examples/w-panel-avatar_contentBackgroundColor.html +1 -1
- package/docs/examples/w-panel-avatar_contentBorderRadius.html +1 -1
- package/docs/examples/w-panel-avatar_contentShadow.html +1 -1
- package/docs/examples/w-panel-avatar_default.html +1 -1
- package/docs/examples/w-panel-avatar_headerPadding_headerTextColor_headerTextSize_subHeaderTextColor.html +1 -1
- package/docs/examples/w-panel-avatar_headerVerticalAlign_spaceVBetweenHeaderAndContent.html +1 -1
- package/docs/examples/w-panel-avatar_no avatarShadow.html +1 -1
- package/docs/examples/w-panel-avatar_sepLineWidth_sepLineColor.html +1 -1
- package/docs/examples/w-panel-avatar_shiftVFromAvaterCenter.html +1 -1
- package/docs/examples/w-panel-avatar_slot avatar_avatarBackgroundColor.html +1 -1
- package/docs/examples/w-panel-avatar_spaceHBetweenAvatarAndHeader_spaceVBetweenHeaderAndContent.html +1 -1
- package/docs/examples/w-panel-bulge_contentBackgroundColor.html +1 -1
- package/docs/examples/w-panel-bulge_contentBorderRadius.html +1 -1
- package/docs/examples/w-panel-bulge_default.html +1 -1
- package/docs/examples/w-panel-bulge_headerBorderRadius.html +1 -1
- package/docs/examples/w-panel-bulge_headerTextColor_headerBackgroundColor.html +1 -1
- package/docs/examples/w-panel-bulge_no headerShadow_no contentShadow, with green outer.html +1 -1
- package/docs/examples/w-panel-bulge_paddingStyle.html +1 -1
- package/docs/examples/w-panel-bulge_slot for header_headerBorderRadius_headerBackgroundColor(linear-gradient).html +1 -1
- package/docs/examples/w-panel-bulge_with grey outer.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_barBorderSize_barBorderColor.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_barColor.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_barSize.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_default.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_leftWidthMin_leftWidthMax.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_ratio.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_ratioMin_ratioMax.html +1 -1
- package/docs/examples/w-panel-divide-horizontal_rightWidthMin_rightWidthMax.html +1 -1
- package/docs/examples/w-panel-divide-vertical_barBorderSize_barBorderColor.html +1 -1
- package/docs/examples/w-panel-divide-vertical_barColor.html +1 -1
- package/docs/examples/w-panel-divide-vertical_barSize.html +1 -1
- package/docs/examples/w-panel-divide-vertical_bottomHeightMin_bottomHeightMax.html +1 -1
- package/docs/examples/w-panel-divide-vertical_default.html +1 -1
- package/docs/examples/w-panel-divide-vertical_ratio.html +1 -1
- package/docs/examples/w-panel-divide-vertical_ratioMin_ratioMax.html +1 -1
- package/docs/examples/w-panel-divide-vertical_topHeightMin_topHeightMax.html +1 -1
- package/docs/examples/w-panel-label-Item_labelColor.html +1 -1
- package/docs/examples/w-panel-label-Item_labelFontSize.html +1 -1
- package/docs/examples/w-panel-label-Item_labelVerticalAlign.html +1 -1
- package/docs/examples/w-panel-label-Item_labelWidth.html +1 -1
- package/docs/examples/w-panel-label-Item_labelWidth_labelHorizontalAlign.html +1 -1
- package/docs/examples/w-panel-label-Item_seplines_labelColor.html +1 -1
- package/docs/examples/w-panel-label-Item_seplines_labelFontSize.html +1 -1
- package/docs/examples/w-panel-label-Item_seplines_labelWidth.html +1 -1
- package/docs/examples/w-panel-label-Item_seplines_labelWidth_labelHorizontalAlign.html +1 -1
- package/docs/examples/w-panel-label-Item_seplines_slot item-sub.html +1 -1
- package/docs/examples/w-panel-label-Item_seplines_slot item-sub_floatForItemSub.html +1 -1
- package/docs/examples/w-panel-label-Item_seplines_slot label.html +1 -1
- package/docs/examples/w-panel-label-Item_seplines_space.html +1 -1
- package/docs/examples/w-panel-label-Item_slot item-sub.html +1 -1
- package/docs/examples/w-panel-label-Item_slot item-sub_floatForItemSub.html +1 -1
- package/docs/examples/w-panel-label-Item_slot label.html +1 -1
- package/docs/examples/w-panel-label-Item_space.html +1 -1
- package/docs/examples/w-panel-label-Item_with group-tags_labelVerticalAlign_labelShiftTop.html +1 -1
- package/docs/examples/w-panel-label-Item_with select.html +1 -1
- package/docs/examples/w-panel-label-Item_with select_seplines.html +1 -1
- package/docs/examples/w-panel-label-Item_with text.html +1 -1
- package/docs/examples/w-panel-label-Item_with text_seplines.html +1 -1
- package/docs/examples/w-panel-label-Item_with textarea_labelVerticalAlign.html +1 -1
- package/docs/examples/w-panel-label-Item_with textarea_seplines.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 dialog.html +1 -1
- package/docs/examples/w-popup_auto flipping in scroll panel.html +1 -1
- package/docs/examples/w-popup_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-popup_autoFitMinWidth.html +1 -1
- package/docs/examples/w-popup_backgroundColor.html +1 -1
- package/docs/examples/w-popup_borderRadius.html +1 -1
- package/docs/examples/w-popup_click item by latency hiding.html +1 -1
- package/docs/examples/w-popup_default.html +1 -1
- package/docs/examples/w-popup_in popup.html +1 -1
- package/docs/examples/w-popup_in scroll panel.html +1 -1
- package/docs/examples/w-popup_isolated.html +1 -1
- package/docs/examples/w-popup_maxWidth.html +1 -1
- package/docs/examples/w-popup_minWidth.html +1 -1
- package/docs/examples/w-popup_no shadow_backgroundColor.html +1 -1
- package/docs/examples/w-popup_not editable.html +1 -1
- package/docs/examples/w-popup_paddingStyle.html +1 -1
- package/docs/examples/w-popup_placement.html +1 -1
- package/docs/examples/w-popup_placementDist.html +1 -1
- package/docs/examples/w-popup_shadowStyle.html +1 -1
- package/docs/examples/w-popup_slot for table_maxWidth.html +1 -1
- package/docs/examples/w-popup_textColor_backgroundColor.html +1 -1
- package/docs/examples/w-popup_textFontSize.html +1 -1
- package/docs/examples/w-popup_transitionTime.html +1 -1
- package/docs/examples/w-progress-bar_decimal.html +1 -1
- package/docs/examples/w-progress-bar_default.html +1 -1
- package/docs/examples/w-progress-bar_enableContinuous.html +1 -1
- package/docs/examples/w-progress-bar_enableContinuous_continuousIncrease_continuousPeriod.html +1 -1
- package/docs/examples/w-progress-bar_enableContinuous_progColor_progBackgroundColor.html +1 -1
- package/docs/examples/w-progress-bar_enableIconFinish (no iconFinish).html +1 -1
- package/docs/examples/w-progress-bar_enableIconWaiting (no iconWaiting).html +1 -1
- package/docs/examples/w-progress-bar_height.html +1 -1
- package/docs/examples/w-progress-bar_height_borderRadius.html +1 -1
- package/docs/examples/w-progress-bar_iconFinish (fontawesome).html +1 -1
- package/docs/examples/w-progress-bar_iconFinishColor.html +1 -1
- package/docs/examples/w-progress-bar_iconSize.html +1 -1
- package/docs/examples/w-progress-bar_iconWaiting (fontawesome).html +1 -1
- package/docs/examples/w-progress-bar_iconWaitingColor.html +1 -1
- package/docs/examples/w-progress-bar_progColor.html +1 -1
- package/docs/examples/w-progress-bar_progColor_progBackgroundColor.html +1 -1
- package/docs/examples/w-progress-bar_title.html +1 -1
- package/docs/examples/w-progress-bar_title_titleTextColor.html +1 -1
- package/docs/examples/w-progress-bar_title_titleTextFontSize.html +1 -1
- package/docs/examples/w-progress-bar_value=0 (waiting).html +1 -1
- package/docs/examples/w-progress-bar_value=100 (finish).html +1 -1
- package/docs/examples/w-progress-bar_valueTextColor.html +1 -1
- package/docs/examples/w-progress-bar_valueTextFontSize.html +1 -1
- package/docs/examples/w-progress-circle_color.html +1 -1
- package/docs/examples/w-progress-circle_color_trackColor.html +1 -1
- package/docs/examples/w-progress-circle_color_trackColor_textColor.html +1 -1
- package/docs/examples/w-progress-circle_default.html +1 -1
- package/docs/examples/w-progress-circle_small size.html +1 -1
- package/docs/examples/w-progress-circle_tooltip.html +1 -1
- package/docs/examples/w-progress-circle_tooltip_tooltipBorderRadius.html +1 -1
- package/docs/examples/w-progress-circle_tooltip_tooltipPaddingStyle.html +1 -1
- package/docs/examples/w-progress-circle_tooltip_tooltipTextColor_tooltipBackgroundColor.html +1 -1
- package/docs/examples/w-progress-circle_tooltip_tooltipTextFontSize.html +1 -1
- package/docs/examples/w-progress-circle_very small size.html +1 -1
- package/docs/examples/w-progress-circle_width.html +1 -1
- package/docs/examples/w-progress-circle_/344/270/255/346/226/207text.html +1 -1
- package/docs/examples/w-quill-vue-dyn_default.html +1 -1
- package/docs/examples/w-quill-vue-dyn_height.html +1 -1
- package/docs/examples/w-quill-vue-dyn_not editable.html +1 -1
- package/docs/examples/w-quill-vue-dyn_settings.html +1 -1
- package/docs/examples/w-segments-vertical_alignStart_alignEnd.html +1 -1
- package/docs/examples/w-segments-vertical_axisColor_tickColor_tickSize_tickLabelColor.html +1 -1
- package/docs/examples/w-segments-vertical_default.html +1 -1
- package/docs/examples/w-segments-vertical_events_textCanClick_segmentCanClick.html +1 -1
- package/docs/examples/w-segments-vertical_funFormatTickValue.html +1 -1
- package/docs/examples/w-segments-vertical_funSegmentBackgroundColor_funSegmentBorderColor.html +1 -1
- package/docs/examples/w-segments-vertical_items(continuous)_alignStart_alignEnd_textShift.html +1 -1
- package/docs/examples/w-segments-vertical_keyValueStart_keyValueEnd_keyText.html +1 -1
- package/docs/examples/w-segments-vertical_paddingStyle_textShift_width_height.html +1 -1
- package/docs/examples/w-segments-vertical_segmentBackgroundColor_segmentBorderColor_segmentSize.html +1 -1
- package/docs/examples/w-segments-vertical_slot support-left_width_paddingStyle_segmentBackgroundType.html +1 -1
- package/docs/examples/w-segments-vertical_slot support-right_width_paddingStyle_segmentBackgroundType.html +1 -1
- package/docs/examples/w-segments-vertical_slot text.html +1 -1
- package/docs/examples/w-segments-vertical_textFontSize_textColor_textBackgroundColor.html +1 -1
- package/docs/examples/w-segments-vertical_textTriangularSize_textTriangularRatio.html +1 -1
- package/docs/examples/w-segments-vertical_textWithPopup_slot text-popup.html +1 -1
- package/docs/examples/w-segments-vertical_title_titleColor_titleFontSize_titleShift.html +1 -1
- package/docs/examples/w-segments-vertical_valueMin_valueMax.html +1 -1
- package/docs/examples/w-segments-vertical_width_height.html +1 -1
- package/docs/examples/w-slider_default.html +1 -1
- package/docs/examples/w-slider_not editable.html +1 -1
- package/docs/examples/w-slider_not editable_progColorDisabled_progBackgroundColorDisabled_sliderBackgroundColorDisabled.html +1 -1
- package/docs/examples/w-slider_progBorderRadius.html +1 -1
- package/docs/examples/w-slider_progColor_progBackgroundColor_sliderBackgroundColor_sliderBackgroundColorHover.html +1 -1
- package/docs/examples/w-slider_progHeight.html +1 -1
- package/docs/examples/w-slider_sliderSize.html +1 -1
- package/docs/examples/w-slider_tooltipBorderRadius.html +1 -1
- package/docs/examples/w-slider_tooltipPlacementDist.html +1 -1
- package/docs/examples/w-slider_tooltipTextColor_tooltipBackgroundColor.html +1 -1
- package/docs/examples/w-slider_tooltipTextFontSize.html +1 -1
- package/docs/examples/w-slider_valueDecimal_valueMin_valueMax_valueStep.html +1 -1
- package/docs/examples/w-slider_valueMin_valueMax.html +1 -1
- package/docs/examples/w-slider_valueStep.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_inforPaddingStyle_menuBackgroundColor.html +1 -1
- package/docs/examples/w-table-dyn_editable_language_checkId_tooltipAddRow.html +1 -1
- package/docs/examples/w-table-dyn_editable_language_textLabelDataName_textPlaceholderDataName.html +1 -1
- package/docs/examples/w-table-dyn_editable_no enableInfor.html +1 -1
- package/docs/examples/w-table-dyn_editable_no enableMenu.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_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_no enableInfor.html +1 -1
- package/docs/examples/w-table-dyn_no enableMenu.html +1 -1
- package/docs/examples/w-table-dyn_opt.kpHead.html +1 -1
- package/docs/examples/w-table-dyn_removeIdsWhenDownload (remove id, mappingId, order, isActive).html +1 -1
- package/docs/examples/w-table-dyn_slot btns.html +1 -1
- package/docs/examples/w-table-dyn_slot infor (name_description).html +1 -1
- package/docs/examples/w-table-dyn_sortColIds (sort by order).html +1 -1
- package/docs/examples/w-text-int_borderRadius.html +1 -1
- package/docs/examples/w-text-int_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
- package/docs/examples/w-text-int_border_borderRadius.html +1 -1
- package/docs/examples/w-text-int_border_buttonColor_buttonColorHover_buttonColorFocus.html +1 -1
- package/docs/examples/w-text-int_border_default.html +1 -1
- package/docs/examples/w-text-int_border_not editable.html +1 -1
- package/docs/examples/w-text-int_border_width.html +1 -1
- package/docs/examples/w-text-int_buttonColor_buttonColorHover_buttonColorFocus.html +1 -1
- package/docs/examples/w-text-int_buttonIconSize.html +1 -1
- package/docs/examples/w-text-int_default.html +1 -1
- package/docs/examples/w-text-int_not editable.html +1 -1
- package/docs/examples/w-text-int_textColor.html +1 -1
- package/docs/examples/w-text-int_textFontSize.html +1 -1
- package/docs/examples/w-text-int_width.html +1 -1
- package/docs/examples/w-text-select_a lot of items.html +1 -1
- package/docs/examples/w-text-select_borderRadius.html +1 -1
- package/docs/examples/w-text-select_border_a lot of items.html +1 -1
- package/docs/examples/w-text-select_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
- package/docs/examples/w-text-select_border_borderRadius.html +1 -1
- package/docs/examples/w-text-select_border_default.html +1 -1
- package/docs/examples/w-text-select_border_events.html +1 -1
- package/docs/examples/w-text-select_border_expansionIconSize.html +1 -1
- package/docs/examples/w-text-select_border_fullwidth.html +1 -1
- package/docs/examples/w-text-select_border_itemPaddingStyle.html +1 -1
- package/docs/examples/w-text-select_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +1 -1
- package/docs/examples/w-text-select_border_itemTextFontSize_defItemHeight.html +1 -1
- package/docs/examples/w-text-select_border_items(string array).html +1 -1
- package/docs/examples/w-text-select_border_keyText.html +1 -1
- package/docs/examples/w-text-select_border_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-text-select_border_leftIcon (material).html +1 -1
- package/docs/examples/w-text-select_border_leftIcon_leftIconColor_leftIconColorHover.html +1 -1
- package/docs/examples/w-text-select_border_leftIcon_leftIconSize.html +1 -1
- package/docs/examples/w-text-select_border_maxHeight.html +1 -1
- package/docs/examples/w-text-select_border_maxWidth_autoFitMinWidth_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-text-select_border_minWidth_autoFitMinWidth_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-text-select_border_not editable.html +1 -1
- package/docs/examples/w-text-select_border_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-text-select_border_paddingStyle (thin style).html +1 -1
- package/docs/examples/w-text-select_border_rightIcon_rightIconColor_rightIconColorHover.html +1 -1
- package/docs/examples/w-text-select_border_rightIcon_rightIconSize.html +1 -1
- package/docs/examples/w-text-select_border_showExpansionIcon.html +1 -1
- package/docs/examples/w-text-select_border_slot item.html +1 -1
- package/docs/examples/w-text-select_border_slot select.html +1 -1
- package/docs/examples/w-text-select_border_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-text-select_border_textFontSize.html +1 -1
- package/docs/examples/w-text-select_border_with popup.html +1 -1
- package/docs/examples/w-text-select_default.html +1 -1
- package/docs/examples/w-text-select_events.html +1 -1
- package/docs/examples/w-text-select_expansionIconSize.html +1 -1
- package/docs/examples/w-text-select_fullwidth.html +1 -1
- package/docs/examples/w-text-select_itemPaddingStyle.html +1 -1
- package/docs/examples/w-text-select_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +1 -1
- package/docs/examples/w-text-select_itemTextFontSize_defItemHeight.html +1 -1
- package/docs/examples/w-text-select_items(string array).html +1 -1
- package/docs/examples/w-text-select_keyText.html +1 -1
- package/docs/examples/w-text-select_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-text-select_leftIcon (material).html +1 -1
- package/docs/examples/w-text-select_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +1 -1
- package/docs/examples/w-text-select_leftIcon_leftIconSize.html +1 -1
- package/docs/examples/w-text-select_maxHeight.html +1 -1
- package/docs/examples/w-text-select_maxWidth_autoFitMinWidth_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-text-select_minWidth_autoFitMinWidth_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-text-select_not editable.html +1 -1
- package/docs/examples/w-text-select_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-text-select_paddingStyle (thin style).html +1 -1
- package/docs/examples/w-text-select_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +1 -1
- package/docs/examples/w-text-select_rightIcon_rightIconSize.html +1 -1
- package/docs/examples/w-text-select_showExpansionIcon.html +1 -1
- package/docs/examples/w-text-select_slot item.html +1 -1
- package/docs/examples/w-text-select_slot select.html +1 -1
- package/docs/examples/w-text-select_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-text-select_textFontSize.html +1 -1
- package/docs/examples/w-text-select_with popup.html +1 -1
- package/docs/examples/w-text-suggest_a lot of items.html +1 -1
- package/docs/examples/w-text-suggest_borderRadius.html +1 -1
- package/docs/examples/w-text-suggest_border_a lot of items.html +1 -1
- package/docs/examples/w-text-suggest_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
- package/docs/examples/w-text-suggest_border_borderRadius.html +1 -1
- package/docs/examples/w-text-suggest_border_default.html +1 -1
- package/docs/examples/w-text-suggest_border_events.html +1 -1
- package/docs/examples/w-text-suggest_border_expansionIconSize.html +1 -1
- package/docs/examples/w-text-suggest_border_fullwidth.html +1 -1
- package/docs/examples/w-text-suggest_border_itemPaddingStyle.html +1 -1
- package/docs/examples/w-text-suggest_border_itemTextColor_itemTextColorHover_itemBackgroundColor.html +1 -1
- package/docs/examples/w-text-suggest_border_itemTextFontSize_defItemHeight.html +1 -1
- package/docs/examples/w-text-suggest_border_items(string array).html +1 -1
- package/docs/examples/w-text-suggest_border_keyText.html +1 -1
- package/docs/examples/w-text-suggest_border_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-text-suggest_border_leftIcon (material).html +1 -1
- package/docs/examples/w-text-suggest_border_leftIcon_leftIconColor_leftIconColorHover.html +1 -1
- package/docs/examples/w-text-suggest_border_leftIcon_leftIconSize.html +1 -1
- package/docs/examples/w-text-suggest_border_noResultsText.html +1 -1
- package/docs/examples/w-text-suggest_border_not editable.html +1 -1
- package/docs/examples/w-text-suggest_border_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-text-suggest_border_paddingStyle (thin style).html +1 -1
- package/docs/examples/w-text-suggest_border_placeholder.html +1 -1
- package/docs/examples/w-text-suggest_border_rightIcon_rightIconColor_rightIconColorHover.html +1 -1
- package/docs/examples/w-text-suggest_border_rightIcon_rightIconSize.html +1 -1
- package/docs/examples/w-text-suggest_border_showExpansionIcon.html +1 -1
- package/docs/examples/w-text-suggest_border_showPanel(press enter to hide panel)_focused.html +1 -1
- package/docs/examples/w-text-suggest_border_slot item.html +1 -1
- package/docs/examples/w-text-suggest_border_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-text-suggest_border_textFontSize.html +1 -1
- package/docs/examples/w-text-suggest_border_with popup.html +1 -1
- package/docs/examples/w-text-suggest_default.html +1 -1
- package/docs/examples/w-text-suggest_events.html +1 -1
- package/docs/examples/w-text-suggest_expansionIconSize.html +1 -1
- package/docs/examples/w-text-suggest_fullwidth.html +1 -1
- package/docs/examples/w-text-suggest_itemPaddingStyle.html +1 -1
- package/docs/examples/w-text-suggest_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +1 -1
- package/docs/examples/w-text-suggest_itemTextFontSize_defItemHeight.html +1 -1
- package/docs/examples/w-text-suggest_items(string array).html +1 -1
- package/docs/examples/w-text-suggest_keyText.html +1 -1
- package/docs/examples/w-text-suggest_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-text-suggest_leftIcon (material).html +1 -1
- package/docs/examples/w-text-suggest_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +1 -1
- package/docs/examples/w-text-suggest_leftIcon_leftIconSize.html +1 -1
- package/docs/examples/w-text-suggest_maxHeight.html +1 -1
- package/docs/examples/w-text-suggest_maxWidth_autoFitMinWidth_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-text-suggest_minWidth_autoFitMinWidth_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-text-suggest_noResultsText.html +1 -1
- package/docs/examples/w-text-suggest_not editable.html +1 -1
- package/docs/examples/w-text-suggest_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-text-suggest_paddingStyle (thin style).html +1 -1
- package/docs/examples/w-text-suggest_placeholder.html +1 -1
- package/docs/examples/w-text-suggest_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +1 -1
- package/docs/examples/w-text-suggest_rightIcon_rightIconSize.html +1 -1
- package/docs/examples/w-text-suggest_showExpansionIcon.html +1 -1
- package/docs/examples/w-text-suggest_showPanel(press enter to hide panel)_focused.html +1 -1
- package/docs/examples/w-text-suggest_slot item.html +1 -1
- package/docs/examples/w-text-suggest_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-text-suggest_textFontSize.html +1 -1
- package/docs/examples/w-text-suggest_with popup.html +1 -1
- package/docs/examples/w-text_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
- package/docs/examples/w-text_border_borderRadius_paddingStyle.html +1 -1
- package/docs/examples/w-text_border_default.html +1 -1
- package/docs/examples/w-text_border_events.html +1 -1
- package/docs/examples/w-text_border_fullwidth.html +1 -1
- package/docs/examples/w-text_border_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-text_border_leftIcon (material).html +1 -1
- package/docs/examples/w-text_border_leftIcon_leftIconColor_leftIconColorHover.html +1 -1
- package/docs/examples/w-text_border_not editable.html +1 -1
- package/docs/examples/w-text_border_placeholder.html +1 -1
- package/docs/examples/w-text_border_rightIcon_rightIconColor_rightIconColorHover.html +1 -1
- package/docs/examples/w-text_border_textAlign.html +1 -1
- package/docs/examples/w-text_border_textColor.html +1 -1
- package/docs/examples/w-text_bottomLineBorderColor_bottomLineBorderColorHover_bottomLineBorderColorFocus.html +1 -1
- package/docs/examples/w-text_default.html +1 -1
- package/docs/examples/w-text_events.html +1 -1
- package/docs/examples/w-text_fullwidth.html +1 -1
- package/docs/examples/w-text_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-text_leftIcon (material).html +1 -1
- package/docs/examples/w-text_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +1 -1
- package/docs/examples/w-text_leftIcon_leftIconSize.html +1 -1
- package/docs/examples/w-text_leftIcon_leftIconTooltip.html +1 -1
- package/docs/examples/w-text_not editable.html +1 -1
- package/docs/examples/w-text_placeholder.html +1 -1
- package/docs/examples/w-text_rightIcon.html +1 -1
- package/docs/examples/w-text_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +1 -1
- package/docs/examples/w-text_rightIcon_rightIconSize.html +1 -1
- package/docs/examples/w-text_rightIcon_rightIconTooltip.html +1 -1
- package/docs/examples/w-text_textAlign.html +1 -1
- package/docs/examples/w-text_textColor.html +1 -1
- package/docs/examples/w-text_textFontSize.html +1 -1
- package/docs/examples/w-textarea_border_backgroundColor_backgroundColorHover_backgroundColorFocus.html +1 -1
- package/docs/examples/w-textarea_border_borderRadius_paddingStyle.html +1 -1
- package/docs/examples/w-textarea_border_default.html +1 -1
- package/docs/examples/w-textarea_border_events.html +1 -1
- package/docs/examples/w-textarea_border_fullwidth.html +1 -1
- package/docs/examples/w-textarea_border_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-textarea_border_leftIcon (material).html +1 -1
- package/docs/examples/w-textarea_border_leftIcon_leftIconColor_leftIconColorHover.html +1 -1
- package/docs/examples/w-textarea_border_not editable.html +1 -1
- package/docs/examples/w-textarea_border_placeholder.html +1 -1
- package/docs/examples/w-textarea_border_rightIcon_rightIconColor_rightIconColorHover.html +1 -1
- package/docs/examples/w-textarea_border_textAlign.html +1 -1
- package/docs/examples/w-textarea_border_textColor.html +1 -1
- package/docs/examples/w-textarea_bottomLineBorderColor_bottomLineBorderColorHover_bottomLineBorderColorFocus.html +1 -1
- package/docs/examples/w-textarea_default.html +1 -1
- package/docs/examples/w-textarea_events.html +1 -1
- package/docs/examples/w-textarea_fullwidth.html +1 -1
- package/docs/examples/w-textarea_leftIcon (fontawesome).html +1 -1
- package/docs/examples/w-textarea_leftIcon (material).html +1 -1
- package/docs/examples/w-textarea_leftIcon_leftIconColor_leftIconColorHover_leftIconColorFocus.html +1 -1
- package/docs/examples/w-textarea_leftIcon_leftIconSize.html +1 -1
- package/docs/examples/w-textarea_leftIcon_leftIconTooltip.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-textarea_rightIcon_rightIconColor_rightIconColorHover_rightIconColorFocus.html +1 -1
- package/docs/examples/w-textarea_rightIcon_rightIconSize_verticalAlign.html +1 -1
- package/docs/examples/w-textarea_rightIcon_rightIconTooltip_verticalAlign.html +1 -1
- package/docs/examples/w-textarea_rightIcon_verticalAlign.html +1 -1
- package/docs/examples/w-textarea_textAlign.html +1 -1
- package/docs/examples/w-textarea_textColor.html +1 -1
- package/docs/examples/w-textarea_textFontSize.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_iconColorHover_iconColorFoucs.html +1 -1
- package/docs/examples/w-timeday-range_border_iconTooltip.html +1 -1
- package/docs/examples/w-timeday-range_border_not editable.html +1 -1
- package/docs/examples/w-timeday-range_border_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeday-range_border_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeday-range_border_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeday-range_border_pickColor.html +1 -1
- package/docs/examples/w-timeday-range_border_textColor.html +1 -1
- package/docs/examples/w-timeday-range_default.html +1 -1
- package/docs/examples/w-timeday-range_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeday-range_icon (material).html +1 -1
- package/docs/examples/w-timeday-range_iconColor_iconColorHover_iconColorFoucs.html +1 -1
- package/docs/examples/w-timeday-range_iconTooltip.html +1 -1
- package/docs/examples/w-timeday-range_icon_iconSize_placementDist.html +1 -1
- package/docs/examples/w-timeday-range_not editable.html +1 -1
- package/docs/examples/w-timeday-range_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeday-range_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeday-range_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeday-range_pickColor.html +1 -1
- package/docs/examples/w-timeday-range_textColor.html +1 -1
- package/docs/examples/w-timeday_borderRadius.html +1 -1
- package/docs/examples/w-timeday_border_borderRadius.html +1 -1
- package/docs/examples/w-timeday_border_default.html +1 -1
- package/docs/examples/w-timeday_border_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeday_border_icon (material).html +1 -1
- package/docs/examples/w-timeday_border_iconColor_iconColorHover_iconColorFoucs.html +1 -1
- package/docs/examples/w-timeday_border_iconTooltip.html +1 -1
- package/docs/examples/w-timeday_border_not editable.html +1 -1
- package/docs/examples/w-timeday_border_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeday_border_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeday_border_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeday_border_pickColor.html +1 -1
- package/docs/examples/w-timeday_border_textColor.html +1 -1
- package/docs/examples/w-timeday_default.html +1 -1
- package/docs/examples/w-timeday_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeday_icon (material).html +1 -1
- package/docs/examples/w-timeday_iconColor_iconColorHover_iconColorFoucs.html +1 -1
- package/docs/examples/w-timeday_iconTooltip.html +1 -1
- package/docs/examples/w-timeday_icon_iconSize_placementDist.html +1 -1
- package/docs/examples/w-timeday_not editable.html +1 -1
- package/docs/examples/w-timeday_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeday_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeday_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeday_pickColor.html +1 -1
- package/docs/examples/w-timeday_textColor.html +1 -1
- package/docs/examples/w-timeminute-range_between.html +1 -1
- package/docs/examples/w-timeminute-range_borderRadius.html +1 -1
- package/docs/examples/w-timeminute-range_border_between.html +1 -1
- package/docs/examples/w-timeminute-range_border_borderRadius.html +1 -1
- package/docs/examples/w-timeminute-range_border_default.html +1 -1
- package/docs/examples/w-timeminute-range_border_hourMin_hourMax.html +1 -1
- package/docs/examples/w-timeminute-range_border_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeminute-range_border_icon (material).html +1 -1
- package/docs/examples/w-timeminute-range_border_iconColor_iconColorHover_iconColorFoucs.html +1 -1
- package/docs/examples/w-timeminute-range_border_iconTooltip.html +1 -1
- package/docs/examples/w-timeminute-range_border_minuteInter.html +1 -1
- package/docs/examples/w-timeminute-range_border_minutesCustom.html +1 -1
- package/docs/examples/w-timeminute-range_border_not editable.html +1 -1
- package/docs/examples/w-timeminute-range_border_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeminute-range_border_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeminute-range_border_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeminute-range_border_pickColor.html +1 -1
- package/docs/examples/w-timeminute-range_border_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-timeminute-range_default.html +1 -1
- package/docs/examples/w-timeminute-range_hourMin_hourMax.html +1 -1
- package/docs/examples/w-timeminute-range_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeminute-range_icon (material).html +1 -1
- package/docs/examples/w-timeminute-range_iconColor_iconColorHover_iconColorFoucs.html +1 -1
- package/docs/examples/w-timeminute-range_iconTooltip.html +1 -1
- package/docs/examples/w-timeminute-range_icon_iconSize_placementDist.html +1 -1
- package/docs/examples/w-timeminute-range_minuteInter.html +1 -1
- package/docs/examples/w-timeminute-range_minutesCustom.html +1 -1
- package/docs/examples/w-timeminute-range_not editable.html +1 -1
- package/docs/examples/w-timeminute-range_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeminute-range_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeminute-range_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeminute-range_pickColor.html +1 -1
- package/docs/examples/w-timeminute-range_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-timeminute_borderRadius.html +1 -1
- package/docs/examples/w-timeminute_border_borderRadius.html +1 -1
- package/docs/examples/w-timeminute_border_default.html +1 -1
- package/docs/examples/w-timeminute_border_hourMin_hourMax.html +1 -1
- package/docs/examples/w-timeminute_border_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeminute_border_icon (material).html +1 -1
- package/docs/examples/w-timeminute_border_iconColor_iconColorHover_iconColorFoucs.html +1 -1
- package/docs/examples/w-timeminute_border_iconTooltip.html +1 -1
- package/docs/examples/w-timeminute_border_minuteInter.html +1 -1
- package/docs/examples/w-timeminute_border_minutesCustom.html +1 -1
- package/docs/examples/w-timeminute_border_not editable.html +1 -1
- package/docs/examples/w-timeminute_border_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeminute_border_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeminute_border_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeminute_border_pickColor.html +1 -1
- package/docs/examples/w-timeminute_border_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-timeminute_default.html +1 -1
- package/docs/examples/w-timeminute_hourMin_hourMax.html +1 -1
- package/docs/examples/w-timeminute_icon (fontawesome).html +1 -1
- package/docs/examples/w-timeminute_icon (material).html +1 -1
- package/docs/examples/w-timeminute_iconColor_iconColorHover_iconColorFoucs.html +1 -1
- package/docs/examples/w-timeminute_iconTooltip.html +1 -1
- package/docs/examples/w-timeminute_icon_iconSize_placementDist.html +1 -1
- package/docs/examples/w-timeminute_minuteInter.html +1 -1
- package/docs/examples/w-timeminute_minutesCustom.html +1 -1
- package/docs/examples/w-timeminute_not editable.html +1 -1
- package/docs/examples/w-timeminute_paddingStyle (equal height to using icon).html +1 -1
- package/docs/examples/w-timeminute_paddingStyle (thin style)_placementDist.html +1 -1
- package/docs/examples/w-timeminute_paddingStyle (thin style)_textFontSize_placementDist.html +1 -1
- package/docs/examples/w-timeminute_pickColor.html +1 -1
- package/docs/examples/w-timeminute_textColor_expansionIconColor.html +1 -1
- package/docs/examples/w-tinymce-vue-dyn_default.html +1 -1
- package/docs/examples/w-tinymce-vue-dyn_height.html +1 -1
- package/docs/examples/w-tinymce-vue-dyn_not editable.html +1 -1
- package/docs/examples/w-tinymce-vue-dyn_settings.html +1 -1
- package/docs/examples/w-tooltip_auto flipping in dialog.html +1 -1
- package/docs/examples/w-tooltip_auto flipping in popup.html +1 -1
- package/docs/examples/w-tooltip_auto flipping in scroll panel.html +1 -1
- package/docs/examples/w-tooltip_autoFitMaxWidth.html +1 -1
- package/docs/examples/w-tooltip_autoFitMinWidth.html +1 -1
- package/docs/examples/w-tooltip_backgroundColor.html +1 -1
- package/docs/examples/w-tooltip_borderRadius.html +1 -1
- package/docs/examples/w-tooltip_default.html +1 -1
- package/docs/examples/w-tooltip_in scroll panel.html +1 -1
- package/docs/examples/w-tooltip_maxWidth.html +1 -1
- package/docs/examples/w-tooltip_minWidth.html +1 -1
- package/docs/examples/w-tooltip_no shadow_backgroundColor.html +1 -1
- package/docs/examples/w-tooltip_not editable.html +1 -1
- package/docs/examples/w-tooltip_paddingStyle.html +1 -1
- package/docs/examples/w-tooltip_placement.html +1 -1
- package/docs/examples/w-tooltip_placementDist.html +1 -1
- package/docs/examples/w-tooltip_scroll in large zone.html +1 -1
- package/docs/examples/w-tooltip_shadowStyle.html +1 -1
- package/docs/examples/w-tooltip_slot for table_maxWidth.html +1 -1
- package/docs/examples/w-tooltip_textColor_backgroundColor.html +1 -1
- package/docs/examples/w-tooltip_textFontSize.html +1 -1
- package/docs/examples/w-tooltip_transitionTime.html +1 -1
- package/docs/examples/w-tree_activable_itemActive.html +1 -1
- package/docs/examples/w-tree_activable_itemActive_funActive.html +1 -1
- package/docs/examples/w-tree_activable_itemActive_itemTextColor_itemTextColorHover.html +1 -1
- package/docs/examples/w-tree_default.html +1 -1
- package/docs/examples/w-tree_defaultDisplayLevel.html +1 -1
- package/docs/examples/w-tree_draggable.html +1 -1
- package/docs/examples/w-tree_draggable_dgInsertLineColor_dgInsertBackgroundColor_dgBelongBackgroundColor.html +1 -1
- package/docs/examples/w-tree_draggable_dgPreviewOpacity_dgPreviewBorderWidth_dgBelongBackgroundColor.html +1 -1
- package/docs/examples/w-tree_draggable_dgTextDisabled_dgTextDisabledColor_dgTextDisabledPaddingLeft.html +1 -1
- package/docs/examples/w-tree_events.html +1 -1
- package/docs/examples/w-tree_filterKeywords_funFilter.html +1 -1
- package/docs/examples/w-tree_filterKeywords_noResultsText.html +1 -1
- package/docs/examples/w-tree_filterKeywords_noResultsText_selectable.html +1 -1
- package/docs/examples/w-tree_iconSize(20).html +1 -1
- package/docs/examples/w-tree_iconSize(20)_defItemHeight(24).html +1 -1
- package/docs/examples/w-tree_iconSize(30)_defItemHeight(36).html +1 -1
- package/docs/examples/w-tree_iconToggleColor_iconToggleBackgroundColor_iconToggleBackgroundColorHover.html +1 -1
- package/docs/examples/w-tree_indent.html +1 -1
- package/docs/examples/w-tree_itemRippleColor.html +1 -1
- package/docs/examples/w-tree_itemTextColor_itemTextColorHover_itemBackgroundColor_itemBackgroundColorHover.html +1 -1
- package/docs/examples/w-tree_keyPrimary_keyText_keyChildren.html +1 -1
- package/docs/examples/w-tree_no viewHeightMax.html +1 -1
- package/docs/examples/w-tree_operatable.html +1 -1
- package/docs/examples/w-tree_operatable_draggable.html +1 -1
- package/docs/examples/w-tree_operatable_editorRenameCancelBtnBackgroundColor_editorRenameCancelBtnBackgroundColorHover.html +1 -1
- package/docs/examples/w-tree_operatable_editorRenameCancelBtnIcon_editorRenameCancelBtnIconSize_editorRenameCancelBtnIconColor.html +1 -1
- package/docs/examples/w-tree_operatable_editorRenameCancelBtnText_editorRenameCancelBtnTextColor_editorRenameCancelBtnTextColorHover.html +1 -1
- package/docs/examples/w-tree_operatable_editorRenameContentBackgroundColor_editorRenameFooterBackgroundColor.html +1 -1
- package/docs/examples/w-tree_operatable_editorRenameInputTextColor_editorRenameInputTextBottomLineBorderColor_editorRenameInputTextBottomLineBorderColorHover.html +1 -1
- package/docs/examples/w-tree_operatable_editorRenameSaveBtnBackgroundColor_editorRenameSaveBtnBackgroundColorHover.html +1 -1
- package/docs/examples/w-tree_operatable_editorRenameSaveBtnIcon_editorRenameSaveBtnIconSize_editorRenameSaveBtnIconColor.html +1 -1
- package/docs/examples/w-tree_operatable_editorRenameSaveBtnText_editorRenameSaveBtnTextColor_editorRenameSaveBtnTextColorHover.html +1 -1
- package/docs/examples/w-tree_operatable_funOperateItem.html +1 -1
- package/docs/examples/w-tree_operatable_operateBtnIconSize_operateBtnBackgroundColor_operateBtnBackgroundColorHover.html +1 -1
- package/docs/examples/w-tree_operatable_operateBtnTooltip_operateItemTextForRename_operateItemTextForInsertBefore.html +1 -1
- package/docs/examples/w-tree_operatable_operateItemBackgroundColor_operateItemBackgroundColorHover_operateItemTextColor.html +1 -1
- package/docs/examples/w-tree_operatable_operateItemHeight_operateItemIconSize_operateItemPaddingStyle.html +1 -1
- package/docs/examples/w-tree_operatable_operateItemIconForRename_operateItemIconForInsertBefore_operateItemIconForInsertChild.html +1 -1
- package/docs/examples/w-tree_operatable_operatePanelWidth_operatePanelHeight_operateItemIconSize.html +1 -1
- package/docs/examples/w-tree_paddingStyle.html +1 -1
- package/docs/examples/w-tree_selectable.html +1 -1
- package/docs/examples/w-tree_selectable_draggable.html +1 -1
- package/docs/examples/w-tree_slot.html +1 -1
- package/docs/examples/w-tree_slot_edit-text.html +1 -1
- package/docs/examples/w-tree_slot_iconUncheckedColor_iconUncheckedDisabledColor_iconCheckedColor.html +1 -1
- package/docs/examples/w-tree_slot_locked_selectable.html +1 -1
- package/docs/examples/w-tree_slot_operatable.html +1 -1
- package/docs/examples/w-tree_slot_selectable.html +1 -1
- package/docs/examples/w-tree_slot_selectable_draggable.html +1 -1
- package/docs/examples/w-tree_slot_selectable_iconSize(20)_defItemHeight(24).html +1 -1
- package/docs/examples/w-tree_slot_selectable_large data (100,000 items).html +1 -1
- package/docs/examples/w-tree_toggleItemsAll.html +1 -1
- package/docs/examples/w-tree_toggleItemsByFun.html +1 -1
- package/docs/examples/w-tree_viewHeightMax.html +1 -1
- package/docs/global.html +1 -1
- package/docs/index.html +1 -1
- package/docs/module-WAggridVueDyn.html +1 -1
- package/docs/module-WBadge.html +1 -1
- package/docs/module-WButtonChip.html +1 -1
- package/docs/module-WButtonCircle.html +1 -1
- package/docs/module-WCheckbox.html +1 -1
- package/docs/module-WCkeditorVueDyn.html +1 -1
- package/docs/module-WConfirm.html +1 -1
- package/docs/module-WDialog.html +1 -1
- package/docs/module-WDrawer.html +1 -1
- package/docs/module-WDropfiles.html +1 -1
- package/docs/module-WDynamicList.html +1 -1
- package/docs/module-WEchartsVueDyn.html +1 -1
- package/docs/module-WExplorer.html +1 -1
- package/docs/module-WGroupBaggage.html +1 -1
- package/docs/module-WGroupCheck.html +1 -1
- package/docs/module-WGroupDragdrop.html +1 -1
- package/docs/module-WGroupRadio.html +1 -1
- package/docs/module-WGroupTags.html +1 -1
- package/docs/module-WHighchartsBitmapDyn.html +1 -1
- package/docs/module-WHighchartsVueDyn.html +1 -1
- package/docs/module-WHighstockVueDyn.html +1 -1
- package/docs/module-WIcon.html +1 -1
- package/docs/module-WIconLoading.html +1 -1
- package/docs/module-WImageCascadingDyn.html +1 -1
- package/docs/module-WImageViewerDyn.html +1 -1
- package/docs/module-WInputCheckbox.html +1 -1
- package/docs/module-WInputRadio.html +1 -1
- package/docs/module-WJsonView.html +1 -1
- package/docs/module-WLeafletVueDyn.html +1 -1
- package/docs/module-WListCheck.html +1 -1
- package/docs/module-WListExpand.html +1 -1
- package/docs/module-WListExpandItem.html +1 -1
- package/docs/module-WListHorizontal.html +1 -1
- package/docs/module-WListItem.html +1 -1
- package/docs/module-WListRadio.html +1 -1
- package/docs/module-WListVertical.html +1 -1
- package/docs/module-WPanelAvatar.html +1 -1
- package/docs/module-WPanelBulge.html +1 -1
- package/docs/module-WPanelDivideHorizontal.html +1 -1
- package/docs/module-WPanelDivideVertical.html +1 -1
- package/docs/module-WPanelLabelItem.html +1 -1
- package/docs/module-WPanelScale.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-WSegmentsVertical.html +1 -1
- package/docs/module-WShellBottomLine.html +1 -1
- package/docs/module-WShellEllipse.html +1 -1
- package/docs/module-WSlider.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-WTextareaCore.html +1 -1
- package/docs/module-WTimeday.html +1 -1
- package/docs/module-WTimedayCore.html +1 -1
- package/docs/module-WTimedayRange.html +1 -1
- package/docs/module-WTimedayRangeCore.html +1 -1
- package/docs/module-WTimeminute.html +1 -1
- package/docs/module-WTimeminuteCore.html +1 -1
- package/docs/module-WTimeminuteRange.html +1 -1
- package/docs/module-WTimeminuteRangeCore.html +1 -1
- package/docs/module-WTinymceVueDyn.html +1 -1
- package/docs/module-WTooltip.html +1 -1
- package/docs/module-WTree.html +1 -1
- package/docs/module-WTreeIconCheckbox.html +1 -1
- package/docs/module-WTreeIconToggle.html +1 -1
- package/docs/vuetifyColor.mjs.html +1 -1
- package/package.json +1 -1
- package/src/components/WLeafletVueDyn.vue +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* w-component-vue v2.3.
|
|
2
|
+
* w-component-vue v2.3.50
|
|
3
3
|
* (c) 2018-2021 yuda-lyu(semisphere)
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* Date: 2023-09-17T03:16:38.052Z
|
|
15
15
|
*/
|
|
16
|
-
!function(n,e){n.exports=function(){function n(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function e(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(n){l(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}function t(n){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t(n)}function r(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function o(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,d(r.key),r)}}function i(n,e,t){return e&&o(n.prototype,e),t&&o(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function l(n,e,t){return(e=d(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function a(n,e){if("object"!=typeof n||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var r=t.call(n,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(n)}function d(n){var e=a(n,"string");return"symbol"==typeof e?e:String(e)}var s={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialCoverage:.9,initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,focus:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,move:null,moved:null,rotate:null,rotated:null,scale:null,scaled:null,zoom:null,zoomed:null,play:null,stop:null},u='<div class="viewer-container" tabindex="-1" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list" role="navigation"></ul></div></div><div class="viewer-tooltip" role="alert" aria-hidden="true"></div><div class="viewer-button" data-viewer-action="mix" role="button"></div><div class="viewer-player"></div></div>',c="undefined"!=typeof window&&void 0!==window.document,p=c?window:{},f=!(!c||!p.document.documentElement)&&"ontouchstart"in p.document.documentElement,h=!!c&&"PointerEvent"in p,g="viewer",m="move",v="switch",y="zoom",b="".concat(g,"-active"),C="".concat(g,"-close"),x="".concat(g,"-fade"),S="".concat(g,"-fixed"),I="".concat(g,"-fullscreen"),w="".concat(g,"-fullscreen-exit"),k="".concat(g,"-hide"),T="".concat(g,"-hide-md-down"),H="".concat(g,"-hide-sm-down"),B="".concat(g,"-hide-xs-down"),W="".concat(g,"-in"),A="".concat(g,"-invisible"),Z="".concat(g,"-loading"),X="".concat(g,"-move"),V="".concat(g,"-open"),P="".concat(g,"-show"),F="".concat(g,"-transition"),R="click",L="dblclick",z="dragstart",N="focusin",j="keydown",Y="load",G="error",K=f?"touchend touchcancel":"mouseup",D=f?"touchmove":"mousemove",O=f?"touchstart":"mousedown",J=h?"pointerdown":O,E=h?"pointermove":D,_=h?"pointerup pointercancel":K,$="resize",M="transitionend",U="wheel",Q="ready",q="show",nn="shown",en="hide",tn="hidden",rn="view",on="viewed",ln="move",an="moved",dn="rotate",sn="rotated",un="scale",cn="scaled",pn="zoom",fn="zoomed",hn="play",gn="stop",mn="".concat(g,"Action"),vn=/\s\s*/,yn=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function bn(n){return"string"==typeof n}var Cn=Number.isNaN||p.isNaN;function xn(n){return"number"==typeof n&&!Cn(n)}function Sn(n){return void 0===n}function In(n){return"object"===t(n)&&null!==n}var wn=Object.prototype.hasOwnProperty;function kn(n){if(!In(n))return!1;try{var e=n.constructor,t=e.prototype;return e&&t&&wn.call(t,"isPrototypeOf")}catch(n){return!1}}function Tn(n){return"function"==typeof n}function Hn(n,e){if(n&&Tn(e))if(Array.isArray(n)||xn(n.length)){var t,r=n.length;for(t=0;t<r&&!1!==e.call(n,n[t],t,n);t+=1);}else In(n)&&Object.keys(n).forEach((function(t){e.call(n,n[t],t,n)}));return n}var Bn=Object.assign||function(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];return In(n)&&t.length>0&&t.forEach((function(e){In(e)&&Object.keys(e).forEach((function(t){n[t]=e[t]}))})),n},Wn=/^(?:width|height|left|top|marginLeft|marginTop)$/;function An(n,e){var t=n.style;Hn(e,(function(n,e){Wn.test(e)&&xn(n)&&(n+="px"),t[e]=n}))}function Zn(n){return bn(n)?n.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"):n}function Xn(n,e){return!(!n||!e)&&(n.classList?n.classList.contains(e):n.className.indexOf(e)>-1)}function Vn(n,e){if(n&&e)if(xn(n.length))Hn(n,(function(n){Vn(n,e)}));else if(n.classList)n.classList.add(e);else{var t=n.className.trim();t?t.indexOf(e)<0&&(n.className="".concat(t," ").concat(e)):n.className=e}}function Pn(n,e){n&&e&&(xn(n.length)?Hn(n,(function(n){Pn(n,e)})):n.classList?n.classList.remove(e):n.className.indexOf(e)>=0&&(n.className=n.className.replace(e,"")))}function Fn(n,e,t){e&&(xn(n.length)?Hn(n,(function(n){Fn(n,e,t)})):t?Vn(n,e):Pn(n,e))}var Rn=/([a-z\d])([A-Z])/g;function Ln(n){return n.replace(Rn,"$1-$2").toLowerCase()}function zn(n,e){return In(n[e])?n[e]:n.dataset?n.dataset[e]:n.getAttribute("data-".concat(Ln(e)))}function Nn(n,e,t){In(t)?n[e]=t:n.dataset?n.dataset[e]=t:n.setAttribute("data-".concat(Ln(e)),t)}var jn=function(){var n=!1;if(c){var e=!1,t=function(){},r=Object.defineProperty({},"once",{get:function(){return n=!0,e},set:function(n){e=n}});p.addEventListener("test",t,r),p.removeEventListener("test",t,r)}return n}();function Yn(n,e,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t;e.trim().split(vn).forEach((function(e){if(!jn){var i=n.listeners;i&&i[e]&&i[e][t]&&(o=i[e][t],delete i[e][t],0===Object.keys(i[e]).length&&delete i[e],0===Object.keys(i).length&&delete n.listeners)}n.removeEventListener(e,o,r)}))}function Gn(n,e,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t;e.trim().split(vn).forEach((function(e){if(r.once&&!jn){var i=n.listeners,l=void 0===i?{}:i;o=function(){delete l[e][t],n.removeEventListener(e,o,r);for(var i=arguments.length,a=new Array(i),d=0;d<i;d++)a[d]=arguments[d];t.apply(n,a)},l[e]||(l[e]={}),l[e][t]&&n.removeEventListener(e,l[e][t],r),l[e][t]=o,n.listeners=l}n.addEventListener(e,o,r)}))}function Kn(n,t,r,o){var i;return Tn(Event)&&Tn(CustomEvent)?i=new CustomEvent(t,e({bubbles:!0,cancelable:!0,detail:r},o)):(i=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,r),n.dispatchEvent(i)}function Dn(n){var e=n.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}function On(n){var e=n.rotate,t=n.scaleX,r=n.scaleY,o=n.translateX,i=n.translateY,l=[];xn(o)&&0!==o&&l.push("translateX(".concat(o,"px)")),xn(i)&&0!==i&&l.push("translateY(".concat(i,"px)")),xn(e)&&0!==e&&l.push("rotate(".concat(e,"deg)")),xn(t)&&1!==t&&l.push("scaleX(".concat(t,")")),xn(r)&&1!==r&&l.push("scaleY(".concat(r,")"));var a=l.length?l.join(" "):"none";return{WebkitTransform:a,msTransform:a,transform:a}}function Jn(n){return bn(n)?decodeURIComponent(n.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}var En=p.navigator&&/Version\/\d+(\.\d+)+?\s+Safari/i.test(p.navigator.userAgent);function _n(n,e,t){var r=document.createElement("img");if(n.naturalWidth&&!En)return t(n.naturalWidth,n.naturalHeight),r;var o=document.body||document.documentElement;return r.onload=function(){t(r.width,r.height),En||o.removeChild(r)},Hn(e.inheritedAttributes,(function(e){var t=n.getAttribute(e);null!==t&&r.setAttribute(e,t)})),r.src=n.src,En||(r.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",o.appendChild(r)),r}function $n(n){switch(n){case 2:return B;case 3:return H;case 4:return T;default:return""}}function Mn(n){var t=e({},n),r=[];return Hn(n,(function(n,e){delete t[e],Hn(t,(function(e){var t=Math.abs(n.startX-e.startX),o=Math.abs(n.startY-e.startY),i=Math.abs(n.endX-e.endX),l=Math.abs(n.endY-e.endY),a=Math.sqrt(t*t+o*o),d=(Math.sqrt(i*i+l*l)-a)/a;r.push(d)}))})),r.sort((function(n,e){return Math.abs(n)<Math.abs(e)})),r[0]}function Un(n,t){var r=n.pageX,o=n.pageY,i={endX:r,endY:o};return t?i:e({timeStamp:Date.now(),startX:r,startY:o},i)}function Qn(n){var e=0,t=0,r=0;return Hn(n,(function(n){var o=n.startX,i=n.startY;e+=o,t+=i,r+=1})),{pageX:e/=r,pageY:t/=r}}var qn,ne={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initBody:function(){var n=this.element.ownerDocument,e=n.body||n.documentElement;this.body=e,this.scrollbarWidth=window.innerWidth-n.documentElement.clientWidth,this.initialBodyPaddingRight=e.style.paddingRight,this.initialBodyComputedPaddingRight=window.getComputedStyle(e).paddingRight},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var n,e=this.options,t=this.parent;e.inline&&(n={width:Math.max(t.offsetWidth,e.minWidth),height:Math.max(t.offsetHeight,e.minHeight)},this.parentData=n),!this.fulled&&n||(n=this.containerData),this.viewerData=Bn({},n)},renderViewer:function(){this.options.inline&&!this.fulled&&An(this.viewer,this.viewerData)},initList:function(){var n=this,e=this.element,t=this.options,r=this.list,o=[];r.innerHTML="",Hn(this.images,(function(e,i){var l=e.src,a=e.alt||Jn(l),d=n.getImageURL(e);if(l||d){var s=document.createElement("li"),u=document.createElement("img");Hn(t.inheritedAttributes,(function(n){var t=e.getAttribute(n);null!==t&&u.setAttribute(n,t)})),t.navbar&&(u.src=l||d),u.alt=a,u.setAttribute("data-original-url",d||l),s.setAttribute("data-index",i),s.setAttribute("data-viewer-action","view"),s.setAttribute("role","button"),t.keyboard&&s.setAttribute("tabindex",0),s.appendChild(u),r.appendChild(s),o.push(s)}})),this.items=o,Hn(o,(function(e){var r,o,i=e.firstElementChild;Nn(i,"filled",!0),t.loading&&Vn(e,Z),Gn(i,Y,r=function(r){Yn(i,G,o),t.loading&&Pn(e,Z),n.loadImage(r)},{once:!0}),Gn(i,G,o=function(){Yn(i,Y,r),t.loading&&Pn(e,Z)},{once:!0})})),t.transition&&Gn(e,on,(function(){Vn(r,F)}),{once:!0})},renderList:function(){var n=this.index,e=this.items[n];if(e){var t=e.nextElementSibling,r=parseInt(window.getComputedStyle(t||e).marginLeft,10),o=e.offsetWidth,i=o+r;An(this.list,Bn({width:i*this.length-r},On({translateX:(this.viewerData.width-o)/2-i*n})))}},resetList:function(){var n=this.list;n.innerHTML="",Pn(n,F),An(n,On({translateX:0}))},initImage:function(n){var e,t=this,r=this.options,o=this.image,i=this.viewerData,l=this.footer.offsetHeight,a=i.width,d=Math.max(i.height-l,l),s=this.imageData||{};this.imageInitializing={abort:function(){e.onload=null}},e=_n(o,r,(function(e,o){var i=e/o,l=Math.max(0,Math.min(1,r.initialCoverage)),u=a,c=d;t.imageInitializing=!1,d*i>a?c=a/i:u=d*i,l=xn(l)?l:.9,u=Math.min(u*l,e),c=Math.min(c*l,o);var p=(a-u)/2,f=(d-c)/2,h={left:p,top:f,x:p,y:f,width:u,height:c,oldRatio:1,ratio:u/e,aspectRatio:i,naturalWidth:e,naturalHeight:o},g=Bn({},h);r.rotatable&&(h.rotate=s.rotate||0,g.rotate=0),r.scalable&&(h.scaleX=s.scaleX||1,h.scaleY=s.scaleY||1,g.scaleX=1,g.scaleY=1),t.imageData=h,t.initialImageData=g,n&&n()}))},renderImage:function(n){var e=this,t=this.image,r=this.imageData;if(An(t,Bn({width:r.width,height:r.height,marginLeft:r.x,marginTop:r.y},On(r))),n)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&Xn(t,F)){var o=function(){e.imageRendering=!1,n()};this.imageRendering={abort:function(){Yn(t,M,o)}},Gn(t,M,o,{once:!0})}else n()},resetImage:function(){var n=this.image;n&&(this.viewing&&this.viewing.abort(),n.parentNode.removeChild(n),this.image=null,this.title.innerHTML="")}},ee={bind:function(){var n=this.options,e=this.viewer,t=this.canvas,r=this.element.ownerDocument;Gn(e,R,this.onClick=this.click.bind(this)),Gn(e,z,this.onDragStart=this.dragstart.bind(this)),Gn(t,J,this.onPointerDown=this.pointerdown.bind(this)),Gn(r,E,this.onPointerMove=this.pointermove.bind(this)),Gn(r,_,this.onPointerUp=this.pointerup.bind(this)),Gn(r,j,this.onKeyDown=this.keydown.bind(this)),Gn(window,$,this.onResize=this.resize.bind(this)),n.zoomable&&n.zoomOnWheel&&Gn(e,U,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),n.toggleOnDblclick&&Gn(t,L,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var n=this.options,e=this.viewer,t=this.canvas,r=this.element.ownerDocument;Yn(e,R,this.onClick),Yn(e,z,this.onDragStart),Yn(t,J,this.onPointerDown),Yn(r,E,this.onPointerMove),Yn(r,_,this.onPointerUp),Yn(r,j,this.onKeyDown),Yn(window,$,this.onResize),n.zoomable&&n.zoomOnWheel&&Yn(e,U,this.onWheel,{passive:!1,capture:!0}),n.toggleOnDblclick&&Yn(t,L,this.onDblclick)}},te={click:function(n){var e=this.options,t=this.imageData,r=n.target,o=zn(r,mn);switch(o||"img"!==r.localName||"li"!==r.parentElement.localName||(o=zn(r=r.parentElement,mn)),f&&n.isTrusted&&r===this.canvas&&clearTimeout(this.clickCanvasTimeout),o){case"mix":this.played?this.stop():e.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(zn(r,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(e.loop);break;case"play":this.play(e.fullscreen);break;case"next":this.next(e.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-t.scaleX||-1);break;case"flip-vertical":this.scaleY(-t.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(n){n.preventDefault(),this.viewed&&n.target===this.image&&(f&&n.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(n.isTrusted?n:n.detail&&n.detail.originalEvent))},load:function(){var n=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var e=this.element,t=this.options,r=this.image,o=this.index,i=this.viewerData;Pn(r,A),t.loading&&Pn(this.canvas,Z),r.style.cssText="height:0;"+"margin-left:".concat(i.width/2,"px;")+"margin-top:".concat(i.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage((function(){Fn(r,X,t.movable),Fn(r,F,t.transition),n.renderImage((function(){n.viewed=!0,n.viewing=!1,Tn(t.viewed)&&Gn(e,on,t.viewed,{once:!0}),Kn(e,on,{originalImage:n.images[o],index:o,image:r},{cancelable:!1})}))}))},loadImage:function(n){var e=n.target,t=e.parentNode,r=t.offsetWidth||30,o=t.offsetHeight||50,i=!!zn(e,"filled");_n(e,this.options,(function(n,t){var l=n/t,a=r,d=o;o*l>r?i?a=o*l:d=r/l:i?d=r/l:a=o*l,An(e,Bn({width:a,height:d},On({translateX:(r-a)/2,translateY:(o-d)/2})))}))},keydown:function(n){var e=this.options;if(e.keyboard){var t=n.keyCode||n.which||n.charCode;if(13===t&&this.viewer.contains(n.target)&&this.click(n),this.fulled)switch(t){case 27:this.played?this.stop():e.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(e.loop);break;case 38:n.preventDefault(),this.zoom(e.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(e.loop);break;case 40:n.preventDefault(),this.zoom(-e.zoomRatio,!0);break;case 48:case 49:n.ctrlKey&&(n.preventDefault(),this.toggle())}}},dragstart:function(n){"img"===n.target.localName&&n.preventDefault()},pointerdown:function(n){var e=this.options,t=this.pointers,r=n.buttons,o=n.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||("mousedown"===n.type||"pointerdown"===n.type&&"mouse"===n.pointerType)&&(xn(r)&&1!==r||xn(o)&&0!==o||n.ctrlKey))){n.preventDefault(),n.changedTouches?Hn(n.changedTouches,(function(n){t[n.identifier]=Un(n)})):t[n.pointerId||0]=Un(n);var i=!!e.movable&&m;e.zoomOnTouch&&e.zoomable&&Object.keys(t).length>1?i=y:e.slideOnTouch&&("touch"===n.pointerType||"touchstart"===n.type)&&this.isSwitchable()&&(i=v),!e.transition||i!==m&&i!==y||Pn(this.image,F),this.action=i}},pointermove:function(n){var e=this.pointers,t=this.action;this.viewed&&t&&(n.preventDefault(),n.changedTouches?Hn(n.changedTouches,(function(n){Bn(e[n.identifier]||{},Un(n,!0))})):Bn(e[n.pointerId||0]||{},Un(n,!0)),this.change(n))},pointerup:function(n){var e,t=this,r=this.options,o=this.action,i=this.pointers;n.changedTouches?Hn(n.changedTouches,(function(n){e=i[n.identifier],delete i[n.identifier]})):(e=i[n.pointerId||0],delete i[n.pointerId||0]),o&&(n.preventDefault(),!r.transition||o!==m&&o!==y||Vn(this.image,F),this.action=!1,f&&o!==y&&e&&Date.now()-e.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),r.toggleOnDblclick&&this.viewed&&n.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout((function(){Kn(t.image,L,{originalEvent:n})}),50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout((function(){t.imageClicked=!1}),500)):(this.imageClicked=!1,r.backdrop&&"static"!==r.backdrop&&n.target===this.canvas&&(this.clickCanvasTimeout=setTimeout((function(){Kn(t.canvas,R,{originalEvent:n})}),50)))))},resize:function(){var n=this;if(this.isShown&&!this.hiding&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){n.renderImage()})),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement))return void this.stop();Hn(this.player.getElementsByTagName("img"),(function(e){Gn(e,Y,n.loadImage.bind(n),{once:!0}),Kn(e,Y)}))}},wheel:function(n){var e=this;if(this.viewed&&(n.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout((function(){e.wheeling=!1}),50);var t=Number(this.options.zoomRatio)||.1,r=1;n.deltaY?r=n.deltaY>0?1:-1:n.wheelDelta?r=-n.wheelDelta/120:n.detail&&(r=n.detail>0?1:-1),this.zoom(-r*t,!0,null,n)}}},re={show:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.element,t=this.options;if(t.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(n),this;if(Tn(t.show)&&Gn(e,q,t.show,{once:!0}),!1===Kn(e,q)||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var r=this.viewer;if(Pn(r,k),r.setAttribute("role","dialog"),r.setAttribute("aria-labelledby",this.title.id),r.setAttribute("aria-modal",!0),r.removeAttribute("aria-hidden"),t.transition&&!n){var o=this.shown.bind(this);this.transitioning={abort:function(){Yn(r,M,o),Pn(r,W)}},Vn(r,F),r.initialOffsetWidth=r.offsetWidth,Gn(r,M,o,{once:!0}),Vn(r,W)}else Vn(r,W),this.shown();return this},hide:function(){var n=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.element,r=this.options;if(r.inline||this.hiding||!this.isShown&&!this.showing)return this;if(Tn(r.hide)&&Gn(t,en,r.hide,{once:!0}),!1===Kn(t,en))return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var o=this.viewer,i=this.image,l=function(){Pn(o,W),n.hidden()};if(r.transition&&!e){var a=function e(t){t&&t.target===o&&(Yn(o,M,e),n.hidden())},d=function(){Xn(o,F)?(Gn(o,M,a),Pn(o,W)):l()};this.transitioning={abort:function(){n.viewed&&Xn(i,F)?Yn(i,M,d):Xn(o,F)&&Yn(o,M,a)}},this.viewed&&Xn(i,F)?(Gn(i,M,d,{once:!0}),this.zoomTo(0,!1,null,null,!0)):d()}else l();return this},view:function(){var n=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.initialViewIndex;if(e=Number(e)||0,this.hiding||this.played||e<0||e>=this.length||this.viewed&&e===this.index)return this;if(!this.isShown)return this.index=e,this.show();this.viewing&&this.viewing.abort();var t=this.element,r=this.options,o=this.title,i=this.canvas,l=this.items[e],a=l.querySelector("img"),d=zn(a,"originalUrl"),s=a.getAttribute("alt"),u=document.createElement("img");if(Hn(r.inheritedAttributes,(function(n){var e=a.getAttribute(n);null!==e&&u.setAttribute(n,e)})),u.src=d,u.alt=s,Tn(r.view)&&Gn(t,rn,r.view,{once:!0}),!1===Kn(t,rn,{originalImage:this.images[e],index:e,image:u})||!this.isShown||this.hiding||this.played)return this;var c=this.items[this.index];c&&(Pn(c,b),c.removeAttribute("aria-selected")),Vn(l,b),l.setAttribute("aria-selected",!0),r.focus&&l.focus(),this.image=u,this.viewed=!1,this.index=e,this.imageData={},Vn(u,A),r.loading&&Vn(i,Z),i.innerHTML="",i.appendChild(u),this.renderList(),o.innerHTML="";var p,f,h=function(){var e=n.imageData,t=Array.isArray(r.title)?r.title[1]:r.title;o.innerHTML=Zn(Tn(t)?t.call(n,u,e):"".concat(s," (").concat(e.naturalWidth," × ").concat(e.naturalHeight,")"))};return Gn(t,on,h,{once:!0}),this.viewing={abort:function(){Yn(t,on,h),u.complete?n.imageRendering?n.imageRendering.abort():n.imageInitializing&&n.imageInitializing.abort():(u.src="",Yn(u,Y,p),n.timeout&&clearTimeout(n.timeout))}},u.complete?this.load():(Gn(u,Y,p=function(){Yn(u,G,f),n.load()},{once:!0}),Gn(u,G,f=function(){Yn(u,Y,p),n.timeout&&(clearTimeout(n.timeout),n.timeout=!1),Pn(u,A),r.loading&&Pn(n.canvas,Z)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((function(){Pn(u,A),n.timeout=!1}),1e3)),this},prev:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.index-1;return e<0&&(e=n?this.length-1:0),this.view(e),this},next:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.length-1,t=this.index+1;return t>e&&(t=n?0:e),this.view(t),this},move:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,t=this.imageData;return this.moveTo(Sn(n)?n:t.x+Number(n),Sn(e)?e:t.y+Number(e)),this},moveTo:function(n){var e=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=this.element,i=this.options,l=this.imageData;if(n=Number(n),t=Number(t),this.viewed&&!this.played&&i.movable){var a=l.x,d=l.y,s=!1;if(xn(n)?s=!0:n=a,xn(t)?s=!0:t=d,s){if(Tn(i.move)&&Gn(o,ln,i.move,{once:!0}),!1===Kn(o,ln,{x:n,y:t,oldX:a,oldY:d,originalEvent:r}))return this;l.x=n,l.y=t,l.left=n,l.top=t,this.moving=!0,this.renderImage((function(){e.moving=!1,Tn(i.moved)&&Gn(o,an,i.moved,{once:!0}),Kn(o,an,{x:n,y:t,oldX:a,oldY:d,originalEvent:r},{cancelable:!1})}))}}return this},rotate:function(n){return this.rotateTo((this.imageData.rotate||0)+Number(n)),this},rotateTo:function(n){var e=this,t=this.element,r=this.options,o=this.imageData;if(xn(n=Number(n))&&this.viewed&&!this.played&&r.rotatable){var i=o.rotate;if(Tn(r.rotate)&&Gn(t,dn,r.rotate,{once:!0}),!1===Kn(t,dn,{degree:n,oldDegree:i}))return this;o.rotate=n,this.rotating=!0,this.renderImage((function(){e.rotating=!1,Tn(r.rotated)&&Gn(t,sn,r.rotated,{once:!0}),Kn(t,sn,{degree:n,oldDegree:i},{cancelable:!1})}))}return this},scaleX:function(n){return this.scale(n,this.imageData.scaleY),this},scaleY:function(n){return this.scale(this.imageData.scaleX,n),this},scale:function(n){var e=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=this.element,o=this.options,i=this.imageData;if(n=Number(n),t=Number(t),this.viewed&&!this.played&&o.scalable){var l=i.scaleX,a=i.scaleY,d=!1;if(xn(n)?d=!0:n=l,xn(t)?d=!0:t=a,d){if(Tn(o.scale)&&Gn(r,un,o.scale,{once:!0}),!1===Kn(r,un,{scaleX:n,scaleY:t,oldScaleX:l,oldScaleY:a}))return this;i.scaleX=n,i.scaleY=t,this.scaling=!0,this.renderImage((function(){e.scaling=!1,Tn(o.scaled)&&Gn(r,cn,o.scaled,{once:!0}),Kn(r,cn,{scaleX:n,scaleY:t,oldScaleX:l,oldScaleY:a},{cancelable:!1})}))}}return this},zoom:function(n){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=this.imageData;return n=(n=Number(n))<0?1/(1-n):1+n,this.zoomTo(o.width*n/o.naturalWidth,e,t,r),this},zoomTo:function(n){var e=this,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=this.element,a=this.options,d=this.pointers,s=this.imageData,u=s.x,c=s.y,p=s.width,f=s.height,h=s.naturalWidth,g=s.naturalHeight;if(xn(n=Math.max(0,n))&&this.viewed&&!this.played&&(i||a.zoomable)){if(!i){var m=Math.max(.01,a.minZoomRatio),v=Math.min(100,a.maxZoomRatio);n=Math.min(Math.max(n,m),v)}if(o)switch(o.type){case"wheel":a.zoomRatio>=.055&&n>.95&&n<1.05&&(n=1);break;case"pointermove":case"touchmove":case"mousemove":n>.99&&n<1.01&&(n=1)}var y=h*n,b=g*n,C=y-p,x=b-f,S=s.ratio;if(Tn(a.zoom)&&Gn(l,pn,a.zoom,{once:!0}),!1===Kn(l,pn,{ratio:n,oldRatio:S,originalEvent:o}))return this;if(this.zooming=!0,o){var I=Dn(this.viewer),w=d&&Object.keys(d).length>0?Qn(d):{pageX:o.pageX,pageY:o.pageY};s.x-=C*((w.pageX-I.left-u)/p),s.y-=x*((w.pageY-I.top-c)/f)}else kn(r)&&xn(r.x)&&xn(r.y)?(s.x-=C*((r.x-u)/p),s.y-=x*((r.y-c)/f)):(s.x-=C/2,s.y-=x/2);s.left=s.x,s.top=s.y,s.width=y,s.height=b,s.oldRatio=S,s.ratio=n,this.renderImage((function(){e.zooming=!1,Tn(a.zoomed)&&Gn(l,fn,a.zoomed,{once:!0}),Kn(l,fn,{ratio:n,oldRatio:S,originalEvent:o},{cancelable:!1})})),t&&this.tooltip()}return this},play:function(){var n=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isShown||this.played)return this;var t=this.element,r=this.options;if(Tn(r.play)&&Gn(t,hn,r.play,{once:!0}),!1===Kn(t,hn))return this;var o=this.player,i=this.loadImage.bind(this),l=[],a=0,d=0;if(this.played=!0,this.onLoadWhenPlay=i,e&&this.requestFullscreen(e),Vn(o,P),Hn(this.items,(function(n,e){var t=n.querySelector("img"),s=document.createElement("img");s.src=zn(t,"originalUrl"),s.alt=t.getAttribute("alt"),s.referrerPolicy=t.referrerPolicy,a+=1,Vn(s,x),Fn(s,F,r.transition),Xn(n,b)&&(Vn(s,W),d=e),l.push(s),Gn(s,Y,i,{once:!0}),o.appendChild(s)})),xn(r.interval)&&r.interval>0){var s=function e(){clearTimeout(n.playing.timeout),Pn(l[d],W),Vn(l[d=(d-=1)>=0?d:a-1],W),n.playing.timeout=setTimeout(e,r.interval)},u=function e(){clearTimeout(n.playing.timeout),Pn(l[d],W),Vn(l[d=(d+=1)<a?d:0],W),n.playing.timeout=setTimeout(e,r.interval)};a>1&&(this.playing={prev:s,next:u,timeout:setTimeout(u,r.interval)})}return this},stop:function(){var n=this;if(!this.played)return this;var e=this.element,t=this.options;if(Tn(t.stop)&&Gn(e,gn,t.stop,{once:!0}),!1===Kn(e,gn))return this;var r=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,Hn(r.getElementsByTagName("img"),(function(e){Yn(e,Y,n.onLoadWhenPlay)})),Pn(r,P),r.innerHTML="",this.exitFullscreen(),this},full:function(){var n=this,e=this.options,t=this.viewer,r=this.image,o=this.list;return!this.isShown||this.played||this.fulled||!e.inline||(this.fulled=!0,this.open(),Vn(this.button,w),e.transition&&(Pn(o,F),this.viewed&&Pn(r,F)),Vn(t,S),t.setAttribute("role","dialog"),t.setAttribute("aria-labelledby",this.title.id),t.setAttribute("aria-modal",!0),t.removeAttribute("style"),An(t,{zIndex:e.zIndex}),e.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=Bn({},this.containerData),this.renderList(),this.viewed&&this.initImage((function(){n.renderImage((function(){e.transition&&setTimeout((function(){Vn(r,F),Vn(o,F)}),0)}))}))),this},exit:function(){var n=this,e=this.options,t=this.viewer,r=this.image,o=this.list;return this.isShown&&!this.played&&this.fulled&&e.inline?(this.fulled=!1,this.close(),Pn(this.button,w),e.transition&&(Pn(o,F),this.viewed&&Pn(r,F)),e.focus&&this.clearEnforceFocus(),t.removeAttribute("role"),t.removeAttribute("aria-labelledby"),t.removeAttribute("aria-modal"),Pn(t,S),An(t,{zIndex:e.zIndexInline}),this.viewerData=Bn({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){n.renderImage((function(){e.transition&&setTimeout((function(){Vn(r,F),Vn(o,F)}),0)}))})),this):this},tooltip:function(){var n=this,e=this.options,t=this.tooltipBox,r=this.imageData;return this.viewed&&!this.played&&e.tooltip?(t.textContent="".concat(Math.round(100*r.ratio),"%"),this.tooltipping?clearTimeout(this.tooltipping):e.transition?(this.fading&&Kn(t,M),Vn(t,P),Vn(t,x),Vn(t,F),t.removeAttribute("aria-hidden"),t.initialOffsetWidth=t.offsetWidth,Vn(t,W)):(Vn(t,P),t.removeAttribute("aria-hidden")),this.tooltipping=setTimeout((function(){e.transition?(Gn(t,M,(function(){Pn(t,P),Pn(t,x),Pn(t,F),t.setAttribute("aria-hidden",!0),n.fading=!1}),{once:!0}),Pn(t,W),n.fading=!0):(Pn(t,P),t.setAttribute("aria-hidden",!0)),n.tooltipping=!1}),1e3),this):this},toggle:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 1===this.imageData.ratio?this.zoomTo(this.imageData.oldRatio,!0,null,n):this.zoomTo(1,!0,null,n),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=Bn({},this.initialImageData),this.renderImage()),this},update:function(){var n=this,e=this.element,t=this.options,r=this.isImg;if(r&&!e.parentNode)return this.destroy();var o=[];if(Hn(r?[e]:e.querySelectorAll("img"),(function(e){Tn(t.filter)?t.filter.call(n,e)&&o.push(e):n.getImageURL(e)&&o.push(e)})),!o.length)return this;if(this.images=o,this.length=o.length,this.ready){var i=[];if(Hn(this.items,(function(n,e){var t=n.querySelector("img"),r=o[e];r&&t&&r.src===t.src&&r.alt===t.alt||i.push(e)})),An(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var l=i.indexOf(this.index);if(l>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-l,this.length-1),0));else{var a=this.items[this.index];Vn(a,b),a.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var n=this.element,e=this.options;return n[g]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),e.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):e.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),e.inline||Yn(n,R,this.onStart),n[g]=void 0,this):this}},oe={getImageURL:function(n){var e=this.options.url;return e=bn(e)?n.getAttribute(e):Tn(e)?e.call(this,n):""},enforceFocus:function(){var n=this;this.clearEnforceFocus(),Gn(document,N,this.onFocusin=function(e){var t=n.viewer,r=e.target;if(r!==document&&r!==t&&!t.contains(r)){for(;r;){if(null!==r.getAttribute("tabindex")||"true"===r.getAttribute("aria-modal"))return;r=r.parentElement}t.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(Yn(document,N,this.onFocusin),this.onFocusin=null)},open:function(){var n=this.body;Vn(n,V),this.scrollbarWidth>0&&(n.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var n=this.body;Pn(n,V),this.scrollbarWidth>0&&(n.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var n=this.element,e=this.options,t=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,e.focus&&(t.focus(),this.enforceFocus()),Tn(e.shown)&&Gn(n,nn,e.shown,{once:!0}),!1!==Kn(n,nn)&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var n=this.element,e=this.options,t=this.viewer;e.fucus&&this.clearEnforceFocus(),this.close(),this.unbind(),Vn(t,k),t.removeAttribute("role"),t.removeAttribute("aria-labelledby"),t.removeAttribute("aria-modal"),t.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.hiding=!1,this.destroyed||(Tn(e.hidden)&&Gn(n,tn,e.hidden,{once:!0}),Kn(n,tn,null,{cancelable:!1}))},requestFullscreen:function(n){var e=this.element.ownerDocument;if(this.fulled&&!(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)){var t=e.documentElement;t.requestFullscreen?kn(n)?t.requestFullscreen(n):t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen()}},exitFullscreen:function(){var n=this.element.ownerDocument;this.fulled&&(n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement)&&(n.exitFullscreen?n.exitFullscreen():n.webkitExitFullscreen?n.webkitExitFullscreen():n.mozCancelFullScreen?n.mozCancelFullScreen():n.msExitFullscreen&&n.msExitFullscreen())},change:function(n){var e=this.options,t=this.pointers,r=t[Object.keys(t)[0]];if(r){var o=r.endX-r.startX,i=r.endY-r.startY;switch(this.action){case m:0===o&&0===i||(this.pointerMoved=!0,this.move(o,i,n));break;case y:this.zoom(Mn(t),!1,null,n);break;case v:this.action="switched";var l=Math.abs(o);l>1&&l>Math.abs(i)&&(this.pointers={},o>1?this.prev(e.loop):o<-1&&this.next(e.loop))}Hn(t,(function(n){n.startX=n.endX,n.startY=n.endY}))}},isSwitchable:function(){var n=this.imageData,e=this.viewerData;return this.length>1&&n.x>=0&&n.y>=0&&n.width<=e.width&&n.height<=e.height}},ie=p.Viewer,le=(qn=-1,function(){return qn+=1}),ae=function(){function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r(this,n),!e||1!==e.nodeType)throw new Error("The first argument is required and must be an element.");this.element=e,this.options=Bn({},s,kn(t)&&t),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=le(),this.init()}return i(n,[{key:"init",value:function(){var n=this,e=this.element,t=this.options;if(!e[g]){e[g]=this,t.focus&&!t.keyboard&&(t.focus=!1);var r="img"===e.localName,o=[];if(Hn(r?[e]:e.querySelectorAll("img"),(function(e){Tn(t.filter)?t.filter.call(n,e)&&o.push(e):n.getImageURL(e)&&o.push(e)})),this.isImg=r,this.length=o.length,this.images=o,this.initBody(),Sn(document.createElement(g).style.transition)&&(t.transition=!1),t.inline){var i=0,l=function(){var e;(i+=1)===n.length&&(n.initializing=!1,n.delaying={abort:function(){clearTimeout(e)}},e=setTimeout((function(){n.delaying=!1,n.build()}),0))};this.initializing={abort:function(){Hn(o,(function(n){n.complete||(Yn(n,Y,l),Yn(n,G,l))}))}},Hn(o,(function(n){var e,t;n.complete?l():(Gn(n,Y,e=function(){Yn(n,G,t),l()},{once:!0}),Gn(n,G,t=function(){Yn(n,Y,e),l()},{once:!0}))}))}else Gn(e,R,this.onStart=function(e){var r=e.target;"img"!==r.localName||Tn(t.filter)&&!t.filter.call(n,r)||n.view(n.images.indexOf(r))})}}},{key:"build",value:function(){if(!this.ready){var n=this.element,e=this.options,t=n.parentNode,r=document.createElement("div");r.innerHTML=u;var o=r.querySelector(".".concat(g,"-container")),i=o.querySelector(".".concat(g,"-title")),l=o.querySelector(".".concat(g,"-toolbar")),a=o.querySelector(".".concat(g,"-navbar")),d=o.querySelector(".".concat(g,"-button")),s=o.querySelector(".".concat(g,"-canvas"));if(this.parent=t,this.viewer=o,this.title=i,this.toolbar=l,this.navbar=a,this.button=d,this.canvas=s,this.footer=o.querySelector(".".concat(g,"-footer")),this.tooltipBox=o.querySelector(".".concat(g,"-tooltip")),this.player=o.querySelector(".".concat(g,"-player")),this.list=o.querySelector(".".concat(g,"-list")),o.id="".concat(g).concat(this.id),i.id="".concat(g,"Title").concat(this.id),Vn(i,e.title?$n(Array.isArray(e.title)?e.title[0]:e.title):k),Vn(a,e.navbar?$n(e.navbar):k),Fn(d,k,!e.button),e.keyboard&&d.setAttribute("tabindex",0),e.backdrop&&(Vn(o,"".concat(g,"-backdrop")),e.inline||"static"===e.backdrop||Nn(s,mn,"hide")),bn(e.className)&&e.className&&e.className.split(vn).forEach((function(n){Vn(o,n)})),e.toolbar){var c=document.createElement("ul"),p=kn(e.toolbar),f=yn.slice(0,3),h=yn.slice(7,9),m=yn.slice(9);p||Vn(l,$n(e.toolbar)),Hn(p?e.toolbar:yn,(function(n,t){var r=p&&kn(n),o=p?Ln(t):n,i=r&&!Sn(n.show)?n.show:n;if(i&&(e.zoomable||-1===f.indexOf(o))&&(e.rotatable||-1===h.indexOf(o))&&(e.scalable||-1===m.indexOf(o))){var l=r&&!Sn(n.size)?n.size:n,a=r&&!Sn(n.click)?n.click:n,d=document.createElement("li");e.keyboard&&d.setAttribute("tabindex",0),d.setAttribute("role","button"),Vn(d,"".concat(g,"-").concat(o)),Tn(a)||Nn(d,mn,o),xn(i)&&Vn(d,$n(i)),-1!==["small","large"].indexOf(l)?Vn(d,"".concat(g,"-").concat(l)):"play"===o&&Vn(d,"".concat(g,"-large")),Tn(a)&&Gn(d,R,a),c.appendChild(d)}})),l.appendChild(c)}else Vn(l,k);if(!e.rotatable){var v=l.querySelectorAll('li[class*="rotate"]');Vn(v,A),Hn(v,(function(n){l.appendChild(n)}))}if(e.inline)Vn(d,I),An(o,{zIndex:e.zIndexInline}),"static"===window.getComputedStyle(t).position&&An(t,{position:"relative"}),t.insertBefore(o,n.nextSibling);else{Vn(d,C),Vn(o,S),Vn(o,x),Vn(o,k),An(o,{zIndex:e.zIndex});var y=e.container;bn(y)&&(y=n.ownerDocument.querySelector(y)),y||(y=this.body),y.appendChild(o)}e.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,Tn(e.ready)&&Gn(n,Q,e.ready,{once:!0}),!1!==Kn(n,Q)?this.ready&&e.inline&&this.view(this.index):this.ready=!1}}}],[{key:"noConflict",value:function(){return window.Viewer=ie,n}},{key:"setDefaults",value:function(n){Bn(s,kn(n)&&n)}}]),n}();return Bn(ae.prototype,ne,ee,te,re,oe),ae}()}({get exports(){return cx},set exports(n){cx=n}});var px=cx,fx=iu,hx=$n;var gx=function(n,e,t){(void 0!==t&&!hx(n[e],t)||void 0===t&&!(e in n))&&fx(n,e,t)},mx=Wn,vx=V;var yx=function(n,e){if(("constructor"!==e||"function"!=typeof n[e])&&"__proto__"!=e)return n[e]},bx=pu,Cx=Iu;var xx=gx,Sx=Hu,Ix=ec,wx=Bu,kx=fc,Tx=G,Hx=K,Bx=function(n){return vx(n)&&mx(n)},Wx=D,Ax=Tn,Zx=In,Xx=Ys,Vx=ln,Px=yx,Fx=function(n){return bx(n,Cx(n))};var Rx=wt,Lx=gx,zx=g,Nx=function(n,e,t,r,o,i,l){var a=Px(n,t),d=Px(e,t),s=l.get(d);if(s)xx(n,t,s);else{var u=i?i(a,d,t+"",n,e,l):void 0,c=void 0===u;if(c){var p=Hx(d),f=!p&&Wx(d),h=!p&&!f&&Vx(d);u=d,p||f||h?Hx(a)?u=a:Bx(a)?u=wx(a):f?(c=!1,u=Sx(d,!0)):h?(c=!1,u=Ix(d,!0)):u=[]:Xx(d)||Tx(d)?(u=a,Tx(a)?u=Fx(a):Zx(a)&&!Ax(a)||(u=kx(d))):c=!1}c&&(l.set(d,u),o(u,d,r,i,l),l.delete(d)),xx(n,t,u)}},jx=In,Yx=Iu,Gx=yx;var Kx=function n(e,t,r,o,i){e!==t&&zx(t,(function(l,a){if(i||(i=new Rx),jx(l))Nx(e,t,a,r,n,o,i);else{var d=o?o(Gx(e,a),l,a+"",e,t,i):void 0;void 0===d&&(d=l),Lx(e,a,d)}}),Yx)},Dx=xs,Ox=Fa;var Jx=Kx,Ex=function(n){return Dx((function(e,t){var r=-1,o=t.length,i=o>1?t[o-1]:void 0,l=o>2?t[2]:void 0;for(i=n.length>3&&"function"==typeof i?(o--,i):void 0,l&&Ox(t[0],t[1],l)&&(i=o<3?void 0:i,o=1),e=Object(e);++r<o;){var a=t[r];a&&n(e,a,r,i)}return e}))}((function(n,e,t){Jx(n,e,t)}));async function _x(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=!0,o=null,i=Ci();if(Ws(t)||(t={}),!Os(n))return i.reject("eleImg is not a HTMLElement"),i;if(o=n,null!==e){if(!Os(e))return i.reject("eleGroup is not a HTMLElement"),i;r=!1,o=e}if(!r){let n=e.querySelectorAll("img"),t=xd(n);if(0===t)return i.reject("eleGroup does not contain any img"),i;1===t&&(r=!0)}let l={button:!1,navbar:!1,title:!1,toolbar:{zoomIn:4,zoomOut:4,oneToOne:4,reset:4,prev:0,play:0,next:0,rotateLeft:4,rotateRight:4,flipHorizontal:4,flipVertical:4},tooltip:!1,movable:!0,zoomable:!0,rotatable:!0,scalable:!0,transition:!0,fullscreen:!1,keyboard:!0};r||(l=function(){let n={button:!1,navbar:!1,title:!1,toolbar:{zoomIn:4,zoomOut:4,oneToOne:4,reset:4,prev:0,play:0,next:0,rotateLeft:4,rotateRight:4,flipHorizontal:4,flipVertical:4},tooltip:!1,movable:!0,zoomable:!0,rotatable:!0,scalable:!0,transition:!0,fullscreen:!1,keyboard:!0};return n.navbar=!0,n.toolbar.prev=4,n.toolbar.next=4,n}()),l=Ex(l,np(t));let a=!1;l.hide=function(){a||(a=!0,s.hide(!0))},l.hidden=function(){s.destroy(),i.resolve("close")};let d=function(){let n=Hd();return px||n.Viewer}(),s=new d(o,l);return s.show(),i}async function $x(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;return vh(r)||(r=["https://cdn.jsdelivr.net/npm/viewerjs@1.11.5/dist/viewer.min.css","https://cdn.jsdelivr.net/npm/viewerjs@1.11.5/dist/viewer.min.js"]),await fl(r),_x(n,e,t)}function Mx(){return new function(n,e){let t=null;al(n)||(n=0),n=rl(n),Xp(e)||(e=!1);let r=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=0,t=[];Xb(n)&&(n=0),n=rl(n);let r=rp();return r.get=function(){return t.length>0?(e+=1,t.splice(0,1)[0]):null},r.cb=function(){e-=1,e<0&&(e=0),t.length>0&&r.emit("message",t)},r.push=function(o){t.push(o),(n<=0||e<n)&&r.emit("message",t)},r.clear=function(){e=0,t=[]},r}(n);return r.on("message",(async function(n){let e=r.get();if(!e)return;await sl(1);let t,o=Vo(e,"id"),i=Vo(e,"fun"),l=Vo(e,"input");t=bi(i)?await dv(i)(...l):{state:"error",msg:"fun is not a function"},r.emit(o,t),r.cb()})),function(n){let o=Ci(),i=Bs();t=i;for(var l=arguments.length,a=new Array(l>1?l-1:0),d=1;d<l;d++)a[d-1]=arguments[d];let s={id:i,fun:n,input:a};return r.push(s),r.once(i,(n=>{e?i===t?"success"===n.state?o.resolve(n.msg):o.reject(n.msg):o.reject({reason:"cancelled"}):"success"===n.state?o.resolve(n.msg):o.reject(n.msg)})),o}}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]&&arguments[1])}let Ux=!1;var Qx={directives:{domresize:lp()},components:{WIconLoading:Td},props:{pathItems:{type:Array,default:()=>["https://cdn.jsdelivr.net/npm/viewerjs@1.10.5/dist/viewer.min.css","https://cdn.jsdelivr.net/npm/viewerjs@1.10.5/dist/viewer.min.js"]},images:{type:Array,default:()=>[]},imageWidth:{type:Number,default:300},imageWidthSoft:{type:Number,default:null},colNum:{type:Number,default:null},space:{type:Number,default:15},imageStyle:{type:Object,default:()=>{}},arrangeWhenFinish:{type:Boolean,default:!1},numParallel:{type:Number,default:5},opt:{type:Object,default:()=>{}}},data:function(){return{dbc:av(),loading:!0,first:!1,widthPanel:0,heightPanel:0,imageCols:[],imageLocs:[],useImageStyle:{},uesImageWidth:0,imagesRes:[]}},mounted:function(){let n=this;fl(n.pathItems).then((e=>{n.loading=!1}))},computed:{changeImages:function(){let n=this.images;return this.refreshDebounce({images:n}),""},changeStyle:function(){let n=this,e=n.widthPanel,t=n.imageWidth,r=n.imageStyle,o=n.colNum,i=n.space;return n.refreshDebounce({widthPanel:e,imageWidth:t,imageStyle:r,colNum:o,space:i}),""}},methods:{resize:function(n){let e=this,t=Vo(e,"$el.offsetWidth",0);Ux||e.widthPanel!==t&&(e.widthPanel=t)},getImgSize:function(n,e){let t=Ci(),r=`g${Bs()}`,o=document.createElement("img");o.src=n,o.style.maxWidth=`${e}px`;let i=document.createElement("div");return i.id=`img-${r}`,i.style.position="absolute",i.style.width=0,i.style.height=0,i.style.opacity=0,i.style.overflow="hidden",i.appendChild(o),document.body.appendChild(i),o.onload=function(){t.resolve({src:n,id:r,w:o.clientWidth,h:o.clientHeight,err:null}),ph(i)},o.onerror=function(e){t.reject({src:n,w:0,h:0,err:e}),ph(i)},t},getImgsSize:function(n,e){let t=this,r=rp(),o=Mx(t.numParallel);t.imagesRes=[];let i=-1;return Jn(t.images,((l,a)=>{o(t.getImgSize,l,n).then((n=>{i++;let o=i;t.arrangeWhenFinish&&(o=a);let l={...n,name:(d=n.src,d.split("\\").pop().split("/").pop()),ind:o,evKey:e};var d;t.imagesRes[o]=l,r.emit("get",l)})).catch((n=>{console.log(n)}))})),r},refreshDebounce:function(){let n=this;n.dbc((()=>{n.refresh()}))},refresh:function(){let n=this,e=null,t=null;if(Pd(n.imageWidthSoft)&&n.imageWidthSoft>0)t=(n.widthPanel+n.space)/(n.imageWidthSoft+n.space),t=Math.floor(t),t=Math.max(t,1),e=(n.widthPanel-n.space*(t-1))/t;else if(ol(n.colNum))t=rl(n.colNum),e=(n.widthPanel-(t-1)*n.space)/t,e=Math.floor(e);else if(Pd(n.imageWidth)&&n.imageWidth>0){e=n.imageWidth;let r=n.widthPanel+n.space;r=Math.max(r,0);let o=e+n.space;o=Math.max(o,1),t=Math.floor(r/o)}else console.log("invalid colNum or imageWidth or imageWidthSoft",n.colNum,n.imageWidth,n.imageWidthSoft),t=4,e=300;n.uesImageWidth=e;let r={...n.imageStyle,"max-width":`${e}px`,"user-select":"none",cursor:"pointer",outline:"none"};function o(){n.imageCols=hi(ux(t),(()=>[])),n.imageLocs=hi(ux(t),(()=>0))}function i(e){if(!vi(n.imageCols))return;let t=function(){let e=n.imageLocs[0],t=0;return Jn(n.imageLocs,((n,r)=>{e>n&&(e=n,t=r)})),t}();try{n.imageCols[t].push(e),n.imageLocs[t]+=e.h+n.space+53}catch(n){}}function l(){o(),Jn(n.imagesRes,(n=>{i(n)}))}n.useImageStyle=r,n.first?l():function(){let t=Ci();o();let r=Bs(),a=xd(n.images),d=n.getImgsSize(e,r),s=0;d.on("get",(e=>{e.evKey===r&&(i(e),s++,s>=a&&(n.first=!0,n.arrangeWhenFinish&&l(),t.resolve()))}))}()},showImg:function(n,e){let t=this;Ux=!0,$x(n.currentTarget,null,t.opt,t.pathItems).finally((()=>{Ux=!1})),t.$emit("click",e)}}};const qx=Qx;var nS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeImages:n.changeImages,changeStyle:n.changeStyle},on:{domresize:n.resize}},[t("div",{staticStyle:{"margin-top":"-1px",height:"1px"}}),n._v(" "),n.loading?t("WIconLoading"):t("div",n._l(n.imageCols,(function(e,r){return t("div",{key:"c-"+r,style:"display:table-cell; vertical-align:top; margin:0; padding-left:"+(r>0?n.space:0)+"px;"},n._l(e,(function(e,r){return t("div",{key:"kimg-"+r,class:n.first?"":"fadeIn",style:"margin:"+(r>0?n.space:0)+"px 0 0 0; width:"+n.uesImageWidth+"px; user-select:none; outline:none;",attrs:{tabindex:"0"}},[t("div",{style:"display:flex;"},[t("img",{style:n.useImageStyle,attrs:{src:e.src},on:{keyup:function(t){return!t.type.indexOf("key")&&n._k(t.keyCode,"enter",13,t.key,"Enter")?null:function(t){n.showImg(t,e)}.apply(null,arguments)},click:function(t){n.showImg(t,e)}}})]),n._v(" "),t("div",{staticStyle:{background:"rgba(0,0,0,0.65)",padding:"5px"}},[t("input",{staticClass:"inp",staticStyle:{"font-size":"0.8rem",color:"#fff"},attrs:{type:"text",_spellcheck:"false",readonly:""},domProps:{value:e.name}})]),n._v(" "),t("div",{staticStyle:{background:"rgba(200,200,200,0.5)",padding:"3px 5px"}},[t("input",{staticClass:"inp",staticStyle:{"font-size":"0.7rem",opacity:"0.75"},attrs:{type:"text",_spellcheck:"false",readonly:""},domProps:{value:e.src}})])])})),0)})),0)],1)};nS._withStripped=!0;const eS=t({render:nS,staticRenderFns:[]},(function(n){n&&n("data-v-2a29abe8_0",{source:"\n.inp[data-v-2a29abe8] {\r\n font: inherit;\r\n height: 1rem;\r\n line-height: 1rem;\r\n width: 100%;\r\n margin: 0;\r\n padding: 0;\r\n display: block;\r\n background: transparent;\r\n border-style: none;\n}\n.inp[data-v-2a29abe8]:focus {\r\n outline: none;\n}\n.fadeIn[data-v-2a29abe8] {\r\n animation: aniFadeIn-data-v-2a29abe8 0.3s;\n}\n@keyframes aniFadeIn-data-v-2a29abe8\r\n{\nfrom {opacity: 0;}\nto {opacity: 1}\n}\r\n",map:{version:3,sources:["D:\\- 006 - 開源\\開源-JS-104-2-w-component-vue\\w-component-vue\\src\\components\\WImageCascadingDyn.vue"],names:[],mappings:";AAolBA;IACA,aAAA;IACA,YAAA;IACA,iBAAA;IACA,WAAA;IACA,SAAA;IACA,UAAA;IACA,cAAA;IACA,uBAAA;IACA,kBAAA;AACA;AACA;IACA,aAAA;AACA;AACA;IACA,yCAAA;AACA;AACA;;AAEA,MAAA,UAAA,CAAA;AACA,IAAA,UAAA;AACA",file:"WImageCascadingDyn.vue",sourcesContent:["<template>\r\n <div\r\n :changeImages=\"changeImages\"\r\n :changeStyle=\"changeStyle\"\r\n v-domresize\r\n @domresize=\"resize\"\r\n >\r\n\r\n \x3c!-- 初始化無圖片時先撐開寬度 --\x3e\r\n <div style=\"margin-top:-1px; height:1px;\"></div>\r\n\r\n <WIconLoading v-if=\"loading\"></WIconLoading>\r\n\r\n <div v-else>\r\n\r\n <div\r\n :style=\"`display:table-cell; vertical-align:top; margin:0; padding-left:${kimgs>0?space:0}px;`\"\r\n :key=\"`c-${kimgs}`\"\r\n v-for=\"(imgs,kimgs) in imageCols\"\r\n >\r\n\r\n <div\r\n :class=\"`${first?'':'fadeIn'}`\"\r\n :style=\"`margin:${kimg>0?space:0}px 0 0 0; width:${uesImageWidth}px; user-select:none; outline:none;`\"\r\n tabindex=\"0\"\r\n :key=\"`kimg-${kimg}`\"\r\n v-for=\"(img,kimg) in imgs\"\r\n >\r\n\r\n <div :style=\"`display:flex;`\">\r\n <img\r\n :style=\"useImageStyle\"\r\n :src=\"img.src\"\r\n @keyup.enter=\"(e)=>{showImg(e,img)}\"\r\n @click=\"(e)=>{showImg(e,img)}\"\r\n >\r\n </div>\r\n\r\n <div style=\"background:rgba(0,0,0,0.65); padding:5px;\">\r\n <input\r\n type=\"text\"\r\n class=\"inp\"\r\n style=\"font-size:0.8rem; color:#fff;\"\r\n _spellcheck=\"false\"\r\n readonly\r\n :value=\"img.name\"\r\n >\r\n </div>\r\n\r\n <div style=\"background:rgba(200,200,200,0.5); padding:3px 5px;\">\r\n <input\r\n type=\"text\"\r\n class=\"inp\"\r\n style=\"font-size:0.7rem; opacity:0.75;\"\r\n _spellcheck=\"false\"\r\n readonly\r\n :value=\"img.src\"\r\n >\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport each from 'lodash/each'\r\nimport map from 'lodash/map'\r\nimport get from 'lodash/get'\r\nimport times from 'lodash/times'\r\nimport size from 'lodash/size'\r\nimport isNumber from 'lodash/isNumber'\r\nimport importResources from 'wsemi/src/importResources.mjs'\r\nimport domShowImagesDyn from 'wsemi/src/domShowImagesDyn.mjs'\r\nimport ispint from 'wsemi/src/ispint.mjs'\r\nimport cint from 'wsemi/src/cint.mjs'\r\nimport isarr from 'wsemi/src/isarr.mjs'\r\nimport genPm from 'wsemi/src/genPm.mjs'\r\nimport genID from 'wsemi/src/genID.mjs'\r\nimport pmQueue from 'wsemi/src/pmQueue.mjs'\r\nimport domRemove from 'wsemi/src/domRemove.mjs'\r\nimport evem from 'wsemi/src/evem.mjs'\r\nimport debounce from 'wsemi/src/debounce.mjs'\r\nimport domResize from '../js/domResize.mjs'\r\nimport WIconLoading from './WIconLoading.vue'\r\n\r\n\r\n//showViewer, 得要跨組件共用, 因彈出viewer會影響全部組件\r\nlet showViewer = false\r\n\r\n\r\nfunction getFileName(str) {\r\n return str.split('\\\\').pop().split('/').pop()\r\n}\r\n\r\n\r\n/**\r\n * @vue-prop {Array} [pathItems=['詳見原始碼']] 輸入viewerjs組件js與css檔案位置字串陣列,預設詳見原始碼處props->pathItems->default\r\n * @vue-prop {Array} [images=[]] 輸入圖片網址陣列,預設[]\r\n * @vue-prop {Number} [imageWidth=300] 輸入圖片寬度數字,單位為px,預設300\r\n * @vue-prop {Number} [imageWidthSoft=null] 輸入自動計算最小需滿足的圖片寬度數字,單位為px,預設null\r\n * @vue-prop {Number} [colNum=null] 輸入組件寬度圖片欄位(水平向有幾張圖片)數量數字,預設null\r\n * @vue-prop {Number} [space=15] 輸入圖片間間距長度數字,單位為px,預設15\r\n * @vue-prop {Object} [imageStyle={}] 輸入圖片style物件,預設{}\r\n * @vue-prop {Object} [arrangeWhenFinish=false] 輸入是否於圖片載入完畢時依照原本圖片順序排序布林值,預設false\r\n * @vue-prop {Number} [numParallel=5] 輸入同時載入圖片數量數字,預設5\r\n * @vue-prop {Object} [opt={}] 輸入viewerjs設定物件,預設使用optOne或optMuti,若img僅一個則使用optOne,反之使用optMuti\r\n * @vue-prop {Boolean} [multiple=false] 輸入\r\n */\r\nexport default {\r\n directives: {\r\n domresize: domResize(),\r\n },\r\n components: {\r\n WIconLoading,\r\n },\r\n props: {\r\n pathItems: {\r\n type: Array,\r\n default: () => [ //預設值詳見 wsemi/src/domShowImagesDyn.mjs, 因此處有預載, 故所使用viewerjs的版本得相同\r\n 'https://cdn.jsdelivr.net/npm/viewerjs@1.10.5/dist/viewer.min.css',\r\n 'https://cdn.jsdelivr.net/npm/viewerjs@1.10.5/dist/viewer.min.js',\r\n ],\r\n },\r\n images: {\r\n type: Array,\r\n default: () => [],\r\n },\r\n imageWidth: {\r\n type: Number,\r\n default: 300,\r\n },\r\n imageWidthSoft: {\r\n type: Number,\r\n default: null,\r\n },\r\n colNum: {\r\n type: Number,\r\n default: null,\r\n },\r\n space: {\r\n type: Number,\r\n default: 15,\r\n },\r\n imageStyle: {\r\n type: Object,\r\n default: () => {},\r\n },\r\n arrangeWhenFinish: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n numParallel: {\r\n type: Number,\r\n default: 5,\r\n },\r\n opt: {\r\n type: Object,\r\n default: () => {},\r\n },\r\n },\r\n data: function() {\r\n return {\r\n dbc: debounce(),\r\n\r\n loading: true,\r\n first: false,\r\n\r\n widthPanel: 0,\r\n heightPanel: 0,\r\n imageCols: [],\r\n imageLocs: [],\r\n useImageStyle: {},\r\n uesImageWidth: 0,\r\n\r\n imagesRes: [],\r\n\r\n }\r\n },\r\n mounted: function() {\r\n //console.log('mounted')\r\n\r\n let vo = this\r\n\r\n //importResources\r\n importResources(vo.pathItems)\r\n .then((res) => {\r\n //console.log('res', res)\r\n\r\n //loading\r\n vo.loading = false\r\n\r\n })\r\n\r\n },\r\n computed: {\r\n\r\n changeImages: function() {\r\n // console.log('computed changeImages')\r\n\r\n let vo = this\r\n\r\n let images = vo.images\r\n\r\n //refreshDebounce\r\n vo.refreshDebounce({ images })\r\n\r\n return ''\r\n },\r\n\r\n changeStyle: function() {\r\n // console.log('computed changeStyle')\r\n\r\n let vo = this\r\n\r\n //for trigger\r\n let widthPanel = vo.widthPanel\r\n let imageWidth = vo.imageWidth\r\n let imageStyle = vo.imageStyle\r\n let colNum = vo.colNum\r\n let space = vo.space\r\n\r\n //refreshDebounce\r\n vo.refreshDebounce({ widthPanel, imageWidth, imageStyle, colNum, space })\r\n\r\n return ''\r\n },\r\n\r\n },\r\n methods: {\r\n\r\n resize: function(msg) {\r\n // console.log('methods resize', msg)\r\n\r\n let vo = this\r\n\r\n //widthPanel\r\n let widthPanel = get(vo, '$el.offsetWidth', 0)\r\n\r\n //check, 因開啟viewer會改變視窗尺寸, 進而觸發resize, 會導致觸發changeStyle並重算圖片, 故得使用showViewer判斷是否為開啟viewer狀態, 避免重算圖片\r\n if (showViewer) {\r\n return\r\n }\r\n\r\n //check\r\n if (vo.widthPanel === widthPanel) {\r\n return\r\n }\r\n\r\n //save\r\n vo.widthPanel = widthPanel\r\n\r\n },\r\n\r\n getImgSize: function(src, uesImageWidth) {\r\n //console.log('methods getImgSize', src, uesImageWidth)\r\n\r\n // let vo = this\r\n\r\n //pm\r\n let pm = genPm()\r\n\r\n //id\r\n let id = `g${genID()}`\r\n\r\n //img\r\n let img = document.createElement('img')\r\n img.src = src\r\n img.style.maxWidth = `${uesImageWidth}px`\r\n\r\n //div\r\n let div = document.createElement('div')\r\n div.id = `img-${id}`\r\n div.style.position = 'absolute'\r\n div.style.width = 0\r\n div.style.height = 0\r\n div.style.opacity = 0\r\n div.style.overflow = 'hidden'\r\n div.appendChild(img)\r\n\r\n //body\r\n document.body.appendChild(div)\r\n\r\n //onload\r\n img.onload = function() {\r\n // setTimeout(() => {\r\n // pm.resolve({\r\n // src,\r\n // id,\r\n // w: img.clientWidth,\r\n // h: img.clientHeight,\r\n // err: null,\r\n // })\r\n // domRemove(div)\r\n // }, random(10, 2500))\r\n pm.resolve({\r\n src,\r\n id,\r\n w: img.clientWidth,\r\n h: img.clientHeight,\r\n err: null,\r\n })\r\n domRemove(div)\r\n }\r\n\r\n //onerror\r\n img.onerror = function(err) {\r\n pm.reject({\r\n src,\r\n w: 0,\r\n h: 0,\r\n err,\r\n })\r\n domRemove(div)\r\n }\r\n\r\n return pm\r\n },\r\n\r\n getImgsSize: function(uesImageWidth, evKey) {\r\n //console.log('methods getImgsSize', uesImageWidth, evKey)\r\n\r\n let vo = this\r\n\r\n //ev\r\n let ev = evem()\r\n\r\n //pmQueue\r\n let pmq = pmQueue(vo.numParallel) //1次取得numParallel個圖片\r\n\r\n //getImgSize\r\n vo.imagesRes = []\r\n let j = -1\r\n each(vo.images, (src, k) => {\r\n pmq(vo.getImgSize, src, uesImageWidth)\r\n .then((r) => {\r\n j++\r\n\r\n //ind\r\n let ind = j\r\n if (vo.arrangeWhenFinish) { //需依照原始順序排序\r\n ind = k\r\n }\r\n\r\n //o\r\n let o = {\r\n ...r,\r\n name: getFileName(r.src),\r\n ind,\r\n evKey,\r\n }\r\n\r\n //save imagesRes\r\n vo.imagesRes[ind] = o\r\n\r\n //emit\r\n ev.emit('get', o)\r\n\r\n })\r\n .catch((err) => {\r\n console.log(err)\r\n })\r\n })\r\n\r\n return ev\r\n },\r\n\r\n refreshDebounce: function() {\r\n //console.log('methods refreshDebounce')\r\n\r\n let vo = this\r\n\r\n //dbc\r\n vo.dbc(() => {\r\n\r\n //refresh\r\n vo.refresh()\r\n\r\n })\r\n\r\n },\r\n\r\n refresh: function() {\r\n // console.log('methods refresh')\r\n\r\n let vo = this\r\n\r\n //uesImageWidth, colNum\r\n let uesImageWidth = null\r\n let colNum = null\r\n if (isNumber(vo.imageWidthSoft) && vo.imageWidthSoft > 0) {\r\n // console.log('優先使用imageWidthSoft計算colNum與imageWidth')\r\n\r\n //colNum\r\n colNum = (vo.widthPanel + vo.space) / (vo.imageWidthSoft + vo.space)\r\n colNum = Math.floor(colNum)\r\n colNum = Math.max(colNum, 1)\r\n // console.log('colNum', colNum)\r\n\r\n //uesImageWidth\r\n uesImageWidth = (vo.widthPanel - vo.space * (colNum - 1)) / colNum\r\n // console.log('uesImageWidth', uesImageWidth)\r\n\r\n }\r\n else if (ispint(vo.colNum)) {\r\n // console.log('次先使用colNum計算imageWidth')\r\n\r\n //colNum\r\n colNum = cint(vo.colNum)\r\n\r\n //uesImageWidth\r\n uesImageWidth = (vo.widthPanel - (colNum - 1) * vo.space) / colNum\r\n uesImageWidth = Math.floor(uesImageWidth)\r\n\r\n }\r\n else if (isNumber(vo.imageWidth) && vo.imageWidth > 0) {\r\n // console.log('最後使用imageWidth計算colNum')\r\n\r\n //uesImageWidth\r\n uesImageWidth = vo.imageWidth\r\n\r\n //colNum\r\n let wa = vo.widthPanel + vo.space\r\n wa = Math.max(wa, 0)\r\n let wis = uesImageWidth + vo.space\r\n wis = Math.max(wis, 1)\r\n colNum = Math.floor(wa / wis)\r\n\r\n }\r\n else {\r\n console.log('invalid colNum or imageWidth or imageWidthSoft', vo.colNum, vo.imageWidth, vo.imageWidthSoft)\r\n colNum = 4\r\n uesImageWidth = 300\r\n }\r\n vo.uesImageWidth = uesImageWidth\r\n\r\n //useImageStyle\r\n let useImageStyle = {\r\n ...vo.imageStyle,\r\n 'max-width': `${uesImageWidth}px`,\r\n 'user-select': 'none',\r\n 'cursor': 'pointer',\r\n 'outline': 'none',\r\n }\r\n vo.useImageStyle = useImageStyle\r\n\r\n function getMinHeightCol() {\r\n let hmin = vo.imageLocs[0]\r\n let ihmin = 0\r\n each(vo.imageLocs, (v, i) => {\r\n if (hmin > v) {\r\n hmin = v\r\n ihmin = i\r\n }\r\n })\r\n return ihmin\r\n }\r\n\r\n function resetImageColsAndLocs() {\r\n vo.imageCols = map(times(colNum), () => {\r\n return []\r\n })\r\n vo.imageLocs = map(times(colNum), () => {\r\n return 0\r\n })\r\n }\r\n\r\n function pushImage(img) {\r\n\r\n //check, 開發階段可能hot reload組件導致出現上一輪事件\r\n if (!isarr(vo.imageCols)) {\r\n return\r\n }\r\n\r\n //getMinHeightCol\r\n let i = getMinHeightCol()\r\n\r\n try {\r\n\r\n //push\r\n vo.imageCols[i].push(img)\r\n\r\n //update\r\n vo.imageLocs[i] += img.h + vo.space + (29 + 24) //29是圖名區高度, 24是位址區高度\r\n\r\n }\r\n catch (err) { }\r\n\r\n }\r\n\r\n function build() {\r\n\r\n //pm\r\n let pm = genPm()\r\n\r\n //resetImageColsAndLocs\r\n resetImageColsAndLocs()\r\n\r\n //evKey\r\n let evKey = genID()\r\n\r\n //num\r\n let num = size(vo.images)\r\n\r\n //getImgsSize\r\n let ev = vo.getImgsSize(uesImageWidth, evKey)\r\n\r\n //pushImage\r\n let n = 0\r\n ev.on('get', (img) => {\r\n // console.log('get', img)\r\n\r\n //check\r\n if (img.evKey !== evKey) {\r\n return\r\n }\r\n\r\n //pushImage\r\n pushImage(img)\r\n\r\n //check\r\n n++\r\n if (n >= num) {\r\n\r\n //first\r\n vo.first = true\r\n\r\n //arrange\r\n if (vo.arrangeWhenFinish) {\r\n arrange()\r\n }\r\n\r\n //resolve\r\n pm.resolve()\r\n\r\n }\r\n\r\n })\r\n\r\n return pm\r\n }\r\n\r\n function arrange() {\r\n\r\n //resetImageColsAndLocs\r\n resetImageColsAndLocs()\r\n\r\n //pushImage\r\n each(vo.imagesRes, (img) => {\r\n pushImage(img)\r\n })\r\n\r\n }\r\n\r\n if (!vo.first) {\r\n // console.log('build')\r\n build()\r\n }\r\n else {\r\n // console.log('arrange')\r\n arrange()\r\n }\r\n\r\n },\r\n\r\n showImg: function(e, img) {\r\n // console.log('methods showImg', e, img)\r\n\r\n let vo = this\r\n\r\n //showViewer\r\n showViewer = true\r\n\r\n //domShowImagesDyn\r\n domShowImagesDyn(e.currentTarget, null, vo.opt, vo.pathItems)\r\n .finally(() => {\r\n\r\n //showViewer\r\n showViewer = false\r\n\r\n })\r\n\r\n //emit\r\n vo.$emit('click', img)\r\n\r\n },\r\n\r\n },\r\n}\r\n<\/script>\r\n\r\n<style scoped>\r\n.inp {\r\n font: inherit;\r\n height: 1rem;\r\n line-height: 1rem;\r\n width: 100%;\r\n margin: 0;\r\n padding: 0;\r\n display: block;\r\n background: transparent;\r\n border-style: none;\r\n}\r\n.inp:focus {\r\n outline: none;\r\n}\r\n.fadeIn {\r\n animation: aniFadeIn 0.3s;\r\n}\r\n@keyframes aniFadeIn\r\n{\r\n from {opacity: 0;}\r\n to {opacity: 1}\r\n}\r\n</style>\r\n"]},media:void 0})}),qx,"data-v-2a29abe8",false,undefined,!1,o,void 0,void 0);const tS={components:{WIconLoading:Td},props:{pathItems:{type:Array,default:()=>["https://cdn.jsdelivr.net/npm/viewerjs@1.10.5/dist/viewer.min.css","https://cdn.jsdelivr.net/npm/viewerjs@1.10.5/dist/viewer.min.js"]},images:{type:Array,default:()=>[]},imageStyle:{type:Object,default:()=>{}},opt:{type:Object,default:()=>{}},multiple:{type:Boolean,default:!1}},data:function(){return{loading:!0}},mounted:function(){let n=this;fl(n.pathItems).then((e=>{n.loading=!1,n.$nextTick((()=>{let e=Vo(n,"$refs.wiv",[]);Jn(e,((n,e)=>{Js(n,{duration:200,delay:100*e})}))}))}))},computed:{useImageStyle:function(){return Ex({margin:"5px"},this.imageStyle)}},methods:{showImg:function(n){let e=this,t=null;e.multiple&&(t=e.$refs.wig),$x(n.currentTarget,t,e.opt,e.pathItems).catch((n=>{console.log(n)}))}}};var rS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[n.loading?t("WIconLoading"):t("div",{ref:"wig"},n._l(n.images,(function(e,r){return t("div",{key:r,ref:"wiv",refInFor:!0,staticStyle:{display:"inline-block",opacity:"0","user-select":"none",cursor:"pointer",outline:"none"},attrs:{tabindex:"0"},on:{keyup:function(e){return!e.type.indexOf("key")&&n._k(e.keyCode,"enter",13,e.key,"Enter")?null:n.showImg.apply(null,arguments)},click:n.showImg}},[t("img",{style:n.useImageStyle,attrs:{src:e}})])})),0)],1)};rS._withStripped=!0;const oS=t({render:rS,staticRenderFns:[]},(function(n){n&&n("data-v-2729d6f1_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WImageViewerDyn.vue"},media:void 0})}),tS,"data-v-2729d6f1",false,undefined,!1,o,void 0,void 0);var iS={components:{},props:{multiCheck:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},value:{type:[Array,String,Object]},keyText:{type:String,default:"text"},arrange:{type:String,default:"vertical"},inputSize:{type:Number,default:16},inputShiftTop:{type:Number,default:1},textColor:{type:String,default:"#222"},textColorHover:{type:String,default:"#888"},textColorActive:{type:String,default:"#222"},textColorDisabled:{type:String,default:"#666"},textFontSize:{type:String,default:"0.85rem"},paddingStyle:{type:Object,default:()=>({top:0,bottom:0,left:0,right:0})},verticalAlign:{type:String,default:"center"},editable:{type:Boolean,default:!0}},data:function(){return{get:Vo,itemsTrans:[],dataActive:null}},mounted:function(){},computed:{changeItems:function(){let n=this;let e=np(n.items),t=hi(e,(e=>{let t=function(e){let t;return t=n.multiCheck?BC(n.value,e):xm(e,n.value),t}(e);return t})),r=[],o=[];return Jn(e,((n,e)=>{let i={data:n},l=`id-${e}`;i.id=l;let a=t[e];i.active=a,i.hover=!1,r.push(i),a&&o.push(l)})),n.multiCheck||(o=o[0]),n.itemsTrans=r,n.dataActive=o,""},usePadding:function(){let n=this;return`padding:${ch(n.paddingStyle,{ext:{left:n.shiftLeft,right:n.shiftRight}})};`},useVerticalAlign:function(){let n=this,e="";return"center"===n.verticalAlign?e="align-items:center;":"top"===n.verticalAlign?e="align-items:flex-start;":"bottom"===n.verticalAlign&&(e="align-items:flex-end;"),e},useTextFontSize:function(){let n=this.textFontSize;return n=As(n,";",""),`font-size:${n};`},effTextColor:function(){return Id(this.textColor)},effTextColorHover:function(){return Id(this.textColorHover)},effTextColorActive:function(){return Id(this.textColorActive)},effTextColorDisabled:function(){return Id(this.textColorDisabled)}},methods:{getText:function(n){return Vo(n,`data.${this.keyText}`)||Vo(n,"data")},getTextColor:function(n,e){let t=this;return t.editable?n.active?t.effTextColorActive:n.hover?t.effTextColorHover:t.effTextColor:t.effTextColorDisabled},mouseenter:function(n,e){let t=this;Jn(t.itemsTrans,((n,r)=>{t.itemsTrans[r].hover=r===e}))},mouseleave:function(n,e){let t=this;Jn(t.itemsTrans,((n,e)=>{t.itemsTrans[e].hover=!1}))},toggleState:function(n){let e=this;if(!1!==e.editable)if(e.multiCheck){let t=np(e.value);if(n.active){let e=[];Jn(t,(t=>{xm(t,n.data)||e.push(t)})),t=e}else t.push(n.data);e.$nextTick((()=>{e.$emit("input",t),e.$emit("click",n.data,""+(n.active?"hide":"show"))}))}else e.$nextTick((()=>{e.$emit("input",n.data),e.$emit("click",n.data)}))}}};const lS=iS;var aS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{attrs:{changeItems:n.changeItems}},n._l(n.itemsTrans,(function(e,r){return t("div",{key:r,style:("vertical"===n.arrange?"":"display:inline-block;")+" "+n.usePadding},[t("div",{style:"transition:all 0.3s; display:flex; "+n.useVerticalAlign+"; color:"+n.getTextColor(e,r)+";",on:{mouseenter:function(t){return n.mouseenter(e,r)},mouseleave:function(t){return n.mouseleave(e,r)}}},[t("div",{style:"display:flex; height:"+(n.inputSize+n.inputShiftTop)+"px; padding-top:"+n.inputShiftTop+"px;"},["checkbox"==(n.multiCheck?"checkbox":"radio")?t("input",{directives:[{name:"model",rawName:"v-model",value:n.dataActive,expression:"dataActive"}],style:"width:"+n.inputSize+"px; height:"+n.inputSize+"px; padding:0px; cursor:pointer;",attrs:{disabled:!n.editable,type:"checkbox"},domProps:{value:e.id,checked:Array.isArray(n.dataActive)?n._i(n.dataActive,e.id)>-1:n.dataActive},on:{change:function(t){var r=n.dataActive,o=t.target,i=!!o.checked;if(Array.isArray(r)){var l=e.id,a=n._i(r,l);o.checked?a<0&&(n.dataActive=r.concat([l])):a>-1&&(n.dataActive=r.slice(0,a).concat(r.slice(a+1)))}else n.dataActive=i}}}):"radio"==(n.multiCheck?"checkbox":"radio")?t("input",{directives:[{name:"model",rawName:"v-model",value:n.dataActive,expression:"dataActive"}],style:"width:"+n.inputSize+"px; height:"+n.inputSize+"px; padding:0px; cursor:pointer;",attrs:{disabled:!n.editable,type:"radio"},domProps:{value:e.id,checked:n._q(n.dataActive,e.id)},on:{change:function(t){n.dataActive=e.id}}}):t("input",{directives:[{name:"model",rawName:"v-model",value:n.dataActive,expression:"dataActive"}],style:"width:"+n.inputSize+"px; height:"+n.inputSize+"px; padding:0px; cursor:pointer;",attrs:{disabled:!n.editable,type:n.multiCheck?"checkbox":"radio"},domProps:{value:e.id,value:n.dataActive},on:{input:function(e){e.target.composing||(n.dataActive=e.target.value)}}})]),n._v(" "),t("div",{style:"",on:{click:function(t){return n.toggleState(e)}}},[n._t("default",(function(){return[t("div",{style:"margin:0px 0px 0px 5px; "+n.useTextFontSize+" cursor:pointer;"},[n._v("\n "+n._s(n.getText(e))+"\n ")])]}),{item:e,kitem:r,isHover:e.hover,isActive:e.active})],2)])])})),0)};aS._withStripped=!0;const dS=t({render:aS,staticRenderFns:[]},(function(n){n&&n("data-v-23cdb6b0_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WInputCheckbox.vue"},media:void 0})}),lS,undefined,false,undefined,!1,o,void 0,void 0);const sS={components:{WInputCheckbox:dS},props:{items:{type:Array,default:()=>[]},value:{type:[String,Object]},keyText:{type:String,default:"text"},arrange:{type:String,default:"vertical"},inputSize:{type:Number,default:16},inputShiftTop:{type:Number,default:1},textColor:{type:String,default:"#222"},textColorHover:{type:String,default:"#888"},textColorActive:{type:String,default:"#222"},textColorDisabled:{type:String,default:"#666"},textFontSize:{type:String,default:"0.85rem"},paddingStyle:{type:Object,default:()=>({top:0,bottom:0,left:0,right:0})},verticalAlign:{type:String,default:"center"},editable:{type:Boolean,default:!0}},data:function(){return{}},mounted:function(){},computed:{},methods:{}};var uS=function(){var n=this,e=n.$createElement;return(n._self._c||e)("WInputCheckbox",n._g(n._b({scopedSlots:n._u([{key:"default",fn:function(e){return[n._t("default",null,{item:e.item,kitem:e.kitem,isHover:e.isHover,isActive:e.isActive})]}}],null,!0)},"WInputCheckbox",Object.assign({},n.$props,{multiCheck:!1}),!1),n.$listeners))};uS._withStripped=!0;const cS=t({render:uS,staticRenderFns:[]},(function(n){n&&n("data-v-e40f5a72_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WInputRadio.vue"},media:void 0})}),sS,"data-v-e40f5a72",false,undefined,!1,o,void 0,void 0),pS="function"==typeof atob,fS="function"==typeof Buffer,hS="function"==typeof TextDecoder?new TextDecoder:void 0,gS=("function"==typeof TextEncoder&&new TextEncoder,Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")),mS=(n=>{let e={};return gS.forEach(((n,t)=>e[n]=t)),e})(),vS=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,yS=String.fromCharCode.bind(String),bS="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):n=>new Uint8Array(Array.prototype.slice.call(n,0)),CS=n=>n.replace(/[^A-Za-z0-9\+\/]/g,""),xS=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,SS=n=>{switch(n.length){case 4:var e=((7&n.charCodeAt(0))<<18|(63&n.charCodeAt(1))<<12|(63&n.charCodeAt(2))<<6|63&n.charCodeAt(3))-65536;return yS(55296+(e>>>10))+yS(56320+(1023&e));case 3:return yS((15&n.charCodeAt(0))<<12|(63&n.charCodeAt(1))<<6|63&n.charCodeAt(2));default:return yS((31&n.charCodeAt(0))<<6|63&n.charCodeAt(1))}},IS=pS?n=>atob(CS(n)):fS?n=>Buffer.from(n,"base64").toString("binary"):n=>{if(n=n.replace(/\s+/g,""),!vS.test(n))throw new TypeError("malformed base64.");n+="==".slice(2-(3&n.length));let e,t,r,o="";for(let i=0;i<n.length;)e=mS[n.charAt(i++)]<<18|mS[n.charAt(i++)]<<12|(t=mS[n.charAt(i++)])<<6|(r=mS[n.charAt(i++)]),o+=64===t?yS(e>>16&255):64===r?yS(e>>16&255,e>>8&255):yS(e>>16&255,e>>8&255,255&e);return o},wS=fS?n=>bS(Buffer.from(n,"base64")):n=>bS(IS(n).split("").map((n=>n.charCodeAt(0)))),kS=fS?n=>Buffer.from(n,"base64").toString("utf8"):hS?n=>hS.decode(wS(n)):n=>(n=>n.replace(xS,SS))(IS(n)),TS=n=>kS((n=>CS(n.replace(/[-_]/g,(n=>"-"==n?"+":"/"))))(n));var HS={};!function(n){var e=Object.prototype.hasOwnProperty,t="~";function r(){}function o(n,e,t){this.fn=n,this.context=e,this.once=t||!1}function i(n,e,r,i,l){if("function"!=typeof r)throw new TypeError("The listener must be a function");var a=new o(r,i||n,l),d=t?t+e:e;return n._events[d]?n._events[d].fn?n._events[d]=[n._events[d],a]:n._events[d].push(a):(n._events[d]=a,n._eventsCount++),n}function l(n,e){0==--n._eventsCount?n._events=new r:delete n._events[e]}function a(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(t=!1)),a.prototype.eventNames=function(){var n,r,o=[];if(0===this._eventsCount)return o;for(r in n=this._events)e.call(n,r)&&o.push(t?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(n)):o},a.prototype.listeners=function(n){var e=t?t+n:n,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,l=new Array(i);o<i;o++)l[o]=r[o].fn;return l},a.prototype.listenerCount=function(n){var e=t?t+n:n,r=this._events[e];return r?r.fn?1:r.length:0},a.prototype.emit=function(n,e,r,o,i,l){var a=t?t+n:n;if(!this._events[a])return!1;var d,s,u=this._events[a],c=arguments.length;if(u.fn){switch(u.once&&this.removeListener(n,u.fn,void 0,!0),c){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,r),!0;case 4:return u.fn.call(u.context,e,r,o),!0;case 5:return u.fn.call(u.context,e,r,o,i),!0;case 6:return u.fn.call(u.context,e,r,o,i,l),!0}for(s=1,d=new Array(c-1);s<c;s++)d[s-1]=arguments[s];u.fn.apply(u.context,d)}else{var p,f=u.length;for(s=0;s<f;s++)switch(u[s].once&&this.removeListener(n,u[s].fn,void 0,!0),c){case 1:u[s].fn.call(u[s].context);break;case 2:u[s].fn.call(u[s].context,e);break;case 3:u[s].fn.call(u[s].context,e,r);break;case 4:u[s].fn.call(u[s].context,e,r,o);break;default:if(!d)for(p=1,d=new Array(c-1);p<c;p++)d[p-1]=arguments[p];u[s].fn.apply(u[s].context,d)}}return!0},a.prototype.on=function(n,e,t){return i(this,n,e,t,!1)},a.prototype.once=function(n,e,t){return i(this,n,e,t,!0)},a.prototype.removeListener=function(n,e,r,o){var i=t?t+n:n;if(!this._events[i])return this;if(!e)return l(this,i),this;var a=this._events[i];if(a.fn)a.fn!==e||o&&!a.once||r&&a.context!==r||l(this,i);else{for(var d=0,s=[],u=a.length;d<u;d++)(a[d].fn!==e||o&&!a[d].once||r&&a[d].context!==r)&&s.push(a[d]);s.length?this._events[i]=1===s.length?s[0]:s:l(this,i)}return this},a.prototype.removeAllListeners=function(n){var e;return n?(e=t?t+n:n,this._events[e]&&l(this,e)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=t,a.EventEmitter=a,n.exports=a}({get exports(){return HS},set exports(n){HS=n}});var BS=HS;let WS;!function(){if("browser"!=("undefined"!=typeof window&&void 0!==window.document?"browser":"nodejs"))return null;let n=TS("CgoKdmFyIHQ9InVuZGVmaW5lZCIhPXR5cGVvZiBnbG9iYWxUaGlzP2dsb2JhbFRoaXM6InVuZGVmaW5lZCIhPXR5cGVvZiB3aW5kb3c/d2luZG93OiJ1bmRlZmluZWQiIT10eXBlb2YgZ2xvYmFsP2dsb2JhbDoidW5kZWZpbmVkIiE9dHlwZW9mIHNlbGY/c2VsZjp7fTtmdW5jdGlvbiByKHQpe3JldHVybiB0JiZ0Ll9fZXNNb2R1bGUmJk9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbCh0LCJkZWZhdWx0Iik/dC5kZWZhdWx0OnR9dmFyIGU9QXJyYXkuaXNBcnJheSxuPSJvYmplY3QiPT10eXBlb2YgdCYmdCYmdC5PYmplY3Q9PT1PYmplY3QmJnQsbz1uLHU9Im9iamVjdCI9PXR5cGVvZiBzZWxmJiZzZWxmJiZzZWxmLk9iamVjdD09PU9iamVjdCYmc2VsZixhPW98fHV8fEZ1bmN0aW9uKCJyZXR1cm4gdGhpcyIpKCksaT1hLlN5bWJvbCxjPWksZj1PYmplY3QucHJvdG90eXBlLGw9Zi5oYXNPd25Qcm9wZXJ0eSx2PWYudG9TdHJpbmcscz1jP2MudG9TdHJpbmdUYWc6dm9pZCAwO3ZhciBwPWZ1bmN0aW9uKHQpe3ZhciByPWwuY2FsbCh0LHMpLGU9dFtzXTt0cnl7dFtzXT12b2lkIDA7dmFyIG49ITB9Y2F0Y2godCl7fXZhciBvPXYuY2FsbCh0KTtyZXR1cm4gbiYmKHI/dFtzXT1lOmRlbGV0ZSB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YSx5aT1MYSxoaT1lLGRpPXplLGppPUhhLGdpPXosX2k9dGksT2k9cG4sd2k9WXUsbWk9IltvYmplY3QgQXJndW1lbnRzXSIsQWk9IltvYmplY3QgRnVuY3Rpb25dIixTaT0iW29iamVjdCBPYmplY3RdIix4aT17fTt4aVttaV09eGlbIltvYmplY3QgQXJyYXldIl09eGlbIltvYmplY3QgQXJyYXlCdWZmZXJdIl09eGlbIltvYmplY3QgRGF0YVZpZXddIl09eGlbIltvYmplY3QgQm9vbGVhbl0iXT14aVsiW29iamVjdCBEYXRlXSJdPXhpWyJbb2JqZWN0IEZsb2F0MzJBcnJheV0iXT14aVsiW29iamVjdCBGbG9hdDY0QXJyYXldIl09eGlbIltvYmplY3QgSW50OEFycmF5XSJdPXhpWyJbb2JqZWN0IEludDE2QXJyYXldIl09eGlbIltvYmplY3QgSW50MzJBcnJheV0iXT14aVsiW29iamVjdCBNYXBdIl09eGlbIltvYmplY3QgTnVtYmVyXSJdPXhpW1NpXT14aVsiW29iamVjdCBSZWdFeHBdIl09eGlbIltvYmplY3QgU2V0XSJdPXhpWyJbb2JqZWN0IFN0cmluZ10iXT14aVsiW29iamVjdCBTeW1ib2xdIl09eGlbIltvYmplY3QgVWludDhBcnJheV0iXT14aVsiW29iamVjdCBVaW50OENsYW1wZWRBcnJheV0iXT14aVsiW29iamVjdCBVaW50MTZBcnJheV0iXT14aVsiW29iamVjdCBVaW50MzJBcnJheV0iXT0hMCx4aVsiW29iamVjdCBFcnJvcl0iXT14aVtBaV09eGlbIltvYmplY3QgV2Vha01hcF0iXT0hMTt2YXIgUGk9ZnVuY3Rpb24gdChyLGUsbixvLHUsYSl7dmFyIGksYz0xJmUsZj0yJmUsbD00JmU7aWYobiYmKGk9dT9uKHIsbyx1LGEpOm4ocikpLHZvaWQgMCE9PWkpcmV0dXJuIGk7aWYoIWdpKHIpKXJldHVybiByO3ZhciB2PWhpKHIpO2lmKHYpe2lmKGk9cGkociksIWMpcmV0dXJuIGlpKHIsaSl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vaW5pdAogICAgbGV0IHIKICAgIAogICAgICAgIHIgPSB7CiAgICAgICAgICAgIG1haW46IGNvbnZlcnRUb1RyZWVXawogICAgICAgIH0KICAgICAgICAKCiAgICAvL29uCiAgICAKCiAgICAvL3NhdmUKICAgIGluc3RhbmNlID0gcgoKfQoKZnVuY3Rpb24gc2VuZE1lc3NhZ2UoZGF0YSkgewogICAgCiAgICAgICAgc2VsZi5wb3N0TWVzc2FnZShkYXRhKQogICAgICAgIAp9Cgphc3luYyBmdW5jdGlvbiBydW4oZGF0YSkgewogICAgLy8gY29uc29sZS5sb2coJ2lubmVyIHdvcmtlciBydW4nLGRhdGEpCgogICAgLy9tb2RlCiAgICBsZXQgbW9kZSA9IGRhdGEubW9kZQoKICAgIC8vY2hlY2sKICAgIGlmKG1vZGUgIT09ICdpbml0JyAmJiBtb2RlICE9PSAnY2FsbCcpewogICAgICAgIHJldHVybgogICAgfQoKICAgIC8vaW5pdAogICAgaWYobW9kZSA9PT0gJ2luaXQnKXsKICAgICAgICAKICAgICAgICB0cnl7CgogICAgICAgICAgICAvL3R5cGUKICAgICAgICAgICAgbGV0IHR5cGUgPSBkYXRhLnR5cGUKCiAgICAgICAgICAgIC8vaW5wdXQKICAgICAgICAgICAgbGV0IGlucHV0ID0gZGF0YS5pbnB1dAogICAgCiAgICAgICAgICAgIC8vaW5zdGFuY2UKICAgICAgICAgICAgaWYodHlwZSA9PT0gJ2Z1bmN0aW9uJyl7CiAgICAgICAgICAgICAgICBpbml0KC4uLmlucHV0KQogICAgICAgICAgICB9CiAgICAgICAgICAgIGVsc2UgaWYodHlwZSA9PT0gJ29iamVjdCcpewogICAgICAgICAgICAgICAgaW5zdGFuY2UgPSBjb252ZXJ0VG9UcmVlV2sKICAgICAgICAgICAgfQoKICAgICAgICB9CiAgICAgICAgY2F0Y2goZXJyKXsKICAgICAgICAKICAgICAgICAgICAgLy9zZW5kTWVzc2FnZQogICAgICAgICAgICBsZXQgcmVzID0gewogICAgICAgICAgICAgICAgbW9kZTogJ2VtaXQnLAogICAgICAgICAgICAgICAgZXZOYW1lOiAnZXJyb3InLAogICAgICAgICAgICAgICAgbXNnOiBlcnIsCiAgICAgICAgICAgIH0KICAgICAgICAgICAgc2VuZE1lc3NhZ2UocmVzKQoKICAgICAgICB9CiAgICAgICAgICAgIAogICAgfQoKICAgIC8vY2hlY2sKICAgIGlmKG1vZGUgPT09ICdjYWxsJyl7CiAgICAgICAgbGV0IHN0YXRlID0gJycKICAgICAgICBsZXQgbXNnID0gbnVsbAoKICAgICAgICB0cnl7CgogICAgICAgICAgICAvL2Z1bgogICAgICAgICAgICBsZXQgZnVuID0gaW5zdGFuY2VbZGF0YS5mdW5dCgogICAgICAgICAgICAvL2lucHV0CiAgICAgICAgICAgIGxldCBpbnB1dCA9IGRhdGEuaW5wdXQKCiAgICAgICAgICAgIC8vZXhlYwogICAgICAgICAgICBhd2FpdCBmdW4oLi4uaW5wdXQpCiAgICAgICAgICAgICAgICAudGhlbigoc3VjKSA9PiB7CiAgICAgICAgICAgICAgICAgICAgc3RhdGU9J3N1Y2Nlc3MnCiAgICAgICAgICAgICAgICAgICAgbXNnPXN1YwogICAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgICAgIC5jYXRjaCgoZXJyKSA9PiB7CiAgICAgICAgICAgICAgICAgICAgc3RhdGU9J2Vycm9yJwogICAgICAgICAgICAgICAgICAgIG1zZz1lcnIKICAgICAgICAgICAgICAgIH0pCgogICAgICAgIH0KICAgICAgICBjYXRjaChlcnIpewogICAgICAgICAgICBzdGF0ZSA9ICdlcnJvcicKICAgICAgICAgICAgbXNnID0gZXJyCiAgICAgICAgfQogICAgICAgIAogICAgICAgIC8vc2VuZE1lc3NhZ2UKICAgICAgICBsZXQgcmVzID0gewogICAgICAgICAgICBtb2RlOiAncmV0dXJuJywKICAgICAgICAgICAgaWQ6IGRhdGEuaWQsCiAgICAgICAgICAgIGZ1bjogZGF0YS5mdW4sCiAgICAgICAgICAgIHN0YXRlLAogICAgICAgICAgICBtc2csCiAgICAgICAgfQogICAgICAgIHNlbmRNZXNzYWdlKHJlcykKCiAgICB9Cgp9CgpmdW5jdGlvbiByZWN2TWVzc2FnZShkYXRhKSB7CiAgICAvLyBjb25zb2xlLmxvZygnaW5uZXIgd29ya2VyIHJlY3Y6JywgZGF0YSkKCiAgICAvL2RhdGFSZWN2CiAgICBsZXQgZGF0YVJlY3YgPSBkYXRhCgogICAgLy9ydW4KICAgIHJ1bihkYXRhUmVjdikKCn0KCgogICAgICAgIHNlbGYub25tZXNzYWdlID0gZnVuY3Rpb24gKGUpIHsKICAgICAgICAgICAgcmVjdk1lc3NhZ2UoZS5kYXRhKQogICAgICAgIH0KICAgICAgICAKCg==");function e(){let e=new BS,t=function(n){try{let e=new Blob([n]),t=window.URL||window.webkitURL;return new Worker(t.createObjectURL(e))}catch(n){o(n)}}(n);if(!t)return o("invalid worker"),null;function r(){let n=function(){let n,e,t=new Promise((function(){n=arguments[0],e=arguments[1]}));return t.resolve=n,t.reject=e,t}(),r=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,e=[],t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=t.length;for(let o=0;o<n;o++)e[o]=t[0|Math.random()*r];return e.join("")}(),o={mode:"call",id:r,fun:"main",input:[...arguments]};return t.postMessage(o),e.once(r,(e=>{"success"===e.state?n.resolve(e.msg):n.reject(e.msg)})),n}function o(n){e.emit("error",n)}return t.onmessage=function(n){!function(n){let t=n,r=t.mode;"emit"!==r&&"return"!==r||("emit"===r&&e.emit(t.evName,t.msg),"return"===r&&e.emit(t.id,t))}(n.data)},t.onerror=o,function(){let n={mode:"init",type:"function",input:[...arguments]};t.postMessage(n)}([...arguments]),e.main=r,e.main=r,e.terminate=function(){t?(t.terminate(),t=void 0):o("worker has been terminated")},e}WS=async function(){let n=[...arguments],t=e();return await t.main(...n).finally((()=>{t.terminate()}))}}();var AS=WS,ZS={components:{WTree:vC},props:{data:{type:[Array,Object],default:()=>{}},viewHeightMax:{type:Number,default:400},defaultDisplayLevel:{type:Number,default:null},indent:{type:Number,default:1},iconSize:{type:Number,default:24},iconToggleColor:{type:String,default:"grey"},iconToggleBackgroundColor:{type:String,default:"transparent"},iconToggleBackgroundColorHover:{type:String,default:"rgba(128,128,128,0.15)"},filterKeywords:{type:String,default:""},funFilter:{type:Function,default:null},loadingText:{type:String,default:"Loading..."},noResultsText:{type:String,default:"No results"},searchingText:{type:String,default:"Searching..."},defItemHeight:{type:Number,default:24},itemsPreload:{type:Number,default:5},keyColor:{type:String,default:"grey darken-2"},keyNumbersColor:{type:String,default:"grey lighten-1"},numColor:{type:String,default:"indigo accent-2"},strColor:{type:String,default:"orange accent-2"},bolColor:{type:String,default:"light-green lighten-1"},funColor:{type:String,default:"purple accent-2"},defaultColor:{type:String,default:"grey darken-4"},rippleColor:{type:String,default:"rgba(200,200,200,0.4)"},show:{type:Boolean,default:!0}},data:function(){return{lockFromSetData:!1,useColors:{},root:"___root___",lineNumberWidth:0}},watch:{data:{immediate:!0,deep:!0,handler(n){this.setData(n)}}},computed:{changeColors:function(){return this.convertColors(),""},useItemHeightMin:function(){return`min-height:${Math.max(this.iconSize,this.defItemHeight)}px;`}},methods:{convertColors:function(){let n=this;if(Ws(n.useColors))return;let e={numColor:Id(n.numColor),strColor:Id(n.strColor),bolColor:Id(n.bolColor),funColor:Id(n.funColor),defaultColor:Id(n.defaultColor),keyColor:Id(n.keyColor),keyNumbersColor:Id(n.keyNumbersColor)};n.useColors=e},parseData:async function(n){return await AS(n,{bindRoot:this.root})},setData:function(n){let e=this;(async function(){if(e.lockFromSetData=!0,!vi(n)&&!Gi(n)){return"data is not an array or object"}e.convertColors(),n=np(n);let t=await e.parseData(n);await ll((()=>void 0!==e.$refs.wt),{timeInterval:20}),e.$refs.wt&&await e.$refs.wt.setData(t),e.getLineNumberWidth()})().catch((n=>{console.log(n)})).finally((()=>{e.lockFromSetData=!1}))},getLineNumberWidth:function(){let n=this;(async function(){if(await ll((()=>void 0!==n.$refs.wt),{timeInterval:20}),!n.$refs.wt)return;let e=n.$refs.wt.getRows(),t=xd(e),r=8*(Math.ceil(Math.log10(t))+.5);n.lineNumberWidth=r})().catch((n=>{console.log(n)}))},genBlock:function(n){let e="";return"object"===n.type?e=`{${n.numOfChilren}}`:"array"===n.type&&(e=`[${n.numOfChilren}]`),e},getKey:function(n){let e="";return(Ji(n.key)||Pd(n.key))&&(e=n.key),e===this.root&&(e=""),e},getType:function(n){let e="";return"node"!==n.type&&(e=n.type),e},getText:function(n){let e="";return"node"===n.type&&(e=n.text),e},getTextTypeColor:function(n){let e=this,t=e.useColors.defaultColor;if("node"===n.type){let r="";Pd(n.text)?r="numColor":yi(n.text)?r="strColor":Vp(n.text)?r="bolColor":bi(n.text)&&(r="funColor"),Zs(e.useColors,r)&&(t=e.useColors[r])}return t},toggleItemsByFun:function(n){return this.$refs.wt.toggleItemsByFun(n)},toggleItemsAll:function(n){return this.$refs.wt.toggleItemsAll(n)}}};const XS=ZS;var VS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[t("WTree",{ref:"wt",attrs:{viewHeightMax:n.viewHeightMax,defaultDisplayLevel:n.defaultDisplayLevel,indent:n.indent,iconSize:n.iconSize,iconToggleColor:n.iconToggleColor,iconToggleBackgroundColor:n.iconToggleBackgroundColor,iconToggleBackgroundColorHover:n.iconToggleBackgroundColorHover,itemRippleColor:n.rippleColor,filterKeywords:n.filterKeywords,funFilter:n.funFilter,loadingText:n.loadingText,noResultsText:n.lockFromSetData?"":n.noResultsText,searchingText:n.searchingText,defItemHeight:n.defItemHeight,itemsPreload:n.itemsPreload,show:n.show},on:{"change-view-items":function(e){n.$emit("change-view-items",e)},"change-height-of-items":function(e){n.$emit("change-height-of-items",e)}},scopedSlots:n._u([{key:"head",fn:function(e){return[t("div",{style:n.useItemHeightMin+" min-width:"+n.lineNumberWidth+"px; display:flex; align-items:center; justify-content:end;"},[t("div",{style:"font-size:0.8rem; padding-top:1px; color:#f26; user-select:none;"},[n._v(n._s(e.index+1))])])]}},{key:"item",fn:function(e){return[t("div",{style:n.useItemHeightMin+" display:flex; align-items:center;"},[t("div",{staticStyle:{display:"flex"}},[""!==n.getKey(e.data)?t("div",{style:"padding-right:5px; color:"+n.useColors.keyColor+";"},[n._v("\n "+n._s(n.getKey(e.data))+":\n ")]):n._e(),n._v(" "),""!==n.getType(e.data)?t("div",{style:"padding-right:3px; color:"+n.useColors.keyColor+";"},[n._v("\n "+n._s(n.getType(e.data))+"\n ")]):n._e(),n._v(" "),t("div",{style:"color:"+n.getTextTypeColor(e.data)+";"},[n._v("\n "+n._s(n.getText(e.data))+"\n ")])]),n._v(" "),t("div",{style:"padding-left:5px; color:"+n.useColors.keyNumbersColor+";"},[n._v("\n "+n._s(n.genBlock(e.data))+"\n ")])])]}}])}),n._v(" "),n.lockFromSetData?t("div",{staticStyle:{padding:"12px","font-size":"0.8rem"}},[n._v("\n "+n._s(n.loadingText)+"\n ")]):n._e()],1)};VS._withStripped=!0;const PS=t({render:VS,staticRenderFns:[]},(function(n){n&&n("data-v-cd186c56_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WJsonView.vue"},media:void 0})}),XS,"data-v-cd186c56",false,undefined,!1,o,void 0,void 0);const FS={components:{WIconLoading:Td},props:{pathItems:{type:Array,default:()=>["https://cdn.jsdelivr.net/npm/w-leaflet-vue@1.0.44/dist/w-leaflet-vue.umd.js"]},opt:{type:Object,default:()=>{}}},data:function(){return{cmpName:"WIconLoading"}},mounted:function(){let n=this;fl(n.pathItems).then((e=>{if("loaded"!==e){let n=window["w-leaflet-vue"];n.default&&(n=n.default),Bd().component("w-leaflet-vue",n)}n.cmpName="w-leaflet-vue"}))},computed:{},methods:{}};var RS=function(){var n=this,e=n.$createElement;return(n._self._c||e)(n.cmpName,{ref:"$self",tag:"component",attrs:{opt:n.opt}})};RS._withStripped=!0;const LS=t({render:RS,staticRenderFns:[]},(function(n){n&&n("data-v-6c06a2b0_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WLeafletVueDyn.vue"},media:void 0})}),FS,"data-v-6c06a2b0",false,undefined,!1,o,void 0,void 0);var zS={directives:{domresize:lp()},components:{WCheckbox:mm,WText:jb,WListVertical:lC},props:{multiCheck:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},value:{type:[Array,String,Object],default:null},keyText:{type:String,default:"text"},keyIcon:{type:String,default:"icon"},keyPickForObjItem:{type:String,default:""},paddingStyle:{type:Object,default:()=>({v:6,h:8})},spaceBetweenCheckboxAndContent:{type:Number,default:8},itemTextFontSize:{type:String,default:"1.0rem"},itemBackgroundColor:{type:String,default:"white"},itemBackgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},itemBackgroundColorActive:{type:String,default:"rgba(200,200,200,0.4)"},itemBackgroundColorDisabled:{type:String,default:"white"},itemTextColor:{type:String,default:"#444"},itemTextColorHover:{type:String,default:"#222"},itemTextColorActive:{type:String,default:"#000"},itemTextColorDisabled:{type:String,default:"#444"},itemIconSize:{type:Number,default:18},itemIconColor:{type:String,default:"#444"},itemIconColorHover:{type:String,default:"#222"},itemIconColorActive:{type:String,default:"#000"},itemIconColorDisabled:{type:String,default:"#444"},itemRippleColor:{type:String,default:"rgba(255,255,255,0.4)"},itemDisabledColor:{type:String,default:"transparent"},itemCursorPointer:{type:Boolean,default:!0},itemCheckIconIconSize:{type:Number,default:18},itemCheckIconCheckedIcon:{type:String,default:gp},itemCheckIconCheckedIconColor:{type:String,default:"blue darken-3"},itemCheckIconCheckedIconColorHover:{type:String,default:"blue darken-2"},itemCheckIconCheckedIconColorActive:{type:String,default:"blue darken-2"},itemCheckIconCheckedIconColorDisabled:{type:String,default:"grey"},itemCheckIconUncheckedIcon:{type:String,default:hp},itemCheckIconUncheckedIconColor:{type:String,default:"blue darken-3"},itemCheckIconUncheckedIconColorHover:{type:String,default:"blue darken-2"},itemCheckIconUncheckedIconColorActive:{type:String,default:"blue darken-2"},itemCheckIconUncheckedIconColorDisabled:{type:String,default:"grey"},enableQuery:{type:Boolean,default:!1},query:{type:String,default:""},queryKeysPickForObjItem:{type:Array,default:()=>["text"]},queryPaddingStyle:{type:Object,default:()=>({v:0,h:0})},queryBorderRadius:{type:Number,default:30},queryShadow:{type:Boolean,default:!1},queryTextFontSize:{type:String,default:"1.0rem"},queryTextColor:{type:String,default:"black"},queryTextAlign:{type:String,default:"left"},queryIcon:{type:String,default:wp},queryIconSize:{type:Number,default:18},queryIconColor:{type:String,default:"blue"},queryIconColorHover:{type:String,default:"blue darken-1"},queryIconColorFocus:{type:String,default:"blue darken-1"},queryIconTooltip:{type:String,default:""},queryIconShiftOuter:{type:Number,default:0},queryIconShiftInner:{type:Number,default:5},queryBackgroundColor:{type:String,default:"transparent"},queryBackgroundColorHover:{type:String,default:"transparent"},queryBackgroundColorFocus:{type:String,default:"transparent"},queryBorderColor:{type:String,default:"transparent"},queryBorderColorHover:{type:String,default:"transparent"},queryBorderColorFocus:{type:String,default:"transparent"},queryBottomLineBorderColor:{type:String,default:"grey lighten-1"},queryBottomLineBorderColorHover:{type:String,default:"grey"},queryBottomLineBorderColorFocus:{type:String,default:"blue darken-1"},queryBottomLineBorderWidth:{type:Number,default:1},queryBottomLineBorderWidthHover:{type:Number,default:1},queryBottomLineBorderWidthFocus:{type:Number,default:2},queryPlaceholder:{type:String,default:"Keywords"},queryHeight:{type:Number,default:28},queryFocused:{type:Boolean,default:!1},queryPanelPaddingStyle:{type:Object,default:()=>({v:10,h:10})},querySepLineColor:{type:String,default:"#ddd"},querySepLineWidth:{type:Number,default:1}},data:function(){return{panelHeight:0,itemsTrans:[],kpCheck:{},queryTrans:"",queryFocusedTrans:!1}},computed:{changeValue:function(){return this.modifyItems(this.value),""},changeQuery:function(){let n=this;return n.queryTrans=n.query,n.queryFocusedTrans=n.queryFocused,""},isObjValue:function(){return 0!==xd(this.items)&&Mb(this.items,(n=>Gi(n)))},useQueryPanelPaddingStyle:function(){return`padding:${ch(this.queryPanelPaddingStyle)};`},effSepLineColor:function(){return Id(this.querySepLineColor)}},methods:{resize:function(n){this.panelHeight=n.snew.offsetHeight},getItem:function(n){let e=this,t=null;return t=e.isObjValue&&Ji(e.keyPickForObjItem)?Vo(n,e.keyPickForObjItem):n,t},getKeyFromItemAndInd:function(n,e){let t=this.getItem(n);return Ws(t)&&(t=JSON.stringify(t),t=nf(t,20)),`${e}|${t}`},getKeyFromItem:function(n){let e=this,t=null;return Jn(e.items,((r,o)=>{if(xm(r,n))return t=e.getKeyFromItemAndInd(n,o),!1})),t},judgeItem:function(n,e){let t=this.getItem(n),r=null;return r=this.multiCheck?BC(e,t):xm(e,t),r},queryFunFilter:function(n,e){let t=this;if(!Ji(t.queryTrans))return!0;let r=null;if(t.isObjValue)if(vh(t.queryKeysPickForObjItem)){let e=[];Jn(t.queryKeysPickForObjItem,(t=>{let r=Vo(n,`data.${t}`);e.push(r)})),r=mi(e,"|")}else r=lv(n);else r=tf(n);r=r.toLowerCase();let o=$p(t.queryTrans.toLowerCase()," "),i=!1;return Jn(o,(n=>{if(r.indexOf(n)>=0)return i=!0,!1})),i},modifyItems:function(n){let e=this,t=null,r={};Jn(e.items,((o,i)=>{let l=e.getKeyFromItemAndInd(o,i),a=e.judgeItem(o,n);r[l]=a,a&&(t=l)})),e.multiCheck||null===t||(Jn(r,((n,e)=>{r[e]=!1})),r[t]=!0);let o=hi(e.items,((n,t)=>{let r=n;e.isObjValue&&(r=Vo(n,e.keyText,""));let o="";e.isObjValue&&(o=Vo(n,e.keyIcon,""));let i=!0;return e.isObjValue&&(i=Vo(n,"editable",!0)),{[e.keyText]:r,[e.keyIcon]:o,editable:i,data:n}}));e.itemsTrans=o,e.kpCheck=r},clickItem:function(n,e){let t=this;if(!t.getEditable(n))return;let r=np(t.kpCheck),o=t.getKeyFromItem(n);t.multiCheck?r[o]=!r[o]:r[e]||(Jn(r,((n,e)=>{r[e]=!1})),r[o]=!0);let i=[];Jn(t.items,((n,e)=>{let o=t.getKeyFromItemAndInd(n,e);if(!r[o])return!0;let l=t.getItem(n);i.push(l)})),t.multiCheck||(i=Vo(i,0,null)),t.kpCheck=r,t.$emit("click",{check:r[o],item:np(t.items[e]),kitem:e}),t.$emit("input",i)},modifyQuery:function(){let n=this;n.modifyItems(n.value),n.$emit("update:query",n.queryTrans)},modifyQueryFocused:function(n){this.$emit("update:queryFocused",n)},getCheck:function(n){let e=this.getKeyFromItem(n);return this.kpCheck[e]},getEditable:function(n){return Vo(n,"editable",!0)}}};const NS=zS;var jS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeValue:n.changeValue,changeQuery:n.changeQuery},on:{domresize:n.resize}},[t("WListVertical",{style:"height:"+n.panelHeight+"px;",attrs:{items:n.itemsTrans,enableActive:!0,_itemActive:"itemActive",keyText:n.keyText,keyIcon:n.keyIcon,paddingStyle:n.paddingStyle,itemTextFontSize:n.itemTextFontSize,itemBackgroundColor:n.itemBackgroundColor,itemBackgroundColorHover:n.itemBackgroundColorHover,itemBackgroundColorActive:n.itemBackgroundColorActive,itemBackgroundColorDisabled:n.itemBackgroundColorDisabled,itemTextColor:n.itemTextColor,itemTextColorHover:n.itemTextColorHover,itemTextColorActive:n.itemTextColorActive,itemTextColorDisabled:n.itemTextColorDisabled,itemIconSize:n.itemIconSize,itemIconColor:n.itemIconColor,itemIconColorHover:n.itemIconColorHover,itemIconColorActive:n.itemIconColorActive,itemIconColorDisabled:n.itemIconColorDisabled,itemRippleColor:n.itemRippleColor,itemDisabledColor:n.itemDisabledColor,itemCursorPointer:n.itemCursorPointer,query:n.queryTrans,funFilter:n.queryFunFilter},on:{click:function(e,t){n.clickItem(e.data,t)}},scopedSlots:n._u([{key:"header",fn:function(){return[n._t("header"),n._v(" "),n.enableQuery?[t("div",{style:""+n.useQueryPanelPaddingStyle},[t("WText",{attrs:{paddingStyle:n.queryPaddingStyle,borderRadius:n.queryBorderRadius,shadow:n.queryShadow,textFontSize:n.queryTextFontSize,textColor:n.queryTextColor,textAlign:n.queryTextAlign,leftIcon:n.queryIcon,leftIconSize:n.queryIconSize,leftIconColor:n.queryIconColor,leftIconColorHover:n.queryIconColorHover,leftIconColorFocus:n.queryIconColorFocus,leftIconTooltip:n.queryIconTooltip,_rightIcon:"queryRightIcon",_rightIconSize:"queryRightIconSize",_rightIconColor:"queryRightIconColor",_rightIconColorHover:"queryRightIconColorHover",_rightIconColorFocus:"queryRightIconColorFocus",_rightIconTooltip:"queryRightIconTooltip",iconShiftOuter:n.queryIconShiftOuter,iconShiftInner:n.queryIconShiftInner,backgroundColor:n.queryBackgroundColor,backgroundColorHover:n.queryBackgroundColorHover,backgroundColorFocus:n.queryBackgroundColorFocus,borderColor:n.queryBorderColor,borderColorHover:n.queryBorderColorHover,borderColorFocus:n.queryBorderColorFocus,bottomLineBorderColor:n.queryBottomLineBorderColor,bottomLineBorderColorHover:n.queryBottomLineBorderColorHover,bottomLineBorderColorFocus:n.queryBottomLineBorderColorFocus,bottomLineBorderWidth:n.queryBottomLineBorderWidth,bottomLineBorderWidthHover:n.queryBottomLineBorderWidthHover,bottomLineBorderWidthFocus:n.queryBottomLineBorderWidthFocus,placeholder:n.queryPlaceholder,height:n.queryHeight,focused:n.queryFocused,editable:!0},on:{enter:n.modifyQuery,change:n.modifyQuery,input:n.modifyQuery,"update:focused":n.modifyQueryFocused},model:{value:n.queryTrans,callback:function(e){n.queryTrans=e},expression:"queryTrans"}})],1),n._v(" "),t("div",{style:"border-top:"+n.querySepLineWidth+"px solid "+n.effSepLineColor+";"})]:n._e()]},proxy:!0},{key:"item-left",fn:function(e){return[t("WCheckbox",{attrs:{iconSize:n.itemCheckIconIconSize,checkedIcon:n.itemCheckIconCheckedIcon,checkedIconColor:e.isActive?n.itemCheckIconCheckedIconColorActive:e.isHover?n.itemCheckIconCheckedIconColorHover:n.itemCheckIconCheckedIconColor,checkedIconColorHover:e.isActive?n.itemCheckIconCheckedIconColorActive:n.itemCheckIconCheckedIconColorHover,checkedIconColorDisabled:n.itemCheckIconCheckedIconColorDisabled,uncheckedIcon:n.itemCheckIconUncheckedIcon,uncheckedIconColor:e.isActive?n.itemCheckIconUncheckedIconColorActive:e.isHover?n.itemCheckIconUncheckedIconColorHover:n.itemCheckIconUncheckedIconColor,uncheckedIconColorHover:e.isActive?n.itemCheckIconUncheckedIconColorActive:n.itemCheckIconUncheckedIconColorHover,uncheckedIconColorDisabled:n.itemCheckIconUncheckedIconColorDisabled,editable:n.getEditable(e.item.data),value:n.getCheck(e.item.data)}}),n._v(" "),t("div",{style:"padding-right:"+n.spaceBetweenCheckboxAndContent+"px;"})]}},{key:"item-content",fn:function(e){return[n._t("item-content",null,{item:e.item.data,kitem:e.kitem,isHover:e.isHover,isActive:e.isActive})]}},{key:"footer",fn:function(){return[n._t("footer")]},proxy:!0}],null,!0)})],1)};jS._withStripped=!0;const YS=t({render:jS,staticRenderFns:[]},(function(n){n&&n("data-v-35ddffd2_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\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n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WListCheck.vue"},media:void 0})}),NS,"data-v-35ddffd2",false,undefined,!1,o,void 0,void 0);var GS={directives:{domripple:hh()},components:{WIcon:Ch},props:{text:{type:String,default:""},textFontSize:{type:String,default:"1rem"},active:{type:Boolean,default:!1},paddingStyle:{type:Object,default:()=>({v:10,h:12})},backgroundColor:{type:String,default:"white"},backgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},backgroundColorActive:{type:String,default:"orange lighten-1"},textColor:{type:String,default:"#444"},textColorHover:{type:String,default:"#222"},textColorActive:{type:String,default:"white"},icon:{type:String,default:""},iconSize:{type:Number,default:22},iconColor:{type:String,default:"#444"},iconColorHover:{type:String,default:"#222"},iconColorActive:{type:String,default:"white"},expansionIcon:{type:String,default:Hp},expansionIconSize:{type:Number,default:18},expansionIconColor:{type:String,default:"#aaa"},expansionIconColorHover:{type:String,default:"#888"},expansionIconColorActive:{type:String,default:"rgba(255,255,255,0.8)"},rippleColor:{type:String,default:"rgba(255,255,255,0.4)"}},data:function(){return{obstructMutation:!1,mouseEnter:!1,heightContent:""}},computed:{changeActive:function(){return this.updateHeightContent(this.active),""},useTextFontSize:function(){let n=this.textFontSize;return n=As(n,";",""),`font-size:${n};`},hasIcon:function(){return""!==this.icon},usePadding:function(){let n=this;return`padding:${ch(n.paddingStyle,{ext:{left:n.shiftLeft,right:n.shiftRight}})};`},effBackgroundColor:function(){return Id(this.backgroundColor)},effBackgroundColorHover:function(){return Id(this.backgroundColorHover)},effBackgroundActive:function(){return Id(this.backgroundColorActive)},useBackgroundColor:function(){let n=this;return n.active?n.effBackgroundActive:n.mouseEnter?n.effBackgroundColorHover:n.effBackgroundColor},effTextColor:function(){return Id(this.textColor)},effTextColorHover:function(){return Id(this.textColorHover)},effTextActive:function(){return Id(this.textColorActive)},useTextColor:function(){let n=this;return n.active?n.effTextActive:n.mouseEnter?n.effTextColorHover:n.effTextColor},effIconColor:function(){return Id(this.iconColor)},effIconColorHover:function(){return Id(this.iconColorHover)},effIconActive:function(){return Id(this.iconColorActive)},useIconColor:function(){let n=this;return n.active?n.effIconActive:n.mouseEnter?n.effIconColorHover:n.effIconColor},effExpansionIconColor:function(){return Id(this.expansionIconColor)},effExpansionIconColorHover:function(){return Id(this.expansionIconColorHover)},effExpansionIconColorActive:function(){return Id(this.expansionIconColorActive)},useExpansionIconColor:function(){let n=this;return n.active?n.effExpansionIconColorActive:n.mouseEnter?n.effExpansionIconColorHover:n.effExpansionIconColor},useRotateDeg:function(){return this.active?180:0}},methods:{updateHeightContent:function(){let n=this;(async function(){for(let e=1;e<=5;e++)setTimeout((()=>{n.obstructMutation=!n.obstructMutation}),100*e);if(n.active){if(n.active){n.$el||await ll((()=>void 0!==n.$el),{timeInterval:10});let e=Vo(n,"$refs.rct.clientHeight");Pd(e)&&(n.heightContent=`height:${e}px;`)}}else n.heightContent=""})().catch((n=>{console.log(n)}))},getIcon:function(n){return Vo(n,"icon","")},getText:function(n){if(""===Vo(n,"text",""))return n},clickItem:function(n,e){let t=this;return t.$emit("update:active",!t.active),t.$emit("click",{icon:n,text:e}),""}}};const KS=GS;var DS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{attrs:{changeActive:n.changeActive}},[t("div",{directives:[{name:"domripple",rawName:"v-domripple",value:{color:n.rippleColor},expression:"{color:rippleColor}"}],style:"transition:all 0.3s; "+n.usePadding+" background:"+n.useBackgroundColor+"; cursor:pointer;",on:{mouseenter:function(e){n.mouseEnter=!0},mouseleave:function(e){n.mouseEnter=!1},click:function(e){return n.clickItem(n.icon,n.text)}}},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{"margin-right":"4px"}},[t("div",{style:"transition:all 0.3s; transform:rotate("+(n.useRotateDeg+90)+"deg); cursor:pointer;"},[t("WIcon",{attrs:{icon:n.expansionIcon,color:n.useExpansionIconColor,colorHover:n.useExpansionIconColor,size:n.expansionIconSize}})],1)]),n._v(" "),n._t("header",(function(){return[n.hasIcon?t("WIcon",{staticStyle:{"margin-right":"8px"},attrs:{icon:n.icon,color:n.useIconColor,colorHover:n.useIconColor,size:n.iconSize}}):n._e(),n._v(" "),t("div",{style:"transition:all 0.3s; color:"+n.useTextColor+"; "+n.useTextFontSize},[n._v("\n "+n._s(n.text)+"\n ")])]}),{isHover:n.mouseEnter,isActive:n.active})],2)]),n._v(" "),t("div",{class:"ct "+(n.active?"ct-show":"ct-hide"),style:""+n.heightContent},[t("div",{ref:"rct"},[n._t("content",null,{isHover:n.mouseEnter,isActive:n.active})],2)]),n._v(" "),t("div",{staticStyle:{position:"relative",height:"0px",overflow:"hidden"}},[n.obstructMutation?t("div",{staticStyle:{position:"absolute",left:"0px",top:"0px",height:"0px"}}):n._e()])])};DS._withStripped=!0;const OS=t({render:DS,staticRenderFns:[]},(function(n){n&&n("data-v-6d28cb24_0",{source:"\n.ct[data-v-6d28cb24] {\r\n transition: height 0.5s, opacity 0.5s ease-out;\n}\n.ct-hide[data-v-6d28cb24] {\r\n overflow: hidden;\r\n height: 0px;\r\n opacity: 0;\n}\n.ct-show[data-v-6d28cb24] {\r\n opacity: 1;\n}\r\n",map:{version:3,sources:["D:\\- 006 - 開源\\開源-JS-104-2-w-component-vue\\w-component-vue\\src\\components\\WListExpandItem.vue"],names:[],mappings:";AAicA;IACA,8CAAA;AACA;AACA;IACA,gBAAA;IACA,WAAA;IACA,UAAA;AACA;AACA;IACA,UAAA;AACA",file:"WListExpandItem.vue",sourcesContent:["<template>\r\n <div\r\n :changeActive=\"changeActive\"\r\n >\r\n\r\n \x3c!-- header --\x3e\r\n <div\r\n :style=\"`transition:all 0.3s; ${usePadding} background:${useBackgroundColor}; cursor:pointer;`\"\r\n v-domripple=\"{color:rippleColor}\"\r\n @mouseenter=\"mouseEnter=true\"\r\n @mouseleave=\"mouseEnter=false\"\r\n @click=\"clickItem(icon,text)\"\r\n >\r\n <div style=\"display:flex; align-items:center;\">\r\n\r\n <div style=\"margin-right:4px;\">\r\n <div :style=\"`transition:all 0.3s; transform:rotate(${useRotateDeg+90}deg); cursor:pointer;`\">\r\n <WIcon\r\n :icon=\"expansionIcon\"\r\n :color=\"useExpansionIconColor\"\r\n :colorHover=\"useExpansionIconColor\"\r\n :size=\"expansionIconSize\"\r\n ></WIcon>\r\n </div>\r\n </div>\r\n\r\n <slot\r\n name=\"header\"\r\n :isHover=\"mouseEnter\"\r\n :isActive=\"active\"\r\n >\r\n\r\n <WIcon\r\n style=\"margin-right:8px;\"\r\n :icon=\"icon\"\r\n :color=\"useIconColor\"\r\n :colorHover=\"useIconColor\"\r\n :size=\"iconSize\"\r\n v-if=\"hasIcon\"\r\n ></WIcon>\r\n\r\n <div :style=\"`transition:all 0.3s; color:${useTextColor}; ${useTextFontSize}`\">\r\n {{text}}\r\n </div>\r\n\r\n </slot>\r\n\r\n </div>\r\n </div>\r\n\r\n \x3c!-- content --\x3e\r\n <div :class=\"`ct ${active?'ct-show':'ct-hide'}`\" :style=\"`${heightContent}`\">\r\n <div ref=\"rct\">\r\n\r\n <slot\r\n name=\"content\"\r\n :isHover=\"mouseEnter\"\r\n :isActive=\"active\"\r\n >\r\n </slot>\r\n\r\n </div>\r\n </div>\r\n\r\n <div style=\"position:relative; height:0px; overflow:hidden;\">\r\n <div style=\"position:absolute; left:0px; top:0px; height:0px;\" v-if=\"obstructMutation\">\r\n </div>\r\n </div>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { mdiPlay } from '@mdi/js'\r\nimport get from 'lodash/get'\r\nimport isNumber from 'lodash/isNumber'\r\nimport replace from 'wsemi/src/replace.mjs'\r\nimport waitFun from 'wsemi/src/waitFun.mjs'\r\nimport domRipple from '../js/domRipple.mjs'\r\nimport color2hex from '../js/vuetifyColor.mjs'\r\nimport parseSpace from '../js/parseSpace.mjs'\r\nimport WIcon from './WIcon.vue'\r\n\r\n\r\n/**\r\n * @vue-prop {String} [text=''] 輸入文字字串,預設''\r\n * @vue-prop {String} [textFontSize='1rem'] 輸入文字字型大小字串,預設'1rem'\r\n * @vue-prop {Boolean} [active=false] 輸入是否為主動模式布林值,預設false\r\n * @vue-prop {Object} [paddingStyle={v:10,h:12}] 輸入內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:10,h:12}\r\n * @vue-prop {String} [backgroundColor='white'] 輸入背景顏色字串,預設'white'\r\n * @vue-prop {String} [backgroundColorHover='rgba(200,200,200,0.2)'] 輸入滑鼠移入時背景顏色字串,預設'rgba(200,200,200,0.2)'\r\n * @vue-prop {String} [backgroundColorActive='orange lighten-1'] 輸入主動模式時背景顏色字串,預設'orange lighten-1'\r\n * @vue-prop {String} [textColor='#444'] 輸入文字顏色字串,預設'#444'\r\n * @vue-prop {String} [textColorHover='#222'] 輸入滑鼠移入時文字顏色字串,預設'#222'\r\n * @vue-prop {String} [textColorActive='white'] 輸入主動模式時文字顏色字串,預設'white'\r\n * @vue-prop {String} [icon=''] 輸入圖標字串,可為mdi,md,fa代號或mdi/js路徑,預設''\r\n * @vue-prop {Number} [iconSize=22] 輸入左側圖標之尺寸數字,單位px,預設22\r\n * @vue-prop {String} [iconColor='#444'] 輸入圖標顏色字串,預設'#444'\r\n * @vue-prop {String} [iconColorHover='#222'] 輸入滑鼠移入時圖標顏色字串,預設'#222'\r\n * @vue-prop {String} [iconColorActive='white'] 輸入主動模式時圖標顏色字串,預設'white'\r\n * @vue-prop {String} [expansionIcon=mdiPlay] 輸入顯隱圖標字串,可為mdi,md,fa代號或mdi/js路徑,預設使用mdi的圖標(mdiPlay)\r\n * @vue-prop {Number} [expansionIconSize=18] 輸入顯隱圖標尺寸數字,單位為px,預設18\r\n * @vue-prop {String} [expansionIconColor='#aaa'] 輸入顯隱圖標顏色字串,預設'#aaa'\r\n * @vue-prop {String} [expansionIconColorHover='#888'] 輸入滑鼠移入時顯隱圖標顏色字串,預設'#888'\r\n * @vue-prop {String} [expansionIconColorActive='rgba(255,255,255,0.8)'] 輸入主動模式時顯隱圖標顏色字串,預設'rgba(255,255,255,0.8)'\r\n * @vue-prop {String} [rippleColor='rgba(255,255,255,0.4)'] 輸入ripple效果顏色字串,預設'rgba(255,255,255,0.4)'\r\n */\r\nexport default {\r\n directives: {\r\n domripple: domRipple(),\r\n },\r\n components: {\r\n WIcon,\r\n },\r\n props: {\r\n text: {\r\n type: String,\r\n default: '',\r\n },\r\n textFontSize: {\r\n type: String,\r\n default: '1rem',\r\n },\r\n active: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n paddingStyle: {\r\n type: Object,\r\n default: () => {\r\n return {\r\n v: 10,\r\n h: 12,\r\n }\r\n },\r\n },\r\n backgroundColor: {\r\n type: String,\r\n default: 'white',\r\n },\r\n backgroundColorHover: {\r\n type: String,\r\n default: 'rgba(200,200,200,0.2)',\r\n },\r\n backgroundColorActive: {\r\n type: String,\r\n default: 'orange lighten-1',\r\n },\r\n textColor: {\r\n type: String,\r\n default: '#444',\r\n },\r\n textColorHover: {\r\n type: String,\r\n default: '#222',\r\n },\r\n textColorActive: {\r\n type: String,\r\n default: 'white',\r\n },\r\n icon: {\r\n type: String,\r\n default: '',\r\n },\r\n iconSize: {\r\n type: Number,\r\n default: 22,\r\n },\r\n iconColor: {\r\n type: String,\r\n default: '#444',\r\n },\r\n iconColorHover: {\r\n type: String,\r\n default: '#222',\r\n },\r\n iconColorActive: {\r\n type: String,\r\n default: 'white',\r\n },\r\n expansionIcon: {\r\n type: String,\r\n default: mdiPlay,\r\n },\r\n expansionIconSize: {\r\n type: Number,\r\n default: 18,\r\n },\r\n expansionIconColor: {\r\n type: String,\r\n default: '#aaa',\r\n },\r\n expansionIconColorHover: {\r\n type: String,\r\n default: '#888',\r\n },\r\n expansionIconColorActive: {\r\n type: String,\r\n default: 'rgba(255,255,255,0.8)',\r\n },\r\n rippleColor: {\r\n type: String,\r\n default: 'rgba(255,255,255,0.4)',\r\n },\r\n },\r\n data: function() {\r\n return {\r\n obstructMutation: false,\r\n mouseEnter: false,\r\n heightContent: '',\r\n }\r\n },\r\n computed: {\r\n\r\n changeActive: function() {\r\n let vo = this\r\n vo.updateHeightContent(vo.active)\r\n return ''\r\n },\r\n\r\n useTextFontSize: function() {\r\n let vo = this\r\n let s = vo.textFontSize\r\n s = replace(s, ';', '')\r\n return `font-size:${s};`\r\n },\r\n\r\n hasIcon: function() {\r\n let vo = this\r\n return vo.icon !== ''\r\n },\r\n\r\n usePadding: function() {\r\n //console.log('computed usePadding')\r\n\r\n let vo = this\r\n\r\n //parseSpace\r\n let cs = parseSpace(vo.paddingStyle, { ext: { left: vo.shiftLeft, right: vo.shiftRight } })\r\n\r\n //padding\r\n let padding = `padding:${cs};`\r\n\r\n return padding\r\n },\r\n\r\n effBackgroundColor: function() {\r\n let vo = this\r\n return color2hex(vo.backgroundColor)\r\n },\r\n\r\n effBackgroundColorHover: function() {\r\n let vo = this\r\n return color2hex(vo.backgroundColorHover)\r\n },\r\n\r\n effBackgroundActive: function() {\r\n let vo = this\r\n return color2hex(vo.backgroundColorActive)\r\n },\r\n\r\n useBackgroundColor: function() {\r\n let vo = this\r\n if (vo.active) {\r\n return vo.effBackgroundActive\r\n }\r\n return vo.mouseEnter ? vo.effBackgroundColorHover : vo.effBackgroundColor\r\n },\r\n\r\n effTextColor: function() {\r\n let vo = this\r\n return color2hex(vo.textColor)\r\n },\r\n\r\n effTextColorHover: function() {\r\n let vo = this\r\n return color2hex(vo.textColorHover)\r\n },\r\n\r\n effTextActive: function() {\r\n let vo = this\r\n return color2hex(vo.textColorActive)\r\n },\r\n\r\n useTextColor: function() {\r\n let vo = this\r\n if (vo.active) {\r\n return vo.effTextActive\r\n }\r\n return vo.mouseEnter ? vo.effTextColorHover : vo.effTextColor\r\n },\r\n\r\n effIconColor: function() {\r\n let vo = this\r\n return color2hex(vo.iconColor)\r\n },\r\n\r\n effIconColorHover: function() {\r\n let vo = this\r\n return color2hex(vo.iconColorHover)\r\n },\r\n\r\n effIconActive: function() {\r\n let vo = this\r\n return color2hex(vo.iconColorActive)\r\n },\r\n\r\n useIconColor: function() {\r\n let vo = this\r\n if (vo.active) {\r\n return vo.effIconActive\r\n }\r\n return vo.mouseEnter ? vo.effIconColorHover : vo.effIconColor\r\n },\r\n\r\n effExpansionIconColor: function() {\r\n //console.log('computed effExpansionIconColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.expansionIconColor)\r\n },\r\n\r\n effExpansionIconColorHover: function() {\r\n //console.log('computed effExpansionIconColorHover')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.expansionIconColorHover)\r\n },\r\n\r\n effExpansionIconColorActive: function() {\r\n //console.log('computed effExpansionIconColorActive')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.expansionIconColorActive)\r\n },\r\n\r\n useExpansionIconColor: function() {\r\n let vo = this\r\n if (vo.active) {\r\n return vo.effExpansionIconColorActive\r\n }\r\n return vo.mouseEnter ? vo.effExpansionIconColorHover : vo.effExpansionIconColor\r\n },\r\n\r\n useRotateDeg: function() {\r\n //console.log('computed useRotateDeg')\r\n\r\n let vo = this\r\n\r\n return vo.active ? 180 : 0\r\n },\r\n\r\n },\r\n methods: {\r\n\r\n updateHeightContent: function() {\r\n let vo = this\r\n\r\n async function core() {\r\n\r\n //於WPanelScrolly內容區使用顯隱動畫時, 因瀏覽器之內容區高度會先更新完畢, 而transition動畫結束時間較慢, 導致WPanelScrolly內容區無法算得實際高度而導致出現遮蔽情況\r\n //於指定時間(n*s=500ms需與class ct內設定transition時間長度一致)內反覆變更元素顯隱, 藉此刺激WPanelScrolly內mutation事件, 使能進行重算內容區高度\r\n let n = 5\r\n let s = 100\r\n for (let i = 1; i <= n; i++) {\r\n setTimeout(() => {\r\n vo.obstructMutation = !vo.obstructMutation\r\n // console.log('obstructMutation', vo.obstructMutation)\r\n }, i * s)\r\n }\r\n\r\n if (!vo.active) {\r\n //隱藏內容\r\n\r\n //clear\r\n vo.heightContent = ''\r\n\r\n }\r\n else if (vo.active) {\r\n //顯示內容\r\n\r\n if (!vo.$el) {\r\n\r\n //wait $el\r\n await waitFun(() => {\r\n // console.log('waitFun try', vo.text)\r\n return vo.$el !== undefined\r\n }, { timeInterval: 10 })\r\n // console.log('waitFun finish', vo.text)\r\n\r\n }\r\n\r\n //h\r\n let h = get(vo, '$refs.rct.clientHeight')\r\n // console.log(h, vo.text)\r\n\r\n //update\r\n if (isNumber(h)) {\r\n\r\n //heightContent\r\n vo.heightContent = `height:${h}px;`\r\n\r\n }\r\n\r\n }\r\n\r\n }\r\n\r\n //core\r\n core()\r\n .catch((err) => {\r\n console.log(err)\r\n })\r\n\r\n },\r\n\r\n getIcon: function(item) {\r\n return get(item, 'icon', '')\r\n },\r\n\r\n getText: function(item) {\r\n let t = get(item, 'text', '')\r\n if (t === '') {\r\n return item\r\n }\r\n },\r\n\r\n clickItem: function(icon, text) {\r\n // console.log('methods clickItem', icon, text)\r\n\r\n let vo = this\r\n\r\n //emit\r\n vo.$emit('update:active', !vo.active)\r\n\r\n //emit\r\n vo.$emit('click', { icon, text })\r\n\r\n return ''\r\n },\r\n\r\n }\r\n}\r\n<\/script>\r\n\r\n<style scoped>\r\n.ct {\r\n transition: height 0.5s, opacity 0.5s ease-out;\r\n}\r\n.ct-hide {\r\n overflow: hidden;\r\n height: 0px;\r\n opacity: 0;\r\n}\r\n.ct-show {\r\n opacity: 1;\r\n}\r\n</style>\r\n"]},media:void 0})}),KS,"data-v-6d28cb24",false,undefined,!1,o,void 0,void 0);var JS={directives:{domresize:lp()},components:{WPanelScrolly:qb,WListExpandItem:OS},props:{items:{type:Array,default:()=>[]},activeMode:{type:String,default:"one"},itemActive:{type:[String,Object,Array],default:null},itemTextFontSize:{type:String,default:"1rem"},keyText:{type:String,default:"text"},keyIcon:{type:String,default:"icon"},keyDsp:{type:String,default:"dsp"},paddingStyle:{type:Object,default:()=>({v:10,h:12})},itemBackgroundColor:{type:String,default:"white"},itemBackgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},itemBackgroundColorActive:{type:String,default:"orange lighten-1"},itemTextColor:{type:String,default:"#444"},itemTextColorHover:{type:String,default:"#222"},itemTextColorActive:{type:String,default:"white"},itemIconSize:{type:Number,default:22},itemIconColor:{type:String,default:"#444"},itemIconColorHover:{type:String,default:"#222"},itemIconColorActive:{type:String,default:"white"},itemExpansionIcon:{type:String,default:Hp},itemExpansionIconSize:{type:Number,default:18},itemExpansionIconColor:{type:String,default:"grey"},itemRippleColor:{type:String,default:"rgba(255,255,255,0.4)"}},data:function(){return{panelHeight:0,listHeight:0,itemActiveTrans:null}},computed:{changeItemActive:function(){return this.itemActiveTrans=this.itemActive,""},isObjValue:function(){return 0!==xd(this.items)&&Mb(this.items,(n=>Gi(n)))}},methods:{resize:function(n){let e=this;e.panelHeight=n.snew.offsetHeight;let t=0,r=Vo(e,"$refs.refHeader");Os(r)&&(t=r.offsetHeight);let o=0,i=Vo(e,"$refs.refFooter");Os(i)&&(o=i.offsetHeight);let l=e.panelHeight-t-o;l>0&&e.listHeight!==l&&(e.listHeight=l)},getIcon:function(n){let e=this;return e.isObjValue?Vo(n,e.keyIcon,""):""},getText:function(n){let e=this;if(e.isObjValue){return Vo(n,e.keyText,"")}return n},getDsp:function(n){let e=this;if(e.isObjValue){return Vo(n,e.keyDsp,"")}return n},getActive:function(n){let e=this,t=!1;return"one"===e.activeMode?t=xm(n,e.itemActiveTrans):"multi"===e.activeMode&&Jn(e.itemActiveTrans,(e=>{if(t=xm(n,e),t)return!1})),t},updateItemActive:function(n,e,t){let r=this,o=np(r.itemActiveTrans);!n&&e?"one"===r.activeMode?o=t:"multi"===r.activeMode&&o.push(np(t)):n&&!e&&function(){if("one"===r.activeMode)o=null;else if("multi"===r.activeMode){let n=[];Jn(o,(e=>{xm(t,e)||n.push(e)})),o=n}}(),r.itemActiveTrans=o,r.$nextTick((()=>{r.$emit("update:itemActive",np(o))}))},getSlotItem(n,e){let t=null;return t=this.isObjValue?{...n,...e}:{item:n,...e},t},ckItem:function(n){let e=this;e.$nextTick((()=>{e.$emit("click",np(n))}))}}};const ES=JS;var _S=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeItemActive:n.changeItemActive},on:{domresize:n.resize}},[t("div",{style:"height:"+n.panelHeight+"px;"},[t("div",{ref:"refHeader"},[n._t("header")],2),n._v(" "),t("WPanelScrolly",{style:"height:"+n.listHeight+"px;"},n._l(n.items,(function(e,r){return t("div",{key:r},[t("WListExpandItem",{attrs:{icon:n.getIcon(e),text:n.getText(e),textFontSize:n.itemTextFontSize,active:n.getActive(e),paddingStyle:n.paddingStyle,backgroundColor:n.itemBackgroundColor,backgroundColorHover:n.itemBackgroundColorHover,backgroundColorActive:n.itemBackgroundColorActive,textColor:n.itemTextColor,textColorHover:n.itemTextColorHover,textColorActive:n.itemTextColorActive,iconSize:n.itemIconSize,iconColor:n.itemIconColor,iconColorHover:n.itemIconColorHover,iconColorActive:n.itemIconColorActive,expansionIcon:n.itemExpansionIcon,expansionIconSize:n.itemExpansionIconSize,expansionIconColor:n.itemExpansionIconColor,rippleColor:n.itemRippleColor},on:{"update:active":function(t){n.updateItemActive(n.getActive(e),t,e)},click:function(t){return n.ckItem(e)}},scopedSlots:n._u([{key:"header",fn:function(t){return[n._t("item-header",null,{item:n.getSlotItem(e,t)})]}},{key:"content",fn:function(r){return[n._t("item-content",(function(){return[t("div",{staticStyle:{padding:"10px","font-size":"0.9rem"}},[n._v("\n "+n._s(n.getDsp(e))+"\n ")])]}),{item:n.getSlotItem(e,r)})]}}],null,!0)})],1)})),0),n._v(" "),t("div",{ref:"refFooter"},[n._t("footer")],2)],1)])};_S._withStripped=!0;const $S=t({render:_S,staticRenderFns:[]},(function(n){n&&n("data-v-5ec81db6_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WListExpand.vue"},media:void 0})}),ES,"data-v-5ec81db6",false,undefined,!1,o,void 0,void 0);var MS={directives:{domresize:lp()},components:{WListItem:tC},props:{items:{type:Array,default:()=>[]},enableActive:{type:Boolean,default:!0},itemActive:{type:[String,Object],default:null},itemTextFontSize:{type:String,default:"1rem"},keyText:{type:String,default:"text"},keyIcon:{type:String,default:"icon"},space:{type:Number,default:0},paddingStyle:{type:Object,default:()=>({v:10,h:12})},itemBorderRadius:{type:Number,default:0},itemBackgroundColor:{type:String,default:"transparent"},itemBackgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},itemBackgroundColorActive:{type:String,default:"white"},itemBackgroundColorDisabled:{type:String,default:"white"},itemTextColor:{type:String,default:"#444"},itemTextColorHover:{type:String,default:"#222"},itemTextColorActive:{type:String,default:"orange darken-3"},itemTextColorDisabled:{type:String,default:"#444"},itemIconSize:{type:Number,default:22},itemIconColor:{type:String,default:"#444"},itemIconColorHover:{type:String,default:"#222"},itemIconColorActive:{type:String,default:"orange darken-3"},itemIconColorDisabled:{type:String,default:"#444"},itemRippleColor:{type:String,default:"rgba(245,124,0,0.4)"},borderBottom:{type:Boolean,default:!0},borderBottomSize:{type:Number,default:2},borderBottomColor:{type:String,default:"rgba(245,124,0,0.8)"},itemDisabledColor:{type:String,default:"transparent"},itemCursorPointer:{type:Boolean,default:!0}},data:function(){return{borderBottomLeft:0,borderBottomWidth:0,itemActiveTrans:null}},watch:{itemActiveTrans:{handler(n,e){this.updateBorderBottom()},immediate:!0}},computed:{changeItemActive:function(){let n=this;return n.enableActive&&(n.itemActiveTrans=n.itemActive),""},isObjValue:function(){return 0!==xd(this.items)&&Mb(this.items,(n=>Gi(n)))},effBorderBottomColor:function(){return Id(this.borderBottomColor)}},methods:{resize:function(n){this.updateBorderBottom()},getIcon:function(n){let e=this;return e.isObjValue?Vo(n,e.keyIcon,""):""},getText:function(n){let e=this;if(e.isObjValue){return Vo(n,e.keyText,"")}return n},getActive:function(n){let e=this,t=!1;return e.enableActive&&(t=xm(n,e.itemActiveTrans)),t},getEditable:function(n){return Vo(n,"editable",!0)},updateBorderBottom:function(){let n=this;if(null==n.itemActiveTrans)return;let e=0,t=[],r=Vo(n,"$refs.wli",[]);Jn(r,((r,o)=>{let i=r,l=Vo(i,"clientWidth",0),a=Vo(i,"clientHeight",0),d=e,s=l,u=a;o>0&&n.space>0&&(d+=n.space,s-=n.space),t.push({left:d,bottom:0,width:s,heiht:u}),e+=l}));let o=-1;if(Jn(n.items,((e,t)=>{if(xm(e,n.itemActiveTrans))return o=t,!1})),-1===o)return;let i=t[o];n.borderBottomLeft=i.left,n.borderBottomWidth=i.width},ckItem:function(n,e){let t=this;if(!t.getEditable(n))return;t.itemActiveTrans=n;let r=null;r=t.isObjValue?{...n}:n,t.$emit("click",r,e),t.$emit("update:itemActive",r)}}};const US=MS;var QS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeItemActive:n.changeItemActive},on:{domresize:n.resize}},[t("div",{staticStyle:{position:"relative",display:"flex","align-items":"center","white-space":"nowrap"}},[n.borderBottom?t("div",{style:"transition:all 0.3s; position:absolute; z-index:1; bottom:0px; left:"+n.borderBottomLeft+"px; padding-left:"+n.borderBottomWidth+"px; border-bottom:"+n.borderBottomSize+"px solid "+n.effBorderBottomColor+";"}):n._e(),n._v(" "),n._l(n.items,(function(e,r){return t("div",{key:r},[t("div",{ref:"wli",refInFor:!0,style:n.space>0&&r>0?"padding-left:"+n.space+"px;":""},[t("WListItem",{attrs:{icon:n.getIcon(e),text:n.getText(e),textFontSize:n.itemTextFontSize,active:n.getActive(e),paddingStyle:n.paddingStyle,borderRadius:n.itemBorderRadius,backgroundColor:n.itemBackgroundColor,backgroundColorHover:n.itemBackgroundColorHover,backgroundColorActive:n.itemBackgroundColorActive,backgroundColorDisabled:n.itemBackgroundColorDisabled,textColor:n.itemTextColor,textColorHover:n.itemTextColorHover,textColorActive:n.itemTextColorActive,textColorDisabled:n.itemTextColorDisabled,iconSize:n.itemIconSize,iconColor:n.itemIconColor,iconColorHover:n.itemIconColorHover,iconColorActive:n.itemIconColorActive,iconColorDisabled:n.itemIconColorDisabled,rippleColor:n.getEditable(e)?n.itemRippleColor:null,editable:n.getEditable(e),disabledColor:n.itemDisabledColor,cursorPointer:n.itemCursorPointer},on:{click:function(t){return n.ckItem(e,r)}},scopedSlots:n._u([{key:"item",fn:function(t){return[n._t("item",null,{item:e,kitem:r,isHover:t.isHover,isActive:t.isActive})]}},{key:"item-left",fn:function(t){return[n._t("item-left",null,{item:e,kitem:r,isHover:t.isHover,isActive:t.isActive})]}},{key:"item-content",fn:function(t){return[n._t("item-content",null,{item:e,kitem:r,isHover:t.isHover,isActive:t.isActive})]}},{key:"item-right",fn:function(t){return[n._t("item-right",null,{item:e,kitem:r,isHover:t.isHover,isActive:t.isActive})]}}],null,!0)})],1)])}))],2)])};QS._withStripped=!0;const qS=t({render:QS,staticRenderFns:[]},(function(n){n&&n("data-v-38cc2737_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WListHorizontal.vue"},media:void 0})}),US,"data-v-38cc2737",false,undefined,!1,o,void 0,void 0);const nI={components:{WListCheck:YS},props:{items:{type:Array,default:()=>[]},value:{type:[String,Object],default:null},keyText:{type:String,default:"text"},keyIcon:{type:String,default:"icon"},keyPickForObjItem:{type:String,default:""},paddingStyle:{type:Object,default:()=>({v:6,h:8})},spaceBetweenCheckboxAndContent:{type:Number,default:8},itemTextFontSize:{type:String,default:"1.0rem"},itemBackgroundColor:{type:String,default:"white"},itemBackgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},itemBackgroundColorActive:{type:String,default:"rgba(200,200,200,0.4)"},itemBackgroundColorDisabled:{type:String,default:"white"},itemTextColor:{type:String,default:"#444"},itemTextColorHover:{type:String,default:"#222"},itemTextColorActive:{type:String,default:"#000"},itemTextColorDisabled:{type:String,default:"#444"},itemIconSize:{type:Number,default:18},itemIconColor:{type:String,default:"#444"},itemIconColorHover:{type:String,default:"#222"},itemIconColorActive:{type:String,default:"#000"},itemIconColorDisabled:{type:String,default:"#444"},itemRippleColor:{type:String,default:"rgba(255,255,255,0.4)"},itemDisabledColor:{type:String,default:"transparent"},itemCursorPointer:{type:Boolean,default:!0},itemCheckIconIconSize:{type:Number,default:18},itemCheckIconCheckedIcon:{type:String,default:fp},itemCheckIconCheckedIconColor:{type:String,default:"blue darken-3"},itemCheckIconCheckedIconColorHover:{type:String,default:"blue darken-2"},itemCheckIconCheckedIconColorActive:{type:String,default:"blue darken-2"},itemCheckIconCheckedIconColorDisabled:{type:String,default:"grey"},itemCheckIconUncheckedIcon:{type:String,default:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},itemCheckIconUncheckedIconColor:{type:String,default:"blue darken-3"},itemCheckIconUncheckedIconColorHover:{type:String,default:"blue darken-2"},itemCheckIconUncheckedIconColorActive:{type:String,default:"blue darken-2"},itemCheckIconUncheckedIconColorDisabled:{type:String,default:"grey"},enableQuery:{type:Boolean,default:!1},query:{type:String,default:""},queryKeysPickForObjItem:{type:Array,default:()=>["text"]},queryPaddingStyle:{type:Object,default:()=>({v:0,h:0})},queryBorderRadius:{type:Number,default:30},queryShadow:{type:Boolean,default:!1},queryTextFontSize:{type:String,default:"1.0rem"},queryTextColor:{type:String,default:"black"},queryTextAlign:{type:String,default:"left"},queryIcon:{type:String,default:wp},queryIconSize:{type:Number,default:18},queryIconColor:{type:String,default:"blue"},queryIconColorHover:{type:String,default:"blue darken-1"},queryIconColorFocus:{type:String,default:"blue darken-1"},queryIconTooltip:{type:String,default:""},queryIconShiftOuter:{type:Number,default:0},queryIconShiftInner:{type:Number,default:5},queryBackgroundColor:{type:String,default:"transparent"},queryBackgroundColorHover:{type:String,default:"transparent"},queryBackgroundColorFocus:{type:String,default:"transparent"},queryBorderColor:{type:String,default:"transparent"},queryBorderColorHover:{type:String,default:"transparent"},queryBorderColorFocus:{type:String,default:"transparent"},queryBottomLineBorderColor:{type:String,default:"grey lighten-1"},queryBottomLineBorderColorHover:{type:String,default:"grey"},queryBottomLineBorderColorFocus:{type:String,default:"blue darken-1"},queryBottomLineBorderWidth:{type:Number,default:1},queryBottomLineBorderWidthHover:{type:Number,default:1},queryBottomLineBorderWidthFocus:{type:Number,default:2},queryPlaceholder:{type:String,default:"Keywords"},queryHeight:{type:Number,default:28},queryFocused:{type:Boolean,default:!1},queryPanelPaddingStyle:{type:Object,default:()=>({v:10,h:10})},querySepLineColor:{type:String,default:"#ddd"},querySepLineWidth:{type:Number,default:1}},data:function(){return{}},mounted:function(){},computed:{},methods:{}};var eI=function(){var n=this,e=n.$createElement;return(n._self._c||e)("WListCheck",n._g(n._b({scopedSlots:n._u([{key:"header",fn:function(){return[n._t("header")]},proxy:!0},{key:"item-content",fn:function(e){return[n._t("item-content",null,{item:e.item,kitem:e.kitem,isHover:e.isHover,isActive:e.isActive})]}},{key:"footer",fn:function(){return[n._t("footer")]},proxy:!0}],null,!0)},"WListCheck",Object.assign({},n.$props,{multiCheck:!1}),!1),n.$listeners))};eI._withStripped=!0;const tI=t({render:eI,staticRenderFns:[]},(function(n){n&&n("data-v-13f0bc54_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WListRadio.vue"},media:void 0})}),nI,"data-v-13f0bc54",false,undefined,!1,o,void 0,void 0);var rI={directives:{domresize:lp()},components:{WIcon:Ch},props:{avatarOuterPadding:{type:Number,default:15},avatarInnerPadding:{type:Number,default:15},avatarIcon:{type:String,default:"M16 12L9 2L2 12H3.86L0 18H7V22H11V18H18L14.14 12H16M20.14 12H22L15 2L12.61 5.41L17.92 13H15.97L19.19 18H24L20.14 12M13 19H17V22H13V19Z"},avatarIconSize:{type:Number,default:60},avatarIconColor:{type:String,default:"white"},avatarBorderWidth:{type:Number,default:1},avatarBorderColor:{type:String,default:"transparent"},avatarBackgroundColor:{type:String,default:"rgba(239,108,0,0.5)"},avatarBorderRadius:{type:Number,default:10},avatarShadow:{type:Boolean,default:!0},shiftVFromAvaterCenter:{type:Number,default:20},spaceHBetweenAvatarAndHeader:{type:Number,default:20},spaceVBetweenHeaderAndContent:{type:Number,default:0},headerVerticalAlign:{type:String,default:"center"},headerPadding:{type:Number,default:15},headerText:{type:String,default:""},headerTextColor:{type:String,default:"#444"},headerTextSize:{type:String,default:"1.0rem"},subHeaderText:{type:String,default:""},subHeaderTextColor:{type:String,default:"#888"},subHeaderTextSize:{type:String,default:"0.7rem"},sepLineWidth:{type:Number,default:1},sepLineColor:{type:String,default:"#ddd"},contentBorderRadius:{type:Number,default:3},contentBackgroundColor:{type:String,default:"white"},contentShadow:{type:Boolean,default:!0}},data:function(){return{avatarWidth:0,avatarHeight:0}},computed:{useAvatarIconColor:function(){return Id(this.avatarIconColor)},useAvatarBorderColor:function(){return Id(this.avatarBorderColor)},useAvatarBackgroundColor:function(){return Id(this.avatarBackgroundColor)},useHeaderVerticalAlign:function(){let n="";return n="bottom"===this.headerVerticalAlign?"flex-end":"center"===this.headerVerticalAlign?"center":"flex-start",n},useHeaderTextColor:function(){return Id(this.headerTextColor)},useSubHeaderTextColor:function(){return Id(this.subHeaderTextColor)},useSepLineColor:function(){return Id(this.sepLineColor)},useContentBackgroundColor:function(){return Id(this.contentBackgroundColor)}},methods:{resizeAvatar:function(n){this.avatarWidth=n.snew.offsetWidth,this.avatarHeight=n.snew.offsetHeight}}};const oI=rI;var iI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticStyle:{display:"inline-block",position:"relative"}},[t("div",{staticStyle:{position:"absolute",top:"0px",left:"0px"}},[t("div",{style:"transition:all 0.3s; padding:0px "+n.avatarOuterPadding+"px "+n.avatarOuterPadding+"px "+n.avatarOuterPadding+"px;"},[t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],class:n.avatarShadow?"shadow-header":"",style:"transition:all 0.3s; _box-sizing:border-box; border:"+n.avatarBorderWidth+"px solid "+n.useAvatarBorderColor+"; border-radius:"+n.avatarBorderRadius+"px; background:"+n.useAvatarBackgroundColor+";",on:{domresize:n.resizeAvatar}},[t("div",{staticStyle:{height:"100%",width:"100%",display:"flex","align-items":"center","justify-content":"center"}},[t("div",{style:"transition:all 0.3s; padding:"+n.avatarInnerPadding+"px;"},[n._t("avatar",(function(){return[t("WIcon",{attrs:{icon:n.avatarIcon,size:n.avatarIconSize,color:n.useAvatarIconColor,colorHover:n.useAvatarIconColor}})]}))],2)])])])]),n._v(" "),t("div",{style:"transition:all 0.3s; padding-top:"+(n.avatarHeight/2-n.shiftVFromAvaterCenter)+"px;"}),n._v(" "),t("div",{class:n.contentShadow?"shadow":"",style:"transition:all 0.3s; border-radius:"+n.contentBorderRadius+"px; background:"+n.useContentBackgroundColor+";",attrs:{avatarWidth:""}},[t("div",{staticStyle:{display:"flex"}},[t("div",{style:"transition:all 0.3s; min-width:"+(n.avatarOuterPadding+n.avatarWidth+n.spaceHBetweenAvatarAndHeader)+"px; min-height:"+(n.avatarOuterPadding+(n.avatarHeight/2+n.shiftVFromAvaterCenter)+n.spaceVBetweenHeaderAndContent)+"px;"}),n._v(" "),t("div",{style:"transition:all 0.3s; width:100%; padding:"+n.headerPadding+"px; display:flex; align-items:"+n.useHeaderVerticalAlign+"; justify-content:flex-end;"},[t("div",{staticStyle:{"text-align":"right"}},[t("div",{style:"transition:all 0.3s; color:"+n.useSubHeaderTextColor+"; font-size:"+n.subHeaderTextSize+"; line-height:"+n.subHeaderTextSize+";"},[n._v("\n "+n._s(n.subHeaderText)+"\n ")]),n._v(" "),t("div",{style:"transition:all 0.3s; color:"+n.useHeaderTextColor+"; font-size:"+n.headerTextSize+";"},[n._v("\n "+n._s(n.headerText)+"\n ")])])])]),n._v(" "),t("div",{style:"transition:all 0.3s; border-top:"+n.sepLineWidth+"px solid "+n.useSepLineColor+";"},[t("div",{staticStyle:{transition:"all 0.3s"}},[n._t("default")],2)])])])};iI._withStripped=!0;const lI=t({render:iI,staticRenderFns:[]},(function(n){n&&n("data-v-d32a8f80_0",{source:"\n.shadow[data-v-d32a8f80] {\r\n box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);\n}\n.shadow-header[data-v-d32a8f80] {\r\n box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 7px 10px 1px rgba(0, 0, 0, 0.06), 0px 2px 16px 1px rgba(0, 0, 0, 0.04);\n}\r\n",map:{version:3,sources:["D:\\- 006 - 開源\\開源-JS-104-2-w-component-vue\\w-component-vue\\src\\components\\WPanelAvatar.vue"],names:[],mappings:";AA6UA;IACA,mGAAA;AACA;AACA;IACA,4HAAA;AACA",file:"WPanelAvatar.vue",sourcesContent:["<template>\r\n <div\r\n style=\"display:inline-block; position:relative;\"\r\n >\r\n\r\n <div style=\"position:absolute; top:0px; left:0px;\">\r\n\r\n <div\r\n :style=\"`transition:all 0.3s; padding:0px ${avatarOuterPadding}px ${avatarOuterPadding}px ${avatarOuterPadding}px;`\"\r\n >\r\n <div\r\n :class=\"`${avatarShadow?'shadow-header':''}`\"\r\n :style=\"`transition:all 0.3s; _box-sizing:border-box; border:${avatarBorderWidth}px solid ${useAvatarBorderColor}; border-radius:${avatarBorderRadius}px; background:${useAvatarBackgroundColor};`\"\r\n v-domresize\r\n @domresize=\"resizeAvatar\"\r\n >\r\n\r\n <div style=\"height:100%; width:100%; display:flex; align-items:center; justify-content:center;\">\r\n <div :style=\"`transition:all 0.3s; padding:${avatarInnerPadding}px;`\">\r\n\r\n <slot name=\"avatar\">\r\n <WIcon\r\n :icon=\"avatarIcon\"\r\n :size=\"avatarIconSize\"\r\n :color=\"useAvatarIconColor\"\r\n :colorHover=\"useAvatarIconColor\"\r\n ></WIcon>\r\n </slot>\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n <div :style=\"`transition:all 0.3s; padding-top:${avatarHeight/2-shiftVFromAvaterCenter}px;`\"></div>\r\n\r\n <div\r\n avatarWidth\r\n :class=\"`${contentShadow?'shadow':''}`\"\r\n :style=\"`transition:all 0.3s; border-radius:${contentBorderRadius}px; background:${useContentBackgroundColor};`\"\r\n >\r\n\r\n <div style=\"display:flex;\">\r\n\r\n <div :style=\"`transition:all 0.3s; min-width:${avatarOuterPadding+avatarWidth+spaceHBetweenAvatarAndHeader}px; min-height:${avatarOuterPadding+(avatarHeight/2+shiftVFromAvaterCenter)+spaceVBetweenHeaderAndContent}px;`\"></div>\r\n\r\n <div :style=\"`transition:all 0.3s; width:100%; padding:${headerPadding}px; display:flex; align-items:${useHeaderVerticalAlign}; justify-content:flex-end;`\">\r\n\r\n <div style=\"text-align:right;\">\r\n <div :style=\"`transition:all 0.3s; color:${useSubHeaderTextColor}; font-size:${subHeaderTextSize}; line-height:${subHeaderTextSize};`\">\r\n {{subHeaderText}}\r\n </div>\r\n\r\n <div :style=\"`transition:all 0.3s; color:${useHeaderTextColor}; font-size:${headerTextSize};`\">\r\n {{headerText}}\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n <div :style=\"`transition:all 0.3s; border-top:${sepLineWidth}px solid ${useSepLineColor};`\">\r\n\r\n <div style=\"transition:all 0.3s;\">\r\n <slot></slot>\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { mdiForest } from '@mdi/js'\r\nimport color2hex from '../js/vuetifyColor.mjs'\r\nimport domResize from '../js/domResize.mjs'\r\nimport WIcon from './WIcon.vue'\r\n\r\n\r\n/**\r\n * @vue-prop {Number} [avatarOuterPadding=15] 輸入圖標區外側間距數字,單位為px,預設15\r\n * @vue-prop {Number} [avatarInnerPadding=15] 輸入圖標區內側間距數字,單位為px,預設15\r\n * @vue-prop {String} [avatarIcon=mdiForest] 輸入圖標字串,預設mdiForest\r\n * @vue-prop {Number} [avatarIconSize=60] 輸入圖標尺寸數字,單位為px,預設60\r\n * @vue-prop {String} [avatarIconColor='white'] 輸入圖標顏色字串,預設'white'\r\n * @vue-prop {Number} [avatarBorderWidth=1] 輸入圖標區框線寬度數字,單位為px,預設1\r\n * @vue-prop {String} [avatarBorderColor='transparnet'] 輸入圖標區框線顏色字串,預設'transparnet'\r\n * @vue-prop {String} [avatarBackgroundColor='rgba(239,108,0,0.5)'] 輸入圖標區背景顏色字串,預設'rgba(239,108,0,0.5)'\r\n * @vue-prop {Number} [avatarBorderRadius=10] 輸入圖標區框圓角程度數字,單位為px,預設10\r\n * @vue-prop {Boolean} [avatarShadow=true] 輸入是否使用圖標區陰影效果數字,預設true\r\n * @vue-prop {Number} [shiftVFromAvaterCenter=20] 輸入圖標區基於水平中線之朝下平移數字,單位為px,預設20\r\n * @vue-prop {Number} [spaceHBetweenAvatarAndHeader=20] 輸入圖標區與右側標題區間距數字,單位為px,預設20\r\n * @vue-prop {Number} [spaceVBetweenHeaderAndContent=0] 輸入標題區與下方內容區間距數字,單位為px,預設0\r\n * @vue-prop {String} [headerVerticalAlign='center'] 輸入標題區內文字垂直對齊字串,可選'top'、'center'、'bottom',預設'center'\r\n * @vue-prop {Number} [headerPadding=15] 輸入標題區間距數字,單位為px,預設15\r\n * @vue-prop {String} [headerText=''] 輸入標題區主要文字字串,預設''\r\n * @vue-prop {String} [headerTextColor='#444'] 輸入標題區主要文字顏色字串,預設'#444'\r\n * @vue-prop {String} [headerTextSize='1.0rem'] 輸入標題區主要文字字型大小數字,預設'1.0rem'\r\n * @vue-prop {String} [subHeaderText=''] 輸入標題區次要文字字串,預設''\r\n * @vue-prop {String} [subHeaderTextColor='#888'] 輸入標題區次要文字顏色字串,預設'#888'\r\n * @vue-prop {String} [subHeaderTextSize='0.7rem'] 輸入標題區次要文字字型大小數字,預設'0.7rem'\r\n * @vue-prop {Number} [sepLineWidth=1] 輸入標題區與內容區分隔線寬度數字,單位為px,預設1\r\n * @vue-prop {String} [sepLineColor='#ddd'] 輸入標題區與內容區分隔線顏色字串,預設'#ddd'\r\n * @vue-prop {Number} [contentBorderRadius=3] 輸入內容區框圓角程度數字,單位為px,預設3\r\n * @vue-prop {String} [contentBackgroundColor='white'] 輸入內容區背景顏色字串,預設'white'\r\n * @vue-prop {Boolean} [contentShadow=true] 輸入是否使用內容區陰影效果數字,預設true\r\n */\r\nexport default {\r\n directives: {\r\n domresize: domResize(),\r\n },\r\n components: {\r\n WIcon,\r\n },\r\n props: {\r\n avatarOuterPadding: {\r\n type: Number,\r\n default: 15,\r\n },\r\n avatarInnerPadding: {\r\n type: Number,\r\n default: 15,\r\n },\r\n avatarIcon: {\r\n type: String,\r\n default: mdiForest,\r\n },\r\n avatarIconSize: {\r\n type: Number,\r\n default: 60,\r\n },\r\n avatarIconColor: {\r\n type: String,\r\n default: 'white',\r\n },\r\n avatarBorderWidth: {\r\n type: Number,\r\n default: 1,\r\n },\r\n avatarBorderColor: {\r\n type: String,\r\n default: 'transparent',\r\n },\r\n avatarBackgroundColor: {\r\n type: String,\r\n default: 'rgba(239,108,0,0.5)',\r\n },\r\n avatarBorderRadius: {\r\n type: Number,\r\n default: 10,\r\n },\r\n avatarShadow: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n shiftVFromAvaterCenter: {\r\n type: Number,\r\n default: 20,\r\n },\r\n spaceHBetweenAvatarAndHeader: {\r\n type: Number,\r\n default: 20,\r\n },\r\n spaceVBetweenHeaderAndContent: {\r\n type: Number,\r\n default: 0,\r\n },\r\n headerVerticalAlign: {\r\n type: String,\r\n default: 'center', //top, center, bottom\r\n },\r\n headerPadding: {\r\n type: Number,\r\n default: 15,\r\n },\r\n headerText: {\r\n type: String,\r\n default: '',\r\n },\r\n headerTextColor: {\r\n type: String,\r\n default: '#444',\r\n },\r\n headerTextSize: {\r\n type: String,\r\n default: '1.0rem',\r\n },\r\n subHeaderText: {\r\n type: String,\r\n default: '',\r\n },\r\n subHeaderTextColor: {\r\n type: String,\r\n default: '#888',\r\n },\r\n subHeaderTextSize: {\r\n type: String,\r\n default: '0.7rem',\r\n },\r\n sepLineWidth: {\r\n type: Number,\r\n default: 1,\r\n },\r\n sepLineColor: {\r\n type: String,\r\n default: '#ddd',\r\n },\r\n contentBorderRadius: {\r\n type: Number,\r\n default: 3,\r\n },\r\n contentBackgroundColor: {\r\n type: String,\r\n default: 'white',\r\n },\r\n contentShadow: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n },\r\n data: function() {\r\n return {\r\n\r\n avatarWidth: 0,\r\n avatarHeight: 0,\r\n\r\n // headerHeight: 0,\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n useAvatarIconColor: function() {\r\n //console.log('computed useAvatarIconColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.avatarIconColor)\r\n },\r\n\r\n useAvatarBorderColor: function() {\r\n //console.log('computed useAvatarBorderColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.avatarBorderColor)\r\n },\r\n\r\n useAvatarBackgroundColor: function() {\r\n //console.log('computed useAvatarBackgroundColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.avatarBackgroundColor)\r\n },\r\n\r\n useHeaderVerticalAlign: function() {\r\n //console.log('computed useHeaderVerticalAlign')\r\n\r\n let vo = this\r\n\r\n let c = ''\r\n if (vo.headerVerticalAlign === 'bottom') {\r\n c = 'flex-end'\r\n }\r\n else if (vo.headerVerticalAlign === 'center') {\r\n c = 'center'\r\n }\r\n else {\r\n //top, default\r\n c = 'flex-start'\r\n }\r\n\r\n return c\r\n },\r\n\r\n useHeaderTextColor: function() {\r\n //console.log('computed useHeaderTextColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.headerTextColor)\r\n },\r\n\r\n useSubHeaderTextColor: function() {\r\n //console.log('computed useSubHeaderTextColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.subHeaderTextColor)\r\n },\r\n\r\n useSepLineColor: function() {\r\n //console.log('computed useSepLineColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.sepLineColor)\r\n },\r\n\r\n useContentBackgroundColor: function() {\r\n //console.log('computed useContentBackgroundColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.contentBackgroundColor)\r\n },\r\n\r\n },\r\n methods: {\r\n\r\n resizeAvatar: function(msg) {\r\n // console.log('methods resizeAvatar', msg)\r\n\r\n let vo = this\r\n\r\n //update\r\n vo.avatarWidth = msg.snew.offsetWidth\r\n vo.avatarHeight = msg.snew.offsetHeight\r\n\r\n },\r\n\r\n },\r\n}\r\n<\/script>\r\n\r\n<style scoped>\r\n.shadow {\r\n box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);\r\n}\r\n.shadow-header {\r\n box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 7px 10px 1px rgba(0, 0, 0, 0.06), 0px 2px 16px 1px rgba(0, 0, 0, 0.04);\r\n}\r\n</style>\r\n"]},media:void 0})}),oI,"data-v-d32a8f80",false,undefined,!1,o,void 0,void 0);const aI={directives:{domresize:lp()},props:{headerBorderRadius:{type:Number,default:0},paddingStyle:{type:Object,default:()=>({v:0,h:20})},headerText:{type:String,default:""},headerTextColor:{type:String,default:"white"},headerBackgroundColor:{type:String,default:"rgba(77, 182, 172, 0.8)"},headerShadow:{type:Boolean,default:!0},contentBorderRadius:{type:Number,default:0},contentPadding:{type:[Number,String],default:0},contentBackgroundColor:{type:String,default:"white"},contentShadow:{type:Boolean,default:!0}},data:function(){return{headerHeight:0}},computed:{usePadding:function(){let n=this;return`padding:${ch(n.paddingStyle,{ext:{left:n.shiftLeft,right:n.shiftRight}})};`},useHeaderTextColor:function(){return Id(this.headerTextColor)},useHeaderBackgroundColor:function(){return Id(this.headerBackgroundColor)},useContentBackgroundColor:function(){return Id(this.contentBackgroundColor)},useContentPadding:function(){let n=this;return _i(n.contentPadding)?`${n.contentPadding}px`:n.contentPadding}},methods:{updateHeaderHeight:function(n){this.headerHeight=n.snew.offsetHeight,this.$emit("resize",n)}}};var dI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[t("div",{style:"transition:all 0.3s; "+n.usePadding+" z-index:2;"},[t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],class:{"shadow-header":n.headerShadow},style:"transition:all 0.3s; display:inline-block; background:"+n.useHeaderBackgroundColor+"; border-radius:"+n.headerBorderRadius+"px;",on:{domresize:n.updateHeaderHeight}},[n._t("header",(function(){return[t("div",{style:"transition:all 0.3s; padding:5px 10px; color:"+n.useHeaderTextColor+";"},[n._v("\n "+n._s(n.headerText)+"\n ")])]}))],2)]),n._v(" "),t("div",{style:"transition:all 0.3s; margin-top:-"+n.headerHeight/2+"px; z-index:1;"},[t("div",{class:{shadow:n.contentShadow},style:"transition:all 0.3s; background:"+n.useContentBackgroundColor+"; border-radius:"+n.contentBorderRadius+"px;"},[t("div",{style:"transition:all 0.3s; padding:"+n.useContentPadding+";"},[t("div",{style:"transition:all 0.3s; height:"+n.headerHeight/2+"px;"}),n._v(" "),n._t("default")],2)])])])};dI._withStripped=!0;const sI=t({render:dI,staticRenderFns:[]},(function(n){n&&n("data-v-9e45e15e_0",{source:"\n.shadow[data-v-9e45e15e] {\r\n box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);\n}\n.shadow-header[data-v-9e45e15e] {\r\n box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 7px 10px 1px rgba(0, 0, 0, 0.06), 0px 2px 16px 1px rgba(0, 0, 0, 0.04);\n}\r\n",map:{version:3,sources:["D:\\- 006 - 開源\\開源-JS-104-2-w-component-vue\\w-component-vue\\src\\components\\WPanelBulge.vue"],names:[],mappings:";AAiMA;IACA,mGAAA;AACA;AACA;IACA,4HAAA;AACA",file:"WPanelBulge.vue",sourcesContent:["<template>\r\n <div>\r\n\r\n <div\r\n :style=\"`transition:all 0.3s; ${usePadding} z-index:2;`\"\r\n >\r\n <div\r\n :class=\"{'shadow-header':headerShadow}\"\r\n :style=\"`transition:all 0.3s; display:inline-block; background:${useHeaderBackgroundColor}; border-radius:${headerBorderRadius}px;`\"\r\n v-domresize\r\n @domresize=\"updateHeaderHeight\"\r\n >\r\n\r\n <slot name=\"header\">\r\n <div :style=\"`transition:all 0.3s; padding:5px 10px; color:${useHeaderTextColor};`\">\r\n {{headerText}}\r\n </div>\r\n </slot>\r\n\r\n </div>\r\n </div>\r\n\r\n <div :style=\"`transition:all 0.3s; margin-top:-${headerHeight/2}px; z-index:1;`\">\r\n\r\n <div\r\n :class=\"{'shadow':contentShadow}\"\r\n :style=\"`transition:all 0.3s; background:${useContentBackgroundColor}; border-radius:${contentBorderRadius}px;`\"\r\n >\r\n\r\n <div :style=\"`transition:all 0.3s; padding:${useContentPadding};`\">\r\n\r\n <div :style=\"`transition:all 0.3s; height:${headerHeight/2}px;`\"></div>\r\n\r\n <slot></slot>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport isnum from 'wsemi/src/isnum.mjs'\r\nimport color2hex from '../js/vuetifyColor.mjs'\r\nimport parseSpace from '../js/parseSpace.mjs'\r\nimport domResize from '../js/domResize.mjs'\r\n\r\n\r\n/**\r\n * @vue-prop {Number} [headerBorderRadius=0] 輸入標題區圓角寬度,單位為px,預設0\r\n * @vue-prop {Object} [paddingStyle={v:0,h:20}] 輸入內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:0,h:20}\r\n * @vue-prop {String} [headerText=''] 輸入標題文字字串,預設''\r\n * @vue-prop {String} [headerTextColor='white'] 輸入標題文字顏色字串,預設'white'\r\n * @vue-prop {String} [headerBackgroundColor='teal lighten-2'] 輸入標題背景顏色字串,預設'teal lighten-2'\r\n * @vue-prop {Boolean} [headerShadow=true] 輸入標題區是否使用陰影模式,預設true\r\n * @vue-prop {Number} [contentBorderRadius=0] 輸入內容區圓角寬度,單位為px,預設0\r\n * @vue-prop {Number|String} [contentPadding=20] 輸入內容區邊寬長度數字或字串,若輸入數字則單位為px,預設20,若輸入字串則需自己添加單位\r\n * @vue-prop {String} [contentBackgroundColor='white'] 輸入內容區塊背景顏色字串,預設'white'\r\n * @vue-prop {Boolean} [contentShadow=true] 輸入內容區是否使用陰影模式,預設true\r\n */\r\nexport default {\r\n directives: {\r\n domresize: domResize(),\r\n },\r\n props: {\r\n headerBorderRadius: {\r\n type: Number,\r\n default: 0,\r\n },\r\n paddingStyle: {\r\n type: Object,\r\n default: () => {\r\n return {\r\n v: 0,\r\n h: 20,\r\n }\r\n },\r\n },\r\n headerText: {\r\n type: String,\r\n default: '',\r\n },\r\n headerTextColor: {\r\n type: String,\r\n default: 'white',\r\n },\r\n headerBackgroundColor: {\r\n type: String,\r\n default: 'rgba(77, 182, 172, 0.8)', //teal lighten-2\r\n },\r\n headerShadow: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n contentBorderRadius: {\r\n type: Number,\r\n default: 0,\r\n },\r\n contentPadding: {\r\n type: [Number, String],\r\n default: 0,\r\n },\r\n contentBackgroundColor: {\r\n type: String,\r\n default: 'white',\r\n },\r\n contentShadow: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n },\r\n data: function() {\r\n return {\r\n headerHeight: 0,\r\n }\r\n },\r\n computed: {\r\n\r\n usePadding: function() {\r\n //console.log('computed usePadding')\r\n\r\n let vo = this\r\n\r\n //parseSpace\r\n let cs = parseSpace(vo.paddingStyle, { ext: { left: vo.shiftLeft, right: vo.shiftRight } })\r\n\r\n //padding\r\n let padding = `padding:${cs};`\r\n\r\n return padding\r\n },\r\n\r\n useHeaderTextColor: function() {\r\n //console.log('computed useHeaderTextColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.headerTextColor)\r\n },\r\n\r\n useHeaderBackgroundColor: function() {\r\n //console.log('computed useHeaderBackgroundColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.headerBackgroundColor)\r\n },\r\n\r\n useContentBackgroundColor: function() {\r\n //console.log('computed useContentBackgroundColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.contentBackgroundColor)\r\n },\r\n\r\n useContentPadding: function() {\r\n //console.log('computed useContentPadding')\r\n\r\n let vo = this\r\n\r\n if (isnum(vo.contentPadding)) {\r\n return `${vo.contentPadding}px`\r\n }\r\n else {\r\n return vo.contentPadding\r\n }\r\n },\r\n\r\n },\r\n methods: {\r\n\r\n updateHeaderHeight: function(msg) {\r\n //console.log('methods updateHeaderHeight', msg)\r\n\r\n let vo = this\r\n\r\n //update\r\n vo.headerHeight = msg.snew.offsetHeight\r\n\r\n //emit\r\n vo.$emit('resize', msg)\r\n\r\n },\r\n\r\n },\r\n}\r\n<\/script>\r\n\r\n<style scoped>\r\n.shadow {\r\n box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);\r\n}\r\n.shadow-header {\r\n box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 7px 10px 1px rgba(0, 0, 0, 0.06), 0px 2px 16px 1px rgba(0, 0, 0, 0.04);\r\n}\r\n</style>\r\n"]},media:void 0})}),aI,"data-v-9e45e15e",false,undefined,!1,o,void 0,void 0);const uI={directives:{domresize:lp()},props:{ratio:{type:Number,default:.5},ratioMin:{type:Number,default:0},ratioMax:{type:Number,default:1},leftWidthMin:{type:Number,default:null},leftWidthMax:{type:Number,default:null},rightWidthMin:{type:Number,default:null},rightWidthMax:{type:Number,default:null},barColor:{type:String,default:"#ddd"},barSize:{type:Number,default:2},barBorderColor:{type:String,default:"transparent"},barBorderSize:{type:Number,default:3}},data:function(){return{r:null,panelWidth:0,panelHeight:0,das:null}},mounted:function(){let n=this,e=_m(n.$refs.divPanel,n.$refs.divBar,{useTouchDragForPanel:!1});e.on("dragBar",n.dragBar),n.das=e},beforeDestroy:function(){let n=this;n.das&&n.das.clear()},computed:{changeParam:function(){let n=this,e=n.ratio;return e=n.limitRatio(e),n.r=e,""},bw:function(){return this.barSize+2*this.barBorderSize},useBarColor:function(){return Id(this.barColor)},useBarBorderColor:function(){return Id(this.barBorderColor)}},methods:{resizePanel:function(n){let e=this;e.panelWidth=n.snew.offsetWidth,e.panelHeight=n.snew.offsetHeight,e.$emit("resize",n)},limitRatio:function(n){let e=this;if(n=Math.min(n,e.ratioMax),n=Math.max(n,e.ratioMin),e.panelWidth>0){let t=n*e.panelWidth;Pd(e.leftWidthMin)&&t<e.leftWidthMin&&(n=e.leftWidthMin/e.panelWidth),Pd(e.leftWidthMax)&&t>e.leftWidthMax&&(n=e.leftWidthMax/e.panelWidth);let r=(1-n)*e.panelWidth;Pd(e.rightWidthMin)&&r<e.rightWidthMin&&(n=-(e.rightWidthMin/e.panelWidth-1)),Pd(e.rightWidthMax)&&r>e.rightWidthMax&&(n=-(e.rightWidthMax/e.panelWidth-1))}return n},dragBar:function({clientX:n}){let e=this,t=e.$el.getBoundingClientRect(),r=n,o=e.$el.offsetWidth,i=0;o>0&&(i=(r-t.left)/o),i=e.limitRatio(i),e.r=i,e.$emit("update:ratio",i)}}};var cI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeParam:n.changeParam},on:{domresize:n.resizePanel}},[t("div",{ref:"divPanel",staticStyle:{position:"relative",display:"flex"}},[t("div",{ref:"left",style:"width:"+n.r*n.panelWidth+"px; height:"+n.panelHeight+"px;"},[n._t("left",null,{ratio:n.r,width:n.r*n.panelWidth,height:n.panelHeight})],2),n._v(" "),t("div",{ref:"divBar",style:"position:absolute; z-index:1; left:"+(n.r*n.panelWidth-n.bw/2)+"px; width:"+n.bw+"px; height:"+n.panelHeight+"px; border-left:"+n.barBorderSize+"px solid "+n.useBarBorderColor+"; border-right:"+n.barBorderSize+"px solid "+n.useBarBorderColor+"; cursor:col-resize; user-select:none;"},[t("div",{style:"width:"+n.barSize+"px; height:"+n.panelHeight+"px; background:"+n.useBarColor+";"})]),n._v(" "),t("div",{ref:"right",style:"width:"+(1-n.r)*n.panelWidth+"px; height:"+n.panelHeight+"px;"},[n._t("right",null,{ratio:1-n.r,width:(1-n.r)*n.panelWidth,height:n.panelHeight})],2)])])};cI._withStripped=!0;const pI=t({render:cI,staticRenderFns:[]},(function(n){n&&n("data-v-c8e720c8_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WPanelDivideHorizontal.vue"},media:void 0})}),uI,"data-v-c8e720c8",false,undefined,!1,o,void 0,void 0);var fI={directives:{domresize:lp()},props:{ratio:{type:Number,default:.5},ratioMin:{type:Number,default:0},ratioMax:{type:Number,default:1},topHeightMin:{type:Number,default:null},topHeightMax:{type:Number,default:null},bottomHeightMin:{type:Number,default:null},bottomHeightMax:{type:Number,default:null},barColor:{type:String,default:"#ddd"},barBorderColor:{type:String,default:"transparent"},barSize:{type:Number,default:2},barBorderSize:{type:Number,default:3}},data:function(){return{r:null,panelWidth:0,panelHeight:0,das:null}},mounted:function(){let n=this,e=_m(n.$refs.divPanel,n.$refs.divBar,{useTouchDragForPanel:!1});e.on("dragBar",n.dragBar),n.das=e},beforeDestroy:function(){let n=this;n.das&&n.das.clear()},computed:{changeParam:function(){let n=this,e=n.ratio;return e=n.limitRatio(e),n.r=e,""},bw:function(){return this.barSize+2*this.barBorderSize},useBarColor:function(){return Id(this.barColor)},useBarBorderColor:function(){return Id(this.barBorderColor)}},methods:{resizePanel:function(n){let e=this;e.panelWidth=n.snew.offsetWidth,e.panelHeight=n.snew.offsetHeight,e.$emit("resize",n)},limitRatio:function(n){let e=this;if(n=Math.min(n,e.ratioMax),n=Math.max(n,e.ratioMin),e.panelHeight>0){let t=n*e.panelHeight;Pd(e.topHeightMin)&&t<e.topHeightMin&&(n=e.topHeightMin/e.panelHeight),Pd(e.topHeightMax)&&t>e.topHeightMax&&(n=e.topHeightMax/e.panelHeight);let r=(1-n)*e.panelHeight;Pd(e.bottomHeightMin)&&r<e.bottomHeightMin&&(n=-(e.bottomHeightMin/e.panelHeight-1)),Pd(e.bottomHeightMax)&&r>e.bottomHeightMax&&(n=-(e.bottomHeightMax/e.panelHeight-1))}return n},dragBar:function({clientY:n}){let e=this,t=e.$el.getBoundingClientRect(),r=n,o=e.$el.offsetHeight,i=0;o>0&&(i=(r-t.top)/o),i=e.limitRatio(i),e.r=i,e.$emit("update:ratio",i)}}};const hI=fI;var gI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeParam:n.changeParam},on:{domresize:n.resizePanel}},[t("div",{ref:"divPanel",staticStyle:{position:"relative"}},[t("div",{ref:"top",style:"width:"+n.panelWidth+"px; height:"+n.r*n.panelHeight+"px;"},[n._t("top",null,{ratio:n.r,width:n.panelWidth,height:n.r*n.panelHeight})],2),n._v(" "),t("div",{ref:"divBar",style:"position:absolute; z-index:1; top:"+(n.r*n.panelHeight-n.bw/2)+"px; width:"+n.panelWidth+"px; height:"+n.barSize+"px; border-top:"+n.barBorderSize+"px solid "+n.useBarBorderColor+"; border-bottom:"+n.barBorderSize+"px solid "+n.useBarBorderColor+"; cursor:row-resize; user-select:none;"},[t("div",{style:"width:"+n.panelWidth+"px; height:"+n.barSize+"px; background:"+n.useBarColor+";"})]),n._v(" "),t("div",{ref:"bottom",style:"width:"+n.panelWidth+"px; height:"+(1-n.r)*n.panelHeight+"px;"},[n._t("bottom",null,{ratio:1-n.r,width:n.panelWidth,height:(1-n.r)*n.panelHeight})],2)])])};gI._withStripped=!0;const mI=t({render:gI,staticRenderFns:[]},(function(n){n&&n("data-v-3de7dcbe_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WPanelDivideVertical.vue"},media:void 0})}),hI,"data-v-3de7dcbe",false,undefined,!1,o,void 0,void 0);const vI={components:{},props:{label:{type:String,default:""},labelWidth:{type:Number,default:null},labelHeight:{type:Number,default:null},labelColor:{type:String,default:"#666"},labelFontSize:{type:String,default:"0.8rem"},labelHorizontalAlign:{type:String,default:"left"},labelVerticalAlign:{type:String,default:"center"},labelShiftTop:{type:Number,default:0},space:{type:Number,default:0},seplines:{type:Boolean,default:!1},floatForItemSub:{type:Boolean,default:!0}},data:function(){return{}},computed:{useLabelWidth:function(){let n=this;if(_i(n.labelWidth)){return{width:`${$i(n.labelWidth)}px`}}return{}},useLabelHeight:function(){let n=this;if(_i(n.labelHeight)){return{height:`${$i(n.labelHeight)}px`}}return{}},useLabelVerticalAlign:function(){let n=this,e="middle";return"top"!==n.labelVerticalAlign&&"bottom"!==n.labelVerticalAlign||(e=n.labelVerticalAlign),e},useLabelColor:function(){return Id(this.labelColor)}},methods:{}};var yI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{},[n.seplines?[n._t("label",(function(){return[t("div",{style:[n.useLabelWidth,n.useLabelHeight,{color:n.useLabelColor,fontSize:n.labelFontSize,textAlign:n.labelHorizontalAlign,paddingTop:n.labelShiftTop+"px",paddingBottom:n.space+"px"}]},[n._v("\n "+n._s(n.label)+"\n ")])]})),n._v(" "),t("div",{},[n._t("item"),n._v(" "),t("div",{staticStyle:{position:"relative"}},[t("div",{style:n.floatForItemSub?"position:absolute; top:0; left:0;":""},[n._t("item-sub")],2)])],2)]:[t("table",{staticStyle:{width:"100%","border-collapse":"collapse"}},[t("tr",[t("td",{style:[{verticalAlign:n.useLabelVerticalAlign,whiteSpace:"nowrap",color:n.useLabelColor,fontSize:n.labelFontSize,textAlign:n.labelHorizontalAlign}]},[n._t("label",(function(){return[t("div",{style:[n.useLabelWidth,n.useLabelHeight,{paddingTop:n.labelShiftTop+"px"}]},[n._v("\n "+n._s(n.label)+":\n ")])]}))],2),n._v(" "),t("td",{style:[{paddingRight:n.space+8+"px"}]}),n._v(" "),t("td",{style:[{width:"100%"}]},[n._t("item"),n._v(" "),n.floatForItemSub?t("div",{staticStyle:{position:"relative"}},[t("div",{staticStyle:{position:"absolute",top:"0",left:"0"}},[n._t("item-sub")],2)]):n._e()],2)]),n._v(" "),n.floatForItemSub?n._e():t("tr",[t("td"),n._v(" "),t("td"),n._v(" "),t("td",[n._t("item-sub")],2)])])]],2)};yI._withStripped=!0;const bI=t({render:yI,staticRenderFns:[]},(function(n){n&&n("data-v-6b300932_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WPanelLabelItem.vue"},media:void 0})}),vI,"data-v-6b300932",false,undefined,!1,o,void 0,void 0);const CI={directives:{domresize:lp(),dommutation:vv()},components:{},props:{scale:{type:Number,default:1}},data:function(){return{width:1,height:1}},mounted:function(){this.fitSize()},computed:{},methods:{domresize:function(n){this.fitSize()},dommutation:function(n){this.fitSize()},fitSize:function(){let n=this,e=Vo(n,"$refs.tar");if(Os(e)){let t=e.getBoundingClientRect();n.width===t.width&&n.height===t.height||(n.width=t.width,n.height=t.height)}}}};var xI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"},{name:"dommutation",rawName:"v-dommutation"}],style:"display:inline-block; width:"+n.width+"px; height:"+n.height+"px; max-height:"+n.height+"px;",attrs:{domresize:"domresize"},on:{dommutation:n.dommutation}},[t("div",{style:"position:relative; width:"+n.width+"px; height:"+n.height+"px; max-height:"+n.height+"px;"},[t("div",{style:"position:absolute; left:0; top:0; width:"+n.width+"px; height:"+n.height+"px; max-height:"+n.height+"px;"},[t("div",{style:"transform-origin:top left; transform:scale("+n.scale+"); width:"+n.width+"px; height:"+n.height+"px; max-height:"+n.height+"px;"},[t("div",{ref:"tar",staticStyle:{display:"inline-block"}},[n._t("default")],2)])])])])};xI._withStripped=!0;const SI=t({render:xI,staticRenderFns:[]},(function(n){n&&n("data-v-4495c35b_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WPanelScale.vue"},media:void 0})}),CI,"data-v-4495c35b",false,undefined,!1,o,void 0,void 0);const II={props:{hasHeader:{type:Boolean,default:!0},hasFooter:{type:Boolean,default:!0},padding:{type:Number,default:20},borderRadius:{type:Number,default:5},headerBackgroundColor:{type:String,default:"grey lighten-5"},contentBackgroundColor:{type:String,default:"white"},footerBackgroundColor:{type:String,default:"grey lighten-5"},shadow:{type:Boolean,default:!0}},data:function(){return{}},mounted:function(){},computed:{usePanelStyle:function(){let n={};return n["background-color"]=Id(this.contentBackgroundColor),n["border-radius"]=`${this.borderRadius}px`,n},useHeaderStyle:function(){let n=this,e={};return e.padding=`${n.padding}px`,e["border-bottom"]="1px solid #ddd",e["background-color"]=Id(n.headerBackgroundColor),e["border-radius"]=`${n.borderRadius}px ${n.borderRadius}px 0 0`,e.display="flex",e["justify-content"]="flex-start",e["align-items"]="center",e},useContentStyle:function(){let n=this,e={},t="0 0",r="0 0";return n.hasHeader||(t=`${n.borderRadius}px ${n.borderRadius}px`),n.hasFooter||(r=`${n.borderRadius}px ${n.borderRadius}px`),e["border-radius"]=`${t} ${r}`,e},useFooterStyle:function(){let n=this,e={};return e.padding=`${n.padding}px`,e["border-top"]="1px solid #ddd",e["background-color"]=Id(n.footerBackgroundColor),e["border-radius"]=`0 0 ${n.borderRadius}px ${n.borderRadius}px`,e}},methods:{}};var wI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{class:{shadow:n.shadow},style:[n.usePanelStyle]},[n.hasHeader?t("div",{style:[n.useHeaderStyle]},[n._t("icon"),n._v(" "),t("div",[n._t("title"),n._v(" "),n._t("description")],2)],2):n._e(),n._v(" "),t("div",{style:[n.useContentStyle]},[n._t("content")],2),n._v(" "),n.hasFooter?t("div",{style:[n.useFooterStyle]},[n._t("footer")],2):n._e()])};wI._withStripped=!0;const kI=t({render:wI,staticRenderFns:[]},(function(n){n&&n("data-v-9a073702_0",{source:"\n.shadow[data-v-9a073702] {\r\n box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);\n}\r\n",map:{version:3,sources:["D:\\- 006 - 開源\\開源-JS-104-2-w-component-vue\\w-component-vue\\src\\components\\WPanelStripe.vue"],names:[],mappings:";AAoJA;IACA,mGAAA;AACA",file:"WPanelStripe.vue",sourcesContent:["<template>\r\n <div :class=\"{'shadow':shadow}\" :style=\"[usePanelStyle]\">\r\n\r\n <div :style=\"[useHeaderStyle]\" v-if=\"hasHeader\">\r\n <slot name=\"icon\"></slot>\r\n <div>\r\n <slot name=\"title\"></slot>\r\n <slot name=\"description\"></slot>\r\n </div>\r\n </div>\r\n\r\n <div :style=\"[useContentStyle]\">\r\n <slot name=\"content\"></slot>\r\n </div>\r\n\r\n <div :style=\"[useFooterStyle]\" v-if=\"hasFooter\">\r\n <slot name=\"footer\"></slot>\r\n </div>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport color2hex from '../js/vuetifyColor.mjs'\r\n\r\n\r\n/**\r\n * @vue-prop {Boolean} [hasHeader=true] 輸入是否有上部標題區,預設true\r\n * @vue-prop {Boolean} [hasFooter=true] 輸入是否有下部基底區,預設true\r\n * @vue-prop {Number} [padding=20] 輸入內間距,單位為px,預設20\r\n * @vue-prop {Number} [borderRadius=5] 輸入圓角寬度數字,單位為px,預設5\r\n * @vue-prop {String} [headerBackgroundColor='grey lighten-5'] 輸入上方區塊背景顏色字串,預設'grey lighten-5'\r\n * @vue-prop {String} [contentBackgroundColor='white'] 輸入內容區塊背景顏色字串,預設'white'\r\n * @vue-prop {String} [footerBackgroundColor='grey lighten-5'] 輸入下方區塊背景顏色字串,預設'grey lighten-5'\r\n * @vue-prop {Boolean} [shadow=true] 輸入是否為陰影模式,預設true\r\n */\r\nexport default {\r\n props: {\r\n hasHeader: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n hasFooter: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n padding: {\r\n type: Number,\r\n default: 20,\r\n },\r\n borderRadius: {\r\n type: Number,\r\n default: 5,\r\n },\r\n headerBackgroundColor: {\r\n type: String,\r\n default: 'grey lighten-5',\r\n },\r\n contentBackgroundColor: {\r\n type: String,\r\n default: 'white',\r\n },\r\n footerBackgroundColor: {\r\n type: String,\r\n default: 'grey lighten-5',\r\n },\r\n shadow: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n },\r\n data: function() {\r\n return {\r\n }\r\n },\r\n mounted: function() {\r\n },\r\n computed: {\r\n\r\n usePanelStyle: function() {\r\n //console.log('computed usePanelStyle')\r\n\r\n let vo = this\r\n\r\n let s = {}\r\n s['background-color'] = color2hex(vo.contentBackgroundColor)\r\n s['border-radius'] = `${vo.borderRadius}px`\r\n\r\n return s\r\n },\r\n\r\n useHeaderStyle: function() {\r\n //console.log('computed useHeaderStyle')\r\n\r\n let vo = this\r\n\r\n let s = {}\r\n s['padding'] = `${vo.padding}px`\r\n s['border-bottom'] = '1px solid #ddd'\r\n s['background-color'] = color2hex(vo.headerBackgroundColor)\r\n s['border-radius'] = `${vo.borderRadius}px ${vo.borderRadius}px 0 0`\r\n s['display'] = 'flex'\r\n s['justify-content'] = 'flex-start'\r\n s['align-items'] = 'center'\r\n\r\n return s\r\n },\r\n\r\n useContentStyle: function() {\r\n //console.log('computed useContentStyle')\r\n\r\n let vo = this\r\n\r\n let s = {}\r\n let ch = '0 0'\r\n let cf = '0 0'\r\n if (!vo.hasHeader) {\r\n ch = `${vo.borderRadius}px ${vo.borderRadius}px`\r\n }\r\n if (!vo.hasFooter) {\r\n cf = `${vo.borderRadius}px ${vo.borderRadius}px`\r\n }\r\n s['border-radius'] = `${ch} ${cf}`\r\n\r\n return s\r\n },\r\n\r\n useFooterStyle: function() {\r\n //console.log('computed useFooterStyle')\r\n\r\n let vo = this\r\n\r\n let s = {}\r\n s['padding'] = `${vo.padding}px`\r\n s['border-top'] = '1px solid #ddd'\r\n s['background-color'] = color2hex(vo.footerBackgroundColor)\r\n s['border-radius'] = `0 0 ${vo.borderRadius}px ${vo.borderRadius}px`\r\n\r\n return s\r\n },\r\n\r\n },\r\n methods: {\r\n },\r\n}\r\n<\/script>\r\n\r\n<style scoped>\r\n.shadow {\r\n box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);\r\n}\r\n</style>\r\n"]},media:void 0})}),II,"data-v-9a073702",false,undefined,!1,o,void 0,void 0);const TI={components:{WPopup:Kb,WText:jb,WButtonChip:dm,WIcon:Ch},props:{value:{type:[String,Number],default:""},title:{type:String,default:"Editor"},titleColor:{type:String,default:"grey darken-3"},titleFontSize:{type:String,default:"0.8rem"},contentIcon:{type:String,default:"M5,3C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19H5V5H12V3H5M17.78,4C17.61,4 17.43,4.07 17.3,4.2L16.08,5.41L18.58,7.91L19.8,6.7C20.06,6.44 20.06,6 19.8,5.75L18.25,4.2C18.12,4.07 17.95,4 17.78,4M15.37,6.12L8,13.5V16H10.5L17.87,8.62L15.37,6.12Z"},contentIconColor:{type:String,default:"orange"},contentIconSize:{type:Number,default:28},inputTextColor:{type:String,default:"grey darken-3"},inputTextBottomLineBorderColor:{type:String,default:"grey lighten-1"},inputTextBottomLineBorderColorHover:{type:String,default:"grey"},inputTextBottomLineBorderColorFocus:{type:String,default:"blue darken-1"},saveBtnText:{type:String,default:"Save"},saveBtnTextColor:{type:String,default:"grey darken-3"},saveBtnTextColorHover:{type:String,default:"grey darken-2"},saveBtnIcon:{type:String,default:mp},saveBtnIconSize:{type:Number,default:22},saveBtnIconColor:{type:String,default:"grey darken-1"},saveBtnIconColorHover:{type:String,default:"grey darken-2"},saveBtnIconRippleColor:{type:String,default:"rgba(200,200,200,0.4)"},saveBtnBackgroundColor:{type:String,default:"white"},saveBtnBackgroundColorHover:{type:String,default:"grey lighten-3"},headerBackgroundColor:{type:String,default:"grey lighten-5"},contentBackgroundColor:{type:String,default:"white"},footerBackgroundColor:{type:String,default:"grey lighten-5"},minWidthForValue:{type:Number,default:30},minWidthForPopup:{type:Number,default:300}},data:function(){return{valueTemp:null,showEdit:!1}},computed:{useTitleFontSize:function(){let n=this.titleFontSize;return n=As(n,";",""),`font-size:${n};`},useTitleColor:function(){return Id(this.titleColor)},useHeaderBackgroundColor:function(){return Id(this.headerBackgroundColor)},useContentBackgroundColor:function(){return Id(this.contentBackgroundColor)},useFooterBackgroundColor:function(){return Id(this.footerBackgroundColor)}},methods:{evShow:function(){let n=this;n.valueTemp=n.value,n.$nextTick((()=>{n.showEdit=!0}))},evHide:function(){let n=this;n.$nextTick((()=>{n.$emit("close"),n.showEdit=!1}))},ckSave:function(n,e){let t=this;t.$nextTick((()=>{t.$emit("input",t.valueTemp),t.valueTemp="",n.funHide()}))}}};var HI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("WPopup",{attrs:{isolated:!0,_minWidth:"minWidthForPopup"},on:{show:n.evShow,hide:n.evHide},scopedSlots:n._u([{key:"trigger",fn:function(){return[t("div",{style:"min-width:"+n.minWidthForValue+"px; min-height:1rem; cursor:pointer;"},[n._v("\n "+n._s(n.value)+"\n ")])]},proxy:!0},{key:"content",fn:function(e){return[t("div",{style:"min-width:"+n.minWidthForPopup+"px; text-align:left; border-radius:5px; overflow:hidden;"},[""!==n.title?t("div",[t("div",{style:" padding:10px; color:"+n.useTitleColor+"; "+n.useTitleFontSize+"; background:"+n.useHeaderBackgroundColor+";"},[n._v("\n "+n._s(n.title)+"\n ")])]):n._e(),n._v(" "),t("div",{style:"padding:20px; border-top:1px solid #ddd; border-bottom:1px solid #ddd; background:"+n.useContentBackgroundColor+"; display:flex; align-items:center;"},[t("div",{staticStyle:{"padding-right":"10px"}},[t("WIcon",{attrs:{icon:n.contentIcon,size:n.contentIconSize,color:n.contentIconColor,colorHover:n.contentIconColor}})],1),n._v(" "),t("div",{staticStyle:{width:"100%"}},[n.showEdit?t("WText",{attrs:{textColor:n.inputTextColor,bottomLineBorderColor:n.inputTextBottomLineBorderColor,bottomLineBorderColorHover:n.inputTextBottomLineBorderColorHover,bottomLineBorderColorFocus:n.inputTextBottomLineBorderColorFocus},on:{enter:function(t){return n.ckSave(e)}},model:{value:n.valueTemp,callback:function(e){n.valueTemp=e},expression:"valueTemp"}}):n._e()],1)]),n._v(" "),t("div",{style:"padding:10px; background:"+n.useFooterBackgroundColor+"; text-align:right;"},[t("WButtonChip",{attrs:{shiftLeft:-5,icon:n.saveBtnIcon,iconColor:n.saveBtnIconColor,iconColorHover:n.saveBtnIconColorHover,iconSize:n.saveBtnIconSize,text:n.saveBtnText,textColor:n.saveBtnTextColor,textColorHover:n.saveBtnTextColorHover,backgroundColor:n.saveBtnBackgroundColor,backgroundColorHover:n.saveBtnBackgroundColorHover,rippleColor:n.saveBtnIconRippleColor},on:{click:function(t){return n.ckSave(e)}}})],1)])]}}])})};HI._withStripped=!0;const BI=t({render:HI,staticRenderFns:[]},(function(n){n&&n("data-v-4d61422f_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WPopupEditText.vue"},media:void 0})}),TI,"data-v-4d61422f",false,undefined,!1,o,void 0,void 0);function WI(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return _i(n)&&al(e)?(n=$i(n),tl(n,e).toFixed(e)):""}var AI={components:{WIcon:Ch},props:{value:{type:Number,default:0},decimal:{type:Number,default:1},title:{type:String,default:""},titleTextColor:{type:String,default:"grey darken-2"},titleTextFontSize:{type:String,default:"0.85rem"},height:{type:Number,default:4},borderRadius:{type:Number,default:5},progColor:{type:String,default:"lime accent-4"},progBackgroundColor:{type:String,default:"light-green lighten-5"},iconSize:{type:Number,default:20},iconWaiting:{type:String,default:Tp},iconFinish:{type:String,default:pp},iconWaitingColor:{type:String,default:"grey"},iconFinishColor:{type:String,default:"green"},enableIconWaiting:{type:Boolean,default:!0},enableIconFinish:{type:Boolean,default:!0},valueTextColor:{type:String,default:"grey darken-2"},valueTextFontSize:{type:String,default:"0.85rem"},enableContinuous:{type:Boolean,default:!1},continuousIncrease:{type:Number,default:12},continuousPeriod:{type:Number,default:100}},data:function(){return{mdiCheck:pp,mdiOrbitVariant:Tp,timer:null,continuousFirst:!0,continuousRatio:0,continuousShiftX:0,continuousWidth:0}},beforeDestroy:function(){let n=this;null!==n.timer&&(clearInterval(n.timer),n.timer=null)},computed:{changeContinuous:function(){let n=this;return n.enableContinuous?n.runContinuous():n.destroyContinuous(),""},hasTitle:function(){return Ji(this.title)},status:function(){return this.value<=0?"waiting":this.value>=100?"finish":"running"},useProg:function(){let n=this.value;return n=Math.max(n,0),n=Math.min(n,100),n=this.digValue(n),n},useTitleTextFontSize:function(){let n=this.titleTextFontSize;return n=As(n,";",""),`font-size:${n};`},useBorderRadius:function(){return`border-radius:${this.borderRadius}px;`},useProgColor:function(){return Id(this.progColor)},useProgBackgroundColor:function(){return Id(this.progBackgroundColor)},useTitleTextColor:function(){return Id(this.titleTextColor)},useIconWaitingColor:function(){return Id(this.iconWaitingColor)},useIconFinishColor:function(){return Id(this.iconFinishColor)},useValueTextColor:function(){return Id(this.valueTextColor)},useValueTextFontSize:function(){let n=this.valueTextFontSize;return n=As(n,";",""),`font-size:${n};`}},methods:{digValue:function(n){return WI(n,this.decimal)},runContinuous:function(){let n=this;null===n.timer&&(n.timer=setInterval((()=>{n.continuousRatio+=n.continuousIncrease,n.continuousFirst=!1,n.continuousRatio>=100+n.continuousIncrease&&(n.continuousFirst=!0,n.continuousRatio=-n.continuousIncrease),n.continuousShiftX=(n=>{let e=(n/=100)<.5?4*n*n*n:1-Math.pow(-2*n+2,3)/2;return e=Math.max(Math.min(e,1),0),e*=100,e})(n.continuousRatio),n.continuousWidth=(n=>{n-=50,n*=2,n/=100,n=Math.max(Math.min(n,1),-1);let e=1*Math.exp(-2*n**2);return e=Math.max(Math.min(e,1),0),e-=.1353352832366127,e*=1.1565176427496657,e*=100,e})(n.continuousRatio)}),n.continuousPeriod))},destroyContinuous:function(){let n=this;null!==n.timer&&(clearInterval(n.timer),n.timer=null)}}};const ZI=AI;var XI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{attrs:{changeContinuous:n.changeContinuous}},[n.hasTitle?t("div",{style:"color:"+n.useTitleTextColor+"; "+n.useTitleTextFontSize+";"},[n._v("\n "+n._s(n.title)+"\n ")]):n._e(),n._v(" "),n.enableContinuous?n._e():t("div",{style:"display:flex; align-items:center;"},[t("div",{style:n.useBorderRadius+" overflow:hidden; width:100%; height:"+n.height+"px;"},[t("div",{style:"background:"+n.useProgBackgroundColor+"; height:"+n.height+"px;"},[t("div",{style:"background:"+n.useProgColor+"; width:"+n.useProg+"%; height:"+n.height+"px;"})])]),n._v(" "),t("div",{staticStyle:{"padding-left":"5px"}},[n.enableIconWaiting&&"waiting"===n.status||n.enableIconFinish&&"finish"===n.status?t("WIcon",{attrs:{icon:"waiting"===n.status?n.iconWaiting:n.iconFinish,color:"waiting"===n.status?n.useIconWaitingColor:n.useIconFinishColor,colorHover:"waiting"===n.status?n.useIconWaitingColor:n.useIconFinishColor,size:n.iconSize}}):t("div",{style:"color:"+n.useValueTextColor+"; "+n.useValueTextFontSize+";"},[t("div",[n._v(n._s(n.useProg)+"%")])])],1)]),n._v(" "),n.enableContinuous?t("div",{style:n.useBorderRadius+" overflow:hidden; width:100%; height:"+n.height+"px;"},[t("div",{style:"position:relative; background:"+n.useProgBackgroundColor+"; height:"+n.height+"px;"},[t("div",{style:"position:absolute; transition:all "+(n.continuousFirst?0:n.continuousPeriod)+"ms linear; left:"+n.continuousShiftX+"%; top:0px; background:"+n.useProgColor+"; width:"+n.continuousWidth+"%; height:"+n.height+"px;"})])]):n._e()])};XI._withStripped=!0;const VI=t({render:XI,staticRenderFns:[]},(function(n){n&&n("data-v-aea3ddda_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WProgressBar.vue"},media:void 0})}),ZI,"data-v-aea3ddda",false,undefined,!1,o,void 0,void 0);const PI={components:{WTooltip:om},props:{text:{type:String,default:""},value:{type:Number,default:0},color:{type:String,default:"rgba(100,100,100,0.8)"},trackColor:{type:String,default:"rgba(150,150,150,0.4)"},size:{type:Number,default:120},width:{type:Number,default:6},textColor:{type:String,default:"#666"},tooltip:{type:String,default:""},tooltipBorderRadius:{type:Number,default:4},tooltipPaddingStyle:{type:Object,default:()=>({v:5,h:8})},tooltipTextFontSize:{type:String,default:"0.85rem"},tooltipTextColor:{type:String,default:"white"},tooltipBackgroundColor:{type:String,default:"rgba(60,60,60,0.75)"}},data:function(){return{}},mounted:function(){},computed:{radius:function(){return this.size/2-this.width/2},sizeHalf:function(){return this.size/2},widthOuter:function(){return 1*this.width},widthInner:function(){return this.width},progSdAll:function(){return 2*Math.PI*this.radius},progSdNow:function(){let n=this.value;return n<0&&(n=0),n>100&&(n=100),(100-n)/100*this.progSdAll},valueStyle:function(){let n=this,e=n.size/5.4,t=(n.size-26)/94*.25+.75;return{color:n.useColor,"font-size":e+"pt",transform:`scale(${t})`}},textStyle:function(){let n=this.size/12;return{color:this.useTextColor,"font-size":n+"pt",transform:"scale(1.2)"}},useColor:function(){return Id(this.color)},useTrackColor:function(){return Id(this.trackColor)},useTextColor:function(){return Id(this.textColor)},hasTooltop:function(){return Ji(this.tooltip)}},methods:{clickBtn:function(){let n=this;n.$nextTick((()=>{n.$emit("click")}))}}};var FI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticStyle:{display:"inline-block"}},[t("WTooltip",{attrs:{displayType:"line",isolated:!0,borderRadius:n.tooltipBorderRadius,paddingStyle:n.tooltipPaddingStyle,textFontSize:n.tooltipTextFontSize,textColor:n.tooltipTextColor,backgroundColor:n.tooltipBackgroundColor,editable:n.hasTooltop},scopedSlots:n._u([{key:"trigger",fn:function(){return[t("div",{style:"position:relative; width:"+n.size+"px; height:"+n.size+"px;"},[t("svg",{style:"transform-origin:radius; transform:rotate(-90deg);",attrs:{width:n.size,height:n.size,viewPort:"0 0 "+n.size+" "+n.size,version:"1.1",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{attrs:{r:n.radius,cx:n.sizeHalf,cy:n.sizeHalf,fill:"transparent","stroke-dasharray":n.progSdAll,"stroke-dashoffset":0,stroke:n.useTrackColor,"stroke-width":n.widthOuter}}),n._v(" "),t("circle",{staticStyle:{transition:"all 0.6s ease-in-out"},attrs:{r:n.radius,cx:n.sizeHalf,cy:n.sizeHalf,fill:"transparent","stroke-dasharray":n.progSdAll,"stroke-dashoffset":n.progSdNow,stroke:n.useColor,"stroke-width":n.widthInner}})]),n._v(" "),t("div",{style:"position:absolute; top:50%; left:50%; width:"+n.size+"px; height:"+n.size+"px;"},[t("div",{staticStyle:{"text-align":"center",transform:"translate(-50%,-50%)"}},[t("div",{style:[n.valueStyle]},[n._v(n._s(n.value)+"%")]),n._v(" "),t("div",{style:[n.textStyle]},[n._v(n._s(n.text))])])])])]},proxy:!0},{key:"content",fn:function(){return[n._v("\n "+n._s(n.tooltip)+"\n ")]},proxy:!0}])})],1)};FI._withStripped=!0;const RI=t({render:FI,staticRenderFns:[]},(function(n){n&&n("data-v-61cb34f4_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WProgressCircle.vue"},media:void 0})}),PI,"data-v-61cb34f4",false,undefined,!1,o,void 0,void 0);const LI={components:{WIconLoading:Td},props:{pathItems:{type:Array,default:()=>["https://cdn.jsdelivr.net/npm/quill@1.3.7/dist/quill.min.js","https://cdn.jsdelivr.net/npm/quill@1.3.7/dist/quill.snow.min.css","https://cdn.jsdelivr.net/npm/w-quill-vue@2.0.4/dist/w-quill-vue.umd.js"]},value:{type:String,default:""},settings:{type:Object,default:()=>{}},height:{type:Number,default:250},editable:{type:Boolean,default:!0}},data:function(){return{cmpName:"WIconLoading"}},mounted:function(){let n=this;fl(n.pathItems).then((e=>{if("loaded"!==e){let n=window["w-quill-vue"];n.default&&(n=n.default),Bd().component("w-quill-vue",n)}n.cmpName="w-quill-vue"}))},computed:{},methods:{}};var zI=function(){var n=this,e=n.$createElement;return(n._self._c||e)(n.cmpName,{ref:"$self",tag:"component",attrs:{settings:n.settings,height:n.height,editable:n.editable,value:n.value},on:{input:function(e){n.$emit("input",e)}}})};zI._withStripped=!0;const NI=t({render:zI,staticRenderFns:[]},(function(n){n&&n("data-v-52bc7988_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WQuillVueDyn.vue"},media:void 0})}),LI,"data-v-52bc7988",false,undefined,!1,o,void 0,void 0);var jI={components:{WPopup:Kb},props:{items:{type:Array,default:()=>[]},width:{type:Number,default:230},height:{type:Number,default:600},paddingStyle:{type:Object,default:()=>({top:10,right:0,bottom:10,left:50})},keyValueStart:{type:String,default:"valueStart"},keyValueEnd:{type:String,default:"valueEnd"},keyText:{type:String,default:"text"},valueMin:{type:Number,default:null},valueMax:{type:Number,default:null},title:{type:String,default:""},titleColor:{type:String,default:"#444"},titleFontSize:{type:String,default:"1rem"},titleShift:{type:Number,default:null},alignStart:{type:String,default:"left"},alignEnd:{type:String,default:"right"},funFormatTickValue:{type:Function,default:null},axisColor:{type:String,default:"#666"},tickColor:{type:String,default:"#666"},tickSize:{type:Number,default:5},tickLabelColor:{type:String,default:"#666"},tickLabelFontSize:{type:String,default:"0.7rem"},segmentBackgroundType:{type:String,default:"color"},segmentBackgroundColor:{type:String,default:"#FFB74D"},funSegmentBackgroundColor:{type:Function,default:null},segmentBackgroundImage:{type:String,default:""},funSegmentBackgroundImage:{type:Function,default:null},segmentBackgroundImageSize:{type:String,default:"75%"},segmentBorderColor:{type:[String,Object],default:"#FB8C00"},funSegmentBorderColor:{type:Function,default:null},segmentSize:{type:Number,default:6},textWithPopup:{type:Boolean,default:!1},textFontSize:{type:String,default:"0.7rem"},textColor:{type:String,default:"#222"},textBackgroundColor:{type:String,default:"#ddd"},textTriangularSize:{type:Number,default:15},textTriangularRatio:{type:Number,default:1.5},textShift:{type:Number,default:null},textCanClick:{type:Boolean,default:!1},segmentCanClick:{type:Boolean,default:!1}},data:function(){return{}},computed:{paddingFormat:function(){return ch(this.paddingStyle,{returnObj:!0})},paddingTop:function(){return Vo(this,"paddingFormat.top",0)},paddingRight:function(){return Vo(this,"paddingFormat.right",0)},paddingBottom:function(){return Vo(this,"paddingFormat.bottom",0)},paddingLeft:function(){return Vo(this,"paddingFormat.left",0)},plotWidth:function(){let n=this,e=n.width-n.paddingLeft-n.paddingRight;return e=Math.max(e,0),e},plotHeight:function(){let n=this,e=n.height-n.paddingTop-n.paddingBottom;return e=Math.max(e,0),e},useTextTriangularSizeHalf:function(){return this.textTriangularSize/this.textTriangularRatio},useAlignStart:function(){let n=this.alignStart;return"left"!==n&&"right"!==n&&(n="left"),n},useAlignEnd:function(){let n=this.alignEnd;return"left"!==n&&"right"!==n&&(n="right"),n},useItemsOri:function(){let n=this,e=[];return Jn(n.items,((t,r)=>{let o=Vo(t,n.keyValueStart,"");_i(o)||console.log(`value[${o}] at items[${r}].${n.keyValueStart} is not a number`),o=$i(o);let i=Vo(t,n.keyValueEnd,"");_i(i)||console.log(`value[${i}] at items[${r}].${n.keyValueEnd} is not a number`),i=$i(i);let l=Vo(t,n.keyText,"");Ji(l)||(l=""),e.push({valueStart:o,valueEnd:i,text:l,data:t})})),e},vsve:function(){return[...hi(this.useItemsOri,"valueStart"),...hi(this.useItemsOri,"valueEnd")]},useValueMin:function(){let n=this;return Pd(n.valueMin)?n.valueMin:Jm(n.vsve)},useValueMax:function(){let n=this;return Pd(n.valueMax)?n.valueMax:Xm(n.vsve)},userValueRange:function(){return this.useValueMax-this.useValueMin},useItems:function(){let n=this,e=[];return Jn(n.useItemsOri,(t=>{let r=t.valueStart;r=Math.min(Math.max(r,n.useValueMin),n.useValueMax);let o=t.valueEnd;o=Math.min(Math.max(o,n.useValueMin),n.useValueMax),e.push({...t,valueStart:r,valueEnd:o})})),e},useLabels:function(){let n=this,e=[];Jn(n.useItems,(t=>{e.push({value:t.valueStart,align:n.useAlignStart}),e.push({value:t.valueEnd,align:n.useAlignEnd})}));let t={value:n.useValueMin,align:n.useAlignStart},r={value:n.useValueMax,align:n.useAlignEnd};e=[t,...e,r];let o=qv(e,"value"),i=[];return Jn(o,((n,e)=>{if(1===xd(n))i.push(n[0]);else{let t=qv(n,"align");if(t=km(t),1===xd(t))i.push(t[0][0]);else{let n={value:e,align:"left"};i.push(n)}}})),e=i,e},useLabelsLocs:function(){let n=this,e=hi(n.useLabels,(e=>{let t=n.convertValueToY(e.value),r=e.value;return bi(n.funFormatTickValue)&&(r=n.funFormatTickValue(e.value)),{y:t,align:e.align,label:r}}));return e},useSamplesLocs:function(){let n=this,e=n.useValueMax-n.useValueMin,t=hi(n.useItems,(t=>{let r=(t.valueStart-n.useValueMin)/e*n.plotHeight,o=(t.valueEnd-n.useValueMin)/e*n.plotHeight;return{y:r,yc:(r+o)/2,height:o-r,text:t.text,data:t.data}}));return t},useTitleColor:function(){return Id(this.titleColor)},useAxisColor:function(){return Id(this.axisColor)},useTickColor:function(){return Id(this.tickColor)},useTickLabelColor:function(){return Id(this.tickLabelColor)},useSegmentCursor:function(){return this.segmentCanClick?"cursor:pointer;":""},useTitleShift:function(){let n=this;return Pd(n.titleShift)?n.titleShift:12-n.paddingLeft},useTickOuter:function(){let n=this.tickSize;return n+=4,n},useTextShift:function(){let n=this;if(Pd(n.textShift))return n.textShift;let e=1+n.segmentSize/2;return"right"!==n.useAlignStart&&"right"!==n.useAlignEnd||(e+=n.paddingLeft),e},useTextColor:function(){return Id(this.textColor)},useTextBackgroundColor:function(){return Id(this.textBackgroundColor)},useTextCursor:function(){return this.textWithPopup||this.textCanClick?"cursor:pointer;":""}},methods:{convertValueToY:function(n){let e=this;return(n-e.useValueMin)/e.userValueRange*e.plotHeight},getLabelShift:function(n){let e="";return"left"===n&&(e="-100% - "),`${e}${this.useTickOuter}px`},getSegmentBackground:function(n){let e=this,t="";if("color"===e.segmentBackgroundType)t=`background:${e.getSegmentBackgroundColor(n)};`;else{if("image"!==e.segmentBackgroundType)throw new Error(`segmentBackgroundType[${e.segmentBackgroundType}] need to set 'color' or 'image'`);{let r=e.segmentBackgroundImageSize;r=As(r,";",""),t=`background-image:url('${e.getSegmentBackgroundImage(n)}'); background-size:${r}; background-repeat:repeat;`}}return t},getSegmentBackgroundColor:function(n){let e=this,t=Id(e.segmentBackgroundColor);if(bi(e.funSegmentBackgroundColor)){let r=Vo(e,`useItems.${n}.data`,{});t=e.funSegmentBackgroundColor(r)}return t},getSegmentBackgroundImage:function(n){let e=this,t=e.segmentBackgroundImage;if(bi(e.funSegmentBackgroundImage)){let r=Vo(e,`useItems.${n}.data`,{});t=e.funSegmentBackgroundImage(r)}return t},getSegmentBorder:function(n){let e,t=this,r=e=>{let r=Id(e);if(bi(t.funSegmentBorderColor)){let e=Vo(t,`useItems.${n}.data`,{});r=t.funSegmentBorderColor(e)}return r};if(Gi(t.segmentBorderColor)){let n=uh(t.segmentBorderColor,{def:"",type:"text"});e=`border-left:1px solid ${r(n.left)}; border-right:1px solid ${r(n.right)}; border-top:1px solid ${r(n.top)}; border-bottom:1px solid ${r(n.bottom)};`}else e=`border:1px solid ${r(t.segmentBorderColor)};`;return e},clickText:function(n,e){if(!this.textCanClick)return;let t={ev:n,item:e};this.$emit("click-text",t)},clickSegment:function(n,e){if(!this.segmentCanClick)return;let t={ev:n,item:e};this.$emit("click-segment",t)}}};const YI=jI;var GI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{style:"width:"+n.width+"px; height:"+n.height+"px; box-sizing:border-box;"},[t("div",{style:"padding:"+n.paddingTop+"px "+n.paddingRight+"px "+n.paddingBottom+"px "+n.paddingLeft+"px;"},[t("div",{style:"position:relative; width:"+n.plotWidth+"px; height:"+n.plotHeight+"px; border-left:1px solid "+n.useAxisColor+";"},[n.title?t("div",{style:"position:absolute; top:50%; left:0%; width:100px; color:"+n.useTitleColor+"; font-size:"+n.titleFontSize+"; text-align:center; transform-origin:center; transform:translate(-50%,-50%) rotate(-90deg) translateY("+n.useTitleShift+"px);"},[n._v("\n "+n._s(n.title)+"\n ")]):n._e(),n._v(" "),n._l(n.useLabelsLocs,(function(e,r){return t("div",{key:"label"+r,style:"position:absolute; top:"+e.y+"px; left:0px; transform:translate( calc( "+n.getLabelShift(e.align)+" ), -50% );"},[t("div",{style:"color:"+n.useTickLabelColor+"; font-size:"+n.tickLabelFontSize+";"},[n._v("\n "+n._s(e.label)+"\n ")])])})),n._v(" "),n._l(n.useLabelsLocs,(function(e,r){return t("div",{key:"tick"+r,style:"position:absolute; top:"+e.y+"px; left:-"+n.tickSize+"px;"},[t("div",{style:"width:"+(2*n.tickSize+1)+"px; border-top:1px solid "+n.useTickColor+";"})])})),n._v(" "),n._l(n.useSamplesLocs,(function(e,r){return t("div",{key:"sample-block"+r,style:"position:absolute; top:"+e.y+"px; left:-"+n.segmentSize/2+"px; width:"+n.segmentSize+"px; height:"+e.height+"px; "+n.getSegmentBackground(r)+" "+n.getSegmentBorder(r)+" "+n.useSegmentCursor,on:{click:function(t){n.clickSegment(t,e.data)}}})})),n._v(" "),t("div",{style:"position:absolute; top:0px; left:0px; transform:translateX(-"+n.paddingLeft+"px);"},[n._t("support-left",null,{convertValueToY:n.convertValueToY})],2),n._v(" "),t("div",{style:"position:absolute; top:0px; left:"+n.useTickOuter+"px;"},[n._t("support-right",null,{convertValueToY:n.convertValueToY})],2),n._v(" "),n._l(n.useSamplesLocs,(function(e,r){return t("div",{key:"sample-text"+r,style:"position:absolute; top:"+e.yc+"px; left:"+n.useTextShift+"px;"},[t("div",{staticStyle:{position:"relative"}},[t("div",{staticStyle:{position:"absolute",top:"-50%",left:"0px",height:"100%"}},[t("div",{staticStyle:{display:"flex","align-items":"center",height:"100%"}},[n._t("text",(function(){return[n.textWithPopup?[t("div",{style:"display:flex;"},[t("WPopup",{attrs:{isolated:!0},scopedSlots:n._u([{key:"trigger",fn:function(){return[t("div",{style:"display:flex; "+n.useTextCursor,on:{click:function(t){n.clickText(t,e.data)}}},[t("div",{style:"width:0; height:0; border-top:"+n.useTextTriangularSizeHalf+"px solid transparent; border-right:"+n.useTextTriangularSizeHalf*n.textTriangularRatio+"px solid "+n.useTextBackgroundColor+"; border-bottom:"+n.useTextTriangularSizeHalf+"px solid transparent;"}),n._v(" "),t("div",{style:"padding-right:5px; background:"+n.useTextBackgroundColor+";"},[t("div",{style:"height:100%; display:flex; align-items:center;"},[t("div",{style:"color:"+n.useTextColor+"; font-size:"+n.textFontSize+"; white-space:nowrap;"},[n._v("\n "+n._s(e.text)+"\n ")])])])])]},proxy:!0},{key:"content",fn:function(){return[n._t("text-popup",null,{item:e.data,index:r})]},proxy:!0}],null,!0)})],1)]:[t("div",{style:"display:flex; "+n.useTextCursor,on:{click:function(t){n.clickText(t,e.data)}}},[t("div",{style:"width:0; height:0; border-top:"+n.useTextTriangularSizeHalf+"px solid transparent; border-right:"+n.useTextTriangularSizeHalf*n.textTriangularRatio+"px solid "+n.useTextBackgroundColor+"; border-bottom:"+n.useTextTriangularSizeHalf+"px solid transparent;"}),n._v(" "),t("div",{style:"padding-right:5px; background:"+n.useTextBackgroundColor+";"},[t("div",{style:"height:100%; display:flex; align-items:center;"},[t("div",{style:"color:"+n.useTextColor+"; font-size:"+n.textFontSize+"; white-space:nowrap;"},[n._v("\n "+n._s(e.text)+"\n ")])])])])]]}),{item:e.data,index:r})],2)])])])}))],2)])])};GI._withStripped=!0;const KI=t({render:GI,staticRenderFns:[]},(function(n){n&&n("data-v-141049fb_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WSegmentsVertical.vue"},media:void 0})}),YI,"data-v-141049fb",false,undefined,!1,o,void 0,void 0);
|
|
16
|
+
!function(n,e){n.exports=function(){function n(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function e(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(n){l(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}function t(n){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t(n)}function r(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function o(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,d(r.key),r)}}function i(n,e,t){return e&&o(n.prototype,e),t&&o(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function l(n,e,t){return(e=d(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function a(n,e){if("object"!=typeof n||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var r=t.call(n,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(n)}function d(n){var e=a(n,"string");return"symbol"==typeof e?e:String(e)}var s={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialCoverage:.9,initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,focus:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,move:null,moved:null,rotate:null,rotated:null,scale:null,scaled:null,zoom:null,zoomed:null,play:null,stop:null},u='<div class="viewer-container" tabindex="-1" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list" role="navigation"></ul></div></div><div class="viewer-tooltip" role="alert" aria-hidden="true"></div><div class="viewer-button" data-viewer-action="mix" role="button"></div><div class="viewer-player"></div></div>',c="undefined"!=typeof window&&void 0!==window.document,p=c?window:{},f=!(!c||!p.document.documentElement)&&"ontouchstart"in p.document.documentElement,h=!!c&&"PointerEvent"in p,g="viewer",m="move",v="switch",y="zoom",b="".concat(g,"-active"),C="".concat(g,"-close"),x="".concat(g,"-fade"),S="".concat(g,"-fixed"),I="".concat(g,"-fullscreen"),w="".concat(g,"-fullscreen-exit"),k="".concat(g,"-hide"),T="".concat(g,"-hide-md-down"),H="".concat(g,"-hide-sm-down"),B="".concat(g,"-hide-xs-down"),W="".concat(g,"-in"),A="".concat(g,"-invisible"),Z="".concat(g,"-loading"),X="".concat(g,"-move"),V="".concat(g,"-open"),P="".concat(g,"-show"),F="".concat(g,"-transition"),R="click",L="dblclick",z="dragstart",N="focusin",j="keydown",Y="load",G="error",K=f?"touchend touchcancel":"mouseup",D=f?"touchmove":"mousemove",O=f?"touchstart":"mousedown",J=h?"pointerdown":O,E=h?"pointermove":D,_=h?"pointerup pointercancel":K,$="resize",M="transitionend",U="wheel",Q="ready",q="show",nn="shown",en="hide",tn="hidden",rn="view",on="viewed",ln="move",an="moved",dn="rotate",sn="rotated",un="scale",cn="scaled",pn="zoom",fn="zoomed",hn="play",gn="stop",mn="".concat(g,"Action"),vn=/\s\s*/,yn=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function bn(n){return"string"==typeof n}var Cn=Number.isNaN||p.isNaN;function xn(n){return"number"==typeof n&&!Cn(n)}function Sn(n){return void 0===n}function In(n){return"object"===t(n)&&null!==n}var wn=Object.prototype.hasOwnProperty;function kn(n){if(!In(n))return!1;try{var e=n.constructor,t=e.prototype;return e&&t&&wn.call(t,"isPrototypeOf")}catch(n){return!1}}function Tn(n){return"function"==typeof n}function Hn(n,e){if(n&&Tn(e))if(Array.isArray(n)||xn(n.length)){var t,r=n.length;for(t=0;t<r&&!1!==e.call(n,n[t],t,n);t+=1);}else In(n)&&Object.keys(n).forEach((function(t){e.call(n,n[t],t,n)}));return n}var Bn=Object.assign||function(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];return In(n)&&t.length>0&&t.forEach((function(e){In(e)&&Object.keys(e).forEach((function(t){n[t]=e[t]}))})),n},Wn=/^(?:width|height|left|top|marginLeft|marginTop)$/;function An(n,e){var t=n.style;Hn(e,(function(n,e){Wn.test(e)&&xn(n)&&(n+="px"),t[e]=n}))}function Zn(n){return bn(n)?n.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"):n}function Xn(n,e){return!(!n||!e)&&(n.classList?n.classList.contains(e):n.className.indexOf(e)>-1)}function Vn(n,e){if(n&&e)if(xn(n.length))Hn(n,(function(n){Vn(n,e)}));else if(n.classList)n.classList.add(e);else{var t=n.className.trim();t?t.indexOf(e)<0&&(n.className="".concat(t," ").concat(e)):n.className=e}}function Pn(n,e){n&&e&&(xn(n.length)?Hn(n,(function(n){Pn(n,e)})):n.classList?n.classList.remove(e):n.className.indexOf(e)>=0&&(n.className=n.className.replace(e,"")))}function Fn(n,e,t){e&&(xn(n.length)?Hn(n,(function(n){Fn(n,e,t)})):t?Vn(n,e):Pn(n,e))}var Rn=/([a-z\d])([A-Z])/g;function Ln(n){return n.replace(Rn,"$1-$2").toLowerCase()}function zn(n,e){return In(n[e])?n[e]:n.dataset?n.dataset[e]:n.getAttribute("data-".concat(Ln(e)))}function Nn(n,e,t){In(t)?n[e]=t:n.dataset?n.dataset[e]=t:n.setAttribute("data-".concat(Ln(e)),t)}var jn=function(){var n=!1;if(c){var e=!1,t=function(){},r=Object.defineProperty({},"once",{get:function(){return n=!0,e},set:function(n){e=n}});p.addEventListener("test",t,r),p.removeEventListener("test",t,r)}return n}();function Yn(n,e,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t;e.trim().split(vn).forEach((function(e){if(!jn){var i=n.listeners;i&&i[e]&&i[e][t]&&(o=i[e][t],delete i[e][t],0===Object.keys(i[e]).length&&delete i[e],0===Object.keys(i).length&&delete n.listeners)}n.removeEventListener(e,o,r)}))}function Gn(n,e,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t;e.trim().split(vn).forEach((function(e){if(r.once&&!jn){var i=n.listeners,l=void 0===i?{}:i;o=function(){delete l[e][t],n.removeEventListener(e,o,r);for(var i=arguments.length,a=new Array(i),d=0;d<i;d++)a[d]=arguments[d];t.apply(n,a)},l[e]||(l[e]={}),l[e][t]&&n.removeEventListener(e,l[e][t],r),l[e][t]=o,n.listeners=l}n.addEventListener(e,o,r)}))}function Kn(n,t,r,o){var i;return Tn(Event)&&Tn(CustomEvent)?i=new CustomEvent(t,e({bubbles:!0,cancelable:!0,detail:r},o)):(i=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,r),n.dispatchEvent(i)}function Dn(n){var e=n.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}function On(n){var e=n.rotate,t=n.scaleX,r=n.scaleY,o=n.translateX,i=n.translateY,l=[];xn(o)&&0!==o&&l.push("translateX(".concat(o,"px)")),xn(i)&&0!==i&&l.push("translateY(".concat(i,"px)")),xn(e)&&0!==e&&l.push("rotate(".concat(e,"deg)")),xn(t)&&1!==t&&l.push("scaleX(".concat(t,")")),xn(r)&&1!==r&&l.push("scaleY(".concat(r,")"));var a=l.length?l.join(" "):"none";return{WebkitTransform:a,msTransform:a,transform:a}}function Jn(n){return bn(n)?decodeURIComponent(n.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}var En=p.navigator&&/Version\/\d+(\.\d+)+?\s+Safari/i.test(p.navigator.userAgent);function _n(n,e,t){var r=document.createElement("img");if(n.naturalWidth&&!En)return t(n.naturalWidth,n.naturalHeight),r;var o=document.body||document.documentElement;return r.onload=function(){t(r.width,r.height),En||o.removeChild(r)},Hn(e.inheritedAttributes,(function(e){var t=n.getAttribute(e);null!==t&&r.setAttribute(e,t)})),r.src=n.src,En||(r.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",o.appendChild(r)),r}function $n(n){switch(n){case 2:return B;case 3:return H;case 4:return T;default:return""}}function Mn(n){var t=e({},n),r=[];return Hn(n,(function(n,e){delete t[e],Hn(t,(function(e){var t=Math.abs(n.startX-e.startX),o=Math.abs(n.startY-e.startY),i=Math.abs(n.endX-e.endX),l=Math.abs(n.endY-e.endY),a=Math.sqrt(t*t+o*o),d=(Math.sqrt(i*i+l*l)-a)/a;r.push(d)}))})),r.sort((function(n,e){return Math.abs(n)<Math.abs(e)})),r[0]}function Un(n,t){var r=n.pageX,o=n.pageY,i={endX:r,endY:o};return t?i:e({timeStamp:Date.now(),startX:r,startY:o},i)}function Qn(n){var e=0,t=0,r=0;return Hn(n,(function(n){var o=n.startX,i=n.startY;e+=o,t+=i,r+=1})),{pageX:e/=r,pageY:t/=r}}var qn,ne={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initBody:function(){var n=this.element.ownerDocument,e=n.body||n.documentElement;this.body=e,this.scrollbarWidth=window.innerWidth-n.documentElement.clientWidth,this.initialBodyPaddingRight=e.style.paddingRight,this.initialBodyComputedPaddingRight=window.getComputedStyle(e).paddingRight},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var n,e=this.options,t=this.parent;e.inline&&(n={width:Math.max(t.offsetWidth,e.minWidth),height:Math.max(t.offsetHeight,e.minHeight)},this.parentData=n),!this.fulled&&n||(n=this.containerData),this.viewerData=Bn({},n)},renderViewer:function(){this.options.inline&&!this.fulled&&An(this.viewer,this.viewerData)},initList:function(){var n=this,e=this.element,t=this.options,r=this.list,o=[];r.innerHTML="",Hn(this.images,(function(e,i){var l=e.src,a=e.alt||Jn(l),d=n.getImageURL(e);if(l||d){var s=document.createElement("li"),u=document.createElement("img");Hn(t.inheritedAttributes,(function(n){var t=e.getAttribute(n);null!==t&&u.setAttribute(n,t)})),t.navbar&&(u.src=l||d),u.alt=a,u.setAttribute("data-original-url",d||l),s.setAttribute("data-index",i),s.setAttribute("data-viewer-action","view"),s.setAttribute("role","button"),t.keyboard&&s.setAttribute("tabindex",0),s.appendChild(u),r.appendChild(s),o.push(s)}})),this.items=o,Hn(o,(function(e){var r,o,i=e.firstElementChild;Nn(i,"filled",!0),t.loading&&Vn(e,Z),Gn(i,Y,r=function(r){Yn(i,G,o),t.loading&&Pn(e,Z),n.loadImage(r)},{once:!0}),Gn(i,G,o=function(){Yn(i,Y,r),t.loading&&Pn(e,Z)},{once:!0})})),t.transition&&Gn(e,on,(function(){Vn(r,F)}),{once:!0})},renderList:function(){var n=this.index,e=this.items[n];if(e){var t=e.nextElementSibling,r=parseInt(window.getComputedStyle(t||e).marginLeft,10),o=e.offsetWidth,i=o+r;An(this.list,Bn({width:i*this.length-r},On({translateX:(this.viewerData.width-o)/2-i*n})))}},resetList:function(){var n=this.list;n.innerHTML="",Pn(n,F),An(n,On({translateX:0}))},initImage:function(n){var e,t=this,r=this.options,o=this.image,i=this.viewerData,l=this.footer.offsetHeight,a=i.width,d=Math.max(i.height-l,l),s=this.imageData||{};this.imageInitializing={abort:function(){e.onload=null}},e=_n(o,r,(function(e,o){var i=e/o,l=Math.max(0,Math.min(1,r.initialCoverage)),u=a,c=d;t.imageInitializing=!1,d*i>a?c=a/i:u=d*i,l=xn(l)?l:.9,u=Math.min(u*l,e),c=Math.min(c*l,o);var p=(a-u)/2,f=(d-c)/2,h={left:p,top:f,x:p,y:f,width:u,height:c,oldRatio:1,ratio:u/e,aspectRatio:i,naturalWidth:e,naturalHeight:o},g=Bn({},h);r.rotatable&&(h.rotate=s.rotate||0,g.rotate=0),r.scalable&&(h.scaleX=s.scaleX||1,h.scaleY=s.scaleY||1,g.scaleX=1,g.scaleY=1),t.imageData=h,t.initialImageData=g,n&&n()}))},renderImage:function(n){var e=this,t=this.image,r=this.imageData;if(An(t,Bn({width:r.width,height:r.height,marginLeft:r.x,marginTop:r.y},On(r))),n)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&Xn(t,F)){var o=function(){e.imageRendering=!1,n()};this.imageRendering={abort:function(){Yn(t,M,o)}},Gn(t,M,o,{once:!0})}else n()},resetImage:function(){var n=this.image;n&&(this.viewing&&this.viewing.abort(),n.parentNode.removeChild(n),this.image=null,this.title.innerHTML="")}},ee={bind:function(){var n=this.options,e=this.viewer,t=this.canvas,r=this.element.ownerDocument;Gn(e,R,this.onClick=this.click.bind(this)),Gn(e,z,this.onDragStart=this.dragstart.bind(this)),Gn(t,J,this.onPointerDown=this.pointerdown.bind(this)),Gn(r,E,this.onPointerMove=this.pointermove.bind(this)),Gn(r,_,this.onPointerUp=this.pointerup.bind(this)),Gn(r,j,this.onKeyDown=this.keydown.bind(this)),Gn(window,$,this.onResize=this.resize.bind(this)),n.zoomable&&n.zoomOnWheel&&Gn(e,U,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),n.toggleOnDblclick&&Gn(t,L,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var n=this.options,e=this.viewer,t=this.canvas,r=this.element.ownerDocument;Yn(e,R,this.onClick),Yn(e,z,this.onDragStart),Yn(t,J,this.onPointerDown),Yn(r,E,this.onPointerMove),Yn(r,_,this.onPointerUp),Yn(r,j,this.onKeyDown),Yn(window,$,this.onResize),n.zoomable&&n.zoomOnWheel&&Yn(e,U,this.onWheel,{passive:!1,capture:!0}),n.toggleOnDblclick&&Yn(t,L,this.onDblclick)}},te={click:function(n){var e=this.options,t=this.imageData,r=n.target,o=zn(r,mn);switch(o||"img"!==r.localName||"li"!==r.parentElement.localName||(o=zn(r=r.parentElement,mn)),f&&n.isTrusted&&r===this.canvas&&clearTimeout(this.clickCanvasTimeout),o){case"mix":this.played?this.stop():e.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(zn(r,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(e.loop);break;case"play":this.play(e.fullscreen);break;case"next":this.next(e.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-t.scaleX||-1);break;case"flip-vertical":this.scaleY(-t.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(n){n.preventDefault(),this.viewed&&n.target===this.image&&(f&&n.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(n.isTrusted?n:n.detail&&n.detail.originalEvent))},load:function(){var n=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var e=this.element,t=this.options,r=this.image,o=this.index,i=this.viewerData;Pn(r,A),t.loading&&Pn(this.canvas,Z),r.style.cssText="height:0;"+"margin-left:".concat(i.width/2,"px;")+"margin-top:".concat(i.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage((function(){Fn(r,X,t.movable),Fn(r,F,t.transition),n.renderImage((function(){n.viewed=!0,n.viewing=!1,Tn(t.viewed)&&Gn(e,on,t.viewed,{once:!0}),Kn(e,on,{originalImage:n.images[o],index:o,image:r},{cancelable:!1})}))}))},loadImage:function(n){var e=n.target,t=e.parentNode,r=t.offsetWidth||30,o=t.offsetHeight||50,i=!!zn(e,"filled");_n(e,this.options,(function(n,t){var l=n/t,a=r,d=o;o*l>r?i?a=o*l:d=r/l:i?d=r/l:a=o*l,An(e,Bn({width:a,height:d},On({translateX:(r-a)/2,translateY:(o-d)/2})))}))},keydown:function(n){var e=this.options;if(e.keyboard){var t=n.keyCode||n.which||n.charCode;if(13===t&&this.viewer.contains(n.target)&&this.click(n),this.fulled)switch(t){case 27:this.played?this.stop():e.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(e.loop);break;case 38:n.preventDefault(),this.zoom(e.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(e.loop);break;case 40:n.preventDefault(),this.zoom(-e.zoomRatio,!0);break;case 48:case 49:n.ctrlKey&&(n.preventDefault(),this.toggle())}}},dragstart:function(n){"img"===n.target.localName&&n.preventDefault()},pointerdown:function(n){var e=this.options,t=this.pointers,r=n.buttons,o=n.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||("mousedown"===n.type||"pointerdown"===n.type&&"mouse"===n.pointerType)&&(xn(r)&&1!==r||xn(o)&&0!==o||n.ctrlKey))){n.preventDefault(),n.changedTouches?Hn(n.changedTouches,(function(n){t[n.identifier]=Un(n)})):t[n.pointerId||0]=Un(n);var i=!!e.movable&&m;e.zoomOnTouch&&e.zoomable&&Object.keys(t).length>1?i=y:e.slideOnTouch&&("touch"===n.pointerType||"touchstart"===n.type)&&this.isSwitchable()&&(i=v),!e.transition||i!==m&&i!==y||Pn(this.image,F),this.action=i}},pointermove:function(n){var e=this.pointers,t=this.action;this.viewed&&t&&(n.preventDefault(),n.changedTouches?Hn(n.changedTouches,(function(n){Bn(e[n.identifier]||{},Un(n,!0))})):Bn(e[n.pointerId||0]||{},Un(n,!0)),this.change(n))},pointerup:function(n){var e,t=this,r=this.options,o=this.action,i=this.pointers;n.changedTouches?Hn(n.changedTouches,(function(n){e=i[n.identifier],delete i[n.identifier]})):(e=i[n.pointerId||0],delete i[n.pointerId||0]),o&&(n.preventDefault(),!r.transition||o!==m&&o!==y||Vn(this.image,F),this.action=!1,f&&o!==y&&e&&Date.now()-e.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),r.toggleOnDblclick&&this.viewed&&n.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout((function(){Kn(t.image,L,{originalEvent:n})}),50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout((function(){t.imageClicked=!1}),500)):(this.imageClicked=!1,r.backdrop&&"static"!==r.backdrop&&n.target===this.canvas&&(this.clickCanvasTimeout=setTimeout((function(){Kn(t.canvas,R,{originalEvent:n})}),50)))))},resize:function(){var n=this;if(this.isShown&&!this.hiding&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){n.renderImage()})),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement))return void this.stop();Hn(this.player.getElementsByTagName("img"),(function(e){Gn(e,Y,n.loadImage.bind(n),{once:!0}),Kn(e,Y)}))}},wheel:function(n){var e=this;if(this.viewed&&(n.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout((function(){e.wheeling=!1}),50);var t=Number(this.options.zoomRatio)||.1,r=1;n.deltaY?r=n.deltaY>0?1:-1:n.wheelDelta?r=-n.wheelDelta/120:n.detail&&(r=n.detail>0?1:-1),this.zoom(-r*t,!0,null,n)}}},re={show:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.element,t=this.options;if(t.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(n),this;if(Tn(t.show)&&Gn(e,q,t.show,{once:!0}),!1===Kn(e,q)||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var r=this.viewer;if(Pn(r,k),r.setAttribute("role","dialog"),r.setAttribute("aria-labelledby",this.title.id),r.setAttribute("aria-modal",!0),r.removeAttribute("aria-hidden"),t.transition&&!n){var o=this.shown.bind(this);this.transitioning={abort:function(){Yn(r,M,o),Pn(r,W)}},Vn(r,F),r.initialOffsetWidth=r.offsetWidth,Gn(r,M,o,{once:!0}),Vn(r,W)}else Vn(r,W),this.shown();return this},hide:function(){var n=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.element,r=this.options;if(r.inline||this.hiding||!this.isShown&&!this.showing)return this;if(Tn(r.hide)&&Gn(t,en,r.hide,{once:!0}),!1===Kn(t,en))return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var o=this.viewer,i=this.image,l=function(){Pn(o,W),n.hidden()};if(r.transition&&!e){var a=function e(t){t&&t.target===o&&(Yn(o,M,e),n.hidden())},d=function(){Xn(o,F)?(Gn(o,M,a),Pn(o,W)):l()};this.transitioning={abort:function(){n.viewed&&Xn(i,F)?Yn(i,M,d):Xn(o,F)&&Yn(o,M,a)}},this.viewed&&Xn(i,F)?(Gn(i,M,d,{once:!0}),this.zoomTo(0,!1,null,null,!0)):d()}else l();return this},view:function(){var n=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.initialViewIndex;if(e=Number(e)||0,this.hiding||this.played||e<0||e>=this.length||this.viewed&&e===this.index)return this;if(!this.isShown)return this.index=e,this.show();this.viewing&&this.viewing.abort();var t=this.element,r=this.options,o=this.title,i=this.canvas,l=this.items[e],a=l.querySelector("img"),d=zn(a,"originalUrl"),s=a.getAttribute("alt"),u=document.createElement("img");if(Hn(r.inheritedAttributes,(function(n){var e=a.getAttribute(n);null!==e&&u.setAttribute(n,e)})),u.src=d,u.alt=s,Tn(r.view)&&Gn(t,rn,r.view,{once:!0}),!1===Kn(t,rn,{originalImage:this.images[e],index:e,image:u})||!this.isShown||this.hiding||this.played)return this;var c=this.items[this.index];c&&(Pn(c,b),c.removeAttribute("aria-selected")),Vn(l,b),l.setAttribute("aria-selected",!0),r.focus&&l.focus(),this.image=u,this.viewed=!1,this.index=e,this.imageData={},Vn(u,A),r.loading&&Vn(i,Z),i.innerHTML="",i.appendChild(u),this.renderList(),o.innerHTML="";var p,f,h=function(){var e=n.imageData,t=Array.isArray(r.title)?r.title[1]:r.title;o.innerHTML=Zn(Tn(t)?t.call(n,u,e):"".concat(s," (").concat(e.naturalWidth," × ").concat(e.naturalHeight,")"))};return Gn(t,on,h,{once:!0}),this.viewing={abort:function(){Yn(t,on,h),u.complete?n.imageRendering?n.imageRendering.abort():n.imageInitializing&&n.imageInitializing.abort():(u.src="",Yn(u,Y,p),n.timeout&&clearTimeout(n.timeout))}},u.complete?this.load():(Gn(u,Y,p=function(){Yn(u,G,f),n.load()},{once:!0}),Gn(u,G,f=function(){Yn(u,Y,p),n.timeout&&(clearTimeout(n.timeout),n.timeout=!1),Pn(u,A),r.loading&&Pn(n.canvas,Z)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((function(){Pn(u,A),n.timeout=!1}),1e3)),this},prev:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.index-1;return e<0&&(e=n?this.length-1:0),this.view(e),this},next:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.length-1,t=this.index+1;return t>e&&(t=n?0:e),this.view(t),this},move:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,t=this.imageData;return this.moveTo(Sn(n)?n:t.x+Number(n),Sn(e)?e:t.y+Number(e)),this},moveTo:function(n){var e=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=this.element,i=this.options,l=this.imageData;if(n=Number(n),t=Number(t),this.viewed&&!this.played&&i.movable){var a=l.x,d=l.y,s=!1;if(xn(n)?s=!0:n=a,xn(t)?s=!0:t=d,s){if(Tn(i.move)&&Gn(o,ln,i.move,{once:!0}),!1===Kn(o,ln,{x:n,y:t,oldX:a,oldY:d,originalEvent:r}))return this;l.x=n,l.y=t,l.left=n,l.top=t,this.moving=!0,this.renderImage((function(){e.moving=!1,Tn(i.moved)&&Gn(o,an,i.moved,{once:!0}),Kn(o,an,{x:n,y:t,oldX:a,oldY:d,originalEvent:r},{cancelable:!1})}))}}return this},rotate:function(n){return this.rotateTo((this.imageData.rotate||0)+Number(n)),this},rotateTo:function(n){var e=this,t=this.element,r=this.options,o=this.imageData;if(xn(n=Number(n))&&this.viewed&&!this.played&&r.rotatable){var i=o.rotate;if(Tn(r.rotate)&&Gn(t,dn,r.rotate,{once:!0}),!1===Kn(t,dn,{degree:n,oldDegree:i}))return this;o.rotate=n,this.rotating=!0,this.renderImage((function(){e.rotating=!1,Tn(r.rotated)&&Gn(t,sn,r.rotated,{once:!0}),Kn(t,sn,{degree:n,oldDegree:i},{cancelable:!1})}))}return this},scaleX:function(n){return this.scale(n,this.imageData.scaleY),this},scaleY:function(n){return this.scale(this.imageData.scaleX,n),this},scale:function(n){var e=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=this.element,o=this.options,i=this.imageData;if(n=Number(n),t=Number(t),this.viewed&&!this.played&&o.scalable){var l=i.scaleX,a=i.scaleY,d=!1;if(xn(n)?d=!0:n=l,xn(t)?d=!0:t=a,d){if(Tn(o.scale)&&Gn(r,un,o.scale,{once:!0}),!1===Kn(r,un,{scaleX:n,scaleY:t,oldScaleX:l,oldScaleY:a}))return this;i.scaleX=n,i.scaleY=t,this.scaling=!0,this.renderImage((function(){e.scaling=!1,Tn(o.scaled)&&Gn(r,cn,o.scaled,{once:!0}),Kn(r,cn,{scaleX:n,scaleY:t,oldScaleX:l,oldScaleY:a},{cancelable:!1})}))}}return this},zoom:function(n){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=this.imageData;return n=(n=Number(n))<0?1/(1-n):1+n,this.zoomTo(o.width*n/o.naturalWidth,e,t,r),this},zoomTo:function(n){var e=this,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=this.element,a=this.options,d=this.pointers,s=this.imageData,u=s.x,c=s.y,p=s.width,f=s.height,h=s.naturalWidth,g=s.naturalHeight;if(xn(n=Math.max(0,n))&&this.viewed&&!this.played&&(i||a.zoomable)){if(!i){var m=Math.max(.01,a.minZoomRatio),v=Math.min(100,a.maxZoomRatio);n=Math.min(Math.max(n,m),v)}if(o)switch(o.type){case"wheel":a.zoomRatio>=.055&&n>.95&&n<1.05&&(n=1);break;case"pointermove":case"touchmove":case"mousemove":n>.99&&n<1.01&&(n=1)}var y=h*n,b=g*n,C=y-p,x=b-f,S=s.ratio;if(Tn(a.zoom)&&Gn(l,pn,a.zoom,{once:!0}),!1===Kn(l,pn,{ratio:n,oldRatio:S,originalEvent:o}))return this;if(this.zooming=!0,o){var I=Dn(this.viewer),w=d&&Object.keys(d).length>0?Qn(d):{pageX:o.pageX,pageY:o.pageY};s.x-=C*((w.pageX-I.left-u)/p),s.y-=x*((w.pageY-I.top-c)/f)}else kn(r)&&xn(r.x)&&xn(r.y)?(s.x-=C*((r.x-u)/p),s.y-=x*((r.y-c)/f)):(s.x-=C/2,s.y-=x/2);s.left=s.x,s.top=s.y,s.width=y,s.height=b,s.oldRatio=S,s.ratio=n,this.renderImage((function(){e.zooming=!1,Tn(a.zoomed)&&Gn(l,fn,a.zoomed,{once:!0}),Kn(l,fn,{ratio:n,oldRatio:S,originalEvent:o},{cancelable:!1})})),t&&this.tooltip()}return this},play:function(){var n=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isShown||this.played)return this;var t=this.element,r=this.options;if(Tn(r.play)&&Gn(t,hn,r.play,{once:!0}),!1===Kn(t,hn))return this;var o=this.player,i=this.loadImage.bind(this),l=[],a=0,d=0;if(this.played=!0,this.onLoadWhenPlay=i,e&&this.requestFullscreen(e),Vn(o,P),Hn(this.items,(function(n,e){var t=n.querySelector("img"),s=document.createElement("img");s.src=zn(t,"originalUrl"),s.alt=t.getAttribute("alt"),s.referrerPolicy=t.referrerPolicy,a+=1,Vn(s,x),Fn(s,F,r.transition),Xn(n,b)&&(Vn(s,W),d=e),l.push(s),Gn(s,Y,i,{once:!0}),o.appendChild(s)})),xn(r.interval)&&r.interval>0){var s=function e(){clearTimeout(n.playing.timeout),Pn(l[d],W),Vn(l[d=(d-=1)>=0?d:a-1],W),n.playing.timeout=setTimeout(e,r.interval)},u=function e(){clearTimeout(n.playing.timeout),Pn(l[d],W),Vn(l[d=(d+=1)<a?d:0],W),n.playing.timeout=setTimeout(e,r.interval)};a>1&&(this.playing={prev:s,next:u,timeout:setTimeout(u,r.interval)})}return this},stop:function(){var n=this;if(!this.played)return this;var e=this.element,t=this.options;if(Tn(t.stop)&&Gn(e,gn,t.stop,{once:!0}),!1===Kn(e,gn))return this;var r=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,Hn(r.getElementsByTagName("img"),(function(e){Yn(e,Y,n.onLoadWhenPlay)})),Pn(r,P),r.innerHTML="",this.exitFullscreen(),this},full:function(){var n=this,e=this.options,t=this.viewer,r=this.image,o=this.list;return!this.isShown||this.played||this.fulled||!e.inline||(this.fulled=!0,this.open(),Vn(this.button,w),e.transition&&(Pn(o,F),this.viewed&&Pn(r,F)),Vn(t,S),t.setAttribute("role","dialog"),t.setAttribute("aria-labelledby",this.title.id),t.setAttribute("aria-modal",!0),t.removeAttribute("style"),An(t,{zIndex:e.zIndex}),e.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=Bn({},this.containerData),this.renderList(),this.viewed&&this.initImage((function(){n.renderImage((function(){e.transition&&setTimeout((function(){Vn(r,F),Vn(o,F)}),0)}))}))),this},exit:function(){var n=this,e=this.options,t=this.viewer,r=this.image,o=this.list;return this.isShown&&!this.played&&this.fulled&&e.inline?(this.fulled=!1,this.close(),Pn(this.button,w),e.transition&&(Pn(o,F),this.viewed&&Pn(r,F)),e.focus&&this.clearEnforceFocus(),t.removeAttribute("role"),t.removeAttribute("aria-labelledby"),t.removeAttribute("aria-modal"),Pn(t,S),An(t,{zIndex:e.zIndexInline}),this.viewerData=Bn({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){n.renderImage((function(){e.transition&&setTimeout((function(){Vn(r,F),Vn(o,F)}),0)}))})),this):this},tooltip:function(){var n=this,e=this.options,t=this.tooltipBox,r=this.imageData;return this.viewed&&!this.played&&e.tooltip?(t.textContent="".concat(Math.round(100*r.ratio),"%"),this.tooltipping?clearTimeout(this.tooltipping):e.transition?(this.fading&&Kn(t,M),Vn(t,P),Vn(t,x),Vn(t,F),t.removeAttribute("aria-hidden"),t.initialOffsetWidth=t.offsetWidth,Vn(t,W)):(Vn(t,P),t.removeAttribute("aria-hidden")),this.tooltipping=setTimeout((function(){e.transition?(Gn(t,M,(function(){Pn(t,P),Pn(t,x),Pn(t,F),t.setAttribute("aria-hidden",!0),n.fading=!1}),{once:!0}),Pn(t,W),n.fading=!0):(Pn(t,P),t.setAttribute("aria-hidden",!0)),n.tooltipping=!1}),1e3),this):this},toggle:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 1===this.imageData.ratio?this.zoomTo(this.imageData.oldRatio,!0,null,n):this.zoomTo(1,!0,null,n),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=Bn({},this.initialImageData),this.renderImage()),this},update:function(){var n=this,e=this.element,t=this.options,r=this.isImg;if(r&&!e.parentNode)return this.destroy();var o=[];if(Hn(r?[e]:e.querySelectorAll("img"),(function(e){Tn(t.filter)?t.filter.call(n,e)&&o.push(e):n.getImageURL(e)&&o.push(e)})),!o.length)return this;if(this.images=o,this.length=o.length,this.ready){var i=[];if(Hn(this.items,(function(n,e){var t=n.querySelector("img"),r=o[e];r&&t&&r.src===t.src&&r.alt===t.alt||i.push(e)})),An(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var l=i.indexOf(this.index);if(l>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-l,this.length-1),0));else{var a=this.items[this.index];Vn(a,b),a.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var n=this.element,e=this.options;return n[g]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),e.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):e.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),e.inline||Yn(n,R,this.onStart),n[g]=void 0,this):this}},oe={getImageURL:function(n){var e=this.options.url;return e=bn(e)?n.getAttribute(e):Tn(e)?e.call(this,n):""},enforceFocus:function(){var n=this;this.clearEnforceFocus(),Gn(document,N,this.onFocusin=function(e){var t=n.viewer,r=e.target;if(r!==document&&r!==t&&!t.contains(r)){for(;r;){if(null!==r.getAttribute("tabindex")||"true"===r.getAttribute("aria-modal"))return;r=r.parentElement}t.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(Yn(document,N,this.onFocusin),this.onFocusin=null)},open:function(){var n=this.body;Vn(n,V),this.scrollbarWidth>0&&(n.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var n=this.body;Pn(n,V),this.scrollbarWidth>0&&(n.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var n=this.element,e=this.options,t=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,e.focus&&(t.focus(),this.enforceFocus()),Tn(e.shown)&&Gn(n,nn,e.shown,{once:!0}),!1!==Kn(n,nn)&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var n=this.element,e=this.options,t=this.viewer;e.fucus&&this.clearEnforceFocus(),this.close(),this.unbind(),Vn(t,k),t.removeAttribute("role"),t.removeAttribute("aria-labelledby"),t.removeAttribute("aria-modal"),t.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.hiding=!1,this.destroyed||(Tn(e.hidden)&&Gn(n,tn,e.hidden,{once:!0}),Kn(n,tn,null,{cancelable:!1}))},requestFullscreen:function(n){var e=this.element.ownerDocument;if(this.fulled&&!(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)){var t=e.documentElement;t.requestFullscreen?kn(n)?t.requestFullscreen(n):t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen()}},exitFullscreen:function(){var n=this.element.ownerDocument;this.fulled&&(n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement)&&(n.exitFullscreen?n.exitFullscreen():n.webkitExitFullscreen?n.webkitExitFullscreen():n.mozCancelFullScreen?n.mozCancelFullScreen():n.msExitFullscreen&&n.msExitFullscreen())},change:function(n){var e=this.options,t=this.pointers,r=t[Object.keys(t)[0]];if(r){var o=r.endX-r.startX,i=r.endY-r.startY;switch(this.action){case m:0===o&&0===i||(this.pointerMoved=!0,this.move(o,i,n));break;case y:this.zoom(Mn(t),!1,null,n);break;case v:this.action="switched";var l=Math.abs(o);l>1&&l>Math.abs(i)&&(this.pointers={},o>1?this.prev(e.loop):o<-1&&this.next(e.loop))}Hn(t,(function(n){n.startX=n.endX,n.startY=n.endY}))}},isSwitchable:function(){var n=this.imageData,e=this.viewerData;return this.length>1&&n.x>=0&&n.y>=0&&n.width<=e.width&&n.height<=e.height}},ie=p.Viewer,le=(qn=-1,function(){return qn+=1}),ae=function(){function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r(this,n),!e||1!==e.nodeType)throw new Error("The first argument is required and must be an element.");this.element=e,this.options=Bn({},s,kn(t)&&t),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=le(),this.init()}return i(n,[{key:"init",value:function(){var n=this,e=this.element,t=this.options;if(!e[g]){e[g]=this,t.focus&&!t.keyboard&&(t.focus=!1);var r="img"===e.localName,o=[];if(Hn(r?[e]:e.querySelectorAll("img"),(function(e){Tn(t.filter)?t.filter.call(n,e)&&o.push(e):n.getImageURL(e)&&o.push(e)})),this.isImg=r,this.length=o.length,this.images=o,this.initBody(),Sn(document.createElement(g).style.transition)&&(t.transition=!1),t.inline){var i=0,l=function(){var e;(i+=1)===n.length&&(n.initializing=!1,n.delaying={abort:function(){clearTimeout(e)}},e=setTimeout((function(){n.delaying=!1,n.build()}),0))};this.initializing={abort:function(){Hn(o,(function(n){n.complete||(Yn(n,Y,l),Yn(n,G,l))}))}},Hn(o,(function(n){var e,t;n.complete?l():(Gn(n,Y,e=function(){Yn(n,G,t),l()},{once:!0}),Gn(n,G,t=function(){Yn(n,Y,e),l()},{once:!0}))}))}else Gn(e,R,this.onStart=function(e){var r=e.target;"img"!==r.localName||Tn(t.filter)&&!t.filter.call(n,r)||n.view(n.images.indexOf(r))})}}},{key:"build",value:function(){if(!this.ready){var n=this.element,e=this.options,t=n.parentNode,r=document.createElement("div");r.innerHTML=u;var o=r.querySelector(".".concat(g,"-container")),i=o.querySelector(".".concat(g,"-title")),l=o.querySelector(".".concat(g,"-toolbar")),a=o.querySelector(".".concat(g,"-navbar")),d=o.querySelector(".".concat(g,"-button")),s=o.querySelector(".".concat(g,"-canvas"));if(this.parent=t,this.viewer=o,this.title=i,this.toolbar=l,this.navbar=a,this.button=d,this.canvas=s,this.footer=o.querySelector(".".concat(g,"-footer")),this.tooltipBox=o.querySelector(".".concat(g,"-tooltip")),this.player=o.querySelector(".".concat(g,"-player")),this.list=o.querySelector(".".concat(g,"-list")),o.id="".concat(g).concat(this.id),i.id="".concat(g,"Title").concat(this.id),Vn(i,e.title?$n(Array.isArray(e.title)?e.title[0]:e.title):k),Vn(a,e.navbar?$n(e.navbar):k),Fn(d,k,!e.button),e.keyboard&&d.setAttribute("tabindex",0),e.backdrop&&(Vn(o,"".concat(g,"-backdrop")),e.inline||"static"===e.backdrop||Nn(s,mn,"hide")),bn(e.className)&&e.className&&e.className.split(vn).forEach((function(n){Vn(o,n)})),e.toolbar){var c=document.createElement("ul"),p=kn(e.toolbar),f=yn.slice(0,3),h=yn.slice(7,9),m=yn.slice(9);p||Vn(l,$n(e.toolbar)),Hn(p?e.toolbar:yn,(function(n,t){var r=p&&kn(n),o=p?Ln(t):n,i=r&&!Sn(n.show)?n.show:n;if(i&&(e.zoomable||-1===f.indexOf(o))&&(e.rotatable||-1===h.indexOf(o))&&(e.scalable||-1===m.indexOf(o))){var l=r&&!Sn(n.size)?n.size:n,a=r&&!Sn(n.click)?n.click:n,d=document.createElement("li");e.keyboard&&d.setAttribute("tabindex",0),d.setAttribute("role","button"),Vn(d,"".concat(g,"-").concat(o)),Tn(a)||Nn(d,mn,o),xn(i)&&Vn(d,$n(i)),-1!==["small","large"].indexOf(l)?Vn(d,"".concat(g,"-").concat(l)):"play"===o&&Vn(d,"".concat(g,"-large")),Tn(a)&&Gn(d,R,a),c.appendChild(d)}})),l.appendChild(c)}else Vn(l,k);if(!e.rotatable){var v=l.querySelectorAll('li[class*="rotate"]');Vn(v,A),Hn(v,(function(n){l.appendChild(n)}))}if(e.inline)Vn(d,I),An(o,{zIndex:e.zIndexInline}),"static"===window.getComputedStyle(t).position&&An(t,{position:"relative"}),t.insertBefore(o,n.nextSibling);else{Vn(d,C),Vn(o,S),Vn(o,x),Vn(o,k),An(o,{zIndex:e.zIndex});var y=e.container;bn(y)&&(y=n.ownerDocument.querySelector(y)),y||(y=this.body),y.appendChild(o)}e.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,Tn(e.ready)&&Gn(n,Q,e.ready,{once:!0}),!1!==Kn(n,Q)?this.ready&&e.inline&&this.view(this.index):this.ready=!1}}}],[{key:"noConflict",value:function(){return window.Viewer=ie,n}},{key:"setDefaults",value:function(n){Bn(s,kn(n)&&n)}}]),n}();return Bn(ae.prototype,ne,ee,te,re,oe),ae}()}({get exports(){return cx},set exports(n){cx=n}});var px=cx,fx=iu,hx=$n;var gx=function(n,e,t){(void 0!==t&&!hx(n[e],t)||void 0===t&&!(e in n))&&fx(n,e,t)},mx=Wn,vx=V;var yx=function(n,e){if(("constructor"!==e||"function"!=typeof n[e])&&"__proto__"!=e)return n[e]},bx=pu,Cx=Iu;var xx=gx,Sx=Hu,Ix=ec,wx=Bu,kx=fc,Tx=G,Hx=K,Bx=function(n){return vx(n)&&mx(n)},Wx=D,Ax=Tn,Zx=In,Xx=Ys,Vx=ln,Px=yx,Fx=function(n){return bx(n,Cx(n))};var Rx=wt,Lx=gx,zx=g,Nx=function(n,e,t,r,o,i,l){var a=Px(n,t),d=Px(e,t),s=l.get(d);if(s)xx(n,t,s);else{var u=i?i(a,d,t+"",n,e,l):void 0,c=void 0===u;if(c){var p=Hx(d),f=!p&&Wx(d),h=!p&&!f&&Vx(d);u=d,p||f||h?Hx(a)?u=a:Bx(a)?u=wx(a):f?(c=!1,u=Sx(d,!0)):h?(c=!1,u=Ix(d,!0)):u=[]:Xx(d)||Tx(d)?(u=a,Tx(a)?u=Fx(a):Zx(a)&&!Ax(a)||(u=kx(d))):c=!1}c&&(l.set(d,u),o(u,d,r,i,l),l.delete(d)),xx(n,t,u)}},jx=In,Yx=Iu,Gx=yx;var Kx=function n(e,t,r,o,i){e!==t&&zx(t,(function(l,a){if(i||(i=new Rx),jx(l))Nx(e,t,a,r,n,o,i);else{var d=o?o(Gx(e,a),l,a+"",e,t,i):void 0;void 0===d&&(d=l),Lx(e,a,d)}}),Yx)},Dx=xs,Ox=Fa;var Jx=Kx,Ex=function(n){return Dx((function(e,t){var r=-1,o=t.length,i=o>1?t[o-1]:void 0,l=o>2?t[2]:void 0;for(i=n.length>3&&"function"==typeof i?(o--,i):void 0,l&&Ox(t[0],t[1],l)&&(i=o<3?void 0:i,o=1),e=Object(e);++r<o;){var a=t[r];a&&n(e,a,r,i)}return e}))}((function(n,e,t){Jx(n,e,t)}));async function _x(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=!0,o=null,i=Ci();if(Ws(t)||(t={}),!Os(n))return i.reject("eleImg is not a HTMLElement"),i;if(o=n,null!==e){if(!Os(e))return i.reject("eleGroup is not a HTMLElement"),i;r=!1,o=e}if(!r){let n=e.querySelectorAll("img"),t=xd(n);if(0===t)return i.reject("eleGroup does not contain any img"),i;1===t&&(r=!0)}let l={button:!1,navbar:!1,title:!1,toolbar:{zoomIn:4,zoomOut:4,oneToOne:4,reset:4,prev:0,play:0,next:0,rotateLeft:4,rotateRight:4,flipHorizontal:4,flipVertical:4},tooltip:!1,movable:!0,zoomable:!0,rotatable:!0,scalable:!0,transition:!0,fullscreen:!1,keyboard:!0};r||(l=function(){let n={button:!1,navbar:!1,title:!1,toolbar:{zoomIn:4,zoomOut:4,oneToOne:4,reset:4,prev:0,play:0,next:0,rotateLeft:4,rotateRight:4,flipHorizontal:4,flipVertical:4},tooltip:!1,movable:!0,zoomable:!0,rotatable:!0,scalable:!0,transition:!0,fullscreen:!1,keyboard:!0};return n.navbar=!0,n.toolbar.prev=4,n.toolbar.next=4,n}()),l=Ex(l,np(t));let a=!1;l.hide=function(){a||(a=!0,s.hide(!0))},l.hidden=function(){s.destroy(),i.resolve("close")};let d=function(){let n=Hd();return px||n.Viewer}(),s=new d(o,l);return s.show(),i}async function $x(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;return vh(r)||(r=["https://cdn.jsdelivr.net/npm/viewerjs@1.11.5/dist/viewer.min.css","https://cdn.jsdelivr.net/npm/viewerjs@1.11.5/dist/viewer.min.js"]),await fl(r),_x(n,e,t)}function Mx(){return new function(n,e){let t=null;al(n)||(n=0),n=rl(n),Xp(e)||(e=!1);let r=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=0,t=[];Xb(n)&&(n=0),n=rl(n);let r=rp();return r.get=function(){return t.length>0?(e+=1,t.splice(0,1)[0]):null},r.cb=function(){e-=1,e<0&&(e=0),t.length>0&&r.emit("message",t)},r.push=function(o){t.push(o),(n<=0||e<n)&&r.emit("message",t)},r.clear=function(){e=0,t=[]},r}(n);return r.on("message",(async function(n){let e=r.get();if(!e)return;await sl(1);let t,o=Vo(e,"id"),i=Vo(e,"fun"),l=Vo(e,"input");t=bi(i)?await dv(i)(...l):{state:"error",msg:"fun is not a function"},r.emit(o,t),r.cb()})),function(n){let o=Ci(),i=Bs();t=i;for(var l=arguments.length,a=new Array(l>1?l-1:0),d=1;d<l;d++)a[d-1]=arguments[d];let s={id:i,fun:n,input:a};return r.push(s),r.once(i,(n=>{e?i===t?"success"===n.state?o.resolve(n.msg):o.reject(n.msg):o.reject({reason:"cancelled"}):"success"===n.state?o.resolve(n.msg):o.reject(n.msg)})),o}}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]&&arguments[1])}let Ux=!1;var Qx={directives:{domresize:lp()},components:{WIconLoading:Td},props:{pathItems:{type:Array,default:()=>["https://cdn.jsdelivr.net/npm/viewerjs@1.10.5/dist/viewer.min.css","https://cdn.jsdelivr.net/npm/viewerjs@1.10.5/dist/viewer.min.js"]},images:{type:Array,default:()=>[]},imageWidth:{type:Number,default:300},imageWidthSoft:{type:Number,default:null},colNum:{type:Number,default:null},space:{type:Number,default:15},imageStyle:{type:Object,default:()=>{}},arrangeWhenFinish:{type:Boolean,default:!1},numParallel:{type:Number,default:5},opt:{type:Object,default:()=>{}}},data:function(){return{dbc:av(),loading:!0,first:!1,widthPanel:0,heightPanel:0,imageCols:[],imageLocs:[],useImageStyle:{},uesImageWidth:0,imagesRes:[]}},mounted:function(){let n=this;fl(n.pathItems).then((e=>{n.loading=!1}))},computed:{changeImages:function(){let n=this.images;return this.refreshDebounce({images:n}),""},changeStyle:function(){let n=this,e=n.widthPanel,t=n.imageWidth,r=n.imageStyle,o=n.colNum,i=n.space;return n.refreshDebounce({widthPanel:e,imageWidth:t,imageStyle:r,colNum:o,space:i}),""}},methods:{resize:function(n){let e=this,t=Vo(e,"$el.offsetWidth",0);Ux||e.widthPanel!==t&&(e.widthPanel=t)},getImgSize:function(n,e){let t=Ci(),r=`g${Bs()}`,o=document.createElement("img");o.src=n,o.style.maxWidth=`${e}px`;let i=document.createElement("div");return i.id=`img-${r}`,i.style.position="absolute",i.style.width=0,i.style.height=0,i.style.opacity=0,i.style.overflow="hidden",i.appendChild(o),document.body.appendChild(i),o.onload=function(){t.resolve({src:n,id:r,w:o.clientWidth,h:o.clientHeight,err:null}),ph(i)},o.onerror=function(e){t.reject({src:n,w:0,h:0,err:e}),ph(i)},t},getImgsSize:function(n,e){let t=this,r=rp(),o=Mx(t.numParallel);t.imagesRes=[];let i=-1;return Jn(t.images,((l,a)=>{o(t.getImgSize,l,n).then((n=>{i++;let o=i;t.arrangeWhenFinish&&(o=a);let l={...n,name:(d=n.src,d.split("\\").pop().split("/").pop()),ind:o,evKey:e};var d;t.imagesRes[o]=l,r.emit("get",l)})).catch((n=>{console.log(n)}))})),r},refreshDebounce:function(){let n=this;n.dbc((()=>{n.refresh()}))},refresh:function(){let n=this,e=null,t=null;if(Pd(n.imageWidthSoft)&&n.imageWidthSoft>0)t=(n.widthPanel+n.space)/(n.imageWidthSoft+n.space),t=Math.floor(t),t=Math.max(t,1),e=(n.widthPanel-n.space*(t-1))/t;else if(ol(n.colNum))t=rl(n.colNum),e=(n.widthPanel-(t-1)*n.space)/t,e=Math.floor(e);else if(Pd(n.imageWidth)&&n.imageWidth>0){e=n.imageWidth;let r=n.widthPanel+n.space;r=Math.max(r,0);let o=e+n.space;o=Math.max(o,1),t=Math.floor(r/o)}else console.log("invalid colNum or imageWidth or imageWidthSoft",n.colNum,n.imageWidth,n.imageWidthSoft),t=4,e=300;n.uesImageWidth=e;let r={...n.imageStyle,"max-width":`${e}px`,"user-select":"none",cursor:"pointer",outline:"none"};function o(){n.imageCols=hi(ux(t),(()=>[])),n.imageLocs=hi(ux(t),(()=>0))}function i(e){if(!vi(n.imageCols))return;let t=function(){let e=n.imageLocs[0],t=0;return Jn(n.imageLocs,((n,r)=>{e>n&&(e=n,t=r)})),t}();try{n.imageCols[t].push(e),n.imageLocs[t]+=e.h+n.space+53}catch(n){}}function l(){o(),Jn(n.imagesRes,(n=>{i(n)}))}n.useImageStyle=r,n.first?l():function(){let t=Ci();o();let r=Bs(),a=xd(n.images),d=n.getImgsSize(e,r),s=0;d.on("get",(e=>{e.evKey===r&&(i(e),s++,s>=a&&(n.first=!0,n.arrangeWhenFinish&&l(),t.resolve()))}))}()},showImg:function(n,e){let t=this;Ux=!0,$x(n.currentTarget,null,t.opt,t.pathItems).finally((()=>{Ux=!1})),t.$emit("click",e)}}};const qx=Qx;var nS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeImages:n.changeImages,changeStyle:n.changeStyle},on:{domresize:n.resize}},[t("div",{staticStyle:{"margin-top":"-1px",height:"1px"}}),n._v(" "),n.loading?t("WIconLoading"):t("div",n._l(n.imageCols,(function(e,r){return t("div",{key:"c-"+r,style:"display:table-cell; vertical-align:top; margin:0; padding-left:"+(r>0?n.space:0)+"px;"},n._l(e,(function(e,r){return t("div",{key:"kimg-"+r,class:n.first?"":"fadeIn",style:"margin:"+(r>0?n.space:0)+"px 0 0 0; width:"+n.uesImageWidth+"px; user-select:none; outline:none;",attrs:{tabindex:"0"}},[t("div",{style:"display:flex;"},[t("img",{style:n.useImageStyle,attrs:{src:e.src},on:{keyup:function(t){return!t.type.indexOf("key")&&n._k(t.keyCode,"enter",13,t.key,"Enter")?null:function(t){n.showImg(t,e)}.apply(null,arguments)},click:function(t){n.showImg(t,e)}}})]),n._v(" "),t("div",{staticStyle:{background:"rgba(0,0,0,0.65)",padding:"5px"}},[t("input",{staticClass:"inp",staticStyle:{"font-size":"0.8rem",color:"#fff"},attrs:{type:"text",_spellcheck:"false",readonly:""},domProps:{value:e.name}})]),n._v(" "),t("div",{staticStyle:{background:"rgba(200,200,200,0.5)",padding:"3px 5px"}},[t("input",{staticClass:"inp",staticStyle:{"font-size":"0.7rem",opacity:"0.75"},attrs:{type:"text",_spellcheck:"false",readonly:""},domProps:{value:e.src}})])])})),0)})),0)],1)};nS._withStripped=!0;const eS=t({render:nS,staticRenderFns:[]},(function(n){n&&n("data-v-2a29abe8_0",{source:"\n.inp[data-v-2a29abe8] {\r\n font: inherit;\r\n height: 1rem;\r\n line-height: 1rem;\r\n width: 100%;\r\n margin: 0;\r\n padding: 0;\r\n display: block;\r\n background: transparent;\r\n border-style: none;\n}\n.inp[data-v-2a29abe8]:focus {\r\n outline: none;\n}\n.fadeIn[data-v-2a29abe8] {\r\n animation: aniFadeIn-data-v-2a29abe8 0.3s;\n}\n@keyframes aniFadeIn-data-v-2a29abe8\r\n{\nfrom {opacity: 0;}\nto {opacity: 1}\n}\r\n",map:{version:3,sources:["D:\\- 006 - 開源\\開源-JS-104-2-w-component-vue\\w-component-vue\\src\\components\\WImageCascadingDyn.vue"],names:[],mappings:";AAolBA;IACA,aAAA;IACA,YAAA;IACA,iBAAA;IACA,WAAA;IACA,SAAA;IACA,UAAA;IACA,cAAA;IACA,uBAAA;IACA,kBAAA;AACA;AACA;IACA,aAAA;AACA;AACA;IACA,yCAAA;AACA;AACA;;AAEA,MAAA,UAAA,CAAA;AACA,IAAA,UAAA;AACA",file:"WImageCascadingDyn.vue",sourcesContent:["<template>\r\n <div\r\n :changeImages=\"changeImages\"\r\n :changeStyle=\"changeStyle\"\r\n v-domresize\r\n @domresize=\"resize\"\r\n >\r\n\r\n \x3c!-- 初始化無圖片時先撐開寬度 --\x3e\r\n <div style=\"margin-top:-1px; height:1px;\"></div>\r\n\r\n <WIconLoading v-if=\"loading\"></WIconLoading>\r\n\r\n <div v-else>\r\n\r\n <div\r\n :style=\"`display:table-cell; vertical-align:top; margin:0; padding-left:${kimgs>0?space:0}px;`\"\r\n :key=\"`c-${kimgs}`\"\r\n v-for=\"(imgs,kimgs) in imageCols\"\r\n >\r\n\r\n <div\r\n :class=\"`${first?'':'fadeIn'}`\"\r\n :style=\"`margin:${kimg>0?space:0}px 0 0 0; width:${uesImageWidth}px; user-select:none; outline:none;`\"\r\n tabindex=\"0\"\r\n :key=\"`kimg-${kimg}`\"\r\n v-for=\"(img,kimg) in imgs\"\r\n >\r\n\r\n <div :style=\"`display:flex;`\">\r\n <img\r\n :style=\"useImageStyle\"\r\n :src=\"img.src\"\r\n @keyup.enter=\"(e)=>{showImg(e,img)}\"\r\n @click=\"(e)=>{showImg(e,img)}\"\r\n >\r\n </div>\r\n\r\n <div style=\"background:rgba(0,0,0,0.65); padding:5px;\">\r\n <input\r\n type=\"text\"\r\n class=\"inp\"\r\n style=\"font-size:0.8rem; color:#fff;\"\r\n _spellcheck=\"false\"\r\n readonly\r\n :value=\"img.name\"\r\n >\r\n </div>\r\n\r\n <div style=\"background:rgba(200,200,200,0.5); padding:3px 5px;\">\r\n <input\r\n type=\"text\"\r\n class=\"inp\"\r\n style=\"font-size:0.7rem; opacity:0.75;\"\r\n _spellcheck=\"false\"\r\n readonly\r\n :value=\"img.src\"\r\n >\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport each from 'lodash/each'\r\nimport map from 'lodash/map'\r\nimport get from 'lodash/get'\r\nimport times from 'lodash/times'\r\nimport size from 'lodash/size'\r\nimport isNumber from 'lodash/isNumber'\r\nimport importResources from 'wsemi/src/importResources.mjs'\r\nimport domShowImagesDyn from 'wsemi/src/domShowImagesDyn.mjs'\r\nimport ispint from 'wsemi/src/ispint.mjs'\r\nimport cint from 'wsemi/src/cint.mjs'\r\nimport isarr from 'wsemi/src/isarr.mjs'\r\nimport genPm from 'wsemi/src/genPm.mjs'\r\nimport genID from 'wsemi/src/genID.mjs'\r\nimport pmQueue from 'wsemi/src/pmQueue.mjs'\r\nimport domRemove from 'wsemi/src/domRemove.mjs'\r\nimport evem from 'wsemi/src/evem.mjs'\r\nimport debounce from 'wsemi/src/debounce.mjs'\r\nimport domResize from '../js/domResize.mjs'\r\nimport WIconLoading from './WIconLoading.vue'\r\n\r\n\r\n//showViewer, 得要跨組件共用, 因彈出viewer會影響全部組件\r\nlet showViewer = false\r\n\r\n\r\nfunction getFileName(str) {\r\n return str.split('\\\\').pop().split('/').pop()\r\n}\r\n\r\n\r\n/**\r\n * @vue-prop {Array} [pathItems=['詳見原始碼']] 輸入viewerjs組件js與css檔案位置字串陣列,預設詳見原始碼處props->pathItems->default\r\n * @vue-prop {Array} [images=[]] 輸入圖片網址陣列,預設[]\r\n * @vue-prop {Number} [imageWidth=300] 輸入圖片寬度數字,單位為px,預設300\r\n * @vue-prop {Number} [imageWidthSoft=null] 輸入自動計算最小需滿足的圖片寬度數字,單位為px,預設null\r\n * @vue-prop {Number} [colNum=null] 輸入組件寬度圖片欄位(水平向有幾張圖片)數量數字,預設null\r\n * @vue-prop {Number} [space=15] 輸入圖片間間距長度數字,單位為px,預設15\r\n * @vue-prop {Object} [imageStyle={}] 輸入圖片style物件,預設{}\r\n * @vue-prop {Object} [arrangeWhenFinish=false] 輸入是否於圖片載入完畢時依照原本圖片順序排序布林值,預設false\r\n * @vue-prop {Number} [numParallel=5] 輸入同時載入圖片數量數字,預設5\r\n * @vue-prop {Object} [opt={}] 輸入viewerjs設定物件,預設使用optOne或optMuti,若img僅一個則使用optOne,反之使用optMuti\r\n * @vue-prop {Boolean} [multiple=false] 輸入\r\n */\r\nexport default {\r\n directives: {\r\n domresize: domResize(),\r\n },\r\n components: {\r\n WIconLoading,\r\n },\r\n props: {\r\n pathItems: {\r\n type: Array,\r\n default: () => [ //預設值詳見 wsemi/src/domShowImagesDyn.mjs, 因此處有預載, 故所使用viewerjs的版本得相同\r\n 'https://cdn.jsdelivr.net/npm/viewerjs@1.10.5/dist/viewer.min.css',\r\n 'https://cdn.jsdelivr.net/npm/viewerjs@1.10.5/dist/viewer.min.js',\r\n ],\r\n },\r\n images: {\r\n type: Array,\r\n default: () => [],\r\n },\r\n imageWidth: {\r\n type: Number,\r\n default: 300,\r\n },\r\n imageWidthSoft: {\r\n type: Number,\r\n default: null,\r\n },\r\n colNum: {\r\n type: Number,\r\n default: null,\r\n },\r\n space: {\r\n type: Number,\r\n default: 15,\r\n },\r\n imageStyle: {\r\n type: Object,\r\n default: () => {},\r\n },\r\n arrangeWhenFinish: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n numParallel: {\r\n type: Number,\r\n default: 5,\r\n },\r\n opt: {\r\n type: Object,\r\n default: () => {},\r\n },\r\n },\r\n data: function() {\r\n return {\r\n dbc: debounce(),\r\n\r\n loading: true,\r\n first: false,\r\n\r\n widthPanel: 0,\r\n heightPanel: 0,\r\n imageCols: [],\r\n imageLocs: [],\r\n useImageStyle: {},\r\n uesImageWidth: 0,\r\n\r\n imagesRes: [],\r\n\r\n }\r\n },\r\n mounted: function() {\r\n //console.log('mounted')\r\n\r\n let vo = this\r\n\r\n //importResources\r\n importResources(vo.pathItems)\r\n .then((res) => {\r\n //console.log('res', res)\r\n\r\n //loading\r\n vo.loading = false\r\n\r\n })\r\n\r\n },\r\n computed: {\r\n\r\n changeImages: function() {\r\n // console.log('computed changeImages')\r\n\r\n let vo = this\r\n\r\n let images = vo.images\r\n\r\n //refreshDebounce\r\n vo.refreshDebounce({ images })\r\n\r\n return ''\r\n },\r\n\r\n changeStyle: function() {\r\n // console.log('computed changeStyle')\r\n\r\n let vo = this\r\n\r\n //for trigger\r\n let widthPanel = vo.widthPanel\r\n let imageWidth = vo.imageWidth\r\n let imageStyle = vo.imageStyle\r\n let colNum = vo.colNum\r\n let space = vo.space\r\n\r\n //refreshDebounce\r\n vo.refreshDebounce({ widthPanel, imageWidth, imageStyle, colNum, space })\r\n\r\n return ''\r\n },\r\n\r\n },\r\n methods: {\r\n\r\n resize: function(msg) {\r\n // console.log('methods resize', msg)\r\n\r\n let vo = this\r\n\r\n //widthPanel\r\n let widthPanel = get(vo, '$el.offsetWidth', 0)\r\n\r\n //check, 因開啟viewer會改變視窗尺寸, 進而觸發resize, 會導致觸發changeStyle並重算圖片, 故得使用showViewer判斷是否為開啟viewer狀態, 避免重算圖片\r\n if (showViewer) {\r\n return\r\n }\r\n\r\n //check\r\n if (vo.widthPanel === widthPanel) {\r\n return\r\n }\r\n\r\n //save\r\n vo.widthPanel = widthPanel\r\n\r\n },\r\n\r\n getImgSize: function(src, uesImageWidth) {\r\n //console.log('methods getImgSize', src, uesImageWidth)\r\n\r\n // let vo = this\r\n\r\n //pm\r\n let pm = genPm()\r\n\r\n //id\r\n let id = `g${genID()}`\r\n\r\n //img\r\n let img = document.createElement('img')\r\n img.src = src\r\n img.style.maxWidth = `${uesImageWidth}px`\r\n\r\n //div\r\n let div = document.createElement('div')\r\n div.id = `img-${id}`\r\n div.style.position = 'absolute'\r\n div.style.width = 0\r\n div.style.height = 0\r\n div.style.opacity = 0\r\n div.style.overflow = 'hidden'\r\n div.appendChild(img)\r\n\r\n //body\r\n document.body.appendChild(div)\r\n\r\n //onload\r\n img.onload = function() {\r\n // setTimeout(() => {\r\n // pm.resolve({\r\n // src,\r\n // id,\r\n // w: img.clientWidth,\r\n // h: img.clientHeight,\r\n // err: null,\r\n // })\r\n // domRemove(div)\r\n // }, random(10, 2500))\r\n pm.resolve({\r\n src,\r\n id,\r\n w: img.clientWidth,\r\n h: img.clientHeight,\r\n err: null,\r\n })\r\n domRemove(div)\r\n }\r\n\r\n //onerror\r\n img.onerror = function(err) {\r\n pm.reject({\r\n src,\r\n w: 0,\r\n h: 0,\r\n err,\r\n })\r\n domRemove(div)\r\n }\r\n\r\n return pm\r\n },\r\n\r\n getImgsSize: function(uesImageWidth, evKey) {\r\n //console.log('methods getImgsSize', uesImageWidth, evKey)\r\n\r\n let vo = this\r\n\r\n //ev\r\n let ev = evem()\r\n\r\n //pmQueue\r\n let pmq = pmQueue(vo.numParallel) //1次取得numParallel個圖片\r\n\r\n //getImgSize\r\n vo.imagesRes = []\r\n let j = -1\r\n each(vo.images, (src, k) => {\r\n pmq(vo.getImgSize, src, uesImageWidth)\r\n .then((r) => {\r\n j++\r\n\r\n //ind\r\n let ind = j\r\n if (vo.arrangeWhenFinish) { //需依照原始順序排序\r\n ind = k\r\n }\r\n\r\n //o\r\n let o = {\r\n ...r,\r\n name: getFileName(r.src),\r\n ind,\r\n evKey,\r\n }\r\n\r\n //save imagesRes\r\n vo.imagesRes[ind] = o\r\n\r\n //emit\r\n ev.emit('get', o)\r\n\r\n })\r\n .catch((err) => {\r\n console.log(err)\r\n })\r\n })\r\n\r\n return ev\r\n },\r\n\r\n refreshDebounce: function() {\r\n //console.log('methods refreshDebounce')\r\n\r\n let vo = this\r\n\r\n //dbc\r\n vo.dbc(() => {\r\n\r\n //refresh\r\n vo.refresh()\r\n\r\n })\r\n\r\n },\r\n\r\n refresh: function() {\r\n // console.log('methods refresh')\r\n\r\n let vo = this\r\n\r\n //uesImageWidth, colNum\r\n let uesImageWidth = null\r\n let colNum = null\r\n if (isNumber(vo.imageWidthSoft) && vo.imageWidthSoft > 0) {\r\n // console.log('優先使用imageWidthSoft計算colNum與imageWidth')\r\n\r\n //colNum\r\n colNum = (vo.widthPanel + vo.space) / (vo.imageWidthSoft + vo.space)\r\n colNum = Math.floor(colNum)\r\n colNum = Math.max(colNum, 1)\r\n // console.log('colNum', colNum)\r\n\r\n //uesImageWidth\r\n uesImageWidth = (vo.widthPanel - vo.space * (colNum - 1)) / colNum\r\n // console.log('uesImageWidth', uesImageWidth)\r\n\r\n }\r\n else if (ispint(vo.colNum)) {\r\n // console.log('次先使用colNum計算imageWidth')\r\n\r\n //colNum\r\n colNum = cint(vo.colNum)\r\n\r\n //uesImageWidth\r\n uesImageWidth = (vo.widthPanel - (colNum - 1) * vo.space) / colNum\r\n uesImageWidth = Math.floor(uesImageWidth)\r\n\r\n }\r\n else if (isNumber(vo.imageWidth) && vo.imageWidth > 0) {\r\n // console.log('最後使用imageWidth計算colNum')\r\n\r\n //uesImageWidth\r\n uesImageWidth = vo.imageWidth\r\n\r\n //colNum\r\n let wa = vo.widthPanel + vo.space\r\n wa = Math.max(wa, 0)\r\n let wis = uesImageWidth + vo.space\r\n wis = Math.max(wis, 1)\r\n colNum = Math.floor(wa / wis)\r\n\r\n }\r\n else {\r\n console.log('invalid colNum or imageWidth or imageWidthSoft', vo.colNum, vo.imageWidth, vo.imageWidthSoft)\r\n colNum = 4\r\n uesImageWidth = 300\r\n }\r\n vo.uesImageWidth = uesImageWidth\r\n\r\n //useImageStyle\r\n let useImageStyle = {\r\n ...vo.imageStyle,\r\n 'max-width': `${uesImageWidth}px`,\r\n 'user-select': 'none',\r\n 'cursor': 'pointer',\r\n 'outline': 'none',\r\n }\r\n vo.useImageStyle = useImageStyle\r\n\r\n function getMinHeightCol() {\r\n let hmin = vo.imageLocs[0]\r\n let ihmin = 0\r\n each(vo.imageLocs, (v, i) => {\r\n if (hmin > v) {\r\n hmin = v\r\n ihmin = i\r\n }\r\n })\r\n return ihmin\r\n }\r\n\r\n function resetImageColsAndLocs() {\r\n vo.imageCols = map(times(colNum), () => {\r\n return []\r\n })\r\n vo.imageLocs = map(times(colNum), () => {\r\n return 0\r\n })\r\n }\r\n\r\n function pushImage(img) {\r\n\r\n //check, 開發階段可能hot reload組件導致出現上一輪事件\r\n if (!isarr(vo.imageCols)) {\r\n return\r\n }\r\n\r\n //getMinHeightCol\r\n let i = getMinHeightCol()\r\n\r\n try {\r\n\r\n //push\r\n vo.imageCols[i].push(img)\r\n\r\n //update\r\n vo.imageLocs[i] += img.h + vo.space + (29 + 24) //29是圖名區高度, 24是位址區高度\r\n\r\n }\r\n catch (err) { }\r\n\r\n }\r\n\r\n function build() {\r\n\r\n //pm\r\n let pm = genPm()\r\n\r\n //resetImageColsAndLocs\r\n resetImageColsAndLocs()\r\n\r\n //evKey\r\n let evKey = genID()\r\n\r\n //num\r\n let num = size(vo.images)\r\n\r\n //getImgsSize\r\n let ev = vo.getImgsSize(uesImageWidth, evKey)\r\n\r\n //pushImage\r\n let n = 0\r\n ev.on('get', (img) => {\r\n // console.log('get', img)\r\n\r\n //check\r\n if (img.evKey !== evKey) {\r\n return\r\n }\r\n\r\n //pushImage\r\n pushImage(img)\r\n\r\n //check\r\n n++\r\n if (n >= num) {\r\n\r\n //first\r\n vo.first = true\r\n\r\n //arrange\r\n if (vo.arrangeWhenFinish) {\r\n arrange()\r\n }\r\n\r\n //resolve\r\n pm.resolve()\r\n\r\n }\r\n\r\n })\r\n\r\n return pm\r\n }\r\n\r\n function arrange() {\r\n\r\n //resetImageColsAndLocs\r\n resetImageColsAndLocs()\r\n\r\n //pushImage\r\n each(vo.imagesRes, (img) => {\r\n pushImage(img)\r\n })\r\n\r\n }\r\n\r\n if (!vo.first) {\r\n // console.log('build')\r\n build()\r\n }\r\n else {\r\n // console.log('arrange')\r\n arrange()\r\n }\r\n\r\n },\r\n\r\n showImg: function(e, img) {\r\n // console.log('methods showImg', e, img)\r\n\r\n let vo = this\r\n\r\n //showViewer\r\n showViewer = true\r\n\r\n //domShowImagesDyn\r\n domShowImagesDyn(e.currentTarget, null, vo.opt, vo.pathItems)\r\n .finally(() => {\r\n\r\n //showViewer\r\n showViewer = false\r\n\r\n })\r\n\r\n //emit\r\n vo.$emit('click', img)\r\n\r\n },\r\n\r\n },\r\n}\r\n<\/script>\r\n\r\n<style scoped>\r\n.inp {\r\n font: inherit;\r\n height: 1rem;\r\n line-height: 1rem;\r\n width: 100%;\r\n margin: 0;\r\n padding: 0;\r\n display: block;\r\n background: transparent;\r\n border-style: none;\r\n}\r\n.inp:focus {\r\n outline: none;\r\n}\r\n.fadeIn {\r\n animation: aniFadeIn 0.3s;\r\n}\r\n@keyframes aniFadeIn\r\n{\r\n from {opacity: 0;}\r\n to {opacity: 1}\r\n}\r\n</style>\r\n"]},media:void 0})}),qx,"data-v-2a29abe8",false,undefined,!1,o,void 0,void 0);const tS={components:{WIconLoading:Td},props:{pathItems:{type:Array,default:()=>["https://cdn.jsdelivr.net/npm/viewerjs@1.10.5/dist/viewer.min.css","https://cdn.jsdelivr.net/npm/viewerjs@1.10.5/dist/viewer.min.js"]},images:{type:Array,default:()=>[]},imageStyle:{type:Object,default:()=>{}},opt:{type:Object,default:()=>{}},multiple:{type:Boolean,default:!1}},data:function(){return{loading:!0}},mounted:function(){let n=this;fl(n.pathItems).then((e=>{n.loading=!1,n.$nextTick((()=>{let e=Vo(n,"$refs.wiv",[]);Jn(e,((n,e)=>{Js(n,{duration:200,delay:100*e})}))}))}))},computed:{useImageStyle:function(){return Ex({margin:"5px"},this.imageStyle)}},methods:{showImg:function(n){let e=this,t=null;e.multiple&&(t=e.$refs.wig),$x(n.currentTarget,t,e.opt,e.pathItems).catch((n=>{console.log(n)}))}}};var rS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[n.loading?t("WIconLoading"):t("div",{ref:"wig"},n._l(n.images,(function(e,r){return t("div",{key:r,ref:"wiv",refInFor:!0,staticStyle:{display:"inline-block",opacity:"0","user-select":"none",cursor:"pointer",outline:"none"},attrs:{tabindex:"0"},on:{keyup:function(e){return!e.type.indexOf("key")&&n._k(e.keyCode,"enter",13,e.key,"Enter")?null:n.showImg.apply(null,arguments)},click:n.showImg}},[t("img",{style:n.useImageStyle,attrs:{src:e}})])})),0)],1)};rS._withStripped=!0;const oS=t({render:rS,staticRenderFns:[]},(function(n){n&&n("data-v-2729d6f1_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WImageViewerDyn.vue"},media:void 0})}),tS,"data-v-2729d6f1",false,undefined,!1,o,void 0,void 0);var iS={components:{},props:{multiCheck:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},value:{type:[Array,String,Object]},keyText:{type:String,default:"text"},arrange:{type:String,default:"vertical"},inputSize:{type:Number,default:16},inputShiftTop:{type:Number,default:1},textColor:{type:String,default:"#222"},textColorHover:{type:String,default:"#888"},textColorActive:{type:String,default:"#222"},textColorDisabled:{type:String,default:"#666"},textFontSize:{type:String,default:"0.85rem"},paddingStyle:{type:Object,default:()=>({top:0,bottom:0,left:0,right:0})},verticalAlign:{type:String,default:"center"},editable:{type:Boolean,default:!0}},data:function(){return{get:Vo,itemsTrans:[],dataActive:null}},mounted:function(){},computed:{changeItems:function(){let n=this;let e=np(n.items),t=hi(e,(e=>{let t=function(e){let t;return t=n.multiCheck?BC(n.value,e):xm(e,n.value),t}(e);return t})),r=[],o=[];return Jn(e,((n,e)=>{let i={data:n},l=`id-${e}`;i.id=l;let a=t[e];i.active=a,i.hover=!1,r.push(i),a&&o.push(l)})),n.multiCheck||(o=o[0]),n.itemsTrans=r,n.dataActive=o,""},usePadding:function(){let n=this;return`padding:${ch(n.paddingStyle,{ext:{left:n.shiftLeft,right:n.shiftRight}})};`},useVerticalAlign:function(){let n=this,e="";return"center"===n.verticalAlign?e="align-items:center;":"top"===n.verticalAlign?e="align-items:flex-start;":"bottom"===n.verticalAlign&&(e="align-items:flex-end;"),e},useTextFontSize:function(){let n=this.textFontSize;return n=As(n,";",""),`font-size:${n};`},effTextColor:function(){return Id(this.textColor)},effTextColorHover:function(){return Id(this.textColorHover)},effTextColorActive:function(){return Id(this.textColorActive)},effTextColorDisabled:function(){return Id(this.textColorDisabled)}},methods:{getText:function(n){return Vo(n,`data.${this.keyText}`)||Vo(n,"data")},getTextColor:function(n,e){let t=this;return t.editable?n.active?t.effTextColorActive:n.hover?t.effTextColorHover:t.effTextColor:t.effTextColorDisabled},mouseenter:function(n,e){let t=this;Jn(t.itemsTrans,((n,r)=>{t.itemsTrans[r].hover=r===e}))},mouseleave:function(n,e){let t=this;Jn(t.itemsTrans,((n,e)=>{t.itemsTrans[e].hover=!1}))},toggleState:function(n){let e=this;if(!1!==e.editable)if(e.multiCheck){let t=np(e.value);if(n.active){let e=[];Jn(t,(t=>{xm(t,n.data)||e.push(t)})),t=e}else t.push(n.data);e.$nextTick((()=>{e.$emit("input",t),e.$emit("click",n.data,""+(n.active?"hide":"show"))}))}else e.$nextTick((()=>{e.$emit("input",n.data),e.$emit("click",n.data)}))}}};const lS=iS;var aS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{attrs:{changeItems:n.changeItems}},n._l(n.itemsTrans,(function(e,r){return t("div",{key:r,style:("vertical"===n.arrange?"":"display:inline-block;")+" "+n.usePadding},[t("div",{style:"transition:all 0.3s; display:flex; "+n.useVerticalAlign+"; color:"+n.getTextColor(e,r)+";",on:{mouseenter:function(t){return n.mouseenter(e,r)},mouseleave:function(t){return n.mouseleave(e,r)}}},[t("div",{style:"display:flex; height:"+(n.inputSize+n.inputShiftTop)+"px; padding-top:"+n.inputShiftTop+"px;"},["checkbox"==(n.multiCheck?"checkbox":"radio")?t("input",{directives:[{name:"model",rawName:"v-model",value:n.dataActive,expression:"dataActive"}],style:"width:"+n.inputSize+"px; height:"+n.inputSize+"px; padding:0px; cursor:pointer;",attrs:{disabled:!n.editable,type:"checkbox"},domProps:{value:e.id,checked:Array.isArray(n.dataActive)?n._i(n.dataActive,e.id)>-1:n.dataActive},on:{change:function(t){var r=n.dataActive,o=t.target,i=!!o.checked;if(Array.isArray(r)){var l=e.id,a=n._i(r,l);o.checked?a<0&&(n.dataActive=r.concat([l])):a>-1&&(n.dataActive=r.slice(0,a).concat(r.slice(a+1)))}else n.dataActive=i}}}):"radio"==(n.multiCheck?"checkbox":"radio")?t("input",{directives:[{name:"model",rawName:"v-model",value:n.dataActive,expression:"dataActive"}],style:"width:"+n.inputSize+"px; height:"+n.inputSize+"px; padding:0px; cursor:pointer;",attrs:{disabled:!n.editable,type:"radio"},domProps:{value:e.id,checked:n._q(n.dataActive,e.id)},on:{change:function(t){n.dataActive=e.id}}}):t("input",{directives:[{name:"model",rawName:"v-model",value:n.dataActive,expression:"dataActive"}],style:"width:"+n.inputSize+"px; height:"+n.inputSize+"px; padding:0px; cursor:pointer;",attrs:{disabled:!n.editable,type:n.multiCheck?"checkbox":"radio"},domProps:{value:e.id,value:n.dataActive},on:{input:function(e){e.target.composing||(n.dataActive=e.target.value)}}})]),n._v(" "),t("div",{style:"",on:{click:function(t){return n.toggleState(e)}}},[n._t("default",(function(){return[t("div",{style:"margin:0px 0px 0px 5px; "+n.useTextFontSize+" cursor:pointer;"},[n._v("\n "+n._s(n.getText(e))+"\n ")])]}),{item:e,kitem:r,isHover:e.hover,isActive:e.active})],2)])])})),0)};aS._withStripped=!0;const dS=t({render:aS,staticRenderFns:[]},(function(n){n&&n("data-v-23cdb6b0_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WInputCheckbox.vue"},media:void 0})}),lS,undefined,false,undefined,!1,o,void 0,void 0);const sS={components:{WInputCheckbox:dS},props:{items:{type:Array,default:()=>[]},value:{type:[String,Object]},keyText:{type:String,default:"text"},arrange:{type:String,default:"vertical"},inputSize:{type:Number,default:16},inputShiftTop:{type:Number,default:1},textColor:{type:String,default:"#222"},textColorHover:{type:String,default:"#888"},textColorActive:{type:String,default:"#222"},textColorDisabled:{type:String,default:"#666"},textFontSize:{type:String,default:"0.85rem"},paddingStyle:{type:Object,default:()=>({top:0,bottom:0,left:0,right:0})},verticalAlign:{type:String,default:"center"},editable:{type:Boolean,default:!0}},data:function(){return{}},mounted:function(){},computed:{},methods:{}};var uS=function(){var n=this,e=n.$createElement;return(n._self._c||e)("WInputCheckbox",n._g(n._b({scopedSlots:n._u([{key:"default",fn:function(e){return[n._t("default",null,{item:e.item,kitem:e.kitem,isHover:e.isHover,isActive:e.isActive})]}}],null,!0)},"WInputCheckbox",Object.assign({},n.$props,{multiCheck:!1}),!1),n.$listeners))};uS._withStripped=!0;const cS=t({render:uS,staticRenderFns:[]},(function(n){n&&n("data-v-e40f5a72_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WInputRadio.vue"},media:void 0})}),sS,"data-v-e40f5a72",false,undefined,!1,o,void 0,void 0),pS="function"==typeof atob,fS="function"==typeof Buffer,hS="function"==typeof TextDecoder?new TextDecoder:void 0,gS=("function"==typeof TextEncoder&&new TextEncoder,Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")),mS=(n=>{let e={};return gS.forEach(((n,t)=>e[n]=t)),e})(),vS=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,yS=String.fromCharCode.bind(String),bS="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):n=>new Uint8Array(Array.prototype.slice.call(n,0)),CS=n=>n.replace(/[^A-Za-z0-9\+\/]/g,""),xS=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,SS=n=>{switch(n.length){case 4:var e=((7&n.charCodeAt(0))<<18|(63&n.charCodeAt(1))<<12|(63&n.charCodeAt(2))<<6|63&n.charCodeAt(3))-65536;return yS(55296+(e>>>10))+yS(56320+(1023&e));case 3:return yS((15&n.charCodeAt(0))<<12|(63&n.charCodeAt(1))<<6|63&n.charCodeAt(2));default:return yS((31&n.charCodeAt(0))<<6|63&n.charCodeAt(1))}},IS=pS?n=>atob(CS(n)):fS?n=>Buffer.from(n,"base64").toString("binary"):n=>{if(n=n.replace(/\s+/g,""),!vS.test(n))throw new TypeError("malformed base64.");n+="==".slice(2-(3&n.length));let e,t,r,o="";for(let i=0;i<n.length;)e=mS[n.charAt(i++)]<<18|mS[n.charAt(i++)]<<12|(t=mS[n.charAt(i++)])<<6|(r=mS[n.charAt(i++)]),o+=64===t?yS(e>>16&255):64===r?yS(e>>16&255,e>>8&255):yS(e>>16&255,e>>8&255,255&e);return o},wS=fS?n=>bS(Buffer.from(n,"base64")):n=>bS(IS(n).split("").map((n=>n.charCodeAt(0)))),kS=fS?n=>Buffer.from(n,"base64").toString("utf8"):hS?n=>hS.decode(wS(n)):n=>(n=>n.replace(xS,SS))(IS(n)),TS=n=>kS((n=>CS(n.replace(/[-_]/g,(n=>"-"==n?"+":"/"))))(n));var HS={};!function(n){var e=Object.prototype.hasOwnProperty,t="~";function r(){}function o(n,e,t){this.fn=n,this.context=e,this.once=t||!1}function i(n,e,r,i,l){if("function"!=typeof r)throw new TypeError("The listener must be a function");var a=new o(r,i||n,l),d=t?t+e:e;return n._events[d]?n._events[d].fn?n._events[d]=[n._events[d],a]:n._events[d].push(a):(n._events[d]=a,n._eventsCount++),n}function l(n,e){0==--n._eventsCount?n._events=new r:delete n._events[e]}function a(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(t=!1)),a.prototype.eventNames=function(){var n,r,o=[];if(0===this._eventsCount)return o;for(r in n=this._events)e.call(n,r)&&o.push(t?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(n)):o},a.prototype.listeners=function(n){var e=t?t+n:n,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,l=new Array(i);o<i;o++)l[o]=r[o].fn;return l},a.prototype.listenerCount=function(n){var e=t?t+n:n,r=this._events[e];return r?r.fn?1:r.length:0},a.prototype.emit=function(n,e,r,o,i,l){var a=t?t+n:n;if(!this._events[a])return!1;var d,s,u=this._events[a],c=arguments.length;if(u.fn){switch(u.once&&this.removeListener(n,u.fn,void 0,!0),c){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,r),!0;case 4:return u.fn.call(u.context,e,r,o),!0;case 5:return u.fn.call(u.context,e,r,o,i),!0;case 6:return u.fn.call(u.context,e,r,o,i,l),!0}for(s=1,d=new Array(c-1);s<c;s++)d[s-1]=arguments[s];u.fn.apply(u.context,d)}else{var p,f=u.length;for(s=0;s<f;s++)switch(u[s].once&&this.removeListener(n,u[s].fn,void 0,!0),c){case 1:u[s].fn.call(u[s].context);break;case 2:u[s].fn.call(u[s].context,e);break;case 3:u[s].fn.call(u[s].context,e,r);break;case 4:u[s].fn.call(u[s].context,e,r,o);break;default:if(!d)for(p=1,d=new Array(c-1);p<c;p++)d[p-1]=arguments[p];u[s].fn.apply(u[s].context,d)}}return!0},a.prototype.on=function(n,e,t){return i(this,n,e,t,!1)},a.prototype.once=function(n,e,t){return i(this,n,e,t,!0)},a.prototype.removeListener=function(n,e,r,o){var i=t?t+n:n;if(!this._events[i])return this;if(!e)return l(this,i),this;var a=this._events[i];if(a.fn)a.fn!==e||o&&!a.once||r&&a.context!==r||l(this,i);else{for(var d=0,s=[],u=a.length;d<u;d++)(a[d].fn!==e||o&&!a[d].once||r&&a[d].context!==r)&&s.push(a[d]);s.length?this._events[i]=1===s.length?s[0]:s:l(this,i)}return this},a.prototype.removeAllListeners=function(n){var e;return n?(e=t?t+n:n,this._events[e]&&l(this,e)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=t,a.EventEmitter=a,n.exports=a}({get exports(){return HS},set exports(n){HS=n}});var BS=HS;let WS;!function(){if("browser"!=("undefined"!=typeof window&&void 0!==window.document?"browser":"nodejs"))return null;let n=TS("CgoKdmFyIHQ9InVuZGVmaW5lZCIhPXR5cGVvZiBnbG9iYWxUaGlzP2dsb2JhbFRoaXM6InVuZGVmaW5lZCIhPXR5cGVvZiB3aW5kb3c/d2luZG93OiJ1bmRlZmluZWQiIT10eXBlb2YgZ2xvYmFsP2dsb2JhbDoidW5kZWZpbmVkIiE9dHlwZW9mIHNlbGY/c2VsZjp7fTtmdW5jdGlvbiByKHQpe3JldHVybiB0JiZ0Ll9fZXNNb2R1bGUmJk9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbCh0LCJkZWZhdWx0Iik/dC5kZWZhdWx0OnR9dmFyIGU9QXJyYXkuaXNBcnJheSxuPSJvYmplY3QiPT10eXBlb2YgdCYmdCYmdC5PYmplY3Q9PT1PYmplY3QmJnQsbz1uLHU9Im9iamVjdCI9PXR5cGVvZiBzZWxmJiZzZWxmJiZzZWxmLk9iamVjdD09PU9iamVjdCYmc2VsZixhPW98fHV8fEZ1bmN0aW9uKCJyZXR1cm4gdGhpcyIpKCksaT1hLlN5bWJvbCxjPWksZj1PYmplY3QucHJvdG90eXBlLGw9Zi5oYXNPd25Qcm9wZXJ0eSx2PWYudG9TdHJpbmcscz1jP2MudG9TdHJpbmdUYWc6dm9pZCAwO3ZhciBwPWZ1bmN0aW9uKHQpe3ZhciBy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2V0LHRpPVphP1lhKFphKTpYYSxyaT1WcixlaT1JdSxuaT1VdSxvaT1LdSx1aT1yYSxhaT1lYSxpaT1uYSxjaT1hYSxmaT15YSxsaT1kbix2aT1nYSxzaT1EbixwaT1PYSxiaT1DYSx5aT1MYSxoaT1lLGRpPXplLGppPUhhLGdpPXosX2k9dGksT2k9cG4sd2k9WXUsbWk9IltvYmplY3QgQXJndW1lbnRzXSIsQWk9IltvYmplY3QgRnVuY3Rpb25dIixTaT0iW29iamVjdCBPYmplY3RdIix4aT17fTt4aVttaV09eGlbIltvYmplY3QgQXJyYXldIl09eGlbIltvYmplY3QgQXJyYXlCdWZmZXJdIl09eGlbIltvYmplY3QgRGF0YVZpZXddIl09eGlbIltvYmplY3QgQm9vbGVhbl0iXT14aVsiW29iamVjdCBEYXRlXSJdPXhpWyJbb2JqZWN0IEZsb2F0MzJBcnJheV0iXT14aVsiW29iamVjdCBGbG9hdDY0QXJyYXldIl09eGlbIltvYmplY3QgSW50OEFycmF5XSJdPXhpWyJbb2JqZWN0IEludDE2QXJyYXldIl09eGlbIltvYmplY3QgSW50MzJBcnJheV0iXT14aVsiW29iamVjdCBNYXBdIl09eGlbIltvYmplY3QgTnVtYmVyXSJdPXhpW1NpXT14aVsiW29iamVjdCBSZWdFeHBdIl09eGlbIltvYmplY3QgU2V0XSJdPXhpWyJbb2JqZWN0IFN0cmluZ10iXT14aVsiW29iamVjdCBTeW1ib2xdIl09eGlbIltvYmplY3QgVWludDhBcnJheV0iXT14aVsiW29iamVjdCBVaW50OENsYW1wZWRBcnJheV0iXT14aVsiW29iamVjdCBVaW50MTZBcnJheV0iXT14aVsiW29iamVjdCBVaW50MzJBcnJheV0iXT0hMCx4aVsiW29iamVjdCBFcnJvcl0iXT14aVtBaV09eGlbIltvYmplY3QgV2Vha01hcF0iXT0hMTt2YXIgUGk9ZnVuY3Rpb24gdChyLGUsbixvLHUsYSl7dmFyIGksYz0xJmUsZj0yJmUsbD00JmU7aWYobiYmKGk9dT9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YXN5bmMgZnVuY3Rpb24gY29udmVydFRvVHJlZVdrKHQscj17fSl7cmV0dXJuIHBmKHQscil9CgpsZXQgaW5zdGFuY2UgPSBudWxsCmZ1bmN0aW9uIGluaXQoaW5wdXQpewoKICAgIC8vaW5pdAogICAgbGV0IHIKICAgIAogICAgICAgIHIgPSB7CiAgICAgICAgICAgIG1haW46IGNvbnZlcnRUb1RyZWVXawogICAgICAgIH0KICAgICAgICAKCiAgICAvL29uCiAgICAKCiAgICAvL3NhdmUKICAgIGluc3RhbmNlID0gcgoKfQoKZnVuY3Rpb24gc2VuZE1lc3NhZ2UoZGF0YSkgewogICAgCiAgICAgICAgc2VsZi5wb3N0TWVzc2FnZShkYXRhKQogICAgICAgIAp9Cgphc3luYyBmdW5jdGlvbiBydW4oZGF0YSkgewogICAgLy8gY29uc29sZS5sb2coJ2lubmVyIHdvcmtlciBydW4nLGRhdGEpCgogICAgLy9tb2RlCiAgICBsZXQgbW9kZSA9IGRhdGEubW9kZQoKICAgIC8vY2hlY2sKICAgIGlmKG1vZGUgIT09ICdpbml0JyAmJiBtb2RlICE9PSAnY2FsbCcpewogICAgICAgIHJldHVybgogICAgfQoKICAgIC8vaW5pdAogICAgaWYobW9kZSA9PT0gJ2luaXQnKXsKICAgICAgICAKICAgICAgICB0cnl7CgogICAgICAgICAgICAvL3R5cGUKICAgICAgICAgICAgbGV0IHR5cGUgPSBkYXRhLnR5cGUKCiAgICAgICAgICAgIC8vaW5wdXQKICAgICAgICAgICAgbGV0IGlucHV0ID0gZGF0YS5pbnB1dAogICAgCiAgICAgICAgICAgIC8vaW5zdGFuY2UKICAgICAgICAgICAgaWYodHlwZSA9PT0gJ2Z1bmN0aW9uJyl7CiAgICAgICAgICAgICAgICBpbml0KC4uLmlucHV0KQogICAgICAgICAgICB9CiAgICAgICAgICAgIGVsc2UgaWYodHlwZSA9PT0gJ29iamVjdCcpewogICAgICAgICAgICAgICAgaW5zdGFuY2UgPSBjb252ZXJ0VG9UcmVlV2sKICAgICAgICAgICAgfQoKICAgICAgICB9CiAgICAgICAgY2F0Y2goZXJyKXsKICAgICAgICAKICAgICAgICAgICAgLy9zZW5kTWVzc2FnZQogICAgICAgICAgICBsZXQgcmVzID0gewogICAgICAgICAgICAgICAgbW9kZTogJ2VtaXQnLAogICAgICAgICAgICAgICAgZXZOYW1lOiAnZXJyb3InLAogICAgICAgICAgICAgICAgbXNnOiBlcnIsCiAgICAgICAgICAgIH0KICAgICAgICAgICAgc2VuZE1lc3NhZ2UocmVzKQoKICAgICAgICB9CiAgICAgICAgICAgIAogICAgfQoKICAgIC8vY2hlY2sKICAgIGlmKG1vZGUgPT09ICdjYWxsJyl7CiAgICAgICAgbGV0IHN0YXRlID0gJycKICAgICAgICBsZXQgbXNnID0gbnVsbAoKICAgICAgICB0cnl7CgogICAgICAgICAgICAvL2Z1bgogICAgICAgICAgICBsZXQgZnVuID0gaW5zdGFuY2VbZGF0YS5mdW5dCgogICAgICAgICAgICAvL2lucHV0CiAgICAgICAgICAgIGxldCBpbnB1dCA9IGRhdGEuaW5wdXQKCiAgICAgICAgICAgIC8vZXhlYwogICAgICAgICAgICBhd2FpdCBmdW4oLi4uaW5wdXQpCiAgICAgICAgICAgICAgICAudGhlbigoc3VjKSA9PiB7CiAgICAgICAgICAgICAgICAgICAgc3RhdGU9J3N1Y2Nlc3MnCiAgICAgICAgICAgICAgICAgICAgbXNnPXN1YwogICAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgICAgIC5jYXRjaCgoZXJyKSA9PiB7CiAgICAgICAgICAgICAgICAgICAgc3RhdGU9J2Vycm9yJwogICAgICAgICAgICAgICAgICAgIG1zZz1lcnIKICAgICAgICAgICAgICAgIH0pCgogICAgICAgIH0KICAgICAgICBjYXRjaChlcnIpewogICAgICAgICAgICBzdGF0ZSA9ICdlcnJvcicKICAgICAgICAgICAgbXNnID0gZXJyCiAgICAgICAgfQogICAgICAgIAogICAgICAgIC8vc2VuZE1lc3NhZ2UKICAgICAgICBsZXQgcmVzID0gewogICAgICAgICAgICBtb2RlOiAncmV0dXJuJywKICAgICAgICAgICAgaWQ6IGRhdGEuaWQsCiAgICAgICAgICAgIGZ1bjogZGF0YS5mdW4sCiAgICAgICAgICAgIHN0YXRlLAogICAgICAgICAgICBtc2csCiAgICAgICAgfQogICAgICAgIHNlbmRNZXNzYWdlKHJlcykKCiAgICB9Cgp9CgpmdW5jdGlvbiByZWN2TWVzc2FnZShkYXRhKSB7CiAgICAvLyBjb25zb2xlLmxvZygnaW5uZXIgd29ya2VyIHJlY3Y6JywgZGF0YSkKCiAgICAvL2RhdGFSZWN2CiAgICBsZXQgZGF0YVJlY3YgPSBkYXRhCgogICAgLy9ydW4KICAgIHJ1bihkYXRhUmVjdikKCn0KCgogICAgICAgIHNlbGYub25tZXNzYWdlID0gZnVuY3Rpb24gKGUpIHsKICAgICAgICAgICAgcmVjdk1lc3NhZ2UoZS5kYXRhKQogICAgICAgIH0KICAgICAgICAKCg==");function e(){let e=new BS,t=function(n){try{let e=new Blob([n]),t=window.URL||window.webkitURL;return new Worker(t.createObjectURL(e))}catch(n){o(n)}}(n);if(!t)return o("invalid worker"),null;function r(){let n=function(){let n,e,t=new Promise((function(){n=arguments[0],e=arguments[1]}));return t.resolve=n,t.reject=e,t}(),r=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,e=[],t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=t.length;for(let o=0;o<n;o++)e[o]=t[0|Math.random()*r];return e.join("")}(),o={mode:"call",id:r,fun:"main",input:[...arguments]};return t.postMessage(o),e.once(r,(e=>{"success"===e.state?n.resolve(e.msg):n.reject(e.msg)})),n}function o(n){e.emit("error",n)}return t.onmessage=function(n){!function(n){let t=n,r=t.mode;"emit"!==r&&"return"!==r||("emit"===r&&e.emit(t.evName,t.msg),"return"===r&&e.emit(t.id,t))}(n.data)},t.onerror=o,function(){let n={mode:"init",type:"function",input:[...arguments]};t.postMessage(n)}([...arguments]),e.main=r,e.main=r,e.terminate=function(){t?(t.terminate(),t=void 0):o("worker has been terminated")},e}WS=async function(){let n=[...arguments],t=e();return await t.main(...n).finally((()=>{t.terminate()}))}}();var AS=WS,ZS={components:{WTree:vC},props:{data:{type:[Array,Object],default:()=>{}},viewHeightMax:{type:Number,default:400},defaultDisplayLevel:{type:Number,default:null},indent:{type:Number,default:1},iconSize:{type:Number,default:24},iconToggleColor:{type:String,default:"grey"},iconToggleBackgroundColor:{type:String,default:"transparent"},iconToggleBackgroundColorHover:{type:String,default:"rgba(128,128,128,0.15)"},filterKeywords:{type:String,default:""},funFilter:{type:Function,default:null},loadingText:{type:String,default:"Loading..."},noResultsText:{type:String,default:"No results"},searchingText:{type:String,default:"Searching..."},defItemHeight:{type:Number,default:24},itemsPreload:{type:Number,default:5},keyColor:{type:String,default:"grey darken-2"},keyNumbersColor:{type:String,default:"grey lighten-1"},numColor:{type:String,default:"indigo accent-2"},strColor:{type:String,default:"orange accent-2"},bolColor:{type:String,default:"light-green lighten-1"},funColor:{type:String,default:"purple accent-2"},defaultColor:{type:String,default:"grey darken-4"},rippleColor:{type:String,default:"rgba(200,200,200,0.4)"},show:{type:Boolean,default:!0}},data:function(){return{lockFromSetData:!1,useColors:{},root:"___root___",lineNumberWidth:0}},watch:{data:{immediate:!0,deep:!0,handler(n){this.setData(n)}}},computed:{changeColors:function(){return this.convertColors(),""},useItemHeightMin:function(){return`min-height:${Math.max(this.iconSize,this.defItemHeight)}px;`}},methods:{convertColors:function(){let n=this;if(Ws(n.useColors))return;let e={numColor:Id(n.numColor),strColor:Id(n.strColor),bolColor:Id(n.bolColor),funColor:Id(n.funColor),defaultColor:Id(n.defaultColor),keyColor:Id(n.keyColor),keyNumbersColor:Id(n.keyNumbersColor)};n.useColors=e},parseData:async function(n){return await AS(n,{bindRoot:this.root})},setData:function(n){let e=this;(async function(){if(e.lockFromSetData=!0,!vi(n)&&!Gi(n)){return"data is not an array or object"}e.convertColors(),n=np(n);let t=await e.parseData(n);await ll((()=>void 0!==e.$refs.wt),{timeInterval:20}),e.$refs.wt&&await e.$refs.wt.setData(t),e.getLineNumberWidth()})().catch((n=>{console.log(n)})).finally((()=>{e.lockFromSetData=!1}))},getLineNumberWidth:function(){let n=this;(async function(){if(await ll((()=>void 0!==n.$refs.wt),{timeInterval:20}),!n.$refs.wt)return;let e=n.$refs.wt.getRows(),t=xd(e),r=8*(Math.ceil(Math.log10(t))+.5);n.lineNumberWidth=r})().catch((n=>{console.log(n)}))},genBlock:function(n){let e="";return"object"===n.type?e=`{${n.numOfChilren}}`:"array"===n.type&&(e=`[${n.numOfChilren}]`),e},getKey:function(n){let e="";return(Ji(n.key)||Pd(n.key))&&(e=n.key),e===this.root&&(e=""),e},getType:function(n){let e="";return"node"!==n.type&&(e=n.type),e},getText:function(n){let e="";return"node"===n.type&&(e=n.text),e},getTextTypeColor:function(n){let e=this,t=e.useColors.defaultColor;if("node"===n.type){let r="";Pd(n.text)?r="numColor":yi(n.text)?r="strColor":Vp(n.text)?r="bolColor":bi(n.text)&&(r="funColor"),Zs(e.useColors,r)&&(t=e.useColors[r])}return t},toggleItemsByFun:function(n){return this.$refs.wt.toggleItemsByFun(n)},toggleItemsAll:function(n){return this.$refs.wt.toggleItemsAll(n)}}};const XS=ZS;var VS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[t("WTree",{ref:"wt",attrs:{viewHeightMax:n.viewHeightMax,defaultDisplayLevel:n.defaultDisplayLevel,indent:n.indent,iconSize:n.iconSize,iconToggleColor:n.iconToggleColor,iconToggleBackgroundColor:n.iconToggleBackgroundColor,iconToggleBackgroundColorHover:n.iconToggleBackgroundColorHover,itemRippleColor:n.rippleColor,filterKeywords:n.filterKeywords,funFilter:n.funFilter,loadingText:n.loadingText,noResultsText:n.lockFromSetData?"":n.noResultsText,searchingText:n.searchingText,defItemHeight:n.defItemHeight,itemsPreload:n.itemsPreload,show:n.show},on:{"change-view-items":function(e){n.$emit("change-view-items",e)},"change-height-of-items":function(e){n.$emit("change-height-of-items",e)}},scopedSlots:n._u([{key:"head",fn:function(e){return[t("div",{style:n.useItemHeightMin+" min-width:"+n.lineNumberWidth+"px; display:flex; align-items:center; justify-content:end;"},[t("div",{style:"font-size:0.8rem; padding-top:1px; color:#f26; user-select:none;"},[n._v(n._s(e.index+1))])])]}},{key:"item",fn:function(e){return[t("div",{style:n.useItemHeightMin+" display:flex; align-items:center;"},[t("div",{staticStyle:{display:"flex"}},[""!==n.getKey(e.data)?t("div",{style:"padding-right:5px; color:"+n.useColors.keyColor+";"},[n._v("\n "+n._s(n.getKey(e.data))+":\n ")]):n._e(),n._v(" "),""!==n.getType(e.data)?t("div",{style:"padding-right:3px; color:"+n.useColors.keyColor+";"},[n._v("\n "+n._s(n.getType(e.data))+"\n ")]):n._e(),n._v(" "),t("div",{style:"color:"+n.getTextTypeColor(e.data)+";"},[n._v("\n "+n._s(n.getText(e.data))+"\n ")])]),n._v(" "),t("div",{style:"padding-left:5px; color:"+n.useColors.keyNumbersColor+";"},[n._v("\n "+n._s(n.genBlock(e.data))+"\n ")])])]}}])}),n._v(" "),n.lockFromSetData?t("div",{staticStyle:{padding:"12px","font-size":"0.8rem"}},[n._v("\n "+n._s(n.loadingText)+"\n ")]):n._e()],1)};VS._withStripped=!0;const PS=t({render:VS,staticRenderFns:[]},(function(n){n&&n("data-v-cd186c56_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WJsonView.vue"},media:void 0})}),XS,"data-v-cd186c56",false,undefined,!1,o,void 0,void 0);const FS={components:{WIconLoading:Td},props:{pathItems:{type:Array,default:()=>["https://cdn.jsdelivr.net/npm/w-leaflet-vue@1.0.45/dist/w-leaflet-vue.umd.js"]},opt:{type:Object,default:()=>{}}},data:function(){return{cmpName:"WIconLoading"}},mounted:function(){let n=this;fl(n.pathItems).then((e=>{if("loaded"!==e){let n=window["w-leaflet-vue"];n.default&&(n=n.default),Bd().component("w-leaflet-vue",n)}n.cmpName="w-leaflet-vue"}))},computed:{},methods:{}};var RS=function(){var n=this,e=n.$createElement;return(n._self._c||e)(n.cmpName,{ref:"$self",tag:"component",attrs:{opt:n.opt}})};RS._withStripped=!0;const LS=t({render:RS,staticRenderFns:[]},(function(n){n&&n("data-v-5cf6f9c7_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WLeafletVueDyn.vue"},media:void 0})}),FS,"data-v-5cf6f9c7",false,undefined,!1,o,void 0,void 0);var zS={directives:{domresize:lp()},components:{WCheckbox:mm,WText:jb,WListVertical:lC},props:{multiCheck:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},value:{type:[Array,String,Object],default:null},keyText:{type:String,default:"text"},keyIcon:{type:String,default:"icon"},keyPickForObjItem:{type:String,default:""},paddingStyle:{type:Object,default:()=>({v:6,h:8})},spaceBetweenCheckboxAndContent:{type:Number,default:8},itemTextFontSize:{type:String,default:"1.0rem"},itemBackgroundColor:{type:String,default:"white"},itemBackgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},itemBackgroundColorActive:{type:String,default:"rgba(200,200,200,0.4)"},itemBackgroundColorDisabled:{type:String,default:"white"},itemTextColor:{type:String,default:"#444"},itemTextColorHover:{type:String,default:"#222"},itemTextColorActive:{type:String,default:"#000"},itemTextColorDisabled:{type:String,default:"#444"},itemIconSize:{type:Number,default:18},itemIconColor:{type:String,default:"#444"},itemIconColorHover:{type:String,default:"#222"},itemIconColorActive:{type:String,default:"#000"},itemIconColorDisabled:{type:String,default:"#444"},itemRippleColor:{type:String,default:"rgba(255,255,255,0.4)"},itemDisabledColor:{type:String,default:"transparent"},itemCursorPointer:{type:Boolean,default:!0},itemCheckIconIconSize:{type:Number,default:18},itemCheckIconCheckedIcon:{type:String,default:gp},itemCheckIconCheckedIconColor:{type:String,default:"blue darken-3"},itemCheckIconCheckedIconColorHover:{type:String,default:"blue darken-2"},itemCheckIconCheckedIconColorActive:{type:String,default:"blue darken-2"},itemCheckIconCheckedIconColorDisabled:{type:String,default:"grey"},itemCheckIconUncheckedIcon:{type:String,default:hp},itemCheckIconUncheckedIconColor:{type:String,default:"blue darken-3"},itemCheckIconUncheckedIconColorHover:{type:String,default:"blue darken-2"},itemCheckIconUncheckedIconColorActive:{type:String,default:"blue darken-2"},itemCheckIconUncheckedIconColorDisabled:{type:String,default:"grey"},enableQuery:{type:Boolean,default:!1},query:{type:String,default:""},queryKeysPickForObjItem:{type:Array,default:()=>["text"]},queryPaddingStyle:{type:Object,default:()=>({v:0,h:0})},queryBorderRadius:{type:Number,default:30},queryShadow:{type:Boolean,default:!1},queryTextFontSize:{type:String,default:"1.0rem"},queryTextColor:{type:String,default:"black"},queryTextAlign:{type:String,default:"left"},queryIcon:{type:String,default:wp},queryIconSize:{type:Number,default:18},queryIconColor:{type:String,default:"blue"},queryIconColorHover:{type:String,default:"blue darken-1"},queryIconColorFocus:{type:String,default:"blue darken-1"},queryIconTooltip:{type:String,default:""},queryIconShiftOuter:{type:Number,default:0},queryIconShiftInner:{type:Number,default:5},queryBackgroundColor:{type:String,default:"transparent"},queryBackgroundColorHover:{type:String,default:"transparent"},queryBackgroundColorFocus:{type:String,default:"transparent"},queryBorderColor:{type:String,default:"transparent"},queryBorderColorHover:{type:String,default:"transparent"},queryBorderColorFocus:{type:String,default:"transparent"},queryBottomLineBorderColor:{type:String,default:"grey lighten-1"},queryBottomLineBorderColorHover:{type:String,default:"grey"},queryBottomLineBorderColorFocus:{type:String,default:"blue darken-1"},queryBottomLineBorderWidth:{type:Number,default:1},queryBottomLineBorderWidthHover:{type:Number,default:1},queryBottomLineBorderWidthFocus:{type:Number,default:2},queryPlaceholder:{type:String,default:"Keywords"},queryHeight:{type:Number,default:28},queryFocused:{type:Boolean,default:!1},queryPanelPaddingStyle:{type:Object,default:()=>({v:10,h:10})},querySepLineColor:{type:String,default:"#ddd"},querySepLineWidth:{type:Number,default:1}},data:function(){return{panelHeight:0,itemsTrans:[],kpCheck:{},queryTrans:"",queryFocusedTrans:!1}},computed:{changeValue:function(){return this.modifyItems(this.value),""},changeQuery:function(){let n=this;return n.queryTrans=n.query,n.queryFocusedTrans=n.queryFocused,""},isObjValue:function(){return 0!==xd(this.items)&&Mb(this.items,(n=>Gi(n)))},useQueryPanelPaddingStyle:function(){return`padding:${ch(this.queryPanelPaddingStyle)};`},effSepLineColor:function(){return Id(this.querySepLineColor)}},methods:{resize:function(n){this.panelHeight=n.snew.offsetHeight},getItem:function(n){let e=this,t=null;return t=e.isObjValue&&Ji(e.keyPickForObjItem)?Vo(n,e.keyPickForObjItem):n,t},getKeyFromItemAndInd:function(n,e){let t=this.getItem(n);return Ws(t)&&(t=JSON.stringify(t),t=nf(t,20)),`${e}|${t}`},getKeyFromItem:function(n){let e=this,t=null;return Jn(e.items,((r,o)=>{if(xm(r,n))return t=e.getKeyFromItemAndInd(n,o),!1})),t},judgeItem:function(n,e){let t=this.getItem(n),r=null;return r=this.multiCheck?BC(e,t):xm(e,t),r},queryFunFilter:function(n,e){let t=this;if(!Ji(t.queryTrans))return!0;let r=null;if(t.isObjValue)if(vh(t.queryKeysPickForObjItem)){let e=[];Jn(t.queryKeysPickForObjItem,(t=>{let r=Vo(n,`data.${t}`);e.push(r)})),r=mi(e,"|")}else r=lv(n);else r=tf(n);r=r.toLowerCase();let o=$p(t.queryTrans.toLowerCase()," "),i=!1;return Jn(o,(n=>{if(r.indexOf(n)>=0)return i=!0,!1})),i},modifyItems:function(n){let e=this,t=null,r={};Jn(e.items,((o,i)=>{let l=e.getKeyFromItemAndInd(o,i),a=e.judgeItem(o,n);r[l]=a,a&&(t=l)})),e.multiCheck||null===t||(Jn(r,((n,e)=>{r[e]=!1})),r[t]=!0);let o=hi(e.items,((n,t)=>{let r=n;e.isObjValue&&(r=Vo(n,e.keyText,""));let o="";e.isObjValue&&(o=Vo(n,e.keyIcon,""));let i=!0;return e.isObjValue&&(i=Vo(n,"editable",!0)),{[e.keyText]:r,[e.keyIcon]:o,editable:i,data:n}}));e.itemsTrans=o,e.kpCheck=r},clickItem:function(n,e){let t=this;if(!t.getEditable(n))return;let r=np(t.kpCheck),o=t.getKeyFromItem(n);t.multiCheck?r[o]=!r[o]:r[e]||(Jn(r,((n,e)=>{r[e]=!1})),r[o]=!0);let i=[];Jn(t.items,((n,e)=>{let o=t.getKeyFromItemAndInd(n,e);if(!r[o])return!0;let l=t.getItem(n);i.push(l)})),t.multiCheck||(i=Vo(i,0,null)),t.kpCheck=r,t.$emit("click",{check:r[o],item:np(t.items[e]),kitem:e}),t.$emit("input",i)},modifyQuery:function(){let n=this;n.modifyItems(n.value),n.$emit("update:query",n.queryTrans)},modifyQueryFocused:function(n){this.$emit("update:queryFocused",n)},getCheck:function(n){let e=this.getKeyFromItem(n);return this.kpCheck[e]},getEditable:function(n){return Vo(n,"editable",!0)}}};const NS=zS;var jS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeValue:n.changeValue,changeQuery:n.changeQuery},on:{domresize:n.resize}},[t("WListVertical",{style:"height:"+n.panelHeight+"px;",attrs:{items:n.itemsTrans,enableActive:!0,_itemActive:"itemActive",keyText:n.keyText,keyIcon:n.keyIcon,paddingStyle:n.paddingStyle,itemTextFontSize:n.itemTextFontSize,itemBackgroundColor:n.itemBackgroundColor,itemBackgroundColorHover:n.itemBackgroundColorHover,itemBackgroundColorActive:n.itemBackgroundColorActive,itemBackgroundColorDisabled:n.itemBackgroundColorDisabled,itemTextColor:n.itemTextColor,itemTextColorHover:n.itemTextColorHover,itemTextColorActive:n.itemTextColorActive,itemTextColorDisabled:n.itemTextColorDisabled,itemIconSize:n.itemIconSize,itemIconColor:n.itemIconColor,itemIconColorHover:n.itemIconColorHover,itemIconColorActive:n.itemIconColorActive,itemIconColorDisabled:n.itemIconColorDisabled,itemRippleColor:n.itemRippleColor,itemDisabledColor:n.itemDisabledColor,itemCursorPointer:n.itemCursorPointer,query:n.queryTrans,funFilter:n.queryFunFilter},on:{click:function(e,t){n.clickItem(e.data,t)}},scopedSlots:n._u([{key:"header",fn:function(){return[n._t("header"),n._v(" "),n.enableQuery?[t("div",{style:""+n.useQueryPanelPaddingStyle},[t("WText",{attrs:{paddingStyle:n.queryPaddingStyle,borderRadius:n.queryBorderRadius,shadow:n.queryShadow,textFontSize:n.queryTextFontSize,textColor:n.queryTextColor,textAlign:n.queryTextAlign,leftIcon:n.queryIcon,leftIconSize:n.queryIconSize,leftIconColor:n.queryIconColor,leftIconColorHover:n.queryIconColorHover,leftIconColorFocus:n.queryIconColorFocus,leftIconTooltip:n.queryIconTooltip,_rightIcon:"queryRightIcon",_rightIconSize:"queryRightIconSize",_rightIconColor:"queryRightIconColor",_rightIconColorHover:"queryRightIconColorHover",_rightIconColorFocus:"queryRightIconColorFocus",_rightIconTooltip:"queryRightIconTooltip",iconShiftOuter:n.queryIconShiftOuter,iconShiftInner:n.queryIconShiftInner,backgroundColor:n.queryBackgroundColor,backgroundColorHover:n.queryBackgroundColorHover,backgroundColorFocus:n.queryBackgroundColorFocus,borderColor:n.queryBorderColor,borderColorHover:n.queryBorderColorHover,borderColorFocus:n.queryBorderColorFocus,bottomLineBorderColor:n.queryBottomLineBorderColor,bottomLineBorderColorHover:n.queryBottomLineBorderColorHover,bottomLineBorderColorFocus:n.queryBottomLineBorderColorFocus,bottomLineBorderWidth:n.queryBottomLineBorderWidth,bottomLineBorderWidthHover:n.queryBottomLineBorderWidthHover,bottomLineBorderWidthFocus:n.queryBottomLineBorderWidthFocus,placeholder:n.queryPlaceholder,height:n.queryHeight,focused:n.queryFocused,editable:!0},on:{enter:n.modifyQuery,change:n.modifyQuery,input:n.modifyQuery,"update:focused":n.modifyQueryFocused},model:{value:n.queryTrans,callback:function(e){n.queryTrans=e},expression:"queryTrans"}})],1),n._v(" "),t("div",{style:"border-top:"+n.querySepLineWidth+"px solid "+n.effSepLineColor+";"})]:n._e()]},proxy:!0},{key:"item-left",fn:function(e){return[t("WCheckbox",{attrs:{iconSize:n.itemCheckIconIconSize,checkedIcon:n.itemCheckIconCheckedIcon,checkedIconColor:e.isActive?n.itemCheckIconCheckedIconColorActive:e.isHover?n.itemCheckIconCheckedIconColorHover:n.itemCheckIconCheckedIconColor,checkedIconColorHover:e.isActive?n.itemCheckIconCheckedIconColorActive:n.itemCheckIconCheckedIconColorHover,checkedIconColorDisabled:n.itemCheckIconCheckedIconColorDisabled,uncheckedIcon:n.itemCheckIconUncheckedIcon,uncheckedIconColor:e.isActive?n.itemCheckIconUncheckedIconColorActive:e.isHover?n.itemCheckIconUncheckedIconColorHover:n.itemCheckIconUncheckedIconColor,uncheckedIconColorHover:e.isActive?n.itemCheckIconUncheckedIconColorActive:n.itemCheckIconUncheckedIconColorHover,uncheckedIconColorDisabled:n.itemCheckIconUncheckedIconColorDisabled,editable:n.getEditable(e.item.data),value:n.getCheck(e.item.data)}}),n._v(" "),t("div",{style:"padding-right:"+n.spaceBetweenCheckboxAndContent+"px;"})]}},{key:"item-content",fn:function(e){return[n._t("item-content",null,{item:e.item.data,kitem:e.kitem,isHover:e.isHover,isActive:e.is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35ddffd2",false,undefined,!1,o,void 0,void 0);var GS={directives:{domripple:hh()},components:{WIcon:Ch},props:{text:{type:String,default:""},textFontSize:{type:String,default:"1rem"},active:{type:Boolean,default:!1},paddingStyle:{type:Object,default:()=>({v:10,h:12})},backgroundColor:{type:String,default:"white"},backgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},backgroundColorActive:{type:String,default:"orange lighten-1"},textColor:{type:String,default:"#444"},textColorHover:{type:String,default:"#222"},textColorActive:{type:String,default:"white"},icon:{type:String,default:""},iconSize:{type:Number,default:22},iconColor:{type:String,default:"#444"},iconColorHover:{type:String,default:"#222"},iconColorActive:{type:String,default:"white"},expansionIcon:{type:String,default:Hp},expansionIconSize:{type:Number,default:18},expansionIconColor:{type:String,default:"#aaa"},expansionIconColorHover:{type:String,default:"#888"},expansionIconColorActive:{type:String,default:"rgba(255,255,255,0.8)"},rippleColor:{type:String,default:"rgba(255,255,255,0.4)"}},data:function(){return{obstructMutation:!1,mouseEnter:!1,heightContent:""}},computed:{changeActive:function(){return this.updateHeightContent(this.active),""},useTextFontSize:function(){let n=this.textFontSize;return n=As(n,";",""),`font-size:${n};`},hasIcon:function(){return""!==this.icon},usePadding:function(){let n=this;return`padding:${ch(n.paddingStyle,{ext:{left:n.shiftLeft,right:n.shiftRight}})};`},effBackgroundColor:function(){return Id(this.backgroundColor)},effBackgroundColorHover:function(){return Id(this.backgroundColorHover)},effBackgroundActive:function(){return Id(this.backgroundColorActive)},useBackgroundColor:function(){let n=this;return n.active?n.effBackgroundActive:n.mouseEnter?n.effBackgroundColorHover:n.effBackgroundColor},effTextColor:function(){return Id(this.textColor)},effTextColorHover:function(){return Id(this.textColorHover)},effTextActive:function(){return Id(this.textColorActive)},useTextColor:function(){let n=this;return n.active?n.effTextActive:n.mouseEnter?n.effTextColorHover:n.effTextColor},effIconColor:function(){return Id(this.iconColor)},effIconColorHover:function(){return Id(this.iconColorHover)},effIconActive:function(){return Id(this.iconColorActive)},useIconColor:function(){let n=this;return n.active?n.effIconActive:n.mouseEnter?n.effIconColorHover:n.effIconColor},effExpansionIconColor:function(){return Id(this.expansionIconColor)},effExpansionIconColorHover:function(){return Id(this.expansionIconColorHover)},effExpansionIconColorActive:function(){return Id(this.expansionIconColorActive)},useExpansionIconColor:function(){let n=this;return n.active?n.effExpansionIconColorActive:n.mouseEnter?n.effExpansionIconColorHover:n.effExpansionIconColor},useRotateDeg:function(){return this.active?180:0}},methods:{updateHeightContent:function(){let n=this;(async function(){for(let e=1;e<=5;e++)setTimeout((()=>{n.obstructMutation=!n.obstructMutation}),100*e);if(n.active){if(n.active){n.$el||await ll((()=>void 0!==n.$el),{timeInterval:10});let e=Vo(n,"$refs.rct.clientHeight");Pd(e)&&(n.heightContent=`height:${e}px;`)}}else n.heightContent=""})().catch((n=>{console.log(n)}))},getIcon:function(n){return Vo(n,"icon","")},getText:function(n){if(""===Vo(n,"text",""))return n},clickItem:function(n,e){let t=this;return t.$emit("update:active",!t.active),t.$emit("click",{icon:n,text:e}),""}}};const KS=GS;var DS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{attrs:{changeActive:n.changeActive}},[t("div",{directives:[{name:"domripple",rawName:"v-domripple",value:{color:n.rippleColor},expression:"{color:rippleColor}"}],style:"transition:all 0.3s; "+n.usePadding+" background:"+n.useBackgroundColor+"; cursor:pointer;",on:{mouseenter:function(e){n.mouseEnter=!0},mouseleave:function(e){n.mouseEnter=!1},click:function(e){return n.clickItem(n.icon,n.text)}}},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{"margin-right":"4px"}},[t("div",{style:"transition:all 0.3s; transform:rotate("+(n.useRotateDeg+90)+"deg); cursor:pointer;"},[t("WIcon",{attrs:{icon:n.expansionIcon,color:n.useExpansionIconColor,colorHover:n.useExpansionIconColor,size:n.expansionIconSize}})],1)]),n._v(" "),n._t("header",(function(){return[n.hasIcon?t("WIcon",{staticStyle:{"margin-right":"8px"},attrs:{icon:n.icon,color:n.useIconColor,colorHover:n.useIconColor,size:n.iconSize}}):n._e(),n._v(" "),t("div",{style:"transition:all 0.3s; color:"+n.useTextColor+"; "+n.useTextFontSize},[n._v("\n "+n._s(n.text)+"\n ")])]}),{isHover:n.mouseEnter,isActive:n.active})],2)]),n._v(" "),t("div",{class:"ct "+(n.active?"ct-show":"ct-hide"),style:""+n.heightContent},[t("div",{ref:"rct"},[n._t("content",null,{isHover:n.mouseEnter,isActive:n.active})],2)]),n._v(" "),t("div",{staticStyle:{position:"relative",height:"0px",overflow:"hidden"}},[n.obstructMutation?t("div",{staticStyle:{position:"absolute",left:"0px",top:"0px",height:"0px"}}):n._e()])])};DS._withStripped=!0;const OS=t({render:DS,staticRenderFns:[]},(function(n){n&&n("data-v-6d28cb24_0",{source:"\n.ct[data-v-6d28cb24] {\r\n transition: height 0.5s, opacity 0.5s ease-out;\n}\n.ct-hide[data-v-6d28cb24] {\r\n overflow: hidden;\r\n height: 0px;\r\n opacity: 0;\n}\n.ct-show[data-v-6d28cb24] {\r\n opacity: 1;\n}\r\n",map:{version:3,sources:["D:\\- 006 - 開源\\開源-JS-104-2-w-component-vue\\w-component-vue\\src\\components\\WListExpandItem.vue"],names:[],mappings:";AAicA;IACA,8CAAA;AACA;AACA;IACA,gBAAA;IACA,WAAA;IACA,UAAA;AACA;AACA;IACA,UAAA;AACA",file:"WListExpandItem.vue",sourcesContent:["<template>\r\n <div\r\n :changeActive=\"changeActive\"\r\n >\r\n\r\n \x3c!-- header --\x3e\r\n <div\r\n :style=\"`transition:all 0.3s; ${usePadding} background:${useBackgroundColor}; cursor:pointer;`\"\r\n v-domripple=\"{color:rippleColor}\"\r\n @mouseenter=\"mouseEnter=true\"\r\n @mouseleave=\"mouseEnter=false\"\r\n @click=\"clickItem(icon,text)\"\r\n >\r\n <div style=\"display:flex; align-items:center;\">\r\n\r\n <div style=\"margin-right:4px;\">\r\n <div :style=\"`transition:all 0.3s; transform:rotate(${useRotateDeg+90}deg); cursor:pointer;`\">\r\n <WIcon\r\n :icon=\"expansionIcon\"\r\n :color=\"useExpansionIconColor\"\r\n :colorHover=\"useExpansionIconColor\"\r\n :size=\"expansionIconSize\"\r\n ></WIcon>\r\n </div>\r\n </div>\r\n\r\n <slot\r\n name=\"header\"\r\n :isHover=\"mouseEnter\"\r\n :isActive=\"active\"\r\n >\r\n\r\n <WIcon\r\n style=\"margin-right:8px;\"\r\n :icon=\"icon\"\r\n :color=\"useIconColor\"\r\n :colorHover=\"useIconColor\"\r\n :size=\"iconSize\"\r\n v-if=\"hasIcon\"\r\n ></WIcon>\r\n\r\n <div :style=\"`transition:all 0.3s; color:${useTextColor}; ${useTextFontSize}`\">\r\n {{text}}\r\n </div>\r\n\r\n </slot>\r\n\r\n </div>\r\n </div>\r\n\r\n \x3c!-- content --\x3e\r\n <div :class=\"`ct ${active?'ct-show':'ct-hide'}`\" :style=\"`${heightContent}`\">\r\n <div ref=\"rct\">\r\n\r\n <slot\r\n name=\"content\"\r\n :isHover=\"mouseEnter\"\r\n :isActive=\"active\"\r\n >\r\n </slot>\r\n\r\n </div>\r\n </div>\r\n\r\n <div style=\"position:relative; height:0px; overflow:hidden;\">\r\n <div style=\"position:absolute; left:0px; top:0px; height:0px;\" v-if=\"obstructMutation\">\r\n </div>\r\n </div>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { mdiPlay } from '@mdi/js'\r\nimport get from 'lodash/get'\r\nimport isNumber from 'lodash/isNumber'\r\nimport replace from 'wsemi/src/replace.mjs'\r\nimport waitFun from 'wsemi/src/waitFun.mjs'\r\nimport domRipple from '../js/domRipple.mjs'\r\nimport color2hex from '../js/vuetifyColor.mjs'\r\nimport parseSpace from '../js/parseSpace.mjs'\r\nimport WIcon from './WIcon.vue'\r\n\r\n\r\n/**\r\n * @vue-prop {String} [text=''] 輸入文字字串,預設''\r\n * @vue-prop {String} [textFontSize='1rem'] 輸入文字字型大小字串,預設'1rem'\r\n * @vue-prop {Boolean} [active=false] 輸入是否為主動模式布林值,預設false\r\n * @vue-prop {Object} [paddingStyle={v:10,h:12}] 輸入內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:10,h:12}\r\n * @vue-prop {String} [backgroundColor='white'] 輸入背景顏色字串,預設'white'\r\n * @vue-prop {String} [backgroundColorHover='rgba(200,200,200,0.2)'] 輸入滑鼠移入時背景顏色字串,預設'rgba(200,200,200,0.2)'\r\n * @vue-prop {String} [backgroundColorActive='orange lighten-1'] 輸入主動模式時背景顏色字串,預設'orange lighten-1'\r\n * @vue-prop {String} [textColor='#444'] 輸入文字顏色字串,預設'#444'\r\n * @vue-prop {String} [textColorHover='#222'] 輸入滑鼠移入時文字顏色字串,預設'#222'\r\n * @vue-prop {String} [textColorActive='white'] 輸入主動模式時文字顏色字串,預設'white'\r\n * @vue-prop {String} [icon=''] 輸入圖標字串,可為mdi,md,fa代號或mdi/js路徑,預設''\r\n * @vue-prop {Number} [iconSize=22] 輸入左側圖標之尺寸數字,單位px,預設22\r\n * @vue-prop {String} [iconColor='#444'] 輸入圖標顏色字串,預設'#444'\r\n * @vue-prop {String} [iconColorHover='#222'] 輸入滑鼠移入時圖標顏色字串,預設'#222'\r\n * @vue-prop {String} [iconColorActive='white'] 輸入主動模式時圖標顏色字串,預設'white'\r\n * @vue-prop {String} [expansionIcon=mdiPlay] 輸入顯隱圖標字串,可為mdi,md,fa代號或mdi/js路徑,預設使用mdi的圖標(mdiPlay)\r\n * @vue-prop {Number} [expansionIconSize=18] 輸入顯隱圖標尺寸數字,單位為px,預設18\r\n * @vue-prop {String} [expansionIconColor='#aaa'] 輸入顯隱圖標顏色字串,預設'#aaa'\r\n * @vue-prop {String} [expansionIconColorHover='#888'] 輸入滑鼠移入時顯隱圖標顏色字串,預設'#888'\r\n * @vue-prop {String} [expansionIconColorActive='rgba(255,255,255,0.8)'] 輸入主動模式時顯隱圖標顏色字串,預設'rgba(255,255,255,0.8)'\r\n * @vue-prop {String} [rippleColor='rgba(255,255,255,0.4)'] 輸入ripple效果顏色字串,預設'rgba(255,255,255,0.4)'\r\n */\r\nexport default {\r\n directives: {\r\n domripple: domRipple(),\r\n },\r\n components: {\r\n WIcon,\r\n },\r\n props: {\r\n text: {\r\n type: String,\r\n default: '',\r\n },\r\n textFontSize: {\r\n type: String,\r\n default: '1rem',\r\n },\r\n active: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n paddingStyle: {\r\n type: Object,\r\n default: () => {\r\n return {\r\n v: 10,\r\n h: 12,\r\n }\r\n },\r\n },\r\n backgroundColor: {\r\n type: String,\r\n default: 'white',\r\n },\r\n backgroundColorHover: {\r\n type: String,\r\n default: 'rgba(200,200,200,0.2)',\r\n },\r\n backgroundColorActive: {\r\n type: String,\r\n default: 'orange lighten-1',\r\n },\r\n textColor: {\r\n type: String,\r\n default: '#444',\r\n },\r\n textColorHover: {\r\n type: String,\r\n default: '#222',\r\n },\r\n textColorActive: {\r\n type: String,\r\n default: 'white',\r\n },\r\n icon: {\r\n type: String,\r\n default: '',\r\n },\r\n iconSize: {\r\n type: Number,\r\n default: 22,\r\n },\r\n iconColor: {\r\n type: String,\r\n default: '#444',\r\n },\r\n iconColorHover: {\r\n type: String,\r\n default: '#222',\r\n },\r\n iconColorActive: {\r\n type: String,\r\n default: 'white',\r\n },\r\n expansionIcon: {\r\n type: String,\r\n default: mdiPlay,\r\n },\r\n expansionIconSize: {\r\n type: Number,\r\n default: 18,\r\n },\r\n expansionIconColor: {\r\n type: String,\r\n default: '#aaa',\r\n },\r\n expansionIconColorHover: {\r\n type: String,\r\n default: '#888',\r\n },\r\n expansionIconColorActive: {\r\n type: String,\r\n default: 'rgba(255,255,255,0.8)',\r\n },\r\n rippleColor: {\r\n type: String,\r\n default: 'rgba(255,255,255,0.4)',\r\n },\r\n },\r\n data: function() {\r\n return {\r\n obstructMutation: false,\r\n mouseEnter: false,\r\n heightContent: '',\r\n }\r\n },\r\n computed: {\r\n\r\n changeActive: function() {\r\n let vo = this\r\n vo.updateHeightContent(vo.active)\r\n return ''\r\n },\r\n\r\n useTextFontSize: function() {\r\n let vo = this\r\n let s = vo.textFontSize\r\n s = replace(s, ';', '')\r\n return `font-size:${s};`\r\n },\r\n\r\n hasIcon: function() {\r\n let vo = this\r\n return vo.icon !== ''\r\n },\r\n\r\n usePadding: function() {\r\n //console.log('computed usePadding')\r\n\r\n let vo = this\r\n\r\n //parseSpace\r\n let cs = parseSpace(vo.paddingStyle, { ext: { left: vo.shiftLeft, right: vo.shiftRight } })\r\n\r\n //padding\r\n let padding = `padding:${cs};`\r\n\r\n return padding\r\n },\r\n\r\n effBackgroundColor: function() {\r\n let vo = this\r\n return color2hex(vo.backgroundColor)\r\n },\r\n\r\n effBackgroundColorHover: function() {\r\n let vo = this\r\n return color2hex(vo.backgroundColorHover)\r\n },\r\n\r\n effBackgroundActive: function() {\r\n let vo = this\r\n return color2hex(vo.backgroundColorActive)\r\n },\r\n\r\n useBackgroundColor: function() {\r\n let vo = this\r\n if (vo.active) {\r\n return vo.effBackgroundActive\r\n }\r\n return vo.mouseEnter ? vo.effBackgroundColorHover : vo.effBackgroundColor\r\n },\r\n\r\n effTextColor: function() {\r\n let vo = this\r\n return color2hex(vo.textColor)\r\n },\r\n\r\n effTextColorHover: function() {\r\n let vo = this\r\n return color2hex(vo.textColorHover)\r\n },\r\n\r\n effTextActive: function() {\r\n let vo = this\r\n return color2hex(vo.textColorActive)\r\n },\r\n\r\n useTextColor: function() {\r\n let vo = this\r\n if (vo.active) {\r\n return vo.effTextActive\r\n }\r\n return vo.mouseEnter ? vo.effTextColorHover : vo.effTextColor\r\n },\r\n\r\n effIconColor: function() {\r\n let vo = this\r\n return color2hex(vo.iconColor)\r\n },\r\n\r\n effIconColorHover: function() {\r\n let vo = this\r\n return color2hex(vo.iconColorHover)\r\n },\r\n\r\n effIconActive: function() {\r\n let vo = this\r\n return color2hex(vo.iconColorActive)\r\n },\r\n\r\n useIconColor: function() {\r\n let vo = this\r\n if (vo.active) {\r\n return vo.effIconActive\r\n }\r\n return vo.mouseEnter ? vo.effIconColorHover : vo.effIconColor\r\n },\r\n\r\n effExpansionIconColor: function() {\r\n //console.log('computed effExpansionIconColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.expansionIconColor)\r\n },\r\n\r\n effExpansionIconColorHover: function() {\r\n //console.log('computed effExpansionIconColorHover')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.expansionIconColorHover)\r\n },\r\n\r\n effExpansionIconColorActive: function() {\r\n //console.log('computed effExpansionIconColorActive')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.expansionIconColorActive)\r\n },\r\n\r\n useExpansionIconColor: function() {\r\n let vo = this\r\n if (vo.active) {\r\n return vo.effExpansionIconColorActive\r\n }\r\n return vo.mouseEnter ? vo.effExpansionIconColorHover : vo.effExpansionIconColor\r\n },\r\n\r\n useRotateDeg: function() {\r\n //console.log('computed useRotateDeg')\r\n\r\n let vo = this\r\n\r\n return vo.active ? 180 : 0\r\n },\r\n\r\n },\r\n methods: {\r\n\r\n updateHeightContent: function() {\r\n let vo = this\r\n\r\n async function core() {\r\n\r\n //於WPanelScrolly內容區使用顯隱動畫時, 因瀏覽器之內容區高度會先更新完畢, 而transition動畫結束時間較慢, 導致WPanelScrolly內容區無法算得實際高度而導致出現遮蔽情況\r\n //於指定時間(n*s=500ms需與class ct內設定transition時間長度一致)內反覆變更元素顯隱, 藉此刺激WPanelScrolly內mutation事件, 使能進行重算內容區高度\r\n let n = 5\r\n let s = 100\r\n for (let i = 1; i <= n; i++) {\r\n setTimeout(() => {\r\n vo.obstructMutation = !vo.obstructMutation\r\n // console.log('obstructMutation', vo.obstructMutation)\r\n }, i * s)\r\n }\r\n\r\n if (!vo.active) {\r\n //隱藏內容\r\n\r\n //clear\r\n vo.heightContent = ''\r\n\r\n }\r\n else if (vo.active) {\r\n //顯示內容\r\n\r\n if (!vo.$el) {\r\n\r\n //wait $el\r\n await waitFun(() => {\r\n // console.log('waitFun try', vo.text)\r\n return vo.$el !== undefined\r\n }, { timeInterval: 10 })\r\n // console.log('waitFun finish', vo.text)\r\n\r\n }\r\n\r\n //h\r\n let h = get(vo, '$refs.rct.clientHeight')\r\n // console.log(h, vo.text)\r\n\r\n //update\r\n if (isNumber(h)) {\r\n\r\n //heightContent\r\n vo.heightContent = `height:${h}px;`\r\n\r\n }\r\n\r\n }\r\n\r\n }\r\n\r\n //core\r\n core()\r\n .catch((err) => {\r\n console.log(err)\r\n })\r\n\r\n },\r\n\r\n getIcon: function(item) {\r\n return get(item, 'icon', '')\r\n },\r\n\r\n getText: function(item) {\r\n let t = get(item, 'text', '')\r\n if (t === '') {\r\n return item\r\n }\r\n },\r\n\r\n clickItem: function(icon, text) {\r\n // console.log('methods clickItem', icon, text)\r\n\r\n let vo = this\r\n\r\n //emit\r\n vo.$emit('update:active', !vo.active)\r\n\r\n //emit\r\n vo.$emit('click', { icon, text })\r\n\r\n return ''\r\n },\r\n\r\n }\r\n}\r\n<\/script>\r\n\r\n<style scoped>\r\n.ct {\r\n transition: height 0.5s, opacity 0.5s ease-out;\r\n}\r\n.ct-hide {\r\n overflow: hidden;\r\n height: 0px;\r\n opacity: 0;\r\n}\r\n.ct-show {\r\n opacity: 1;\r\n}\r\n</style>\r\n"]},media:void 0})}),KS,"data-v-6d28cb24",false,undefined,!1,o,void 0,void 0);var JS={directives:{domresize:lp()},components:{WPanelScrolly:qb,WListExpandItem:OS},props:{items:{type:Array,default:()=>[]},activeMode:{type:String,default:"one"},itemActive:{type:[String,Object,Array],default:null},itemTextFontSize:{type:String,default:"1rem"},keyText:{type:String,default:"text"},keyIcon:{type:String,default:"icon"},keyDsp:{type:String,default:"dsp"},paddingStyle:{type:Object,default:()=>({v:10,h:12})},itemBackgroundColor:{type:String,default:"white"},itemBackgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},itemBackgroundColorActive:{type:String,default:"orange lighten-1"},itemTextColor:{type:String,default:"#444"},itemTextColorHover:{type:String,default:"#222"},itemTextColorActive:{type:String,default:"white"},itemIconSize:{type:Number,default:22},itemIconColor:{type:String,default:"#444"},itemIconColorHover:{type:String,default:"#222"},itemIconColorActive:{type:String,default:"white"},itemExpansionIcon:{type:String,default:Hp},itemExpansionIconSize:{type:Number,default:18},itemExpansionIconColor:{type:String,default:"grey"},itemRippleColor:{type:String,default:"rgba(255,255,255,0.4)"}},data:function(){return{panelHeight:0,listHeight:0,itemActiveTrans:null}},computed:{changeItemActive:function(){return this.itemActiveTrans=this.itemActive,""},isObjValue:function(){return 0!==xd(this.items)&&Mb(this.items,(n=>Gi(n)))}},methods:{resize:function(n){let e=this;e.panelHeight=n.snew.offsetHeight;let t=0,r=Vo(e,"$refs.refHeader");Os(r)&&(t=r.offsetHeight);let o=0,i=Vo(e,"$refs.refFooter");Os(i)&&(o=i.offsetHeight);let l=e.panelHeight-t-o;l>0&&e.listHeight!==l&&(e.listHeight=l)},getIcon:function(n){let e=this;return e.isObjValue?Vo(n,e.keyIcon,""):""},getText:function(n){let e=this;if(e.isObjValue){return Vo(n,e.keyText,"")}return n},getDsp:function(n){let e=this;if(e.isObjValue){return Vo(n,e.keyDsp,"")}return n},getActive:function(n){let e=this,t=!1;return"one"===e.activeMode?t=xm(n,e.itemActiveTrans):"multi"===e.activeMode&&Jn(e.itemActiveTrans,(e=>{if(t=xm(n,e),t)return!1})),t},updateItemActive:function(n,e,t){let r=this,o=np(r.itemActiveTrans);!n&&e?"one"===r.activeMode?o=t:"multi"===r.activeMode&&o.push(np(t)):n&&!e&&function(){if("one"===r.activeMode)o=null;else if("multi"===r.activeMode){let n=[];Jn(o,(e=>{xm(t,e)||n.push(e)})),o=n}}(),r.itemActiveTrans=o,r.$nextTick((()=>{r.$emit("update:itemActive",np(o))}))},getSlotItem(n,e){let t=null;return t=this.isObjValue?{...n,...e}:{item:n,...e},t},ckItem:function(n){let e=this;e.$nextTick((()=>{e.$emit("click",np(n))}))}}};const ES=JS;var _S=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeItemActive:n.changeItemActive},on:{domresize:n.resize}},[t("div",{style:"height:"+n.panelHeight+"px;"},[t("div",{ref:"refHeader"},[n._t("header")],2),n._v(" "),t("WPanelScrolly",{style:"height:"+n.listHeight+"px;"},n._l(n.items,(function(e,r){return t("div",{key:r},[t("WListExpandItem",{attrs:{icon:n.getIcon(e),text:n.getText(e),textFontSize:n.itemTextFontSize,active:n.getActive(e),paddingStyle:n.paddingStyle,backgroundColor:n.itemBackgroundColor,backgroundColorHover:n.itemBackgroundColorHover,backgroundColorActive:n.itemBackgroundColorActive,textColor:n.itemTextColor,textColorHover:n.itemTextColorHover,textColorActive:n.itemTextColorActive,iconSize:n.itemIconSize,iconColor:n.itemIconColor,iconColorHover:n.itemIconColorHover,iconColorActive:n.itemIconColorActive,expansionIcon:n.itemExpansionIcon,expansionIconSize:n.itemExpansionIconSize,expansionIconColor:n.itemExpansionIconColor,rippleColor:n.itemRippleColor},on:{"update:active":function(t){n.updateItemActive(n.getActive(e),t,e)},click:function(t){return n.ckItem(e)}},scopedSlots:n._u([{key:"header",fn:function(t){return[n._t("item-header",null,{item:n.getSlotItem(e,t)})]}},{key:"content",fn:function(r){return[n._t("item-content",(function(){return[t("div",{staticStyle:{padding:"10px","font-size":"0.9rem"}},[n._v("\n "+n._s(n.getDsp(e))+"\n ")])]}),{item:n.getSlotItem(e,r)})]}}],null,!0)})],1)})),0),n._v(" "),t("div",{ref:"refFooter"},[n._t("footer")],2)],1)])};_S._withStripped=!0;const $S=t({render:_S,staticRenderFns:[]},(function(n){n&&n("data-v-5ec81db6_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WListExpand.vue"},media:void 0})}),ES,"data-v-5ec81db6",false,undefined,!1,o,void 0,void 0);var MS={directives:{domresize:lp()},components:{WListItem:tC},props:{items:{type:Array,default:()=>[]},enableActive:{type:Boolean,default:!0},itemActive:{type:[String,Object],default:null},itemTextFontSize:{type:String,default:"1rem"},keyText:{type:String,default:"text"},keyIcon:{type:String,default:"icon"},space:{type:Number,default:0},paddingStyle:{type:Object,default:()=>({v:10,h:12})},itemBorderRadius:{type:Number,default:0},itemBackgroundColor:{type:String,default:"transparent"},itemBackgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},itemBackgroundColorActive:{type:String,default:"white"},itemBackgroundColorDisabled:{type:String,default:"white"},itemTextColor:{type:String,default:"#444"},itemTextColorHover:{type:String,default:"#222"},itemTextColorActive:{type:String,default:"orange darken-3"},itemTextColorDisabled:{type:String,default:"#444"},itemIconSize:{type:Number,default:22},itemIconColor:{type:String,default:"#444"},itemIconColorHover:{type:String,default:"#222"},itemIconColorActive:{type:String,default:"orange darken-3"},itemIconColorDisabled:{type:String,default:"#444"},itemRippleColor:{type:String,default:"rgba(245,124,0,0.4)"},borderBottom:{type:Boolean,default:!0},borderBottomSize:{type:Number,default:2},borderBottomColor:{type:String,default:"rgba(245,124,0,0.8)"},itemDisabledColor:{type:String,default:"transparent"},itemCursorPointer:{type:Boolean,default:!0}},data:function(){return{borderBottomLeft:0,borderBottomWidth:0,itemActiveTrans:null}},watch:{itemActiveTrans:{handler(n,e){this.updateBorderBottom()},immediate:!0}},computed:{changeItemActive:function(){let n=this;return n.enableActive&&(n.itemActiveTrans=n.itemActive),""},isObjValue:function(){return 0!==xd(this.items)&&Mb(this.items,(n=>Gi(n)))},effBorderBottomColor:function(){return Id(this.borderBottomColor)}},methods:{resize:function(n){this.updateBorderBottom()},getIcon:function(n){let e=this;return e.isObjValue?Vo(n,e.keyIcon,""):""},getText:function(n){let e=this;if(e.isObjValue){return Vo(n,e.keyText,"")}return n},getActive:function(n){let e=this,t=!1;return e.enableActive&&(t=xm(n,e.itemActiveTrans)),t},getEditable:function(n){return Vo(n,"editable",!0)},updateBorderBottom:function(){let n=this;if(null==n.itemActiveTrans)return;let e=0,t=[],r=Vo(n,"$refs.wli",[]);Jn(r,((r,o)=>{let i=r,l=Vo(i,"clientWidth",0),a=Vo(i,"clientHeight",0),d=e,s=l,u=a;o>0&&n.space>0&&(d+=n.space,s-=n.space),t.push({left:d,bottom:0,width:s,heiht:u}),e+=l}));let o=-1;if(Jn(n.items,((e,t)=>{if(xm(e,n.itemActiveTrans))return o=t,!1})),-1===o)return;let i=t[o];n.borderBottomLeft=i.left,n.borderBottomWidth=i.width},ckItem:function(n,e){let t=this;if(!t.getEditable(n))return;t.itemActiveTrans=n;let r=null;r=t.isObjValue?{...n}:n,t.$emit("click",r,e),t.$emit("update:itemActive",r)}}};const US=MS;var QS=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeItemActive:n.changeItemActive},on:{domresize:n.resize}},[t("div",{staticStyle:{position:"relative",display:"flex","align-items":"center","white-space":"nowrap"}},[n.borderBottom?t("div",{style:"transition:all 0.3s; position:absolute; z-index:1; bottom:0px; left:"+n.borderBottomLeft+"px; padding-left:"+n.borderBottomWidth+"px; border-bottom:"+n.borderBottomSize+"px solid "+n.effBorderBottomColor+";"}):n._e(),n._v(" "),n._l(n.items,(function(e,r){return t("div",{key:r},[t("div",{ref:"wli",refInFor:!0,style:n.space>0&&r>0?"padding-left:"+n.space+"px;":""},[t("WListItem",{attrs:{icon:n.getIcon(e),text:n.getText(e),textFontSize:n.itemTextFontSize,active:n.getActive(e),paddingStyle:n.paddingStyle,borderRadius:n.itemBorderRadius,backgroundColor:n.itemBackgroundColor,backgroundColorHover:n.itemBackgroundColorHover,backgroundColorActive:n.itemBackgroundColorActive,backgroundColorDisabled:n.itemBackgroundColorDisabled,textColor:n.itemTextColor,textColorHover:n.itemTextColorHover,textColorActive:n.itemTextColorActive,textColorDisabled:n.itemTextColorDisabled,iconSize:n.itemIconSize,iconColor:n.itemIconColor,iconColorHover:n.itemIconColorHover,iconColorActive:n.itemIconColorActive,iconColorDisabled:n.itemIconColorDisabled,rippleColor:n.getEditable(e)?n.itemRippleColor:null,editable:n.getEditable(e),disabledColor:n.itemDisabledColor,cursorPointer:n.itemCursorPointer},on:{click:function(t){return n.ckItem(e,r)}},scopedSlots:n._u([{key:"item",fn:function(t){return[n._t("item",null,{item:e,kitem:r,isHover:t.isHover,isActive:t.isActive})]}},{key:"item-left",fn:function(t){return[n._t("item-left",null,{item:e,kitem:r,isHover:t.isHover,isActive:t.isActive})]}},{key:"item-content",fn:function(t){return[n._t("item-content",null,{item:e,kitem:r,isHover:t.isHover,isActive:t.isActive})]}},{key:"item-right",fn:function(t){return[n._t("item-right",null,{item:e,kitem:r,isHover:t.isHover,isActive:t.isActive})]}}],null,!0)})],1)])}))],2)])};QS._withStripped=!0;const qS=t({render:QS,staticRenderFns:[]},(function(n){n&&n("data-v-38cc2737_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WListHorizontal.vue"},media:void 0})}),US,"data-v-38cc2737",false,undefined,!1,o,void 0,void 0);const nI={components:{WListCheck:YS},props:{items:{type:Array,default:()=>[]},value:{type:[String,Object],default:null},keyText:{type:String,default:"text"},keyIcon:{type:String,default:"icon"},keyPickForObjItem:{type:String,default:""},paddingStyle:{type:Object,default:()=>({v:6,h:8})},spaceBetweenCheckboxAndContent:{type:Number,default:8},itemTextFontSize:{type:String,default:"1.0rem"},itemBackgroundColor:{type:String,default:"white"},itemBackgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},itemBackgroundColorActive:{type:String,default:"rgba(200,200,200,0.4)"},itemBackgroundColorDisabled:{type:String,default:"white"},itemTextColor:{type:String,default:"#444"},itemTextColorHover:{type:String,default:"#222"},itemTextColorActive:{type:String,default:"#000"},itemTextColorDisabled:{type:String,default:"#444"},itemIconSize:{type:Number,default:18},itemIconColor:{type:String,default:"#444"},itemIconColorHover:{type:String,default:"#222"},itemIconColorActive:{type:String,default:"#000"},itemIconColorDisabled:{type:String,default:"#444"},itemRippleColor:{type:String,default:"rgba(255,255,255,0.4)"},itemDisabledColor:{type:String,default:"transparent"},itemCursorPointer:{type:Boolean,default:!0},itemCheckIconIconSize:{type:Number,default:18},itemCheckIconCheckedIcon:{type:String,default:fp},itemCheckIconCheckedIconColor:{type:String,default:"blue darken-3"},itemCheckIconCheckedIconColorHover:{type:String,default:"blue darken-2"},itemCheckIconCheckedIconColorActive:{type:String,default:"blue darken-2"},itemCheckIconCheckedIconColorDisabled:{type:String,default:"grey"},itemCheckIconUncheckedIcon:{type:String,default:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},itemCheckIconUncheckedIconColor:{type:String,default:"blue darken-3"},itemCheckIconUncheckedIconColorHover:{type:String,default:"blue darken-2"},itemCheckIconUncheckedIconColorActive:{type:String,default:"blue darken-2"},itemCheckIconUncheckedIconColorDisabled:{type:String,default:"grey"},enableQuery:{type:Boolean,default:!1},query:{type:String,default:""},queryKeysPickForObjItem:{type:Array,default:()=>["text"]},queryPaddingStyle:{type:Object,default:()=>({v:0,h:0})},queryBorderRadius:{type:Number,default:30},queryShadow:{type:Boolean,default:!1},queryTextFontSize:{type:String,default:"1.0rem"},queryTextColor:{type:String,default:"black"},queryTextAlign:{type:String,default:"left"},queryIcon:{type:String,default:wp},queryIconSize:{type:Number,default:18},queryIconColor:{type:String,default:"blue"},queryIconColorHover:{type:String,default:"blue darken-1"},queryIconColorFocus:{type:String,default:"blue darken-1"},queryIconTooltip:{type:String,default:""},queryIconShiftOuter:{type:Number,default:0},queryIconShiftInner:{type:Number,default:5},queryBackgroundColor:{type:String,default:"transparent"},queryBackgroundColorHover:{type:String,default:"transparent"},queryBackgroundColorFocus:{type:String,default:"transparent"},queryBorderColor:{type:String,default:"transparent"},queryBorderColorHover:{type:String,default:"transparent"},queryBorderColorFocus:{type:String,default:"transparent"},queryBottomLineBorderColor:{type:String,default:"grey lighten-1"},queryBottomLineBorderColorHover:{type:String,default:"grey"},queryBottomLineBorderColorFocus:{type:String,default:"blue darken-1"},queryBottomLineBorderWidth:{type:Number,default:1},queryBottomLineBorderWidthHover:{type:Number,default:1},queryBottomLineBorderWidthFocus:{type:Number,default:2},queryPlaceholder:{type:String,default:"Keywords"},queryHeight:{type:Number,default:28},queryFocused:{type:Boolean,default:!1},queryPanelPaddingStyle:{type:Object,default:()=>({v:10,h:10})},querySepLineColor:{type:String,default:"#ddd"},querySepLineWidth:{type:Number,default:1}},data:function(){return{}},mounted:function(){},computed:{},methods:{}};var eI=function(){var n=this,e=n.$createElement;return(n._self._c||e)("WListCheck",n._g(n._b({scopedSlots:n._u([{key:"header",fn:function(){return[n._t("header")]},proxy:!0},{key:"item-content",fn:function(e){return[n._t("item-content",null,{item:e.item,kitem:e.kitem,isHover:e.isHover,isActive:e.isActive})]}},{key:"footer",fn:function(){return[n._t("footer")]},proxy:!0}],null,!0)},"WListCheck",Object.assign({},n.$props,{multiCheck:!1}),!1),n.$listeners))};eI._withStripped=!0;const tI=t({render:eI,staticRenderFns:[]},(function(n){n&&n("data-v-13f0bc54_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WListRadio.vue"},media:void 0})}),nI,"data-v-13f0bc54",false,undefined,!1,o,void 0,void 0);var rI={directives:{domresize:lp()},components:{WIcon:Ch},props:{avatarOuterPadding:{type:Number,default:15},avatarInnerPadding:{type:Number,default:15},avatarIcon:{type:String,default:"M16 12L9 2L2 12H3.86L0 18H7V22H11V18H18L14.14 12H16M20.14 12H22L15 2L12.61 5.41L17.92 13H15.97L19.19 18H24L20.14 12M13 19H17V22H13V19Z"},avatarIconSize:{type:Number,default:60},avatarIconColor:{type:String,default:"white"},avatarBorderWidth:{type:Number,default:1},avatarBorderColor:{type:String,default:"transparent"},avatarBackgroundColor:{type:String,default:"rgba(239,108,0,0.5)"},avatarBorderRadius:{type:Number,default:10},avatarShadow:{type:Boolean,default:!0},shiftVFromAvaterCenter:{type:Number,default:20},spaceHBetweenAvatarAndHeader:{type:Number,default:20},spaceVBetweenHeaderAndContent:{type:Number,default:0},headerVerticalAlign:{type:String,default:"center"},headerPadding:{type:Number,default:15},headerText:{type:String,default:""},headerTextColor:{type:String,default:"#444"},headerTextSize:{type:String,default:"1.0rem"},subHeaderText:{type:String,default:""},subHeaderTextColor:{type:String,default:"#888"},subHeaderTextSize:{type:String,default:"0.7rem"},sepLineWidth:{type:Number,default:1},sepLineColor:{type:String,default:"#ddd"},contentBorderRadius:{type:Number,default:3},contentBackgroundColor:{type:String,default:"white"},contentShadow:{type:Boolean,default:!0}},data:function(){return{avatarWidth:0,avatarHeight:0}},computed:{useAvatarIconColor:function(){return Id(this.avatarIconColor)},useAvatarBorderColor:function(){return Id(this.avatarBorderColor)},useAvatarBackgroundColor:function(){return Id(this.avatarBackgroundColor)},useHeaderVerticalAlign:function(){let n="";return n="bottom"===this.headerVerticalAlign?"flex-end":"center"===this.headerVerticalAlign?"center":"flex-start",n},useHeaderTextColor:function(){return Id(this.headerTextColor)},useSubHeaderTextColor:function(){return Id(this.subHeaderTextColor)},useSepLineColor:function(){return Id(this.sepLineColor)},useContentBackgroundColor:function(){return Id(this.contentBackgroundColor)}},methods:{resizeAvatar:function(n){this.avatarWidth=n.snew.offsetWidth,this.avatarHeight=n.snew.offsetHeight}}};const oI=rI;var iI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticStyle:{display:"inline-block",position:"relative"}},[t("div",{staticStyle:{position:"absolute",top:"0px",left:"0px"}},[t("div",{style:"transition:all 0.3s; padding:0px "+n.avatarOuterPadding+"px "+n.avatarOuterPadding+"px "+n.avatarOuterPadding+"px;"},[t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],class:n.avatarShadow?"shadow-header":"",style:"transition:all 0.3s; _box-sizing:border-box; border:"+n.avatarBorderWidth+"px solid "+n.useAvatarBorderColor+"; border-radius:"+n.avatarBorderRadius+"px; background:"+n.useAvatarBackgroundColor+";",on:{domresize:n.resizeAvatar}},[t("div",{staticStyle:{height:"100%",width:"100%",display:"flex","align-items":"center","justify-content":"center"}},[t("div",{style:"transition:all 0.3s; padding:"+n.avatarInnerPadding+"px;"},[n._t("avatar",(function(){return[t("WIcon",{attrs:{icon:n.avatarIcon,size:n.avatarIconSize,color:n.useAvatarIconColor,colorHover:n.useAvatarIconColor}})]}))],2)])])])]),n._v(" "),t("div",{style:"transition:all 0.3s; padding-top:"+(n.avatarHeight/2-n.shiftVFromAvaterCenter)+"px;"}),n._v(" "),t("div",{class:n.contentShadow?"shadow":"",style:"transition:all 0.3s; border-radius:"+n.contentBorderRadius+"px; background:"+n.useContentBackgroundColor+";",attrs:{avatarWidth:""}},[t("div",{staticStyle:{display:"flex"}},[t("div",{style:"transition:all 0.3s; min-width:"+(n.avatarOuterPadding+n.avatarWidth+n.spaceHBetweenAvatarAndHeader)+"px; min-height:"+(n.avatarOuterPadding+(n.avatarHeight/2+n.shiftVFromAvaterCenter)+n.spaceVBetweenHeaderAndContent)+"px;"}),n._v(" "),t("div",{style:"transition:all 0.3s; width:100%; padding:"+n.headerPadding+"px; display:flex; align-items:"+n.useHeaderVerticalAlign+"; justify-content:flex-end;"},[t("div",{staticStyle:{"text-align":"right"}},[t("div",{style:"transition:all 0.3s; color:"+n.useSubHeaderTextColor+"; font-size:"+n.subHeaderTextSize+"; line-height:"+n.subHeaderTextSize+";"},[n._v("\n "+n._s(n.subHeaderText)+"\n ")]),n._v(" "),t("div",{style:"transition:all 0.3s; color:"+n.useHeaderTextColor+"; font-size:"+n.headerTextSize+";"},[n._v("\n "+n._s(n.headerText)+"\n ")])])])]),n._v(" "),t("div",{style:"transition:all 0.3s; border-top:"+n.sepLineWidth+"px solid "+n.useSepLineColor+";"},[t("div",{staticStyle:{transition:"all 0.3s"}},[n._t("default")],2)])])])};iI._withStripped=!0;const lI=t({render:iI,staticRenderFns:[]},(function(n){n&&n("data-v-d32a8f80_0",{source:"\n.shadow[data-v-d32a8f80] {\r\n box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);\n}\n.shadow-header[data-v-d32a8f80] {\r\n box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 7px 10px 1px rgba(0, 0, 0, 0.06), 0px 2px 16px 1px rgba(0, 0, 0, 0.04);\n}\r\n",map:{version:3,sources:["D:\\- 006 - 開源\\開源-JS-104-2-w-component-vue\\w-component-vue\\src\\components\\WPanelAvatar.vue"],names:[],mappings:";AA6UA;IACA,mGAAA;AACA;AACA;IACA,4HAAA;AACA",file:"WPanelAvatar.vue",sourcesContent:["<template>\r\n <div\r\n style=\"display:inline-block; position:relative;\"\r\n >\r\n\r\n <div style=\"position:absolute; top:0px; left:0px;\">\r\n\r\n <div\r\n :style=\"`transition:all 0.3s; padding:0px ${avatarOuterPadding}px ${avatarOuterPadding}px ${avatarOuterPadding}px;`\"\r\n >\r\n <div\r\n :class=\"`${avatarShadow?'shadow-header':''}`\"\r\n :style=\"`transition:all 0.3s; _box-sizing:border-box; border:${avatarBorderWidth}px solid ${useAvatarBorderColor}; border-radius:${avatarBorderRadius}px; background:${useAvatarBackgroundColor};`\"\r\n v-domresize\r\n @domresize=\"resizeAvatar\"\r\n >\r\n\r\n <div style=\"height:100%; width:100%; display:flex; align-items:center; justify-content:center;\">\r\n <div :style=\"`transition:all 0.3s; padding:${avatarInnerPadding}px;`\">\r\n\r\n <slot name=\"avatar\">\r\n <WIcon\r\n :icon=\"avatarIcon\"\r\n :size=\"avatarIconSize\"\r\n :color=\"useAvatarIconColor\"\r\n :colorHover=\"useAvatarIconColor\"\r\n ></WIcon>\r\n </slot>\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n <div :style=\"`transition:all 0.3s; padding-top:${avatarHeight/2-shiftVFromAvaterCenter}px;`\"></div>\r\n\r\n <div\r\n avatarWidth\r\n :class=\"`${contentShadow?'shadow':''}`\"\r\n :style=\"`transition:all 0.3s; border-radius:${contentBorderRadius}px; background:${useContentBackgroundColor};`\"\r\n >\r\n\r\n <div style=\"display:flex;\">\r\n\r\n <div :style=\"`transition:all 0.3s; min-width:${avatarOuterPadding+avatarWidth+spaceHBetweenAvatarAndHeader}px; min-height:${avatarOuterPadding+(avatarHeight/2+shiftVFromAvaterCenter)+spaceVBetweenHeaderAndContent}px;`\"></div>\r\n\r\n <div :style=\"`transition:all 0.3s; width:100%; padding:${headerPadding}px; display:flex; align-items:${useHeaderVerticalAlign}; justify-content:flex-end;`\">\r\n\r\n <div style=\"text-align:right;\">\r\n <div :style=\"`transition:all 0.3s; color:${useSubHeaderTextColor}; font-size:${subHeaderTextSize}; line-height:${subHeaderTextSize};`\">\r\n {{subHeaderText}}\r\n </div>\r\n\r\n <div :style=\"`transition:all 0.3s; color:${useHeaderTextColor}; font-size:${headerTextSize};`\">\r\n {{headerText}}\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n <div :style=\"`transition:all 0.3s; border-top:${sepLineWidth}px solid ${useSepLineColor};`\">\r\n\r\n <div style=\"transition:all 0.3s;\">\r\n <slot></slot>\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { mdiForest } from '@mdi/js'\r\nimport color2hex from '../js/vuetifyColor.mjs'\r\nimport domResize from '../js/domResize.mjs'\r\nimport WIcon from './WIcon.vue'\r\n\r\n\r\n/**\r\n * @vue-prop {Number} [avatarOuterPadding=15] 輸入圖標區外側間距數字,單位為px,預設15\r\n * @vue-prop {Number} [avatarInnerPadding=15] 輸入圖標區內側間距數字,單位為px,預設15\r\n * @vue-prop {String} [avatarIcon=mdiForest] 輸入圖標字串,預設mdiForest\r\n * @vue-prop {Number} [avatarIconSize=60] 輸入圖標尺寸數字,單位為px,預設60\r\n * @vue-prop {String} [avatarIconColor='white'] 輸入圖標顏色字串,預設'white'\r\n * @vue-prop {Number} [avatarBorderWidth=1] 輸入圖標區框線寬度數字,單位為px,預設1\r\n * @vue-prop {String} [avatarBorderColor='transparnet'] 輸入圖標區框線顏色字串,預設'transparnet'\r\n * @vue-prop {String} [avatarBackgroundColor='rgba(239,108,0,0.5)'] 輸入圖標區背景顏色字串,預設'rgba(239,108,0,0.5)'\r\n * @vue-prop {Number} [avatarBorderRadius=10] 輸入圖標區框圓角程度數字,單位為px,預設10\r\n * @vue-prop {Boolean} [avatarShadow=true] 輸入是否使用圖標區陰影效果數字,預設true\r\n * @vue-prop {Number} [shiftVFromAvaterCenter=20] 輸入圖標區基於水平中線之朝下平移數字,單位為px,預設20\r\n * @vue-prop {Number} [spaceHBetweenAvatarAndHeader=20] 輸入圖標區與右側標題區間距數字,單位為px,預設20\r\n * @vue-prop {Number} [spaceVBetweenHeaderAndContent=0] 輸入標題區與下方內容區間距數字,單位為px,預設0\r\n * @vue-prop {String} [headerVerticalAlign='center'] 輸入標題區內文字垂直對齊字串,可選'top'、'center'、'bottom',預設'center'\r\n * @vue-prop {Number} [headerPadding=15] 輸入標題區間距數字,單位為px,預設15\r\n * @vue-prop {String} [headerText=''] 輸入標題區主要文字字串,預設''\r\n * @vue-prop {String} [headerTextColor='#444'] 輸入標題區主要文字顏色字串,預設'#444'\r\n * @vue-prop {String} [headerTextSize='1.0rem'] 輸入標題區主要文字字型大小數字,預設'1.0rem'\r\n * @vue-prop {String} [subHeaderText=''] 輸入標題區次要文字字串,預設''\r\n * @vue-prop {String} [subHeaderTextColor='#888'] 輸入標題區次要文字顏色字串,預設'#888'\r\n * @vue-prop {String} [subHeaderTextSize='0.7rem'] 輸入標題區次要文字字型大小數字,預設'0.7rem'\r\n * @vue-prop {Number} [sepLineWidth=1] 輸入標題區與內容區分隔線寬度數字,單位為px,預設1\r\n * @vue-prop {String} [sepLineColor='#ddd'] 輸入標題區與內容區分隔線顏色字串,預設'#ddd'\r\n * @vue-prop {Number} [contentBorderRadius=3] 輸入內容區框圓角程度數字,單位為px,預設3\r\n * @vue-prop {String} [contentBackgroundColor='white'] 輸入內容區背景顏色字串,預設'white'\r\n * @vue-prop {Boolean} [contentShadow=true] 輸入是否使用內容區陰影效果數字,預設true\r\n */\r\nexport default {\r\n directives: {\r\n domresize: domResize(),\r\n },\r\n components: {\r\n WIcon,\r\n },\r\n props: {\r\n avatarOuterPadding: {\r\n type: Number,\r\n default: 15,\r\n },\r\n avatarInnerPadding: {\r\n type: Number,\r\n default: 15,\r\n },\r\n avatarIcon: {\r\n type: String,\r\n default: mdiForest,\r\n },\r\n avatarIconSize: {\r\n type: Number,\r\n default: 60,\r\n },\r\n avatarIconColor: {\r\n type: String,\r\n default: 'white',\r\n },\r\n avatarBorderWidth: {\r\n type: Number,\r\n default: 1,\r\n },\r\n avatarBorderColor: {\r\n type: String,\r\n default: 'transparent',\r\n },\r\n avatarBackgroundColor: {\r\n type: String,\r\n default: 'rgba(239,108,0,0.5)',\r\n },\r\n avatarBorderRadius: {\r\n type: Number,\r\n default: 10,\r\n },\r\n avatarShadow: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n shiftVFromAvaterCenter: {\r\n type: Number,\r\n default: 20,\r\n },\r\n spaceHBetweenAvatarAndHeader: {\r\n type: Number,\r\n default: 20,\r\n },\r\n spaceVBetweenHeaderAndContent: {\r\n type: Number,\r\n default: 0,\r\n },\r\n headerVerticalAlign: {\r\n type: String,\r\n default: 'center', //top, center, bottom\r\n },\r\n headerPadding: {\r\n type: Number,\r\n default: 15,\r\n },\r\n headerText: {\r\n type: String,\r\n default: '',\r\n },\r\n headerTextColor: {\r\n type: String,\r\n default: '#444',\r\n },\r\n headerTextSize: {\r\n type: String,\r\n default: '1.0rem',\r\n },\r\n subHeaderText: {\r\n type: String,\r\n default: '',\r\n },\r\n subHeaderTextColor: {\r\n type: String,\r\n default: '#888',\r\n },\r\n subHeaderTextSize: {\r\n type: String,\r\n default: '0.7rem',\r\n },\r\n sepLineWidth: {\r\n type: Number,\r\n default: 1,\r\n },\r\n sepLineColor: {\r\n type: String,\r\n default: '#ddd',\r\n },\r\n contentBorderRadius: {\r\n type: Number,\r\n default: 3,\r\n },\r\n contentBackgroundColor: {\r\n type: String,\r\n default: 'white',\r\n },\r\n contentShadow: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n },\r\n data: function() {\r\n return {\r\n\r\n avatarWidth: 0,\r\n avatarHeight: 0,\r\n\r\n // headerHeight: 0,\r\n\r\n }\r\n },\r\n computed: {\r\n\r\n useAvatarIconColor: function() {\r\n //console.log('computed useAvatarIconColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.avatarIconColor)\r\n },\r\n\r\n useAvatarBorderColor: function() {\r\n //console.log('computed useAvatarBorderColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.avatarBorderColor)\r\n },\r\n\r\n useAvatarBackgroundColor: function() {\r\n //console.log('computed useAvatarBackgroundColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.avatarBackgroundColor)\r\n },\r\n\r\n useHeaderVerticalAlign: function() {\r\n //console.log('computed useHeaderVerticalAlign')\r\n\r\n let vo = this\r\n\r\n let c = ''\r\n if (vo.headerVerticalAlign === 'bottom') {\r\n c = 'flex-end'\r\n }\r\n else if (vo.headerVerticalAlign === 'center') {\r\n c = 'center'\r\n }\r\n else {\r\n //top, default\r\n c = 'flex-start'\r\n }\r\n\r\n return c\r\n },\r\n\r\n useHeaderTextColor: function() {\r\n //console.log('computed useHeaderTextColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.headerTextColor)\r\n },\r\n\r\n useSubHeaderTextColor: function() {\r\n //console.log('computed useSubHeaderTextColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.subHeaderTextColor)\r\n },\r\n\r\n useSepLineColor: function() {\r\n //console.log('computed useSepLineColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.sepLineColor)\r\n },\r\n\r\n useContentBackgroundColor: function() {\r\n //console.log('computed useContentBackgroundColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.contentBackgroundColor)\r\n },\r\n\r\n },\r\n methods: {\r\n\r\n resizeAvatar: function(msg) {\r\n // console.log('methods resizeAvatar', msg)\r\n\r\n let vo = this\r\n\r\n //update\r\n vo.avatarWidth = msg.snew.offsetWidth\r\n vo.avatarHeight = msg.snew.offsetHeight\r\n\r\n },\r\n\r\n },\r\n}\r\n<\/script>\r\n\r\n<style scoped>\r\n.shadow {\r\n box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);\r\n}\r\n.shadow-header {\r\n box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 7px 10px 1px rgba(0, 0, 0, 0.06), 0px 2px 16px 1px rgba(0, 0, 0, 0.04);\r\n}\r\n</style>\r\n"]},media:void 0})}),oI,"data-v-d32a8f80",false,undefined,!1,o,void 0,void 0);const aI={directives:{domresize:lp()},props:{headerBorderRadius:{type:Number,default:0},paddingStyle:{type:Object,default:()=>({v:0,h:20})},headerText:{type:String,default:""},headerTextColor:{type:String,default:"white"},headerBackgroundColor:{type:String,default:"rgba(77, 182, 172, 0.8)"},headerShadow:{type:Boolean,default:!0},contentBorderRadius:{type:Number,default:0},contentPadding:{type:[Number,String],default:0},contentBackgroundColor:{type:String,default:"white"},contentShadow:{type:Boolean,default:!0}},data:function(){return{headerHeight:0}},computed:{usePadding:function(){let n=this;return`padding:${ch(n.paddingStyle,{ext:{left:n.shiftLeft,right:n.shiftRight}})};`},useHeaderTextColor:function(){return Id(this.headerTextColor)},useHeaderBackgroundColor:function(){return Id(this.headerBackgroundColor)},useContentBackgroundColor:function(){return Id(this.contentBackgroundColor)},useContentPadding:function(){let n=this;return _i(n.contentPadding)?`${n.contentPadding}px`:n.contentPadding}},methods:{updateHeaderHeight:function(n){this.headerHeight=n.snew.offsetHeight,this.$emit("resize",n)}}};var dI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[t("div",{style:"transition:all 0.3s; "+n.usePadding+" z-index:2;"},[t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],class:{"shadow-header":n.headerShadow},style:"transition:all 0.3s; display:inline-block; background:"+n.useHeaderBackgroundColor+"; border-radius:"+n.headerBorderRadius+"px;",on:{domresize:n.updateHeaderHeight}},[n._t("header",(function(){return[t("div",{style:"transition:all 0.3s; padding:5px 10px; color:"+n.useHeaderTextColor+";"},[n._v("\n "+n._s(n.headerText)+"\n ")])]}))],2)]),n._v(" "),t("div",{style:"transition:all 0.3s; margin-top:-"+n.headerHeight/2+"px; z-index:1;"},[t("div",{class:{shadow:n.contentShadow},style:"transition:all 0.3s; background:"+n.useContentBackgroundColor+"; border-radius:"+n.contentBorderRadius+"px;"},[t("div",{style:"transition:all 0.3s; padding:"+n.useContentPadding+";"},[t("div",{style:"transition:all 0.3s; height:"+n.headerHeight/2+"px;"}),n._v(" "),n._t("default")],2)])])])};dI._withStripped=!0;const sI=t({render:dI,staticRenderFns:[]},(function(n){n&&n("data-v-9e45e15e_0",{source:"\n.shadow[data-v-9e45e15e] {\r\n box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);\n}\n.shadow-header[data-v-9e45e15e] {\r\n box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 7px 10px 1px rgba(0, 0, 0, 0.06), 0px 2px 16px 1px rgba(0, 0, 0, 0.04);\n}\r\n",map:{version:3,sources:["D:\\- 006 - 開源\\開源-JS-104-2-w-component-vue\\w-component-vue\\src\\components\\WPanelBulge.vue"],names:[],mappings:";AAiMA;IACA,mGAAA;AACA;AACA;IACA,4HAAA;AACA",file:"WPanelBulge.vue",sourcesContent:["<template>\r\n <div>\r\n\r\n <div\r\n :style=\"`transition:all 0.3s; ${usePadding} z-index:2;`\"\r\n >\r\n <div\r\n :class=\"{'shadow-header':headerShadow}\"\r\n :style=\"`transition:all 0.3s; display:inline-block; background:${useHeaderBackgroundColor}; border-radius:${headerBorderRadius}px;`\"\r\n v-domresize\r\n @domresize=\"updateHeaderHeight\"\r\n >\r\n\r\n <slot name=\"header\">\r\n <div :style=\"`transition:all 0.3s; padding:5px 10px; color:${useHeaderTextColor};`\">\r\n {{headerText}}\r\n </div>\r\n </slot>\r\n\r\n </div>\r\n </div>\r\n\r\n <div :style=\"`transition:all 0.3s; margin-top:-${headerHeight/2}px; z-index:1;`\">\r\n\r\n <div\r\n :class=\"{'shadow':contentShadow}\"\r\n :style=\"`transition:all 0.3s; background:${useContentBackgroundColor}; border-radius:${contentBorderRadius}px;`\"\r\n >\r\n\r\n <div :style=\"`transition:all 0.3s; padding:${useContentPadding};`\">\r\n\r\n <div :style=\"`transition:all 0.3s; height:${headerHeight/2}px;`\"></div>\r\n\r\n <slot></slot>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport isnum from 'wsemi/src/isnum.mjs'\r\nimport color2hex from '../js/vuetifyColor.mjs'\r\nimport parseSpace from '../js/parseSpace.mjs'\r\nimport domResize from '../js/domResize.mjs'\r\n\r\n\r\n/**\r\n * @vue-prop {Number} [headerBorderRadius=0] 輸入標題區圓角寬度,單位為px,預設0\r\n * @vue-prop {Object} [paddingStyle={v:0,h:20}] 輸入內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:0,h:20}\r\n * @vue-prop {String} [headerText=''] 輸入標題文字字串,預設''\r\n * @vue-prop {String} [headerTextColor='white'] 輸入標題文字顏色字串,預設'white'\r\n * @vue-prop {String} [headerBackgroundColor='teal lighten-2'] 輸入標題背景顏色字串,預設'teal lighten-2'\r\n * @vue-prop {Boolean} [headerShadow=true] 輸入標題區是否使用陰影模式,預設true\r\n * @vue-prop {Number} [contentBorderRadius=0] 輸入內容區圓角寬度,單位為px,預設0\r\n * @vue-prop {Number|String} [contentPadding=20] 輸入內容區邊寬長度數字或字串,若輸入數字則單位為px,預設20,若輸入字串則需自己添加單位\r\n * @vue-prop {String} [contentBackgroundColor='white'] 輸入內容區塊背景顏色字串,預設'white'\r\n * @vue-prop {Boolean} [contentShadow=true] 輸入內容區是否使用陰影模式,預設true\r\n */\r\nexport default {\r\n directives: {\r\n domresize: domResize(),\r\n },\r\n props: {\r\n headerBorderRadius: {\r\n type: Number,\r\n default: 0,\r\n },\r\n paddingStyle: {\r\n type: Object,\r\n default: () => {\r\n return {\r\n v: 0,\r\n h: 20,\r\n }\r\n },\r\n },\r\n headerText: {\r\n type: String,\r\n default: '',\r\n },\r\n headerTextColor: {\r\n type: String,\r\n default: 'white',\r\n },\r\n headerBackgroundColor: {\r\n type: String,\r\n default: 'rgba(77, 182, 172, 0.8)', //teal lighten-2\r\n },\r\n headerShadow: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n contentBorderRadius: {\r\n type: Number,\r\n default: 0,\r\n },\r\n contentPadding: {\r\n type: [Number, String],\r\n default: 0,\r\n },\r\n contentBackgroundColor: {\r\n type: String,\r\n default: 'white',\r\n },\r\n contentShadow: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n },\r\n data: function() {\r\n return {\r\n headerHeight: 0,\r\n }\r\n },\r\n computed: {\r\n\r\n usePadding: function() {\r\n //console.log('computed usePadding')\r\n\r\n let vo = this\r\n\r\n //parseSpace\r\n let cs = parseSpace(vo.paddingStyle, { ext: { left: vo.shiftLeft, right: vo.shiftRight } })\r\n\r\n //padding\r\n let padding = `padding:${cs};`\r\n\r\n return padding\r\n },\r\n\r\n useHeaderTextColor: function() {\r\n //console.log('computed useHeaderTextColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.headerTextColor)\r\n },\r\n\r\n useHeaderBackgroundColor: function() {\r\n //console.log('computed useHeaderBackgroundColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.headerBackgroundColor)\r\n },\r\n\r\n useContentBackgroundColor: function() {\r\n //console.log('computed useContentBackgroundColor')\r\n\r\n let vo = this\r\n\r\n return color2hex(vo.contentBackgroundColor)\r\n },\r\n\r\n useContentPadding: function() {\r\n //console.log('computed useContentPadding')\r\n\r\n let vo = this\r\n\r\n if (isnum(vo.contentPadding)) {\r\n return `${vo.contentPadding}px`\r\n }\r\n else {\r\n return vo.contentPadding\r\n }\r\n },\r\n\r\n },\r\n methods: {\r\n\r\n updateHeaderHeight: function(msg) {\r\n //console.log('methods updateHeaderHeight', msg)\r\n\r\n let vo = this\r\n\r\n //update\r\n vo.headerHeight = msg.snew.offsetHeight\r\n\r\n //emit\r\n vo.$emit('resize', msg)\r\n\r\n },\r\n\r\n },\r\n}\r\n<\/script>\r\n\r\n<style scoped>\r\n.shadow {\r\n box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);\r\n}\r\n.shadow-header {\r\n box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 7px 10px 1px rgba(0, 0, 0, 0.06), 0px 2px 16px 1px rgba(0, 0, 0, 0.04);\r\n}\r\n</style>\r\n"]},media:void 0})}),aI,"data-v-9e45e15e",false,undefined,!1,o,void 0,void 0);const uI={directives:{domresize:lp()},props:{ratio:{type:Number,default:.5},ratioMin:{type:Number,default:0},ratioMax:{type:Number,default:1},leftWidthMin:{type:Number,default:null},leftWidthMax:{type:Number,default:null},rightWidthMin:{type:Number,default:null},rightWidthMax:{type:Number,default:null},barColor:{type:String,default:"#ddd"},barSize:{type:Number,default:2},barBorderColor:{type:String,default:"transparent"},barBorderSize:{type:Number,default:3}},data:function(){return{r:null,panelWidth:0,panelHeight:0,das:null}},mounted:function(){let n=this,e=_m(n.$refs.divPanel,n.$refs.divBar,{useTouchDragForPanel:!1});e.on("dragBar",n.dragBar),n.das=e},beforeDestroy:function(){let n=this;n.das&&n.das.clear()},computed:{changeParam:function(){let n=this,e=n.ratio;return e=n.limitRatio(e),n.r=e,""},bw:function(){return this.barSize+2*this.barBorderSize},useBarColor:function(){return Id(this.barColor)},useBarBorderColor:function(){return Id(this.barBorderColor)}},methods:{resizePanel:function(n){let e=this;e.panelWidth=n.snew.offsetWidth,e.panelHeight=n.snew.offsetHeight,e.$emit("resize",n)},limitRatio:function(n){let e=this;if(n=Math.min(n,e.ratioMax),n=Math.max(n,e.ratioMin),e.panelWidth>0){let t=n*e.panelWidth;Pd(e.leftWidthMin)&&t<e.leftWidthMin&&(n=e.leftWidthMin/e.panelWidth),Pd(e.leftWidthMax)&&t>e.leftWidthMax&&(n=e.leftWidthMax/e.panelWidth);let r=(1-n)*e.panelWidth;Pd(e.rightWidthMin)&&r<e.rightWidthMin&&(n=-(e.rightWidthMin/e.panelWidth-1)),Pd(e.rightWidthMax)&&r>e.rightWidthMax&&(n=-(e.rightWidthMax/e.panelWidth-1))}return n},dragBar:function({clientX:n}){let e=this,t=e.$el.getBoundingClientRect(),r=n,o=e.$el.offsetWidth,i=0;o>0&&(i=(r-t.left)/o),i=e.limitRatio(i),e.r=i,e.$emit("update:ratio",i)}}};var cI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeParam:n.changeParam},on:{domresize:n.resizePanel}},[t("div",{ref:"divPanel",staticStyle:{position:"relative",display:"flex"}},[t("div",{ref:"left",style:"width:"+n.r*n.panelWidth+"px; height:"+n.panelHeight+"px;"},[n._t("left",null,{ratio:n.r,width:n.r*n.panelWidth,height:n.panelHeight})],2),n._v(" "),t("div",{ref:"divBar",style:"position:absolute; z-index:1; left:"+(n.r*n.panelWidth-n.bw/2)+"px; width:"+n.bw+"px; height:"+n.panelHeight+"px; border-left:"+n.barBorderSize+"px solid "+n.useBarBorderColor+"; border-right:"+n.barBorderSize+"px solid "+n.useBarBorderColor+"; cursor:col-resize; user-select:none;"},[t("div",{style:"width:"+n.barSize+"px; height:"+n.panelHeight+"px; background:"+n.useBarColor+";"})]),n._v(" "),t("div",{ref:"right",style:"width:"+(1-n.r)*n.panelWidth+"px; height:"+n.panelHeight+"px;"},[n._t("right",null,{ratio:1-n.r,width:(1-n.r)*n.panelWidth,height:n.panelHeight})],2)])])};cI._withStripped=!0;const pI=t({render:cI,staticRenderFns:[]},(function(n){n&&n("data-v-c8e720c8_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WPanelDivideHorizontal.vue"},media:void 0})}),uI,"data-v-c8e720c8",false,undefined,!1,o,void 0,void 0);var fI={directives:{domresize:lp()},props:{ratio:{type:Number,default:.5},ratioMin:{type:Number,default:0},ratioMax:{type:Number,default:1},topHeightMin:{type:Number,default:null},topHeightMax:{type:Number,default:null},bottomHeightMin:{type:Number,default:null},bottomHeightMax:{type:Number,default:null},barColor:{type:String,default:"#ddd"},barBorderColor:{type:String,default:"transparent"},barSize:{type:Number,default:2},barBorderSize:{type:Number,default:3}},data:function(){return{r:null,panelWidth:0,panelHeight:0,das:null}},mounted:function(){let n=this,e=_m(n.$refs.divPanel,n.$refs.divBar,{useTouchDragForPanel:!1});e.on("dragBar",n.dragBar),n.das=e},beforeDestroy:function(){let n=this;n.das&&n.das.clear()},computed:{changeParam:function(){let n=this,e=n.ratio;return e=n.limitRatio(e),n.r=e,""},bw:function(){return this.barSize+2*this.barBorderSize},useBarColor:function(){return Id(this.barColor)},useBarBorderColor:function(){return Id(this.barBorderColor)}},methods:{resizePanel:function(n){let e=this;e.panelWidth=n.snew.offsetWidth,e.panelHeight=n.snew.offsetHeight,e.$emit("resize",n)},limitRatio:function(n){let e=this;if(n=Math.min(n,e.ratioMax),n=Math.max(n,e.ratioMin),e.panelHeight>0){let t=n*e.panelHeight;Pd(e.topHeightMin)&&t<e.topHeightMin&&(n=e.topHeightMin/e.panelHeight),Pd(e.topHeightMax)&&t>e.topHeightMax&&(n=e.topHeightMax/e.panelHeight);let r=(1-n)*e.panelHeight;Pd(e.bottomHeightMin)&&r<e.bottomHeightMin&&(n=-(e.bottomHeightMin/e.panelHeight-1)),Pd(e.bottomHeightMax)&&r>e.bottomHeightMax&&(n=-(e.bottomHeightMax/e.panelHeight-1))}return n},dragBar:function({clientY:n}){let e=this,t=e.$el.getBoundingClientRect(),r=n,o=e.$el.offsetHeight,i=0;o>0&&(i=(r-t.top)/o),i=e.limitRatio(i),e.r=i,e.$emit("update:ratio",i)}}};const hI=fI;var gI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeParam:n.changeParam},on:{domresize:n.resizePanel}},[t("div",{ref:"divPanel",staticStyle:{position:"relative"}},[t("div",{ref:"top",style:"width:"+n.panelWidth+"px; height:"+n.r*n.panelHeight+"px;"},[n._t("top",null,{ratio:n.r,width:n.panelWidth,height:n.r*n.panelHeight})],2),n._v(" "),t("div",{ref:"divBar",style:"position:absolute; z-index:1; top:"+(n.r*n.panelHeight-n.bw/2)+"px; width:"+n.panelWidth+"px; height:"+n.barSize+"px; border-top:"+n.barBorderSize+"px solid "+n.useBarBorderColor+"; border-bottom:"+n.barBorderSize+"px solid "+n.useBarBorderColor+"; cursor:row-resize; user-select:none;"},[t("div",{style:"width:"+n.panelWidth+"px; height:"+n.barSize+"px; background:"+n.useBarColor+";"})]),n._v(" "),t("div",{ref:"bottom",style:"width:"+n.panelWidth+"px; height:"+(1-n.r)*n.panelHeight+"px;"},[n._t("bottom",null,{ratio:1-n.r,width:n.panelWidth,height:(1-n.r)*n.panelHeight})],2)])])};gI._withStripped=!0;const mI=t({render:gI,staticRenderFns:[]},(function(n){n&&n("data-v-3de7dcbe_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WPanelDivideVertical.vue"},media:void 0})}),hI,"data-v-3de7dcbe",false,undefined,!1,o,void 0,void 0);const vI={components:{},props:{label:{type:String,default:""},labelWidth:{type:Number,default:null},labelHeight:{type:Number,default:null},labelColor:{type:String,default:"#666"},labelFontSize:{type:String,default:"0.8rem"},labelHorizontalAlign:{type:String,default:"left"},labelVerticalAlign:{type:String,default:"center"},labelShiftTop:{type:Number,default:0},space:{type:Number,default:0},seplines:{type:Boolean,default:!1},floatForItemSub:{type:Boolean,default:!0}},data:function(){return{}},computed:{useLabelWidth:function(){let n=this;if(_i(n.labelWidth)){return{width:`${$i(n.labelWidth)}px`}}return{}},useLabelHeight:function(){let n=this;if(_i(n.labelHeight)){return{height:`${$i(n.labelHeight)}px`}}return{}},useLabelVerticalAlign:function(){let n=this,e="middle";return"top"!==n.labelVerticalAlign&&"bottom"!==n.labelVerticalAlign||(e=n.labelVerticalAlign),e},useLabelColor:function(){return Id(this.labelColor)}},methods:{}};var yI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{},[n.seplines?[n._t("label",(function(){return[t("div",{style:[n.useLabelWidth,n.useLabelHeight,{color:n.useLabelColor,fontSize:n.labelFontSize,textAlign:n.labelHorizontalAlign,paddingTop:n.labelShiftTop+"px",paddingBottom:n.space+"px"}]},[n._v("\n "+n._s(n.label)+"\n ")])]})),n._v(" "),t("div",{},[n._t("item"),n._v(" "),t("div",{staticStyle:{position:"relative"}},[t("div",{style:n.floatForItemSub?"position:absolute; top:0; left:0;":""},[n._t("item-sub")],2)])],2)]:[t("table",{staticStyle:{width:"100%","border-collapse":"collapse"}},[t("tr",[t("td",{style:[{verticalAlign:n.useLabelVerticalAlign,whiteSpace:"nowrap",color:n.useLabelColor,fontSize:n.labelFontSize,textAlign:n.labelHorizontalAlign}]},[n._t("label",(function(){return[t("div",{style:[n.useLabelWidth,n.useLabelHeight,{paddingTop:n.labelShiftTop+"px"}]},[n._v("\n "+n._s(n.label)+":\n ")])]}))],2),n._v(" "),t("td",{style:[{paddingRight:n.space+8+"px"}]}),n._v(" "),t("td",{style:[{width:"100%"}]},[n._t("item"),n._v(" "),n.floatForItemSub?t("div",{staticStyle:{position:"relative"}},[t("div",{staticStyle:{position:"absolute",top:"0",left:"0"}},[n._t("item-sub")],2)]):n._e()],2)]),n._v(" "),n.floatForItemSub?n._e():t("tr",[t("td"),n._v(" "),t("td"),n._v(" "),t("td",[n._t("item-sub")],2)])])]],2)};yI._withStripped=!0;const bI=t({render:yI,staticRenderFns:[]},(function(n){n&&n("data-v-6b300932_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WPanelLabelItem.vue"},media:void 0})}),vI,"data-v-6b300932",false,undefined,!1,o,void 0,void 0);const CI={directives:{domresize:lp(),dommutation:vv()},components:{},props:{scale:{type:Number,default:1}},data:function(){return{width:1,height:1}},mounted:function(){this.fitSize()},computed:{},methods:{domresize:function(n){this.fitSize()},dommutation:function(n){this.fitSize()},fitSize:function(){let n=this,e=Vo(n,"$refs.tar");if(Os(e)){let t=e.getBoundingClientRect();n.width===t.width&&n.height===t.height||(n.width=t.width,n.height=t.height)}}}};var xI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"domresize",rawName:"v-domresize"},{name:"dommutation",rawName:"v-dommutation"}],style:"display:inline-block; width:"+n.width+"px; height:"+n.height+"px; max-height:"+n.height+"px;",attrs:{domresize:"domresize"},on:{dommutation:n.dommutation}},[t("div",{style:"position:relative; width:"+n.width+"px; height:"+n.height+"px; max-height:"+n.height+"px;"},[t("div",{style:"position:absolute; left:0; top:0; width:"+n.width+"px; height:"+n.height+"px; max-height:"+n.height+"px;"},[t("div",{style:"transform-origin:top left; transform:scale("+n.scale+"); width:"+n.width+"px; height:"+n.height+"px; max-height:"+n.height+"px;"},[t("div",{ref:"tar",staticStyle:{display:"inline-block"}},[n._t("default")],2)])])])])};xI._withStripped=!0;const SI=t({render:xI,staticRenderFns:[]},(function(n){n&&n("data-v-4495c35b_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WPanelScale.vue"},media:void 0})}),CI,"data-v-4495c35b",false,undefined,!1,o,void 0,void 0);const II={props:{hasHeader:{type:Boolean,default:!0},hasFooter:{type:Boolean,default:!0},padding:{type:Number,default:20},borderRadius:{type:Number,default:5},headerBackgroundColor:{type:String,default:"grey lighten-5"},contentBackgroundColor:{type:String,default:"white"},footerBackgroundColor:{type:String,default:"grey lighten-5"},shadow:{type:Boolean,default:!0}},data:function(){return{}},mounted:function(){},computed:{usePanelStyle:function(){let n={};return n["background-color"]=Id(this.contentBackgroundColor),n["border-radius"]=`${this.borderRadius}px`,n},useHeaderStyle:function(){let n=this,e={};return e.padding=`${n.padding}px`,e["border-bottom"]="1px solid #ddd",e["background-color"]=Id(n.headerBackgroundColor),e["border-radius"]=`${n.borderRadius}px ${n.borderRadius}px 0 0`,e.display="flex",e["justify-content"]="flex-start",e["align-items"]="center",e},useContentStyle:function(){let n=this,e={},t="0 0",r="0 0";return n.hasHeader||(t=`${n.borderRadius}px ${n.borderRadius}px`),n.hasFooter||(r=`${n.borderRadius}px ${n.borderRadius}px`),e["border-radius"]=`${t} ${r}`,e},useFooterStyle:function(){let n=this,e={};return e.padding=`${n.padding}px`,e["border-top"]="1px solid #ddd",e["background-color"]=Id(n.footerBackgroundColor),e["border-radius"]=`0 0 ${n.borderRadius}px ${n.borderRadius}px`,e}},methods:{}};var wI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{class:{shadow:n.shadow},style:[n.usePanelStyle]},[n.hasHeader?t("div",{style:[n.useHeaderStyle]},[n._t("icon"),n._v(" "),t("div",[n._t("title"),n._v(" "),n._t("description")],2)],2):n._e(),n._v(" "),t("div",{style:[n.useContentStyle]},[n._t("content")],2),n._v(" "),n.hasFooter?t("div",{style:[n.useFooterStyle]},[n._t("footer")],2):n._e()])};wI._withStripped=!0;const kI=t({render:wI,staticRenderFns:[]},(function(n){n&&n("data-v-9a073702_0",{source:"\n.shadow[data-v-9a073702] {\r\n box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);\n}\r\n",map:{version:3,sources:["D:\\- 006 - 開源\\開源-JS-104-2-w-component-vue\\w-component-vue\\src\\components\\WPanelStripe.vue"],names:[],mappings:";AAoJA;IACA,mGAAA;AACA",file:"WPanelStripe.vue",sourcesContent:["<template>\r\n <div :class=\"{'shadow':shadow}\" :style=\"[usePanelStyle]\">\r\n\r\n <div :style=\"[useHeaderStyle]\" v-if=\"hasHeader\">\r\n <slot name=\"icon\"></slot>\r\n <div>\r\n <slot name=\"title\"></slot>\r\n <slot name=\"description\"></slot>\r\n </div>\r\n </div>\r\n\r\n <div :style=\"[useContentStyle]\">\r\n <slot name=\"content\"></slot>\r\n </div>\r\n\r\n <div :style=\"[useFooterStyle]\" v-if=\"hasFooter\">\r\n <slot name=\"footer\"></slot>\r\n </div>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport color2hex from '../js/vuetifyColor.mjs'\r\n\r\n\r\n/**\r\n * @vue-prop {Boolean} [hasHeader=true] 輸入是否有上部標題區,預設true\r\n * @vue-prop {Boolean} [hasFooter=true] 輸入是否有下部基底區,預設true\r\n * @vue-prop {Number} [padding=20] 輸入內間距,單位為px,預設20\r\n * @vue-prop {Number} [borderRadius=5] 輸入圓角寬度數字,單位為px,預設5\r\n * @vue-prop {String} [headerBackgroundColor='grey lighten-5'] 輸入上方區塊背景顏色字串,預設'grey lighten-5'\r\n * @vue-prop {String} [contentBackgroundColor='white'] 輸入內容區塊背景顏色字串,預設'white'\r\n * @vue-prop {String} [footerBackgroundColor='grey lighten-5'] 輸入下方區塊背景顏色字串,預設'grey lighten-5'\r\n * @vue-prop {Boolean} [shadow=true] 輸入是否為陰影模式,預設true\r\n */\r\nexport default {\r\n props: {\r\n hasHeader: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n hasFooter: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n padding: {\r\n type: Number,\r\n default: 20,\r\n },\r\n borderRadius: {\r\n type: Number,\r\n default: 5,\r\n },\r\n headerBackgroundColor: {\r\n type: String,\r\n default: 'grey lighten-5',\r\n },\r\n contentBackgroundColor: {\r\n type: String,\r\n default: 'white',\r\n },\r\n footerBackgroundColor: {\r\n type: String,\r\n default: 'grey lighten-5',\r\n },\r\n shadow: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n },\r\n data: function() {\r\n return {\r\n }\r\n },\r\n mounted: function() {\r\n },\r\n computed: {\r\n\r\n usePanelStyle: function() {\r\n //console.log('computed usePanelStyle')\r\n\r\n let vo = this\r\n\r\n let s = {}\r\n s['background-color'] = color2hex(vo.contentBackgroundColor)\r\n s['border-radius'] = `${vo.borderRadius}px`\r\n\r\n return s\r\n },\r\n\r\n useHeaderStyle: function() {\r\n //console.log('computed useHeaderStyle')\r\n\r\n let vo = this\r\n\r\n let s = {}\r\n s['padding'] = `${vo.padding}px`\r\n s['border-bottom'] = '1px solid #ddd'\r\n s['background-color'] = color2hex(vo.headerBackgroundColor)\r\n s['border-radius'] = `${vo.borderRadius}px ${vo.borderRadius}px 0 0`\r\n s['display'] = 'flex'\r\n s['justify-content'] = 'flex-start'\r\n s['align-items'] = 'center'\r\n\r\n return s\r\n },\r\n\r\n useContentStyle: function() {\r\n //console.log('computed useContentStyle')\r\n\r\n let vo = this\r\n\r\n let s = {}\r\n let ch = '0 0'\r\n let cf = '0 0'\r\n if (!vo.hasHeader) {\r\n ch = `${vo.borderRadius}px ${vo.borderRadius}px`\r\n }\r\n if (!vo.hasFooter) {\r\n cf = `${vo.borderRadius}px ${vo.borderRadius}px`\r\n }\r\n s['border-radius'] = `${ch} ${cf}`\r\n\r\n return s\r\n },\r\n\r\n useFooterStyle: function() {\r\n //console.log('computed useFooterStyle')\r\n\r\n let vo = this\r\n\r\n let s = {}\r\n s['padding'] = `${vo.padding}px`\r\n s['border-top'] = '1px solid #ddd'\r\n s['background-color'] = color2hex(vo.footerBackgroundColor)\r\n s['border-radius'] = `0 0 ${vo.borderRadius}px ${vo.borderRadius}px`\r\n\r\n return s\r\n },\r\n\r\n },\r\n methods: {\r\n },\r\n}\r\n<\/script>\r\n\r\n<style scoped>\r\n.shadow {\r\n box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);\r\n}\r\n</style>\r\n"]},media:void 0})}),II,"data-v-9a073702",false,undefined,!1,o,void 0,void 0);const TI={components:{WPopup:Kb,WText:jb,WButtonChip:dm,WIcon:Ch},props:{value:{type:[String,Number],default:""},title:{type:String,default:"Editor"},titleColor:{type:String,default:"grey darken-3"},titleFontSize:{type:String,default:"0.8rem"},contentIcon:{type:String,default:"M5,3C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19H5V5H12V3H5M17.78,4C17.61,4 17.43,4.07 17.3,4.2L16.08,5.41L18.58,7.91L19.8,6.7C20.06,6.44 20.06,6 19.8,5.75L18.25,4.2C18.12,4.07 17.95,4 17.78,4M15.37,6.12L8,13.5V16H10.5L17.87,8.62L15.37,6.12Z"},contentIconColor:{type:String,default:"orange"},contentIconSize:{type:Number,default:28},inputTextColor:{type:String,default:"grey darken-3"},inputTextBottomLineBorderColor:{type:String,default:"grey lighten-1"},inputTextBottomLineBorderColorHover:{type:String,default:"grey"},inputTextBottomLineBorderColorFocus:{type:String,default:"blue darken-1"},saveBtnText:{type:String,default:"Save"},saveBtnTextColor:{type:String,default:"grey darken-3"},saveBtnTextColorHover:{type:String,default:"grey darken-2"},saveBtnIcon:{type:String,default:mp},saveBtnIconSize:{type:Number,default:22},saveBtnIconColor:{type:String,default:"grey darken-1"},saveBtnIconColorHover:{type:String,default:"grey darken-2"},saveBtnIconRippleColor:{type:String,default:"rgba(200,200,200,0.4)"},saveBtnBackgroundColor:{type:String,default:"white"},saveBtnBackgroundColorHover:{type:String,default:"grey lighten-3"},headerBackgroundColor:{type:String,default:"grey lighten-5"},contentBackgroundColor:{type:String,default:"white"},footerBackgroundColor:{type:String,default:"grey lighten-5"},minWidthForValue:{type:Number,default:30},minWidthForPopup:{type:Number,default:300}},data:function(){return{valueTemp:null,showEdit:!1}},computed:{useTitleFontSize:function(){let n=this.titleFontSize;return n=As(n,";",""),`font-size:${n};`},useTitleColor:function(){return Id(this.titleColor)},useHeaderBackgroundColor:function(){return Id(this.headerBackgroundColor)},useContentBackgroundColor:function(){return Id(this.contentBackgroundColor)},useFooterBackgroundColor:function(){return Id(this.footerBackgroundColor)}},methods:{evShow:function(){let n=this;n.valueTemp=n.value,n.$nextTick((()=>{n.showEdit=!0}))},evHide:function(){let n=this;n.$nextTick((()=>{n.$emit("close"),n.showEdit=!1}))},ckSave:function(n,e){let t=this;t.$nextTick((()=>{t.$emit("input",t.valueTemp),t.valueTemp="",n.funHide()}))}}};var HI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("WPopup",{attrs:{isolated:!0,_minWidth:"minWidthForPopup"},on:{show:n.evShow,hide:n.evHide},scopedSlots:n._u([{key:"trigger",fn:function(){return[t("div",{style:"min-width:"+n.minWidthForValue+"px; min-height:1rem; cursor:pointer;"},[n._v("\n "+n._s(n.value)+"\n ")])]},proxy:!0},{key:"content",fn:function(e){return[t("div",{style:"min-width:"+n.minWidthForPopup+"px; text-align:left; border-radius:5px; overflow:hidden;"},[""!==n.title?t("div",[t("div",{style:" padding:10px; color:"+n.useTitleColor+"; "+n.useTitleFontSize+"; background:"+n.useHeaderBackgroundColor+";"},[n._v("\n "+n._s(n.title)+"\n ")])]):n._e(),n._v(" "),t("div",{style:"padding:20px; border-top:1px solid #ddd; border-bottom:1px solid #ddd; background:"+n.useContentBackgroundColor+"; display:flex; align-items:center;"},[t("div",{staticStyle:{"padding-right":"10px"}},[t("WIcon",{attrs:{icon:n.contentIcon,size:n.contentIconSize,color:n.contentIconColor,colorHover:n.contentIconColor}})],1),n._v(" "),t("div",{staticStyle:{width:"100%"}},[n.showEdit?t("WText",{attrs:{textColor:n.inputTextColor,bottomLineBorderColor:n.inputTextBottomLineBorderColor,bottomLineBorderColorHover:n.inputTextBottomLineBorderColorHover,bottomLineBorderColorFocus:n.inputTextBottomLineBorderColorFocus},on:{enter:function(t){return n.ckSave(e)}},model:{value:n.valueTemp,callback:function(e){n.valueTemp=e},expression:"valueTemp"}}):n._e()],1)]),n._v(" "),t("div",{style:"padding:10px; background:"+n.useFooterBackgroundColor+"; text-align:right;"},[t("WButtonChip",{attrs:{shiftLeft:-5,icon:n.saveBtnIcon,iconColor:n.saveBtnIconColor,iconColorHover:n.saveBtnIconColorHover,iconSize:n.saveBtnIconSize,text:n.saveBtnText,textColor:n.saveBtnTextColor,textColorHover:n.saveBtnTextColorHover,backgroundColor:n.saveBtnBackgroundColor,backgroundColorHover:n.saveBtnBackgroundColorHover,rippleColor:n.saveBtnIconRippleColor},on:{click:function(t){return n.ckSave(e)}}})],1)])]}}])})};HI._withStripped=!0;const BI=t({render:HI,staticRenderFns:[]},(function(n){n&&n("data-v-4d61422f_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WPopupEditText.vue"},media:void 0})}),TI,"data-v-4d61422f",false,undefined,!1,o,void 0,void 0);function WI(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return _i(n)&&al(e)?(n=$i(n),tl(n,e).toFixed(e)):""}var AI={components:{WIcon:Ch},props:{value:{type:Number,default:0},decimal:{type:Number,default:1},title:{type:String,default:""},titleTextColor:{type:String,default:"grey darken-2"},titleTextFontSize:{type:String,default:"0.85rem"},height:{type:Number,default:4},borderRadius:{type:Number,default:5},progColor:{type:String,default:"lime accent-4"},progBackgroundColor:{type:String,default:"light-green lighten-5"},iconSize:{type:Number,default:20},iconWaiting:{type:String,default:Tp},iconFinish:{type:String,default:pp},iconWaitingColor:{type:String,default:"grey"},iconFinishColor:{type:String,default:"green"},enableIconWaiting:{type:Boolean,default:!0},enableIconFinish:{type:Boolean,default:!0},valueTextColor:{type:String,default:"grey darken-2"},valueTextFontSize:{type:String,default:"0.85rem"},enableContinuous:{type:Boolean,default:!1},continuousIncrease:{type:Number,default:12},continuousPeriod:{type:Number,default:100}},data:function(){return{mdiCheck:pp,mdiOrbitVariant:Tp,timer:null,continuousFirst:!0,continuousRatio:0,continuousShiftX:0,continuousWidth:0}},beforeDestroy:function(){let n=this;null!==n.timer&&(clearInterval(n.timer),n.timer=null)},computed:{changeContinuous:function(){let n=this;return n.enableContinuous?n.runContinuous():n.destroyContinuous(),""},hasTitle:function(){return Ji(this.title)},status:function(){return this.value<=0?"waiting":this.value>=100?"finish":"running"},useProg:function(){let n=this.value;return n=Math.max(n,0),n=Math.min(n,100),n=this.digValue(n),n},useTitleTextFontSize:function(){let n=this.titleTextFontSize;return n=As(n,";",""),`font-size:${n};`},useBorderRadius:function(){return`border-radius:${this.borderRadius}px;`},useProgColor:function(){return Id(this.progColor)},useProgBackgroundColor:function(){return Id(this.progBackgroundColor)},useTitleTextColor:function(){return Id(this.titleTextColor)},useIconWaitingColor:function(){return Id(this.iconWaitingColor)},useIconFinishColor:function(){return Id(this.iconFinishColor)},useValueTextColor:function(){return Id(this.valueTextColor)},useValueTextFontSize:function(){let n=this.valueTextFontSize;return n=As(n,";",""),`font-size:${n};`}},methods:{digValue:function(n){return WI(n,this.decimal)},runContinuous:function(){let n=this;null===n.timer&&(n.timer=setInterval((()=>{n.continuousRatio+=n.continuousIncrease,n.continuousFirst=!1,n.continuousRatio>=100+n.continuousIncrease&&(n.continuousFirst=!0,n.continuousRatio=-n.continuousIncrease),n.continuousShiftX=(n=>{let e=(n/=100)<.5?4*n*n*n:1-Math.pow(-2*n+2,3)/2;return e=Math.max(Math.min(e,1),0),e*=100,e})(n.continuousRatio),n.continuousWidth=(n=>{n-=50,n*=2,n/=100,n=Math.max(Math.min(n,1),-1);let e=1*Math.exp(-2*n**2);return e=Math.max(Math.min(e,1),0),e-=.1353352832366127,e*=1.1565176427496657,e*=100,e})(n.continuousRatio)}),n.continuousPeriod))},destroyContinuous:function(){let n=this;null!==n.timer&&(clearInterval(n.timer),n.timer=null)}}};const ZI=AI;var XI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{attrs:{changeContinuous:n.changeContinuous}},[n.hasTitle?t("div",{style:"color:"+n.useTitleTextColor+"; "+n.useTitleTextFontSize+";"},[n._v("\n "+n._s(n.title)+"\n ")]):n._e(),n._v(" "),n.enableContinuous?n._e():t("div",{style:"display:flex; align-items:center;"},[t("div",{style:n.useBorderRadius+" overflow:hidden; width:100%; height:"+n.height+"px;"},[t("div",{style:"background:"+n.useProgBackgroundColor+"; height:"+n.height+"px;"},[t("div",{style:"background:"+n.useProgColor+"; width:"+n.useProg+"%; height:"+n.height+"px;"})])]),n._v(" "),t("div",{staticStyle:{"padding-left":"5px"}},[n.enableIconWaiting&&"waiting"===n.status||n.enableIconFinish&&"finish"===n.status?t("WIcon",{attrs:{icon:"waiting"===n.status?n.iconWaiting:n.iconFinish,color:"waiting"===n.status?n.useIconWaitingColor:n.useIconFinishColor,colorHover:"waiting"===n.status?n.useIconWaitingColor:n.useIconFinishColor,size:n.iconSize}}):t("div",{style:"color:"+n.useValueTextColor+"; "+n.useValueTextFontSize+";"},[t("div",[n._v(n._s(n.useProg)+"%")])])],1)]),n._v(" "),n.enableContinuous?t("div",{style:n.useBorderRadius+" overflow:hidden; width:100%; height:"+n.height+"px;"},[t("div",{style:"position:relative; background:"+n.useProgBackgroundColor+"; height:"+n.height+"px;"},[t("div",{style:"position:absolute; transition:all "+(n.continuousFirst?0:n.continuousPeriod)+"ms linear; left:"+n.continuousShiftX+"%; top:0px; background:"+n.useProgColor+"; width:"+n.continuousWidth+"%; height:"+n.height+"px;"})])]):n._e()])};XI._withStripped=!0;const VI=t({render:XI,staticRenderFns:[]},(function(n){n&&n("data-v-aea3ddda_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WProgressBar.vue"},media:void 0})}),ZI,"data-v-aea3ddda",false,undefined,!1,o,void 0,void 0);const PI={components:{WTooltip:om},props:{text:{type:String,default:""},value:{type:Number,default:0},color:{type:String,default:"rgba(100,100,100,0.8)"},trackColor:{type:String,default:"rgba(150,150,150,0.4)"},size:{type:Number,default:120},width:{type:Number,default:6},textColor:{type:String,default:"#666"},tooltip:{type:String,default:""},tooltipBorderRadius:{type:Number,default:4},tooltipPaddingStyle:{type:Object,default:()=>({v:5,h:8})},tooltipTextFontSize:{type:String,default:"0.85rem"},tooltipTextColor:{type:String,default:"white"},tooltipBackgroundColor:{type:String,default:"rgba(60,60,60,0.75)"}},data:function(){return{}},mounted:function(){},computed:{radius:function(){return this.size/2-this.width/2},sizeHalf:function(){return this.size/2},widthOuter:function(){return 1*this.width},widthInner:function(){return this.width},progSdAll:function(){return 2*Math.PI*this.radius},progSdNow:function(){let n=this.value;return n<0&&(n=0),n>100&&(n=100),(100-n)/100*this.progSdAll},valueStyle:function(){let n=this,e=n.size/5.4,t=(n.size-26)/94*.25+.75;return{color:n.useColor,"font-size":e+"pt",transform:`scale(${t})`}},textStyle:function(){let n=this.size/12;return{color:this.useTextColor,"font-size":n+"pt",transform:"scale(1.2)"}},useColor:function(){return Id(this.color)},useTrackColor:function(){return Id(this.trackColor)},useTextColor:function(){return Id(this.textColor)},hasTooltop:function(){return Ji(this.tooltip)}},methods:{clickBtn:function(){let n=this;n.$nextTick((()=>{n.$emit("click")}))}}};var FI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticStyle:{display:"inline-block"}},[t("WTooltip",{attrs:{displayType:"line",isolated:!0,borderRadius:n.tooltipBorderRadius,paddingStyle:n.tooltipPaddingStyle,textFontSize:n.tooltipTextFontSize,textColor:n.tooltipTextColor,backgroundColor:n.tooltipBackgroundColor,editable:n.hasTooltop},scopedSlots:n._u([{key:"trigger",fn:function(){return[t("div",{style:"position:relative; width:"+n.size+"px; height:"+n.size+"px;"},[t("svg",{style:"transform-origin:radius; transform:rotate(-90deg);",attrs:{width:n.size,height:n.size,viewPort:"0 0 "+n.size+" "+n.size,version:"1.1",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{attrs:{r:n.radius,cx:n.sizeHalf,cy:n.sizeHalf,fill:"transparent","stroke-dasharray":n.progSdAll,"stroke-dashoffset":0,stroke:n.useTrackColor,"stroke-width":n.widthOuter}}),n._v(" "),t("circle",{staticStyle:{transition:"all 0.6s ease-in-out"},attrs:{r:n.radius,cx:n.sizeHalf,cy:n.sizeHalf,fill:"transparent","stroke-dasharray":n.progSdAll,"stroke-dashoffset":n.progSdNow,stroke:n.useColor,"stroke-width":n.widthInner}})]),n._v(" "),t("div",{style:"position:absolute; top:50%; left:50%; width:"+n.size+"px; height:"+n.size+"px;"},[t("div",{staticStyle:{"text-align":"center",transform:"translate(-50%,-50%)"}},[t("div",{style:[n.valueStyle]},[n._v(n._s(n.value)+"%")]),n._v(" "),t("div",{style:[n.textStyle]},[n._v(n._s(n.text))])])])])]},proxy:!0},{key:"content",fn:function(){return[n._v("\n "+n._s(n.tooltip)+"\n ")]},proxy:!0}])})],1)};FI._withStripped=!0;const RI=t({render:FI,staticRenderFns:[]},(function(n){n&&n("data-v-61cb34f4_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WProgressCircle.vue"},media:void 0})}),PI,"data-v-61cb34f4",false,undefined,!1,o,void 0,void 0);const LI={components:{WIconLoading:Td},props:{pathItems:{type:Array,default:()=>["https://cdn.jsdelivr.net/npm/quill@1.3.7/dist/quill.min.js","https://cdn.jsdelivr.net/npm/quill@1.3.7/dist/quill.snow.min.css","https://cdn.jsdelivr.net/npm/w-quill-vue@2.0.4/dist/w-quill-vue.umd.js"]},value:{type:String,default:""},settings:{type:Object,default:()=>{}},height:{type:Number,default:250},editable:{type:Boolean,default:!0}},data:function(){return{cmpName:"WIconLoading"}},mounted:function(){let n=this;fl(n.pathItems).then((e=>{if("loaded"!==e){let n=window["w-quill-vue"];n.default&&(n=n.default),Bd().component("w-quill-vue",n)}n.cmpName="w-quill-vue"}))},computed:{},methods:{}};var zI=function(){var n=this,e=n.$createElement;return(n._self._c||e)(n.cmpName,{ref:"$self",tag:"component",attrs:{settings:n.settings,height:n.height,editable:n.editable,value:n.value},on:{input:function(e){n.$emit("input",e)}}})};zI._withStripped=!0;const NI=t({render:zI,staticRenderFns:[]},(function(n){n&&n("data-v-52bc7988_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WQuillVueDyn.vue"},media:void 0})}),LI,"data-v-52bc7988",false,undefined,!1,o,void 0,void 0);var jI={components:{WPopup:Kb},props:{items:{type:Array,default:()=>[]},width:{type:Number,default:230},height:{type:Number,default:600},paddingStyle:{type:Object,default:()=>({top:10,right:0,bottom:10,left:50})},keyValueStart:{type:String,default:"valueStart"},keyValueEnd:{type:String,default:"valueEnd"},keyText:{type:String,default:"text"},valueMin:{type:Number,default:null},valueMax:{type:Number,default:null},title:{type:String,default:""},titleColor:{type:String,default:"#444"},titleFontSize:{type:String,default:"1rem"},titleShift:{type:Number,default:null},alignStart:{type:String,default:"left"},alignEnd:{type:String,default:"right"},funFormatTickValue:{type:Function,default:null},axisColor:{type:String,default:"#666"},tickColor:{type:String,default:"#666"},tickSize:{type:Number,default:5},tickLabelColor:{type:String,default:"#666"},tickLabelFontSize:{type:String,default:"0.7rem"},segmentBackgroundType:{type:String,default:"color"},segmentBackgroundColor:{type:String,default:"#FFB74D"},funSegmentBackgroundColor:{type:Function,default:null},segmentBackgroundImage:{type:String,default:""},funSegmentBackgroundImage:{type:Function,default:null},segmentBackgroundImageSize:{type:String,default:"75%"},segmentBorderColor:{type:[String,Object],default:"#FB8C00"},funSegmentBorderColor:{type:Function,default:null},segmentSize:{type:Number,default:6},textWithPopup:{type:Boolean,default:!1},textFontSize:{type:String,default:"0.7rem"},textColor:{type:String,default:"#222"},textBackgroundColor:{type:String,default:"#ddd"},textTriangularSize:{type:Number,default:15},textTriangularRatio:{type:Number,default:1.5},textShift:{type:Number,default:null},textCanClick:{type:Boolean,default:!1},segmentCanClick:{type:Boolean,default:!1}},data:function(){return{}},computed:{paddingFormat:function(){return ch(this.paddingStyle,{returnObj:!0})},paddingTop:function(){return Vo(this,"paddingFormat.top",0)},paddingRight:function(){return Vo(this,"paddingFormat.right",0)},paddingBottom:function(){return Vo(this,"paddingFormat.bottom",0)},paddingLeft:function(){return Vo(this,"paddingFormat.left",0)},plotWidth:function(){let n=this,e=n.width-n.paddingLeft-n.paddingRight;return e=Math.max(e,0),e},plotHeight:function(){let n=this,e=n.height-n.paddingTop-n.paddingBottom;return e=Math.max(e,0),e},useTextTriangularSizeHalf:function(){return this.textTriangularSize/this.textTriangularRatio},useAlignStart:function(){let n=this.alignStart;return"left"!==n&&"right"!==n&&(n="left"),n},useAlignEnd:function(){let n=this.alignEnd;return"left"!==n&&"right"!==n&&(n="right"),n},useItemsOri:function(){let n=this,e=[];return Jn(n.items,((t,r)=>{let o=Vo(t,n.keyValueStart,"");_i(o)||console.log(`value[${o}] at items[${r}].${n.keyValueStart} is not a number`),o=$i(o);let i=Vo(t,n.keyValueEnd,"");_i(i)||console.log(`value[${i}] at items[${r}].${n.keyValueEnd} is not a number`),i=$i(i);let l=Vo(t,n.keyText,"");Ji(l)||(l=""),e.push({valueStart:o,valueEnd:i,text:l,data:t})})),e},vsve:function(){return[...hi(this.useItemsOri,"valueStart"),...hi(this.useItemsOri,"valueEnd")]},useValueMin:function(){let n=this;return Pd(n.valueMin)?n.valueMin:Jm(n.vsve)},useValueMax:function(){let n=this;return Pd(n.valueMax)?n.valueMax:Xm(n.vsve)},userValueRange:function(){return this.useValueMax-this.useValueMin},useItems:function(){let n=this,e=[];return Jn(n.useItemsOri,(t=>{let r=t.valueStart;r=Math.min(Math.max(r,n.useValueMin),n.useValueMax);let o=t.valueEnd;o=Math.min(Math.max(o,n.useValueMin),n.useValueMax),e.push({...t,valueStart:r,valueEnd:o})})),e},useLabels:function(){let n=this,e=[];Jn(n.useItems,(t=>{e.push({value:t.valueStart,align:n.useAlignStart}),e.push({value:t.valueEnd,align:n.useAlignEnd})}));let t={value:n.useValueMin,align:n.useAlignStart},r={value:n.useValueMax,align:n.useAlignEnd};e=[t,...e,r];let o=qv(e,"value"),i=[];return Jn(o,((n,e)=>{if(1===xd(n))i.push(n[0]);else{let t=qv(n,"align");if(t=km(t),1===xd(t))i.push(t[0][0]);else{let n={value:e,align:"left"};i.push(n)}}})),e=i,e},useLabelsLocs:function(){let n=this,e=hi(n.useLabels,(e=>{let t=n.convertValueToY(e.value),r=e.value;return bi(n.funFormatTickValue)&&(r=n.funFormatTickValue(e.value)),{y:t,align:e.align,label:r}}));return e},useSamplesLocs:function(){let n=this,e=n.useValueMax-n.useValueMin,t=hi(n.useItems,(t=>{let r=(t.valueStart-n.useValueMin)/e*n.plotHeight,o=(t.valueEnd-n.useValueMin)/e*n.plotHeight;return{y:r,yc:(r+o)/2,height:o-r,text:t.text,data:t.data}}));return t},useTitleColor:function(){return Id(this.titleColor)},useAxisColor:function(){return Id(this.axisColor)},useTickColor:function(){return Id(this.tickColor)},useTickLabelColor:function(){return Id(this.tickLabelColor)},useSegmentCursor:function(){return this.segmentCanClick?"cursor:pointer;":""},useTitleShift:function(){let n=this;return Pd(n.titleShift)?n.titleShift:12-n.paddingLeft},useTickOuter:function(){let n=this.tickSize;return n+=4,n},useTextShift:function(){let n=this;if(Pd(n.textShift))return n.textShift;let e=1+n.segmentSize/2;return"right"!==n.useAlignStart&&"right"!==n.useAlignEnd||(e+=n.paddingLeft),e},useTextColor:function(){return Id(this.textColor)},useTextBackgroundColor:function(){return Id(this.textBackgroundColor)},useTextCursor:function(){return this.textWithPopup||this.textCanClick?"cursor:pointer;":""}},methods:{convertValueToY:function(n){let e=this;return(n-e.useValueMin)/e.userValueRange*e.plotHeight},getLabelShift:function(n){let e="";return"left"===n&&(e="-100% - "),`${e}${this.useTickOuter}px`},getSegmentBackground:function(n){let e=this,t="";if("color"===e.segmentBackgroundType)t=`background:${e.getSegmentBackgroundColor(n)};`;else{if("image"!==e.segmentBackgroundType)throw new Error(`segmentBackgroundType[${e.segmentBackgroundType}] need to set 'color' or 'image'`);{let r=e.segmentBackgroundImageSize;r=As(r,";",""),t=`background-image:url('${e.getSegmentBackgroundImage(n)}'); background-size:${r}; background-repeat:repeat;`}}return t},getSegmentBackgroundColor:function(n){let e=this,t=Id(e.segmentBackgroundColor);if(bi(e.funSegmentBackgroundColor)){let r=Vo(e,`useItems.${n}.data`,{});t=e.funSegmentBackgroundColor(r)}return t},getSegmentBackgroundImage:function(n){let e=this,t=e.segmentBackgroundImage;if(bi(e.funSegmentBackgroundImage)){let r=Vo(e,`useItems.${n}.data`,{});t=e.funSegmentBackgroundImage(r)}return t},getSegmentBorder:function(n){let e,t=this,r=e=>{let r=Id(e);if(bi(t.funSegmentBorderColor)){let e=Vo(t,`useItems.${n}.data`,{});r=t.funSegmentBorderColor(e)}return r};if(Gi(t.segmentBorderColor)){let n=uh(t.segmentBorderColor,{def:"",type:"text"});e=`border-left:1px solid ${r(n.left)}; border-right:1px solid ${r(n.right)}; border-top:1px solid ${r(n.top)}; border-bottom:1px solid ${r(n.bottom)};`}else e=`border:1px solid ${r(t.segmentBorderColor)};`;return e},clickText:function(n,e){if(!this.textCanClick)return;let t={ev:n,item:e};this.$emit("click-text",t)},clickSegment:function(n,e){if(!this.segmentCanClick)return;let t={ev:n,item:e};this.$emit("click-segment",t)}}};const YI=jI;var GI=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{style:"width:"+n.width+"px; height:"+n.height+"px; box-sizing:border-box;"},[t("div",{style:"padding:"+n.paddingTop+"px "+n.paddingRight+"px "+n.paddingBottom+"px "+n.paddingLeft+"px;"},[t("div",{style:"position:relative; width:"+n.plotWidth+"px; height:"+n.plotHeight+"px; border-left:1px solid "+n.useAxisColor+";"},[n.title?t("div",{style:"position:absolute; top:50%; left:0%; width:100px; color:"+n.useTitleColor+"; font-size:"+n.titleFontSize+"; text-align:center; transform-origin:center; transform:translate(-50%,-50%) rotate(-90deg) translateY("+n.useTitleShift+"px);"},[n._v("\n "+n._s(n.title)+"\n ")]):n._e(),n._v(" "),n._l(n.useLabelsLocs,(function(e,r){return t("div",{key:"label"+r,style:"position:absolute; top:"+e.y+"px; left:0px; transform:translate( calc( "+n.getLabelShift(e.align)+" ), -50% );"},[t("div",{style:"color:"+n.useTickLabelColor+"; font-size:"+n.tickLabelFontSize+";"},[n._v("\n "+n._s(e.label)+"\n ")])])})),n._v(" "),n._l(n.useLabelsLocs,(function(e,r){return t("div",{key:"tick"+r,style:"position:absolute; top:"+e.y+"px; left:-"+n.tickSize+"px;"},[t("div",{style:"width:"+(2*n.tickSize+1)+"px; border-top:1px solid "+n.useTickColor+";"})])})),n._v(" "),n._l(n.useSamplesLocs,(function(e,r){return t("div",{key:"sample-block"+r,style:"position:absolute; top:"+e.y+"px; left:-"+n.segmentSize/2+"px; width:"+n.segmentSize+"px; height:"+e.height+"px; "+n.getSegmentBackground(r)+" "+n.getSegmentBorder(r)+" "+n.useSegmentCursor,on:{click:function(t){n.clickSegment(t,e.data)}}})})),n._v(" "),t("div",{style:"position:absolute; top:0px; left:0px; transform:translateX(-"+n.paddingLeft+"px);"},[n._t("support-left",null,{convertValueToY:n.convertValueToY})],2),n._v(" "),t("div",{style:"position:absolute; top:0px; left:"+n.useTickOuter+"px;"},[n._t("support-right",null,{convertValueToY:n.convertValueToY})],2),n._v(" "),n._l(n.useSamplesLocs,(function(e,r){return t("div",{key:"sample-text"+r,style:"position:absolute; top:"+e.yc+"px; left:"+n.useTextShift+"px;"},[t("div",{staticStyle:{position:"relative"}},[t("div",{staticStyle:{position:"absolute",top:"-50%",left:"0px",height:"100%"}},[t("div",{staticStyle:{display:"flex","align-items":"center",height:"100%"}},[n._t("text",(function(){return[n.textWithPopup?[t("div",{style:"display:flex;"},[t("WPopup",{attrs:{isolated:!0},scopedSlots:n._u([{key:"trigger",fn:function(){return[t("div",{style:"display:flex; "+n.useTextCursor,on:{click:function(t){n.clickText(t,e.data)}}},[t("div",{style:"width:0; height:0; border-top:"+n.useTextTriangularSizeHalf+"px solid transparent; border-right:"+n.useTextTriangularSizeHalf*n.textTriangularRatio+"px solid "+n.useTextBackgroundColor+"; border-bottom:"+n.useTextTriangularSizeHalf+"px solid transparent;"}),n._v(" "),t("div",{style:"padding-right:5px; background:"+n.useTextBackgroundColor+";"},[t("div",{style:"height:100%; display:flex; align-items:center;"},[t("div",{style:"color:"+n.useTextColor+"; font-size:"+n.textFontSize+"; white-space:nowrap;"},[n._v("\n "+n._s(e.text)+"\n ")])])])])]},proxy:!0},{key:"content",fn:function(){return[n._t("text-popup",null,{item:e.data,index:r})]},proxy:!0}],null,!0)})],1)]:[t("div",{style:"display:flex; "+n.useTextCursor,on:{click:function(t){n.clickText(t,e.data)}}},[t("div",{style:"width:0; height:0; border-top:"+n.useTextTriangularSizeHalf+"px solid transparent; border-right:"+n.useTextTriangularSizeHalf*n.textTriangularRatio+"px solid "+n.useTextBackgroundColor+"; border-bottom:"+n.useTextTriangularSizeHalf+"px solid transparent;"}),n._v(" "),t("div",{style:"padding-right:5px; background:"+n.useTextBackgroundColor+";"},[t("div",{style:"height:100%; display:flex; align-items:center;"},[t("div",{style:"color:"+n.useTextColor+"; font-size:"+n.textFontSize+"; white-space:nowrap;"},[n._v("\n "+n._s(e.text)+"\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v-141049fb",false,undefined,!1,o,void 0,void 0);
|
|
17
17
|
/*!
|
|
18
18
|
* decimal.js v10.4.3
|
|
19
19
|
* An arbitrary-precision Decimal type for JavaScript.
|