@ibiz-template/vue3-components 0.7.19 → 0.7.21
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/chart-HuCq_rW2.js +1 -0
- package/dist/index-Mtw_Trpt.js +4 -0
- package/dist/index-OVul_8RS.js +1 -0
- package/dist/index-QDBU_qVN.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/{xlsx-util-rzoYhEen.js → xlsx-util-5JdpVLzR.js} +1 -1
- package/es/common/action-toolbar/action-toolbar.css +1 -1
- package/es/common/coop-alert/coop-alert.css +1 -1
- package/es/common/custom-theme/custom-theme-model.d.ts +173 -0
- package/es/common/custom-theme/custom-theme-model.mjs +840 -0
- package/es/common/custom-theme/custom-theme.controller.d.ts +47 -0
- package/es/common/custom-theme/custom-theme.controller.mjs +94 -0
- package/es/common/custom-theme/custom-theme.css +1 -0
- package/es/common/custom-theme/custom-theme.d.ts +24 -0
- package/es/common/custom-theme/custom-theme.mjs +195 -0
- package/es/common/data-import/data-import.css +1 -1
- package/es/common/data-import2-select/data-import2-select.css +1 -1
- package/es/common/doing-notice/doing-notice.css +1 -1
- package/es/common/extend-action-timeline/extend-action-timeline.css +1 -1
- package/es/common/index.mjs +2 -0
- package/es/common/map-chart/map-chart.css +1 -1
- package/es/common/view-message/view-message.css +1 -1
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.mjs +2 -1
- package/es/control/caption-bar/caption-bar.css +1 -1
- package/es/control/chart/chart.d.ts +43 -0
- package/es/control/chart/chart.mjs +31 -2
- package/es/control/context-menu/context-menu.css +1 -1
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.css +1 -1
- package/es/control/dashboard/dashboard-design/dashboard-design.css +1 -1
- package/es/control/dashboard/portlet/container-portlet/container-portlet.css +1 -1
- package/es/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.css +1 -1
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/es/control/data-view/data-view.mjs +4 -6
- package/es/control/drbar/drbar.css +1 -1
- package/es/control/drtab/drtab.css +1 -1
- package/es/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/es/control/form/form-detail/form-druipart/form-druipart.d.ts +1 -1
- package/es/control/form/form-detail/form-druipart/form-druipart.mjs +2 -2
- 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.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.css +1 -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-md/form-mdctrl-md.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +2 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.mjs +8 -3
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/es/control/form/form-detail/form-page/form-page.css +1 -1
- package/es/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
- package/es/control/gantt/gantt.css +1 -1
- package/es/control/gantt/gantt.mjs +2 -21
- package/es/control/grid/grid/grid.css +1 -1
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
- package/es/control/grid/grid-column/grid-field-edit-column/grid-edit-item/grid-edit-item.css +1 -1
- package/es/control/grid/row-edit-popover/row-edit-popover.css +1 -1
- package/es/control/kanban/kanban.css +1 -1
- package/es/control/list/list.mjs +4 -6
- package/es/control/search-bar/filter-tree/filter-tree.css +1 -1
- package/es/control/search-bar/search-bar.css +1 -1
- package/es/control/tab-exp-panel/tab-exp-panel.css +1 -1
- package/es/control/toolbar/export-excel/export-excel.css +1 -1
- package/es/control/tree/el-tree-util.d.ts +1 -1
- package/es/control/tree/index.d.ts +1 -1
- package/es/control/tree/tree.d.ts +1 -1
- package/es/control/tree/tree.mjs +4 -0
- package/es/control/tree-grid-ex/tree-grid-ex.css +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.css +1 -1
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.css +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/es/editor/html/wang-editor/wang-editor.css +1 -1
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +1 -0
- package/es/editor/switch/ibiz-switch/ibiz-switch.mjs +13 -2
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/es/editor/text-box/input/input.css +1 -1
- package/es/index.mjs +1 -0
- package/es/locale/en/index.d.ts +120 -6
- package/es/locale/en/index.mjs +113 -1
- package/es/locale/zh-CN/index.d.ts +120 -6
- package/es/locale/zh-CN/index.mjs +113 -1
- package/es/panel-component/custom-setting/custom-setting-provider.d.ts +6 -0
- package/es/panel-component/custom-setting/custom-setting-provider.mjs +21 -0
- package/es/panel-component/custom-setting/custom-setting.css +1 -0
- package/es/panel-component/custom-setting/custom-setting.d.ts +35 -0
- package/es/panel-component/custom-setting/custom-setting.mjs +105 -0
- package/es/panel-component/custom-setting/index.d.ts +32 -0
- package/es/panel-component/custom-setting/index.mjs +15 -0
- package/es/panel-component/index-actions/index-actions.css +1 -1
- package/es/panel-component/index.d.ts +1 -0
- package/es/panel-component/index.mjs +3 -1
- package/es/panel-component/panel-app-header/panel-app-header.css +1 -1
- package/es/panel-component/panel-app-header/panel-app-header.mjs +10 -1
- package/es/panel-component/panel-app-login-view/panel-app-login-view.css +1 -1
- package/es/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/es/panel-component/panel-index-view-search/panel-index-view-search.css +1 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.css +1 -1
- package/es/panel-component/user-action/user-action.css +1 -1
- package/es/panel-component/user-message/async-action/async-action/async-action.css +1 -1
- package/es/panel-component/user-message/async-action/async-action-preview/async-action-preview.css +1 -1
- package/es/panel-component/user-message/async-action/async-action-tab/async-action-tab.css +1 -1
- package/es/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.css +1 -1
- package/es/panel-component/user-message/internal-message/common/internal-message-default/internal-message-default.css +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.css +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-text/internal-message-text.css +1 -1
- package/es/panel-component/user-message/user-message.css +1 -1
- package/es/util/app-float-window/app-float-window-component.css +1 -1
- package/es/util/app-modal/app-modal-component.css +1 -1
- package/es/util/app-popover/app-popover-component.css +1 -1
- package/es/view/403-view/403-view.css +1 -1
- package/es/view/404-view/404-view.css +1 -1
- package/es/view/login-view/login-view.css +1 -1
- package/es/view/share-view/share-view.css +1 -0
- package/es/view/share-view/share-view.d.ts +10 -0
- package/es/view/share-view/share-view.mjs +94 -0
- package/es/web-app/guard/auth-guard/auth-guard.mjs +1 -0
- package/es/web-app/router/index.mjs +14 -0
- package/lib/common/action-toolbar/action-toolbar.css +1 -1
- package/lib/common/coop-alert/coop-alert.css +1 -1
- package/lib/common/custom-theme/custom-theme-model.cjs +842 -0
- package/lib/common/custom-theme/custom-theme.cjs +197 -0
- package/lib/common/custom-theme/custom-theme.controller.cjs +96 -0
- package/lib/common/custom-theme/custom-theme.css +1 -0
- package/lib/common/data-import/data-import.css +1 -1
- package/lib/common/data-import2-select/data-import2-select.css +1 -1
- package/lib/common/doing-notice/doing-notice.css +1 -1
- package/lib/common/extend-action-timeline/extend-action-timeline.css +1 -1
- package/lib/common/index.cjs +2 -0
- package/lib/common/map-chart/map-chart.css +1 -1
- package/lib/common/view-message/view-message.css +1 -1
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/calendar/calendar.cjs +2 -1
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/caption-bar/caption-bar.css +1 -1
- package/lib/control/chart/chart.cjs +30 -1
- package/lib/control/context-menu/context-menu.css +1 -1
- package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.css +1 -1
- package/lib/control/dashboard/dashboard-design/dashboard-design.css +1 -1
- package/lib/control/dashboard/portlet/container-portlet/container-portlet.css +1 -1
- package/lib/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.css +1 -1
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/lib/control/data-view/data-view.cjs +4 -6
- package/lib/control/drbar/drbar.css +1 -1
- package/lib/control/drtab/drtab.css +1 -1
- package/lib/control/form/form-detail/form-druipart/form-druipart.cjs +2 -2
- package/lib/control/form/form-detail/form-druipart/form-druipart.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.css +1 -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-form/form-mdctrl-form.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +2 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.cjs +8 -3
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/lib/control/form/form-detail/form-page/form-page.css +1 -1
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
- package/lib/control/gantt/gantt.cjs +2 -21
- package/lib/control/gantt/gantt.css +1 -1
- package/lib/control/grid/grid/grid.css +1 -1
- package/lib/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
- package/lib/control/grid/grid-column/grid-field-edit-column/grid-edit-item/grid-edit-item.css +1 -1
- package/lib/control/grid/row-edit-popover/row-edit-popover.css +1 -1
- package/lib/control/kanban/kanban.css +1 -1
- package/lib/control/list/list.cjs +4 -6
- package/lib/control/search-bar/filter-tree/filter-tree.css +1 -1
- package/lib/control/search-bar/search-bar.css +1 -1
- package/lib/control/tab-exp-panel/tab-exp-panel.css +1 -1
- package/lib/control/toolbar/export-excel/export-excel.css +1 -1
- package/lib/control/tree/tree.cjs +4 -0
- package/lib/control/tree-grid-ex/tree-grid-ex.css +1 -1
- package/lib/editor/code/monaco-editor/monaco-editor.css +1 -1
- package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.css +1 -1
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/lib/editor/html/wang-editor/wang-editor.css +1 -1
- package/lib/editor/switch/ibiz-switch/ibiz-switch.cjs +13 -2
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/lib/editor/text-box/input/input.css +1 -1
- package/lib/index.cjs +12 -10
- package/lib/locale/en/index.cjs +113 -1
- package/lib/locale/zh-CN/index.cjs +113 -1
- package/lib/panel-component/custom-setting/custom-setting-provider.cjs +23 -0
- package/lib/panel-component/custom-setting/custom-setting.cjs +107 -0
- package/lib/panel-component/custom-setting/custom-setting.css +1 -0
- package/lib/panel-component/custom-setting/index.cjs +20 -0
- package/lib/panel-component/index-actions/index-actions.css +1 -1
- package/lib/panel-component/index.cjs +35 -32
- package/lib/panel-component/panel-app-header/panel-app-header.cjs +10 -1
- package/lib/panel-component/panel-app-header/panel-app-header.css +1 -1
- package/lib/panel-component/panel-app-login-view/panel-app-login-view.css +1 -1
- package/lib/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/lib/panel-component/panel-index-view-search/panel-index-view-search.css +1 -1
- package/lib/panel-component/searchform-buttons/searchform-buttons.css +1 -1
- package/lib/panel-component/user-action/user-action.css +1 -1
- package/lib/panel-component/user-message/async-action/async-action/async-action.css +1 -1
- package/lib/panel-component/user-message/async-action/async-action-preview/async-action-preview.css +1 -1
- package/lib/panel-component/user-message/async-action/async-action-tab/async-action-tab.css +1 -1
- package/lib/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.css +1 -1
- package/lib/panel-component/user-message/internal-message/common/internal-message-default/internal-message-default.css +1 -1
- package/lib/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.css +1 -1
- package/lib/panel-component/user-message/internal-message/internal-message-text/internal-message-text.css +1 -1
- package/lib/panel-component/user-message/user-message.css +1 -1
- package/lib/util/app-float-window/app-float-window-component.css +1 -1
- package/lib/util/app-modal/app-modal-component.css +1 -1
- package/lib/util/app-popover/app-popover-component.css +1 -1
- package/lib/view/403-view/403-view.css +1 -1
- package/lib/view/404-view/404-view.css +1 -1
- package/lib/view/login-view/login-view.css +1 -1
- package/lib/view/share-view/share-view.cjs +96 -0
- package/lib/view/share-view/share-view.css +1 -0
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +1 -0
- package/lib/web-app/router/index.cjs +14 -0
- package/package.json +6 -6
- package/dist/chart-Wh3LMgZ1.js +0 -1
- package/dist/index-OCVoltZS.js +0 -1
- package/dist/index-XL5qUYeQ.js +0 -1
- package/dist/index-oK641mi0.js +0 -4
|
@@ -118,6 +118,13 @@ declare const _default: {
|
|
|
118
118
|
confirmDataDeletion: string;
|
|
119
119
|
noImportModel: string;
|
|
120
120
|
};
|
|
121
|
+
md: {
|
|
122
|
+
rowData: string;
|
|
123
|
+
simpleMode: string;
|
|
124
|
+
dataDeleted: string;
|
|
125
|
+
noChange: string;
|
|
126
|
+
firstComplete: string;
|
|
127
|
+
};
|
|
121
128
|
editor: {
|
|
122
129
|
editorNoConfigured: string;
|
|
123
130
|
};
|
|
@@ -180,14 +187,9 @@ declare const _default: {
|
|
|
180
187
|
searchTerms: string;
|
|
181
188
|
saveSearch: string;
|
|
182
189
|
};
|
|
183
|
-
|
|
190
|
+
gantt: {
|
|
184
191
|
noNode: string;
|
|
185
|
-
rowData: string;
|
|
186
|
-
simpleMode: string;
|
|
187
192
|
nonentity: string;
|
|
188
|
-
noChange: string;
|
|
189
|
-
dataDeleted: string;
|
|
190
|
-
firstComplete: string;
|
|
191
193
|
noSupport: string;
|
|
192
194
|
};
|
|
193
195
|
grid: {
|
|
@@ -707,6 +709,11 @@ declare const _default: {
|
|
|
707
709
|
subAppRefView: {
|
|
708
710
|
jump: string;
|
|
709
711
|
};
|
|
712
|
+
shareView: {
|
|
713
|
+
inviting: string;
|
|
714
|
+
use: string;
|
|
715
|
+
cancel: string;
|
|
716
|
+
};
|
|
710
717
|
};
|
|
711
718
|
viewEngine: {
|
|
712
719
|
closeRemind: string;
|
|
@@ -755,6 +762,109 @@ declare const _default: {
|
|
|
755
762
|
updateSuccess: string;
|
|
756
763
|
newSuccCreated: string;
|
|
757
764
|
deleteSuccess: string;
|
|
765
|
+
customTheme: {
|
|
766
|
+
themeColor: string;
|
|
767
|
+
confirmCopyLink: string;
|
|
768
|
+
preview: string;
|
|
769
|
+
save: string;
|
|
770
|
+
reset: string;
|
|
771
|
+
share: string;
|
|
772
|
+
typeface: string;
|
|
773
|
+
fontSize: string;
|
|
774
|
+
fontWeight: string;
|
|
775
|
+
borderRadius: string;
|
|
776
|
+
height: string;
|
|
777
|
+
widthIcon: string;
|
|
778
|
+
spacing: string;
|
|
779
|
+
primaryColor: string;
|
|
780
|
+
primaryColorDesc: string;
|
|
781
|
+
primaryTextColor: string;
|
|
782
|
+
primaryTextColorDesc: string;
|
|
783
|
+
primaryHoverColor: string;
|
|
784
|
+
primaryHoverColorDesc: string;
|
|
785
|
+
primaryHoverTextColor: string;
|
|
786
|
+
primaryHoverTextColorDesc: string;
|
|
787
|
+
primaryActiveColor: string;
|
|
788
|
+
primaryActiveColorDesc: string;
|
|
789
|
+
primaryActiveTextColor: string;
|
|
790
|
+
primaryActiveTextColorDesc: string;
|
|
791
|
+
primaryDisabledColor: string;
|
|
792
|
+
primaryDisabledColorDesc: string;
|
|
793
|
+
primaryDisabledTextColor: string;
|
|
794
|
+
primaryDisabledTextColorDesc: string;
|
|
795
|
+
primaryLightDefaultColor: string;
|
|
796
|
+
primaryLightDefaultColorDesc: string;
|
|
797
|
+
primaryLightHoverColor: string;
|
|
798
|
+
primaryLightHoverColorDesc: string;
|
|
799
|
+
primaryLightActiveColor: string;
|
|
800
|
+
primaryLightActiveColorDesc: string;
|
|
801
|
+
textIcon: string;
|
|
802
|
+
mainTextIconColor: string;
|
|
803
|
+
mianTextIconColorDesc: string;
|
|
804
|
+
minorTextIconColor: string;
|
|
805
|
+
minorTextIconColorDesc: string;
|
|
806
|
+
secondaryTextIconColor: string;
|
|
807
|
+
secondaryTextIconColorDesc: string;
|
|
808
|
+
lastTextIconColor: string;
|
|
809
|
+
lastTextIconColorDesc: string;
|
|
810
|
+
linkColor: string;
|
|
811
|
+
textLinkColor: string;
|
|
812
|
+
textLinkColorDesc: string;
|
|
813
|
+
textLinkHoverColor: string;
|
|
814
|
+
textLinkHoverColorDesc: string;
|
|
815
|
+
textLinkActiveColor: string;
|
|
816
|
+
textLinkActiveColorDesc: string;
|
|
817
|
+
textLinkVisitedColor: string;
|
|
818
|
+
textLinkVisitedColorDesc: string;
|
|
819
|
+
bgColor: string;
|
|
820
|
+
bgColorLowestLayer: string;
|
|
821
|
+
bgColorLowestLayerDesc: string;
|
|
822
|
+
bgColorLowerLayer: string;
|
|
823
|
+
bgColorLowerLayerDesc: string;
|
|
824
|
+
bgColorCenterLayer: string;
|
|
825
|
+
bgColorCenterLayerDesc: string;
|
|
826
|
+
bgColorSecondaryUpperLayer: string;
|
|
827
|
+
bgColorSecondaryUpperLayerDesc: string;
|
|
828
|
+
bgColorTopLayer: string;
|
|
829
|
+
bgColorTopLayerDesc: string;
|
|
830
|
+
fillColor: string;
|
|
831
|
+
fillDefault: string;
|
|
832
|
+
fillDefaultDesc: string;
|
|
833
|
+
fillHover: string;
|
|
834
|
+
fillHoverDesc: string;
|
|
835
|
+
fillActive: string;
|
|
836
|
+
fillActiveDesc: string;
|
|
837
|
+
border: string;
|
|
838
|
+
borderColor: string;
|
|
839
|
+
borderColorDesc: string;
|
|
840
|
+
disabledState: string;
|
|
841
|
+
disabledText: string;
|
|
842
|
+
disabledTextDesc: string;
|
|
843
|
+
disabledTextBorder: string;
|
|
844
|
+
disabledTextBorderDesc: string;
|
|
845
|
+
disabledBg: string;
|
|
846
|
+
disabledBgDesc: string;
|
|
847
|
+
disabledFill: string;
|
|
848
|
+
disabledFillDesc: string;
|
|
849
|
+
sidebar: string;
|
|
850
|
+
sidebarBg: string;
|
|
851
|
+
sidebarHoverBgColor: string;
|
|
852
|
+
sidebarSelectBgColor: string;
|
|
853
|
+
other: string;
|
|
854
|
+
sidebarColor: string;
|
|
855
|
+
top: string;
|
|
856
|
+
topBgColor: string;
|
|
857
|
+
topColor: string;
|
|
858
|
+
topHoverBgColor: string;
|
|
859
|
+
topSelectBgColor: string;
|
|
860
|
+
grid: string;
|
|
861
|
+
gridHeaderBg: string;
|
|
862
|
+
gridHeaderColor: string;
|
|
863
|
+
gridRowBg: string;
|
|
864
|
+
gridRowBg2: string;
|
|
865
|
+
gridRowColor: string;
|
|
866
|
+
gridRowHover: string;
|
|
867
|
+
};
|
|
758
868
|
};
|
|
759
869
|
menu: {
|
|
760
870
|
noSupportAlign: string;
|
|
@@ -1040,6 +1150,10 @@ declare const _default: {
|
|
|
1040
1150
|
onlyShowUnread: string;
|
|
1041
1151
|
};
|
|
1042
1152
|
};
|
|
1153
|
+
customSetting: {
|
|
1154
|
+
theme: string;
|
|
1155
|
+
menu: string;
|
|
1156
|
+
};
|
|
1043
1157
|
};
|
|
1044
1158
|
};
|
|
1045
1159
|
export default _default;
|
|
@@ -54,6 +54,11 @@ var index = {
|
|
|
54
54
|
},
|
|
55
55
|
subAppRefView: {
|
|
56
56
|
jump: "\u8DF3\u8F6C"
|
|
57
|
+
},
|
|
58
|
+
shareView: {
|
|
59
|
+
inviting: "\u9080\u8BF7\u60A8\u52A0\u5165\u4E3B\u9898\u5E94\u7528\uFF01",
|
|
60
|
+
use: "\u5E94\u7528",
|
|
61
|
+
cancel: "\u53D6\u6D88"
|
|
57
62
|
}
|
|
58
63
|
},
|
|
59
64
|
viewEngine: {
|
|
@@ -103,7 +108,110 @@ var index = {
|
|
|
103
108
|
currentNoData: "\u6682\u65E0\u6570\u636E",
|
|
104
109
|
updateSuccess: "\u66F4\u65B0\u6210\u529F",
|
|
105
110
|
newSuccCreated: "\u65B0\u5EFA\u6210\u529F",
|
|
106
|
-
deleteSuccess: "\u5220\u9664\u6210\u529F"
|
|
111
|
+
deleteSuccess: "\u5220\u9664\u6210\u529F",
|
|
112
|
+
customTheme: {
|
|
113
|
+
themeColor: "\u4E3B\u9898\u8272",
|
|
114
|
+
confirmCopyLink: "\u786E\u8BA4\u62F7\u8D1D\u94FE\u63A5",
|
|
115
|
+
preview: "\u9884\u89C8",
|
|
116
|
+
save: "\u4FDD\u5B58",
|
|
117
|
+
reset: "\u91CD\u7F6E",
|
|
118
|
+
share: "\u5206\u4EAB",
|
|
119
|
+
typeface: "\u5B57\u4F53",
|
|
120
|
+
fontSize: "\u5B57\u53F7",
|
|
121
|
+
fontWeight: "\u5B57\u91CD",
|
|
122
|
+
borderRadius: "\u5706\u89D2",
|
|
123
|
+
height: "\u9AD8\u5EA6",
|
|
124
|
+
widthIcon: "\u56FE\u6807\u5C3A\u5BF8",
|
|
125
|
+
spacing: "\u95F4\u8DDD",
|
|
126
|
+
primaryColor: "\u4E3B\u8981\u989C\u8272",
|
|
127
|
+
primaryColorDesc: "\u4E3B\u8981\u989C\u8272,\u4EC5\u5728\u9700\u8981\u975E\u5E38\u5F3A\u8C03\u7684\u60C5\u51B5\u4E0B\u4F7F\u7528",
|
|
128
|
+
primaryTextColor: "\u4E3B\u8981\u6587\u672C\u989C\u8272",
|
|
129
|
+
primaryTextColorDesc: "\u4E3B\u8981\u989C\u8272\u6587\u5B57\u8272\uFF0C\u548C\u80CC\u666F\u8272\u5F62\u6210\u5BF9\u6BD4",
|
|
130
|
+
primaryHoverColor: "\u4E3B\u8981\u60AC\u6D6E\u989C\u8272",
|
|
131
|
+
primaryHoverColorDesc: "\u4E3B\u8981\u989C\u8272\u60AC\u6D6E\u6001",
|
|
132
|
+
primaryHoverTextColor: "\u4E3B\u8981\u60AC\u6D6E\u6587\u672C\u989C\u8272",
|
|
133
|
+
primaryHoverTextColorDesc: "\u4E3B\u8981\u989C\u8272\u60AC\u6D6E\u6001\u6587\u5B57\u8272\uFF0C\u548C\u80CC\u666F\u8272\u5F62\u6210\u5BF9\u6BD4",
|
|
134
|
+
primaryActiveColor: "\u4E3B\u8981\u6FC0\u6D3B\u989C\u8272",
|
|
135
|
+
primaryActiveColorDesc: "\u4E3B\u8981\u989C\u8272\u6FC0\u6D3B\u6001",
|
|
136
|
+
primaryActiveTextColor: "\u4E3B\u8981\u6FC0\u6D3B\u6587\u672C\u989C\u8272",
|
|
137
|
+
primaryActiveTextColorDesc: "\u4E3B\u8981\u989C\u8272\u6FC0\u6D3B\u6001\u6587\u5B57\u8272\uFF0C\u548C\u80CC\u666F\u8272\u5F62\u6210\u5BF9\u6BD4",
|
|
138
|
+
primaryDisabledColor: "\u4E3B\u8981\u7981\u7528\u989C\u8272",
|
|
139
|
+
primaryDisabledColorDesc: "\u4E3B\u8981\u989C\u8272\u7981\u7528\u6001",
|
|
140
|
+
primaryDisabledTextColor: "\u4E3B\u8981\u7981\u7528\u6587\u672C\u989C\u8272",
|
|
141
|
+
primaryDisabledTextColorDesc: "\u4E3B\u8981\u989C\u8272\u7981\u7528\u6001\u6587\u5B57\u8272\uFF0C\u548C\u80CC\u666F\u8272\u5F62\u6210\u5BF9\u6BD4",
|
|
142
|
+
primaryLightDefaultColor: "\u4E3B\u8981\u6D45\u7248\u989C\u8272",
|
|
143
|
+
primaryLightDefaultColorDesc: "\u6D45\u7248\u4E3B\u8981\u989C\u8272\uFF08\u591A\u7528\u4E8E\u80CC\u666F\uFF09\u3002\u4EC5\u5728\u9700\u8981\u975E\u5E38\u5F3A\u8C03\u7684\u60C5\u51B5\u4E0B\u4F7F\u7528",
|
|
144
|
+
primaryLightHoverColor: "\u4E3B\u8981\u6D45\u7248\u60AC\u6D6E\u8272",
|
|
145
|
+
primaryLightHoverColorDesc: "\u6D45\u7248\u4E3B\u8981\u989C\u8272\u60AC\u6D6E\u6001",
|
|
146
|
+
primaryLightActiveColor: "\u4E3B\u8981\u6D45\u7248\u6FC0\u6D3B\u8272",
|
|
147
|
+
primaryLightActiveColorDesc: "\u6D45\u7248\u4E3B\u8981\u989C\u8272\u6FC0\u6D3B\u6001",
|
|
148
|
+
textIcon: "\u6587\u672C/\u56FE\u6807\u989C\u8272",
|
|
149
|
+
mainTextIconColor: "\u6587\u672C\u56FE\u6807\u4E3B\u8272",
|
|
150
|
+
mianTextIconColorDesc: "\u6587\u672C/\u56FE\u6807\u989C\u8272 - \u6700\u4E3B\u8981",
|
|
151
|
+
minorTextIconColor: "\u6587\u672C\u56FE\u6807\u7A0D\u6B21\u8272",
|
|
152
|
+
minorTextIconColorDesc: "\u6587\u672C/\u56FE\u6807\u989C\u8272 - \u7A0D\u6B21\u8981",
|
|
153
|
+
secondaryTextIconColor: "\u6587\u672C\u56FE\u6807\u6B21\u8272",
|
|
154
|
+
secondaryTextIconColorDesc: "\u6587\u672C/\u56FE\u6807\u989C\u8272 - \u6B21\u8981",
|
|
155
|
+
lastTextIconColor: "\u6587\u672C\u56FE\u6807\u6700\u6B21\u8272",
|
|
156
|
+
lastTextIconColorDesc: "\u6587\u672C/\u56FE\u6807\u989C\u8272 - \u6700\u6B21\u8981",
|
|
157
|
+
linkColor: "\u94FE\u63A5\u989C\u8272",
|
|
158
|
+
textLinkColor: "\u6587\u672C\u94FE\u63A5\u8272",
|
|
159
|
+
textLinkColorDesc: "\u94FE\u63A5\u989C\u8272 - \u6700\u4E3B\u8981",
|
|
160
|
+
textLinkHoverColor: "\u6587\u672C\u94FE\u63A5\u60AC\u6D6E\u8272",
|
|
161
|
+
textLinkHoverColorDesc: "\u94FE\u63A5\u989C\u8272 - \u60AC\u6D6E\u6001",
|
|
162
|
+
textLinkActiveColor: "\u6587\u672C\u94FE\u63A5\u6FC0\u6D3B\u8272",
|
|
163
|
+
textLinkActiveColorDesc: "\u94FE\u63A5\u989C\u8272 - \u6FC0\u6D3B\u6001",
|
|
164
|
+
textLinkVisitedColor: "\u6587\u672C\u94FE\u63A5\u5DF2\u8BBF\u95EE\u8272",
|
|
165
|
+
textLinkVisitedColorDesc: "\u94FE\u63A5\u989C\u8272 - \u5DF2\u8BBF\u95EE",
|
|
166
|
+
bgColor: "\u80CC\u666F\u8272",
|
|
167
|
+
bgColorLowestLayer: "\u80CC\u666F\u8272\u6700\u4E0B\u5C42",
|
|
168
|
+
bgColorLowestLayerDesc: "\u80CC\u666F\u8272 - \u6700\u4E0B\u5C42\uFF08\u5E95\u90E8\u9875\u9762\uFF09",
|
|
169
|
+
bgColorLowerLayer: "\u80CC\u666F\u8272\u6B21\u4E0B\u5C42",
|
|
170
|
+
bgColorLowerLayerDesc: "\u80CC\u666F\u8272 - \u6B21\u4E0B\u5C42\uFF08\u9875\u9762\u4E2D\u9700\u8981\u63D0\u5347\u7684\u5185\u5BB9\uFF09",
|
|
171
|
+
bgColorCenterLayer: "\u80CC\u666F\u8272\u4E2D\u5C42",
|
|
172
|
+
bgColorCenterLayerDesc: "\u80CC\u666F\u8272 - \u4E2D\u95F4\u5C42\uFF08\u6A21\u6001\u7B49\u5BB9\u5668\uFF09",
|
|
173
|
+
bgColorSecondaryUpperLayer: "\u80CC\u666F\u8272\u6B21\u4E0A\u5C42",
|
|
174
|
+
bgColorSecondaryUpperLayerDesc: "\u80CC\u666F\u8272 - \u6B21\u4E0A\u5C42(\u901A\u77E5,Toast\u7B49)",
|
|
175
|
+
bgColorTopLayer: "\u80CC\u666F\u8272\u6700\u4E0A\u5C42",
|
|
176
|
+
bgColorTopLayerDesc: "\u80CC\u666F\u8272 - \u6700\u4E0A\u5C42\uFF08\u7279\u6B8A\uFF09",
|
|
177
|
+
fillColor: "\u586B\u5145\u8272",
|
|
178
|
+
fillDefault: "\u9ED8\u8BA4\u586B\u5145\u8272",
|
|
179
|
+
fillDefaultDesc: "\u586B\u5145\u8272 - \u9ED8\u8BA4\u6001",
|
|
180
|
+
fillHover: "\u60AC\u6D6E\u586B\u5145\u8272",
|
|
181
|
+
fillHoverDesc: "\u586B\u5145\u8272 - \u60AC\u6D6E\u6001",
|
|
182
|
+
fillActive: "\u6FC0\u6D3B\u586B\u5145\u8272",
|
|
183
|
+
fillActiveDesc: "\u586B\u5145\u8272 - \u6FC0\u6D3B\u6001",
|
|
184
|
+
border: "\u8FB9\u6846",
|
|
185
|
+
borderColor: "\u8FB9\u6846\u8272",
|
|
186
|
+
borderColorDesc: "\u9ED8\u8BA4\u63CF\u8FB9\u989C\u8272",
|
|
187
|
+
disabledState: "\u7981\u7528\u6001",
|
|
188
|
+
disabledText: "\u7981\u7528\u6587\u672C\u8272",
|
|
189
|
+
disabledTextDesc: "\u7981\u7528\u6001 - \u6587\u5B57",
|
|
190
|
+
disabledTextBorder: "\u7981\u7528\u63CF\u8FB9\u8272",
|
|
191
|
+
disabledTextBorderDesc: "\u7981\u7528\u6001 - \u63CF\u8FB9",
|
|
192
|
+
disabledBg: "\u7981\u7528\u80CC\u666F\u8272",
|
|
193
|
+
disabledBgDesc: "\u7981\u7528\u6001 - \u80CC\u666F",
|
|
194
|
+
disabledFill: "\u7981\u7528\u586B\u5145\u8272",
|
|
195
|
+
disabledFillDesc: "\u7981\u7528\u6001 - \u586B\u5145",
|
|
196
|
+
sidebar: "\u4FA7\u8FB9\u680F",
|
|
197
|
+
sidebarBg: "\u80CC\u666F",
|
|
198
|
+
sidebarHoverBgColor: "\u60AC\u6D6E\u8272",
|
|
199
|
+
sidebarSelectBgColor: "\u9009\u4E2D\u8272",
|
|
200
|
+
other: "\u5176\u4ED6",
|
|
201
|
+
sidebarColor: "\u5B57\u4F53\u989C\u8272",
|
|
202
|
+
top: "\u9876\u90E8",
|
|
203
|
+
topBgColor: "\u80CC\u666F",
|
|
204
|
+
topColor: "\u989C\u8272",
|
|
205
|
+
topHoverBgColor: "\u60AC\u6D6E\u8272",
|
|
206
|
+
topSelectBgColor: "\u9009\u4E2D\u8272",
|
|
207
|
+
grid: "\u8868\u683C",
|
|
208
|
+
gridHeaderBg: "\u8868\u683C\u5934\u80CC\u666F\u8272",
|
|
209
|
+
gridHeaderColor: "\u8868\u683C\u5934\u5B57\u4F53\u8272",
|
|
210
|
+
gridRowBg: "\u8868\u683C\u884C\u80CC\u666F\u8272\u4EAE\u8272",
|
|
211
|
+
gridRowBg2: "\u8868\u683C\u884C\u80CC\u666F\u8272\u6697\u8272",
|
|
212
|
+
gridRowColor: "\u8868\u683C\u884C\u5B57\u4F53\u8272",
|
|
213
|
+
gridRowHover: "\u8868\u683C\u884C\u60AC\u6D6E\u8272"
|
|
214
|
+
}
|
|
107
215
|
},
|
|
108
216
|
menu: {
|
|
109
217
|
noSupportAlign: "\u6682\u672A\u652F\u6301\u83DC\u5355\u65B9\u5411\u4E3A {align}",
|
|
@@ -390,6 +498,10 @@ var index = {
|
|
|
390
498
|
loadMore: "\u52A0\u8F7D\u66F4\u591A({length})",
|
|
391
499
|
onlyShowUnread: "\u53EA\u663E\u793A\u672A\u8BFB"
|
|
392
500
|
}
|
|
501
|
+
},
|
|
502
|
+
customSetting: {
|
|
503
|
+
theme: "\u81EA\u5B9A\u4E49\u4E3B\u9898",
|
|
504
|
+
menu: "\u81EA\u5B9A\u4E49\u83DC\u5355"
|
|
393
505
|
}
|
|
394
506
|
},
|
|
395
507
|
// runTime
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
+
import { IPanelItem } from '@ibiz/model-core';
|
|
3
|
+
export declare class CustomSettingProvider implements IPanelItemProvider {
|
|
4
|
+
component: string;
|
|
5
|
+
createController(panelItem: IPanelItem, panel: PanelController, parent: PanelItemController | undefined): Promise<PanelItemController>;
|
|
6
|
+
}
|
|
@@ -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 CustomSettingProvider {
|
|
11
|
+
constructor() {
|
|
12
|
+
__publicField(this, "component", "IBizCustomSetting");
|
|
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 { CustomSettingProvider };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-custom-setting{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ibiz-custom-setting__image{display:flex;place-items:center center;justify-content:center;width:calc(var(--ibiz-width-icon-extra-large) + 4px);height:calc(var(--ibiz-width-icon-extra-large) + 4px);margin-bottom:var(--ibiz-spacing-extra-tight);cursor:pointer}.ibiz-custom-setting__list-popover.el-popper{padding:5px 0}.ibiz-custom-setting__set-list{width:150px}.ibiz-custom-setting__set-list--item{padding:5px 10px}.ibiz-custom-setting__set-list--item:hover{color:var(--ibiz-color-text-0);cursor:pointer;background-color:var(--ibiz-color-fill-1)}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IPanelRawItem } from '@ibiz/model-core';
|
|
3
|
+
import { PanelItemController } from '@ibiz-template/runtime';
|
|
4
|
+
import './custom-setting.scss';
|
|
5
|
+
export declare const CustomSetting: import("vue").DefineComponent<{
|
|
6
|
+
modelData: {
|
|
7
|
+
type: PropType<IPanelRawItem>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
controller: {
|
|
11
|
+
type: PropType<PanelItemController<import("@ibiz/model-core").IPanelItem>>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
16
|
+
c: PanelItemController<import("@ibiz/model-core").IPanelItem>;
|
|
17
|
+
visibleRef: import("vue").Ref<boolean>;
|
|
18
|
+
sysImage: import("@ibiz/model-core").ISysImage | undefined;
|
|
19
|
+
funcList: {
|
|
20
|
+
type: string;
|
|
21
|
+
caption: string;
|
|
22
|
+
lang: string;
|
|
23
|
+
visible: boolean;
|
|
24
|
+
}[];
|
|
25
|
+
clickCustomFunc: (key: string) => void;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
modelData: {
|
|
28
|
+
type: PropType<IPanelRawItem>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
controller: {
|
|
32
|
+
type: PropType<PanelItemController<import("@ibiz/model-core").IPanelItem>>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
}>>, {}, {}>;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { ref, resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
+
import './custom-setting.css';
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
const CustomSetting = /* @__PURE__ */ defineComponent({
|
|
7
|
+
name: "IBizCustomSetting",
|
|
8
|
+
props: {
|
|
9
|
+
modelData: {
|
|
10
|
+
type: Object,
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
13
|
+
controller: {
|
|
14
|
+
type: Object,
|
|
15
|
+
required: true
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
setup(props) {
|
|
19
|
+
const ns = useNamespace("custom-setting");
|
|
20
|
+
const c = props.controller;
|
|
21
|
+
const visibleRef = ref(false);
|
|
22
|
+
const imgConfig = {
|
|
23
|
+
CUSTOM: {
|
|
24
|
+
imagePath: "svg/custom-workbench.svg"
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
let sysImage = props.modelData.sysImage;
|
|
28
|
+
if (!sysImage && props.modelData && props.modelData.rawItem) {
|
|
29
|
+
const predefinedType = props.modelData.rawItem.predefinedType;
|
|
30
|
+
if (predefinedType) {
|
|
31
|
+
sysImage = imgConfig[predefinedType];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
const funcList = [{
|
|
35
|
+
type: "menu",
|
|
36
|
+
caption: "\u81EA\u5B9A\u4E49\u83DC\u5355",
|
|
37
|
+
lang: "panelComponent.customSetting.menu",
|
|
38
|
+
// 国际化地址
|
|
39
|
+
visible: false
|
|
40
|
+
}, {
|
|
41
|
+
type: "theme",
|
|
42
|
+
caption: "\u81EA\u5B9A\u4E49\u4E3B\u9898",
|
|
43
|
+
lang: "panelComponent.customSetting.theme",
|
|
44
|
+
visible: true
|
|
45
|
+
}];
|
|
46
|
+
const clickCustomMenu = () => {
|
|
47
|
+
};
|
|
48
|
+
const clickCustomTheme = () => {
|
|
49
|
+
ibiz.util.theme.customTheme();
|
|
50
|
+
};
|
|
51
|
+
const clickCustomFunc = (key) => {
|
|
52
|
+
visibleRef.value = false;
|
|
53
|
+
switch (key) {
|
|
54
|
+
case "menu":
|
|
55
|
+
clickCustomMenu();
|
|
56
|
+
break;
|
|
57
|
+
case "theme":
|
|
58
|
+
clickCustomTheme();
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
return {
|
|
63
|
+
ns,
|
|
64
|
+
c,
|
|
65
|
+
visibleRef,
|
|
66
|
+
sysImage,
|
|
67
|
+
funcList,
|
|
68
|
+
clickCustomFunc
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
render() {
|
|
72
|
+
return createVNode(resolveComponent("el-popover"), {
|
|
73
|
+
"ref": "popoverRef",
|
|
74
|
+
"visible": this.visibleRef,
|
|
75
|
+
"onUpdate:visible": ($event) => this.visibleRef = $event,
|
|
76
|
+
"trigger": "click",
|
|
77
|
+
"placement": "right",
|
|
78
|
+
"popper-class": this.ns.e("list-popover")
|
|
79
|
+
}, {
|
|
80
|
+
default: () => {
|
|
81
|
+
return createVNode("div", {
|
|
82
|
+
"class": this.ns.e("set-list")
|
|
83
|
+
}, [this.funcList.map((item) => {
|
|
84
|
+
if (!item.visible)
|
|
85
|
+
return;
|
|
86
|
+
return createVNode("div", {
|
|
87
|
+
"class": this.ns.em("set-list", "item"),
|
|
88
|
+
"onClick": () => this.clickCustomFunc(item.type)
|
|
89
|
+
}, [ibiz.i18n.t(item.lang)]);
|
|
90
|
+
})]);
|
|
91
|
+
},
|
|
92
|
+
reference: () => {
|
|
93
|
+
return createVNode("div", {
|
|
94
|
+
"class": this.ns.b(),
|
|
95
|
+
"title": this.modelData.caption
|
|
96
|
+
}, [createVNode(resolveComponent("i-biz-icon"), {
|
|
97
|
+
"class": [this.ns.e("image")],
|
|
98
|
+
"icon": this.sysImage
|
|
99
|
+
}, null)]);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
export { CustomSetting };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const IBizCustomSetting: 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: import("vue").PropType<import("@ibiz-template/runtime").PanelItemController<import("@ibiz/model-core").IPanelItem>>;
|
|
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
|
+
visibleRef: import("vue").Ref<boolean>;
|
|
14
|
+
sysImage: import("@ibiz/model-core").ISysImage | undefined;
|
|
15
|
+
funcList: {
|
|
16
|
+
type: string;
|
|
17
|
+
caption: string;
|
|
18
|
+
lang: string;
|
|
19
|
+
visible: boolean;
|
|
20
|
+
}[];
|
|
21
|
+
clickCustomFunc: (key: string) => void;
|
|
22
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
modelData: {
|
|
24
|
+
type: import("vue").PropType<import("@ibiz/model-core").IPanelRawItem>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
controller: {
|
|
28
|
+
type: import("vue").PropType<import("@ibiz-template/runtime").PanelItemController<import("@ibiz/model-core").IPanelItem>>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
}>>, {}, {}>>;
|
|
32
|
+
export default IBizCustomSetting;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { withInstall } from '@ibiz-template/vue3-util';
|
|
2
|
+
import { registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
3
|
+
import { CustomSetting } from './custom-setting.mjs';
|
|
4
|
+
import { CustomSettingProvider } from './custom-setting-provider.mjs';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
const IBizCustomSetting = withInstall(CustomSetting, function(v) {
|
|
8
|
+
v.component(CustomSetting.name, CustomSetting);
|
|
9
|
+
registerPanelItemProvider(
|
|
10
|
+
"RAWITEM_CUSTOM",
|
|
11
|
+
() => new CustomSettingProvider()
|
|
12
|
+
);
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export { IBizCustomSetting, IBizCustomSetting as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-index-actions{width:100%;height:100%}.ibiz-index-actions>.ibiz-row{height:100%;overflow:visible}.ibiz-index-actions>.ibiz-row>.ibiz-col:first-child{overflow:visible}.ibiz-index-actions>.ibiz-row>.ibiz-col:first-child>.ibiz-panel-container>.ibiz-row{overflow:visible}.ibiz-index-actions.is-hidden{display:none}.ibiz-index-actions.is-collapse{position:relative}.ibiz-index-actions.is-collapse::after{position:absolute;bottom:0;left:12px;width:32px;height:1px;content:"";background-color:var(--ibiz-color-primary-light-active);opacity:.5}.ibiz-index-actions.is-collapse>.ibiz-row{flex-wrap:wrap}.ibiz-index-actions .el-button{font-size:
|
|
1
|
+
.ibiz-index-actions{width:100%;height:100%}.ibiz-index-actions>.ibiz-row{height:100%;overflow:visible}.ibiz-index-actions>.ibiz-row>.ibiz-col:first-child{overflow:visible}.ibiz-index-actions>.ibiz-row>.ibiz-col:first-child>.ibiz-panel-container>.ibiz-row{overflow:visible}.ibiz-index-actions.is-hidden{display:none}.ibiz-index-actions.is-collapse{position:relative}.ibiz-index-actions.is-collapse::after{position:absolute;bottom:0;left:12px;width:32px;height:1px;content:"";background-color:var(--ibiz-color-primary-light-active);opacity:.5}.ibiz-index-actions.is-collapse>.ibiz-row{flex-wrap:wrap}.ibiz-index-actions .el-button{font-size:var(--ibiz-font-size-header-2)}.ibiz-index-actions .el-button:hover{background-color:transparent}
|
|
@@ -8,6 +8,7 @@ export * from './split-container';
|
|
|
8
8
|
export * from './panel-index-view-search';
|
|
9
9
|
export * from './index-actions';
|
|
10
10
|
export * from './user-action';
|
|
11
|
+
export * from './custom-setting';
|
|
11
12
|
export declare const IBizPanelComponents: {
|
|
12
13
|
install: (v: App) => void;
|
|
13
14
|
};
|
|
@@ -24,6 +24,7 @@ import { IBizUserAction } from './user-action/index.mjs';
|
|
|
24
24
|
import { IBizDataImport } from './data-import/index.mjs';
|
|
25
25
|
import { IBizShortCut } from './short-cut/index.mjs';
|
|
26
26
|
import { IBizAuthCaptcha } from './auth-captcha/index.mjs';
|
|
27
|
+
import { IBizCustomSetting } from './custom-setting/index.mjs';
|
|
27
28
|
export { NavPosIndexState } from './nav-pos-index/nav-pos-index.state.mjs';
|
|
28
29
|
export { NavPosIndexController } from './nav-pos-index/nav-pos-index.controller.mjs';
|
|
29
30
|
export { PanelButtonController } from './panel-button/panel-button.controller.mjs';
|
|
@@ -73,7 +74,8 @@ const IBizPanelComponents = {
|
|
|
73
74
|
v.use(IBizDataImport);
|
|
74
75
|
v.use(IBizShortCut);
|
|
75
76
|
v.use(IBizAuthCaptcha);
|
|
77
|
+
v.use(IBizCustomSetting);
|
|
76
78
|
}
|
|
77
79
|
};
|
|
78
80
|
|
|
79
|
-
export { IBizAuthUserinfo, IBizIndexActions, IBizNavPosIndex, IBizPanelAppTitle, IBizPanelButton, IBizPanelComponents, IBizPanelIndexViewSearch, IBizPanelTabPanel, IBizSplitContainer, IBizUserAction, IBizPanelComponents as default };
|
|
81
|
+
export { IBizAuthUserinfo, IBizCustomSetting, IBizIndexActions, IBizNavPosIndex, IBizPanelAppTitle, IBizPanelButton, IBizPanelComponents, IBizPanelIndexViewSearch, IBizPanelTabPanel, IBizSplitContainer, IBizUserAction, IBizPanelComponents as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-panel-app-header{--ibiz-panel-app-header-color:var(--ibiz-color-text-
|
|
1
|
+
.ibiz-panel-app-header{--ibiz-panel-app-header-color:var(--ibiz-color-primary-text);--ibiz-panel-app-header-bg-color:var(--ibiz-color-primary);--ibiz-panel-app-header-hover-bg-color:var(--ibiz-color-primary-hover);--ibiz-panel-app-header-select-bg-color:var(--ibiz-color-primary-active);--ibiz-panel-app-header-horizontal-color:var(--ibiz-color-primary-text);--ibiz-panel-app-header-horizontal-bg-color:var(--ibiz-color-primary);--ibiz-panel-app-header-horizontal-hover-bg-color:var(--ibiz-color-primary-hover);--ibiz-panel-app-header-horizontal-select-bg-color:var(--ibiz-color-primary-active);--ibiz-panel-app-header-border-color:var(--ibiz-color-border);--ibiz-color-text-0:var(--ibiz-panel-app-header-color)!important;--ibiz-color-text-1:var(--ibiz-panel-app-header-color)!important;--ibiz-color-text-2:var(--ibiz-panel-app-header-color)!important;--ibiz-color-text-3:var(--ibiz-panel-app-header-color)!important;width:100%;height:100%;color:var(--ibiz-panel-app-header-color);background-color:var(--ibiz-panel-app-header-bg-color)}.ibiz-panel-app-header *{--ibiz-color-primary:var(--ibiz-panel-app-header-bg-color);--ibiz-color-primary-hover:var(--ibiz-panel-app-header-hover-bg-color);--ibiz-color-primary-active:var(--ibiz-panel-app-header-select-bg-color)}.ibiz-panel-app-header>.ibiz-row{height:100%}.ibiz-panel-app-header--horizontal{--ibiz-color-text-0:var(--ibiz-panel-app-header-horizontal-color)!important;--ibiz-color-text-1:var(--ibiz-panel-app-header-horizontal-color)!important;--ibiz-color-text-2:var(--ibiz-panel-app-header-horizontal-color)!important;--ibiz-color-text-3:var(--ibiz-panel-app-header-horizontal-color)!important;color:var(--ibiz-panel-app-header-horizontal-color);background-color:var(--ibiz-panel-app-header-horizontal-bg-color)}.ibiz-panel-app-header--horizontal *{--ibiz-color-primary:var(--ibiz-panel-app-header-horizontal-bg-color);--ibiz-color-primary-hover:var(--ibiz-panel-app-header-horizontal-hover-bg-color);--ibiz-color-primary-active:var(--ibiz-panel-app-header-horizontal-select-bg-color)}
|
|
@@ -33,8 +33,17 @@ const PanelAppHeader = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
isCollapse.value = !isCollapse.value;
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
+
const menuMode = computed(() => {
|
|
37
|
+
const model = props.controller.panel.view.model.mainMenuAlign;
|
|
38
|
+
switch (model) {
|
|
39
|
+
case "TOP":
|
|
40
|
+
return "horizontal";
|
|
41
|
+
default:
|
|
42
|
+
return "vertical";
|
|
43
|
+
}
|
|
44
|
+
});
|
|
36
45
|
const classArr = computed(() => {
|
|
37
|
-
let result = [ns.b(), ns.m(id)];
|
|
46
|
+
let result = [ns.b(), ns.m(menuMode.value), ns.m(id)];
|
|
38
47
|
if (showCaption === true) {
|
|
39
48
|
result = [...result, ...props.controller.containerClass, showCaption && ns.m("show-header"), collapsible && ns.m("collapsible"), ns.is("collapse", collapsible && isCollapse.value), ns.is("hidden", !props.controller.state.visible)];
|
|
40
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-panel-app-login-view{--ibiz-panel-app-login-view-header-url:url("/assets/images/login-header.png");--ibiz-panel-app-login-view-avatar-url:url("/assets/images/login-avatar.png");display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:linear-gradient(120deg
|
|
1
|
+
.ibiz-panel-app-login-view{--ibiz-panel-app-login-view-header-url:url("/assets/images/login-header.png");--ibiz-panel-app-login-view-avatar-url:url("/assets/images/login-avatar.png");display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:linear-gradient(120deg,var(--ibiz-color-primary-light-active) 0,var(--ibiz-color-primary-light-default) 100%)}.ibiz-panel-app-login-view .ibiz-panel-container--container1{width:430px;margin-bottom:80px}.ibiz-panel-app-login-view .ibiz-panel-container--container4{position:relative;height:150px;background:var(--ibiz-panel-app-login-view-header-url);background-size:100% 100%}.ibiz-panel-app-login-view .ibiz-panel-container--container4 .ibiz-rawitem{position:absolute;top:0;display:flex;align-items:center;justify-content:center;width:100%;height:80%;font-size:var(--ibiz-font-size-header-2);font-weight:var(--ibiz-font-weight-bold);color:var(--ibiz-color-white);text-shadow:var(--ibiz-color-shadow)}.ibiz-panel-app-login-view .ibiz-panel-container--container5{position:relative;height:380px;padding:100px 40px 40px;background:var(--ibiz-color-white)}.ibiz-panel-app-login-view .ibiz-panel-container--container5 .el-input__inner:-webkit-autofill{box-shadow:0 0 0 1000px var(--ibiz-color-white) inset;-webkit-text-fill-color:var(--ibiz-editor-default-text-color)}.ibiz-panel-app-login-view .ibiz-panel-container--container5 ion-icon{font-size:var(--ibiz-width-icon-medium)}.ibiz-panel-app-login-view .ibiz-panel-container--container6{position:absolute;top:-50px;right:calc(50% - 50px);z-index:2;display:block;width:100px;height:100px;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:var(--ibiz-panel-app-login-view-avatar-url);background-size:100% 100%;border:4px solid var(--ibiz-color-white);border-radius:var(--ibiz-border-radius-circle)}.ibiz-panel-app-login-view .ibiz-panel-container--container3>.ibiz-row>*+*{margin-left:10px}.ibiz-panel-app-login-view .ibiz-panel-container--container3>.ibiz-row>.ibiz-col{flex:1}.ibiz-panel-app-login-view .ibiz-panel-container--container3 .ibiz-panel-button{width:100%;padding:0}.ibiz-panel-app-login-view .ibiz-panel-container--container3 .ibiz-panel-button .el-button{width:100%;letter-spacing:var(--ibiz-spacing-super-tight)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-panel-app-title{--ibiz-panel-app-title-color:var(--ibiz-color-text-0);--ibiz-panel-app-title-font-size:var(--ibiz-font-size-header-3);--ibiz-panel-app-title-font-weight:var(--ibiz-font-weight-bold);--ibiz-panel-app-title-padding:0 var(--ibiz-spacing-loose);--ibiz-panel-app-title-collapse-padding:0 var(--ibiz-spacing-tight);display:flex;align-items:center;justify-content:center;height:100%;padding:var(--ibiz-panel-app-title-padding);cursor:pointer}.ibiz-panel-app-title__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ibiz-panel-app-title-font-size);font-weight:700;color:var(--ibiz-panel-app-title-color)}.ibiz-panel-app-title__logo{display:flex;align-items:center;justify-content:center;height:100%;padding:0 var(--ibiz-spacing-tight);font-size:
|
|
1
|
+
.ibiz-panel-app-title{--ibiz-panel-app-title-color:var(--ibiz-color-text-0);--ibiz-panel-app-title-font-size:var(--ibiz-font-size-header-3);--ibiz-panel-app-title-font-weight:var(--ibiz-font-weight-bold);--ibiz-panel-app-title-padding:0 var(--ibiz-spacing-loose);--ibiz-panel-app-title-collapse-padding:0 var(--ibiz-spacing-tight);display:flex;align-items:center;justify-content:center;height:100%;padding:var(--ibiz-panel-app-title-padding);cursor:pointer}.ibiz-panel-app-title__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ibiz-panel-app-title-font-size);font-weight:700;color:var(--ibiz-panel-app-title-color)}.ibiz-panel-app-title__logo{display:flex;align-items:center;justify-content:center;height:100%;padding:0 var(--ibiz-spacing-tight);font-size:calc(var(--ibiz-font-size-header-1) + 8px)}.ibiz-panel-app-title__logo img{display:inline-block;width:auto;height:100%}.ibiz-panel-app-title__logo svg{fill:var(--ibiz-panel-app-title-color)}.ibiz-panel-app-title.is-only-img .ibiz-panel-app-title__logo{padding:0}.ibiz-panel-app-title.is-collapse{max-width:100%;padding:var(--ibiz-panel-app-title-collapse-padding)}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__collapse-title{width:100%}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__collpase-icon img{width:100%;height:100%}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__caption2{overflow:hidden;font-size:var(--ibiz-font-size-header-4);font-weight:var(--ibiz-panel-app-title-font-weight);text-align:center;white-space:nowrap}.ibiz-panel-app-title.is-collapse .ibiz-panel-app-title__subCaption2{overflow:hidden;font-size:var(--ibiz-font-size-header-5);text-align:center;white-space:nowrap}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-panel-index-view-search{--ibiz-panel-index-view-search-text-color:var(--ibiz-color-text-0);--ibiz-panel-index-view-search-placeholder-text-color:var(--ibiz-color-text-2);--ibiz-panel-index-view-search-bg-color:var(--ibiz-color-fill-0);--ibiz-panel-index-view-search-btn-width:
|
|
1
|
+
.ibiz-panel-index-view-search{--ibiz-panel-index-view-search-text-color:var(--ibiz-color-text-0);--ibiz-panel-index-view-search-placeholder-text-color:var(--ibiz-color-text-2);--ibiz-panel-index-view-search-bg-color:var(--ibiz-color-fill-0);--ibiz-panel-index-view-search-btn-width:var(--ibiz-height-control-large);width:100%;height:100%}.ibiz-panel-index-view-search .el-input__wrapper{background-color:var(--ibiz-panel-index-view-search-bg-color)}.ibiz-panel-index-view-search .el-input__wrapper .el-input__prefix{color:var(--ibiz-panel-index-view-search-text-color)}.ibiz-panel-index-view-search .el-input__wrapper .el-input__inner{color:var(--ibiz-panel-index-view-search-text-color)}.ibiz-panel-index-view-search .el-input__wrapper .el-input__inner::-moz-placeholder{color:var(--ibiz-panel-index-view-search-placeholder-text-color)}.ibiz-panel-index-view-search .el-input__wrapper .el-input__inner::placeholder{color:var(--ibiz-panel-index-view-search-placeholder-text-color)}.ibiz-panel-index-view-search-btn{padding:0 var(--ibiz-spacing-tight);font-size:var(--ibiz-font-size-header-4)}.ibiz-panel-index-view-search-btn .el-button{width:var(--ibiz-panel-index-view-search-btn-width);padding:var(--ibiz-spacing-base-tight)}.ibiz-panel-index-view-search-btn:hover{background-color:transparent}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-searchform-buttons{--ibiz-searchform-buttons-height:40px;height:var(--ibiz-searchform-buttons-height);margin-top:var(--ibiz-spacing-tight);margin-left:var(--ibiz-spacing-tight)}.ibiz-searchform-buttons-filter-item{position:relative}.ibiz-searchform-buttons-filter-item__text{padding-right:
|
|
1
|
+
.ibiz-searchform-buttons{--ibiz-searchform-buttons-height:40px;height:var(--ibiz-searchform-buttons-height);margin-top:var(--ibiz-spacing-tight);margin-left:var(--ibiz-spacing-tight)}.ibiz-searchform-buttons-filter-item{position:relative}.ibiz-searchform-buttons-filter-item__text{padding-right:var(--ibiz-spacing-extra-tight)}.ibiz-searchform-buttons-filter-item__remove{position:absolute;top:var(--ibiz-spacing-base-tight);right:0;display:none;font-size:var(--ibiz-font-size-header-5)}.ibiz-searchform-buttons-filter-item:hover .ibiz-searchform-buttons-filter-item__remove{display:block}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-user-action{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ibiz-user-action__image{display:flex;place-items:center center;justify-content:center;width:
|
|
1
|
+
.ibiz-user-action{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ibiz-user-action__image{display:flex;place-items:center center;justify-content:center;width:calc(var(--ibiz-width-icon-extra-large) + 4px);height:calc(var(--ibiz-width-icon-extra-large) + 4px);margin-bottom:var(--ibiz-spacing-extra-tight);cursor:pointer}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-async-action{--ibiz-async-action-loading-warp-bg-color:linear-gradient(90deg, var(--ibiz-color-primary-light-hover), var(--ibiz-color-primary));display:flex;align-items:center;justify-content:space-between;position:relative}.ibiz-async-action--clickable{cursor:pointer}.ibiz-async-action:hover{background-color:var(--ibiz-color-fill-1)}.ibiz-async-action__caption{margin-bottom:
|
|
1
|
+
.ibiz-async-action{--ibiz-async-action-loading-warp-bg-color:linear-gradient(90deg, var(--ibiz-color-primary-light-hover), var(--ibiz-color-primary));display:flex;align-items:center;justify-content:space-between;position:relative}.ibiz-async-action--clickable{cursor:pointer}.ibiz-async-action:hover{background-color:var(--ibiz-color-fill-1)}.ibiz-async-action__caption{margin-bottom:var(--ibiz-spacing-tight);font-weight:var(--ibiz-font-weight-bold)}.ibiz-async-action__error-info{margin-bottom:var(--ibiz-spacing-tight);color:var(--ibiz-color-danger);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-async-action-left{flex-grow:0;flex-shrink:0;width:50px;font-size:var(--ibiz-font-size-header-3);text-align:center}.ibiz-async-action-right{flex-grow:0;flex-shrink:0;width:80px;text-align:center}.ibiz-async-action-center{flex-grow:1;width:342px}@keyframes breath{0%{opacity:.5}10%{opacity:.6}20%{opacity:.7}30%{opacity:.8}40%{opacity:.9}50%{opacity:1}60%{opacity:.9}70%{opacity:.8}80%{opacity:.7}90%{opacity:.6}100%{opacity:.5}}.ibiz-async-action-loading-warp{position:absolute;inset:0;z-index:-1}.ibiz-async-action-loading-warp__inner{width:0;height:100%;text-align:right;background:var(--ibiz-async-action-loading-warp-bg-color)!important;transition:width .5s;animation:breath 2s ease-in-out infinite}
|