@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
|
@@ -7,10 +7,10 @@ class SingleDataContainerState extends runtime.PanelItemState {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super(...arguments);
|
|
9
9
|
/**
|
|
10
|
-
* 单项数据容器数据
|
|
11
|
-
* @
|
|
12
|
-
* @
|
|
13
|
-
* @
|
|
10
|
+
* @description 单项数据容器数据
|
|
11
|
+
* @exposedoc
|
|
12
|
+
* @type {IData}
|
|
13
|
+
* @memberof SingleDataContainerState
|
|
14
14
|
*/
|
|
15
15
|
this.data = {};
|
|
16
16
|
}
|
|
@@ -9,10 +9,16 @@ var namespace = require('../../use/namespace/namespace.cjs');
|
|
|
9
9
|
const TeleportPlaceholder = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
name: "IBizTeleportPlaceholder",
|
|
11
11
|
props: {
|
|
12
|
+
/**
|
|
13
|
+
* @description 传送占位模型
|
|
14
|
+
*/
|
|
12
15
|
modelData: {
|
|
13
16
|
type: Object,
|
|
14
17
|
required: true
|
|
15
18
|
},
|
|
19
|
+
/**
|
|
20
|
+
* @description 传送占位控制器
|
|
21
|
+
*/
|
|
16
22
|
controller: {
|
|
17
23
|
type: Object,
|
|
18
24
|
required: true
|
|
@@ -5,17 +5,20 @@ var teleportPlaceholder_state = require('./teleport-placeholder.state.cjs');
|
|
|
5
5
|
|
|
6
6
|
"use strict";
|
|
7
7
|
class TeleportPlaceholderController extends runtime.PanelItemController {
|
|
8
|
+
/**
|
|
9
|
+
* @description 创建传送占位状态对象
|
|
10
|
+
* @protected
|
|
11
|
+
* @return {*} {PanelItemState}
|
|
12
|
+
*/
|
|
8
13
|
createState() {
|
|
9
14
|
var _a;
|
|
10
15
|
return new teleportPlaceholder_state.TeleportPlaceholderState((_a = this.parent) == null ? void 0 : _a.state);
|
|
11
16
|
}
|
|
12
17
|
/**
|
|
13
|
-
* 初始化
|
|
14
|
-
*
|
|
15
|
-
* @author lxm
|
|
16
|
-
* @date 2022-08-24 20:08:42
|
|
18
|
+
* @description 初始化
|
|
17
19
|
* @protected
|
|
18
20
|
* @returns {*} {Promise<void>}
|
|
21
|
+
* @memberof TeleportPlaceholderController
|
|
19
22
|
*/
|
|
20
23
|
async onInit() {
|
|
21
24
|
var _a, _b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-teleport-placeholder{width:auto;height:auto}
|
|
1
|
+
.ibiz-teleport-placeholder{width:auto;height:auto}.ibiz-teleport-placeholder>div:not(:last-child){display:none}
|
|
@@ -6,6 +6,12 @@ var runtime = require('@ibiz-template/runtime');
|
|
|
6
6
|
class TeleportPlaceholderState extends runtime.PanelItemState {
|
|
7
7
|
constructor() {
|
|
8
8
|
super(...arguments);
|
|
9
|
+
/**
|
|
10
|
+
* @description 可根据该参数从嵌入视图里找到占位面板成员用于渲染,通过自定义补充参数配置
|
|
11
|
+
* @exposedoc
|
|
12
|
+
* @type {string}
|
|
13
|
+
* @memberof TeleportPlaceholderState
|
|
14
|
+
*/
|
|
9
15
|
this.teleportTag = "";
|
|
10
16
|
}
|
|
11
17
|
}
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getArrayProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [Array, Array]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridArrayProps() {
|
|
10
16
|
return { ...getArrayProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getAutoCompleteProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridAutoCompleteProps() {
|
|
10
16
|
return { ...getAutoCompleteProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getCascaderProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: String
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridCascaderProps() {
|
|
10
16
|
return { ...getCascaderProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getCheckboxListProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridCheckboxListProps() {
|
|
10
16
|
return { ...getCheckboxListProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getCheckboxProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridCheckboxProps() {
|
|
10
16
|
return { ...getCheckboxProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -6,10 +6,19 @@ var common = require('./common.cjs');
|
|
|
6
6
|
function getCodeProps() {
|
|
7
7
|
return {
|
|
8
8
|
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
9
12
|
value: String,
|
|
13
|
+
/**
|
|
14
|
+
* @description 代码语言类型
|
|
15
|
+
*/
|
|
10
16
|
language: {
|
|
11
17
|
type: String
|
|
12
18
|
},
|
|
19
|
+
/**
|
|
20
|
+
* @description 主题类型
|
|
21
|
+
*/
|
|
13
22
|
theme: {
|
|
14
23
|
type: String
|
|
15
24
|
}
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getColorPickerProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: String
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridColorPickerProps() {
|
|
10
16
|
return { ...getColorPickerProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -5,38 +5,64 @@ var common = require('../common.cjs');
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getEditorProps() {
|
|
7
7
|
return {
|
|
8
|
+
/**
|
|
9
|
+
* @description 编辑器值
|
|
10
|
+
*/
|
|
8
11
|
value: String,
|
|
12
|
+
/**
|
|
13
|
+
* @description 编辑器控制器对象
|
|
14
|
+
*/
|
|
9
15
|
controller: new common.RequiredProp(Object),
|
|
16
|
+
/**
|
|
17
|
+
* @description 容器数据,通常为表单数据,表格行数据,面板数据
|
|
18
|
+
*/
|
|
10
19
|
data: new common.RequiredProp(Object),
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
/**
|
|
21
|
+
* @description 是否禁用
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
disabled: { type: Boolean },
|
|
25
|
+
/**
|
|
26
|
+
* @description 是否只读
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
readonly: { type: Boolean, default: false },
|
|
30
|
+
/**
|
|
31
|
+
* @description 是否自动聚焦
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
autoFocus: { type: Boolean, default: false },
|
|
35
|
+
/**
|
|
36
|
+
* @description 单元格超出呈现模式,表格容器中使用,wrap 换行,高度自动增高;ellipsis 省略,出...,悬浮出tooltip
|
|
37
|
+
*/
|
|
22
38
|
overflowMode: { type: String },
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
39
|
+
/**
|
|
40
|
+
* @description 容器控件参数,一般是指表单部件控件参数、表格控件参数、面板控件参数
|
|
41
|
+
*/
|
|
42
|
+
controlParams: { type: Object, required: false }
|
|
27
43
|
};
|
|
28
44
|
}
|
|
29
45
|
function getEditorEmits() {
|
|
30
46
|
return {
|
|
31
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* @description 值变更事件
|
|
49
|
+
*/
|
|
32
50
|
change: (_value, _name, _ignore) => true,
|
|
33
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* @description 失焦事件
|
|
53
|
+
*/
|
|
34
54
|
blur: (_event) => true,
|
|
35
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* @description 聚焦事件
|
|
57
|
+
*/
|
|
36
58
|
focus: (_event) => true,
|
|
37
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* @description 回车事件
|
|
61
|
+
*/
|
|
38
62
|
enter: (_event) => true,
|
|
39
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* @description 信息文本变更事件
|
|
65
|
+
*/
|
|
40
66
|
infoTextChange: (_text) => true
|
|
41
67
|
};
|
|
42
68
|
}
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getDataPickerProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Array, Object, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridDataPickerProps() {
|
|
10
16
|
return { ...getDataPickerProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -4,7 +4,14 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getDatePickerProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* 值
|
|
11
|
+
* @description 编辑器的值
|
|
12
|
+
*/
|
|
13
|
+
value: [String, Number]
|
|
14
|
+
};
|
|
8
15
|
}
|
|
9
16
|
function getGridDatePickerProps() {
|
|
10
17
|
return { ...getDatePickerProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var common = require('./common.cjs');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
function getDateRangeSelectProps() {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值,该值用于表示时间范围信息,包含几个关键属性:`unit`(时间单位)、`type`(类型,可选值为 'DYNAMIC'(动态时间)和 'STATIC'(固定时间))、`start`(开始时间)、`end`(结束时间)
|
|
11
|
+
*/
|
|
12
|
+
value: { type: Object }
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function getDateRangeSelectEmits() {
|
|
16
|
+
return {
|
|
17
|
+
...common.getEditorEmits(),
|
|
18
|
+
/**
|
|
19
|
+
* 值变更事件
|
|
20
|
+
* @description 值变更事件。_value用于表示时间范围信息,包含几个关键属性:`unit`(时间单位)、`type`(类型,可选值为 'DYNAMIC'(动态时间)和 'STATIC'(固定时间))、`start`(开始时间)、`end`(结束时间)
|
|
21
|
+
*/
|
|
22
|
+
change: (_value, _name, _ignore) => true
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function getGridDateRangeSelectProps() {
|
|
26
|
+
return { ...common.getGridEditorCommonProps(), ...getDateRangeSelectProps() };
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
exports.getDateRangeSelectEmits = getDateRangeSelectEmits;
|
|
30
|
+
exports.getDateRangeSelectProps = getDateRangeSelectProps;
|
|
31
|
+
exports.getGridDateRangeSelectProps = getGridDateRangeSelectProps;
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getDateRangeProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridDateRangeProps() {
|
|
10
16
|
return { ...getDateRangeProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getDropdownProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridDropdownProps() {
|
|
10
16
|
return { ...getDropdownProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getHtmlProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: String
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridHtmlProps() {
|
|
10
16
|
return { ...getHtmlProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -9,6 +9,7 @@ var checkBox = require('./check-box.cjs');
|
|
|
9
9
|
var dataPicker = require('./data-picker.cjs');
|
|
10
10
|
var datePicker = require('./date-picker.cjs');
|
|
11
11
|
var dateRange = require('./date-range.cjs');
|
|
12
|
+
var dateRangeSelect = require('./date-range-select.cjs');
|
|
12
13
|
var listBox = require('./list-box.cjs');
|
|
13
14
|
var numberRange = require('./number-range.cjs');
|
|
14
15
|
var radioButtonList = require('./radio-button-list.cjs');
|
|
@@ -25,14 +26,13 @@ var markdown = require('./markdown.cjs');
|
|
|
25
26
|
var array = require('./array.cjs');
|
|
26
27
|
var cascader = require('./cascader.cjs');
|
|
27
28
|
var colorPicker = require('./color-picker.cjs');
|
|
29
|
+
var inputIp = require('./input-ip.cjs');
|
|
30
|
+
var inputNumber = require('./input-number.cjs');
|
|
31
|
+
var mapPicker = require('./map-picker.cjs');
|
|
28
32
|
|
|
29
33
|
"use strict";
|
|
30
34
|
|
|
31
|
-
exports.getGridInputIpProps = textBox.getGridInputIpProps;
|
|
32
|
-
exports.getGridInputNumberProps = textBox.getGridInputNumberProps;
|
|
33
35
|
exports.getGridInputProps = textBox.getGridInputProps;
|
|
34
|
-
exports.getInputIpProps = textBox.getInputIpProps;
|
|
35
|
-
exports.getInputNumberProps = textBox.getInputNumberProps;
|
|
36
36
|
exports.getInputProps = textBox.getInputProps;
|
|
37
37
|
exports.getGridSpanProps = span.getGridSpanProps;
|
|
38
38
|
exports.getSpanProps = span.getSpanProps;
|
|
@@ -52,6 +52,9 @@ exports.getDatePickerProps = datePicker.getDatePickerProps;
|
|
|
52
52
|
exports.getGridDatePickerProps = datePicker.getGridDatePickerProps;
|
|
53
53
|
exports.getDateRangeProps = dateRange.getDateRangeProps;
|
|
54
54
|
exports.getGridDateRangeProps = dateRange.getGridDateRangeProps;
|
|
55
|
+
exports.getDateRangeSelectEmits = dateRangeSelect.getDateRangeSelectEmits;
|
|
56
|
+
exports.getDateRangeSelectProps = dateRangeSelect.getDateRangeSelectProps;
|
|
57
|
+
exports.getGridDateRangeSelectProps = dateRangeSelect.getGridDateRangeSelectProps;
|
|
55
58
|
exports.getGridListBoxProps = listBox.getGridListBoxProps;
|
|
56
59
|
exports.getListBoxProps = listBox.getListBoxProps;
|
|
57
60
|
exports.getGridNumberRangeProps = numberRange.getGridNumberRangeProps;
|
|
@@ -84,3 +87,9 @@ exports.getCascaderProps = cascader.getCascaderProps;
|
|
|
84
87
|
exports.getGridCascaderProps = cascader.getGridCascaderProps;
|
|
85
88
|
exports.getColorPickerProps = colorPicker.getColorPickerProps;
|
|
86
89
|
exports.getGridColorPickerProps = colorPicker.getGridColorPickerProps;
|
|
90
|
+
exports.getGridInputIpProps = inputIp.getGridInputIpProps;
|
|
91
|
+
exports.getInputIpProps = inputIp.getInputIpProps;
|
|
92
|
+
exports.getGridInputNumberProps = inputNumber.getGridInputNumberProps;
|
|
93
|
+
exports.getInputNumberProps = inputNumber.getInputNumberProps;
|
|
94
|
+
exports.getGridMapPickerProps = mapPicker.getGridMapPickerProps;
|
|
95
|
+
exports.getMapPickerProps = mapPicker.getMapPickerProps;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var common = require('./common.cjs');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
function getInputIpProps() {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: String
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function getGridInputIpProps() {
|
|
16
|
+
return { ...getInputIpProps(), ...common.getGridEditorCommonProps() };
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
exports.getGridInputIpProps = getGridInputIpProps;
|
|
20
|
+
exports.getInputIpProps = getInputIpProps;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var common = require('./common.cjs');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
function getInputNumberProps() {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: Number
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function getGridInputNumberProps() {
|
|
16
|
+
return { ...getInputNumberProps(), ...common.getGridEditorCommonProps() };
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
exports.getGridInputNumberProps = getGridInputNumberProps;
|
|
20
|
+
exports.getInputNumberProps = getInputNumberProps;
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getListBoxProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridListBoxProps() {
|
|
10
16
|
return { ...getListBoxProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var common = require('./common.cjs');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
function getMapPickerProps() {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: String
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function getGridMapPickerProps() {
|
|
16
|
+
return { ...getMapPickerProps(), ...common.getGridEditorCommonProps() };
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
exports.getGridMapPickerProps = getGridMapPickerProps;
|
|
20
|
+
exports.getMapPickerProps = getMapPickerProps;
|
|
@@ -6,12 +6,18 @@ var common = require('./common.cjs');
|
|
|
6
6
|
function getMarkDownProps() {
|
|
7
7
|
return {
|
|
8
8
|
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 容器数据,通常为表单数据,表格行数据,面板数据
|
|
11
|
+
*/
|
|
9
12
|
data: { type: Object, required: false },
|
|
13
|
+
/**
|
|
14
|
+
* @description 编辑器控制器对象
|
|
15
|
+
*/
|
|
10
16
|
controller: { type: Object, required: false },
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
17
|
+
/**
|
|
18
|
+
* @description 是否禁用
|
|
19
|
+
*/
|
|
20
|
+
disabled: { type: Boolean, required: false }
|
|
15
21
|
};
|
|
16
22
|
}
|
|
17
23
|
function getGridMarkDownProps() {
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getNumberRangeProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridNumberRangeProps() {
|
|
10
16
|
return { ...getNumberRangeProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getRadioProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridRadioProps() {
|
|
10
16
|
return { ...getRadioProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getRateProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridRateProps() {
|
|
10
16
|
return { ...getRateProps(), ...common.getGridEditorCommonProps() };
|
package/lib/props/editor/raw.cjs
CHANGED
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getRawProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number, Array]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridRawProps() {
|
|
10
16
|
return { ...getRawProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getSliderProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridSliderProps() {
|
|
10
16
|
return { ...getSliderProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getSpanProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number, Object, Array]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridSpanProps() {
|
|
10
16
|
return { ...getSpanProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getStepperProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridStepperProps() {
|
|
10
16
|
return { ...getStepperProps(), ...common.getGridEditorCommonProps() };
|
|
@@ -4,7 +4,13 @@ var common = require('./common.cjs');
|
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
function getSwitchProps() {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
...common.getEditorProps(),
|
|
9
|
+
/**
|
|
10
|
+
* @description 编辑器值
|
|
11
|
+
*/
|
|
12
|
+
value: [String, Number]
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
function getGridSwitchProps() {
|
|
10
16
|
return { ...getSwitchProps(), ...common.getGridEditorCommonProps() };
|