@ibiz-template/runtime 0.7.10 → 0.7.11

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.
Files changed (53) hide show
  1. package/dist/index.esm.js +657 -259
  2. package/dist/index.system.min.js +1 -1
  3. package/out/app-hub.d.ts +8 -0
  4. package/out/app-hub.d.ts.map +1 -1
  5. package/out/application.d.ts +2 -2
  6. package/out/application.d.ts.map +1 -1
  7. package/out/application.js +11 -4
  8. package/out/controller/common/view/view.controller.d.ts.map +1 -1
  9. package/out/controller/common/view/view.controller.js +23 -13
  10. package/out/controller/control/app-menu/custom-app-menu.controller.d.ts +124 -0
  11. package/out/controller/control/app-menu/custom-app-menu.controller.d.ts.map +1 -0
  12. package/out/controller/control/app-menu/custom-app-menu.controller.js +136 -0
  13. package/out/controller/control/app-menu/index.d.ts +1 -0
  14. package/out/controller/control/app-menu/index.d.ts.map +1 -1
  15. package/out/controller/control/app-menu/index.js +1 -0
  16. package/out/controller/control/chart/generator/chart-options-generator.d.ts.map +1 -1
  17. package/out/controller/control/chart/generator/chart-options-generator.js +27 -1
  18. package/out/controller/control/dashboard/custom-dashboard.controller.d.ts +8 -13
  19. package/out/controller/control/dashboard/custom-dashboard.controller.d.ts.map +1 -1
  20. package/out/controller/control/dashboard/custom-dashboard.controller.js +7 -6
  21. package/out/controller/control/gantt/gantt.controller.d.ts +28 -0
  22. package/out/controller/control/gantt/gantt.controller.d.ts.map +1 -1
  23. package/out/controller/control/gantt/gantt.controller.js +82 -1
  24. package/out/controller/utils/index.d.ts +1 -0
  25. package/out/controller/utils/index.d.ts.map +1 -1
  26. package/out/controller/utils/index.js +1 -0
  27. package/out/controller/utils/view-msg/view-msg-controller.d.ts +39 -0
  28. package/out/controller/utils/view-msg/view-msg-controller.d.ts.map +1 -1
  29. package/out/controller/utils/view-msg/view-msg-controller.js +108 -8
  30. package/out/interface/common/i-app-hub-service/i-app-hub-service.d.ts +8 -0
  31. package/out/interface/common/i-app-hub-service/i-app-hub-service.d.ts.map +1 -1
  32. package/out/interface/common/i-app-service/i-app-service.d.ts +5 -4
  33. package/out/interface/common/i-app-service/i-app-service.d.ts.map +1 -1
  34. package/out/interface/controller/common/custom-design/i-custom-design.d.ts +37 -0
  35. package/out/interface/controller/common/custom-design/i-custom-design.d.ts.map +1 -0
  36. package/out/interface/controller/common/custom-design/i-custom-design.js +1 -0
  37. package/out/interface/controller/common/index.d.ts +1 -0
  38. package/out/interface/controller/common/index.d.ts.map +1 -1
  39. package/out/interface/controller/common/index.js +1 -0
  40. package/out/interface/controller/common/view-message/i-view-message.d.ts +33 -1
  41. package/out/interface/controller/common/view-message/i-view-message.d.ts.map +1 -1
  42. package/out/interface/controller/controller/view/i-view.controller.d.ts +9 -1
  43. package/out/interface/controller/controller/view/i-view.controller.d.ts.map +1 -1
  44. package/out/interface/controller/event/control/i-gantt.event.d.ts +9 -1
  45. package/out/interface/controller/event/control/i-gantt.event.d.ts.map +1 -1
  46. package/out/interface/util/i-render-util/i-render-util.d.ts +44 -0
  47. package/out/interface/util/i-render-util/i-render-util.d.ts.map +1 -0
  48. package/out/interface/util/i-render-util/i-render-util.js +1 -0
  49. package/out/interface/util/index.d.ts +1 -0
  50. package/out/interface/util/index.d.ts.map +1 -1
  51. package/out/types.d.ts +10 -1
  52. package/out/types.d.ts.map +1 -1
  53. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"i-gantt.event.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/event/control/i-gantt.event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D;;;;;;;;GAQG;AACH,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD,QAAQ,EAAE;QACR,KAAK,EAAE;YAAE,GAAG,EAAE,mBAAmB,CAAA;SAAE,GAAG,SAAS,CAAC;QAChD,QAAQ,EAAE;YAAE,GAAG,EAAE,mBAAmB,CAAA;SAAE,CAAC;KACxC,CAAC;CACH"}
1
+ {"version":3,"file":"i-gantt.event.d.ts","sourceRoot":"","sources":["../../../../../src/interface/controller/event/control/i-gantt.event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D;;;;;;;;GAQG;AACH,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD,QAAQ,EAAE;QACR,KAAK,EAAE;YAAE,GAAG,EAAE,mBAAmB,CAAA;SAAE,GAAG,SAAS,CAAC;QAChD,QAAQ,EAAE;YAAE,GAAG,EAAE,mBAAmB,CAAA;SAAE,CAAC;KACxC,CAAC;IAEF,eAAe,EAAE;QACf,KAAK,EAAE;YAAE,KAAK,EAAE,cAAc,EAAE,CAAA;SAAE,GAAG,SAAS,CAAC;QAC/C,QAAQ,EAAE;YAAE,KAAK,EAAE,cAAc,EAAE,CAAA;SAAE,CAAC;KACvC,CAAC;CACH"}
@@ -0,0 +1,44 @@
1
+ import { IAppView, IControl } from '@ibiz/model-core';
2
+ /**
3
+ * 绘制工具类(包含逻辑中绘制视图、绘制部件等功能)
4
+ *
5
+ * @author tony001
6
+ * @date 2024-05-08 16:05:45
7
+ * @export
8
+ * @interface IRenderUtil
9
+ */
10
+ export interface IRenderUtil {
11
+ /**
12
+ * 绘制视图
13
+ *
14
+ * @author tony001
15
+ * @date 2024-05-08 16:05:57
16
+ * @param {string} viewId
17
+ * @param {IAppView} model
18
+ * @param {IContext} context
19
+ * @param {IParams} params
20
+ * @param {IData} [options]
21
+ */
22
+ renderViewShell(viewId: string, model: IAppView, context: IContext, params: IParams, options?: IData): IObject;
23
+ /**
24
+ * 绘制部件
25
+ *
26
+ * @author tony001
27
+ * @date 2024-05-08 16:05:02
28
+ * @param {IControl} model
29
+ * @param {IContext} context
30
+ * @param {IParams} params
31
+ * @param {IData} [options]
32
+ */
33
+ renderCtrlShell(model: IControl, context: IContext, params: IParams, options?: IData): IObject;
34
+ /**
35
+ * 绘制组件
36
+ *
37
+ * @author tony001
38
+ * @date 2024-05-08 16:05:22
39
+ * @param {string} name
40
+ * @param {IData} options
41
+ */
42
+ renderComponent(name: string, options: IData): IObject;
43
+ }
44
+ //# sourceMappingURL=i-render-util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-render-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/util/i-render-util/i-render-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;;;;;GAOG;AACH,MAAM,WAAW,WAAW;IAC1B;;;;;;;;;;OAUG;IACH,eAAe,CACb,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,EACf,OAAO,CAAC,EAAE,KAAK,GACd,OAAO,CAAC;IAEX;;;;;;;;;OASG;IACH,eAAe,CACb,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,EACf,OAAO,CAAC,EAAE,KAAK,GACd,OAAO,CAAC;IAEX;;;;;;;OAOG;IACH,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,GAAG,OAAO,CAAC;CACxD"}
@@ -0,0 +1 @@
1
+ export {};
@@ -12,4 +12,5 @@ export type { IExcelUtil } from './i-excel-util/i-excel-util';
12
12
  export type { IViewStack, IViewStackEvent } from './i-view-stack/i-view-stack';
13
13
  export type { IAnimationOptions } from './i-animation-util/i-animation-options';
14
14
  export type { INoticeUtil } from './i-notice-util/i-notice-util';
15
+ export type { IRenderUtil } from './i-render-util/i-render-util';
15
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/util/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,YAAY,EACV,YAAY,EACZ,cAAc,GACf,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC3E,YAAY,EACV,YAAY,EACZ,aAAa,GACd,MAAM,iCAAiC,CAAC;AACzC,YAAY,EACV,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,2CAA2C,CAAC;AACnD,YAAY,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,YAAY,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AACnF,YAAY,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACtF,YAAY,EAAE,wBAAwB,EAAE,MAAM,2DAA2D,CAAC;AAC1G,YAAY,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,YAAY,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC/E,YAAY,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAChF,YAAY,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/util/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,YAAY,EACV,YAAY,EACZ,cAAc,GACf,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC3E,YAAY,EACV,YAAY,EACZ,aAAa,GACd,MAAM,iCAAiC,CAAC;AACzC,YAAY,EACV,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,2CAA2C,CAAC;AACnD,YAAY,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,YAAY,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AACnF,YAAY,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACtF,YAAY,EAAE,wBAAwB,EAAE,MAAM,2DAA2D,CAAC;AAC1G,YAAY,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,YAAY,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC/E,YAAY,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAChF,YAAY,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjE,YAAY,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC"}
package/out/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { I18n } from '@ibiz-template/core';
2
2
  import { EngineFactory } from './engine';
3
3
  import { GlobalUtil } from './global';
4
- import { IMessageUtil, INotificationUtil, IOpenViewUtil, IModalUtil, IConfirmUtil, ILoadingUtil, IPluginFactory, IOverlayController, IGlobalConfig, IAppHubService, IAuthService, IPlatformProvider, INoticeUtil, IMarkOpenDataService } from './interface';
4
+ import { IMessageUtil, INotificationUtil, IOpenViewUtil, IModalUtil, IConfirmUtil, ILoadingUtil, IPluginFactory, IOverlayController, IGlobalConfig, IAppHubService, IAuthService, IPlatformProvider, INoticeUtil, IMarkOpenDataService, IRenderUtil } from './interface';
5
5
  import { LogicSchedulerCenter } from './logic-scheduler';
6
6
  import { RegisterCenter } from './register/register-center';
7
7
  import { UIDomainManager } from './utils';
@@ -75,6 +75,15 @@ declare module '@ibiz-template/core' {
75
75
  * @type {IOpenViewUtil}
76
76
  */
77
77
  openView: IOpenViewUtil;
78
+ /**
79
+ * 绘制工具类
80
+ *
81
+ * @description 需要在具体的前端技术框架中实现此工具类并挂载
82
+ * @author tony001
83
+ * @date 2024-05-08 16:05:21
84
+ * @type {IRenderUtil}
85
+ */
86
+ render: IRenderUtil;
78
87
  /**
79
88
  * 全局多种组件呈现工具类
80
89
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,WAAW,EACX,oBAAoB,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,QAAQ,qBAAqB,CAAC;IACnC,UAAU,OAAO;QACf;;;;;;WAMG;QACH,OAAO,EAAE,YAAY,CAAC;QAEtB;;;;;;WAMG;QACH,GAAG,EAAE,cAAc,CAAC;QAEpB;;;;;;;WAOG;QACH,KAAK,EAAE,UAAU,CAAC;QAElB;;;;;;;WAOG;QACH,OAAO,EAAE,YAAY,CAAC;QAEtB;;;;;;;WAOG;QACH,OAAO,EAAE,YAAY,CAAC;QAEtB;;;;;;;WAOG;QACH,YAAY,EAAE,iBAAiB,CAAC;QAEhC;;;;;WAKG;QACH,MAAM,EAAE,WAAW,CAAC;QAEpB;;;;;;;WAOG;QACH,QAAQ,EAAE,aAAa,CAAC;QAExB;;;;;;WAMG;QACH,OAAO,EAAE,k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version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "description": "控制器包",
5
5
  "type": "module",
6
6
  "main": "out/index.js",