@bexis2/bexis2-core-ui 0.2.16 → 0.2.18

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.
@@ -26,11 +26,13 @@
26
26
 
27
27
  $: value = null;
28
28
  $: updateTarget(value);
29
+ $: target, setValue(target);
29
30
 
30
31
  let groupBy;
31
32
  $: groupBy;
32
33
 
33
34
  function updateTarget(selection) {
35
+ console.log("UPDATE target",selection);
34
36
  //different cases
35
37
  //a) source is complex model is simple return array
36
38
  if (complexSource && !complexTarget && isLoaded && isMulti) {
@@ -45,8 +47,9 @@
45
47
 
46
48
  if (!complexSource && !complexTarget && isLoaded && isMulti) {
47
49
  target = [];
50
+
48
51
  for (let i in selection) {
49
- target.push(selection[i].value);
52
+ target.push(selection[i]);
50
53
  }
51
54
  }
52
55
 
@@ -73,14 +76,15 @@
73
76
  }
74
77
 
75
78
  onMount(async () => {
76
- console.log('on mount multiselect');
77
- ////console.log(source);
79
+ setValue(target);
80
+ });
78
81
 
82
+ function setValue(t) {
79
83
  //a) source is complex model is simple
80
84
  if (complexSource && !complexTarget && isMulti) {
81
85
  let items = [];
82
86
  // event.detail will be null unless isMulti is true and user has removed a single item
83
- for (let i in target) {
87
+ for (let i in t) {
84
88
  let t = target[i];
85
89
  items.push(source.find((item) => item[itemId] === t));
86
90
  }
@@ -94,19 +98,21 @@
94
98
  }
95
99
 
96
100
  if (complexSource && complexTarget && isMulti) {
97
- value = target;
101
+ value = t;
98
102
  isLoaded = true;
99
103
  groupBy = (item) => item[itemGroup];
100
104
  }
101
105
 
102
106
  //b) simple liust and simple model
103
107
  if (!complexSource && !complexTarget && isMulti) {
104
- ////console.log("source", source);
105
- ////console.log("target",target);
108
+ console.log('b) simple liust and simple model');
109
+ console.log('source', source);
110
+ //console.log("target",t);
106
111
  isLoaded = true;
107
112
  //set target only if its nit empty
108
- if (target != null && target !== undefined && target != '') {
109
- value = target;
113
+ if (t != null && t !== undefined && t != '') {
114
+ console.log('target', t);
115
+ value = t;
110
116
  }
111
117
  }
112
118
 
@@ -114,13 +120,13 @@
114
120
  //console.log("onmount",complexSource,complexTarget,value,target)
115
121
  if (!complexSource && !complexTarget) {
116
122
  value = {
117
- value: target,
118
- label: target
123
+ value: t,
124
+ label: t
119
125
  };
120
126
  }
121
127
 
122
128
  if (complexSource && complexTarget) {
123
- value = target;
129
+ value = t;
124
130
  groupBy = (item) => item[itemGroup];
125
131
  }
126
132
 
@@ -136,7 +142,7 @@
136
142
 
137
143
  isLoaded = true;
138
144
  }
139
- });
145
+ }
140
146
  </script>
141
147
 
142
148
  <InputContainer {id} label={title} {feedback} {required} {help}>
@@ -0,0 +1,8 @@
1
+ <script>import { Toast } from "@skeletonlabs/skeleton";
2
+ import { notificationStore } from "../../stores/pageStores";
3
+ let btnStyle;
4
+ $:
5
+ btnStyle = $notificationStore === void 0 || $notificationStore.btnStyle === void 0 ? notificationStore.getBtnStyle() : $notificationStore.btnStyle;
6
+ </script>
7
+
8
+ <Toast position="t" buttonDismiss={btnStyle} />
@@ -0,0 +1,14 @@
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: Record<string, never>;
4
+ events: {
5
+ [evt: string]: CustomEvent<any>;
6
+ };
7
+ slots: {};
8
+ };
9
+ export type NotificationProps = typeof __propDef.props;
10
+ export type NotificationEvents = typeof __propDef.events;
11
+ export type NotificationSlots = typeof __propDef.slots;
12
+ export default class Notification extends SvelteComponentTyped<NotificationProps, NotificationEvents, NotificationSlots> {
13
+ }
14
+ export {};
@@ -6,6 +6,7 @@ import Footer from "./Footer.svelte";
6
6
  import Header from "./Header.svelte";
7
7
  import HelpPopUp from "./HelpPopUp.svelte";
8
8
  import Breadcrumb from "./breadcrumb/Breadcrumb.svelte";
9
+ import Notification from "./Notification.svelte";
9
10
  import { computePosition, autoUpdate, offset, shift, flip, arrow } from "@floating-ui/dom";
10
11
  import { storePopup } from "@skeletonlabs/skeleton";
11
12
  import { breadcrumbStore } from "../../stores/pageStores";
@@ -79,4 +80,5 @@ onMount(async () => {
79
80
  </div>
80
81
 
81
82
  <HelpPopUp active={help} />
83
+ <Notification />
82
84
  </AppShell>
@@ -0,0 +1,16 @@
1
+ <script>export let cols = 1;
2
+ export let rows = 10;
3
+ </script>
4
+
5
+ <div class="placeholder animate-pulse w-full h-10 sp" />
6
+ <div class="table-container w-full">
7
+ <table class="table table-compact w-full">
8
+ {#each Array(rows) as _}
9
+ <tr class="w-full">
10
+ {#each Array(cols) as _}
11
+ <td class="p-3"><div class="placeholder animate-pulse h-9 w-full" /></td>
12
+ {/each}
13
+ </tr>
14
+ {/each}
15
+ </table>
16
+ </div>
@@ -0,0 +1,17 @@
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ cols?: number | undefined;
5
+ rows?: number | undefined;
6
+ };
7
+ events: {
8
+ [evt: string]: CustomEvent<any>;
9
+ };
10
+ slots: {};
11
+ };
12
+ export type TablePlaceholderProps = typeof __propDef.props;
13
+ export type TablePlaceholderEvents = typeof __propDef.events;
14
+ export type TablePlaceholderSlots = typeof __propDef.slots;
15
+ export default class TablePlaceholder extends SvelteComponentTyped<TablePlaceholderProps, TablePlaceholderEvents, TablePlaceholderSlots> {
16
+ }
17
+ export {};
@@ -13,7 +13,6 @@ onMount(async () => {
13
13
  let hamburger = true;
14
14
  </script>
15
15
 
16
-
17
16
  {#if $menuStore !== undefined}
18
17
  <div
19
18
  class="sm:flex h-min flex-row w-full justify-between items-center md:flex px-3 py-2 bg-tertiary-50 text-surface-800 z-50 shadow-md"
package/dist/index.d.ts CHANGED
@@ -19,6 +19,8 @@ import Table from './components/Table/Table.svelte';
19
19
  import TableFilter from './components/Table/TableFilter.svelte';
20
20
  import { columnFilter, searchFilter } from './components/Table/filter';
21
21
  import type { TableConfig, Columns, Column } from './models/Models';
22
+ import Notification from './components/page/Notification.svelte';
23
+ import TablePlaceholder from './components/page/TablePlaceholder.svelte';
22
24
  export { Checkbox, CheckboxKVPList, CheckboxList, DateInput, DropdownKVP, MultiSelect, NumberInput, TextArea, TextInput };
23
25
  export { FileInfo, FileIcon, FileUploader };
24
26
  export { Spinner, Page, Alert, Menu, ErrorMessage };
@@ -27,6 +29,11 @@ export { host, username, password, setApiConfig } from './stores/apiStores.js';
27
29
  export type { userType, inputType, fileUploaderType, linkType, listItemType, keyValuePairType, fileInfoType, fileReaderInfoType, asciiFileReaderInfoType } from './models/Models.js';
28
30
  export { helpStore } from './stores/pageStores';
29
31
  export type { helpStoreType, helpItemType } from './models/Models';
32
+ export { notificationStore } from './stores/pageStores';
33
+ export type { notificationItemType, notificationStoreType } from './models/Models';
34
+ export { notificationType } from './models/Enums';
35
+ export { Notification };
36
+ export { TablePlaceholder };
30
37
  export { positionType, pageContentLayoutType, decimalCharacterType, orientationType, textMarkerType, textSeperatorType } from './models/Enums';
31
38
  export { Table, TableFilter, columnFilter, searchFilter };
32
39
  export type { TableConfig, Columns, Column };
package/dist/index.js CHANGED
@@ -24,6 +24,10 @@ import TextArea from './components/form/TextArea.svelte';
24
24
  import Table from './components/Table/Table.svelte';
25
25
  import TableFilter from './components/Table/TableFilter.svelte';
26
26
  import { columnFilter, searchFilter } from './components/Table/filter';
27
+ //notification
28
+ import Notification from './components/page/Notification.svelte';
29
+ //table placeholder
30
+ import TablePlaceholder from './components/page/TablePlaceholder.svelte';
27
31
  //Form
28
32
  export { Checkbox, CheckboxKVPList, CheckboxList, DateInput, DropdownKVP, MultiSelect, NumberInput, TextArea, TextInput };
29
33
  //File
@@ -35,6 +39,12 @@ export { Api } from './services/Api.js';
35
39
  export { host, username, password, setApiConfig } from './stores/apiStores.js';
36
40
  //help
37
41
  export { helpStore } from './stores/pageStores';
42
+ //notification
43
+ export { notificationStore } from './stores/pageStores';
44
+ export { notificationType } from './models/Enums';
45
+ export { Notification };
46
+ //table placholder
47
+ export { TablePlaceholder };
38
48
  //enum
39
49
  export { positionType, pageContentLayoutType, decimalCharacterType, orientationType, textMarkerType, textSeperatorType } from './models/Enums';
40
50
  // Table
@@ -25,3 +25,9 @@ export declare enum textMarkerType {
25
25
  quotes = 0,
26
26
  doubleQuotes = 1
27
27
  }
28
+ export declare enum notificationType {
29
+ success = 0,
30
+ warning = 1,
31
+ error = 2,
32
+ surface = 3
33
+ }
@@ -31,3 +31,11 @@ export var textMarkerType;
31
31
  textMarkerType[textMarkerType["quotes"] = 0] = "quotes";
32
32
  textMarkerType[textMarkerType["doubleQuotes"] = 1] = "doubleQuotes";
33
33
  })(textMarkerType || (textMarkerType = {}));
34
+ //types for the notification styling
35
+ export var notificationType;
36
+ (function (notificationType) {
37
+ notificationType[notificationType["success"] = 0] = "success";
38
+ notificationType[notificationType["warning"] = 1] = "warning";
39
+ notificationType[notificationType["error"] = 2] = "error";
40
+ notificationType[notificationType["surface"] = 3] = "surface";
41
+ })(notificationType || (notificationType = {}));
@@ -1,7 +1,7 @@
1
1
  import type { SvelteComponent } from 'svelte';
2
2
  import type { ColumnFilterFn } from 'svelte-headless-table/lib/plugins';
3
3
  import type { Writable } from 'svelte/store';
4
- import { decimalCharacterType, orientationType, textMarkerType, textSeperatorType } from './Enums';
4
+ import type { decimalCharacterType, notificationType, orientationType, textMarkerType, textSeperatorType } from './Enums';
5
5
  export interface linkType {
6
6
  label: string;
7
7
  url: string;
@@ -106,3 +106,12 @@ export interface helpStoreType {
106
106
  itemId?: string;
107
107
  helpItems: helpItemType[];
108
108
  }
109
+ export interface notificationItemType {
110
+ notificationType?: notificationType;
111
+ message: string;
112
+ }
113
+ export interface notificationStoreType {
114
+ notificationType: notificationType;
115
+ message: string;
116
+ btnStyle: string;
117
+ }
@@ -1 +1 @@
1
- import { decimalCharacterType, orientationType, textMarkerType, textSeperatorType } from './Enums';
1
+ export {};
@@ -1,6 +1,7 @@
1
- import type { helpItemType, helpStoreType } from '../models/Models';
1
+ import type { helpItemType, helpStoreType, notificationItemType, notificationStoreType } from '../models/Models';
2
2
  import type { MenuModel, breadcrumbItemType } from '../models/Page';
3
3
  import { BreadcrumbModel } from '../models/Page';
4
+ import { type Writable } from 'svelte/store';
4
5
  export declare const helpStore: {
5
6
  subscribe: (this: void, run: import("svelte/store").Subscriber<helpStoreType>, invalidate?: ((value?: helpStoreType | undefined) => void) | undefined) => import("svelte/store").Unsubscriber;
6
7
  set: (this: void, value: helpStoreType) => void;
@@ -15,7 +16,7 @@ export declare const helpStore: {
15
16
  reset: () => void;
16
17
  clear: () => void;
17
18
  };
18
- export declare const menuStore: import("svelte/store").Writable<MenuModel>;
19
+ export declare const menuStore: Writable<MenuModel>;
19
20
  export declare const breadcrumbStore: {
20
21
  subscribe: (this: void, run: import("svelte/store").Subscriber<BreadcrumbModel>, invalidate?: ((value?: BreadcrumbModel | undefined) => void) | undefined) => import("svelte/store").Unsubscriber;
21
22
  set: (this: void, value: BreadcrumbModel) => void;
@@ -23,3 +24,13 @@ export declare const breadcrumbStore: {
23
24
  addItem: (item: breadcrumbItemType) => void;
24
25
  clean: () => void;
25
26
  };
27
+ export declare const notificationStore: {
28
+ subscribe: (this: void, run: import("svelte/store").Subscriber<notificationStoreType>, invalidate?: ((value?: notificationStoreType | undefined) => void) | undefined) => import("svelte/store").Unsubscriber;
29
+ set: (this: void, value: notificationStoreType) => void;
30
+ update: (this: void, updater: import("svelte/store").Updater<notificationStoreType>) => void;
31
+ setNotification: (notificationItem: notificationItemType) => void;
32
+ triggerNotification: () => void;
33
+ clear: () => void;
34
+ showNotification: (notificationItem: notificationItemType) => void;
35
+ getBtnStyle: () => string;
36
+ };
@@ -1,4 +1,6 @@
1
+ import { notificationType } from '../models/Enums';
1
2
  import { BreadcrumbModel } from '../models/Page';
3
+ import { toastStore } from '@skeletonlabs/skeleton';
2
4
  import { writable } from 'svelte/store';
3
5
  function createHelpStore() {
4
6
  // set Store Type
@@ -101,3 +103,107 @@ function createBreadcrumbStore() {
101
103
  }
102
104
  // store for breadcrumb navigation
103
105
  export const breadcrumbStore = createBreadcrumbStore();
106
+ // store for notification (toasts)
107
+ function createNotificationStore() {
108
+ // set Store Type
109
+ const { subscribe, set, update } = writable();
110
+ return {
111
+ //pass Store default functions
112
+ subscribe,
113
+ set,
114
+ update,
115
+ // set notificationStroe, notificationType, message and button style
116
+ setNotification: (notificationItem) => {
117
+ notificationItem.notificationType =
118
+ notificationItem.notificationType === undefined
119
+ ? notificationType.surface
120
+ : notificationItem.notificationType;
121
+ let btnStyle;
122
+ switch (notificationItem.notificationType) {
123
+ case notificationType.success:
124
+ btnStyle = 'btn-icon btn-icon-sm variant-filled-success shadow-md';
125
+ break;
126
+ case notificationType.warning:
127
+ btnStyle = 'btn-icon btn-icon-sm variant-filled-warning shadow-md';
128
+ break;
129
+ case notificationType.error:
130
+ btnStyle = 'btn-icon btn-icon-sm variant-filled-error shadow-md';
131
+ break;
132
+ case notificationType.surface:
133
+ btnStyle = 'btn-icon btn-icon-sm variant-filled-surface shadow-md';
134
+ break;
135
+ }
136
+ notificationStore.set({
137
+ notificationType: notificationItem.notificationType,
138
+ message: notificationItem.message,
139
+ btnStyle: btnStyle
140
+ });
141
+ notificationStore.subscribe((value) => { });
142
+ },
143
+ // triggers the notification to show
144
+ triggerNotification: () => {
145
+ let timeout = 30000;
146
+ let classes = '';
147
+ let message = '';
148
+ notificationStore.subscribe((value) => {
149
+ switch (value.notificationType) {
150
+ case notificationType.success:
151
+ classes =
152
+ 'bg-success-300 border-solid border-2 border-success-500 shadow-md text-surface-900';
153
+ break;
154
+ case notificationType.warning:
155
+ classes =
156
+ 'bg-warning-300 border-solid border-2 border-warning-500 shadow-md text-surface-900';
157
+ break;
158
+ case notificationType.error:
159
+ classes =
160
+ 'bg-error-300 border-solid border-2 border-error-500 shadow-md text-surface-900';
161
+ break;
162
+ case notificationType.surface:
163
+ classes =
164
+ 'bg-surface-300 border-solid border-2 border-surface-500 shadow-md text-surface-900';
165
+ break;
166
+ }
167
+ message = value.message;
168
+ });
169
+ if (classes != '' && message != '') {
170
+ const notificationToast = {
171
+ classes: classes,
172
+ message: message,
173
+ timeout: timeout
174
+ };
175
+ toastStore.trigger(notificationToast);
176
+ }
177
+ },
178
+ // cleans the toastStore
179
+ clear: () => {
180
+ toastStore.clear();
181
+ },
182
+ // cleans, sets, and schows the notification (all you need ;))
183
+ showNotification: (notificationItem) => {
184
+ notificationStore.clear();
185
+ notificationStore.setNotification({
186
+ notificationType: notificationItem.notificationType,
187
+ message: notificationItem.message
188
+ });
189
+ notificationStore.triggerNotification();
190
+ },
191
+ // gets the dissmiss Button style
192
+ getBtnStyle: () => {
193
+ let btnStyle = '';
194
+ notificationStore.subscribe((value) => {
195
+ do {
196
+ if (value === undefined || value.btnStyle === undefined) {
197
+ notificationStore.setNotification({ message: '' });
198
+ }
199
+ else {
200
+ btnStyle = value.btnStyle;
201
+ }
202
+ } while (btnStyle === '');
203
+ });
204
+ return btnStyle;
205
+ }
206
+ };
207
+ }
208
+ //crate and export the instance of the store
209
+ export const notificationStore = createNotificationStore();
package/package.json CHANGED
@@ -1,101 +1,101 @@
1
- {
2
- "name": "@bexis2/bexis2-core-ui",
3
- "version": "0.2.16",
4
- "private": false,
5
- "scripts": {
6
- "dev": "vite dev",
7
- "package": "svelte-package",
8
- "build": "vite build",
9
- "build package": "svelte-kit sync && svelte-package --watch",
10
- "preview": "vite preview",
11
- "test": "playwright test",
12
- "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
13
- "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
14
- "test:unit": "vitest",
15
- "lint": "prettier --plugin-search-dir . --check . && eslint .",
16
- "format": "prettier --plugin-search-dir . --write .",
17
- "init": "npm init --scope bexis2",
18
- "link": "npm link",
19
- "publish": "npm publish --access public"
20
- },
21
- "devDependencies": {
22
- "@playwright/test": "^1.28.1",
23
- "@skeletonlabs/skeleton": "^1.9.0",
24
- "@sveltejs/adapter-auto": "^2.0.0",
25
- "@sveltejs/adapter-static": "^2.0.2",
26
- "@sveltejs/kit": "^1.5.0",
27
- "@sveltejs/package": "^2.0.2",
28
- "@tailwindcss/forms": "^0.5.3",
29
- "@tailwindcss/typography": "^0.5.9",
30
- "@typescript-eslint/eslint-plugin": "^5.45.0",
31
- "@typescript-eslint/parser": "^5.45.0",
32
- "autoprefixer": "^10.4.14",
33
- "eslint": "^8.28.0",
34
- "eslint-config-prettier": "^8.5.0",
35
- "eslint-plugin-svelte3": "^4.0.0",
36
- "postcss": "^8.4.23",
37
- "prettier": "^2.8.0",
38
- "prettier-plugin-svelte": "^2.8.1",
39
- "raw-loader": "^4.0.2",
40
- "svelte": "^3.54.0",
41
- "svelte-check": "^3.0.1",
42
- "tailwindcss": "^3.3.2",
43
- "tslib": "^2.4.1",
44
- "typescript": "^5.0.0",
45
- "vite": "^4.3.0",
46
- "vitest": "^0.25.3"
47
- },
48
- "type": "module",
49
- "module": "./src/lib/index.ts",
50
- "types": "./src/lib/index.d.ts",
51
- "description": "Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).",
52
- "main": "./src/lib/index.d.ts",
53
- "directories": {
54
- "test": "tests"
55
- },
56
- "files": [
57
- "dist",
58
- "src/lib"
59
- ],
60
- "dependencies": {
61
- "@floating-ui/dom": "^1.2.7",
62
- "@fortawesome/fontawesome-free": "^6.2.1",
63
- "@fortawesome/fontawesome-svg-core": "^6.2.1",
64
- "@fortawesome/free-regular-svg-icons": "^6.2.1",
65
- "@fortawesome/free-solid-svg-icons": "^6.2.1",
66
- "axios": "^1.2.1",
67
- "delay": "^6.0.0",
68
- "highlight.js": "^11.8.0",
69
- "highlightjs-svelte": "^1.0.6",
70
- "svelte": "^3.54.0",
71
- "svelte-fa": "^3.0.4",
72
- "svelte-file-dropzone": "^2.0.1",
73
- "svelte-headless-table": "^0.17.3",
74
- "svelte-select": "^5.6.1",
75
- "vest": "^4.6.11"
76
- },
77
- "author": "David Schöne",
78
- "license": "ISC",
79
- "repository": {
80
- "type": "git",
81
- "url": "git+https://github.com/BEXIS2/bexis2-core-ui.git"
82
- },
83
- "bugs": {
84
- "url": "https://github.com/BEXIS2/bexis2-core-ui/issues"
85
- },
86
- "homepage": "https://github.com/BEXIS2/bexis2-core-ui#readme",
87
- "keywords": [
88
- "bexis2",
89
- "libary"
90
- ],
91
- "exports": {
92
- ".": {
93
- "types": "./dist/index.d.ts",
94
- "svelte": "./dist/index.js"
95
- },
96
- "./dist/index.css": {
97
- "import": "./dist/index.css",
98
- "require": "./dist/index.css"
99
- }
100
- }
101
- }
1
+ {
2
+ "name": "@bexis2/bexis2-core-ui",
3
+ "version": "0.2.18",
4
+ "private": false,
5
+ "scripts": {
6
+ "dev": "vite dev",
7
+ "package": "svelte-package",
8
+ "build": "vite build",
9
+ "build package": "svelte-kit sync && svelte-package --watch",
10
+ "preview": "vite preview",
11
+ "test": "playwright test",
12
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
13
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
14
+ "test:unit": "vitest",
15
+ "lint": "prettier --plugin-search-dir . --check . && eslint .",
16
+ "format": "prettier --plugin-search-dir . --write .",
17
+ "init": "npm init --scope bexis2",
18
+ "link": "npm link",
19
+ "publish": "npm publish --access public"
20
+ },
21
+ "devDependencies": {
22
+ "@playwright/test": "^1.28.1",
23
+ "@skeletonlabs/skeleton": "^1.9.0",
24
+ "@sveltejs/adapter-auto": "^2.0.0",
25
+ "@sveltejs/adapter-static": "^2.0.2",
26
+ "@sveltejs/kit": "^1.5.0",
27
+ "@sveltejs/package": "^2.0.2",
28
+ "@tailwindcss/forms": "^0.5.3",
29
+ "@tailwindcss/typography": "^0.5.9",
30
+ "@typescript-eslint/eslint-plugin": "^5.45.0",
31
+ "@typescript-eslint/parser": "^5.45.0",
32
+ "autoprefixer": "^10.4.14",
33
+ "eslint": "^8.28.0",
34
+ "eslint-config-prettier": "^8.5.0",
35
+ "eslint-plugin-svelte3": "^4.0.0",
36
+ "postcss": "^8.4.23",
37
+ "prettier": "^2.8.0",
38
+ "prettier-plugin-svelte": "^2.8.1",
39
+ "raw-loader": "^4.0.2",
40
+ "svelte": "^3.54.0",
41
+ "svelte-check": "^3.0.1",
42
+ "tailwindcss": "^3.3.2",
43
+ "tslib": "^2.4.1",
44
+ "typescript": "^5.0.0",
45
+ "vite": "^4.3.0",
46
+ "vitest": "^0.25.3"
47
+ },
48
+ "type": "module",
49
+ "module": "./src/lib/index.ts",
50
+ "types": "./src/lib/index.d.ts",
51
+ "description": "Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).",
52
+ "main": "./src/lib/index.d.ts",
53
+ "directories": {
54
+ "test": "tests"
55
+ },
56
+ "files": [
57
+ "dist",
58
+ "src/lib"
59
+ ],
60
+ "dependencies": {
61
+ "@floating-ui/dom": "^1.2.7",
62
+ "@fortawesome/fontawesome-free": "^6.2.1",
63
+ "@fortawesome/fontawesome-svg-core": "^6.2.1",
64
+ "@fortawesome/free-regular-svg-icons": "^6.2.1",
65
+ "@fortawesome/free-solid-svg-icons": "^6.2.1",
66
+ "axios": "^1.2.1",
67
+ "delay": "^6.0.0",
68
+ "highlight.js": "^11.8.0",
69
+ "highlightjs-svelte": "^1.0.6",
70
+ "svelte": "^3.54.0",
71
+ "svelte-fa": "^3.0.4",
72
+ "svelte-file-dropzone": "^2.0.1",
73
+ "svelte-headless-table": "^0.17.3",
74
+ "svelte-select": "^5.6.1",
75
+ "vest": "^4.6.11"
76
+ },
77
+ "author": "David Schöne",
78
+ "license": "ISC",
79
+ "repository": {
80
+ "type": "git",
81
+ "url": "git+https://github.com/BEXIS2/bexis2-core-ui.git"
82
+ },
83
+ "bugs": {
84
+ "url": "https://github.com/BEXIS2/bexis2-core-ui/issues"
85
+ },
86
+ "homepage": "https://github.com/BEXIS2/bexis2-core-ui#readme",
87
+ "keywords": [
88
+ "bexis2",
89
+ "libary"
90
+ ],
91
+ "exports": {
92
+ ".": {
93
+ "types": "./dist/index.d.ts",
94
+ "svelte": "./dist/index.js"
95
+ },
96
+ "./dist/index.css": {
97
+ "import": "./dist/index.css",
98
+ "require": "./dist/index.css"
99
+ }
100
+ }
101
+ }