@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.
Files changed (53) hide show
  1. package/dist/TableView.svelte +1 -0
  2. package/dist/TableView.svelte.d.ts +23 -0
  3. package/dist/components/File/FileIcon.svelte +49 -0
  4. package/dist/components/File/FileIcon.svelte.d.ts +23 -0
  5. package/dist/components/File/FileInfo.svelte +14 -0
  6. package/dist/components/File/FileInfo.svelte.d.ts +27 -0
  7. package/dist/components/File/FileUploader.svelte +135 -0
  8. package/dist/components/File/FileUploader.svelte.d.ts +27 -0
  9. package/dist/components/ListView.svelte +6 -0
  10. package/dist/components/ListView.svelte.d.ts +14 -0
  11. package/dist/components/Spinner/Spinner.svelte +8 -0
  12. package/dist/components/Spinner/Spinner.svelte.d.ts +23 -0
  13. package/{src/app.postcss → dist/css/core.ui.css} +1 -1
  14. package/dist/css/themes/theme-bexis2.css +98 -0
  15. package/dist/css/themes/theme-crimson.css +100 -0
  16. package/dist/css/themes/theme-gold-nouveau.css +140 -0
  17. package/dist/css/themes/theme-hamlindigo.css +111 -0
  18. package/dist/css/themes/theme-modern.css +127 -0
  19. package/dist/css/themes/theme-rocket.css +119 -0
  20. package/dist/css/themes/theme-sahara.css +128 -0
  21. package/dist/css/themes/theme-seafoam.css +121 -0
  22. package/dist/css/themes/theme-seasonal.css +115 -0
  23. package/dist/css/themes/theme-skeleton.css +118 -0
  24. package/dist/css/themes/theme-vintage.css +125 -0
  25. package/dist/index.d.ts +9 -0
  26. package/dist/index.js +9 -0
  27. package/dist/models/Models.d.ts +31 -0
  28. package/dist/models/Models.js +1 -0
  29. package/dist/services/Api.d.ts +7 -0
  30. package/dist/services/Api.js +44 -0
  31. package/dist/stores/apistore.d.ts +4 -0
  32. package/dist/stores/apistore.js +22 -0
  33. package/package.json +5 -1
  34. package/.eslintignore +0 -13
  35. package/.eslintrc.cjs +0 -20
  36. package/.github/workflows/main.yml +0 -44
  37. package/.prettierignore +0 -13
  38. package/.prettierrc +0 -9
  39. package/playwright.config.ts +0 -11
  40. package/postcss.config.cjs +0 -6
  41. package/src/app.d.ts +0 -11
  42. package/src/app.html +0 -15
  43. package/src/index.test.ts +0 -7
  44. package/src/routes/+layout.js +0 -5
  45. package/src/routes/+layout.svelte +0 -10
  46. package/src/routes/+page.svelte +0 -0
  47. package/src/routes/test/+page.svelte +0 -1
  48. package/static/favicon.png +0 -0
  49. package/svelte.config.js +0 -23
  50. package/tailwind.config.cjs +0 -9
  51. package/tests/test.ts +0 -6
  52. package/tsconfig.json +0 -19
  53. 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
@@ -1,13 +0,0 @@
1
- .DS_Store
2
- node_modules
3
- /build
4
- /.svelte-kit
5
- /package
6
- .env
7
- .env.*
8
- !.env.example
9
-
10
- # Ignore files for PNPM, NPM and YARN
11
- pnpm-lock.yaml
12
- package-lock.json
13
- yarn.lock
package/.prettierrc DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "useTabs": true,
3
- "singleQuote": true,
4
- "trailingComma": "none",
5
- "printWidth": 100,
6
- "plugins": ["prettier-plugin-svelte"],
7
- "pluginSearchDirs": ["."],
8
- "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
9
- }
@@ -1,11 +0,0 @@
1
- import type { PlaywrightTestConfig } from '@playwright/test';
2
-
3
- const config: PlaywrightTestConfig = {
4
- webServer: {
5
- command: 'npm run build && npm run preview',
6
- port: 4173
7
- },
8
- testDir: 'tests'
9
- };
10
-
11
- export default config;
@@ -1,6 +0,0 @@
1
- module.exports = {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- }
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
@@ -1,7 +0,0 @@
1
- import { describe, it, expect } from 'vitest';
2
-
3
- describe('sum test', () => {
4
- it('adds 1 + 2 to equal 3', () => {
5
- expect(1 + 2).toBe(3);
6
- });
7
- });
@@ -1,5 +0,0 @@
1
- export const prerender = true;
2
- export const ssr = false;
3
- export const trailingSlash = 'always';
4
-
5
- // import { API_URL } from '../../app.config';
@@ -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 />
File without changes
@@ -1 +0,0 @@
1
- <h1>test</h1>
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;
@@ -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
@@ -1,6 +0,0 @@
1
- import { expect, test } from '@playwright/test';
2
-
3
- test('index page has expected h1', async ({ page }) => {
4
- await page.goto('/');
5
- await expect(page.getByRole('heading', { name: 'Welcome to SvelteKit' })).toBeVisible();
6
- });
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
- }
package/vite.config.ts DELETED
@@ -1,9 +0,0 @@
1
- import { sveltekit } from '@sveltejs/kit/vite';
2
- import { defineConfig } from 'vitest/config';
3
-
4
- export default defineConfig({
5
- plugins: [sveltekit()],
6
- test: {
7
- include: ['src/**/*.{test,spec}.{js,ts}']
8
- }
9
- });