periodicjs.ext.reactapp
Version:
414 lines (370 loc) • 43.1 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<!--
Notice the use of %PUBLIC_URL% in the tag above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Async Admin</title>
<script type="text/javascript">
var __padmin = {"name":"jewel","title":"Jewel ML","noauth":false,"basename":"","adminPath":"","login":{"url":"https://local-trainer.jewelml.io:8600/api/jwt/token","options":{"method":"POST","headers":{"Accept":"application/json","clientid":"e48be84c0c0cf64a942e85127eecfd4a","entitytype":"account"}}},"hot_reload":true,"use_sockets":false,"data_tables":{"standard_user":[{"label":"Email","sortid":"email","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Email"},"iconProps":{"title":"Email"},"link":{"baseUrl":"/data/standard_users/:id","params":[{"key":":id","val":"_id"}]},"linkProps":{"style":{"textDecoration":"none"}},"headerColumnProps":{"style":{"maxWidth":200,"overflow":"hidden","textOverflow":"ellipsis"}},"columnProps":{"style":{"maxWidth":200,"overflow":"hidden","textOverflow":"ellipsis"}}},{"label":"Create Date","sortid":"createdat","sortable":true,"momentFormat":"MM/DD/YYYY | hh:mm:ssa","headerColumnProps":{"style":{"minWidth":160}},"columnProps":{"style":{"minWidth":160}}},{"label":"First Name","sortid":"firstname","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"First Name"},"iconProps":{"title":"First Name"},"headerColumnProps":{},"columnProps":{}},{"label":"Last Name","sortid":"lastname","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Last Name"},"iconProps":{"title":"Last Name"},"headerColumnProps":{},"columnProps":{}},{"label":"Activated","sortid":"activated","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Activated"},"iconProps":{"title":"Activated"},"headerColumnProps":{},"columnProps":{}},{"label":"User Roles","sortid":"userroles","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"User Roles"},"iconProps":{"title":"User Roles"},"headerColumnProps":{},"columnProps":{}},{"label":"Account Type","sortid":"accounttype","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Account Type"},"iconProps":{"title":"Account Type"},"headerColumnProps":{},"columnProps":{}},{"label":"Options","headerColumnProps":{"style":{"minWidth":70}},"columnProps":{"style":{"minWidth":70}},"sortable":true,"buttons":[{"children":"","passProps":{"onClick":"func:this.props.reduxRouter.push","onclickBaseUrl":"/data/standard_users/:id","onclickLinkParams":[{"key":":id","val":"_id"}],"buttonProps":{"icon":"fa fa-pencil","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"},"style":{"marginRight":10}}},{"children":"","passProps":{"onClick":"func:this.props.fetchAction","onclickBaseUrl":"/contentdata/standard_users/:id?format=json","onclickLinkParams":[{"key":":id","val":"_id"}],"fetchProps":{"method":"DELETE"},"successProps":{"success":{"notification":{"text":"Deleted","timeout":4000,"type":"success"}},"successCallback":"func:this.props.reduxRouter.push","successProps":"/data/standard_users"},"confirmModal":{},"buttonProps":{"icon":"fa fa-times","color":"isDanger","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"}}}]}],"standard_account":[{"label":"Email","sortid":"email","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Email"},"iconProps":{"title":"Email"},"link":{"baseUrl":"/data/standard_accounts/:id","params":[{"key":":id","val":"_id"}]},"linkProps":{"style":{"textDecoration":"none"}},"headerColumnProps":{"style":{"maxWidth":200,"overflow":"hidden","textOverflow":"ellipsis"}},"columnProps":{"style":{"maxWidth":200,"overflow":"hidden","textOverflow":"ellipsis"}}},{"label":"Create Date","sortid":"createdat","sortable":true,"momentFormat":"MM/DD/YYYY | hh:mm:ssa","headerColumnProps":{"style":{"minWidth":160}},"columnProps":{"style":{"minWidth":160}}},{"label":"First Name","sortid":"firstname","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"First Name"},"iconProps":{"title":"First Name"},"headerColumnProps":{},"columnProps":{}},{"label":"Last Name","sortid":"lastname","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Last Name"},"iconProps":{"title":"Last Name"},"headerColumnProps":{},"columnProps":{}},{"label":"Activated","sortid":"activated","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Activated"},"iconProps":{"title":"Activated"},"headerColumnProps":{},"columnProps":{}},{"label":"User Roles","sortid":"userroles","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"User Roles"},"iconProps":{"title":"User Roles"},"headerColumnProps":{},"columnProps":{}},{"label":"Account Type","sortid":"accounttype","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Account Type"},"iconProps":{"title":"Account Type"},"headerColumnProps":{},"columnProps":{}},{"label":"Options","headerColumnProps":{"style":{"minWidth":70}},"columnProps":{"style":{"minWidth":70}},"sortable":true,"buttons":[{"children":"","passProps":{"onClick":"func:this.props.reduxRouter.push","onclickBaseUrl":"/data/standard_accounts/:id","onclickLinkParams":[{"key":":id","val":"_id"}],"buttonProps":{"icon":"fa fa-pencil","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"},"style":{"marginRight":10}}},{"children":"","passProps":{"onClick":"func:this.props.fetchAction","onclickBaseUrl":"/contentdata/standard_accounts/:id?format=json","onclickLinkParams":[{"key":":id","val":"_id"}],"fetchProps":{"method":"DELETE"},"successProps":{"success":{"notification":{"text":"Deleted","timeout":4000,"type":"success"}},"successCallback":"func:this.props.reduxRouter.push","successProps":"/data/standard_accounts"},"confirmModal":{},"buttonProps":{"icon":"fa fa-times","color":"isDanger","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"}}}]}],"standard_userrole":[{"label":"Name","sortid":"name","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Name"},"iconProps":{"title":"Name"},"link":{"baseUrl":"/data/standard_userroles/:id","params":[{"key":":id","val":"_id"}]},"linkProps":{"style":{"textDecoration":"none"}},"headerColumnProps":{"style":{"maxWidth":150}},"columnProps":{"style":{"maxWidth":150}}},{"label":"Role ID","sortid":"userroleid","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Role ID"},"iconProps":{"title":"Role ID"},"headerColumnProps":{},"columnProps":{}},{"label":"Privileges","sortid":"privileges","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Privileges"},"iconProps":{"title":"Privileges"},"headerColumnProps":{},"columnProps":{}},{"label":"Description","sortid":"description","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Description"},"iconProps":{"title":"Description"},"headerColumnProps":{},"columnProps":{}},{"label":"Options","headerColumnProps":{"style":{"minWidth":70}},"columnProps":{"style":{"minWidth":70}},"sortable":true,"buttons":[{"children":"","passProps":{"onClick":"func:this.props.reduxRouter.push","onclickBaseUrl":"/data/standard_userroles/:id","onclickLinkParams":[{"key":":id","val":"_id"}],"buttonProps":{"icon":"fa fa-pencil","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"},"style":{"marginRight":10}}},{"children":"","passProps":{"onClick":"func:this.props.fetchAction","onclickBaseUrl":"/contentdata/standard_userroles/:id?format=json","onclickLinkParams":[{"key":":id","val":"_id"}],"fetchProps":{"method":"DELETE"},"successProps":{"success":{"notification":{"text":"Deleted","timeout":4000,"type":"success"}},"successCallback":"func:this.props.reduxRouter.push","successProps":"/data/standard_userroles"},"confirmModal":{},"buttonProps":{"icon":"fa fa-times","color":"isDanger","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"}}}]}],"standard_userprivilege":[{"label":"Name","sortid":"name","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Name"},"iconProps":{"title":"Name"},"link":{"baseUrl":"/data/standard_userprivileges/:id","params":[{"key":":id","val":"_id"}]},"linkProps":{"style":{"textDecoration":"none"}},"headerColumnProps":{"style":{"maxWidth":150}},"columnProps":{"style":{"maxWidth":150}}},{"label":"Privilege ID","sortid":"userprivilegeid","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Privilege ID"},"iconProps":{"title":"Privilege ID"},"headerColumnProps":{},"columnProps":{}},{"label":"Label","sortid":"label","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Label"},"iconProps":{"title":"Label"},"headerColumnProps":{},"columnProps":{}},{"label":"Description","sortid":"description","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Description"},"iconProps":{"title":"Description"},"headerColumnProps":{},"columnProps":{}},{"label":"Options","headerColumnProps":{"style":{"minWidth":70}},"columnProps":{"style":{"minWidth":70}},"sortable":true,"buttons":[{"children":"","passProps":{"onClick":"func:this.props.reduxRouter.push","onclickBaseUrl":"/data/standard_userprivileges/:id","onclickLinkParams":[{"key":":id","val":"_id"}],"buttonProps":{"icon":"fa fa-pencil","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"},"style":{"marginRight":10}}},{"children":"","passProps":{"onClick":"func:this.props.fetchAction","onclickBaseUrl":"/contentdata/standard_userprivileges/:id?format=json","onclickLinkParams":[{"key":":id","val":"_id"}],"fetchProps":{"method":"DELETE"},"successProps":{"success":{"notification":{"text":"Deleted","timeout":4000,"type":"success"}},"successCallback":"func:this.props.reduxRouter.push","successProps":"/data/standard_userprivileges"},"confirmModal":{},"buttonProps":{"icon":"fa fa-times","color":"isDanger","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"}}}]}],"standard_asset":[{"label":"Name","sortid":"name","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Name"},"iconProps":{"title":"Name"},"link":{"baseUrl":"/data/standard_assets/:id","params":[{"key":":id","val":"_id"}]},"linkProps":{"style":{"textDecoration":"none"}},"headerColumnProps":{"style":{"maxWidth":150}},"columnProps":{"style":{"maxWidth":150}}},{"label":"Create Date","sortid":"createdat","sortable":true,"momentFormat":"MM/DD/YYYY | hh:mm:ssa","headerColumnProps":{"style":{"minWidth":160}},"columnProps":{"style":{"minWidth":160}}},{"label":"Size","sortid":"transform.size","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Size"},"iconProps":{"title":"Size"},"headerColumnProps":{},"columnProps":{}},{"label":"Attributes","sortid":"transform.attributes","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Attributes"},"icon":true,"iconProps":{"title":"Attributes"},"headerColumnProps":{},"columnProps":{}},{"label":"Preview","sortid":"transform.preview","sortable":true,"image":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Preview"},"iconProps":{"title":"Preview"},"headerColumnProps":{},"columnProps":{}},{"label":"Options","headerColumnProps":{"style":{"minWidth":70}},"columnProps":{"style":{"minWidth":70}},"sortable":true,"buttons":[{"children":"","passProps":{"onClick":"func:this.props.reduxRouter.push","onclickBaseUrl":"/data/standard_assets/:id","onclickLinkParams":[{"key":":id","val":"_id"}],"buttonProps":{"icon":"fa fa-pencil","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"},"style":{"marginRight":10}}},{"children":"","passProps":{"onClick":"func:this.props.fetchAction","onclickBaseUrl":"/contentdata/standard_assets/:id?format=json","onclickLinkParams":[{"key":":id","val":"_id"}],"fetchProps":{"method":"DELETE"},"successProps":{"success":{"notification":{"text":"Deleted","timeout":4000,"type":"success"}},"successCallback":"func:this.props.reduxRouter.push","successProps":"/data/standard_assets"},"confirmModal":{},"buttonProps":{"icon":"fa fa-times","color":"isDanger","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"}}}]}],"configuration":[{"label":"Filepath","sortid":"filepath","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Filepath"},"iconProps":{"title":"Filepath"},"link":{"baseUrl":"/data/configurations/:id","params":[{"key":":id","val":"_id"}]},"linkProps":{"style":{"textDecoration":"none"}},"headerColumnProps":{"style":{"maxWidth":350,"overflow":"hidden","textOverflow":"ellipsis"}},"columnProps":{"style":{"maxWidth":350,"overflow":"hidden","textOverflow":"ellipsis"}}},{"label":"Environment","sortid":"environment","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Environment"},"iconProps":{"title":"Environment"},"headerColumnProps":{},"columnProps":{}},{"label":"Container","sortid":"container","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Container"},"iconProps":{"title":"Container"},"headerColumnProps":{},"columnProps":{}},{"label":"Create Date","sortid":"createdat","sortable":true,"momentFormat":"MM/DD/YYYY | hh:mm:ssa","headerColumnProps":{"style":{"minWidth":160}},"columnProps":{"style":{"minWidth":160}}},{"label":"Options","headerColumnProps":{"style":{"minWidth":70}},"columnProps":{"style":{"minWidth":70}},"sortable":true,"buttons":[{"children":"","passProps":{"onClick":"func:this.props.reduxRouter.push","onclickBaseUrl":"/data/configurations/:id","onclickLinkParams":[{"key":":id","val":"_id"}],"buttonProps":{"icon":"fa fa-pencil","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"},"style":{"marginRight":10}}},{"children":"","passProps":{"onClick":"func:this.props.fetchAction","onclickBaseUrl":"/contentdata/configurations/:id?format=json","onclickLinkParams":[{"key":":id","val":"_id"}],"fetchProps":{"method":"DELETE"},"successProps":{"success":{"notification":{"text":"Deleted","timeout":4000,"type":"success"}},"successCallback":"func:this.props.reduxRouter.push","successProps":"/data/configurations"},"confirmModal":{},"buttonProps":{"icon":"fa fa-times","color":"isDanger","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"}}}]}],"extension":[{"label":"Name","sortid":"name","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Name"},"iconProps":{"title":"Name"},"link":{"baseUrl":"/data/extensions/:id","params":[{"key":":id","val":"_id"}]},"linkProps":{"style":{"textDecoration":"none"}},"headerColumnProps":{"style":{"maxWidth":250}},"columnProps":{"style":{"maxWidth":250}}},{"label":"Source","sortid":"source","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Source"},"iconProps":{"title":"Source"},"headerColumnProps":{},"columnProps":{}},{"label":"Version","sortid":"version","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Version"},"iconProps":{"title":"Version"},"headerColumnProps":{},"columnProps":{}},{"label":"Type","sortid":"periodic_type","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Type"},"iconProps":{"title":"Type"},"headerColumnProps":{},"columnProps":{}},{"label":"Priority","sortid":"periodic_priority","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Priority"},"iconProps":{"title":"Priority"},"headerColumnProps":{},"columnProps":{}},{"label":"Compatibility","sortid":"periodic_compatibility","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Compatibility"},"iconProps":{"title":"Compatibility"},"headerColumnProps":{},"columnProps":{}},{"label":"Create Date","sortid":"createdat","sortable":true,"momentFormat":"MM/DD/YYYY | hh:mm:ssa","headerColumnProps":{"style":{"minWidth":160}},"columnProps":{"style":{"minWidth":160}}},{"label":"Options","headerColumnProps":{"style":{"minWidth":70}},"columnProps":{"style":{"minWidth":70}},"sortable":true,"buttons":[{"children":"","passProps":{"onClick":"func:this.props.reduxRouter.push","onclickBaseUrl":"/data/extensions/:id","onclickLinkParams":[{"key":":id","val":"_id"}],"buttonProps":{"icon":"fa fa-pencil","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"},"style":{"marginRight":10}}},{"children":"","passProps":{"onClick":"func:this.props.fetchAction","onclickBaseUrl":"/contentdata/extensions/:id?format=json","onclickLinkParams":[{"key":":id","val":"_id"}],"fetchProps":{"method":"DELETE"},"successProps":{"success":{"notification":{"text":"Deleted","timeout":4000,"type":"success"}},"successCallback":"func:this.props.reduxRouter.push","successProps":"/data/extensions"},"confirmModal":{},"buttonProps":{"icon":"fa fa-times","color":"isDanger","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"}}}]}],"dblog_logger":[{"label":"ObjectId","sortid":"_id","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"ObjectId"},"iconProps":{"title":"ObjectId"},"link":{"baseUrl":"/data/dblog_loggers/:id","params":[{"key":":id","val":"_id"}]},"linkProps":{"style":{"textDecoration":"none"}},"headerColumnProps":{},"columnProps":{}},{"label":"Create Date","sortid":"createdat","sortable":true,"momentFormat":"MM/DD/YYYY | hh:mm:ssa","headerColumnProps":{"style":{"minWidth":160}},"columnProps":{"style":{"minWidth":160}}},{"label":"Hostname","sortid":"hostname","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Hostname"},"iconProps":{"title":"Hostname"},"headerColumnProps":{},"columnProps":{}},{"label":"Level","sortid":"level","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Level"},"iconProps":{"title":"Level"},"headerColumnProps":{},"columnProps":{}},{"label":"Message","sortid":"msg","sortable":true,"imageProps":{"style":{"maxHeight":"4rem","maxWidth":"4rem","overflow":"hidden"},"alt":"Message"},"iconProps":{"title":"Message"},"headerColumnProps":{"style":{"maxWidth":150}},"columnProps":{"style":{"maxWidth":150}}},{"label":"Options","headerColumnProps":{"style":{"minWidth":70}},"columnProps":{"style":{"minWidth":70}},"sortable":true,"buttons":[{"children":"","passProps":{"onClick":"func:this.props.reduxRouter.push","onclickBaseUrl":"/data/dblog_loggers/:id","onclickLinkParams":[{"key":":id","val":"_id"}],"buttonProps":{"icon":"fa fa-pencil","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"},"style":{"marginRight":10}}},{"children":"","passProps":{"onClick":"func:this.props.fetchAction","onclickBaseUrl":"/contentdata/dblog_loggers/:id?format=json","onclickLinkParams":[{"key":":id","val":"_id"}],"fetchProps":{"method":"DELETE"},"successProps":{"success":{"notification":{"text":"Deleted","timeout":4000,"type":"success"}},"successCallback":"func:this.props.reduxRouter.push","successProps":"/data/dblog_loggers"},"confirmModal":{},"buttonProps":{"icon":"fa fa-times","color":"isDanger","isIconRight":true,"size":"isSmall","className":"__reactapp_icon_button"}}}]}]},"ui":{"sidebarBG":"#ffffff","header":{"color":"isWhite","isBold":false,"buttonColor":"isBlack","customButton":false,"navLabelStyle":{},"userNameStyle":{},"containerStyle":{},"useHeaderLogout":false,"useGlobalSearch":false},"fixedSidebar":true,"footer":{"navStyle":{"position":"relative","borderTop":"none"}},"sidebar":{"containerStyle":{},"use_floating_nav":true},"initialization":{"show_header":true,"show_footer":true,"refresh_manifests":false,"refresh_components":false,"refresh_navigation":false,"show_sidebar_overlay":true},"notifications":{"error_timeout":10000,"timed_timeout":10000,"supressResourceErrors":false,"hide_login_notification":false}},"socket_server":false,"routerHistory":"browserHistory","userprofile":{"url":"https://local-trainer.jewelml.io:8600/api/jwt/profile","options":{"method":"POST","headers":{"Accept":"application/json","clientid":"e48be84c0c0cf64a942e85127eecfd4a","entitytype":"account","Content-Type":"application/json"}}},"auth":{"enforce_mfa":false,"logged_out_path":"/","logged_in_homepage":"/dashboard"},"server_side_react":true,"default_user_image":"/favicon.png","encryption_key_path":"otherdocs/certs/current/star_jewelml_io.key","include_index_route":true,"skip_catch_all_route":true,"socket_server_options":{"transports":["polling","websocket"]},"custom_css_stylesheet":"/stylesheets/jewelml.css","application":{"environment":"development","use_offline_cache":false,"additional_footer":true,"additional_header":true},"includeCoreData":{"manifest":true,"navigation":true},"navigationLayout":{"wrapper":{"style":{"width":"100%","height":"auto","maxHeight":"auto"}},"container":{"style":{"left":0,"padding":"0 0 3rem","marginTop":"3.6rem"}}},"default_manifests":{"include_settings":true,"include_core_data":true},"default_navigation":{"include_settings":true},"extension_overrides":{"customCardProps":{"standard_account":{}},"customIndexButton":{"standard_asset":{"onClick":"func:this.props.createModal","onclickProps":{"title":"Upload new assets","pathname":"/r-admin/standard_assets/newmodal"}}},"customIndexTableProps":{"standard_asset":{"flattenRowDataOptions":{"maxDepth":2}}},"customDetailEditor":{"dblog_logger":{"base":false,"advanced":true}},"customIndexPageComponents":{"configuration":{"component":"code","props":{"style":{"display":"block","border":"1px solid #d3d6db","boxShadow":"inset 0 1px 2px rgba(17,17,17,.1)","padding":"0.5rem","backgroundColor":"whitesmoke"}},"children":[{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//creating configurations"},{"component":"br"},{"component":"div","children":"$ periodicjs cco [type] [name] [environment] [path/to/output/config/json]"},{"component":"div","children":"$ periodicjs createConfig [type] [name] [environment] [path/to/output/config/json]"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//types: app|application|ext|extension|ext-local|extension-local|con|container|con-local|container-local"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//example creating configuration"},{"component":"br"},{"component":"div","children":"$ periodicjs createConfig ext periodicjs.ext.dbseed development ~/Desktop/dev.dbseed-config.json"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//add configuration"},{"component":"br"},{"component":"div","children":"$ periodicjs aco [path/to/configuration/json]"},{"component":"div","children":"$ periodicjs addConfig [path/to/configuration/json]"},{"component":"div","children":"$ node index.js --cli --crud=ext --crud_op=create --crud_arg=[path/to/configuration/json]"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//example manually adding configuration"},{"component":"br"},{"component":"div","children":"$ periodicjs addConfig /home/myuser/documents/projects/appconfig-dev.json"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//remove configuration"},{"component":"br"},{"component":"div","children":"$ periodicjs rco [id-of-configuration-doc]"},{"component":"div","children":"$ periodicjs removeConfig [id-of-configuration-doc]"},{"component":"div","children":"$ node index.js --cli --crud=ext --crud_op=remove --crud_arg=[id-of-configuration-doc]"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//example manually removing bdb7aa6485aebe8ac81992def07c6f96"},{"component":"br"},{"component":"div","children":"$ periodicjs removeConfig bdb7aa6485aebe8ac81992def07c6f96"}]},"extension":{"component":"code","props":{"style":{"display":"block","border":"1px solid #d3d6db","boxShadow":"inset 0 1px 2px rgba(17,17,17,.1)","padding":"0.5rem","backgroundColor":"whitesmoke"}},"children":[{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//add extension"},{"component":"br"},{"component":"div","children":"$ periodicjs aex [name-of-extension]"},{"component":"div","children":"$ periodicjs addExtension [name-of-extension]"},{"component":"div","children":"$ node index.js --cli --crud=ext --crud_op=create --crud_arg=[name-of-extension]"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//example manually adding periodicjs.ext.passport"},{"component":"br"},{"component":"div","children":"$ npm i periodicjs.ext.passport"},{"component":"div","children":"$ periodicjs addExtension periodicjs.ext.passport"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//remove extension"},{"component":"br"},{"component":"div","children":"$ periodicjs rex [name-of-extension]"},{"component":"div","children":"$ periodicjs removeExtension [name-of-extension]"},{"component":"div","children":"$ node index.js --cli --crud=ext --crud_op=remove --crud_arg=[name-of-extension]"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//example manually removing periodicjs.ext.passport"},{"component":"br"},{"component":"div","children":"$ periodicjs removeExtension periodicjs.ext.passport"},{"component":"div","children":"$ npm rm periodicjs.ext.passport"}]}},"customDetailPageComponents":{"configuration":{"component":"code","props":{"style":{"display":"block","border":"1px solid #d3d6db","boxShadow":"inset 0 1px 2px rgba(17,17,17,.1)","padding":"0.5rem","backgroundColor":"whitesmoke"}},"children":[{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//creating configurations"},{"component":"br"},{"component":"div","children":"$ periodicjs cco [type] [name] [environment] [path/to/output/config/json]"},{"component":"div","children":"$ periodicjs createConfig [type] [name] [environment] [path/to/output/config/json]"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//types: app|application|ext|extension|ext-local|extension-local|con|container|con-local|container-local"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//example creating configuration"},{"component":"br"},{"component":"div","children":"$ periodicjs createConfig ext periodicjs.ext.dbseed development ~/Desktop/dev.dbseed-config.json"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//add configuration"},{"component":"br"},{"component":"div","children":"$ periodicjs aco [path/to/configuration/json]"},{"component":"div","children":"$ periodicjs addConfig [path/to/configuration/json]"},{"component":"div","children":"$ node index.js --cli --crud=ext --crud_op=create --crud_arg=[path/to/configuration/json]"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//example manually adding configuration"},{"component":"br"},{"component":"div","children":"$ periodicjs addConfig /home/myuser/documents/projects/appconfig-dev.json"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//remove configuration"},{"component":"br"},{"component":"div","children":"$ periodicjs rco [id-of-configuration-doc]"},{"component":"div","children":"$ periodicjs removeConfig [id-of-configuration-doc]"},{"component":"div","children":"$ node index.js --cli --crud=ext --crud_op=remove --crud_arg=[id-of-configuration-doc]"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//example manually removing bdb7aa6485aebe8ac81992def07c6f96"},{"component":"br"},{"component":"div","children":"$ periodicjs removeConfig bdb7aa6485aebe8ac81992def07c6f96"}]},"extension":{"component":"code","props":{"style":{"display":"block","border":"1px solid #d3d6db","boxShadow":"inset 0 1px 2px rgba(17,17,17,.1)","padding":"0.5rem","backgroundColor":"whitesmoke"}},"children":[{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//add extension"},{"component":"br"},{"component":"div","children":"$ periodicjs aex [name-of-extension]"},{"component":"div","children":"$ periodicjs addExtension [name-of-extension]"},{"component":"div","children":"$ node index.js --cli --crud=ext --crud_op=create --crud_arg=[name-of-extension]"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//example manually adding periodicjs.ext.passport"},{"component":"br"},{"component":"div","children":"$ npm i periodicjs.ext.passport"},{"component":"div","children":"$ periodicjs addExtension periodicjs.ext.passport"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//remove extension"},{"component":"br"},{"component":"div","children":"$ periodicjs rex [name-of-extension]"},{"component":"div","children":"$ periodicjs removeExtension [name-of-extension]"},{"component":"div","children":"$ node index.js --cli --crud=ext --crud_op=remove --crud_arg=[name-of-extension]"},{"component":"br"},{"component":"em","props":{"style":{"color":"lightslategrey"}},"children":"//example manually removing periodicjs.ext.passport"},{"component":"br"},{"component":"div","children":"$ periodicjs removeExtension periodicjs.ext.passport"},{"component":"div","children":"$ npm rm periodicjs.ext.passport"}]}}},"additional_js_files":{"header":[],"footer":[]}}
</script>
</head>
<body>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start`.
To create a production bundle, use `npm run build`.
-->
<script type="text/javascript">
function updatePreview(e, formElement){
// console.warn('updatePreview this',this);
// console.warn('updatePreview arguments',arguments);
// console.warn('updatePreview',{e, formElement});
// // return {};
// console.warn('this.setState',this.setState);
const original_function_body = this.state.reduction_function;
try {
const numeral = window.__reactapp.__ra_helpers.numeral;
const moment = window.__reactapp.__ra_helpers.moment;
const props = {numeral,moment,luxon};
const functionBody = '"use strict";\n var window={}; var document={}; var global={};'+this.state.reduction_function;
const reduceTransform = Function('datasetData',functionBody);
Object.defineProperty(
reduceTransform,
'name',
{
value: 'reduceTransform',
}
);
// console.log({functionBody,props,});
const preview = reduceTransform.call({props},this.state.dataset_data);
// console.log({preview});
this.setState({preview});
} catch(e){
this.setState({reduction_function:original_function_body})
console.error(e);
this.props.errorNotification(e);
}
}
function formRedirect(options){
var pathname = window.location.pathname;
var dimension = options.dimension||'';
var redirectpath = pathname+'/?property='+options.property+'&start_date='+options.start_date+'&end_date='+options.end_date+'&dimension='+dimension.split('/').filter(p=>p).join('/');
var fixedpath = (redirectpath.charAt(0)==='/')?redirectpath:'/'+redirectpath;
this.props.reduxRouter.push(redirectpath.replace(/\/\//gi,''));
}
function testRef(component){
console.warn({component});
}
/*
window.__reactapp = Object.assign({}, {
__ra_helpers: {
numeral,
moment,
capitalize,
pluralize,
},
}, window.__reactapp);
*/
</script>
<script>
function routerRedirect(formdata){
// console.log({formdata});
const nonFormFields = [ '$loki', 'formDataError', 'meta', '__formIsSubmitting', '__formOptions', ];
const fields = Object.keys(formdata).filter(field=>nonFormFields.indexOf(field)===-1);
const qs = fields.reduce((querystring,field)=>{
if(typeof formdata[field] !=='undefined') querystring+='&'+field+'='+formdata[field]+'';
return querystring;
},'');
const pathname = window.location.pathname;
const redirect = pathname+'?'+qs;
// console.log({ fields, qs, pathname, redirect});
this.props.reduxRouter.push(redirect);
}
function testRef(element){
console.warn('testing ref',{element})
}
function getDBQueryFormRef(element){
window.__elmRef_data_warehouse_db_form = element;
}
function getDBQueryResultsRef(element){
window.__elmRef_data_warehouse_db_results = element;
}
function setDBQueryResults(responseData){
// console.warn({responseData});
const data = responseData.data;
const resourses = Object.keys(data).reduce((result,item,index)=>{
result.push(data[item]);
return result;
},[]) ;
// console.log('resourses',resourses)
window.__elmRef_data_warehouse_db_results.setState({hasLoaded:false},()=>{
__elmRef_data_warehouse_db_results.assignResources( resourses);
});
}
function getPreviewVizRef(element){
console.warn({element})
if(element){
if(element.props.visualization_id!==window.__elmRef_previewViz.visualization_id){
window.__elmRef_previewViz.visualization_id = element.props.visualization_id;
window.__elmRef_previewViz.tabs = {};
}
window.__elmRef_previewViz.tabs[element.props.tabIndex]=element;
}
}
window.__elmRef_previewViz={
visualization_id:undefined,
tabs:{},
};
function handleVizTypeChance(element){
const chartType = document.querySelector('.chart_type_'+element.tabIndex);
const chartProps = document.querySelector('.chart_props_'+element.tabIndex);
const chartGraph = document.querySelector('.chart_graph_'+element.tabIndex);
const chartGraphItem = document.querySelector('.chart_graph_items_'+element.tabIndex);
const chartPie = document.querySelector('.chart_pie_'+element.tabIndex);
// console.log({element, chartType},'this',this)
if(this.state[element.name] !=='chart'){
chartType.classList.add('__rep_hide');
chartProps.classList.add('__rep_hide');
chartGraph.classList.add('__rep_hide');
chartGraphItem.classList.add('__rep_hide');
chartPie.classList.add('__rep_hide');
} else{
chartType.classList.remove('__rep_hide');
chartProps.classList.remove('__rep_hide');
chartGraph.classList.remove('__rep_hide');
chartGraphItem.classList.remove('__rep_hide');
chartPie.classList.remove('__rep_hide');
}
}
function getFilterQueryRef(element){
// console.warn('SETTING FILTER FORM')
window.__elmRef_filter_query_form = element;
}
</script>
<style>
/*
https://color.adobe.com/Slate-Modern-color-theme-7914924/edit/?copy=true&base=2&rule=Custom&selected=2&name=Copy%20of%20Slate%20Modern&mode=rgb&rgbvalues=0.843137,0.360784,0.215686,0.188235,0.203922,0.219608,0.411765,0.568627,0.67451,0.764706,0.843137,0.87451,0.960784,0.917647,0.705882&swatchOrder=0,1,2,3,4
primary color: #6991AC
*/
body,
body.__ra_mc_loaded.__reactapp_body_loaded{
overflow-y: auto;
overflow-x: hidden;
}
html{
overflow-x: hidden;
}
div#root{
min-height: 100%;
height: auto;
}
dt{
font-weight: bold;
}
a {
color: #6991AC;
}
.__re-bulma_button.__re-bulma_is-primary.__re-bulma_is-outlined {
background-color: transparent;
border-color: #6991AC;
color: #6991AC;
}
.__re-bulma_button.__re-bulma_is-primary {
background-color: #6991AC;
border-color: transparent;
color: #fff;
}
.__re-bulma_button.__re-bulma_is-primary.__re-bulma_is-outlined:focus, .__re-bulma_button.__re-bulma_is-primary.__re-bulma_is-outlined:hover {
background-color: #6991AC;
border-color: #6991AC;
color: #fff;
}
.__re-bulma_hero.__re-bulma_is-white .__re-bulma_nav-item a:not(.__re-bulma_button).__re-bulma_is-active, .__re-bulma_hero.__re-bulma_is-white .__re-bulma_nav-item a:not(.__re-bulma_button):hover, .__re-bulma_hero.__re-bulma_is-white .__re-bulma_tabs.__re-bulma_is-boxed a, .__re-bulma_hero.__re-bulma_is-white .__re-bulma_tabs.__re-bulma_is-boxed span, .__re-bulma_hero.__re-bulma_is-white .__re-bulma_tabs.__re-bulma_is-toggle a, .__re-bulma_hero.__re-bulma_is-white .__re-bulma_tabs.__re-bulma_is-toggle span, .__re-bulma_hero.__re-bulma_is-white a.__re-bulma_nav-item.__re-bulma_is-active, .__re-bulma_hero.__re-bulma_is-white a.__re-bulma_nav-item:hover{
color: #6991AC;
}
.__re-bulma_notification.__re-bulma_is-primary {
background-color: #6991AC;
color: #fff;
}
.__re-bulma_button.__re-bulma_is-primary.__re-bulma_is-active, .__re-bulma_button.__re-bulma_is-primary:focus, .__re-bulma_button.__re-bulma_is-primary:hover {
border-color: transparent;
color: #fff;
background-color: #627e92;
}
.rc-switch-checked {
border: 1px solid #6991AC;
background-color: #6991AC;
}
.__re-bulma_card-header-title {
color: whitesmoke;
background-color: #303438;
}
.__re-bulma_card-header-icon {
background-color: #303438;
}
.__re-bulma_select:after {
border-color: #6991AC;
}
.__re-bulma_button.__re-bulma_is-active, .__re-bulma_button:focus, button:active {
border-color: #6991AC;
}
.__re-bulma_input.__re-bulma_is-active, .__re-bulma_input:active, .__re-bulma_input:focus, .__re-bulma_is-active.__re-bulma_textarea, .__re-bulma_textarea:active, .__re-bulma_textarea:focus {
border-color: #6991AC;
/* outline: 0; */
}
.__re-bulma_select select.__re-bulma_is-active, .__re-bulma_select select:active, .__re-bulma_select select:focus {
border-color: #6991AC;
/* outline: 0; */
}
.__re-bulma_tabs li.__re-bulma_is-active a, .__re-bulma_tabs li.__re-bulma_is-active span {
/* border-bottom-color: #1fc8db; */
color: #6991AC;
}
.__re-bulma_hero.__re-bulma_is-primary {
background-color: #6991AC;
color: #fff;
}
.__rep_tab .__re-bulma_tabs li {
display: block;
bottom: -2px;
position: relative;
}
.__re-bulma_modal-card-head {
vertical-align: baseline;
background-color: #303438;
border-bottom: 1px solid #d3d6db;
}
.__re-bulma_modal-card-title {
/* margin: 0;
padding: 0;
border: 0;
font-weight: 400;
vertical-align: baseline;
background-color: transparent; */
color: #fff;
/* -webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
font-size: 24px;
line-height: 1; */
}
.__re-bulma_hero-body {
padding: 40px 20px ;
}
.carousel .slide section{
text-align: left;
}
.carousel .slide .__re-bulma_media-left {
margin: 0 10px 0 0;
padding: 0;
}
.Medium-Speed{
animation-duration: .5s;
}
.__rep_data_table_column{
max-width: 15rem;
text-overflow: ellipsis;
overflow: hidden;
}
.__rep_data_table_column:hover{
word-break: break-all;
}
.__re-bulma_modal.__rep_use_side_preview {
width: 90%;
margin: auto;
}
.__re-bulma_modal.__rep_use_side_preview .__re-bulma_modal-card.__re-bulma_modal_card{
min-width: 95%;
width: auto;
}
.__rep_hide_preview{
display:none;
}
.__rep_drop_cap:first-child::first-letter{
/* color: #903; */
float: left ;
/* font-family: Georgia; */
font-size: 3rem ;
line-height: 2rem ;
/* padding-top: 4px;
padding-right: 8px;
padding-left: 3px; */
}
.__rep_menu_dropdown{
padding: .5rem 0;
}
.__re-bulma_select input,
.__re-bulma_select textarea,
.__re-bulma_select select,
.__re-bulma_select button {
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif ;
}
.__rep_menu_dropdown .__rep_menu_dropdown_content{
display: none;
position: absolute ;
flex-direction: column;
top:3rem;
padding:1rem;
background:#fff;
z-index: 1000;
box-shadow: rgba(17, 17, 17, 0.1) 0px 2px 3px, rgba(17, 17, 17, 0.1) 0px 0px 0px 1px;
text-align: left;
}
.__rep_menu_dropdown:hover .__rep_menu_dropdown_content{
display: flex;
}
.__rep_menu_dropdown .__rep_menu_dropdown_content .__rep_menu_dropdown {
padding: 0;
}
.__rep_title_container .__re-bulma_select select{
background-color: transparent;
border-color: #6991AC;
color: #6991AC;
}
.__re-bulma_hero.__re-bulma_is-white .__re-bulma_tabs.__re-bulma_is-boxed li.__re-bulma_is-active a, .__re-bulma_hero.__re-bulma_is-white .__re-bulma_tabs.__re-bulma_is-boxed li.__re-bulma_is-active a:hover, .__re-bulma_hero.__re-bulma_is-white .__re-bulma_tabs.__re-bulma_is-boxed li.__re-bulma_is-active span, .__re-bulma_hero.__re-bulma_is-white .__re-bulma_tabs.__re-bulma_is-boxed li.__re-bulma_is-active span:hover, .__re-bulma_hero.__re-bulma_is-white .__re-bulma_tabs.__re-bulma_is-toggle li.__re-bulma_is-active a, .__re-bulma_hero.__re-bulma_is-white .__re-bulma_tabs.__re-bulma_is-toggle li.__re-bulma_is-active a:hover, .__re-bulma_hero.__re-bulma_is-white .__re-bulma_tabs.__re-bulma_is-toggle li.__re-bulma_is-active span, .__re-bulma_hero.__re-bulma_is-white .__re-bulma_tabs.__re-bulma_is-toggle li.__re-bulma_is-active span:hover {
background-color: #fff;
border-color: #d3d6db;
border-bottom-color: transparent ;
color: #6991AC;
}
.__re-bulma_tabs a, .__re-bulma_tabs span {
color: #69707a;
}
.__re-bulma_hero .__re-bulma_tabs ul {
border-bottom: 1px solid #d3d6db;
}
/*for desktop*/
@media screen and (min-width: 769px){
.is-hidden-tablet {
display:none;
}
}
/*for mobile*/
@media screen and (max-width: 768px){
.__re-bulma_nav{
padding:0 1rem;
}
.__re-bulma_columns.mobile-spacing .__re-bulma_column{
margin:4rem 0;
}
.__re-bulma_hero-body {
padding: 60px 20px ;
}
}
</style>
</body>
</html>