meadow-integration 1.0.39 → 1.0.40
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/example-applications/mapping-demo/web/index.html +6 -6
- package/example-applications/mapping-demo/web/mapping-demo-editor.js +6 -6
- package/example-applications/mapping-demo/web/mapping-demo-editor.min.js +1 -1
- package/package.json +6 -6
- package/source/views/PictView-MeadowMappingEditor.js +5 -5
- package/source/views/flow-cards/FlowCard-SolverExpression.js +2 -2
- package/source/views/flow-cards/FlowCard-TemplateExpression.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meadow-integration",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.40",
|
|
4
4
|
"description": "Meadow Data Integration",
|
|
5
5
|
"retoldBeacon": {
|
|
6
6
|
"displayName": "Meadow Integration",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"meadow-connection-sqlite": "^1.0.19",
|
|
62
62
|
"pict-docuserve": "^0.1.5",
|
|
63
|
-
"quackage": "^1.2.
|
|
63
|
+
"quackage": "^1.2.3"
|
|
64
64
|
},
|
|
65
65
|
"mocha": {
|
|
66
66
|
"diff": true,
|
|
@@ -81,14 +81,14 @@
|
|
|
81
81
|
]
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"fable": "^3.1.
|
|
84
|
+
"fable": "^3.1.72",
|
|
85
85
|
"fable-serviceproviderbase": "^3.0.19",
|
|
86
86
|
"fast-xml-parser": "^4.4.1",
|
|
87
|
-
"meadow": "^2.0.
|
|
87
|
+
"meadow": "^2.0.38",
|
|
88
88
|
"meadow-connection-mssql": "^1.0.23",
|
|
89
89
|
"meadow-connection-mysql": "^1.0.19",
|
|
90
|
-
"orator": "^6.1.
|
|
91
|
-
"orator-serviceserver-restify": "^2.0.
|
|
90
|
+
"orator": "^6.1.2",
|
|
91
|
+
"orator-serviceserver-restify": "^2.0.11",
|
|
92
92
|
"pict-section-flow": "^0.0.17",
|
|
93
93
|
"pict-service-commandlineutility": "^1.0.19",
|
|
94
94
|
"pict-sessionmanager": "^1.0.2",
|
|
@@ -106,7 +106,7 @@ const _ViewConfiguration =
|
|
|
106
106
|
}
|
|
107
107
|
.meadow-mapping-btn-primary {
|
|
108
108
|
background: var(--facto-brand, #18a5a0);
|
|
109
|
-
color: #fff;
|
|
109
|
+
color: var(--theme-color-background-panel, #fff);
|
|
110
110
|
border-color: var(--facto-brand, #18a5a0);
|
|
111
111
|
}
|
|
112
112
|
.meadow-mapping-btn-primary:hover {
|
|
@@ -121,9 +121,9 @@ const _ViewConfiguration =
|
|
|
121
121
|
background: var(--facto-border-subtle, #e8ddc8);
|
|
122
122
|
}
|
|
123
123
|
.meadow-mapping-btn-danger {
|
|
124
|
-
background: #e74c3c;
|
|
125
|
-
color: #fff;
|
|
126
|
-
border-color: #e74c3c;
|
|
124
|
+
background: var(--theme-color-status-error, #e74c3c);
|
|
125
|
+
color: var(--theme-color-background-panel, #fff);
|
|
126
|
+
border-color: var(--theme-color-status-error, #e74c3c);
|
|
127
127
|
}
|
|
128
128
|
.meadow-mapping-btn-danger:hover {
|
|
129
129
|
opacity: 0.88;
|
|
@@ -147,7 +147,7 @@ const _ViewConfiguration =
|
|
|
147
147
|
}
|
|
148
148
|
.meadow-schema-mode-tab.active {
|
|
149
149
|
background: var(--facto-brand, #18a5a0);
|
|
150
|
-
color: #fff;
|
|
150
|
+
color: var(--theme-color-background-panel, #fff);
|
|
151
151
|
border-color: var(--facto-brand, #18a5a0);
|
|
152
152
|
}
|
|
153
153
|
.meadow-section-title {
|
|
@@ -43,7 +43,7 @@ class FlowCardSolverExpression extends libPictFlowCard
|
|
|
43
43
|
BodyContent:
|
|
44
44
|
{
|
|
45
45
|
ContentType: 'html',
|
|
46
|
-
Template: '<div style="font-size:10px; padding:2px 4px; color
|
|
46
|
+
Template: '<div style="font-size:10px; padding:2px 4px; color:var(--theme-color-border-default, #ccc); overflow:hidden; white-space:nowrap; text-overflow:ellipsis; max-width:200px;">{~D:Record.Data.SolverExpression~}</div>'
|
|
47
47
|
},
|
|
48
48
|
PropertiesPanel:
|
|
49
49
|
{
|
|
@@ -53,7 +53,7 @@ class FlowCardSolverExpression extends libPictFlowCard
|
|
|
53
53
|
Title: 'Solver Expression',
|
|
54
54
|
Configuration:
|
|
55
55
|
{
|
|
56
|
-
Template: '<div style="padding:8px;"><label style="display:block; margin-bottom:4px; font-weight:bold; font-size:12px;">Solver Expression</label><textarea id="FlowCard-SOL-{~D:Record.Hash~}" style="width:100%; height:80px; font-family:monospace; font-size:12px; resize:vertical; background:#1a1a2e; color
|
|
56
|
+
Template: '<div style="padding:8px;"><label style="display:block; margin-bottom:4px; font-weight:bold; font-size:12px;">Solver Expression</label><textarea id="FlowCard-SOL-{~D:Record.Hash~}" style="width:100%; height:80px; font-family:monospace; font-size:12px; resize:vertical; background:#1a1a2e; color:var(--theme-color-border-default, #e0e0e0); border:1px solid var(--theme-color-text-secondary, #444); border-radius:4px; padding:6px;" onchange="(function(el){var n=pict.views[\'MeadowMapping-Flow\'];if(n&&n._FlowData){for(var i=0;i<n._FlowData.Nodes.length;i++){if(n._FlowData.Nodes[i].Hash===\'{~D:Record.Hash~}\'){n._FlowData.Nodes[i].Data.SolverExpression=el.value;if(typeof n.renderFlow===\'function\')n.renderFlow();break;}}}})(this)">{~D:Record.Data.SolverExpression~}</textarea><div style="font-size:10px; color:var(--theme-color-text-muted, #888); margin-top:4px;">Example: IF(IncomingRecord.Type == \'Premium\', \'GOLD\', \'SILVER\')</div></div>'
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
},
|
|
@@ -42,7 +42,7 @@ class FlowCardTemplateExpression extends libPictFlowCard
|
|
|
42
42
|
BodyContent:
|
|
43
43
|
{
|
|
44
44
|
ContentType: 'html',
|
|
45
|
-
Template: '<div style="font-size:10px; padding:2px 4px; color
|
|
45
|
+
Template: '<div style="font-size:10px; padding:2px 4px; color:var(--theme-color-border-default, #ccc); overflow:hidden; white-space:nowrap; text-overflow:ellipsis; max-width:200px;">{~D:Record.Data.TemplateExpression~}</div>'
|
|
46
46
|
},
|
|
47
47
|
PropertiesPanel:
|
|
48
48
|
{
|
|
@@ -52,7 +52,7 @@ class FlowCardTemplateExpression extends libPictFlowCard
|
|
|
52
52
|
Title: 'Template Expression',
|
|
53
53
|
Configuration:
|
|
54
54
|
{
|
|
55
|
-
Template: '<div style="padding:8px;"><label style="display:block; margin-bottom:4px; font-weight:bold; font-size:12px;">Template Expression</label><textarea id="FlowCard-TPL-{~D:Record.Hash~}" style="width:100%; height:80px; font-family:monospace; font-size:12px; resize:vertical; background:#1a1a2e; color
|
|
55
|
+
Template: '<div style="padding:8px;"><label style="display:block; margin-bottom:4px; font-weight:bold; font-size:12px;">Template Expression</label><textarea id="FlowCard-TPL-{~D:Record.Hash~}" style="width:100%; height:80px; font-family:monospace; font-size:12px; resize:vertical; background:#1a1a2e; color:var(--theme-color-border-default, #e0e0e0); border:1px solid var(--theme-color-text-secondary, #444); border-radius:4px; padding:6px;" onchange="(function(el){var n=pict.views[\'MeadowMapping-Flow\'];if(n&&n._FlowData){for(var i=0;i<n._FlowData.Nodes.length;i++){if(n._FlowData.Nodes[i].Hash===\'{~D:Record.Hash~}\'){n._FlowData.Nodes[i].Data.TemplateExpression=el.value;if(typeof n.renderFlow===\'function\')n.renderFlow();break;}}}})(this)">{~D:Record.Data.TemplateExpression~}</textarea><div style="font-size:10px; color:var(--theme-color-text-muted, #888); margin-top:4px;">Use {~D:Record.FieldName~} syntax. Example: {~D:Record.Name~} in {~D:Record.City~}</div></div>'
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
},
|