@ibiz-template/mob-vue3-components 0.0.12 → 0.0.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 -1
- package/dist/index.system.min.js +5 -5
- package/dist/index.system.min.js.map +1 -1
- package/es/control/app-menu/app-menu.d.ts +1 -1
- package/es/control/app-menu/app-menu.mjs +5 -3
- package/es/control/app-menu/index.d.ts +1 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +1 -1
- package/es/editor/date-picker/date-picker-editor.controller.d.ts +0 -8
- package/es/editor/date-picker/date-picker-editor.controller.mjs +0 -11
- package/es/editor/date-range/date-range-editor.controller.d.ts +0 -8
- package/es/editor/date-range/date-range-editor.controller.mjs +0 -20
- package/es/editor/span/span/span.d.ts +3 -0
- package/es/ibiz-vue3.d.ts +6 -0
- package/es/ibiz-vue3.mjs +75 -0
- package/es/index.d.ts +6 -10
- package/es/index.mjs +89 -135
- package/es/mob-app/App.css +1 -0
- package/es/mob-app/App.d.ts +11 -0
- package/es/mob-app/App.mjs +64 -0
- package/es/mob-app/attach-environment-config.d.ts +1 -0
- package/es/mob-app/attach-environment-config.mjs +22 -0
- package/es/mob-app/components/home-view/home-view.css +1 -0
- package/es/mob-app/components/home-view/home-view.d.ts +17 -0
- package/es/mob-app/components/home-view/home-view.mjs +38 -0
- package/es/mob-app/components/index.d.ts +3 -0
- package/es/mob-app/components/index.mjs +4 -0
- package/es/mob-app/components/router-shell/router-shell.d.ts +3867 -0
- package/es/mob-app/components/router-shell/router-shell.mjs +82 -0
- package/es/mob-app/create-vue-app.d.ts +12 -0
- package/es/mob-app/create-vue-app.mjs +38 -0
- package/es/mob-app/guard/auth-guard/auth-guard.d.ts +9 -0
- package/es/mob-app/guard/auth-guard/auth-guard.mjs +141 -0
- package/es/mob-app/guard/index.d.ts +1 -0
- package/es/mob-app/guard/index.mjs +3 -0
- package/es/mob-app/index.d.ts +1 -0
- package/es/mob-app/index.mjs +3 -0
- package/es/mob-app/main.d.ts +2 -0
- package/es/mob-app/main.mjs +60 -0
- package/es/mob-app/router/index.d.ts +21 -0
- package/es/mob-app/router/index.mjs +174 -0
- package/es/mob-app/util/index.d.ts +1 -0
- package/es/mob-app/util/index.mjs +3 -0
- package/es/mob-app/util/unauthorized-handler/unauthorized-handler.d.ts +46 -0
- package/es/mob-app/util/unauthorized-handler/unauthorized-handler.mjs +100 -0
- package/es/panel-component/index.mjs +2 -1
- package/es/util/open-view-util/open-view-util.d.ts +2 -1
- package/es/util/open-view-util/open-view-util.mjs +5 -2
- package/es/view-engine/mob-edit-view.engine.mjs +5 -1
- package/lib/control/app-menu/app-menu.cjs +5 -3
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +1 -1
- package/lib/editor/date-picker/date-picker-editor.controller.cjs +0 -11
- package/lib/editor/date-range/date-range-editor.controller.cjs +0 -20
- package/lib/editor/upload/ibiz-image-select/ibiz-image-select.cjs +2 -2
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.cjs +2 -2
- package/lib/ibiz-vue3.cjs +79 -0
- package/lib/index.cjs +177 -221
- package/lib/mob-app/App.cjs +68 -0
- package/lib/mob-app/App.css +1 -0
- package/lib/mob-app/attach-environment-config.cjs +24 -0
- package/lib/mob-app/components/home-view/home-view.cjs +40 -0
- package/lib/mob-app/components/home-view/home-view.css +1 -0
- package/lib/mob-app/components/index.cjs +9 -0
- package/lib/mob-app/components/router-shell/router-shell.cjs +84 -0
- package/lib/mob-app/create-vue-app.cjs +40 -0
- package/lib/mob-app/guard/auth-guard/auth-guard.cjs +143 -0
- package/lib/mob-app/guard/index.cjs +7 -0
- package/lib/mob-app/index.cjs +7 -0
- package/lib/mob-app/main.cjs +62 -0
- package/lib/mob-app/router/index.cjs +176 -0
- package/lib/mob-app/util/index.cjs +7 -0
- package/lib/mob-app/util/unauthorized-handler/unauthorized-handler.cjs +102 -0
- package/lib/panel-component/index.cjs +1 -0
- package/lib/util/confirm-util/confirm-util.cjs +5 -5
- package/lib/util/directive/loading.cjs +2 -2
- package/lib/util/loading-util/loading-util.cjs +2 -2
- package/lib/util/message-util/message-util.cjs +5 -5
- package/lib/util/modal-util/modal-util.cjs +6 -6
- package/lib/util/notification-util/notification-util.cjs +5 -5
- package/lib/util/open-view-util/open-view-util.cjs +5 -2
- package/lib/view-engine/mob-edit-view.engine.cjs +5 -1
- package/package.json +8 -7
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IModal, Modal } from '@ibiz-template/runtime';
|
|
3
|
+
import './home-view.scss';
|
|
4
|
+
export declare const HomeView: import("vue").DefineComponent<{
|
|
5
|
+
modal: {
|
|
6
|
+
type: PropType<IModal>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
viewModal: Modal;
|
|
11
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
modal: {
|
|
14
|
+
type: PropType<IModal>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
}>>, {}, {}>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
|
+
import { ViewMode, Modal } from '@ibiz-template/runtime';
|
|
3
|
+
import './home-view.css';
|
|
4
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
const HomeView = /* @__PURE__ */ defineComponent({
|
|
8
|
+
name: "HomeView",
|
|
9
|
+
props: {
|
|
10
|
+
modal: {
|
|
11
|
+
type: Object,
|
|
12
|
+
required: true
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
setup(props) {
|
|
16
|
+
const ns = useNamespace("home-view");
|
|
17
|
+
const viewModal = new Modal({
|
|
18
|
+
mode: ViewMode.ROUTE,
|
|
19
|
+
viewUsage: 1,
|
|
20
|
+
routeDepth: props.modal.routeDepth + 1,
|
|
21
|
+
dismiss: () => {
|
|
22
|
+
props.modal.dismiss();
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
return {
|
|
26
|
+
viewModal,
|
|
27
|
+
ns
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
render() {
|
|
31
|
+
return createVNode(resolveComponent("iBizRouterView"), {
|
|
32
|
+
"class": this.ns.b(),
|
|
33
|
+
"modal": this.viewModal
|
|
34
|
+
}, null);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export { HomeView };
|