@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
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
require('./ibiz-cascader.css');
|
|
6
5
|
var ramda = require('ramda');
|
|
7
|
-
|
|
6
|
+
require('./ibiz-cascader.css');
|
|
8
7
|
|
|
9
8
|
"use strict";
|
|
10
9
|
const IBizCascader = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -173,14 +172,24 @@ const IBizCascader = /* @__PURE__ */ vue.defineComponent({
|
|
|
173
172
|
const context = ramda.clone(c.context);
|
|
174
173
|
const params = ramda.clone(c.params);
|
|
175
174
|
if (index > 0) {
|
|
176
|
-
const
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
175
|
+
const {
|
|
176
|
+
appDataEntityId: parentAppDataEntityId
|
|
177
|
+
} = valueItems.value[index - 1];
|
|
178
|
+
const {
|
|
179
|
+
appId,
|
|
180
|
+
appDataEntityId: childAppDataEntityId
|
|
181
|
+
} = valueItems.value[index];
|
|
182
|
+
const appDataEntity = await ibiz.hub.getAppDataEntity(childAppDataEntityId, appId);
|
|
183
|
+
const {
|
|
184
|
+
minorAppDERSs
|
|
185
|
+
} = appDataEntity;
|
|
186
|
+
if (minorAppDERSs) {
|
|
187
|
+
const appDeRSs = minorAppDERSs.find((DERSs) => DERSs.majorAppDataEntityId === parentAppDataEntityId);
|
|
188
|
+
if (appDeRSs && appDeRSs.parentAppDEFieldId)
|
|
189
|
+
Object.assign(params, {
|
|
190
|
+
["n_".concat(appDeRSs.parentAppDEFieldId.toLowerCase(), "_eq")]: value
|
|
191
|
+
});
|
|
192
|
+
}
|
|
184
193
|
}
|
|
185
194
|
return {
|
|
186
195
|
context,
|
|
@@ -129,7 +129,7 @@ const IBizCheckboxList = /* @__PURE__ */ vue.defineComponent({
|
|
|
129
129
|
return vue.createVNode("div", {
|
|
130
130
|
"ref": "editorRef",
|
|
131
131
|
"class": [this.ns.b(), this.disabled ? this.ns.m("disabled") : "", this.readonly ? this.ns.m("readonly") : "", this.ns.is("show-default", this.showFormDefaultContent), this.ns.is("grid-layout", !!this.controller.rowNumber)],
|
|
132
|
-
"style": this.controller.rowNumber ? "
|
|
132
|
+
"style": this.controller.rowNumber ? "".concat(this.ns.cssVarBlockName("group-row-number"), ":").concat(this.controller.rowNumber) : ""
|
|
133
133
|
}, [this.readonly ? this.valueText : vue.createVNode(vue.resolveComponent("el-checkbox-group"), vue.mergeProps({
|
|
134
134
|
"model-value": this.selectArray,
|
|
135
135
|
"onChange": this.onSelectArrayChange
|
|
@@ -187,20 +187,20 @@ const IBizCode = /* @__PURE__ */ vue.defineComponent({
|
|
|
187
187
|
return true;
|
|
188
188
|
}
|
|
189
189
|
},
|
|
190
|
-
abortQuestion: (aiChat) => {
|
|
190
|
+
abortQuestion: async (aiChat) => {
|
|
191
191
|
abortController == null ? void 0 : abortController.abort();
|
|
192
|
-
aiChat.stopMessage({
|
|
192
|
+
await aiChat.stopMessage({
|
|
193
193
|
messageid: id,
|
|
194
194
|
state: 30,
|
|
195
195
|
type: "DEFAULT",
|
|
196
196
|
role: "ASSISTANT",
|
|
197
197
|
content: ""
|
|
198
198
|
});
|
|
199
|
-
aiChat.completeMessage(id, true);
|
|
199
|
+
await aiChat.completeMessage(id, true);
|
|
200
200
|
},
|
|
201
201
|
action: (action, message) => {
|
|
202
202
|
if (action === "backfill")
|
|
203
|
-
emit("change", message.
|
|
203
|
+
emit("change", message.realcontent);
|
|
204
204
|
},
|
|
205
205
|
history: async (ctx, param, other) => {
|
|
206
206
|
const deService = await ibiz.hub.getApp(ctx.srfappid).deService.getService(ctx, other.appDataEntityId);
|
|
@@ -336,6 +336,8 @@ const IBizCode = /* @__PURE__ */ vue.defineComponent({
|
|
|
336
336
|
},
|
|
337
337
|
fontSize: 16,
|
|
338
338
|
// 字体大小
|
|
339
|
+
fixedOverflowWidgets: true,
|
|
340
|
+
// 确保悬浮提示不会被裁剪
|
|
339
341
|
scrollBeyondLastLine: false,
|
|
340
342
|
// 取消代码后面一大段空白
|
|
341
343
|
overviewRulerBorder: false
|
|
@@ -434,20 +436,16 @@ const IBizCode = /* @__PURE__ */ vue.defineComponent({
|
|
|
434
436
|
editorInit();
|
|
435
437
|
};
|
|
436
438
|
const isAllowRenderFullScreen = () => {
|
|
437
|
-
if (enableFullScreen.value)
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
"aria-hidden": "true",
|
|
442
|
-
"onClick": () => changeFullScreenState()
|
|
443
|
-
}, null);
|
|
444
|
-
}
|
|
445
|
-
return vue.createVNode("i", {
|
|
446
|
-
"class": "fa fa-expand",
|
|
447
|
-
"aria-hidden": "true",
|
|
439
|
+
if (enableFullScreen.value)
|
|
440
|
+
return vue.createVNode("span", {
|
|
441
|
+
"class": ns.be("toolbar", "fullscreen"),
|
|
442
|
+
"title": ibiz.i18n.t("editor.common.".concat(isFullScreen.value ? "minimize" : "fullscreen")),
|
|
448
443
|
"onClick": () => changeFullScreenState()
|
|
449
|
-
},
|
|
450
|
-
|
|
444
|
+
}, [isFullScreen.value ? vue.createVNode("i", {
|
|
445
|
+
"class": "ch-icon ch-icon-minscreen"
|
|
446
|
+
}, null) : vue.createVNode("i", {
|
|
447
|
+
"class": "ch-icon ch-icon-fullscreen"
|
|
448
|
+
}, null)]);
|
|
451
449
|
return null;
|
|
452
450
|
};
|
|
453
451
|
const renderCancelMessage = () => {
|
|
@@ -552,12 +550,10 @@ const IBizCode = /* @__PURE__ */ vue.defineComponent({
|
|
|
552
550
|
[this.ns.b("editor-readonly")]: this.readonlyState
|
|
553
551
|
}, {
|
|
554
552
|
[this.ns.b("editor-enable")]: !this.readonlyState
|
|
555
|
-
}]
|
|
553
|
+
}, this.ns.is("enable", this.hasEnableEdit)]
|
|
556
554
|
}, [this.renderHeaderToolbar(), this.renderCodeContent(), this.hasEnableEdit && !this.readonlyState ? this.renderFooter() : null]), [[vue.resolveDirective("loading"), isLoading]]) : vue.createVNode(vue.resolveComponent("el-dialog"), {
|
|
557
555
|
"modelValue": this.isFullScreen,
|
|
558
556
|
"onUpdate:modelValue": ($event) => this.isFullScreen = $event,
|
|
559
|
-
"width": "80%",
|
|
560
|
-
"top": "10vh",
|
|
561
557
|
"class": this.ns.b("dialog-full-screen"),
|
|
562
558
|
"onClose": () => this.changeFullScreenState()
|
|
563
559
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-code{display:flex;flex-direction:column;width:100%;height:100%}.ibiz-code__box{width:100%;height:100%;min-height:200px;overflow:hidden}.ibiz-code__first-prompt::before{padding-right:var(--ibiz-spacing-base);content:var(--ibiz-code-placeholder)}.ibiz-code-toolbar{display:flex;align-items:center;justify-content:end;width:
|
|
1
|
+
.ibiz-code{display:flex;flex-direction:column;width:100%;height:100%}.ibiz-code__box{width:100%;height:100%;min-height:200px;overflow:hidden}.ibiz-code__first-prompt::before{padding-right:var(--ibiz-spacing-base);content:var(--ibiz-code-placeholder)}.ibiz-code-toolbar{position:absolute;top:4px;right:18px;z-index:10;display:flex;align-items:center;justify-content:end;width:auto;height:auto;padding-right:0;font-size:var(--ibiz-font-size-header-6)}.ibiz-code-toolbar>*+*{margin-left:var(--ibiz-spacing-base-loose)}.ibiz-code-toolbar__fullscreen{height:38px;padding:0 12px;font-size:var(--ibiz-font-size-regular);font-style:normal;line-height:2.8;cursor:pointer}.ibiz-code-toolbar__fullscreen:hover{background-color:var(--ibiz-color-bg-3)}.ibiz-code-footer{--ibiz-code-footer-toolbar-height:36px;--ibiz-code-footer-button-height:36px;display:flex;align-items:center;justify-content:end;width:100%;min-height:var(--ibiz-code-footer-toolbar-height);margin-top:var(--ibiz-spacing-base-tight);margin-right:var(--ibiz-spacing-tight)}.ibiz-code-footer>*+*{margin-left:var(--ibiz-spacing-base)}.ibiz-code-footer__cancel{height:var(--ibiz-code-footer-button-height);line-height:var(--ibiz-code-footer-button-height);color:var(--ibiz-color-text-1);cursor:pointer;opacity:.7}.ibiz-code-footer__cancel:hover{color:var(--ibiz-color-primary);opacity:1}.ibiz-code-footer__save{width:96px;height:var(--ibiz-code-footer-button-height);line-height:var(--ibiz-code-footer-button-height);color:var(--ibiz-color-primary-active-text);text-align:center;cursor:pointer;background-color:var(--ibiz-color-primary);border-radius:var(--ibiz-border-radius-small)}.ibiz-code-footer__save:hover{box-shadow:0 2px 5px 1px var(--ibiz-color-primary)}.ibiz-code-message{width:500px;max-width:unset}.ibiz-code-message__message-content--message-tip{color:var(--ibiz-color-text-3)}.ibiz-code-message__message-cancel{color:var(--ibiz-color-text-1);background-color:transparent}.ibiz-code-message__message-cancel:hover{color:var(--ibiz-color-primary);background-color:transparent}.ibiz-code-message__message-comfire{background-color:var(--ibiz-color-danger)!important}.ibiz-code-message__message-comfire:hover{box-shadow:0 2px 5px 1px var(--ibiz-color-danger)}.ibiz-code-editor-enable{--ibiz-code-footer-toolbar-height:36px;--ibiz-code-footer-button-height:36px}.ibiz-code-editor-enable .ibiz-code__box{height:100%}.ibiz-code-editor-enable:has(.ibiz-code-footer) .ibiz-code__box{height:calc(100% - var(--ibiz-code-footer-toolbar-height))}.ibiz-code-dialog-full-screen{width:100%!important;height:100%!important;margin:0!important}.ibiz-code-dialog-full-screen .ibiz-code-footer{--ibiz-code-footer-toolbar-height:68px}.ibiz-code-dialog-full-screen .ibiz-code{gap:0;padding:0 var(--ibiz-spacing-extra-loose);--w-e-toolbar-bg-color:var(--ibiz-color-bg-0)}.ibiz-code-dialog-full-screen .ibiz-code .ibiz-code-toolbar{right:calc(var(--ibiz-spacing-extra-loose) + 18px)}.ibiz-code-dialog-full-screen .el-dialog__header{display:none!important}.ibiz-code-dialog-full-screen .el-dialog__body{width:100%;height:100%;padding:0 0 var(--ibiz-spacing-base)}.ibiz-code-dialog-full-screen .el-dialog__body:has(.ibiz-code-footer){padding-bottom:0}.ibiz-code-footer-dialog{margin-top:0}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
require('./ibiz-color-picker.css');
|
|
6
5
|
var ibizColorMpickerCustom = require('../ibiz-color-mpicker-custom/ibiz-color-mpicker-custom.cjs');
|
|
7
6
|
var ibizColorMpickerDefault = require('../ibiz-color-mpicker-default/ibiz-color-mpicker-default.cjs');
|
|
7
|
+
require('./ibiz-color-picker.css');
|
|
8
8
|
|
|
9
9
|
"use strict";
|
|
10
10
|
const IBizColorPicker = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
require('./ibiz-mpicker.css');
|
|
6
5
|
var lodashEs = require('lodash-es');
|
|
7
6
|
var core = require('@ibiz-template/core');
|
|
7
|
+
require('./ibiz-mpicker.css');
|
|
8
8
|
|
|
9
9
|
"use strict";
|
|
10
10
|
const IBizMPicker = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
5
|
var ramda = require('ramda');
|
|
6
|
-
require('./ibiz-picker.css');
|
|
7
6
|
var core = require('@ibiz-template/core');
|
|
7
|
+
require('./ibiz-picker.css');
|
|
8
8
|
|
|
9
9
|
"use strict";
|
|
10
10
|
const IBizPicker = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -190,13 +190,13 @@ const IBizPicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
190
190
|
vue.onMounted(() => {
|
|
191
191
|
vue.watch(() => props.data[c.valueItem], async (newVal, oldVal) => {
|
|
192
192
|
if (newVal !== oldVal) {
|
|
193
|
-
if (!isLoaded.value &&
|
|
193
|
+
if (!isLoaded.value && ramda.isNil(props.value) && !ramda.isNil(newVal)) {
|
|
194
194
|
await onSearch("");
|
|
195
195
|
}
|
|
196
196
|
const curItem = items.value.find((item) => Object.is(item[c.keyName], newVal));
|
|
197
197
|
if (curItem) {
|
|
198
198
|
curValue.value = curItem[c.textName];
|
|
199
|
-
if (
|
|
199
|
+
if (ramda.isNil(props.value) && !ramda.isNil(newVal)) {
|
|
200
200
|
emit("change", curValue.value, c.model.id, true);
|
|
201
201
|
}
|
|
202
202
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
5
|
var ramda = require('ramda');
|
|
6
|
-
require('./ibiz-picker-dropdown.css');
|
|
7
6
|
var core = require('@ibiz-template/core');
|
|
7
|
+
require('./ibiz-picker-dropdown.css');
|
|
8
8
|
|
|
9
9
|
"use strict";
|
|
10
10
|
const IBizPickerDropDown = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -25,6 +25,7 @@ const IBizPickerDropDown = /* @__PURE__ */ vue.defineComponent({
|
|
|
25
25
|
const loading = vue.ref(false);
|
|
26
26
|
let waitQuery = null;
|
|
27
27
|
const isLoaded = vue.ref(false);
|
|
28
|
+
const hiddenInputRef = vue.ref();
|
|
28
29
|
const showFormDefaultContent = vue.computed(() => {
|
|
29
30
|
if (props.controlParams && props.controlParams.editmode === "hover" && !props.readonly) {
|
|
30
31
|
return true;
|
|
@@ -144,9 +145,21 @@ const IBizPickerDropDown = /* @__PURE__ */ vue.defineComponent({
|
|
|
144
145
|
}
|
|
145
146
|
};
|
|
146
147
|
const onOpenChange = (isOpen) => {
|
|
148
|
+
var _a, _b, _c;
|
|
147
149
|
if (isOpen) {
|
|
148
150
|
items.value = [];
|
|
149
151
|
onSearch("");
|
|
152
|
+
} else {
|
|
153
|
+
const isSearchForm = (
|
|
154
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
155
|
+
((_c = (_b = (_a = c.parent) == null ? void 0 : _a.form) == null ? void 0 : _b.model) == null ? void 0 : _c.controlType) === "SEARCHFORM"
|
|
156
|
+
);
|
|
157
|
+
if (isSearchForm) {
|
|
158
|
+
vue.nextTick(() => {
|
|
159
|
+
var _a2;
|
|
160
|
+
(_a2 = hiddenInputRef.value) == null ? void 0 : _a2.focus();
|
|
161
|
+
});
|
|
162
|
+
}
|
|
150
163
|
}
|
|
151
164
|
};
|
|
152
165
|
const onClear = () => {
|
|
@@ -196,7 +209,7 @@ const IBizPickerDropDown = /* @__PURE__ */ vue.defineComponent({
|
|
|
196
209
|
vue.onMounted(() => {
|
|
197
210
|
vue.watch(() => props.data[c.valueItem], async (newVal, oldVal) => {
|
|
198
211
|
if (newVal !== oldVal) {
|
|
199
|
-
if (!isLoaded.value &&
|
|
212
|
+
if (!isLoaded.value && ramda.isNil(props.value) && !ramda.isNil(newVal)) {
|
|
200
213
|
shouldLoad.value = true;
|
|
201
214
|
await onSearch("");
|
|
202
215
|
shouldLoad.value = false;
|
|
@@ -204,7 +217,7 @@ const IBizPickerDropDown = /* @__PURE__ */ vue.defineComponent({
|
|
|
204
217
|
const curItem = items.value.find((item) => Object.is(item[c.keyName], newVal));
|
|
205
218
|
if (curItem) {
|
|
206
219
|
curValue.value = curItem[c.textName];
|
|
207
|
-
if (
|
|
220
|
+
if (ramda.isNil(props.value) && !ramda.isNil(newVal)) {
|
|
208
221
|
emit("change", curValue.value, c.model.id, true);
|
|
209
222
|
}
|
|
210
223
|
}
|
|
@@ -280,7 +293,8 @@ const IBizPickerDropDown = /* @__PURE__ */ vue.defineComponent({
|
|
|
280
293
|
showFormDefaultContent,
|
|
281
294
|
renderGroupAction,
|
|
282
295
|
renderEmpty,
|
|
283
|
-
popoverid
|
|
296
|
+
popoverid,
|
|
297
|
+
hiddenInputRef
|
|
284
298
|
};
|
|
285
299
|
},
|
|
286
300
|
render() {
|
|
@@ -345,9 +359,16 @@ const IBizPickerDropDown = /* @__PURE__ */ vue.defineComponent({
|
|
|
345
359
|
const formDefaultContent = vue.createVNode("div", {
|
|
346
360
|
"class": this.ns.b("form-default-content")
|
|
347
361
|
}, [this.curValue ? this.valueText : ibiz.config.common.emptyText]);
|
|
362
|
+
const hiddenInput = vue.createVNode("input", {
|
|
363
|
+
"ref": "hiddenInputRef",
|
|
364
|
+
"type": "text",
|
|
365
|
+
"class": this.ns.e("hidden-input"),
|
|
366
|
+
"readonly": true,
|
|
367
|
+
"onKeyup": this.handleKeyUp
|
|
368
|
+
}, null);
|
|
348
369
|
return vue.createVNode("div", {
|
|
349
370
|
"class": [this.ns.b(), this.disabled ? this.ns.m("disabled") : "", this.readonly ? this.ns.m("readonly") : "", this.ns.is("editable", this.isEditable), this.ns.is("show-default", this.showFormDefaultContent)]
|
|
350
|
-
}, [this.showFormDefaultContent && formDefaultContent, this.readonly ? readonlyContent : editContent]);
|
|
371
|
+
}, [this.showFormDefaultContent && formDefaultContent, this.readonly ? readonlyContent : editContent, this.readonly ? null : hiddenInput]);
|
|
351
372
|
}
|
|
352
373
|
});
|
|
353
374
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-picker-dropdown{--ibiz-picker-dropdown-height:var(--ibiz-editor-default-line-height);--ibiz-picker-dropdown-empty-bg-color:var(--ibiz-color-bg-3);--ibiz-picker-dropdown-transfer-zindex:1000}.ibiz-picker-dropdown .el-select{width:100%}.ibiz-picker-dropdown .el-input .el-input__inner{font-size:var(--ibiz-form-item-font-size);color:var(--ibiz-form-item-text-color);border-color:var(--ibiz-form-item-border-color)}.ibiz-picker-dropdown .el-input .el-input__inner::-moz-placeholder{color:var(--ibiz-form-item-placeholder-color)}.ibiz-picker-dropdown .el-input .el-input__inner::placeholder{color:var(--ibiz-form-item-placeholder-color)}.ibiz-picker-dropdown .el-input.is-disabled .el-input__inner{color:var(--ibiz-form-item-disabled-color);border-color:var(--ibiz-form-item-disabled-border-color)}.ibiz-picker-dropdown--readonly{font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-form-item-readonly-color)}.ibiz-picker-dropdown__action-item{color:var(--ibiz-color-link);text-align:center}.ibiz-picker-dropdown__empty{padding:0;--ibiz-no-data-min-height:100px;--el-empty-image-width:100px}.ibiz-picker-dropdown__transfer{--ibiz-picker-dropdown-height:var(--ibiz-editor-default-line-height);--ibiz-picker-dropdown-empty-bg-color:var(--ibiz-color-bg-3);--ibiz-picker-dropdown-transfer-zindex:1000;z-index:var(--ibiz-picker-dropdown-transfer-zindex)!important}.ibiz-picker-dropdown__transfer.is-empty .el-select-dropdown__item{height:auto;padding:0}.ibiz-picker-dropdown__transfer.is-empty .ibiz-no-data{background-color:var(--ibiz-picker-dropdown-empty-bg-color)}.ibiz-picker-dropdown-form-default-content{display:none}.ibiz-form-item .ibiz-picker-dropdown.is-show-default:hover .ibiz-picker-dropdown-form-default-content{display:none}.ibiz-form-item .ibiz-picker-dropdown.is-show-default:hover .ibiz-picker-dropdown-select{display:block}.ibiz-form-item .ibiz-picker-dropdown.is-show-default .ibiz-picker-dropdown-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)}.ibiz-form-item .ibiz-picker-dropdown.is-show-default .ibiz-picker-dropdown-select{display:none}.ibiz-form-item .ibiz-picker-dropdown.is-show-default.is-editable .ibiz-picker-dropdown-form-default-content{display:none}.ibiz-form-item .ibiz-picker-dropdown.is-show-default.is-editable .ibiz-picker-dropdown-select{display:block}
|
|
1
|
+
.ibiz-picker-dropdown{--ibiz-picker-dropdown-height:var(--ibiz-editor-default-line-height);--ibiz-picker-dropdown-empty-bg-color:var(--ibiz-color-bg-3);--ibiz-picker-dropdown-transfer-zindex:1000}.ibiz-picker-dropdown .el-select{width:100%}.ibiz-picker-dropdown .el-input .el-input__inner{font-size:var(--ibiz-form-item-font-size);color:var(--ibiz-form-item-text-color);border-color:var(--ibiz-form-item-border-color)}.ibiz-picker-dropdown .el-input .el-input__inner::-moz-placeholder{color:var(--ibiz-form-item-placeholder-color)}.ibiz-picker-dropdown .el-input .el-input__inner::placeholder{color:var(--ibiz-form-item-placeholder-color)}.ibiz-picker-dropdown .el-input.is-disabled .el-input__inner{color:var(--ibiz-form-item-disabled-color);border-color:var(--ibiz-form-item-disabled-border-color)}.ibiz-picker-dropdown--readonly{font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-form-item-readonly-color)}.ibiz-picker-dropdown__action-item{color:var(--ibiz-color-link);text-align:center}.ibiz-picker-dropdown__empty{padding:0;--ibiz-no-data-min-height:100px;--el-empty-image-width:100px}.ibiz-picker-dropdown__transfer{--ibiz-picker-dropdown-height:var(--ibiz-editor-default-line-height);--ibiz-picker-dropdown-empty-bg-color:var(--ibiz-color-bg-3);--ibiz-picker-dropdown-transfer-zindex:1000;z-index:var(--ibiz-picker-dropdown-transfer-zindex)!important}.ibiz-picker-dropdown__transfer.is-empty .el-select-dropdown__item{height:auto;padding:0}.ibiz-picker-dropdown__transfer.is-empty .ibiz-no-data{background-color:var(--ibiz-picker-dropdown-empty-bg-color)}.ibiz-picker-dropdown__hidden-input{position:relative;z-index:-9999;width:0;height:0;padding:0;margin:0;border:none;opacity:0}.ibiz-picker-dropdown-form-default-content{display:none}.ibiz-form-item .ibiz-picker-dropdown.is-show-default:hover .ibiz-picker-dropdown-form-default-content{display:none}.ibiz-form-item .ibiz-picker-dropdown.is-show-default:hover .ibiz-picker-dropdown-select{display:block}.ibiz-form-item .ibiz-picker-dropdown.is-show-default .ibiz-picker-dropdown-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)}.ibiz-form-item .ibiz-picker-dropdown.is-show-default .ibiz-picker-dropdown-select{display:none}.ibiz-form-item .ibiz-picker-dropdown.is-show-default.is-editable .ibiz-picker-dropdown-form-default-content{display:none}.ibiz-form-item .ibiz-picker-dropdown.is-show-default.is-editable .ibiz-picker-dropdown-select{display:block}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
5
|
var core = require('@ibiz-template/core');
|
|
6
|
-
require('./ibiz-picker-link.css');
|
|
7
6
|
var ramda = require('ramda');
|
|
7
|
+
require('./ibiz-picker-link.css');
|
|
8
8
|
|
|
9
9
|
"use strict";
|
|
10
10
|
const IBizPickerLink = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
require('./ibiz-picker-select-view.css');
|
|
6
|
-
var runtime = require('@ibiz-template/runtime');
|
|
7
5
|
var ramda = require('ramda');
|
|
6
|
+
var runtime = require('@ibiz-template/runtime');
|
|
7
|
+
require('./ibiz-picker-select-view.css');
|
|
8
8
|
|
|
9
9
|
"use strict";
|
|
10
10
|
function _isSlot(s) {
|
|
@@ -476,6 +476,7 @@ const IBizPickerSelectView = /* @__PURE__ */ vue.defineComponent({
|
|
|
476
476
|
});
|
|
477
477
|
},
|
|
478
478
|
dropdown: () => {
|
|
479
|
+
var _a;
|
|
479
480
|
if (!this.showView) {
|
|
480
481
|
return;
|
|
481
482
|
}
|
|
@@ -485,7 +486,7 @@ const IBizPickerSelectView = /* @__PURE__ */ vue.defineComponent({
|
|
|
485
486
|
params: this.params,
|
|
486
487
|
viewId: this.c.pickupView.id,
|
|
487
488
|
style: {
|
|
488
|
-
height: "
|
|
489
|
+
height: "".concat(((_a = this.c.editorParams) == null ? void 0 : _a.pickupViewHeight) || 500, "px"),
|
|
489
490
|
width: this.pickViewWidth
|
|
490
491
|
},
|
|
491
492
|
state: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-picker-select-view{width:100%}.ibiz-picker-select-view .el-dropdown{width:100%}.ibiz-picker-select-view .el-select{width:100%}.ibiz-picker-select-view__arrow{display:flex;transition:transform .3s;transform:rotateZ(0);transform-origin:center center}.ibiz-picker-select-view__arrow>svg{width:14px;height:14px}.ibiz-picker-select-view__arrow.overturn{transform:rotateZ(-180deg)}.ibiz-picker-select-view--readonly{font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-form-item-readonly-color)}.ibiz-picker-select-view-popper.el-popper.el-dropdown__popper{
|
|
1
|
+
.ibiz-picker-select-view{width:100%}.ibiz-picker-select-view .el-dropdown{width:100%}.ibiz-picker-select-view .el-select{width:100%}.ibiz-picker-select-view__arrow{display:flex;transition:transform .3s;transform:rotateZ(0);transform-origin:center center}.ibiz-picker-select-view__arrow>svg{width:14px;height:14px}.ibiz-picker-select-view__arrow.overturn{transform:rotateZ(-180deg)}.ibiz-picker-select-view--readonly{font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-form-item-readonly-color)}.ibiz-picker-select-view-popper.el-popper.el-dropdown__popper{overflow:auto}.ibiz-picker-select-view-popper.el-popper.el-dropdown__popper .el-scrollbar .el-dropdown__list{background:var(--ibiz-color-bg-3)}.ibiz-picker-select-view-popper.el-popper.el-dropdown__popper .el-scrollbar .el-dropdown__list .el-dropdown-menu{background:var(--ibiz-color-bg-3)}.ibiz-picker-select-view-form-default-content{display:none}.ibiz-form-item .ibiz-picker-select-view.is-show-default:hover .ibiz-picker-select-view-form-default-content{display:none}.ibiz-form-item .ibiz-picker-select-view.is-show-default:hover .ibiz-picker-select-view-select{display:block}.ibiz-form-item .ibiz-picker-select-view.is-show-default .ibiz-picker-select-view-form-default-content{display:flex;align-items:center;width:100%;height:var(--ibiz-editor-default-line-height);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)}.ibiz-form-item .ibiz-picker-select-view.is-show-default .ibiz-picker-select-view-form-default-content .ibiz-picker-select-view-content-item{height:calc(var(--ibiz-editor-default-line-height) - var(--ibiz-spacing-tight));padding:0 var(--ibiz-spacing-tight);margin:2px 6px 2px 0;font-size:var(--ibiz-font-size-small);line-height:calc(var(--ibiz-editor-default-line-height) - var(--ibiz-spacing-tight));color:var(--ibiz-editor-default-text-color);background-color:var(--ibiz-color-fill-0);border:1px solid transparent;border-radius:var(--ibiz-border-radius-small)}.ibiz-form-item .ibiz-picker-select-view.is-show-default .ibiz-picker-select-view-select{display:none}.ibiz-form-item .ibiz-picker-select-view.is-show-default.is-editable .ibiz-picker-select-view-form-default-content{display:none}.ibiz-form-item .ibiz-picker-select-view.is-show-default.is-editable .ibiz-picker-select-view-select{display:block}.ibiz-picker-select-view-select-popover{display:none}
|
|
@@ -50,12 +50,12 @@ class DatePickerEditorController extends runtime.EditorController {
|
|
|
50
50
|
* @Date: 2022-08-25 14:33:14
|
|
51
51
|
*/
|
|
52
52
|
get valueFormat() {
|
|
53
|
-
if (this.model.dateTimeFormat) {
|
|
54
|
-
return this.model.dateTimeFormat;
|
|
55
|
-
}
|
|
56
53
|
if (super.valueFormat) {
|
|
57
54
|
return super.valueFormat;
|
|
58
55
|
}
|
|
56
|
+
if (this.model.dateTimeFormat) {
|
|
57
|
+
return this.model.dateTimeFormat;
|
|
58
|
+
}
|
|
59
59
|
return this.getFormatByType(this.model.editorType);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
require('./ibiz-date-picker.css');
|
|
6
5
|
var dayjs = require('dayjs');
|
|
6
|
+
require('./ibiz-date-picker.css');
|
|
7
7
|
|
|
8
8
|
"use strict";
|
|
9
9
|
const IBizDatePicker = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -19,13 +19,8 @@ const IBizDateRangeSelect = /* @__PURE__ */ vue.defineComponent({
|
|
|
19
19
|
"bi-year-range-select": yearRangeSelect.default,
|
|
20
20
|
"bi-week-range-select": weekRangeSelect.default
|
|
21
21
|
},
|
|
22
|
-
props:
|
|
23
|
-
|
|
24
|
-
value: {
|
|
25
|
-
type: Object
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
emits: ["change"],
|
|
22
|
+
props: vue3Util.getDateRangeSelectProps(),
|
|
23
|
+
emits: vue3Util.getDateRangeSelectEmits(),
|
|
29
24
|
setup(props, {
|
|
30
25
|
emit
|
|
31
26
|
}) {
|
|
@@ -28,6 +28,7 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
|
|
|
28
28
|
let editorState = "";
|
|
29
29
|
let funcs;
|
|
30
30
|
const codeItemValueNumber = vue.ref(false);
|
|
31
|
+
const hiddenInputRef = vue.ref();
|
|
31
32
|
const showFormDefaultContent = vue.computed(() => {
|
|
32
33
|
if (props.controlParams && props.controlParams.editmode === "hover" && !props.readonly) {
|
|
33
34
|
return true;
|
|
@@ -47,12 +48,10 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
|
|
|
47
48
|
return [];
|
|
48
49
|
}
|
|
49
50
|
const list = [];
|
|
51
|
+
const existingValues = new Set(codeListItems.value.map((item) => item.value));
|
|
50
52
|
nodes.forEach((codeItem) => {
|
|
51
53
|
var _a;
|
|
52
|
-
|
|
53
|
-
return _item.value === codeItem.value;
|
|
54
|
-
});
|
|
55
|
-
if (index === -1) {
|
|
54
|
+
if (!existingValues.has(codeItem.value)) {
|
|
56
55
|
codeListItems.value.push(codeItem);
|
|
57
56
|
}
|
|
58
57
|
const tempObj = {
|
|
@@ -278,6 +277,17 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
|
|
|
278
277
|
return list.find((item) => item.text === text);
|
|
279
278
|
};
|
|
280
279
|
const onVisibleChange = async (visible) => {
|
|
280
|
+
var _a, _b, _c;
|
|
281
|
+
const isSearchForm = (
|
|
282
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
283
|
+
((_c = (_b = (_a = c.parent) == null ? void 0 : _a.form) == null ? void 0 : _b.model) == null ? void 0 : _c.controlType) === "SEARCHFORM"
|
|
284
|
+
);
|
|
285
|
+
if (!visible && isSearchForm) {
|
|
286
|
+
vue.nextTick(() => {
|
|
287
|
+
var _a2;
|
|
288
|
+
(_a2 = hiddenInputRef.value) == null ? void 0 : _a2.focus();
|
|
289
|
+
});
|
|
290
|
+
}
|
|
281
291
|
if (visible && (!isLoadedCodeList.value || c.editorParams.alwaysLoad === "true")) {
|
|
282
292
|
await loadCodeList();
|
|
283
293
|
if (hasChildren.value && editorRef.value && editorState !== "outside") {
|
|
@@ -348,7 +358,8 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
|
|
|
348
358
|
showFormDefaultContent,
|
|
349
359
|
onVisibleChange,
|
|
350
360
|
isLoading,
|
|
351
|
-
prefix
|
|
361
|
+
prefix,
|
|
362
|
+
hiddenInputRef
|
|
352
363
|
};
|
|
353
364
|
},
|
|
354
365
|
render() {
|
|
@@ -468,10 +479,17 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
|
|
|
468
479
|
"class": this.ns.be("content-item", "label")
|
|
469
480
|
}, [text])]);
|
|
470
481
|
}) : ibiz.config.common.emptyText]);
|
|
482
|
+
const hiddenInput = vue.createVNode("input", {
|
|
483
|
+
"ref": "hiddenInputRef",
|
|
484
|
+
"type": "text",
|
|
485
|
+
"class": this.ns.e("hidden-input"),
|
|
486
|
+
"readonly": true,
|
|
487
|
+
"onKeyup": this.handleKeyUp
|
|
488
|
+
}, null);
|
|
471
489
|
return vue.createVNode("div", {
|
|
472
490
|
"class": [this.ns.b(), this.disabled ? this.ns.m("disabled") : "", this.readonly ? this.ns.m("readonly") : "", this.ns.is("editable", this.isEditable), this.ns.is("show-default", this.showFormDefaultContent), this.c.editorParams.type === "round" && this.ns.m("round")],
|
|
473
491
|
"style": this.cssVars
|
|
474
|
-
}, [this.showFormDefaultContent && formDefaultContent, this.readonly ? readonlyContent : editContent]);
|
|
492
|
+
}, [this.showFormDefaultContent && formDefaultContent, this.readonly ? readonlyContent : editContent, this.readonly ? null : hiddenInput]);
|
|
475
493
|
}
|
|
476
494
|
});
|
|
477
495
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-dropdown{width:var(--ibiz-dropdown-width);--ibiz-dropdown-width:100%;--ibiz-dropdown-readonly-text-item-color:var(--ibiz-form-item-text-color)}.ibiz-dropdown__branch-node>.el-tree-node__content{--ibiz-color-disabled-text:var(--ibiz-color-text-0)}.ibiz-dropdown .el-select{width:100%}.ibiz-dropdown .el-input__wrapper{width:100%}.ibiz-dropdown .el-input__wrapper .el-input__prefix{max-width:calc(100% - 22px);overflow:hidden}.ibiz-dropdown-readonly-text-item{margin-right:var(--ibiz-spacing-tight);font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-dropdown-readonly-text-item-color)}.ibiz-dropdown-readonly-text-item .ibiz-icon{display:flex;align-items:center;justify-content:center;width:var(--ibiz-width-icon-medium);height:var(--ibiz-width-icon-medium);margin-right:var(--ibiz-spacing-extra-tight);font-size:var(--ibiz-font-size-regular)}.ibiz-dropdown-content-item{color:var(--ibiz-dropdown-select-option-item-color)}.
|
|
1
|
+
.ibiz-dropdown{width:var(--ibiz-dropdown-width);--ibiz-dropdown-width:100%;--ibiz-dropdown-readonly-text-item-color:var(--ibiz-form-item-text-color)}.ibiz-dropdown__branch-node>.el-tree-node__content{--ibiz-color-disabled-text:var(--ibiz-color-text-0)}.ibiz-dropdown__hidden-input{position:absolute;z-index:-9999;width:0;height:0;padding:0;margin:0;border:none;opacity:0}.ibiz-dropdown .el-select{width:100%}.ibiz-dropdown .el-input__wrapper{width:100%}.ibiz-dropdown .el-input__wrapper .el-input__prefix{max-width:calc(100% - 22px);overflow:hidden}.ibiz-dropdown-readonly-text-item{margin-right:var(--ibiz-spacing-tight);font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-dropdown-readonly-text-item-color)}.ibiz-dropdown-readonly-text-item .ibiz-icon{display:flex;align-items:center;justify-content:center;width:var(--ibiz-width-icon-medium);height:var(--ibiz-width-icon-medium);margin-right:var(--ibiz-spacing-extra-tight);font-size:var(--ibiz-font-size-regular)}.ibiz-dropdown-content-item{color:var(--ibiz-dropdown-select-option-item-color)}.ibiz-dropdown-select-option-content{display:flex;align-items:center;justify-content:flex-start;width:100%;height:100%;color:var(--ibiz-dropdown-select-option-item-color)}.ibiz-dropdown-select-option-content__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-dropdown-select-option-content .ibiz-icon{display:flex;align-items:center;justify-content:center;width:var(--ibiz-width-icon-medium);height:var(--ibiz-width-icon-medium);margin-right:var(--ibiz-spacing-extra-tight);font-size:var(--ibiz-font-size-regular)}.ibiz-dropdown-form-default-content{display:none}.ibiz-form-item .ibiz-dropdown.is-show-default:hover .ibiz-dropdown-form-default-content{display:none}.ibiz-form-item .ibiz-dropdown.is-show-default:hover .ibiz-dropdown-select{display:block}.ibiz-form-item .ibiz-dropdown.is-show-default .ibiz-dropdown-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)}.ibiz-form-item .ibiz-dropdown.is-show-default .ibiz-dropdown-form-default-content.is-multiple{height:var(--ibiz-editor-default-line-height);--ibiz-dropdown-select-option-item-bkcolor:var(--ibiz-color-fill-0)}.ibiz-form-item .ibiz-dropdown.is-show-default .ibiz-dropdown-form-default-content.is-multiple .ibiz-dropdown-content-item{height:calc(var(--ibiz-editor-default-line-height) - var(--ibiz-spacing-tight));padding:0 var(--ibiz-spacing-tight);margin:2px 6px 2px 0;font-size:var(--ibiz-font-size-small);line-height:calc(var(--ibiz-editor-default-line-height) - var(--ibiz-spacing-tight));color:var(--ibiz-dropdown-select-option-item-color);background-color:var(--ibiz-dropdown-select-option-item-bkcolor);border:1px solid transparent;border-radius:var(--ibiz-border-radius-small)}.ibiz-form-item .ibiz-dropdown.is-show-default .ibiz-dropdown-select{display:none}.ibiz-form-item .ibiz-dropdown.is-show-default .ibiz-dropdown-select .el-input__prefix-inner>:last-child{margin-right:var(--ibiz-spacing-none)}.ibiz-form-item .ibiz-dropdown.is-show-default.is-editable .ibiz-dropdown-form-default-content{display:none}.ibiz-form-item .ibiz-dropdown.is-show-default.is-editable .ibiz-dropdown-select{display:block}.ibiz-form-item .ibiz-dropdown--round.is-show-default .ibiz-dropdown-form-default-content{display:flex;align-items:center;width:100%;height:var(--el-component-size)}.ibiz-form-item .ibiz-dropdown--round.is-show-default .ibiz-dropdown-form-default-content.is-multiple{height:var(--el-component-size);--ibiz-dropdown-select-option-item-bkcolor:var(--ibiz-color-fill-0)}.ibiz-form-item .ibiz-dropdown--round.is-show-default .ibiz-dropdown-form-default-content.is-multiple .ibiz-dropdown-content-item{height:auto;padding:var(--ibiz-spacing-none) var(--ibiz-spacing-base);margin:var(--ibiz-spacing-none);margin-right:var(--ibiz-spacing-extra-tight);font-size:inherit;line-height:var(--ibiz-spacing-loose);color:var(--ibiz-dropdown-select-option-item-color);background-color:var(--ibiz-dropdown-select-option-item-bkcolor);border:none;border-radius:var(--ibiz-spacing-base)}.ibiz-form-item .ibiz-dropdown--round.is-show-default .ibiz-dropdown-select .el-select__tags{display:none}.ibiz-form-item .ibiz-dropdown--round.is-show-default .ibiz-dropdown-content-item{flex:0 0 auto;padding-right:var(--ibiz-spacing-base);padding-left:var(--ibiz-spacing-base);margin-right:var(--ibiz-spacing-extra-tight);line-height:var(--ibiz-spacing-loose);color:var(--ibiz-dropdown-select-option-item-color);background-color:var(--ibiz-dropdown-select-option-item-bkcolor);border-radius:var(--ibiz-spacing-base)}.ibiz-dropdown--round .ibiz-dropdown-readonly-text-item{display:inline-flex;align-items:center;margin-right:var(--ibiz-spacing-extra-tight);line-height:var(--ibiz-spacing-loose);color:var(--ibiz-dropdown-select-option-item-color)}.ibiz-dropdown--round .ibiz-dropdown-readonly-text-item:first-child{margin-left:calc(var(--ibiz-spacing-base-tight) - var(--ibiz-spacing-super-tight)/ 2)}.ibiz-dropdown--round .ibiz-dropdown-readonly-text-item .ibiz-dropdown-readonly-text-item__label{padding-right:var(--ibiz-spacing-base);padding-left:var(--ibiz-spacing-base);color:var(--ibiz-dropdown-select-option-item-color);background-color:var(--ibiz-dropdown-select-option-item-bkcolor);border-radius:var(--ibiz-spacing-base)}.ibiz-dropdown--round .ibiz-dropdown-select .el-select__tags{display:none}.ibiz-dropdown--round .ibiz-dropdown-select .el-input__prefix-inner>:last-child{gap:var(--ibiz-spacing-extra-tight);margin:0}.ibiz-dropdown--round .ibiz-dropdown-select .el-input__inner{flex:1 1 0;color:transparent}.ibiz-dropdown--round .ibiz-dropdown-select .el-input__inner[aria-expanded=true]::-moz-placeholder{color:transparent}.ibiz-dropdown--round .ibiz-dropdown-select .el-input__inner[aria-expanded=true]::placeholder{color:transparent}.ibiz-dropdown--round .ibiz-dropdown-select-option-text{display:inline-flex;align-items:center;padding:var(--ibiz-dropdown-select-option-item-padding);line-height:var(--ibiz-spacing-loose);color:var(--ibiz-dropdown-select-option-item-color);background-color:var(--ibiz-dropdown-select-option-item-bkcolor);border-radius:var(--ibiz-spacing-base)}.ibiz-dropdown-popper--round .el-select-dropdown__item{display:flex;align-items:center;height:calc(var(--ibiz-spacing-extra-loose) + var(--ibiz-spacing-extra-tight));line-height:calc(var(--ibiz-spacing-extra-loose) + var(--ibiz-spacing-extra-tight));background-color:transparent}.ibiz-dropdown-popper--round .ibiz-dropdown-select-option-content{flex:0 0 auto;width:auto;min-width:0;height:auto;padding-right:var(--ibiz-spacing-base);padding-left:var(--ibiz-spacing-base);line-height:var(--ibiz-spacing-loose);color:var(--ibiz-dropdown-select-option-item-color);background-color:var(--ibiz-dropdown-select-option-item-bkcolor);border-radius:var(--ibiz-spacing-base)}.ibiz-dropdown-popper.is-allow-create .el-tree__empty-block{display:none}.ibiz-dropdown-popper.is-allow-create .el-select-dropdown__item{padding-left:var(--ibiz-spacing-base-tight)}.ibiz-dropdown-popper .el-select-dropdown__item{width:100%;background-color:var(--ibiz-dropdown-select-option-item-bkcolor)}
|
|
@@ -25,19 +25,16 @@ const IBizVirtualizedList = /* @__PURE__ */ vue.defineComponent({
|
|
|
25
25
|
const editorItems = c.model.editorItems;
|
|
26
26
|
const isLoading = vue.ref(false);
|
|
27
27
|
let editorState = "";
|
|
28
|
-
let funcs;
|
|
29
28
|
const codeItemValueNumber = vue.ref(false);
|
|
30
29
|
const handleTreeNodes = (nodes) => {
|
|
31
30
|
if (nodes.length === 0) {
|
|
32
31
|
return [];
|
|
33
32
|
}
|
|
34
33
|
const list = [];
|
|
34
|
+
const existingValues = new Set(codeListItems.value.map((item) => item.value));
|
|
35
35
|
nodes.forEach((codeItem) => {
|
|
36
36
|
var _a;
|
|
37
|
-
|
|
38
|
-
return _item.value === codeItem.value;
|
|
39
|
-
});
|
|
40
|
-
if (index === -1) {
|
|
37
|
+
if (!existingValues.has(codeItem.value)) {
|
|
41
38
|
codeListItems.value.push(codeItem);
|
|
42
39
|
}
|
|
43
40
|
const tempObj = {
|
|
@@ -154,13 +151,12 @@ const IBizVirtualizedList = /* @__PURE__ */ vue.defineComponent({
|
|
|
154
151
|
}
|
|
155
152
|
return c.multiple ? props.value : props.value.toString();
|
|
156
153
|
}
|
|
157
|
-
return (_c = props.value) == null ? void 0 : _c.toString();
|
|
154
|
+
return c.multiple ? [] : ((_c = props.value) == null ? void 0 : _c.toString()) || "";
|
|
158
155
|
},
|
|
159
156
|
set(_select) {
|
|
160
157
|
let select = _select;
|
|
161
|
-
if (c.blankItemName && !_select)
|
|
158
|
+
if (c.blankItemName && !_select)
|
|
162
159
|
select = void 0;
|
|
163
|
-
}
|
|
164
160
|
if (Array.isArray(select)) {
|
|
165
161
|
if (c.allItems && c.multiple && !hasChildren.value) {
|
|
166
162
|
const selection = getSelection(curValue.value, select, items.value, items.value);
|
|
@@ -176,13 +172,19 @@ const IBizVirtualizedList = /* @__PURE__ */ vue.defineComponent({
|
|
|
176
172
|
}
|
|
177
173
|
emit("change", selectArr);
|
|
178
174
|
} else if (editorItems && editorItems.length > 0) {
|
|
179
|
-
|
|
175
|
+
let emitVal = select === void 0 ? null : select;
|
|
176
|
+
if (codeItemValueNumber.value && emitVal !== null)
|
|
177
|
+
emitVal = Number(select);
|
|
178
|
+
emit("change", emitVal, editorItems[0].id);
|
|
180
179
|
const selectItem = getCodeListItemByValue(codeItemValueNumber.value ? Number(select) : select);
|
|
181
180
|
if (selectItem) {
|
|
182
181
|
emit("change", selectItem.text);
|
|
183
182
|
}
|
|
184
183
|
} else {
|
|
185
|
-
|
|
184
|
+
let emitVal = select === void 0 ? null : select;
|
|
185
|
+
if (codeItemValueNumber.value && emitVal !== null)
|
|
186
|
+
emitVal = Number(select);
|
|
187
|
+
emit("change", emitVal);
|
|
186
188
|
}
|
|
187
189
|
if (c.editorParams.alwaysLoad === "true") {
|
|
188
190
|
loadCodeList();
|
|
@@ -258,18 +260,25 @@ const IBizVirtualizedList = /* @__PURE__ */ vue.defineComponent({
|
|
|
258
260
|
afterLoadCodeList(data);
|
|
259
261
|
};
|
|
260
262
|
vue3Util.useCodeListListen(c.model.appCodeListId, c.context.srfappid, fn);
|
|
263
|
+
const handleClickOutside = (event) => {
|
|
264
|
+
const target = event.target;
|
|
265
|
+
if (editorState === "focus" && !editorRef.value.$el.contains(target) && !editorRef.value.$refs.popper.popperRef.contentRef.contains(target)) {
|
|
266
|
+
onBlur(event);
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
const handleClear = () => {
|
|
270
|
+
onFocus();
|
|
271
|
+
};
|
|
261
272
|
vue.onMounted(() => {
|
|
262
273
|
useEditorNavParams();
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
});
|
|
267
|
-
}
|
|
274
|
+
document.addEventListener("click", handleClickOutside, {
|
|
275
|
+
capture: true
|
|
276
|
+
});
|
|
268
277
|
});
|
|
269
278
|
vue.onUnmounted(() => {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
}
|
|
279
|
+
document.removeEventListener("click", handleClickOutside, {
|
|
280
|
+
capture: true
|
|
281
|
+
});
|
|
273
282
|
});
|
|
274
283
|
const prefix = {};
|
|
275
284
|
if (c.editorParams.type === "round") {
|
|
@@ -292,22 +301,23 @@ const IBizVirtualizedList = /* @__PURE__ */ vue.defineComponent({
|
|
|
292
301
|
});
|
|
293
302
|
}
|
|
294
303
|
return {
|
|
295
|
-
ns,
|
|
296
304
|
c,
|
|
297
|
-
|
|
305
|
+
ns,
|
|
298
306
|
items,
|
|
299
|
-
|
|
307
|
+
prefix,
|
|
308
|
+
curValue,
|
|
309
|
+
editorRef,
|
|
310
|
+
isLoading,
|
|
311
|
+
treeNodes,
|
|
300
312
|
valueText,
|
|
301
313
|
hasChildren,
|
|
302
314
|
onBlur,
|
|
303
315
|
onFocus,
|
|
304
|
-
|
|
305
|
-
treeNodes,
|
|
316
|
+
handleClear,
|
|
306
317
|
handleKeyUp,
|
|
318
|
+
customNodeClass,
|
|
307
319
|
getCodeListItem,
|
|
308
|
-
onVisibleChange
|
|
309
|
-
isLoading,
|
|
310
|
-
prefix
|
|
320
|
+
onVisibleChange
|
|
311
321
|
};
|
|
312
322
|
},
|
|
313
323
|
render() {
|
|
@@ -327,8 +337,8 @@ const IBizVirtualizedList = /* @__PURE__ */ vue.defineComponent({
|
|
|
327
337
|
"loading": this.isLoading,
|
|
328
338
|
"fit-input-width": isEllipsis,
|
|
329
339
|
"popper-class": "".concat(this.ns.b("popper"), " ").concat(this.c.editorParams.type === "round" ? this.ns.bm("popper", "round") : "", " ").concat(this.ns.bm("popper", "".concat(this.c.model.id))),
|
|
330
|
-
"onBlur": this.onBlur,
|
|
331
340
|
"onFocus": this.onFocus,
|
|
341
|
+
"onClear": this.handleClear,
|
|
332
342
|
"onKeyup": this.handleKeyUp,
|
|
333
343
|
"onVisibleChange": this.onVisibleChange,
|
|
334
344
|
"options": this.items,
|