@lingxiteam/assets 4.2.1-alpha.2 → 4.3.2-alpha.3
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/es/IconSvg/index.js +8 -7
- package/es/error/errorCatch/index.js +1 -1
- package/es/error/errorDisplay/Mobile/Drawer/Drawer.js +99 -77
- package/es/error/errorDisplay/Mobile/Drawer/index.js +26 -26
- package/es/error/errorDisplay/Mobile/ErrorMsg/index.js +127 -129
- package/es/error/errorDisplay/Mobile/Modal/Modal.js +46 -31
- package/es/error/errorDisplay/Mobile/Modal/index.js +24 -24
- package/es/error/errorDisplay/Mobile/defaultGlobalConfig.js +2 -2
- package/es/error/errorDisplay/Web/Drawer/Drawer.js +183 -145
- package/es/error/errorDisplay/Web/Drawer/DrawerConnect.js +43 -46
- package/es/error/errorDisplay/Web/Drawer/index.js +15 -15
- package/es/error/errorDisplay/Web/ErrorMsg/index.js +341 -327
- package/es/error/errorDisplay/Web/Notification/Notice.js +78 -65
- package/es/error/errorDisplay/Web/Notification/Notification.js +15 -15
- package/es/error/errorDisplay/Web/Notification/index.js +36 -38
- package/es/error/errorDisplay/Web/defaultGlobalConfig.js +2 -2
- package/es/error/errorDisplay/compUtils.js +6 -6
- package/es/error/errorDisplay/http.js +7 -7
- package/es/error/index.js +6 -6
- package/es/index.js +5 -5
- package/es/rootConfig/index.d.ts +1 -1
- package/es/rootConfig/index.js +5 -5
- package/es/rootConfig/locales/enus/config-locales-es.d.ts +2 -0
- package/es/rootConfig/locales/enus/config-locales-es.js +13 -0
- package/es/rootConfig/locales/enus/config-locales-es.mobile.d.ts +2 -0
- package/es/rootConfig/locales/enus/config-locales-es.mobile.js +106 -0
- package/es/rootConfig/locales/enus/config-locales-es.pc.d.ts +2 -0
- package/es/rootConfig/locales/enus/config-locales-es.pc.js +42 -0
- package/es/rootConfig/locales/enus/config-locales-es.todo-actionList.d.ts +2 -0
- package/es/rootConfig/locales/enus/config-locales-es.todo-actionList.js +865 -0
- package/es/rootConfig/locales/enus/config-locales-es.todo-callback.d.ts +2 -0
- package/es/rootConfig/locales/enus/config-locales-es.todo-callback.js +20 -0
- package/es/rootConfig/locales/enus/config-locales-es.todo-optionList.d.ts +2 -0
- package/es/rootConfig/locales/enus/config-locales-es.todo-optionList.js +266 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.d.ts +2 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.js +13 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.mobile.d.ts +2 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.mobile.js +57 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.pc.d.ts +2 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.pc.js +97 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.d.ts +2 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.js +583 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.todo-callback.d.ts +2 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.todo-callback.js +13 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.d.ts +2 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.js +127 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.d.ts +2 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.js +13 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.mobile.d.ts +2 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.mobile.js +106 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.pc.d.ts +2 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.pc.js +174 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.d.ts +2 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.js +869 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.todo-callback.d.ts +2 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.todo-callback.js +20 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.d.ts +2 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.js +266 -0
- package/es/rootConfig/mobile/BusiComp.d.ts +0 -1
- package/es/rootConfig/mobile/BusiComp.js +13 -10
- package/es/rootConfig/mobile/MobileModal.js +32 -27
- package/es/rootConfig/mobile/MobilePopover.d.ts +0 -2
- package/es/rootConfig/mobile/MobilePopover.js +16 -13
- package/es/rootConfig/mobile/index.js +4 -4
- package/es/rootConfig/mobile/page.d.ts +17 -2
- package/es/rootConfig/mobile/page.js +45 -38
- package/es/rootConfig/pc/BusiComp.js +82 -12
- package/es/rootConfig/pc/Drawer.d.ts +8 -9
- package/es/rootConfig/pc/Drawer.js +116 -46
- package/es/rootConfig/pc/Modal.d.ts +0 -1
- package/es/rootConfig/pc/Modal.js +90 -20
- package/es/rootConfig/pc/Popover.d.ts +0 -1
- package/es/rootConfig/pc/Popover.js +85 -15
- package/es/rootConfig/pc/index.js +5 -5
- package/es/rootConfig/pc/page.d.ts +0 -2
- package/es/rootConfig/pc/page.js +91 -22
- package/es/rootConfig/todoActionList.d.ts +1 -0
- package/es/rootConfig/todoActionList.js +1845 -719
- package/es/rootConfig/todoCallback.d.ts +12 -1
- package/es/rootConfig/todoCallback.js +175 -103
- package/es/rootConfig/todoOptionList.d.ts +0 -66
- package/es/rootConfig/todoOptionList.js +197 -198
- package/es/theme/index.js +18 -20
- package/es/theme/src/default/index.js +7 -7
- package/es/theme/utils/renderColors.js +1 -1
- package/es/utils/url.js +8 -7
- package/lib/IconSvg/index.js +10 -9
- package/lib/error/errorCatch/index.js +2 -3
- package/lib/error/errorDisplay/Mobile/Drawer/Drawer.js +99 -79
- package/lib/error/errorDisplay/Mobile/Drawer/index.js +25 -26
- package/lib/error/errorDisplay/Mobile/ErrorMsg/index.js +123 -126
- package/lib/error/errorDisplay/Mobile/Modal/Modal.js +45 -33
- package/lib/error/errorDisplay/Mobile/Modal/index.js +23 -24
- package/lib/error/errorDisplay/Mobile/defaultGlobalConfig.js +3 -5
- package/lib/error/errorDisplay/SVGstring.js +6 -12
- package/lib/error/errorDisplay/Web/Drawer/Drawer.js +181 -146
- package/lib/error/errorDisplay/Web/Drawer/DrawerConnect.js +44 -48
- package/lib/error/errorDisplay/Web/Drawer/index.js +18 -20
- package/lib/error/errorDisplay/Web/ErrorMsg/index.js +336 -324
- package/lib/error/errorDisplay/Web/Notification/Notice.js +79 -68
- package/lib/error/errorDisplay/Web/Notification/Notification.js +15 -16
- package/lib/error/errorDisplay/Web/Notification/index.js +37 -41
- package/lib/error/errorDisplay/Web/defaultGlobalConfig.js +3 -5
- package/lib/error/errorDisplay/compUtils.js +9 -12
- package/lib/error/errorDisplay/const.js +7 -13
- package/lib/error/errorDisplay/http.js +8 -9
- package/lib/index.js +3 -6
- package/lib/rootConfig/index.d.ts +1 -1
- package/lib/rootConfig/index.js +9 -3
- package/lib/rootConfig/locales/enus/config-locales-es.d.ts +2 -0
- package/lib/rootConfig/locales/enus/config-locales-es.js +19 -0
- package/lib/rootConfig/locales/enus/config-locales-es.mobile.d.ts +2 -0
- package/lib/rootConfig/locales/enus/config-locales-es.mobile.js +112 -0
- package/lib/rootConfig/locales/enus/config-locales-es.pc.d.ts +2 -0
- package/lib/rootConfig/locales/enus/config-locales-es.pc.js +48 -0
- package/lib/rootConfig/locales/enus/config-locales-es.todo-actionList.d.ts +2 -0
- package/lib/rootConfig/locales/enus/config-locales-es.todo-actionList.js +871 -0
- package/lib/rootConfig/locales/enus/config-locales-es.todo-callback.d.ts +2 -0
- package/lib/rootConfig/locales/enus/config-locales-es.todo-callback.js +26 -0
- package/lib/rootConfig/locales/enus/config-locales-es.todo-optionList.d.ts +2 -0
- package/lib/rootConfig/locales/enus/config-locales-es.todo-optionList.js +272 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.d.ts +2 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.js +19 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.mobile.d.ts +2 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.mobile.js +63 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.pc.d.ts +2 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.pc.js +103 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.d.ts +2 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.js +589 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-callback.d.ts +2 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-callback.js +19 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.d.ts +2 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.js +133 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.d.ts +2 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.js +19 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.mobile.d.ts +2 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.mobile.js +112 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.pc.d.ts +2 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.pc.js +180 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.d.ts +2 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.js +875 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-callback.d.ts +2 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-callback.js +26 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.d.ts +2 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.js +272 -0
- package/lib/rootConfig/mobile/BusiComp.d.ts +0 -1
- package/lib/rootConfig/mobile/BusiComp.js +14 -12
- package/lib/rootConfig/mobile/MobileModal.js +33 -29
- package/lib/rootConfig/mobile/MobilePopover.d.ts +0 -2
- package/lib/rootConfig/mobile/MobilePopover.js +17 -15
- package/lib/rootConfig/mobile/page.d.ts +17 -2
- package/lib/rootConfig/mobile/page.js +46 -40
- package/lib/rootConfig/pc/BusiComp.js +83 -14
- package/lib/rootConfig/pc/Drawer.d.ts +8 -9
- package/lib/rootConfig/pc/Drawer.js +117 -48
- package/lib/rootConfig/pc/Modal.d.ts +0 -1
- package/lib/rootConfig/pc/Modal.js +91 -22
- package/lib/rootConfig/pc/Popover.d.ts +0 -1
- package/lib/rootConfig/pc/Popover.js +86 -17
- package/lib/rootConfig/pc/page.d.ts +0 -2
- package/lib/rootConfig/pc/page.js +92 -24
- package/lib/rootConfig/todoActionList.d.ts +1 -0
- package/lib/rootConfig/todoActionList.js +1815 -695
- package/lib/rootConfig/todoCallback.d.ts +12 -1
- package/lib/rootConfig/todoCallback.js +182 -116
- package/lib/rootConfig/todoOptionList.d.ts +0 -66
- package/lib/rootConfig/todoOptionList.js +198 -200
- package/lib/theme/bin/default/modalWidth.js +1 -2
- package/lib/theme/index.js +19 -22
- package/lib/theme/src/default/index.js +7 -7
- package/lib/theme/utils/renderColors.js +1 -1
- package/lib/utils/cookieUtil.js +1 -2
- package/lib/utils/img.js +2 -3
- package/lib/utils/url.js +13 -16
- package/package.json +3 -4
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.todoCallbackZhHK = exports.default = void 0;
|
|
7
|
+
var todoCallbackZhHK = exports.todoCallbackZhHK = {
|
|
8
|
+
'todo.callback.form.values.description': '表單數據對象,包括:字段編碼和值',
|
|
9
|
+
'todo.callback.form.range.beginDesc': '的開始時間,',
|
|
10
|
+
'todo.callback.form.range.endDesc': '的結束時間,',
|
|
11
|
+
'todo.callback.form.range.description': '按照指定的“取值格式”進行格式化輸出',
|
|
12
|
+
'todo.callback.form.validate.failResult': '表單失敗結果',
|
|
13
|
+
'todo.callback.form.validate.failFirstError': '表單失敗結果首個錯誤信息',
|
|
14
|
+
'todo.callback.form.validate.firstError.description': '校驗失敗返回的錯誤提示信息',
|
|
15
|
+
'todo.callback.form.validate.description': '表單數據對象和失敗信息,包括:字段編碼、字段值、校驗失敗的字段編碼和錯誤提示信息',
|
|
16
|
+
'todo.callback.postObject.returnObjectPrefix': '返回對象-',
|
|
17
|
+
'todo.callback.ai.actionName': '調用智能體服務',
|
|
18
|
+
表单取值: '表單取值',
|
|
19
|
+
数据: '數據',
|
|
20
|
+
表单: '表單',
|
|
21
|
+
查询表单: '查詢表單',
|
|
22
|
+
子表单: '子表單',
|
|
23
|
+
开始时间: '開始時間',
|
|
24
|
+
结束时间: '結束時間'
|
|
25
|
+
};
|
|
26
|
+
var _default = exports.default = todoCallbackZhHK;
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.todoOptionListZhHK = exports.default = void 0;
|
|
7
|
+
var todoOptionListZhHK = exports.todoOptionListZhHK = {
|
|
8
|
+
'todo.optionList.url.label': '請求地址(URL)',
|
|
9
|
+
'todo.optionList.sqlServiceCode.label': '選擇SQL查詢服務',
|
|
10
|
+
'todo.optionList.arelStaticData.label': 'A端靜態數據',
|
|
11
|
+
'todo.optionList.zrelStaticData.label': 'Z端靜態數據',
|
|
12
|
+
'todo.optionList.custTargetVal.label': '自定義觸發值',
|
|
13
|
+
'todo.optionList.readonly.label': '編輯狀態設置',
|
|
14
|
+
'todo.optionList.bsSelectType.props.options.0.title': '唯一字段編碼',
|
|
15
|
+
'todo.optionList.startVal.props.placeholder': '請輸入YYYY-MM-DD格式的時間',
|
|
16
|
+
'todo.optionList.endVal.props.placeholder': '請輸入YYYY-MM-DD格式的時間',
|
|
17
|
+
'todo.optionList.expType.props.options.0.title': 'PDF',
|
|
18
|
+
'todo.optionList.expFileName.props.placeholder': '請輸入導出的文件名',
|
|
19
|
+
'todo.optionList.okText.label': '確認按鈕文本',
|
|
20
|
+
'todo.optionList.cancelText.label': '取消按鈕文本',
|
|
21
|
+
'todo.optionList.actionType.props.placeholder': '新增-add, 編輯-edit, 詳情-detail',
|
|
22
|
+
'todo.optionList.searchParams.label': 'url參數',
|
|
23
|
+
'todo.optionList.activeTabKey.label': 'Tab選中key',
|
|
24
|
+
'todo.optionList.downloadUrl.label': '下載鏈接地址',
|
|
25
|
+
'todo.optionList.inlineeditnow.label': '新增後啟用行內編輯',
|
|
26
|
+
'todo.optionList.fileName.label': '自定義文件名稱',
|
|
27
|
+
'todo.optionList.fileName.labelTip': '未設置文件名稱時,則為文件原本的名稱',
|
|
28
|
+
'todo.optionList.fileName.props.placeholder': '包括後綴,如: 表格.xls',
|
|
29
|
+
'todo.optionList.wechatappId.props.placeholder': '如:wx_xxxxx',
|
|
30
|
+
'todo.optionList.fileId.label': '文件ID',
|
|
31
|
+
'todo.optionList.fileId.labelTip': '文件預覽格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等 注意:如果是外部URL,有可能存在跨域現象! 注意:如果是外部URL,有可能存在跨域現象!',
|
|
32
|
+
'todo.optionList.flowUrl.label': '流程請求接口',
|
|
33
|
+
'todo.optionList.flowWorkOrderId.label': '業務工單 ID',
|
|
34
|
+
'todo.optionList.workOrderType.label': '業務工單類型',
|
|
35
|
+
'todo.optionList.flowFileId.label': '附件ID',
|
|
36
|
+
'todo.optionList.flowBtnActionType.label': '按鈕動作類型',
|
|
37
|
+
'todo.optionList.flowWorkId.label': '流程實例ID',
|
|
38
|
+
'todo.optionList.flowTabStepVisible.label': '展示流程實例圖',
|
|
39
|
+
'todo.optionList.flowTimelineVisible.label': '展示流程軌跡',
|
|
40
|
+
'todo.optionList.workItemId.label': '工單ID',
|
|
41
|
+
'todo.optionList.diagramType.label': '選擇實例圖類型',
|
|
42
|
+
'todo.optionList.diagramType.props.options.0.title': '當前流程實例圖',
|
|
43
|
+
'todo.optionList.diagramType.props.options.1.title': '指定主干流程實例圖',
|
|
44
|
+
'todo.optionList.diagramWorkOrderId.label': '業務單ID',
|
|
45
|
+
'todo.optionList.exportSheet.label': 'sheet頁設置',
|
|
46
|
+
'todo.optionList.exportSheet.props.options.0.label': 'sheet頁名稱',
|
|
47
|
+
'todo.optionList.custTplUrl.label': '指定模板地址(可選)',
|
|
48
|
+
'todo.optionList.actionTitle.props.placeholder': '請輸入動作說明',
|
|
49
|
+
'todo.optionList.sync.label': '數據加載方式',
|
|
50
|
+
'todo.optionList.setItemKey.props.placeholder': '請輸入字段名值, 必須為英文',
|
|
51
|
+
'todo.optionList.mapKey.props.placeholder': '請輸入地圖的秘鑰',
|
|
52
|
+
'todo.optionList.locationAlways.label': '是否持續定位',
|
|
53
|
+
'todo.optionList.locationOutputType.label': '定位輸出坐標系',
|
|
54
|
+
'todo.optionList.locationAddress.label': '是否需要地址信息',
|
|
55
|
+
'todo.optionList.addTransferValue.props.placeholder': '請輸入添加值,多個用英文逗號拼接,例如:1,2,3',
|
|
56
|
+
'todo.optionList.removeTransferValue.props.placeholder': '請輸入刪除值,多個用英文逗號拼接,例如:1,2,3',
|
|
57
|
+
'todo.optionList.xLineName.label': 'x軸字段名',
|
|
58
|
+
'todo.optionList.yLineName.label': 'y軸字段名',
|
|
59
|
+
'todo.optionList.donutX.label': 'x軸字段名',
|
|
60
|
+
'todo.optionList.donutY.label': 'y軸字段名',
|
|
61
|
+
'todo.optionList.mpData.props.placeholder': '格式為:[{count:xx, color:xx, label:xx},...]',
|
|
62
|
+
'todo.optionList.gcXName.label': 'x軸字段名',
|
|
63
|
+
'todo.optionList.gcLegendParams.props.placeholder': '格式為:[{label:xx(說明), value:xx(對應數據源取值字段)},...]',
|
|
64
|
+
'todo.optionList.gcData.props.placeholder': '格式為:[{name:xx, xx:xx, xx:xx, ...},...]',
|
|
65
|
+
'todo.optionList.scXName.label': 'x軸字段名',
|
|
66
|
+
'todo.optionList.scYName.label': 'y軸字段名',
|
|
67
|
+
'todo.optionList.scData.props.placeholder': '格式為:[{xx:xx, xx:xx, color:xx(需要指定顏色時設置該參數) },...]',
|
|
68
|
+
'todo.optionList.stcXName.label': 'x軸字段名',
|
|
69
|
+
'todo.optionList.stcLegendParams.props.placeholder': '格式為:[{label:xx, value:xx},...]',
|
|
70
|
+
'todo.optionList.stcData.props.placeholder': '格式為:[{xx:xx, xx:xx, ... },...]',
|
|
71
|
+
'todo.optionList.labelMapKey.label': '內容映射字段',
|
|
72
|
+
'todo.optionList.selectDescriptionKey.label': '選項描述字段',
|
|
73
|
+
'todo.optionList.selectDisabledKey.label': '選項禁用字段',
|
|
74
|
+
'todo.optionList.setSelectorDisabelItems.label': '值/索引',
|
|
75
|
+
'todo.optionList.customGroup.label': '自定義表頭模板',
|
|
76
|
+
'todo.optionList.customGroup.labelTip': '可以根據選擇的字段自定義導出模板的表頭',
|
|
77
|
+
'todo.optionList.exception.label': '導入異常配置',
|
|
78
|
+
'todo.optionList.exception.props.options.0.title': '支持部分導入',
|
|
79
|
+
'todo.optionList.modalWidth.labelTip': '不同瀏覽器有不同的最小限制,請避免設置過小尺寸,當不設置寬高時,默認為全屏',
|
|
80
|
+
'todo.optionList.modalHeight.labelTip': '不同瀏覽器有不同的最小限制,請避免設置過小尺寸,當不設置寬高時,默認為全屏',
|
|
81
|
+
'todo.optionList.rProps.label': '設置自定義組件屬性',
|
|
82
|
+
'todo.optionList.hasEventExtService.label': '需要開啟服務擴展',
|
|
83
|
+
'todo.optionList.eventExtService.label': '選擇業務場景來擴展服務',
|
|
84
|
+
'todo.optionList.tempName.label': '設置模板名稱',
|
|
85
|
+
'todo.optionList.tempName.props.placeholder': '請輸入模板名稱',
|
|
86
|
+
'todo.optionList.busiObjectId.label': '選擇業務對象',
|
|
87
|
+
'todo.optionList.showOnly.label': '只解析不入庫',
|
|
88
|
+
'todo.optionList.custFileName.label': '自定義文件名',
|
|
89
|
+
'todo.optionList.custSheetName.label': 'sheet頁名稱',
|
|
90
|
+
'todo.optionList.custUrl.props.options.serviceTabs.0.description': '此處僅展示開啟文件入參的編排服務,服務入參需包含impFile(文件類型)字段用於接收文件和param(對象類型,非必須)字段接收自定義參數',
|
|
91
|
+
'todo.optionList.custUrl.props.options.serviceTabs.1.description': '此處僅展示開啟上傳控件中使用的請求層服務,服務入參需包含impFile(文件類型)字段用於接收文件和param(對象類型,非必須)字段接收自定義參數',
|
|
92
|
+
'todo.optionList.compToPrint.label': '自定義打印區域(可選)',
|
|
93
|
+
'todo.optionList.custTpl.label': '配置導入模板',
|
|
94
|
+
'todo.optionList.returnType.labelTip': '1、值:用於數據返回,比如獲取頁面表單數據,退出後進行數據傳遞;<br />2、成功:用於成功標志返回,將觸發調用方的成功回調;<br />3、失敗:用於失敗標志返回,將觸發調用方的失敗回調。',
|
|
95
|
+
'todo.optionList.returnValue.label': '返回內容(可選)',
|
|
96
|
+
'todo.optionList.isPreventDefault.label': '中止默認動作(高級)',
|
|
97
|
+
'todo.optionList.isPreventDefault.labelTip': '指中止瀏覽器默認行為:<br />比如中止打開文件選擇器、中止文件下載等行為。',
|
|
98
|
+
'todo.optionList.isStopPropagation.label': '阻止事件冒泡(高級)',
|
|
99
|
+
'todo.optionList.isStopPropagation.labelTip': '指只觸發當前組件配置的事件:<br />比如空白容器裡放置按鈕, 空白容器和按鈕都配置點擊事件,正常點擊按鈕的時候就觸發兩個點擊事件,但阻止事件冒泡就不會執行到空白容器的點擊事件。',
|
|
100
|
+
'todo.optionList.verificationCodeUrl.label': '驗證碼圖片地址',
|
|
101
|
+
'todo.optionList.selectLabelKeyForRC.label': '顯示內容字段',
|
|
102
|
+
'todo.optionList.nodeKey.label': '操作節點key',
|
|
103
|
+
'todo.optionList.valueKey.label': '節點key取值字段',
|
|
104
|
+
'todo.optionList.titleKey.label': '節點名稱取值字段',
|
|
105
|
+
'todo.optionList.stateName.label': '自定義屬性名',
|
|
106
|
+
'todo.optionList.inlineeditrow.label': '指定行id',
|
|
107
|
+
'todo.optionList.timername.label': '定時器命名(頁面內不可重複)',
|
|
108
|
+
'todo.optionList.parentKey.label': '操作節點key',
|
|
109
|
+
'todo.optionList.dataSourceFileId.label': '文件ID',
|
|
110
|
+
'todo.optionList.dataSourceFileId.labelTip': '支持逗號分隔或者數組形式的多文件下載,如:1,2或者$[1,2]$',
|
|
111
|
+
'todo.optionList.labelKey.label': '節點名稱取值字段',
|
|
112
|
+
'todo.optionList.nodeValueKey.label': '節點key取值字段',
|
|
113
|
+
'todo.optionList.urlValueKey.label': '節點url取值字段',
|
|
114
|
+
'todo.optionList.selectable.label': '節點可選字段編碼',
|
|
115
|
+
'todo.optionList.selectable.labelTip': "適用場景:需要控制當前節點是否能夠選擇,且需後端服務有字段標識出是否可選;\n處理邏輯:當節點的字段編碼值為布爾類型的false,或者字符串類型為'false'、\n空字符串時,都認為不可選,否則認為可選。",
|
|
116
|
+
'todo.optionList.childrenKey.label': '下級列表取值字段',
|
|
117
|
+
'todo.optionList.childrenKey.labelTip': '使用場景:一次性查詢所有數據時,需要設置下一級列表數據的取值字段;\n示例說明:如下參數,當查詢所有數據,需要標記出從children字段獲取下級列表的數據;\n{\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n}',
|
|
118
|
+
'todo.optionList.selectLabelKey.label': '選項內容字段',
|
|
119
|
+
'todo.optionList.jsBridgeMethod.props.placeholder': '例如:openCamera',
|
|
120
|
+
'todo.optionList.androidWebName.label': '安卓容器名稱',
|
|
121
|
+
'todo.optionList.androidWebName.props.placeholder': '默認:Android',
|
|
122
|
+
'todo.optionList.androidSuccessFunName.label': '安卓端成功回調方法名',
|
|
123
|
+
'todo.optionList.androidSuccessFunName.props.placeholder': '例如:openCameraSuccess[用於Android成功回調H5]',
|
|
124
|
+
'todo.optionList.iOSSuccessFunName.label': 'iOS端成功回調方法名',
|
|
125
|
+
'todo.optionList.iOSSuccessFunName.props.placeholder': '例如:openCameraSuccess[用於iOS成功回調H5]',
|
|
126
|
+
'todo.optionList.androidFailFunName.label': '安卓端失敗回調方法名',
|
|
127
|
+
'todo.optionList.androidFailFunName.props.placeholder': '例如:openCameraFail[用於Android失敗的回調H5]',
|
|
128
|
+
'todo.optionList.iOSFailFunName.label': 'iOS端失敗回調方法名',
|
|
129
|
+
'todo.optionList.iOSFailFunName.props.placeholder': '例如:openCameraFail[用於iOS失敗的回調H5]',
|
|
130
|
+
'todo.optionList.selectObjectDataSource.label': '選擇業務對象數據源',
|
|
131
|
+
'todo.optionList.tripleFormId.label': '詳情id',
|
|
132
|
+
导出字段: '導出字段',
|
|
133
|
+
联动来源: '聯動來源',
|
|
134
|
+
静态数据: '靜態數據',
|
|
135
|
+
显隐设置: '顯隱設置',
|
|
136
|
+
显示: '顯示',
|
|
137
|
+
隐藏: '隱藏',
|
|
138
|
+
切换: '切換',
|
|
139
|
+
只读: '只讀',
|
|
140
|
+
启用: '啟用',
|
|
141
|
+
控制类型: '控制類型',
|
|
142
|
+
循环项索引: '循環項索引',
|
|
143
|
+
是否可编辑: '是否可編輯',
|
|
144
|
+
是: '是',
|
|
145
|
+
否: '否',
|
|
146
|
+
内容: '內容',
|
|
147
|
+
开始值: '開始值',
|
|
148
|
+
结束值: '結束值',
|
|
149
|
+
是否加载中: '是否加載中',
|
|
150
|
+
类型: '類型',
|
|
151
|
+
成功: '成功',
|
|
152
|
+
提示: '提示',
|
|
153
|
+
警告: '警告',
|
|
154
|
+
错误: '錯誤',
|
|
155
|
+
加载动画: '加載動畫',
|
|
156
|
+
加载时长: '加載時長',
|
|
157
|
+
秒: '秒',
|
|
158
|
+
索引: '索引',
|
|
159
|
+
校验类型: '校驗類型',
|
|
160
|
+
正常: '正常',
|
|
161
|
+
校验文案: '校驗文案',
|
|
162
|
+
请输入: '請輸入',
|
|
163
|
+
图片: '圖片',
|
|
164
|
+
文件名: '文件名',
|
|
165
|
+
确认: '確認',
|
|
166
|
+
路由跳转: '路由跳轉',
|
|
167
|
+
路由替换: '路由替換',
|
|
168
|
+
定时器类型: '定時器類型',
|
|
169
|
+
单次定时器: '單次定時器',
|
|
170
|
+
循环定时器: '循環定時器',
|
|
171
|
+
标题: '標題',
|
|
172
|
+
参数赋值: '參數賦值',
|
|
173
|
+
参数: '參數',
|
|
174
|
+
表单类型: '表單類型',
|
|
175
|
+
页面: '頁面',
|
|
176
|
+
路由数据: '路由數據',
|
|
177
|
+
弹窗: '彈窗',
|
|
178
|
+
推拉门: '推拉門',
|
|
179
|
+
组件状态: '組件狀態',
|
|
180
|
+
上传参数: '上傳參數',
|
|
181
|
+
状态设置: '狀態設置',
|
|
182
|
+
启动: '啟動',
|
|
183
|
+
禁用: '禁用',
|
|
184
|
+
必填设置: '必填設置',
|
|
185
|
+
必填: '必填',
|
|
186
|
+
非必填: '非必填',
|
|
187
|
+
更新参数: '更新參數',
|
|
188
|
+
总条数: '總條數',
|
|
189
|
+
数据源: '數據源',
|
|
190
|
+
页码字段名: '頁碼字段名',
|
|
191
|
+
流程类型: '流程類型',
|
|
192
|
+
通过: '通過',
|
|
193
|
+
拒绝: '拒絕',
|
|
194
|
+
转派: '轉派',
|
|
195
|
+
通用: '通用',
|
|
196
|
+
选择流程: '選擇流程',
|
|
197
|
+
审核意见: '審核意見',
|
|
198
|
+
指定处理人: '指定處理人',
|
|
199
|
+
自定义参数: '自定義參數',
|
|
200
|
+
目标环节: '目標環節',
|
|
201
|
+
字段数据: '字段數據',
|
|
202
|
+
字段编码: '字段編碼',
|
|
203
|
+
字段名称: '字段名稱',
|
|
204
|
+
数据来源: '數據來源',
|
|
205
|
+
查询条件: '查詢條件',
|
|
206
|
+
文件类型: '文件類型',
|
|
207
|
+
修改名称: '修改名稱',
|
|
208
|
+
请输入名称: '請輸入名稱',
|
|
209
|
+
修改图标: '修改圖標',
|
|
210
|
+
请选择图标: '請選擇圖標',
|
|
211
|
+
自定义内容: '自定義內容',
|
|
212
|
+
动作说明: '動作說明',
|
|
213
|
+
异步加载: '異步加載',
|
|
214
|
+
同步加载: '同步加載',
|
|
215
|
+
地图秘钥: '地圖秘鑰',
|
|
216
|
+
大地坐标系: '大地坐標系',
|
|
217
|
+
火星坐标系: '火星坐標系',
|
|
218
|
+
百度坐标系: '百度坐標系',
|
|
219
|
+
表头数据: '表頭數據',
|
|
220
|
+
表格数据: '表格數據',
|
|
221
|
+
是否收缩: '是否收縮',
|
|
222
|
+
缩起: '縮起',
|
|
223
|
+
展开: '展開',
|
|
224
|
+
当前数量: '當前數量',
|
|
225
|
+
总数量: '總數量',
|
|
226
|
+
右侧文字: '右側文字',
|
|
227
|
+
总数据: '總數據',
|
|
228
|
+
图例内容: '圖例內容',
|
|
229
|
+
值映射字段: '值映射字段',
|
|
230
|
+
播放: '播放',
|
|
231
|
+
暂停: '暫停',
|
|
232
|
+
预览方式: '預覽方式',
|
|
233
|
+
页面弹窗: '頁面彈窗',
|
|
234
|
+
标签页: '標簽頁',
|
|
235
|
+
新窗口: '新窗口',
|
|
236
|
+
窗口宽度: '窗口寬度',
|
|
237
|
+
窗口高度: '窗口高度',
|
|
238
|
+
筛选字段: '篩選字段',
|
|
239
|
+
类名称: '類名稱',
|
|
240
|
+
函数名称: '函數名稱',
|
|
241
|
+
自定义入参: '自定義入參',
|
|
242
|
+
组件赋值: '組件賦值',
|
|
243
|
+
自定义事件: '自定義事件',
|
|
244
|
+
事件入参: '事件入參',
|
|
245
|
+
导入服务: '導入服務',
|
|
246
|
+
返回类型: '返回類型',
|
|
247
|
+
值: '值',
|
|
248
|
+
失败: '失敗',
|
|
249
|
+
显示值字段: '顯示值字段',
|
|
250
|
+
更新页码: '更新頁碼',
|
|
251
|
+
翻译字段: '翻譯字段',
|
|
252
|
+
字段: '字段',
|
|
253
|
+
时间间隔: '時間間隔',
|
|
254
|
+
毫秒: '毫秒',
|
|
255
|
+
定时器名称: '定時器名稱',
|
|
256
|
+
回调: '回調',
|
|
257
|
+
当前步骤: '當前步驟',
|
|
258
|
+
组件选择: '組件選擇',
|
|
259
|
+
选项值字段: '選項值字段',
|
|
260
|
+
方法名: '方法名',
|
|
261
|
+
选择场景: '選擇場景',
|
|
262
|
+
选择数据源: '選擇數據源',
|
|
263
|
+
方法: '方法',
|
|
264
|
+
数据源赋值: '數據源賦值',
|
|
265
|
+
赋值范围: '賦值範圍',
|
|
266
|
+
局部赋值: '局部賦值',
|
|
267
|
+
全部赋值: '全部賦值',
|
|
268
|
+
发送内容: '發送內容',
|
|
269
|
+
发送目标源: '發送目標源',
|
|
270
|
+
复制内容: '複制內容'
|
|
271
|
+
};
|
|
272
|
+
var _default = exports.default = todoOptionListZhHK;
|
|
@@ -10,17 +10,21 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
|
|
|
10
10
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
11
11
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
12
12
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
13
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
14
|
-
var
|
|
13
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
|
+
var BUSICOMP_LOCALE_PREFIX = 'mobile.busiComp';
|
|
15
|
+
var localeKey = function localeKey(suffix) {
|
|
16
|
+
return "".concat(BUSICOMP_LOCALE_PREFIX, ".").concat(suffix);
|
|
17
|
+
};
|
|
18
|
+
var _default = exports.default = {
|
|
15
19
|
compLib: 'root',
|
|
16
20
|
compType: -1,
|
|
21
|
+
// 根节点
|
|
17
22
|
isBusiObjContainer: false,
|
|
18
23
|
isContainer: false,
|
|
19
24
|
label: '业务组件',
|
|
20
25
|
props: {
|
|
21
26
|
objType: 'app',
|
|
22
27
|
catalogItemId: -1,
|
|
23
|
-
layout: 'BaseLayout',
|
|
24
28
|
searchParams: [{
|
|
25
29
|
name: '业务主键',
|
|
26
30
|
code: 'bizId'
|
|
@@ -44,9 +48,9 @@ var _default = {
|
|
|
44
48
|
label: '文件预览',
|
|
45
49
|
todoOptions: [{
|
|
46
50
|
key: 'fileId',
|
|
47
|
-
label: '
|
|
51
|
+
label: localeKey('todoActionList.previewFile.todoOptions.fileId.label'),
|
|
48
52
|
type: 'SetExpression',
|
|
49
|
-
labelTip: '
|
|
53
|
+
labelTip: localeKey('todoActionList.previewFile.todoOptions.fileId.labelTip')
|
|
50
54
|
}],
|
|
51
55
|
classification: [{
|
|
52
56
|
label: '页面类',
|
|
@@ -54,7 +58,7 @@ var _default = {
|
|
|
54
58
|
}]
|
|
55
59
|
}, {
|
|
56
60
|
key: 'callNotStatedCustomFunc',
|
|
57
|
-
label: '
|
|
61
|
+
label: localeKey('todoActionList.callNotStatedCustomFunc.label'),
|
|
58
62
|
todoOptions: [{
|
|
59
63
|
key: 'funcName',
|
|
60
64
|
label: '事件',
|
|
@@ -79,16 +83,16 @@ var _default = {
|
|
|
79
83
|
}],
|
|
80
84
|
// remarks: [{
|
|
81
85
|
// label: '注意事项',
|
|
82
|
-
// content: '
|
|
86
|
+
// content: localeKey('todoActionList.callNotStatedCustomFunc.remarks.0.content'),
|
|
83
87
|
// }],
|
|
84
88
|
isAsync: true
|
|
85
89
|
}]),
|
|
86
90
|
todoEvents: [{
|
|
87
91
|
value: 'onLoaded',
|
|
88
|
-
label: '
|
|
92
|
+
label: localeKey('todoEvents.onLoaded.label')
|
|
89
93
|
}, {
|
|
90
94
|
value: 'useEffect',
|
|
91
|
-
label: '
|
|
95
|
+
label: localeKey('todoEvents.useEffect.label')
|
|
92
96
|
}, {
|
|
93
97
|
value: 'willUnmount',
|
|
94
98
|
label: '组件卸载'
|
|
@@ -145,7 +149,5 @@ var _default = {
|
|
|
145
149
|
// groupsName: '基础',
|
|
146
150
|
// },
|
|
147
151
|
},
|
|
148
|
-
|
|
149
152
|
todoStyles: {}
|
|
150
|
-
};
|
|
151
|
-
exports.default = _default;
|
|
153
|
+
};
|
|
@@ -10,10 +10,15 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
|
|
|
10
10
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
11
11
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
12
12
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
13
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
14
|
-
var
|
|
13
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
|
+
var MOBILE_MODAL_LOCALE_PREFIX = 'mobile.modal';
|
|
15
|
+
var localeKey = function localeKey(suffix) {
|
|
16
|
+
return "".concat(MOBILE_MODAL_LOCALE_PREFIX, ".").concat(suffix);
|
|
17
|
+
};
|
|
18
|
+
var _default = exports.default = {
|
|
15
19
|
compLib: 'root',
|
|
16
20
|
compType: -1,
|
|
21
|
+
// 根节点
|
|
17
22
|
isBusiObjContainer: false,
|
|
18
23
|
isContainer: false,
|
|
19
24
|
label: '弹窗',
|
|
@@ -46,9 +51,9 @@ var _default = {
|
|
|
46
51
|
label: '文件预览',
|
|
47
52
|
todoOptions: [{
|
|
48
53
|
key: 'fileId',
|
|
49
|
-
label: '
|
|
54
|
+
label: localeKey('todoActionList.previewFile.todoOptions.fileId.label'),
|
|
50
55
|
type: 'SetExpression',
|
|
51
|
-
labelTip: '
|
|
56
|
+
labelTip: localeKey('todoActionList.previewFile.todoOptions.fileId.labelTip')
|
|
52
57
|
}],
|
|
53
58
|
classification: [{
|
|
54
59
|
label: '页面类',
|
|
@@ -60,16 +65,16 @@ var _default = {
|
|
|
60
65
|
label: '弹窗打开后'
|
|
61
66
|
}, {
|
|
62
67
|
value: 'stateChange',
|
|
63
|
-
label: '
|
|
68
|
+
label: localeKey('todoEvents.stateChange.label')
|
|
64
69
|
}, {
|
|
65
70
|
value: 'usePageEndRequest',
|
|
66
|
-
label: '
|
|
71
|
+
label: localeKey('todoEvents.usePageEndRequest.label'),
|
|
67
72
|
remarks: [{
|
|
68
73
|
label: '场景描述',
|
|
69
|
-
content: '
|
|
74
|
+
content: localeKey('todoEvents.usePageEndRequest.remarks.0.content')
|
|
70
75
|
}, {
|
|
71
|
-
label: '
|
|
72
|
-
content: '
|
|
76
|
+
label: '适用场景',
|
|
77
|
+
content: localeKey('todoEvents.usePageEndRequest.remarks.1.content')
|
|
73
78
|
}]
|
|
74
79
|
}],
|
|
75
80
|
todoProps: {
|
|
@@ -87,11 +92,11 @@ var _default = {
|
|
|
87
92
|
groupsName: '基础',
|
|
88
93
|
props: {
|
|
89
94
|
required: true,
|
|
90
|
-
placeholder: '
|
|
95
|
+
placeholder: localeKey('todoProps.pagePath.props.placeholder'),
|
|
91
96
|
regex: {
|
|
92
97
|
// eslint-disable-next-line
|
|
93
98
|
pattern: /^(\/[0-9A-Za-z]([_-]+[0-9A-Za-z]|[0-9A-Za-z])*)+$/i,
|
|
94
|
-
message: '
|
|
99
|
+
message: localeKey('todoProps.pagePath.props.regex.message')
|
|
95
100
|
}
|
|
96
101
|
}
|
|
97
102
|
},
|
|
@@ -116,24 +121,24 @@ var _default = {
|
|
|
116
121
|
}
|
|
117
122
|
},
|
|
118
123
|
mode: {
|
|
119
|
-
label: '
|
|
124
|
+
label: '显示模式',
|
|
120
125
|
type: 'Select',
|
|
121
126
|
groupsName: '基础',
|
|
122
127
|
props: {
|
|
123
128
|
options: [{
|
|
124
|
-
title: '
|
|
129
|
+
title: '弹窗',
|
|
125
130
|
value: 'alert'
|
|
126
131
|
}, {
|
|
127
|
-
title: '
|
|
132
|
+
title: '浮层',
|
|
128
133
|
value: 'popup'
|
|
129
134
|
}, {
|
|
130
|
-
title: '
|
|
135
|
+
title: '下拉',
|
|
131
136
|
value: 'dropdown'
|
|
132
137
|
}, {
|
|
133
|
-
title: '
|
|
138
|
+
title: '从左侧滑出',
|
|
134
139
|
value: 'sliderLeft'
|
|
135
140
|
}, {
|
|
136
|
-
title: '
|
|
141
|
+
title: '从右侧滑出',
|
|
137
142
|
value: 'sliderRight'
|
|
138
143
|
}]
|
|
139
144
|
}
|
|
@@ -147,13 +152,13 @@ var _default = {
|
|
|
147
152
|
mode: ['alert', 'sliderLeft', 'sliderRight']
|
|
148
153
|
},
|
|
149
154
|
option: [{
|
|
150
|
-
label: '
|
|
155
|
+
label: localeKey('todoProps.width.props.option.0.label'),
|
|
151
156
|
value: 'px'
|
|
152
157
|
}, {
|
|
153
|
-
label: '
|
|
158
|
+
label: localeKey('todoProps.width.props.option.1.label'),
|
|
154
159
|
value: '%'
|
|
155
160
|
}, {
|
|
156
|
-
label: '
|
|
161
|
+
label: localeKey('todoProps.width.props.option.2.label'),
|
|
157
162
|
value: 'vw'
|
|
158
163
|
}]
|
|
159
164
|
}
|
|
@@ -167,13 +172,13 @@ var _default = {
|
|
|
167
172
|
mode: ['alert', 'popup', 'dropdown']
|
|
168
173
|
},
|
|
169
174
|
option: [{
|
|
170
|
-
label: '
|
|
175
|
+
label: localeKey('todoProps.height.props.option.0.label'),
|
|
171
176
|
value: 'px'
|
|
172
177
|
}, {
|
|
173
|
-
label: '
|
|
178
|
+
label: localeKey('todoProps.height.props.option.1.label'),
|
|
174
179
|
value: '%'
|
|
175
180
|
}, {
|
|
176
|
-
label: '
|
|
181
|
+
label: localeKey('todoProps.height.props.option.2.label'),
|
|
177
182
|
value: 'vh'
|
|
178
183
|
}]
|
|
179
184
|
}
|
|
@@ -185,21 +190,21 @@ var _default = {
|
|
|
185
190
|
props: {
|
|
186
191
|
inhibitBtn: true,
|
|
187
192
|
options: [{
|
|
188
|
-
title: '
|
|
193
|
+
title: localeKey('todoProps.closeOnClickOverlay.props.options.0.title'),
|
|
189
194
|
value: true
|
|
190
195
|
}, {
|
|
191
|
-
title: '
|
|
196
|
+
title: localeKey('todoProps.closeOnClickOverlay.props.options.1.title'),
|
|
192
197
|
value: false
|
|
193
198
|
}]
|
|
194
199
|
}
|
|
195
200
|
},
|
|
196
201
|
destroyOnClose: {
|
|
197
|
-
label: '
|
|
202
|
+
label: '关闭后销毁',
|
|
198
203
|
type: 'Switch',
|
|
199
204
|
groupsName: '基础'
|
|
200
205
|
},
|
|
201
206
|
showCloseButton: {
|
|
202
|
-
label: '
|
|
207
|
+
label: localeKey('todoProps.showCloseButton.label'),
|
|
203
208
|
type: 'Switch',
|
|
204
209
|
groupsName: '基础'
|
|
205
210
|
},
|
|
@@ -221,5 +226,4 @@ var _default = {
|
|
|
221
226
|
}
|
|
222
227
|
},
|
|
223
228
|
todoStyles: {}
|
|
224
|
-
};
|
|
225
|
-
exports.default = _default;
|
|
229
|
+
};
|
|
@@ -10,19 +10,22 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
|
|
|
10
10
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
11
11
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
12
12
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
13
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
14
|
-
var
|
|
13
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
|
+
var MOBILE_POPOVER_LOCALE_PREFIX = 'mobile.popover';
|
|
15
|
+
var localeKey = function localeKey(suffix) {
|
|
16
|
+
return "".concat(MOBILE_POPOVER_LOCALE_PREFIX, ".").concat(suffix);
|
|
17
|
+
};
|
|
18
|
+
var _default = exports.default = {
|
|
15
19
|
compLib: 'root',
|
|
16
20
|
compType: -1,
|
|
21
|
+
// 根节点
|
|
17
22
|
isBusiObjContainer: false,
|
|
18
23
|
isContainer: false,
|
|
19
|
-
label: '
|
|
24
|
+
label: '浮窗',
|
|
20
25
|
props: {
|
|
21
|
-
pageLayout: 'BaseLayout',
|
|
22
26
|
pageDynamicFlag: false,
|
|
23
27
|
catalogItemId: -1,
|
|
24
28
|
ignoreLogin: false,
|
|
25
|
-
layout: 'BaseLayout',
|
|
26
29
|
searchParams: [{
|
|
27
30
|
name: '业务主键',
|
|
28
31
|
code: 'bizId'
|
|
@@ -46,9 +49,9 @@ var _default = {
|
|
|
46
49
|
label: '文件预览',
|
|
47
50
|
todoOptions: [{
|
|
48
51
|
key: 'fileId',
|
|
49
|
-
label: '
|
|
52
|
+
label: localeKey('todoActionList.previewFile.todoOptions.fileId.label'),
|
|
50
53
|
type: 'SetExpression',
|
|
51
|
-
labelTip: '
|
|
54
|
+
labelTip: localeKey('todoActionList.previewFile.todoOptions.fileId.labelTip')
|
|
52
55
|
}],
|
|
53
56
|
classification: [{
|
|
54
57
|
label: '页面类',
|
|
@@ -57,16 +60,16 @@ var _default = {
|
|
|
57
60
|
}]),
|
|
58
61
|
todoEvents: [{
|
|
59
62
|
value: 'stateChange',
|
|
60
|
-
label: '
|
|
63
|
+
label: localeKey('todoEvents.stateChange.label')
|
|
61
64
|
}, {
|
|
62
65
|
value: 'usePageEndRequest',
|
|
63
|
-
label: '
|
|
66
|
+
label: localeKey('todoEvents.usePageEndRequest.label'),
|
|
64
67
|
remarks: [{
|
|
65
68
|
label: '场景描述',
|
|
66
|
-
content: '
|
|
69
|
+
content: localeKey('todoEvents.usePageEndRequest.remarks.0.content')
|
|
67
70
|
}, {
|
|
68
71
|
label: '适用场景',
|
|
69
|
-
content: '
|
|
72
|
+
content: localeKey('todoEvents.usePageEndRequest.remarks.1.content')
|
|
70
73
|
}]
|
|
71
74
|
}],
|
|
72
75
|
todoProps: {
|
|
@@ -84,11 +87,11 @@ var _default = {
|
|
|
84
87
|
groupsName: '基础',
|
|
85
88
|
props: {
|
|
86
89
|
required: true,
|
|
87
|
-
placeholder: '
|
|
90
|
+
placeholder: localeKey('todoProps.pagePath.props.placeholder'),
|
|
88
91
|
regex: {
|
|
89
92
|
// eslint-disable-next-line
|
|
90
93
|
pattern: /^(\/[0-9A-Za-z]([_-]+[0-9A-Za-z]|[0-9A-Za-z])*)+$/i,
|
|
91
|
-
message: '
|
|
94
|
+
message: localeKey('todoProps.pagePath.props.regex.message')
|
|
92
95
|
}
|
|
93
96
|
}
|
|
94
97
|
},
|
|
@@ -128,5 +131,4 @@ var _default = {
|
|
|
128
131
|
}
|
|
129
132
|
},
|
|
130
133
|
todoStyles: {}
|
|
131
|
-
};
|
|
132
|
-
exports.default = _default;
|
|
134
|
+
};
|