@ibiz-template/vue3-components 0.7.37-alpha.5 → 0.7.38-alpha.21
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/dist/chart-DPS_XpZp.js +1 -0
- package/dist/index-3cxXHoLs.js +4 -0
- package/dist/index-CiEIUSX9.js +1 -0
- package/dist/index-HW5stxcy.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/xlsx-util-BlkeQIMu.js +2 -0
- package/es/common/action-toolbar/action-toolbar.mjs +7 -4
- package/es/common/anchor-container/anchor-bar-list/anchor-bar-list.css +1 -0
- package/es/common/anchor-container/anchor-bar-list/anchor-bar-list.d.ts +66 -0
- package/es/common/anchor-container/anchor-bar-list/anchor-bar-list.mjs +69 -0
- package/es/common/anchor-container/anchor-container.css +1 -0
- package/es/common/anchor-container/anchor-container.d.ts +103 -0
- package/es/common/anchor-container/anchor-container.mjs +155 -0
- package/es/common/button-list/button-list.css +1 -0
- package/es/common/button-list/button-list.d.ts +45 -0
- package/es/common/button-list/button-list.mjs +165 -0
- package/es/common/carousel/carousel.mjs +1 -1
- package/es/common/carousel-card/carousel-card.mjs +1 -1
- package/es/common/col/col.mjs +1 -1
- package/es/common/control-navigation/control-navigation.css +1 -0
- package/es/common/control-navigation/control-navigation.d.ts +32 -0
- package/es/common/control-navigation/control-navigation.mjs +116 -0
- package/es/common/control-navigation/provider/calendar-navigation.provider.d.ts +17 -0
- package/es/common/control-navigation/provider/calendar-navigation.provider.mjs +55 -0
- package/es/common/control-navigation/provider/index.d.ts +10 -0
- package/es/common/control-navigation/provider/index.mjs +17 -0
- package/es/common/control-navigation/provider/navigation-base.provider.d.ts +84 -0
- package/es/common/control-navigation/provider/navigation-base.provider.mjs +142 -0
- package/es/common/control-navigation/provider/tree-navigation.provider.d.ts +30 -0
- package/es/common/control-navigation/provider/tree-navigation.provider.mjs +81 -0
- package/es/common/coop-alert/coop-alert.mjs +1 -1
- package/es/common/custom-filter-condition/custom-filter-condition.mjs +1 -1
- package/es/common/custom-theme/custom-theme-model.mjs +5 -13
- package/es/common/custom-theme/custom-theme.controller.mjs +2 -3
- package/es/common/custom-theme/custom-theme.mjs +1 -1
- package/es/common/data-import/data-import.mjs +1 -1
- package/es/common/data-import2/data-import2.mjs +1 -1
- package/es/common/data-import2-select/data-import2-select.mjs +1 -1
- package/es/common/data-import2-table/data-import2-table.mjs +1 -1
- package/es/common/doing-notice/doing-notice.mjs +1 -1
- package/es/common/emoji-select/components/categories/categories.mjs +1 -1
- package/es/common/emoji-select/components/category-label/category-label.mjs +1 -1
- package/es/common/emoji-select/components/emoji-item/emoji-item.mjs +1 -1
- package/es/common/emoji-select/components/emoji-list/emoji-list.mjs +1 -1
- package/es/common/emoji-select/components/input-search/input-search.mjs +1 -1
- package/es/common/emoji-select/emoji-select.mjs +1 -1
- package/es/common/extend-action-timeline/extend-action-timeline.mjs +1 -1
- package/es/common/fullscreen-toolbar/fullscreen-toolbar-alarm-clock/fullscreen-toolbar-alarm-clock.mjs +1 -1
- package/es/common/fullscreen-toolbar/fullscreen-toolbar.mjs +1 -1
- package/es/common/gantt-setting/gantt-setting.css +1 -0
- package/es/common/gantt-setting/gantt-setting.d.ts +53 -0
- package/es/common/gantt-setting/gantt-setting.mjs +217 -0
- package/es/common/grid-setting/grid-setting.css +1 -1
- package/es/common/grid-setting/grid-setting.d.ts +2 -1
- package/es/common/grid-setting/grid-setting.mjs +21 -5
- package/es/common/index.mjs +10 -0
- package/es/common/map-chart/map-chart.mjs +2 -2
- package/es/common/nav-split/nav-split.css +1 -0
- package/es/common/nav-split/nav-split.d.ts +57 -0
- package/es/common/nav-split/nav-split.mjs +209 -0
- package/es/common/no-data/no-data.mjs +1 -1
- package/es/common/pagination/pagination.d.ts +8 -0
- package/es/common/pagination/pagination.mjs +8 -2
- package/es/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.mjs +1 -1
- package/es/common/pql-editor/pql-editor.mjs +1 -1
- package/es/common/pql-editor/pql-editor.module.mjs +2 -2
- package/es/common/pql-editor/utils/index.mjs +2 -2
- package/es/common/quick-edit/quick-edit.mjs +1 -1
- package/es/common/rawitem/rawitem.mjs +1 -1
- package/es/common/row/row.mjs +1 -1
- package/es/common/sort-bar/sort-bar.mjs +1 -1
- package/es/common/split/split.css +1 -1
- package/es/common/split/split.mjs +3 -3
- package/es/common/split-trigger/split-trigger.mjs +1 -1
- package/es/common/view-message/view-message.mjs +1 -1
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.d.ts +3 -0
- package/es/control/app-menu/app-menu.mjs +130 -61
- package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +13 -2
- package/es/control/app-menu/index.d.ts +3 -0
- package/es/control/app-menu/index.mjs +1 -1
- package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +1 -1
- package/es/control/app-menu-icon-view/index.mjs +1 -1
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.d.ts +12 -1
- package/es/control/calendar/calendar.mjs +43 -11
- package/es/control/calendar/components/calendar-daily/calendar-daily.mjs +1 -1
- package/es/control/calendar/components/calendar-week/calendar-week.mjs +1 -1
- package/es/control/calendar/components/custom-calendar/custom-calendar.mjs +1 -1
- package/es/control/calendar/components/interface/calendar-daily.mjs +1 -1
- package/es/control/calendar/components/interface/calendar-week.mjs +1 -1
- package/es/control/calendar/components/interface/custom-calendar.mjs +1 -1
- package/es/control/calendar/index.d.ts +12 -1
- package/es/control/calendar/index.mjs +1 -1
- package/es/control/caption-bar/caption-bar.mjs +1 -1
- package/es/control/caption-bar/index.mjs +1 -1
- package/es/control/chart/chart.mjs +3 -3
- package/es/control/chart/index.mjs +1 -1
- package/es/control/context-menu/context-menu.d.ts +4 -2
- package/es/control/context-menu/context-menu.mjs +120 -75
- package/es/control/context-menu/index.d.ts +3 -1
- package/es/control/context-menu/index.mjs +1 -1
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +36 -0
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +1 -1
- package/es/control/dashboard/dashboard-design/dashboard-design.mjs +1 -1
- package/es/control/dashboard/dashboard.d.ts +9 -0
- package/es/control/dashboard/dashboard.mjs +55 -10
- package/es/control/dashboard/index.d.ts +9 -0
- package/es/control/dashboard/index.mjs +1 -1
- package/es/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/chart-portlet/chart-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/container-portlet/container-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.mjs +3 -2
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-item/filter-portlet-item.mjs +1 -1
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/html-portlet/html-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/list-portlet/list-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/menu-portlet/menu-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.d.ts +1 -0
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +16 -4
- package/es/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/report-portlet/report-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/view-portlet/view-portlet.mjs +1 -1
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.d.ts +46 -1
- package/es/control/data-view/data-view.mjs +137 -19
- package/es/control/data-view/index.d.ts +46 -1
- package/es/control/data-view/index.mjs +1 -1
- package/es/control/drbar/drbar.controller.mjs +1 -1
- package/es/control/drbar/drbar.css +1 -1
- package/es/control/drbar/drbar.mjs +24 -24
- package/es/control/drbar/index.mjs +1 -1
- package/es/control/drtab/drtab-control.util.mjs +1 -1
- package/es/control/drtab/drtab.controller.d.ts +9 -1
- package/es/control/drtab/drtab.controller.mjs +32 -5
- package/es/control/drtab/drtab.css +1 -1
- package/es/control/drtab/drtab.d.ts +3 -1
- package/es/control/drtab/drtab.mjs +93 -32
- package/es/control/drtab/index.d.ts +3 -1
- package/es/control/drtab/index.mjs +1 -1
- package/es/control/exp-bar/calendar-exp-bar/calendar-exp-bar.mjs +1 -1
- package/es/control/exp-bar/calendar-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/chart-exp-bar/chart-exp-bar.mjs +1 -1
- package/es/control/exp-bar/chart-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/data-view-exp-bar/data-view-view-exp-bar.mjs +1 -1
- package/es/control/exp-bar/data-view-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/grid-exp-bar/grid-exp-bar.mjs +1 -1
- package/es/control/exp-bar/grid-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/list-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/list-exp-bar/list-exp-bar.mjs +1 -1
- package/es/control/exp-bar/render-util.mjs +2 -2
- package/es/control/exp-bar/tree-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/tree-exp-bar/tree-exp-bar.mjs +1 -1
- package/es/control/form/edit-form/edit-form.d.ts +10 -1
- package/es/control/form/edit-form/edit-form.mjs +39 -3
- package/es/control/form/edit-form/index.d.ts +9 -0
- package/es/control/form/edit-form/index.mjs +1 -1
- package/es/control/form/form/form.mjs +1 -1
- package/es/control/form/form/index.mjs +2 -0
- package/es/control/form/form-detail/form-button/form-button.mjs +1 -1
- package/es/control/form/form-detail/form-button-list/form-button-list.css +1 -0
- package/es/control/form/form-detail/form-button-list/form-button-list.d.ts +27 -0
- package/es/control/form/form-detail/form-button-list/form-button-list.mjs +48 -0
- package/es/control/form/form-detail/form-button-list/form-button-list.provider.d.ts +13 -0
- package/es/control/form/form-detail/form-button-list/form-button-list.provider.mjs +21 -0
- package/es/control/form/form-detail/form-button-list/index.d.ts +23 -0
- package/es/control/form/form-detail/form-button-list/index.mjs +18 -0
- package/es/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/es/control/form/form-detail/form-druipart/form-druipart.mjs +1 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.d.ts +0 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +11 -8
- package/es/control/form/form-detail/form-group-panel/index.d.ts +0 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +1 -1
- package/es/control/form/form-detail/form-item/form-item.mjs +2 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +26 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.mjs +6 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +8 -0
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +74 -4
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.mjs +1 -1
- package/es/control/form/form-detail/form-page/form-page-item/form-page.item.mjs +1 -1
- package/es/control/form/form-detail/form-page/form-page.css +1 -1
- package/es/control/form/form-detail/form-page/form-page.d.ts +10 -0
- package/es/control/form/form-detail/form-page/form-page.mjs +12 -3
- package/es/control/form/form-detail/form-page/index.d.ts +9 -0
- package/es/control/form/form-detail/form-rawitem/form-rawitem.mjs +1 -1
- package/es/control/form/form-detail/form-tab-page/form-tab-page.mjs +1 -1
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.mjs +2 -2
- package/es/control/form/form-detail/index.d.ts +1 -0
- package/es/control/form/form-detail/index.mjs +1 -0
- package/es/control/form/index.mjs +1 -0
- package/es/control/form/search-form/index.mjs +1 -1
- package/es/control/form/search-form/search-form.mjs +1 -1
- package/es/control/gantt/gantt.css +1 -1
- package/es/control/gantt/gantt.d.ts +2 -4
- package/es/control/gantt/gantt.mjs +95 -25
- package/es/control/gantt/index.d.ts +2 -4
- package/es/control/gantt/index.mjs +1 -1
- package/es/control/grid/grid/grid-control.util.mjs +45 -2
- package/es/control/grid/grid/grid.css +1 -1
- package/es/control/grid/grid/grid.d.ts +1 -0
- package/es/control/grid/grid/grid.mjs +81 -71
- package/es/control/grid/grid/index.d.ts +1 -0
- package/es/control/grid/grid/index.mjs +1 -1
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +1 -1
- package/es/control/grid/grid-column/grid-field-edit-column/grid-edit-item/grid-edit-item.mjs +1 -1
- package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.mjs +1 -1
- package/es/control/grid/grid-column/grid-group-column/grid-group-column.mjs +1 -1
- package/es/control/grid/grid-column/grid-ua-column/grid-ua-column.mjs +1 -1
- package/es/control/grid/row-edit-popover/row-edit-popover.mjs +1 -1
- package/es/control/index.mjs +1 -0
- package/es/control/kanban/index.mjs +1 -1
- package/es/control/kanban/kanban.mjs +1 -1
- package/es/control/list/index.d.ts +36 -0
- package/es/control/list/index.mjs +1 -1
- package/es/control/list/list.css +1 -1
- package/es/control/list/list.d.ts +36 -0
- package/es/control/list/list.mjs +161 -36
- package/es/control/map/index.mjs +1 -1
- package/es/control/map/map.d.ts +9 -0
- package/es/control/map/map.mjs +5 -1
- package/es/control/medit-view-panel/index.mjs +1 -1
- package/es/control/medit-view-panel/medit-view-panel.mjs +1 -1
- package/es/control/pickup-view-panel/index.mjs +1 -1
- package/es/control/pickup-view-panel/pickup-view-panel.mjs +1 -1
- package/es/control/report-panel/index.mjs +1 -1
- package/es/control/report-panel/report-detail/bi-report-panel/bi-report-panel.mjs +1 -1
- package/es/control/report-panel/report-detail/user-report-panel/user-report-panel.mjs +1 -1
- package/es/control/report-panel/report-detail/user2-report-panel/user2-report-panel.mjs +1 -1
- package/es/control/report-panel/report-panel.mjs +1 -1
- package/es/control/search-bar/filter-mode-select/filter-mode-select.mjs +1 -1
- package/es/control/search-bar/filter-tree/filter-tree.mjs +1 -1
- package/es/control/search-bar/index.mjs +1 -1
- package/es/control/search-bar/quick-search-select/quick-search-select.mjs +3 -1
- package/es/control/search-bar/search-bar.mjs +1 -1
- package/es/control/search-bar/search-groups/search-groups.mjs +3 -3
- package/es/control/tab-exp-panel/index.mjs +1 -1
- package/es/control/tab-exp-panel/tab-exp-panel.mjs +1 -1
- package/es/control/toolbar/export-excel/export-excel.mjs +1 -1
- package/es/control/toolbar/index.mjs +1 -1
- package/es/control/toolbar/short-cut-button/short-cut-button.mjs +1 -1
- package/es/control/toolbar/toolbar.mjs +6 -3
- package/es/control/tree/el-tree-util.d.ts +41 -3
- package/es/control/tree/el-tree-util.mjs +70 -2
- package/es/control/tree/index.d.ts +52 -6
- package/es/control/tree/index.mjs +1 -1
- package/es/control/tree/tree.css +1 -1
- package/es/control/tree/tree.d.ts +52 -6
- package/es/control/tree/tree.mjs +132 -20
- package/es/control/tree-grid/index.d.ts +0 -1
- package/es/control/tree-grid/index.mjs +1 -1
- package/es/control/tree-grid/tree-grid.d.ts +4 -5
- package/es/control/tree-grid/tree-grid.mjs +4 -27
- package/es/control/tree-grid-ex/index.mjs +1 -1
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.mjs +1 -1
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.mjs +1 -1
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-ua-column/tree-grid-ex-ua-column.mjs +1 -1
- package/es/control/tree-grid-ex/tree-grid-ex.mjs +1 -1
- package/es/control/wizard-panel/index.mjs +1 -1
- package/es/control/wizard-panel/wizard-panel.mjs +1 -1
- package/es/editor/array/ibiz-array/ibiz-array.d.ts +1 -1
- package/es/editor/array/ibiz-array/ibiz-array.mjs +1 -1
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +1 -1
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +1 -1
- package/es/editor/carousel/ibiz-carousel/ibiz-carousel.d.ts +1 -1
- package/es/editor/carousel/ibiz-carousel/ibiz-carousel.mjs +1 -1
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +1 -1
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +1 -1
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +1 -1
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.mjs +1 -1
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +1 -1
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.mjs +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.d.ts +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.mjs +1 -1
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +1 -1
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.mjs +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +4 -9
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.mjs +22 -23
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +5 -2
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +1 -1
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.mjs +1 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +1 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.mjs +4 -2
- package/es/editor/date-range-select/date-range-select-picker/components/quarter-range-select/quarter-range-select.mjs +1 -1
- package/es/editor/date-range-select/date-range-select-picker/components/week-range-select/week-range-select.mjs +2 -2
- package/es/editor/date-range-select/date-range-select-picker/components/year-range-select/year-range-select.mjs +1 -1
- package/es/editor/date-range-select/date-range-select-picker/date-range-select.mjs +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +28 -1
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +1 -1
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.mjs +1 -1
- package/es/editor/html/wang-editor/component/emoji/emoji.mjs +1 -1
- package/es/editor/html/wang-editor/module/emoji-module.mjs +3 -3
- package/es/editor/html/wang-editor/wang-editor.d.ts +1 -1
- package/es/editor/html/wang-editor/wang-editor.mjs +1 -1
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +1 -1
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.mjs +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +1 -1
- package/es/editor/not-supported-editor/not-supported-editor.mjs +1 -1
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +1 -1
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.mjs +1 -1
- package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.d.ts +1 -1
- package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.mjs +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +1 -1
- package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +1 -1
- package/es/editor/rate/ibiz-rate/ibiz-rate.mjs +1 -1
- package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +1 -1
- package/es/editor/raw/ibiz-raw/ibiz-raw.mjs +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.css +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +2 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.mjs +65 -5
- package/es/editor/span/span/span.d.ts +1 -0
- package/es/editor/span/span/span.mjs +8 -4
- package/es/editor/span/span-link/span-link.d.ts +1 -1
- package/es/editor/span/span-link/span-link.mjs +1 -1
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +1 -1
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.mjs +1 -1
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +1 -1
- package/es/editor/switch/ibiz-switch/ibiz-switch.mjs +1 -1
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +1 -1
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.mjs +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +1 -1
- package/es/editor/text-box/input/input.css +1 -1
- package/es/editor/text-box/input/input.d.ts +1 -1
- package/es/editor/text-box/input/input.mjs +20 -3
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +1 -1
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +1 -1
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +1 -1
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.mjs +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.mjs +1 -1
- package/es/editor/upload/use/use-iview-upload.mjs +25 -7
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.d.ts +1 -1
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.mjs +1 -1
- package/es/ibiz-vue3.mjs +2 -1
- package/es/index.mjs +1 -0
- package/es/locale/en/index.d.ts +25 -0
- package/es/locale/en/index.mjs +28 -4
- package/es/locale/zh-CN/index.d.ts +25 -0
- package/es/locale/zh-CN/index.mjs +28 -4
- package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/h.mjs +1 -3
- package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/htmldomapi.mjs +1 -1
- package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/index.mjs +0 -2
- package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/init.mjs +25 -9
- package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/jsx.mjs +0 -3
- package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/modules/attributes.mjs +7 -3
- package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/modules/dataset.mjs +2 -2
- package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/modules/eventlisteners.mjs +1 -1
- package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/modules/style.mjs +6 -6
- package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/thunk.mjs +1 -1
- package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/tovnode.mjs +2 -8
- package/es/panel-component/auth-captcha/auth-captcha.mjs +1 -1
- package/es/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/es/panel-component/auth-userinfo/auth-userinfo.mjs +3 -3
- package/es/panel-component/coop-pos/coop-pos.mjs +1 -1
- package/es/panel-component/data-import/data-import-shell.mjs +1 -1
- package/es/panel-component/index-actions/index-actions.css +1 -1
- package/es/panel-component/index-actions/index-actions.mjs +1 -1
- package/es/panel-component/index.mjs +7 -1
- package/es/panel-component/nav-breadcrumb/index.d.ts +26 -0
- package/es/panel-component/nav-breadcrumb/index.mjs +17 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.d.ts +120 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.mjs +307 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.css +1 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.d.ts +31 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.mjs +72 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.provider.d.ts +13 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.provider.mjs +21 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.service.d.ts +63 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.service.mjs +143 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.state.d.ts +26 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.state.mjs +22 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.util.d.ts +39 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.util.mjs +73 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.d.ts +14 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +47 -4
- package/es/panel-component/nav-pos-index/nav-pos-index.mjs +1 -1
- package/es/panel-component/nav-tabs/nav-tabs.controller.mjs +1 -1
- package/es/panel-component/nav-tabs/nav-tabs.mjs +1 -1
- package/es/panel-component/panel-app-header/panel-app-header.mjs +1 -1
- package/es/panel-component/panel-app-login-view/panel-app-login-view.mjs +1 -1
- package/es/panel-component/panel-app-title/index.mjs +4 -0
- package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +8 -0
- package/es/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/es/panel-component/panel-app-title/panel-app-title.mjs +113 -109
- package/es/panel-component/panel-button/panel-button.mjs +1 -1
- package/es/panel-component/panel-button-list/index.d.ts +24 -0
- package/es/panel-component/panel-button-list/index.mjs +19 -0
- package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +70 -0
- package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +145 -0
- package/es/panel-component/panel-button-list/panel-button-list.css +1 -0
- package/es/panel-component/panel-button-list/panel-button-list.d.ts +27 -0
- package/es/panel-component/panel-button-list/panel-button-list.mjs +48 -0
- package/es/panel-component/panel-button-list/panel-button-list.provider.d.ts +14 -0
- package/es/panel-component/panel-button-list/panel-button-list.provider.mjs +21 -0
- package/es/panel-component/panel-button-list/panel-button-list.state.d.ts +17 -0
- package/es/panel-component/panel-button-list/panel-button-list.state.mjs +23 -0
- package/es/panel-component/panel-exp-header/panel-exp-header.mjs +1 -1
- package/es/panel-component/panel-index-view-search/panel-index-view-search.css +1 -1
- package/es/panel-component/panel-index-view-search/panel-index-view-search.mjs +1 -1
- package/es/panel-component/panel-remember-me/panel-remember-me.mjs +1 -1
- package/es/panel-component/panel-static-carousel/panel-static-carousel.mjs +1 -1
- package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +1 -1
- package/es/panel-component/panel-view-content/panel-view-content.mjs +7 -1
- package/es/panel-component/panel-view-header/panel-view-header.css +1 -1
- package/es/panel-component/panel-view-header/panel-view-header.mjs +1 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.mjs +1 -1
- package/es/panel-component/short-cut/short-cut.mjs +1 -1
- package/es/panel-component/split-container/split-container.mjs +1 -1
- package/es/panel-component/user-action/user-action.mjs +1 -1
- package/es/panel-component/user-message/async-action/async-action/async-action.mjs +1 -1
- package/es/panel-component/user-message/async-action/async-action-preview/async-action-preview.mjs +1 -1
- package/es/panel-component/user-message/async-action/async-action-result/async-action-result.mjs +1 -1
- package/es/panel-component/user-message/async-action/async-action-tab/async-action-tab.mjs +1 -1
- package/es/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.mjs +1 -1
- package/es/panel-component/user-message/internal-message/common/internal-message-default/internal-message-default.mjs +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-html/internal-message-html.mjs +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.mjs +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.mjs +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-text/internal-message-text.mjs +1 -1
- package/es/panel-component/user-message/user-message.mjs +1 -1
- package/es/panel-component/view-message/view-message.mjs +1 -1
- package/es/panel-component/view-msg-pos/view-msg-pos.mjs +1 -1
- package/es/util/app-drawer/app-drawer-component.mjs +2 -2
- package/es/util/app-float-window/app-float-window-component.mjs +2 -2
- package/es/util/app-modal/app-modal-component.css +1 -1
- package/es/util/app-modal/app-modal-component.mjs +2 -2
- package/es/util/app-popover/app-popover-component.mjs +2 -2
- package/es/util/fullscreen/fullscreen-util.mjs +2 -1
- package/es/util/notification-util/notification-util.d.ts +10 -1
- package/es/util/notification-util/notification-util.mjs +36 -0
- package/es/util/notification-util/upload-manager/file-type.d.ts +8 -0
- package/es/util/notification-util/upload-manager/file-type.mjs +207 -0
- package/es/util/notification-util/upload-manager/upload-manager.css +1 -0
- package/es/util/notification-util/upload-manager/upload-manager.d.ts +64 -0
- package/es/util/notification-util/upload-manager/upload-manager.mjs +159 -0
- package/es/util/pagination/use-pagination.mjs +24 -2
- package/es/util/render-util/render-util.mjs +1 -1
- package/es/view/403-view/403-view.mjs +1 -1
- package/es/view/404-view/404-view.mjs +1 -1
- package/es/view/error-view/error-view.mjs +1 -1
- package/es/view/login-view/login-view.mjs +1 -1
- package/es/view/share-view/share-view.mjs +1 -1
- package/es/view/sub-app-ref-view/index.mjs +1 -1
- package/es/view/sub-app-ref-view/sub-app-ref-view.mjs +1 -1
- package/es/view/wf-step-trace-view/index.mjs +1 -1
- package/es/view/wf-step-trace-view/wf-step-trace-view.mjs +1 -1
- package/es/view-engine/data-view.engine.d.ts +1 -0
- package/es/view-engine/data-view.engine.mjs +32 -1
- package/es/view-engine/de-index-view-engine.d.ts +7 -1
- package/es/view-engine/de-index-view-engine.mjs +15 -0
- package/es/view-engine/edit-view.engine.d.ts +7 -1
- package/es/view-engine/edit-view.engine.mjs +111 -26
- package/es/view-engine/gantt-view.engine.mjs +41 -0
- package/es/view-engine/grid-view.engine.mjs +41 -0
- package/es/view-engine/list-view.engine.d.ts +1 -0
- package/es/view-engine/list-view.engine.mjs +32 -1
- package/es/view-engine/opt-view.engine.d.ts +19 -0
- package/es/view-engine/opt-view.engine.mjs +48 -16
- package/es/view-engine/tab-exp-view.engine.d.ts +9 -0
- package/es/view-engine/tab-exp-view.engine.mjs +20 -1
- package/es/view-engine/tree-exp-view.engine.mjs +35 -0
- package/es/view-engine/tree-grid-view.engine.d.ts +3 -1
- package/es/view-engine/tree-grid-view.engine.mjs +49 -0
- package/es/view-engine/tree-view.engine.mjs +35 -0
- package/es/web-app/App.mjs +2 -2
- package/es/web-app/components/modal-router-shell/modal-router-shell.mjs +1 -1
- package/es/web-app/components/router-shell/router-shell.mjs +2 -2
- package/es/web-app/guard/auth-guard/auth-guard.mjs +4 -5
- package/es/web-app/guard/auth-guard/dyna-auth-guard.mjs +4 -5
- package/es/web-app/router/index.mjs +1 -1
- package/lib/common/action-toolbar/action-toolbar.cjs +6 -3
- package/lib/common/anchor-container/anchor-bar-list/anchor-bar-list.cjs +71 -0
- package/lib/common/anchor-container/anchor-bar-list/anchor-bar-list.css +1 -0
- package/lib/common/anchor-container/anchor-container.cjs +157 -0
- package/lib/common/anchor-container/anchor-container.css +1 -0
- package/lib/common/button-list/button-list.cjs +167 -0
- package/lib/common/button-list/button-list.css +1 -0
- package/lib/common/control-navigation/control-navigation.cjs +118 -0
- package/lib/common/control-navigation/control-navigation.css +1 -0
- package/lib/common/control-navigation/provider/calendar-navigation.provider.cjs +57 -0
- package/lib/common/control-navigation/provider/index.cjs +19 -0
- package/lib/common/control-navigation/provider/navigation-base.provider.cjs +144 -0
- package/lib/common/control-navigation/provider/tree-navigation.provider.cjs +83 -0
- package/lib/common/custom-theme/custom-theme-model.cjs +5 -13
- package/lib/common/custom-theme/custom-theme.controller.cjs +2 -3
- package/lib/common/gantt-setting/gantt-setting.cjs +219 -0
- package/lib/common/gantt-setting/gantt-setting.css +1 -0
- package/lib/common/grid-setting/grid-setting.cjs +20 -4
- package/lib/common/grid-setting/grid-setting.css +1 -1
- package/lib/common/index.cjs +10 -0
- package/lib/common/nav-split/nav-split.cjs +211 -0
- package/lib/common/nav-split/nav-split.css +1 -0
- package/lib/common/pagination/pagination.cjs +7 -1
- package/lib/common/pql-editor/pql-editor.module.cjs +2 -2
- package/lib/common/pql-editor/utils/index.cjs +2 -2
- package/lib/common/split/split.cjs +2 -2
- package/lib/common/split/split.css +1 -1
- package/lib/control/app-menu/app-menu.cjs +127 -58
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +12 -1
- package/lib/control/calendar/calendar.cjs +42 -10
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/chart/chart.cjs +1 -1
- package/lib/control/context-menu/context-menu.cjs +119 -74
- package/lib/control/dashboard/dashboard.cjs +54 -9
- package/lib/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.cjs +2 -1
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +15 -3
- package/lib/control/data-view/data-view.cjs +135 -17
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drbar/drbar.cjs +23 -23
- package/lib/control/drbar/drbar.controller.cjs +1 -1
- package/lib/control/drbar/drbar.css +1 -1
- package/lib/control/drtab/drtab-control.util.cjs +1 -1
- package/lib/control/drtab/drtab.cjs +92 -31
- package/lib/control/drtab/drtab.controller.cjs +32 -5
- package/lib/control/drtab/drtab.css +1 -1
- package/lib/control/form/edit-form/edit-form.cjs +38 -2
- package/lib/control/form/form/index.cjs +2 -0
- package/lib/control/form/form-detail/form-button-list/form-button-list.cjs +53 -0
- package/lib/control/form/form-detail/form-button-list/form-button-list.css +1 -0
- package/lib/control/form/form-detail/form-button-list/form-button-list.provider.cjs +23 -0
- package/lib/control/form/form-detail/form-button-list/index.cjs +23 -0
- package/lib/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +10 -7
- package/lib/control/form/form-detail/form-item/form-item.cjs +1 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.cjs +5 -0
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +73 -3
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/lib/control/form/form-detail/form-page/form-page.cjs +11 -2
- package/lib/control/form/form-detail/form-page/form-page.css +1 -1
- package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.cjs +1 -1
- package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
- package/lib/control/form/form-detail/index.cjs +2 -0
- package/lib/control/form/index.cjs +6 -4
- package/lib/control/gantt/gantt.cjs +93 -23
- package/lib/control/gantt/gantt.css +1 -1
- package/lib/control/grid/grid/grid-control.util.cjs +44 -1
- package/lib/control/grid/grid/grid.cjs +80 -70
- package/lib/control/grid/grid/grid.css +1 -1
- package/lib/control/index.cjs +80 -78
- package/lib/control/list/list.cjs +159 -34
- package/lib/control/list/list.css +1 -1
- package/lib/control/map/map.cjs +4 -0
- package/lib/control/search-bar/quick-search-select/quick-search-select.cjs +2 -0
- package/lib/control/search-bar/search-groups/search-groups.cjs +2 -2
- package/lib/control/toolbar/toolbar.cjs +5 -2
- package/lib/control/tree/el-tree-util.cjs +70 -0
- package/lib/control/tree/tree.cjs +129 -17
- package/lib/control/tree/tree.css +1 -1
- package/lib/control/tree-grid/tree-grid.cjs +3 -26
- package/lib/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.cjs +21 -22
- package/lib/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +3 -0
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.cjs +3 -1
- package/lib/editor/date-range-select/date-range-select-picker/components/week-range-select/week-range-select.cjs +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +27 -0
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/lib/editor/html/wang-editor/module/emoji-module.cjs +3 -3
- package/lib/editor/slider/ibiz-slider/ibiz-slider.cjs +64 -4
- package/lib/editor/slider/ibiz-slider/ibiz-slider.css +1 -1
- package/lib/editor/span/span/span.cjs +6 -2
- package/lib/editor/text-box/input/input.cjs +19 -2
- package/lib/editor/text-box/input/input.css +1 -1
- package/lib/editor/upload/use/use-iview-upload.cjs +25 -7
- package/lib/ibiz-vue3.cjs +1 -0
- package/lib/index.cjs +110 -108
- package/lib/locale/en/index.cjs +28 -4
- package/lib/locale/zh-CN/index.cjs +28 -4
- package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/h.cjs +1 -3
- package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/htmldomapi.cjs +1 -1
- package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/index.cjs +2 -5
- package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/init.cjs +24 -8
- package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/jsx.cjs +0 -3
- package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/modules/attributes.cjs +7 -3
- package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/modules/dataset.cjs +2 -2
- package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/modules/eventlisteners.cjs +1 -1
- package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/modules/style.cjs +6 -6
- package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/thunk.cjs +1 -1
- package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/tovnode.cjs +2 -8
- package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +2 -2
- package/lib/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/lib/panel-component/index-actions/index-actions.css +1 -1
- package/lib/panel-component/index.cjs +36 -30
- package/lib/panel-component/nav-breadcrumb/index.cjs +24 -0
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.cjs +74 -0
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.controller.cjs +309 -0
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.css +1 -0
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.provider.cjs +23 -0
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.service.cjs +145 -0
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.state.cjs +24 -0
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.util.cjs +79 -0
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +46 -3
- package/lib/panel-component/panel-app-title/index.cjs +4 -0
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +112 -108
- package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +8 -0
- package/lib/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/lib/panel-component/panel-button-list/index.cjs +25 -0
- package/lib/panel-component/panel-button-list/panel-button-list.cjs +53 -0
- package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +147 -0
- package/lib/panel-component/panel-button-list/panel-button-list.css +1 -0
- package/lib/panel-component/panel-button-list/panel-button-list.provider.cjs +23 -0
- package/lib/panel-component/panel-button-list/panel-button-list.state.cjs +25 -0
- package/lib/panel-component/panel-index-view-search/panel-index-view-search.css +1 -1
- package/lib/panel-component/panel-view-content/panel-view-content.cjs +6 -0
- package/lib/panel-component/panel-view-header/panel-view-header.css +1 -1
- package/lib/util/app-modal/app-modal-component.css +1 -1
- package/lib/util/fullscreen/fullscreen-util.cjs +2 -1
- package/lib/util/notification-util/notification-util.cjs +36 -0
- package/lib/util/notification-util/upload-manager/file-type.cjs +209 -0
- package/lib/util/notification-util/upload-manager/upload-manager.cjs +161 -0
- package/lib/util/notification-util/upload-manager/upload-manager.css +1 -0
- package/lib/util/pagination/use-pagination.cjs +24 -2
- package/lib/view-engine/data-view.engine.cjs +31 -0
- package/lib/view-engine/de-index-view-engine.cjs +15 -0
- package/lib/view-engine/edit-view.engine.cjs +110 -25
- package/lib/view-engine/gantt-view.engine.cjs +41 -0
- package/lib/view-engine/grid-view.engine.cjs +41 -0
- package/lib/view-engine/list-view.engine.cjs +31 -0
- package/lib/view-engine/opt-view.engine.cjs +48 -16
- package/lib/view-engine/tab-exp-view.engine.cjs +19 -0
- package/lib/view-engine/tree-exp-view.engine.cjs +35 -0
- package/lib/view-engine/tree-grid-view.engine.cjs +49 -0
- package/lib/view-engine/tree-view.engine.cjs +35 -0
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +4 -5
- package/lib/web-app/guard/auth-guard/dyna-auth-guard.cjs +4 -5
- package/package.json +24 -24
- package/dist/chart-IZpj2cdX.js +0 -1
- package/dist/index-2J-iBLG-.js +0 -1
- package/dist/index-Yhyr5LJS.js +0 -1
- package/dist/index-p59-xI3J.js +0 -4
- package/dist/xlsx-util-rAKH_Qlc.js +0 -2
- /package/dist/{ibiz-markdown-editor-anJxfRF1.js → ibiz-markdown-editor-B4c6yGAW.js} +0 -0
- /package/dist/{map-chart-A4-TpWet.js → map-chart-BsStf5eZ.js} +0 -0
- /package/dist/{wang-editor-AcjI1Mdj.js → wang-editor-BUIAd4uJ.js} +0 -0
- /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.35-alpha.1_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.38-alpha.16_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
- /package/es/node_modules/.pnpm/{dayjs@1.11.10 → dayjs@1.11.13}/node_modules/dayjs/locale/zh-cn.mjs +0 -0
- /package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/helpers/attachto.mjs +0 -0
- /package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/hooks.mjs +0 -0
- /package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/is.mjs +0 -0
- /package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/modules/class.mjs +0 -0
- /package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/modules/props.mjs +0 -0
- /package/es/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/vnode.mjs +0 -0
- /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.35-alpha.1_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.38-alpha.16_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
- /package/lib/node_modules/.pnpm/{dayjs@1.11.10 → dayjs@1.11.13}/node_modules/dayjs/locale/zh-cn.cjs +0 -0
- /package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/helpers/attachto.cjs +0 -0
- /package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/hooks.cjs +0 -0
- /package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/is.cjs +0 -0
- /package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/modules/class.cjs +0 -0
- /package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/modules/props.cjs +0 -0
- /package/lib/node_modules/.pnpm/{snabbdom@3.5.1 → snabbdom@3.6.2}/node_modules/snabbdom/build/vnode.cjs +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createApp } from 'vue';
|
|
2
2
|
import ElementPlus from 'element-plus';
|
|
3
|
+
import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.38-alpha.16_axios@1.7.7_lodash-es@4.17.21_qs@6.13.0_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
|
|
3
4
|
import { IBizFullscreenToolbar } from '../../common/fullscreen-toolbar/fullscreen-toolbar.mjs';
|
|
4
5
|
|
|
5
6
|
"use strict";
|
|
@@ -47,7 +48,7 @@ class FullscreenUtil {
|
|
|
47
48
|
if (this.FullscreenClass) {
|
|
48
49
|
div.classList.toggle(this.FullscreenClass);
|
|
49
50
|
}
|
|
50
|
-
div.style.background = "
|
|
51
|
+
div.style.background = "var(--".concat(defaultNamespace, "-bg-1)");
|
|
51
52
|
const content = document.createElement("div");
|
|
52
53
|
content.id = "fullscreen";
|
|
53
54
|
content.style.position = "absolute";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { INotificationUtil, NotificationParams } from '@ibiz-template/runtime';
|
|
2
|
+
import { INotificationUtil, IUploadManagerParams, NotificationParams } from '@ibiz-template/runtime';
|
|
3
3
|
/**
|
|
4
4
|
* 在界面右上角显示可关闭的全局通知
|
|
5
5
|
*
|
|
@@ -24,6 +24,14 @@ export declare class NotificationUtil implements INotificationUtil {
|
|
|
24
24
|
* @Date: 2023-11-17 15:32:23
|
|
25
25
|
*/
|
|
26
26
|
intervalId: NodeJS.Timeout | null;
|
|
27
|
+
/**
|
|
28
|
+
* 上传管理器
|
|
29
|
+
*
|
|
30
|
+
* @private
|
|
31
|
+
* @type {(NotificationHandle | undefined)}
|
|
32
|
+
* @memberof NotificationUtil
|
|
33
|
+
*/
|
|
34
|
+
private uploadManagerHandle;
|
|
27
35
|
/**
|
|
28
36
|
* 执行下一步
|
|
29
37
|
* @return {*}
|
|
@@ -52,4 +60,5 @@ export declare class NotificationUtil implements INotificationUtil {
|
|
|
52
60
|
success(params: NotificationParams): void;
|
|
53
61
|
warning(params: NotificationParams): void;
|
|
54
62
|
error(params: NotificationParams): void;
|
|
63
|
+
uploadManager(params: IUploadManagerParams): Promise<IData[]>;
|
|
55
64
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { h } from 'vue';
|
|
2
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
1
3
|
import { ElNotification } from 'element-plus';
|
|
2
4
|
import { parseHtml } from '../wang-editor-util/wang-editor-util.mjs';
|
|
5
|
+
import { IBizUploadManager } from './upload-manager/upload-manager.mjs';
|
|
3
6
|
|
|
4
7
|
"use strict";
|
|
5
8
|
var __defProp = Object.defineProperty;
|
|
@@ -24,6 +27,14 @@ class NotificationUtil {
|
|
|
24
27
|
* @Date: 2023-11-17 15:32:23
|
|
25
28
|
*/
|
|
26
29
|
__publicField(this, "intervalId", null);
|
|
30
|
+
/**
|
|
31
|
+
* 上传管理器
|
|
32
|
+
*
|
|
33
|
+
* @private
|
|
34
|
+
* @type {(NotificationHandle | undefined)}
|
|
35
|
+
* @memberof NotificationUtil
|
|
36
|
+
*/
|
|
37
|
+
__publicField(this, "uploadManagerHandle");
|
|
27
38
|
}
|
|
28
39
|
/**
|
|
29
40
|
* 执行下一步
|
|
@@ -95,6 +106,31 @@ class NotificationUtil {
|
|
|
95
106
|
this.callStack.push(() => this.handleNotice(params, "error"));
|
|
96
107
|
this.setTimer();
|
|
97
108
|
}
|
|
109
|
+
uploadManager(params) {
|
|
110
|
+
var _a;
|
|
111
|
+
(_a = this.uploadManagerHandle) == null ? void 0 : _a.close();
|
|
112
|
+
this.uploadManagerHandle = void 0;
|
|
113
|
+
return new Promise((resolve) => {
|
|
114
|
+
const ns = useNamespace("upload-manager-notic");
|
|
115
|
+
this.uploadManagerHandle = ElNotification({
|
|
116
|
+
duration: 0,
|
|
117
|
+
showClose: false,
|
|
118
|
+
customClass: ns.b(),
|
|
119
|
+
position: "bottom-right",
|
|
120
|
+
message: h(IBizUploadManager, {
|
|
121
|
+
params,
|
|
122
|
+
onUploadComplete: (data) => {
|
|
123
|
+
resolve(data);
|
|
124
|
+
},
|
|
125
|
+
onClose: () => {
|
|
126
|
+
var _a2;
|
|
127
|
+
(_a2 = this.uploadManagerHandle) == null ? void 0 : _a2.close();
|
|
128
|
+
this.uploadManagerHandle = void 0;
|
|
129
|
+
}
|
|
130
|
+
})
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
}
|
|
98
134
|
}
|
|
99
135
|
|
|
100
136
|
export { NotificationUtil };
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { createVNode } from 'vue';
|
|
2
|
+
|
|
3
|
+
"use strict";
|
|
4
|
+
const pdf = createVNode("svg", {
|
|
5
|
+
"class": "icon",
|
|
6
|
+
"viewBox": "0 0 1024 1024",
|
|
7
|
+
"version": "1.1",
|
|
8
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
9
|
+
"p-id": "9641"
|
|
10
|
+
}, [createVNode("path", {
|
|
11
|
+
"d": "M852.537678 966.322357c7.542461 0 14.818718-3.016984 20.142807-8.341075s8.341075-12.600347 8.341075-20.142807V262.033969c0-6.743847-2.395841-13.22149-6.743848-18.368111L725.469393 67.793414c-5.412825-6.388908-13.39896-10.115771-21.740034-10.115771h-532.231543c-7.542461 0-14.818718 3.016984-20.142807 8.341075s-8.341075 12.600347-8.341075 20.142807v851.67695c0 7.542461 3.016984 14.818718 8.341075 20.142807s12.600347 8.341075 20.142807 8.341075h681.039862z",
|
|
12
|
+
"fill": "#CA223D",
|
|
13
|
+
"p-id": "9642"
|
|
14
|
+
}, null), createVNode("path", {
|
|
15
|
+
"d": "M881.02156 265.228423v-3.194454c0-6.743847-2.395841-13.22149-6.743848-18.368111L725.469393 67.793414c-5.412825-6.388908-13.39896-10.115771-21.740034-10.115771h-1.331023v207.55078h178.623224z",
|
|
16
|
+
"opacity": ".15",
|
|
17
|
+
"p-id": "9643"
|
|
18
|
+
}, null), createVNode("path", {
|
|
19
|
+
"d": "M359.083258 657.52513c-10.293241 0-16.14974-4.614211-19.432929-9.494627-10.027036-15.262392 2.040901-40.640555 14.197574-52.442288 6.300173-6.033969 25.023224-21.562565 65.131369-37.889775 8.07487-19.07799 15.97227-40.55182 23.071057-62.469324 11.801733-36.647487 18.989255-74.271057 22.982323-100.447834-8.696014-16.061005-34.162912-65.042634-34.162912-83.676949 0-10.470711 2.307106-18.989255 7.010052-25.200693 4.880416-6.566378 11.979203-10.204506 20.054073-10.204507 9.228423 0 18.456846 4.702946 25.466898 12.955286 7.098787 8.25234 11.00312 19.255459 11.003119 30.702253 0 17.569497-2.307106 44.012478-6.300173 71.254073 17.392028 31.323397 36.292548 59.984749 52.087348 78.885269 15.617331 18.634315 34.340381 35.493934 55.902946 50.223917 37.97851-3.283189 82.878336-4.348007 99.205546 2.218371 20.852686 8.429809 24.40208 22.272444 20.763952 32.476949-6.388908 17.924437-34.87279 27.951473-58.742461 20.586482-9.760832-3.016984-35.493934-12.067938-66.994801-32.47695-26.176776 2.484575-53.240901 6.388908-78.619064 11.358059-27.507799 5.32409-53.063432 12.422877-76.045754 21.030156-19.521664 44.278683-37.357366 70.10052-53.152166 76.755633-9.583362 4.259272-17.303293 5.856499-23.425997 5.856499z m-0.976083-22.272444c1.419757 0.17747 6.033969 0.266205 15.883536-3.904332 5.945234-2.484575 16.948354-15.351127 30.968457-42.947661-21.917504 11.00312-32.388215 20.054073-35.582669 23.159792-7.808666 7.453726-12.067938 19.699133-11.269324 23.692201z m271.794801-95.478683c15.97227 8.07487 28.128943 12.245407 33.985442 14.108839 14.996187 4.614211 29.105026-2.57331 31.145927-6.388908-0.621144-0.798614-2.57331-2.662045-7.986135-4.880416-5.235355-2.129636-24.490815-4.170537-57.145234-2.839515z m-181.728943 6.477643l-0.443674 1.064818c18.72305-6.033969 38.777123-11.091854 59.807279-15.173656 17.480763-3.371924 35.848873-6.300173 54.128249-8.607279l-0.709878-0.532409 2.129636-0.17747c-14.818718-11.979203-28.128943-25.023224-39.841941-39.043328-14.996187-17.835702-29.193761-39.487002-40.37435-57.943847l-0.17747 1.153553-0.532409-0.887349c-4.348007 22.893588-10.559445 49.691508-18.989255 76.045754-4.880416 15.173657-10.204506 30.258579-15.706066 44.456153l0.709879-0.35494z m9.849567-248.368804c-0.887348 0-1.508492 0.17747-2.307106 1.242288-0.798614 1.064818-2.57331 4.259272-2.57331 11.890468 0 4.525477 5.50156 20.586482 17.037088 44.722357 1.419757-14.108839 2.129636-26.709185 2.129636-36.381283 0-13.842634-9.494627-21.47383-14.286308-21.47383z",
|
|
20
|
+
"fill": "#FFFFFF",
|
|
21
|
+
"p-id": "9644"
|
|
22
|
+
}, null), createVNode("path", {
|
|
23
|
+
"d": "M404.808319 775.25851h17.125823l1.419757 8.252339h0.532409c6.655113-5.679029 14.996187-10.293241 23.514732-10.293241 19.699133 0 31.323397 16.14974 31.323397 40.640555 0 27.330329-16.415945 43.213865-33.896707 43.213865-7.010052 0-13.665165-3.105719-19.787869-8.696014l0.532409 13.132755v24.224611h-20.763951v-110.47487z m52.442288 38.954592c0-15.262392-4.880416-23.692201-15.794801-23.692201-5.412825 0-10.293241 2.75078-15.794801 8.25234v35.05026c5.14662 4.436742 10.293241 5.945234 14.552513 5.945234 9.583362 0.088735 17.037088-8.163605 17.037089-25.555633zM492.034662 815.366655c0-26.088042 16.238475-42.060312 33.453033-42.060312 8.962218 0 14.552513 3.460659 20.231542 8.696014l-0.887348-12.511612v-28.128943h20.941421v113.758059h-16.948353l-1.685962-8.252339h-0.443674c-5.856499 5.679029-13.842634 10.293241-22.094974 10.293241-19.787868-0.088735-32.565685-15.706066-32.565685-41.794108z m52.885962 16.238475v-35.05026c-4.880416-4.436742-9.849567-5.945234-14.818718-5.945234-8.962218 0-16.504679 8.518544-16.504679 24.490815 0 16.504679 5.945234 24.757019 16.504679 24.757019 5.50156 0 10.204506-2.307106 14.818718-8.25234zM630.993414 757.600277c-2.75078-0.976083-5.856499-1.685962-8.429809-1.685962-6.300173 0-9.672097 3.726863-9.672097 12.511612v6.832583h14.996187v16.504679h-14.996187v63.356672h-20.941421v-63.267937h-10.648181v-15.528596l10.648181-0.887349v-6.566378c0-16.682149 7.719931-29.459965 27.774003-29.459965 6.122704 0 11.535529 1.419757 15.084922 2.839515l-3.815598 15.351126z",
|
|
24
|
+
"fill": "#FFFFFF",
|
|
25
|
+
"p-id": "9645"
|
|
26
|
+
}, null)]);
|
|
27
|
+
const txt = createVNode("svg", {
|
|
28
|
+
"class": "icon",
|
|
29
|
+
"viewBox": "0 0 1024 1024",
|
|
30
|
+
"version": "1.1",
|
|
31
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
32
|
+
"p-id": "11602"
|
|
33
|
+
}, [createVNode("path", {
|
|
34
|
+
"d": "M146.879977 0A52.335992 52.335992 0 0 0 95.999985 51.167992v921.647856a49.039992 49.039992 0 0 0 15.279998 35.791994A49.839992 49.839992 0 0 0 146.863977 1023.99984h746.287883a48.559992 48.559992 0 0 0 35.567995-15.359998A50.719992 50.719992 0 0 0 943.999853 972.815848V290.015955L655.679898 0H146.847977h0.016z",
|
|
35
|
+
"fill": "#3662EC",
|
|
36
|
+
"p-id": "11603"
|
|
37
|
+
}, null), createVNode("path", {
|
|
38
|
+
"d": "M943.999853 287.999955H706.84789A52.127992 52.127992 0 0 1 655.999898 237.199963V0l287.951955 287.999955H943.999853z",
|
|
39
|
+
"fill": "#FFFFFF",
|
|
40
|
+
"fill-opacity": ".7",
|
|
41
|
+
"p-id": "11604"
|
|
42
|
+
}, null), createVNode("path", {
|
|
43
|
+
"d": "M336.831947 751.999883h45.823993v-152.575977h51.711992V561.279912h-148.991977v38.143994h51.455992V751.999883z m102.399984 0h48.639993l16.383997-37.119995c4.351999-9.983998 8.703999-19.967997 13.055998-31.743995h1.024c5.119999 11.775998 9.471999 21.759997 14.079998 31.743995L550.079914 751.999883h50.943992l-52.479992-95.999985 49.151993-94.719986h-48.383993l-13.823998 34.303995c-3.839999 8.959999-7.935999 18.943997-12.287998 31.231995h-1.024c-5.375999-12.287998-9.471999-22.271997-13.823997-31.231995l-15.359998-34.303995h-50.943992l49.407992 92.671986L439.231931 751.999883z m217.855966 0h45.823993v-152.575977h51.711992V561.279912h-148.991977v38.143994h51.455992V751.999883z",
|
|
44
|
+
"fill": "#FFFFFF",
|
|
45
|
+
"p-id": "11605"
|
|
46
|
+
}, null)]);
|
|
47
|
+
const xls = createVNode("svg", {
|
|
48
|
+
"class": "icon",
|
|
49
|
+
"viewBox": "0 0 1024 1024",
|
|
50
|
+
"version": "1.1",
|
|
51
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
52
|
+
"p-id": "17449"
|
|
53
|
+
}, [createVNode("path", {
|
|
54
|
+
"d": "M947.2 216.064l-192.256-204.8A38.144 38.144 0 0 0 728.064 0h-614.4a40.192 40.192 0 0 0-38.912 41.472v941.056A40.192 40.192 0 0 0 113.664 1024H921.6a40.192 40.192 0 0 0 38.912-41.472V245.504A42.752 42.752 0 0 0 947.2 216.064zM652.8 768l-137.216-203.008L378.624 768h-95.488l184.576-264.704L295.424 256h95.488l124.672 185.088L640 256h95.488L563.2 503.04 748.032 768z",
|
|
55
|
+
"fill": "#25C273",
|
|
56
|
+
"p-id": "17450"
|
|
57
|
+
}, null)]);
|
|
58
|
+
const zip = createVNode("svg", {
|
|
59
|
+
"class": "icon",
|
|
60
|
+
"viewBox": "0 0 1024 1024",
|
|
61
|
+
"version": "1.1",
|
|
62
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
63
|
+
"p-id": "19451"
|
|
64
|
+
}, [createVNode("path", {
|
|
65
|
+
"d": "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM296 136v64h64v-64h-64z m64 64v64h64v-64h-64z m-64 64v64h64v-64h-64z m64 64v64h64v-64h-64z m-64 64v64h64v-64h-64z m64 64v64h64v-64h-64z m-64 64v64h64v-64h-64z m0 64v160h128V584H296z m48 48h32v64h-32v-64z",
|
|
66
|
+
"fill": "#515151",
|
|
67
|
+
"p-id": "19452"
|
|
68
|
+
}, null)]);
|
|
69
|
+
const doc = createVNode("svg", {
|
|
70
|
+
"class": "icon",
|
|
71
|
+
"viewBox": "0 0 1024 1024",
|
|
72
|
+
"version": "1.1",
|
|
73
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
74
|
+
"p-id": "26339"
|
|
75
|
+
}, [createVNode("path", {
|
|
76
|
+
"d": "M794.574 930.64h-562.47c-24.262 0-44-19.738-44-44V142.99c0-24.262 19.738-44 44-44h344.009v64H252.104v703.65h522.471V345h64v541.64c-0.001 24.261-19.739 44-44.001 44z",
|
|
77
|
+
"fill": "",
|
|
78
|
+
"p-id": "26340"
|
|
79
|
+
}, null), createVNode("path", {
|
|
80
|
+
"d": "M619 301.79h220v64H619z",
|
|
81
|
+
"fill": "",
|
|
82
|
+
"p-id": "26341"
|
|
83
|
+
}, null), createVNode("path", {
|
|
84
|
+
"d": "M618 98.228h64v266.078h-64z",
|
|
85
|
+
"fill": "",
|
|
86
|
+
"p-id": "26342"
|
|
87
|
+
}, null), createVNode("path", {
|
|
88
|
+
"d": "M632.307 136.573l51.007-38.649 155.153 204.764-51.008 38.649zM916.137 779.999H110.146c-6.6 0-12-5.4-12-12V493.127c0-6.6 5.4-12 12-12h805.991c6.6 0 12 5.4 12 12v274.872c0 6.6-5.4 12-12 12z",
|
|
89
|
+
"fill": "",
|
|
90
|
+
"p-id": "26343"
|
|
91
|
+
}, null), createVNode("path", {
|
|
92
|
+
"d": "M266.631 551.092h47.454c52.831 0 85.559 24.867 85.559 77.998 0 52.918-32.728 79.271-83.688 79.271h-49.324V551.092z m45.35 131.978c32.26 0 52.363-15.727 52.363-53.98 0-38.467-20.104-52.92-52.363-52.92h-10.753v106.9h10.753zM436.581 629.09c0-51.219 31.559-80.973 77.376-80.973s77.376 29.967 77.376 80.973-31.559 82.246-77.376 82.246-77.376-31.24-77.376-82.246z m119.453 0c0-33.793-16.363-53.982-42.077-53.982s-42.077 20.189-42.077 53.982c0 33.578 16.363 55.043 42.077 55.043s42.077-21.465 42.077-55.043zM628.271 630.365c0-51.857 36.701-82.248 80.415-82.248 21.975 0 39.507 9.564 50.728 20.189l-18.234 19.979c-8.649-7.652-18.701-13.178-31.792-13.178-26.182 0-45.817 20.402-45.817 54.193 0 34.217 17.766 54.832 45.116 54.832 14.728 0 26.416-6.375 35.767-15.514l18.233 19.553c-14.26 15.088-32.728 23.164-55.169 23.164-43.714 0.001-79.247-28.478-79.247-80.97z",
|
|
93
|
+
"fill": "#FFFFFF",
|
|
94
|
+
"p-id": "26344"
|
|
95
|
+
}, null)]);
|
|
96
|
+
const image = createVNode("svg", {
|
|
97
|
+
"class": "icon",
|
|
98
|
+
"viewBox": "0 0 1024 1024",
|
|
99
|
+
"version": "1.1",
|
|
100
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
101
|
+
"p-id": "27355"
|
|
102
|
+
}, [createVNode("path", {
|
|
103
|
+
"d": "M170.65984 42.65984l682.65984 0q53.00224 0 90.50112 37.49888t37.49888 90.50112l0 682.65984q0 53.00224-37.49888 90.50112t-90.50112 37.49888l-682.65984 0q-53.00224 0-90.50112-37.49888t-37.49888-90.50112l0-682.65984q0-53.00224 37.49888-90.50112t90.50112-37.49888zM896 742.99392l-213.34016-213.34016-366.32576 366.32576 537.00608 0q17.67424 0 30.16704-12.4928t12.4928-30.16704l0-110.32576zM853.34016 128l-682.65984 0q-17.67424 0-30.16704 12.4928t-12.4928 30.16704l0 682.65984q0 17.67424 12.4928 30.16704t30.16704 12.4928l25.00608 0 486.99392-486.99392 213.34016 213.34016 0-451.66592q0-17.67424-12.4928-30.16704t-30.16704-12.4928zM341.34016 213.34016q53.00224 0 90.50112 37.49888t37.49888 90.50112-37.49888 90.50112-90.50112 37.49888-90.50112-37.49888-37.49888-90.50112 37.49888-90.50112 90.50112-37.49888zM341.34016 298.65984q-17.67424 0-30.16704 12.4928t-12.4928 30.16704 12.4928 30.16704 30.16704 12.4928 30.16704-12.4928 12.4928-30.16704-12.4928-30.16704-30.16704-12.4928z",
|
|
104
|
+
"fill": "#444444",
|
|
105
|
+
"p-id": "27356"
|
|
106
|
+
}, null)]);
|
|
107
|
+
const audio = createVNode("svg", {
|
|
108
|
+
"class": "icon",
|
|
109
|
+
"viewBox": "0 0 1024 1024",
|
|
110
|
+
"version": "1.1",
|
|
111
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
112
|
+
"p-id": "28365"
|
|
113
|
+
}, [createVNode("path", {
|
|
114
|
+
"d": "M622.95253333 327.29173333l0.02133334-224.4384H176.6688V921.14133333h670.72853333V327.29173333H622.95253333z m5.1552 195.20533334c-9.32266667-19.97866667-28.90666667-28.61866667-46.624-30.93866667-17.4432-2.34346667-33.1712 1.17973333-44.7872 3.58826667v153.4144c1.2448 22.29866667-12.25066667 46.25066667-36.144 60.04693333-31.80586667 18.3552-70.0032 11.75253333-85.3056-14.752-15.3024-26.5088-1.92213333-62.88 29.8848-81.2416 24.368-14.0736 52.48853333-13.49013333 71.18826667-0.53013333V489.48266667l-0.12053333-0.0544 0.12053333-0.2784V442.35733333c0-5.64266667 4.57066667-10.30613333 10.208-10.31146666a10.18026667 10.18026667 0 0 1 9.16266667 5.86026666c16.0512 13.97013333 31.22346667 19.11466667 48.1472 25.62453334 13.45173333 5.19466667 25.44 13.16693333 32.98666666 24.08533333 7.73333333 10.6656 11.0208 24.26346667 11.328 34.9568l-0.0448-0.07573333z",
|
|
115
|
+
"fill": "#2C2C2C",
|
|
116
|
+
"p-id": "28366"
|
|
117
|
+
}, null), createVNode("path", {
|
|
118
|
+
"d": "M833.74933333 293.94026667L656.82346667 119.28533333l0.28373333 174.65386667z",
|
|
119
|
+
"fill": "#2C2C2C",
|
|
120
|
+
"p-id": "28367"
|
|
121
|
+
}, null)]);
|
|
122
|
+
const video = createVNode("svg", {
|
|
123
|
+
"class": "icon",
|
|
124
|
+
"viewBox": "0 0 1024 1024",
|
|
125
|
+
"version": "1.1",
|
|
126
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
127
|
+
"p-id": "30241"
|
|
128
|
+
}, [createVNode("path", {
|
|
129
|
+
"d": "M838.85646561 290.47900106L659.12225186 113.05176719l0.28823703 177.42615027z",
|
|
130
|
+
"fill": "#2C2C2C",
|
|
131
|
+
"p-id": "30242"
|
|
132
|
+
}, null), createVNode("path", {
|
|
133
|
+
"d": "M624.71368465 324.35985608l0.02167197-228.00091428H171.34608254V927.63564021h681.37501799V324.35985608H624.71368465z m13.17655027 250.27210159c-0.75418413 2.25821799-3.01240211 3.76658624-5.27062011 5.27603809L437.46255238 699.71166138c-7.53425608 5.2771217-18.08633227 3.01240211-23.35695238-5.27062011a20.12783068 20.12783068 0 0 1-2.25821799-9.04370794V446.53985186c0-9.79897566 7.53425608-17.33323175 17.33214815-17.33323175 3.01240211 0 6.02480424 0.75526773 9.04262433 2.26471957l194.4082963 119.8090836c7.51800211 4.51535238 10.53040424 15.06201059 5.25978413 23.35153439z",
|
|
134
|
+
"fill": "#2C2C2C",
|
|
135
|
+
"p-id": "30243"
|
|
136
|
+
}, null)]);
|
|
137
|
+
const exe = createVNode("svg", {
|
|
138
|
+
"class": "icon",
|
|
139
|
+
"viewBox": "0 0 1024 1024",
|
|
140
|
+
"version": "1.1",
|
|
141
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
142
|
+
"p-id": "31313"
|
|
143
|
+
}, [createVNode("path", {
|
|
144
|
+
"d": "M112 16h736v992H112z",
|
|
145
|
+
"fill": "#EDF2F9",
|
|
146
|
+
"p-id": "31314"
|
|
147
|
+
}, null), createVNode("path", {
|
|
148
|
+
"d": "M480 576a128 128 0 1 0 0 256 128 128 0 0 0 0-256z m0 192a64 64 0 1 1 0-128 64 64 0 0 1 0 128z",
|
|
149
|
+
"fill": "#C2CDDC",
|
|
150
|
+
"p-id": "31315"
|
|
151
|
+
}, null), createVNode("path", {
|
|
152
|
+
"d": "M480 784c44.192 0 80-35.808 80-80s-35.808-80-80-80-80 35.808-80 80 35.808 80 80 80z m0-128a48 48 0 1 1 0 96 48 48 0 0 1 0-96z m-176 80h36.016a144.208 144.208 0 0 0 18.576 44.16l-25.664 25.664a15.984 15.984 0 0 0 0 22.624l22.624 22.624a15.984 15.984 0 0 0 22.624 0l25.536-25.536a141.92 141.92 0 0 0 44.304 18.768V880a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-35.68a141.92 141.92 0 0 0 44.304-18.768l25.536 25.536a15.984 15.984 0 0 0 22.624 0l22.624-22.624a15.984 15.984 0 0 0 0-22.624l-25.664-25.664a143.824 143.824 0 0 0 18.576-44.16H656a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-36.016a144.208 144.208 0 0 0-18.576-44.16l25.664-25.664a15.984 15.984 0 0 0 0-22.624l-22.624-22.624a15.984 15.984 0 0 0-22.624 0l-25.536 25.536a142.288 142.288 0 0 0-44.304-18.768V528a16 16 0 0 0-16-16h-32a16 16 0 0 0-16 16v35.68a142.288 142.288 0 0 0-44.304 18.768l-25.536-25.536a15.984 15.984 0 0 0-22.624 0l-22.624 22.624a15.984 15.984 0 0 0 0 22.624l25.664 25.664a143.824 143.824 0 0 0-18.576 44.16H304a16 16 0 0 0-16 16v32A16 16 0 0 0 304 736z m176-144a112 112 0 1 1 0 224 112 112 0 0 1 0-224zM896 128h-32V32a32 32 0 0 0-32-32H128a32 32 0 0 0-32 32v960a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V416h32a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32z m-64 0H448a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h384v576H128V32h704v96z",
|
|
153
|
+
"fill": "#8592A5",
|
|
154
|
+
"p-id": "31316"
|
|
155
|
+
}, null), createVNode("path", {
|
|
156
|
+
"d": "M603.952 214.112v20.8h-47.824v27.2h36.624v20h-36.624v27.76h47.824v20.8h-75.04v-116.56h75.04zM648.032 270.752l-36.08-56.64h27.04a8.48 8.48 0 0 1 3.872 0.688 5.824 5.824 0 0 1 2.192 2.288l23.216 39.28a13.376 13.376 0 0 1 0.912-2c0.336-0.64 0.736-1.312 1.152-2l20.336-34.896c1.328-2.24 3.136-3.36 5.44-3.36h25.92l-36.56 55.44 37.376 61.12h-27.056a6.688 6.688 0 0 1-4.272-1.28 10.016 10.016 0 0 1-2.608-3.024l-23.344-40.816a15.84 15.84 0 0 1-1.456 3.04l-21.76 37.76a11.008 11.008 0 0 1-2.56 3.008 6.016 6.016 0 0 1-4 1.312h-25.264l37.504-59.92zM808.288 214.112v20.8h-47.84v27.2h36.624v20h-36.624v27.76h47.84v20.8h-75.04v-116.56h75.04z",
|
|
157
|
+
"fill": "#FFFFFF",
|
|
158
|
+
"p-id": "31317"
|
|
159
|
+
}, null)]);
|
|
160
|
+
const other = createVNode("svg", {
|
|
161
|
+
"class": "icon",
|
|
162
|
+
"viewBox": "0 0 1024 1024",
|
|
163
|
+
"version": "1.1",
|
|
164
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
165
|
+
"p-id": "21634"
|
|
166
|
+
}, [createVNode("path", {
|
|
167
|
+
"d": "M640 42.688H170.688A42.688 42.688 0 0 0 128 85.376v853.312c0 23.616 19.072 42.688 42.688 42.688h682.688a42.688 42.688 0 0 0 42.752-42.688v-640c-100.16-99.968-156.16-156.096-256.128-256zM499.2 853.312a42.688 42.688 0 1 1 0-85.376 42.688 42.688 0 0 1 0 85.376z m88-239.36c-26.496 13.568-42.688 23.936-48.384 31.168-9.6 11.072-18.304 27.2-18.24 37.568q0.128 10.88 0 42.688h-51.2v-42.688c0-36.16 8.704-48.512 17.408-62.912 7.68-11.072 19.008-21.504 33.984-31.104 33.856-19.264 54.208-31.744 61.504-37.568 22.208-18.816 33.28-41.92 33.28-69.376 0-38.656-17.344-65.6-52.032-81.024a125.632 125.632 0 0 0-51.328-10.112c-49.216 0-83.392 22.72-102.72 68.032l-9.344 28.16c-1.024 3.904-1.728 8.192-2.24 12.992l-56.384-12.288c11.072-69.376 45.12-115.008 102.016-136.704a194.56 194.56 0 0 1 72.96-12.992c54.016 0 96.896 16.384 128.704 49.216l15.232 18.112c13.952 21.696 21.504 46.976 22.4 75.904-0.128 54.848-32 99.2-95.616 132.992zM640 298.752V128l170.688 170.688H640z",
|
|
168
|
+
"fill": "#515151",
|
|
169
|
+
"p-id": "21635"
|
|
170
|
+
}, null)]);
|
|
171
|
+
function getFileSvgByType(type) {
|
|
172
|
+
switch (type) {
|
|
173
|
+
case "text/csv":
|
|
174
|
+
case "text/plain":
|
|
175
|
+
return txt;
|
|
176
|
+
case "application/pdf":
|
|
177
|
+
return pdf;
|
|
178
|
+
case "application/msword":
|
|
179
|
+
case "application/vnd.openxmlformats-officedocument.wordprocessingml.document":
|
|
180
|
+
return doc;
|
|
181
|
+
case "image/jpeg":
|
|
182
|
+
case "image/png":
|
|
183
|
+
case "image/gif":
|
|
184
|
+
return image;
|
|
185
|
+
case "audio/mpeg":
|
|
186
|
+
case "audio/wav":
|
|
187
|
+
case "audio/ogg":
|
|
188
|
+
return audio;
|
|
189
|
+
case "video/mp4":
|
|
190
|
+
case "video/x-msvideo":
|
|
191
|
+
case "video/x-matroska":
|
|
192
|
+
return video;
|
|
193
|
+
case "application/zip":
|
|
194
|
+
case "application/x-rar-compressed":
|
|
195
|
+
return zip;
|
|
196
|
+
case "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":
|
|
197
|
+
case "application/vnd.ms-excel":
|
|
198
|
+
return xls;
|
|
199
|
+
case "application/x-msdownload":
|
|
200
|
+
case "application/x-apple-diskimage":
|
|
201
|
+
return exe;
|
|
202
|
+
default:
|
|
203
|
+
return other;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export { getFileSvgByType };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-upload-manager-notic{--el-notification-width:400px;--el-notification-padding:0;--el-notification-group-margin-left:0;--el-notification-group-margin-right:0}.ibiz-upload-manager-notic .el-notification__group{width:100%}.ibiz-upload-manager .icon{font-size:20px}.ibiz-upload-manager .icon.success{color:var(--ibiz-color-success-hover)}.ibiz-upload-manager .icon.danger{color:var(--ibiz-color-danger)}.ibiz-upload-manager__header{display:flex;line-height:30px;align-items:center;padding:var(--ibiz-spacing-base);padding-left:var(--ibiz-spacing-loose)}.ibiz-upload-manager__header--loading{display:flex;align-items:center}.ibiz-upload-manager__header--loading .el-progress-circle{--el-fill-color-light:var(--ibiz-color-disabled-bg);width:30px!important;height:30px!important}.ibiz-upload-manager__header--loading .icon{font-size:30px}.ibiz-upload-manager__header--title{display:flex;flex-grow:1;align-items:center;margin-left:12px}.ibiz-upload-manager__header--title .caption{font-size:var(--ibiz-font-size-header-6)}.ibiz-upload-manager__header--title .progress{color:var(--ibiz-color-disabled-text);margin-left:var(--ibiz-spacing-tight)}.ibiz-upload-manager__header--actions{display:flex;align-items:center;color:var(--ibiz-color-disabled-text)}.ibiz-upload-manager__header--actions .icon{font-size:24px;cursor:pointer;margin-left:var(--ibiz-spacing-extra-tight)}.ibiz-upload-manager__header--actions .icon.down-up{font-size:20px}.ibiz-upload-manager__header--actions .icon:hover{color:var(--ibiz-color-primary-hover)}.ibiz-upload-manager__content{max-height:240px;overflow-y:auto;padding:0 var(--ibiz-spacing-base) var(--ibiz-spacing-base) var(--ibiz-spacing-loose)}.ibiz-upload-manager__file-item{height:48px;display:flex;position:relative;align-items:center;padding:var(--ibiz-spacing-base-tight) 0}.ibiz-upload-manager__file-item--icon{display:flex;align-items:center}.ibiz-upload-manager__file-item--icon svg{width:20px;height:20px}.ibiz-upload-manager__file-item--name{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 var(--ibiz-spacing-base-tight)}.ibiz-upload-manager__file-item--status{display:flex;align-items:center}.ibiz-upload-manager__file-item--status .el-progress{padding-left:var(--ibiz-spacing-base)}.ibiz-upload-manager__file-item--status .el-progress-circle{--el-fill-color-light:var(--ibiz-color-disabled-bg);width:20px!important;height:20px!important}.ibiz-upload-manager__file-item--status .el-progress__text{font-size:var(--ibiz-font-size-small)!important;left:-45px!important}.ibiz-upload-manager__file-item--status-text{left:32px;bottom:-6px;position:absolute;color:var(--ibiz-color-danger);font-size:var(--ibiz-font-size-small)}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Ref, PropType } from 'vue';
|
|
2
|
+
import { IUploadManagerParams } from '@ibiz-template/runtime';
|
|
3
|
+
import './upload-manager.scss';
|
|
4
|
+
interface IFile {
|
|
5
|
+
/**
|
|
6
|
+
* 文件
|
|
7
|
+
*
|
|
8
|
+
* @type {File}
|
|
9
|
+
*/
|
|
10
|
+
file: File;
|
|
11
|
+
/**
|
|
12
|
+
* 状态
|
|
13
|
+
*
|
|
14
|
+
* (未上传 | 已上传 | 上传失败)
|
|
15
|
+
* @type {(10 | 20 | 30)}
|
|
16
|
+
*/
|
|
17
|
+
status: 10 | 20 | 30;
|
|
18
|
+
/**
|
|
19
|
+
* 进度
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
*/
|
|
23
|
+
progress: number;
|
|
24
|
+
/**
|
|
25
|
+
* 状态文本
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
*/
|
|
29
|
+
statusText?: string;
|
|
30
|
+
/**
|
|
31
|
+
* 响应数据
|
|
32
|
+
*
|
|
33
|
+
* @type {IData}
|
|
34
|
+
* @memberof IFile
|
|
35
|
+
*/
|
|
36
|
+
data?: IData;
|
|
37
|
+
}
|
|
38
|
+
export declare const IBizUploadManager: import("vue").DefineComponent<{
|
|
39
|
+
params: {
|
|
40
|
+
type: PropType<IUploadManagerParams>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
45
|
+
fileList: Ref<IFile[]>;
|
|
46
|
+
uploading: import("vue").ComputedRef<boolean>;
|
|
47
|
+
progress: import("vue").ComputedRef<number>;
|
|
48
|
+
uploadStatus: import("vue").ComputedRef<boolean>;
|
|
49
|
+
showFileList: Ref<boolean>;
|
|
50
|
+
onClose: () => void;
|
|
51
|
+
onChangeShowFileList: () => void;
|
|
52
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
|
+
close: () => true;
|
|
54
|
+
uploadComplete: (_data: IData[]) => true;
|
|
55
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
|
+
params: {
|
|
57
|
+
type: PropType<IUploadManagerParams>;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
}>> & {
|
|
61
|
+
onClose?: (() => any) | undefined;
|
|
62
|
+
onUploadComplete?: ((_data: IData[]) => any) | undefined;
|
|
63
|
+
}, {}, {}>;
|
|
64
|
+
export {};
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, watch, onMounted, createVNode, resolveComponent } from 'vue';
|
|
2
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { getCookie } from 'qx-util';
|
|
4
|
+
import { CoreConst } from '@ibiz-template/core';
|
|
5
|
+
import { getFileSvgByType } from './file-type.mjs';
|
|
6
|
+
import './upload-manager.css';
|
|
7
|
+
|
|
8
|
+
"use strict";
|
|
9
|
+
const IBizUploadManager = /* @__PURE__ */ defineComponent({
|
|
10
|
+
name: "IBizUploadManager",
|
|
11
|
+
props: {
|
|
12
|
+
params: {
|
|
13
|
+
type: Object,
|
|
14
|
+
required: true
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
emits: {
|
|
18
|
+
close: () => true,
|
|
19
|
+
uploadComplete: (_data) => true
|
|
20
|
+
},
|
|
21
|
+
setup(props, {
|
|
22
|
+
emit
|
|
23
|
+
}) {
|
|
24
|
+
const ns = useNamespace("upload-manager");
|
|
25
|
+
const fileList = ref([]);
|
|
26
|
+
const showFileList = ref(true);
|
|
27
|
+
for (let i = 0; i < props.params.files.length; i++) {
|
|
28
|
+
fileList.value.push({
|
|
29
|
+
file: props.params.files[i],
|
|
30
|
+
status: 10,
|
|
31
|
+
progress: 0
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
const uploading = computed(() => {
|
|
35
|
+
return fileList.value.findIndex((item) => item.status === 10) !== -1;
|
|
36
|
+
});
|
|
37
|
+
const uploadStatus = computed(() => {
|
|
38
|
+
return fileList.value.findIndex((item) => item.status === 30) === -1;
|
|
39
|
+
});
|
|
40
|
+
const progress = computed(() => {
|
|
41
|
+
const uploaded = fileList.value.filter((item) => item.status !== 10);
|
|
42
|
+
return Math.floor(uploaded.length / fileList.value.length * 100);
|
|
43
|
+
});
|
|
44
|
+
watch(() => uploading.value, () => {
|
|
45
|
+
if (!uploading.value) {
|
|
46
|
+
const data = fileList.value.filter((item) => item.status === 20 && !!item.data).map((item) => item.data);
|
|
47
|
+
emit("uploadComplete", data);
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
const onClose = () => {
|
|
51
|
+
emit("close");
|
|
52
|
+
};
|
|
53
|
+
const onChangeShowFileList = () => {
|
|
54
|
+
showFileList.value = !showFileList.value;
|
|
55
|
+
};
|
|
56
|
+
const uploadFile = async (item) => {
|
|
57
|
+
const data = new FormData();
|
|
58
|
+
data.append("file", item.file);
|
|
59
|
+
const headers = {
|
|
60
|
+
Authorization: "Bearer ".concat(getCookie(CoreConst.TOKEN)),
|
|
61
|
+
...props.params.headers
|
|
62
|
+
};
|
|
63
|
+
const res = await ibiz.net.axios({
|
|
64
|
+
url: props.params.uploadUrl,
|
|
65
|
+
method: "post",
|
|
66
|
+
headers,
|
|
67
|
+
data,
|
|
68
|
+
onUploadProgress: (ProgressEvent) => {
|
|
69
|
+
const percentCompleted = Math.round(ProgressEvent.loaded * 100 / (ProgressEvent.total || 1));
|
|
70
|
+
item.progress = percentCompleted;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
return res;
|
|
74
|
+
};
|
|
75
|
+
onMounted(async () => {
|
|
76
|
+
for (let i = 0; i < fileList.value.length; i++) {
|
|
77
|
+
const item = fileList.value[i];
|
|
78
|
+
uploadFile(item).then((res) => {
|
|
79
|
+
item.data = res.data;
|
|
80
|
+
item.status = res.status === 200 ? 20 : 30;
|
|
81
|
+
item.statusText = res.statusText;
|
|
82
|
+
}).catch((error) => {
|
|
83
|
+
item.status = 30;
|
|
84
|
+
item.statusText = error.message ? error.message : ibiz.i18n.t("util.uploadManager.failed");
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
return {
|
|
89
|
+
ns,
|
|
90
|
+
fileList,
|
|
91
|
+
uploading,
|
|
92
|
+
progress,
|
|
93
|
+
uploadStatus,
|
|
94
|
+
showFileList,
|
|
95
|
+
onClose,
|
|
96
|
+
onChangeShowFileList
|
|
97
|
+
};
|
|
98
|
+
},
|
|
99
|
+
render() {
|
|
100
|
+
return createVNode("div", {
|
|
101
|
+
"class": this.ns.b()
|
|
102
|
+
}, [createVNode("div", {
|
|
103
|
+
"class": this.ns.e("header")
|
|
104
|
+
}, [createVNode("div", {
|
|
105
|
+
"class": this.ns.em("header", "loading")
|
|
106
|
+
}, [this.uploading ? createVNode(resolveComponent("el-progress"), {
|
|
107
|
+
"type": "circle",
|
|
108
|
+
"percentage": this.progress,
|
|
109
|
+
"showText": false
|
|
110
|
+
}, null) : this.uploadStatus ? createVNode("ion-icon", {
|
|
111
|
+
"name": "checkmark-circle",
|
|
112
|
+
"class": "icon success"
|
|
113
|
+
}, null) : createVNode("ion-icon", {
|
|
114
|
+
"name": "close-circle",
|
|
115
|
+
"class": "icon danger"
|
|
116
|
+
}, null)]), createVNode("div", {
|
|
117
|
+
"class": this.ns.em("header", "title")
|
|
118
|
+
}, [createVNode("span", {
|
|
119
|
+
"class": "caption"
|
|
120
|
+
}, [ibiz.i18n.t("util.uploadManager.title")]), createVNode("span", {
|
|
121
|
+
"class": "progress"
|
|
122
|
+
}, ["".concat(this.fileList.filter((item) => item.status === 20).length, " / ").concat(this.fileList.length)])]), createVNode("div", {
|
|
123
|
+
"class": this.ns.em("header", "actions")
|
|
124
|
+
}, [createVNode("ion-icon", {
|
|
125
|
+
"name": this.showFileList ? "chevron-down-outline" : "chevron-up-outline",
|
|
126
|
+
"class": "icon down-up",
|
|
127
|
+
"onClick": this.onChangeShowFileList
|
|
128
|
+
}, null), createVNode("ion-icon", {
|
|
129
|
+
"name": "close-outline",
|
|
130
|
+
"class": "icon close",
|
|
131
|
+
"onClick": this.onClose
|
|
132
|
+
}, null)])]), this.showFileList && createVNode("div", {
|
|
133
|
+
"class": this.ns.e("content")
|
|
134
|
+
}, [this.fileList.map((item) => {
|
|
135
|
+
return createVNode("div", {
|
|
136
|
+
"class": this.ns.e("file-item")
|
|
137
|
+
}, [createVNode("div", {
|
|
138
|
+
"class": this.ns.em("file-item", "icon")
|
|
139
|
+
}, [getFileSvgByType(item.file.type)]), createVNode("div", {
|
|
140
|
+
"class": this.ns.em("file-item", "name")
|
|
141
|
+
}, [item.file.name]), createVNode("div", {
|
|
142
|
+
"class": this.ns.em("file-item", "status")
|
|
143
|
+
}, [item.status === 10 && createVNode(resolveComponent("el-progress"), {
|
|
144
|
+
"type": "circle",
|
|
145
|
+
"percentage": item.progress
|
|
146
|
+
}, null), item.status === 20 && createVNode("ion-icon", {
|
|
147
|
+
"name": "checkmark-circle",
|
|
148
|
+
"class": "icon success"
|
|
149
|
+
}, null), item.status === 30 && createVNode("ion-icon", {
|
|
150
|
+
"name": "close-circle",
|
|
151
|
+
"class": "icon danger"
|
|
152
|
+
}, null)]), item.status === 30 && createVNode("div", {
|
|
153
|
+
"class": this.ns.em("file-item", "status-text")
|
|
154
|
+
}, [item.statusText])]);
|
|
155
|
+
})])]);
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
export { IBizUploadManager };
|
|
@@ -1,10 +1,27 @@
|
|
|
1
|
+
import { GridRowState, ControlVO } from '@ibiz-template/runtime';
|
|
2
|
+
import { chunk } from 'lodash-es';
|
|
3
|
+
|
|
1
4
|
"use strict";
|
|
2
5
|
function usePagination(c) {
|
|
6
|
+
const initGridItems = () => {
|
|
7
|
+
const controller = c;
|
|
8
|
+
if (Array.isArray(controller.state.simpleData)) {
|
|
9
|
+
controller.state.items = chunk(controller.state.simpleData, controller.state.size)[controller.state.curPage - 1] || [];
|
|
10
|
+
controller.state.rows = controller.state.items.map((item) => {
|
|
11
|
+
const row = new GridRowState(new ControlVO(item), controller);
|
|
12
|
+
return row;
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
};
|
|
3
16
|
function onPageChange(page) {
|
|
4
17
|
if (!page || page === c.state.curPage) {
|
|
5
18
|
return;
|
|
6
19
|
}
|
|
7
20
|
c.state.curPage = page;
|
|
21
|
+
if (c.runMode === "DESIGN") {
|
|
22
|
+
initGridItems();
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
8
25
|
c.load();
|
|
9
26
|
}
|
|
10
27
|
function onPageSizeChange(size) {
|
|
@@ -12,9 +29,14 @@ function usePagination(c) {
|
|
|
12
29
|
return;
|
|
13
30
|
}
|
|
14
31
|
c.state.size = size;
|
|
15
|
-
if (c.
|
|
16
|
-
|
|
32
|
+
if (c.runMode === "DESIGN") {
|
|
33
|
+
initGridItems();
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
if (c.state.curPage !== 1) {
|
|
37
|
+
c.state.curPage = 1;
|
|
17
38
|
}
|
|
39
|
+
c.load();
|
|
18
40
|
}
|
|
19
41
|
function onPageRefresh() {
|
|
20
42
|
c.load();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { onMounted, computed, createVNode
|
|
1
|
+
import { defineComponent, onMounted, computed, createVNode } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { useRouter, useRoute } from 'vue-router';
|
|
4
4
|
import './403-view.css';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { onMounted, computed, createVNode
|
|
1
|
+
import { defineComponent, onMounted, computed, createVNode } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { useRouter, useRoute } from 'vue-router';
|
|
4
4
|
import './404-view.css';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed, onMounted,
|
|
1
|
+
import { defineComponent, computed, onMounted, h, resolveComponent, createVNode } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { useRoute } from 'vue-router';
|
|
4
4
|
import './error-view.css';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode, reactive, ref, resolveComponent, onMounted, h, createVNode
|
|
1
|
+
import { isVNode, defineComponent, reactive, ref, resolveComponent, onMounted, h, createVNode } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { useRoute } from 'vue-router';
|
|
4
4
|
import { IBizContext } from '@ibiz-template/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode, ref, onMounted, createVNode, resolveComponent
|
|
1
|
+
import { isVNode, defineComponent, ref, onMounted, createVNode, resolveComponent } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { useRouter, useRoute } from 'vue-router';
|
|
4
4
|
import './share-view.css';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { registerViewProvider, ViewType } from '@ibiz-template/runtime';
|
|
2
2
|
import { withInstall } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { SubAppRefViewProvider } from './sub-app-ref-view.provider.mjs';
|
|
4
4
|
import { SubAppRefView } from './sub-app-ref-view.mjs';
|