@bexis2/bexis2-core-ui 0.0.18 → 0.0.19

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 (46) 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/dist/css/core.ui.css +2 -0
  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/static/favicon.png +0 -0
  42. package/svelte.config.js +0 -23
  43. package/tailwind.config.cjs +0 -9
  44. package/tests/test.ts +0 -6
  45. package/tsconfig.json +0 -19
  46. 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
- }
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
- });