@hpcc-js/marshaller 2.28.7 → 2.28.8
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/LICENSE +43 -43
- package/dist/index.es6.js +25 -13
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +25 -13
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/package.json +12 -12
- package/src/__package__.ts +3 -3
- package/src/dashy.css +239 -239
- package/src/dashy.ts +521 -521
- package/src/ddl1/DDLApi.ts +229 -229
- package/src/ddl1/FlyoutButton.ts +120 -120
- package/src/ddl1/Graph.ts +93 -93
- package/src/ddl1/HTML.ts +77 -77
- package/src/ddl1/HipieDDL.ts +2437 -2437
- package/src/ddl1/HipieDDLMixin.ts +380 -380
- package/src/ddl1/Tabbed.ts +91 -91
- package/src/ddl1/TargetMarshaller.ts +57 -57
- package/src/ddl2/PopupManager.ts +89 -89
- package/src/ddl2/activities/activity.ts +431 -431
- package/src/ddl2/activities/databomb.ts +237 -237
- package/src/ddl2/activities/datasource.ts +52 -52
- package/src/ddl2/activities/dspicker.ts +106 -106
- package/src/ddl2/activities/filter.ts +542 -542
- package/src/ddl2/activities/form.ts +153 -153
- package/src/ddl2/activities/groupby.ts +439 -439
- package/src/ddl2/activities/hipiepipeline.ts +114 -114
- package/src/ddl2/activities/limit.ts +49 -49
- package/src/ddl2/activities/logicalfile.ts +62 -62
- package/src/ddl2/activities/nullview.ts +12 -12
- package/src/ddl2/activities/project.ts +764 -764
- package/src/ddl2/activities/rest.ts +568 -568
- package/src/ddl2/activities/roxie.ts +490 -490
- package/src/ddl2/activities/sampledata.json +16264 -16264
- package/src/ddl2/activities/sort.ts +176 -176
- package/src/ddl2/activities/wuresult.ts +395 -395
- package/src/ddl2/dashboard.css +13 -13
- package/src/ddl2/dashboard.ts +330 -330
- package/src/ddl2/dashboardDockPanel.ts +123 -123
- package/src/ddl2/dashboardGrid.ts +202 -202
- package/src/ddl2/ddl.ts +410 -410
- package/src/ddl2/ddleditor.ts +60 -60
- package/src/ddl2/dsTable.ts +238 -238
- package/src/ddl2/dvTable.ts +31 -31
- package/src/ddl2/graphadapter.ts +297 -297
- package/src/ddl2/javascriptadapter.ts +354 -354
- package/src/ddl2/model/element.ts +398 -398
- package/src/ddl2/model/visualization.ts +351 -351
- package/src/ddl2/model/vizChartPanel.ts +149 -149
- package/src/ddl2/pipelinePanel.css +4 -4
- package/src/ddl2/pipelinePanel.ts +465 -465
- package/src/index.ts +26 -26
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/LICENSE
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
|
|
2
|
-
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License.
|
|
5
|
-
You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
See the License for the specific language governing permissions and
|
|
13
|
-
limitations under the License.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
Intersection Algorithms Provided by Kevin Lindsey
|
|
17
|
-
Copyright (c) 2000-2011, Kevin Lindsey
|
|
18
|
-
All rights reserved.
|
|
19
|
-
|
|
20
|
-
Redistribution and use in source and binary forms, with or without
|
|
21
|
-
modification, are permitted provided that the following conditions are met:
|
|
22
|
-
|
|
23
|
-
- Redistributions of source code must retain the above copyright notice,
|
|
24
|
-
this list of conditions and the following disclaimer.
|
|
25
|
-
|
|
26
|
-
- Redistributions in binary form must reproduce the above copyright
|
|
27
|
-
notice, this list of conditions and the following disclaimer in the
|
|
28
|
-
documentation and/or other materials provided with the distribution.
|
|
29
|
-
|
|
30
|
-
- Neither the name of this software nor the names of its contributors
|
|
31
|
-
may be used to endorse or promote products derived from this software
|
|
32
|
-
without specific prior written permission.
|
|
33
|
-
|
|
34
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
35
|
-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
36
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
37
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
38
|
-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
39
|
-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
40
|
-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
41
|
-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
42
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
43
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1
|
+
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
Intersection Algorithms Provided by Kevin Lindsey
|
|
17
|
+
Copyright (c) 2000-2011, Kevin Lindsey
|
|
18
|
+
All rights reserved.
|
|
19
|
+
|
|
20
|
+
Redistribution and use in source and binary forms, with or without
|
|
21
|
+
modification, are permitted provided that the following conditions are met:
|
|
22
|
+
|
|
23
|
+
- Redistributions of source code must retain the above copyright notice,
|
|
24
|
+
this list of conditions and the following disclaimer.
|
|
25
|
+
|
|
26
|
+
- Redistributions in binary form must reproduce the above copyright
|
|
27
|
+
notice, this list of conditions and the following disclaimer in the
|
|
28
|
+
documentation and/or other materials provided with the distribution.
|
|
29
|
+
|
|
30
|
+
- Neither the name of this software nor the names of its contributors
|
|
31
|
+
may be used to endorse or promote products derived from this software
|
|
32
|
+
without specific prior written permission.
|
|
33
|
+
|
|
34
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
35
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
36
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
37
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
38
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
39
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
40
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
41
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
42
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
43
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/dist/index.es6.js
CHANGED
|
@@ -13,8 +13,8 @@ import { JSONEditor, JSEditor } from '@hpcc-js/codemirror';
|
|
|
13
13
|
import { PropertyEditor } from '@hpcc-js/other';
|
|
14
14
|
|
|
15
15
|
var PKG_NAME$1 = "@hpcc-js/marshaller";
|
|
16
|
-
var PKG_VERSION$1 = "2.28.
|
|
17
|
-
var BUILD_VERSION = "2.108.
|
|
16
|
+
var PKG_VERSION$1 = "2.28.8";
|
|
17
|
+
var BUILD_VERSION = "2.108.8";
|
|
18
18
|
|
|
19
19
|
/******************************************************************************
|
|
20
20
|
Copyright (c) Microsoft Corporation.
|
|
@@ -2346,7 +2346,7 @@ function _mergeNamespaces$1(n, m) {
|
|
|
2346
2346
|
}
|
|
2347
2347
|
|
|
2348
2348
|
var PKG_NAME = "@hpcc-js/ddl-shim";
|
|
2349
|
-
var PKG_VERSION = "2.25.
|
|
2349
|
+
var PKG_VERSION = "2.25.1";
|
|
2350
2350
|
|
|
2351
2351
|
function isWorkunitDatasource(ref) {
|
|
2352
2352
|
return ref.WUID !== undefined;
|
|
@@ -6181,6 +6181,11 @@ function requireCompile () {
|
|
|
6181
6181
|
, defaultsHash = {}
|
|
6182
6182
|
, customRules = [];
|
|
6183
6183
|
|
|
6184
|
+
function patternCode(i, patterns) {
|
|
6185
|
+
var regExpCode = opts.regExp ? 'regExp' : 'new RegExp';
|
|
6186
|
+
return 'var pattern' + i + ' = ' + regExpCode + '(' + util.toQuotedString(patterns[i]) + ');';
|
|
6187
|
+
}
|
|
6188
|
+
|
|
6184
6189
|
root = root || { schema: schema, refVal: refVal, refs: refs };
|
|
6185
6190
|
|
|
6186
6191
|
var c = checkCompiling.call(this, schema, root, baseId);
|
|
@@ -6267,6 +6272,7 @@ function requireCompile () {
|
|
|
6267
6272
|
'equal',
|
|
6268
6273
|
'ucs2length',
|
|
6269
6274
|
'ValidationError',
|
|
6275
|
+
'regExp',
|
|
6270
6276
|
sourceCode
|
|
6271
6277
|
);
|
|
6272
6278
|
|
|
@@ -6280,7 +6286,8 @@ function requireCompile () {
|
|
|
6280
6286
|
customRules,
|
|
6281
6287
|
equal,
|
|
6282
6288
|
ucs2length,
|
|
6283
|
-
ValidationError
|
|
6289
|
+
ValidationError,
|
|
6290
|
+
opts.regExp
|
|
6284
6291
|
);
|
|
6285
6292
|
|
|
6286
6293
|
refVal[0] = validate;
|
|
@@ -6497,11 +6504,6 @@ function requireCompile () {
|
|
|
6497
6504
|
}
|
|
6498
6505
|
|
|
6499
6506
|
|
|
6500
|
-
function patternCode(i, patterns) {
|
|
6501
|
-
return 'var pattern' + i + ' = new RegExp(' + util.toQuotedString(patterns[i]) + ');';
|
|
6502
|
-
}
|
|
6503
|
-
|
|
6504
|
-
|
|
6505
6507
|
function defaultCode(i) {
|
|
6506
6508
|
return 'var default' + i + ' = defaults[' + i + '];';
|
|
6507
6509
|
}
|
|
@@ -8525,6 +8527,7 @@ function requirePattern () {
|
|
|
8525
8527
|
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
8526
8528
|
var $breakOnError = !it.opts.allErrors;
|
|
8527
8529
|
var $data = 'data' + ($dataLvl || '');
|
|
8530
|
+
var $valid = 'valid' + $lvl;
|
|
8528
8531
|
var $isData = it.opts.$data && $schema && $schema.$data,
|
|
8529
8532
|
$schemaValue;
|
|
8530
8533
|
if ($isData) {
|
|
@@ -8533,12 +8536,21 @@ function requirePattern () {
|
|
|
8533
8536
|
} else {
|
|
8534
8537
|
$schemaValue = $schema;
|
|
8535
8538
|
}
|
|
8536
|
-
var $
|
|
8537
|
-
out += 'if ( ';
|
|
8539
|
+
var $regExpCode = it.opts.regExp ? 'regExp' : 'new RegExp';
|
|
8538
8540
|
if ($isData) {
|
|
8539
|
-
out += ' (' + ($
|
|
8541
|
+
out += ' var ' + ($valid) + ' = true; try { ' + ($valid) + ' = ' + ($regExpCode) + '(' + ($schemaValue) + ').test(' + ($data) + '); } catch(e) { ' + ($valid) + ' = false; } if ( ';
|
|
8542
|
+
if ($isData) {
|
|
8543
|
+
out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'string\') || ';
|
|
8544
|
+
}
|
|
8545
|
+
out += ' !' + ($valid) + ') {';
|
|
8546
|
+
} else {
|
|
8547
|
+
var $regexp = it.usePattern($schema);
|
|
8548
|
+
out += ' if ( ';
|
|
8549
|
+
if ($isData) {
|
|
8550
|
+
out += ' (' + ($schemaValue) + ' !== undefined && typeof ' + ($schemaValue) + ' != \'string\') || ';
|
|
8551
|
+
}
|
|
8552
|
+
out += ' !' + ($regexp) + '.test(' + ($data) + ') ) {';
|
|
8540
8553
|
}
|
|
8541
|
-
out += ' !' + ($regexp) + '.test(' + ($data) + ') ) { ';
|
|
8542
8554
|
var $$outStack = $$outStack || [];
|
|
8543
8555
|
$$outStack.push(out);
|
|
8544
8556
|
out = ''; /* istanbul ignore else */
|