@ibiz-template/vue3-util 0.2.11 → 0.2.13
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 -0
- package/dist/index.system.min.js +1 -1
- package/dist/index.system.min.js.map +1 -1
- package/es/_virtual/_commonjsHelpers.mjs +40 -0
- package/es/common/code-list/code-list.css +1 -0
- package/es/common/code-list/code-list.d.ts +58 -0
- package/es/common/code-list/code-list.d.ts.map +1 -0
- package/es/common/code-list/code-list.mjs +85 -0
- package/es/common/control-base/control-base.css +1 -0
- package/es/common/control-base/control-base.d.ts +2 -0
- package/es/common/control-base/control-base.d.ts.map +1 -0
- package/es/common/control-base/control-base.mjs +99 -0
- package/es/common/control-loading-placeholder/control-loading-placeholder.d.ts +31 -0
- package/es/common/control-loading-placeholder/control-loading-placeholder.d.ts.map +1 -0
- package/es/common/control-loading-placeholder/control-loading-placeholder.mjs +30 -0
- package/es/common/control-shell/control-shell.css +1 -0
- package/es/common/control-shell/control-shell.d.ts +21 -0
- package/es/common/control-shell/control-shell.d.ts.map +1 -0
- package/es/common/control-shell/control-shell.mjs +56 -0
- package/es/common/icon/icon.d.ts +29 -0
- package/es/common/icon/icon.d.ts.map +1 -0
- package/es/common/icon/icon.mjs +89 -0
- package/es/common/index.d.ts +9 -0
- package/es/common/index.d.ts.map +1 -0
- package/es/common/index.mjs +9 -0
- package/es/common/router-view/router-view.d.ts +30 -0
- package/es/common/router-view/router-view.d.ts.map +1 -0
- package/es/common/router-view/router-view.mjs +75 -0
- package/es/common/view-shell/view-shell.css +1 -0
- package/es/common/view-shell/view-shell.d.ts +40 -0
- package/es/common/view-shell/view-shell.d.ts.map +1 -0
- package/es/common/view-shell/view-shell.mjs +77 -0
- package/{out → es}/index.d.ts +3 -0
- package/es/index.d.ts.map +1 -0
- package/es/index.mjs +95 -0
- package/es/interface/index.mjs +3 -0
- package/es/interface/util/index.mjs +3 -0
- package/es/interface/util/route/route.mjs +1 -0
- package/es/node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.mjs +535 -0
- package/es/panel-component/grid-container/grid-container.controller.d.ts +15 -0
- package/es/panel-component/grid-container/grid-container.controller.d.ts.map +1 -0
- package/es/panel-component/grid-container/grid-container.controller.mjs +12 -0
- package/es/panel-component/grid-container/grid-container.css +1 -0
- package/es/panel-component/grid-container/grid-container.d.ts +38 -0
- package/es/panel-component/grid-container/grid-container.d.ts.map +1 -0
- package/es/panel-component/grid-container/grid-container.mjs +106 -0
- package/es/panel-component/grid-container/grid-container.provider.d.ts +16 -0
- package/es/panel-component/grid-container/grid-container.provider.d.ts.map +1 -0
- package/es/panel-component/grid-container/grid-container.provider.mjs +15 -0
- package/es/panel-component/grid-container/grid-container.state.d.ts +13 -0
- package/es/panel-component/grid-container/grid-container.state.d.ts.map +1 -0
- package/es/panel-component/grid-container/grid-container.state.mjs +7 -0
- package/es/panel-component/grid-container/index.d.ts +38 -0
- package/es/panel-component/grid-container/index.d.ts.map +1 -0
- package/es/panel-component/grid-container/index.mjs +18 -0
- package/es/panel-component/index.d.ts +10 -0
- package/es/panel-component/index.d.ts.map +1 -0
- package/es/panel-component/index.mjs +28 -0
- package/es/panel-component/multi-data-container/index.d.ts +37 -0
- package/es/panel-component/multi-data-container/index.d.ts.map +1 -0
- package/es/panel-component/multi-data-container/index.mjs +21 -0
- package/es/panel-component/multi-data-container/multi-data-container-item.controller.d.ts +61 -0
- package/es/panel-component/multi-data-container/multi-data-container-item.controller.d.ts.map +1 -0
- package/es/panel-component/multi-data-container/multi-data-container-item.controller.mjs +117 -0
- package/es/panel-component/multi-data-container/multi-data-container-itm.state.d.ts +20 -0
- package/es/panel-component/multi-data-container/multi-data-container-itm.state.d.ts.map +1 -0
- package/es/panel-component/multi-data-container/multi-data-container-itm.state.mjs +17 -0
- package/es/panel-component/multi-data-container/multi-data-container.controller.d.ts +107 -0
- package/es/panel-component/multi-data-container/multi-data-container.controller.d.ts.map +1 -0
- package/es/panel-component/multi-data-container/multi-data-container.controller.mjs +260 -0
- package/es/panel-component/multi-data-container/multi-data-container.css +1 -0
- package/es/panel-component/multi-data-container/multi-data-container.d.ts +36 -0
- package/es/panel-component/multi-data-container/multi-data-container.d.ts.map +1 -0
- package/es/panel-component/multi-data-container/multi-data-container.mjs +87 -0
- package/es/panel-component/multi-data-container/multi-data-container.provider.d.ts +16 -0
- package/es/panel-component/multi-data-container/multi-data-container.provider.d.ts.map +1 -0
- package/es/panel-component/multi-data-container/multi-data-container.provider.mjs +15 -0
- package/es/panel-component/multi-data-container/multi-data-container.state.d.ts +20 -0
- package/es/panel-component/multi-data-container/multi-data-container.state.d.ts.map +1 -0
- package/es/panel-component/multi-data-container/multi-data-container.state.mjs +17 -0
- package/es/panel-component/nav-pos/index.d.ts +28 -0
- package/es/panel-component/nav-pos/index.d.ts.map +1 -0
- package/es/panel-component/nav-pos/index.mjs +15 -0
- package/es/panel-component/nav-pos/nav-pos.controller.d.ts +163 -0
- package/es/panel-component/nav-pos/nav-pos.controller.d.ts.map +1 -0
- package/es/panel-component/nav-pos/nav-pos.controller.mjs +283 -0
- package/es/panel-component/nav-pos/nav-pos.css +1 -0
- package/es/panel-component/nav-pos/nav-pos.d.ts +29 -0
- package/es/panel-component/nav-pos/nav-pos.d.ts.map +1 -0
- package/es/panel-component/nav-pos/nav-pos.mjs +105 -0
- package/es/panel-component/nav-pos/nav-pos.provider.d.ts +23 -0
- package/es/panel-component/nav-pos/nav-pos.provider.d.ts.map +1 -0
- package/es/panel-component/nav-pos/nav-pos.provider.mjs +24 -0
- package/es/panel-component/nav-pos/nav-pos.state.d.ts +50 -0
- package/es/panel-component/nav-pos/nav-pos.state.d.ts.map +1 -0
- package/es/panel-component/nav-pos/nav-pos.state.mjs +47 -0
- package/es/panel-component/panel-container/index.d.ts +27 -0
- package/es/panel-component/panel-container/index.d.ts.map +1 -0
- package/es/panel-component/panel-container/index.mjs +22 -0
- package/es/panel-component/panel-container/panel-container.controller.d.ts +15 -0
- package/es/panel-component/panel-container/panel-container.controller.d.ts.map +1 -0
- package/es/panel-component/panel-container/panel-container.controller.mjs +12 -0
- package/es/panel-component/panel-container/panel-container.css +1 -0
- package/es/panel-component/panel-container/panel-container.d.ts +27 -0
- package/es/panel-component/panel-container/panel-container.d.ts.map +1 -0
- package/es/panel-component/panel-container/panel-container.mjs +70 -0
- package/es/panel-component/panel-container/panel-container.provider.d.ts +16 -0
- package/es/panel-component/panel-container/panel-container.provider.d.ts.map +1 -0
- package/es/panel-component/panel-container/panel-container.provider.mjs +15 -0
- package/es/panel-component/panel-container/panel-container.state.d.ts +13 -0
- package/es/panel-component/panel-container/panel-container.state.d.ts.map +1 -0
- package/es/panel-component/panel-container/panel-container.state.mjs +7 -0
- package/es/panel-component/panel-ctrl-pos/index.d.ts +25 -0
- package/es/panel-component/panel-ctrl-pos/index.d.ts.map +1 -0
- package/es/panel-component/panel-ctrl-pos/index.mjs +14 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.d.ts +36 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.d.ts.map +1 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.mjs +23 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.css +1 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.d.ts +25 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.d.ts.map +1 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.mjs +45 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.d.ts +17 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.d.ts.map +1 -0
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.mjs +15 -0
- package/es/panel-component/panel-field/index.d.ts +26 -0
- package/es/panel-component/panel-field/index.d.ts.map +1 -0
- package/es/panel-component/panel-field/index.mjs +14 -0
- package/es/panel-component/panel-field/panel-field.controller.d.ts +75 -0
- package/es/panel-component/panel-field/panel-field.controller.d.ts.map +1 -0
- package/es/panel-component/panel-field/panel-field.controller.mjs +90 -0
- package/es/panel-component/panel-field/panel-field.css +1 -0
- package/es/panel-component/panel-field/panel-field.d.ts +28 -0
- package/es/panel-component/panel-field/panel-field.d.ts.map +1 -0
- package/es/panel-component/panel-field/panel-field.mjs +73 -0
- package/es/panel-component/panel-field/panel-field.provider.d.ts +15 -0
- package/es/panel-component/panel-field/panel-field.provider.d.ts.map +1 -0
- package/es/panel-component/panel-field/panel-field.provider.mjs +15 -0
- package/es/panel-component/panel-field/panel-field.state.d.ts +13 -0
- package/es/panel-component/panel-field/panel-field.state.d.ts.map +1 -0
- package/es/panel-component/panel-field/panel-field.state.mjs +7 -0
- package/es/panel-component/panel-rawitem/index.d.ts +25 -0
- package/es/panel-component/panel-rawitem/index.d.ts.map +1 -0
- package/es/panel-component/panel-rawitem/index.mjs +18 -0
- package/es/panel-component/panel-rawitem/panel-rawitem.controller.d.ts +29 -0
- package/es/panel-component/panel-rawitem/panel-rawitem.controller.d.ts.map +1 -0
- package/es/panel-component/panel-rawitem/panel-rawitem.controller.mjs +28 -0
- package/es/panel-component/panel-rawitem/panel-rawitem.css +1 -0
- package/es/panel-component/panel-rawitem/panel-rawitem.d.ts +27 -0
- package/es/panel-component/panel-rawitem/panel-rawitem.d.ts.map +1 -0
- package/es/panel-component/panel-rawitem/panel-rawitem.mjs +50 -0
- package/es/panel-component/panel-rawitem/panel-rawitem.provider.d.ts +15 -0
- package/es/panel-component/panel-rawitem/panel-rawitem.provider.d.ts.map +1 -0
- package/es/panel-component/panel-rawitem/panel-rawitem.provider.mjs +15 -0
- package/es/panel-component/scroll-container/index.d.ts +26 -0
- package/es/panel-component/scroll-container/index.d.ts.map +1 -0
- package/es/panel-component/scroll-container/index.mjs +46 -0
- package/es/panel-component/scroll-container/scroll-container/index.d.ts +3 -0
- package/es/panel-component/scroll-container/scroll-container/index.d.ts.map +1 -0
- package/es/panel-component/scroll-container/scroll-container/index.mjs +4 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.d.ts +23 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.d.ts.map +1 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.mjs +12 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.css +1 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.d.ts +27 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.d.ts.map +1 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.mjs +112 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.provider.d.ts +17 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.provider.d.ts.map +1 -0
- package/es/panel-component/scroll-container/scroll-container/scroll-container.provider.mjs +15 -0
- package/es/panel-component/scroll-container/scroll-container-item/index.d.ts +3 -0
- package/es/panel-component/scroll-container/scroll-container-item/index.d.ts.map +1 -0
- package/es/panel-component/scroll-container/scroll-container-item/index.mjs +4 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.d.ts +22 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.d.ts.map +1 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.mjs +7 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.css +1 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts +27 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts.map +1 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.mjs +64 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.d.ts +17 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.d.ts.map +1 -0
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.mjs +15 -0
- package/es/panel-component/single-data-container/index.d.ts +37 -0
- package/es/panel-component/single-data-container/index.d.ts.map +1 -0
- package/es/panel-component/single-data-container/index.mjs +21 -0
- package/es/panel-component/single-data-container/single-data-container.controller.d.ts +122 -0
- package/es/panel-component/single-data-container/single-data-container.controller.d.ts.map +1 -0
- package/es/panel-component/single-data-container/single-data-container.controller.mjs +285 -0
- package/es/panel-component/single-data-container/single-data-container.css +1 -0
- package/es/panel-component/single-data-container/single-data-container.d.ts +36 -0
- package/es/panel-component/single-data-container/single-data-container.d.ts.map +1 -0
- package/es/panel-component/single-data-container/single-data-container.mjs +77 -0
- package/es/panel-component/single-data-container/single-data-container.provider.d.ts +16 -0
- package/es/panel-component/single-data-container/single-data-container.provider.d.ts.map +1 -0
- package/es/panel-component/single-data-container/single-data-container.provider.mjs +15 -0
- package/es/panel-component/single-data-container/single-data-container.state.d.ts +20 -0
- package/es/panel-component/single-data-container/single-data-container.state.d.ts.map +1 -0
- package/es/panel-component/single-data-container/single-data-container.state.mjs +17 -0
- package/es/plugin/index.mjs +3 -0
- package/es/plugin/plugin-factory/plugin-factory.mjs +292 -0
- package/es/props/common.mjs +15 -0
- package/es/props/editor/array.mjs +11 -0
- package/es/props/editor/autocomplete.mjs +11 -0
- package/es/props/editor/cascader.mjs +11 -0
- package/es/props/editor/check-box-list.mjs +11 -0
- package/es/props/editor/check-box.mjs +11 -0
- package/es/props/editor/code.mjs +20 -0
- package/es/props/editor/color-picker.mjs +11 -0
- package/es/props/editor/common.mjs +48 -0
- package/es/props/editor/data-picker.mjs +11 -0
- package/es/props/editor/date-picker.mjs +11 -0
- package/es/props/editor/date-range.mjs +11 -0
- package/es/props/editor/dropdown-list.mjs +11 -0
- package/es/props/editor/html.mjs +11 -0
- package/es/props/editor/index.mjs +27 -0
- package/es/props/editor/list-box.mjs +11 -0
- package/es/props/editor/markdown.mjs +19 -0
- package/es/props/editor/number-range.mjs +11 -0
- package/es/props/editor/radio-button-list.mjs +11 -0
- package/es/props/editor/rate.mjs +11 -0
- package/es/props/editor/raw.mjs +11 -0
- package/es/props/editor/slider.mjs +11 -0
- package/{out → es}/props/editor/span.d.ts +2 -2
- package/es/props/editor/span.mjs +11 -0
- package/es/props/editor/stepper.mjs +11 -0
- package/es/props/editor/switch.mjs +11 -0
- package/es/props/editor/text-box.mjs +23 -0
- package/es/props/editor/upload.mjs +11 -0
- package/es/props/index.mjs +29 -0
- package/es/use/click-outside/click-outside.mjs +48 -0
- package/es/use/control/index.mjs +3 -0
- package/es/use/control/use-control-controller/use-control-controller.mjs +74 -0
- package/es/use/event/event.mjs +37 -0
- package/es/use/focus-blur/focus-blur.mjs +46 -0
- package/es/use/index.mjs +13 -0
- package/es/use/namespace/namespace.mjs +8 -0
- package/es/use/route/route.mjs +28 -0
- package/es/use/util/index.mjs +11 -0
- package/{out/use/view/index.js → es/use/view/index.mjs} +3 -1
- package/es/use/view/use-view-controller/use-view-controller.mjs +72 -0
- package/es/use/vue/vue.mjs +55 -0
- package/es/util/control/prepare-control.mjs +22 -0
- package/es/util/index.d.ts +11 -0
- package/es/util/index.d.ts.map +1 -0
- package/es/util/index.mjs +14 -0
- package/es/util/install.mjs +9 -0
- package/es/util/overlay-container/overlay-container.d.ts +93 -0
- package/es/util/overlay-container/overlay-container.d.ts.map +1 -0
- package/es/util/overlay-container/overlay-container.mjs +114 -0
- package/es/util/overlay-popover-container/overlay-popover-container.d.ts +17 -0
- package/es/util/overlay-popover-container/overlay-popover-container.d.ts.map +1 -0
- package/es/util/overlay-popover-container/overlay-popover-container.mjs +10 -0
- package/es/util/overlay-view-util/overlay-view-util.d.ts +9 -0
- package/es/util/overlay-view-util/overlay-view-util.d.ts.map +1 -0
- package/es/util/overlay-view-util/overlay-view-util.mjs +63 -0
- package/es/util/render/render.mjs +20 -0
- package/es/util/route/route-listener.mjs +73 -0
- package/{out → es}/util/route/route.d.ts +20 -20
- package/es/util/route/route.d.ts.map +1 -0
- package/es/util/route/route.mjs +252 -0
- package/es/util/router-callback/router-callback-item.d.ts +62 -0
- package/es/util/router-callback/router-callback-item.d.ts.map +1 -0
- package/es/util/router-callback/router-callback-item.mjs +72 -0
- package/es/util/router-callback/router-callback.d.ts +60 -0
- package/es/util/router-callback/router-callback.d.ts.map +1 -0
- package/es/util/router-callback/router-callback.mjs +86 -0
- package/es/util/store/app-store/app-store.d.ts +10 -0
- package/es/util/store/app-store/app-store.d.ts.map +1 -0
- package/es/util/store/app-store/app-store.mjs +10 -0
- package/es/util/store/index.d.ts +4 -0
- package/es/util/store/index.d.ts.map +1 -0
- package/es/util/store/index.mjs +8 -0
- package/es/util/store/ui-store/ui-store.d.ts +32 -0
- package/es/util/store/ui-store/ui-store.d.ts.map +1 -0
- package/es/util/store/ui-store/ui-store.mjs +15 -0
- package/es/util/store/ui-store/z-index.d.ts +35 -0
- package/es/util/store/ui-store/z-index.d.ts.map +1 -0
- package/es/util/store/ui-store/z-index.mjs +18 -0
- package/es/view/app-redirect-view/app-redirect-view.d.ts +2 -0
- package/es/view/app-redirect-view/app-redirect-view.d.ts.map +1 -0
- package/es/view/app-redirect-view/app-redirect-view.mjs +27 -0
- package/es/view/common/index.d.ts +49 -0
- package/es/view/common/index.d.ts.map +1 -0
- package/es/view/common/index.mjs +13 -0
- package/es/view/common/view.css +1 -0
- package/es/view/common/view.d.ts +53 -0
- package/es/view/common/view.d.ts.map +1 -0
- package/es/view/common/view.mjs +143 -0
- package/es/view/common/view.provider.d.ts +14 -0
- package/es/view/common/view.provider.d.ts.map +1 -0
- package/es/view/common/view.provider.mjs +8 -0
- package/es/view/index.d.ts +5 -0
- package/es/view/index.d.ts.map +1 -0
- package/es/view/index.mjs +6 -0
- package/es/view/portal-view/index.d.ts +41 -0
- package/es/view/portal-view/index.d.ts.map +1 -0
- package/es/view/portal-view/index.mjs +21 -0
- package/es/view/portal-view/portal-view.d.ts +44 -0
- package/es/view/portal-view/portal-view.d.ts.map +1 -0
- package/es/view/portal-view/portal-view.mjs +93 -0
- package/es/view/portal-view/portal-view.provider.d.ts +14 -0
- package/es/view/portal-view/portal-view.provider.d.ts.map +1 -0
- package/es/view/portal-view/portal-view.provider.mjs +8 -0
- package/es/view/todo-redirect/todo-redirect.d.ts +2 -0
- package/es/view/todo-redirect/todo-redirect.d.ts.map +1 -0
- package/es/view/todo-redirect/todo-redirect.mjs +52 -0
- package/lib/index.cjs +236 -0
- package/package.json +20 -16
- package/src/common/code-list/code-list.scss +5 -0
- package/src/common/code-list/code-list.tsx +108 -0
- package/src/common/control-base/control-base.scss +4 -0
- package/src/common/control-base/control-base.tsx +129 -0
- package/src/common/control-loading-placeholder/control-loading-placeholder.tsx +22 -0
- package/src/common/control-shell/control-shell.scss +5 -0
- package/src/common/control-shell/control-shell.tsx +70 -0
- package/src/common/icon/icon.tsx +69 -0
- package/src/common/index.ts +8 -0
- package/src/common/router-view/router-view.tsx +74 -0
- package/src/common/view-shell/view-shell.scss +5 -0
- package/src/common/view-shell/view-shell.tsx +70 -0
- package/src/index.ts +3 -0
- package/src/panel-component/grid-container/grid-container.controller.ts +18 -0
- package/src/panel-component/grid-container/grid-container.provider.ts +30 -0
- package/src/panel-component/grid-container/grid-container.scss +17 -0
- package/src/panel-component/grid-container/grid-container.state.ts +12 -0
- package/src/panel-component/grid-container/grid-container.tsx +119 -0
- package/src/panel-component/grid-container/index.ts +19 -0
- package/src/panel-component/index.ts +9 -0
- package/src/panel-component/multi-data-container/index.ts +22 -0
- package/src/panel-component/multi-data-container/multi-data-container-item.controller.ts +166 -0
- package/src/panel-component/multi-data-container/multi-data-container-itm.state.ts +20 -0
- package/src/panel-component/multi-data-container/multi-data-container.controller.ts +308 -0
- package/src/panel-component/multi-data-container/multi-data-container.provider.ts +30 -0
- package/src/panel-component/multi-data-container/multi-data-container.scss +10 -0
- package/src/panel-component/multi-data-container/multi-data-container.state.ts +20 -0
- package/src/panel-component/multi-data-container/multi-data-container.tsx +109 -0
- package/src/panel-component/nav-pos/index.ts +16 -0
- package/src/panel-component/nav-pos/nav-pos.controller.ts +373 -0
- package/src/panel-component/nav-pos/nav-pos.provider.ts +38 -0
- package/src/panel-component/nav-pos/nav-pos.scss +4 -0
- package/src/panel-component/nav-pos/nav-pos.state.ts +52 -0
- package/src/panel-component/nav-pos/nav-pos.tsx +121 -0
- package/src/panel-component/panel-container/index.ts +27 -0
- package/src/panel-component/panel-container/panel-container.controller.ts +18 -0
- package/src/panel-component/panel-container/panel-container.provider.ts +30 -0
- package/src/panel-component/panel-container/panel-container.scss +15 -0
- package/src/panel-component/panel-container/panel-container.state.ts +12 -0
- package/src/panel-component/panel-container/panel-container.tsx +72 -0
- package/src/panel-component/panel-ctrl-pos/index.ts +14 -0
- package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.ts +53 -0
- package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.ts +30 -0
- package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.scss +8 -0
- package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.tsx +53 -0
- package/src/panel-component/panel-field/index.ts +14 -0
- package/src/panel-component/panel-field/panel-field.controller.ts +130 -0
- package/src/panel-component/panel-field/panel-field.provider.ts +28 -0
- package/src/panel-component/panel-field/panel-field.scss +36 -0
- package/src/panel-component/panel-field/panel-field.state.ts +12 -0
- package/src/panel-component/panel-field/panel-field.tsx +78 -0
- package/src/panel-component/panel-rawitem/index.ts +18 -0
- package/src/panel-component/panel-rawitem/panel-rawitem.controller.ts +34 -0
- package/src/panel-component/panel-rawitem/panel-rawitem.provider.ts +28 -0
- package/src/panel-component/panel-rawitem/panel-rawitem.scss +8 -0
- package/src/panel-component/panel-rawitem/panel-rawitem.tsx +51 -0
- package/src/panel-component/scroll-container/index.ts +44 -0
- package/src/panel-component/scroll-container/scroll-container/index.ts +2 -0
- package/src/panel-component/scroll-container/scroll-container/scroll-container.controller.ts +32 -0
- package/src/panel-component/scroll-container/scroll-container/scroll-container.provider.ts +30 -0
- package/src/panel-component/scroll-container/scroll-container/scroll-container.scss +34 -0
- package/src/panel-component/scroll-container/scroll-container/scroll-container.tsx +110 -0
- package/src/panel-component/scroll-container/scroll-container-item/index.ts +2 -0
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.ts +25 -0
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.ts +30 -0
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.scss +9 -0
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.tsx +60 -0
- package/src/panel-component/single-data-container/index.ts +22 -0
- package/src/panel-component/single-data-container/single-data-container.controller.ts +345 -0
- package/src/panel-component/single-data-container/single-data-container.provider.ts +30 -0
- package/src/panel-component/single-data-container/single-data-container.scss +10 -0
- package/src/panel-component/single-data-container/single-data-container.state.ts +20 -0
- package/src/panel-component/single-data-container/single-data-container.tsx +95 -0
- package/src/props/editor/span.ts +1 -1
- package/src/util/index.ts +5 -0
- package/src/util/overlay-container/overlay-container.ts +155 -0
- package/src/util/overlay-popover-container/overlay-popover-container.ts +30 -0
- package/src/util/overlay-view-util/overlay-view-util.ts +89 -0
- package/src/util/route/route.ts +142 -142
- package/src/util/router-callback/router-callback-item.ts +98 -0
- package/src/util/router-callback/router-callback.ts +97 -0
- package/src/util/store/app-store/app-store.ts +10 -0
- package/src/util/store/index.ts +6 -0
- package/src/util/store/ui-store/ui-store.ts +27 -0
- package/src/util/store/ui-store/z-index.ts +53 -0
- package/src/view/app-redirect-view/app-redirect-view.tsx +26 -0
- package/src/view/common/index.ts +10 -0
- package/src/view/common/view.provider.ts +14 -0
- package/src/view/common/view.scss +38 -0
- package/src/view/common/view.tsx +180 -0
- package/src/view/index.ts +4 -0
- package/src/view/portal-view/index.ts +18 -0
- package/src/view/portal-view/portal-view.provider.ts +14 -0
- package/src/view/portal-view/portal-view.tsx +79 -0
- package/src/view/todo-redirect/todo-redirect.tsx +51 -0
- package/dist/index.esm.js +0 -1859
- package/out/index.d.ts.map +0 -1
- package/out/index.js +0 -5
- package/out/interface/index.js +0 -1
- package/out/interface/util/index.js +0 -1
- package/out/interface/util/route/route.js +0 -1
- package/out/plugin/index.js +0 -1
- package/out/plugin/plugin-factory/plugin-factory.js +0 -297
- package/out/props/common.js +0 -23
- package/out/props/editor/array.js +0 -25
- package/out/props/editor/autocomplete.js +0 -25
- package/out/props/editor/cascader.js +0 -25
- package/out/props/editor/check-box-list.js +0 -25
- package/out/props/editor/check-box.js +0 -25
- package/out/props/editor/code.js +0 -29
- package/out/props/editor/color-picker.js +0 -25
- package/out/props/editor/common.js +0 -79
- package/out/props/editor/data-picker.js +0 -25
- package/out/props/editor/date-picker.js +0 -25
- package/out/props/editor/date-range.js +0 -21
- package/out/props/editor/dropdown-list.js +0 -25
- package/out/props/editor/html.js +0 -25
- package/out/props/editor/index.js +0 -25
- package/out/props/editor/list-box.js +0 -25
- package/out/props/editor/markdown.js +0 -28
- package/out/props/editor/number-range.js +0 -21
- package/out/props/editor/radio-button-list.js +0 -25
- package/out/props/editor/rate.js +0 -21
- package/out/props/editor/raw.js +0 -21
- package/out/props/editor/slider.js +0 -21
- package/out/props/editor/span.js +0 -25
- package/out/props/editor/stepper.js +0 -21
- package/out/props/editor/switch.js +0 -21
- package/out/props/editor/text-box.js +0 -73
- package/out/props/editor/upload.js +0 -25
- package/out/props/index.js +0 -2
- package/out/use/click-outside/click-outside.js +0 -50
- package/out/use/control/index.js +0 -1
- package/out/use/control/use-control-controller/use-control-controller.js +0 -94
- package/out/use/event/event.js +0 -39
- package/out/use/focus-blur/focus-blur.js +0 -63
- package/out/use/index.js +0 -9
- package/out/use/namespace/namespace.js +0 -13
- package/out/use/route/route.js +0 -41
- package/out/use/util/index.js +0 -23
- package/out/use/view/use-view-controller/use-view-controller.js +0 -94
- package/out/use/vue/vue.js +0 -112
- package/out/util/control/prepare-control.js +0 -25
- package/out/util/index.d.ts +0 -6
- package/out/util/index.d.ts.map +0 -1
- package/out/util/index.js +0 -5
- package/out/util/install.js +0 -6
- package/out/util/render/render.js +0 -28
- package/out/util/route/route-listener.js +0 -76
- package/out/util/route/route.d.ts.map +0 -1
- package/out/util/route/route.js +0 -385
- /package/{out → es}/interface/index.d.ts +0 -0
- /package/{out → es}/interface/index.d.ts.map +0 -0
- /package/{out → es}/interface/util/index.d.ts +0 -0
- /package/{out → es}/interface/util/index.d.ts.map +0 -0
- /package/{out → es}/interface/util/route/route.d.ts +0 -0
- /package/{out → es}/interface/util/route/route.d.ts.map +0 -0
- /package/{out → es}/plugin/index.d.ts +0 -0
- /package/{out → es}/plugin/index.d.ts.map +0 -0
- /package/{out → es}/plugin/plugin-factory/plugin-factory.d.ts +0 -0
- /package/{out → es}/plugin/plugin-factory/plugin-factory.d.ts.map +0 -0
- /package/{out → es}/props/common.d.ts +0 -0
- /package/{out → es}/props/common.d.ts.map +0 -0
- /package/{out → es}/props/editor/array.d.ts +0 -0
- /package/{out → es}/props/editor/array.d.ts.map +0 -0
- /package/{out → es}/props/editor/autocomplete.d.ts +0 -0
- /package/{out → es}/props/editor/autocomplete.d.ts.map +0 -0
- /package/{out → es}/props/editor/cascader.d.ts +0 -0
- /package/{out → es}/props/editor/cascader.d.ts.map +0 -0
- /package/{out → es}/props/editor/check-box-list.d.ts +0 -0
- /package/{out → es}/props/editor/check-box-list.d.ts.map +0 -0
- /package/{out → es}/props/editor/check-box.d.ts +0 -0
- /package/{out → es}/props/editor/check-box.d.ts.map +0 -0
- /package/{out → es}/props/editor/code.d.ts +0 -0
- /package/{out → es}/props/editor/code.d.ts.map +0 -0
- /package/{out → es}/props/editor/color-picker.d.ts +0 -0
- /package/{out → es}/props/editor/color-picker.d.ts.map +0 -0
- /package/{out → es}/props/editor/common.d.ts +0 -0
- /package/{out → es}/props/editor/common.d.ts.map +0 -0
- /package/{out → es}/props/editor/data-picker.d.ts +0 -0
- /package/{out → es}/props/editor/data-picker.d.ts.map +0 -0
- /package/{out → es}/props/editor/date-picker.d.ts +0 -0
- /package/{out → es}/props/editor/date-picker.d.ts.map +0 -0
- /package/{out → es}/props/editor/date-range.d.ts +0 -0
- /package/{out → es}/props/editor/date-range.d.ts.map +0 -0
- /package/{out → es}/props/editor/dropdown-list.d.ts +0 -0
- /package/{out → es}/props/editor/dropdown-list.d.ts.map +0 -0
- /package/{out → es}/props/editor/html.d.ts +0 -0
- /package/{out → es}/props/editor/html.d.ts.map +0 -0
- /package/{out → es}/props/editor/index.d.ts +0 -0
- /package/{out → es}/props/editor/index.d.ts.map +0 -0
- /package/{out → es}/props/editor/list-box.d.ts +0 -0
- /package/{out → es}/props/editor/list-box.d.ts.map +0 -0
- /package/{out → es}/props/editor/markdown.d.ts +0 -0
- /package/{out → es}/props/editor/markdown.d.ts.map +0 -0
- /package/{out → es}/props/editor/number-range.d.ts +0 -0
- /package/{out → es}/props/editor/number-range.d.ts.map +0 -0
- /package/{out → es}/props/editor/radio-button-list.d.ts +0 -0
- /package/{out → es}/props/editor/radio-button-list.d.ts.map +0 -0
- /package/{out → es}/props/editor/rate.d.ts +0 -0
- /package/{out → es}/props/editor/rate.d.ts.map +0 -0
- /package/{out → es}/props/editor/raw.d.ts +0 -0
- /package/{out → es}/props/editor/raw.d.ts.map +0 -0
- /package/{out → es}/props/editor/slider.d.ts +0 -0
- /package/{out → es}/props/editor/slider.d.ts.map +0 -0
- /package/{out → es}/props/editor/span.d.ts.map +0 -0
- /package/{out → es}/props/editor/stepper.d.ts +0 -0
- /package/{out → es}/props/editor/stepper.d.ts.map +0 -0
- /package/{out → es}/props/editor/switch.d.ts +0 -0
- /package/{out → es}/props/editor/switch.d.ts.map +0 -0
- /package/{out → es}/props/editor/text-box.d.ts +0 -0
- /package/{out → es}/props/editor/text-box.d.ts.map +0 -0
- /package/{out → es}/props/editor/upload.d.ts +0 -0
- /package/{out → es}/props/editor/upload.d.ts.map +0 -0
- /package/{out → es}/props/index.d.ts +0 -0
- /package/{out → es}/props/index.d.ts.map +0 -0
- /package/{out → es}/use/click-outside/click-outside.d.ts +0 -0
- /package/{out → es}/use/click-outside/click-outside.d.ts.map +0 -0
- /package/{out → es}/use/control/index.d.ts +0 -0
- /package/{out → es}/use/control/index.d.ts.map +0 -0
- /package/{out → es}/use/control/use-control-controller/use-control-controller.d.ts +0 -0
- /package/{out → es}/use/control/use-control-controller/use-control-controller.d.ts.map +0 -0
- /package/{out → es}/use/event/event.d.ts +0 -0
- /package/{out → es}/use/event/event.d.ts.map +0 -0
- /package/{out → es}/use/focus-blur/focus-blur.d.ts +0 -0
- /package/{out → es}/use/focus-blur/focus-blur.d.ts.map +0 -0
- /package/{out → es}/use/index.d.ts +0 -0
- /package/{out → es}/use/index.d.ts.map +0 -0
- /package/{out → es}/use/namespace/namespace.d.ts +0 -0
- /package/{out → es}/use/namespace/namespace.d.ts.map +0 -0
- /package/{out → es}/use/route/route.d.ts +0 -0
- /package/{out → es}/use/route/route.d.ts.map +0 -0
- /package/{out → es}/use/util/index.d.ts +0 -0
- /package/{out → es}/use/util/index.d.ts.map +0 -0
- /package/{out → es}/use/view/index.d.ts +0 -0
- /package/{out → es}/use/view/index.d.ts.map +0 -0
- /package/{out → es}/use/view/use-view-controller/use-view-controller.d.ts +0 -0
- /package/{out → es}/use/view/use-view-controller/use-view-controller.d.ts.map +0 -0
- /package/{out → es}/use/vue/vue.d.ts +0 -0
- /package/{out → es}/use/vue/vue.d.ts.map +0 -0
- /package/{out → es}/util/control/prepare-control.d.ts +0 -0
- /package/{out → es}/util/control/prepare-control.d.ts.map +0 -0
- /package/{out → es}/util/install.d.ts +0 -0
- /package/{out → es}/util/install.d.ts.map +0 -0
- /package/{out → es}/util/render/render.d.ts +0 -0
- /package/{out → es}/util/render/render.d.ts.map +0 -0
- /package/{out → es}/util/route/route-listener.d.ts +0 -0
- /package/{out → es}/util/route/route-listener.d.ts.map +0 -0
|
@@ -0,0 +1,535 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs } from '../../../../../_virtual/_commonjsHelpers.mjs';
|
|
2
|
+
|
|
3
|
+
// 'path' module extracted from Node.js v8.11.1 (only the posix part)
|
|
4
|
+
// transplited with Babel
|
|
5
|
+
|
|
6
|
+
// Copyright Joyent, Inc. and other Node contributors.
|
|
7
|
+
//
|
|
8
|
+
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
9
|
+
// copy of this software and associated documentation files (the
|
|
10
|
+
// "Software"), to deal in the Software without restriction, including
|
|
11
|
+
// without limitation the rights to use, copy, modify, merge, publish,
|
|
12
|
+
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
13
|
+
// persons to whom the Software is furnished to do so, subject to the
|
|
14
|
+
// following conditions:
|
|
15
|
+
//
|
|
16
|
+
// The above copyright notice and this permission notice shall be included
|
|
17
|
+
// in all copies or substantial portions of the Software.
|
|
18
|
+
//
|
|
19
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
20
|
+
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
21
|
+
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
22
|
+
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
23
|
+
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
24
|
+
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
25
|
+
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
26
|
+
|
|
27
|
+
'use strict';
|
|
28
|
+
|
|
29
|
+
function assertPath(path) {
|
|
30
|
+
if (typeof path !== 'string') {
|
|
31
|
+
throw new TypeError('Path must be a string. Received ' + JSON.stringify(path));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Resolves . and .. elements in a path with directory names
|
|
36
|
+
function normalizeStringPosix(path, allowAboveRoot) {
|
|
37
|
+
var res = '';
|
|
38
|
+
var lastSegmentLength = 0;
|
|
39
|
+
var lastSlash = -1;
|
|
40
|
+
var dots = 0;
|
|
41
|
+
var code;
|
|
42
|
+
for (var i = 0; i <= path.length; ++i) {
|
|
43
|
+
if (i < path.length)
|
|
44
|
+
code = path.charCodeAt(i);
|
|
45
|
+
else if (code === 47 /*/*/)
|
|
46
|
+
break;
|
|
47
|
+
else
|
|
48
|
+
code = 47 /*/*/;
|
|
49
|
+
if (code === 47 /*/*/) {
|
|
50
|
+
if (lastSlash === i - 1 || dots === 1) {
|
|
51
|
+
// NOOP
|
|
52
|
+
} else if (lastSlash !== i - 1 && dots === 2) {
|
|
53
|
+
if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== 46 /*.*/ || res.charCodeAt(res.length - 2) !== 46 /*.*/) {
|
|
54
|
+
if (res.length > 2) {
|
|
55
|
+
var lastSlashIndex = res.lastIndexOf('/');
|
|
56
|
+
if (lastSlashIndex !== res.length - 1) {
|
|
57
|
+
if (lastSlashIndex === -1) {
|
|
58
|
+
res = '';
|
|
59
|
+
lastSegmentLength = 0;
|
|
60
|
+
} else {
|
|
61
|
+
res = res.slice(0, lastSlashIndex);
|
|
62
|
+
lastSegmentLength = res.length - 1 - res.lastIndexOf('/');
|
|
63
|
+
}
|
|
64
|
+
lastSlash = i;
|
|
65
|
+
dots = 0;
|
|
66
|
+
continue;
|
|
67
|
+
}
|
|
68
|
+
} else if (res.length === 2 || res.length === 1) {
|
|
69
|
+
res = '';
|
|
70
|
+
lastSegmentLength = 0;
|
|
71
|
+
lastSlash = i;
|
|
72
|
+
dots = 0;
|
|
73
|
+
continue;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
if (allowAboveRoot) {
|
|
77
|
+
if (res.length > 0)
|
|
78
|
+
res += '/..';
|
|
79
|
+
else
|
|
80
|
+
res = '..';
|
|
81
|
+
lastSegmentLength = 2;
|
|
82
|
+
}
|
|
83
|
+
} else {
|
|
84
|
+
if (res.length > 0)
|
|
85
|
+
res += '/' + path.slice(lastSlash + 1, i);
|
|
86
|
+
else
|
|
87
|
+
res = path.slice(lastSlash + 1, i);
|
|
88
|
+
lastSegmentLength = i - lastSlash - 1;
|
|
89
|
+
}
|
|
90
|
+
lastSlash = i;
|
|
91
|
+
dots = 0;
|
|
92
|
+
} else if (code === 46 /*.*/ && dots !== -1) {
|
|
93
|
+
++dots;
|
|
94
|
+
} else {
|
|
95
|
+
dots = -1;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return res;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
function _format(sep, pathObject) {
|
|
102
|
+
var dir = pathObject.dir || pathObject.root;
|
|
103
|
+
var base = pathObject.base || (pathObject.name || '') + (pathObject.ext || '');
|
|
104
|
+
if (!dir) {
|
|
105
|
+
return base;
|
|
106
|
+
}
|
|
107
|
+
if (dir === pathObject.root) {
|
|
108
|
+
return dir + base;
|
|
109
|
+
}
|
|
110
|
+
return dir + sep + base;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
var posix = {
|
|
114
|
+
// path.resolve([from ...], to)
|
|
115
|
+
resolve: function resolve() {
|
|
116
|
+
var resolvedPath = '';
|
|
117
|
+
var resolvedAbsolute = false;
|
|
118
|
+
var cwd;
|
|
119
|
+
|
|
120
|
+
for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
|
|
121
|
+
var path;
|
|
122
|
+
if (i >= 0)
|
|
123
|
+
path = arguments[i];
|
|
124
|
+
else {
|
|
125
|
+
if (cwd === undefined)
|
|
126
|
+
cwd = process.cwd();
|
|
127
|
+
path = cwd;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
assertPath(path);
|
|
131
|
+
|
|
132
|
+
// Skip empty entries
|
|
133
|
+
if (path.length === 0) {
|
|
134
|
+
continue;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
resolvedPath = path + '/' + resolvedPath;
|
|
138
|
+
resolvedAbsolute = path.charCodeAt(0) === 47 /*/*/;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// At this point the path should be resolved to a full absolute path, but
|
|
142
|
+
// handle relative paths to be safe (might happen when process.cwd() fails)
|
|
143
|
+
|
|
144
|
+
// Normalize the path
|
|
145
|
+
resolvedPath = normalizeStringPosix(resolvedPath, !resolvedAbsolute);
|
|
146
|
+
|
|
147
|
+
if (resolvedAbsolute) {
|
|
148
|
+
if (resolvedPath.length > 0)
|
|
149
|
+
return '/' + resolvedPath;
|
|
150
|
+
else
|
|
151
|
+
return '/';
|
|
152
|
+
} else if (resolvedPath.length > 0) {
|
|
153
|
+
return resolvedPath;
|
|
154
|
+
} else {
|
|
155
|
+
return '.';
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
|
|
159
|
+
normalize: function normalize(path) {
|
|
160
|
+
assertPath(path);
|
|
161
|
+
|
|
162
|
+
if (path.length === 0) return '.';
|
|
163
|
+
|
|
164
|
+
var isAbsolute = path.charCodeAt(0) === 47 /*/*/;
|
|
165
|
+
var trailingSeparator = path.charCodeAt(path.length - 1) === 47 /*/*/;
|
|
166
|
+
|
|
167
|
+
// Normalize the path
|
|
168
|
+
path = normalizeStringPosix(path, !isAbsolute);
|
|
169
|
+
|
|
170
|
+
if (path.length === 0 && !isAbsolute) path = '.';
|
|
171
|
+
if (path.length > 0 && trailingSeparator) path += '/';
|
|
172
|
+
|
|
173
|
+
if (isAbsolute) return '/' + path;
|
|
174
|
+
return path;
|
|
175
|
+
},
|
|
176
|
+
|
|
177
|
+
isAbsolute: function isAbsolute(path) {
|
|
178
|
+
assertPath(path);
|
|
179
|
+
return path.length > 0 && path.charCodeAt(0) === 47 /*/*/;
|
|
180
|
+
},
|
|
181
|
+
|
|
182
|
+
join: function join() {
|
|
183
|
+
if (arguments.length === 0)
|
|
184
|
+
return '.';
|
|
185
|
+
var joined;
|
|
186
|
+
for (var i = 0; i < arguments.length; ++i) {
|
|
187
|
+
var arg = arguments[i];
|
|
188
|
+
assertPath(arg);
|
|
189
|
+
if (arg.length > 0) {
|
|
190
|
+
if (joined === undefined)
|
|
191
|
+
joined = arg;
|
|
192
|
+
else
|
|
193
|
+
joined += '/' + arg;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
if (joined === undefined)
|
|
197
|
+
return '.';
|
|
198
|
+
return posix.normalize(joined);
|
|
199
|
+
},
|
|
200
|
+
|
|
201
|
+
relative: function relative(from, to) {
|
|
202
|
+
assertPath(from);
|
|
203
|
+
assertPath(to);
|
|
204
|
+
|
|
205
|
+
if (from === to) return '';
|
|
206
|
+
|
|
207
|
+
from = posix.resolve(from);
|
|
208
|
+
to = posix.resolve(to);
|
|
209
|
+
|
|
210
|
+
if (from === to) return '';
|
|
211
|
+
|
|
212
|
+
// Trim any leading backslashes
|
|
213
|
+
var fromStart = 1;
|
|
214
|
+
for (; fromStart < from.length; ++fromStart) {
|
|
215
|
+
if (from.charCodeAt(fromStart) !== 47 /*/*/)
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
var fromEnd = from.length;
|
|
219
|
+
var fromLen = fromEnd - fromStart;
|
|
220
|
+
|
|
221
|
+
// Trim any leading backslashes
|
|
222
|
+
var toStart = 1;
|
|
223
|
+
for (; toStart < to.length; ++toStart) {
|
|
224
|
+
if (to.charCodeAt(toStart) !== 47 /*/*/)
|
|
225
|
+
break;
|
|
226
|
+
}
|
|
227
|
+
var toEnd = to.length;
|
|
228
|
+
var toLen = toEnd - toStart;
|
|
229
|
+
|
|
230
|
+
// Compare paths to find the longest common path from root
|
|
231
|
+
var length = fromLen < toLen ? fromLen : toLen;
|
|
232
|
+
var lastCommonSep = -1;
|
|
233
|
+
var i = 0;
|
|
234
|
+
for (; i <= length; ++i) {
|
|
235
|
+
if (i === length) {
|
|
236
|
+
if (toLen > length) {
|
|
237
|
+
if (to.charCodeAt(toStart + i) === 47 /*/*/) {
|
|
238
|
+
// We get here if `from` is the exact base path for `to`.
|
|
239
|
+
// For example: from='/foo/bar'; to='/foo/bar/baz'
|
|
240
|
+
return to.slice(toStart + i + 1);
|
|
241
|
+
} else if (i === 0) {
|
|
242
|
+
// We get here if `from` is the root
|
|
243
|
+
// For example: from='/'; to='/foo'
|
|
244
|
+
return to.slice(toStart + i);
|
|
245
|
+
}
|
|
246
|
+
} else if (fromLen > length) {
|
|
247
|
+
if (from.charCodeAt(fromStart + i) === 47 /*/*/) {
|
|
248
|
+
// We get here if `to` is the exact base path for `from`.
|
|
249
|
+
// For example: from='/foo/bar/baz'; to='/foo/bar'
|
|
250
|
+
lastCommonSep = i;
|
|
251
|
+
} else if (i === 0) {
|
|
252
|
+
// We get here if `to` is the root.
|
|
253
|
+
// For example: from='/foo'; to='/'
|
|
254
|
+
lastCommonSep = 0;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
break;
|
|
258
|
+
}
|
|
259
|
+
var fromCode = from.charCodeAt(fromStart + i);
|
|
260
|
+
var toCode = to.charCodeAt(toStart + i);
|
|
261
|
+
if (fromCode !== toCode)
|
|
262
|
+
break;
|
|
263
|
+
else if (fromCode === 47 /*/*/)
|
|
264
|
+
lastCommonSep = i;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
var out = '';
|
|
268
|
+
// Generate the relative path based on the path difference between `to`
|
|
269
|
+
// and `from`
|
|
270
|
+
for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {
|
|
271
|
+
if (i === fromEnd || from.charCodeAt(i) === 47 /*/*/) {
|
|
272
|
+
if (out.length === 0)
|
|
273
|
+
out += '..';
|
|
274
|
+
else
|
|
275
|
+
out += '/..';
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
// Lastly, append the rest of the destination (`to`) path that comes after
|
|
280
|
+
// the common path parts
|
|
281
|
+
if (out.length > 0)
|
|
282
|
+
return out + to.slice(toStart + lastCommonSep);
|
|
283
|
+
else {
|
|
284
|
+
toStart += lastCommonSep;
|
|
285
|
+
if (to.charCodeAt(toStart) === 47 /*/*/)
|
|
286
|
+
++toStart;
|
|
287
|
+
return to.slice(toStart);
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
|
|
291
|
+
_makeLong: function _makeLong(path) {
|
|
292
|
+
return path;
|
|
293
|
+
},
|
|
294
|
+
|
|
295
|
+
dirname: function dirname(path) {
|
|
296
|
+
assertPath(path);
|
|
297
|
+
if (path.length === 0) return '.';
|
|
298
|
+
var code = path.charCodeAt(0);
|
|
299
|
+
var hasRoot = code === 47 /*/*/;
|
|
300
|
+
var end = -1;
|
|
301
|
+
var matchedSlash = true;
|
|
302
|
+
for (var i = path.length - 1; i >= 1; --i) {
|
|
303
|
+
code = path.charCodeAt(i);
|
|
304
|
+
if (code === 47 /*/*/) {
|
|
305
|
+
if (!matchedSlash) {
|
|
306
|
+
end = i;
|
|
307
|
+
break;
|
|
308
|
+
}
|
|
309
|
+
} else {
|
|
310
|
+
// We saw the first non-path separator
|
|
311
|
+
matchedSlash = false;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
if (end === -1) return hasRoot ? '/' : '.';
|
|
316
|
+
if (hasRoot && end === 1) return '//';
|
|
317
|
+
return path.slice(0, end);
|
|
318
|
+
},
|
|
319
|
+
|
|
320
|
+
basename: function basename(path, ext) {
|
|
321
|
+
if (ext !== undefined && typeof ext !== 'string') throw new TypeError('"ext" argument must be a string');
|
|
322
|
+
assertPath(path);
|
|
323
|
+
|
|
324
|
+
var start = 0;
|
|
325
|
+
var end = -1;
|
|
326
|
+
var matchedSlash = true;
|
|
327
|
+
var i;
|
|
328
|
+
|
|
329
|
+
if (ext !== undefined && ext.length > 0 && ext.length <= path.length) {
|
|
330
|
+
if (ext.length === path.length && ext === path) return '';
|
|
331
|
+
var extIdx = ext.length - 1;
|
|
332
|
+
var firstNonSlashEnd = -1;
|
|
333
|
+
for (i = path.length - 1; i >= 0; --i) {
|
|
334
|
+
var code = path.charCodeAt(i);
|
|
335
|
+
if (code === 47 /*/*/) {
|
|
336
|
+
// If we reached a path separator that was not part of a set of path
|
|
337
|
+
// separators at the end of the string, stop now
|
|
338
|
+
if (!matchedSlash) {
|
|
339
|
+
start = i + 1;
|
|
340
|
+
break;
|
|
341
|
+
}
|
|
342
|
+
} else {
|
|
343
|
+
if (firstNonSlashEnd === -1) {
|
|
344
|
+
// We saw the first non-path separator, remember this index in case
|
|
345
|
+
// we need it if the extension ends up not matching
|
|
346
|
+
matchedSlash = false;
|
|
347
|
+
firstNonSlashEnd = i + 1;
|
|
348
|
+
}
|
|
349
|
+
if (extIdx >= 0) {
|
|
350
|
+
// Try to match the explicit extension
|
|
351
|
+
if (code === ext.charCodeAt(extIdx)) {
|
|
352
|
+
if (--extIdx === -1) {
|
|
353
|
+
// We matched the extension, so mark this as the end of our path
|
|
354
|
+
// component
|
|
355
|
+
end = i;
|
|
356
|
+
}
|
|
357
|
+
} else {
|
|
358
|
+
// Extension does not match, so our result is the entire path
|
|
359
|
+
// component
|
|
360
|
+
extIdx = -1;
|
|
361
|
+
end = firstNonSlashEnd;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
if (start === end) end = firstNonSlashEnd;else if (end === -1) end = path.length;
|
|
368
|
+
return path.slice(start, end);
|
|
369
|
+
} else {
|
|
370
|
+
for (i = path.length - 1; i >= 0; --i) {
|
|
371
|
+
if (path.charCodeAt(i) === 47 /*/*/) {
|
|
372
|
+
// If we reached a path separator that was not part of a set of path
|
|
373
|
+
// separators at the end of the string, stop now
|
|
374
|
+
if (!matchedSlash) {
|
|
375
|
+
start = i + 1;
|
|
376
|
+
break;
|
|
377
|
+
}
|
|
378
|
+
} else if (end === -1) {
|
|
379
|
+
// We saw the first non-path separator, mark this as the end of our
|
|
380
|
+
// path component
|
|
381
|
+
matchedSlash = false;
|
|
382
|
+
end = i + 1;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
if (end === -1) return '';
|
|
387
|
+
return path.slice(start, end);
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
|
|
391
|
+
extname: function extname(path) {
|
|
392
|
+
assertPath(path);
|
|
393
|
+
var startDot = -1;
|
|
394
|
+
var startPart = 0;
|
|
395
|
+
var end = -1;
|
|
396
|
+
var matchedSlash = true;
|
|
397
|
+
// Track the state of characters (if any) we see before our first dot and
|
|
398
|
+
// after any path separator we find
|
|
399
|
+
var preDotState = 0;
|
|
400
|
+
for (var i = path.length - 1; i >= 0; --i) {
|
|
401
|
+
var code = path.charCodeAt(i);
|
|
402
|
+
if (code === 47 /*/*/) {
|
|
403
|
+
// If we reached a path separator that was not part of a set of path
|
|
404
|
+
// separators at the end of the string, stop now
|
|
405
|
+
if (!matchedSlash) {
|
|
406
|
+
startPart = i + 1;
|
|
407
|
+
break;
|
|
408
|
+
}
|
|
409
|
+
continue;
|
|
410
|
+
}
|
|
411
|
+
if (end === -1) {
|
|
412
|
+
// We saw the first non-path separator, mark this as the end of our
|
|
413
|
+
// extension
|
|
414
|
+
matchedSlash = false;
|
|
415
|
+
end = i + 1;
|
|
416
|
+
}
|
|
417
|
+
if (code === 46 /*.*/) {
|
|
418
|
+
// If this is our first dot, mark it as the start of our extension
|
|
419
|
+
if (startDot === -1)
|
|
420
|
+
startDot = i;
|
|
421
|
+
else if (preDotState !== 1)
|
|
422
|
+
preDotState = 1;
|
|
423
|
+
} else if (startDot !== -1) {
|
|
424
|
+
// We saw a non-dot and non-path separator before our dot, so we should
|
|
425
|
+
// have a good chance at having a non-empty extension
|
|
426
|
+
preDotState = -1;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
if (startDot === -1 || end === -1 ||
|
|
431
|
+
// We saw a non-dot character immediately before the dot
|
|
432
|
+
preDotState === 0 ||
|
|
433
|
+
// The (right-most) trimmed path component is exactly '..'
|
|
434
|
+
preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
|
|
435
|
+
return '';
|
|
436
|
+
}
|
|
437
|
+
return path.slice(startDot, end);
|
|
438
|
+
},
|
|
439
|
+
|
|
440
|
+
format: function format(pathObject) {
|
|
441
|
+
if (pathObject === null || typeof pathObject !== 'object') {
|
|
442
|
+
throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof pathObject);
|
|
443
|
+
}
|
|
444
|
+
return _format('/', pathObject);
|
|
445
|
+
},
|
|
446
|
+
|
|
447
|
+
parse: function parse(path) {
|
|
448
|
+
assertPath(path);
|
|
449
|
+
|
|
450
|
+
var ret = { root: '', dir: '', base: '', ext: '', name: '' };
|
|
451
|
+
if (path.length === 0) return ret;
|
|
452
|
+
var code = path.charCodeAt(0);
|
|
453
|
+
var isAbsolute = code === 47 /*/*/;
|
|
454
|
+
var start;
|
|
455
|
+
if (isAbsolute) {
|
|
456
|
+
ret.root = '/';
|
|
457
|
+
start = 1;
|
|
458
|
+
} else {
|
|
459
|
+
start = 0;
|
|
460
|
+
}
|
|
461
|
+
var startDot = -1;
|
|
462
|
+
var startPart = 0;
|
|
463
|
+
var end = -1;
|
|
464
|
+
var matchedSlash = true;
|
|
465
|
+
var i = path.length - 1;
|
|
466
|
+
|
|
467
|
+
// Track the state of characters (if any) we see before our first dot and
|
|
468
|
+
// after any path separator we find
|
|
469
|
+
var preDotState = 0;
|
|
470
|
+
|
|
471
|
+
// Get non-dir info
|
|
472
|
+
for (; i >= start; --i) {
|
|
473
|
+
code = path.charCodeAt(i);
|
|
474
|
+
if (code === 47 /*/*/) {
|
|
475
|
+
// If we reached a path separator that was not part of a set of path
|
|
476
|
+
// separators at the end of the string, stop now
|
|
477
|
+
if (!matchedSlash) {
|
|
478
|
+
startPart = i + 1;
|
|
479
|
+
break;
|
|
480
|
+
}
|
|
481
|
+
continue;
|
|
482
|
+
}
|
|
483
|
+
if (end === -1) {
|
|
484
|
+
// We saw the first non-path separator, mark this as the end of our
|
|
485
|
+
// extension
|
|
486
|
+
matchedSlash = false;
|
|
487
|
+
end = i + 1;
|
|
488
|
+
}
|
|
489
|
+
if (code === 46 /*.*/) {
|
|
490
|
+
// If this is our first dot, mark it as the start of our extension
|
|
491
|
+
if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1;
|
|
492
|
+
} else if (startDot !== -1) {
|
|
493
|
+
// We saw a non-dot and non-path separator before our dot, so we should
|
|
494
|
+
// have a good chance at having a non-empty extension
|
|
495
|
+
preDotState = -1;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
if (startDot === -1 || end === -1 ||
|
|
500
|
+
// We saw a non-dot character immediately before the dot
|
|
501
|
+
preDotState === 0 ||
|
|
502
|
+
// The (right-most) trimmed path component is exactly '..'
|
|
503
|
+
preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
|
|
504
|
+
if (end !== -1) {
|
|
505
|
+
if (startPart === 0 && isAbsolute) ret.base = ret.name = path.slice(1, end);else ret.base = ret.name = path.slice(startPart, end);
|
|
506
|
+
}
|
|
507
|
+
} else {
|
|
508
|
+
if (startPart === 0 && isAbsolute) {
|
|
509
|
+
ret.name = path.slice(1, startDot);
|
|
510
|
+
ret.base = path.slice(1, end);
|
|
511
|
+
} else {
|
|
512
|
+
ret.name = path.slice(startPart, startDot);
|
|
513
|
+
ret.base = path.slice(startPart, end);
|
|
514
|
+
}
|
|
515
|
+
ret.ext = path.slice(startDot, end);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
if (startPart > 0) ret.dir = path.slice(0, startPart - 1);else if (isAbsolute) ret.dir = '/';
|
|
519
|
+
|
|
520
|
+
return ret;
|
|
521
|
+
},
|
|
522
|
+
|
|
523
|
+
sep: '/',
|
|
524
|
+
delimiter: ':',
|
|
525
|
+
win32: null,
|
|
526
|
+
posix: null
|
|
527
|
+
};
|
|
528
|
+
|
|
529
|
+
posix.posix = posix;
|
|
530
|
+
|
|
531
|
+
var pathBrowserify = posix;
|
|
532
|
+
|
|
533
|
+
var path = /*@__PURE__*/getDefaultExportFromCjs(pathBrowserify);
|
|
534
|
+
|
|
535
|
+
export { path as default, pathBrowserify as p };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
+
import { IPanelContainer } from '@ibiz/model-core';
|
|
3
|
+
import { GridContainerState } from './grid-container.state';
|
|
4
|
+
/**
|
|
5
|
+
* 面板栅格容器控制器
|
|
6
|
+
*
|
|
7
|
+
* @export
|
|
8
|
+
* @class GridContainerController
|
|
9
|
+
* @extends {PanelItemController}
|
|
10
|
+
*/
|
|
11
|
+
export declare class GridContainerController extends PanelItemController<IPanelContainer> {
|
|
12
|
+
state: GridContainerState;
|
|
13
|
+
protected createState(): GridContainerState;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=grid-container.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-container.controller.d.ts","sourceRoot":"","sources":["../../../src/panel-component/grid-container/grid-container.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D;;;;;;GAMG;AACH,qBAAa,uBAAwB,SAAQ,mBAAmB,CAAC,eAAe,CAAC;IACvE,KAAK,EAAE,kBAAkB,CAAC;IAElC,SAAS,CAAC,WAAW,IAAI,kBAAkB;CAG5C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
+
import { GridContainerState } from './grid-container.state.mjs';
|
|
3
|
+
|
|
4
|
+
"use strict";
|
|
5
|
+
class GridContainerController extends PanelItemController {
|
|
6
|
+
createState() {
|
|
7
|
+
var _a;
|
|
8
|
+
return new GridContainerState((_a = this.parent) == null ? void 0 : _a.state);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { GridContainerController };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-grid-container{--ibiz-grid-container-bg-color:var(--ibiz-bg-color-overlay);--ibiz-grid-container-padding:var(--ibiz-padding);width:100%;height:100%;overflow:auto}.ibiz-grid-container.is-hidden{display:none}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IFlexLayoutPos, IPanelContainer } from '@ibiz/model-core';
|
|
2
|
+
import { PropType, Ref } from 'vue';
|
|
3
|
+
import { GridContainerController } from './grid-container.controller';
|
|
4
|
+
import './grid-container.scss';
|
|
5
|
+
export declare const GridContainer: import("vue").DefineComponent<{
|
|
6
|
+
modelData: {
|
|
7
|
+
type: PropType<IPanelContainer>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
controller: {
|
|
11
|
+
type: typeof GridContainerController;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
16
|
+
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
17
|
+
layoutModel: import("vue").ComputedRef<{
|
|
18
|
+
layout: string;
|
|
19
|
+
appId?: string | undefined;
|
|
20
|
+
id?: string | undefined;
|
|
21
|
+
name?: string | undefined;
|
|
22
|
+
codeName?: string | undefined;
|
|
23
|
+
userParam?: Record<string, string> | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
convertLayoutPos: (layoutPos: IFlexLayoutPos, adaptGrow: number) => IFlexLayoutPos;
|
|
26
|
+
adaptGrow: Ref<number>;
|
|
27
|
+
adaptCols: Ref<number | undefined>;
|
|
28
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
modelData: {
|
|
30
|
+
type: PropType<IPanelContainer>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
controller: {
|
|
34
|
+
type: typeof GridContainerController;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
}>>, {}, {}>;
|
|
38
|
+
//# sourceMappingURL=grid-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-container.d.ts","sourceRoot":"","sources":["../../../src/panel-component/grid-container/grid-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAA6B,QAAQ,EAAO,GAAG,EAAS,MAAM,KAAK,CAAC;AAE3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,uBAAuB,CAAC;AAE/B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;kCAgCT,cAAc,aACd,MAAM,KAChB,cAAc;;;;;;;;;;;;YA8EnB,CAAC"}
|