diff --git a/BExIS.DPT_BE.Entities/BExIS.DPT_BE.Entities.csproj b/BExIS.DPT_BE.Entities/BExIS.DPT_BE.Entities.csproj deleted file mode 100644 index 5a38a9d..0000000 --- a/BExIS.DPT_BE.Entities/BExIS.DPT_BE.Entities.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {72DF8CC2-7DF1-410D-B578-A8D9739F0941} - Library - Properties - BExIS.DPT_BE.Entities - BExIS.DPT_BE.Entities - v4.5.2 - 512 - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - ..\..\..\..\..\Libraries\Vaiona\Vaiona.Entities.dll - - - - - - - - - - \ No newline at end of file diff --git a/BExIS.DPT_BE.Entities/Properties/AssemblyInfo.cs b/BExIS.DPT_BE.Entities/Properties/AssemblyInfo.cs deleted file mode 100644 index 8e45e14..0000000 --- a/BExIS.DPT_BE.Entities/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("BExIS.DPT_BE.Entities")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("BExIS.DPT_BE.Entities.Properties")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("6cd81af7-1ffc-45d2-a218-44023104364d")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/BExIS.DPT_BE.Orm.NH/BExIS.DPT_BE.Orm.NH.csproj b/BExIS.DPT_BE.Orm.NH/BExIS.DPT_BE.Orm.NH.csproj deleted file mode 100644 index 164e063..0000000 --- a/BExIS.DPT_BE.Orm.NH/BExIS.DPT_BE.Orm.NH.csproj +++ /dev/null @@ -1,57 +0,0 @@ - - - - - Debug - AnyCPU - {F7DF1FCE-3B98-4C5A-8DEE-B97BD8FE663B} - Library - Properties - BExIS.DPT_BE.Orm.NH - BExIS.DPT_BE.Orm.NH - v4.5.2 - 512 - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/BExIS.DPT_BE.Orm.NH/Properties/AssemblyInfo.cs b/BExIS.DPT_BE.Orm.NH/Properties/AssemblyInfo.cs deleted file mode 100644 index 3e90260..0000000 --- a/BExIS.DPT_BE.Orm.NH/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("BExIS.DPT_BE.Orm.NH")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("BExIS.DPT_BE.Orm.NH.Properties")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("0160bedd-b3e3-4049-9fc9-113cd3e22cb6")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/BExIS.DPT_BE.Services/BExIS.DPT_BE.Services.csproj b/BExIS.DPT_BE.Services/BExIS.DPT_BE.Services.csproj deleted file mode 100644 index 919fa17..0000000 --- a/BExIS.DPT_BE.Services/BExIS.DPT_BE.Services.csproj +++ /dev/null @@ -1,59 +0,0 @@ - - - - - Debug - AnyCPU - {69D0B57F-2631-4D5E-A4FE-8115F4B19387} - Library - Properties - BExIS.DPT_BE.Services - BExIS.DPT_BE.Services - v4.5.2 - 512 - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - ..\..\..\..\..\Libraries\Vaiona\Vaiona.Entities.dll - - - ..\..\..\..\..\Libraries\Vaiona\Vaiona.Persistence.Api.dll - - - - - {9472D367-8FB1-4009-B648-104B3D015CE9} - BEXIS.SWS.Entities - - - - - - - \ No newline at end of file diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/.eslintignore b/BExIS.Modules.DPT_BE.UI.Svelte/.eslintignore new file mode 100644 index 0000000..3897265 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/.eslintignore @@ -0,0 +1,13 @@ +.DS_Store +node_modules +/build +/.svelte-kit +/package +.env +.env.* +!.env.example + +# Ignore files for PNPM, NPM and YARN +pnpm-lock.yaml +package-lock.json +yarn.lock diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/.eslintrc.cjs b/BExIS.Modules.DPT_BE.UI.Svelte/.eslintrc.cjs new file mode 100644 index 0000000..3ccf435 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/.eslintrc.cjs @@ -0,0 +1,20 @@ +module.exports = { + root: true, + parser: '@typescript-eslint/parser', + extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'], + plugins: ['svelte3', '@typescript-eslint'], + ignorePatterns: ['*.cjs'], + overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }], + settings: { + 'svelte3/typescript': () => require('typescript') + }, + parserOptions: { + sourceType: 'module', + ecmaVersion: 2020 + }, + env: { + browser: true, + es2017: true, + node: true + } +}; diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/.gitignore b/BExIS.Modules.DPT_BE.UI.Svelte/.gitignore index da93220..c3dae66 100644 --- a/BExIS.Modules.DPT_BE.UI.Svelte/.gitignore +++ b/BExIS.Modules.DPT_BE.UI.Svelte/.gitignore @@ -1,4 +1,11 @@ -/node_modules/ -/public/build/ - .DS_Store +node_modules +/build +/dist +/.svelte-kit +/package +.env +.env.* +!.env.example +vite.config.js.timestamp-* +_app diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/.npmrc b/BExIS.Modules.DPT_BE.UI.Svelte/.npmrc new file mode 100644 index 0000000..b6f27f1 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/.prettierignore b/BExIS.Modules.DPT_BE.UI.Svelte/.prettierignore new file mode 100644 index 0000000..3897265 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/.prettierignore @@ -0,0 +1,13 @@ +.DS_Store +node_modules +/build +/.svelte-kit +/package +.env +.env.* +!.env.example + +# Ignore files for PNPM, NPM and YARN +pnpm-lock.yaml +package-lock.json +yarn.lock diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/.prettierrc b/BExIS.Modules.DPT_BE.UI.Svelte/.prettierrc new file mode 100644 index 0000000..a77fdde --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/.prettierrc @@ -0,0 +1,9 @@ +{ + "useTabs": true, + "singleQuote": true, + "trailingComma": "none", + "printWidth": 100, + "plugins": ["prettier-plugin-svelte"], + "pluginSearchDirs": ["."], + "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] +} diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/.vscode/settings.json b/BExIS.Modules.DPT_BE.UI.Svelte/.vscode/settings.json new file mode 100644 index 0000000..54a4399 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/.vscode/settings.json @@ -0,0 +1,77 @@ +{ + "tailwindCSS.classAttributes": [ + "class", + "accent", + "active", + "background", + "badge", + "border", + "borderColor", + "borderWidth", + "button", + "buttonBack", + "buttonClasses", + "buttonComplete", + "buttonNext", + "buttonTextNext", + "buttonTextPrevious", + "chips", + "color", + "cursor", + "display", + "element", + "fill", + "flex", + "gap", + "gridColumns", + "height", + "hover", + "invalid", + "justify", + "meter", + "padding", + "regionBody", + "regionCaption", + "regionCaret", + "regionCone", + "regionContent", + "regionControl", + "regionDefault", + "regionFoot", + "regionHead", + "regionHeader", + "regionIcon", + "regionInterface", + "regionInterfaceText", + "regionLabel", + "regionLead", + "regionLegend", + "regionList", + "regionNavigation", + "regionPage", + "regionPanel", + "regionRowHeadline", + "regionRowMain", + "regionTrail", + "rounded", + "select", + "shadow", + "slotDefault", + "slotFooter", + "slotHeader", + "slotLead", + "slotMessage", + "slotMeta", + "slotPageContent", + "slotPageFooter", + "slotPageHeader", + "slotSidebarLeft", + "slotSidebarRight", + "slotTrail", + "space", + "spacing", + "text", + "track", + "width" + ] +} diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/README.md b/BExIS.Modules.DPT_BE.UI.Svelte/README.md index 8ca4fca..5c91169 100644 --- a/BExIS.Modules.DPT_BE.UI.Svelte/README.md +++ b/BExIS.Modules.DPT_BE.UI.Svelte/README.md @@ -1,109 +1,38 @@ -*Psst — looking for a more complete solution? Check out [SvelteKit](https://kit.svelte.dev), the official framework for building web applications of all sizes, with a beautiful development experience and flexible filesystem-based routing.* +# create-svelte -*Looking for a shareable component template instead? You can [use SvelteKit for that as well](https://kit.svelte.dev/docs#packaging) or the older [sveltejs/component-template](https://github.com/sveltejs/component-template)* +Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte). ---- +## Creating a project -# svelte app - -This is a project template for [Svelte](https://svelte.dev) apps. It lives at https://github.com/sveltejs/template. - -To create a new project based on this template using [degit](https://github.com/Rich-Harris/degit): - -```bash -npx degit sveltejs/template svelte-app -cd svelte-app -``` - -*Note that you will need to have [Node.js](https://nodejs.org) installed.* - - -## Get started - -Install the dependencies... - -```bash -cd svelte-app -npm install -``` - -...then start [Rollup](https://rollupjs.org): - -```bash -npm run dev -``` - -Navigate to [localhost:8080](http://localhost:8080). You should see your app running. Edit a component file in `src`, save it, and reload the page to see your changes. - -By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the `sirv` commands in package.json to include the option `--host 0.0.0.0`. - -If you're using [Visual Studio Code](https://code.visualstudio.com/) we recommend installing the official extension [Svelte for VS Code](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode). If you are using other editors you may need to install a plugin in order to get syntax highlighting and intellisense. - -## Building and running in production mode - -To create an optimised version of the app: - -```bash -npm run build -``` - -You can run the newly built app with `npm run start`. This uses [sirv](https://github.com/lukeed/sirv), which is included in your package.json's `dependencies` so that the app will work when you deploy to platforms like [Heroku](https://heroku.com). - - -## Single-page app mode - -By default, sirv will only respond to requests that match files in `public`. This is to maximise compatibility with static fileservers, allowing you to deploy your app anywhere. - -If you're building a single-page app (SPA) with multiple routes, sirv needs to be able to respond to requests for *any* path. You can make it so by editing the `"start"` command in package.json: - -```js -"start": "sirv public --single" -``` - -## Using TypeScript - -This template comes with a script to set up a TypeScript development environment, you can run it immediately after cloning the template with: +If you're seeing this, you've probably already done this step. Congrats! ```bash -node scripts/setupTypeScript.js -``` +# create a new project in the current directory +npm create svelte@latest -Or remove the script via: - -```bash -rm scripts/setupTypeScript.js +# create a new project in my-app +npm create svelte@latest my-app ``` -If you want to use `baseUrl` or `path` aliases within your `tsconfig`, you need to set up `@rollup/plugin-alias` to tell Rollup to resolve the aliases. For more info, see [this StackOverflow question](https://stackoverflow.com/questions/63427935/setup-tsconfig-path-in-svelte). - -## Deploying to the web +## Developing -### With [Vercel](https://vercel.com) - -Install `vercel` if you haven't already: +Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: ```bash -npm install -g vercel -``` - -Then, from within your project folder: +npm run dev -```bash -cd public -vercel deploy --name my-project +# or start the server and open the app in a new browser tab +npm run dev -- --open ``` -### With [surge](https://surge.sh/) +## Building -Install `surge` if you haven't already: +To create a production version of your app: ```bash -npm install -g surge +npm run build ``` -Then, from within your project folder: +You can preview the production build with `npm run preview`. -```bash -npm run build -surge public my-project.surge.sh -``` +> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/package-lock.json b/BExIS.Modules.DPT_BE.UI.Svelte/package-lock.json deleted file mode 100644 index cb5b62c..0000000 --- a/BExIS.Modules.DPT_BE.UI.Svelte/package-lock.json +++ /dev/null @@ -1,2065 +0,0 @@ -{ - "name": "svelte-app", - "version": "1.0.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "svelte-app", - "version": "1.0.0", - "dependencies": { - "sirv-cli": "^2.0.0", - "sveltestrap": "^5.9.0" - }, - "devDependencies": { - "@bexis2/svelte-bexis2-core-ui": "file:../../../../../../../core_svelte/svelte-bexis2-core-ui", - "@rollup/plugin-commonjs": "^17.0.0", - "@rollup/plugin-node-resolve": "^11.0.0", - "rollup": "^2.3.4", - "rollup-plugin-css-only": "^3.1.0", - "rollup-plugin-livereload": "^2.0.0", - "rollup-plugin-svelte": "^7.0.0", - "rollup-plugin-terser": "^7.0.0", - "svelte": "^3.49.0" - } - }, - "../../../../../../../_svelte_workspace/svelte-bexis2-core-ui": { - "version": "0.0.4", - "extraneous": true, - "license": "GPL-3.0-or-later", - "dependencies": { - "@fortawesome/fontawesome-free": "^5.15.3", - "@fortawesome/fontawesome-svg-core": "^1.2.35", - "@fortawesome/free-regular-svg-icons": "^5.15.4", - "@fortawesome/free-solid-svg-icons": "^5.15.3", - "@storybook/addon-cssresources": "^6.2.9", - "axios": "0.21.1", - "fontawesome-svelte": "^2.0.1", - "svelte-fa": "^2.2.1", - "svelte-file-dropzone": "0.0.16-dev.0", - "sveltestrap": "^5.5.1", - "vest": "^4.2.2" - }, - "devDependencies": { - "@babel/core": "^7.14.8", - "@rollup/plugin-node-resolve": "^9.0.0", - "babel-loader": "^8.2.2", - "rollup": "^2.0.0", - "rollup-plugin-svelte": "^6.0.0", - "svelte": "^3.41.0", - "svelte-loader": "^3.1.2" - } - }, - "../../../../../../../core_svelte/svelte-bexis2-core-ui": { - "name": "@bexis2/svelte-bexis2-core-ui", - "version": "0.0.4", - "dev": true, - "license": "GPL-3.0-or-later", - "dependencies": { - "@fortawesome/fontawesome-free": "^5.15.3", - "@fortawesome/fontawesome-svg-core": "^1.2.35", - "@fortawesome/free-regular-svg-icons": "^5.15.4", - "@fortawesome/free-solid-svg-icons": "^5.15.3", - "@storybook/addon-cssresources": "^6.2.9", - "axios": "0.21.1", - "fontawesome-svelte": "^2.0.1", - "svelte-fa": "^2.2.1", - "svelte-file-dropzone": "0.0.16-dev.0", - "sveltestrap": "^5.5.1", - "vest": "^4.2.2" - }, - "devDependencies": { - "@babel/core": "^7.14.8", - "@rollup/plugin-node-resolve": "^9.0.0", - "babel-loader": "^8.2.2", - "rollup": "^2.0.0", - "rollup-plugin-svelte": "^6.0.0", - "svelte": "^3.41.0", - "svelte-loader": "^3.1.2" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.9.tgz", - "integrity": "sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@bexis2/svelte-bexis2-core-ui": { - "resolved": "../../../../../../../core_svelte/svelte-bexis2-core-ui", - "link": true - }, - "node_modules/@polka/url": { - "version": "1.0.0-next.21", - "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.21.tgz", - "integrity": "sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==" - }, - "node_modules/@popperjs/core": { - "version": "2.11.6", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz", - "integrity": "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } - }, - "node_modules/@rollup/plugin-commonjs": { - "version": "17.1.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-17.1.0.tgz", - "integrity": "sha512-PoMdXCw0ZyvjpCMT5aV4nkL0QywxP29sODQsSGeDpr/oI49Qq9tRtAsb/LbYbDzFlOydVEqHmmZWFtXJEAX9ew==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^3.1.0", - "commondir": "^1.0.1", - "estree-walker": "^2.0.1", - "glob": "^7.1.6", - "is-reference": "^1.2.1", - "magic-string": "^0.25.7", - "resolve": "^1.17.0" - }, - "engines": { - "node": ">= 8.0.0" - }, - "peerDependencies": { - "rollup": "^2.30.0" - } - }, - "node_modules/@rollup/plugin-node-resolve": { - "version": "11.2.1", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.1.tgz", - "integrity": "sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^3.1.0", - "@types/resolve": "1.17.1", - "builtin-modules": "^3.1.0", - "deepmerge": "^4.2.2", - "is-module": "^1.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "peerDependencies": { - "rollup": "^1.20.0||^2.0.0" - } - }, - "node_modules/@rollup/pluginutils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", - "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", - "dev": true, - "dependencies": { - "@types/estree": "0.0.39", - "estree-walker": "^1.0.1", - "picomatch": "^2.2.2" - }, - "engines": { - "node": ">= 8.0.0" - }, - "peerDependencies": { - "rollup": "^1.20.0||^2.0.0" - } - }, - "node_modules/@rollup/pluginutils/node_modules/estree-walker": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", - "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", - "dev": true - }, - "node_modules/@types/estree": { - "version": "0.0.39", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", - "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", - "dev": true - }, - "node_modules/@types/node": { - "version": "17.0.32", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.32.tgz", - "integrity": "sha512-eAIcfAvhf/BkHcf4pkLJ7ECpBAhh9kcxRBpip9cTiO+hf+aJrsxYxBeS6OXvOd9WqNAJmavXVpZvY1rBjNsXmw==", - "dev": true - }, - "node_modules/@types/resolve": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", - "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "node_modules/builtin-modules": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", - "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", - "dev": true, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "node_modules/commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", - "dev": true - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "node_modules/console-clear": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/console-clear/-/console-clear-1.1.1.tgz", - "integrity": "sha512-pMD+MVR538ipqkG5JXeOEbKWS5um1H4LUUccUQG68qpeqBYbzYy79Gh55jkd2TtPdRfUaLWdv6LPP//5Zt0aPQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "dev": true - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "node_modules/get-port": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", - "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=", - "engines": { - "node": ">=4" - } - }, - "node_modules/glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-core-module": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", - "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", - "dev": true, - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", - "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", - "dev": true - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-reference": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz", - "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", - "dev": true, - "dependencies": { - "@types/estree": "*" - } - }, - "node_modules/jest-worker": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", - "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", - "dev": true, - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^7.0.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/jest-worker/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "node_modules/kleur": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.4.tgz", - "integrity": "sha512-8QADVssbrFjivHWQU7KkMgptGTl6WAcSdlbBPY4uNF+mWr6DGcKrvY2w4FQJoXch7+fKMjj0dRrL75vk3k23OA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/livereload": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/livereload/-/livereload-0.9.3.tgz", - "integrity": "sha512-q7Z71n3i4X0R9xthAryBdNGVGAO2R5X+/xXpmKeuPMrteg+W2U8VusTKV3YiJbXZwKsOlFlHe+go6uSNjfxrZw==", - "dev": true, - "dependencies": { - "chokidar": "^3.5.0", - "livereload-js": "^3.3.1", - "opts": ">= 1.2.0", - "ws": "^7.4.3" - }, - "bin": { - "livereload": "bin/livereload.js" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/livereload-js": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/livereload-js/-/livereload-js-3.4.0.tgz", - "integrity": "sha512-F/pz9ZZP+R+arY94cECTZco7PXgBXyL+KVWUPZq8AQE9TOu14GV6fYeKOviv02JCvFa4Oi3Rs1hYEpfeajc+ow==", - "dev": true - }, - "node_modules/local-access": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/local-access/-/local-access-1.1.0.tgz", - "integrity": "sha512-XfegD5pyTAfb+GY6chk283Ox5z8WexG56OvM06RWLpAc/UHozO8X6xAxEkIitZOtsSMM1Yr3DkHgW5W+onLhCw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/lodash.sortby": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", - "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=", - "dev": true - }, - "node_modules/magic-string": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", - "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", - "dev": true, - "dependencies": { - "sourcemap-codec": "^1.4.8" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/mri": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", - "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", - "engines": { - "node": ">=4" - } - }, - "node_modules/mrmime": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-1.0.0.tgz", - "integrity": "sha512-a70zx7zFfVO7XpnQ2IX1Myh9yY4UYvfld/dikWRnsXxbyvMcfz+u6UfgNAtH+k2QqtJuzVpv6eLTx1G2+WKZbQ==", - "engines": { - "node": ">=10" - } - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/opts": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/opts/-/opts-2.0.2.tgz", - "integrity": "sha512-k41FwbcLnlgnFh69f4qdUfvDQ+5vaSDnVPFI/y5XuhKRq97EnVVneO9F1ESVCdiVu4fCS2L8usX3mU331hB7pg==", - "dev": true - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/require-relative": { - "version": "0.8.7", - "resolved": "https://registry.npmjs.org/require-relative/-/require-relative-0.8.7.tgz", - "integrity": "sha1-eZlTn8ngR6N5KPoZb44VY9q9Nt4=", - "dev": true - }, - "node_modules/resolve": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", - "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.8.1", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/rollup": { - "version": "2.72.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.72.1.tgz", - "integrity": "sha512-NTc5UGy/NWFGpSqF1lFY8z9Adri6uhyMLI6LvPAXdBKoPRFhIIiBUpt+Qg2awixqO3xvzSijjhnb4+QEZwJmxA==", - "dev": true, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=10.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/rollup-plugin-css-only": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-css-only/-/rollup-plugin-css-only-3.1.0.tgz", - "integrity": "sha512-TYMOE5uoD76vpj+RTkQLzC9cQtbnJNktHPB507FzRWBVaofg7KhIqq1kGbcVOadARSozWF883Ho9KpSPKH8gqA==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "4" - }, - "engines": { - "node": ">=10.12.0" - }, - "peerDependencies": { - "rollup": "1 || 2" - } - }, - "node_modules/rollup-plugin-css-only/node_modules/@rollup/pluginutils": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", - "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", - "dev": true, - "dependencies": { - "estree-walker": "^2.0.1", - "picomatch": "^2.2.2" - }, - "engines": { - "node": ">= 8.0.0" - } - }, - "node_modules/rollup-plugin-livereload": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/rollup-plugin-livereload/-/rollup-plugin-livereload-2.0.5.tgz", - "integrity": "sha512-vqQZ/UQowTW7VoiKEM5ouNW90wE5/GZLfdWuR0ELxyKOJUIaj+uismPZZaICU4DnWPVjnpCDDxEqwU7pcKY/PA==", - "dev": true, - "dependencies": { - "livereload": "^0.9.1" - }, - "engines": { - "node": ">=8.3" - } - }, - "node_modules/rollup-plugin-svelte": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-svelte/-/rollup-plugin-svelte-7.1.0.tgz", - "integrity": "sha512-vopCUq3G+25sKjwF5VilIbiY6KCuMNHP1PFvx2Vr3REBNMDllKHFZN2B9jwwC+MqNc3UPKkjXnceLPEjTjXGXg==", - "dev": true, - "dependencies": { - "require-relative": "^0.8.7", - "rollup-pluginutils": "^2.8.2" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "rollup": ">=2.0.0", - "svelte": ">=3.5.0" - } - }, - "node_modules/rollup-plugin-terser": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", - "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.10.4", - "jest-worker": "^26.2.1", - "serialize-javascript": "^4.0.0", - "terser": "^5.0.0" - }, - "peerDependencies": { - "rollup": "^2.0.0" - } - }, - "node_modules/rollup-pluginutils": { - "version": "2.8.2", - "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", - "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", - "dev": true, - "dependencies": { - "estree-walker": "^0.6.1" - } - }, - "node_modules/rollup-pluginutils/node_modules/estree-walker": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", - "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", - "dev": true - }, - "node_modules/sade": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz", - "integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==", - "dependencies": { - "mri": "^1.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/semiver": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/semiver/-/semiver-1.1.0.tgz", - "integrity": "sha512-QNI2ChmuioGC1/xjyYwyZYADILWyW6AmS1UH6gDj/SFUUUS4MBAWs/7mxnkRPc/F4iHezDP+O8t0dO8WHiEOdg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/sirv": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/sirv/-/sirv-2.0.2.tgz", - "integrity": "sha512-4Qog6aE29nIjAOKe/wowFTxOdmbEZKb+3tsLljaBRzJwtqto0BChD2zzH0LhgCSXiI+V7X+Y45v14wBZQ1TK3w==", - "dependencies": { - "@polka/url": "^1.0.0-next.20", - "mrmime": "^1.0.0", - "totalist": "^3.0.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/sirv-cli": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/sirv-cli/-/sirv-cli-2.0.2.tgz", - "integrity": "sha512-OtSJDwxsF1NWHc7ps3Sa0s+dPtP15iQNJzfKVz+MxkEo3z72mCD+yu30ct79rPr0CaV1HXSOBp+MIY5uIhHZ1A==", - "dependencies": { - "console-clear": "^1.1.0", - "get-port": "^3.2.0", - "kleur": "^4.1.4", - "local-access": "^1.0.1", - "sade": "^1.6.0", - "semiver": "^1.0.0", - "sirv": "^2.0.0", - "tinydate": "^1.0.0" - }, - "bin": { - "sirv": "bin.js" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/source-map": { - "version": "0.8.0-beta.0", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz", - "integrity": "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==", - "dev": true, - "dependencies": { - "whatwg-url": "^7.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/source-map-support/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sourcemap-codec": { - "version": "1.4.8", - "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", - "dev": true - }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/svelte": { - "version": "3.49.0", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.49.0.tgz", - "integrity": "sha512-+lmjic1pApJWDfPCpUUTc1m8azDqYCG1JN9YEngrx/hUyIcFJo6VZhj0A1Ai0wqoHcEIuQy+e9tk+4uDgdtsFA==", - "engines": { - "node": ">= 8" - } - }, - "node_modules/sveltestrap": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/sveltestrap/-/sveltestrap-5.9.0.tgz", - "integrity": "sha512-ZSiYKYrKhDMhhbamnAFK3RK/uqUdcLgjae5Fk3GYdv6Ccth0tN2y6vSg+Vp/PBTYc51u08ZwnYvt8SfWSRNCMA==", - "dependencies": { - "@popperjs/core": "^2.9.2" - }, - "peerDependencies": { - "svelte": "^3.29.0" - } - }, - "node_modules/terser": { - "version": "5.13.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.13.1.tgz", - "integrity": "sha512-hn4WKOfwnwbYfe48NgrQjqNOH9jzLqRcIfbYytOXCOv46LBfWr9bDS17MQqOi+BWGD0sJK3Sj5NC/gJjiojaoA==", - "dev": true, - "dependencies": { - "acorn": "^8.5.0", - "commander": "^2.20.0", - "source-map": "~0.8.0-beta.0", - "source-map-support": "~0.5.20" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/tinydate": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/tinydate/-/tinydate-1.3.0.tgz", - "integrity": "sha512-7cR8rLy2QhYHpsBDBVYnnWXm8uRTr38RoZakFSW7Bs7PzfMPNZthuMLkwqZv7MTu8lhQ91cOFYS5a7iFj2oR3w==", - "engines": { - "node": ">=4" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/totalist": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/totalist/-/totalist-3.0.0.tgz", - "integrity": "sha512-eM+pCBxXO/njtF7vdFsHuqb+ElbxqtI4r5EAvk6grfAFyJ6IvWlSkfZ5T9ozC6xWw3Fj1fGoSmrl0gUs46JVIw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/tr46": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", - "dev": true, - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", - "dev": true - }, - "node_modules/whatwg-url": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", - "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", - "dev": true, - "dependencies": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true - }, - "node_modules/ws": { - "version": "7.5.7", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.7.tgz", - "integrity": "sha512-KMvVuFzpKBuiIXW3E4u3mySRO2/mCHSyZDJQM5NQ9Q9KHWHWh0NHgfbRMLLrceUK5qAL4ytALJbpRMjixFZh8A==", - "dev": true, - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - } - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "dev": true, - "requires": { - "@babel/highlight": "^7.16.7" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", - "dev": true - }, - "@babel/highlight": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.9.tgz", - "integrity": "sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@bexis2/svelte-bexis2-core-ui": { - "version": "file:../../../../../../../core_svelte/svelte-bexis2-core-ui", - "requires": { - "@babel/core": "^7.14.8", - "@fortawesome/fontawesome-free": "^5.15.3", - "@fortawesome/fontawesome-svg-core": "^1.2.35", - "@fortawesome/free-regular-svg-icons": "^5.15.4", - "@fortawesome/free-solid-svg-icons": "^5.15.3", - "@rollup/plugin-node-resolve": "^9.0.0", - "@storybook/addon-cssresources": "^6.2.9", - "axios": "0.21.1", - "babel-loader": "^8.2.2", - "fontawesome-svelte": "^2.0.1", - "rollup": "^2.0.0", - "rollup-plugin-svelte": "^6.0.0", - "svelte": "^3.41.0", - "svelte-fa": "^2.2.1", - "svelte-file-dropzone": "0.0.16-dev.0", - "svelte-loader": "^3.1.2", - "sveltestrap": "^5.5.1", - "vest": "^4.2.2" - } - }, - "@polka/url": { - "version": "1.0.0-next.21", - "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.21.tgz", - "integrity": "sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==" - }, - "@popperjs/core": { - "version": "2.11.6", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz", - "integrity": "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==" - }, - "@rollup/plugin-commonjs": { - "version": "17.1.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-17.1.0.tgz", - "integrity": "sha512-PoMdXCw0ZyvjpCMT5aV4nkL0QywxP29sODQsSGeDpr/oI49Qq9tRtAsb/LbYbDzFlOydVEqHmmZWFtXJEAX9ew==", - "dev": true, - "requires": { - "@rollup/pluginutils": "^3.1.0", - "commondir": "^1.0.1", - "estree-walker": "^2.0.1", - "glob": "^7.1.6", - "is-reference": "^1.2.1", - "magic-string": "^0.25.7", - "resolve": "^1.17.0" - } - }, - "@rollup/plugin-node-resolve": { - "version": "11.2.1", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.1.tgz", - "integrity": "sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==", - "dev": true, - "requires": { - "@rollup/pluginutils": "^3.1.0", - "@types/resolve": "1.17.1", - "builtin-modules": "^3.1.0", - "deepmerge": "^4.2.2", - "is-module": "^1.0.0", - "resolve": "^1.19.0" - } - }, - "@rollup/pluginutils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", - "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", - "dev": true, - "requires": { - "@types/estree": "0.0.39", - "estree-walker": "^1.0.1", - "picomatch": "^2.2.2" - }, - "dependencies": { - "estree-walker": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", - "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", - "dev": true - } - } - }, - "@types/estree": { - "version": "0.0.39", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", - "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", - "dev": true - }, - "@types/node": { - "version": "17.0.32", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.32.tgz", - "integrity": "sha512-eAIcfAvhf/BkHcf4pkLJ7ECpBAhh9kcxRBpip9cTiO+hf+aJrsxYxBeS6OXvOd9WqNAJmavXVpZvY1rBjNsXmw==", - "dev": true - }, - "@types/resolve": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", - "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, - "acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", - "dev": true - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, - "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - } - }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "requires": { - "fill-range": "^7.0.1" - } - }, - "buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "builtin-modules": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", - "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", - "dev": true - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, - "requires": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "fsevents": "~2.3.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", - "dev": true - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "console-clear": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/console-clear/-/console-clear-1.1.1.tgz", - "integrity": "sha512-pMD+MVR538ipqkG5JXeOEbKWS5um1H4LUUccUQG68qpeqBYbzYy79Gh55jkd2TtPdRfUaLWdv6LPP//5Zt0aPQ==" - }, - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "dev": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - }, - "estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "dev": true - }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "optional": true - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "get-port": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", - "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=" - }, - "glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "requires": { - "is-glob": "^4.0.1" - } - }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "requires": { - "binary-extensions": "^2.0.0" - } - }, - "is-core-module": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", - "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", - "dev": true, - "requires": { - "has": "^1.0.3" - } - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true - }, - "is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", - "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", - "dev": true - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true - }, - "is-reference": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz", - "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", - "dev": true, - "requires": { - "@types/estree": "*" - } - }, - "jest-worker": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", - "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", - "dev": true, - "requires": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^7.0.0" - }, - "dependencies": { - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "kleur": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.4.tgz", - "integrity": "sha512-8QADVssbrFjivHWQU7KkMgptGTl6WAcSdlbBPY4uNF+mWr6DGcKrvY2w4FQJoXch7+fKMjj0dRrL75vk3k23OA==" - }, - "livereload": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/livereload/-/livereload-0.9.3.tgz", - "integrity": "sha512-q7Z71n3i4X0R9xthAryBdNGVGAO2R5X+/xXpmKeuPMrteg+W2U8VusTKV3YiJbXZwKsOlFlHe+go6uSNjfxrZw==", - "dev": true, - "requires": { - "chokidar": "^3.5.0", - "livereload-js": "^3.3.1", - "opts": ">= 1.2.0", - "ws": "^7.4.3" - } - }, - "livereload-js": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/livereload-js/-/livereload-js-3.4.0.tgz", - "integrity": "sha512-F/pz9ZZP+R+arY94cECTZco7PXgBXyL+KVWUPZq8AQE9TOu14GV6fYeKOviv02JCvFa4Oi3Rs1hYEpfeajc+ow==", - "dev": true - }, - "local-access": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/local-access/-/local-access-1.1.0.tgz", - "integrity": "sha512-XfegD5pyTAfb+GY6chk283Ox5z8WexG56OvM06RWLpAc/UHozO8X6xAxEkIitZOtsSMM1Yr3DkHgW5W+onLhCw==" - }, - "lodash.sortby": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", - "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=", - "dev": true - }, - "magic-string": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", - "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", - "dev": true, - "requires": { - "sourcemap-codec": "^1.4.8" - } - }, - "merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "mri": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", - "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==" - }, - "mrmime": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-1.0.0.tgz", - "integrity": "sha512-a70zx7zFfVO7XpnQ2IX1Myh9yY4UYvfld/dikWRnsXxbyvMcfz+u6UfgNAtH+k2QqtJuzVpv6eLTx1G2+WKZbQ==" - }, - "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "requires": { - "wrappy": "1" - } - }, - "opts": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/opts/-/opts-2.0.2.tgz", - "integrity": "sha512-k41FwbcLnlgnFh69f4qdUfvDQ+5vaSDnVPFI/y5XuhKRq97EnVVneO9F1ESVCdiVu4fCS2L8usX3mU331hB7pg==", - "dev": true - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true - }, - "path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true - }, - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true - }, - "randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "requires": { - "safe-buffer": "^5.1.0" - } - }, - "readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "requires": { - "picomatch": "^2.2.1" - } - }, - "require-relative": { - "version": "0.8.7", - "resolved": "https://registry.npmjs.org/require-relative/-/require-relative-0.8.7.tgz", - "integrity": "sha1-eZlTn8ngR6N5KPoZb44VY9q9Nt4=", - "dev": true - }, - "resolve": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", - "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", - "dev": true, - "requires": { - "is-core-module": "^2.8.1", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - }, - "rollup": { - "version": "2.72.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.72.1.tgz", - "integrity": "sha512-NTc5UGy/NWFGpSqF1lFY8z9Adri6uhyMLI6LvPAXdBKoPRFhIIiBUpt+Qg2awixqO3xvzSijjhnb4+QEZwJmxA==", - "dev": true, - "requires": { - "fsevents": "~2.3.2" - } - }, - "rollup-plugin-css-only": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-css-only/-/rollup-plugin-css-only-3.1.0.tgz", - "integrity": "sha512-TYMOE5uoD76vpj+RTkQLzC9cQtbnJNktHPB507FzRWBVaofg7KhIqq1kGbcVOadARSozWF883Ho9KpSPKH8gqA==", - "dev": true, - "requires": { - "@rollup/pluginutils": "4" - }, - "dependencies": { - "@rollup/pluginutils": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", - "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", - "dev": true, - "requires": { - "estree-walker": "^2.0.1", - "picomatch": "^2.2.2" - } - } - } - }, - "rollup-plugin-livereload": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/rollup-plugin-livereload/-/rollup-plugin-livereload-2.0.5.tgz", - "integrity": "sha512-vqQZ/UQowTW7VoiKEM5ouNW90wE5/GZLfdWuR0ELxyKOJUIaj+uismPZZaICU4DnWPVjnpCDDxEqwU7pcKY/PA==", - "dev": true, - "requires": { - "livereload": "^0.9.1" - } - }, - "rollup-plugin-svelte": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-svelte/-/rollup-plugin-svelte-7.1.0.tgz", - "integrity": "sha512-vopCUq3G+25sKjwF5VilIbiY6KCuMNHP1PFvx2Vr3REBNMDllKHFZN2B9jwwC+MqNc3UPKkjXnceLPEjTjXGXg==", - "dev": true, - "requires": { - "require-relative": "^0.8.7", - "rollup-pluginutils": "^2.8.2" - } - }, - "rollup-plugin-terser": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", - "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.10.4", - "jest-worker": "^26.2.1", - "serialize-javascript": "^4.0.0", - "terser": "^5.0.0" - } - }, - "rollup-pluginutils": { - "version": "2.8.2", - "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", - "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", - "dev": true, - "requires": { - "estree-walker": "^0.6.1" - }, - "dependencies": { - "estree-walker": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", - "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", - "dev": true - } - } - }, - "sade": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz", - "integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==", - "requires": { - "mri": "^1.1.0" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true - }, - "semiver": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/semiver/-/semiver-1.1.0.tgz", - "integrity": "sha512-QNI2ChmuioGC1/xjyYwyZYADILWyW6AmS1UH6gDj/SFUUUS4MBAWs/7mxnkRPc/F4iHezDP+O8t0dO8WHiEOdg==" - }, - "serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "sirv": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/sirv/-/sirv-2.0.2.tgz", - "integrity": "sha512-4Qog6aE29nIjAOKe/wowFTxOdmbEZKb+3tsLljaBRzJwtqto0BChD2zzH0LhgCSXiI+V7X+Y45v14wBZQ1TK3w==", - "requires": { - "@polka/url": "^1.0.0-next.20", - "mrmime": "^1.0.0", - "totalist": "^3.0.0" - } - }, - "sirv-cli": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/sirv-cli/-/sirv-cli-2.0.2.tgz", - "integrity": "sha512-OtSJDwxsF1NWHc7ps3Sa0s+dPtP15iQNJzfKVz+MxkEo3z72mCD+yu30ct79rPr0CaV1HXSOBp+MIY5uIhHZ1A==", - "requires": { - "console-clear": "^1.1.0", - "get-port": "^3.2.0", - "kleur": "^4.1.4", - "local-access": "^1.0.1", - "sade": "^1.6.0", - "semiver": "^1.0.0", - "sirv": "^2.0.0", - "tinydate": "^1.0.0" - } - }, - "source-map": { - "version": "0.8.0-beta.0", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz", - "integrity": "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==", - "dev": true, - "requires": { - "whatwg-url": "^7.0.0" - } - }, - "source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, - "sourcemap-codec": { - "version": "1.4.8", - "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", - "dev": true - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - }, - "supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true - }, - "svelte": { - "version": "3.49.0", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.49.0.tgz", - "integrity": "sha512-+lmjic1pApJWDfPCpUUTc1m8azDqYCG1JN9YEngrx/hUyIcFJo6VZhj0A1Ai0wqoHcEIuQy+e9tk+4uDgdtsFA==" - }, - "sveltestrap": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/sveltestrap/-/sveltestrap-5.9.0.tgz", - "integrity": "sha512-ZSiYKYrKhDMhhbamnAFK3RK/uqUdcLgjae5Fk3GYdv6Ccth0tN2y6vSg+Vp/PBTYc51u08ZwnYvt8SfWSRNCMA==", - "requires": { - "@popperjs/core": "^2.9.2" - } - }, - "terser": { - "version": "5.13.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.13.1.tgz", - "integrity": "sha512-hn4WKOfwnwbYfe48NgrQjqNOH9jzLqRcIfbYytOXCOv46LBfWr9bDS17MQqOi+BWGD0sJK3Sj5NC/gJjiojaoA==", - "dev": true, - "requires": { - "acorn": "^8.5.0", - "commander": "^2.20.0", - "source-map": "~0.8.0-beta.0", - "source-map-support": "~0.5.20" - } - }, - "tinydate": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/tinydate/-/tinydate-1.3.0.tgz", - "integrity": "sha512-7cR8rLy2QhYHpsBDBVYnnWXm8uRTr38RoZakFSW7Bs7PzfMPNZthuMLkwqZv7MTu8lhQ91cOFYS5a7iFj2oR3w==" - }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "requires": { - "is-number": "^7.0.0" - } - }, - "totalist": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/totalist/-/totalist-3.0.0.tgz", - "integrity": "sha512-eM+pCBxXO/njtF7vdFsHuqb+ElbxqtI4r5EAvk6grfAFyJ6IvWlSkfZ5T9ozC6xWw3Fj1fGoSmrl0gUs46JVIw==" - }, - "tr46": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", - "dev": true, - "requires": { - "punycode": "^2.1.0" - } - }, - "webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", - "dev": true - }, - "whatwg-url": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", - "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", - "dev": true, - "requires": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true - }, - "ws": { - "version": "7.5.7", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.7.tgz", - "integrity": "sha512-KMvVuFzpKBuiIXW3E4u3mySRO2/mCHSyZDJQM5NQ9Q9KHWHWh0NHgfbRMLLrceUK5qAL4ytALJbpRMjixFZh8A==", - "dev": true, - "requires": {} - } - } -} diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/package.json b/BExIS.Modules.DPT_BE.UI.Svelte/package.json index a9b11bd..11abb82 100644 --- a/BExIS.Modules.DPT_BE.UI.Svelte/package.json +++ b/BExIS.Modules.DPT_BE.UI.Svelte/package.json @@ -1,26 +1,77 @@ { - "name": "svelte-app", - "version": "1.0.0", - "private": true, - "scripts": { - "build": "rollup -c", - "dev": "rollup -c -w", - "start": "sirv public --no-clear", - "install bexis2 ui core": "npm install --save-dev C:\\Users\\Eleonora\\AppData\\Roaming\\npm\\node_modules\\@bexis2\\svelte-bexis2-core-ui" - }, - "devDependencies": { - "@bexis2/svelte-bexis2-core-ui": "file:../../../../../../../core_svelte/svelte-bexis2-core-ui", - "@rollup/plugin-commonjs": "^17.0.0", - "@rollup/plugin-node-resolve": "^11.0.0", - "rollup": "^2.3.4", - "rollup-plugin-css-only": "^3.1.0", - "rollup-plugin-livereload": "^2.0.0", - "rollup-plugin-svelte": "^7.0.0", - "rollup-plugin-terser": "^7.0.0", - "svelte": "^3.49.0" - }, - "dependencies": { - "sirv-cli": "^2.0.0", - "sveltestrap": "^5.9.0" - } + "name": "@bexis2/bexis2-dpt_be-ui", + "version": "0.0.1", + "private": false, + "scripts": { + "preinstall": "npx only-allow pnpm", + "dev": "pnpm vite --filter @bexis2/bexis2-mcd-ui dev", + "build": "pnpm vite --filter @bexis2/bexis2-mcd-ui build --logLevel error", + "build watch": "pnpm vite --filter @bexis2/bexis2-mcd-ui build --watch", + "preview": "pnpm vite --filter @bexis2/bexis2-mcd-ui preview", + "test": "playwright test", + "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", + "test:unit": "vitest", + "lint": "prettier --plugin-search-dir . --check . && eslint .", + "format": "prettier --plugin-search-dir . --write .", + "create patch": "npx patch-package @sveltejs/kit", + "package": "svelte-package", + "build package": "svelte-kit sync && svelte-package --watch", + "init": "pnpm init --scope bexis2", + "publish": "pnpm publish --access public", + "check outdated": "pnpm outdated", + "upgrade all": "ncu --upgrade" + }, + "type": "module", + "dependencies": { + "@bexis2/bexis2-core-ui": "0.4.88", + "@bexis2/bexis2-rpm-ui": "0.4.0", + "@floating-ui/dom": "^1.6.3", + "@fortawesome/free-solid-svg-icons": "^6.5.2", + "@sveltejs/adapter-static": "^3.0.1", + "@sveltejs/package": "^2.3.1", + "file-saver": "^2.0.5", + "jszip": "^3.10.1", + "patch-package": "^8.0.0", + "svelte-adapter-github": "^1.0.0-next.0", + "svelte-fa": "^4.0.2", + "svelte-headless-table": "^0.18.2", + "svelte-select": "^5.8.3", + "vest": "^5.2.12" + }, + "author": "Eleonora Petzold", + "license": "ISC", + "repository": { + "type": "git", + "url": "git+https://github.com/bexis/Module_DataProfilingTools.git" + }, + "bugs": { + "url": "https://github.com/bexis/Module_DataProfilingTools/issues" + }, + "homepage": "https://github.com/bexis/Module_DataProfilingToolse#readme", + "keywords": [ + "bexis2", + "libary" + ], + "exports": { + ".": { + "types": "./dist/index.d.ts", + "svelte": "./dist/index.js" + }, + "./dist/index.css": { + "import": "./dist/index.css", + "require": "./dist/index.css" + } + }, + "module": "./src/lib/index.ts", + "types": "./src/lib/index.d.ts", + "description": "Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).", + "main": "./src/lib/index.d.ts", + "files": [ + "dist", + "src/lib" + ], + "directories": { + "test": "tests" + } } diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/patches/@sveltejs+kit+2.5.5.patch b/BExIS.Modules.DPT_BE.UI.Svelte/patches/@sveltejs+kit+2.5.5.patch new file mode 100644 index 0000000..73fe214 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/patches/@sveltejs+kit+2.5.5.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/@sveltejs/kit/src/core/adapt/builder.js b/node_modules/@sveltejs/kit/src/core/adapt/builder.js +index e02efbd..abbb273 100644 +--- a/node_modules/@sveltejs/kit/src/core/adapt/builder.js ++++ b/node_modules/@sveltejs/kit/src/core/adapt/builder.js +@@ -211,7 +211,7 @@ export function create_builder({ + writeClient(dest) { + return copy(`${config.kit.outDir}/output/client`, dest, { + // avoid making vite build artefacts public +- filter: (basename) => basename !== '.vite' ++ //filter: (basename) => basename !== '.vite' + }); + }, + diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/playwright.config.ts b/BExIS.Modules.DPT_BE.UI.Svelte/playwright.config.ts new file mode 100644 index 0000000..80731be --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/playwright.config.ts @@ -0,0 +1,11 @@ +import type { PlaywrightTestConfig } from '@playwright/test'; + +const config: PlaywrightTestConfig = { + webServer: { + command: 'npm run build && npm run preview', + port: 4173 + }, + testDir: 'tests' +}; + +export default config; diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/postcss.config.cjs b/BExIS.Modules.DPT_BE.UI.Svelte/postcss.config.cjs new file mode 100644 index 0000000..054c147 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/postcss.config.cjs @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {} + } +}; diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/public/favicon.png b/BExIS.Modules.DPT_BE.UI.Svelte/public/favicon.png deleted file mode 100644 index 7e6f5eb..0000000 Binary files a/BExIS.Modules.DPT_BE.UI.Svelte/public/favicon.png and /dev/null differ diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/public/global.css b/BExIS.Modules.DPT_BE.UI.Svelte/public/global.css deleted file mode 100644 index bb28a94..0000000 --- a/BExIS.Modules.DPT_BE.UI.Svelte/public/global.css +++ /dev/null @@ -1,63 +0,0 @@ -html, body { - position: relative; - width: 100%; - height: 100%; -} - -body { - color: #333; - margin: 0; - padding: 8px; - box-sizing: border-box; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; -} - -a { - color: rgb(0,100,200); - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -a:visited { - color: rgb(0,80,160); -} - -label { - display: block; -} - -input, button, select, textarea { - font-family: inherit; - font-size: inherit; - -webkit-padding: 0.4em 0; - padding: 0.4em; - margin: 0 0 0.5em 0; - box-sizing: border-box; - border: 1px solid #ccc; - border-radius: 2px; -} - -input:disabled { - color: #ccc; -} - -button { - color: #333; - background-color: #f4f4f4; - outline: none; -} - -button:disabled { - color: #999; -} - -button:not(:disabled):active { - background-color: #ddd; -} - -button:focus { - border-color: #666; -} diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/public/index.html b/BExIS.Modules.DPT_BE.UI.Svelte/public/index.html deleted file mode 100644 index 9612c45..0000000 --- a/BExIS.Modules.DPT_BE.UI.Svelte/public/index.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - Svelte app - - - - - - - - - -
- -
- - - diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/rollup.config.js b/BExIS.Modules.DPT_BE.UI.Svelte/rollup.config.js deleted file mode 100644 index 82b33f4..0000000 --- a/BExIS.Modules.DPT_BE.UI.Svelte/rollup.config.js +++ /dev/null @@ -1,76 +0,0 @@ -import svelte from 'rollup-plugin-svelte'; -import commonjs from '@rollup/plugin-commonjs'; -import resolve from '@rollup/plugin-node-resolve'; -import livereload from 'rollup-plugin-livereload'; -import { terser } from 'rollup-plugin-terser'; -import css from 'rollup-plugin-css-only'; - -const production = !process.env.ROLLUP_WATCH; - -function serve() { - let server; - - function toExit() { - if (server) server.kill(0); - } - - return { - writeBundle() { - if (server) return; - server = require('child_process').spawn('npm', ['run', 'start', '--', '--dev'], { - stdio: ['ignore', 'inherit', 'inherit'], - shell: true - }); - - process.on('SIGTERM', toExit); - process.on('exit', toExit); - } - }; -} - -export default { - input: 'src/main.js', - output: { - sourcemap: true, - format: 'iife', - name: 'app', - file: 'public/build/dpt_be.js' - }, - plugins: [ - svelte({ - compilerOptions: { - // enable run-time checks when not in production - dev: !production - } - }), - // we'll extract any component CSS out into - // a separate file - better for performance - css({ output: 'dpt_be.css' }), - - // If you have external dependencies installed from - // npm, you'll most likely need these plugins. In - // some cases you'll need additional configuration - - // consult the documentation for details: - // https://github.com/rollup/plugins/tree/master/packages/commonjs - resolve({ - browser: true, - dedupe: ['svelte'] - }), - commonjs(), - - // In dev mode, call `npm run start` once - // the bundle has been generated - !production && serve(), - - // Watch the `public` directory and refresh the - // browser on changes when not in production - !production && livereload('public'), - - // If we're building for production (npm run build - // instead of npm run dev), minify - production && terser() - ], - watch: { - clearScreen: false - } -}; diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/scripts/setupTypeScript.js b/BExIS.Modules.DPT_BE.UI.Svelte/scripts/setupTypeScript.js deleted file mode 100644 index 133658a..0000000 --- a/BExIS.Modules.DPT_BE.UI.Svelte/scripts/setupTypeScript.js +++ /dev/null @@ -1,121 +0,0 @@ -// @ts-check - -/** This script modifies the project to support TS code in .svelte files like: - - - - As well as validating the code for CI. - */ - -/** To work on this script: - rm -rf test-template template && git clone sveltejs/template test-template && node scripts/setupTypeScript.js test-template -*/ - -const fs = require("fs") -const path = require("path") -const { argv } = require("process") - -const projectRoot = argv[2] || path.join(__dirname, "..") - -// Add deps to pkg.json -const packageJSON = JSON.parse(fs.readFileSync(path.join(projectRoot, "package.json"), "utf8")) -packageJSON.devDependencies = Object.assign(packageJSON.devDependencies, { - "svelte-check": "^2.0.0", - "svelte-preprocess": "^4.0.0", - "@rollup/plugin-typescript": "^8.0.0", - "typescript": "^4.0.0", - "tslib": "^2.0.0", - "@tsconfig/svelte": "^2.0.0" -}) - -// Add script for checking -packageJSON.scripts = Object.assign(packageJSON.scripts, { - "check": "svelte-check --tsconfig ./tsconfig.json" -}) - -// Write the package JSON -fs.writeFileSync(path.join(projectRoot, "package.json"), JSON.stringify(packageJSON, null, " ")) - -// mv src/main.js to main.ts - note, we need to edit rollup.config.js for this too -const beforeMainJSPath = path.join(projectRoot, "src", "main.js") -const afterMainTSPath = path.join(projectRoot, "src", "main.ts") -fs.renameSync(beforeMainJSPath, afterMainTSPath) - -// Switch the app.svelte file to use TS -const appSveltePath = path.join(projectRoot, "src", "App.svelte") -let appFile = fs.readFileSync(appSveltePath, "utf8") -appFile = appFile.replace(" - - -
- -
- -
- -

Count and check plot IDs -

-

Enter plot IDs or upload a file. Allowed separators: comma, semicolon, space characters and enter. Also in combination.

-
Plots:
-
- - - File upload (.csv, .txt) - -
- {#if fileUpload == true} -
- File header exist -
-
-

{fileError}

-
-
{/if} - -
-
- {#if textareaPlots} - - - {:else} - - - {/if} -
-

-
-
- - - {#if result} - -
- -

Result

-
    -
  • Number of plots
  • - {#each result.PlotProfiling.PlotTypeCounters as item, i} - -

    Number of {item.PlotType}: {item.Number}

    - - {/each} -
  • Joint Experiment 2020
  • -

    Forest: {#if result.PlotProfiling.JointExperimentForest == true} - yes - {:else} - no - {/if} - -

    -

    Grassland: {#if result.PlotProfiling.JointExperimentGrld == true} - yes - {:else} - no - {/if} -

    - - -
  • Further details
  • -

    Number of entered plots: {result.NumberOfAllPlots}

    -

    Number of duplicate plots: {result.NumberOfDuplicates}

    -

    Non-valid plots: - - {#if result.NotVaildPlotIds.length > 0} - - {#each result.NotVaildPlotIds as item, i} - {item}{#if i < (result.NotVaildPlotIds.length-1)},{/if} - - {/each} - - {:else} - none - - {/if} -

    -
-
- - {:else} - - {#if run == true} -
- -
- {/if} - - {/if} - - - -
-
- - \ No newline at end of file diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/app.d.ts b/BExIS.Modules.DPT_BE.UI.Svelte/src/app.d.ts new file mode 100644 index 0000000..8f4d638 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/src/app.d.ts @@ -0,0 +1,9 @@ +// See https://kit.svelte.dev/docs/types#app +// for information about these interfaces +// and what to do when importing types +declare namespace App { + // interface Locals {} + // interface PageData {} + // interface Error {} + // interface Platform {} +} diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/app.html b/BExIS.Modules.DPT_BE.UI.Svelte/src/app.html new file mode 100644 index 0000000..ccd33b2 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/src/app.html @@ -0,0 +1,14 @@ + + + + + + + %sveltekit.head% + + +
+
%sveltekit.body%
+
+ + diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/app.postcss b/BExIS.Modules.DPT_BE.UI.Svelte/src/app.postcss new file mode 100644 index 0000000..c4dbc66 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/src/app.postcss @@ -0,0 +1,22 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; +@tailwind variants; + +/*place global styles here */ +html, +body { + @apply h-full; +} + +h1 { + @apply text-primary-500; +} + +:root { + --background: rgb(var(--color-surface-200)); +} + +[type='text']:focus { + --tw-ring-color: #00000; +} diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/index.test.ts b/BExIS.Modules.DPT_BE.UI.Svelte/src/index.test.ts new file mode 100644 index 0000000..e07cbbd --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/src/index.test.ts @@ -0,0 +1,7 @@ +import { describe, it, expect } from 'vitest'; + +describe('sum test', () => { + it('adds 1 + 2 to equal 3', () => { + expect(1 + 2).toBe(3); + }); +}); diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/lib/index.ts b/BExIS.Modules.DPT_BE.UI.Svelte/src/lib/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/lib/themes/theme-bexis2.ts b/BExIS.Modules.DPT_BE.UI.Svelte/src/lib/themes/theme-bexis2.ts new file mode 100644 index 0000000..51b3d55 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/src/lib/themes/theme-bexis2.ts @@ -0,0 +1,101 @@ +import type { CustomThemeConfig } from '@skeletonlabs/tw-plugin'; + +export const bexis2Theme: CustomThemeConfig = { + name: 'bexis2Theme', + properties: { + // =~= Theme Properties =~= + '--theme-font-family-base': `system-ui`, + '--theme-font-family-heading': `system-ui`, + '--theme-font-color-base': 'var(--color-surface-900)', + '--theme-font-color-dark': '255 255 255', + '--theme-rounded-base': '4px', + '--theme-rounded-container': '4px', + '--theme-border-base': '1px', + // =~= Theme On-X Colors =~= + '--on-primary': '255 255 255', + '--on-secondary': '255 255 255', + '--on-tertiary': '0 0 0', + '--on-success': '255 255 255', + '--on-warning': '255 255 255', + '--on-error': '255 255 255', + '--on-surface': '255 255 255', + // =~= Theme Colors =~= + // primary | #45b2a1 + '--color-primary-50': '227 243 241', // #e3f3f1 + '--color-primary-100': '218 240 236', // #daf0ec + '--color-primary-200': '209 236 232', // #d1ece8 + '--color-primary-300': '181 224 217', // #b5e0d9 + '--color-primary-400': '125 201 189', // #7dc9bd + '--color-primary-500': '69 178 161', // #45b2a1 + '--color-primary-600': '62 160 145', // #3ea091 + '--color-primary-700': '52 134 121', // #348679 + '--color-primary-800': '41 107 97', // #296b61 + '--color-primary-900': '34 87 79', // #22574f + // secondary | #ff9700 + '--color-secondary-50': '255 239 217', // #ffefd9 + '--color-secondary-100': '255 234 204', // #ffeacc + '--color-secondary-200': '255 229 191', // #ffe5bf + '--color-secondary-300': '255 213 153', // #ffd599 + '--color-secondary-400': '255 182 77', // #ffb64d + '--color-secondary-500': '255 151 0', // #ff9700 + '--color-secondary-600': '230 136 0', // #e68800 + '--color-secondary-700': '191 113 0', // #bf7100 + '--color-secondary-800': '153 91 0', // #995b00 + '--color-secondary-900': '125 74 0', // #7d4a00 + // tertiary | #bee1da + '--color-tertiary-50': '245 251 249', // #f5fbf9 + '--color-tertiary-100': '242 249 248', // #f2f9f8 + '--color-tertiary-200': '239 248 246', // #eff8f6 + '--color-tertiary-300': '229 243 240', // #e5f3f0 + '--color-tertiary-400': '210 234 229', // #d2eae5 + '--color-tertiary-500': '190 225 218', // #bee1da + '--color-tertiary-600': '171 203 196', // #abcbc4 + '--color-tertiary-700': '143 169 164', // #8fa9a4 + '--color-tertiary-800': '114 135 131', // #728783 + '--color-tertiary-900': '93 110 107', // #5d6e6b + // success | #4BB543 + '--color-success-50': '228 244 227', // #e4f4e3 + '--color-success-100': '219 240 217', // #dbf0d9 + '--color-success-200': '210 237 208', // #d2edd0 + '--color-success-300': '183 225 180', // #b7e1b4 + '--color-success-400': '129 203 123', // #81cb7b + '--color-success-500': '75 181 67', // #4BB543 + '--color-success-600': '68 163 60', // #44a33c + '--color-success-700': '56 136 50', // #388832 + '--color-success-800': '45 109 40', // #2d6d28 + '--color-success-900': '37 89 33', // #255921 + // warning | #EAB308 + '--color-warning-50': '252 244 218', // #fcf4da + '--color-warning-100': '251 240 206', // #fbf0ce + '--color-warning-200': '250 236 193', // #faecc1 + '--color-warning-300': '247 225 156', // #f7e19c + '--color-warning-400': '240 202 82', // #f0ca52 + '--color-warning-500': '234 179 8', // #EAB308 + '--color-warning-600': '211 161 7', // #d3a107 + '--color-warning-700': '176 134 6', // #b08606 + '--color-warning-800': '140 107 5', // #8c6b05 + '--color-warning-900': '115 88 4', // #735804 + // error | #FF0000 + '--color-error-50': '255 217 217', // #ffd9d9 + '--color-error-100': '255 204 204', // #ffcccc + '--color-error-200': '255 191 191', // #ffbfbf + '--color-error-300': '255 153 153', // #ff9999 + '--color-error-400': '255 77 77', // #ff4d4d + '--color-error-500': '255 0 0', // #FF0000 + '--color-error-600': '230 0 0', // #e60000 + '--color-error-700': '191 0 0', // #bf0000 + '--color-error-800': '153 0 0', // #990000 + '--color-error-900': '125 0 0', // #7d0000 + // surface | #c7c7c7 + '--color-surface-50': '247 247 247', // #f7f7f7 + '--color-surface-100': '244 244 244', // #f4f4f4 + '--color-surface-200': '241 241 241', // #f1f1f1 + '--color-surface-300': '233 233 233', // #e9e9e9 + '--color-surface-400': '216 216 216', // #d8d8d8 + '--color-surface-500': '199 199 199', // #c7c7c7 + '--color-surface-600': '179 179 179', // #b3b3b3 + '--color-surface-700': '149 149 149', // #959595 + '--color-surface-800': '119 119 119', // #777777 + '--color-surface-900': '98 98 98' // #626262 + } +}; diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/main.js b/BExIS.Modules.DPT_BE.UI.Svelte/src/main.js deleted file mode 100644 index b702421..0000000 --- a/BExIS.Modules.DPT_BE.UI.Svelte/src/main.js +++ /dev/null @@ -1,9 +0,0 @@ -import App from './App.svelte'; - -const app = new App({ - target: document.getElementById("plotProfiling") - -}); - - -export default app; \ No newline at end of file diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/+layout.js b/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/+layout.js new file mode 100644 index 0000000..1e62f0b --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/+layout.js @@ -0,0 +1,3 @@ +export const prerender = true; +export const ssr = false; +export const trailingSlash = 'always'; diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/+layout.svelte b/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/+layout.svelte new file mode 100644 index 0000000..2da70d8 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/+layout.svelte @@ -0,0 +1,12 @@ + + + diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/+page.js b/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/+page.js new file mode 100644 index 0000000..b6e46aa --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/+page.js @@ -0,0 +1,11 @@ +import { setApiConfig } from '@bexis2/bexis2-core-ui'; + +/** @type {import('./$types').PageLoad} */ +export function load() { + if (import.meta.env.DEV) { + console.log('dev'); + setApiConfig('http://localhost:44345/', 'epetzold', '2021.B2.Go$On'); + } + + return {}; +} \ No newline at end of file diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/+page.svelte b/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/+page.svelte new file mode 100644 index 0000000..e69de29 diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/plotprofiling/+page.js b/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/plotprofiling/+page.js new file mode 100644 index 0000000..b6e46aa --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/plotprofiling/+page.js @@ -0,0 +1,11 @@ +import { setApiConfig } from '@bexis2/bexis2-core-ui'; + +/** @type {import('./$types').PageLoad} */ +export function load() { + if (import.meta.env.DEV) { + console.log('dev'); + setApiConfig('http://localhost:44345/', 'epetzold', '2021.B2.Go$On'); + } + + return {}; +} \ No newline at end of file diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/plotprofiling/+page.svelte b/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/plotprofiling/+page.svelte new file mode 100644 index 0000000..0f17004 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/src/routes/plotprofiling/+page.svelte @@ -0,0 +1,281 @@ + + + + +
+ +
+ +
+ +

Count and check plot IDs

+ +

Enter plot IDs or upload a file. Allowed separators: comma, semicolon, space characters and enter. Also in combination.

+
Plots:
+
+ + + File upload (.csv, .txt) + +
+ {#if fileUpload == true} +
+ File header exists +
+ +

{fileError}

+
+
{/if} + +
+
+ {#if textareaPlots} + + + {:else} + + + {/if} + +

+
+
+ + + {#if result} + +
+ +

Result

+
    +
  • Number of plots
  • + {#each result.plotProfiling.plotTypeCounters as item, i} + +

    Number of {item.plotType}: {item.number}

    + + {/each} +
  • Joint Experiment 2020
  • +

    Forest: {#if result.plotProfiling.jointExperimentForest == true} + yes + {:else} + no + {/if} + +

    +

    Grassland: {#if result.plotProfiling.jointExperimentGrld == true} + yes + {:else} + no + {/if} +

    + + +
  • Further details
  • +

    Number of entered plots: {result.numberOfAllPlots}

    +

    Number of duplicate plots: {result.numberOfDuplicates}

    +

    Non-valid plots: + + {#if result.notVaildPlotIds.length > 0} + + {#each result.notVaildPlotIds as item, i} + {item}{#if i < (result.notVaildPlotIds.length-1)},{/if} + + {/each} + + {:else} + none + + {/if} +

    +
+
+ + {:else} + + {#if run == true} +
+ +
+ {/if} + + {/if} + + + +
+
+ +
+ + \ No newline at end of file diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/services/Caller.js b/BExIS.Modules.DPT_BE.UI.Svelte/src/services/Caller.js deleted file mode 100644 index f11ebd8..0000000 --- a/BExIS.Modules.DPT_BE.UI.Svelte/src/services/Caller.js +++ /dev/null @@ -1,16 +0,0 @@ -import {Api} from "@bexis2/svelte-bexis2-core-ui"; - -export const countPlots = async (plots) => { - - let data = { - plots: plots - }; - - try { - console.log(data); - const response = await Api.post('/api/DPT_BE/CountPlots', data); - return response.data; - } catch (error) { - console.error(error); - } -}; \ No newline at end of file diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/src/services/PlotCountCaller.js b/BExIS.Modules.DPT_BE.UI.Svelte/src/services/PlotCountCaller.js new file mode 100644 index 0000000..fb8f3cc --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/src/services/PlotCountCaller.js @@ -0,0 +1,19 @@ +import { Api } from '@bexis2/bexis2-core-ui'; +import { setApiConfig } from '@bexis2/bexis2-core-ui'; + +export const countPlots = async (plots) => { + + //setApiConfig('http://localhost:44345/', 'epetzold', '2021.B2.Go$On'); + let data = { + plots: plots + }; + + try { + console.log("plots:",data); + const response = await Api.post('/api/DPT_BE/CountPlots', data); + console.log("result:", response.data) + return response.data; + } catch (error) { + console.log(error); + } + }; diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/static/favicon.png b/BExIS.Modules.DPT_BE.UI.Svelte/static/favicon.png new file mode 100644 index 0000000..d6c8e80 Binary files /dev/null and b/BExIS.Modules.DPT_BE.UI.Svelte/static/favicon.png differ diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/svelte.config.js b/BExIS.Modules.DPT_BE.UI.Svelte/svelte.config.js new file mode 100644 index 0000000..8e237e4 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/svelte.config.js @@ -0,0 +1,33 @@ +// import adapter from '@sveltejs/adapter-auto'; +import adapter from '@sveltejs/adapter-static'; + +import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; +import { build } from 'vite'; + +/** @type {import('@sveltejs/kit').Config} */ +const config = { + // Consult https://kit.svelte.dev/docs/integrations#preprocessors + // for more information about preprocessors + preprocess: vitePreprocess(), + kit: { + adapter: adapter({ + pages: '../BExIS.Modules.DPT_BE.UI/Scripts/svelte', // ../BExIS.Modules.Dcm.UI/Scripts/svelte + assets: '../BExIS.Modules.DPT_BE.UI/Scripts/svelte', // ../BExIS.Modules.Dcm.UI/Scripts/svelte + fallback: null, + precompress: true, + preprocess: true, + strict: false + }), + paths: { + relative: true, + base: process.env.NODE_ENV === 'production' ? '/dpt_be' : '' // add module id here, + }, + + alias: { + $models: './src/models', + $services: './src/services' + } + } +}; + +export default config; diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/tailwind.config.cjs b/BExIS.Modules.DPT_BE.UI.Svelte/tailwind.config.cjs new file mode 100644 index 0000000..f219bc6 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/tailwind.config.cjs @@ -0,0 +1,34 @@ +/** @type {import('tailwindcss').Config} */ + +// @ts-check +import { join } from 'path'; + +// 1. Import the Skeleton plugin +import { skeleton } from '@skeletonlabs/tw-plugin'; + +// add custom theme +import { bexis2theme } from './node_modules/@bexis2/bexis2-core-ui/dist/themes/theme-bexis2'; + +module.exports = { + darkMode: 'class', + content: [ + './src/**/*.{html,js,svelte,ts}', + require('path').join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}'), + require('path').join('node_modules/@bexis2/bexis2-core-ui', '../**/*.{html,js,svelte,ts}') + // 'C:/Users/admin/source/repos/Bexis2/BEXIS2 - Core - Workspace/Core/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/node_modules/@bexis2/bexis2-core-ui/src/**/*.{html,js,svelte,ts}'], + ], + + theme: { + extend: {} + }, + plugins: [ + require('@tailwindcss/forms'), + require('@tailwindcss/typography'), + skeleton({ + themes: { + // Register each theme within this array: + custom: [bexis2theme] + } + }) + ] +}; diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/tests/test.ts b/BExIS.Modules.DPT_BE.UI.Svelte/tests/test.ts new file mode 100644 index 0000000..5816be4 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/tests/test.ts @@ -0,0 +1,6 @@ +import { expect, test } from '@playwright/test'; + +test('index page has expected h1', async ({ page }) => { + await page.goto('/'); + await expect(page.getByRole('heading', { name: 'Welcome to SvelteKit' })).toBeVisible(); +}); diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/tsconfig.json b/BExIS.Modules.DPT_BE.UI.Svelte/tsconfig.json new file mode 100644 index 0000000..83ab6a9 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "./.svelte-kit/tsconfig.json", + "compilerOptions": { + "allowJs": true, + "checkJs": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "skipLibCheck": true, + "sourceMap": true, + "strict": true, + "noImplicitAny": false + }, + "exclude": ["node_modules", "src"] + // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias + // + // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes + // from the referenced tsconfig.json - TypeScript does not merge them in +} + diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/vite.config.ts b/BExIS.Modules.DPT_BE.UI.Svelte/vite.config.ts new file mode 100644 index 0000000..37b6a84 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/vite.config.ts @@ -0,0 +1,9 @@ +import { sveltekit } from '@sveltejs/kit/vite'; +import { defineConfig } from 'vitest/config'; + +export default defineConfig({ + plugins: [sveltekit()], + test: { + include: ['src/**/*.{test,spec}.{js,ts}'] + } +}); diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/vite.config.ts.timestamp-1688989700122-d1b693d027fde.mjs b/BExIS.Modules.DPT_BE.UI.Svelte/vite.config.ts.timestamp-1688989700122-d1b693d027fde.mjs new file mode 100644 index 0000000..40457ee --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/vite.config.ts.timestamp-1688989700122-d1b693d027fde.mjs @@ -0,0 +1,11 @@ +// vite.config.ts +import { sveltekit } from 'file:///C:/Users/admin/source/repos/Bexis2/BEXIS2%20-%20Core%20-%20Workspace/Core/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/node_modules/@sveltejs/kit/src/exports/vite/index.js'; +import { defineConfig } from 'file:///C:/Users/admin/source/repos/Bexis2/BEXIS2%20-%20Core%20-%20Workspace/Core/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/node_modules/vitest/dist/config.js'; +var vite_config_default = defineConfig({ + plugins: [sveltekit()], + test: { + include: ['src/**/*.{test,spec}.{js,ts}'] + } +}); +export { vite_config_default as default }; +//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxhZG1pblxcXFxzb3VyY2VcXFxccmVwb3NcXFxcQmV4aXMyXFxcXEJFWElTMiAtIENvcmUgLSBXb3Jrc3BhY2VcXFxcQ29yZVxcXFxDb25zb2xlXFxcXEJFeElTLldlYi5TaGVsbFxcXFxBcmVhc1xcXFxEQ01cXFxcQkV4SVMuTW9kdWxlcy5EY20uVUkuU3ZlbHRlXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxhZG1pblxcXFxzb3VyY2VcXFxccmVwb3NcXFxcQmV4aXMyXFxcXEJFWElTMiAtIENvcmUgLSBXb3Jrc3BhY2VcXFxcQ29yZVxcXFxDb25zb2xlXFxcXEJFeElTLldlYi5TaGVsbFxcXFxBcmVhc1xcXFxEQ01cXFxcQkV4SVMuTW9kdWxlcy5EY20uVUkuU3ZlbHRlXFxcXHZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9DOi9Vc2Vycy9hZG1pbi9zb3VyY2UvcmVwb3MvQmV4aXMyL0JFWElTMiUyMC0lMjBDb3JlJTIwLSUyMFdvcmtzcGFjZS9Db3JlL0NvbnNvbGUvQkV4SVMuV2ViLlNoZWxsL0FyZWFzL0RDTS9CRXhJUy5Nb2R1bGVzLkRjbS5VSS5TdmVsdGUvdml0ZS5jb25maWcudHNcIjtpbXBvcnQgeyBzdmVsdGVraXQgfSBmcm9tICdAc3ZlbHRlanMva2l0L3ZpdGUnO1xyXG5pbXBvcnQgeyBkZWZpbmVDb25maWcgfSBmcm9tICd2aXRlc3QvY29uZmlnJztcclxuXHJcbmV4cG9ydCBkZWZhdWx0IGRlZmluZUNvbmZpZyh7XHJcblx0cGx1Z2luczogW3N2ZWx0ZWtpdCgpXSxcclxuXHR0ZXN0OiB7XHJcblx0XHRpbmNsdWRlOiBbJ3NyYy8qKi8qLnt0ZXN0LHNwZWN9Lntqcyx0c30nXVxyXG5cdH1cclxufSk7Il0sCiAgIm1hcHBpbmdzIjogIjtBQUFpbEIsU0FBUyxpQkFBaUI7QUFDM21CLFNBQVMsb0JBQW9CO0FBRTdCLElBQU8sc0JBQVEsYUFBYTtBQUFBLEVBQzNCLFNBQVMsQ0FBQyxVQUFVLENBQUM7QUFBQSxFQUNyQixNQUFNO0FBQUEsSUFDTCxTQUFTLENBQUMsOEJBQThCO0FBQUEsRUFDekM7QUFDRCxDQUFDOyIsCiAgIm5hbWVzIjogW10KfQo= diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/vite.config.ts.timestamp-1690355962076-c09a00157f041.mjs b/BExIS.Modules.DPT_BE.UI.Svelte/vite.config.ts.timestamp-1690355962076-c09a00157f041.mjs new file mode 100644 index 0000000..40457ee --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/vite.config.ts.timestamp-1690355962076-c09a00157f041.mjs @@ -0,0 +1,11 @@ +// vite.config.ts +import { sveltekit } from 'file:///C:/Users/admin/source/repos/Bexis2/BEXIS2%20-%20Core%20-%20Workspace/Core/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/node_modules/@sveltejs/kit/src/exports/vite/index.js'; +import { defineConfig } from 'file:///C:/Users/admin/source/repos/Bexis2/BEXIS2%20-%20Core%20-%20Workspace/Core/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/node_modules/vitest/dist/config.js'; +var vite_config_default = defineConfig({ + plugins: [sveltekit()], + test: { + include: ['src/**/*.{test,spec}.{js,ts}'] + } +}); +export { vite_config_default as default }; +//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxhZG1pblxcXFxzb3VyY2VcXFxccmVwb3NcXFxcQmV4aXMyXFxcXEJFWElTMiAtIENvcmUgLSBXb3Jrc3BhY2VcXFxcQ29yZVxcXFxDb25zb2xlXFxcXEJFeElTLldlYi5TaGVsbFxcXFxBcmVhc1xcXFxEQ01cXFxcQkV4SVMuTW9kdWxlcy5EY20uVUkuU3ZlbHRlXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxhZG1pblxcXFxzb3VyY2VcXFxccmVwb3NcXFxcQmV4aXMyXFxcXEJFWElTMiAtIENvcmUgLSBXb3Jrc3BhY2VcXFxcQ29yZVxcXFxDb25zb2xlXFxcXEJFeElTLldlYi5TaGVsbFxcXFxBcmVhc1xcXFxEQ01cXFxcQkV4SVMuTW9kdWxlcy5EY20uVUkuU3ZlbHRlXFxcXHZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9DOi9Vc2Vycy9hZG1pbi9zb3VyY2UvcmVwb3MvQmV4aXMyL0JFWElTMiUyMC0lMjBDb3JlJTIwLSUyMFdvcmtzcGFjZS9Db3JlL0NvbnNvbGUvQkV4SVMuV2ViLlNoZWxsL0FyZWFzL0RDTS9CRXhJUy5Nb2R1bGVzLkRjbS5VSS5TdmVsdGUvdml0ZS5jb25maWcudHNcIjtpbXBvcnQgeyBzdmVsdGVraXQgfSBmcm9tICdAc3ZlbHRlanMva2l0L3ZpdGUnO1xyXG5pbXBvcnQgeyBkZWZpbmVDb25maWcgfSBmcm9tICd2aXRlc3QvY29uZmlnJztcclxuXHJcbmV4cG9ydCBkZWZhdWx0IGRlZmluZUNvbmZpZyh7XHJcblx0cGx1Z2luczogW3N2ZWx0ZWtpdCgpXSxcclxuXHR0ZXN0OiB7XHJcblx0XHRpbmNsdWRlOiBbJ3NyYy8qKi8qLnt0ZXN0LHNwZWN9Lntqcyx0c30nXVxyXG5cdH1cclxufSk7Il0sCiAgIm1hcHBpbmdzIjogIjtBQUFpbEIsU0FBUyxpQkFBaUI7QUFDM21CLFNBQVMsb0JBQW9CO0FBRTdCLElBQU8sc0JBQVEsYUFBYTtBQUFBLEVBQzNCLFNBQVMsQ0FBQyxVQUFVLENBQUM7QUFBQSxFQUNyQixNQUFNO0FBQUEsSUFDTCxTQUFTLENBQUMsOEJBQThCO0FBQUEsRUFDekM7QUFDRCxDQUFDOyIsCiAgIm5hbWVzIjogW10KfQo= diff --git a/BExIS.Modules.DPT_BE.UI.Svelte/vite.config.ts.timestamp-1690355962086-dcb566e3136fc.mjs b/BExIS.Modules.DPT_BE.UI.Svelte/vite.config.ts.timestamp-1690355962086-dcb566e3136fc.mjs new file mode 100644 index 0000000..40457ee --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI.Svelte/vite.config.ts.timestamp-1690355962086-dcb566e3136fc.mjs @@ -0,0 +1,11 @@ +// vite.config.ts +import { sveltekit } from 'file:///C:/Users/admin/source/repos/Bexis2/BEXIS2%20-%20Core%20-%20Workspace/Core/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/node_modules/@sveltejs/kit/src/exports/vite/index.js'; +import { defineConfig } from 'file:///C:/Users/admin/source/repos/Bexis2/BEXIS2%20-%20Core%20-%20Workspace/Core/Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/node_modules/vitest/dist/config.js'; +var vite_config_default = defineConfig({ + plugins: [sveltekit()], + test: { + include: ['src/**/*.{test,spec}.{js,ts}'] + } +}); +export { vite_config_default as default }; +//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxhZG1pblxcXFxzb3VyY2VcXFxccmVwb3NcXFxcQmV4aXMyXFxcXEJFWElTMiAtIENvcmUgLSBXb3Jrc3BhY2VcXFxcQ29yZVxcXFxDb25zb2xlXFxcXEJFeElTLldlYi5TaGVsbFxcXFxBcmVhc1xcXFxEQ01cXFxcQkV4SVMuTW9kdWxlcy5EY20uVUkuU3ZlbHRlXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxhZG1pblxcXFxzb3VyY2VcXFxccmVwb3NcXFxcQmV4aXMyXFxcXEJFWElTMiAtIENvcmUgLSBXb3Jrc3BhY2VcXFxcQ29yZVxcXFxDb25zb2xlXFxcXEJFeElTLldlYi5TaGVsbFxcXFxBcmVhc1xcXFxEQ01cXFxcQkV4SVMuTW9kdWxlcy5EY20uVUkuU3ZlbHRlXFxcXHZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9DOi9Vc2Vycy9hZG1pbi9zb3VyY2UvcmVwb3MvQmV4aXMyL0JFWElTMiUyMC0lMjBDb3JlJTIwLSUyMFdvcmtzcGFjZS9Db3JlL0NvbnNvbGUvQkV4SVMuV2ViLlNoZWxsL0FyZWFzL0RDTS9CRXhJUy5Nb2R1bGVzLkRjbS5VSS5TdmVsdGUvdml0ZS5jb25maWcudHNcIjtpbXBvcnQgeyBzdmVsdGVraXQgfSBmcm9tICdAc3ZlbHRlanMva2l0L3ZpdGUnO1xyXG5pbXBvcnQgeyBkZWZpbmVDb25maWcgfSBmcm9tICd2aXRlc3QvY29uZmlnJztcclxuXHJcbmV4cG9ydCBkZWZhdWx0IGRlZmluZUNvbmZpZyh7XHJcblx0cGx1Z2luczogW3N2ZWx0ZWtpdCgpXSxcclxuXHR0ZXN0OiB7XHJcblx0XHRpbmNsdWRlOiBbJ3NyYy8qKi8qLnt0ZXN0LHNwZWN9Lntqcyx0c30nXVxyXG5cdH1cclxufSk7Il0sCiAgIm1hcHBpbmdzIjogIjtBQUFpbEIsU0FBUyxpQkFBaUI7QUFDM21CLFNBQVMsb0JBQW9CO0FBRTdCLElBQU8sc0JBQVEsYUFBYTtBQUFBLEVBQzNCLFNBQVMsQ0FBQyxVQUFVLENBQUM7QUFBQSxFQUNyQixNQUFNO0FBQUEsSUFDTCxTQUFTLENBQUMsOEJBQThCO0FBQUEsRUFDekM7QUFDRCxDQUFDOyIsCiAgIm5hbWVzIjogW10KfQo= diff --git a/BExIS.Modules.DPT_BE.UI/BExIS.Modules.DPT_BE.UI.csproj b/BExIS.Modules.DPT_BE.UI/BExIS.Modules.DPT_BE.UI.csproj index 6f5801f..c05cce0 100644 --- a/BExIS.Modules.DPT_BE.UI/BExIS.Modules.DPT_BE.UI.csproj +++ b/BExIS.Modules.DPT_BE.UI/BExIS.Modules.DPT_BE.UI.csproj @@ -14,7 +14,7 @@ Properties BExIS.Modules.DPT_BE.UI BExIS.Modules.DPT_BE.UI - v4.5.2 + v4.8 false true @@ -25,6 +25,7 @@ + true @@ -87,7 +88,6 @@ - @@ -97,12 +97,16 @@ ..\..\..\..\..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll - - ..\..\..\..\..\packages\System.Runtime.CompilerServices.Unsafe.4.5.0\lib\netstandard1.0\System.Runtime.CompilerServices.Unsafe.dll + + ..\..\..\..\..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll ..\..\..\..\..\packages\System.ValueTuple.4.3.0\lib\netstandard1.0\System.ValueTuple.dll + + + + ..\..\..\..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll @@ -127,42 +131,14 @@ ..\..\..\..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll - + ..\..\..\..\..\packages\TelerikMvcExtensions.2013.2.611\lib\net40\Telerik.Web.Mvc.dll - - ..\..\..\..\..\Libraries\Vaiona\Vaiona.Entities.dll - - - False - ..\..\..\..\..\Libraries\Vaiona\Vaiona.Logging.dll - - - ..\..\..\..\..\Libraries\Vaiona\Vaiona.Model.dll - - - False - ..\..\..\..\..\Libraries\Vaiona\Vaiona.Persistence.Api.dll - - - False - ..\..\..\..\..\Libraries\Vaiona\Vaiona.Utils.dll - - - ..\..\..\..\..\Libraries\Vaiona\Vaiona.Web.dll - - - False - ..\..\..\..\..\Libraries\Vaiona\Vaiona.Web.Mvc.dll - - - ..\..\..\..\..\Libraries\Vaiona\Vaiona.Web.Mvc.Modularity.dll - ..\..\..\..\..\packages\WebActivator.1.2.0.0\lib\NETFramework40\WebActivator.dll @@ -178,7 +154,6 @@ - @@ -426,11 +401,10 @@ - - - + + @@ -501,21 +475,53 @@ {c4ca0a99-0af3-4372-a9b7-b9073599bd8b} BExIS.Dlm.Services + + {455EC826-9A92-40FF-BD3B-388C288955CE} + BExIS.IO.Transform.Output + {c8a05313-b960-406e-92ec-c1e5b3f47fcd} BExIS.IO.Transform.Validation + + {DE0AD99C-C559-422F-8132-CC4D7C46FF83} + BExIS.UI + {782B71C1-707F-4AB1-80E9-90D2880635B4} BExIS.Utils - - {9472d367-8fb1-4009-b648-104b3d015ce9} - BEXIS.SWS.Entities + + {0815d220-3625-4e23-bbbc-8152345637fe} + Vaiona.Entities + + + {e8b37581-1cac-463d-903b-b4bee8b2b0e3} + Vaiona.Logging + + + {a60ac05f-8c9a-4efd-9826-452e6049da4d} + Vaiona.Model + + + {640bf81d-354a-4bf0-85fc-f0ad587cf8a2} + Vaiona.Persistence.Api + + + {63fcacaa-9534-4fdd-a082-78dcc06baf28} + Vaiona.Utils + + + {705f8751-e58a-453e-a7fd-0c310fd3cae8} + Vaiona.Web.Mvc.Modularity + + + {5f5d22e8-8c05-49cd-854e-8fe8eff1aa6c} + Vaiona.Web.Mvc - - {b423a986-eb03-4696-aade-a5e8ea11fc73} - BEXIS.SWS.Services + + {5b48b5a8-eae8-4ef8-8f2c-7fedb1b095d3} + Vaiona.Web @@ -550,12 +556,10 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - mkdir "$(SolutionDir)Console\Workspace\Modules\DPT_BE" -C:\Windows\System32\xcopy "$(ProjectDir)DPT_BE.Settings.xml" "$(SolutionDir)Console\Workspace\Modules\DPT_BE" /C /Y /I +C:\Windows\System32\xcopy "$(ProjectDir)DPT_BE.Settings.json" "$(SolutionDir)Console\Workspace\Modules\DPT_BE" /C /Y /I @@ -20,9 +18,9 @@ />--> - diff --git a/BExIS.Modules.DPT_BE.UI/DPT_BE.Settings.json b/BExIS.Modules.DPT_BE.UI/DPT_BE.Settings.json new file mode 100644 index 0000000..ad30612 --- /dev/null +++ b/BExIS.Modules.DPT_BE.UI/DPT_BE.Settings.json @@ -0,0 +1,64 @@ +{ + "id": "dpt_be", + "name": "Data Profiling Tools", + "description": "...", + "entries": [ + { + "key": "help", + "title": "Help URL", + "value": "", + "type": "String", + "description": "URL to the manual. If empty, it links to the latest manual from BEXIS2" + }, + { + "key": "username", + "title": "Username", + "value": "", + "description": "", + "type": "String", + "options": [] + }, + { + "key": "password", + "title": "Password", + "value": "", + "description": "", + "type": "String", + "options": [] + }, + { + "key": "epRefDataset", + "title": "epRefDataset", + "value": 20826, + "description": "", + "type": "Int16", + "options": [] + }, + + { + "key": "gpRefDataset", + "title": "gpRefDataset", + "value": 20907, + "description": "", + "type": "Int16", + "options": [] + }, + { + "key": "foxRefDataset", + "title": "foxRefDataset", + "value": 31040, + "description": "", + "type": "Int16", + "options": [] + }, + { + "key": "gNewExpDataset", + "title": "gNewExpDataset", + "value": 31307, + "description": "", + "type": "Int16", + "options": [] + } + + ] +} \ No newline at end of file diff --git a/BExIS.Modules.DPT_BE.UI/Helper/DataAccess.cs b/BExIS.Modules.DPT_BE.UI/Helper/DataAccess.cs index 6de11bf..897e257 100644 --- a/BExIS.Modules.DPT_BE.UI/Helper/DataAccess.cs +++ b/BExIS.Modules.DPT_BE.UI/Helper/DataAccess.cs @@ -7,6 +7,7 @@ using System.IO; using System.Linq; using System.Net; +using System.Text; using System.Web; namespace BExIS.Modules.DPT_BE.UI.Helper @@ -23,16 +24,18 @@ public static DataTable GetData(string datasetId, long structureId, ServerInform { string link = serverInformation.ServerName + "/api/data/" + datasetId; HttpWebRequest request = WebRequest.Create(link) as HttpWebRequest; - request.Headers.Add("Authorization", "Bearer " + serverInformation.Token); + request.UseDefaultCredentials = true; + string myCredentials = Convert.ToBase64String(ASCIIEncoding.ASCII.GetBytes(serverInformation.UsernamePassword)); + request.Headers.Add("Authorization", "Basic " + myCredentials); // request.ContentType = "application/json"; DataStructureObject dataStructureObject = GetDataStructure(structureId, serverInformation); DataTable data = new DataTable(); - foreach (var variable in dataStructureObject.Variables) + foreach (var variable in dataStructureObject.variables) { - DataColumn col = new DataColumn(variable.Label); - col.DataType = System.Type.GetType("System." + variable.SystemType); + DataColumn col = new DataColumn(variable.label); + col.DataType = System.Type.GetType("System." + variable.systemType); col.AllowDBNull = true; data.Columns.Add(col); } @@ -91,7 +94,8 @@ public static DataStructureObject GetDataStructure(long structId, ServerInformat { string link = serverInformation.ServerName + "/api/structures/" + structId; HttpWebRequest request = WebRequest.Create(link) as HttpWebRequest; - request.Headers.Add("Authorization", "Bearer " + serverInformation.Token); + string myCredentials = Convert.ToBase64String(ASCIIEncoding.ASCII.GetBytes(serverInformation.UsernamePassword)); + request.Headers.Add("Authorization", "Basic " + myCredentials); DataStructureObject dataStructureObject = new DataStructureObject(); @@ -124,7 +128,8 @@ public static DatasetObject GetDatasetInfo(string datasetId, ServerInformation s { string link = serverInformation.ServerName + "/api/dataset/" + datasetId; HttpWebRequest request = WebRequest.Create(link) as HttpWebRequest; - request.Headers.Add("Authorization", "Bearer " + serverInformation.Token); + string myCredentials = Convert.ToBase64String(ASCIIEncoding.ASCII.GetBytes(serverInformation.UsernamePassword)); + request.Headers.Add("Authorization", "Basic " + myCredentials); DatasetObject datasetObject = new DatasetObject(); @@ -147,5 +152,11 @@ public static DatasetObject GetDatasetInfo(string datasetId, ServerInformation s return datasetObject; } + + private string GetRequestHeader(string usernameandpassword) + { + string myCredentials = Convert.ToBase64String(ASCIIEncoding.ASCII.GetBytes(usernameandpassword)); + return "Authorization, Basic " + myCredentials; + } } } \ No newline at end of file diff --git a/BExIS.Modules.DPT_BE.UI/Helper/Settings.cs b/BExIS.Modules.DPT_BE.UI/Helper/Settings.cs deleted file mode 100644 index 3b9d03e..0000000 --- a/BExIS.Modules.DPT_BE.UI/Helper/Settings.cs +++ /dev/null @@ -1,132 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Xml; -using System.Xml.Linq; -using Vaiona.Utils.Cfg; - -namespace BExIS.Modules.DPT_BE.UI.Models -{ - public class Settings - { - - private static String filePath = Path.Combine(AppConfiguration.GetModuleWorkspacePath("DPT_BE"), "DPT_BE.settings.xml"); - private static Dictionary settings = new Dictionary(); - - /// - /// setup settings model - /// * load settings from settings.xml - /// - static Settings() - { - // intial loading of settings - reloadSettings(); - - // set up file watcher to listen for changes - using (FileSystemWatcher fw = new FileSystemWatcher()) - { - fw.Path = Path.GetDirectoryName(filePath); - fw.Filter = Path.GetFileName(filePath); - fw.Changed += new FileSystemEventHandler(fw_Changed); - fw.EnableRaisingEvents = true; - } - - } - - /// - /// retrieve a value from the settings file - /// - /// the key for the parameter - /// the respective value - public static object get( String key ) - { - if( settings.ContainsKey( key ) ) - { - return settings[ key ]; - } - else - { - return null; - } - } - - /// - /// add or change an entry in the settings - /// TODO persist changes in workflow file - /// - /// - /// - public static void set( String key, object value ) - { - if (settings.ContainsKey(key)) - { - settings[ key ] = value; - } - else - { - settings.Add( key, value ); - } - } - - /// - /// Handler to listen for changes in settings file - /// - /// - /// - private static void fw_Changed(object sender, FileSystemEventArgs e) - { - reloadSettings(); - } - - /// - /// load settings anew from settings.xml - /// - private static void reloadSettings() - { - // get XML data - XDocument xDoc = XDocument.Load(filePath); - XmlDocument xmlDoc = new XmlDocument(); - xmlDoc.Load(xDoc.CreateReader()); - - // empty old settings list - settings.Clear(); - - // parse values - foreach (XmlNode node in xmlDoc.SelectNodes("//settings/entry")) - { - // shortcuts - var key = node.Attributes["key"] != null ? node.Attributes["key"].Value : null; - var value = node.Attributes["value"] != null ? node.Attributes["value"].Value : null; - var type = node.Attributes["type"] != null ? node.Attributes["type"].Value : null; - - // only parse valid entries - if ((null == key) || (null == value)) - { - continue; - } - - // convert types - switch (type) - { - case "int": - int intVal; - if (Int32.TryParse(value, out intVal)) - { - settings.Add(key, intVal); - } - else - { - settings.Add(key, value); - } - break; - - // default is string - default: - settings.Add(key, value); - break; - } - } - } - - } -} \ No newline at end of file diff --git a/BExIS.Modules.DPT_BE.UI/Model/ApiModels.cs b/BExIS.Modules.DPT_BE.UI/Model/ApiModels.cs index 503b710..3219cf7 100644 --- a/BExIS.Modules.DPT_BE.UI/Model/ApiModels.cs +++ b/BExIS.Modules.DPT_BE.UI/Model/ApiModels.cs @@ -1,4 +1,5 @@ -using System; +using BExIS.IO.Transform.Output; +using System; using System.Collections.Generic; using System.Linq; using System.Web; @@ -13,7 +14,7 @@ namespace BExIS.Modules.DPT_BE.UI.Models public class ServerInformation { public string ServerName { get; set; } - public string Token { get; set; } + public string UsernamePassword { get; set; } } @@ -24,59 +25,83 @@ public class ServerInformation /// public class DataStructureObject { - public string Id { get; set; } - public string Title { get; set; } - public string Description { get; set; } - public string inUse { get; set; } - public string Structured { get; set; } - public List Variables { get; set; } + public int id { get; set; } + public string title { get; set; } + public string desciption { get; set; } + public bool inUse { get; set; } + public List variables { get; set; } } - public class Variables + public class Constraint { - public string Id { get; set; } - public string Label { get; set; } - public string Description { get; set; } - public string isOptional { get; set; } - public string Unit { get; set; } - public string DataType { get; set; } - public string SystemType { get; set; } - public string AttributeName { get; set; } - public string AttributeDescription { get; set; } + public int id { get; set; } + public string name { get; set; } + public string type { get; set; } + public string description { get; set; } } - /// - /// Class to store dataset information receive via api - /// - /// - /// - public class DatasetObject + public class Unit { - public string Id { get; set; } - public string Version { get; set; } - public string VersionId { get; set; } - public string Title { get; set; } - public string Description { get; set; } - public string DataStructureId { get; set; } - public string MetadataStructureId { get; set; } - public AdditionalInformations AdditionalInformations { get; set; } - public DatasetObject() - { - AdditionalInformations = new AdditionalInformations(); - } + public int id { get; set; } + public string name { get; set; } + public string abbrevation { get; set; } + public string description { get; set; } + public Dimension dimension { get; set; } + public string measurementSystem { get; set; } } + public class Dimension + { + public string name { get; set; } + public string description { get; set; } + public string specification { get; set; } + } + public class Variable + { + public int id { get; set; } + public string label { get; set; } + public string description { get; set; } + public bool isOptional { get; set; } + public string dataType { get; set; } + public string systemType { get; set; } + public string displayPattern { get; set; } + public Unit unit { get; set; } + public List missingValues { get; set; } + public Template template { get; set; } + public List meanings { get; set; } + public List constraints { get; set; } + } /// - /// Store AdditionalInformations for Dataset Object + /// Class to store dataset information receive via api /// /// /// - public class AdditionalInformations + public class DatasetObject { + public long Id { get; set; } + public long Version { get; set; } + public long VersionId { get; set; } public string Title { get; set; } + public string Description { get; set; } + public long DataStructureId { get; set; } + public long MetadataStructureId { get; set; } + public bool IsPublic { get; set; } + public string PublicationDate { get; set; } + public string VersionName { get; set; } + public bool VersionPublicAccess { get; set; } + public string VersionPublicAccessDate { get; set; } + public Dictionary AdditionalInformations { get; set; } + public Dictionary> Parties { get; set; } + public string VersionDate { get; set; } + public object Names { get; internal set; } + public DatasetObject() + { + AdditionalInformations = new Dictionary(); + Parties = new Dictionary>(); + } } diff --git a/BExIS.Modules.DPT_BE.UI/Properties/PublishProfiles/BexisServer_2010-testsite.pubxml b/BExIS.Modules.DPT_BE.UI/Properties/PublishProfiles/BexisServer_2010-testsite.pubxml deleted file mode 100644 index 6301d4e..0000000 --- a/BExIS.Modules.DPT_BE.UI/Properties/PublishProfiles/BexisServer_2010-testsite.pubxml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - FileSystem - FileSystem - Release - Any CPU - - True - False - C:\inetpub\wwwroot\2010-TestSite\Site\Areas\DPT_BE - False - - \ No newline at end of file diff --git a/BExIS.Modules.DPT_BE.UI/Properties/PublishProfiles/BexisServer_BE-Website.pubxml b/BExIS.Modules.DPT_BE.UI/Properties/PublishProfiles/BexisServer_BE_DevSite.pubxml similarity index 93% rename from BExIS.Modules.DPT_BE.UI/Properties/PublishProfiles/BexisServer_BE-Website.pubxml rename to BExIS.Modules.DPT_BE.UI/Properties/PublishProfiles/BexisServer_BE_DevSite.pubxml index 3d20551..fbb6dc4 100644 --- a/BExIS.Modules.DPT_BE.UI/Properties/PublishProfiles/BexisServer_BE-Website.pubxml +++ b/BExIS.Modules.DPT_BE.UI/Properties/PublishProfiles/BexisServer_BE_DevSite.pubxml @@ -12,7 +12,7 @@ indem Sie diese MSBuild-Datei bearbeiten. Weitere Informationen hierzu finden Si True False - C:\inetpub\wwwroot\BE-Website\Site\Areas\DPT_BE + C:\inetpub\wwwroot\BE_DevSite\Site\Areas\DPT_BE False \ No newline at end of file diff --git a/BExIS.Modules.DPT_BE.UI/Scripts/dpt_be.js b/BExIS.Modules.DPT_BE.UI/Scripts/dpt_be.js deleted file mode 100644 index 546b8e5..0000000 --- a/BExIS.Modules.DPT_BE.UI/Scripts/dpt_be.js +++ /dev/null @@ -1,2 +0,0 @@ -var app=function(){"use strict";function t(){}function e(t,e){for(const n in e)t[n]=e[n];return t}function n(t){return t()}function r(){return Object.create(null)}function o(t){t.forEach(n)}function i(t){return"function"==typeof t}function s(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function c(t,n,r,o){return t[1]&&o?e(r.ctx.slice(),t[1](o(n))):r.ctx}function u(t,e){const n={};e=new Set(e);for(const r in t)e.has(r)||"$"===r[0]||(n[r]=t[r]);return n}function a(t,e){t.appendChild(e)}function l(t,e,n){t.insertBefore(e,n||null)}function f(t){t.parentNode.removeChild(t)}function d(t,e){for(let n=0;nt.removeEventListener(e,n,r)}function b(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function v(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const r in e)null==e[r]?t.removeAttribute(r):"style"===r?t.style.cssText=e[r]:"__value"===r?t.value=t[r]=e[r]:n[r]&&n[r].set?t[r]=e[r]:b(t,r,e[r])}function x(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function w(t,e){t.value=null==e?"":e}function $(t,e,n,r){null===n?t.style.removeProperty(e):t.style.setProperty(e,n,r?"important":"")}let C;function E(t){C=t}function N(t){(function(){if(!C)throw new Error("Function called outside component initialization");return C})().$$.on_mount.push(t)}const P=[],O=[],j=[],A=[],S=Promise.resolve();let R=!1;function k(t){j.push(t)}const L=new Set;let T=0;function _(){const t=C;do{for(;T{U.delete(t),r&&(n&&t.d(1),r())})),t.o(e)}else r&&r()}function z(t,e,r,s){const{fragment:c,on_mount:u,on_destroy:a,after_update:l}=t.$$;c&&c.m(e,r),s||k((()=>{const e=u.map(n).filter(i);a?a.push(...e):o(e),t.$$.on_mount=[]})),l.forEach(k)}function I(t,e){const n=t.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function H(t,e){-1===t.$$.dirty[0]&&(P.push(t),R||(R=!0,S.then(_)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const o=r.length?r[0]:n;return p.ctx&&c(p.ctx[t],p.ctx[t]=o)&&(!p.skip_bound&&p.bound[t]&&p.bound[t](o),h&&H(e,t)),n})):[],p.update(),h=!0,o(p.before_update),p.fragment=!!s&&s(p.ctx),n.target){if(n.hydrate){const t=function(t){return Array.from(t.childNodes)}(n.target);p.fragment&&p.fragment.l(t),t.forEach(f)}else p.fragment&&p.fragment.c();n.intro&&q(e.$$.fragment),z(e,n.target,n.anchor,n.customElement),_()}E(d)}class V{$destroy(){I(this,1),this.$destroy=t}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const J=[];function X(e,n=t){let r;const o=new Set;function i(t){if(s(e,t)&&(e=t,r)){const t=!J.length;for(const t of o)t[1](),J.push(t,e);if(t){for(let t=0;t{o.delete(u),0===o.size&&(r(),r=null)}}}}var G=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r=0)return;u[o]="set-cookie"===o?(u[o]?u[o]:[]).concat([s]):u[o]?u[o]+", "+s:s}})),u):u):null,l={data:t.responseType&&"text"!==t.responseType?i.response:i.responseText,status:i.status,statusText:i.statusText,headers:a,config:t,request:i};!function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(lt("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}(e,n,l),i=null}},i.onabort=function(){i&&(n(lt("Request aborted",t,"ECONNABORTED",i)),i=null)},i.onerror=function(){n(lt("Network Error",t,null,i)),i=null},i.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(lt(e,t,"ECONNABORTED",i)),i=null},nt.isStandardBrowserEnv()){var f=(t.withCredentials||pt(l))&&t.xsrfCookieName?ft.read(t.xsrfCookieName):void 0;f&&(o[t.xsrfHeaderName]=f)}if("setRequestHeader"in i&&nt.forEach(o,(function(t,e){void 0===r&&"content-type"===e.toLowerCase()?delete o[e]:i.setRequestHeader(e,t)})),nt.isUndefined(t.withCredentials)||(i.withCredentials=!!t.withCredentials),t.responseType)try{i.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&i.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&i.upload&&i.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){i&&(i.abort(),n(t),i=null)})),r||(r=null),i.send(r)}))},mt={"Content-Type":"application/x-www-form-urlencoded"};function gt(t,e){!nt.isUndefined(t)&&nt.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var yt,bt={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(yt=ht),yt),transformRequest:[function(t,e){return at(e,"Accept"),at(e,"Content-Type"),nt.isFormData(t)||nt.isArrayBuffer(t)||nt.isBuffer(t)||nt.isStream(t)||nt.isFile(t)||nt.isBlob(t)?t:nt.isArrayBufferView(t)?t.buffer:nt.isURLSearchParams(t)?(gt(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):nt.isObject(t)?(gt(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};bt.headers={common:{Accept:"application/json, text/plain, */*"}},nt.forEach(["delete","get","head"],(function(t){bt.headers[t]={}})),nt.forEach(["post","put","patch"],(function(t){bt.headers[t]=nt.merge(mt)}));var vt=bt;function xt(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var wt=function(t){return xt(t),t.headers=t.headers||{},t.data=ct(t.data,t.headers,t.transformRequest),t.headers=nt.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),nt.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||vt.adapter)(t).then((function(e){return xt(t),e.data=ct(e.data,e.headers,t.transformResponse),e}),(function(e){return ut(e)||(xt(t),e&&e.response&&(e.response.data=ct(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},$t=function(t,e){e=e||{};var n={},r=["url","method","data"],o=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return nt.isPlainObject(t)&&nt.isPlainObject(e)?nt.merge(t,e):nt.isPlainObject(e)?nt.merge({},e):nt.isArray(e)?e.slice():e}function u(r){nt.isUndefined(e[r])?nt.isUndefined(t[r])||(n[r]=c(void 0,t[r])):n[r]=c(t[r],e[r])}nt.forEach(r,(function(t){nt.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),nt.forEach(o,u),nt.forEach(i,(function(r){nt.isUndefined(e[r])?nt.isUndefined(t[r])||(n[r]=c(void 0,t[r])):n[r]=c(void 0,e[r])})),nt.forEach(s,(function(r){r in e?n[r]=c(t[r],e[r]):r in t&&(n[r]=c(void 0,t[r]))}));var a=r.concat(o).concat(i).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===a.indexOf(t)}));return nt.forEach(l,u),n};function Ct(t){this.defaults=t,this.interceptors={request:new st,response:new st}}Ct.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=$t(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[wt,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},Ct.prototype.getUri=function(t){return t=$t(this.defaults,t),ot(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},nt.forEach(["delete","get","head","options"],(function(t){Ct.prototype[t]=function(e,n){return this.request($t(n||{},{method:t,url:e,data:(n||{}).data}))}})),nt.forEach(["post","put","patch"],(function(t){Ct.prototype[t]=function(e,n,r){return this.request($t(r||{},{method:t,url:e,data:n}))}}));var Et=Ct;function Nt(t){this.message=t}Nt.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},Nt.prototype.__CANCEL__=!0;var Pt=Nt;function Ot(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new Pt(t),e(n.reason))}))}Ot.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Ot.source=function(){var t;return{token:new Ot((function(e){t=e})),cancel:t}};var jt=Ot;function At(t){var e=new Et(t),n=G(Et.prototype.request,e);return nt.extend(n,Et.prototype,e),nt.extend(n,e),n}var St=At(vt);St.Axios=Et,St.create=function(t){return At($t(St.defaults,t))},St.Cancel=Pt,St.CancelToken=jt,St.isCancel=ut,St.all=function(t){return Promise.all(t)},St.spread=function(t){return function(e){return t.apply(null,e)}},St.isAxiosError=function(t){return"object"==typeof t&&!0===t.isAxiosError};var Rt=St;St.default=Rt;const kt=X(window.location.origin),Lt=X("");function Tt(t){let e="";if("string"==typeof t||"number"==typeof t)e+=t;else if("object"==typeof t)if(Array.isArray(t))e=t.map(Tt).filter(Boolean).join(" ");else for(let n in t)t[n]&&(e&&(e+=" "),e+=n);return e}function _t(t){let n,r,o;const i=t[7].default,s=function(t,e,n,r){if(t){const o=c(t,e,n,r);return t[0](o)}}(i,t,t[6],null),u=s||function(t){let e;return{c(){e=h("Loading...")},m(t,n){l(t,e,n)},d(t){t&&f(e)}}}();let d=[t[1],{role:"status"},{class:t[0]}],m={};for(let t=0;t32){const e=[],n=t.ctx.length/32;for(let t=0;t{n=e(e({},n),function(t){const e={};for(const n in t)"$"!==n[0]&&(e[n]=t[n]);return e}(t)),r(1,s=u(n,i)),"class"in t&&r(2,l=t.class),"type"in t&&r(3,f=t.type),"size"in t&&r(4,d=t.size),"color"in t&&r(5,p=t.color),"$$scope"in t&&r(6,a=t.$$scope)},t.$$.update=()=>{60&t.$$.dirty&&r(0,o=function(...t){return t.map(Tt).filter(Boolean).join(" ")}(l,!!d&&`spinner-${f}-${d}`,`spinner-${f}`,!!p&&`text-${p}`))},[o,s,l,f,d,p,a,c]}kt.subscribe((t=>{})),Lt.subscribe((t=>{})),Lt.subscribe((t=>{})),console.log("setup axios");class Ut extends V{constructor(t){super(),M(this,t,Bt,_t,s,{class:2,type:3,size:4,color:5})}}function Dt(t,e,n){const r=t.slice();return r[17]=e[n],r[19]=n,r}function qt(t,e,n){const r=t.slice();return r[17]=e[n],r[19]=n,r}function Ft(t){let e,n,r,i,s,c,u,d,g,v,w,C,E;return{c(){e=p("div"),n=p("input"),r=h(" File header exist\r\n\t\t"),i=p("form"),s=p("input"),c=p("br"),u=m(),d=p("input"),g=m(),v=p("p"),w=h(t[5]),b(n,"type","checkbox"),b(s,"type","file"),b(d,"type","submit"),d.value="Submit",b(d,"class","bx-button small function"),$(v,"color","red"),$(v,"width","400px"),b(e,"class","boxLeft svelte-1f7li9m")},m(o,f){var p;l(o,e,f),a(e,n),n.checked=t[3],a(e,r),a(e,i),a(i,s),a(i,c),a(i,u),a(i,d),a(i,g),a(i,v),a(v,w),C||(E=[y(n,"change",t[13]),y(s,"change",t[14]),y(i,"submit",(p=t[7],function(t){return t.preventDefault(),p.call(this,t)}))],C=!0)},p(t,e){8&e&&(n.checked=t[3]),32&e&&x(w,t[5])},d(t){t&&f(e),C=!1,o(E)}}}function zt(e){let n,r,i,s,c;return{c(){n=p("button"),n.textContent="Run",r=m(),i=p("button"),i.textContent="Clear",b(n,"class","bx-button small function bx-disabled"),b(i,"class","bx-button small function bx-disabled")},m(t,o){l(t,n,o),l(t,r,o),l(t,i,o),s||(c=[y(n,"click",e[8]),y(i,"click",e[9])],s=!0)},p:t,d(t){t&&f(n),t&&f(r),t&&f(i),s=!1,o(c)}}}function It(e){let n,r,i,s,c;return{c(){n=p("button"),n.textContent="Run",r=m(),i=p("button"),i.textContent="Clear",b(n,"class","bx-button small function"),b(i,"class","bx-button small function")},m(t,o){l(t,n,o),l(t,r,o),l(t,i,o),s||(c=[y(n,"click",e[8]),y(i,"click",e[9])],s=!0)},p:t,d(t){t&&f(n),t&&f(r),t&&f(i),s=!1,o(c)}}}function Ht(e){let n,r,o;return r=new Ut({props:{color:"primary",size:"sm"}}),{c(){var t;n=p("div"),(t=r.$$.fragment)&&t.c(),b(n,"class","spinnerBox svelte-1f7li9m")},m(t,e){l(t,n,e),z(r,n,null),o=!0},p:t,i(t){o||(q(r.$$.fragment,t),o=!0)},o(t){F(r.$$.fragment,t),o=!1},d(t){t&&f(n),I(r)}}}function Mt(e){let n,r,o,i,s,c,u,g,y,v,w,$,C,E,N,P,O,j,A,S,R,k,L,T,_,B,U,D,q,F,z,I,H=e[1].NumberOfAllPlots+"",M=e[1].NumberOfDuplicates+"",V=e[1].PlotProfiling.PlotTypeCounters,J=[];for(let t=0;t0?Wt:Qt}let tt=Z(e),et=tt(e);return{c(){n=p("div"),r=p("p"),r.textContent="Result",o=m(),i=p("ul"),s=p("li"),s.innerHTML="Number of plots",c=m();for(let t=0;tJoint Experiment 2020",y=m(),v=p("p"),w=p("b"),w.textContent="Forest:",$=m(),K.c(),C=m(),E=p("p"),N=p("b"),N.textContent="Grassland:",P=m(),Y.c(),O=m(),j=p("li"),j.innerHTML="Further details",A=m(),S=p("p"),R=p("b"),R.textContent="Number of entered plots:",k=m(),L=h(H),T=m(),_=p("p"),B=p("b"),B.textContent="Number of duplicate plots:",U=m(),D=h(M),q=m(),F=p("p"),z=p("b"),z.textContent="Non-valid plots:",I=m(),et.c(),b(r,"class","dtm-para_green svelte-1f7li9m"),b(v,"class","resultList svelte-1f7li9m"),b(E,"class","resultList svelte-1f7li9m"),b(S,"class","resultList svelte-1f7li9m"),b(_,"class","resultList svelte-1f7li9m"),b(F,"class","resultList-overflow svelte-1f7li9m"),b(n,"class","boxOuter svelte-1f7li9m"),b(n,"id","results")},m(t,e){l(t,n,e),a(n,r),a(n,o),a(n,i),a(i,s),a(i,c);for(let t=0;t{Q[i]=null})),D.r||o(D.c),D=D.p),~U?(z=Q[U],z?z.p(t,e):(z=Q[U]=K[U](t),z.c()),q(z,1),z.m(n,null)):z=null)},i(t){I||(q(z),I=!0)},o(t){F(z),I=!1},d(t){t&&f(e),V&&V.d(),G.d(),~U&&Q[U].d(),H=!1,o(M)}}}function ee(t,e,n){let r,o,i=[],s=!1,c=!1,u=!1,a="";const l="/api/DPT_BE/CountPlots";N((async()=>{}));let f="";return[r,o,s,c,u,a,f,()=>{!function(t){if("text/plain"==t.type||"text/csv"==t.type){n(5,a="");const e=new FileReader,r=t;e.readAsText(r),e.onload=function(t){const e=t.target.result;console.log("text",e),n(6,f=e)}}else n(5,a="File format is not supported. Please use .txt or .csv.")}(r[0])},async function(){if(n(4,u=!0),n(1,o=""),c){var t=f.split("\n");t.filter((t=>""!==t.trim())),t.splice(0,1);let e=t.join("\n");i=e.split(/[\r\n,\t\s;]+/)}else i=f.split(/[\r\n,\t\s;]+/).filter((t=>""!==t.trim()));const e=await async function(t,e){let n={plots:e};console.log(n);const r=await fetch(t,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(n)});return await r.json()}(l,i);console.log(e),n(1,o=e)},function(){n(6,f=""),n(1,o=""),n(4,u=!1)},l,function(){f=this.value,n(6,f)},function(){s=this.checked,n(2,s)},function(){c=this.checked,n(3,c)},function(){r=this.files,n(0,r)}]}return new class extends V{constructor(t){super(),M(this,t,ee,te,s,{HostURL:10})}get HostURL(){return this.$$.ctx[10]}}({target:document.getElementById("plotProfiling")})}(); -//# sourceMappingURL=dpt_be.js.map diff --git a/BExIS.Modules.DPT_BE.UI/Views/PlotProfiling/Index.cshtml b/BExIS.Modules.DPT_BE.UI/Views/PlotProfiling/Index.cshtml index 208f098..abc953c 100644 --- a/BExIS.Modules.DPT_BE.UI/Views/PlotProfiling/Index.cshtml +++ b/BExIS.Modules.DPT_BE.UI/Views/PlotProfiling/Index.cshtml @@ -1,15 +1,14 @@ -@section scripts -{ - -} - + +@{ + ViewBag.Title = "Edit"; + Layout = "~/Themes/Default/Layouts/_svelteLayout.cshtml"; -@section Information -{ } -
- +
+ @Html.Partial("_sveltePage")
+ + diff --git a/BExIS.Modules.DPT_BE.UI/packages.config b/BExIS.Modules.DPT_BE.UI/packages.config index 9503845..8a65862 100644 --- a/BExIS.Modules.DPT_BE.UI/packages.config +++ b/BExIS.Modules.DPT_BE.UI/packages.config @@ -1,7 +1,7 @@  - + @@ -30,9 +30,9 @@ - - - + + + diff --git a/BExIS.Modules.DPT_BE.UI/web.config b/BExIS.Modules.DPT_BE.UI/web.config index 8e98605..e49f0fb 100644 --- a/BExIS.Modules.DPT_BE.UI/web.config +++ b/BExIS.Modules.DPT_BE.UI/web.config @@ -1,30 +1,43 @@  + - + - - - - - - - + + + + + + + + + - + - + + + + @@ -57,7 +70,7 @@ - + @@ -85,12 +98,24 @@ - + + + + + + + + + + + + + \ No newline at end of file