@ibiz-template/vue3-components 0.7.39 → 0.7.40
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-GgAfcR6o.js +1 -0
- package/dist/ibiz-markdown-editor--ivCvp3a.js +1 -0
- package/dist/index-8ZkS4CI0.js +1 -0
- package/dist/index-WNFQFxQd.js +1 -0
- package/dist/index-azhHVxuV.js +4 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/map-chart-HL7emT5a.js +1 -0
- package/dist/map-chart-user-bTKfT7VH.js +1 -0
- package/dist/wang-editor-f_OOMd4x.js +1 -0
- package/dist/{xlsx-util-qRiaKYpk.js → xlsx-util-3T0fByLw.js} +1 -1
- package/es/_virtual/index.mjs +3 -0
- package/es/common/anchor-container/anchor-bar-list/anchor-bar-list.d.ts +9 -9
- package/es/common/anchor-container/anchor-container.d.ts +12 -12
- package/es/common/carousel/carousel.d.ts +1 -1
- package/es/common/carousel-card/carousel-card.d.ts +3 -3
- package/es/common/control-navigation/control-navigation.d.ts +3 -0
- package/es/common/control-navigation/control-navigation.mjs +21 -2
- package/es/common/control-navigation/provider/calendar-navigation.provider.d.ts +1 -1
- package/es/common/control-navigation/provider/calendar-navigation.provider.mjs +2 -2
- package/es/common/control-navigation/provider/index.mjs +5 -4
- package/es/common/control-navigation/provider/map-navigation.provider.d.ts +17 -0
- package/es/common/control-navigation/provider/map-navigation.provider.mjs +50 -0
- package/es/common/control-navigation/provider/navigation-base.provider.d.ts +2 -2
- package/es/common/control-navigation/provider/navigation-base.provider.mjs +9 -4
- package/es/common/cropping/cropping.d.ts +3 -3
- package/es/common/custom-filter-condition/custom-filter-condition.d.ts +12 -12
- package/es/common/data-import/data-import.d.ts +4 -4
- package/es/common/data-import2/data-import2.d.ts +5 -5
- package/es/common/data-import2-select/data-import2-select.d.ts +2 -2
- package/es/common/data-import2-table/data-import2-table.d.ts +2 -2
- package/es/common/emoji-select/components/categories/categories.d.ts +3 -3
- package/es/common/emoji-select/components/emoji-item/emoji-item.d.ts +3 -3
- package/es/common/emoji-select/components/emoji-list/emoji-list.d.ts +7 -7
- package/es/common/emoji-select/emoji-select.d.ts +3 -3
- package/es/common/extend-action-timeline/extend-action-timeline.d.ts +3 -3
- package/es/common/map-chart/map-chart.mjs +2 -6
- package/es/common/map-chart/map-chart.util.mjs +1 -1
- package/es/common/map-chart-user/map-chart-user.util.mjs +3 -2
- package/es/common/map-chart-user/map-user-manager.d.ts +1 -1
- package/es/common/map-chart-user/map-user-manager.mjs +2 -2
- package/es/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.d.ts +4 -4
- package/es/common/pql-editor/pql-editor.d.ts +4 -4
- package/es/common/quick-edit/quick-edit.d.ts +4 -4
- package/es/common/rawitem/rawitem.d.ts +2 -2
- package/es/common/view-message/view-message.d.ts +6 -6
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.d.ts +58 -12
- package/es/control/app-menu/app-menu.mjs +33 -6
- package/es/control/app-menu/custom-menu-design/custom-menu-design.d.ts +3 -3
- package/es/control/app-menu/index.d.ts +21 -13
- package/es/control/app-menu-icon-view/app-menu-icon-view.d.ts +43 -5
- package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +19 -0
- package/es/control/app-menu-icon-view/index.d.ts +5 -5
- package/es/control/calendar/calendar.d.ts +54 -7
- package/es/control/calendar/calendar.mjs +26 -1
- package/es/control/calendar/components/calendar-daily/calendar-daily.d.ts +6 -6
- package/es/control/calendar/components/calendar-daily/calendar-daily.mjs +6 -2
- package/es/control/calendar/components/calendar-daily/index.d.ts +6 -6
- package/es/control/calendar/components/calendar-daily/use-calendar-daily.d.ts +1 -1
- package/es/control/calendar/components/calendar-daily/use-calendar-daily.mjs +1 -1
- package/es/control/calendar/components/calendar-user/calendar-user.d.ts +6 -6
- package/es/control/calendar/components/calendar-user/index.d.ts +6 -6
- package/es/control/calendar/components/calendar-week/calendar-week.d.ts +6 -6
- package/es/control/calendar/components/calendar-week/calendar-week.mjs +6 -1
- package/es/control/calendar/components/calendar-week/index.d.ts +6 -6
- package/es/control/calendar/components/calendar-week/use-calendar-week.d.ts +4 -4
- package/es/control/calendar/components/custom-calendar/custom-calendar.d.ts +6 -6
- package/es/control/calendar/components/custom-calendar/index.d.ts +6 -6
- package/es/control/calendar/components/interface/calendar-daily.d.ts +3 -3
- package/es/control/calendar/components/interface/calendar-user.d.ts +3 -3
- package/es/control/calendar/components/interface/calendar-week.d.ts +3 -3
- package/es/control/calendar/components/interface/custom-calendar.d.ts +3 -3
- package/es/control/calendar/components/util/util.d.ts +2 -2
- package/es/control/calendar/index.d.ts +9 -8
- package/es/control/caption-bar/caption-bar.d.ts +31 -5
- package/es/control/caption-bar/caption-bar.mjs +13 -0
- package/es/control/caption-bar/index.d.ts +5 -5
- package/es/control/chart/chart.d.ts +65 -13
- package/es/control/chart/chart.mjs +36 -1
- package/es/control/context-menu/context-menu.d.ts +59 -5
- package/es/control/context-menu/context-menu.mjs +27 -6
- package/es/control/context-menu/index.d.ts +5 -5
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +2 -21366
- package/es/control/dashboard/dashboard-design/dashboard-design.d.ts +2 -2
- package/es/control/dashboard/dashboard.d.ts +32 -6
- package/es/control/dashboard/dashboard.mjs +13 -0
- package/es/control/dashboard/index.d.ts +7 -7
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-design/filter-portlet-design.d.ts +6 -6
- package/es/control/dashboard/portlet/filter-portlet/filter-portlet-item/filter-portlet-item.d.ts +6 -6
- package/es/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.d.ts +5 -5
- package/es/control/data-view/data-view.d.ts +80 -34
- package/es/control/data-view/data-view.mjs +114 -52
- package/es/control/data-view/index.d.ts +23 -23
- package/es/control/drbar/drbar.d.ts +51 -5
- package/es/control/drbar/drbar.mjs +23 -0
- package/es/control/drbar/index.d.ts +5 -5
- package/es/control/drtab/drtab-control.util.mjs +1 -1
- package/es/control/drtab/drtab.d.ts +35 -8
- package/es/control/drtab/drtab.mjs +26 -0
- package/es/control/drtab/flow-drtab.css +1 -0
- package/es/control/drtab/flow-drtab.d.ts +77 -0
- package/es/control/drtab/flow-drtab.mjs +144 -0
- package/es/control/drtab/index.d.ts +9 -8
- package/es/control/exp-bar/calendar-exp-bar/calendar-exp-bar.d.ts +45 -5
- package/es/control/exp-bar/calendar-exp-bar/calendar-exp-bar.mjs +20 -0
- package/es/control/exp-bar/calendar-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/chart-exp-bar/chart-exp-bar.d.ts +45 -5
- package/es/control/exp-bar/chart-exp-bar/chart-exp-bar.mjs +20 -0
- package/es/control/exp-bar/chart-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/data-view-exp-bar/data-view-view-exp-bar.d.ts +45 -5
- package/es/control/exp-bar/data-view-exp-bar/data-view-view-exp-bar.mjs +20 -0
- package/es/control/exp-bar/data-view-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/grid-exp-bar/grid-exp-bar.d.ts +45 -5
- package/es/control/exp-bar/grid-exp-bar/grid-exp-bar.mjs +20 -0
- package/es/control/exp-bar/grid-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/list-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/list-exp-bar/list-exp-bar.d.ts +45 -5
- package/es/control/exp-bar/list-exp-bar/list-exp-bar.mjs +20 -0
- package/es/control/exp-bar/tree-exp-bar/index.d.ts +5 -5
- package/es/control/exp-bar/tree-exp-bar/tree-exp-bar.d.ts +51 -5
- package/es/control/exp-bar/tree-exp-bar/tree-exp-bar.mjs +23 -0
- package/es/control/form/edit-form/edit-form.mjs +23 -0
- package/es/control/form/form/form.d.ts +8 -2
- package/es/control/form/form/form.mjs +10 -4
- package/es/control/form/form/index.d.ts +2 -2
- package/es/control/form/form-detail/form-item/composite-form-item/composite-form-item.d.ts +2 -2
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +3 -2
- package/es/control/form/form-detail/form-item/form-item.d.ts +2 -2
- package/es/control/form/form-detail/form-item/index.d.ts +2 -2
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.mjs +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +2 -19002
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.d.ts +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +3 -3
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +3 -3
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container2/mdctrl-container2.d.ts +4 -4
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.d.ts +1 -1
- package/es/control/form/form-detail/form-tab-panel/index.d.ts +2 -2
- package/es/control/form/search-form/advance-search/advance-search.css +1 -0
- package/es/control/form/search-form/advance-search/advance-search.d.ts +24 -0
- package/es/control/form/search-form/advance-search/advance-search.mjs +105 -0
- package/es/control/form/search-form/index.d.ts +7 -7
- package/es/control/form/search-form/search-form.d.ts +53 -7
- package/es/control/form/search-form/search-form.mjs +40 -1
- package/es/control/gantt/gantt.css +1 -1
- package/es/control/gantt/gantt.d.ts +53 -7
- package/es/control/gantt/gantt.mjs +24 -0
- package/es/control/gantt/index.d.ts +8 -8
- package/es/control/grid/grid/grid-control.util.d.ts +2 -2
- package/es/control/grid/grid/grid-control.util.mjs +171 -69
- package/es/control/grid/grid/grid.css +1 -1
- package/es/control/grid/grid/grid.d.ts +107 -58
- package/es/control/grid/grid/grid.mjs +129 -44
- package/es/control/grid/grid/index.d.ts +48 -47
- package/es/control/grid/grid/index.mjs +2 -0
- package/es/control/grid/grid-column/auto-grid-field-edit-column/auto-grid-field-edit-column.d.ts +4 -4
- package/es/control/grid/grid-column/auto-grid-field-edit-column/index.d.ts +4 -4
- package/es/control/grid/grid-column/grid-column-header/grid-column-header.css +1 -0
- package/es/control/grid/grid-column/grid-column-header/grid-column-header.d.ts +36 -0
- package/es/control/grid/grid-column/grid-column-header/grid-column-header.mjs +142 -0
- package/es/control/grid/grid-column/grid-column-header/index.d.ts +33 -0
- package/es/control/grid/grid-column/grid-column-header/index.mjs +12 -0
- package/es/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.css +1 -0
- package/es/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.d.ts +65 -0
- package/es/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.mjs +125 -0
- package/es/control/grid/grid-column/grid-field-column/attachment-column/file-util.d.ts +28 -0
- package/es/control/grid/grid-column/grid-field-column/attachment-column/file-util.mjs +131 -0
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.d.ts +2 -1
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +11 -2
- package/es/control/grid/grid-column/grid-field-column/index.d.ts +3 -2
- package/es/control/grid/grid-column/grid-field-column/index.mjs +3 -1
- package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.d.ts +4 -4
- package/es/control/grid/grid-column/grid-field-edit-column/index.d.ts +4 -4
- package/es/control/grid/grid-column/index.d.ts +1 -0
- package/es/control/grid/grid-column/index.mjs +1 -0
- package/es/control/grid/index.mjs +1 -0
- package/es/control/index.d.ts +1 -0
- package/es/control/index.mjs +2 -0
- package/es/control/kanban/index.d.ts +5 -5
- package/es/control/kanban/kanban.d.ts +51 -5
- package/es/control/kanban/kanban.mjs +23 -0
- package/es/control/list/index.d.ts +14 -14
- package/es/control/list/list.css +1 -1
- package/es/control/list/list.d.ts +64 -36
- package/es/control/list/list.mjs +75 -27
- package/es/control/map/map.css +1 -1
- package/es/control/map/map.d.ts +54 -6
- package/es/control/map/map.mjs +59 -23
- package/es/control/medit-view-panel/index.d.ts +5 -5
- package/es/control/medit-view-panel/medit-view-panel.css +1 -1
- package/es/control/medit-view-panel/medit-view-panel.d.ts +25 -5
- package/es/control/medit-view-panel/medit-view-panel.mjs +10 -0
- package/es/control/pickup-view-panel/index.d.ts +5 -5
- package/es/control/pickup-view-panel/pickup-view-panel.d.ts +43 -15
- package/es/control/pickup-view-panel/pickup-view-panel.mjs +19 -5
- package/es/control/report-panel/report-panel.d.ts +39 -5
- package/es/control/report-panel/report-panel.mjs +17 -0
- package/es/control/search-bar/filter-tree/filter-tree.d.ts +4 -4
- package/es/control/search-bar/index.d.ts +5 -5
- package/es/control/search-bar/search-bar.css +1 -1
- package/es/control/search-bar/search-bar.d.ts +31 -5
- package/es/control/search-bar/search-bar.mjs +14 -1
- package/es/control/search-bar/search-groups/search-groups.d.ts +6 -6
- package/es/control/tab-exp-panel/index.d.ts +5 -5
- package/es/control/tab-exp-panel/tab-exp-panel.d.ts +37 -5
- package/es/control/tab-exp-panel/tab-exp-panel.mjs +16 -0
- package/es/control/toolbar/index.d.ts +6 -6
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/toolbar/toolbar.d.ts +45 -5
- package/es/control/toolbar/toolbar.mjs +27 -7
- package/es/control/tree/index.d.ts +16 -14
- package/es/control/tree/tree.css +1 -1
- package/es/control/tree/tree.d.ts +100 -48
- package/es/control/tree/tree.mjs +73 -14
- package/es/control/tree-grid/index.d.ts +24 -24
- package/es/control/tree-grid/tree-grid.d.ts +83 -35
- package/es/control/tree-grid/tree-grid.mjs +30 -6
- package/es/control/tree-grid-ex/index.d.ts +11 -11
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.d.ts +2 -2
- package/es/control/tree-grid-ex/tree-grid-ex.d.ts +33 -7
- package/es/control/tree-grid-ex/tree-grid-ex.mjs +21 -0
- package/es/control/view-panel/index.d.ts +40 -0
- package/es/control/view-panel/index.mjs +18 -0
- package/es/control/view-panel/view-panel.css +1 -0
- package/es/control/view-panel/view-panel.d.ts +69 -0
- package/es/control/view-panel/view-panel.mjs +72 -0
- package/es/control/view-panel/view-panel.provider.d.ts +10 -0
- package/es/control/view-panel/view-panel.provider.mjs +14 -0
- package/es/control/wizard-panel/index.d.ts +5 -5
- package/es/control/wizard-panel/wizard-panel.d.ts +31 -5
- package/es/control/wizard-panel/wizard-panel.mjs +16 -1
- package/es/editor/array/ibiz-array/ibiz-array.d.ts +27 -10
- package/es/editor/array/ibiz-array/ibiz-array.mjs +1 -1
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +19 -10
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +1 -1
- package/es/editor/carousel/ibiz-carousel/ibiz-carousel.d.ts +17 -10
- package/es/editor/carousel/ibiz-carousel/ibiz-carousel.mjs +2 -2
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +28 -15
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +19 -10
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +18 -8
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +19 -9
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.mjs +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.css +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.d.ts +23 -8
- package/es/editor/code/monaco-editor/monaco-editor.mjs +16 -20
- package/es/editor/color-picker/ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.d.ts +1 -1
- package/es/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.d.ts +1 -1
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +25 -11
- 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 +19 -11
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +18 -10
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +3 -3
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.d.ts +19 -10
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +27 -6
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +20 -9
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.d.ts +18 -9
- 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 +23 -13
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +4 -3
- package/es/editor/date-picker/date-picker-editor.controller.mjs +3 -3
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +16 -9
- 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 +20 -9
- package/es/editor/date-range-select/date-range-select-picker/date-range-select.d.ts +49 -9
- package/es/editor/date-range-select/date-range-select-picker/date-range-select.mjs +3 -8
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +25 -11
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +24 -6
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +16 -8
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.d.ts +33 -19
- package/es/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.mjs +38 -28
- package/es/editor/html/wang-editor/wang-editor.d.ts +23 -8
- package/es/editor/html/wang-editor/wang-editor.mjs +5 -5
- package/es/editor/index.mjs +11 -0
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +18 -9
- package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.css +1 -0
- package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.d.ts +11 -0
- package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.mjs +364 -0
- package/es/editor/map-picker/index.d.ts +3 -0
- package/es/editor/map-picker/index.mjs +5 -0
- package/es/editor/map-picker/map-picker-editor.controller.d.ts +10 -0
- package/es/editor/map-picker/map-picker-editor.controller.mjs +7 -0
- package/es/editor/map-picker/map-picker-editor.provider.d.ts +14 -0
- package/es/editor/map-picker/map-picker-editor.provider.mjs +22 -0
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.d.ts +9 -0
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +42 -22
- package/es/editor/not-supported-editor/not-supported-editor.d.ts +2 -2
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +22 -9
- 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 +16 -8
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +21 -9
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +20 -2
- package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +43 -10
- package/es/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
- package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +19 -8
- package/es/editor/raw/ibiz-raw/ibiz-raw.mjs +5 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +28 -8
- package/es/editor/slider/ibiz-slider/ibiz-slider.mjs +2 -2
- package/es/editor/span/span/span.d.ts +15 -3
- package/es/editor/span/span-link/span-link.d.ts +16 -8
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +20 -8
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +18 -9
- package/es/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.css +1 -0
- package/es/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.d.ts +68 -0
- package/es/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.mjs +70 -0
- package/es/editor/switch/index.d.ts +1 -0
- package/es/editor/switch/index.mjs +1 -0
- package/es/editor/switch/switch-editor.provider.d.ts +1 -0
- package/es/editor/switch/switch-editor.provider.mjs +5 -1
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +16 -8
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +21 -8
- package/es/editor/text-box/input/input.css +1 -1
- package/es/editor/text-box/input/input.d.ts +25 -9
- package/es/editor/text-box/input/input.mjs +4 -4
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +28 -14
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +1 -1
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +31 -16
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.mjs +1 -1
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +17 -8
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +27 -13
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.d.ts +17 -9
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.mjs +1 -1
- package/es/ibiz-vue3.mjs +2 -0
- package/es/index.d.ts +1 -0
- package/es/index.mjs +4 -0
- package/es/locale/en/index.d.ts +28 -2
- package/es/locale/en/index.mjs +17 -4
- package/es/locale/zh-CN/index.d.ts +28 -2
- package/es/locale/zh-CN/index.mjs +17 -4
- package/es/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1/node_modules/@amap/amap-jsapi-loader/dist/index.mjs +23 -0
- package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.39_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.40_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +53 -81
- package/es/panel-component/app-switch/app-switch.controller.d.ts +116 -0
- package/es/panel-component/app-switch/app-switch.controller.mjs +276 -0
- package/es/panel-component/app-switch/app-switch.css +1 -0
- package/es/panel-component/app-switch/app-switch.d.ts +46 -0
- package/es/panel-component/app-switch/app-switch.mjs +74 -0
- package/es/panel-component/app-switch/app-switch.provider.d.ts +7 -0
- package/es/panel-component/app-switch/app-switch.provider.mjs +21 -0
- package/es/panel-component/app-switch/app-switch.state.d.ts +23 -0
- package/es/panel-component/app-switch/app-switch.state.mjs +30 -0
- package/es/panel-component/app-switch/index.d.ts +3 -0
- package/es/panel-component/app-switch/index.mjs +18 -0
- package/es/panel-component/auth-captcha/auth-captcha.controller.d.ts +5 -6
- package/es/panel-component/auth-captcha/auth-captcha.controller.mjs +2 -2
- package/es/panel-component/auth-captcha/auth-captcha.d.ts +17 -0
- package/es/panel-component/auth-captcha/auth-captcha.mjs +6 -0
- package/es/panel-component/auth-captcha/auth-captcha.state.d.ts +13 -11
- package/es/panel-component/auth-captcha/auth-captcha.state.mjs +11 -10
- package/es/panel-component/auth-sso/auth-sso.d.ts +17 -0
- package/es/panel-component/auth-sso/auth-sso.mjs +6 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.d.ts +17 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.mjs +6 -0
- package/es/panel-component/coop-pos/coop-pos.controller.d.ts +8 -0
- package/es/panel-component/coop-pos/coop-pos.controller.mjs +2 -0
- package/es/panel-component/coop-pos/coop-pos.d.ts +24 -9
- package/es/panel-component/coop-pos/coop-pos.mjs +6 -0
- package/es/panel-component/coop-pos/coop-pos.state.d.ts +14 -8
- package/es/panel-component/coop-pos/coop-pos.state.mjs +7 -8
- package/es/panel-component/coop-pos/index.d.ts +2 -2
- package/es/panel-component/data-import/data-import-shell.d.ts +17 -0
- package/es/panel-component/data-import/data-import-shell.mjs +6 -0
- package/es/panel-component/global-search/global-search.controller.d.ts +172 -0
- package/es/panel-component/global-search/global-search.controller.mjs +343 -0
- package/es/panel-component/global-search/global-search.css +1 -0
- package/es/panel-component/global-search/global-search.d.ts +58 -0
- package/es/panel-component/global-search/global-search.mjs +247 -0
- package/es/panel-component/global-search/global-search.provider.d.ts +14 -0
- package/es/panel-component/global-search/global-search.provider.mjs +21 -0
- package/es/panel-component/global-search/global-search.state.d.ts +75 -0
- package/es/panel-component/global-search/global-search.state.mjs +51 -0
- package/es/panel-component/global-search/index.d.ts +33 -0
- package/es/panel-component/global-search/index.mjs +15 -0
- package/es/panel-component/global-search/virtual-list/virtual-list.css +1 -0
- package/es/panel-component/global-search/virtual-list/virtual-list.d.ts +89 -0
- package/es/panel-component/global-search/virtual-list/virtual-list.mjs +121 -0
- package/es/panel-component/index-actions/index-actions.d.ts +18 -0
- package/es/panel-component/index-actions/index-actions.mjs +6 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.controller.d.ts +54 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.controller.mjs +78 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.css +1 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.d.ts +43 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.mjs +80 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.provider.d.ts +14 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.provider.mjs +21 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.state.d.ts +10 -0
- package/es/panel-component/index-blank-placeholder/index-blank-placeholder.state.mjs +7 -0
- package/es/panel-component/index-blank-placeholder/index.d.ts +25 -0
- package/es/panel-component/index-blank-placeholder/index.mjs +19 -0
- package/es/panel-component/index.mjs +6 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.d.ts +13 -7
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.controller.mjs +13 -7
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.d.ts +20 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.mjs +6 -0
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.state.d.ts +2 -1
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.state.mjs +2 -1
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.d.ts +55 -59
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +56 -57
- package/es/panel-component/nav-pos-index/nav-pos-index.d.ts +18 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.mjs +6 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.state.d.ts +14 -17
- package/es/panel-component/nav-pos-index/nav-pos-index.state.mjs +13 -13
- package/es/panel-component/nav-tabs/nav-tabs.controller.d.ts +33 -24
- package/es/panel-component/nav-tabs/nav-tabs.controller.mjs +35 -25
- package/es/panel-component/nav-tabs/nav-tabs.d.ts +17 -0
- package/es/panel-component/nav-tabs/nav-tabs.mjs +9 -1
- package/es/panel-component/nav-tabs/nav-tabs.state.d.ts +37 -12
- package/es/panel-component/nav-tabs/nav-tabs.state.mjs +6 -12
- package/es/panel-component/panel-app-header/panel-app-header.d.ts +17 -0
- package/es/panel-component/panel-app-header/panel-app-header.mjs +6 -0
- package/es/panel-component/panel-app-login-view/panel-app-login-view.d.ts +17 -0
- package/es/panel-component/panel-app-login-view/panel-app-login-view.mjs +6 -0
- package/es/panel-component/panel-app-title/panel-app-title.controller.d.ts +6 -5
- package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +4 -3
- package/es/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/es/panel-component/panel-app-title/panel-app-title.d.ts +17 -0
- package/es/panel-component/panel-app-title/panel-app-title.mjs +42 -19
- package/es/panel-component/panel-app-title/panel-app-title.state.d.ts +18 -31
- package/es/panel-component/panel-app-title/panel-app-title.state.mjs +17 -27
- package/es/panel-component/panel-button/panel-button.controller.d.ts +15 -5
- package/es/panel-component/panel-button/panel-button.controller.mjs +14 -3
- package/es/panel-component/panel-button/panel-button.d.ts +17 -0
- package/es/panel-component/panel-button/panel-button.mjs +6 -0
- package/es/panel-component/panel-button/panel-button.state.d.ts +5 -6
- package/es/panel-component/panel-button/panel-button.state.mjs +5 -6
- package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +4 -5
- package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +4 -5
- package/es/panel-component/panel-button-list/panel-button-list.d.ts +19 -0
- package/es/panel-component/panel-button-list/panel-button-list.mjs +6 -0
- package/es/panel-component/panel-button-list/panel-button-list.state.d.ts +2 -2
- package/es/panel-component/panel-button-list/panel-button-list.state.mjs +2 -2
- package/es/panel-component/panel-exp-header/panel-exp-header.d.ts +17 -0
- package/es/panel-component/panel-exp-header/panel-exp-header.mjs +6 -0
- package/es/panel-component/panel-index-view-search/panel-index-view-search.d.ts +17 -0
- package/es/panel-component/panel-index-view-search/panel-index-view-search.mjs +6 -0
- package/es/panel-component/panel-remember-me/panel-remember-me.d.ts +17 -0
- package/es/panel-component/panel-remember-me/panel-remember-me.mjs +6 -0
- package/es/panel-component/panel-static-carousel/panel-static-carousel.d.ts +20 -0
- package/es/panel-component/panel-static-carousel/panel-static-carousel.mjs +6 -0
- package/es/panel-component/panel-tab-panel/index.d.ts +1 -1
- package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.d.ts +3 -4
- package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.mjs +3 -4
- package/es/panel-component/panel-tab-panel/panel-tab-panel.d.ts +17 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +6 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.state.d.ts +3 -4
- package/es/panel-component/panel-tab-panel/panel-tab-panel.state.mjs +3 -4
- package/es/panel-component/panel-view-content/panel-view-content.d.ts +19 -0
- package/es/panel-component/panel-view-content/panel-view-content.mjs +6 -0
- package/es/panel-component/panel-view-header/panel-view-header.d.ts +17 -0
- package/es/panel-component/panel-view-header/panel-view-header.mjs +6 -0
- package/es/panel-component/searchform-buttons/index.d.ts +2 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.controller.d.ts +19 -10
- package/es/panel-component/searchform-buttons/searchform-buttons.controller.mjs +23 -10
- package/es/panel-component/searchform-buttons/searchform-buttons.css +1 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.d.ts +19 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.mjs +17 -3
- package/es/panel-component/short-cut/index.d.ts +2 -2
- package/es/panel-component/short-cut/short-cut.d.ts +18 -1
- package/es/panel-component/short-cut/short-cut.mjs +6 -0
- package/es/panel-component/split-container/split-container.controller.d.ts +11 -12
- package/es/panel-component/split-container/split-container.controller.mjs +9 -10
- package/es/panel-component/split-container/split-container.d.ts +17 -0
- package/es/panel-component/split-container/split-container.mjs +6 -0
- package/es/panel-component/split-container/split-container.state.d.ts +4 -8
- package/es/panel-component/split-container/split-container.state.mjs +4 -8
- package/es/panel-component/user-action/user-action.d.ts +20 -0
- package/es/panel-component/user-action/user-action.mjs +6 -0
- package/es/panel-component/user-message/addin-changed/addin-changed.d.ts +2 -2
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.d.ts +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.provider.d.ts +1 -1
- package/es/panel-component/user-message/user-message.css +1 -1
- package/es/panel-component/user-message/user-message.d.ts +17 -0
- package/es/panel-component/user-message/user-message.mjs +7 -1
- package/es/panel-component/view-message/view-message.d.ts +19 -0
- package/es/panel-component/view-message/view-message.mjs +6 -0
- package/es/panel-component/view-msg-pos/view-msg-pos.controller.d.ts +2 -4
- package/es/panel-component/view-msg-pos/view-msg-pos.controller.mjs +2 -4
- package/es/panel-component/view-msg-pos/view-msg-pos.d.ts +18 -0
- package/es/panel-component/view-msg-pos/view-msg-pos.mjs +6 -0
- package/es/util/app-modal/app-modal-component.d.ts +1 -1
- package/es/util/app-util/app-util.d.ts +7 -0
- package/es/util/app-util/app-util.mjs +14 -4
- package/es/util/fullscreen/fullscreen-util.mjs +1 -1
- package/es/util/notification-util/upload-manager/upload-manager.d.ts +1 -1
- package/es/util/open-view-util/open-view-util.mjs +2 -0
- package/es/view/403-view/403-view.mjs +1 -1
- package/es/view/404-view/404-view.mjs +1 -1
- package/es/view/share-view/share-view.d.ts +1 -1
- package/es/view/sub-app-ref-view/index.d.ts +7 -7
- package/es/view/sub-app-ref-view/sub-app-ref-view.d.ts +7 -7
- package/es/view/wf-step-trace-view/index.d.ts +7 -7
- package/es/view/wf-step-trace-view/wf-step-trace-view.d.ts +7 -7
- package/es/view-engine/index.d.ts +1 -0
- package/es/view-engine/index.mjs +6 -1
- package/es/view-engine/md-custom-view.engine.d.ts +81 -0
- package/es/view-engine/md-custom-view.engine.mjs +206 -0
- package/es/view-engine/tab-exp-view.engine.mjs +7 -2
- package/es/web-app/App.mjs +2 -0
- package/es/web-app/components/router-shell/router-shell.d.ts +3 -3
- package/es/web-app/guard/auth-guard/auth-guard.mjs +41 -3
- package/es/web-app/guard/auth-guard/dyna-auth-guard.mjs +3 -0
- package/es/web-app/main.mjs +1 -0
- package/lib/_virtual/index.cjs +5 -0
- package/lib/common/control-navigation/control-navigation.cjs +20 -1
- package/lib/common/control-navigation/provider/calendar-navigation.provider.cjs +2 -2
- package/lib/common/control-navigation/provider/index.cjs +5 -4
- package/lib/common/control-navigation/provider/map-navigation.provider.cjs +52 -0
- package/lib/common/control-navigation/provider/navigation-base.provider.cjs +9 -4
- package/lib/common/map-chart/map-chart.cjs +2 -6
- package/lib/common/map-chart/map-chart.util.cjs +1 -1
- package/lib/common/map-chart-user/map-chart-user.util.cjs +3 -2
- package/lib/common/map-chart-user/map-user-manager.cjs +2 -2
- package/lib/control/app-menu/app-menu.cjs +33 -6
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/app-menu-icon-view/app-menu-icon-view.cjs +19 -0
- package/lib/control/calendar/calendar.cjs +26 -1
- package/lib/control/calendar/components/calendar-daily/calendar-daily.cjs +6 -2
- package/lib/control/calendar/components/calendar-daily/use-calendar-daily.cjs +1 -1
- package/lib/control/calendar/components/calendar-week/calendar-week.cjs +6 -1
- package/lib/control/caption-bar/caption-bar.cjs +13 -0
- package/lib/control/chart/chart.cjs +36 -1
- package/lib/control/context-menu/context-menu.cjs +27 -6
- package/lib/control/dashboard/dashboard.cjs +13 -0
- package/lib/control/data-view/data-view.cjs +112 -50
- package/lib/control/drbar/drbar.cjs +23 -0
- package/lib/control/drtab/drtab-control.util.cjs +1 -1
- package/lib/control/drtab/drtab.cjs +26 -0
- package/lib/control/drtab/flow-drtab.cjs +146 -0
- package/lib/control/drtab/flow-drtab.css +1 -0
- package/lib/control/exp-bar/calendar-exp-bar/calendar-exp-bar.cjs +20 -0
- package/lib/control/exp-bar/chart-exp-bar/chart-exp-bar.cjs +20 -0
- package/lib/control/exp-bar/data-view-exp-bar/data-view-view-exp-bar.cjs +20 -0
- package/lib/control/exp-bar/grid-exp-bar/grid-exp-bar.cjs +20 -0
- package/lib/control/exp-bar/list-exp-bar/list-exp-bar.cjs +20 -0
- package/lib/control/exp-bar/tree-exp-bar/tree-exp-bar.cjs +23 -0
- package/lib/control/form/edit-form/edit-form.cjs +23 -0
- package/lib/control/form/form/form.cjs +10 -4
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +2 -1
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.cjs +1 -0
- package/lib/control/form/search-form/advance-search/advance-search.cjs +107 -0
- package/lib/control/form/search-form/advance-search/advance-search.css +1 -0
- package/lib/control/form/search-form/search-form.cjs +39 -0
- package/lib/control/gantt/gantt.cjs +24 -0
- package/lib/control/gantt/gantt.css +1 -1
- package/lib/control/grid/grid/grid-control.util.cjs +169 -67
- package/lib/control/grid/grid/grid.cjs +129 -44
- package/lib/control/grid/grid/grid.css +1 -1
- package/lib/control/grid/grid/index.cjs +8 -6
- package/lib/control/grid/grid-column/grid-column-header/grid-column-header.cjs +144 -0
- package/lib/control/grid/grid-column/grid-column-header/grid-column-header.css +1 -0
- package/lib/control/grid/grid-column/grid-column-header/index.cjs +17 -0
- package/lib/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.cjs +127 -0
- package/lib/control/grid/grid-column/grid-field-column/attachment-column/attachment-column.css +1 -0
- package/lib/control/grid/grid-column/grid-field-column/attachment-column/file-util.cjs +134 -0
- package/lib/control/grid/grid-column/grid-field-column/grid-field-column.cjs +11 -2
- package/lib/control/grid/grid-column/grid-field-column/index.cjs +3 -1
- package/lib/control/grid/grid-column/index.cjs +2 -0
- package/lib/control/grid/index.cjs +2 -0
- package/lib/control/index.cjs +106 -102
- package/lib/control/kanban/kanban.cjs +23 -0
- package/lib/control/list/list.cjs +75 -27
- package/lib/control/list/list.css +1 -1
- package/lib/control/map/map.cjs +59 -23
- package/lib/control/map/map.css +1 -1
- package/lib/control/medit-view-panel/medit-view-panel.cjs +10 -0
- package/lib/control/medit-view-panel/medit-view-panel.css +1 -1
- package/lib/control/pickup-view-panel/pickup-view-panel.cjs +19 -5
- package/lib/control/report-panel/report-panel.cjs +17 -0
- package/lib/control/search-bar/search-bar.cjs +14 -1
- package/lib/control/search-bar/search-bar.css +1 -1
- package/lib/control/tab-exp-panel/tab-exp-panel.cjs +16 -0
- package/lib/control/toolbar/toolbar.cjs +27 -7
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/control/tree/tree.cjs +73 -14
- package/lib/control/tree/tree.css +1 -1
- package/lib/control/tree-grid/tree-grid.cjs +30 -6
- package/lib/control/tree-grid-ex/tree-grid-ex.cjs +21 -0
- package/lib/control/view-panel/index.cjs +23 -0
- package/lib/control/view-panel/view-panel.cjs +74 -0
- package/lib/control/view-panel/view-panel.css +1 -0
- package/lib/control/view-panel/view-panel.provider.cjs +16 -0
- package/lib/control/wizard-panel/wizard-panel.cjs +16 -1
- package/lib/editor/array/ibiz-array/ibiz-array.cjs +1 -1
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +1 -1
- package/lib/editor/carousel/ibiz-carousel/ibiz-carousel.cjs +1 -1
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +19 -10
- package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.cjs +1 -1
- package/lib/editor/code/monaco-editor/monaco-editor.cjs +16 -20
- package/lib/editor/code/monaco-editor/monaco-editor.css +1 -1
- package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.cjs +1 -1
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +3 -3
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +26 -5
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-link/ibiz-picker-link.cjs +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +4 -3
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/lib/editor/date-picker/date-picker-editor.controller.cjs +3 -3
- package/lib/editor/date-picker/ibiz-date-picker/ibiz-date-picker.cjs +1 -1
- package/lib/editor/date-range-select/date-range-select-picker/date-range-select.cjs +2 -7
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +24 -6
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/lib/editor/dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.cjs +37 -27
- package/lib/editor/html/wang-editor/wang-editor.cjs +5 -5
- package/lib/editor/index.cjs +11 -0
- package/lib/editor/map-picker/ibiz-map-picker/ibiz-map-picker.cjs +366 -0
- package/lib/editor/map-picker/ibiz-map-picker/ibiz-map-picker.css +1 -0
- package/lib/editor/map-picker/index.cjs +11 -0
- package/lib/editor/map-picker/map-picker-editor.controller.cjs +9 -0
- package/lib/editor/map-picker/map-picker-editor.provider.cjs +24 -0
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +42 -22
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.cjs +1 -1
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.cjs +20 -2
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
- package/lib/editor/raw/ibiz-raw/ibiz-raw.cjs +5 -1
- package/lib/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
- package/lib/editor/slider/ibiz-slider/ibiz-slider.cjs +2 -2
- package/lib/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.cjs +72 -0
- package/lib/editor/switch/ibiz-switch-tristate/ibiz-switch-tristate.css +1 -0
- package/lib/editor/switch/index.cjs +2 -0
- package/lib/editor/switch/switch-editor.provider.cjs +5 -1
- package/lib/editor/text-box/input/input.cjs +4 -4
- package/lib/editor/text-box/input/input.css +1 -1
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +1 -1
- package/lib/editor/upload/ibiz-image-cropping/ibiz-image-cropping.cjs +1 -1
- package/lib/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.cjs +1 -1
- package/lib/ibiz-vue3.cjs +4 -2
- package/lib/index.cjs +140 -132
- package/lib/locale/en/index.cjs +17 -4
- package/lib/locale/zh-CN/index.cjs +17 -4
- package/lib/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1/node_modules/@amap/amap-jsapi-loader/dist/index.cjs +27 -0
- package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.39_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.40_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +53 -81
- package/lib/panel-component/app-switch/app-switch.cjs +76 -0
- package/lib/panel-component/app-switch/app-switch.controller.cjs +278 -0
- package/lib/panel-component/app-switch/app-switch.css +1 -0
- package/lib/panel-component/app-switch/app-switch.provider.cjs +23 -0
- package/lib/panel-component/app-switch/app-switch.state.cjs +32 -0
- package/lib/panel-component/app-switch/index.cjs +23 -0
- package/lib/panel-component/auth-captcha/auth-captcha.cjs +6 -0
- package/lib/panel-component/auth-captcha/auth-captcha.controller.cjs +2 -2
- package/lib/panel-component/auth-captcha/auth-captcha.state.cjs +11 -10
- package/lib/panel-component/auth-sso/auth-sso.cjs +6 -0
- package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +6 -0
- package/lib/panel-component/coop-pos/coop-pos.cjs +6 -0
- package/lib/panel-component/coop-pos/coop-pos.controller.cjs +2 -0
- package/lib/panel-component/coop-pos/coop-pos.state.cjs +7 -8
- package/lib/panel-component/data-import/data-import-shell.cjs +6 -0
- package/lib/panel-component/global-search/global-search.cjs +249 -0
- package/lib/panel-component/global-search/global-search.controller.cjs +345 -0
- package/lib/panel-component/global-search/global-search.css +1 -0
- package/lib/panel-component/global-search/global-search.provider.cjs +23 -0
- package/lib/panel-component/global-search/global-search.state.cjs +53 -0
- package/lib/panel-component/global-search/index.cjs +20 -0
- package/lib/panel-component/global-search/virtual-list/virtual-list.cjs +123 -0
- package/lib/panel-component/global-search/virtual-list/virtual-list.css +1 -0
- package/lib/panel-component/index-actions/index-actions.cjs +6 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.cjs +82 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.controller.cjs +80 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.css +1 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.provider.cjs +23 -0
- package/lib/panel-component/index-blank-placeholder/index-blank-placeholder.state.cjs +9 -0
- package/lib/panel-component/index-blank-placeholder/index.cjs +25 -0
- package/lib/panel-component/index.cjs +44 -38
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.cjs +6 -0
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.controller.cjs +13 -7
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.state.cjs +2 -1
- package/lib/panel-component/nav-pos-index/nav-pos-index.cjs +6 -0
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +56 -57
- package/lib/panel-component/nav-pos-index/nav-pos-index.state.cjs +13 -13
- package/lib/panel-component/nav-tabs/nav-tabs.cjs +9 -1
- package/lib/panel-component/nav-tabs/nav-tabs.controller.cjs +35 -25
- package/lib/panel-component/nav-tabs/nav-tabs.state.cjs +6 -12
- package/lib/panel-component/panel-app-header/panel-app-header.cjs +6 -0
- package/lib/panel-component/panel-app-login-view/panel-app-login-view.cjs +6 -0
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +42 -19
- package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +4 -3
- package/lib/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/lib/panel-component/panel-app-title/panel-app-title.state.cjs +17 -27
- package/lib/panel-component/panel-button/panel-button.cjs +6 -0
- package/lib/panel-component/panel-button/panel-button.controller.cjs +14 -3
- package/lib/panel-component/panel-button/panel-button.state.cjs +5 -6
- package/lib/panel-component/panel-button-list/panel-button-list.cjs +6 -0
- package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +4 -5
- package/lib/panel-component/panel-button-list/panel-button-list.state.cjs +2 -2
- package/lib/panel-component/panel-exp-header/panel-exp-header.cjs +6 -0
- package/lib/panel-component/panel-index-view-search/panel-index-view-search.cjs +6 -0
- package/lib/panel-component/panel-remember-me/panel-remember-me.cjs +6 -0
- package/lib/panel-component/panel-static-carousel/panel-static-carousel.cjs +6 -0
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.cjs +6 -0
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.controller.cjs +3 -4
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.state.cjs +3 -4
- package/lib/panel-component/panel-view-content/panel-view-content.cjs +6 -0
- package/lib/panel-component/panel-view-header/panel-view-header.cjs +6 -0
- package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +17 -3
- package/lib/panel-component/searchform-buttons/searchform-buttons.controller.cjs +23 -10
- package/lib/panel-component/searchform-buttons/searchform-buttons.css +1 -1
- package/lib/panel-component/short-cut/short-cut.cjs +6 -0
- package/lib/panel-component/split-container/split-container.cjs +6 -0
- package/lib/panel-component/split-container/split-container.controller.cjs +9 -10
- package/lib/panel-component/split-container/split-container.state.cjs +4 -8
- package/lib/panel-component/user-action/user-action.cjs +6 -0
- package/lib/panel-component/user-message/user-message.cjs +7 -1
- package/lib/panel-component/user-message/user-message.css +1 -1
- package/lib/panel-component/view-message/view-message.cjs +6 -0
- package/lib/panel-component/view-msg-pos/view-msg-pos.cjs +6 -0
- package/lib/panel-component/view-msg-pos/view-msg-pos.controller.cjs +2 -4
- package/lib/util/app-util/app-util.cjs +13 -3
- package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
- package/lib/util/open-view-util/open-view-util.cjs +2 -0
- package/lib/view/403-view/403-view.cjs +1 -1
- package/lib/view/404-view/404-view.cjs +1 -1
- package/lib/view-engine/index.cjs +6 -0
- package/lib/view-engine/md-custom-view.engine.cjs +208 -0
- package/lib/view-engine/tab-exp-view.engine.cjs +7 -2
- package/lib/web-app/App.cjs +2 -0
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +40 -2
- package/lib/web-app/guard/auth-guard/dyna-auth-guard.cjs +3 -0
- package/lib/web-app/main.cjs +1 -0
- package/package.json +13 -12
- package/dist/chart-WOVYJZdX.js +0 -1
- package/dist/ibiz-markdown-editor-6LwfUyrp.js +0 -1
- package/dist/index-AFjh74yw.js +0 -4
- package/dist/index-JACr82NV.js +0 -1
- package/dist/index-rzZcg_Jf.js +0 -1
- package/dist/map-chart-eydeBW7e.js +0 -1
- package/dist/map-chart-user-3inZInah.js +0 -1
- package/dist/wang-editor-fgIF44E-.js +0 -1
|
@@ -3,10 +3,25 @@ import { IEditorConfig, IToolbarConfig } from '@wangeditor/editor';
|
|
|
3
3
|
import type { IDomEditor } from '@wangeditor/editor';
|
|
4
4
|
import { HtmlEditorController } from '../html-editor.controller';
|
|
5
5
|
import './wang-editor.scss';
|
|
6
|
+
/**
|
|
7
|
+
* HTML编辑框
|
|
8
|
+
*
|
|
9
|
+
* @description 使用wangEditor组件封装,用于富文本编辑。支持编辑器类型包含:`HTML编辑框`
|
|
10
|
+
* @primary
|
|
11
|
+
* @editorparams {"name":"enableEdit","parameterType":"boolean","defaultvalue":false,"description":"当该值为 true 时,会显示代码编辑器顶部的工具栏,并且只有点击编辑按钮后才能开启代码编辑功能,否则编辑框默认处于不可编辑状态,常用于需要控制编辑权限的场景"}
|
|
12
|
+
* @editorparams {"name":"enableFullScreen","parameterType":"boolean","defaultvalue":false,"description":"若该值为 true ,会显示代码编辑器顶部的工具栏,并且点击工具栏中的全屏按钮后,编辑框将全屏显示,方便在较大的视野下进行代码编辑工作"}
|
|
13
|
+
* @editorparams {"name":"srfaiappendcurdata","parameterType":"boolean","defaultvalue":false,"description":"在打开AI功能时,该参数用于判断是否传入对象参数,主要用于在请求历史记录时,附加当前参数"}
|
|
14
|
+
* @editorparams {"name":"srfaiappendcurcontent","parameterType":"string","description":"在打开AI功能时,如果该参数存在值,会将其传入编辑内容作为用户消息,主要用于在请求历史记录后,附加当前编辑内容作为用户消息"}
|
|
15
|
+
* @editorparams {"name":"uploadParams","parameterType":"string","description":"图片或文件上传时,用于计算上传路径"}
|
|
16
|
+
* @editorparams {"name":"exportParams","parameterType":"string","description":"图片或文件下载时,用于计算下载路径"}
|
|
17
|
+
* @editorparams {"name":"osscat","parameterType":"string","description":"用于计算上传和下载路径的OSS参数"}
|
|
18
|
+
* @ignoreprops autoFocus | overflowMode | controlParams
|
|
19
|
+
* @ignoreemits enter | infoTextChange
|
|
20
|
+
*/
|
|
6
21
|
declare const IBizHtml: import("vue").DefineComponent<{
|
|
7
22
|
value: StringConstructor;
|
|
8
23
|
controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<HtmlEditorController>, undefined, undefined>;
|
|
9
|
-
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<
|
|
24
|
+
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
|
|
10
25
|
disabled: {
|
|
11
26
|
type: BooleanConstructor;
|
|
12
27
|
};
|
|
@@ -55,14 +70,14 @@ declare const IBizHtml: import("vue").DefineComponent<{
|
|
|
55
70
|
changeFullScreenState: () => void;
|
|
56
71
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
57
72
|
change: (_value: unknown, _name?: string | undefined, _ignore?: boolean | undefined) => boolean;
|
|
58
|
-
blur: (_event?:
|
|
59
|
-
focus: (_event?:
|
|
60
|
-
enter: (_event?:
|
|
73
|
+
blur: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
|
|
74
|
+
focus: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
|
|
75
|
+
enter: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
|
|
61
76
|
infoTextChange: (_text: string) => boolean;
|
|
62
77
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
63
78
|
value: StringConstructor;
|
|
64
79
|
controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<HtmlEditorController>, undefined, undefined>;
|
|
65
|
-
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<
|
|
80
|
+
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
|
|
66
81
|
disabled: {
|
|
67
82
|
type: BooleanConstructor;
|
|
68
83
|
};
|
|
@@ -82,11 +97,11 @@ declare const IBizHtml: import("vue").DefineComponent<{
|
|
|
82
97
|
required: boolean;
|
|
83
98
|
};
|
|
84
99
|
}>> & {
|
|
85
|
-
onFocus?: ((_event?:
|
|
86
|
-
onBlur?: ((_event?:
|
|
100
|
+
onFocus?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
|
|
101
|
+
onBlur?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
|
|
87
102
|
onChange?: ((_value: unknown, _name?: string | undefined, _ignore?: boolean | undefined) => any) | undefined;
|
|
88
103
|
onInfoTextChange?: ((_text: string) => any) | undefined;
|
|
89
|
-
onEnter?: ((_event?:
|
|
104
|
+
onEnter?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
|
|
90
105
|
}, {
|
|
91
106
|
disabled: boolean;
|
|
92
107
|
readonly: boolean;
|
|
@@ -241,23 +241,23 @@ const IBizHtml = /* @__PURE__ */ defineComponent({
|
|
|
241
241
|
return true;
|
|
242
242
|
}
|
|
243
243
|
},
|
|
244
|
-
abortQuestion: (aiChat) => {
|
|
244
|
+
abortQuestion: async (aiChat) => {
|
|
245
245
|
abortController == null ? void 0 : abortController.abort();
|
|
246
|
-
aiChat.stopMessage({
|
|
246
|
+
await aiChat.stopMessage({
|
|
247
247
|
messageid: id,
|
|
248
248
|
state: 30,
|
|
249
249
|
type: "DEFAULT",
|
|
250
250
|
role: "ASSISTANT",
|
|
251
251
|
content: ""
|
|
252
252
|
});
|
|
253
|
-
aiChat.completeMessage(id, true);
|
|
253
|
+
await aiChat.completeMessage(id, true);
|
|
254
254
|
},
|
|
255
255
|
action: (action, message) => {
|
|
256
256
|
if (action === "backfill") {
|
|
257
257
|
if (hasEnableEdit.value) {
|
|
258
|
-
valueHtml.value = message.
|
|
258
|
+
valueHtml.value = message.realcontent || "";
|
|
259
259
|
} else {
|
|
260
|
-
emit("change", message.
|
|
260
|
+
emit("change", message.realcontent);
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
},
|
package/es/editor/index.mjs
CHANGED
|
@@ -29,6 +29,7 @@ import './preset/index.mjs';
|
|
|
29
29
|
import './carousel/index.mjs';
|
|
30
30
|
import './user/ibiz-searchcond-edit/index.mjs';
|
|
31
31
|
import './date-range-select/index.mjs';
|
|
32
|
+
import './map-picker/index.mjs';
|
|
32
33
|
import { IBizImageCropping } from './upload/ibiz-image-cropping/ibiz-image-cropping.mjs';
|
|
33
34
|
import { IBizSpan } from './span/span/span.mjs';
|
|
34
35
|
import { IBizSpanLink } from './span/span-link/span-link.mjs';
|
|
@@ -45,6 +46,7 @@ import { IBizRaw } from './raw/ibiz-raw/ibiz-raw.mjs';
|
|
|
45
46
|
import { IBizStepper } from './stepper/ibiz-stepper/ibiz-stepper.mjs';
|
|
46
47
|
import { IBizRate } from './rate/ibiz-rate/ibiz-rate.mjs';
|
|
47
48
|
import { IBizSwitch } from './switch/ibiz-switch/ibiz-switch.mjs';
|
|
49
|
+
import { IBizSwitchTriState } from './switch/ibiz-switch-tristate/ibiz-switch-tristate.mjs';
|
|
48
50
|
import { IBizSlider } from './slider/ibiz-slider/ibiz-slider.mjs';
|
|
49
51
|
import { IBizListBox } from './list-box/ibiz-list-box/ibiz-list-box.mjs';
|
|
50
52
|
import { IBizAutoComplete } from './autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs';
|
|
@@ -66,6 +68,7 @@ import { IBizColorPicker } from './color-picker/ibiz-color-picker/ibiz-color-pic
|
|
|
66
68
|
import { IBizPresetRawitem } from './preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.mjs';
|
|
67
69
|
import { IBizSearchCondEdit } from './user/ibiz-searchcond-edit/ibiz-searchcond-edit.mjs';
|
|
68
70
|
import { IBizCarousel } from './carousel/ibiz-carousel/ibiz-carousel.mjs';
|
|
71
|
+
import { IBizMapPicker } from './map-picker/ibiz-map-picker/ibiz-map-picker.mjs';
|
|
69
72
|
import { IBizDateRangeSelect } from './date-range-select/date-range-select-picker/date-range-select.mjs';
|
|
70
73
|
import { IBizVirtualizedList } from './dropdown-list/ibiz-virtualized-list/ibiz-virtualized-list.mjs';
|
|
71
74
|
import { SpanEditorProvider } from './span/span-editor.provider.mjs';
|
|
@@ -94,6 +97,7 @@ import { ArrayEditorProvider } from './array/array-editor.provider.mjs';
|
|
|
94
97
|
import { CascaderEditorProvider } from './cascader/cascader-editor.provider.mjs';
|
|
95
98
|
import { ColorPickerEditorProvider } from './color-picker/color-picker-editor.provider.mjs';
|
|
96
99
|
import { SearchCondEditEditorProvider } from './user/ibiz-searchcond-edit/ibiz-searchcond-edit.provider.mjs';
|
|
100
|
+
import { MapPickerEditorProvider } from './map-picker/map-picker-editor.provider.mjs';
|
|
97
101
|
import { CarouselEditorProvider } from './carousel/carousel-editor.provider.mjs';
|
|
98
102
|
|
|
99
103
|
"use strict";
|
|
@@ -116,6 +120,7 @@ const IBizEditor = {
|
|
|
116
120
|
v.component(IBizStepper.name, IBizStepper);
|
|
117
121
|
v.component(IBizRate.name, IBizRate);
|
|
118
122
|
v.component(IBizSwitch.name, IBizSwitch);
|
|
123
|
+
v.component(IBizSwitchTriState.name, IBizSwitchTriState);
|
|
119
124
|
v.component(IBizSlider.name, IBizSlider);
|
|
120
125
|
v.component(IBizListBox.name, IBizListBox);
|
|
121
126
|
v.component(IBizAutoComplete.name, IBizAutoComplete);
|
|
@@ -137,6 +142,7 @@ const IBizEditor = {
|
|
|
137
142
|
v.component(IBizPresetRawitem.name, IBizPresetRawitem);
|
|
138
143
|
v.component(IBizSearchCondEdit.name, IBizSearchCondEdit);
|
|
139
144
|
v.component(IBizCarousel.name, IBizCarousel);
|
|
145
|
+
v.component(IBizMapPicker.name, IBizMapPicker);
|
|
140
146
|
v.component(
|
|
141
147
|
"IBizHtml",
|
|
142
148
|
defineAsyncComponent(() => import('./html/wang-editor/wang-editor.mjs'))
|
|
@@ -295,6 +301,10 @@ const IBizEditor = {
|
|
|
295
301
|
registerEditorProvider("SLIDER", () => new SliderEditorProvider());
|
|
296
302
|
registerEditorProvider("MOBSLIDER", () => new SliderEditorProvider());
|
|
297
303
|
registerEditorProvider("SWITCH", () => new SwitchEditorProvider());
|
|
304
|
+
registerEditorProvider(
|
|
305
|
+
"SWITCH_TRISTATE",
|
|
306
|
+
() => new SwitchEditorProvider("TRISTATE")
|
|
307
|
+
);
|
|
298
308
|
registerEditorProvider("MOBSWITCH", () => new SwitchEditorProvider());
|
|
299
309
|
registerEditorProvider("LISTBOX", () => new ListBoxEditorProvider());
|
|
300
310
|
registerEditorProvider("LISTBOXPICKUP", () => new ListBoxEditorProvider());
|
|
@@ -407,6 +417,7 @@ const IBizEditor = {
|
|
|
407
417
|
"PICKER_searchCondEdit",
|
|
408
418
|
() => new SearchCondEditEditorProvider()
|
|
409
419
|
);
|
|
420
|
+
registerEditorProvider("MAPPICKER", () => new MapPickerEditorProvider());
|
|
410
421
|
registerEditorProvider(
|
|
411
422
|
"FIELD_IMAGE_PICTURE_ONE",
|
|
412
423
|
() => new FileUploaderEditorProvider("PICTURE_ONE")
|
|
@@ -2,10 +2,19 @@ import { Ref } from 'vue';
|
|
|
2
2
|
import { ListBoxEditorController } from '../list-box-editor.controller';
|
|
3
3
|
import { ListBoxPickerEditorController } from '../list-box-picker-editor.controller';
|
|
4
4
|
import './ibiz-list-box.scss';
|
|
5
|
+
/**
|
|
6
|
+
* 列表框
|
|
7
|
+
*
|
|
8
|
+
* @description 使用el-radio-group或el-checkbox-group组件,用于选择多项数据或者选择单项数据,单选时绘制单选框组,多选时绘制多选框组。支持编辑器类型包含:`列表框`、`列表框(选择)`
|
|
9
|
+
* @primary
|
|
10
|
+
* @editorparams {name:multiple,parameterType:boolean,defaultvalue:false,description:是否启用多选}
|
|
11
|
+
* @ignoreprops autoFocus | overflowMode
|
|
12
|
+
* @ignoreemits blur | focus | enter | infoTextChange
|
|
13
|
+
*/
|
|
5
14
|
export declare const IBizListBox: import("vue").DefineComponent<{
|
|
6
15
|
value: (StringConstructor | NumberConstructor)[];
|
|
7
16
|
controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<ListBoxEditorController | ListBoxPickerEditorController>, undefined, undefined>;
|
|
8
|
-
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<
|
|
17
|
+
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
|
|
9
18
|
disabled: {
|
|
10
19
|
type: BooleanConstructor;
|
|
11
20
|
};
|
|
@@ -26,7 +35,7 @@ export declare const IBizListBox: import("vue").DefineComponent<{
|
|
|
26
35
|
};
|
|
27
36
|
}, {
|
|
28
37
|
ns: import("@ibiz-template/core").Namespace;
|
|
29
|
-
items: Ref<readonly
|
|
38
|
+
items: Ref<readonly import("@ibiz-template/core").IApiData[]>;
|
|
30
39
|
selectArray: Ref<(string | number)[]>;
|
|
31
40
|
onSelectArrayChange: (value: Array<string | number>) => void;
|
|
32
41
|
multiple: boolean;
|
|
@@ -34,14 +43,14 @@ export declare const IBizListBox: import("vue").DefineComponent<{
|
|
|
34
43
|
showFormDefaultContent: import("vue").ComputedRef<boolean>;
|
|
35
44
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
45
|
change: (_value: unknown, _name?: string | undefined, _ignore?: boolean | undefined) => boolean;
|
|
37
|
-
blur: (_event?:
|
|
38
|
-
focus: (_event?:
|
|
39
|
-
enter: (_event?:
|
|
46
|
+
blur: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
|
|
47
|
+
focus: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
|
|
48
|
+
enter: (_event?: import("@ibiz-template/core").IApiData | undefined) => boolean;
|
|
40
49
|
infoTextChange: (_text: string) => boolean;
|
|
41
50
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
51
|
value: (StringConstructor | NumberConstructor)[];
|
|
43
52
|
controller: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<ListBoxEditorController | ListBoxPickerEditorController>, undefined, undefined>;
|
|
44
|
-
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<
|
|
53
|
+
data: import("@ibiz-template/vue3-util").RequiredProp<import("vue").PropType<import("@ibiz-template/core").IApiData>, undefined, undefined>;
|
|
45
54
|
disabled: {
|
|
46
55
|
type: BooleanConstructor;
|
|
47
56
|
};
|
|
@@ -61,11 +70,11 @@ export declare const IBizListBox: import("vue").DefineComponent<{
|
|
|
61
70
|
required: boolean;
|
|
62
71
|
};
|
|
63
72
|
}>> & {
|
|
64
|
-
onFocus?: ((_event?:
|
|
65
|
-
onBlur?: ((_event?:
|
|
73
|
+
onFocus?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
|
|
74
|
+
onBlur?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
|
|
66
75
|
onChange?: ((_value: unknown, _name?: string | undefined, _ignore?: boolean | undefined) => any) | undefined;
|
|
67
76
|
onInfoTextChange?: ((_text: string) => any) | undefined;
|
|
68
|
-
onEnter?: ((_event?:
|
|
77
|
+
onEnter?: ((_event?: import("@ibiz-template/core").IApiData | undefined) => any) | undefined;
|
|
69
78
|
}, {
|
|
70
79
|
disabled: boolean;
|
|
71
80
|
readonly: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-map-picker{font-size:var(--ibiz-form-item-font-size);font-weight:var(--ibiz-form-item-regular)}.ibiz-map-picker--readonly{height:auto;overflow:auto;line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-form-item-readonly-color);word-break:break-word;white-space:pre-wrap}.ibiz-map-picker-input .el-input__suffix{display:none}.ibiz-map-picker-input .el-input__wrapper:hover .el-input__suffix{display:inline-flex}.ibiz-map-picker-dialog{display:flex;flex-direction:column;height:80%;--el-dialog-padding-primary:var(--ibiz-spacing-base)}.ibiz-map-picker-dialog .el-dialog__headerbtn{top:calc(var(--el-dialog-padding-primary) - 2px);right:calc(var(--el-dialog-padding-primary)/ 2)}.ibiz-map-picker-dialog .el-dialog__footer,.ibiz-map-picker-dialog .el-dialog__header{flex:0 0 auto;padding:var(--el-dialog-padding-primary)}.ibiz-map-picker-dialog .el-dialog__body{flex:1 1 0;padding:var(--el-dialog-padding-primary);border-top:1px solid var(--ibiz-color-border);border-bottom:1px solid var(--ibiz-color-border)}.ibiz-map-picker-dialog-content{display:flex;flex-direction:column;height:100%}.ibiz-map-picker-dialog-search-input{z-index:999;flex:0 0 auto;margin-bottom:var(--ibiz-spacing-tight)}.ibiz-map-picker-dialog-search-input .el-input__suffix{display:none}.ibiz-map-picker-dialog-search-input .el-input__wrapper:hover .el-input__suffix{display:inline-flex}.ibiz-map-picker-dialog-map-content{position:relative;flex:1 1 0}.ibiz-map-picker-dialog-map-container{height:100%}.ibiz-map-picker-dialog-search-result-container{position:absolute;top:0;right:0;display:block!important;width:280px;max-height:90%;overflow-y:auto;background-color:#fff}.ibiz-map-picker-dialog-search-result-container .amap_lib_placeSearch_page{display:flex;overflow-x:auto}.ibiz-map-picker-dialog-map-marker-text{position:absolute;top:-24px;padding:4px 10px;font-size:12px;color:#fff;white-space:nowrap;background-color:#3d93fd;border-radius:4px;transform:translateX(calc(-50% - 12.5px))}.ibiz-form-item .ibiz-map-picker.is-show-default:hover .ibiz-map-picker-form-default-content{display:none}.ibiz-form-item .ibiz-map-picker.is-show-default:hover .ibiz-map-picker-input{display:inline-flex}.ibiz-form-item .ibiz-map-picker.is-show-default .ibiz-map-picker-input{display:none;font-family:Arial,sans-serif}.ibiz-form-item .ibiz-map-picker.is-show-default .ibiz-map-picker-form-default-content{display:flex;align-items:center;width:100%;padding:var(--ibiz-form-item-hover-edit-padding);font-family:Arial,sans-serif;font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-form-item-text-color);word-wrap:break-word;white-space:pre-wrap}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { defineComponent } from 'vue';
|
|
2
|
+
import './ibiz-map-picker.scss';
|
|
3
|
+
/**
|
|
4
|
+
* 地图选择器
|
|
5
|
+
*
|
|
6
|
+
* @description 通过高德地图选择具体位置,然后填充名称、经度和纬度。支持编辑器类型包含:`地图选择器`
|
|
7
|
+
* @primary
|
|
8
|
+
* @ignoreprops autoFocus | overflowMode
|
|
9
|
+
* @ignoreemits blur | focus | enter | infoTextChange
|
|
10
|
+
*/
|
|
11
|
+
export declare const IBizMapPicker: ReturnType<typeof defineComponent>;
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
import { isVNode, ref, computed, nextTick, onUnmounted, createVNode, resolveComponent, vModelText, withDirectives, resolveDirective, defineComponent } from 'vue';
|
|
2
|
+
import { getMapPickerProps, getEditorEmits, useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
+
import AMapLoader from '../../../node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1/node_modules/@amap/amap-jsapi-loader/dist/index.mjs';
|
|
4
|
+
import './ibiz-map-picker.css';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
function _isSlot(s) {
|
|
8
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
9
|
+
}
|
|
10
|
+
const IBizMapPicker = /* @__PURE__ */ defineComponent({
|
|
11
|
+
name: "IBizMapPicker",
|
|
12
|
+
props: getMapPickerProps(),
|
|
13
|
+
emits: getEditorEmits(),
|
|
14
|
+
setup(props, {
|
|
15
|
+
emit
|
|
16
|
+
}) {
|
|
17
|
+
var _a;
|
|
18
|
+
const ns = useNamespace("map-picker");
|
|
19
|
+
const c = props.controller;
|
|
20
|
+
const editorItem = (_a = c.model.editorItems) == null ? void 0 : _a[0];
|
|
21
|
+
const inputRef = ref();
|
|
22
|
+
const searchInputRef = ref();
|
|
23
|
+
const mapContainerRef = ref();
|
|
24
|
+
const searchResultContainerRef = ref();
|
|
25
|
+
const dialogVisible = ref(false);
|
|
26
|
+
const isLoading = ref(false);
|
|
27
|
+
const searchValue = ref("");
|
|
28
|
+
const showFormDefaultContent = computed(() => {
|
|
29
|
+
if (props.controlParams && props.controlParams.editmode === "hover" && !props.readonly) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
return false;
|
|
33
|
+
});
|
|
34
|
+
let map;
|
|
35
|
+
let marker;
|
|
36
|
+
let poiPicker;
|
|
37
|
+
const addressInfo = {
|
|
38
|
+
address: "",
|
|
39
|
+
longitude: null,
|
|
40
|
+
latitude: null
|
|
41
|
+
};
|
|
42
|
+
const clearMarker = () => {
|
|
43
|
+
if (marker) {
|
|
44
|
+
marker.setMap(null);
|
|
45
|
+
marker = void 0;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const addMarker = (lng, lat) => {
|
|
49
|
+
const AMap = window.AMap;
|
|
50
|
+
if (!AMap) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
clearMarker();
|
|
54
|
+
marker = new AMap.Marker({
|
|
55
|
+
position: [lng, lat]
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
const getAddress = (lng, lat) => {
|
|
59
|
+
const AMap = window.AMap;
|
|
60
|
+
if (!AMap) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
if (!marker) {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const geocoder = new AMap.Geocoder({});
|
|
67
|
+
const currentMarker = marker;
|
|
68
|
+
geocoder.getAddress([lng, lat], (status, result) => {
|
|
69
|
+
if (!marker || marker !== currentMarker) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
if (status === "complete" && result.info === "OK" && result.regeocode) {
|
|
73
|
+
const regeocode = result.regeocode;
|
|
74
|
+
const address = regeocode.formattedAddress;
|
|
75
|
+
const markerContent = document.createElement("div");
|
|
76
|
+
const markerImg = document.createElement("img");
|
|
77
|
+
markerImg.style.width = "25px";
|
|
78
|
+
markerImg.src = "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png";
|
|
79
|
+
markerContent.appendChild(markerImg);
|
|
80
|
+
const markerText = document.createElement("span");
|
|
81
|
+
markerText.className = ns.b("dialog-map-marker-text");
|
|
82
|
+
markerText.textContent = address;
|
|
83
|
+
markerContent.appendChild(markerText);
|
|
84
|
+
marker.setContent(markerContent);
|
|
85
|
+
marker.setMap(map);
|
|
86
|
+
addressInfo.address = address;
|
|
87
|
+
addressInfo.longitude = lng;
|
|
88
|
+
addressInfo.latitude = lat;
|
|
89
|
+
searchValue.value = address;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
const loadMap = async () => {
|
|
94
|
+
try {
|
|
95
|
+
isLoading.value = true;
|
|
96
|
+
window._AMapSecurityConfig = {
|
|
97
|
+
securityJsCode: ibiz.env.aMapSecurityJsCode
|
|
98
|
+
};
|
|
99
|
+
await AMapLoader.load({
|
|
100
|
+
key: ibiz.env.aMapKey,
|
|
101
|
+
version: "2.0",
|
|
102
|
+
plugins: ["AMap.PlaceSearch", "AMap.Geocoder"],
|
|
103
|
+
AMapUI: {
|
|
104
|
+
version: "1.1",
|
|
105
|
+
plugins: ["misc/PoiPicker"]
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
} finally {
|
|
109
|
+
isLoading.value = false;
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
const initMap = () => {
|
|
113
|
+
const AMap = window.AMap;
|
|
114
|
+
if (!AMap) {
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
if (!mapContainerRef.value) {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
map = new AMap.Map(mapContainerRef.value, {
|
|
121
|
+
viewMode: "3D",
|
|
122
|
+
zoom: 11
|
|
123
|
+
});
|
|
124
|
+
map == null ? void 0 : map.on("click", (e) => {
|
|
125
|
+
const lnglat = e.lnglat;
|
|
126
|
+
const lng = lnglat.lng;
|
|
127
|
+
const lat = lnglat.lat;
|
|
128
|
+
if (lng != null && lat != null) {
|
|
129
|
+
addMarker(lng, lat);
|
|
130
|
+
getAddress(lng, lat);
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
const AMapUI = window.AMapUI;
|
|
134
|
+
if (!AMapUI) {
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
if (!searchInputRef.value || !searchResultContainerRef.value) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
AMapUI.loadUI(["misc/PoiPicker"], function(PoiPicker) {
|
|
141
|
+
if (!searchInputRef.value || !searchResultContainerRef.value || !PoiPicker) {
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
poiPicker = new PoiPicker({
|
|
145
|
+
input: searchInputRef.value,
|
|
146
|
+
placeSearchOptions: {
|
|
147
|
+
map
|
|
148
|
+
},
|
|
149
|
+
searchResultsContainer: searchResultContainerRef.value
|
|
150
|
+
});
|
|
151
|
+
poiPicker == null ? void 0 : poiPicker.on("poiPicked", function(poiResult) {
|
|
152
|
+
var _a2, _b;
|
|
153
|
+
clearMarker();
|
|
154
|
+
const item = poiResult.item;
|
|
155
|
+
if (item) {
|
|
156
|
+
addressInfo.address = item.name;
|
|
157
|
+
addressInfo.longitude = (_a2 = item.location) == null ? void 0 : _a2.lng;
|
|
158
|
+
addressInfo.latitude = (_b = item.location) == null ? void 0 : _b.lat;
|
|
159
|
+
searchValue.value = item.name;
|
|
160
|
+
if (poiResult.source !== "search") {
|
|
161
|
+
poiPicker == null ? void 0 : poiPicker.searchByKeyword(item.name);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
};
|
|
167
|
+
const handleShow = () => {
|
|
168
|
+
var _a2;
|
|
169
|
+
dialogVisible.value = true;
|
|
170
|
+
(_a2 = inputRef.value) == null ? void 0 : _a2.blur();
|
|
171
|
+
nextTick(async () => {
|
|
172
|
+
var _a3;
|
|
173
|
+
if (!window.AMap) {
|
|
174
|
+
await loadMap();
|
|
175
|
+
}
|
|
176
|
+
if (!map || !((_a3 = mapContainerRef.value) == null ? void 0 : _a3.children.length)) {
|
|
177
|
+
map == null ? void 0 : map.destroy();
|
|
178
|
+
initMap();
|
|
179
|
+
}
|
|
180
|
+
searchValue.value = props.value || "";
|
|
181
|
+
if (editorItem && editorItem.id) {
|
|
182
|
+
const [longitudeName, latitudeName] = editorItem.id.split(",");
|
|
183
|
+
if (props.data) {
|
|
184
|
+
const longitude = props.data[longitudeName];
|
|
185
|
+
const latitude = props.data[latitudeName];
|
|
186
|
+
if (longitude && latitude) {
|
|
187
|
+
map == null ? void 0 : map.setCenter([longitude, latitude], true);
|
|
188
|
+
addMarker(longitude, latitude);
|
|
189
|
+
getAddress(longitude, latitude);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
};
|
|
195
|
+
const handleConfirm = () => {
|
|
196
|
+
dialogVisible.value = false;
|
|
197
|
+
if (editorItem && editorItem.id) {
|
|
198
|
+
const [longitudeName, latitudeName] = editorItem.id.split(",");
|
|
199
|
+
if (longitudeName) {
|
|
200
|
+
emit("change", addressInfo.longitude != null ? addressInfo.longitude : null, longitudeName);
|
|
201
|
+
}
|
|
202
|
+
if (latitudeName) {
|
|
203
|
+
emit("change", addressInfo.latitude != null ? addressInfo.latitude : null, latitudeName);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
emit("change", addressInfo.address || "");
|
|
207
|
+
};
|
|
208
|
+
const handleClose = () => {
|
|
209
|
+
if (poiPicker) {
|
|
210
|
+
poiPicker.clearSuggest();
|
|
211
|
+
poiPicker.clearSearchResults();
|
|
212
|
+
}
|
|
213
|
+
searchValue.value = "";
|
|
214
|
+
addressInfo.address = "";
|
|
215
|
+
addressInfo.longitude = null;
|
|
216
|
+
addressInfo.latitude = null;
|
|
217
|
+
clearMarker();
|
|
218
|
+
};
|
|
219
|
+
const handleClear = () => {
|
|
220
|
+
if (editorItem && editorItem.id) {
|
|
221
|
+
const [longitudeName, latitudeName] = editorItem.id.split(",");
|
|
222
|
+
if (longitudeName) {
|
|
223
|
+
emit("change", null, longitudeName);
|
|
224
|
+
}
|
|
225
|
+
if (latitudeName) {
|
|
226
|
+
emit("change", null, latitudeName);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
emit("change", "");
|
|
230
|
+
};
|
|
231
|
+
const handleSearchClear = () => {
|
|
232
|
+
searchValue.value = "";
|
|
233
|
+
addressInfo.address = "";
|
|
234
|
+
addressInfo.longitude = null;
|
|
235
|
+
addressInfo.latitude = null;
|
|
236
|
+
clearMarker();
|
|
237
|
+
};
|
|
238
|
+
onUnmounted(() => {
|
|
239
|
+
map == null ? void 0 : map.destroy();
|
|
240
|
+
});
|
|
241
|
+
return {
|
|
242
|
+
ns,
|
|
243
|
+
c,
|
|
244
|
+
inputRef,
|
|
245
|
+
searchInputRef,
|
|
246
|
+
mapContainerRef,
|
|
247
|
+
searchResultContainerRef,
|
|
248
|
+
dialogVisible,
|
|
249
|
+
isLoading,
|
|
250
|
+
searchValue,
|
|
251
|
+
showFormDefaultContent,
|
|
252
|
+
handleShow,
|
|
253
|
+
handleConfirm,
|
|
254
|
+
handleClose,
|
|
255
|
+
handleClear,
|
|
256
|
+
handleSearchClear
|
|
257
|
+
};
|
|
258
|
+
},
|
|
259
|
+
render() {
|
|
260
|
+
const icon = createVNode("svg", {
|
|
261
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
262
|
+
"viewBox": "0 0 1024 1024"
|
|
263
|
+
}, [createVNode("path", {
|
|
264
|
+
"fill": "currentColor",
|
|
265
|
+
"d": "m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"
|
|
266
|
+
}, null), createVNode("path", {
|
|
267
|
+
"fill": "currentColor",
|
|
268
|
+
"d": "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
|
|
269
|
+
}, null)]);
|
|
270
|
+
let content;
|
|
271
|
+
if (this.readonly) {
|
|
272
|
+
content = this.value;
|
|
273
|
+
} else {
|
|
274
|
+
content = [createVNode(resolveComponent("el-input"), {
|
|
275
|
+
"class": this.ns.b("input"),
|
|
276
|
+
"ref": "inputRef",
|
|
277
|
+
"model-value": this.value,
|
|
278
|
+
"placeholder": this.c.placeHolder,
|
|
279
|
+
"disabled": this.disabled,
|
|
280
|
+
"onFocus": this.handleShow
|
|
281
|
+
}, {
|
|
282
|
+
suffix: () => {
|
|
283
|
+
if (!this.value || this.disabled) {
|
|
284
|
+
return;
|
|
285
|
+
}
|
|
286
|
+
return createVNode("i", {
|
|
287
|
+
"class": "el-icon el-input__icon el-input__clear",
|
|
288
|
+
"onClick": (e) => {
|
|
289
|
+
e.stopPropagation();
|
|
290
|
+
this.handleClear();
|
|
291
|
+
}
|
|
292
|
+
}, [icon]);
|
|
293
|
+
}
|
|
294
|
+
}), createVNode(resolveComponent("el-dialog"), {
|
|
295
|
+
"class": this.ns.b("dialog"),
|
|
296
|
+
"modelValue": this.dialogVisible,
|
|
297
|
+
"onUpdate:modelValue": ($event) => this.dialogVisible = $event,
|
|
298
|
+
"title": ibiz.i18n.t("editor.mapPicker.title"),
|
|
299
|
+
"append-to-body": true,
|
|
300
|
+
"align-center": true,
|
|
301
|
+
"width": "80%",
|
|
302
|
+
"onClose": this.handleClose
|
|
303
|
+
}, {
|
|
304
|
+
default: () => {
|
|
305
|
+
return createVNode("div", {
|
|
306
|
+
"class": this.ns.b("dialog-content")
|
|
307
|
+
}, [createVNode("div", {
|
|
308
|
+
"class": "el-input el-input--suffix ".concat(this.ns.b("dialog-search-input"), " ").concat(this.isLoading ? "is-disabled" : "")
|
|
309
|
+
}, [createVNode("div", {
|
|
310
|
+
"class": "el-input__wrapper",
|
|
311
|
+
"tabindex": "-1"
|
|
312
|
+
}, [withDirectives(createVNode("input", {
|
|
313
|
+
"ref": "searchInputRef",
|
|
314
|
+
"class": "el-input__inner",
|
|
315
|
+
"type": "text",
|
|
316
|
+
"autocomplete": "off",
|
|
317
|
+
"tabindex": "0",
|
|
318
|
+
"placeholder": ibiz.i18n.t("editor.mapPicker.searchPlaceholder"),
|
|
319
|
+
"disabled": this.isLoading,
|
|
320
|
+
"onUpdate:modelValue": ($event) => this.searchValue = $event
|
|
321
|
+
}, null), [[vModelText, this.searchValue]]), this.searchValue ? createVNode("span", {
|
|
322
|
+
"class": "el-input__suffix"
|
|
323
|
+
}, [createVNode("span", {
|
|
324
|
+
"class": "el-input__suffix-inner"
|
|
325
|
+
}, [createVNode("i", {
|
|
326
|
+
"class": "el-icon el-input__icon el-input__clear",
|
|
327
|
+
"onClick": (e) => {
|
|
328
|
+
e.stopPropagation();
|
|
329
|
+
this.handleSearchClear();
|
|
330
|
+
}
|
|
331
|
+
}, [icon])])]) : null])]), withDirectives(createVNode("div", {
|
|
332
|
+
"class": this.ns.b("dialog-map-content")
|
|
333
|
+
}, [createVNode("div", {
|
|
334
|
+
"class": this.ns.b("dialog-map-container"),
|
|
335
|
+
"ref": "mapContainerRef"
|
|
336
|
+
}, null), createVNode("div", {
|
|
337
|
+
"class": this.ns.b("dialog-search-result-container"),
|
|
338
|
+
"ref": "searchResultContainerRef"
|
|
339
|
+
}, null)]), [[resolveDirective("loading"), this.isLoading]])]);
|
|
340
|
+
},
|
|
341
|
+
footer: () => {
|
|
342
|
+
let _slot;
|
|
343
|
+
return createVNode("div", {
|
|
344
|
+
"class": this.ns.b("dialog-footer")
|
|
345
|
+
}, [createVNode(resolveComponent("el-button"), {
|
|
346
|
+
"type": "primary",
|
|
347
|
+
"disabled": this.isLoading,
|
|
348
|
+
"onClick": this.handleConfirm
|
|
349
|
+
}, _isSlot(_slot = ibiz.i18n.t("editor.common.confirm")) ? _slot : {
|
|
350
|
+
default: () => [_slot]
|
|
351
|
+
})]);
|
|
352
|
+
}
|
|
353
|
+
})];
|
|
354
|
+
}
|
|
355
|
+
const formDefaultContent = createVNode("div", {
|
|
356
|
+
"class": this.ns.b("form-default-content")
|
|
357
|
+
}, [this.value ? this.value : ibiz.config.common.emptyText]);
|
|
358
|
+
return createVNode("div", {
|
|
359
|
+
"class": [this.ns.b(), this.disabled ? this.ns.m("disabled") : "", this.readonly ? this.ns.m("readonly") : "", this.ns.is("show-default", this.showFormDefaultContent)]
|
|
360
|
+
}, [this.showFormDefaultContent && formDefaultContent, content]);
|
|
361
|
+
}
|
|
362
|
+
});
|
|
363
|
+
|
|
364
|
+
export { IBizMapPicker };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EditorController } from '@ibiz-template/runtime';
|
|
2
|
+
import { IMapPicker } from '@ibiz/model-core';
|
|
3
|
+
/**
|
|
4
|
+
* @description 地图选择器编辑器控制器
|
|
5
|
+
* @export
|
|
6
|
+
* @class MapPickerEditorController
|
|
7
|
+
* @extends {EditorController<IMapPicker>}
|
|
8
|
+
*/
|
|
9
|
+
export declare class MapPickerEditorController extends EditorController<IMapPicker> {
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IEditorContainerController, IEditorProvider } from '@ibiz-template/runtime';
|
|
2
|
+
import { IMapPicker } from '@ibiz/model-core';
|
|
3
|
+
import { MapPickerEditorController } from './map-picker-editor.controller';
|
|
4
|
+
/**
|
|
5
|
+
* @description 地图选择器编辑器适配器
|
|
6
|
+
* @export
|
|
7
|
+
* @class MapPickerEditorProvider
|
|
8
|
+
* @implements {IEditorProvider}
|
|
9
|
+
*/
|
|
10
|
+
export declare class MapPickerEditorProvider implements IEditorProvider {
|
|
11
|
+
formEditor: string;
|
|
12
|
+
gridEditor: string;
|
|
13
|
+
createController(editorModel: IMapPicker, parentController: IEditorContainerController): Promise<MapPickerEditorController>;
|
|
14
|
+
}
|