ngx-rs-ant 1.2.5 → 1.2.7
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 +10 -3
- package/fesm2015/ngx-rs-ant.mjs +335 -276
- package/fesm2015/ngx-rs-ant.mjs.map +1 -1
- package/fesm2020/ngx-rs-ant.mjs +335 -276
- package/fesm2020/ngx-rs-ant.mjs.map +1 -1
- package/form/form.component.d.ts +4 -2
- package/package.json +1 -1
package/fesm2020/ngx-rs-ant.mjs
CHANGED
|
@@ -273,7 +273,7 @@ class PluginManager {
|
|
|
273
273
|
if (boxItem.boxContainer.readonly) {
|
|
274
274
|
instance.readonly = true;
|
|
275
275
|
}
|
|
276
|
-
instance.
|
|
276
|
+
instance.params = boxItem.boxContainer.params;
|
|
277
277
|
instance.tabViewContainerRef = boxItem.boxContainer.tabViewContainerRef;
|
|
278
278
|
if (boxItem.boxContainer.editMode) {
|
|
279
279
|
instance.onRemove = () => {
|
|
@@ -773,7 +773,7 @@ class BoxContainerComponent {
|
|
|
773
773
|
}
|
|
774
774
|
}
|
|
775
775
|
BoxContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BoxContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
776
|
-
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"] });
|
|
776
|
+
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"] });
|
|
777
777
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BoxContainerComponent, decorators: [{
|
|
778
778
|
type: Component,
|
|
779
779
|
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"] }]
|
|
@@ -781,6 +781,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
781
781
|
type: Input
|
|
782
782
|
}], model: [{
|
|
783
783
|
type: Input
|
|
784
|
+
}], params: [{
|
|
785
|
+
type: Input
|
|
784
786
|
}], readonly: [{
|
|
785
787
|
type: Input
|
|
786
788
|
}], boxContainerContent: [{
|
|
@@ -842,269 +844,279 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
842
844
|
}] });
|
|
843
845
|
|
|
844
846
|
const translations = {
|
|
845
|
-
'Change element': '',
|
|
846
|
-
// Labels
|
|
847
|
-
'Activate the global connect tool': '激活全局连接工具',
|
|
848
|
-
'Append {type}': '追加{type}',
|
|
849
|
-
'Add Lane above': '添加上面泳道',
|
|
850
|
-
'Divide into two Lanes': '拆分两个泳道',
|
|
851
|
-
'Divide into three Lanes': '拆分三个泳道',
|
|
852
|
-
'Add Lane below': '添下面泳道',
|
|
853
|
-
'Append compensation activity': '追加补偿活动',
|
|
854
|
-
'Change type': '改变节点类型',
|
|
855
|
-
'Connect using Association': '使用关联连接',
|
|
856
|
-
'Connect using Sequence/MessageFlow or Association': '使用序列/消息流或关联连接',
|
|
857
|
-
'Connect using DataInputAssociation': '使用数据输入关联连接',
|
|
858
|
-
'Remove': '删除',
|
|
859
847
|
'Activate the hand tool': '激活拖拽工具',
|
|
860
848
|
'Activate the lasso tool': '激活框选工具',
|
|
861
849
|
'Activate the create/remove space tool': '激活空间移动工具',
|
|
862
|
-
'
|
|
863
|
-
'Create IntermediateThrowEvent/BoundaryEvent': '创建中间事件或边界事件',
|
|
864
|
-
// 'Create Pool/Participant': '创建者或参与者',
|
|
865
|
-
'Parallel Multi Instance': '并行多实例',
|
|
866
|
-
'Sequential Multi Instance': '顺序多重实例',
|
|
867
|
-
'Loop': '循环',
|
|
868
|
-
'Ad-hoc': '特别指定',
|
|
869
|
-
'Create {type}': '创建{type}',
|
|
870
|
-
'Task': '任务',
|
|
871
|
-
'Send Task': '发送任务',
|
|
872
|
-
'Receive Task': '接收任务',
|
|
873
|
-
'User Task': '用户任务',
|
|
874
|
-
'Manual Task': '手工任务',
|
|
875
|
-
'Business Rule Task': '作业规则任务',
|
|
876
|
-
'Service Task': '服务任务',
|
|
877
|
-
'Script Task': '脚本任务',
|
|
878
|
-
'Call Activity': '调用活动',
|
|
879
|
-
'Sub Process (collapsed)': '子过程(折叠)',
|
|
880
|
-
'Sub Process (expanded)': '子过程(展开)',
|
|
881
|
-
'Start Event': '开始事件',
|
|
882
|
-
'Intermediate Throw Event': '抛出事件',
|
|
883
|
-
'End Event': '结束事件',
|
|
884
|
-
'Message Start Event': '消息开始事件',
|
|
885
|
-
'Timer Start Event': '时间开始事件',
|
|
886
|
-
'Conditional Start Event': '条件开始事件',
|
|
887
|
-
'Signal Start Event': '信号开始事件',
|
|
888
|
-
'Error Start Event': '错误开始事件',
|
|
889
|
-
'Escalation Start Event': '升级开始事件',
|
|
890
|
-
'Compensation Start Event': '补偿开始事件',
|
|
891
|
-
'Message Start Event (non-interrupting)': '消息开始事件(不中断)',
|
|
892
|
-
'Timer Start Event (non-interrupting)': '定时开始事件(不中断)',
|
|
893
|
-
'Conditional Start Event (non-interrupting)': '条件开始事件(不中断)',
|
|
894
|
-
'Signal Start Event (non-interrupting)': '信号开始事件(不中断)',
|
|
895
|
-
'Escalation Start Event (non-interrupting)': '升级开始事件(不中断)',
|
|
896
|
-
'Message Intermediate Catch Event': '信息捕获事件',
|
|
897
|
-
'Message Intermediate Throw Event': '信息抛出事件',
|
|
898
|
-
'Timer Intermediate Catch Event': '定时器捕获事件',
|
|
899
|
-
'Escalation Intermediate Throw Event': '升级抛出事件',
|
|
900
|
-
'Conditional Intermediate Catch Event': '条件捕获事件',
|
|
901
|
-
'Link Intermediate Catch Event': '链接捕获事件',
|
|
902
|
-
'Link Intermediate Throw Event': '链接抛出事件',
|
|
903
|
-
'Compensation Intermediate Throw Event': '补偿抛出事件',
|
|
904
|
-
'Signal Intermediate Catch Event': '信号捕获事件',
|
|
905
|
-
'Signal Intermediate Throw Event': '信号抛出事件',
|
|
906
|
-
'Message End Event': '消息结束事件',
|
|
907
|
-
'Escalation End Event': '升级结束事件',
|
|
908
|
-
'Error End Event': '错误结束事件',
|
|
909
|
-
'Cancel End Event': '取消结束事件',
|
|
910
|
-
'Compensation End Event': '补偿结束事件',
|
|
911
|
-
'Signal End Event': '信号结束事件',
|
|
912
|
-
'Terminate End Event': '终止结束事件',
|
|
913
|
-
'Message Boundary Event': '消息边界事件',
|
|
914
|
-
'Message Boundary Event (non-interrupting)': '消息边界事件(非中断)',
|
|
915
|
-
'Timer Boundary Event': '定时边界事件',
|
|
916
|
-
'Timer Boundary Event (non-interrupting)': '定时边界事件(非中断)',
|
|
917
|
-
'Escalation Boundary Event': '升级边界事件',
|
|
918
|
-
'Escalation Boundary Event (non-interrupting)': '升级边界事件(非中断)',
|
|
919
|
-
'Conditional Boundary Event': '有条件的边界事件',
|
|
920
|
-
'Conditional Boundary Event (non-interrupting)': '条件边界事件(非中断)',
|
|
921
|
-
'Error Boundary Event': '错误边界事件',
|
|
922
|
-
'Cancel Boundary Event': '取消边界事件',
|
|
923
|
-
'Signal Boundary Event': '信号边界事件',
|
|
924
|
-
'Signal Boundary Event (non-interrupting)': '信号边界事件(非中断)',
|
|
925
|
-
'Compensation Boundary Event': '补偿边界事件',
|
|
926
|
-
'Exclusive': '排他',
|
|
927
|
-
'Exclusive Gateway': '互斥网关',
|
|
928
|
-
'Parallel Gateway': '并行网关',
|
|
929
|
-
'Inclusive Gateway': '相容网关',
|
|
930
|
-
'Complex Gateway': '复杂网关',
|
|
931
|
-
'Event based Gateway': '事件网关',
|
|
932
|
-
'Transaction': '交换',
|
|
933
|
-
'Sub Process': '子流程',
|
|
934
|
-
'Event Sub Process': '事件子流程',
|
|
935
|
-
'Empty Pool (removes content)': '清空泳池(删除内容)',
|
|
936
|
-
'Collapsed Pool': '合并泳池',
|
|
937
|
-
'Expanded Pool': '扩展泳池',
|
|
938
|
-
// flow
|
|
939
|
-
'Default Flow': '默认流向',
|
|
940
|
-
'Sequence Flow': '顺序流向',
|
|
941
|
-
'Conditional Flow': '条件流向',
|
|
942
|
-
// Errors
|
|
943
|
-
'no parent for {element} in {parent}': '在{parent}中的{element}没有父元素',
|
|
944
|
-
'no shape type specified': '没有指定的形状类型',
|
|
945
|
-
'flow elements must be children of pools/participants': '流动元素必须是游泳池/参与者',
|
|
946
|
-
'out of bounds release': '跨界界释放',
|
|
947
|
-
'more than {count} child lanes': '超出{count}分支',
|
|
948
|
-
'element required': '被请求元素',
|
|
949
|
-
'diagram not part of bpmn': '图在bpmn中',
|
|
950
|
-
'no diagram to display': '没有图表来显示',
|
|
951
|
-
'no process or collaboration to display': '没有流程或协作显示',
|
|
952
|
-
'element {element} referenced by {referenced}#{property} not yet drawn': '元素{element}在{referenced}#{property}的引用还没有绘制',
|
|
953
|
-
'already rendered {element}': '已经提供{element}',
|
|
954
|
-
'failed to import {element}': '元素导入失败{element}',
|
|
955
|
-
'ID must not be empty.': 'ID不能为空!',
|
|
956
|
-
'ID must be a valid QName.': '无效的ID输入!',
|
|
957
|
-
// message
|
|
958
|
-
'This maps to the process definition key.': '映射流程定义的Key。',
|
|
959
|
-
'This maps to the task definition key.': '映射任务定义的Key。',
|
|
960
|
-
'Specify more than one group as a comma separated list.': '多于一个组时为逗号分隔的列表。',
|
|
961
|
-
'Specify more than one user as a comma separated list.': '多于一个用户时为逗号分隔的列表。',
|
|
962
|
-
'Must provide either loop cardinality or collection': '必须提供循环基数或集合',
|
|
963
|
-
'Available process variables, identified in the diagram.': '可用的过程变量,如图中所示。',
|
|
964
|
-
'No variables found.': '未找到变量。',
|
|
965
|
-
'General': '基本属性',
|
|
966
|
-
'Documentation': '备注',
|
|
967
|
-
'Element documentation': '元素备注',
|
|
968
|
-
'Executable': '可执行',
|
|
969
|
-
'Process Documentation': '过程说明',
|
|
970
|
-
'': '无',
|
|
971
|
-
'Listeners': '监听器',
|
|
972
|
-
'Execution Listener': '扩展监听器',
|
|
973
|
-
'Extensions': '扩展',
|
|
974
|
-
'Properties': '属性',
|
|
975
|
-
'Add Property': '添加属性',
|
|
976
|
-
'Process Id': '流程标识',
|
|
977
|
-
'Process Name': '流程名称',
|
|
978
|
-
'Participant Id': '参与者标识',
|
|
979
|
-
'Participant Name': '参与者名称',
|
|
980
|
-
'Name': '名称',
|
|
981
|
-
'Id': '标识',
|
|
982
|
-
'ID': '标识',
|
|
983
|
-
'Value': '值',
|
|
984
|
-
'Version Tag': '版本标记',
|
|
985
|
-
'External Task Configuration': '外部任务配置',
|
|
986
|
-
'Task Priority': '任务优先级',
|
|
987
|
-
'Job Configuration': '作业配置',
|
|
988
|
-
'Job Priority': '作业优先级',
|
|
989
|
-
'History Configuration': '历史配置',
|
|
990
|
-
'History Time To Live': '历史生存时间',
|
|
991
|
-
'Details': '详情',
|
|
992
|
-
'Initiator': '初始化',
|
|
993
|
-
'Asynchronous Continuations': '异步连续',
|
|
994
|
-
'Asynchronous Before': '异步之前',
|
|
995
|
-
'Asynchronous After': '异步之后',
|
|
996
|
-
'Forms': '表单',
|
|
997
|
-
'Form Key': '表单名',
|
|
998
|
-
'Form Fields': '表单字段',
|
|
999
|
-
'Form Buttons': '表单按钮',
|
|
1000
|
-
'Form Field': '表单字段',
|
|
1001
|
-
'Form Button': '表单按钮',
|
|
1002
|
-
'Button Name': '按钮名称',
|
|
1003
|
-
'Business Key': '业务键',
|
|
1004
|
-
'Type': '类型',
|
|
1005
|
-
'Label': '标签',
|
|
1006
|
-
'Default Value': '默认值',
|
|
1007
|
-
'Validation': '校验',
|
|
1008
|
-
'Add Constraint': '添加约束',
|
|
1009
|
-
'Config': '配置',
|
|
1010
|
-
'Must provide a value': '必须提供一个值',
|
|
1011
|
-
'Event Type': '事件类型',
|
|
1012
|
-
'Listener Type': '监听器类型',
|
|
1013
|
-
'Java Class': 'Java 类',
|
|
1014
|
-
'Field Injection': '字段注入',
|
|
1015
|
-
'Fields': '字段',
|
|
1016
|
-
'Condition Type': '条件类型',
|
|
1017
|
-
'Script Format': '脚本格式',
|
|
1018
|
-
'Script Type': '脚本类型',
|
|
1019
|
-
'Inline Script': '内联脚本',
|
|
1020
|
-
'External Resource': '外部资源',
|
|
1021
|
-
'Expression': '表达式',
|
|
1022
|
-
'Delegate Expression': '委托表达式',
|
|
1023
|
-
'Script': '脚本',
|
|
1024
|
-
'Parameter must have a name': '参数必须有一个名称',
|
|
1025
|
-
'String': '字符串',
|
|
1026
|
-
'Implementation': '实现',
|
|
1027
|
-
'External': '外部',
|
|
1028
|
-
'Connector': '连接器',
|
|
1029
|
-
'Must configure Connector': '必须配置连接器',
|
|
1030
|
-
'Connector Id': '连接器ID',
|
|
1031
|
-
'Input/Output': '输入/输出',
|
|
1032
|
-
'Input Parameters': '输入参数',
|
|
1033
|
-
'Input Parameter': '输入参数',
|
|
1034
|
-
'Output Parameters': '输出参数',
|
|
1035
|
-
'Output Parameter': '输出参数',
|
|
1036
|
-
'Text': '文本',
|
|
1037
|
-
'List': '列表',
|
|
1038
|
-
'Add Entry': '增加条目',
|
|
1039
|
-
'Field Injections': '字段注入',
|
|
1040
|
-
'TextAnnotation': '文本注释',
|
|
1041
|
-
'Variables': '变量',
|
|
1042
|
-
'In Mapping': '输入映射',
|
|
1043
|
-
'Out Mapping': '输出映射',
|
|
1044
|
-
'Target': '目标',
|
|
1045
|
-
'Source': '来源',
|
|
1046
|
-
'Local': '本地',
|
|
1047
|
-
'Candidate Starter Configuration': '候选人起动器配置',
|
|
1048
|
-
'Candidate Starter Groups': '候选人起动器组',
|
|
1049
|
-
'Candidate Starter Users': '候选人起动器用户',
|
|
1050
|
-
'Configure Connector': '配置连接器',
|
|
1051
|
-
'Assignee Type': '受理人类型',
|
|
1052
|
-
'Assignee': '受理人',
|
|
1053
|
-
'Dynamic': '动态',
|
|
1054
|
-
'Static': '静态',
|
|
1055
|
-
'User': '用户',
|
|
1056
|
-
'Role': '角色',
|
|
1057
|
-
'Candidate Users': '候选用户',
|
|
1058
|
-
'Candidate Groups': '候选组',
|
|
1059
|
-
'Due Date': '到期',
|
|
1060
|
-
'Follow Up Date': '跟踪日期',
|
|
1061
|
-
'Priority': '优先级',
|
|
1062
|
-
'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))',
|
|
1063
|
-
'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))',
|
|
1064
|
-
'Create Gateway': '创建网关节点',
|
|
850
|
+
'Activate the global connect tool': '激活全局连接工具',
|
|
1065
851
|
'Create StartEvent': '创建开始节点',
|
|
1066
|
-
'Create Intermediate/Boundary Event': '创建中间/边界事件',
|
|
1067
852
|
'Create EndEvent': '创建结束节点',
|
|
1068
|
-
'Create
|
|
1069
|
-
'Create DataObjectReference': '创建数据对象引用',
|
|
1070
|
-
'Create DataStoreReference': '创建数据存储引用',
|
|
1071
|
-
'Create Group': '创建分组',
|
|
1072
|
-
'Category Value': '类别值',
|
|
1073
|
-
//custom
|
|
853
|
+
'Create Gateway': '创建网关节点',
|
|
1074
854
|
'Create UserTask': '创建用户任务',
|
|
1075
|
-
'Create CallActivity': '创建调用任务',
|
|
1076
855
|
'Open minimap': '打开缩略图',
|
|
1077
856
|
'Close minimap': '关闭缩略图',
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
857
|
+
/*
|
|
858
|
+
'Create {type}': '创建{type}',
|
|
859
|
+
'Create Intermediate/Boundary Event': '创建中间/边界事件',
|
|
860
|
+
'Append {type}': '追加{type}', //'追加{type}',
|
|
861
|
+
'Add Lane above': '添加上面泳道',
|
|
862
|
+
'Divide into two Lanes': '拆分两个泳道',
|
|
863
|
+
'Divide into three Lanes': '拆分三个泳道',
|
|
864
|
+
'Add Lane below': '添下面泳道',
|
|
865
|
+
'Append compensation activity': '追加补偿活动',
|
|
866
|
+
'Change type': '改变节点类型', // 改变事情类型
|
|
867
|
+
'Connect using Association': '使用关联连接',
|
|
868
|
+
'Connect using Sequence/MessageFlow or Association': '使用序列/消息流或关联连接',
|
|
869
|
+
'Connect using DataInputAssociation': '使用数据输入关联连接',
|
|
870
|
+
'Remove': '删除',
|
|
871
|
+
'Create expanded SubProcess': '创建扩展子流程',
|
|
872
|
+
// 'Create Pool/Participant': '创建者或参与者',
|
|
873
|
+
'Create IntermediateThrowEvent/BoundaryEvent': '创建中间事件或边界事件',
|
|
874
|
+
'Parallel Multi Instance': '并行多实例',
|
|
875
|
+
'Sequential Multi Instance': '顺序多重实例',
|
|
876
|
+
'Loop': '循环',
|
|
877
|
+
'Ad-hoc': '特别指定',
|
|
878
|
+
'Task': '任务',
|
|
879
|
+
'Send Task': '发送任务', // 发送任务
|
|
880
|
+
'Receive Task': '接收任务',
|
|
881
|
+
'User Task': '用户任务',
|
|
882
|
+
'Manual Task': '手工任务',
|
|
883
|
+
'Business Rule Task': '作业规则任务',
|
|
884
|
+
'Service Task': '服务任务',
|
|
885
|
+
'Script Task': '脚本任务',
|
|
886
|
+
'Call Activity': '调用活动',
|
|
887
|
+
'Sub Process (collapsed)': '子过程(折叠)',
|
|
888
|
+
'Sub Process (expanded)': '子过程(展开)',
|
|
889
|
+
'Start Event': '开始事件',
|
|
890
|
+
'Intermediate Throw Event': '抛出事件',
|
|
891
|
+
'End Event': '结束事件',
|
|
892
|
+
'Message Start Event': '消息开始事件',
|
|
893
|
+
'Timer Start Event': '时间开始事件',
|
|
894
|
+
'Conditional Start Event': '条件开始事件',
|
|
895
|
+
'Signal Start Event': '信号开始事件',
|
|
896
|
+
'Error Start Event': '错误开始事件',
|
|
897
|
+
'Escalation Start Event': '升级开始事件',
|
|
898
|
+
'Compensation Start Event': '补偿开始事件',
|
|
899
|
+
'Message Start Event (non-interrupting)': '消息开始事件(不中断)',
|
|
900
|
+
'Timer Start Event (non-interrupting)': '定时开始事件(不中断)',
|
|
901
|
+
'Conditional Start Event (non-interrupting)': '条件开始事件(不中断)',
|
|
902
|
+
'Signal Start Event (non-interrupting)': '信号开始事件(不中断)',
|
|
903
|
+
'Escalation Start Event (non-interrupting)': '升级开始事件(不中断)',
|
|
904
|
+
'Message Intermediate Catch Event': '信息捕获事件',
|
|
905
|
+
'Message Intermediate Throw Event': '信息抛出事件',
|
|
906
|
+
'Timer Intermediate Catch Event': '定时器捕获事件',
|
|
907
|
+
'Escalation Intermediate Throw Event': '升级抛出事件',
|
|
908
|
+
'Conditional Intermediate Catch Event': '条件捕获事件',
|
|
909
|
+
'Link Intermediate Catch Event': '链接捕获事件',
|
|
910
|
+
'Link Intermediate Throw Event': '链接抛出事件',
|
|
911
|
+
'Compensation Intermediate Throw Event': '补偿抛出事件',
|
|
912
|
+
'Signal Intermediate Catch Event': '信号捕获事件',
|
|
913
|
+
'Signal Intermediate Throw Event': '信号抛出事件',
|
|
914
|
+
'Message End Event': '消息结束事件',
|
|
915
|
+
'Escalation End Event': '升级结束事件',
|
|
916
|
+
'Error End Event': '错误结束事件',
|
|
917
|
+
'Cancel End Event': '取消结束事件',
|
|
918
|
+
'Compensation End Event': '补偿结束事件',
|
|
919
|
+
'Signal End Event': '信号结束事件',
|
|
920
|
+
'Terminate End Event': '终止结束事件',
|
|
921
|
+
'Message Boundary Event': '消息边界事件',
|
|
922
|
+
'Message Boundary Event (non-interrupting)': '消息边界事件(非中断)',
|
|
923
|
+
'Timer Boundary Event': '定时边界事件',
|
|
924
|
+
'Timer Boundary Event (non-interrupting)': '定时边界事件(非中断)',
|
|
925
|
+
'Escalation Boundary Event': '升级边界事件',
|
|
926
|
+
'Escalation Boundary Event (non-interrupting)': '升级边界事件(非中断)',
|
|
927
|
+
'Conditional Boundary Event': '有条件的边界事件',
|
|
928
|
+
'Conditional Boundary Event (non-interrupting)': '条件边界事件(非中断)',
|
|
929
|
+
'Error Boundary Event': '错误边界事件',
|
|
930
|
+
'Cancel Boundary Event': '取消边界事件',
|
|
931
|
+
'Signal Boundary Event': '信号边界事件',
|
|
932
|
+
'Signal Boundary Event (non-interrupting)': '信号边界事件(非中断)',
|
|
933
|
+
'Compensation Boundary Event': '补偿边界事件',
|
|
934
|
+
'Exclusive': '排他',
|
|
935
|
+
'Exclusive Gateway': '互斥网关',
|
|
936
|
+
'Parallel Gateway': '并行网关',
|
|
937
|
+
'Inclusive Gateway': '相容网关',
|
|
938
|
+
'Complex Gateway': '复杂网关',
|
|
939
|
+
'Event based Gateway': '事件网关',
|
|
940
|
+
'Transaction': '交换',
|
|
941
|
+
'Sub Process': '子流程',
|
|
942
|
+
'Event Sub Process': '事件子流程',
|
|
943
|
+
'Empty Pool (removes content)': '清空泳池(删除内容)',
|
|
944
|
+
'Collapsed Pool': '合并泳池',
|
|
945
|
+
'Expanded Pool': '扩展泳池',
|
|
946
|
+
|
|
947
|
+
// flow
|
|
948
|
+
'Default Flow': '默认流向',
|
|
949
|
+
'Sequence Flow': '顺序流向',
|
|
950
|
+
'Conditional Flow': '条件流向',
|
|
951
|
+
|
|
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':
|
|
963
|
+
'元素{element}在{referenced}#{property}的引用还没有绘制',
|
|
964
|
+
'already rendered {element}': '已经提供{element}',
|
|
965
|
+
'failed to import {element}': '元素导入失败{element}',
|
|
966
|
+
'ID must not be empty.': 'ID不能为空!',
|
|
967
|
+
'ID must be a valid QName.': '无效的ID输入!',
|
|
968
|
+
|
|
969
|
+
// message
|
|
970
|
+
'This maps to the process definition key.': '映射流程定义的Key。',
|
|
971
|
+
'This maps to the task definition key.': '映射任务定义的Key。',
|
|
972
|
+
'Specify more than one group as a comma separated list.': '多于一个组时为逗号分隔的列表。',
|
|
973
|
+
'Specify more than one user as a comma separated list.': '多于一个用户时为逗号分隔的列表。',
|
|
974
|
+
'Must provide either loop cardinality or collection': '必须提供循环基数或集合',
|
|
975
|
+
'Available process variables, identified in the diagram.': '可用的过程变量,如图中所示。',
|
|
976
|
+
'No variables found.': '未找到变量。',
|
|
977
|
+
|
|
978
|
+
'General': '基本属性',
|
|
979
|
+
'Documentation': '备注',
|
|
980
|
+
'Element documentation': '元素备注',
|
|
981
|
+
'Executable': '可执行',
|
|
982
|
+
'Process Documentation': '过程说明',
|
|
983
|
+
'': '无',
|
|
984
|
+
'Listeners': '监听器',
|
|
985
|
+
'Execution Listener': '扩展监听器',
|
|
986
|
+
'Extensions': '扩展',
|
|
987
|
+
'Properties': '属性',
|
|
988
|
+
'Add Property': '添加属性',
|
|
989
|
+
'Process Id': '流程标识',
|
|
990
|
+
'Process Name': '流程名称',
|
|
991
|
+
'Participant Id': '参与者标识',
|
|
992
|
+
'Participant Name': '参与者名称',
|
|
993
|
+
'Name': '名称',
|
|
994
|
+
'Id': '标识',
|
|
995
|
+
'ID': '标识',
|
|
996
|
+
'Value': '值',
|
|
997
|
+
'Version Tag': '版本标记',
|
|
998
|
+
'External Task Configuration': '外部任务配置',
|
|
999
|
+
'Task Priority': '任务优先级',
|
|
1000
|
+
'Job Configuration': '作业配置',
|
|
1001
|
+
'Job Priority': '作业优先级',
|
|
1002
|
+
'History Configuration': '历史配置',
|
|
1003
|
+
'History Time To Live': '历史生存时间',
|
|
1004
|
+
'Details': '详情',
|
|
1005
|
+
'Initiator': '初始化',
|
|
1006
|
+
'Asynchronous Continuations': '异步连续',
|
|
1007
|
+
'Asynchronous Before': '异步之前',
|
|
1008
|
+
'Asynchronous After': '异步之后',
|
|
1009
|
+
'Forms': '表单',
|
|
1010
|
+
'Form Key': '表单名',
|
|
1011
|
+
'Form Fields': '表单字段',
|
|
1012
|
+
'Form Buttons': '表单按钮',
|
|
1013
|
+
'Form Field': '表单字段',
|
|
1014
|
+
'Form Button': '表单按钮',
|
|
1015
|
+
'Button Name': '按钮名称',
|
|
1016
|
+
'Business Key': '业务键',
|
|
1017
|
+
'Type': '类型',
|
|
1018
|
+
'Label': '标签',
|
|
1019
|
+
'Default Value': '默认值',
|
|
1020
|
+
'Validation': '校验',
|
|
1021
|
+
'Add Constraint': '添加约束',
|
|
1022
|
+
'Config': '配置',
|
|
1023
|
+
'Must provide a value': '必须提供一个值',
|
|
1024
|
+
'Event Type': '事件类型',
|
|
1025
|
+
'Listener Type': '监听器类型',
|
|
1026
|
+
'Java Class': 'Java 类',
|
|
1027
|
+
'Field Injection': '字段注入',
|
|
1028
|
+
'Fields': '字段',
|
|
1029
|
+
'Condition Type': '条件类型',
|
|
1030
|
+
'Script Format': '脚本格式',
|
|
1031
|
+
'Script Type': '脚本类型',
|
|
1032
|
+
'Inline Script': '内联脚本',
|
|
1033
|
+
'External Resource': '外部资源',
|
|
1034
|
+
'Expression': '表达式',
|
|
1035
|
+
'Delegate Expression': '委托表达式',
|
|
1036
|
+
'Script': '脚本',
|
|
1037
|
+
'Parameter must have a name': '参数必须有一个名称',
|
|
1038
|
+
'String': '字符串',
|
|
1039
|
+
'Implementation': '实现',
|
|
1040
|
+
'External': '外部',
|
|
1041
|
+
'Connector': '连接器',
|
|
1042
|
+
'Must configure Connector': '必须配置连接器',
|
|
1043
|
+
'Connector Id': '连接器ID',
|
|
1044
|
+
'Input/Output': '输入/输出',
|
|
1045
|
+
'Input Parameters': '输入参数',
|
|
1046
|
+
'Input Parameter': '输入参数',
|
|
1047
|
+
'Output Parameters': '输出参数',
|
|
1048
|
+
'Output Parameter': '输出参数',
|
|
1049
|
+
'Text': '文本',
|
|
1050
|
+
'List': '列表',
|
|
1051
|
+
'Add Entry': '增加条目',
|
|
1052
|
+
'Field Injections': '字段注入',
|
|
1053
|
+
'TextAnnotation': '文本注释',
|
|
1054
|
+
'Variables': '变量',
|
|
1055
|
+
'In Mapping': '输入映射',
|
|
1056
|
+
'Out Mapping': '输出映射',
|
|
1057
|
+
'Target': '目标',
|
|
1058
|
+
'Source': '来源',
|
|
1059
|
+
'Local': '本地',
|
|
1060
|
+
'Candidate Starter Configuration': '候选人起动器配置',
|
|
1061
|
+
'Candidate Starter Groups': '候选人起动器组',
|
|
1062
|
+
'Candidate Starter Users': '候选人起动器用户',
|
|
1063
|
+
'Configure Connector': '配置连接器',
|
|
1064
|
+
'Assignee Type': '受理人类型',
|
|
1065
|
+
'Assignee': '受理人',
|
|
1066
|
+
'Dynamic': '动态',
|
|
1067
|
+
'Static': '静态',
|
|
1068
|
+
'User': '用户',
|
|
1069
|
+
'Role': '角色',
|
|
1070
|
+
'Candidate Users': '候选用户',
|
|
1071
|
+
'Candidate Groups': '候选组',
|
|
1072
|
+
'Due Date': '到期',
|
|
1073
|
+
'Follow Up Date': '跟踪日期',
|
|
1074
|
+
'Priority': '优先级',
|
|
1075
|
+
'The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)':
|
|
1076
|
+
'可以使用EL表达式,(例如:${someDate} 或者ISO日期(例如:2015-06-26T09:54:00))',
|
|
1077
|
+
'The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)':
|
|
1078
|
+
'可以使用EL表达式,(例如:${someDate} 或者ISO日期(例如:2015-06-26T09:54:00))',
|
|
1079
|
+
|
|
1080
|
+
'Create Task': '创建任务',
|
|
1081
|
+
'Create DataObjectReference': '创建数据对象引用',
|
|
1082
|
+
'Create DataStoreReference': '创建数据存储引用',
|
|
1083
|
+
'Create Group': '创建分组',
|
|
1084
|
+
'Category Value': '类别值',
|
|
1085
|
+
|
|
1086
|
+
//custom
|
|
1087
|
+
'Create CallActivity': '创建调用任务',
|
|
1088
|
+
'Append Gateway': '追加网关节点',
|
|
1089
|
+
'Append Intermediate/Boundary Event': '追加中间/边界事件',
|
|
1090
|
+
'StartEvent': '开始节点',
|
|
1091
|
+
'EndEvent': '结束节点',
|
|
1092
|
+
'DataObjectReference': '数据对象引用',
|
|
1093
|
+
'DataStoreReference': '数据存储引用',
|
|
1094
|
+
'Element must have an unique id.': '节点元素必须用于唯一编号',
|
|
1095
|
+
'Create ExclusiveGateway': '创建排他网关',
|
|
1096
|
+
'Create Pool/Participant': '创建泳道或参与者',
|
|
1097
|
+
'Append ExclusiveGateway': '追加排他网关',
|
|
1098
|
+
'Append Task': '追加任务',
|
|
1099
|
+
'Append UserTask': '追加用户任务',
|
|
1100
|
+
'Append Sequence': '追加连线',
|
|
1101
|
+
'Append EndEvent': '追加结束节点',
|
|
1102
|
+
'UserTask': '用户任务',
|
|
1103
|
+
'ExclusiveGateway': '条件', //排他网关
|
|
1104
|
+
'Element is not set findUserType': '员工节点未设置节点人员',
|
|
1105
|
+
'Token Simulation ': '流程模拟',
|
|
1106
|
+
'Tasklist Configuration': '任务列表配置',
|
|
1107
|
+
'Startable': '可启动',
|
|
1108
|
+
'Element Documentation': '元素描述',
|
|
1109
|
+
|
|
1110
|
+
'Multi Instance': '多实例',
|
|
1111
|
+
'Loop Cardinality': '循环基数',
|
|
1112
|
+
'Collection': '集合',
|
|
1113
|
+
'Element Variable': '元素变量',
|
|
1114
|
+
'Completion Condition': '完成条件',
|
|
1115
|
+
'Multi Instance Asynchronous Before': '多实例异步之前',
|
|
1116
|
+
'Multi Instance Asynchronous After': '多实例异步之后',
|
|
1117
|
+
'Multi Instance Exclusive': '多实例排他',
|
|
1118
|
+
'Multi Instance Retry Time Cycle': '多实例重试时间',
|
|
1119
|
+
*/
|
|
1108
1120
|
};
|
|
1109
1121
|
|
|
1110
1122
|
function customTranslate(template, replacements) {
|
|
@@ -1349,24 +1361,54 @@ var customHideOtherModule = {
|
|
|
1349
1361
|
gatewayReplaceMenuProvider: ['type', GatewayReplaceMenuProvider]
|
|
1350
1362
|
};
|
|
1351
1363
|
|
|
1364
|
+
function addExtensionProperty(element, key, value, bpmnFactory, modeling) {
|
|
1365
|
+
let extensionElements = element.businessObject.get('extensionElements');
|
|
1366
|
+
if (!extensionElements) {
|
|
1367
|
+
extensionElements = bpmnFactory.create('bpmn:ExtensionElements', { values: [] });
|
|
1368
|
+
extensionElements.$parent = element.businessObject;
|
|
1369
|
+
modeling.updateModdleProperties(element, element.businessObject, { extensionElements });
|
|
1370
|
+
}
|
|
1371
|
+
let properties = null;
|
|
1372
|
+
const extensionElementValues = extensionElements.get('values');
|
|
1373
|
+
const existPropertiesElements = extensionElementValues.filter((value) => is(value, 'camunda:Properties'));
|
|
1374
|
+
if (existPropertiesElements.length > 0) {
|
|
1375
|
+
properties = existPropertiesElements[0];
|
|
1376
|
+
}
|
|
1377
|
+
if (!properties) {
|
|
1378
|
+
properties = bpmnFactory.create('camunda:Properties', { values: [] });
|
|
1379
|
+
properties.$parent = extensionElements;
|
|
1380
|
+
modeling.updateModdleProperties(element, extensionElements, { values: [...extensionElements.get('values'), properties] });
|
|
1381
|
+
}
|
|
1382
|
+
const propertyValues = properties.get('values');
|
|
1383
|
+
const existPropertyIndex = propertyValues.findIndex((value) => value.name === key);
|
|
1384
|
+
if (existPropertyIndex > -1) {
|
|
1385
|
+
modeling.updateModdleProperties(element, propertyValues[existPropertyIndex], { name: key, value });
|
|
1386
|
+
}
|
|
1387
|
+
else {
|
|
1388
|
+
const property = bpmnFactory.create('camunda:Property', { name: key, value });
|
|
1389
|
+
property.$parent = properties;
|
|
1390
|
+
modeling.updateModdleProperties(element, properties, { values: [...properties.get('values'), property] });
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1352
1394
|
// @ts-ignore
|
|
1353
1395
|
class DescriptionProps {
|
|
1354
1396
|
constructor(props) {
|
|
1355
1397
|
this.id = 'Coast_taskDescription';
|
|
1356
|
-
const { element, translate, modeling, debounce } = props;
|
|
1398
|
+
const { element, translate, bpmnFactory, modeling, debounce } = props;
|
|
1357
1399
|
this.component = () => {
|
|
1358
1400
|
return TextFieldEntry({
|
|
1359
1401
|
id: this.id,
|
|
1360
1402
|
element: element,
|
|
1361
1403
|
label: translate('Task Description'),
|
|
1362
1404
|
getValue: () => {
|
|
1363
|
-
console.log(element.businessObject.get('extensionElements'));
|
|
1364
1405
|
return element.businessObject.get('taskDescription') || '';
|
|
1365
1406
|
},
|
|
1366
1407
|
setValue: (value) => {
|
|
1367
|
-
|
|
1408
|
+
modeling.updateModdleProperties(element, element.businessObject, {
|
|
1368
1409
|
'taskDescription': value
|
|
1369
1410
|
});
|
|
1411
|
+
addExtensionProperty(element, 'taskDescription', value, bpmnFactory, modeling);
|
|
1370
1412
|
},
|
|
1371
1413
|
debounce
|
|
1372
1414
|
});
|
|
@@ -1376,8 +1418,9 @@ class DescriptionProps {
|
|
|
1376
1418
|
}
|
|
1377
1419
|
|
|
1378
1420
|
class CustomPropertiesProvider {
|
|
1379
|
-
constructor(propertiesPanel, translate, modeling, debounceInput) {
|
|
1421
|
+
constructor(propertiesPanel, translate, bpmnFactory, modeling, debounceInput) {
|
|
1380
1422
|
this.translate = translate;
|
|
1423
|
+
this.bpmnFactory = bpmnFactory;
|
|
1381
1424
|
this.modeling = modeling;
|
|
1382
1425
|
this.debounceInput = debounceInput;
|
|
1383
1426
|
propertiesPanel.registerProvider(0, this);
|
|
@@ -1385,16 +1428,18 @@ class CustomPropertiesProvider {
|
|
|
1385
1428
|
getGroups(element) {
|
|
1386
1429
|
return ((groups) => {
|
|
1387
1430
|
if (is(element, 'bpmn:UserTask')) {
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1431
|
+
console.log(groups);
|
|
1432
|
+
return [groups.find((group) => group.id === 'general'), {
|
|
1433
|
+
id: 'Coast_Implementation',
|
|
1434
|
+
label: this.translate('More config'),
|
|
1435
|
+
entries: [new DescriptionProps({
|
|
1436
|
+
element,
|
|
1437
|
+
translate: this.translate,
|
|
1438
|
+
bpmnFactory: this.bpmnFactory,
|
|
1439
|
+
modeling: this.modeling,
|
|
1440
|
+
debounce: this.debounceInput
|
|
1441
|
+
})]
|
|
1442
|
+
}];
|
|
1398
1443
|
}
|
|
1399
1444
|
return groups;
|
|
1400
1445
|
});
|
|
@@ -2728,6 +2773,7 @@ class FormComponent {
|
|
|
2728
2773
|
constructor(viewContainerRef, service) {
|
|
2729
2774
|
this.viewContainerRef = viewContainerRef;
|
|
2730
2775
|
this.service = service;
|
|
2776
|
+
this.onlyFrontEnd = false; // 仅前端,不通过oid获取实例model
|
|
2731
2777
|
this.readonly = false;
|
|
2732
2778
|
this.submitCallback = new EventEmitter();
|
|
2733
2779
|
this.loading = false;
|
|
@@ -2787,10 +2833,10 @@ class FormComponent {
|
|
|
2787
2833
|
}
|
|
2788
2834
|
}
|
|
2789
2835
|
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 });
|
|
2790
|
-
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"] }] });
|
|
2836
|
+
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", onlyFrontEnd: "onlyFrontEnd", model: "model", 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"] }] });
|
|
2791
2837
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: FormComponent, decorators: [{
|
|
2792
2838
|
type: Component,
|
|
2793
|
-
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"] }]
|
|
2839
|
+
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"] }]
|
|
2794
2840
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: FormService }]; }, propDecorators: { tenant: [{
|
|
2795
2841
|
type: Input
|
|
2796
2842
|
}], className: [{
|
|
@@ -2801,6 +2847,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
2801
2847
|
type: Input
|
|
2802
2848
|
}], template: [{
|
|
2803
2849
|
type: Input
|
|
2850
|
+
}], params: [{
|
|
2851
|
+
type: Input
|
|
2852
|
+
}], onlyFrontEnd: [{
|
|
2853
|
+
type: Input
|
|
2854
|
+
}], model: [{
|
|
2855
|
+
type: Input
|
|
2804
2856
|
}], readonly: [{
|
|
2805
2857
|
type: Input
|
|
2806
2858
|
}], validator: [{
|
|
@@ -2829,7 +2881,7 @@ class DataDetailComponent {
|
|
|
2829
2881
|
}
|
|
2830
2882
|
}
|
|
2831
2883
|
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 });
|
|
2832
|
-
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"] }] });
|
|
2884
|
+
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", "onlyFrontEnd", "model", "readonly"], outputs: ["submitCallback"] }] });
|
|
2833
2885
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DataDetailComponent, decorators: [{
|
|
2834
2886
|
type: Component,
|
|
2835
2887
|
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"] }]
|
|
@@ -2839,6 +2891,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
2839
2891
|
type: Input
|
|
2840
2892
|
}], oid: [{
|
|
2841
2893
|
type: Input
|
|
2894
|
+
}], params: [{
|
|
2895
|
+
type: Input
|
|
2842
2896
|
}] } });
|
|
2843
2897
|
|
|
2844
2898
|
class FormModule {
|
|
@@ -2986,6 +3040,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
2986
3040
|
}], ctorParameters: function () { return []; } });
|
|
2987
3041
|
|
|
2988
3042
|
class DynamicParamsComponent {
|
|
3043
|
+
constructor() {
|
|
3044
|
+
this.readonly = false;
|
|
3045
|
+
}
|
|
2989
3046
|
add() {
|
|
2990
3047
|
this.params.push({ name: '', value: '' });
|
|
2991
3048
|
}
|
|
@@ -2994,14 +3051,16 @@ class DynamicParamsComponent {
|
|
|
2994
3051
|
}
|
|
2995
3052
|
}
|
|
2996
3053
|
DynamicParamsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DynamicParamsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2997
|
-
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"] }] });
|
|
3054
|
+
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"] }] });
|
|
2998
3055
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DynamicParamsComponent, decorators: [{
|
|
2999
3056
|
type: Component,
|
|
3000
|
-
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"] }]
|
|
3057
|
+
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"] }]
|
|
3001
3058
|
}], propDecorators: { label: [{
|
|
3002
3059
|
type: Input
|
|
3003
3060
|
}], params: [{
|
|
3004
3061
|
type: Input
|
|
3062
|
+
}], readonly: [{
|
|
3063
|
+
type: Input
|
|
3005
3064
|
}] } });
|
|
3006
3065
|
|
|
3007
3066
|
class DynamicParamsModule {
|