@ibiz-template/mob-vue3-components 0.0.3 → 0.0.5
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/common/carousel/carousel.css +1 -0
- package/es/common/carousel/carousel.d.ts +52 -0
- package/es/common/carousel/carousel.mjs +61 -0
- package/es/common/index.mjs +2 -0
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.d.ts +4 -3
- package/es/control/calendar/calendar.mjs +94 -12
- package/es/control/calendar/index.d.ts +2 -1
- package/es/control/dashboard/dashboard.css +1 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/es/control/form/form-detail/form-item/form-item.mjs +5 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.mjs +2 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.d.ts +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.mjs +7 -3
- package/es/control/form/form-detail/form-mdctrl/index.d.ts +8 -0
- package/es/control/form/form-detail/form-mdctrl/index.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +10 -2
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +29 -17
- package/es/control/form/form-detail/index.mjs +6 -0
- package/es/control/form/index.mjs +6 -0
- package/es/control/index.mjs +6 -0
- package/es/control/list/md-ctrl/md-ctrl.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +2 -1
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.d.ts +2 -0
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.mjs +17 -4
- package/es/editor/index.mjs +10 -0
- package/es/editor/span/span/span.css +1 -1
- package/es/editor/text-box/input/input.css +1 -1
- package/es/editor/upload/ibiz-carousel/ibiz-carousel.css +1 -0
- package/es/editor/upload/ibiz-carousel/ibiz-carousel.d.ts +65 -0
- package/es/editor/upload/ibiz-carousel/ibiz-carousel.mjs +71 -0
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
- package/es/editor/upload/ibiz-image-select/ibiz-image-select.css +1 -1
- package/es/editor/upload/ibiz-image-select/ibiz-image-select.d.ts +1 -2
- package/es/editor/upload/ibiz-image-select/ibiz-image-select.mjs +12 -5
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +1 -4
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.mjs +13 -13
- package/es/editor/upload/index.d.ts +1 -0
- package/es/editor/upload/index.mjs +1 -0
- package/es/editor/upload/upload-editor.provider.mjs +3 -0
- package/es/index.d.ts +1 -0
- package/es/index.mjs +59 -1
- package/es/panel-component/auth-userinfo/auth-userinfo.css +1 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.d.ts +29 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.mjs +66 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.provider.d.ts +15 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.provider.mjs +21 -0
- package/es/panel-component/auth-userinfo/index.d.ts +26 -0
- package/es/panel-component/auth-userinfo/index.mjs +15 -0
- package/es/panel-component/index.mjs +6 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +1 -1
- package/es/panel-component/panel-carousel/index.d.ts +20 -0
- package/es/panel-component/panel-carousel/index.mjs +16 -0
- package/es/panel-component/panel-carousel/panel-carousel.controller.d.ts +50 -0
- package/es/panel-component/panel-carousel/panel-carousel.controller.mjs +76 -0
- package/es/panel-component/panel-carousel/panel-carousel.css +1 -0
- package/es/panel-component/panel-carousel/panel-carousel.d.ts +20 -0
- package/es/panel-component/panel-carousel/panel-carousel.mjs +42 -0
- package/es/panel-component/panel-carousel/panel-carousel.provider.d.ts +14 -0
- package/es/panel-component/panel-carousel/panel-carousel.provider.mjs +21 -0
- package/es/panel-component/panel-video-player/index.d.ts +22 -0
- package/es/panel-component/panel-video-player/index.mjs +19 -0
- package/es/panel-component/panel-video-player/panel-video-player.controller.d.ts +50 -0
- package/es/panel-component/panel-video-player/panel-video-player.controller.mjs +81 -0
- package/es/panel-component/panel-video-player/panel-video-player.css +1 -0
- package/es/panel-component/panel-video-player/panel-video-player.d.ts +22 -0
- package/es/panel-component/panel-video-player/panel-video-player.mjs +59 -0
- package/es/panel-component/panel-video-player/panel-video-player.provider.d.ts +14 -0
- package/es/panel-component/panel-video-player/panel-video-player.provider.mjs +21 -0
- package/es/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
- package/es/platform/index.d.ts +1 -0
- package/es/platform/index.mjs +3 -0
- package/es/platform/vue-browser-platform-provider.d.ts +20 -0
- package/es/platform/vue-browser-platform-provider.mjs +20 -0
- package/es/view-engine/mob-edit-view.engine.mjs +1 -2
- package/lib/common/carousel/carousel.cjs +63 -0
- package/lib/common/carousel/carousel.css +1 -0
- package/lib/common/index.cjs +2 -0
- package/lib/control/calendar/calendar.cjs +94 -12
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/dashboard/dashboard.css +1 -1
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/lib/control/form/form-detail/form-item/form-item.cjs +5 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.cjs +1 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.cjs +2 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.cjs +6 -2
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/index.cjs +6 -0
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +28 -16
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/lib/control/form/form-detail/index.cjs +12 -0
- package/lib/control/form/index.cjs +12 -0
- package/lib/control/index.cjs +12 -0
- package/lib/control/list/md-ctrl/md-ctrl.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +2 -1
- package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.cjs +17 -4
- package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.css +1 -1
- package/lib/editor/index.cjs +10 -0
- package/lib/editor/span/span/span.css +1 -1
- package/lib/editor/text-box/input/input.css +1 -1
- package/lib/editor/upload/ibiz-carousel/ibiz-carousel.cjs +73 -0
- package/lib/editor/upload/ibiz-carousel/ibiz-carousel.css +1 -0
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
- package/lib/editor/upload/ibiz-image-select/ibiz-image-select.cjs +12 -5
- package/lib/editor/upload/ibiz-image-select/ibiz-image-select.css +1 -1
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.cjs +12 -12
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
- package/lib/editor/upload/index.cjs +2 -0
- package/lib/editor/upload/upload-editor.provider.cjs +3 -0
- package/lib/index.cjs +164 -38
- package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +68 -0
- package/lib/panel-component/auth-userinfo/auth-userinfo.css +1 -0
- package/lib/panel-component/auth-userinfo/auth-userinfo.provider.cjs +23 -0
- package/lib/panel-component/auth-userinfo/index.cjs +20 -0
- package/lib/panel-component/index.cjs +6 -0
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +1 -1
- package/lib/panel-component/panel-carousel/index.cjs +23 -0
- package/lib/panel-component/panel-carousel/panel-carousel.cjs +47 -0
- package/lib/panel-component/panel-carousel/panel-carousel.controller.cjs +78 -0
- package/lib/panel-component/panel-carousel/panel-carousel.css +1 -0
- package/lib/panel-component/panel-carousel/panel-carousel.provider.cjs +23 -0
- package/lib/panel-component/panel-video-player/index.cjs +26 -0
- package/lib/panel-component/panel-video-player/panel-video-player.cjs +64 -0
- package/lib/panel-component/panel-video-player/panel-video-player.controller.cjs +83 -0
- package/lib/panel-component/panel-video-player/panel-video-player.css +1 -0
- package/lib/panel-component/panel-video-player/panel-video-player.provider.cjs +23 -0
- package/lib/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
- package/lib/platform/index.cjs +7 -0
- package/lib/platform/vue-browser-platform-provider.cjs +22 -0
- package/lib/view-engine/mob-edit-view.engine.cjs +1 -2
- package/package.json +6 -6
package/es/index.d.ts
CHANGED
package/es/index.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PlatformType, registerPlatformProvider } from '@ibiz-template/runtime';
|
|
1
2
|
import { IBizView, IBizViewLayoutPanelControl, IBizPortalView, IBizPanelControl } from '@ibiz-template/vue3-util';
|
|
2
3
|
import { IBizCommonComponents } from './common/index.mjs';
|
|
3
4
|
import './control/index.mjs';
|
|
@@ -5,9 +6,11 @@ import { IBizEditor } from './editor/index.mjs';
|
|
|
5
6
|
import { iBizI18n } from './locale/index.mjs';
|
|
6
7
|
export { i18n } from './locale/index.mjs';
|
|
7
8
|
import { IBizPanelComponents } from './panel-component/index.mjs';
|
|
9
|
+
import './platform/index.mjs';
|
|
8
10
|
import { IBizViewEngine } from './view-engine/index.mjs';
|
|
9
11
|
import './util/index.mjs';
|
|
10
12
|
import './view/index.mjs';
|
|
13
|
+
import { VueBrowserPlatformProvider } from './platform/vue-browser-platform-provider.mjs';
|
|
11
14
|
import { IBizMDCtrlControl } from './control/list/md-ctrl/index.mjs';
|
|
12
15
|
import { IBizAppMenuControl } from './control/app-menu/index.mjs';
|
|
13
16
|
import { IBizFormControl } from './control/form/form/index.mjs';
|
|
@@ -40,11 +43,66 @@ export { ConfirmUtil } from './util/confirm-util/confirm-util.mjs';
|
|
|
40
43
|
export { calcUniqueKey, useViewStack } from './util/store/view-stack/view-stack.mjs';
|
|
41
44
|
export { View404 } from './view/404-view/404-view.mjs';
|
|
42
45
|
export { LoginView } from './view/login-view/login-view.mjs';
|
|
46
|
+
export { MDCtrlProvider } from './control/list/md-ctrl/md-ctrl.provider.mjs';
|
|
47
|
+
export { AppMenuProvider } from './control/app-menu/app-menu.provider.mjs';
|
|
48
|
+
export { SearchFormProvider } from './control/form/search-form/search-form.provider.mjs';
|
|
49
|
+
export { FormGroupPanelProvider } from './control/form/form-detail/form-group-panel/form-group-panel.provider.mjs';
|
|
50
|
+
export { IBizFormGroupPanel } from './control/form/form-detail/form-group-panel/index.mjs';
|
|
51
|
+
export { FormItemProvider } from './control/form/form-detail/form-item/form-item.provider.mjs';
|
|
52
|
+
export { IBizFormItemContainer } from './control/form/form-detail/form-item/form-item-container/form-item-container.mjs';
|
|
53
|
+
export { IBizFormItem } from './control/form/form-detail/form-item/index.mjs';
|
|
54
|
+
export { IBizFormPageItem } from './control/form/form-detail/form-page/form-page-item/form-page-item.mjs';
|
|
55
|
+
export { FormPageProvider } from './control/form/form-detail/form-page/form-page.provider.mjs';
|
|
56
|
+
export { IBizFormPage } from './control/form/form-detail/form-page/index.mjs';
|
|
57
|
+
export { FormButtonProvider } from './control/form/form-detail/form-button/form-button.provider.mjs';
|
|
58
|
+
export { IBizFormButton } from './control/form/form-detail/form-button/index.mjs';
|
|
59
|
+
export { FormDRUIPartProvider } from './control/form/form-detail/form-druipart/form-druipart.provider.mjs';
|
|
60
|
+
export { IBizFormDRUIPart } from './control/form/form-detail/form-druipart/index.mjs';
|
|
61
|
+
export { FormRawItemProvider } from './control/form/form-detail/form-rawitem/form-rawitem.provider.mjs';
|
|
62
|
+
export { IBizFormRawItem } from './control/form/form-detail/form-rawitem/index.mjs';
|
|
63
|
+
export { FormTabPanelProvider } from './control/form/form-detail/form-tab-panel/form-tab-panel.provider.mjs';
|
|
64
|
+
export { IBizFormTabPanel } from './control/form/form-detail/form-tab-panel/index.mjs';
|
|
65
|
+
export { FormTabPageProvider } from './control/form/form-detail/form-tab-page/form-tab-page.provider.mjs';
|
|
66
|
+
export { IBizFormTabPage } from './control/form/form-detail/form-tab-page/index.mjs';
|
|
67
|
+
export { IBizFormMDCtrl } from './control/form/form-detail/form-mdctrl/index.mjs';
|
|
68
|
+
export { MDCtrlContainer } from './control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs';
|
|
69
|
+
export { FormMDCtrlProvider } from './control/form/form-detail/form-mdctrl/form-mdctrl.provider.mjs';
|
|
70
|
+
export { FormMDCtrlRepeater } from './control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.mjs';
|
|
71
|
+
export { FormMDCtrlMD } from './control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.mjs';
|
|
72
|
+
export { FormMDCtrlForm } from './control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs';
|
|
73
|
+
export { FormMDCtrl } from './control/form/form-detail/form-mdctrl/form-mdctrl.mjs';
|
|
74
|
+
export { PickupViewPanelProvider } from './control/pickup-view-panel/pickup-view-panel.provider.mjs';
|
|
75
|
+
export { PickupViewPanelController } from './control/pickup-view-panel/pickup-view-panel.controller.mjs';
|
|
76
|
+
export { ListProvider } from './control/list/list/list.provider.mjs';
|
|
77
|
+
export { TabExpPanelProvider } from './control/tab-exp-panel/tab-exp-panel.provider.mjs';
|
|
78
|
+
export { CaptionBarProvider } from './control/caption-bar/caption-bar.provider.mjs';
|
|
79
|
+
export { SearchBarProvider } from './control/search-bar/search-bar.provider.mjs';
|
|
80
|
+
export { DRTabProvider } from './control/drtab/drtab.provider.mjs';
|
|
81
|
+
export { DRTabController } from './control/drtab/drtab.controller.mjs';
|
|
82
|
+
export { TreeProvider } from './control/tree/tree.provider.mjs';
|
|
83
|
+
export { DataViewControlProvider } from './control/data-view/data-view.provider.mjs';
|
|
84
|
+
export { DashboardProvider } from './control/dashboard/dashboard.provider.mjs';
|
|
85
|
+
export { PortletPartState } from './control/dashboard/portlet/portlet-part/portlet-part.state.mjs';
|
|
86
|
+
export { ContainerPortletProvider } from './control/dashboard/portlet/container-portlet/container-portlet.provider.mjs';
|
|
87
|
+
export { ContainerPortlet } from './control/dashboard/portlet/container-portlet/container-portlet.mjs';
|
|
88
|
+
export { IBizContainerPortlet } from './control/dashboard/portlet/container-portlet/index.mjs';
|
|
89
|
+
export { PortletLayout } from './control/dashboard/portlet/portlet-layout/portlet-layout.mjs';
|
|
90
|
+
export { MenuPortletProvider } from './control/dashboard/portlet/menu-portlet/menu-portlet.provider.mjs';
|
|
91
|
+
export { MenuPortlet } from './control/dashboard/portlet/menu-portlet/menu-portlet.mjs';
|
|
92
|
+
export { IBizMenuPortlet } from './control/dashboard/portlet/menu-portlet/index.mjs';
|
|
93
|
+
export { ViewPortlet } from './control/dashboard/portlet/view-portlet/view-portlet.mjs';
|
|
94
|
+
export { IBizViewPortlet } from './control/dashboard/portlet/view-portlet/index.mjs';
|
|
95
|
+
export { CalendarProvider } from './control/calendar/calendar.provider.mjs';
|
|
43
96
|
|
|
44
97
|
"use strict";
|
|
45
98
|
var index = {
|
|
46
99
|
install: (v) => {
|
|
47
100
|
ibiz.i18n = iBizI18n;
|
|
101
|
+
const browserPlatformProvider = new VueBrowserPlatformProvider();
|
|
102
|
+
registerPlatformProvider(
|
|
103
|
+
PlatformType.BROWSER,
|
|
104
|
+
() => browserPlatformProvider
|
|
105
|
+
);
|
|
48
106
|
v.use(IBizCommonComponents);
|
|
49
107
|
v.use(IBizViewEngine);
|
|
50
108
|
v.use(IBizView);
|
|
@@ -74,4 +132,4 @@ var index = {
|
|
|
74
132
|
}
|
|
75
133
|
};
|
|
76
134
|
|
|
77
|
-
export { IBizCommonComponents, IBizEditor, IBizPanelComponents, index as default };
|
|
135
|
+
export { IBizAppMenuControl, IBizCalendarControl, IBizCaptionBarControl, IBizChartControl, IBizCommonComponents, IBizDRTabControl, IBizDashboardControl, IBizDataViewControl, IBizEditFormControl, IBizEditor, IBizFormControl, IBizListControl, IBizMDCtrlControl, IBizPanelComponents, IBizPickupViewPanelControl, IBizSearchBarControl, IBizSearchFormControl, IBizTabExpPanelControl, IBizToolbarControl, IBizTreeControl, IBizWizardPanelControl, index as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-user-info{--ibiz-user-info-color:var(--ibiz-color-text-0);--ibiz-user-info-img-size:3.125rem;--ibiz-user-info-img-radius:0.5rem;--ibiz-user-info-bg-color:transparent;--ibiz-user-info-padding:var(--ibiz-spacing-tight);display:flex;gap:var(--ibiz-user-info-padding);align-items:center;padding:var(--ibiz-user-info-padding);color:var(--ibiz-user-info-color);background-color:var(--ibiz-user-info-bg-color)}.ibiz-user-info__username{font-size:.875rem;font-weight:600}.ibiz-user-info__org{font-size:.75rem;color:var(--ibiz-color-text-3)}.ibiz-user-info .van-image{width:var(--ibiz-user-info-img-size);height:var(--ibiz-user-info-img-size);overflow:hidden;border-radius:var(--ibiz-user-info-img-radius)}.ibiz-user-info .van-image .van-image__loading{font-size:1.5625rem}.ibiz-user-info .ibiz-user-info-center{display:flex;flex-direction:column;flex-grow:1;gap:var(--ibiz-user-info-padding)}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import './auth-userinfo.scss';
|
|
3
|
+
import { IPanelRawItem } from '@ibiz/model-core';
|
|
4
|
+
import { PanelItemController } from '@ibiz-template/runtime';
|
|
5
|
+
export declare const AuthUserinfo: import("vue").DefineComponent<{
|
|
6
|
+
modelData: {
|
|
7
|
+
type: PropType<IPanelRawItem>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
controller: {
|
|
11
|
+
type: typeof PanelItemController;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
16
|
+
c: PanelItemController<import("@ibiz/model-core").IPanelItem>;
|
|
17
|
+
srfusername: any;
|
|
18
|
+
srfpersonname: any;
|
|
19
|
+
srforgname: any;
|
|
20
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
modelData: {
|
|
22
|
+
type: PropType<IPanelRawItem>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
controller: {
|
|
26
|
+
type: typeof PanelItemController;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
}>>, {}, {}>;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
+
import './auth-userinfo.css';
|
|
4
|
+
import { PanelItemController } from '@ibiz-template/runtime';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
const AuthUserinfo = /* @__PURE__ */ defineComponent({
|
|
8
|
+
name: "IBizAuthUserinfo",
|
|
9
|
+
props: {
|
|
10
|
+
modelData: {
|
|
11
|
+
type: Object,
|
|
12
|
+
required: true
|
|
13
|
+
},
|
|
14
|
+
controller: {
|
|
15
|
+
type: PanelItemController,
|
|
16
|
+
required: true
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
setup(prop) {
|
|
20
|
+
var _a;
|
|
21
|
+
const ns = useNamespace("user-info");
|
|
22
|
+
const c = prop.controller;
|
|
23
|
+
const {
|
|
24
|
+
srfusername = "\u6E38\u5BA2",
|
|
25
|
+
srfpersonname,
|
|
26
|
+
srforgname
|
|
27
|
+
} = ((_a = ibiz.appData) == null ? void 0 : _a.context) || {};
|
|
28
|
+
return {
|
|
29
|
+
ns,
|
|
30
|
+
c,
|
|
31
|
+
srfusername,
|
|
32
|
+
srfpersonname,
|
|
33
|
+
srforgname
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
render() {
|
|
37
|
+
return createVNode("div", {
|
|
38
|
+
"class": [this.ns.b(), this.ns.m(this.modelData.id), ...this.controller.containerClass]
|
|
39
|
+
}, [createVNode("div", {
|
|
40
|
+
"class": this.ns.b("left")
|
|
41
|
+
}, [createVNode(resolveComponent("van-image"), null, {
|
|
42
|
+
error: () => {
|
|
43
|
+
return createVNode(resolveComponent("van-icon"), {
|
|
44
|
+
"name": "contact-o"
|
|
45
|
+
}, null);
|
|
46
|
+
},
|
|
47
|
+
loading: () => {
|
|
48
|
+
return createVNode(resolveComponent("van-icon"), {
|
|
49
|
+
"name": "contact-o"
|
|
50
|
+
}, null);
|
|
51
|
+
}
|
|
52
|
+
})]), createVNode("div", {
|
|
53
|
+
"class": this.ns.b("center")
|
|
54
|
+
}, [createVNode("div", {
|
|
55
|
+
"class": this.ns.e("username")
|
|
56
|
+
}, [this.srfusername || this.srfpersonname]), createVNode("div", {
|
|
57
|
+
"class": this.ns.e("org")
|
|
58
|
+
}, [this.srforgname])]), createVNode("div", {
|
|
59
|
+
"class": this.ns.b("right")
|
|
60
|
+
}, [createVNode(resolveComponent("van-icon"), {
|
|
61
|
+
"name": "arrow"
|
|
62
|
+
}, null)])]);
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
export { AuthUserinfo };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
+
import { IPanelItem } from '@ibiz/model-core';
|
|
3
|
+
/**
|
|
4
|
+
* 用户信息适配器
|
|
5
|
+
*
|
|
6
|
+
* @author lxm
|
|
7
|
+
* @date 2022-09-19 22:09:03
|
|
8
|
+
* @export
|
|
9
|
+
* @class AuthUserinfoProvider
|
|
10
|
+
* @implements {EditorProvider}
|
|
11
|
+
*/
|
|
12
|
+
export declare class AuthUserinfoProvider implements IPanelItemProvider {
|
|
13
|
+
component: string;
|
|
14
|
+
createController(panelItem: IPanelItem, panel: PanelController, parent: PanelItemController | undefined): Promise<PanelItemController>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
+
|
|
3
|
+
"use strict";
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __publicField = (obj, key, value) => {
|
|
7
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
|
+
return value;
|
|
9
|
+
};
|
|
10
|
+
class AuthUserinfoProvider {
|
|
11
|
+
constructor() {
|
|
12
|
+
__publicField(this, "component", "IBizAuthUserinfo");
|
|
13
|
+
}
|
|
14
|
+
async createController(panelItem, panel, parent) {
|
|
15
|
+
const c = new PanelItemController(panelItem, panel, parent);
|
|
16
|
+
await c.init();
|
|
17
|
+
return c;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { AuthUserinfoProvider };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const IBizAuthUserinfo: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
modelData: {
|
|
3
|
+
type: import("vue").PropType<import("@ibiz/model-core").IPanelRawItem>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
controller: {
|
|
7
|
+
type: typeof import("@ibiz-template/runtime").PanelItemController;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
12
|
+
c: import("@ibiz-template/runtime").PanelItemController<import("@ibiz/model-core").IPanelItem>;
|
|
13
|
+
srfusername: any;
|
|
14
|
+
srfpersonname: any;
|
|
15
|
+
srforgname: any;
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
modelData: {
|
|
18
|
+
type: import("vue").PropType<import("@ibiz/model-core").IPanelRawItem>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
controller: {
|
|
22
|
+
type: typeof import("@ibiz-template/runtime").PanelItemController;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
}>>, {}, {}>>;
|
|
26
|
+
export default IBizAuthUserinfo;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
2
|
+
import { withInstall } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { AuthUserinfo } from './auth-userinfo.mjs';
|
|
4
|
+
import { AuthUserinfoProvider } from './auth-userinfo.provider.mjs';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
const IBizAuthUserinfo = withInstall(AuthUserinfo, function(v) {
|
|
8
|
+
v.component(AuthUserinfo.name, AuthUserinfo);
|
|
9
|
+
registerPanelItemProvider(
|
|
10
|
+
"RAWITEM_AUTH_USERINFO",
|
|
11
|
+
() => new AuthUserinfoProvider()
|
|
12
|
+
);
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export { IBizAuthUserinfo, IBizAuthUserinfo as default };
|
|
@@ -7,6 +7,9 @@ import { IBizWFActionButton } from './wf-action-button/index.mjs';
|
|
|
7
7
|
import { IBizWFStepTrace } from './wf-step-trace/index.mjs';
|
|
8
8
|
import { IBizNavPosIndex } from './nav-pos-index/index.mjs';
|
|
9
9
|
import { IBizPanelTabPanel } from './panel-tab-panel/index.mjs';
|
|
10
|
+
import { IBizPanelCarousel } from './panel-carousel/index.mjs';
|
|
11
|
+
import { IBizPanelVideoPlayer } from './panel-video-player/index.mjs';
|
|
12
|
+
import { IBizAuthUserinfo } from './auth-userinfo/index.mjs';
|
|
10
13
|
|
|
11
14
|
"use strict";
|
|
12
15
|
const IBizPanelComponents = {
|
|
@@ -31,6 +34,9 @@ const IBizPanelComponents = {
|
|
|
31
34
|
v.use(IBizPanelContainerGroup);
|
|
32
35
|
v.use(IBizPanelContainerImage);
|
|
33
36
|
v.use(IBizScrollContainer);
|
|
37
|
+
v.use(IBizPanelCarousel);
|
|
38
|
+
v.use(IBizPanelVideoPlayer);
|
|
39
|
+
v.use(IBizAuthUserinfo);
|
|
34
40
|
}
|
|
35
41
|
};
|
|
36
42
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * from './panel-carousel.provider';
|
|
2
|
+
export * from './panel-carousel.controller';
|
|
3
|
+
export declare const IBizPanelCarousel: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
4
|
+
controller: {
|
|
5
|
+
type: typeof import("./panel-carousel.controller").PanelCarouselController;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}, {
|
|
9
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
10
|
+
autoplay: string | undefined;
|
|
11
|
+
duration: string | undefined;
|
|
12
|
+
showIndicators: string | undefined;
|
|
13
|
+
touchable: string | undefined;
|
|
14
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
controller: {
|
|
16
|
+
type: typeof import("./panel-carousel.controller").PanelCarouselController;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}>>, {}, {}>>;
|
|
20
|
+
export default IBizPanelCarousel;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
2
|
+
import { withInstall } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { PanelCarousel } from './panel-carousel.mjs';
|
|
4
|
+
import { PanelCarouselProvider } from './panel-carousel.provider.mjs';
|
|
5
|
+
export { PanelCarouselController } from './panel-carousel.controller.mjs';
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
const IBizPanelCarousel = withInstall(PanelCarousel, function(v) {
|
|
9
|
+
v.component(PanelCarousel.name, PanelCarousel);
|
|
10
|
+
registerPanelItemProvider(
|
|
11
|
+
"RAWITEM_STATIC_CAROUSEL",
|
|
12
|
+
() => new PanelCarouselProvider()
|
|
13
|
+
);
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
export { IBizPanelCarousel, PanelCarouselProvider, IBizPanelCarousel as default };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
+
import { IPanelRawItem, ISysImage } from '@ibiz/model-core';
|
|
3
|
+
/**
|
|
4
|
+
* 面板轮播图控制器
|
|
5
|
+
*
|
|
6
|
+
* @author zk
|
|
7
|
+
* @date 2023-12-08 02:12:18
|
|
8
|
+
* @export
|
|
9
|
+
* @class PanelCarouselController
|
|
10
|
+
* @extends {PanelItemController<IPanelRawItem>}
|
|
11
|
+
*/
|
|
12
|
+
export declare class PanelCarouselController extends PanelItemController<IPanelRawItem> {
|
|
13
|
+
/**
|
|
14
|
+
* 图片集
|
|
15
|
+
*
|
|
16
|
+
* @author zk
|
|
17
|
+
* @date 2023-12-08 01:12:38
|
|
18
|
+
* @memberof PanelCarouselController
|
|
19
|
+
*/
|
|
20
|
+
images: ISysImage[];
|
|
21
|
+
/**
|
|
22
|
+
* 初始化
|
|
23
|
+
*
|
|
24
|
+
* @author zk
|
|
25
|
+
* @date 2023-12-08 11:12:23
|
|
26
|
+
* @protected
|
|
27
|
+
* @return {*} {Promise<void>}
|
|
28
|
+
* @memberof PanelCarouselController
|
|
29
|
+
*/
|
|
30
|
+
protected onInit(): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* 初始化轮播图资源
|
|
33
|
+
*
|
|
34
|
+
* @author zk
|
|
35
|
+
* @date 2023-12-08 02:12:03
|
|
36
|
+
* @return {*} {void}
|
|
37
|
+
* @memberof PanelCarouselController
|
|
38
|
+
*/
|
|
39
|
+
initCarouselImages(): void;
|
|
40
|
+
/**
|
|
41
|
+
* 获取直接内容参数
|
|
42
|
+
*
|
|
43
|
+
* @author zk
|
|
44
|
+
* @date 2023-12-08 02:12:51
|
|
45
|
+
* @param {string} key
|
|
46
|
+
* @return {*} {(string | undefined)}
|
|
47
|
+
* @memberof PanelCarouselController
|
|
48
|
+
*/
|
|
49
|
+
getParamsValue(key: string): string | undefined;
|
|
50
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
+
|
|
3
|
+
"use strict";
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __publicField = (obj, key, value) => {
|
|
7
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
|
+
return value;
|
|
9
|
+
};
|
|
10
|
+
class PanelCarouselController extends PanelItemController {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
/**
|
|
14
|
+
* 图片集
|
|
15
|
+
*
|
|
16
|
+
* @author zk
|
|
17
|
+
* @date 2023-12-08 01:12:38
|
|
18
|
+
* @memberof PanelCarouselController
|
|
19
|
+
*/
|
|
20
|
+
__publicField(this, "images", []);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* 初始化
|
|
24
|
+
*
|
|
25
|
+
* @author zk
|
|
26
|
+
* @date 2023-12-08 11:12:23
|
|
27
|
+
* @protected
|
|
28
|
+
* @return {*} {Promise<void>}
|
|
29
|
+
* @memberof PanelCarouselController
|
|
30
|
+
*/
|
|
31
|
+
async onInit() {
|
|
32
|
+
super.onInit();
|
|
33
|
+
this.initCarouselImages();
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* 初始化轮播图资源
|
|
37
|
+
*
|
|
38
|
+
* @author zk
|
|
39
|
+
* @date 2023-12-08 02:12:03
|
|
40
|
+
* @return {*} {void}
|
|
41
|
+
* @memberof PanelCarouselController
|
|
42
|
+
*/
|
|
43
|
+
initCarouselImages() {
|
|
44
|
+
const params = this.model.rawItem.rawItemParams;
|
|
45
|
+
if (!params) {
|
|
46
|
+
ibiz.log.error("\u672A\u914D\u7F6E\u8F6E\u64AD\u56FE\u8D44\u6E90");
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
this.images = params.filter((item) => item.key === "img").map((item) => item.sysImage);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* 获取直接内容参数
|
|
53
|
+
*
|
|
54
|
+
* @author zk
|
|
55
|
+
* @date 2023-12-08 02:12:51
|
|
56
|
+
* @param {string} key
|
|
57
|
+
* @return {*} {(string | undefined)}
|
|
58
|
+
* @memberof PanelCarouselController
|
|
59
|
+
*/
|
|
60
|
+
getParamsValue(key) {
|
|
61
|
+
let value;
|
|
62
|
+
const params = this.model.rawItem.rawItemParams;
|
|
63
|
+
if (!params) {
|
|
64
|
+
ibiz.log.error(`\u672A\u914D\u7F6E\u8F6E\u64AD\u56FE\u53C2\u6570:${key}}`);
|
|
65
|
+
return void 0;
|
|
66
|
+
}
|
|
67
|
+
params.forEach((item) => {
|
|
68
|
+
if (item.key === key) {
|
|
69
|
+
value = item.value;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export { PanelCarouselController };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-panel-carousel{height:100%}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PanelCarouselController } from './panel-carousel.controller';
|
|
2
|
+
import './panel-carousel.scss';
|
|
3
|
+
export declare const PanelCarousel: import("vue").DefineComponent<{
|
|
4
|
+
controller: {
|
|
5
|
+
type: typeof PanelCarouselController;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}, {
|
|
9
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
10
|
+
autoplay: string | undefined;
|
|
11
|
+
duration: string | undefined;
|
|
12
|
+
showIndicators: string | undefined;
|
|
13
|
+
touchable: string | undefined;
|
|
14
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
controller: {
|
|
16
|
+
type: typeof PanelCarouselController;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}>>, {}, {}>;
|
|
20
|
+
export default PanelCarousel;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { PanelCarouselController } from './panel-carousel.controller.mjs';
|
|
4
|
+
import './panel-carousel.css';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
const PanelCarousel = /* @__PURE__ */ defineComponent({
|
|
8
|
+
name: "IBizPanelCarousel",
|
|
9
|
+
props: {
|
|
10
|
+
controller: {
|
|
11
|
+
type: PanelCarouselController,
|
|
12
|
+
required: true
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
setup(_props) {
|
|
16
|
+
const ns = useNamespace("panel-carousel");
|
|
17
|
+
const autoplay = _props.controller.getParamsValue("autoplay") === "1" ? _props.controller.getParamsValue("timespan") : void 0;
|
|
18
|
+
const duration = _props.controller.getParamsValue("duration");
|
|
19
|
+
const showIndicators = _props.controller.getParamsValue("showIndicators");
|
|
20
|
+
const touchable = _props.controller.getParamsValue("touchable");
|
|
21
|
+
return {
|
|
22
|
+
ns,
|
|
23
|
+
autoplay,
|
|
24
|
+
duration,
|
|
25
|
+
showIndicators,
|
|
26
|
+
touchable
|
|
27
|
+
};
|
|
28
|
+
},
|
|
29
|
+
render() {
|
|
30
|
+
return createVNode("div", {
|
|
31
|
+
"class": this.ns.b()
|
|
32
|
+
}, [createVNode(resolveComponent("iBizCarousel"), {
|
|
33
|
+
"images": this.controller.images,
|
|
34
|
+
"autoplay": this.autoplay,
|
|
35
|
+
"duration": this.duration,
|
|
36
|
+
"showIndicators": this.showIndicators,
|
|
37
|
+
"touchable": this.touchable
|
|
38
|
+
}, null)]);
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export { PanelCarousel, PanelCarousel as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
+
import { IPanelItem } from '@ibiz/model-core';
|
|
3
|
+
import { PanelCarouselController } from './panel-carousel.controller';
|
|
4
|
+
/**
|
|
5
|
+
* 流程跟踪组件适配器
|
|
6
|
+
*
|
|
7
|
+
* @export
|
|
8
|
+
* @class WFStepTraceProvider
|
|
9
|
+
* @implements {IPanelItemProvider}
|
|
10
|
+
*/
|
|
11
|
+
export declare class PanelCarouselProvider implements IPanelItemProvider {
|
|
12
|
+
component: string;
|
|
13
|
+
createController(panelItem: IPanelItem, panel: PanelController, parent: PanelItemController | undefined): Promise<PanelCarouselController>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PanelCarouselController } from './panel-carousel.controller.mjs';
|
|
2
|
+
|
|
3
|
+
"use strict";
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __publicField = (obj, key, value) => {
|
|
7
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
|
+
return value;
|
|
9
|
+
};
|
|
10
|
+
class PanelCarouselProvider {
|
|
11
|
+
constructor() {
|
|
12
|
+
__publicField(this, "component", "IBizPanelCarousel");
|
|
13
|
+
}
|
|
14
|
+
async createController(panelItem, panel, parent) {
|
|
15
|
+
const c = new PanelCarouselController(panelItem, panel, parent);
|
|
16
|
+
await c.init();
|
|
17
|
+
return c;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { PanelCarouselProvider };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export * from './panel-video-player.provider';
|
|
2
|
+
export * from './panel-video-player.controller';
|
|
3
|
+
export declare const IBizPanelVideoPlayer: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
4
|
+
controller: {
|
|
5
|
+
type: typeof import("./panel-video-player.controller").PanelVideoPlayerController;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}, {
|
|
9
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
10
|
+
id: string;
|
|
11
|
+
path: string | undefined;
|
|
12
|
+
autoplay: boolean;
|
|
13
|
+
showcontrols: boolean;
|
|
14
|
+
replay: boolean;
|
|
15
|
+
mute: boolean;
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
controller: {
|
|
18
|
+
type: typeof import("./panel-video-player.controller").PanelVideoPlayerController;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>>, {}, {}>>;
|
|
22
|
+
export default IBizPanelVideoPlayer;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
2
|
+
import { withInstall } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { PanelVideoPlayer } from './panel-video-player.mjs';
|
|
4
|
+
import { PanelVideoPlayerProvider } from './panel-video-player.provider.mjs';
|
|
5
|
+
export { PanelVideoPlayerController } from './panel-video-player.controller.mjs';
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
const IBizPanelVideoPlayer = withInstall(
|
|
9
|
+
PanelVideoPlayer,
|
|
10
|
+
function(v) {
|
|
11
|
+
v.component(PanelVideoPlayer.name, PanelVideoPlayer);
|
|
12
|
+
registerPanelItemProvider(
|
|
13
|
+
"RAWITEM_STATIC_VIDEOPLAYER",
|
|
14
|
+
() => new PanelVideoPlayerProvider()
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
export { IBizPanelVideoPlayer, PanelVideoPlayerProvider, IBizPanelVideoPlayer as default };
|