@datarailsshared/dr_renderer 1.5.163 → 1.5.171
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/.idea/jsLibraryMappings.xml +6 -0
- package/.idea/misc.xml +9 -0
- package/jest.config.js +1 -1
- package/package.json +3 -8
- package/src/graph-table-renderer.js +0 -7
- package/tsconfig.json +1 -1
- package/.circleci/config.yml +0 -85
- package/.github/workflows/ai-coder-jira.yml +0 -915
- package/.github/workflows/ai-coder-n8n-caller.yml +0 -82
- package/.github/workflows/release.yml +0 -49
- package/tests/__snapshots__/suboptions.test.js.snap +0 -5028
- package/tests/dr-renderer-helpers.test.js +0 -228
- package/tests/dr_chart_tooltip.test.js +0 -789
- package/tests/dr_gauge_chart.test.js +0 -2041
- package/tests/errors.test.js +0 -157
- package/tests/highcharts_renderer.test.js +0 -9407
- package/tests/mock/add-in-dynamic-ranges.json +0 -127
- package/tests/mock/add-in-functions.json +0 -410
- package/tests/mock/add-in-tables.json +0 -347
- package/tests/mock/tables.json +0 -2258
- package/tests/mock/widgets.json +0 -401
- package/tests/options-builder.test.js +0 -1698
- package/tests/pivot-table/freeze-panes/constants.test.js +0 -92
- package/tests/pivot-table/freeze-panes/index.test.js +0 -193
- package/tests/pivot-table/freeze-panes/sticky-strategy.test.js +0 -542
- package/tests/pivot-table/freeze-panes/transform-strategy.test.js +0 -304
- package/tests/ptCreateDrillDownSeriesToDrilldownChart.test.js +0 -509
- package/tests/seriesPointStyles-helper.test.js +0 -114
- package/tests/suboptions.test.js +0 -322
- package/tests/value.formatter.test.js +0 -143
package/.idea/misc.xml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="PreferredVcsStorage">
|
|
4
|
+
<preferredVcsName>ApexVCS</preferredVcsName>
|
|
5
|
+
</component>
|
|
6
|
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_9" project-jdk-name="9.0" project-jdk-type="JavaSDK">
|
|
7
|
+
<output url="file://$PROJECT_DIR$/out" />
|
|
8
|
+
</component>
|
|
9
|
+
</project>
|
package/jest.config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datarailsshared/dr_renderer",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.171",
|
|
4
4
|
"description": "DataRails charts and tables renderer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datarails",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"author": "Sergey Spivakov",
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
27
|
-
"url": "git+https://
|
|
27
|
+
"url": "git+https://github.com/Datarails/dr_renderer.git"
|
|
28
28
|
},
|
|
29
29
|
"license": "",
|
|
30
30
|
"dependencies": {
|
|
@@ -57,10 +57,5 @@
|
|
|
57
57
|
"./src/pivot.css": "./src/pivot.css",
|
|
58
58
|
"./pivot.css": "./src/pivot.css"
|
|
59
59
|
},
|
|
60
|
-
"sideEffects": ["*.css"]
|
|
61
|
-
"jest": {
|
|
62
|
-
"setupFiles": [
|
|
63
|
-
"./setup-jest.js"
|
|
64
|
-
]
|
|
65
|
-
}
|
|
60
|
+
"sideEffects": ["*.css"]
|
|
66
61
|
}
|
|
@@ -183,8 +183,6 @@ export class GraphTableRenderer {
|
|
|
183
183
|
* This includes:
|
|
184
184
|
* - Destroying the Highcharts instance (if exists)
|
|
185
185
|
* - Calling destroy on table result (freeze panes observers, Handsontable instances, etc.)
|
|
186
|
-
* - Disposing the pivot model
|
|
187
|
-
* - Resetting internal state
|
|
188
186
|
* @returns {void}
|
|
189
187
|
*/
|
|
190
188
|
destroy() {
|
|
@@ -208,11 +206,6 @@ export class GraphTableRenderer {
|
|
|
208
206
|
}
|
|
209
207
|
}
|
|
210
208
|
this.#tableResult = null;
|
|
211
|
-
|
|
212
|
-
this.disposePivotModel();
|
|
213
|
-
|
|
214
|
-
this.#options = null;
|
|
215
|
-
this.#rows = [];
|
|
216
209
|
}
|
|
217
210
|
}
|
|
218
211
|
|
package/tsconfig.json
CHANGED
package/.circleci/config.yml
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
version: 2.1
|
|
2
|
-
|
|
3
|
-
orbs:
|
|
4
|
-
datarails-cicd-orb: datarails-ns/datarails-cicd-orb@dev:primary
|
|
5
|
-
|
|
6
|
-
defaults: &defaults
|
|
7
|
-
working_directory: ~/repo
|
|
8
|
-
docker:
|
|
9
|
-
- image: circleci/node:14.16.1
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
deploy:
|
|
13
|
-
<<: *defaults
|
|
14
|
-
steps:
|
|
15
|
-
- checkout
|
|
16
|
-
|
|
17
|
-
- attach_workspace:
|
|
18
|
-
at: ~/repo
|
|
19
|
-
- run:
|
|
20
|
-
name: Prepare publish version
|
|
21
|
-
command: |
|
|
22
|
-
postfix=""
|
|
23
|
-
if [[ "${CIRCLE_BRANCH}" != master ]] ; then
|
|
24
|
-
postfix="-$CIRCLE_BRANCH"
|
|
25
|
-
fi
|
|
26
|
-
|
|
27
|
-
VERSION="1.3.$CIRCLE_BUILD_NUM$postfix"
|
|
28
|
-
sed -i s/{{cicd_version}}/$VERSION/g ./package.json
|
|
29
|
-
cat ./package.json
|
|
30
|
-
- run:
|
|
31
|
-
name: Authenticate with registry
|
|
32
|
-
command: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > ~/repo/.npmrc
|
|
33
|
-
- run:
|
|
34
|
-
name: Install dependencies
|
|
35
|
-
command: npm install
|
|
36
|
-
- run:
|
|
37
|
-
name: Run npm test
|
|
38
|
-
command: npm test
|
|
39
|
-
- run:
|
|
40
|
-
name: Publish package
|
|
41
|
-
command: npm publish . --access=public
|
|
42
|
-
- datarails-cicd-orb/add-ssh-id:
|
|
43
|
-
private_key_env_var: github_deploy_private_encoded
|
|
44
|
-
public_key_env_var: github_deploy_pub_encoded
|
|
45
|
-
is_public_key_encoded: true
|
|
46
|
-
is_private_key_encoded: true
|
|
47
|
-
- run:
|
|
48
|
-
name: prepare git tag
|
|
49
|
-
command: |
|
|
50
|
-
postfix=""
|
|
51
|
-
if [[ "${CIRCLE_BRANCH}" != prod ]] ; then
|
|
52
|
-
postfix="-$CIRCLE_BRANCH"
|
|
53
|
-
fi
|
|
54
|
-
|
|
55
|
-
VERSION="1.3.$CIRCLE_BUILD_NUM$postfix"
|
|
56
|
-
git config --global user.email noreplay@circleci.com
|
|
57
|
-
git config --global user.name circleci
|
|
58
|
-
git config --global -l
|
|
59
|
-
git tag -a "$CIRCLE_BRANCH/$VERSION" -m "circleci build"
|
|
60
|
-
# Test SSH connection to GitHub
|
|
61
|
-
output=$(ssh -o "StrictHostKeyChecking no" -T git@github.com 2>&1 || true)
|
|
62
|
-
echo "$output"
|
|
63
|
-
if ! echo "$output" | grep -q "Hi.*You've successfully authenticated"; then
|
|
64
|
-
echo "Failed to authenticate with GitHub"
|
|
65
|
-
exit 1
|
|
66
|
-
fi
|
|
67
|
-
# Push the tag after successful authentication
|
|
68
|
-
git push --tags origin
|
|
69
|
-
workflows:
|
|
70
|
-
version: 2
|
|
71
|
-
npm-publish:
|
|
72
|
-
jobs:
|
|
73
|
-
- deploy:
|
|
74
|
-
context:
|
|
75
|
-
- metadata
|
|
76
|
-
filters:
|
|
77
|
-
branches:
|
|
78
|
-
only:
|
|
79
|
-
- /master/
|
|
80
|
-
- /tigers/
|
|
81
|
-
- /bratans/
|
|
82
|
-
- /dragons/
|
|
83
|
-
- /tigers/
|
|
84
|
-
- /wizards/
|
|
85
|
-
- /rocket/
|