Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
erp5
Commits
2db6b86c
Commit
2db6b86c
authored
Feb 16, 2024
by
Nikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added all necessary perspective libraries and gadget.html
parent
8f9e5541
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
266 additions
and
23 deletions
+266
-23
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/17b7c3a70ea397da54d0.wasm.bin
...rtal_skins/erp5_perspective/17b7c3a70ea397da54d0.wasm.bin
+0
-0
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/17b7c3a70ea397da54d0.wasm.xml
...rtal_skins/erp5_perspective/17b7c3a70ea397da54d0.wasm.xml
+28
-0
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/LICENSE.txt.txt
...emplateItem/portal_skins/erp5_perspective/LICENSE.txt.txt
+52
-0
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/LICENSE.txt.xml
...emplateItem/portal_skins/erp5_perspective/LICENSE.txt.xml
+28
-0
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/README.md.txt
...nTemplateItem/portal_skins/erp5_perspective/README.md.txt
+38
-0
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/README.md.xml
...nTemplateItem/portal_skins/erp5_perspective/README.md.xml
+28
-0
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/perspective.js.js
...plateItem/portal_skins/erp5_perspective/perspective.js.js
+0
-23
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/perspective_base_gadget.html.html
..._skins/erp5_perspective/perspective_base_gadget.html.html
+18
-0
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/perspective_base_gadget.html.xml
...l_skins/erp5_perspective/perspective_base_gadget.html.xml
+28
-0
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/perspective_with_viewer.js.js
...rtal_skins/erp5_perspective/perspective_with_viewer.js.js
+18
-0
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/perspective_with_viewer.js.xml
...tal_skins/erp5_perspective/perspective_with_viewer.js.xml
+28
-0
No files found.
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/17b7c3a70ea397da54d0.wasm.bin
0 → 100644
View file @
2db6b86c
File added
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/17b7c3a70ea397da54d0.wasm.xml
0 → 100644
View file @
2db6b86c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
17b7c3a70ea397da54d0.wasm
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
application/wasm
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/LICENSE.txt.txt
0 → 100644
View file @
2db6b86c
/**
ColorBrewer colors for chroma.js
Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The
Pennsylvania State University.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
@preserve
*/
/**
* @license
*
* chroma.js - JavaScript library for color conversions
*
* Copyright (c) 2011-2017, Gregor Aisch
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. The name Gregor Aisch may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
\ No newline at end of file
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/LICENSE.txt.xml
0 → 100644
View file @
2db6b86c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
LICENSE.txt
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/x-unknown-content-type
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/README.md.txt
0 → 100644
View file @
2db6b86c
All files besides perspective_base_gadget.* have been created by using webpack with this configuration:
const PerspectivePlugin = require("@finos/perspective-webpack-plugin");
module.exports = {
entry: "input.js",
output: {
filename: "out.js",
path: "PATH",
},
plugins: [new PerspectivePlugin()],
module: {
rules: [
{
test: require.resolve("@finos/perspective"),
loader: "expose-loader",
options: {
exposes: ["worker","perspective"],
},
},
],
},
};
where input.js:
const perspective = require("@finos/perspective");
-----for perspective_with_viewer-------
const perspective_viewer = require("@finos/perspective-viewer");
const perspective_viewer_datagrid = require("@finos/perspective-viewer-datagrid");
const perspective_viewer_d3fc = require("@finos/perspective-viewer-d3fc");
---------------------------------------
window.Worker = perspective.worker();
To update this, please use a bundler to expose the worker object with window.Worker = worker().
perspective.js only includes the perspective.worker() object, perspective_with_viewer also includes the viewer.
\ No newline at end of file
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/README.md.xml
0 → 100644
View file @
2db6b86c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
README.md
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/plain
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/perspective.js.js
View file @
2db6b86c
This diff is collapsed.
Click to expand it.
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/perspective_base_gadget.html.html
0 → 100644
View file @
2db6b86c
<html>
<head>
<meta
name=
"viewport"
content=
"width=device-width"
/>
<title>
Perspective Gadget
</title>
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"perspective_with_viewer.js"
type=
"text/javascript"
></script>
<script
src=
"perspective_base_gadget.js"
type=
"text/javascript"
></script>
</head>
<body>
</body>
</html>
\ No newline at end of file
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/perspective_base_gadget.html.xml
0 → 100644
View file @
2db6b86c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
perspective_base_gadget.html
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/perspective_with_viewer.js.js
0 → 100644
View file @
2db6b86c
This diff is collapsed.
Click to expand it.
bt5/erp5_perspective/SkinTemplateItem/portal_skins/erp5_perspective/perspective_with_viewer.js.xml
0 → 100644
View file @
2db6b86c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
perspective_with_viewer.js
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
application/x-javascript
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment