@ibiz-template/mob-vue3-components 0.7.41-alpha.14 → 0.7.41-alpha.16

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 (56) hide show
  1. package/dist/{index-OsiEgFnw.js → index-5DjmQP8W.js} +2 -2
  2. package/dist/index-5DjmQP8W.js.map +1 -0
  3. package/dist/index-fAu1z4L0.js +2 -0
  4. package/dist/index-fAu1z4L0.js.map +1 -0
  5. package/dist/index-yjjy8EQH.js +76 -0
  6. package/dist/index-yjjy8EQH.js.map +1 -0
  7. package/dist/index.min.css +8 -8
  8. package/dist/index.system.min.js +1 -1
  9. package/dist/{quill-editor-x-OFlakL.js → quill-editor-6a0LLTGQ.js} +2 -2
  10. package/dist/{quill-editor-x-OFlakL.js.map → quill-editor-6a0LLTGQ.js.map} +1 -1
  11. package/dist/{quill-editor-preview-0dI65Nu7.js → quill-editor-preview-PFiM-IPE.js} +2 -2
  12. package/dist/{quill-editor-preview-0dI65Nu7.js.map → quill-editor-preview-PFiM-IPE.js.map} +1 -1
  13. package/dist/{quill-QfnovuHC.js → quill-n54HJUg2.js} +2 -2
  14. package/dist/{quill-QfnovuHC.js.map → quill-n54HJUg2.js.map} +1 -1
  15. package/es/_virtual/index12.mjs +2 -2
  16. package/es/_virtual/index13.mjs +2 -2
  17. package/es/common/action-group/action-group.d.ts +1 -0
  18. package/es/common/action-group/action-group.mjs +11 -2
  19. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +5 -7
  20. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.mjs +18 -0
  21. package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +2 -1
  22. package/es/editor/rate/ibiz-rate/ibiz-rate.mjs +3 -0
  23. package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +4 -3
  24. package/es/editor/stepper/ibiz-stepper/ibiz-stepper.mjs +9 -0
  25. package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +1 -0
  26. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +2 -1
  27. package/es/editor/text-box/input/input.d.ts +2 -0
  28. package/es/editor/upload/upload-editor.controller.d.ts +23 -2
  29. package/es/editor/upload/upload-editor.controller.mjs +46 -15
  30. package/es/editor/upload/use/use-van-upload.mjs +16 -2
  31. package/es/locale/en/index.d.ts +2 -0
  32. package/es/locale/en/index.mjs +2 -1
  33. package/es/locale/zh-CN/index.d.ts +2 -0
  34. package/es/locale/zh-CN/index.mjs +2 -1
  35. package/es/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.mjs +1 -1
  36. package/es/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.mjs +1 -1
  37. package/es/util/store/view-stack/view-stack.mjs +11 -1
  38. package/lib/_virtual/index12.cjs +2 -2
  39. package/lib/_virtual/index13.cjs +2 -2
  40. package/lib/common/action-group/action-group.cjs +11 -2
  41. package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.cjs +18 -0
  42. package/lib/editor/rate/ibiz-rate/ibiz-rate.cjs +3 -0
  43. package/lib/editor/stepper/ibiz-stepper/ibiz-stepper.cjs +9 -0
  44. package/lib/editor/upload/upload-editor.controller.cjs +46 -15
  45. package/lib/editor/upload/use/use-van-upload.cjs +16 -2
  46. package/lib/locale/en/index.cjs +2 -1
  47. package/lib/locale/zh-CN/index.cjs +2 -1
  48. package/lib/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.cjs +1 -1
  49. package/lib/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.cjs +1 -1
  50. package/lib/util/store/view-stack/view-stack.cjs +11 -1
  51. package/package.json +5 -5
  52. package/dist/index-JSf84k9b.js +0 -2
  53. package/dist/index-JSf84k9b.js.map +0 -1
  54. package/dist/index-OsiEgFnw.js.map +0 -1
  55. package/dist/index-Pq2AnubY.js +0 -76
  56. package/dist/index-Pq2AnubY.js.map +0 -1
@@ -1,3 +1,3 @@
1
- var frameTalkClientPc = {exports: {}};
1
+ var middlewares = {};
2
2
 
3
- export { frameTalkClientPc as __module };
3
+ export { middlewares as __exports };
@@ -1,3 +1,3 @@
1
- var middlewares = {};
1
+ var frameTalkClientPc = {exports: {}};
2
2
 
3
- export { middlewares as __exports };
3
+ export { frameTalkClientPc as __module };
@@ -21,6 +21,7 @@ export declare const IBizActionGroup: import("vue").DefineComponent<{
21
21
  }, {
22
22
  ns: import("@ibiz-template/core").Namespace;
23
23
  visible: import("vue").ComputedRef<boolean>;
24
+ caption: import("vue").ComputedRef<string | undefined>;
24
25
  buttonRef: import("vue").Ref<any>;
25
26
  placement: import("vue").ComputedRef<"bottom" | "right" | "top-end" | "top-start" | "bottom-end" | "bottom-start" | "left-end" | "right-end" | "left-start" | "right-start">;
26
27
  showPopover: import("vue").Ref<boolean>;
@@ -47,6 +47,10 @@ const IBizActionGroup = /* @__PURE__ */ defineComponent({
47
47
  });
48
48
  return visible2;
49
49
  });
50
+ const caption = computed(() => {
51
+ var _a, _b;
52
+ return ((_a = props.actionDetail.refUIActionGroup) == null ? void 0 : _a.name) || ((_b = props.actionDetail.refUIActionGroup) == null ? void 0 : _b.id);
53
+ });
50
54
  const placement = computed(() => {
51
55
  if (!buttonRef.value)
52
56
  return props.direction === "horizontal" ? "right" : "bottom";
@@ -117,6 +121,7 @@ const IBizActionGroup = /* @__PURE__ */ defineComponent({
117
121
  return {
118
122
  ns,
119
123
  visible,
124
+ caption,
120
125
  buttonRef,
121
126
  placement,
122
127
  showPopover,
@@ -143,11 +148,15 @@ const IBizActionGroup = /* @__PURE__ */ defineComponent({
143
148
  "class": this.ns.e("button"),
144
149
  "type": convertBtnType(this.actionDetail.buttonStyle)
145
150
  }, {
151
+ icon: () => {
152
+ return this.actionDetail.showIcon && this.actionDetail.sysImage && createVNode(resolveComponent("iBizIcon"), {
153
+ "icon": this.actionDetail.sysImage
154
+ }, null);
155
+ },
146
156
  default: () => {
147
- var _a, _b;
148
157
  return [createVNode("div", {
149
158
  "class": this.ns.em("button", "text")
150
- }, [((_a = this.actionDetail.refUIActionGroup) == null ? void 0 : _a.name) || ((_b = this.actionDetail.refUIActionGroup) == null ? void 0 : _b.id)]), createVNode("ion-icon", {
159
+ }, [this.actionDetail.showCaption ? this.caption : ""]), createVNode("ion-icon", {
151
160
  "class": this.ns.em("button", "icon"),
152
161
  "name": this.direction === "horizontal" ? "chevron-forward-outline" : "chevron-down-outline"
153
162
  }, null)];
@@ -5,13 +5,11 @@ import { NumberRangeEditorController } from '../number-range-editor.controller';
5
5
  * 移动端数值范围编辑框
6
6
  * @primary
7
7
  * @description 使用van-field组件,用于指定数值范围的场景。支持编辑器类型包含:`移动端数值范围编辑框`
8
- * @editorparams {name:maxValue,parameterType:string,defaultvalue:Infinity,description:最大值}
9
- * @editorparams {name:minValue,parameterType:string,defaultvalue:-Infinity,description:最小值}
10
- * @editorparams {name:valueSeparator,parameterType:string,defaultvalue:'-',description:值分割符}
11
- * @editorparams {name:rangeSeparator,parameterType:string,defaultvalue:'~',description:选择范围的分隔符}
12
- * @editorparams {name:startPlaceHolder,parameterType:string,defaultvalue:'',description:选择范围开始占位提示,van-field组件的placeholder属性}
13
- * @editorparams {name:endPlaceHolder,parameterType:string,defaultvalue:'',description:选择范围结束占位提示,van-field组件的placeholder属性}
14
- * @editorparams {name:precision,parameterType:number,defaultvalue:0,description:数值精度}
8
+ * @editorparams {name:valueseparator,parameterType:string,defaultvalue:'-',description:值分隔符}
9
+ * @editorparams {name:rangeseparator,parameterType:string,defaultvalue:'~',description:选择范围时的分隔符}
10
+ * @editorparams {name:startplaceholder,parameterType:string,defaultvalue:'',description:选择范围开始占位提示,van-field组件的placeholder属性}
11
+ * @editorparams {name:endplaceholder,parameterType:string,defaultvalue:'',description:选择范围结束占位提示,van-field组件的placeholder属性}
12
+ * @editorparams {name:readonly,parameterType:boolean,defaultvalue:false,description:设置编辑器是否为只读态}
15
13
  * @ignoreprops autoFocus | overflowMode
16
14
  * @ignoreemits infoTextChange | enter
17
15
  */
@@ -26,24 +26,42 @@ const IBizNumberRangePicker = /* @__PURE__ */ defineComponent({
26
26
  if (editorModel.editorParams.maxValue) {
27
27
  max = toNumber(editorModel.editorParams.maxValue);
28
28
  }
29
+ if (editorModel.editorParams.maxvalue) {
30
+ max = toNumber(editorModel.editorParams.maxvalue);
31
+ }
29
32
  if (editorModel.editorParams.minValue) {
30
33
  min = toNumber(editorModel.editorParams.minValue);
31
34
  }
35
+ if (editorModel.editorParams.minvalue) {
36
+ min = toNumber(editorModel.editorParams.minvalue);
37
+ }
32
38
  if (editorModel.editorParams.precision) {
33
39
  precision = toNumber(editorModel.editorParams.precision);
34
40
  }
35
41
  if (editorModel.editorParams.valueSeparator) {
36
42
  valueSeparator = editorModel.editorParams.valueSeparator;
37
43
  }
44
+ if (editorModel.editorParams.valueseparator) {
45
+ valueSeparator = editorModel.editorParams.valueseparator;
46
+ }
38
47
  if (editorModel.editorParams.startPlaceHolder) {
39
48
  startPlaceHolder = editorModel.editorParams.startPlaceHolder;
40
49
  }
50
+ if (editorModel.editorParams.startplaceholder) {
51
+ startPlaceHolder = editorModel.editorParams.startplaceholder;
52
+ }
41
53
  if (editorModel.editorParams.endPlaceHolder) {
42
54
  endPlaceHolder = editorModel.editorParams.endPlaceHolder;
43
55
  }
56
+ if (editorModel.editorParams.endplaceholder) {
57
+ endPlaceHolder = editorModel.editorParams.endplaceholder;
58
+ }
44
59
  if (editorModel.editorParams.rangeSeparator) {
45
60
  rangeSeparator = editorModel.editorParams.rangeSeparator;
46
61
  }
62
+ if (editorModel.editorParams.rangeseparator) {
63
+ rangeSeparator = editorModel.editorParams.rangeseparator;
64
+ }
47
65
  }
48
66
  const refFormItem = ref([]);
49
67
  const editorItems = editorModel.editorItems;
@@ -4,7 +4,8 @@ import './ibiz-rate.scss';
4
4
  * 移动端评分器
5
5
  * @primary
6
6
  * @description 使用van-rate组件,用于给某些东西进行评分。支持编辑器类型包含:`移动端评分器`
7
- * @editorparams {name:maxValue,parameterType:number,defaultvalue:5,description:设置最大评分值,van-rate组件的count属性}
7
+ * @editorparams {name:maxvalue,parameterType:number,defaultvalue:5,description:设置最大评分值,van-rate组件的count属性}
8
+ * @editorparams {name:readonly,parameterType:boolean,defaultvalue:false,description:设置编辑器是否为只读态}
8
9
  * @ignoreprops autoFocus | overflowMode
9
10
  * @ignoreemits infoTextChange | enter
10
11
  */
@@ -20,6 +20,9 @@ const IBizRate = /* @__PURE__ */ defineComponent({
20
20
  if (editorModel.editorParams.maxValue) {
21
21
  max = toNumber(editorModel.editorParams.maxValue);
22
22
  }
23
+ if (editorModel.editorParams.maxvalue) {
24
+ max = toNumber(editorModel.editorParams.maxvalue);
25
+ }
23
26
  }
24
27
  watch(() => props.value, (newVal, oldVal) => {
25
28
  if (newVal !== oldVal) {
@@ -5,10 +5,11 @@ import './ibiz-stepper.scss';
5
5
  *
6
6
  * @description 使用van-stepper组件,用于在一定范围内调整数字的场景。支持编辑器类型包含:`移动端步进器`
7
7
  * @primary
8
- * @editorparams {name:stepValue,parameterType:number,defaultvalue:1,description:设置递增或递减的步长,van-stepper组件的step属性}
8
+ * @editorparams {name:stepvalue,parameterType:number,defaultvalue:1,description:设置递增或递减的步长,van-stepper组件的step属性}
9
9
  * @editorparams {name:precision,parameterType:number,defaultvalue:0,description:设置数值精度,van-stepper组件的decimal-length属性}
10
- * @editorparams {name:maxValue,parameterType:number,defaultvalue:Infinity,description:设置步进器允许的最大值,van-stepper组件的max属性}
11
- * @editorparams {name:minValue,parameterType:number,defaultvalue:-Infinity,description:设置步进器允许的最小值,van-stepper组件的min属性}
10
+ * @editorparams {name:maxvalue,parameterType:number,defaultvalue:Infinity,description:设置步进器允许的最大值,van-stepper组件的max属性}
11
+ * @editorparams {name:minvalue,parameterType:number,defaultvalue:-Infinity,description:设置步进器允许的最小值,van-stepper组件的min属性}
12
+ * @editorparams {name:readonly,parameterType:boolean,defaultvalue:false,description:设置编辑器是否为只读态}
12
13
  * @ignoreprops autoFocus | overflowMode
13
14
  * @ignoreemits enter | infoTextChange
14
15
  */
@@ -25,15 +25,24 @@ const IBizStepper = /* @__PURE__ */ defineComponent({
25
25
  if (editorModel.editorParams.stepValue) {
26
26
  step = toNumber(editorModel.editorParams.stepValue);
27
27
  }
28
+ if (editorModel.editorParams.stepvalue) {
29
+ step = toNumber(editorModel.editorParams.stepvalue);
30
+ }
28
31
  if (editorModel.editorParams.precision) {
29
32
  precision = toNumber(editorModel.editorParams.precision);
30
33
  }
31
34
  if (editorModel.editorParams.maxValue) {
32
35
  max = toNumber(editorModel.editorParams.maxValue);
33
36
  }
37
+ if (editorModel.editorParams.maxvalue) {
38
+ max = toNumber(editorModel.editorParams.maxvalue);
39
+ }
34
40
  if (editorModel.editorParams.minValue) {
35
41
  min = toNumber(editorModel.editorParams.minValue);
36
42
  }
43
+ if (editorModel.editorParams.minvalue) {
44
+ min = toNumber(editorModel.editorParams.minvalue);
45
+ }
37
46
  }
38
47
  const handleChange = (e) => {
39
48
  if (e == props.value) {
@@ -5,6 +5,7 @@ import { SwitchEditorController } from '../switch-editor.controller';
5
5
  *
6
6
  * @description 使用van-switch组件,表示两种相互对立的状态间的切换,多用于触发「开/关」。支持编辑器类型包含:`移动端开关部件`
7
7
  * @primary
8
+ * @editorparams {name:readonly,parameterType:boolean,defaultvalue:false,description:设置编辑器是否为只读态}
8
9
  * @ignoreprops overflowMode | autoFocus
9
10
  * @ignoreemits enter | infoTextChange
10
11
  */
@@ -5,7 +5,8 @@ import { TextBoxEditorController } from '../text-box-editor.controller';
5
5
  *
6
6
  * @description 使用van-field组件,用于仅允许输入标准的数字值的场景。支持编辑器类型包含:`移动端数值框`
7
7
  * @primary
8
- * @editorparams {name:precision,parameterType:number,description:设置数值精度,van-field组件的precision属性}
8
+ * @editorparams {name:precision,parameterType:number,description:设置数值精度}
9
+ * @editorparams {name:readonly,parameterType:boolean,defaultvalue:false,description:设置编辑器是否为只读态}
9
10
  * @ignoreprops overflowMode
10
11
  * @ignoreemits infoTextChange | enter
11
12
  */
@@ -5,6 +5,8 @@ import { TextBoxEditorController } from '../text-box-editor.controller';
5
5
  *
6
6
  * @description 使用van-field组件,用于数据录入,通过键盘输入字符。支持编辑器类型包含:`移动端文本框`、`移动端多行文本`、`移动端密码框`
7
7
  * @primary
8
+ * @editorparams {name:enableshowpwd,parameterType:boolean,defaultvalue:false,description:控制密码框是否可以切换密码的显示与隐藏}
9
+ * @editorparams {name:readonly,parameterType:boolean,defaultvalue:false,description:设置编辑器是否为只读态}
8
10
  * @ignoreprops overflowMode
9
11
  * @ignoreemits infoTextChange
10
12
  */
@@ -28,9 +28,30 @@ export declare class UploadEditorController extends EditorController<IFileUpload
28
28
  */
29
29
  exportParams?: IParams;
30
30
  /**
31
- * 显示加载动画
31
+ * @description 是否显示加载动画
32
+ * @readonly
33
+ * @type {boolean}
34
+ * @memberof UploadEditorController
35
+ */
36
+ get showLoading(): boolean;
37
+ /**
38
+ * @description 图片压缩范围(超过该范围进行压缩,单位kb)
39
+ * @readonly
40
+ * @memberof UploadEditorController
41
+ */
42
+ get imgCompressLimit(): number;
43
+ /**
44
+ * @description 图片压缩质量(0-1,为0时不压缩,默认为0)
45
+ * @readonly
46
+ * @memberof UploadEditorController
47
+ */
48
+ get imgCompressQuality(): number;
49
+ /**
50
+ * @description 压缩图片最大宽度,默认为1280px
51
+ * @readonly
52
+ * @memberof UploadEditorController
32
53
  */
33
- showLoading: boolean;
54
+ get imgCompressMaxWidth(): number;
34
55
  /**
35
56
  * 文件类型
36
57
  *
@@ -31,10 +31,6 @@ class UploadEditorController extends EditorController {
31
31
  * 下载参数
32
32
  */
33
33
  __publicField(this, "exportParams");
34
- /**
35
- * 显示加载动画
36
- */
37
- __publicField(this, "showLoading", false);
38
34
  /**
39
35
  * 文件类型
40
36
  *
@@ -86,6 +82,51 @@ class UploadEditorController extends EditorController {
86
82
  ["tar", "zip"]
87
83
  ]));
88
84
  }
85
+ /**
86
+ * @description 是否显示加载动画
87
+ * @readonly
88
+ * @type {boolean}
89
+ * @memberof UploadEditorController
90
+ */
91
+ get showLoading() {
92
+ if (this.editorParams.showloading) {
93
+ return Boolean(this.editorParams.showloading);
94
+ }
95
+ return ibiz.config.mob.showUploadLoading;
96
+ }
97
+ /**
98
+ * @description 图片压缩范围(超过该范围进行压缩,单位kb)
99
+ * @readonly
100
+ * @memberof UploadEditorController
101
+ */
102
+ get imgCompressLimit() {
103
+ if (this.editorParams.imgcompresslimit) {
104
+ return Number(this.editorParams.imgcompresslimit);
105
+ }
106
+ return ibiz.config.imgCompressConfig.limit;
107
+ }
108
+ /**
109
+ * @description 图片压缩质量(0-1,为0时不压缩,默认为0)
110
+ * @readonly
111
+ * @memberof UploadEditorController
112
+ */
113
+ get imgCompressQuality() {
114
+ if (this.editorParams.imgcompressquality) {
115
+ return Number(this.editorParams.imgcompressquality);
116
+ }
117
+ return ibiz.config.imgCompressConfig.quality;
118
+ }
119
+ /**
120
+ * @description 压缩图片最大宽度,默认为1280px
121
+ * @readonly
122
+ * @memberof UploadEditorController
123
+ */
124
+ get imgCompressMaxWidth() {
125
+ if (this.editorParams.imgcompressmaxwidth) {
126
+ return Number(this.editorParams.imgcompressmaxwidth);
127
+ }
128
+ return ibiz.config.imgCompressConfig.maxWidth;
129
+ }
89
130
  async onInit() {
90
131
  var _a;
91
132
  await super.onInit();
@@ -103,14 +144,7 @@ class UploadEditorController extends EditorController {
103
144
  this.multiple = false;
104
145
  }
105
146
  if (this.editorParams) {
106
- const {
107
- isDrag,
108
- multiple,
109
- accept,
110
- uploadParams,
111
- exportParams,
112
- showloading
113
- } = this.editorParams;
147
+ const { isDrag, multiple, accept, uploadParams, exportParams } = this.editorParams;
114
148
  if (isDrag) {
115
149
  this.isDrag = Boolean(isDrag);
116
150
  }
@@ -120,9 +154,6 @@ class UploadEditorController extends EditorController {
120
154
  if (accept) {
121
155
  this.accept = accept;
122
156
  }
123
- if (showloading) {
124
- this.showLoading = Boolean(showloading);
125
- }
126
157
  if (uploadParams) {
127
158
  try {
128
159
  this.uploadParams = JSON.parse(uploadParams);
@@ -110,9 +110,23 @@ function useVanUpload(props, valueChange, c) {
110
110
  }
111
111
  emitValue();
112
112
  };
113
- const uploadFile = (file) => {
113
+ const uploadFile = async (file) => {
114
+ const size = file.file.size;
115
+ const sizeKB = size / 1024;
116
+ let curFile = file.file;
117
+ if (c.imgCompressQuality && c.imgCompressLimit && sizeKB > c.imgCompressLimit) {
118
+ try {
119
+ curFile = await ibiz.util.file.compressImg(
120
+ curFile,
121
+ c.imgCompressMaxWidth,
122
+ c.imgCompressQuality
123
+ );
124
+ } catch (e) {
125
+ ibiz.log.error(ibiz.i18n.t("editor.upload.compressError"));
126
+ }
127
+ }
114
128
  const formData = new FormData();
115
- formData.append("file", file.file);
129
+ formData.append("file", curFile);
116
130
  return new Promise((resolve, reject) => {
117
131
  ibiz.net.axios({
118
132
  url: uploadUrl.value,
@@ -102,6 +102,7 @@ declare const _default: {
102
102
  };
103
103
  runtime: {
104
104
  common: {
105
+ undefined: string;
105
106
  unrealized: string;
106
107
  noExplanation: string;
107
108
  };
@@ -947,6 +948,7 @@ declare const _default: {
947
948
  uploadJsonFormatErr: string;
948
949
  exportJsonFormatErr: string;
949
950
  cancelUpload: string;
951
+ compressError: string;
950
952
  };
951
953
  emojiPicker: {
952
954
  addEmoji: string;
@@ -202,7 +202,8 @@ var index = {
202
202
  upload: {
203
203
  uploadJsonFormatErr: "The configuration of uploadparams did not follow the standard JSON format",
204
204
  exportJsonFormatErr: "The configuration of exportparams did not follow the standard JSON format",
205
- cancelUpload: "Cancel Upload"
205
+ cancelUpload: "Cancel Upload",
206
+ compressError: "Image compression failed"
206
207
  },
207
208
  emojiPicker: {
208
209
  addEmoji: "Add emoji"
@@ -102,6 +102,7 @@ declare const _default: {
102
102
  };
103
103
  runtime: {
104
104
  common: {
105
+ undefined: string;
105
106
  unrealized: string;
106
107
  noExplanation: string;
107
108
  };
@@ -931,6 +932,7 @@ declare const _default: {
931
932
  uploadJsonFormatErr: string;
932
933
  exportJsonFormatErr: string;
933
934
  cancelUpload: string;
935
+ compressError: string;
934
936
  };
935
937
  emojiPicker: {
936
938
  addEmoji: string;
@@ -187,7 +187,8 @@ var index = {
187
187
  upload: {
188
188
  uploadJsonFormatErr: "\u914D\u7F6Euploadparams\u6CA1\u6709\u6309\u6807\u51C6JSON\u683C\u5F0F",
189
189
  exportJsonFormatErr: "\u914D\u7F6Eexportparams\u6CA1\u6709\u6309\u6807\u51C6JSON\u683C\u5F0F",
190
- cancelUpload: "\u53D6\u6D88\u4E0A\u4F20"
190
+ cancelUpload: "\u53D6\u6D88\u4E0A\u4F20",
191
+ compressError: "\u56FE\u7247\u538B\u7F29\u5931\u8D25"
191
192
  },
192
193
  emojiPicker: {
193
194
  addEmoji: "\u6DFB\u52A0\u8868\u60C5"
@@ -1,5 +1,5 @@
1
1
  import { commonjsGlobal } from '../../../../../../../../_virtual/_commonjsHelpers.mjs';
2
- import { __module as frameTalkClientPc$1 } from '../../../../../../../../_virtual/index12.mjs';
2
+ import { __module as frameTalkClientPc$1 } from '../../../../../../../../_virtual/index13.mjs';
3
3
 
4
4
  var frameTalkClientPc = frameTalkClientPc$1.exports;
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { commonjsGlobal } from '../../../../../../../../_virtual/_commonjsHelpers.mjs';
2
- import { __exports as middlewares } from '../../../../../../../../_virtual/index13.mjs';
2
+ import { __exports as middlewares } from '../../../../../../../../_virtual/index12.mjs';
3
3
  import '../../../../../../../../_virtual/bridge.mjs';
4
4
  import { __require as requireRetry } from './retry.mjs';
5
5
  import '../../../../../../../../_virtual/dealParamsAndResult.mjs';
@@ -27,6 +27,11 @@ const useViewStack = defineStore("viewStack", () => {
27
27
  cacheKeys: [],
28
28
  currentKey: ""
29
29
  });
30
+ const clear = () => {
31
+ viewStack.cacheKeys = [];
32
+ viewStack.currentKey = "";
33
+ viewInfoMap.clear();
34
+ };
30
35
  const updateViewInfo = (key, route) => {
31
36
  if (viewInfoMap.has(key)) {
32
37
  const info = viewInfoMap.get(key);
@@ -61,7 +66,12 @@ const useViewStack = defineStore("viewStack", () => {
61
66
  if (key === viewStack.currentKey) {
62
67
  updateViewInfo(key, to);
63
68
  } else if (viewStack.cacheKeys.includes(key)) {
64
- pop();
69
+ if (key === "/-/index/-") {
70
+ clear();
71
+ push(key, to);
72
+ } else {
73
+ pop();
74
+ }
65
75
  } else {
66
76
  push(key, to);
67
77
  }
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- var frameTalkClientPc = {exports: {}};
3
+ var middlewares = {};
4
4
 
5
- exports.__module = frameTalkClientPc;
5
+ exports.__exports = middlewares;
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- var middlewares = {};
3
+ var frameTalkClientPc = {exports: {}};
4
4
 
5
- exports.__exports = middlewares;
5
+ exports.__module = frameTalkClientPc;
@@ -49,6 +49,10 @@ const IBizActionGroup = /* @__PURE__ */ vue.defineComponent({
49
49
  });
50
50
  return visible2;
51
51
  });
52
+ const caption = vue.computed(() => {
53
+ var _a, _b;
54
+ return ((_a = props.actionDetail.refUIActionGroup) == null ? void 0 : _a.name) || ((_b = props.actionDetail.refUIActionGroup) == null ? void 0 : _b.id);
55
+ });
52
56
  const placement = vue.computed(() => {
53
57
  if (!buttonRef.value)
54
58
  return props.direction === "horizontal" ? "right" : "bottom";
@@ -119,6 +123,7 @@ const IBizActionGroup = /* @__PURE__ */ vue.defineComponent({
119
123
  return {
120
124
  ns,
121
125
  visible,
126
+ caption,
122
127
  buttonRef,
123
128
  placement,
124
129
  showPopover,
@@ -145,11 +150,15 @@ const IBizActionGroup = /* @__PURE__ */ vue.defineComponent({
145
150
  "class": this.ns.e("button"),
146
151
  "type": buttonUtil.convertBtnType(this.actionDetail.buttonStyle)
147
152
  }, {
153
+ icon: () => {
154
+ return this.actionDetail.showIcon && this.actionDetail.sysImage && vue.createVNode(vue.resolveComponent("iBizIcon"), {
155
+ "icon": this.actionDetail.sysImage
156
+ }, null);
157
+ },
148
158
  default: () => {
149
- var _a, _b;
150
159
  return [vue.createVNode("div", {
151
160
  "class": this.ns.em("button", "text")
152
- }, [((_a = this.actionDetail.refUIActionGroup) == null ? void 0 : _a.name) || ((_b = this.actionDetail.refUIActionGroup) == null ? void 0 : _b.id)]), vue.createVNode("ion-icon", {
161
+ }, [this.actionDetail.showCaption ? this.caption : ""]), vue.createVNode("ion-icon", {
153
162
  "class": this.ns.em("button", "icon"),
154
163
  "name": this.direction === "horizontal" ? "chevron-forward-outline" : "chevron-down-outline"
155
164
  }, null)];
@@ -28,24 +28,42 @@ const IBizNumberRangePicker = /* @__PURE__ */ vue.defineComponent({
28
28
  if (editorModel.editorParams.maxValue) {
29
29
  max = lodashEs.toNumber(editorModel.editorParams.maxValue);
30
30
  }
31
+ if (editorModel.editorParams.maxvalue) {
32
+ max = lodashEs.toNumber(editorModel.editorParams.maxvalue);
33
+ }
31
34
  if (editorModel.editorParams.minValue) {
32
35
  min = lodashEs.toNumber(editorModel.editorParams.minValue);
33
36
  }
37
+ if (editorModel.editorParams.minvalue) {
38
+ min = lodashEs.toNumber(editorModel.editorParams.minvalue);
39
+ }
34
40
  if (editorModel.editorParams.precision) {
35
41
  precision = lodashEs.toNumber(editorModel.editorParams.precision);
36
42
  }
37
43
  if (editorModel.editorParams.valueSeparator) {
38
44
  valueSeparator = editorModel.editorParams.valueSeparator;
39
45
  }
46
+ if (editorModel.editorParams.valueseparator) {
47
+ valueSeparator = editorModel.editorParams.valueseparator;
48
+ }
40
49
  if (editorModel.editorParams.startPlaceHolder) {
41
50
  startPlaceHolder = editorModel.editorParams.startPlaceHolder;
42
51
  }
52
+ if (editorModel.editorParams.startplaceholder) {
53
+ startPlaceHolder = editorModel.editorParams.startplaceholder;
54
+ }
43
55
  if (editorModel.editorParams.endPlaceHolder) {
44
56
  endPlaceHolder = editorModel.editorParams.endPlaceHolder;
45
57
  }
58
+ if (editorModel.editorParams.endplaceholder) {
59
+ endPlaceHolder = editorModel.editorParams.endplaceholder;
60
+ }
46
61
  if (editorModel.editorParams.rangeSeparator) {
47
62
  rangeSeparator = editorModel.editorParams.rangeSeparator;
48
63
  }
64
+ if (editorModel.editorParams.rangeseparator) {
65
+ rangeSeparator = editorModel.editorParams.rangeseparator;
66
+ }
49
67
  }
50
68
  const refFormItem = vue.ref([]);
51
69
  const editorItems = editorModel.editorItems;
@@ -22,6 +22,9 @@ const IBizRate = /* @__PURE__ */ vue.defineComponent({
22
22
  if (editorModel.editorParams.maxValue) {
23
23
  max = lodashEs.toNumber(editorModel.editorParams.maxValue);
24
24
  }
25
+ if (editorModel.editorParams.maxvalue) {
26
+ max = lodashEs.toNumber(editorModel.editorParams.maxvalue);
27
+ }
25
28
  }
26
29
  vue.watch(() => props.value, (newVal, oldVal) => {
27
30
  if (newVal !== oldVal) {
@@ -27,15 +27,24 @@ const IBizStepper = /* @__PURE__ */ vue.defineComponent({
27
27
  if (editorModel.editorParams.stepValue) {
28
28
  step = lodashEs.toNumber(editorModel.editorParams.stepValue);
29
29
  }
30
+ if (editorModel.editorParams.stepvalue) {
31
+ step = lodashEs.toNumber(editorModel.editorParams.stepvalue);
32
+ }
30
33
  if (editorModel.editorParams.precision) {
31
34
  precision = lodashEs.toNumber(editorModel.editorParams.precision);
32
35
  }
33
36
  if (editorModel.editorParams.maxValue) {
34
37
  max = lodashEs.toNumber(editorModel.editorParams.maxValue);
35
38
  }
39
+ if (editorModel.editorParams.maxvalue) {
40
+ max = lodashEs.toNumber(editorModel.editorParams.maxvalue);
41
+ }
36
42
  if (editorModel.editorParams.minValue) {
37
43
  min = lodashEs.toNumber(editorModel.editorParams.minValue);
38
44
  }
45
+ if (editorModel.editorParams.minvalue) {
46
+ min = lodashEs.toNumber(editorModel.editorParams.minvalue);
47
+ }
39
48
  }
40
49
  const handleChange = (e) => {
41
50
  if (e == props.value) {