@ibiz-template/vue3-util 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/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/es/common/code-list/code-list.d.ts +1 -1
- package/es/common/control-loading-placeholder/control-loading-placeholder.d.ts +7 -7
- package/es/common/view-shell/view-shell.d.ts +6 -6
- package/es/control/panel/panel/index.d.ts +11 -7
- package/es/control/panel/panel/index.d.ts.map +1 -1
- package/es/control/panel/panel/panel.d.ts +57 -7
- package/es/control/panel/panel/panel.d.ts.map +1 -1
- package/es/control/panel/panel/panel.mjs +33 -2
- package/es/control/panel/view-layout-panel/index.d.ts +11 -7
- package/es/control/panel/view-layout-panel/index.d.ts.map +1 -1
- package/es/control/panel/view-layout-panel/view-layout-panel.d.ts +51 -7
- package/es/control/panel/view-layout-panel/view-layout-panel.d.ts.map +1 -1
- package/es/control/panel/view-layout-panel/view-layout-panel.mjs +23 -1
- package/es/hooks/app/app.hooks.d.ts +44 -13
- package/es/hooks/app/app.hooks.d.ts.map +1 -1
- package/es/hooks/app/app.hooks.mjs +35 -10
- package/es/index.mjs +5 -1
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.controller.d.ts +7 -10
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.controller.d.ts.map +1 -1
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.controller.mjs +4 -6
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.d.ts +20 -0
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.d.ts.map +1 -1
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.mjs +6 -0
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.state.d.ts +12 -12
- package/es/panel-component/grid-container/grid-container.controller.d.ts +6 -0
- package/es/panel-component/grid-container/grid-container.controller.d.ts.map +1 -1
- package/es/panel-component/grid-container/grid-container.d.ts +17 -0
- package/es/panel-component/grid-container/grid-container.d.ts.map +1 -1
- package/es/panel-component/grid-container/grid-container.mjs +6 -0
- package/es/panel-component/multi-data-container/multi-data-container.controller.d.ts +23 -16
- package/es/panel-component/multi-data-container/multi-data-container.controller.d.ts.map +1 -1
- package/es/panel-component/multi-data-container/multi-data-container.controller.mjs +16 -15
- package/es/panel-component/multi-data-container/multi-data-container.d.ts +17 -0
- package/es/panel-component/multi-data-container/multi-data-container.d.ts.map +1 -1
- package/es/panel-component/multi-data-container/multi-data-container.mjs +6 -0
- package/es/panel-component/multi-data-container/multi-data-container.state.d.ts +2 -3
- package/es/panel-component/multi-data-container/multi-data-container.state.d.ts.map +1 -1
- package/es/panel-component/multi-data-container/multi-data-container.state.mjs +2 -3
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.controller.d.ts +21 -6
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.controller.d.ts.map +1 -1
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.controller.mjs +15 -6
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.d.ts +17 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.d.ts.map +1 -1
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.mjs +6 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.state.d.ts +2 -3
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.state.d.ts.map +1 -1
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.state.mjs +2 -3
- package/es/panel-component/nav-pos/nav-pos.controller.d.ts +17 -28
- package/es/panel-component/nav-pos/nav-pos.controller.d.ts.map +1 -1
- package/es/panel-component/nav-pos/nav-pos.controller.mjs +17 -24
- package/es/panel-component/nav-pos/nav-pos.d.ts +22 -0
- package/es/panel-component/nav-pos/nav-pos.d.ts.map +1 -1
- package/es/panel-component/nav-pos/nav-pos.mjs +6 -0
- package/es/panel-component/nav-pos/nav-pos.state.d.ts +12 -17
- package/es/panel-component/nav-pos/nav-pos.state.d.ts.map +1 -1
- package/es/panel-component/nav-pos/nav-pos.state.mjs +12 -17
- package/es/panel-component/panel-container/panel-container.controller.d.ts +6 -0
- package/es/panel-component/panel-container/panel-container.controller.d.ts.map +1 -1
- package/es/panel-component/panel-container/panel-container.d.ts +17 -0
- package/es/panel-component/panel-container/panel-container.d.ts.map +1 -1
- package/es/panel-component/panel-container/panel-container.mjs +6 -0
- package/es/panel-component/panel-container/panel-container.state.d.ts +1 -4
- package/es/panel-component/panel-container/panel-container.state.d.ts.map +1 -1
- package/es/panel-component/panel-container-group/panel-container-group.controller.d.ts +10 -8
- package/es/panel-component/panel-container-group/panel-container-group.controller.d.ts.map +1 -1
- package/es/panel-component/panel-container-group/panel-container-group.controller.mjs +4 -8
- package/es/panel-component/panel-container-group/panel-container-group.css +1 -1
- package/es/panel-component/panel-container-group/panel-container-group.d.ts +17 -0
- package/es/panel-component/panel-container-group/panel-container-group.d.ts.map +1 -1
- package/es/panel-component/panel-container-group/panel-container-group.mjs +12 -1
- package/es/panel-component/panel-container-image/panel-container-image.controller.d.ts +6 -0
- package/es/panel-component/panel-container-image/panel-container-image.controller.d.ts.map +1 -1
- package/es/panel-component/panel-container-image/panel-container-image.d.ts +17 -0
- package/es/panel-component/panel-container-image/panel-container-image.d.ts.map +1 -1
- package/es/panel-component/panel-container-image/panel-container-image.mjs +6 -0
- package/es/panel-component/panel-container-tabs/panel-container-tabs.d.ts +17 -0
- package/es/panel-component/panel-container-tabs/panel-container-tabs.d.ts.map +1 -1
- package/es/panel-component/panel-container-tabs/panel-container-tabs.mjs +6 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.d.ts +4 -7
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.d.ts.map +1 -1
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.d.ts +17 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.d.ts.map +1 -1
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.mjs +6 -0
- package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.controller.d.ts +6 -15
- package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.controller.d.ts.map +1 -1
- package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.d.ts +17 -0
- package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.d.ts.map +1 -1
- package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.mjs +6 -0
- package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.state.d.ts +17 -0
- package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.state.d.ts.map +1 -0
- package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.state.mjs +17 -0
- package/es/panel-component/panel-field/index.d.ts +2 -2
- package/es/panel-component/panel-field/panel-field.controller.d.ts +60 -30
- package/es/panel-component/panel-field/panel-field.controller.d.ts.map +1 -1
- package/es/panel-component/panel-field/panel-field.controller.mjs +47 -21
- package/es/panel-component/panel-field/panel-field.d.ts +25 -2
- package/es/panel-component/panel-field/panel-field.d.ts.map +1 -1
- package/es/panel-component/panel-field/panel-field.mjs +9 -0
- package/es/panel-component/panel-field/panel-field.state.d.ts +4 -7
- package/es/panel-component/panel-field/panel-field.state.d.ts.map +1 -1
- package/es/panel-component/panel-field/panel-field.state.mjs +3 -3
- package/es/panel-component/panel-item-render/panel-item-render.controller.d.ts +4 -6
- package/es/panel-component/panel-item-render/panel-item-render.controller.d.ts.map +1 -1
- package/es/panel-component/panel-item-render/panel-item-render.controller.mjs +2 -4
- package/es/panel-component/panel-item-render/panel-item-render.d.ts +17 -0
- package/es/panel-component/panel-item-render/panel-item-render.d.ts.map +1 -1
- package/es/panel-component/panel-item-render/panel-item-render.mjs +6 -0
- package/es/panel-component/panel-rawitem/panel-rawitem.controller.d.ts +11 -6
- package/es/panel-component/panel-rawitem/panel-rawitem.controller.d.ts.map +1 -1
- package/es/panel-component/panel-rawitem/panel-rawitem.controller.mjs +22 -4
- package/es/panel-component/panel-rawitem/panel-rawitem.d.ts +17 -0
- package/es/panel-component/panel-rawitem/panel-rawitem.d.ts.map +1 -1
- package/es/panel-component/panel-rawitem/panel-rawitem.mjs +6 -0
- package/es/panel-component/panel-tab-page/panel-tab-page.d.ts +17 -0
- package/es/panel-component/panel-tab-page/panel-tab-page.d.ts.map +1 -1
- package/es/panel-component/panel-tab-page/panel-tab-page.mjs +6 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.d.ts +8 -11
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.d.ts.map +1 -1
- package/es/panel-component/scroll-container/scroll-container/scroll-container.css +1 -1
- package/es/panel-component/scroll-container/scroll-container/scroll-container.d.ts +17 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.d.ts.map +1 -1
- package/es/panel-component/scroll-container/scroll-container/scroll-container.mjs +6 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.d.ts +7 -11
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.d.ts.map +1 -1
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts +17 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts.map +1 -1
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.mjs +6 -0
- package/es/panel-component/single-data-container/single-data-container.controller.d.ts +35 -20
- package/es/panel-component/single-data-container/single-data-container.controller.d.ts.map +1 -1
- package/es/panel-component/single-data-container/single-data-container.controller.mjs +26 -17
- package/es/panel-component/single-data-container/single-data-container.d.ts +19 -0
- package/es/panel-component/single-data-container/single-data-container.d.ts.map +1 -1
- package/es/panel-component/single-data-container/single-data-container.mjs +6 -0
- package/es/panel-component/single-data-container/single-data-container.state.d.ts +5 -8
- package/es/panel-component/single-data-container/single-data-container.state.d.ts.map +1 -1
- package/es/panel-component/single-data-container/single-data-container.state.mjs +4 -4
- package/es/panel-component/teleport-placeholder/teleport-placeholder.controller.d.ts +16 -8
- package/es/panel-component/teleport-placeholder/teleport-placeholder.controller.d.ts.map +1 -1
- package/es/panel-component/teleport-placeholder/teleport-placeholder.controller.mjs +7 -4
- package/es/panel-component/teleport-placeholder/teleport-placeholder.css +1 -1
- package/es/panel-component/teleport-placeholder/teleport-placeholder.d.ts +17 -0
- package/es/panel-component/teleport-placeholder/teleport-placeholder.d.ts.map +1 -1
- package/es/panel-component/teleport-placeholder/teleport-placeholder.mjs +6 -0
- package/es/panel-component/teleport-placeholder/teleport-placeholder.state.d.ts +7 -4
- package/es/panel-component/teleport-placeholder/teleport-placeholder.state.d.ts.map +1 -1
- package/es/panel-component/teleport-placeholder/teleport-placeholder.state.mjs +6 -0
- package/es/props/editor/array.d.ts +11 -10
- package/es/props/editor/array.d.ts.map +1 -1
- package/es/props/editor/array.mjs +7 -1
- package/es/props/editor/autocomplete.d.ts +11 -10
- package/es/props/editor/autocomplete.d.ts.map +1 -1
- package/es/props/editor/autocomplete.mjs +7 -1
- package/es/props/editor/cascader.d.ts +11 -10
- package/es/props/editor/cascader.d.ts.map +1 -1
- package/es/props/editor/cascader.mjs +7 -1
- package/es/props/editor/check-box-list.d.ts +11 -10
- package/es/props/editor/check-box-list.d.ts.map +1 -1
- package/es/props/editor/check-box-list.mjs +7 -1
- package/es/props/editor/check-box.d.ts +11 -10
- package/es/props/editor/check-box.d.ts.map +1 -1
- package/es/props/editor/check-box.mjs +7 -1
- package/es/props/editor/code.d.ts +23 -28
- package/es/props/editor/code.d.ts.map +1 -1
- package/es/props/editor/code.mjs +9 -0
- package/es/props/editor/color-picker.d.ts +11 -10
- package/es/props/editor/color-picker.d.ts.map +1 -1
- package/es/props/editor/color-picker.mjs +7 -1
- package/es/props/editor/common.d.ts +47 -14
- package/es/props/editor/common.d.ts.map +1 -1
- package/es/props/editor/common.mjs +46 -20
- package/es/props/editor/data-picker.d.ts +11 -10
- package/es/props/editor/data-picker.d.ts.map +1 -1
- package/es/props/editor/data-picker.mjs +7 -1
- package/es/props/editor/date-picker.d.ts +13 -10
- package/es/props/editor/date-picker.d.ts.map +1 -1
- package/es/props/editor/date-picker.mjs +8 -1
- package/es/props/editor/date-range-select.d.ts +113 -0
- package/es/props/editor/date-range-select.d.ts.map +1 -0
- package/es/props/editor/date-range-select.mjs +27 -0
- package/es/props/editor/date-range.d.ts +11 -5
- package/es/props/editor/date-range.d.ts.map +1 -1
- package/es/props/editor/date-range.mjs +7 -1
- package/es/props/editor/dropdown-list.d.ts +11 -10
- package/es/props/editor/dropdown-list.d.ts.map +1 -1
- package/es/props/editor/dropdown-list.mjs +7 -1
- package/es/props/editor/html.d.ts +11 -10
- package/es/props/editor/html.d.ts.map +1 -1
- package/es/props/editor/html.mjs +7 -1
- package/es/props/editor/index.d.ts +4 -0
- package/es/props/editor/index.d.ts.map +1 -1
- package/es/props/editor/index.mjs +5 -1
- package/es/props/editor/input-ip.d.ts +69 -0
- package/es/props/editor/input-ip.d.ts.map +1 -0
- package/es/props/editor/input-ip.mjs +17 -0
- package/es/props/editor/input-number.d.ts +69 -0
- package/es/props/editor/input-number.d.ts.map +1 -0
- package/es/props/editor/input-number.mjs +17 -0
- package/es/props/editor/list-box.d.ts +11 -10
- package/es/props/editor/list-box.d.ts.map +1 -1
- package/es/props/editor/list-box.mjs +7 -1
- package/es/props/editor/map-picker.d.ts +69 -0
- package/es/props/editor/map-picker.d.ts.map +1 -0
- package/es/props/editor/map-picker.mjs +17 -0
- package/es/props/editor/markdown.d.ts +21 -8
- package/es/props/editor/markdown.d.ts.map +1 -1
- package/es/props/editor/markdown.mjs +10 -4
- package/es/props/editor/number-range.d.ts +11 -6
- package/es/props/editor/number-range.d.ts.map +1 -1
- package/es/props/editor/number-range.mjs +7 -1
- package/es/props/editor/radio-button-list.d.ts +11 -10
- package/es/props/editor/radio-button-list.d.ts.map +1 -1
- package/es/props/editor/radio-button-list.mjs +7 -1
- package/es/props/editor/rate.d.ts +11 -6
- package/es/props/editor/rate.d.ts.map +1 -1
- package/es/props/editor/rate.mjs +7 -1
- package/es/props/editor/raw.d.ts +11 -6
- package/es/props/editor/raw.d.ts.map +1 -1
- package/es/props/editor/raw.mjs +7 -1
- package/es/props/editor/slider.d.ts +11 -6
- package/es/props/editor/slider.d.ts.map +1 -1
- package/es/props/editor/slider.mjs +7 -1
- package/es/props/editor/span.d.ts +11 -10
- package/es/props/editor/span.d.ts.map +1 -1
- package/es/props/editor/span.mjs +7 -1
- package/es/props/editor/stepper.d.ts +11 -6
- package/es/props/editor/stepper.d.ts.map +1 -1
- package/es/props/editor/stepper.mjs +7 -1
- package/es/props/editor/switch.d.ts +11 -6
- package/es/props/editor/switch.d.ts.map +1 -1
- package/es/props/editor/switch.mjs +7 -1
- package/es/props/editor/text-box.d.ts +11 -144
- package/es/props/editor/text-box.d.ts.map +1 -1
- package/es/props/editor/text-box.mjs +8 -14
- package/es/props/editor/upload.d.ts +11 -10
- package/es/props/editor/upload.d.ts.map +1 -1
- package/es/props/editor/upload.mjs +7 -1
- package/es/props/index.mjs +5 -1
- package/es/util/route/route.d.ts.map +1 -1
- package/es/util/route/route.mjs +12 -1
- package/es/view/common/index.d.ts +13 -9
- package/es/view/common/index.d.ts.map +1 -1
- package/es/view/common/view.d.ts +49 -7
- package/es/view/common/view.d.ts.map +1 -1
- package/es/view/common/view.mjs +22 -1
- package/es/view/de-redirect-view/de-redirect-view.d.ts +16 -7
- package/es/view/de-redirect-view/de-redirect-view.d.ts.map +1 -1
- package/es/view/de-redirect-view/de-redirect-view.mjs +17 -1
- package/es/view/de-redirect-view/index.d.ts +16 -7
- package/es/view/de-redirect-view/index.d.ts.map +1 -1
- package/es/view/html-view/html-view.d.ts +7 -7
- package/es/view/html-view/index.d.ts +7 -7
- package/es/view/portal-view/index.d.ts +7 -7
- package/es/view/portal-view/portal-view.d.ts +7 -7
- package/lib/control/panel/panel/panel.cjs +32 -1
- package/lib/control/panel/view-layout-panel/view-layout-panel.cjs +23 -1
- package/lib/hooks/app/app.hooks.cjs +34 -9
- package/lib/index.cjs +13 -4
- package/lib/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.cjs +6 -0
- package/lib/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.controller.cjs +4 -6
- package/lib/panel-component/grid-container/grid-container.cjs +6 -0
- package/lib/panel-component/multi-data-container/multi-data-container.cjs +6 -0
- package/lib/panel-component/multi-data-container/multi-data-container.controller.cjs +16 -15
- package/lib/panel-component/multi-data-container/multi-data-container.state.cjs +2 -3
- package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.cjs +6 -0
- package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.controller.cjs +15 -6
- package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.state.cjs +2 -3
- package/lib/panel-component/nav-pos/nav-pos.cjs +6 -0
- package/lib/panel-component/nav-pos/nav-pos.controller.cjs +17 -24
- package/lib/panel-component/nav-pos/nav-pos.state.cjs +12 -17
- package/lib/panel-component/panel-container/panel-container.cjs +6 -0
- package/lib/panel-component/panel-container-group/panel-container-group.cjs +12 -1
- package/lib/panel-component/panel-container-group/panel-container-group.controller.cjs +4 -8
- package/lib/panel-component/panel-container-group/panel-container-group.css +1 -1
- package/lib/panel-component/panel-container-image/panel-container-image.cjs +6 -0
- package/lib/panel-component/panel-container-tabs/panel-container-tabs.cjs +6 -0
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.cjs +6 -0
- package/lib/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.cjs +6 -0
- package/lib/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.state.cjs +19 -0
- package/lib/panel-component/panel-field/panel-field.cjs +9 -0
- package/lib/panel-component/panel-field/panel-field.controller.cjs +47 -21
- package/lib/panel-component/panel-field/panel-field.state.cjs +3 -3
- package/lib/panel-component/panel-item-render/panel-item-render.cjs +6 -0
- package/lib/panel-component/panel-item-render/panel-item-render.controller.cjs +2 -4
- package/lib/panel-component/panel-rawitem/panel-rawitem.cjs +6 -0
- package/lib/panel-component/panel-rawitem/panel-rawitem.controller.cjs +21 -3
- package/lib/panel-component/panel-tab-page/panel-tab-page.cjs +6 -0
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.cjs +6 -0
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.css +1 -1
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.cjs +6 -0
- package/lib/panel-component/single-data-container/single-data-container.cjs +6 -0
- package/lib/panel-component/single-data-container/single-data-container.controller.cjs +26 -17
- package/lib/panel-component/single-data-container/single-data-container.state.cjs +4 -4
- package/lib/panel-component/teleport-placeholder/teleport-placeholder.cjs +6 -0
- package/lib/panel-component/teleport-placeholder/teleport-placeholder.controller.cjs +7 -4
- package/lib/panel-component/teleport-placeholder/teleport-placeholder.css +1 -1
- package/lib/panel-component/teleport-placeholder/teleport-placeholder.state.cjs +6 -0
- package/lib/props/editor/array.cjs +7 -1
- package/lib/props/editor/autocomplete.cjs +7 -1
- package/lib/props/editor/cascader.cjs +7 -1
- package/lib/props/editor/check-box-list.cjs +7 -1
- package/lib/props/editor/check-box.cjs +7 -1
- package/lib/props/editor/code.cjs +9 -0
- package/lib/props/editor/color-picker.cjs +7 -1
- package/lib/props/editor/common.cjs +46 -20
- package/lib/props/editor/data-picker.cjs +7 -1
- package/lib/props/editor/date-picker.cjs +8 -1
- package/lib/props/editor/date-range-select.cjs +31 -0
- package/lib/props/editor/date-range.cjs +7 -1
- package/lib/props/editor/dropdown-list.cjs +7 -1
- package/lib/props/editor/html.cjs +7 -1
- package/lib/props/editor/index.cjs +13 -4
- package/lib/props/editor/input-ip.cjs +20 -0
- package/lib/props/editor/input-number.cjs +20 -0
- package/lib/props/editor/list-box.cjs +7 -1
- package/lib/props/editor/map-picker.cjs +20 -0
- package/lib/props/editor/markdown.cjs +10 -4
- package/lib/props/editor/number-range.cjs +7 -1
- package/lib/props/editor/radio-button-list.cjs +7 -1
- package/lib/props/editor/rate.cjs +7 -1
- package/lib/props/editor/raw.cjs +7 -1
- package/lib/props/editor/slider.cjs +7 -1
- package/lib/props/editor/span.cjs +7 -1
- package/lib/props/editor/stepper.cjs +7 -1
- package/lib/props/editor/switch.cjs +7 -1
- package/lib/props/editor/text-box.cjs +7 -17
- package/lib/props/editor/upload.cjs +7 -1
- package/lib/props/index.cjs +13 -4
- package/lib/util/route/route.cjs +11 -0
- package/lib/view/common/view.cjs +22 -1
- package/lib/view/de-redirect-view/de-redirect-view.cjs +16 -0
- package/package.json +6 -6
|
@@ -4,27 +4,17 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getInputProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridInputProps() {
|
|
10
16
|
return { ...getInputProps(), ...common.getGridEditorCommonProps() };
|
|
11
17
|
}
|
|
12
|
-
function getInputNumberProps() {
|
|
13
|
-
return { ...common.getEditorProps(), value: Number };
|
|
14
|
-
}
|
|
15
|
-
function getGridInputNumberProps() {
|
|
16
|
-
return { ...getInputNumberProps(), ...common.getGridEditorCommonProps() };
|
|
17
|
-
}
|
|
18
|
-
function getInputIpProps() {
|
|
19
|
-
return { ...common.getEditorProps(), value: String };
|
|
20
|
-
}
|
|
21
|
-
function getGridInputIpProps() {
|
|
22
|
-
return { ...getInputIpProps(), ...common.getGridEditorCommonProps() };
|
|
23
|
-
}
|
|
24
18
|
|
|
25
|
-
exports.getGridInputIpProps = getGridInputIpProps;
|
|
26
|
-
exports.getGridInputNumberProps = getGridInputNumberProps;
|
|
27
19
|
exports.getGridInputProps = getGridInputProps;
|
|
28
|
-
exports.getInputIpProps = getInputIpProps;
|
|
29
|
-
exports.getInputNumberProps = getInputNumberProps;
|
|
30
20
|
exports.getInputProps = getInputProps;
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getUploadProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: String
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridUploadProps() {
|
|
10
16
|
return { ...getUploadProps(), ...common.getGridEditorCommonProps() };
|
package/lib/props/index.cjs
CHANGED
|
@@ -11,6 +11,7 @@ var checkBox = require('./editor/check-box.cjs');
|
|
|
11
11
|
var dataPicker = require('./editor/data-picker.cjs');
|
|
12
12
|
var datePicker = require('./editor/date-picker.cjs');
|
|
13
13
|
var dateRange = require('./editor/date-range.cjs');
|
|
14
|
+
var dateRangeSelect = require('./editor/date-range-select.cjs');
|
|
14
15
|
var listBox = require('./editor/list-box.cjs');
|
|
15
16
|
var numberRange = require('./editor/number-range.cjs');
|
|
16
17
|
var radioButtonList = require('./editor/radio-button-list.cjs');
|
|
@@ -27,15 +28,14 @@ var markdown = require('./editor/markdown.cjs');
|
|
|
27
28
|
var array = require('./editor/array.cjs');
|
|
28
29
|
var cascader = require('./editor/cascader.cjs');
|
|
29
30
|
var colorPicker = require('./editor/color-picker.cjs');
|
|
31
|
+
var inputIp = require('./editor/input-ip.cjs');
|
|
32
|
+
var inputNumber = require('./editor/input-number.cjs');
|
|
33
|
+
var mapPicker = require('./editor/map-picker.cjs');
|
|
30
34
|
|
|
31
35
|
"use strict";
|
|
32
36
|
|
|
33
37
|
exports.RequiredProp = common.RequiredProp;
|
|
34
|
-
exports.getGridInputIpProps = textBox.getGridInputIpProps;
|
|
35
|
-
exports.getGridInputNumberProps = textBox.getGridInputNumberProps;
|
|
36
38
|
exports.getGridInputProps = textBox.getGridInputProps;
|
|
37
|
-
exports.getInputIpProps = textBox.getInputIpProps;
|
|
38
|
-
exports.getInputNumberProps = textBox.getInputNumberProps;
|
|
39
39
|
exports.getInputProps = textBox.getInputProps;
|
|
40
40
|
exports.getGridSpanProps = span.getGridSpanProps;
|
|
41
41
|
exports.getSpanProps = span.getSpanProps;
|
|
@@ -55,6 +55,9 @@ exports.getDatePickerProps = datePicker.getDatePickerProps;
|
|
|
55
55
|
exports.getGridDatePickerProps = datePicker.getGridDatePickerProps;
|
|
56
56
|
exports.getDateRangeProps = dateRange.getDateRangeProps;
|
|
57
57
|
exports.getGridDateRangeProps = dateRange.getGridDateRangeProps;
|
|
58
|
+
exports.getDateRangeSelectEmits = dateRangeSelect.getDateRangeSelectEmits;
|
|
59
|
+
exports.getDateRangeSelectProps = dateRangeSelect.getDateRangeSelectProps;
|
|
60
|
+
exports.getGridDateRangeSelectProps = dateRangeSelect.getGridDateRangeSelectProps;
|
|
58
61
|
exports.getGridListBoxProps = listBox.getGridListBoxProps;
|
|
59
62
|
exports.getListBoxProps = listBox.getListBoxProps;
|
|
60
63
|
exports.getGridNumberRangeProps = numberRange.getGridNumberRangeProps;
|
|
@@ -87,3 +90,9 @@ exports.getCascaderProps = cascader.getCascaderProps;
|
|
|
87
90
|
exports.getGridCascaderProps = cascader.getGridCascaderProps;
|
|
88
91
|
exports.getColorPickerProps = colorPicker.getColorPickerProps;
|
|
89
92
|
exports.getGridColorPickerProps = colorPicker.getGridColorPickerProps;
|
|
93
|
+
exports.getGridInputIpProps = inputIp.getGridInputIpProps;
|
|
94
|
+
exports.getInputIpProps = inputIp.getInputIpProps;
|
|
95
|
+
exports.getGridInputNumberProps = inputNumber.getGridInputNumberProps;
|
|
96
|
+
exports.getInputNumberProps = inputNumber.getInputNumberProps;
|
|
97
|
+
exports.getGridMapPickerProps = mapPicker.getGridMapPickerProps;
|
|
98
|
+
exports.getMapPickerProps = mapPicker.getMapPickerProps;
|
package/lib/util/route/route.cjs
CHANGED
|
@@ -108,6 +108,17 @@ function getOwnRouteContext(context) {
|
|
|
108
108
|
"currentSrfNav",
|
|
109
109
|
"toRouteDepth"
|
|
110
110
|
];
|
|
111
|
+
if (ownContext.attributekeys) {
|
|
112
|
+
const attributeKeys = ownContext.attributekeys.split("|");
|
|
113
|
+
if (attributeKeys && attributeKeys.length > 0) {
|
|
114
|
+
attributeKeys.forEach((key) => {
|
|
115
|
+
if (ramda.isNotNil(context[key])) {
|
|
116
|
+
ownContext[key] = context[key];
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
delete ownContext.attributekeys;
|
|
121
|
+
}
|
|
111
122
|
Object.keys(ownContext).forEach((key) => {
|
|
112
123
|
if (excludeKeys.includes(key) || ramda.isNil(ownContext[key])) {
|
|
113
124
|
delete ownContext[key];
|
package/lib/view/common/view.cjs
CHANGED
|
@@ -15,21 +15,42 @@ function _isSlot(s) {
|
|
|
15
15
|
const View = /* @__PURE__ */ vue.defineComponent({
|
|
16
16
|
name: "IBizView",
|
|
17
17
|
props: {
|
|
18
|
-
|
|
18
|
+
/**
|
|
19
|
+
* @description 应用上下文
|
|
20
|
+
*/
|
|
21
|
+
context: {
|
|
22
|
+
type: Object
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @description 视图参数
|
|
26
|
+
* @default {}
|
|
27
|
+
*/
|
|
19
28
|
params: {
|
|
20
29
|
type: Object,
|
|
21
30
|
default: () => ({})
|
|
22
31
|
},
|
|
32
|
+
/**
|
|
33
|
+
* @description 视图模型
|
|
34
|
+
*/
|
|
23
35
|
modelData: {
|
|
24
36
|
type: Object,
|
|
25
37
|
required: true
|
|
26
38
|
},
|
|
39
|
+
/**
|
|
40
|
+
* @description 视图模态操作对象,在模态等形式打开视图时,需给视图注入此对象
|
|
41
|
+
*/
|
|
27
42
|
modal: {
|
|
28
43
|
type: Object
|
|
29
44
|
},
|
|
45
|
+
/**
|
|
46
|
+
* @description 视图状态
|
|
47
|
+
*/
|
|
30
48
|
state: {
|
|
31
49
|
type: Object
|
|
32
50
|
},
|
|
51
|
+
/**
|
|
52
|
+
* @description 视图适配器
|
|
53
|
+
*/
|
|
33
54
|
provider: {
|
|
34
55
|
type: Object
|
|
35
56
|
}
|
|
@@ -21,6 +21,10 @@ const DeRedirectView = /* @__PURE__ */ vue.defineComponent({
|
|
|
21
21
|
modelData: {
|
|
22
22
|
type: Object,
|
|
23
23
|
required: true
|
|
24
|
+
},
|
|
25
|
+
isEmbedCtrlNav: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: false
|
|
24
28
|
}
|
|
25
29
|
},
|
|
26
30
|
setup(props) {
|
|
@@ -39,6 +43,18 @@ const DeRedirectView = /* @__PURE__ */ vue.defineComponent({
|
|
|
39
43
|
}
|
|
40
44
|
});
|
|
41
45
|
});
|
|
46
|
+
if (props.isEmbedCtrlNav) {
|
|
47
|
+
vue.watch(() => [c.context, c.params], () => {
|
|
48
|
+
runtime.getDERedirectToView(vue.toRaw(props.modelData), vue.toRaw(c.context), vue.toRaw(c.params)).then(async (result) => {
|
|
49
|
+
if (result.type === "view") {
|
|
50
|
+
toViewId.value = result.viewId;
|
|
51
|
+
toViewContext.value = result.context;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}, {
|
|
55
|
+
deep: true
|
|
56
|
+
});
|
|
57
|
+
}
|
|
42
58
|
return {
|
|
43
59
|
c,
|
|
44
60
|
toViewId,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/vue3-util",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.40",
|
|
4
4
|
"description": "通用组件库(vue3)",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"types": "es/index.d.ts",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@ibiz-template/cli": "^0.3.10",
|
|
40
|
-
"@ibiz-template/core": "^0.7.
|
|
41
|
-
"@ibiz-template/runtime": "^0.7.
|
|
40
|
+
"@ibiz-template/core": "^0.7.40",
|
|
41
|
+
"@ibiz-template/runtime": "^0.7.40",
|
|
42
42
|
"@ibiz-template/theme": "^0.7.39",
|
|
43
|
-
"@ibiz/model-core": "^0.1.
|
|
43
|
+
"@ibiz/model-core": "^0.1.75",
|
|
44
44
|
"@types/path-browserify": "^1.0.2",
|
|
45
45
|
"@types/qs": "^6.9.11",
|
|
46
46
|
"@types/systemjs": "^6.13.5",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"@ibiz-template/core": "^0.6.0",
|
|
59
59
|
"@ibiz-template/runtime": "^0.6.0",
|
|
60
|
-
"@ibiz/model-core": "^0.1.
|
|
60
|
+
"@ibiz/model-core": "^0.1.75",
|
|
61
61
|
"dayjs": "^1.11.10",
|
|
62
62
|
"path-browserify": "^1.0.1",
|
|
63
63
|
"pinia": "^2.1.7",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"vue": "^3.3.8",
|
|
68
68
|
"vue-router": "^4.2.4"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "46e39bf68e6e2212eb077ba6bd6e907e180fa335"
|
|
71
71
|
}
|