ngx-rs-ant 1.2.5 → 1.2.6
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/box-container/box-container.component.d.ts +1 -1
- package/camunda-bpmn-editor/custom/config/CustomPropertiesProvider.d.ts +2 -1
- package/camunda-bpmn-editor/custom/config/util/ElementUtils.d.ts +1 -0
- package/data-detail/data-detail.component.d.ts +2 -1
- package/dynamic-params/dynamic-params.component.d.ts +2 -1
- package/esm2020/box-container/PluginManager.mjs +2 -2
- package/esm2020/box-container/box-container.component.mjs +4 -2
- package/esm2020/camunda-bpmn-editor/custom/config/CustomPropertiesProvider.mjs +15 -12
- package/esm2020/camunda-bpmn-editor/custom/config/properties/DescriptionProps.mjs +5 -4
- package/esm2020/camunda-bpmn-editor/custom/config/util/ElementUtils.mjs +31 -0
- package/esm2020/camunda-bpmn-editor/custom/translate/translations.mjs +266 -256
- package/esm2020/data-detail/data-detail.component.mjs +4 -2
- package/esm2020/dynamic-params/dynamic-params.component.mjs +8 -3
- package/esm2020/form/form.component.mjs +5 -3
- package/fesm2015/ngx-rs-ant.mjs +330 -276
- package/fesm2015/ngx-rs-ant.mjs.map +1 -1
- package/fesm2020/ngx-rs-ant.mjs +330 -276
- package/fesm2020/ngx-rs-ant.mjs.map +1 -1
- package/form/form.component.d.ts +2 -1
- package/package.json +1 -1
package/fesm2015/ngx-rs-ant.mjs
CHANGED
|
@@ -275,7 +275,7 @@ class PluginManager {
|
|
|
275
275
|
if (boxItem.boxContainer.readonly) {
|
|
276
276
|
instance.readonly = true;
|
|
277
277
|
}
|
|
278
|
-
instance.
|
|
278
|
+
instance.params = boxItem.boxContainer.params;
|
|
279
279
|
instance.tabViewContainerRef = boxItem.boxContainer.tabViewContainerRef;
|
|
280
280
|
if (boxItem.boxContainer.editMode) {
|
|
281
281
|
instance.onRemove = () => {
|
|
@@ -783,7 +783,7 @@ class BoxContainerComponent {
|
|
|
783
783
|
}
|
|
784
784
|
}
|
|
785
785
|
BoxContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BoxContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
786
|
-
BoxContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: BoxContainerComponent, selector: "rs-box-container", inputs: { config: "config", model: "model", readonly: "readonly" }, viewQueries: [{ propertyName: "boxContainerContent", first: true, predicate: ["boxContainerContent"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container #boxContainerContent></ng-container>\n", styles: [":host{flex:1;position:relative;display:flex;flex-flow:row nowrap}\n"] });
|
|
786
|
+
BoxContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: BoxContainerComponent, selector: "rs-box-container", inputs: { config: "config", model: "model", params: "params", readonly: "readonly" }, viewQueries: [{ propertyName: "boxContainerContent", first: true, predicate: ["boxContainerContent"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container #boxContainerContent></ng-container>\n", styles: [":host{flex:1;position:relative;display:flex;flex-flow:row nowrap}\n"] });
|
|
787
787
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BoxContainerComponent, decorators: [{
|
|
788
788
|
type: Component,
|
|
789
789
|
args: [{ selector: 'rs-box-container', template: "<ng-container #boxContainerContent></ng-container>\n", styles: [":host{flex:1;position:relative;display:flex;flex-flow:row nowrap}\n"] }]
|
|
@@ -791,6 +791,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
791
791
|
type: Input
|
|
792
792
|
}], model: [{
|
|
793
793
|
type: Input
|
|
794
|
+
}], params: [{
|
|
795
|
+
type: Input
|
|
794
796
|
}], readonly: [{
|
|
795
797
|
type: Input
|
|
796
798
|
}], boxContainerContent: [{
|
|
@@ -852,269 +854,279 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
852
854
|
}] });
|
|
853
855
|
|
|
854
856
|
const translations = {
|
|
855
|
-
'Change element': '',
|
|
856
|
-
// Labels
|
|
857
|
-
'Activate the global connect tool': '激活全局连接工具',
|
|
858
|
-
'Append {type}': '追加{type}',
|
|
859
|
-
'Add Lane above': '添加上面泳道',
|
|
860
|
-
'Divide into two Lanes': '拆分两个泳道',
|
|
861
|
-
'Divide into three Lanes': '拆分三个泳道',
|
|
862
|
-
'Add Lane below': '添下面泳道',
|
|
863
|
-
'Append compensation activity': '追加补偿活动',
|
|
864
|
-
'Change type': '改变节点类型',
|
|
865
|
-
'Connect using Association': '使用关联连接',
|
|
866
|
-
'Connect using Sequence/MessageFlow or Association': '使用序列/消息流或关联连接',
|
|
867
|
-
'Connect using DataInputAssociation': '使用数据输入关联连接',
|
|
868
|
-
'Remove': '删除',
|
|
869
857
|
'Activate the hand tool': '激活拖拽工具',
|
|
870
858
|
'Activate the lasso tool': '激活框选工具',
|
|
871
859
|
'Activate the create/remove space tool': '激活空间移动工具',
|
|
872
|
-
'
|
|
873
|
-
'Create IntermediateThrowEvent/BoundaryEvent': '创建中间事件或边界事件',
|
|
874
|
-
// 'Create Pool/Participant': '创建者或参与者',
|
|
875
|
-
'Parallel Multi Instance': '并行多实例',
|
|
876
|
-
'Sequential Multi Instance': '顺序多重实例',
|
|
877
|
-
'Loop': '循环',
|
|
878
|
-
'Ad-hoc': '特别指定',
|
|
879
|
-
'Create {type}': '创建{type}',
|
|
880
|
-
'Task': '任务',
|
|
881
|
-
'Send Task': '发送任务',
|
|
882
|
-
'Receive Task': '接收任务',
|
|
883
|
-
'User Task': '用户任务',
|
|
884
|
-
'Manual Task': '手工任务',
|
|
885
|
-
'Business Rule Task': '作业规则任务',
|
|
886
|
-
'Service Task': '服务任务',
|
|
887
|
-
'Script Task': '脚本任务',
|
|
888
|
-
'Call Activity': '调用活动',
|
|
889
|
-
'Sub Process (collapsed)': '子过程(折叠)',
|
|
890
|
-
'Sub Process (expanded)': '子过程(展开)',
|
|
891
|
-
'Start Event': '开始事件',
|
|
892
|
-
'Intermediate Throw Event': '抛出事件',
|
|
893
|
-
'End Event': '结束事件',
|
|
894
|
-
'Message Start Event': '消息开始事件',
|
|
895
|
-
'Timer Start Event': '时间开始事件',
|
|
896
|
-
'Conditional Start Event': '条件开始事件',
|
|
897
|
-
'Signal Start Event': '信号开始事件',
|
|
898
|
-
'Error Start Event': '错误开始事件',
|
|
899
|
-
'Escalation Start Event': '升级开始事件',
|
|
900
|
-
'Compensation Start Event': '补偿开始事件',
|
|
901
|
-
'Message Start Event (non-interrupting)': '消息开始事件(不中断)',
|
|
902
|
-
'Timer Start Event (non-interrupting)': '定时开始事件(不中断)',
|
|
903
|
-
'Conditional Start Event (non-interrupting)': '条件开始事件(不中断)',
|
|
904
|
-
'Signal Start Event (non-interrupting)': '信号开始事件(不中断)',
|
|
905
|
-
'Escalation Start Event (non-interrupting)': '升级开始事件(不中断)',
|
|
906
|
-
'Message Intermediate Catch Event': '信息捕获事件',
|
|
907
|
-
'Message Intermediate Throw Event': '信息抛出事件',
|
|
908
|
-
'Timer Intermediate Catch Event': '定时器捕获事件',
|
|
909
|
-
'Escalation Intermediate Throw Event': '升级抛出事件',
|
|
910
|
-
'Conditional Intermediate Catch Event': '条件捕获事件',
|
|
911
|
-
'Link Intermediate Catch Event': '链接捕获事件',
|
|
912
|
-
'Link Intermediate Throw Event': '链接抛出事件',
|
|
913
|
-
'Compensation Intermediate Throw Event': '补偿抛出事件',
|
|
914
|
-
'Signal Intermediate Catch Event': '信号捕获事件',
|
|
915
|
-
'Signal Intermediate Throw Event': '信号抛出事件',
|
|
916
|
-
'Message End Event': '消息结束事件',
|
|
917
|
-
'Escalation End Event': '升级结束事件',
|
|
918
|
-
'Error End Event': '错误结束事件',
|
|
919
|
-
'Cancel End Event': '取消结束事件',
|
|
920
|
-
'Compensation End Event': '补偿结束事件',
|
|
921
|
-
'Signal End Event': '信号结束事件',
|
|
922
|
-
'Terminate End Event': '终止结束事件',
|
|
923
|
-
'Message Boundary Event': '消息边界事件',
|
|
924
|
-
'Message Boundary Event (non-interrupting)': '消息边界事件(非中断)',
|
|
925
|
-
'Timer Boundary Event': '定时边界事件',
|
|
926
|
-
'Timer Boundary Event (non-interrupting)': '定时边界事件(非中断)',
|
|
927
|
-
'Escalation Boundary Event': '升级边界事件',
|
|
928
|
-
'Escalation Boundary Event (non-interrupting)': '升级边界事件(非中断)',
|
|
929
|
-
'Conditional Boundary Event': '有条件的边界事件',
|
|
930
|
-
'Conditional Boundary Event (non-interrupting)': '条件边界事件(非中断)',
|
|
931
|
-
'Error Boundary Event': '错误边界事件',
|
|
932
|
-
'Cancel Boundary Event': '取消边界事件',
|
|
933
|
-
'Signal Boundary Event': '信号边界事件',
|
|
934
|
-
'Signal Boundary Event (non-interrupting)': '信号边界事件(非中断)',
|
|
935
|
-
'Compensation Boundary Event': '补偿边界事件',
|
|
936
|
-
'Exclusive': '排他',
|
|
937
|
-
'Exclusive Gateway': '互斥网关',
|
|
938
|
-
'Parallel Gateway': '并行网关',
|
|
939
|
-
'Inclusive Gateway': '相容网关',
|
|
940
|
-
'Complex Gateway': '复杂网关',
|
|
941
|
-
'Event based Gateway': '事件网关',
|
|
942
|
-
'Transaction': '交换',
|
|
943
|
-
'Sub Process': '子流程',
|
|
944
|
-
'Event Sub Process': '事件子流程',
|
|
945
|
-
'Empty Pool (removes content)': '清空泳池(删除内容)',
|
|
946
|
-
'Collapsed Pool': '合并泳池',
|
|
947
|
-
'Expanded Pool': '扩展泳池',
|
|
948
|
-
// flow
|
|
949
|
-
'Default Flow': '默认流向',
|
|
950
|
-
'Sequence Flow': '顺序流向',
|
|
951
|
-
'Conditional Flow': '条件流向',
|
|
952
|
-
// Errors
|
|
953
|
-
'no parent for {element} in {parent}': '在{parent}中的{element}没有父元素',
|
|
954
|
-
'no shape type specified': '没有指定的形状类型',
|
|
955
|
-
'flow elements must be children of pools/participants': '流动元素必须是游泳池/参与者',
|
|
956
|
-
'out of bounds release': '跨界界释放',
|
|
957
|
-
'more than {count} child lanes': '超出{count}分支',
|
|
958
|
-
'element required': '被请求元素',
|
|
959
|
-
'diagram not part of bpmn': '图在bpmn中',
|
|
960
|
-
'no diagram to display': '没有图表来显示',
|
|
961
|
-
'no process or collaboration to display': '没有流程或协作显示',
|
|
962
|
-
'element {element} referenced by {referenced}#{property} not yet drawn': '元素{element}在{referenced}#{property}的引用还没有绘制',
|
|
963
|
-
'already rendered {element}': '已经提供{element}',
|
|
964
|
-
'failed to import {element}': '元素导入失败{element}',
|
|
965
|
-
'ID must not be empty.': 'ID不能为空!',
|
|
966
|
-
'ID must be a valid QName.': '无效的ID输入!',
|
|
967
|
-
// message
|
|
968
|
-
'This maps to the process definition key.': '映射流程定义的Key。',
|
|
969
|
-
'This maps to the task definition key.': '映射任务定义的Key。',
|
|
970
|
-
'Specify more than one group as a comma separated list.': '多于一个组时为逗号分隔的列表。',
|
|
971
|
-
'Specify more than one user as a comma separated list.': '多于一个用户时为逗号分隔的列表。',
|
|
972
|
-
'Must provide either loop cardinality or collection': '必须提供循环基数或集合',
|
|
973
|
-
'Available process variables, identified in the diagram.': '可用的过程变量,如图中所示。',
|
|
974
|
-
'No variables found.': '未找到变量。',
|
|
975
|
-
'General': '基本属性',
|
|
976
|
-
'Documentation': '备注',
|
|
977
|
-
'Element documentation': '元素备注',
|
|
978
|
-
'Executable': '可执行',
|
|
979
|
-
'Process Documentation': '过程说明',
|
|
980
|
-
'': '无',
|
|
981
|
-
'Listeners': '监听器',
|
|
982
|
-
'Execution Listener': '扩展监听器',
|
|
983
|
-
'Extensions': '扩展',
|
|
984
|
-
'Properties': '属性',
|
|
985
|
-
'Add Property': '添加属性',
|
|
986
|
-
'Process Id': '流程标识',
|
|
987
|
-
'Process Name': '流程名称',
|
|
988
|
-
'Participant Id': '参与者标识',
|
|
989
|
-
'Participant Name': '参与者名称',
|
|
990
|
-
'Name': '名称',
|
|
991
|
-
'Id': '标识',
|
|
992
|
-
'ID': '标识',
|
|
993
|
-
'Value': '值',
|
|
994
|
-
'Version Tag': '版本标记',
|
|
995
|
-
'External Task Configuration': '外部任务配置',
|
|
996
|
-
'Task Priority': '任务优先级',
|
|
997
|
-
'Job Configuration': '作业配置',
|
|
998
|
-
'Job Priority': '作业优先级',
|
|
999
|
-
'History Configuration': '历史配置',
|
|
1000
|
-
'History Time To Live': '历史生存时间',
|
|
1001
|
-
'Details': '详情',
|
|
1002
|
-
'Initiator': '初始化',
|
|
1003
|
-
'Asynchronous Continuations': '异步连续',
|
|
1004
|
-
'Asynchronous Before': '异步之前',
|
|
1005
|
-
'Asynchronous After': '异步之后',
|
|
1006
|
-
'Forms': '表单',
|
|
1007
|
-
'Form Key': '表单名',
|
|
1008
|
-
'Form Fields': '表单字段',
|
|
1009
|
-
'Form Buttons': '表单按钮',
|
|
1010
|
-
'Form Field': '表单字段',
|
|
1011
|
-
'Form Button': '表单按钮',
|
|
1012
|
-
'Button Name': '按钮名称',
|
|
1013
|
-
'Business Key': '业务键',
|
|
1014
|
-
'Type': '类型',
|
|
1015
|
-
'Label': '标签',
|
|
1016
|
-
'Default Value': '默认值',
|
|
1017
|
-
'Validation': '校验',
|
|
1018
|
-
'Add Constraint': '添加约束',
|
|
1019
|
-
'Config': '配置',
|
|
1020
|
-
'Must provide a value': '必须提供一个值',
|
|
1021
|
-
'Event Type': '事件类型',
|
|
1022
|
-
'Listener Type': '监听器类型',
|
|
1023
|
-
'Java Class': 'Java 类',
|
|
1024
|
-
'Field Injection': '字段注入',
|
|
1025
|
-
'Fields': '字段',
|
|
1026
|
-
'Condition Type': '条件类型',
|
|
1027
|
-
'Script Format': '脚本格式',
|
|
1028
|
-
'Script Type': '脚本类型',
|
|
1029
|
-
'Inline Script': '内联脚本',
|
|
1030
|
-
'External Resource': '外部资源',
|
|
1031
|
-
'Expression': '表达式',
|
|
1032
|
-
'Delegate Expression': '委托表达式',
|
|
1033
|
-
'Script': '脚本',
|
|
1034
|
-
'Parameter must have a name': '参数必须有一个名称',
|
|
1035
|
-
'String': '字符串',
|
|
1036
|
-
'Implementation': '实现',
|
|
1037
|
-
'External': '外部',
|
|
1038
|
-
'Connector': '连接器',
|
|
1039
|
-
'Must configure Connector': '必须配置连接器',
|
|
1040
|
-
'Connector Id': '连接器ID',
|
|
1041
|
-
'Input/Output': '输入/输出',
|
|
1042
|
-
'Input Parameters': '输入参数',
|
|
1043
|
-
'Input Parameter': '输入参数',
|
|
1044
|
-
'Output Parameters': '输出参数',
|
|
1045
|
-
'Output Parameter': '输出参数',
|
|
1046
|
-
'Text': '文本',
|
|
1047
|
-
'List': '列表',
|
|
1048
|
-
'Add Entry': '增加条目',
|
|
1049
|
-
'Field Injections': '字段注入',
|
|
1050
|
-
'TextAnnotation': '文本注释',
|
|
1051
|
-
'Variables': '变量',
|
|
1052
|
-
'In Mapping': '输入映射',
|
|
1053
|
-
'Out Mapping': '输出映射',
|
|
1054
|
-
'Target': '目标',
|
|
1055
|
-
'Source': '来源',
|
|
1056
|
-
'Local': '本地',
|
|
1057
|
-
'Candidate Starter Configuration': '候选人起动器配置',
|
|
1058
|
-
'Candidate Starter Groups': '候选人起动器组',
|
|
1059
|
-
'Candidate Starter Users': '候选人起动器用户',
|
|
1060
|
-
'Configure Connector': '配置连接器',
|
|
1061
|
-
'Assignee Type': '受理人类型',
|
|
1062
|
-
'Assignee': '受理人',
|
|
1063
|
-
'Dynamic': '动态',
|
|
1064
|
-
'Static': '静态',
|
|
1065
|
-
'User': '用户',
|
|
1066
|
-
'Role': '角色',
|
|
1067
|
-
'Candidate Users': '候选用户',
|
|
1068
|
-
'Candidate Groups': '候选组',
|
|
1069
|
-
'Due Date': '到期',
|
|
1070
|
-
'Follow Up Date': '跟踪日期',
|
|
1071
|
-
'Priority': '优先级',
|
|
1072
|
-
'The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': '可以使用EL表达式,(例如:${someDate} 或者ISO日期(例如:2015-06-26T09:54:00))',
|
|
1073
|
-
'The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': '可以使用EL表达式,(例如:${someDate} 或者ISO日期(例如:2015-06-26T09:54:00))',
|
|
1074
|
-
'Create Gateway': '创建网关节点',
|
|
860
|
+
'Activate the global connect tool': '激活全局连接工具',
|
|
1075
861
|
'Create StartEvent': '创建开始节点',
|
|
1076
|
-
'Create Intermediate/Boundary Event': '创建中间/边界事件',
|
|
1077
862
|
'Create EndEvent': '创建结束节点',
|
|
1078
|
-
'Create
|
|
1079
|
-
'Create DataObjectReference': '创建数据对象引用',
|
|
1080
|
-
'Create DataStoreReference': '创建数据存储引用',
|
|
1081
|
-
'Create Group': '创建分组',
|
|
1082
|
-
'Category Value': '类别值',
|
|
1083
|
-
//custom
|
|
863
|
+
'Create Gateway': '创建网关节点',
|
|
1084
864
|
'Create UserTask': '创建用户任务',
|
|
1085
|
-
'Create CallActivity': '创建调用任务',
|
|
1086
865
|
'Open minimap': '打开缩略图',
|
|
1087
866
|
'Close minimap': '关闭缩略图',
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
867
|
+
/*
|
|
868
|
+
'Create {type}': '创建{type}',
|
|
869
|
+
'Create Intermediate/Boundary Event': '创建中间/边界事件',
|
|
870
|
+
'Append {type}': '追加{type}', //'追加{type}',
|
|
871
|
+
'Add Lane above': '添加上面泳道',
|
|
872
|
+
'Divide into two Lanes': '拆分两个泳道',
|
|
873
|
+
'Divide into three Lanes': '拆分三个泳道',
|
|
874
|
+
'Add Lane below': '添下面泳道',
|
|
875
|
+
'Append compensation activity': '追加补偿活动',
|
|
876
|
+
'Change type': '改变节点类型', // 改变事情类型
|
|
877
|
+
'Connect using Association': '使用关联连接',
|
|
878
|
+
'Connect using Sequence/MessageFlow or Association': '使用序列/消息流或关联连接',
|
|
879
|
+
'Connect using DataInputAssociation': '使用数据输入关联连接',
|
|
880
|
+
'Remove': '删除',
|
|
881
|
+
'Create expanded SubProcess': '创建扩展子流程',
|
|
882
|
+
// 'Create Pool/Participant': '创建者或参与者',
|
|
883
|
+
'Create IntermediateThrowEvent/BoundaryEvent': '创建中间事件或边界事件',
|
|
884
|
+
'Parallel Multi Instance': '并行多实例',
|
|
885
|
+
'Sequential Multi Instance': '顺序多重实例',
|
|
886
|
+
'Loop': '循环',
|
|
887
|
+
'Ad-hoc': '特别指定',
|
|
888
|
+
'Task': '任务',
|
|
889
|
+
'Send Task': '发送任务', // 发送任务
|
|
890
|
+
'Receive Task': '接收任务',
|
|
891
|
+
'User Task': '用户任务',
|
|
892
|
+
'Manual Task': '手工任务',
|
|
893
|
+
'Business Rule Task': '作业规则任务',
|
|
894
|
+
'Service Task': '服务任务',
|
|
895
|
+
'Script Task': '脚本任务',
|
|
896
|
+
'Call Activity': '调用活动',
|
|
897
|
+
'Sub Process (collapsed)': '子过程(折叠)',
|
|
898
|
+
'Sub Process (expanded)': '子过程(展开)',
|
|
899
|
+
'Start Event': '开始事件',
|
|
900
|
+
'Intermediate Throw Event': '抛出事件',
|
|
901
|
+
'End Event': '结束事件',
|
|
902
|
+
'Message Start Event': '消息开始事件',
|
|
903
|
+
'Timer Start Event': '时间开始事件',
|
|
904
|
+
'Conditional Start Event': '条件开始事件',
|
|
905
|
+
'Signal Start Event': '信号开始事件',
|
|
906
|
+
'Error Start Event': '错误开始事件',
|
|
907
|
+
'Escalation Start Event': '升级开始事件',
|
|
908
|
+
'Compensation Start Event': '补偿开始事件',
|
|
909
|
+
'Message Start Event (non-interrupting)': '消息开始事件(不中断)',
|
|
910
|
+
'Timer Start Event (non-interrupting)': '定时开始事件(不中断)',
|
|
911
|
+
'Conditional Start Event (non-interrupting)': '条件开始事件(不中断)',
|
|
912
|
+
'Signal Start Event (non-interrupting)': '信号开始事件(不中断)',
|
|
913
|
+
'Escalation Start Event (non-interrupting)': '升级开始事件(不中断)',
|
|
914
|
+
'Message Intermediate Catch Event': '信息捕获事件',
|
|
915
|
+
'Message Intermediate Throw Event': '信息抛出事件',
|
|
916
|
+
'Timer Intermediate Catch Event': '定时器捕获事件',
|
|
917
|
+
'Escalation Intermediate Throw Event': '升级抛出事件',
|
|
918
|
+
'Conditional Intermediate Catch Event': '条件捕获事件',
|
|
919
|
+
'Link Intermediate Catch Event': '链接捕获事件',
|
|
920
|
+
'Link Intermediate Throw Event': '链接抛出事件',
|
|
921
|
+
'Compensation Intermediate Throw Event': '补偿抛出事件',
|
|
922
|
+
'Signal Intermediate Catch Event': '信号捕获事件',
|
|
923
|
+
'Signal Intermediate Throw Event': '信号抛出事件',
|
|
924
|
+
'Message End Event': '消息结束事件',
|
|
925
|
+
'Escalation End Event': '升级结束事件',
|
|
926
|
+
'Error End Event': '错误结束事件',
|
|
927
|
+
'Cancel End Event': '取消结束事件',
|
|
928
|
+
'Compensation End Event': '补偿结束事件',
|
|
929
|
+
'Signal End Event': '信号结束事件',
|
|
930
|
+
'Terminate End Event': '终止结束事件',
|
|
931
|
+
'Message Boundary Event': '消息边界事件',
|
|
932
|
+
'Message Boundary Event (non-interrupting)': '消息边界事件(非中断)',
|
|
933
|
+
'Timer Boundary Event': '定时边界事件',
|
|
934
|
+
'Timer Boundary Event (non-interrupting)': '定时边界事件(非中断)',
|
|
935
|
+
'Escalation Boundary Event': '升级边界事件',
|
|
936
|
+
'Escalation Boundary Event (non-interrupting)': '升级边界事件(非中断)',
|
|
937
|
+
'Conditional Boundary Event': '有条件的边界事件',
|
|
938
|
+
'Conditional Boundary Event (non-interrupting)': '条件边界事件(非中断)',
|
|
939
|
+
'Error Boundary Event': '错误边界事件',
|
|
940
|
+
'Cancel Boundary Event': '取消边界事件',
|
|
941
|
+
'Signal Boundary Event': '信号边界事件',
|
|
942
|
+
'Signal Boundary Event (non-interrupting)': '信号边界事件(非中断)',
|
|
943
|
+
'Compensation Boundary Event': '补偿边界事件',
|
|
944
|
+
'Exclusive': '排他',
|
|
945
|
+
'Exclusive Gateway': '互斥网关',
|
|
946
|
+
'Parallel Gateway': '并行网关',
|
|
947
|
+
'Inclusive Gateway': '相容网关',
|
|
948
|
+
'Complex Gateway': '复杂网关',
|
|
949
|
+
'Event based Gateway': '事件网关',
|
|
950
|
+
'Transaction': '交换',
|
|
951
|
+
'Sub Process': '子流程',
|
|
952
|
+
'Event Sub Process': '事件子流程',
|
|
953
|
+
'Empty Pool (removes content)': '清空泳池(删除内容)',
|
|
954
|
+
'Collapsed Pool': '合并泳池',
|
|
955
|
+
'Expanded Pool': '扩展泳池',
|
|
956
|
+
|
|
957
|
+
// flow
|
|
958
|
+
'Default Flow': '默认流向',
|
|
959
|
+
'Sequence Flow': '顺序流向',
|
|
960
|
+
'Conditional Flow': '条件流向',
|
|
961
|
+
|
|
962
|
+
// Errors
|
|
963
|
+
'no parent for {element} in {parent}': '在{parent}中的{element}没有父元素',
|
|
964
|
+
'no shape type specified': '没有指定的形状类型',
|
|
965
|
+
'flow elements must be children of pools/participants': '流动元素必须是游泳池/参与者',
|
|
966
|
+
'out of bounds release': '跨界界释放',
|
|
967
|
+
'more than {count} child lanes': '超出{count}分支',
|
|
968
|
+
'element required': '被请求元素',
|
|
969
|
+
'diagram not part of bpmn': '图在bpmn中',
|
|
970
|
+
'no diagram to display': '没有图表来显示',
|
|
971
|
+
'no process or collaboration to display': '没有流程或协作显示',
|
|
972
|
+
'element {element} referenced by {referenced}#{property} not yet drawn':
|
|
973
|
+
'元素{element}在{referenced}#{property}的引用还没有绘制',
|
|
974
|
+
'already rendered {element}': '已经提供{element}',
|
|
975
|
+
'failed to import {element}': '元素导入失败{element}',
|
|
976
|
+
'ID must not be empty.': 'ID不能为空!',
|
|
977
|
+
'ID must be a valid QName.': '无效的ID输入!',
|
|
978
|
+
|
|
979
|
+
// message
|
|
980
|
+
'This maps to the process definition key.': '映射流程定义的Key。',
|
|
981
|
+
'This maps to the task definition key.': '映射任务定义的Key。',
|
|
982
|
+
'Specify more than one group as a comma separated list.': '多于一个组时为逗号分隔的列表。',
|
|
983
|
+
'Specify more than one user as a comma separated list.': '多于一个用户时为逗号分隔的列表。',
|
|
984
|
+
'Must provide either loop cardinality or collection': '必须提供循环基数或集合',
|
|
985
|
+
'Available process variables, identified in the diagram.': '可用的过程变量,如图中所示。',
|
|
986
|
+
'No variables found.': '未找到变量。',
|
|
987
|
+
|
|
988
|
+
'General': '基本属性',
|
|
989
|
+
'Documentation': '备注',
|
|
990
|
+
'Element documentation': '元素备注',
|
|
991
|
+
'Executable': '可执行',
|
|
992
|
+
'Process Documentation': '过程说明',
|
|
993
|
+
'': '无',
|
|
994
|
+
'Listeners': '监听器',
|
|
995
|
+
'Execution Listener': '扩展监听器',
|
|
996
|
+
'Extensions': '扩展',
|
|
997
|
+
'Properties': '属性',
|
|
998
|
+
'Add Property': '添加属性',
|
|
999
|
+
'Process Id': '流程标识',
|
|
1000
|
+
'Process Name': '流程名称',
|
|
1001
|
+
'Participant Id': '参与者标识',
|
|
1002
|
+
'Participant Name': '参与者名称',
|
|
1003
|
+
'Name': '名称',
|
|
1004
|
+
'Id': '标识',
|
|
1005
|
+
'ID': '标识',
|
|
1006
|
+
'Value': '值',
|
|
1007
|
+
'Version Tag': '版本标记',
|
|
1008
|
+
'External Task Configuration': '外部任务配置',
|
|
1009
|
+
'Task Priority': '任务优先级',
|
|
1010
|
+
'Job Configuration': '作业配置',
|
|
1011
|
+
'Job Priority': '作业优先级',
|
|
1012
|
+
'History Configuration': '历史配置',
|
|
1013
|
+
'History Time To Live': '历史生存时间',
|
|
1014
|
+
'Details': '详情',
|
|
1015
|
+
'Initiator': '初始化',
|
|
1016
|
+
'Asynchronous Continuations': '异步连续',
|
|
1017
|
+
'Asynchronous Before': '异步之前',
|
|
1018
|
+
'Asynchronous After': '异步之后',
|
|
1019
|
+
'Forms': '表单',
|
|
1020
|
+
'Form Key': '表单名',
|
|
1021
|
+
'Form Fields': '表单字段',
|
|
1022
|
+
'Form Buttons': '表单按钮',
|
|
1023
|
+
'Form Field': '表单字段',
|
|
1024
|
+
'Form Button': '表单按钮',
|
|
1025
|
+
'Button Name': '按钮名称',
|
|
1026
|
+
'Business Key': '业务键',
|
|
1027
|
+
'Type': '类型',
|
|
1028
|
+
'Label': '标签',
|
|
1029
|
+
'Default Value': '默认值',
|
|
1030
|
+
'Validation': '校验',
|
|
1031
|
+
'Add Constraint': '添加约束',
|
|
1032
|
+
'Config': '配置',
|
|
1033
|
+
'Must provide a value': '必须提供一个值',
|
|
1034
|
+
'Event Type': '事件类型',
|
|
1035
|
+
'Listener Type': '监听器类型',
|
|
1036
|
+
'Java Class': 'Java 类',
|
|
1037
|
+
'Field Injection': '字段注入',
|
|
1038
|
+
'Fields': '字段',
|
|
1039
|
+
'Condition Type': '条件类型',
|
|
1040
|
+
'Script Format': '脚本格式',
|
|
1041
|
+
'Script Type': '脚本类型',
|
|
1042
|
+
'Inline Script': '内联脚本',
|
|
1043
|
+
'External Resource': '外部资源',
|
|
1044
|
+
'Expression': '表达式',
|
|
1045
|
+
'Delegate Expression': '委托表达式',
|
|
1046
|
+
'Script': '脚本',
|
|
1047
|
+
'Parameter must have a name': '参数必须有一个名称',
|
|
1048
|
+
'String': '字符串',
|
|
1049
|
+
'Implementation': '实现',
|
|
1050
|
+
'External': '外部',
|
|
1051
|
+
'Connector': '连接器',
|
|
1052
|
+
'Must configure Connector': '必须配置连接器',
|
|
1053
|
+
'Connector Id': '连接器ID',
|
|
1054
|
+
'Input/Output': '输入/输出',
|
|
1055
|
+
'Input Parameters': '输入参数',
|
|
1056
|
+
'Input Parameter': '输入参数',
|
|
1057
|
+
'Output Parameters': '输出参数',
|
|
1058
|
+
'Output Parameter': '输出参数',
|
|
1059
|
+
'Text': '文本',
|
|
1060
|
+
'List': '列表',
|
|
1061
|
+
'Add Entry': '增加条目',
|
|
1062
|
+
'Field Injections': '字段注入',
|
|
1063
|
+
'TextAnnotation': '文本注释',
|
|
1064
|
+
'Variables': '变量',
|
|
1065
|
+
'In Mapping': '输入映射',
|
|
1066
|
+
'Out Mapping': '输出映射',
|
|
1067
|
+
'Target': '目标',
|
|
1068
|
+
'Source': '来源',
|
|
1069
|
+
'Local': '本地',
|
|
1070
|
+
'Candidate Starter Configuration': '候选人起动器配置',
|
|
1071
|
+
'Candidate Starter Groups': '候选人起动器组',
|
|
1072
|
+
'Candidate Starter Users': '候选人起动器用户',
|
|
1073
|
+
'Configure Connector': '配置连接器',
|
|
1074
|
+
'Assignee Type': '受理人类型',
|
|
1075
|
+
'Assignee': '受理人',
|
|
1076
|
+
'Dynamic': '动态',
|
|
1077
|
+
'Static': '静态',
|
|
1078
|
+
'User': '用户',
|
|
1079
|
+
'Role': '角色',
|
|
1080
|
+
'Candidate Users': '候选用户',
|
|
1081
|
+
'Candidate Groups': '候选组',
|
|
1082
|
+
'Due Date': '到期',
|
|
1083
|
+
'Follow Up Date': '跟踪日期',
|
|
1084
|
+
'Priority': '优先级',
|
|
1085
|
+
'The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)':
|
|
1086
|
+
'可以使用EL表达式,(例如:${someDate} 或者ISO日期(例如:2015-06-26T09:54:00))',
|
|
1087
|
+
'The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)':
|
|
1088
|
+
'可以使用EL表达式,(例如:${someDate} 或者ISO日期(例如:2015-06-26T09:54:00))',
|
|
1089
|
+
|
|
1090
|
+
'Create Task': '创建任务',
|
|
1091
|
+
'Create DataObjectReference': '创建数据对象引用',
|
|
1092
|
+
'Create DataStoreReference': '创建数据存储引用',
|
|
1093
|
+
'Create Group': '创建分组',
|
|
1094
|
+
'Category Value': '类别值',
|
|
1095
|
+
|
|
1096
|
+
//custom
|
|
1097
|
+
'Create CallActivity': '创建调用任务',
|
|
1098
|
+
'Append Gateway': '追加网关节点',
|
|
1099
|
+
'Append Intermediate/Boundary Event': '追加中间/边界事件',
|
|
1100
|
+
'StartEvent': '开始节点',
|
|
1101
|
+
'EndEvent': '结束节点',
|
|
1102
|
+
'DataObjectReference': '数据对象引用',
|
|
1103
|
+
'DataStoreReference': '数据存储引用',
|
|
1104
|
+
'Element must have an unique id.': '节点元素必须用于唯一编号',
|
|
1105
|
+
'Create ExclusiveGateway': '创建排他网关',
|
|
1106
|
+
'Create Pool/Participant': '创建泳道或参与者',
|
|
1107
|
+
'Append ExclusiveGateway': '追加排他网关',
|
|
1108
|
+
'Append Task': '追加任务',
|
|
1109
|
+
'Append UserTask': '追加用户任务',
|
|
1110
|
+
'Append Sequence': '追加连线',
|
|
1111
|
+
'Append EndEvent': '追加结束节点',
|
|
1112
|
+
'UserTask': '用户任务',
|
|
1113
|
+
'ExclusiveGateway': '条件', //排他网关
|
|
1114
|
+
'Element is not set findUserType': '员工节点未设置节点人员',
|
|
1115
|
+
'Token Simulation ': '流程模拟',
|
|
1116
|
+
'Tasklist Configuration': '任务列表配置',
|
|
1117
|
+
'Startable': '可启动',
|
|
1118
|
+
'Element Documentation': '元素描述',
|
|
1119
|
+
|
|
1120
|
+
'Multi Instance': '多实例',
|
|
1121
|
+
'Loop Cardinality': '循环基数',
|
|
1122
|
+
'Collection': '集合',
|
|
1123
|
+
'Element Variable': '元素变量',
|
|
1124
|
+
'Completion Condition': '完成条件',
|
|
1125
|
+
'Multi Instance Asynchronous Before': '多实例异步之前',
|
|
1126
|
+
'Multi Instance Asynchronous After': '多实例异步之后',
|
|
1127
|
+
'Multi Instance Exclusive': '多实例排他',
|
|
1128
|
+
'Multi Instance Retry Time Cycle': '多实例重试时间',
|
|
1129
|
+
*/
|
|
1118
1130
|
};
|
|
1119
1131
|
|
|
1120
1132
|
function customTranslate(template, replacements) {
|
|
@@ -1359,24 +1371,54 @@ var customHideOtherModule = {
|
|
|
1359
1371
|
gatewayReplaceMenuProvider: ['type', GatewayReplaceMenuProvider]
|
|
1360
1372
|
};
|
|
1361
1373
|
|
|
1374
|
+
function addExtensionProperty(element, key, value, bpmnFactory, modeling) {
|
|
1375
|
+
let extensionElements = element.businessObject.get('extensionElements');
|
|
1376
|
+
if (!extensionElements) {
|
|
1377
|
+
extensionElements = bpmnFactory.create('bpmn:ExtensionElements', { values: [] });
|
|
1378
|
+
extensionElements.$parent = element.businessObject;
|
|
1379
|
+
modeling.updateModdleProperties(element, element.businessObject, { extensionElements });
|
|
1380
|
+
}
|
|
1381
|
+
let properties = null;
|
|
1382
|
+
const extensionElementValues = extensionElements.get('values');
|
|
1383
|
+
const existPropertiesElements = extensionElementValues.filter((value) => is(value, 'camunda:Properties'));
|
|
1384
|
+
if (existPropertiesElements.length > 0) {
|
|
1385
|
+
properties = existPropertiesElements[0];
|
|
1386
|
+
}
|
|
1387
|
+
if (!properties) {
|
|
1388
|
+
properties = bpmnFactory.create('camunda:Properties', { values: [] });
|
|
1389
|
+
properties.$parent = extensionElements;
|
|
1390
|
+
modeling.updateModdleProperties(element, extensionElements, { values: [...extensionElements.get('values'), properties] });
|
|
1391
|
+
}
|
|
1392
|
+
const propertyValues = properties.get('values');
|
|
1393
|
+
const existPropertyIndex = propertyValues.findIndex((value) => value.name === key);
|
|
1394
|
+
if (existPropertyIndex > -1) {
|
|
1395
|
+
modeling.updateModdleProperties(element, propertyValues[existPropertyIndex], { name: key, value });
|
|
1396
|
+
}
|
|
1397
|
+
else {
|
|
1398
|
+
const property = bpmnFactory.create('camunda:Property', { name: key, value });
|
|
1399
|
+
property.$parent = properties;
|
|
1400
|
+
modeling.updateModdleProperties(element, properties, { values: [...properties.get('values'), property] });
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1362
1404
|
// @ts-ignore
|
|
1363
1405
|
class DescriptionProps {
|
|
1364
1406
|
constructor(props) {
|
|
1365
1407
|
this.id = 'Coast_taskDescription';
|
|
1366
|
-
const { element, translate, modeling, debounce } = props;
|
|
1408
|
+
const { element, translate, bpmnFactory, modeling, debounce } = props;
|
|
1367
1409
|
this.component = () => {
|
|
1368
1410
|
return TextFieldEntry({
|
|
1369
1411
|
id: this.id,
|
|
1370
1412
|
element: element,
|
|
1371
1413
|
label: translate('Task Description'),
|
|
1372
1414
|
getValue: () => {
|
|
1373
|
-
console.log(element.businessObject.get('extensionElements'));
|
|
1374
1415
|
return element.businessObject.get('taskDescription') || '';
|
|
1375
1416
|
},
|
|
1376
1417
|
setValue: (value) => {
|
|
1377
|
-
|
|
1418
|
+
modeling.updateModdleProperties(element, element.businessObject, {
|
|
1378
1419
|
'taskDescription': value
|
|
1379
1420
|
});
|
|
1421
|
+
addExtensionProperty(element, 'taskDescription', value, bpmnFactory, modeling);
|
|
1380
1422
|
},
|
|
1381
1423
|
debounce
|
|
1382
1424
|
});
|
|
@@ -1386,8 +1428,9 @@ class DescriptionProps {
|
|
|
1386
1428
|
}
|
|
1387
1429
|
|
|
1388
1430
|
class CustomPropertiesProvider {
|
|
1389
|
-
constructor(propertiesPanel, translate, modeling, debounceInput) {
|
|
1431
|
+
constructor(propertiesPanel, translate, bpmnFactory, modeling, debounceInput) {
|
|
1390
1432
|
this.translate = translate;
|
|
1433
|
+
this.bpmnFactory = bpmnFactory;
|
|
1391
1434
|
this.modeling = modeling;
|
|
1392
1435
|
this.debounceInput = debounceInput;
|
|
1393
1436
|
propertiesPanel.registerProvider(0, this);
|
|
@@ -1395,16 +1438,18 @@ class CustomPropertiesProvider {
|
|
|
1395
1438
|
getGroups(element) {
|
|
1396
1439
|
return ((groups) => {
|
|
1397
1440
|
if (is(element, 'bpmn:UserTask')) {
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1441
|
+
console.log(groups);
|
|
1442
|
+
return [groups.find((group) => group.id === 'general'), {
|
|
1443
|
+
id: 'Coast_Implementation',
|
|
1444
|
+
label: this.translate('More config'),
|
|
1445
|
+
entries: [new DescriptionProps({
|
|
1446
|
+
element,
|
|
1447
|
+
translate: this.translate,
|
|
1448
|
+
bpmnFactory: this.bpmnFactory,
|
|
1449
|
+
modeling: this.modeling,
|
|
1450
|
+
debounce: this.debounceInput
|
|
1451
|
+
})]
|
|
1452
|
+
}];
|
|
1408
1453
|
}
|
|
1409
1454
|
return groups;
|
|
1410
1455
|
});
|
|
@@ -2802,10 +2847,10 @@ class FormComponent {
|
|
|
2802
2847
|
}
|
|
2803
2848
|
}
|
|
2804
2849
|
FormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: FormComponent, deps: [{ token: i0.ViewContainerRef }, { token: FormService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2805
|
-
FormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: FormComponent, selector: "rs-form", inputs: { tenant: "tenant", className: "className", oid: "oid", copyOid: "copyOid", template: "template", readonly: "readonly" }, outputs: { submitCallback: "submitCallback" }, providers: [FormService], viewQueries: [{ propertyName: "validator", first: true, predicate: DxValidationGroupComponent, descendants: true }, { propertyName: "formSubmitter", first: true, predicate: ["formSubmitter"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<dx-load-panel [container]=\"viewContainerRef.element.nativeElement\" [showPane]=\"false\"\n [visible]=\"loading\">\n <dxo-position [of]=\"viewContainerRef.element.nativeElement\"></dxo-position>\n</dx-load-panel>\n<dx-validation-group *ngIf=\"!loading\">\n <rs-box-container [config]=\"config\" [model]=\"model\" [readonly]=\"readonly\"></rs-box-container>\n <dx-button #formSubmitter [visible]=\"false\" (onClick)=\"submitForm()\"></dx-button>\n</dx-validation-group>\n", styles: [":host{padding:12px 24px 20px}:host dx-validation-group{display:flex;flex-flow:row nowrap}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: BoxContainerComponent, selector: "rs-box-container", inputs: ["config", "model", "readonly"] }, { kind: "component", type: i5.DxoPositionComponent, selector: "dxo-position", inputs: ["at", "boundary", "boundaryOffset", "collision", "my", "of", "offset"] }, { kind: "component", type: i4.DxButtonComponent, selector: "dx-button", inputs: ["accessKey", "activeStateEnabled", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "icon", "rtlEnabled", "stylingMode", "tabIndex", "template", "text", "type", "useSubmitBehavior", "validationGroup", "visible", "width"], outputs: ["onClick", "onContentReady", "onDisposing", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "iconChange", "rtlEnabledChange", "stylingModeChange", "tabIndexChange", "templateChange", "textChange", "typeChange", "useSubmitBehaviorChange", "validationGroupChange", "visibleChange", "widthChange"] }, { kind: "component", type: i6.DxLoadPanelComponent, selector: "dx-load-panel", inputs: ["animation", "closeOnOutsideClick", "container", "copyRootClassesToWrapper", "deferRendering", "delay", "elementAttr", "focusStateEnabled", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "indicatorSrc", "maxHeight", "maxWidth", "message", "minHeight", "minWidth", "position", "rtlEnabled", "shading", "shadingColor", "showIndicator", "showPane", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onShowing", "onShown", "animationChange", "closeOnOutsideClickChange", "containerChange", "copyRootClassesToWrapperChange", "deferRenderingChange", "delayChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "indicatorSrcChange", "maxHeightChange", "maxWidthChange", "messageChange", "minHeightChange", "minWidthChange", "positionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showIndicatorChange", "showPaneChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "component", type: i7.DxValidationGroupComponent, selector: "dx-validation-group", inputs: ["elementAttr", "height", "width"], outputs: ["onDisposing", "onInitialized", "onOptionChanged", "elementAttrChange", "heightChange", "widthChange"] }] });
|
|
2850
|
+
FormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: FormComponent, selector: "rs-form", inputs: { tenant: "tenant", className: "className", oid: "oid", copyOid: "copyOid", template: "template", params: "params", readonly: "readonly" }, outputs: { submitCallback: "submitCallback" }, providers: [FormService], viewQueries: [{ propertyName: "validator", first: true, predicate: DxValidationGroupComponent, descendants: true }, { propertyName: "formSubmitter", first: true, predicate: ["formSubmitter"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<dx-load-panel [container]=\"viewContainerRef.element.nativeElement\" [showPane]=\"false\"\n [visible]=\"loading\">\n <dxo-position [of]=\"viewContainerRef.element.nativeElement\"></dxo-position>\n</dx-load-panel>\n<dx-validation-group *ngIf=\"!loading\">\n <rs-box-container [config]=\"config\" [model]=\"model\" [params]=\"params\" [readonly]=\"readonly\"></rs-box-container>\n <dx-button #formSubmitter [visible]=\"false\" (onClick)=\"submitForm()\"></dx-button>\n</dx-validation-group>\n", styles: [":host{padding:12px 24px 20px}:host dx-validation-group{display:flex;flex-flow:row nowrap}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: BoxContainerComponent, selector: "rs-box-container", inputs: ["config", "model", "params", "readonly"] }, { kind: "component", type: i5.DxoPositionComponent, selector: "dxo-position", inputs: ["at", "boundary", "boundaryOffset", "collision", "my", "of", "offset"] }, { kind: "component", type: i4.DxButtonComponent, selector: "dx-button", inputs: ["accessKey", "activeStateEnabled", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "icon", "rtlEnabled", "stylingMode", "tabIndex", "template", "text", "type", "useSubmitBehavior", "validationGroup", "visible", "width"], outputs: ["onClick", "onContentReady", "onDisposing", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "iconChange", "rtlEnabledChange", "stylingModeChange", "tabIndexChange", "templateChange", "textChange", "typeChange", "useSubmitBehaviorChange", "validationGroupChange", "visibleChange", "widthChange"] }, { kind: "component", type: i6.DxLoadPanelComponent, selector: "dx-load-panel", inputs: ["animation", "closeOnOutsideClick", "container", "copyRootClassesToWrapper", "deferRendering", "delay", "elementAttr", "focusStateEnabled", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "indicatorSrc", "maxHeight", "maxWidth", "message", "minHeight", "minWidth", "position", "rtlEnabled", "shading", "shadingColor", "showIndicator", "showPane", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onShowing", "onShown", "animationChange", "closeOnOutsideClickChange", "containerChange", "copyRootClassesToWrapperChange", "deferRenderingChange", "delayChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "indicatorSrcChange", "maxHeightChange", "maxWidthChange", "messageChange", "minHeightChange", "minWidthChange", "positionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showIndicatorChange", "showPaneChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "component", type: i7.DxValidationGroupComponent, selector: "dx-validation-group", inputs: ["elementAttr", "height", "width"], outputs: ["onDisposing", "onInitialized", "onOptionChanged", "elementAttrChange", "heightChange", "widthChange"] }] });
|
|
2806
2851
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: FormComponent, decorators: [{
|
|
2807
2852
|
type: Component,
|
|
2808
|
-
args: [{ selector: 'rs-form', providers: [FormService], template: "<dx-load-panel [container]=\"viewContainerRef.element.nativeElement\" [showPane]=\"false\"\n [visible]=\"loading\">\n <dxo-position [of]=\"viewContainerRef.element.nativeElement\"></dxo-position>\n</dx-load-panel>\n<dx-validation-group *ngIf=\"!loading\">\n <rs-box-container [config]=\"config\" [model]=\"model\" [readonly]=\"readonly\"></rs-box-container>\n <dx-button #formSubmitter [visible]=\"false\" (onClick)=\"submitForm()\"></dx-button>\n</dx-validation-group>\n", styles: [":host{padding:12px 24px 20px}:host dx-validation-group{display:flex;flex-flow:row nowrap}\n"] }]
|
|
2853
|
+
args: [{ selector: 'rs-form', providers: [FormService], template: "<dx-load-panel [container]=\"viewContainerRef.element.nativeElement\" [showPane]=\"false\"\n [visible]=\"loading\">\n <dxo-position [of]=\"viewContainerRef.element.nativeElement\"></dxo-position>\n</dx-load-panel>\n<dx-validation-group *ngIf=\"!loading\">\n <rs-box-container [config]=\"config\" [model]=\"model\" [params]=\"params\" [readonly]=\"readonly\"></rs-box-container>\n <dx-button #formSubmitter [visible]=\"false\" (onClick)=\"submitForm()\"></dx-button>\n</dx-validation-group>\n", styles: [":host{padding:12px 24px 20px}:host dx-validation-group{display:flex;flex-flow:row nowrap}\n"] }]
|
|
2809
2854
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: FormService }]; }, propDecorators: { tenant: [{
|
|
2810
2855
|
type: Input
|
|
2811
2856
|
}], className: [{
|
|
@@ -2816,6 +2861,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
2816
2861
|
type: Input
|
|
2817
2862
|
}], template: [{
|
|
2818
2863
|
type: Input
|
|
2864
|
+
}], params: [{
|
|
2865
|
+
type: Input
|
|
2819
2866
|
}], readonly: [{
|
|
2820
2867
|
type: Input
|
|
2821
2868
|
}], validator: [{
|
|
@@ -2844,7 +2891,7 @@ class DataDetailComponent {
|
|
|
2844
2891
|
}
|
|
2845
2892
|
}
|
|
2846
2893
|
DataDetailComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DataDetailComponent, deps: [{ token: i0.ViewContainerRef }, { token: DataDetailService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2847
|
-
DataDetailComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: DataDetailComponent, selector: "coast-data-detail", inputs: { tenant: "tenant", className: "className", oid: "oid" }, providers: [DataDetailService], ngImport: i0, template: "<dx-load-panel [container]=\"viewContainerRef.element.nativeElement\" [showPane]=\"false\"\n [visible]=\"loading\">\n <dxo-position [of]=\"viewContainerRef.element.nativeElement\"></dxo-position>\n</dx-load-panel>\n<div *ngIf=\"!loading && sections.length === 0\" class=\"empty\">\n <span>\u60A8\u65E0\u6743\u67E5\u770B\u8BE5\u6570\u636E\u5B9E\u4F8B\u4EFB\u4F55\u4FE1\u606F</span>\n</div>\n<ng-container *ngIf=\"sections.length > 0\">\n <dx-accordion [collapsible]=\"true\" [multiple]=\"true\" [deferRendering]=\"false\" [dataSource]=\"sections\"\n [selectedItems]=\"sections\">\n <div *dxTemplate=\"let section of 'title'\" class=\"section-title\">\n <div class=\"section-title-name\">{{section.name}}</div>\n </div>\n <div *dxTemplate=\"let section of 'item'\">\n <rs-form [tenant]=\"tenant\" [className]=\"className\" [oid]=\"oid\" [template]=\"section.formTemplate\"\n [readonly]=\"true\"></rs-form>\n </div>\n </dx-accordion>\n</ng-container>\n", styles: [":host{flex:1;padding:24px;display:flex;flex-flow:column nowrap}:host div.empty{flex:1;padding:16px;display:flex;flex-flow:row nowrap;justify-content:center;align-items:center}:host div.empty span{text-align:center;-webkit-user-select:none;user-select:none}:host .section-title{border-bottom:1px solid var(--coast-border-color, #dddddd)}:host .section-title .section-title-name{height:24px;font-size:14px;font-weight:700;padding:4px 8px;display:flex;flex-flow:column nowrap;justify-content:center}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.DxAccordionComponent, selector: "dx-accordion", inputs: ["accessKey", "activeStateEnabled", "animationDuration", "collapsible", "dataSource", "deferRendering", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "itemHoldTimeout", "items", "itemTemplate", "itemTitleTemplate", "keyExpr", "multiple", "noDataText", "repaintChangesOnly", "rtlEnabled", "selectedIndex", "selectedItem", "selectedItemKeys", "selectedItems", "tabIndex", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onInitialized", "onItemClick", "onItemContextMenu", "onItemHold", "onItemRendered", "onItemTitleClick", "onOptionChanged", "onSelectionChanged", "accessKeyChange", "activeStateEnabledChange", "animationDurationChange", "collapsibleChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "itemHoldTimeoutChange", "itemsChange", "itemTemplateChange", "itemTitleTemplateChange", "keyExprChange", "multipleChange", "noDataTextChange", "repaintChangesOnlyChange", "rtlEnabledChange", "selectedIndexChange", "selectedItemChange", "selectedItemKeysChange", "selectedItemsChange", "tabIndexChange", "visibleChange", "widthChange"] }, { kind: "directive", type: i3.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i5.DxoPositionComponent, selector: "dxo-position", inputs: ["at", "boundary", "boundaryOffset", "collision", "my", "of", "offset"] }, { kind: "component", type: i6.DxLoadPanelComponent, selector: "dx-load-panel", inputs: ["animation", "closeOnOutsideClick", "container", "copyRootClassesToWrapper", "deferRendering", "delay", "elementAttr", "focusStateEnabled", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "indicatorSrc", "maxHeight", "maxWidth", "message", "minHeight", "minWidth", "position", "rtlEnabled", "shading", "shadingColor", "showIndicator", "showPane", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onShowing", "onShown", "animationChange", "closeOnOutsideClickChange", "containerChange", "copyRootClassesToWrapperChange", "deferRenderingChange", "delayChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "indicatorSrcChange", "maxHeightChange", "maxWidthChange", "messageChange", "minHeightChange", "minWidthChange", "positionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showIndicatorChange", "showPaneChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "component", type: FormComponent, selector: "rs-form", inputs: ["tenant", "className", "oid", "copyOid", "template", "readonly"], outputs: ["submitCallback"] }] });
|
|
2894
|
+
DataDetailComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: DataDetailComponent, selector: "coast-data-detail", inputs: { tenant: "tenant", className: "className", oid: "oid", params: "params" }, providers: [DataDetailService], ngImport: i0, template: "<dx-load-panel [container]=\"viewContainerRef.element.nativeElement\" [showPane]=\"false\"\n [visible]=\"loading\">\n <dxo-position [of]=\"viewContainerRef.element.nativeElement\"></dxo-position>\n</dx-load-panel>\n<div *ngIf=\"!loading && sections.length === 0\" class=\"empty\">\n <span>\u60A8\u65E0\u6743\u67E5\u770B\u8BE5\u6570\u636E\u5B9E\u4F8B\u4EFB\u4F55\u4FE1\u606F</span>\n</div>\n<ng-container *ngIf=\"sections.length > 0\">\n <dx-accordion [collapsible]=\"true\" [multiple]=\"true\" [deferRendering]=\"false\" [dataSource]=\"sections\"\n [selectedItems]=\"sections\">\n <div *dxTemplate=\"let section of 'title'\" class=\"section-title\">\n <div class=\"section-title-name\">{{section.name}}</div>\n </div>\n <div *dxTemplate=\"let section of 'item'\">\n <rs-form [tenant]=\"tenant\" [className]=\"className\" [oid]=\"oid\" [template]=\"section.formTemplate\"\n [readonly]=\"true\"></rs-form>\n </div>\n </dx-accordion>\n</ng-container>\n", styles: [":host{flex:1;padding:24px;display:flex;flex-flow:column nowrap}:host div.empty{flex:1;padding:16px;display:flex;flex-flow:row nowrap;justify-content:center;align-items:center}:host div.empty span{text-align:center;-webkit-user-select:none;user-select:none}:host .section-title{border-bottom:1px solid var(--coast-border-color, #dddddd)}:host .section-title .section-title-name{height:24px;font-size:14px;font-weight:700;padding:4px 8px;display:flex;flex-flow:column nowrap;justify-content:center}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.DxAccordionComponent, selector: "dx-accordion", inputs: ["accessKey", "activeStateEnabled", "animationDuration", "collapsible", "dataSource", "deferRendering", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "itemHoldTimeout", "items", "itemTemplate", "itemTitleTemplate", "keyExpr", "multiple", "noDataText", "repaintChangesOnly", "rtlEnabled", "selectedIndex", "selectedItem", "selectedItemKeys", "selectedItems", "tabIndex", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onInitialized", "onItemClick", "onItemContextMenu", "onItemHold", "onItemRendered", "onItemTitleClick", "onOptionChanged", "onSelectionChanged", "accessKeyChange", "activeStateEnabledChange", "animationDurationChange", "collapsibleChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "itemHoldTimeoutChange", "itemsChange", "itemTemplateChange", "itemTitleTemplateChange", "keyExprChange", "multipleChange", "noDataTextChange", "repaintChangesOnlyChange", "rtlEnabledChange", "selectedIndexChange", "selectedItemChange", "selectedItemKeysChange", "selectedItemsChange", "tabIndexChange", "visibleChange", "widthChange"] }, { kind: "directive", type: i3.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: i5.DxoPositionComponent, selector: "dxo-position", inputs: ["at", "boundary", "boundaryOffset", "collision", "my", "of", "offset"] }, { kind: "component", type: i6.DxLoadPanelComponent, selector: "dx-load-panel", inputs: ["animation", "closeOnOutsideClick", "container", "copyRootClassesToWrapper", "deferRendering", "delay", "elementAttr", "focusStateEnabled", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "indicatorSrc", "maxHeight", "maxWidth", "message", "minHeight", "minWidth", "position", "rtlEnabled", "shading", "shadingColor", "showIndicator", "showPane", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onShowing", "onShown", "animationChange", "closeOnOutsideClickChange", "containerChange", "copyRootClassesToWrapperChange", "deferRenderingChange", "delayChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "indicatorSrcChange", "maxHeightChange", "maxWidthChange", "messageChange", "minHeightChange", "minWidthChange", "positionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showIndicatorChange", "showPaneChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "component", type: FormComponent, selector: "rs-form", inputs: ["tenant", "className", "oid", "copyOid", "template", "params", "readonly"], outputs: ["submitCallback"] }] });
|
|
2848
2895
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DataDetailComponent, decorators: [{
|
|
2849
2896
|
type: Component,
|
|
2850
2897
|
args: [{ selector: 'coast-data-detail', providers: [DataDetailService], template: "<dx-load-panel [container]=\"viewContainerRef.element.nativeElement\" [showPane]=\"false\"\n [visible]=\"loading\">\n <dxo-position [of]=\"viewContainerRef.element.nativeElement\"></dxo-position>\n</dx-load-panel>\n<div *ngIf=\"!loading && sections.length === 0\" class=\"empty\">\n <span>\u60A8\u65E0\u6743\u67E5\u770B\u8BE5\u6570\u636E\u5B9E\u4F8B\u4EFB\u4F55\u4FE1\u606F</span>\n</div>\n<ng-container *ngIf=\"sections.length > 0\">\n <dx-accordion [collapsible]=\"true\" [multiple]=\"true\" [deferRendering]=\"false\" [dataSource]=\"sections\"\n [selectedItems]=\"sections\">\n <div *dxTemplate=\"let section of 'title'\" class=\"section-title\">\n <div class=\"section-title-name\">{{section.name}}</div>\n </div>\n <div *dxTemplate=\"let section of 'item'\">\n <rs-form [tenant]=\"tenant\" [className]=\"className\" [oid]=\"oid\" [template]=\"section.formTemplate\"\n [readonly]=\"true\"></rs-form>\n </div>\n </dx-accordion>\n</ng-container>\n", styles: [":host{flex:1;padding:24px;display:flex;flex-flow:column nowrap}:host div.empty{flex:1;padding:16px;display:flex;flex-flow:row nowrap;justify-content:center;align-items:center}:host div.empty span{text-align:center;-webkit-user-select:none;user-select:none}:host .section-title{border-bottom:1px solid var(--coast-border-color, #dddddd)}:host .section-title .section-title-name{height:24px;font-size:14px;font-weight:700;padding:4px 8px;display:flex;flex-flow:column nowrap;justify-content:center}\n"] }]
|
|
@@ -2854,6 +2901,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
2854
2901
|
type: Input
|
|
2855
2902
|
}], oid: [{
|
|
2856
2903
|
type: Input
|
|
2904
|
+
}], params: [{
|
|
2905
|
+
type: Input
|
|
2857
2906
|
}] } });
|
|
2858
2907
|
|
|
2859
2908
|
class FormModule {
|
|
@@ -3001,6 +3050,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
3001
3050
|
}], ctorParameters: function () { return []; } });
|
|
3002
3051
|
|
|
3003
3052
|
class DynamicParamsComponent {
|
|
3053
|
+
constructor() {
|
|
3054
|
+
this.readonly = false;
|
|
3055
|
+
}
|
|
3004
3056
|
add() {
|
|
3005
3057
|
this.params.push({ name: '', value: '' });
|
|
3006
3058
|
}
|
|
@@ -3009,14 +3061,16 @@ class DynamicParamsComponent {
|
|
|
3009
3061
|
}
|
|
3010
3062
|
}
|
|
3011
3063
|
DynamicParamsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DynamicParamsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3012
|
-
DynamicParamsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: DynamicParamsComponent, selector: "rs-dynamic-params", inputs: { label: "label", params: "params" }, ngImport: i0, template: "<div class=\"dx-field\">\n <div class=\"dx-field-label\">\n <span>{{label || '\u52A8\u6001\u53C2\u6570'}}</span>\n <dx-button type=\"default\" stylingMode=\"text\" icon=\"coast-icon coast-icon-add\" (onClick)=\"add()\"></dx-button>\n </div>\n <div class=\"dx-field-value\">\n <div *ngFor=\"let param of params; let index = index\">\n <dx-text-box placeholder=\"\u53C2\u6570\u540D\" [(value)]=\"param.name\"></dx-text-box>\n <dx-text-box placeholder=\"\u53C2\u6570\u503C\" [(value)]=\"param.value\"></dx-text-box>\n <dx-button type=\"danger\" stylingMode=\"text\" icon=\"coast-icon coast-icon-close\"\n (onClick)=\"delete(index)\"></dx-button>\n </div>\n </div>\n</div>\n", styles: [":host .dx-field .dx-field-label{display:flex;align-items:center}:host .dx-field .dx-field-value div{display:flex;flex-flow:row nowrap}:host .dx-field .dx-field-value div dx-text-box{flex:1}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i4.DxButtonComponent, selector: "dx-button", inputs: ["accessKey", "activeStateEnabled", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "icon", "rtlEnabled", "stylingMode", "tabIndex", "template", "text", "type", "useSubmitBehavior", "validationGroup", "visible", "width"], outputs: ["onClick", "onContentReady", "onDisposing", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "iconChange", "rtlEnabledChange", "stylingModeChange", "tabIndexChange", "templateChange", "textChange", "typeChange", "useSubmitBehaviorChange", "validationGroupChange", "visibleChange", "widthChange"] }, { kind: "component", type: i3$2.DxTextBoxComponent, selector: "dx-text-box", inputs: ["accessKey", "activeStateEnabled", "buttons", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "label", "labelMode", "mask", "maskChar", "maskInvalidMessage", "maskRules", "maxLength", "mode", "name", "placeholder", "readOnly", "rtlEnabled", "showClearButton", "showMaskMode", "spellcheck", "stylingMode", "tabIndex", "text", "useMaskedValue", "validationError", "validationErrors", "validationMessageMode", "validationMessagePosition", "validationStatus", "value", "valueChangeEvent", "visible", "width"], outputs: ["onChange", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOptionChanged", "onPaste", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "labelChange", "labelModeChange", "maskChange", "maskCharChange", "maskInvalidMessageChange", "maskRulesChange", "maxLengthChange", "modeChange", "nameChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "showClearButtonChange", "showMaskModeChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useMaskedValueChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationMessagePositionChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "visibleChange", "widthChange", "onBlur"] }] });
|
|
3064
|
+
DynamicParamsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: DynamicParamsComponent, selector: "rs-dynamic-params", inputs: { label: "label", params: "params", readonly: "readonly" }, ngImport: i0, template: "<div class=\"dx-field\">\n <div class=\"dx-field-label\">\n <span>{{label || '\u52A8\u6001\u53C2\u6570'}}</span>\n <dx-button type=\"default\" stylingMode=\"text\" icon=\"coast-icon coast-icon-add\" (onClick)=\"add()\"\n [disabled]=\"readonly\"></dx-button>\n </div>\n <div class=\"dx-field-value\">\n <div *ngFor=\"let param of params; let index = index\">\n <dx-text-box placeholder=\"\u53C2\u6570\u540D\" [(value)]=\"param.name\" [disabled]=\"readonly\"></dx-text-box>\n <dx-text-box placeholder=\"\u53C2\u6570\u503C\" [(value)]=\"param.value\" [disabled]=\"readonly\"></dx-text-box>\n <dx-button type=\"danger\" stylingMode=\"text\" icon=\"coast-icon coast-icon-close\"\n (onClick)=\"delete(index)\" [disabled]=\"readonly\"></dx-button>\n </div>\n </div>\n</div>\n", styles: [":host .dx-field .dx-field-label{display:flex;align-items:center}:host .dx-field .dx-field-value div{display:flex;flex-flow:row nowrap}:host .dx-field .dx-field-value div dx-text-box{flex:1}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i4.DxButtonComponent, selector: "dx-button", inputs: ["accessKey", "activeStateEnabled", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "icon", "rtlEnabled", "stylingMode", "tabIndex", "template", "text", "type", "useSubmitBehavior", "validationGroup", "visible", "width"], outputs: ["onClick", "onContentReady", "onDisposing", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "iconChange", "rtlEnabledChange", "stylingModeChange", "tabIndexChange", "templateChange", "textChange", "typeChange", "useSubmitBehaviorChange", "validationGroupChange", "visibleChange", "widthChange"] }, { kind: "component", type: i3$2.DxTextBoxComponent, selector: "dx-text-box", inputs: ["accessKey", "activeStateEnabled", "buttons", "disabled", "elementAttr", "focusStateEnabled", "height", "hint", "hoverStateEnabled", "inputAttr", "isValid", "label", "labelMode", "mask", "maskChar", "maskInvalidMessage", "maskRules", "maxLength", "mode", "name", "placeholder", "readOnly", "rtlEnabled", "showClearButton", "showMaskMode", "spellcheck", "stylingMode", "tabIndex", "text", "useMaskedValue", "validationError", "validationErrors", "validationMessageMode", "validationMessagePosition", "validationStatus", "value", "valueChangeEvent", "visible", "width"], outputs: ["onChange", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOptionChanged", "onPaste", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isValidChange", "labelChange", "labelModeChange", "maskChange", "maskCharChange", "maskInvalidMessageChange", "maskRulesChange", "maxLengthChange", "modeChange", "nameChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "showClearButtonChange", "showMaskModeChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useMaskedValueChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationMessagePositionChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "visibleChange", "widthChange", "onBlur"] }] });
|
|
3013
3065
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DynamicParamsComponent, decorators: [{
|
|
3014
3066
|
type: Component,
|
|
3015
|
-
args: [{ selector: 'rs-dynamic-params', template: "<div class=\"dx-field\">\n <div class=\"dx-field-label\">\n <span>{{label || '\u52A8\u6001\u53C2\u6570'}}</span>\n <dx-button type=\"default\" stylingMode=\"text\" icon=\"coast-icon coast-icon-add\" (onClick)=\"add()\"></dx-button>\n </div>\n <div class=\"dx-field-value\">\n <div *ngFor=\"let param of params; let index = index\">\n <dx-text-box placeholder=\"\u53C2\u6570\u540D\" [(value)]=\"param.name\"></dx-text-box>\n <dx-text-box placeholder=\"\u53C2\u6570\u503C\" [(value)]=\"param.value\"></dx-text-box>\n <dx-button type=\"danger\" stylingMode=\"text\" icon=\"coast-icon coast-icon-close\"\n (onClick)=\"delete(index)\"></dx-button>\n </div>\n </div>\n</div>\n", styles: [":host .dx-field .dx-field-label{display:flex;align-items:center}:host .dx-field .dx-field-value div{display:flex;flex-flow:row nowrap}:host .dx-field .dx-field-value div dx-text-box{flex:1}\n"] }]
|
|
3067
|
+
args: [{ selector: 'rs-dynamic-params', template: "<div class=\"dx-field\">\n <div class=\"dx-field-label\">\n <span>{{label || '\u52A8\u6001\u53C2\u6570'}}</span>\n <dx-button type=\"default\" stylingMode=\"text\" icon=\"coast-icon coast-icon-add\" (onClick)=\"add()\"\n [disabled]=\"readonly\"></dx-button>\n </div>\n <div class=\"dx-field-value\">\n <div *ngFor=\"let param of params; let index = index\">\n <dx-text-box placeholder=\"\u53C2\u6570\u540D\" [(value)]=\"param.name\" [disabled]=\"readonly\"></dx-text-box>\n <dx-text-box placeholder=\"\u53C2\u6570\u503C\" [(value)]=\"param.value\" [disabled]=\"readonly\"></dx-text-box>\n <dx-button type=\"danger\" stylingMode=\"text\" icon=\"coast-icon coast-icon-close\"\n (onClick)=\"delete(index)\" [disabled]=\"readonly\"></dx-button>\n </div>\n </div>\n</div>\n", styles: [":host .dx-field .dx-field-label{display:flex;align-items:center}:host .dx-field .dx-field-value div{display:flex;flex-flow:row nowrap}:host .dx-field .dx-field-value div dx-text-box{flex:1}\n"] }]
|
|
3016
3068
|
}], propDecorators: { label: [{
|
|
3017
3069
|
type: Input
|
|
3018
3070
|
}], params: [{
|
|
3019
3071
|
type: Input
|
|
3072
|
+
}], readonly: [{
|
|
3073
|
+
type: Input
|
|
3020
3074
|
}] } });
|
|
3021
3075
|
|
|
3022
3076
|
class DynamicParamsModule {
|