@ibiz-template/vue3-components 0.7.7 → 0.7.9

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 (57) hide show
  1. package/dist/index-GAvjatsT.js +4 -0
  2. package/dist/index-dsmTOMa5.js +1 -0
  3. package/dist/index-sGpuIVYT.js +1 -0
  4. package/dist/index.min.css +1 -1
  5. package/dist/index.system.min.js +1 -1
  6. package/dist/wang-editor-mq8sQSDK.js +1 -0
  7. package/dist/{xlsx-util-2u3vZn2l.js → xlsx-util-Fc3O95jH.js} +1 -1
  8. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +3 -1
  9. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +24 -7
  10. package/es/control/dashboard/dashboard-design/dashboard-design.d.ts +3 -2
  11. package/es/control/dashboard/dashboard-design/dashboard-design.mjs +29 -30
  12. package/es/control/dashboard/dashboard.d.ts +1 -0
  13. package/es/control/dashboard/dashboard.mjs +10 -3
  14. package/es/control/dashboard/index.d.ts +1 -0
  15. package/es/control/dashboard/portlet/chart-portlet/chart-portlet.mjs +13 -1
  16. package/es/control/dashboard/portlet/list-portlet/list-portlet.mjs +13 -1
  17. package/es/control/dashboard/portlet/portlet-layout/portlet-layout.d.ts +1 -0
  18. package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +10 -1
  19. package/es/control/dashboard/portlet/view-portlet/view-portlet.mjs +13 -1
  20. package/es/control/form/form-detail/form-mdctrl/form-mdctrl.d.ts +1 -0
  21. package/es/control/form/form-detail/form-mdctrl/form-mdctrl.mjs +3 -1
  22. package/es/control/form/form-detail/form-mdctrl/index.d.ts +1 -0
  23. package/es/control/toolbar/toolbar.css +1 -1
  24. package/es/control/toolbar/toolbar.mjs +14 -3
  25. package/es/editor/html/html-editor.controller.d.ts +25 -2
  26. package/es/editor/html/html-editor.controller.mjs +38 -1
  27. package/es/editor/html/wang-editor/ai/ai-modules.d.ts +9 -0
  28. package/es/editor/html/wang-editor/ai/ai-modules.mjs +32 -0
  29. package/es/editor/html/wang-editor/wang-editor.css +1 -1
  30. package/es/editor/html/wang-editor/wang-editor.mjs +98 -6
  31. package/es/editor/text-box/input/input.mjs +9 -5
  32. package/es/locale/en/index.d.ts +204 -0
  33. package/es/locale/en/index.mjs +205 -0
  34. package/es/locale/zh-CN/index.d.ts +204 -0
  35. package/es/locale/zh-CN/index.mjs +205 -0
  36. package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +23 -6
  37. package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +29 -30
  38. package/lib/control/dashboard/dashboard.cjs +9 -2
  39. package/lib/control/dashboard/portlet/chart-portlet/chart-portlet.cjs +12 -0
  40. package/lib/control/dashboard/portlet/list-portlet/list-portlet.cjs +12 -0
  41. package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +10 -1
  42. package/lib/control/dashboard/portlet/view-portlet/view-portlet.cjs +12 -0
  43. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.cjs +3 -1
  44. package/lib/control/toolbar/toolbar.cjs +14 -3
  45. package/lib/control/toolbar/toolbar.css +1 -1
  46. package/lib/editor/html/html-editor.controller.cjs +37 -0
  47. package/lib/editor/html/wang-editor/ai/ai-modules.cjs +34 -0
  48. package/lib/editor/html/wang-editor/wang-editor.cjs +97 -5
  49. package/lib/editor/html/wang-editor/wang-editor.css +1 -1
  50. package/lib/editor/text-box/input/input.cjs +9 -5
  51. package/lib/locale/en/index.cjs +205 -0
  52. package/lib/locale/zh-CN/index.cjs +205 -0
  53. package/package.json +7 -7
  54. package/dist/index-Rqr5SnvQ.js +0 -1
  55. package/dist/index-ntRuv0hC.js +0 -4
  56. package/dist/index-x-jLCilD.js +0 -1
  57. package/dist/wang-editor-0uYWEddj.js +0 -1
@@ -1 +1 @@
1
- .ibiz-html{--ibiz-html-height:300px;display:inline-block;width:100%;height:100%;--w-e-textarea-bg-color:var(--ibiz-color-bg-1);--w-e-textarea-color:var(--ibiz-color-text-2);--w-e-textarea-border-color:var(--ibiz-color-border);--w-e-textarea-slight-border-color:var(--ibiz-color-border);--w-e-textarea-slight-color:var(--ibiz-color-text-1);--w-e-textarea-slight-bg-color:var(--ibiz-color-bg-1);--w-e-textarea-selected-border-color:var(--ibiz-color-border);--w-e-textarea-handler-bg-color:var(--ibiz-color-primary);--w-e-toolbar-color:var(--ibiz-color-text-0);--w-e-toolbar-bg-color:var(--ibiz-color-bg-1);--w-e-toolbar-active-color:var(--ibiz-color-text-0);--w-e-toolbar-active-bg-color:var(--ibiz-color-bg-1);--w-e-toolbar-disabled-color:var(--ibiz-color-disabled-text);--w-e-toolbar-border-color:var(--ibiz-color-border);--w-e-modal-button-bg-color:var(--ibiz-color-bg-1);--w-e-modal-button-border-color:var(--ibiz-color-border)}.ibiz-html .ibiz-html-content{display:flex;flex-direction:column;height:100%;background-color:var(--ibiz-color-bg-0)}.ibiz-html .ibiz-html-editor{height:var(--ibiz-html-height)!important;padding:0;overflow-y:scroll;border:1px solid var(--ibiz-color-border)}.ibiz-html .w-e-menu-tooltip-v5::before{color:var(--ibiz-color-text-0);background-color:var(--w-e-toolbar-bg-color)}.ibiz-html .w-e-full-screen-container{z-index:9999}.ibiz-html .w-e-scroll>div{background-color:var(--ibiz-color-bg-0)}.ibiz-html .table-container table{width:100%}.rich-html-table{width:100%!important;border-collapse:collapse}.rich-html-table th{height:49px;min-height:49px;padding:8px;background-color:#f3f3f3;border:1px solid #d3d3d3}.rich-html-table td{height:49px;min-height:49px;padding:8px;empty-cells:show;border:1px solid #d3d3d3}.ibiz-html-editor-readonly .ibiz-html-toolbar{display:none}.ibiz-html-editor-readonly .ibiz-html-editor{border:none}.ibiz-html-footer{display:flex;align-items:center;justify-content:end;margin-top:12px;margin-right:8px}.ibiz-html-footer>*+*{margin-left:16px}.ibiz-html-footer__cancel{height:36px;line-height:36px;color:var(--ibiz-color-text-1);cursor:pointer;opacity:.7}.ibiz-html-footer__cancel:hover{color:var(--ibiz-color-primary);opacity:1}.ibiz-html-footer__save{width:96px;height:36px;line-height:36px;color:var(--ibiz-color-primary-active-text);text-align:center;cursor:pointer;background-color:var(--ibiz-color-primary);border-radius:5px}.ibiz-html-footer__save:hover{box-shadow:0 2px 5px 1px var(--ibiz-color-primary)}.ibiz-html-custom-toolbar{display:flex;align-items:center;justify-content:end;width:100%;height:32px;padding-right:16px;font-size:16px}.ibiz-html-custom-toolbar>*+*{margin-left:20px}.ibiz-html-custom-toolbar i{cursor:pointer}.ibiz-html-custom-toolbar i:hover{color:var(--ibiz-color-primary)}.ibiz-html-message{width:500px;max-width:unset}.ibiz-html-message__message-content--message-tip{color:var(--ibiz-color-text-3)}.ibiz-html-message__message-cancel{color:var(--ibiz-color-text-1);background-color:transparent}.ibiz-html-message__message-cancel:hover{color:var(--ibiz-color-primary);background-color:transparent}.ibiz-html-message__message-comfire{background-color:var(--ibiz-color-danger)!important}.ibiz-html-message__message-comfire:hover{box-shadow:0 2px 5px 1px var(--ibiz-color-danger)}.ibiz-html-dialog-full-screen{height:80%}.ibiz-html-dialog-full-screen .ibiz-html{padding:0 32px;--w-e-toolbar-bg-color:var(--ibiz-color-bg-0)}.ibiz-html-dialog-full-screen .ibiz-html-custom-toolbar{height:56px}.ibiz-html-dialog-full-screen .ibiz-html-content{height:calc(100% - 124px)}.ibiz-html-dialog-full-screen .ibiz-html-content .ibiz-html-editor{height:100%!important}.ibiz-html-footer-dialog{height:68px;margin-top:0}
1
+ .ibiz-html{--ibiz-html-height:300px;display:inline-block;width:100%;height:100%;--w-e-textarea-bg-color:var(--ibiz-color-bg-1);--w-e-textarea-color:var(--ibiz-color-text-2);--w-e-textarea-border-color:var(--ibiz-color-border);--w-e-textarea-slight-border-color:var(--ibiz-color-border);--w-e-textarea-slight-color:var(--ibiz-color-text-1);--w-e-textarea-slight-bg-color:var(--ibiz-color-bg-1);--w-e-textarea-selected-border-color:var(--ibiz-color-border);--w-e-textarea-handler-bg-color:var(--ibiz-color-primary);--w-e-toolbar-color:var(--ibiz-color-text-0);--w-e-toolbar-bg-color:var(--ibiz-color-bg-1);--w-e-toolbar-active-color:var(--ibiz-color-text-0);--w-e-toolbar-active-bg-color:var(--ibiz-color-bg-1);--w-e-toolbar-disabled-color:var(--ibiz-color-disabled-text);--w-e-toolbar-border-color:var(--ibiz-color-border);--w-e-modal-button-bg-color:var(--ibiz-color-bg-1);--w-e-modal-button-border-color:var(--ibiz-color-border)}.ibiz-html .ibiz-html-content{display:flex;flex-direction:column;height:100%;background-color:var(--ibiz-color-bg-0)}.ibiz-html .ibiz-html-editor{height:var(--ibiz-html-height)!important;padding:0;overflow-y:scroll;border:1px solid var(--ibiz-color-border)}.ibiz-html .ibiz-html-editor table{width:100%!important;border-collapse:collapse}.ibiz-html .ibiz-html-editor table th{height:49px;min-height:49px;padding:8px;background-color:#f3f3f3;border:1px solid #d3d3d3}.ibiz-html .ibiz-html-editor table td{height:49px;min-height:49px;padding:8px;empty-cells:show;border:1px solid #d3d3d3}.ibiz-html .w-e-menu-tooltip-v5::before{color:var(--ibiz-color-text-0);background-color:var(--w-e-toolbar-bg-color)}.ibiz-html .w-e-full-screen-container{z-index:9999}.ibiz-html .w-e-scroll>div{background-color:var(--ibiz-color-bg-0)}.ibiz-html .table-container table{width:100%}.ibiz-html-editor-readonly .ibiz-html-toolbar{display:none}.ibiz-html-editor-readonly .ibiz-html-editor{border:none}.ibiz-html-footer{display:flex;align-items:center;justify-content:end;margin-top:12px;margin-right:8px}.ibiz-html-footer>*+*{margin-left:16px}.ibiz-html-footer__cancel{height:36px;line-height:36px;color:var(--ibiz-color-text-1);cursor:pointer;opacity:.7}.ibiz-html-footer__cancel:hover{color:var(--ibiz-color-primary);opacity:1}.ibiz-html-footer__save{width:96px;height:36px;line-height:36px;color:var(--ibiz-color-primary-active-text);text-align:center;cursor:pointer;background-color:var(--ibiz-color-primary);border-radius:5px}.ibiz-html-footer__save:hover{box-shadow:0 2px 5px 1px var(--ibiz-color-primary)}.ibiz-html-custom-toolbar{display:flex;align-items:center;justify-content:end;width:100%;height:32px;padding-right:16px;font-size:16px}.ibiz-html-custom-toolbar>*+*{margin-left:20px}.ibiz-html-custom-toolbar i{cursor:pointer}.ibiz-html-custom-toolbar i:hover{color:var(--ibiz-color-primary)}.ibiz-html-message{width:500px;max-width:unset}.ibiz-html-message__message-content--message-tip{color:var(--ibiz-color-text-3)}.ibiz-html-message__message-cancel{color:var(--ibiz-color-text-1);background-color:transparent}.ibiz-html-message__message-cancel:hover{color:var(--ibiz-color-primary);background-color:transparent}.ibiz-html-message__message-comfire{background-color:var(--ibiz-color-danger)!important}.ibiz-html-message__message-comfire:hover{box-shadow:0 2px 5px 1px var(--ibiz-color-danger)}.ibiz-html-dialog-full-screen{height:80%}.ibiz-html-dialog-full-screen .ibiz-html{padding:0 32px;--w-e-toolbar-bg-color:var(--ibiz-color-bg-0)}.ibiz-html-dialog-full-screen .ibiz-html-custom-toolbar{height:56px}.ibiz-html-dialog-full-screen .ibiz-html-content{height:calc(100% - 124px)}.ibiz-html-dialog-full-screen .ibiz-html-content .ibiz-html-editor{height:100%!important}.ibiz-html-footer-dialog{height:68px;margin-top:0}
@@ -1,11 +1,13 @@
1
1
  import { ref, shallowRef, watch, onBeforeUnmount, nextTick, onMounted, createTextVNode, createVNode, onUnmounted, resolveComponent, defineComponent } from 'vue';
2
2
  import { Toolbar, Editor } from '@wangeditor/editor-for-vue';
3
- import { getCookie } from 'qx-util';
3
+ import { Boot } from '@wangeditor/editor';
4
+ import { getCookie, createUUID } from 'qx-util';
4
5
  import { isNil } from 'ramda';
5
6
  import { getHtmlProps, getEditorEmits, useNamespace } from '@ibiz-template/vue3-util';
6
7
  import { CoreConst, awaitTimeout } from '@ibiz-template/core';
7
8
  import { ElMessageBox } from 'element-plus';
8
9
  import './wang-editor.css';
10
+ import { AIMenu } from './ai/ai-modules.mjs';
9
11
 
10
12
  "use strict";
11
13
  const IBizHtml = /* @__PURE__ */ defineComponent({
@@ -68,8 +70,18 @@ const IBizHtml = /* @__PURE__ */ defineComponent({
68
70
  const customParseLinkUrl = (url) => {
69
71
  return url;
70
72
  };
73
+ Boot.registerMenu({
74
+ key: "aichart",
75
+ factory() {
76
+ return new AIMenu();
77
+ }
78
+ });
71
79
  const toolbarConfig = {
72
- excludeKeys: ["group-video"]
80
+ excludeKeys: ["group-video"],
81
+ insertKeys: {
82
+ index: 60,
83
+ keys: ["|", "aichart"]
84
+ }
73
85
  };
74
86
  const editorConfig = {
75
87
  placeholder: c.placeHolder,
@@ -141,18 +153,95 @@ const IBizHtml = /* @__PURE__ */ defineComponent({
141
153
  return;
142
154
  editor.destroy();
143
155
  });
156
+ let chatInstance;
157
+ const onClickAI = async () => {
158
+ var _a;
159
+ if (c.deService) {
160
+ const module = await import('@ibiz-template-plugin/ai-chat');
161
+ const chat = module.chat || module.default.chat;
162
+ chatInstance = chat;
163
+ const aiChat = chat.create({
164
+ question: async (arr) => {
165
+ var _a2;
166
+ const id = createUUID();
167
+ await ((_a2 = c.deService) == null ? void 0 : _a2.aiChatSse((msg) => {
168
+ ibiz.log.info("aiChatSse", msg);
169
+ if (msg.actionstate === 20 && msg.actionresult) {
170
+ aiChat.addMessage({
171
+ messageid: id,
172
+ state: msg.actionstate,
173
+ type: "DEFAULT",
174
+ role: "ASSISTANT",
175
+ content: msg.actionresult
176
+ });
177
+ } else if (msg.actionstate === 30 && msg.actionresult) {
178
+ const result = JSON.parse(msg.actionresult);
179
+ const choices = result.choices;
180
+ if (choices && choices.length > 0) {
181
+ aiChat.replaceMessage({
182
+ messageid: id,
183
+ state: msg.actionstate,
184
+ type: "DEFAULT",
185
+ role: "ASSISTANT",
186
+ content: choices[0].content || ""
187
+ });
188
+ }
189
+ } else if (msg.actionstate === 40) {
190
+ aiChat.replaceMessage({
191
+ messageid: id,
192
+ state: msg.actionstate,
193
+ type: "ERROR",
194
+ role: "ASSISTANT",
195
+ content: msg.actionresult
196
+ });
197
+ }
198
+ }, c.context, {}, {
199
+ messages: arr
200
+ }));
201
+ aiChat.addMessage({
202
+ messageid: id,
203
+ state: 10,
204
+ type: "DEFAULT",
205
+ role: "ASSISTANT",
206
+ content: ""
207
+ });
208
+ return true;
209
+ },
210
+ action: (action, message) => {
211
+ if (action === "backfill") {
212
+ emit("change", message.content);
213
+ }
214
+ }
215
+ });
216
+ const res = await ((_a = c.deService) == null ? void 0 : _a.aiChatHistory(c.context, {}));
217
+ if (res.data && Array.isArray(res.data)) {
218
+ res.data.forEach((item) => {
219
+ const msg = {
220
+ messageid: createUUID(),
221
+ state: 30,
222
+ type: "DEFAULT",
223
+ role: item.role,
224
+ content: item.content
225
+ };
226
+ aiChat.addMessage(msg);
227
+ });
228
+ }
229
+ }
230
+ };
144
231
  const handleCreated = (editor) => {
145
232
  editorRef.value = editor;
146
233
  editor.setHtml(valueHtml.value);
234
+ editor.on("aiClick", () => {
235
+ onClickAI();
236
+ });
147
237
  };
148
238
  const handleChange = (editor) => {
149
239
  const html = editor.getHtml();
150
- let emitValue = html === "<p><br></p>" ? "" : html;
240
+ const emitValue = html === "<p><br></p>" ? "" : html;
151
241
  if (emitValue === props.value || emitValue === "" && isNil(props.value)) {
152
242
  return;
153
243
  }
154
244
  if (!hasEnableEdit.value && editor.isFocused()) {
155
- emitValue = emitValue.replaceAll('class="rich-html-table"', "").replace(/<table/g, '<table class="rich-html-table"');
156
245
  emit("change", emitValue);
157
246
  }
158
247
  };
@@ -293,7 +382,7 @@ const IBizHtml = /* @__PURE__ */ defineComponent({
293
382
  const save = () => {
294
383
  readonlyState.value = true;
295
384
  editorRef.value.disable();
296
- const value = valueHtml.value.replaceAll('class="rich-html-table"', "").replace(/<table/g, '<table class="rich-html-table"');
385
+ const value = valueHtml.value;
297
386
  emit("change", value);
298
387
  if (isFullScreen.value) {
299
388
  isFullScreen.value = false;
@@ -388,6 +477,9 @@ const IBizHtml = /* @__PURE__ */ defineComponent({
388
477
  if (resizeObserver) {
389
478
  resizeObserver.disconnect();
390
479
  }
480
+ if (chatInstance) {
481
+ chatInstance.close();
482
+ }
391
483
  });
392
484
  return {
393
485
  ns,
@@ -423,7 +515,7 @@ const IBizHtml = /* @__PURE__ */ defineComponent({
423
515
  return !this.isFullScreen ? createVNode("div", {
424
516
  "class": [this.ns.b(), {
425
517
  [this.ns.b("editor-readonly")]: this.readonlyState
426
- }]
518
+ }, this.ns.is("show-ai", true)]
427
519
  }, [this.renderHeaserToolbar(), this.renderEditorContent(), this.hasEnableEdit && !this.readonlyState ? this.renderFooter() : null]) : createVNode(resolveComponent("el-dialog"), {
428
520
  "modelValue": this.isFullScreen,
429
521
  "onUpdate:modelValue": ($event) => this.isFullScreen = $event,
@@ -113,16 +113,16 @@ const IBizInput = /* @__PURE__ */ defineComponent({
113
113
  };
114
114
  let chatInstance;
115
115
  const onClick = async () => {
116
- var _a;
116
+ var _a, _b;
117
117
  if (c.deService) {
118
118
  const module = await import('@ibiz-template-plugin/ai-chat');
119
119
  const chat = module.chat || module.default.chat;
120
120
  chatInstance = chat;
121
121
  const aiChat = chat.create({
122
122
  question: async (arr) => {
123
- var _a2;
123
+ var _a2, _b2;
124
124
  const id = createUUID();
125
- await ((_a2 = c.deService) == null ? void 0 : _a2.aiChatSse((msg) => {
125
+ await ((_b2 = c.deService) == null ? void 0 : _b2.aiChatSse((msg) => {
126
126
  ibiz.log.info("aiChatSse", msg);
127
127
  if (msg.actionstate === 20 && msg.actionresult) {
128
128
  aiChat.addMessage({
@@ -153,7 +153,9 @@ const IBizInput = /* @__PURE__ */ defineComponent({
153
153
  content: msg.actionresult
154
154
  });
155
155
  }
156
- }, c.context, {}, {
156
+ }, c.context, {
157
+ srfactag: (_a2 = c.deACMode) == null ? void 0 : _a2.codeName
158
+ }, {
157
159
  messages: arr
158
160
  }));
159
161
  aiChat.addMessage({
@@ -171,7 +173,9 @@ const IBizInput = /* @__PURE__ */ defineComponent({
171
173
  }
172
174
  }
173
175
  });
174
- const res = await ((_a = c.deService) == null ? void 0 : _a.aiChatHistory(c.context, {}));
176
+ const res = await ((_b = c.deService) == null ? void 0 : _b.aiChatHistory(c.context, {
177
+ srfactag: (_a = c.deACMode) == null ? void 0 : _a.codeName
178
+ }));
175
179
  if (res.data && Array.isArray(res.data)) {
176
180
  res.data.forEach((item) => {
177
181
  const msg = {
@@ -112,5 +112,209 @@ declare const _default: {
112
112
  confirmCancel: string;
113
113
  };
114
114
  };
115
+ runtime: {
116
+ common: {
117
+ unrealized: string;
118
+ };
119
+ command: {
120
+ app: {
121
+ notFindApplicationFunction: string;
122
+ notFindApplicationFunctionYype: string;
123
+ notFindApplicationView: string;
124
+ };
125
+ };
126
+ controller: {
127
+ common: {
128
+ control: {
129
+ componentActivation: string;
130
+ componentPause: string;
131
+ unsupportedType: string;
132
+ uncheckedData: string;
133
+ dataDeletion: string;
134
+ confirmDataDeletion: string;
135
+ noImportModel: string;
136
+ };
137
+ editor: {
138
+ editorNotConfigured: string;
139
+ };
140
+ view: {
141
+ viewActivation: string;
142
+ viewPause: string;
143
+ viewDestroy: string;
144
+ notFoundViewEngine: string;
145
+ noSupportBehavior: string;
146
+ };
147
+ };
148
+ control: {
149
+ menu: {
150
+ notFindMenu: string;
151
+ noConfigured: string;
152
+ };
153
+ calendar: {
154
+ missingViewLogic: string;
155
+ notFoundModel: string;
156
+ };
157
+ chart: {
158
+ notConfiguredX: string;
159
+ notConfiguredY: string;
160
+ missingClassification: string;
161
+ missingValue: string;
162
+ notSupportSequence: string;
163
+ notFindSequence: string;
164
+ notInitialised: string;
165
+ notCalculated: string;
166
+ };
167
+ dataView: {
168
+ noBehaviourGroup: string;
169
+ noBehaviourGroupAction: string;
170
+ propertiesNotConfigured: string;
171
+ tableNotConfigured: string;
172
+ sortingItems: string;
173
+ };
174
+ expBar: {
175
+ unableMore: string;
176
+ multiNode: string;
177
+ notFindNodeModel: string;
178
+ };
179
+ form: {
180
+ formCompletion: string;
181
+ savedSuccessfully: string;
182
+ prompt: string;
183
+ deletion: string;
184
+ itemUpdate: string;
185
+ processStarted: string;
186
+ processSubmitted: string;
187
+ lackBehavior: string;
188
+ initializationException: string;
189
+ relationshipInterface: string;
190
+ fillIn: string;
191
+ unconfiguredWidgets: string;
192
+ noFoundFormController: string;
193
+ multiDataAddData: string;
194
+ mdControllerNotExist: string;
195
+ repeaterNotSupported: string;
196
+ searchTerms: string;
197
+ saveSearch: string;
198
+ };
199
+ gantt: {
200
+ notNode: string;
201
+ rowData: string;
202
+ simpleMode: string;
203
+ nonentity: string;
204
+ notChange: string;
205
+ dataDeleted: string;
206
+ firstComplete: string;
207
+ notSupport: string;
208
+ };
209
+ grid: {
210
+ unsupported: string;
211
+ attributeColumns: string;
212
+ notCodeTable: string;
213
+ configureFirstColumn: string;
214
+ requiresCodeTable: string;
215
+ notMatchCodeTable: string;
216
+ convertedValue: string;
217
+ missingConfiguration: string;
218
+ newRows: string;
219
+ saveCancel: string;
220
+ notSupportRowEditing: string;
221
+ lineEditing: string;
222
+ updateColumns: string;
223
+ exported: string;
224
+ tabularColumns: string;
225
+ corresponding: string;
226
+ pickedUpData: string;
227
+ notSupportedMode: string;
228
+ remoteAggregation: string;
229
+ aggregateMode: string;
230
+ formattingError: string;
231
+ checksumErrors: string;
232
+ behaviorGroup: string;
233
+ interfaceBehavior: string;
234
+ };
235
+ kanban: {
236
+ sortingProperties: string;
237
+ sortDirection: string;
238
+ groupedOn: string;
239
+ adjustmentsGroup: string;
240
+ notAllowReorder: string;
241
+ };
242
+ meditViewPanel: {
243
+ DraftNew: string;
244
+ dataExist: string;
245
+ };
246
+ panel: {
247
+ panelData: string;
248
+ };
249
+ reportPanel: {
250
+ reportType: string;
251
+ notImplemented: string;
252
+ };
253
+ searchBar: {
254
+ notFoundEntity: string;
255
+ missingModel: string;
256
+ JSONFormat: string;
257
+ };
258
+ toolbar: {
259
+ notFound: string;
260
+ };
261
+ tree: {
262
+ notFoundTreeData: string;
263
+ sortAttribute: string;
264
+ editMode: string;
265
+ nodeData: string;
266
+ notFoundTreeNode: string;
267
+ };
268
+ treeGrid: {
269
+ columnsSchema: string;
270
+ columnMode: string;
271
+ };
272
+ treeGridEx: {
273
+ notConfigured: string;
274
+ editItem: string;
275
+ notPickedUp: string;
276
+ behaviorGroup: string;
277
+ notSupportCreation: string;
278
+ updateBehavior: string;
279
+ };
280
+ wizardPanel: {
281
+ wizardForm: string;
282
+ formController: string;
283
+ noConfiguration: string;
284
+ wizardFormIdentifier: string;
285
+ noPreviousForm: string;
286
+ nextStep: string;
287
+ nextForm: string;
288
+ };
289
+ };
290
+ utils: {
291
+ buttonState: {
292
+ isFinitenconsistency: string;
293
+ };
294
+ counter: {
295
+ decrement: string;
296
+ };
297
+ dataFileUtil: {
298
+ notExist: string;
299
+ loadError: string;
300
+ importData: string;
301
+ };
302
+ valueDefault: {
303
+ notExist: string;
304
+ notsupported: string;
305
+ };
306
+ valueEx: {
307
+ objectNameField: string;
308
+ };
309
+ valueRule: {
310
+ length: string;
311
+ };
312
+ viewMsg: {
313
+ message: string;
314
+ noFound: string;
315
+ };
316
+ };
317
+ };
318
+ };
115
319
  };
116
320
  export default _default;
@@ -117,6 +117,211 @@ var index = {
117
117
  cancelEditPrompt: "Canceling editing will prevent the modified content from being saved and cannot be retrieved.",
118
118
  confirmCancel: "Confirm cancel"
119
119
  }
120
+ },
121
+ // runtime
122
+ runtime: {
123
+ common: {
124
+ unrealized: "unrealized"
125
+ },
126
+ command: {
127
+ app: {
128
+ notFindApplicationFunction: "An app feature called {appFuncId} cannot be found",
129
+ notFindApplicationFunctionYype: "Unsupported application function type: {appFuncType}",
130
+ notFindApplicationView: "The application view [{appViewId}] does not exist"
131
+ }
132
+ },
133
+ controller: {
134
+ common: {
135
+ control: {
136
+ componentActivation: "Component [{name}] ({id}) is active",
137
+ componentPause: "Component [{name}] ({id}) is pause",
138
+ unsupportedType: "Unsupported entity data change type: {type}",
139
+ uncheckedData: "Unchecked data",
140
+ dataDeletion: "data deletion",
141
+ confirmDataDeletion: "Confirm deletion of data?",
142
+ noImportModel: "No import model is configured!"
143
+ },
144
+ editor: {
145
+ editorNotConfigured: "Editor type [{editorType}], code table not configured"
146
+ },
147
+ view: {
148
+ viewActivation: "View [{name}] ({id}) is active",
149
+ viewPause: "View [{name}] ({id}) is pause",
150
+ viewDestroy: "View [{name}] ({id}) is destroy",
151
+ notFoundViewEngine: "The View Engine implementation was not found:",
152
+ noSupportBehavior: "No engine support for pre-built interface behavior {key}"
153
+ }
154
+ },
155
+ control: {
156
+ menu: {
157
+ notFindMenu: "Cannot find menu item named {id}",
158
+ noConfigured: "No application functionality configured"
159
+ },
160
+ calendar: {
161
+ missingViewLogic: "Missing {itemType}_opendata view logic",
162
+ notFoundModel: "Calendar item model not found"
163
+ },
164
+ chart: {
165
+ notConfiguredX: "Sequence is not configured with X-axis",
166
+ notConfiguredY: "Sequence is not configured with Y-axis",
167
+ missingClassification: "Missing classification attribute configuration",
168
+ missingValue: "Missing value attribute configuration",
169
+ notSupportSequence: "Charts do not support sequence types at this time {seriesType}",
170
+ notFindSequence: "Cannot find generator for {seriesIndex} sequence!",
171
+ notInitialised: "The chart object is not properly initialised",
172
+ notCalculated: "Options have not been calculated."
173
+ },
174
+ dataView: {
175
+ noBehaviourGroup: "No interface behaviour group is configured for the action",
176
+ noBehaviourGroupAction: "No interface behaviour is configured for the action item interface behaviour group",
177
+ propertiesNotConfigured: "Grouping properties are not configured",
178
+ tableNotConfigured: "The grouping code table is not configured",
179
+ sortingItems: "Items with sorting enabled must be associated with an entity attribute"
180
+ },
181
+ expBar: {
182
+ unableMore: "Unable to get multiple data widgets [{xdataControlName}] controller",
183
+ multiNode: "Multi-node views are implemented by subclasses",
184
+ notFindNodeModel: "Cannot find node model for {nodeId}"
185
+ },
186
+ form: {
187
+ formCompletion: "Please check the form completion!",
188
+ savedSuccessfully: "{srfmajortext}Saved successfully!",
189
+ prompt: "prompt",
190
+ deletion: "Confirm deletion?",
191
+ itemUpdate: "No {formItemUpdateId} form item update was found.",
192
+ processStarted: "Process started successfully",
193
+ processSubmitted: "Process submitted successfully",
194
+ lackBehavior: "Lack of return operation entity behavior",
195
+ initializationException: "Initialization Exception: Form member [{id}]({detailType}) already exists, duplicate form item identifier Please check configuration!",
196
+ relationshipInterface: "Receive data change events from the relationship interface",
197
+ fillIn: "Please fill in {caption} ",
198
+ unconfiguredWidgets: "Multi-data widgets unconfigured content widgets",
199
+ noFoundFormController: "No form controller corresponding to {id} found",
200
+ multiDataAddData: "Multi-data widget type {contentType} does not support adding data at the moment",
201
+ mdControllerNotExist: "mdController does not exist",
202
+ repeaterNotSupported: "Repeater styles are not supported at this time {detailStyle}",
203
+ searchTerms: "No search terms found to apply",
204
+ saveSearch: "No saved search criteria found"
205
+ },
206
+ gantt: {
207
+ notNode: "Not entity gantt node data",
208
+ rowData: "Row data does not exist",
209
+ simpleMode: "Simple mode, no saving",
210
+ nonentity: "Non-entity node data cannot be saved",
211
+ notChange: "The value has not changed",
212
+ dataDeleted: "Data [{str}] deleted successfully!",
213
+ firstComplete: "Please complete the current line in the line editor first",
214
+ notSupport: "{treeNodeType} node type not supported"
215
+ },
216
+ grid: {
217
+ unsupported: "Unsupported types {type}",
218
+ attributeColumns: "Attribute columns with no grouping attributes configured",
219
+ notCodeTable: "The attribute column {groupFieldName} of the grouping attribute does not have a configuration code table",
220
+ configureFirstColumn: "Please configure the grouping attribute column {groupFieldName} as the first column",
221
+ requiresCodeTable: "Code table grouping mode requires code table configuration",
222
+ notMatchCodeTable: "The grouping code table does not match the code table for the attribute column {groupFieldName}",
223
+ convertedValue: "The sort attribute of {srfmajortext} cannot be converted to a value",
224
+ missingConfiguration: "Missing configuration of aggregated entities or aggregated datasets",
225
+ newRows: "New rows are not supported",
226
+ saveCancel: "Row data validation failed, save cancel",
227
+ notSupportRowEditing: "The current form does not support row editing, and you cannot toggle on row editing.",
228
+ lineEditing: "Only one line can be open for line editing at the same time",
229
+ updateColumns: "No {updateId} edit columns found for update",
230
+ exported: "No exported data",
231
+ tabularColumns: "No tabular columns",
232
+ corresponding: "Corresponding table data item not found [{deField}].",
233
+ pickedUpData: "The value of {valueItem} is not picked up in the row data.",
234
+ notSupportedMode: "Attribute column aggregation mode {aggMode} is not supported yet.",
235
+ remoteAggregation: "Remote aggregation is not supported yet",
236
+ aggregateMode: "Aggregate mode is not supported yet {aggMode}",
237
+ formattingError: "{aggValue} value formatting error",
238
+ checksumErrors: "{codeName}Checksum errors, {fieldName}",
239
+ behaviorGroup: "The action column does not have an interface behavior group configured",
240
+ interfaceBehavior: "No interface behavior is configured for the action column interface behavior group"
241
+ },
242
+ kanban: {
243
+ sortingProperties: "Sorting properties are not configured",
244
+ sortDirection: "Sort direction is not configured",
245
+ groupedOn: "Kanban components must be grouped on",
246
+ adjustmentsGroup: "The current Kanban does not allow adjustments to the grouping!",
247
+ notAllowReorder: "Current Kanban does not allow reordering!"
248
+ },
249
+ meditViewPanel: {
250
+ DraftNew: "Draft - New",
251
+ dataExist: "Edit View Panel widget UI data does not exist"
252
+ },
253
+ panel: {
254
+ panelData: "Panel data not captured"
255
+ },
256
+ reportPanel: {
257
+ reportType: "Report panel generator factory parameter error, report panel does not specify report type",
258
+ notImplemented: "Specify the report {reportType} type report panel generator not implemented yet"
259
+ },
260
+ searchBar: {
261
+ notFoundEntity: "Cannot find the associated entity corresponding to the attribute {targetField}.",
262
+ missingModel: "Missing editor model",
263
+ JSONFormat: "{data} non-standard JSON format:"
264
+ },
265
+ toolbar: {
266
+ notFound: "Interface behavior model {actionId} not found"
267
+ },
268
+ tree: {
269
+ notFoundTreeData: "Cannot find corresponding tree node data",
270
+ sortAttribute: "Missing Configuration Sort Attribute",
271
+ editMode: "The tree node is not configured for edit mode: name",
272
+ nodeData: "Not entity tree node data",
273
+ notFoundTreeNode: "Tree node not found"
274
+ },
275
+ treeGrid: {
276
+ columnsSchema: "TreeTable Unvalued Columns Schema",
277
+ columnMode: "Tree table without parent column mode"
278
+ },
279
+ treeGridEx: {
280
+ notConfigured: "The node is not configured with a data item that corresponds to the table column {name}",
281
+ editItem: "Edit item model corresponding to table column {name} was not found",
282
+ notPickedUp: "The value of {valueItem} is not picked up in the row data.",
283
+ behaviorGroup: "The {id} action column does not have an interface behavior group configured.",
284
+ notSupportCreation: "Does not support the creation of new",
285
+ updateBehavior: "Tree nodes are not configured to update entity behavior"
286
+ },
287
+ wizardPanel: {
288
+ wizardForm: "Cannot find the wizard form for {activeFormTag}.",
289
+ formController: "Cannot find a form controller for {activeFormTag}.",
290
+ noConfiguration: "There is no Configuration Wizard form collection",
291
+ wizardFormIdentifier: "Cannot find the wizard form with the {tag} identifier.",
292
+ noPreviousForm: "No previous form",
293
+ nextStep: "Cannot find next wizard step",
294
+ nextForm: "Cannot find the next wizard form"
295
+ }
296
+ },
297
+ utils: {
298
+ buttonState: {
299
+ isFinitenconsistency: "Inconsistency between entity {appDeName} of {uiActionId} interface behavior and entity {appDeId} of data"
300
+ },
301
+ counter: {
302
+ decrement: "Decrement cannot be called for a count of 0!"
303
+ },
304
+ dataFileUtil: {
305
+ notExist: "ibiz.util.getExportExcel does not exist",
306
+ loadError: "Export module loading error",
307
+ importData: "No corresponding import data model was found"
308
+ },
309
+ valueDefault: {
310
+ notExist: "appdata.context does not exist",
311
+ notsupported: "Default value type [{valueType}] not supported"
312
+ },
313
+ valueEx: {
314
+ objectNameField: "Missing objectNameField"
315
+ },
316
+ valueRule: {
317
+ length: "The length of the content must be less than or equal to {maxLength}, the current length is {length}."
318
+ },
319
+ viewMsg: {
320
+ message: "Cannot find model for view message group {msgGroupId}",
321
+ noFound: "No {message} view message model found"
322
+ }
323
+ }
324
+ }
120
325
  }
121
326
  };
122
327