@bexis2/bexis2-core-ui 0.0.18 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/TableView.svelte +1 -0
- package/dist/TableView.svelte.d.ts +23 -0
- package/dist/components/File/FileIcon.svelte +49 -0
- package/dist/components/File/FileIcon.svelte.d.ts +23 -0
- package/dist/components/File/FileInfo.svelte +14 -0
- package/dist/components/File/FileInfo.svelte.d.ts +27 -0
- package/dist/components/File/FileUploader.svelte +135 -0
- package/dist/components/File/FileUploader.svelte.d.ts +27 -0
- package/dist/components/ListView.svelte +6 -0
- package/dist/components/ListView.svelte.d.ts +14 -0
- package/dist/components/Spinner/Spinner.svelte +8 -0
- package/dist/components/Spinner/Spinner.svelte.d.ts +23 -0
- package/{src/app.postcss → dist/css/core.ui.css} +1 -1
- package/dist/css/themes/theme-bexis2.css +98 -0
- package/dist/css/themes/theme-crimson.css +100 -0
- package/dist/css/themes/theme-gold-nouveau.css +140 -0
- package/dist/css/themes/theme-hamlindigo.css +111 -0
- package/dist/css/themes/theme-modern.css +127 -0
- package/dist/css/themes/theme-rocket.css +119 -0
- package/dist/css/themes/theme-sahara.css +128 -0
- package/dist/css/themes/theme-seafoam.css +121 -0
- package/dist/css/themes/theme-seasonal.css +115 -0
- package/dist/css/themes/theme-skeleton.css +118 -0
- package/dist/css/themes/theme-vintage.css +125 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -0
- package/dist/models/Models.d.ts +31 -0
- package/dist/models/Models.js +1 -0
- package/dist/services/Api.d.ts +7 -0
- package/dist/services/Api.js +44 -0
- package/dist/stores/apistore.d.ts +4 -0
- package/dist/stores/apistore.js +22 -0
- package/package.json +5 -1
- package/.eslintignore +0 -13
- package/.eslintrc.cjs +0 -20
- package/.github/workflows/main.yml +0 -44
- package/.prettierignore +0 -13
- package/.prettierrc +0 -9
- package/playwright.config.ts +0 -11
- package/postcss.config.cjs +0 -6
- package/src/app.d.ts +0 -11
- package/src/app.html +0 -15
- package/src/index.test.ts +0 -7
- package/src/routes/+layout.js +0 -5
- package/src/routes/+layout.svelte +0 -10
- package/src/routes/+page.svelte +0 -0
- package/src/routes/test/+page.svelte +0 -1
- package/static/favicon.png +0 -0
- package/svelte.config.js +0 -23
- package/tailwind.config.cjs +0 -9
- package/tests/test.ts +0 -6
- package/tsconfig.json +0 -19
- package/vite.config.ts +0 -9
package/.eslintrc.cjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
parser: '@typescript-eslint/parser',
|
|
4
|
-
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
|
|
5
|
-
plugins: ['svelte3', '@typescript-eslint'],
|
|
6
|
-
ignorePatterns: ['*.cjs'],
|
|
7
|
-
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
|
|
8
|
-
settings: {
|
|
9
|
-
'svelte3/typescript': () => require('typescript')
|
|
10
|
-
},
|
|
11
|
-
parserOptions: {
|
|
12
|
-
sourceType: 'module',
|
|
13
|
-
ecmaVersion: 2020
|
|
14
|
-
},
|
|
15
|
-
env: {
|
|
16
|
-
browser: true,
|
|
17
|
-
es2017: true,
|
|
18
|
-
node: true
|
|
19
|
-
}
|
|
20
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
name: GitHub Pages
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- master # Set a branch name to trigger deployment
|
|
7
|
-
pull_request:
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
deploy:
|
|
11
|
-
runs-on: ubuntu-20.04 # Set platform for runner
|
|
12
|
-
concurrency:
|
|
13
|
-
group: ${{ github.workflow }}-${{ github.ref }}
|
|
14
|
-
steps:
|
|
15
|
-
- uses: actions/checkout@v2
|
|
16
|
-
|
|
17
|
-
- name: Setup Node
|
|
18
|
-
uses: actions/setup-node@v2
|
|
19
|
-
with:
|
|
20
|
-
node-version: '16'
|
|
21
|
-
|
|
22
|
-
- name: Cache pnpm modules
|
|
23
|
-
uses: actions/cache@v2
|
|
24
|
-
with:
|
|
25
|
-
path: ~/.pnpm-store
|
|
26
|
-
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
|
27
|
-
restore-keys: |
|
|
28
|
-
${{ runner.os }}-
|
|
29
|
-
- uses: pnpm/action-setup@v2.0.1
|
|
30
|
-
with:
|
|
31
|
-
version: 6.20.1
|
|
32
|
-
run_install: true
|
|
33
|
-
|
|
34
|
-
- run: pnpm i # Run install
|
|
35
|
-
- run: pnpm run build # Run build
|
|
36
|
-
- run: dir
|
|
37
|
-
- run: cp -a static/. ./build/ # Copy missing files to build folder
|
|
38
|
-
|
|
39
|
-
- name: Deploy
|
|
40
|
-
uses: peaceiris/actions-gh-pages@v3
|
|
41
|
-
if: ${{ github.ref == 'refs/heads/master' }}
|
|
42
|
-
with:
|
|
43
|
-
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
44
|
-
publish_dir: ./build # Copy all files from the build folder to the gh-page branch
|
package/.prettierignore
DELETED
package/.prettierrc
DELETED
package/playwright.config.ts
DELETED
package/postcss.config.cjs
DELETED
package/src/app.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="@sveltejs/kit" />
|
|
2
|
-
|
|
3
|
-
// See https://kit.svelte.dev/docs/types#app
|
|
4
|
-
// for information about these interfaces
|
|
5
|
-
// and what to do when importing types
|
|
6
|
-
declare namespace App {
|
|
7
|
-
// interface Error {}
|
|
8
|
-
// interface Locals {}
|
|
9
|
-
// interface PageData {}
|
|
10
|
-
// interface Platform {}
|
|
11
|
-
}
|
package/src/app.html
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
10
|
-
%sveltekit.head%
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<div>%sveltekit.body%</div>
|
|
14
|
-
</body>
|
|
15
|
-
</html>
|
package/src/index.test.ts
DELETED
package/src/routes/+layout.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<script lang='ts'>
|
|
2
|
-
// The ordering of these imports is critical to your app working properly
|
|
3
|
-
import '@skeletonlabs/skeleton/themes/theme-skeleton.css';
|
|
4
|
-
// If you have source.organizeImports set to true in VSCode, then it will auto change this ordering
|
|
5
|
-
import '@skeletonlabs/skeleton/styles/all.css';
|
|
6
|
-
// Most of your app wide CSS should be put in this file
|
|
7
|
-
import '../app.postcss';
|
|
8
|
-
</script>
|
|
9
|
-
|
|
10
|
-
<slot />
|
package/src/routes/+page.svelte
DELETED
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<h1>test</h1>
|
package/static/favicon.png
DELETED
|
Binary file
|
package/svelte.config.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import adapter from '@sveltejs/adapter-static';
|
|
2
|
-
import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
3
|
-
|
|
4
|
-
/** @type {import('@sveltejs/kit').Config} */
|
|
5
|
-
const config = {
|
|
6
|
-
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
|
7
|
-
// for more information about preprocessors
|
|
8
|
-
preprocess: vitePreprocess(),
|
|
9
|
-
|
|
10
|
-
kit: {
|
|
11
|
-
adapter: adapter({
|
|
12
|
-
pages: 'build',
|
|
13
|
-
assets: 'build',
|
|
14
|
-
fallback: null,
|
|
15
|
-
precompress: false,
|
|
16
|
-
ssr: true
|
|
17
|
-
}
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export default config;
|
package/tailwind.config.cjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** @type {import('tailwindcss').Config} */
|
|
2
|
-
module.exports = {
|
|
3
|
-
darkMode: 'class',
|
|
4
|
-
content: ['./src/**/*.{html,js,svelte,ts}', require('path').join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')],
|
|
5
|
-
theme: {
|
|
6
|
-
extend: {},
|
|
7
|
-
},
|
|
8
|
-
plugins: [...require('@skeletonlabs/skeleton/tailwind/skeleton.cjs')()],
|
|
9
|
-
}
|
package/tests/test.ts
DELETED
package/tsconfig.json
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./.svelte-kit/tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"allowJs": true,
|
|
5
|
-
"checkJs": true,
|
|
6
|
-
"esModuleInterop": true,
|
|
7
|
-
"forceConsistentCasingInFileNames": true,
|
|
8
|
-
"resolveJsonModule": true,
|
|
9
|
-
"skipLibCheck": true,
|
|
10
|
-
"sourceMap": true,
|
|
11
|
-
"strict": true,
|
|
12
|
-
"noImplicitAny": false
|
|
13
|
-
},
|
|
14
|
-
"exclude": ["node_modules"]
|
|
15
|
-
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
|
16
|
-
//
|
|
17
|
-
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
|
18
|
-
// from the referenced tsconfig.json - TypeScript does not merge them in
|
|
19
|
-
}
|