@bexis2/bexis2-core-ui 0.3.14 → 0.4.0
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/README.md +0 -1
- package/dist/TableView.svelte.d.ts +2 -2
- package/dist/components/CodeEditor/CodeEditor.svelte +1 -1
- package/dist/components/CodeEditor/CodeEditor.svelte.d.ts +3 -4
- package/dist/components/File/FileIcon.svelte.d.ts +2 -2
- package/dist/components/File/FileInfo.svelte.d.ts +2 -2
- package/dist/components/File/FileUploader.svelte +1 -1
- package/dist/components/File/FileUploader.svelte.d.ts +2 -2
- package/dist/components/ListView.svelte.d.ts +2 -2
- package/dist/components/Table/Table.svelte.d.ts +2 -2
- package/dist/components/Table/TableContent.svelte.d.ts +2 -2
- package/dist/components/Table/TableFilter.svelte +1 -1
- package/dist/components/Table/TableFilter.svelte.d.ts +2 -2
- package/dist/components/Table/TableFilterServer.svelte +1 -1
- package/dist/components/Table/TableFilterServer.svelte.d.ts +2 -2
- package/dist/components/Table/TablePagination.svelte +1 -1
- package/dist/components/Table/TablePagination.svelte.d.ts +2 -2
- package/dist/components/Table/TablePaginationServer.svelte +1 -1
- package/dist/components/Table/TablePaginationServer.svelte.d.ts +2 -2
- package/dist/components/form/Checkbox.svelte.d.ts +2 -2
- package/dist/components/form/CheckboxKvPList.svelte.d.ts +2 -2
- package/dist/components/form/CheckboxList.svelte.d.ts +2 -2
- package/dist/components/form/DateInput.svelte.d.ts +2 -2
- package/dist/components/form/DropdownKvP.svelte.d.ts +8 -8
- package/dist/components/form/InputContainer.svelte.d.ts +2 -2
- package/dist/components/form/MultiSelect.svelte.d.ts +6 -6
- package/dist/components/form/NumberInput.svelte.d.ts +2 -2
- package/dist/components/form/TextArea.svelte.d.ts +2 -2
- package/dist/components/form/TextInput.svelte.d.ts +2 -2
- package/dist/components/page/Alert.svelte.d.ts +2 -2
- package/dist/components/page/BackToTop.svelte.d.ts +2 -2
- package/dist/components/page/Docs.svelte +1 -1
- package/dist/components/page/Docs.svelte.d.ts +2 -2
- package/dist/components/page/ErrorMessage.svelte.d.ts +2 -2
- package/dist/components/page/Footer.svelte.d.ts +2 -2
- package/dist/components/page/GoToTop.svelte +1 -1
- package/dist/components/page/GoToTop.svelte.d.ts +2 -2
- package/dist/components/page/Header.svelte.d.ts +2 -2
- package/dist/components/page/HelpPopUp.svelte +1 -1
- package/dist/components/page/HelpPopUp.svelte.d.ts +2 -2
- package/dist/components/page/Notification.svelte.d.ts +2 -2
- package/dist/components/page/Page.svelte.d.ts +2 -2
- package/dist/components/page/Spinner.svelte.d.ts +2 -2
- package/dist/components/page/TablePlaceholder.svelte.d.ts +2 -2
- package/dist/components/page/breadcrumb/Breadcrumb.svelte.d.ts +2 -2
- package/dist/components/page/menu/Menu.svelte +1 -1
- package/dist/components/page/menu/Menu.svelte.d.ts +2 -2
- package/dist/components/page/menu/MenuBar.svelte.d.ts +2 -2
- package/dist/components/page/menu/MenuItem.svelte.d.ts +2 -2
- package/dist/components/page/menu/MenuSublist.svelte.d.ts +2 -2
- package/dist/components/page/menu/SettingsBar.svelte +1 -1
- package/dist/components/page/menu/SettingsBar.svelte.d.ts +2 -2
- package/dist/components/toggle/Toggle.svelte +1 -1
- package/dist/components/toggle/Toggle.svelte.d.ts +2 -2
- package/dist/models/Enums.d.ts +15 -15
- package/dist/stores/pageStores.d.ts +4 -3
- package/dist/themes/theme-bexis2.js +78 -78
- package/package.json +43 -41
- package/src/lib/components/CodeEditor/CodeEditor.svelte +1 -1
- package/src/lib/components/Table/TableFilter.svelte +1 -1
- package/src/lib/components/Table/TableFilterServer.svelte +1 -1
- package/src/lib/components/Table/TablePagination.svelte +1 -1
- package/src/lib/components/Table/TablePaginationServer.svelte +1 -1
- package/src/lib/components/file/FileUploader.svelte +1 -1
- package/src/lib/components/page/Docs.svelte +1 -1
- package/src/lib/components/page/GoToTop.svelte +1 -1
- package/src/lib/components/page/HelpPopUp.svelte +1 -1
- package/src/lib/components/page/menu/Menu.svelte +1 -1
- package/src/lib/components/page/menu/SettingsBar.svelte +1 -1
- package/src/lib/components/toggle/Toggle.svelte +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import { positionType } from '../../models/Enums';
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -14,6 +14,6 @@ declare const __propDef: {
|
|
|
14
14
|
export type SpinnerProps = typeof __propDef.props;
|
|
15
15
|
export type SpinnerEvents = typeof __propDef.events;
|
|
16
16
|
export type SpinnerSlots = typeof __propDef.slots;
|
|
17
|
-
export default class Spinner extends
|
|
17
|
+
export default class Spinner extends SvelteComponent<SpinnerProps, SpinnerEvents, SpinnerSlots> {
|
|
18
18
|
}
|
|
19
19
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
4
|
cols?: number | undefined;
|
|
@@ -12,6 +12,6 @@ declare const __propDef: {
|
|
|
12
12
|
export type TablePlaceholderProps = typeof __propDef.props;
|
|
13
13
|
export type TablePlaceholderEvents = typeof __propDef.events;
|
|
14
14
|
export type TablePlaceholderSlots = typeof __propDef.slots;
|
|
15
|
-
export default class TablePlaceholder extends
|
|
15
|
+
export default class TablePlaceholder extends SvelteComponent<TablePlaceholderProps, TablePlaceholderEvents, TablePlaceholderSlots> {
|
|
16
16
|
}
|
|
17
17
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
4
|
title: any;
|
|
@@ -11,6 +11,6 @@ declare const __propDef: {
|
|
|
11
11
|
export type BreadcrumbProps = typeof __propDef.props;
|
|
12
12
|
export type BreadcrumbEvents = typeof __propDef.events;
|
|
13
13
|
export type BreadcrumbSlots = typeof __propDef.slots;
|
|
14
|
-
export default class Breadcrumb extends
|
|
14
|
+
export default class Breadcrumb extends SvelteComponent<BreadcrumbProps, BreadcrumbEvents, BreadcrumbSlots> {
|
|
15
15
|
}
|
|
16
16
|
export {};
|
|
@@ -3,7 +3,7 @@ import { getMenuItems } from "./MenuDataCaller";
|
|
|
3
3
|
import { menuStore } from "../../../stores/pageStores";
|
|
4
4
|
import MenuBar from "./MenuBar.svelte";
|
|
5
5
|
import SettingsBar from "./SettingsBar.svelte";
|
|
6
|
-
import Fa from "svelte-fa
|
|
6
|
+
import Fa from "svelte-fa";
|
|
7
7
|
import { faBars } from "@fortawesome/free-solid-svg-icons";
|
|
8
8
|
import { Accordion } from "@skeletonlabs/skeleton";
|
|
9
9
|
onMount(async () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: Record<string, never>;
|
|
4
4
|
events: {
|
|
@@ -9,6 +9,6 @@ declare const __propDef: {
|
|
|
9
9
|
export type MenuProps = typeof __propDef.props;
|
|
10
10
|
export type MenuEvents = typeof __propDef.events;
|
|
11
11
|
export type MenuSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Menu extends
|
|
12
|
+
export default class Menu extends SvelteComponent<MenuProps, MenuEvents, MenuSlots> {
|
|
13
13
|
}
|
|
14
14
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { MenuItem } from './menu';
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -12,6 +12,6 @@ declare const __propDef: {
|
|
|
12
12
|
export type MenuBarProps = typeof __propDef.props;
|
|
13
13
|
export type MenuBarEvents = typeof __propDef.events;
|
|
14
14
|
export type MenuBarSlots = typeof __propDef.slots;
|
|
15
|
-
export default class MenuBar extends
|
|
15
|
+
export default class MenuBar extends SvelteComponent<MenuBarProps, MenuBarEvents, MenuBarSlots> {
|
|
16
16
|
}
|
|
17
17
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { menuItemType } from '../../../models/Page';
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -13,6 +13,6 @@ declare const __propDef: {
|
|
|
13
13
|
export type MenuItemProps = typeof __propDef.props;
|
|
14
14
|
export type MenuItemEvents = typeof __propDef.events;
|
|
15
15
|
export type MenuItemSlots = typeof __propDef.slots;
|
|
16
|
-
export default class MenuItem extends
|
|
16
|
+
export default class MenuItem extends SvelteComponent<MenuItemProps, MenuItemEvents, MenuItemSlots> {
|
|
17
17
|
}
|
|
18
18
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { menuItemType } from '../../../models/Page';
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -12,6 +12,6 @@ declare const __propDef: {
|
|
|
12
12
|
export type MenuSublistProps = typeof __propDef.props;
|
|
13
13
|
export type MenuSublistEvents = typeof __propDef.events;
|
|
14
14
|
export type MenuSublistSlots = typeof __propDef.slots;
|
|
15
|
-
export default class MenuSublist extends
|
|
15
|
+
export default class MenuSublist extends SvelteComponent<MenuSublistProps, MenuSublistEvents, MenuSublistSlots> {
|
|
16
16
|
}
|
|
17
17
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>import { popup } from "@skeletonlabs/skeleton";
|
|
2
2
|
import { AccordionItem } from "@skeletonlabs/skeleton";
|
|
3
|
-
import Fa from "svelte-fa
|
|
3
|
+
import Fa from "svelte-fa";
|
|
4
4
|
import { faCog } from "@fortawesome/free-solid-svg-icons";
|
|
5
5
|
export let menuBar;
|
|
6
6
|
import MenuSublist from "./MenuSublist.svelte";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { menuItemType } from '../../../models/Page';
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
@@ -12,6 +12,6 @@ declare const __propDef: {
|
|
|
12
12
|
export type SettingsBarProps = typeof __propDef.props;
|
|
13
13
|
export type SettingsBarEvents = typeof __propDef.events;
|
|
14
14
|
export type SettingsBarSlots = typeof __propDef.slots;
|
|
15
|
-
export default class SettingsBar extends
|
|
15
|
+
export default class SettingsBar extends SvelteComponent<SettingsBarProps, SettingsBarEvents, SettingsBarSlots> {
|
|
16
16
|
}
|
|
17
17
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
4
|
[x: string]: any;
|
|
@@ -25,6 +25,6 @@ declare const __propDef: {
|
|
|
25
25
|
export type ToggleProps = typeof __propDef.props;
|
|
26
26
|
export type ToggleEvents = typeof __propDef.events;
|
|
27
27
|
export type ToggleSlots = typeof __propDef.slots;
|
|
28
|
-
export default class Toggle extends
|
|
28
|
+
export default class Toggle extends SvelteComponent<ToggleProps, ToggleEvents, ToggleSlots> {
|
|
29
29
|
}
|
|
30
30
|
export {};
|
package/dist/models/Enums.d.ts
CHANGED
|
@@ -32,20 +32,20 @@ export declare enum notificationType {
|
|
|
32
32
|
surface = 3
|
|
33
33
|
}
|
|
34
34
|
export declare enum FilterOptionsEnum {
|
|
35
|
-
'e' = "e"
|
|
36
|
-
'ne' = "ne"
|
|
37
|
-
'gt' = "gt"
|
|
38
|
-
'lt' = "lt"
|
|
39
|
-
'gte' = "gte"
|
|
40
|
-
'lte' = "lte"
|
|
41
|
-
'c' = "c"
|
|
42
|
-
'nc' = "nc"
|
|
43
|
-
'sw' = "sw"
|
|
44
|
-
'ew' = "ew",
|
|
45
|
-
'o' = "o"
|
|
46
|
-
'sf' = "sf"
|
|
47
|
-
'a' = "a"
|
|
48
|
-
'u' = "u"
|
|
49
|
-
'b' = "b"
|
|
35
|
+
'e' = "e",// Equal to
|
|
36
|
+
'ne' = "ne",// Not equal to
|
|
37
|
+
'gt' = "gt",// Greater than
|
|
38
|
+
'lt' = "lt",// Less than
|
|
39
|
+
'gte' = "gte",// Greater than or equal to
|
|
40
|
+
'lte' = "lte",// Less than or equal to
|
|
41
|
+
'c' = "c",// Contains
|
|
42
|
+
'nc' = "nc",// Does not contain
|
|
43
|
+
'sw' = "sw",// Starts with
|
|
44
|
+
'ew' = "ew",// Ends with,
|
|
45
|
+
'o' = "o",// On (date)
|
|
46
|
+
'sf' = "sf",// Starting from (date)
|
|
47
|
+
'a' = "a",// After (date)
|
|
48
|
+
'u' = "u",// Until (date)
|
|
49
|
+
'b' = "b",// Before (date)
|
|
50
50
|
'no' = "no"
|
|
51
51
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
/// <reference types="svelte" />
|
|
1
2
|
import type { helpItemType, helpStoreType, notificationItemType, notificationStoreType } from '../models/Models';
|
|
2
3
|
import type { MenuModel, breadcrumbItemType } from '../models/Page';
|
|
3
4
|
import { BreadcrumbModel } from '../models/Page';
|
|
4
5
|
export declare const helpStore: {
|
|
5
|
-
subscribe: (this: void, run: import("svelte/store").Subscriber<helpStoreType>, invalidate?: (
|
|
6
|
+
subscribe: (this: void, run: import("svelte/store").Subscriber<helpStoreType>, invalidate?: import("svelte/store").Invalidator<helpStoreType> | undefined) => import("svelte/store").Unsubscriber;
|
|
6
7
|
set: (this: void, value: helpStoreType) => void;
|
|
7
8
|
update: (this: void, updater: import("svelte/store").Updater<helpStoreType>) => void;
|
|
8
9
|
setHelpItemList: (helpItems: helpItemType[]) => void;
|
|
@@ -17,7 +18,7 @@ export declare const helpStore: {
|
|
|
17
18
|
};
|
|
18
19
|
export declare const menuStore: import("svelte/store").Writable<MenuModel>;
|
|
19
20
|
export declare const breadcrumbStore: {
|
|
20
|
-
subscribe: (this: void, run: import("svelte/store").Subscriber<BreadcrumbModel>, invalidate?: (
|
|
21
|
+
subscribe: (this: void, run: import("svelte/store").Subscriber<BreadcrumbModel>, invalidate?: import("svelte/store").Invalidator<BreadcrumbModel> | undefined) => import("svelte/store").Unsubscriber;
|
|
21
22
|
set: (this: void, value: BreadcrumbModel) => void;
|
|
22
23
|
update: (this: void, updater: import("svelte/store").Updater<BreadcrumbModel>) => void;
|
|
23
24
|
addItem: (item: breadcrumbItemType) => void;
|
|
@@ -25,7 +26,7 @@ export declare const breadcrumbStore: {
|
|
|
25
26
|
clean: () => void;
|
|
26
27
|
};
|
|
27
28
|
export declare const notificationStore: {
|
|
28
|
-
subscribe: (this: void, run: import("svelte/store").Subscriber<notificationStoreType>, invalidate?: (
|
|
29
|
+
subscribe: (this: void, run: import("svelte/store").Subscriber<notificationStoreType>, invalidate?: import("svelte/store").Invalidator<notificationStoreType> | undefined) => import("svelte/store").Unsubscriber;
|
|
29
30
|
set: (this: void, value: notificationStoreType) => void;
|
|
30
31
|
update: (this: void, updater: import("svelte/store").Updater<notificationStoreType>) => void;
|
|
31
32
|
setNotification: (notificationItem: notificationItemType) => void;
|
|
@@ -19,94 +19,94 @@ export const bexis2theme = {
|
|
|
19
19
|
'--on-surface': '255 255 255',
|
|
20
20
|
// =~= Theme Colors =~=
|
|
21
21
|
// primary | #45b2a1
|
|
22
|
-
'--color-primary-50': '227 243 241',
|
|
23
|
-
'--color-primary-100': '218 240 236',
|
|
24
|
-
'--color-primary-200': '209 236 232',
|
|
25
|
-
'--color-primary-300': '181 224 217',
|
|
26
|
-
'--color-primary-400': '125 201 189',
|
|
27
|
-
'--color-primary-500': '69 178 161',
|
|
28
|
-
'--color-primary-600': '62 160 145',
|
|
29
|
-
'--color-primary-700': '52 134 121',
|
|
30
|
-
'--color-primary-800': '41 107 97',
|
|
31
|
-
'--color-primary-900': '34 87 79',
|
|
22
|
+
'--color-primary-50': '227 243 241', // #e3f3f1
|
|
23
|
+
'--color-primary-100': '218 240 236', // #daf0ec
|
|
24
|
+
'--color-primary-200': '209 236 232', // #d1ece8
|
|
25
|
+
'--color-primary-300': '181 224 217', // #b5e0d9
|
|
26
|
+
'--color-primary-400': '125 201 189', // #7dc9bd
|
|
27
|
+
'--color-primary-500': '69 178 161', // #45b2a1
|
|
28
|
+
'--color-primary-600': '62 160 145', // #3ea091
|
|
29
|
+
'--color-primary-700': '52 134 121', // #348679
|
|
30
|
+
'--color-primary-800': '41 107 97', // #296b61
|
|
31
|
+
'--color-primary-900': '34 87 79', // #22574f
|
|
32
32
|
// secondary | #ff9700
|
|
33
|
-
'--color-secondary-50': '255 239 217',
|
|
34
|
-
'--color-secondary-100': '255 234 204',
|
|
35
|
-
'--color-secondary-200': '255 229 191',
|
|
36
|
-
'--color-secondary-300': '255 213 153',
|
|
37
|
-
'--color-secondary-400': '255 182 77',
|
|
38
|
-
'--color-secondary-500': '255 151 0',
|
|
39
|
-
'--color-secondary-600': '230 136 0',
|
|
40
|
-
'--color-secondary-700': '191 113 0',
|
|
41
|
-
'--color-secondary-800': '153 91 0',
|
|
42
|
-
'--color-secondary-900': '125 74 0',
|
|
33
|
+
'--color-secondary-50': '255 239 217', // #ffefd9
|
|
34
|
+
'--color-secondary-100': '255 234 204', // #ffeacc
|
|
35
|
+
'--color-secondary-200': '255 229 191', // #ffe5bf
|
|
36
|
+
'--color-secondary-300': '255 213 153', // #ffd599
|
|
37
|
+
'--color-secondary-400': '255 182 77', // #ffb64d
|
|
38
|
+
'--color-secondary-500': '255 151 0', // #ff9700
|
|
39
|
+
'--color-secondary-600': '230 136 0', // #e68800
|
|
40
|
+
'--color-secondary-700': '191 113 0', // #bf7100
|
|
41
|
+
'--color-secondary-800': '153 91 0', // #995b00
|
|
42
|
+
'--color-secondary-900': '125 74 0', // #7d4a00
|
|
43
43
|
// tertiary | #bee1da
|
|
44
|
-
'--color-tertiary-50': '245 251 249',
|
|
45
|
-
'--color-tertiary-100': '242 249 248',
|
|
46
|
-
'--color-tertiary-200': '239 248 246',
|
|
47
|
-
'--color-tertiary-300': '229 243 240',
|
|
48
|
-
'--color-tertiary-400': '210 234 229',
|
|
49
|
-
'--color-tertiary-500': '190 225 218',
|
|
50
|
-
'--color-tertiary-600': '171 203 196',
|
|
51
|
-
'--color-tertiary-700': '143 169 164',
|
|
52
|
-
'--color-tertiary-800': '114 135 131',
|
|
53
|
-
'--color-tertiary-900': '93 110 107',
|
|
44
|
+
'--color-tertiary-50': '245 251 249', // #f5fbf9
|
|
45
|
+
'--color-tertiary-100': '242 249 248', // #f2f9f8
|
|
46
|
+
'--color-tertiary-200': '239 248 246', // #eff8f6
|
|
47
|
+
'--color-tertiary-300': '229 243 240', // #e5f3f0
|
|
48
|
+
'--color-tertiary-400': '210 234 229', // #d2eae5
|
|
49
|
+
'--color-tertiary-500': '190 225 218', // #bee1da
|
|
50
|
+
'--color-tertiary-600': '171 203 196', // #abcbc4
|
|
51
|
+
'--color-tertiary-700': '143 169 164', // #8fa9a4
|
|
52
|
+
'--color-tertiary-800': '114 135 131', // #728783
|
|
53
|
+
'--color-tertiary-900': '93 110 107', // #5d6e6b
|
|
54
54
|
// success | #4BB543
|
|
55
|
-
'--color-success-50': '228 244 227',
|
|
56
|
-
'--color-success-100': '219 240 217',
|
|
57
|
-
'--color-success-200': '210 237 208',
|
|
58
|
-
'--color-success-300': '183 225 180',
|
|
59
|
-
'--color-success-400': '129 203 123',
|
|
60
|
-
'--color-success-500': '75 181 67',
|
|
61
|
-
'--color-success-600': '68 163 60',
|
|
62
|
-
'--color-success-700': '56 136 50',
|
|
63
|
-
'--color-success-800': '45 109 40',
|
|
64
|
-
'--color-success-900': '37 89 33',
|
|
55
|
+
'--color-success-50': '228 244 227', // #e4f4e3
|
|
56
|
+
'--color-success-100': '219 240 217', // #dbf0d9
|
|
57
|
+
'--color-success-200': '210 237 208', // #d2edd0
|
|
58
|
+
'--color-success-300': '183 225 180', // #b7e1b4
|
|
59
|
+
'--color-success-400': '129 203 123', // #81cb7b
|
|
60
|
+
'--color-success-500': '75 181 67', // #4BB543
|
|
61
|
+
'--color-success-600': '68 163 60', // #44a33c
|
|
62
|
+
'--color-success-700': '56 136 50', // #388832
|
|
63
|
+
'--color-success-800': '45 109 40', // #2d6d28
|
|
64
|
+
'--color-success-900': '37 89 33', // #255921
|
|
65
65
|
// warning | #EAB308
|
|
66
|
-
'--color-warning-50': '252 244 218',
|
|
67
|
-
'--color-warning-100': '251 240 206',
|
|
68
|
-
'--color-warning-200': '250 236 193',
|
|
69
|
-
'--color-warning-300': '247 225 156',
|
|
70
|
-
'--color-warning-400': '240 202 82',
|
|
71
|
-
'--color-warning-500': '234 179 8',
|
|
72
|
-
'--color-warning-600': '211 161 7',
|
|
73
|
-
'--color-warning-700': '176 134 6',
|
|
74
|
-
'--color-warning-800': '140 107 5',
|
|
75
|
-
'--color-warning-900': '115 88 4',
|
|
66
|
+
'--color-warning-50': '252 244 218', // #fcf4da
|
|
67
|
+
'--color-warning-100': '251 240 206', // #fbf0ce
|
|
68
|
+
'--color-warning-200': '250 236 193', // #faecc1
|
|
69
|
+
'--color-warning-300': '247 225 156', // #f7e19c
|
|
70
|
+
'--color-warning-400': '240 202 82', // #f0ca52
|
|
71
|
+
'--color-warning-500': '234 179 8', // #EAB308
|
|
72
|
+
'--color-warning-600': '211 161 7', // #d3a107
|
|
73
|
+
'--color-warning-700': '176 134 6', // #b08606
|
|
74
|
+
'--color-warning-800': '140 107 5', // #8c6b05
|
|
75
|
+
'--color-warning-900': '115 88 4', // #735804
|
|
76
76
|
// error | #FF0000
|
|
77
|
-
'--color-error-50': '255 217 217',
|
|
78
|
-
'--color-error-100': '255 204 204',
|
|
79
|
-
'--color-error-200': '255 191 191',
|
|
80
|
-
'--color-error-300': '255 153 153',
|
|
81
|
-
'--color-error-400': '255 77 77',
|
|
82
|
-
'--color-error-500': '255 0 0',
|
|
83
|
-
'--color-error-600': '230 0 0',
|
|
84
|
-
'--color-error-700': '191 0 0',
|
|
85
|
-
'--color-error-800': '153 0 0',
|
|
86
|
-
'--color-error-900': '125 0 0',
|
|
77
|
+
'--color-error-50': '255 217 217', // #ffd9d9
|
|
78
|
+
'--color-error-100': '255 204 204', // #ffcccc
|
|
79
|
+
'--color-error-200': '255 191 191', // #ffbfbf
|
|
80
|
+
'--color-error-300': '255 153 153', // #ff9999
|
|
81
|
+
'--color-error-400': '255 77 77', // #ff4d4d
|
|
82
|
+
'--color-error-500': '255 0 0', // #FF0000
|
|
83
|
+
'--color-error-600': '230 0 0', // #e60000
|
|
84
|
+
'--color-error-700': '191 0 0', // #bf0000
|
|
85
|
+
'--color-error-800': '153 0 0', // #990000
|
|
86
|
+
'--color-error-900': '125 0 0', // #7d0000
|
|
87
87
|
// surface | #c7c7c7
|
|
88
|
-
'--color-surface-50': '247 247 247',
|
|
89
|
-
'--color-surface-100': '244 244 244',
|
|
90
|
-
'--color-surface-200': '241 241 241',
|
|
91
|
-
'--color-surface-300': '233 233 233',
|
|
92
|
-
'--color-surface-400': '216 216 216',
|
|
93
|
-
'--color-surface-500': '199 199 199',
|
|
94
|
-
'--color-surface-600': '179 179 179',
|
|
95
|
-
'--color-surface-700': '149 149 149',
|
|
96
|
-
'--color-surface-800': '119 119 119',
|
|
88
|
+
'--color-surface-50': '247 247 247', // #f7f7f7
|
|
89
|
+
'--color-surface-100': '244 244 244', // #f4f4f4
|
|
90
|
+
'--color-surface-200': '241 241 241', // #f1f1f1
|
|
91
|
+
'--color-surface-300': '233 233 233', // #e9e9e9
|
|
92
|
+
'--color-surface-400': '216 216 216', // #d8d8d8
|
|
93
|
+
'--color-surface-500': '199 199 199', // #c7c7c7
|
|
94
|
+
'--color-surface-600': '179 179 179', // #b3b3b3
|
|
95
|
+
'--color-surface-700': '149 149 149', // #959595
|
|
96
|
+
'--color-surface-800': '119 119 119', // #777777
|
|
97
97
|
'--color-surface-900': '98 98 98' // #626262
|
|
98
98
|
},
|
|
99
99
|
properties_dark: {
|
|
100
100
|
// surface | #2e2e2e
|
|
101
|
-
'--color-surface-50': '224 224 224',
|
|
102
|
-
'--color-surface-100': '213 213 213',
|
|
103
|
-
'--color-surface-200': '203 203 203',
|
|
104
|
-
'--color-surface-300': '171 171 171',
|
|
105
|
-
'--color-surface-400': '109 109 109',
|
|
106
|
-
'--color-surface-500': '46 46 46',
|
|
107
|
-
'--color-surface-600': '41 41 41',
|
|
108
|
-
'--color-surface-700': '35 35 35',
|
|
109
|
-
'--color-surface-800': '28 28 28',
|
|
101
|
+
'--color-surface-50': '224 224 224', // #e0e0e0
|
|
102
|
+
'--color-surface-100': '213 213 213', // #d5d5d5
|
|
103
|
+
'--color-surface-200': '203 203 203', // #cbcbcb
|
|
104
|
+
'--color-surface-300': '171 171 171', // #ababab
|
|
105
|
+
'--color-surface-400': '109 109 109', // #6d6d6d
|
|
106
|
+
'--color-surface-500': '46 46 46', // #2e2e2e
|
|
107
|
+
'--color-surface-600': '41 41 41', // #292929
|
|
108
|
+
'--color-surface-700': '35 35 35', // #232323
|
|
109
|
+
'--color-surface-800': '28 28 28', // #1c1c1c
|
|
110
110
|
'--color-surface-900': '23 23 23' // #171717
|
|
111
111
|
}
|
|
112
112
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bexis2/bexis2-core-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite dev",
|
|
@@ -13,38 +13,40 @@
|
|
|
13
13
|
"test:unit": "vitest",
|
|
14
14
|
"lint": "prettier --plugin-search-dir . --check . && eslint .",
|
|
15
15
|
"format": "prettier --plugin-search-dir . --write .",
|
|
16
|
+
"check outdated": "npm outdated",
|
|
17
|
+
"upgrade all": "ncu --upgrade",
|
|
16
18
|
"1.npm - update package infos": "npm init --scope bexis2",
|
|
17
19
|
"2.npm - package": "svelte-package",
|
|
18
20
|
"3.npm - publish": "npm publish --access public"
|
|
19
21
|
},
|
|
20
22
|
"devDependencies": {
|
|
21
|
-
"@playwright/test": "^1.
|
|
22
|
-
"@skeletonlabs/skeleton": "^2.
|
|
23
|
-
"@skeletonlabs/tw-plugin": "^0.
|
|
24
|
-
"@sveltejs/adapter-auto": "^
|
|
25
|
-
"@sveltejs/adapter-static": "^
|
|
26
|
-
"@sveltejs/kit": "^
|
|
27
|
-
"@sveltejs/package": "^2.0
|
|
28
|
-
"@tailwindcss/forms": "^0.5.
|
|
29
|
-
"@tailwindcss/typography": "^0.5.
|
|
30
|
-
"@types/node": "^20.
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
32
|
-
"@typescript-eslint/parser": "^
|
|
33
|
-
"autoprefixer": "^10.4.
|
|
34
|
-
"eslint": "^8.
|
|
35
|
-
"eslint-config-prettier": "^
|
|
23
|
+
"@playwright/test": "^1.42.1",
|
|
24
|
+
"@skeletonlabs/skeleton": "^2.9.0",
|
|
25
|
+
"@skeletonlabs/tw-plugin": "^0.3.1",
|
|
26
|
+
"@sveltejs/adapter-auto": "^3.1.1",
|
|
27
|
+
"@sveltejs/adapter-static": "^3.0.1",
|
|
28
|
+
"@sveltejs/kit": "^2.5.3",
|
|
29
|
+
"@sveltejs/package": "^2.3.0",
|
|
30
|
+
"@tailwindcss/forms": "^0.5.7",
|
|
31
|
+
"@tailwindcss/typography": "^0.5.10",
|
|
32
|
+
"@types/node": "^20.11.26",
|
|
33
|
+
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
34
|
+
"@typescript-eslint/parser": "^7.2.0",
|
|
35
|
+
"autoprefixer": "^10.4.18",
|
|
36
|
+
"eslint": "^8.57.0",
|
|
37
|
+
"eslint-config-prettier": "^9.1.0",
|
|
36
38
|
"eslint-plugin-svelte3": "^4.0.0",
|
|
37
|
-
"postcss": "^8.4.
|
|
38
|
-
"prettier": "^2.
|
|
39
|
-
"prettier-plugin-svelte": "^2.
|
|
39
|
+
"postcss": "^8.4.35",
|
|
40
|
+
"prettier": "^3.2.5",
|
|
41
|
+
"prettier-plugin-svelte": "^3.2.2",
|
|
40
42
|
"raw-loader": "^4.0.2",
|
|
41
|
-
"svelte": "^
|
|
42
|
-
"svelte-check": "^3.
|
|
43
|
-
"tailwindcss": "^3.
|
|
44
|
-
"tslib": "^2.
|
|
45
|
-
"typescript": "^5.
|
|
46
|
-
"vite": "^
|
|
47
|
-
"vitest": "^
|
|
43
|
+
"svelte": "^4.2.12",
|
|
44
|
+
"svelte-check": "^3.6.7",
|
|
45
|
+
"tailwindcss": "^3.4.1",
|
|
46
|
+
"tslib": "^2.6.2",
|
|
47
|
+
"typescript": "^5.4.2",
|
|
48
|
+
"vite": "^5.1.6",
|
|
49
|
+
"vitest": "^1.3.1"
|
|
48
50
|
},
|
|
49
51
|
"type": "module",
|
|
50
52
|
"module": "./src/lib/index.ts",
|
|
@@ -59,30 +61,30 @@
|
|
|
59
61
|
"src/lib"
|
|
60
62
|
],
|
|
61
63
|
"dependencies": {
|
|
62
|
-
"@codemirror/lang-html": "^6.4.
|
|
63
|
-
"@codemirror/lang-javascript": "^6.
|
|
64
|
+
"@codemirror/lang-html": "^6.4.8",
|
|
65
|
+
"@codemirror/lang-javascript": "^6.2.2",
|
|
64
66
|
"@codemirror/lang-json": "^6.0.1",
|
|
65
|
-
"@codemirror/lint": "^6.
|
|
67
|
+
"@codemirror/lint": "^6.5.0",
|
|
66
68
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
67
|
-
"@floating-ui/dom": "^1.
|
|
68
|
-
"@fortawesome/fontawesome-free": "^6.
|
|
69
|
-
"@fortawesome/fontawesome-svg-core": "^6.
|
|
70
|
-
"@fortawesome/free-regular-svg-icons": "^6.
|
|
71
|
-
"@fortawesome/free-solid-svg-icons": "^6.
|
|
72
|
-
"axios": "^1.
|
|
69
|
+
"@floating-ui/dom": "^1.6.3",
|
|
70
|
+
"@fortawesome/fontawesome-free": "^6.5.1",
|
|
71
|
+
"@fortawesome/fontawesome-svg-core": "^6.5.1",
|
|
72
|
+
"@fortawesome/free-regular-svg-icons": "^6.5.1",
|
|
73
|
+
"@fortawesome/free-solid-svg-icons": "^6.5.1",
|
|
74
|
+
"axios": "^1.6.7",
|
|
73
75
|
"codemirror": "^6.0.1",
|
|
74
76
|
"delay": "^6.0.0",
|
|
75
|
-
"dotenv": "^16.
|
|
77
|
+
"dotenv": "^16.4.5",
|
|
76
78
|
"eslint4b-prebuilt": "^6.7.2",
|
|
77
79
|
"highlight.js": "^11.9.0",
|
|
78
80
|
"highlightjs-svelte": "^1.0.6",
|
|
79
|
-
"svelte": "^
|
|
80
|
-
"svelte-codemirror-editor": "^1.
|
|
81
|
-
"svelte-fa": "^
|
|
81
|
+
"svelte": "^4.2.12",
|
|
82
|
+
"svelte-codemirror-editor": "^1.3.0",
|
|
83
|
+
"svelte-fa": "^4.0.2",
|
|
82
84
|
"svelte-file-dropzone": "^2.0.4",
|
|
83
|
-
"svelte-headless-table": "^0.
|
|
85
|
+
"svelte-headless-table": "^0.18.2",
|
|
84
86
|
"svelte-select": "5.8.3",
|
|
85
|
-
"vest": "^
|
|
87
|
+
"vest": "^5.2.10"
|
|
86
88
|
},
|
|
87
89
|
"author": "David Schöne",
|
|
88
90
|
"license": "ISC",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createEventDispatcher } from 'svelte';
|
|
3
3
|
|
|
4
4
|
import CodeMirror from 'svelte-codemirror-editor';
|
|
5
|
-
import Fa from 'svelte-fa
|
|
5
|
+
import Fa from 'svelte-fa';
|
|
6
6
|
import Linter from 'eslint4b-prebuilt';
|
|
7
7
|
import { html } from '@codemirror/lang-html';
|
|
8
8
|
import { javascript, esLint } from '@codemirror/lang-javascript';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import Fa from 'svelte-fa
|
|
2
|
+
import Fa from 'svelte-fa';
|
|
3
3
|
import { faFilter, faPlus, faXmark } from '@fortawesome/free-solid-svg-icons';
|
|
4
4
|
import { popup } from '@skeletonlabs/skeleton';
|
|
5
5
|
import type { PopupSettings } from '@skeletonlabs/skeleton';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import Fa from 'svelte-fa
|
|
2
|
+
import Fa from 'svelte-fa';
|
|
3
3
|
import { faFilter, faPlus, faXmark } from '@fortawesome/free-solid-svg-icons';
|
|
4
4
|
import { popup } from '@skeletonlabs/skeleton';
|
|
5
5
|
import type { PopupSettings } from '@skeletonlabs/skeleton';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { helpStore } from '$store/pageStores';
|
|
3
3
|
import type { helpItemType, helpStoreType } from '$models/Models';
|
|
4
|
-
import Fa from 'svelte-fa
|
|
4
|
+
import Fa from 'svelte-fa';
|
|
5
5
|
import { faQuestion } from '@fortawesome/free-solid-svg-icons';
|
|
6
6
|
|
|
7
7
|
//popup
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import MenuBar from './MenuBar.svelte';
|
|
7
7
|
import SettingsBar from './SettingsBar.svelte';
|
|
8
|
-
import Fa from 'svelte-fa
|
|
8
|
+
import Fa from 'svelte-fa';
|
|
9
9
|
import { faBars } from '@fortawesome/free-solid-svg-icons';
|
|
10
10
|
import { Accordion } from '@skeletonlabs/skeleton';
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import { AccordionItem, type PopupSettings } from '@skeletonlabs/skeleton';
|
|
5
5
|
import type { menuItemType } from '$models/Page';
|
|
6
|
-
import Fa from 'svelte-fa
|
|
6
|
+
import Fa from 'svelte-fa';
|
|
7
7
|
import { faCog } from '@fortawesome/free-solid-svg-icons';
|
|
8
8
|
|
|
9
9
|
export let menuBar: menuItemType[];
|